:root { color-scheme: dark; --background:#000; --surface:#0b1118; --text:#f2f8ff; --label:#afd7ff; --control:#afd7ff; --brand:#00d7ff; --border:#5f5f87; --divider:#33444e; --muted:#91a0ad; --warning:#e9c581; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,monospace; background:var(--background); color:var(--text); font-synthesis:none; }
* { box-sizing:border-box; letter-spacing:0; }
body { margin:0; min-width:280px; }
button,input,select { font:inherit; }
button,a,select,input { -webkit-tap-highlight-color:transparent; }
button { appearance:none; border:0; border-radius:0; background:none; color:inherit; cursor:pointer; min-height:44px; min-width:44px; padding:0 8px; }
button:disabled { opacity:.48; cursor:default; }
a { color:var(--label); text-decoration:none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid var(--control); outline-offset:3px; }
input,select { min-height:44px; border:1px solid var(--border); background:var(--surface); color:var(--text); padding:8px; border-radius:0; max-width:100%; }
input[type=checkbox] { width:24px; height:24px; min-height:24px; accent-color:var(--control); flex:none; }
input[role=switch] { appearance:none; width:48px; height:28px; background:#26313c; border:1px solid var(--border); padding:3px; cursor:pointer; position:relative; }
input[role=switch]::before { content:''; display:block; width:20px; height:20px; background:var(--text); }
input[role=switch]:checked { background:var(--control); border-color:var(--control); }
input[role=switch]:checked::before { background:#000; transform:translateX(20px); }
h1,h2,p { overflow-wrap:anywhere; }
button strong { overflow-wrap:anywhere; }
.shell { max-width:700px; margin:0 auto; height:100dvh; height:100svh; display:flex; flex-direction:column; background:#000; padding-top:env(safe-area-inset-top); }
.heading { min-height:88px; padding:22px 24px 14px; display:flex; align-items:center; gap:12px; flex-shrink:0; }
.heading h1 { color:var(--label); font-size:28px; font-weight:650; margin:0; line-height:1.2; }
.heading .back + h1 { font-size:18px; color:var(--text); }
.report-entry { font-size:12px; color:var(--label); }
.heading-tools { display:flex; align-items:center; margin-left:auto; flex:none; }
.news-mark { color:var(--brand); font-size:34px; line-height:1; }
.icon { font-size:26px; color:var(--label); flex:none; }
.back { font-size:36px; margin-left:-12px; }
.save-button { color:var(--label); font-size:13px; }
.scroll { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--divider) transparent; padding:0 24px 24px; scroll-behavior:auto; }
.navigation { display:flex; border-top:1px solid var(--border); margin:0 24px; padding:8px 0 max(12px,env(safe-area-inset-bottom)); flex-shrink:0; }
.navigation button { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:1; font-size:12px; gap:4px; color:var(--muted); min-height:52px; }
.navigation button[aria-current] { color:var(--brand); }
.nav-icon { font-size:24px; line-height:1.2; }
.tabs { display:flex; gap:26px; border-bottom:1px solid var(--border); min-height:48px; margin-bottom:16px; }
.tabs button { padding:0 2px; position:relative; color:var(--muted); font-size:16px; }
.tabs button[aria-pressed=true] { color:var(--label); font-weight:600; }
.tabs button[aria-pressed=true]::after { content:''; position:absolute; height:2px; background:var(--label); bottom:-1px; left:0; right:0; }
.tabs .refresh { margin-left:auto; font-size:25px; color:var(--label); }
.search { display:flex; gap:4px; margin:0 0 12px; border:1px solid var(--divider); padding-left:12px; }
.search input { width:100%; flex:1; min-width:0; padding-left:0; background:none; border:0; font-size:14px; }
.search button { color:var(--label); font-size:13px; }
.search .icon { font-size:22px; }
.categories { display:flex; gap:6px; margin:0 -4px 8px; overflow-x:auto; scrollbar-width:none; flex:none; }
.categories button { flex:none; padding:0 11px; color:var(--muted); font-size:14px; white-space:nowrap; }
.categories button[aria-pressed=true] { color:var(--control); background:#afd7ff14; box-shadow:inset 0 -1px var(--control); }
.news-intro { margin:0 0 16px; color:var(--muted); font-size:13px; line-height:1.8; }
.industry-heading { padding:20px 0 14px; }
.feed-filters { border-bottom:1px solid var(--divider); }
.feed-filters summary { min-height:44px; padding:12px 0; color:var(--label); font-size:13px; line-height:20px; cursor:pointer; }
.filter-body { padding-bottom:12px; }
.selection-filter { display:flex; flex-wrap:wrap; gap:8px; }
.selection-filter button { padding:0 11px; font-size:13px; color:var(--muted); }
.selection-filter button[aria-pressed=true] { color:var(--control); background:#afd7ff14; }
.feed-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:11px; min-height:44px; margin-bottom:6px; }
.feed-meta select { min-height:44px; border:0; background:none; padding:0 0 0 8px; color:var(--muted); font-size:11px; }
.source-picker { border-bottom:1px solid var(--divider); padding-bottom:4px; }
.source-toggle { color:var(--label); font-size:13px; text-align:left; width:100%; overflow-wrap:anywhere; }
.source-options { padding:4px 8px 12px; max-height:320px; overflow:auto; overscroll-behavior:contain; }
.source-options[hidden] { display:none; }
.source-option { display:flex; width:100%; gap:12px; justify-content:space-between; align-items:center; padding:10px 4px; text-align:left; font-size:13px; line-height:1.6; }
.source-option span { overflow-wrap:anywhere; min-width:0; }
.source-option small { flex:none; color:var(--muted); }
.source-option[aria-pressed=true] { color:var(--brand); }
.source-clear { padding:0 8px; }
.muted { color:var(--muted); font-size:13px; line-height:1.8; }
.compact { margin:8px 0; font-size:12px; }
.intro { padding:12px 0; }
.hot-strip { padding:4px 0 12px; border-bottom:1px solid var(--divider); margin-bottom:4px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.section-heading h2 { margin:0; font-size:14px; font-weight:600; color:var(--label); }
.text-button { color:var(--label); font-size:12px; padding:0; }
.hot-list,.report-list { list-style:none; padding:0; margin:0; }
.hot-row { width:100%; display:flex; gap:12px; padding:12px 0; align-items:flex-start; text-align:left; }
.rank { color:#e9c581; width:22px; flex:none; padding-top:3px; font-size:14px; }
.hot-list li:nth-child(2) .rank { color:#91dbc9; }
.hot-copy { flex:1; min-width:0; }
.hot-copy strong { display:block; font-size:16px; line-height:1.6; font-weight:500; }
.hot-copy small { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:11px; line-height:1.8; color:var(--muted); margin-top:5px; }
.hot-row > span:last-child { color:var(--muted); padding-top:4px; }
.story { display:block; width:100%; text-align:left; padding:22px 0; border-bottom:1px solid var(--divider); }
.kicker { display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-size:12px; color:var(--muted); line-height:1.6; }
.category { color:var(--label); }
.category-paper { color:#e9c581; }
.category-industry { color:#dda69c; }
.category-ai-products,.category-tip { color:#91dbc9; }
.read { margin-left:auto; color:var(--muted); font-size:11px; }
.story h2 { margin:9px 0; font-size:18px; line-height:1.55; font-weight:600; }
.story p { font-size:14px; line-height:1.8; color:#b4c3ce; margin:0 0 14px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.source { display:flex; gap:8px; align-items:flex-start; color:var(--muted); font-size:11px; line-height:1.7; }
.source > span:first-child { flex:1; min-width:0; overflow-wrap:anywhere; }
.source > span:nth-child(2) { flex:none; }
.source > span:last-child { color:var(--label); }
.list-end { color:var(--muted); text-align:center; font-size:12px; padding:24px 0 0; }
.outline,.primary { display:inline-flex; min-height:44px; justify-content:center; align-items:center; padding:10px 16px; border:1px solid var(--border); color:var(--label); font-size:14px; gap:4px; }
.primary { color:#000; border-color:var(--control); background:var(--control); font-weight:600; }
.load-more { width:100%; margin-top:20px; }
.state { min-height:280px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px 8px; gap:16px; }
.state-mark { font-size:30px; color:var(--label); }
.state h2 { font-size:18px; line-height:1.5; margin:0; font-weight:500; }
.state p { margin:0; color:var(--muted); font-size:14px; line-height:1.9; max-width:360px; }
.notice { display:flex; align-items:center; gap:8px; padding:10px 12px; font-size:12px; line-height:1.8; color:var(--warning); border-left:2px solid var(--warning); background:#e9c5810a; margin:12px 0; }
.notice span { flex:1; }
.notice button { font-size:12px; flex:none; }
.language { display:flex; align-items:center; gap:6px; border-top:1px solid var(--divider); padding:12px 0 8px; }
.language button { color:var(--muted); font-size:14px; padding:0 12px; }
.language button[aria-pressed=true] { color:#000; background:var(--control); }
.language > span { font-size:11px; margin-left:auto; }
.article { font-size:16px; line-height:1.9; padding:18px 0 8px; }
.article h1 { font-size:25px; line-height:1.55; margin:10px 0 18px; font-weight:600; }
.article h2 { color:var(--label); font-size:16px; font-weight:600; margin:26px 0 10px; line-height:1.7; }
.article h3 { font-size:16px; }
.article p { margin:18px 0; line-height:1.9; }
.article-source { color:var(--muted); font-size:12px; line-height:1.8; padding-bottom:20px; border-bottom:1px solid var(--divider); }
.lede { border-left:2px solid var(--label); padding-left:14px; color:#c6e3ff; margin:24px 0; }
.lede p { margin:12px 0; }
.reason { border-top:1px solid var(--divider); margin-top:24px; }
.reason p { font-size:14px; color:#b4c3ce; }
.article .reader-note { font-size:12px; color:var(--muted); border-top:1px solid var(--divider); padding-top:16px; }
.reader-footer { border-top:1px solid var(--border); margin-top:28px; padding-top:16px; display:flex; gap:12px; align-items:center; justify-content:space-between; }
.reader-footer > span { font-size:11px; }
.reader-footer a { flex:none; }
.full-body { overflow-wrap:anywhere; }
.full-body pre,.full-body table { overflow:auto; max-width:100%; display:block; font-size:13px; }
.full-body blockquote { margin:16px 0; padding-left:16px; border-left:2px solid var(--divider); color:#b4c3ce; }
.full-body li { margin:8px 0; }
.latest-development { border-left:2px solid #91dbc9; padding-left:14px; }
.latest-development h2 { color:#91dbc9; }
.report-row { display:block; width:100%; text-align:left; padding:18px 0; border-bottom:1px solid var(--divider); }
.report-row strong { display:block; font-weight:500; font-size:16px; line-height:1.7; margin:8px 0; }
.report-row p { font-size:14px; line-height:1.8; color:#b4c3ce; margin:8px 0; }
.action-label { display:block; color:var(--label); font-size:12px; margin-top:8px; }
.row-link { width:100%; text-align:left; padding:12px 0; font-size:14px; color:var(--label); border-bottom:1px solid var(--divider); line-height:1.8; }
.chips { display:flex; flex-wrap:wrap; gap:8px; padding-top:16px; }
.chip { background:var(--surface); border:1px solid var(--divider); padding:0 12px; font-size:12px; color:var(--label); }
.topic-section h2,.settings-section h2 { color:var(--label); font-size:16px; font-weight:500; margin:22px 0 16px; }
.topic-card { display:block; width:100%; text-align:left; border-bottom:1px solid var(--divider); padding:18px 0; }
.topic-card strong { color:var(--text); font-size:18px; }
.topic-card p { color:#b4c3ce; font-size:14px; line-height:1.8; margin:10px 0; }
.pager { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:24px 0; }
.archive { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); }
.archive select { flex:1; min-width:0; font-size:12px; }
.saved-row { position:relative; }
.saved-row .story { border:0; padding-bottom:12px; }
.saved-row .remove { display:block; width:100%; border-bottom:1px solid var(--divider); text-align:right; font-size:12px; color:var(--muted); }
.unavailable-row { padding:20px 0; color:var(--muted); border-bottom:1px solid var(--divider); font-size:14px; line-height:1.8; }
.unavailable-row p { margin:8px 0; }
.settings-section { border-bottom:1px solid var(--divider); padding-bottom:22px; }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; font-size:14px; padding:10px 0; }
.setting-row strong { font-size:14px; font-weight:500; }
.setting-row small { display:block; font-size:11px; color:var(--muted); line-height:1.8; margin-top:5px; }
.quiet-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:13px; padding:10px 0; }
.quiet-row > span { width:100%; }
.quiet-row label { display:flex; align-items:center; gap:10px; flex:1; }
.quiet-row select { flex:1; }
fieldset { margin:18px 0 6px; padding:0; border:0; min-width:0; }
legend { font-size:14px; }
.category-preferences { display:flex; flex-wrap:wrap; gap:0 18px; }
.category-preferences > p { width:100%; }
.category-preferences label { display:flex; gap:8px; align-items:center; min-height:44px; min-width:80px; font-size:14px; }
.diagnostics { padding:20px 0; color:var(--muted); font-size:12px; line-height:1.8; }
.diagnostics summary { min-height:44px; cursor:pointer; padding:10px 0; }
.candidate { padding:22px 0; border-bottom:1px solid var(--divider); }
.candidate h2 { font-size:17px; line-height:1.6; }
.candidate p { font-size:14px; line-height:1.8; }
#toast { position:fixed; left:50%; bottom:max(92px,env(safe-area-inset-bottom)); transform:translateX(-50%); width:max-content; max-width:calc(100% - 48px); background:#17232f; color:var(--text); border:1px solid var(--divider); padding:12px 16px; font-size:13px; line-height:1.8; opacity:0; visibility:hidden; pointer-events:none; z-index:20; }
#toast.visible { opacity:1; visibility:visible; }
.initial { display:grid; place-items:center; height:100svh; color:var(--muted); font-size:14px; }
.loading-label,.refresh-notice { font-size:12px; color:var(--muted); line-height:1.8; padding:8px 0; }
.skeleton { padding:24px 0; border-bottom:1px solid var(--divider); display:grid; gap:14px; }
.skeleton span { display:block; height:14px; background:#17212b; width:100%; }
.skeleton span:first-child { height:10px; width:35%; }
.skeleton span:nth-child(2) { height:20px; width:90%; }
.skeleton span:last-child { height:10px; width:50%; }
@media (min-width:760px) { .shell { border-left:1px solid #18212a; border-right:1px solid #18212a; } .heading { padding-top:32px; min-height:100px; } .scroll { padding-left:32px; padding-right:32px; } .heading,.navigation { padding-left:32px; padding-right:32px; } .navigation { margin:0; } }
@media (max-width:360px) { .heading { padding-left:18px; padding-right:18px; } .scroll { padding-left:18px; padding-right:18px; } .navigation { margin-left:18px; margin-right:18px; } .language > span { display:none; } .reader-footer { flex-wrap:wrap; } }
@media (prefers-reduced-motion:no-preference) { #toast { transition:opacity .15s; } }

.project-card { border-bottom:1px solid var(--divider); padding:22px 0; }
.project-card h2 { font-size:19px; line-height:1.6; margin:8px 0; }
.project-purpose { font-size:15px; line-height:1.8; color:#b4c3ce; }
.project-stats { display:flex; flex-wrap:wrap; gap:16px; font-size:13px; color:var(--label); }
.project-links { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:16px; }
.project-links .text-button { display:inline-flex; align-items:center; min-height:44px; }
