/* V19.2: white storefront, isolated dark legacy dialogs */
body:not(.admin-control-mode),body:not(.admin-control-mode) main{background:white;color:#151119}
.hero,.creative{background:#fff!important;color:#151119!important}.hero:before,.creative:before{background:url('assets/ink-street.svg') right top/45% auto no-repeat;opacity:.12}.hero-copy,.creative .section-head{background:#ffffffed;padding:20px;border-radius:12px}.hero h1,.hero .lead,.hero .kicker,.creative h2,.creative .section-head p{color:#151119!important}.section-head>span,.creative .section-head>span,.hero .kicker{color:#7135c4!important}.section-head p,.creative .muted{color:#51495b!important}.hero .outline,.creative .outline{background:white;color:#7135c4;border-color:#7135c4}.hero-visual{background:white!important}.hero-visual:after{display:none}.hero-stamp{color:#171119;text-shadow:none;background:#ffffffed;padding:12px}.lab-grid form,.lab-card{background:white;color:#151119;border:1px solid #ded6e8}.lab-grid label,.lab-card p{color:#151119}.lab-grid canvas{border:1px solid #ded6e8;background:#fff;max-height:560px;object-fit:contain}.lab-gallery h4{color:#7135c4}.lab-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.lab-step{font-weight:900;color:#7135c4;font-size:12px;letter-spacing:1px}.lab-grid fieldset{border:0;padding:0;margin:0;display:grid;gap:12px}.lab-grid fieldset[hidden]{display:none}.lab-progress{height:5px;background:#eee;border-radius:5px;overflow:hidden}.lab-progress i{display:block;height:100%;background:#7135c4;transition:width .2s}.product{color:#151119;background:white!important;border-color:#ddd!important}.product-title,.product-price{color:#151119!important}.product-meta{color:#5d5363!important}.filter{background:white!important;color:#171119!important;border-color:#ddd!important}.filter.active{background:#7135c4!important;color:white!important}.panel,.designer-lab,.banner,.cta,.ticker,.modal,.footer,footer,.mobile-menu{color:#211b29}.panel .muted,.designer-lab .muted,.modal .muted{color:#211b29}.lab-admin-panel .lab-card{color:#151119}.lab-admin-panel .lab-card p{color:#151119}.lab-grid button:focus-visible{outline:3px solid #a875f3}.lab-grid canvas{touch-action:none}
.lab-tools [hidden]{display:none!important}.lab-grid form input,.lab-grid form select,.lab-grid form textarea{color:#171119!important;background:white!important}.lab-grid input[type=range]{accent-color:#7135c4}.product-actions select{background:#fff!important;color:#171119!important}.lab-grid form .btn.outline{color:#7135c4!important}

/* V20: storefront light surfaces, no legacy overlay */
body:not(.admin-control-mode),body:not(.admin-control-mode) main,body:not(.admin-control-mode) main .section,body:not(.admin-control-mode) .hero{background:#fff!important;color:#171119!important} .noise,.smoke{display:none!important}
body:not(.admin-control-mode) main :is(h1,h2,h3,h4,p,label,small,td,th){color:#171119!important} body:not(.admin-control-mode) main :is(.kicker,.section-head>span,.lab-step){color:#7135c4!important}
body:not(.admin-control-mode) main :is(.panel,.designer-lab,.measure-card,.wholesale-card,.size-table,.size-table th,.size-table td,.step,.bulk-hint,.lab-card,.lab-grid form,.badges span){background:#fff!important;color:#171119!important;border-color:#ded8e5!important}
body:not(.admin-control-mode) main :is(input:not([type=color]),select,textarea){background:#fff!important;color:#171119!important;border-color:#ccc!important} body:not(.admin-control-mode) main :is(.btn.primary,.filter.active){background:#7135c4!important;color:#211b29!important} body:not(.admin-control-mode) main .btn.outline{background:#fff!important;color:#7135c4!important;border-color:#7135c4!important}
body:not(.admin-control-mode) main .banner{background-color:#fff!important;color:#171119!important;justify-content:flex-end;padding:0;min-height:280px;background-size:contain!important;background-repeat:no-repeat!important;background-position:center top!important} .banner:after{display:none!important} body:not(.admin-control-mode) main .banner :is(h3,p){background:#fff!important;color:#171119!important;position:relative;z-index:2;margin:0;padding:8px 14px} .banner img{filter:none!important;opacity:1!important} .hero-visual img{object-fit:contain!important;filter:none!important;opacity:1!important} .hero:before,.creative:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:url('assets/ink-street.svg') right top/35% auto no-repeat;opacity:.16}.hero,.creative{position:relative;isolation:isolate}.site-logo{width:150px;max-height:80px;object-fit:contain}.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.lab-grid canvas{width:100%;height:auto}.lab-grid form{display:grid;gap:12px;padding:22px;border:1px solid #ddd;border-radius:12px}.lab-grid label{display:grid;gap:6px}.lab-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.lab-card{padding:15px;border:1px solid #ddd}.lab-card img{width:100%}.lab-admin{position:fixed;right:16px;bottom:65px;z-index:9999;background:#7135c4;color:white;padding:12px}.lab-admin-panel{position:fixed;inset:5%;overflow:auto;background:white;color:#171119;padding:24px;z-index:10000}.lab-admin-panel img{max-width:160px}.lab-admin-panel article{border-bottom:1px solid #ddd;padding:15px}.lab-admin-panel button{margin:5px;padding:8px}.header{background:white!important;color:#171119!important}.header nav a{color:#171119!important}.promo-bar,.cart-btn{background:#7135c4!important;color:white!important}.lab-card button{background:#7135c4;color:white;padding:10px;border:0}.lab-grid fieldset[hidden]{display:none!important}@media(max-width:760px){.lab-grid{grid-template-columns:1fr}.site-logo{width:110px}}
/* V20.1 final storefront contrast layer */
body:not(.admin-control-mode) {color-scheme:light;background:#fff!important;color:#171119!important}
body:not(.admin-control-mode) :is(main,section,footer,.footer,.mobile-menu,.modal-card,.panel,.designer-lab,.tracking-box,.measure-card,.wholesale-card,.dynamic-card,.banner,.cta,.ticker,.product,.lab-card,.lab-grid form,.delivery-data-card,.club-hero,.club-grid section,.login-required-strip,.bulk-hint,.v10-flow-card,.product-flow-intro,.simple-photo-help,.multi-preview,.view-tabs,.designer-upload-actions,.v10-final-total){background:#fff!important;color:#171119!important;border-color:#ddd6e5!important;text-shadow:none!important}
body:not(.admin-control-mode) :is(main,footer,.modal-card,.mobile-menu) :is(h1,h2,h3,h4,h5,p,label,small,td,th,span,b,strong,a,li){color:#171119!important;text-shadow:none!important}
body:not(.admin-control-mode) :is(main,footer,.modal-card) :is(.kicker,.lab-step,.section-head>span,.product-price){color:#7135c4!important}
body:not(.admin-control-mode) :is(main,footer,.modal-card,.mobile-menu) :is(button,.btn,input,select,textarea){color:#171119!important;background:#fff!important;border-color:#bcb4c7!important}
body:not(.admin-control-mode) :is(main,.modal-card,.mobile-menu) :is(.primary,.active,.variant-btn.selected,.lab-card button){background:#7135c4!important;color:#211b29!important;border-color:#7135c4!important}
body:not(.admin-control-mode) :is(.primary,.active) :is(span,b,strong){color:inherit!important}
body:not(.admin-control-mode) :is(.banner,.dynamic-card){display:flex;flex-direction:column;padding:0!important;min-height:0!important;gap:0;overflow:hidden}
body:not(.admin-control-mode) :is(.banner,.dynamic-card) img{position:static!important;inset:auto!important;width:100%!important;height:240px!important;object-fit:contain!important;opacity:1!important;filter:none!important;background:#fff}
body:not(.admin-control-mode) :is(.banner,.dynamic-card):after{display:none!important}
body:not(.admin-control-mode) :is(.banner,.dynamic-card) :is(h3,p){padding:10px 16px!important;margin:0!important;background:white!important;color:#171119!important}
body:not(.admin-control-mode) :is(.noise,.smoke){display:none!important}body:not(.admin-control-mode) .hero-visual:after{display:none!important}
body:not(.admin-control-mode) .lab-grid canvas{background:#f7f7f8!important;border:1px solid #e4e0e9;border-radius:12px;max-height:540px}
body:not(.admin-control-mode) .creative .section-head{padding:0 0 24px;background:transparent!important}.creative .lab-grid{align-items:start;gap:32px}.creative .lab-grid form{box-shadow:none!important;border-radius:8px;padding:24px}.creative .lab-grid>div:first-child{display:grid;gap:12px}.creative h2{letter-spacing:-.045em}.creative .lab-grid input[type=color]{min-height:44px}.creative .lab-grid input[type=checkbox]{width:auto}.creative .lab-grid fieldset[hidden],#accountAdminTab[hidden]{display:none!important}
/* V20.2 light theme: explicit surface and foreground pairs */
:root{color-scheme:light;--bg:#fff;--panel:#fff;--text:#211b29;--muted:#62596c}
body,body.admin-control-mode,body.admin-only{background:#fff!important;color:#211b29!important}
body :is(main,section,header,footer,aside,article,form,table,thead,tbody,tr,td,th,details,dialog,.modal-card,.admin-modal-card,.v10-admin,.v10-sidebar,.v10-main,.v10-top,.v10-content,.admin-login-screen,.admin-login-card,.v10-card,.v10-stat,.v10-edit-card,.v10-toolbar,.v10-order-card,.v10-media-preview,.product-media,.preview,.mockup-wrap,.hero-visual,.dynamic-card,.banner,.ticker,.dark-section,.lab-admin-panel){background-color:#fff!important;color:#211b29!important;border-color:#e0dbe7!important;background-image:none!important}
body :is(h1,h2,h3,h4,h5,h6,p,label,summary,td,th,small,span,strong,b,a,li){color:#211b29!important;text-shadow:none!important}
body :is(input,textarea,select,button,.btn){background-color:#fff!important;color:#211b29!important;border-color:#d8d0e2!important;background-image:none!important}
body :is(.primary,.cart-btn,.v10-btn:not(.ghost):not(.danger),.filter.active,.v10-sidebar nav button.active,.lab-card button,.lab-admin,.promo-bar){background:#7135c4!important;color:white!important;border-color:#7135c4!important}
body :is(.primary,.cart-btn,.v10-btn:not(.ghost):not(.danger),.filter.active,.v10-sidebar nav button.active,.promo-bar) :is(span,b,strong,i,small){color:#fff!important}
body :is(.kicker,.section-head>span,.lab-step,.v10-eyebrow,.product-price){color:#7135c4!important}
body :is(.noise,.smoke,.hero-visual:after,.dynamic-card:after,.banner:after){display:none!important}
body img{filter:none!important;opacity:1!important}body :is(.modal,.modal.show){background:rgba(255,255,255,.94)!important}
body :is(.v10-card,.v10-stat,.v10-edit-card,.v10-order-card){border:1px solid #e0dbe7!important;border-radius:14px;box-shadow:0 3px 14px #211b2908}
body .v10-sidebar{border-right:1px solid #e0dbe7!important}body .v10-brand b{color:#7135c4!important}body .v10-top{box-shadow:0 3px 12px #211b2908}
body .v10-sidebar nav button:hover{background:#f3eafa!important;color:#7135c4!important}body .v10-sidebar nav button.active:hover{background:#7135c4!important;color:white!important}
.media-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.media-library article{border:1px solid #e0dbe7;padding:16px;border-radius:12px;display:grid;gap:12px;align-content:start;min-width:0}.media-library img{width:100%;height:180px;object-fit:contain}.media-library input{max-width:100%;padding:8px}.media-library small{min-height:18px}.media-library [hidden]{display:none!important}
body .hero:before,body .creative:before{background:url('assets/ink-street.svg') right top/35% auto no-repeat!important;opacity:.12!important}body .lab-grid canvas{background:#fff!important}
/* V20.3 editorial white / violet */
body:not(.admin-control-mode) .header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto auto;gap:14px 20px;padding:14px 4vw 0;background:#fff!important;border-bottom:1px solid #e8d9fa!important}
body .header .logo-image-link{grid-column:2;grid-row:1;justify-content:center;min-width:0;height:76px;padding:0}
body .header .site-logo{width:210px;max-height:76px;object-position:center}
body .header .header-actions{grid-column:3;grid-row:1;justify-self:end;flex-wrap:wrap;justify-content:flex-end}
body .header #mainNav{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;flex-wrap:wrap;gap:12px 28px;padding:14px 0;border-top:1px solid #eee6f7}
body .header #mainNav a{font-size:11px;letter-spacing:1px;padding:5px 0;line-height:1.4}body .header #mainNav a[href="#creative"],body .header #mainNav a:hover{color:#7135c4!important}
body #bannerGrid{gap:24px;align-items:stretch}body #bannerGrid .banner{display:grid;grid-template-rows:clamp(160px,19vw,270px) 1fr;border:1px solid #e6d9f4!important;border-top:4px solid #8545d5!important;border-radius:14px;box-shadow:0 8px 24px #7135c40b;min-width:0;justify-content:stretch}
body #bannerGrid .banner-photo{overflow:hidden;background:#fff;display:grid;place-items:center}body #bannerGrid .banner-photo img{height:100%!important;max-height:270px;width:100%!important;object-fit:contain!important}
body #bannerGrid .banner-copy{display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;padding:22px;position:relative;background:#fff}body #bannerGrid .banner-copy .kicker{color:#7135c4!important;font-size:11px;letter-spacing:2px}body #bannerGrid .banner-copy :is(h3,p){padding:0!important;margin:0!important}body #bannerGrid .banner-copy h3{font-size:clamp(20px,2vw,30px);line-height:1.15;overflow-wrap:anywhere;letter-spacing:-.5px}body #bannerGrid .banner-copy p{line-height:1.55}body #bannerGrid .banner-link{color:#7135c4!important;text-decoration:none;font-size:12px;font-weight:900;letter-spacing:.8px;border-top:1px solid #eadff7;padding-top:15px;margin-top:5px}body #bannerGrid .banner-link:hover{text-decoration:underline}
body:not(.admin-control-mode) .section-head{border-left:4px solid #8545d5;padding-left:20px!important}body:not(.admin-control-mode) .section-head h2{line-height:1.02;letter-spacing:-.045em}body .hero .kicker,body .hero-stamp span{color:#7135c4!important}body .ticker{border-block:1px solid #dfc8f7!important}body #tickerText{color:#7135c4!important}body:not(.admin-control-mode) :is(main,.modal-card,.mobile-menu) :is(.primary,.filter.active,.variant-btn.selected,.lab-card button){color:#fff!important}body:not(.admin-control-mode) :is(main,.modal-card) :is(.primary,.filter.active,.variant-btn.selected,.lab-card button) :is(span,b,strong){color:#fff!important}
body .header a:focus-visible,body .banner-link:focus-visible{outline:2px solid #8545d5;outline-offset:4px}body{scroll-padding-top:185px}
@media(max-width:1000px){body .header{grid-template-columns:1fr auto 1fr;gap:8px;padding:10px 16px}body .header #mainNav{display:none}body .header .site-logo{width:155px;max-height:55px}body .header .logo-image-link{height:55px}body .header .header-actions{gap:5px}body .header #menuBtn{display:block}body #bannerGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}body #bannerGrid .banner-copy{padding:14px}body{scroll-padding-top:100px}}
@media(max-width:650px){body .header{grid-template-columns:1fr;grid-template-rows:auto auto}body .header .logo-image-link{grid-column:1;grid-row:1}body .header .header-actions{grid-column:1;grid-row:2;justify-self:center;justify-content:center}body .header .header-actions button{font-size:10px;padding:8px}body #bannerGrid{grid-template-columns:1fr;gap:20px}body #bannerGrid .banner{grid-template-rows:220px 1fr}body #bannerGrid .banner-copy{padding:20px}body .mobile-menu{top:130px;max-height:65vh;overflow:auto}body{scroll-padding-top:150px}}

.social-feed{background:#fff!important;color:#171717!important;padding:48px 24px;text-align:center}.social-kicker{color:#7836c5!important;font-weight:800;letter-spacing:.15em}.social-feed h2{color:#171717!important}.social-feed #socialGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;margin:24px auto;max-width:1100px}.social-feed #socialGrid a{display:grid;gap:8px;color:#171717;text-decoration:none;text-align:left}.social-feed img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.social-editor{background:white;color:#171717;width:min(720px,94vw);max-height:85vh;overflow:auto;border:1px solid #7836c5;border-radius:12px;padding:24px}.social-editor label{display:block;margin:8px 0}.social-editor input{display:block;width:100%;color:#171717;background:white}.social-editor button{margin:6px;padding:8px;color:#fff;background:#7836c5;border:0;border-radius:5px}.social-editor #list{display:grid;gap:12px}body.admin-control-mode .social-feed{display:none!important}

/* V21.2: responsive layout, three Instagram columns */
.social-feed #socialGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2vw,24px);width:100%}
.social-feed #socialGrid>a{min-width:0;align-content:start;overflow-wrap:anywhere}
.social-feed #socialGrid>p{grid-column:1/-1}
.social-feed #socialGrid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
body :is(.custom-grid,.custom-side-column,.panel,.designer-grid,.lab-grid,.lab-card,.product-detail,.product-grid,.v10-admin,.v10-card,.v10-grid2,.v10-order-body,.form-grid,.modal-card)>*{min-width:0}
body :is(img,canvas,video,iframe){max-width:100%}
body :is(input,select,textarea){max-width:100%;min-width:0}
body :is(.modal-card,.social-editor){max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;overflow-wrap:anywhere}
body :is(.v10-kanban,.track-timeline){max-width:100%;overflow-x:auto}
@media(max-width:1000px){body:not(.admin-control-mode) .header #mainNav{display:none}body :is(.custom-grid,.designer-grid,.lab-grid,.size-layout,.product-detail){grid-template-columns:minmax(0,1fr)!important}body .quote-panel{position:static!important}body .v10-admin{grid-template-columns:minmax(0,1fr)!important}body .v10-sidebar{position:static!important;width:100%!important;max-height:none!important}body .v10-sidebar nav{display:flex!important;flex-wrap:wrap;gap:6px}body .v10-sidebar nav button{flex:1 1 120px;white-space:normal}}
@media(max-width:650px){body:not(.admin-control-mode) .header{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;padding:10px 12px;gap:8px}body .header .header-actions{grid-column:1;grid-row:2;justify-self:center;justify-content:center;width:100%}body .header .logo-image-link{grid-column:1;grid-row:1}body .section{padding-inline:14px!important}body .section-head{padding-left:10px!important}body :is(.section-head h2,.social-feed h2,.hero h1){font-size:clamp(28px,8vw,48px)!important;overflow-wrap:anywhere}body :is(.suggested-guide-grid,.quick-stamp-rows,.media-library,.lab-gallery,.v15-kpis,.v10-formgrid,.v10-grid2,.v10-order-controls,.upload-grid,.preview-grid){grid-template-columns:minmax(0,1fr)!important}body :is(.mockup-wrap,.lab-grid canvas){min-width:0!important;max-width:100%!important}body .mockup-wrap canvas{min-height:0!important;height:auto!important}body .social-feed #socialGrid>a span{font-size:11px;line-height:1.3}body .social-feed{padding:30px 14px!important}body .v10-top{flex-wrap:wrap}body .v10-sidebar nav button{font-size:12px}body .modal-card{padding:14px!important}body .cart-item{grid-template-columns:minmax(0,1fr) auto;overflow-wrap:anywhere}body .promo-bar{white-space:normal;line-height:1.4}body .social-editor{padding:12px}}
