.studio-dialog.create-project-dialog{display:grid;width:min(1120px,calc(100vw - 36px));max-height:min(860px,calc(100dvh - 36px));grid-template-rows:auto minmax(0,1fr) auto}.create-project-dialog .studio-dialog-content{min-height:0;overflow:auto;padding-top:2px}.create-project-layout{display:grid;min-height:478px;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.create-project-presets{min-width:0}.create-project-search{display:flex;height:40px;align-items:center;gap:8px;margin-top:13px;border:1px solid var(--input);border-radius:var(--radius-control);background:var(--field);padding:0 11px;color:var(--muted-foreground)}.create-project-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--foreground);font:inherit;font-size:12px}.create-project-presets>nav{width:fit-content;margin:12px 0}.create-project-presets>nav::-webkit-scrollbar{display:none}.canvas-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-bottom:12px}.canvas-preset-grid>button{display:grid;min-width:0;grid-template-rows:112px auto auto auto;grid-template-columns:minmax(0,1fr);gap:2px;border:1px solid transparent;border-radius:var(--radius-inner);background:transparent;padding:6px;color:var(--muted-foreground);text-align:left}.canvas-preset-grid>button:hover{background:var(--muted)}.canvas-preset-grid>button[aria-pressed=true]{border-color:var(--brand);background:var(--muted)}.canvas-preset-preview{display:grid;height:108px;grid-column:1/-1;place-items:center;overflow:hidden;border-radius:var(--radius-inner);background:var(--secondary)}.canvas-preset-preview i{display:grid;width:auto;max-width:82px;height:auto;max-height:80px;min-width:34px;min-height:34px;place-items:center;border:1px solid transparent;border-radius:3px;background:var(--segment-active);color:var(--foreground);font-style:normal}.canvas-preset-preview i b{font-size:var(--studio-text-xs);font-weight:650;letter-spacing:.04em}.canvas-preset-grid strong{overflow:hidden;color:var(--foreground);font-size:var(--studio-text-xs);font-weight:620;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.canvas-preset-grid small{color:var(--muted-foreground);font-size:var(--studio-text-xs);font-variant-numeric:tabular-nums}.canvas-preset-grid em{grid-column:1/-1;overflow:hidden;color:var(--muted-foreground);font-size:var(--studio-text-xs);font-style:normal;text-overflow:ellipsis;white-space:nowrap}.create-project-empty{display:grid;min-height:240px;place-content:center;justify-items:center;color:var(--foreground)}.create-project-empty span{margin-top:5px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.create-project-settings{display:flex;flex-direction:column;gap:16px;border-left:1px solid var(--border-strong);padding:14px 0 0 24px}.create-project-selected-preview{display:grid;min-height:138px;grid-template-rows:92px auto;gap:9px;border-radius:var(--radius-control);background:var(--muted);padding:10px}.create-project-selected-preview .canvas-preset-preview{height:92px;background:var(--muted)}.create-project-selected-preview>span:last-child{display:grid;gap:2px}.create-project-selected-preview strong{color:var(--foreground);font-size:12px}.create-project-selected-preview small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.create-project-dimensions,.create-project-settings>label,.create-project-video-settings{display:grid;gap:6px}.create-project-dimensions>span,.create-project-settings>label>span,.create-project-video-settings>span{color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:650}.create-project-settings>label>span small{color:var(--muted-foreground);font:inherit;font-weight:500}.create-project-settings>label>input[type=text],.create-project-settings>label>textarea{width:100%;border:1px solid var(--input);border-radius:var(--radius-control);outline:0;background:var(--field);padding:0 10px;color:var(--foreground);font-size:var(--studio-text-xs)}.create-project-settings>label>input[type=text]{height:38px}.create-project-settings>label>textarea{min-height:62px;resize:vertical;padding-block:9px;font:inherit;line-height:1.45}.create-project-settings :is(input,textarea):focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.create-project-video-settings{grid-template-columns:1fr}.create-project-dimensions>span,.create-project-video-settings>span{grid-column:1/-1}.create-project-dimensions{position:relative;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)}.create-project-dimensions>span{grid-column:1/-1}.create-project-dimensions label,.create-project-video-settings>label{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;border:1px solid var(--input);border-radius:var(--radius-inner);background:var(--field)}.create-project-dimensions label:focus-within,.create-project-video-settings>label:focus-within{border-color:var(--border-strong)}.create-project-dimensions label small,.create-project-video-settings>label small{color:var(--muted-foreground);font-size:var(--studio-text-xs);text-align:center}.create-project-dimensions label input[type=number],.create-project-video-settings>label input[type=number]{width:100%;height:35px;border:0;border-radius:0;outline:0;background:transparent;padding-left:0;color:var(--foreground);font-size:var(--studio-text-xs)}.aspect-ratio-toggle{display:grid;width:28px;height:36px;place-items:center;align-self:end;border:0;background:transparent;color:var(--muted-foreground)}.aspect-ratio-toggle:after,.aspect-ratio-toggle:before{position:absolute;z-index:-1;width:10px;height:1px;background:var(--secondary);content:""}.aspect-ratio-toggle:before{transform:translateX(-17px)}.aspect-ratio-toggle:after{transform:translateX(17px)}.aspect-ratio-toggle.is-active,.aspect-ratio-toggle:hover{color:var(--foreground)}.create-project-video-settings>.studio-custom-select{min-width:0}.create-project-dialog>footer{justify-content:flex-end}.create-project-actions{display:flex;gap:8px}.create-project-actions button:disabled{cursor:wait;opacity:.55}.create-project-settings .project-transparency{margin-top:auto}@media (max-width:760px){.studio-dialog.create-project-dialog{width:100%;max-height:calc(100dvh - 20px)}.create-project-layout{grid-template-columns:1fr}.create-project-settings{border-top:1px solid var(--border-strong);border-left:0;padding:16px 0 0}.canvas-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:500px){.create-project-dialog>footer{display:block}.create-project-actions{display:grid;grid-template-columns:1fr 1fr}.canvas-preset-grid{grid-template-columns:1fr}.canvas-preset-grid>button{grid-template-rows:96px auto auto}.canvas-preset-preview{height:92px}}.studio-dialog.project-type-dialog{width:min(690px,calc(100vw - 32px))}.project-type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.project-type-options>button{display:grid;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--muted);padding:0;color:var(--foreground);text-align:left;transition:border-color .15s ease,transform .15s ease}.project-type-options>button:focus-visible,.project-type-options>button:hover{background:var(--accent);outline:none}.project-type-art{position:relative;display:grid;height:142px;place-items:center;overflow:hidden;background:var(--muted);color:var(--foreground)}.project-type-art svg{position:relative;z-index:2}.project-type-art i{display:none}.project-type-art svg{width:20px;height:20px;padding:10px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--secondary);box-sizing:content-box}.project-type-art.is-image,.project-type-art.is-video{background:var(--muted)}.project-type-options>button>span:last-child{display:grid;gap:5px;padding:14px 15px 16px}.project-type-options strong{font-size:15px;font-weight:650}.project-type-options small{color:var(--muted-foreground);font-size:12px;line-height:1.45}.project-type-template-note{display:flex;align-items:flex-start;gap:7px;margin:13px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.5}.project-type-template-note svg{flex:none;margin-top:1px;color:var(--brand)}@media (max-width:560px){.project-type-options{grid-template-columns:1fr}.project-type-art{height:105px}}@media (min-width:761px){.studio-dialog.create-project-dialog{height:min(760px,calc(100dvh - 36px))}.create-project-dialog .studio-dialog-content{display:flex;min-height:0;overflow:hidden;padding-bottom:0}.create-project-layout{flex:1;min-height:0}.create-project-presets{display:flex;min-height:0;flex-direction:column}.create-project-presets>.canvas-preset-grid,.create-project-presets>.create-project-empty{flex:1;min-height:0;overflow-y:auto;align-content:start;padding-bottom:16px;scrollbar-width:none}.create-project-presets>.canvas-preset-grid::-webkit-scrollbar{display:none}.create-project-settings{min-height:0;overflow-y:auto;padding-bottom:16px;scrollbar-width:none}.create-project-settings::-webkit-scrollbar{display:none}}@media (max-width:760px){.create-project-dialog .studio-dialog-content{overflow-y:auto}.create-project-layout{min-height:0;gap:16px}.create-project-presets>nav{display:flex;width:100%;max-width:100%}.create-project-presets>nav>button{flex:1 1 auto;padding:0 4px}.canvas-preset-grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(132px,42%);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}.canvas-preset-grid::-webkit-scrollbar{display:none}.canvas-preset-grid>button{grid-template-rows:84px auto auto auto;scroll-snap-align:start}.canvas-preset-preview{height:80px}.create-project-empty{min-height:120px}.create-project-settings{gap:14px;padding-top:16px}.create-project-selected-preview{min-height:0;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto;align-items:center;padding:8px}.create-project-selected-preview .canvas-preset-preview{height:48px;grid-column:auto}}.studio-dialog.studio-cancellation-dialog{display:grid;width:min(520px,100%);max-height:min(760px,calc(100dvh - 36px));grid-template-rows:auto minmax(0,1fr) auto}.studio-cancellation-dialog .studio-dialog-content{min-height:0;overflow:auto}.studio-cancellation-reasons{display:grid;gap:6px;margin:0;padding:0;border:0}.studio-cancellation-reasons legend{margin-bottom:8px;padding:0;color:var(--foreground);font-size:var(--studio-text-sm);font-weight:650}.studio-cancellation-details small,.studio-cancellation-reasons legend span{margin-left:6px;color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:500}.studio-cancellation-reasons label{display:flex;min-height:40px;align-items:center;gap:10px;padding:0 12px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--muted);color:var(--foreground);font-size:var(--studio-text-sm);cursor:pointer;transition:border-color .15s ease,background .15s ease}.studio-cancellation-reasons label:hover{border-color:var(--border-strong);background:var(--accent)}.studio-cancellation-reasons label.is-selected{border-color:var(--brand);background:var(--muted);color:var(--foreground)}.studio-cancellation-reasons label:has(input:focus-visible){outline:2px solid var(--ring);outline-offset:1px}.studio-cancellation-reasons input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--brand)}.studio-cancellation-details{display:grid;gap:6px;color:var(--foreground);font-size:var(--studio-text-sm);font-weight:650}.studio-cancellation-details textarea{width:100%;min-height:84px;resize:vertical;padding:10px 12px;border:1px solid transparent;border-radius:var(--radius-control);background:var(--field);color:var(--foreground);font:inherit;font-weight:400;line-height:var(--studio-leading-normal)}.studio-cancellation-details textarea:focus{border-color:var(--border-strong);outline:2px solid var(--ring);outline-offset:1px}.studio-cancellation-details .studio-cancellation-hint{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:500}@media (max-width:640px){.studio-dialog.studio-cancellation-dialog{max-height:calc(100dvh - 20px)}.studio-cancellation-reasons label{min-height:44px}}@media (prefers-reduced-motion:reduce){.studio-cancellation-reasons label{transition:none}}.affiliate-panel{display:grid;gap:14px}.affiliate-loading{display:flex;align-items:center;gap:8px;color:var(--muted-foreground);font-size:var(--studio-text-sm)}.affiliate-card{display:grid;gap:16px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--card);min-width:0}.affiliate-card-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.affiliate-card-head h3{margin:0;color:var(--foreground);font-size:var(--studio-text-lg);font-weight:600}.affiliate-card-head p{margin:3px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-sm)}.affiliate-gate{display:grid;justify-items:center;gap:12px;max-width:460px;margin:0 auto;padding:min(14vh,96px) 16px;text-align:center}.affiliate-gate>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--muted);color:var(--brand-text)}.affiliate-gate h2{margin:4px 0 0;color:var(--foreground);font-size:22px;font-weight:650;letter-spacing:-.02em}.affiliate-gate p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-md)}.affiliate-gate .affiliate-gate-warning{color:var(--foreground)}.affiliate-gate .studio-primary-button{margin-top:8px}.affiliate-link{display:flex;gap:8px;align-items:stretch}.affiliate-link input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--muted);color:var(--foreground);font-size:var(--studio-text-md);font-variant-numeric:tabular-nums}.affiliate-link .studio-primary-button{flex:none;height:40px;gap:6px}.affiliate-terms{display:flex;flex-wrap:wrap;gap:8px 32px;margin:0}.affiliate-terms dt{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-terms dd{margin:2px 0 0;color:var(--foreground);font-size:var(--studio-text-sm);font-weight:600}.affiliate-terms dd small{color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:400}.affiliate-terms-custom dd{color:var(--brand-text)}.affiliate-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.affiliate-metric-switch>button.is-active{background:var(--brand);color:#18181b;box-shadow:none}.affiliate-headline{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 24px}.affiliate-headline strong{display:block;color:var(--foreground);font-size:30px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.15}.affiliate-headline small{display:block;margin-top:2px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-headline p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-sm)}.affiliate-headline b{color:var(--foreground);font-weight:600}.affiliate-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:14px;border-top:1px solid var(--border)}.affiliate-asset{display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 10px;margin:0;min-width:0;align-content:start}.affiliate-asset-preview{grid-row:span 2;width:48px;height:48px;padding:3px;border:1px solid var(--border);border-radius:8px}.affiliate-asset-preview img{display:block;width:100%;height:100%;object-fit:contain}.affiliate-asset-preview.is-dark{background:#0b0b0c}.affiliate-asset-preview.is-light{background:#ffffff}.affiliate-asset-preview.is-split{background:linear-gradient(135deg,#0b0b0c 50%,#ffffff 0)}.affiliate-asset figcaption{color:var(--foreground);font-size:var(--studio-text-sm);font-weight:500}.affiliate-asset-actions{display:flex;gap:6px}.affiliate-asset-actions button{display:inline-flex;align-items:center;gap:5px;height:var(--control-height-sm);padding:0 10px;border:1px solid var(--border);border-radius:8px;background:none;color:var(--foreground);font-size:var(--studio-text-xs);font-weight:600;cursor:pointer}.affiliate-asset-actions button:hover{background:var(--muted)}.affiliate-asset-actions button:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.affiliate-chart{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:220px auto;margin:0}.affiliate-chart,.affiliate-chart-axis{position:relative}.affiliate-chart-axis span{position:absolute;right:8px;transform:translateY(50%);color:var(--muted-foreground);font-size:var(--studio-text-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.affiliate-chart-plot{position:relative;min-width:0}.affiliate-chart-grid{position:absolute;left:0;right:0;height:1px;background:var(--border)}.affiliate-chart-bars{position:absolute;inset:0;display:flex;align-items:stretch;gap:2px}.affiliate-chart-column{position:relative;flex:1 1 0;min-width:0;padding:0;border:0;background:none;display:flex;align-items:flex-end;justify-content:center;cursor:default;border-radius:4px 4px 0 0}.affiliate-chart-column span{display:block;width:100%;max-width:24px;background:var(--brand);border-radius:4px 4px 0 0;transition:opacity .1s ease}.affiliate-chart-column.is-active,.affiliate-chart-column:hover{background:color-mix(in srgb,var(--foreground) 6%,transparent)}.affiliate-chart-column:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.affiliate-chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;color:var(--muted-foreground);font-size:var(--studio-text-sm);pointer-events:none}.affiliate-chart-tip{position:absolute;top:4px;z-index:2;display:grid;gap:1px;padding:6px 9px;border:1px solid var(--border);border-radius:8px;background:var(--popover);box-shadow:0 6px 18px rgb(0 0 0/22%);transform:translateX(10px);pointer-events:none;white-space:nowrap}.affiliate-chart-tip.is-left{transform:translateX(calc(-100% - 10px))}.affiliate-chart-tip strong{color:var(--foreground);font-size:var(--studio-text-sm);font-weight:600;font-variant-numeric:tabular-nums}.affiliate-chart-tip small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-chart-labels{grid-column:2;display:flex;gap:2px;padding-top:8px}.affiliate-chart-labels span{position:relative;flex:1 1 0;min-width:0;color:var(--muted-foreground);font-size:var(--studio-text-xs);text-align:center;white-space:nowrap;display:flex;justify-content:center}.affiliate-chart-labels span:last-child:not(.is-month){justify-content:flex-end}.affiliate-chart-table{max-height:262px;overflow:auto}.affiliate-chart-table table{width:100%;border-collapse:collapse;font-size:var(--studio-text-sm);font-variant-numeric:tabular-nums}.affiliate-chart-table td,.affiliate-chart-table th{padding:6px 4px;border-bottom:1px solid var(--border);font-weight:400;text-align:right;color:var(--foreground)}.affiliate-chart-table th:first-child{text-align:left}.affiliate-chart-table thead th{position:sticky;top:0;background:var(--card);color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-performance-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.affiliate-view-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 2px;border:0;background:none;color:var(--muted-foreground);font-size:var(--studio-text-sm);cursor:pointer}.affiliate-view-toggle:hover{color:var(--foreground)}.affiliate-balances{display:grid;gap:16px}.affiliate-balance{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px 32px;align-items:center}.affiliate-balance-main small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-balance-main strong{display:block;margin:2px 0 10px;color:var(--foreground);font-size:30px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.affiliate-balance-main p{margin:6px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-progress{height:8px;border-radius:4px;background:var(--muted);overflow:hidden}.affiliate-progress i{display:block;height:100%;border-radius:4px;background:var(--brand)}.affiliate-balance-rest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.affiliate-balance-rest dt{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.affiliate-balance-rest dd{margin:3px 0 0;color:var(--foreground);font-size:var(--studio-text-md);font-weight:600;font-variant-numeric:tabular-nums}.affiliate-balance-action{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--border)}.affiliate-balance-action p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-sm)}.affiliate-payouts{display:grid;gap:6px;margin:0;padding:0;list-style:none;font-size:var(--studio-text-sm)}.affiliate-payouts li{display:grid;grid-template-columns:1fr auto minmax(120px,auto);gap:12px;align-items:baseline;padding-top:8px;border-top:1px solid var(--border)}.affiliate-payouts span{color:var(--muted-foreground)}.affiliate-payouts strong{color:var(--foreground);font-weight:600;font-variant-numeric:tabular-nums}.affiliate-payouts em{font-style:normal;color:var(--muted-foreground);text-align:right}.affiliate-payouts em.is-paid{color:var(--studio-success)}.affiliate-payouts em.is-rejected{color:var(--studio-danger)}.affiliate-rules{padding:0;display:block}.affiliate-rules summary{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;color:var(--foreground);font-size:var(--studio-text-md);font-weight:600;cursor:pointer;list-style:none}.affiliate-rules summary::-webkit-details-marker{display:none}.affiliate-rules summary svg{color:var(--muted-foreground);transition:transform .15s ease}.affiliate-rules[open] summary svg{transform:rotate(180deg)}.affiliate-rules ol{display:grid;gap:14px;margin:0;padding:2px 18px 18px;list-style:none;counter-reset:affiliate-step}.affiliate-rules li{position:relative;padding-left:36px;counter-increment:affiliate-step}.affiliate-rules li:before{content:counter(affiliate-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--muted);color:var(--foreground);font-size:var(--studio-text-xs);font-weight:600;font-variant-numeric:tabular-nums}.affiliate-rules li strong{display:block;color:var(--foreground);font-size:var(--studio-text-sm);font-weight:600;line-height:24px}.affiliate-rules li p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-sm)}@media (max-width:640px){.affiliate-card{padding:14px}.affiliate-link{flex-direction:column}.affiliate-link input{flex:none;width:100%}.affiliate-link .studio-primary-button{justify-content:center}.affiliate-assets{grid-template-columns:minmax(0,1fr)}.affiliate-controls{align-items:stretch;flex-direction:column}.affiliate-controls .studio-segmented{display:flex;width:100%}.affiliate-controls .studio-segmented>button{flex:1 1 0;min-width:0;justify-content:center;padding-inline:4px}.affiliate-chart{grid-template-columns:40px minmax(0,1fr);grid-template-rows:180px auto}.affiliate-chart-bars,.affiliate-chart-labels{gap:1px}.affiliate-balance{grid-template-columns:minmax(0,1fr)}.affiliate-balance-action .studio-primary-button{width:100%;justify-content:center}.affiliate-rules summary{padding:12px 14px}.affiliate-rules ol{padding:2px 14px 14px}}.affiliate-chart-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:var(--accent);color:var(--foreground);font-size:var(--studio-text-xs);font-weight:650}.studio-workspace-topright{position:absolute;z-index:5;top:16px;right:18px}.studio-workspace-content{width:min(1180px,100%);min-width:0;margin:0 auto;padding:32px clamp(20px,3.5vw,44px) 64px}.studio-page-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:24px}.studio-page-heading>div>span{display:block;margin-bottom:6px;color:var(--brand);font-size:13px;font-weight:600}.studio-page-heading h1{margin:0;font-size:26px;line-height:1.15;font-weight:650;letter-spacing:-.02em}.studio-page-heading p{max-width:640px;margin:6px 0 0;color:var(--muted-foreground);font-size:14px;line-height:1.5}.studio-create-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}@media (max-width:1280px){.studio-create-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.studio-create-row>button{display:grid;min-width:0;min-height:84px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid transparent;border-radius:var(--radius-card);background:var(--muted);padding:14px 16px;color:var(--foreground);text-align:left;transition:background-color .15s ease,border-color .15s ease}.studio-create-row>button:hover{background:var(--accent)}.studio-create-row>button>span{display:grid;width:36px;height:36px;place-items:center;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--segment-active);color:var(--foreground)}.studio-create-row>button>div{display:grid;min-width:0;gap:4px}.studio-create-row strong{font-size:14px;font-weight:600}.studio-create-row small{overflow:hidden;color:var(--muted-foreground);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.studio-create-row>button>svg{color:var(--muted-foreground);transition:transform .2s ease}.studio-create-row>button:hover>svg{transform:translateX(2px);color:var(--foreground)}.studio-continue{min-height:302px;padding:11px}.studio-continue>header{display:flex;height:29px;align-items:start;justify-content:space-between;padding:0 2px}.studio-continue>header strong{font-size:13px;font-weight:600}.studio-continue>header small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-continue>button{display:grid;width:100%;height:250px;grid-template-columns:1.1fr .9fr;overflow:hidden;padding:0;border:0;border-radius:var(--radius-control);background:var(--muted);color:var(--foreground);text-align:left}.studio-home-empty{display:grid;min-height:250px;place-content:center;justify-items:center;text-align:center}.studio-home-empty>span{display:grid;width:40px;height:40px;place-items:center}.studio-home-empty strong{margin-top:12px;font-size:13px}.studio-home-empty small{margin-top:5px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-home-empty button{height:32px;margin-top:14px;border:1px solid var(--primary);border-radius:var(--radius-control);background:var(--primary);padding:0 12px;color:var(--primary-foreground);font-size:var(--studio-text-xs);font-weight:650}.studio-continue>button>div:last-child{display:flex;flex-direction:column;justify-content:center;padding:22px}.studio-continue>button>div:last-child>span{color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:700;letter-spacing:.1em}.studio-continue h2{margin:8px 0 0;font-size:23px;line-height:1;font-weight:610;letter-spacing:-.035em}.studio-continue p{margin:10px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.55}.studio-continue>button>div:last-child>strong{display:flex;align-items:center;gap:5px;margin-top:20px;font-size:13px;font-weight:600}.studio-project-visual{position:relative;min-height:164px;overflow:hidden;background:var(--muted)}.studio-project-live-preview,.studio-project-live-preview>iframe,.studio-project-live-preview>img{position:absolute;inset:0;width:100%;height:100%}.studio-project-live-preview{z-index:1;overflow:hidden;pointer-events:none;display:flex;align-items:center;justify-content:center;padding:clamp(4px,6%,12px)}.studio-project-live-preview>img.studio-preview-backdrop{inset:-30%;width:160%;max-width:none;height:160%;max-height:none;object-fit:cover;filter:blur(22px) saturate(1.15);opacity:.7}.studio-project-live-preview>img.studio-preview-image{position:relative;inset:auto;display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--radius-inner);box-shadow:0 6px 20px rgb(0 0 0/22%)}.studio-project-live-preview>iframe{color-scheme:normal;border:0;opacity:0;transform:scale(1.01);transition:opacity .18s ease}.studio-project-live-preview>iframe.is-ready{opacity:1}.studio-project-fallback{position:absolute;inset:0}.studio-project-fallback>i{position:absolute;left:50%;top:50%;display:grid;width:50px;height:50px;place-items:center;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--secondary);color:var(--muted-foreground);transform:translate(-50%,-50%)}.studio-project-visual.is-hero{height:100%}.studio-project-visual:is(.is-orange,.is-blue,.is-violet,.is-green),.studio-template-art:is(.is-orange,.is-blue,.is-violet,.is-green){background:var(--muted)}.studio-visual-grid,.studio-visual-orbit{display:none}.studio-visual-orbit{position:absolute;width:205px;height:205px;right:-22px;top:-40px;border:1px solid var(--border);border-radius:50%;box-shadow:0 0 0 39px #ffffff08,0 0 0 78px #ffffff05}.studio-project-visual>.studio-project-kind{position:absolute;left:10px;top:10px;z-index:1;display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;background:rgb(12 12 13/74%);color:#fff;font-size:var(--studio-text-xs);font-weight:600}.studio-project-visual>.studio-project-resolution{position:absolute;z-index:2;right:12px;bottom:11px;left:auto;border-radius:4px;background:#101115c7;padding:4px 6px;color:#fff;font-size:var(--studio-text-xs);backdrop-filter:blur(5px)}.studio-project-visual>strong{position:absolute;z-index:1;left:16px;right:16px;bottom:32px;font-size:18px;line-height:1;font-weight:650;letter-spacing:-.035em}.studio-project-visual>small{position:absolute;z-index:1;left:16px;bottom:15px;color:#ffffff9a;font-size:var(--studio-text-xs)}.studio-status{display:inline-flex;max-width:100%;align-items:center;gap:5px;width:fit-content;height:22px;border:1px solid transparent;border-radius:4px;padding:0 7px;background:var(--secondary);color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:600;white-space:nowrap;text-transform:capitalize}.studio-status i{width:4px;height:4px;border-radius:50%;background:currentColor}.studio-status.is-completed{background:rgba(52,211,153,.09);color:var(--success)}.studio-status.is-failed{background:rgba(251,113,133,.09);color:var(--destructive)}.studio-section-heading{display:flex;align-items:end;justify-content:space-between;margin:28px 0 11px}.studio-section-heading h2{margin:0;font-size:20px;font-weight:600}.studio-section-heading p{margin:5px 0 0;color:var(--muted-foreground);font-size:12px}.studio-section-heading button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--muted-foreground);font-size:12px}.studio-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-route-loading-content{display:grid;min-height:calc(100dvh - 58px);place-content:center;justify-items:center;gap:18px}.workspace-list-progress{position:relative;display:flex;min-height:24px;align-items:center;gap:8px;margin:-2px 0 8px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.workspace-list-progress i{width:100%;height:2px;overflow:hidden;border-radius:999px;background:var(--border)}.workspace-list-progress i:after{display:block;width:32%;height:100%;border-radius:inherit;background:var(--brand);animation:workspace-progress 1.1s ease-in-out infinite alternate;content:""}.workspace-list-progress span{white-space:nowrap}.studio-operations-list.is-updating,.studio-project-grid.is-updating{opacity:.58;transition:opacity .16s ease}.workspace-load-more{display:flex;width:max-content;margin:16px auto 0}@keyframes workspace-progress{to{transform:translateX(210%)}}.studio-recent-projects{overflow:hidden;padding:0}.studio-recent-projects>header{display:flex;min-height:62px;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--border)}.studio-recent-projects>header h2{margin:0;font-size:14px;font-weight:650}.studio-recent-projects>header p{margin:4px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-recent-projects>header button{display:flex;gap:4px;font-size:var(--studio-text-xs)}.studio-recent-project-row,.studio-recent-projects>header button{align-items:center;border:0;background:transparent;color:var(--foreground)}.studio-recent-project-row{display:grid;width:100%;min-height:76px;grid-template-columns:86px minmax(0,1fr) minmax(160px,auto) 20px;gap:14px;padding:10px 16px;border-bottom:1px solid var(--border);text-align:left}.studio-recent-project-row:last-child{border-bottom:0}.studio-recent-project-row:hover{background:var(--secondary)}.studio-recent-project-row .studio-project-visual{width:86px;min-height:54px;border-radius:var(--radius-inner)}.studio-recent-project-row .studio-project-kind,.studio-recent-project-row .studio-project-resolution{display:none}.studio-recent-project-row>span:first-of-type{display:grid;min-width:0;gap:5px}.studio-recent-project-row>span:first-of-type small,.studio-recent-project-row>span:first-of-type strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-recent-project-row>span:first-of-type strong{font-size:13px}.studio-recent-project-row>span:first-of-type small,.studio-recent-project-row>span:nth-of-type(2){color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-recent-project-row>span:nth-of-type(2){display:grid;justify-items:end;gap:5px}.studio-recent-project-row>span:nth-of-type(2) b{color:var(--foreground);font-weight:500}.studio-recent-project-row>svg{color:var(--muted-foreground)}@media (prefers-reduced-motion:reduce){.workspace-list-progress i:after{animation:none;width:100%}}.studio-project-grid.is-all{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.studio-project-grid.is-all.is-list{display:grid;grid-template-columns:1fr}.studio-project-card.is-list{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.studio-project-card.is-list .studio-project-open{display:grid;min-width:0;grid-template-columns:180px minmax(0,1fr);align-items:center}.studio-project-card.is-list .studio-project-visual{min-height:102px}.studio-project-card.is-list .studio-project-card-copy{padding:14px 18px}.studio-project-card.is-list>footer>div:first-child{flex:1 1 auto}.studio-project-card.is-list>footer{flex-wrap:nowrap;min-width:370px;padding-right:14px}.studio-project-card{overflow:hidden;padding:0;border:0;border-radius:var(--radius-card);background:var(--muted);color:var(--foreground);text-align:left;transition:background-color .15s ease}.studio-project-card:hover{background:var(--accent)}.studio-project-open{display:block;width:100%;border:0;background:transparent;padding:0;color:inherit;text-align:left}.studio-project-card-copy{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:12px 13px 7px}.studio-project-card-copy div{min-width:0}.studio-project-card-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}.studio-project-card-copy p{margin:5px 0 0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.studio-project-card-copy p,.studio-project-card-copy svg{color:var(--muted-foreground)}.studio-project-card>footer{display:flex;flex-wrap:wrap;min-height:44px;align-items:center;gap:6px 8px;padding:4px 11px 10px 13px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-project-card>footer>div:first-child{display:flex;flex:1 1 100%;min-width:0;align-items:center;gap:8px}.studio-project-card>footer>div:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-project-card>footer>div:first-child span+span:before{margin-right:8px;color:var(--muted-foreground);content:"·"}.studio-project-card>footer b{margin-right:auto;border-radius:3px;padding:3px 5px;background:var(--secondary);color:var(--muted-foreground);font-weight:500;text-transform:capitalize}.studio-project-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto auto;align-items:center;gap:10px;margin-bottom:24px}.project-view-switch{display:flex}.project-view-switch button{display:grid;width:30px;place-items:center}.workspace-undo{position:fixed;z-index:800;right:24px;bottom:24px;display:flex;align-items:center;gap:18px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--popover);padding:8px 10px 8px 14px;box-shadow:var(--shadow-float);color:var(--foreground);font-size:12px}.workspace-undo button{color:var(--brand);font-weight:700}.studio-search{display:flex;width:min(390px,100%);height:var(--control-height);align-items:center;gap:8px;border:1px solid var(--input);border-radius:var(--radius-control);background:var(--field);padding:0 11px;color:var(--muted-foreground);transition:border-color .15s ease,box-shadow .15s ease}.studio-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.studio-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--foreground);font-size:14px}.studio-search input::placeholder{color:var(--muted-foreground)}.studio-project-toolbar .studio-search{width:100%}.studio-project-toolbar>.studio-custom-select{min-width:0}.studio-project-toolbar .studio-subnav{margin:0;justify-self:end}.studio-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.studio-template{overflow:hidden;padding:6px 6px 12px}.studio-template-art{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius-inner)}.studio-template-art>span{position:absolute;left:8px;top:8px;z-index:1;padding:3px 7px;border-radius:4px;background:rgb(10 10 11/72%);color:#fff;font-size:var(--studio-text-xs);font-weight:600}.studio-template-copy{display:grid;gap:2px;min-width:0;margin:10px 8px 0}.studio-template-copy strong{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.studio-template-copy small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-template>p{min-height:36px;margin:6px 8px 0;color:var(--muted-foreground);font-size:12px;line-height:1.5}.studio-template>button{width:calc(100% - 28px);margin:10px 14px 0;font-size:12px}.studio-template-actions{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:6px;margin:10px 8px 0}.studio-template-actions button{width:100%;height:var(--control-height-sm);padding:0 8px;font-size:var(--studio-text-xs)}body:has(.studio-workspace) .editor-popover-content .color-alpha output,body:has(.studio-workspace) .editor-popover-content .color-picker-actions>span,body:has(.studio-workspace) .editor-popover-content :is(.color-hue,.color-alpha)>span{color:var(--muted-foreground)}body:has(.studio-workspace) .editor-popover-content input[type=range]{accent-color:var(--foreground)}body:has(.studio-workspace) .editor-popover-content .color-eyedropper{border-color:transparent;border-radius:var(--radius-control);background:var(--secondary);color:var(--foreground)}body:has(.studio-workspace) .editor-popover-content .color-eyedropper:hover:not(:disabled){background:var(--accent)}.studio-project-empty{display:grid;min-height:220px;margin-top:12px;place-content:center;justify-items:center;text-align:center}.studio-project-empty strong{font-size:15px}.studio-project-empty p{margin:7px 0 0;color:var(--muted-foreground);font-size:12px}.studio-metric{display:flex;min-height:72px;align-items:center;gap:9px;padding:13px;border-right:1px solid var(--border)}.studio-metric:last-child{border-right:0}.studio-metric>span{display:grid;width:29px;height:29px;place-items:center}.studio-metric div{display:grid;gap:3px}.studio-metric small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-metric strong{font-size:18px;font-weight:600}.studio-continue{min-height:0;margin-bottom:16px;padding:12px}.studio-continue>button{height:auto;min-height:240px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:8px;border-radius:0;background:transparent}.studio-continue .studio-project-visual.is-hero{min-height:240px;border-radius:var(--radius-inner);background:var(--secondary)}@media (max-width:760px){.studio-continue>button{grid-template-columns:1fr}.studio-continue .studio-project-visual.is-hero{min-height:190px}}.studio-project-card.is-list .studio-project-resolution{display:none}.studio-media-tabs,.studio-subnav{margin:0 0 20px}.studio-media-tabs button,.studio-subnav button{flex:none;text-transform:capitalize}.studio-operation-filters{display:grid;grid-template-columns:minmax(260px,1fr) 170px 160px;gap:8px;margin-bottom:12px}.studio-operation-filters .studio-search{width:100%}.studio-operation-filters select,.studio-template-fill select{height:44px;border:1px solid transparent;border-radius:var(--radius-control);outline:0;background:var(--field);color:var(--foreground);padding:0 11px;font-size:12px}.studio-operations-list{overflow:hidden}.studio-operations-list>article,.studio-operations-list>header{display:grid;grid-template-columns:minmax(260px,1.35fr) .45fr .65fr .7fr 32px;align-items:center;gap:14px;padding:0 18px}.studio-operations-list>header{height:44px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.studio-operations-list>article,.studio-operations-list>header{border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-operations-list>article{min-height:74px}.studio-operation-open{display:grid;min-width:0;min-height:73px;grid-column:1/5;grid-template-columns:minmax(260px,1.35fr) .45fr .65fr .7fr;align-items:center;gap:14px;border:0;background:transparent;padding:0;color:var(--muted-foreground);text-align:left}.studio-operation-open:hover{background:var(--secondary)}.studio-operation-open:focus-visible{outline:0;background:var(--secondary);box-shadow:inset 3px 0 var(--brand)}.studio-operations-list>article:last-of-type{border-bottom:0}.studio-operations-list article .studio-operation-open>div{min-width:0;padding:11px 0}.studio-operations-list article .studio-operation-open>div>span,.studio-operations-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-operations-list strong{color:var(--foreground);font-size:13px;font-weight:600}.studio-operations-list article .studio-operation-open>div>span{margin-top:4px}.studio-operations-list code{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-operations-list p{margin:7px 0 0;color:var(--destructive);font-size:var(--studio-text-xs);line-height:1.4}.studio-operation-source{width:fit-content;border-radius:4px;background:var(--secondary);padding:4px 7px;color:var(--muted-foreground);text-transform:capitalize}.studio-operations-list time{white-space:nowrap}.studio-operations-list article>.studio-operation-download{display:grid;width:30px;height:30px;place-items:center;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--secondary);color:var(--muted-foreground)}.studio-operations-list article>.studio-operation-download:hover{border-color:var(--border-strong);color:var(--foreground)}.studio-operation-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;background:#050506b8;padding:20px;backdrop-filter:blur(5px)}.studio-operation-detail{width:min(620px,100%);max-height:min(720px,90vh);overflow:hidden;border:1px solid var(--border-strong);border-radius:var(--radius-inner);background:var(--muted);box-shadow:0 26px 80px #000a}.studio-operation-detail>header{display:flex;min-height:66px;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--border)}.studio-operation-detail>header div{display:grid;gap:5px}.studio-operation-detail>header strong{font-size:14px}.studio-operation-detail>header span{color:var(--muted-foreground);font:var(--studio-text-xs) ui-monospace,monospace}.studio-operation-detail>header button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:var(--radius-control);background:transparent;color:var(--muted-foreground)}.studio-operation-detail>header button:hover{background:var(--accent);color:var(--foreground)}.studio-operation-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--secondary)}.studio-operation-metrics span{display:grid;gap:6px;background:var(--secondary);padding:16px;color:var(--muted-foreground);font-size:var(--studio-text-xs);text-transform:uppercase}.studio-operation-metrics b{overflow:hidden;color:var(--foreground);font-size:12px;font-weight:600;text-overflow:ellipsis;text-transform:capitalize}.studio-operation-children{max-height:390px;overflow:auto;padding:6px 18px}.studio-operation-children>div{display:grid;grid-template-columns:70px 90px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--border);font-size:var(--studio-text-xs)}.studio-operation-children b{text-transform:capitalize}.studio-operation-children b[data-status=completed]{color:var(--success)}.studio-operation-children b[data-status=failed],.studio-operation-children b[data-status=invalid]{color:var(--destructive)}.studio-operation-children code{overflow:hidden;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap}.studio-operation-detail>footer{display:flex;min-height:64px;align-items:center;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--border)}.studio-empty-row{padding:34px;color:var(--muted-foreground);text-align:center;font-size:12px}@media (max-width:760px){.studio-subnav{max-width:100%;overflow-x:auto;scrollbar-width:none}.studio-subnav::-webkit-scrollbar{display:none}.studio-subnav button{flex:none}}.studio-operation-filters.has-action{grid-template-columns:minmax(220px,1fr) 170px 160px auto}@media (max-width:760px){.studio-operation-filters.has-action{grid-template-columns:1fr}.studio-workspace .studio-operations-list{overflow:hidden}.studio-workspace .studio-operations-list>header{display:none}.studio-workspace .studio-operations-list>article{min-width:0;grid-template-columns:minmax(0,1fr) 32px;gap:8px;padding:0 12px}.studio-workspace .studio-operation-open{grid-column:1;min-height:0;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:12px 0}.studio-workspace .studio-operation-open>:first-child{grid-column:1/-1}}.studio-media-tabs{display:flex;width:fit-content;margin-bottom:13px}.studio-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.studio-media-card{min-width:0;overflow:hidden}.studio-media-card>div{position:relative;display:grid;height:150px;place-items:center;overflow:hidden;background:var(--secondary)}.studio-media-card>div img,.studio-media-card>div video{width:100%;height:100%;object-fit:cover}.studio-media-card>div>span:not(.studio-media-kind){display:grid;width:54px;height:54px;place-items:center}.studio-media-card>div>.studio-media-kind{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:5px;border-radius:4px;background:rgb(10 10 11/72%);padding:3px 7px;color:#fff;font-size:var(--studio-text-xs);font-weight:600}.studio-media-card>section{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:8px;padding:11px}.studio-media-card section div{min-width:0}.studio-media-card small,.studio-media-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-media-card strong{font-size:12px;font-weight:600}.studio-media-card small{margin-top:4px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-media-card section button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--muted-foreground)}.studio-media-card section button:hover{background:var(--accent);color:var(--destructive)}.workspace-media-error{margin:-8px 0 16px;padding:10px 12px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.workspace-media-error,.workspace-upload-progress{border-radius:var(--radius-inner);background:var(--secondary)}.workspace-upload-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;margin-bottom:18px;padding:9px 11px}.workspace-upload-progress>span{display:flex;min-width:0;justify-content:space-between;gap:10px}.workspace-upload-progress strong{min-width:0;overflow-wrap:anywhere}.workspace-upload-progress small{flex-shrink:0}.workspace-upload-progress i{grid-column:1/-1;height:3px;border-radius:4px;background:var(--secondary);overflow:hidden}.workspace-upload-progress i b{display:block;height:100%;background:var(--primary)}.workspace-upload-progress button{border:0;background:transparent;color:var(--muted-foreground)}.studio-media-card>div>.media-preview-status{position:absolute;right:10px;bottom:10px;left:10px;display:block;width:auto;height:auto;padding:4px 8px;border-radius:4px;background:rgba(12,13,16,.78);color:#fff;font-size:12px;text-align:center}.studio-media-card>div>.media-preview-status.is-failed{color:var(--brand)}.studio-media-upload{display:flex;min-height:204px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;border:0;color:var(--foreground);text-align:center;transition:background-color .15s ease}.studio-media-upload:hover:not(:disabled){background:var(--accent)}.studio-media-upload:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.studio-media-upload>span{display:grid;width:40px;height:40px;margin-bottom:4px;place-items:center;border-radius:var(--radius-inner);background:var(--segment-active)}.studio-media-upload>span svg{width:18px;height:18px}.studio-media-upload strong{font-size:13px;font-weight:600}.studio-media-upload small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-media-drop-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:var(--overlay);backdrop-filter:blur(4px);pointer-events:none;animation:studio-media-drop-in .12s ease-out}.studio-media-drop-overlay>div{display:grid;width:min(420px,100%);justify-items:center;gap:6px;padding:36px 28px;border:2px dashed var(--brand);border-radius:var(--radius-card);background:var(--popover);box-shadow:var(--shadow-float);text-align:center}.studio-media-drop-overlay span{display:grid;width:48px;height:48px;margin-bottom:6px;place-items:center;border-radius:var(--radius-inner);background:var(--brand-soft);color:var(--brand)}.studio-media-drop-overlay strong{font-size:16px;font-weight:650}.studio-media-drop-overlay small{color:var(--muted-foreground);font-size:13px}.studio-media-drop-overlay>.is-blocked{border-color:var(--border-strong)}.studio-media-drop-overlay>.is-blocked span{background:var(--secondary);color:var(--muted-foreground)}@keyframes studio-media-drop-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.studio-media-drop-overlay{animation:none}}.studio-template-create-actions{display:flex;align-items:center;gap:7px}.studio-template-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.studio-template-library-toolbar .studio-search{flex:1;width:auto}.studio-template-library-toolbar>span{color:var(--muted-foreground);font-size:var(--studio-text-xs);white-space:nowrap}.studio-template-empty{display:grid;min-height:250px;place-content:center;justify-items:center;gap:8px;color:var(--muted-foreground);text-align:center}.studio-template-empty strong{color:var(--foreground);font-size:var(--studio-text-sm)}.studio-template-empty span{font-size:var(--studio-text-xs)}.studio-template-workbench{display:grid;gap:12px}.studio-template-step-card{min-width:0;overflow:hidden}.studio-template-step-heading{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:16px 18px;border-bottom:1px solid var(--border)}.studio-template-step-number{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;background:var(--primary);color:var(--primary-foreground);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.studio-template-step-heading>div{display:grid;min-width:0;gap:3px}.studio-template-step-heading strong{color:var(--foreground);font-size:14px;font-weight:650}.studio-template-step-heading p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.45}.studio-template-step-heading>small{color:var(--muted-foreground);font-size:var(--studio-text-xs);white-space:nowrap}.studio-template-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);align-items:center;gap:22px;padding-right:15px}.studio-template-picker>.studio-template-step-heading{border-bottom:0}.studio-template-picker .studio-select{width:100%}.studio-template-fill{display:grid;grid-template-columns:330px minmax(0,1fr);gap:10px;min-height:650px}.studio-template-fill>aside{display:flex;min-width:0;max-height:720px;flex-direction:column;overflow:hidden}.studio-template-fill>aside>div{min-height:0;overflow-y:auto;padding:5px 14px 18px}.studio-template-no-variables{margin:18px 0;color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.5}.studio-template-variable{display:grid;gap:8px;padding:13px 0;border-bottom:1px solid var(--border)}.studio-template-field-error{margin:0;color:var(--destructive);font-size:12px}.studio-template-variable.has-error :is(input,textarea,.studio-template-media-drop){border-color:var(--destructive)}.studio-template-variable>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-template-variable strong{color:var(--foreground);font-size:12px;font-weight:550}.studio-template-variable small{color:var(--muted-foreground);font-size:var(--studio-text-xs);text-transform:uppercase}.studio-template-variable select,.studio-template-variable textarea,.studio-template-variable>input:not([type=checkbox]){width:100%;height:38px;border:1px solid var(--input);border-radius:var(--radius-control);outline:0;background:var(--field);color:var(--foreground);padding:0 12px;font-size:13px}.studio-template-variable textarea:focus,.studio-template-variable>input:not([type=checkbox]):focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.studio-template-variable>input[type=color]{padding:5px}.studio-template-variable textarea{height:76px;padding:10px;resize:vertical;font:var(--studio-text-xs)/1.5 ui-monospace,monospace}.studio-template-variable.is-toggle{grid-template-columns:minmax(0,1fr) auto;align-items:center}.studio-template-variable.is-toggle input{width:18px;height:18px;accent-color:var(--foreground)}.studio-template-variable.is-structured textarea{height:150px}.studio-template-variable.is-invalid textarea{border-color:var(--destructive)}.studio-template-variable.is-invalid small{color:var(--destructive)}.studio-template-media-drop{position:relative;display:grid;min-width:0;min-height:64px;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:10px;overflow:hidden;border:1px dashed var(--border-strong);border-radius:var(--radius-inner);background:var(--secondary);padding:9px 10px;color:var(--muted-foreground);cursor:pointer;transition:border-color .14s,background .14s}.studio-template-media-drop.is-dragging,.studio-template-media-drop:hover{border-color:var(--border-strong);background:var(--secondary)}.studio-template-media-drop.has-media{border-style:solid}.studio-template-media-drop.is-busy{pointer-events:none;opacity:.68}.studio-template-media-thumb{display:grid;width:44px;height:44px;place-items:center;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--muted)}.studio-template-media-thumb img,.studio-template-media-thumb video{display:block;width:100%;height:100%;object-fit:contain}.studio-template-media-copy{display:grid;min-width:0;gap:3px}.studio-template-media-copy small,.studio-template-media-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-template-media-copy small{text-transform:none}.studio-template-media-upload-icon{color:var(--muted-foreground)}.studio-template-media-drop input{position:absolute;inset:0;cursor:pointer;opacity:0}.editor-popover-content.studio-template-select{width:min(440px,calc(100vw - 24px));padding:4px}.studio-template-output{display:flex;min-width:0;flex-direction:column;overflow:hidden}.studio-template-preview{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden;background:transparent;padding:14px 14px 0}.studio-template-preview-stage{position:relative;min-height:390px;flex:1;overflow:hidden;border:0;border-radius:var(--radius-inner);background:var(--tile)}.studio-template-preview-stage iframe{position:absolute;top:50%;left:50%;display:block;border:0;background:transparent;pointer-events:none;transform-origin:center;will-change:transform}.studio-template-preview.is-image{background-color:var(--primary);background-image:linear-gradient(45deg,var(--primary) 25%,transparent 25%),linear-gradient(-45deg,var(--primary) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--primary) 75%),linear-gradient(-45deg,transparent 75%,var(--primary) 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.studio-template-transport{display:grid;min-height:54px;grid-template-columns:34px minmax(100px,1fr) auto;align-items:center;gap:12px}.studio-template-transport button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:999px;background:var(--primary);color:var(--primary-foreground)}.studio-template-transport button:disabled{opacity:.4}.studio-template-transport input{width:100%;accent-color:var(--foreground)}.studio-template-transport output{color:var(--muted-foreground);font:var(--studio-text-xs) ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}.studio-template-preview-empty{display:grid;min-height:480px;flex:1;place-items:center;background:transparent;color:var(--muted-foreground);font-size:12px}.studio-template-output>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-top:1px solid var(--border)}.template-render-summary{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-template-output>footer div{display:flex;gap:7px}.studio-template-output>footer button{height:36px;font-size:var(--studio-text-xs)}.studio-template-curl{max-height:min(440px,55vh);overflow:auto;margin:0;border:0;border-radius:var(--radius-inner);background:var(--muted);padding:18px;color:var(--foreground);font:var(--studio-text-xs)/1.55 ui-monospace,monospace;white-space:pre-wrap}.studio-template-api-dialog{width:min(820px,100%)}.studio-template-curl .is-comment{color:var(--muted-foreground)}.studio-template-curl .is-tag{color:var(--destructive)}.studio-template-curl .is-string{color:var(--success)}.studio-template-curl .is-keyword{color:var(--warning)}.studio-template-curl .is-number{color:var(--brand)}.studio-template-code-tabs{width:fit-content}.studio-template-code-tabs,.studio-template-code-tabs button{display:flex;align-items:center}@media (max-width:760px){.studio-template-create-actions{width:100%}.studio-template-create-actions button{flex:1;min-width:0;justify-content:center;padding-inline:12px;font-size:13px;white-space:nowrap}.studio-template-create-actions button svg{flex-shrink:0}.studio-template-library-toolbar{align-items:stretch;flex-direction:column;padding:0}.studio-template-library-toolbar .studio-search{flex:none;width:100%}.studio-template-picker{padding:0 12px 12px}.studio-template-picker .studio-template-step-heading{margin-inline:-12px}.studio-template-step-heading{grid-template-columns:32px minmax(0,1fr)}.studio-template-step-heading>small{grid-column:2}.studio-template-output>footer div{grid-template-columns:1fr}}.studio-template-variable .color-field-control{min-height:38px;border:1px solid var(--input);border-radius:var(--radius-inner);background:var(--field)}.studio-template-variable .color-field-control input,.studio-template-variable .color-field-hex{color:var(--foreground)}.studio-template-variable .editor-popover-trigger{color:var(--muted-foreground)}.studio-template-variable .editor-toggle{color:var(--foreground)}.studio-template-bulk{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(400px,1.05fr);gap:12px}.studio-template-bulk>section{min-width:0;overflow:hidden}.studio-bulk-drop{display:grid;width:calc(100% - 32px);min-height:126px;margin:16px;place-content:center;justify-items:center;gap:7px;border:1.5px dashed var(--border-strong);border-radius:var(--radius-card);background:transparent;color:var(--muted-foreground);cursor:pointer;transition:border-color .14s,background .14s,color .14s}.studio-bulk-drop.is-dragging,.studio-bulk-drop:hover{border-color:var(--border-strong);background:var(--secondary);color:var(--foreground)}.studio-bulk-drop strong{font-size:13px}.studio-bulk-drop span{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-drop input{display:none}.studio-bulk-examples{display:grid;gap:12px;margin:0 16px 16px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile);padding:14px}.studio-bulk-examples>div:first-child{display:grid;min-width:0;gap:3px}.studio-bulk-examples strong{color:var(--foreground);font-size:13px;font-weight:650}.studio-bulk-examples span{color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.45}.studio-bulk-actions,.studio-bulk-downloads,.studio-bulk-examples>div:last-child{display:flex;align-items:center;gap:7px}.studio-bulk-examples>div:last-child{flex-wrap:wrap}.studio-bulk-examples button{height:34px;white-space:nowrap}.studio-bulk-import>.studio-error{margin:0 16px 16px}.studio-bulk-file{display:flex;align-items:center;justify-content:space-between;margin:0 16px;padding:12px 0;border-top:1px solid var(--border);font-size:var(--studio-text-xs)}.studio-bulk-file span{color:var(--muted-foreground)}.studio-bulk-mapping{margin:0 16px 16px;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-bulk-mapping>header,.studio-bulk-mapping>label{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(160px,1fr);align-items:center;gap:12px;padding:9px 10px;border-bottom:1px solid var(--border-strong)}.studio-bulk-mapping>header{background:var(--muted);color:var(--muted-foreground);font-size:var(--studio-text-xs);font-weight:650;letter-spacing:.04em;text-transform:uppercase}.studio-bulk-mapping>label:last-child{border-bottom:0}.studio-bulk-mapping>label>span{overflow:hidden;color:var(--muted-foreground);font-size:var(--studio-text-xs);text-overflow:ellipsis}.studio-bulk-defaults{margin:0 16px 16px;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-bulk-defaults>summary{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;cursor:pointer;list-style:none}.studio-bulk-defaults>summary::-webkit-details-marker{display:none}.studio-bulk-defaults>summary>span{display:grid;gap:3px}.studio-bulk-defaults>summary strong{color:var(--foreground);font-size:12px}.studio-bulk-defaults>summary small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-defaults>summary svg{color:var(--muted-foreground);transition:transform .14s}.studio-bulk-defaults[open]>summary svg{transform:rotate(180deg)}.studio-bulk-default-list{max-height:430px;overflow-y:auto;border-top:1px solid var(--border);padding:0 13px 8px}.studio-bulk-default-list>.studio-template-variable:last-child{border-bottom:0}.studio-bulk-output{display:flex;min-height:560px;flex-direction:column}.studio-bulk-ready{display:grid;min-height:310px;flex:1;place-content:center;justify-items:center}.studio-bulk-ready strong{font-size:56px;font-weight:500;letter-spacing:-.06em}.studio-bulk-ready span{margin-top:4px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-output>footer{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding:14px 16px;border-top:1px solid var(--border)}.studio-bulk-output>footer>label{display:grid;min-width:112px;gap:6px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-actions button{min-width:0;height:36px;white-space:nowrap}.studio-bulk-progress{padding:18px 16px}.studio-bulk-progress>header{display:flex;align-items:center;justify-content:space-between}.studio-bulk-progress>header div{display:grid;gap:4px}.studio-bulk-progress>header strong{font-size:13px}.studio-bulk-progress>header span{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-progress>header>b{font-size:20px;font-weight:500}.studio-bulk-progress-bar{height:5px;margin:14px 0;overflow:hidden;border-radius:99px;background:var(--secondary)}.studio-bulk-progress-bar i{display:block;height:100%;border-radius:inherit;background:var(--primary);transition:width .2s}.studio-bulk-summary{display:flex;gap:14px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-items{max-height:290px;margin-top:18px;overflow:auto;border-top:1px solid var(--border)}.studio-bulk-items>div{display:grid;grid-template-columns:70px 80px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);font-size:var(--studio-text-xs)}.studio-bulk-items b{text-transform:capitalize}.studio-bulk-items b[data-status=completed]{color:var(--success)}.studio-bulk-items b[data-status=failed],.studio-bulk-items b[data-status=invalid]{color:var(--destructive)}.studio-bulk-items small{overflow:hidden;color:var(--muted-foreground);font-size:var(--studio-text-xs);text-overflow:ellipsis;white-space:nowrap}.studio-bulk-items button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--foreground);font-size:var(--studio-text-xs)}.studio-bulk-correction{margin:0 16px 16px;overflow:hidden;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-bulk-correction>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-bottom:1px solid var(--border)}.studio-bulk-correction>header div{display:grid;gap:3px}.studio-bulk-correction>header strong{font-size:12px}.studio-bulk-correction>header span{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-bulk-correction>header button{border:0;background:transparent;color:var(--brand);font-size:var(--studio-text-xs)}.studio-bulk-correction>div{max-height:360px;overflow-y:auto;padding:0 13px 8px}.studio-bulk-downloads{flex-wrap:wrap;margin:0 16px 16px}.studio-bulk-downloads button{display:inline-flex;height:32px;align-items:center;gap:6px;border:0;border-radius:var(--radius-control);background:var(--secondary);color:var(--foreground);padding:0 12px;font-size:var(--studio-text-xs)}@media (max-width:720px){.studio-bulk-examples,.studio-bulk-output>footer{align-items:stretch;flex-direction:column}.studio-bulk-actions,.studio-bulk-examples>div:last-child{display:grid;grid-template-columns:1fr}.studio-bulk-actions button,.studio-bulk-examples button{justify-content:center}.studio-bulk-mapping>header,.studio-bulk-mapping>label{grid-template-columns:1fr}}.studio-developer,.studio-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-developer-nav{display:inline-flex;max-width:100%;margin:0 0 24px}.studio-developer-locked{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:28px}.studio-developer-locked>span{display:grid;width:50px;height:50px;place-items:center}.studio-developer-locked small,.studio-developer-mcp>small{color:var(--brand);font-size:12px;font-weight:700;letter-spacing:.15em}.studio-developer-locked h2{max-width:740px;margin:7px 0 9px;font-size:23px}.studio-developer-locked p{max-width:790px;margin:0;color:var(--muted-foreground);font-size:13px;line-height:1.6}.studio-developer-locked>div>div{display:flex;align-items:center;gap:16px;margin-top:20px}.studio-developer-locked a{display:flex;align-items:center;gap:5px;color:var(--foreground);font-size:12px}.studio-developer-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.studio-developer-paths article{display:grid;gap:9px;padding:18px;border:0;border-radius:var(--radius-inner);background:var(--tile)}.studio-developer-paths svg{color:var(--muted-foreground)}.studio-developer-paths strong{font-size:13px}.studio-developer-paths span{color:var(--muted-foreground);font-size:12px;line-height:1.5}.studio-developer-mcp{grid-column:1/-1;padding:24px}.studio-developer-mcp>svg{margin-bottom:18px;color:var(--muted-foreground)}.studio-developer-mcp h2{max-width:700px;font-size:24px}.studio-developer-mcp p{max-width:800px;line-height:1.6}.studio-developer-mcp ol{display:grid;gap:8px;margin:20px 0;padding-left:20px;color:var(--foreground);font-size:13px}.studio-billing,.studio-developer>section,.studio-settings-card{min-width:0;padding:18px}.studio-developer small{color:var(--muted-foreground);font-size:var(--studio-text-xs);letter-spacing:.1em}.studio-developer h2,.studio-settings h2{margin:6px 0 0;font-size:14px;font-weight:600}.studio-developer section>div{display:flex;align-items:center;justify-content:space-between;margin-top:16px;border:1px solid transparent;border-radius:var(--radius-inner);padding:9px;background:var(--tile)}.studio-developer button{border:0;background:transparent;color:var(--muted-foreground)}.studio-developer p{color:var(--muted-foreground);font-size:12px}.studio-developer pre{overflow:auto;border-radius:var(--radius-inner);padding:13px;background:var(--muted);color:var(--foreground);font-size:12px}.studio-developer a{display:flex;align-items:center;gap:5px;color:var(--brand);font-size:12px}.studio-developer-keys>header{display:flex;align-items:center;justify-content:space-between}.studio-developer-keys>.studio-key-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:16px;border:0;background:transparent;padding:0;align-items:center}.studio-key-create p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-key-scope-list{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;list-style:none}.studio-key-scope-list li{border-radius:999px;background:var(--secondary);padding:3px 9px;color:var(--foreground);font-size:12px}.studio-key-create .studio-primary-button{height:38px;padding:0 13px;color:var(--primary-foreground);background:var(--primary)}.studio-developer-keys>.studio-key-secret{display:grid;gap:8px;margin-top:12px;border:0;background:var(--tile)}.studio-key-secret>span{color:var(--foreground);font-size:var(--studio-text-xs)}.studio-key-secret>div{display:flex;min-width:0;align-items:center;gap:8px}.studio-key-secret code{min-width:0;flex:1;overflow:hidden;color:var(--foreground);font-size:var(--studio-text-xs);text-overflow:ellipsis}.studio-key-list button,.studio-key-secret button{display:grid;width:30px;height:30px;place-items:center;border-radius:var(--radius-control)}.studio-key-list button:hover,.studio-key-secret button:hover{background:var(--border);color:var(--foreground)}.studio-developer-keys>.studio-key-list{display:block;margin-top:14px;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;padding:0}.studio-key-list article{display:flex;min-height:58px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.studio-key-actions{display:flex;align-items:center;gap:4px}.studio-key-actions>button:first-child{width:auto;padding:0 8px;font-size:12px}.studio-developer-resources,.studio-webhooks{grid-column:1/-1}.studio-developer-resources>header{display:flex;align-items:center;gap:10px}.studio-developer-resources>header h2{margin-top:2px}.studio-developer-resources>.studio-developer-resource-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);align-items:stretch;gap:10px;border:0;background:transparent;padding:0}.studio-developer-resource-grid article{min-width:0;padding:14px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-developer-resource-grid article>strong{font-size:var(--studio-text-sm)}.studio-developer-resource-grid article>a{display:flex;align-items:center;gap:5px;width:max-content;margin-top:10px;color:var(--foreground);font-size:var(--studio-text-sm)}.studio-developer-resource-grid pre{max-height:132px;white-space:pre-wrap}.studio-webhook-create{display:grid!important;grid-template-columns:180px minmax(220px,1fr) auto;gap:8px;border:0!important;background:transparent!important;padding:0!important}.studio-webhook-create input{min-width:0;height:38px;border:1px solid transparent;border-radius:var(--radius-control);outline:0;background:var(--field);color:var(--foreground);padding:0 11px}.studio-webhook-create .studio-primary-button{height:38px;padding:0 13px;background:var(--primary);color:var(--primary-foreground)}.studio-webhook-list{display:grid!important;gap:0;border:0!important;border-top:1px solid var(--border)!important;border-radius:0!important;background:transparent!important;padding:0!important}.studio-webhook-list>article{border-bottom:1px solid var(--border);padding:10px 0}.studio-webhook-row{display:flex;align-items:center;gap:8px}.studio-webhook-name{display:grid;min-width:0;flex:1;gap:4px;text-align:left}.studio-webhook-name strong{color:var(--foreground);font-size:12px}.studio-webhook-name span{overflow:hidden;color:var(--muted-foreground);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.studio-webhook-row>label{display:flex;align-items:center;gap:5px;color:var(--muted-foreground);font-size:12px}.studio-webhook-row>button:not(.studio-webhook-name){display:grid;width:30px;height:30px;place-items:center;border-radius:var(--radius-control)}.studio-webhook-row>button:hover{background:var(--border);color:var(--foreground)}.studio-webhook-deliveries{display:grid!important;gap:5px;margin:9px 0 0 20px!important;border:0!important;background:transparent!important;padding:0!important}.studio-webhook-deliveries>div{display:flex;align-items:center;gap:8px;min-height:28px;color:var(--muted-foreground);font-size:12px}.studio-webhook-deliveries>div>span:first-child{min-width:72px;color:var(--foreground)}.studio-webhook-deliveries .is-delivered{color:var(--success)}.studio-webhook-deliveries .is-dead-letter{color:var(--destructive)}.studio-webhook-deliveries button{display:flex;align-items:center;gap:4px;margin-left:auto}.studio-key-list article>div{gap:5px}.studio-key-list strong{font-size:12px}.studio-key-list span{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-key-list>p{padding:12px 0}.studio-developer-quickstart>p{line-height:1.55}.studio-developer-quickstart>a{display:flex;align-items:center;gap:5px;width:max-content;margin-top:10px;color:var(--foreground);font-size:12px}.studio-developer-quickstart>a:hover{color:var(--foreground)}.studio-settings-card{display:grid;gap:13px}.studio-settings-card>header{display:flex;align-items:flex-start;gap:10px}.studio-settings-card>header>span{display:grid;place-items:center;width:31px;height:31px;flex:0 0 auto}.studio-settings-card>header h2{margin:0}.studio-settings-card>header p{margin:4px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-sm);line-height:1.45}.settings-save{justify-self:start}.settings-security-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:30px;border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:var(--studio-text-sm)}.settings-security-row strong{display:inline-flex;align-items:center;gap:5px;color:var(--foreground);font-weight:600}.studio-settings-card>small{color:var(--muted-foreground);line-height:1.45}.settings-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-metrics>div{padding:11px;border-radius:var(--radius-inner);background:var(--secondary)}.settings-metrics small,.settings-metrics strong{display:block}.settings-metrics small{color:var(--muted-foreground)}.settings-metrics strong{margin-top:5px;font-size:var(--studio-text-lg)}.settings-retention{display:grid;gap:4px;padding-top:2px}.settings-retention span{color:var(--muted-foreground);font-size:var(--studio-text-sm);line-height:1.5}.studio-legacy-plans{grid-column:1/-1;align-items:flex-start}.studio-legacy-plans>div{min-width:0;width:100%}.studio-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.studio-plan-grid article{min-width:0;padding:15px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-plan-grid article.is-current{border-color:var(--brand);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 28%,transparent)}.studio-plan-grid header{display:flex;align-items:center;justify-content:space-between;gap:8px}.studio-plan-grid header span{padding:3px 7px;border-radius:4px;background:color-mix(in srgb,var(--brand) 15%,transparent);color:var(--brand);font-size:var(--studio-text-xs)}.studio-plan-grid b,.studio-plan-grid small{display:block;margin-top:8px}.studio-plan-grid ul{margin:12px 0 0;padding-left:17px;color:var(--muted-foreground)}.studio-plan-grid li+li{margin-top:4px}@media (max-width:820px){.studio-plan-grid{grid-template-columns:1fr}}.studio-billing-v2{grid-column:1/-1;padding:20px}.studio-billing-heading{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:start}.studio-billing-heading>span{display:grid;width:34px;height:34px;place-items:center}.studio-billing-heading h2{margin:1px 0 4px}.studio-billing-heading p{margin:0;color:var(--muted-foreground);font-size:var(--studio-text-sm)}.studio-billing-heading>button{align-self:center}.studio-billing-heading-actions{display:flex;flex-wrap:wrap;align-self:center;justify-content:flex-end;gap:8px}.studio-billing-heading-actions .studio-secondary-button{display:inline-flex;align-items:center;gap:6px}.studio-billing-heading-actions .studio-billing-cancel{color:var(--muted-foreground)}.studio-billing-heading-actions .studio-billing-cancel:hover:not(:disabled){color:var(--foreground)}.studio-free-creation{display:grid;grid-template-columns:160px 1fr;gap:14px;margin-top:18px;padding:14px 15px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-free-creation strong{color:var(--foreground);font-size:var(--studio-text-sm)}.studio-free-creation span{color:var(--muted-foreground);font-size:var(--studio-text-sm);line-height:1.55}.studio-trial-status{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:16px;padding:15px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--secondary)}.studio-trial-status>span{display:grid;width:34px;height:34px;place-items:center}.studio-trial-status strong{color:var(--foreground);font-size:var(--studio-text-sm)}.studio-trial-status p{margin:4px 0 0;color:var(--foreground);font-size:var(--studio-text-xs);line-height:1.5}.studio-trial-actions{display:flex;flex-direction:column;gap:8px}.studio-trial-note{display:block;margin:10px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.45;text-align:center}.studio-plan-grid-v2 article>.studio-plan-direct{width:auto;margin:8px auto 0;padding:3px;background:transparent;color:var(--muted-foreground);font-size:var(--studio-text-xs);text-decoration:underline;text-underline-offset:3px}.studio-billing-toolbar{display:inline-flex;margin-top:18px}.studio-billing-toolbar button{cursor:pointer}.studio-billing-toolbar small{margin-left:4px;font-size:var(--studio-text-xs);opacity:.7}.studio-plan-grid-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.studio-plan-grid-v2 article{display:flex;min-height:390px;flex-direction:column;padding:17px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-plan-grid-v2 article.is-featured{border-color:var(--brand-line)}.studio-plan-grid-v2 article.is-current{box-shadow:inset 0 0 0 1px rgba(255,148,31,.65)}.studio-plan-grid-v2 article>header{display:flex;justify-content:space-between;gap:10px}.studio-plan-grid-v2 article>header>div{display:grid;gap:6px}.studio-plan-grid-v2 article>header strong{color:var(--foreground);font-size:16px}.studio-plan-grid-v2 article>header small{min-height:48px;color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.5}.studio-plan-grid-v2 article>header>span{align-self:start;white-space:nowrap;padding:4px 7px;border-radius:4px;background:var(--secondary);color:var(--foreground);font-size:var(--studio-text-xs)}.studio-plan-price{display:flex;align-items:baseline;gap:5px;margin-top:24px}.studio-plan-price b{color:var(--foreground);font-size:31px;letter-spacing:-.04em}.studio-plan-billing-note,.studio-plan-price span{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-plan-grid-v2 ul{display:grid;gap:10px;margin:20px 0;padding:18px 0 0;border-top:1px solid var(--border);list-style:none}.studio-plan-grid-v2 li{display:flex;gap:8px;color:var(--foreground);font-size:var(--studio-text-sm)}.studio-plan-grid-v2 li svg{flex:none;margin-top:2px;color:var(--foreground)}.studio-plan-grid-v2 article>button{width:100%;margin-top:auto}.studio-plan-grid-v2 article.is-selected{border-color:var(--brand)}.studio-billing-config{margin:12px 0 0;padding:10px 12px;border-radius:var(--radius-inner);background:var(--secondary);color:var(--brand);font-size:var(--studio-text-sm)}.studio-topup{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-top:14px;padding:15px;border:1px solid transparent;border-radius:var(--radius-inner);background:var(--tile)}.studio-topup>div:first-child{display:flex;gap:11px}.studio-topup>div:first-child>span{display:grid;width:34px;height:34px;flex:none;place-items:center}.studio-topup strong{color:var(--foreground);font-size:var(--studio-text-sm)}.studio-topup p{max-width:680px;margin:4px 0 0;color:var(--muted-foreground);font-size:var(--studio-text-xs);line-height:1.5}.studio-topup-action{display:flex;align-items:end;gap:8px}.studio-topup-action label{display:grid;gap:4px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-topup-action input{width:68px;height:36px;border:1px solid transparent;border-radius:var(--radius-control);background:var(--field);color:var(--foreground);padding:0 9px}.studio-billing-footer{display:flex;flex-wrap:wrap;gap:18px;margin-top:15px;color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-billing-footer a{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--foreground)}@media (max-width:980px){.studio-plan-grid-v2{grid-template-columns:1fr}.studio-plan-grid-v2 article{min-height:0;background:var(--tile)}}@media (max-width:680px){.studio-billing-heading{grid-template-columns:34px 1fr}.studio-billing-heading-actions,.studio-billing-heading>button{grid-column:1/-1}.studio-billing-heading-actions{justify-content:stretch}.studio-billing-heading-actions>button{flex:1 1 160px;justify-content:center;white-space:nowrap}.studio-free-creation,.studio-topup,.studio-trial-status{grid-template-columns:1fr}.studio-topup-action{align-items:stretch;flex-direction:column}.studio-topup-action input{width:100%}}@media (max-width:820px){.studio-developer,.studio-developer-paths,.studio-developer-resources>.studio-developer-resource-grid,.studio-webhook-create{grid-template-columns:1fr}}@media (max-width:640px){.studio-developer>section{padding:16px}.studio-developer-keys>.studio-key-create{grid-template-columns:1fr}.studio-key-create .studio-primary-button{width:100%}.studio-key-list article{gap:8px}.studio-key-list article>div:first-child{min-width:0;flex:1}.studio-key-list span,.studio-key-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.studio-billing{grid-column:1/-1;display:flex;gap:12px}.studio-billing>svg{color:var(--foreground)}.studio-billing p{color:var(--muted-foreground);font-size:12px}.studio-billing div>i{display:block;height:5px;margin:14px 0 7px;border-radius:var(--radius-inner);background:var(--secondary)}.studio-billing div>i span{display:block;width:42%;height:100%;border-radius:inherit;background:var(--secondary)}.studio-billing small{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-developer{grid-template-columns:minmax(0,1fr);gap:12px}.studio-developer>section{grid-column:1;padding:22px}.studio-developer-keys>header{align-items:flex-start;gap:18px}.studio-developer-keys>header p{max-width:560px;margin:7px 0 0;line-height:1.5}.studio-developer-keys>header>span{flex:none;border-radius:4px;padding:5px 9px;background:var(--secondary);color:var(--foreground);font-size:var(--studio-text-xs)}.studio-developer-keys>.studio-key-create{max-width:720px;margin-top:20px}.studio-developer-keys>.studio-key-list{margin-top:18px}.studio-developer-keys>.workspace-list-progress+.studio-key-list{margin-top:0}.studio-key-list.is-expanded{max-height:430px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#42444c transparent}.studio-key-list article{display:grid;min-height:66px;grid-template-columns:34px minmax(0,1fr) 34px;gap:12px;justify-content:normal}.studio-key-icon{display:grid;width:32px;height:32px;place-items:center}.studio-key-list article>div{display:grid;min-width:0;gap:6px}.studio-key-list article>div>span{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:7px}.studio-key-list article>div>span code{color:var(--muted-foreground);font-size:var(--studio-text-xs)}.studio-key-list article>div>span i{display:inline-flex;align-items:center;gap:5px;font-style:normal}.studio-key-list article>div>span i:before{width:3px;height:3px;border-radius:50%;background:var(--secondary);content:""}.studio-key-list .studio-key-manage{display:grid;width:32px;height:32px;place-items:center;border-radius:var(--radius-inner)}.studio-key-expand{display:block;width:100%;min-height:36px;margin-top:8px;border-radius:var(--radius-inner)!important;color:var(--foreground)!important;font-size:var(--studio-text-xs)}.studio-key-expand:hover{background:var(--secondary)!important}.studio-key-manage-panel{display:grid;gap:18px}.studio-key-manage-panel dl{display:grid;gap:0;margin:0}.studio-key-manage-panel dl>div{display:flex;min-height:40px;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border)}.studio-key-manage-panel dt{color:var(--muted-foreground);font-size:var(--studio-text-sm)}.studio-key-manage-panel dd{margin:0;color:var(--foreground);font-size:var(--studio-text-sm)}.studio-key-manage-panel>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-key-manage-panel>div button{justify-content:center}.studio-developer-quickstart>pre{margin-top:14px}@media (max-width:640px){.studio-key-manage-panel>div{grid-template-columns:1fr}}.studio-workspace-content>.studio-free-creation{background:var(--muted);margin-bottom:12px}