:root {
  --navy-950: #06132f;
  --navy-900: #071a3d;
  --navy-800: #102b5c;
  --blue-700: #1746a2;
  --cyan-500: #11a9bd;
  --cyan-100: #ddf7f8;
  --orange-500: #f5a113;
  --orange-100: #fff3d7;
  --red-500: #dc4c42;
  --green-500: #21966f;
  --ink: #15213a;
  --muted: #667085;
  --line: #dce2ec;
  --soft: #f5f7fb;
  --white: #fff;
  --shadow: 0 18px 44px rgba(7, 26, 61, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eef2f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(17, 169, 189, .28); outline-offset: 2px; }

.app-shell { min-height: 100vh; display: flex; }
.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 255px;
  padding: 28px 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 90%, rgba(17, 169, 189, .22), transparent 32%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  display: flex;
  flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.16)); }
.brand span { display: flex; flex-direction: column; }
.brand strong { letter-spacing: .12em; font-size: 17px; }
.brand small { margin-top: 2px; color: #a9b7d2; font-size: 11px; }
.side-nav nav { display: grid; gap: 7px; margin-top: 56px; }
.nav-item {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b7c3d9;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 650;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: white; }
.nav-item.active { color: white; background: rgba(17, 169, 189, .17); box-shadow: inset 3px 0 var(--cyan-500); }
.nav-icon { width: 25px; font-size: 22px; line-height: 1; text-align: center; }
.side-status {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #53d4a4; box-shadow: 0 0 0 4px rgba(83,212,164,.12); }
.side-status div { display: flex; flex-direction: column; }
.side-status strong { font-size: 11px; }
.side-status small { margin-top: 4px; color: #8394b1; font-size: 9px; line-height: 1.35; }

.main-column { width: calc(100% - 255px); min-height: 100vh; margin-left: 255px; }
.mobile-header, .bottom-nav { display: none; }
main { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 52px 0 80px; }
.view { display: none; animation: viewIn .25s ease-out; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.hero { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.eyebrow { margin: 0 0 9px; color: var(--cyan-500); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.hero h1, .page-heading h1 { margin: 0; color: var(--navy-900); font-size: clamp(36px, 4.2vw, 58px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { color: var(--cyan-500); }
.hero-copy { max-width: 610px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.date-chip { padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-800); background: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; white-space: nowrap; }

.quick-actions { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.movement-card {
  min-height: 136px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--white);
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.movement-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(7,26,61,.15); }
.movement-card.exit { background: linear-gradient(140deg, var(--navy-900), #17376d); }
.movement-card.entry { background: linear-gradient(140deg, #087d90, var(--cyan-500)); }
.movement-symbol { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.12); font-size: 30px; }
.movement-card > span:nth-child(2) { display: flex; flex-direction: column; }
.movement-card small { opacity: .68; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.movement-card strong { margin-top: 5px; font-size: 21px; }
.movement-card em { margin-top: 5px; opacity: .74; font-size: 12px; font-style: normal; }
.movement-card .arrow { font-size: 25px; opacity: .78; }

.stats-grid { margin-top: 18px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.stat-card { padding: 20px 22px; border: 1px solid rgba(220,226,236,.88); border-radius: 15px; background: rgba(255,255,255,.72); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.stat-card .stat-label { align-self: start; color: var(--navy-800); font-size: 12px; font-weight: 750; }
.stat-card strong { grid-row: span 2; color: var(--navy-900); font-size: 33px; line-height: 1; }
.stat-card small { margin-top: 7px; color: var(--muted); font-size: 10px; }
.mini-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; }
.mini-dot.exit { background: var(--orange-500); }
.mini-dot.entry { background: var(--cyan-500); }

.panel { border: 1px solid rgba(220,226,236,.9); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 32px rgba(7,26,61,.045); }
.recent-panel { margin-top: 22px; padding: 25px; }
.panel-heading, .page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.panel-heading h2 { margin: 0; color: var(--navy-900); font-size: 21px; letter-spacing: -.02em; }
.text-btn { padding: 6px; border: 0; color: var(--blue-700); background: transparent; font-size: 12px; font-weight: 750; }
.text-btn:hover { text-decoration: underline; }
.text-btn.danger { color: var(--red-500); }
.record-list { margin-top: 18px; display: grid; gap: 10px; }
.record-row { min-height: 72px; padding: 13px 15px; border: 1px solid #e7ebf1; border-radius: 13px; display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; background: #fff; }
.record-row:hover { border-color: #cbd5e3; }
.record-type { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; }
.record-type.exit { color: #9d6300; background: var(--orange-100); }
.record-type.entry { color: #08798a; background: var(--cyan-100); }
.record-main { min-width: 0; }
.record-main strong { display: block; color: var(--navy-900); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.record-main span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.record-meta { text-align: right; }
.record-meta strong { display: block; color: var(--ink); font-size: 11px; }
.record-meta span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.record-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 7px; padding-top: 10px; border-top: 1px solid #edf0f5; }
.record-actions button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy-800); background: white; font-size: 10px; font-weight: 750; }
.record-actions button:hover { border-color: var(--blue-700); }
.record-actions .delete-record { color: var(--red-500); }
.empty-state { padding: 34px 18px; color: var(--muted); text-align: center; border: 1px dashed #cfd7e4; border-radius: 13px; }
.empty-state .empty-icon { width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 14px; color: var(--blue-700); background: #eaf0fb; font-size: 24px; }
.empty-state strong { display: block; color: var(--navy-800); font-size: 13px; }
.empty-state span { display: block; margin-top: 5px; font-size: 11px; }

.install-banner { margin-top: 18px; padding: 18px 20px; border-radius: 15px; color: white; background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.install-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--navy-900); background: var(--orange-500); font-size: 24px; font-weight: 900; }
.install-banner div:nth-child(2) { display: flex; flex-direction: column; }
.install-banner strong { font-size: 13px; }
.install-banner span { margin-top: 4px; color: #bfcee7; font-size: 10px; }

.page-heading { margin-bottom: 28px; align-items: flex-end; }
.page-heading h1 { font-size: clamp(32px, 4vw, 49px); }
.page-heading > div > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.back-btn { margin: 0 0 20px; padding: 0; border: 0; color: var(--muted); background: none; font-size: 12px; font-weight: 700; }
.form-heading { align-items: center; }
.draft-state { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-size: 10px; font-weight: 750; }
.draft-state span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--orange-500); }

#movementForm { display: grid; gap: 16px; }
.form-card { padding: 27px; border: 1px solid rgba(220,226,236,.95); border-radius: var(--radius); background: white; display: grid; grid-template-columns: 46px 1fr; gap: 18px; box-shadow: 0 10px 30px rgba(7,26,61,.035); }
.section-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--blue-700); background: #eaf0fb; font-size: 11px; font-weight: 850; }
.section-content { min-width: 0; }
.section-title { margin-bottom: 23px; }
.section-title.with-action { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.section-title h2 { margin: 0; color: var(--navy-900); font-size: 18px; }
.section-title p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.segment-control { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px; border-radius: 14px; background: var(--soft); }
.segment-control button { min-height: 50px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; }
.segment-control button span { margin-right: 7px; font-size: 17px; }
.segment-control button.active[data-type="SALIDA"] { color: var(--navy-900); background: white; box-shadow: 0 5px 15px rgba(7,26,61,.09), inset 0 -3px var(--orange-500); }
.segment-control button.active[data-type="ENTRADA"] { color: var(--navy-900); background: white; box-shadow: 0 5px 15px rgba(7,26,61,.09), inset 0 -3px var(--cyan-500); }
.field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.field.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { color: #34415a; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.field input {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}
.field input::placeholder { color: #aab3c2; }
.field input:focus { border-color: var(--cyan-500); }
.field input.invalid { border-color: var(--red-500); background: #fff8f7; }

.items-container { display: grid; gap: 12px; }
.item-card { position: relative; padding: 15px; border: 1px solid #e1e6ee; border-radius: 13px; background: #fbfcfe; }
.item-card-head { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.item-card-head strong { color: var(--navy-800); font-size: 11px; }
.remove-item { width: 28px; height: 28px; border: 0; border-radius: 8px; color: var(--red-500); background: #fff0ee; font-size: 18px; }
.item-fields { display: grid; grid-template-columns: .65fr 2fr 1fr 1fr 1fr 1.1fr; gap: 9px; }
.item-fields .field input { min-height: 39px; padding: 0 9px; font-size: 11px; }
.add-row-mobile { display: none; }

.signature-group-title { margin: 0 0 11px; color: var(--navy-800); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.signature-group-title.second { margin-top: 22px; }
.signature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.signature-card { min-height: 118px; padding: 14px; border: 1px dashed #cbd4e1; border-radius: 13px; background: #fbfcfe; display: flex; flex-direction: column; justify-content: space-between; }
.signature-card.signed { border-style: solid; border-color: #94d2c1; background: #f5fffb; }
.signature-card-top { display: flex; justify-content: space-between; gap: 8px; }
.signature-card-top span { color: var(--navy-800); font-size: 10px; font-weight: 850; }
.signature-check { color: var(--green-500); font-weight: 900; }
.signature-preview { height: 43px; display: flex; align-items: center; }
.signature-preview img { max-width: 100%; max-height: 42px; object-fit: contain; }
.signature-preview em { color: #a5afbe; font-size: 10px; font-style: normal; }
.signature-card button { align-self: flex-start; padding: 0; border: 0; color: var(--blue-700); background: transparent; font-size: 10px; font-weight: 800; }
.signature-name { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-actions { position: sticky; bottom: 15px; z-index: 10; padding: 13px; border: 1px solid rgba(220,226,236,.9); border-radius: 15px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); display: flex; justify-content: flex-end; gap: 10px; box-shadow: var(--shadow); }

.primary-btn, .secondary-btn { min-height: 42px; padding: 0 18px; border-radius: 10px; font-size: 11px; font-weight: 800; }
.primary-btn { border: 1px solid var(--navy-900); color: white; background: var(--navy-900); box-shadow: 0 8px 18px rgba(7,26,61,.15); }
.primary-btn:hover { background: var(--navy-800); }
.secondary-btn { border: 1px solid #d5dce8; color: var(--navy-800); background: white; }
.secondary-btn:hover { border-color: var(--blue-700); }
.primary-btn.small, .secondary-btn.small { min-height: 34px; padding: 0 13px; font-size: 10px; }

.history-tools { padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.search-box { width: min(490px, 100%); display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #d8deea; border-radius: 10px; background: white; }
.search-box span { color: var(--muted); font-size: 20px; }
.search-box input { width: 100%; min-height: 42px; border: 0; outline: 0; color: var(--ink); font-size: 11px; }
.filter-pills { display: flex; padding: 4px; border-radius: 10px; background: var(--soft); }
.filter-pills button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 750; }
.filter-pills button.active { color: var(--navy-900); background: white; box-shadow: 0 3px 9px rgba(7,26,61,.08); }
.history-list { margin-top: 15px; }
.history-list .record-row { grid-template-columns: 48px 1fr 140px; min-height: 88px; padding: 16px; }
.history-list .record-type { width: 48px; height: 48px; }

.signature-modal { position: fixed; inset: 0; z-index: 100; padding: 22px; background: rgba(2,12,32,.72); display: grid; place-items: center; backdrop-filter: blur(6px); }
.signature-modal[hidden] { display: none; }
.signature-dialog { width: min(620px, 100%); padding: 25px; border-radius: 20px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-heading { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-heading h2 { margin: 0; color: var(--navy-900); font-size: 23px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy-800); background: white; font-size: 23px; line-height: 1; }
.canvas-wrap { position: relative; height: 245px; margin-top: 14px; overflow: hidden; border: 1px dashed #aeb9ca; border-radius: 14px; background: repeating-linear-gradient(0deg, #fff, #fff 39px, #f0f3f7 40px); }
.canvas-wrap canvas { width: 100%; height: 100%; touch-action: none; }
.canvas-wrap > span { position: absolute; bottom: 12px; left: 0; width: 100%; pointer-events: none; color: #abb4c1; text-align: center; font-size: 9px; }
.modal-actions { margin-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-actions > div { display: flex; gap: 9px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 150; max-width: 360px; padding: 13px 17px; border-radius: 11px; color: white; background: var(--navy-900); box-shadow: 0 17px 35px rgba(7,26,61,.22); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }

.print-sheet { display: none; }

@media (max-width: 980px) {
  .side-nav { width: 215px; }
  .main-column { width: calc(100% - 215px); margin-left: 215px; }
  main { width: min(100% - 36px, 900px); padding-top: 36px; }
  .quick-actions { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .item-fields { grid-template-columns: repeat(3, 1fr); }
  .history-tools { align-items: stretch; flex-direction: column; }
}

@media (max-width: 720px) {
  body { background: var(--soft); }
  .side-nav { display: none; }
  .main-column { width: 100%; margin-left: 0; }
  .mobile-header { position: sticky; top: 0; z-index: 30; height: 69px; padding: 9px 16px; border-bottom: 1px solid #e5e9f0; background: rgba(255,255,255,.94); display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(12px); }
  .brand.compact img { width: 43px; height: 43px; }
  .brand.compact strong { color: var(--navy-900); font-size: 13px; }
  .brand.compact small { color: var(--muted); font-size: 9px; }
  main { width: 100%; padding: 27px 16px 110px; }
  .bottom-nav { position: fixed; inset: auto 0 0; z-index: 40; height: 73px; padding: 7px max(12px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid #dde3ec; background: rgba(255,255,255,.96); display: grid; grid-template-columns: repeat(3, 1fr); backdrop-filter: blur(14px); }
  .bottom-nav button { border: 0; color: #8791a4; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 750; }
  .bottom-nav button span { font-size: 21px; line-height: 1; }
  .bottom-nav button.active { color: var(--blue-700); }
  .bottom-nav .new-mobile span { width: 40px; height: 32px; border-radius: 10px; color: white; background: var(--navy-900); display: grid; place-items: center; }
  .hero { display: block; }
  .date-chip { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-copy { margin-top: 14px; font-size: 13px; line-height: 1.55; }
  .quick-actions { margin-top: 25px; gap: 12px; }
  .movement-card { min-height: 110px; padding: 17px; grid-template-columns: 50px 1fr auto; gap: 12px; }
  .movement-symbol { width: 50px; height: 50px; border-radius: 13px; font-size: 24px; }
  .movement-card strong { font-size: 17px; }
  .movement-card em { font-size: 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:first-child { grid-column: span 2; }
  .stat-card { padding: 16px; }
  .recent-panel { padding: 18px; }
  .panel-heading .text-btn { display: none; }
  .record-row { grid-template-columns: 40px 1fr auto; padding: 12px; }
  .record-type { width: 40px; height: 40px; }
  .install-banner { grid-template-columns: auto 1fr; }
  .install-banner button { grid-column: 1 / -1; }
  .page-heading { margin-bottom: 21px; align-items: flex-start; }
  .page-heading h1 { font-size: 34px; }
  .page-heading > .primary-btn { display: none; }
  .form-heading .draft-state { display: none; }
  .form-card { padding: 20px 16px; grid-template-columns: 1fr; gap: 12px; }
  .section-number { width: 32px; height: 32px; }
  .section-title { margin-bottom: 18px; }
  .section-title.with-action .secondary-btn { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
  .segment-control button { min-height: 47px; }
  .item-card { padding: 14px; }
  .item-fields { grid-template-columns: 1fr 1fr; }
  .item-fields .field:nth-child(2) { grid-column: span 2; }
  .add-row-mobile { width: 100%; min-height: 43px; margin-top: 11px; border: 1px dashed #b9c4d4; border-radius: 11px; color: var(--blue-700); background: #f7f9fc; display: block; font-size: 11px; font-weight: 800; }
  .signature-grid { grid-template-columns: 1fr; }
  .signature-card { min-height: 103px; }
  .form-actions { bottom: 84px; display: grid; grid-template-columns: 1fr 1fr; }
  .form-actions .primary-btn { grid-column: 1 / -1; grid-row: 1; }
  .history-tools { padding: 12px; }
  .filter-pills { display: grid; grid-template-columns: repeat(3, 1fr); }
  .history-list .record-row { grid-template-columns: 42px 1fr auto; padding: 13px; }
  .history-list .record-type { width: 42px; height: 42px; }
  .history-list .record-meta { align-self: start; }
  .signature-modal { padding: 0; align-items: end; }
  .signature-dialog { padding: 21px 16px calc(21px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .canvas-wrap { height: 220px; }
  .modal-actions { align-items: stretch; flex-direction: column; }
  .modal-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .toast { right: 16px; bottom: 91px; left: 16px; max-width: none; text-align: center; }
}

@page { size: letter landscape; margin: 7mm; }
@media print {
  body { background: white !important; }
  .app-shell, .signature-modal, .toast { display: none !important; }
  .print-sheet { width: 100%; color: #000; background: #fff; display: block; font-family: Arial, sans-serif; }
  .print-header { height: 27mm; border: .4mm solid #000; display: grid; grid-template-columns: 34mm 1fr 34mm; align-items: center; }
  .print-logo { height: 100%; display: grid; place-items: center; }
  .print-logo:first-child { border-right: .35mm solid #000; }
  .print-logo:last-child { border-left: .35mm solid #000; }
  .print-logo img { width: 23mm; height: 23mm; object-fit: contain; }
  .print-title { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .print-title h1 { margin: 0 0 4mm; font-size: 12pt; line-height: 1; }
  .print-title h2 { margin: 0; font-size: 12pt; line-height: 1; }
  .print-title strong { margin-top: 1mm; font-size: 10pt; }
  .print-title span { font-size: 8pt; font-weight: bold; }
  .print-movement { position: absolute; top: 30mm; left: calc(50% - 15mm); width: 30mm; padding: 1mm 0; border: .35mm solid #000; font-size: 7pt; font-weight: bold; text-align: center; }
  .print-meta { min-height: 24mm; padding: 6mm 2mm 2mm; display: grid; grid-template-columns: 1.8fr 1fr; gap: 12mm; }
  .print-meta p { height: 6mm; margin: 0; display: flex; align-items: end; gap: 2mm; font-size: 8.5pt; }
  .print-meta strong { white-space: nowrap; }
  .print-meta span { width: 100%; min-height: 4mm; padding: 0 1mm .4mm; border-bottom: .25mm solid #000; }
  .print-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 7.5pt; }
  .print-table th, .print-table td { height: 5.1mm; padding: .6mm 1mm; border: .25mm solid #000; overflow: hidden; }
  .print-table th { background: #b4b4b4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 8pt; }
  .print-table th:nth-child(1) { width: 9%; }
  .print-table th:nth-child(2) { width: 42%; }
  .print-table th:nth-child(3) { width: 11%; }
  .print-table th:nth-child(4) { width: 12%; }
  .print-table th:nth-child(5) { width: 12%; }
  .print-table th:nth-child(6) { width: 14%; }
  .print-note { margin: 4mm 0 0; font-size: 7.4pt; line-height: 1.32; }
  .print-signatures { margin-top: 3mm; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm 5mm; }
  .print-signature { height: 18mm; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
  .print-signature strong { font-size: 8pt; }
  .print-signature img { width: 42mm; height: 8mm; object-fit: contain; margin-top: 1mm; }
  .print-signature .signature-space { width: 42mm; height: 8mm; margin-top: 1mm; }
  .print-signature span { width: 100%; padding-top: .8mm; border-top: .25mm solid #000; font-size: 7.5pt; }
}
