/* Fidelity Residential Leasing Agent Portal.  Site stylesheet, ported from the approved mockups.
   Brand: navy #1E3A5F, amber #F59E0B, orange #D97706.  Poppins.
   Amber and orange never carry body text on white: they fail WCAG AA contrast.
   They are used as fills behind navy text, as borders, and as focus rings. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --navy: #1E3A5F;
  --navy-700: #16304F;
  --navy-100: #E8EEF6;
  --amber: #F59E0B;
  --amber-100: #FEF3C7;
  --orange: #D97706;
  --ink: #1B2430;
  --ink-2: #4B5563;
  --ink-3: #6B7280;
  --line: #E5E7EB;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --ok-bg: #DCFCE7;  --ok: #166534;
  --bad-bg: #FEE2E2; --bad: #991B1B;
  --warn-bg: #FEF3C7; --warn: #92400E;
  --radius: 14px;
  --tap: 52px;            /* minimum thumb target */
  --shadow: 0 1px 2px rgba(27,36,48,.06), 0 8px 24px rgba(27,36,48,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.45;
}
a { color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
h1 { font-size: 22px; font-weight: 600; }
h2 { font-size: 17px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; }


/* ---------- app bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff;
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.appbar .title { font-weight: 600; font-size: 16px; flex: 1; }
.appbar .back, .appbar .action { color: #fff; text-decoration: none; font-weight: 500; min-width: var(--tap); min-height: var(--tap); display: inline-flex; align-items: center; }
.appbar .action { justify-content: flex-end; }

/* ---------- layout ---------- */
.wrap { padding: 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card h2 { margin-bottom: 10px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- form controls, thumb sized ---------- */
label.field { display: block; }
label.field > span.lbl { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
label.field > span.lbl .req { color: var(--orange); font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; min-height: var(--tap); padding: 12px 14px; font: inherit; font-size: 17px;
  border: 1.5px solid #CBD2DC; border-radius: 12px; background: #fff; color: var(--ink);
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus, select.input:focus, textarea.input:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--navy); }
.help { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.computed { background: var(--navy-100); border: 1.5px dashed #B9C6D8; color: var(--navy); font-weight: 600; }

/* validation */
.field.invalid .input { border-color: #DC2626; background: #FFF7F7; }
.error-msg { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; font-size: 14px; color: var(--bad); font-weight: 500; }
.error-msg::before { content: "!"; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--bad); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* tile pickers, for work type and confirmation and outcome */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  min-height: 64px; padding: 12px; border: 1.5px solid #CBD2DC; border-radius: 12px; background: #fff;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.tile small { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.tile[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.tile[aria-pressed="true"] small { color: #C9D6EA; }
.tile:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.tiles.one { grid-template-columns: 1fr; }
.tile.wide { grid-column: 1 / -1; }

/* segmented, for minutes vs start and end */
.seg { display: flex; border: 1.5px solid #CBD2DC; border-radius: 12px; overflow: hidden; }
.seg button { flex: 1; min-height: 48px; border: 0; background: #fff; font: inherit; font-weight: 500; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 18px; border-radius: 12px; border: 0; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none;
}
.btn.primary { background: var(--navy); color: #fff; }
.btn.amber { background: var(--amber); color: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid #CBD2DC; }
.btn.danger { background: #fff; color: var(--bad); border: 1.5px solid #FCA5A5; }
.btn.block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* sticky bottom bar on phones */
.bottombar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; display: flex; gap: 10px; }

/* ---------- status chips and panels ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.navy { background: var(--navy-100); color: var(--navy); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.panel-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.panel-line:last-child { border-bottom: 0; }
.panel-line .val { font-weight: 700; min-width: 36px; text-align: right; }
.panel-line.red { color: var(--bad); }
.panel-line.red .val { color: var(--bad); }

/* big numbers */
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.num { background: var(--navy-100); border-radius: 12px; padding: 12px; }
.num .k { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.num .v { font-size: 22px; font-weight: 700; color: var(--navy); }
.num.due { background: var(--navy); }
.num.due .k { color: #C9D6EA; }
.num.due .v { color: #fff; }

/* entry list rows */
.entry { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.entry:last-child { border-bottom: 0; }
.entry .t { font-weight: 600; }
.entry .s { font-size: 13px; color: var(--ink-3); grid-column: 1; }
.entry .fee { font-weight: 700; color: var(--navy); text-align: right; }
.entry .fee.zero { color: var(--bad); }

/* ---------- desktop shell for owner screens ---------- */
.desk { max-width: 1180px; margin: 0 auto; padding: 24px; }
.topnav { background: var(--navy); color: #fff; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 24px; }
.topnav .brand { font-weight: 700; letter-spacing: .2px; }
.topnav a { color: #C9D6EA; text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.topnav a.on { color: #fff; border-bottom-color: var(--amber); }
.topnav .spacer { flex: 1; }
.desk .cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.data td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr.group td { background: var(--navy-100); font-weight: 600; color: var(--navy); }
table.data td.r, table.data th.r { text-align: right; }
table.data tr.nb td { background: #FFF7F7; }

/* banners */
.banner { border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner.bad { background: var(--bad-bg); color: var(--bad); }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.banner.navy { background: var(--navy); color: #fff; }

/* empty state */
.empty { text-align: center; padding: 36px 16px; color: var(--ink-3); }
.empty .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-100); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; font-size: 22px; }

/* visually hidden, for screen readers */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


/* ---------- app shell ---------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.app.wide { max-width: 1180px; }
.app .screen { padding: 0 0 96px; }
.step .hd { display: flex; justify-content: space-between; align-items: center; }
.step.done { padding: 12px 16px; }
.step.done .sum { font-weight: 600; color: var(--navy); }
.step .edit { font-size: 14px; }
.step.now { border: 1.5px solid var(--navy); }
.rec { background: var(--navy-100); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.rec b { display: block; color: var(--navy); margin-bottom: 4px; }
.summary-errors { background: var(--bad-bg); color: var(--bad); border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.summary-errors ul { margin: 6px 0 0 18px; padding: 0; }
.signout { color: #C9D6EA; font-size: 13px; }

/* ---------- week screen ---------- */
.daytabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.daytabs a { flex: 0 0 auto; min-width: 46px; min-height: 52px; border: 1.5px solid #CBD2DC; border-radius: 12px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.daytabs a b { font-size: 15px; color: var(--navy); }
.daytabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.daytabs a.on b { color: #fff; }
.daytabs a .n { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: 3px; }
.fab { position: sticky; bottom: 86px; display: flex; justify-content: flex-end; pointer-events: none; }
.fab a { pointer-events: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--amber); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); margin-right: 4px; }
.entry a.t { color: var(--ink); text-decoration: none; }
.entry a.t:hover { text-decoration: underline; }

/* ---------- owner review ---------- */
.hero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero .num .v { font-size: 30px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sla { font-size: 13px; color: var(--ink-3); }
.cp .panel-line { padding: 9px 0; font-size: 14px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } .desk .cols { grid-template-columns: 1fr; } .topnav { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 14px; } }

/* ---------- tile radio groups: real inputs, styled as tiles ---------- */
.tiles label.tile { position: relative; }
.tiles label.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tiles label.tile:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.tiles label.tile:has(input:checked) small { color: #C9D6EA; }
.tiles label.tile:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.seg label { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; background: #fff; font-weight: 500; color: var(--ink-2); cursor: pointer; position: relative; }
.seg label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--navy); color: #fff; }
.hidden { display: none !important; }

/* ---------- onboarding: agreement and initial lines ---------- */
.gates { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.gates span { padding: 4px 10px; border-radius: 999px; background: var(--navy-100); color: var(--navy); font-weight: 600; }
.gates span.now { background: var(--navy); color: #fff; }
.doc { max-height: 360px; overflow-y: auto; border: 1.5px solid #CBD2DC; border-radius: 12px; padding: 14px; font-size: 14px; background: #fff; }
.doc h1 { font-size: 18px; margin: 0 0 8px; }
.doc h2 { font-size: 15px; margin: 16px 0 6px; }
.doc h3 { font-size: 14px; margin: 14px 0 6px; }
.doc p { margin: 0 0 10px; }
.doc .end { margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; text-align: center; }
.doc.read { border-color: var(--ok); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--navy); }
.initial { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.initial:last-of-type { border-bottom: 0; }
.initial p { margin: 0; font-size: 14px; }
.initial .box { flex: 0 0 52px; height: 44px; border: 1.5px solid #CBD2DC; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); background: #fff; }
.initial .box.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.initial input.box-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.initial:has(input.box-input:checked) .box { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.initial:has(input.box-input:checked) .box::before { content: "initial"; font-size: 11px; }
.initial:has(input.box-input:focus-visible) .box { outline: 3px solid var(--amber); }

/* ---------- phones: never let a wide table widen the page ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
.card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data th, table.data td.mono, table.data td.r { white-space: nowrap; }
@media (max-width: 900px) {
  .topnav { position: sticky; top: 0; z-index: 5; }
  .topnav .brand { width: 100%; }
  .topnav a { font-size: 14px; padding: 6px 0; }
  .desk { padding: 14px; }
  .desk h1 { font-size: 19px; }
  .actions .btn { flex: 1 1 auto; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero .num .v { font-size: 24px; }
  .row.between { flex-wrap: wrap; }
  .grid-2 { grid-template-columns: 1fr; }
}
/* grid children must be allowed to shrink below their table's natural width */
.desk .cols > *, .desk .cols aside, .card, .card > * { min-width: 0; }
.card { max-width: 100%; }

/* ---------- review fixes, 2026-09-21 test phase ---------- */
/* required markers: amber fill behind navy text, never orange text on white (DESIGN 3) */
label.field > span.lbl .req, .lbl .req, span.req { color: var(--navy); background: var(--amber-100); border: 1px solid var(--amber); border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 600; margin-left: 4px; vertical-align: middle; }
/* owner top bar: real targets */
.topnav .signout { background: none; border: 0; cursor: pointer; font: inherit; color: #C9D6EA; min-height: 44px; padding: 0 10px; }
.topnav a { min-height: 44px; display: inline-flex; align-items: center; }
/* owner tables: every control a real target, and a cue that the table scrolls sideways on a phone */
table.data .btn { min-height: 44px; padding: 0 14px; }
.card:has(> table.data) { position: relative; }
@media (max-width: 900px) {
  .card:has(> table.data)::after { content: "scroll sideways for more"; display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
  .card:has(> table.data) table.data { min-width: 640px; }
}
/* audit and year end filter controls */
.desk form.row .input { min-height: 52px; }
.desk form.row .btn { min-height: 52px; }
/* date inputs get the same focus ring as everything else */
input[type=date]:focus, input[type=time]:focus, input[type=file]:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
table.data td.detail { white-space: normal; overflow-wrap: anywhere; word-break: break-word; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

/* ---------- compliance dashboard ---------- */
.trend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.trend { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; text-decoration: none; color: var(--ink); background: #fff; min-height: 44px; }
.trend:hover, .trend:focus-visible { border-color: var(--navy); outline: none; }
.trend.hot { border-color: #FCA5A5; background: #FFF7F7; }
.compliance-table th { white-space: normal; min-width: 70px; font-size: 11px; text-transform: none; letter-spacing: 0; }
.compliance-table td.cell-red { background: var(--bad-bg); font-weight: 700; }
.compliance-table td.cell-red a { color: var(--bad); }
.paybars { display: grid; gap: 6px; margin-top: 6px; }
.paybar { display: grid; grid-template-columns: 150px 1fr 60px; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); min-height: 28px; }
.paybar .track { position: relative; height: 12px; background: var(--navy-100); border-radius: 6px; overflow: hidden; }
.paybar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); border-radius: 6px; }
.paybar .fill.over { background: var(--bad); }
.paybar .line48 { position: absolute; top: -2px; bottom: -2px; left: 66.67%; width: 2px; background: var(--amber); }
@media (max-width: 600px) { .paybar { grid-template-columns: 1fr 50px; } .paybar .lbl { grid-column: 1 / -1; } }

/* ---------- view as agent band ---------- */
.viewas-band { position: sticky; top: 0; z-index: 50; background: var(--amber); color: var(--navy); font-weight: 600; font-size: 14px; padding: 10px 16px; text-align: center; border-bottom: 3px solid var(--navy); }
.viewas-band a { color: var(--navy); text-decoration: underline; margin-left: 8px; }

/* settings sub tabs, candidate compare */
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.subtabs a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-size: 14px; }
.subtabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
table.data td.c, table.data th.c { text-align: center; width: 34px; }
table.compare td, table.compare th { vertical-align: top; min-width: 150px; }
table.compare td:first-child { color: var(--ink-2); min-width: 130px; }
table.compare td.long { white-space: pre-line; font-size: 13px; }
@media (max-width: 760px) { table.compare { display: block; overflow-x: auto; } }
.topnav a, .topnav .brand, .topnav .small { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1400px) { .topnav { gap: 16px; padding: 0 16px; } .topnav a { font-size: 14px; } .topnav .brand { font-size: 15px; } }
.compliance-table td:first-child, .compliance-table th:first-child { min-width: 170px; white-space: nowrap; }

/* Agreement: fields still to be completed, and the filled signature lines */
.doc mark.tbd, mark.tbd { background: var(--amber-100, #FEF3C7); color: inherit; padding: 0 3px; border-radius: 3px; }
.doc .sigline { display: inline-block; padding: 4px 8px; border-left: 3px solid var(--navy); background: var(--navy-100); }

/* Application: resume upload panel */
.upload .file-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 16px; border: 2px dashed #9FB3CC; border-radius: 12px; background: var(--navy-100); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--navy); }
.dropzone:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.dropzone .dz-icon { width: 40px; height: 40px; color: var(--navy); }
.dropzone .dz-title { font-weight: 600; font-size: 17px; color: var(--navy); }
.dropzone .dz-hint { font-size: 14px; color: var(--ink-2); max-width: 42ch; }
.dropzone .dz-btn { margin-top: 4px; pointer-events: none; }
.invalid .dropzone { border-color: var(--bad); background: var(--bad-bg); }
.filechip { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filechip .fc-icon { width: 28px; height: 28px; color: var(--ok); }
.filechip .fc-text { display: grid; min-width: 0; }
.filechip .fc-text b { overflow-wrap: anywhere; }
.filechip .fc-text small { color: var(--ink-2); font-size: 13px; }
.filechip .fc-actions { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 8px 4px; color: var(--bad); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.upload [hidden] { display: none !important; }
@media (hover: none) { .desk-only { display: none; } }
@media (min-width: 560px) { .filechip { grid-template-columns: auto 1fr auto; } .filechip .fc-actions { grid-column: auto; } }

/* Application sent: where to find the email */
.mailcheck { border-left: 4px solid var(--amber); }
.steps-plain { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Scope of Work: read, initial, sign */
.step-kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.readbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 56px); z-index: 4; display: grid; gap: 6px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.readtrack { display: block; height: 6px; background: var(--navy-100); border-radius: 99px; overflow: hidden; }
.readfill { display: block; height: 100%; background: var(--amber); transition: width .3s; }
.sow-pages { display: grid; gap: 12px; }
.sow-page { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sow-page img { display: block; width: 100%; height: auto; }
.sow-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.sow-line p { margin: 0; font-size: 15px; }
.sow-n { color: var(--ink-2); font-weight: 600; }
.sow-input { width: 74px; text-align: center; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sow-input:disabled { background: #F3F4F6; }
.sow-initials { min-width: 60px; text-align: center; padding: 8px 10px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-weight: 700; letter-spacing: .1em; }
.sow-wait { max-width: 120px; text-align: right; }
@media (prefers-reduced-motion: reduce) { .readfill { transition: none; } }
