:root{--bg:#f6f7f5;--paper:#fff;--ink:#24332b;--muted:#859087;--line:#e7ebe5;--green:#246548;--deep:#1e503d;--mint:#e9f1e8;--sand:#f5f0e6;--yellow:#a87b3c;--radius:14px;--shadow:0 12px 50px #1b35200a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #a8c7b6;outline-offset:3px}a{color:var(--green);text-decoration:none}input,select{color:var(--ink);outline:none}input:focus,select:focus{border-color:#7d9f8b!important;box-shadow:0 0 0 3px #2b67480b}h1,h2,h3,p{margin:0}button i,i[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}i svg{height:20px;width:20px;stroke-width:1.65}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}button:not(.button){border:0;background:none}[hidden]{display:none!important}.sidebar{width:228px;height:100dvh;position:fixed;left:0;top:0;background:#fff;border-right:1px solid var(--line);padding:30px 20px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 13px;color:#1f503c;font-size:26px;font-weight:650;letter-spacing:3px;line-height:1.2}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.8px;margin-top:5px}.brand-mark{display:flex;align-items:center;gap:3px;height:42px;transform:rotate(-5deg)}.brand-mark b{width:5px;background:#2b6a4b;border-radius:5px;height:18px}.brand-mark b:nth-child(2){height:34px}.brand-mark b:nth-child(3){height:26px}.brand-mark b:nth-child(4){height:14px}.workspace-label{border:1px solid var(--line);border-radius:9px;display:flex;gap:10px;align-items:center;padding:10px;margin-top:35px;line-height:1.4;font-size:12px}.workspace-avatar{width:31px;height:31px;border-radius:7px;background:#f1f3ec;display:grid;place-items:center;color:#6e7f6d;font-family:serif;font-size:17px}.workspace-label small{display:block;color:#a0a69f;font-size:10px;margin-top:3px}.workspace-label i{margin-left:auto;color:#a6afa6}.workspace-label svg{width:14px}.nav-caption{font-size:10px;letter-spacing:1.8px;color:#a7afa8;margin:30px 13px 12px}.nav-item{width:100%;padding:11px 13px;justify-content:flex-start;border-radius:7px;font-size:13px;margin-bottom:5px;color:#7a877e;gap:12px}.nav-item:hover{background:#f7f8f5}.nav-item.active{background:#eaf1e8;color:#315c42;font-weight:600}.nav-count{margin-left:auto;min-width:20px;height:19px;border-radius:4px;background:#dce8d9;display:grid;place-items:center;font-size:10px}.small-dot{width:6px;height:6px;background:#779e63;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.cloud-note{background:#f7f8f2;border:1px solid #e9eddf;border-radius:10px;margin:20px 0;padding:15px 13px 12px}.cloud-note-icon{display:flex;color:#66895d;margin-bottom:7px}.cloud-note strong{font-size:11px;font-weight:600}.cloud-note p{font-size:10px;color:#9aab94;line-height:1.9;margin:7px 0}.cloud-note .text-button{font-size:10px;color:#6e8a60;margin-top:6px;justify-content:space-between;width:100%}.help-button{width:100%;justify-content:flex-start;color:#86948a;font-size:11px;padding:10px 12px}.help-button svg{width:16px}.help-button span{margin-left:auto}.sidebar-foot{border-top:1px solid var(--line);padding:17px 12px 0;color:#a4afa7;font-size:10px;display:flex;align-items:center;gap:5px}.sidebar-foot>span:last-child{margin-left:auto;font-size:9px}.tiny-mark{color:#809c7a}.shell{margin-left:228px;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:76px;min-height:76px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;align-items:center;justify-content:space-between;background:#ffffffa8}.breadcrumb{display:flex;gap:14px;font-size:11px;color:#a0aaa2}.breadcrumb span{color:#c8cec8}.breadcrumb strong{color:#657368;font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px;font-size:10px}.service-state{display:flex;align-items:center;gap:7px;color:#8d998e}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c8cebc}.status-dot.online{background:#7da56d;box-shadow:0 0 0 3px #eef3e9}.status-dot.offline{background:#ca866e}.topbar-divider{height:16px;width:1px;background:var(--line)}.connection-button{color:#73816f;font-size:10px;gap:5px}.connection-button svg{width:13px;height:13px}.avatar{height:30px;width:30px;background:#e8eddf!important;border:1px solid #dbe3d0!important;border-radius:50%;color:#778c62;font-family:serif;font-size:14px}main{width:100%;max-width:1540px;padding:42px 44px 0;margin:0 auto;flex:1}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8e9a8b;font-weight:550}.hero h1{font-size:29px;font-weight:570;letter-spacing:1px;margin:9px 0 6px;line-height:1.5}.hero h1>span{color:#557951}.hero p,.view-heading>p{color:#96a094;font-size:11px;letter-spacing:.3px}.button{border:1px solid transparent;border-radius:7px;padding:11px 18px;font-size:12px;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s;line-height:1.5}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{background:var(--green);color:#fff;box-shadow:0 4px 9px #2053380c}.button.primary:hover:not(:disabled){background:var(--deep)}.button svg{width:15px;height:15px}.button.secondary{background:#fff;border-color:#e1e6dc;color:#6e7e6c}.button.secondary:hover:not(:disabled){background:#f5f7f1}.button.small{font-size:10px;padding:9px 12px}.button.wide{width:100%;justify-content:center}.text-button{color:#617e55;gap:7px;font-size:11px;padding:0}.config-banner{display:flex;align-items:center;gap:13px;background:#f4f3e9;border:1px solid #e9e7d4;border-radius:9px;padding:13px 17px;margin-bottom:24px}.banner-icon{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;color:#a69662;background:#ece9d8}.banner-icon svg{width:17px}.config-banner strong{font-size:11px;font-weight:500;color:#8b815c;letter-spacing:.5px}.config-banner p{font-size:10px;color:#a7a083;margin-top:2px}.config-banner>button{margin-left:auto;font-size:10px;color:#9a8f60;white-space:nowrap;gap:12px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:34px}.stat{display:flex;gap:13px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:10px;padding:18px 20px;position:relative;overflow:hidden;min-height:100px}.stat-symbol{width:38px;height:38px;display:grid;place-items:center;border-radius:10px}.stat-symbol svg{width:19px;height:19px}.sage{background:#edf3e8;color:#7d9a67}.sand{background:#f7f1e5;color:#b59d6c}.lilac{background:#f0edf6;color:#a197bc}.stat p{font-size:10px;color:#9ba596;margin-bottom:1px}.stat strong{font-size:27px;line-height:1.2;font-weight:500;color:#425442;font-variant-numeric:tabular-nums}.stat div>span{font-size:10px;color:#a4ac9c;margin-left:6px}.stat-art{margin-left:auto;display:flex;gap:4px;align-items:flex-end;transform:rotate(11deg);opacity:.5}.stat-art b{width:8px;height:25px;border:1px solid #dbe5d0;border-radius:2px;background:#f2f5ee}.stat-art b:nth-child(2){height:33px}.stat-art b:nth-child(3){height:22px;transform:rotate(13deg)}.mini-wave{display:flex;gap:3px;align-items:center;margin-left:auto;opacity:.6}.mini-wave b{height:10px;width:2px;border-radius:2px;background:#e2d3b2}.mini-wave b:nth-child(3n){height:27px}.mini-wave b:nth-child(2n){height:17px}.mini-wave b:nth-child(4){height:36px}.stat-circle{margin-left:auto;width:33px;height:33px;border:1px solid #e7e2ee;border-radius:50%;display:grid;place-items:center;color:#d2c9e0}.stat-circle svg{width:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{font-size:16px;font-weight:570;letter-spacing:.6px;display:flex;align-items:center;gap:9px}.section-heading h2>span{background:#e9ede4;border:1px solid #e1e6da;border-radius:5px;color:#87977b;font-size:9px;font-weight:500;padding:0 5px;min-width:19px;text-align:center}.section-heading p{font-size:10px;color:#a1a99b;margin-top:4px}.library-tools{display:flex;gap:10px;align-items:center}.search{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:6px;width:192px}.search svg{width:14px;height:14px;color:#adb6a5}.search input{width:100%;border:0;background:none;font-size:10px}.search input:focus{box-shadow:none}.search input::placeholder{color:#b0b8a7}.icon-button{width:31px;height:31px;border:1px solid var(--line)!important;border-radius:6px;color:#9aaa91;background:white!important;flex-shrink:0}.icon-button:hover{background:#f3f6ed!important}.icon-button svg{width:15px;height:15px}.filter-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-top:16px;margin-bottom:23px}.filters{display:flex;gap:24px}.filters button{font-size:11px;padding:9px 1px 13px;position:relative;color:#9ca693}.filters .selected{color:#40643a;font-weight:550}.filters .selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;border-radius:2px;background:#5e8251}.format-note{font-size:9px;color:#b0b8a6}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.book-card{background:#fff;border:1px solid #e4e8de;border-radius:10px;overflow:hidden;transition:box-shadow .2s,transform .2s;min-width:0}.book-card:hover{box-shadow:0 8px 24px #2b44200b;transform:translateY(-2px)}.book-cover{position:relative;min-height:171px;padding:25px 24px 24px 28px;overflow:hidden;display:flex;flex-direction:column;color:#f2f4e9}.book-cover:before{content:"";position:absolute;top:0;bottom:0;left:9px;width:1px;background:#ffffff1f;box-shadow:3px 0 6px #091a1622}.book-cover:after{content:"";position:absolute;width:90px;height:90px;border:1px solid #ffffff16;border-radius:50%;right:-11px;bottom:-18px;box-shadow:0 0 0 12px #ffffff05,0 0 0 25px #ffffff03}.cover-0{background:#536c51}.cover-1{background:#a28f71}.cover-2{background:#75838f}.cover-3{background:#ac7d68}.cover-4{background:#7f7d96}.cover-5{background:#748d7d}.book-cover .cover-label{font-size:7px;letter-spacing:2px;color:#ffffff66;margin-bottom:17px}.book-cover h3{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:22px;font-weight:500;letter-spacing:2px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cover-format{font-size:7px;letter-spacing:1px;color:#ffffff88;margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:5px}.cover-format svg{width:10px;height:10px}.book-content{padding:14px 15px}.book-title{font-size:11px;font-weight:550;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.book-meta{color:#aab19f;font-size:9px;margin:4px 0 13px;min-height:15px}.book-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px}.badge{display:inline-flex;gap:4px;align-items:center;white-space:nowrap;border-radius:4px;font-size:8px;padding:3px 6px;font-weight:500;line-height:1.5}.badge.neutral{background:#f0f2ed;color:#94a08b}.badge.ready{background:#edf2e7;color:#82986c}.badge.active{background:#eaf1e8;color:#658452}.badge.complete{background:#e7f0e9;color:#50795b}.badge.failed{background:#f7eee7;color:#b28769}.book-open{font-size:9px;color:#8c9d81;padding:2px}.book-open svg{width:12px;height:12px}.empty-library{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff;border:1px dashed #dbe3d2;border-radius:10px;padding:28px 20px 25px}.empty-library h3{font-size:15px;font-weight:530;letter-spacing:1px;margin:12px 0 8px}.empty-library p{font-size:10px;text-align:center;line-height:1.9;color:#a2ac99}.empty-library>.button{font-size:10px;padding:9px 17px;margin-top:18px}.sample-button{font-size:9px;margin-top:12px;color:#9daa91}.empty-illustration{height:55px;width:100px;position:relative;display:flex;justify-content:center;align-items:center}.book-leaf{width:36px;height:43px;background:#f1f5e9;border:1px solid #d7e1c9;position:relative}.book-leaf:after{content:"";position:absolute;top:13px;left:9px;height:1px;width:19px;background:#d1ddbf;box-shadow:0 6px #d1ddbf,0 12px #d1ddbf}.left-leaf{border-radius:5px 0 0 3px;transform:skewY(8deg)}.right-leaf{border-radius:0 5px 3px 0;transform:skewY(-8deg)}.illustration-wave{position:absolute;left:34px;bottom:0;display:flex;gap:3px;align-items:center;background:#fff;border-radius:4px;padding:5px 7px;border:1px solid #e2e9d9}.illustration-wave b{height:7px;width:2px;border-radius:2px;background:#93ac7c}.illustration-wave b:nth-child(2n){height:14px}.illustration-wave b:nth-child(3){height:19px}.star-one,.star-two{position:absolute;color:#b9c8a8;font-size:12px;top:-1px;right:0}.star-two{font-size:7px;left:3px;top:33px}.empty-small{display:flex;flex-direction:column;align-items:center;gap:7px;padding:55px 20px;color:#a0ab95}.empty-small h3{font-size:13px;font-weight:500}.empty-small p{font-size:10px}.workflow-note{border:1px solid #e6eadf;background:#f0f3eb;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px;padding:15px 17px;color:#8c9c7f;font-size:9px}.workflow-title{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#82946f}.workflow-title svg{width:13px}.workflow-note>div{display:flex;align-items:center;gap:15px}.workflow-note b{font-family:Georgia,serif;color:#acb89f;font-size:11px;font-weight:400;margin-right:5px}.workflow-note em{font-style:normal;color:#bec8b3}.main-footer{display:flex;align-items:center;justify-content:space-between;padding:28px 44px 22px;color:#b6bfae;font-size:8px;letter-spacing:.5px}.view-heading{margin-bottom:30px}.view-heading h1{font-size:27px;font-weight:550;margin:9px 0 8px;letter-spacing:1px}.content-card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 24px;border-bottom:1px solid var(--line)}.card-heading h2{font-size:13px;font-weight:550}.card-heading p{font-size:10px;color:#a0aa98;margin-top:4px}.muted{font-size:11px;color:#99a58f}.task-row{display:flex;align-items:center;gap:15px;padding:18px 24px;border-bottom:1px solid #f0f2ec}.task-row:last-child{border:0}.task-row>div:nth-child(2){flex:1;min-width:0}.task-row strong{font-size:12px;font-weight:500}.task-row p{font-size:10px;color:#a1ad97;margin-top:3px}.task-symbol{width:36px;height:36px;border:1px solid #e7ecdf;background:#f5f7f0;border-radius:7px;color:#8c9e7b;display:grid;place-items:center}.task-time{color:#adb7a2;font-size:9px;margin:0 10px}.inline-note{display:flex;align-items:center;gap:9px;background:#eef3e9;border:1px solid #e1e9d9;padding:13px 16px;border-radius:8px;margin-bottom:24px;font-size:10px;color:#859874}.inline-note svg{width:15px}.voice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.voice-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:23px}.voice-card-top{display:flex;gap:12px;align-items:center}.voice-avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;font-size:16px;background:#f4eee7;color:#a48b74}.voice-avatar.male{background:#e9eef0;color:#8a9ba4}.voice-card h3{font-size:12px;font-weight:550}.voice-card p{font-size:9px;color:#a5af9b;margin-top:4px}.voice-wave{display:flex;align-items:center;gap:3px;height:40px;justify-content:center;margin:20px 0 12px}.voice-wave span{width:2px;border-radius:2px;background:#d3decb;height:12px}.voice-wave span:nth-child(3n){height:23px}.voice-wave span:nth-child(2n){height:17px}.voice-wave span:nth-child(5n){height:31px}.voice-card code{font-size:8px;color:#a7b29b;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(230px,1fr);gap:24px}.settings-form>.field,.settings-form>.field-row{margin-left:24px;margin-right:24px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#64795c;margin-top:21px;font-weight:500}.field>input,.field>select,.password-field,.input-suffix,.readonly-field{border:1px solid #e1e7d9;background:#fff;border-radius:6px;min-height:39px}.field>input,.field>select{padding:9px 11px;font-size:11px;width:100%}.field small{font-size:9px;color:#a5b197;line-height:1.8;font-weight:400}.field input::placeholder{color:#b4bea8;font-size:10px}.password-field{display:flex;align-items:center;padding-right:4px}.password-field input{width:100%;border:0;padding:9px 11px;font-size:11px;background:none}.password-field input:focus{box-shadow:none}.password-field .icon-button{border:0!important;background:none!important}.field-hint{font-size:9px;color:#a7b198;font-weight:400}.field-row{display:flex;gap:17px}.field-row>.field{flex:1;min-width:0}.readonly-field{display:flex;align-items:center;gap:8px;font-size:11px;padding:9px 11px;color:#819173;background:#f8f9f5}.readonly-field span{font-size:8px;color:#a6b098;margin-left:auto;white-space:nowrap}.budget-field{max-width:170px}.input-suffix{display:flex;align-items:center;padding-right:12px}.input-suffix input{padding:9px 11px;width:100%;border:0;background:none;font-size:11px;min-width:0}.input-suffix input:focus{box-shadow:none}.input-suffix span{font-size:9px;color:#abb69f}.settings-foot{padding:23px 24px 20px;margin-top:8px;display:flex;justify-content:space-between;align-items:center;gap:15px}.settings-foot p{font-size:8px;color:#a7b39b;display:flex;gap:5px;align-items:center;max-width:240px;line-height:1.8}.settings-foot svg{width:11px}.settings-foot .button{font-size:10px;padding:10px 15px}.form-message{font-size:10px;line-height:1.8;color:#af8667;margin-top:10px;min-height:0}.settings-form>.form-message{padding:0 24px 15px;margin-top:0}.connection-card .card-heading{padding:20px}.readiness-row{display:flex;gap:8px;align-items:center;margin:16px 20px;font-size:10px;color:#9da98e}.readiness-row span:last-child{margin-left:auto;font-size:9px;color:#b8a179}.readiness-row.ready span:last-child{color:#7f9b6b}.readiness-row i{color:#a8b79a}.readiness-row svg{width:15px}.readiness-foot{font-size:9px;color:#a5b196;margin:17px 20px 21px;border-top:1px solid var(--line);padding-top:14px;line-height:1.9}.settings-tip{background:#eef2e7;border:1px solid #e2e8d9;border-radius:9px;padding:18px 20px;margin-top:18px;color:#92a37d}.settings-tip>i{display:flex;justify-content:flex-start;margin-bottom:7px}.settings-tip svg{width:19px}.settings-tip strong{font-size:11px;font-weight:500}.settings-tip p{font-size:9px;line-height:1.9;margin-top:7px;color:#a2b18e}.dialog{border:1px solid #e0e7d7;border-radius:16px;box-shadow:0 24px 100px #162a2060;padding:30px;max-height:90dvh;color:var(--ink);background:#fff}.dialog::backdrop{background:#1a2c2566;backdrop-filter:blur(4px)}.dialog h2{font-size:22px;font-weight:550;letter-spacing:.5px;margin:13px 0 8px}.dialog>.muted{font-size:11px}.dialog-close{position:absolute;right:17px;top:17px}.dialog-symbol{width:44px;height:44px;border-radius:12px;background:#eef3e7;color:#81996d;display:grid;place-items:center}.dialog-symbol svg{width:21px}.upload-dialog{width:480px;padding:34px}.drop-zone{border:1px dashed #cbd8bf!important;border-radius:9px;padding:33px 16px!important;display:flex;flex-direction:column;background:#f8faf5!important;margin:26px 0 17px;width:100%;color:#8fa17c;gap:9px}.drop-zone.dragging{background:#eaf1e2!important;border-color:#6d8e53!important}.drop-zone>i{background:#eff4e8;width:39px;height:45px;display:grid;place-items:center;border-radius:7px}.drop-zone strong{font-size:11px;font-weight:500}.drop-zone span{font-size:9px;color:#a6b596}.upload-bottom{display:flex;align-items:center;gap:7px;color:#a4b095;font-size:9px}.upload-bottom svg{width:13px}.upload-progress{display:flex;align-items:center;gap:9px;color:#789364;font-size:11px;margin:16px 0}.spinner{width:13px;height:13px;border:1.5px solid #d7e3ce;border-top-color:#6b9254;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.book-dialog{width:980px;padding:0;overflow:hidden}.book-dialog-head{display:flex;align-items:center;gap:15px;padding:25px 28px 20px}.mini-cover{width:41px;height:53px;border-radius:3px 6px 6px 3px;display:flex;align-items:center;justify-content:center;color:#ffffff8f;box-shadow:inset 4px 0 #0000000b;flex-shrink:0}.mini-cover svg{width:17px}.book-dialog-title{flex:1;min-width:0}.book-dialog-title h2{font-size:20px;margin:3px 0 2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.book-dialog-title p{font-size:9px;color:#a7b198}.book-dialog-title .eyebrow{font-size:7px;letter-spacing:1.5px}.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 28px 20px}.project-toolbar>div:last-child{display:flex;gap:8px}.project-toolbar .badge{font-size:9px}.detail-notice{padding:10px 28px;font-size:10px;background:#f8f5e9;color:#a39260;margin-bottom:16px}.detail-notice button{color:#8a985e;font-size:10px;text-decoration:underline}.detail-progress{padding:12px 28px;display:flex;gap:9px;align-items:center;background:#f3f7ed;border-top:1px solid #e9efdf;color:#8d9f7b;font-size:10px}.detail-progress>span:last-child{margin-left:auto}.project-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:0 28px;background:#fbfcf9}.project-tabs button{font-size:11px;color:#9aa68d;padding:13px 1px;position:relative}.project-tabs .selected{color:#61804d}.project-tabs .selected:after{position:absolute;content:"";height:2px;background:#7b995c;bottom:-1px;left:0;right:0}.project-body{padding:22px 28px;overflow:auto;max-height:49dvh;min-height:250px}.chapter-row{display:flex;align-items:center;gap:12px;padding:12px 3px;border-bottom:1px solid #eef1e9;font-size:11px}.chapter-index{font-size:9px;font-variant-numeric:tabular-nums;color:#b3bda6;width:23px}.chapter-row>span:last-child{color:#acb69f;margin-left:auto;font-size:9px}.preview-heading{font-size:11px;font-weight:500;color:#869b74;margin:24px 0 12px}.text-preview{font-size:11px;line-height:2.1;color:#95a488;border-left:2px solid #dfe8d6;padding-left:16px}.text-preview p+p{margin-top:10px}.preview-speaker{color:#72925e;font-size:9px;margin-right:9px}.role-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #eef1e9}.role-avatar{height:32px;width:32px;border-radius:50%;display:grid;place-items:center;background:#eff3e8;color:#91a27d;font-size:11px}.role-info{flex:1;min-width:0}.role-info strong{font-size:11px;font-weight:500}.role-info small{display:block;font-size:9px;color:#acb69e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px}.role-row select{border:1px solid #e3e9db;border-radius:6px;background:#fff;padding:7px 10px;font-size:10px;max-width:200px}.cast-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:18px}.cast-actions p{font-size:9px;color:#a7b49b}.cast-actions>div{display:flex;gap:8px}.project-tab pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.9;background:#24342c;color:#c3d3b8;padding:20px;border-radius:8px;min-height:190px;margin:0}.audio-artifact{border:1px solid #e1e8d8;border-radius:8px;padding:14px 16px;margin-bottom:12px}.artifact-heading{display:flex;gap:9px;align-items:center;font-size:11px;overflow-wrap:anywhere}.artifact-heading>i{color:#8fa37a}.artifact-heading a{margin-left:auto;font-size:10px;display:flex;align-items:center;gap:4px;white-space:nowrap}.artifact-heading svg{width:14px}.audio-artifact audio{width:100%;height:35px;margin-top:14px}.generate-dialog{width:490px;padding:34px}.generate-dialog h2{font-size:23px;margin-top:12px}.choice-group{border:0;padding:0;margin:23px 0 18px;display:flex;gap:10px;flex-wrap:wrap}.choice-group legend{font-size:11px;color:#8b9e7b;margin-bottom:10px}.choice-group label{flex:1;display:flex;align-items:center;gap:8px;border:1px solid #e0e8d7;padding:13px 11px;border-radius:7px;cursor:pointer}.choice-group label:has(input:checked){border-color:#89a36e;background:#f3f7ed}.choice-group input{accent-color:#708e54;width:12px}.choice-group strong{display:block;font-size:11px;font-weight:500}.choice-group small{font-size:8px;color:#acb79c;display:block;margin-top:4px}.choice-group i{margin-left:auto;color:#a6b895}.choice-group svg{width:15px}.generate-dialog .field-row .field{margin-top:4px}.generation-summary{border:1px solid #e4eada;background:#f5f8f0;border-radius:7px;padding:13px 14px;margin-top:22px;font-size:11px;color:#8da175}.generation-summary small{display:block;font-size:9px;color:#a8b89a;margin-top:5px;line-height:1.8}.generate-dialog .wide{margin-top:20px}.login-dialog{width:430px;padding:34px}.login-help{font-size:10px;color:#a1af94;line-height:1.9;margin-top:13px}.login-dialog .wide{margin-top:21px}.guide-dialog{width:500px;padding:34px}.guide-steps{list-style:none;padding:0;margin:23px 0;display:flex;flex-direction:column;gap:22px}.guide-steps li{display:flex;gap:17px;align-items:flex-start}.guide-steps b{height:30px;width:30px;background:#eef3e8;color:#8da476;display:grid;place-items:center;border-radius:8px;font-family:Georgia,serif;font-size:11px;font-weight:400;flex-shrink:0}.guide-steps strong{font-size:12px;font-weight:500}.guide-steps p{font-size:10px;color:#a3b098;line-height:1.9;margin-top:3px}.toast{position:fixed;bottom:32px;left:calc(50% + 114px);transform:translateX(-50%);padding:13px 20px;border-radius:9px;background:#273d30;color:#edf4e7;box-shadow:0 9px 32px #172b2333;font-size:11px;z-index:100;max-width:calc(100% - 40px);line-height:1.8}.toast.error{background:#8a6352}
@media(min-width:1550px){main{padding-top:52px}.hero{margin-bottom:32px}.hero h1{font-size:33px}.stats{margin-bottom:42px}.book-cover{min-height:205px}.empty-library{min-height:350px}.workflow-note{margin-top:32px}.main-footer{padding-top:35px}}@media(max-width:1190px){.sidebar{width:204px;padding:26px 16px 16px}.shell{margin-left:204px}.topbar{padding:0 28px}main{padding:32px 28px 0}.main-footer{padding-left:28px;padding-right:28px}.hero h1{font-size:25px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:16px 14px;gap:9px}.stat-art,.mini-wave,.stat-circle{display:none}.workflow-note{align-items:flex-start;flex-direction:column;gap:10px}.settings-grid{grid-template-columns:1.6fr 1fr;gap:16px}.settings-foot{align-items:flex-start;flex-direction:column}.voice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 102px)}}@media(max-width:820px){.sidebar{position:relative;width:auto;height:auto;padding:16px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:22px;gap:8px;padding:0}.brand-mark{height:33px;transform:none}.brand-mark b{width:4px}.brand-mark b:nth-child(2){height:28px}.brand-mark b:nth-child(3){height:22px}.brand small{font-size:7px}.workspace-label,.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:18px;gap:7px}.nav-item{margin:0;justify-content:center;border-radius:7px 7px 0 0;padding:12px 4px;font-size:11px;gap:6px}.nav-item svg{width:15px;height:15px}.nav-count{margin-left:0;font-size:8px;min-width:16px;height:16px}.shell{margin-left:0}.topbar{height:54px;min-height:54px;padding:0 23px}.topbar-right{gap:12px}.breadcrumb{font-size:10px;gap:9px}.topbar-divider,.avatar{display:none!important}main{padding:27px 23px 0}.hero h1{font-size:23px;letter-spacing:.5px}.hero>.button{font-size:10px;padding:10px 13px}.hero .eyebrow{font-size:8px}.hero p{font-size:10px}.config-banner p{font-size:9px}.stat{min-height:86px;padding:12px;gap:9px}.stat-symbol{width:30px;height:30px}.stat-symbol svg{width:16px}.stat strong{font-size:24px}.stat p{font-size:9px}.stat div>span{font-size:8px}.stats{gap:11px;margin-bottom:27px}.book-grid{gap:14px}.book-cover{padding:20px;min-height:170px}.book-cover h3{font-size:20px}.book-content{padding:12px}.book-open{font-size:8px}.voice-card{padding:18px}.settings-grid{grid-template-columns:1fr}.settings-grid>div:last-child{display:grid;grid-template-columns:1.2fr 1fr;align-items:start;gap:17px}.settings-tip{margin-top:0}.settings-foot{flex-direction:row;align-items:center}.book-dialog{width:calc(100% - 30px);max-height:94dvh}.book-dialog-head{padding:20px}.project-toolbar{padding:0 20px 18px}.project-tabs{padding:0 20px}.project-body{padding:18px 20px;max-height:55dvh}.project-toolbar .button{font-size:9px;padding:8px}.detail-notice{padding:10px 20px}.toast{left:50%}.main-footer{padding:25px 23px 20px}}@media(max-width:540px){.sidebar{padding-left:17px;padding-right:17px}.sidebar nav{gap:3px}.nav-item{font-size:10px}.nav-count{display:none}.topbar{padding:0 18px}.breadcrumb{font-size:9px}.service-state{font-size:9px}.connection-button{font-size:9px}.topbar-right{gap:11px}.topbar .connection-button svg{display:none}main{padding:24px 18px 0}.hero{align-items:flex-start;margin-bottom:20px;gap:8px}.hero h1{font-size:20px;white-space:normal;max-width:245px;line-height:1.7}.hero .eyebrow{font-size:7px;letter-spacing:1.5px}.hero p{font-size:9px;max-width:215px}.hero>.button{padding:9px 10px;font-size:9px;margin-top:21px;gap:4px}.hero>.button svg{width:12px}.config-banner{padding:12px 11px;gap:9px;margin-bottom:18px}.banner-icon{width:28px;height:28px;flex-shrink:0}.config-banner strong{font-size:10px}.config-banner p{font-size:8px;max-width:200px}.config-banner>button{gap:4px;font-size:9px;white-space:nowrap}.stats{gap:8px;margin-bottom:26px}.stat{min-height:85px;padding:10px;display:block}.stat-symbol{width:22px;height:22px;float:right;border-radius:6px}.stat-symbol svg{width:12px;height:12px}.stat p{font-size:8px}.stat strong{font-size:25px;display:inline-block;margin-top:6px}.stat div>span{font-size:8px;margin-left:4px}.section-heading{gap:10px}.section-heading h2{font-size:15px}.section-heading p{font-size:9px}.search{width:130px;padding:7px}.search input{font-size:9px}.library-tools{gap:6px}.library-tools>.icon-button{width:29px;height:29px}.filters{gap:21px}.filters button{font-size:10px}.format-note{font-size:8px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.book-cover{min-height:175px;padding:20px}.book-cover h3{font-size:20px;letter-spacing:1px}.book-content{padding:11px}.book-title{font-size:10px}.book-meta{font-size:8px;margin-bottom:12px}.book-card-bottom{gap:3px}.badge{font-size:7px;padding:3px 4px}.book-open{font-size:8px;gap:1px}.workflow-note{padding:12px;font-size:8px;gap:9px}.workflow-note>div{gap:6px;justify-content:space-between;width:100%}.workflow-note b{display:none}.workflow-note em{font-size:7px}.workflow-title{font-size:9px}.main-footer{font-size:7px;padding:25px 18px 18px;gap:13px}.main-footer>span:first-child{max-width:185px}.view-heading h1{font-size:22px}.view-heading>p{font-size:10px}.voice-grid{grid-template-columns:1fr}.settings-grid>div:last-child{display:block}.settings-tip{margin-top:17px}.settings-form>.field,.settings-form>.field-row{margin-left:18px;margin-right:18px}.card-heading{padding:19px 18px}.settings-form>.field-row{flex-direction:column;gap:0}.budget-field{max-width:none}.settings-foot{padding:20px 18px;gap:8px;align-items:flex-start}.settings-foot p{font-size:8px;max-width:175px}.readonly-field span{margin-left:auto}.settings-foot .button{font-size:9px;padding:9px 12px}.task-row{padding:14px;gap:9px;flex-wrap:wrap}.task-row .task-time{display:none}.task-row strong{font-size:10px}.task-row p{font-size:8px}.task-row .button{font-size:9px;padding:7px 9px}.task-symbol{height:30px;width:30px}.task-row .badge{margin-left:auto}.dialog{max-width:calc(100% - 28px);padding:25px}.dialog h2{font-size:21px}.upload-dialog{padding:28px 23px}.book-dialog{max-width:calc(100% - 16px);width:100%;padding:0}.book-dialog-head{padding:19px 16px 15px;gap:10px}.book-dialog-title h2{font-size:17px}.book-dialog-title p{font-size:8px}.mini-cover{width:33px;height:43px}.project-toolbar{padding:0 16px 15px;align-items:flex-start;flex-direction:column;gap:12px}.project-toolbar>div:last-child{width:100%;gap:6px}.project-toolbar .button{flex:1;font-size:9px;padding:8px 6px;gap:3px}.project-toolbar .button svg{width:12px}.detail-notice{font-size:9px;padding:10px 16px}.project-tabs{padding:0 16px;gap:20px}.project-tabs button{font-size:10px}.project-body{padding:17px 16px;min-height:220px;max-height:48dvh}.detail-progress{padding:11px 16px;font-size:9px}.detail-progress>span:last-child{font-size:8px}.chapter-row{font-size:10px}.chapter-row>span:last-child{font-size:8px}.role-row{gap:9px;flex-wrap:wrap}.role-info small{font-size:8px;max-width:160px}.role-row select{max-width:145px;font-size:9px;padding:7px}.role-avatar{height:27px;width:27px;font-size:9px}.cast-actions{align-items:flex-start;flex-direction:column;gap:10px}.cast-actions p{font-size:9px}.generate-dialog .field-row{flex-direction:column;gap:14px}.generate-dialog .field-row>.field{margin:0}.choice-group label{padding:10px;gap:5px}.choice-group i{display:none}.choice-group strong{font-size:10px}.choice-group small{font-size:8px}.artifact-heading{font-size:9px}.artifact-heading a{font-size:8px}.dialog .muted{font-size:10px}.empty-library{min-height:310px}.book-dialog .dialog-close{top:15px;right:15px}.toast{font-size:10px;width:max-content}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Keep supporting text readable on desktop and compact screens. */
.hero p,.view-heading>p,.section-heading p,.muted{font-size:12px;color:#7b8973}.eyebrow{color:#7e8c75}.stat p{font-size:11px;color:#7a896d}.book-title{font-size:13px}.book-meta{font-size:11px;color:#7e8e71}.badge{font-size:10px}.book-open{font-size:11px;color:#678457}.book-cover .cover-label{font-size:8px}.filters button,.search input{font-size:12px}.config-banner strong{font-size:12px;color:#82734c}.config-banner p{font-size:11px;color:#938761}.config-banner>button{font-size:11px}.field{font-size:12px}.field>input,.field>select,.password-field input{font-size:12px}.field small{font-size:11px;color:#89977d}.field-hint{font-size:10px}.readiness-row{font-size:12px;color:#7d8e6e}.readiness-row span:last-child{font-size:11px}.readiness-foot{font-size:11px;color:#89977b}.settings-foot p{font-size:10px;color:#899a79}.logout-button{font-size:10px;margin-top:12px;color:#829873}.voice-card h3{font-size:14px}.voice-card p{font-size:11px;color:#8d9c7d}.voice-card code{font-size:10px}.inline-note{font-size:12px}.task-row strong{font-size:13px}.task-row p{font-size:11px}.chapter-row{font-size:12px}.chapter-row>span:last-child{font-size:10px}.text-preview{font-size:13px;color:#718466}.role-info strong{font-size:13px}.role-info small{font-size:11px;color:#8a9b79}.role-row select{font-size:11px}.preview-heading{font-size:12px}.generation-summary{font-size:12px}.generation-summary small,.login-help{font-size:11px;color:#8a9d79}.guide-steps p{font-size:12px;color:#8a997b}.dialog>.muted{font-size:12px}.settings-tip p{font-size:11px;color:#8b9f77}.empty-library p{font-size:12px;color:#8a9a7c}.empty-library>.button{font-size:12px}.sample-button{font-size:11px}.empty-small p{font-size:12px}.format-note{font-size:10px}.book-dialog-title p{font-size:11px}.form-message{font-size:12px}.detail-notice{font-size:12px}.cast-actions p{font-size:11px}.audio-artifact .artifact-heading{font-size:12px}.artifact-heading a{font-size:11px}.project-toolbar .button.small{font-size:11px}.project-tabs button{font-size:12px}
@media(max-width:540px){.hero p{font-size:11px}.config-banner p{font-size:10px}.config-banner strong{font-size:11px}.config-banner>button{font-size:10px}.stat p{font-size:9px}.book-title{font-size:12px}.book-meta{font-size:10px}.badge{font-size:8px}.book-open{font-size:10px}.filters button,.search input{font-size:11px}.format-note{font-size:8px}.project-toolbar .button.small{font-size:10px}.role-info small{max-width:150px}.readiness-row{font-size:12px}.hero h1{font-size:20px}.section-heading p{font-size:10px}}

/* Account sign-in and the private workspace gate. */
body.logged-out>.sidebar,body.logged-out>.shell{display:none}body:not(.logged-out)>.login-page{display:none}.login-page{min-height:100dvh;display:grid;grid-template-columns:minmax(420px,1fr) minmax(480px,1fr);background:#fafbf7}.login-story{position:relative;overflow:hidden;padding:38px 52px;background:#edf0e7;border-right:1px solid #e0e6d8;display:flex;flex-direction:column}.login-story .brand{position:relative;z-index:1}.login-story-content{margin:auto;max-width:510px;width:100%;padding:75px 0 40px;position:relative}.login-story-content .eyebrow{font-size:10px;letter-spacing:2px;color:#819078}.login-story h1{font-size:54px;line-height:1.45;letter-spacing:2px;color:#2a4938;font-weight:600;margin:20px 0}.login-story h1 span{color:#9eae89}.login-story-content>p{font-size:14px;line-height:2.1;color:#809079}.login-story-foot{font-size:11px;color:#8b9981;margin:30px 0 0;letter-spacing:2px}.login-books{height:225px;position:relative;margin-top:45px}.login-book{position:absolute;width:157px;height:205px;border-radius:3px 9px 9px 3px;box-shadow:7px 15px 24px #37533a18,inset 6px 0 0 #ffffff16;border-left:5px solid #00000012;padding:20px;color:#faf7e6;display:flex;flex-direction:column}.login-book>span{font-size:7px;letter-spacing:1px;opacity:.7;white-space:nowrap}.login-book strong{font-family:serif;font-size:31px;line-height:1.5;letter-spacing:6px;font-weight:400;margin-top:16px}.login-book em{font-size:8px;letter-spacing:3px;font-style:normal;margin-top:auto;opacity:.6}.login-book.back{left:28px;top:0;transform:rotate(-12deg);background:#ae976e}.login-book.front{left:165px;top:18px;transform:rotate(9deg);background:#466b54}.login-wave{display:flex;align-items:center;gap:4px;height:24px;margin-top:auto}.login-wave b{width:2px;height:9px;background:#bdcca7;border-radius:2px}.login-wave b:nth-child(2n){height:17px}.login-wave b:nth-child(3n){height:23px}.login-side{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:70px 50px}.login-card{max-width:360px;width:100%;margin:auto}.login-lock{width:48px;height:48px;display:grid;place-items:center;background:#edf2e6;color:#60845b;border:1px solid #e0e8d6;border-radius:14px;margin-bottom:30px}.login-lock svg{width:22px;height:22px;stroke-width:1.5}.login-card .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:12px}.login-card h2{font-size:25px;font-weight:600;color:#324c38;margin:0 0 13px;letter-spacing:.6px}.login-subtitle{font-size:12px;line-height:1.9;color:#829179;margin-bottom:32px}.login-card .field{margin:0 0 21px;color:#5f7555;font-size:12px}.login-card .field>input{width:100%;height:46px;margin-top:10px;border-radius:8px;font-size:13px;background:#fff;border:1px solid #dce4d5;padding:0 14px;color:#354d38}.login-card .field>input:focus{outline:2px solid #a2b78a55;border-color:#8caa78}.login-card .field>input::placeholder{color:#abb5a2}.login-card .button{height:46px;border-radius:8px;font-size:13px;justify-content:space-between;padding:0 18px}.login-card .form-message{color:#b86e54;font-size:12px;min-height:19px;margin:0 0 12px}.login-account-note{display:flex;gap:9px;border-top:1px solid #e6ebdf;margin-top:28px;padding-top:22px;color:#92a084}.login-account-note svg{width:14px;height:14px;stroke-width:1.5;flex-shrink:0;margin-top:2px}.login-account-note p{font-size:11px;line-height:1.8;margin:0}.login-card>a{display:inline-flex;margin-top:17px;font-size:11px}.login-card>a[hidden]{display:none}.login-footer{font-size:10px;letter-spacing:1px;color:#9aaa8b;margin-top:60px}.login-footer .tiny-mark{margin-right:7px}#loginPage[hidden]{display:none}
@media(min-width:1500px){.login-story{padding:45px 70px}.login-story h1{font-size:64px}.login-books{margin-top:65px}.login-card{max-width:390px}}
@media(max-width:850px){.login-page{grid-template-columns:minmax(280px,.85fr) minmax(360px,1fr)}.login-story{padding:30px}.login-story h1{font-size:42px}.login-books{transform:scale(.8);transform-origin:left center}.login-side{padding:50px 35px}.login-story-content{padding-top:50px}}
@media(max-width:640px){.login-page{display:block}.login-story{padding:23px 27px;border:0;background:#edf0e7}.login-story .brand{font-size:22px}.login-story-content,.login-story-foot{display:none}.login-side{padding:42px 28px 25px;min-height:calc(100dvh - 90px)}.login-card{max-width:360px}.login-lock{margin-bottom:25px}.login-card h2{font-size:23px}.login-subtitle{font-size:11px;margin-bottom:28px}.login-footer{margin-top:45px}.login-card .field>input{font-size:14px}}

.account-panel{margin-top:26px;display:grid;gap:22px}.account-panel>.content-card{padding:26px}.account-panel .card-heading{padding:0 0 20px}.account-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.account-fields .field{margin:0}.account-fields input,.account-fields select{width:100%;margin-top:9px;padding:11px;border:1px solid #dce4d5;border-radius:7px;background:#fff;color:#526648}.account-hint{font-size:11px;color:#89977b;line-height:1.8;margin:12px 0}.account-panel .button{margin-top:8px}.create-user-form{border-top:1px solid #e5eadf;padding-top:22px;margin-top:20px}.create-user-form h3{font-size:13px;color:#526a48;margin:0 0 20px}.user-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #edf0e7}.user-row strong{font-size:13px;color:#4e6745;min-width:110px}.user-row>span{font-size:11px;color:#8d9a80}.user-row>button{margin-left:auto;font-size:11px}.account-panel[hidden],#adminPanel[hidden],#confirmField[hidden]{display:none}@media(max-width:700px){.account-fields{grid-template-columns:1fr;gap:16px}.account-panel>.content-card{padding:20px}.user-row{gap:10px}.user-row strong{min-width:75px}.user-row>span{font-size:10px}}
