:root { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f1f4f1; background: #0d1110; color-scheme: dark; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse 75% 460px at 50% 0, #1a2420 0%, #0d1110 68%); }
button, textarea { font: inherit; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.topbar { background: rgba(14, 19, 17, .88); border-bottom: 1px solid #27302b; }
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #47705a; border-radius: 8px; color: #b0e2c0; background: #20362a; font-size: 14px; }
.brand-separator { color: #5d6b62; padding: 0 3px; font-weight: 400; }
.local-pill { display: inline-flex; align-items: center; gap: 7px; color: #a1afa4; font-size: 12px; }
.local-dot { width: 7px; height: 7px; border-radius: 50%; background: #73c999; box-shadow: 0 0 0 3px #1f3c2c; }
.intro { padding: 70px 0 42px; }
.eyebrow, .panel-kicker { color: #91c9a6; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { margin: 0 0 20px; }
h1 { margin: 0; font-size: clamp(36px, 4.3vw, 62px); line-height: 1.09; letter-spacing: -.055em; font-weight: 690; }
h1 span { color: #9aad9f; }
.intro-copy { max-width: 620px; margin: 22px 0 0; color: #aab7ad; font-size: 15px; line-height: 1.65; }
code { border: 1px solid #334239; border-radius: 5px; padding: 2px 6px; color: #d5e7d9; background: #1b2820; font-size: .92em; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 20px; align-items: stretch; }
.panel { min-width: 0; border: 1px solid #323c35; border-radius: 14px; background: #171d19; box-shadow: 0 20px 56px rgba(0, 0, 0, .17); }
.input-panel, .results-panel { padding: 28px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.panel-kicker { margin: 0 0 9px; }
h2 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.035em; }
.clear-button { border: 1px solid #3b4840; border-radius: 7px; background: #242d27; color: #c4d1c7; padding: 8px 12px; cursor: pointer; font-size: 12px; font-weight: 600; }
.clear-button:hover { background: #304037; }
.clear-button:focus-visible, textarea:focus-visible { outline: 3px solid #78bc91; outline-offset: 2px; }
textarea { display: block; width: 100%; height: 390px; resize: vertical; border: 1px solid #39453c; border-radius: 9px; background: #111713; color: #e5eee6; padding: 17px 18px; line-height: 1.55; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; outline: none; }
textarea::placeholder { color: #829187; }
.input-hint { margin: 14px 0 0; color: #94a298; font-size: 12px; line-height: 1.55; }
.status { color: #a7e1bb; background: #223e2c; padding: 7px 10px; border-radius: 30px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.primary-result { border: 1px solid #33523c; border-radius: 10px; background: linear-gradient(125deg, #263e2c, #1d3024); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.result-label { color: #b9d6bf; font-size: 12px; font-weight: 700; }
.primary-result strong { margin-top: 8px; color: #e2f8e7; font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.result-unit { margin-top: 8px; color: #acccb3; font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid #303b33; border-left: 1px solid #303b33; }
.stat { min-width: 0; padding: 17px 18px; border-right: 1px solid #303b33; border-bottom: 1px solid #303b33; display: flex; flex-direction: column; gap: 8px; }
.stat span { color: #a6b3a8; font-size: 12px; }
.stat strong { font-size: 21px; line-height: 1; font-variant-numeric: tabular-nums; }
.domain-section { margin-top: 24px; }
h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: -.01em; }
.empty { color: #93a197; margin: 0; font-size: 12px; }
.domain-list { list-style: none; padding: 0; margin: 0; }
.domain-list li { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-top: 1px solid #303b33; font-size: 12px; color: #b3bfb6; }
.domain-list strong { font-variant-numeric: tabular-nums; color: #e7efe8; }
.domain-list .more-domains { color: #93a197; }
.invalid-note { margin: 18px 0 0; padding: 12px; border: 1px solid #6b4d34; border-radius: 7px; background: #34271e; color: #f1cda9; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.privacy-note { margin: 24px 0 60px; color: #9ba79d; font-size: 12px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 800px) { .wrap { width: min(100% - 32px, 640px); } .workspace { grid-template-columns: 1fr; } .intro { padding: 52px 0 34px; } textarea { height: 300px; } }
@media (max-width: 520px) { .topbar-inner { min-height: 62px; } .local-pill { font-size: 0; } .local-dot { width: 8px; height: 8px; } .input-panel, .results-panel { padding: 20px; } h1 { font-size: 38px; } .intro-copy { font-size: 14px; } }
