#designerView.bd171-active{--bd171-yellow:#f2c400;--bd171-border:#dce1e7;--bd171-muted:#626c78;--bd171-bg:#f3f5f7;color:#20242b}
#designerView.bd171-active .bd171-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(330px,.85fr)!important;gap:20px!important;max-width:1240px;margin:auto;padding:20px!important;overflow:visible!important;align-items:start}
#designerView .bd171-header{grid-column:1/-1;background:#fff;border-radius:12px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}#designerView .bd171-header h1{font-size:23px;margin:0 0 5px}#designerView .bd171-header p{font-size:13px;color:var(--bd171-muted);margin:0}#designerView .bd171-header nav{display:flex;gap:8px;min-width:0}#designerView .bd171-header button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--bd171-muted);min-height:44px;padding:8px 10px;white-space:normal;font-size:13px}#designerView .bd171-header button[aria-current=step]{border-color:var(--bd171-yellow);color:#20242b;font-weight:700}
#designerView.bd171-active .workspace{grid-column:1;position:sticky;top:12px;min-width:0;max-width:100%;background:var(--bd171-bg);padding:14px!important;border:1px solid var(--bd171-border);border-radius:12px;overflow:hidden;align-self:start}#designerView.bd171-active .workspace-head,#designerView.bd171-active #mobileQuickActions,#designerView.bd171-active #mobileDesignerHint,#designerView.bd171-active .workspace>.delete-banner{display:none!important}#designerView.bd171-active .canvas-shell{max-width:100%!important;width:100%!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden!important;display:block!important;position:relative!important;background:#fff;border-radius:8px}#designerView.bd171-active #designerCanvas{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;touch-action:none}#designerView .bd171-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--bd171-muted);margin-bottom:12px;flex-wrap:wrap}#designerView .bd171-history{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px;color:var(--bd171-muted);margin-top:12px}#designerView .bd171-history>div{display:flex;gap:7px}#designerView .bd171-history button{font-size:12px;min-height:38px;padding:7px 10px}
#bannerEditor171{grid-column:2;min-width:0;background:#fff;border:1px solid var(--bd171-border);border-radius:12px;overflow:hidden}#bannerEditor171 *{box-sizing:border-box}#bannerEditor171 [hidden],#designerView .bd171-legacy{display:none!important}#bannerEditor171 h2{font-size:19px;line-height:1.3;margin:0}#bannerEditor171 h3{font-size:15px;line-height:1.4;margin:0;overflow-wrap:anywhere}#bannerEditor171 p{font-size:13px;color:var(--bd171-muted);line-height:1.45;margin:8px 0 14px}#bannerEditor171 small{font-size:12px;color:var(--bd171-muted);display:block;line-height:1.5;margin:10px 0}#bannerEditor171 button{min-height:42px;white-space:normal;max-width:100%;overflow-wrap:anywhere}#bannerEditor171 button.primary{background:var(--bd171-yellow);border-color:var(--bd171-yellow);color:#20242b;font-weight:700}#bannerEditor171 button[aria-pressed=true]{background:#fff8d8;border-color:#d6ad00;color:#20242b}#bannerEditor171 label{display:block;font-size:13px;margin:12px 0;font-weight:600}#bannerEditor171 input:not([type=checkbox]):not([type=range]),#bannerEditor171 select,#bannerEditor171 textarea{width:100%;max-width:100%;min-width:0;border:1px solid var(--bd171-border);border-radius:8px;background:#fff;color:#20242b;padding:10px 11px;min-height:44px;font-size:16px;margin-top:5px}#bannerEditor171 input[type=color]{padding:5px!important;height:44px}#bannerEditor171 textarea{resize:vertical;line-height:1.4}#bannerEditor171 input[type=range]{width:100%;min-width:0;min-height:36px;accent-color:#bd9900;padding:0;margin:5px 0 0}#bannerEditor171 input[type=file]{font-size:13px!important;padding:12px!important;border-style:dashed!important}
#bannerEditor171 .bd171-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px;background:var(--bd171-bg)}#bannerEditor171 .bd171-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:21px;padding:6px 2px;min-width:0;min-height:62px}#bannerEditor171 .bd171-tools span{font-size:12px}#bannerEditor171 .bd171-pane{padding:18px}#bannerEditor171 .bd171-section-head{display:flex;align-items:center;justify-content:space-between;gap:9px}#bannerEditor171 .bd171-section-head button{padding:8px 10px;font-size:12px}#bannerEditor171 .bd171-font-row{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:12px}#bannerEditor171 .bd171-slider-label output{float:right;font-weight:400}#bannerEditor171 .bd171-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}#bannerEditor171 .bd171-actions button{flex:1;font-size:12px;padding:8px;min-width:75px}#bannerEditor171 details{margin-top:12px;font-size:13px;color:var(--bd171-muted)}#bannerEditor171 summary{cursor:pointer;min-height:42px;padding:10px 0}#bannerEditor171 .bd171-position{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#bannerEditor171 .bd171-chips{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}#bannerEditor171 .bd171-chips button{font-size:12px;text-align:left;max-width:100%;min-height:36px;padding:7px 10px;overflow-wrap:anywhere}#bannerEditor171 .bd171-selected,#bannerEditor171 .bd171-layers{padding:14px 18px;border-top:1px solid var(--bd171-border);margin:0}#bannerEditor171 .bd171-check{display:flex;gap:9px;align-items:flex-start;line-height:1.5;font-weight:400}#bannerEditor171 .bd171-check input{flex:0 0 18px;width:18px;height:18px;margin-top:2px;accent-color:#b28f00}#bannerEditor171 .config-card{padding:0;border:0;background:none}#bannerEditor171 .config-card>h2{display:none}#bannerEditor171 .product-card{margin:12px 0;font-size:13px;padding:12px;background:var(--bd171-bg)}#bannerEditor171 .bd171-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-top:1px solid var(--bd171-border);background:#fff}#bannerEditor171 .bd171-footer>div{min-width:0}#bannerEditor171 .bd171-footer strong{display:block;font-size:16px;overflow-wrap:anywhere}#bannerEditor171 .bd171-footer small{font-size:11px;margin:3px 0 0}#bannerEditor171 .bd171-footer>button{flex-shrink:0;max-width:52%;font-size:13px;padding:10px 12px}#bannerEditor171 .bd171-status{padding:0 18px 14px;margin:0;min-height:24px;overflow-wrap:anywhere}#bannerEditor171 .toolbar{display:flex!important;flex-wrap:wrap!important;gap:8px;position:static!important;padding:8px 0!important}#bannerEditor171 .toolbar button{font-size:12px;flex:1 1 120px}#bannerEditor171 #goCheckout{display:none!important}#bannerEditor171 #bannerMirrorTools{display:none!important}#bannerEditor171 #dpiPanel{display:block!important;padding:10px;font-size:12px}#bannerEditor171 #templateList,#bannerEditor171 #graphicList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-height:none!important;overflow:visible!important;width:100%!important;min-width:0!important;padding:6px 0!important}#bannerEditor171 .template-btn,#bannerEditor171 .graphic-btn{width:100%!important;min-width:0!important;max-width:100%!important;padding:6px!important;overflow:hidden}#bannerEditor171 .template-preview{width:100%!important;min-width:0!important;height:85px!important;min-height:0!important}#bannerEditor171 .template-btn img,#bannerEditor171 .graphic-btn img{width:100%!important;height:85px!important;max-height:85px!important;object-fit:contain;pointer-events:none}#bannerEditor171 .template-btn span,#bannerEditor171 .graphic-btn span{font-size:12px;white-space:normal;overflow-wrap:anywhere}
#designerView.bd171-active #floatingTextToolbar,#designerView.bd171-active #inlineTextEditor,body:has(#designerView.bd171-active) #floatingTextToolbar{display:none!important}
#bannerEditor171 .bd171-actions button{font-size:12px!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}#bannerEditor171 .bd171-footer>button{font-size:13px!important;overflow-wrap:normal!important;word-break:normal!important}#bannerEditor171 .bd171-tools button{font-size:21px!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}#bannerEditor171 .bd171-tools span{font-size:12px!important}
body:has(#designerView.bd171-active.active) #withdrawOpen{position:static!important;display:block!important;margin:18px auto!important;max-width:calc(100% - 28px)!important}
#designerView.bd171-active .bd171-layout{height:auto!important;max-height:none!important}#designerView.bd171-active .workspace{height:auto!important;max-height:none!important;top:92px!important}
@media(max-width:800px){#designerView.bd171-active .workspace{position:sticky!important;top:0!important;z-index:20}}
@media(max-width:800px) and (max-height:600px){#designerView.bd171-active .workspace{position:relative!important;top:auto!important}}
@media(max-width:800px){#designerView.bd171-active .bd171-layout{display:flex!important;flex-direction:column!important;gap:0!important;padding:8px!important}#designerView .bd171-header{width:100%;display:block;padding:15px;border-radius:12px 12px 0 0}#designerView .bd171-header h1{font-size:21px}#designerView .bd171-header nav{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}#designerView .bd171-header button{padding:7px 2px;font-size:12px}#designerView.bd171-active .workspace{position:relative;top:auto;width:100%!important;padding:12px!important;border:0;border-radius:0}#bannerEditor171{width:100%;border-radius:0 0 12px 12px;border:0}#bannerEditor171 .bd171-tools{padding:10px 12px}#bannerEditor171 .bd171-pane{padding:16px}#bannerEditor171 .bd171-footer{padding:15px}#bannerEditor171 .bd171-selected,#bannerEditor171 .bd171-layers{padding:12px 16px}#designerView .bd171-meta{font-size:11px}#designerView .bd171-history{font-size:11px}#bannerEditor171 .bd171-chips button{min-height:40px}#bannerEditor171 #templateList,#bannerEditor171 #graphicList{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x pan-y!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:14px!important;scroll-snap-type:x proximity}#bannerEditor171 #templateList>button,#bannerEditor171 #graphicList>button{flex:0 0 145px!important;width:145px!important;min-width:145px!important;scroll-snap-align:start;touch-action:pan-x pan-y!important}#bannerEditor171 input,#bannerEditor171 textarea,#bannerEditor171 select{scroll-margin-top:20px}}
