@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,Noto Sans SC,sans-serif;color:#e9ebe5;background:#121613;font-synthesis:none;text-rendering:optimizeLegibility;font-optical-sizing:auto;font-weight:400;--bg:#121613;--panel:#191e1a;--panel2:#1e241f;--line:#2b322c;--muted:#858e83;--text:#e9ebe5;--sub:#b6bdb3;--green:#b9ce87;--green2:#91aa5e;--amber:#ddbd7a;--red:#d68476}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 63% -20%,rgba(87,104,64,.14),transparent 45%),var(--bg)}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:5;inset:0 auto 0 0;width:248px;background:#151a16;border-right:1px solid #282e29;padding:22px 15px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:1px 8px 24px}.brand strong{display:block;font:700 17px Manrope,sans-serif;letter-spacing:.04em}.brand small{display:block;color:#778077;font-size:9px;letter-spacing:.16em;margin-top:2px}.brand-mark{width:42px;height:42px;border-radius:13px;background:#2c3829;color:#c6d697;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #566347}.brand-mark.small{width:32px;height:32px;border-radius:10px}.new-book{width:100%;border:1px solid #394337;border-radius:9px;background:#242c24;padding:10px 12px;display:flex;align-items:center;gap:9px;font-size:12px;color:#d3ddc4;text-align:left}.new-book span{margin-left:auto;font-size:10px;color:#778172;border:1px solid #3a433a;border-radius:4px;padding:2px 5px}.side-label{margin:27px 9px 8px;font-size:9px;font-weight:700;color:#788177;letter-spacing:.14em;text-transform:uppercase}.sidebar nav{display:grid;gap:3px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:#a1a99f;text-align:left;font-size:12px;transition:.16s}.nav-item:hover,.nav-item.active{background:#242b24;color:#e3e8da}.nav-item.active{box-shadow:inset 2px 0 #b9ce87}.nav-item.active svg{color:#c2d78e}.nav-item span:nth-child(2){flex:1}.nav-pulse,.live-dot{width:7px;height:7px;border-radius:50%;background:#a8c47b;box-shadow:0 0 0 3px #a8c47b1a}.projects-label{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.projects-label button{border:0;background:transparent;color:#879183;padding:2px}.project-list{display:grid;gap:3px;overflow:auto}.project-link{display:flex;gap:9px;align-items:center;background:transparent;border:0;border-radius:7px;padding:9px 10px;text-align:left;color:#a5aca1;font-size:11px}.project-link.selected,.project-link:hover{background:#202620;color:#e3e8da}.project-dot{width:6px;height:6px;background:#76806f;border-radius:50%}.project-link.selected .project-dot{background:#bed38b}.project-link span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.project-link small{color:#7c8578;font-size:10px}.empty-hint{font-size:10px;color:#71796f;line-height:1.6;padding:0 9px}.sidebar-bottom{margin-top:auto}.system-chip{display:flex;align-items:center;gap:9px;border:1px solid #2b342b;background:#1b221b;border-radius:8px;padding:10px;margin:8px 2px 12px}.system-chip div{flex:1}.system-chip b,.system-chip small,.user-row span{display:block}.system-chip b{font-size:10px;font-weight:600}.system-chip small{font-size:9px;color:#808a7f;margin-top:3px}.system-chip svg{color:#7f8b77}.user-row{width:100%;border:0;border-top:1px solid #292f2a;background:transparent;padding:13px 3px 3px;display:flex;align-items:center;gap:9px;text-align:left;color:#c3c9c0}.user-row span{font-size:10px;flex:1}.user-row small{display:block;color:#778076;font-size:9px;margin-top:3px}.user-row>svg{color:#7a8379}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#354135;color:#d1dfb7;font-size:11px;font-weight:700;border:1px solid #4b5b43}.main-area{margin-left:248px;min-height:100vh}.topbar{height:56px;border-bottom:1px solid rgba(48,55,49,.76);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#121613c2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:sticky;top:0;z-index:4}.breadcrumbs,.top-actions{display:flex;align-items:center;gap:9px}.breadcrumbs{color:#768076;font-size:11px}.breadcrumbs button{border:0;background:none;padding:0;color:#acb5a9;font-size:11px}.breadcrumbs strong{color:#e0e5dc;font-weight:500}.top-actions{gap:15px}.server-state{font-size:10px;color:#9ba497;display:flex;align-items:center;gap:8px}.server-state .live-dot{width:6px;height:6px}.icon-button{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;border:1px solid transparent;background:transparent;color:#929b90}.icon-button:hover{background:#252c25;border-color:#343d34;color:#d4ddcc}.top-avatar{width:28px;height:28px;border:0}.chat-layout{height:calc(100vh - 56px);max-width:1040px;margin:0 auto;padding:36px 42px 18px;display:flex;flex-direction:column}.chat-heading{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:21px;border-bottom:1px solid #29302a}.eyebrow{color:#93a77a;letter-spacing:.17em;font-size:9px;font-weight:700;margin:0 0 8px}.chat-heading h1,.page-title h1{font:600 23px Manrope,Noto Sans SC,sans-serif;letter-spacing:-.03em;margin:0}.chat-heading>div>p:last-child,.page-title>div>p:last-child{font-size:11px;color:#8a9488;margin:8px 0 0}.chat-heading-actions{display:flex;gap:7px}.button{min-height:33px;padding:0 12px;border-radius:7px;border:1px solid #3a443a;background:#202720;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:600;transition:.16s;white-space:nowrap}.button:hover{border-color:#647455;background:#293329}.button.primary{background:#b8cd85;color:#192016;border-color:#b8cd85}.button.primary:hover{background:#c8d999;border-color:#c8d999}.button.subtle{background:#1a201b;color:#b8c0b5}.button.full{width:100%;min-height:39px}.button.small{min-height:26px;font-size:9px;padding:0 9px}.conversation{flex:1;overflow:auto;padding:22px 10px 12px;scrollbar-width:thin;scrollbar-color:#3a443a transparent}.welcome-prompt{max-width:510px;margin:7vh auto 30px;text-align:center}.spark-box{width:43px;height:43px;margin:auto auto 14px;display:grid;place-items:center;border:1px solid #43503c;border-radius:13px;color:#c3d894;background:linear-gradient(140deg,#283228,#20271f);box-shadow:0 12px 40px #090d0a55}.welcome-prompt h2{font:600 18px Manrope,sans-serif;margin:0 0 8px}.welcome-prompt>p{color:#929b90;font-size:11px;line-height:1.7;margin:0 auto 23px;max-width:380px}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prompt-grid button{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid #2f382f;border-radius:8px;background:#1a211b;padding:11px 12px;color:#bbc3b7;font-size:10px}.prompt-grid button:hover{border-color:#5b6b4c;color:#dfe6d4}.prompt-grid button svg{margin-left:auto;color:#85937b}.message-row{display:flex;gap:11px;margin:0 auto 22px;max-width:750px}.message-avatar{width:26px;height:26px;display:grid;place-items:center;flex:none;border:1px solid #485241;border-radius:8px;background:#293329;color:#c8db9c}.message-avatar.user{border-radius:50%;background:#302d26;border-color:#524a3b;color:#d8c696;font-size:9px}.message-body{min-width:0;flex:1}.message-meta{display:flex;align-items:center;gap:9px;margin:1px 0 7px}.message-meta b{font-size:10px;font-weight:600;color:#dce2d7}.message-meta time{font-size:9px;color:#737d73}.message-content{white-space:pre-wrap;color:#c0c8bd;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.tool-pill{margin-top:8px;display:inline-flex;align-items:center;gap:6px;border:1px solid #364034;background:#1c241d;border-radius:6px;color:#aabc8c;padding:5px 8px;font-size:9px}.tool-pill span{color:#74806f;border-left:1px solid #394138;padding-left:7px}.thinking-row{max-width:750px;margin:0 auto;display:flex;align-items:center;gap:9px;color:#899486;font-size:10px;padding:6px 0 15px}.thinking-row button{margin-left:auto;border:0;background:none;color:#778177}.thinking-dots{display:flex;gap:3px}.thinking-dots i{width:4px;height:4px;background:#b7cd84;border-radius:50%;animation:bounce .85s infinite alternate}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}@keyframes bounce{to{opacity:.25;transform:translateY(-3px)}}.composer-wrap{padding-top:10px}.composer{min-height:50px;border:1px solid #394339;border-radius:10px;background:#1b211c;display:flex;align-items:flex-end;padding:7px;gap:7px;box-shadow:0 7px 30px #090c0940}.composer:focus-within{border-color:#5a6b4c}.composer-tool,.send-button{width:34px;height:34px;flex:none;border:0;border-radius:7px;display:grid;place-items:center;background:transparent;color:#899386}.send-button{background:#2a332a;color:#7e8978}.send-button.ready{background:#b8cd85;color:#1a2118}.composer textarea{flex:1;background:transparent;border:0;outline:0;resize:none;max-height:130px;min-height:33px;padding:9px 3px 6px;color:#e2e7dc;font-size:11px}.composer textarea::placeholder{color:#727c72}.composer-caption{text-align:center;color:#687368;font-size:9px;padding:8px}.page-panel{max-width:1120px;margin:0 auto;padding:39px 42px 55px}.page-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.page-title h1{font-size:25px}.page-actions{display:flex;align-items:center;gap:7px}.chapter-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #2c352d;background:#191f1a;border-radius:8px;margin-bottom:10px}.chapter-toolbar>span{font-size:10px;color:#8e988b}.chapter-toolbar>div{display:flex;gap:7px}.chapter-list{border:1px solid #2b332c;border-radius:9px;overflow:hidden}.chapter-row{display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #252d26;background:#181e19}.chapter-row:last-child{border-bottom:0}.chapter-row.active{background:#202720}.chapter-row input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #586354;border-radius:4px;background:#1a201a;flex:none;cursor:pointer}.chapter-row input:checked{background:#b8cd85;border-color:#b8cd85;box-shadow:inset 0 0 0 3px #1b2119}.chapter-open{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;padding:12px 4px;color:inherit}.chapter-number{font:500 10px Manrope,sans-serif;color:#768171;width:23px}.chapter-name{display:grid;gap:4px;flex:1}.chapter-name b{font-size:11px;font-weight:500;color:#d1d8cb}.chapter-name small{font-size:9px;color:#778176}.chapter-open>svg{color:#737e72}.status-dot{width:6px;height:6px;border-radius:50%;background:#697467}.status-dot.analyzed,.status-dot.completed{background:#a8c37d}.status-dot.running,.status-dot.generating{background:#d6bd7f;box-shadow:0 0 0 3px #d6bd7f22}.status-dot.failed{background:#d68476}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.character-card{position:relative;display:flex;gap:13px;min-height:175px;padding:16px;border:1px solid #2d362e;border-radius:9px;background:linear-gradient(145deg,#1d241e,#181e19)}.character-avatar{position:relative;width:48px;height:48px;flex:none;border-radius:13px;background:#303a2e;border:1px solid #48543e;display:grid;place-items:center;color:#d0dfaa;font:600 17px Manrope,sans-serif}.wave-mini{position:absolute;bottom:-7px;right:-6px;display:flex;align-items:center;gap:2px;height:15px;padding:0 4px;border:1px solid #48543e;border-radius:8px;background:#202820}.wave-mini i{width:2px;background:#b7cd84;border-radius:2px;height:5px}.wave-mini i:nth-child(2),.wave-mini i:nth-child(4){height:9px}.wave-mini i:nth-child(3){height:12px}.character-info{min-width:0;flex:1}.character-name{display:flex;align-items:center;gap:7px}.character-name h3{margin:1px 0 6px;font-size:13px;font-weight:600}.character-info>p{margin:0 0 5px;max-width:300px;color:#8d988b;font-size:10px;line-height:1.55}.character-info>small{display:block;color:#6f7a70;font-size:9px;margin-bottom:9px}.tag{display:inline-flex;align-items:center;border:1px solid #3b4538;border-radius:4px;padding:2px 5px;color:#95a08f;font-size:8px;white-space:nowrap}.tag.green{background:#263225;border-color:#45583a;color:#b9d191}.tag.amber{background:#302a1e;border-color:#554a32;color:#ddc27e}.tag.muted-tag{color:#889184}.select-label{display:grid;gap:5px;margin-top:10px;color:#768174;font-size:9px}.select-label select,.field-label select{width:100%;height:31px;border:1px solid #384139;border-radius:6px;background:#161c17;color:#bac3b7;padding:0 8px;font-size:9px}.preview-round{width:29px;height:29px;border-radius:50%;border:1px solid #394339;background:#202720;color:#b0bd9c;display:grid;place-items:center;flex:none}.voice-filter{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.voice-filter>span{font-size:9px;color:#7b867a}.searchbox{width:260px;height:31px;display:flex;align-items:center;gap:7px;border:1px solid #343c35;border-radius:6px;background:#191f1a;padding:0 9px;color:#869184}.searchbox input{width:100%;border:0;background:none;outline:0;color:#e1e6dd;font-size:10px}.searchbox input::placeholder{color:#6e796e}.voice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:12px}.voice-card{border:1px solid #303931;border-radius:9px;overflow:hidden;background:#1a201b}.voice-art{height:122px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 48%,#3a4835,#202a22 52%,#1a201b 78%);color:#c6d99c}.voice-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#1a201b,transparent 60%);pointer-events:none}.orbit{position:absolute;border:1px solid #9db27c32;border-radius:50%;transform:rotate(-22deg)}.orbit-a{width:145px;height:57px}.orbit-b{width:188px;height:80px;transform:rotate(24deg)}.voice-art>svg{z-index:1;filter:drop-shadow(0 0 10px #b3cf7a55)}.voice-play{position:absolute;z-index:2;right:10px;bottom:10px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid #72825b;background:#303c2d;color:#d6e8af}.voice-play+audio{display:none}.voice-card-body{padding:10px 12px 12px}.voice-card-title{display:flex;align-items:center;gap:7px}.voice-card-title h3{font-size:12px;margin:0;font-weight:600}.voice-card-body>p{margin:7px 0 9px;height:28px;overflow:hidden;color:#8e998b;font-size:9px;line-height:1.5}.voice-meta{display:flex;gap:7px;align-items:center;font-size:9px;color:#778276}.voice-meta .revision{margin-left:auto}.mini-audio{width:100%;height:26px;margin-top:9px;filter:sepia(.4) saturate(.5) brightness(.8)}.task-list{display:grid;gap:9px}.task-card{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #2e372f;border-radius:9px;background:#1a201b}.task-icon{width:37px;height:37px;border-radius:10px;background:#2a3429;color:#b9ce87;display:grid;place-items:center}.task-main{flex:1}.task-title{display:flex;align-items:center;gap:8px}.task-title b{font-size:11px;font-weight:600}.status-badge{border-radius:5px;padding:3px 6px;font-size:8px;background:#282e29;color:#9ca59a}.status-badge.running,.status-badge.queued{background:#2b3429;color:#bdd28c}.status-badge.failed{background:#392924;color:#da9d8f}.status-badge.paused{background:#312c20;color:#d7bd7f}.task-sub{display:flex;gap:7px;margin:6px 0 8px;color:#768175;font-size:9px}.red-text{color:#d68476}.progress-track{height:3px;background:#2d352e;border-radius:3px;overflow:hidden}.progress-track span{height:100%;display:block;background:#afc77e;border-radius:3px;transition:width .3s}.task-actions{display:flex;gap:5px}.settings-card{border:1px solid #2d362e;border-radius:9px;background:#1a201b;padding:17px 18px;margin:0 0 12px}.settings-card-heading{display:flex;align-items:center;gap:11px;margin-bottom:17px}.settings-icon{width:34px;height:34px;border-radius:9px;background:#293429;color:#bdd28c;display:grid;place-items:center}.settings-icon.olive{background:#343729;color:#c7cf91}.settings-card-heading h3{margin:0 0 4px;font-size:12px}.settings-card-heading p{margin:0;color:#828d80;font-size:9px}.field-label{display:grid;gap:6px;font-size:9px;color:#8e998b;max-width:430px}.consent-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2a322b;margin:15px 0;padding-top:13px}.consent-row b{font-size:10px;font-weight:500}.consent-row p{margin:4px 0 0;color:#778176;font-size:9px}.switch{position:relative;width:34px;height:19px;flex:none}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #455045;border-radius:20px;background:#272e28;cursor:pointer;transition:.2s}.switch span:before{content:"";position:absolute;width:13px;height:13px;left:2px;top:2px;border-radius:50%;background:#778073;transition:.2s}.switch input:checked+span{background:#52633c;border-color:#738c51}.switch input:checked+span:before{transform:translate(15px);background:#d4e6a9}.engine-row{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #2d362e;border-radius:7px;background:#171d18}.engine-row>div{flex:1}.engine-row b,.engine-row small{display:block}.engine-row b{font-size:10px}.engine-row small{color:#778176;font-size:9px;margin-top:3px}.privacy-note{display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px solid #34402f;border-radius:7px;background:#202820;color:#a7b29e;font-size:9px;line-height:1.6}.privacy-note svg{flex:none;color:#b6ce84}.approval-stack{padding:13px 42px 0;max-width:1120px;margin:0 auto;display:grid;gap:8px}.approval-card{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #665a39;background:linear-gradient(100deg,#2a281e,#20241d);border-radius:8px}.approval-icon{width:34px;height:34px;border-radius:9px;background:#393522;color:#e0c780;display:grid;place-items:center;flex:none}.approval-copy{flex:1;min-width:0}.approval-title{display:flex;align-items:center;gap:8px}.approval-title b{font-size:10px}.approval-copy>p{font-size:9px;color:#9b9b84;margin:5px 0}.approval-copy>small{font-size:9px;color:#7f897b}.approval-actions{display:flex;gap:6px}.approval-audio{width:220px;height:25px;display:block;margin-top:5px}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;background:#080b09bd;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px}.modal{width:min(470px,100%);max-height:min(90vh,700px);overflow:auto;border:1px solid #3a453a;border-radius:12px;background:#1a201b;box-shadow:0 24px 100px #0009;padding:19px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.modal-head h2{font:600 16px Manrope,sans-serif;margin:0}.modal-head p{font-size:9px;color:#879184;line-height:1.6;margin:7px 0 0}.stack{display:grid;gap:12px}.stack label{display:grid;gap:6px;color:#aab4a6;font-size:10px}.stack input:not([type=file]),.stack textarea{width:100%;border:1px solid #394239;background:#131914;border-radius:6px;padding:9px;color:#e3e8df;font-size:10px;outline:none}.stack input:focus,.stack textarea:focus{border-color:#718354}.stack textarea{min-height:72px;resize:vertical}.upload-zone{min-height:104px;position:relative;border:1px dashed #59644e;border-radius:8px;background:#1b231b;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px!important;color:#b8ca91!important;text-align:center;cursor:pointer}.upload-zone b{font-size:10px;font-weight:500;color:#c8d1c0}.upload-zone small{font-size:8px;color:#7f8c7a}.upload-zone input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-summary{display:flex;align-items:center;gap:8px;border:1px solid #334034;background:#202820;border-radius:6px;padding:9px;color:#b9ce87;font-size:9px}.file-summary span{flex:1;color:#c7d0c2}.file-summary small{color:#7b8578}.check-label{display:flex!important;align-items:center;gap:8px!important;font-size:9px!important;line-height:1.6}.check-label input{accent-color:#b8cd85}.modal-form{padding-bottom:3px}.toast{position:fixed;z-index:30;bottom:23px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;border:1px solid #526342;border-radius:8px;background:#273127;color:#d2e3ad;padding:10px 15px;box-shadow:0 10px 40px #0008;font-size:10px;white-space:nowrap}.auth-shell{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 10%,#273326,#141915 55%)}.auth-card{width:min(400px,calc(100% - 32px));border:1px solid #394339;border-radius:14px;background:#191f1a;padding:32px;box-shadow:0 25px 90px #0007}.auth-card .brand-mark{margin-bottom:20px}.auth-card h1{font:600 23px Manrope,sans-serif;margin:0 0 8px}.auth-card>.muted{font-size:10px;color:#8c9689;line-height:1.7;margin:0 0 21px}.auth-foot{display:flex;align-items:center;justify-content:center;gap:6px;border-top:1px solid #2b332c;margin-top:17px;padding-top:14px;color:#758075;font-size:8px}.auth-foot svg{color:#99b171}.error-note{border:1px solid #69443d;background:#322421;color:#e5a99c;border-radius:6px;padding:8px;font-size:9px}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:10px;color:#a7b29f;font-size:11px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.welcome-page{max-width:1050px;min-height:calc(100vh - 56px);margin:auto;padding:60px 55px;display:flex;align-items:center;justify-content:space-between;gap:45px}.welcome-copy{max-width:510px}.welcome-icon{width:47px;height:47px;border:1px solid #4c5943;border-radius:14px;background:#283127;color:#c0d58a;display:grid;place-items:center;margin-bottom:26px}.welcome-copy h1{font:600 39px Manrope,Noto Sans SC,sans-serif;letter-spacing:-.05em;margin:0 0 13px}.welcome-copy>p:not(.eyebrow){max-width:440px;color:#9aa496;font-size:12px;line-height:1.9}.welcome-steps{margin:30px 0;display:grid;gap:14px}.welcome-steps div{display:grid;grid-template-columns:27px 140px auto;align-items:center;gap:9px}.welcome-steps span{color:#9cb177;font:600 10px Manrope}.welcome-steps b{font-size:10px;font-weight:600}.welcome-steps small{font-size:9px;color:#778176}.welcome-actions{display:flex;gap:8px}.welcome-actions .button{min-height:38px;padding:0 15px}.welcome-visual{position:relative;width:320px;height:360px;display:grid;place-items:center;flex:none}.book-shape{position:absolute;left:62px;top:65px;width:170px;height:236px;border:1px solid #627152;border-radius:5px 12px 12px 5px;background:linear-gradient(115deg,#536344,#384531 55%,#2d3829);box-shadow:20px 22px 45px #0007,inset 7px 0 #283326;transform:rotate(-7deg);padding:40px 24px;z-index:1}.book-spine{position:absolute;inset:0 auto 0 12px;width:1px;background:#8e9d714f}.book-lines{display:grid;gap:5px;margin-bottom:25px}.book-lines i{height:1px;background:#b4c28c7a}.book-lines i:nth-child(2),.book-lines i:nth-child(5){width:72%}.book-shape>span{font:700 15px Manrope,sans-serif;line-height:1.2;letter-spacing:.12em;color:#e0e8cb}.sound-rings{position:absolute;right:0;top:36px;width:192px;height:280px;display:flex;align-items:center;justify-content:center;gap:8px;transform:rotate(4deg)}.sound-rings i{width:1px;height:50px;border-radius:4px;background:linear-gradient(transparent,#9cb378,transparent);opacity:.45}.sound-rings i:nth-child(2),.sound-rings i:nth-child(8){height:100px}.sound-rings i:nth-child(3),.sound-rings i:nth-child(7){height:165px}.sound-rings i:nth-child(4),.sound-rings i:nth-child(6){height:220px}.sound-rings i:nth-child(5){height:260px;opacity:.2}.visual-caption{position:absolute;bottom:7px;right:13px;display:flex;align-items:center;gap:8px;color:#879183;font-size:9px}.chapter-drawer{margin-top:14px;border:1px solid #364036;border-radius:9px;background:#171d18;overflow:hidden}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #2b342b}.drawer-head h2{font:600 15px Manrope,sans-serif;margin:0}.drawer-actions{display:flex;gap:7px;align-items:center}.segment-list{max-height:510px;overflow:auto}.segment-row{display:flex;gap:12px;padding:13px 16px;border-bottom:1px solid #252d26}.segment-index{width:24px;flex:none;color:#748072;font:500 9px Manrope}.segment-index span{display:block;height:calc(100% - 15px);width:1px;background:#394338;margin:8px auto 0}.segment-content{flex:1;min-width:0}.segment-meta{display:flex;align-items:center;gap:7px;color:#8b9689;font-size:9px;margin:0 0 7px}.kind-pill{border:1px solid #39463a;border-radius:4px;padding:2px 5px;color:#aabf83;font-size:8px}.kind-pill.dialogue{border-color:#51473a;color:#d0b879}.segment-meta .tag{margin-left:auto}.segment-content>p{font-size:10px;line-height:1.8;color:#c1c9bd;margin:0;white-space:pre-wrap}.segment-content textarea{width:100%;min-height:70px;resize:vertical;border:1px solid #526147;border-radius:6px;background:#121813;color:#e2e8dd;padding:9px;font-size:10px;line-height:1.7}.segment-audio{width:min(300px,100%);height:26px;margin-top:8px}.segment-buttons{display:flex;gap:12px;margin-top:8px}.text-button{border:0;background:transparent;color:#9bad7e;padding:0;font-size:9px;display:inline-flex;align-items:center;gap:4px}.text-button:hover{color:#d3e2b4}.source-text{white-space:pre-wrap;max-height:440px;overflow:auto;padding:16px;color:#c2c9bc;font-family:serif;font-size:12px;line-height:2}.source-text .eyebrow{font-family:DM Sans,sans-serif}.drawer-foot{display:flex;align-items:center;justify-content:space-between;padding:8px 15px;border-top:1px solid #2b342b;color:#768174;font-size:9px}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #3b463a;border-radius:10px;padding:46px 20px;background:#171d18}.empty-state>div{width:38px;height:38px;margin:0 auto 10px;border-radius:11px;background:#273027;color:#a8bf7b;display:grid;place-items:center}.empty-state h3{font-size:12px;margin:0 0 6px}.empty-state p{font-size:9px;color:#828d80;margin:0 auto 14px;max-width:330px;line-height:1.7}.empty-state .button{min-height:29px}.file-action{position:relative;overflow:hidden}.file-action input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.chapter-toolbar .button svg{flex:none}@media(max-width:1100px){.sidebar{width:220px}.main-area{margin-left:220px}.chat-layout,.page-panel,.approval-stack{padding-left:28px;padding-right:28px}.character-grid{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{width:58px;padding:14px 7px}.brand{justify-content:center;padding:3px 0 18px}.brand>div,.new-book span,.new-book:not(svg),.side-label,.nav-item span,.project-list,.sidebar-bottom .system-chip,.user-row span,.user-row>svg{display:none}.new-book{justify-content:center;padding:10px 0;font-size:0}.new-book svg{width:18px}.sidebar nav{gap:5px}.nav-item{justify-content:center;padding:11px 0}.nav-item span:nth-child(2){display:none}.nav-item.active{box-shadow:inset 0 -2px #b9ce87}.sidebar-bottom{display:flex;justify-content:center}.user-row{border:0;padding:4px}.main-area{margin-left:58px}.topbar{padding:0 14px}.breadcrumbs{gap:5px;font-size:9px}.chat-layout{height:calc(100vh - 56px);padding:23px 14px 10px}.chat-heading{align-items:flex-start}.chat-heading h1{font-size:19px}.chat-heading>div>p:last-child{max-width:260px;line-height:1.6}.chat-heading-actions{display:none}.conversation{padding:16px 2px}.welcome-prompt{margin:5vh auto 20px}.prompt-grid{grid-template-columns:1fr}.composer-caption{font-size:8px}.page-panel{padding:25px 14px 40px}.page-title{align-items:flex-start;gap:14px;flex-direction:column}.page-title h1{font-size:22px}.page-actions{flex-wrap:wrap}.chapter-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.chapter-toolbar>div{width:100%;flex-wrap:wrap}.character-grid,.voice-grid{grid-template-columns:1fr}.approval-stack{padding:9px 10px 0}.approval-card{align-items:flex-start;flex-wrap:wrap}.approval-copy{width:calc(100% - 48px)}.approval-actions{width:100%;justify-content:flex-end}.welcome-page{padding:35px 22px;align-items:flex-start}.welcome-copy h1{font-size:30px}.welcome-visual{display:none}.welcome-steps div{grid-template-columns:25px 120px auto}.task-card{align-items:flex-start}.task-actions{flex-direction:column}.searchbox{width:210px}.voice-filter{gap:8px}.voice-filter>span{white-space:nowrap}.chapter-number{width:18px}.chapter-row{padding:0 7px}.chapter-open{gap:8px}.settings-card{padding:14px}.modal{padding:16px}.top-actions{gap:7px}.server-state{font-size:0;gap:0}.server-state .live-dot{width:7px;height:7px}}
