:root {
  --ink: #1f2420;
  --ink-soft: #5f645f;
  --paper: #f4f1e8;
  --paper-bright: #fffdf7;
  --line: #d8d4c9;
  --yellow: #f5c800;
  --yellow-deep: #d9ad00;
  --green: #087a4b;
  --green-soft: #dcecdf;
  --orange: #b95c18;
  --orange-soft: #f5e4d8;
  --red: #9f2d25;
  --red-soft: #f5ddda;
  --shadow: 0 22px 60px rgba(31, 36, 32, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); font-family: "Avenir Next", "Gill Sans", sans-serif; }
body { margin: 0; min-height: 100vh; position: relative; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.page-noise { position: fixed; inset: 0; pointer-events: none; opacity: .18; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }

.topbar { min-height: 78px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(244, 241, 232, .88); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.brand strong { display: block; font-size: 21px; line-height: .9; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .17em; color: var(--ink-soft); }
.brand-logo { width: 42px; height: 42px; display: block; flex: 0 0 auto; object-fit: contain; }
.user-area { display: flex; align-items: center; gap: 16px; }
.user-area form { margin: 0; }
.user-name { font-size: 13px; font-weight: 700; }
.environment { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .11em; display: inline-flex; align-items: center; gap: 8px; }
.environment i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(8, 122, 75, .1); }

main { min-height: calc(100vh - 140px); }
.content-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 13px; font-size: 11px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--green); }
h1, h2 { font-family: "Iowan Old Style", Baskerville, Georgia, serif; letter-spacing: -.045em; font-weight: 500; }
h1 { margin: 0; font-size: clamp(58px, 8vw, 116px); line-height: .84; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 54px); line-height: .95; }
.lead { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 21px; line-height: 1.55; }

.button { border: 0; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 0 22px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button-primary { color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { box-shadow: 8px 8px 0 var(--ink); }
.button-secondary { background: var(--ink); color: white; }
.button-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button-small { min-height: 34px; padding: 0 13px; font-size: 9px; box-shadow: none; }
.button-wide { width: 100%; }

.hero { padding: clamp(70px, 9vw, 132px) max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 70px; position: relative; overflow: hidden; }
.hero::after { content: ""; width: min(42vw, 600px); height: min(42vw, 600px); position: absolute; right: -17vw; top: -24vw; border: 70px solid rgba(245, 200, 0, .45); border-radius: 50%; z-index: -1; }
.hero-copy { max-width: 390px; padding-bottom: 8px; }
.hero-copy > p { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.privacy-line { margin-top: 28px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; display: flex; align-items: center; gap: 9px; }
.privacy-line span { width: 30px; height: 2px; background: var(--green); }

.workbench { background: var(--paper-bright); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(32px, 5vw, 70px); display: grid; grid-template-columns: 70px 1fr 1.15fr; gap: clamp(25px, 4vw, 60px); align-items: start; position: relative; }
.workbench::before { content: ""; height: 7px; position: absolute; inset: 0 0 auto 0; background: linear-gradient(90deg, var(--yellow) 0 65%, var(--green) 65%); }
.workbench-index { font-family: "Iowan Old Style", serif; font-size: 44px; color: var(--line); }
.workbench-copy p:last-child { max-width: 340px; color: var(--ink-soft); line-height: 1.6; }
.upload-form { display: grid; gap: 18px; }
.field-label { display: grid; gap: 8px; }
.field-label > span, .form-stack label > span { font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .13em; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); min-height: 48px; padding: 0 14px; outline: none; transition: border-color .18s, box-shadow .18s; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8, 122, 75, .12); }
.drop-zone { min-height: 245px; border: 1.5px dashed #aaa69a; background: #f8f6ef; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; cursor: pointer; text-align: center; transition: border .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--green); background: #eef4ec; transform: translateY(-2px); }
.drop-zone.has-file { border-style: solid; border-color: var(--green); background: var(--green-soft); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone strong { font-family: "Iowan Old Style", serif; font-size: 24px; font-weight: 500; }
.drop-zone small { color: var(--ink-soft); }
.drop-zone .button { margin-top: 9px; pointer-events: none; }
.drop-icon { font-size: 32px; color: var(--green); }

.recent { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 42px; }
.count-stamp { font-family: "Iowan Old Style", serif; font-size: 42px; color: var(--line); }
.job-row { display: grid; grid-template-columns: 80px 1.4fr .55fr .45fr 30px; gap: 20px; align-items: center; min-height: 82px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .18s, background .18s; }
.job-row:hover { padding-inline: 14px; background: rgba(255, 253, 247, .7); }
.job-date { font-family: "Iowan Old Style", serif; font-size: 20px; }
.job-client { font-weight: 750; }
.job-meta { color: var(--ink-soft); font-size: 12px; }
.row-arrow { font-size: 22px; }
.empty-state { min-height: 190px; display: grid; place-items: center; align-content: center; color: var(--ink-soft); }
.empty-state span { font-family: serif; font-size: 48px; color: var(--line); }

.status { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; }
.status-ready { background: var(--green-soft); color: var(--green); }
.status-open { background: var(--orange-soft); color: var(--orange); }
.status-manual { background: #e5e4f3; color: #4f4a91; }
.alert { padding: 15px 18px; margin-bottom: 25px; font-weight: 650; }
.alert-error { color: var(--red); background: var(--red-soft); border-left: 4px solid var(--red); }

.review-head { padding-block: 75px 55px; display: flex; justify-content: space-between; align-items: end; }
.review-head h1 { font-size: clamp(56px, 7vw, 92px); }
.back-link { display: inline-block; margin-bottom: 55px; color: var(--ink-soft); text-decoration: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.review-score { display: grid; grid-template-columns: auto auto auto; align-items: baseline; max-width: 310px; padding-bottom: 10px; }
.review-score span { font-family: "Iowan Old Style", serif; }
.score-number { font-size: 92px; color: var(--green); line-height: .8; }
.score-divider { font-size: 34px; color: var(--line); }
.score-total { font-size: 38px; }
.review-score p { grid-column: 1 / -1; margin: 14px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.stats-strip { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip > div { padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 5px; }
.stats-strip > div:first-child { padding-left: 0; }
.stats-strip > div:last-child { border: 0; }
.stats-strip span { font-family: "Iowan Old Style", serif; font-size: 30px; }
.stats-strip small { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.stats-strip .attention span { color: var(--orange); }
.review-tools { padding: 75px 0 25px; display: flex; justify-content: space-between; align-items: end; }
.review-tools h2 { font-size: 44px; }
.filter-group { display: inline-flex; border: 1px solid var(--line); background: var(--paper-bright); }
.filter { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 11px 14px; cursor: pointer; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.filter:last-child { border: 0; }
.filter.active { background: var(--ink); color: white; }
.assignment-list { border-top: 2px solid var(--ink); }
.assignment-head, .assignment-row { display: grid; grid-template-columns: 100px minmax(190px, .8fr) minmax(330px, 1.35fr) minmax(160px, .55fr); gap: 24px; }
.assignment-head { padding: 13px 15px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.assignment-row { padding: 20px 15px; border-top: 1px solid var(--line); align-items: center; background: rgba(255, 253, 247, .45); }
.assignment-row.is-open { background: rgba(245, 228, 216, .45); box-shadow: inset 4px 0 0 var(--orange); }
.account-number { font-family: "Iowan Old Style", serif; font-size: 24px; }
.account-description { min-width: 0; }
.account-description strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.account-description small, .confidence { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.assignment-form { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; }
.assignment-form select { grid-column: 1 / -1; min-height: 43px; font-size: 12px; }
.remember-check { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 9px; }
.remember-check input { width: 15px; min-height: 15px; accent-color: var(--green); }
.export-bar { margin-block: 45px 100px; background: var(--ink); color: white; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: sticky; bottom: 15px; box-shadow: var(--shadow); }
.export-bar strong, .export-bar span { display: block; }
.export-bar strong { font-family: "Iowan Old Style", serif; font-size: 21px; }
.export-bar > div > span { margin-top: 5px; color: #b8bdb8; font-size: 11px; }
.export-bar form { flex: 0 0 auto; }

.login-body { background: var(--ink); color: white; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.25fr .75fr; }
.login-intro { padding: clamp(40px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.login-intro::after { content: ""; width: 520px; height: 520px; border: 80px solid rgba(245, 200, 0, .78); border-radius: 50%; position: absolute; right: -310px; bottom: -270px; }
.brand-login { position: absolute; top: 45px; left: clamp(40px, 7vw, 100px); color: white; }
.brand-login .brand-logo { width: 48px; height: 48px; }
.brand-login small { color: #abb0ab; }
.login-intro .eyebrow { color: var(--yellow); }
.login-intro h1 { font-size: clamp(64px, 8vw, 120px); }
.login-intro h1 em { color: var(--yellow); }
.login-intro .lead { max-width: 630px; color: #c9cdc9; }
.trust-note { margin-top: 50px; display: flex; gap: 17px; align-items: center; color: #d8dcd8; font-size: 12px; }
.trust-note span { color: #969c97; }
.trust-icon { color: var(--yellow) !important; font-size: 26px; }
.login-panel { background: var(--paper-bright); color: var(--ink); padding: clamp(38px, 6vw, 85px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.panel-number { position: absolute; top: 45px; right: 45px; font-family: "Iowan Old Style", serif; font-size: 50px; color: var(--line); }
.login-panel h2 { font-size: 62px; margin-bottom: 35px; }
.form-stack { display: grid; gap: 21px; }
.form-stack label { display: grid; gap: 8px; }
.form-stack label small { color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 500; }
.form-stack .button { margin-top: 8px; }
.login-footnote { margin: 25px 0 0; font-size: 10px; line-height: 1.5; color: var(--ink-soft); }
.error-page { padding-block: 120px; }
.error-page p:not(.eyebrow) { max-width: 600px; margin: 30px 0; line-height: 1.6; }
.site-footer { min-height: 62px; padding: 0 clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 950px) {
  .hero, .workbench, .login-shell { grid-template-columns: 1fr; }
  .hero { gap: 35px; }
  .workbench-index { display: none; }
  .assignment-head { display: none; }
  .assignment-row { grid-template-columns: 80px 1fr; }
  .assignment-form, .assignment-row > div:last-child { grid-column: 2; }
  .login-intro { min-height: 60vh; }
  .login-panel { min-height: 70vh; }
}

@media (max-width: 650px) {
  .content-width { width: min(100% - 28px, 1180px); }
  .topbar { padding-inline: 14px; }
  .environment, .user-name { display: none; }
  .hero { padding-inline: 18px; }
  h1 { font-size: 58px; }
  .workbench { padding: 28px 20px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div { border-bottom: 1px solid var(--line); }
  .review-head, .review-tools, .export-bar { align-items: flex-start; flex-direction: column; }
  .review-score { margin-top: 45px; }
  .filter-group { width: 100%; }
  .filter { flex: 1; }
  .assignment-row { grid-template-columns: 1fr; gap: 12px; }
  .assignment-form, .assignment-row > div:last-child { grid-column: 1; }
  .job-row { grid-template-columns: 55px 1fr auto; }
  .job-meta, .job-row .status { display: none; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

/* Geführter Arbeitsbereich: bewusst ruhig, groß und auf Prüfung optimiert. */
html { background: #f4f4f2; color: #212529; font-family: "News Cycle", "Avenir Next", Arial, sans-serif; font-size: 18px; }
body { background: #f4f4f2; }
.topbar { min-height: 72px; padding: 0 clamp(18px, 4vw, 56px); border-bottom: 3px solid #ffd700; background: #fff; backdrop-filter: none; }
.brand { gap: 12px; text-transform: none; letter-spacing: 0; }
.brand-logo { width: 42px; height: 42px; }
.brand strong { font-size: 19px; line-height: 1; letter-spacing: 0; }
.brand small { margin-top: 4px; font-size: 13px; letter-spacing: .03em; text-transform: none; }
.user-area { gap: 20px; }
.main-nav { display: flex; gap: 18px; }
.main-nav a { color: #484848; font-size: 16px; font-weight: 700; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-decoration-color: #ffd700; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.environment { font-size: 13px; letter-spacing: .05em; }
.user-name { font-size: 15px; }
.site-footer { min-height: 66px; padding: 0 clamp(18px, 4vw, 56px); border: 0; background: #ffd700; color: #484848; font-size: 14px; letter-spacing: .02em; text-transform: none; }
.site-footer a { color: inherit; }
.legal-page { max-width: 900px; padding-block: 72px 90px; }
.legal-page h1 { margin-bottom: 18px; }
.legal-page h2 { margin: 34px 0 8px; font-size: 22px; }
.legal-page p { line-height: 1.7; }
.content-width { width: min(1320px, calc(100% - 48px)); }
.eyebrow { margin-bottom: 8px; color: #1b6b38; font-size: 14px; letter-spacing: .1em; }
.lead { font-family: inherit; font-size: 21px; line-height: 1.5; }
.button { min-height: 46px; border-radius: 48px; padding: 8px 22px; font-size: 16px; letter-spacing: 0; text-transform: none; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: #ffd700; color: #484848; box-shadow: none; }
.button-primary:hover { background: #ebc600; box-shadow: none; }
.button-secondary { background: #484848; }
.button-outline { border: 2px solid #484848; background: transparent; color: #484848; }
.button-danger { border: 2px solid #9b2525; background: #9b2525; color: #fff; }
.button-quiet { border: 0; color: #62686c; }
.button-small { min-height: 38px; padding: 5px 14px; font-size: 14px; }
.status { min-height: 30px; padding: 4px 11px; border-radius: 20px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.status-ready { color: #1b6b38; background: #e8f8ee; }
.status-open { color: #a84f08; background: #fff1e6; }
.status-manual { color: #265f86; background: #e8f3fa; }
.status-neutral { color: #484848; background: #ededed; }
input, select { min-height: 50px; border-color: #8b8b8b; font-size: 17px; }
input:focus, select:focus { border-color: #484848; box-shadow: 0 0 0 4px rgba(255, 215, 0, .45); }

.workspace-hero { padding: 56px 0 38px; background: #484848; color: #fff; border-bottom: 7px solid #ffd700; }
.workspace-hero h1 { margin: 0 0 12px; color: #fff; font-family: inherit; font-size: clamp(42px, 5vw, 64px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.workspace-hero .lead { max-width: 850px; color: #eee; }
.workspace-hero .eyebrow { color: #ffd700; }
.workflow-steps { display: flex; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.workflow-steps li { flex: 0 1 250px; display: flex; align-items: center; gap: 10px; color: #e8e8e8; font-size: 16px; }
.workflow-steps li:not(:last-child)::after { content: ""; width: 45px; height: 1px; margin-inline: auto; background: #8d8d8d; }
.workflow-steps strong { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #ffd700; color: #484848; }
.evidence-banner { margin-block: 28px 0; padding: 22px 26px; border-left: 6px solid #1b6b38; background: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.evidence-banner strong, .evidence-banner span { display: block; }
.evidence-banner strong { color: #484848; font-size: 21px; }
.evidence-banner span { margin-top: 4px; color: #687078; font-size: 15px; }
.evidence-banner dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(105px, 1fr)); }
.evidence-banner dl > div { padding: 6px 20px; border-left: 1px solid #dedede; }
.evidence-banner dt { color: #484848; font-size: 28px; font-weight: 700; }
.evidence-banner dd { margin: 0; color: #687078; font-size: 13px; }
.evidence-banner .evidence-conflict dt { color: #a84f08; }
.danger-section { margin-block: 54px 80px; padding: 28px; border: 2px solid #d9a6a6; background: #fff8f8; display: grid; grid-template-columns: 1fr minmax(300px, .8fr); gap: 34px; }
.danger-section h2 { margin: 0 0 8px; font-size: 26px; }
.danger-section form { display: grid; gap: 16px; align-content: start; }
.upload-workflow { margin-block: 34px 64px; display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; border-top: 6px solid #ffd700; }
.upload-explanation { padding: clamp(28px, 4vw, 54px); background: #fafafa; border-right: 1px solid #dedede; }
.upload-explanation h2, .operations-panel h2, .all-review h2, .knowledge-section h2, .history-section h2 { margin: 0 0 10px; color: #484848; font-family: inherit; font-size: 34px; font-weight: 700; letter-spacing: -.015em; }
.upload-explanation > p:not(.eyebrow) { max-width: 500px; color: #62686c; line-height: 1.55; }
.step-badge { width: 46px; height: 46px; display: grid; place-items: center; float: right; background: #ffd700; color: #484848; font-weight: 700; }
.privacy-notice { margin-top: 28px; padding: 16px 18px; border-left: 4px solid #1b6b38; background: #e8f8ee; }
.privacy-notice strong, .privacy-notice span { display: block; }
.privacy-notice span { margin-top: 3px; color: #4e6355; font-size: 15px; }
.upload-workflow .upload-form { padding: clamp(28px, 4vw, 48px); grid-template-columns: 1fr 1fr; align-items: stretch; }
.upload-workflow .field-label { align-self: start; }
.field-label > span { color: #484848; font-size: 16px; letter-spacing: 0; text-transform: none; }
.field-label small { color: #687078; font-size: 14px; line-height: 1.4; }
.upload-workflow .drop-zone { min-height: 190px; grid-row: 1 / 3; grid-column: 2; border-color: #8a8a8a; background: #f8f8f6; }
.upload-workflow .drop-zone strong { font-family: inherit; font-size: 22px; font-weight: 700; }
.upload-workflow .button-wide { grid-column: 1 / -1; }
.operations-grid { margin-bottom: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.operations-panel { background: #fff; border-top: 5px solid #484848; }
.section-heading-simple { min-height: 115px; padding: 24px 26px; border-bottom: 1px solid #dedede; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.section-heading-simple h2 { margin-bottom: 0; }
.section-heading-simple > span { color: #c6c6c6; font-size: 38px; font-weight: 700; }
.section-heading-simple p:not(.eyebrow) { max-width: 760px; margin: 8px 0 0; color: #687078; line-height: 1.45; }
.client-row, .recent-job-row { min-height: 82px; padding: 16px 22px; border-bottom: 1px solid #dedede; display: grid; align-items: center; gap: 14px; color: #212529; text-decoration: none; }
.client-row { grid-template-columns: 44px 1fr auto; }
.recent-job-row { grid-template-columns: 1fr auto auto; }
.client-row:hover, .recent-job-row:hover { background: #fffbea; }
.client-row strong, .client-row small, .recent-job-row strong, .recent-job-row small { display: block; }
.client-row small, .recent-job-row small { margin-top: 3px; color: #687078; font-size: 14px; }
.client-initial { width: 42px; height: 42px; display: grid; place-items: center; background: #ffd700; font-weight: 700; }

.review-overview, .client-hero { padding: 34px 0 28px; background: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #687078; font-size: 15px; }
.breadcrumb a { color: #484848; }
.review-title-row, .client-title-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.review-title-row h1, .client-title-row h1 { margin: 0 0 8px; color: #484848; font-family: inherit; font-size: clamp(42px, 5vw, 62px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.review-title-row p:not(.eyebrow), .client-title-row p:not(.eyebrow) { margin: 0; color: #687078; }
.review-summary { display: grid; grid-template-columns: repeat(3, 105px); border: 1px solid #dedede; }
.review-summary > div { min-height: 86px; padding: 15px; border-right: 1px solid #dedede; display: grid; align-content: center; }
.review-summary > div:last-child { border: 0; }
.review-summary strong, .review-summary span { display: block; }
.review-summary strong { color: #484848; font-size: 27px; }
.review-summary span { color: #687078; font-size: 14px; }
.review-summary .needs-attention { box-shadow: inset 0 -5px #ffd700; }
.review-navigation-wrap { background: #fff; border-bottom: 1px solid #d9d9d9; }
.review-navigation { display: flex; }
.review-navigation a { min-height: 60px; padding: 11px 22px; border-bottom: 4px solid transparent; display: flex; align-items: center; gap: 9px; color: #687078; font-weight: 700; text-decoration: none; }
.review-navigation a > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #ededed; font-size: 14px; }
.review-navigation a > strong { min-width: 26px; padding: 1px 8px; border-radius: 20px; background: #ededed; color: #484848; font-size: 13px; text-align: center; }
.review-navigation a.active { border-color: #ffd700; color: #212529; }
.review-navigation a.active > span { background: #ffd700; color: #484848; }
.guided-shell { margin-block: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.guided-main { background: #fff; border-left: 6px solid #ffd700; }
.guided-progress { padding: 22px 28px; border-bottom: 1px solid #dedede; display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 24px; }
.guided-progress strong, .guided-progress span { display: block; }
.guided-progress span { color: #687078; font-size: 15px; }
.progress-track { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 10px; background: #e5e5e5; appearance: none; }
.progress-track::-webkit-progress-bar { border-radius: 10px; background: #e5e5e5; }
.progress-track::-webkit-progress-value { border-radius: 10px; background: #ffd700; }
.progress-track::-moz-progress-bar { border-radius: 10px; background: #ffd700; }
.decision-card { padding: clamp(30px, 5vw, 62px); }
.decision-meta { display: flex; align-items: center; gap: 12px; }
.account-pill { color: #484848; font-size: 22px; font-weight: 700; }
.decision-card h2 { max-width: 900px; margin: 24px 0 8px; color: #484848; font-family: inherit; font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.decision-value { color: #687078; font-size: 24px; }
.reason-box { margin: 28px 0; padding: 17px 20px; border-left: 4px solid #1b6b38; background: #e8f8ee; }
.reason-box strong, .reason-box span { display: block; }
.reason-box span { margin-top: 4px; color: #4e6355; }
.guided-form { display: grid; gap: 20px; }
.guided-form select { min-height: 58px; font-size: 18px; }
.remember-choice { padding: 16px; border: 1px solid #dedede; display: flex; align-items: start; gap: 12px; cursor: pointer; }
.remember-choice input { width: 19px; min-height: 19px; accent-color: #1b6b38; }
.remember-choice strong, .remember-choice small { display: block; }
.remember-choice small { margin-top: 3px; color: #687078; font-size: 14px; }
.guided-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-queue { align-self: start; background: #fff; border-top: 5px solid #484848; }
.queue-heading { padding: 22px; border-bottom: 1px solid #dedede; }
.queue-heading h3 { margin: 0; color: #484848; font-size: 28px; }
.queue-link { min-height: 72px; padding: 13px 17px; border-bottom: 1px solid #dedede; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; color: #212529; text-decoration: none; }
.queue-link:hover { background: #fffbea; }
.queue-link.active { background: #fff8c6; box-shadow: inset 6px 0 #ffd700; }
.queue-link strong, .queue-link small { display: block; }
.queue-link small { max-width: 230px; overflow: hidden; color: #687078; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.queue-link > span:last-child { color: #a84f08; font-size: 14px; font-weight: 700; }
.queue-safe { padding: 20px; background: #f7f7f5; }
.queue-safe strong, .queue-safe span, .queue-safe a { display: block; }
.queue-safe span { margin: 4px 0 10px; color: #687078; font-size: 14px; }
.queue-safe a { color: #484848; font-weight: 700; }
.guided-complete { grid-column: 1 / -1; padding: 46px; border-left: 6px solid #1b6b38; background: #fff; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 28px; }
.complete-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #e8f8ee; color: #1b6b38; font-size: 30px; font-weight: 700; }
.guided-complete h2 { margin: 0 0 8px; color: #484848; font-family: inherit; font-size: 38px; font-weight: 700; }
.guided-complete p:not(.eyebrow) { margin: 0; color: #687078; }
.all-review { margin-block: 32px; }
.all-review-head { padding: 26px; border-top: 5px solid #ffd700; background: #fff; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.all-review-head p:not(.eyebrow) { margin: 0; color: #687078; }
.filter-group { display: flex; }
.filter { min-height: 44px; padding: 8px 14px; border: 1px solid #cfcfcf; border-right: 0; background: #fff; color: #484848; font-size: 15px; cursor: pointer; }
.filter:last-child { border-right: 1px solid #cfcfcf; }
.filter.active { background: #484848; color: #fff; }
.review-table { border: 1px solid #dedede; background: #fff; }
.review-table-head, .review-table-row { display: grid; grid-template-columns: minmax(260px, 1.2fr) 150px minmax(330px, 1fr) 150px; align-items: center; gap: 18px; }
.review-table-head { padding: 12px 18px; background: #484848; color: #fff; font-size: 14px; font-weight: 700; }
.review-table-row { min-height: 106px; padding: 15px 18px; border-bottom: 1px solid #dedede; }
.review-table-row:hover { background: #fffceb; }
.review-table-row.attention-row { box-shadow: inset 5px 0 #ffd700; }
.review-table-row > div:first-child strong, .review-table-row > div:first-child small { display: block; }
.review-table-row > div:first-child small { margin-top: 4px; color: #687078; font-size: 14px; }
.inline-assignment-form { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.inline-assignment-form select { grid-column: 1 / -1; min-height: 44px; font-size: 15px; }
.inline-assignment-form label { font-size: 14px; }
.inline-assignment-form label input { width: 16px; min-height: 16px; }
.export-panel { margin-block: 28px 90px; padding: 24px 28px; background: #484848; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.export-panel .eyebrow { color: #ffd700; }
.export-panel strong, .export-panel span { display: block; }
.export-panel strong { font-size: 22px; }
.export-panel > div > span { color: #e0e0e0; font-size: 15px; }

.client-hero { border-bottom: 6px solid #ffd700; }
.client-stats { margin-block: 28px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid #dedede; }
.client-stats > div { min-height: 100px; padding: 20px 26px; border-right: 1px solid #dedede; display: grid; align-content: center; }
.client-stats > div:last-child { border: 0; }
.client-stats strong, .client-stats span { display: block; }
.client-stats strong { color: #484848; font-size: 28px; }
.client-stats span { color: #687078; font-size: 15px; }
.knowledge-section, .history-section { margin-block: 28px 60px; background: #fff; }
.knowledge-table, .history-list { border-top: 1px solid #dedede; }
.knowledge-head, .knowledge-row { display: grid; grid-template-columns: 100px 1fr 1.3fr 110px; gap: 20px; align-items: center; }
.knowledge-head { padding: 12px 22px; background: #484848; color: #fff; font-size: 14px; font-weight: 700; }
.knowledge-row { min-height: 72px; padding: 14px 22px; border-bottom: 1px solid #dedede; }
.knowledge-row small { color: #687078; }
.history-row { min-height: 78px; padding: 14px 22px; border-bottom: 1px solid #dedede; display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 20px; }
.history-row strong, .history-row small { display: block; }
.history-row small { margin-top: 3px; color: #687078; font-size: 14px; }
.history-date { color: #484848; font-weight: 700; }

@media (max-width: 1000px) {
  .main-nav, .environment { display: none; }
  .upload-workflow, .operations-grid, .guided-shell { grid-template-columns: 1fr; }
  .evidence-banner { grid-template-columns: 1fr; }
  .evidence-banner dl > div:first-child { border-left: 0; }
  .upload-explanation { border-right: 0; border-bottom: 1px solid #dedede; }
  .guided-progress { grid-template-columns: 1fr; }
  .review-queue { grid-row: 1; }
  .review-table-head { display: none; }
  .review-table-row { grid-template-columns: 1fr 140px; }
  .inline-assignment-form { grid-column: 1 / -1; }
  .guided-complete { grid-template-columns: 60px 1fr; }
  .guided-complete .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  html { font-size: 16px; }
  .content-width { width: min(100% - 24px, 1320px); }
  .workflow-steps { display: grid; gap: 12px; }
  .evidence-banner dl { grid-template-columns: 1fr; }
  .evidence-banner dl > div { border-left: 0; border-top: 1px solid #dedede; }
  .workflow-steps li::after { display: none; }
  .upload-workflow .upload-form { grid-template-columns: 1fr; }
  .upload-workflow .drop-zone, .upload-workflow .button-wide { grid-column: 1; grid-row: auto; }
  .review-title-row, .client-title-row, .all-review-head, .guided-actions, .export-panel { align-items: stretch; flex-direction: column; }
  .review-summary { margin-top: 24px; grid-template-columns: repeat(3, 1fr); }
  .review-navigation { overflow-x: auto; }
  .review-navigation a { flex: 0 0 auto; padding-inline: 14px; }
  .decision-card { padding: 28px 20px; }
  .guided-actions .button { width: 100%; }
  .review-table-row { grid-template-columns: 1fr; }
  .client-stats { grid-template-columns: 1fr; }
  .danger-section { grid-template-columns: 1fr; }
  .client-stats > div { border-right: 0; border-bottom: 1px solid #dedede; }
  .knowledge-head { display: none; }
  .knowledge-row, .history-row { grid-template-columns: 1fr; gap: 5px; padding-block: 18px; }
  .site-footer { gap: 3px; }
}
