:root { font-family: Inter, Segoe UI, system-ui, sans-serif; color: #172630; background: #f3f6f5; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 1060px; margin: 0 auto; padding: 48px 24px 72px; }
header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
.eyebrow { margin: 0 0 8px; color: #278075; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 10px; letter-spacing: -.04em; }
h2 { font-size: 21px; margin: 0 0 8px; }
p { line-height: 1.5; }
.intro { max-width: 580px; color: #5e6d75; margin: 0; }
.status { flex: none; border: 1px solid #b9ded4; background: #e9f7f0; color: #176851; border-radius: 99px; padding: 8px 13px; font-size: 13px; font-weight: 700; }
.panel, .card { background: white; border: 1px solid #dce5e4; border-radius: 18px; box-shadow: 0 8px 30px #143a3408; }
.upload-panel { padding: 27px; margin-bottom: 42px; }
.upload-panel p { color: #617178; margin: 0 0 18px; }
form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
input[type=file] { flex: 1; min-width: 250px; border: 1px dashed #a9c4bd; border-radius: 11px; padding: 12px; background: #f8fbfa; }
button { border: 0; background: #167968; color: white; border-radius: 10px; padding: 13px 17px; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #0d5e50; }
button.delete { background: #f6e7e5; color: #9d3c38; padding: 8px 12px; font-size: 13px; }
button.delete:hover { background: #f0d2ce; }
#message { margin: 12px 0 0; min-height: 20px; color: #176851; }
#message.error { color: #aa3530; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 17px; }
.section-heading span { color: #75848a; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 18px; }
.card { overflow: hidden; }
.card img { display: block; width: 100%; height: 175px; object-fit: contain; background: #e9efed; }
.card-body { padding: 18px; }
.card-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.card-title strong { overflow-wrap: anywhere; }
.meta { color: #65747b; font-size: 13px; margin: 10px 0; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; font-size: 13px; }
.metrics span { background: #f2f7f5; border-radius: 7px; padding: 8px; }
.hints { color: #9a5a13; font-size: 13px; margin: 12px 0 0; }
.empty { padding: 28px; color: #718087; background: white; border: 1px dashed #c5d4d0; border-radius: 12px; }
.footnote { color: #78888c; font-size: 13px; margin-top: 36px; }
@media (max-width: 650px) { header { display: block; } .status { display: inline-block; margin-top: 18px; } }
.top-nav { display: flex; align-items: center; gap: 12px; }
.top-nav a { color: #176851; font-weight: 700; text-decoration: none; }
.form-panel { padding: 26px; margin-bottom: 26px; }
.form-panel code { background: #edf3f1; padding: 2px 5px; border-radius: 4px; }
input:not([type=file]):not([type=checkbox]), select { border: 1px solid #c6d6d2; border-radius: 9px; padding: 12px; font: inherit; min-width: 0; }
textarea { border: 1px solid #c6d6d2; border-radius: 9px; padding: 12px; font: inherit; min-width: 0; resize: vertical; }
.request-form { align-items: end; }
.request-form label { display: grid; gap: 7px; color: #51636a; font-size: 13px; font-weight: 700; }
.request-form > label:first-child { flex: 2; min-width: 220px; }
.request-form > label:nth-child(2) { width: 145px; }
.request-form > label:nth-child(3) { width: 200px; }
.request-form > label:nth-child(6) { width: 125px; }
.request-form .field-group { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }
.request-form .field-group label { flex: 1; min-width: 190px; }
.request-form .checkbox { display: flex; align-items: center; width: 165px; padding-bottom: 12px; }
.secondary { background: #e7f0ed; color: #176851; }
.secondary:hover { background: #d4e7e0; }
.button-link { display: inline-block; background: #167968; color: white; text-decoration: none; border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.button-link:hover { background: #0d5e50; }
.link-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; background: #eff9f3; border: 1px solid #c9e9d8; padding: 13px; border-radius: 10px; }
.link-input { width: 100%; background: #f8fbfa; font-size: 12px !important; }
.request-list { display: grid; gap: 14px; margin-bottom: 30px; }
.request-card { padding: 20px; }
.request-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.request-head h3 { margin: 0; font-size: 19px; }
.request-card .meta { margin: 5px 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 13px; }
.actions button { font-size: 14px; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; text-transform: capitalize; background: #e9eeed; color: #586a70; }
.pill.pass, .pill.submitted { background: #def3e7; color: #176e43; }
.pill.review, .pill.in_progress { background: #fff1d6; color: #8b5a08; }
.pill.unavailable, .pill.revoked, .pill.expired { background: #f7e7e7; color: #92504c; }
.pill.fail, .pill.no_pass { background: #f7e7e7; color: #92504c; }
.pill.inconclusive, .pill.verifying { background: #fff1d6; color: #8b5a08; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 16px 0 22px; }
.highlight-card { display: grid; gap: 7px; padding: 14px; border: 1px solid #d7e5e0; border-radius: 10px; background: #f8fbfa; overflow-wrap: anywhere; }
.report-panel { padding: 24px; }
.report-summary { padding: 15px; border-radius: 10px; background: #eef5f2; font-weight: 700; }
.capture-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.capture-thumb { width: 180px; display: grid; gap: 6px; font-size: 13px; text-transform: capitalize; }
.capture-thumb img { width: 180px; height: 120px; object-fit: contain; background: #edf2f0; border-radius: 8px; }
.check-list { display: grid; gap: 8px; }
.check-row { border: 1px solid #dfe7e5; border-radius: 9px; padding: 10px 14px; }
.check-row summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; text-transform: capitalize; }
.check-row pre { overflow: auto; font-size: 12px; background: #f3f7f5; padding: 10px; border-radius: 8px; }
.customer-shell { max-width: 800px; }
.capture-steps { display: grid; gap: 18px; margin-bottom: 24px; }
.capture-step { padding: 22px; }
.camera-preview { min-height: 170px; background: #e8efec; border-radius: 9px; display: grid; place-items: center; overflow: hidden; }
.camera-preview video, .camera-preview img { width: 100%; max-height: 380px; object-fit: contain; }
.submit-panel { margin-top: 18px; }
#admin-message, #customer-message { min-height: 20px; color: #176851; }
#admin-message.error, #customer-message.error { color: #aa3530; }
button:disabled { opacity: .48; cursor: not-allowed; }
[hidden] { display: none !important; }
.review-shell { max-width: 1180px; }
.review-form { display: block; }
.review-card { padding: 20px; margin-bottom: 18px; }
.review-image-stage { display: grid; place-items: center; width: 100%; height: min(80vh, 850px); overflow: hidden; background: #edf2f0; border-radius: 10px; }
.review-image-stage a { display: grid; place-items: center; width: 100%; height: 100%; }
.review-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.review-card > button { margin-top: 10px; }
.review-card > label { display: grid; gap: 6px; max-width: 320px; margin: 12px 0; }
.review-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.review-fields label { display: grid; gap: 5px; color: #51636a; font-size: 13px; }
.review-card > label.review-note { max-width: none; }
.flow-options { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; border: 1px solid #c6d6d2; border-radius: 10px; padding: 12px; }
.flow-options legend { color: #51636a; font-size: 13px; font-weight: 700; }
.flow-options .checkbox { width: auto; padding: 0; }
.live-progress { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.live-progress li { border-radius: 9px; padding: 9px 12px; background: #e9eeed; color: #586a70; }
.live-progress li.complete { background: #def3e7; color: #176e43; }
.live-timer { font-variant-numeric: tabular-nums; }
.live-guidance { min-height: 24px; color: #176851; font-weight: 700; }
.declaration-phrases { padding: 12px 18px; background: #eff9f3; border-radius: 10px; }
.recording-list { margin: 22px 0; }
.recording-card { display: grid; gap: 10px; max-width: 560px; margin-bottom: 16px; border: 1px solid #d7e5e0; border-radius: 10px; padding: 14px; }
.recording-card video { width: 100%; max-height: 340px; background: #172630; border-radius: 8px; }
.recording-card .button-link { justify-self: start; }
.recording-card .meta { overflow-wrap: anywhere; }
