/* One live Studio editor: a compact product launcher on desktop, inline on mobile. */
.tjws-builder .tjws-studio-teaser{display:none}
.tjws-builder .tjws-studio-dialog:not([open]){display:none}
.tjws-builder .tjws-studio-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(1140px,94vw);max-width:94vw;max-height:92dvh;margin:auto;padding:0;border:1px solid var(--tjws-line);border-radius:0;background:var(--tjws-paper);color:var(--tjws-ink);box-shadow:0 24px 90px #0006;overflow:hidden;text-align:left}
.tjws-builder .tjws-studio-dialog[open]{display:flex;flex-direction:column}
.tjws-studio-dialog::backdrop{background:#080f1cc2;backdrop-filter:blur(4px)}
.tjws-builder .tjws-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;padding:18px 24px;border-bottom:1px solid var(--tjws-line);background:var(--tjws-paper)}
.tjws-builder .tjws-studio-heading h2{margin:4px 0 0;font-size:26px;font-weight:550;line-height:1.2;letter-spacing:-.025em;color:var(--tjws-ink)}
.tjws-builder .tjws-studio-heading>button{width:44px;min-width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--tjws-ink);font:300 30px/1 Arial,sans-serif}
.tjws-builder .tjws-studio-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px;scrollbar-gutter:stable}
.tjws-builder .tjws-studio-body .tjws-editor{padding:0}
.tjws-builder .tjws-studio-body .tjws-intro{margin-bottom:14px!important}
.tjws-builder .tjws-studio-body .tjws-series{grid-template-columns:repeat(4,minmax(0,1fr))}
.tjws-builder .tjws-studio-body .tjws-series-card{min-height:74px;padding:12px}
.tjws-builder .tjws-studio-body .tjws-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.tjws-builder .tjws-studio-body .tjws-preview{position:sticky;top:0;padding:20px 16px}
.tjws-builder .tjws-studio-body .tjws-preview-art.tjws-preview-native{width:min(100%,320px);max-width:320px}
.tjws-builder .tjws-studio-body .tjws-inline-frames{display:block}
.tjws-builder .tjws-studio-body .tjws-choose-frame{display:none}
.tjws-builder .tjws-studio-body .tjws-swatches{grid-template-columns:repeat(5,minmax(0,1fr));max-height:290px}
.tjws-builder .tjws-studio-body .tjws-starter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tjws-builder .tjws-studio-body .tjws-starter-options:has(> :only-child){grid-template-columns:minmax(0,1fr)}
.tjws-builder .tjws-studio-body .tjws-led-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.tjws-builder .tjws-studio-footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;padding:14px 24px;border-top:1px solid var(--tjws-line);background:var(--tjws-paper)}
.tjws-builder .tjws-studio-footer>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.tjws-builder .tjws-studio-footer>div>span{font-size:11px;color:var(--tjws-muted)}
.tjws-builder .tjws-studio-footer strong{font-size:21px;line-height:1.3;font-weight:600;min-height:1.3em}
.tjws-builder .tjws-studio-footer>button{min-height:46px;padding:11px 18px;background:var(--tjws-accent);border-color:var(--tjws-accent);color:#fff;font-size:13px}
.tjws-studio-open,.tjws-studio-open body{overflow:hidden!important}
.tjws-builder .tjws-led-swatch--none{position:relative;border-color:currentColor;background:transparent}
.tjws-builder .tjws-led-swatch--none::after{content:'';position:absolute;left:-1px;top:50%;width:calc(100% + 2px);height:1px;background:currentColor;transform:rotate(-40deg);transform-origin:center}
.tjws-product-art__part--button{position:relative}
.tjws-gallery-control-count{position:absolute;right:0;bottom:0;display:grid;place-items:center;min-width:24px;height:24px;padding:2px 5px;background:var(--shop-paper,#fff);border:1px solid var(--shop-line,#ccd1d9);color:var(--shop-ink,#17243a);font:600 11px/1.2 Arial,sans-serif}
@media(min-width:901px){
 .tjws-builder.tjws-studio-modal-ready .tjws-studio-teaser:not([hidden]){display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:16px;margin:0 20px 16px;padding:14px;border:1px solid var(--tjws-line);background:var(--tjws-soft)}
 .tjws-builder .tjws-studio-teaser-art{width:88px;max-height:100px;aspect-ratio:1;overflow:hidden;display:grid;place-items:center}
 .tjws-builder .tjws-studio-teaser-art>.tjws-native-assembly{width:100%;height:100%;max-height:100px;object-fit:contain}
 .tjws-builder .tjws-studio-teaser-copy{min-width:0}
 .tjws-builder .tjws-studio-teaser-copy>p{margin:0 0 9px!important;font-size:12px;line-height:1.5;color:var(--tjws-muted);overflow-wrap:anywhere}
 .tjws-builder .tjws-studio-teaser-copy>button{min-height:44px;padding:10px 13px;border-color:var(--tjws-ink);background:var(--tjws-paper);color:var(--tjws-ink);font-size:13px}
 .tjws-builder.tjws-studio-modal-ready>.tjws-shell>.tjws-heading{padding-bottom:14px}
 .tjws-builder.tjws-studio-modal-ready>.tjws-shell>.tjws-summary{padding-top:14px}
}
@media(max-width:900px){.tjws-builder .tjws-studio-dialog{display:none}}
@media(prefers-reduced-motion:reduce){.tjws-studio-dialog::backdrop{backdrop-filter:none}}

.tjws-gallery [data-tjws-led-only][hidden]{display:none!important}
.tjws-builder .tjws-studio-footer>button:hover:not(:disabled){background:#123ec2;border-color:#123ec2;color:#fff}
:is(html[data-tj-theme=dark],html[data-theme=dark]) .tjws-builder .tjws-studio-footer>button{background:#b8caff;border-color:#b8caff;color:#15223b}
:is(html[data-tj-theme=dark],html[data-theme=dark]) .tjws-builder .tjws-studio-footer>button:hover:not(:disabled){background:#ced9ff;border-color:#ced9ff;color:#15223b}

:is(html[data-tj-theme=dark],html[data-theme=dark]) .tjws-dialog .tjws-done:hover:not(:disabled){background:#ced9ff;border-color:#ced9ff;color:#15223b}
