:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202429;background:#f5f3ee;font-size:16px;--ink:#202429;--muted:#636466;--line:#dfdfd8;--gold:#a44825}*{box-sizing:border-box}body{margin:0;padding-bottom:calc(100px + env(safe-area-inset-bottom))}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a44825;outline-offset:4px}a{color:inherit}header{max-width:1120px;margin:auto;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:750;letter-spacing:.14em;font-size:12px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.07em;margin-top:5px}.brand-mark{display:grid;place-items:center;width:42px;height:46px;background:var(--ink);color:#ddc294;border-radius:11px;font:30px Georgia,serif}.pill{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:8px 12px}main{max-width:1080px;margin:auto;padding:28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.17em;color:#a44825;margin:0 0 12px}h1,h2,p{margin-top:0}h1{font:48px/1.08 Georgia,serif;letter-spacing:-.04em;margin-bottom:12px}h2{font:30px/1.16 Georgia,serif;letter-spacing:-.025em}p{color:var(--muted);line-height:1.6}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.page-title h1{font-size:40px}.page-title p:last-child{margin-bottom:0}.primary,.secondary,.danger{min-height:48px;padding:12px 20px;border-radius:12px;font-weight:600}.primary{background:#a44825;color:#fff}.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.danger{color:#aa3025;background:#fcece8}.text-button{padding:12px 0;background:none;color:var(--ink);font-size:14px;min-height:44px}.text-link{display:inline-block;margin-top:18px;font-size:13px}.hero{overflow:hidden;background:#fdfcf9;border:1px solid #e9e2d7;border-radius:24px;display:flex;align-items:center;min-height:390px}.hero-art{width:46%;height:390px;object-fit:cover;order:2}.hero-copy{padding:32px;width:54%}.hero-copy h2{font-size:36px;max-width:400px}.hero-copy p{font-size:14px}.record{width:100%;max-width:320px;font-size:16px;min-height:56px}.record span{font-size:20px;color:#fff;margin-right:8px}.hero-links{display:flex;gap:26px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.section-title h2{font-family:inherit;font-size:17px;letter-spacing:0;margin:0}.entry-list{display:grid;gap:12px;margin-top:14px}.entry-card{display:flex;gap:16px;width:100%;text-align:left;background:#fdfcf9;border:1px solid #e7e2da;border-radius:16px;padding:18px;color:var(--ink)}.entry-icon{flex:0 0 44px;height:48px;background:#f2eee5;color:#a44825;border-radius:12px;display:grid;place-items:center;font-size:25px}.entry-copy{min-width:0;flex:1}.entry-copy small{color:var(--muted);font-size:11px}.entry-copy strong{display:block;font-size:15px;margin:7px 0}.entry-copy p{font-size:13px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.entry-arrow{align-self:center;color:#a44825}.card{padding:26px;background:#fdfcf9;border:1px solid #e7e2da;border-radius:20px;margin-bottom:20px}.card h2{font-size:26px}.fine{font-size:12px;line-height:1.6;color:var(--muted)}.empty{text-align:center;padding:30px;border:1px dashed #ccc7bd;border-radius:16px;font-size:14px}.recording-card{text-align:center;margin-top:20px}.recording-card strong{display:block;font:46px/1.4 ui-monospace,monospace}.recording-dot{display:inline-block;width:12px;height:12px;background:#b34c36;border-radius:50%}.recording-actions{display:flex;gap:12px;justify-content:center;margin:20px}.recording-card p{margin:12px 0}.filters{display:flex;gap:12px;flex-wrap:wrap}.filters input[type=search]{flex:1;min-width:190px}.filters input[type=date]{width:auto}input,textarea{width:100%;border:1px solid #d8d9d3;border-radius:10px;padding:12px;background:#fdfcf9;color:var(--ink);min-height:48px}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}form input{margin-bottom:16px}textarea{line-height:1.6;resize:vertical}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--ink);margin:0}.checkbox{display:flex;gap:12px;align-items:center;margin:18px 0;font-size:14px}.book-intro{display:flex;gap:28px;align-items:center}.book-intro img{width:42%;border-radius:14px}.book-intro p{font-size:14px}.settings-art{width:200px;border-radius:16px;float:right;margin:0 0 16px 20px}#reminder-time{max-width:180px;display:block;margin-bottom:18px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:3;display:flex;width:min(100%,600px);padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fdfcf9;border:1px solid #e2ddd3;border-radius:22px 22px 0 0;box-shadow:0 -5px 25px #20242909}nav button{flex:1;background:none;color:#68727a;min-height:55px;font-size:11px;border-radius:12px}nav span{display:block;font-size:23px;margin-bottom:4px}nav .active{background:#efebe2;color:var(--ink);font-weight:700}.auth{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:42px;min-height:70vh}.auth-art{width:100%;border-radius:24px}.auth h1{font-size:52px}.auth p{font-size:14px}.auth .primary{width:100%}.paid-label{color:#a44825;font-weight:600}#status{position:relative;margin-top:20px;border-radius:12px;font-size:13px;line-height:1.5}#status:not(:empty){padding:15px;background:#eae7dd}#status.error{background:#fbe9e4;color:#8d2d22}dialog{border:1px solid #e3ddd2;border-radius:22px;padding:24px;background:#f5f3ee;color:var(--ink);width:min(95vw,620px);max-height:90dvh;overflow:auto}dialog::backdrop{background:#101c2da6}.dialog-heading,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-heading h2{margin:0}.dialog-heading{margin-bottom:20px}.dialog-actions{margin-top:20px}dialog audio{width:100%;margin:10px 0}details{margin:16px 0;font-size:13px}.original{white-space:pre-wrap}[hidden]{display:none!important}@media(max-width:650px){header{padding:18px 20px}main{padding:24px 18px}.page-title h1{font-size:34px}.page-title p{font-size:13px}.hero{display:block}.hero-art{width:100%;height:185px;display:block;object-position:center 60%}.hero-copy{width:100%;padding:24px}.hero-copy h2{font-size:31px}.record{max-width:none}.hero-links{justify-content:space-between}.hero-copy .eyebrow{display:block}.card{padding:22px}.book-intro{display:block}.book-intro img{width:100%;height:195px;object-fit:cover;margin-bottom:22px}.settings-art{width:100%;height:160px;object-fit:cover;float:none;margin:0 0 20px}.auth{display:flex;flex-direction:column;gap:26px}.auth-art{height:200px;object-fit:cover}.auth h1{font-size:42px}.auth h1 br{display:none}.auth h1 br:after{content:' '}.filters input[type=date]{flex:1}.pill{font-size:10px}.recording-actions button{flex:1}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Shared Scribe identity: the approved mark, paper surfaces and terracotta actions. */
:root{color-scheme:light;--surface:#fdfcf9;--accent:#a44825}
.brand-mark{display:block;width:48px;height:48px;object-fit:contain;background:none;border-radius:0}
.brand{letter-spacing:.12em}.brand small{letter-spacing:.04em;font-size:11px}
h1,h2{font-weight:500}h3{font-size:16px;line-height:1.4;margin:0 0 10px}
button,a,input,textarea{transition:background-color .15s ease,border-color .15s ease}
.primary:hover:not(:disabled){background:#863b1f}.secondary:hover:not(:disabled),.entry-card:hover:not(:disabled){border-color:var(--accent)}
button:disabled{cursor:not-allowed}.section-help{font-size:14px;max-width:700px}.fine{font-size:13px}
.device-prompt{display:flex;align-items:flex-start;gap:16px;padding:22px;margin:22px 0;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:16px}
.device-prompt>img{flex-shrink:0}.device-prompt h2{font:600 19px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;margin-bottom:7px}
.device-prompt p{font-size:14px;margin-bottom:10px}.device-prompt .fine{font-size:12px;margin:10px 0 0}
.device-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}.device-actions button{font-size:14px}
.install-options{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.install-options section{min-width:0;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.install-options ol{padding-left:20px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}.install-options li+li{margin-top:9px}.install-options button{margin-top:16px}
.setup-next{padding:18px;background:var(--surface);border-radius:14px;margin:18px 0}.setup-next p{font-size:14px;margin:0}
#install-guide>p{font-size:14px}#install-guide #install-title{font-size:30px}#install-done{width:100%}
#sync-help{margin-top:-12px}nav svg{width:22px;height:22px;display:block;margin:0 auto 5px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#status:not(:empty){position:static;border:1px solid var(--line)}
@media(max-width:650px){.device-prompt{padding:18px;gap:12px}.device-prompt>img{width:38px;height:38px}.device-actions{display:grid;gap:2px}.device-actions .text-button{text-align:left}.install-options{grid-template-columns:1fr;gap:12px}.page-title{gap:16px}.filters{gap:8px}.hero-copy h2{font-size:28px}header{gap:14px}.pill{white-space:nowrap}.hero-links{gap:12px;flex-wrap:wrap}}
@media(max-width:360px){.brand{font-size:11px;gap:8px}.pill{padding:7px 9px}.brand-mark{width:40px;height:40px}main{padding:20px 14px}.hero-copy{padding:20px}.device-prompt>img{display:none}h1{font-size:36px}.auth h1{font-size:36px}}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;background:#15181c;color:#f5f3ed;--ink:#f5f3ed;--muted:#b5b9be;--line:#42464c;--surface:#22262b;--accent:#e79f71}.eyebrow,.paid-label,.entry-arrow{color:var(--accent)}.hero,.entry-card,.card,nav,input,textarea,.secondary{background:var(--surface);border-color:var(--line)}.secondary,input,textarea,.entry-card,dialog{color:var(--ink)}.hero{border-color:var(--line)}.entry-icon,nav .active{background:#332c28;color:#e79f71}nav button{color:#b5b9be}dialog{background:#15181c;border-color:var(--line)}#status:not(:empty){background:#2b302c;color:#f5f3ed}#status.error,.danger{background:#482b28;color:#ffd2c7}.empty{border-color:var(--line)}.primary{background:#a44825;color:#fff}.auth-art,.hero-art,.book-intro img,.settings-art{filter:brightness(.86)}.brand-mark{filter:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.native-app [data-web-only], .native-app #setup-phone-settings, .native-app #device-prompt, .native-app #web-plans { display: none !important; }
.native-app .brand { pointer-events: none; }
#store-products { display: grid; gap: 14px; margin: 20px 0; }
#archive-notice { border-left: 4px solid var(--accent, #a44825); }

.plan-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.plan-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

.deletion-receipt{max-width:800px;margin:24px auto}#deletion-dialog p{font-size:14px}#deletion-dialog .danger{margin-top:16px}#deletion-receipt-token{font-family:monospace;font-size:12px;margin-bottom:16px}

.deletion-page .primary{display:inline-block;text-decoration:none}#close-deletion{position:sticky;top:0;background:inherit;z-index:1}
