:root { --bg:#0c1114; --panel:#131a1f; --line:#29353c; --text:#edf5f1; --muted:#8d9c9d; --accent:#b8f56d; --accent-dark:#16200f; --danger:#ff8c87; --shadow:0 20px 60px rgba(0,0,0,.24); }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at 80% 0%, #19302b 0, transparent 34%), var(--bg); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.shell { max-width:1080px; margin:0 auto; padding:30px 28px 36px; }.topbar,.brand,.status-pill,.card-heading,.section-heading,.form-actions,.route-row,footer { display:flex; align-items:center; }.topbar { justify-content:space-between; margin-bottom:80px; }.brand { gap:12px; }.brand-mark { display:grid; place-items:center; width:36px; height:36px; color:var(--accent); border:1px solid #46613b; border-radius:10px; font-size:23px; }.eyebrow { margin:0 0 6px; color:var(--muted); font-size:10px; letter-spacing:.18em; font-weight:700; }.eyebrow.accent { color:var(--accent); }h1 { margin:0; font-size:17px; letter-spacing:-.02em; }.status-pill { gap:8px; color:var(--muted); font-size:12px; border:1px solid var(--line); border-radius:999px; padding:8px 12px; background:rgba(19,26,31,.72); }.dot { display:inline-block; width:7px; height:7px; background:var(--accent); border-radius:50%; box-shadow:0 0 12px rgba(184,245,109,.7); }.dot.error { background:var(--danger); box-shadow:0 0 12px rgba(255,140,135,.5); }
.hero { display:grid; grid-template-columns:1.25fr .75fr; gap:60px; align-items:end; margin-bottom:44px; }h2 { margin:0 0 20px; font-size:clamp(38px,5vw,62px); line-height:.98; letter-spacing:-.055em; font-weight:650; }.lede { max-width:535px; margin:0; color:var(--muted); font-size:16px; line-height:1.6; }.hero-note { display:flex; gap:14px; align-items:flex-start; padding:18px 0 2px 20px; border-left:1px solid #4a663b; }.note-icon { color:var(--accent); font-size:20px; }.hero-note strong { font-size:13px; }.hero-note p { margin:7px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.card { background:linear-gradient(135deg,rgba(24,33,38,.95),rgba(16,23,27,.95)); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }.form-card { padding:28px 30px 25px; }.card-heading { justify-content:space-between; margin-bottom:28px; }h3 { margin:0; font-size:20px; letter-spacing:-.02em; }.step { color:#627174; font-size:12px; font-weight:700; letter-spacing:.12em; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }label { display:block; color:#cdd8d4; font-size:12px; font-weight:600; }label>span { display:block; margin-bottom:9px; }input { width:100%; height:48px; border:1px solid #34434a; border-radius:9px; outline:none; padding:0 14px; color:var(--text); background:#0e1519; font:inherit; font-size:14px; transition:border .2s,box-shadow .2s; }input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(184,245,109,.1); }.input-wrap { position:relative; }.input-wrap input { padding-left:62px; }.input-prefix { position:absolute; z-index:1; left:14px; top:15px; color:#708080; font-size:13px; font-weight:400; }small { display:block; margin-top:8px; color:#708080; font-size:11px; font-weight:400; }.form-actions { justify-content:space-between; gap:18px; margin-top:26px; }.message { min-height:17px; margin:0; color:var(--muted); font-size:12px; }.message.error { color:var(--danger); }.message.success { color:var(--accent); }.button { display:flex; align-items:center; gap:24px; border:0; border-radius:8px; padding:12px 14px 12px 17px; font:inherit; font-size:13px; font-weight:750; cursor:pointer; }.button.primary { color:var(--accent-dark); background:var(--accent); }.button-arrow { font-size:18px; line-height:12px; }.button:disabled { opacity:.6; cursor:wait; }
.routes-section { margin-top:62px; }.section-heading { justify-content:space-between; margin-bottom:16px; }.count { color:var(--muted); font-size:12px; }.routes-list { border-top:1px solid var(--line); }.route-row { gap:14px; min-height:78px; border-bottom:1px solid var(--line); }.route-icon { display:grid; place-items:center; width:34px; height:34px; color:var(--accent); border:1px solid #3c5937; border-radius:9px; font-size:18px; }.route-main { display:flex; flex:1; min-width:0; flex-direction:column; gap:6px; }.route-host { width:max-content; max-width:100%; overflow:hidden; color:var(--text); text-decoration:none; font-size:14px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }.route-host:hover { color:var(--accent); }.route-target { color:var(--muted); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; }.route-state { display:flex; align-items:center; gap:7px; margin-left:auto; color:var(--accent); font-size:11px; }.route-state .dot { width:6px; height:6px; }.icon-button { border:0; background:transparent; color:#718083; font-size:22px; line-height:1; cursor:pointer; padding:8px 2px 8px 12px; }.icon-button:hover { color:var(--danger); }.empty { padding:38px 20px; color:var(--muted); text-align:center; border-bottom:1px solid var(--line); font-size:13px; }footer { justify-content:space-between; margin-top:58px; color:#5d6b6d; font-size:11px; }
@media (max-width:700px) { .shell { padding:22px 18px 28px; }.topbar { margin-bottom:56px; }.hero { grid-template-columns:1fr; gap:28px; }.hero-note { max-width:420px; }.form-grid { grid-template-columns:1fr; gap:16px; }.form-card { padding:22px 18px; }.form-actions { align-items:flex-start; flex-direction:column; }.button { width:100%; justify-content:space-between; }.route-state { display:none; }h2 { font-size:42px; }footer { align-items:flex-start; flex-direction:column; gap:8px; } }

.topbar-actions { display:flex; align-items:center; gap:10px; }
.account-menu { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:11px; }
.signout-button { border:1px solid var(--line); border-radius:999px; padding:8px 11px; color:var(--muted); background:rgba(19,26,31,.72); font:inherit; cursor:pointer; }
.signout-button:hover { color:var(--text); border-color:#52636a; }
.auth-page { display:grid; place-items:center; padding:24px; }
.auth-shell { width:min(100%, 470px); }
.auth-card { padding:36px; background:linear-gradient(145deg,rgba(24,33,38,.98),rgba(14,21,25,.98)); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
.auth-brand { display:flex; align-items:center; gap:12px; margin-bottom:62px; }
.auth-intro h2 { margin:0 0 12px; font-size:clamp(38px,8vw,54px); line-height:1; letter-spacing:-.06em; }
.auth-intro p:not(.eyebrow) { margin:0; color:var(--muted); font-size:14px; line-height:1.6; }
.auth-intro { margin-bottom:30px; }
.google-button { display:flex; align-items:center; gap:12px; min-height:52px; padding:0 15px; color:#17201b; background:var(--accent); border-radius:9px; text-decoration:none; font-size:14px; font-weight:750; }
.google-button[aria-disabled="true"] { opacity:.45; pointer-events:none; }
.google-g { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:#4285f4; background:#fff; font-family:Arial,sans-serif; font-weight:800; }
.google-button .button-arrow { margin-left:auto; }
.auth-hint { margin:13px 0 0; color:#718083; font-size:11px; line-height:1.5; text-align:center; }
.auth-status { min-height:18px; margin:26px 0 0; color:#718083; font-size:11px; line-height:1.5; text-align:center; }
.auth-message { margin:0 0 16px; padding:11px 13px; border:1px solid rgba(255,140,135,.35); border-radius:8px; color:var(--danger); background:rgba(255,140,135,.08); font-size:12px; line-height:1.5; }
.basic-login { display:grid; gap:15px; }
.basic-login label span { margin-bottom:8px; }
.auth-submit { width:100%; justify-content:space-between; margin-top:5px; }
.auth-footer { margin:17px 0 0; color:#5d6b6d; font-size:11px; text-align:center; }
.auth-footer span { padding:0 5px; color:#3e4b4e; }
@media (max-width:700px) { .topbar-actions { align-items:flex-end; flex-direction:column; gap:6px; }.account-menu { display:none; }.auth-card { padding:28px 22px; }.auth-brand { margin-bottom:52px; } }

.edit-button { color:#aebcba; font-size:11px; }
.edit-button:hover { color:var(--accent); }
.modal { position:fixed; z-index:10; inset:0; display:grid; place-items:center; padding:20px; }
.modal[hidden] { display:none; }
.modal-backdrop { position:absolute; inset:0; background:rgba(4,8,10,.78); backdrop-filter:blur(5px); }
.modal-card { position:relative; width:min(100%,520px); display:grid; gap:17px; padding:28px 30px; background:linear-gradient(145deg,rgba(24,33,38,.99),rgba(14,21,25,.99)); border:1px solid #3a494f; border-radius:16px; box-shadow:0 24px 80px rgba(0,0,0,.55); }
.modal-card .card-heading { margin-bottom:5px; }
.modal-close { border:0; color:var(--muted); background:transparent; font-size:26px; line-height:1; cursor:pointer; }
.modal-close:hover { color:var(--text); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:4px; }
.button.secondary { color:var(--text); border:1px solid var(--line); background:transparent; }
.button.secondary:hover { border-color:#52636a; }
@media (max-width:700px) { .modal-card { padding:22px 18px; }.modal-actions { flex-direction:column-reverse; }.modal-actions .button { width:100%; justify-content:space-between; } }
