:root{--vbd-ink:#17181b;--vbd-muted:#777a82;--vbd-line:#ececef;--vbd-soft:#f7f7f8;--vbd-accent:#111;--vbd-green:#07866f;--vbd-danger:#e34242;--vbd-shadow:0 18px 55px rgba(16,18,24,.12)}
.vbd-studio,.vbd-studio *{box-sizing:border-box}.vbd-studio button,.vbd-studio input{font:inherit}.vbd-studio button{cursor:pointer}.vbd-studio svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vbd-studio{position:relative;width:100%;max-width:1600px;min-height:760px;margin:0 auto;background:#fff;color:var(--vbd-ink);font:14px/1.45 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:1px solid var(--vbd-line);overflow:hidden;isolation:isolate}
.vbd-topbar{height:72px;display:grid;grid-template-columns:44px minmax(110px,1fr) auto 44px;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid var(--vbd-line);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);position:relative;z-index:30}
.vbd-top-icon{width:42px;height:42px;border:1px solid var(--vbd-line);border-radius:13px;background:#fff;color:#202126;display:grid;place-items:center}.vbd-top-icon svg{width:21px;height:21px}.vbd-design-title{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:9px 4px!important;font-size:19px!important;font-weight:800;color:#16171a}.vbd-finish{height:43px;padding:0 24px;border:0;border-radius:13px;background:#16171a;color:#fff;font-weight:750;box-shadow:0 7px 20px rgba(0,0,0,.14)}
.vbd-workspace{display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(430px,.88fr);height:calc(100vh - 74px);min-height:690px;max-height:980px}.vbd-stage{position:relative;display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--vbd-line);background:radial-gradient(circle at 50% 38%,#fff 0,#fff 47%,#fbfbfc 100%);overflow:hidden}.vbd-floating-metrics{position:absolute;z-index:9;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;pointer-events:none}.vbd-metric{pointer-events:auto;display:flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid #e4e5e8;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(19,21,28,.055);color:#25262a}.vbd-metric span{font-size:10px;letter-spacing:.08em;color:#989aa0;font-weight:850}.vbd-metric strong{font-size:15px}.vbd-metric:first-child strong{color:var(--vbd-green)}
.vbd-canvas-wrap{position:relative;flex:1;min-height:480px;display:grid;place-items:center;overflow:hidden;touch-action:none}.vbd-canvas-wrap canvas{display:block;width:100%;height:100%;max-width:980px;max-height:980px;position:relative;z-index:3;touch-action:none;cursor:grab}.vbd-canvas-wrap canvas:active{cursor:grabbing}.vbd-center-wordmark{position:absolute;z-index:1;inset:0;display:grid;place-items:center;color:#c8c9cc;font-size:clamp(28px,4vw,50px);font-weight:650;letter-spacing:.34em;text-indent:.34em;pointer-events:none;user-select:none}.vbd-string-placeholder{position:absolute;width:min(51%,490px);aspect-ratio:1;border:2px solid #ececee;border-radius:50%;box-shadow:inset 0 0 0 2px #fafafa;pointer-events:none;z-index:0}.vbd-empty-copy{position:absolute;z-index:4;left:50%;bottom:10%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;color:#92949a;pointer-events:none;white-space:nowrap}.vbd-empty-copy strong{color:#4d4f54}.vbd-drag-tip{position:absolute;z-index:8;left:50%;bottom:12%;transform:translateX(-50%);padding:8px 12px;border-radius:999px;background:#17181b;color:#fff;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.18);pointer-events:none}
.vbd-stage-controls{height:70px;padding:8px 18px 14px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.vbd-zoom-pill{justify-self:start;border:1px solid #e1e2e5;border-radius:999px;background:#fff;padding:8px 13px;font-weight:750}.vbd-control-cluster{display:flex;gap:7px}.vbd-mini-control{width:38px;height:38px;border:1px solid #e7e7ea;border-radius:12px;background:#fff;display:grid;place-items:center}.vbd-mini-control svg{width:19px}.vbd-trash{justify-self:end;width:48px;height:48px;border:1px solid #f0dcdc;border-radius:50%;background:#fff8f8;color:var(--vbd-danger);display:grid;place-items:center;position:relative;transition:.2s}.vbd-trash svg{width:21px}.vbd-trash span{display:none}.vbd-trash.armed{transform:scale(1.17);background:#ffe6e6;border-color:#f5b6b6;box-shadow:0 7px 22px rgba(227,66,66,.18)}
.vbd-fit-popover,.vbd-total-popover{position:absolute;z-index:25;top:64px;left:18px;width:min(390px,calc(100% - 36px));padding:18px;border:1px solid #e4e5e8;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:var(--vbd-shadow);backdrop-filter:blur(18px)}.vbd-total-popover{left:auto;right:18px}.vbd-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.vbd-popover-head small{display:block;color:#97999f;font-size:10px;font-weight:850;letter-spacing:.1em}.vbd-popover-head strong{display:block;font-size:17px}.vbd-popover-head button{border:0;background:#f3f3f5;width:31px;height:31px;border-radius:50%;font-size:20px}.vbd-size-value{display:flex;align-items:baseline;gap:6px;margin:18px 0 8px}.vbd-size-value strong{font-size:36px}.vbd-size-value span{color:#73767d;font-weight:700}.vbd-fit-popover input[type=range]{width:100%;accent-color:#16171a}.vbd-fit-presets{display:flex;gap:7px;overflow:auto;padding:12px 0 4px}.vbd-fit-presets button{flex:0 0 auto;border:1px solid #e2e3e6;border-radius:999px;background:#fff;padding:7px 10px;font-size:12px}.vbd-fit-status{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--vbd-line)}.vbd-fit-status span{color:#7b7e85}.vbd-fit-status strong{color:var(--vbd-green)}.vbd-fit-popover>p{margin:10px 0 0;color:#8a8d94;font-size:12px}.vbd-price-lines{max-height:300px;overflow:auto;margin:15px 0}.vbd-price-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:10px 0;border-bottom:1px solid #f0f0f2}.vbd-price-line span{display:block;color:#74777e;font-size:12px}.vbd-price-line strong{font-size:13px}.vbd-price-line em{font-style:normal;font-weight:750}.vbd-price-total{display:grid;grid-template-columns:1fr auto;gap:6px;padding-top:10px}.vbd-price-total span{color:#777a81}.vbd-price-total strong{font-size:20px}.vbd-price-total del{color:#999;font-size:13px}
.vbd-library{display:grid;grid-template-columns:118px minmax(0,1fr);min-width:0;background:#fff;overflow:hidden}.vbd-category-list{padding:15px 9px;display:flex;flex-direction:column;gap:8px;overflow:auto;border-right:1px solid var(--vbd-line);background:#fcfcfd}.vbd-category-list button{min-height:53px;border:1px solid transparent;border-radius:14px;background:#fff;color:#656870;padding:7px 6px;font-size:12px;font-weight:750;line-height:1.1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.vbd-category-list button i{width:10px;height:10px;border-radius:50%;background:var(--cat,#111)}.vbd-category-list button.active{background:#111216;color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.13)}.vbd-library-main{min-width:0;padding:15px 15px 22px;display:flex;flex-direction:column;overflow:hidden}.vbd-search{height:47px;display:grid;grid-template-columns:23px 1fr 30px;align-items:center;gap:7px;padding:0 12px;border:1px solid #dedfe3;border-radius:14px;background:#fff;flex:0 0 auto}.vbd-search svg{width:20px;color:#9a9ca2}.vbd-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-width:0}.vbd-search button{border:0;background:transparent;font-size:20px;color:#999}.vbd-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px;overflow:auto;padding:0 2px 70px}.vbd-material-card{position:relative;min-width:0;padding:8px 6px 10px;border:1px solid #f0f0f2;border-radius:15px;background:#fff;text-align:center;transition:.16s;user-select:none}.vbd-material-card:hover{transform:translateY(-2px);border-color:#dedfe3;box-shadow:0 9px 22px rgba(18,20,26,.07)}.vbd-material-image{aspect-ratio:1;display:grid;place-items:center;overflow:hidden}.vbd-material-image img{width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(20,20,28,.16));pointer-events:none}.vbd-material-card strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.vbd-material-card small{display:block;margin-top:3px;color:#777b82;font-size:11px}.vbd-material-price del{opacity:.62;margin-left:3px}.vbd-photo-button{position:absolute;z-index:3;top:6px;right:6px;width:25px;height:25px;border:0;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:#65707d;box-shadow:0 3px 10px rgba(0,0,0,.08)}.vbd-photo-button svg{width:15px}.vbd-stock-badge{position:absolute;left:7px;top:7px;padding:3px 6px;border-radius:999px;background:#fff2f2;color:#c94a4a;font-size:9px;font-weight:800}.vbd-no-results,.vbd-library-loading{grid-column:1/-1;padding:45px 10px;text-align:center;color:#8a8d94}
.vbd-chat{position:absolute;z-index:20;right:22px;bottom:22px;width:54px;height:54px;border:0;border-radius:50%;background:#1d78ff;color:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(29,120,255,.3)}.vbd-chat svg{width:25px}
.vbd-drawer{position:absolute;z-index:90;inset:0;pointer-events:none}.vbd-drawer.open{pointer-events:auto}.vbd-drawer-backdrop{position:absolute;inset:0;background:rgba(9,10,13,.33);opacity:0;transition:.22s}.vbd-drawer.open .vbd-drawer-backdrop{opacity:1}.vbd-drawer-panel{position:absolute;right:0;top:0;bottom:0;width:min(390px,91vw);padding:22px;background:#fff;box-shadow:-20px 0 55px rgba(0,0,0,.15);transform:translateX(102%);transition:.24s ease;overflow:auto}.vbd-drawer.open .vbd-drawer-panel{transform:none}.vbd-drawer-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--vbd-line)}.vbd-drawer-head small{display:block;color:#999ba1;font-size:9px;letter-spacing:.1em}.vbd-drawer-head strong{font-size:22px}.vbd-drawer-head button{border:0;background:#f2f2f4;border-radius:50%;width:34px;height:34px;font-size:21px}.vbd-drawer-design{padding:18px 0}.vbd-drawer-design span,.vbd-drawer-design small{display:block;color:#8b8e95;font-size:12px}.vbd-drawer-design strong{display:block;font-size:17px}.vbd-drawer-nav{display:flex;flex-direction:column;gap:7px}.vbd-drawer-nav button{display:grid;grid-template-columns:32px 1fr auto;align-items:center;text-align:left;min-height:47px;padding:7px 11px;border:1px solid #ececef;border-radius:13px;background:#fff;color:#25262a}.vbd-drawer-nav button span{font-size:18px}.vbd-drawer-nav button em{font-style:normal}.vbd-drawer-nav button kbd{font-size:10px;color:#999;background:#f4f4f5;border-radius:5px;padding:3px 5px}.vbd-drawer-nav button.danger{color:#c94646;background:#fff8f8}.vbd-drawer-notice{margin-top:22px;padding:15px;border-radius:15px;background:#f7f7f8}.vbd-drawer-notice p{margin:6px 0 0;color:#74777e;font-size:12px}
.vbd-dialog{border:0;padding:0;background:transparent;max-width:none;max-height:none}.vbd-dialog::backdrop{background:rgba(12,13,17,.52);backdrop-filter:blur(4px)}.vbd-dialog-card{position:relative;width:min(650px,calc(100vw - 26px));max-height:calc(100vh - 28px);overflow:auto;border-radius:24px;background:#fff;padding:25px;box-shadow:0 24px 80px rgba(0,0,0,.24)}.vbd-dialog-close{position:absolute;z-index:4;right:16px;top:16px;width:35px;height:35px;border:0;border-radius:50%;background:#f1f1f3;font-size:22px}.vbd-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.vbd-primary,.vbd-secondary,.vbd-danger-button{min-height:44px;padding:0 18px;border-radius:12px;font-weight:750}.vbd-primary{border:1px solid #111;background:#111;color:#fff}.vbd-secondary{border:1px solid #dedfe2;background:#fff;color:#222}.vbd-danger-button{border:1px solid #d94747;background:#d94747;color:#fff}
.vbd-product-dialog{width:min(700px,calc(100vw - 26px));text-align:center}.vbd-product-heading span,.vbd-finish-head span,.vbd-guide-head span,.vbd-item-preview span,.vbd-confirm-dialog>span{font-size:10px;letter-spacing:.12em;color:#8d9097;font-weight:850}.vbd-product-heading h2{font-family:Georgia,serif;font-size:27px;margin:8px 0 5px}.vbd-product-heading p{margin:0;color:#777b82}.vbd-product-photo{margin-top:18px;border-radius:17px;background:#f4f4f5;overflow:hidden;aspect-ratio:4/3}.vbd-product-photo img{width:100%;height:100%;object-fit:contain}.vbd-product-thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px;justify-content:center}.vbd-product-thumbs button{width:62px;height:62px;border:2px solid transparent;border-radius:11px;background:#f3f3f4;overflow:hidden;padding:0}.vbd-product-thumbs button.active{border-color:#111}.vbd-product-thumbs img{width:100%;height:100%;object-fit:cover}.vbd-product-meta{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:15px 0}.vbd-product-meta span{padding:6px 10px;border-radius:999px;background:#f3f3f5;font-size:12px}.vbd-product-description{color:#73767d}.vbd-item-preview{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:center}.vbd-item-preview img{width:110px;height:110px;object-fit:contain;background:#f7f7f8;border-radius:18px}.vbd-item-preview h2{margin:5px 0}.vbd-item-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:18px}.vbd-item-actions button{min-height:43px;border:1px solid #e2e3e5;border-radius:12px;background:#fff}.vbd-item-actions button.danger{color:#c94444;background:#fff7f7}.vbd-finish-dialog{width:min(820px,calc(100vw - 26px))}.vbd-finish-head{text-align:center}.vbd-finish-head h2{font-family:Georgia,serif;font-size:31px;margin:8px 0 4px}.vbd-finish-head p{margin:0;color:#777a81}.vbd-finish-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);gap:22px;margin-top:20px}.vbd-finish-image-wrap{display:grid;place-items:center;min-height:310px;border-radius:20px;background:#f7f7f8}.vbd-finish-preview{width:100%;height:100%;max-height:390px;object-fit:contain}.vbd-finish-info label{display:block;font-weight:700}.vbd-finish-info input[type=text],.vbd-finish-info input:not([type]){width:100%;margin-top:6px;border:1px solid #dfe0e3;border-radius:12px;padding:11px}.vbd-summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:15px}.vbd-summary-grid>div{padding:12px;border-radius:13px;background:#f6f6f7}.vbd-summary-grid span{display:block;color:#85888f;font-size:11px}.vbd-summary-grid strong{font-size:16px}.vbd-summary-grid ul{grid-column:1/-1;margin:0;padding:12px 12px 12px 28px;border:1px solid #ececef;border-radius:13px;max-height:160px;overflow:auto}.vbd-public-toggle{margin-top:15px!important;font-weight:500!important}.vbd-finish-actions{justify-content:stretch}.vbd-finish-actions button{flex:1}.vbd-guide-dialog{width:min(720px,calc(100vw - 26px));text-align:center}.vbd-guide-head h2{font-family:Georgia,serif;font-size:28px;margin:7px 0 18px}.vbd-guide-slides article{display:none}.vbd-guide-slides article.active{display:block}.vbd-guide-slides article>strong{display:block;font-size:21px;margin-top:14px}.vbd-guide-slides article>p{max-width:500px;margin:5px auto;color:#74777e}.vbd-guide-visual{height:280px;border-radius:20px;background:linear-gradient(160deg,#f8f8f9,#fff);border:1px solid #eeeeef;display:grid;place-items:center;position:relative;overflow:hidden}.vbd-guide-library-mini{display:flex;gap:12px}.vbd-guide-library-mini i{width:80px;height:100px;border-radius:16px;background:radial-gradient(circle at 36% 32%,#fff 0 9%,#cbbbe9 38%,#8464ba 70%,#52347e)}.vbd-guide-tap{position:absolute;bottom:18px;font-size:46px}.vbd-guide-ring{width:180px;height:180px;border:3px solid #e5e5e7;border-radius:50%;position:relative}.vbd-guide-ring i,.vbd-guide-ring b{position:absolute;width:46px;height:46px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff 0 10%,#ebe9f2 26%,#a998c8 67%,#5c477d);box-shadow:0 5px 10px rgba(0,0,0,.15)}.vbd-guide-ring i:nth-child(1){left:67px;top:-22px}.vbd-guide-ring i:nth-child(2){right:-22px;top:67px}.vbd-guide-ring i:nth-child(3){left:67px;bottom:-22px}.vbd-guide-ring i:nth-child(4){left:-22px;top:67px}.vbd-guide-ring b{left:67px;bottom:-22px;background:radial-gradient(circle at 35% 28%,#fff 0 8%,#9f6bd7 25%,#54217d 72%)}.vbd-guide-arrow{position:absolute;font-size:70px}.vbd-guide-ring.rotate{transform:rotate(24deg)}.vbd-guide-trash{position:absolute;right:18%;bottom:20%;font-size:36px;color:#d94b4b}.vbd-guide-summary-mini{width:260px;height:170px;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.1);display:flex;flex-direction:column;gap:12px;padding:22px}.vbd-guide-summary-mini i{height:18px;border-radius:9px;background:#eee}.vbd-guide-summary-mini span{display:grid;place-items:center;margin-top:auto;border:0;border-radius:11px;background:#111;color:#fff;height:42px}.vbd-guide-dots{display:flex;justify-content:center;gap:6px;margin-top:14px}.vbd-guide-dots button{width:7px;height:7px;border:0;border-radius:50%;background:#d0d1d4;padding:0}.vbd-guide-dots button.active{width:23px;border-radius:999px;background:#111}.vbd-guide-actions{display:flex;justify-content:space-between;margin-top:16px}.vbd-confirm-dialog{text-align:center;width:min(440px,calc(100vw - 26px))}.vbd-confirm-dialog h2{margin:8px 0}.vbd-confirm-dialog p{color:#74777e}
.vbd-toast{position:absolute;z-index:120;left:50%;top:85px;transform:translateX(-50%);padding:10px 15px;border-radius:999px;background:#17181b;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.18);white-space:nowrap}.vbd-toast[data-type=error]{background:#c53f3f}.vbd-toast[data-type=success]{background:#087b67}.vbd-preloader{position:absolute;z-index:200;inset:0;display:grid;place-items:center;background:#fff;transition:.35s}.vbd-preloader.is-hidden{opacity:0;visibility:hidden}.vbd-preloader-card{text-align:center;width:min(390px,calc(100% - 40px))}.vbd-loader-orbit{width:90px;height:90px;margin:0 auto 18px;border:1px solid #e5e5e7;border-radius:50%;position:relative;animation:vbd-spin 3.6s linear infinite}.vbd-loader-orbit span{position:absolute;width:15px;height:15px;border-radius:50%;background:#aaa}.vbd-loader-orbit span:nth-child(1){left:37px;top:-7px}.vbd-loader-orbit span:nth-child(2){right:3px;bottom:8px}.vbd-loader-orbit span:nth-child(3){left:5px;bottom:10px}.vbd-preloader h2{margin:0;font-family:Georgia,serif;font-size:28px}.vbd-preloader strong{display:block;font-size:23px;margin:8px 0}.vbd-progress{height:6px;border-radius:999px;background:#eee;overflow:hidden}.vbd-progress i{display:block;width:0;height:100%;background:#111;transition:.2s}.vbd-preloader p{margin:12px 0 1px}.vbd-preloader small{color:#8d8f95}@keyframes vbd-spin{to{transform:rotate(360deg)}}
.vbd-public-shell{max-width:1240px;margin:0 auto;padding:40px 20px}.vbd-gallery-hero{padding:42px;border-radius:28px;background:#f6f4ef}.vbd-gallery-hero h1{font:44px/1.05 Georgia,serif;margin:8px 0}.vbd-gallery-stats{display:flex;gap:24px;flex-wrap:wrap}.vbd-gallery-stats strong{font-size:24px}.vbd-gallery-toolbar{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.vbd-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.vbd-public-card{border:1px solid #e9e9ec;border-radius:20px;overflow:hidden;background:#fff}.vbd-public-card>a{display:block;background:#f7f7f8}.vbd-public-card img{width:100%;aspect-ratio:1;object-fit:contain}.vbd-public-card-body{padding:15px}.vbd-public-card h3{margin:0 0 4px}.vbd-public-price strong{font-size:18px}.vbd-public-price del{color:#999;margin-left:6px}.vbd-public-meta{display:flex;justify-content:space-between;color:#7d8087;font-size:12px}.vbd-remix-button{display:block;text-align:center;margin-top:12px;padding:10px;border-radius:11px;background:#111;color:#fff;text-decoration:none}.vbd-design-detail{max-width:1160px;margin:30px auto;display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:0 20px}.vbd-design-detail>img{width:100%;background:#f7f7f8;border-radius:24px}.vbd-design-detail h1{font:44px/1.05 Georgia,serif}.vbd-detail-actions{display:flex;gap:9px;flex-wrap:wrap}.vbd-detail-actions button,.vbd-detail-actions a{padding:12px 17px;border-radius:11px;border:1px solid #ddd;background:#fff;text-decoration:none}.vbd-detail-actions .primary{background:#111;color:#fff;border-color:#111}
@media(max-width:1050px){.vbd-workspace{grid-template-columns:minmax(470px,1fr) minmax(360px,.8fr)}.vbd-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vbd-library{grid-template-columns:105px 1fr}}
@media(max-width:780px){.vbd-studio{border:0;min-height:100svh;max-width:none}.vbd-topbar{height:65px;padding:0 10px;grid-template-columns:39px minmax(90px,1fr) auto 39px}.vbd-top-icon{width:39px;height:39px}.vbd-finish{height:40px;padding:0 18px}.vbd-design-title{font-size:17px!important}.vbd-workspace{display:flex;flex-direction:column;height:calc(100svh - 65px);min-height:600px;max-height:none}.vbd-stage{height:56%;min-height:340px;flex:0 0 56%;border-right:0;border-bottom:1px solid var(--vbd-line)}.vbd-canvas-wrap{min-height:0}.vbd-center-wordmark{font-size:28px}.vbd-string-placeholder{width:min(58%,310px)}.vbd-stage-controls{height:55px;padding:4px 10px 8px}.vbd-mini-control{width:34px;height:34px}.vbd-trash{width:42px;height:42px}.vbd-floating-metrics{top:12px;left:8px;right:8px}.vbd-metric{padding:7px 10px}.vbd-library{height:44%;flex:1;grid-template-columns:102px minmax(0,1fr)}.vbd-category-list{padding:9px 7px;gap:6px}.vbd-category-list button{min-height:47px;font-size:11px;border-radius:12px}.vbd-library-main{padding:9px 8px 12px}.vbd-search{height:43px}.vbd-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px;padding-bottom:85px}.vbd-material-card{padding:6px 4px 8px;border-radius:12px}.vbd-material-card strong{font-size:10px}.vbd-material-card small{font-size:9.5px}.vbd-photo-button{width:22px;height:22px}.vbd-chat{right:13px;bottom:13px;width:49px;height:49px}.vbd-fit-popover,.vbd-total-popover{top:52px;left:8px;right:8px;width:auto}.vbd-dialog-card{padding:21px}.vbd-finish-layout{grid-template-columns:1fr}.vbd-finish-image-wrap{min-height:240px}.vbd-finish-actions{flex-wrap:wrap}.vbd-finish-actions button{flex:1 1 42%}.vbd-guide-visual{height:230px}.vbd-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vbd-design-detail{grid-template-columns:1fr}.vbd-gallery-hero h1,.vbd-design-detail h1{font-size:34px}}
@media(max-width:460px){.vbd-stage{height:54%;flex-basis:54%}.vbd-library{height:46%}.vbd-material-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vbd-category-list{grid-template-columns:1fr}.vbd-public-grid{grid-template-columns:1fr}.vbd-gallery-hero{padding:27px}.vbd-toast{max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.vbd-item-actions{grid-template-columns:1fr}.vbd-guide-visual{height:205px}}

.vbd-purchase-inline{grid-column:1/-1;padding:12px;border-radius:13px;background:#f6f4ef}.vbd-purchase-inline p{margin:5px 0 0;color:#74777e;font-size:12px}.vbd-guide-actions button:disabled{opacity:.45;cursor:not-allowed}.vbd-gallery-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:28px}.vbd-gallery-pagination a{padding:9px 15px;border:1px solid #ddd;border-radius:999px;text-decoration:none}.vbd-gallery-pagination span{font-weight:750}.vbd-gallery-toolbar a{color:inherit}.vbd-public-card h3 a{color:inherit;text-decoration:none}

/* v2.5 reference-parity refinements */
.vbd-full-height{max-width:none;border-left:0;border-right:0;min-height:100svh}.vbd-full-height .vbd-workspace{height:calc(100svh - 72px);max-height:none}
.vbd-load-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:18px 0 2px}.vbd-load-steps span{padding:8px 3px;border:1px solid #ececef;border-radius:12px;color:#777;font-size:10px}.vbd-load-steps b{display:grid;place-items:center;width:20px;height:20px;margin:0 auto 4px;border-radius:50%;background:#111;color:#fff}
.vbd-insert-marker{position:absolute;z-index:18;transform:translate(-50%,-50%);pointer-events:none}.vbd-insert-marker i{display:block;width:28px;height:28px;border:3px solid #111;border-radius:50%;background:rgba(255,255,255,.82);box-shadow:0 4px 18px rgba(0,0,0,.16)}.vbd-insert-marker span{position:absolute;left:50%;top:35px;transform:translateX(-50%);padding:5px 8px;border-radius:999px;background:#111;color:#fff;font-size:10px;white-space:nowrap}
.vbd-reference-ui .vbd-topbar{box-shadow:0 1px 0 rgba(0,0,0,.02)}.vbd-reference-ui .vbd-library{background:#fbfbfc}.vbd-reference-ui .vbd-library-main{background:#fff}.vbd-reference-ui .vbd-category-list button{box-shadow:0 1px 0 rgba(0,0,0,.03)}.vbd-reference-ui .vbd-material-card{min-height:145px}.vbd-reference-ui .vbd-material-image{min-height:82px}.vbd-reference-ui .vbd-metric{min-width:94px;justify-content:center}
@media(max-width:780px){.vbd-full-height .vbd-workspace{height:calc(100svh - 65px)}.vbd-reference-ui .vbd-stage{flex-basis:55%}.vbd-reference-ui .vbd-library{height:45%}.vbd-reference-ui .vbd-material-card{min-height:112px}.vbd-reference-ui .vbd-material-image{min-height:58px}.vbd-load-steps{gap:4px}.vbd-load-steps span{font-size:9px}}

/* v2.6 verified variant UI */
.vbd-finish:disabled{background:#9b9b9f!important;color:#fff!important;cursor:not-allowed;opacity:.78}.vbd-finish.is-ready{background:#111!important;opacity:1}.vbd-category-list button i{display:none!important}.vbd-variant-chips{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;margin-top:6px}.vbd-variant-chips button{appearance:none;border:1px solid #e1e2e5;background:#fff;border-radius:999px;padding:3px 7px;font-size:10px;line-height:1.2;color:#65666a;cursor:pointer}.vbd-variant-chips button.active{background:#111;color:#fff;border-color:#111}.vbd-material-card{position:relative}.vbd-verified{position:absolute;left:7px;top:7px;width:18px;height:18px;border-radius:50%;background:#14805e;color:#fff;font-size:11px;line-height:18px;text-align:center;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.12)}.vbd-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.vbd-stat-grid>div{padding:12px;border:1px solid #e7e7e9;border-radius:12px;background:#fafafa}.vbd-stat-grid strong{display:block;font-size:22px}.vbd-stat-grid span{font-size:12px;color:#666}.vbd-material-card:has(.vbd-variant-chips){padding-bottom:8px}@media(max-width:640px){.vbd-variant-chips{gap:3px}.vbd-variant-chips button{padding:3px 6px;font-size:9px}}

/* ========================================================================
 * v2.8.1 ASTRIS pixel-layout reconstruction
 * Desktop: 204px material rail on the LEFT + full canvas on the RIGHT.
 * Mobile: canvas above + category/material tray below.
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui,
.vbd-studio.vbd-pixel-ui *{box-sizing:border-box}
.vbd-studio.vbd-pixel-ui{--vbd-topbar-h:46px;position:relative;width:100vw!important;max-width:none!important;height:100svh;min-height:620px;margin:0 0 0 calc(50% - 50vw)!important;border:0!important;border-top:1px solid #f1f1f3!important;border-radius:0!important;background:#fff;overflow:hidden;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17181b}
.vbd-pixel-ui button,.vbd-pixel-ui input{letter-spacing:normal;text-transform:none}
.vbd-pixel-ui .vbd-topbar{height:var(--vbd-topbar-h);display:grid;grid-template-columns:34px minmax(120px,1fr) auto auto auto;align-items:center;gap:7px;padding:0 12px 0 16px;border-bottom:1px solid #ededf0;background:#fff;box-shadow:none;z-index:50}
.vbd-pixel-ui .vbd-top-icon{width:31px;height:31px;border:0;border-radius:9px;background:transparent;box-shadow:none;color:#15161a;padding:0}
.vbd-pixel-ui .vbd-top-icon:hover{background:#f6f6f7}
.vbd-pixel-ui .vbd-top-icon svg{width:17px;height:17px;stroke-width:1.7}
.vbd-pixel-ui .vbd-design-title{height:36px;width:min(420px,100%);padding:0 3px!important;border:0!important;background:transparent!important;font-size:14px!important;font-weight:700!important;line-height:36px!important;color:#111!important}
.vbd-pixel-ui .vbd-finish{height:36px;padding:0 20px;border:0;border-radius:10px;background:#111216;color:#fff;font-size:12px;font-weight:650;box-shadow:0 5px 14px rgba(0,0,0,.12)}
.vbd-pixel-ui .vbd-finish:disabled{background:#95969a!important;box-shadow:none;opacity:1}
.vbd-pixel-ui .vbd-menu-button{border:1px solid #e5e5e8;background:#fff;border-radius:10px}
.vbd-pixel-ui .vbd-language-pill{height:28px;border:0;border-radius:999px;padding:0 10px;background:#f4f4f5;color:#44464d;font-size:10px;display:flex;align-items:center;gap:4px}
.vbd-pixel-ui .vbd-language-pill span{font-size:11px}
.vbd-pixel-ui.vbd-is-empty .vbd-finish:disabled{cursor:default}
@media(min-width:781px){.vbd-pixel-ui.vbd-is-empty .vbd-finish,.vbd-pixel-ui.vbd-is-empty .vbd-menu-button{display:none}}
@media(min-width:781px){.vbd-pixel-ui.vbd-has-items .vbd-language-pill{display:none}}

.vbd-pixel-ui .vbd-workspace{height:calc(100svh - var(--vbd-topbar-h));min-height:0;max-height:none;display:grid;grid-template-columns:204px minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;background:#fff}
.vbd-pixel-ui .vbd-library{grid-column:1;grid-row:1;width:204px;min-width:204px;height:100%;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #e9e9ec;border-left:0;background:#fff;order:0}
.vbd-pixel-ui .vbd-stage{grid-column:2;grid-row:1;min-width:0;height:100%;display:flex;flex-direction:column;position:relative;overflow:hidden;border:0;background:#fff;order:1}

.vbd-pixel-ui .vbd-library-heading{flex:0 0 auto;padding:12px 11px 8px;color:#767982;font:500 10px/1.2 Georgia,"Times New Roman",serif;letter-spacing:.11em}
.vbd-pixel-ui .vbd-search{order:1;flex:0 0 auto;height:29px;margin:0 10px 8px;display:grid;grid-template-columns:15px 1fr 18px;gap:4px;align-items:center;padding:0 8px;border:1px solid #dedfe3;border-radius:9px;background:#fff;box-shadow:none}
.vbd-pixel-ui .vbd-search svg{width:13px;height:13px;color:#a1a3a9;stroke-width:1.8}
.vbd-pixel-ui .vbd-search input{height:27px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font-size:9.5px!important;line-height:27px!important;color:#34363b}
.vbd-pixel-ui .vbd-search input::placeholder{color:#a3a5ab}
.vbd-pixel-ui .vbd-search button{width:18px;height:18px;padding:0;border:0;background:transparent;color:#999;font-size:15px;line-height:18px}
.vbd-pixel-ui .vbd-category-list{order:2;flex:0 0 auto;max-height:112px;display:flex;flex-flow:row wrap;align-content:flex-start;gap:5px 6px;margin:0;padding:0 10px 10px;overflow:auto;border:0;background:#fff;scrollbar-width:thin}
.vbd-pixel-ui .vbd-category-list button{width:auto;min-width:0;min-height:0;height:21px;margin:0;padding:0 9px;border:1px solid #dfe0e4;border-radius:8px;background:#fff;color:#4d5057;box-shadow:none;font-size:8.5px;font-weight:600;line-height:19px;white-space:nowrap;display:block}
.vbd-pixel-ui .vbd-category-list button:hover{border-color:#c8c9ce;background:#fafafa}
.vbd-pixel-ui .vbd-category-list button.active{border-color:#111216;background:#111216;color:#fff;box-shadow:none}
.vbd-pixel-ui .vbd-library-divider{order:3;flex:0 0 1px;height:1px;background:#ececef;margin:0}
.vbd-pixel-ui .vbd-library-main{order:4;flex:1;min-height:0;min-width:0;padding:0;display:flex;overflow:hidden;background:#fff}
.vbd-pixel-ui .vbd-material-grid{width:100%;height:100%;margin:0;padding:10px 9px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:101px;align-content:start;gap:5px 4px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d1d1d4 transparent}
.vbd-pixel-ui .vbd-material-grid::-webkit-scrollbar{width:4px}.vbd-pixel-ui .vbd-material-grid::-webkit-scrollbar-thumb{background:#d0d1d4;border-radius:999px}
.vbd-pixel-ui .vbd-material-card{position:relative;min-width:0;min-height:0!important;height:101px;margin:0;padding:4px 3px 4px;border:1px solid #eeeeF1;border-radius:10px;background:#fff;box-shadow:none;text-align:center;display:flex;flex-direction:column;align-items:center;overflow:hidden;transform:none!important;user-select:none;outline:none}
.vbd-pixel-ui .vbd-material-card:hover,.vbd-pixel-ui .vbd-material-card:focus{z-index:2;border-color:#b9c8ff;box-shadow:0 0 0 1px #8fa9ff;background:#fff}
.vbd-pixel-ui .vbd-material-image{flex:0 0 48px;width:100%;height:48px;min-height:0!important;display:grid;place-items:center;overflow:visible}
.vbd-pixel-ui .vbd-material-image img{display:block;width:45px;height:45px;max-width:45px;max-height:45px;object-fit:contain;filter:none;pointer-events:none}
.vbd-pixel-ui .vbd-material-card strong{display:block;width:100%;height:13px;margin:1px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;line-height:13px;font-weight:560;color:#202126}
.vbd-pixel-ui .vbd-material-card small{display:block;width:100%;height:11px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;line-height:11px;color:#777a82}
.vbd-pixel-ui .vbd-material-price{display:flex;align-items:baseline;justify-content:center;gap:3px;width:100%;height:15px;font-size:8px;line-height:15px;color:#e2184c;white-space:nowrap}
.vbd-pixel-ui .vbd-material-price b{font-size:9.5px;font-weight:700;color:#e2184c}
.vbd-pixel-ui .vbd-material-price del{font-size:7px;color:#9b9da3;text-decoration-thickness:1px}
.vbd-pixel-ui .vbd-photo-button{position:absolute;z-index:3;top:3px;right:3px;width:17px;height:17px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:#7c8794;box-shadow:none}
.vbd-pixel-ui .vbd-photo-button svg{width:11px;height:11px;stroke-width:1.5}
.vbd-pixel-ui .vbd-stock-badge{left:3px;top:3px;padding:1px 3px;border-radius:4px;font-size:6px}
.vbd-pixel-ui .vbd-verified,.vbd-pixel-ui .vbd-variant-chips{display:none!important}
.vbd-pixel-ui .vbd-no-results,.vbd-pixel-ui .vbd-library-loading{grid-column:1/-1;padding:30px 5px;font-size:10px;color:#8a8d94}

.vbd-pixel-ui .vbd-floating-metrics{position:absolute;z-index:12;top:14px;left:16px;right:16px;display:flex;justify-content:space-between;pointer-events:none}
.vbd-pixel-ui .vbd-floating-metrics[hidden]{display:none!important}
.vbd-pixel-ui .vbd-metric{pointer-events:auto;min-width:0;height:35px;padding:0 13px;display:flex;align-items:center;gap:7px;border:1px solid #e1e2e5;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 4px 14px rgba(18,20,24,.045);color:#24262a}
.vbd-pixel-ui .vbd-metric span{font-size:9px;letter-spacing:.04em;color:#989aa0;font-weight:600}
.vbd-pixel-ui .vbd-metric strong{font-size:12px;font-weight:700}.vbd-pixel-ui .vbd-metric:first-child strong{color:#0a7d68}
.vbd-pixel-ui .vbd-canvas-wrap{position:relative;flex:1;min-height:0;width:100%;display:grid;place-items:center;overflow:hidden;touch-action:none;background:#fff}
.vbd-pixel-ui .vbd-canvas-wrap canvas{display:block;position:relative;z-index:3;max-width:none;max-height:none;touch-action:none;cursor:grab}
.vbd-pixel-ui .vbd-canvas-wrap canvas:active{cursor:grabbing}
.vbd-pixel-ui .vbd-string-placeholder{position:absolute;z-index:1;width:min(47vh,440px);min-width:340px;max-width:440px;aspect-ratio:1;border:1px solid #d9dade;border-radius:50%;box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 5px #e8e9eb,0 4px 18px rgba(0,0,0,.025);pointer-events:none}
.vbd-pixel-ui .vbd-center-wordmark{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none;color:#bebfc3;text-indent:0;letter-spacing:normal}
.vbd-pixel-ui .vbd-center-wordmark strong{font-size:clamp(31px,3.4vw,53px);font-weight:580;letter-spacing:.34em;text-indent:.34em;line-height:1}
.vbd-pixel-ui .vbd-center-wordmark small{font-size:clamp(10px,1vw,17px);font-weight:500;letter-spacing:.07em;color:#c8c9cc}
.vbd-pixel-ui .vbd-empty-copy{display:none!important}
.vbd-pixel-ui .vbd-drag-tip{bottom:70px;font-size:10px;padding:7px 11px}
.vbd-pixel-ui .vbd-stage-controls{position:absolute;z-index:20;left:16px;right:18px;bottom:14px;height:auto;padding:0;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;gap:8px;background:transparent;pointer-events:none}
.vbd-pixel-ui .vbd-stage-help{grid-column:1;grid-row:1;align-self:end;width:20px;height:20px;padding:0;border:1px solid #bfc1c6;border-radius:50%;background:#fff;color:#5d6066;font-size:11px;font-weight:700;line-height:18px;pointer-events:auto}
.vbd-pixel-ui .vbd-zoom-controls{grid-column:1;grid-row:2;display:flex;align-items:center;gap:5px;pointer-events:auto}
.vbd-pixel-ui .vbd-zoom-controls>button{height:28px;min-width:28px;padding:0;border:0;border-radius:8px;background:#f5f5f6;color:#4f5259;display:grid;place-items:center;box-shadow:none}
.vbd-pixel-ui .vbd-zoom-controls>button svg{width:14px;height:14px;stroke-width:1.7}
.vbd-pixel-ui .vbd-zoom-controls .vbd-zoom-pill{min-width:42px;padding:0 7px;font-size:9px;font-weight:600}
.vbd-pixel-ui .vbd-control-cluster{display:none!important}
.vbd-pixel-ui .vbd-trash{grid-column:3;grid-row:1/3;align-self:end;justify-self:end;width:42px;height:42px;padding:0;border:1px solid #e3e4e7;border-radius:50%;background:#fff;color:#8f939a;display:grid;place-items:center;box-shadow:0 5px 16px rgba(0,0,0,.07);pointer-events:auto}
.vbd-pixel-ui .vbd-trash:hover{color:#e34949;border-color:#f0bebe}.vbd-pixel-ui .vbd-trash svg{width:18px;height:18px}.vbd-pixel-ui .vbd-trash.armed{color:#e34242;background:#fff3f3;border-color:#efb6b6;transform:scale(1.1)}
.vbd-pixel-ui .vbd-chat{width:48px;height:48px;right:70px;bottom:18px}
.vbd-pixel-ui .vbd-fit-popover,.vbd-pixel-ui .vbd-total-popover{top:58px;z-index:40}

/* Keep modals and menus above the full-screen studio. */
.vbd-pixel-ui .vbd-drawer,.vbd-pixel-ui .vbd-dialog,.vbd-pixel-ui .vbd-preloader,.vbd-pixel-ui .vbd-toast{position:fixed}
.vbd-pixel-ui .vbd-toast{top:60px}

@media(max-width:1100px) and (min-width:781px){
  .vbd-studio.vbd-pixel-ui{--vbd-topbar-h:46px}
  .vbd-pixel-ui .vbd-workspace{grid-template-columns:196px minmax(0,1fr)}
  .vbd-pixel-ui .vbd-library{width:196px;min-width:196px}
  .vbd-pixel-ui .vbd-material-grid{padding-left:7px;padding-right:7px;gap:4px 3px}
  .vbd-pixel-ui .vbd-category-list{padding-left:8px;padding-right:8px}
}

@media(max-width:780px){
  .vbd-studio.vbd-pixel-ui{--vbd-topbar-h:62px;width:100%!important;height:100svh;min-height:620px;margin:0!important}
  .vbd-pixel-ui .vbd-topbar{height:var(--vbd-topbar-h);grid-template-columns:36px minmax(86px,1fr) auto 42px;padding:0 10px;gap:6px}
  .vbd-pixel-ui .vbd-language-pill{display:none}
  .vbd-pixel-ui .vbd-top-icon{width:36px;height:36px}.vbd-pixel-ui .vbd-menu-button{border:1px solid #e2e3e6}
  .vbd-pixel-ui .vbd-design-title{font-size:16px!important}.vbd-pixel-ui .vbd-finish{height:40px;padding:0 19px;font-size:13px}
  .vbd-pixel-ui .vbd-workspace{height:calc(100svh - var(--vbd-topbar-h));display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden}
  .vbd-pixel-ui .vbd-stage{order:0;width:100%;height:58%;min-height:310px;flex:0 0 58%;border-bottom:1px solid #ececef}
  .vbd-pixel-ui .vbd-library{order:1;width:100%;min-width:0;height:42%;flex:1 1 42%;display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:49px minmax(0,1fr);border:0;background:#fff;overflow:hidden}
  .vbd-pixel-ui .vbd-library-heading{display:none}
  .vbd-pixel-ui .vbd-search{grid-column:2;grid-row:1;height:40px;margin:5px 8px 4px;border-radius:12px;grid-template-columns:20px 1fr 22px;padding:0 9px}
  .vbd-pixel-ui .vbd-search svg{width:17px;height:17px}.vbd-pixel-ui .vbd-search input{height:38px!important;font-size:14px!important;line-height:38px!important}
  .vbd-pixel-ui .vbd-category-list{grid-column:1;grid-row:1/3;max-height:none;height:100%;margin:0;padding:6px 6px 20px;display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;overflow-y:auto;border-right:1px solid #ececef;background:#fcfcfd}
  .vbd-pixel-ui .vbd-category-list button{width:100%;height:auto;min-height:46px;padding:5px;border:1px solid transparent;border-radius:12px;background:#fff;font-size:11px;line-height:1.08;white-space:normal;display:flex;align-items:center;justify-content:center}
  .vbd-pixel-ui .vbd-category-list button.active{background:#111216;color:#fff;border-color:#111216;box-shadow:0 5px 12px rgba(0,0,0,.11)}
  .vbd-pixel-ui .vbd-library-divider{display:none}
  .vbd-pixel-ui .vbd-library-main{grid-column:2;grid-row:2;min-width:0;min-height:0;display:flex;overflow:hidden}
  .vbd-pixel-ui .vbd-material-grid{height:100%;padding:5px 7px 80px;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:114px;gap:7px 6px}
  .vbd-pixel-ui .vbd-material-card{height:114px;border-radius:12px;padding:5px 4px}
  .vbd-pixel-ui .vbd-material-image{height:60px;flex-basis:60px}.vbd-pixel-ui .vbd-material-image img{width:57px;height:57px;max-width:57px;max-height:57px}
  .vbd-pixel-ui .vbd-material-card strong{height:15px;font-size:10px;line-height:15px}.vbd-pixel-ui .vbd-material-card small{height:13px;font-size:9px;line-height:13px}.vbd-pixel-ui .vbd-material-price{height:16px;line-height:16px}.vbd-pixel-ui .vbd-material-price b{font-size:11px}.vbd-pixel-ui .vbd-material-price del{font-size:8px}
  .vbd-pixel-ui .vbd-photo-button{width:21px;height:21px;top:4px;right:4px}.vbd-pixel-ui .vbd-photo-button svg{width:13px;height:13px}
  .vbd-pixel-ui .vbd-floating-metrics{top:11px;left:8px;right:8px}.vbd-pixel-ui .vbd-metric{height:35px;padding:0 11px}.vbd-pixel-ui .vbd-metric strong{font-size:12px}
  .vbd-pixel-ui .vbd-string-placeholder{width:min(55vw,270px);min-width:205px;max-width:270px}
  .vbd-pixel-ui .vbd-center-wordmark strong{font-size:clamp(25px,8vw,38px)}.vbd-pixel-ui .vbd-center-wordmark small{font-size:10px}
  .vbd-pixel-ui .vbd-stage-controls{left:8px;right:9px;bottom:8px}.vbd-pixel-ui .vbd-stage-help{display:none}.vbd-pixel-ui .vbd-zoom-controls{grid-row:2}
  .vbd-pixel-ui .vbd-zoom-controls>button{height:29px;min-width:29px}.vbd-pixel-ui .vbd-zoom-controls .vbd-zoom-pill{min-width:45px;font-size:10px}
  .vbd-pixel-ui .vbd-trash{width:43px;height:43px}
  .vbd-pixel-ui .vbd-chat{right:12px;bottom:76px;width:49px;height:49px}
  .vbd-pixel-ui .vbd-dialog[open]{align-items:flex-end}.vbd-pixel-ui .vbd-dialog-card{width:100%;max-width:none;max-height:90svh;margin:0;border-radius:22px 22px 0 0}
}

@media(max-width:420px){
  .vbd-pixel-ui .vbd-library{grid-template-columns:104px minmax(0,1fr)}
  .vbd-pixel-ui .vbd-material-grid{gap:5px 4px;padding-left:5px;padding-right:5px;grid-auto-rows:108px}
  .vbd-pixel-ui .vbd-material-card{height:108px}.vbd-pixel-ui .vbd-material-image{height:55px;flex-basis:55px}.vbd-pixel-ui .vbd-material-image img{width:52px;height:52px}
  .vbd-pixel-ui .vbd-category-list button{min-height:44px;font-size:10.5px}
}


/* v2.8 runtime hardening: the host remains stable even when a theme uses global
   content widths, transforms, button rules or aggressive image selectors. */
.vbd-host{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;contain:layout paint size style!important;background:#fff!important}
.vbd-host.vbd-shadow-ready{isolation:isolate}
:host{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff;color:#17181b}
.vbd-studio.vbd-pixel-ui{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.vbd-studio.vbd-pixel-ui img{display:block!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
.vbd-studio.vbd-pixel-ui button,.vbd-studio.vbd-pixel-ui input{appearance:none;-webkit-appearance:none;letter-spacing:normal;text-transform:none;box-shadow:none}
.vbd-studio.vbd-pixel-ui button::before,.vbd-studio.vbd-pixel-ui button::after{content:none!important}
.vbd-studio.vbd-pixel-ui .vbd-material-grid{scrollbar-gutter:stable}
.vbd-studio.vbd-pixel-ui .vbd-material-card{content-visibility:auto;contain-intrinsic-size:64px 112px}
.vbd-studio.vbd-pixel-ui .vbd-canvas-wrap{contain:strict}
.vbd-studio.vbd-pixel-ui .vbd-canvas-wrap canvas{will-change:contents}
@media(prefers-reduced-motion:reduce){.vbd-studio *{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* v2.8 stable-start recovery UI */
.vbd-loader-actions{display:flex;justify-content:center;gap:8px;margin-top:14px}.vbd-loader-actions[hidden]{display:none!important}.vbd-loader-actions button{appearance:none;border:1px solid #ddd;background:#fff;color:#111;border-radius:10px;padding:9px 13px;font:700 12px/1 inherit;cursor:pointer}.vbd-loader-actions button:first-child{background:#111;color:#fff;border-color:#111}.vbd-loader-diagnostic{max-width:420px;white-space:pre-wrap;word-break:break-word;margin:10px auto 0;padding:9px 11px;border-radius:9px;background:#fff4f1;color:#9a3426;border:1px solid #f0cdc7;font:500 11px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;text-align:left}.vbd-loader-diagnostic[hidden]{display:none!important}.vbd-preloader.has-error .vbd-loader-orbit{animation-play-state:paused;opacity:.55}.vbd-preloader.has-error .vbd-progress i{background:#c94735}


/* ========================================================================
 * v2.8.2 visual polish, wider library and safe bracelet composition
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui{--vbd-library-w:clamp(220px,var(--vbd-library-w-config,260px),360px);--vbd-chat-color:#1d78ff}
.vbd-pixel-ui .vbd-workspace{grid-template-columns:var(--vbd-library-w) minmax(0,1fr)}
.vbd-pixel-ui .vbd-library{width:var(--vbd-library-w);min-width:var(--vbd-library-w);box-shadow:8px 0 30px rgba(20,22,28,.025)}
.vbd-pixel-ui .vbd-library-heading{padding:14px 15px 9px;font-size:11px;color:#737780;letter-spacing:.09em}
.vbd-pixel-ui .vbd-search{height:36px;margin:0 14px 10px;padding:0 10px;border-radius:11px;grid-template-columns:17px 1fr 20px}
.vbd-pixel-ui .vbd-search input{height:34px!important;font-size:11.5px!important;line-height:34px!important}
.vbd-pixel-ui .vbd-search svg{width:15px;height:15px}
.vbd-pixel-ui .vbd-category-list{max-height:126px;gap:7px 7px;padding:0 14px 12px;scrollbar-width:thin;scrollbar-color:#c8c9cd transparent}
.vbd-pixel-ui .vbd-category-list::-webkit-scrollbar{width:3px}.vbd-pixel-ui .vbd-category-list::-webkit-scrollbar-thumb{background:#c8c9cd;border-radius:99px}
.vbd-pixel-ui .vbd-category-list button{height:27px;padding:0 12px;border-radius:10px;font-size:10px;line-height:25px;background:#fff}
.vbd-pixel-ui .vbd-category-list button.active{box-shadow:0 5px 14px rgba(10,11,14,.12)}
.vbd-pixel-ui .vbd-material-grid{padding:13px 13px 30px;grid-auto-rows:122px;gap:8px 7px}
.vbd-pixel-ui .vbd-material-card{height:122px;padding:7px 5px 6px;border-radius:13px;border-color:#e9eaed;transition:border-color .16s,box-shadow .16s,transform .16s;background:linear-gradient(180deg,#fff 0,#fff 82%,#fdfdfe 100%)}
.vbd-pixel-ui .vbd-material-card:hover,.vbd-pixel-ui .vbd-material-card:focus{transform:translateY(-1px)!important;border-color:#9fb4ff;box-shadow:0 7px 18px rgba(46,70,120,.09),0 0 0 1px #b8c7ff}
.vbd-pixel-ui .vbd-material-image{height:64px;flex-basis:64px}.vbd-pixel-ui .vbd-material-image img{width:60px;height:60px;max-width:60px;max-height:60px;filter:drop-shadow(0 4px 7px rgba(18,20,26,.10))}
.vbd-pixel-ui .vbd-material-card strong{height:16px;margin-top:1px;font-size:10.5px;line-height:16px;font-weight:650}
.vbd-pixel-ui .vbd-material-card small{height:13px;font-size:9.5px;line-height:13px}
.vbd-pixel-ui .vbd-material-price{height:18px;line-height:18px}.vbd-pixel-ui .vbd-material-price b{font-size:12px}.vbd-pixel-ui .vbd-material-price del{font-size:8.5px}
.vbd-pixel-ui .vbd-photo-button{top:5px;right:5px;width:21px;height:21px;border:1px solid rgba(225,227,231,.8);background:rgba(255,255,255,.96)}
.vbd-pixel-ui .vbd-photo-button svg{width:13px;height:13px}
.vbd-pixel-ui .vbd-stage{background:radial-gradient(circle at 50% 48%,#fff 0,#fff 68%,#fcfcfd 100%)}
.vbd-pixel-ui .vbd-canvas-wrap{padding:18px 26px 24px}
.vbd-pixel-ui .vbd-floating-metrics{top:18px;left:24px;right:24px}.vbd-pixel-ui .vbd-metric{height:39px;padding:0 15px;box-shadow:0 5px 16px rgba(15,17,22,.05)}
.vbd-pixel-ui .vbd-metric strong{font-size:13px}.vbd-pixel-ui .vbd-metric span{font-size:9.5px}
.vbd-pixel-ui .vbd-stage-controls{left:22px;right:22px;bottom:18px}
.vbd-pixel-ui .vbd-chat{display:grid;right:76px;bottom:20px;width:50px;height:50px;background:var(--vbd-chat-color);box-shadow:0 12px 28px color-mix(in srgb,var(--vbd-chat-color) 30%,transparent)}
.vbd-pixel-ui .vbd-chat[hidden]{display:none!important}
.vbd-pixel-ui .vbd-chat:focus-visible{outline:3px solid color-mix(in srgb,var(--vbd-chat-color) 30%,white);outline-offset:3px}

@media(max-width:1280px) and (min-width:781px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:min(var(--vbd-library-w-config,260px),246px)}
  .vbd-pixel-ui .vbd-material-grid{padding-left:11px;padding-right:11px;gap:7px 6px}
}
@media(max-width:980px) and (min-width:781px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:min(var(--vbd-library-w-config,260px),232px)}
  .vbd-pixel-ui .vbd-category-list{padding-left:10px;padding-right:10px}
  .vbd-pixel-ui .vbd-material-grid{grid-auto-rows:116px;padding-left:9px;padding-right:9px}
  .vbd-pixel-ui .vbd-material-card{height:116px}.vbd-pixel-ui .vbd-material-image{height:58px;flex-basis:58px}.vbd-pixel-ui .vbd-material-image img{width:55px;height:55px}
}
@media(max-width:780px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:100%}
  .vbd-pixel-ui .vbd-canvas-wrap{padding:10px 12px 16px}
  .vbd-pixel-ui .vbd-library{box-shadow:none}
  .vbd-pixel-ui .vbd-material-grid{grid-auto-rows:118px;padding:6px 8px 84px;gap:7px}
  .vbd-pixel-ui .vbd-material-card{height:118px;padding:6px 4px}.vbd-pixel-ui .vbd-material-image{height:61px;flex-basis:61px}.vbd-pixel-ui .vbd-material-image img{width:58px;height:58px}
  .vbd-pixel-ui .vbd-category-list{max-height:none;padding:7px 7px 22px}.vbd-pixel-ui .vbd-category-list button{height:auto;min-height:44px;padding:5px;font-size:10.5px;line-height:1.1}
  .vbd-pixel-ui .vbd-floating-metrics{top:12px;left:12px;right:12px}
  .vbd-pixel-ui .vbd-chat{right:13px;bottom:78px;width:48px;height:48px}
}


/* ========================================================================
 * v2.8.4 wider material library and refined size control
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui{--vbd-library-w:clamp(260px,var(--vbd-library-w-config,300px),440px)}
.vbd-pixel-ui .vbd-library{background:#fff;border-right-color:#e5e6e9;box-shadow:10px 0 34px rgba(18,20,26,.035)}
.vbd-pixel-ui .vbd-library-heading{padding:16px 17px 10px;font-size:11.5px;color:#696d75;letter-spacing:.08em}
.vbd-pixel-ui .vbd-search{height:40px;margin:0 16px 11px;padding:0 12px;border-radius:12px;grid-template-columns:18px 1fr 21px;border-color:#dfe1e5;box-shadow:0 3px 12px rgba(17,19,24,.025)}
.vbd-pixel-ui .vbd-search input{height:38px!important;font-size:12px!important;line-height:38px!important}.vbd-pixel-ui .vbd-search svg{width:16px;height:16px}
.vbd-pixel-ui .vbd-category-list{max-height:142px;padding:0 16px 14px;gap:8px 7px}
.vbd-pixel-ui .vbd-category-list button{height:29px;padding:0 13px;border-radius:10px;font-size:10.5px;line-height:27px;border-color:#dfe1e5}
.vbd-pixel-ui .vbd-material-grid{padding:14px 15px 34px;grid-auto-rows:130px;gap:9px 8px}
.vbd-pixel-ui .vbd-material-card{height:130px;padding:8px 6px 7px;border-radius:14px;border-color:#e8e9ec;background:#fff}
.vbd-pixel-ui .vbd-material-image{height:69px;flex-basis:69px}.vbd-pixel-ui .vbd-material-image img{width:65px;height:65px;max-width:65px;max-height:65px}
.vbd-pixel-ui .vbd-material-card strong{height:17px;font-size:11px;line-height:17px}.vbd-pixel-ui .vbd-material-card small{height:14px;font-size:9.8px;line-height:14px}
.vbd-pixel-ui .vbd-material-price{height:18px;line-height:18px}.vbd-pixel-ui .vbd-material-price b{font-size:12.5px}

.vbd-pixel-ui .vbd-fit-popover{top:72px;left:28px;width:min(470px,calc(100% - 56px));padding:25px 26px 23px;border-radius:25px;border-color:#e2e3e6;background:rgba(255,255,255,.985);box-shadow:0 26px 70px rgba(17,19,24,.15),0 3px 10px rgba(17,19,24,.04)}
.vbd-pixel-ui .vbd-popover-head{align-items:flex-start}.vbd-pixel-ui .vbd-popover-head small{font-size:10px;letter-spacing:.13em}.vbd-pixel-ui .vbd-popover-head strong{font-size:22px;line-height:1.2;margin-top:3px}.vbd-pixel-ui .vbd-popover-head>div>span{display:block;margin-top:5px;color:#94979e;font-size:11.5px}
.vbd-fit-head-actions{display:flex;align-items:center;gap:8px}.vbd-fit-unit{height:33px;min-width:48px;padding:0 11px;border:1px solid #e1e2e5!important;border-radius:999px!important;background:#fff!important;color:#4f5259!important;font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important}.vbd-popover-close{width:34px!important;height:34px!important;background:#f5f5f6!important;font-size:20px!important}
.vbd-size-control{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:14px;margin:24px 0 21px;padding:15px;border:1px solid #ebecef;border-radius:19px;background:linear-gradient(180deg,#fbfbfc,#f7f7f8)}
.vbd-size-step{width:44px;height:44px;border:1px solid #e0e1e5;border-radius:14px;background:#fff;color:#17181b;font-size:25px;font-weight:400;display:grid;place-items:center;box-shadow:0 4px 12px rgba(18,20,26,.045)}.vbd-size-step:hover{border-color:#bfc2c8;background:#fff}
.vbd-size-value{margin:0;text-align:center;display:block}.vbd-size-value>small{display:block;margin-bottom:1px;color:#9a9ca2;font-size:9px;font-weight:800;letter-spacing:.12em}.vbd-size-value>div{display:flex;align-items:baseline;justify-content:center;gap:7px}.vbd-size-value strong{font-size:46px;line-height:1.08;letter-spacing:-.035em}.vbd-size-value span{font-size:15px;color:#777a81;font-weight:750}
.vbd-fit-slider-wrap{position:relative;padding-top:29px}.vbd-range-bubble{position:absolute;top:0;transform:translateX(-50%);min-width:61px;padding:5px 8px;border-radius:8px;background:#17181b;color:#fff;text-align:center;font-size:10.5px;font-weight:750;line-height:1.2;white-space:nowrap;box-shadow:0 6px 15px rgba(17,18,22,.17)}.vbd-range-bubble:after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;transform:translateX(-50%) rotate(45deg);background:#17181b}
.vbd-fit-popover input[type=range]{appearance:none;width:100%;height:22px;margin:0;background:transparent;cursor:pointer}.vbd-fit-popover input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(90deg,#17181b 0 var(--vbd-range-progress,50%),#e8e9ec var(--vbd-range-progress,50%) 100%)}.vbd-fit-popover input[type=range]::-webkit-slider-thumb{appearance:none;width:20px;height:20px;margin-top:-7px;border:4px solid #fff;border-radius:50%;background:#17181b;box-shadow:0 0 0 1px #17181b,0 4px 10px rgba(0,0,0,.2)}.vbd-fit-popover input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:#e8e9ec}.vbd-fit-popover input[type=range]::-moz-range-progress{height:6px;border-radius:99px;background:#17181b}.vbd-fit-popover input[type=range]::-moz-range-thumb{width:14px;height:14px;border:4px solid #fff;border-radius:50%;background:#17181b;box-shadow:0 0 0 1px #17181b}
.vbd-fit-range-labels{display:grid;grid-template-columns:auto 1fr auto;align-items:center;margin-top:4px;color:#92959c;font-size:9.5px}.vbd-fit-range-labels em{text-align:center;font-style:normal;color:#b0b2b7}
.vbd-fit-section-label{margin-top:18px;color:#8f9299;font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.vbd-fit-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;overflow:visible;padding:9px 0 2px}.vbd-fit-presets button{min-width:0;padding:8px 5px;border-radius:11px;font-size:11px;font-weight:650}.vbd-fit-presets button.active{border-color:#17181b;background:#17181b;color:#fff;box-shadow:0 5px 13px rgba(0,0,0,.12)}
.vbd-fit-status-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px;padding-top:16px;border-top:1px solid #ececef}.vbd-fit-status-card>div{min-width:0;padding:12px 13px;border-radius:14px;background:#f7f7f8}.vbd-fit-status-card small{display:block;margin-bottom:4px;color:#989ba2;font-size:8.5px;font-weight:800;letter-spacing:.09em}.vbd-fit-status-card strong{display:block;font-size:13px;color:#393b40}.vbd-fit-status-card>div:last-child strong{color:var(--vbd-green)}.vbd-fit-status-card [data-fit-state][data-status='short']{color:#a26a12}.vbd-fit-status-card [data-fit-state][data-status='long']{color:#b64b3e}.vbd-fit-status-card [data-fit-state][data-status='good']{color:var(--vbd-green)}
.vbd-fit-note{margin:13px 2px 0!important;color:#898c93!important;font-size:11px!important;line-height:1.55!important}

@media(max-width:1360px) and (min-width:781px){.vbd-studio.vbd-pixel-ui{--vbd-library-w:min(var(--vbd-library-w-config,300px),300px)}}
@media(max-width:1080px) and (min-width:781px){.vbd-studio.vbd-pixel-ui{--vbd-library-w:min(var(--vbd-library-w-config,300px),276px)}.vbd-pixel-ui .vbd-material-grid{padding-left:11px;padding-right:11px;gap:7px 6px}.vbd-pixel-ui .vbd-material-card{height:122px}.vbd-pixel-ui .vbd-material-grid{grid-auto-rows:122px}.vbd-pixel-ui .vbd-material-image{height:63px;flex-basis:63px}.vbd-pixel-ui .vbd-material-image img{width:59px;height:59px}}
@media(max-width:780px){.vbd-pixel-ui .vbd-fit-popover{top:54px;left:8px;right:8px;width:auto;padding:21px 18px 18px;border-radius:20px}.vbd-size-control{grid-template-columns:40px 1fr 40px;gap:8px;margin:18px 0 17px;padding:12px}.vbd-size-step{width:40px;height:40px}.vbd-size-value strong{font-size:39px}.vbd-fit-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.vbd-fit-status-card{grid-template-columns:1fr}.vbd-pixel-ui .vbd-material-grid{grid-auto-rows:120px}.vbd-pixel-ui .vbd-material-card{height:120px}}


/* ========================================================================
 * v2.8.5 460px desktop library, studio balance and FIT stability polish
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui{
  --vbd-library-w:clamp(320px,var(--vbd-library-w-config,460px),560px);
  --vbd-topbar-h:58px;
  --vbd-surface:#ffffff;
  --vbd-surface-soft:#fafbfc;
  --vbd-border:#e7e9ed;
  --vbd-shadow-soft:0 10px 30px rgba(17,20,27,.055);
  background:#fff;
}
.vbd-pixel-ui .vbd-topbar{
  height:var(--vbd-topbar-h);
  grid-template-columns:40px minmax(160px,1fr) auto auto auto;
  gap:10px;
  padding:0 18px 0 20px;
  border-bottom:1px solid var(--vbd-border);
  background:rgba(255,255,255,.97);
  box-shadow:0 2px 12px rgba(18,20,26,.025);
}
.vbd-pixel-ui .vbd-top-icon{width:36px;height:36px;border-radius:11px}
.vbd-pixel-ui .vbd-design-title{height:40px!important;line-height:40px!important;font-size:15px!important;font-weight:760!important}
.vbd-pixel-ui .vbd-finish{height:38px;padding:0 22px;border-radius:11px;font-size:12.5px;transition:transform .16s,box-shadow .16s,background .16s}
.vbd-pixel-ui .vbd-finish:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.17)}
.vbd-pixel-ui .vbd-language-pill{height:32px;padding:0 12px;border:1px solid #e7e8eb;background:#fff}

.vbd-pixel-ui .vbd-workspace{
  height:calc(100svh - var(--vbd-topbar-h));
  grid-template-columns:var(--vbd-library-w) minmax(0,1fr)!important;
  background:#fff;
}
.vbd-pixel-ui .vbd-library{
  width:var(--vbd-library-w)!important;
  min-width:var(--vbd-library-w)!important;
  border-right:1px solid var(--vbd-border);
  background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%);
  box-shadow:12px 0 34px rgba(20,23,31,.04);
}
.vbd-pixel-ui .vbd-library-heading{
  padding:17px 19px 9px;
  color:#6f737c;
  font:600 11px/1.2 Georgia,"Times New Roman",serif;
  letter-spacing:.12em;
}
.vbd-pixel-ui .vbd-search{
  height:44px;
  margin:0 18px 12px;
  padding:0 13px;
  grid-template-columns:19px 1fr 22px;
  gap:8px;
  border:1px solid #dfe2e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 16px rgba(17,20,28,.035);
}
.vbd-pixel-ui .vbd-search:focus-within{border-color:#adb4c0;box-shadow:0 0 0 3px rgba(17,18,22,.055)}
.vbd-pixel-ui .vbd-search input{height:42px!important;line-height:42px!important;font-size:12.5px!important}
.vbd-pixel-ui .vbd-search svg{width:17px;height:17px}
.vbd-pixel-ui .vbd-category-list{
  max-height:126px;
  padding:0 18px 15px;
  gap:8px;
  align-content:flex-start;
  scrollbar-gutter:stable;
}
.vbd-pixel-ui .vbd-category-list button{
  height:31px;
  padding:0 14px;
  border-radius:10px;
  border-color:#dfe2e7;
  color:#454951;
  font-size:10.5px;
  line-height:29px;
  font-weight:650;
  transition:.15s;
}
.vbd-pixel-ui .vbd-category-list button:hover{border-color:#bfc4cc;background:#f8f9fa;transform:translateY(-1px)}
.vbd-pixel-ui .vbd-category-list button.active{background:#15161a;border-color:#15161a;color:#fff;box-shadow:0 6px 16px rgba(17,18,22,.14)}
.vbd-pixel-ui .vbd-library-divider{background:#e8eaee}
.vbd-pixel-ui .vbd-material-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:138px;
  gap:11px 10px;
  padding:17px 18px 42px;
  scrollbar-color:#c8cbd1 transparent;
}
.vbd-pixel-ui .vbd-material-grid::-webkit-scrollbar{width:7px}
.vbd-pixel-ui .vbd-material-grid::-webkit-scrollbar-thumb{background:#c8cbd1;border:2px solid #fff;border-radius:999px}
.vbd-pixel-ui .vbd-material-card{
  height:138px;
  padding:9px 7px 8px;
  border:1px solid #e8eaee;
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fff 78%,#fcfcfd 100%);
  box-shadow:0 2px 8px rgba(18,20,27,.025);
  transition:transform .17s,border-color .17s,box-shadow .17s;
}
.vbd-pixel-ui .vbd-material-card:hover,.vbd-pixel-ui .vbd-material-card:focus{
  transform:translateY(-2px)!important;
  border-color:#b8c3e2;
  box-shadow:0 10px 24px rgba(38,48,77,.10),0 0 0 1px rgba(136,158,224,.18);
}
.vbd-pixel-ui .vbd-material-image{height:73px;flex-basis:73px}
.vbd-pixel-ui .vbd-material-image img{width:69px;height:69px;max-width:69px;max-height:69px;filter:drop-shadow(0 6px 9px rgba(20,23,30,.13))}
.vbd-pixel-ui .vbd-material-card strong{height:18px;margin-top:1px;font-size:11.4px;line-height:18px;font-weight:720;color:#22252b}
.vbd-pixel-ui .vbd-material-card small{height:14px;font-size:9.8px;line-height:14px;color:#7d8189}
.vbd-pixel-ui .vbd-material-price{height:19px;line-height:19px}
.vbd-pixel-ui .vbd-material-price b{font-size:12.5px;font-weight:780}
.vbd-pixel-ui .vbd-material-price del{font-size:8.8px}
.vbd-pixel-ui .vbd-photo-button{top:7px;right:7px;width:24px;height:24px;border:1px solid #e2e5e9;box-shadow:0 3px 10px rgba(20,22,29,.07)}
.vbd-pixel-ui .vbd-photo-button:hover{background:#f7f8fa;color:#20242b}
.vbd-pixel-ui .vbd-photo-button svg{width:13px;height:13px}

.vbd-pixel-ui .vbd-stage{
  background:
    radial-gradient(circle at 52% 45%,rgba(255,255,255,1) 0 45%,rgba(250,251,252,.9) 78%,rgba(247,248,250,.92) 100%);
}
.vbd-pixel-ui .vbd-canvas-wrap{padding:28px 38px 36px}
.vbd-pixel-ui .vbd-floating-metrics{top:22px;left:28px;right:28px}
.vbd-pixel-ui .vbd-metric{height:40px;padding:0 16px;border-color:#e0e3e8;box-shadow:0 7px 22px rgba(18,20,28,.06)}
.vbd-pixel-ui .vbd-metric span{font-size:9.5px}.vbd-pixel-ui .vbd-metric strong{font-size:13px}
.vbd-pixel-ui .vbd-string-placeholder{border-color:#d9dce1;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px #edf0f3,0 10px 30px rgba(20,23,31,.035)}
.vbd-pixel-ui .vbd-center-wordmark strong{color:#c1c4ca;font-weight:580}.vbd-pixel-ui .vbd-center-wordmark small{color:#cbd0d6}
.vbd-pixel-ui .vbd-stage-controls{left:26px;right:26px;bottom:20px}
.vbd-pixel-ui .vbd-zoom-controls>button{background:#fff;border:1px solid #e4e7eb;box-shadow:0 4px 14px rgba(18,20,26,.05)}
.vbd-pixel-ui .vbd-trash{width:46px;height:46px;border-color:#e2e5e9;box-shadow:0 7px 20px rgba(18,20,26,.08)}

.vbd-pixel-ui .vbd-fit-popover{
  top:74px;
  left:30px;
  width:min(500px,calc(100% - 60px));
  border-radius:27px;
  border-color:#e1e4e8;
  box-shadow:0 30px 80px rgba(17,20,27,.16),0 4px 14px rgba(17,20,27,.04);
}
.vbd-pixel-ui .vbd-size-control{background:linear-gradient(180deg,#fafbfc 0%,#f5f6f8 100%);border-color:#e7e9ed}
.vbd-pixel-ui .vbd-size-step{transition:.15s}.vbd-pixel-ui .vbd-size-step:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(18,20,27,.08)}
.vbd-pixel-ui .vbd-fit-status-card>div{background:#f7f8fa;border:1px solid #eef0f3}
.vbd-pixel-ui .vbd-range-bubble{box-shadow:0 8px 18px rgba(17,18,22,.18)}

/* Explicit desktop widths. The old 196–300px media rules are overridden here. */
@media(min-width:1181px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:var(--vbd-library-w-config,460px)!important}
}
@media(min-width:1025px) and (max-width:1180px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:400px!important}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-left:12px;padding-right:12px}
  .vbd-pixel-ui .vbd-material-card{height:130px}.vbd-pixel-ui .vbd-material-grid{grid-auto-rows:130px}
}
@media(min-width:781px) and (max-width:1024px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:340px!important}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-left:10px;padding-right:10px;gap:8px}
  .vbd-pixel-ui .vbd-category-list{padding-left:12px;padding-right:12px}
}
@media(max-width:780px){
  .vbd-studio.vbd-pixel-ui{--vbd-library-w:100%!important;--vbd-topbar-h:54px}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:120px;padding:8px 9px 84px;gap:7px}
  .vbd-pixel-ui .vbd-material-card{height:120px;padding:6px 5px}.vbd-pixel-ui .vbd-material-image{height:61px;flex-basis:61px}.vbd-pixel-ui .vbd-material-image img{width:58px;height:58px}
  .vbd-pixel-ui .vbd-canvas-wrap{padding:12px 14px 18px}
}


/* --------------------------------------------------------------------------
 * v2.8.6 Mobile Studio Reconstruction
 * A full-width two-zone mobile workspace with independent category/material
 * scrolling. This block intentionally sits last and wins over legacy rules.
 * -------------------------------------------------------------------------- */
@media (max-width: 900px){
  html:has(.vbd-studio.vbd-pixel-ui),
  body:has(.vbd-studio.vbd-pixel-ui){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    overscroll-behavior:none;
  }
  .vbd-studio.vbd-pixel-ui{
    --vbd-topbar-h:58px;
    --vbd-mobile-category-w:112px;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    height:100svh!important;
    height:100dvh!important;
    min-height:620px!important;
    margin:0!important;
    left:auto!important;
    right:auto!important;
    overflow:hidden!important;
    background:#fff;
  }
  .vbd-pixel-ui .vbd-topbar{
    height:var(--vbd-topbar-h)!important;
    min-height:var(--vbd-topbar-h)!important;
    grid-template-columns:42px minmax(0,1fr) auto 42px!important;
    gap:8px!important;
    padding:0 10px!important;
    border-bottom:1px solid #e8e9ec!important;
    box-shadow:0 2px 12px rgba(24,27,34,.025)!important;
  }
  .vbd-pixel-ui .vbd-language-pill{display:none!important}
  .vbd-pixel-ui .vbd-top-icon{
    width:40px!important;height:40px!important;border-radius:12px!important;
  }
  .vbd-pixel-ui .vbd-design-title{
    width:100%!important;height:40px!important;min-width:0!important;
    padding:0 4px!important;font-size:17px!important;line-height:40px!important;
  }
  .vbd-pixel-ui .vbd-finish{
    height:40px!important;min-width:76px!important;padding:0 17px!important;
    border-radius:12px!important;font-size:12px!important;
  }
  .vbd-pixel-ui .vbd-menu-button{display:grid!important}

  .vbd-pixel-ui .vbd-workspace{
    width:100%!important;
    height:calc(100svh - var(--vbd-topbar-h))!important;
    height:calc(100dvh - var(--vbd-topbar-h))!important;
    min-height:0!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(330px,56%) minmax(270px,44%)!important;
    overflow:hidden!important;
  }
  .vbd-pixel-ui .vbd-stage{
    grid-column:1!important;grid-row:1!important;
    width:100%!important;min-width:0!important;height:100%!important;
    flex:none!important;
    border:0!important;border-bottom:1px solid #e7e8eb!important;
    background:radial-gradient(circle at 50% 45%,#fff 0,#fff 66%,#fafbfc 100%)!important;
    overflow:hidden!important;
  }
  .vbd-pixel-ui .vbd-canvas-wrap{
    width:100%!important;height:100%!important;min-height:0!important;
    padding:14px 14px 58px!important;
    overflow:hidden!important;
  }
  .vbd-pixel-ui .vbd-canvas-wrap canvas{
    max-width:calc(100vw - 24px)!important;
    max-height:calc(56dvh - 110px)!important;
  }
  .vbd-pixel-ui .vbd-string-placeholder{
    width:min(66vw,42dvh,390px)!important;
    min-width:250px!important;max-width:390px!important;
  }
  .vbd-pixel-ui .vbd-center-wordmark strong{
    font-size:clamp(28px,8vw,46px)!important;letter-spacing:.28em!important;text-indent:.28em!important;
  }
  .vbd-pixel-ui .vbd-center-wordmark small{font-size:11px!important}
  .vbd-pixel-ui .vbd-floating-metrics{
    top:12px!important;left:12px!important;right:12px!important;gap:10px!important;
  }
  .vbd-pixel-ui .vbd-metric{
    height:40px!important;padding:0 14px!important;gap:7px!important;
    border-color:#dfe1e5!important;box-shadow:0 7px 20px rgba(20,24,32,.055)!important;
  }
  .vbd-pixel-ui .vbd-metric span{font-size:9.5px!important}
  .vbd-pixel-ui .vbd-metric strong{font-size:13px!important}
  .vbd-pixel-ui .vbd-stage-controls{
    left:12px!important;right:12px!important;bottom:12px!important;
    grid-template-columns:auto 1fr auto!important;gap:8px!important;
  }
  .vbd-pixel-ui .vbd-stage-help{width:30px!important;height:30px!important;line-height:28px!important}
  .vbd-pixel-ui .vbd-zoom-controls{gap:6px!important}
  .vbd-pixel-ui .vbd-mini-control,
  .vbd-pixel-ui .vbd-zoom-controls>button{
    width:38px!important;height:38px!important;border-radius:12px!important;
  }
  .vbd-pixel-ui .vbd-zoom-pill{height:38px!important;min-width:57px!important;padding:0 10px!important;border-radius:12px!important}
  .vbd-pixel-ui .vbd-trash{width:46px!important;height:46px!important;border-radius:50%!important}

  .vbd-pixel-ui .vbd-library{
    grid-column:1!important;grid-row:2!important;
    width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;
    display:grid!important;
    grid-template-columns:var(--vbd-mobile-category-w) minmax(0,1fr)!important;
    grid-template-rows:54px minmax(0,1fr)!important;
    flex:none!important;
    border:0!important;
    background:#fff!important;
    box-shadow:0 -8px 28px rgba(20,23,31,.04)!important;
    overflow:hidden!important;
  }
  .vbd-pixel-ui .vbd-library-heading{
    grid-column:1!important;grid-row:1!important;
    display:flex!important;align-items:center!important;
    width:100%!important;height:54px!important;margin:0!important;padding:0 10px!important;
    border-right:1px solid #e8e9ec!important;border-bottom:1px solid #e8e9ec!important;
    color:#747880!important;font:650 9.5px/1.25 Inter,Arial,sans-serif!important;
    letter-spacing:.05em!important;text-transform:uppercase!important;
    background:#fafbfc!important;
  }
  .vbd-pixel-ui .vbd-search{
    grid-column:2!important;grid-row:1!important;order:0!important;
    width:auto!important;height:42px!important;margin:6px 9px!important;padding:0 12px!important;
    grid-template-columns:20px minmax(0,1fr) 24px!important;gap:7px!important;
    border-radius:13px!important;border-color:#dfe1e5!important;background:#fff!important;
  }
  .vbd-pixel-ui .vbd-search svg{width:17px!important;height:17px!important}
  .vbd-pixel-ui .vbd-search input{
    width:100%!important;height:40px!important;font-size:12px!important;line-height:40px!important;
  }
  .vbd-pixel-ui .vbd-category-list{
    grid-column:1!important;grid-row:2!important;order:0!important;
    width:100%!important;height:100%!important;max-height:none!important;
    margin:0!important;padding:9px 7px 24px!important;
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    gap:7px!important;align-content:stretch!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    border:0!important;border-right:1px solid #e8e9ec!important;
    background:#fafbfc!important;
  }
  .vbd-pixel-ui .vbd-category-list button{
    flex:0 0 auto!important;width:100%!important;min-width:0!important;
    height:auto!important;min-height:46px!important;margin:0!important;padding:8px 5px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    border-radius:13px!important;border:1px solid #e0e2e6!important;
    background:#fff!important;color:#34373d!important;
    font-size:10.5px!important;line-height:1.13!important;font-weight:650!important;
    white-space:normal!important;text-align:center!important;
  }
  .vbd-pixel-ui .vbd-category-list button.active{
    background:#121317!important;color:#fff!important;border-color:#121317!important;
    box-shadow:0 7px 17px rgba(18,19,23,.13)!important;
  }
  .vbd-pixel-ui .vbd-library-divider{display:none!important}
  .vbd-pixel-ui .vbd-library-main{
    grid-column:2!important;grid-row:2!important;order:0!important;
    width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;
    padding:0!important;display:block!important;overflow:hidden!important;background:#fff!important;
  }
  .vbd-pixel-ui .vbd-material-grid{
    width:100%!important;height:100%!important;min-width:0!important;margin:0!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:132px!important;gap:8px!important;align-content:start!important;
    padding:9px 10px 88px!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
  .vbd-pixel-ui .vbd-material-card{
    width:100%!important;min-width:0!important;height:132px!important;min-height:132px!important;
    padding:7px 5px 7px!important;border-radius:14px!important;
    border:1px solid #e8eaee!important;background:#fff!important;
    box-shadow:0 3px 12px rgba(24,27,34,.025)!important;
    overflow:hidden!important;
  }
  .vbd-pixel-ui .vbd-material-image{height:70px!important;flex-basis:70px!important;min-height:70px!important}
  .vbd-pixel-ui .vbd-material-image img{
    width:66px!important;height:66px!important;max-width:66px!important;max-height:66px!important;
    object-fit:contain!important;filter:drop-shadow(0 5px 8px rgba(18,22,30,.12))!important;
  }
  .vbd-pixel-ui .vbd-material-card strong{
    height:18px!important;margin-top:0!important;font-size:10.8px!important;line-height:18px!important;font-weight:700!important;
  }
  .vbd-pixel-ui .vbd-material-card small{height:14px!important;font-size:9.5px!important;line-height:14px!important}
  .vbd-pixel-ui .vbd-material-price{height:19px!important;line-height:19px!important}
  .vbd-pixel-ui .vbd-material-price b{font-size:12.5px!important}
  .vbd-pixel-ui .vbd-material-price del{font-size:8.5px!important}
  .vbd-pixel-ui .vbd-photo-button{
    top:5px!important;right:5px!important;width:25px!important;height:25px!important;
    border:1px solid #e4e6ea!important;box-shadow:0 3px 10px rgba(18,22,30,.06)!important;
  }
  .vbd-pixel-ui .vbd-photo-button svg{width:14px!important;height:14px!important}
  .vbd-pixel-ui .vbd-fit-popover,
  .vbd-pixel-ui .vbd-total-popover{
    position:fixed!important;z-index:200!important;top:auto!important;left:10px!important;right:10px!important;bottom:10px!important;
    width:auto!important;max-width:none!important;max-height:min(82dvh,720px)!important;
    overflow:auto!important;padding:20px 17px 18px!important;border-radius:22px!important;
    box-shadow:0 25px 65px rgba(17,21,29,.22)!important;
  }
  .vbd-pixel-ui .vbd-dialog-card{max-height:90dvh!important;overflow:auto!important}
}

@media (max-width: 600px){
  .vbd-studio.vbd-pixel-ui{--vbd-mobile-category-w:96px}
  .vbd-pixel-ui .vbd-workspace{
    grid-template-rows:minmax(300px,53%) minmax(300px,47%)!important;
  }
  .vbd-pixel-ui .vbd-canvas-wrap canvas{max-height:calc(53dvh - 108px)!important}
  .vbd-pixel-ui .vbd-string-placeholder{width:min(72vw,38dvh,320px)!important;min-width:225px!important}
  .vbd-pixel-ui .vbd-material-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:128px!important;gap:8px!important;padding:8px 9px 92px!important;
  }
  .vbd-pixel-ui .vbd-material-card{height:128px!important;min-height:128px!important}
  .vbd-pixel-ui .vbd-material-image{height:67px!important;flex-basis:67px!important;min-height:67px!important}
  .vbd-pixel-ui .vbd-material-image img{width:63px!important;height:63px!important;max-width:63px!important;max-height:63px!important}
  .vbd-pixel-ui .vbd-floating-metrics{left:8px!important;right:8px!important;top:8px!important}
  .vbd-pixel-ui .vbd-metric{height:37px!important;padding:0 10px!important}
  .vbd-pixel-ui .vbd-metric span{font-size:8.5px!important}.vbd-pixel-ui .vbd-metric strong{font-size:11.5px!important}
  .vbd-pixel-ui .vbd-category-list button{min-height:44px!important;font-size:10px!important;padding:7px 4px!important}
}

@media (max-width: 390px){
  .vbd-studio.vbd-pixel-ui{--vbd-mobile-category-w:88px;--vbd-topbar-h:56px}
  .vbd-pixel-ui .vbd-topbar{grid-template-columns:38px minmax(0,1fr) 68px 38px!important;padding:0 7px!important;gap:5px!important}
  .vbd-pixel-ui .vbd-top-icon{width:36px!important;height:36px!important}
  .vbd-pixel-ui .vbd-finish{min-width:66px!important;height:38px!important;padding:0 12px!important}
  .vbd-pixel-ui .vbd-design-title{font-size:15px!important}
  .vbd-pixel-ui .vbd-material-grid{gap:6px!important;padding-left:7px!important;padding-right:7px!important}
  .vbd-pixel-ui .vbd-material-card strong{font-size:10.2px!important}
  .vbd-pixel-ui .vbd-library-heading{padding:0 7px!important;font-size:8.5px!important}
}


/* v2.8.7 Gallery product publishing and finish-option polish */
.vbd-public-toggle{display:flex!important;align-items:flex-start!important;gap:12px!important;padding:15px 16px!important;border:1px solid #e2e5e9!important;border-radius:16px!important;background:#fafbfc!important;color:#181a1f!important;line-height:1.25!important}
.vbd-public-toggle input{margin-top:3px!important;flex:0 0 auto!important}
.vbd-public-toggle span{display:grid!important;gap:5px!important}
.vbd-public-toggle strong{font-size:14px!important;font-weight:750!important}
.vbd-public-toggle small{font-size:12px!important;line-height:1.45!important;color:#737983!important}


/* v2.9.5: cart handoff notices must stay above native dialog backdrops. */
.vbd-studio .vbd-toast,
.vbd-pixel-ui .vbd-toast{
  position:fixed!important;
  z-index:2147483647!important;
  top:max(18px,env(safe-area-inset-top))!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  max-width:min(680px,calc(100vw - 28px))!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:center!important;
  line-height:1.45!important;
  padding:12px 18px!important;
  pointer-events:none!important;
  box-shadow:0 16px 42px rgba(0,0,0,.25)!important;
}
@media(max-width:600px){
  .vbd-studio .vbd-toast,.vbd-pixel-ui .vbd-toast{top:max(10px,env(safe-area-inset-top))!important;font-size:13px!important;padding:11px 14px!important}
}

/* v2.9.5: toast uses the browser top layer so native dialogs cannot cover it. */
.vbd-toast[popover]{margin:0!important;border:0!important;inset:auto!important;position:fixed!important;left:50%!important;top:max(14px,env(safe-area-inset-top))!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;max-width:min(720px,calc(100vw - 28px))!important;white-space:normal!important;text-align:center!important;line-height:1.42!important;z-index:2147483647!important;}
.vbd-toast[popover]::backdrop{background:transparent!important;pointer-events:none!important;}

/* v2.9.6: body-level toast fallback, independent from dialog stacking contexts. */
body > .vbd-toast{position:fixed!important;left:50%!important;top:max(14px,env(safe-area-inset-top))!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;z-index:2147483647!important;max-width:min(760px,calc(100vw - 28px))!important;white-space:normal!important;text-align:center!important;line-height:1.42!important;pointer-events:none!important;}


/* v2.9.8 Smart creative generator */
.vbd-generator-dialog{width:min(780px,calc(100vw - 28px));padding:30px!important}
.vbd-generator-head{padding-right:42px}.vbd-generator-head>span{display:block;color:#8a8f99;font-size:11px;font-weight:800;letter-spacing:.15em}.vbd-generator-head h2{margin:7px 0 7px;font-family:Georgia,serif;font-size:34px;line-height:1.08;color:#17191e}.vbd-generator-head p{margin:0;color:#737985;line-height:1.55}
.vbd-generator-context{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 14px}.vbd-generator-context>div{padding:13px 15px;border:1px solid #e6e8ec;border-radius:14px;background:#fafbfc}.vbd-generator-context small{display:block;margin-bottom:4px;color:#8b919b;font-size:10px;text-transform:uppercase;letter-spacing:.09em}.vbd-generator-context strong{font-size:14px;color:#202329}
.vbd-generator-source{display:grid;gap:7px;color:#4d535d;font-size:12px;font-weight:700}.vbd-generator-source select{width:100%;height:46px;padding:0 13px;border:1px solid #dfe2e7;border-radius:13px;background:#fff;color:#1d2026;font:inherit;outline:none}.vbd-generator-source select:focus{border-color:#111;box-shadow:0 0 0 3px rgba(17,17,17,.07)}
.vbd-generator-section{margin-top:21px}.vbd-generator-section>strong{display:block;margin-bottom:10px;color:#202329;font-size:14px}
.vbd-generator-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.vbd-generator-themes button{display:flex;align-items:center;gap:10px;min-height:66px;padding:10px 12px;border:1px solid #e0e3e8;border-radius:15px;background:#fff;text-align:left;color:#22252b;transition:.18s ease}.vbd-generator-themes button:hover{transform:translateY(-1px);border-color:#bfc4cc;box-shadow:0 7px 18px rgba(22,25,32,.07)}.vbd-generator-themes button.active{border-color:#111;background:#111;color:#fff;box-shadow:0 10px 24px rgba(17,17,17,.18)}.vbd-generator-themes i{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:50%;background:#f0f1f3;font-style:normal;font-size:17px;color:#111}.vbd-generator-themes button.active i{background:#fff;color:#111}.vbd-generator-themes span{display:grid;gap:3px;font-weight:800;font-size:13px}.vbd-generator-themes small{font-size:10.5px;font-weight:500;color:#858b95}.vbd-generator-themes button.active small{color:#c9cbd0}
.vbd-generator-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.vbd-generator-options label{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #e3e5e9;border-radius:14px;background:#fafbfc;cursor:pointer}.vbd-generator-options input{margin-top:3px;accent-color:#111}.vbd-generator-options span{display:grid;gap:3px}.vbd-generator-options b{font-size:12.5px;color:#24272d}.vbd-generator-options small{font-size:10.5px;line-height:1.35;color:#7d838d}
.vbd-generator-preview-note{margin-top:14px;padding:10px 12px;border-radius:11px;background:#f3f5f7;color:#6f7580;font-size:11.5px}.vbd-generator-actions{margin-top:18px}.vbd-generator-actions .vbd-primary{min-width:210px}
@media(max-width:700px){.vbd-generator-dialog{padding:23px 18px 18px!important}.vbd-generator-head h2{font-size:27px}.vbd-generator-context{grid-template-columns:1fr}.vbd-generator-themes{grid-template-columns:repeat(2,minmax(0,1fr))}.vbd-generator-options{grid-template-columns:1fr}.vbd-generator-actions{display:grid;grid-template-columns:1fr 1.4fr}.vbd-generator-actions button{width:100%;min-width:0!important}}
@media(max-width:390px){.vbd-generator-themes{grid-template-columns:1fr 1fr;gap:7px}.vbd-generator-themes button{padding:9px;gap:7px}.vbd-generator-themes i{width:27px;height:27px;flex-basis:27px}.vbd-generator-themes span{font-size:11.5px}.vbd-generator-themes small{font-size:9.5px}}


/* v2.9.8 Creative Composer & proposal previews */
.vbd-generator-dialog{width:min(980px,calc(100vw - 28px));max-height:min(94dvh,980px);overflow:auto}
.vbd-generator-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.vbd-generator-control-grid label{display:grid;gap:7px;color:#555c67;font-size:11.5px;font-weight:800}.vbd-generator-control-grid label>small{font-weight:500}.vbd-generator-control-grid select,.vbd-generator-control-grid input{width:100%;height:44px;padding:0 12px;border:1px solid #dfe2e7;border-radius:12px;background:#fff;color:#1e2127;font:inherit;outline:none}.vbd-generator-control-grid select:focus,.vbd-generator-control-grid input:focus{border-color:#111;box-shadow:0 0 0 3px rgba(17,17,17,.07)}
.vbd-generator-proposals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:16px}.vbd-generator-proposal{display:grid;gap:7px;padding:10px;border:1px solid #e0e3e8;border-radius:17px;background:#fff;text-align:left;color:#202329;transition:.18s ease;overflow:hidden}.vbd-generator-proposal:hover{transform:translateY(-2px);border-color:#b9bec7;box-shadow:0 12px 28px rgba(24,28,36,.09)}.vbd-generator-proposal.active{border-color:#111;box-shadow:0 0 0 2px #111,0 14px 32px rgba(17,17,17,.12)}.vbd-generator-proposal canvas{display:block;width:100%;height:142px;border-radius:12px;background:linear-gradient(145deg,#fafafa,#f2f3f5)}.vbd-generator-proposal-title{font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vbd-generator-proposal-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.vbd-generator-proposal-meta b{font-size:14px;color:#111}.vbd-generator-proposal-meta i{font-style:normal;font-size:10.5px;color:#05846f}.vbd-generator-proposal-stats{font-size:10.5px;color:#858b95}.vbd-generator-empty{grid-column:1/-1;padding:25px;border:1px dashed #d6d9df;border-radius:15px;text-align:center;color:#858b95;background:#fafbfc}.vbd-generator-selection{min-height:20px;margin-top:9px;color:#5f6671;font-size:11.5px;text-align:right}.vbd-generator-actions{grid-template-columns:auto auto minmax(180px,1fr)}
@media(max-width:820px){.vbd-generator-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vbd-generator-proposals{grid-template-columns:1fr}.vbd-generator-proposal{grid-template-columns:145px 1fr;align-items:center}.vbd-generator-proposal canvas{grid-row:1/5;height:105px}.vbd-generator-actions{grid-template-columns:1fr 1fr}.vbd-generator-actions .vbd-primary{grid-column:1/-1}}
@media(max-width:520px){.vbd-generator-control-grid{grid-template-columns:1fr 1fr}.vbd-generator-dialog{padding:21px 15px 16px!important}.vbd-generator-proposal{grid-template-columns:115px 1fr;padding:8px}.vbd-generator-proposal canvas{height:92px}.vbd-generator-actions{display:grid;grid-template-columns:1fr 1fr}.vbd-generator-actions .vbd-primary{grid-column:1/-1}.vbd-generator-selection{text-align:left}}


/* v2.9.9: reliable creative apply and visible action progress. */
.vbd-dialog-actions button.is-loading,
.vbd-generator-actions button.is-loading{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  cursor:wait!important;
}
.vbd-dialog-actions button.is-loading::before,
.vbd-generator-actions button.is-loading::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:vbd-progress-spin .72s linear infinite;
  opacity:.92;
}
@keyframes vbd-progress-spin{to{transform:rotate(360deg)}}
.vbd-submit-status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  margin:16px 0 0;
  padding:10px 14px;
  border:1px solid #e2e5e9;
  border-radius:13px;
  background:#f7f8fa;
  color:#555d68;
  font-size:13px;
  font-weight:700;
  text-align:center;
}
.vbd-submit-status[hidden]{display:none!important}
.vbd-submit-status[data-type="success"]{border-color:#b9e3d7;background:#f0fbf7;color:#08755f}
.vbd-submit-status[data-type="error"]{border-color:#efc3c3;background:#fff4f4;color:#bd3535}
.vbd-progress-ring{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:2px solid #aeb4bd;
  border-right-color:#111;
  border-radius:50%;
  animation:vbd-progress-spin .72s linear infinite;
}
.vbd-submit-status[data-type="success"] .vbd-progress-ring{animation:none;border-color:#0d8a6f;position:relative}
.vbd-submit-status[data-type="success"] .vbd-progress-ring::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #0d8a6f;border-width:0 2px 2px 0;transform:rotate(45deg)}
.vbd-submit-status[data-type="error"] .vbd-progress-ring{display:none}
.vbd-finish-dialog[aria-busy="true"] .vbd-finish-info,
.vbd-generator-dialog[aria-busy="true"] .vbd-generator-section,
.vbd-generator-dialog[aria-busy="true"] .vbd-generator-context,
.vbd-generator-dialog[aria-busy="true"] .vbd-generator-control-grid,
.vbd-generator-dialog[aria-busy="true"] .vbd-generator-proposals{opacity:.72}
.vbd-generator-proposal[aria-pressed="true"]{outline:0}
@media(max-width:600px){
  .vbd-submit-status{margin-top:12px;font-size:12px;padding:9px 11px}
  .vbd-dialog-actions button.is-loading::before,.vbd-generator-actions button.is-loading::before{width:14px;height:14px;flex-basis:14px}
}


/* v2.9.10: auto-generation, honest button states and creative-action reliability. */
.vbd-generator-empty{display:grid;place-items:center;gap:7px;min-height:112px}
.vbd-generator-empty strong{font-size:14px;color:#3e434b}
.vbd-generator-empty span{font-size:11.5px;color:#858b95;max-width:520px}
.vbd-generator-empty.is-loading{min-height:150px;background:linear-gradient(110deg,#fafbfc 20%,#f1f3f6 40%,#fafbfc 60%);background-size:220% 100%;animation:vbd-generator-shimmer 1.35s linear infinite}
.vbd-inline-spinner{width:25px;height:25px;border:3px solid #d7dbe1;border-right-color:#111;border-radius:50%;animation:vbd-progress-spin .7s linear infinite}
@keyframes vbd-generator-shimmer{to{background-position:-220% 0}}
.vbd-generator-actions .vbd-primary.needs-generation:not(.is-loading){background:#111;color:#fff}
.vbd-generator-actions button:disabled:not(.is-loading){opacity:.52!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}
.vbd-generator-dialog[aria-busy="true"] .vbd-generator-proposal{pointer-events:none;opacity:.72}


/* v2.9.11: quality-scored creative composer and stable sticky actions. */
.vbd-generator-dialog{scroll-padding-bottom:104px}
.vbd-generator-proposal{position:relative;padding-top:34px}
.vbd-generator-proposal-badge{position:absolute;left:10px;top:9px;display:inline-flex;align-items:center;min-height:21px;padding:3px 8px;border-radius:999px;background:#f0f2f5;color:#59616d;font-size:9.5px;font-weight:850;letter-spacing:.03em}
.vbd-generator-proposal.active .vbd-generator-proposal-badge{background:#111;color:#fff}
.vbd-generator-proposal.needs-fit:not(.active){border-color:#e8d4b0;background:#fffdf8}
.vbd-generator-proposal.needs-fit .vbd-generator-proposal-meta i{color:#b16a00}
.vbd-generator-selection{position:sticky;bottom:78px;z-index:8;margin:14px -30px 0;padding:10px 30px;background:rgba(255,255,255,.96);border-top:1px solid #eceef1;backdrop-filter:blur(10px)}
.vbd-generator-actions{position:sticky;bottom:-30px;z-index:9;margin:0 -30px -30px;padding:14px 30px 22px;background:rgba(255,255,255,.98);box-shadow:0 -14px 30px rgba(22,26,34,.08);backdrop-filter:blur(12px)}
.vbd-generator-proposal-stats{line-height:1.35}
@media(max-width:820px){.vbd-generator-selection{bottom:128px;margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.vbd-generator-actions{bottom:-18px;margin-left:-18px;margin-right:-18px;margin-bottom:-18px;padding:12px 18px 18px}.vbd-generator-proposal{padding-top:31px}.vbd-generator-proposal-badge{left:8px;top:7px}}


/* v2.9.12 Creative Art Director */
.vbd-generator-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.vbd-generator-proposal{cursor:pointer}
.vbd-generator-proposal:focus-visible{outline:3px solid rgba(17,17,17,.18);outline-offset:3px}
.vbd-generator-material-chips{display:flex;flex-wrap:wrap;gap:4px;min-height:20px}
.vbd-generator-material-chips span{max-width:110px;padding:3px 7px;border-radius:999px;background:#f3f4f6;color:#666d77;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vbd-generator-card-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:6px;margin-top:2px}
.vbd-generator-card-actions button{min-height:34px;padding:7px 9px;border:1px solid #dfe2e7;border-radius:10px;background:#fff;color:#24272d;font-size:10.5px;font-weight:800;cursor:pointer}
.vbd-generator-card-actions button:hover{border-color:#aaaeb7;background:#f7f8f9}
.vbd-generator-card-actions button.primary{border-color:#111;background:#111;color:#fff}
.vbd-generator-card-actions button.primary:hover{background:#292929}
.vbd-generator-proposal.active .vbd-generator-material-chips span{background:#eceef1;color:#373b42}
@media(max-width:900px){.vbd-generator-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.vbd-generator-options{grid-template-columns:1fr}.vbd-generator-proposal{grid-template-columns:105px 1fr}.vbd-generator-material-chips,.vbd-generator-card-actions{grid-column:2}.vbd-generator-card-actions{grid-template-columns:1fr 1.25fr}}


/* v2.9.13: unobstructed creative preview, compact sticky footer and explicit card selection. */
.vbd-generator-selection{display:none!important}
.vbd-generator-dialog{scroll-padding-bottom:92px!important;scrollbar-gutter:stable;overscroll-behavior:contain}
.vbd-generator-proposals{padding-bottom:8px!important}
.vbd-generator-actions{
  bottom:-30px!important;
  z-index:12!important;
  margin:18px -30px -30px!important;
  padding:14px 30px 20px!important;
  border-top:1px solid #e7e9ed!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 -8px 22px rgba(22,26,34,.055)!important;
  backdrop-filter:blur(14px)!important;
}
.vbd-generator-proposal{isolation:isolate}
.vbd-generator-selected-badge{
  position:absolute;right:10px;top:9px;z-index:2;display:inline-flex;align-items:center;min-height:21px;
  padding:3px 8px;border-radius:999px;background:#0a806d;color:#fff;font-size:9px;font-weight:900;letter-spacing:.035em;
  box-shadow:0 4px 12px rgba(10,128,109,.22)
}
.vbd-generator-proposal.active{box-shadow:0 0 0 2px #111,0 12px 28px rgba(17,17,17,.10)!important}
.vbd-generator-proposal.active [data-generator-use-card]{background:#0a806d!important;border-color:#0a806d!important}
.vbd-generator-preview-note[data-mode="working"]{color:#111!important;background:#f0f2f5!important;font-weight:750!important}
@media(max-width:820px){
  .vbd-generator-actions{bottom:-18px!important;margin:16px -18px -18px!important;padding:12px 18px 18px!important}
  .vbd-generator-dialog{scroll-padding-bottom:138px!important}
}
@media(max-width:520px){
  .vbd-generator-selected-badge{right:8px;top:7px}
}

/* v2.9.14: accessory-aware composer, explicit state machine and accessible proposal selection. */
.vbd-generator-proposal-title[data-generator-select-card]{
  display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;
  font:inherit;font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;
}
.vbd-generator-proposal-title[data-generator-select-card]:focus-visible{outline:2px solid rgba(17,17,17,.28);outline-offset:3px;border-radius:4px}
.vbd-generator-dialog[data-generator-state="generating"] .vbd-generator-preview-note,
.vbd-generator-dialog[data-generator-state="refreshing"] .vbd-generator-preview-note,
.vbd-generator-dialog[data-generator-state="applying"] .vbd-generator-preview-note{min-height:40px;display:flex;align-items:center}
.vbd-generator-dialog[data-generator-state="applying"] .vbd-generator-proposals{pointer-events:none}
.vbd-generator-proposal[aria-current="true"]{border-color:#111}

/* v2.9.15: dynamic circumference layout and animated material insertion. */
.vbd-pixel-ui .vbd-material-card.is-adding{
  z-index:4;
  animation:vbd-material-add-card .48s cubic-bezier(.2,.8,.2,1);
  border-color:#879cff!important;
  box-shadow:0 0 0 3px rgba(125,148,255,.16),0 13px 28px rgba(46,66,135,.16)!important;
}
.vbd-pixel-ui .vbd-material-card.is-adding .vbd-material-image img{
  animation:vbd-material-add-image .48s cubic-bezier(.2,.8,.2,1);
}
.vbd-pixel-ui .vbd-canvas-wrap::after{
  content:"";
  position:absolute;
  z-index:2;
  left:50%;top:50%;
  width:min(70%,680px);aspect-ratio:1;
  transform:translate(-50%,-50%) scale(.92);
  border-radius:50%;
  border:1px solid transparent;
  opacity:0;
  pointer-events:none;
}
.vbd-pixel-ui.vbd-layout-animating .vbd-canvas-wrap::after{
  animation:vbd-layout-reflow-halo .52s ease-out;
}
.vbd-pixel-ui.vbd-layout-animating .vbd-canvas-wrap canvas{will-change:contents}
@keyframes vbd-material-add-card{
  0%{transform:scale(1)}
  35%{transform:translateY(-3px) scale(.96)}
  72%{transform:translateY(-1px) scale(1.035)}
  100%{transform:scale(1)}
}
@keyframes vbd-material-add-image{
  0%{transform:scale(1);opacity:1}
  38%{transform:scale(.72);opacity:.64}
  100%{transform:scale(1);opacity:1}
}
@keyframes vbd-layout-reflow-halo{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.84);border-color:rgba(125,148,255,0)}
  35%{opacity:.8;border-color:rgba(125,148,255,.24)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1.04);border-color:rgba(125,148,255,0)}
}
@media(prefers-reduced-motion:reduce){
  .vbd-pixel-ui .vbd-material-card.is-adding,
  .vbd-pixel-ui .vbd-material-card.is-adding .vbd-material-image img,
  .vbd-pixel-ui.vbd-layout-animating .vbd-canvas-wrap::after{animation:none!important}
}


/* v2.9.16: large-library batching, unavailable-state clarity and stable interaction feedback. */
.vbd-pixel-ui .vbd-material-card.is-disabled{opacity:.52;filter:grayscale(.22);cursor:not-allowed}
.vbd-pixel-ui .vbd-material-card.is-disabled:hover{border-color:#eeeeF1!important;box-shadow:none!important}
.vbd-pixel-ui .vbd-stock-badge.is-sold-out{background:#f1f2f4;color:#686b72}
.vbd-pixel-ui .vbd-material-more{grid-column:1/-1;min-height:48px;margin:5px 2px 18px;border:1px solid #dfe2e8;border-radius:13px;background:#fff;color:#23252a;font-size:12px;font-weight:760;box-shadow:0 6px 18px rgba(18,20,26,.04)}
.vbd-pixel-ui .vbd-material-more:hover{border-color:#aeb5c2;background:#fafbfc}
.vbd-pixel-ui .vbd-material-more small{display:block;margin-top:2px;color:#8a8e96;font-size:9px;font-weight:600}
.vbd-pixel-ui .vbd-canvas-wrap canvas{touch-action:none}
.vbd-pixel-ui .vbd-material-card img{content-visibility:auto}
@media(max-width:780px){.vbd-pixel-ui .vbd-material-more{min-height:44px;margin-bottom:70px}}

.vbd-public-action-status{min-height:20px;margin:10px 0 2px;color:#666b73;font-size:12px}
.vbd-public-action-status[data-type="error"]{color:#b83d3d}.vbd-public-action-status[data-type="success"]{color:#16805c}


/* v2.9.17: settled-save, keyboard focus and safe-area reliability. */
.vbd-material-card:focus-visible,
.vbd-material-more:focus-visible,
.vbd-studio button:focus-visible,
.vbd-studio input:focus-visible,
.vbd-studio select:focus-visible,
.vbd-studio textarea:focus-visible {
  outline: 3px solid rgba(83,104,223,.68);
  outline-offset: 3px;
}
.vbd-generator-dialog[aria-busy="true"] [data-dialog-close]:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 780px) {
  .vbd-sticky-actions,
  .vbd-finish-actions,
  .vbd-generator-actions {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .vbd-dialog-card {
    max-height: calc(100dvh - max(18px, env(safe-area-inset-top)) - max(18px, env(safe-area-inset-bottom)));
  }
}


/* v2.9.18 accessible library status and drawer focus containment */
/* v2.9.19 modal safety, focus restoration and cached nonce resilience */
.vbd-library-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.vbd-drawer-panel:focus{outline:none}
.vbd-drawer-panel :focus-visible,.vbd-material-card:focus-visible,.vbd-menu-button:focus-visible{outline:3px solid color-mix(in srgb,var(--vbd-accent,#111) 32%,#fff);outline-offset:3px}


/* --------------------------------------------------------------------------
 * v2.9.20 Mobile UX, dynamic Safari viewport and unobstructed creative flow.
 * -------------------------------------------------------------------------- */
@media (max-width:900px){
  .vbd-studio.vbd-pixel-ui{
    height:var(--vbd-viewport-height,100dvh)!important;
    min-height:0!important;
  }
  .vbd-pixel-ui .vbd-workspace{
    height:calc(var(--vbd-viewport-height,100dvh) - var(--vbd-topbar-h))!important;
  }
  .vbd-pixel-ui .vbd-design-title{
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  .vbd-pixel-ui .vbd-dialog-card{
    max-height:calc(var(--vbd-viewport-height,100dvh) - max(14px,env(safe-area-inset-top)) - max(14px,env(safe-area-inset-bottom)))!important;
  }
  .vbd-pixel-ui .vbd-generator-dialog{
    width:min(780px,calc(100vw - 18px))!important;
    overscroll-behavior:contain!important;
    scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;
  }
  .vbd-pixel-ui .vbd-generator-actions{
    padding-bottom:max(16px,env(safe-area-inset-bottom))!important;
  }
}
@media (max-width:600px){
  .vbd-studio.vbd-pixel-ui{--vbd-mobile-category-w:90px!important;--vbd-topbar-h:56px!important}
  .vbd-pixel-ui .vbd-topbar{
    grid-template-columns:38px minmax(0,1fr) 72px 38px!important;
    padding:0 7px!important;gap:6px!important;
  }
  .vbd-pixel-ui .vbd-design-title{font-size:15px!important;padding:0 2px!important}
  .vbd-pixel-ui .vbd-finish{min-width:70px!important;height:38px!important;padding:0 12px!important}
  .vbd-pixel-ui .vbd-workspace{
    grid-template-rows:minmax(292px,52%) minmax(280px,48%)!important;
  }
  .vbd-pixel-ui .vbd-canvas-wrap{padding:12px 8px 52px!important}
  .vbd-pixel-ui .vbd-canvas-wrap canvas{max-height:calc((var(--vbd-viewport-height,100dvh) - var(--vbd-topbar-h)) * .52 - 76px)!important}
  .vbd-pixel-ui .vbd-string-placeholder{width:min(74vw,37dvh,316px)!important;min-width:210px!important}
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy{
    display:flex!important;bottom:14%!important;width:min(280px,78vw)!important;white-space:normal!important;
    padding:10px 14px!important;border:1px solid rgba(225,228,233,.92)!important;border-radius:14px!important;
    background:rgba(255,255,255,.90)!important;box-shadow:0 8px 24px rgba(24,28,36,.055)!important;
    text-align:center!important;backdrop-filter:blur(8px)!important;
  }
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy strong{font-size:13px!important}
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy span{font-size:11px!important;margin-top:2px!important}
  .vbd-pixel-ui .vbd-library{grid-template-rows:50px minmax(0,1fr)!important}
  .vbd-pixel-ui .vbd-library-heading{height:50px!important;padding:0 7px!important;font-size:8.5px!important}
  .vbd-pixel-ui .vbd-search{height:40px!important;margin:5px 7px!important}
  .vbd-pixel-ui .vbd-search input{height:38px!important;line-height:38px!important}
  .vbd-pixel-ui .vbd-category-list{padding:7px 6px calc(18px + env(safe-area-inset-bottom))!important}
  .vbd-pixel-ui .vbd-category-list button{min-height:42px!important;font-size:9.6px!important;padding:6px 3px!important}
  .vbd-pixel-ui .vbd-material-grid{
    grid-auto-rows:118px!important;gap:7px!important;
    padding:7px 7px calc(78px + env(safe-area-inset-bottom))!important;
  }
  .vbd-pixel-ui .vbd-material-card{height:118px!important;min-height:118px!important;padding:5px 4px 7px!important}
  .vbd-pixel-ui .vbd-material-image{height:59px!important;flex-basis:59px!important;min-height:59px!important}
  .vbd-pixel-ui .vbd-material-image img{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}
  .vbd-pixel-ui .vbd-material-card strong{font-size:10px!important;line-height:1.15!important}
  .vbd-pixel-ui .vbd-material-card small{font-size:9px!important;margin-top:1px!important}
  .vbd-pixel-ui .vbd-photo-button{width:23px!important;height:23px!important}

  .vbd-dialog[data-generator-dialog]{padding:max(8px,env(safe-area-inset-top)) 7px max(8px,env(safe-area-inset-bottom))!important}
  .vbd-pixel-ui .vbd-generator-dialog{
    width:100%!important;height:calc(var(--vbd-viewport-height,100dvh) - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))!important;
    max-height:none!important;margin:0!important;padding:20px 14px 0!important;border-radius:22px!important;
    display:block!important;overflow-y:auto!important;overflow-x:hidden!important;
  }
  .vbd-pixel-ui .vbd-generator-head{padding-right:34px!important}
  .vbd-pixel-ui .vbd-generator-head h2{font-size:23px!important;line-height:1.08!important}
  .vbd-pixel-ui .vbd-generator-head p{font-size:11px!important;line-height:1.45!important}
  .vbd-pixel-ui .vbd-generator-context{grid-template-columns:1fr 1fr!important;gap:7px!important;margin:13px 0 10px!important}
  .vbd-pixel-ui .vbd-generator-context>div{padding:9px 10px!important}
  .vbd-pixel-ui .vbd-generator-control-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .vbd-pixel-ui .vbd-generator-section{margin-top:14px!important}
  .vbd-pixel-ui .vbd-generator-themes{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .vbd-pixel-ui .vbd-generator-themes button{min-height:54px!important;padding:7px!important;gap:5px!important}
  .vbd-pixel-ui .vbd-generator-themes i{width:25px!important;height:25px!important;flex-basis:25px!important;font-size:13px!important}
  .vbd-pixel-ui .vbd-generator-themes span{font-size:10px!important}.vbd-pixel-ui .vbd-generator-themes small{display:none!important}
  .vbd-pixel-ui .vbd-generator-options{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .vbd-pixel-ui .vbd-generator-options label{padding:8px!important}.vbd-pixel-ui .vbd-generator-options small{display:none!important}
  .vbd-pixel-ui .vbd-generator-proposals{padding-bottom:8px!important}
  .vbd-pixel-ui .vbd-generator-proposal{grid-template-columns:100px minmax(0,1fr)!important;gap:10px!important;padding:31px 10px 10px!important}
  .vbd-pixel-ui .vbd-generator-material-chips,.vbd-pixel-ui .vbd-generator-card-actions{grid-column:2!important}
  .vbd-pixel-ui .vbd-generator-actions{
    position:sticky!important;left:0!important;right:0!important;bottom:0!important;
    grid-template-columns:1fr 1.35fr!important;margin:14px -14px 0!important;
    padding:11px 14px max(14px,env(safe-area-inset-bottom))!important;
    border-radius:0 0 22px 22px!important;background:rgba(255,255,255,.985)!important;
  }
  .vbd-pixel-ui .vbd-generator-actions [data-generator-apply]{grid-column:1/-1!important}
  .vbd-pixel-ui [data-generator-dialog].has-proposals .vbd-generator-actions [data-generator-apply]{display:none!important}
  .vbd-pixel-ui [data-generator-dialog].has-proposals .vbd-generator-actions{grid-template-columns:1fr 1.5fr!important}
}
@media (max-width:380px){
  .vbd-pixel-ui .vbd-generator-themes{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vbd-pixel-ui .vbd-generator-control-grid{grid-template-columns:1fr!important}
  .vbd-pixel-ui .vbd-generator-proposal{grid-template-columns:88px minmax(0,1fr)!important}
}


/* --------------------------------------------------------------------------
 * v2.9.21 Quick Creative Launch — one-tap idea generation outside the menu.
 * -------------------------------------------------------------------------- */
.vbd-pixel-ui .vbd-creative-quick{
  position:absolute;z-index:18;top:72px;right:24px;display:inline-flex;align-items:center;gap:9px;
  min-height:46px;padding:6px 14px 6px 8px;border:1px solid rgba(214,217,224,.96);border-radius:999px;
  background:rgba(255,255,255,.96);color:#17181b;box-shadow:0 10px 28px rgba(20,23,31,.10);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease;
}
.vbd-pixel-ui .vbd-creative-quick:hover{transform:translateY(-2px);border-color:#c8cbd3;box-shadow:0 14px 34px rgba(20,23,31,.14)}
.vbd-pixel-ui .vbd-creative-quick:active{transform:translateY(0) scale(.98)}
.vbd-pixel-ui .vbd-creative-quick:disabled{cursor:wait;opacity:.72;transform:none}
.vbd-pixel-ui .vbd-creative-quick-icon{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;flex:0 0 33px;background:#111;color:#fff;font-size:17px;line-height:1;box-shadow:0 5px 14px rgba(0,0,0,.15)}
.vbd-pixel-ui .vbd-creative-quick-copy{display:grid;text-align:left;line-height:1.05;white-space:nowrap}
.vbd-pixel-ui .vbd-creative-quick-copy strong{font-size:12px;font-weight:820;letter-spacing:.01em}
.vbd-pixel-ui .vbd-creative-quick-copy small{margin-top:3px;font-size:9px;color:#7c7f86;font-weight:650}
.vbd-pixel-ui .vbd-creative-quick.is-loading .vbd-creative-quick-icon{font-size:0}
.vbd-pixel-ui .vbd-creative-quick.is-loading .vbd-creative-quick-icon::after{content:"";width:14px;height:14px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:vbdCreativeQuickSpin .72s linear infinite}
@keyframes vbdCreativeQuickSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){
  .vbd-pixel-ui .vbd-creative-quick{top:56px;right:10px;min-height:42px;padding:5px 11px 5px 6px;gap:7px;box-shadow:0 7px 22px rgba(20,23,31,.10)}
  .vbd-pixel-ui .vbd-creative-quick-icon{width:30px;height:30px;flex-basis:30px;font-size:15px}
  .vbd-pixel-ui .vbd-creative-quick-copy strong{font-size:11px}.vbd-pixel-ui .vbd-creative-quick-copy small{font-size:8.5px}
}
@media(max-width:600px){
  .vbd-pixel-ui .vbd-creative-quick{top:51px;right:8px;min-height:38px;padding:4px 10px 4px 5px;gap:6px}
  .vbd-pixel-ui .vbd-creative-quick-icon{width:28px;height:28px;flex-basis:28px;font-size:14px}
  .vbd-pixel-ui .vbd-creative-quick-copy strong{font-size:10.5px}.vbd-pixel-ui .vbd-creative-quick-copy small{display:none}
}
@media(max-width:360px){
  .vbd-pixel-ui .vbd-creative-quick{padding-right:7px}.vbd-pixel-ui .vbd-creative-quick-copy strong{font-size:9.5px}
}
@media(prefers-reduced-motion:reduce){.vbd-pixel-ui .vbd-creative-quick{transition:none}.vbd-pixel-ui .vbd-creative-quick.is-loading .vbd-creative-quick-icon::after{animation-duration:1.4s}}

/* --------------------------------------------------------------------------
 * v2.9.22 Performance, Intelligent Titles & Interaction Polish Edition.
 * -------------------------------------------------------------------------- */
.vbd-studio{--vbd-motion-fast:160ms;--vbd-motion-normal:240ms;--vbd-ease:cubic-bezier(.2,.72,.28,1)}
.vbd-studio button,.vbd-studio [tabindex]{-webkit-tap-highlight-color:transparent}
.vbd-studio button:focus-visible,.vbd-studio input:focus-visible,.vbd-studio select:focus-visible,.vbd-studio [tabindex]:focus-visible{outline:3px solid rgba(48,104,255,.32)!important;outline-offset:2px!important}
.vbd-material-grid,.vbd-category-list,.vbd-generator-dialog,.vbd-price-lines{overscroll-behavior:contain;scrollbar-gutter:stable}
.vbd-material-card{contain:layout paint style;content-visibility:auto;contain-intrinsic-size:118px;transform:translateZ(0)}
.vbd-material-card.is-pressed{animation:vbdMaterialPress var(--vbd-motion-normal) var(--vbd-ease)}
.vbd-generator-proposal{contain:layout paint style}.vbd-generator-proposals.is-revealing .vbd-generator-proposal{animation:vbdProposalReveal .28s var(--vbd-ease) both}
.vbd-generator-proposals.is-revealing .vbd-generator-proposal:nth-child(2){animation-delay:35ms}.vbd-generator-proposals.is-revealing .vbd-generator-proposal:nth-child(3){animation-delay:70ms}
.vbd-dialog[open] .vbd-dialog-card{animation:vbdDialogReveal .22s var(--vbd-ease) both}
.vbd-drawer.open .vbd-drawer-panel{will-change:transform}.vbd-layout-animating canvas{will-change:contents}
@keyframes vbdMaterialPress{0%{transform:scale(1)}45%{transform:scale(.955)}100%{transform:scale(1)}}
@keyframes vbdProposalReveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes vbdDialogReveal{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}

.vbd-performance-mode .vbd-topbar,.vbd-performance-mode .vbd-fit-popover,.vbd-performance-mode .vbd-total-popover,.vbd-performance-mode .vbd-creative-quick{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.vbd-performance-mode .vbd-material-image img{filter:drop-shadow(0 3px 4px rgba(20,20,28,.10))}
.vbd-performance-mode .vbd-material-card:hover{box-shadow:0 5px 12px rgba(18,20,26,.05)}
.vbd-performance-mode .vbd-generator-proposal,.vbd-performance-mode .vbd-dialog[open] .vbd-dialog-card{animation-duration:.15s}
.vbd-performance-mode.vbd-layout-animating .vbd-material-card{transition:none}

@media(hover:none){.vbd-material-card:hover,.vbd-creative-quick:hover{transform:none;box-shadow:inherit}}
@media(max-width:600px){
  .vbd-pixel-ui .vbd-creative-quick{max-width:calc(100% - 16px)}
  .vbd-pixel-ui .vbd-material-card{content-visibility:auto;contain-intrinsic-size:118px}
  .vbd-pixel-ui .vbd-generator-proposal-title{min-height:38px;display:flex;align-items:center}
  .vbd-pixel-ui .vbd-dialog-actions button,.vbd-pixel-ui .vbd-generator-card-actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .vbd-material-card.is-pressed,.vbd-generator-proposal,.vbd-dialog[open] .vbd-dialog-card{animation:none!important}
  .vbd-drawer-backdrop,.vbd-drawer-panel,.vbd-material-card,.vbd-creative-quick{transition:none!important}
}

/* v2.9.23 Stable drag preview and single-commit reordering. */
.vbd-pixel-ui.vbd-item-dragging .vbd-canvas-wrap canvas{cursor:grabbing}
.vbd-pixel-ui.vbd-item-dragging .vbd-canvas-wrap::before{
  content:'Release to place';position:absolute;z-index:9;left:50%;bottom:70px;transform:translateX(-50%);
  padding:7px 12px;border-radius:999px;background:rgba(17,17,17,.9);color:#fff;font-size:10px;font-weight:700;
  letter-spacing:.02em;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,.16)
}
@media(max-width:780px){
  .vbd-pixel-ui.vbd-item-dragging .vbd-canvas-wrap::before{bottom:58px}
}
@media(prefers-reduced-motion:reduce){
  .vbd-pixel-ui.vbd-item-dragging .vbd-canvas-wrap::before{transition:none!important;animation:none!important}
}


/* --------------------------------------------------------------------------
 * v2.9.26 Intelligent Commerce Titles — optional shopper creative brief.
 * -------------------------------------------------------------------------- */
.vbd-generator-control-grid .vbd-generator-brief-field{grid-column:1/-1}
.vbd-generator-control-grid .vbd-generator-brief-field>input{height:46px;font-size:13px}
.vbd-generator-control-grid .vbd-generator-brief-field>small:last-child{font-size:10px;line-height:1.35;color:#858b95;font-weight:600}
@media(max-width:520px){
  .vbd-generator-control-grid .vbd-generator-brief-field{grid-column:1/-1}
  .vbd-generator-control-grid .vbd-generator-brief-field>input{height:42px}
}


/* v2.9.27 Atelier Canvas Performance & Interaction Edition */
.vbd-pixel-ui .vbd-stage{isolation:isolate}
.vbd-pixel-ui .vbd-canvas-wrap{contain:layout paint style;transform:translateZ(0)}
.vbd-pixel-ui .vbd-canvas-wrap canvas{display:block;image-rendering:auto;transform:translateZ(0);backface-visibility:hidden}
.vbd-pixel-ui .vbd-floating-metrics,
.vbd-pixel-ui .vbd-creative-quick,
.vbd-pixel-ui .vbd-stage-controls,
.vbd-pixel-ui .vbd-center-wordmark{transition:opacity 180ms cubic-bezier(.2,.72,.28,1),transform 180ms cubic-bezier(.2,.72,.28,1),filter 180ms ease}
.vbd-pixel-ui.vbd-canvas-interacting .vbd-floating-metrics,
.vbd-pixel-ui.vbd-canvas-interacting .vbd-creative-quick{opacity:.16;pointer-events:none;filter:saturate(.55)}
.vbd-pixel-ui.vbd-canvas-interacting .vbd-stage-controls{opacity:.28;pointer-events:none}
.vbd-pixel-ui.vbd-canvas-interacting .vbd-center-wordmark{opacity:.34}
.vbd-pixel-ui.vbd-canvas-interacting .vbd-canvas-wrap{cursor:grabbing}
.vbd-pixel-ui.vbd-canvas-interacting .vbd-canvas-wrap::after{opacity:.7;box-shadow:inset 0 0 0 1px rgba(17,17,17,.035),0 14px 40px rgba(25,28,38,.04)}
.vbd-pixel-ui[data-performance-tier="efficient"] .vbd-canvas-wrap,
.vbd-pixel-ui.vbd-performance-mode .vbd-canvas-wrap{box-shadow:none!important}
.vbd-pixel-ui[data-performance-tier="efficient"] .vbd-center-wordmark{filter:none!important}
@media(max-width:780px){
  .vbd-pixel-ui.vbd-canvas-interacting .vbd-floating-metrics,
  .vbd-pixel-ui.vbd-canvas-interacting .vbd-creative-quick{opacity:.08}
  .vbd-pixel-ui.vbd-canvas-interacting .vbd-stage-controls{opacity:.16}
}
@media(prefers-reduced-motion:reduce){
  .vbd-pixel-ui .vbd-floating-metrics,
  .vbd-pixel-ui .vbd-creative-quick,
  .vbd-pixel-ui .vbd-stage-controls,
  .vbd-pixel-ui .vbd-center-wordmark{transition:none!important}
}


/* ========================================================================
 * v2.9.28 Atelier Workspace Alignment Edition
 * Professional three-column desktop workbench inspired by established
 * jewelry configurator ergonomics while preserving BrightPather identity.
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui{
  --vbd-atelier-library:clamp(244px,18.5vw,292px);
  --vbd-atelier-inspector:clamp(264px,19vw,314px);
  --vbd-atelier-bar:48px;
  --vbd-atelier-line:#eceef2;
  --vbd-atelier-muted:#757b86;
  --vbd-atelier-panel:#fff;
  --vbd-atelier-soft:#fafbfc;
}
.vbd-pixel-ui .vbd-atelier-top-tools{display:none}
.vbd-pixel-ui .vbd-inspector{display:none}

@media(min-width:901px){
  .vbd-studio.vbd-pixel-ui{--vbd-topbar-h:var(--vbd-atelier-bar);height:100dvh;min-height:680px;background:#fff}
  .vbd-pixel-ui .vbd-topbar{
    height:var(--vbd-atelier-bar)!important;min-height:var(--vbd-atelier-bar)!important;
    grid-template-columns:34px minmax(170px,1fr) auto auto 38px auto!important;
    gap:8px!important;padding:0 10px 0 12px!important;border-bottom:1px solid var(--vbd-atelier-line)!important;
    background:#fff!important;box-shadow:none!important;backdrop-filter:none!important;
  }
  .vbd-pixel-ui .vbd-top-icon{width:32px;height:32px;border-radius:9px}
  .vbd-pixel-ui .vbd-design-title{height:34px!important;line-height:34px!important;padding:0 8px!important;font-size:13px!important;font-weight:720!important}
  .vbd-pixel-ui .vbd-atelier-top-tools{display:flex;align-items:center;gap:5px}
  .vbd-pixel-ui .vbd-atelier-top-tools button{height:31px;min-width:31px;padding:0 9px;border:1px solid #e6e8ec;border-radius:9px;background:#fff;color:#4d535d;display:flex;align-items:center;justify-content:center;gap:5px;font-size:16px;transition:background .16s,border-color .16s,transform .16s}
  .vbd-pixel-ui .vbd-atelier-top-tools button:hover{background:#f7f8fa;border-color:#cfd3da;transform:translateY(-1px)}
  .vbd-pixel-ui .vbd-atelier-top-tools button:disabled{opacity:.34;transform:none;cursor:not-allowed}
  .vbd-pixel-ui .vbd-atelier-top-tools button small{font-size:10px;font-weight:700}
  .vbd-pixel-ui .vbd-finish{display:none!important}
  .vbd-pixel-ui .vbd-language-pill{height:30px;padding:0 10px;font-size:10px}

  .vbd-pixel-ui .vbd-workspace{
    display:grid!important;
    grid-template-columns:var(--vbd-atelier-library) minmax(420px,1fr) var(--vbd-atelier-inspector)!important;
    grid-template-areas:'library stage inspector';
    height:calc(100dvh - var(--vbd-atelier-bar))!important;min-height:632px!important;max-height:none!important;
    background:#fff;overflow:hidden;
  }
  .vbd-pixel-ui .vbd-library{grid-area:library;width:auto!important;min-width:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto minmax(0,1fr)!important;border:0!important;border-right:1px solid var(--vbd-atelier-line)!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important}
  .vbd-pixel-ui .vbd-library-heading{grid-row:1!important;padding:13px 13px 6px!important;font:650 9px/1.2 Inter,ui-sans-serif,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase;color:#8a8f98!important}
  .vbd-pixel-ui .vbd-search{grid-row:2!important;height:34px!important;margin:0 10px 8px!important;border-radius:9px!important;padding:0 9px!important;grid-template-columns:16px 1fr 18px!important;box-shadow:none!important;background:#fbfbfc!important}
  .vbd-pixel-ui .vbd-search input{height:32px!important;line-height:32px!important;font-size:10.5px!important}
  .vbd-pixel-ui .vbd-search svg{width:14px;height:14px}
  .vbd-pixel-ui .vbd-category-list{grid-row:3!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-content:flex-start!important;max-height:94px!important;overflow:auto!important;padding:0 10px 9px!important;gap:5px!important;border:0!important;background:#fff!important}
  .vbd-pixel-ui .vbd-category-list button{width:auto!important;min-width:0!important;height:25px!important;min-height:25px!important;padding:0 9px!important;border:1px solid #e1e4e9!important;border-radius:999px!important;font-size:9px!important;line-height:23px!important;background:#fff!important;color:#5f6570!important;box-shadow:none!important}
  .vbd-pixel-ui .vbd-category-list button.active{background:#141519!important;border-color:#141519!important;color:#fff!important;transform:none!important}
  .vbd-pixel-ui .vbd-library-divider{grid-row:4!important;height:1px!important;background:var(--vbd-atelier-line)!important}
  .vbd-pixel-ui .vbd-library-main{grid-row:5!important;min-height:0!important;height:100%!important;padding:0!important;overflow:hidden!important}
  .vbd-pixel-ui .vbd-material-grid{height:100%!important;margin:0!important;padding:10px 8px 46px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:105px!important;gap:7px 6px!important;align-content:start!important;overflow:auto!important;overflow-anchor:none!important}
  .vbd-pixel-ui .vbd-material-card{height:105px!important;min-height:105px!important;padding:5px 4px 6px!important;border-radius:10px!important;border-color:#eceef2!important;box-shadow:none!important;background:#fff!important;contain-intrinsic-size:105px!important}
  .vbd-pixel-ui .vbd-material-card:hover,.vbd-pixel-ui .vbd-material-card:focus{transform:translateY(-1px)!important;border-color:#cfd4dc!important;box-shadow:0 6px 16px rgba(20,24,33,.07)!important}
  .vbd-pixel-ui .vbd-material-image{height:53px!important;flex-basis:53px!important}
  .vbd-pixel-ui .vbd-material-image img{width:49px!important;height:49px!important;max-width:49px!important;max-height:49px!important;filter:drop-shadow(0 4px 6px rgba(20,23,30,.12))!important}
  .vbd-pixel-ui .vbd-material-card strong{height:14px!important;line-height:14px!important;font-size:8.7px!important;margin:0!important}
  .vbd-pixel-ui .vbd-material-card small{height:12px!important;line-height:12px!important;font-size:7.8px!important;margin:0!important}
  .vbd-pixel-ui .vbd-material-price{height:14px!important;line-height:14px!important}
  .vbd-pixel-ui .vbd-material-price b{font-size:9.5px!important}.vbd-pixel-ui .vbd-material-price del{font-size:7px!important}
  .vbd-pixel-ui .vbd-photo-button{top:4px!important;right:4px!important;width:19px!important;height:19px!important;border-radius:7px!important}.vbd-pixel-ui .vbd-photo-button svg{width:10px!important;height:10px!important}

  .vbd-pixel-ui .vbd-stage{grid-area:stage;min-width:0!important;border:0!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
  .vbd-pixel-ui .vbd-canvas-wrap{padding:14px 18px 18px!important;min-height:0!important;background:#fff!important}
  .vbd-pixel-ui .vbd-canvas-wrap::after{content:'';position:absolute;inset:12px;border:1px solid rgba(233,235,239,.75);border-radius:16px;pointer-events:none;opacity:.55;transition:opacity .18s,box-shadow .18s}
  .vbd-pixel-ui .vbd-canvas-wrap canvas{max-width:none!important;max-height:none!important}
  .vbd-pixel-ui .vbd-center-wordmark{font-size:clamp(31px,3vw,52px)!important;color:#c8cbd1!important;opacity:.8}
  .vbd-pixel-ui .vbd-center-wordmark strong{font-weight:560!important;letter-spacing:.3em!important}.vbd-pixel-ui .vbd-center-wordmark small{font-size:11px!important;letter-spacing:.03em!important;margin-top:7px!important}
  .vbd-pixel-ui .vbd-floating-metrics,.vbd-pixel-ui .vbd-creative-quick{display:none!important}
  .vbd-pixel-ui .vbd-stage-controls{position:absolute!important;z-index:12!important;left:26px!important;right:26px!important;bottom:22px!important;height:auto!important;padding:0!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;pointer-events:none!important}
  .vbd-pixel-ui .vbd-stage-controls>*{pointer-events:auto}
  .vbd-pixel-ui .vbd-stage-help{width:30px!important;height:30px!important;border-radius:50%!important;border:1px solid #e2e5ea!important;background:#fff!important;color:#565d68!important;box-shadow:0 4px 13px rgba(18,22,30,.06)!important}
  .vbd-pixel-ui .vbd-zoom-controls{justify-self:start!important;display:flex!important;gap:4px!important;padding:3px!important;border:1px solid #e6e8ec!important;border-radius:10px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 7px 20px rgba(18,22,30,.07)!important}
  .vbd-pixel-ui .vbd-zoom-controls>button{height:29px!important;min-width:29px!important;border:0!important;border-radius:7px!important;box-shadow:none!important;background:transparent!important}.vbd-pixel-ui .vbd-zoom-controls>button:hover{background:#f2f4f7!important}.vbd-pixel-ui .vbd-zoom-pill{min-width:54px!important;padding:0 8px!important;font-size:10px!important}
  .vbd-pixel-ui .vbd-trash{justify-self:end!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#fff!important;color:#858b94!important;border:1px solid #e4e7eb!important;box-shadow:0 7px 20px rgba(18,22,30,.07)!important}.vbd-pixel-ui .vbd-trash:hover{color:#d24c4c!important;border-color:#efcccc!important;background:#fff8f8!important}

  .vbd-pixel-ui .vbd-inspector{grid-area:inspector;display:flex!important;min-width:0;border-left:1px solid var(--vbd-atelier-line);background:#fff;flex-direction:column;overflow:hidden;position:relative;z-index:11}
  .vbd-pixel-ui .vbd-inspector-scroll{flex:1;min-height:0;overflow:auto;padding:16px 14px 110px;scrollbar-gutter:stable}
  .vbd-pixel-ui .vbd-inspector-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px}
  .vbd-pixel-ui .vbd-inspector-heading small{display:block;font-size:8px;letter-spacing:.1em;color:#9a9fa8;font-weight:750}.vbd-pixel-ui .vbd-inspector-heading strong{display:block;margin-top:3px;font:700 16px/1.2 Georgia,'Times New Roman',serif;color:#202329}
  .vbd-pixel-ui .vbd-inspector-live{max-width:88px;text-align:right;font-size:8px;line-height:1.25;color:#789187}.vbd-pixel-ui .vbd-inspector-live[data-state='attention']{color:#c66b35}
  .vbd-pixel-ui .vbd-inspector button{width:100%;font:inherit}
  .vbd-pixel-ui .vbd-inspector-fit{padding:14px;border:1px solid #cfece1;border-radius:13px;background:linear-gradient(180deg,#f7fffb,#f4fbf8);text-align:center;color:#067b61;box-shadow:inset 0 0 0 3px rgba(255,255,255,.7)}
  .vbd-pixel-ui .vbd-inspector-card-label{display:block;font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.vbd-pixel-ui .vbd-inspector-fit strong{display:block;margin:4px 0 2px;font-size:20px;line-height:1.1}.vbd-pixel-ui .vbd-inspector-fit small{font-size:8.5px;color:#6e8e83}
  .vbd-pixel-ui .vbd-inspector-measure{margin-top:9px;padding:11px 10px;border:1px solid #f1e4e4;border-radius:12px;background:#fffafa;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;text-align:left;color:#292d34}
  .vbd-pixel-ui .vbd-inspector-icon{width:29px;height:29px;border-radius:9px;background:#fff0f0;color:#e24a62;display:grid;place-items:center;font-size:17px}.vbd-pixel-ui .vbd-inspector-measure small{display:block;text-transform:uppercase;font-size:7.5px;letter-spacing:.06em;color:#969ba3}.vbd-pixel-ui .vbd-inspector-measure strong{display:block;font-size:10.5px}.vbd-pixel-ui .vbd-inspector-measure em{font-style:normal;font-size:8px;color:#d85064;background:#fff0f2;padding:4px 6px;border-radius:7px;text-transform:capitalize}
  .vbd-pixel-ui .vbd-inspector-total{margin-top:9px;padding:12px 11px;border:1px solid #eee6ef;border-radius:12px;background:linear-gradient(135deg,#fff,#fff8fd);display:flex;align-items:flex-end;justify-content:space-between;text-align:left}.vbd-pixel-ui .vbd-inspector-total small{display:block;color:#8d929b;font-size:8px}.vbd-pixel-ui .vbd-inspector-total strong{display:block;margin-top:2px;font-size:17px;color:#e62263}.vbd-pixel-ui .vbd-inspector-total em{font-style:normal;padding:4px 7px;border-radius:999px;background:#f5f0f6;color:#707581;font-size:8px}.vbd-pixel-ui .vbd-inspector-total em b{font-weight:800}
  .vbd-pixel-ui .vbd-inspector-inspiration{margin-top:11px;min-height:46px;padding:8px 12px;border:0;border-radius:10px;background:linear-gradient(100deg,#d83dde 0%,#ef3e92 48%,#ffb21b 100%);color:#fff;display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;box-shadow:0 8px 20px rgba(220,61,151,.18);transition:transform .17s,filter .17s}
  .vbd-pixel-ui .vbd-inspector-inspiration>span{grid-row:1/3;font-size:18px}.vbd-pixel-ui .vbd-inspector-inspiration strong{font-size:11px}.vbd-pixel-ui .vbd-inspector-inspiration small{font-size:8px;opacity:.8}.vbd-pixel-ui .vbd-inspector-inspiration:hover{transform:translateY(-1px);filter:saturate(1.08)}.vbd-pixel-ui .vbd-inspector-inspiration:disabled{opacity:.48;transform:none;filter:grayscale(.2)}.vbd-pixel-ui .vbd-inspector-inspiration.is-loading>span{animation:vbdAtelierSpin 1s linear infinite}
  @keyframes vbdAtelierSpin{to{transform:rotate(360deg)}}
  .vbd-pixel-ui .vbd-inspector-section{margin-top:15px;padding-top:13px;border-top:1px solid var(--vbd-atelier-line)}.vbd-pixel-ui .vbd-inspector-section-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-end;margin-bottom:9px}.vbd-pixel-ui .vbd-inspector-section-head strong{font-size:10px}.vbd-pixel-ui .vbd-inspector-section-head small{font-size:7.5px;color:#9a9fa8;text-align:right}
  .vbd-pixel-ui .vbd-inspector-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.vbd-pixel-ui .vbd-inspector-tools button{min-height:49px;padding:5px 2px;border:1px solid #e8eaee;border-radius:10px;background:#fff;color:#606671;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.vbd-pixel-ui .vbd-inspector-tools button:hover{background:#f7f8fa;border-color:#cfd4dc}.vbd-pixel-ui .vbd-inspector-tools span{font-size:17px;line-height:1}.vbd-pixel-ui .vbd-inspector-tools small{font-size:7.5px;font-weight:700;white-space:nowrap}
  .vbd-pixel-ui .vbd-inspector-selected>button{padding:10px;border:1px solid #e8eaee;border-radius:10px;background:#fff;display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:9px;font-weight:700}.vbd-pixel-ui .vbd-inspector-selected>button em{font-style:normal;color:#5b72a8;font-size:8px}
  .vbd-pixel-ui .vbd-inspector-footer{position:absolute;left:0;right:0;bottom:0;padding:12px 14px 15px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 24%);pointer-events:none}.vbd-pixel-ui .vbd-inspector-footer>*{pointer-events:auto}
  .vbd-pixel-ui .vbd-inspector-finish{min-height:51px;padding:8px 12px;border:0;border-radius:10px;background:#101a2f;color:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;box-shadow:0 9px 24px rgba(16,26,47,.18)}.vbd-pixel-ui .vbd-inspector-finish span{font-size:11px;font-weight:800}.vbd-pixel-ui .vbd-inspector-finish small{font-size:8px;opacity:.68}.vbd-pixel-ui .vbd-inspector-finish:disabled{opacity:.38;box-shadow:none;cursor:not-allowed}

  .vbd-pixel-ui .vbd-fit-popover{top:58px!important;left:auto!important;right:calc(var(--vbd-atelier-inspector) + 16px)!important;width:min(470px,calc(100vw - var(--vbd-atelier-library) - var(--vbd-atelier-inspector) - 40px))!important}
  .vbd-pixel-ui .vbd-total-popover{top:58px!important;left:auto!important;right:calc(var(--vbd-atelier-inspector) + 16px)!important;width:min(390px,calc(100vw - var(--vbd-atelier-library) - var(--vbd-atelier-inspector) - 40px))!important}
}

@media(min-width:901px) and (max-width:1180px){
  .vbd-studio.vbd-pixel-ui{--vbd-atelier-library:224px;--vbd-atelier-inspector:250px}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vbd-pixel-ui .vbd-inspector-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.vbd-pixel-ui .vbd-inspector-tools button{min-height:43px;flex-direction:row;gap:5px}.vbd-pixel-ui .vbd-inspector-tools small{font-size:8px}
}

@media(max-width:900px){
  .vbd-pixel-ui .vbd-atelier-top-tools,.vbd-pixel-ui .vbd-inspector{display:none!important}
  .vbd-pixel-ui .vbd-workspace{display:flex!important}
}
@media(prefers-reduced-motion:reduce){.vbd-pixel-ui .vbd-inspector-inspiration.is-loading>span{animation:none}}

/* ========================================================================
 * v3.0.0 Design-First Fit & Dense Composition Parity Edition
 * Collapsible desktop rails, canvas focus mode, direct selected-material
 * actions and a stable fit-to-view workspace.
 * ======================================================================== */
.vbd-studio.vbd-pixel-ui{
  --vbd-atelier-library-current:var(--vbd-atelier-library);
  --vbd-atelier-inspector-current:var(--vbd-atelier-inspector);
}
.vbd-pixel-ui .vbd-panel-restore{display:none}
.vbd-pixel-ui .vbd-atelier-tool-separator{display:block;width:1px;height:20px;background:#e8eaee;margin:0 1px}

@media(min-width:901px){
  .vbd-pixel-ui .vbd-workspace{
    grid-template-columns:var(--vbd-atelier-library-current) minmax(420px,1fr) var(--vbd-atelier-inspector-current)!important;
    transition:grid-template-columns .24s cubic-bezier(.2,.8,.2,1);
  }
  .vbd-studio.vbd-library-collapsed{--vbd-atelier-library-current:0px}
  .vbd-studio.vbd-inspector-collapsed{--vbd-atelier-inspector-current:0px}
  .vbd-studio.vbd-focus-mode{--vbd-atelier-library-current:0px;--vbd-atelier-inspector-current:0px}
  .vbd-pixel-ui .vbd-library,.vbd-pixel-ui .vbd-inspector{
    transition:opacity .18s ease,transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s linear 0s;
    will-change:transform,opacity;
  }
  .vbd-studio.vbd-library-collapsed .vbd-library,.vbd-studio.vbd-focus-mode .vbd-library{
    opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-18px);border-right:0!important;transition-delay:0s,0s,.18s;
  }
  .vbd-studio.vbd-inspector-collapsed .vbd-inspector,.vbd-studio.vbd-focus-mode .vbd-inspector{
    opacity:0;visibility:hidden;pointer-events:none;transform:translateX(18px);border-left:0!important;transition-delay:0s,0s,.18s;
  }
  .vbd-pixel-ui .vbd-stage{position:relative}
  .vbd-pixel-ui .vbd-panel-restore{
    position:absolute;z-index:18;top:50%;transform:translateY(-50%);height:72px;width:28px;padding:0;border:1px solid #e3e6eb;background:rgba(255,255,255,.96);color:#69707b;box-shadow:0 7px 22px rgba(22,27,36,.09);align-items:center;justify-content:center;gap:3px;writing-mode:vertical-rl;font-size:13px;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s,background .16s;
  }
  .vbd-pixel-ui .vbd-panel-restore small{font-size:8px;font-weight:760;letter-spacing:.03em}
  .vbd-pixel-ui .vbd-panel-restore:hover{background:#f8f9fb;color:#252a32}
  .vbd-pixel-ui .vbd-panel-restore-library{left:8px;border-radius:0 10px 10px 0}
  .vbd-pixel-ui .vbd-panel-restore-inspector{right:8px;border-radius:10px 0 0 10px}
  .vbd-studio.vbd-library-collapsed:not(.vbd-focus-mode) .vbd-panel-restore-library,
  .vbd-studio.vbd-inspector-collapsed:not(.vbd-focus-mode) .vbd-panel-restore-inspector,
  .vbd-studio.vbd-focus-mode .vbd-panel-restore{
    display:flex;opacity:1;pointer-events:auto;
  }
  .vbd-studio.vbd-focus-mode .vbd-panel-restore-library{left:8px}
  .vbd-studio.vbd-focus-mode .vbd-panel-restore-inspector{right:8px}
  .vbd-studio.vbd-focus-mode .vbd-canvas-wrap{padding:18px 34px 24px!important}
  .vbd-studio.vbd-focus-mode .vbd-canvas-wrap::after{inset:16px;opacity:.32}
  .vbd-studio.vbd-focus-mode .vbd-center-wordmark{opacity:.58}
  .vbd-studio.vbd-focus-mode .vbd-stage-controls{left:38px!important;right:38px!important}

  .vbd-pixel-ui .vbd-atelier-top-tools button[aria-pressed="true"]{background:#17191d;color:#fff;border-color:#17191d;box-shadow:0 4px 12px rgba(20,23,29,.13)}
  .vbd-pixel-ui .vbd-atelier-top-tools button[aria-pressed="true"] small{color:#fff}

  .vbd-pixel-ui .vbd-inspector-selection-card{padding:8px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
  .vbd-pixel-ui .vbd-inspector-selection-card img{width:38px;height:38px;object-fit:contain;border-radius:8px;background:#f7f8fa;border:1px solid #eceef2;padding:3px}
  .vbd-pixel-ui .vbd-inspector-selection-card>span{min-width:0;display:block}
  .vbd-pixel-ui .vbd-inspector-selection-card>span strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
  .vbd-pixel-ui .vbd-inspector-selection-card>span small{display:block;margin-top:3px;color:#999fa8;font-size:7.5px}
  .vbd-pixel-ui .vbd-inspector-selection-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:6px}
  .vbd-pixel-ui .vbd-inspector-selection-actions button{height:31px;border:1px solid #e7e9ed;border-radius:8px;background:#fff;color:#636a75;font-size:13px;display:grid;place-items:center;transition:background .15s,border-color .15s,color .15s,transform .15s}
  .vbd-pixel-ui .vbd-inspector-selection-actions button:hover{background:#f6f7f9;border-color:#cfd4dc;color:#20242b;transform:translateY(-1px)}
  .vbd-pixel-ui .vbd-inspector-selection-actions button:disabled{opacity:.3;cursor:not-allowed;transform:none}
  .vbd-pixel-ui .vbd-inspector-selection-actions [data-atelier-lock][aria-pressed="true"]{background:#fff7df;border-color:#ead89a;color:#8a6b16}
  .vbd-pixel-ui .vbd-inspector-selection-actions [data-atelier-delete]:hover{background:#fff5f5;border-color:#efcaca;color:#cb4141}

  .vbd-pixel-ui .vbd-fit-popover{right:calc(var(--vbd-atelier-inspector-current) + 16px)!important;width:min(470px,calc(100vw - var(--vbd-atelier-library-current) - var(--vbd-atelier-inspector-current) - 40px))!important}
  .vbd-pixel-ui .vbd-total-popover{right:calc(var(--vbd-atelier-inspector-current) + 16px)!important;width:min(390px,calc(100vw - var(--vbd-atelier-library-current) - var(--vbd-atelier-inspector-current) - 40px))!important}
}

@media(min-width:901px) and (max-width:1280px){
  .vbd-pixel-ui .vbd-atelier-top-tools button small{display:none}
  .vbd-pixel-ui .vbd-atelier-top-tools button{padding:0 7px}
  .vbd-pixel-ui .vbd-atelier-tool-separator{height:17px}
}

@media(max-width:900px){
  .vbd-pixel-ui .vbd-panel-restore{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  .vbd-pixel-ui .vbd-workspace,.vbd-pixel-ui .vbd-library,.vbd-pixel-ui .vbd-inspector,.vbd-pixel-ui .vbd-panel-restore{transition:none!important}
}

/* v3.0.0 design-first fit controls */
.vbd-fit-auto{width:100%;min-height:42px;border:1px solid #dfe5e3;border-radius:12px;background:#f6fbf8;color:#0c755f;font:700 12px/1.2 inherit;cursor:pointer;margin-top:10px}.vbd-fit-auto:hover{background:#edf8f2;border-color:#bddfd2}.vbd-fit-auto:focus-visible{outline:3px solid rgba(20,139,112,.22);outline-offset:2px}

/* v3.0.0: keep the off-canvas tools drawer inside the visual viewport.
 * The transformed closed panel must not increase document.scrollWidth on
 * narrow Safari/Chrome viewports. */
.vbd-pixel-ui .vbd-drawer{overflow:hidden}


/* ========================================================================
 * v3.0.0 Runtime Coherence, Seamless Upgrade & Smart Recovery Edition
 * ======================================================================== */
.vbd-runtime-update{position:fixed;z-index:2147483000;left:50%;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);width:min(620px,calc(100vw - 28px));min-height:54px;padding:8px 9px 8px 12px;border:1px solid rgba(226,182,80,.52);border-radius:14px;background:rgba(255,252,240,.97);color:#322b1d;box-shadow:0 14px 44px rgba(47,39,18,.16);display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.vbd-runtime-update[hidden]{display:none!important}.vbd-runtime-update>span{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:#fff2c9;color:#8f6a00;font-size:16px;font-weight:800}.vbd-runtime-update p{margin:0;min-width:0}.vbd-runtime-update strong,.vbd-runtime-update small{display:block}.vbd-runtime-update strong{font-size:11px;line-height:1.25}.vbd-runtime-update small{margin-top:2px;color:#75684a;font-size:9px;line-height:1.35}.vbd-runtime-update button{height:34px;padding:0 12px;border:0;border-radius:9px;background:#191714;color:#fff;font:750 10px/1 inherit;cursor:pointer;white-space:nowrap}.vbd-runtime-update button:hover{background:#000}.vbd-runtime-update button:focus-visible{outline:3px solid rgba(190,140,25,.28);outline-offset:2px}
.vbd-pixel-ui[data-runtime-consistency="mismatch"] .vbd-topbar{box-shadow:inset 0 -2px #e4b84e!important}
@media(max-width:560px){.vbd-runtime-update{top:max(8px,env(safe-area-inset-top));grid-template-columns:24px minmax(0,1fr);padding:9px 10px}.vbd-runtime-update button{grid-column:1/-1;width:100%;height:38px}.vbd-runtime-update small{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.vbd-runtime-update{backdrop-filter:none;-webkit-backdrop-filter:none}}


/* v3.0.0 Checkout Preflight, Offline Recovery & Network Resilience Edition */
.vbd-network-status{position:fixed;z-index:2147482999;left:50%;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);width:min(620px,calc(100vw - 28px));min-height:54px;padding:8px 9px 8px 12px;border:1px solid rgba(203,82,72,.34);border-radius:14px;background:rgba(255,248,247,.98);color:#3e2522;box-shadow:0 14px 44px rgba(69,28,22,.15);display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.vbd-network-status[hidden]{display:none!important}.vbd-network-status>span{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:#ffe7e3;color:#b53d32;font-size:16px;font-weight:800}.vbd-network-status p{margin:0;min-width:0}.vbd-network-status strong,.vbd-network-status small{display:block}.vbd-network-status strong{font-size:11px;line-height:1.25}.vbd-network-status small{margin-top:2px;color:#80605c;font-size:9px;line-height:1.35}.vbd-network-status button{height:34px;padding:0 12px;border:0;border-radius:9px;background:#261b19;color:#fff;font:750 10px/1 inherit;cursor:pointer;white-space:nowrap}.vbd-network-status button:hover{background:#000}.vbd-network-status button:focus-visible{outline:3px solid rgba(181,61,50,.23);outline-offset:2px}.vbd-network-status[data-mode="recovering"]{border-color:rgba(72,132,116,.32);background:rgba(247,253,251,.98);color:#1f3d35}.vbd-network-status[data-mode="recovering"]>span{background:#e1f4ed;color:#27725e}.vbd-network-offline [data-save-only],.vbd-network-offline [data-add-cart],.vbd-network-offline [data-buy-now],.vbd-network-offline [data-save-draft]{cursor:not-allowed;opacity:.5}.vbd-preflight-ready .vbd-submit-status[data-type="success"]{border-color:rgba(55,139,109,.24);background:#f4fbf8;color:#225b49}
@media(max-width:560px){.vbd-network-status{top:max(8px,env(safe-area-inset-top));grid-template-columns:24px minmax(0,1fr);padding:9px 10px}.vbd-network-status button{grid-column:1/-1;width:100%;height:38px}.vbd-network-status small{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.vbd-network-status{backdrop-filter:none;-webkit-backdrop-filter:none}}


/* v3.0.0 AI Jewelry Composer & Realistic Attachment Engine */
.vbd-generator-proposal-stats{line-height:1.35}
.vbd-generator-proposal[data-jewelry-score="high"]{box-shadow:0 18px 44px rgba(26,22,14,.09)}
.vbd-canvas-area canvas{filter:saturate(1.015) contrast(1.01)}
.vbd-canvas-area.vbd-focus-mode canvas{filter:saturate(1.025) contrast(1.015)}
@media (prefers-reduced-motion:no-preference){
  .vbd-generator-proposal.is-best{animation:vbd-jewelry-best .38s ease both}
  @keyframes vbd-jewelry-best{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}
}


/* v3.0.0 calibrated attachment interactions */
.vbd-studio[data-vbd-version^="3."] [data-selected-card] .vbd-selected-material-thumb{background:linear-gradient(145deg,#fff,#f4f2ec)}

/* v3.0.0 Multi-Surface Attachment & String Mount controls */
.vbd-item-mount{margin:16px 0;padding:14px 16px;border:1px solid #e4e6eb;border-radius:16px;background:#fafbfc}
.vbd-item-mount label{display:grid;gap:7px;font-weight:700;color:#1a1d24}
.vbd-item-mount label span{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#69707d}
.vbd-item-mount select{width:100%;min-height:44px;border:1px solid #d8dbe2;border-radius:12px;background:#fff;padding:0 38px 0 13px;font:600 14px/1.2 inherit;color:#171a21}
.vbd-item-mount p{margin:9px 0 0;font-size:12px;line-height:1.5;color:#6e7480}
.vbd-studio[data-vbd-version^="3."] .vbd-item-dialog{max-width:620px}
@media (max-width:700px){.vbd-item-mount{margin:12px 0;padding:12px}.vbd-item-mount select{min-height:48px;font-size:16px}}

/* v3.0.0 Attachment Rail, Gap Snapping & Multi-Charm Lanes */
.vbd-attachment-placement-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #e6e8ed}
.vbd-attachment-placement-grid label{display:grid;gap:8px;min-width:0}
.vbd-attachment-placement-grid label>span{display:flex;align-items:center;justify-content:space-between;gap:8px}
.vbd-attachment-placement-grid output{font-size:11px;font-weight:800;letter-spacing:0;text-transform:none;color:#0d8f79;background:#e9f8f3;border-radius:999px;padding:3px 7px;white-space:nowrap}
.vbd-attachment-placement-grid input[type="range"]{width:100%;accent-color:#0b8f78;cursor:ew-resize}
.vbd-attachment-placement-grid select{min-height:40px}
.vbd-attachment-placement-grid button{align-self:end;min-height:40px}
.vbd-studio[data-vbd-version^="3."] .vbd-item-dialog{max-width:680px}
@media(max-width:700px){.vbd-attachment-placement-grid{grid-template-columns:1fr}.vbd-attachment-placement-grid input[type="range"]{min-height:34px}.vbd-attachment-placement-grid button{width:100%}}


/* ========================================================================
 * v3.0.0 Cross-device QA, fail-open startup and interaction polish
 * ======================================================================== */
.vbd-pixel-ui .vbd-toast{
  top:auto!important;bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px))!important;
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:max-content;max-width:min(440px,calc(100vw - 24px));white-space:normal!important;
  overflow-wrap:anywhere;text-align:center;line-height:1.35;pointer-events:none!important;
  padding:10px 15px;border:1px solid rgba(255,255,255,.16);border-radius:14px;
  font-size:12px;font-weight:700;box-shadow:0 14px 36px rgba(14,16,20,.22)
}
.vbd-pixel-ui .vbd-material-card:focus-visible,.vbd-pixel-ui .vbd-category-list button:focus-visible,
.vbd-pixel-ui .vbd-photo-button:focus-visible,.vbd-pixel-ui .vbd-stage-controls button:focus-visible,
.vbd-pixel-ui .vbd-topbar button:focus-visible,.vbd-pixel-ui .vbd-generator-proposal button:focus-visible{
  outline:3px solid rgba(55,105,230,.28)!important;outline-offset:2px!important
}
.vbd-pixel-ui .vbd-material-card[aria-disabled="true"]{opacity:.52;cursor:not-allowed}
.vbd-pixel-ui .vbd-photo-button{min-width:30px;min-height:30px;width:30px;height:30px;touch-action:manipulation}
.vbd-pixel-ui .vbd-generator-selected-badge{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vbd-pixel-ui .vbd-generator-dialog.has-proposals [data-generator-apply]{display:none!important}
.vbd-pixel-ui .vbd-generator-card-actions button{min-height:42px;touch-action:manipulation}
.vbd-pixel-ui .vbd-generator-proposal-title{min-height:38px;touch-action:manipulation}
.vbd-pixel-ui .vbd-dialog-card{overscroll-behavior:contain}
.vbd-pixel-ui .vbd-dialog-actions{position:sticky;bottom:0;z-index:5;padding-bottom:max(0px,env(safe-area-inset-bottom));background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 18px)}

@media(min-width:901px) and (max-width:1120px){
  .vbd-studio.vbd-pixel-ui{--vbd-atelier-library:214px;--vbd-atelier-inspector:232px}
  .vbd-pixel-ui .vbd-atelier-workspace{grid-template-columns:var(--vbd-atelier-library) minmax(360px,1fr) var(--vbd-atelier-inspector)!important}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .vbd-pixel-ui .vbd-inspector-body{padding-left:10px!important;padding-right:10px!important}
}
@media(min-width:1440px){
  .vbd-studio.vbd-pixel-ui{--vbd-atelier-library:clamp(300px,22vw,380px);--vbd-atelier-inspector:clamp(280px,20vw,340px)}
}
@media(max-width:900px){
  .vbd-studio.vbd-pixel-ui{height:100dvh!important;min-height:560px!important;max-width:100vw!important;overflow:hidden!important}
  .vbd-pixel-ui .vbd-topbar{padding-top:env(safe-area-inset-top);height:calc(var(--vbd-topbar-h) + env(safe-area-inset-top));min-height:62px}
  .vbd-pixel-ui .vbd-workspace{height:calc(100dvh - var(--vbd-topbar-h) - env(safe-area-inset-top))!important}
  .vbd-pixel-ui .vbd-stage{min-height:0}
  .vbd-pixel-ui .vbd-library{grid-template-columns:clamp(94px,27vw,112px) minmax(0,1fr)}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(3,minmax(78px,1fr));grid-auto-rows:116px;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:max(84px,calc(env(safe-area-inset-bottom) + 72px))}
  .vbd-pixel-ui .vbd-material-card{height:116px!important;min-width:0!important}
  .vbd-pixel-ui .vbd-photo-button{width:32px!important;height:32px!important;top:3px!important;right:3px!important}
  .vbd-pixel-ui .vbd-category-list button{min-height:46px;touch-action:manipulation}
  .vbd-pixel-ui .vbd-top-icon,.vbd-pixel-ui .vbd-menu-button{min-width:44px;min-height:44px}
  .vbd-pixel-ui .vbd-finish{min-height:44px}
  .vbd-pixel-ui .vbd-stage-controls{bottom:max(8px,env(safe-area-inset-bottom))}
  .vbd-pixel-ui .vbd-trash{min-width:46px;min-height:46px}
  .vbd-pixel-ui .vbd-dialog[open]{padding-top:env(safe-area-inset-top)}
  .vbd-pixel-ui .vbd-dialog-card{max-height:calc(100dvh - env(safe-area-inset-top));overflow:auto;-webkit-overflow-scrolling:touch}
  .vbd-pixel-ui .vbd-generator-proposals{grid-template-columns:1fr!important}
  .vbd-pixel-ui .vbd-generator-proposal{min-width:0}
  .vbd-pixel-ui .vbd-generator-card-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:8px}
  .vbd-pixel-ui .vbd-generator-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
  .vbd-pixel-ui .vbd-generator-actions [data-generator-apply]{grid-column:1/-1}
  .vbd-pixel-ui .vbd-finish-image-wrap{min-height:190px!important;max-height:32dvh}
  .vbd-pixel-ui .vbd-finish-actions button{min-height:46px}
}
@media(max-width:430px){
  .vbd-pixel-ui .vbd-topbar{grid-template-columns:44px minmax(74px,1fr) auto 44px!important;padding-left:6px!important;padding-right:6px!important;gap:3px!important}
  .vbd-pixel-ui .vbd-design-title{font-size:14px!important}
  .vbd-pixel-ui .vbd-finish{padding:0 14px!important}
  .vbd-pixel-ui .vbd-library{grid-template-columns:94px minmax(0,1fr)}
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(2,minmax(82px,1fr));grid-auto-rows:116px}
  .vbd-pixel-ui .vbd-material-card{height:116px!important}
  .vbd-pixel-ui .vbd-search{margin-left:6px;margin-right:6px}
  .vbd-pixel-ui .vbd-floating-metrics{gap:5px}.vbd-pixel-ui .vbd-metric{padding-left:8px;padding-right:8px;min-width:0}
  .vbd-pixel-ui .vbd-metric span{font-size:7px}.vbd-pixel-ui .vbd-metric strong{font-size:10px}
  .vbd-pixel-ui .vbd-toast{bottom:max(10px,calc(env(safe-area-inset-bottom) + 8px))!important;font-size:11px;max-width:calc(100vw - 16px)}
  .vbd-pixel-ui .vbd-dialog-card{border-radius:18px 18px 0 0!important;padding-left:16px!important;padding-right:16px!important}
}
@media(max-height:700px) and (max-width:900px){
  .vbd-pixel-ui .vbd-floating-metrics{top:6px}
  .vbd-pixel-ui .vbd-stage-controls{bottom:5px}
}
@media(prefers-reduced-motion:reduce){
  .vbd-pixel-ui .vbd-toast,.vbd-pixel-ui .vbd-generator-proposal{animation:none!important;transition:none!important}
}

/* v3.0.0 final mobile split-view authority: earlier compatibility rules switch
 * the workspace back to flex after the reconstructed grid. Reassert the two
 * independently scrollable zones so the material library always remains in
 * the same visual viewport as the canvas. */
.vbd-pixel-ui [data-generator-dialog].has-proposals [data-generator-apply]{display:none!important}
@media(max-width:900px){
  .vbd-pixel-ui .vbd-workspace{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,56%) minmax(0,44%)!important;
  }
  .vbd-pixel-ui .vbd-stage{
    grid-column:1!important;grid-row:1!important;
    width:100%!important;height:100%!important;min-height:0!important;
    flex:none!important;
  }
  .vbd-pixel-ui .vbd-library{
    grid-column:1!important;grid-row:2!important;
    width:100%!important;height:100%!important;min-height:0!important;
    flex:none!important;
  }
}
@media(max-width:430px){
  .vbd-pixel-ui .vbd-workspace{grid-template-rows:minmax(0,54%) minmax(0,46%)!important}
}
@media(max-height:700px) and (max-width:900px){
  .vbd-pixel-ui .vbd-workspace{grid-template-rows:minmax(0,49%) minmax(0,51%)!important}
}

/* ========================================================================
 * v3.0.0 Semantic Library, Guided Mobile Workflow & Recovery Actions
 * ======================================================================== */
.vbd-pixel-ui .vbd-material-card{padding:0!important}
.vbd-pixel-ui .vbd-material-add{
  width:100%;height:100%;min-width:0;margin:0;padding:inherit;border:0;border-radius:inherit;
  background:transparent;color:inherit;font:inherit;text-align:center;display:block;cursor:pointer
}
.vbd-pixel-ui .vbd-material-card.is-disabled .vbd-material-add{cursor:not-allowed}
.vbd-pixel-ui .vbd-material-add:focus-visible,
.vbd-pixel-ui .vbd-mobile-selection button:focus-visible,
.vbd-pixel-ui .vbd-empty-actions button:focus-visible,
.vbd-pixel-ui .vbd-generator-advanced summary:focus-visible,
.vbd-pixel-ui .vbd-finish-fit-advisory button:focus-visible,
.vbd-pixel-ui .vbd-toast-action:focus-visible{
  outline:3px solid rgba(55,105,230,.30)!important;outline-offset:2px!important
}
.vbd-pixel-ui .vbd-material-card:has(.vbd-material-add:focus-visible){border-color:#bcc7e6!important;box-shadow:0 0 0 3px rgba(55,105,230,.10)!important}
.vbd-pixel-ui .vbd-photo-button{cursor:zoom-in}

.vbd-pixel-ui .vbd-empty-copy{
  width:min(430px,calc(100% - 36px));white-space:normal;text-align:center;gap:5px;pointer-events:auto
}
.vbd-pixel-ui .vbd-empty-copy>span{max-width:360px;line-height:1.45}
.vbd-pixel-ui .vbd-empty-actions{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px}
.vbd-pixel-ui .vbd-empty-actions button{
  min-height:38px;padding:0 13px;border:1px solid #dfe2e7;border-radius:11px;background:rgba(255,255,255,.96);
  color:#353941;font:750 11px/1 Inter,ui-sans-serif,sans-serif;box-shadow:0 6px 18px rgba(20,24,32,.06);touch-action:manipulation
}
.vbd-pixel-ui .vbd-empty-actions button:last-child{border-color:#17191d;background:#17191d;color:#fff}
.vbd-pixel-ui .vbd-empty-actions button:disabled{opacity:.46;cursor:wait}

.vbd-pixel-ui .vbd-mobile-selection{display:none}
.vbd-pixel-ui .vbd-generator-advanced{margin-top:13px;border:1px solid #e5e7eb;border-radius:15px;background:#fbfbfc;overflow:hidden}
.vbd-pixel-ui .vbd-generator-advanced>summary{
  min-height:48px;padding:8px 13px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  color:#262a31;cursor:pointer;user-select:none
}
.vbd-pixel-ui .vbd-generator-advanced>summary::-webkit-details-marker{display:none}
.vbd-pixel-ui .vbd-generator-advanced>summary span{display:grid;gap:2px}
.vbd-pixel-ui .vbd-generator-advanced>summary strong{font-size:12px}
.vbd-pixel-ui .vbd-generator-advanced>summary small{font-size:10px;color:#777e89;font-weight:600}
.vbd-pixel-ui .vbd-generator-advanced>summary i{font-style:normal;transition:transform .18s ease}
.vbd-pixel-ui .vbd-generator-advanced[open]>summary i{transform:rotate(180deg)}
.vbd-pixel-ui .vbd-generator-advanced-body{padding:0 12px 13px;border-top:1px solid #e9ebef}
.vbd-pixel-ui .vbd-generator-advanced-body .vbd-generator-control-grid{margin-top:12px}

.vbd-pixel-ui .vbd-finish-fit-advisory{
  margin-top:12px;padding:12px;border:1px solid #f0d79b;border-radius:13px;background:#fffaf0;
  display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;color:#5b4a22
}
.vbd-pixel-ui .vbd-finish-fit-advisory[hidden]{display:none!important}
.vbd-pixel-ui .vbd-finish-fit-advisory>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f7e8bd;font-size:17px}
.vbd-pixel-ui .vbd-finish-fit-advisory div{display:grid;gap:2px}
.vbd-pixel-ui .vbd-finish-fit-advisory strong{font-size:12px}
.vbd-pixel-ui .vbd-finish-fit-advisory small{font-size:10.5px;line-height:1.4;color:#75643c}
.vbd-pixel-ui .vbd-finish-fit-advisory button{min-height:35px;padding:0 11px;border:1px solid #d8bd78;border-radius:9px;background:#fff;color:#5d4918;font-weight:800;font-size:10px}

.vbd-pixel-ui .vbd-toast{display:flex!important;align-items:center;justify-content:center;gap:10px}
.vbd-pixel-ui .vbd-toast-copy{min-width:0}
.vbd-pixel-ui .vbd-toast-action{
  flex:0 0 auto;min-height:30px;padding:0 11px;border:1px solid rgba(255,255,255,.35);border-radius:9px;
  background:#fff;color:#17191d;font:800 11px/1 Inter,ui-sans-serif,sans-serif;pointer-events:auto!important;cursor:pointer
}

@media(min-width:901px){
  .vbd-pixel-ui .vbd-generator-advanced{margin-top:0;border:0;border-radius:0;background:transparent;overflow:visible}
  .vbd-pixel-ui .vbd-generator-advanced>summary{display:none}
  .vbd-pixel-ui .vbd-generator-advanced-body{display:block!important;padding:0;border:0}
  .vbd-pixel-ui .vbd-material-add{padding:5px 4px 6px}
}

@media(max-width:900px){
  .vbd-pixel-ui .vbd-library{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:48px 42px minmax(0,1fr)!important
  }
  .vbd-pixel-ui .vbd-library-heading{display:none!important}
  .vbd-pixel-ui .vbd-search{
    grid-column:1!important;grid-row:1!important;width:auto!important;height:38px!important;margin:5px 8px!important
  }
  .vbd-pixel-ui .vbd-category-list{
    grid-column:1!important;grid-row:2!important;width:100%!important;height:42px!important;max-height:42px!important;
    padding:4px 8px 5px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:center!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;
    border:0!important;border-bottom:1px solid #e8e9ec!important;background:#fafbfc!important;
    scrollbar-width:none;scroll-snap-type:x proximity
  }
  .vbd-pixel-ui .vbd-category-list::-webkit-scrollbar{display:none}
  .vbd-pixel-ui .vbd-category-list button{
    flex:0 0 auto!important;width:auto!important;min-width:max-content!important;height:31px!important;min-height:31px!important;
    padding:0 11px!important;border-radius:999px!important;white-space:nowrap!important;font-size:10px!important;line-height:29px!important;
    scroll-snap-align:start
  }
  .vbd-pixel-ui .vbd-category-list button i{display:none!important}
  .vbd-pixel-ui .vbd-library-main{grid-column:1!important;grid-row:3!important}
  .vbd-pixel-ui .vbd-material-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:112px!important;
    gap:7px!important;padding:8px 8px max(84px,calc(env(safe-area-inset-bottom) + 72px))!important
  }
  .vbd-pixel-ui .vbd-material-card{height:112px!important;min-height:112px!important}
  .vbd-pixel-ui .vbd-material-add{padding:5px 3px 6px}
  .vbd-pixel-ui .vbd-material-image{height:57px!important;min-height:57px!important;flex-basis:57px!important}
  .vbd-pixel-ui .vbd-material-image img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important}
  .vbd-pixel-ui .vbd-material-card strong{height:15px!important;line-height:15px!important;font-size:9.4px!important}
  .vbd-pixel-ui .vbd-material-card small{height:12px!important;line-height:12px!important;font-size:8.2px!important}
  .vbd-pixel-ui .vbd-material-price{height:15px!important;line-height:15px!important}
  .vbd-pixel-ui .vbd-material-price b{font-size:10.5px!important}
  .vbd-pixel-ui .vbd-photo-button{width:28px!important;height:28px!important;top:3px!important;right:3px!important}

  .vbd-pixel-ui .vbd-mobile-selection{
    position:absolute;z-index:17;left:8px;right:8px;bottom:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-items:center;gap:7px;padding:6px;border:1px solid rgba(222,225,231,.94);border-radius:15px;
    background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(20,24,32,.12);backdrop-filter:blur(12px)
  }
  .vbd-pixel-ui .vbd-mobile-selection[hidden]{display:none!important}
  .vbd-pixel-ui .vbd-mobile-selection-card{min-width:0;height:42px;padding:3px 5px;border:0;background:transparent;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:7px;text-align:left}
  .vbd-pixel-ui .vbd-mobile-selection-card img{width:36px;height:36px;object-fit:contain;border-radius:9px;background:#f5f6f8}
  .vbd-pixel-ui .vbd-mobile-selection-card span{min-width:0;display:grid;gap:1px}
  .vbd-pixel-ui .vbd-mobile-selection-card strong,.vbd-pixel-ui .vbd-mobile-selection-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .vbd-pixel-ui .vbd-mobile-selection-card strong{font-size:10.5px;color:#262a31}
  .vbd-pixel-ui .vbd-mobile-selection-card small{font-size:8.5px;color:#7a808a}
  .vbd-pixel-ui .vbd-mobile-selection-card em{font-style:normal;font-size:9px;font-weight:800;color:#4c5563}
  .vbd-pixel-ui .vbd-mobile-selection-actions{display:flex;gap:3px}
  .vbd-pixel-ui .vbd-mobile-selection-actions button{width:34px;height:34px;padding:0;border:1px solid #e2e5ea;border-radius:10px;background:#fff;color:#3a3f47;font-weight:800}
  .vbd-pixel-ui .vbd-mobile-selection-actions button:last-child{color:#c64a4a;background:#fff8f8}
  .vbd-pixel-ui .vbd-mobile-selection-actions button:disabled{opacity:.32}

  .vbd-pixel-ui .vbd-empty-copy{bottom:14%;width:calc(100% - 28px)}
  .vbd-pixel-ui .vbd-empty-copy>span{font-size:10px!important}
  .vbd-pixel-ui .vbd-empty-actions{gap:6px;margin-top:6px}
  .vbd-pixel-ui .vbd-empty-actions button{min-height:34px;padding:0 10px;font-size:9.5px}
  .vbd-pixel-ui .vbd-generator-advanced{margin-top:11px}
  .vbd-pixel-ui .vbd-generator-advanced:not([open]){background:#fff}
  .vbd-pixel-ui .vbd-generator-proposals{margin-top:10px!important}
  .vbd-pixel-ui .vbd-finish-fit-advisory{grid-template-columns:26px minmax(0,1fr);padding:10px}
  .vbd-pixel-ui .vbd-finish-fit-advisory button{grid-column:2;width:max-content}
}

@media(max-width:430px){
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:108px!important;gap:5px!important;padding-left:6px!important;padding-right:6px!important}
  .vbd-pixel-ui .vbd-material-card{height:108px!important;min-height:108px!important}
  .vbd-pixel-ui .vbd-material-image{height:53px!important;min-height:53px!important;flex-basis:53px!important}
  .vbd-pixel-ui .vbd-material-image img{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important}
  .vbd-pixel-ui .vbd-material-card strong{font-size:8.6px!important}
  .vbd-pixel-ui .vbd-material-price b{font-size:9.7px!important}
  .vbd-pixel-ui .vbd-mobile-selection{grid-template-columns:minmax(0,1fr);gap:4px;bottom:55px}
  .vbd-pixel-ui .vbd-mobile-selection-actions{justify-content:space-between}
  .vbd-pixel-ui .vbd-mobile-selection-actions button{width:calc((100% - 12px)/5);height:31px}
  .vbd-pixel-ui .vbd-empty-copy{bottom:12%}
}

@media(max-width:345px){
  .vbd-pixel-ui .vbd-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:112px!important}
  .vbd-pixel-ui .vbd-material-card{height:112px!important;min-height:112px!important}
}

@media(max-height:700px) and (max-width:900px){
  .vbd-pixel-ui .vbd-mobile-selection{bottom:50px;padding:4px}
  .vbd-pixel-ui .vbd-mobile-selection-card{height:36px;grid-template-columns:31px minmax(0,1fr) auto}
  .vbd-pixel-ui .vbd-mobile-selection-card img{width:31px;height:31px}
  .vbd-pixel-ui .vbd-mobile-selection-actions button{height:29px}
  .vbd-pixel-ui .vbd-empty-copy{bottom:10%}
}

/* ========================================================================
 * v3.0.0 First-run clarity, transient UI safety and mobile finish flow
 * ======================================================================== */
.vbd-pixel-ui .vbd-toast[hidden]{display:none!important}

@media(min-width:901px){
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy{
    display:flex!important;bottom:13%!important;width:min(430px,calc(100% - 72px))!important;
    padding:15px 18px!important;border:1px solid rgba(224,226,231,.94)!important;border-radius:18px!important;
    background:rgba(255,255,255,.92)!important;box-shadow:0 16px 42px rgba(23,27,35,.08)!important;
    text-align:center!important;white-space:normal!important;pointer-events:auto!important;backdrop-filter:blur(12px)!important
  }
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy strong{font-size:15px!important;color:#22252b!important}
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-copy>span{margin-top:4px!important;font-size:11px!important;color:#727780!important}
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-actions{margin-top:10px!important}
  .vbd-pixel-ui.vbd-is-empty .vbd-empty-actions button{min-height:38px!important;padding:0 14px!important;font-size:10.5px!important}
}

@media(max-width:900px){
  .vbd-pixel-ui .vbd-finish-dialog{
    height:min(calc(var(--vbd-viewport-height,100dvh) - max(14px,env(safe-area-inset-top)) - max(14px,env(safe-area-inset-bottom))),860px)!important;
    max-height:calc(var(--vbd-viewport-height,100dvh) - max(14px,env(safe-area-inset-top)) - max(14px,env(safe-area-inset-bottom)))!important;
    display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;overflow:hidden!important
  }
  .vbd-pixel-ui .vbd-finish-head{padding:0 28px 2px!important}
  .vbd-pixel-ui .vbd-finish-layout{
    min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
    display:block!important;margin-top:14px!important;padding:0 1px 18px!important;scroll-padding-bottom:18px!important
  }
  .vbd-pixel-ui .vbd-finish-image-wrap{max-height:none!important;min-height:210px!important;aspect-ratio:1.35/1!important}
  .vbd-pixel-ui .vbd-finish-info{margin-top:14px!important}
  .vbd-pixel-ui .vbd-finish-actions{
    position:static!important;z-index:6!important;margin:0!important;padding:12px 0 max(0px,env(safe-area-inset-bottom))!important;
    border-top:1px solid #eceef1!important;background:#fff!important;box-shadow:0 -8px 22px rgba(22,26,34,.055)!important
  }
  .vbd-pixel-ui .vbd-submit-status{margin:0!important}
}

@media(max-width:430px){
  .vbd-pixel-ui .vbd-finish-dialog{padding-bottom:0!important}
  .vbd-pixel-ui .vbd-finish-head h2{font-size:27px!important}
  .vbd-pixel-ui .vbd-finish-head p{font-size:12px!important}
  .vbd-pixel-ui .vbd-finish-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .vbd-pixel-ui .vbd-finish-actions .vbd-primary{grid-column:1/-1!important}
}


/* v3.0.0 — performance-aware workspace and Creative Composer polish */
.vbd-studio[data-vbd-version^="3."] .vbd-toast{z-index:2147483000;max-width:min(720px,calc(100% - 28px));overflow:hidden;text-overflow:ellipsis;text-align:center}
.vbd-studio[data-vbd-version^="3."].vbd-network-offline .vbd-toast,
.vbd-studio[data-vbd-version^="3."][data-network="recovering"] .vbd-toast{top:136px}
.vbd-studio[data-vbd-version^="3."] .vbd-material-card{content-visibility:auto;contain-intrinsic-size:126px 116px;will-change:transform}
.vbd-studio[data-vbd-version^="3."] .vbd-material-card strong{font-size:12px!important;line-height:1.25!important;height:auto!important;min-height:30px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.vbd-studio[data-vbd-version^="3."] .vbd-material-card small{font-size:10.5px!important;line-height:1.25!important;height:auto!important;min-height:13px}
.vbd-studio[data-vbd-version^="3."] .vbd-material-image{min-height:68px}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-preview-note[data-mode="ready"]{border:1px solid #dfe9e6;background:#f5faf8;color:#1d574c;font-weight:700}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-preview-note[data-mode="working"]{position:relative;overflow:hidden}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-preview-note[data-mode="working"]::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:vbdGeneratorSweep 1.15s linear infinite}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal{content-visibility:auto;contain-intrinsic-size:520px 240px;border-radius:18px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal:hover{transform:translateY(-2px)}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal canvas{border-radius:14px;background:radial-gradient(circle at 50% 50%,#fff 0,#fff 56%,#fafbfc 100%)}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-card-actions button{min-height:42px}
.vbd-studio[data-vbd-version^="3."] .vbd-generator-actions{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:rgba(255,255,255,.94)!important;border-top:1px solid #eceef1}
.vbd-studio[data-vbd-version^="3."] :where(button,input,select,summary,[tabindex]):focus-visible{outline:3px solid rgba(17,17,17,.22)!important;outline-offset:3px!important}
.vbd-studio[data-vbd-version^="3."] .vbd-canvas-wrap{background:radial-gradient(circle at 50% 50%,rgba(250,251,252,.18),rgba(247,248,250,.48))}
@keyframes vbdGeneratorSweep{to{transform:translateX(100%)}}
@media(min-width:901px){
  .vbd-studio[data-vbd-version^="3."] .vbd-material-grid{grid-template-columns:repeat(3,minmax(118px,1fr));gap:11px}
  .vbd-studio[data-vbd-version^="3."] .vbd-material-card{min-height:142px;padding:9px 8px 11px}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-width:0;padding:35px 12px 12px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal canvas{width:100%;height:auto;aspect-ratio:260/170}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-material-chips,.vbd-studio[data-vbd-version^="3."] .vbd-generator-card-actions{grid-column:auto!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-card-actions{margin-top:auto}
}
@media(max-width:900px){
  .vbd-studio[data-vbd-version^="3."] .vbd-stage{flex-basis:53%;height:53%;min-height:300px}
  .vbd-studio[data-vbd-version^="3."] .vbd-library{height:47%;min-height:0}
  .vbd-studio[data-vbd-version^="3."] .vbd-material-card strong{font-size:10.8px!important;min-height:27px}
  .vbd-studio[data-vbd-version^="3."] .vbd-material-card small{font-size:9.8px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-actions{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
}
@media(max-width:520px){
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal{grid-template-columns:96px minmax(0,1fr)!important;gap:9px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposal-stats{font-size:10px;line-height:1.35}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-card-actions{grid-template-columns:1fr!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-toast{top:72px;white-space:normal;border-radius:16px;line-height:1.35}
  .vbd-studio[data-vbd-version^="3."].vbd-network-offline .vbd-toast,
  .vbd-studio[data-vbd-version^="3."][data-network="recovering"] .vbd-toast{top:126px}
}
@media(prefers-reduced-motion:reduce){.vbd-studio[data-vbd-version^="3."] .vbd-generator-preview-note::after{display:none!important}}

/* v3.0.0 final visual fixes: top-layer toast positioning and complete card metadata */
.vbd-studio[data-vbd-version^="3."] .vbd-toast:popover-open{
  position:fixed!important;inset:auto!important;left:50%!important;top:82px!important;margin:0!important;transform:translateX(-50%)!important;
}
.vbd-studio[data-vbd-version^="3."].vbd-network-offline .vbd-toast:popover-open,
.vbd-studio[data-vbd-version^="3."][data-network="recovering"] .vbd-toast:popover-open{top:82px!important}
@media(min-width:901px){
  .vbd-studio[data-vbd-version^="3."] .vbd-material-grid{grid-auto-rows:154px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-material-card{height:154px!important;min-height:154px!important}
}
@media(max-width:900px){
  .vbd-studio[data-vbd-version^="3."] .vbd-material-grid{grid-auto-rows:146px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-material-card{height:146px!important;min-height:146px!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-toast:popover-open{top:72px!important}
  .vbd-studio[data-vbd-version^="3."].vbd-network-offline .vbd-toast:popover-open,
  .vbd-studio[data-vbd-version^="3."][data-network="recovering"] .vbd-toast:popover-open{top:82px!important}
}

/* v3.0.0 — reveal generated ideas before advanced controls on desktop */
@media(min-width:901px){
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-dialog{width:min(1120px,calc(100vw - 36px))!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-advanced>summary{display:flex!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-advanced[open]>.vbd-generator-advanced-body{display:block!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-advanced:not([open])>.vbd-generator-advanced-body{display:none!important}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-advanced:not([open]){margin-top:12px;border:1px solid #e5e7eb;border-radius:15px;background:#fbfbfc;overflow:hidden}
  .vbd-studio[data-vbd-version^="3."] .vbd-generator-proposals{scroll-margin-block:14px}
}

/* v3.0.0 — body-level top-layer toast remains clear of the studio/network header */
body>.vbd-toast:popover-open{top:82px!important;bottom:auto!important}
@media(max-width:900px){body>.vbd-toast:popover-open{top:72px!important}}
