:root{--font-sans:Arial,"Microsoft YaHei","Noto Sans CJK SC",sans-serif;--font-serif:"Noto Serif CJK SC","Songti SC",serif;--ink:#17211d;--muted:#708078;--paper:#f6f7f3;--surface:#ffffff;--line:#e4e9e3;--jade:#28664f;--jade-dark:#1c4d3b;--jade-soft:#e7f1eb;--gold:#bc9254;--shadow:0 14px 40px rgba(27,48,38,0.08)}.novel-section-menu{display:grid;grid-gap:6px;gap:6px;margin-top:16px;padding-top:14px;border-top:1px solid #dfe6df}.novel-section-menu>p{margin:0 0 3px;color:#8b9790;font-size:11px;letter-spacing:.08em}.novel-section-menu button{width:100%;display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:9px;gap:9px;padding:9px;border:0;border-radius:9px;color:#59685f;background:transparent;text-align:left}.novel-section-menu button span{display:grid;grid-gap:2px;gap:2px}.novel-section-menu button b{font-size:12px}.novel-section-menu button small{color:#8b9690;font-size:10px;line-height:1.4}.novel-section-menu button.active{color:var(--jade);background:#e8f2ec}.novel-section-menu button.active small{color:#668575}.run-board:not(.writing)>.agent-pipeline,.run-board:not(.writing)>.chapter-editor,.run-board:not(.writing)>.chapter-welcome,.run-board:not(.writing)>.instruction-card,.run-board:not(.writing)>.pipeline-head,.run-board:not(.writing)>.run-notice,.run-board:not(.writing)>.semantic-context-panel{display:none}.model-console.embedded{margin:0;min-height:260px;align-content:start}.novel-details-panel{display:grid;grid-template-columns:220px 1fr;grid-gap:24px;gap:24px;align-items:start}.novel-cover-card{display:grid;grid-gap:12px;gap:12px}.novel-cover-art{aspect-ratio:2/3;padding:24px 18px;display:flex;flex-direction:column;justify-content:space-between;border-radius:10px;color:#fff;background:radial-gradient(circle at 75% 18%,#d5ae6e55,transparent 25%),linear-gradient(150deg,#173d31,#071a14);box-shadow:0 18px 36px #183c2d38}.novel-cover-art span{font-size:11px;letter-spacing:.18em}.novel-cover-art b{font:600 26px/1.35 var(--font-serif),serif}.novel-cover-art small{color:#d8e5dd;font-size:12px}.novel-cover-card>a{padding:9px;border:1px solid #d7e0d8;border-radius:9px;color:var(--jade);text-align:center;font-size:12px}.novel-book-profile{padding:22px;border:1px solid #dce4dd;border-radius:15px;background:#fff}.novel-book-profile>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #e5eae5}.novel-book-profile>header small{color:#9a713d;font-size:11px;letter-spacing:.12em}.novel-book-profile h2{margin:5px 0 0;font-size:24px}.novel-book-profile>header em{padding:7px 11px;border-radius:999px;color:var(--jade);background:var(--jade-soft);font-style:normal}.novel-book-profile>section{padding:18px 0}.novel-book-profile>section h3{margin:0 0 9px}.novel-book-profile>section p{margin:0;color:#526159;font-size:14px;line-height:1.9}.novel-profile-meta{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px}.novel-profile-meta article{padding:12px;border-radius:10px;background:#f4f7f3}.novel-profile-meta b,.novel-profile-meta span{display:block}.novel-profile-meta span{margin-bottom:5px;color:#859189;font-size:11px}.novel-profile-meta b{font-size:13px}@media(max-width:900px){.novel-details-panel{grid-template-columns:1fr}.novel-cover-card{max-width:220px}}.material-fields{display:grid;grid-gap:14px;gap:14px;margin-top:16px}.material-fields>section{padding:15px;border:1px solid #e1e8e2;border-radius:12px;background:#fbfcfa}.material-fields.nested{margin-top:7px;gap:9px}.material-fields.nested>section{padding:11px;background:#fff}.material-fields h4{margin:0 0 9px;color:#254b3b;font-size:14px}.material-prose p{margin:0 0 8px;color:#35463d;font-size:14px;line-height:1.85}.material-prose p:last-child{margin-bottom:0}.material-bullets{margin:0;padding-left:20px}.material-bullets li{margin:7px 0;color:#35463d;font-size:14px;line-height:1.75}.material-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.material-card-grid>article{padding:13px;border:1px solid #dfe7e0;border-radius:11px;background:#fff}.material-card-grid>article .material-fields{margin:0}.material-card-grid>article .material-fields>section{padding:8px 0;border:0;border-bottom:1px dashed #e2e7e2;border-radius:0}.material-card-grid>article .material-fields>section:last-child{border-bottom:0}.material-muted{color:#929d97;font-size:13px}@media(max-width:800px){.material-card-grid{grid-template-columns:1fr}}.drama-head-actions{display:flex;align-items:center;gap:12px}.drama-head-actions button{min-height:40px;padding:0 14px}.drama-development-docs{display:grid;grid-gap:9px;gap:9px;margin:0 0 18px;padding:17px;border:1px solid #dce5dd;border-radius:14px;background:#fff}.drama-development-docs h3{margin:0 0 4px}.drama-development-docs details{border:1px solid #e3e9e4;border-radius:10px;overflow:hidden}.drama-development-docs summary{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer}.drama-development-docs summary span{display:grid;grid-gap:3px;gap:3px}.drama-development-docs summary small{color:#75837b}.drama-development-docs summary em{color:var(--jade);font-style:normal}.drama-development-docs pre{max-height:480px;overflow:auto;margin:0;padding:15px;background:#f5f7f4;white-space:pre-wrap;word-break:break-word;font:13px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.export-center-fab{right:224px!important;min-height:46px;font-size:14px!important}.video-center-fab{min-width:170px;justify-content:center;font-size:14px!important}.video-center article,.video-center button,.video-center input,.video-center label,.video-center p,.video-center select,.video-center small,.video-center span,.video-center summary,.video-center textarea{font-size:13px!important;line-height:1.55}.video-center small{font-size:12px!important}.video-center .connector-wizard-steps span{padding:8px 4px;font-size:11px!important}.video-center .connector-redacted{font-size:12px!important;line-height:1.6}.video-center .autodl-form details{font-size:12px!important}.video-center .shot-generation article{height:auto;min-height:48px;padding:8px 10px;font-size:12px!important}.video-center .shot-generation>button{margin-top:14px}.video-center .video-connector-select{margin:14px 0;gap:8px;font-size:13px!important}.video-center .video-connector-select select{min-height:42px;font-size:13px!important}.video-center .take-preview-actions,.video-center .take-regenerate{gap:10px;margin-top:12px}.video-center .take-preview-actions button,.video-center .take-regenerate button{min-height:38px}@media(max-width:760px){.export-center-fab{right:auto!important;left:12px}.video-center-fab{right:12px;min-width:150px}}.asset-search{display:flex;align-items:center;gap:10px;margin:14px 0}.asset-search input{flex:1 1;min-height:40px;padding:0 13px;border:1px solid #dbe2dc;border-radius:10px;background:#fff}.asset-search span{color:#718078;font-size:11px}.video-connector-select{display:flex;flex-direction:column;gap:6px;margin:10px 0;color:#526159;font-size:11px}.video-connector-select select{min-height:38px;padding:0 10px;border:1px solid #d9e2da;border-radius:9px;background:#fff}.take-preview-actions{display:flex;gap:7px;margin-top:8px}.take-preview-actions button{flex:1 1}.take-video-preview{display:block;width:100%;max-height:420px;margin-top:9px;border-radius:10px;background:#111}.provider-preset-picker{display:flex;align-items:flex-end;gap:14px;margin-bottom:12px;padding:12px 14px;border:1px solid #dce6dd;border-radius:12px;background:#f8fbf7}.provider-preset-picker label{display:flex;min-width:260px;flex-direction:column;gap:5px;color:#475569;font-size:12px}.provider-preset-picker select{padding:10px 12px;border:1px solid #d3ded5;border-radius:10px;background:#fff}.provider-preset-picker small{padding-bottom:9px;color:#718078}@media(max-width:900px){.provider-preset-picker{align-items:stretch;flex-direction:column}.provider-preset-picker label{min-width:0}.provider-preset-picker small{padding:0}}.recommended-route-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:15px 17px;border:1px solid #d9cba9;border-radius:14px;background:#fffaf0}.recommended-route-panel>span{display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:2px 8px;gap:2px 8px}.recommended-route-panel svg{grid-row:1/3;color:#a4772f}.recommended-route-panel b{font-size:13px}.recommended-route-panel small{color:#7b725f}.recommended-route-panel button{padding:10px 14px;border:0;border-radius:9px;background:#a4772f;color:#fff;white-space:nowrap}.recommended-route-panel button:disabled{opacity:.45}@media(max-width:700px){.recommended-route-panel{align-items:stretch;flex-direction:column}.recommended-route-panel button{width:100%}}.member-invite{padding:16px;display:grid;grid-template-columns:auto 1fr 130px auto;grid-gap:10px;gap:10px;border:1px solid #dce4dd;border-radius:13px;color:var(--jade);background:#fff}.member-invite input,.member-invite select,.member-list select{height:38px;padding:0 10px;border:1px solid #dce3dc;border-radius:8px;outline:0;background:#fafbf9;font-size:9px}.member-invite button{height:38px;padding:0 14px;border:0;border-radius:8px;color:#fff;background:var(--jade);font-size:9px}.member-invite button:disabled{opacity:.45}.member-list{margin-top:16px;overflow:hidden;border:1px solid #dfe5df;border-radius:13px;background:#fff}.member-list article{min-height:66px;padding:11px 15px;display:grid;grid-template-columns:auto 1fr 130px auto;grid-gap:11px;gap:11px;align-items:center;border-top:1px solid #e7ebe7}.member-list article:first-child{border-top:0}.member-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--jade);background:var(--jade-soft);font:14px var(--font-serif),serif}.member-list b,.member-list small{display:block}.member-list b{font-size:10px}.member-list small{margin-top:4px;color:#8b9790;font-size:8px}.member-list em{justify-self:end;padding:5px 8px;border-radius:9px;color:var(--jade);background:var(--jade-soft);font-size:8px;font-style:normal}.member-list>article>button{padding:7px 9px;border:0;border-radius:7px;color:#a75149;background:#f7e9e7;font-size:8px}.wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:6px;gap:6px;margin-bottom:18px}.wizard-progress span{display:flex;align-items:center;gap:5px;color:#9aa49e;font-size:8px}.wizard-progress b{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#e7ebe7;font-size:7px}.wizard-progress span.active{color:var(--jade)}.wizard-progress span.active b{color:#fff;background:var(--jade)}.wizard-step{min-height:285px}.dialog-field>select,.dialog-field>textarea{width:100%;padding:10px 12px;border:1px solid #dfe5df;border-radius:9px;outline:0;background:#fff;font:10px/1.6 inherit}.dialog-field>textarea{min-height:82px;resize:vertical}.dialog-field>select{height:43px}.wizard-actions{display:flex;justify-content:flex-end;gap:8px}.wizard-actions>button:not(.dialog-primary){padding:0 14px;border:1px solid #dce3dc;border-radius:9px;color:#66746c;background:#fff;font-size:9px}.wizard-actions .dialog-primary{width:auto;margin:0;padding:0 17px}.wizard-preview{min-height:110px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px dashed #b6c8be;border-radius:12px;color:var(--jade);background:#f2f7f4}.wizard-preview b,.wizard-preview small{display:block}.wizard-preview small{margin-top:5px;color:#819087;font-size:8px}.brief-preview{padding:17px;border:1px solid #dce4dd;border-radius:12px;background:#f8faf7}.brief-preview>b{font:600 18px var(--font-serif),serif}.brief-preview p{color:#5f6e65;font-size:9px;line-height:1.6}.brief-preview small,.brief-preview span{display:block;color:#7e8c84;font-size:8px}.brief-preview small{margin-top:16px;padding-top:12px;border-top:1px solid #e0e6e0}.batch-video-button{width:100%;min-height:35px;margin:10px 0;border:0;border-radius:8px;color:#fff;background:var(--jade);font-size:8px}.batch-video-button:disabled{opacity:.45}.asset-drawer article.bindable-asset{cursor:pointer}.bindable-asset>button{margin-left:auto;padding:6px 8px;border:0;border-radius:6px;color:var(--jade);background:var(--jade-soft);font-size:7px}.bindable-asset>button:disabled{opacity:.4}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--paper);color:var(--ink)}body{font-family:var(--font-sans),"PingFang SC",sans-serif}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.field-spaced{margin-top:16px}a{color:inherit}.admin-link,a{text-decoration:none}.admin-link svg{color:#9b7641}.admin-shell{min-height:100vh;background:#f4f6f2}.admin-header{height:66px;padding:0 38px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #dfe5de;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.admin-header>a{display:flex;align-items:center;gap:7px;color:#607068;font-size:10px}.admin-header>div{display:flex;align-items:center;gap:9px;font:15px var(--font-serif),serif;letter-spacing:.07em}.admin-header>div span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--jade)}.admin-header>em{justify-self:end;color:#92a098;font-size:8px;font-style:normal;letter-spacing:.16em}.admin-content{width:min(1240px,calc(100% - 48px));margin:auto;padding:42px 0 70px}.admin-title{display:flex;justify-content:space-between;align-items:flex-end}.admin-title p{margin:0 0 8px;color:var(--jade);font-size:8px;font-weight:700;letter-spacing:.18em}.admin-title h1{margin:0 0 8px;font:600 30px var(--font-serif),serif}.admin-title>div>span{color:#7c8982;font-size:11px}.admin-title label{width:min(780px,calc(100vw - 48px));height:42px;padding:0 5px 0 12px;display:flex;align-items:center;border:1px solid #dce3dc;border-radius:11px;background:#fff}.admin-title input{min-width:0;flex:1 1;border:0;outline:0;font-size:11px}.admin-title label button{border:0;border-radius:7px;padding:7px 11px;color:#fff;background:var(--jade);font-size:9px}.admin-error{margin-top:20px;padding:12px;border-radius:10px;color:#a3473f;background:#f7e8e6;font-size:11px}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px;margin:28px 0}.admin-metrics article{position:relative;min-height:126px;padding:20px;border:1px solid #e0e6df;border-radius:14px;background:#fff}.admin-metrics article>span{position:absolute;right:18px;top:18px;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--jade);background:var(--jade-soft)}.admin-metrics p{margin:6px 0 15px;color:#7b8881;font-size:10px}.admin-metrics strong{font:600 28px var(--font-serif),serif}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-gap:16px;gap:16px}.admin-table-card{overflow:hidden;border:1px solid #dfe5de;border-radius:15px;background:#fff}.admin-card-head{padding:19px 21px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e7ebe6}.admin-card-head h2{margin:0 0 4px;font:600 16px var(--font-serif),serif}.admin-card-head p{margin:0;color:#87928c;font-size:9px}.admin-card-head>b{min-width:27px;height:27px;display:grid;place-items:center;border-radius:8px;color:var(--jade);background:var(--jade-soft);font-size:10px}.admin-tr{min-height:58px;padding:0 20px;display:grid;grid-template-columns:1.4fr .8fr .7fr .8fr;align-items:center;border-bottom:1px solid #eef1ed;color:#5f6d65;font-size:10px}.admin-tr:last-child{border-bottom:0}.admin-tr>span>b,.admin-tr>span>small{display:block}.admin-tr>span>b{color:var(--ink);margin-bottom:3px}.admin-tr a{color:inherit;text-decoration:none}.admin-tr a:hover{color:var(--jade);text-decoration:underline}.admin-tr small{color:#939d97;font-size:8px}.admin-th{min-height:34px;color:#96a098;background:#fafbf9;font-size:8px;font-weight:650}.admin-tr em{padding:4px 7px;border-radius:10px;color:#68766e;background:#f0f2ef;font-style:normal;font-size:8px}.admin-tr em.admin-role{color:#8b6939;background:#f5eddf}.security-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#58a178}.admin-reset{display:inline-flex;align-items:center;gap:5px;border:1px solid #dfd7c8;border-radius:8px;background:#fffaf1;color:#76552f;padding:7px 9px;font-size:11px}.admin-reset:hover{background:#f3e8d6}.admin-inline{margin-left:6px;padding:6px 8px;border:1px solid #dfe5de;border-radius:7px;color:#53655b;background:#fff;font-size:9px}.admin-inline:hover{color:var(--jade);border-color:#b9cec0;background:#f4f8f5}.admin-tr.session-row{grid-template-columns:1.1fr 1fr 1fr .8fr}.admin-audit-card .admin-tr{grid-template-columns:1.5fr .7fr 1fr 1.1fr;align-items:start;padding-top:12px;padding-bottom:12px}.admin-audit-card .admin-tr>span{min-width:0;overflow-wrap:anywhere;line-height:1.45}.admin-reset-dialog{max-width:500px}.admin-reset-dialog textarea{min-height:82px;resize:vertical}.admin-security{padding:24px;border-radius:15px;color:#eef5f1;background:linear-gradient(145deg,#173d30,#285b45)}.admin-security>p{margin:22px 0 8px;color:#9ec4b1;font-size:8px;letter-spacing:.16em}.admin-security h2{margin:0 0 12px;font:500 19px var(--font-serif),serif}.admin-security>span{color:rgba(255,255,255,.58);font-size:9px;line-height:1.7}.admin-security button{width:100%;margin-top:30px;padding:9px;border:1px solid rgba(255,255,255,.17);border-radius:8px;color:#fff;background:rgba(255,255,255,.07);font-size:9px}.admin-projects{margin-top:16px}.admin-tr.project-row{grid-template-columns:1.4fr 1fr .9fr .6fr .7fr}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.08fr) minmax(420px,.92fr);background:#f7f8f4}.auth-visual{position:relative;overflow:hidden;min-height:100vh;padding:42px 54px;color:#f5f6ef;background:radial-gradient(circle at 72% 36%,rgba(109,167,136,.2),transparent 28%),linear-gradient(145deg,#102b23,#1c4938 58%,#123529)}.auth-visual:before{content:"";position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 0),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 0);background-size:52px 52px;-webkit-mask-image:linear-gradient(to bottom right,#000,transparent 70%);mask-image:linear-gradient(to bottom right,#000,transparent 70%)}.auth-brand{position:relative;z-index:2;display:flex;align-items:center;gap:10px}.auth-brand>span{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(255,255,255,.08)}.auth-brand b{font:600 20px var(--font-serif),serif;letter-spacing:.12em}.auth-brand small{color:rgba(255,255,255,.42);font-size:8px;letter-spacing:.2em;margin-left:2px}.auth-statement{position:absolute;z-index:2;left:9%;top:39%;transform:translateY(-50%)}.auth-statement>p{color:#99c3ae;font-size:9px;letter-spacing:.24em;font-weight:700}.auth-statement h1{margin:18px 0;font:500 clamp(40px,5vw,68px)/1.18 var(--font-serif),serif;letter-spacing:.07em}.auth-statement>span{display:block;max-width:390px;color:rgba(255,255,255,.52);font-size:12px;line-height:1.8}.auth-orbit{position:absolute;width:420px;height:420px;right:-110px;bottom:-100px}.auth-orbit>i{position:absolute;inset:35px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.auth-orbit>i:nth-child(2){inset:90px 5px}.auth-orbit>span{position:absolute;left:46%;top:43%;width:78px;height:78px;display:grid;place-items:center;text-align:center;border-radius:50%;color:#d9c497;background:rgba(8,39,28,.72);border:1px solid rgba(255,255,255,.15);font:13px/1.35 var(--font-serif),serif}.auth-orbit b{position:absolute;color:rgba(255,255,255,.55);font-size:9px;font-weight:500}.auth-orbit b:first-of-type{left:16%;top:34%}.auth-orbit b:nth-of-type(2){right:12%;top:29%}.auth-orbit b:nth-of-type(3){right:25%;bottom:14%}.auth-panel{display:grid;place-items:center;padding:48px}.login-card{width:min(390px,100%)}.login-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:28px;border-radius:14px;color:var(--jade);background:var(--jade-soft)}.login-card h2{margin:5px 0 9px;font:600 30px var(--font-serif),serif;letter-spacing:.05em}.login-subtitle{margin:0 0 34px;color:var(--muted);font-size:12px}.field,.field>span{display:block}.field>span{margin-bottom:8px;color:#65736b;font-size:11px;font-weight:650}.field>div{height:50px;display:flex;align-items:center;border:1px solid #dce3dc;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(25,52,39,.04)}.field b{padding:0 14px;border-right:1px solid #e4e8e3;font-size:12px}.field input{width:100%;border:0;outline:0;padding:0 14px;font-size:14px;background:transparent}.field .otp-input{text-align:center;font-size:22px;letter-spacing:.5em;padding-left:calc(14px + .5em)}.form-error{color:#b74e45;margin:10px 2px 0;font-size:10px}.login-button{width:100%;height:48px;margin-top:18px;border:0;border-radius:12px;display:flex;justify-content:center;align-items:center;gap:8px;color:#fff;background:linear-gradient(135deg,#2f7558,#1b503b);box-shadow:0 10px 22px rgba(34,94,70,.2);font-size:12px;font-weight:650}.back-button{width:100%;border:0;background:transparent;padding:13px;color:var(--jade);font-size:10px}.agreement{margin:22px 8px 0;color:#9aa39d;font-size:9px;line-height:1.7;text-align:center}.debug-dialog{position:fixed;z-index:50;left:50%;top:50%;transform:translate(-50%,-50%);width:310px;padding:24px;border:1px solid rgba(255,255,255,.6);border-radius:18px;text-align:center;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 28px 80px rgba(12,35,26,.28)}.debug-dialog span{display:block;color:var(--jade);font-size:9px;font-weight:700;letter-spacing:.16em}.debug-dialog strong{display:block;margin:17px 0 7px;font-size:34px;letter-spacing:.24em;padding-left:.24em}.debug-dialog p{color:var(--muted);font-size:9px}.debug-dialog button{margin-top:8px;border:0;border-radius:9px;padding:9px 14px;color:#fff;background:var(--jade);font-size:10px}.auth-loader{margin:auto;display:flex;align-items:center;gap:12px;color:var(--jade);font:14px var(--font-serif),serif}.auth-loader svg{animation:breathe 1.4s ease-in-out infinite}@keyframes breathe{50%{opacity:.35;transform:translateY(-3px)}}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;background:#f1f3ee;border-right:1px solid #dfe5dd;padding:28px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 25px}.brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#35765d,#174633);box-shadow:0 7px 18px rgba(35,96,72,.23)}.brand strong{display:block;font-family:var(--font-serif),serif;font-size:20px;letter-spacing:.08em}.brand span{display:block;margin-top:1px;color:#809087;font-size:8px;letter-spacing:.24em}.workspace-switcher{width:100%;border:1px solid #dde4dc;background:rgba(255,255,255,.72);border-radius:12px;padding:9px 10px;display:grid;grid-template-columns:30px minmax(0,1fr) 15px;grid-gap:9px;gap:9px;align-items:center;text-align:left;box-shadow:0 3px 10px rgba(25,47,37,.03)}.workspace-switcher b,.workspace-switcher small{display:block}.workspace-switcher small{color:#849088;font-size:10px;margin-bottom:2px}.workspace-switcher b{font-size:12px;font-weight:600}.app-shell .sidebar .workspace-switcher{min-height:64px;flex-shrink:0;box-sizing:border-box;line-height:1.5}.app-shell .workspace-switcher>span:nth-child(2){min-width:0;overflow:hidden}.app-shell .sidebar .workspace-switcher b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .workspace-switcher .avatar{flex-shrink:0}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dce9e1;color:var(--jade);font-size:11px;font-weight:700}.avatar-small{width:30px;height:30px}nav{margin-top:25px}.nav-label{margin:0 10px 8px;color:#9aa49e;font-size:10px;font-weight:600;letter-spacing:.12em}.nav-label-spaced{margin-top:25px}.nav-item{border:0;background:transparent;width:100%;border-radius:10px;min-height:42px;padding:0 11px;display:flex;align-items:center;gap:11px;color:#647168;font-size:13px;margin:2px 0;transition:.18s ease}.nav-item:hover{background:rgba(255,255,255,.7);color:var(--ink)}.nav-item.active{background:#fff;color:var(--jade);font-weight:650;box-shadow:0 5px 16px rgba(38,72,54,.07)}.nav-item span{flex:1 1;text-align:left}.nav-item em{min-width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:#e0ece5;color:var(--jade);font-size:10px;font-style:normal}.usage-card{margin-top:auto;padding:14px;border:1px solid #dce3db;border-radius:13px;background:rgba(255,255,255,.58)}.usage-head{display:flex;justify-content:space-between;font-size:11px}.usage-head b{color:var(--jade)}.meter{height:5px;border-radius:20px;background:#dfe5df;overflow:hidden;margin:10px 0 8px}.meter i{display:block;height:100%;background:linear-gradient(90deg,#3c8567,#76aa8d);border-radius:inherit}.usage-card small{display:block;color:#829087;font-size:9px}.usage-card button{border:0;padding:10px 0 0;background:transparent;display:flex;align-items:center;gap:4px;color:var(--jade);font-size:10px}.top-actions{position:relative}.notification-popover{position:absolute;z-index:30;right:118px;top:44px;width:340px;max-height:430px;overflow:auto;border:1px solid #dfe5de;border-radius:14px;background:#fff;box-shadow:0 18px 48px rgba(20,45,33,.16)}.notification-popover header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #edf0ec}.notification-popover header button{border:0;background:transparent;font-size:18px}.notification-popover article{display:grid;grid-template-columns:auto 1fr;grid-gap:10px;gap:10px;padding:13px 16px;border-bottom:1px solid #f0f2ef}.notification-popover article>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:var(--jade);background:var(--jade-soft)}.notification-popover article b{font-size:11px}.notification-popover article p{margin:4px 0;color:#78857d;font-size:10px;line-height:1.5}.notification-popover article small{color:#a0aaa4;font-size:8px}.notification-empty{padding:34px 16px;text-align:center;color:#8b9690;font-size:11px}.account-usage-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-bottom:18px}.account-usage-summary article{padding:12px;border:1px solid #e1e7e1;border-radius:10px;background:#fafbf9}.account-usage-summary b,.account-usage-summary small{display:block}.account-usage-summary small{color:#87928c;font-size:9px;margin-bottom:5px}.account-usage-summary b{font-size:14px}.account-usage-records{margin-bottom:18px}.account-usage-records>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0ec}.account-usage-records b,.account-usage-records small{display:block}.account-usage-records em,.account-usage-records small{color:#87928c;font-size:9px;font-style:normal}.profile-row{display:grid;grid-template-columns:auto 1fr auto;grid-gap:9px;gap:9px;align-items:center;padding:16px 8px 0}.logout-button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;color:#7d8982;background:transparent}.logout-button:hover{color:#a64e45;background:#f5e9e7}.profile-row b,.profile-row small{display:block}.profile-row b{font-size:12px}.profile-row small{color:#8b978f;font-size:9px;margin-top:2px}.main-panel{min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);background:rgba(249,250,247,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;padding:0 36px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.search-box,.topbar{display:flex;align-items:center}.search-box{width:min(420px,42vw);height:38px;border:1px solid #e0e5df;background:#fff;border-radius:10px;gap:9px;padding:0 10px;color:#8a9690}.search-box input{flex:1 1;border:0;outline:0;font-size:12px;color:var(--ink)}.search-box kbd{border:1px solid #dfe4df;background:#f7f8f6;border-radius:5px;gap:2px;padding:3px 5px;font-size:9px}.search-box kbd,.top-actions{display:flex;align-items:center}.top-actions{gap:10px}.status-pill{display:flex;align-items:center;gap:6px;font-size:10px;color:#8b938f;padding:7px 9px;border-radius:20px;background:#eff1ee}.status-pill i{width:6px;height:6px;border-radius:50%;background:#b4bbb6}.status-pill.online i{background:#4ba574;box-shadow:0 0 0 3px rgba(75,165,116,.13)}.icon-button{width:37px;height:37px;border:1px solid #e0e5df;border-radius:10px;background:#fff;display:grid;place-items:center;position:relative}.icon-button i{position:absolute;top:8px;right:8px;width:5px;height:5px;border-radius:50%;background:#d06b55}.ghost-button,.primary-button{height:38px;border-radius:10px;display:flex;align-items:center;gap:7px;padding:0 14px;font-size:12px;font-weight:600}.primary-button{border:0;background:var(--jade);color:#fff;box-shadow:0 6px 15px rgba(40,102,79,.2)}.ghost-button{border:1px solid #dfe5df;background:#fff}.content{width:min(1320px,calc(100vw - 244px));padding:38px 42px 60px;margin:0 auto}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.eyebrow{margin:0 0 8px;color:#8a9b90;font-size:9px;font-weight:700;letter-spacing:.16em}.welcome-row h1{font-family:var(--font-serif),serif;font-size:clamp(25px,2.5vw,34px);margin:0 0 8px;font-weight:600;letter-spacing:.02em}.welcome-row p{color:var(--muted);margin:0;font-size:12px}.welcome-row p b{color:var(--jade);font-weight:650}.feature-banner{min-height:270px;position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(120deg,#173f33,#245942 55%,#2d694e);color:#fff;box-shadow:0 18px 38px rgba(28,72,54,.17)}.feature-banner:before{content:"";position:absolute;inset:0;opacity:.18;background-image:linear-gradient(115deg,transparent 65%,rgba(255,255,255,.08)),radial-gradient(circle at 20% 10%,rgba(255,255,255,.12),transparent 26%)}.banner-copy{position:relative;z-index:2;padding:37px 42px;max-width:600px}.banner-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);border-radius:20px;color:#cce2d6;font-size:9px}.banner-copy h2{font-family:var(--font-serif),serif;font-size:34px;letter-spacing:.12em;margin:16px 0 7px}.banner-copy>p{margin:0;color:rgba(255,255,255,.66);font-size:11px}.banner-stats{display:flex;gap:22px;margin:22px 0;color:#d6e5dd;font-size:10px}.banner-stats span{display:flex;align-items:center;gap:6px}.banner-copy button{border:0;border-radius:9px;height:36px;padding:0 14px;background:#f5f1e7;color:#214f3d;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}.story-orbit{position:absolute;right:4%;top:50%;transform:translateY(-50%);width:310px;height:260px}.orbit{position:absolute;border:1px solid rgba(222,240,229,.18);border-radius:50%;inset:24px 28px;transform:rotate(-14deg)}.orbit-two{inset:58px 4px;transform:rotate(19deg)}.orb-core{left:50%;top:50%;transform:translate(-50%,-50%);width:78px;height:78px;border-radius:50%;place-items:center;color:#f1ddbb;background:radial-gradient(circle at 35% 25%,#418165,#163e30);box-shadow:0 0 55px rgba(196,226,207,.16),inset 0 0 0 1px rgba(255,255,255,.14)}.float-node,.orb-core{position:absolute;display:grid}.float-node{width:44px;height:44px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(19,58,43,.76);color:#cbded4;font-size:9px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.node-a{left:24px;top:42px}.node-b{right:17px;top:65px}.node-c{right:48px;bottom:31px}.section-block{margin-top:34px}.section-heading{align-items:flex-end;justify-content:space-between;margin-bottom:16px}.section-heading h3{font-family:var(--font-serif),serif;font-size:18px;margin:0 0 5px;letter-spacing:.03em}.section-heading p{color:#8a958e;margin:0;font-size:10px}.text-button{border:0;background:transparent;color:var(--jade);display:flex;align-items:center;gap:4px;font-size:10px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:17px;gap:17px}.empty-project-card{min-height:180px;display:grid;place-items:center;align-content:center;grid-gap:9px;gap:9px;border:1px dashed #b9c9bf;border-radius:14px;background:#f7faf7;color:var(--jade)}.empty-project-card b{font-size:12px}.empty-project-card span{color:#829087;font-size:9px}.project-card{background:#fff;border:1px solid #e3e8e2;border-radius:15px;overflow:hidden;box-shadow:0 6px 20px rgba(30,52,42,.04);transition:transform .18s,box-shadow .18s}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.cover{height:106px;position:relative;overflow:hidden;padding:12px;background:#243d35}.cover:after,.cover:before{content:"";position:absolute;border-radius:50%;filter:blur(1px)}.cover:before{width:160px;height:160px;right:-30px;top:-80px;background:rgba(129,174,151,.18)}.cover:after{width:100px;height:100px;left:-24px;bottom:-65px;border:1px solid rgba(255,255,255,.12)}.cover-2{background:linear-gradient(135deg,#3c322a,#6d5336)}.cover-3{background:linear-gradient(135deg,#3b3245,#735466)}.cover>span{position:relative;z-index:1;padding:4px 7px;border-radius:15px;background:rgba(255,255,255,.12);color:rgba(255,255,255,.8);font-size:8px}.cover-glyph{position:absolute;right:25px;bottom:2px;font-family:var(--font-serif),serif;color:rgba(255,255,255,.16);font-size:72px;line-height:1}.project-info{padding:15px 16px}.project-title{display:flex;justify-content:space-between;gap:8px}.project-title h4{margin:0 0 5px;font-size:14px}.project-title p{margin:0;color:#849087;font-size:9px}.progress-row{display:flex;justify-content:space-between;margin-top:15px;font-size:9px;color:#839087}.progress-row b{color:var(--jade)}.meter.slim{height:4px;margin:7px 0 14px}.project-meta{border-top:1px solid #eef1ed;padding-top:12px;display:flex;gap:12px;color:#88938d;font-size:8px}.project-meta span{display:flex;align-items:center;gap:4px}.project-meta span:last-child{margin-left:auto}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);grid-gap:18px;gap:18px;margin-top:34px}.activity-panel,.approval-panel{border:1px solid var(--line);border-radius:15px;background:#fff}.activity-panel{padding:20px}.section-heading.compact{margin-bottom:10px}.activity{min-height:62px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:12px;gap:12px;border-top:1px solid #edf0ec}.agent-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#2c7356;background:#e6f1ea}.agent-icon.guard{color:#a27438;background:#f5eddf}.agent-icon.director{color:#6c5a91;background:#ede9f4}.activity b{display:block;font-size:11px;margin-bottom:4px}.activity p{margin:0;color:#87928b;font-size:9px}.activity-status{color:#4b886d;background:#edf5f0;padding:5px 8px;border-radius:12px;font-style:normal;font-size:8px}.activity-status.warn{color:#a66d28;background:#faf0df}.approval-panel{padding:24px;position:relative;overflow:hidden;background:linear-gradient(145deg,#faf8f1,#f3f2e9)}.approval-panel:after{content:"审";position:absolute;right:-8px;bottom:-30px;color:rgba(69,91,75,.05);font:120px var(--font-serif),serif}.approval-icon{width:39px;height:39px;display:grid;place-items:center;color:#876c3e;background:#eee4cf;border-radius:12px;margin-bottom:18px}.approval-panel h3{font-family:var(--font-serif),serif;font-size:17px;line-height:1.55;margin:8px 0}.approval-panel p{color:#808b84;font-size:9px;line-height:1.65;margin:0 0 17px}.approval-panel button{position:relative;z-index:1;border:1px solid #d9d8cb;background:rgba(255,255,255,.72);border-radius:9px;height:34px;padding:0 10px;font-size:9px;font-weight:650}.approval-panel button span{margin-left:8px;background:#a37f48;color:#fff;border-radius:8px;padding:2px 5px}.modal-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:24px;background:rgba(15,31,24,.45);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.product-dialog{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:#fbfcf9;box-shadow:0 30px 90px rgba(13,38,27,.28)}.product-dialog>header{padding:23px 25px 19px;display:flex;justify-content:space-between;border-bottom:1px solid #e2e7e1}.product-dialog header p{margin:0 0 6px;color:var(--jade);font-size:8px;font-weight:700;letter-spacing:.17em}.product-dialog header h2{margin:0;font:600 21px var(--font-serif),serif}.product-dialog header>button{width:33px;height:33px;display:grid;place-items:center;border:0;border-radius:9px;color:#748078;background:#eef1ed}.dialog-body{padding:24px 25px 27px}.dialog-field{display:block;margin-bottom:20px}.dialog-field>span{display:flex;justify-content:space-between;margin-bottom:8px;color:#53635a;font-size:10px;font-weight:650}.dialog-field>span small{color:#9aa39e;font-size:8px;font-weight:400}.dialog-field>input{width:100%;height:44px;padding:0 13px;border:1px solid #dce3dc;border-radius:10px;outline:0;background:#fff}.dialog-field>input:focus{border-color:#71a28b;box-shadow:0 0 0 3px rgba(48,116,87,.09)}.mode-options{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.mode-options button{min-height:98px;padding:14px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;column-gap:10px;text-align:left;border:1px solid #dce3dc;border-radius:11px;color:#65736b;background:#fff}.mode-options button svg{grid-row:span 2;color:#7b8d83}.mode-options button b{font-size:11px}.mode-options button small{color:#929c96;font-size:8px;line-height:1.5}.mode-options button.selected{border-color:#4f8c70;color:var(--jade);background:#edf5f0;box-shadow:inset 0 0 0 1px #4f8c70}.mode-options button.selected svg{color:var(--jade)}.dialog-primary{width:100%;height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;color:#fff;background:var(--jade);font-size:11px;font-weight:650}.security-summary{margin-bottom:21px;padding:15px;display:flex;gap:12px;align-items:center;border-radius:11px;color:var(--jade);background:var(--jade-soft)}.security-summary span b,.security-summary span small{display:block}.security-summary span b{font-size:11px}.security-summary span small{margin-top:4px;color:#729080;font-size:8px}.session-list{margin-top:24px;border-top:1px solid #e4e8e3;padding-top:18px}.session-list h3{margin:0 0 10px;font:600 13px var(--font-serif),serif}.session-list>div{min-height:45px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf0ec}.session-list i{width:7px;height:7px;border-radius:50%;background:#54a077}.session-list i.revoked{background:#b7beba}.session-list span b,.session-list span small{display:block}.session-list span b{font-size:9px}.session-list span small{margin-top:3px;color:#929c96;font-size:8px}.workspace-shell{min-height:100vh;display:grid;grid-template-columns:76px 1fr;grid-template-rows:62px 1fr;background:#f4f6f2}.workspace-top{grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 25px;border-bottom:1px solid #dfe5de;background:rgba(255,255,255,.9);z-index:5}.workspace-top>a{display:flex;align-items:center;gap:6px;color:#68776f;font-size:9px}.project-crumb{display:flex;align-items:center;gap:8px;font-size:10px}.project-crumb span{color:#87938c}.workspace-sync{justify-self:end;display:flex;align-items:center;gap:6px;color:#7a8981;font-size:8px}.workspace-sync i{width:6px;height:6px;border-radius:50%;background:#53a176}.workspace-rail{grid-row:2;padding:19px 9px 90px;border-right:1px solid #dce3dc;background:#edf0eb;overflow-y:auto}.rail-brand{width:38px;height:38px;margin:0 auto 24px;display:grid;place-items:center;border-radius:11px;color:#fff;background:var(--jade);font:16px var(--font-serif),serif}.workspace-rail>a{width:58px;min-height:58px;margin-bottom:7px;padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:10px;color:#7a8780;background:transparent;font-size:8px}.workspace-rail>a.active{color:var(--jade);background:#fff;box-shadow:0 5px 16px rgba(26,57,43,.08)}.module-page{grid-column:1/-1;min-width:0;padding:28px;overflow:auto;background:radial-gradient(circle at 85% 0,#eaf3ed,transparent 30%),#f5f7f3}.module-hero{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.module-hero p{margin:0 0 7px;color:var(--jade);font-size:7px;font-weight:700;letter-spacing:.18em}.module-hero h1{margin:0 0 6px;font:600 28px var(--font-serif),serif}.module-hero span{color:#7f8c85;font-size:9px}.module-hero>button,.run-detail header button,.settings-card button,.version-center article button{min-height:36px;padding:0 13px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:9px;color:#fff;background:var(--jade);font-size:9px}.mode-switch-field{display:grid;grid-template-columns:1fr auto;grid-gap:9px;gap:9px}.mode-switch-field select{min-height:38px;border:1px solid #dce3dd;border-radius:8px;padding:0 10px;background:#fff;color:var(--ink)}.mode-switch-field button:disabled{opacity:.45}.settings-card .mode-impact-card{padding:15px;border:1px solid #dce5de;border-radius:11px;background:#f7faf7}.mode-impact-card header{display:flex;justify-content:space-between;gap:12px;font-size:10px}.mode-impact-card header span{color:#69776f}.mode-impact-stats{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:7px;gap:7px;margin:12px 0}.mode-impact-stats span{padding:8px;border-radius:8px;background:#fff;color:#78857e;font-size:8px}.mode-impact-stats b{display:block;margin-top:3px;color:var(--ink);font-size:12px}.settings-card .mode-impact-card p{color:#a16c2d;font-size:8px}.mode-impact-card ol{margin:10px 0 13px;padding-left:20px;color:#64736b;font-size:8px;line-height:1.8}.genre-module-settings{padding:15px;border:1px solid #dce5de;border-radius:11px;background:#fafbf9}.genre-module-settings>header{display:flex;justify-content:space-between;gap:12px}.genre-module-settings header b,.genre-module-settings header span{display:block}.genre-module-settings header b{font-size:11px}.genre-module-settings header span{margin-top:3px;color:#839088;font-size:8px}.genre-module-settings header em{color:var(--jade);font-size:8px;font-style:normal}.genre-module-settings article{margin-top:12px;padding:13px;border-radius:10px;background:#fff}.genre-module-settings article>div b,.genre-module-settings article>div small{display:block}.genre-module-settings article>div small{margin:3px 0 9px;color:#8d9891;font-size:7px}.genre-module-settings textarea{min-height:70px;resize:vertical}.genre-module-settings article>button{margin-top:8px}.novel-head-actions{display:flex;gap:8px}.novel-head-actions button{border:0;border-radius:9px;color:#fff;background:var(--jade)}.novel-global-model-link,.novel-head-actions button{min-height:36px;padding:0 13px;display:flex;align-items:center;gap:6px;font-size:9px}.novel-global-model-link{border:1px solid #c9d9ce;border-radius:9px;color:var(--jade);background:#fff;text-decoration:none}.reader-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgba(20,29,24,.62);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.reader-console{width:min(880px,95vw);max-height:94vh;overflow:auto;padding:20px;border-radius:18px;background:#eef2ee;box-shadow:0 24px 80px rgba(0,0,0,.3)}.reader-console>header{display:flex;justify-content:space-between;align-items:center}.reader-console>header b,.reader-console>header span{display:block}.reader-console>header b{font-size:14px}.reader-console>header span{margin-top:4px;color:#7f8c84;font-size:8px}.reader-console>header button{border:0;background:transparent;color:#657269}.reader-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:14px 0}.reader-controls select{min-height:32px;min-width:220px}.reader-controls button,.reader-controls select{border:1px solid #d5ddd7;border-radius:8px;background:#fff;font-size:8px}.reader-controls button{min-height:30px;padding:0 10px}.reader-controls button.active{color:#fff;background:var(--jade)}.reader-controls label{display:flex;align-items:center;gap:4px;color:#6d7971;font-size:8px}.phone-reader{position:relative;width:min(390px,82vw);height:min(720px,70vh);margin:auto;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;border:9px solid #18221c;border-radius:38px;box-shadow:0 15px 45px rgba(0,0,0,.24);transition:.2s}.phone-reader.paper{color:#332f29;background:#f6f0e4}.phone-reader.green{color:#25372d;background:#dfeadd}.phone-reader.night{color:#c9cec9;background:#161b18}.phone-speaker{position:absolute;z-index:2;top:8px;left:50%;width:74px;height:18px;transform:translateX(-50%);border-radius:12px;background:#18221c}.phone-status{display:flex;justify-content:space-between;padding:11px 20px 5px;font-size:8px}.phone-reader article{overflow:auto;padding:28px 27px 40px;font-family:var(--font-serif),serif}.phone-reader article>small{color:#8b7660;font:8px sans-serif}.phone-reader article h1{margin:10px 0 25px;font-size:1.35em}.phone-reader article p{margin:0 0 1.05em;text-align:justify;text-indent:2em}.phone-reader footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 18px 18px;background:inherit;font-size:8px}.phone-reader footer button{border:0;background:transparent;color:inherit}.phone-reader footer button:last-child{text-align:right}.reader-empty{height:100%;display:grid;place-items:center;align-content:center;grid-gap:9px;gap:9px;text-align:center}.reader-empty span{font:8px sans-serif;opacity:.7}.reader-backdrop{box-sizing:border-box}.reader-backdrop .reader-console{box-sizing:border-box;width:min(880px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:min(860px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.reader-backdrop .reader-console>header{flex-shrink:0;gap:12px}.reader-backdrop .reader-console>header>div{min-width:0}.reader-backdrop .reader-console>header b{font-size:18px}.reader-backdrop .reader-console>header span{font-size:14px;line-height:1.5}.reader-backdrop .reader-console :is(button,select){min-height:44px;min-width:44px;box-sizing:border-box;font-size:14px;line-height:1.5}.reader-backdrop .reader-console>header>button{flex-shrink:0;padding:8px}.reader-backdrop .reader-controls{flex-shrink:0;min-height:44px;max-height:min(220px,32dvh);overflow:auto;overscroll-behavior:contain;padding:2px}.reader-backdrop .reader-controls select{min-width:min(220px,100%);max-width:100%}.reader-backdrop .reader-controls label{font-size:14px;line-height:1.5;min-width:0}.reader-backdrop .reader-controls input{min-width:0;max-width:100%}.reader-backdrop .phone-reader{flex:1 1 auto;min-height:0;height:auto;max-height:none;width:min(390px,100%);box-sizing:border-box;margin:0 auto;grid-template-rows:auto minmax(0,1fr) auto}.reader-backdrop .phone-status{font-size:14px}.reader-backdrop .phone-reader article{min-height:0;overscroll-behavior:contain}.reader-backdrop .phone-reader article>small{font-size:14px}.reader-backdrop .phone-reader footer{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);font-size:14px;padding:8px 12px 12px}.reader-backdrop .reader-empty span{font-size:14px}@media (max-width:700px){.reader-backdrop{padding:12px}.reader-backdrop .reader-console{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:12px}.reader-backdrop .reader-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:10px 0}.reader-backdrop .reader-controls select{grid-column:1/-1;width:100%;font-size:16px}.reader-backdrop .reader-controls label{grid-column:1/-1}.reader-backdrop .reader-controls label input{flex:1 1}.reader-backdrop .phone-reader article{padding:20px 16px}}.overview-stats{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.overview-stats article{padding:18px;border:1px solid #dfe6df;border-radius:13px;background:#fff;box-shadow:0 8px 25px rgba(30,61,45,.04)}.overview-stats b{display:block;color:var(--jade);font:600 25px var(--font-serif),serif}.overview-stats span{color:#839087;font-size:8px}.module-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px}.module-grid button{min-height:82px;padding:16px;display:grid;grid-template-columns:auto 1fr auto auto;grid-gap:12px;gap:12px;align-items:center;border:1px solid #dfe6df;border-radius:13px;color:var(--jade);text-align:left;background:#fff}.module-grid button:hover{border-color:#aac6b7;transform:translateY(-1px)}.module-grid b,.module-grid small{display:block}.module-grid b{color:#34453b;font-size:11px}.module-grid small{margin-top:5px;color:#8a968f;font-size:8px}.module-grid em{min-width:26px;padding:4px 7px;border-radius:10px;color:var(--jade);text-align:center;background:var(--jade-soft);font-size:8px;font-style:normal}.journey-card{margin-top:16px;padding:18px;border:1px solid #e0e6df;border-radius:13px;background:#fff}.journey-card>p{margin:0 0 14px;font-size:10px;font-weight:700}.journey-card>div{display:flex;align-items:center;justify-content:space-between}.journey-card span{display:flex;align-items:center;gap:6px;color:#6f7d75;font-size:8px}.journey-card span:not(:last-child):after{content:"→";margin-left:18px;color:#b2bcb6}.journey-card b{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--jade);font-size:7px}.asset-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.asset-grid article{min-height:120px;padding:16px;display:flex;gap:12px;border:1px solid #dfe6df;border-radius:13px;background:#fff}.asset-grid article>span{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;border-radius:11px;color:var(--jade);background:var(--jade-soft);font:16px var(--font-serif),serif}.asset-grid b,.asset-grid small{display:block}.asset-grid b{font-size:10px}.asset-grid small{margin-top:5px;color:#8e9992;font-size:8px}.asset-grid p{color:#78867e;font-size:8px}.module-empty{min-height:190px;display:grid;grid-column:1/-1;place-content:center;justify-items:center;grid-gap:8px;gap:8px;color:#98a39c;text-align:center}.module-empty b{color:#56645c;font-size:11px}.module-empty span{font-size:8px}.run-center-layout{min-height:calc(100vh - 170px);display:grid;grid-template-columns:300px 1fr;overflow:hidden;border:1px solid #dfe6df;border-radius:14px;background:#fff}.run-list{padding:10px;border-right:1px solid #e2e7e2;background:#fafbf9}.run-list>button{width:100%;min-height:58px;padding:11px;display:flex;justify-content:space-between;align-items:center;border:0;border-radius:9px;text-align:left;background:transparent}.run-list>button.active,.run-list>button:hover{background:var(--jade-soft)}.run-list b,.run-list small{display:block}.run-list b{font-size:9px}.run-list small{margin-top:4px;color:#8b9790;font-size:7px}.run-list em{color:var(--jade);font-size:7px;font-style:normal}.run-detail{padding:20px}.run-detail>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #e5e9e5}.run-detail header b,.run-detail header small{display:block}.run-detail header b{font-size:13px}.run-detail header small{margin-top:4px;color:#939d97;font-size:8px}.run-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.run-actions button:disabled{cursor:wait;opacity:.55}.run-step-list article{min-height:48px;display:grid;grid-template-columns:auto 1fr auto auto;grid-gap:10px;gap:10px;align-items:center;border-bottom:1px solid #edf0ed}.run-step-list i{width:8px;height:8px;border-radius:50%;background:#aab3ae}.run-step-list i.succeeded{background:#4f9b72}.run-step-list i.running{background:#c18a3e}.run-step-list i.skipped{background:#6f8fb5}.run-step-list b,.run-step-list small{display:block}.run-step-list b{font-size:9px}.run-step-list small{margin-top:3px;color:#96a099;font-size:7px}.run-step-list em{font-size:7px;font-style:normal;color:#7c8981}.run-step-list article>button{padding:6px 8px;border:0;border-radius:6px;color:#fff;background:#9a713d;font-size:7px}.artifact-count{color:#809087;font-size:8px}.version-center{display:grid;grid-gap:10px;gap:10px}.version-center article{padding:16px;display:grid;grid-template-columns:auto 180px 1fr auto;grid-gap:15px;gap:15px;align-items:center;border:1px solid #e3d6bf;border-radius:12px;background:#fffdf8}.changeset-toolbar{padding:11px 14px;display:flex;align-items:center;justify-content:space-between;border:1px solid #c8d9cf;border-radius:10px;color:var(--jade);background:var(--jade-soft);font-size:9px}.changeset-toolbar button{min-height:32px;padding:0 11px;border:0;border-radius:7px;color:#fff;background:var(--jade);font-size:8px}.changeset-toolbar button:disabled{opacity:.45}.version-center b,.version-center small{display:block}.version-center b{font-size:10px}.version-center small{margin-top:4px;color:#907b59;font-size:7px}.version-center p{color:#69766e;font-size:8px;line-height:1.6}.settings-card{max-width:680px;padding:24px;border:1px solid #dfe6df;border-radius:14px;background:#fff}.settings-card label{display:block;margin-bottom:17px}.settings-card label>span{display:block;margin-bottom:7px;color:#59685f;font-size:9px;font-weight:700}.settings-card input{width:100%;height:42px;padding:0 11px;border:1px solid #dce3dc;border-radius:9px;outline:0;background:#fafbf9;font-size:10px}.settings-card>div{display:flex;gap:8px}.settings-card button.danger-soft{color:#a6534b;background:#f6e9e7}.settings-card>p{color:var(--jade);font-size:8px}.project-filters{display:flex;gap:7px;margin:-6px 0 14px}.project-filters button{padding:7px 11px;border:1px solid #dce3dc;border-radius:16px;color:#78867e;background:#fff;font-size:9px}.project-filters button.active{color:#fff;border-color:var(--jade);background:var(--jade)}.project-title{position:relative}.project-menu-button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;color:#7c8981;background:transparent}.project-menu-button:hover{background:#eef2ee}.project-menu{position:absolute;z-index:8;right:0;top:31px;width:112px;padding:5px;border:1px solid #dce3dc;border-radius:9px;background:#fff;box-shadow:0 12px 35px rgba(25,49,37,.14)}.project-menu button{width:100%;padding:8px;border:0;border-radius:6px;text-align:left;color:#59675f;background:transparent;font-size:8px}.project-menu button:hover{background:#f1f4f1}.project-menu button.danger{color:#ad5148}.session-revoke{margin-left:auto;padding:6px 9px;border:0;border-radius:7px;color:#a65049;background:#f7e9e7;font-size:8px}.impact-console{margin-bottom:18px;padding:17px;border:1px solid #dce4dd;border-radius:13px;background:#fff}.impact-console>div:first-child{display:flex;align-items:center;gap:9px;color:var(--jade)}.impact-console b,.impact-console small{display:block}.impact-console b{font-size:10px}.impact-console small{margin-top:3px;color:#89958e;font-size:8px}.impact-console form{display:flex;gap:8px;margin-top:13px}.impact-console input{flex:1 1;height:38px;padding:0 11px;border:1px solid #dce3dc;border-radius:8px;outline:0;font-size:9px}.impact-console form button{padding:0 14px;border:0;border-radius:8px;color:#fff;background:var(--jade);font-size:8px}.impact-result{margin-top:13px;padding:12px;border-radius:9px;background:#eef5f1}.impact-result.medium{background:#f8f2e6}.impact-result.high{background:#f8eae8}.impact-result article{display:grid;grid-template-columns:160px 90px 1fr;grid-gap:9px;gap:9px;padding:9px 0;border-top:1px solid rgba(80,100,88,.12)}.impact-result article span{font-size:8px;font-weight:700}.impact-result article small{color:#87938c}.impact-result article p{margin:0;color:#68766e;font-size:8px}.history-center{margin-top:22px}.history-center h2{font:600 18px var(--font-serif),serif}.history-center article{min-height:62px;padding:11px 14px;display:grid;grid-template-columns:190px 1fr auto;align-items:center;grid-gap:12px;gap:12px;border-top:1px solid #e2e7e2;background:#fff}.history-center article:first-of-type{border-radius:10px 10px 0 0}.history-center b,.history-center small{display:block}.history-center b{font-size:9px}.history-center small{margin-top:4px;color:#8d9992;font-size:7px}.history-center p{color:#68766e;font-size:8px}.history-center button{padding:7px 9px;display:flex;align-items:center;gap:5px;border:0;border-radius:7px;color:#8b6135;background:#f5ecdd;font-size:8px}.video-job{border-top:1px solid #e5e9e5}.video-job>article{border-top:0!important}.video-job>button{width:100%;min-height:34px;margin:3px 0;padding:0 8px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:7px;gap:7px;border:1px solid #e0e5e0;border-radius:7px;color:#68766e;text-align:left;background:#fff;font-size:8px}.video-job>button small{color:#8c9790}.video-job>button.selected-take{color:var(--jade);border-color:#a9c7b7;background:var(--jade-soft)}.take-review{margin:6px 0;padding:8px;border:1px solid #e0e5e0;border-radius:9px;background:#fff}.take-review.selected-take{border-color:#a9c7b7;background:var(--jade-soft)}.take-select{width:100%;min-height:28px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:7px;gap:7px;padding:0;border:0;color:#68766e;text-align:left;background:transparent;font-size:8px}.reviewed-at,.take-select small{color:#768b7f}.rewrite-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgba(18,28,22,.48);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.rewrite-workbench{width:min(920px,96vw);max-height:92vh;overflow:auto;padding:22px;border-radius:18px;background:#fbfaf6;box-shadow:0 28px 90px #101a144f}.rewrite-original,.rewrite-workbench>header{display:flex;align-items:center;justify-content:space-between}.rewrite-workbench header p{margin:0;color:#9a713d;font-size:8px;letter-spacing:.16em}.rewrite-workbench header h2{margin:4px 0 16px;font-family:var(--font-serif),serif}.rewrite-workbench header>button{width:30px;height:30px;border:0;border-radius:8px}.rewrite-toolbar{display:grid;grid-template-columns:1.1fr .8fr 2fr auto;grid-gap:7px;gap:7px}.rewrite-candidates button,.rewrite-toolbar button,.rewrite-toolbar input,.rewrite-toolbar select{min-height:34px;padding:0 9px;border:1px solid #dbe2da;border-radius:7px;background:#fff;font-size:9px}.rewrite-candidates button,.rewrite-toolbar button{border:0;color:#fff;background:var(--jade)}.rewrite-source{display:block;margin-top:14px;color:#68776e;font-size:9px}.rewrite-source textarea{box-sizing:border-box;width:100%;min-height:220px;margin-top:6px;padding:16px;border:1px solid #dce2db;border-radius:10px;line-height:1.8;resize:vertical;background:#fff}.selected-fragment{margin-top:8px;padding:9px;border-radius:7px;color:#6d5740;background:#f4eadb;font-size:8px}.rewrite-candidates{margin-top:14px;display:grid;grid-gap:9px;gap:9px}.rewrite-original{padding:10px;border-radius:8px;background:#f4eeee;font-size:9px}.rewrite-original button{background:#8b716d}.rewrite-candidates article{padding:12px;border:1px solid #dfe5de;border-radius:10px;background:#fff}.rewrite-candidates article ins,.rewrite-candidates article small{display:block}.rewrite-candidates article small{color:#8b7659}.rewrite-candidates article ins{margin:8px 0 10px;color:#294c3a;line-height:1.7;text-decoration:none}.rewrite-empty{padding:50px;text-align:center;color:#7d8982}.novel-chapter>button,.novel-tree-add,.novel-volume>button{margin:5px 0;padding:6px 8px;border:0;border-radius:6px;color:var(--jade);background:var(--jade-soft);font-size:7px}.novel-tree-add{display:flex;align-items:center;gap:4px}.novel-volume{margin-top:8px;padding-bottom:6px;border-bottom:1px solid #e4e9e4}.novel-chapter{padding-left:12px}.novel-scene{display:block;padding:3px 0 3px 12px;color:#86928b;font-size:7px}.chapter-open{width:100%;cursor:pointer}.chapter-editor{display:grid;grid-gap:10px;gap:10px;margin-bottom:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.chapter-editor>header{display:flex;align-items:center;justify-content:space-between}.chapter-editor>input,.chapter-editor>textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:10px;background:var(--surface-soft);color:inherit}.chapter-editor>textarea{min-height:260px;resize:vertical;line-height:1.8}.save-state{font-size:11px;color:var(--jade)}.draft-conflict,.draft-recovery{padding:10px;border-radius:9px;background:#fff6dd;color:#72551c}.draft-conflict button,.draft-recovery button{margin:6px 6px 0 0}.chapter-comments{display:grid;grid-gap:12px;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafcf9}.chapter-comments h4{margin:0 0 4px;font-size:15px}.chapter-comments>header small{display:block;color:#6f7d75;font-size:12px;line-height:1.65}.chapter-comments>.comment-compose{display:grid;grid-template-columns:110px 1fr auto;align-items:end;grid-gap:8px;gap:8px}.chapter-comments .comment-compose label{display:grid;grid-gap:5px;gap:5px;color:#6c7971;font-size:11px}.chapter-comments .comment-compose input{min-height:38px}.chapter-comments input{min-width:0}.chapter-comments article{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:8px;background:var(--surface-soft)}.chapter-comments article span{color:#536159;font-size:12px;line-height:1.55}.chapter-comments article span b{color:#1f382c}.novel-cover-art.has-image{padding:0;overflow:hidden;background:#e8ede8}.novel-cover-art.has-image img{width:100%;height:100%;display:block;object-fit:cover}.novel-cover-upload{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid #cbd9cf;border-radius:9px;color:var(--jade);background:#fff;font-size:13px;font-weight:600;cursor:pointer}.novel-cover-upload:hover{background:#eff6f1}.novel-cover-upload input{display:none}.cover-tip{color:#7a8780;font-size:11px;line-height:1.55;text-align:center}.writing-profile-options button{min-height:88px}@media (max-width:720px){.chapter-comments>.comment-compose{grid-template-columns:92px 1fr}.chapter-comments>.comment-compose button{grid-column:1/-1;min-height:40px}}.novel-grid{grid-template-columns:270px minmax(480px,1fr) 230px}.novel-tree{display:flex;flex-direction:column;padding:15px;overflow:hidden}.novel-tree-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.novel-tree-head p{margin:0 0 3px;color:#9a713d;font-size:10px;letter-spacing:.12em}.novel-tree-head h3{margin:0;font-size:17px}.novel-tree-head .novel-tree-add{width:32px;height:32px;margin:0;padding:0;display:grid;place-items:center;border:1px solid #cfddd3;border-radius:8px;background:#f3f8f4}.novel-tree-search{margin:13px 0 9px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dde5df;border-radius:9px;background:#f8faf8;color:#87938c}.novel-tree-search input{width:100%;min-width:0;height:36px;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:12px}.novel-tree-scroll{min-height:140px;flex:1 1;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#ccd7cf transparent}.novel-volume{margin:0;padding:3px 0;border-bottom:0}.volume-tree-row{display:flex;align-items:center;gap:3px;border-radius:8px}.volume-tree-row:hover{background:#f5f8f5}.tree-toggle{min-width:0;flex:1 1;min-height:38px;display:flex;align-items:center;gap:7px;padding:6px 5px;border:0;color:#345143;background:transparent;text-align:left}.tree-toggle>svg:first-child{flex:0 0 auto;transition:transform .16s ease}.tree-toggle[aria-expanded=true]>svg:first-child{transform:rotate(90deg)}.tree-toggle>span{min-width:0;flex:1 1;display:flex;align-items:center;justify-content:space-between;gap:6px}.tree-toggle b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.tree-toggle small{flex:0 0 auto;color:#89958e;font-size:10px}.volume-children{margin:1px 0 4px 12px;padding-left:10px;border-left:1px solid #dce5de}.novel-chapter{padding:0}.chapter-tree-row{min-height:34px;gap:2px;border-radius:7px}.chapter-tree-row:hover{background:#f7f9f7}.scene-toggle,.scene-toggle-spacer{width:22px;height:28px;flex:0 0 22px}.scene-toggle{display:grid;place-items:center;padding:0;border:0;color:#85928a;background:transparent}.scene-toggle svg{transition:transform .16s ease}.scene-toggle.open svg{transform:rotate(90deg)}.chapter-open{min-width:0;width:auto;flex:1 1;margin:0;padding:7px 6px;border:0;border-radius:6px}.chapter-open span{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.chapter-open em{font-size:9px}.chapter-open.active{border-left:0;box-shadow:inset 3px 0 var(--jade)}.chapter-tree-row .structure-delete,.volume-tree-row .structure-delete{opacity:0}.chapter-tree-row:hover .structure-delete,.volume-tree-row:hover .structure-delete{opacity:1}.chapter-scenes{margin:0 0 5px 27px;padding-left:9px;border-left:1px dashed #d7dfd9}.novel-scene-row{min-height:29px;padding-left:5px;border-radius:6px}.novel-scene-row:hover{background:#f8faf8}.novel-scene{min-width:0;overflow:hidden;padding:5px 0;color:#718078;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.tree-inline-add{margin:3px 0 5px!important;padding:5px 7px!important;display:flex;align-items:center;gap:4px;border:0!important;border-radius:6px!important;color:#668071!important;background:transparent!important;font-size:10px!important}.tree-inline-add:hover{color:var(--jade)!important;background:#eff6f1!important}.tree-inline-add.add-chapter{margin-left:23px!important}.tree-empty{padding:30px 12px;color:#87938c;font-size:12px;text-align:center}.novel-tree .truth-note{margin-top:12px}.novel-tree .novel-section-menu{flex:0 0 auto}@media (max-width:1100px){.novel-grid{grid-template-columns:250px minmax(420px,1fr)}}@media (max-width:900px){.novel-grid{grid-template-columns:1fr}.novel-tree{max-height:520px}}.semantic-context-panel{display:grid;grid-gap:9px;gap:9px;margin-bottom:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.semantic-context-panel header,.semantic-context-panel header span{display:flex;align-items:center;justify-content:space-between;gap:8px}.semantic-context-panel header span{align-items:flex-start;flex-direction:column}.semantic-context-panel>div{display:grid;grid-template-columns:1fr auto;grid-gap:7px;gap:7px}.semantic-context-panel article{display:grid;grid-gap:4px;gap:4px;padding:9px;border-radius:9px;background:var(--surface-soft)}.semantic-context-panel article span{font-size:11px;line-height:1.5}@media (max-width:700px){.rewrite-toolbar{grid-template-columns:1fr 1fr}}.take-rating{margin:5px 0;display:flex;align-items:center;gap:2px}.take-rating button{padding:0 1px;border:0;color:#ccd2cc;background:transparent}.take-rating button.active{color:#c68b36}.take-rating span{margin-left:5px;color:#87938c;font-size:7px}.take-regenerate input,.take-review textarea{box-sizing:border-box;width:100%;padding:7px;border:1px solid #dce3dc;border-radius:6px;outline:0;background:#fff;font-size:8px}.take-review textarea{min-height:52px;resize:vertical}.take-regenerate button,.take-review .save-review{padding:6px 8px;border:0;border-radius:6px;color:#fff;background:var(--jade);font-size:7px}.take-review .save-review{margin:5px 0 8px}.take-regenerate{display:grid;grid-template-columns:1fr auto;grid-gap:5px;gap:5px}.take-regenerate button{background:#9a713d}.reviewed-at{display:block;margin-top:5px;font-size:7px}@media (max-width:900px){.asset-grid,.module-grid,.overview-stats{grid-template-columns:1fr 1fr}.run-center-layout{grid-template-columns:230px 1fr}.journey-card span:not(:last-child):after{display:none}}.workspace-main{min-width:0;display:grid;grid-template-columns:270px minmax(420px,1fr) 230px;min-height:calc(100vh - 62px)}.entity-browser{border-right:1px solid #dde4dd;background:#f8f9f6}.entity-browser>header{padding:25px 20px 18px}.coming-workspace p,.context-panel>p,.entity-browser header p,.entity-editor header p{margin:0 0 6px;color:var(--jade);font-size:7px;font-weight:700;letter-spacing:.16em}.entity-browser header h1{margin:0 0 7px;font:600 23px var(--font-serif),serif}.entity-browser header>span{color:#8b9690;font-size:8px;line-height:1.5}.entity-types{padding:0 12px 13px;display:flex;flex-wrap:wrap;gap:5px}.entity-types button{height:29px;padding:0 8px;display:flex;align-items:center;gap:4px;border:1px solid #e0e5df;border-radius:8px;color:#7a8780;background:#fff;font-size:8px}.entity-types button.active{color:var(--jade);border-color:#a8c4b6;background:var(--jade-soft)}.entity-types button b{font-size:7px}.entity-list{border-top:1px solid #e4e8e3}.entity-list>button{width:100%;min-height:62px;padding:9px 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:9px;gap:9px;border:0;border-bottom:1px solid #e8ece7;text-align:left;background:transparent}.entity-list>button.active,.entity-list>button:hover{background:#fff}.entity-list>button.active{box-shadow:inset 3px 0 var(--jade)}.entity-list>button>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:var(--jade);background:#dfece5;font:13px var(--font-serif),serif}.entity-list b,.entity-list small{display:block}.entity-list b{margin-bottom:4px;font-size:10px}.entity-list small{max-width:150px;overflow:hidden;color:#929c96;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.new-entity{margin:14px;width:calc(100% - 28px);height:36px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px dashed #9db9aa;border-radius:9px;color:var(--jade);background:#f1f6f3;font-size:9px}.entity-editor{min-width:0;background:#fff}.entity-editor>header{height:89px;padding:20px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4e9e3}.entity-editor header h2{margin:0;font:600 24px var(--font-serif),serif}.entity-editor header button{padding:8px 12px;border:1px solid #d9e0da;border-radius:8px;color:var(--jade);background:#fff;font-size:9px}.editor-form{padding:26px 30px 18px}.editor-form label{display:block;margin-bottom:18px}.editor-form label span{display:block;margin-bottom:7px;color:#637168;font-size:9px;font-weight:650}.editor-form input,.editor-form textarea{width:100%;padding:11px 12px;border:1px solid #dfe5df;border-radius:9px;outline:0;background:#fafbf9}.editor-form input{height:43px;font:600 14px var(--font-serif),serif}.editor-form textarea{min-height:150px;resize:vertical;font-size:11px;line-height:1.8}.editor-form input:disabled,.editor-form textarea:disabled{color:#35443b;border-color:transparent;background:#f7f8f5}.save-candidate{height:38px;padding:0 14px;border:0;border-radius:9px;color:#fff;background:var(--jade);font-size:9px}.editor-message,.save-candidate{display:flex;align-items:center;gap:6px}.editor-message{margin:0 30px 18px;padding:10px;border-radius:8px;color:var(--jade);background:var(--jade-soft);font-size:8px}.version-panel{border-top:1px solid #e4e8e3;padding:21px 30px 30px}.version-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.version-title>div{display:flex;gap:9px;align-items:center}.version-title span b,.version-title span small{display:block}.version-title span b{font-size:11px}.version-title span small{margin-top:3px;color:#949e98;font-size:8px}.version-title em{padding:4px 7px;border-radius:10px;color:#9a6d32;background:#f6eddc;font-size:8px;font-style:normal}.candidate-card{padding:14px;margin-bottom:10px;border:1px solid #e3d4b9;border-radius:10px;background:#fdfaf4}.candidate-card>div{display:flex;justify-content:space-between}.candidate-card>div span{color:#8c6838;font-size:9px;font-weight:700}.candidate-card small{color:#9c958b;font-size:7px}.candidate-card p{font-size:9px;line-height:1.7;color:#657168}.candidate-card button{padding:7px 9px;gap:4px;border:0;border-radius:7px;color:#fff;background:#936f3f}.candidate-card button,.history-list>div{display:flex;align-items:center;font-size:8px}.history-list>div{height:35px;gap:7px;border-bottom:1px solid #edf0ec;color:#77837c}.history-list small{margin-left:auto;color:#a0a8a3}.empty-editor{height:100%;display:grid;place-content:center;justify-items:center;color:#9ba59f}.empty-editor h2{color:#526159;font:500 18px var(--font-serif),serif;margin:16px 0 7px}.empty-editor p{font-size:9px}.context-panel{padding:27px 20px;border-left:1px solid #dde4dd;background:#f7f8f5}.context-panel h3{margin:0 0 13px;font:600 17px var(--font-serif),serif}.context-panel>div{display:flex;flex-wrap:wrap;gap:5px}.context-panel>div span{padding:4px 7px;border-radius:10px;color:#64736b;background:#e8ece8;font-size:7px}.context-panel section{margin-top:30px;padding-top:18px;border-top:1px solid #e0e5df}.context-panel section>b{font-size:9px}.context-panel section p{margin:12px 0;color:#78867e;font-size:8px}.context-panel section i{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#55a077}.context-panel .truth-panel{margin-top:18px;padding-top:14px}.truth-toggle{width:100%;min-height:34px;display:flex;align-items:center;gap:7px;border:0;border-radius:9px;padding:0 9px;background:#e8efe9;color:#315f49;font-size:8px}.truth-toggle b{margin-left:auto}.truth-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:5px;gap:5px;margin:10px 0 7px}.truth-form button,.truth-tabs button{min-height:30px;border:1px solid #d8e0da;border-radius:7px;background:#fff;color:#64736b;font-size:7px}.truth-form>button,.truth-tabs button.active{background:var(--jade);color:#fff;border-color:var(--jade)}.truth-panel input,.truth-panel select,.truth-panel textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:8px;border:1px solid #dce3dd;border-radius:7px;background:#fff;color:var(--ink);font-size:8px}.truth-panel textarea{min-height:58px;resize:vertical}.truth-form>button{width:100%;margin-top:7px}.truth-form>button:disabled{opacity:.45}.truth-list{display:grid;grid-gap:6px;gap:6px;margin-top:10px;max-height:210px;overflow:auto}.truth-list article{padding:8px;border-radius:8px;background:#fff;border:1px solid #e2e7e2}.truth-list b,.truth-list small,.truth-list span{display:block}.truth-list b{font-size:8px}.truth-list span{margin:4px 0;color:#64736b;font-size:7px;line-height:1.5}.truth-list small{color:#93a098;font-size:6px}.context-panel .truth-message{margin:8px 0 0;color:#2f7654}.coming-workspace{grid-column:1/-1;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at center,#fff,#edf1ec)}.coming-workspace>div>span{width:74px;height:74px;margin:auto;display:grid;place-items:center;border-radius:22px;color:var(--jade);background:var(--jade-soft)}.coming-workspace h1{margin:13px 0 9px;font:600 28px var(--font-serif),serif}.coming-workspace small{color:#87938c;font-size:9px}.novel-studio{grid-column:1/-1;min-width:0;padding:28px;overflow:auto;background:radial-gradient(circle at 80% 0,#edf4ef,transparent 32%),#f5f7f3}.novel-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}.novel-head p,.novel-tree>p,.run-history>p{margin:0 0 6px;color:var(--jade);font-size:7px;font-weight:700;letter-spacing:.17em}.novel-head h1{margin:0 0 6px;font:600 28px var(--font-serif),serif}.novel-head span{color:#7f8d85;font-size:12px}.novel-head button{height:38px;padding:0 13px;display:flex;align-items:center;gap:6px;border:1px solid #d8e1da;border-radius:10px;background:#fff;color:var(--jade);font-size:9px}.model-console{margin-bottom:18px;padding:18px;border:1px solid #d8e2da;border-radius:14px;background:#fff;box-shadow:var(--shadow)}.model-console>div:first-child{display:flex;align-items:center;gap:9px;color:var(--jade)}.model-console b,.model-console small{display:block}.model-console b{font-size:10px}.model-console small{margin-top:3px;color:#89958e;font-size:8px}.model-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin:14px 0}.model-fields input{height:38px;padding:0 10px;border:1px solid #dfe5df;border-radius:8px;outline:0;font-size:9px}.model-console footer{display:flex;align-items:center;gap:7px}.model-console footer button{height:31px;padding:0 10px;border:0;border-radius:7px;color:#fff;background:var(--jade);font-size:8px}.model-console footer button+button{color:var(--jade);background:var(--jade-soft)}.model-console footer span{margin-left:auto;color:#87938c;font-size:8px}.novel-grid{display:grid;grid-template-columns:210px minmax(420px,1fr) 230px;grid-gap:14px;gap:14px}.novel-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));grid-gap:10px;gap:10px;margin:-4px 0 16px}.novel-summary article{min-height:58px;padding:0 14px;display:flex;align-items:center;gap:10px;border:1px solid #dfe6df;border-radius:12px;color:#78877e;background:rgba(255,255,255,.82)}.novel-summary article b,.novel-summary article small,.novel-summary article>span{display:block}.novel-summary article b{color:var(--ink);font-size:15px}.novel-summary article small{margin-top:2px;color:#8d9992;font-size:10px}.novel-summary article.ready{color:var(--jade);border-color:#bfd5c7;background:#f3f8f4}.novel-summary article.warning{color:#a47435;border-color:#e8d8bd;background:#fffaf1}.novel-tree,.run-board,.run-history{border:1px solid #e0e6df;border-radius:14px;background:#fff}.novel-tree,.run-history{padding:19px;align-self:start;position:-webkit-sticky;position:sticky;top:0;max-height:calc(100vh - 130px);overflow:auto}.novel-tree h3,.run-history h3{margin:0 0 18px;font:600 16px var(--font-serif),serif}.tree-item{padding:11px;display:flex;gap:8px;align-items:center;border-radius:9px;background:var(--jade-soft);color:var(--jade)}.tree-item>span{min-width:0;flex:1 1}.structure-delete{flex:0 0 auto!important;margin:0!important;padding:6px!important;border:0!important;border-radius:6px!important;color:#a77a73!important;background:transparent!important}.structure-delete:hover{background:#f7eae7!important;color:#8f4f47!important}.chapter-tree-row,.novel-scene-row{display:flex;align-items:center;gap:3px}.chapter-tree-row .chapter-open,.novel-scene-row .novel-scene{flex:1 1}.novel-scene-row .structure-delete{opacity:0}.novel-scene-row:hover .structure-delete{opacity:1}.tree-item b,.tree-item small{display:block}.tree-item b{font-size:11px}.tree-item small{margin-top:3px;font-size:9px;color:#759080}.tree-child{margin:8px 0 0 17px;padding:9px;border-left:1px solid #cbd8cf;color:#65736b;font-size:10px}.chapter-open{width:calc(100% - 17px);display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:0;border-right:0;border-bottom:0;background:transparent;text-align:left}.chapter-open em{padding:3px 5px;border-radius:6px;color:#78867e;background:#edf1ed;font-size:8px;font-style:normal}.chapter-open.active{border-left:3px solid var(--jade);color:var(--jade);background:#f1f7f3;font-weight:650}.truth-note{margin-top:30px;padding:13px;display:flex;gap:8px;border-radius:10px;color:#806944;background:#f8f2e7}.truth-note p{margin:0}.truth-note b,.truth-note span{display:block}.truth-note b{font-size:9px}.truth-note span{margin-top:4px;font-size:7px;line-height:1.5}.run-board{padding:20px}.chapter-welcome{min-height:118px;margin-bottom:16px;padding:22px;display:flex;align-items:center;gap:16px;border:1px dashed #cfdad1;border-radius:13px;color:#779083;background:linear-gradient(135deg,#fbfcfa,#f1f6f2)}.chapter-welcome b{color:#314c3e;font-family:var(--font-serif),serif;font-size:15px}.chapter-welcome p{max-width:560px;margin:6px 0 0;color:#85928b;font-size:11px;line-height:1.6}.chapter-editor>header>span:first-child b,.chapter-editor>header>span:first-child small{display:block}.chapter-editor>header>span:first-child small{color:var(--jade);font-size:8px;letter-spacing:.13em;margin-bottom:3px}.chapter-editor>header>span:first-child b{font-family:var(--font-serif),serif;font-size:15px}.chapter-editor>input{font:600 18px var(--font-serif),serif;background:#fff}.chapter-editor>textarea{min-height:420px;padding:20px 24px;border-color:#e1e5df;background:#fff;font:14px/2 var(--font-serif),serif;box-shadow:inset 0 1px 2px rgba(30,50,40,.02)}.instruction-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}.instruction-title>span{display:flex;align-items:center;gap:7px;color:var(--jade)}.instruction-title b{font-size:13px}.instruction-title small{color:#8b9790;font-size:9px}.instruction-card label{display:block;margin-bottom:7px;color:#58675e;font-size:11px;font-weight:700}.instruction-card textarea{width:100%;min-height:76px;padding:11px;border:1px solid #dce3dc;border-radius:9px;resize:vertical;outline:0;font:12px/1.65 inherit}.instruction-card button{margin-top:8px;height:35px;padding:0 12px;display:flex;align-items:center;gap:6px;border:0;border-radius:8px;color:#fff;background:var(--jade);font-size:9px}.run-notice{margin:12px 0;padding:9px;border-radius:8px;color:var(--jade);background:var(--jade-soft);font-size:8px}.pipeline-head{margin:20px 0 10px;padding-top:16px;border-top:1px solid #e8ece7;display:flex;justify-content:space-between}.pipeline-head span{display:flex;align-items:center;gap:7px;font-size:10px}.pipeline-head em{font-size:8px;font-style:normal;color:#7d8982}.agent-pipeline{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px}.agent-pipeline article{min-height:58px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;grid-gap:8px;gap:8px;align-items:center;border:1px solid #e4e9e4;border-radius:9px}.agent-pipeline article>span{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;color:#86928b;background:#f0f2ef}.agent-pipeline article>span svg{width:14px}.agent-pipeline b,.agent-pipeline small{display:block}.agent-pipeline b{font-size:11px}.agent-pipeline small{margin-top:3px;color:#939d97;font-size:9px}.agent-pipeline em{font-size:9px;font-style:normal;color:#8c9790}.agent-pipeline article.succeeded{border-color:#b9d4c5}.agent-pipeline article.succeeded>span{color:var(--jade);background:var(--jade-soft)}.chapter-approval-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:18px 20px;border:1px solid #d6b878;border-radius:14px;background:linear-gradient(135deg,#fffaf0,#fff)}.chapter-approval-card>div:first-child{display:grid;grid-gap:5px;gap:5px}.chapter-approval-card span{color:#9a713d;font-size:10px;font-weight:700;letter-spacing:.14em}.chapter-approval-card b{font-size:16px}.chapter-approval-card small{max-width:620px;color:#68736c;line-height:1.6}.chapter-approval-card>div:last-child{display:flex;gap:8px;flex-shrink:0}.chapter-approval-card button{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #d7ded8;border-radius:9px;background:#fff}.chapter-approval-card button:last-child{border-color:var(--jade);color:#fff;background:var(--jade)}@media(max-width:760px){.chapter-approval-card{align-items:stretch;flex-direction:column}.chapter-approval-card>div:last-child{flex-wrap:wrap}}.run-history article{padding:11px 0;border-top:1px solid #e9ede8}.run-history article>span{float:right;padding:3px 5px;border-radius:7px;color:var(--jade);background:var(--jade-soft);font-size:6px}.run-history article b,.run-history article small{display:block}.run-history article b{font-size:10px}.run-history article div,.run-history article small{margin-top:5px;color:#929c96;font-size:9px}.semantic-context-panel header b{font-size:12px}.semantic-context-panel footer,.semantic-context-panel header small,.semantic-context-panel>small{color:#87938c;font-size:9px}.semantic-context-panel button,.semantic-context-panel input{min-height:34px;border:1px solid #dce3dc;border-radius:8px;padding:0 10px;background:#fff;font-size:10px}.semantic-context-panel button{color:var(--jade);background:var(--jade-soft);border:0}@media (max-width:1250px){.novel-grid{grid-template-columns:200px minmax(420px,1fr)}.run-history{position:static;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;max-height:none}.run-history>h3,.run-history>p{grid-column:1/-1}}@media (max-width:900px){.novel-studio{padding:18px}.novel-head{align-items:flex-start;gap:14px}.novel-head-actions{flex-wrap:wrap;justify-content:flex-end}.novel-summary{grid-template-columns:repeat(2,1fr)}.novel-grid{grid-template-columns:1fr}.novel-tree,.run-history{position:static;max-height:none}.agent-pipeline{grid-template-columns:1fr}.model-fields{grid-template-columns:1fr 1fr}}.global-model-page{min-height:100vh;padding:32px clamp(20px,5vw,72px);background:#f4f6f2;color:var(--ink)}.global-model-page>header{display:flex;gap:40px;align-items:flex-start;margin-bottom:24px}.global-model-page>header a{display:flex;align-items:center;gap:6px;color:var(--jade);text-decoration:none;font-size:11px}.global-model-page header p{margin:0;color:var(--jade);font-size:9px;letter-spacing:.15em}.global-model-page header h1{margin:6px 0;font:600 28px var(--font-serif),serif}.global-model-page header span{color:#7d8982;font-size:11px}.global-model-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px}.global-model-card{padding:22px;border:1px solid #dfe5de;border-radius:16px;background:#fff}.global-model-title{display:flex;gap:10px;align-items:center;color:var(--jade);margin-bottom:18px}.global-model-title b,.global-model-title small{display:block}.global-model-title b{font-size:14px}.global-model-title small{margin-top:3px;color:#8a9690;font-size:9px}.global-model-form{display:grid;grid-gap:8px;gap:8px}.global-model-form input{min-height:38px;padding:0 11px;border:1px solid #dde4dd;border-radius:8px}.bind-defaults,.global-model-form button{min-height:38px;display:flex;justify-content:center;align-items:center;gap:6px;border:0;border-radius:8px;color:#fff;background:var(--jade)}.credential-list{margin-top:16px}.agent-default-list>div,.credential-list>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #edf0ec}.agent-default-list b,.agent-default-list small,.credential-list b,.credential-list small{display:block}.agent-default-list small,.credential-list small{margin-top:3px;color:#8c9790;font-size:9px}.credential-list button{border:0;color:#96645d;background:#f8efed;border-radius:7px;padding:7px}.credential-list p{color:#8c9790;font-size:10px}.agent-default-list em{max-width:55%;text-align:right;color:#9aa39e;font-size:9px;font-style:normal}.agent-default-list em.configured{color:var(--jade)}.bind-defaults{width:100%;margin-top:16px}.global-model-message{margin-bottom:16px;padding:11px;border-radius:9px;color:var(--jade);background:var(--jade-soft);font-size:11px}@media(max-width:900px){.global-model-grid{grid-template-columns:1fr}.global-model-page>header{display:block}.global-model-page>header a{margin-bottom:18px}}.agent-routing-section,.model-resource-section{max-width:1280px;margin:22px auto;padding:24px;border:1px solid #e0e6df;border-radius:20px;background:#fff;box-shadow:0 12px 38px rgba(15,23,42,.04)}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.section-heading>svg{padding:9px;width:40px;height:40px;border-radius:12px;background:var(--jade-soft);color:var(--jade)}.section-heading span{display:flex;flex-direction:column;gap:3px}.section-heading b{font-size:17px}.section-heading small{color:#77847d}.model-resource-form{display:grid;grid-template-columns:1fr 1.4fr 1fr 1fr auto;grid-gap:10px;gap:10px}.agent-route-grid input,.agent-route-grid select,.model-resource-form input{min-width:0;border:1px solid #dbe2dc;border-radius:10px;padding:10px 12px;background:#fafcf9}.agent-route-grid footer button,.model-resource-form button{border:0;border-radius:10px;padding:10px 14px;background:var(--jade);color:#fff;display:flex;align-items:center;justify-content:center;gap:6px}.agent-route-grid button:disabled,.model-resource-form button:disabled{opacity:.45}.model-resource-list{display:grid;grid-gap:8px;gap:8px;margin-top:16px}.model-resource-list>article{display:grid;grid-template-columns:auto minmax(220px,1fr) auto auto auto;align-items:center;grid-gap:12px;gap:12px;padding:12px 14px;border:1px solid #edf0ec;border-radius:12px}.model-resource-list span{display:flex;flex-direction:column}.model-resource-list small{color:#718078}.model-resource-list em{font-style:normal;color:#15803d;background:#f0fdf4;border-radius:999px;padding:4px 9px;font-size:12px}.model-resource-list button{border:0;background:transparent;color:#94a3b8}.agent-route-group{margin-top:24px}.agent-route-group h2{font-size:13px;letter-spacing:.08em;color:#64748b;text-transform:uppercase;margin-bottom:10px}.agent-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.agent-route-grid>article{border:1px solid #e4e9e4;border-radius:16px;padding:16px;background:#fbfcfa}.agent-route-grid article>header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.agent-route-grid header span,.agent-route-grid label{display:flex;flex-direction:column;gap:5px}.agent-route-grid header small{color:#94a3b8}.agent-route-grid header em{font-style:normal;font-size:11px;border-radius:999px;padding:4px 8px;background:#f1f5f9;color:#64748b}.agent-route-grid header em.configured{background:#ecfdf5;color:#047857}.agent-route-grid article>label{font-size:12px;color:#475569;margin-top:9px}.agent-route-grid article>div{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px;margin-top:9px}.agent-route-grid article>div label{font-size:12px;color:#475569}.agent-route-grid footer{display:flex;gap:8px;margin-top:14px}.agent-route-grid footer .route-unset{background:#fff;color:#64748b;border:1px solid #dbe2ea}@media(max-width:900px){.agent-route-grid,.model-resource-form{grid-template-columns:1fr}.model-resource-list>article{grid-template-columns:auto 1fr auto}.model-resource-list>article>small{display:none}}.agent-batch-panel{padding:18px;border:1px solid #cfe0d2;border-radius:16px;background:linear-gradient(135deg,#f4faf5,#fbfdf9)}.agent-batch-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.agent-batch-panel>header span{display:flex;flex-direction:column;gap:3px}.agent-batch-panel>header small{color:#718078}.agent-batch-panel>header div{display:flex;gap:6px}.agent-batch-panel>header button{padding:6px 10px;border:1px solid #cad8cc;border-radius:8px;background:#fff;color:var(--jade)}.agent-batch-form{display:grid;grid-template-columns:1fr 1.35fr .6fr .75fr auto;align-items:end;grid-gap:9px;gap:9px}.agent-batch-form label{display:flex;flex-direction:column;gap:5px;color:#475569;font-size:12px}.agent-batch-form input,.agent-batch-form select{min-width:0;padding:10px 12px;border:1px solid #d3ded5;border-radius:10px;background:#fff}.agent-batch-form>button{min-height:39px;padding:9px 14px;border:0;border-radius:10px;background:var(--jade);color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.agent-batch-form>button:disabled{opacity:.45}.agent-batch-targets{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-top:14px}.agent-batch-targets fieldset{display:flex;flex-wrap:wrap;gap:7px 12px;margin:0;padding:10px 12px;border:1px solid #dce6dd;border-radius:11px;background:rgba(255,255,255,.72)}.agent-batch-targets legend{padding:0 5px;color:#64748b;font-size:11px}.agent-batch-targets label{display:flex;align-items:center;gap:5px;color:#334155;font-size:12px;cursor:pointer}.agent-batch-targets input{accent-color:var(--jade)}@media(max-width:900px){.agent-batch-form{grid-template-columns:1fr 1fr}.agent-batch-form>button{grid-column:1/-1}.agent-batch-targets{grid-template-columns:1fr}}.no-runs{padding:30px 0;text-align:center;color:#a0aaa4;font-size:8px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.drama-empty{grid-column:1/-1;display:grid;place-content:center;justify-items:center;text-align:center;background:radial-gradient(circle,#fff,#edf1ec)}.drama-empty>svg{width:72px;height:72px;padding:20px;border-radius:20px;color:var(--jade);background:var(--jade-soft)}.drama-empty p,.drama-studio>header p,.split-studio header p{margin:16px 0 7px;color:var(--jade);font-size:7px;font-weight:700;letter-spacing:.17em}.drama-empty h1{margin:0 0 8px;font:600 27px var(--font-serif),serif}.drama-empty span{color:#87938c;font-size:9px}.drama-empty button{margin-top:20px;height:38px;padding:0 16px;border:0;border-radius:9px;color:#fff;background:var(--jade);font-size:9px}.drama-studio{grid-column:1/-1;min-width:0;padding:24px;background:#f4f6f2}.drama-studio>header{height:68px;display:flex;align-items:flex-start;justify-content:space-between}.drama-studio>header p{margin:0 0 5px}.drama-studio>header h1{margin:0 0 5px;font:600 23px var(--font-serif),serif}.drama-studio>header span{color:#87938c;font-size:8px}.drama-studio>header button{height:34px;padding:0 11px;display:flex;align-items:center;gap:5px;border:0;border-radius:8px;color:#fff;background:var(--jade);font-size:8px}.drama-layout{height:calc(100vh - 154px);display:grid;grid-template-columns:230px minmax(440px,1fr) 215px;border:1px solid #dfe5df;border-radius:15px;overflow:hidden;background:#fff}.drama-tree{overflow:auto;padding:18px;border-right:1px solid #e1e6e1;background:#f9faf8}.asset-drawer h3,.drama-tree h3{margin:0 0 17px;font:600 15px var(--font-serif),serif}.drama-tree section>b{display:block;margin:12px 0 8px;color:#66746c;font-size:8px}.episode-node{margin-bottom:12px;padding:10px;border-radius:9px;background:#fff;border:1px solid #e4e9e4}.episode-node>strong{display:flex;justify-content:space-between;margin-bottom:8px;font-size:9px}.episode-node strong small{color:#9aa39e;font-size:7px}.episode-node>div>span{display:flex;margin:7px 0;color:#7b8880;font-size:7px}.episode-node>div>span button{margin-left:auto;border:0;color:var(--jade);background:transparent;font-size:7px}.episode-node>div>button{width:100%;height:28px;margin:2px 0;padding:0 7px;display:flex;align-items:center;border:0;border-radius:6px;text-align:left;color:#6f7d75;background:#f4f6f3;font-size:7px}.episode-node>div>button.active{color:var(--jade);background:var(--jade-soft)}.episode-node>div>button em{margin-left:auto;font-style:normal}.episode-node .add-scene{border:1px dashed #b8c8bf;background:transparent;color:var(--jade)}.shot-editor{min-width:0;overflow:auto;padding:22px}.shot-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.shot-title b,.shot-title small{display:block}.shot-title b{font:600 19px var(--font-serif),serif}.shot-title small{margin-top:4px;color:#8d9791;font-size:8px}.shot-title em{padding:5px 8px;border-radius:8px;color:#896b3f;background:#f6eddf;font-size:8px;font-style:normal}.shot-preview{height:150px;display:grid;place-content:center;justify-items:center;grid-gap:9px;gap:9px;border-radius:12px;color:#b5c2ba;background:linear-gradient(145deg,#1f302a,#364a42)}.shot-preview svg{width:34px;height:34px}.shot-preview span{font-size:8px}.shot-editor label{display:block;margin-top:14px;color:#5f6d65;font-size:8px;font-weight:650}.shot-editor textarea{width:100%;min-height:62px;margin-top:6px;padding:9px;border:1px solid #e0e5df;border-radius:8px;resize:vertical;background:#fafbf9;font:9px/1.7 inherit}.preflight{margin-top:15px;padding:13px;border-radius:10px;background:#f7f8f5}.preflight>b{font-size:9px}.preflight p{margin:8px 0 0;font-size:8px}.preflight p.error{color:#ae4f47}.preflight p.warning{color:#9a6c2f}.preflight p.ok{color:var(--jade)}.asset-drawer{padding:18px;border-left:1px solid #e1e6e1;background:#fafbf9}.asset-drawer>div{display:flex;justify-content:space-between}.asset-drawer>div button{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:7px;color:var(--jade);background:var(--jade-soft)}.asset-drawer article{padding:9px 0;display:flex;align-items:center;gap:8px;border-top:1px solid #e8ece8}.asset-drawer article>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--jade);background:#e4eee8;font:12px var(--font-serif),serif}.asset-drawer article b,.asset-drawer article small{display:block}.asset-drawer article b{font-size:8px}.asset-drawer article small{margin-top:3px;color:#929d96;font-size:7px}.asset-drawer>p{margin-top:20px;color:#9aa49e;font-size:7px;line-height:1.6}.split-studio{grid-column:1/-1;padding:28px;background:#f5f7f3}.split-studio>header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}.split-studio header p{margin:0 0 6px}.split-studio header h1{margin:0;font:600 25px var(--font-serif),serif}.split-studio header>span{color:#87938c;font-size:8px}.split-columns{display:grid;grid-template-columns:1fr 90px 1fr;min-height:calc(100vh - 170px)}.split-columns>section{padding:20px;border:1px solid #dfe5df;border-radius:14px;background:#fff}.split-columns h3{display:flex;align-items:center;gap:7px;margin:0 0 15px;font:600 15px var(--font-serif),serif}.split-columns article{position:relative;margin-bottom:8px;padding:13px;border:1px solid #e5e9e5;border-radius:9px}.split-columns article b{font-size:9px}.split-columns article p{margin:6px 0;color:#7c8881;font-size:8px}.split-columns article small{color:var(--jade);font-size:7px}.mapping-line{display:grid;place-content:center;justify-items:center;color:#83a391}.mapping-line span{margin-top:6px;font-size:6px}.mapping-line:after,.mapping-line:before{content:"";width:1px;height:80px;background:#cbd9d0}.video-center-fab{position:fixed;z-index:30;right:24px;bottom:22px;height:40px;padding:0 14px;display:flex;align-items:center;gap:7px;border:0;border-radius:20px;color:#fff;background:linear-gradient(135deg,#8d6738,#bf9557);box-shadow:0 10px 30px rgba(95,66,29,.28);font-size:9px}.video-center{position:fixed;z-index:29;right:24px;bottom:72px;width:360px;max-height:calc(100vh - 100px);overflow:auto;border:1px solid rgba(255,255,255,.8);border-radius:17px;background:rgba(250,251,248,.97);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 24px 70px rgba(21,43,32,.24)}.video-center>header{padding:18px 19px 14px;display:flex;justify-content:space-between;border-bottom:1px solid #e2e7e1}.video-center header p{margin:0 0 5px;color:#9a713d;font-size:7px;font-weight:700;letter-spacing:.16em}.video-center header h2{margin:0;font:600 17px var(--font-serif),serif}.video-center header button{width:28px;height:28px;border:0;border-radius:8px;background:#ecefeb;color:#718078}.connector-summary{padding:13px 18px;color:var(--jade);background:var(--jade-soft)}.connector-summary b,.connector-summary span{display:block}.connector-version-center{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px}.connector-version-center>article,.connector-version-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;background:var(--surface-soft);border-radius:8px}.connector-version-center article span{display:grid;grid-gap:2px;gap:2px}.connector-version-list{display:grid;grid-gap:6px;gap:6px;padding-top:8px;border-top:1px solid var(--line)}.connector-version-list article div{display:flex;flex-wrap:wrap;gap:5px}.connector-summary b{font-size:9px}.connector-summary span{margin-top:4px;color:#728b7d;font-size:7px}.autodl-form,.shot-generation{padding:16px 18px;border-bottom:1px solid #e5e9e4}.autodl-form h3,.shot-generation h3{margin:0 0 10px;font:600 12px var(--font-serif),serif}.autodl-form input,.autodl-form select{width:100%;height:34px;margin-bottom:7px;padding:0 9px;border:1px solid #dce3dc;border-radius:7px;outline:0;font-size:8px}.autodl-form button,.shot-generation>button{height:32px;padding:0 10px;border:0;border-radius:7px;color:#fff;background:var(--jade);font-size:8px}.autodl-form .mock-link{margin-left:6px;color:var(--jade);background:var(--jade-soft)}.connector-wizard-steps{margin-bottom:9px;display:grid;grid-template-columns:repeat(6,1fr);grid-gap:3px;gap:3px}.connector-wizard-steps span{padding:5px 2px;border-radius:5px;color:#929c96;text-align:center;background:#edf0ec;font-size:6px}.connector-wizard-steps span.active{color:#fff;background:var(--jade)}.connector-redacted{max-height:130px;overflow:auto;padding:8px;border-radius:7px;color:#66746c;background:#eef1ed;white-space:pre-wrap;font-size:6px}.autodl-form details{margin-top:8px;color:#7b8880;font-size:7px}.autodl-form details button{margin-top:7px}.outline-import-preview{padding:10px;border:1px solid #d9e1d9;border-radius:9px;background:#f3f6f2}.outline-import-preview b,.outline-import-preview small,.outline-import-preview span{display:block;margin-bottom:5px}.outline-import-preview small,.outline-import-preview span{color:#718078;font-size:8px}.outline-import-preview pre{max-height:140px;overflow:auto;padding:9px;border-radius:7px;background:#fff;white-space:pre-wrap;font-size:8px}.outline-import-preview button{margin-right:6px;padding:7px 9px;border:0;border-radius:6px;color:#fff;background:var(--jade);font-size:8px}.shot-generation>p{color:#7b8880;font-size:8px}.shot-generation>button{display:flex;align-items:center;gap:5px}.shot-generation article{height:34px;margin-top:7px;padding:0 8px;display:grid;grid-template-columns:.8fr 1.4fr auto;align-items:center;border-radius:7px;background:#f1f3ef;font-size:7px}.shot-generation article span{overflow:hidden;color:#87938c;text-overflow:ellipsis}.shot-generation article small{color:#9a713d}.export-center-fab{position:fixed;right:178px;bottom:22px;z-index:30;border:1px solid #d9d4c8;background:#fff;color:#292620;border-radius:999px;padding:11px 16px;display:flex;gap:8px;align-items:center;box-shadow:0 10px 30px #201b1230;font-weight:700}.export-center{position:fixed;z-index:31;right:24px;bottom:78px;width:390px;max-height:72vh;overflow:auto;background:#fcfbf7;border:1px solid #ded9cd;border-radius:20px;box-shadow:0 24px 70px #17130b38;padding:20px}.export-center header{display:flex;justify-content:space-between}.export-center header p{font-size:10px;letter-spacing:.18em;color:#9c7546;margin:0}.export-center h2{margin:4px 0 14px}.export-center>p{font-size:12px;line-height:1.6;color:#6b665d}.export-center select,.export-center>button{width:100%;padding:11px;border-radius:10px;border:1px solid #ddd6c8;margin:7px 0;background:white}.export-center>button{background:#23211d;color:white;font-weight:700}.export-center label{display:flex;gap:8px;font-size:11px;margin:10px 0}.export-center>small{display:block;color:#8b673e}.export-center section article{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ebe7df;padding:11px 0}.export-center section span{display:flex;flex-direction:column}.export-center section button{border:0;border-radius:8px;padding:7px 9px;background:#e8dfd0;color:#5c4226}@media (max-width:1100px){.app-shell{grid-template-columns:82px minmax(0,1fr)}.sidebar{padding-inline:13px}.brand{justify-content:center}.brand>div:last-child,.nav-item em,.nav-item span,.nav-label,.profile-row>span:nth-child(2),.profile-row>svg,.usage-card,.workspace-switcher svg,.workspace-switcher>span:nth-child(2){display:none}.workspace-switcher{display:flex}.nav-item,.profile-row,.workspace-switcher{justify-content:center}.profile-row{display:flex}.content{width:calc(100vw - 82px)}.story-orbit{opacity:.55;right:-3%}}@media (max-width:820px){.auth-shell{display:block}.auth-visual{min-height:230px;padding:28px}.auth-statement{top:58%;left:28px}.auth-statement h1{font-size:30px;margin:10px 0}.auth-orbit,.auth-statement>span{display:none}.auth-panel{padding:40px 24px}.login-icon{margin-bottom:20px}.app-shell{display:block}.sidebar{display:none}.content{width:100%;padding:26px 20px 50px}.topbar{padding:0 20px}.search-box{width:42px}.search-box input,.search-box kbd,.status-pill{display:none}.welcome-row{align-items:flex-start;gap:20px}.topbar .top-actions>.ghost-button{display:none}.feature-banner{min-height:300px}.story-orbit{opacity:.25;right:-80px}.bottom-grid,.project-grid{grid-template-columns:1fr}.project-card{display:grid;grid-template-columns:120px 1fr}.cover{height:100%;min-height:160px}.project-meta{flex-wrap:wrap}}.module-page,.novel-studio,.rewrite-workbench,.video-center,.workspace-shell{font-size:14px}.workspace-shell{grid-template-columns:96px 1fr}.workspace-rail{padding:18px 8px 24px}.workspace-rail>a{width:78px;min-height:54px;margin:0 auto 6px;font-size:12px;gap:4px}.project-crumb,.workspace-top>a{font-size:13px}.workspace-sync{font-size:12px}.module-hero>div>p,.novel-head>div>p,.novel-tree>p,.run-history>p{font-size:11px}.novel-studio .novel-grid{grid-template-columns:270px minmax(480px,1fr) 230px}.novel-studio .novel-tree{display:flex;flex-direction:column;padding:15px;overflow:hidden}.novel-tree .novel-tree-head h3{margin:0;font-size:17px}.novel-tree .novel-volume{margin:0;padding:3px 0;border-bottom:0}.novel-tree .novel-chapter{padding:0}.novel-tree .chapter-open{width:auto;margin:0;padding:7px 6px;border:0}.novel-tree .chapter-open.active{border-left:0}.novel-tree .novel-scene{padding:5px 0;font-size:11px}@media (max-width:1250px){.novel-studio .novel-grid{grid-template-columns:250px minmax(420px,1fr)}}@media (max-width:900px){.novel-studio .novel-grid{grid-template-columns:1fr}.novel-studio .novel-tree{position:static;max-height:520px}}.agent-pipeline em,.agent-pipeline small,.artifact-count,.pipeline-head em,.run-detail header small,.run-notice,.run-step-list em,.run-step-list small{font-size:12px;line-height:1.5}.run-step-list article{min-height:64px;padding:8px;cursor:pointer;border-radius:10px}.run-step-list article.selected,.run-step-list article:hover{background:#f1f5f1}.run-step-list b{font-size:14px}.run-step-list i.failed{background:#bf5b55}.run-error{display:grid;grid-gap:5px;gap:5px;margin:14px 0;padding:12px;border-radius:10px;color:#842f2a;background:#fff0ef;font-size:13px}.agent-explain-panel{margin-top:16px;padding:16px;border:1px solid #dce5dd;border-radius:14px;background:#fbfcfa}.agent-explain-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.agent-explain-panel>header span{display:grid;grid-gap:4px;gap:4px}.agent-explain-panel>header small{color:#718078}.agent-explain-panel>header em{padding:5px 9px;border-radius:999px;background:var(--jade-soft);color:var(--jade);font-style:normal}.agent-io-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.agent-io-grid article{min-width:0;padding:14px;border-radius:10px;background:#fff}.agent-io-grid p{line-height:1.7;white-space:pre-wrap}.agent-io-grid pre{max-height:360px;overflow:auto;padding:12px;border-radius:8px;background:#17231d;color:#e5eee9;white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.65}.pipeline-head{align-items:center;justify-content:flex-start;gap:10px}.pipeline-head em{margin-left:auto}.pipeline-head button{padding:7px 13px;border:0;border-radius:8px;color:#fff;background:var(--jade)}.active-run-hint{display:block;margin-top:8px;color:#91682f;line-height:1.6}.video-center-fab{height:46px;padding:0 18px;font-size:14px}.video-center{max-height:calc(100vh - 92px);border-radius:20px}.video-center>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;padding:20px 24px;background:rgba(250,251,248,.97)}.connector-summary b,.connector-summary span,.video-center header p{font-size:12px;line-height:1.5}.video-center header h2{font-size:22px}.autodl-form,.shot-generation{padding:20px 24px}.autodl-form h3,.shot-generation h3{font-size:17px}.autodl-form input,.autodl-form select{height:42px;padding:0 12px;font-size:14px}.autodl-form button,.shot-generation>button{min-height:40px;font-size:14px}.ai-project-intro{padding:14px;border-radius:12px;background:var(--jade-soft)}.ai-project-intro b,.ai-project-intro span{display:block}.ai-project-intro span{margin-top:5px;color:#61776b;line-height:1.6}.optional-inspiration{display:grid;grid-gap:8px;gap:8px}.outline-upload-button{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #cfdcd2;border-radius:9px;color:var(--jade);cursor:pointer}.outline-upload-button input{display:none}@media(max-width:760px){.video-center{right:10px;bottom:68px;width:calc(100vw - 20px)}.agent-io-grid{grid-template-columns:1fr}}.novel-material-center{margin-bottom:18px;border:1px solid #dbe4dc;border-radius:15px;background:#fff;overflow:hidden}.novel-material-center>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e7ece7;background:linear-gradient(120deg,#f3f8f4,#fffaf1)}.novel-material-center>header>span{display:flex;align-items:center;gap:10px}.novel-material-center>header>span>span{display:grid;grid-gap:3px;gap:3px}.novel-material-center>header small{color:#718078;font-size:12px}.novel-material-center>header em{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;color:#946829;background:#fff2d9;font-size:12px;font-style:normal}.novel-material-center>nav{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:1px;gap:1px;background:#e5eae5}.novel-material-center>nav button{min-height:58px;padding:9px;border:0;background:#fafbf9;color:#526159}.novel-material-center>nav button small,.novel-material-center>nav button span{display:block}.novel-material-center>nav button span{font-size:13px;font-weight:650}.novel-material-center>nav button small{margin-top:4px;color:#89968f;font-size:11px}.novel-material-center>nav button.active{color:var(--jade);background:#e9f3ed;box-shadow:inset 0 -3px var(--jade)}.material-document{padding:18px}.material-document>header{display:flex;align-items:center;justify-content:space-between}.material-document>header span{display:grid;grid-gap:4px;gap:4px}.material-document>header b{font-size:18px}.material-document>header em{color:#4f8c70;font-size:12px;font-style:normal}.material-summary{padding:12px 14px;border-left:3px solid var(--gold);background:#fffaf1;line-height:1.75}.material-document pre{max-height:520px;overflow:auto;margin:14px 0 0;padding:16px;border-radius:11px;background:#f6f8f5;color:#26372f;white-space:pre-wrap;word-break:break-word;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}.material-empty{min-height:150px;display:grid;place-content:center;justify-items:center;grid-gap:8px;gap:8px;color:#86948c;text-align:center}.material-empty b{color:#43544b;font-size:15px}.material-empty span{max-width:480px;line-height:1.7}@media(max-width:900px){.novel-material-center>nav{grid-template-columns:repeat(2,1fr)}}.writing-system-map{margin-bottom:18px;padding:17px;border:1px solid #d9e2da;border-radius:15px;background:#fff}.writing-system-map>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.writing-system-map>header span{display:grid;grid-gap:4px;gap:4px}.writing-system-map>header b{font-size:16px}.writing-system-map>header small{color:#718078;line-height:1.6}.writing-system-map>header em{padding:7px 11px;border-radius:999px;color:var(--jade);background:var(--jade-soft);font-size:12px;font-style:normal}.writing-system-map>div{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:7px;gap:7px}.writing-system-map article{min-width:0;padding:10px;border:1px solid #e5eae5;border-radius:10px;background:#fafbf9}.writing-system-map article i{width:23px;height:23px;display:grid;place-items:center;margin-bottom:7px;border-radius:50%;background:#e7ebe7;color:#6f7d75;font-style:normal}.writing-system-map article span{display:grid;grid-gap:4px;gap:4px}.writing-system-map article b{font-size:12px}.writing-system-map article small{color:#849088;font-size:11px;line-height:1.5}.writing-system-map article.ready{border-color:#bcd5c6;background:#eef6f1}.writing-system-map article.ready i{color:#fff;background:var(--jade)}@media(max-width:1100px){.writing-system-map>div{grid-template-columns:repeat(3,1fr)}}.workspace-project-picker{display:grid;grid-gap:10px;gap:10px;margin-top:18px}.workspace-project-picker button{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #e0e5dc;background:#f9faf7;padding:16px;border-radius:10px}.workspace-project-picker button strong{flex:1 1}.workspace-project-picker small{color:#788276}.global-model-page .section-heading{justify-content:flex-start}.global-model-page .section-heading>svg{flex-shrink:0}.global-model-page button{min-height:38px;cursor:pointer}.global-model-page a:focus-visible,.global-model-page button:focus-visible{outline:2px solid #527b59;outline-offset:3px}.global-model-page .model-resource-form{align-items:end}.model-resource-form>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#617466}.model-resource-form input{width:100%;min-height:40px;box-sizing:border-box}.model-resource-form>button{min-height:40px;white-space:nowrap}.model-resource-list button{min-width:38px;display:inline-flex;justify-content:center;align-items:center}.agent-batch-panel header>div{display:flex;flex-wrap:wrap;gap:8px}.agent-route-grid footer{flex-wrap:wrap}.admin-shell button{min-height:36px;padding:8px 12px}.admin-shell .admin-search{gap:10px}.admin-shell .admin-tr{font-size:12px;line-height:1.6}.admin-shell .admin-tr small{font-size:11px}.admin-shell .admin-tr>span{min-width:0;overflow-wrap:anywhere}.app-shell button{min-height:36px}.app-shell button:has(>svg:only-child){min-width:36px}.app-shell button:focus-visible{outline:2px solid #527b59;outline-offset:3px}@media(min-width:821px) and (max-width:1100px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.app-shell .sidebar{padding-inline:14px}.app-shell .brand{justify-content:flex-start;gap:10px}.app-shell .brand>div:last-child,.app-shell .nav-item span,.app-shell .nav-label,.app-shell .workspace-switcher>span:nth-child(2){display:block}.app-shell .workspace-switcher>span:nth-child(2){min-width:0;overflow:hidden;text-align:left}.app-shell .workspace-switcher b{font-size:12px;white-space:normal}.app-shell .nav-item{justify-content:flex-start;padding:10px 12px;font-size:12px;gap:10px}.app-shell .content{width:100%;max-width:100%}.app-shell .workspace-switcher{gap:8px;justify-content:flex-start}.app-shell .nav-label{font-size:10px;margin-top:20px}.app-shell .brand span{font-size:9px}}@media(max-width:820px){.app-shell .nav-item{flex-direction:column;gap:4px;padding:9px 3px}.app-shell .nav-item span{display:block;text-align:center;flex:none;font-size:10px;line-height:1.4}.app-shell .sidebar{overflow-y:auto}.app-shell .nav-item svg{flex-shrink:0}}.product-dialog:has(.account-usage-summary){width:min(720px,100%)}.account-usage-summary{gap:14px}.account-usage-records em,.account-usage-records small,.account-usage-summary small{font-size:11px;line-height:1.6}.account-usage-records>div{align-items:center;gap:16px;padding:12px 0}.product-dialog:has(.account-usage-summary) .dialog-body{padding:24px}.product-dialog:has(.account-usage-summary) button{min-height:38px}.product-dialog:has(.account-usage-summary) header>button{min-height:34px}.app-shell .topbar .search-box[hidden],.app-shell .topbar .ui-search-toggle[hidden]{display:none!important}.app-shell .top-actions{margin-left:auto}.product-dialog:focus{outline:none}.product-dialog:focus-visible{outline:2px solid #527b59;outline-offset:3px}.product-dialog header{gap:16px}.product-dialog header>div{min-width:0}.product-dialog header h2{overflow-wrap:anywhere}.product-dialog .mode-options button{min-width:0;text-align:left}.member-invite{align-items:center;gap:12px;flex-wrap:wrap}.member-invite input{min-width:200px;flex:1 1}.member-invite button,.member-invite select{min-height:40px}.member-list article{gap:16px;flex-wrap:wrap}.workspace-top .project-crumb{flex-wrap:wrap;gap:10px;min-width:0}.workspace-rail a{min-height:54px;gap:6px}.workspace-rail a:focus-visible{outline:2px solid #527b59;outline-offset:-3px}.admin-page-index{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.admin-page-index a{display:inline-flex;align-items:center;min-height:38px;border:1px solid #dae4da;border-radius:8px;padding:7px 14px;text-decoration:none;color:#355b40;background:white;font-size:12px}.admin-content section[id]{scroll-margin-top:24px}.admin-content .admin-table{max-height:560px;overflow:auto;scrollbar-gutter:stable}.admin-content .admin-th{position:-webkit-sticky;position:sticky;top:0;background:#f5f8f3;z-index:1}.admin-content .admin-tr>span:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-content .admin-inline{margin:0}.admin-shell a:focus-visible,.admin-shell button:focus-visible{outline:2px solid #527b59;outline-offset:3px}.global-model-page .model-resource-list span{min-width:0;overflow-wrap:anywhere}.global-model-page .agent-route-grid footer{flex-wrap:wrap;gap:10px}@media(max-width:650px){.product-dialog .mode-options{grid-template-columns:1fr}.workspace-top .project-crumb>a{margin-left:0!important}.member-invite>:not(svg){width:100%;flex:auto}.admin-page-index a{flex:1 1;justify-content:center;white-space:nowrap}.global-model-page .agent-batch-form{grid-template-columns:1fr}}.global-page-context{display:flex;align-items:center;gap:10px;font-size:12px;min-width:0;line-height:1.5}.global-page-context>span{color:#84917f}.global-page-context>strong{font-weight:500;color:#36523b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-page-context>svg{flex-shrink:0;color:#84917f}@media(max-width:650px){.global-page-context>span,.global-page-context>svg{display:none}.global-page-context{font-size:11px}}.project-title h4 a{color:inherit;text-decoration:none}.project-title h4 a:hover{text-decoration:underline}.project-title h4 a:focus-visible{outline:2px solid #527b59;outline-offset:3px;border-radius:3px}.admin-title label{gap:8px;flex-wrap:wrap}.admin-title label .admin-search-reset{color:#526a57;background:#f6f8f4;border:1px solid #dce4d9}.admin-title label button:disabled{opacity:.45;cursor:not-allowed}.auth-field-hint{margin:8px 2px 0;color:var(--muted);font-size:11px;line-height:1.65}.auth-visibility{flex:0 0 44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);border-radius:10px}.auth-visibility:focus-visible{outline:2px solid var(--jade);outline-offset:-3px}.account-access .form-error{font-size:12px;line-height:1.6}.account-access .login-subtitle{line-height:1.8;margin-bottom:24px}.auth-mode-switch{font-size:12px;padding:16px 8px 8px}.registration-success>p{line-height:1.8}.registration-review-content{width:min(1120px,100%);margin:auto;padding:36px 28px}.registration-review-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.registration-review-title h1{margin:8px 0 12px;font:600 30px var(--font-serif),serif;color:var(--ink)}.registration-review-title p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.8;margin:0}.registration-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;flex-wrap:wrap}.review-tabs{display:inline-flex;padding:4px;gap:4px;background:#eaf0e9;border-radius:12px}.review-tabs button{padding:10px 19px;border:0;border-radius:9px;color:var(--muted);background:transparent}.review-tabs button[aria-selected=true]{background:white;color:var(--jade);box-shadow:0 2px 6px #2448350d}.review-search{display:flex;gap:10px;padding:5px 6px 5px 13px;align-items:center;background:white;border:1px solid #dce3dc;border-radius:12px;min-height:44px;color:var(--muted)}.review-search input{width:min(220px,40vw);border:0;outline:0;background:transparent}.review-search button{border:0;background:var(--jade-soft);color:var(--jade);border-radius:8px;padding:9px 14px}.review-approve,.review-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border-radius:10px;border:1px solid #dce3dc;font-size:13px;background:white;color:#526357;white-space:nowrap}.review-approve{color:white;background:var(--jade);border-color:var(--jade)}.registration-review-shell button:disabled{opacity:.5;cursor:not-allowed}.registration-queue{border:1px solid #dce3dc;border-radius:16px;background:white;overflow:hidden}.registration-queue-heading{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1eb}.registration-queue-heading h2{margin:0;font-size:16px}.registration-queue-heading span{color:var(--muted);font-size:12px}.registration-row{padding:22px 24px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr) auto;align-items:center;grid-gap:22px;gap:22px;border-bottom:1px solid #edf1eb}.registration-row:last-child{border-bottom:0}.registration-identity{display:flex;align-items:center;gap:12px;min-width:0}.registration-avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:var(--jade);background:var(--jade-soft);border-radius:13px}.registration-identity h3{font-size:14px;margin:0 0 6px;overflow-wrap:anywhere}.registration-identity p{margin:0}.registration-dates,.registration-identity p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.registration-dates{display:grid;grid-gap:8px;gap:8px}.registration-dates span{display:flex;gap:6px;align-items:center}.registration-actions{display:flex;gap:10px;align-items:center}.review-status{border-radius:20px;padding:7px 13px;font-size:12px;background:#eef3ed;color:var(--jade)}.review-status.rejected{background:#fbefed;color:#a95648}.review-empty{display:grid;justify-items:center;grid-gap:10px;gap:10px;text-align:center;padding:54px 20px;color:var(--muted);font-size:13px}.review-empty h3,.review-empty p{margin:0}.review-empty h3{color:#506254;font-size:15px}.review-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;font-size:12px;color:var(--muted)}.review-pagination>div{display:flex;gap:10px}.review-error,.review-notice{padding:12px 16px;border-radius:10px;margin:0 0 16px;font-size:13px;line-height:1.6}.review-error{background:#fbefed;color:#a95648}.review-notice{display:flex;align-items:center;gap:8px;background:var(--jade-soft);color:var(--jade)}.registration-access-denied{text-align:center;display:grid;justify-items:center;grid-gap:18px;gap:18px;padding:64px 20px;color:var(--muted)}.registration-access-denied h1,.registration-access-denied p{margin:0}.review-link{color:var(--jade)}.registration-reject-dialog{width:min(480px,calc(100vw - 32px));padding:24px}.registration-reject-dialog>header{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:22px}.registration-reject-dialog h2{margin:0;font-size:18px;overflow-wrap:anywhere}.registration-reject-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media(max-width:760px){.registration-review-content{padding:24px 16px}.registration-review-title{align-items:flex-start;flex-direction:column;gap:16px}.registration-row{grid-template-columns:1fr;gap:16px;padding:20px}.registration-actions{justify-content:flex-end}.registration-review-toolbar,.review-search{width:100%}.review-search input{width:100%;min-width:0}.review-pagination{align-items:flex-start;flex-direction:column}}.auth-panel:has(.account-access){padding-block:24px}.account-access .login-icon{width:42px;height:42px;margin-bottom:16px}.account-access h2{font-size:28px}.account-access .login-subtitle{margin-bottom:20px}.account-access .field>div{height:46px}.account-access .field-spaced{margin-top:14px}html body .ws-edit-modal.ui-dialog.legacy-rewrite-dialog{width:min(920px,calc(100vw - 40px));height:min(760px,calc(100dvh - 48px))}html body .legacy-rewrite-dialog .rewrite-toolbar{grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,2fr);gap:12px}html body .legacy-rewrite-dialog .rewrite-toolbar label{min-width:0;display:grid;grid-gap:6px;gap:6px;font-size:14px}html body .ws-edit-modal.ui-dialog.legacy-rewrite-dialog :is(button,select,input){min-height:44px;min-width:44px;box-sizing:border-box;font-size:14px}html body .legacy-rewrite-dialog .rewrite-source{font-size:14px}html body .legacy-rewrite-dialog .rewrite-source textarea{font-size:16px;line-height:1.8}html body .legacy-rewrite-dialog :is(.selected-fragment,.rewrite-original,.rewrite-candidates small){font-size:14px;line-height:1.7;overflow-wrap:anywhere}html body .legacy-rewrite-dialog .rewrite-original{flex-wrap:wrap;gap:12px}html body .legacy-rewrite-dialog .rewrite-original del{min-width:0;flex:1 1 220px}html body .legacy-rewrite-dialog .rewrite-candidates ins{white-space:pre-wrap;overflow-wrap:anywhere}html body .legacy-rewrite-dialog .run-notice{flex-basis:100%;margin:0;max-height:100px;overflow:auto;font-size:14px;line-height:1.6}html body .legacy-rewrite-dialog .rewrite-empty{padding:24px 12px;font-size:14px}@media (max-width:700px){html body .ws-edit-modal.ui-dialog.legacy-rewrite-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px)}html body .legacy-rewrite-dialog .rewrite-toolbar{grid-template-columns:minmax(0,1fr)}html body .ws-edit-modal.ui-dialog.legacy-rewrite-dialog :is(input,select,textarea){font-size:16px}}.workspace-shell{grid-template-columns:96px minmax(0,1fr)}.workspace-shell .workspace-main{min-width:0}.workspace-shell .workspace-main:not(.legacy-wide){grid-template-columns:270px minmax(0,1fr) 230px}.workspace-shell :is(.entity-browser,.entity-editor,.context-panel){box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace-shell .entity-list>button{box-sizing:border-box;min-width:0;max-width:100%}.workspace-shell .entity-list>button>div{min-width:0}.workspace-shell .entity-editor>header{box-sizing:border-box;height:auto;min-height:89px;gap:12px;flex-wrap:wrap}.workspace-shell :is(input,select,textarea){box-sizing:border-box;max-width:100%}html body .workspace-shell :is(button,input,select,textarea):not([role=dialog] *):not(.chapter-editor>input){font-size:14px!important}html body .workspace-shell :is(label,small,.entity-browser header p,.entity-browser header>span,.entity-editor header p,.context-panel>p,.entity-types button b,.editor-form label>span,.instruction-title small,.semantic-context-panel footer,.editor-message):not([role=dialog] *){font-size:12px;line-height:1.6}html body .workspace-shell :is(.entity-list b,.novel-section-menu button b,.semantic-context-panel header b):not([role=dialog] *){font-size:14px}@media (max-width:1100px){.workspace-shell .workspace-main:not(.legacy-wide){grid-template-columns:minmax(0,1fr)}.workspace-shell .entity-browser{border-right:0;border-bottom:1px solid #dde4dd}.workspace-shell .context-panel{border-left:0;border-top:1px solid #dde4dd}.workspace-shell .entity-types{display:flex;flex-wrap:wrap}.workspace-shell .entity-types>button{flex:1 1 100px}.workspace-shell .entity-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}}@media (max-width:700px){.workspace-shell{grid-template-rows:auto minmax(0,1fr)}.workspace-shell .workspace-top{display:flex;flex-wrap:wrap;min-width:0;gap:10px;padding:12px}.workspace-shell .workspace-top>a{min-height:44px;font-size:14px}.workspace-shell .project-crumb{order:2;flex:1 1 100%;min-width:0;flex-wrap:wrap;font-size:14px;overflow-wrap:anywhere}.workspace-shell .project-crumb>a{margin-left:0!important;min-height:44px;display:inline-flex;align-items:center}.workspace-shell .workspace-sync{margin-left:auto;font-size:14px}.workspace-shell :is(.entity-browser>header,.entity-editor>header,.editor-form,.version-panel,.context-panel){padding:16px}.workspace-shell .entity-types{padding-inline:12px}.workspace-shell .entity-types>button{flex-basis:100px}.workspace-shell .entity-list{grid-template-columns:minmax(0,1fr)}html body .workspace-shell :is(button,label,small,.entity-browser header p,.entity-browser header>span,.entity-editor header p,.context-panel>p,.entity-types button b,.editor-form label>span,.instruction-title small,.semantic-context-panel footer,.editor-message):not([role=dialog] *){font-size:14px!important}html body .workspace-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):not([role=dialog] *){font-size:16px!important}}html body .workspace-shell .truth-list{overflow-wrap:anywhere}html body .workspace-shell .truth-list b{font-size:14px;line-height:1.6}html body .workspace-shell .truth-list :is(span,small){font-size:12px;line-height:1.6}.workspace-shell .truth-pages{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.workspace-shell .truth-pages>span{flex-basis:100%;font-size:12px}.workspace-shell .truth-empty{font-size:14px;line-height:1.6;color:#657269}@media(max-width:700px){html body .workspace-shell .truth-list :is(span,small){font-size:14px}}.workspace-shell .ws-compare-toolbar{min-width:0;max-width:100%}.workspace-shell .ws-compare-toolbar label{min-width:0;max-width:100%;flex:0 1 220px}.workspace-shell .ws-compare-toolbar select{width:100%;min-width:0;max-width:100%}@media (max-width:700px){.workspace-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}.workspace-shell>.workspace-top{grid-column:1;grid-row:1}.workspace-shell>.workspace-rail{grid-column:1;grid-row:2;box-sizing:border-box;min-width:0;max-width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;border-right:0;border-bottom:1px solid #dce3dc;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scrollbar-width:thin}.workspace-shell .workspace-rail>.rail-brand{flex:0 0 44px;width:44px;height:44px;margin:0}.workspace-shell .workspace-rail>a{flex:0 0 auto;width:auto;min-width:64px;min-height:64px;margin:0;padding:8px 10px;gap:4px;font-size:14px;white-space:nowrap}.workspace-shell>.workspace-main{grid-column:1;grid-row:3;min-height:0}.workspace-shell .module-page{box-sizing:border-box;padding:20px 16px}.workspace-shell .module-hero{flex-direction:column;align-items:stretch;gap:16px}.workspace-shell .module-hero>div{min-width:0}.workspace-shell .module-hero h1{font-size:26px;line-height:1.35;overflow-wrap:anywhere}.workspace-shell .module-hero :is(p,span){font-size:14px;line-height:1.6}.workspace-shell .module-hero>button{align-self:flex-start;flex-shrink:0;max-width:100%;white-space:nowrap}.workspace-shell .member-invite{display:grid;grid-template-columns:24px minmax(0,1fr);padding:12px;grid-gap:10px;gap:10px}.workspace-shell .member-invite input{min-width:0;width:100%}.workspace-shell .member-invite>:is(select,button){grid-column:1/-1;width:100%}.workspace-shell .member-list article{grid-template-columns:44px minmax(0,1fr);padding:12px;gap:10px}.workspace-shell .member-list article>div{min-width:0;overflow-wrap:anywhere}.workspace-shell .member-list article>:is(em,select,button){grid-column:2;justify-self:start}.workspace-shell .member-list article>:is(select,button){width:100%}.workspace-shell .member-list :is(b,em){font-size:14px;line-height:1.5}.workspace-shell .settings-card{box-sizing:border-box;width:100%;max-width:100%;padding:16px}.workspace-shell .settings-card>div{flex-wrap:wrap}.workspace-shell .settings-card button{white-space:nowrap}.workspace-shell .mode-switch-field{grid-template-columns:minmax(0,1fr)}.workspace-shell .genre-module-settings>header{flex-wrap:wrap}.workspace-shell .genre-module-settings textarea{width:100%;max-width:100%;box-sizing:border-box}.workspace-shell .run-center-layout{grid-template-columns:minmax(0,1fr)}.workspace-shell .run-detail{min-width:0}}.legacy-utility-actions{display:contents}@media(max-width:700px){.workspace-shell:has(>.legacy-utility-actions){grid-template-rows:auto auto auto minmax(0,1fr)}.workspace-shell>.legacy-utility-actions{display:flex;flex-wrap:wrap;grid-column:1;grid-row:3;gap:8px;padding:8px 12px;border-bottom:1px solid #dce3dc}.workspace-shell:has(>.legacy-utility-actions)>.workspace-main{grid-row:4}.workspace-shell>.legacy-utility-actions>:is(.export-center-fab,.video-center-fab){position:static;flex:1 1 130px;min-width:0;max-width:100%;box-sizing:border-box;padding:8px 6px;white-space:nowrap}.workspace-shell .novel-grid{grid-template-columns:minmax(0,1fr)}.workspace-shell :is(.run-board,.agent-pipeline,.agent-pipeline article,.agent-pipeline article>div){min-width:0}.workspace-shell .agent-pipeline{grid-template-columns:minmax(0,1fr)}.workspace-shell .agent-pipeline article{grid-template-columns:auto minmax(0,1fr) auto}.workspace-shell .agent-pipeline article>div{overflow-wrap:anywhere}}@media(max-width:700px){.workspace-shell :is(aside.export-center,aside.video-center){box-sizing:border-box;left:12px;right:12px;bottom:12px;width:auto;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain}.workspace-shell .export-center>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:#fcfbf7}.workspace-shell .novel-head{flex-direction:column;align-items:stretch;gap:16px}.workspace-shell .novel-head>div{min-width:0}.workspace-shell .novel-head-actions{display:flex;flex-wrap:wrap;gap:12px}}@media(max-width:700px){.workspace-shell .novel-head-actions>:is(button,a){min-height:44px;max-width:100%;padding:8px 12px;font-size:14px!important;white-space:nowrap}.workspace-shell .module-grid{grid-template-columns:minmax(0,1fr)}.workspace-shell .module-grid>button{grid-template-columns:auto minmax(0,1fr) auto auto;min-width:0}.workspace-shell .module-grid>button>span{min-width:0;overflow-wrap:anywhere}.workspace-shell .module-grid small{font-size:14px;line-height:1.6}}