/* Website presentation only. Downloaded report styles and report markup are unchanged. */
:root {
  color-scheme: light dark;
  --paper: light-dark(#f7f3eb, #232721);
  --surface: light-dark(#fffdf8, #2c322b);
  --linen: light-dark(#e5e9db, #3c4736);
  --ink: light-dark(#243b33, #edf0e7);
  --muted: light-dark(#626960, #c0c7b9);
  --line: light-dark(#dcded2, #4b5547);
  --accent: light-dark(#9e4b33, #e3aa8f);
  --action: var(--accent);
  --clay: var(--accent);
  --on-action: light-dark(#fffaf1, #26291f);
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.preview { background: var(--linen); border-color: var(--line); font-size: 11px; }
.cbl-top { margin: 0; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 5%; border-bottom: 1px solid var(--line); }
.cbl-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.cbl-brand-mark { width: 32px; height: 42px; display: grid; place-items: center; color: var(--accent); border: 2px solid currentColor; border-radius: 18px 18px 1px 1px; flex-shrink: 0; }
.cbl-brand-mark > span { display: block; background: var(--paper); color: var(--ink); font-family: Georgia, serif; font-size: 27px; line-height: 1; transform: translate(8px,4px); padding: 0 2px; }
.cbl-wordmark { font-family: Georgia, serif; font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.cbl-wordmark small { display: block; margin-bottom: 5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 9px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.cbl-top nav { display: flex; align-items: center; gap: 14px; }
.cbl-nav-link { display: inline-block; text-decoration: none; font-size: 12px; padding: 11px 5px; }
.cbl-nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.cbl-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 14px 22px; background: var(--action); color: var(--on-action); border-radius: 5px; font-size: 13px; font-weight: 500; text-decoration: none; }
.cbl-button:hover { filter: brightness(1.08); }
.cbl-footer { margin: 0; padding: 27px 6%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; border-color: var(--line); }
.cbl-footer p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.cbl-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.cbl-footer .cbl-wordmark { font-size: 22px; }
.cbl-footer .cbl-brand span { margin-left: 0; width: auto; }
.cbl-footer .cbl-brand .cbl-brand-mark { width: 32px; }
#intake { max-width: 1280px; margin: auto; gap: 7%; grid-template-columns: 1fr 1fr; padding-block: 66px; }
#intake h1, #processing h1, #problem h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(39px,4.8vw,58px); line-height: 1.08; font-weight: 400; letter-spacing: -.045em; overflow-wrap: normal; }
#intake h1 em { font: inherit; }
#intake h2, #processing h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
#intake .lede { font-size: 16px; }
.eyebrow { font-weight: 500; color: var(--accent); }
.intake-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
input, textarea { background: var(--surface); border-radius: 5px; }
label { font-weight: 500; }
button:not(.text-button), .save-report { border-radius: 5px; background: var(--action); color: var(--on-action); font-weight: 500; }
button:not(.text-button):hover, .save-report:hover { background: var(--action); filter: brightness(1.08); }
.text-button { font-weight: 500; }
.paper { background: var(--paper); }
#email-gate, #delivery-status { border-radius: 5px; }
#source-text { background: var(--surface); color: var(--ink); }
.step-label, .step-skipped .step-label { color: var(--muted); }
.step-active .step-label, .step-waiting .step-label { font-weight: 500; }
.error, .step-stopped .step-label, .step-stopped .step-note { color: light-dark(#923820,#f3b19c); }
#problem .problem-block h2 { font-family: inherit; font-weight: 500; }
@media(max-width:760px) {
  .cbl-top { flex-wrap: wrap; gap: 14px; padding: 16px 5%; }
  .cbl-top nav { flex-wrap: wrap; gap: 13px; }
  .cbl-top nav .cbl-button { display: none; }
}
@media(max-width:650px) {
  #intake { grid-template-columns: 1fr; gap: 28px; padding-block: 39px; }
  .cbl-top { justify-content: center; }
  .cbl-top nav { justify-content: center; }
  .cbl-footer { flex-direction: column; align-items: flex-start; }
  #processing h1, #problem h1 { font-size: 36px; }
}
@media print {
  body > .cbl-top, body > .cbl-footer { display: none !important; }
}
