/* V12: explicit surface/text pairs; image-led, horizontally scrollable workspaces. */
:root{--w12-bg:#13283b;--w12-card:#233d55;--w12-text:#fff6e5;--w12-muted:#d6e4f2;--w12-gold:#f0cf83}
#storeBuilderApp.s11-store .vw-flow-help{background:#eaf0f5!important;color:#1a354d!important;border:1px solid #90a5b8;padding:12px;border-radius:10px}
#storeBuilderApp.s11-store .vw-flow-help :is(p,span,small,strong,b,a){color:#1a354d!important}
:is(#storeBuilderApp.s11-store,#visualWorkshop) .r796-makers{background:#f8f5ec!important;color:#163e32!important}
:is(#storeBuilderApp.s11-store,#visualWorkshop) .r796-makers :is(h2,h3,p,small,strong,.r798-eyebrow){color:#163e32!important;opacity:1!important}
:is(#storeBuilderApp.s11-store,#visualWorkshop) .r796-makers .r796-maker-card{background:#fffdf7!important;color:#163e32!important}
:is(#storeBuilderApp.s11-store,#visualWorkshop) .r796-makers .r798-maker-direct{background:#153e32!important;color:#fff8e8!important}
:is(#storeBuilderApp.s11-store,#visualWorkshop) .r796-makers .r798-maker-direct :is(span,b){color:inherit!important}
#storeBuilderApp.s11-store .store-studio-view-tabs{display:flex!important;flex-flow:row nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;padding:8px}
#storeBuilderApp.s11-store .store-studio-view-tabs button{flex:0 0 170px;display:grid!important;grid-template-columns:28px minmax(0,1fr);gap:4px 6px;align-items:center;text-align:left;min-height:70px;padding:10px!important;white-space:normal;word-break:keep-all}
#storeBuilderApp.s11-store .store-studio-view-tabs button>span{grid-row:1/3;display:block;width:auto;min-width:24px;height:auto;padding:4px 0;white-space:nowrap;text-align:center}
#storeBuilderApp.s11-store .store-studio-view-tabs button>b{font-size:14px;line-height:1.5;color:#fff6e5}
#storeBuilderApp.s11-store .store-studio-view-tabs button>small{font-size:12px;line-height:1.5;color:#d6e4f2}
#storeBuilderApp.s11-store .store-builder-steps{display:flex!important;flex-flow:row nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:8px;scrollbar-width:thin;scroll-snap-type:x proximity}
#storeBuilderApp.s11-store .store-builder-steps button{flex:1 0 120px;display:flex;flex-direction:row;min-height:62px;font-size:13px;padding:8px;gap:8px;scroll-snap-align:start;white-space:normal;word-break:keep-all}
#storeBuilderApp.s11-store .store-builder-steps img{width:40px;height:44px;flex:none;margin:0}
#storeBuilderApp.s11-store .store-builder-steps b{display:block;white-space:nowrap;font-size:12px;color:#f0cf83}
.svh-card .svh-path,.svh-card .svh-quick,.svh-card .svh-step-nav{overflow-x:auto}
.svh-card [data-svh-step]{display:flex!important;align-items:center;gap:6px;min-width:0;min-height:48px;height:auto!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:normal!important}
.svh-card [data-svh-step]>:first-child{flex:none;white-space:nowrap;word-break:normal}
#visualWorkshop .vw-steps{display:flex!important;overflow-x:auto;gap:8px;scroll-snap-type:x proximity}
#visualWorkshop .vw-steps button{flex:1 0 128px!important;min-height:58px!important;line-height:1.5;word-break:keep-all;white-space:normal;scroll-snap-align:start}
#visualWorkshop .vw-steps button>span{white-space:nowrap;display:block}
.ca11-filters{padding:8px!important;margin:8px 0!important}
.ca11-filters>div{margin:4px 0!important}
.ca11-filters .ca11-filter-rail{padding:4px 0 7px!important;gap:6px}
.ca11-filters [data-ca11-count]{margin:6px 0!important;font-size:12px!important;line-height:1.5!important}
.vw-ip-grid.ca11-grid{margin-top:8px!important}
.w12-surface,.w12-dialog{box-sizing:border-box;background:#13283b!important;color:#fff6e5!important;border:1px solid #7891a7;border-radius:14px;padding:16px;min-width:0;max-width:100%;word-break:keep-all;overflow-wrap:anywhere}
.w12-surface *,.w12-dialog *{box-sizing:border-box}
.w12-surface :is(h1,h2,h3,strong,label),.w12-dialog :is(h2,h3,strong){color:#fff6e5!important}
.w12-surface :is(p,small,span),.w12-dialog :is(p,small,span){color:#d6e4f2!important}
.w12-surface h1{font-size:26px;margin:4px 0 10px}.w12-surface h2{font-size:20px;margin:8px 0}.w12-surface h3{font-size:16px}
.w12-surface p{font-size:14px;line-height:1.6;margin:8px 0}
.w12-surface button,.w12-surface a,.w12-dialog button,.w12-dialog a,#v12ResumeDock{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#284960!important;color:#fff7e8!important;border:1px solid #8aa4ba;border-radius:9px;min-height:44px;padding:9px 12px;font:inherit;font-size:14px;line-height:1.5!important;white-space:normal!important;word-break:keep-all;text-decoration:none;cursor:pointer;opacity:1}
.w12-surface button:disabled{background:#33495b!important;color:#dae3eb!important;cursor:default;border-style:dashed}
.w12-surface .w12-primary,.w12-dialog .w12-primary{background:#f0cf83!important;color:#172b39!important;font-weight:700}
.w12-surface button:focus-visible,.w12-surface a:focus-visible,.w12-dialog button:focus-visible{outline:3px solid #f0cf83;outline-offset:3px}
.w12-surface [hidden],.w12-dialog [hidden],#v12ResumeDock[hidden]{display:none!important}
.w12-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}
.w12-toolbar>strong{margin-right:auto}.w12-toolbar>button[data-w12-dir]{min-width:44px}
.w12-grid{display:grid!important;grid-template-columns:none!important;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:174px;gap:10px;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#9fb9c7 #102032;padding:6px 3px 14px;max-width:100%;min-width:0;min-height:0}
.w12-grid>*{scroll-snap-align:start;min-width:0}
.w12-grid:has(>:only-child){grid-template-rows:auto}
.w12-grid>article{display:flex!important;flex-direction:column!important;background:#233d55!important;border:1px solid #8197ac;border-radius:12px;padding:8px;gap:6px;margin:0;color:#fff6e5!important}
.w12-grid article>button:first-child{display:block;padding:0!important;border:0;background:#ede9df!important;width:100%}
.w12-grid img{display:block!important;width:100%!important;max-width:none!important;height:136px!important;object-fit:contain!important;background:#ede9df;border-radius:8px;aspect-ratio:auto}
.w12-grid strong{font-size:14px;line-height:1.5}.w12-grid small{font-size:12px;line-height:1.5}.w12-grid button,.w12-grid a{padding:6px;font-size:13px;width:100%}
.w12-empty{grid-column:1/3;padding:12px}
.w12-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow:auto}
.w12-dialog::backdrop{background:#03131dcc}.w12-dialog header{display:flex;gap:12px;align-items:start;justify-content:space-between}.w12-dialog h2{font-size:22px}.w12-dialog>img{width:100%;height:min(52dvh,480px);object-fit:contain;background:#e9e4db;border-radius:10px}
#v12Box{margin:12px auto;max-width:1200px}#v12Box>section{margin-top:20px;border-top:1px solid #668095;padding-top:12px}
#v12Box nav.w12-toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}#v12Box nav.w12-toolbar button{flex:none;white-space:nowrap!important}
#v12Maker{margin:12px 0;scroll-margin-top:90px}#v12Maker iframe{display:block;width:100%;height:calc(100dvh - 175px);min-height:340px;border:1px solid #90a5b8;border-radius:10px;background:#13283b}
#v12ResumeDock{position:fixed;right:12px;bottom:72px;z-index:38;max-width:220px;background:#f0cf83!important;color:#142b3c!important;box-shadow:0 3px 15px #0005;font-weight:700}
.w12-folded{display:none!important}.w12-fold-bar{margin:12px 0;padding:10px}
.w12-box-page [data-view=my]>.my-hero,.w12-box-page [data-svh-key=my]{display:none!important}
.w12-box-page .my-panel{display:block!important;margin:20px 0;padding:14px;background:#f8f5ec;color:#173329;border-radius:12px}
.w12-box-page .my-panel :is(h2,h3,p,small){color:#173329!important}
.w12-box-page .my-id-card{display:none!important}
.w12-box-page .my-tabs{display:flex;overflow-x:auto;gap:8px}.w12-box-page .my-tabs button{flex:none;white-space:nowrap;min-height:44px}
.w12-box-page .my-panel .w12-grid article{color:#fff6e5!important}.w12-box-page .my-panel .w12-grid :is(h3,p,small){color:#e0eafa!important}
.w12-box-embedded #appHeader,.w12-box-embedded .app-header,.w12-box-embedded .app-footer,.w12-box-embedded .app-bottom-nav,.w12-box-embedded .r791-collection-return,.w12-box-embedded .r798-mobile-tools,.w12-box-embedded [data-svh-key=products],.w12-box-embedded #v12ResumeDock{display:none!important}
.w12-box-embedded body{padding:0!important}.w12-box-embedded main{padding-top:0!important}
@media(max-width:760px){
 .w12-surface{padding:12px 8px}.w12-grid{grid-auto-columns:142px;gap:8px}.w12-grid img{height:114px!important}
 #v12Box h1{font-size:23px}#v12Box nav.w12-toolbar button{font-size:13px}
 .svh-card [data-svh-step]{font-size:12px!important;padding:8px!important}
 #storeBuilderApp.s11-store .store-builder-steps button{flex:0 0 126px!important;padding:8px!important;font-size:13px!important}
 #storeBuilderApp.s11-store .store-studio-view-tabs button{flex-basis:156px}
 #v12Maker iframe{height:calc(100dvh - 155px)}
}

.svh-card .svh-actions{display:flex!important;flex-flow:row nowrap;overflow-x:auto;gap:8px;padding-bottom:6px;scrollbar-width:thin}.svh-card .svh-actions button{flex:1 0 132px!important}.svh-card .svh-actions small{white-space:nowrap;flex:0 0 auto!important}.svh-card .svh-actions span{min-width:0;word-break:keep-all}

.w12-box-page .my-panel .w12-grid :is(h2,h3,h4,strong,label){color:#fff6e5!important}
.w12-box-page .my-panel .w12-grid .project-card-actions{display:flex;flex-direction:column;gap:6px}
.w12-box-page .my-panel .w12-grid .project-card-actions :is(a,button){background:#284960!important;color:#fff7e8!important;min-height:44px;padding:8px;border:1px solid #8aa4ba;border-radius:9px;white-space:normal;line-height:1.5;font-size:13px}
/* The parent already has a guide; keep the actual generation character in its dialog. */
html.w12-box-embedded .savori-voice-root,html.s10-embedded .savori-voice-root{display:none!important}
html.w12-box-embedded #visualWorkshop{width:100%!important;margin:0!important;padding:10px!important;border-radius:0!important}
html.w12-box-embedded .vw-status{position:static!important}
body:has(.vg-reopen:not([hidden])) #v12ResumeDock{display:none!important}
.w12-account-changed :is(#visualWorkshop,.vg-reopen,#v12ResumeDock){display:none!important}
