/* Sections, watermark glyphs (Boa SNIPPET.md) and light theme. Per-section .sec-<id>{--sec-glyph:url(...)} rules are appended by build.py from SECTIONS. */
:root{--wm-opacity:.08}
/* Light theme: weekday colors = Boa's proposals; neutrals = Jack's picks (pending owner OK). Applied when data-theme=light, or OS light with no saved choice. */
:root[data-theme=light]{color-scheme:light;--bg:#F6F8FA;--surface:#FFFFFF;--line:#D0D7DE;--text:#0B0F14;--muted:#4B5563;--dim:#6B7280;--brand:#00905A;--amber:#B26A00;--down:#D63A40;--on-fill:#FFFFFF;
  --mon:#1F6FD1;--tue:#4F55D6;--wed:#8448D6;--thu:#D63A40;--fri:#C85E14;--sat:#9A7B00;--sun:#00905A;--wm-opacity:.10}
@media (prefers-color-scheme: light){:root:not([data-theme=dark]){color-scheme:light;--bg:#F6F8FA;--surface:#FFFFFF;--line:#D0D7DE;--text:#0B0F14;--muted:#4B5563;--dim:#6B7280;--brand:#00905A;--amber:#B26A00;--down:#D63A40;--on-fill:#FFFFFF;
  --mon:#1F6FD1;--tue:#4F55D6;--wed:#8448D6;--thu:#D63A40;--fri:#C85E14;--sat:#9A7B00;--sun:#00905A;--wm-opacity:.10}}
:root[data-theme=dark]{color-scheme:dark}
.theme-tg{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:var(--r-sm);min-width:44px;min-height:44px;font-size:18px;cursor:pointer;margin-left:var(--s3)}
.theme-tg .i-moon{display:none}
:root[data-theme=light] .theme-tg .i-sun{display:none}:root[data-theme=light] .theme-tg .i-moon{display:inline}
@media (prefers-color-scheme: light){:root:not([data-theme=dark]) .theme-tg .i-sun{display:none}:root:not([data-theme=dark]) .theme-tg .i-moon{display:inline}}
header.top .wrap{gap:var(--s2)}.hdr-r{margin-left:auto}
/* Section bar */
.secbar{border-bottom:1px solid var(--line)}
.secnav{display:flex;gap:var(--s2);overflow-x:auto;padding:var(--s2) 0;font:600 var(--fs-sm) var(--font-head);letter-spacing:1px;scrollbar-width:none}
.secnav a{white-space:nowrap;padding:8px 12px;border-radius:var(--r-sm);color:var(--muted);border:1px solid transparent;min-height:40px;display:inline-flex;align-items:center}
.secnav a.on{color:var(--text);border-color:var(--brand)}.secnav a:hover{color:var(--text)}
/* Watermark (Boa) */
.ncard{position:relative;overflow:hidden}
.ncard>*{position:relative;z-index:1}
.ncard::after{content:"";position:absolute;right:8px;bottom:8px;width:120px;height:120px;background:var(--day);opacity:var(--wm-opacity);pointer-events:none;z-index:0;
  -webkit-mask:var(--sec-glyph) center/contain no-repeat;mask:var(--sec-glyph) center/contain no-repeat}
.hero.ncard{overflow:visible}.hero.ncard::after{width:160px;height:160px}
/* Landing */
.lsec{margin-top:var(--s7)}.lsec-h{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);flex-wrap:wrap;margin-bottom:var(--s4)}.lsec-h h2{margin:0;font:800 var(--fs-xl) var(--font-head)}
.ngrid{display:grid;gap:var(--s4);grid-template-columns:1fr}@media(min-width:700px){.ngrid{grid-template-columns:repeat(3,1fr)}}
.ngrid .ncard{background:color-mix(in srgb,var(--day) 6%,var(--surface));border:1px solid var(--line);border-top:6px solid var(--day);border-radius:var(--r-md);padding:var(--s4) var(--s4) var(--s6);min-height:180px}
.ngrid .ncard h3{font:700 var(--fs-md)/1.35 var(--font-head);margin:var(--s3) 0 var(--s2)}.ngrid .ncard p{color:var(--muted);font-size:var(--fs-sm);margin:0}
.ngrid .ncard .meta{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap}.ngrid .hl:hover{text-decoration:underline;text-decoration-color:var(--day)}
.empty-sec{color:var(--dim);border:1px dashed var(--line);border-radius:var(--r-md);padding:var(--s4);margin:0}

.sec-ai-tech{--sec-glyph:url(/assets/sections/ai-tech.svg)}.sec-business{--sec-glyph:url(/assets/sections/business.svg)}.sec-money{--sec-glyph:url(/assets/sections/money.svg)}
