:root {
  color-scheme: light;
  --eto: #006b3f;
  --eto-dark: #004b2d;
  --gold: #c9a24a;
  --ink: #15231e;
  --muted: #64736c;
  --line: #cfe1d8;
  --wash: #f2f8f5;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Inter, Aptos, system-ui, sans-serif; color: var(--ink); background: linear-gradient(145deg, #eef7f2, #fff 58%, #fbf6e9); }
.shell { width: min(1120px, calc(100% - 32px)); margin: 48px auto; }
.hero, .panel, .status-grid article { background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(0,70,42,.08); }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 6px solid var(--eto); border-radius: 20px; padding: 36px; }
.eyebrow { margin: 0 0 8px; color: var(--eto); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
h1, h2 { margin: 0; line-height: 1.05; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
.lead, .message { color: var(--muted); }
.lead { font-size: 18px; }
.badge { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; background: #fff2c8; color: #72550e; font-weight: 800; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.status-grid article { border-radius: 14px; padding: 20px; }
.status-grid span { display: block; color: var(--muted); font-size: 13px; }
.status-grid strong { display: block; margin-top: 6px; color: var(--eto); }
.panel { border-radius: 20px; padding: 28px; }
.auth-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
form { display: grid; gap: 14px; }
label { color: var(--muted); font-size: 13px; font-weight: 700; }
input { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font: inherit; }
input:focus { outline: 3px solid rgba(0,107,63,.18); border-color: var(--eto); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.actions { display: flex; gap: 10px; }
button { border: 0; border-radius: 10px; padding: 12px 16px; background: var(--eto); color: white; font-weight: 800; cursor: pointer; }
button:hover { background: var(--eto-dark); }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { background: white; color: var(--eto); border: 1px solid var(--line); }
.records { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.record { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--wash); }
.record h3 { margin: 8px 0 18px; }
.scope { display: inline-block; color: var(--eto); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.ready { display: inline-block; padding: 7px 11px; border-radius: 999px; background: #dff4e8; color: var(--eto-dark); }
[hidden] { display: none !important; }
@media (max-width: 760px) { .status-grid, .records { grid-template-columns: 1fr 1fr; } .hero { flex-direction: column; } .auth-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shell { margin: 16px auto; } .hero, .panel { padding: 22px; } .status-grid, .records { grid-template-columns: 1fr; } .panel-head { align-items: flex-start; flex-direction: column; } }
