:root {
    color-scheme: light dark;
    --ink: #1c2c24;
    --muted: #53695c;
    --subtle-ink: #426153;
    --line: #dfe7de;
    --surface: #fffefa;
    --sidebar: #f3f6ef;
    --background: #f8faf6;
    --soft: #eaf1e8;
    --active: #e5efe3;
    --accent: #275b44;
    --accent-hover: #204d38;
    --on-accent: #ffffff;
    --focus: #347c5c;
    --danger: #a6293d;
    --shadow: 0 18px 55px #13271d22;
    --serif: "New York", Iowan Old Style, Georgia, serif;
    --sans: "Avenir Next", system-ui, -apple-system, sans-serif;
    --bar-height: 4.75rem;
    --sidebar-width: 15rem;
}
@supports (color: light-dark(white, black)) {
    :root {
        --ink: light-dark(#1c2c24, #e9efe9);
        --muted: light-dark(#53695c, #aabcaf);
        --subtle-ink: light-dark(#426153, #b2c8b8);
        --line: light-dark(#dfe7de, #34433a);
        --surface: light-dark(#fffefa, #19241e);
        --sidebar: light-dark(#f3f6ef, #1e2c24);
        --background: light-dark(#f8faf6, #17221b);
        --soft: light-dark(#eaf1e8, #24382c);
        --active: light-dark(#e5efe3, #2b4032);
        --accent: light-dark(#275b44, #b4dfbc);
        --accent-hover: light-dark(#204d38, #c8eacb);
        --on-accent: light-dark(#ffffff, #152e20);
        --focus: light-dark(#347c5c, #c8eacb);
        --danger: light-dark(#a6293d, #f2a7b3);
        --shadow: 0 18px 55px light-dark(#13271d22, #09110c99);
    }
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.55 var(--sans); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .53; }
a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: .5rem; left: .75rem; z-index: 11; transform: translateY(-150%); padding: .6rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand strong { display: block; font: 700 1.58rem/.93 var(--serif); letter-spacing: -.045em; }
.brand small { display: block; margin-top: .25rem; font-size: .68rem; line-height: 1; font-weight: 700; letter-spacing: .075em; }
.brand-symbol { position: relative; display: block; flex: none; width: 2.45rem; height: 2.45rem; border-radius: .8rem; background: var(--accent); color: var(--on-accent); }
.brand-symbol::before, .brand-symbol::after { content: ""; position: absolute; bottom: .59rem; left: .6rem; width: 1.24rem; height: 1.24rem; border: 1.5px solid currentColor; border-bottom: 0; border-left: 0; border-radius: 0 100% 0 0; }
.brand-symbol::after { width: .84rem; height: .84rem; }
.brand-symbol i { position: absolute; bottom: .58rem; left: .59rem; width: .28rem; height: .28rem; background: currentColor; border-radius: 50%; }

.app { display: grid; height: 100vh; height: 100dvh; grid-template-rows: var(--bar-height) minmax(0, 1fr); overflow: hidden; }
.topbar { z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: clamp(.9rem, 2.15vw, 2rem); border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar-start, .topbar-end { display: flex; align-items: center; gap: 1rem; }
.topbar-end { gap: .65rem; }
.status-label { display: flex; align-items: center; gap: .5rem; padding-inline: .45rem .9rem; color: var(--muted); font-size: .875rem; }
.status-label span { width: .45rem; height: .45rem; background: var(--accent); border-radius: 50%; }
.workspace { display: grid; min-height: 0; grid-template-columns: var(--sidebar-width) minmax(21rem, 30rem) minmax(0, 1fr); }
.app.nav-closed .workspace { grid-template-columns: 0 minmax(23rem, 34rem) minmax(0, 1fr); }
.app.nav-closed .sidebar { visibility: hidden; overflow: hidden; }
.drawer-scrim { display: none; }

.sidebar { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: var(--sidebar); border-right: 1px solid var(--line); }
.sidebar-body { padding: 1.3rem .85rem .9rem; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.add-source { width: 100%; margin-bottom: 1.1rem; }
.core-nav, .folder-nav { display: grid; gap: .13rem; }
.sidebar-footer { border-top: 1px solid var(--line); padding: .75rem .85rem; }
.nav-button { display: flex; align-items: center; gap: .65rem; width: 100%; min-width: 0; min-height: 2.6rem; margin: 0; padding: .42rem .6rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ink); text-decoration: none; text-align: left; font-size: .9rem; }
.nav-button > span:nth-child(2), .nav-row .nav-button > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-button.active { background: var(--active); color: var(--accent); font-weight: 700; }
.nav-button:hover { background: var(--soft); }
.nav-count { margin-left: auto; padding: .02rem .4rem; border-radius: 1rem; color: var(--muted); font-weight: 600; font-size: .8rem; font-variant-numeric: tabular-nums; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin: 1.35rem .12rem .25rem .6rem; }
.section-heading h2 { color: var(--muted); margin: 0; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.folder-group { min-width: 0; }
.folder-children { padding-inline-start: .55rem; border-inline-start: 1px solid var(--line); margin-inline-start: .75rem; }
.folder-children .folder-children { padding-inline-start: .2rem; margin-inline-start: .45rem; }
.folder-children .folder-children .folder-children .folder-children .folder-children { padding-inline-start: 0; margin-inline-start: 0; border-inline-start: 0; }
.nav-row { display: flex; align-items: center; min-width: 0; }
.nav-row .nav-button { flex: 1; min-height: 2.4rem; }
.nav-row .icon-button { flex: none; }
.nav-row .folder-toggle { margin-inline-end: .1rem; }
.folder-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }

.list-pane, .reader-pane { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.list-pane { border-right: 1px solid var(--line); background: var(--surface); }
.view-header { padding: 1.97rem clamp(1rem, 2.7vw, 2.1rem) 1.15rem; }
.view-crumb { color: var(--muted); font-size: .82rem; font-weight: 650; margin-bottom: .48rem; overflow-wrap: anywhere; }
.view-title-row { display: flex; gap: .5rem; justify-content: space-between; align-items: center; }
.view-title-row h1 { margin: 0; font: 700 clamp(2.3rem, 3.4vw, 3.25rem)/1.03 var(--serif); letter-spacing: -.042em; overflow-wrap: anywhere; }
.view-actions { align-items: center; display: flex; gap: .25rem; flex: none; }
.view-description { margin: .62rem 0 0; color: var(--muted); font-size: .91rem; overflow-wrap: anywhere; }
.filter-bar { display: flex; gap: .35rem; padding: 0 clamp(1rem, 2.7vw, 2.1rem) .85rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-bar .pill { min-height: 2.15rem; }
.pill { border: 1px solid var(--line); border-radius: 2rem; color: var(--muted); background: var(--surface); padding: .16rem .72rem; font-size: .84rem; }
.pill:hover, .pill[aria-pressed="true"] { color: var(--accent); background: var(--active); border-color: var(--active); }
.pill[aria-pressed="true"] { font-weight: 700; }

.article-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; gap: .25rem; padding: .95rem clamp(1rem, 2.7vw, 2.1rem); border-bottom: 1px solid var(--line); position: relative; }
.article-row:hover, .article-row.selected { background: var(--background); }
.article-row.selected::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 3px; background: var(--accent); }
.article-row .article-title { display: block; margin: .25rem 0; font: 700 1.27rem/1.24 var(--serif); letter-spacing: -.022em; overflow-wrap: anywhere; }
.article-row.is-read .article-title { font-weight: 500; }
.article-link { display: block; border: 0; background: transparent; padding: 0; color: inherit; width: 100%; text-align: left; }
.article-link:hover .article-title { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: .22rem .5rem; color: var(--muted); font-size: .83rem; min-width: 0; overflow-wrap: anywhere; }
.article-meta .source { color: var(--subtle-ink); font-weight: 700; }
.article-meta time { white-space: nowrap; }
.meta-separator::before { content: "·"; }
.unread-indicator { width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); flex: none; }
.article-summary { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin: 0; font-size: .88rem; line-height: 1.4; }
.article-tools { align-self: start; display: flex; align-items: center; justify-content: end; gap: .1rem; }
.article-row:not(.recommendation) .article-tools .icon-button { width: 2rem; min-width: 2rem; }
.article-row .article-thumbnail { width: 100%; max-height: 9rem; object-fit: cover; border-radius: .5rem; margin: 0 0 .6rem; }
.recommendation { display: block; margin: 0 clamp(1rem, 2.7vw, 2.1rem) .85rem; border: 1px solid var(--line); border-radius: .8rem; padding: .9rem 1rem; background: var(--background); }
.recommendation .article-tools { justify-content: start; flex-wrap: wrap; margin-top: .6rem; }
.reason { font-size: .85rem; color: var(--accent); padding: .48rem .6rem; background: var(--soft); border-radius: .45rem; margin: .75rem 0 0; overflow-wrap: anywhere; }
.catalog-label { color: var(--accent); font-size: .8rem; font-weight: 700; }
.pagination { padding: .9rem 1rem 1.5rem; text-align: center; }

.reader-pane { background: var(--background); }
.reader-empty { display: grid; justify-items: center; align-content: center; min-height: 100%; padding: 2rem 1.25rem; color: var(--muted); text-align: center; }
.reader-empty h2 { margin: 1.1rem 0 .3rem; color: var(--ink); font: 700 1.55rem/1.2 var(--serif); letter-spacing: -.03em; }
.reader-empty p { margin: 0; }
.reader-symbol { display: flex; gap: .23rem; justify-content: center; align-items: center; width: 4.35rem; height: 4.35rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--soft); }
.reader-symbol i { width: .98rem; height: 1.28rem; border: 1.5px solid var(--accent); border-radius: .25rem .1rem .16rem .15rem; background: repeating-linear-gradient(transparent 0 .27rem, var(--accent) .28rem .33rem, transparent .34rem .43rem) center / .48rem .95rem no-repeat; transform: rotate(5deg); }
.reader-symbol i:last-child { border-radius: .1rem .25rem .15rem .16rem; transform: rotate(-5deg); }
.reader-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: var(--background); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .42rem; padding: .75rem clamp(.9rem, 2.45vw, 1.9rem); }
.reader-header > div { display: flex; flex-wrap: wrap; gap: .3rem; }
.label-short { display: none; }
.reader-body { max-width: 46rem; margin: 0 auto; padding: clamp(1.1rem, 4vw, 4rem) clamp(1.1rem, 4vw, 4.2rem) 4.5rem; overflow-wrap: anywhere; }
.reader-title { font: 700 clamp(2rem, 4vw, 3.45rem)/1.09 var(--serif); letter-spacing: -.045em; margin: .6rem 0 1.3rem; }
.reader-summary { color: var(--muted); line-height: 1.6; }
.reader-content { font: 1.11rem/1.72 var(--serif); }
.reader-content img { display: block; max-width: 100%; height: auto; border-radius: .5rem; }
.reader-content :is(pre, table) { display: block; overflow: auto; max-width: 100%; }
.reader-content :is(pre, code) { background: var(--soft); border-radius: .2rem; }
.reader-content pre { padding: .75rem; }
.reader-content blockquote { margin-inline-start: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--line); }
.reader-content a { overflow-wrap: anywhere; }
.reader-original { margin-top: 1rem; }
.read-feedback { color: var(--muted); font-size: .88rem; }

.button { min-height: 2.55rem; display: inline-flex; align-items: center; justify-content: center; gap: .52rem; padding: .38rem .8rem; border: 1px solid transparent; border-radius: .5rem; color: var(--ink); background: transparent; font-size: .875rem; font-weight: 650; line-height: 1.25; text-decoration: none; text-align: center; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.subtle, .button.quiet { border-color: var(--line); background: var(--surface); }
.button.danger { color: var(--danger); border-color: var(--line); }
.button:hover:not(.primary), .icon-button:hover { background: var(--soft); }
.button[aria-pressed="true"], .icon-button[aria-pressed="true"] { color: var(--accent); background: var(--active); }
.icon-button { min-width: 2.55rem; height: 2.55rem; display: inline-grid; place-items: center; border: 0; border-radius: .45rem; color: var(--subtle-ink); background: transparent; padding: .3rem; }
.icon-button.small { min-width: 1.7rem; height: 1.9rem; }
.icon { display: block; position: relative; flex: none; width: 1.06rem; height: 1.06rem; font: 600 1.1rem/1 var(--sans); color: inherit; }
.icon::before, .icon::after { position: absolute; content: ""; }
.icon-plus::before, .icon-plus::after, .icon-close::before, .icon-close::after { width: .76rem; height: 1.5px; background: currentColor; top: calc(50% - .75px); left: .15rem; border-radius: 1px; }
.icon-plus::after { transform: rotate(90deg); }
.icon-close::before { transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }
.icon-panel::before { border: 1.5px solid currentColor; inset: .09rem 0; border-radius: .22rem; }
.icon-panel::after { top: .09rem; bottom: .09rem; left: .35rem; width: 1.5px; background: currentColor; }
.icon-latest::before { border: 1.5px solid currentColor; inset: .04rem; border-radius: .2rem; }
.icon-latest::after { left: .28rem; top: .31rem; width: .5rem; height: 1.5px; background: currentColor; box-shadow: 0 .2rem currentColor, 0 .4rem currentColor; }
.icon-unread::before { border: 1.5px solid currentColor; inset: .13rem; border-radius: 50%; }
.icon-unread::after { background: currentColor; width: .27rem; height: .27rem; border-radius: 50%; left: .4rem; top: .4rem; }
.icon-bookmark::before { inset: .02rem .18rem; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%, 0 0, 16% 15%, 16% 72%, 50% 54%, 84% 72%, 84% 15%, 16% 15%); }
[aria-pressed="true"] .icon-bookmark::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%); }
.icon-spark::before { content: "✦"; font-size: 1.15rem; top: -.1rem; left: 0; }
.icon-folder::before { border: 1.5px solid currentColor; inset: .3rem 0 .09rem; border-radius: .16rem; }
.icon-folder::after { top: .13rem; left: 0; width: .48rem; height: .22rem; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; border-radius: .12rem .18rem 0 0; }
.icon-source::before { left: .13rem; bottom: .16rem; width: .28rem; height: .28rem; border-radius: 50%; background: currentColor; }
.icon-source::after { bottom: .16rem; left: .14rem; width: .78rem; height: .78rem; border: 1.5px solid currentColor; border-bottom: 0; border-left: 0; border-radius: 0 100% 0 0; }
.icon-import::before { border: 1.5px solid currentColor; inset: .45rem .07rem .08rem; border-radius: .18rem; border-top-color: transparent; }
.icon-import::after { content: "↓"; inset: -.23rem 0 auto; text-align: center; font-size: 1.05rem; }
.icon-gear::before { content: "⚙"; inset: -.13rem -.14rem auto; text-align: center; font-size: 1.38rem; line-height: 1; }
.icon-refresh::before { content: "↻"; inset: -.34rem -.16rem auto; font-family: system-ui, sans-serif; text-align: center; font-size: 1.55rem; }
.icon-more::before { content: "•••"; inset: .14rem -.2rem auto; text-align: center; font-size: .74rem; letter-spacing: .05em; }
.icon-chevron::before { width: .44rem; height: .44rem; top: .3rem; left: .23rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.icon-back { transform: rotate(180deg); }
.icon-lock::before { inset: .45rem .16rem .04rem; border: 1.5px solid currentColor; border-radius: .14rem; }
.icon-lock::after { inset: .05rem .32rem .57rem; border: 1.5px solid currentColor; border-bottom: 0; border-radius: .25rem .25rem 0 0; }
.spinner { display: inline-block; width: .85rem; height: .85rem; margin-right: .55rem; border: 1.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .75s linear infinite; vertical-align: -.02em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; } }

.loading, .empty-state { padding: 1.45rem clamp(1rem, 2.7vw, 2.1rem); color: var(--muted); }
.loading { margin: 0; }
.empty-state h2 { padding: 0; margin: 0 0 .25rem; font: 700 1.45rem/1.2 var(--serif); color: var(--ink); }
.empty-state p { margin: .33rem 0 1rem; }
.empty-state .button { margin-inline-end: .4rem; }
.inline-error, .form-error { margin: .2rem 0 .7rem; color: var(--danger); overflow-wrap: anywhere; }
.error-state { color: var(--danger); }
.no-script { padding: 1rem; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); }

.dialog { width: min(34rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); background: var(--surface); color: var(--ink); overflow: auto; }
.dialog::backdrop { background: #0d1a11a8; }
.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; }
.dialog-top h2 { margin: .22rem 0 0; font: 700 1.7rem/1.16 var(--serif); letter-spacing: -.026em; overflow-wrap: anywhere; }
.dialog p { margin: .35rem 0 .7rem; overflow-wrap: anywhere; }
.dialog-subtitle { margin: 1rem 0 .25rem; font: 700 1.17rem/1.28 var(--serif); }
.fields { display: grid; gap: .75rem; }
.fields label { display: grid; gap: .3rem; color: var(--ink); font-weight: 650; font-size: .88rem; }
.fields input:not([type="checkbox"]), .fields select { width: 100%; min-height: 2.7rem; border: 1px solid var(--line); border-radius: .48rem; color: var(--ink); background: var(--background); padding: .42rem .7rem; font-weight: 500; }
.fields select { appearance: none; padding-right: 1.95rem; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - .98rem) 50% / .32rem .32rem no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - .66rem) 50% / .32rem .32rem no-repeat, var(--background); }
.fields input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: .15rem 0 0; accent-color: var(--accent); }
.fields .toggle-label { grid-template-columns: auto 1fr; align-items: start; gap: .48rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .3rem; }
.fields .form-hint, .form-hint { margin: 0; color: var(--muted); font-weight: 500; font-size: .85rem; }
.dialog-divider { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.dialog-list { padding-left: 1.3rem; }
.dialog-list li { overflow-wrap: anywhere; }
.dialog-actions { display: grid; gap: .4rem; }
.dialog-actions .button { justify-content: flex-start; text-align: left; }
.option-feed { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .55rem; border: 1px solid var(--line); border-radius: .4rem; }
.option-feed small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.option-feed > div { min-width: 0; overflow-wrap: anywhere; }
.source-status { color: var(--muted); font-size: .85rem; }
.preview-grid { display: grid; gap: .3rem 1rem; grid-template-columns: 1fr auto; margin: .5rem 0; font-size: .9rem; }
.preview-grid dd { margin: 0; font-weight: 700; }
.notice:not(:empty) { position: fixed; z-index: 8; bottom: max(.85rem, env(safe-area-inset-bottom)); inset-inline-end: 1rem; max-width: min(29rem, calc(100% - 2rem)); padding: .65rem .92rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); overflow-wrap: anywhere; font-size: .91rem; }

.login-layout { width: min(55rem, calc(100% - 3rem)); min-height: 28rem; display: grid; grid-template-columns: 1fr 1fr; margin: max(6vh, 2rem) auto; border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.login-identity { background: #214a36; color: #f3f5e9; padding: clamp(1.4rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.3rem; }
.login-identity .brand { color: inherit; }
.login-identity .brand-symbol { background: #e3f0dd; color: #23533c; }
.login-identity p { margin: 0; font: 700 clamp(2.75rem, 5.5vw, 4.35rem)/.98 var(--serif); letter-spacing: -.06em; }
.login-identity em { color: #bfddbf; font-weight: 500; }
.login-card { align-self: center; padding: clamp(1.4rem, 4vw, 3.2rem); }
.login-card h1 { margin: .55rem 0 1.35rem; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.045em; }
.login-card button { margin-top: .3rem; }
.private-indicator { display: flex; align-items: center; color: var(--muted); font-size: .88rem; gap: .4rem; margin: 0; }
.login-orbit { position: relative; height: 3.4rem; width: 7rem; margin-left: .2rem; }
.login-orbit span { display: block; position: absolute; inset: .2rem auto auto .6rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid #d5eed287; }
.login-orbit span:nth-child(2) { left: 1.55rem; }
.login-orbit span:nth-child(3) { left: 2.5rem; }
.login-orbit i { position: absolute; top: 1.35rem; left: 3.66rem; width: .27rem; height: .27rem; border-radius: 50%; background: #e6f6de; }

@media (max-width: 1060px) {
    .workspace { grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
    .app.nav-closed .workspace { grid-template-columns: 0 minmax(0, 1fr); }
    .reader-pane { display: none; border: 0; }
    .app.has-article .reader-pane { display: block; }
    .app.has-article .list-pane { display: none; }
    .list-pane { border: 0; }
}
@media (max-width: 720px) {
    :root { --bar-height: 4.15rem; }
    .topbar { gap: .45rem; padding-inline: .55rem; }
    .topbar-start, .topbar-end { gap: .22rem; }
    .status-label { display: none; }
    .brand { gap: .5rem; }
    .brand-symbol { transform: scale(.87); transform-origin: center; }
    .workspace, .app.nav-closed .workspace { grid-template-columns: minmax(0, 1fr); }
    .sidebar, .app.nav-closed .sidebar { position: fixed; visibility: hidden; z-index: 5; left: 0; top: var(--bar-height); bottom: 0; width: min(18rem, calc(100% - 2.5rem)); box-shadow: var(--shadow); overflow: visible; }
    .app.drawer-open .sidebar { visibility: visible; }
    .app.drawer-open .drawer-scrim { display: block; position: fixed; inset: var(--bar-height) 0 0; z-index: 4; border: 0; background: #0e1b12a0; }
    .add-source { margin-bottom: .65rem; }
    .view-header { padding-top: 1.35rem; }
    .article-row { padding-block: .87rem; }
    .article-row .article-title { font-size: 1.2rem; }
    .reader-header .button { min-height: 2.5rem; }
    .reader-header .label-full { display: none; }
    .reader-header .label-short { display: inline; }
    .reader-body { padding-bottom: 3rem; }
    .dialog { width: calc(100% - 1rem); padding: .9rem 1rem 1rem; }
}
@media (max-width: 480px) {
    .login-layout { width: calc(100% - 2rem); grid-template-columns: 1fr; }
    .login-identity p { font-size: 2.45rem; }
    .login-orbit { display: none; }
    .login-identity { padding-bottom: 1.65rem; }
}
@media (max-width: 350px) {
    #refresh { padding-inline: .55rem; }
    .topbar .brand-symbol { display: none; }
    .reader-header { padding-inline: .55rem; }
    .reader-header .button { padding-inline: .48rem; gap: .25rem; }
}
