:root {
  --bg:#050914;--surface:#0b1220;--surface-2:#101a2d;--line:rgba(255,255,255,.1);
  --text:#f4f5f7;--muted:#a8b0c1;--gold:#e2bd66;--blue:#79b7f2;--violet:#b097ed;
  --orange:#f49a55;--cyan:#5bcbd0;--danger:#f1847d;--font-head:'Outfit', 'Mitr', sans-serif;--font-body:'Plus Jakarta Sans','Sarabun',sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.55;min-height:100vh}
a{color:inherit}.skip-link{position:fixed;left:1rem;top:-5rem;z-index:1000;background:var(--gold);color:#111827;padding:.75rem 1rem;border-radius:.4rem;font-weight:700}.skip-link:focus{top:1rem}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}::selection{background:var(--gold);color:#111827}
.daybar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1rem,4vw,4.5rem);border-bottom:1px solid var(--line);background:rgba(5,9,20,.94);position:sticky;top:0;z-index:100}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;font-family:var(--font-head);font-size:1.08rem;letter-spacing:.08em}.brand img{border-radius:50%;object-fit:cover}.brand b{color:var(--gold)}
.daybar nav{display:flex;align-items:center;gap:.25rem}.daybar nav a{text-decoration:none;color:var(--muted);font-weight:700;font-size:.86rem;padding:.65rem .85rem;border-radius:.55rem}.daybar nav a:hover,.daybar nav a.active{color:var(--text);background:rgba(255,255,255,.06)}.daybar nav a.active{color:var(--gold)}
.day-shell{width:min(1500px,100%);margin:0 auto;padding:clamp(1.3rem,3vw,3rem) clamp(1rem,3vw,3rem) 4rem}
.opening{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:2rem;align-items:end;padding:1.5rem 0 2.2rem;border-bottom:1px solid var(--line)}
.opening-copy p{margin:0;color:var(--gold);font-weight:700}.opening h1{font-family:var(--font-head);font-size:clamp(2.4rem,5.4vw,5.7rem);line-height:.98;letter-spacing:-.035em;margin:.35rem 0 .8rem;max-width:13ch}.opening .today-date{font-size:1.02rem;color:var(--muted);font-weight:500}
.opening-pulse{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:1rem 0}.opening-pulse>div{min-width:0}.pulse-dot{width:10px;height:10px;border-radius:50%;background:var(--cyan)}.opening-pulse strong,.opening-pulse small{display:block}.opening-pulse small{color:var(--muted);margin-top:.15rem}.opening-pulse button{min-height:44px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:.55rem;padding:.55rem .9rem;font:700 .82rem var(--font-body);cursor:pointer}.opening-pulse button:hover{border-color:var(--gold);color:var(--gold)}
.command-grid{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.6fr);border-bottom:1px solid var(--line)}
.system-rail,.dayline,.brief-rail{min-width:0;padding:2rem}.system-rail{padding-left:0;border-right:1px solid var(--line)}.dayline{padding-right:0}.brief-rail{grid-column:1/-1;padding:2rem 0;border-top:1px solid var(--line)}
.rail-heading{display:block;margin-bottom:1rem}.rail-heading h2,.section-head h2{font:700 clamp(1.3rem,2vw,1.85rem) var(--font-head);margin:0}.rail-heading span,.section-head p{display:block;font-size:.78rem;color:var(--muted);margin:.15rem 0 0}
.system-route{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:.75rem;min-height:72px;text-decoration:none;border-top:1px solid var(--line);position:relative}.system-route:last-child{border-bottom:1px solid var(--line)}.system-route::before{content:"";position:absolute;left:18px;top:50%;width:1px;height:100%;background:var(--line);z-index:-1}.system-route:hover{background:rgba(255,255,255,.025)}.system-route svg{width:38px;height:38px;padding:9px;border:1px solid currentColor;border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.7;background:var(--bg)}.system-route.tasks{color:var(--blue)}.system-route.health{color:var(--cyan)}.system-route.deals{color:var(--violet)}.system-route.money{color:var(--orange)}.system-route.focus{color:var(--gold)}.system-route b{display:block;color:var(--text);font-size:.94rem}.system-route small{display:block;color:var(--muted);font-size:.72rem;line-height:1.35;margin-top:.12rem}.system-route i{font-style:normal;color:var(--muted)}
.section-head{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1.2rem;min-width:0}.section-head>div{min-width:0}.section-head a{font-size:.78rem;color:var(--blue);text-decoration:none;font-weight:700}.section-head a:hover{text-decoration:underline;text-underline-offset:4px}
.priority-list{position:relative}.priority-list::before{content:"";position:absolute;left:4.35rem;top:1.2rem;bottom:1.2rem;width:1px;background:var(--line)}.priority-row{display:grid;grid-template-columns:4.4rem 1fr;gap:1.2rem;position:relative;padding:1rem 0}.priority-row::before{content:"";position:absolute;left:4.05rem;top:1.35rem;width:9px;height:9px;border-radius:50%;background:var(--gold);border:3px solid var(--bg)}.priority-row .time{font:700 .75rem var(--font-head);color:var(--gold);padding-top:.05rem}.priority-row strong{display:block;font-size:1rem}.priority-row small{display:block;color:var(--muted);font-size:.76rem;margin-top:.2rem}.priority-row.is-danger::before{background:var(--danger)}.priority-row.is-danger .time{color:var(--danger)}.loading-row{opacity:.68}
.quick-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);margin-top:1rem}.quick-strip a{display:flex;justify-content:space-between;align-items:center;gap:.35rem;min-width:0;min-height:58px;padding:.7rem;text-decoration:none;border-right:1px solid var(--line);font-size:.78rem;font-weight:700}.quick-strip a span{min-width:0;overflow-wrap:anywhere}.quick-strip a:last-child{border-right:0}.quick-strip a:hover{color:var(--gold);background:rgba(226,189,102,.045)}.quick-strip b{font-size:1.15rem;flex:0 0 auto}
.brief-tabs{display:flex;max-width:100%;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin-bottom:.7rem}.brief-tabs::-webkit-scrollbar{display:none}.brief-tabs button{flex:0 0 auto;min-height:44px;white-space:nowrap;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:700 .83rem var(--font-body);padding:.5rem .8rem;cursor:pointer}.brief-tabs button[aria-selected="true"]{color:var(--gold);border-bottom-color:var(--gold)}.daily-highlight{margin:0 0 1rem;border-left:3px solid var(--gold);background:linear-gradient(90deg,rgba(226,189,102,.1),transparent);padding:.8rem .9rem}.daily-highlight>a{display:block;text-decoration:none}.daily-highlight span{display:block;color:var(--gold);font:700 .63rem var(--font-head);letter-spacing:.08em}.daily-highlight strong{display:block;margin:.25rem 0;font-size:.94rem;line-height:1.35}.daily-highlight small{display:block;color:var(--muted);font-size:.7rem}.daily-highlight p{margin:.35rem 0 0}.brief-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem}.brief-item{display:block;text-decoration:none;padding:.9rem 0;border-bottom:1px solid var(--line)}.brief-item:hover strong,.daily-highlight-link:hover strong{color:var(--gold)}.brief-item span{display:block;color:var(--blue);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.brief-item strong{display:block;font-size:.88rem;line-height:1.4;margin:.2rem 0}.brief-item small{color:var(--muted);font-size:.71rem}.brief-source-note{margin:.8rem 0 0;color:var(--muted);font-size:.65rem;line-height:1.45}.empty{color:var(--muted);font-size:.82rem;margin:.8rem 0;padding:.7rem 0}.brief-error{color:#ffc3be}
.daily-depth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);border-bottom:1px solid var(--line)}.routine-lane,.work-lane{padding:2.2rem 2rem}.routine-lane{padding-left:0;border-right:1px solid var(--line)}.work-lane{padding-right:0}
.routine-progress{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem;margin-bottom:1rem}.routine-progress strong{font:700 1.35rem var(--font-head);color:var(--gold)}.routine-progress span{font-size:.72rem;color:var(--muted);margin-left:.35rem}.progress-track{height:5px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:var(--gold)}
.routine-list{display:grid}.routine-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.75rem 0;border-top:1px solid var(--line)}.routine-item:last-child{border-bottom:1px solid var(--line)}.routine-check{width:22px;height:22px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:transparent}.routine-item.done .routine-check{background:var(--cyan);border-color:var(--cyan);color:#061018}.routine-item strong{font-size:.88rem}.routine-item small{display:block;color:var(--muted);font-size:.72rem}.routine-item em{font-style:normal;color:var(--muted);font-size:.68rem;text-transform:uppercase}.routine-item.done strong{text-decoration:line-through;color:var(--muted)}
.work-list{display:grid}.work-item{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:start;padding:.9rem 0;border-top:1px solid var(--line)}.work-item:last-child{border-bottom:1px solid var(--line)}.work-item .work-mark{width:9px;height:9px;border-radius:50%;background:var(--blue);margin-top:.45rem}.work-item.deal .work-mark{background:var(--violet)}.work-item strong{font-size:.9rem}.work-item small{display:block;color:var(--muted);font-size:.72rem;margin-top:.18rem}.work-item time{font:700 .69rem var(--font-head);color:var(--gold);white-space:nowrap}
.intelligence-desk{padding:3rem 0;border-bottom:1px solid var(--line)}.intelligence-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;padding-bottom:1.35rem}.desk-kicker{margin:0 0 .25rem;color:var(--gold);font:700 .69rem var(--font-head);letter-spacing:.12em}.intelligence-heading h2{margin:0;font:700 clamp(1.8rem,3vw,3rem) var(--font-head)}.intelligence-heading p{margin:.35rem 0 0;color:var(--muted);max-width:72ch;font-size:.84rem}.source-pill{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;padding:.48rem .75rem;color:var(--muted);font-size:.7rem;font-weight:700}.desk-jumps{display:flex;gap:.35rem;overflow-x:auto;scrollbar-width:none;border-block:1px solid var(--line);padding:.65rem 0;margin-bottom:1.5rem}.desk-jumps::-webkit-scrollbar{display:none}.desk-jumps a{flex:0 0 auto;text-decoration:none;color:var(--muted);font:700 .75rem var(--font-body);padding:.45rem .7rem;border-radius:.45rem}.desk-jumps a:hover{color:var(--text);background:rgba(255,255,255,.05)}.command-surface{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.8fr);border-bottom:1px solid var(--line)}.command-overview,.deadline-panel{min-width:0;padding:1.5rem 2rem 2rem}.command-overview{padding-left:0;border-right:1px solid var(--line)}.deadline-panel{padding-right:0}.section-head h3{margin:0;font:700 1.15rem var(--font-head)}.section-head.compact{align-items:start}.command-summary{border-left:3px solid var(--gold);padding:.15rem 0 .15rem 1rem;margin:1.2rem 0 1.6rem}.command-summary strong{display:block;font:700 clamp(1.05rem,2vw,1.35rem) var(--font-head)}.command-summary p{margin:.3rem 0 0;color:var(--muted);font-size:.8rem}.command-summary .source-warning{color:#ffc6a0}.command-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.command-columns h4,.opportunity-radar h4{font:700 .83rem var(--font-head);margin:0 0 .55rem;color:var(--text)}.brief-rows,.deadline-list{display:grid;min-width:0}.intelligence-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem;align-items:center;min-width:0;padding:.72rem 0;border-top:1px solid var(--line);text-decoration:none}.intelligence-row:last-child{border-bottom:1px solid var(--line)}a.intelligence-row:hover strong{color:var(--gold)}.intelligence-row strong,.intelligence-row small{display:block;min-width:0;overflow-wrap:anywhere}.intelligence-row strong{font-size:.82rem;line-height:1.35}.intelligence-row small{color:var(--muted);font-size:.68rem;margin-top:.18rem}.row-badge{align-self:start;max-width:9rem;border:1px solid var(--line);border-radius:999px;padding:.24rem .45rem;color:var(--gold);font:700 .61rem var(--font-head);white-space:nowrap}.intelligence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line)}.intelligence-card{min-width:0;padding:2rem}.intelligence-card:nth-child(odd){padding-left:0;border-right:1px solid var(--line)}.intelligence-card:nth-child(even){padding-right:0}.intelligence-card:nth-child(-n+2){border-bottom:1px solid var(--line)}.portfolio-card .row-badge{color:var(--cyan)}.opportunity-radar{margin-top:1.5rem;padding-top:1rem;border-top:1px dashed var(--line)}.source-integrity{display:grid;grid-template-columns:minmax(130px,.22fr) minmax(0,1fr);gap:1.5rem;padding-top:1.5rem;color:var(--muted);font-size:.75rem}.source-integrity strong{color:var(--text);font-family:var(--font-head)}.source-integrity p{margin:0}
.source-note{display:grid;grid-template-columns:minmax(170px,.35fr) minmax(0,1fr);gap:2rem;padding:2rem 0;color:var(--muted);font-size:.78rem}.source-note strong{color:var(--text);font:700 1rem var(--font-head)}.source-note p{margin:0;max-width:90ch}
@media(max-width:1100px){.command-grid{grid-template-columns:280px 1fr}.brief-rail{grid-column:1/-1;border-top:1px solid var(--line);padding:2rem 0}.brief-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem}.daily-depth{grid-template-columns:1fr}.routine-lane{padding-right:0;border-right:0;border-bottom:1px solid var(--line)}.work-lane{padding-left:0}.command-surface{grid-template-columns:1fr}.command-overview{padding-right:0;border-right:0;border-bottom:1px solid var(--line)}.deadline-panel{padding-left:0}}
@media(max-width:760px){.daybar{height:auto;min-height:64px;padding:.7rem 1rem;align-items:stretch;flex-direction:column;gap:.5rem}.brand span{font-size:.9rem}.daybar nav{width:100%;max-width:100%;overflow-x:auto;scrollbar-width:none}.daybar nav::-webkit-scrollbar{display:none}.daybar nav a{white-space:nowrap;padding:.5rem .65rem}.day-shell{padding-top:1rem}.opening{grid-template-columns:1fr;gap:.7rem;padding-top:.7rem}.opening h1{font-size:clamp(2.6rem,13vw,4rem);max-width:10ch}.opening-pulse{grid-template-columns:auto minmax(0,1fr);border-top:1px solid var(--line)}.opening-pulse button{grid-column:1/-1;justify-self:start;padding:.5rem .7rem}.command-grid{grid-template-columns:1fr}.system-rail,.dayline,.brief-rail{padding:1.6rem .75rem;border-right:0;border-bottom:1px solid var(--line)}.system-rail{order:2}.dayline{order:1}.brief-rail{order:3;grid-column:auto}.brief-list{grid-template-columns:1fr}.daily-depth{display:block}.routine-lane,.work-lane{padding:1.7rem .75rem}.source-note,.source-integrity{grid-template-columns:1fr;gap:.5rem}.quick-strip a{padding:.65rem .5rem}.quick-strip a span{font-size:.72rem}.section-head{align-items:flex-start;flex-direction:column}.section-head a{padding-top:0}.priority-list::before{left:3.35rem}.priority-row{grid-template-columns:3.4rem 1fr;gap:1rem}.priority-row::before{left:3.05rem}.intelligence-desk{padding:2rem .75rem}.intelligence-heading{align-items:flex-start;flex-direction:column;gap:.8rem}.desk-jumps{flex-wrap:wrap;overflow:visible}.command-overview,.deadline-panel,.intelligence-card{padding:1.45rem 0!important;border-right:0!important}.command-columns,.intelligence-grid{grid-template-columns:1fr}.command-columns{gap:1.4rem}.intelligence-card{border-bottom:1px solid var(--line)}.intelligence-grid{border-bottom:0}.intelligence-row{grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.row-badge{max-width:6.8rem;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* ── Sky theme (assets/today-sky.js sets html[data-daypart]) · 2026-09-30 ── */
.day-shell{width:min(1760px,100%)}
html[data-daypart]{--sky-1:transparent;--sky-2:transparent}
html[data-daypart="dawn"]{--gold:#f4b66a;--sky-1:rgba(244,150,80,.26);--sky-2:rgba(140,80,160,.18)}
html[data-daypart="day"]{--gold:#8ccaff;--sky-1:rgba(70,145,235,.26);--sky-2:rgba(40,110,190,.16)}
html[data-daypart="dusk"]{--gold:#f39ac2;--sky-1:rgba(232,106,146,.26);--sky-2:rgba(120,72,190,.2)}
html[data-daypart="night"]{--gold:#e2bd66;--sky-1:rgba(70,80,190,.2);--sky-2:rgba(30,40,110,.22)}
html[data-daypart] body{background-image:radial-gradient(ellipse 90% 520px at 25% -60px,var(--sky-1),transparent 72%),radial-gradient(ellipse 70% 420px at 90% -40px,var(--sky-2),transparent 70%);background-repeat:no-repeat;transition:background-color .6s}
html[data-daypart="night"] body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='520'%3E%3Ccircle cx='663' cy='154' r='1.0' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='148' cy='96' r='0.8' fill='white' fill-opacity='0.52'/%3E%3Ccircle cx='1039' cy='219' r='0.6' fill='white' fill-opacity='0.21'/%3E%3Ccircle cx='856' cy='71' r='0.7' fill='white' fill-opacity='0.27'/%3E%3Ccircle cx='869' cy='60' r='1.2' fill='white' fill-opacity='0.3'/%3E%3Ccircle cx='457' cy='63' r='1.2' fill='white' fill-opacity='0.55'/%3E%3Ccircle cx='101' cy='226' r='0.6' fill='white' fill-opacity='0.4'/%3E%3Ccircle cx='272' cy='296' r='1.0' fill='white' fill-opacity='0.19'/%3E%3Ccircle cx='241' cy='315' r='1.2' fill='white' fill-opacity='0.41'/%3E%3Ccircle cx='370' cy='105' r='1.2' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='384' cy='381' r='0.6' fill='white' fill-opacity='0.26'/%3E%3Ccircle cx='128' cy='61' r='1.2' fill='white' fill-opacity='0.34'/%3E%3Ccircle cx='1393' cy='437' r='0.8' fill='white' fill-opacity='0.2'/%3E%3Ccircle cx='928' cy='370' r='0.8' fill='white' fill-opacity='0.19'/%3E%3Ccircle cx='368' cy='249' r='0.6' fill='white' fill-opacity='0.38'/%3E%3Ccircle cx='1075' cy='506' r='0.8' fill='white' fill-opacity='0.19'/%3E%3Ccircle cx='589' cy='74' r='0.6' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='337' cy='350' r='0.7' fill='white' fill-opacity='0.4'/%3E%3Ccircle cx='863' cy='40' r='1.5' fill='white' fill-opacity='0.28'/%3E%3Ccircle cx='1142' cy='321' r='0.8' fill='white' fill-opacity='0.36'/%3E%3Ccircle cx='1217' cy='508' r='1.2' fill='white' fill-opacity='0.2'/%3E%3Ccircle cx='140' cy='95' r='0.8' fill='white' fill-opacity='0.46'/%3E%3Ccircle cx='1360' cy='66' r='0.6' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='634' cy='456' r='0.8' fill='white' fill-opacity='0.24'/%3E%3Ccircle cx='1369' cy='355' r='0.6' fill='white' fill-opacity='0.4'/%3E%3Ccircle cx='727' cy='172' r='1.2' fill='white' fill-opacity='0.24'/%3E%3Ccircle cx='120' cy='223' r='0.8' fill='white' fill-opacity='0.22'/%3E%3Ccircle cx='507' cy='407' r='1.0' fill='white' fill-opacity='0.33'/%3E%3Ccircle cx='1016' cy='82' r='0.7' fill='white' fill-opacity='0.46'/%3E%3Ccircle cx='1125' cy='284' r='0.7' fill='white' fill-opacity='0.44'/%3E%3Ccircle cx='1126' cy='285' r='1.5' fill='white' fill-opacity='0.3'/%3E%3Ccircle cx='734' cy='389' r='0.7' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='360' cy='154' r='0.7' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='24' cy='496' r='1.2' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='577' cy='4' r='0.7' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='756' cy='326' r='0.7' fill='white' fill-opacity='0.35'/%3E%3Ccircle cx='1055' cy='55' r='1.0' fill='white' fill-opacity='0.73'/%3E%3Ccircle cx='1597' cy='401' r='1.0' fill='white' fill-opacity='0.21'/%3E%3Ccircle cx='212' cy='493' r='1.5' fill='white' fill-opacity='0.14'/%3E%3Ccircle cx='390' cy='68' r='0.7' fill='white' fill-opacity='0.46'/%3E%3Ccircle cx='225' cy='348' r='1.2' fill='white' fill-opacity='0.14'/%3E%3Ccircle cx='0' cy='154' r='1.2' fill='white' fill-opacity='0.24'/%3E%3Ccircle cx='744' cy='26' r='0.6' fill='white' fill-opacity='0.75'/%3E%3Ccircle cx='1257' cy='385' r='0.7' fill='white' fill-opacity='0.28'/%3E%3Ccircle cx='711' cy='372' r='1.0' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='999' cy='477' r='1.0' fill='white' fill-opacity='0.17'/%3E%3Ccircle cx='175' cy='147' r='0.6' fill='white' fill-opacity='0.55'/%3E%3Ccircle cx='1516' cy='271' r='1.0' fill='white' fill-opacity='0.46'/%3E%3Ccircle cx='330' cy='23' r='0.7' fill='white' fill-opacity='0.79'/%3E%3Ccircle cx='1081' cy='370' r='0.7' fill='white' fill-opacity='0.31'/%3E%3Ccircle cx='55' cy='305' r='1.5' fill='white' fill-opacity='0.43'/%3E%3Ccircle cx='1425' cy='267' r='1.2' fill='white' fill-opacity='0.29'/%3E%3Ccircle cx='342' cy='364' r='0.7' fill='white' fill-opacity='0.27'/%3E%3Ccircle cx='1595' cy='514' r='0.8' fill='white' fill-opacity='0.17'/%3E%3Ccircle cx='1255' cy='199' r='0.7' fill='white' fill-opacity='0.53'/%3E%3Ccircle cx='1515' cy='232' r='0.7' fill='white' fill-opacity='0.37'/%3E%3Ccircle cx='728' cy='29' r='0.6' fill='white' fill-opacity='0.69'/%3E%3Ccircle cx='967' cy='265' r='0.7' fill='white' fill-opacity='0.41'/%3E%3Ccircle cx='705' cy='457' r='1.5' fill='white' fill-opacity='0.29'/%3E%3Ccircle cx='746' cy='82' r='0.7' fill='white' fill-opacity='0.27'/%3E%3Ccircle cx='962' cy='201' r='0.8' fill='white' fill-opacity='0.27'/%3E%3Ccircle cx='1278' cy='1' r='1.0' fill='white' fill-opacity='0.79'/%3E%3Ccircle cx='704' cy='86' r='1.5' fill='white' fill-opacity='0.28'/%3E%3Ccircle cx='795' cy='204' r='1.0' fill='white' fill-opacity='0.56'/%3E%3Ccircle cx='888' cy='340' r='0.6' fill='white' fill-opacity='0.38'/%3E%3Ccircle cx='1478' cy='405' r='1.0' fill='white' fill-opacity='0.21'/%3E%3Ccircle cx='173' cy='162' r='0.7' fill='white' fill-opacity='0.65'/%3E%3Ccircle cx='56' cy='154' r='1.2' fill='white' fill-opacity='0.62'/%3E%3Ccircle cx='1343' cy='149' r='1.2' fill='white' fill-opacity='0.59'/%3E%3Ccircle cx='971' cy='358' r='0.7' fill='white' fill-opacity='0.28'/%3E%3C/svg%3E"),radial-gradient(ellipse 90% 520px at 25% -60px,var(--sky-1),transparent 72%),radial-gradient(ellipse 70% 420px at 90% -40px,var(--sky-2),transparent 70%);background-position:top center,0 0,0 0;background-size:1600px 520px,auto,auto}
.opening-copy p#day-greeting{transition:color .6s}
.sky-arc{max-width:360px;margin-top:1rem}
.sky-arc svg{display:block;width:100%;height:auto;overflow:visible}
.sky-horizon{stroke:rgba(255,255,255,.14);stroke-width:1}
.sky-track{fill:none;stroke:rgba(255,255,255,.14);stroke-width:1.5;stroke-dasharray:1.2 1.6}
.sky-progress{fill:none;stroke:var(--gold);stroke-width:2.2;stroke-linecap:round;filter:drop-shadow(0 0 4px var(--gold))}
.sky-sun{fill:var(--gold);filter:drop-shadow(0 0 8px var(--gold)) drop-shadow(0 0 16px var(--gold))}
.sky-moon{fill:#f3f0e0;filter:drop-shadow(0 0 6px rgba(243,240,224,.8))}
.sky-arc p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.2rem .8rem;margin:.45rem 0 0;font-size:.8rem;color:var(--muted)}
.sky-arc p b{color:var(--gold);font-weight:700}

/* Logged-out: fold Daily Intelligence into one line instead of seven empty boxes */
.desk-locked-note{display:none}
.intelligence-desk.is-locked{padding:2.2rem 0}
.intelligence-desk.is-locked .desk-locked-note{display:block;margin-top:.9rem;padding:.8rem 1rem;border:1px dashed var(--line);border-radius:.6rem;color:var(--muted);font-size:.84rem}
.intelligence-desk.is-locked .desk-jumps,.intelligence-desk.is-locked .command-surface,.intelligence-desk.is-locked .intelligence-grid,.intelligence-desk.is-locked .source-integrity{display:none}
@media(max-width:760px){.sky-arc{max-width:none}}
/* ── Section panels v2 · 2026-09-30: each area is its own tinted card so sections read apart ── */
html[data-daypart="dawn"]{--gold:#f6b26b;--sky-1:rgba(246,140,70,.5);--sky-2:rgba(150,80,170,.38);--sky-glow:rgba(255,190,120,.22)}
html[data-daypart="day"]{--gold:#8ccaff;--sky-1:rgba(60,140,240,.5);--sky-2:rgba(30,100,200,.34);--sky-glow:rgba(140,200,255,.2)}
html[data-daypart="dusk"]{--gold:#f59bc3;--sky-1:rgba(236,100,140,.5);--sky-2:rgba(120,70,200,.4);--sky-glow:rgba(255,150,190,.2)}
html[data-daypart="night"]{--gold:#b9b2ff;--sky-1:rgba(80,80,210,.4);--sky-2:rgba(30,30,110,.5);--sky-glow:rgba(185,178,255,.16)}

.day-shell .opening{
  position:relative;isolation:isolate;overflow:hidden;
  margin-top:.6rem;padding:clamp(1.4rem,3vw,2.6rem) clamp(1.2rem,3vw,2.6rem) clamp(1.4rem,2.5vw,2.2rem);
  border:1px solid color-mix(in srgb,var(--gold) 35%,transparent);border-bottom:1px solid color-mix(in srgb,var(--gold) 35%,transparent);
  border-radius:26px;
  background:
    radial-gradient(ellipse 60% 120% at 12% 0%,var(--sky-1),transparent 70%),
    radial-gradient(ellipse 55% 110% at 95% 10%,var(--sky-2),transparent 72%),
    radial-gradient(ellipse 80% 60% at 50% 115%,var(--sky-glow),transparent 70%),
    linear-gradient(180deg,#0b1328,#070b18);
  box-shadow:0 20px 60px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)
}
html[data-daypart="night"] .day-shell .opening::before{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.9;pointer-events:none;
  background-image:radial-gradient(1.2px 1.2px at 8% 20%,#fff,transparent),radial-gradient(1px 1px at 22% 62%,#fff,transparent),radial-gradient(1.4px 1.4px at 37% 14%,#fff,transparent),radial-gradient(1px 1px at 48% 44%,#fff,transparent),radial-gradient(1.2px 1.2px at 63% 26%,#fff,transparent),radial-gradient(1px 1px at 71% 70%,#fff,transparent),radial-gradient(1.5px 1.5px at 84% 18%,#fff,transparent),radial-gradient(1px 1px at 92% 52%,#fff,transparent),radial-gradient(1px 1px at 30% 85%,#fff,transparent),radial-gradient(1.2px 1.2px at 56% 78%,#fff,transparent)
}
.day-shell .opening h1{text-shadow:0 2px 30px rgba(0,0,0,.35)}

.day-shell .command-grid,.day-shell .daily-depth{gap:18px;border-bottom:0;margin-top:18px}
.day-shell .system-rail,.day-shell .dayline,.day-shell .brief-rail,.day-shell .routine-lane,.day-shell .work-lane,.day-shell .intelligence-desk{
  --sec:var(--blue);
  position:relative;isolation:isolate;min-width:0;
  padding:1.6rem 1.8rem 1.8rem;border:1px solid color-mix(in srgb,var(--sec) 26%,transparent);border-radius:20px;
  background:linear-gradient(165deg,color-mix(in srgb,var(--sec) 11%,#0a1020) 0%,#080c19 55%);
  box-shadow:0 12px 40px rgba(0,0,0,.28)
}
.day-shell .system-rail::after,.day-shell .dayline::after,.day-shell .brief-rail::after,.day-shell .routine-lane::after,.day-shell .work-lane::after,.day-shell .intelligence-desk::after{
  content:"";position:absolute;left:1.8rem;right:1.8rem;top:0;height:3px;border-radius:0 0 4px 4px;background:var(--sec);box-shadow:0 0 18px var(--sec);opacity:.85
}
.day-shell .system-rail{--sec:#79b7f2;overflow:hidden}
.day-shell .dayline{--sec:var(--gold)}
.day-shell .brief-rail{--sec:#5bcbd0;margin-top:0}
.day-shell .routine-lane{--sec:#6fd39a}
.day-shell .work-lane{--sec:#b097ed}
.day-shell .intelligence-desk{--sec:#f0a868;margin-top:18px}
.day-shell .rail-heading h2::before,.day-shell .section-head h2::before,.day-shell .intelligence-heading h2::before{
  content:"";display:inline-block;width:.5em;height:.5em;margin-right:.45em;border-radius:3px;vertical-align:.14em;
  background:var(--sec);box-shadow:0 0 12px var(--sec)
}
.day-shell .rail-heading span,.day-shell .section-head p{color:color-mix(in srgb,var(--sec) 35%,var(--muted))}
.day-shell .desk-kicker{color:var(--sec)}
.day-shell .system-route svg{background:rgba(0,0,0,.28)}
.day-shell .routine-progress strong,.day-shell .progress-track i{color:#6fd39a;background:none}
.day-shell .progress-track i{background:#6fd39a}
.day-shell .brief-tabs button[aria-selected="true"]{color:#5bcbd0;border-bottom-color:#5bcbd0}
.day-shell .daily-highlight{border-left-color:#5bcbd0;background:linear-gradient(90deg,rgba(91,203,208,.12),transparent)}
.day-shell .daily-highlight span{color:#5bcbd0}
.day-shell .work-item time{color:#c7b8ff}
.day-shell .source-note{margin-top:10px}
@media(max-width:1100px){.day-shell .brief-rail{grid-column:1/-1}}
@media(max-width:760px){
  .day-shell .opening{border-radius:20px}
  .day-shell .command-grid,.day-shell .daily-depth{gap:14px;margin-top:14px}
  .day-shell .system-rail,.day-shell .dayline,.day-shell .brief-rail,.day-shell .routine-lane,.day-shell .work-lane,.day-shell .intelligence-desk{padding:1.3rem 1.1rem 1.4rem;border-bottom:1px solid color-mix(in srgb,var(--sec) 26%,transparent)}
  .day-shell .system-rail::after,.day-shell .dayline::after,.day-shell .brief-rail::after,.day-shell .routine-lane::after,.day-shell .work-lane::after,.day-shell .intelligence-desk::after{left:1.1rem;right:1.1rem}
  .day-shell .daily-depth{display:grid;grid-template-columns:1fr}
}
/* ── Today v3 · 2026-09-30: countdown badges, task/deal chips, tickable routines ── */
.row-badge.is-soon,.work-countdown.is-soon{color:#ffd08a;border-color:rgba(255,190,110,.55);background:rgba(255,170,80,.12)}
.row-badge.is-overdue,.work-countdown.is-overdue{color:#ffb3ad;border-color:rgba(255,120,110,.6);background:rgba(255,90,80,.14)}
.row-badge.is-done{color:#8fe3b1;border-color:rgba(111,211,154,.5);background:rgba(111,211,154,.1)}
.row-badge.is-muted{color:var(--muted);border-color:var(--line)}
.day-shell .work-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.work-kind{font:700 .64rem var(--font-head);letter-spacing:.04em;padding:.22rem .5rem;border-radius:999px;border:1px solid;white-space:nowrap}
.work-kind.task{color:#9fcbff;border-color:rgba(121,183,242,.5);background:rgba(121,183,242,.1)}
.work-kind.deal{color:#d5c6ff;border-color:rgba(176,151,237,.55);background:rgba(176,151,237,.12)}
.day-shell .work-item time.work-countdown{font:700 .72rem var(--font-head);padding:.25rem .55rem;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:none}
.work-subhead{margin:1.1rem 0 .1rem;color:var(--muted);font:700 .72rem var(--font-head);letter-spacing:.04em}
.routine-phase{margin:1rem 0 .15rem;color:#8fe3b1;font:700 .74rem var(--font-head);letter-spacing:.03em}
.routine-phase:first-child{margin-top:0}
.day-shell button.routine-item{grid-template-columns:auto minmax(0,1fr);width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);color:var(--text);font:inherit;cursor:pointer;padding:.7rem .4rem;border-radius:.4rem;transition:background .15s}
.day-shell button.routine-item:hover{background:rgba(111,211,154,.07)}
.day-shell button.routine-item:focus-visible{outline:2px solid #6fd39a;outline-offset:1px}
.day-shell button.routine-item .routine-check{transition:background .15s,border-color .15s,color .15s}
.day-shell button.routine-item:hover .routine-check{border-color:#6fd39a}
.day-shell button.routine-item.done .routine-check{background:#6fd39a;border-color:#6fd39a;color:#061018}
.day-shell .routine-list{max-height:none}
@media(min-width:1500px){.day-shell .routine-list{display:block;columns:2;column-gap:2rem}.day-shell .routine-phase{break-after:avoid;break-inside:avoid}.day-shell button.routine-item{break-inside:avoid}}
.day-shell .priority-list::before{left:5.55rem}.day-shell .priority-row{grid-template-columns:5.6rem 1fr}.day-shell .priority-row::before{left:5.25rem}.day-shell .priority-row .time{white-space:nowrap}
@media(max-width:760px){.day-shell .priority-list::before{left:5.05rem}.day-shell .priority-row{grid-template-columns:5.1rem 1fr;gap:.9rem}.day-shell .priority-row::before{left:4.75rem}}
/* ── Weather chip (assets/today-weather.js) ── */
.sky-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem 1.6rem;margin-top:1rem}
.sky-row .sky-arc{margin-top:0;flex:1 1 280px}
.today-weather{flex:0 1 330px;padding:.8rem 1rem;border:1px solid color-mix(in srgb,var(--gold) 30%,transparent);border-radius:16px;background:rgba(5,9,20,.45);backdrop-filter:blur(6px)}
.tw-now{display:flex;align-items:center;gap:.6rem}
.tw-icon{font-size:1.9rem;line-height:1}
.tw-now strong{font:700 2rem var(--font-head);line-height:1}
.tw-now span{display:flex;flex-direction:column;font-weight:700;font-size:.9rem}
.tw-now small{color:var(--muted);font-weight:500;font-size:.72rem}
.tw-meta{display:flex;flex-wrap:wrap;gap:.25rem .8rem;margin:.55rem 0 .2rem;font-size:.76rem;color:var(--text)}
.tw-meta .is-wet{color:#8fd0ff;font-weight:700}
.tw-source{display:block;color:var(--muted);font-size:.64rem}
@media(max-width:760px){.today-weather{flex:1 1 100%}}
/* ── Today v4 · 2026-10-08: deal tabs/cards, status write-back, undo toast ── */
.deal-focus{margin:.2rem 0 .8rem;color:var(--text);font-size:.8rem;font-weight:700;border-left:3px solid #c7b8ff;padding-left:.7rem}.deal-focus:empty{display:none}
.deal-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.8rem}
.deal-tab{font:700 .72rem var(--font-body);color:var(--muted);background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:999px;padding:.4rem .75rem;cursor:pointer}
.deal-tab:hover{color:var(--text)}
.deal-tab[aria-selected="true"]{color:#14102a;background:#c7b8ff;border-color:#c7b8ff}
.deal-tab:focus-visible,.done-btn:focus-visible,.status-select:focus-visible,.toast-undo:focus-visible{outline:2px solid #c7b8ff;outline-offset:2px}
.deal-card{border-top:1px solid var(--line);border-left:4px solid var(--line);padding:0 0 0 .7rem}
.deal-card:last-child{border-bottom:1px solid var(--line)}
.deal-card.level-overdue{border-left-color:#ff8a80}.deal-card.level-urgent{border-left-color:#ffb86b}.deal-card.level-near{border-left-color:#ffd98a}.deal-card.level-later{border-left-color:#6fd39a}.deal-card.level-none{border-left-color:#8b93a7}
.deal-card summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:.8rem 0;cursor:pointer;list-style:none}
.deal-card summary::-webkit-details-marker{display:none}
.deal-card summary::after{content:"⌄";grid-column:2;grid-row:1;display:none}
.deal-head strong{display:block;font-size:.9rem;overflow-wrap:anywhere}.deal-head small{display:block;color:var(--muted);font-size:.72rem;margin-top:.18rem}
.deal-card summary .work-countdown{font:700 .7rem var(--font-head);padding:.25rem .55rem;border-radius:999px;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.deal-card summary .work-countdown.is-soon{color:#ffd08a;border-color:rgba(255,190,110,.55);background:rgba(255,170,80,.12)}
.deal-card summary .work-countdown.is-overdue{color:#ffb3ad;border-color:rgba(255,120,110,.6);background:rgba(255,90,80,.14)}
.deal-body{padding:0 0 1rem}
.deal-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.35rem .9rem;margin:0 0 .8rem;font-size:.78rem}
.deal-facts dt{color:var(--muted)}.deal-facts dd{margin:0;color:var(--text);overflow-wrap:anywhere}
.row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.intelligence-row.has-actions{grid-template-columns:minmax(0,1fr) auto}.intelligence-row.has-actions .row-actions{grid-column:1/-1;margin-top:.1rem}
.done-btn{font:700 .72rem var(--font-body);color:#06210f;background:#6fd39a;border:1px solid #6fd39a;border-radius:.5rem;padding:.4rem .75rem;cursor:pointer}
.done-btn:hover{filter:brightness(1.08)}
.status-select{color-scheme:dark;font:600 .72rem var(--font-body);color:#e8ecf4;background:#0e1626;border:1px solid rgba(255,255,255,.28);border-radius:.5rem;padding:.38rem .5rem;max-width:100%}
.deal-open{color:#c7b8ff;font-size:.74rem;font-weight:700;text-decoration:none}.deal-open:hover{text-decoration:underline}
.today-toast{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:.9rem;max-width:min(92vw,560px);padding:.7rem 1rem;border-radius:.8rem;background:#101a2e;color:#f1f4fb;border:1px solid rgba(199,184,255,.55);box-shadow:0 10px 30px rgba(0,0,0,.45);font-size:.8rem}
.today-toast[hidden]{display:none}
.toast-undo{font:700 .76rem var(--font-body);color:#14102a;background:#c7b8ff;border:0;border-radius:.45rem;padding:.35rem .7rem;cursor:pointer;white-space:nowrap}
@media(max-width:760px){.deal-card summary{grid-template-columns:1fr}.deal-card summary .work-countdown{justify-self:start}}
.status-label{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.7rem;font-weight:700}
.quick-add{margin-top:1rem;border:1px solid var(--line);border-radius:.8rem;padding:.2rem .9rem;background:rgba(255,255,255,.03)}
.quick-add summary{cursor:pointer;font:700 .8rem var(--font-body);color:#c7b8ff;padding:.7rem 0}
.quick-add-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;padding:.2rem 0 1rem;font-size:.72rem;color:var(--muted)}
.quick-add-form label{display:grid;gap:.25rem;font-weight:700}
.quick-add-form input[type=text],.quick-add-form input[type=date],.quick-add-form select{color-scheme:dark;font:600 .78rem var(--font-body);color:#e8ecf4;background:#0e1626;border:1px solid rgba(255,255,255,.28);border-radius:.5rem;padding:.45rem .55rem}
.quick-add-form .qa-wide{grid-column:1/-1}.qa-kind{grid-column:1/-1;display:flex;gap:1rem;border:0;padding:0;margin:0}.qa-kind label{display:flex;align-items:center;gap:.35rem;color:var(--text)}
.quick-add-form button{align-self:end}.quick-add-form p{grid-column:1/-1;margin:0}
.status-select.date-input{padding:.3rem .45rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.priority-row .priority-actions{margin-top:.5rem}
.recent-done{margin:.9rem 0 0;border:1px solid rgba(111,211,154,.35);border-radius:.6rem;background:rgba(111,211,154,.06);padding:.2rem .8rem}
.recent-done>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font:700 .82rem var(--font-body);color:#9fe3bb}
.recent-done-help{margin:0 0 .4rem;color:var(--muted);font-size:.72rem;line-height:1.5}
.reopen-btn{font:700 .72rem var(--font-body);color:#14102a;background:#c7b8ff;border:1px solid #c7b8ff;border-radius:.5rem;padding:.4rem .75rem;cursor:pointer;min-height:36px}
.reopen-btn:hover{filter:brightness(1.08)}.reopen-btn:focus-visible{outline:2px solid #c7b8ff;outline-offset:2px}
.deal-edit{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem;margin:.9rem 0 .7rem;padding-top:.8rem;border-top:1px dashed rgba(255,255,255,.14)}
.deal-edit .status-label{flex-direction:column;align-items:flex-start}
.deal-edit-wide{flex:1 1 100%}.deal-next{width:100%;resize:vertical;line-height:1.5;font-weight:500}
/* 2026-10-08: long Thai option glosses made selects size to their widest option and spill into the next column */
.quick-add-form label,.deal-edit .status-label{min-width:0}
.quick-add-form select,.quick-add-form input[type=text],.quick-add-form input[type=date]{width:100%;min-width:0;max-width:100%;box-sizing:border-box;text-overflow:ellipsis}
.row-actions .status-label{min-width:0;max-width:100%}.row-actions .status-select{min-width:0;max-width:100%;text-overflow:ellipsis}
.deal-edit .status-select{box-sizing:border-box;max-width:100%}
/* route timeline: the last item's connector ran past the list into empty space */
.system-route:last-of-type::before{display:none}

/* 2026-10-11 North Star & Task: Goals/Dreams first, systems folded; Content Studio split out */
.north-star{padding:1.8rem 0 2.2rem;border-bottom:1px solid var(--line)}
.north-star .section-head h2{margin:0;font:700 clamp(1.6rem,2.6vw,2.4rem) var(--font-head);letter-spacing:-.01em}
.north-star .section-head p{margin:.3rem 0 0;color:var(--muted);font-size:.86rem}
.north-star-tabs{display:flex;gap:.4rem;margin:0 0 1rem}
.north-star-tabs button{min-height:44px;display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:.45rem 1rem;font:700 .86rem var(--font-body);cursor:pointer;transition:background .25s cubic-bezier(.22,1,.36,1),color .25s,border-color .25s}
.north-star-tabs button:hover{color:var(--text);border-color:rgba(226,189,102,.5)}
.north-star-tabs button[aria-selected="true"]{background:var(--gold);border-color:var(--gold);color:#111827}
.north-star-tabs .tab-count{min-width:1.5rem;padding:.05rem .4rem;border-radius:999px;background:rgba(255,255,255,.08);font-size:.74rem;text-align:center}
.north-star-tabs button[aria-selected="true"] .tab-count{background:rgba(17,24,39,.16)}
.goal-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.goal-gallery>.empty{grid-column:1/-1}
.goal-card{display:grid;grid-template-rows:auto 1fr;min-width:0;border:1px solid rgba(226,189,102,.22);border-radius:.9rem;overflow:hidden;background:var(--surface);text-decoration:none;color:var(--text);transition:transform .3s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .3s;animation:goal-in .45s cubic-bezier(.22,1,.36,1) both}
.goal-card:nth-child(2){animation-delay:.04s}.goal-card:nth-child(3){animation-delay:.08s}.goal-card:nth-child(4){animation-delay:.12s}.goal-card:nth-child(n+5){animation-delay:.16s}
.goal-card:hover,.goal-card:focus-visible{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.goal-media{display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(135deg,var(--surface-2),#18233b);overflow:hidden}
.goal-media img{width:100%;height:100%;object-fit:cover;display:block}
.goal-media-icon{font-size:2.4rem}
.goal-copy{display:grid;gap:.2rem;padding:.85rem 1rem 1rem;min-width:0}
.goal-copy strong{font:700 1rem var(--font-head);line-height:1.3;overflow-wrap:anywhere}
.goal-copy small{color:var(--muted);font-size:.76rem}
.goal-copy .goal-date{color:var(--gold);font-weight:700}
.north-star-projects{margin-top:1.6rem}
.north-star-projects h3{margin:0 0 .5rem;font:700 1.05rem var(--font-head)}
@keyframes goal-in{from{opacity:.001;transform:translateY(8px)}to{opacity:1;transform:none}}
.command-grid.is-solo{grid-template-columns:1fr}.command-grid.is-solo .dayline{padding-left:0}
.systems-fold{margin:2rem 0 0;border:1px solid var(--line);border-radius:.8rem;background:var(--surface)}
.systems-fold>summary{min-height:48px;display:flex;align-items:center;padding:.8rem 1.1rem;cursor:pointer;font:700 .92rem var(--font-head);color:var(--muted);list-style:none}
.systems-fold>summary::-webkit-details-marker{display:none}
.systems-fold>summary::after{content:"▾";margin-left:auto;transition:transform .25s}
.systems-fold[open]>summary::after{transform:rotate(180deg)}
.systems-fold>summary:hover{color:var(--text)}
.systems-fold .system-rail.in-fold{padding:0 1.1rem 1.2rem;border:0}
.studio-opening h1{max-width:none}
.studio-lede{color:var(--muted)!important;font-weight:500!important;max-width:62ch}.studio-lede a{color:var(--gold)}
.studio-desk .work-lane{padding-top:1.5rem}
@media(max-width:760px){.north-star{padding:1.2rem .75rem 1.6rem}.goal-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.7rem}.goal-copy{padding:.7rem .75rem .8rem}.command-grid.is-solo .dayline{padding:1.6rem .75rem}.systems-fold{margin:1.5rem .75rem 0}.studio-desk .work-lane{padding:1.45rem 0!important}}
@media(prefers-reduced-motion:reduce){.goal-card{animation:none}.goal-card:hover{transform:none}}

/* 2026-10-17 day/night pair: the systems rail inside the open fold is a daylight card in light mode */
html[data-theme=light] .systems-fold .system-rail.in-fold{background:linear-gradient(165deg,#ffffff,#f3f6fb)!important}
