.customer-public { margin: 0; min-height: 100vh; background: var(--surface, #f4f6f4); color: var(--ink, #1c332c); }
.public-head { border-bottom: 1px solid var(--line, #d8e0da); background: var(--card, #fff); }
.public-head-inner, #report-main, .public-foot { width: min(100%, 1320px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 56px); box-sizing: border-box; }
.public-head-inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 76px); min-height: 68px; }
.public-brand { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.public-head nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; align-self: stretch; }
.public-head nav[hidden] { display: none; }
.report-unavailable { max-width: 42rem; margin: 2rem auto; padding: clamp(1.25rem,4vw,2.5rem); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.report-unavailable h1 { margin: 0 0 .6rem; }
.public-head nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px; border-bottom: 3px solid transparent; text-decoration: none; color: var(--muted); font-weight: 550; }
.public-head nav a[aria-current] { border-color: #c1602d; color: #163c32; }
#report-main { min-height: 65vh; padding-block: clamp(22px, 3vw, 40px); outline: 0; }
.public-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; border-top: 1px solid var(--line); padding-block: 14px; color: var(--muted); font-size: 14px; }
.public-foot span { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.public-foot a { display: inline-flex; min-height: 40px; align-items: center; color: var(--good); }
#report-notice { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); padding: .7rem 1rem; background: #163c32; color: white; border-radius: .5rem; z-index: 50; }
.crew-main { max-width: 640px; padding: clamp(20px,5vw,44px) 16px; margin-inline: auto; }
.crew-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px,5vw,36px); }
.crew-card h1 { margin-top: 0; font-size: clamp(27px,4vw,36px); }
.crew-card p, .crew-card li { line-height: 1.55; }
.crew-card ol { padding-left: 1.3rem; }
.crew-card output { display: block; padding: 12px; border: 1px solid var(--line); font: 650 clamp(17px,4vw,23px)/1.4 var(--mono); overflow-wrap: anywhere; }
.crew-card .crew-address { font: 500 .95rem/1.5 var(--mono); overflow-wrap: anywhere; }
.crew-card button, .crew-card a.btn { min-height: 44px; margin: 4px 8px 4px 0; }
.crew-phones { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.crew-phones ul { padding: 0; }
.crew-phones li { display: flex; gap: .75rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin: 8px 0; }
@media (max-width: 620px) {
  .public-head-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; }
  .public-head nav { width: 100%; gap: 20px; }
}

.customer-public { display: flex; flex-direction: column; font-family: var(--display); }
.customer-public #report-main { flex: 1; }
.customer-public .public-head { background: #20292c; border-color: #344147; }
.customer-public .public-head-inner { min-height: 72px; justify-content: space-between; gap: 16px; }
.public-identity { display: flex; align-items: center; gap: 14px; }
.public-brand img, html.access-page .access-brand img { display: block; width: clamp(128px, 36vw, 176px); height: auto; }
.public-identity > span { padding-left: 14px; border-left: 1px solid #769082; color: #dbe6dc; font-size: .9rem; }
.customer-public .public-head nav { align-self: center; gap: 4px; }
.customer-public .public-head nav a { padding: 8px 13px; min-height: 42px; border: 0; border-radius: 8px; color: #d4e3d8; }
.customer-public .public-head nav a:hover { color: white; background: #254839; }
.customer-public .public-head nav a[aria-current] { background: #454239; color: #ffcf80; }
.public-head a:focus-visible { outline: 2px solid #d5eaaf; outline-offset: 2px; }
.customer-public .report-unavailable { max-width: 36rem; margin-block: clamp(20px,9vh,100px); padding: clamp(22px,4vw,40px); }
.report-state-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 23px; background: var(--brand-soft); color: var(--good); }
.report-unavailable h1 { font-size: clamp(1.5rem,3.4vw,2.1rem); line-height: 1.14; letter-spacing: -.04em; }
.report-unavailable p { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.report-unavailable button { margin-top: 18px; }
.customer-public .published-status { padding: 12px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 17px; }
@media (max-width: 620px) {
  .customer-public .public-head-inner { padding-block: 15px 9px; gap: 12px; }
  .customer-public .public-head nav { display: grid; grid-template-columns: repeat(3,1fr); width: 100%; gap: 5px; }
  .customer-public .public-head nav[hidden] { display: none; }
  .customer-public .public-head nav a { justify-content: center; font-size: .9rem; padding-inline: 5px; }
  .customer-public .published-status { font-size: .85rem; gap: 10px; }
}

/* Staff access, laptop register review and offline recovery. */
@font-face {font-family:Instrument;src:url("/fonts/instrument-sans-latin.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face {font-family:Plex;src:url("/fonts/ibm-plex-mono-latin.woff2") format("woff2");font-weight:500;font-display:swap}
html.access-page {color-scheme:light;--paper:#f1f4ef;--card:#fff;--ink:#19392f;--muted:#52695e;--line:#d5dfd6;--soft:#edf3e9;--accent:#193f32;--on:#fff;--focus:#166d86}
@media(prefers-color-scheme:dark) {
html.access-page {color-scheme:dark;--paper:#101b17;--card:#192821;--ink:#edf4e9;--muted:#bdcec2;--line:#3a5041;--soft:#24382c;--accent:#d1e9c6;--on:#162a1c;--focus:#7dd5e1}
}
html.access-page * {box-sizing:border-box}
html.access-page body {margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 Instrument,"Segoe UI",sans-serif}
html.access-page [hidden] {display:none!important}
html.access-page .access-bar {background:#16392f;color:#f6faf3;border-bottom:1px solid #345849}
html.access-page .access-bar>div {max-width:1152px;margin:auto;min-height:68px;padding:12px clamp(18px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:18px}
html.access-page .access-brand {display:inline-flex;min-height:44px;align-items:center;text-decoration:none}

html.access-page .access-context {font:500 11px/1.4 Plex,monospace;color:#c9dcd0;letter-spacing:.06em}
html.access-page .access-back {font-size:.9rem;color:#f0f7ed;text-underline-offset:4px}
html.access-page .access-main {max-width:660px;margin:clamp(34px,9vh,100px) auto 44px;padding:0 clamp(16px,4vw,28px)}
html.access-page .access-card, html.access-page .review-panel {background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px -22px #102a1e75}
html.access-page .access-card {padding:clamp(23px,4vw,44px);border-top:4px solid #ea9b64}
html.access-page .access-kicker {margin:0 0 12px;color:var(--muted);font:500 11px/1.5 Plex,monospace;letter-spacing:.1em;text-transform:none}
html.access-page h1, html.access-page h2, html.access-page p {margin:0}
html.access-page h1 {font-size:clamp(1.85rem,4.6vw,2.7rem);line-height:1.08;letter-spacing:-.055em;font-weight:650;text-wrap:balance}
html.access-page h2 {font-size:1.25rem;letter-spacing:-.035em;line-height:1.25}
html.access-page .access-card p:not(.access-kicker), html.access-page .review-hero p, html.access-page .review-panel p {color:var(--muted);margin-top:12px}
html.access-page .access-actions, html.access-page .legacy-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:24px}
html.access-page .access-actions:empty, html.access-page p[role=status]:empty {display:none}
html.access-page button, html.access-page input, html.access-page select {font:inherit}
html.access-page .action {border:1px solid var(--line);background:var(--card);color:var(--ink);display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:8px;min-height:44px;border-radius:8px;padding:9px 16px;font-size:.91rem;font-weight:630;line-height:1.35;text-decoration:none;cursor:pointer}
html.access-page .action.primary {color:var(--on);background:var(--accent);border-color:var(--accent)}
html.access-page .action:disabled {opacity:.5;cursor:default}
html.access-page .action:hover:enabled, html.access-page a.action:hover {box-shadow:inset 0 0 0 1px currentColor}
html.access-page :focus-visible {outline:3px solid var(--focus);outline-offset:3px}
html.access-page .access-bar :focus-visible {outline-color:#ffd2a5}
html.access-page .access-support {margin-top:24px;border-top:1px solid var(--line);padding-top:18px}
html.access-page .access-support summary {font-weight:600;cursor:pointer;width:fit-content;min-height:35px}
html.access-page .code-line {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:var(--soft);padding:12px 14px;margin:12px 0 4px;border-radius:9px}
html.access-page code {overflow-wrap:anywhere;font:500 .85rem/1.55 Plex,monospace}
html.access-page .review-main {max-width:1100px;margin:clamp(24px,5vw,56px) auto;padding:0 clamp(16px,4vw,40px)}
html.access-page .review-hero {margin-bottom:24px}
html.access-page .review-hero>p:last-child {max-width:66ch}
html.access-page .review-panel {padding:clamp(18px,3vw,28px);margin-bottom:18px}
html.access-page .review-status, html.access-page .legacy-actions {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}
html.access-page .review-status>div {max-width:70ch}
html.access-page .review-status #status {margin-top:5px}
html.access-page .review-tools {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}
html.access-page .review-tools label {display:grid;gap:5px;color:var(--ink);font-weight:620;font-size:.88rem}
html.access-page .review-tools input, html.access-page .review-tools select {width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;color:var(--ink);background:var(--card)}
html.access-page .legacy-scroll {overflow:auto}
html.access-page .legacy-scroll table {border-collapse:collapse;width:100%;font-size:.91rem}
html.access-page .legacy-scroll th {background:var(--soft);font-size:.79rem;color:var(--muted)}
html.access-page .legacy-scroll :is(th,td) {border-bottom:1px solid var(--line);text-align:left;padding:12px 10px;overflow-wrap:anywhere}
html.access-page .legacy-scroll tr:has(input:checked) {background:var(--soft)}
html.access-page .legacy-scroll input[type=checkbox] {width:20px;height:20px;cursor:pointer;accent-color:#386b4b}
html.access-page .legacy-scroll td small {display:block;color:var(--muted);font-size:.77rem}
html.access-page .legacy-confirm {width:min(94vw,550px);max-height:85dvh;overflow:auto;padding:clamp(20px,4vw,34px);background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px}
html.access-page .legacy-confirm p {margin:12px 0;color:var(--muted)}
html.access-page .legacy-confirm ul {max-height:32vh;overflow:auto;background:var(--soft);border-radius:8px;padding:12px 12px 12px 34px}
html.access-page .legacy-confirm::backdrop {background:#10271fcc}
html.access-page #selected-count {font-size:.9rem;font-weight:600}
@media(max-width:610px) {
html.access-page .review-tools {grid-template-columns:1fr}
html.access-page .review-status {align-items:start}
html.access-page .legacy-scroll thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html.access-page .legacy-scroll table, html.access-page .legacy-scroll tbody {display:block}
html.access-page .legacy-scroll tr {display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px 9px;border-top:1px solid var(--line);padding:12px 2px}
html.access-page .legacy-scroll td {grid-column:2;border:0;padding:0}
html.access-page .legacy-scroll td:first-child {grid-column:1;grid-row:1 / span 3}
html.access-page .legacy-scroll td[colspan] {grid-column:1/-1}
html.access-page .legacy-scroll td:nth-child(2) {font-weight:640}
html.access-page .legacy-scroll td:nth-child(n+3) {font-size:.82rem;color:var(--muted)}
html.access-page .legacy-actions .primary {flex:1}
html.access-page .access-context {font-size:10px}
html.access-page .access-bar>div {min-height:58px}
html.access-page .access-main {margin-block:26px}
html.access-page .access-card {border-radius:13px}
}
/* Staff email and password sign-in. */
html.access-page .access-form {display:grid;gap:16px;margin-top:24px}
html.access-page .access-form label {display:grid;gap:6px;color:var(--ink);font-weight:620;font-size:.9rem}
html.access-page .access-form input {width:100%;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--ink);background:var(--card)}
html.access-page .access-form input:focus-visible {outline-offset:1px}
html.access-page .access-form small {color:var(--muted);font-weight:400;font-size:.8rem}
html.access-page .access-form .access-actions {margin-top:4px}
html.access-page .access-form .action.primary {min-width:9rem}
html.access-page p.access-error {color:#a3361d!important;font-weight:560}
@media (prefers-color-scheme:dark) {html.access-page p.access-error {color:#ffad8f!important}}
