/* Aligned — calm editorial UI. No external asset is required to read the site. */
:root{color-scheme:light;--bg:var(--color-canvas);--surface:var(--color-surface);--ink:var(--color-text);--muted:var(--color-text-muted);--line:var(--color-border-subtle);--soft:var(--color-surface-subtle);--accent:var(--color-action-primary);--accent-ink:var(--color-on-primary);--danger:var(--color-danger);--focus:var(--color-focus);--curve:var(--motion-curve);--s0:var(--space-0);--s1:var(--space-25);--s2:var(--space-50);--s3:var(--space-75);--s4:var(--space-100);--s5:var(--space-200);--s6:var(--space-300);--s7:var(--space-400);--s8:var(--space-500);--s9:var(--space-600);--s10:var(--space-700)}
:root[data-theme=dark]{color-scheme:dark;--bg:var(--color-canvas);--surface:var(--color-surface);--ink:var(--color-text);--muted:var(--color-text-muted);--line:var(--color-border-subtle);--soft:var(--color-surface-subtle);--focus:var(--color-focus);--danger:var(--color-danger)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:16px;line-height:24px;font-weight:400}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none;overflow-wrap:anywhere}a:hover{color:var(--focus)}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}img,svg,video{max-width:100%}img{height:auto}svg{vertical-align:middle}h1,h2,h3,h4,h5,h6,p,ul,ol,pre,blockquote{margin:0 0 16px}h1,h2,h3,h4,h5,h6{font-weight:600;text-wrap:balance;overflow-wrap:anywhere}h1{font-size:36px;line-height:40px;letter-spacing:-.04em}h2{font-size:24px;line-height:32px;letter-spacing:-.025em}h3{font-size:20px;line-height:28px}h4{font-size:18px;line-height:28px}p{font-size:16px;line-height:24px;text-wrap:pretty}small{font-size:12px;line-height:16px}strong,b{font-weight:600}em,i{font-style:normal}hr{border:0;height:1px;background:var(--line);margin:24px 0}ul,ol{padding-left:24px}form{margin:0}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px}[hidden]{display:none!important}
.heading-1{font-size:60px;line-height:60px;font-weight:600}.heading-2{font-size:48px;line-height:48px;font-weight:600}.heading-3{font-size:36px;line-height:40px;font-weight:600}.heading-4{font-size:30px;line-height:36px;font-weight:600}.heading-5{font-size:24px;line-height:32px;font-weight:600}.heading-6{font-size:20px;line-height:28px;font-weight:600}.title-1{font-size:20px;line-height:28px;font-weight:500}.title-2{font-size:18px;line-height:28px;font-weight:500}.title-3{font-size:16px;line-height:24px;font-weight:500}.title-4{font-size:14px;line-height:20px;font-weight:500}.title-5{font-size:12px;line-height:16px;font-weight:500}.body-1{font-size:16px;line-height:24px;font-weight:600}.body-2{font-size:16px;line-height:24px;font-weight:500}.body-3{font-size:16px;line-height:24px;font-weight:400}.body-4{font-size:14px;line-height:20px;font-weight:600}.body-5{font-size:14px;line-height:20px;font-weight:500}.body-6{font-size:14px;line-height:20px;font-weight:400}.button-lg{font-size:18px;line-height:28px;font-weight:600}.button-md{font-size:16px;line-height:24px;font-weight:600}.button-sm{font-size:14px;line-height:20px;font-weight:600}.button-xsm{font-size:12px;line-height:16px;font-weight:600}.caption-1{font-size:14px;line-height:20px;font-weight:500}.caption-2{font-size:14px;line-height:20px;font-weight:400}.caption-3{font-size:12px;line-height:16px;font-weight:600}.caption-4{font-size:12px;line-height:16px;font-weight:500}.caption-5{font-size:12px;line-height:16px;font-weight:400}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:16px;z-index:1000;transform:translateY(-150%);background:var(--accent);color:var(--accent-ink);padding:12px 16px;border-radius:8px}.skip-link:focus{transform:translateY(0)}
.topbar{position:sticky;top:12px;z-index:40;display:flex;align-items:center;gap:32px;max-width:1320px;margin:12px auto 0;padding:12px 24px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:16px;min-height:64px}.brand{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;font-size:30px;line-height:36px;font-weight:700;letter-spacing:-.06em}.brand::before{content:"";width:24px;height:24px;display:inline-block;background:var(--ink);border-radius:4px;box-shadow:6px -6px 0 -2px var(--accent);transform:rotate(-9deg)}.brand span{letter-spacing:0;font-size:12px;line-height:16px;font-weight:500;color:var(--muted);margin-left:8px}.search{display:flex;align-items:center;gap:8px;flex:1;max-width:480px;position:relative}.search input{border:1px solid var(--line);background:var(--bg);width:100%;padding:8px 12px;border-radius:8px;font-size:14px;line-height:20px;color:var(--ink)}.search button{flex-shrink:0}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.header-actions form{display:flex}.header-actions .avatar{width:32px;height:32px;font-size:12px;line-height:16px}.shell{display:grid;grid-template-columns:192px minmax(0,720px) minmax(224px,280px);gap:24px;max-width:1320px;margin:32px auto 0;padding:0 8px;align-items:start}.content{min-width:0;padding-bottom:48px}.sidebar{position:sticky;top:112px;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:20px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar a,.sidebar button{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;font-size:14px;line-height:20px;background:none;border:0;text-align:left;color:var(--ink)}.sidebar a:hover,.sidebar button:hover{background:var(--soft)}.sidebar a.active,.sidebar a[aria-current=page]{background:var(--surface);font-weight:600}.sidebar .nav-label,.sidebar h3{padding:24px 16px 8px;font-size:12px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:500;margin:0}.sidebar .divider{height:1px;background:var(--line);margin:16px}.sidebar svg{width:20px;height:20px;flex-shrink:0}.rail{display:flex;flex-direction:column;gap:16px}.rail .card{padding:24px}.rail h2,.rail h3{font-size:18px;line-height:28px;margin-bottom:16px}.rail p,.rail li{font-size:14px;line-height:20px}.rail .eyebrow{margin-bottom:12px}.rail ul{list-style:none;padding:0;margin:0}.rail li{padding:12px 0}.rail li a{font-weight:500}.rail .rank{color:var(--muted);margin-right:12px;font-size:12px;line-height:16px}.rail .btn{width:100%;margin-top:8px}.footer{padding:16px 0;color:var(--muted);font-size:12px;line-height:16px}.footer a{display:inline-block;margin:0 12px 8px 0}.footer p{font-size:12px;line-height:16px}
.card{background:var(--surface);border-radius:16px;padding:32px;margin-bottom:16px;border:1px solid var(--line)}.card:last-child{margin-bottom:0}.feed-card{padding:24px 32px}.feed-card h2{font-size:24px;line-height:32px;margin:16px 0 12px}.feed-card h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.feed-card>p{margin-bottom:24px}.feed-card .cover{margin:24px -8px;border-radius:12px;display:block;max-width:calc(100% + 16px)}.author-row{display:flex;align-items:center;gap:12px;min-width:0}.author-row>a:not(.avatar){font-weight:600;font-size:14px;line-height:20px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:14px;line-height:20px;font-weight:600;text-transform:uppercase;letter-spacing:-.03em}.avatar.large{width:80px;height:80px;font-size:30px;line-height:36px}.meta{font-size:12px;line-height:16px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.author-row .meta{margin-top:2px}.tag{display:inline-flex;align-items:center;padding:4px 8px;background:var(--soft);color:var(--ink);font-size:12px;line-height:16px;font-weight:500;border-radius:4px;white-space:normal}.tag:hover{background:var(--accent);color:var(--accent-ink)}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.eyebrow{display:block;color:var(--muted);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.hero-card{background:#eaf0ff;border:0;padding:32px;position:relative;overflow:hidden}.hero-card h1,.hero-card h2{max-width:680px;position:relative;z-index:1}.hero-card h1{font-size:36px;line-height:40px;max-width:520px;margin:16px 0}.hero-card p{max-width:480px;position:relative;z-index:1}.hero-card .eyebrow{color:#465c96}.hero-card .btn{margin-top:8px}.hero-card .visual{margin:24px 0 0}.hero-card .meta{color:#465c96}.visual{position:relative;min-height:224px;border-radius:12px;background:#e7edff;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#2f4db4}.visual::before,.visual::after{content:"";position:absolute;border:1px solid currentColor;opacity:.22;border-radius:50%;width:240px;height:240px}.visual::after{width:160px;height:160px}.visual-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:1;padding:32px;width:100%}.visual-grid>*{display:flex;align-items:center;justify-content:center;min-height:64px;padding:12px;border:1px solid rgba(35,45,20,.18);border-radius:8px;background:#f3f6ff;font-size:14px;line-height:20px;font-weight:500}.visual svg{position:relative;z-index:1}.visual strong{font-size:48px;line-height:48px;letter-spacing:-.05em;z-index:1}.cover{width:100%;max-height:360px;object-fit:cover;background:var(--soft);border-radius:12px}.tabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:24px}.tabs a,.pill{padding:8px 12px;font-size:14px;line-height:20px;font-weight:500;border-radius:9999px;display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid transparent;color:var(--muted)}.tabs a:hover,.pill:hover{color:var(--ink);background:var(--soft)}.tabs a.active,.tabs a[aria-current=page],.pill.active{background:var(--ink);color:var(--surface)}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 24px}.page-heading h1{margin:0;font-size:30px;line-height:36px}.page-heading p{margin:8px 0 0;color:var(--muted)}
.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:8px 12px;border-radius:8px;font-size:14px;line-height:20px;font-weight:600;text-align:center;white-space:normal;transition:transform .3s var(--curve),opacity .3s var(--curve);min-height:40px}.btn:hover,button:hover{background:var(--soft);color:var(--ink)}.btn:active,button:active{transform:scale(.98)}.btn.primary,.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:hover,.primary:hover{background:#3049c1;color:var(--accent-ink)}.btn.ghost,.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.ghost:hover,.ghost:hover{background:var(--soft);color:var(--ink)}.btn.danger,.danger{color:var(--danger)}.btn svg,button svg{width:18px;height:18px;flex-shrink:0}.stats{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;line-height:16px;color:var(--muted);margin-top:24px}.stats form{display:inline-flex}.stats button,.stats .btn{font-size:12px;line-height:16px;border-color:transparent;background:none;padding:4px 8px;min-height:32px;color:var(--muted)}.stats button:hover,.stats .btn:hover{background:var(--soft);color:var(--ink)}.stats button[aria-pressed=true],.stats .active{background:var(--accent);color:var(--accent-ink)}.stats .push{margin-left:auto}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.muted{color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;background:var(--soft);font-size:12px;line-height:16px;font-weight:500}.badge.success{background:#e4efd3;color:#344c22}.badge.pending{background:#f7eccd;color:#745a22}.notice{padding:16px 24px;border:1px solid #d6e6c1;border-radius:12px;background:#edf4e3;color:#344c22;margin-bottom:24px;font-size:14px;line-height:20px;overflow-wrap:anywhere}.notice.error{background:#fbedeb;border-color:#f1d0ca;color:#8d3030}.notice.warning{background:#faf1d8;border-color:#e9dba7;color:#6b5422}.notice p:last-child{margin-bottom:0}.notice button{float:right;margin-left:12px}.empty{padding:48px 32px;text-align:center;background:var(--surface);border-radius:16px;border:1px solid var(--line)}.empty h2{margin:16px 0 8px}.empty p{max-width:480px;margin:0 auto 24px;color:var(--muted)}
.article-header{margin-bottom:32px}.article-header h1{font-size:36px;line-height:40px;margin:24px 0;letter-spacing:-.04em}.article-header>.meta{margin-top:16px}.article-header .lead{font-size:20px;line-height:28px;color:var(--muted);margin:16px 0 24px}.article-body{overflow-wrap:anywhere}.article-body p,.article-body li{font-size:18px;line-height:28px}.article-body p{margin-bottom:24px}.article-body h2{font-size:24px;line-height:32px;margin:40px 0 16px;scroll-margin-top:112px}.article-body h3{margin:32px 0 16px;scroll-margin-top:112px}.article-body h2:first-child{margin-top:0}.article-body a{color:var(--focus);text-decoration:underline;text-underline-offset:4px}.article-body li{margin-bottom:8px}.article-body blockquote{padding:24px;background:var(--soft);border-radius:8px;color:var(--muted)}.article-body pre,.editor-preview pre{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:16px;overflow-x:auto;font-size:14px;line-height:20px;white-space:pre-wrap;word-break:break-word}.article-body code,.editor-preview code{font-family:'Geist Mono',ui-monospace,monospace;background:var(--soft);border-radius:4px;padding:2px 4px;font-size:14px;line-height:20px}.article-body pre code{padding:0;background:none}.article-body table{font-size:14px;line-height:20px}.article-body figure{margin:24px 0}.article-body figcaption{color:var(--muted);font-size:12px;line-height:16px;margin-top:8px}.article-body img{border-radius:8px}.article-body .sources{padding:24px;background:var(--soft);border-radius:12px}.article-body .sources li,.article-body .sources p{font-size:14px;line-height:20px}.toc{padding:24px;background:var(--soft);border-radius:12px;margin-bottom:32px}.toc h2{font-size:14px;line-height:20px;margin:0 0 12px}.toc ol,.toc ul{margin:0;padding-left:24px}.toc a{font-size:14px;line-height:20px}.toc li+li{margin-top:8px}.comment{padding:24px 0;overflow-wrap:anywhere}.comment>.author-row{margin-bottom:12px}.comment p{margin-bottom:12px}.comment-children{margin-left:24px;padding-left:16px;border-left:2px solid var(--line)}.comment-children .comment-children{margin-left:8px;padding-left:8px}.comment .stats{margin-top:8px}.comment.deleted{color:var(--muted)}#comment-form{scroll-margin-top:112px}.comments>h2{margin-top:32px}.comments>form{margin-bottom:24px}.reply-label,#reply-label{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:var(--muted);font-size:14px;line-height:20px}
.form{max-width:640px;margin:0 auto}.form h1{margin-bottom:16px}.form>p{color:var(--muted);margin-bottom:24px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:24px;min-width:0}.field label,.field>span{font-size:14px;line-height:20px;font-weight:600}.field small,.field .help{font-size:12px;line-height:16px;color:var(--muted)}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{width:100%;max-width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:12px 16px;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}textarea{resize:vertical;min-height:144px;line-height:24px}textarea[name=body],textarea[name=content]{min-height:320px}select{min-height:48px}input[type=checkbox],input[type=radio]{accent-color:var(--focus);width:16px;height:16px;flex-shrink:0}.field:has(input[type=checkbox]){flex-direction:row;align-items:start}.field .error{color:var(--danger)}.editor{padding:32px}.editor h1{font-size:30px;line-height:36px}.editor textarea{font-size:16px;line-height:24px}.editor .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.editor-preview{padding:24px;background:var(--bg);border-radius:12px;min-height:144px;overflow-wrap:anywhere}.editor-preview:empty{display:none}.editor-status{font-size:12px;line-height:16px;color:var(--muted);margin:8px 0}.profile-header{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:24px}.profile-header h1{margin:0 0 8px;font-size:30px;line-height:36px}.profile-header p{margin:0;color:var(--muted)}.profile-header .btn,.profile-header form{margin-left:auto}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}.model-card{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;gap:16px}.model-card h2{font-size:20px;line-height:28px;margin:0}.model-card p{font-size:14px;line-height:20px;color:var(--muted);margin:0}.model-card .btn{margin-top:auto;align-self:start}.model-card .avatar{border-radius:8px}.model-card dl{margin:0;font-size:12px;line-height:16px;display:grid;grid-template-columns:auto 1fr;gap:8px}.model-card dt{color:var(--muted)}.model-card dd{margin:0}.table-wrap{overflow:auto;width:100%;border:1px solid var(--line);border-radius:12px;margin:24px 0}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;line-height:20px}th,td{padding:12px 16px;vertical-align:top;border-bottom:1px solid var(--line)}th{font-weight:600;background:var(--soft)}tr:last-child td{border-bottom:0}td .row{flex-wrap:nowrap}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.admin-grid .card{padding:24px;margin:0}.admin-grid strong{font-size:30px;line-height:36px;display:block;margin:8px 0}.admin-grid p{font-size:12px;line-height:16px;color:var(--muted);margin:0}.pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:32px 0}.pagination .active{background:var(--ink);color:var(--surface)}.mobile-nav,[data-menu]{display:none}.confirm-dialog{max-width:calc(100vw - 32px);width:440px;padding:32px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px #0002}.confirm-dialog::backdrop{background:#0006;backdrop-filter:blur(4px)}.confirm-dialog h2{margin-bottom:12px}.confirm-dialog .row{justify-content:flex-end;margin-top:24px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);z-index:100;background:var(--ink);color:var(--surface);padding:12px 24px;border-radius:8px;font-size:14px;line-height:20px;box-shadow:0 8px 32px #0002}.skeleton{background:var(--soft);border-radius:8px;min-height:24px;animation:pulse 1.5s var(--curve) infinite}.skeleton+.skeleton{margin-top:12px}.skeleton.heading{height:40px;width:70%}.skeleton.line{width:90%}.skeleton.cover{height:224px}.loading{pointer-events:none;opacity:.65}.text-link{color:var(--focus);text-decoration:underline;text-underline-offset:4px}.accent-card{background:var(--accent);color:var(--accent-ink)}.accent-card .muted{color:#e3eaff}.accent-card .btn{background:var(--ink);color:var(--surface);border-color:var(--ink)}
:root[data-theme=dark] .hero-card{background:#272727;color:var(--ink)}:root[data-theme=dark] .hero-card .eyebrow,:root[data-theme=dark] .hero-card .meta{color:var(--muted)}:root[data-theme=dark] .notice{background:#272727;color:#a6bcff;border-color:#313131}:root[data-theme=dark] .notice.error{color:#ffb6b6}:root[data-theme=dark] .notice.warning{color:#f1d892}:root[data-theme=dark] .badge.success,:root[data-theme=dark] .badge.pending{background:#313131;color:var(--ink)}
.brand::before{display:none}.brand img{display:block;width:130px;height:40px;object-fit:contain}.brand .brand-mark{display:none}.brand span.badge{font-size:12px;line-height:16px;letter-spacing:0;color:var(--muted);margin-left:4px}.sidebar-bottom{padding:24px 16px;color:var(--muted);font-size:12px;line-height:20px}.sidebar-bottom a{display:inline;padding:0;font-size:12px;line-height:20px}.sidebar-bottom p{font-size:12px;line-height:20px;margin:16px 0}.sidebar-bottom button{padding:8px 0;font-size:12px;line-height:16px}.author-row>.tag{margin-left:auto}.rail-story{display:flex;gap:12px;padding:16px 0;align-items:start}.rail-story strong{display:block;font-size:14px;line-height:20px;margin-top:4px}.story-number{font-size:12px;line-height:16px;color:var(--muted);padding-top:4px}.rail .newsletter{background:#eaf0ff}.rail .newsletter .btn{margin-top:16px}.visual.visual-grid{display:block;background:#eaf0ff;min-height:280px;padding:32px;color:#2b4ac4}.visual.visual-grid>*{display:block;min-height:0;border:0;background:none;padding:0;position:relative}.visual.visual-grid::before{width:320px;height:320px;right:-96px;top:-96px;opacity:.2}.visual.visual-grid::after{width:224px;height:224px;right:-48px;top:-48px;opacity:.3}.visual-grid .visual-label{font-size:12px;line-height:16px;letter-spacing:.08em}.visual-grid .visual-word{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.04em;margin:32px 0}.visual-grid .visual-caption{font-size:12px;line-height:16px;letter-spacing:.06em}.visual-grid .visual-orbit{position:absolute;right:32px;bottom:24px;font-size:60px;line-height:60px}.article-body .notice{font-size:14px;line-height:20px}.article-body .notice p{font-size:14px;line-height:20px}.btn.primary:hover,.primary:hover{color:#fff}:root[data-theme=dark] .brand img{filter:invert(1)}:root[data-theme=dark] .rail .newsletter{background:#272727}:root[data-theme=dark] .visual.visual-grid{background:#272727;color:#a6bcff}:root[data-theme=dark]{--accent-ink:#fff}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}
@media(min-width:1500px){.topbar,.shell{max-width:1392px}.shell{grid-template-columns:210px minmax(0,720px) 280px;gap:32px}.topbar{padding-left:32px;padding-right:32px}}
@media(max-width:1250px){.topbar{margin-left:16px;margin-right:16px;gap:24px}.shell{grid-template-columns:176px minmax(0,720px);max-width:1040px;padding:0 16px;gap:24px}.rail{display:none}.brand span{display:none}}
@media(max-width:900px){.shell{grid-template-columns:144px minmax(0,1fr);gap:16px}.sidebar a,.sidebar button{padding:12px 8px;gap:8px}.sidebar .nav-label,.sidebar h3{padding-left:8px}.topbar{gap:16px;padding:12px 16px}.header-actions{gap:4px}.header-actions .btn{font-size:12px;line-height:16px}.feed-card,.card,.editor{padding:24px}.hero-card{padding:24px}.article-header h1{font-size:30px;line-height:36px}.brand{font-size:24px;line-height:32px}}
@media(max-width:680px){html{scroll-padding-top:144px}.topbar{top:8px;margin:8px 8px 0;padding:12px;gap:12px;flex-wrap:wrap;border-radius:12px}.brand{font-size:24px;line-height:32px;gap:8px}.brand::before{width:20px;height:20px}.header-actions{margin-left:auto;gap:4px}.header-actions .btn{min-height:40px}.header-actions [data-theme]{display:none}.search{order:3;max-width:none;flex-basis:100%;gap:8px}.search input{padding:8px 12px}.search button{min-height:40px}.shell{display:block;margin-top:24px;padding:0 8px}.content{padding-bottom:32px}.sidebar{display:none}.sidebar.is-open{position:fixed;inset:0;top:0;z-index:60;display:flex;background:var(--bg);padding:80px 24px 32px;overflow:auto;width:100%;height:100dvh;font-size:16px;line-height:24px}.sidebar.is-open a,.sidebar.is-open button{padding:16px;font-size:16px;line-height:24px}.sidebar.is-open a{animation:nav-in .5s var(--curve) both}.sidebar.is-open a:nth-child(2){animation-delay:60ms}.sidebar.is-open a:nth-child(3){animation-delay:120ms}.sidebar.is-open a:nth-child(4){animation-delay:180ms}.sidebar.is-open a:nth-child(5){animation-delay:240ms}.sidebar.is-open a:nth-child(n+6){animation-delay:300ms}body.menu-open{overflow:hidden}body.menu-open .topbar{z-index:70;background:var(--surface)}[data-menu]{display:inline-flex;min-width:40px;padding:8px}.mobile-nav{display:flex;gap:8px;overflow:auto;padding:0 0 8px;margin:0 0 16px;scrollbar-width:thin;white-space:nowrap}.mobile-nav a{display:inline-flex;padding:8px 12px;border:1px solid var(--line);border-radius:9999px;background:var(--surface);font-size:14px;line-height:20px;flex-shrink:0}.mobile-nav a.active{background:var(--ink);color:var(--surface)}.card,.feed-card,.editor{padding:24px 16px;border-radius:12px;margin-bottom:12px}.hero-card{padding:24px}.hero-card h1{font-size:30px;line-height:36px}.hero-card .visual{min-height:160px}.visual-grid{padding:16px;gap:8px}.visual-grid>*{min-height:48px;padding:8px;font-size:12px;line-height:16px}.feed-card h2{font-size:24px;line-height:32px}.feed-card .cover{margin:16px 0;max-width:100%;border-radius:8px}.author-row{gap:8px}.avatar{width:32px;height:32px;font-size:12px;line-height:16px}.author-row .meta{font-size:12px;line-height:16px}.tabs{gap:4px;margin-bottom:16px}.tabs a{padding:8px 12px}.page-heading{margin-bottom:16px;align-items:start}.page-heading h1{font-size:24px;line-height:32px}.article-header h1{font-size:30px;line-height:36px;margin:24px 0 16px}.article-header .lead{font-size:18px;line-height:28px}.article-body p,.article-body li{font-size:16px;line-height:24px}.article-body h2{margin-top:32px}.article-body blockquote,.article-body .sources,.toc{padding:16px}.stats{gap:8px;margin-top:16px}.stats .push{margin-left:0}.comment{padding:16px 0}.comment-children{margin-left:8px;padding-left:12px}.comment-children .comment-children{margin-left:0;padding-left:8px}.catalog-grid{grid-template-columns:1fr;gap:12px}.model-card{padding:24px}.admin-grid{grid-template-columns:1fr;gap:8px}.admin-grid .card{display:flex;gap:16px;align-items:center;padding:16px}.profile-header{gap:16px}.profile-header h1{font-size:24px;line-height:32px}.profile-header form,.profile-header .btn{margin-left:0}.profile-header .avatar.large{width:64px;height:64px;font-size:24px;line-height:32px}.notice{padding:16px;margin-bottom:16px}.form .row{align-items:stretch}.form .row>.btn{flex:1}.confirm-dialog{padding:24px}.toast{bottom:16px;padding:12px 16px}.empty{padding:32px 24px}.heading-1,.heading-2,.heading-3{font-size:30px;line-height:36px}}
@media(max-width:680px){.brand .badge{display:none}.header-actions a[href="/notifications"]{font-size:0;line-height:0;width:40px;min-width:40px;padding:8px}.header-actions a[href="/notifications"]::before{content:"◉";font-size:18px;line-height:24px}.header-actions a[href="/notifications"]::after{display:none}.header-actions>.btn.primary{padding:8px;font-size:12px;line-height:16px}.visual.visual-grid{min-height:224px;padding:24px}.visual-grid .visual-word{font-size:30px;line-height:36px;margin:24px 0}.visual-grid .visual-orbit{right:24px;bottom:24px;font-size:36px;line-height:40px}}
.article-report summary,.comment-edit summary{cursor:pointer;font-size:14px;line-height:20px;font-weight:500}.article-report summary:hover,.comment-edit summary:hover{color:var(--focus)}.article-report form,.article-report p,.comment-edit form{margin-top:16px}.comment-edit{margin-top:12px}.comment-edit textarea[name=body],#comment-form textarea[name=body],.article-report textarea[name=reason]{min-height:144px}.comment-edit .field{margin-bottom:16px}.article-report{padding:16px 24px}
.sidebar nav .nav-icon,.ui-icon{width:20px;height:20px;object-fit:contain;flex-shrink:0;opacity:.7}.sidebar nav a.active .nav-icon{opacity:1}:root[data-theme=dark] .nav-icon,:root[data-theme=dark] .ui-icon{filter:invert(1)}.search .ui-icon{display:block}.sidebar-bottom .ui-icon{vertical-align:middle}
/* Editorial blocks have their own reading rhythm; prose stays unboxed. */
.article-body .rich-figure{margin:32px 0}.rich-figure img{display:block;width:100%;height:auto;max-height:640px;object-fit:contain;border-radius:12px;background:var(--soft)}.article-body .rich-figure figcaption,.rich-quote figcaption{font-size:14px;line-height:20px;color:var(--muted);margin:12px 0 0;max-width:100%;text-wrap:pretty}.rich-callout{padding:24px;border-radius:12px;background:#edf2ff;margin:32px 0;color:#2c4388}.rich-callout-warning{background:#fbf2da;color:#76551d}.rich-block-title{display:block;font-size:16px;line-height:24px;margin-bottom:8px}.article-body .rich-callout p{font-size:16px;line-height:24px;margin:0}.article-body .rich-table{margin:32px 0}.rich-table-scroll{overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:12px;scrollbar-width:thin}.article-body .rich-table table{font-size:14px;line-height:20px;min-width:480px}.rich-table caption{text-align:left;font-size:14px;line-height:20px;font-weight:600;padding:16px;background:var(--surface);caption-side:top}.rich-table th{white-space:normal}.rich-table td{min-width:144px;max-width:320px}.rich-table th,.rich-table td{padding:16px;overflow-wrap:anywhere}.rich-table tbody tr:hover{background:var(--soft)}.rich-steps{margin:40px 0}.rich-steps>h3{margin:0 0 12px}.rich-step+.rich-step{border-top:1px solid var(--line)}.article-body .rich-steps ol{list-style:none;counter-reset:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.article-body .rich-step{display:flex;align-items:start;gap:16px;padding:16px;border-radius:12px;margin:0;position:relative}.rich-step-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--soft);font-size:14px;line-height:20px;font-weight:600;color:var(--muted);margin-top:2px}.rich-step strong{display:block;font-size:16px;line-height:24px;font-weight:600}.article-body .rich-step p{font-size:16px;line-height:24px;color:var(--muted);margin:4px 0 0}.article-body .article-body .rich-quote{margin:40px 0}.article-body .rich-quote blockquote{margin:0;padding:0;background:none;border-radius:0}.article-body .rich-quote blockquote p{font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.02em;margin:0;text-wrap:pretty}.rich-quote figcaption{padding:0;margin-top:16px}.rich-quote figcaption a{color:var(--muted)}.rich-external{display:inline-block;font-size:14px;line-height:20px;margin-left:8px;color:var(--muted)}.rich-link-card{margin:32px 0}.article-body .rich-link-content{display:block;position:relative;padding:24px 48px 24px 24px;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none}.rich-link-content:hover{background:var(--soft)}.rich-link-content .rich-link-domain{display:block;color:var(--muted);font-size:12px;line-height:16px;margin-bottom:8px}.rich-link-content strong{display:block;font-size:18px;line-height:28px;font-weight:600}.rich-link-description{display:block;font-size:14px;line-height:20px;color:var(--muted);margin-top:8px}.rich-link-content .rich-external{position:absolute;right:24px;top:24px;margin:0}.rich-footnote{display:flex;align-items:start;gap:12px;margin:32px 0;scroll-margin-top:112px}.rich-footnote-number{font-size:12px;line-height:16px;color:var(--focus);padding-top:4px;flex-shrink:0}.rich-footnote>div{min-width:0}.rich-footnote strong{font-size:14px;line-height:20px;font-weight:600}.article-body .rich-footnote p{font-size:14px;line-height:20px;color:var(--muted);margin:4px 0 8px}.article-body .rich-footnote-source{font-size:12px;line-height:16px}.article-body .rich-block-error{font-size:14px;line-height:20px;color:var(--muted);margin:24px 0}.rich-table-scroll:focus-visible{outline-offset:4px}
:root[data-theme=dark] .rich-callout,:root[data-theme=dark] .rich-callout-warning{background:#272727;color:#ecd6a5}
@media(max-width:680px){.article-body .rich-figure,.article-body .rich-table,.rich-callout,.rich-link-card,.rich-footnote{margin:24px 0}.rich-callout{padding:16px}.rich-steps{margin:32px 0}.article-body .rich-step{gap:12px}.rich-step-number{width:24px;height:24px;font-size:12px;line-height:16px}.article-body .rich-step p,.rich-step strong{font-size:14px;line-height:20px}.article-body .rich-quote blockquote p{font-size:20px;line-height:28px}.article-body .rich-quote{margin:32px 0}.article-body .rich-link-content{padding:16px 40px 16px 16px}.rich-link-content .rich-external{right:16px;top:16px}.rich-link-content strong{font-size:16px;line-height:24px}.rich-figure figcaption{font-size:12px;line-height:16px}}
@keyframes nav-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.sidebar.is-open a{opacity:1;transform:none}}
@media print{.topbar,.sidebar,.rail,.stats,.tabs,.footer,.mobile-nav,#comment-form,.btn,button{display:none!important}body{background:white;color:black}.shell{display:block;max-width:none;margin:0;padding:0}.card{border:0;padding:0}.article-body a{text-decoration:underline}.article-body a[href^=http]::after{content:" (" attr(href) ")";font-size:12px;line-height:16px}}

