:root{--paper:#fffefa;--ground:#f6f3ec;--ink:#242c2b;--muted:#7a8179;--line:#dddcd1;--red:#a44936;--red-dark:#853724;--green:#426d52;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font:15px/1.7 var(--sans);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b7c5b3;outline-offset:4px}a{color:inherit}button{color:inherit}button,input,textarea{-webkit-appearance:none}input,textarea{border-radius:0}input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;accent-color:var(--green)}[hidden]{display:none!important}.brand{display:inline-flex;gap:12px;align-items:center;text-decoration:none;font-size:21px;letter-spacing:1px;font-weight:600}.brand img{width:42px;height:42px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:400;line-height:1.4}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);line-height:1.6}.text-button{background:none;border:0;padding:4px 0;font-size:13px;color:var(--muted)}.text-button:hover{color:var(--red)}h1,h2,p{margin:0}h1,h2{font-family:var(--serif);font-weight:500}h1{font-size:36px;letter-spacing:-1px;line-height:1.35}h2{font-size:23px;line-height:1.4}.intro-rule{display:block;width:34px;height:1px;background:var(--red);margin:30px 0}.primary{width:100%;border:1px solid var(--red);border-radius:5px;background:var(--red);color:#fffefa;min-height:53px;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;transition:background .2s}.primary:hover{background:var(--red-dark)}.primary span{font-size:21px;line-height:1}.error{color:var(--red);font-size:13px;min-height:0}.error:not(:empty){margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--muted);font-size:13px}.wave-mark{height:32px;display:inline-flex;align-items:center;gap:4px}.wave-mark i{display:block;width:3px;background:var(--red);border-radius:3px;height:13px;animation:wave 1s ease-in-out infinite alternate}.wave-mark i:nth-child(2n){height:25px;animation-delay:.2s}.wave-mark i:nth-child(3){height:32px;animation-delay:.4s}@keyframes wave{to{transform:scaleY(.45)}}
.login-shell{max-width:1080px;min-height:100dvh;margin:auto;padding:70px 50px;display:grid;grid-template-columns:1fr 380px;gap:100px;align-items:center}.login-intro .brand{margin-bottom:76px}.login-intro h1{font-size:52px;margin:18px 0 26px}.login-intro>p{color:var(--muted);line-height:2}.tiny{font-size:12px;color:var(--muted)}.login-card{background:var(--paper);border:1px solid var(--line);padding:38px 32px 28px;border-radius:8px;box-shadow:0 16px 40px #323c2e05}.card-number{display:block;color:var(--red);font-size:10px;letter-spacing:2px;margin-bottom:28px}.login-card h2{font-size:27px}.login-card>p{font-size:13px;color:var(--muted);margin:9px 0 29px}.login-card label{font-size:12px}.password-row{display:flex;align-items:center;border-bottom:1px solid var(--line);margin:8px 0 24px}.password-row input{width:100%;min-width:0;padding:12px 0;border:0;outline:none;background:none;font-size:16px}.password-row button{flex-shrink:0}.login-card p.privacy-note{margin:23px 0 0;text-align:center;font-size:11px}.privacy-note span{color:var(--green);margin-right:5px}.login-card p.error{color:var(--red)}
.app-shell{max-width:1210px;margin:auto;display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100dvh}.sidebar{border-right:1px solid var(--line);padding:42px 30px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.sidebar .brand{font-size:19px;gap:8px}.sidebar .brand img{width:34px;height:34px}.sidebar .brand small{font-size:8px;letter-spacing:1px}.side-note{margin-top:102px}.side-note p{font-family:var(--serif);font-size:28px;line-height:1.65;margin-top:15px}.side-note small{font-size:13px;color:var(--muted)}.logout{margin-top:auto;align-self:flex-start;font-size:12px}.main-column{min-width:0;padding:0 50px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.desktop-heading{font-size:12px;color:var(--muted);letter-spacing:2px}.mobile-brand{display:none}.state-chip{font-size:11px;color:var(--green);display:flex;align-items:center;gap:7px;white-space:nowrap}.state-dot{height:6px;width:6px;border-radius:50%;background:currentColor}.tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:35px}.tab{border:0;background:none;padding:17px 0 14px;position:relative;white-space:nowrap;font-size:13px;color:var(--muted)}.tab>span{font-size:17px;margin-right:4px}.tab.active{color:var(--ink)}.tab.active:after{content:"";height:2px;background:var(--red);position:absolute;bottom:-1px;left:0;right:0}.tab b{font-size:10px;font-weight:400;margin-left:3px;color:var(--muted)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 25px}.section-heading h1{margin-top:8px}.edition{font-size:10px;flex-shrink:0;color:var(--muted);line-height:1.6;text-align:right}.edition em{display:block;font-size:12px;font-style:normal;color:var(--green)}.paper{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:25px 28px}.paper-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.paper-top label{font-size:11px;color:var(--muted)}.paper-top label span{margin-left:7px;font-size:10px}.title-input{border:0;border-bottom:1px solid #ebe9df;width:100%;padding:8px 0 13px;outline:none;font-family:var(--serif);font-size:22px;background:none}.title-input::placeholder{color:#aaa99f}textarea{width:100%;resize:vertical;background:none;border:0;padding:17px 0;outline:none;line-height:1.95;font-size:16px;color:var(--ink)}textarea::placeholder{color:#a0a397;font-size:14px;line-height:2}.composer textarea{min-height:230px}.editor-bottom{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);padding:2px 0 16px;border-bottom:1px solid #ebe9df}.editor-bottom b{font-weight:400;font-variant-numeric:tabular-nums}.reading-options{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0 22px}fieldset{margin:0;padding:0;border:0;min-width:0}legend{padding:0;margin:0 0 9px;color:var(--muted);font-size:11px}.repeat-options{display:flex;gap:6px}.repeat-options button{border:1px solid var(--line);border-radius:4px;background:transparent;padding:6px 11px;white-space:nowrap;font-size:12px;min-height:35px}.repeat-options button.selected{color:var(--green);background:#edf1e9;border-color:#b7c5b3}.reading-options p{color:var(--muted);font-size:10px;line-height:1.8;max-width:210px}.generation-note{font-size:10px;text-align:center;margin-top:11px;color:var(--muted)}.recent-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:31px 0 17px}.recent-heading h2{font-size:22px}.audio-list{display:flex;flex-direction:column;gap:12px}.audio-card{border:1px solid var(--line);background:#fffefa80;border-radius:6px;padding:19px 20px;min-width:0}.audio-card-header{display:flex;gap:12px;align-items:start;justify-content:space-between}.audio-card h3{margin:0;font-size:15px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.audio-meta{font-size:10px;color:var(--muted);margin-top:4px}.audio-card audio{display:block;width:100%;height:36px;margin-top:14px}.audio-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;font-size:11px}.audio-actions a{color:var(--red);text-decoration:none}.audio-actions select{font:inherit;color:var(--muted);background:none;border:1px solid var(--line);border-radius:4px;padding:3px 6px}.job-label{font-size:10px;white-space:nowrap;color:var(--green);border:1px solid #d7e0d4;background:#edf1e9;padding:3px 8px;border-radius:3px;flex-shrink:0}.job-label.failed{color:var(--red);background:#f8eee8;border-color:#ead4cb}.job-status{font-size:12px;color:var(--muted);margin-top:9px;display:flex;justify-content:space-between;align-items:center;gap:10px}.job-status button{font-size:11px}.job-progress{width:100%;height:3px;border:0;display:block;accent-color:var(--green);margin-top:15px}.active-jobs:not(:empty){display:flex;flex-direction:column;gap:12px;margin-top:18px}.section-description{font-size:13px;color:var(--muted);margin:-7px 0 25px;line-height:1.9}.empty{text-align:center;font-size:13px;color:var(--muted);padding:60px 16px}.footer{font-size:9px;letter-spacing:1px;color:#93978c;margin:35px 0 30px;text-align:center}.footer span{margin:0 10px;color:var(--red)}.record-controls{display:flex;gap:16px;align-items:center;margin:3px 0 24px}.record-button{border:0;background:none;display:flex;align-items:center;gap:10px;padding:5px 0;font-size:14px;flex-shrink:0}.record-circle{height:34px;width:34px;border:1px solid #d8b5a9;border-radius:50%;position:relative;background:#f8eee8}.record-circle:after{content:"";height:10px;width:10px;background:var(--red);border-radius:50%;position:absolute;left:11px;top:11px}.record-button.recording .record-circle:after{border-radius:2px;animation:pulse 1s infinite}.record-controls>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.record-controls>.text-button{margin-left:auto;white-space:nowrap}.recording-paper>label{font-size:12px;color:var(--muted)}.recording-paper textarea{margin-top:8px;border-bottom:1px solid var(--line);min-height:130px;font-size:15px}.recording-paper audio{width:100%;margin-bottom:20px}.confirm-row{display:flex;align-items:center;gap:8px;margin:17px 0 22px}.confirm-row input{height:16px;width:16px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;z-index:20;border-radius:5px;font-size:13px;max-width:90vw;text-align:center;box-shadow:0 5px 20px #0002}@keyframes pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:1000px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:38px 23px}.main-column{padding:0 30px}.reading-options{align-items:start;flex-direction:column;gap:12px}.reading-options p{max-width:none}.reading-options p br{display:none}.login-shell{gap:50px;padding:50px 35px}}
@media(max-width:700px){body{font-size:14px}.login-shell{min-height:100dvh;display:block;max-width:440px;padding:32px 25px 35px}.login-intro .brand{margin-bottom:44px;font-size:20px}.login-intro>.eyebrow{font-size:8px;letter-spacing:1.5px}.login-intro h1{font-size:39px;margin:12px 0 18px}.login-intro>p{font-size:13px}.login-intro .intro-rule,.login-intro .tiny{display:none}.login-card{margin-top:29px;padding:25px 23px 21px}.card-number{margin-bottom:19px;font-size:9px}.login-card h2{font-size:25px}.login-card>p{margin-bottom:23px}.login-card p.privacy-note{font-size:10px}.app-shell{display:block}.sidebar{display:none}.main-column{padding:0 20px;padding-bottom:85px}.topbar{height:77px;gap:8px}.desktop-heading{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-family:var(--serif);font-size:20px;white-space:nowrap}.mobile-brand img{width:31px;height:31px}.state-chip{font-size:10px}.tabs{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#faf8f2fa;border-top:1px solid var(--line);border-bottom:0;margin:0;padding:7px 16px calc(7px + env(safe-area-inset-bottom));justify-content:space-around;gap:0;backdrop-filter:blur(15px)}.tab{padding:6px 19px;display:flex;flex-direction:column;align-items:center;line-height:1.4;font-size:10px;gap:2px;min-width:75px}.tab>span{font-size:22px;margin:0;line-height:1.2}.tab.active{color:var(--red)}.tab.active:after{display:none}.tab b{display:none}.panel{padding-top:25px}.section-heading{gap:10px;align-items:end;margin-bottom:22px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:29px;letter-spacing:-.7px}.section-heading h1{margin-top:9px}.edition{font-size:8px}.edition em{font-size:10px}.paper{padding:19px 17px}.paper-top label{font-size:10px}.paper-top label span{font-size:9px;margin-left:4px}.paper-top .text-button{font-size:10px;flex-shrink:0}.title-input{font-size:20px}.composer textarea{min-height:200px;padding-top:17px;font-size:16px}.composer textarea::placeholder{font-size:13px}.editor-bottom{font-size:9px;padding-bottom:14px}.reading-options{padding:16px 0 19px;gap:11px}.repeat-options{gap:7px}.repeat-options button{padding:7px 15px;font-size:11px;min-height:36px}.reading-options p{font-size:9px}.generation-note{font-size:9px;line-height:1.8;margin-top:12px}.primary{min-height:51px;font-size:14px}.recent-heading{margin-top:28px;margin-bottom:16px}.recent-heading h2{font-size:22px}.recent-heading .text-button{font-size:11px}.audio-card{padding:17px 15px}.audio-card h3{font-size:14px}.audio-meta{font-size:9px}.audio-actions{font-size:10px}.audio-card audio{height:38px}.job-status{font-size:11px;gap:6px}.job-label{font-size:9px;padding:3px 5px}.section-description{font-size:12px}.footer{font-size:8px;margin:28px 0 5px;letter-spacing:0}.toast{bottom:95px}.record-controls{gap:12px}.record-controls>.text-button{font-size:11px}.record-button{font-size:12px}.record-controls>span{font-size:11px}.recording-paper>label{font-size:11px}.recording-paper textarea{font-size:16px}.confirm-row{font-size:10px!important}.recording-paper{padding-top:20px;padding-bottom:20px}}
@media(max-width:360px){.main-column{padding-left:14px;padding-right:14px}.paper{padding-left:14px;padding-right:14px}h1{font-size:26px}.repeat-options button{padding:7px 12px}.edition{display:none}}
.mobile-logout{display:none}@media(max-width:700px){.mobile-logout{display:block;font-size:10px}.topbar .state-chip{margin-left:auto}}
