:root { --bg:#f5f7f9; --surface-soft:#f1f5f7; }
[hidden] { display:none !important; }
button,input { font:inherit; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline:3px solid #2dd4bf; outline-offset:3px; }
body[data-locked="true"] .app { display:none; }
.entry { min-height:100svh; display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:6vw; padding:60px max(36px,7vw); background:radial-gradient(ellipse at 5% 10%,#ddf4f0 0,transparent 52%),#f5f7f9; color:#142d32; }
.entry-brand { display:flex; align-items:center; gap:12px; font-size:18px; font-weight:700; margin-bottom:68px; }
.entry-brand img { width:40px; height:40px; }
.entry-kicker { font-size:14px; color:#0f766e; letter-spacing:.1em; margin-bottom:18px; }
.entry h1 { font-size:clamp(34px,4.2vw,60px); letter-spacing:-.045em; line-height:1.24; margin:0 0 24px; font-weight:750; }
.entry-intro { font-size:18px; color:#49636b; max-width:460px; line-height:1.9; }
.entry-stats { display:flex; gap:30px; margin-top:38px; padding-top:28px; border-top:1px solid #cbdedc; }
.entry-stats strong { display:block; font-size:26px; color:#184c49; font-weight:650; }
.entry-stats span { font-size:14px; color:#57716f; }
.entry-card { background:white; border:1px solid #e0e8e7; border-radius:24px; padding:40px; box-shadow:0 16px 60px #16463d0a; max-width:490px; width:100%; justify-self:center; }
.entry-card .eyebrow { font-size:13px; color:#0f766e; letter-spacing:.08em; }
.entry-card h2 { font-size:28px; letter-spacing:-.025em; margin:9px 0 10px; }
.entry-card p { color:#657478; font-size:15px; }
.entry-card label { display:block; margin-top:28px; margin-bottom:8px; font-size:15px; font-weight:600; }
.order-input { width:100%; font-size:18px; letter-spacing:.035em; padding:15px; border:1px solid #bdcfcd; border-radius:10px; background:#fbfdfd; color:#173f3b; }
.order-input:focus { outline:3px solid #d2f3eb; border-color:#0f766e; }
.entry-card .field-help { font-size:13px; margin:9px 0; }
.entry-card .field-error { min-height:22px; font-size:14px; color:#ad332e; margin:6px 0; }
.entry-primary { width:100%; border:0; border-radius:10px; background:#0f766e; color:white; padding:14px; cursor:pointer; font-weight:600; }
.entry-primary:hover { background:#0d625c; }
.entry-footer { border-top:1px solid #e6eceb; margin-top:25px; padding-top:18px; display:flex; justify-content:space-between; gap:10px; font-size:13px; color:#6d7c7b; }
.entry-footnote { font-size:13px; color:#728480; margin-top:35px; }
.brand-title { font-size:16px; }
.version-badge,.progress-meta,.mini-tag { font-size:12px; }
.search-input,.filter-pill,.stage-header,.nav-item,.btn,.menu-btn,.copy-btn,.pager-label,.practice-chip { font-size:14px; }
.filter-pill { padding:4px 9px; }
.nav-check { width:19px; height:19px; }
.reader-tools { border-top:1px solid var(--border); padding:14px 18px; display:flex; gap:8px; }
.reader-tools button { flex:1; }
.article-card { max-width:880px; }
.reader-watermark { position:fixed; pointer-events:none; user-select:none; inset:66px 0 0 330px; z-index:24; opacity:.075; background-repeat:repeat; }
html[data-theme="dark"] .reader-watermark { opacity:.055; filter:invert(1); }
.settings-dialog { width:min(540px,calc(100vw - 28px)); border:1px solid var(--border); border-radius:18px; padding:28px; background:var(--surface); color:var(--text); max-height:85svh; overflow:auto; }
.settings-dialog::backdrop { background:#10232980; backdrop-filter:blur(3px); }
.dialog-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dialog-head h2 { margin:0; font-size:23px; }
.settings-section { padding:19px 0; border-bottom:1px solid var(--border); }
.settings-section:last-child { border:0; padding-bottom:0; }
.settings-section h3 { font-size:16px; margin:0 0 7px; }
.settings-section p { font-size:14px; color:var(--text-muted); margin:6px 0 12px; }
.settings-order { font-family:ui-monospace,monospace; font-size:17px; overflow-wrap:anywhere; }
.settings-actions { display:flex; flex-wrap:wrap; gap:8px; }
.settings-section progress { width:100%; height:7px; accent-color:var(--accent); }
.settings-section details { font-size:14px; }
.settings-section summary { cursor:pointer; }
.settings-section details p { margin-bottom:0; }
.toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:150; background:#163e3a; color:white; border-radius:10px; padding:12px 18px; font-size:14px; max-width:calc(100vw - 32px); box-shadow:0 4px 25px #0002; }
.topbar-actions { flex-wrap:wrap; justify-content:flex-end; }
.menu-btn { white-space:nowrap; flex-shrink:0; }
.topbar-left { width:100%; }
.crumb { min-width:0; }
@media(max-width:1100px) { .crumb { max-width:180px; } .topbar { align-items:flex-start; } }
@media(max-width:900px) { .reader-watermark { left:0; top:105px; } .sidebar { width:min(330px,90vw); } .topbar { flex-direction:column; gap:8px; } .topbar-actions { width:100%; justify-content:flex-start; gap:6px; } .crumb { max-width:calc(100vw - 90px); } .entry { gap:32px; padding:32px 24px; } .entry-brand { margin-bottom:35px; } .entry-card { padding:28px; } .entry-stats { gap:18px; } }
@media(max-width:640px) { .entry { grid-template-columns:1fr; padding:25px 20px 35px; gap:28px; } .entry-brand { margin-bottom:26px; font-size:16px; } .entry-brand img { width:32px; height:32px; } .entry h1 { font-size:36px; margin-bottom:16px; } .entry-intro { font-size:16px; margin:0; } .entry-stats { margin-top:23px; padding-top:16px; gap:32px; } .entry-stats strong { font-size:23px; } .entry-card { max-width:none; padding:26px; border-radius:18px; } .entry-footnote { display:none; } .entry-card h2 { font-size:25px; } .entry-card label { margin-top:22px; } }
@media(prefers-reduced-motion:reduce) { * { transition:none !important; scroll-behavior:auto !important; } }
