
:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dce3ea;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --navy: #111827;
  --teal: #0f766e;
  --violet: #6d5df6;
  --coral: #c75b43;
  --gold: #a97827;
  --shadow: 0 22px 70px rgba(17, 24, 39, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: #f4f7fb;
}
a, button, input, select { font: inherit; }
button { cursor: pointer; }
.app { min-height: 100vh; }
.top-strip {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner, .hero, main, .footer-inner { max-width: 1240px; margin: 0 auto; }
.top-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 clamp(16px,4vw,38px); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 950; }
.brand strong { display: block; line-height: 1.1; }
.brand span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn { min-height: 40px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; text-decoration: none; font-weight: 850; }
.btn.primary { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn.accent { color: #fff; background: var(--accent); border-color: var(--accent); }
.hero {
  padding: 34px clamp(16px,4vw,38px) 22px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  gap: 24px;
  align-items: stretch;
}
.hero-copy, .workspace, .section, .footer-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-copy { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; letter-spacing: .1em; font-weight: 950; }
h1 { margin: 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.03; letter-spacing: 0; }
.lead { color: #425064; font-size: 17px; line-height: 1.7; margin: 16px 0 0; max-width: 760px; }
.download-note { padding: 12px; border: 1px solid #e7edf5; background: #f8fbff; border-radius: 8px; color: #536174; line-height: 1.55; }
.workspace { overflow: hidden; }
.workspace-head { padding: 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fbfcff; }
.tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: #fff; min-height: 36px; border-radius: 8px; padding: 0 11px; font-weight: 850; color: #455163; }
.tab[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); }
.screen { padding: 16px; display: grid; gap: 14px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid #e7edf5; background: #fff; border-radius: 8px; padding: 13px; }
.kpi span { color: var(--muted); font-size: 12px; font-weight: 850; display: block; }
.kpi strong { font-size: 25px; display: block; margin-top: 5px; }
.operator-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 14px; }
.queue, .detail { border: 1px solid #e7edf5; border-radius: 8px; background: #fff; overflow: hidden; }
.panel-title { min-height: 48px; border-bottom: 1px solid #e7edf5; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 950; }
.filter-row { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid #edf2f7; }
.filter-row input, .filter-row select { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: #fff; }
.record-list { display: grid; gap: 8px; padding: 12px; }
.record { border: 1px solid #edf2f7; background: #fbfcff; border-radius: 8px; padding: 11px; text-align: left; }
.record.active { outline: 2px solid var(--accent); background: #fff; }
.record strong { display: block; margin-bottom: 4px; }
.record-meta { display: flex; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; border-radius: 999px; padding: 0 8px; background: #eef7f6; color: var(--teal); font-size: 12px; font-weight: 900; white-space: nowrap; }
.badge.warn { background: #fff5e8; color: #a35b12; }
.detail-body { padding: 14px; display: grid; gap: 12px; }
.decision { border: 1px solid #edf2f7; border-radius: 8px; padding: 12px; background: #fafcff; }
.decision h3 { margin: 0 0 6px; font-size: 18px; }
.decision p { margin: 0; color: var(--muted); line-height: 1.55; }
.timeline { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.step-num { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 950; }
.step strong { display: block; margin-bottom: 3px; }
.step span { color: var(--muted); line-height: 1.48; }
main { padding: 0 clamp(16px,4vw,38px) 70px; display: grid; gap: 18px; }
.section { padding: clamp(18px, 3vw, 26px); box-shadow: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
h2 { font-size: 27px; margin: 0; letter-spacing: 0; }
.section-head p, .section p { color: var(--muted); line-height: 1.65; margin: 6px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { border: 1px solid #e7edf5; background: #fff; border-radius: 8px; padding: 16px; }
.card h3 { margin: 7px 0 7px; font-size: 18px; }
.card p { margin: 0; }
.module-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-table { display: grid; gap: 8px; }
.sample-row { display: grid; grid-template-columns: 1fr .85fr .85fr .7fr; gap: 10px; padding: 11px; border: 1px solid #e7edf5; border-radius: 8px; background: #fbfcff; align-items: center; }
.sample-row span { color: var(--muted); font-size: 13px; }
.footer { padding: 24px clamp(16px,4vw,38px); background: #fff; border-top: 1px solid var(--line); }
.footer-inner { color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1040px) { .hero, .operator-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero { padding-top: 18px; } .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .top-inner, .section-head { align-items: stretch; flex-direction: column; } .top-actions, .btn { width: 100%; } h1 { font-size: 34px; } .kpi-grid, .sample-row { grid-template-columns: 1fr; } .workspace-head { align-items: stretch; flex-direction: column; } }
