:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #123047;
  background: #f5f8f8;
  --ink: #123047;
  --muted: #526a75;
  --quiet: #71838a;
  --line: #dbe7e7;
  --teal: #1d807b;
  --teal-dark: #12604d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 1180px; margin: auto; padding: 42px 24px; }
header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.brand-lockup { display: flex; align-items: flex-start; gap: 16px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 54px; width: 54px; min-width: 54px; max-width: 54px; height: 54px; min-height: 54px; max-height: 54px; overflow: hidden; border-radius: 14px; background: var(--ink); color: #dff4ed; }
.brand-mark svg { display: block; width: 34px; height: 34px; max-width: 34px; max-height: 34px; }
.eyebrow { color: var(--teal); font-size: 12px; letter-spacing: .12em; font-weight: 800; margin: 0 0 10px; }
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1; margin: 0 0 14px; letter-spacing: -.04em; text-wrap: balance; }
.sub { color: var(--muted); font-size: 17px; margin: 0; max-width: 620px; line-height: 1.45; }
.badge { background: #dff4ed; color: var(--teal-dark); padding: 9px 13px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.toolbar { display: flex; align-items: end; gap: 12px; background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; }
.toolbar div { margin-right: auto; }
label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
select, button, .download-all, input { font: inherit; border: 1px solid #bfd0d2; border-radius: 7px; padding: 10px 13px; background: #fff; color: var(--ink); }
button { cursor: pointer; font-weight: 700; }
button:hover:not(:disabled), .download-all:hover { border-color: var(--teal); }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #8bd5c0; outline-offset: 2px; }
.download-all { color: var(--teal); font-weight: 700; text-decoration: none; white-space: nowrap; }
.download-all.disabled { color: #84979b; opacity: .65; pointer-events: none; cursor: not-allowed; }
.primary { background: var(--teal); color: white; border-color: var(--teal); }
.primary:hover:not(:disabled) { background: var(--teal-dark); }
.primary:disabled { background: #8ca7a8; border-color: #8ca7a8; color: #f3f7f7; cursor: wait; }
.demo-note { background: #eaf7f3; color: var(--teal-dark); border-radius: 7px; padding: 10px 13px; margin: 0 0 18px; font-size: 13px; font-weight: 700; }
.activity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #eef6f5; border: 1px solid #d4e5e3; border-radius: 10px; padding: 14px 16px; margin: -10px 0 18px; }
.activity-item { display: flex; flex-direction: column; gap: 4px; }
.activity-item span { color: var(--muted); font-size: 12px; }
.activity-item strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.activity-note { grid-column: 1 / -1; color: var(--quiet); font-size: 11px; margin: 2px 0 0; }
.generation-state { color: #805b00; background: #fff6dd; border: 1px solid #ead7a4; border-radius: 7px; padding: 10px 13px; margin: 0 0 18px; font-size: 13px; font-weight: 700; }
.assistant-panel { display: flex; align-items: center; gap: 14px; padding: 17px 18px; margin: 0 0 18px; background: #123047; color: #fff; border-radius: 12px; }
.assistant-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 9px; background: #dff4ed; color: var(--teal-dark); font-size: 21px; }
.assistant-copy { flex: 1; min-width: 0; }
.assistant-copy .eyebrow { color: #8bd5c0; margin-bottom: 4px; }
.assistant-copy h2 { margin: 0 0 4px; font-size: 16px; }
.assistant-copy p:last-child { color: #d3e1e2; margin: 0; font-size: 13px; line-height: 1.4; }
.assistant-link { color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; text-decoration: none; border-bottom: 1px solid #8bd5c0; padding-bottom: 2px; }
.settings { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; margin-bottom: 18px; }
.settings summary { cursor: pointer; font-weight: 800; color: var(--teal); }
.settings form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.settings label { font-size: 11px; }
.settings input { display: block; width: 100%; margin-top: 5px; }
.settings button { grid-column: 1 / -1; justify-self: start; }
.message { min-height: 25px; color: var(--muted); margin: 12px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; }
h2 { font-size: 24px; margin: 0 0 12px; }
.section-heading span { color: var(--muted); font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card-top { display: flex; justify-content: space-between; gap: 8px; }
.card h3 { margin: 0; font-size: 19px; }
.status { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-dark); }
.status.review { color: #9a3412; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.metric small { display: block; color: var(--quiet); font-size: 11px; }
.metric strong { font-size: 18px; }
.actions { display: flex; gap: 8px; margin-top: 18px; }
.actions a, .download-link { font-size: 13px; color: var(--teal); font-weight: 700; text-decoration: none; }
.download-link.disabled { color: #84979b; opacity: .65; pointer-events: none; cursor: not-allowed; font-weight: 600; }
footer { margin-top: 40px; color: var(--quiet); font-size: 12px; line-height: 1.5; }
@media (max-width: 680px) {
  header, .toolbar { display: block; }
  .brand-lockup { gap: 12px; }
  .brand-mark { flex-basis: 44px; width: 44px; min-width: 44px; max-width: 44px; height: 44px; min-height: 44px; max-height: 44px; }
  .brand-mark svg { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
  .badge { display: inline-block; margin-top: 18px; }
  .toolbar button, .toolbar select, .toolbar .download-all { width: 100%; margin-top: 10px; display: block; text-align: center; }
  .settings form { display: block; }
  .settings label { margin-top: 10px; }
  .activity { grid-template-columns: 1fr; }
  .activity-note { grid-column: auto; }
  .assistant-panel { align-items: flex-start; flex-wrap: wrap; }
  .assistant-link { margin-left: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
