:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#18231f;background:#f2f4ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 12% 0%,rgba(225,167,73,.2),transparent 30rem),#f2f4ef}button,textarea,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}h1,h2,p{margin-top:0}.login-shell{position:relative;display:grid;min-height:100vh;place-items:center;overflow:hidden;padding:28px;background:radial-gradient(circle at 18% 12%,rgba(209,156,72,.28),transparent 25rem),radial-gradient(circle at 85% 86%,rgba(45,84,70,.18),transparent 30rem),#eef1eb}.login-shell:before{position:absolute;width:520px;height:520px;border:1px solid rgba(32,61,52,.08);border-radius:50%;content:"";transform:translate(42vw,-32vh);box-shadow:0 0 0 75px #ffffff29,0 0 0 150px #ffffff1a}.login-card{position:relative;z-index:1;width:min(440px,100%);padding:38px;border:1px solid rgba(205,211,203,.95);border-radius:24px;background:#fffffff0;box-shadow:0 28px 80px #23312b29;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.login-brand{display:grid;width:52px;height:52px;margin-bottom:26px;place-items:center;border-radius:15px;color:#fff9ed;background:#203d34;box-shadow:0 10px 25px #203d3438;font-family:STKaiti,KaiTi,serif;font-size:27px;font-weight:800}.login-eyebrow,.hero__eyebrow{margin-bottom:9px;color:#9a6c27;font-size:11px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.login-card h1{margin-bottom:12px;font-size:clamp(29px,6vw,38px)}.login-intro{margin-bottom:28px;color:#74807a;line-height:1.65}.login-form{display:grid;gap:18px}.login-form label>span{display:block;margin-bottom:8px;color:#35443e;font-size:13px;font-weight:750}.login-form input{width:100%;height:50px;padding:0 14px;border:1px solid #d4dad4;border-radius:11px;outline:none;color:#1f2b27;background:#fbfcfa;transition:border-color .16s,box-shadow .16s,background .16s}.login-form input:focus{border-color:#9e7a41;background:#fff;box-shadow:0 0 0 4px #b181381c}.password-field{position:relative}.password-field input{padding-right:62px}.password-field button{position:absolute;top:50%;right:12px;padding:5px;border:0;color:#8b6a38;background:transparent;font-size:12px;font-weight:750;transform:translateY(-50%)}.login-error{margin:-4px 0 0;padding:11px 13px;border:1px solid #edc6bf;border-radius:10px;color:#963c32;background:#fff4f2;font-size:13px}.login-submit{height:51px;margin-top:2px;border:0;border-radius:11px;color:#fff;background:#203d34;box-shadow:0 12px 24px #203d342e;font-weight:800}.login-submit:hover:not(:disabled){background:#294d41;transform:translateY(-1px)}.login-footnote{margin:24px 0 0;color:#929a96;text-align:center;font-size:12px}.login-loading{position:relative;z-index:1;padding:14px 18px;border:1px solid #d7ddd6;border-radius:12px;color:#56645e;background:#ffffffe6;box-shadow:0 14px 38px #23312b1a}.app-shell{width:min(1280px,calc(100% - 40px));margin:0 auto;padding:38px 0 70px}.hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.hero__eyebrow{margin-bottom:7px}.hero-actions{display:flex;align-items:center;gap:12px}.workspace-nav{display:flex;padding:4px;border:1px solid #d4dad4;border-radius:11px;background:#ffffffb8}.workspace-nav button{padding:8px 13px;border:0;border-radius:8px;color:#6d7772;background:transparent;font-size:13px;font-weight:750}.workspace-nav button.active{color:#fff;background:#203d34;box-shadow:0 5px 12px #203d3429}.logout-button{margin-top:5px;padding:9px 13px;border:1px solid #d0d6cf;border-radius:9px;color:#58655f;background:#ffffffb3;font-size:13px}.logout-button:hover{color:#203d34;border-color:#aeb9b1;background:#fff}.current-user{display:grid;min-width:72px;padding-left:12px;border-left:1px solid #d2d8d2}.current-user strong{color:#2e3c36;font-size:13px;white-space:nowrap}.current-user small{margin-top:2px;color:#9a6c27;font-size:11px}h1{margin:0;font-size:clamp(31px,5vw,50px);letter-spacing:-.04em;line-height:1.08}h2{margin-bottom:5px;font-size:21px}.setup-panel,.script-panel,.results{overflow:hidden;margin-bottom:18px;border:1px solid #d5dad4;border-radius:19px;background:#ffffffeb;box-shadow:0 18px 46px #22312b14}.panel-heading,.reference-heading,.script-panel__heading,.script-panel__footer,.results__heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px}.panel-heading{padding-bottom:10px}.panel-heading h2,.reference-heading h2,.script-panel__heading h2,.results__heading h2{margin:0}.direction-editor{display:block;width:calc(100% - 44px);min-height:112px;margin:0 22px 20px;padding:16px;border:1px solid #d8ded7;border-radius:12px;outline:none;resize:vertical;color:#25322d;background:#fbfcfa;line-height:1.7}.direction-editor:focus,.reference-sentence input:focus,.revision-row textarea:focus{border-color:#9e7a41;box-shadow:0 0 0 3px #b181381a}.reference-heading{border-top:1px solid #e1e5df}.reference-heading p{margin:4px 0 0;color:#77817c;font-size:13px}.reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;padding:0 22px 22px}.reference-card{overflow:hidden;border:1px solid #d8ded7;border-radius:13px;background:#f9faf8}.reference-card img{display:block;width:100%;height:178px;object-fit:contain;background:#e9ece8}.reference-sentence{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:7px;padding:12px}.reference-sentence strong{color:#704e1b}.reference-anchor{margin:-4px 12px 10px;color:#557260;font-size:11px}.reference-sentence input{min-width:0;width:100%;padding:9px 10px;border:1px solid #d4dad4;border-radius:9px;outline:none;background:#fff}.reference-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}.reference-details label{display:grid;gap:5px;color:#5a655b;font-size:12px}.reference-details input,.reference-details select{min-width:0;width:100%;padding:8px;border:1px solid #d4dad4;border-radius:9px;background:#fff}.script-panel__heading{border-bottom:1px solid #e1e5df}.script-panel__footer{border-top:1px solid #e1e5df;color:#7a847f}.script-editor{display:block;width:100%;min-height:310px;padding:23px;border:0;outline:none;resize:vertical;color:#25322d;background:#fbfcfa;font-family:Microsoft YaHei,sans-serif;font-size:15px;line-height:1.85}.prompt-layout{display:grid;grid-template-columns:285px minmax(0,1fr);align-items:start;gap:16px}.prompt-main{min-width:0}.prompt-navigator{position:sticky;top:18px;overflow:hidden;border:1px solid #d5dad4;border-radius:18px;background:#fffffff0;box-shadow:0 18px 46px #22312b14}.prompt-navigator>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px;border-bottom:1px solid #e1e5df}.prompt-navigator>header h2{margin:0;font-size:18px}.prompt-navigator>header button,.prompt-project-picker>button{padding:6px 9px;border:1px solid #d3dbd2;border-radius:7px;color:#345646;background:#fff;font-size:11px}.prompt-project-picker{display:grid;gap:8px;padding:14px 16px;border-bottom:1px solid #e1e5df;background:#f8faf7}.prompt-project-picker label{color:#526258;font-size:11px;font-weight:800}.prompt-project-picker select,.prompt-new-task select,.prompt-task-controls select{width:100%;min-height:37px;padding:0 8px;border:1px solid #d2dbd1;border-radius:8px;background:#fff;font-size:12px}.prompt-project-picker p{margin:0;color:#77847a;font-size:11px;line-height:1.6}.prompt-nav-section-title{display:flex;align-items:center;justify-content:space-between;padding:13px 16px 7px}.prompt-nav-section-title h3{margin:0;color:#34463b;font-size:12px}.prompt-nav-section-title span{color:#89958b;font-size:11px}.prompt-task-list,.prompt-history-list{display:grid;gap:6px;max-height:245px;overflow-y:auto;padding:0 9px 11px}.prompt-task-list>button,.prompt-history-list>button{display:grid;gap:5px;width:100%;min-width:0;padding:10px;border:1px solid transparent;border-radius:9px;text-align:left;color:#3b4a40;background:transparent}.prompt-task-list>button:hover,.prompt-history-list>button:hover{background:#f1f4f0}.prompt-task-list>button.active,.prompt-history-list>button.active{border-color:#38634e;color:#fff;background:#203d34}.prompt-task-list strong,.prompt-history-list strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.prompt-task-list span,.prompt-history-list span,.prompt-history-list small{overflow:hidden;color:#87938b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.prompt-task-list>button.active span,.prompt-history-list>button.active span,.prompt-history-list>button.active small{color:#c8d7ce}.prompt-task-list>p,.prompt-history-list>p{margin:0;padding:10px;color:#859188;font-size:11px;line-height:1.6}.prompt-new-task,.prompt-task-controls{display:grid;gap:8px;padding:14px 16px;border-top:1px solid #e1e5df}.prompt-new-task h3,.prompt-task-controls h3{margin:0;color:#34463b;font-size:12px}.prompt-new-task input{width:100%;height:37px;padding:0 9px;border:1px solid #d2dbd1;border-radius:8px;font-size:12px}.prompt-new-task label{display:grid;gap:5px;color:#5e6f63;font-size:11px}.prompt-new-task textarea{width:100%;min-height:65px;padding:8px;border:1px solid #d2dbd1;border-radius:8px;resize:vertical;font:inherit}.prompt-new-task button{min-height:36px;border:0;border-radius:8px;color:#fff;background:#203d34;font-size:11px;font-weight:750}.prompt-task-controls label{display:grid;gap:6px;color:#6e7d71;font-size:11px}.prompt-task-controls p{margin:0;color:#6e7d71;font-size:11px}.prompt-task-controls button.danger{justify-self:start;padding:5px 7px;border:0;color:#a24c43;background:transparent;font-size:11px}.prompt-history{border-top:1px solid #e1e5df}.legacy-import{display:block;width:calc(100% - 32px);margin:0 16px 13px;padding:8px;border:1px solid #dac79d;border-radius:8px;color:#785920;background:#fff8e9;font-size:10px}.prompt-task-notice{margin:0;padding:10px 16px;border-top:1px solid #e1e5df;color:#89958b;font-size:10px;line-height:1.5}.prompt-version-context{display:grid;gap:6px;margin:0 20px 14px;padding:13px 15px;border:1px solid #e5d3ad;border-radius:10px;background:#fffaf0}.prompt-version-context>strong{color:#75521b;font-size:12px}.prompt-version-context p{margin:0;color:#4c584e;font-size:11px;line-height:1.6;white-space:pre-wrap}.prompt-version-context p b{color:#75521b}.prompt-version-context small{color:#8c958c;font-size:10px}.handoff-editor{display:grid;gap:8px;padding:14px 22px;border-bottom:1px solid #e1e5df;background:#f8faf7}.handoff-editor strong{color:#34463b;font-size:13px}.handoff-editor span{color:#78857b;font-size:11px}.handoff-editor label{display:grid;gap:5px;color:#56675a;font-size:11px}.handoff-editor textarea,.handoff-editor select{width:100%;padding:8px;border:1px solid #d2dbd1;border-radius:8px;background:#fff;font:inherit}.result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.button,.copy-button{border:1px solid #cad1ca;border-radius:10px;padding:10px 15px;background:#fff;color:#34423d}.button--upload{color:#704e1b;border-color:#d5bd92;background:#fff9ed}.button--primary{min-width:150px;color:#fff;border-color:#203d34;background:#203d34;font-weight:750}.button--copy-all{color:#fff;border-color:#b18138;background:#b18138}.generate-controls{display:flex;align-items:center;gap:12px}.segmented{display:flex;padding:4px;border-radius:11px;background:#e7ebe6}.segmented button{border:0;border-radius:8px;padding:8px 13px;color:#64706b;background:transparent}.segmented button.active{color:#fff;background:#203d34;box-shadow:0 3px 10px #203d342e}.status-line{margin:13px 4px 20px;color:#66726d}.results__heading{border-bottom:1px solid #e1e5df}.asset-warning{display:flex;flex-direction:column;gap:5px;margin:18px 22px 0;padding:15px 17px;border:1px solid #e3cc9e;border-radius:12px;color:#75561e;background:#fff8e9}.asset-warning span{font-size:13px}.shot-list{display:grid;gap:12px;padding:20px 22px 24px;background:#f7f8f5}.shot-card{overflow:hidden;border:1px solid #d7ddd6;border-radius:14px;background:#fff}.shot-card__header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px}.shot-card__toggle{display:flex;min-width:0;flex:1;align-items:center;gap:12px;padding:0;border:0;text-align:left;background:transparent}.shot-card__toggle>span:last-child{min-width:0}.shot-card__toggle strong,.shot-card__toggle small{display:block}.shot-card__toggle small{margin-top:4px;overflow:hidden;color:#78837e;text-overflow:ellipsis;white-space:nowrap}.character-notice{display:inline-block;margin-top:7px;color:#6f7974;font-size:12px}.character-notice--new{padding:3px 7px;border-radius:999px;color:#76551d;background:#fff3d9;font-weight:700}.shot-number{flex:0 0 auto;padding:8px 10px;border-radius:9px;color:#fff;background:#203d34;font-size:12px;font-weight:800}.shot-card__actions{display:flex;align-items:center;gap:9px}.copy-button{padding:7px 11px}.shot-card__body{border-top:1px solid #e4e8e3}.shot-card__body pre{max-height:500px;margin:0;padding:19px;overflow:auto;color:#28342f;background:#fcfdfb;font-family:Cascadia Code,Consolas,monospace;font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.inline-errors{margin:0;padding:14px 34px;color:#8e312b;background:#fff1ef}.revision-panel{padding:21px 22px 24px;border-top:1px solid #e1e5df}.revision-row{display:flex;align-items:stretch;gap:12px}.revision-row textarea{min-height:82px;flex:1;padding:13px 14px;border:1px solid #d4dad4;border-radius:11px;outline:none;resize:vertical;line-height:1.6}.revision-row .button{align-self:flex-end}.novel-workflow{display:grid;gap:18px}.workflow-strip{display:flex;align-items:center;gap:12px;padding:13px 18px;border:1px solid #d5dad4;border-radius:15px;background:#ffffffc2;box-shadow:0 10px 28px #22312b0d}.workflow-step{display:flex;align-items:center;gap:8px;color:#8b9590;font-size:13px;font-weight:750;white-space:nowrap}.workflow-step b{display:grid;width:27px;height:27px;place-items:center;border:1px solid #d4dad4;border-radius:8px;font-size:10px}.workflow-step--active{color:#203d34}.workflow-step--active b{color:#fff;border-color:#b18138;background:#b18138}.workflow-strip>i{height:1px;flex:1;background:#dce1dc}.novel-input-panel,.plan-overview,.episode-planner,.generated-script-panel{overflow:hidden;border:1px solid #d5dad4;border-radius:19px;background:#fffffff0;box-shadow:0 18px 46px #22312b14}.novel-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e1e5df}.novel-section-heading h2{margin:0}.section-kicker{margin:0 0 5px;color:#a17431;font-size:10px;font-weight:900;letter-spacing:.18em}.novel-settings{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;padding:20px 22px 0}.novel-settings label,.notes-field{display:grid;gap:7px;color:#48564f;font-size:13px;font-weight:750}.novel-settings input{width:100%;height:44px;padding:0 12px;border:1px solid #d4dad4;border-radius:10px;outline:none;color:#25322d;background:#fbfcfa}.novel-settings input:focus,.novel-editor:focus,.notes-field textarea:focus,.generated-script-editor:focus,.episode-picker select:focus{border-color:#9e7a41;box-shadow:0 0 0 3px #b181381a}.novel-editor{display:block;width:calc(100% - 44px);min-height:300px;margin:14px 22px;padding:18px;border:1px solid #d8ded7;border-radius:12px;outline:none;resize:vertical;color:#25322d;background:#fbfcfa;font-size:15px;line-height:1.8}.notes-field{margin:0 22px 18px}.notes-field textarea{min-height:76px;padding:12px 13px;border:1px solid #d8ded7;border-radius:10px;outline:none;resize:vertical;color:#25322d;background:#fbfcfa;line-height:1.6}.novel-input-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-top:1px solid #e1e5df;color:#75807a;font-size:13px}.status-line--novel{margin:-4px 4px 0}.plan-meta{padding:6px 10px;border-radius:999px;color:#6f552d;background:#fff4dc;font-size:12px;font-weight:750}.synopsis-block{margin:20px 22px 0;padding:20px;border-left:4px solid #b18138;border-radius:4px 13px 13px 4px;background:#f8f5ee}.synopsis-block h3,.plan-block h3,.episode-card h3{margin:0 0 10px}.synopsis-block p{margin:0 0 10px;color:#35433d;line-height:1.8;white-space:pre-wrap}.synopsis-block small{color:#7b7468;line-height:1.6}.plan-block{padding:22px;border-top:1px solid #e4e8e3}.character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.character-grid article{padding:16px;border:1px solid #dde2dc;border-radius:12px;background:#fbfcfa}.character-grid article>strong{display:block;margin-bottom:3px;color:#203d34;font-size:17px}.character-grid article>span{display:block;margin-bottom:12px;color:#8b6a38;font-size:12px}.character-grid p{display:grid;grid-template-columns:40px 1fr;gap:7px;margin:7px 0 0;color:#56615c;font-size:13px;line-height:1.55}.character-grid p b{color:#293831}.storyline-list{display:grid;gap:9px}.storyline-list article{display:grid;grid-template-columns:70px minmax(120px,.5fr) 120px 2fr;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dfe4de;border-radius:11px}.storyline-list article>span{color:#9a6c27;font-size:12px;font-weight:800}.storyline-list small{color:#7c8781}.storyline-list p{margin:0;color:#56615c;font-size:13px;line-height:1.55}.asset-seed-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.asset-seed-grid>div{padding:13px 14px;border-radius:10px;background:#f3f6f2}.asset-seed-grid b{color:#203d34;font-size:12px}.asset-seed-grid p{margin:5px 0 0;color:#68736e;font-size:13px;line-height:1.55}.audit-panel{display:grid;grid-template-columns:130px 1fr;overflow:hidden;border:1px solid #d5dad4;border-radius:16px;background:#fff;box-shadow:0 12px 34px #22312b0f}.audit-panel--pass{border-color:#b9d5c8}.audit-panel--review{border-color:#e3cc9e}.audit-score{display:flex;min-height:120px;align-items:baseline;justify-content:center;padding-top:32px;color:#fff;background:#203d34}.audit-panel--review .audit-score{background:#9a6c27}.audit-score span{position:absolute;margin-top:-18px;font-size:11px;font-weight:750;opacity:.72}.audit-score strong{font-size:40px;letter-spacing:-.05em}.audit-score small{margin-left:3px}.audit-content{padding:20px 22px}.audit-content>strong{display:block;margin-bottom:5px}.audit-content>p{margin:0;color:#6f7a74;font-size:13px}.audit-content ul{display:grid;gap:8px;margin:13px 0 0;padding:0;list-style:none}.audit-content li{display:grid;grid-template-columns:75px 1fr;gap:5px 10px;padding-top:8px;border-top:1px solid #e5e9e4;font-size:13px}.audit-content li b{color:#8b6429}.audit-content li small{grid-column:2;color:#7d8782}.episode-picker{display:flex;align-items:center;gap:9px;color:#6d7772;font-size:12px}.episode-picker select{max-width:310px;height:39px;padding:0 10px;border:1px solid #d4dad4;border-radius:9px;outline:none;color:#2a3832;background:#fff}.episode-card{padding:22px}.episode-card__identity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:16px}.episode-card__identity>span{padding:7px 9px;border-radius:8px;color:#fff;background:#b18138;font-size:11px;font-weight:850}.episode-card__identity h3{margin:0}.episode-card__identity p{margin:0;color:#7a847f;font-size:12px}.beat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.beat-grid>div{min-height:170px;padding:14px;border:1px solid #dde2dc;border-radius:11px;background:linear-gradient(180deg,#fbfcfa,#f4f6f3)}.beat-grid b,.beat-grid span{display:block}.beat-grid b{color:#a1712a;font-size:12px}.beat-grid span{margin:5px 0 11px;color:#203d34;font-weight:800}.beat-grid p{margin:0;color:#5e6964;font-size:13px;line-height:1.55}.notes-field--episode{margin:18px 0 0}.episode-card__footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding-top:14px;border-top:1px solid #e3e7e2;color:#69746e;font-size:13px}.script-actions{display:flex;gap:9px}.generated-script-editor{display:block;width:100%;min-height:580px;padding:24px;border:0;border-bottom:1px solid #e1e5df;outline:none;resize:vertical;color:#25322d;background:#fbfcfa;font-family:Microsoft YaHei,sans-serif;font-size:15px;line-height:1.9}.generated-script-panel>.audit-panel{margin:20px;box-shadow:none}.script-library{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px}.script-library__sidebar,.script-library__content{overflow:hidden;border:1px solid #d5dad4;border-radius:19px;background:#fffffff0;box-shadow:0 18px 46px #22312b14}.script-library__sidebar{position:sticky;top:18px}.script-library__sidebar>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #e1e5df}.script-library__sidebar h2{margin:0}.script-library__sidebar>header>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#74531f;background:#fff2d8;font-size:12px;font-weight:850}.script-library__tools{display:grid;gap:8px;padding:12px;border-bottom:1px solid #e1e5df;background:#f8faf7}.script-library__tools input{width:100%;height:38px;padding:0 10px;border:1px solid #d3dad3;border-radius:8px;outline:none;background:#fff}.script-library__tools input:focus{border-color:#9e7a41;box-shadow:0 0 0 3px #b181381a}.script-library__tools button{min-height:38px;border:0;border-radius:8px;color:#fff;background:#203d34;font-size:12px;font-weight:750}.script-create-form{display:grid;gap:8px;padding-top:9px;border-top:1px solid #dde4db}.script-create-form textarea,.script-edit-form textarea{width:100%;resize:vertical;padding:10px;border:1px solid #d3dad3;border-radius:8px;outline:none;background:#fff;font:inherit}.script-create-form textarea{font-size:12px}.script-library__list{display:grid;gap:7px;max-height:calc(100vh - 260px);overflow-y:auto;padding:9px}.script-library__list>button{display:grid;gap:7px;min-width:0;padding:12px;border:1px solid transparent;border-radius:10px;text-align:left;color:#314039;background:transparent}.script-library__list>button:hover{background:#f1f4f0}.script-library__list>button.active{border-color:#214639;color:#fff;background:#203d34}.script-library__list strong{font-size:13px;line-height:1.4}.script-library__list button span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#75817a;font-size:11px;line-height:1.5}.script-library__list button.active span,.script-library__list button.active small{color:#c7d4ce}.script-library__list small{overflow:hidden;color:#8b9590;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.script-library__list>p{padding:10px;color:#7b8780;font-size:12px;line-height:1.6}.script-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid #e1e5df}.script-detail-heading h2{margin:0 0 6px;line-height:1.4}.script-detail-heading span{color:#78837d;font-size:11px}.script-detail-heading>div:last-child{display:flex;flex:0 0 auto;gap:8px}.script-detail-heading button{min-height:36px;padding:0 10px;border:1px solid #ccd5cc;border-radius:8px;color:#355045;background:#fff;font-size:11px;font-weight:750}.script-detail-heading button.danger{border-color:#e3b9b4;color:#994238;background:#fff4f2}.script-library__notice{margin:0;padding:10px 22px;border-bottom:1px solid #e2e6e1;color:#5f6c65;background:#f7f9f6;font-size:12px}.script-intro{margin:18px 22px;padding:18px;border-left:4px solid #b18138;border-radius:4px 11px 11px 4px;background:#f8f5ee}.script-intro>span{color:#73511d;font-size:12px;font-weight:850}.script-intro p{margin:9px 0 0;color:#3f4c43;font-size:13px;line-height:1.8;white-space:pre-wrap}.script-edit-form{display:grid;gap:14px;margin:18px 22px;padding:18px;border:1px solid #dce2db;border-radius:12px;background:#f8faf7}.script-edit-form label{display:grid;gap:7px;color:#526057;font-size:12px;font-weight:750}.script-edit-form input{width:100%;height:40px;padding:0 10px;border:1px solid #d3dad3;border-radius:8px;outline:none;background:#fff;font:inherit}.script-edit-form>div{display:flex;gap:8px}.script-edit-form button{min-height:36px;padding:0 12px;border:1px solid #ccd5cc;border-radius:8px;color:#355045;background:#fff}.script-edit-form button:first-child{border-color:#203d34;color:#fff;background:#203d34}.script-file-section{margin:0 22px 22px;overflow:hidden;border:1px solid #dce2db;border-radius:12px}.script-file-section>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border-bottom:1px solid #dce2db;background:#f7f9f6}.script-file-section h3{margin:0;font-size:15px}.script-file-section header p{margin:5px 0 0;color:#78837d;font-size:11px}.script-file-section header button{min-height:37px;flex:0 0 auto;padding:0 12px;border:0;border-radius:8px;color:#fff;background:#203d34;font-size:11px;font-weight:750}.script-file-list{display:grid;gap:9px;padding:14px}.script-file-list article{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid #e0e6df;border-radius:10px;background:#fff}.word-file-icon{display:grid;width:38px;height:42px;flex:0 0 auto;place-items:center;border-radius:7px;color:#fff;background:#29629c;font-size:19px;font-weight:850}.word-file-info{display:grid;flex:1;gap:4px;min-width:0}.word-file-info strong{overflow:hidden;color:#35433a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.word-file-info span{color:#8a958d;font-size:10px}.script-file-list article>a,.script-file-list article>button{padding:7px 10px;border:1px solid #cdd8ce;border-radius:7px;color:#305845;background:#f7faf7;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap}.script-file-list article>button.danger{border-color:#e3b9b4;color:#994238;background:#fff4f2}.script-file-empty{padding:28px 12px;color:#849087;font-size:12px;text-align:center}.product-center{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:16px}.production-sidebar,.production-content,.team-center{overflow:hidden;border:1px solid #d5dad4;border-radius:19px;background:#fffffff0;box-shadow:0 18px 46px #22312b14}.production-sidebar{position:sticky;top:18px}.production-sidebar__heading{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e1e5df}.production-sidebar__heading h2{margin:0;font-size:18px}.production-sidebar__heading>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#74531f;background:#fff2d8;font-size:12px;font-weight:850}.new-production{display:grid;gap:8px;padding:13px;border-bottom:1px solid #e2e6e1;background:#f8faf7}.new-production>input,.new-production div input{min-width:0;width:100%;height:38px;padding:0 10px;border:1px solid #d3dad3;border-radius:8px;outline:none;background:#fff}.new-production>input:focus,.new-production div input:focus,.episode-management select:focus,.account-form input:focus,.account-form select:focus{border-color:#9e7a41;box-shadow:0 0 0 3px #b181381a}.new-production div{display:grid;grid-template-columns:75px 1fr;gap:7px}.new-production button{border:0;border-radius:8px;color:#fff;background:#203d34;font-weight:750}.production-list{display:grid;max-height:calc(100vh - 260px);overflow-y:auto;padding:8px}.production-list button{display:grid;gap:5px;padding:12px 11px;border:0;border-radius:10px;text-align:left;color:#34423d;background:transparent}.production-list button:hover{background:#f1f4f0}.production-list button.active{color:#fff;background:#203d34;box-shadow:0 8px 18px #203d342e}.production-list small{color:#7d8782;font-size:11px;line-height:1.5}.production-list button.active small{color:#c7d4ce}.production-empty{margin:16px 10px;color:#8a938f;font-size:12px;line-height:1.6}.production-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border-bottom:1px solid #e1e5df}.production-heading h2{margin:0 0 5px}.production-heading>div>p:last-child{margin:0;color:#77817c;font-size:12px}.production-heading__actions{display:flex;align-items:stretch;gap:8px}.numbering-tip{display:grid;max-width:340px;gap:4px;padding:11px 13px;border:1px solid #e5d2ab;border-radius:11px;color:#74531f;background:#fff8e9}.numbering-tip b{font-size:12px}.numbering-tip span{color:#806d4e;font-size:11px;line-height:1.5}.delete-production-button{flex:0 0 auto;padding:0 12px;border:1px solid #e3b9b4;border-radius:10px;color:#994238;background:#fff4f2;font-size:11px;font-weight:750}.production-notice{margin:0;padding:10px 22px;border-bottom:1px solid #e2e6e1;color:#5f6c65;background:#f7f9f6;font-size:12px}.source-episode-list{display:grid;gap:14px;padding:16px;background:#f5f7f4}.source-episode{overflow:hidden;border:1px solid #d8ded7;border-radius:15px;background:#fff}.source-episode__heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #e2e6e1}.source-identity{display:flex;align-items:center;gap:11px}.source-identity>span{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;color:#fff;background:#b18138;font-size:12px;font-weight:900}.source-identity h3{margin:0 0 3px;font-size:16px}.source-identity small{color:#7c8781;font-size:11px}.episode-management{display:flex;align-items:center;gap:8px}.episode-management select{max-width:180px;height:36px;padding:0 9px;border:1px solid #d4dad4;border-radius:8px;outline:none;color:#34423d;background:#fff;font-size:12px}.add-child-button{height:36px;padding:0 11px;border:1px solid #c9d1ca;border-radius:8px;color:#385047;background:#f8faf7;font-size:12px;font-weight:750}.assignee-chip{padding:7px 10px;border-radius:999px;color:#53615a;background:#eef2ed;font-size:11px}.delivery-units{display:grid;gap:12px;padding:14px}.delivery-unit{overflow:hidden;border:1px solid #dfe4de;border-radius:12px;background:#fafbf9}.delivery-unit__heading{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e2e6e1}.delivery-unit__heading>div{display:flex;align-items:center;gap:9px}.delivery-unit__heading strong{color:#26362f;font-size:13px}.delivery-unit__heading button{padding:5px 8px;border:0;color:#9b4a40;background:transparent;font-size:11px}.global-number{padding:4px 8px;border-radius:999px;color:#fff;background:#203d34;font-size:10px;font-weight:800}.global-number--waiting{color:#7a847f;background:#e8ece7}.version-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:10px}.version-slot{display:grid;align-content:start;min-height:154px;padding:11px;border:1px dashed #cfd6cf;border-radius:10px;background:#fff}.version-slot--filled{border-style:solid}.version-slot>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.version-slot>header div{display:grid;gap:2px}.version-slot>header strong{color:#304039;font-size:13px}.version-slot>header small{color:#8a938f;font-size:10px}.review-state{padding:3px 6px;border-radius:999px;font-size:9px;font-weight:800}.review-state--pending{color:#8a6428;background:#fff2d8}.review-state--approved{color:#26704f;background:#e6f5ed}.review-state--rejected{color:#9c4038;background:#ffebe8}.empty-upload{display:grid;flex:1;place-items:center;align-content:center;gap:5px;min-height:103px;margin-top:7px;border-radius:8px;color:#79571f;background:#fbf7ef;cursor:pointer}.empty-upload span{font-size:12px;font-weight:800}.empty-upload small{color:#9c8d72;font-size:9px}.version-file{display:grid;gap:3px;margin-top:12px;padding:8px;border-radius:8px;text-decoration:none;color:#405049;background:#f1f4f0}.version-file span{overflow:hidden;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.version-file small{color:#7d8782;font-size:9px}.review-note{margin:7px 0 0;color:#915047;font-size:10px;line-height:1.4}.version-actions,.review-actions{display:flex;gap:6px;margin-top:8px}.mini-action,.review-actions button{flex:1;padding:5px 7px;border:1px solid #d2d8d1;border-radius:7px;text-align:center;color:#53615a;background:#fff;font-size:10px;cursor:pointer}.mini-action--danger{color:#9b4a40}.review-actions{padding-top:7px;border-top:1px solid #e5e9e4}.review-actions button:first-child{color:#236b4a;border-color:#b8dbc9;background:#edf8f2}.review-actions button:last-child{color:#914039;border-color:#e7c0bc;background:#fff1ef}.product-placeholder{display:grid;min-height:360px;place-items:center;padding:30px;color:#89938e;text-align:center}.team-heading{padding:22px;border-bottom:1px solid #e1e5df}.team-heading h2{margin:0 0 7px}.team-heading>div>p:last-child{margin:0;color:#748079;font-size:13px}.team-layout{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:440px}.account-form{display:grid;align-content:start;gap:14px;padding:22px;border-right:1px solid #e1e5df;background:#f8faf7}.account-form h3{margin:0 0 3px}.account-form label{display:grid;gap:6px;color:#49574f;font-size:12px;font-weight:750}.account-form input,.account-form select{width:100%;height:41px;padding:0 11px;border:1px solid #d4dad4;border-radius:9px;outline:none;background:#fff}.account-form>p{margin:0;color:#6f7a74;font-size:11px}.default-password-note{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border:1px solid #e4d1aa;border-radius:9px;color:#78571f;background:#fff7e6;font-size:12px}.default-password-note strong{font-family:Cascadia Code,Consolas,monospace;font-size:15px;letter-spacing:.08em}.account-list{display:grid;align-content:start;gap:8px;padding:18px}.account-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid #dde2dc;border-radius:11px}.account-list article div{display:grid;gap:2px}.account-list small{color:#84908a}.account-list article>b{padding:4px 8px;border-radius:999px;color:#6f552d;background:#fff2d8;font-size:10px}.role-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#fff;background:#718078;font-size:12px;font-weight:850}.role-avatar--leader{background:#9a6c27}.role-avatar--owner{background:#203d34}@media(max-width:760px){.login-shell{padding:18px}.login-card{padding:28px 22px;border-radius:20px}.app-shell{width:min(100% - 24px,680px);padding-top:24px}.hero{align-items:stretch;flex-direction:column}.hero-actions{align-items:stretch;justify-content:space-between}.hero-actions{flex-wrap:wrap}.workspace-nav,.workspace-nav button{flex:1}.current-user{order:3;flex:1;padding:7px 0 0;border-top:1px solid #d2d8d2;border-left:0}.reference-heading,.script-panel__heading,.script-panel__footer,.results__heading,.revision-row,.generate-controls{align-items:stretch;flex-direction:column}.button--primary{width:100%}.reference-grid{grid-template-columns:1fr}.shot-card__header{align-items:flex-start}.workflow-strip{overflow-x:auto}.workflow-strip>i{min-width:24px}.novel-section-heading,.novel-input-footer,.episode-card__footer{align-items:stretch;flex-direction:column}.novel-settings,.asset-seed-grid{grid-template-columns:1fr}.storyline-list article{grid-template-columns:70px 1fr}.storyline-list article p{grid-column:1 / -1}.beat-grid{grid-template-columns:1fr}.beat-grid>div{min-height:0}.audit-panel{grid-template-columns:1fr}.audit-score{min-height:100px;padding-top:28px}.episode-picker{align-items:stretch;flex-direction:column}.episode-picker select{max-width:none}.episode-card__identity{grid-template-columns:auto 1fr}.episode-card__identity p{grid-column:1 / -1}.script-actions{align-items:stretch;flex-direction:column}.prompt-layout{grid-template-columns:1fr}.prompt-navigator{position:static}.prompt-task-list,.prompt-history-list{display:flex;max-height:none;overflow-x:auto}.prompt-task-list>button,.prompt-history-list>button{min-width:175px;max-width:240px}.script-library{grid-template-columns:1fr}.script-library__sidebar{position:static}.script-library__list{display:flex;max-height:none;overflow-x:auto}.script-library__list>button{min-width:210px;max-width:270px}.script-detail-heading{flex-direction:column}.script-detail-heading>div:last-child{flex-wrap:wrap}.script-file-section>header{align-items:stretch;flex-direction:column}.script-file-list article{flex-wrap:wrap}.word-file-info{min-width:calc(100% - 54px)}.product-center{grid-template-columns:1fr}.production-sidebar{position:static}.production-list{display:flex;max-height:none;overflow-x:auto}.production-list button{min-width:190px}.production-heading,.source-episode__heading{align-items:stretch;flex-direction:column}.production-heading__actions{flex-direction:column}.delete-production-button{min-height:40px}.numbering-tip{max-width:none}.episode-management{align-items:stretch;flex-direction:column}.episode-management select{max-width:none}.version-grid,.team-layout{grid-template-columns:1fr}.account-form{border-right:0;border-bottom:1px solid #e1e5df}}
