/* Public visual search and its owner-only preparation screen; no global selectors. */
.vs-page,.vs-admin{--vs-ink:#171b34;--vs-muted:#697185;--vs-line:#e3e5ed;--vs-accent:#b51447;color:var(--vs-ink)}
.vs-page *,.vs-admin *{box-sizing:border-box}
.vs-page [hidden],.vs-admin [hidden]{display:none!important}
.vs-page{padding:30px 0 54px;background:linear-gradient(#fff,#faf8fb)}
.vs-shell{width:min(1160px,calc(100% - 48px));margin:0 auto}
.vs-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;color:var(--vs-muted);font-size:11px}
.vs-breadcrumb a{color:inherit;text-decoration:none}.vs-breadcrumb a:hover{color:var(--vs-accent)}
.vs-heading{position:relative;padding:6px 0 25px}.vs-eyebrow{display:block;color:var(--vs-accent);font-size:10px;line-height:1.6;font-weight:850;letter-spacing:.14em}
.vs-heading h1{margin:12px 0 15px;font-size:clamp(36px,4.7vw,59px);line-height:1.06;font-weight:900;letter-spacing:-.045em}.vs-heading h1 span{color:var(--vs-accent)}
.vs-heading>p{max-width:590px;margin:0;color:var(--vs-muted);font-size:14px;line-height:1.8}.vs-local-note{display:inline-flex;align-items:center;gap:7px;margin-top:17px;padding:8px 11px;border-radius:8px;background:#edf5ef;color:#356744;font-size:11px;font-weight:750}
.vs-search-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;align-items:center;padding:28px;border:1px solid var(--vs-line);border-radius:23px;background:#fff;box-shadow:0 14px 45px #171b3406}
.vs-photo-panel{min-width:0}.vs-photo-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:257px;padding:27px;text-align:center;border:1px dashed #d7c4cf;border-radius:17px;background:#fbf8fa}.vs-photo-empty>span{display:grid;place-items:center;width:66px;height:66px;border-radius:17px;background:#f5e8ee;color:var(--vs-accent)}.vs-photo-empty h2{margin:18px 0 8px;font-size:20px;line-height:1.35;font-weight:850;letter-spacing:-.02em}.vs-photo-empty p{max-width:280px;margin:0;color:var(--vs-muted);font-size:12px;line-height:1.7}
.vs-preview{position:relative;display:flex;align-items:center;justify-content:center;min-height:257px;height:300px;overflow:hidden;border:1px solid var(--vs-line);border-radius:17px;background:#f6f7f8}.vs-preview>img{display:block;width:100%;height:100%;object-fit:contain;padding:12px}.vs-remove{position:absolute;inset:10px 10px auto auto;display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid var(--vs-line);border-radius:10px;background:#fff;color:var(--vs-ink);cursor:pointer}
.vs-photo-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:13px}.vs-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:46px;padding:11px 17px;border:1px solid var(--vs-accent);border-radius:11px;background:var(--vs-accent);color:#fff;font:inherit;font-size:12px;line-height:1.4;font-weight:800;text-decoration:none;cursor:pointer}.vs-button-light{background:#fff;border-color:#ded7e2;color:var(--vs-ink)}.vs-button:hover:not(:disabled){background:#98113d;color:#fff}.vs-button-light:hover:not(:disabled){background:#faf1f5;color:var(--vs-accent)}.vs-button:disabled{opacity:.45;cursor:default}.vs-file-hint{margin:10px 0 0;color:var(--vs-muted);font-size:10px;text-align:center;line-height:1.5}
.vs-search-copy{padding:4px 3px;min-width:0}.vs-step-label{font-size:9px;line-height:1.7;font-weight:850;letter-spacing:.1em;color:var(--vs-accent)}.vs-search-copy h2{margin:11px 0 23px;font-size:30px;line-height:1.2;font-weight:900;letter-spacing:-.035em}.vs-search-copy ol{display:grid;gap:17px;margin:0;padding:0;list-style:none}.vs-search-copy li{display:flex;align-items:flex-start;gap:13px;font-size:12px;line-height:1.7}.vs-search-copy li b{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:1px solid #ead5df;border-radius:8px;background:#fdf7fa;color:var(--vs-accent);font-size:10px}.vs-honest-note{margin:25px 0 0;padding-top:17px;border-top:1px solid var(--vs-line);color:var(--vs-muted);font-size:11px;line-height:1.8}
.vs-progress{position:relative;display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 22px;margin-top:19px;border:1px solid #e3d9e3;border-radius:15px;background:#fcf7fb}.vs-progress>div{display:flex;align-items:center;gap:13px;flex:1;min-width:180px}.vs-spinner{flex:0 0 20px;width:20px;height:20px;border:2px solid #e4d9e1;border-top-color:var(--vs-accent);border-radius:50%;animation:vs-spin .9s linear infinite}.vs-progress h2{margin:0;font-size:14px;line-height:1.5;font-weight:800}.vs-progress p{margin:3px 0 0;color:var(--vs-muted);font-size:11px;line-height:1.7}.vs-progress progress{width:100%;height:7px;order:3;accent-color:var(--vs-accent)}.vs-text-button{min-height:40px;padding:7px 10px;border:0;background:transparent;color:var(--vs-accent);font:inherit;font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.vs-feedback{margin-top:18px;padding:17px 20px;border:1px solid #e2d9df;border-radius:13px;background:#fcf7fa;color:#75374f;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.vs-results{margin-top:31px;scroll-margin-top:152px;overflow-anchor:none}.vs-results>header{margin-bottom:19px}.vs-results h2{margin:7px 0 8px;font-size:26px;line-height:1.25;font-weight:900;letter-spacing:-.025em}.vs-results>header>p{max-width:760px;margin:0;color:var(--vs-muted);font-size:12px;line-height:1.8}.vs-results>header>.vs-coverage-note{margin-top:9px;font-size:10px;color:#7a7584}.vs-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.vs-result-card .catalog-card-media{aspect-ratio:1.15;margin:9px 9px 0}.vs-result-card .catalog-card-copy{padding:17px 18px}.vs-result-card h3{margin:8px 0 0;color:var(--vs-ink);font-size:16px;line-height:1.5;font-weight:850}.vs-result-card .catalog-card-code{margin:13px 0 0;line-height:1.7}.vs-result-card .catalog-card-bottom{padding:0 18px 18px}.vs-result-card .catalog-card-action{margin:0}.vs-result-card .catalog-card-category{margin:0}.vs-result-card .vs-result-placeholder{display:grid;place-items:center;height:100%;color:var(--vs-muted);font-size:11px}
.vs-alternative{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:27px;font-size:12px;color:var(--vs-muted)}.vs-alternative a{display:inline-flex;align-items:center;gap:7px;color:var(--vs-accent);font-weight:800;text-decoration:none}.vs-unavailable{padding:25px;border:1px solid var(--vs-line);border-radius:17px;background:#fff;font-size:13px;line-height:1.8}.vs-unavailable h2{margin:0 0 9px;font-size:22px;line-height:1.35}.vs-unavailable p{margin:0 0 17px;color:var(--vs-muted)}
.vs-page :is(a,button,input):focus-visible,.vs-admin :is(a,button,input):focus-visible{outline:3px solid #b5144780;outline-offset:3px}
.vs-admin{display:grid;gap:20px}.vs-admin-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.vs-admin-intro h2{margin:0;font-size:25px;line-height:1.3;font-weight:850;letter-spacing:-.025em}.vs-admin-intro p{max-width:760px;margin:9px 0 0;color:var(--vs-muted);font-size:13px;line-height:1.8}.vs-admin-panel{padding:23px;border:1px solid var(--vs-line);border-radius:17px;background:#fff}.vs-admin-panel h3{margin:0 0 8px;font-size:18px;font-weight:850}.vs-admin-panel p{margin:0;color:var(--vs-muted);font-size:12px;line-height:1.8}.vs-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:0}.vs-admin-stats dt{color:var(--vs-muted);font-size:11px;line-height:1.6}.vs-admin-stats dd{margin:8px 0 0;font-size:25px;line-height:1.2;font-weight:850}.vs-admin-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.vs-admin-status{margin-top:16px!important;padding:14px 16px;border:1px solid #dce5dc;border-radius:11px;background:#f2f8f2;color:#356744!important}.vs-admin-status.is-error{border-color:#ead8df;background:#fcf3f6;color:#8c3556!important}.vs-admin-progress{width:100%;height:9px;margin-top:17px;accent-color:var(--vs-accent)}.vs-admin-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.vs-admin-help strong{display:block;margin-bottom:5px;font-size:13px}.vs-admin-help p{font-size:11px}.vs-admin-small{margin-top:13px!important;font-size:11px!important}.vs-admin-details{font-size:12px;line-height:1.7}.vs-admin-details summary{cursor:pointer;font-weight:800}.vs-admin-details dl{display:grid;gap:8px;margin-top:12px}.vs-admin-details dt{font-size:11px;color:var(--vs-muted)}.vs-admin-details dd{margin:0;overflow-wrap:anywhere}
@keyframes vs-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.vs-search-panel{gap:25px;padding:22px}.vs-search-copy h2{font-size:26px}.vs-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vs-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.vs-page{padding-top:20px}.vs-shell{width:calc(100% - 32px)}.vs-breadcrumb{margin-bottom:20px;font-size:10px}.vs-heading{padding-bottom:20px}.vs-heading h1{font-size:39px}.vs-heading>p{font-size:12px;line-height:1.8}.vs-local-note{font-size:10px}.vs-search-panel{grid-template-columns:minmax(0,1fr);gap:23px;padding:17px;border-radius:18px}.vs-photo-empty{min-height:218px;padding:23px 16px}.vs-preview{height:255px;min-height:218px}.vs-photo-empty h2{font-size:19px}.vs-photo-buttons{gap:8px}.vs-button{padding:11px 10px;font-size:11px}.vs-search-copy{padding:0 1px}.vs-search-copy h2{font-size:26px;margin-bottom:19px}.vs-search-copy ol{gap:13px}.vs-honest-note{margin-top:19px;padding-top:14px;font-size:10px}.vs-progress{padding:16px;gap:10px}.vs-progress>div{min-width:0;width:100%}.vs-progress h2{font-size:13px}.vs-progress p{font-size:10px}.vs-progress .vs-text-button{margin-left:auto}.vs-results h2{font-size:23px}.vs-results>header>p{font-size:11px}.vs-admin-intro{display:block}.vs-admin-intro .admin-button{margin-top:14px}.vs-admin-intro h2{font-size:23px}.vs-admin-panel{padding:18px}.vs-admin-help{grid-template-columns:minmax(0,1fr)}.vs-admin-stats{gap:18px 13px}.vs-admin-stats dd{font-size:23px}}
@media(max-width:480px){.vs-result-grid{grid-template-columns:minmax(0,1fr)}.vs-result-card .catalog-card-media{aspect-ratio:1.25}.vs-alternative{font-size:11px;gap:8px}.vs-admin-actions{display:grid;grid-template-columns:minmax(0,1fr)}.vs-admin-actions .vs-button{width:100%}}
@media(prefers-reduced-motion:reduce){.vs-page *,.vs-admin *{animation:none!important;transition:none!important}}

.vs-result-card.is-exact{grid-column:1/-1;width:100%;max-width:440px;justify-self:center}.vs-result-grid>.vs-similar-heading{grid-column:1/-1;margin:8px 0 0;font-size:18px;line-height:1.4;font-weight:850;color:var(--vs-ink)}

/* The storefront header is132/77/71px across its existing breakpoints; retain20px breathing room. */
@media(max-width:1199px){.vs-results{scroll-margin-top:97px}}
@media(max-width:767px){.vs-results{scroll-margin-top:91px}}
