:root{color-scheme:dark;--ink:#eaf1fc;--muted:#9caec6;--bg:#080e19;--line:#26344a;--accent:#66adff;--mint:#53e3c6}
body{background-color:var(--bg);background-image:radial-gradient(ellipse at 80% 0%,#14254280,transparent 55%);color:var(--ink);-webkit-font-smoothing:antialiased}
.portal-header{background:#0d1524eF;border-color:#26354a}.portal-header .brand{font-weight:700;letter-spacing:-.7px}.portal-header .spark{display:grid;place-items:center;width:35px;height:35px;border:1px solid #31567d;border-radius:9px;background:linear-gradient(135deg,#12314c,#122038);color:#88d5ff;font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.5px}.portal-header .nav button{color:#8d9fb8}.portal-header .nav button.active{color:#8ac2ff;border-color:#66adff}.portal-header .nav button:hover{color:#c9e3ff}.header-actions>.badge::before{content:'';width:6px;height:6px;background:#53e3c6;border-radius:50%;display:inline-block;margin-right:7px;box-shadow:0 0 8px #53e3c630}
.greeting h1{font-size:33px;letter-spacing:-1.2px;font-weight:650}.topline{color:#8296b3}.dashboard-card,.card,.metric{background:linear-gradient(145deg,#121e31,#101928);border-color:#27364d;box-shadow:0 7px 20px #00000012}.dashboard-card{border-radius:14px}.dashboard-card:hover{border-color:#4b77a7;box-shadow:0 7px 24px #00000025}.dashboard-card.people-summary{background:linear-gradient(145deg,#122e32,#111f2d);border-color:#285055}.dashboard-card.people-summary:hover{border-color:#439786}.dash-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:25px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.dash-card-top h2{display:flex;align-items:center;gap:9px;font-size:15px;color:#d7e5f7}.dash-icon{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;color:#78b9ff;background:#183251;border:1px solid #284868;border-radius:7px;flex-shrink:0}.dash-icon svg{width:15px;height:15px}.people-summary .dash-icon{color:#69d8c0;background:#173a3c;border-color:#27565a}.dash-detail{color:#a2b4ce}.dash-foot{color:#83baff}.dash-source{color:#8498b5}.dash-progress{background:#22314a}.dash-progress span{background:linear-gradient(90deg,#4c8df8,#55c9f0)}.dash-focus{color:#e0eaf8;font-size:17px}.dash-label{color:#8caacb}.dash-pills span{background:#1b2a40;color:#9eb6d5}
.badge{background:#18243a;border:1px solid #2a3a53;color:#a7bbd6}.sample{background:#352d1e;color:#edc477;border:1px solid #4b3e26}.primary{background:linear-gradient(110deg,#3879f3,#3164d5);color:#fff;box-shadow:0 3px 12px #1e54bb28}.primary:hover{background:#438cff}.secondary{background:#1a2d48;color:#9dc7ff;border:1px solid #2b4364}.secondary:hover{background:#223c60}.textbtn{color:#88beff}.muted,.notice{color:var(--muted)}
input[type=text],input[type=date],textarea,select,.life-form input:not([type=checkbox]){background:#0d1626;border:1px solid #30415c;color:#e6eefb;border-radius:9px}input::placeholder,textarea::placeholder{color:#7288a5}input[type=checkbox]{accent-color:#69afff}select{color:#b4c6df}.life-form label,.nutrition-note label{color:#afc2df}.rhythm-row select{color:#90a9c9}.rhythm-group legend{color:#89a9d0}.life-intro{background:#122339;border-color:#29455f;color:#b7d0e8}.memory-year{color:#8fbde8}.empty-life{color:#8fa5c2}.remove-local{color:#93a8c4}.remove-local:hover{color:#ff9cab}.life-list .done strong{color:#8498b5}.preference{background:#101b2d;border-color:#293b56}.preference small{color:#829cbd}
.morning-brief{background:#111d31}.brief-grid p,.brief-sources{color:var(--muted)}.ringnote{background:#142137;color:#acc5e6}.cardfooter{color:#8fa7c7}.day{background:#152238}.day.today{background:#173153;outline-color:#40719f}.day small{color:#94aaca}.day strong{color:#69d3be}.day.untracked strong,.day.upcoming strong{color:#6e86a6}.chart polyline{stroke:#66adff}.tag{background:#182e4b;color:#8bbafa}.tag.life{background:#173a36;color:#80d5bb}.taskcopy small,.journalentries small,.entry small{color:#8ba2bf}.event small,.event .time{color:#91a9c8}
dialog{background:#152238;color:#eaf1fc;border:1px solid #304c6d}dialog p{color:#a7bedc}dialog::backdrop{background:#030811b0}.toast{background:#19334d;border:1px solid #355778;color:#dceefe}.dashboard-footer{color:#839ab8}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,.dashboard-card:focus-visible{outline-color:#78bdff}
@media(max-width:720px){.greeting h1{font-size:28px}.dash-value{font-size:24px}}
