/* Layout and interaction polish; the existing seasonal design stays in place. */
:is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px}button:disabled{cursor:not-allowed}.panel,.modal-content,.card-body,.admin-main{min-width:0}.panel h2{line-height:1.3}.panel p{line-height:1.75}.product-family-card .card-body h3{line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-family-card .price-row{gap:14px}.product-breadcrumb{flex-wrap:wrap;row-gap:6px}.experience-line>div,.table-row>div,.key-row>div{min-width:0}.key-row code,.message p,.order-items span{overflow-wrap:anywhere}.status-product{gap:20px}.form-actions{flex-wrap:wrap}.site-header nav>div{scrollbar-width:thin}.prose p{line-height:1.85}.prose h2{margin-top:30px}.suite-tabs{gap:8px}.suite-tabs button{min-height:40px}.editor-location-note{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0 20px;color:var(--theme-muted);font-size:12px}.editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.editor-heading h2{margin:7px 0 8px}.editor-heading p{margin:0;max-width:650px}.editor-heading>.primary{flex-shrink:0}.editor-metrics{display:flex;flex-wrap:wrap;gap:12px 28px;padding:18px 0;border-top:1px solid var(--holiday-border);border-bottom:1px solid var(--holiday-border);font-size:12px;color:var(--theme-muted)}.editor-metrics strong{color:var(--theme-text);margin-right:5px;font-size:17px}.editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;margin:22px 0}.editor-toolbar label{margin:0}.editor-family{border:1px solid var(--holiday-border);border-radius:var(--radius);margin:12px 0;overflow:hidden}.editor-family>summary{display:flex;align-items:center;gap:14px;padding:18px;cursor:pointer;list-style:none}.editor-family>summary::-webkit-details-marker{display:none}.editor-family>summary>svg:last-child{margin-left:6px;transition:transform .18s}.editor-family[open]>summary>svg:last-child{transform:rotate(90deg)}.editor-family[open]>summary{border-bottom:1px solid var(--holiday-border);background:rgba(var(--accent-rgb),.035)}.editor-product-mark,.editor-category-icon{display:grid;place-items:center;width:38px;height:42px;border:1px solid var(--holiday-border);border-radius:8px;color:var(--accent);flex-shrink:0}.editor-product-name{flex:1;min-width:0}.editor-family summary strong{display:block;font-size:14px}.editor-family small,.editor-category-row small,.editor-featured-row small{display:block;color:var(--theme-muted);font-size:11px;margin-top:6px}.editor-family-body{padding:20px}.editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.editor-actions form{margin:0}.editor-actions button{min-height:38px}.editor-status form{display:flex;gap:14px;align-items:flex-end}.editor-status label{flex:1;max-width:350px;margin:0}.editor-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:22px 0}.editor-plans button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:15px}.editor-plans span{color:var(--accent)}.editor-plans small{font-size:10px;margin:0}.editor-access{padding-top:16px;border-top:1px solid var(--holiday-border)}.editor-access>summary{cursor:pointer;font-size:12px;color:var(--theme-muted)}.editor-featured-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--holiday-border)}.editor-featured-row>.check-label{margin:0;flex:1}.editor-featured-row>label:last-child{width:100px;margin:0;font-size:11px}.editor-category-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--holiday-border)}.editor-category-row>div:nth-child(2){flex:1}.editor-category-row form{margin:0}.editor-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:16px;flex-wrap:wrap;padding-top:24px}.editor-form-footer p{flex:1;font-size:12px}.editor-update{margin:0 20px 20px;padding:18px;border:1px solid var(--holiday-border);border-radius:8px}.editor-update small{display:block;margin-top:7px;color:var(--theme-muted)}.editor-empty{text-align:center;padding:48px 20px;color:var(--theme-muted)}.editor-empty>svg{color:var(--accent)}.editor-empty h3{margin:15px 0 8px}.editor-loading{min-height:170px;display:flex;align-items:center;justify-content:center;color:var(--theme-muted)}
.theme-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.theme-editor-controls .editor-heading{margin-bottom:22px}.theme-editor-section{border-top:1px solid var(--holiday-border);margin-top:22px;padding-top:18px}.theme-editor-section>summary{font-weight:600;cursor:pointer;padding-bottom:18px}.theme-editor-section p,.theme-editor-reset p{font-size:12px}.theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-color{display:flex;align-items:center;gap:12px;margin:0!important;padding:10px;border:1px solid var(--holiday-border);border-radius:8px;font-size:12px}.theme-color input[type=color]{width:36px;height:36px;padding:0;cursor:pointer;flex-shrink:0;border:0;background:none}.theme-color small{display:block;font-size:10px;color:var(--theme-subtle);margin-top:4px;font-family:monospace}.theme-range{margin:18px 0!important}.theme-range>span{display:flex;justify-content:space-between;gap:15px;font-size:12px}.theme-range output{color:var(--accent);font-variant-numeric:tabular-nums}.theme-range input{width:100%;margin:12px 0}.theme-editor-preview{position:sticky;top:22px}.theme-editor-preview>p{font-size:12px}.theme-swatch-scene{padding:24px 16px;margin-top:16px;border-radius:10px;background:linear-gradient(135deg,var(--swatch-bg),var(--swatch-end));color:var(--swatch-text);border:1px solid var(--swatch-border)}.theme-swatch-brand{font-size:36px;font-weight:700;color:var(--swatch-accent);text-align:center;letter-spacing:-2px}.theme-swatch-brand span{display:block;font-size:12px;letter-spacing:5px;color:var(--swatch-text);margin-top:-4px}.theme-swatch-card{margin:28px 0;padding:18px;background:var(--swatch-surface);border:1px solid var(--swatch-border);border-radius:9px}.theme-swatch-card h3,.theme-swatch-card p{color:var(--swatch-text)!important}.theme-swatch-card>span{font-size:10px;color:var(--swatch-accent)}.theme-swatch-card h3{font-size:15px;margin:10px 0}.theme-swatch-card p{font-size:12px}.theme-swatch-card button{background:var(--swatch-accent);color:var(--swatch-bg);border:0;border-radius:6px;padding:10px;font-size:11px;pointer-events:none}.theme-swatch-scene>small{display:block;text-align:center;font-size:10px;line-height:1.7;color:var(--swatch-text)}.theme-editor-reset{padding-top:25px;font-size:12px}.theme-editor-reset>summary{cursor:pointer;color:var(--theme-muted)}
/* Saved theme values override preset-specific surfaces without changing untouched themes. */
body[data-theme-custom=true],body[data-theme-custom=true] :is(button,input,textarea,select,h1,h2,h3,h4){font-family:var(--editor-site-font),Arial,sans-serif!important}body[data-theme-custom=true] :is(.panel,.stat,.modal,.account-dropdown,.checkout-payment-card,.checkout-order-card){background:var(--holiday-surface)!important;border-color:var(--holiday-border)!important}body[data-theme-custom=true] :is(.product-card,.category-card,.home-help){background:rgba(var(--editor-card-rgb),var(--editor-card-opacity))!important;border-color:color-mix(in srgb,var(--editor-card-border) calc(var(--editor-card-border-opacity) * 100%),transparent)!important;border-width:var(--editor-border-width)!important;border-radius:var(--editor-card-radius)!important}body[data-theme-custom=true] .site-header.hazard::before{padding:var(--editor-hazard-width);background:repeating-linear-gradient(135deg,var(--editor-hazard-primary) 0 9px,var(--editor-hazard-secondary) 9px 18px)!important;animation:none!important}body[data-theme-custom=true][data-header-transparent=false] .site-header{background:var(--holiday-surface)!important}body[data-theme-custom=true][data-header-transparent=true] .site-header{background:transparent!important}body[data-header-decor=off] .header-holiday-decor{display:none!important}body[data-theme-custom=true] #donut-atmosphere{opacity:1!important}body[data-theme-custom=true] .bespoke-art{--cutout-rim:var(--editor-trace-secondary);--cutout-halo:color-mix(in srgb,var(--editor-trace-primary) 55%,transparent)}body[data-theme-custom=true] :is(.product-card,.category-card,.home-help)>.donut-edge .donut-edge-trail{stroke:var(--editor-trace-primary);stroke-width:var(--editor-border-width);filter:drop-shadow(0 0 4px var(--editor-trace-primary))}body[data-theme-custom=true] :is(.product-card,.category-card,.home-help)>.donut-edge .donut-edge-tip{stroke:var(--editor-trace-secondary);filter:drop-shadow(0 0 5px var(--editor-trace-secondary))}body[data-theme-custom=true] .donut-edge rect{animation-duration:var(--editor-trace-duration)!important}body[data-theme-tracers=off] .donut-edge{display:none!important}body[data-card-motion=off] :is(.product-card,.category-card,.category-icon,.character-art-image){translate:none!important;transform:none!important;rotate:none!important;scale:none!important}body[data-theme-custom=true].glow :is(.primary,.duration-plans button.active){box-shadow:0 3px calc(18px * var(--editor-glow-strength)) rgba(var(--accent-rgb),.2)!important}body[data-theme-custom=true] .site-header nav a.active{box-shadow:inset 0 -2px var(--accent)}
@media(max-width:1000px){.theme-editor-layout{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:760px){.editor-heading{flex-direction:column;gap:16px}.editor-heading>.primary{width:100%;justify-content:center}.editor-toolbar{grid-template-columns:1fr}.editor-family>summary{gap:9px;padding:14px;flex-wrap:wrap}.editor-product-mark{width:30px;height:34px}.editor-product-name{flex-basis:calc(100% - 65px)}.editor-family>summary>.tag{margin-left:40px;font-size:10px}.editor-family>summary>.tag+.tag{margin-left:0}.editor-family-body{padding:15px}.editor-status form{display:block}.editor-status button{margin-top:12px}.editor-category-row{flex-wrap:wrap}.editor-category-row form{margin-left:53px}.editor-featured-row{gap:12px}.editor-featured-row>label:last-child{width:75px}.editor-form-footer>button{width:100%;justify-content:center}.theme-editor-layout{grid-template-columns:1fr}.theme-editor-preview{position:static;order:-1}.theme-swatch-scene{display:none}.theme-editor-preview>p{margin-bottom:0}.theme-color-grid{grid-template-columns:1fr 1fr}.theme-color{padding:8px;font-size:11px;gap:8px}.theme-color input[type=color]{width:28px;height:28px}.editor-location-note{align-items:flex-start;flex-direction:column;gap:8px}.status-product{flex-wrap:wrap}}@media(max-width:400px){.theme-color-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.editor-family>summary>svg{transition:none}}

body:not(.stripes) .site-header.hazard::before{display:none!important}

.theme-live-frame{position:relative;overflow:hidden;width:100%;margin-top:18px;border:1px solid var(--holiday-border);border-radius:10px;background:var(--holiday-bg)}.theme-live-frame iframe{display:block;width:1100px;height:1800px;border:0;transform-origin:top left;pointer-events:none}.theme-editor-preview #theme-editor-swatch{display:none}
body[data-theme-custom=true] .product-card{background:transparent!important}

/* Shared cutout glow; tracer colors remain independent per theme. */
body[data-holiday] .bespoke-art{--cutout-rim:var(--editor-cutout-glow);--cutout-halo:color-mix(in srgb,var(--editor-cutout-glow) 55%,transparent)}
body[data-holiday] :is(.product-card,.category-card,.home-help)>.donut-edge .donut-edge-trail{stroke:var(--editor-trace-primary)!important;filter:drop-shadow(0 0 4px var(--editor-trace-primary))!important}
body[data-holiday] :is(.product-card,.category-card,.home-help)>.donut-edge .donut-edge-tip{stroke:var(--editor-trace-secondary)!important;filter:drop-shadow(0 0 5px var(--editor-trace-secondary))!important}
body[data-theme-custom=true] .product-card .card-body{background:color-mix(in srgb,var(--editor-card-bottom) calc(var(--editor-card-opacity) * 100%),transparent)!important}
body[data-theme-custom=true] .bespoke-art{background:radial-gradient(ellipse at 80% 30%,rgba(var(--accent-rgb),.25),transparent 75%),var(--editor-card-art-background)!important;--cutout-rim:var(--editor-cutout-glow);--cutout-halo:color-mix(in srgb,var(--editor-cutout-glow) 55%,transparent)}
body[data-holiday] .home-help .secondary{background:rgba(var(--accent-rgb),.10)!important;border-color:rgba(var(--accent-rgb),.4)!important;color:var(--accent)!important}
body[data-holiday] .home-help .secondary:hover{background:rgba(var(--accent-rgb),.2)!important;border-color:var(--accent)!important}
/* Keep the Rainbow 6 waist crop flush with its artwork edge, including hover. */
body .bespoke-art.art-rainbow .character-art-image,
body .product-page-art .art-rainbow .character-art-image{padding:0!important;top:auto!important;bottom:0!important;object-position:bottom right!important;translate:var(--cutout-x,0px) 0!important}
/* Owner workspace heading follows the selected theme. */
.admin-shell>aside>.eyebrow{font-size:12px!important;line-height:1.5;letter-spacing:1.2px;color:var(--accent)!important;font-weight:700;margin-bottom:20px}
