/* ParentPaycheck — styles
   Palette: safety-paper green, bank ink, highlighter, rubber-stamp red. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"), url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --page: #EEF3EE;
  --paper: #FBFCF9;
  --safety: #DDEBE2;
  --safety-line: #BFD6C9;
  --ink: #12332E;
  --ink-2: #4B625D;
  --rule: #B4C9BE;
  --ledger: #2851A8;
  --hi: #FFE15A;
  --stamp: #BE3A2E;
  --danger: #A3271C;
  --radius: 6px;
  --gutter: 16px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --guilloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28'%3E%3Cg fill='none' stroke='%23C3DACC' stroke-width='.8'%3E%3Cpath d='M0 14C16 2 32 2 48 14S80 26 96 14'/%3E%3Cpath d='M0 14C16 26 32 26 48 14S80 2 96 14'/%3E%3Cpath d='M0 7C16-5 32-5 48 7S80 19 96 7'/%3E%3Cpath d='M0 21C16 33 32 33 48 21S80 9 96 21'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ledger); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ledger); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: 1.45rem; font-stretch: 112%; font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.6em; }

/* ---------- Masthead ---------- */
.masthead {
  max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 120%; font-size: 1.12rem; letter-spacing: -.01em; }
.wordmark-icon { width: 30px; height: 30px; color: var(--ink); }

.tabs { display: flex; gap: 4px; }
.tab {
  border: 0; background: none; padding: 8px 14px; border-radius: var(--radius);
  font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.tab:hover { color: var(--ink); background: rgba(18, 51, 46, .06); }
.tab[aria-current="page"] { color: var(--ink); background: var(--safety); box-shadow: inset 0 -2px 0 var(--ink); }

/* ---------- Intro ---------- */
.intro { max-width: 1240px; margin: 0 auto; padding: 28px var(--gutter) 22px; }
.intro h1 {
  font-size: clamp(2rem, 5.6vw, 3.9rem); font-weight: 820; font-stretch: 125%;
  letter-spacing: -.025em; line-height: 1.02; max-width: 15ch; margin-bottom: .32em;
}
.lede { font-size: 1.12rem; max-width: 58ch; margin: 0 0 .5em; }
.intro-meta { color: var(--ink-2); margin: 0; font-size: .95rem; }
body.returning .intro { padding-top: 6px; padding-bottom: 10px; }
body.returning .intro h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
body.returning .intro .lede, body.returning .intro .intro-meta { display: none; }

/* ---------- App layout ---------- */
.app { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 40px; outline: none; }
.view { display: none; }
body[data-view="log"] .view-log,
body[data-view="paystub"] .view-paystub,
body[data-view="records"] .view-records,
body[data-view="settings"] .view-settings { display: block; }
.noscript { background: var(--paper); padding: 16px; border: 1px solid var(--rule); }

@media (min-width: 1000px) {
  .app { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 32px; align-items: start; }
  .view-paystub { display: block !important; grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
  .view-log, .view-records, .view-settings { grid-column: 1; grid-row: 1; }
  .tab-paystub { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  font-weight: 650; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.btn:hover { background: #0B2420; }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: rgba(18, 51, 46, .07); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: rgba(163, 39, 28, .07); }
.text-btn { border: 0; background: none; color: var(--ledger); font-weight: 600; cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: .18em; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--paper);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px;
}
.icon-btn:hover { border-color: var(--ink); }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Timecard ---------- */
.timecard {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 16px; position: relative;
}
.timecard-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.day-label { position: relative; font-weight: 750; font-stretch: 112%; font-size: 1.25rem; cursor: pointer; padding: 2px 4px; border-bottom: 2px dotted var(--rule); }
.day-label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.day-total { margin: 10px 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.day-total strong { font-size: 2rem; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.day-total span { color: var(--ink-2); }

.punch-group { margin-top: 14px; }
.punch-group:first-child { margin-top: 0; }
.punch-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--safety-line); padding-bottom: 4px; margin-bottom: 8px; }
.punch-head h3 { margin: 0; font-size: .98rem; }
.punch-head span { color: var(--ink-2); font-size: .85rem; }
.punch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chip {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left;
  min-height: 48px; padding: 8px 10px 8px 12px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--safety-line); border-left: 5px solid var(--ink);
  border-radius: 4px; font-weight: 600; font-size: .93rem; line-height: 1.2;
  transition: background-color .12s, border-color .12s;
}
.chip:hover { border-color: var(--ink); border-left-color: var(--ink); }
.chip small { color: var(--ink-2); font-weight: 500; white-space: nowrap; font-size: .8rem; }
.chip.punched { background: var(--ink); color: #fff; }
.chip.punched small { color: #CFE3D8; }
.punch-usual .chip { border-left-color: var(--ledger); }

.add-custom { margin-top: 16px; }
.add-custom summary { cursor: pointer; color: var(--ledger); font-weight: 600; }
.custom-form { display: grid; gap: 10px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }

label { display: grid; gap: 4px; font-weight: 600; font-size: .93rem; }
input[type="text"], input:not([type]), input[type="number"], input[type="date"], select {
  min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: var(--radius); background: #fff; width: 100%;
}
input:hover, select:hover { border-color: var(--ink-2); }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
label.check input { width: 20px; height: 20px; accent-color: var(--ink); }

/* ---------- Entries ---------- */
.entries { margin-top: 22px; }
.entries-title { font-size: 1.05rem; margin: 0 0 8px; }
.entry-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.entry { border-bottom: 1px solid var(--rule); padding: 10px 2px; display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 10px; align-items: center; }
.entry-time { color: var(--ink-2); font-size: .85rem; }
.entry-main b { font-weight: 650; }
.entry-main small { display: block; color: var(--ink-2); font-size: .82rem; }
.entry-value { font-weight: 700; text-align: right; }
.entry-tools { grid-column: 2 / 4; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rule); border-radius: var(--radius); background: #fff; }
.stepper button { border: 0; background: none; width: 38px; height: 34px; cursor: pointer; font-size: 1.1rem; }
.stepper button:hover { background: var(--safety); }
.stepper span { min-width: 64px; text-align: center; font-weight: 600; font-size: .9rem; }
.mini { border: 0; background: none; color: var(--ledger); cursor: pointer; font-size: .88rem; padding: 6px; text-decoration: underline; text-underline-offset: .18em; }
.mini.del { color: var(--danger); }
.entry-note { grid-column: 2 / 4; }
.entry-note input { min-height: 38px; font-size: .9rem; }
.empty { color: var(--ink-2); margin: 10px 0; }

/* ---------- Paystub ---------- */
.stub-controls { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 12px; }
.period-label { min-width: 190px; }
.custom-range { display: flex; gap: 6px; align-items: center; }
.custom-range input { width: auto; }

.stub {
  background-color: var(--safety); background-image: var(--guilloche);
  border: 1px solid var(--safety-line); border-radius: 3px;
  padding: 20px 20px 16px; position: relative; font-size: .9rem;
  box-shadow: 0 1px 0 rgba(18, 51, 46, .08), 0 14px 28px -18px rgba(18, 51, 46, .45);
}
.stub-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.stub-brand { display: flex; gap: 8px; align-items: center; font-weight: 800; font-stretch: 120%; font-size: 1rem; }
.stub-brand svg { width: 24px; height: 24px; }
.stub-doc { text-align: right; }
.stub-doc b { display: block; font-stretch: 112%; font-size: 1.02rem; }
.stub-doc span { color: var(--ink-2); font-size: .8rem; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .05em; font-weight: 700; color: var(--ink-2); }
.stub-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 12px 0; }
.stub-info div { min-width: 0; }
.stub-info dt { font-size: .82rem; }
.stub-info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.stub table { width: 100%; border-collapse: collapse; }
.stub th { text-align: left; font-size: .82rem; border-bottom: 1px solid var(--ink); padding: 4px 4px 3px 0; }
.stub td { padding: 5px 4px 5px 0; border-bottom: 1px dotted var(--safety-line); vertical-align: top; }
.stub .num { text-align: right; padding-right: 0; padding-left: 6px; white-space: nowrap; }
.rates-table .num { text-align: right; white-space: nowrap; }
.stub tfoot td { border-bottom: 0; border-top: 1.5px solid var(--ink); font-weight: 750; padding-top: 7px; }
.stub td small { display: block; color: var(--ink-2); font-size: .76rem; }
.stub-deduct { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.stub-deduct ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: .84rem; }
.stub-deduct li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--safety-line); padding: 3px 0; }
.stub-net { margin-top: 16px; display: grid; gap: 6px; position: relative; }
.stub-net .label { font-weight: 700; }
.stub-net .label small { display: block; font-weight: 500; color: var(--ink-2); font-size: .8rem; }
.net-amount {
  font-size: clamp(2rem, 7vw, 2.6rem); font-weight: 820; font-stretch: 118%; letter-spacing: -.02em; line-height: 1;
  position: relative; padding: 0 4px; z-index: 0;
}
.net-amount::before {
  content: ""; position: absolute; left: -4px; right: -6px; bottom: -2px; height: 58%; z-index: -1;
  background: var(--hi); border-radius: 3px 10px 4px 12px; transform: rotate(-1.2deg);
}
.stub-pace { margin: 10px 0 0; color: var(--ink-2); font-size: .86rem; }
.perf {
  height: 14px; margin: 18px -20px 14px;
  background: radial-gradient(circle at 7px 7px, var(--page) 3.2px, transparent 3.6px) 0 0 / 14px 14px repeat-x;
  border-top: 1px dashed var(--safety-line);
}
.cheque { position: relative; display: grid; gap: 8px; }
.check-row { display: flex; gap: 10px; align-items: baseline; }
.check-row .line { flex: 1; border-bottom: 1px solid var(--ink); padding: 0 4px 1px; font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.check-row .box { border: 1.5px solid var(--ink); background: #fff; padding: 2px 10px; font-weight: 750; white-space: nowrap; }
.check-sign { display: flex; justify-content: flex-end; margin-top: 26px; }
.check-sign span { min-width: 55%; border-top: 1px solid var(--ink); text-align: center; font-size: .78rem; color: var(--ink-2); position: relative; padding-top: 2px; }
.check-sign span::before { content: attr(data-sig); position: absolute; left: 0; right: 0; bottom: 100%; font-family: var(--hand); font-size: 1.5rem; color: var(--ledger); }
.net-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.stamp {
  transform: rotate(-9deg); margin-right: 4px;
  border: 2.5px solid var(--stamp); color: var(--stamp); border-radius: 6px;
  padding: 2px 10px; font-weight: 800; font-stretch: 120%; font-size: .95rem; opacity: .82;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); pointer-events: none;
}
.stub-empty { background: rgba(255,255,255,.65); border: 1px dashed var(--ink-2); padding: 8px 10px; margin: 10px 0 0; font-size: .86rem; }
.stub-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.partner { margin-top: 18px; background: var(--paper); border: 1px solid var(--rule); border-left: 5px solid var(--hi); padding: 14px 16px; border-radius: var(--radius); }
.partner p { margin: 0 0 10px; }
.partner-figure { font-size: 1.02rem; }
.partner-note { font-size: .8rem; color: var(--ink-2); margin: 8px 0 0 !important; }

/* ---------- Records ---------- */
.view-lede { color: var(--ink-2); max-width: 62ch; margin-top: 0; }
.records-range { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.records-range label { width: 170px; }
.records-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0; }
.records-summary div { background: var(--paper); border: 1px solid var(--rule); padding: 10px 12px; border-radius: var(--radius); }
.records-summary dt { font-size: .82rem; color: var(--ink-2); }
.records-summary dd { margin: 0; font-weight: 750; font-size: 1.25rem; font-stretch: 112%; }
.records-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.records-list { margin-top: 18px; }
.rec-day { margin-bottom: 14px; }
.rec-day h4 { margin: 0 0 4px; display: flex; justify-content: space-between; font-size: .98rem; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
.rec-day table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rec-day td { padding: 4px 6px 4px 0; border-bottom: 1px dotted var(--rule); vertical-align: top; }
.rec-day td:last-child { text-align: right; white-space: nowrap; }
.rec-day small { color: var(--ink-2); }
.backup { margin-top: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; }
.backup h3 { margin-top: 0; }
.backup-status { font-weight: 600; }

/* ---------- Settings ---------- */
.settings-form { display: grid; gap: 16px; }
fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; background: var(--paper); }
legend { font-weight: 750; padding: 0 6px; }
.rates-edit { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); }
.rates-edit th, .rates-edit td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.rates-edit th { font-size: .85rem; color: var(--ink-2); }
.rates-edit input { max-width: 120px; min-height: 38px; }
.rates-edit td small { display: block; color: var(--ink-2); font-size: .78rem; }
.custom-list { list-style: none; padding: 0; margin: 0; }
.custom-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--rule); padding: 8px 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40;
  background: var(--ink); color: #fff; padding: 10px 14px 10px 16px; border-radius: 8px;
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.toast .text-btn { color: var(--hi); }

/* ---------- Explainer ---------- */
.explainer { max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 24px; border-top: 1px solid var(--rule); }
.explainer > * { max-width: 760px; }
.steps { padding-left: 1.3em; display: grid; gap: 10px; }
.steps li::marker { font-weight: 800; }
.table-wrap { overflow-x: auto; }
.rates-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); margin: 8px 0 28px; }
.rates-table th, .rates-table td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.rates-table thead th { border-bottom: 2px solid var(--ink); font-size: .9rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; max-width: 68ch; }

.footer { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) 40px; color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--rule); }
.footer p { max-width: 80ch; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Content pages ---------- */
.page { max-width: 780px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.page h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); font-weight: 820; font-stretch: 122%; letter-spacing: -.02em; }
.page p, .page li { max-width: 68ch; }
.page table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); margin: 10px 0 24px; font-size: .95rem; }
.page th, .page td { padding: 7px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.page thead th { border-bottom: 2px solid var(--ink); }
.page .num { text-align: right; }
.page .cols { columns: 2; column-gap: 24px; }
.page .cols table { break-inside: avoid; }
.updated { color: var(--ink-2); }

/* ---------- Mobile ---------- */
@media (max-width: 999px) {
  body { padding-bottom: 74px; }
  .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper);
    border-top: 1px solid var(--rule); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  }
  .tab { padding: 10px 4px; font-size: .92rem; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .punch-grid { grid-template-columns: 1fr 1fr; }
  .chip { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .stub { padding: 16px 14px 14px; }
  .perf { margin-left: -14px; margin-right: -14px; }
  .stub-deduct { grid-template-columns: 1fr; }
  .stub .col-ytd { display: none; }
  .page .cols { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
#print-root { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; }
  .stub { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #print-root .stub { font-size: 9.5pt; padding: 14pt 16pt; max-width: 6.5in; margin: 0 auto; break-inside: avoid; }
  #print-root .stub td { padding: 2.5pt 4pt 2.5pt 0; }
  #print-root .net-amount { font-size: 24pt; }
  #print-root .perf { margin: 10pt -16pt 8pt; }
  #print-root .check-row .line { font-size: 15pt; }
  #print-root .stub { font-size: 9pt; }
  #print-root .stub-info { gap: 4pt 12pt; margin: 8pt 0; }
  #print-root .stub-deduct { margin-top: 8pt; }
  #print-root .stub-net { margin-top: 8pt; }
  #print-root .cheque { display: block; break-inside: avoid; }
  #print-root .check-row { margin-bottom: 6pt; }
  #print-root .check-sign { margin-top: 18pt; }
  .print-log h1 { font-size: 18pt; font-stretch: 112%; margin: 0 0 4pt; }
  .print-log .meta { color: #333; margin: 0 0 10pt; }
  .print-log table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  .print-log th, .print-log td { border-bottom: .5pt solid #999; padding: 3pt 4pt; text-align: left; vertical-align: top; }
  .print-log th { border-bottom: 1pt solid #000; }
  .print-log .num { text-align: right; }
  .print-log .foot { margin-top: 12pt; font-size: 8.5pt; color: #333; }
  .print-log tr { break-inside: avoid; }
}
