/* Product selection, composition and review share the established BS palette. */
.studio-page{--studio-surface:#f8f6f1;--studio-accent:#3159dc;--studio-border:#17233322}
.studio-shell.wrap{width:min(1560px,92%);padding-block:42px 70px}
.studio-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:30px}
.studio-heading .eyebrow{font-size:11px;margin-bottom:14px}
.studio-heading h1{font-size:clamp(32px,3.4vw,52px)}
.studio-intro{font-size:15px;line-height:1.6;margin:14px 0 0;max-width:650px}
.studio-help{font-size:13px;white-space:nowrap;max-width:none}
.studio-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border:0;background:#e4e1da;border-radius:12px;padding:5px;margin-bottom:34px}
.studio-progress button{display:flex;align-items:center;gap:12px;justify-content:center;padding:13px 10px;min-height:54px;font-size:14px;border:0;border-radius:8px;color:#5b646a;background:transparent}
.studio-progress button b{display:grid;place-items:center;width:27px;height:27px;font-size:11px;border:1px solid #17233333;border-radius:50%;margin:0;font-weight:500}
.studio-progress button[aria-current=step]{background:#fbfaf7;color:#111820;box-shadow:0 2px 6px #17233308}
.studio-progress button[aria-current=step] b{background:var(--studio-accent);border-color:var(--studio-accent);color:white}
.studio-workspace{gap:32px;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:start;scroll-margin-top:130px}
.studio-page[data-studio-step="1"] .studio-workspace,.studio-page[data-studio-step="3"] .studio-workspace{display:block;max-width:none}
.studio-page[data-studio-step="1"] .studio-preview{display:none}
.studio-controls{background:none;border:0;padding:0;border-radius:0}
.studio-controls h2{font-size:clamp(26px,2.5vw,38px);margin-bottom:12px}
.studio-controls p{font-size:14px;line-height:1.65}
.selection-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}
.selection-heading .eyebrow{font-size:10px;margin-bottom:12px}
.selection-heading h2{margin:0}
.selection-heading>p{max-width:340px;margin:0}
.product-selection-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:32px;align-items:start}
.product-library{min-width:0}
.product-tools{margin-bottom:20px}
.studio-search{display:flex;align-items:center;gap:12px;border:1px solid var(--studio-border);border-radius:8px;background:#f8f6f1;padding-inline:15px}
.studio-search svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5;fill:none;flex:none}
.studio-search input{width:100%;border:0;background:none;min-height:48px;padding:10px 0;font-size:14px;outline-offset:2px}
.product-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.product-filters button{font-size:13px;min-height:40px;padding:8px 18px;border:1px solid var(--studio-border);border-radius:99px;background:transparent}
.product-filters button[aria-pressed=true]{background:#172333;color:#fff;border-color:#172333}
.product-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}
.product-picker[aria-busy=true]{min-height:60svh}
.product-picker button{position:relative;border:1px solid transparent;border-radius:10px;background:var(--studio-surface);padding:0;overflow:hidden;transition:border-color .18s,box-shadow .18s;text-align:left;align-self:stretch}
.product-picker button:hover{border-color:#17233366;box-shadow:0 6px 18px #17233308}
.product-picker button[aria-pressed=true]{background:var(--studio-surface);border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}
.product-picker .product-image{display:grid;place-items:center;aspect-ratio:1.06;padding:17px 22px;background:#e9e6df55;overflow:hidden}
.product-picker img{width:100%;height:100%;max-height:200px;object-fit:contain;mix-blend-mode:multiply;padding:0}
.product-picker .product-card-copy{padding:14px 16px 17px;display:block}
.product-picker .product-brand{font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 6px;display:block;color:#5d656b}
.product-picker strong{font-size:16px;font-weight:500;letter-spacing:-.025em;padding:0;color:#111820}
.product-picker .product-detail{font-size:12px;margin-top:5px;line-height:1.5}
.product-card-colors{display:flex!important;gap:5px;margin-top:12px}
.product-card-colors i{width:11px;height:11px;border-radius:50%;border:1px solid #11182022;background:var(--swatch)}
.product-picker .product-selected{position:absolute;right:9px;top:9px;background:#3159dc;color:#fff;font-size:10px;border-radius:99px;padding:3px 8px;display:none}
.product-picker [aria-pressed=true] .product-selected{display:block}
.catalog-help{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 0;font-size:13px;color:#5b646a}
.catalog-help>span{color:#172333;text-decoration:underline;text-underline-offset:5px}
.variant-card{position:sticky;top:calc(var(--header) + 20px);background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:12px;padding:24px;min-width:0;scroll-margin-top:110px}
.variant-product{display:flex;align-items:center;gap:17px;margin-bottom:15px}
.variant-product img{width:77px;height:91px;object-fit:contain;mix-blend-mode:multiply}
.variant-product h3{font-size:24px;margin:5px 0 6px;letter-spacing:-.04em}
.variant-product .small-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#5b646a}
#selected-model{font-size:12px;color:#5b646a}
.variant-card #selected-description{font-size:13px;margin-bottom:12px}
.product-info{font-size:12px;margin-bottom:22px}
.product-info summary{min-height:34px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.product-info p{font-size:12px;margin-top:10px}
.product-info a{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.studio-controls fieldset.variant-colors{border:0;padding:0;margin:0 0 23px}
.variant-colors legend{display:flex;gap:10px;justify-content:space-between;width:100%;font-size:13px;margin-bottom:12px;padding:0}
.variant-colors legend strong{font-weight:500;color:#5b646a;font-size:12px}
#color-picker{display:flex;gap:10px;flex-wrap:wrap}
#color-picker button{background:none;border:1px solid transparent;border-radius:50%;width:44px;height:44px;padding:4px;display:grid;place-items:center}
#color-picker button::after{content:'';width:28px;height:28px;border-radius:50%;background:var(--swatch);border:1px solid #17233328}
#color-picker button[aria-pressed=true]{border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}
.size-order-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.size-order-heading h4{font-weight:500;font-size:13px;margin:0}
.size-order-heading>span{font-size:10px;color:#5b646a}
#size-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#size-grid:has(>.size-cell:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
.size-cell{display:flex;flex-direction:column;align-items:center;border:1px solid var(--studio-border);border-radius:7px;background:#fff;overflow:hidden}
.size-cell span{font-size:11px;display:block;background:#eeece7;width:100%;text-align:center;padding:4px}
.size-cell input{width:100%;min-width:0;min-height:42px;text-align:center;border:0;background:none;font-size:16px;padding:5px;appearance:textfield;-moz-appearance:textfield}
.size-cell input::-webkit-inner-spin-button,.size-cell input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.size-cell:focus-within{outline:2px solid var(--studio-accent);outline-offset:1px}
#toggle-size-mode{font-size:13px;margin:0 0 12px;min-height:44px;text-align:left}
.variant-card #total-order .field{margin:10px 0}
.variant-card #total-order-help{font-size:12px;margin-block:5px 4px}
#color-orders{display:grid;gap:7px}
.color-order-row{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;background:#e9edf9;border-radius:5px;padding:8px 10px}
.color-order-row span{flex:1;min-width:0}
.color-order-row button{background:none;border:0;font-size:17px;min-width:32px;min-height:32px;padding:0;color:#5b646a}
.variant-card #color-order-hint{font-size:11px;line-height:1.6;margin:12px 0 16px}
.selection-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-top:1px solid var(--studio-border);font-size:12px;margin-top:15px}
.selection-total strong{font-size:22px;font-weight:500;white-space:nowrap}
.studio-controls .button{border-radius:7px;min-height:50px;font-size:14px}
.no-purchase{font-size:11px!important;line-height:1.6!important;text-align:center;margin:12px 0 0!important;color:#5b646a}
.order-error{color:#a03925!important;font-size:13px!important;margin:14px 0 0}
.studio-preview{padding:24px;background:var(--studio-surface);border-color:var(--studio-border);border-radius:12px;top:calc(var(--header) + 20px);box-shadow:none}
.preview-top{font-size:15px}
.preview-top strong{font-size:17px;font-weight:500}
.preview-top #stage-detail,.preview-top>span{font-size:12px}
#canvas-wrap{width:min(100%,550px,calc(100svh - 340px));min-width:230px;margin:16px auto;background:white;border-radius:6px;overflow:hidden}
.preview-note{font-size:11px}
#view-picker button,#toggle-guide{font-size:12px;min-height:42px}
.studio-controls [data-panel="2"]{padding:28px;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:12px}
.panel-title{margin-bottom:12px}
.panel-title .eyebrow{font-size:10px}
.panel-title h2{font-size:30px}
.panel-title .inline-link{font-size:12px}
.configuration-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;background:#e9e6de;border-radius:7px;margin-bottom:25px}
.configuration-summary strong,.configuration-summary span{display:block;font-size:12px}
.configuration-summary span{color:#5b646a;margin-top:4px;line-height:1.5}
.configuration-summary button{font-size:11px;white-space:nowrap;min-height:40px}
.studio-controls .field-grid.compact .field>span,.studio-controls .field>span{font-size:13px}
.studio-controls .field input,.studio-controls .field select,.studio-controls .field textarea{font-size:15px;background:white;border-radius:6px}
.studio-controls .helper{font-size:12px;margin:10px 0 18px}
.add-design{gap:12px}
.studio-controls .add-design .button{font-size:14px;background:#fff;border-style:dashed;min-height:65px}
.studio-controls .empty-design{font-size:13px;background:#eeece6;border:0;padding:17px;margin-top:18px}
.layer-list button,.object-actions button,.history-actions button,.nudge button{font-size:12px;min-height:42px}
.studio-controls legend,.advanced-controls summary{font-size:12px}
.studio-controls .range-label{font-size:13px}
.studio-controls .range-label output{font-size:12px}
.studio-controls #design-status{font-size:12px;margin:20px 0 7px;min-height:0}
.studio-controls .storage-note{font-size:11px!important}
.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;margin-top:28px;align-items:start}
.reviewing #proof-items{display:grid;grid-template-columns:1fr;gap:18px}
.reviewing .proof-card{padding:23px;border-color:var(--studio-border);border-radius:10px;background:var(--studio-surface)}
.reviewing .proof-card h3{font-size:22px;letter-spacing:-.035em;margin:0 0 7px}
.reviewing .proof-card p{font-size:13px}
.reviewing .proof-previews{margin:16px 0;gap:12px}
.reviewing .proof-previews figure{width:210px;max-width:44%;border:1px solid var(--studio-border);border-radius:6px;overflow:hidden;background:white}
.reviewing .proof-previews figcaption{padding:8px;font-size:11px}
.order-breakdown{background:#e9e6df77;border-radius:6px;padding:12px 15px;margin:14px 0;font-size:12px;line-height:1.7;white-space:pre-line;color:#39434b}
.proof-card-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.proof-card-actions button,.proof-card-actions a{font-size:13px;min-height:42px}
.review-aside{position:sticky;top:calc(var(--header) + 20px);padding:26px;background:#192536;color:white;border-radius:12px}
.review-aside .eyebrow{font-size:10px;color:#bdccfa;margin-bottom:14px}
.review-aside h3{font-size:28px;letter-spacing:-.04em;margin:0 0 22px}
.review-aside #review-totals{display:flex;justify-content:space-between;gap:15px;padding-bottom:20px;border-bottom:1px solid #ffffff30;font-size:14px}
.review-aside ol{font-size:12px;line-height:1.7;color:#d6dce5;padding-left:18px;margin:20px 0}
.review-aside li+li{margin-top:9px}
.review-aside .proof-actions{margin-top:25px}
.review-aside .button{font-size:13px;gap:12px;background:#bdcbff;color:#152033;border-color:#bdcbff}
.review-aside #another-product{background:transparent;border-color:#ffffff66;color:#fff}
.review-aside #download-proof{color:#fff;font-size:12px}
.review-aside .no-purchase{color:#bac4d3}
.studio-page .next-footer .footer-grid{display:none}
.studio-page .next-footer{padding-top:0}
.studio-page .next-footer .footer-base{padding-top:24px}
@media(min-width:1800px){.studio-shell.wrap{width:min(1680px,88%)}.product-selection-layout{grid-template-columns:minmax(0,1fr) 390px;gap:44px}.product-picker{gap:24px}.product-picker img{max-height:245px}.variant-card{padding:28px}}
@media(max-width:1180px){.product-selection-layout{grid-template-columns:minmax(0,1fr) 330px;gap:24px}.product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.variant-card{padding:20px}.selection-heading>p{max-width:280px}.studio-workspace{gap:22px}.configuration-summary{display:block}.configuration-summary button{padding:5px 0 0}}
@media(max-width:850px){.studio-shell.wrap{padding-top:28px}.studio-workspace{grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.product-selection-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.product-picker{gap:12px}.product-picker .product-image{padding:12px}.product-picker .product-card-copy{padding:12px}.product-picker strong{font-size:15px}.review-layout{grid-template-columns:1fr 290px;gap:20px}.review-aside{padding:22px}.selection-heading{display:block}.selection-heading>p{margin-top:14px;max-width:600px}.studio-help{white-space:normal}}
@media(max-width:760px){.studio-shell.wrap{width:92%;padding-bottom:40px}.studio-heading{margin-bottom:23px;gap:16px}.studio-heading h1{font-size:32px;line-height:1.1}.studio-intro{font-size:13px;margin-top:12px}.studio-help{font-size:11px;max-width:82px;margin-top:16px;align-self:start}.studio-heading .eyebrow{font-size:10px;margin-bottom:10px}.studio-progress{gap:3px;margin-bottom:27px;padding:4px;border-radius:8px}.studio-progress button{font-size:11px;gap:7px;min-height:53px;padding:8px 4px;flex-direction:column;line-height:1.35}.studio-progress button b{width:22px;height:22px;font-size:10px}.selection-heading{margin-bottom:20px}.selection-heading h2{font-size:27px}.selection-heading>p{font-size:13px}.product-selection-layout{grid-template-columns:1fr;gap:5px}.product-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.product-picker .product-image{aspect-ratio:1.12;padding:17px 22px}.product-picker img{max-height:190px}.product-picker strong{font-size:16px}.product-picker .product-brand{font-size:9px}.product-picker .product-detail{font-size:11px}.product-picker .product-card-copy{padding:13px 14px}.product-filters{gap:7px;margin-top:12px}.product-filters button{padding:7px 15px;font-size:12px;min-height:40px}.studio-search input{font-size:16px}.catalog-help{font-size:12px;padding-block:22px}.variant-card{position:static;padding:24px;border-radius:10px;scroll-margin-top:95px}.variant-product img{width:84px;height:95px}.variant-product h3{font-size:26px}.variant-card #selected-description{font-size:13px}.variant-colors legend{font-size:14px}.size-order-heading h4{font-size:14px}.size-order-heading>span{font-size:11px}#size-grid{grid-template-columns:repeat(4,1fr);gap:10px}.size-cell input{min-height:46px}.size-cell span{font-size:12px}#color-picker button{width:42px;height:42px}#color-picker button::after{width:31px;height:31px}.selection-total{padding-block:18px}.selection-total strong{font-size:25px}.studio-workspace{display:flex;gap:18px;scroll-margin-top:88px}.studio-preview{position:relative;top:auto;padding:16px;box-shadow:none;border-radius:10px}.preview-top #stage-product{font-size:16px}.preview-top #stage-detail{font-size:11px;display:block}.preview-top>span{font-size:11px}#canvas-wrap{width:min(100%,365px);min-width:0;margin-block:12px}.preview-bottom{min-height:48px;gap:5px}#view-picker button,#toggle-guide{min-height:42px;font-size:11px}.preview-note{font-size:10px;margin-top:8px}.studio-controls [data-panel="2"]{padding:23px 19px;border-radius:10px}.panel-title h2{font-size:28px}.panel-title .inline-link{font-size:11px}.configuration-summary{margin-bottom:22px}.configuration-summary strong{font-size:13px}.configuration-summary span{font-size:12px}.configuration-summary button{font-size:12px}.studio-controls .field-grid.compact .field>span{font-size:12px}.studio-controls .field input,.studio-controls .field select,.studio-controls .field textarea{font-size:16px}.studio-controls .add-design .button{font-size:13px;min-height:60px}.studio-controls [data-panel="2"]>#add-proof{position:static;box-shadow:none;margin-top:6px}.review-layout{grid-template-columns:1fr;gap:24px}.review-aside{position:static;padding:25px}.reviewing .proof-card{padding:20px}.reviewing .proof-previews figure{width:145px}.studio-page.is-typing #canvas-wrap{width:min(100%,365px)}.studio-page.is-typing .preview-note,.studio-page.is-typing #stage-detail{display:block}.studio-controls .storage-note{font-size:10px!important}.studio-page .next-footer .footer-base{font-size:10px}}
@media(max-width:380px){.studio-heading h1{font-size:29px}.studio-help{max-width:68px;font-size:10px}.product-picker .product-image{padding:13px 16px}.product-picker .product-card-copy{padding:11px}.product-picker strong{font-size:14px}.variant-card{padding:19px}.studio-progress button{font-size:10px}.studio-controls .field-grid.compact{grid-template-columns:1fr}.studio-controls .add-design{gap:8px}}
@media(max-height:760px) and (min-width:761px){.variant-card,.studio-preview,.review-aside{position:static}}
.preview-bottom{display:grid;grid-template-columns:1fr;gap:8px}
#view-picker{display:grid;grid-template-columns:repeat(var(--view-count,4),minmax(0,1fr));width:100%;gap:7px}
#view-picker button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;border-radius:8px;white-space:normal;line-height:1.3;padding:8px;font-size:12px}
.view-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;background:#3159dc;color:#fff;border-radius:50%;flex:none}
#view-picker [aria-pressed=true] .view-count{background:#c0ceff;color:#172237}
#toggle-guide{justify-self:end;min-height:34px;padding:5px 0}
.marking-breakdown{white-space:pre-line;font-size:12px;line-height:1.8;padding:12px 0;color:#39434b}
.studio-controls .field>span{line-height:1.5}
@media(max-width:760px){#view-picker{gap:5px}#view-picker button{font-size:11px;padding:8px 5px;min-height:46px}.view-count{min-width:16px;height:16px;font-size:9px}#toggle-guide{min-height:40px}.marking-breakdown{font-size:12px}}
.preview-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}
#focus-preview{background:none;border:0;text-decoration:underline;text-underline-offset:4px;padding:5px 0;min-height:40px;font-size:12px;text-align:left}
@media(max-width:760px){#focus-preview{font-size:11px;min-height:44px}}

/* Expanded catalogue: one clear decision at a time on smaller screens. */
.product-result-count{font-size:12px;color:#5b646a;margin:18px 0 14px}.mobile-model-back{display:none}.catalog-request{padding:24px;border:1px solid var(--studio-border);border-radius:10px;background:#e9e6de;margin:24px 0}.catalog-request strong{font-size:17px;font-weight:500}.catalog-request p{font-size:13px;line-height:1.65;max-width:520px;margin:10px 0 14px}.catalog-request>div{display:flex;gap:24px;flex-wrap:wrap}.catalog-request a{font-size:13px;min-height:44px;display:inline-flex;align-items:center;gap:12px;text-decoration:underline;text-underline-offset:5px}.product-filters{flex-wrap:wrap}.variant-card .no-purchase{line-height:1.65}.variant-product{min-width:0}.variant-product h3{overflow-wrap:anywhere}.product-library,.variant-card{scroll-margin-top:calc(var(--header) + 20px)}
@media(max-width:760px){body[data-product-panel=library] .variant-card{display:none}body[data-product-panel=variant] .product-library{display:none}.mobile-model-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin:-6px 0 18px}.product-filters{gap:6px}.product-filters button{min-height:44px;padding:8px 13px}.product-result-count{margin:16px 0 12px;font-size:12px}.catalog-request{padding:20px;margin-top:22px}.catalog-request>div{display:grid;gap:4px}.product-selection-layout{gap:0}.variant-card #selected-name{font-size:24px}.variant-card{scroll-margin-top:calc(var(--header) + 12px)}}

.size-group-title{grid-column:1/-1;font-size:12px!important;font-weight:500;margin:12px 0 0!important;color:#39434b}.size-group-title:first-child{margin-top:0!important}

/* Caps use the supplier photo for each angle instead of text-only view buttons. */
.cap-stage #canvas-wrap{position:relative}
.cap-stage #view-picker button{position:relative;display:grid;gap:2px;justify-items:center;padding:4px;min-height:54px}
.cap-stage #view-picker img{display:block;width:64px;max-width:100%;height:44px;object-fit:cover;object-position:center;border-radius:3px;background:#fff}
.cap-stage #view-picker .view-count{position:absolute;top:3px;right:3px}
#view-picker .view-count[hidden],#stage-add[hidden]{display:none}
#stage-add{position:absolute;z-index:2;translate:-50% -50%;display:grid;place-items:center;width:44px;height:44px;border-radius:5px;padding:0;background:transparent;color:#172237;border:0;cursor:pointer}
#stage-add span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f6f3ed;border:1px solid #18243555;box-shadow:0 2px 7px #10182426;font:normal 21px/1 Arial,sans-serif}
#stage-add:hover span{background:#dbe5ff}
#studio-type-dialog{position:fixed;max-width:calc(100% - 24px);width:350px;padding:24px;color:#172237;background:#f8f6f1;border:1px solid #17223735;border-radius:10px}
#studio-type-dialog::backdrop{background:#101a2d75}
#studio-type-dialog h2{margin:0 35px 16px 0;font-size:1.25rem}
.stage-add-close{position:absolute;top:7px;right:7px}
.stage-add-close button{color:inherit;background:#fff;border:1px solid #17223730;border-radius:5px;min-height:44px;font:inherit;cursor:pointer}
.stage-add-close button{width:44px;font-size:1.4rem}
@media(max-height:470px) and (orientation:landscape){.mobile-editor-open .cap-stage #view-picker img{height:19px}}

#studio-type-dialog{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
#font-family{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 11px;border:1px solid #17223730;border-radius:6px;background:#fff;color:#172237;text-align:left;font:inherit;cursor:pointer}
#font-family::after{content:'';width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-2px) rotate(45deg);margin-left:8px}
#studio-type-list{display:grid;gap:6px}
#studio-type-list button{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:9px;min-height:46px;padding:7px 9px;border:1px solid #17223730;border-radius:6px;background:#fff;color:#172237;text-align:left;font:inherit;cursor:pointer}
#studio-type-list button[aria-pressed=true]{border-color:#4774ad;background:#edf2fa}
.type-sample{font-size:clamp(18px,5vw,25px);line-height:1.15}

.cap-stage .preview-camera{display:inline-flex;align-items:stretch;border:1px solid #17223726;border-radius:7px;background:#eeeae2;min-width:0}
.cap-stage .preview-camera :is(#whole-cap,#focus-preview){min-height:42px;min-width:0;padding:4px clamp(8px,2vw,12px);color:#172237;border:0;border-radius:6px;text-decoration:none;white-space:nowrap;font:600 .82rem/1.25 "DM Sans",Arial,sans-serif}
.cap-stage .preview-camera :is(#whole-cap,#focus-preview)[aria-pressed=true]{color:#fff;background:#172237}
.cap-stage .preview-camera :is(#whole-cap,#focus-preview):focus-visible{outline:2px solid #5075c2;outline-offset:1px}

#studio-type-dialog{width:435px}
#studio-type-list{gap:12px}
.type-group{display:grid;gap:5px}
.type-group h3{margin:1px 0 2px;color:#454c58;font-size:.83rem;font-weight:600}
#studio-type-list .type-group button{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.type-group button > :last-child{overflow-wrap:anywhere}
@media(max-width:420px){#studio-type-list .type-group button{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}}
.type-sample{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

#cap-flow [hidden], #cap-flow[hidden], #cap-secondary[hidden], #cap-add-more[hidden],
#cap-product-actions[hidden], #studio-note-field[hidden], .history-actions[hidden],
.studio-controls #layer-list[hidden], .studio-controls #object-controls[hidden] { display:none; }

[data-cap-screen]>:is(.placement-fields,.add-design,.logo-file-help,#placement-help,.panel-title,.configuration-summary) { display:none; }
[data-cap-screen]:is([data-cap-screen="methods"],[data-cap-screen="change"],[data-cap-screen="content"])>:is(#layer-list,#object-controls,#add-proof) { display:none; }
[data-cap-screen="idle"]>#add-proof:disabled { display:none; }
#cap-product-actions { display:flex; flex-wrap:wrap; gap:4px 20px; padding-top:8px; margin-top:14px; border-top:1px solid var(--studio-border); }
#cap-product-actions .inline-link { min-height:44px; padding:0; font-size:.875rem; }
[data-cap-screen] #studio-note-field { margin-top:12px; }
[data-cap-screen] .history-actions { margin-top:10px; }

#cap-flow h3 { margin:0 0 10px; font-size:clamp(1.28rem,2.1vw,1.65rem); line-height:1.2; font-weight:600; letter-spacing:-.025em; }
#cap-flow h3:focus { outline:0; }
#cap-flow p { margin:0 0 16px; color:#465361; font-size:.94rem; line-height:1.45; }
#cap-flow .cap-back { min-height:42px; padding:0 0 6px; margin:0 0 8px; font-size:.875rem; }
#cap-flow .inline-link:focus-visible, #cap-flow .cap-method-option:focus-visible { outline:2px solid #3159dc; outline-offset:3px; }
#cap-method-options { display:grid; gap:8px; margin-top:14px; }
.cap-method-option { display:grid; grid-template-columns:clamp(86px,22%,112px) minmax(0,1fr); align-items:center; text-align:left; gap:14px; min-height:75px; padding:0 13px 0 0; border:1px solid #1722372e; border-radius:9px; background:#fff; color:#172237; cursor:pointer; font:inherit; overflow:hidden; }
.cap-method-option:hover { border-color:#586b91; background:#edf1f9; }
.cap-method-option img { width:100%; height:100%; max-height:90px; min-height:66px; object-fit:cover; align-self:stretch; background:#f4f2ed; }
.cap-method-option span { display:grid; gap:3px; min-width:0; padding:7px 0; }
.cap-method-option strong { font-size:.98rem; line-height:1.3; font-weight:650; }
.cap-method-option small { font-size:.84rem; color:#465361; line-height:1.36; }
.cap-content-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#cap-content .helper { margin-top:12px; }
#cap-edit { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; margin:0 0 12px; border-top:1px solid var(--studio-border); border-bottom:1px solid var(--studio-border); }
#cap-edit span, #cap-edit strong { display:block; }
#cap-edit span { font-size:.8rem; color:#465361; }
#cap-edit strong { font-size:.94rem; margin-top:2px; }
#cap-edit button, #cap-secondary button { font-size:.875rem; min-height:44px; }
#cap-secondary { display:flex; flex-wrap:wrap; gap:6px 16px; margin:10px 0 8px; align-items:center; }
[data-cap-screen] #object-controls>legend { font-size:.87rem; }
#stage-add { border:0; background:transparent; }
#stage-add:hover { background:#8cabe34d; }
#stage-add:focus-visible { outline:2px solid #3159dc; outline-offset:3px; }
.cap-method-option[aria-pressed="true"] { border-color:#48679a; background:#e8eefb; }
.studio-controls:has([data-cap-screen])>#design-status:empty { margin:0; }

.studio-brand { display:grid; gap:5px; margin-top:12px; max-width:260px; font-size:.875rem; }
.studio-brand select { min-height:44px; padding:7px 12px; border:1px solid var(--studio-border); border-radius:6px; background:#fff; color:#172237; font:inherit; }
#studio-more-products { margin-top:18px; }
.studio-brand [hidden], #studio-more-products[hidden], .library-no-photo[hidden] { display:none; }
.library-no-photo { color:#5c646a; text-align:center; }
.product-picker button { min-width:0; }
.product-picker strong, .product-picker .product-detail { overflow-wrap:anywhere; }

#view-picker button[hidden],#view-picker img[hidden]{display:none!important}

.studio-progress{scroll-margin-top:calc(var(--header,90px) + 16px)}
@media(min-width:761px){.studio-workspace{scroll-margin-top:max(110px,calc(var(--header,90px) + 24px))}}
@media(max-width:760px){body.mobile-editor-open .preview-note.without-product-photo{display:block!important;color:#873226;margin:0 0 3px;text-align:center}}

#size-grid:has(.size-cell:only-child){grid-template-columns:minmax(100px,180px)}
.studio-page [data-manual-surface] .preview-camera,
.studio-page [data-manual-surface] #toggle-guide,
.studio-page [data-manual-surface] .object-actions #center-object,
.studio-page [data-manual-surface] #object-controls>.range-label,
.studio-page [data-manual-surface] #object-width,
.studio-page [data-manual-surface] .advanced-controls{display:none!important}
.studio-page .preview-note.manual-placement{font-size:.84rem;color:#354254;margin-top:6px}

#manual-stage-empty{position:absolute;inset:0;display:grid;gap:4px;align-content:center;justify-items:center;padding:20px;text-align:center;pointer-events:none;color:#354254}
#manual-stage-empty[hidden]{display:none}
#manual-stage-empty span{font-size:.875rem}

#reference-note{margin:5px 0 0;color:#354254;font-size:.84rem;line-height:1.35;max-width:55ch}

.preview-identity{flex:1;min-width:0}
#reference-product-photo{flex:none;width:80px;height:80px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#efede7}
#reference-product-photo[hidden]{display:none}
#requested-size{margin:12px 0 0;border-top:1px solid var(--line);padding-top:4px}
#requested-size summary{display:flex;align-items:center;min-height:44px;gap:9px;font-size:.9rem;font-weight:600;cursor:pointer}
#requested-size summary::before{content:"";width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);margin:0 4px 0 2px}
#requested-size[open] summary::before{transform:rotate(45deg)}
#requested-size-value{font-weight:400;color:#4e5965;margin-left:auto;text-align:right;font-size:.78rem}
#requested-size .field-grid{gap:10px}
#requested-size .field{margin:3px 0 8px}
#requested-size input{width:100%;min-width:0}
#requested-size input[aria-invalid="true"]{border-color:#8b2d21}
#requested-size-error{color:#8b2d21}
.preview-tools{flex-wrap:wrap;row-gap:4px}
#other-placement{min-height:44px;padding:2px 0;border:0;background:none;color:inherit;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#other-placement-dialog{width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;color:#172237;background:#f8f6f1;border:1px solid #17223735;border-radius:10px}
#other-placement-dialog::backdrop{background:#101a2d75}
#other-placement-dialog h2{margin:0 0 16px;font-size:1.25rem}
#other-placement-dialog textarea{resize:vertical}
#other-placement-dialog .helper{margin:8px 0 16px}
#view-picker[hidden]{display:none}
