.wallet-route-active>.body{padding:0 0 calc(var(--safe-bottom) + 104px)}.wallet-nested-active>.body{padding:0}.wallet-c,.wallet-c-backdrop{--wc-bg:#0c0d0e;--wc-surface:#121416;--wc-card:#16181a;--wc-ledger:#131517;--wc-raised:#232527;--wc-menu:#1c1e20;--wc-line:#ffffff10;--wc-line-strong:#ffffff18;--wc-ink:#f3f4f5;--wc-muted:#9a9da2;--wc-faint:#72777b;--wc-lime:#d1fe17;--wc-accent-ink:#d1fe17;--wc-on-lime:#111408;--wc-warn:#e3ba7f;--wc-red:#ff8689;--wc-mono:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--wc-ink);-webkit-font-smoothing:antialiased;font:14px Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}:root[data-theme=light] .wallet-c,:root[data-theme=light] .wallet-c-backdrop{--wc-bg:var(--ground);--wc-surface:var(--surface);--wc-card:var(--surface-2);--wc-ledger:var(--surface);--wc-raised:var(--surface-3);--wc-menu:var(--aib-menu-panel);--wc-line:var(--hair);--wc-line-strong:var(--hair-strong);--wc-ink:var(--ink);--wc-muted:var(--ink-dim);--wc-faint:var(--ink-faint);--wc-accent-ink:var(--accent-ink);--wc-warn:var(--amber);--wc-red:var(--bad)}.wallet-c{width:100%;min-width:0;min-height:100%;padding:16px calc(16px + var(--safe-right)) 22px calc(16px + var(--safe-left));background:var(--wc-bg)}.wallet-c *,.wallet-c :before,.wallet-c :after,.wallet-c-backdrop *{box-sizing:border-box}.wallet-c h1,.wallet-c h2,.wallet-c h3,.wallet-c p,.wallet-c dl,.wallet-c dd{margin:0}.wallet-c button,.wallet-c input,.wallet-c-backdrop button{touch-action:manipulation;font-family:inherit}.wallet-c button:disabled,.wallet-c input:disabled{cursor:default;opacity:.42}.wallet-c svg,.wallet-c-backdrop svg{flex-shrink:0;display:block}.wallet-c button:active:not(:disabled){background-color:#ffffff0a}.wallet-c button.wallet-c-primary:active{background:#bfdc19}.wallet-c .sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.wallet-c-balance{justify-content:space-between;align-items:center;gap:12px;margin:5px 1px 20px;display:flex}.wallet-c-balance>div{min-width:0}.wallet-c-balance>div>small{font:10px var(--wc-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--wc-muted);display:block}.wallet-c-balance strong{letter-spacing:-1.1px;font-variant-numeric:tabular-nums;margin-top:5px;font-size:32px;font-weight:550;line-height:1.15;display:block}.wallet-c-balance strong i,.wallet-c-payment-state strong i,.wallet-c-debit strong i{color:var(--wc-accent-ink);vertical-align:baseline;margin-left:4px;font-size:.58em;font-style:normal;font-weight:400}.wallet-c-balance>button{min-height:38px;color:var(--wc-muted);text-align:right;white-space:nowrap;grid-template-columns:auto 14px;place-items:center end;gap:4px 6px;font-size:11px;display:grid}.wallet-c-balance>button>small{grid-column:1/-1;font-size:11px}.wallet-c-balance>button>b{color:var(--wc-warn);font:500 12px var(--wc-mono);grid-column:1}.wallet-c-balance>button>svg{grid-column:2;width:13px;height:13px}.wallet-c-held-inline{color:var(--wc-warn);align-items:center;gap:5px;margin-top:8px;font-size:11px;display:flex}.wallet-c-held-inline svg{width:13px;height:13px}.wallet-c-purchase{border:1px solid var(--wc-line);background:var(--wc-card);border-radius:15px;padding:16px 14px 14px}.wallet-c-purchase>h2{color:var(--wc-ink);opacity:.81;margin:0 0 13px;font-size:12px;font-weight:500}.wallet-c-quantity-label{color:var(--wc-muted);justify-content:space-between;align-items:center;gap:8px;min-height:14.5px;margin-bottom:10px;font-size:11px;display:flex}.wallet-c-quantity-label small{font-size:10px;line-height:1.45}.wallet-c-stepper{background:var(--wc-raised);border:1px solid var(--wc-line);border-radius:12px;grid-template-columns:48px minmax(0,1fr) 48px;height:58px;display:grid;overflow:hidden}.wallet-c-stepper>button{place-items:center;font-size:24px;font-weight:300;display:grid}.wallet-c-stepper>button:first-child{border-right:1px solid var(--wc-line)}.wallet-c-stepper>button:last-child{border-left:1px solid var(--wc-line)}.wallet-c-stepper label{justify-content:center;align-items:center;gap:4px;min-width:0;padding:0 5px;display:flex}.wallet-c-stepper input{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-.6px;width:100%;min-width:0;max-width:105px;color:var(--wc-ink);background:0 0;border:0;outline:0;padding:5px 0;font-weight:500;font-size:27px!important}.wallet-c-stepper label small{color:var(--wc-accent-ink);font-size:16px}.wallet-c-range{padding:10px 1px 0;display:block}.wallet-c-range input{appearance:none;touch-action:pan-y;cursor:pointer;background:0 0;width:100%;height:32px;margin:0;display:block}.wallet-c-range input::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--wc-lime) 0 var(--wallet-range-fill),#3a3e42 var(--wallet-range-fill) 100%);border-radius:4px;height:3px}.wallet-c-range input::-webkit-slider-thumb{appearance:none;background:var(--wc-lime);border:0;border-radius:50%;width:18px;height:18px;margin-top:-7.5px;box-shadow:0 0 0 4px #d1fe170b}.wallet-c-range input::-moz-range-track{background:#3a3e42;border-radius:4px;height:3px}.wallet-c-range input::-moz-range-progress{background:var(--wc-lime);height:3px}.wallet-c-range input::-moz-range-thumb{background:var(--wc-lime);border:0;border-radius:50%;width:18px;height:18px}.wallet-c-range>span:last-child{font:9px var(--wc-mono);color:var(--wc-muted);justify-content:space-between;min-height:11px;margin:3px 0 12px;line-height:11px;display:flex}.wallet-c-range small{font:inherit}.wallet-c-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0;display:grid}.wallet-c-presets button{border:1px solid var(--wc-line);background:var(--wc-menu);min-width:0;min-height:57px;color:var(--wc-muted);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.wallet-c-presets b{font:500 13px var(--wc-mono);color:var(--wc-ink);white-space:nowrap}.wallet-c-presets small{white-space:nowrap;font-size:9px}.wallet-c-presets button.is-active{background:color-mix(in srgb,var(--wc-lime) 6%,var(--wc-menu));border-color:#d1fe1745}.wallet-c-presets button.is-active b{color:var(--wc-accent-ink)}.wallet-c-purchase-loading .ui-skeleton{max-width:100%;display:block}.wallet-c-primary,.wallet-c-secondary{border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;padding:12px 13px;font-size:13px;font-weight:550;line-height:1.3;display:flex}.wallet-c-primary{background:var(--wc-lime);color:var(--wc-on-lime);border:1px solid #0000}.wallet-c-secondary{background:var(--wc-raised);color:var(--wc-ink);border:1px solid var(--wc-line)}.wallet-c-text-button,.wallet-c-link{min-height:38px;color:var(--wc-muted);align-items:center;gap:5px;padding:4px 0;font-size:12px;display:inline-flex}.wallet-c-link svg{width:13px;height:13px}.wallet-c-recent{margin-top:20px}.wallet-c-recent>header{justify-content:space-between;align-items:center;gap:9px;min-height:44px;margin:0 0 8px;display:flex}.wallet-c-recent h2{color:var(--wc-ink);opacity:.8;font-size:12px;font-weight:500}.wallet-c-recent header button{min-width:44px;min-height:44px;color:var(--wc-muted);justify-content:flex-end;align-items:center;gap:5px;padding:4px 0;font-size:11px;display:inline-flex}.wallet-c-ledger{border:1px solid var(--wc-line);background:var(--wc-ledger);border-radius:13px;overflow:hidden}.wallet-c-row{text-align:left;border-bottom:1px solid var(--wc-line);align-items:center;gap:10px;width:100%;min-height:69px;padding:11px 12px;display:flex}.wallet-c-row:last-child{border-bottom:0}.wallet-c-row-thumb{background:var(--wc-raised);width:38px;height:42px;color:var(--wc-muted);border-radius:8px;flex:0 0 38px;place-items:center;display:grid;overflow:hidden}.wallet-c-row-thumb img{object-fit:cover;width:100%;height:100%}.wallet-c-row-thumb svg{width:17px;height:17px}.wallet-c-row-thumb.is-success{color:var(--wc-accent-ink)}.wallet-c-row-thumb.is-wait{color:var(--wc-warn)}.wallet-c-row-copy{flex:1;min-width:0}.wallet-c-row-copy b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:1.4;display:block;overflow:hidden}.wallet-c-row-copy small{color:var(--wc-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:10px;line-height:1.45;display:block;overflow:hidden}.wallet-c-row-side{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:5px;display:flex}.wallet-c-row-side b{font:500 13px var(--wc-mono);color:var(--wc-ink);white-space:nowrap}.wallet-c-row-side b.is-positive{color:var(--wc-accent-ink)}.wallet-c-row-side b.is-not-booked{color:var(--wc-muted);font-size:12px}.wallet-c-row-side small{color:var(--wc-muted);font-size:9px}.wallet-c-row-side small:empty{display:none}.wallet-c-row-side small.is-wait{color:var(--wc-warn)}.wallet-c-row>svg{width:12px;height:12px;color:var(--wc-faint)}.wallet-c-notice{border:1px solid var(--wc-line);color:var(--wc-muted);border-radius:11px;align-items:flex-start;gap:10px;margin:12px 0;padding:11px 12px;font-size:11px;line-height:1.5;display:flex}.wallet-c-notice>svg{flex-shrink:0;width:16px;height:16px;margin-top:1px}.wallet-c-notice>span{flex:1;min-width:0}.wallet-c-notice b{color:var(--wc-ink);font-size:11px;font-weight:500;display:block}.wallet-c-notice small{margin-top:3px;font-size:11px;display:block}.wallet-c-notice button{color:var(--wc-accent-ink);text-align:left;padding:4px 0;font-size:11px}.wallet-c-notice.is-warning>svg{color:var(--wc-warn)}.wallet-c-notice.is-error>svg{color:var(--wc-red)}.wallet-c-error{color:var(--wc-red);padding:2px 0 3px;font-size:11px;line-height:1.5}.wallet-c-muted{color:var(--wc-muted);font-size:10px;line-height:1.5;margin:8px 0 3px!important}.wallet-c-inline-back{min-height:34px;color:var(--wc-ink);align-items:center;gap:4px;margin:0 0 12px;font-size:13px;display:flex}.wallet-c-title{justify-content:space-between;align-items:center;gap:12px;min-height:34px;margin:0 0 14px;display:flex}.wallet-c-title h1{letter-spacing:-.15px;font-size:15px;font-weight:550}.wallet-c-search{background:var(--wc-surface);border:1px solid var(--wc-line);border-radius:11px;align-items:center;gap:8px;min-height:42px;margin-bottom:12px;padding:0 11px;display:flex}.wallet-c-search>svg{color:var(--wc-muted);width:16px;height:16px}.wallet-c-search input{width:100%;min-width:0;color:var(--wc-ink);background:0 0;border:0;outline:none;height:42px;font-size:16px}.wallet-c-search input::placeholder{color:var(--wc-muted);font-size:12px}.wallet-c-search button{flex-shrink:0;place-items:center;width:30px;height:36px;padding:0;display:grid}.wallet-c-search button svg{width:13px;height:13px}.wallet-c-day h3{color:var(--wc-muted);margin:18px 2px 8px;font-size:10px;font-weight:400}.wallet-c-history-end{color:var(--wc-faint);text-align:center;padding-top:12px;font-size:10px;line-height:1.5}.wallet-c-sentinel{height:1px}.wallet-c-loading{min-height:48px;color:var(--wc-muted);justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.wallet-c-loading>span,.wallet-c-spinner{border:1.5px solid var(--wc-line-strong);border-top-color:var(--wc-lime);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite wallet-c-spin;display:block}.wallet-c-empty{text-align:center;color:var(--wc-muted);padding:28px 16px;font-size:11px;line-height:1.65}.wallet-c-empty b{color:var(--wc-ink);margin-bottom:6px;font-size:13px;font-weight:500;display:block}.wallet-c-empty span{display:block}.wallet-c-summary{border-bottom:1px solid var(--wc-line);color:var(--wc-muted);justify-content:space-between;align-items:center;padding:13px 0 16px;font-size:13px;display:flex}.wallet-c-summary b,.wallet-c-summary strong{font:500 19px var(--wc-mono);color:var(--wc-ink)}.wallet-c-summary>span:first-child b{font:inherit;color:inherit}.wallet-c-receipt{border-top:1px solid var(--wc-line);margin-top:12px;padding-top:15px}.wallet-c-receipt h2{color:var(--wc-ink);font-size:12px;font-weight:400}.wallet-c-segment{background:var(--wc-surface);border:1px solid var(--wc-line);border-radius:11px;gap:3px;margin:9px 0 10px;padding:4px;display:flex}.wallet-c-segment button{min-height:37px;color:var(--wc-muted);border-radius:8px;flex:1;min-width:0;padding:5px;font-size:11px}.wallet-c-segment button[aria-pressed=true]{background:var(--wc-raised);color:var(--wc-ink)}.wallet-c-email{margin-top:13px;display:block}.wallet-c-email>span{color:var(--wc-ink);margin-bottom:7px;font-size:11px;display:block}.wallet-c-email input{background:var(--wc-surface);border:1px solid var(--wc-line-strong);width:100%;min-height:45px;color:var(--wc-ink);border-radius:10px;outline:none;padding:11px 12px;font-size:16px}.wallet-c-email input[aria-invalid=true]{border-color:#ff676985}.wallet-c-email small{color:var(--wc-muted);margin-top:6px;font-size:10px;line-height:1.5;display:block}.wallet-c-email small.wallet-c-error{color:var(--wc-red)}.wallet-c-screen-checkout{height:100%;min-height:0;padding:0}.wallet-c-screen-checkout .wallet-c-nested{flex-direction:column;height:100%;min-height:0;display:flex}.wallet-c-screen-checkout .wallet-c-scroll{min-height:0;padding:16px calc(16px + var(--safe-right)) 22px calc(16px + var(--safe-left));overscroll-behavior:contain;flex:1;overflow:auto}.wallet-c-dock{padding:10px calc(16px + var(--safe-right)) max(13px,var(--safe-bottom)) calc(16px + var(--safe-left));border-top:1px solid var(--wc-line);background:var(--wc-bg);flex-shrink:0}.wallet-c-dock>small{text-align:center;color:var(--wc-faint);margin-top:9px;font-size:10px;display:block}.wallet-c-dock-actions{background:0 0;border:0;flex-direction:column;gap:8px;margin-top:20px;padding:0;display:flex}.wallet-c-payment-state,.wallet-c-debit{padding:13px 0 7px}.wallet-c-payment-icon,.wallet-c-debit-thumb{background:var(--wc-raised);width:42px;height:42px;color:var(--wc-muted);border-radius:12px;place-items:center;margin-bottom:16px;display:grid;overflow:hidden}.wallet-c-payment-icon svg,.wallet-c-debit-thumb svg{width:22px;height:22px}.wallet-c-payment-state.is-succeeded .wallet-c-payment-icon{color:var(--wc-accent-ink);background:#d1fe1710}.wallet-c-payment-state.is-pending .wallet-c-payment-icon,.wallet-c-payment-state.is-unknown .wallet-c-payment-icon,.wallet-c-payment-state.is-expired .wallet-c-payment-icon{color:var(--wc-warn);background:#e3ba7f10}.wallet-c-payment-state h2,.wallet-c-debit h2{margin-bottom:7px;font-size:16px;font-weight:550;line-height:1.4}.wallet-c-payment-state p,.wallet-c-debit p{color:var(--wc-muted);font-size:12px;line-height:1.65}.wallet-c-payment-state strong,.wallet-c-debit strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:11px 0 7px;font-size:32px;font-weight:500;line-height:1.3;display:block}.wallet-c-payment-state.is-succeeded strong{color:var(--wc-accent-ink)}.wallet-c-facts{border-top:1px solid var(--wc-line);margin-top:20px!important}.wallet-c-facts>div,.wallet-c-now{border-bottom:1px solid var(--wc-line);color:var(--wc-muted);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:11px;display:flex}.wallet-c-facts dd,.wallet-c-now b{color:var(--wc-ink);font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;max-width:66%;font-weight:500}.wallet-c-backdrop{inset:0;top:var(--app-visible-top,0px);height:var(--vh);box-sizing:border-box;z-index:120;padding:max(10px,var(--safe-top)) max(10px,var(--safe-right)) max(10px,var(--safe-bottom)) max(10px,var(--safe-left));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0008;justify-content:center;align-items:flex-end;display:flex;position:fixed;bottom:auto}.wallet-c-sheet{background:var(--wc-menu);border:1px solid var(--wc-line);border-radius:16px;outline:0;flex-direction:column;width:100%;max-height:100%;padding:0 14px 14px;display:flex;overflow:auto;box-shadow:0 15px 55px #0008}.wallet-c-sheet>header{flex-shrink:0;align-items:center;gap:9px;padding:12px 0 7px;display:flex}.wallet-c-sheet h2{flex:1;margin:0;font-size:14px;font-weight:500;line-height:1.4}.wallet-c-sheet>header>button{width:36px;height:36px;color:var(--wc-muted);border-radius:9px;place-items:center;display:grid}.wallet-c-sheet>header svg{width:16px;height:16px}.wallet-c-sheet-amount{letter-spacing:-1px;color:var(--wc-warn);margin:11px 0 7px;font-size:32px;font-weight:500;line-height:1.3}.wallet-c-sheet>p{color:var(--wc-muted);margin:0 0 12px;font-size:12px;line-height:1.65}.wallet-c-sheet>.wallet-c-secondary,.wallet-c-sheet>.wallet-c-primary{flex-shrink:0;margin-top:11px}@keyframes wallet-c-spin{to{transform:rotate(360deg)}}@media (width<=760px){.wallet-c{padding:13px calc(14px + var(--safe-right)) 20px calc(14px + var(--safe-left))}.wallet-c-screen-checkout{padding:0}.wallet-c-screen-checkout .wallet-c-scroll{padding:13px calc(14px + var(--safe-right)) 20px calc(14px + var(--safe-left))}.wallet-c-dock{padding-left:calc(14px + var(--safe-left));padding-right:calc(14px + var(--safe-right))}.wallet-c-title{margin-bottom:12px}.wallet-c-backdrop{padding:max(8px,var(--safe-top)) max(8px,var(--safe-right)) max(8px,var(--safe-bottom)) max(8px,var(--safe-left))}}@media (width<=350px){.wallet-c-stepper{grid-template-columns:44px minmax(0,1fr) 44px}.wallet-c-stepper input{max-width:100px;font-size:25px!important}.wallet-c-row{gap:8px;padding:10px}.wallet-c-row-thumb{flex-basis:33px;width:33px;height:37px}.wallet-c-row-copy b{font-size:11px}.wallet-c-row-side b{font-size:12px}.wallet-c-presets b{font-size:11px}.wallet-c-presets small{font-size:8px}}@media (prefers-reduced-motion:reduce){.wallet-c-spinner,.wallet-c-loading>span{animation-duration:2s}}.studio-parameter-overlay.studio-reference-overlay{background:var(--studio-menu);padding:0}.studio-reference-heading{gap:8px}.studio-reference-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.studio-reference-count{color:var(--studio-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;font-size:10px}.studio-reference-back{border-radius:8px;flex:0 0 32px;place-items:center;width:32px;height:32px;margin:-7px -3px -8px -9px;display:grid}.studio-reference-summary-row{border-top:1px solid var(--studio-line);align-items:center;gap:8px;min-height:58px;padding:0 10px 0 13px;display:flex}.studio-reference-summary-row:first-child{border-top:0}.studio-reference-summary-main{text-align:left;flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:58px;padding:7px 0;display:grid}.studio-reference-label{min-width:0;color:var(--studio-ink);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;line-height:1.35;display:block;overflow:hidden}.studio-reference-strip{align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.studio-reference-thumb{background:var(--studio-selected,#1e2126);width:36px;height:27px;color:var(--studio-muted,#a0a3a7);pointer-events:none;border-radius:6px;flex:0 0 36px;place-items:center;display:grid;position:relative;overflow:hidden}.studio-reference-thumb.mini{border:1px solid var(--studio-line);flex-basis:34px;width:34px;height:30px}.studio-reference-thumb.mini.audio{flex-basis:52px;width:52px}.studio-reference-thumb>img,.studio-reference-thumb>video{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.studio-reference-thumb[data-video-frame]>.studio-reference-video-fallback{visibility:hidden}.studio-creative-card-icon>.studio-reference-thumb{width:100%;height:100%}.studio-reference-add{background:var(--studio-selected);width:34px;height:34px;color:var(--studio-ink);border-radius:8px;flex:0 0 34px;place-items:center;display:grid}.studio-reference-item{align-items:center;min-height:47px;padding-right:4px;display:flex}.studio-reference-open{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;min-height:47px;padding:8px 0 8px 13px;display:flex}.studio-reference-item-copy{flex:1;min-width:0}.studio-reference-item-copy>small{color:var(--studio-muted);font-size:10px;line-height:1.5;display:block}.studio-reference-remove{width:39px;height:43px;color:var(--studio-muted);border-radius:7px;flex:0 0 39px;place-items:center;display:grid}.studio-reference-action{text-align:left;width:100%;min-height:47px;color:var(--studio-ink);justify-content:space-between;align-items:center;gap:12px;padding:8px 13px;font-size:14px;display:flex}.studio-reference-item+.studio-reference-action{border-top:1px solid var(--studio-line);margin-top:4px}.studio-reference-empty,.studio-reference-status,.studio-reference-error{color:var(--studio-muted);margin:0;padding:7px 13px 11px;font-size:12px;line-height:1.5}.studio-reference-preview{background:var(--studio-selected);height:150px;color:var(--studio-muted);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:14px;margin:1px 13px 12px;display:flex;overflow:hidden}.studio-reference-preview>img,.studio-reference-preview>video{object-fit:contain;width:100%;height:100%;display:block}.studio-reference-preview>audio{width:100%;max-width:100%;height:42px}.studio-reference-preview-name{color:var(--studio-ink);overflow-wrap:anywhere;margin:0 13px 11px;font-size:12px;line-height:1.5}.studio-reference-error,.studio-reference-delete,.studio-reference-item-copy>.studio-reference-upload-error{color:#f2bab0}.studio-reference-body button,.studio-reference-heading button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.studio-reference-body button:disabled{opacity:.38;cursor:default}.studio-reference-body button:not(:disabled):active,.studio-reference-heading button:active{background:var(--studio-selected)}.studio-reference-body button:focus-visible,.studio-reference-heading button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:-2px;border-radius:7px}@media (width<=359px){.studio-reference-summary-main{grid-template-columns:minmax(0,1fr) auto;gap:5px}.studio-reference-summary-row{gap:6px}.studio-reference-thumb.mini.audio{flex-basis:44px;width:44px}}.studio-reference-strip>button{flex-shrink:0;padding:0;display:block;position:relative}.studio-reference-thumb>.video-preview-tile,.studio-reference-thumb>.private-asset-preview{width:100%;height:100%;display:block;position:absolute;inset:0}.studio-reference-preview>.video-preview-tile,.studio-reference-preview>.private-asset-preview{width:100%;height:100%;min-height:0;display:block}.studio-reference-preview{aspect-ratio:16/9;height:auto;min-height:150px;max-height:280px}.studio-reference-preview video,.studio-reference-preview img{object-fit:contain;width:100%;height:100%}.studio-reference-play{color:#fff;filter:drop-shadow(0 1px 2px #000);pointer-events:none;position:absolute;bottom:2px;right:2px}.studio-reference-state-dot{background:var(--studio-accent);border-radius:50%;width:6px;height:6px;position:absolute;top:0;right:0}.studio-reference-state-dot.is-local,.studio-reference-state-dot.is-uploading{background:#e3ba7f}.studio-reference-state-dot.is-failed{background:#ff8689}.studio-reference-readiness{color:var(--studio-muted);flex-shrink:0;margin:0;padding:5px 13px;font-size:11px}.studio-reference-upload{color:var(--studio-muted);gap:7px;margin:8px 13px;font-size:12px;display:grid}.studio-reference-upload.is-failed{color:#f2bab0}.studio-reference-upload>button,.studio-reference-retry{border:1px solid var(--studio-line);color:var(--studio-ink);border-radius:8px;padding:9px;font-size:11px}.studio-reference-progress{background:var(--studio-line);border-radius:3px;height:3px;display:block;overflow:hidden}.studio-reference-progress:after{content:"";background:var(--studio-accent);width:35%;height:100%;animation:1.4s ease-in-out infinite alternate reference-progress;display:block}@keyframes reference-progress{to{transform:translate(185%)}}@media (prefers-reduced-motion:reduce){.studio-reference-progress:after{animation:none}}@media (width<=359px){.studio-reference-summary-main{grid-template-columns:minmax(0,1fr) auto}.studio-reference-strip{max-width:76px}.studio-reference-strip>button:nth-child(n+3){display:none}}.studio-reference-library{min-width:0;padding:10px 13px}.studio-reference-library[aria-invalid=true]{outline:1px solid var(--danger,#ff6868);outline-offset:-1px;border-radius:8px}.studio-reference-add-label{flex:1}.studio-reference-library-sentinel{pointer-events:none;height:1px}.studio-reference-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px;display:grid}.studio-reference-library-tile{aspect-ratio:1;background:var(--studio-selected);min-width:0;color:var(--studio-ink);border:1px solid #0000;border-radius:8px;position:relative;overflow:hidden}.studio-reference-library-tile[aria-pressed=true]{border-color:var(--studio-accent)}.studio-reference-library-tile[aria-invalid=true]{border-color:var(--danger,#ff6868)}.studio-reference-library-tile>.private-asset-preview{width:100%;height:100%;position:absolute;inset:0}.studio-reference-library-name{text-overflow:ellipsis;white-space:nowrap;color:#fff;background:linear-gradient(#0000,#000c);padding:12px 5px 5px;font-size:10px;position:absolute;inset:auto 0 0;overflow:hidden}.studio-reference-library-mark{background:var(--studio-accent);color:#111;border-radius:50%;place-items:center;padding:3px;display:grid;position:absolute;top:4px;right:4px}.studio-reference-library-skeleton{aspect-ratio:1;border-radius:8px}.studio-reference-library-tile[aria-pressed=true]:disabled{opacity:1}
