*{box-sizing:border-box}html,body,#root{color:#1f2937;background:#f8fafc;min-height:100%;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}a{color:inherit}.app-shell{background:#fff;flex-direction:column;min-height:100vh;display:flex}.theme-sepia{--reader-bg:#fbf4df;--reader-text:#3f3528;--chrome:#f7eed5}.theme-dark{--reader-bg:#111827;--reader-text:#e5e7eb;--chrome:#172033;color:#e5e7eb}.theme-light{--reader-bg:#fff;--reader-text:#263241;--chrome:#f8fafc}.topbar{background:var(--chrome);z-index:30;border-bottom:1px solid #94a3b840;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex;position:sticky;top:0}.brand,.brand-link{align-items:center;gap:10px;font-weight:800;text-decoration:none;display:flex}.badge{text-transform:uppercase;letter-spacing:.08em;color:#3730a3;background:#e0e7ff;border-radius:999px;padding:4px 7px;font-size:11px}.top-actions,.share-actions{align-items:center;gap:8px;display:flex}.top-actions button,.share-actions button,.listen-button,.preview-bar button{color:#1f2937;cursor:pointer;background:#ffffffe6;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;display:flex}.reader-layout{grid-template-columns:minmax(0,2.2fr) minmax(320px,.8fr);min-height:calc(100vh - 64px);display:grid}.reading-pane{background:var(--reader-bg);color:var(--reader-text);scroll-behavior:smooth;padding:48px 7vw 80px;overflow:auto}.reading-inner{max-width:820px;margin:0 auto}.eyebrow{letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#64748b!important;margin-bottom:12px!important;font-size:12px!important}.reading-inner h1{color:var(--reader-text);margin:0 0 28px;font-family:Georgia,serif;font-size:clamp(34px,4vw,46px);line-height:1.1}.reading-inner h2,.reading-inner h3{color:var(--reader-text);margin-top:36px;font-family:Georgia,serif}.reading-section>p,.reading-section li{font-family:Georgia,serif;font-size:calc(21px * var(--font-scale,1));color:var(--reader-text);margin:0 0 24px;line-height:1.8}.reading-section ul,.reading-section ol{padding-left:28px}.reading-inner ::selection{color:#1f2937;background:#fde68a}.reading-inner figure{margin:28px 0}.reading-inner img{border-radius:12px;max-width:100%;height:auto}.reading-inner figcaption{color:#64748b;margin-top:6px;font-size:13px}.helper-pane{background:var(--chrome);border-left:1px solid #94a3b840;min-height:100%}.helper-header{color:#1f2937;background:#ffffffb3;border-bottom:1px solid #94a3b840;align-items:center;gap:8px;height:56px;padding:0 20px;font-weight:800;display:flex}.helper-empty{text-align:center;color:#64748b;padding:80px 30px}.helper-empty h2{color:#1f2937;margin:10px 0;font-size:20px}.helper-empty p{line-height:1.6}.help-content{color:#1f2937;padding:20px;position:relative}.help-content section{border-bottom:1px solid #e2e8f0;margin:0 0 20px;padding:0 0 20px}.label{text-transform:uppercase;letter-spacing:.06em;color:#475569;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.help-content blockquote{background:#fff;border-left:3px solid #94a3b8;border-radius:8px;margin:0;padding:12px 14px;font-size:14px;line-height:1.5}.help-content p{margin:0 0 8px;line-height:1.6}.muted{color:#64748b;font-size:14px}.vocab{flex-direction:column;gap:2px;margin:12px 0;display:flex}.vocab span{color:#64748b;font-size:14px}.listen-button{width:100%;margin-top:8px;font-weight:800}.listen-button.secondary{background:0 0}.status{color:#1d4ed8;background:#eff6ff;border-radius:10px;padding:14px}.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:12px 14px}.mobile-close{display:none}.preview-note{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin:20px;padding:12px;font-size:14px}.page-shell{min-height:100vh}.site-header{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;height:64px;padding:0 7vw;display:flex}.landing{background:radial-gradient(circle at 75% 20%,#dbeafe 0,#0000 34%),linear-gradient(#fff,#f8fafc);place-items:center;min-height:calc(100vh - 64px);padding:60px 7vw;display:grid}.landing>div{text-align:center;max-width:900px}.kicker{letter-spacing:.14em;color:#2563eb;font-size:12px;font-weight:900}.landing h1,.form-heading h1,.state-page h1{color:#0f172a;margin:16px 0 20px;font-family:Georgia,serif;font-size:clamp(40px,6vw,72px);line-height:1.05}.landing p{color:#475569;max-width:720px;margin:0 auto 30px;font-size:19px;line-height:1.7}.primary-button{cursor:pointer;border:0;border-radius:12px;align-items:center;gap:8px;padding:13px 18px;font-weight:800;text-decoration:none;display:inline-flex;color:#fff!important;background:#0f172a!important}.primary-button:disabled{opacity:.55;cursor:wait}.primary-button.compact{padding:9px 13px}.form-page{padding:48px 20px 80px}.form-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;max-width:860px;margin:0 auto;padding:32px;box-shadow:0 16px 50px #0f172a0f}.form-heading h1{margin:8px 0;font-size:42px}.form-heading p{color:#64748b;margin:0 0 28px;line-height:1.6}.form-card form{flex-direction:column;gap:20px;display:flex}.form-card label{flex-direction:column;gap:7px;font-weight:700;display:flex}.form-card input,.form-card textarea,.form-card select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%;padding:11px 12px}.form-card textarea{resize:vertical;font-family:Georgia,serif;font-size:17px;line-height:1.55}.optional{color:#94a3b8;font-size:12px;font-weight:500}.settings-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-card fieldset{border:1px solid #e2e8f0;border-radius:12px;padding:16px}.form-card legend{padding:0 6px;font-weight:800}.form-card label.check{flex-direction:row;align-items:center;margin:8px 0;font-weight:500;display:flex}.form-card .check input{width:auto}.preview-shell{min-height:100vh}.preview-bar{z-index:40;color:#312e81;background:#eef2ff;border-bottom:1px solid #c7d2fe;justify-content:space-between;align-items:center;height:58px;padding:0 20px;display:flex;position:sticky;top:0}.preview-shell .topbar{top:58px}.state-page{text-align:center;max-width:720px;margin:0 auto;padding:80px 24px}.state-page h1{font-size:42px}.state-page p{color:#64748b}.state-page a{color:#2563eb}.theme-dark .reading-pane{background:#111827}.theme-dark .topbar,.theme-dark .helper-pane{background:#172033}.theme-dark .helper-header{color:#e5e7eb;background:#1f2937}.app-shell:fullscreen{width:100vw;height:100vh}.app-shell:fullscreen .reader-layout{height:calc(100vh - 64px)}@media (width<=860px){.topbar{padding:0 12px}.brand span:not(.badge){font-size:14px}.top-actions{gap:5px}.top-actions button{padding:7px 9px}.reader-layout{display:block}.reading-pane{min-height:calc(100vh - 64px);padding:32px 22px 120px}.reading-section>p,.reading-section li{font-size:calc(19px * var(--font-scale,1))}.helper-pane{display:none}.reader-layout.helper-open .helper-pane{z-index:50;background:#f8fafc;border-top:1px solid #cbd5e1;border-left:0;border-radius:18px 18px 0 0;max-height:65vh;display:block;position:fixed;bottom:0;left:0;right:0;overflow:auto;box-shadow:0 -10px 40px #0f172a2e}.reader-layout.helper-open .helper-empty{display:none}.mobile-close{background:#e2e8f0;border:0;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:absolute;top:16px;right:18px}.helper-header{padding-right:54px}.settings-grid{grid-template-columns:1fr}.form-card{border-radius:14px;padding:22px}.preview-bar{flex-wrap:wrap;gap:10px;height:auto;min-height:58px;padding:10px 12px}.preview-shell .topbar{top:78px}.share-actions{flex-wrap:wrap}.landing{padding:40px 20px}.landing p{font-size:17px}}.reading-pane .reading-inner{max-width:var(--reader-width,760px)}.reading-section>p,.reading-section li{line-height:var(--line-height,1.8)}.preview-publish-error{margin:10px 20px}.theme-dark .help-content{color:#e5e7eb}.theme-dark .label,.theme-dark .muted,.theme-dark .vocab span{color:#cbd5e1}.theme-dark .help-content section{border-color:#334155}.theme-dark .help-content blockquote{color:#e5e7eb;background:#1f2937;border-left-color:#64748b}.theme-dark .helper-empty{color:#cbd5e1}.theme-dark .helper-empty h2{color:#e5e7eb}.theme-dark .listen-button.secondary{color:#e5e7eb;border-color:#475569}@media (width<=860px){.theme-dark .reader-layout.helper-open .helper-pane{background:#172033}}
