:root{--bg:#f5f6f2;--paper:#fff;--ink:#222823;--muted:#7c837d;--line:#e5e8e1;--lime:#d7f871;--green:#52713a;--dark:#1d211f;--radius:16px;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none;font-size:14px;background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,select,input,textarea{outline:none}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #80a737;outline-offset:4px}input:focus,select:focus,textarea:focus{border-color:#8da75b;box-shadow:0 0 0 3px #d7f87130}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.muted{color:var(--muted)!important}.danger{color:#b9513d!important}.warning{color:#9b6c32!important}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:var(--dark);color:#dfe4dd;padding:36px 22px 25px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:650;letter-spacing:-1px}.brand-symbol{position:relative;background:var(--lime);color:var(--dark);width:38px;height:38px;border-radius:12px;font-size:35px;line-height:36px;text-align:center;font-weight:800;letter-spacing:-4px;padding-right:9px}.brand-symbol>span{position:absolute;font-size:19px;top:-2px;right:7px;letter-spacing:-3px}.brand-sub{display:block;font-size:8px;letter-spacing:2.1px;font-weight:400;color:#a1aaa1;margin-top:3px}.nav-caption{font-size:11px;color:#838d82;margin:58px 14px 16px;letter-spacing:1.5px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.nav-item{border:0;background:none;color:#aeb6ac;text-align:left;display:flex;align-items:center;gap:12px;padding:14px 12px;border-radius:9px;font-size:13px;white-space:nowrap}.nav-item:hover{background:#2c312c;color:#fff}.nav-item.active{background:var(--lime);color:#242b19;font-weight:600}.nav-item svg{width:17px;height:17px}.nav-arrow,.nav-count{margin-left:auto}.nav-count{background:#ffffff0c;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:500}.sidebar-note{margin:45px 9px 20px;padding-top:24px;border-top:1px solid #3a4138}.tiny-pill{font-size:8px;letter-spacing:1.3px;color:#9eac8f}.sidebar-note p{font-size:21px;line-height:1.65;letter-spacing:2px;color:#e1e7da;font-weight:300}.orb{height:100px;display:grid;place-items:center;position:relative;overflow:hidden;margin-top:20px}.orb:before,.orb:after{content:"";position:absolute;inset:8px 32px;border:1px solid #789348;border-radius:50%;transform:rotate(-30deg) skew(8deg)}.orb:after{inset:25px 15px;transform:rotate(-30deg) skew(-20deg);border-color:#4d5d3e}.orb span{display:grid;place-items:center;width:40px;height:40px;border:1px solid #cce19d;color:var(--lime);border-radius:50%;font-size:14px;transform:rotate(-10deg)}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;font-size:10px}.session-mark{display:flex;align-items:center;gap:6px;font-size:11px;color:#d4deca}.session-mark>span:last-child{font:10px monospace;color:#8b967f}.status-dot{width:6px;height:6px;border-radius:50%;background:#8eae50;display:inline-block;flex-shrink:0}.sidebar-bottom p{color:#7f8a79;margin:10px 0 16px}.sidebar-bottom button{font-size:10px}.text-button{border:0;background:none;padding:0;color:#56674c;font-size:12px;white-space:nowrap}.text-button:hover{text-decoration:underline}main{margin-left:218px;min-height:100vh}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#fafbf8}.breadcrumb{font-size:12px;color:#92988e;display:flex;gap:18px}.breadcrumb strong{color:#495243;font-weight:500}.breadcrumb>span{color:#c3c9bd}.topbar-actions{display:flex;align-items:center;gap:28px}.doc-link{font-size:12px;color:#69745f}.key-button{display:flex;align-items:center;gap:9px;background:white;border:1px solid #dfe4d6;border-radius:8px;padding:10px 14px;font-size:12px}.key-dot{width:5px;height:5px;background:#b1b6ac;border-radius:50%;margin-left:4px}.key-button.connected .key-dot{background:#8da946}.page-content{max-width:1600px;margin:auto;padding:36px 38px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 30px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:600;color:#71805f}.eyebrow span{font-size:9px;color:#a9b09f;margin-left:12px;letter-spacing:1px}.page-heading h1{font-size:31px;letter-spacing:-.7px;margin:13px 0 11px;font-weight:650}.page-heading h1 span{color:#859673}.page-heading p{color:#92998c;font-size:12px;letter-spacing:.2px;margin:0;line-height:1.8}.heading-badge{align-self:flex-end;display:flex;align-items:center;gap:7px;color:#89937c;font-size:10px;padding-bottom:5px;white-space:nowrap}.provider-tabs{display:flex;gap:12px;margin-bottom:24px}.provider-tab{flex:1;display:flex;align-items:center;text-align:left;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fafbf8;position:relative;transition:.18s}.provider-tab:hover{border-color:#a9b894}.provider-tab.selected{border-color:#798d5e;background:#f6faed;box-shadow:0 0 0 1px #798d5e10}.provider-icon{width:34px;height:34px;border:1px solid #dce4d0;display:grid;place-items:center;border-radius:10px;background:#eef4e4;font-size:21px;font-family:Georgia,serif;color:#66794b}.provider-tab:nth-child(2) .provider-icon{background:#f5efdf;color:#a89364;border-color:#e9e0c9}.provider-tab:nth-child(3) .provider-icon{background:#eeeefa;color:#8f8ab3;border-color:#dddced}.provider-tab strong{display:block;font-size:12px;font-weight:600}.provider-tab small{display:block;font-size:10px;color:#959c8e;margin-top:5px}.provider-radio{width:13px;height:13px;border:1px solid #d4dbc9;border-radius:50%;margin-left:auto}.selected>.provider-radio{border:4px solid #7e9558;background:#fff}.studio-grid{display:grid;grid-template-columns:minmax(420px,1.08fr) minmax(320px,1fr);gap:24px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.composer{padding:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.panel-heading h2{font-size:14px;font-weight:600;margin:0;display:flex;align-items:center;gap:9px}.section-number{font-size:10px;color:#9fa88f;font-weight:400;font-family:monospace}.pill{font-size:9px;color:#6c7f52;background:#f0f5e7;border:1px solid #e5edd9;padding:4px 7px;border-radius:5px}.pill.neutral{background:#f8f9f6;color:#9ba18f;letter-spacing:1.5px;border-color:#e9ece3}.mode-tabs{display:flex;background:#f5f6f2;padding:4px;border-radius:8px;gap:3px;margin-bottom:22px}.mode-tabs button{flex:1;background:none;border:0;border-radius:5px;padding:8px 4px;font-size:11px;white-space:nowrap;color:#969d8b}.mode-tabs button.selected{background:#fff;box-shadow:0 1px 4px #28321a0d;color:#4c5d39;font-weight:500}label,.field-label{display:block;font-size:11px;font-weight:550;color:#536048;margin-bottom:9px}.field-label{display:flex;align-items:center;justify-content:space-between}.field-label>span,label>span{font-size:9px;font-weight:400;color:#a1a993}.field-label label{margin:0}input,select,textarea{width:100%;border:1px solid #e0e5d8;border-radius:7px;background:#fff;color:#414a38;padding:10px 12px;font-size:12px;transition:border-color .2s}select{min-height:39px;padding-right:28px;cursor:pointer}input::placeholder,textarea::placeholder{color:#aeb4a4}textarea{resize:vertical;line-height:1.9;min-height:90px}.model-id{font-family:Consolas,monospace;font-size:9px;color:#a6ae9b;margin:7px 2px 18px;overflow-wrap:anywhere}.fields-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.fields-row>div{min-width:0}.ratio-options{display:flex;gap:5px;margin-bottom:22px}.ratio-button{border:1px solid #e8ebdf;background:#fff;border-radius:6px;display:flex;flex:1;flex-direction:column;gap:7px;align-items:center;justify-content:center;padding:10px 2px 8px;min-width:0;color:#9aa38d;font-size:9px;height:56px}.ratio-button .ratio-shape{height:15px;width:22px;border:1px solid currentColor;border-radius:2px}.ratio-button.selected{background:#f3f7eb;border-color:#98ad71;color:#68804c}.ratio-button:hover{border-color:#9dae82}.custom-row{display:flex;gap:10px;align-items:center;margin-top:-10px;margin-bottom:20px}.custom-row label{white-space:nowrap;margin:0}.custom-row input{width:100px}.custom-row small{color:var(--muted);font-size:10px}.prompt-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.prompt-label label{margin:0}.prompt-label>span{font-size:9px;color:#a3ac96}.required{color:#8aa45c!important}.prompt-wrap{border:1px solid #e0e5d8;border-radius:8px;overflow:hidden}.prompt-wrap:focus-within{border-color:#8da75b;box-shadow:0 0 0 3px #d7f87130}.prompt-wrap textarea{border:0;border-radius:0;box-shadow:none;min-height:139px;padding:13px 13px 4px;font-size:12px}.prompt-bottom{display:flex;justify-content:space-between;padding:7px 13px 10px;font-size:9px;color:#afb69f}.prompt-bottom button{font-size:9px;color:#9da68c}.inspiration{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:12px 0 24px;font-size:9px;color:#a2ab94}.inspiration>span{margin-right:2px}.inspiration button{font-size:9px;border:1px solid #e9eddf;border-radius:5px;padding:4px 6px;background:#fbfcf8;color:#8a9778}.optional{color:#b0b7a3;font-size:9px;margin-left:6px;font-weight:400}.upload-zone{border:1px dashed #cad6bb;border-radius:9px;background:#fafcf6;display:flex;align-items:center;gap:12px;padding:19px 14px;cursor:pointer;transition:.15s}.upload-zone:hover,.upload-zone.dragover{border-color:#7f9d51;background:#f0f8df}.upload-circle{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eef4e5;color:#8ca568}.upload-zone strong{font-size:11px;font-weight:500;color:#7b8b67}.upload-zone p{font-size:9px;color:#abb59a;margin:6px 0 0}.plus-mark{font-size:22px;color:#afbc9e;margin-left:auto;font-weight:200}.asset-actions{display:flex;gap:8px;margin-top:10px}.soft-button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;padding:8px 7px;border:1px solid #e7ecdf;border-radius:6px;font-size:10px;color:#8c9a79;background:#fff}.soft-button svg{width:13px;height:13px}.soft-button:hover{background:#f6f9ef}.field-help{font-size:10px;line-height:1.8;color:#9ba78b;margin:10px 0 0}.reference-list:empty{display:none}.reference-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.reference-row{display:flex;align-items:center;gap:9px;border:1px solid #e4e9dc;padding:8px;border-radius:8px;min-width:0}.reference-thumb{width:38px;height:38px;flex-shrink:0;border-radius:5px;background:#f1f5e9;display:grid;place-items:center;font-size:18px;overflow:hidden;color:#90a273}.reference-thumb img{width:100%;height:100%;object-fit:cover}.reference-info{flex:1;min-width:0}.reference-info strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:500}.reference-info small{display:block;font-size:9px;color:#a5ad99;margin-top:4px}.reference-row select{width:78px;padding:5px 1px;min-height:30px;font-size:9px}.reference-row button{border:0;background:none;color:#9eac8b;padding:4px;font-size:11px}.reference-controls{display:flex}.advanced{margin-top:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{cursor:pointer;list-style:none;padding:16px 0;font-size:11px;color:#6f7d60;display:flex;align-items:center;gap:7px}summary:before{content:'+';font-size:14px;color:#8fa174}details[open]>summary:before{content:'−'}summary span{margin-left:auto;color:#a4ac98;font-size:9px}summary::-webkit-details-marker{display:none}.advanced-body{padding-bottom:18px}.advanced-body .fields-row{margin-bottom:14px}.request-tools{display:flex;justify-content:space-between;margin-top:17px}.request-tools button{font-size:10px;color:#8a9976}.form-error{font-size:11px;padding:12px;border:1px solid #e7c6b8;border-radius:6px;background:#fff8f2;line-height:1.7;color:#a95d3d;margin-top:15px;overflow-wrap:anywhere}.generate-footer{border-top:1px solid #edf0e5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;padding-top:21px}.estimate{display:flex;flex-direction:column;gap:5px;min-width:0}.estimate small{font-size:9px;color:#aab399}.estimate strong{font-size:12px;font-weight:550;color:#5a6f43;line-height:1.5}.estimate>span{font-size:8px;color:#a8b298}.primary-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;background:#28331f;color:#eef6df;padding:12px 18px;font-size:12px;font-weight:500;white-space:nowrap;transition:.15s}.primary-button:hover{background:#40532d;transform:translateY(-1px)}.primary-button svg{width:16px;height:16px}.button-arrow{margin-left:20px;font-size:16px;color:#cfe995}.generate-footer>.primary-button{background:var(--lime);color:#354722;border:1px solid #c5e361;min-width:170px;height:47px;font-size:12px}.generate-footer>.primary-button:hover{background:#cbed63}.generate-footer .button-arrow{color:#7b9744}.outline-button{border:1px solid #dce4d0;color:#7c8b68;background:#fff;font-size:11px}.outline-button:hover{background:#f4f8ec}.output-column{min-width:0}.preview-panel{padding:24px 24px 0}.output-stage{background:#222920;aspect-ratio:1.16;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;position:relative;align-items:center;justify-content:center;min-height:260px}.output-stage video{width:100%;height:100%;max-height:520px;object-fit:contain;background:#131711;position:absolute;inset:0}.preview-empty{text-align:center;position:relative;z-index:2;width:100%;padding:30px 20px}.stage-grid{position:absolute;inset:0;background-image:linear-gradient(#687b4913 1px,transparent 1px),linear-gradient(90deg,#687b4913 1px,transparent 1px);background-size:38px 38px;mask-image:radial-gradient(ellipse,#000 15%,transparent 75%)}.preview-mark{width:104px;height:82px;margin:0 auto 30px;position:relative;display:grid;place-items:center}.preview-mark:before,.preview-mark:after{content:'';position:absolute;inset:0;border:1px solid #83935d52;border-radius:9px;transform:rotate(-13deg)}.preview-mark:after{inset:9px 7px -9px -7px;transform:rotate(3deg);background:#2c3626;border-color:#8ba35a65}.play-icon{position:relative;z-index:2;font-size:29px;color:#c2db8a;transform:translate(-3px,5px);font-weight:300;text-shadow:0 0 22px #d7f87122}.preview-empty h3{font-size:17px;font-weight:400;letter-spacing:2px;color:#d8e2c9;margin:0 0 12px}.preview-empty p{font-size:10px;line-height:1.9;color:#7e8c6b;margin:0}.preview-empty .stage-tag{display:inline-block;font-size:8px;letter-spacing:1.8px;color:#92a874;border:1px solid #4c5d39;border-radius:20px;padding:6px 10px;margin-top:27px}.stage-corner{position:absolute;left:16px;top:16px;font:8px monospace;letter-spacing:1px;color:#6b8052}.stage-corner.bottom{left:auto;top:auto;bottom:16px;right:16px}.output-meta{min-height:67px;padding:18px 0;display:flex;align-items:center;gap:10px;color:#9fac8f;font-size:10px;flex-wrap:wrap}.output-meta>span{flex:1;line-height:1.8;min-width:130px}.output-meta button,.output-meta a{font-size:10px}.output-meta .outline-button{padding:7px 9px}.tips-panel{display:flex;gap:12px;margin-top:17px;padding:16px 18px;background:#ecefe3;border:1px solid #e5eada;border-radius:10px}.tips-icon{font-size:26px;color:#95ab68;padding-top:2px}.tips-panel h3{font-size:11px;margin:0 0 7px;color:#7b8c63;font-weight:500}.tips-panel p{font-size:10px;line-height:1.9;margin:0;color:#9aa887}.recent-header{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.recent-header h3{font-size:12px;font-weight:500;color:#7a8a64;margin:0}.recent-header button{font-size:10px;color:#9eab8b}.recent-list{display:flex;flex-direction:column;gap:9px}.recent-task{border:1px solid #e3e9d9;background:#fff;border-radius:9px;padding:12px;display:flex;text-align:left;align-items:center;gap:11px;width:100%}.recent-task:hover{border-color:#a5b78a}.recent-task.selected{border-color:#a1b97c;background:#fcfff6}.recent-task-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:7px;background:#f2f6e9;color:#8da869}.recent-task-info{flex:1;min-width:0}.recent-task-info strong{display:block;font-size:10px;color:#7b8969;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-task-info small{display:block;font-size:9px;margin-top:5px;color:#b2bca4}.status-badge{font-size:9px;white-space:nowrap;border-radius:4px;padding:4px 6px;background:#f0f4e8;color:#8c9d72}.status-badge.completed{background:#eaf4df;color:#789456}.status-badge.failed,.status-badge.unknown{background:#fff1e4;color:#b58d57}.empty-recent{border:1px dashed #dde6d0;border-radius:9px;padding:25px 12px;text-align:center;color:#acb69a;font-size:10px}.poll-note{font-size:9px;color:#b0bba0;display:flex;align-items:center;gap:6px;margin:15px 2px}.poll-note .status-dot{width:4px;height:4px;background:#b7c5a2}.progress-ring{width:80px;height:80px;border:1px solid #66794b;border-radius:50%;display:grid;place-items:center;color:#cee692;font:23px monospace;margin:0 auto 26px;position:relative}.progress-ring:before{content:'';position:absolute;inset:-6px;border-radius:50%;border:2px solid transparent;border-top-color:#b9d781;animation:spin 2.5s linear infinite}.stage-error{font-size:11px!important;color:#bdb895!important;max-width:360px;margin:auto!important;word-break:break-word}.task-progress{height:3px;background:#edf1e4;border-radius:5px;overflow:hidden;margin-top:12px}.task-progress>div{height:100%;background:#a9c66a;transition:width .3s}.page-footer{display:flex;justify-content:space-between;padding:28px 0 24px;margin-top:30px;border-top:1px solid var(--line);font-size:9px;color:#b1baa3;letter-spacing:.7px}.page-footer>span:first-child{font-size:8px;letter-spacing:1.5px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:23px}.filter-tabs{display:flex;gap:6px;flex-wrap:wrap}.filter-tabs button{border:0;border-radius:6px;font-size:11px;padding:8px 12px;background:none;color:#95a281}.filter-tabs button.selected{background:#e7eed9;color:#5e7541}.library-toolbar>span{font-size:10px;color:#9baa88}.search-input{width:230px;background:#fafcf5;font-size:10px}.asset-grid,.tasks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.asset-card,.task-card{background:#fff;border:1px solid #e2e8d8;border-radius:12px;overflow:hidden;min-width:0}.asset-preview{height:170px;background:#eaf0e0;display:flex;align-items:center;justify-content:center;font-size:40px;color:#9eb280;position:relative}.asset-preview img,.asset-preview video{width:100%;height:100%;object-fit:contain}.asset-preview audio{width:90%;height:40px}.asset-card-info{padding:14px}.asset-card-info h3{font-size:11px;font-weight:500;color:#6e8058;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 7px}.asset-card-info p{font-size:9px;color:#a3af92;margin:4px 0}.asset-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.asset-card-actions button{font-size:10px}.asset-card-actions .outline-button{padding:7px 10px}.task-card-body{padding:18px}.task-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.task-card-top>span:first-child{font-size:10px;color:#a7b298}.task-card h3{font-size:12px;font-weight:500;margin:16px 0 10px;line-height:1.8;color:#5e724a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:64px}.task-model{font:9px Consolas,monospace;color:#a5b18f;overflow-wrap:anywhere}.task-id{font:9px Consolas,monospace;color:#b4bea3;overflow-wrap:anywhere;margin-top:9px}.task-card-actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.task-card-actions button{font-size:10px}.empty-state{grid-column:1/-1;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;border:1px dashed #d5e0c6;border-radius:12px;padding:80px 20px;background:#f9fbf5}.empty-state>svg{width:35px;height:35px;color:#adbf8f;margin-bottom:10px}.empty-state h3{font-size:16px;font-weight:400;color:#8c9c77;margin:12px 0}.empty-state p{font-size:11px;color:#a8b595;line-height:1.8}.load-more{margin:25px auto;display:flex}.dialog{border:1px solid #dfe7d1;border-radius:18px;padding:27px;width:min(540px,calc(100% - 32px));max-height:90vh;overflow:auto;box-shadow:0 30px 100px #15220f30;background:#fff;color:var(--ink)}.dialog::backdrop{background:#1c271b66;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.dialog-heading h2{font-size:21px;font-weight:550;letter-spacing:-.4px;margin:8px 0 0;color:#455a34}.dialog-heading>.icon-button{margin-top:2px}.icon-button{border:0;background:#f0f5e8;border-radius:7px;width:29px;height:29px;display:grid;place-items:center;color:#8fa574;flex-shrink:0}.icon-button svg{width:15px;height:15px}.dialog-description{font-size:12px;line-height:1.9;color:#94a282;margin:0 0 22px}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:15px;border-top:1px solid #e8eddf;padding-top:20px;margin-top:24px}.dialog-footer>.text-button{margin-right:auto}.dialog>label{margin-top:18px}.small-dialog{width:min(440px,calc(100% - 32px))}.wide-dialog{width:min(820px,calc(100% - 32px))}.key-field{border:1px solid #e2ead7;padding:15px;border-radius:10px;margin-bottom:12px}.key-field-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.key-field-label label{margin:0;font-size:12px}.key-field-label small{font:9px monospace;color:#a8b995}.key-input-row{display:flex;gap:7px}.key-input-row input{font-family:Consolas,monospace;font-size:11px}.key-input-row button{flex-shrink:0;background:#f5f9ed;border:1px solid #e2eacf;border-radius:6px;padding:7px 9px;color:#91a373;font-size:10px}.key-feedback{font-size:10px;color:#9daf81;line-height:1.7;margin-top:8px}.key-feedback:empty{display:none}.picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.picker-card{display:flex;flex-direction:column;border:1px solid #e0e8d2;background:#f9fcf4;border-radius:8px;padding:0;overflow:hidden;position:relative;text-align:left}.picker-card>img,.picker-card>.picker-placeholder{height:100px;width:100%;object-fit:cover;display:grid;place-items:center;font-size:32px;color:#a5ba84}.picker-card>span{font-size:10px;color:#8b9c72;padding:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.picker-card.selected{border-color:#90aa60;background:#eef6e0}.picker-card.selected:after{content:'✓';position:absolute;top:5px;right:6px;background:#d5edb2;color:#5b7534;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.privacy-copy h3{font-size:13px;color:#7f9661;font-weight:500;margin-top:24px}.privacy-copy p{font-size:12px;line-height:2;color:#9aaa87}.dialog pre{white-space:pre-wrap;word-break:break-word;background:#222a1c;color:#c1d7a2;padding:20px;border-radius:9px;max-height:55vh;overflow:auto;font:11px/1.8 Consolas,monospace}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#293622;color:#ecf5df;border:1px solid #657e46;box-shadow:0 6px 30px #1e2c1822;border-radius:9px;padding:13px 20px;font-size:12px;z-index:1000;max-width:calc(100vw - 40px);line-height:1.7}#upload-progress{position:fixed;bottom:25px;right:25px;display:flex;gap:11px;align-items:center;z-index:900;background:white;border:1px solid #dce7cc;border-radius:9px;padding:16px 20px;font-size:12px;box-shadow:0 5px 30px #1c291211;color:#829a64}.spinner{width:15px;height:15px;border:2px solid #dce7cc;border-top-color:#819c57;border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.page-content{padding-top:44px}.studio-grid{grid-template-columns:minmax(460px,1fr) minmax(460px,1fr)}.composer{padding:29px}.output-stage{aspect-ratio:1.3}.preview-panel{padding:29px 29px 0}.page-heading h1{font-size:35px}.provider-tab{padding:18px 22px}.page-heading{margin-bottom:36px}}
@media(max-width:1200px){.sidebar{width:184px;padding:32px 15px 22px}.brand{font-size:23px;gap:8px}.brand-sub{font-size:7px}.nav-item{font-size:12px;padding:13px 9px;gap:9px}.sidebar-note{margin-top:30px}.sidebar-note p{font-size:19px}.sidebar-bottom{padding-left:4px;padding-right:4px}main{margin-left:184px}.topbar{padding:0 26px}.page-content{padding:28px 26px 0}.studio-grid{gap:18px;grid-template-columns:minmax(380px,1.13fr) minmax(280px,1fr)}.composer,.preview-panel{padding:20px}.preview-panel{padding-bottom:0}.provider-tab{padding:13px 12px;gap:9px}.provider-icon{width:29px;height:29px}.provider-tab strong{font-size:11px}.provider-tab small{font-size:9px}.provider-tabs{gap:9px}.provider-radio{width:11px;height:11px}.page-heading h1{font-size:28px}.ratio-options{gap:4px}.generate-footer>.primary-button{min-width:140px;padding:10px 13px}.button-arrow{margin-left:8px}.asset-grid,.tasks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.sidebar{width:155px;padding:30px 12px 20px}.brand{font-size:20px}.brand-symbol{width:31px;height:33px;font-size:29px;line-height:30px;border-radius:9px}.brand-symbol>span{font-size:16px;right:6px}.brand-sub{font-size:6px;letter-spacing:1.4px}.nav-caption{margin-left:9px;font-size:10px}.nav-item{font-size:11px;gap:7px}.sidebar-note{margin:30px 6px 10px}.sidebar-note p{font-size:17px}.tiny-pill{font-size:6px}.session-mark{font-size:9px;gap:4px}.session-mark>span:last-child{font-size:8px}.sidebar-bottom p{font-size:8px}.sidebar-bottom button{font-size:9px}main{margin-left:155px}.page-content{padding:26px 22px 0}.topbar{padding:0 22px}.studio-grid{grid-template-columns:minmax(0,1fr)}.output-column{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.preview-panel{grid-row:1/5}.output-stage{aspect-ratio:1;min-height:220px}.tips-panel{margin:0}.recent-header{margin:8px 0 -4px}.recent-list{grid-column:2}.poll-note{grid-column:2;margin:0}.heading-badge{display:none}.provider-tabs{gap:7px}.provider-tab small{font-size:8px}.provider-icon{display:none}.page-heading h1{font-size:26px}.ratio-options{gap:8px}.topbar-actions{gap:18px}.composer{padding:24px}.fields-row{gap:18px}}
@media(max-width:700px){.sidebar{position:relative;inset:auto;width:100%;height:auto;padding:16px 18px;flex-direction:row;align-items:center;justify-content:space-between;gap:15px}.brand{font-size:22px}.brand-sub{font-size:6px}.sidebar nav{flex-direction:row;gap:5px}.nav-caption,.sidebar-note,.sidebar-bottom,.nav-count,.nav-arrow{display:none}.nav-item{padding:9px 10px;font-size:0;gap:0}.nav-item svg{width:18px;height:18px}.nav-item.active{font-size:10px;gap:6px}.sidebar nav .nav-item:not(.active){width:36px}.topbar{height:60px;padding:0 18px}.topbar-actions{gap:13px}.doc-link{font-size:10px}.key-button{padding:7px 9px;font-size:10px;gap:5px}.key-button svg{width:14px;height:14px}.key-dot{display:none}.breadcrumb{font-size:10px;gap:8px}main{margin:0}.page-content{padding:25px 18px 0}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:25px;margin-top:11px;letter-spacing:-1px}.page-heading p{font-size:10px;max-width:310px}.eyebrow{font-size:8px;letter-spacing:1.5px}.eyebrow span{font-size:7px}.provider-tabs{margin-bottom:18px;gap:6px}.provider-tab{padding:13px 9px;display:block}.provider-tab strong{font-size:10px;white-space:nowrap}.provider-tab small{font-size:8px;white-space:nowrap;margin-top:6px}.provider-radio{position:absolute;right:7px;top:7px;width:5px;height:5px;border:0;background:#e0e6d5}.selected>.provider-radio{border:0;background:#8ea461}.composer{padding:20px 16px}.studio-grid{gap:20px}.mode-tabs button{font-size:10px}.ratio-options{gap:4px}.ratio-button{font-size:8px;height:52px}.ratio-button .ratio-shape{height:12px;max-width:20px}.inspiration{gap:5px}.inspiration button{font-size:8px}.inspiration>span{font-size:8px}.generate-footer>.primary-button{min-width:150px}.estimate strong{font-size:11px}.estimate>span{font-size:7px}.output-column{display:flex;flex-direction:column;gap:0}.output-column>*{width:100%}.output-stage{aspect-ratio:1.25}.tips-panel{margin-top:15px}.recent-header{margin:24px 0 12px}.poll-note{margin:14px 0 0}.library-toolbar{flex-wrap:wrap;gap:13px}.filter-tabs{gap:3px}.filter-tabs button{font-size:10px;padding:7px 9px}.search-input{width:100%}.asset-grid,.tasks-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-preview{height:130px}.asset-card-info{padding:10px}.asset-card-actions .outline-button{padding:5px 7px;font-size:9px}.task-card-body{padding:12px}.task-card h3{font-size:11px}.task-card-actions{gap:9px}.page-heading>.primary-button,.page-heading>.outline-button{font-size:0;padding:10px;gap:0;margin-top:25px}.page-heading>.primary-button svg,.page-heading>.outline-button svg{width:17px;height:17px}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog{padding:22px 19px;border-radius:13px}.dialog-heading h2{font-size:20px}.dialog-description{font-size:11px}.key-field{padding:12px}.page-footer{font-size:8px;margin-top:23px}.page-footer>span:first-child{font-size:7px}.reference-row{gap:6px}.reference-row select{width:71px}.reference-controls{gap:0}.reference-row button{padding:3px}.output-meta .outline-button{font-size:9px}.reference-thumb{width:31px;height:34px}.reference-info strong{font-size:9px}#upload-progress{bottom:15px;right:15px;padding:12px 15px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable secondary text on the soft studio surfaces. */
.page-heading p,.provider-tab small,.model-id,.field-help,.estimate>span,.estimate small,.prompt-bottom,.inspiration,.inspiration button,.field-label>span,label>span,.reference-info small,.output-meta,.recent-task-info small,.poll-note,.asset-card-info p,.task-id,.task-model,.task-card-top>span:first-child,.dialog-description,.key-feedback,.privacy-copy p,.library-toolbar>span,.dialog .field-help{color:#68775b}
.mode-tabs button,.ratio-button,.soft-button,.request-tools button,.recent-header button,.text-button.muted,.filter-tabs button,.tips-panel p,.key-field-label small{color:#687b54}
.prompt-label>span,.empty-recent,.empty-state p,.page-footer,.provider-tab small{color:#718260}
label,.field-label{font-size:12px}.model-id,.field-help,.prompt-bottom,.inspiration{font-size:10px}.provider-tab strong{font-size:13px}.provider-tab small{font-size:10px}.dialog-description{font-size:12px}.ratio-button{font-size:10px}.preview-empty p{color:#a1b58b}.preview-empty .stage-tag{color:#a9c18b}.stage-corner{color:#a0b286}
@media(max-width:700px){.provider-tab strong{font-size:10px}.provider-tab small{font-size:8px}.ratio-button{font-size:9px}.page-heading h1{font-size:25px}.field-help{font-size:10px}}
