/* v18.10.53 · Style rectification (footwear plan + all categories) */
/* notifications sit clear of the round help and job buttons (they were covered on the right) */
#toast.toast{right:84px;bottom:20px;z-index:1300;max-width:min(380px,calc(100vw - 108px))}
html.ui-ar #toast.toast{left:20px;right:auto}
@media (max-width:640px){#toast.toast{left:12px;right:72px;bottom:calc(16px + env(safe-area-inset-bottom,0px));max-width:none}}
/* phone Style page: the round buttons and messages sit above the bottom Create bar instead of covering it */
html.u-mbar .udw-help-button{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
html.u-mbar .udw-job-button{bottom:calc(142px + env(safe-area-inset-bottom,0px))!important}
html.u-mbar #toast.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
/* footwear details */
.ss-fw-hidden{display:none!important}
.ss-fw{display:grid;gap:12px;margin-top:6px}
.ss-fw-intro,.ss-fw-notice{margin:0;font-size:13px;line-height:1.45;color:var(--muted,#9aa3b5)}
.ss-fw-notice:empty{display:none}
.ss-fw-notice{padding:8px 12px;border-radius:10px;background:#1d2b44;color:#e7eefb;border:1px solid #3a5480}
.ss-fw-recipe{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.ss-fw-recipe label{display:grid;gap:4px;font-size:12px}
.ss-fw-recipe select,.ss-fw-place select{min-height:40px;border-radius:10px;padding:6px 10px}
.ss-fw-recipe button{min-height:40px;border-radius:10px;padding:6px 14px}
.ss-fw-sec{border:1px solid #ffffff1f;border-radius:14px;padding:10px 12px}
.ss-fw-sec>h5{margin:0 0 6px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#c9b8ff}
.ss-fw-group{margin:4px 0 8px}
.ss-fw-group>h4{margin:0 0 6px;font-size:13.5px;font-weight:650}
.ss-fw-group>h4 small{font-weight:500;opacity:.7;margin-left:6px}
.ss-fw-rail:not(.u-gal-replaced){display:flex!important;flex-wrap:wrap;gap:8px;overflow:visible!important}
.ss-fw-opt{display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 12px 5px 5px!important;border-radius:12px!important;border:1px solid #ffffff2e;background:#ffffff0d;color:inherit;text-align:left}
.ss-fw-opt img{width:34px;height:34px;object-fit:cover;border-radius:8px;background:#fff}
.ss-fw-opt small{display:none}
.ss-fw-opt[aria-pressed="true"]{border-color:#a78bfa;background:#a78bfa2b;box-shadow:0 0 0 2px #a78bfa55}
.ss-fw-opt[aria-pressed="true"] strong::after{content:" ✓"}
.ss-fw-opt:focus-visible{outline:3px solid #8ab4ff;outline-offset:2px}
.ss-fw-chosen{border-top:1px dashed #ffffff26;padding-top:8px;font-size:13px}
.ss-fw-chosen ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.ss-fw-chosen li{display:flex;align-items:center;gap:6px;padding:4px 4px 4px 10px;border-radius:999px;background:#ffffff12}
.ss-fw-chosen li span{opacity:.7}
.ss-fw-chosen li button{min-width:28px;min-height:28px;border-radius:50%;padding:0;border:0;background:#ffffff1a;color:inherit}
.ss-fw-chosen p{margin:4px 0 0;opacity:.75}
.ss-fw-place{display:grid;gap:4px;margin:0 0 10px;font-size:13px}
.ss-fw-place small{color:#ffb4a1}
.ss-fw-place small:empty{display:none}
/* family variants (outside the picker) */
.ss-variant-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0}
.ss-variant-row span{font-size:12.5px;opacity:.8}
.ss-variant{min-height:40px;border-radius:999px!important;padding:6px 14px!important}
.ss-variant[aria-pressed="true"]{border-color:#a78bfa!important;background:#a78bfa33!important}
/* colour finder */
.ss-colour-find{display:grid;gap:8px;margin:4px 0 8px}
.ss-colour-find label{display:grid;gap:4px;font-size:12.5px}
.ss-colour-find input{min-height:40px;border-radius:10px;padding:6px 12px;max-width:420px}
.ss-cf-fams{display:flex;flex-wrap:wrap;gap:6px}
.ss-cf-fams button{min-height:34px;border-radius:999px!important;padding:4px 12px!important;font-size:12.5px}
.ss-cf-out{margin:0;font-size:12.5px;opacity:.85}
.ss-cf-out:empty{display:none}
.ss-cf-custom{display:inline-flex;align-items:center;gap:8px;min-height:38px;border-radius:999px;padding:4px 14px 4px 6px;width:max-content}
.ss-cf-custom i{width:26px;height:26px;border-radius:50%;border:1px solid #0003}
/* Choose waits until the carousel settles */
.u-gal-spot[data-settling="1"] [data-a=go]{opacity:.55;cursor:progress}
/* preview pane: reference label and chosen swatches */
.ss-preview-caption .u-shape-ref{letter-spacing:.02em}
.u-ref-swatches{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px;font-size:12px}
.u-ref-swatches i{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid #0004}
.u-ref-swatches img{border-radius:4px;vertical-align:middle}
/* results tied to a design revision */
.u-style-card .u-rev{display:block;font-size:11.5px;font-style:normal;opacity:.8}
.u-style-card.u-rev-old{opacity:.72}
.u-style-card.u-rev-old .u-rev{color:#ffcf8a;opacity:1}
/* light theme */
html.ut-light .ss-fw-notice{background:#eef3ff;color:#1b2a4a;border-color:#b9c9ee}
html.ut-light .ss-fw-opt{background:#fff;border-color:#d4d7e3}
html.ut-light .ss-fw-sec{border-color:#dfe2ec}
html.ut-light .ss-fw-chosen li{background:#f1f2f8}
@media (prefers-reduced-motion:reduce){.u-gal-spot[data-settling="1"] [data-a=go]{opacity:1}}
/* small dropdown settings open together, each with its name */
.u-open-group .ss-setting>h4{display:block!important;margin:0 0 6px;font-size:13px;font-weight:650}
.u-open-group+.u-open-group{margin-top:-6px}
/* ---------- v18.10.54 · owner recording 27 Oct 2026 ---------- */
/* the small material sample next to the caption stays small (it was stretched over the shoe picture) */
#smart-fashion-selector[data-two-step] .ss-preview-style .ss-preview-caption .u-ref-swatches img,#smart-fashion-selector .ss-preview-style .ss-preview-caption .u-ref-swatches img,.ss-preview-caption .u-ref-swatches img{position:static!important;inset:auto!important;transform:none!important;width:16px!important;height:16px!important;max-width:16px!important;min-height:0!important;object-fit:cover!important;display:inline-block!important;margin:0!important;border-radius:4px;box-shadow:none!important}
/* colour finder sits above the carousel, compact */
.ss-colour-find{margin:2px 0 10px;padding:0}
.ss-colour-find label{grid-template-columns:auto minmax(0,420px);align-items:center;gap:10px}
@media (max-width:640px){.ss-colour-find label{grid-template-columns:1fr}}
/* long names never run into the Choose button */
#smart-fashion-selector .u-gal-pick .u-gal-spot{grid-template-columns:minmax(0,1fr)!important}
#smart-fashion-selector .u-gal-pick .u-gal-spot h3{white-space:normal;overflow-wrap:anywhere;line-height:1.2;margin:0}
#smart-fashion-selector .u-gal-pick .u-gal-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
#smart-fashion-selector .u-gal-pick .u-gal-acts [data-a=go]{max-width:100%;white-space:normal;text-align:center}
/* long jumps place the cards directly (no empty stage) */
.u-gal-instant .u-gal-card{transition:none!important}
.u-gal-spot[aria-busy="true"] [data-a=go]{opacity:.55;cursor:progress}
/* result card: the text gets the full width under the picture */
.u-style-meta .u-make-btn,.u-style-meta .u-rev{grid-column:1/-1!important}
.u-style-meta b{white-space:nowrap}
/* "Let AI choose" for the closure */
.ss-fw-ai{margin-left:8px;min-height:30px;padding:3px 10px!important;border-radius:999px!important;font-size:12px}
.ss-fw-ai[aria-pressed="true"]{border-color:#a78bfa!important;background:#a78bfa33!important}
.ss-fw-ai[aria-pressed="true"]::after{content:" ✓"}
/* shoe size in the production dialog */
.udp-shoe{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* the preview column scrolls by itself, so a short step does not leave a tall empty area beside it */
@media (min-width:1000px){
  #page-style.u-studio .ss-preview-pane{position:sticky;top:calc(var(--u-top,72px) + 8px);max-height:calc(100vh - var(--u-top,72px) - 16px);overflow:auto;overscroll-behavior:contain}
  #page-style.u-studio .ss-layout{align-items:start}
}
/* v18.10.54: the older two-step rule (ID selector, !important) kept the preview column full height; on wide screens it now scrolls by itself */
@media (min-width:1051px){.u-studio #smart-fashion-selector[data-two-step] .ss-preview-pane{position:sticky!important;top:calc(var(--u-top,72px) + 8px)!important;max-height:calc(100vh - var(--u-top,72px) - 16px)!important;overflow:auto!important;overscroll-behavior:contain}}
