/* ── Reset & Variables ── */
:root {
  --paper: #f6f4ed;
  --white: #fffefa;
  --ink: #182e32;
  --muted: #526362;
  --teal: #176456;
  --line: #d8ddd3;
  --soft: #e9eee5;
  --danger: #9d3325;
  font-family: Segoe UI, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: #0d3e35; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #c1842b; outline-offset: 3px;
}

/* ── Buttons ── */
button {
  border: 1px solid #a9b8ad;
  border-radius: 3px;
  padding: 10px 15px;
  min-height: 44px;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  transition: background .15s;
}
button:hover { background: var(--soft); }
button:disabled { opacity: .45; cursor: not-allowed; }

/* ── Layout ── */
.container { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }

/* ── Header ── */
.site-header { border-bottom: 2px solid var(--line); background: var(--white); }
.site-header.container { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 23px; font-weight: 750; letter-spacing: -.8px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 30px; height: 34px; border: 2px solid var(--teal); display: inline-block;
  background: repeating-linear-gradient(0deg, transparent 0 7px, var(--teal) 7px 9px);
  position: relative;
}
.brand-mark::after { content: ''; position: absolute; top: 0; bottom: 0; left: 7px; border-left: 2px solid var(--teal); }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-size: 14px; text-decoration: none; font-weight: 600; color: var(--ink); }
.main-nav a:hover { text-decoration: underline; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 12px; display: flex; gap: 10px; margin: 26px 0; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ── Page Heading ── */
.page-heading { padding: 8px 0 30px; max-width: 880px; }
.eyebrow, .ledger-label { text-transform: uppercase; font-size: 11px; letter-spacing: 1.8px; font-weight: 750; }
.eyebrow { color: var(--teal); margin: 0 0 10px; }
h1 { font-size: 46px; letter-spacing: -1.5px; line-height: 1.1; margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; }
.intro { font-size: 18px; color: var(--muted); margin: 0; max-width: 600px; }

/* ── Calculator Layout ── */
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.calculator-bar {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--soft);
}
.calculator-bar .ledger-label { color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.switch input { cursor: pointer; }
#tool-form { padding: 28px; min-width: 0; }
.result-panel { padding: 28px; border-left: 1px solid var(--line); background: var(--soft); }

/* ── Form Fields ── */
.form-fields { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select {
  width: 100%; min-width: 0; max-width: 100%; font-variant-numeric: tabular-nums;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px;
  font-size: 16px; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px rgba(23, 100, 86, .15); }
.field input[data-time] { font-size: 20px; font-weight: 600; letter-spacing: .5px; }
.field small { font-size: 12px; color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

/* ── Duration Fieldset ── */
.duration { display: flex; gap: 14px; align-items: end; border: 0; padding: 0; margin: 0; min-width: 0; }
.duration legend { font-size: 13px; font-weight: 600; margin-bottom: 5px; width: 100%; }
.duration .field { flex: 1; }

/* ── Period (work shift) ── */
.period { border: 1px solid var(--line); border-radius: 4px; padding: 16px; background: var(--white); min-width: 0; }
.period .fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }

/* ── Form Actions ── */
.form-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
button.primary { background: var(--teal); color: #fff; border-color: var(--teal); font-weight: 700; }
button.primary:hover { background: #0d4e42; }
.text-button { background: none; border: 0; color: var(--teal); font-weight: 600; padding: 0; min-height: auto; font-size: 14px; }
.text-button:hover { text-decoration: underline; background: none; }

/* ── Errors ── */
#errors { background: #fdf0ed; border: 1px solid var(--danger); color: var(--danger); padding: 12px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; margin-top: 16px; }

/* ── Result Panel ── */
.result-caption { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.result-number { font-size: 48px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin-bottom: 20px; font-family: Georgia, 'Times New Roman', serif; }
.result-empty { font-size: 36px; font-family: Georgia, 'Times New Roman', serif; color: var(--muted); line-height: 1.2; margin: 24px 0 8px; }
.result-empty + p { color: var(--muted); font-size: 14px; }
.result-panel dl { display: flex; flex-direction: column; gap: 0; }
.result-panel dl > div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.result-panel dt { font-size: 13px; color: var(--muted); }
.result-panel dd { font-size: 15px; font-weight: 600; margin: 0; text-align: right; }
.result-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 20px; }
.result-actions button, .print-size { font-size: 13px; padding: 9px 10px; }
.print-size { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.print-size select { font-size: 12px; padding: 4px; border: 1px solid var(--line); border-radius: 3px; }
.result-footnote { font-size: 12px; color: var(--muted); margin: 16px 0 0; line-height: 1.5; }

/* ── Draft / Local Save Panel ── */
.draft-panel { margin-top: 24px; border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px; background: var(--white); }
.draft-panel summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.draft-panel summary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.draft-panel p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.draft-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.draft-actions button, .file-button { font-size: 13px; padding: 8px 12px; }
.file-button { display: inline-flex; align-items: center; border: 1px solid #a9b8ad; border-radius: 3px; background: var(--white); cursor: pointer; font-weight: 600; color: var(--ink); }
.file-button { position: relative; }
.file-button input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-button:focus-within { outline: 3px solid #c1842b; outline-offset: 3px; }
#storage-status { font-size: 13px; color: var(--teal); margin-top: 10px; min-height: 20px; }

/* ── Tool Directory (homepage & /tools/) ── */
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.tool-link {
  display: flex; align-items: start; gap: 14px;
  text-decoration: none; color: var(--ink);
  padding: 20px 0; border-top: 1px solid var(--line);
}
.tool-number {
  flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--teal);
  border: 1.5px solid var(--teal); border-radius: 4px;
  line-height: 1;
}
.tool-link-body { flex: 1; min-width: 0; }
.tool-link-body h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.tool-link-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.tool-link-arrow { flex-shrink: 0; font-size: 14px; color: var(--teal); margin-top: 2px; }
.tool-link:hover .tool-link-body h3 { color: var(--teal); text-decoration: underline; }

/* ── Guide Grid ── */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 38px; }
.guide-grid > a {
  padding: 18px 0; border-top: 1px solid var(--line);
  font-family: Georgia, serif; font-size: 20px; color: var(--ink); text-decoration: none;
  display: flex; flex-direction: column; gap: 6px;
}
.guide-grid a:hover { text-decoration: underline; }
.guide-grid .eyebrow { margin: 0; }
.guide-grid h3 { margin: 0; font-size: 20px; }
.guide-grid p { margin: 0; font-size: 14px; color: var(--muted); font-family: Segoe UI, sans-serif; line-height: 1.45; }

/* ── Guide Article ── */
.guide-article section { margin: 30px 0; }
.guide-article h2 { font-size: 22px; margin: 0 0 10px; }
.guide-article p { margin: 0 0 14px; }
.guide-action { margin-top: 24px; }

/* ── Content Sections ── */
.content-section { margin: 44px 0; padding-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.content-section h2 { font-size: 32px; margin: 8px 0 0; font-family: Georgia, serif; }

/* ── Prose / Trust Pages ── */
.prose { max-width: 740px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--soft); font-weight: 600; }
.prose .worked-example { background: var(--soft); padding: 14px 18px; border-radius: 4px; border-left: 3px solid var(--teal); }
.prose .review-note { font-size: 13px; color: var(--muted); }
.prose .source-note { font-size: 13px; color: var(--muted); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ── Reference Table (decimal chart) ── */
.reference-table { width: auto; min-width: 260px; }
.reference-table th, .reference-table td { padding: 8px 16px; text-align: center; }

/* ── Timecard Day ── */
.timecard-days { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.day { border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; background: var(--white); }
.day-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.day-heading h3 { margin: 0; font-size: 15px; }
.day-heading h3 span { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 8px; }
.day .fields { display: grid; grid-template-columns: 1fr 1fr 1.15fr 1.15fr .8fr; gap: 10px; }

/* ── Schedule Fieldset (comparison) ── */
.schedule { border: 1px solid var(--line); border-radius: 4px; padding: 16px; background: var(--white); }
.schedule legend { font-weight: 700; font-size: 15px; }

/* ── Duration Row (hours-minutes calc) ── */
.duration-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: end; margin-bottom: 10px; }
.duration-row .field select { padding: 8px 5px; }

/* ── Ad Preview ── */
.ad-preview { margin: 28px 0; padding: 24px; border: 1px dashed var(--line); border-radius: 4px; text-align: center; color: var(--muted); font-size: 13px; background: var(--soft); }

/* ── Preset Bar (quick-fill & schedule comparison) ── */
.preset-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 20px; }
.preset-label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.preset-button {
  padding: 6px 14px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--teal); border-radius: 3px;
  background: var(--white); color: var(--teal); cursor: pointer; transition: all .15s;
}
.preset-button:hover { background: var(--teal); color: #fff; }

/* ── Countdown Timer (clock-out calculator) ── */
#countdown-display { margin-top: 20px; padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.countdown-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.countdown-timer { font-size: 36px; font-weight: 700; font-family: Georgia, 'Times New Roman', serif; color: var(--teal); letter-spacing: 1px; }
.countdown-timer.countdown-done { color: var(--danger); }

/* ── FAQ Items (guide pages) ── */
.faq-item { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; background: var(--white); }
.faq-item summary { padding: 14px 18px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ink); }
.faq-item summary:hover { color: var(--teal); }
.faq-item p { padding: 0 18px 14px; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Shift Patterns Table ── */
.shift-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.shift-table th, .shift-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.shift-table th { background: var(--soft); font-weight: 600; }
.shift-table th[scope="row"] { white-space: nowrap; color: var(--teal); }

/* ── Source Note (overtime pages) ── */
.source-note { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ── Footer ── */
.site-footer {
  border-top: 2px solid var(--line);
  padding: 40px 0 32px;
  margin-top: 60px;
  background: var(--white);
  width: 100%;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-decoration: none;
}
.site-footer .tagline {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.site-footer .sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  padding: 14px 0;
  margin: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-footer nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--teal);
  font-weight: 600;
  line-height: 1;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.site-footer nav a:first-child { padding-left: 0; border-left: none; }
.site-footer nav a:last-child { border-right: none; }
.site-footer nav a:hover { text-decoration: underline; color: #0d3e35; }
.footer-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Skip Link ── */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 0; }

/* ── Hidden ── */
[hidden] { display: none !important; }

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .calculator-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  #tool-form { padding: 22px; }
  .period .fields { grid-template-columns: 1fr 1fr 1fr; }
  .result-panel { padding: 26px 22px; }
  .directory { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .site-header.container { min-height: 72px; gap: 10px; flex-wrap: wrap; padding: 15px 0; }
  .brand { font-size: 21px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .breadcrumb { margin: 19px 0; font-size: 11px; flex-wrap: wrap; }
  .page-heading { padding: 0 0 24px; }
  h1 { font-size: 38px; letter-spacing: -1px; }
  .intro { font-size: 16px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .period .fields { grid-template-columns: 1fr 1fr; }
  #tool-form { padding: 22px 18px; }
  .calculator-bar { padding: 12px 18px; }
  .ledger-label { font-size: 9px; letter-spacing: 1.3px; }
  .switch { font-size: 11px; }
  .form-fields, .fields { gap: 20px 14px; }
  .field input, .field select { font-size: 15px; padding: 8px; }
  .field input[data-time] { font-size: 18px; }
  .field > span { font-size: 12px; }
  .form-actions { gap: 8px; }
  .form-actions button { font-size: 13px; padding: 10px 12px; }
  button.primary { min-width: 142px; }
  .result-panel { padding: 25px; }
  .result-empty { font-size: 32px; margin-top: 20px; }
  .result-number { font-size: 40px; }
  .result-actions { grid-template-columns: 1fr 1fr; }
  .print-size { order: 2; }
  .result-footnote { padding-top: 18px; }
  .draft-panel { padding: 16px 18px; }
  .draft-actions { gap: 8px; }
  .draft-actions button, .file-button { padding: 9px 11px; }
  .directory, .guide-grid { grid-template-columns: 1fr; }
  .content-section { margin: 40px 0; padding-top: 25px; }
  .content-section h2 { font-size: 30px; }
  .day-heading { align-items: start; }
  .day-heading button { max-width: 150px; text-align: right; line-height: 1.4; }
  .schedule { grid-column: 1 / -1; }
  .duration-row { grid-template-columns: 90px 1fr; gap: 12px; }
  .duration-row .field select { padding: 8px 5px; }
  .site-footer nav a { padding: 4px 10px; font-size: 13px; }
  .prose { font-size: 15px; }
  .prose table { font-size: 12px; }
  .prose th, .prose td { padding: 7px; }
  .period .fields { grid-template-columns: 1fr 1fr; }
  .day .fields { grid-template-columns: 1fr 1fr; }
  .preset-bar { gap: 6px; padding: 10px 12px; }
  .preset-button { padding: 5px 10px; font-size: 12px; }
  .calculator-layout { grid-template-columns: 1fr; }
  #tool-form { overflow: hidden; min-width: 0; }
  .form-fields { gap: 16px 12px; }
  .field input, .field select { font-size: 15px; padding: 8px; min-width: 0; width: 100%; }
  .field input[data-time] { font-size: 16px; }
  .field > span { font-size: 12px; }
  .form-actions { gap: 8px; flex-wrap: wrap; }
  .form-actions button { font-size: 13px; padding: 10px 12px; flex: 1 1 auto; }
  button.primary { min-width: 120px; }
  .result-panel { padding: 20px 16px; }
  .result-empty { font-size: 28px; margin-top: 16px; }
  .result-number { font-size: 36px; }
  .result-actions { grid-template-columns: 1fr 1fr; }
  .result-actions button { font-size: 12px; padding: 8px 6px; }
  .print-size { order: 2; }
  .result-footnote { padding-top: 14px; }
  .draft-panel { padding: 14px 16px; }
  .draft-actions { gap: 6px; }
  .draft-actions button, .file-button { padding: 8px 10px; font-size: 12px; }
  .directory, .guide-grid { grid-template-columns: 1fr; }
  .content-section { margin: 32px 0; padding-top: 20px; }
  .content-section h2 { font-size: 26px; }
  .day-heading { align-items: start; }
  .day-heading button { max-width: 130px; text-align: right; line-height: 1.3; font-size: 12px; }
  .schedule { grid-column: 1 / -1; }
  .preset-bar { gap: 6px; padding: 8px 10px; }
  .preset-button { padding: 5px 8px; font-size: 11px; }
  .countdown-timer { font-size: 24px; }
  .shift-table { font-size: 11px; }
  .shift-table th, .shift-table td { padding: 6px 4px; }
  .period { padding: 12px; }
  .period .fields { grid-template-columns: 1fr 1fr; gap: 8px; }
  .day .fields { grid-template-columns: 1fr 1fr; gap: 8px; }
  .day { padding: 10px 12px; }
  .duration { flex-wrap: wrap; gap: 10px; }
  .duration .field { min-width: 80px; }
  .duration-row { grid-template-columns: 80px 1fr; gap: 8px; }
  .duration-row .field select { padding: 6px 4px; }
  .site-footer nav a { padding: 4px 8px; font-size: 12px; }
  .prose { font-size: 14px; }
  .prose table { font-size: 11px; }
  .prose th, .prose td { padding: 6px 5px; }
  .guide-grid > a { font-size: 17px; }
  h1 { font-size: 32px; letter-spacing: -1px; }
  .intro { font-size: 14px; }
  .page-heading { padding: 0 0 20px; }
  .calculator-bar { padding: 10px 14px; flex-wrap: wrap; gap: 6px; }
  .shift-table { font-size: 12px; }
  .shift-table th, .shift-table td { padding: 7px 6px; }
}

/* ── Responsive: Wide desktop ── */
@media (min-width: 1100px) {
  .day .fields { grid-template-columns: 1fr 1fr 1.15fr 1.15fr .8fr; }
  .day .field input { font-size: 13px; padding: 6px; }
  .day .field > span { font-size: 10px; }
  .day .fields > .field:last-child { max-width: none; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ── Print ── */
@media print {
  body { background: white; color: black; font-size: 10pt; }
  .container { width: 100%; max-width: none; }
  .site-header { border: 0; }
  .site-header > .container { min-height: 40px; }
  .main-nav, .breadcrumb, .site-footer, .content-section, .draft-panel,
  .form-actions, .calculator-bar, .result-actions, .text-button,
  .field small, .skip-link { display: none !important; }
  .page-heading { padding: 0 0 12px; }
  .page-heading h1 { font-size: 25pt; }
  .intro { font-size: 10pt; }
  .calculator-layout { display: block; border: 0; }
  #tool-form { padding: 0; }
  .form-fields { gap: 12px; }
  .field input, .field select { border: 0; border-bottom: 1px solid #ccc; padding: 2px; height: 25px; background: white; color: black; }
  .field input[data-time] { font-size: 12pt; }
  .result-panel { background: white !important; color: black !important; padding: 20px 0; break-inside: avoid; }
  .result-panel p, .result-panel dt, .result-panel .ledger-label, .result-caption { color: #333 !important; }
  .result-number { font-size: 25pt; margin: 8px 0; }
  .result-panel dl > div { padding: 5px 0; }
  .result-footnote { display: none; }
  .day { break-inside: avoid; }
  .day .fields { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
  .day .field input { font-size: 10pt; }
  .timecard-days { gap: 9px; }
  .result-panel dd { text-align: right; }
  .brand { font-size: 15pt; }
  .prose { max-width: none; }
  .form-note { font-size: 9pt; }
  .duration-row { break-inside: avoid; }
}
