:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .endpoint-route{display:inline-flex;min-width:0;align-items:center;gap:10px;padding:9px 12px 9px 9px;border:1px solid var(--line-dark);border-radius:11px;background:#ffffff9e;max-width:100%}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .endpoint-route span{padding:5px 7px;border-radius:7px;background:var(--violet-soft);color:var(--violet-dark);font-size:10px;font-weight:880}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .endpoint-route code{overflow-wrap:anywhere;font-size:12px;font-weight:700}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-panel{min-width:0;overflow:hidden;border:1px solid #303039;border-radius:16px;background:#17171d;box-shadow:0 16px 42px #17171d1a;color:#f7f6f1}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-head{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:16px;padding:0 14px 0 18px;border-bottom:1px solid rgba(255,255,255,.11);color:#ffffffa6;font-size:12px;font-weight:700}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .copy-button{min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffff0f;color:#f7f6f1;cursor:pointer;font-size:12px;font-weight:730}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .copy-button:hover{background:#ffffff1f}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .copy-button:focus-visible{outline:3px solid rgba(163,151,255,.42);outline-offset:2px}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-head-actions{display:flex;align-items:center;gap:10px}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-panel pre{margin:0;overflow:auto;max-height:540px;padding:22px}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-panel-complete pre{max-height:360px}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-panel code{font-size:12px;line-height:1.8;tab-size:2}@media(max-width:720px){:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .endpoint-route{width:100%;overflow:hidden}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .endpoint-route code{min-width:0}:where(.docs-main,.detail-api-example,.api-quickstart-dialog) .code-panel pre{padding:18px}}.image25-model-prices{margin:12px 0 20px;padding:12px 14px;border:1px solid #dedde3;border-radius:12px;background:#faf9fc;color:#292730;font-size:13px}.image25-model-prices>summary{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:24px;padding:0;cursor:pointer;font-size:13px;font-weight:600;line-height:1.8;list-style:none}.image25-model-prices>summary::-webkit-details-marker{display:none}.image25-model-prices>summary:after{content:"\2304";display:block;flex:0 0 auto;width:auto;height:auto;margin-left:auto;border:0;border-radius:0;background:none;font-size:16px;transform:none}.image25-model-prices[open]>summary:after{transform:rotate(180deg);background:none;border:0}.image25-model-prices>summary:focus-visible{outline:2px solid #6953ee;outline-offset:4px;border-radius:4px}.image25-model-prices-badge{display:inline-block;flex-shrink:0;white-space:nowrap;margin-left:2px;font-size:11px;font-weight:500;color:#5943c5;background:#efebff;border-radius:5px;padding:0 6px}.image25-model-price-row{display:grid;gap:5px;padding-top:14px}.image25-model-price-row>strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.image25-model-price-row>span{color:#696570;font-size:12px}.image25-model-price-row>.image25-model-price-value{color:#5943c5;font-weight:600}.generation-type-badge[data-request-type]{display:inline-flex;align-items:center;flex:0 0 auto;margin:0;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap}.generation-type-badge[data-request-type=text]{background:#e8f1fc;color:#285c94}.generation-type-badge[data-request-type=image]{background:#efebff;color:#5943c5}.generation-type-badge[hidden]{display:none}.generation-type-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.finished-work-meta>strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.run-generation-type{position:absolute;top:16px;left:16px;z-index:2;pointer-events:none}.imgapi-select-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important}.imgapi-select{position:relative;display:block;width:100%}.imgapi-select-trigger{display:flex;width:100%;min-height:46px;align-items:center;justify-content:space-between;gap:14px;padding:0 14px;border:1px solid var(--line-dark, #c9c8c1);border-radius:13px;background:var(--surface, #fff);color:var(--ink, #17171d);cursor:pointer;font:inherit;font-size:13px;font-weight:680;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.imgapi-select-trigger:hover,.imgapi-select.is-open .imgapi-select-trigger{border-color:var(--violet, #6657e8)}.imgapi-select-trigger:focus-visible{border-color:var(--violet, #6657e8);box-shadow:0 0 0 4px #6657e81f;outline:0}.imgapi-select-trigger:disabled{cursor:not-allowed;opacity:.55}.imgapi-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imgapi-select-chevron{width:8px;height:8px;flex:0 0 auto;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease}.imgapi-select.is-open .imgapi-select-chevron{transform:translateY(2px) rotate(225deg)}.imgapi-select-listbox{position:fixed;z-index:1000;max-height:var(--imgapi-select-max-height, 280px);overflow:auto;padding:6px;border:1px solid var(--line-dark, #c9c8c1);border-radius:14px;background:var(--surface, #fff);box-shadow:0 18px 54px #1c1b2429;color:var(--ink, #17171d);font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Arial,sans-serif}.imgapi-select-option{display:flex;min-height:44px;align-items:center;padding:9px 12px;border-radius:10px;cursor:pointer;font-size:13px;font-weight:620}.imgapi-select-option.is-active{background:var(--violet-soft, #eeebff);color:var(--violet-dark, #4d3ed0)}.imgapi-select-option.is-selected:after{margin-left:auto;color:var(--violet, #6657e8);content:"\2713";font-weight:900}.imgapi-select-option.is-disabled{cursor:not-allowed;opacity:.45}.reference-images{display:grid;min-width:0;gap:10px;margin:0 0 18px}.reference-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:14px}.reference-heading .field-label{margin:0}.playground-prompt-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.playground-prompt-heading .playground-prompt-label .field-label{margin:0}.playground-prompt-label{display:inline-flex;align-items:center;gap:4px}.reference-heading>:last-child{color:var(--muted, #6f6e78);font-size:11px;white-space:nowrap}.reference-controls{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.reference-upload,.reference-add,.reference-url-input{min-height:46px;border:1px solid var(--line-dark, #c9c8c1);border-radius:13px;background:var(--surface, #fff);color:var(--ink, #17171d);font:inherit;font-size:12px}.reference-upload,.reference-add{padding:0 15px;cursor:pointer;font-weight:740;white-space:nowrap;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.reference-upload:hover,.reference-add:hover{border-color:var(--violet, #6657e8);background:var(--violet-soft, #eeebff);color:var(--violet-dark, #4d3ed0)}.reference-upload:disabled{cursor:wait;opacity:.7}.reference-url-input{width:100%;min-width:0;padding:0 13px}.reference-url-input::placeholder{color:#95939b}[data-playground-prompt].is-reference-dragover,.reference-upload.is-reference-dragover,.reference-url-input.is-reference-dragover{border-color:var(--violet, #6657e8);background:var(--violet-soft, #eeebff);box-shadow:0 0 0 4px #6657e824;outline:0}.reference-upload:focus-visible,.reference-add:focus-visible,.reference-url-input:focus-visible,.reference-remove:focus-visible{border-color:var(--violet, #6657e8);box-shadow:0 0 0 4px #6657e81f;outline:0}.reference-list{display:grid;min-width:0;grid-template-columns:repeat(auto-fill,72px);gap:12px}.reference-list[hidden]{display:none}.reference-item{position:relative;width:72px;height:72px;aspect-ratio:1;padding:0;border:1px solid var(--line, #deddd7);border-radius:12px;background:#ffffff9e}.reference-item[data-reference-item-state=error]{border-color:#a63d4573}.reference-item img{width:100%;height:100%;border-radius:11px;background:#eceaf3;object-fit:cover}.reference-remove{display:grid;position:absolute;z-index:1;top:-7px;right:-7px;width:23px;height:23px;place-items:center;padding:0 0 2px;border:2px solid #fff;border-radius:50%;background:#dc3d4b;box-shadow:0 3px 9px #a63d4547;color:#fff;cursor:pointer;font-size:17px;line-height:1}.reference-remove:hover{background:#b92d3a;color:#fff}.playground-account-bar{display:flex;width:100%;align-items:center;justify-content:space-between;gap:24px}.playground-account-bar .quota-success{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:#23764c;font-size:12px;font-weight:780;white-space:nowrap}.playground-account-bar .quota-success i{width:7px;height:7px;border-radius:50%;background:#25a46a;box-shadow:0 0 0 3px #25a46a1f}.reference-status{margin:0;color:var(--muted, #6f6e78);font-size:11px;line-height:1.5}.reference-status[data-state=error]{color:#a63d45}.reference-status[data-state=success]{color:#177b57}.dashboard-playground-shell .playground-panel{display:grid;grid-template-columns:minmax(0,.92fr) minmax(340px,1.08fr);overflow:hidden;border:1px solid var(--line-dark);border-radius:24px;background:#ffffffb8;box-shadow:var(--shadow)}.dashboard-playground-shell .quota-summary{display:flex;width:fit-content;max-width:100%;align-items:center;margin:0 0 16px;padding:9px 13px;border:1px solid var(--line-dark);border-radius:999px;background:#ffffffb8;white-space:nowrap}.dashboard-playground-shell .quota-item{display:inline-flex;align-items:center;gap:5px;font-size:12px}.dashboard-playground-shell .quota-item+.quota-item{margin-left:11px;padding-left:11px;border-left:1px solid var(--line)}.dashboard-playground-shell .quota-item span{color:var(--muted)}.dashboard-playground-shell .quota-rate{color:var(--violet-dark);font-weight:780}.dashboard-playground-shell .playground-account-bar{margin:0 0 16px}.dashboard-playground-shell .quota-success{color:#23764c;font-weight:780}.dashboard-playground-shell .quota-success i{width:7px;height:7px;border-radius:50%;background:#25a46a;box-shadow:0 0 0 3px #25a46a1f}@media(max-width:640px){#playground .shell,.dashboard-playground-shell{position:relative}.playground-account-bar{align-items:center;flex-direction:row;gap:12px}.playground-account-bar .quota-success{position:absolute;right:0;margin:0;align-self:auto}#playground .playground-account-bar .quota-success{top:14px}.dashboard-playground-shell .playground-account-bar{height:0;min-height:0;margin:0}.dashboard-playground-shell .playground-account-bar .quota-success{top:11px}.dashboard-playground-shell .quota-summary{width:100%;flex-wrap:wrap;gap:8px 0;border-radius:16px;white-space:normal}}.dashboard-playground-shell .playground-form{display:flex;flex-direction:column;padding:30px}.dashboard-playground-shell .field-label,.dashboard-playground-shell .model-picker legend{margin-bottom:10px;padding:0;font-size:13px;font-weight:760}.dashboard-playground-shell .model-picker{margin:0 0 22px;padding:0;border:0}.model-picker .model-options{--model-picker-gap: 8px;position:relative;display:flex;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;gap:var(--model-picker-gap)}.model-picker{min-width:0}.model-picker .model-options::-webkit-scrollbar{display:none}.model-picker .model-option{flex:0 0 max(140px,32%);user-select:none}.model-picker .model-option-slot{position:relative;flex:0 0 calc((100% - 2 * var(--model-picker-gap)) / 3);min-width:0}#playground .model-picker .model-options{gap:var(--model-picker-gap)}#playground .model-picker .model-option>span,.dashboard-playground-shell .model-picker .model-option>span{min-height:48px;text-align:center;line-height:1.25}.model-option-slot>.model-option{display:block;height:100%}.model-picker .model-option-slot>.model-option>span{height:100%}.model-picker .model-family{position:relative;height:100%}.model-picker .model-family>.model-option{height:100%}#playground .model-picker .model-family .model-option>span,.dashboard-playground-shell .model-picker .model-family .model-option>span{height:100%;padding-inline:4px 28px;white-space:normal}.model-picker .model-family>.imgapi-select{position:absolute;top:50%;right:3px;width:24px;height:28px;transform:translateY(-50%)}.model-picker .model-family .imgapi-select-trigger{width:100%;height:100%;min-height:0;padding:0;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;box-shadow:none;color:var(--muted)}.model-picker .model-family .imgapi-select-value{display:none}.model-picker .model-family .imgapi-select-chevron{position:static;margin:0;width:6px;height:6px;border-width:0 1.5px 1.5px 0}.model-picker .model-family:has(input:checked) .imgapi-select-trigger{color:var(--violet-dark)}.model-picker .model-family .imgapi-select-trigger:hover{background:transparent;color:var(--violet)}.model-picker .model-family .imgapi-select-trigger:focus-visible{outline:2px solid var(--violet);outline-offset:-3px}.model-card[data-home-model-id="gpt-image-2.5"] .model-name{white-space:nowrap}.model-help{position:relative;display:inline-flex;vertical-align:middle;margin-left:4px}.model-help button{display:grid;place-items:center;width:16px;height:16px;padding:0;border:1px solid var(--line-dark);border-radius:50%;background:var(--surface);color:var(--muted);font-family:inherit;font-size:10px;font-weight:600;line-height:1;cursor:help}.model-help [role=tooltip]{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translate(-50%);padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);box-shadow:0 4px 12px #1c1b240f;font-size:11px;line-height:1.5;font-weight:400;white-space:nowrap;visibility:hidden;opacity:0;pointer-events:none;z-index:2}.model-help:hover [role=tooltip],.model-help:focus-within [role=tooltip]{visibility:visible;opacity:1}.model-picker .model-help [role=tooltip]{bottom:calc(100% + 7px);left:0;transform:none;width:max-content;max-width:calc(100vw - 140px);white-space:normal;color:var(--ink)}.model-picker .model-help [role=tooltip]:popover-open{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);visibility:visible;opacity:1}.prompt-help{align-self:center}.prompt-help [role=tooltip]{left:0;transform:none;color:var(--ink)}.prompt-help:hover [role=tooltip],.prompt-help:focus-within [role=tooltip]{visibility:hidden;opacity:0}.prompt-help:focus-within:not([data-dismissed]) [role=tooltip]{visibility:visible;opacity:1}@media(hover:hover){.prompt-help:hover:not([data-dismissed]) [role=tooltip]{visibility:visible;opacity:1}}.model-picker .model-option input:checked+span{cursor:grab;touch-action:none}.model-option-slot.is-reordering{z-index:1}.model-options.is-reordering,.model-picker .model-option-slot.is-reordering .model-option>span{cursor:grabbing}.model-options:focus-visible{outline:2px solid var(--violet);outline-offset:3px}@media(max-width:680px){#playground .model-picker .model-option span,.dashboard-playground-shell .model-picker .model-option span{font-size:12px}}.dashboard-playground-shell .model-option{position:relative;display:block}.dashboard-playground-shell .model-option input{position:absolute;width:1px;height:1px;opacity:0}.dashboard-playground-shell .model-option span{display:grid;min-height:46px;place-items:center;padding:0 8px;border:1px solid var(--line-dark);border-radius:13px;background:var(--surface);font-size:12px;font-weight:720}.dashboard-playground-shell .model-option input:checked+span{border-color:var(--violet);background:var(--violet-soft);color:var(--violet-dark)}.dashboard-playground-shell .model-option input:focus-visible+span{outline:3px solid rgba(102,87,232,.4);outline-offset:3px}.dashboard-playground-shell textarea{width:100%;min-height:150px;resize:vertical;margin-bottom:15px;padding:15px 16px;border:1px solid var(--line-dark);border-radius:15px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;line-height:1.7}.dashboard-playground-shell textarea:focus{border-color:var(--violet);box-shadow:0 0 0 4px #6657e81a;outline:0}[data-imgapi-playground] .playground-form{min-width:0;container:playground-form / inline-size}[data-imgapi-playground] .generation-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}[data-imgapi-playground] .generation-settings .quantity-field{grid-column:auto}[data-imgapi-playground] .generation-settings>.select-field{min-width:0}[data-imgapi-playground] .generation-settings .imgapi-select{min-width:0;max-width:100%}[data-imgapi-playground] .generation-settings:not(:has([data-playground-quality])) .quantity-field{grid-column:1 / -1}@container playground-form (min-width: 440px){[data-imgapi-playground] .generation-settings{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr)) minmax(100px,1.3fr);gap:10px}[data-imgapi-playground] .generation-settings .imgapi-select-trigger{padding-inline:10px;gap:8px}[data-imgapi-playground] .generation-settings .quantity-field{grid-column:auto}[data-imgapi-playground] .generation-settings:not(:has([data-playground-quality])){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(120px,1.3fr)}[data-imgapi-playground] .generation-settings:not(:has([data-playground-quality])) .quantity-field{grid-column:auto}}.quantity-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.quantity-heading output{color:var(--violet);white-space:nowrap;font-variant-numeric:tabular-nums}.quantity-control{display:flex;align-items:center;min-height:46px}.quantity-control input{width:100%;min-width:0;height:44px;margin:0;padding:0;border:0;appearance:none;background:transparent;accent-color:var(--violet);cursor:pointer}.quantity-control input::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:var(--line)}.quantity-control input::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;appearance:none;background:var(--violet)}.quantity-control input::-moz-range-track{height:4px;border-radius:999px;background:var(--line)}.quantity-control input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:var(--violet)}.quantity-control input:focus-visible{outline:3px solid rgba(102,87,232,.4);outline-offset:3px;border-radius:4px}.quantity-control input:disabled{cursor:wait;opacity:.55}.dashboard-playground-shell .select-field{display:grid;gap:8px;font-size:12px;font-weight:720}.dashboard-playground-shell .playground-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto}.dashboard-playground-shell .playground-action-buttons{display:flex;min-width:0;align-items:center;gap:10px}.dashboard-playground-shell .playground-reset{display:inline-flex;min-height:32px;flex:0 0 auto;align-items:center;justify-content:center;padding:0 11px;border:1px solid var(--line-dark);border-radius:999px;background:#ffffffb8;color:var(--muted);cursor:pointer;font:inherit;font-size:12px;font-weight:700}.dashboard-playground-shell .playground-reset:hover{color:var(--ink)}.dashboard-playground-shell .playground-reset:focus-visible{outline:3px solid rgba(102,87,232,.28);outline-offset:2px}.dashboard-playground-shell .playground-reset:disabled{cursor:not-allowed;opacity:.42}.dashboard-playground-shell .run-hint{color:var(--muted);font-size:12px;line-height:1.5;text-align:right}.dashboard-playground-shell .run-preview{display:grid;min-height:430px;grid-template-columns:minmax(0,1fr);place-content:center;padding:38px;border-left:1px solid #303039;background:#17171d;color:#f8f7ff;text-align:center}.dashboard-playground-shell .run-preview-status{display:grid;width:100%;min-width:0;justify-items:center}.dashboard-playground-shell .run-preview-mark{position:relative;display:grid;width:72px;height:72px;isolation:isolate;place-items:center;margin-bottom:20px;border:1px solid #3a3944;border-radius:22px;background:#22222a;transition:border-color .18s ease,background-color .18s ease,transform .22s var(--ease-out, ease)}.dashboard-playground-shell .run-preview-logo-core{display:grid;width:50px;height:50px;place-items:center;border-radius:16px;background:#fffffff5;box-shadow:0 9px 24px #0003}.dashboard-playground-shell .run-preview-logo-core img{display:block;width:36px;height:36px}.dashboard-playground-shell .run-preview-logo-orbit{display:none;position:absolute;inset:-7px;border:1.5px solid rgba(132,116,255,.84);border-radius:50%;opacity:0}.dashboard-playground-shell .run-preview-logo-orbit:after{content:none}@keyframes imgapi-logo-orbit{to{transform:rotate(1turn)}}@keyframes imgapi-logo-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.dashboard-playground-shell .run-preview.is-running .run-preview-mark{border-color:#8474ff7a;background:#6657e81a}.dashboard-playground-shell .run-preview.is-running .run-preview-logo-orbit{opacity:1;animation:imgapi-logo-orbit 1.4s linear infinite}.dashboard-playground-shell .run-preview.is-running .run-preview-logo-core{animation:imgapi-logo-breathe 1.4s cubic-bezier(.77,0,.175,1) infinite}.dashboard-playground-shell .run-preview.is-complete .run-preview-mark{border-color:#8474ff61;background:#6657e814;transform:none}.dashboard-playground-shell .run-preview[data-preview-state=attention] .run-preview-mark{border-color:#ffb64875;background:#ffb6481a}.dashboard-playground-shell .run-preview[data-preview-state=attention] .run-preview-logo-orbit{border-top-color:#ffb648;border-right-color:#ffb6486b;opacity:1;transform:rotate(35deg)}.dashboard-playground-shell .run-preview[data-preview-state=attention] .run-preview-logo-orbit:after{background:#ffb648;box-shadow:0 0 14px #ffb6488c}.dashboard-playground-shell .run-preview[data-preview-state=error] .run-preview-mark{border-color:#ff6f6f66;background:#ff6f6f14}.dashboard-playground-shell .run-preview strong{margin-bottom:9px;font-size:18px}.dashboard-playground-shell .run-preview p{width:min(390px,100%);margin:0;color:#aaa8b5;font-size:13px;line-height:1.7}.dashboard-playground-shell .run-preview.is-running [data-run-preview-copy]{display:none}.dashboard-playground-shell .run-progress{display:grid;width:min(300px,100%);grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:12px;margin-top:22px}.dashboard-playground-shell .run-progress-track{display:block;height:6px;overflow:hidden;border-radius:999px;background:#303039}.dashboard-playground-shell .run-progress-bar{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6657e8,#9a8cff);transition:width .62s cubic-bezier(.16,1,.3,1)}.dashboard-playground-shell .run-progress-value{color:#d6d2ff;font-size:13px;font-variant-numeric:tabular-nums;font-weight:760;text-align:right}.dashboard-playground-shell .run-retry{min-height:40px;margin-top:20px;padding:0 15px;border:1px solid #45434e;border-radius:11px;background:transparent;color:#fff}.dashboard-playground-shell .run-preview.has-image{display:grid;place-content:stretch;padding:0}.dashboard-playground-shell .run-preview-media{display:grid;height:100%;min-height:430px;grid-template-rows:minmax(0,1fr) 54px}.dashboard-playground-shell .run-preview-media img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#111116}.run-preview-image-button{position:relative;display:block;width:100%;min-width:0;padding:0;overflow:hidden;border:0;background:#111116;color:#fff;cursor:zoom-in}.dashboard-playground-shell .run-preview-image-button{height:auto;min-height:0}.dashboard-playground-shell .run-preview-image-button img{height:100%;min-height:0}.run-preview-image-button:focus-visible{outline:3px solid #9a8cff;outline-offset:-3px}.run-preview-zoom-indicator{position:absolute;right:18px;bottom:18px;display:grid;width:46px;height:46px;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:#17171dc7;box-shadow:0 10px 30px #0000003d;opacity:0;transform:scale(.88);transition:opacity .18s ease,transform .18s cubic-bezier(.16,1,.3,1)}.run-preview-zoom-indicator svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}.run-preview-image-button:hover .run-preview-zoom-indicator,.run-preview-image-button:focus-visible .run-preview-zoom-indicator{opacity:1;transform:scale(1)}.dashboard-playground-shell .run-preview-link{display:flex;min-height:54px;align-items:center;justify-content:center;border-top:1px solid #303039;border-right:0;border-bottom:0;border-left:0;background:#17171d;color:#fff;cursor:pointer;font-family:inherit;font-size:13px;font-weight:740}dialog::backdrop{background:#17171d6b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.run-image-dialog{width:min(1180px,calc(100vw - 40px));max-width:none;height:min(88dvh,900px);max-height:none;margin:auto;padding:0;overflow:hidden;border:0;border-radius:24px;background:#111116;color:#fff;box-shadow:0 32px 100px #00000080}.run-image-dialog-inner{position:relative;display:grid;width:100%;height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;padding:24px}.run-image-dialog img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.run-image-dialog-close{position:absolute;z-index:1;top:16px;right:16px;display:grid;width:44px;height:44px;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:#17171dc7;color:#fff;cursor:pointer;font:inherit;font-size:28px;line-height:1}.run-image-dialog-close:focus-visible{outline:3px solid #9a8cff;outline-offset:2px}@media(hover:none){.run-preview-zoom-indicator{opacity:1;transform:none}}@media(max-width:560px){.run-image-dialog{width:calc(100vw - 20px);height:min(82dvh,720px);border-radius:18px}.run-image-dialog-inner{padding:14px}}@media(max-width:900px){.dashboard-playground-shell .playground-panel{grid-template-columns:1fr}.dashboard-playground-shell .run-preview{min-height:360px;border-top:1px solid #303039;border-left:0}.dashboard-playground-shell .run-preview-media{min-height:360px}}@media(max-width:560px){.reference-controls{grid-template-columns:auto minmax(0,1fr) auto;gap:6px}.reference-upload{grid-column:auto}.reference-upload,.reference-add,.reference-url-input{padding-inline:10px;font-size:11px}.reference-list{grid-template-columns:1fr}.dashboard-playground-shell .playground-form{padding:22px 18px}.dashboard-playground-shell .model-options{gap:6px}.dashboard-playground-shell .model-option span{min-height:44px;font-size:10px}.dashboard-playground-shell .playground-actions{align-items:stretch;flex-direction:column}.dashboard-playground-shell .playground-action-buttons{width:100%}.dashboard-playground-shell .playground-action-buttons .button{flex:1}.dashboard-playground-shell .run-hint{text-align:left}.dashboard-playground-shell .run-preview{min-height:320px;padding:30px 20px}.dashboard-playground-shell .run-preview.has-image{padding:0}.dashboard-playground-shell .run-preview-media{min-height:320px}}@media(prefers-reduced-motion:reduce){.imgapi-select-trigger,.imgapi-select-chevron,[data-playground-prompt],.reference-upload,.reference-add,.reference-url-input,.dashboard-playground-shell .run-progress-bar{transition:none}.dashboard-playground-shell .run-preview-logo-core,.dashboard-playground-shell .run-preview-logo-orbit,.run-preview-zoom-indicator{animation:none!important;transition:none!important}}.finished-works{margin-top:24px;padding:clamp(20px,2.6vw,30px);border:1px solid rgba(23,23,29,.09);border-radius:var(--radius-card, 22px);background:var(--surface);box-shadow:var(--shadow)}.finished-works-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.finished-works-heading h2{margin:0;font-size:clamp(22px,2.4vw,30px);letter-spacing:-.045em}.finished-works-heading p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.finished-works-toggle{flex:0 0 auto;padding:6px 0;border:0;background:transparent;color:var(--violet-dark);font-size:12px;font-weight:760;cursor:pointer}.finished-works-toggle:focus-visible{outline:3px solid rgba(102,87,232,.22);outline-offset:3px}.finished-works-more{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40px;margin-top:14px;color:var(--muted);font-size:12px}.finished-works-toggle:disabled{cursor:wait;opacity:.6}.finished-works-empty{display:grid;min-height:210px;place-items:center;align-content:center;gap:8px;border:1px dashed var(--line-dark);border-radius:17px;background:var(--surface-soft, #f9f9f6);text-align:center}.finished-works-empty>span{color:var(--violet-dark);font-size:10px;font-weight:820;letter-spacing:.13em}.finished-works-empty strong{font-size:15px}.finished-works-empty p{margin:0;color:var(--muted);font-size:12px}.finished-works-grid{--finished-work-height: 210px;--finished-work-columns: 4;display:grid;grid-template-columns:repeat(var(--finished-work-columns),minmax(0,1fr));grid-auto-rows:var(--finished-work-height);gap:14px}.finished-work-card{position:relative;display:grid;min-width:0;height:var(--finished-work-height);grid-template-rows:minmax(0,1fr) auto;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-align:left;cursor:zoom-in;transition:border-color .18s ease,box-shadow .18s ease}.finished-work-card:before{position:absolute;z-index:2;top:0;left:0;width:44%;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(119,100,255,.95),transparent);box-shadow:0 0 12px #6657e87a;content:"";opacity:0;pointer-events:none;transform:translate(-140%);will-change:opacity,transform}.finished-work-card:hover{border-color:#b9b2fb;box-shadow:0 12px 25px #17171d14}.finished-work-card:not(.is-pending):is(:hover,:focus-visible):before{animation:finished-work-card-shine .42s ease-out both}@keyframes finished-work-card-shine{0%{opacity:0;transform:translate(-140%)}22%{opacity:1}to{opacity:0;transform:translate(340%)}}.finished-work-card.is-pending{cursor:progress;border-color:#6657e84d}.finished-work-card.is-pending:hover{border-color:#6657e84d;box-shadow:none;transform:none}.finished-work-card:focus-visible{outline:3px solid rgba(102,87,232,.3);outline-offset:3px}.finished-work-media{position:relative;display:grid;min-height:0;place-items:center;overflow:hidden;background:#fff}.finished-work-card.is-failed{border-color:#b7464661}.finished-work-card.is-failed .finished-work-meta small{color:#9c3d3d}.finished-work-media>img{position:absolute;inset:0;display:block;width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;object-fit:contain;object-position:center}.finished-work-pending-media{background:radial-gradient(circle at center,rgba(102,87,232,.15),transparent 48%),#f5f3ff}.finished-work-unavailable{display:grid;gap:8px;padding:18px;color:var(--muted);font-size:14px;text-align:center}.finished-work-unavailable small{color:var(--violet)}.finished-work-failure-media{background:radial-gradient(circle at center,rgba(183,70,70,.18),transparent 48%),#17171d}.finished-work-pending-mark{position:relative;display:grid;width:56px;aspect-ratio:1;place-items:center;border-radius:18px;background:#fff;box-shadow:0 12px 32px #5444d229}.finished-work-failure-mark{display:grid;width:56px;aspect-ratio:1;place-items:center;border:1px solid rgba(210,91,91,.65);border-radius:18px;background:#fffffff5;box-shadow:0 14px 34px #00000047}.finished-work-failure-mark img,.finished-work-pending-mark img{width:34px;height:34px}.finished-work-pending-mark:after{position:absolute;inset:-9px;border:1px solid rgba(102,87,232,.42);border-radius:24px;content:"";animation:finished-work-pulse 1.8s ease-out infinite}@keyframes finished-work-pulse{0%{opacity:.72;transform:scale(.84)}75%,to{opacity:0;transform:scale(1.18)}}.finished-work-meta{display:grid;gap:3px;padding:10px 12px 11px}.finished-work-meta strong,.finished-work-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finished-work-meta strong{font-size:12px}.finished-work-meta small{color:var(--muted);font-size:10px}.finished-work-dialog{width:min(940px,calc(100% - 28px));max-width:none;padding:0;border:0;border-radius:22px;background:transparent}.finished-work-dialog-card{padding:22px;border-radius:22px;background:#fff;box-shadow:0 28px 80px #17171d42}.finished-work-dialog-heading,.finished-work-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.finished-work-dialog-heading span{color:var(--muted);font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.finished-work-dialog-heading h2{margin:4px 0 0;font-size:22px}.finished-work-dialog-media{display:grid;min-height:min(62vh,620px);place-items:center;margin:18px 0 0;overflow:hidden;border-radius:16px;outline:1px solid var(--line);outline-offset:-1px;background:#111116}.finished-work-dialog-media>img{width:100%;max-height:min(62vh,620px);object-fit:contain}.finished-work-dialog-failure{display:grid;max-width:520px;place-items:center;gap:18px;padding:48px 28px;color:#f7f6fb;text-align:center}.finished-work-image-state{display:grid;justify-items:center;gap:16px;padding:28px;color:#aaa8b4;text-align:center;line-height:1.7}.finished-work-image-state[hidden],.finished-work-image-state button[hidden],.finished-work-dialog-media>img[hidden]{display:none}.finished-work-dialog-failure[hidden]{display:none}.finished-work-dialog-failure .finished-work-failure-mark{width:82px;border-radius:24px}.finished-work-dialog-failure .finished-work-failure-mark img{width:48px;height:48px}.finished-work-dialog-failure strong{font-size:clamp(22px,3vw,32px)}.finished-work-dialog-failure p{margin:-4px 0 0;color:#aaa8b4;font-size:15px;line-height:1.7}.finished-work-dialog-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0}.finished-work-dialog-meta div{min-width:0;padding:12px 14px;border-radius:12px;background:var(--surface-soft, #f9f9f6)}.finished-work-dialog-meta dt{color:var(--muted);font-size:10px}.finished-work-dialog-meta dd{margin:5px 0 0;overflow:hidden;font-size:12px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.usage-dialog-close{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface-soft, #f9f9f6);color:var(--ink);font-size:23px;line-height:1;cursor:pointer}.usage-dialog-close:hover{background:var(--violet-soft)}.usage-dialog-close:focus-visible,.usage-download-button:focus-visible{outline:3px solid rgba(102,87,232,.18);outline-offset:2px}@media(prefers-reduced-motion:reduce){.finished-work-pending-mark:after{animation:none;opacity:.45;transform:none}.finished-work-card:before{animation:none;opacity:0}.finished-work-card:not(.is-pending):is(:hover,:focus-visible):before{animation:none;opacity:0}}@media(max-width:900px){.finished-works-grid{--finished-work-columns: 3}}@media(max-width:700px){.finished-works-heading{align-items:center;gap:12px}.finished-works-grid{--finished-work-height: 190px;--finished-work-columns: 2}.finished-work-dialog-heading{align-items:flex-start}.finished-work-dialog-meta{grid-template-columns:1fr}}@media(max-width:520px){.finished-works{padding:18px}.finished-works-grid{--finished-work-height: 176px}.finished-work-dialog-card{padding:16px}.finished-work-dialog-actions .button{min-height:38px;padding-inline:13px}}.docs-ai-agents{display:flex;flex-wrap:nowrap;gap:30px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:26px 0 30px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);list-style:none}.docs-ai-agents::-webkit-scrollbar{display:none}.docs-ai-agents:focus-visible{outline:2px solid var(--violet);outline-offset:5px}.docs-ai-agents li{display:flex;flex:0 0 auto;align-items:center;gap:10px;min-width:0;color:var(--ink-soft);font-size:13px;font-weight:650;white-space:nowrap}.docs-ai-agents img{display:block;flex:0 0 28px;width:28px;height:28px;object-fit:contain}.docs-ai-agents .docs-ai-agent-dark{padding:4px;border-radius:5px;background:#171717}.reference-images:has(.reference-strip){gap:0}.reference-strip{display:flex;align-items:flex-start;gap:12px;padding:8px 6px 8px 0;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:none;min-width:0}.reference-strip::-webkit-scrollbar{display:none}.reference-strip .reference-upload,.reference-strip .reference-item{flex:0 0 88px;width:88px;height:88px;aspect-ratio:1}.reference-strip .reference-upload{padding:8px;line-height:1.65;border-radius:12px;font-size:12px}.reference-strip .reference-list{display:flex;flex:0 0 auto;gap:12px}.reference-strip .reference-list[hidden]{display:none}
