:root { color-scheme: dark; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:#0b1020; color:#eef2ff; }
* { box-sizing:border-box; }
body { margin:0; background:radial-gradient(900px 500px at 85% -10%, #202d54 0%, transparent 65%), #0b1020; min-height:100vh; }
.shell { width:min(100% - 32px, 1040px); margin:0 auto; padding:28px 0 36px; }
.topbar { display:flex; align-items:center; gap:12px; }
.brand-mark { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(145deg,#d8bb82,#80613b); color:#14100b; font-weight:800; font-family:Georgia,serif; font-size:25px; }
.brand-title { font-weight:700; letter-spacing:.01em; }
.muted { color:#a5aec5; line-height:1.55; }
.topbar .muted { font-size:12px; }
.status-pill { margin-left:auto; font-size:12px; border:1px solid #33415f; padding:7px 10px; border-radius:99px; color:#c6d0e8; }
.status-pill i { display:inline-block; width:7px; height:7px; border-radius:50%; background:#e2ae62; margin-right:7px; }
.hero { padding:76px 0 42px; max-width:720px; }
.eyebrow { color:#c9a66e; letter-spacing:.18em; font-size:11px; font-weight:700; }
h1 { font-size:clamp(38px,7vw,66px); line-height:1.04; letter-spacing:-.045em; margin:14px 0; }
.lead { max-width:610px; font-size:16px; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.panel { border:1px solid #26324b; background:rgba(19,28,49,.88); border-radius:20px; padding:22px; box-shadow:0 18px 50px rgba(0,0,0,.16); }
.panel h2 { font-size:17px; margin:0; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.tag { border:1px solid #3a4864; color:#b8c4dc; border-radius:30px; padding:5px 9px; font-size:10px; letter-spacing:.08em; }
.tag.warn { color:#f2c37e; border-color:#765a31; }
.metric-row { display:flex; justify-content:space-between; padding:12px 0; border-top:1px solid #27334a; color:#a5aec5; font-size:13px; }
.metric-row:first-of-type { margin-top:22px; }
.metric-row strong { color:#eef2ff; font-weight:600; }
button { cursor:pointer; border:0; border-radius:12px; padding:12px 15px; font-weight:700; }
.primary { width:100%; margin:9px 0 12px; background:#d7b77e; color:#18130b; }
.primary:disabled { opacity:.5; cursor:wait; }
.result { min-height:85px; white-space:pre-wrap; overflow-wrap:anywhere; color:#c8d2e8; font-size:12px; background:#0c1324; padding:12px; border-radius:12px; border:1px solid #283550; }
.notice { margin-top:16px; }
.notice p { color:#d1d8e8; line-height:1.6; }
.notice .muted { color:#9ca9c4; }
.footer { text-align:center; color:#65728d; font-size:11px; padding:28px 0 0; }
@media (max-width:700px) { .shell { width:min(100% - 24px,600px); padding-top:18px; } .hero { padding:54px 0 30px; } .grid { grid-template-columns:1fr; } .panel { padding:18px; } }
.field-label { display:block; margin:14px 0 7px; color:#c6d0e8; font-size:13px; font-weight:600; }
.field-select { width:100%; min-height:44px; border:1px solid #3a4864; border-radius:11px; padding:10px 12px; margin-bottom:5px; background:#0c1324; color:#eef2ff; font:inherit; }
.field-select:focus-visible, button:focus-visible { outline:2px solid #d7b77e; outline-offset:2px; }
