.task-history[data-v-c6b5a4d3]{container:task-history / inline-size;display:grid;gap:24px}.task-history-group h2[data-v-c6b5a4d3]{margin:0 0 10px;padding-inline-start:3px;color:#435976;font-size:14px;font-weight:700}.task-history-list[data-v-c6b5a4d3]{margin:0;padding:0;list-style:none;box-shadow:var(--shadow-card, 0 8px 20px #273e750b)}.task-history-row[data-v-c6b5a4d3]{display:grid;grid-template-columns:minmax(0,1fr) 5.4rem 7.1rem 6rem;align-items:center;gap:12px;padding:13px 16px}.task-history-row+.task-history-row[data-v-c6b5a4d3]{border-top:1px solid #eaf0f8}.task-history-row.is-expanded[data-v-c6b5a4d3]{align-items:start}.task-history-row.is-expanded[data-v-c6b5a4d3] :is(.task-history-status,.task-history-cost){margin-top:6px}.task-history-summary[data-v-c6b5a4d3]{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:11px;min-width:0}.task-history-icon[data-v-c6b5a4d3]{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#3464cf;background:#edf3ff}.task-history-icon.image_to_image[data-v-c6b5a4d3]{color:#7353be;background:#f3eeff}.task-history-meta[data-v-c6b5a4d3]{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;color:#576c88;font-size:12px;line-height:1.4}.task-history-meta span[data-v-c6b5a4d3]{font-weight:650}.task-history-meta time[data-v-c6b5a4d3]{font-variant-numeric:tabular-nums}.task-history-prompt[data-v-c6b5a4d3]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-inline-size:82ch;margin:4px 0 0;overflow-wrap:anywhere;color:#203450;font-size:14px;font-weight:500;line-height:1.55}.task-history-prompt.expanded[data-v-c6b5a4d3]{display:block;overflow:visible;white-space:pre-wrap}.task-history-toggle[data-v-c6b5a4d3],.task-history-open[data-v-c6b5a4d3]{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;border-radius:8px;padding:0;color:#365da5;background:transparent;font-size:13px;font-weight:650;white-space:nowrap}.task-history-toggle[data-v-c6b5a4d3]{min-height:28px}.task-history-toggle[data-v-c6b5a4d3]:hover{color:#204d9a;text-decoration:underline}.task-history-toggle[aria-expanded=true] svg[data-v-c6b5a4d3]{transform:rotate(180deg)}.task-history-status[data-v-c6b5a4d3]{justify-self:start}.task-history-status.rejected[data-v-c6b5a4d3]{color:#9d3454;background:#fbeaf1}.task-history-cost[data-v-c6b5a4d3]{color:#4c6281;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.task-history-cost.refunded[data-v-c6b5a4d3]{color:#217752}.task-history-open[data-v-c6b5a4d3]{justify-self:end;min-height:36px;padding-inline:7px}.task-history-open[data-v-c6b5a4d3]:hover{background:#edf3ff}@container task-history (max-width: 42rem){.task-history-row[data-v-c6b5a4d3]{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 9px;padding:12px}.task-history-summary[data-v-c6b5a4d3]{grid-column:1 / -1}.task-history-cost[data-v-c6b5a4d3]{font-size:12px}.task-history-row.is-expanded[data-v-c6b5a4d3] :is(.task-history-status,.task-history-cost){margin-top:0}.task-history-toggle[data-v-c6b5a4d3]{min-height:34px}.task-history-open[data-v-c6b5a4d3]{min-height:38px}}@container task-history (max-width: 18rem){.task-history-row[data-v-c6b5a4d3]{grid-template-columns:auto minmax(0,1fr)}.task-history-open[data-v-c6b5a4d3]{grid-column:2}}.task-notifications[data-v-962b9489]{display:grid;gap:8px;min-width:0;padding-block:8px 12px}.task-notifications h2[data-v-962b9489]{font-size:.9375rem}.task-notifications p[data-v-962b9489]{font-size:.8125rem}.task-notifications ul[data-v-962b9489]{display:grid;gap:5px;margin:0;padding:0;list-style:none}.task-notice[data-v-962b9489]{display:grid;width:100%;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #e3ebf8;border-radius:10px;background:#fbfdff;color:#3f5679;text-align:start}.task-notice.unread[data-v-962b9489]{border-color:#d4e4ff;background:#eff5ff}.task-notice[data-v-962b9489]:hover:not(:disabled){border-color:#9cbbf0}.task-notice-icon[data-v-962b9489]{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#e3f5ec;color:#13784a}.task-notice-icon.failed[data-v-962b9489]{background:#fff0e3;color:#94500f}.task-notice-text[data-v-962b9489]{display:grid;min-width:0;gap:2px;font-size:.8125rem}.task-notice-text strong[data-v-962b9489]{color:var(--ink)}.task-notice-prompt[data-v-962b9489]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-notice-text small[data-v-962b9489],.task-notice-opening[data-v-962b9489]{color:#536a8a;font-size:.75rem}.task-notifications .task-notice-error[data-v-962b9489]{color:#a62f3e}.email-login-form[data-v-7dd2e99b]{display:grid;gap:9px;min-width:0}.email-login-form header[data-v-7dd2e99b]{margin-bottom:10px}.email-login-form header p[data-v-7dd2e99b]{color:var(--muted);line-height:1.6;font-size:.875rem}.email-login-form label[data-v-7dd2e99b]{color:var(--ink);font-size:.875rem;font-weight:700}.email-login-form .login-field[data-v-7dd2e99b]{min-height:46px;padding:0 8px;background:#fff}.email-login-form .login-field[data-v-7dd2e99b]:has(>input:focus){outline:2px solid #4c77fa;outline-offset:-1px}.email-login-form .login-field>svg[data-v-7dd2e99b]{flex:none}.email-login-form .login-field>input[data-v-7dd2e99b]{min-height:44px;font-size:1rem}.email-login-form .login-field:has(>input:focus)>input[data-v-7dd2e99b]:focus-visible{outline:none}.email-login-form .login-field>button[data-v-7dd2e99b]{min-height:34px;flex:none;padding-inline:8px}.email-login-form .login-field+label[data-v-7dd2e99b]{margin-top:7px}.email-login-submit[data-v-7dd2e99b]{min-height:46px;margin-top:8px;justify-content:center}.email-login-status[data-v-7dd2e99b],.email-login-error[data-v-7dd2e99b],.email-login-unavailable[data-v-7dd2e99b]{margin:0;overflow-wrap:anywhere;font-size:.8125rem;line-height:1.55}.email-login-status[data-v-7dd2e99b]{color:#176348}.email-login-error[data-v-7dd2e99b]{color:#b43243}.email-login-unavailable[data-v-7dd2e99b]{padding:10px 12px;border-radius:10px;background:#fff1e8;color:#8b4b20}.studio-shell{--sidebar: clamp(174px, 15vw, 222px);--shadow-card: 0 8px 24px #273e750b;background:radial-gradient(ellipse at 10% 0%,#fff,transparent 58%),#f1f5fd}.studio-shell .sidebar{padding:21px 15px 17px;background:linear-gradient(165deg,#fbfcff,#eff5ff)}.studio-shell .studio-rail a{min-height:43px;gap:10px;padding-inline:12px}.studio-shell .brand{gap:8px;margin-bottom:27px}.studio-rail-balance{display:flex;align-items:center;gap:10px;margin-top:auto;padding:10px;border:1px solid #d6e4fc;border-radius:12px;background:#f8fbff;color:#315390;font-size:.8125rem}.studio-rail-balance>span{flex:1;min-width:0}.studio-rail-balance strong{display:block;overflow:hidden;text-overflow:ellipsis;margin-top:2px;color:#172e5a;font-size:1.125rem}.studio-rail-balance:hover{border-color:#9dbcf4}.studio-mobile-brand{display:none}.studio-skip{position:fixed;top:8px;left:8px;z-index:12;padding:10px 14px;border-radius:8px;color:#fff;background:#184baf;transform:translateY(-160%)}.studio-skip:focus{transform:none}.studio-shell .topbar{min-height:64px;padding-inline:clamp(16px,2.6vw,42px);background:#fbfdfff2}.studio-shell .studio-top-nav{margin-inline:0 auto}.studio-shell .content{padding:clamp(20px,2.55vw,40px) clamp(20px,2.55vw,42px) 56px}.studio-shell .studio-page-wallet{max-width:1320px}.studio-shell .top-actions{min-width:0}.studio-shell .top-actions .search input{font-size:.875rem}.studio-shell .help-pop{padding:14px 16px;overflow-wrap:anywhere}.studio-shell .help-pop>a{display:inline-block;margin-bottom:7px;color:#2459c1;font-weight:700}.studio-shell .help-pop>details{padding-block:8px;border-top:1px solid var(--line)}.studio-shell .help-pop p{color:var(--muted)}.studio-shell .button.primary{background:linear-gradient(108deg,#387cf3,#2458d4)}.studio-shell .button.primary:hover{background:linear-gradient(108deg,#296be7,#204ac4)}.studio-shell .tabs.pills button.selected{background:#2462da}.inspiration-toolbar .inspiration-search{width:min(100%,330px);padding-inline:13px;gap:8px}.inspiration-toolbar h1{scroll-margin-top:84px}.inspiration-search svg{flex:none}.inspiration-filters{margin-bottom:17px}.inspiration-filters button{min-height:35px}.inspiration-category-select{display:none}.catalog-placeholder{padding:16px;margin:0;color:var(--muted);font-size:.875rem}.inspiration-library{align-items:stretch;gap:16px}.studio-shell .inspiration-library .art-card{display:flex;flex-direction:column;background:#fcfdff}.inspiration-library .art-frame{width:100%;aspect-ratio:1.2}.studio-shell .inspiration-library .art-meta{width:100%;padding:12px 11px 10px}.inspiration-library .art-meta>strong{font-size:14px}.inspiration-library .art-meta>span{flex:none;padding:3px 7px;border-radius:999px;background:#edf3ff;color:#355987;font-size:11px}.inspiration-description{display:-webkit-box;margin:0 11px 12px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#586989;font-size:13px;line-height:1.5}@media (max-width: 600px){.inspiration-toolbar{align-items:flex-start;flex-direction:column;gap:9px}.inspiration-library{gap:9px}.studio-shell .inspiration-filters{display:none}.inspiration-category-select{display:flex;align-items:center;gap:9px;width:fit-content;margin-bottom:13px;color:var(--muted);font-size:.875rem}.inspiration-category-select select{min-height:38px;min-width:7rem;padding-inline:10px;border:1px solid #d9e6f9;border-radius:9px;background:#fff;color:var(--ink)}.studio-shell .inspiration-library .art-meta{flex-wrap:wrap;gap:5px}}.studio-hero{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);min-height:clamp(275px,25vw,390px);overflow:hidden;border:1px solid #dbe6fa;border-radius:20px;background:radial-gradient(ellipse at 83% 52%,#f1dfee,transparent 52%),linear-gradient(108deg,#f0f6ff,#dae7ff);box-shadow:var(--shadow-card)}.studio-hero .hero-visual{position:relative;min-width:0;overflow:hidden}.studio-hero .hero-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;object-position:right bottom}.studio-hero .hero-content{min-width:0;align-self:center;padding:clamp(24px,4.4vw,68px) clamp(14px,2vw,30px) clamp(24px,4.4vw,68px) clamp(22px,4.4vw,68px);overflow-wrap:anywhere}.studio-hero h1{color:#101e48;font-size:clamp(2.5rem,4.6vw,4.55rem);line-height:1.12;font-weight:850;letter-spacing:-.035em}.studio-hero p{margin-top:13px;color:#3b5075;font-size:clamp(1rem,1.5vw,1.3125rem);line-height:1.55}.studio-hero .hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:24px}.studio-shell .hero-actions>.button{min-height:44px;max-width:100%;padding-inline:17px;text-align:center;white-space:normal}.studio-hero .hero-actions svg{flex:none}.studio-shell .tool-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,clamp(136px,19vw,215px)),1fr));gap:12px}.studio-shell .tool-card{padding:12px;min-height:82px}.studio-shell .tool-card small{white-space:normal;font-size:.8125rem;line-height:1.4}.studio-shell .home-section{margin-top:20px}.studio-shell .home-section.inspiration{margin-top:28px}.studio-shell .home-section .section-title{margin-bottom:13px}.studio-shell .studio-inspiration{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.studio-inspiration .art-frame{aspect-ratio:1.35}.studio-inspiration .art-meta{display:grid;gap:3px}.studio-inspiration .art-meta>span{font-size:.75rem}.studio-shell .art-card:hover{border-color:#a7bff5}.studio-shell .studio-inspiration .art-card,.studio-shell .template-mosaic .art-card{background:#fcfdff}.studio-inspiration .art-card{border-radius:10px}.studio-progress-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.task-outcome{display:grid;justify-items:center;gap:14px;padding:clamp(22px,5vw,44px) 16px;text-align:center}.task-outcome-icon{color:#557bb9}.task-outcome-icon.warning{color:#a15a20}.task-outcome p{max-width:36rem;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}.task-outcome-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.task-outcome-actions .button{min-height:44px}.task-retry-error{margin:0 0 12px}.studio-result-area .result-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(151px,1.35fr);gap:8px}.studio-result-area .result-actions .button{min-height:38px;padding-inline:8px}.studio-shell .studio-page-tasks{max-width:1200px}.studio-page-tasks .task-history-heading{margin-bottom:clamp(18px,3vw,32px)}.task-history-heading .button{flex:none}.profile-notices{padding:10px 4px 0}.studio-signin .sidebar,.studio-signin .topbar{display:none}.studio-signin .shell-main{margin:0}.studio-shell.studio-signin .studio-page-login{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;align-content:safe center;gap:14px;min-height:100vh;min-height:100dvh;max-width:1480px;padding:clamp(12px,4vw,60px)}.studio-shell .studio-login{grid-template-columns:minmax(0,1.2fr) minmax(250px,1.05fr) minmax(170px,.79fr);min-height:clamp(430px,46vw,630px);background:linear-gradient(135deg,#fdfdff,#f5f7fd)}.studio-shell .studio-login.studio-email-login{grid-template-columns:minmax(0,1.12fr) minmax(280px,1fr);width:100%;max-width:1040px;margin-inline:auto}.studio-login.studio-email-login .login-art{grid-row:auto}.studio-login.studio-email-login .login-form{padding:clamp(22px,4vw,58px);gap:16px}.studio-login-link{min-height:38px;padding-inline:10px;white-space:nowrap;font-size:.8125rem}.studio-account-prompt .button{margin-top:5px}.studio-sign-out{margin-top:12px}@media (max-width: 760px){.studio-shell .studio-login.studio-email-login{grid-template-columns:minmax(0,1fr);max-width:520px}}.studio-login .login-art{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;background:linear-gradient(150deg,#eef4ff,#e1ebfd)}.studio-login .login-art-copy{display:grid;flex:1;align-content:start;justify-items:start;gap:clamp(20px,5vw,72px);padding:clamp(22px,3.8vw,52px)}.studio-login .login-brand{margin:0;font-size:clamp(18px,2.1vw,26px)}.studio-login .login-brand>img{position:static;width:34px;height:34px;z-index:auto}.studio-login .login-art-copy h1{font-size:clamp(34px,5vw,64px);line-height:1.08}.studio-login .login-landscape{position:static;display:block;width:100%;height:auto;object-fit:contain;object-position:center;z-index:auto}.studio-login .login-form,.studio-login .login-bind{justify-content:center;gap:11px;padding:clamp(16px,2.3vw,40px)}.studio-login h2{margin-bottom:5px;font-size:22px}.login-modes{gap:2px;background:#eff3fa;border-radius:9px}.login-modes button{flex:1;justify-content:center;white-space:nowrap;font-size:clamp(11px,1.02vw,14px);padding-inline:6px}.login-modes button.selected{border:0;border-bottom:2px solid #4382fc;background:#f8fbff;color:#1b61e7}.login-field{display:flex;min-width:0;align-items:center;gap:6px;padding:0 7px;min-height:39px;border:1px solid #d8e4fa;border-radius:8px;color:#526993}.login-field>input{width:100%;min-width:0;padding:0;border:0;background:none;color:var(--ink)}.login-field>button{padding:5px 6px;border:1px solid #dae5fb;border-radius:6px;background:#eef4ff;white-space:nowrap;font-size:12px}.login-unavailable{display:grid;justify-items:center;gap:7px;padding:12px 7px;color:#4b75c6;border:1px solid #e1e9fd;border-radius:8px}.login-bind ul{display:grid;gap:9px;padding:0;margin:0;list-style:none}.login-bind li{display:flex;gap:7px;align-items:center;font-size:14px}.login-bind small{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.provider-icon{display:grid;place-items:center;width:25px;height:25px;color:#2760a8;background:#e9f1fe;border-radius:50%}.provider-icon.wechat{color:#137f42;background:#dff6e8}.provider-icon.email{color:#ad465d;background:#fae9ef}.editor-page .editor-media{display:grid;place-items:center;container-type:size;background:#dfe8f7}.editor-geometry{position:relative;width:min(100%,calc(100cqh * var(--image-ratio)));aspect-ratio:var(--image-ratio)}.editor-media .editor-source{position:absolute;left:50%;top:50%;max-width:none}.editor-media .editor-source.turned{width:calc(100% / var(--image-ratio));height:calc(100% * var(--image-ratio))}.editor-geometry .desktop-crop{inset:auto;pointer-events:auto;touch-action:none;cursor:move;-webkit-user-select:none;user-select:none;box-shadow:0 0 0 100vmax #17234656;background:repeating-linear-gradient(to right,transparent 0 calc(33.333% - 1px),#ffffff60 calc(33.333% - 1px) 33.333%),repeating-linear-gradient(to bottom,transparent 0 calc(33.333% - 1px),#ffffff60 calc(33.333% - 1px) 33.333%)}.desktop-crop .crop-handle{position:absolute;z-index:1;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;background:transparent;transform:translate(-50%,-50%)}.desktop-crop .crop-handle:after{content:"";width:10px;height:10px;border-radius:2px;background:#fff;box-shadow:0 0 2px #182b50aa}.desktop-crop .crop-handle.nw{left:0;top:0;cursor:nwse-resize}.desktop-crop .crop-handle.ne{left:100%;top:0;cursor:nesw-resize}.desktop-crop .crop-handle.sw{left:0;top:100%;cursor:nesw-resize}.desktop-crop .crop-handle.se{left:100%;top:100%;cursor:nwse-resize}.editor-geometry .paint-overlay{inset:auto}.editor-modes{gap:3px}.editor-modes>button{padding-inline:8px}.editor-tools button[aria-expanded=true],.editor-history .button[aria-pressed=true]{color:#2267fa;border-color:#accbfe;background:#eaf2ff}@media (max-width: 1100px){.studio-shell .studio-inspiration{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-result-area .result-actions{display:flex;flex-wrap:wrap}.studio-shell .studio-login{grid-template-columns:minmax(0,1fr) minmax(230px,1.1fr)}.studio-login .login-bind{justify-content:flex-start;padding-top:0}}@media (max-width: 900px){.studio-shell .shell-main{margin-left:0}.studio-shell .sidebar{width:min(80vw,248px);visibility:hidden;transform:translate(-100%);transition:transform .2s}.studio-shell .sidebar.shown{visibility:visible;transform:translate(0)}.studio-shell .nav-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;border:0;background:#182d5259}.studio-shell .mobile-menu{display:grid}.studio-shell .studio-top-nav{display:none}.studio-shell .topbar{justify-content:flex-start;gap:8px}.studio-mobile-brand{display:flex;align-items:center;gap:4px;color:#112752;font-weight:800;white-space:nowrap}.studio-mobile-brand img{width:29px}.studio-shell .top-actions{margin-left:auto;gap:5px}.studio-shell .top-actions .search{width:clamp(112px,33vw,283px);height:36px}.studio-shell .top-actions .search input{font-size:.8125rem}.studio-shell .topbar .help-button{display:grid}}@media (max-width: 760px){.studio-shell .content{padding:18px 14px 38px}.studio-shell .studio-login{grid-template-columns:1fr}.studio-hero{min-height:0;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.studio-hero .hero-content{padding:22px 5px 22px clamp(14px,3vw,24px)}.studio-hero .hero-visual{align-self:end;height:clamp(193px,49vw,285px);-webkit-mask-image:linear-gradient(to right,transparent,#000 10px);mask-image:linear-gradient(to right,transparent,#000 10px)}.studio-hero .hero-art{object-fit:cover;object-position:57% bottom}.studio-hero h1{font-size:clamp(1.875rem,6.4vw,3rem)}.studio-hero .hero-actions{margin-top:17px;gap:7px}.studio-shell .studio-inspiration{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-login .login-art{grid-row:auto}.studio-login .login-art-copy{gap:16px;padding:20px}.studio-login .login-art-copy h1{font-size:30px}}@media (max-width: 500px){.studio-shell .studio-inspiration{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-hero p{font-size:.875rem;margin-top:9px}.studio-shell .hero-actions>.button{min-height:40px;min-width:0;padding-inline:10px;font-size:.8125rem}.studio-shell .tool-card{min-height:72px;gap:7px;padding:8px}.studio-shell .tool-card small{font-size:.75rem}}@media (max-width: 390px){.studio-mobile-brand span{display:none}}.studio-shell .studio-sidebar-close,.studio-shell .studio-search-toggle,.studio-compact-nav{display:none}.studio-shell .studio-site-search{width:clamp(175px,25vw,340px);min-width:0;padding-inline-start:13px}.studio-site-search input{padding:0 5px 0 0;font-size:.875rem}.studio-site-search button{border-radius:50%}.studio-shell .help-pop{width:min(310px,calc(100vw - 24px));max-height:min(65vh,430px);overflow-y:auto;overscroll-behavior:contain}.studio-notification-toggle{position:relative}.studio-notification-badge{position:absolute;inset:1px 1px auto auto;display:grid;min-width:16px;min-height:16px;padding-inline:3px;place-items:center;border:1px solid #fbfdff;border-radius:999px;background:#be3150;color:#fff;font-size:.625rem;line-height:1;font-weight:720}.studio-notification-announcements{padding-block:9px 6px;border-top:1px solid var(--line);font-size:.875rem}@media (max-width: 900px){.studio-shell{--studio-bottom-bar: calc(64px + env(safe-area-inset-bottom, 0px)) }.studio-shell.studio-signin{--studio-bottom-bar: 0px}.studio-shell .shell-main{padding-block-end:var(--studio-bottom-bar)}.studio-shell .toast{bottom:calc(var(--studio-bottom-bar) + 12px)}.studio-shell .topbar{display:grid;grid-template-areas:"menu brand actions" "search search search";grid-template-columns:44px minmax(0,1fr) auto;align-items:center;justify-content:initial;height:auto;gap:0 clamp(3px,1.3vw,10px);padding:4px clamp(10px,2.5vw,20px)}.studio-shell.studio-signin .topbar{display:none}.studio-shell .mobile-menu{grid-area:menu}.studio-shell .studio-mobile-brand{grid-area:brand;justify-self:start;width:fit-content;max-width:100%;min-width:0;min-height:44px;font-size:.9375rem}.studio-shell .studio-mobile-brand img{flex:none}.studio-shell .studio-mobile-brand span{display:block;overflow:hidden;text-overflow:ellipsis}.studio-shell .top-actions{grid-area:actions;justify-self:end;gap:2px;margin:0}.studio-shell .topbar .icon-button,.studio-shell .topbar .studio-avatar{display:grid;width:44px;height:44px;place-items:center}.studio-shell .topbar .studio-avatar img{width:32px;height:32px}.studio-shell .topbar .studio-search-toggle[aria-expanded=true]{color:#215cc9;background:#e8f0ff}.studio-shell .studio-site-search{grid-area:search;display:none;width:100%;min-height:44px;margin-block:5px;padding-inline-start:14px}.studio-shell .studio-search-expanded .studio-site-search{display:flex}.studio-site-search input{font-size:1rem}.studio-site-search button{width:44px;height:40px}.studio-compact-nav{position:fixed;inset:auto 0 0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:var(--studio-bottom-bar);gap:4px;padding:6px max(10px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));border-top:1px solid #dce7fa;background:#fbfdff;box-shadow:0 -5px 20px #233c6914}.studio-compact-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;min-width:0;padding:2px;border-radius:10px;color:#526989;font-size:.75rem;font-weight:700;line-height:1.25}.studio-compact-nav a:hover,.studio-compact-nav a[aria-current=page]{color:#245dc5;background:#e9f1ff}.studio-compact-nav a:focus-visible{outline-offset:-2px}.studio-shell .inspiration-toolbar h1{scroll-margin-top:82px}.studio-shell:has(.studio-search-expanded) .inspiration-toolbar h1{scroll-margin-top:136px}.studio-sidebar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:4px}.studio-shell .studio-sidebar-close{display:grid;width:40px;height:40px}.studio-shell .sidebar{padding-block-end:max(17px,env(safe-area-inset-bottom));overscroll-behavior:contain}body:has(.studio-drawer-open){overflow:hidden}}@media (max-width: 760px){.studio-shell:has(.composer-footer) .toast{bottom:calc(var(--studio-bottom-bar) + 74px)}}.studio-shell .studio-page-create{max-width:1360px}.creation-heading{align-items:center;margin-bottom:clamp(16px,2vw,24px)}.creation-heading>.button{flex:none;min-height:42px;gap:7px}.studio-composer{--composer-panel: #fcfdff;--composer-control: #f5f8ff;--composer-line: #dce6f8;display:grid;grid-template-columns:minmax(0,1.85fr) minmax(248px,1fr);grid-template-areas:"main settings" "footer footer";gap:clamp(14px,1.6vw,22px)}.composer-main,.studio-shell .composer-settings{min-width:0;padding:clamp(16px,2vw,27px);border:1px solid var(--composer-line);border-radius:18px;background:var(--composer-panel);box-shadow:var(--shadow-card)}.composer-main{grid-area:main;display:flex;flex-direction:column;gap:17px}.composer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #e5edfb;border-radius:12px;background:#eef3fd}.composer-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:5px;border:1px solid transparent;border-radius:9px;background:transparent;color:#49618b;font-size:.875rem;font-weight:720;white-space:nowrap}.composer-tabs button:hover{color:#1d57be;background:#e6eefc}.composer-tabs button[aria-pressed=true]{color:#164bae;background:#fff;border-color:#d0dffc;box-shadow:0 2px 5px #345a9814}.composer-field,.composer-prompt-field,.composer-suggestions,.composer-reference{display:grid;align-content:start;gap:8px;min-width:0}.studio-composer .form-label{margin:0}.composer-field-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.composer-field-title small{color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}.composer-prompt{width:100%;min-height:clamp(176px,17vw,245px);padding:14px 15px;border:1px solid #cedefa;border-radius:12px;background:var(--composer-control);color:var(--ink);font-size:1rem;line-height:1.65;resize:vertical;scroll-margin-block:84px 150px}.composer-prompt::placeholder{color:#627496}.composer-prompt:focus{border-color:#6b96ee;background:#fff}.composer-reference-mode .composer-prompt{min-height:132px}.composer-suggestions .inline-link{min-height:34px}.composer-main .composer-prompt-list{margin:0}.composer-main .composer-prompt-list button{min-height:35px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.composer-main .optional-upload{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;width:100%;min-height:52px;margin-top:auto;padding:9px 12px;border:1px dashed #b6cbef;border-radius:11px;background:#f5f8ff;color:#2259ba;font-size:.875rem;font-weight:720;text-align:start}.composer-main .optional-upload:hover{background:#edf4ff;border-color:#7ca3e9}.optional-upload>small,.optional-upload>svg:last-child{margin-inline-start:auto}.optional-upload>small{color:#5b7093;font-weight:500}.composer-batch-reference{display:flex;align-items:center;gap:8px;min-height:36px;width:fit-content;color:#395586;font-size:.875rem;font-weight:700;cursor:pointer}.composer-batch-reference input,.composer-reference .similarity-track{accent-color:#2f6de6}.reference-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.reference-tiles.reference-empty{grid-template-columns:minmax(0,1fr)}.reference-tile{position:relative;aspect-ratio:1.2;border-radius:11px;background:#edf3ff}.reference-tile>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.reference-add{align-content:center;padding:4px;font-size:.75rem;font-weight:650}.reference-empty .reference-add{min-height:128px;aspect-ratio:auto;font-size:.875rem}.reference-add:hover,.reference-add:focus-within{border-color:#7198e8;background:#eaf2ff}.reference-remove{position:absolute;inset:4px 4px auto auto;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffffffc4;border-radius:50%;background:#18325bed;color:#fff}.composer-reference .composer-similarity{margin-top:4px}.composer-similarity strong{color:#1e53b4;font-variant-numeric:tabular-nums}.composer-reference .similarity-track{width:100%;min-height:24px;margin:0}.studio-shell .composer-settings{grid-area:settings;display:grid;align-content:start;gap:16px}.composer-settings h2{display:flex;align-items:center;gap:8px;padding-bottom:13px;border-bottom:1px solid var(--composer-line);font-size:1.0625rem}.composer-settings h2 svg{color:#4175da}.composer-settings .muted,.composer-reference .muted{line-height:1.5}.composer-settings select,.composer-settings .quantity>div{width:100%;min-width:0;min-height:44px;border:1px solid var(--composer-line);border-radius:9px;background:var(--composer-control)}.composer-model{display:flex;align-items:center;gap:7px;padding-inline:7px 2px;border:1px solid var(--composer-line);border-radius:10px;background:var(--composer-control)}.composer-model img{flex:none;width:34px;height:31px;object-fit:cover;border-radius:6px}.composer-model select{flex:1;min-height:43px;border:0;background:transparent}.composer-settings-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.composer-settings .ratio-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.composer-settings .ratio-tabs button{display:grid;grid-template-rows:15px auto;place-items:center;align-content:center;gap:4px;min-height:52px;padding:4px 2px;border:1px solid var(--composer-line);border-radius:9px;background:var(--composer-control);color:#495e83;font-size:.75rem;font-weight:720;white-space:nowrap}.composer-settings .ratio-tabs button[aria-pressed=true]{color:#164bae;border-color:#82a9f2;background:#eaf2ff}.composer-settings .ratio-tabs button:hover:not(:disabled){border-color:#82a9f2}.composer-ratio-shape{width:13px;height:13px;border:1.4px solid currentColor;border-radius:2px}[data-ratio="16:9"] .composer-ratio-shape{width:17px;height:10px}[data-ratio="9:16"] .composer-ratio-shape{width:9px;height:15px}[data-ratio="4:3"] .composer-ratio-shape{width:15px;height:11px}.composer-settings .quantity{margin:0}.composer-settings .quantity>div{display:grid;grid-template-columns:minmax(28px,1fr) minmax(20px,1.2fr) minmax(28px,1fr);align-items:center;gap:0;text-align:center}.composer-settings .quantity button{width:100%;height:42px;border-radius:8px;background:transparent;color:#285bc5}.composer-settings .quantity button:hover:not(:disabled){background:#e7efff}.composer-settings .quantity output{font-weight:720;font-variant-numeric:tabular-nums}.composer-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:6px 0;font-size:.875rem;font-weight:720;cursor:pointer}.composer-switch input{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:none;width:38px;height:22px;border-radius:999px;background:#b2c4e2;cursor:pointer}.composer-switch input:checked{background:#2b69e2}.composer-switch input:after{position:absolute;inset:3px auto auto 3px;width:16px;height:16px;border-radius:50%;background:#fff;content:""}.composer-switch input:checked:after{transform:translate(16px)}.composer-settings .creation-advanced{margin:0;padding:0 10px;background:var(--composer-control)}.composer-settings .creation-advanced summary{min-height:40px;padding-block:10px}.composer-settings .creation-advanced .composer-field{margin-bottom:10px}.composer-footer{grid-area:footer;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:12px clamp(12px,2vw,19px);border:1px solid var(--composer-line);border-radius:14px;background:#f9fbff;box-shadow:var(--shadow-card)}.composer-footer .primary{min-width:min(100%,218px);min-height:46px;margin-inline-start:auto}.composer-footer .primary>span{padding-inline-start:9px;border-inline-start:1px solid #ffffff72;font-size:.8125rem}.composer-balance{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.875rem}.composer-balance svg{flex:none;color:#3a70cf}.composer-balance strong{color:#234578;font-variant-numeric:tabular-nums}.composer-error{flex:1 0 100%;margin:0;overflow-wrap:anywhere}@media (max-width: 760px){.studio-composer{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "settings" "footer";gap:12px}.composer-main,.studio-shell .composer-settings{padding:14px;border-radius:15px}.composer-main{gap:14px}.composer-prompt{min-height:158px}.composer-footer{position:sticky;bottom:var(--studio-bottom-bar);z-index:3;padding:8px 10px;border-radius:13px;background:#fbfdff;box-shadow:0 -4px 18px #273e7515}.composer-footer .primary{flex:1;min-width:min(100%,155px)}}@media (max-width: 380px){.composer-tabs button{gap:5px;font-size:.8125rem}.composer-tabs button svg{width:14px}.composer-balance{gap:4px;font-size:.75rem}.composer-balance svg{width:14px}.composer-main .optional-upload small{margin-inline-start:0}.reference-tiles:not(.reference-empty){grid-template-columns:repeat(2,minmax(0,1fr))}}.studio-result-area{max-width:1170px;margin-inline:auto}.task-result-heading .page-label{gap:9px}.task-result-heading .task-result-back{width:44px;min-height:44px;flex:none;border:1px solid var(--line);background:#fff}.task-result-heading .task-result-history{flex:none;min-height:44px}.studio-result-area .studio-progress,.studio-result-area .task-outcome,.task-result-card{border-radius:20px;box-shadow:0 10px 28px #274a8e0b}.studio-result-area .studio-progress{min-height:0;gap:15px;padding:clamp(22px,4vw,56px) 16px;background:radial-gradient(ellipse at 50% 10%,#e9f1ff,transparent 62%),#fff}.studio-result-area .studio-wait-art{display:block;width:min(260px,72%);max-height:166px}.studio-result-area .studio-progress h2{font-size:clamp(1.25rem,2.4vw,1.75rem);line-height:1.25}.studio-result-area .studio-progress p{font-size:.875rem;line-height:1.6}.studio-result-area .studio-progress-track{width:min(380px,84%);height:7px}.task-progress-stages{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0;list-style:none}.task-progress-stages li{display:flex;align-items:center;gap:6px;min-height:29px;padding:4px 9px;border-radius:999px;background:#f0f4fb;color:#506584;font-size:.75rem}.task-progress-stages li:before{width:7px;height:7px;flex:none;border-radius:50%;background:#aab8d0;content:""}.task-progress-stages li[aria-current=step]{background:#e6efff;color:#215bbd;font-weight:700}.task-progress-stages li[aria-current=step]:before{background:#3475ea}.studio-result-area .studio-progress-actions .button{min-height:44px}.task-result-card{padding:clamp(8px,1.5vw,20px)}.task-result-card .studio-result-grid{grid-template-columns:minmax(0,1fr) clamp(68px,7vw,100px);gap:clamp(8px,1.25vw,16px)}.task-result-card .task-result-single{grid-template-columns:minmax(0,1fr)}.task-result-card .studio-result-picture{background:#edf2fb;box-shadow:inset 0 0 0 1px #dce6f7}.task-result-card .result-open{display:grid;place-items:center}.task-result-card .result-open img{height:clamp(220px,60svh,620px);cursor:zoom-in}.task-result-card .result-open:focus-visible{outline-offset:-3px}.task-result-card .studio-result-picture>.icon-button{display:grid;place-items:center;width:44px;height:44px;color:#17355e;box-shadow:0 2px 10px #14254125}.task-result-card .studio-result-picture>.icon-button:disabled{visibility:hidden}.task-result-count{position:absolute;right:10px;bottom:10px;padding:4px 9px;border-radius:999px;background:#1b2d4ddc;color:#fff;font-size:.75rem;pointer-events:none}.task-result-card .studio-result-thumbs{align-content:start;max-height:clamp(220px,60svh,620px);padding:3px;overflow-y:auto}.task-result-card .studio-result-thumbs button{min-width:0;min-height:44px}.task-result-card .studio-result-thumbs img{display:block}.task-result-card .studio-result-thumbs button:focus-visible{outline-offset:0}.task-result-card .studio-result-thumbs button[aria-pressed=true]{border-color:#2b6be4}.studio-result-area .task-result-card .result-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.15fr);gap:8px}.studio-result-area .task-result-card .result-actions .button{min-height:44px}.task-result-card .reference-action-error,.preview-dialog .reference-action-error{margin:10px 0 0;overflow-wrap:anywhere}.task-result-card .result-actions .button[aria-pressed=true]{border-color:#b8cdf9;background:#eff4ff;color:#235cc3}.studio-result-area .task-outcome{align-content:center;min-height:216px;background:#fff}.task-outcome-symbol{display:grid;width:59px;height:59px;place-items:center;border-radius:17px;background:#e9f2ff;color:#2c66d4}.task-outcome-symbol.warning{background:#fff1df;color:#97501a}@media (max-width: 760px){.task-result-heading{margin-bottom:14px}.task-result-heading .task-result-history{padding-inline:9px}.task-result-card .studio-result-grid{grid-template-columns:minmax(0,1fr)}.task-result-card .result-open img{height:clamp(200px,49svh,460px)}.task-result-card .studio-result-thumbs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(54px,16vw,80px);max-height:none;overflow-x:auto;overflow-y:hidden}.studio-result-area .task-result-card .result-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.studio-page-works{container:works-library / inline-size;--work-border: #dce6f6;--work-control: #f5f8ff}.work-toolbar{gap:12px;margin-bottom:clamp(16px,2.2vw,25px)}.work-toolbar .button{flex:none;min-height:44px}.work-toolbar .work-count{font-size:.875rem}.work-filter-panel{display:grid;gap:12px;margin-bottom:18px;padding:clamp(10px,1.4vw,17px);border-radius:16px;background:#fcfdff;box-shadow:var(--shadow-card)}.work-query-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.work-query-row .work-search{width:100%;max-width:490px;height:44px;gap:8px;padding-inline:12px;border-color:var(--work-border);border-radius:10px;background:var(--work-control)}.work-search svg{flex:none;color:#5b75a5}.work-search:focus-within{border-color:#83a7ea}.work-search input{padding:0;font-size:1rem}.work-controls{display:flex;align-items:center;gap:8px}.work-project-control{display:flex;align-items:center;width:clamp(154px,18vw,220px);min-width:0;border:1px solid var(--work-border);border-radius:10px;background:var(--work-control)}.work-project-picker{display:flex;flex:1;align-items:center;gap:6px;min-width:0;padding-inline-start:9px;color:#315fa7}.work-project-picker svg{flex:none}.work-project-picker select{width:100%;min-width:0;min-height:42px;padding-inline:1px;border:0;border-radius:5px;background:transparent;color:var(--ink);font-size:.875rem;text-overflow:ellipsis;cursor:pointer}.work-filter-panel .work-new-project{display:grid;flex:none;width:42px;height:42px;place-items:center;border-inline-start:1px solid var(--work-border);border-radius:0 9px 9px 0;color:#285fc5}.work-new-project:hover{background:#eaf1ff}.work-view{display:flex;padding:2px;border:1px solid var(--work-border);border-radius:10px;background:var(--work-control)}.work-view button{display:grid;width:40px;height:38px;place-items:center;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#526991}.work-view button:hover{color:#205abd}.work-view button[aria-pressed=true]{border-color:#d6e4fb;background:#fff;color:#205abd}.work-controls .work-batch-toggle{min-height:44px;white-space:nowrap}.work-batch-toggle[aria-pressed=true]{border-color:#abc6f4;background:#ebf3ff;color:#2159b5}.works-filter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;padding-top:10px;border-top:1px solid var(--work-border)}.works-filter .work-type-filters{margin:0}.work-type-filters button{min-height:36px}.work-filter-actions,.work-batch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px}.work-filter-actions .button,.work-filter-actions .text-button{min-height:36px}.work-favorite-filter[aria-pressed=true]{border-color:#f0ccda;background:#fff1f7;color:#a53767}.studio-shell .works-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(9px,1.35vw,16px)}.studio-shell .works-mosaic.works-list{grid-template-columns:minmax(0,1fr)}.works-mosaic .art-card{display:flex;flex-direction:column;height:100%;border-color:var(--work-border);border-radius:13px;background:#fcfdff;box-shadow:0 3px 12px #273e7508}.works-mosaic .art-card:hover{transform:none}.works-mosaic .art-card.art-selected{border-color:#4079d9;box-shadow:0 0 0 1px #4079d9}.works-mosaic .art-frame{position:relative;width:100%;aspect-ratio:4 / 3;background:#edf2fb}.works-mosaic .art-frame img{display:block;object-fit:contain;object-position:center}.works-mosaic .art-card:hover .art-frame img{transform:none}.studio-shell .works-mosaic .art-meta{display:grid;width:100%;min-width:0;align-content:center;gap:6px;padding:10px}.works-mosaic .art-meta strong{display:-webkit-box;min-height:2.7em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#1d3156;font-size:.875rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.works-mosaic .art-meta>.work-card-details{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;color:var(--muted);font-size:.75rem}.work-card-details small{font-size:inherit}.work-card-details .work-card-kind{padding:2px 6px;border-radius:5px;background:#eef4ff;color:#315785}.works-mosaic .select-mark,.work-card-favorite{position:absolute;inset:7px auto auto 7px;display:grid;width:24px;height:24px;place-items:center;border:1px solid #fff;border-radius:7px}.work-card-favorite{inset:7px 7px auto auto;background:#fff3f8;color:#a33767}.works-list .art-card{display:grid;grid-template-columns:clamp(84px,15vw,128px) minmax(0,1fr);align-items:center}.works-list .art-frame{aspect-ratio:5 / 4}.works-list .art-meta strong{min-height:0}.work-empty{min-height:clamp(175px,29vw,240px)}.work-empty-icon{display:grid;width:54px;height:54px;margin-bottom:4px;place-items:center;border-radius:16px;background:#eaf2ff;color:#3e74d6}.work-empty .button{min-height:42px;margin-top:4px}.work-batch-bar{position:sticky;bottom:calc(var(--studio-bottom-bar, 0px) + 10px);z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px 10px;margin-top:12px;padding:8px 11px;border-color:#bfd1f3;background:#f5f9ff;color:#294d93;font-size:.875rem;font-weight:720;box-shadow:0 -3px 14px #273e7514}.work-batch-bar .button,.work-batch-bar .text-button{min-height:43px}.studio-shell:has(.work-batch-bar) .toast{bottom:calc(var(--studio-bottom-bar, 0px) + 96px)}@container works-library (min-width: 650px){.studio-shell .works-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}}@container works-library (min-width: 960px){.studio-shell .works-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}}@container works-library (max-width: 640px){.work-query-row{grid-template-columns:minmax(0,1fr)}.work-query-row .work-search{max-width:none}.work-project-control{flex:1;width:auto}.work-type-filters button{min-height:40px;padding-inline:10px}.work-filter-actions .button,.work-filter-actions .text-button{min-height:40px}}@container works-library (max-width: 365px){.work-controls{display:grid;grid-template-columns:auto minmax(0,1fr)}.work-project-control{grid-column:1 / -1}.works-filter{gap:4px 8px}.work-type-filters button{padding-inline:8px}.studio-shell .works-mosaic .art-meta{padding:8px}.works-mosaic .art-meta strong{font-size:.8125rem}}.studio-work-dialog{--preview-gap: clamp(12px, 2vw, 24px);width:min(1180px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dbe6f8;border-radius:19px;background:#fff;color:var(--ink);box-shadow:0 24px 62px #17294e58;overflow:auto;overscroll-behavior:contain}.studio-work-dialog::backdrop{background:#1225478f;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.work-preview-header{position:sticky;top:0;z-index:1;display:flex;min-height:58px;align-items:center;gap:12px;padding:8px var(--preview-gap);border-bottom:1px solid var(--line);background:#fff}.work-preview-header h2{margin:0 auto 0 0;font-size:1.125rem}.work-preview-header time{color:var(--muted);font-size:.8125rem;font-variant-numeric:tabular-nums;white-space:nowrap}.work-preview-header .icon-button{display:grid;width:42px;height:42px;flex:none;place-items:center;background:#f3f7ff;color:#345585}.work-preview-header .icon-button:hover{background:#e8f1ff}.work-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,31vw,368px);gap:var(--preview-gap);padding:var(--preview-gap)}.work-preview-media{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #dfe8f7;border-radius:14px;background:#edf2fb}.work-preview-stage{position:relative;flex:1 0 auto;height:clamp(242px,64vh,680px);height:clamp(242px,64dvh,680px)}.work-preview-stage img{display:block;width:100%;height:100%;object-fit:contain}.work-preview-stage .work-preview-reference{position:absolute;top:0;right:0;bottom:0;left:0}.work-preview-compare{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:6px 10px;border-top:1px solid #dfe8f7;background:#f7faff}.work-preview-compare .button{min-height:40px}.work-preview-compare input{min-width:80px;min-height:32px;flex:1;margin:0;accent-color:#386ff0}.work-preview-info{display:flex;min-width:0;flex-direction:column;gap:14px;padding:clamp(12px,1.4vw,18px);border:1px solid #dfe8f7;border-radius:14px;background:#f5f8fd}.work-preview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.work-preview-actions .button,.work-preview-management .button{justify-content:center;gap:5px;min-width:0;min-height:44px;padding-inline:5px;border-radius:9px;font-size:.8125rem;white-space:nowrap}.work-preview-actions .work-preview-use{grid-column:1 / -1;font-size:.875rem}.work-preview-actions .button[aria-pressed=true]{border-color:#ccdefc;background:#eaf2ff;color:#2759bb}.work-preview-details{display:grid;min-width:0;gap:8px;padding:12px;border:1px solid #e1eafa;border-radius:12px;background:#fff}.work-preview-details h3{margin:0;font-size:.875rem}.work-preview-prompt{max-height:min(232px,33dvh);overflow:auto;color:#415779;font-size:.875rem;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.work-preview-prompt:focus-visible{outline:2px solid #4c77fa;outline-offset:3px;border-radius:4px}.work-preview-folder{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;font-size:.875rem}.work-preview-folder .ops-input{min-width:0;min-height:44px}.work-preview-management{display:grid;gap:8px;margin-block-start:auto;padding-top:10px;border-top:1px solid var(--line)}.work-preview-management .button{justify-self:end;padding-inline:10px}.work-preview-error{margin:0;overflow-wrap:anywhere}@media (max-width: 700px){.studio-work-dialog{--preview-gap: 12px;width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.work-preview-header{min-height:53px;padding-block:5px}.work-preview-layout{grid-template-columns:minmax(0,1fr)}.work-preview-stage{height:clamp(140px,42vh,350px);height:clamp(140px,42dvh,350px)}}@media (max-width: 390px){.work-preview-actions .secondary{min-height:48px;flex-direction:column;gap:3px}}@media (max-width: 700px) and (max-height: 440px){.work-preview-stage{height:clamp(100px,33dvh,146px)}}
