:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #172536; background: #eef2f6; font-size: 18px; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 4px solid #b34b00; outline-offset: 3px; }
.warning { padding: 1rem clamp(1rem, 4vw, 2rem); color: #241800; background: #ffe08a; border-bottom: 5px solid #805000; }
.warning-title { font-size: 1.2rem; font-weight: 800; letter-spacing: .035em; }
.warning p { margin: .25rem 0 0; font-weight: 600; }
main { width: min(100% - 2rem, 76rem); margin: 1.5rem auto 3rem; }
.page-header { margin-bottom: 1.2rem; }
.eyebrow { margin: 0 0 .25rem; color: #344c62; font-size: .79rem; font-weight: 800; letter-spacing: .09em; }
h1, h2, h3 { color: #10263d; line-height: 1.2; }
h1 { margin: .15rem 0 .5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { margin: .15rem 0 .7rem; font-size: 1.5rem; }
h3 { margin: .1rem 0 .7rem; font-size: 1.12rem; }
p { margin-top: .35rem; }
.intro { max-width: 58rem; margin-bottom: 1rem; }
.notice { margin: 1rem 0; padding: .9rem 1.1rem; background: #fff3c8; border: 2px solid #795400; border-left-width: 8px; border-radius: .35rem; }
.notice h2 { font-size: 1.2rem; margin: 0 0 .3rem; }
.notice p { margin: .2rem 0; }
.notice.compact { margin-bottom: 1rem; }
.view-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.3rem 0 0; border-bottom: 3px solid #1b3955; }
.view-tab { min-height: 3rem; padding: .65rem .9rem; color: #17334e; background: #dce6ef; border: 2px solid #1b3955; border-bottom: 0; border-radius: .45rem .45rem 0 0; font-weight: 800; }
.view-tab.active { color: #fff; background: #173e63; }
.queue-count { display: inline-block; min-width: 1.4em; margin-left: .2rem; padding: 0 .2rem; text-align: center; color: #172536; background: #fff; border-radius: 1rem; }
.view { padding-top: 1rem; }
.view[hidden] { display: none; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card { padding: 1.15rem; background: #fff; border: 2px solid #435a70; border-radius: .5rem; box-shadow: 0 2px 5px rgb(16 38 61 / 8%); }
.question { padding: .8rem; color: #132b43; background: #eaf1f7; border-left: 5px solid #173e63; font-weight: 700; }
.muted, .help { color: #3d5062; font-size: .92rem; }
label { display: block; margin: .75rem 0 .35rem; color: #182d42; font-weight: 800; }
textarea { display: block; width: 100%; min-height: 8rem; padding: .75rem; color: #172536; background: #fff; border: 2px solid #374f67; border-radius: .35rem; resize: vertical; }
.button-row, .section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; }
.button-row { justify-content: flex-start; margin-top: .8rem; }
.button-row button, .section-heading button, .decision-row button { min-height: 2.7rem; padding: .55rem .9rem; border: 2px solid #153a5b; border-radius: .4rem; font-weight: 800; }
.primary, .decision-row .release-button { color: #fff; background: #173e63; }
.quiet, .decision-row .hold-button { color: #173e63; background: #fff; }
.sample-card { margin-top: 1rem; }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .8rem; }
.sample { padding: .8rem; background: #edf3f8; border: 1px solid #8192a2; border-radius: .35rem; }
.sample strong, .sample span { display: block; }
.sample span { margin-top: .25rem; color: #30465a; font-size: .92rem; }
.queue-summary { padding: .45rem .7rem; background: #eef3f7; border: 1px solid #73879a; border-radius: .35rem; font-weight: 700; }
.review-layout { display: grid; grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.7fr); gap: 1rem; align-items: start; }
.queue-panel { position: sticky; top: .75rem; }
.queue-list { display: grid; gap: .55rem; }
.queue-item { width: 100%; padding: .7rem; text-align: left; color: #172536; background: #f2f6fa; border: 2px solid #73879a; border-radius: .35rem; }
.queue-item.selected { border: 3px solid #173e63; background: #e3edf6; }
.queue-item strong, .queue-item span { display: block; }
.queue-item span { margin-top: .15rem; font-size: .87rem; }
.queue-item .item-status { font-weight: 800; color: #243f58; }
.review-panel { min-height: 25rem; }
.review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.raw-panel, .evidence-panel, .payload-card { padding: .8rem; background: #f5f7f9; border: 1px solid #718397; border-radius: .35rem; }
.raw-panel { border-left: 6px solid #7c3232; }
.evidence-panel { border-left: 6px solid #286041; }
.raw-panel h3, .evidence-panel h3 { font-size: 1rem; }
.raw-text { min-height: 6rem; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; }
.finding-list { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
.finding-list li { padding: .25rem .5rem; color: #422600; background: #ffe4ab; border: 1px solid #8a5b00; border-radius: 1rem; font-size: .86rem; font-weight: 700; }
.clean-note { padding: .55rem .7rem; color: #1e492f; background: #e3f3e9; border: 1px solid #397650; border-radius: .3rem; font-weight: 700; }
.decision-box { margin-top: .9rem; padding: .85rem; background: #f4f7fa; border: 2px solid #526b83; border-radius: .35rem; }
.decision-box label { display: flex; gap: .55rem; align-items: flex-start; margin: 0; font-size: .95rem; }
.decision-box input { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin-top: .25rem; }
.decision-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.status-line { min-height: 1.5rem; margin: .7rem 0 0; color: #1e492f; font-weight: 800; }
.status-line.error { color: #8a2018; }
.release-ledger { display: grid; gap: .8rem; }
.payload-card h3 { margin-bottom: .4rem; }
.payload-card pre { margin: 0; padding: .8rem; color: #edf5fc; background: #14283b; border-radius: .3rem; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
.payload-note { color: #34495d; font-size: .9rem; }
.page-footer { margin: 1.5rem 0 .4rem; padding: .8rem; color: #243d54; background: #e0e8ef; border: 1px solid #687f94; border-radius: .35rem; text-align: center; font-size: .8rem; font-weight: 800; }
.app-status { min-height: 1.4rem; margin: .3rem 0; color: #214b31; font-weight: 700; }
@media (max-width: 800px) { .two-column, .sample-grid { grid-template-columns: 1fr; } .review-layout { grid-template-columns: 1fr; } .queue-panel { position: static; } }
@media (max-width: 600px) { .review-columns { grid-template-columns: 1fr; } .view-tab { flex: 1 1 100%; text-align: left; border-bottom: 2px solid #1b3955; border-radius: .35rem; } .view-tabs { border: 0; } }
