:root{--ink:#172f3d;--muted:#63717a;--paper:#fcfaf5;--surface:#fff;--line:#e3e2dc;--gold:#b8873c;--wash:#f0f2ef;--radius:10px;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 var(--sans)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[contenteditable]:focus-visible{outline:3px solid #b8873c;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13;font-family:var(--serif);font-weight:400}h1{font-size:clamp(2.5rem,5vw,4.7rem);letter-spacing:-.04em}h2{font-size:2.5rem;letter-spacing:-.025em}h3{font-size:1.55rem;letter-spacing:-.02em}img{max-width:100%;height:auto;display:block}small{font-size:.83rem}input,textarea,select{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;padding:.75rem .85rem;min-width:0}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0}input[type=file]{font-size:.88rem;padding:.7rem}input[readonly]{font-size:.85rem;background:var(--wash)}.button{display:inline-flex;justify-content:center;align-items:center;padding:.85rem 1.5rem;border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:5px;font-size:.9rem;font-weight:600;line-height:1.4;text-decoration:none;gap:8px}.button:hover{background:#244556;text-decoration:none}.button.secondary{background:transparent;color:var(--ink);border-color:#a5adae}.button.secondary:hover{background:var(--wash)}.button.full{width:100%}.text-button{background:none;border:0;color:inherit;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:.9rem}.plain-link{font-size:.9rem;border-bottom:1px solid var(--ink);padding:8px 0;font-weight:600}.brand{display:inline-flex;align-items:center;gap:12px;font-family:var(--serif);font-size:1.52rem;letter-spacing:-.045em;white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{position:relative;display:inline-grid;place-items:center;background:var(--ink);color:#fff;width:40px;height:44px;border-radius:4px;font:38px/1 var(--serif);padding-bottom:5px;letter-spacing:-.09em}.brand-mark span{position:absolute;right:5px;top:1px;font:24px/1 var(--serif);color:#deb766}.brand small{display:block;font:.61rem/1.7 var(--sans);letter-spacing:.15em;color:var(--muted);margin-top:4px}.eyebrow{font:600 .72rem/1.6 var(--sans);letter-spacing:.16em;text-transform:uppercase}.eyebrow span:not(.tiny-line){color:var(--muted);letter-spacing:.07em}.tiny-line{display:inline-block;width:28px;height:1px;background:var(--gold);vertical-align:middle;margin-right:12px}.site-header{max-width:1280px;margin:0 auto;height:102px;display:flex;align-items:center;gap:40px;padding:0 40px;border-bottom:1px solid var(--line)}.site-header nav{display:flex;align-items:center;gap:36px;margin-left:auto}.site-header nav a{font-size:.9rem}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:22px;line-height:1}.home-hero{max-width:1280px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:75px;padding:64px 40px 66px;align-items:center}.hero-copy h1{margin:24px 0;max-width:570px;line-height:1.07}.hero-description{max-width:430px;color:var(--muted);font-size:1.03rem;line-height:1.85}.hero-actions{display:flex;gap:26px;align-items:center;margin-top:32px}.hero-note{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding-top:24px;margin-top:42px;max-width:280px}.hero-note>span{font-size:29px;color:var(--gold)}.hero-note p{margin:0;font-family:var(--serif);font-size:.95rem;line-height:1.5;color:var(--muted)}.hero-art{position:relative;height:510px;border-radius:150px 150px 9px 9px;overflow:hidden;background:#122b38;box-shadow:12px 12px 0 #ece8df;display:block}.hero-art:hover{text-decoration:none}.hero-art>img{width:100%;height:100%;object-fit:cover}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,#061d29d9)}.hero-art-caption{position:absolute;bottom:32px;left:32px;right:28px;color:#fff;z-index:1}.hero-art-caption .eyebrow{color:#e6c38a}.hero-art-caption h2{font-size:2rem;margin:12px 0}.hero-art-caption>span:last-child{font-size:.83rem;color:#e3e6e6}.home-library{max-width:1280px;margin:auto;padding:44px 40px 70px;border-top:1px solid var(--line)}.section-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.section-line p,.section-line h2{margin-bottom:0}.section-line .eyebrow{margin-bottom:12px;color:var(--gold)}.section-line h2{font-size:2.2rem}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.card-art{display:block;height:220px;border-radius:6px;overflow:hidden;background:#e8eced;margin-bottom:24px;position:relative}.card-art img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.card-art:hover img{transform:scale(1.025)}.card-initial{display:grid;height:100%;place-items:center;font:110px/1 var(--serif);opacity:.6}.tone-0{background:#dfe9e8;color:#2b6264}.tone-1{background:#f0e2d0;color:#9f6b33}.tone-2{background:#e5e1ed;color:#70607e}.story-card .eyebrow{margin-bottom:11px;font-size:.67rem;letter-spacing:.1em}.story-card h3{margin-bottom:12px;font-size:1.65rem}.story-card>p:not(.eyebrow){color:var(--muted);font-size:.92rem;line-height:1.7}.book-callout{max-width:1200px;margin:0 auto 70px;border:1px solid #dcdcd4;padding:48px 64px;display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#f1f1e9}.book-callout .eyebrow{color:#7c683f}.book-callout h2{font-size:2.6rem}.book-callout p{color:var(--muted)}.book-quote{align-self:center;border-left:1px solid #d9d8cf;padding-left:75px}.book-quote>span{font:70px/.7 var(--serif);color:var(--gold)}.book-quote p{font:1.6rem/1.5 var(--serif);color:var(--ink);margin-bottom:20px}.book-quote small{font-size:.67rem;letter-spacing:.17em}.site-footer{max-width:1280px;padding:48px 40px 30px;margin:auto;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:30px}.site-footer p{font-size:.88rem;color:var(--muted);margin-top:16px}.footer-links{display:flex;flex-wrap:wrap;gap:18px 24px;align-content:start;justify-content:flex-end;font-size:.87rem}.site-footer>small{grid-column:1/-1;color:var(--muted);font-size:.75rem}.browse-intro{max-width:1000px;margin:auto;text-align:center;padding:65px 24px 28px}.browse-intro .eyebrow{color:var(--gold)}.browse-intro h1{font-size:3.8rem;margin-bottom:18px}.browse-intro>p:last-child{color:var(--muted)}.browse-content{max-width:1280px;margin:auto;padding:16px 40px 70px}.reader-filters{display:flex;gap:12px;padding:22px 0;border-block:1px solid var(--line);margin-bottom:24px}.reader-filters>label:first-child{flex:2;min-width:160px}.reader-filters>label{flex:1;min-width:100px}.reader-filters select,.reader-filters input{font-size:.87rem}.result-count{font-size:.82rem;color:var(--muted)}.pagination{display:flex;justify-content:center;gap:24px;padding:26px 0;font-size:.9rem}.reading-page{max-width:1000px;margin:auto;padding:42px 30px 0}.story-heading{max-width:730px;margin:auto;text-align:center}.story-heading>a{font-size:.68rem;color:var(--muted);display:block;margin-bottom:48px}.category-label{color:var(--gold);margin-bottom:16px}.story-heading h1{font-size:clamp(2.5rem,5.5vw,4rem);line-height:1.12;margin-bottom:24px}.story-deck{font:1.2rem/1.6 var(--serif);color:var(--muted)}.story-meta{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;font-size:.78rem;color:var(--muted)}.reading-controls{display:flex;justify-content:center;align-items:center;gap:14px;margin:30px 0;color:var(--muted);font-size:.8rem}.reading-controls button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:4px;min-width:37px;min-height:35px}.story-cover{margin:0 auto 40px;max-width:900px}.story-cover img{width:100%;max-height:500px;object-fit:cover;border-radius:6px}.prose{font-family:var(--serif);font-size:1.2rem;line-height:1.9;overflow-wrap:anywhere}.story-prose{max-width:690px;margin:40px auto 0;font-size:21px}.prose p{margin-bottom:1.35em}.prose h2{font-size:1.8em;margin-top:1.7em}.prose h3{font-size:1.35em;margin-top:1.6em}.prose img{height:auto;max-width:100%;margin:1.4em auto}.prose a{text-decoration:underline}.prose blockquote{border-left:3px solid var(--gold);margin:1.5em 0;padding:.2em 0 .2em 1.2em;font-style:italic}.prose li{margin-bottom:.5em}.caption{font-family:var(--sans);font-size:.82rem;color:var(--muted);text-align:center;line-height:1.6}.story-end{padding:35px 0 55px;text-align:center}.story-end span{color:var(--gold);font-size:25px}.story-end p{font-style:italic;font-family:var(--serif);color:var(--muted)}.related-book{max-width:800px;margin:20px auto 70px;padding:36px;background:var(--wash);text-align:center;border-radius:6px}.related-book>p{color:var(--muted)}.book-detail{max-width:1150px;margin:auto;padding:70px 40px 100px;display:grid;grid-template-columns:340px 1fr;gap:75px}.book-detail h1{font-size:3rem}.book-cover img{width:100%;box-shadow:12px 15px 30px #152b3a22}.book-cover-placeholder{aspect-ratio:2/3;background:var(--ink);color:#fff;padding:45px 25px;display:flex;flex-direction:column;justify-content:center;text-align:center;box-shadow:12px 15px 30px #152b3a22}.book-excerpt{font:1.3rem/1.6 var(--serif);color:var(--muted)}.book-detail .prose{font-size:1.1rem}.byline{font-size:.9rem;color:var(--muted)}.simple-page{max-width:780px;margin:auto;padding:75px 30px 110px;min-height:60vh}.simple-page h1{font-size:3.5rem}.simple-page>.eyebrow{color:var(--gold)}.ad-slot{max-width:730px;margin:30px auto;padding:20px;border-top:1px solid var(--line);text-align:center;overflow:hidden}.ad-slot small{display:block;color:var(--muted);font:10px var(--sans);letter-spacing:.13em;margin-bottom:10px}.preview-banner{text-align:center;background:#e9dbb9;color:#3e331e;padding:10px;font:14px/1.5 var(--sans)}dialog{border:1px solid var(--line);border-radius:12px;padding:30px;background:var(--surface);color:var(--ink);max-width:min(520px,calc(100vw - 32px));box-shadow:0 12px 80px #0003}dialog::backdrop{background:#0c263548}dialog h2{font-size:1.8rem}dialog>p{font-size:.9rem;color:var(--muted)}.consent-actions{display:flex;gap:12px;margin-top:22px}.check{display:flex;gap:10px;align-items:center;font-size:.9rem;margin:14px 0}.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}.empty{padding:55px 30px;text-align:center;grid-column:1/-1;width:100%;color:var(--muted)}.empty h2,.empty h3{color:var(--ink)}
/* Writing desk */
.admin-body{background:#f4f6f6;font-size:.94rem}.sidebar{position:fixed;left:0;top:0;bottom:0;width:246px;padding:30px 23px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.sidebar .brand{font-size:1.3rem;gap:10px}.sidebar .brand-mark{width:35px;height:40px;font-size:34px}.sidebar nav{display:grid;gap:5px;margin-top:46px}.sidebar nav a{padding:11px 14px;border-radius:6px;color:#52636b;font-size:.91rem}.sidebar nav a:hover{background:#f3f5f5;text-decoration:none}.sidebar nav a.active{background:#e7eeee;color:var(--ink);font-weight:600}.sidebar-bottom{margin-top:auto;display:grid;gap:14px;font-size:.85rem}.sidebar-bottom span{font-size:.75rem;color:var(--muted);overflow-wrap:anywhere}.admin-main{margin-left:246px;padding:0 42px 60px;max-width:1700px}.admin-top{height:83px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);color:var(--muted);font-size:.7rem;letter-spacing:.13em;margin-bottom:38px}.admin-top>span:last-child{font-family:var(--serif);font-size:1rem;letter-spacing:0}.admin-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.admin-title h1{font-size:2.55rem;margin:0}.lede{color:var(--muted);font-size:1rem;max-width:750px}.dashboard-actions{display:flex;gap:14px;margin:28px 0}.panel{background:#fff;border:1px solid #dfe5e5;border-radius:9px;padding:25px;margin-bottom:22px}.panel h2{font-size:1.4rem;margin-bottom:18px}.panel h3{font-size:1.15rem}.panel p{font-size:.89rem;color:var(--muted)}.panel .section-line{margin-bottom:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:34px 0 10px}.stats .panel{padding:22px 25px}.stats span{display:block;color:var(--muted);font-size:.84rem}.stats strong{display:block;font:2.5rem/1.5 var(--serif);margin-top:8px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quick-link{border:1px solid var(--line);border-radius:6px;padding:20px}.quick-link strong{display:block;font-size:.95rem;margin-bottom:8px}.quick-link span{font-size:.83rem;color:var(--muted);display:block}.field{display:block;margin-bottom:20px}.field>span{display:block;font-size:.84rem;font-weight:600;margin-bottom:7px;letter-spacing:0}.field small{display:block;font-size:.76rem;line-height:1.55;color:var(--muted);margin-top:7px}.field input,.field textarea,.field select{font-size:.91rem}.field input:focus,.field textarea:focus,.field select:focus{border-color:#79959b}.notice{padding:15px 20px;background:#e9f2ec;color:#284c37;border:1px solid #c9ddcf;border-radius:6px;margin:20px 0;font-size:.9rem}.notice.error{background:#fff0ed;color:#9a3421;border-color:#efc9c1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:.73rem;text-transform:uppercase;letter-spacing:.065em;color:var(--muted);font-weight:500;padding:10px 14px;border-bottom:1px solid var(--line)}td{font-size:.84rem;padding:18px 14px;border-bottom:1px solid #edf0ef;vertical-align:middle}tr:last-child td{border-bottom:0}.table-title{font-weight:600;font-size:.94rem}td small{display:block;color:var(--muted);font-size:.73rem;margin-top:4px}.badge{display:inline-block;font-size:.72rem;border-radius:4px;padding:3px 8px;background:#edf0f2;color:#596771}.badge.published{background:#e6f0e9;color:#346143}.badge.scheduled{background:#fff0d9;color:#916525}.badge.trash{background:#f8e9e6;color:#934839}.inline{display:inline;margin-left:15px}.inline button{font-size:.8rem;color:var(--muted)}.filter-bar{display:flex;gap:12px;margin:24px 0}.filter-bar input{flex:1}.filter-bar select{width:190px}.filter-bar input,.filter-bar select{font-size:.9rem}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px}.editor-side .panel{padding:21px}.editor-panel{padding:25px 25px 16px}.editor-panel input[name=title]{font:1.6rem/1.4 var(--serif);padding:14px}.editor-toolbar{display:flex;flex-wrap:wrap;gap:4px;background:#f4f6f6;border:1px solid var(--line);padding:8px;border-radius:6px 6px 0 0}.editor-toolbar button{border:0;background:transparent;padding:6px 9px;color:var(--ink);border-radius:4px;font-size:.79rem}.editor-toolbar button:hover{background:#e0e7e8}.editor-toolbar select{font-size:.8rem;width:126px;padding:5px}.rich-editor{min-height:390px;max-height:850px;overflow:auto;padding:24px;border:1px solid var(--line);border-top:0;background:#fff;font:1.1rem/1.85 var(--serif);outline-offset:-2px}.rich-editor img{max-width:100%;height:auto}.rich-editor h2{font-size:1.7rem}.rich-editor p{margin-bottom:1em}.rich-editor blockquote{border-left:3px solid var(--gold);padding-left:16px;margin-left:0}.editor-bottom{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:.71rem}.editor-panel .field:last-of-type{margin-bottom:12px}.preview-links{display:grid;gap:10px;text-align:center;margin-top:16px;font-size:.81rem}.preview-links button{border:0;background:transparent;color:var(--ink);font-size:.81rem;text-decoration:underline}.editor-side img{max-height:220px;margin:0 auto 18px;border-radius:5px}#remove-cover{font-size:.77rem;margin:0 0 15px}.revision{display:block;width:100%;background:transparent;border:0;border-top:1px solid var(--line);padding:12px 0;text-align:left;color:var(--ink)}.revision span{display:block;font-size:.83rem}.revision small{font-size:.73rem;color:var(--muted)}.search-preview{padding:20px;background:#f9fafb;border:1px solid var(--line);border-radius:6px;margin:20px 0}.search-preview h3{color:#1a0dab;font:1.2rem/1.4 var(--sans);margin:5px 0}.search-preview p{font-size:.8rem;margin:5px 0}.search-preview small{color:var(--muted);font-size:.7rem}.search-preview #search-url{color:#32663e;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.full-span{grid-column:1/-1}.reauth{padding:20px;background:#f5f6f4;border:1px solid var(--line);border-radius:6px;margin:25px 0 20px}.reauth h3{margin-bottom:8px}.reauth p{font-size:.82rem}.reauth .field{margin-bottom:0}.secret{display:block;padding:18px;background:#eaf0f0;font-size:1.1rem;word-break:break-all;margin:20px 0}.recovery{padding:20px;background:#fff4db;border:1px solid #e2c992;border-radius:6px}.recovery pre{columns:2;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.narrow{max-width:800px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.media-grid .panel{margin:0}.media-grid img{height:180px;width:100%;object-fit:contain;margin-bottom:16px}.media-grid p{margin-bottom:6px}.media-grid input{margin-top:12px}details{border-top:1px solid var(--line);padding:18px 0}summary{cursor:pointer;font-size:.9rem;font-weight:600;margin-bottom:16px}.login-body{min-height:100vh;display:grid;place-items:center;padding:32px;background:#eef1ef}.login-card{max-width:465px;width:100%;background:#fff;padding:40px;border:1px solid var(--line);border-radius:10px;box-shadow:0 20px 70px #152a3810}.login-card>.brand{margin-bottom:38px}.login-card h1{font-size:2.8rem;margin:10px 0 14px}.login-card>.eyebrow{font-size:.7rem;color:var(--gold)}.login-card>p:not(.eyebrow){font-size:.9rem;color:var(--muted)}.login-card form{margin-top:28px}.login-card>small{display:block;text-align:center;color:var(--muted);font-size:.72rem;margin-top:25px}#mobile-preview-dialog{width:450px;max-width:calc(100vw - 20px);padding:12px}#mobile-preview-dialog form{margin-bottom:12px}#mobile-preview-frame{width:100%;height:70vh;border:1px solid var(--line);background:var(--paper)}hr{border:0;border-top:1px solid var(--line);margin:30px 0}
html[data-theme=dark]{--ink:#e5e8e9;--muted:#acb9bf;--paper:#13242d;--surface:#1b313d;--line:#34454d;--wash:#1c3540;color-scheme:dark}html[data-theme=dark] .reader-body .button{background:#d0ad70;border-color:#d0ad70;color:#102a37}html[data-theme=dark] .reader-body .button.secondary{background:transparent;color:var(--ink);border-color:#8a9da7}html[data-theme=dark] .book-callout{background:#1a303b;border-color:var(--line)}html[data-theme=dark] .brand-mark{background:#d0ad70;color:#102a37}html[data-theme=dark] .hero-art{box-shadow:12px 12px 0 #203945}html[data-theme=dark] .book-quote{border-color:var(--line)}
@media(min-width:1600px){.admin-main{margin-right:auto}.home-hero{padding-top:80px;padding-bottom:80px}}
@media(max-width:1100px){.home-hero{gap:40px}.hero-art{height:450px}.hero-copy h1{font-size:3.6rem}.sidebar{width:214px;padding:25px 17px}.admin-main{margin-left:214px;padding:0 24px 45px}.editor-layout{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.editor-toolbar{gap:0}.settings-grid{gap:0 18px}.panel{padding:20px}.three-col{grid-template-columns:1fr}.book-callout{margin-inline:40px}.book-detail{gap:40px;grid-template-columns:290px 1fr}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.site-header{padding:0 25px;height:84px;gap:22px}.site-header nav{gap:20px}.home-hero{padding:42px 25px;gap:28px}.hero-copy h1{font-size:3rem}.hero-art{height:405px;border-radius:100px 100px 7px 7px}.hero-actions{flex-direction:column;align-items:flex-start;gap:12px}.hero-note{margin-top:25px}.hero-art-caption{left:23px;bottom:24px}.hero-art-caption h2{font-size:1.7rem}.home-library{padding:35px 25px 50px}.card-grid{gap:22px}.card-art{height:180px}.story-card h3{font-size:1.4rem}.book-callout{margin:0 25px 50px;padding:35px;gap:30px}.book-callout h2{font-size:2.1rem}.book-quote{padding-left:30px}.book-quote p{font-size:1.3rem}.site-footer{padding-inline:25px}.sidebar{width:180px;padding:24px 12px}.sidebar .brand{font-size:1.05rem;gap:7px}.sidebar .brand-mark{width:29px;height:33px;font-size:29px}.sidebar .brand small{font-size:.51rem}.sidebar nav a{font-size:.82rem;padding:10px}.sidebar-bottom span{font-size:.65rem}.admin-main{margin-left:180px;padding-inline:20px}.admin-title h1{font-size:2.1rem}.stats{grid-template-columns:1fr 1fr;gap:14px}.editor-layout{grid-template-columns:1fr}.editor-side{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.settings-grid{grid-template-columns:1fr}.two-col{gap:0 15px}.reader-filters{flex-wrap:wrap}.reader-filters>label{flex:1 1 150px}.book-detail{grid-template-columns:220px 1fr;gap:30px;padding-inline:25px}.book-detail h1{font-size:2.5rem}}
@media(max-width:600px){.site-header{padding:0 20px;height:auto;min-height:80px;flex-wrap:wrap;gap:16px}.site-header .brand{font-size:1.3rem}.site-header .brand-mark{width:32px;height:36px;font-size:33px}.site-header nav{order:3;width:100%;padding-bottom:15px;justify-content:center;gap:32px}.site-header .icon-button{margin-left:auto}.site-header nav a{font-size:.83rem}.home-hero{grid-template-columns:1fr;padding:38px 22px 42px;gap:34px}.hero-copy h1{font-size:3.3rem;max-width:400px;margin:18px 0}.hero-description{font-size:.98rem}.hero-actions{flex-direction:row;align-items:center;gap:22px;margin-top:26px}.hero-actions .button{padding:.85rem 1rem;font-size:.83rem}.hero-actions .plain-link{font-size:.8rem}.hero-note{display:none}.hero-art{height:360px;border-radius:100px 100px 6px 6px;margin-right:9px}.hero-art img{object-position:center 43%}.hero-art-caption h2{font-size:1.85rem}.home-library{padding:32px 22px 42px}.section-line{align-items:flex-start;gap:15px}.section-line h2{font-size:1.85rem}.section-line .plain-link{font-size:.75rem;flex-shrink:0;align-self:flex-end;margin-bottom:4px}.section-line .eyebrow{font-size:.64rem}.card-grid{grid-template-columns:1fr;gap:30px}.card-art{height:225px;margin-bottom:19px}.story-card h3{font-size:1.75rem}.story-card>p:not(.eyebrow){margin-bottom:0}.book-callout{grid-template-columns:1fr;margin:0 22px 40px;padding:30px;gap:20px}.book-callout h2{font-size:2.1rem}.book-quote{padding:25px 0 0;border-left:0;border-top:1px solid var(--line)}.book-quote p{font-size:1.35rem}.site-footer{grid-template-columns:1fr;padding:34px 22px 26px;gap:24px}.footer-links{justify-content:flex-start;font-size:.82rem;gap:14px 22px}.site-footer>small{font-size:.7rem}.browse-intro{padding:40px 22px 20px}.browse-intro h1{font-size:2.7rem}.browse-intro p{font-size:.94rem}.browse-content{padding:8px 22px 40px}.reader-filters{gap:10px}.reader-filters>label{flex:1 1 130px}.reader-filters>label:first-child{flex:1 1 100%}.reader-filters .button{padding:.65rem 1.3rem}.reading-page{padding:30px 22px 0}.story-heading>a{margin-bottom:33px}.story-heading h1{font-size:2.6rem}.story-deck{font-size:1.15rem}.story-meta{font-size:.75rem;gap:10px 15px}.story-cover{margin-inline:-22px}.story-cover img{border-radius:0;max-height:330px}.story-prose{margin-top:28px;line-height:1.85}.related-book{margin:0 22px 40px;padding:28px}.related-book h2{font-size:1.8rem}.book-detail{grid-template-columns:1fr;padding:40px 24px 60px;gap:35px}.book-cover{max-width:260px;margin:auto}.book-detail h1{font-size:2.6rem}.simple-page{padding:45px 24px 70px}.simple-page h1{font-size:2.7rem}.consent-actions{flex-direction:column}.sidebar{position:static;width:100%;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.brand{font-size:1.25rem}.sidebar .brand small{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:3px;margin-top:14px}.sidebar nav a{font-size:.74rem;padding:7px 9px}.sidebar-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:.74rem}.sidebar-bottom span{display:none}.sidebar-bottom .text-button{font-size:.74rem}.admin-main{margin-left:0;padding:0 16px 35px}.admin-top{height:56px;margin-bottom:25px;font-size:.58rem}.admin-title h1{font-size:2rem}.lede{font-size:.88rem}.stats{gap:12px;margin-top:25px}.stats .panel{padding:16px;margin-bottom:8px}.stats strong{font-size:2rem}.panel{padding:18px;margin-bottom:16px}.admin-main .section-line{flex-wrap:wrap}.filter-bar{flex-wrap:wrap;gap:8px}.filter-bar input{flex:1 1 100%}.filter-bar select{flex:1}.filter-bar button{font-size:.8rem}.editor-side{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.reauth .field{margin-bottom:14px}.rich-editor{padding:16px;min-height:350px}.editor-bottom{flex-direction:column;gap:5px}.editor-panel input[name=title]{font-size:1.3rem}.editor-toolbar button{font-size:.74rem;padding:7px}.editor-toolbar select{font-size:.74rem;width:113px}.settings-grid{display:block}.media-grid{grid-template-columns:1fr 1fr;gap:12px}.media-grid .panel{padding:12px}.media-grid img{height:120px}.login-card{padding:28px}.login-body{padding:20px}.login-card h1{font-size:2.5rem}.recovery pre{columns:1}.dashboard-actions .button{font-size:.82rem;padding:12px 16px}.secret{font-size:.9rem}.table-wrap{max-width:100%}.table-wrap table{min-width:530px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.brand-logo{height:44px;width:auto;max-width:110px;object-fit:contain}

.authenticator-qr{display:inline-block;background:#fff;padding:20px;margin:12px 0;max-width:100%;border:1px solid #d9e0e0;border-radius:6px}.authenticator-qr img,.authenticator-qr canvas{display:block;max-width:100%;height:auto}
