/* User direction: charcoal, orange-red contrast, original line icons. */
:root{--bg:#111214;--surface:#1a1c20;--surface2:#25282e;--border:#3b3f47;--text:#f3f2ef;--text-muted:#c0bdb8;--text-dim:#a49e97;--teal:#ff7048;--teal-rgb:255,112,72;--coral:#ff7048;--coral-rgb:255,112,72;--heat-0:#41434a;--heat-1:#75513e;--heat-2:#c8813f;--heat-3:#ed7435;--heat-4:#ff5438;--on-accent:#241009;}
[data-theme="light"]{--bg:#f6f4f1;--surface:#fff;--surface2:#eee9e3;--border:#cec4b9;--text:#24211e;--text-muted:#655a50;--text-dim:#726557;--teal:#ab381c;--teal-rgb:171,56,28;--coral:#ab381c;--coral-rgb:171,56,28;--heat-0:#d3ccc5;--heat-1:#cbb29b;--heat-2:#c18a48;--heat-3:#d2602c;--heat-4:#ba351e;--on-accent:#fff;}
.btn-primary,.section-nav .on,.filter-chips .on{color:var(--on-accent);}
.profile-switch{display:grid;place-items:center;min-height:44px;min-width:44px;border-radius:10px;color:var(--text-muted);text-decoration:none;font-size:1.4rem;}
.profile-switch:hover{background:var(--surface2);color:var(--text);}
#tabs .tab-btn svg{width:23px;height:23px;flex-shrink:0;}
.calendar-always{margin-top:24px;border-top:1px solid var(--border);padding-top:12px;}
.decay-explanation{background:var(--surface);border-left:3px solid var(--teal);padding:16px;margin:16px 0;font-size:.875rem;line-height:1.55;}
.decay-explanation p{margin-top:8px;color:var(--text-muted);}
.set-context p{margin:8px 0;line-height:1.55;}
.profile-page{overflow:auto;min-height:100dvh;height:auto;}
.profile-shell{width:min(620px,100%);margin:0 auto;padding:48px 22px;}
.picker-brand{font-size:1.3rem;letter-spacing:-.055em;font-weight:850;margin-bottom:56px;}
.picker-brand span{color:var(--teal);}
.picker-version{font-size:.75rem;font-weight:500;color:var(--text-dim);letter-spacing:0;margin-left:10px;}
.profile-shell h1{font-size:clamp(2rem,7vw,3rem);letter-spacing:-.05em;line-height:1.1;margin:0 0 16px;}
.picker-intro{color:var(--text-muted);font-size:1rem;line-height:1.55;margin-bottom:30px;max-width:42ch;}
.profile-card{display:flex;gap:18px;align-items:center;padding:22px 18px;border:1px solid var(--border);background:var(--surface);border-radius:14px;margin:12px 0;color:var(--text);text-decoration:none;}
.profile-card:hover,.profile-card:focus-visible{border-color:var(--teal);outline:1px solid var(--teal);}
.profile-avatar{height:48px;width:48px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;background:rgba(var(--teal-rgb),.12);color:var(--teal);font-weight:750;font-size:1.2rem;}
.profile-card strong{display:block;font-size:1.1rem;line-height:1.4;}
.profile-card small{display:block;font-size:.8rem;line-height:1.4;margin-top:4px;color:var(--text-muted);}
.profile-arrow{margin-left:auto;color:var(--teal);font-size:1.3rem;}
.new-profile{margin-top:28px;padding-top:20px;border-top:1px solid var(--border);}
.new-profile summary{color:var(--text);}
.new-profile label{display:block;font-size:.875rem;color:var(--text-muted);margin:12px 0 8px;}
.new-profile input,.new-profile select{font-size:1rem;}
.picker-footer{font-size:.85rem;color:var(--text-muted);line-height:1.6;margin-top:32px;}
@media(max-width:540px){#topbar{gap:6px;padding:10px 12px;}#topbar-logo{font-size:1.05rem;}#topbar-action{gap:3px;}.profile-switch,.settings-btn{min-width:38px;width:38px;}.profile-shell{padding-top:32px;}.picker-brand{margin-bottom:40px;}}
