/* workbench.css */body.wallet-ui:has(.wallet-studio)>main{max-width:none;width:100%;padding:16px 32px 24px}.wallet-studio{display:grid;grid-template-columns:340px minmax(0,1fr) 320px;gap:16px;align-items:stretch;min-width:0}.wallet-studio>.wallet-panel{border-radius:16px;padding:0;margin:0;box-shadow:none;border-color:#160f1e14;min-width:0}.wallet-studio .wallet-parameters{display:flex;flex-direction:column;overflow:hidden}.wallet-studio #wallet-form{height:100%;display:flex;flex-direction:column;min-height:0}.wallet-form-scroll{padding:16px;flex:1}.wallet-studio #wallet-editable-fields{min-width:0}.wallet-studio .wallet-mode-switch{background:#f3f0ea;display:flex;padding:4px;margin:0 0 16px;gap:4px;border-radius:10px}.wallet-studio .wallet-mode-switch button{flex:1;min-height:44px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:8px}.wallet-mode-switch svg{width:16px;height:16px}.wallet-studio .wallet-mode-switch [aria-pressed=true]{background:#fff;border:1px solid #160f1e29;color:#160f1e}.wallet-studio #wallet-mode-label{display:none!important}.wallet-studio label{font-size:13px;font-weight:500;line-height:1.6;margin:12px 0 6px}.wallet-studio label[for=wallet-prompt]{display:flex;justify-content:space-between;margin-top:0}.wallet-studio label small{font-weight:400;font-size:12px;color:#6a6272}.wallet-studio #wallet-prompt{height:96px;min-height:96px;resize:vertical;width:100%;padding:10px 12px;font-size:14px;box-sizing:border-box;border-radius:10px}.wallet-studio .wallet-file{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;box-sizing:border-box;background:#fffdf7;border-style:dashed;font-size:14px;margin:0}.wallet-file svg{width:18px;height:18px}.wallet-studio .wallet-form-details>.mut{font-size:12px;line-height:1.6;margin:8px 0 12px}.wallet-studio #wallet-reference-name{font-size:12px;margin-top:6px;overflow-wrap:anywhere}.wallet-studio .wallet-model{height:44px;box-sizing:border-box;background:#f3f0ea;border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:14px}.wallet-studio .wallet-model span{font-size:12px;color:#6a6272}.wallet-studio .wallet-aspects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;background:none}.wallet-studio .wallet-aspects button{height:56px;font-size:12px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-width:0;border-radius:10px;background:white;border:1px solid #160f1e29}.wallet-studio .wallet-aspects [aria-pressed=true]{background:#fff0f7;border-color:#ff3ea5;color:#160f1e}.wallet-studio .wallet-aspects i{height:18px;width:auto;border:1px solid currentColor;display:block;max-width:28px}.workbench-count{display:flex;justify-content:space-between;align-items:center;gap:12px}.workbench-count small{font-size:12px;color:#6a6272}.workbench-count>div{display:flex;align-items:center;border:1px solid #160f1e29;border-radius:10px;overflow:hidden}.workbench-count button{width:44px;height:44px;padding:0;border:0;background:transparent;font-size:18px}.wallet-studio #wallet-count{width:42px;min-width:0;height:44px;margin:0;padding:0;text-align:center;border:0;background:transparent!important;font-size:14px;appearance:textfield}.workbench-count input::-webkit-inner-spin-button{appearance:none}.workbench-expansion label{display:block}.workbench-expansion .wallet-seg{display:flex;padding:4px;background:#f3f0ea;gap:4px}.workbench-expansion .wallet-seg button{flex:1;min-width:0;min-height:44px;font-size:14px;border-radius:8px}.workbench-expansion [aria-pressed=true]{background:#fff;border:1px solid #160f1e29;color:#160f1e}.workbench-expansion>small{display:block;font-size:12px;line-height:1.6;color:#6a6272;margin-top:6px}.wallet-studio .wallet-run-bar{padding:12px 16px;border-top:1px solid #160f1e29;background:#fff;display:flex;flex-direction:column;gap:8px;position:sticky;bottom:0;margin-top:auto}.workbench-price-row{display:flex;justify-content:space-between;gap:12px;width:100%;font-size:12px;line-height:1.6}.workbench-price-row strong{font-size:12px}.wallet-run-bar>.btn{width:100%;min-height:48px;box-sizing:border-box}.wallet-studio #wallet-generate{background:#ff3ea5;color:#fff;border-color:#ff3ea5}.wallet-run-bar>small{font-size:12px;color:#6a6272;text-align:center}.wallet-studio .wallet-results{padding:20px;display:flex;flex-direction:column;gap:14px}.wallet-studio h2{font-family:inherit;font-size:15px;font-weight:500;margin:0}.wallet-studio .wallet-result-stage{position:relative;display:grid;place-items:center;aspect-ratio:16/9;min-height:0;background:#f3f0ea;border-radius:12px;overflow:hidden;padding:0}.wallet-result-stage>p{text-align:center;font-size:17px;font-weight:500;margin:0;padding:16px;line-height:1.6}.wallet-result-stage>p small{font-size:13px;color:#6a6272;font-weight:400}.workbench-empty-icon{display:block;margin:0 auto 10px;color:#6a6272}.workbench-empty-icon svg{width:36px;height:36px}.wallet-studio .wallet-result-stage:has(>img),.wallet-studio .wallet-result-stage:has(>video){aspect-ratio:auto}.wallet-studio .wallet-result-stage>img,.wallet-studio .wallet-result-stage>video{width:100%;height:auto;max-width:100%;max-height:none;display:block;object-fit:contain}.workbench-examples{display:flex;flex-direction:column;gap:8px}.workbench-examples>small{font-size:13px;color:#6a6272}.workbench-examples button{min-height:44px;padding:8px 14px;text-align:left;background:#fff;border:1px solid #160f1e29;border-radius:10px;color:#3e3448;font-size:14px;line-height:1.6}.wallet-studio .wallet-task-list{padding:16px 12px 12px;align-self:start}.wallet-task-list h2{padding:0 8px 8px}.wallet-task-list #wallet-video-active{font-size:12px;padding:0 8px;margin:0 0 8px}.wallet-task-list .wallet-task{display:flex;align-items:center;gap:10px;padding:12px 8px;background:none;border:0;border-bottom:1px solid #160f1e14;border-radius:0;width:100%;text-align:left}.wallet-task-list .wallet-task img{width:44px;height:44px;object-fit:cover;border-radius:8px;flex-shrink:0}.wallet-task-list .wallet-task>span{font-size:13px;line-height:1.5;min-width:0}.wallet-task small{display:block;color:#6a6272;font-size:12px}.wallet-studio #wallet-job-state{font-size:13px;margin:0}.wallet-studio #wallet-result-actions{display:flex;flex-wrap:wrap;gap:8px}.wallet-studio #wallet-result-actions .btn{font-size:14px;min-height:44px}.workbench-used-prompt{font-size:13px}.workbench-used-prompt summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.workbench-used-prompt pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.7;background:#f3f0ea;padding:16px;border-radius:10px;margin:0}.wallet-studio .wallet-result-stage.is-progress{aspect-ratio:auto;display:block;background:none;overflow:visible}.workbench-progress{width:100%;display:flex;flex-direction:column;gap:16px}.workbench-progress-visual{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;display:flex;align-items:center;justify-content:center;isolation:isolate}.workbench-progress-field{position:absolute;inset:0;z-index:-1}.workbench-progress-pill{display:flex;align-items:center;gap:12px;background:#0e0d12;color:#fffdf7;border-radius:24px;padding:12px 18px;font-size:14px;max-width:calc(100% - 32px);box-sizing:border-box;white-space:nowrap}.workbench-progress-pill span{font-variant-numeric:tabular-nums}.workbench-progress-dot{width:8px;height:8px;background:#fffdf7;flex-shrink:0;animation:workbench-dot 1s steps(2,end) infinite}.workbench-stages{display:flex;gap:0;padding:0;margin:0;list-style:none}.workbench-stages li{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;color:#6a6272;position:relative}.workbench-stages li>span{width:22px;height:22px;background:#f3f0ea;border-radius:50%;display:grid;place-items:center;font-weight:400}.workbench-stages li.is-active{color:#160f1e}.workbench-stages li.is-active>span{background:#160f1e;color:#fffdf7}.workbench-stages strong{font-weight:400}.workbench-progress-spec{display:flex;justify-content:space-between;gap:12px;font-size:13px;flex-wrap:wrap}.workbench-progress>p{font-size:13px;color:#6a6272;line-height:1.7;margin:0}.workbench-reveal-mask{position:absolute;inset:0;z-index:3;pointer-events:none}.workbench-revealing{filter:blur(10px) saturate(.3);transition:filter 2s ease}.workbench-revealing.is-sharp{filter:none}@keyframes workbench-dot{50%{opacity:.3}}@media(min-width:771px) and (max-width:1199px){.wallet-studio{grid-template-columns:300px minmax(0,1fr)}.wallet-studio .wallet-task-list{grid-column:1/-1}}@media(max-width:770px){body.wallet-ui:has(.wallet-studio)>main{padding:10px 16px 24px}.wallet-studio{display:flex;flex-direction:column;gap:16px;padding-bottom:310px}.wallet-studio .wallet-results{order:1;padding:16px;width:100%;min-height:0}.wallet-studio .wallet-task-list{order:2}.wallet-studio .wallet-parameters{display:block;position:fixed;inset:auto 0 0;width:100%;max-height:calc(85dvh - 56px);border-radius:16px 16px 0 0;z-index:35;overflow:auto}.wallet-panel.wallet-parameters{padding:8px 16px calc(56px + env(safe-area-inset-bottom,0px));box-sizing:border-box}.wallet-studio #wallet-form{height:auto;display:block}.wallet-form-scroll{padding:0}.wallet-studio .wallet-mode-switch{margin:0 0 8px}.wallet-studio #wallet-prompt{font-size:16px!important}.wallet-studio .wallet-parameters:not(.expanded) #wallet-prompt{height:44px;min-height:44px;resize:none;overflow:hidden}.wallet-studio .wallet-run-bar{padding:8px 0 0;border:0;position:static;gap:8px}.wallet-studio .wallet-run-bar>small:not(#wallet-trial-funding){display:none}.wallet-studio .wallet-parameters:not(.expanded) .wallet-form-details,.wallet-studio .wallet-parameters:not(.expanded) label[for=wallet-prompt]{display:none}.wallet-studio .wallet-mobile-parameters{min-height:44px;margin:0 0 8px;padding:0 4px;background:transparent;display:flex;justify-content:space-between;align-items:center;font-size:14px;text-align:left}.wallet-mobile-parameters [data-parameter-toggle-label]{font-weight:500;font-size:14px}.wallet-mobile-parameters [data-parameter-summary]{font-size:12px;white-space:nowrap}.wallet-mobile-parameters svg{width:16px;height:16px}.wallet-studio .wallet-result-stage{aspect-ratio:4/3}.workbench-progress-visual{aspect-ratio:4/3}.workbench-progress-pill{font-size:13px;gap:8px;padding:10px 14px}.workbench-progress-spec{font-size:12px}.workbench-stages li{font-size:12px}.wallet-mobile-tabs{height:56px;box-sizing:border-box}.workbench-price-row{justify-content:flex-end}.workbench-price-row>[data-quote-equation]{display:none}}@media(prefers-reduced-motion:reduce){.workbench-progress-dot{animation:none}.workbench-revealing{filter:none;transition:none}}.wallet-studio .wallet-form-details label.wallet-file{display:flex;width:100%;margin:0}.wallet-studio .wallet-mode-switch button{flex-direction:row}.wallet-studio .wallet-run-bar{margin:0;width:auto;box-sizing:border-box}.wallet-studio .wallet-aspects i{min-width:8px;flex-shrink:0}@media(max-width:770px){.wallet-studio .wallet-parameters.expanded{display:flex;flex-direction:column;overflow:hidden}.wallet-studio .wallet-parameters.expanded #wallet-form{display:flex;flex-direction:column;flex:1;min-height:0}.wallet-studio .wallet-parameters.expanded .wallet-form-scroll{flex:1;min-height:0;overflow-y:auto;padding-bottom:12px}.wallet-studio .wallet-parameters.expanded .wallet-run-bar{flex-shrink:0}body.wallet-typing .wallet-panel.wallet-parameters{bottom:var(--wallet-kb,0px);padding-bottom:12px;max-height:calc(var(--wallet-vvh,100dvh) - 64px)}body.wallet-typing .wallet-parameters.expanded{height:min(calc(85dvh - 56px),calc(var(--wallet-vvh,100dvh) - 64px))}}body.wallet-ui:has(.wallet-studio) .pixel-header-band{height:32px}body.wallet-ui:has(.wallet-studio)>main{min-height:1084px}.wallet-studio .wallet-form-scroll{padding:20px}.wallet-studio .wallet-mode-switch button[aria-pressed=false]{background:transparent;border:1px solid transparent;color:#6a6272}.wallet-studio .wallet-mode-switch button[aria-pressed=true]{background:#fff;border:1px solid #160f1e29}.wallet-studio .workbench-count{margin-top:16px}.workbench-count>.workbench-count-label{display:block;border:0;border-radius:0;overflow:visible}.workbench-count-label label{margin:0;display:block}.workbench-count>div:not(.workbench-count-label){border:0;gap:4px}.workbench-count button{border:1px solid #160f1e29;border-radius:10px}@media(max-width:770px){body.wallet-ui:has(.wallet-studio) .pixel-header-band{height:30px}body.wallet-ui:has(.wallet-studio)>main{min-height:0}.wallet-studio .wallet-form-scroll{padding:0}}.wallet-studio .wallet-mode-switch{padding:0;min-height:44px}.wallet-studio .wallet-mode-switch button{min-height:44px}.wallet-studio .wallet-task-list .workbench-task-label{flex:1}.wallet-studio .wallet-task-list .workbench-task-detail{text-align:right;font-size:12px}.workbench-task-state.succeeded,.workbench-task-state.delivered_free{color:#008f83}.workbench-task-state.failed{color:#b32940}@media(max-width:640px){body.wallet-ui:has(.wallet-studio)>header{height:56px;min-height:56px;padding:6px 16px}body.wallet-ui:has(.wallet-studio)>header .nav-toggle{border:0;background:transparent}.wallet-studio .wallet-mobile-parameters [data-parameter-toggle-label]{font-size:13px}.wallet-studio .wallet-mobile-parameters:before{content:'';position:absolute;top:6px;left:calc(50% - 18px);width:36px;height:4px;background:#d5d2d8;border-radius:2px}}@media(min-width:771px){.wallet-studio .wallet-results{min-height:900px}.wallet-studio .wallet-parameters{max-height:none}}.workbench-parameter-heading{display:flex;align-items:center;gap:8px}.workbench-parameter-heading>svg{width:16px;height:16px;color:#6a6272}.wallet-mobile-tabs>button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;min-height:44px}.wallet-mobile-tabs>button svg{width:20px;height:20px}[data-workbench-task-count]{position:absolute;top:4px;left:calc(50% + 8px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#160f1e;color:white;font-size:11px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.workbench-stages li>span{width:10px;height:10px;border-radius:0;font-size:0;background:#e3ded8}.workbench-stages li.is-active>span{background:#ff3ea5}.workbench-stages li.is-complete>span{background:#160f1e}.workbench-stages li.is-active strong{font-weight:600}.workbench-progress-dot{background:#ff3ea5}.workbench-progress-spec>span:last-child{color:#976513}.wallet-studio #wallet-results-title{display:flex;align-items:center;gap:6px}.wallet-studio #workbench-result-phase{margin-left:auto;font-size:12px;font-weight:400}@media(max-width:770px){.wallet-panel.wallet-parameters{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}.wallet-studio #wallet-count,.wallet-studio #wallet-duration{font-size:16px}}.workbench-backdrop{display:none}#wallet-job-state{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}#wallet-job-state>span:last-child{margin-left:auto}#wallet-download{background:#160f1e;color:#fff;border-color:#160f1e}.wallet-studio #workbench-result-phase.is-complete{color:#008f83}@media(max-width:640px){.wallet-studio .wallet-parameters.expanded{height:calc(100dvh - 96px);max-height:calc(100dvh - 96px)}.wallet-studio .wallet-parameters{z-index:47}.workbench-parameters-open .workbench-backdrop{display:block;position:fixed;inset:0;background:#160f1e66;z-index:46}.nav-open .workbench-backdrop,body.wallet-typing .workbench-backdrop{display:none}body.wallet-typing .wallet-parameters.expanded{height:min(calc(100dvh - 96px),calc(var(--wallet-vvh,100dvh) - 64px));max-height:calc(var(--wallet-vvh,100dvh) - 64px)}}@media(max-width:640px){.wallet-studio .wallet-parameters{z-index:35}.wallet-studio .wallet-parameters.expanded{z-index:47;bottom:calc(56px + env(safe-area-inset-bottom,0px));height:calc(100dvh - 152px - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 152px - env(safe-area-inset-bottom,0px));padding-bottom:12px}body.wallet-typing .wallet-parameters.expanded{bottom:var(--wallet-kb,0px);height:min(calc(100dvh - 96px),calc(var(--wallet-vvh,100dvh) - 64px));max-height:calc(var(--wallet-vvh,100dvh) - 64px)}}@media(max-width:640px){.wallet-studio .wallet-parameters.expanded{padding-left:20px;padding-right:20px}.wallet-studio .wallet-parameters.expanded .wallet-mobile-parameters{padding-left:0;padding-right:0}.wallet-studio .wallet-mobile-parameters:before{top:8px}}.wallet-studio .wallet-video-models button{display:flex;align-items:center;gap:10px;padding:10px 12px}.wallet-video-models button:before{content:'';width:16px;height:16px;box-sizing:border-box;border:1px solid #6a6272;border-radius:50%;flex-shrink:0}.wallet-video-models button>span:last-child{margin-left:auto}.wallet-studio .wallet-video-models [aria-pressed=true]{background:#fff0f7;border-color:#160f1e}.wallet-video-models [aria-pressed=true]:before{border:5px solid #160f1e;background:#fff}@media(max-width:640px){.wallet-studio .wallet-parameters.expanded #wallet-prompt{height:88px;min-height:88px}.wallet-parameters.expanded .workbench-parameter-heading>svg,.wallet-parameters.expanded [data-parameter-summary]{display:none}}@media(max-width:770px){.wallet-parameters.expanded .workbench-price-row{justify-content:space-between}.wallet-parameters.expanded .workbench-price-row>[data-quote-equation]{display:inline}}.wallet-studio .wallet-seg.workbench-segmented{display:flex;gap:4px;padding:0;background:#f3f0ea;border-radius:10px}.wallet-studio .wallet-seg.workbench-segmented button{flex:1;min-width:0;min-height:44px;background:transparent;border:1px solid transparent;box-shadow:none;color:#6a6272;border-radius:8px}.wallet-studio .wallet-seg.workbench-segmented button[aria-pressed=true]{background:#fff;border-color:#160f1e29;color:#160f1e}.wallet-studio .is-video-mode .wallet-aspects{grid-template-columns:repeat(4,minmax(0,1fr))}.wallet-studio .is-video-mode [data-aspect='9:16']{order:0}.wallet-studio .is-video-mode [data-aspect='16:9']{order:1}.wallet-studio .is-video-mode [data-aspect='1:1']{order:2}.wallet-studio .is-video-mode [data-aspect='3:4']{order:3}.workbench-duration{margin-top:12px}.workbench-duration-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.wallet-studio .workbench-duration-heading label{font-size:14px;margin:0}.workbench-duration-heading>div{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px}.wallet-studio #wallet-duration{width:56px;min-width:0;height:44px;padding:0 4px;margin:0;text-align:center;font-variant-numeric:tabular-nums;border-radius:10px}.wallet-studio #wallet-duration-reset{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0;margin-left:6px;background:transparent;border:0;border-radius:0;color:#160f1e;font-size:13px;text-decoration:none;white-space:nowrap}#wallet-duration-reset:hover{text-decoration:underline}#wallet-duration-reset[aria-disabled=true]{color:#6a6272;cursor:default}.wallet-studio #wallet-duration-range{display:block;width:100%;min-width:0;height:44px;margin:0;accent-color:#160f1e;box-sizing:border-box}.workbench-duration-ticks{display:flex;justify-content:space-between;font-size:12px;line-height:1.6;color:#6a6272;font-variant-numeric:tabular-nums}.workbench-task-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 8px}.wallet-studio .workbench-task-heading h2{padding:0;flex-shrink:0}.wallet-studio .workbench-task-heading #wallet-video-active{padding:0;margin:0;font-size:12px;line-height:1.5;text-align:right;white-space:nowrap}