:root{--source-blue: #edf2ff;--source-teal: #eaf7f1;--source-purple: #f5eefc;--source-amber: #fcf4e5;--source-selected: #d8e4ff;--source-blue-line: #6b86cd;--source-teal-line: #488d78;--source-purple-line: #9570b8;--source-amber-line: #aa8348}@media(prefers-color-scheme:dark){:root{--source-blue: #243551;--source-teal: #1e3934;--source-purple: #352d46;--source-amber: #40361f;--source-selected: #3c537d;--source-blue-line: #9db5f3;--source-teal-line: #78c5ad;--source-purple-line: #c1a0e2;--source-amber-line: #d9b278}}.source-tone-0{--range-fill: var(--source-blue);--range-line: var(--source-blue-line)}.source-tone-1{--range-fill: var(--source-teal);--range-line: var(--source-teal-line)}.source-tone-2{--range-fill: var(--source-purple);--range-line: var(--source-purple-line)}.source-tone-3{--range-fill: var(--source-amber);--range-line: var(--source-amber-line)}.source-workbench{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.4fr);margin-bottom:25px;overflow:hidden;scroll-margin-top:18px;height:min(800px,76vh);min-height:570px}.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.workbench-heading h2{font-size:17px;margin:0}.workbench-heading p{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.6}.workbench-heading select{max-width:210px;min-width:0;font-size:13px}.workbench-heading .button{padding:8px 11px;min-height:35px}.goal-outline,.source-reading-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.goal-outline{border-right:1px solid var(--line)}.goal-outline-list{overflow-y:auto;padding:14px;flex:1}.goal-card{display:block;width:100%;text-align:left;border:1px solid var(--line);border-left:3px solid var(--range-line, var(--line));background:var(--surface, #fff);color:var(--text-primary, #30394c);border-radius:7px;padding:14px;margin-bottom:11px}.goal-card:hover{background:var(--range-fill, var(--surface-hover, #f5f7fb))}.goal-card.selected{border-color:var(--accent);border-left-width:4px;background:var(--source-selected);box-shadow:0 0 0 1px var(--accent)}.goal-card-title{display:flex;align-items:baseline;gap:9px;line-height:1.65}.goal-card-title strong{font-size:15px;flex:1;min-width:0;overflow-wrap:anywhere}.goal-number{font-size:13px;font-weight:650;color:var(--text-secondary, #647087)}.goal-selected-label{font-size:12px;color:var(--text-primary, #30436e);white-space:nowrap}.goal-card-body{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px;margin-top:9px;color:var(--text-secondary, #647087)}.goal-card.selected .goal-card-body{display:block;color:var(--text-primary, #30394c)}.goal-card-meta{display:flex;gap:5px;align-items:center;font-size:12px;color:var(--text-secondary, #667590);margin-top:12px}.goal-all{display:flex;align-items:center;gap:12px}.goal-all strong{display:block;font-size:14px}.goal-all small{display:block;font-size:12px;color:var(--text-secondary, #667590);margin-top:6px}.source-reader.prose{padding:24px 26px;margin:0;flex:1;min-height:180px;overflow:auto;font-size:16px;line-height:2.15;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;position:relative}.source-fragment{background:var(--range-fill);color:inherit;border-bottom:1px solid var(--range-line);-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer}.source-fragment.selected{background:var(--source-selected);border-bottom:2px solid var(--accent);box-shadow:0 0 0 1px var(--accent)}.source-fragment.overlapping{border-bottom-style:double;border-bottom-width:3px}.source-fragment:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.source-reader ::selection{background:var(--accent);color:var(--canvas, white)}.source-version-note{padding:9px 20px;font-size:13px;color:var(--warning-text, #82632e);background:var(--warning-surface, #fcf4e5)}.source-current-label{display:flex;align-items:center;gap:8px;padding:10px 20px;line-height:1.6;background:var(--surface-soft, #f5f7fb);color:var(--text-primary, #3f506e);font-size:14px}.source-current-label small{font-size:12px;margin-left:auto;color:var(--muted)}.source-selection-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0}.source-connect-tools{padding:14px 20px;border-top:1px solid var(--line);flex-shrink:0;max-height:280px;overflow:auto}.source-connect-tools p{font-size:13px;margin:0;color:var(--text-secondary, #647087);line-height:1.65}.source-connect-tools .button{font-size:13px;min-height:33px;padding:7px 9px}.source-connect-tools>small{display:block;color:var(--muted);font-size:12px;margin-top:9px}.source-linked-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.source-linked-list .tag{font-size:12px;padding:2px 7px}.source-linked-list .icon-button{min-width:25px;min-height:25px}.keyboard-source-selection{font-size:12px;color:var(--muted);margin-top:12px}.keyboard-source-selection summary{cursor:pointer;padding:4px 0}.keyboard-source-selection textarea{width:100%;height:180px;margin-top:9px;font-size:14px}.studio-grid.studio-detail-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.studio-detail-grid .generation-panel{grid-column:auto}.writing-length-conditions{padding:14px;border:1px solid var(--line);border-radius:7px;min-width:0;margin:0 0 18px}.writing-length-conditions legend{font-size:14px;font-weight:600;padding:0 6px}.writing-length-conditions .form-grid{gap:10px}.writing-length-conditions .field{margin-bottom:8px}.writing-length-conditions input[readonly]{background:var(--surface-soft, #f5f7fb)}.writing-length-conditions p{margin:0;font-size:12px;line-height:1.8;color:var(--text-secondary, #647087)}@media(max-width:1000px){.source-workbench{grid-template-columns:minmax(225px,.9fr) minmax(0,1.2fr)}.workbench-heading{flex-wrap:wrap;padding:15px;gap:10px}.source-reader.prose{padding:19px}.source-current-label{flex-wrap:wrap}.source-current-label small{margin-left:0}}@media(max-width:760px){.source-workbench{display:flex;flex-direction:column;height:auto;min-height:0}.goal-outline{border-right:0;border-bottom:1px solid var(--line)}.goal-outline-list{max-height:300px}.source-reader.prose{height:48vh;min-height:260px;flex:auto}.source-reading-pane{min-height:470px}.source-connect-tools{max-height:none}.studio-grid.studio-detail-grid{grid-template-columns:1fr}.source-workbench .workbench-heading{flex-wrap:nowrap}.workbench-heading select{max-width:155px}}.instruction-suggestions{padding:20px 24px;margin-bottom:20px}.suggestion-toolbar,.suggestion-status{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.suggestion-toolbar h2{display:flex;align-items:center;gap:8px;font-size:17px;margin:0 0 6px}.suggestion-toolbar p{margin:0}.suggestion-toolbar>.row{align-items:flex-end;flex-wrap:wrap}.suggestion-toolbar .field{margin:0;max-width:150px}.suggestion-status{margin-top:16px}.suggestion-status>.row{flex-wrap:wrap}.suggestion-review-list{display:grid;gap:20px;margin:20px 0}.suggestion-review-card{border:1px solid var(--line);border-radius:12px;padding:18px;min-width:0}.suggestion-select{display:flex;align-items:center;gap:10px;margin-bottom:18px;cursor:pointer}.suggestion-select input{width:18px;height:18px;flex-shrink:0}.suggestion-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.suggestion-review-grid fieldset{border:0;padding:0;margin:0;min-width:0}.suggestion-source{min-width:0}.suggestion-source small{display:block;margin-top:6px}.suggestion-source pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:460px;overflow-y:auto;margin-bottom:0}@media(max-width:700px){.instruction-suggestions{padding:18px}.suggestion-review-grid{grid-template-columns:1fr}.suggestion-status select{max-width:100%}}:root{color-scheme:light;--accent: #4766e9;--nav: #171d2b;--muted: #7e8798;--line: #e7eaf1}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--accent: #a2b5ff;--control-accent: #a2b5ff;--nav: #101622;--muted: #a3b0c5;--line: #2f3d52;--canvas: #101722;--surface: #182130;--surface-soft: #1d293b;--surface-hover: #24334a;--surface-raised: #1d293b;--surface-selected: #26395e;--surface-track: #34455f;--input-surface: #111a28;--input-border: #5b6e8a;--border: #35465f;--accent-border: #6b89c7;--text-primary: #e5ebf5;--text-secondary: #bdc9dc;--text-muted: #a3b0c5;--placeholder: #93a3bb;--button-background: #4560d4;--button-hover: #4e69dd;--focus: #b4c5ff;--info-surface: #1e2e4b;--info-border: #445e89;--info-text: #b6c8f0;--success-surface: #19372f;--success-border: #396c5c;--success-text: #82d9b6;--teal-surface: #173634;--teal-text: #7ddbd0;--warning-surface: #3b311c;--warning-text: #edc77b;--danger-surface: #3c2530;--danger-border: #855064;--danger-text: #f4a5b5;--purple-surface: #322744;--purple-text: #d4b4ff;--overlay: #050a14c9;--card-shadow: 0 8px 22px #00000033;--modal-shadow: 0 20px 80px #00000080;--toast-shadow: 0 8px 24px #00000066;--workflow-background: linear-gradient(120deg, #1d2b43, #21334b)}}:root{font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,sans-serif;color:var(--text-primary, #242d40);background:var(--canvas, #f5f6fa);font-synthesis:none;text-rendering:optimizeLegibility;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,input,select,textarea{outline-offset:3px}:focus-visible{outline:2px solid var(--focus, #6581ff)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1.1px;line-height:1.4;margin-bottom:8px;font-weight:720}h2{font-size:18px;letter-spacing:-.45px;margin-bottom:10px;font-weight:690}h3{font-size:16px;letter-spacing:-.3px;margin-bottom:8px}p{line-height:1.75}small,.small{font-size:14px}strong{font-weight:650}svg{flex-shrink:0;stroke-width:1.7}input,textarea,select{color:var(--text-primary, #30394c);border:1px solid var(--input-border, #dfe3eb);background:var(--input-surface, white);border-radius:7px;min-height:40px;padding:9px 11px;max-width:100%}input::placeholder,textarea::placeholder{color:var(--placeholder, #a0a7b5)}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;min-height:0;flex-shrink:0;margin:0}input[type=number]{min-width:0}textarea{resize:vertical;line-height:1.85;min-height:90px}select{padding-right:28px;text-overflow:ellipsis}pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}code,.mono{font-family:SFMono-Regular,Consolas,monospace;font-size:14px}kbd{font-size:14px;color:var(--text-muted, #9ba2af);background:var(--surface-soft, #f3f4f7);border:1px solid var(--border, #e8eaf0);border-radius:4px;padding:1px 5px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.gap-lg{gap:24px}.muted{color:var(--muted)}.wrap-anywhere{overflow-wrap:anywhere}.text-success{color:var(--success-text, #2e9978)}.danger-text{color:var(--danger-text, #ca5964)}.full-width{width:100%}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid var(--button-background, var(--accent));background:var(--button-background, var(--accent));color:#fff;border-radius:7px;padding:10px 16px;font-weight:550;font-size:14px;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover:not(:disabled){background:var(--button-hover, #3856d4);box-shadow:0 3px 9px #4766e922}.button.secondary{background:var(--surface, white);border-color:var(--border, #dfe3ec);color:var(--text-secondary, #4f596d)}.button.secondary:hover:not(:disabled){background:var(--surface-hover, #f8f9fc);box-shadow:none}.button.ghost{background:transparent;border-color:transparent;color:var(--text-secondary, #687187)}.button.ghost:hover:not(:disabled){background:var(--surface-hover, #edf0f7);box-shadow:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;border-radius:6px;min-width:30px;min-height:30px;padding:5px}.icon-button:hover{background:var(--surface-hover, #eceff6)}.text-button,.text-link{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:14px;font-weight:600;background:transparent;border:0;padding:4px 0}.text-button:hover,.text-link:hover{text-decoration:underline}.tag{display:inline-flex;align-items:center;gap:4px;white-space:normal;background:var(--surface-soft, #f1f3f8);color:var(--text-secondary, #6e778b);border:1px solid var(--border, #e9ecf3);font-size:13px;padding:4px 7px;line-height:1.3;border-radius:4px}.tag.blue{background:var(--info-surface, #eff2ff);color:var(--info-text, #5571dd);border-color:var(--info-border, #e4eaff)}.count-badge{display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft, #e9edf6);border-radius:5px;min-width:24px;height:23px;padding:0 7px;font-size:13px;color:var(--text-secondary, #65708a);font-weight:650}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:650;color:var(--text-muted, #8a92a4);line-height:1.5;margin-bottom:9px}.status{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted, #838b9b);background:var(--surface-soft, #f0f2f7);border:1px solid transparent;border-radius:5px;font-size:13px;line-height:1.4;padding:4px 7px;white-space:nowrap}.status i{width:5px;height:5px;background:currentColor;border-radius:50%}.status.ready,.status.succeeded,.status.trained,.status.active{color:var(--success-text, #329575);background:var(--success-surface, #edf8f3)}.status.running,.status.training,.status.preparing{color:var(--info-text, #5571db);background:var(--info-surface, #edf1ff)}.status.queued,.status.starting{color:var(--warning-text, #b38a3c);background:var(--warning-surface, #fcf7e9)}.status.failed,.status.serve_failed{color:var(--danger-text, #c0606d);background:var(--danger-surface, #fcedef)}.status.train{color:var(--info-text, #5a78dc);background:var(--info-surface, #eef2ff)}.status.valid{color:var(--teal-text, #36a096);background:var(--teal-surface, #eaf8f5)}.status.test{color:var(--purple-text, #a588ca);background:var(--purple-surface, #f4effc)}.status.main{background:var(--info-surface, #edf1f9);color:var(--info-text, #6b7eab)}.status.extra{color:var(--warning-text, #af8a52);background:var(--warning-surface, #faf4e9)}.status.draft,.status.interrupted{background:var(--warning-surface, #fbf2e6);color:var(--warning-text, #ad8853)}.prose{font-size:15px;line-height:2.05;letter-spacing:.01em;color:var(--text-primary, #3c4555);white-space:pre-wrap;word-break:break-word}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:35;width:228px;background:var(--nav);color:#a3aabc;display:flex;flex-direction:column;padding:31px 18px 18px}.brand{display:flex;align-items:center;gap:11px;color:#fff;width:max-content}.sidebar .brand{margin:0 13px 34px}.brand-mark{font-family:Georgia,serif;font-weight:700;background:#506bed;color:#fff;border-radius:10px;font-size:36px;line-height:42px;display:inline-block;height:44px;width:44px;padding-left:13px;letter-spacing:-4px}.brand-mark span{color:#b9caff}.brand strong{font-size:19px;letter-spacing:-.4px;line-height:1.05}.brand strong>span{display:block;font-size:11px;letter-spacing:4px;font-weight:500;color:#8e98af;margin-top:7px}.workspace-label{border:1px solid #303749;background:#1e2535;padding:11px 10px;border-radius:8px;display:flex;gap:9px;align-items:center;margin-bottom:28px}.workspace-label>div{flex:1;min-width:0}.workspace-label strong{display:block;font-size:13px;color:#e0e4ef}.workspace-label small{display:block;font-size:11px;color:#858da2;margin-top:5px}.avatar{width:30px;height:30px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:var(--info-surface, #d9e1f6);color:var(--info-text, #3c589c);font-size:14px;font-weight:600;flex-shrink:0}.workspace-label .avatar{background:#394765;color:#c5d4f6}.nav-label{font-size:11px;letter-spacing:1.3px;color:#6c758e;margin:0 13px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a,.sidebar-bottom>a{display:flex;align-items:center;gap:12px;border-radius:6px;min-height:43px;padding:10px 13px;font-size:14px;font-weight:450;color:#9da7bd}.sidebar nav a.active{background:#2c3c72;color:#dbe4ff}.sidebar nav a.active svg{color:#93acff}.sidebar nav a:hover:not(.active),.sidebar-bottom>a:hover{background:#222b3e;color:#fff}.nav-count{margin-left:auto;font-size:12px;background:#3d4d71;padding:2px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:24px}.gpu-badge{padding:15px 10px;border-top:1px solid #2e3545;display:flex;gap:10px;align-items:center;margin-bottom:10px}.gpu-badge>div{flex:1}.gpu-badge strong{font-size:12px;font-weight:500;color:#bcc4d6}.gpu-badge small{display:block;font-size:11px;margin-top:5px;color:#6e7b95}.gpu-badge>svg{color:#6d7c9b}.connection-dot{width:6px;height:6px;background:#b1b8c6;display:inline-block;border-radius:50%;flex-shrink:0}.connection-dot.online{background:#6ab5a0;box-shadow:0 0 0 3px #76b8a410}.main-shell{margin-left:228px;flex:1;min-width:0}.topbar{height:70px;background:var(--surface, #fff);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px;font-size:13px}.topbar strong{font-size:13px;font-weight:500}.topbar>div>svg{color:var(--text-muted, #b5bbca)}.global-search{display:flex;gap:8px;align-items:center;color:var(--text-muted, #9aa3b5)}.global-search input{border:0;padding:4px 0;width:150px;min-height:28px;font-size:13px;background:transparent}.global-search input:focus{outline:none}.top-divider{height:21px;width:1px;background:var(--surface-track, #e9edf3);margin:0 12px}.user-label{display:flex;align-items:center;gap:12px;color:var(--text-secondary, #767f93)}.small-avatar{width:28px;height:28px;border-radius:50%;font-size:12px;background:var(--surface-soft, #edf0f8)}.page{max-width:1640px;margin:0 auto;padding:35px 37px 0}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:29px}.page-header p{font-size:14px;color:var(--text-muted, #8b93a3);margin-bottom:0;line-height:1.65}.header-actions{display:flex;gap:9px;align-items:center;padding-bottom:3px;flex-shrink:0}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:28px 0 23px;font-size:12px;color:var(--text-muted, #a3aab9);border-top:1px solid var(--border, #e6e9f0);margin-top:37px}.page-footer>span:first-child{font-weight:600;letter-spacing:.3px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 14px}.section-title h2{font-size:15px;margin-bottom:0}.section-title p{font-size:13px;color:var(--text-muted, #949cad);margin:6px 0 0}.panel{background:var(--surface, #fff);border:1px solid var(--line);border-radius:9px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat{border:1px solid var(--line);background:var(--surface, #fff);border-radius:9px;padding:19px 21px}.stat .row{font-size:13px;color:var(--text-secondary, #7e879a)}.stat .row svg{color:var(--text-muted, #8d9bbe)}.stat>strong{font-size:31px;font-weight:620;line-height:1.2;display:block;margin:16px 0 8px;letter-spacing:-.8px}.stat>strong small{font-size:13px;color:var(--text-primary, #9199a9);letter-spacing:0;font-weight:400;margin-left:7px}.stat p{font-size:12px;color:var(--text-muted, #a0a7b6);margin:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 274px;gap:26px}.dashboard-grid aside .section-title{margin-top:29px}.work-row{display:flex;align-items:center;gap:21px;padding:23px 24px;border-bottom:1px solid var(--border, #eef0f5);transition:background .15s}.work-row:last-child{border-bottom:0}.work-row:hover{background:var(--surface-hover, #fbfcff)}.mini-book{position:relative;width:73px;height:96px;border-radius:3px 6px 6px 3px;flex-shrink:0;display:flex;flex-direction:column;justify-content:space-between;padding:10px 11px 13px;border-left:4px solid #ffffff22;box-shadow:3px 4px 8px #1b273b10}.mini-book>span{font-family:Georgia,serif;font-size:14px;color:#ffffff80}.mini-book svg{color:#fffa}.book-0{background:linear-gradient(135deg,#37434a,#5b7770);color:#eff4e9}.book-1{background:linear-gradient(135deg,#666276,#9b8693);color:#f2e9ec}.book-2{background:linear-gradient(135deg,#687d9c,#385b7e);color:#ecf2fc}.book-3{background:linear-gradient(135deg,#a18465,#765e56);color:#fff1e5}.work-row h3{font-size:17px;font-weight:630;margin-bottom:8px}.work-row p{font-size:13px;color:var(--text-muted, #939aab);margin:0 0 9px}.work-row b,.engine-card p b{font-weight:400;color:var(--text-muted, #c2c7d2);padding:0 4px}.workflow-card{position:relative;background:var( --workflow-background, linear-gradient(120deg, #eef1fb, #f0f4fb) );border:1px solid var(--info-border, #e3e8f6);border-radius:9px;margin-top:20px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px}.workflow-card h2{font-size:17px;margin:7px 0 8px}.workflow-card p{font-size:13px;color:var(--info-text, #8c95a9);max-width:320px;margin-bottom:17px}.workflow-card .eyebrow{font-size:8px;letter-spacing:1.5px;color:var(--info-text, #91a0c2)}.workflow-steps{display:flex;align-items:center;gap:8px;color:var(--info-text, #8e9dcc)}.workflow-steps svg{width:18px}.workflow-steps i{height:1px;width:9px;background:var(--surface-track, #c7d0e8)}.engine-card{padding:21px}.engine-icon,.version-icon{background:var(--info-surface, #eff2fe);width:41px;height:41px;border-radius:10px;color:var(--info-text, #6c83d6);display:flex;align-items:center;justify-content:center}.engine-card h3{font-size:17px;margin:18px 0 7px}.engine-card p{font-size:12px;color:var(--text-muted, #939dae);margin-bottom:21px}.engine-line{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:15px 0;color:var(--text-muted, #8892a6)}.engine-line strong{font-weight:600;color:var(--text-primary, #495770)}.engine-line em{font-style:normal;font-weight:400;color:var(--text-muted, #9ba6bb)}.engine-line .tag{font-size:11px}.slots{display:flex;gap:5px;margin-bottom:19px}.slots span{height:5px;background:var(--surface-track, #e9edf7);flex:1;border-radius:3px}.slots span.active{background:#6e8af5}.engine-card>.text-link{font-size:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:4px;width:100%;justify-content:space-between}.split-card{padding:17px 21px}.split-meter{display:flex;height:7px;gap:3px;margin-bottom:18px;border-radius:4px;overflow:hidden}.split-meter .train,.split-dot.train{background:#7190ea}.split-meter .valid,.split-dot.valid{background:#66bcae}.split-meter .test,.split-dot.test{background:#b6a0d8}.split-card .engine-line{margin:12px 0}.split-card .status{background:none;padding:0}.split-card p{font-size:11px;border-top:1px solid var(--line);padding-top:13px;margin-bottom:0;color:var(--text-muted, #a3aabc)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0 16px}.toolbar h2{font-size:16px;margin:0}.toolbar strong{font-size:14px}.toolbar select{font-size:14px;min-height:36px;max-width:285px}.search-input{display:flex;align-items:center;gap:9px;border:1px solid var(--input-border, #e0e5ee);background:var(--input-surface, white);border-radius:7px;padding:0 12px;color:var(--text-muted, #9ca5b6)}.search-input input{border:0;min-height:36px;padding:7px 0;width:175px;font-size:14px;background:none}.search-input input:focus{outline:none}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:550;color:var(--text-muted, #939db0);background:var(--surface-soft, #fafbfd);padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:16px 20px;font-size:14px;border-bottom:1px solid var(--border, #eef1f5)}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:var(--surface-hover, #fcfdff)}.table-title{border:0;background:transparent;padding:0;color:var(--text-primary, #3f4c66);font-size:14px;font-weight:550;text-align:left;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.table-title:hover{color:var(--accent)}.pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin:23px 0;color:var(--text-muted, #8791a5);font-size:14px}.pagination .button{font-size:13px;min-height:32px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.book-card{background:var(--surface, white);border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:box-shadow .2s,transform .2s}.book-card:hover{box-shadow:var(--card-shadow, 0 8px 22px #25366614);transform:translateY(-3px)}.book-cover{height:264px;margin:17px 17px 0;border-radius:4px;border-left:6px solid #ffffff20;padding:25px 25px 22px;display:flex;flex-direction:column;position:relative;overflow:hidden}.book-cover:after{content:"";width:200px;height:200px;border:1px solid #ffffff12;border-radius:50%;position:absolute;right:-80px;bottom:-95px;box-shadow:0 0 0 24px #ffffff03,0 0 0 49px #ffffff04}.cover-category{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.6px;color:#ffffff83}.cover-category>span{font-family:Georgia,serif;font-size:14px}.book-cover h2{font-family:Georgia,"Noto Serif KR",serif;font-size:24px;letter-spacing:-.9px;line-height:1.6;font-weight:500;margin:31px 0 16px;max-width:210px}.cover-rule{height:1px;width:25px;background:#fff6}.cover-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#ffffff87}.book-meta{padding:21px 23px 23px}.book-meta h3{margin:16px 0 9px;font-size:16px}.book-meta p{font-size:13px;color:var(--text-muted, #919aac);margin-bottom:19px}.book-meta b{padding:0 5px;font-weight:400;color:var(--text-muted, #c4cbd9)}.book-meta small{font-size:12px;color:var(--text-muted, #a0a9ba)}.book-progress{height:3px;border-radius:5px;background:var(--surface-track, #edf0f6);margin-bottom:10px;overflow:hidden}.book-progress span{height:100%;display:block;min-width:2px;background:#8199e7}.add-book{min-height:415px;border:1px dashed var(--border, #d6ddea);border-radius:9px;background:transparent;color:var(--text-muted, #939fb7);display:flex;flex-direction:column;align-items:center;justify-content:center}.add-book>span{background:var(--surface-soft, #eaf0fa);color:var(--text-muted, #9daed2);padding:13px;border-radius:50%;margin-bottom:20px}.add-book strong{font-size:14px;color:var(--text-primary, #7d8ba8)}.add-book p{font-size:13px;margin:10px 0 0;line-height:1.9}.add-book:hover{background:var(--surface-hover, #eff3fb)}.back-link{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted, #929bad);font-size:13px;margin-bottom:19px}.work-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:27px 0}.work-shortcuts>a{background:var(--surface, #fff);border:1px solid var(--line);border-radius:8px;padding:19px;display:flex;align-items:center;gap:13px;color:var(--text-muted, #8598c5)}.work-shortcuts>a>div{flex:1}.work-shortcuts strong{display:block;font-size:14px;color:var(--text-primary, #506080)}.work-shortcuts small{display:block;font-size:12px;margin-top:6px;color:var(--text-muted, #a0a9bd)}.work-shortcuts a:hover{border-color:var(--accent-border, #b6c5f6)}.reader-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0}.reader{max-height:64vh;overflow:auto;padding:20px 32px 30px;border-top:1px solid var(--line);white-space:pre-wrap}.reader-editor{width:100%;min-height:48vh;font-size:15px;line-height:2;padding:20px}.reader-tools .button{font-size:13px;min-height:33px;padding:7px 10px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;min-width:0}.field>span,.field>.row>span{font-size:14px;font-weight:550;color:var(--text-primary, #59667e)}.field>input,.field>select,.field>textarea{width:100%}.field small{font-size:12px;line-height:1.7;color:var(--text-muted, #959fb2)}.field input,.field select,.field textarea{font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.input-unit{display:flex;width:100%;border:1px solid var(--input-border, #dfe3eb);border-radius:7px;overflow:hidden;background:var(--input-surface, white)}.input-unit input{width:100%;border:0;min-width:0}.input-unit select{border:0;border-radius:0;background:var(--surface-soft, #f7f9fc);min-width:68px;font-size:14px}.tabs{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border, #e0e5ef)}.tabs button{background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:12px 3px;color:var(--text-muted, #8e99ae);font-size:14px;white-space:nowrap}.tabs button.active{color:var(--info-text, #506bd1);border-bottom-color:var(--accent-border, #5874e4);font-weight:600}.large-tabs{gap:29px;margin-top:-2px;margin-bottom:25px}.large-tabs button{font-size:14px;padding:14px 0}.large-tabs span{margin-left:6px;font-size:12px}.info-banner,.dataset-policy{display:flex;align-items:center;gap:15px;background:var(--info-surface, #eef2fd);border:1px solid var(--info-border, #e2e8fa);border-radius:8px;padding:20px 23px;margin-bottom:24px;color:var(--info-text, #7186c2)}.info-banner>div,.dataset-policy>div:not(.policy-icon){flex:1}.info-banner strong,.dataset-policy strong{display:block;font-size:14px;color:var(--info-text, #5f749e);margin-bottom:5px}.info-banner span{font-size:13px;line-height:1.7;color:var(--info-text, #8b9ab7)}.info-banner .text-link{font-size:13px}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.prompt-card{text-align:left;background:var(--surface, white);border:1px solid var(--line);border-radius:8px;padding:22px;min-width:0;color:var(--text-primary, #3f4d68);transition:border-color .15s,box-shadow .15s}.prompt-card:hover{border-color:var(--accent-border, #aebfec);box-shadow:var(--card-shadow, 0 4px 12px #29448009)}.prompt-card h3{margin:18px 0 11px;font-size:15px}.prompt-card>p{font-size:14px;color:var(--text-muted, #929bae);line-height:1.9;height:68px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.prompt-card-bottom{border-top:1px solid var(--border, #edf0f5);padding-top:16px;margin-top:19px;display:flex;justify-content:space-between;align-items:center;color:var(--text-muted, #9ba7ba);font-size:12px}.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:7px 0 18px;max-height:350px;overflow:auto}.checks>label{display:flex;align-items:center;gap:8px;border:1px solid var(--input-border, #e5e9f1);border-radius:6px;padding:10px;font-size:14px;line-height:1.7;cursor:pointer}.checks>label.selected{border-color:var(--accent-border, #bac9f9);background:var(--surface-selected, #f5f7ff);color:var(--info-text, #4967c7)}.checks>label>span{flex:1}.checks>label>small{color:var(--text-muted, #9fa8ba);font-size:11px}.prompt-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:12px;border:1px solid var(--border, #e7ebf3);border-radius:7px;background:var(--surface-soft, #fafbfd);max-height:150px;overflow:auto;min-height:48px}.prompt-chips .tag{font-size:12px;padding:5px 6px}.studio-selectors{display:grid;grid-template-columns:1fr 1.2fr auto;gap:19px;padding:19px 22px 0;background:var(--surface, #fff);border:1px solid var(--line);border-radius:8px;margin-bottom:23px}.studio-selectors .field{margin-bottom:19px}.studio-policy{display:flex;align-items:center;gap:9px;color:var(--text-muted, #919bb0);font-size:12px;padding-top:2px}.studio-policy>i{height:13px;width:1px;background:var(--surface-track, #e6eaf2);margin:0 3px}.studio-grid{display:grid;grid-template-columns:205px minmax(300px,1.05fr) minmax(285px,.95fr);gap:16px;align-items:start}.instruction-sidebar{overflow:hidden;position:sticky;top:20px}.instruction-sidebar>.section-title{padding:15px;margin:0;border-bottom:1px solid var(--line)}.instruction-sidebar h2{font-size:14px}.instruction-item{display:flex;align-items:flex-start;gap:9px;border:0;background:var(--surface, white);width:100%;padding:15px 13px;border-bottom:1px solid var(--border, #f0f2f7);text-align:left;color:var(--text-muted, #8d97ac)}.instruction-item.active{background:var(--surface-selected, #eff3ff);color:var(--info-text, #5d76cd);box-shadow:inset 3px 0 #5e7ae0}.instruction-item:hover{background:var(--surface-hover, #f7f9ff)}.instruction-item>span:nth-child(2){flex:1;min-width:0}.instruction-item strong{display:block;font-size:13px;line-height:1.65;word-break:keep-all;font-weight:550}.instruction-item small{display:block;font-size:11px;margin-top:5px;opacity:.7}.instruction-number{font-size:12px;min-width:22px;line-height:1.8;color:var(--text-muted, #a1adc3)}.instruction-item.active .instruction-number{color:var(--info-text, #8194d2)}.instruction-footer{padding:18px 15px}.instruction-footer a{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-muted, #8b99b4)}.sidebar-hint{padding:20px 14px;color:var(--text-muted, #a0aabd);font-size:13px;line-height:1.9}.writing-editor,.generation-panel{padding:23px;min-width:0}.editor-title{border-bottom:1px solid var(--border, #ebeff6);margin:0 -23px 22px;padding:0 23px 17px}.editor-title h2{font-size:15px;margin:0;line-height:1.6}.editor-title .eyebrow{font-size:8px;margin-bottom:7px}.writing-editor textarea{font-size:14px;line-height:1.95}.writing-editor .field>span{font-size:13px}.goal-editor{min-height:240px}.source-link-box{border:1px dashed var(--border, #dce3f1);border-radius:6px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-muted, #8a9abe);margin:5px 0 18px}.source-link-box .text-button{font-size:12px}.editor-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--border, #edf0f6)}.editor-actions .button{font-size:12px;min-height:34px;padding:8px 10px}.generation-panel .button.full-width{margin-bottom:13px}.generation-panel .empty{padding:70px 7px}.generation-panel .empty h3{font-size:14px}.generation-panel .empty p{font-size:13px;max-width:225px}.sequence-link{font-size:12px;display:flex;margin:0 auto 17px}.prompt-preview{border:1px solid var(--line);border-radius:7px;margin:17px 0;overflow:hidden;background:var(--surface-soft, #fbfcff)}.prompt-preview>section{padding:18px 20px;border-bottom:1px solid var(--line)}.prompt-preview>section:last-child{border:0}.prompt-preview pre{font-size:14px;line-height:1.9;max-height:350px;overflow:auto;color:var(--text-primary, #67758f)}.code-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:650;letter-spacing:1.5px;color:var(--text-muted, #8394b7);margin-bottom:13px}.code-label span{font-size:12px;letter-spacing:0;color:var(--text-muted, #a3aec2)}.job-output{padding:18px 0;min-width:0}.job-output .prose{margin-top:20px;max-height:60vh;overflow:auto;font-size:14px;line-height:2.1}.job-output.compact .prose{max-height:220px;font-size:13px}.job-output>.row small{font-size:12px}.job-output .notice{font-size:13px}.job-output progress{width:100%;height:6px;margin-top:22px;accent-color:var(--control-accent, #6180de)}.job-output>p{font-size:13px;color:var(--text-muted, #8d99b0)}.dataset-policy{background:var(--info-surface, #f0f3fc);margin-bottom:26px}.dataset-policy p{font-size:13px;color:var(--info-text, #909db9);margin:0}.policy-icon{background:var(--info-surface, #e4eafa);color:var(--info-text, #7890cc);border-radius:9px;width:45px;height:45px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.version-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.version-card{padding:23px}.version-card h3{margin:17px 0 8px}.version-card .muted{font-size:12px;margin-bottom:17px}.version-card .row.gap-lg{gap:13px;font-size:12px}.split-dot{display:inline-block;height:6px;width:6px;border-radius:50%;margin-right:3px}.version-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--border, #e9edf5);padding-top:16px;margin-top:20px}.version-actions .button{font-size:13px;min-height:32px;padding:7px 13px}.split-counts{padding:22px 0}.history-list{background:var(--surface-soft, #f5f7fb);border-radius:7px;padding:15px;font-size:13px;max-height:350px;overflow:auto}.history-list details{padding:9px 0}.history-list pre{font-family:monospace;font-size:12px;max-height:220px;overflow:auto;margin-top:10px}.models-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px}.model-tree{padding:24px;overflow:auto;min-height:420px}.model-tree>.section-title{margin:0 0 27px}.tree-branch{position:relative}.tree-children{border-left:1px solid var(--border, #dce4f6);margin-left:22px;padding-left:22px}.tree-children:empty{border:0}.tree-children>.tree-branch{padding-top:18px}.tree-children>.tree-branch:before{content:"";position:absolute;height:1px;background:var(--surface-track, #dce4f6);left:-23px;width:23px;top:54px}.model-node{position:relative;z-index:1;display:flex;align-items:center;gap:13px;text-align:left;width:100%;background:var(--surface-soft, #fcfdff);border:1px solid var(--border, #e4e9f3);border-radius:8px;padding:18px;min-width:300px;color:var(--text-secondary, #657797)}.model-node.selected{border-color:var(--accent-border, #93abea);background:var(--surface-selected, #f1f5ff);box-shadow:0 0 0 3px #6f8ee808}.model-node strong{display:block;font-size:14px}.model-node small{display:block;font-size:11px;color:var(--text-muted, #a0adc3);margin-top:8px;overflow-wrap:anywhere}.model-symbol{height:39px;width:39px;display:flex;align-items:center;justify-content:center;background:var(--info-surface, #e9eef9);border-radius:8px;color:var(--info-text, #90a4d1);flex-shrink:0}.model-symbol.base{background:var(--button-background, #627ecb);color:#fff}.model-node .status{font-size:11px}.model-detail{padding:24px}.model-detail>h2{font-size:19px;margin:19px 0 9px;line-height:1.6}.model-detail>.button{margin-top:10px}.details-list{margin:25px 0}.details-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:1px solid var(--border, #edf0f6);padding:14px 0;line-height:1.6;font-size:13px}.details-list dt{color:var(--text-muted, #929fb8);flex-shrink:0}.details-list dd{margin:0;text-align:right;color:var(--text-primary, #657895);max-width:70%}.policy-box{background:var(--success-surface, #f1f7f6);color:var(--success-text, #7dada0);display:flex;gap:13px;border-radius:7px;padding:19px;margin:5px 0 20px}.policy-box strong{color:var(--success-text, #588f80);font-size:14px}.policy-box p{font-size:13px;margin:5px 0 0;color:var(--success-text, #8aac9f)}.comparison-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 20px;gap:20px}.comparison-heading h2{font-size:18px;margin-bottom:11px}.comparison-heading .small{font-size:12px}.comparison-columns{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,1fr);gap:17px;overflow-x:auto;padding-bottom:5px}.comparison-column{min-width:0;padding:22px;max-height:730px;display:flex;flex-direction:column}.comparison-label{border-bottom:1px solid var(--line);padding-bottom:18px}.comparison-label>.tag{font-size:8px;letter-spacing:1.2px}.comparison-label h3{font-size:14px;line-height:1.6;margin:12px 0 0}.reference-column{background:var(--surface-soft, #f9fafc)}.reference-column>.prose{overflow:auto;max-height:550px;margin-top:22px;font-size:14px;line-height:2.1}.comparison-column .job-output{flex:1;min-height:0}.comparison-column .job-output .prose{max-height:500px}.evaluation{padding:24px;margin-top:24px}.evaluation>.section-title{margin:0 0 20px}.evaluation .form-grid{grid-template-columns:1fr 2fr}.job-slots{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:3px 0 29px}.job-slot{display:flex;flex-direction:column;align-items:flex-start;gap:13px;text-align:left;min-width:0;min-height:137px;padding:15px 13px;background:var(--surface, #fff);border:1px solid var(--border, #e4e9f3);border-radius:8px;color:var(--text-muted, #a6b3cb)}.job-slot:disabled{opacity:1;cursor:default;background:var(--surface-soft, #f9fafc)}.slot-number{font-family:monospace;font-size:12px;color:var(--text-muted, #acb8cd)}.job-slot strong{font-size:12px;color:var(--text-primary, #a2b1c9);line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.job-slot small{font-size:11px;color:var(--text-muted, #8198c3)}.job-slot.occupied{background:var(--surface-selected, #f0f5ff);border-color:var(--accent-border, #bfd1f6);color:var(--info-text, #6f92d7)}.job-slot.occupied strong{color:var(--info-text, #607dab)}.slot-idle{height:18px;display:flex;align-items:center}.slot-idle:after{content:"";width:15px;height:2px;background:var(--surface-track, #d3ddeb)}.live-indicator{font-size:13px;color:var(--text-muted, #889db4);display:flex;align-items:center;gap:9px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-panel{padding:25px;margin-bottom:25px}.settings-panel>.section-title{margin:0 0 23px;color:var(--text-muted, #95a8c8)}.settings-panel>.section-title h2{color:var(--text-primary, #526883)}.credential-row{display:flex;align-items:center;gap:13px;padding:18px 0 23px;margin-bottom:10px}.credential-row strong{display:block;font-size:14px;color:var(--text-primary, #617995)}.credential-row small{display:block;font-size:12px;color:var(--text-muted, #a1aec3);margin-top:7px}.credential-icon{width:39px;height:39px;background:var(--info-surface, #edf2f9);color:var(--info-text, #91a8c7);border-radius:9px;display:flex;align-items:center;justify-content:center}.api-guide-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:35px}.api-guide-grid p{font-size:13px;line-height:1.9;color:var(--text-muted, #93a1b7)}.code-block{background:var(--surface-soft, #f4f7fc);border:1px solid var(--border, #e5ecf6);color:var(--text-primary, #7c93b4);border-radius:6px;font-size:14px;font-family:monospace;padding:17px;overflow:auto;line-height:1.9;margin:12px 0}.api-endpoints>div{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border, #edf1f7)}.api-endpoints code{font-size:12px;color:var(--text-muted, #8095b4)}.api-endpoints small{margin-left:auto;font-size:11px;color:var(--text-muted, #a6b3c8)}.method{font-size:8px;min-width:35px;color:var(--text-muted, #8ca6bf);font-weight:700}.method.POST{color:var(--text-muted, #8c9eca)}.token-value{font-size:14px;word-break:break-all}.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;border:1px dashed var(--info-border, #cbd7ee);background:var(--info-surface, #f8faff);border-radius:9px;padding:47px 20px;position:relative;color:var(--info-text, #9fb3d8);text-align:center;margin:23px 0 0;cursor:pointer}.upload-zone strong{font-size:14px;overflow-wrap:anywhere;max-width:100%;color:var(--info-text, #768fb8)}.upload-zone span{font-size:12px;color:var(--info-text, #a2b3d0)}.upload-zone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.preview-table{max-height:47vh;overflow:auto;border:1px solid var(--line);border-radius:6px;margin:20px 0}.preview-table select{min-height:30px;font-size:13px;padding:5px 24px 5px 8px}.preview-table th{position:sticky;top:0;z-index:1}.preview-table td{padding:10px 14px}.notice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--info-border, #e6eafa);background:var(--info-surface, #f3f5fd);color:var(--text-muted, #7f90b4);border-radius:7px;padding:14px 16px;font-size:14px;line-height:1.85;margin:18px 0;overflow-wrap:anywhere}.notice>span{flex:1}.notice input{margin-top:5px}.notice.danger{background:var(--danger-surface, #fcf1f3);border-color:var(--danger-border, #f2d9df);color:var(--danger-text, #b27584)}.notice.success{background:var(--success-surface, #eff8f4);border-color:var(--success-border, #dbeee5);color:var(--success-text, #6c9f88)}.empty{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:55px 20px;color:var(--text-muted, #9eacc3)}.empty-symbol{display:inline-flex;align-items:center;justify-content:center;height:59px;width:59px;background:var(--info-surface, #edf2fa);color:var(--info-text, #a4b5d4);border-radius:15px;margin-bottom:20px}.empty h3{color:var(--text-primary, #8a9ab5);font-size:15px;font-weight:500;margin-bottom:10px}.empty p{color:var(--text-muted, #a5b0c4);font-size:14px;line-height:1.9;max-width:385px;margin-bottom:20px}.loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:40px;color:var(--text-muted, #9aadc9);font-size:14px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-overlay{position:fixed;inset:0;background:var(--overlay, #111b3490);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;animation:fade .15s}.modal{position:fixed;z-index:101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(580px,calc(100vw - 36px));max-height:90dvh;overflow-y:auto;background:var(--surface-raised, #fff);border-radius:12px;padding:27px 30px;box-shadow:var(--modal-shadow, 0 20px 80px #101c4b30)}.modal.wide{width:min(890px,calc(100vw - 40px))}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);margin:0 -30px 24px;padding:0 30px 21px}.modal-heading h2{font-size:19px;line-height:1.5;letter-spacing:-.5px;margin:0}.modal-heading p{font-size:14px;line-height:1.8;color:var(--text-muted, #8b9ab3);margin:7px 0 0}.modal-heading .icon-button{color:var(--text-muted, #a4aec0);margin-right:-6px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.toasts{position:fixed;z-index:200;right:25px;bottom:25px;display:flex;flex-direction:column;gap:10px;max-width:460px;width:calc(100vw - 40px)}.toast{display:flex;align-items:center;gap:11px;padding:15px 17px;background:var(--surface-raised, #fff);border:1px solid var(--success-border, #dfe9e8);border-radius:8px;box-shadow:var(--toast-shadow, 0 8px 24px #162c521a);color:var(--success-text, #678a86);font-size:14px;line-height:1.75;animation:fade .15s}.toast>span{flex:1}.toast.error{border-color:var(--danger-border, #efdce2);color:var(--danger-text, #b47180)}.app-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;color:var(--text-muted, #97a6bf)}.app-loading p{font-size:14px}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface, white)}.login-story{background:#1b263a;color:#e0e6f2;padding:53px 66px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story>.brand{margin-bottom:90px}.login-story>div{position:relative;z-index:1}.login-story .eyebrow{color:#899bc3;font-size:11px;letter-spacing:2px}.login-story h1{font-size:44px;line-height:1.7;letter-spacing:-2px;font-weight:500;margin:18px 0 23px}.login-story p{font-size:14px;color:#8393b1;line-height:2}.login-story>small{font-size:12px;color:#617390;margin-top:80px;letter-spacing:.3px}.login-lines{margin-top:45px;display:flex;flex-direction:column;gap:12px;transform:rotate(-6deg);opacity:.4;width:240px}.login-lines span{height:1px;background:#677a9d;width:100%}.login-lines span:nth-child(2n){width:78%}.login-story:after{content:"";width:440px;height:440px;border:1px solid #91b3d916;border-radius:50%;position:absolute;bottom:-190px;right:-210px;box-shadow:0 0 0 60px #7794b607,0 0 0 120px #8b9db505}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:330px}.lock-icon{height:66px;width:66px;border:1px solid var(--info-border, #e6ecfa);border-radius:16px;background:var(--info-surface, #f2f5fe);display:flex;align-items:center;justify-content:center;color:var(--info-text, #7c9bdb);margin-bottom:34px}.login-card .eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--text-muted, #93a4bf)}.login-card h2{font-size:26px;letter-spacing:-1px;color:var(--text-primary, #475f7f);margin:9px 0 13px}.login-card>p{font-size:14px;color:var(--text-muted, #99aac0);margin-bottom:36px}.login-card>.button{width:100%;height:49px;gap:10px}.login-card>.button>svg:last-child{margin-left:auto}.login-note{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:var(--text-muted, #b0bdcf)}.mobile-menu,.mobile-shade{display:none}@keyframes fade{0%{opacity:0}to{opacity:1}}@media(min-width:1600px){.page{padding-left:50px;padding-right:50px}.book-grid,.prompt-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-grid{grid-template-columns:225px minmax(350px,1fr) minmax(350px,1fr)}}@media(max-width:1260px){.sidebar{width:203px;padding-left:14px;padding-right:14px}.sidebar .brand{margin-left:10px}.main-shell{margin-left:203px}.page{padding:28px 25px 0}.topbar{padding:0 25px}.page-header{align-items:flex-start}h1{font-size:25px}.header-actions{flex-wrap:wrap;max-width:250px;justify-content:flex-end}.page-header p{max-width:420px}.stat{padding:16px}.stat-grid{gap:12px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 244px;gap:19px}.workflow-steps{display:none}.work-row{padding:20px 17px;gap:17px}.mini-book{width:63px;height:86px}.book-grid{gap:18px}.book-cover{padding:20px 18px;height:240px}.book-cover h2{font-size:21px}.book-meta{padding:18px}.studio-grid{grid-template-columns:180px minmax(260px,1fr)}.generation-panel{grid-column:2}.instruction-sidebar{grid-row:1 / span 2}.studio-policy{display:none}.studio-selectors{grid-template-columns:1fr 1fr}.writing-editor,.generation-panel{padding:20px}.editor-title{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.models-layout{grid-template-columns:minmax(0,1fr) 305px;gap:17px}.model-tree,.model-detail{padding:19px}.tree-children{margin-left:13px;padding-left:14px}.tree-children>.tree-branch:before{width:15px;left:-15px}.model-node{padding:13px;gap:8px}.job-slots{gap:8px}.job-slot{padding:12px 9px}.api-guide-grid{grid-template-columns:1fr}.work-shortcuts a{padding:16px 12px;gap:10px}.work-shortcuts a>svg:last-child{display:none}}@media(max-width:1000px){.book-grid,.prompt-grid,.version-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-grid>aside>.section-title{display:none}.engine-card{margin-top:20px}.split-card{margin-top:20px;padding-top:23px}.engine-card h3{margin-top:13px}.engine-card>.text-link{margin-top:16px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search,.top-divider{display:none}.page-header{flex-direction:column;gap:17px}.header-actions{max-width:none;justify-content:flex-start}.toolbar{flex-wrap:wrap}.toolbar>.row{flex-wrap:wrap}.models-layout{grid-template-columns:1fr}.model-detail{padding:23px}.model-detail>.details-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.model-tree{min-height:280px}.job-slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.job-slot{min-height:120px;padding:16px}.settings-grid{grid-template-columns:1fr}.info-banner .text-link{white-space:nowrap}.work-shortcuts{gap:10px}.work-shortcuts small{font-size:11px}.work-shortcuts strong{font-size:13px}.login-story{padding:40px}.login-story h1{font-size:35px}}@media(max-width:760px){.sidebar{transform:translate(-100%);transition:transform .2s;width:228px}.sidebar.open{transform:translate(0)}.main-shell{margin-left:0}.mobile-menu{display:flex}.mobile-shade{display:block;position:fixed;inset:0;background:var(--overlay, #15213675);border:0;z-index:30}.topbar{height:58px;padding:0 18px}.page{padding:24px 18px 0}.page-header{margin-bottom:24px}.page-header h1{font-size:24px}.page-header .eyebrow{font-size:11px}.page-header p{font-size:13px;max-width:100%}.header-actions .button{font-size:13px;min-height:36px;padding:9px 12px}.stat-grid{gap:11px}.stat{padding:17px}.stat p{font-size:11px}.stat>strong{font-size:29px;margin:14px 0 9px}.dashboard-grid{gap:5px}.section-title{margin-top:25px}.work-row{padding:20px;gap:17px}.work-row h3{font-size:15px}.work-row p{font-size:12px}.work-row .tag{font-size:11px}.mini-book{width:61px;height:82px}.dashboard-grid>aside{gap:12px}.engine-card{padding:17px}.engine-card h3{font-size:16px}.engine-card p{font-size:11px}.split-card{padding:23px 17px 17px}.workflow-card{padding:22px}.workflow-card h2{font-size:16px}.table-wrap th,.table-wrap td{padding:13px 16px}.table-title{max-width:250px}.book-grid{gap:14px}.book-cover{margin:12px 12px 0;height:223px;padding:19px 16px}.book-cover h2{font-size:21px;margin-top:27px}.cover-category{font-size:6px;letter-spacing:1px}.cover-bottom{font-size:6px}.book-meta{padding:16px}.book-meta h3{font-size:14px;line-height:1.6}.book-meta p,.book-meta small{font-size:11px}.add-book{min-height:375px}.add-book strong{font-size:14px}.add-book p{font-size:12px}.prompt-grid{gap:12px}.prompt-card{padding:18px}.prompt-card h3{font-size:14px}.prompt-card p{font-size:13px;height:64px}.prompt-card .tag,.prompt-card-bottom{font-size:11px}.info-banner{padding:17px;flex-wrap:wrap;gap:10px}.info-banner .text-link{margin-left:32px}.info-banner span{font-size:12px}.info-banner strong{font-size:13px}.work-shortcuts{grid-template-columns:1fr}.work-shortcuts a{padding:17px}.work-shortcuts a>svg:last-child{display:block}.work-shortcuts strong{font-size:14px}.work-shortcuts small{font-size:12px}.studio-grid{grid-template-columns:1fr;gap:15px}.instruction-sidebar{position:static;grid-row:auto;max-height:250px;overflow:auto}.generation-panel{grid-column:auto}.instruction-item{padding:12px 17px}.instruction-item>span:nth-child(2){display:flex;align-items:center;gap:12px}.instruction-item small{margin:0;font-size:11px}.instruction-item strong{font-size:13px}.instruction-footer{display:none}.instruction-sidebar>.section-title{position:sticky;top:0;z-index:1;background:var(--surface, #fff)}.studio-selectors{grid-template-columns:1fr;padding:18px 18px 0;gap:0}.studio-selectors .field{margin-bottom:15px}.writing-editor,.generation-panel{padding:22px}.editor-title{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}.generation-panel .empty{padding:42px 10px}.dataset-policy{padding:18px;gap:12px}.dataset-policy strong{font-size:13px;line-height:1.7}.dataset-policy p{font-size:12px}.dataset-policy>.tag{display:none}.version-grid{gap:12px}.version-card{padding:18px}.version-card h3{font-size:14px;line-height:1.7}.version-card .row.gap-lg{gap:9px;flex-wrap:wrap}.version-card .row.gap-lg .small{font-size:11px}.comparison-heading{flex-direction:column;align-items:flex-start}.evaluation{padding:20px}.evaluation .form-grid{grid-template-columns:1fr}.job-slots{gap:9px}.job-slot{padding:13px 10px;min-height:125px}.job-slot strong{font-size:11px}.settings-panel{padding:20px}.settings-panel .section-title{flex-wrap:wrap}.api-endpoints>div{flex-wrap:wrap}.api-endpoints small{margin-left:0}.api-guide-grid{gap:17px}.modal{padding:23px;width:calc(100vw - 24px);max-height:92dvh}.modal.wide{width:calc(100vw - 24px)}.modal-heading{margin-left:-23px;margin-right:-23px;padding-left:23px;padding-right:23px}.modal-heading h2{font-size:17px}.modal-heading p{font-size:13px}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.checks{grid-template-columns:1fr}.reader{padding:13px 2px}.reader-tools{flex-wrap:wrap}.reader-tools .row{gap:6px;flex-wrap:wrap}.reader-editor{font-size:14px;padding:13px}.login{grid-template-columns:1fr}.login-story{padding:30px;min-height:auto}.login-story>.brand{margin:0}.login-story>div:not(.brand),.login-story>small{display:none}.login-story:after{display:none}.login-form{min-height:calc(100dvh - 105px);padding:40px 30px}.login-card{width:100%;max-width:340px}.login-card>.eyebrow{font-size:11px}.page-footer{font-size:11px;margin-top:28px}.toasts{right:15px;bottom:15px;width:calc(100vw - 30px)}.toast{font-size:13px}.large-tabs{gap:22px}.large-tabs button{font-size:14px}.toolbar select{max-width:250px}.search-input input{width:140px}.model-detail>.details-list{display:block}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
