.script-review{padding:20px;min-width:0;overflow-wrap:anywhere}.script-review-heading,.script-finding-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:10px}.script-review-heading h3{font-size:16px}.script-review-heading>span{color:#7d796f;font-size:12px}:where(html[data-theme=noir]) .script-review-heading>span{color:#878581}.script-review-help{font-size:12px;color:#7d796f;line-height:1.8;margin:10px 0}:where(html[data-theme=noir]) .script-review-help{color:#878581}.script-review>[role=status],.script-review-summary{font-size:13px;line-height:1.8;margin:12px 0;white-space:pre-wrap}.script-review .notice{margin:14px 0}.script-review-report{margin:18px 0}.script-review-report h4{font-size:14px}.script-review-findings{display:grid;gap:12px;list-style:none;padding:0;margin:12px 0}.script-review-findings li{min-width:0;padding:14px;border:1px solid #ede9e1;border-radius:3px;background:#fdfcfb;font-size:12px;line-height:1.8}:where(html[data-theme=noir]) .script-review-findings li{border:1px solid rgba(255,255,255,.087);background:#131317}.script-review-findings p{margin-top:8px;white-space:pre-wrap}.script-review-findings blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #6c6860;background:#f6f4f0;white-space:pre-wrap}:where(html[data-theme=noir]) .script-review-findings blockquote{border-left:3px solid #989692;background:#0c0c10}.script-risk{padding:2px 8px;border-radius:3px;font-size:11px}.script-risk.policy_risk{color:#9f5143;background:#faedeb}:where(html[data-theme=noir]) .script-risk.policy_risk{color:#cf968c;background:#0c0c10}.script-risk.recommendation_risk{color:#765218;background:#f9efdf}:where(html[data-theme=noir]) .script-risk.recommendation_risk{color:#dab881;background:#121216}.script-review>label{margin:16px 0 8px}.script-review textarea{display:block;width:100%;min-width:0;min-height:220px;padding:12px;border:1px solid #d9e0e6;border-radius:3px;resize:vertical;font:inherit;font-size:13px;line-height:1.8}:where(html[data-theme=noir]) .script-review textarea{border:1px solid rgba(255,255,255,.102)}.script-review-warning{color:#845c1b;font-size:12px;line-height:1.8;margin:12px 0}:where(html[data-theme=noir]) .script-review-warning{color:#dab881}.script-review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.script-review-actions button{white-space:normal;height:auto;min-height:42px;max-width:100%}.status-badge.awaiting_script_review{color:#765218;background:#f9efdf}:where(html[data-theme=noir]) .status-badge.awaiting_script_review{color:#dab881;background:#121216}.script-review-storyboard-note{padding:16px 20px 0;margin:0}@media (max-width: 400px){.script-review{padding:14px}.script-review-findings li{padding:10px}.script-review-actions{flex-direction:column}.script-review-storyboard-note{padding-inline:14px}}.storyboard-advanced{margin:0 28px 20px;border:1px solid #ede9e1;border-radius:3px;padding:14px}:where(html[data-theme=noir]) .storyboard-advanced{border:1px solid rgba(255,255,255,.087)}.storyboard-advanced summary{cursor:pointer;font-size:13px;font-weight:600}.storyboard-advanced label{display:flex;align-items:flex-start;gap:9px;margin-top:15px;line-height:1.6}.storyboard-advanced input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin-top:3px;accent-color:#1b1a17}:where(html[data-theme=noir]) .storyboard-advanced input[type=checkbox]{accent-color:#edebe7}.storyboard-advanced p,.storyboard-review-help{font-size:12px;color:#7d796f;line-height:1.8}:where(html[data-theme=noir]) .storyboard-advanced p,:where(html[data-theme=noir]) .storyboard-review-help{color:#878581}.storyboard-review{padding:20px;min-width:0;overflow-wrap:anywhere}.storyboard-review-heading,.storyboard-scene-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.storyboard-review-heading h3,.storyboard-scene-heading h4{margin:0}.storyboard-review-heading span,.storyboard-scene-heading span{color:#7d796f;font-size:12px}:where(html[data-theme=noir]) .storyboard-review-heading span,:where(html[data-theme=noir]) .storyboard-scene-heading span{color:#878581}.storyboard-estimate{font-weight:600;font-size:13px}.storyboard-review-scenes{list-style:none;padding:0;margin:18px 0;display:grid;gap:18px}.storyboard-review-scenes li{min-width:0;padding:14px;border:1px solid #ede9e1;border-radius:3px;background:#fdfcfb}:where(html[data-theme=noir]) .storyboard-review-scenes li{border:1px solid rgba(255,255,255,.087);background:#131317}.storyboard-sketch{display:block;max-width:100%;object-fit:contain;margin:14px auto;width:100%;background:#f5f3ee;border-radius:3px}:where(html[data-theme=noir]) .storyboard-sketch{background:#0d0d11}.storyboard-sketch.portrait{aspect-ratio:9 / 16;max-height:320px;width:auto}.storyboard-sketch.landscape{aspect-ratio:16 / 9}.storyboard-review-scenes label{display:block;font-size:12px;font-weight:600;margin:12px 0 7px}.storyboard-review-scenes textarea{display:block;width:100%;min-width:0;min-height:90px;box-sizing:border-box;resize:vertical;font:inherit;font-size:13px;line-height:1.8;padding:10px;border:1px solid #d9e0e6;border-radius:3px}:where(html[data-theme=noir]) .storyboard-review-scenes textarea{border:1px solid rgba(255,255,255,.102)}.storyboard-review-scenes textarea.storyboard-prompt{min-height:170px}.storyboard-review-actions{display:flex;flex-wrap:wrap;gap:10px}.storyboard-review-actions button{white-space:normal;height:auto;min-height:38px;max-width:100%}.storyboard-review-warning{color:#845c1b;font-size:12px;line-height:1.8}:where(html[data-theme=noir]) .storyboard-review-warning{color:#dab881}.status-badge.awaiting_review{color:#765218;background:#f9efdf}:where(html[data-theme=noir]) .status-badge.awaiting_review{color:#dab881;background:#121216}@media (max-width: 400px){.storyboard-review{padding:14px}.storyboard-review-scenes li{padding:10px}.storyboard-review-actions{flex-direction:column}.storyboard-advanced{margin-inline:18px}}.fv-estimate{margin-top:18px;padding-top:14px;border-top:1px solid var(--rule)}.fv-estimate .studio-summary dd{display:grid;gap:2px;justify-items:end}.fv-estimate .studio-summary dd small{font-size:11px;line-height:16px}.fv-estimate .studio-summary dt{display:inline-flex;align-items:center;gap:4px}.fv-calls{color:var(--ink-3);max-width:230px;text-align:right}.fv-reason{display:flex;gap:6px;align-items:flex-start;margin:10px 0 0;font-size:12.5px;line-height:19px;color:var(--ink-2)}.fv-reason svg{flex:none;margin-top:3px}.fv-estimate.warn .fv-reason{color:var(--ochre)}.fv-estimate.danger .fv-reason{color:var(--red)}.fv-estimate.note .fv-reason{color:var(--ink-2)}.fv-footnote{margin:10px 0 0;font-size:11px;line-height:17px;color:var(--ink-3)}.fv-caption-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fv-caption-option{display:grid;gap:6px;border:1px solid var(--rule);background:var(--card);padding:8px;text-align:left;cursor:pointer;border-radius:2px}.fv-caption-option.selected{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}:where(html[data-theme=noir]) .fv-caption-option.selected{border-color:var(--noir-rule-on)}.fv-caption-option:disabled{cursor:not-allowed;opacity:.6}.fv-caption-option strong{font-size:13px}.fv-caption-option small{font-size:11.5px;color:var(--ink-2);line-height:16px}.fv-caption-sample{position:relative;height:74px;overflow:hidden;background-size:cover;background-position:center 80%;display:flex;align-items:flex-end;justify-content:center;padding-bottom:9px;border-radius:2px;background-color:#222}:where(html[data-theme=noir]) .fv-caption-sample{background-color:#2c2c30}.fv-caption-sample .cap{font-size:12px;font-weight:700;line-height:17px;padding:3px 9px;border-radius:7px;white-space:nowrap;letter-spacing:.02em}.fv-caption-sample .none{font-size:11px;color:#fff;background:#0000008c;padding:2px 8px;border-radius:2px}.fv-caption-more{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.fv-caption-more label{display:grid;gap:4px;font-size:12px;color:var(--ink-2)}.fv-switch-field{display:grid;gap:4px;font-size:12px;color:var(--ink-2);align-content:start}.fv-switch-row{display:flex!important;align-items:center;gap:10px;min-height:44px;font-size:13px;color:var(--ink);cursor:pointer}.fv-switch-row input.switch{margin:0}.fv-more-toggle{margin-top:10px}.fv-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 0}.fv-bar select{font-size:12.5px;padding:4px 8px;width:auto;max-width:340px}.fv-progress{margin-top:10px;font-size:12.5px;color:var(--ink-2);display:flex;align-items:center;gap:8px}.fv-markers{position:relative;height:14px;margin:8px 0 0;background:var(--paper-2);border-radius:2px}.fv-marker{position:absolute;top:1px;width:12px;height:12px;margin-left:-6px;border-radius:50%;border:2px solid var(--card);background:var(--ochre);cursor:pointer;padding:0}.fv-marker.resolved{background:var(--ink-3)}.fv-comment-form{display:flex;gap:8px;margin-top:10px;align-items:flex-start}.fv-comment-form textarea{flex:1;min-height:40px;font-size:13px}.fv-comments{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}.fv-comments li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start;font-size:12.5px;line-height:19px;padding:6px 8px;background:var(--card-2);border:1px solid var(--rule);border-radius:2px}.fv-comments li.resolved{opacity:.6}.fv-comments li .at{font-family:var(--num);color:var(--ink-2);cursor:pointer;border:0;background:none;padding:0}.fv-comments li .stale{color:var(--ochre);font-size:11px}.fv-comment-actions{display:flex;gap:6px}.fv-comment-actions button{font-size:11.5px;border:0;background:none;color:var(--ink-2);cursor:pointer;padding:0}.fv-comment-actions button:hover{color:var(--red)}.fv-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1b1a1761;display:flex;align-items:center;justify-content:center;z-index:200;padding:20px}.fv-dialog{background:var(--card);width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:22px 24px;border:1px solid var(--rule-2);box-shadow:0 30px 60px -30px #1b1a1773}:where(html[data-theme=noir]) .fv-dialog{box-shadow:0 30px 60px -30px #000000cf}.fv-dialog h3{margin:0 0 4px;font-family:var(--serif);font-size:19px}.fv-dialog .sub{color:var(--ink-2);font-size:12.5px;margin:0 0 14px}.fv-dialog label{display:grid;gap:5px;font-size:12.5px;color:var(--ink-2);margin-top:12px}.fv-dialog textarea{min-height:84px;font-size:13.5px;line-height:21px}.fv-dialog .fv-meta{font-size:11.5px;color:var(--ink-3)}.fv-dialog .fv-modes{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.fv-dialog .fv-modes button{font-size:12.5px;padding:5px 12px;border:1px solid var(--rule-2)!important;background:var(--card)!important;color:var(--ink)!important;cursor:pointer;border-radius:2px;box-shadow:none!important}.fv-dialog .fv-modes button.on{border-color:var(--ink)!important;background:var(--ink)!important;color:var(--card)!important}:where(html[data-theme=noir]) .fv-dialog .fv-modes button.on{border-color:var(--noir-rule-on)!important}.fv-dialog .fv-inline-check{display:flex!important;align-items:center;gap:10px;color:var(--ink-2);line-height:19px}.fv-dialog .fv-inline-check input.switch{margin:0}.fv-confirm{margin-top:14px;padding:12px 14px;background:var(--card-2);border:1px solid var(--rule);font-size:12.5px;line-height:20px;color:var(--ink-2)}.fv-confirm strong{color:var(--ink)}.fv-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.fv-scene-actions{display:flex;gap:10px;margin-top:6px;flex-wrap:wrap}.fv-scene-comments{margin-top:6px}.fv-remix{display:grid;gap:18px}.fv-structure{list-style:none;margin:0;padding:0;display:grid;gap:8px}.fv-structure li{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:10px 12px;border:1px solid var(--rule);background:var(--card);border-radius:2px}.fv-structure .role{font-family:var(--serif);font-weight:700;font-size:14px}.fv-structure .meta{font-size:11.5px;color:var(--ink-3)}.fv-structure input,.fv-structure textarea{font-size:12.5px;width:100%}.fv-metrics{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12.5px;color:var(--ink-2)}.fv-form{display:grid;gap:10px}.fv-form label{display:grid;gap:4px;font-size:12.5px;color:var(--ink-2)}.fv-form .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fv-draft{display:grid;gap:8px}.fv-draft .seg{padding:10px 12px;border:1px solid var(--rule);background:var(--card);border-radius:2px}.fv-draft .seg .role{font-size:11.5px;color:var(--ink-3);margin-bottom:4px}.fv-draft textarea{width:100%;min-height:64px;font-size:13.5px;line-height:21px}.fv-flag{background:#fbe1dc;border-radius:2px}:where(html[data-theme=noir]) .fv-flag{background:#d6705c1f}.fv-flag-num{background:#f6e9c8;border-radius:2px}:where(html[data-theme=noir]) .fv-flag-num{background:#d6b45c1f}.fv-checks{font-size:12.5px;display:grid;gap:4px;color:var(--ink-2)}.fv-checks .bad{color:var(--red)}.fv-checks .warn{color:var(--ochre)}.fv-history{list-style:none;padding:0;margin:0;display:grid;gap:4px;font-size:12.5px}.fv-source-note{margin:0 0 12px;padding:8px 12px;background:var(--ochre-tint);color:var(--ochre);font-size:12.5px;border-radius:2px}:root[data-theme=noir] .fv-caption-option,:root[data-theme=noir] .fv-structure li,:root[data-theme=noir] .fv-draft .seg,:root[data-theme=noir] .fv-dialog{background:var(--card)}@media (max-width:900px){.fv-caption-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fv-form .row{grid-template-columns:1fr}}.ai-tools{min-width:0}.ai-tools[hidden]{display:none}.tools-retention{display:flex;align-items:center;gap:7px;margin-bottom:16px;padding:10px 14px;border-radius:3px;background:#fcf7ee;border:1px solid #f4e5cc;color:#87652e;font-size:12px;line-height:1.7}:where(html[data-theme=noir]) .tools-retention{background:#0d0d11;border:1px solid #f1e4cf;color:#d6b785}.tools-retention svg{flex-shrink:0}.tools-tabs,.library-filter,.billing-scope{display:flex;gap:4px;background:#fff;border:1px solid var(--border);border-radius:4px;padding:4px;margin-bottom:20px;width:max-content;max-width:100%;overflow-x:auto;box-shadow:var(--shadow)}:where(html[data-theme=noir]) .tools-tabs,:where(html[data-theme=noir]) .library-filter,:where(html[data-theme=noir]) .billing-scope{background:#16161a}.tools-tabs button,.library-filter button,.billing-scope button{display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:3px;padding:9px 18px;font-size:13px;color:#7f7b71;white-space:nowrap;min-height:40px}:where(html[data-theme=noir]) .tools-tabs button,:where(html[data-theme=noir]) .library-filter button,:where(html[data-theme=noir]) .billing-scope button{color:#85837f}.tools-tabs button.active,.library-filter button.active,.billing-scope button.active{background:var(--purple-light);color:#1b1a17;font-weight:600}:where(html[data-theme=noir]) .tools-tabs button.active,:where(html[data-theme=noir]) .library-filter button.active,:where(html[data-theme=noir]) .billing-scope button.active{color:#edebe7}.tools-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.editor-card.tools-card{overflow:visible}.tools-card-body{padding:22px 27px 26px;min-width:0}.tools-state{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.tool-form{display:flex;flex-direction:column;gap:14px;min-width:0}.tool-form>.notice{margin:0}.tool-field label{margin-bottom:8px}.tool-hint{font-size:11px;color:#7f7b71;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}:where(html[data-theme=noir]) .tool-hint{color:#85837f}.tool-hint .text-button,.notice .text-button{margin-left:8px}.tool-estimate{display:flex;align-items:center;gap:6px;font-size:11px;color:#969289}:where(html[data-theme=noir]) .tool-estimate{color:#6b6965}.tool-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#646058;margin:0;cursor:pointer}:where(html[data-theme=noir]) .tool-check{color:#a19f9b}.tool-check input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;flex-shrink:0;accent-color:var(--primary)}.tool-details summary{cursor:pointer;font-size:12px;color:var(--primary)}.tool-details pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#fcfbfa;border:1px solid var(--border);border-radius:3px;padding:12px;font:inherit;font-size:12px;line-height:1.8;margin:10px 0 0}:where(html[data-theme=noir]) .tool-details pre{background:#121216}.over-limit{color:#c05e4d!important}:where(html[data-theme=noir]) .over-limit{color:#d49286!important}.tool-composer{border:1px solid #eeeae2;border-radius:4px;background:#fff;min-width:0;position:relative}:where(html[data-theme=noir]) .tool-composer{border:1px solid rgba(255,255,255,.085);background:#16161a}.tool-composer:focus-within{border-color:#6c6860;box-shadow:0 0 0 3px #f9f7f4}:where(html[data-theme=noir]) .tool-composer:focus-within{border-color:#989692;box-shadow:0 0 0 3px #ffffff14}.composer-main{display:flex;gap:12px;padding:12px;min-width:0}.composer-upload{flex-shrink:0;width:74px;height:84px;border:1px dashed #e6e2d8;border-radius:3px;background:#fdfcfa;color:#1b1a17;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;padding:4px}:where(html[data-theme=noir]) .composer-upload{border:1px dashed rgba(255,255,255,.103);background:#131317;color:#edebe7}.composer-upload small{font-size:10px;color:#a6a197;white-space:nowrap}:where(html[data-theme=noir]) .composer-upload small{color:#5e5c58}.composer-upload:hover:not(:disabled){border-color:var(--primary)}.composer-text{position:relative;flex:1;min-width:0}.composer-text textarea{display:block;width:100%;min-height:118px;max-height:360px;resize:vertical;border:0;outline:none;background:transparent;font-size:13px;line-height:1.8;padding:2px 2px 20px;color:#403e39}:where(html[data-theme=noir]) .composer-text textarea{color:#c6c4c0}.composer-text textarea:focus-visible{outline:none}.composer-count{position:absolute;right:16px;bottom:0;font-size:10px;color:#b4afa3}:where(html[data-theme=noir]) .composer-count{color:#5e5c58}.composer-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #f6f3ee;min-width:0}:where(html[data-theme=noir]) .composer-bar{border-top:1px solid rgba(255,255,255,.065)}.composer-select{width:auto;height:36px;font-size:12px;padding:0 10px;border-radius:3px;flex-shrink:0}.composer-submit{margin-left:auto;height:38px;padding:0 16px;border-radius:4px}.composer-tools{display:flex;flex-wrap:wrap;gap:6px 14px;padding:0 12px 10px}.tool-params{display:flex;flex-direction:column;gap:12px}.mention-wrap{display:grid}.mention-wrap>.mention-backdrop,.mention-wrap>textarea{grid-area:1/1}.mention-backdrop{white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;font-size:13px;line-height:1.8;padding:2px 2px 20px;color:transparent;overflow:hidden;pointer-events:none;min-height:118px;max-height:360px}.mention-wrap textarea{position:relative;z-index:1;caret-color:#403e39}:where(html[data-theme=noir]) .mention-wrap textarea{caret-color:#c6c4c0}.ref-tag{background:#f6f4ef;color:transparent;border-radius:4px;box-shadow:0 0 0 1px #e8e4da}:where(html[data-theme=noir]) .ref-tag{background:#0c0c10;box-shadow:0 0 0 1px #ffffff14}.ref-tag.invalid{background:#f9eae8;box-shadow:0 0 0 1px #e9ada3}:where(html[data-theme=noir]) .ref-tag.invalid{background:#0e0e12;box-shadow:0 0 0 1px #c57a6d80}.mention-list{position:absolute;z-index:5;left:0;top:34px;min-width:220px;max-width:100%;max-height:220px;overflow:auto;list-style:none;margin:0;padding:5px;background:#fff;border:1px solid #eeebe3;border-radius:3px;box-shadow:0 8px 24px #45433e18}:where(html[data-theme=noir]) .mention-list{background:#16161a;border:1px solid rgba(255,255,255,.084);box-shadow:0 8px 24px #0000002b}.mention-list button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;border-radius:3px;padding:8px;font-size:12px;text-align:left;min-width:0}.mention-list li[aria-selected=true] button,.mention-list button:hover{background:var(--purple-light)}.mention-list small{color:#a6a197;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:where(html[data-theme=noir]) .mention-list small{color:#5e5c58}.mention-empty{padding:10px;font-size:12px;color:#969289}:where(html[data-theme=noir]) .mention-empty{color:#6b6965}.mention-invalid{margin:0 12px 8px}.ref-strip{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0 12px 10px}.ref-chip{display:flex;align-items:center;gap:6px;max-width:100%;min-width:0;border:1px solid #efece5;border-radius:3px;background:#fdfdfc;padding:5px 6px;cursor:grab;-webkit-user-select:none;user-select:none}:where(html[data-theme=noir]) .ref-chip{border:1px solid rgba(255,255,255,.081);background:#141418}.ref-chip.dragging{opacity:.45}.ref-chip.over{border-color:var(--primary);box-shadow:0 0 0 2px #f1eee8}:where(html[data-theme=noir]) .ref-chip.over{box-shadow:0 0 0 2px #ffffff14}.ref-chip.invalid{border-color:#e9ada3}:where(html[data-theme=noir]) .ref-chip.invalid{border-color:#e5b0a7}.ref-grip{color:#c6c0b2;flex-shrink:0}.ref-thumb{width:34px;height:34px;object-fit:cover;border-radius:3px;flex-shrink:0;display:grid;place-items:center;background:#f7f5f1;color:#1b1a17}:where(html[data-theme=noir]) .ref-thumb{background:#0c0c10;color:#edebe7}.ref-text{display:flex;flex-direction:column;min-width:0}.ref-text strong{font-size:11px;font-weight:600;color:#6d6961}:where(html[data-theme=noir]) .ref-text strong{color:#979591}.ref-text small{font-size:10px;color:#a6a197;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}:where(html[data-theme=noir]) .ref-text small{color:#5e5c58}.ref-remove{border:0;background:transparent;color:#afaa9e;padding:4px;border-radius:3px;display:grid;place-items:center}:where(html[data-theme=noir]) .ref-remove{color:#5e5c58}.ref-remove:hover{background:#f7f5f1;color:#1b1a17}:where(html[data-theme=noir]) .ref-remove:hover{background:#0c0c10;color:#edebe7}.param-capsules{position:relative;min-width:0;flex:0 1 auto}.param-capsule-bar{display:flex;align-items:center;flex-wrap:wrap;gap:0;border:1px solid #eeeae2;background:#fdfcfa;border-radius:4px;padding:3px 4px;min-height:36px;max-width:100%}:where(html[data-theme=noir]) .param-capsule-bar{border:1px solid rgba(255,255,255,.085);background:#131317}.param-capsule-bar:hover{border-color:#e1dcd0}:where(html[data-theme=noir]) .param-capsule-bar:hover{border-color:#ffffff1d}.param-capsule{font-size:12px;color:#6d6961;padding:3px 9px;white-space:nowrap}:where(html[data-theme=noir]) .param-capsule{color:#979591}.param-capsule+.param-capsule{border-left:1px solid #eeeae2}:where(html[data-theme=noir]) .param-capsule+.param-capsule{border-left:1px solid rgba(255,255,255,.085)}.param-panel{position:absolute;z-index:20;left:0;top:calc(100% + 8px);width:min(460px,calc(100vw - 40px));max-height:min(70vh,560px);overflow:auto;background:#fff;border:1px solid #eeebe3;border-radius:4px;box-shadow:0 12px 32px #45433e22;padding:14px 16px;display:flex;flex-direction:column;gap:12px}:where(html[data-theme=noir]) .param-panel{background:#16161a;border:1px solid rgba(255,255,255,.084);box-shadow:0 12px 32px #0000003d}.param-panel-heading{display:flex;align-items:center;justify-content:space-between}.param-panel-heading strong{font-size:13px}.choice-row{display:flex;flex-direction:column;gap:7px;min-width:0}.choice-label{font-size:12px;font-weight:500;color:#646058}:where(html[data-theme=noir]) .choice-label{color:#a19f9b}.choice-group{display:flex;flex-wrap:wrap;gap:6px}.choice-group button{border:1px solid #eeeae2;background:#fff;border-radius:3px;padding:6px 11px;font-size:12px;color:#757168;min-height:32px;min-width:40px}:where(html[data-theme=noir]) .choice-group button{border:1px solid rgba(255,255,255,.085);background:#16161a;color:#8f8d89}.choice-group button.selected{border-color:#6c6860;background:var(--purple-light);color:#1b1a17;font-weight:600}:where(html[data-theme=noir]) .choice-group button.selected{border-color:#989692;color:#edebe7}.choice-group button:hover:not(:disabled){border-color:#e1dcd0}:where(html[data-theme=noir]) .choice-group button:hover:not(:disabled){border-color:#ffffff1d}.size-inputs{display:flex;align-items:center;gap:8px}.size-input{display:flex;align-items:center;gap:6px;margin:0;flex:1;min-width:0}.size-input span{font-size:12px;color:#969289}:where(html[data-theme=noir]) .size-input span{color:#6b6965}.size-input input{height:36px}.size-input input[aria-invalid=true]{border-color:#d57c6c}:where(html[data-theme=noir]) .size-input input[aria-invalid=true]{border-color:#da8e81}.size-lock.active{color:#1b1a17;background:var(--purple-light)}:where(html[data-theme=noir]) .size-lock.active{color:#edebe7}.duration-slider{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.duration-slider input{flex:1;min-width:140px;accent-color:var(--primary)}.duration-slider output{font-size:12px;font-weight:600;color:#1b1a17;min-width:44px}:where(html[data-theme=noir]) .duration-slider output{color:#edebe7}.duration-slider small{font-size:10px;color:#a6a197}:where(html[data-theme=noir]) .duration-slider small{color:#5e5c58}.audio-prompt label{margin-bottom:6px}.audio-prompt textarea{width:100%;min-height:70px;border:1px solid #eeeae2;border-radius:3px;padding:8px 10px;font-size:12px;line-height:1.7;resize:vertical}:where(html[data-theme=noir]) .audio-prompt textarea{border:1px solid rgba(255,255,255,.085)}.audio-prompt-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:6px;font-size:10px;color:#a6a197}:where(html[data-theme=noir]) .audio-prompt-foot{color:#5e5c58}.audio-tags{display:flex;flex-wrap:wrap;gap:5px}.audio-tags button{border:1px solid #eeeae2;background:#fdfcfa;border-radius:4px;padding:3px 9px;font-size:11px;color:#757168}:where(html[data-theme=noir]) .audio-tags button{border:1px solid rgba(255,255,255,.085);background:#131317;color:#8f8d89}.voice-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.voice-card{border:1px solid #eeeae2;border-radius:3px;padding:10px;display:flex;flex-direction:column;gap:8px;background:#fff}:where(html[data-theme=noir]) .voice-card{border:1px solid rgba(255,255,255,.085);background:#16161a}.voice-card.selected{border-color:#6c6860;background:#fdfcfa;box-shadow:0 0 0 2px #f6f4f0}:where(html[data-theme=noir]) .voice-card.selected{border-color:#989692;background:#131317;box-shadow:0 0 0 2px #ffffff14}.voice-card-select{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:4px 2px;font-size:13px;color:#6d6961;text-align:left}:where(html[data-theme=noir]) .voice-card-select{color:#979591}.voice-card-play{display:flex;align-items:center;gap:5px;border:1px solid #eeeae2;background:#fdfcfa;border-radius:3px;padding:5px 9px;font-size:11px;width:max-content}:where(html[data-theme=noir]) .voice-card-play{border:1px solid rgba(255,255,255,.085);background:#131317}.voice-card-play small{color:#a6a197}:where(html[data-theme=noir]) .voice-card-play small{color:#5e5c58}.speed-slider label{margin-bottom:8px}.speed-slider>div{display:flex;align-items:center;gap:10px;font-size:11px;color:#969289}:where(html[data-theme=noir]) .speed-slider>div{color:#6b6965}.speed-slider input{flex:1;min-width:0;accent-color:var(--primary)}.speed-slider output{font-size:12px;font-weight:600;color:#1b1a17;min-width:46px;text-align:right}:where(html[data-theme=noir]) .speed-slider output{color:#edebe7}.tools-feed,.creation-feed{min-width:0}.creation-feed>.notice{margin:0 20px 13px}.creation-list{display:flex;flex-direction:column;gap:12px;padding:0 18px 18px}.creation-card{border:1px solid var(--border);border-radius:4px;padding:13px;display:flex;flex-direction:column;gap:10px;min-width:0;background:#fff}:where(html[data-theme=noir]) .creation-card{background:#16161a}.creation-card .notice{margin:0}.creation-card-head{display:flex;align-items:flex-start;gap:9px;min-width:0}.creation-kind-icon{width:30px;height:30px;border-radius:3px;background:var(--purple-light);color:#1b1a17;display:grid;place-items:center;flex-shrink:0}:where(html[data-theme=noir]) .creation-kind-icon{color:#edebe7}.creation-title{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.creation-title strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-meta{font-size:11px;color:#969289;line-height:1.6;overflow-wrap:anywhere}:where(html[data-theme=noir]) .creation-meta{color:#6b6965}.creation-meta>span{margin:0 4px}.status-badge.partial{color:#876d42;background:#faf3e9}:where(html[data-theme=noir]) .status-badge.partial{color:#c9b491;background:#0d0d11}.creation-flags{display:flex;flex-wrap:wrap;gap:5px}.creation-flags:empty{display:none}.creation-flag{display:inline-flex;align-items:center;gap:3px;font-size:10px;padding:3px 7px;border-radius:3px;background:#f7f5f0;color:#7a766c;white-space:nowrap}:where(html[data-theme=noir]) .creation-flag{background:#0b0b0f;color:#8a8884}.creation-flag.warn{background:#faf3e8;color:#8a601c}:where(html[data-theme=noir]) .creation-flag.warn{background:#0e0e12;color:#dab881}.creation-flag.draft{background:#f5f7f8;color:#617b91}:where(html[data-theme=noir]) .creation-flag.draft{background:#0e0e12;color:#9dafbe}.creation-flag.expiry.urgent{background:#fbefec;color:#a84e3e;font-weight:600}:where(html[data-theme=noir]) .creation-flag.expiry.urgent{background:#0b0b0f;color:#d39388}.creation-progress{display:flex;flex-direction:column;gap:6px}.creation-note{font-size:10px;color:#969289;line-height:1.7}:where(html[data-theme=noir]) .creation-note{color:#6b6965}.creation-usage{font-size:11px;color:#7f7b71}:where(html[data-theme=noir]) .creation-usage{color:#85837f}.creation-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.creation-actions .creation-delete{margin-left:auto}.creation-inline-error{font-size:10px;color:#a15b4f}:where(html[data-theme=noir]) .creation-inline-error{color:#c99a92}.creation-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.creation-image-tile{margin:0;display:flex;flex-direction:column;gap:6px;min-width:0}.creation-image-tile img,.creation-image-tile .auth-image-state{width:100%;aspect-ratio:1;object-fit:cover;border-radius:3px;background:#f8f6f2;display:block}:where(html[data-theme=noir]) .creation-image-tile img,:where(html[data-theme=noir]) .creation-image-tile .auth-image-state{background:#0d0d11}.creation-image-tile figcaption{display:flex;flex-wrap:wrap;gap:4px}.creation-image-tile figcaption .button.small{padding:6px 8px}.creation-image-failed{aspect-ratio:1;border-radius:3px;border:1px dashed #e9c9c3;background:#fdf9f9;color:#a15b4f;font-size:11px;line-height:1.6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center}:where(html[data-theme=noir]) .creation-image-failed{background:#121216;color:#c99a92}.auth-image-button{display:block;width:100%;border:0;padding:0;background:none;border-radius:3px;overflow:hidden;cursor:zoom-in}.auth-image-state{display:grid;place-items:center;align-content:center;gap:4px;color:#afaa9e;font-size:10px;text-align:center}:where(html[data-theme=noir]) .auth-image-state{color:#5e5c58}.creation-video video,.creation-audio audio{width:100%;border-radius:3px;background:#121110;display:block;max-height:420px}.creation-audio audio{background:transparent}.creation-media-empty{border-radius:3px;background:#f9f8f5;color:#7f7b71;font-size:11px;padding:18px;text-align:center;line-height:1.8}:where(html[data-theme=noir]) .creation-media-empty{background:#0f0f13;color:#85837f}.tool-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#2625226b;display:grid;place-items:center;padding:16px}.tool-modal{width:min(440px,100%);background:#fff;border-radius:4px;box-shadow:0 16px 48px #26252240;padding:22px;display:flex;flex-direction:column;gap:14px}:where(html[data-theme=noir]) .tool-modal{background:#16161a;box-shadow:0 16px 48px #00000073}.tool-modal h3{font-size:15px}.tool-modal-body{font-size:13px;line-height:1.8;color:#646058;overflow-wrap:anywhere}:where(html[data-theme=noir]) .tool-modal-body{color:#a19f9b}.tool-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.button.danger{background:#a84e3e;color:#fff;border-color:#a84e3e}:where(html[data-theme=noir]) .button.danger{border-color:#d39388}.lightbox-frame{width:min(960px,100%);max-height:calc(100vh - 32px);background:#fff;border-radius:4px;padding:12px;display:flex;flex-direction:column;gap:10px}:where(html[data-theme=noir]) .lightbox-frame{background:#16161a}.lightbox-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7f7b71}:where(html[data-theme=noir]) .lightbox-head{color:#85837f}.lightbox-image{display:flex;align-items:center;gap:8px;min-height:0;flex:1}.lightbox-image img,.lightbox-image .auth-image-state{flex:1;min-width:0;max-height:calc(100vh - 170px);object-fit:contain;border-radius:3px;width:100%}.lightbox-image .auth-image-state{min-height:240px}.lightbox-nav{border:1px solid var(--border);background:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}:where(html[data-theme=noir]) .lightbox-nav{background:#16161a}.lightbox-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.library-creations{display:flex;flex-direction:column;gap:14px;max-width:860px;margin:0 auto}.library-search{display:flex;gap:8px;align-items:center}.library-search input{height:40px}.library-search .button{flex-shrink:0;min-height:40px}.billing-scope{margin-bottom:18px}.creation-usage-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}.creation-usage-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.volc-settings{max-width:650px;margin:22px auto 0;background:#fff;border:1px solid var(--border);border-radius:4px;box-shadow:var(--shadow);overflow:hidden}:where(html[data-theme=noir]) .volc-settings{background:#16161a}.volc-content{padding:22px 30px;display:flex;flex-direction:column;gap:22px}.volc-key-group+.volc-key-group{border-top:1px solid var(--border);padding-top:22px}.volc-key-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.volc-key-head h4{display:flex;align-items:center;gap:7px;font-size:14px}.volc-key-head p{font-size:11px;color:#7f7b71;line-height:1.8;margin-top:6px}:where(html[data-theme=noir]) .volc-key-head p{color:#85837f}.volc-key-meta{font-size:12px;color:#646058;margin:10px 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}:where(html[data-theme=noir]) .volc-key-meta{color:#a19f9b}.volc-fallback{font-size:11px;padding:3px 8px;border-radius:3px;background:#f5f7f8;color:#617b91}:where(html[data-theme=noir]) .volc-fallback{background:#0e0e12;color:#9dafbe}.volc-key-message{font-size:12px;color:#4d7b66;margin-bottom:8px}:where(html[data-theme=noir]) .volc-key-message{color:#9bc0af}.volc-key-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.volc-key-form{margin-top:10px}.volc-key-form input{margin-bottom:16px}.volc-key-form .notice{margin-bottom:14px}.volc-key-form .button{min-height:42px}.admin-capabilities{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.capability-chip{font-size:10px;padding:3px 7px;border-radius:4px}.capability-chip.on{background:#f6f3ee;color:#416e5a}:where(html[data-theme=noir]) .capability-chip.on{background:#0d0d11;color:#98c2b0}.capability-chip.off{background:#f7f5f0;color:#8e8a80;text-decoration:line-through}:where(html[data-theme=noir]) .capability-chip.off{background:#0b0b0f;color:#74726e}.admin-user-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}.admin-capability-options{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:18px}.admin-capability-options legend{margin-bottom:10px}.admin-readonly-note{color:#646058}:where(html[data-theme=noir]) .admin-readonly-note{color:#a19f9b}@media (max-width:1050px){.tools-card-body{padding:20px 21px 24px}}@media (max-width:800px){.tools-grid{grid-template-columns:minmax(0,1fr)}.creation-usage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.main-nav{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:18px;padding:0 4px;scroll-padding-inline:12px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.main-nav button{flex:0 0 auto}.main-nav::-webkit-scrollbar{display:none}.tools-tabs,.library-filter,.billing-scope{width:100%}.tools-tabs button,.library-filter button,.billing-scope button{flex:1;justify-content:center;padding:9px 8px;font-size:12px}.creation-usage-filters{grid-template-columns:minmax(0,1fr)!important}.admin-user-actions{flex-direction:row;flex-wrap:wrap}}@media (max-width:450px){.main-nav{gap:12px}.main-nav button{font-size:11px}.tools-card-body{padding:16px 14px 20px}.composer-main{flex-direction:column}.composer-upload{width:100%;height:52px;flex-direction:row}.creation-list{padding:0 12px 14px}.creation-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.volc-content{padding:20px}.voice-cards{grid-template-columns:minmax(0,1fr)}.param-panel{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:75vh}.creation-usage-summary{grid-template-columns:minmax(0,1fr)}}.ai-tools .tools-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 32px;border-bottom:1px solid var(--rule)}.ai-tools .tools-topbar .tools-tabs{display:flex;gap:36px;margin:0;border-bottom:0;width:auto;max-width:100%;overflow-x:auto;scrollbar-width:none}.ai-tools .tools-topbar .tools-tabs::-webkit-scrollbar{display:none}.ai-tools .tools-topbar .tools-tabs button{flex:none;min-height:0;padding:0 0 14px;gap:8px;font-size:15px;letter-spacing:.08em;color:var(--ink-2);white-space:nowrap}.ai-tools .tools-topbar .tools-tabs button:hover{color:var(--ink)}.ai-tools .tools-topbar .tools-tabs button svg{color:var(--ink-3)}.ai-tools .tools-topbar .tools-tabs button.active{color:var(--ink);font-weight:600}.ai-tools .tools-topbar .tools-tabs button.active svg{color:var(--ink)}.ai-tools .tools-topbar-hint{display:flex;align-items:baseline;gap:12px;min-width:0;padding-bottom:15px;font-size:12.5px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-tools .tools-topbar-hint .eb{flex:none}.ai-tools .tools-grid{display:grid;grid-template-columns:420px minmax(0,1fr);gap:48px;align-items:start}.ai-tools .editor-card.tools-card{position:sticky;top:88px;max-height:calc(100vh - 108px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--rule-2) transparent;background:var(--card);border:1px solid var(--rule);border-radius:2px;box-shadow:none}.ai-tools .tools-state{padding:28px 22px;align-items:flex-start;gap:12px}.ai-tools .tools-state.loading-jobs{flex-direction:row;justify-content:flex-start;color:var(--ink-2);font-size:12.5px}.ai-tools .tools-state .notice{margin:0;width:100%}.ai-tools .tool-form{gap:0;min-width:0}.ai-tools .tool-form>.notice{margin:22px}.ai-tools .tool-block{padding:18px 22px;border-bottom:1px solid var(--rule);min-width:0}.ai-tools .tool-block-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px;min-width:0;font-size:12px;line-height:16px;color:var(--ink-2)}.ai-tools .tool-block-head.script-label{align-items:center;margin:0 0 10px}.ai-tools .tool-block-head label,.ai-tools .tool-block-head .tool-block-label{margin:0;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.06em;color:var(--ink-2);white-space:nowrap}.ai-tools .tool-block-head>span:last-child:not(:first-child){min-width:0;font-size:11.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.02em}.ai-tools .tool-form select{width:100%;height:40px;padding:0 34px 0 12px;border:1px solid var(--rule-2);border-radius:2px;font-size:13px;color:var(--ink);cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b675f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/12px}.ai-tools .tool-form select:hover:not(:disabled){border-color:var(--ink-3)}.ai-tools .tool-form select:focus{border-color:var(--ink)}:where(html[data-theme=noir]) .ai-tools .tool-form select:focus{border-color:var(--noir-rule-on)}.ai-tools .tool-hint{margin-top:8px;font-size:11.5px;line-height:1.7;color:var(--ink-3)}.ai-tools .tool-hint .text-button,.ai-tools .notice .text-button{margin-left:6px;font-size:11.5px}.ai-tools .field-error{font-size:11.5px;margin-top:6px}.ai-tools .tool-composer{position:relative;border:1px solid var(--rule-2);border-radius:2px;background:var(--card)}.ai-tools .tool-composer:focus-within{border-color:var(--ink);box-shadow:none}:where(html[data-theme=noir]) .ai-tools .tool-composer:focus-within{border-color:var(--noir-rule-on)}.ai-tools .composer-text textarea,.ai-tools .composer-text .mention-backdrop{min-height:128px;max-height:360px;padding:12px 14px 26px;font-family:var(--serif);font-size:15px;line-height:1.85;letter-spacing:.01em}.ai-tools .composer-text textarea{color:var(--ink);background:transparent;border:0;border-radius:0}.ai-tools .composer-text textarea::placeholder{font-family:var(--sans);font-size:13px;color:var(--ink-3)}.ai-tools .mention-wrap textarea{caret-color:var(--ink)}.ai-tools .ref-tag{background:var(--paper-2);box-shadow:0 0 0 1px var(--rule-2);border-radius:2px}.ai-tools .ref-tag.invalid{background:var(--red-tint);box-shadow:0 0 0 1px #e3a395}:where(html[data-theme=noir]) .ai-tools .ref-tag.invalid{box-shadow:0 0 0 1px #c37e6f80}.ai-tools .composer-count{right:12px;bottom:6px;z-index:2;font-family:var(--latin);font-size:10.5px;letter-spacing:.04em;color:var(--ink-3)}.ai-tools .mention-list{top:40px;left:10px;padding:4px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);box-shadow:0 18px 40px -18px #1b1a1752}:where(html[data-theme=noir]) .ai-tools .mention-list{box-shadow:0 18px 40px -18px #00000093}.ai-tools .mention-list button{border-radius:2px;padding:8px 10px;font-size:12.5px;color:var(--ink)}.ai-tools .mention-list li[aria-selected=true] button,.ai-tools .mention-list button:hover{background:var(--paper)}.ai-tools .mention-list small,.ai-tools .mention-empty{color:var(--ink-3)}.ai-tools .mention-invalid{margin:8px 0 0}.ai-tools .composer-refs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;min-width:0}.ai-tools .ref-strip{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;margin:0;padding:0;list-style:none}.ai-tools .ref-chip{position:relative;display:block;width:60px;height:60px;padding:0;border:1px solid var(--rule);border-radius:2px;background:var(--paper-2);overflow:hidden;cursor:grab}.ai-tools .ref-chip:focus-visible{outline:2px solid var(--ink);outline-offset:2px}:where(html[data-theme=noir]) .ai-tools .ref-chip:focus-visible{outline:2px solid var(--noir-rule-on)}.ai-tools .ref-chip.dragging{opacity:.4}.ai-tools .ref-chip.over{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}:where(html[data-theme=noir]) .ai-tools .ref-chip.over{border-color:var(--noir-rule-ink)}.ai-tools .ref-chip.invalid{border-color:var(--red)}.ai-tools .ref-chip .ref-grip{display:none}.ai-tools .ref-chip .ref-thumb{width:100%;height:100%;border-radius:0;object-fit:cover;display:grid;place-items:center;background:var(--paper-2);color:var(--ink)}.ai-tools .ref-chip .ref-thumb.audio{padding-bottom:14px}.ai-tools .ref-chip .auth-image-state.ref-thumb small{display:none}.ai-tools .ref-chip .ref-text{position:absolute;left:0;right:0;bottom:0;display:block;padding:0 2px;background:#1b1a17b8;text-align:center}.ai-tools .ref-chip .ref-text strong{display:block;font-size:10px;line-height:16px;font-weight:500;color:#fff;letter-spacing:.04em;white-space:nowrap}.ai-tools .ref-chip .ref-text small{display:none}.ai-tools .ref-chip .ref-remove{position:absolute;top:3px;right:3px;width:18px;height:18px;padding:0;border:0;border-radius:2px;background:#f6f4eff0;color:var(--ink);display:grid;place-items:center;opacity:0;transition:opacity .15s}:where(html[data-theme=noir]) .ai-tools .ref-chip .ref-remove{background:#0c0c10f0}.ai-tools .ref-chip:hover .ref-remove,.ai-tools .ref-chip:focus .ref-remove,.ai-tools .ref-chip:focus-within .ref-remove{opacity:1}.ai-tools .ref-chip .ref-remove:hover:not(:disabled){background:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .ai-tools .ref-chip .ref-remove:hover:not(:disabled){background:var(--noir-fill-on);color:var(--noir-fill-on-text)}.ai-tools .composer-upload{min-width:60px;width:auto;height:60px;padding:2px 8px;gap:2px;border:1px dashed var(--rule-2);border-radius:2px;background:transparent;color:var(--ink-2);font-size:11px;line-height:1.3}.ai-tools .composer-upload span{white-space:nowrap}.ai-tools .composer-upload small{font-family:var(--latin);font-size:10px;letter-spacing:.02em;color:var(--ink-3);white-space:nowrap}.ai-tools .composer-upload:hover:not(:disabled){border-color:var(--ink);color:var(--ink)}:where(html[data-theme=noir]) .ai-tools .composer-upload:hover:not(:disabled){border-color:var(--noir-rule-on)}.ai-tools .composer-refs-hint{margin:0 0 0 4px;font-size:11.5px;line-height:1.5;color:var(--ink-3)}.ai-tools .composer-tools{display:flex;flex-wrap:wrap;gap:6px 16px;padding:12px 0 0}.ai-tools .composer-tools .text-button{padding:2px 0;font-size:12px;color:var(--ink);font-weight:400}.ai-tools .composer-tools .text-button.muted{font-size:11.5px;color:var(--ink-2);text-decoration-color:var(--rule-2)}.ai-tools .composer-tools .text-button:hover:not(:disabled){color:var(--red)}.ai-tools .tool-param-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}.ai-tools .tool-param-grid>*{grid-column:1/-1;min-width:0}.ai-tools .tool-param-grid>.half{grid-column:auto}.ai-tools .tool-param-grid>.tool-hint,.ai-tools .tool-param-grid>.field-error{margin-top:-8px}.ai-tools .choice-row{display:flex;flex-direction:column;gap:8px;min-width:0}.ai-tools .choice-label{font-size:12px;line-height:16px;font-weight:400;letter-spacing:.04em;color:var(--ink-2);white-space:nowrap}.ai-tools .choice-group{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:0 1px 1px 0;min-width:0}.ai-tools .choice-row.wrap .choice-group{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr))}.ai-tools .choice-group button{position:relative;min-width:0;height:30px;min-height:0;margin:0 -1px -1px 0;padding:0 4px;border:1px solid var(--rule-2);border-radius:0;background:var(--card);color:var(--ink-2);font-size:12.5px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:lining-nums}.ai-tools .choice-group button:hover:not(:disabled){z-index:1;border-color:var(--ink-3);color:var(--ink)}.ai-tools .choice-group button.selected{z-index:2;background:var(--ink);border-color:var(--ink);color:var(--paper);font-weight:500}:where(html[data-theme=noir]) .ai-tools .choice-group button.selected{background:var(--noir-fill-on);border-color:var(--noir-rule-on);color:var(--noir-fill-on-text)}.ai-tools .choice-group button:disabled{opacity:1;color:#c5bfb3;background:var(--card-2)}.ai-tools .choice-group button.selected:disabled{background:var(--ink-2);border-color:var(--ink-2);color:var(--paper)}.ai-tools .choice-group button:focus-visible{z-index:3;outline:2px solid var(--red);outline-offset:-1px}.ai-tools .size-inputs{display:flex;align-items:center;gap:8px}.ai-tools .size-input{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0}.ai-tools .size-input span{font-family:var(--latin);font-size:11px;letter-spacing:.12em;color:var(--ink-3)}.ai-tools .tool-form .size-inputs .size-input input{height:32px;padding:0 10px;font-size:13px;font-variant-numeric:tabular-nums;border-color:var(--rule-2);border-radius:2px}.ai-tools .tool-form .size-inputs .size-input input:disabled{background:var(--card-2);color:var(--ink-3)}.ai-tools .tool-form .size-inputs .size-input input[aria-invalid=true]{border-color:var(--red)}.ai-tools .size-lock{width:32px;height:32px;border:1px solid var(--rule-2);border-radius:2px;color:var(--ink-2);background:var(--card)}.ai-tools .size-lock.active{background:var(--ink);border-color:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .ai-tools .size-lock.active{background:var(--noir-fill-on);border-color:var(--noir-rule-on);color:var(--noir-fill-on-text)}.ai-tools .duration-slider{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}.ai-tools .duration-slider input{flex:1;min-width:150px}.ai-tools .duration-slider output{min-width:46px;font-family:var(--num);font-size:15px;font-weight:400;color:var(--ink);white-space:nowrap}.ai-tools .duration-slider small{font-family:var(--latin);font-size:11px;color:var(--ink-3);white-space:nowrap}.ai-tools input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:18px;margin:0;padding:0;background:transparent;cursor:pointer;accent-color:var(--ink)}.ai-tools input[type=range]::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--ink) var(--range-progress,50%),var(--rule-2) var(--range-progress,50%))}.ai-tools input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;margin-top:-5px;border-radius:50%;background:var(--ink);border:2px solid var(--card);box-shadow:0 0 0 1px var(--ink)}.ai-tools input[type=range]::-moz-range-track{height:2px;background:var(--rule-2)}.ai-tools input[type=range]::-moz-range-progress{height:2px;background:var(--ink)}.ai-tools input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:var(--ink);border:2px solid var(--card);box-shadow:0 0 0 1px var(--ink)}.ai-tools input[type=range]:disabled{opacity:.5;cursor:not-allowed}.ai-tools .audio-prompt{display:flex;flex-direction:column;gap:0}.ai-tools .audio-prompt label{margin:0 0 8px;font-size:12px;font-weight:400;letter-spacing:.04em;color:var(--ink-2)}.ai-tools .audio-prompt textarea{min-height:72px;padding:9px 12px;border:1px solid var(--rule-2);border-radius:2px;font-size:13px;line-height:1.7;color:var(--ink)}.ai-tools .audio-prompt textarea[aria-invalid=true]{border-color:var(--red)}.ai-tools .audio-prompt-foot{margin-top:8px;font-family:var(--latin);font-size:10.5px;color:var(--ink-3)}.ai-tools .audio-tags{gap:6px}.ai-tools .audio-tags button{height:22px;padding:0 8px;border:1px solid var(--rule);border-radius:2px;background:var(--card);font-family:var(--sans);font-size:11.5px;color:var(--ink-2);white-space:nowrap}.ai-tools .audio-tags button:hover:not(:disabled){border-color:var(--ink);color:var(--ink)}:where(html[data-theme=noir]) .ai-tools .audio-tags button:hover:not(:disabled){border-color:var(--noir-rule-on)}.ai-tools .tool-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--rule);font-size:13px;font-weight:400;letter-spacing:.02em;color:var(--ink);cursor:pointer}.ai-tools .tool-params-block .tool-param-grid:empty+.tool-switch-row,.ai-tools .tool-block>.tool-switch-row:first-child{margin-top:0;padding-top:0;border-top:0}.ai-tools .tool-details{margin-top:12px}.ai-tools .tool-details summary{font-size:12px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule-2);text-underline-offset:3px}.ai-tools .tool-details pre{border:1px solid var(--rule);border-radius:2px;background:var(--card-2);font-family:var(--serif);font-size:13px;color:var(--ink-2)}.ai-tools .textarea-wrap{border:1px solid var(--rule-2);border-radius:2px;background:var(--card)}.ai-tools .textarea-wrap:focus-within{border-color:var(--ink);box-shadow:none}:where(html[data-theme=noir]) .ai-tools .textarea-wrap:focus-within{border-color:var(--noir-rule-on)}.ai-tools .textarea-wrap.invalid{border-color:var(--red)}.ai-tools .textarea-wrap textarea{min-height:220px;padding:14px 16px 10px;font-family:var(--serif);font-size:15px;line-height:1.9;color:var(--ink)}.ai-tools .textarea-wrap textarea::placeholder{font-family:var(--sans);font-size:13px}.ai-tools .textarea-footer{padding:8px 14px;border-top:1px solid var(--rule);font-size:11px;color:var(--ink-3)}.ai-tools .textarea-footer>span:last-child{font-family:var(--latin);color:var(--ink-2)}.ai-tools .plain-fieldset legend{margin:0 0 10px;font-size:12px;font-weight:500;letter-spacing:.06em;color:var(--ink-2)}.ai-tools .voice-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-tools .voice-card{gap:8px;padding:10px 12px;border:1px solid var(--rule);border-radius:2px;background:var(--card-2);box-shadow:none}.ai-tools .voice-card.selected{border-color:var(--ink);background:var(--card);box-shadow:none}:where(html[data-theme=noir]) .ai-tools .voice-card.selected{border-color:var(--noir-rule-on)}.ai-tools .voice-card-select{gap:8px;padding:2px 0;font-size:13px;color:var(--ink);font-weight:600}.ai-tools .voice-card-select svg{color:var(--ink-2)}.ai-tools .voice-card-play{height:26px;padding:0 9px;gap:5px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);font-size:11.5px;color:var(--ink)}.ai-tools .voice-card-play:hover:not(:disabled){border-color:var(--ink)}:where(html[data-theme=noir]) .ai-tools .voice-card-play:hover:not(:disabled){border-color:var(--noir-rule-on)}.ai-tools .voice-card-play small{font-family:var(--latin);color:var(--ink-3)}.ai-tools .speed-slider label{margin:0 0 10px;font-size:12px;font-weight:500;letter-spacing:.06em;color:var(--ink-2)}.ai-tools .speed-slider>div{gap:10px;font-family:var(--latin);font-size:11px;color:var(--ink-3)}.ai-tools .speed-slider output{font-family:var(--num);font-size:15px;font-weight:400;color:var(--ink)}.ai-tools .tool-messages{display:grid;gap:8px}.ai-tools .tool-messages .notice{margin:0;font-size:12px}.ai-tools .tool-messages .success-message{padding:0;font-size:12.5px}.ai-tools .tool-cost{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;background:var(--card-2);box-shadow:0 -1px 0 var(--rule)}.ai-tools .tool-cost-text{display:grid;gap:3px;min-width:0}.ai-tools .tool-cost-text>span{font-size:11.5px;color:var(--ink-2);letter-spacing:.04em}.ai-tools .tool-cost-text strong{font-family:var(--serif);font-size:16px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-tools .tool-cost-text small{display:block;font-size:11px;line-height:1.55;color:var(--ink-3)}.ai-tools .tool-cost .composer-submit{flex:none;width:auto;height:42px;min-width:112px;margin:0;padding:0 24px;border-radius:2px;font-size:14px;letter-spacing:.14em;background:var(--red)!important;border:1px solid var(--red);color:#fff;box-shadow:none!important}.ai-tools .tool-cost .composer-submit:hover:not(:disabled){background:var(--red-dark)!important;border-color:var(--red-dark)}.ai-tools .tool-cost .composer-submit svg{margin:0!important}.ai-tools .tool-cost .composer-submit:disabled{opacity:1;background:var(--paper-2)!important;border-color:var(--rule-2);color:var(--ink-3)}.ai-tools .results-column.tools-stream{display:flex;flex-direction:column;gap:0;min-width:0}.ai-tools .tools-retention{display:flex;align-items:center;gap:10px;margin:0;padding:11px 16px;border:1px solid var(--rule);border-radius:2px;background:var(--card-2);font-size:12.5px;line-height:1.6;color:var(--ink-2)}.ai-tools .tools-retention svg{color:var(--ink-3)}.ai-tools .jobs-card.tools-feed,section.library-creations .jobs-card.tools-feed{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}.ai-tools .tools-tip{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:24px;font-size:12px;line-height:1.7;color:var(--ink-3)}.ai-tools .tools-tip svg{color:var(--ink-3)}.ai-tools .tools-tip strong{font-weight:600;color:var(--ink-2)}.creation-feed{min-width:0}.creation-feed .creation-feed-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;padding:24px 0 12px;border-bottom:1px solid var(--ink)}:where(html[data-theme=noir]) .creation-feed .creation-feed-head{border-bottom:1px solid var(--noir-rule-ink)}.creation-feed .creation-feed-head h2{display:flex;align-items:baseline;gap:8px;font-family:var(--serif);font-size:20px;font-weight:600;letter-spacing:.08em;color:var(--ink)}.creation-feed .creation-feed-head .count-badge{min-width:0;padding:0;border-radius:0;background:none;font-family:var(--num);font-size:15px;font-weight:400;color:var(--ink-3);letter-spacing:0}.creation-feed .creation-feed-head p{margin:0;font-size:12px;color:var(--ink-3)}.creation-feed .creation-feed-head .live-indicator{margin-left:auto;padding:0;font-size:11.5px;color:var(--ink-2)}.creation-feed .creation-feed-head .live-indicator>span{width:6px;height:6px;background:var(--green)}.creation-feed>.notice,.creation-feed>.poll-error{margin:14px 0 0}.creation-feed>.poll-error{border:1px solid #e9d8b6;background:var(--ochre-tint);color:var(--ochre);font-size:12px}.creation-feed .loading-jobs{padding:48px 0;color:var(--ink-2);font-size:12.5px}.creation-feed .creation-empty{margin:24px 0 0;min-height:180px;padding:28px;border:1px dashed var(--rule-2);border-radius:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.creation-feed .creation-empty strong{font-family:var(--serif);font-size:17px;font-weight:600;color:var(--ink);letter-spacing:.06em}.creation-feed .creation-empty p{margin:0;font-size:12px;color:var(--ink-3)}.creation-feed .jobs-pagination{margin-top:32px;padding:18px 0 0;border-top:1px solid var(--rule)}.creation-feed .status-badge{font-size:12px}.creation-feed .status-badge>svg{display:none}.creation-feed .status-badge.running:before,.creation-feed .status-badge.queued:before{background:none;box-shadow:inset 0 0 0 1.5px currentColor;width:7px;height:7px}.creation-feed .status-badge.partial{color:var(--ochre)}.creation-feed .creation-flags{gap:6px}.creation-feed .creation-flag{height:22px;padding:0 8px;gap:4px;border:1px solid var(--rule);border-radius:2px;background:var(--card);font-size:11.5px;color:var(--ink-2)}.creation-feed .creation-flag.draft{border-color:var(--ink);color:var(--ink);background:var(--card)}:where(html[data-theme=noir]) .creation-feed .creation-flag.draft{border-color:var(--noir-rule-ink)}.creation-feed .creation-flag.warn{border-color:#e4cfa6;background:var(--ochre-tint);color:var(--ochre)}.creation-feed .creation-flag.expiry{height:auto;padding:0;border:0;background:none;font-size:12px;color:var(--ink-3)}.creation-feed .creation-flag.expiry.urgent{color:var(--red);background:none;font-weight:500}.creation-feed .creation-note{font-size:11.5px;line-height:1.65;color:var(--ink-3)}.creation-feed .creation-usage{font-size:11.5px;color:var(--ink-3)}.creation-feed .creation-inline-error{font-size:11.5px;color:var(--red)}.creation-feed .creation-card .notice{margin:0;font-size:12px}.creation-feed .creation-list.stream{display:block;padding:0}.creation-feed .creation-card.stream{display:flex;flex-direction:column;gap:12px;padding:26px 0 28px;border:0;border-bottom:1px solid var(--rule);border-radius:0;background:none}.creation-feed .creation-card-head{display:flex;align-items:center;gap:12px;min-width:0;font-size:12px;color:var(--ink-2)}.creation-feed .creation-time{font-family:var(--num);font-size:14px;color:var(--ink);white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}.creation-feed .creation-source{font-family:var(--latin);font-size:11px;letter-spacing:.12em;color:var(--ink-2);white-space:nowrap}.creation-feed .creation-source>span{margin:0 5px;color:var(--ink-3)}.creation-feed .creation-head-end{margin-left:auto;white-space:nowrap}.creation-feed .creation-card.stream .creation-title strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;font-family:var(--serif);font-size:18px;line-height:30px;font-weight:500;letter-spacing:.02em;color:var(--ink)}.creation-feed .creation-tags{display:flex;flex-wrap:wrap;gap:6px;margin:-2px 0 0;padding:0;list-style:none}.creation-feed .creation-tags li{height:22px;padding:0 8px;display:inline-flex;align-items:center;border:1px solid var(--rule);border-radius:2px;background:var(--card);font-size:11.5px;line-height:1;color:var(--ink-2);white-space:nowrap}.creation-feed .creation-card.stream>.creation-image-grid,.creation-feed .creation-card.stream>.creation-video,.creation-feed .creation-card.stream>.creation-audio,.creation-feed .creation-card.stream>.creation-progress,.creation-feed .creation-card.stream>.creation-media-empty{margin-top:4px}.creation-feed .creation-card.stream>.creation-actions{margin-top:2px}.creation-feed .creation-progress{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:200px;padding:24px;border-radius:2px;color:#f6f4ef;background:#1d1c1a radial-gradient(ellipse at 28% 30%,#3d3a34 0,transparent 62%),#1d1c1a;background-image:radial-gradient(ellipse at 28% 30%,#3d3a34 0,transparent 62%),radial-gradient(ellipse at 76% 72%,#26343a 0,transparent 58%)}:where(html[data-theme=noir]) .creation-feed .creation-progress{background:#2a2a2e radial-gradient(ellipse at 28% 30%,#353539 0,transparent 62%),#2a2a2e;background-image:radial-gradient(ellipse at 28% 30%,#353539 0,transparent 62%),radial-gradient(ellipse at 76% 72%,#323236 0,transparent 58%)}.creation-feed .creation-progress>svg{color:#f6f4ef}.creation-feed .creation-progress-value{font-family:var(--num);font-size:44px;line-height:1;font-weight:400;color:#f6f4ef;letter-spacing:.02em}.creation-feed .creation-progress-value small{margin-left:2px;font-size:24px}.creation-feed .creation-progress .progress-track{width:min(180px,60%);height:2px;border-radius:0;background:#f6f4ef40}:where(html[data-theme=noir]) .creation-feed .creation-progress .progress-track{background:#0c0c1040}.creation-feed .creation-progress .progress-track span{background:#f6f4ef}:where(html[data-theme=noir]) .creation-feed .creation-progress .progress-track span{background:#0c0c10}.creation-feed .creation-progress .progress-label{margin:0;justify-content:center;font-size:12px;color:#f6f4efd1;letter-spacing:.04em}.creation-feed .creation-progress .progress-label>span{gap:6px}.creation-feed .creation-image-grid{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.creation-feed .creation-card.stream .creation-image-grid.n1{grid-template-columns:minmax(0,max-content);justify-content:start}.creation-feed .creation-card.stream .creation-image-grid.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-feed .creation-card.stream .creation-image-grid.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.creation-feed .creation-image-tile{position:relative;margin:0;min-width:0;display:block}.creation-feed .creation-image-tile img,.creation-feed .creation-image-tile .auth-image-state,.creation-feed .creation-image-failed{display:block;width:100%;aspect-ratio:var(--tile-ratio,1 / 1);object-fit:cover;border-radius:2px;background:var(--paper-2)}.creation-feed .creation-card.stream .creation-image-grid.n1 img{width:auto;max-width:100%;max-height:520px;aspect-ratio:auto}.creation-feed .creation-card.stream .creation-image-grid.n1 .auth-image-state,.creation-feed .creation-card.stream .creation-image-grid.n1 .creation-image-failed{width:min(360px,100%)}.creation-feed .auth-image-button{display:block;width:100%;padding:0;border:0;border-radius:2px;background:none;overflow:hidden;cursor:zoom-in}.creation-feed .auth-image-state{color:var(--ink-3);font-size:11px}.creation-feed .creation-image-failed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;border:1px dashed #e3b6ac;background:var(--red-tint);color:var(--red);font-size:11.5px;text-align:center}.creation-feed .creation-image-tile .creation-tile-tools{position:absolute;top:6px;right:6px;display:flex;gap:4px;opacity:0;transition:opacity .15s}.creation-feed .creation-image-tile:hover .creation-tile-tools,.creation-feed .creation-image-tile:focus-within .creation-tile-tools{opacity:1}.creation-feed .creation-tile-tools .button.small{width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:2px;background:#f6f4eff0;color:var(--ink)}:where(html[data-theme=noir]) .creation-feed .creation-tile-tools .button.small{background:#0c0c10f0}.creation-feed .creation-tile-tools .button.small:hover:not(:disabled){background:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .creation-feed .creation-tile-tools .button.small:hover:not(:disabled){background:var(--noir-fill-on);color:var(--noir-fill-on-text)}.creation-feed .creation-tile-tools .creation-inline-error{align-self:center;padding:2px 6px;background:#f6f4eff0}:where(html[data-theme=noir]) .creation-feed .creation-tile-tools .creation-inline-error{background:#0c0c10f0}.creation-feed .creation-image-tile .creation-flag.cropped{position:absolute;left:6px;bottom:6px;height:20px;border:0;background:#1b1a17b8;color:#fff;font-size:10.5px}.creation-feed .creation-more{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#1b1a1780;color:#f6f4ef;font-family:var(--num);font-size:26px;pointer-events:none}.creation-feed .creation-video-frame{position:relative;display:flex;justify-content:center;align-items:center;min-height:180px;background:#141311;border-radius:2px;overflow:hidden}.creation-feed .creation-video video{display:block;width:100%;max-height:540px;border-radius:0;background:#141311}.creation-feed .creation-video-frame .creation-media-empty{width:100%;border:0;background:none;color:#d9d4c8}.creation-feed .creation-video-frame .creation-media-empty .text-button{color:#f6f4ef}.creation-feed .creation-media-tag{position:absolute;left:14px;top:14px;padding:4px 8px;border-radius:2px;background:#f6f4eff0;font-size:11px;letter-spacing:.06em;color:var(--ink);pointer-events:none}:where(html[data-theme=noir]) .creation-feed .creation-media-tag{background:#0c0c10f0}.creation-feed .creation-video>.creation-note{margin-top:8px}.creation-feed .creation-media-empty{padding:28px 18px;border:1px dashed var(--rule-2);border-radius:2px;background:var(--card-2);font-size:12px;line-height:1.8;color:var(--ink-2);text-align:center}.creation-feed .creation-card.stream .creation-audio{display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid var(--rule);border-radius:2px;background:var(--card)}.creation-feed .creation-audio>svg{color:var(--ink-2)}.creation-feed .creation-audio audio{flex:1;min-width:0;width:100%;height:36px;background:transparent}.creation-feed .creation-audio .creation-media-empty{flex:1;padding:8px;border:0;background:none}.creation-feed .creation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.creation-feed .creation-actions .button.small{height:30px;min-height:30px;margin:0;padding:0 12px;gap:6px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);color:var(--ink);font-size:12px;letter-spacing:.04em}.creation-feed .creation-actions .button.small:hover:not(:disabled){border-color:var(--ink);background:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .creation-feed .creation-actions .button.small:hover:not(:disabled){border-color:var(--noir-rule-on);background:var(--noir-fill-on);color:var(--noir-fill-on-text)}.creation-feed .creation-actions .button.small.dark{border-color:var(--ink);background:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .creation-feed .creation-actions .button.small.dark{border-color:var(--noir-rule-ink);background:var(--noir-fill);color:var(--ink)}.creation-feed .creation-actions .button.small.dark:hover:not(:disabled){background:#000}.creation-feed .creation-actions .button.small.creation-delete{margin-left:auto;border-color:transparent;background:transparent;color:var(--ink-2)}.creation-feed .creation-actions .button.small.creation-delete:hover:not(:disabled){border-color:transparent;background:transparent;color:var(--red)}section.library-creations{position:relative;display:block;max-width:none;margin:0}section.library-creations .library-search{position:absolute;top:14px;right:0;z-index:2;display:flex;gap:8px;width:min(380px,100%)}section.library-creations .library-search input{height:36px;padding:0 12px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);font-size:13px}section.library-creations .library-search .button{min-height:36px;height:36px;margin:0;padding:0 14px}section.library-creations .creation-feed-head{padding-right:400px;min-height:64px}.creation-feed .creation-list.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px;padding:28px 0 0}.creation-feed .creation-card.grid{display:flex;flex-direction:column;gap:6px;min-width:0;padding:0;border:0;border-radius:0;background:none}.creation-feed .creation-card.grid .creation-cover{position:relative;aspect-ratio:4 / 3;margin-bottom:8px;overflow:hidden;background:var(--paper-2);outline:1px solid transparent;outline-offset:3px;transition:outline-color .2s}.creation-feed .creation-card.grid:hover .creation-cover,.creation-feed .creation-card.grid:focus-within .creation-cover{outline-color:var(--ink)}:where(html[data-theme=noir]) .creation-feed .creation-card.grid:hover .creation-cover,:where(html[data-theme=noir]) .creation-feed .creation-card.grid:focus-within .creation-cover{outline-color:var(--noir-rule-on)}.creation-feed .creation-card.grid .creation-cover.image{aspect-ratio:1 / 1}.creation-feed .creation-card.grid .creation-cover.video{background:#141311}.creation-feed .creation-card.grid .creation-cover.speech{background:var(--card);border:1px solid var(--rule)}.creation-feed .creation-card.grid .creation-cover>.creation-progress{height:100%;min-height:0;border-radius:0}.creation-feed .creation-card.grid .creation-cover .creation-image-grid{height:100%;gap:2px;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr)}.creation-feed .creation-card.grid .creation-cover .creation-image-grid.n1{grid-template-columns:1fr}.creation-feed .creation-card.grid .creation-cover .creation-image-grid.n3>.creation-image-tile:first-child{grid-row:span 2}.creation-feed .creation-card.grid .creation-cover .creation-image-tile{height:100%;min-height:0}.creation-feed .creation-card.grid .creation-cover .auth-image-button{height:100%;border-radius:0}.creation-feed .creation-card.grid .creation-cover .creation-image-tile img,.creation-feed .creation-card.grid .creation-cover .creation-image-tile .auth-image-state,.creation-feed .creation-card.grid .creation-cover .creation-image-failed{height:100%;aspect-ratio:auto;border-radius:0}.creation-feed .creation-card.grid .creation-cover .creation-video{display:flex;flex-direction:column;height:100%}.creation-feed .creation-card.grid .creation-cover .creation-video-frame{flex:1;min-height:0;border-radius:0}.creation-feed .creation-card.grid .creation-cover .creation-video video{width:100%;height:100%;max-height:none;object-fit:contain}.creation-feed .creation-card.grid .creation-cover .creation-video>.creation-note{margin:0;padding:6px 10px;font-size:10.5px;line-height:1.5;color:#cfc9bd;background:#141311;border-top:1px solid #2b2925}:where(html[data-theme=noir]) .creation-feed .creation-card.grid .creation-cover .creation-video>.creation-note{border-top:1px solid #dddbd7}.creation-feed .creation-card.grid .creation-cover>.creation-media-empty{height:100%;display:flex;align-items:center;justify-content:center;border:0;border-radius:0}.creation-feed .creation-card.grid .creation-cover.video>.creation-media-empty{background:none;color:#d9d4c8}.creation-feed .creation-cover-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--ink-3);font-size:12.5px;letter-spacing:.04em}.creation-feed .creation-cover-empty.failed{color:var(--red)}.creation-feed .creation-cover.video .creation-cover-empty{color:#a29d92}:where(html[data-theme=noir]) .creation-feed .creation-cover.video .creation-cover-empty{color:#5f5d59}.creation-feed .creation-quote{height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:20px 22px 18px}.creation-feed .creation-quote>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin:0;font-family:var(--serif);font-size:17px;line-height:1.8;color:var(--ink)}.creation-feed .creation-quote audio{width:100%;height:34px}.creation-feed .creation-card.grid .creation-title strong{display:block;font-family:var(--serif);font-size:15.5px;line-height:1.4;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creation-feed .creation-card.grid .creation-line{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;font-size:12px;color:var(--ink-2)}.creation-feed .creation-card.grid .creation-line .creation-meta{min-width:0;font-size:12px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creation-feed .creation-card.grid .creation-line .creation-meta>span{margin:0 4px;color:var(--ink-3)}.creation-feed .creation-card.grid .creation-line.foot{margin-top:2px;padding-top:6px;border-top:1px solid var(--rule);font-size:11.5px;color:var(--ink-3)}.creation-feed .creation-card.grid .creation-line.foot>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creation-feed .creation-card.grid .creation-line.foot .creation-flag.expiry{font-size:11.5px}.creation-feed .creation-card.grid .creation-actions{gap:6px;margin-top:8px}.creation-feed .creation-card.grid .creation-actions .button.small{height:28px;min-height:28px;padding:0 9px;font-size:11.5px}.creation-feed .creation-card.grid .creation-title{flex:none}.creation-feed .creation-card.stream.speech>.creation-progress{min-height:132px;flex-direction:row;flex-wrap:wrap;gap:12px 20px}.creation-feed .creation-card.stream.speech>.creation-progress .creation-progress-value{font-size:34px}.tool-modal-backdrop{background:#1b1a176b}.tool-modal-backdrop .tool-modal{gap:14px;padding:24px 26px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);box-shadow:0 24px 60px -24px #1b1a1773}:where(html[data-theme=noir]) .tool-modal-backdrop .tool-modal{box-shadow:0 24px 60px -24px #000000cf}.tool-modal-backdrop .tool-modal h3{font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:.04em;color:var(--ink)}.tool-modal-backdrop .tool-modal-body{font-size:13px;line-height:1.8;color:var(--ink-2)}.tool-modal-backdrop .tool-modal-actions .button{margin:0}.tool-modal-backdrop .button.danger{background:var(--red);border-color:var(--red);color:#fff}.tool-modal-backdrop .button.danger:hover:not(:disabled){background:var(--red-dark);border-color:var(--red-dark)}.tool-modal-backdrop .lightbox-frame{border-radius:2px;background:var(--paper);border:1px solid var(--rule-2)}.tool-modal-backdrop .lightbox-head{font-family:var(--latin);font-size:12px;letter-spacing:.06em;color:var(--ink-2)}.tool-modal-backdrop .lightbox-image img{border-radius:0}.tool-modal-backdrop .lightbox-nav{border:1px solid var(--rule-2);border-radius:2px;background:var(--card);color:var(--ink)}.tool-modal-backdrop .lightbox-actions .button{margin:0}@media (hover:none){.ai-tools .ref-chip .ref-remove,.creation-feed .creation-image-tile .creation-tile-tools{opacity:1}}@media (max-width:1180px){.ai-tools .tools-grid{grid-template-columns:380px minmax(0,1fr);gap:32px}.creation-feed .creation-list.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:960px){.ai-tools .tools-grid{grid-template-columns:minmax(0,1fr);gap:28px}.ai-tools .editor-card.tools-card{position:static;max-height:none;overflow:visible}.ai-tools .tool-cost{position:static}.ai-tools .tools-topbar-hint{display:none}section.library-creations .library-search{position:static;width:100%;margin:0 0 4px}section.library-creations .creation-feed-head{padding-right:0;min-height:0}}@media (max-width:600px){.ai-tools .tools-topbar{margin-bottom:20px}.ai-tools .tools-topbar .tools-tabs{width:100%;gap:0}.ai-tools .tools-topbar .tools-tabs button{flex:1;justify-content:center;padding:0 4px 12px;font-size:14px;letter-spacing:.04em}.ai-tools .tool-block{padding:16px}.ai-tools .tool-cost{padding:14px 16px}.ai-tools .tool-param-grid>.half{grid-column:1/-1}.creation-feed .creation-card.stream{padding:22px 0 24px}.creation-feed .creation-card.stream .creation-title strong{font-size:16.5px;line-height:27px}.creation-feed .creation-image-grid,.creation-feed .creation-card.stream .creation-image-grid.n3{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-feed .creation-card-head{flex-wrap:wrap;row-gap:4px}.creation-feed .creation-list.grid{grid-template-columns:minmax(0,1fr);gap:36px}.creation-feed .creation-actions .button.small.creation-delete{margin-left:0}}.task-center-button{position:relative;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 2px;border:0;border-radius:0;background:none;color:var(--ink-2);font-size:13px;letter-spacing:.04em;white-space:nowrap;cursor:pointer}.task-center-button:hover,.task-center-button.active{color:var(--ink)}.task-center-button svg{flex:none;color:var(--ink-3)}.task-center-button:hover svg,.task-center-button.active svg{color:var(--ink)}.task-center-badge{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--ink);color:var(--paper);font-family:var(--num);font-size:11px;line-height:18px;text-align:center;letter-spacing:0}:where(html[data-theme=noir]) .task-center-badge{background:var(--noir-fill);color:var(--ink)}.task-center-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:139;background:#1b1a1726;animation:task-fade .16s ease-out}.task-center{position:fixed;top:0;right:0;bottom:0;z-index:140;width:min(420px,100vw);display:flex;flex-direction:column;background:var(--card);border-left:1px solid var(--rule);box-shadow:-24px 0 60px #1b1a1714;outline:none;animation:task-in .2s ease-out}:where(html[data-theme=noir]) .task-center{box-shadow:-24px 0 60px #00000024}@keyframes task-in{0%{transform:translate(28px);opacity:0}to{transform:none;opacity:1}}@keyframes task-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.task-center,.task-center-scrim{animation:none}}.task-center>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 24px 18px}.task-center>header h2{display:flex;align-items:baseline;gap:12px;margin:0;font-family:var(--serif);font-size:24px;font-weight:600;letter-spacing:.08em;color:var(--ink);white-space:nowrap}.task-center>header h2 .en{font-family:var(--latin);font-size:10px;font-weight:400;letter-spacing:.28em;color:var(--ink-3)}.task-center>header .icon-button{width:32px;height:32px;padding:0;border:1px solid var(--rule-2);border-radius:2px;color:var(--ink-2);background:var(--card)}.task-center>header .icon-button:hover{border-color:var(--ink);color:var(--ink);background:var(--card)}:where(html[data-theme=noir]) .task-center>header .icon-button:hover{border-color:var(--noir-rule-on)}.task-center-tabs{display:flex;gap:28px;padding:0 24px;border-bottom:1px solid var(--rule)}.task-center-tabs button{position:relative;border:0;background:none;padding:0 0 11px;border-radius:0;font-size:14px;color:var(--ink-3);white-space:nowrap;cursor:pointer}.task-center-tabs button .num{font-size:13px;color:var(--ink-3);margin-left:2px}.task-center-tabs button:hover{color:var(--ink-2)}.task-center-tabs button[aria-selected=true]{background:none;color:var(--ink);font-weight:600}.task-center-tabs button[aria-selected=true]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--red)}.task-center-kinds{display:flex;flex-wrap:wrap;gap:6px;padding:12px 24px;border-bottom:1px solid var(--rule)}.task-center-kinds button{height:26px;padding:0 9px;border:1px solid var(--rule-2);border-radius:2px;background:var(--card);font-size:12px;color:var(--ink-2);white-space:nowrap;cursor:pointer}.task-center-kinds button:hover{border-color:var(--ink-3);color:var(--ink)}.task-center-kinds button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}:where(html[data-theme=noir]) .task-center-kinds button[aria-pressed=true]{background:var(--noir-fill-on);border-color:var(--noir-rule-on);color:var(--noir-fill-on-text)}.task-center-body{flex:1;min-height:0;overflow-y:auto;background:var(--card-2);padding:4px 24px 16px}.task-center-group+.task-center-group{border-top:1px solid var(--rule)}.task-center-group h3{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0;padding:16px 0 4px;font-size:11.5px;font-weight:400;letter-spacing:.08em;color:var(--ink-3);white-space:nowrap}.task-center-group h3 small{font-size:11px;letter-spacing:.06em}.task-center-list{list-style:none;margin:0;padding:0;display:block}.task-center-list li{display:grid;gap:6px;padding:14px 0 16px;border:0;border-bottom:1px solid var(--rule);border-radius:0;min-width:0}.task-center-list li:last-child{border-bottom:0}.task-center-head{display:flex;align-items:center;gap:10px;min-width:0}.task-center-head em{font-style:normal;font-size:11px;letter-spacing:.08em;color:var(--ink-2);white-space:nowrap}.task-center-head time{margin-left:auto;font-size:11.5px;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}.task-center-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-2);white-space:nowrap}.task-center-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.task-center-status.running,.task-center-status.queued{color:var(--ink)}.task-center-status.running:before,.task-center-status.queued:before{background:none;border:1px solid currentColor;box-sizing:border-box}.task-center-status.waiting,.task-center-status.partial{color:var(--ochre)}.task-center-status.succeeded{color:var(--green)}.task-center-status.failed,.task-center-status.unknown{color:var(--red)}.task-center-status.cancelled{color:var(--ink-3)}.task-center-list strong{font-family:var(--serif);font-size:16.5px;font-weight:600;line-height:1.5;letter-spacing:.03em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-center-list li.is-done{gap:4px;padding:12px 0}.task-center-list li.is-done strong{font-size:14.5px}.task-center-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-width:0}.task-center-meta small{font-size:12px;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.task-center-meta .num{font-size:13px;color:var(--ink);flex:none}.task-center-progress{height:2px;border-radius:0;background:var(--rule);overflow:hidden;margin-top:2px}.task-center-progress span{display:block;height:100%;background:var(--ink)}.task-center-item-error{margin:0;font-size:12px;line-height:1.7;color:var(--red);overflow-wrap:anywhere}.task-center-actions{display:flex;align-items:center;gap:18px;margin-top:4px}.task-center-actions .text-button{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:2px 0;font-size:12.5px;color:var(--ink);text-decoration:none;white-space:nowrap}.task-center-actions .text-button:hover:not(:disabled){color:var(--red)}.task-center-actions .danger{color:var(--ink-2)}.task-center-actions .button.small{min-height:30px;height:30px;padding:0 14px;font-size:12.5px;white-space:nowrap}.task-center-empty,.task-center-error{display:flex;align-items:center;gap:6px;margin:24px 0;font-size:12.5px;color:var(--ink-3)}.task-center-empty{justify-content:center;padding:32px 0}.task-center-error{color:var(--red);margin:14px 0 0}.task-center-note{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:14px 24px 18px;border-top:1px solid var(--rule);background:var(--card)}.task-center-note p{flex:1;min-width:0;white-space:normal;margin:0;font-size:11.5px;line-height:1.7;color:var(--ink-3)}.task-center-note .link-button{flex:none;font-size:12px}@media (max-width:760px){.task-center-label{display:none}.task-center-button{padding:0 4px}.task-center>header{padding:18px 16px 14px}.task-center-tabs,.task-center-kinds{padding-left:16px;padding-right:16px}.task-center-body{padding:4px 16px 12px}.task-center-note{padding:12px 16px 14px}}@media (prefers-reduced-motion:reduce){.task-center{animation:none}}
