.app-shell .theme-settings{min-width:0;width:100%;margin:0;padding:0;border:0}.app-shell .theme-settings legend{margin-bottom:10px;color:#3b5055;font-size:10px;font-weight:700}.app-shell .theme-settings .field-help{margin:10px 0 0;color:#68777d;font-size:9px;line-height:1.5}.app-shell .theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%}.app-shell .theme-options label{min-width:0;cursor:pointer}.app-shell .theme-options input{position:absolute;width:1px;height:1px;opacity:0}.app-shell .theme-options label>span{display:flex;align-items:center;gap:9px;min-width:0;min-height:51px;padding:11px;border:1px solid #d8ddd7;border-radius:10px;background:#fff;color:#3b5055;font-size:11px;font-weight:650;transition:border-color .16s,background .16s,box-shadow .16s}.app-shell .theme-options svg{flex:none}.app-shell .theme-options label:hover>span{border-color:#6a9994;background:#f7faf7}.app-shell .theme-options input:checked+span{border-color:#4b8e86;background:#edf5f1;box-shadow:inset 0 0 0 1px #4b8e86}.app-shell .theme-options input:focus-visible+span{outline:3px solid #429e97;outline-offset:3px}.app-shell .theme-options input:disabled+span{opacity:.6;cursor:wait}.app-shell[data-theme=light]{color-scheme:light}.app-shell[data-theme=dark]{color-scheme:dark;--ink:#e6eeeb;--muted:#a1b5b6;--paper:#0d181d;--card:#14262c;--line:#2d4349;--navy:#274f59;--teal:#79c9b5;--theme-raised:#1b3037;--theme-hover:#223d44;--theme-input:#102027;--theme-link:#9cdece;--theme-selected:#234d4b;--theme-selected-border:#69b6a4;--theme-danger:#ffb4a3;--theme-danger-surface:#412b2c;background:var(--paper);color:var(--ink);accent-color:var(--teal);scrollbar-color:#4a646a var(--paper)}.app-shell[data-theme=dark] .theme-settings legend{color:var(--ink)}.app-shell[data-theme=dark] .theme-settings .field-help{color:var(--muted)}body:has(.app-shell[data-theme=dark]){background:#0d181d}.app-shell[data-theme=dark] ::selection{background:#426e68;color:#fff}.app-shell[data-theme=dark] :is(button,a,summary):focus-visible{outline:3px solid #a7dd9c;outline-offset:3px}.app-shell[data-theme=dark] :is(input,textarea)::placeholder{color:#91a5a8;opacity:1}.app-shell[data-theme=dark] .sidebar{background:#102b34;border-right:1px solid #27424a}.app-shell[data-theme=dark] .main-nav button.active{background:#274b54}.app-shell[data-theme=dark] :is(.main-nav,.secondary-nav) button:hover{background:#244650;color:#fff}.app-shell[data-theme=dark] :is(.sync-card small,.profile-mini small){color:#a1b8bb}.app-shell[data-theme=dark] .topbar{background:rgba(13,24,29,.94)}.app-shell[data-theme=dark] :is(.search-box,.icon-button,.sync-button,.mobile-settings,.language-switcher,.view-switch,.layout-choice){border-color:var(--line);background:var(--card);color:#bfd1d0}.app-shell[data-theme=dark] .search-box:focus-within{border-color:var(--theme-selected-border);box-shadow:0 0 0 3px rgba(121,201,181,.16)}.app-shell[data-theme=dark] .icon-button span{border-color:var(--card)}.app-shell[data-theme=dark] kbd{border-color:#40575d;background:var(--theme-raised);color:#adbfbd}.app-shell[data-theme=dark] :is(.language-switcher,.view-switch,.layout-choice) button{color:#abc0c1}.app-shell[data-theme=dark] :is(.language-switcher button.active,.view-switch button.selected,.layout-choice button.selected,.mobile-settings.active){background:#31565e;color:var(--lime)}.app-shell[data-theme=dark] :is(.sync-button,.icon-button,.mobile-settings):hover:not(:disabled){border-color:#61828a;background:var(--theme-hover)}.app-shell[data-theme=dark] .sync-button.syncing{color:var(--teal)}.app-shell[data-theme=dark] .primary-button{background:var(--lime);color:#173a40;box-shadow:0 4px 14px rgba(0,0,0,.16)}.app-shell[data-theme=dark] .primary-button span{color:#355848}.app-shell[data-theme=dark] .primary-button:hover:not(:disabled){background:#e4ff75}.app-shell[data-theme=dark] :is(.eyebrow,.title-row p,.page-head p,.section-heading h2 span,.radar-source-heading>span,.radar-source-filter-status,.radar-source-panel>p,.feed-pagination,.freshness-summary,.meta,.meta strong,.update-content>p,.scientific-details,.scientific-details dt,.scientific-details small,.relevance,.aside-title span,.trends-card li>span,.coverage-ring small,.coverage-row p,.topic-card-large>p,.query-box,.query-box span,.topic-stats small,.source-directory p,.source-family>summary>span>small,.source-type,.source-family>summary>i,.users-summary small,.user-growth-card>header span,.user-growth-card p,.user-growth-column>strong,.user-growth-column>small,.user-identity small,.joined-date,.settings-card-head p,.settings-field small,.settings-preference small,.digest-frequency-choice small,.modal>p,.modal label small,.modal-actions>span,.field-group>small,.password-hash-help,.password-requirements,.password-requirements small,.user-notification-choice small,.modal .user-digest-choice>small,.modal-progress>small,.brief-date,.brief-stats span,.brief-number,.brief-list article p,.source-selector small,.source-empty,.topic-template-picker>small){color:var(--muted)}.app-shell[data-theme=dark] :is(.radar-source-heading h2,.update-content h3,.scientific-details dd,.pagination-current,.coverage-row p strong,.empty-state h3,.source-family>summary,.user-growth-card h2,.settings-card-head h2,.settings-field,.settings-preference strong,.digest-frequency-choice strong,.modal label,.field-group>strong,.password-requirements strong,.user-notification-choice strong,.modal .user-digest-choice legend,.brief-stats strong,.brief-list h3,.source-empty strong,.topic-template-picker>strong){color:var(--ink)}.app-shell[data-theme=dark] :is(.section-heading button,.freshness-summary button,.radar-source-filter-status button,.scientific-details dd a,.aside-title button,.source-stack button,.source-directory article>a,.brief-item-footer>a){color:var(--theme-link)}.app-shell[data-theme=dark] :is(.radar-source-panel,.update-card,.trends-card,.coverage-card,.topic-card-large,.source-directory article,.users-summary>div,.user-growth-card,.users-table,.settings-card){border-color:var(--line);background:var(--card)}.app-shell[data-theme=dark] .update-card:hover{border-color:#4d7278;box-shadow:0 10px 24px rgba(0,0,0,.2)}.app-shell[data-theme=dark] :is(.topic-strip button,.radar-source-chip,.pagination-controls button,.filter-row button){border-color:var(--line);background:var(--card);color:#c3d2d1}.app-shell[data-theme=dark] :is(.topic-strip button,.radar-source-chip,.pagination-controls button,.filter-row button):hover:not(:disabled){border-color:#65888c;background:var(--theme-hover)}.app-shell[data-theme=dark] :is(.topic-strip button.selected,.radar-source-chip.selected,.filter-row button.active){border-color:var(--theme-selected-border);background:var(--theme-selected);color:#e5f7e9}.app-shell[data-theme=dark] .topic-strip button b{color:#a5b8b9}.app-shell[data-theme=dark] .topic-strip button.selected b{color:var(--lime)}.app-shell[data-theme=dark] .topic-strip .next-topic{background:transparent}.app-shell[data-theme=dark] .radar-source-chip b{background:var(--theme-raised);color:#c2d6d0}.app-shell[data-theme=dark] .radar-source-chip.selected b{background:#39635b;color:var(--lime)}.app-shell[data-theme=dark] .freshness-summary>span{border-color:var(--line);background:var(--theme-raised)}.app-shell[data-theme=dark] .scientific-details{border-color:var(--line)}.app-shell[data-theme=dark] .scientific-details dl{background:var(--theme-input)}.app-shell[data-theme=dark] :is(.card-actions button,.card-actions a){color:#abc1c0}.app-shell[data-theme=dark] :is(.card-actions button,.card-actions a):hover{background:var(--theme-hover);color:#fff;border-radius:5px}.app-shell[data-theme=dark] .card-actions button.saved{color:var(--lime)}.app-shell[data-theme=dark] :is(.kind,.kind.violet,.topic-chip,.topic-chip.violet,.role-badge.admin,.summary-icon.admin){background:#34314b;color:#cdc3ff}.app-shell[data-theme=dark] :is(.kind.coral,.kind-1,.topic-chip.coral,.chip-1){background:#442f30;color:#ffb7a5}.app-shell[data-theme=dark] :is(.kind.teal,.kind-2,.topic-chip.teal,.chip-2,.summary-icon.active){background:#23463f;color:#a1e1ca}.app-shell[data-theme=dark] :is(.kind.amber,.topic-chip.amber,.role-badge.editor,.summary-icon){background:#413d29;color:#e5cf92}.app-shell[data-theme=dark] :is(.source-icon,.source-icon.violet,.source-icon.coral,.source-icon.teal,.source-icon.amber,.directory-icon,.radar-source-icon,.source-stack>span){background:#eaf0ed;color:#24474e}.app-shell[data-theme=dark] .source-mark.has-logo{background:#fff}.app-shell[data-theme=dark] .source-stack>:is(span,b){border-color:var(--card)}.app-shell[data-theme=dark] .source-stack>b{background:#31555d;color:#e6efeb}.app-shell[data-theme=dark] .digest-card{background:#1d434d;border:1px solid #365b62;box-shadow:0 12px 30px rgba(0,0,0,.15)}.app-shell[data-theme=dark] :is(.digest-top small,.digest-stat small){color:#b0c7c8}.app-shell[data-theme=dark] .digest-stat button{background:#d5e9de;color:#173b42}.app-shell[data-theme=dark] .trends-card li{border-color:var(--line)}.app-shell[data-theme=dark] .trends-card li small{color:#a4d4b0}.app-shell[data-theme=dark] .coverage-ring{background:radial-gradient(circle,var(--card) 54%,transparent 56%),conic-gradient(var(--violet) 0 58%,var(--coral) 58% 87%,var(--teal) 87%)}.app-shell[data-theme=dark] .user-growth-card>header{border-color:var(--line)}.app-shell[data-theme=dark] .user-growth-column>span{background:var(--theme-input)}.app-shell[data-theme=dark] .user-growth-column>span i{background:linear-gradient(180deg,#91d9c4,#478f84)}.app-shell[data-theme=dark] :is(.query-box,.table-head,.source-family,.source-family[open]>summary,.source-family-items){background:var(--theme-input)}.app-shell[data-theme=dark] :is(.topic-stats,.topic-stats div,.source-family,.source-family-items,.source-family-items article,.user-row){border-color:var(--line)}.app-shell[data-theme=dark] .source-family>summary:hover{background:var(--theme-hover)}.app-shell[data-theme=dark] .table-head{color:#b7cac7}.app-shell[data-theme=dark] :is(.topic-menu button,.row-actions button,.topic-sharing button,.source-directory article>a){border-color:#405b62;background:var(--theme-raised);color:#bde0d5}.app-shell[data-theme=dark] :is(.topic-menu button,.row-actions button,.topic-sharing button,.source-directory article>a):hover{background:var(--theme-hover)}.app-shell[data-theme=dark] :is(.freshness-badge,.account-ready-note){background:#23443b;color:#b2dfc8}.app-shell[data-theme=dark] .used-by{color:#a0c9ac}.app-shell[data-theme=dark] .role-badge:not(.admin):not(.editor){background:#2c4248;color:#c3d7d6}.app-shell[data-theme=dark] .status-badge{color:#a3dcb9}.app-shell[data-theme=dark] .status-badge.invited{color:#e5cf92}.app-shell[data-theme=dark] .status-badge.paused{color:#d9b1a8}.app-shell[data-theme=dark] .danger-text{color:var(--theme-danger)!important}.app-shell[data-theme=dark] .settings-card .settings-card-head>span{background:#244740;color:#b0dfce}.app-shell[data-theme=dark] .settings-card:nth-of-type(2) .settings-card-head>span{background:#34314b;color:#cdc3ff}.app-shell[data-theme=dark] .settings-card:nth-of-type(4) .settings-card-head>span{background:#413d29;color:#e5cf92}.app-shell[data-theme=dark] :is(.settings-preference,.modal-actions,.modal .user-notification-choice,.modal .user-digest-choice){border-color:var(--line)}.app-shell[data-theme=dark] :is(.settings-field input,.modal input,.modal textarea,.modal select){border-color:#44616a;background:var(--theme-input);color:var(--ink)}.app-shell[data-theme=dark] :is(.settings-field input,.modal input,.modal textarea,.modal select):focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(121,201,181,.18)}.app-shell[data-theme=dark] :is(.settings-field input[readonly],.modal input[readonly],.modal input:disabled,.modal select:disabled){background:#22333a;color:#a5b5b8}.app-shell[data-theme=dark] :is(.digest-frequency-choice label>span,.theme-options label>span,.freshness-options button,.ghost-button){border-color:#405b62;background:var(--theme-input);color:#c9dcd7}.app-shell[data-theme=dark] :is(.digest-frequency-choice label:hover>span,.theme-options label:hover>span,.freshness-options button:hover,.ghost-button:hover){border-color:#6c9897;background:var(--theme-hover)}.app-shell[data-theme=dark] :is(.digest-frequency-choice input:checked+span,.theme-options input:checked+span,.freshness-options button.selected){border-color:var(--theme-selected-border);background:var(--theme-selected);color:#dff3e9;box-shadow:inset 0 0 0 1px var(--theme-selected-border)}.app-shell[data-theme=dark] :is(.digest-frequency-choice input:focus-visible+span,.theme-options input:focus-visible+span,.digest-segmented input:focus-visible+span,.notification-toggle input:focus-visible+i){outline:3px solid #a7dd9c;outline-offset:3px}.app-shell[data-theme=dark] .notification-toggle i{background:#52666d}.app-shell[data-theme=dark] .notification-toggle input:checked+i{background:#66b69f}.app-shell[data-theme=dark] .digest-segmented{background:var(--theme-input)}.app-shell[data-theme=dark] .digest-segmented span{color:#b7cbc8}.app-shell[data-theme=dark] .digest-segmented input:checked+span{background:#93d6c2;color:#143c40}.app-shell[data-theme=dark] .password-requirements{border-color:var(--line);background:var(--theme-input)}.app-shell[data-theme=dark] .modal-backdrop{background:rgba(3,10,14,.76)}.app-shell[data-theme=dark] .modal{border-color:#39555d;background:#14272e;box-shadow:0 30px 90px rgba(0,0,0,.55)}.app-shell[data-theme=dark] .close-button{background:#2b444b;color:#c0d4d0}.app-shell[data-theme=dark] .close-button:hover{background:#3b5960;color:#fff}.app-shell[data-theme=dark] .modal-icon{background:#31545a}.app-shell[data-theme=dark] .modal-progress>span{background:#293f46;color:#afc4c1}.app-shell[data-theme=dark] .modal-progress>span.active{background:#345c5c;color:var(--lime)}.app-shell[data-theme=dark] .modal-progress>i{background:#426068}.app-shell[data-theme=dark] .modal-progress>i.active{background:var(--teal)}.app-shell[data-theme=dark] .modal-icon.danger{background:var(--theme-danger-surface);color:var(--theme-danger)}.app-shell[data-theme=dark] :is(.delete-user-target,.login-error){border-color:#6b4945;background:var(--theme-danger-surface);color:#ffd0c4}.app-shell[data-theme=dark] .delete-user-target strong{color:#ffe1d8}.app-shell[data-theme=dark] .delete-user-target small{color:#e6b7ac}.app-shell[data-theme=dark] .danger-button{border-color:#dd7d69;background:#a24134;color:#fff5f0}.app-shell[data-theme=dark] .danger-button:hover:not(:disabled){background:#bd4d3b}.app-shell[data-theme=dark] .topic-template-picker{border-color:var(--line);background:var(--theme-input)}.app-shell[data-theme=dark] .topic-template-picker button{border-color:#405b62;background:var(--theme-raised);color:#c0dad3}.app-shell[data-theme=dark] .topic-template-picker button:hover{border-color:#6c9897;background:var(--theme-hover)}.app-shell[data-theme=dark] .topic-template-picker button span{color:var(--lime)}.app-shell[data-theme=dark] .source-selector .source-option{border-color:#3a535b;background:var(--card)}.app-shell[data-theme=dark] .source-selector .source-option:hover{border-color:#6c9897;background:var(--theme-hover)}.app-shell[data-theme=dark] .source-selector .source-option.selected{border-color:var(--theme-selected-border);background:var(--theme-selected)}.app-shell[data-theme=dark] .source-selector .source-option>i{border-color:#74918e;color:#bdd3cc}.app-shell[data-theme=dark] .source-selector .source-option.selected>i{border-color:#91d9c4;background:#91d9c4;color:#193d3f}.app-shell[data-theme=dark] :is(.source-selector strong em,.source-family-status em,.source-family-status b){background:#35584b;color:#c4edcb}.app-shell[data-theme=dark] :is(.empty-state,.source-empty){border-color:#3b555b;background:#102027;color:var(--muted)}.app-shell[data-theme=dark] .empty-state>span{border-color:#4d6e6f}.app-shell[data-theme=dark] :is(.empty-state button,.source-empty button){border-color:#4b7276;background:#25474d;color:#c0e7d9}.app-shell[data-theme=dark] .brief-stats>div{border-color:var(--line);background:var(--theme-input)}.app-shell[data-theme=dark] :is(.brief-list,.brief-list article){border-color:var(--line)}.app-shell[data-theme=dark] .toast{border:1px solid #517e7c;background:#23464d;box-shadow:0 14px 35px rgba(0,0,0,.35)}@media (max-width:480px){.app-shell .theme-options label>span{flex-direction:column;justify-content:center;gap:5px;min-height:68px;padding:8px 4px;text-align:center;font-size:10px}}