*{box-sizing:border-box}:root{--cd-bg:#f4f6f8;--cd-panel:#fff;--cd-ink:#18251f;--cd-muted:#718077;--cd-line:#dfe6e1;--cd-primary:var(--theme-primary,#295640);--cd-green:#17a15d;--cd-blue:#1677ff;--cd-purple:#7c3aed;--cd-orange:#f59e0b;--cd-shadow:0 18px 48px rgba(30,48,36,.12);}html,body{margin:0;min-height:100%;font-family:Inter,Manrope,Arial,sans-serif;color:var(--cd-ink);background:var(--cd-bg)}button,input,select{font:inherit}button{cursor:pointer}.cd-topbar{height:74px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;background:rgba(255,255,255,.96);backdrop-filter:blur(15px);border-bottom:1px solid var(--cd-line);position:sticky;top:0;z-index:40;box-shadow:0 4px 20px rgba(24,40,30,.035)}.cd-back{color:var(--cd-primary);font-weight:800;text-decoration:none;font-size:13px}.cd-brand{display:flex;align-items:center;gap:10px}.cd-brand-mark{width:38px;height:38px;border-radius:13px;color:#fff;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,var(--cd-primary),#1e9f6a 58%,#17a9b8);box-shadow:0 9px 23px rgba(29,105,76,.20)}.cd-brand-copy{display:flex;flex-direction:column;line-height:1.05}.cd-brand-copy strong{font-size:16px}.cd-brand-copy small{font-size:10px;color:#8a978f;margin-top:5px}.cd-top-actions{justify-self:end;display:flex;align-items:center;gap:7px}.cd-save-state{display:flex;align-items:center;gap:7px;font-size:10px;color:#698177;margin-right:4px}.cd-save-state i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.10)}.cd-btn,.cd-upload-btn,.cd-secondary-wide{border:0;border-radius:11px;padding:10px 14px;font-weight:800;cursor:pointer;transition:.16s ease}.cd-btn:hover,.cd-secondary-wide:hover{transform:translateY(-1px)}.cd-btn.primary{background:linear-gradient(135deg,var(--cd-primary),#1b7d58);color:#fff;box-shadow:0 8px 18px rgba(30,91,65,.15)}.cd-btn.ghost,.cd-secondary-wide{background:#eef3ef;color:#244435}.cd-btn.icon{width:38px;height:38px;padding:0;display:grid;place-items:center;background:#f6f8f6;color:#41564a;font-size:18px}.cd-btn:disabled{opacity:.42;cursor:not-allowed;transform:none}.cd-shell{display:grid;grid-template-columns:280px minmax(0,1fr) 340px;min-height:calc(100vh - 74px)}.cd-panel{background:rgba(255,255,255,.97);padding:18px;overflow:auto;max-height:calc(100vh - 74px)}.cd-products-panel{border-right:1px solid var(--cd-line)}.cd-tools-panel{border-left:1px solid var(--cd-line)}.cd-panel-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:16px}.cd-panel-head h2{font-size:15px;margin:0 0 3px}.cd-panel-head p{font-size:11px;color:var(--cd-muted);margin:0;line-height:1.45}.cd-step{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--cd-primary),#24a268);color:#fff;font-size:11px;font-weight:900;flex:0 0 auto}.cd-product-list{display:grid;gap:10px}.cd-product-card{border:1px solid var(--cd-line);border-radius:15px;padding:9px;background:#fff;cursor:pointer;text-align:left;display:grid;grid-template-columns:66px 1fr;gap:10px;align-items:center;transition:.16s ease}.cd-product-card:hover{border-color:#b9cabe;box-shadow:0 8px 20px rgba(30,48,36,.06);transform:translateY(-1px)}.cd-product-card.active{border:2px solid var(--cd-primary);padding:8px;background:linear-gradient(135deg,#f5faf6,#f1fbf8);box-shadow:0 9px 20px rgba(30,91,65,.08)}.cd-product-card img{width:66px;height:66px;object-fit:contain;border-radius:11px;background:#f7f9f7}.cd-product-card strong{display:block;font-size:12px}.cd-product-card span{display:block;font-size:10px;color:var(--cd-muted);margin-top:4px}.cd-empty{padding:22px 12px;text-align:center;color:var(--cd-muted);font-size:12px;border:1px dashed #cbd6cd;border-radius:13px;background:#fafcfa}.cd-help-card{margin-top:16px;padding:13px;border:1px solid #dde9df;border-radius:14px;background:linear-gradient(135deg,#f8fcf8,#f6fbff);display:grid;gap:5px}.cd-help-card strong{font-size:11px}.cd-help-card span{font-size:10px;color:#718077;line-height:1.5}.cd-workspace{min-width:0;background:radial-gradient(circle at 50% 20%,#fff 0,#f3f6f3 50%,#e9efeb 100%);display:flex;flex-direction:column}.cd-workspace-bar{min-height:58px;padding:9px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e3e8e4;background:rgba(255,255,255,.72);backdrop-filter:blur(12px);position:relative;z-index:5}.cd-workspace-meta,.cd-workspace-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cd-pill{padding:7px 10px;border-radius:999px;border:1px solid #e1e7e3;background:#fff;color:#66756d;font-size:10px;font-weight:800}.cd-pill.primary{border-color:transparent;background:linear-gradient(135deg,var(--cd-primary),#169b68);color:#fff}.cd-pill.quality.good{color:#0b7d43;background:#edfdf4;border-color:#bbf1d0}.cd-pill.quality.warn{color:#9a5b0c;background:#fff9ea;border-color:#f6dc9b}.cd-tool-toggle,.cd-zoom-btn,.cd-zoom-label{height:32px;border:1px solid #dde4df;background:#fff;color:#647269;border-radius:9px;font-size:10px;font-weight:800}.cd-tool-toggle{padding:0 9px}.cd-tool-toggle.active{color:#0e7c45;background:#effaf3;border-color:#bfe6cd}.cd-zoom-btn{width:32px;font-size:15px}.cd-zoom-label{min-width:48px;padding:0 8px}.cd-bar-sep{width:1px;height:22px;background:#dde4df;margin:0 2px}.cd-stage-wrap{flex:1;min-height:0;width:min(100%,980px);margin:0 auto;padding:18px;overflow:auto;display:flex;flex-direction:column;justify-content:center;align-items:center}.cd-stage{width:100%;height:min(72vh,690px);min-height:470px;position:relative;border-radius:22px;background:#fff;box-shadow:var(--cd-shadow);overflow:hidden;touch-action:none;isolation:isolate;transform-origin:center center;transition:transform .18s ease}.cd-stage.is-empty{display:grid;place-items:center}.cd-stage-empty{text-align:center;max-width:390px;padding:30px;color:var(--cd-muted)}.cd-stage-empty h2{color:#263c31;margin:8px 0;font-size:20px}.cd-stage-empty p{font-size:12px;line-height:1.5}.cd-empty-icon{font-size:42px;color:#8ca393}.cd-mockup{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}.cd-print-zone{position:absolute;overflow:visible;transform-origin:center;border-radius:8px;pointer-events:auto;outline:1px dashed rgba(124,58,237,.34);outline-offset:-1px}.cd-print-zone::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 14px rgba(0,0,0,.06);border-radius:inherit;z-index:8}.cd-artwork-surface{position:absolute;inset:0;transform-origin:center;overflow:visible;z-index:4}.cd-surface-light{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;opacity:.5;z-index:6}.cd-safe-guide,.cd-bleed-guide,.cd-snap-guide{position:absolute;pointer-events:none;z-index:7}.cd-safe-guide{inset:6%;border:1.5px dashed rgba(22,163,74,.75);border-radius:inherit}.cd-bleed-guide{inset:1.7%;border:1.5px dashed rgba(245,158,11,.80);border-radius:inherit}.cd-snap-guide{display:none}.cd-snap-guide.vertical{top:0;bottom:0;left:50%;border-left:1px dashed rgba(124,58,237,.78)}.cd-snap-guide.horizontal{left:0;right:0;top:50%;border-top:1px dashed rgba(124,58,237,.78)}.cd-stage-footer{width:100%;display:flex;justify-content:space-between;gap:12px;padding:10px 4px 0;color:var(--cd-muted);font-size:10px}.cd-shortcuts{text-align:right;color:#8b968f}.cd-tool-section{padding-bottom:14px}.cd-section-label{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:#98a29c;margin-bottom:8px}.cd-add-tools{display:grid;grid-template-columns:1fr;gap:8px}.cd-upload-btn{background:#fff;color:#30453a;text-align:left;border:1px solid #dce5de;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:9px;padding:9px 10px}.cd-upload-btn:hover{background:#fafcfa;border-color:#bfcfc3}.cd-upload-btn strong{display:block;font-size:11px}.cd-upload-btn small{display:block;font-size:9px;color:#829087;font-weight:600;margin-top:2px}.cd-upload-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:900}.cd-upload-icon.blue{background:linear-gradient(135deg,#1677ff,#15b8d4)}.cd-upload-icon.purple{background:linear-gradient(135deg,#7c3aed,#d946ef)}.cd-upload-icon.orange{background:linear-gradient(135deg,#f59e0b,#f97316)}.is-disabled{opacity:.46;pointer-events:none}.cd-control-card{border-top:1px solid #e4e9e4;padding-top:14px;margin-top:14px;display:grid;gap:10px}.cd-control-title{display:flex;justify-content:space-between;align-items:center;font-size:12px}.cd-control-title span{font-size:10px;color:var(--cd-muted)}.cd-link{border:0;background:none;font-size:10px;font-weight:800;cursor:pointer}.cd-link.danger{color:#a73535}.cd-control-card label{font-size:10px;font-weight:800;color:#53645a;display:grid;gap:5px}.cd-control-card input[type=range]{width:100%;accent-color:var(--cd-primary)}.cd-control-card input[type=number],.cd-control-card input[type=text],.cd-control-card select{width:100%;border:1px solid #d4ded6;border-radius:8px;padding:8px;background:#fff;color:#263c31}.cd-control-card input[type=color]{width:100%;height:34px;border:1px solid #d4ded6;border-radius:8px;padding:3px;background:#fff}.cd-control-card output{float:right;font-weight:900;color:#263c31}.cd-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cd-quick-rotate,.cd-object-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cd-object-actions-4{grid-template-columns:repeat(2,1fr)}.cd-quick-rotate button,.cd-object-actions button,.cd-secondary-wide{border:1px solid #d5dfd7;background:#f6f8f6;color:#304b3a;border-radius:8px;padding:7px 5px;font-size:10px;font-weight:800;cursor:pointer}.cd-object-actions button:hover,.cd-quick-rotate button:hover{border-color:#afc3b4;background:#eff5f0}.cd-secondary-wide{width:100%}.cd-layer{position:absolute;left:50%;top:50%;width:40%;height:20%;transform-origin:center;cursor:grab;user-select:none;touch-action:none;box-sizing:border-box}.cd-layer:active{cursor:grabbing}.cd-layer.selected{outline:1.5px dashed rgba(27,87,53,.88);outline-offset:4px}.cd-layer.locked{cursor:not-allowed}.cd-layer img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.cd-text-layer{line-height:1.05;text-align:center;font-weight:700;color:#111;min-width:20px;min-height:14px;display:flex;align-items:center;justify-content:center}.cd-text-content{display:block;white-space:nowrap;pointer-events:none;transform-origin:center}.cd-transform-handle,.cd-rotate-corner{display:none;position:absolute;z-index:15;box-sizing:border-box}.cd-transform-handle{width:13px;height:13px;background:#fff;border:2px solid var(--cd-primary);box-shadow:0 1px 4px rgba(0,0,0,.22)}.cd-layer.selected:not(.locked):not(.rotate-mode) .cd-transform-handle{display:block}.cd-h-nw{left:-8px;top:-8px;cursor:nwse-resize}.cd-h-n{left:50%;top:-8px;transform:translateX(-50%);cursor:ns-resize}.cd-h-ne{right:-8px;top:-8px;cursor:nesw-resize}.cd-h-e{right:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}.cd-h-se{right:-8px;bottom:-8px;cursor:nwse-resize}.cd-h-s{left:50%;bottom:-8px;transform:translateX(-50%);cursor:ns-resize}.cd-h-sw{left:-8px;bottom:-8px;cursor:nesw-resize}.cd-h-w{left:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}.cd-rotate-corner{width:18px;height:18px;border-radius:50%;background:var(--cd-primary);border:3px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.25);cursor:grab}.cd-layer.selected.rotate-mode:not(.locked) .cd-rotate-corner{display:block}.cd-r-nw{left:-12px;top:-12px}.cd-r-ne{right:-12px;top:-12px}.cd-r-se{right:-12px;bottom:-12px}.cd-r-sw{left:-12px;bottom:-12px}.cd-layer.rotate-mode.selected{outline-style:solid;outline-color:rgba(124,58,237,.9)}.cd-transform-mode-row{border:1px solid #dce5de;background:#f8faf8;border-radius:10px;padding:8px;display:grid;gap:6px}.cd-transform-mode-row button{border:1px solid #d5dfd7;background:#fff;color:#3a5144;border-radius:8px;padding:7px;font-size:10px;font-weight:900;cursor:pointer}.cd-transform-mode-row button.active{background:#edf8f0;border-color:#a8d4b5;color:#137a43}.cd-transform-mode-row small{font-size:9px;line-height:1.45;color:#7b8980;font-weight:600}.cd-layer-list{display:grid;gap:6px;max-height:220px;overflow:auto}.cd-layer-empty{padding:12px;border:1px dashed #d4ded6;border-radius:10px;text-align:center;color:#829087;font-size:10px}.cd-layer-row{display:grid;grid-template-columns:28px minmax(0,1fr) 28px 28px;gap:4px;align-items:center;border:1px solid #dde5df;background:#fff;border-radius:10px;padding:5px}.cd-layer-row.active{border-color:#9bb8a3;background:#f6faf7}.cd-layer-row button{height:28px;border:0;background:#f6f8f6;color:#66766d;border-radius:7px;font-size:11px}.cd-layer-row .cd-layer-name{background:transparent;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:800;color:#354b40}.cd-layer-row.muted{opacity:.55}.cd-modal{position:fixed;inset:0;background:rgba(12,24,17,.72);z-index:100;display:grid;place-items:center;padding:24px}.cd-modal[hidden]{display:none}.cd-modal-card{width:min(1080px,96vw);max-height:94vh;background:#fff;border-radius:18px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.cd-modal-head{padding:14px 18px;border-bottom:1px solid var(--cd-line);display:flex;justify-content:space-between;align-items:center}.cd-modal-head div{display:flex;flex-direction:column}.cd-modal-head span{font-size:10px;color:var(--cd-muted);margin-top:3px}.cd-modal-head button{border:0;background:none;font-size:28px;cursor:pointer}.cd-preview-body{padding:15px;background:#eef2ee;overflow:auto;text-align:center}.cd-preview-body canvas{max-width:100%;max-height:72vh;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.12)}.cd-preview-actions{padding:12px 16px;display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--cd-line)}@media(max-width:1180px){.cd-shell{grid-template-columns:240px minmax(0,1fr)}.cd-tools-panel{grid-column:1/-1;max-height:none;border-left:0;border-top:1px solid var(--cd-line);display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cd-tools-panel .cd-panel-head{grid-column:1/-1}.cd-tool-section,.cd-control-card{margin-top:0}.cd-add-tools{grid-template-columns:1fr}.cd-stage-wrap{justify-content:flex-start}}@media(max-width:820px){.cd-topbar{grid-template-columns:auto 1fr auto;height:66px;padding:0 10px}.cd-brand-copy small,.cd-save-state,.cd-top-actions .ghost{display:none}.cd-brand-mark{width:34px;height:34px}.cd-top-actions{gap:4px}.cd-shell{display:block}.cd-products-panel{max-height:none;border-right:0;border-bottom:1px solid var(--cd-line);padding:12px}.cd-product-list{display:flex;overflow-x:auto;gap:8px}.cd-product-card{min-width:185px}.cd-workspace-bar{align-items:flex-start;flex-direction:column}.cd-stage-wrap{padding:10px}.cd-stage{min-height:420px;height:58vh}.cd-stage-footer{display:block}.cd-shortcuts{display:none}.cd-tools-panel{display:block;max-height:none;border:0;padding:14px}.cd-control-card{margin-top:14px}.cd-preview-actions{flex-wrap:wrap}.cd-preview-actions .cd-btn{flex:1}}.cd-stage{background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.98),rgba(244,247,245,.96) 55%,rgba(233,239,235,.98)),#eef3ef;box-shadow:inset 0 0 0 1px rgba(210,222,214,.85),0 16px 44px rgba(30,48,36,.09);}.cd-stage.is-editor:before{content:"PRINT AREA EDITOR";position:absolute;left:18px;top:16px;z-index:1;color:#8b978f;font-size:9px;font-weight:900;letter-spacing:.14em;}.cd-stage.is-editor:after{content:"Product mockup is shown only in Live Product Preview";position:absolute;right:18px;top:16px;z-index:1;color:#9aa59e;font-size:9px;font-weight:700;}.cd-mockup{display:none!important}.cd-print-zone{background-color:#fff;background-image:linear-gradient(rgba(32,75,49,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(32,75,49,.045) 1px,transparent 1px);background-size:18px 18px;border:2px solid rgba(36,105,64,.75);outline:1px dashed rgba(124,58,237,.38);outline-offset:5px;box-shadow:0 20px 45px rgba(28,52,37,.14),inset 0 0 0 1px rgba(255,255,255,.88);}.cd-print-zone:before{content:"PRINT AREA";position:absolute;left:50%;top:-27px;transform:translateX(-50%);padding:5px 8px;border-radius:999px;background:#fff;border:1px solid #dbe5de;color:#51705d;font-size:8px;font-weight:900;letter-spacing:.12em;white-space:nowrap;box-shadow:0 5px 14px rgba(31,53,39,.08);z-index:10;}.cd-print-zone::after{box-shadow:inset 0 0 18px rgba(0,0,0,.035)}.cd-artwork-surface{overflow:visible;border-radius:inherit}.cd-surface-light{display:none}.cd-live-preview-card{position:sticky;top:-1px;z-index:12;margin:-2px 0 16px;padding:11px;border:1px solid #dbe6df;border-radius:14px;background:linear-gradient(145deg,#ffffff,#f7fbf8);box-shadow:0 10px 26px rgba(29,61,40,.08);}.cd-live-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px}.cd-live-preview-head>div{min-width:0}.cd-live-preview-head strong{display:block;font-size:11px;color:#2a4435}.cd-live-preview-head span{display:block;font-size:8px;color:#87958c;margin-top:2px;line-height:1.35}#cdLivePreviewState{flex:0 0 auto!important;margin:0!important;padding:4px 6px;border-radius:999px;background:#edf8f1;color:#27784a!important;border:1px solid #cde7d7;font-size:7px!important;font-weight:900;white-space:nowrap}.cd-live-preview-stage{min-height:148px;max-height:190px;position:relative;overflow:hidden;display:grid;place-items:center;border:1px solid #e0e7e2;border-radius:11px;background:radial-gradient(circle at 50% 45%,#fff 0,#f1f5f2 63%,#e8eeea 100%);}.cd-live-preview-stage canvas{display:block;max-width:100%;max-height:188px;width:auto;height:auto}.cd-live-preview-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:18px;color:#64756b;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(245,249,246,.94))}.cd-live-preview-empty[hidden]{display:none}.cd-live-preview-empty span{font-size:10px;font-weight:900}.cd-live-preview-empty small{font-size:8px;line-height:1.45;margin-top:4px;color:#8a978f}.cd-live-preview-card .cd-secondary-wide{margin-top:8px;padding:8px 10px;font-size:9px}.cd-live-preview-card.is-empty #cdLivePreviewState{background:#f5f6f5;color:#87928b!important;border-color:#e2e7e3}@media(max-width:1180px){.cd-live-preview-card{position:relative;top:auto;margin:0}.cd-live-preview-stage{min-height:180px}}@media(max-width:820px){.cd-stage.is-editor:after{display:none}.cd-stage.is-editor:before{left:12px;top:10px;font-size:8px}.cd-live-preview-card{margin-bottom:14px}}.cd-admin-mapping-note{display:block;margin-top:8px;color:#758178;font-size:10px;line-height:1.45}.cd-control-card input[disabled]{opacity:.68;cursor:not-allowed}.cd-stage.is-editor{overflow:visible}.cd-control-help{display:block;margin-top:5px;color:#7c8981;font-size:9px;line-height:1.45;font-weight:600}.cd-layer.selected:not(.locked) .cd-transform-handle{width:15px;height:15px}.cd-h-nw,.cd-h-ne,.cd-h-se,.cd-h-sw{border-radius:3px}.cd-pill.mask{background:#eef9f1;border-color:#b8dec4;color:#237344;font-weight:900}.cd-print-zone.enforce-mask{outline:2px solid rgba(22,163,74,.86);outline-offset:0;box-shadow:0 0 0 5px rgba(22,163,74,.06)}.cd-print-zone.enforce-mask .cd-artwork-surface{overflow:visible}.cd-print-zone.enforce-mask:before{content:"PRINT AREA";position:absolute;left:50%;top:-24px;transform:translateX(-50%);z-index:20;background:#fff;border:1px solid #b7d9c1;border-radius:999px;padding:4px 9px;color:#276b42;font-size:8px;font-weight:900;letter-spacing:.12em;white-space:nowrap;pointer-events:none}.cd-section-sub{font-size:9px;color:#7b8980;line-height:1.45;margin:-3px 0 8px}.cd-predesign-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cd-predesign-card{border:1px solid #dbe4dd;background:#fff;border-radius:11px;padding:6px;cursor:pointer;text-align:left;color:#30483a;min-width:0}.cd-predesign-card:hover{border-color:#9fbca7;background:#f8fbf9}.cd-predesign-card.active{border-color:#2b7b4c;box-shadow:0 0 0 2px rgba(43,123,76,.08)}.cd-predesign-thumb{display:grid;place-items:center;height:112px;background:#f3f6f4;border-radius:8px;overflow:hidden;margin-bottom:6px;padding:4px}.cd-predesign-thumb img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;margin:auto}.cd-predesign-card strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-mini-empty{grid-column:1/-1;padding:10px;border:1px dashed #d4ded6;border-radius:10px;color:#87948c;font-size:9px;text-align:center}.cd-save-design-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.cd-save-design-row input{width:100%;border:1px solid #d4ded6;border-radius:8px;padding:8px 9px;font-size:10px}.cd-save-design-row .cd-secondary-wide{width:auto;padding:8px 10px}.cd-saved-status{font-size:9px;color:#7c8981;line-height:1.4;margin:7px 0}.cd-saved-status.error{color:#a73535}.cd-saved-status.ok{color:#237344}.cd-saved-list{display:grid;gap:6px;max-height:230px;overflow:auto}.cd-saved-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:7px;align-items:center;border:1px solid #dde5df;border-radius:10px;padding:6px;background:#fff}.cd-saved-card.active{border-color:#77a98a;background:#f7fbf8}.cd-saved-thumb{width:48px;height:38px;border-radius:7px;background:#f1f4f2;overflow:hidden;display:grid;place-items:center}.cd-saved-thumb img{width:100%;height:100%;object-fit:contain}.cd-saved-copy{min-width:0}.cd-saved-copy strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-saved-copy span{display:block;font-size:8px;color:#8b978f;margin-top:2px}.cd-saved-actions{display:grid;gap:3px}.cd-saved-actions button{border:0;background:#f4f7f5;border-radius:6px;color:#52655a;font-size:8px;padding:5px 6px;font-weight:800}.cd-saved-actions button.danger{color:#a73535;background:#fff4f4}.cd-top-actions #cdSaveDesignTop{white-space:nowrap}@media(max-width:1180px){.cd-predesign-list{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-saved-list{max-height:180px}}@media(max-width:820px){.cd-predesign-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-top-actions #cdSaveDesignTop{display:none}}.cd-layer.outside-mask.selected{outline-color:#d97706}.cd-layer.outside-mask.selected:after{content:"KEEP ARTWORK INSIDE PRINT AREA";position:absolute;left:50%;top:-30px;transform:translateX(-50%) rotate(0deg);background:#fff7ed;color:#b45309;border:1px solid #fed7aa;border-radius:999px;padding:3px 7px;font-size:7px;font-weight:900;white-space:nowrap;pointer-events:none;z-index:20}@media(min-width:1181px){.cd-products-panel,.cd-tools-panel{position:sticky;top:74px;height:calc(100vh - 74px);max-height:none;align-self:start;overscroll-behavior:contain}.cd-tools-panel{overflow-y:auto;scrollbar-gutter:stable}}.cd-tools-sticky{position:sticky;top:-18px;z-index:30;margin:-18px -18px 14px;padding:18px 18px 12px;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #e3e9e5;box-shadow:0 8px 20px rgba(24,45,31,.045)}.cd-tools-sticky .cd-panel-head{margin-bottom:10px}.cd-tool-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cd-tool-nav button{min-width:0;border:1px solid #dbe4dd;background:#f7f9f8;color:#637168;border-radius:9px;padding:7px 4px;font-size:8px;font-weight:900;line-height:1.1;display:grid;place-items:center;gap:3px;transition:.15s ease}.cd-tool-nav button span{font-size:13px;line-height:1;color:#5d7164}.cd-tool-nav button:hover{border-color:#b7c9bc;background:#f0f6f2;color:#355443}.cd-tool-nav button.active{background:#eaf6ee;border-color:#98c2a5;color:#176a3e;box-shadow:inset 0 0 0 1px rgba(30,125,74,.06)}.cd-tool-nav button.active span{color:#176a3e}.cd-upload-status{margin-top:9px;border:1px solid #cfded4;border-radius:10px;padding:9px 10px;background:#f8fbf9;box-shadow:0 5px 15px rgba(35,68,48,.05)}.cd-upload-status[hidden]{display:none}.cd-upload-status-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cd-upload-status-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#294536}.cd-upload-status-head span{font-size:10px;font-weight:900;color:#1b7546;font-variant-numeric:tabular-nums}.cd-upload-meta{margin-top:3px;font-size:8px;line-height:1.35;color:#74837a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-upload-track{height:6px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e3ebe6}.cd-upload-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--cd-primary),#20a564);transition:width .12s linear}.cd-upload-status.is-processing .cd-upload-track i{animation:cd-upload-processing 1s ease-in-out infinite alternate}.cd-upload-status.is-complete{border-color:#b9dec4;background:#f2fbf5}.cd-upload-status.is-complete .cd-upload-meta,.cd-upload-status.is-complete .cd-upload-status-head span{color:#237344}.cd-upload-status.is-error{border-color:#efc5c5;background:#fff6f6}.cd-upload-status.is-error .cd-upload-meta,.cd-upload-status.is-error .cd-upload-status-head span{color:#a73535}.cd-upload-status.is-error .cd-upload-track i{background:#c84f4f}@keyframes cd-upload-processing{from{opacity:.58}to{opacity:1}}.cd-upload-btn.is-uploading{opacity:.55;pointer-events:none}.cd-tool-block,.cd-control-card{scroll-margin-top:190px}.cd-tool-section.cd-tool-block{padding:12px;border:1px solid #e1e8e3;border-radius:12px;background:#fff;margin:0 0 12px}#cdObjectControls,#cdLayersCard,#cdProductControls{padding:12px;border:1px solid #e1e8e3;border-radius:12px;background:#fff;margin:0 0 12px}.cd-live-preview-card{position:relative;top:auto;margin:0 0 12px}#cdAddSection .cd-section-label{margin-bottom:9px;color:#65766c}#cdProductControls{margin-bottom:2px}.cd-tools-panel .cd-section-label{font-size:8px}@media(max-width:1180px){.cd-tools-panel{display:block;max-height:none;padding:14px}.cd-tools-sticky{top:0;margin:-14px -14px 14px;padding:14px;z-index:20}.cd-tool-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.cd-tool-nav button{font-size:7px;padding:7px 2px}.cd-tool-block,.cd-control-card{scroll-margin-top:155px}}@media(max-width:820px){.cd-tools-sticky{position:sticky;top:66px}.cd-tool-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-upload-meta{white-space:normal}}:root{--cd-bg:#f4f6f4;--cd-ink:#17231d;--cd-muted:#748078;--cd-line:#e1e7e2;--cd-shadow:0 18px 50px rgba(31,55,40,.10);}.cd-topbar{height:68px;padding:0 18px;box-shadow:none}.cd-back{color:#53635a;font-size:12px}.cd-brand-mark{width:36px;height:36px;border-radius:11px}.cd-brand-copy strong{font-size:14px}.cd-brand-copy small{font-size:9px;margin-top:3px}.cd-btn{border:1px solid var(--cd-line);background:#fff;color:#384a40;border-radius:10px;padding:9px 12px;font-size:10px;box-shadow:none}.cd-btn.ghost{background:#fff}.cd-btn.icon{width:35px;height:35px;background:#fff;font-size:16px}.cd-btn.primary{border-color:transparent}.cd-save-state{font-size:10px;color:#708078}.cd-shell{grid-template-columns:252px minmax(520px,1fr) 336px;min-height:calc(100vh - 68px)}.cd-panel{max-height:calc(100vh - 68px)}.cd-products-panel{padding:18px 14px;position:sticky;top:68px;height:calc(100vh - 68px);align-self:start;overflow:auto;background:#fff}.cd-products-panel .cd-panel-head{margin-bottom:12px}.cd-panel-head h2{font-size:16px}.cd-panel-head p{font-size:10px}.cd-step{width:23px;height:23px;font-size:10px}.cd-product-search{height:38px;margin:12px 0 10px;position:relative;display:block}.cd-product-search span{position:absolute;left:11px;top:6px;font-size:19px;color:#91a097;z-index:1;pointer-events:none}.cd-product-search input{width:100%;height:38px;border:1px solid var(--cd-line);border-radius:10px;padding:0 11px 0 34px;background:#f9fbf9;color:var(--cd-ink);outline:none;font-size:11px}.cd-product-search input:focus{border-color:#9bb9a5;box-shadow:0 0 0 3px rgba(40,91,67,.07);background:#fff}.cd-product-summary{display:flex;justify-content:space-between;align-items:center;margin:0 2px 8px;color:#8a958f;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.cd-product-summary strong{color:#506159;font-size:9px}.cd-product-list{gap:8px}.cd-product-card{width:100%;grid-template-columns:60px minmax(0,1fr) 20px;gap:9px;padding:8px;border-radius:13px;box-shadow:none;position:relative}.cd-product-card:hover{transform:none;border-color:#b9cabe;box-shadow:none}.cd-product-card.active{border:1px solid #75a88a;padding:8px;background:#f7fbf8;box-shadow:0 0 0 2px rgba(40,91,67,.07)}.cd-product-card img{width:60px;height:60px;border-radius:10px;background:linear-gradient(145deg,#f7f9f7,#edf1ee)}.cd-product-card strong{font-size:11px}.cd-product-card span span{font-size:9px;margin-top:3px;color:#87928b;line-height:1.35}.cd-product-card:after{content:"";width:19px;height:19px;border-radius:50%;border:1px solid #cad5cd;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:900}.cd-product-card.active:after{content:"✓";background:var(--cd-primary);border-color:var(--cd-primary)}.cd-help-card{margin-top:12px;padding:11px;border-radius:12px;background:#f8fbf9}.cd-help-card strong{font-size:10px}.cd-help-card span{font-size:9px}.cd-workspace{background:radial-gradient(circle at 50% 12%,#fff 0,#f4f7f4 48%,#e9eeea 100%)}.cd-workspace-bar{min-height:54px;padding:8px 14px}.cd-pill{padding:6px 9px;font-size:9px}.cd-tool-toggle,.cd-zoom-btn,.cd-zoom-label{height:30px;border-radius:8px;font-size:9px}.cd-zoom-btn{width:30px}.cd-zoom-label{min-width:45px}.cd-stage-wrap{width:100%;max-width:none;padding:58px 28px 20px;position:relative;overflow:auto;justify-content:center}.cd-canvas-toolbar{position:absolute;left:50%;top:14px;transform:translateX(-50%);display:flex;gap:4px;background:#fff;padding:5px;border:1px solid var(--cd-line);border-radius:11px;box-shadow:0 10px 28px rgba(24,43,31,.08);z-index:12;white-space:nowrap}.cd-canvas-toolbar button{border:0;background:transparent;border-radius:7px;padding:7px 9px;font-size:9px;font-weight:800;color:#65736b}.cd-canvas-toolbar button:hover,.cd-canvas-toolbar button.active{background:#eff6f1;color:var(--cd-primary)}.cd-stage{width:min(860px,94%);height:min(calc(100vh - 190px),700px);min-height:470px;border-radius:22px;box-shadow:var(--cd-shadow);background:#fff}.cd-stage.is-editor:before{content:"PRINT AREA";position:absolute;left:18px;top:16px;color:#9da7a1;font-size:8px;font-weight:900;letter-spacing:.13em;z-index:10;pointer-events:none}.cd-print-zone{background:#fffdf7;box-shadow:0 3px 12px rgba(38,55,45,.06);outline-color:rgba(67,111,84,.58)}.cd-stage-footer{max-width:860px;padding-top:9px;font-size:9px}.cd-shortcuts{font-size:8px}.cd-tools-panel{padding:0!important;position:sticky!important;top:68px!important;height:calc(100vh - 68px)!important;max-height:none!important;align-self:start;overflow-y:auto!important;background:#fff;scrollbar-gutter:stable;border-left:1px solid var(--cd-line)}.cd-tools-sticky{position:sticky;top:0;z-index:30;margin:0!important;padding:16px 16px 12px!important;background:rgba(255,255,255,.98);border-bottom:1px solid var(--cd-line);box-shadow:none}.cd-tools-sticky .cd-panel-head{margin-bottom:10px}.cd-tools-sticky .cd-panel-head h2{font-size:14px}.cd-tools-sticky .cd-panel-head p{font-size:9px}.cd-tool-nav{display:flex;gap:4px;overflow-x:auto;background:#f3f6f4;border-radius:10px;padding:4px;scrollbar-width:none}.cd-tool-nav::-webkit-scrollbar{display:none}.cd-tool-nav button{display:block;flex:0 0 auto;border:0;background:transparent;border-radius:7px;padding:8px 10px;font-size:8px;color:#748078;box-shadow:none;white-space:nowrap}.cd-tool-nav button span{display:none}.cd-tool-nav button:hover{border:0;background:#eaf0ec;color:#3d5b4a}.cd-tool-nav button.active{background:#fff;border:0;color:var(--cd-primary);box-shadow:0 2px 8px rgba(33,51,40,.07)}.cd-tab-hidden{display:none!important}.cd-tools-panel>.cd-tool-section,.cd-tools-panel>.cd-control-card,.cd-tools-panel>.cd-live-preview-card{margin:14px 14px 0!important;padding:12px!important;border:1px solid var(--cd-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}.cd-tools-panel>.cd-tool-section:last-child,.cd-tools-panel>.cd-control-card:last-child{margin-bottom:14px!important}.cd-section-label{font-size:9px!important;color:#7f8c84!important;margin-bottom:10px!important}.cd-section-sub{font-size:9px}.cd-add-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cd-upload-btn{min-width:0;grid-template-columns:1fr;gap:6px;text-align:center;padding:10px 5px;border-radius:10px}.cd-upload-icon{width:30px;height:30px;border-radius:9px;margin:0 auto}.cd-upload-btn strong{font-size:8px}.cd-upload-btn small{display:none}.cd-control-card{gap:11px}.cd-control-title{font-size:11px}.cd-control-card label{font-size:9px}.cd-control-card input[type=number],.cd-control-card input[type=text],.cd-control-card select{height:34px;padding:0 9px;font-size:10px;background:#fbfcfb}.cd-quick-rotate button,.cd-object-actions button,.cd-secondary-wide{border-color:var(--cd-line);background:#f8faf8;font-size:8px;padding:7px 4px}.cd-object-actions-4{grid-template-columns:repeat(2,1fr)}.cd-live-preview-stage{height:160px;min-height:160px;max-height:160px;border-radius:11px}.cd-live-preview-head strong{font-size:10px}.cd-live-preview-head span{font-size:8px}.cd-live-preview-card .cd-secondary-wide{margin-top:8px}.cd-predesign-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-predesign-thumb{height:112px}.cd-layer-row{border-radius:9px}.cd-system-controls{display:none!important}.cd-upload-status{margin-top:9px}.cd-modal-card{border-radius:18px}@media(max-width:1180px){.cd-shell{grid-template-columns:220px minmax(470px,1fr) 310px}.cd-save-state{display:none}.cd-products-panel{padding:14px 10px}.cd-stage{width:94%}.cd-tools-panel{display:block!important;padding:0!important}.cd-tools-sticky{top:0!important;margin:0!important;padding:14px!important}.cd-tool-nav{display:flex}.cd-tools-panel>.cd-tool-section,.cd-tools-panel>.cd-control-card,.cd-tools-panel>.cd-live-preview-card{margin:12px!important}.cd-add-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:860px){.cd-topbar{grid-template-columns:1fr auto;height:64px}.cd-brand{display:none}.cd-shell{display:block;min-height:0}.cd-products-panel{position:relative;top:auto;height:auto;max-height:none;border-right:0;border-bottom:1px solid var(--cd-line);padding:14px}.cd-product-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}.cd-help-card{display:none}.cd-workspace{min-height:66vh}.cd-stage-wrap{padding:56px 12px 18px}.cd-stage{width:94%;min-width:560px;height:520px}.cd-tools-panel{position:relative!important;top:auto!important;height:auto!important;max-height:none!important;border-left:0;border-top:1px solid var(--cd-line);overflow:visible!important}.cd-tools-sticky{position:sticky;top:64px!important}.cd-top-actions .cd-btn.ghost{display:none}.cd-canvas-toolbar{top:12px}.cd-stage-footer{min-width:560px}.cd-shortcuts{display:none}}@media(max-width:620px){.cd-product-list{grid-template-columns:1fr}.cd-product-card{grid-template-columns:54px minmax(0,1fr) 20px}.cd-product-card img{width:54px;height:54px}.cd-workspace-bar{align-items:flex-start;flex-direction:column}.cd-stage-wrap{padding-top:58px}.cd-tools-sticky{top:64px!important}.cd-top-actions .cd-btn.icon{display:none}}.cd-canvas-toolbar button:disabled{opacity:.38;cursor:not-allowed;background:transparent;color:#8d9891}.cd-shell{grid-template-columns:232px minmax(760px,1fr) 420px}.cd-workspace{min-width:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}.cd-workspace-split{min-height:0;display:grid;grid-template-columns:minmax(500px,1fr) 330px;gap:12px;padding:12px;height:calc(100vh - 122px)}.cd-editor-pane{min-width:0;min-height:0;display:flex;flex-direction:column}.cd-editor-pane .cd-stage-wrap{flex:1;min-height:0;padding:52px 8px 10px;justify-content:flex-start;overflow:auto}.cd-editor-pane .cd-stage{width:100%;height:100%;min-height:520px;max-height:none;border-radius:18px}.cd-editor-pane .cd-stage-footer{max-width:none;width:100%;padding:9px 4px 0}.cd-editor-pane .cd-canvas-toolbar{top:10px}.cd-live-preview-persistent{position:relative!important;top:auto!important;margin:0!important;padding:13px!important;min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-self:stretch;border:1px solid var(--cd-line);border-radius:16px;background:linear-gradient(180deg,#fff,#f5f8f6);box-shadow:none}.cd-live-preview-persistent .cd-live-preview-stage{height:auto!important;min-height:300px!important;max-height:none!important;border-radius:13px}.cd-live-preview-persistent .cd-live-preview-stage canvas{max-width:100%;max-height:100%;width:auto;height:auto}.cd-live-preview-persistent .cd-secondary-wide{min-height:44px;margin-top:10px!important;background:var(--cd-primary);color:#fff;font-size:10px!important;border:0}.cd-live-preview-persistent .cd-secondary-wide:disabled{opacity:.42}.cd-btn.preview-cta{min-height:40px;padding:0 17px;font-size:11px;box-shadow:0 9px 22px rgba(30,91,65,.18);white-space:nowrap}.cd-tools-panel{width:auto!important}.cd-tool-nav{flex-wrap:wrap}.cd-tool-nav button{flex:1 1 calc(33.333% - 4px);text-align:center}.cd-tools-panel>.cd-tool-section,.cd-tools-panel>.cd-control-card{margin-left:16px!important;margin-right:16px!important}.cd-add-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-control-card input[type=range]{width:100%}@media(max-width:1500px){.cd-shell{grid-template-columns:218px minmax(690px,1fr) 380px}.cd-workspace-split{grid-template-columns:minmax(450px,1fr) 300px;gap:10px;padding:10px}}@media(max-width:1240px){.cd-shell{grid-template-columns:205px minmax(560px,1fr) 340px}.cd-workspace-split{grid-template-columns:minmax(390px,1fr) 270px}.cd-live-preview-persistent .cd-live-preview-head>div span{display:none}.cd-editor-pane .cd-stage{min-height:470px}}@media(max-width:1020px){.cd-shell{display:block}.cd-products-panel,.cd-tools-panel{position:relative!important;top:auto!important;height:auto!important;max-height:none!important}.cd-products-panel{border-right:0;border-bottom:1px solid var(--cd-line)}.cd-workspace-split{height:auto;grid-template-columns:minmax(0,1fr) 300px;min-height:650px}.cd-editor-pane .cd-stage{min-height:560px}.cd-tools-panel{border-left:0;border-top:1px solid var(--cd-line)}}@media(max-width:760px){.cd-workspace-split{display:flex;flex-direction:column;height:auto;min-height:0;padding:8px}.cd-editor-pane .cd-stage-wrap{padding:52px 0 8px}.cd-editor-pane .cd-stage{min-height:460px;height:60vh}.cd-live-preview-persistent{height:auto;min-height:390px}.cd-live-preview-persistent .cd-live-preview-stage{min-height:280px!important}.cd-btn.preview-cta{padding:0 12px;font-size:10px}}.cd-workspace-actions{gap:6px;align-items:center;flex-wrap:wrap}.cd-workspace-bar .cd-tool-toggle,.cd-workspace-bar .cd-zoom-btn,.cd-workspace-bar .cd-zoom-label{height:36px;border-radius:10px;font-size:10.5px;font-weight:800;}.cd-workspace-bar .cd-tool-toggle{padding:0 11px;letter-spacing:.01em}.cd-workspace-bar .cd-zoom-btn{width:36px;font-size:17px}.cd-workspace-bar .cd-zoom-label{min-width:54px;padding:0 10px}.cd-workspace-bar .cd-tool-toggle:hover,.cd-workspace-bar .cd-zoom-btn:hover,.cd-workspace-bar .cd-zoom-label:hover{border-color:#b8c7bd;background:#f8fbf9;color:#314a3d}.cd-workspace-bar .cd-tool-toggle.active{background:#eaf7ef;border-color:#9fcab0;color:#116d40;box-shadow:inset 0 0 0 1px rgba(17,109,64,.04)}.cd-editor-pane .cd-stage-wrap{padding-top:64px}.cd-canvas-toolbar{top:12px!important;gap:5px;padding:6px;border-radius:13px;box-shadow:0 10px 28px rgba(24,43,31,.10);}.cd-canvas-toolbar button{min-height:40px;padding:0 12px;border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;line-height:1;font-weight:850;color:#56665d;transition:.16s ease;}.cd-canvas-toolbar button:hover{background:#f6faf7;border-color:#d5e0d8;color:#244d37}.cd-canvas-toolbar button.active{background:#eaf7ef;border-color:#acd4bb;color:#0f6d3f;box-shadow:0 2px 8px rgba(25,99,59,.08)}.cd-canvas-toolbar button.active::before{background:#d9f0e2;color:#0f6d3f}#cdCanvasDuplicate{margin-left:3px;border-left-color:#e4eae6}#cdCanvasDelete{color:#a6423b}#cdCanvasDelete:hover{background:#fff5f4;border-color:#f0cbc7;color:#9f332d}.cd-canvas-toolbar button:disabled{opacity:.40;cursor:not-allowed;background:transparent!important;border-color:transparent!important;color:#8d9891!important}.cd-canvas-toolbar button:disabled::before{background:#f3f5f4!important;color:#9ca69f!important}.cd-tool-nav{gap:6px;padding:5px;border-radius:12px}.cd-tool-nav button{min-height:42px;flex:1 1 calc(33.333% - 6px);padding:7px 9px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:850;line-height:1;}.cd-tool-nav button span{display:inline-grid!important;place-items:center;font-size:15px;line-height:1;color:#65776b}.cd-tool-nav button.active span{color:var(--cd-primary)}.cd-add-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cd-upload-btn{min-height:88px;padding:11px 7px!important;gap:7px!important;border-radius:12px!important}.cd-upload-icon{width:36px!important;height:36px!important;border-radius:10px!important;font-size:16px!important}.cd-upload-btn strong{font-size:10px!important}.cd-upload-btn small{display:block!important;font-size:7.5px!important;line-height:1.25;color:#89958e;margin-top:2px}.cd-btn.preview-cta{min-height:42px;padding:0 18px;font-size:11.5px;border-radius:11px}@media(max-width:1240px){.cd-canvas-toolbar button{padding:0 9px;font-size:10px;gap:5px}.cd-tool-nav button{font-size:9.5px}}@media(max-width:760px){.cd-canvas-toolbar{max-width:calc(100vw - 24px);overflow-x:auto;justify-content:flex-start;left:12px;right:12px;transform:none}.cd-canvas-toolbar button{min-height:38px;flex:0 0 auto}.cd-workspace-bar .cd-tool-toggle,.cd-workspace-bar .cd-zoom-btn,.cd-workspace-bar .cd-zoom-label{height:34px}.cd-add-tools{grid-template-columns:1fr 1fr}}.cd-category-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;margin:-1px 0 10px;color:#6f7e75;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}.cd-category-filter select{min-width:0;width:100%;height:36px;border:1px solid var(--cd-line);border-radius:10px;background:#fff;color:var(--cd-ink);padding:0 28px 0 10px;outline:none;font-size:10.5px;font-weight:700;text-transform:none;letter-spacing:0}.cd-category-filter select:focus{border-color:#9bb9a5;box-shadow:0 0 0 3px rgba(40,91,67,.07)}.cd-category-chip{display:inline-flex!important;width:max-content;max-width:100%;margin-top:5px;padding:3px 7px;border-radius:999px;background:#edf6f0;color:#3e6b53!important;font-size:8px!important;font-weight:850;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-layer-row{grid-template-columns:28px 44px minmax(0,1fr) 28px 28px!important;gap:5px!important;padding:6px!important}.cd-layer-thumb{width:44px!important;height:42px!important;padding:3px!important;overflow:hidden!important;border:1px solid #dfe7e2!important;background:#f4f7f5!important;display:grid!important;place-items:center!important}.cd-layer-thumb img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;margin:auto}.cd-layer-thumb-text{display:grid;place-items:center;width:100%;height:100%;font-weight:900;font-size:14px;color:#53665c;background:linear-gradient(145deg,#f7faf8,#e8efeb)}.cd-layer-row.active .cd-layer-thumb{border-color:#7db595!important;box-shadow:0 0 0 2px rgba(12,154,104,.09)}.cd-predesign-thumb{position:relative!important;padding:0!important;background:#f3f6f4!important}.cd-fit-thumb-canvas{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;background:#f3f6f4}.cd-layer-thumb .cd-fit-thumb-canvas{width:100%!important;height:100%!important;background:#f4f7f5}.cd-thumb-view{position:absolute;right:5px;bottom:5px;z-index:2;border-radius:999px;background:rgba(18,55,41,.86);color:#fff;padding:4px 7px;font-size:7.5px;font-weight:900;letter-spacing:.02em;line-height:1;box-shadow:0 2px 7px rgba(0,0,0,.16);opacity:.86}.cd-predesign-thumb:hover .cd-thumb-view{opacity:1}.cd-layer-thumb{cursor:zoom-in!important}.cd-artwork-modal-card{width:min(920px,94vw)!important;max-height:94vh!important;grid-template-rows:auto minmax(0,1fr)!important}.cd-artwork-preview-body{min-height:260px;max-height:82vh;padding:18px;background:#eef3f0;display:grid;place-items:center;overflow:auto}.cd-artwork-preview-body img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;object-position:center;background:#fff;box-shadow:0 10px 34px rgba(0,0,0,.13)}.cd-mobile-product-picker,.cd-mobile-dock,.cd-mobile-sheet-head,.cd-mobile-backdrop{display:none}@media(max-width:760px){html,body{height:100%;overflow:hidden;overscroll-behavior:none}body{padding-bottom:0!important}.cd-topbar{position:fixed!important;left:0;right:0;top:0;z-index:90;height:58px!important;padding:0 8px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:6px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px);border-bottom:1px solid var(--cd-line)}.cd-back{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:0!important;color:#44584d!important}.cd-back::before{content:"←";font-size:20px;line-height:1}.cd-brand{display:none!important}.cd-mobile-product-picker{display:flex;min-width:0;height:42px;border:1px solid var(--cd-line);border-radius:11px;background:#fff;padding:0 10px;align-items:center;gap:7px;text-align:left;color:var(--cd-ink);box-shadow:0 3px 12px rgba(24,43,31,.05)}.cd-mobile-product-picker>span{min-width:0;flex:1}.cd-mobile-product-picker strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-mobile-product-picker small{display:block;color:var(--cd-muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.cd-mobile-product-picker i{font-style:normal;color:#718078;font-size:14px}.cd-top-actions{display:flex!important;gap:5px!important;align-items:center!important;justify-content:flex-end!important}.cd-top-actions .cd-save-state,.cd-top-actions #cdUndo,.cd-top-actions #cdRedo,.cd-top-actions #cdReset{display:none!important}.cd-top-actions #cdSaveDesignTop{display:inline-flex!important;min-height:38px!important;height:38px!important;padding:0 11px!important;border-radius:10px!important;background:#fff!important;color:var(--cd-primary)!important;border:1px solid var(--cd-line)!important;font-size:10px!important;font-weight:900!important;align-items:center}.cd-top-actions #cdPreview{display:inline-flex!important;min-height:38px!important;height:38px!important;padding:0 12px!important;border-radius:10px!important;font-size:10px!important;font-weight:900!important;align-items:center}.cd-shell{display:block!important;min-height:0!important;height:calc(100dvh - 58px - 66px)!important;margin-top:58px!important;overflow:hidden!important}.cd-workspace{height:100%!important;min-height:0!important;overflow:hidden!important;display:block!important;background:linear-gradient(180deg,#f7faf8,#e9efeb)!important}.cd-workspace-bar{display:none!important}.cd-workspace-split{height:100%!important;min-height:0!important;display:block!important;padding:8px!important;overflow:hidden!important}.cd-editor-pane{height:100%!important;min-height:0!important;display:block!important;overflow:hidden!important}.cd-editor-pane .cd-stage-wrap{height:100%!important;min-height:0!important;width:100%!important;padding:8px 6px 70px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}.cd-editor-pane .cd-stage{width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;max-height:100%!important;min-height:0!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(24,43,31,.10)!important;transform-origin:center center!important}.cd-stage-footer{display:none!important}.cd-live-preview-persistent{display:none!important}.cd-canvas-toolbar{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:72px!important;z-index:52!important;transform:none!important;max-width:none!important;overflow-x:auto!important;justify-content:flex-start!important;gap:3px!important;padding:5px!important;border-radius:13px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px)!important;box-shadow:0 8px 24px rgba(18,45,34,.13)!important}.cd-canvas-toolbar button{min-height:40px!important;height:40px!important;min-width:62px!important;padding:0 8px!important;font-size:9px!important;flex:1 0 auto!important}body.cd-mobile-tools-open .cd-canvas-toolbar,body.cd-mobile-products-open .cd-canvas-toolbar{display:none!important}.cd-transform-handle{width:28px!important;height:28px!important;border-width:3px!important;border-radius:7px!important}.cd-h-nw{left:-15px!important;top:-15px!important}.cd-h-n{top:-15px!important}.cd-h-ne{right:-15px!important;top:-15px!important}.cd-h-e{right:-15px!important}.cd-h-se{right:-15px!important;bottom:-15px!important}.cd-h-s{bottom:-15px!important}.cd-h-sw{left:-15px!important;bottom:-15px!important}.cd-h-w{left:-15px!important}.cd-rotate-corner{width:30px!important;height:30px!important;border-width:4px!important}.cd-r-nw{left:-17px!important;top:-17px!important}.cd-r-ne{right:-17px!important;top:-17px!important}.cd-r-se{right:-17px!important;bottom:-17px!important}.cd-r-sw{left:-17px!important;bottom:-17px!important}.cd-mobile-dock{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:70;height:66px;padding:4px 6px calc(4px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);gap:2px;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);border-top:1px solid var(--cd-line);box-shadow:0 -8px 24px rgba(18,45,34,.05)}.cd-mobile-dock button{border:0;background:transparent;border-radius:12px;color:#58685f;font-size:9px;font-weight:900;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}.cd-mobile-dock button span{font-size:18px;line-height:1}.cd-mobile-dock button.active{background:#eaf6ef;color:var(--cd-primary)}.cd-mobile-backdrop{display:block;position:fixed;inset:58px 0 66px;background:rgba(13,29,22,.34);z-index:74;backdrop-filter:blur(1px)}.cd-mobile-backdrop[hidden]{display:none!important}.cd-mobile-sheet-head{display:flex!important;align-items:center;gap:12px;padding:5px 0 11px;border-bottom:1px solid var(--cd-line);margin-bottom:10px}.cd-mobile-sheet-head>div{flex:1;min-width:0}.cd-mobile-sheet-head strong{display:block;font-size:13px}.cd-mobile-sheet-head span{display:block;font-size:9px;color:var(--cd-muted);margin-top:2px}.cd-mobile-sheet-head button{width:34px;height:34px;border:0;border-radius:10px;background:#f2f6f3;color:#40544a;font-size:20px;line-height:1}.cd-products-panel{display:block!important;position:fixed!important;left:0!important;right:0!important;top:58px!important;bottom:66px!important;width:auto!important;height:auto!important;max-height:none!important;z-index:80!important;padding:12px!important;border:0!important;border-radius:22px 22px 0 0!important;background:#fff!important;overflow:auto!important;transform:translateY(108%)!important;transition:transform .24s ease!important;box-shadow:0 -18px 50px rgba(15,40,29,.20)!important}body.cd-mobile-products-open .cd-products-panel{transform:translateY(0)!important}.cd-products-panel>.cd-panel-head{display:none!important}.cd-products-panel .cd-help-card{display:none!important}.cd-product-search{margin-top:0!important}.cd-category-filter{margin-bottom:9px!important}.cd-product-summary{margin-bottom:8px!important}.cd-product-list{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;max-height:none!important;overflow:visible!important}.cd-product-card{min-width:0!important;width:100%!important;grid-template-columns:58px minmax(0,1fr) 20px!important}.cd-product-card img{width:58px!important;height:58px!important;object-fit:contain!important}.cd-tools-panel{display:block!important;position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:66px!important;width:auto!important;height:58dvh!important;max-height:620px!important;z-index:82!important;padding:0 12px 12px!important;border:0!important;border-radius:22px 22px 0 0!important;background:#fff!important;overflow-y:auto!important;transform:translateY(112%)!important;transition:transform .24s ease!important;box-shadow:0 -20px 56px rgba(15,40,29,.23)!important;scrollbar-gutter:auto!important}.cd-tools-panel.cd-mobile-sheet-large{height:76dvh!important;max-height:none!important}body.cd-mobile-tools-open .cd-tools-panel{transform:translateY(0)!important}.cd-tools-sticky{position:sticky!important;top:0!important;z-index:4!important;margin:0 -12px 10px!important;padding:8px 12px 9px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid var(--cd-line)!important}.cd-tools-sticky>.cd-panel-head{display:none!important}.cd-mobile-tools-head{margin-bottom:7px!important;padding-bottom:7px!important}.cd-tool-nav{display:flex!important;gap:4px!important;overflow-x:auto!important;padding:4px!important;background:#f3f6f4!important;border-radius:10px!important}.cd-tool-nav button{min-height:36px!important;flex:0 0 auto!important;padding:0 11px!important;font-size:9px!important}.cd-tool-nav button span{display:none!important}.cd-tools-panel>.cd-tool-section,.cd-tools-panel>.cd-control-card,.cd-tools-panel>.cd-live-preview-card{margin:8px 0 0!important;padding:12px!important;border-radius:13px!important}.cd-tools-panel>.cd-tool-section:last-child,.cd-tools-panel>.cd-control-card:last-child{margin-bottom:4px!important}.cd-add-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cd-upload-btn{min-height:88px!important}.cd-predesign-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.cd-predesign-thumb{height:150px!important}.cd-layer-list{max-height:none!important}.cd-layer-row{grid-template-columns:30px 52px minmax(0,1fr) 32px 32px!important;min-height:62px!important}.cd-layer-thumb{width:52px!important;height:50px!important}.cd-control-card input[type=range]{min-height:32px}.cd-object-actions button,.cd-quick-rotate button,.cd-secondary-wide{min-height:38px!important;font-size:9px!important}.cd-control-card input[type=number],.cd-control-card input[type=text],.cd-control-card select{height:42px!important;font-size:12px!important}.cd-modal{padding:0!important;align-items:stretch!important;background:rgba(9,21,16,.82)!important}.cd-modal-card{width:100%!important;height:100dvh!important;max-height:none!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto!important}.cd-modal-head{padding:13px 14px!important}.cd-modal-head strong{font-size:13px!important}.cd-modal-head span{font-size:9px!important}.cd-preview-body{display:grid!important;place-items:center!important;padding:10px!important;overflow:auto!important}.cd-preview-body canvas{max-width:100%!important;max-height:calc(100dvh - 150px)!important}.cd-preview-actions{padding:10px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.cd-preview-actions .cd-btn{min-height:42px!important;width:100%!important}.cd-artwork-modal-card{width:100%!important;height:100dvh!important;max-height:none!important}.cd-artwork-preview-body{max-height:none!important;min-height:0!important;padding:10px!important}.cd-artwork-preview-body img{max-height:calc(100dvh - 76px)!important;max-width:100%!important}}@media(max-width:760px){:root{--cd-mobile-header-h:58px;--cd-mobile-dock-h:calc(66px + env(safe-area-inset-bottom,0px));}html,body{width:100%;max-width:100%;height:var(--cd-mobile-vh,100dvh)!important;min-height:var(--cd-mobile-vh,100dvh)!important;overflow:hidden!important;-webkit-text-size-adjust:100%;}body{position:relative!important;touch-action:manipulation;}.cd-topbar{padding-top:env(safe-area-inset-top,0px)!important;height:calc(var(--cd-mobile-header-h) + env(safe-area-inset-top,0px))!important;}.cd-shell{margin-top:calc(var(--cd-mobile-header-h) + env(safe-area-inset-top,0px))!important;height:calc(var(--cd-mobile-vh,100dvh) - var(--cd-mobile-header-h) - var(--cd-mobile-dock-h) - env(safe-area-inset-top,0px))!important;}.cd-workspace-split{padding:6px!important;}.cd-editor-pane .cd-stage-wrap{padding:6px 4px 62px!important;}.cd-editor-pane .cd-stage{touch-action:none!important;overscroll-behavior:none!important;}.cd-products-panel input,.cd-products-panel select,.cd-tools-panel input,.cd-tools-panel select,.cd-tools-panel textarea{font-size:16px!important;}.cd-products-panel{top:calc(var(--cd-mobile-header-h) + env(safe-area-inset-top,0px))!important;bottom:0!important;height:auto!important;border-radius:0!important;padding:12px 12px max(18px,env(safe-area-inset-bottom,0px))!important;transform:translateX(104%)!important;transition:transform .22s ease!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;box-shadow:-18px 0 50px rgba(15,40,29,.16)!important;}body.cd-mobile-products-open .cd-products-panel{transform:translateX(0)!important;}body.cd-mobile-products-open .cd-mobile-dock,body.cd-mobile-products-open .cd-canvas-toolbar{display:none!important;}body.cd-mobile-products-open .cd-mobile-backdrop{display:none!important;}.cd-products-panel .cd-mobile-sheet-head{position:sticky!important;top:-12px!important;z-index:6!important;margin:0 -12px 10px!important;padding:10px 12px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(12px)!important;}.cd-product-search{position:relative!important;z-index:2!important;}.cd-product-search input{height:46px!important;}.cd-category-filter select{height:44px!important;}.cd-product-card{min-height:76px!important;border-radius:14px!important;padding:8px!important;}.cd-product-card img{width:60px!important;height:60px!important;border-radius:10px!important;}.cd-tools-panel{bottom:var(--cd-mobile-dock-h)!important;height:min(62vh,calc(var(--cd-mobile-vh,100dvh) - 118px - env(safe-area-inset-top,0px)))!important;max-height:none!important;padding-bottom:12px!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;}.cd-tools-panel.cd-mobile-sheet-large{height:min(80vh,calc(var(--cd-mobile-vh,100dvh) - 76px - env(safe-area-inset-top,0px)))!important;}.cd-mobile-backdrop{inset:calc(var(--cd-mobile-header-h) + env(safe-area-inset-top,0px)) 0 var(--cd-mobile-dock-h)!important;}.cd-mobile-dock{height:var(--cd-mobile-dock-h)!important;padding-bottom:max(4px,env(safe-area-inset-bottom,0px))!important;}.cd-canvas-toolbar{bottom:calc(var(--cd-mobile-dock-h) + 6px)!important;}body.cd-mobile-keyboard-open .cd-mobile-dock,body.cd-mobile-keyboard-open .cd-canvas-toolbar{display:none!important;}body.cd-mobile-keyboard-open .cd-tools-panel{bottom:0!important;height:min(62vh,calc(var(--cd-mobile-vh,100dvh) - 66px))!important;}body.cd-mobile-keyboard-open .cd-tools-panel.cd-mobile-sheet-large{height:min(82vh,calc(var(--cd-mobile-vh,100dvh) - 58px))!important;}body.cd-mobile-keyboard-open .cd-products-panel{bottom:0!important;}.cd-modal-card,.cd-artwork-modal-card{height:var(--cd-mobile-vh,100dvh)!important;min-height:0!important;}.cd-preview-body canvas{max-height:calc(var(--cd-mobile-vh,100dvh) - 150px)!important;}.cd-artwork-preview-body img{max-height:calc(var(--cd-mobile-vh,100dvh) - 76px)!important;}}.cd-tutorial-btn{white-space:nowrap}.cd-tour-overlay{position:fixed;inset:0;z-index:14990;background:rgba(12,25,20,.60)}.cd-tour-highlight{position:relative!important;z-index:14992!important;outline:4px solid #fff!important;box-shadow:0 0 0 7px rgba(79,171,118,.82),0 18px 50px rgba(0,0,0,.28)!important;border-radius:12px!important}.cd-tour-card{position:fixed;right:18px;bottom:18px;z-index:14993;width:min(380px,calc(100vw - 28px));background:#fff;color:#193126;border-radius:16px;padding:16px;box-shadow:0 20px 70px rgba(0,0,0,.30)}.cd-tour-card b{display:block;font-size:15px;margin-bottom:6px}.cd-tour-card p{margin:0;color:#617068;font-size:12px;line-height:1.5}.cd-tour-progress{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#6d8176;margin-bottom:7px}.cd-tour-actions{display:flex;gap:7px;align-items:center;margin-top:14px}.cd-tour-actions button{border:1px solid #d7e0da;background:#fff;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:850}.cd-tour-actions .primary{margin-left:auto;background:#1f6449;border-color:#1f6449;color:#fff}@media(max-width:760px){.cd-tutorial-btn{width:38px!important;min-width:38px!important;padding:0!important;font-size:0!important}.cd-tutorial-btn:before{content:'?';font-size:15px}.cd-tour-card{left:14px;right:14px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto}.cd-tour-highlight{z-index:14992!important}}.cd-stage.cd-horizontal-editor .cd-print-zone{transform:rotate(90deg);}.cd-stage.cd-horizontal-editor .cd-artwork-surface{transform:rotate(-90deg);}.cd-replace-file-input{position:fixed;left:-10000px;top:-10000px;width:1px;height:1px;opacity:0;pointer-events:none}.cd-library-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.cd-library-mini-btn{border:1px solid #d8e2da;background:#f7faf8;color:#486052;border-radius:8px;padding:5px 8px;font-size:8px;font-weight:900;cursor:pointer}.cd-library-status{font-size:8.5px;color:#7c8981;line-height:1.35;margin:-2px 0 8px}.cd-library-status.ok{color:#237344}.cd-library-status.error{color:#a73535}.cd-asset-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:300px;overflow:auto}.cd-asset-card{border:1px solid #dfe7e1;border-radius:8px;background:#fff;overflow:hidden;min-width:0}.cd-asset-thumb{height:82px;background:#f7f9f8;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid #e5ebe6;cursor:pointer}.cd-asset-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.cd-asset-card-body{padding:5px}.cd-asset-card-body strong{font-size:8px}.cd-asset-card-body span,.cd-asset-card-body small{font-size:7px;margin-top:1px}.cd-asset-actions{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:5px}.cd-asset-actions button,.cd-asset-download{border:1px solid #d9e3db;border-radius:6px;background:#f7faf8;color:#456052;font-size:6.8px;font-weight:900;padding:4px 3px;text-align:center;text-decoration:none;cursor:pointer;min-width:0}.cd-asset-actions button.danger{color:#a73535;background:#fff6f6}.cd-asset-actions button.replace-selected{grid-column:1/-1;color:#2b6b4c;background:#eef8f1;border-color:#bcdcc7}.cd-asset-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1180px){.cd-asset-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:260px}}@media(max-width:620px){.cd-asset-library-grid{grid-template-columns:1fr 1fr;max-height:330px}.cd-asset-actions{grid-template-columns:1fr 1fr}.cd-asset-actions button,.cd-asset-download{min-height:34px;font-size:8px}}.cd-upload-btn strong{font-size:11px!important}.cd-upload-btn small{font-size:9.5px!important;line-height:1.35!important;color:#64776b!important}.cd-predesign-card strong{font-size:11px;line-height:1.35}.cd-product-card span span{font-size:10px;line-height:1.4}.cd-library-mini-btn{font-size:10px;min-height:30px}.cd-library-status{font-size:10px;line-height:1.45}.cd-asset-card-body strong{font-size:10px}.cd-asset-card-body span,.cd-asset-card-body small{font-size:9px}.cd-asset-actions button,.cd-asset-download{font-size:9px;min-height:30px}@media(max-width:760px){.cd-upload-btn{min-height:100px!important}.cd-tool-nav button,.cd-mobile-dock button{font-size:10px!important}.cd-mobile-product-picker small{font-size:10px}}body.cd-library-open{overflow:hidden!important}.cd-library-launchers{display:grid;grid-template-columns:1fr;gap:8px;padding:14px 16px;border-bottom:1px solid var(--cd-line)}.cd-library-launchers button{border:1px solid #bdd5c5;border-radius:9px;padding:11px 12px;background:#edf6ef;color:#24533b;font-size:13px;font-weight:700;text-align:left;cursor:pointer}.cd-library-modal{z-index:95;padding:20px}#cdLibraryModal .cd-library-card{width:min(1220px,94vw);height:min(820px,92vh);height:min(820px,92dvh);max-height:92dvh;display:flex;flex-direction:column;min-height:0}#cdLibraryModal .cd-modal-head strong{font-size:20px}#cdLibraryModal .cd-modal-head span{font-size:12px}.cd-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--cd-line);flex-wrap:wrap}.cd-library-tabs{display:flex;gap:6px;flex-wrap:wrap}.cd-library-tabs button{border:1px solid #d7e4da;background:#f4f8f4;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:700;color:#355641;cursor:pointer}.cd-library-tabs button[aria-pressed=true]{background:#23643e;color:#fff;border-color:#23643e}.cd-library-toolbar label{font-size:12px;color:#526a5b;display:flex;gap:9px;align-items:center}.cd-library-toolbar input{border:1px solid #d4dfd7;border-radius:8px;padding:10px;font-size:14px;max-width:100%;min-width:0}.cd-library-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px}#cdLibraryContent>section{margin:0!important;padding:0!important;border:0!important;background:#fff!important}#cdLibraryContent>section[hidden],#cdLibraryContent [hidden]{display:none!important}#cdLibraryContent .cd-section-label{font-size:15px}#cdLibraryContent .cd-section-sub,#cdLibraryContent .cd-library-status,#cdLibraryContent .cd-saved-status{font-size:12px;line-height:1.5;margin:9px 0 16px}#cdLibraryContent .cd-predesign-list,#cdLibraryContent .cd-asset-library-grid,#cdLibraryContent .cd-saved-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;max-height:none!important;overflow:visible!important}#cdLibraryContent .cd-predesign-thumb,#cdLibraryContent .cd-asset-thumb{height:200px!important;padding:10px!important;overflow:hidden;background:#f1f5f1!important}#cdLibraryContent .cd-predesign-thumb img,#cdLibraryContent .cd-asset-thumb img{object-fit:contain!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%}#cdLibraryContent .cd-predesign-card{padding:10px;border-radius:12px}#cdLibraryContent .cd-predesign-card strong,#cdLibraryContent .cd-asset-card-body strong{font-size:13px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}#cdLibraryContent .cd-thumb-view{opacity:1!important;font-size:12px;min-height:30px}#cdLibraryContent .cd-asset-card-body{padding:12px}#cdLibraryContent .cd-asset-card-body span,#cdLibraryContent .cd-asset-card-body small{font-size:11px;display:block}#cdLibraryContent .cd-asset-actions{gap:6px}#cdLibraryContent .cd-asset-actions button,#cdLibraryContent .cd-asset-download{font-size:12px;min-height:38px;padding:8px}#cdLibraryContent .cd-saved-card{display:flex;flex-direction:column;align-items:stretch;padding:12px;gap:12px}#cdLibraryContent .cd-saved-thumb{width:100%;height:180px}#cdLibraryContent .cd-saved-copy strong{font-size:14px;white-space:normal}#cdLibraryContent .cd-saved-copy span{font-size:12px}#cdLibraryContent .cd-saved-actions{grid-template-columns:1fr 1fr}#cdLibraryContent .cd-saved-actions button{font-size:13px;padding:10px}#cdLibraryContent .cd-save-design-row{max-width:580px;margin-bottom:16px}#cdLibraryContent .cd-save-design-row input{font-size:14px;padding:12px}#cdLibraryContent .cd-secondary-wide{font-size:13px;min-height:40px}#cdLibraryContent .cd-mini-empty{font-size:14px;grid-column:1/-1;padding:30px}#cdLibraryContent .cd-library-mini-btn{font-size:12px;padding:8px 12px}.cd-library-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--cd-line);flex-shrink:0}.cd-library-footer span{font-size:12px;color:#607668}.cd-library-footer button{font-size:13px;min-height:40px}#cdUploadReplacement{font-size:12px;min-height:38px;margin:8px 0}@media(min-width:761px){.cd-shell{grid-template-columns:200px minmax(0,1fr) 300px!important;min-width:0}.cd-workspace{min-width:0}.cd-workspace-split{grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-width:0}.cd-editor-pane .cd-stage{min-width:0!important;min-height:400px;height:55vh}.cd-stage-footer{min-width:0!important}.cd-live-preview-persistent{min-height:280px;height:auto!important}.cd-live-preview-persistent .cd-live-preview-stage{min-height:210px!important}.cd-tools-panel{display:block!important;position:sticky!important;top:68px!important;height:calc(100dvh - 68px)!important;overflow-y:auto!important;min-width:0}.cd-tool-nav button{min-height:38px;font-size:12px!important}.cd-topbar{height:auto!important;min-height:68px;flex-wrap:wrap}.cd-top-actions{flex-wrap:wrap}}@media(min-width:1550px){.cd-workspace-split{grid-template-columns:minmax(0,1fr) 300px!important}.cd-shell{grid-template-columns:220px minmax(0,1fr) 330px!important}}@media(min-width:761px) and (max-width:1100px){.cd-shell{grid-template-columns:minmax(0,1fr) 290px!important}.cd-products-panel{grid-column:1/-1;position:relative!important;top:auto!important;height:auto!important;max-height:220px;overflow:auto}.cd-product-list{display:flex!important;overflow:auto!important;max-height:130px}.cd-product-card{flex:0 0 210px}.cd-help-card{display:none}.cd-tools-panel{grid-column:auto!important}}@media(max-width:1050px){#cdLibraryContent .cd-predesign-list,#cdLibraryContent .cd-asset-library-grid,#cdLibraryContent .cd-saved-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){#cdLibraryModal .cd-library-card{width:100vw!important;height:var(--cd-mobile-vh,100dvh)!important;max-height:var(--cd-mobile-vh,100dvh)!important;border-radius:0;display:flex!important}.cd-library-toolbar{padding:12px;gap:10px}.cd-library-toolbar label{width:100%}.cd-library-toolbar input{flex:1;width:100%}.cd-library-tabs{width:100%}.cd-library-tabs button{flex:1;padding:10px 8px;font-size:12px}.cd-library-content{padding:12px}#cdLibraryContent .cd-predesign-list,#cdLibraryContent .cd-asset-library-grid,#cdLibraryContent .cd-saved-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}#cdLibraryContent .cd-predesign-thumb,#cdLibraryContent .cd-asset-thumb{height:155px!important}.cd-library-footer{padding:12px}.cd-library-footer span{font-size:11px;flex:1}.cd-library-footer button{flex-shrink:0}.cd-library-launchers{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 0}.cd-library-launchers button{font-size:11px;padding:10px 6px;text-align:center}}.cd-library-upload-actions{display:flex;gap:8px;padding:12px 20px;border-bottom:1px solid var(--cd-line)}.cd-library-upload-actions[hidden]{display:none!important}.cd-library-upload-actions button{font-size:13px}@media(min-width:761px){.cd-shell{display:grid!important}}@media(min-width:761px) and (max-width:1100px){.cd-topbar{display:flex!important;gap:10px;padding:10px;flex-wrap:wrap}.cd-top-actions{margin-left:auto}}@media(min-width:761px){html,body{height:100%;overflow:hidden!important}.cd-topbar{position:relative!important;top:auto!important;min-height:60px!important;padding:10px 16px!important}.cd-shell{height:calc(100dvh - var(--cd-desktop-header,68px))!important;min-height:0!important;overflow:hidden!important;grid-template-columns:190px minmax(0,1fr) 290px!important;grid-template-rows:minmax(0,1fr)!important}.cd-products-panel,.cd-tools-panel{position:relative!important;top:auto!important;height:100%!important;max-height:100%!important;overflow:auto!important;grid-column:auto!important;min-width:0;min-height:0}.cd-product-list{display:grid!important;max-height:none!important;overflow:visible!important}.cd-product-card{min-width:0!important}.cd-workspace{height:100%!important;min-height:0!important;overflow:hidden!important;grid-template-rows:auto minmax(0,1fr)!important}.cd-workspace-split{height:100%!important;min-height:0!important;overflow:hidden!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,3fr) minmax(0,2fr)!important;gap:10px!important;padding:10px!important}.cd-editor-pane{height:100%;min-height:0!important;overflow:hidden}.cd-editor-pane .cd-stage-wrap{min-height:0!important;overflow:auto!important;padding:48px 4px 5px!important;flex:1}.cd-editor-pane .cd-stage{height:100%!important;min-height:0!important;min-width:0!important;max-height:none!important;flex-shrink:1!important}.cd-editor-pane .cd-stage-footer{flex-shrink:0;min-width:0!important;font-size:10px;padding:5px!important}.cd-stage-hint{white-space:normal}.cd-live-preview-persistent{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;grid-template-rows:auto minmax(0,1fr) auto!important;padding:10px!important}.cd-live-preview-persistent .cd-live-preview-stage{height:100%!important;min-height:0!important;max-height:100%!important;position:relative!important;overflow:hidden!important;padding:0!important}.cd-live-preview-persistent .cd-live-preview-stage canvas{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;max-width:100%!important;max-height:100%!important;object-fit:contain}.cd-live-preview-persistent .cd-secondary-wide{min-height:34px!important;margin-top:6px!important}.cd-add-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.cd-add-tools .cd-upload-btn{grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;text-align:left!important;min-height:66px!important;padding:10px!important;gap:12px!important;width:100%!important}.cd-upload-btn strong{font-size:13px!important}.cd-upload-btn small{font-size:11px!important;line-height:1.4!important;overflow-wrap:normal!important;word-break:normal!important}.cd-upload-icon{margin:0!important}#cdToolNav [data-tool-target="cdPredesignSection"],#cdToolNav [data-tool-target="cdSavedSection"]{display:none!important}.cd-help-card{display:none!important}}@media(min-width:1250px){.cd-workspace-split{grid-template-columns:minmax(0,1fr) minmax(240px,.72fr)!important;grid-template-rows:minmax(0,1fr)!important}}@media(min-width:761px) and (max-width:1000px){.cd-shell{grid-template-columns:165px minmax(0,1fr) 235px!important}.cd-products-panel{padding:10px!important}.cd-product-card{grid-template-columns:40px minmax(0,1fr)!important}.cd-product-card img{width:40px!important;height:44px!important}.cd-workspace-bar{flex-wrap:wrap!important;padding:8px!important}.cd-workspace-actions{flex-wrap:wrap!important}.cd-stage-footer{display:none!important}.cd-area-switcher small{display:none}}.cd-layer.cd-text-layer{min-width:0!important;min-height:0!important}.cd-text-layer .cd-text-content{flex:0 0 auto;min-width:0;min-height:0}.cd-draft-status{font-size:11px;max-width:200px;color:#476850;line-height:1.4}.cd-feature-dialog{padding:0;border:1px solid #d4e0d6;border-radius:16px;width:min(580px,94vw);max-height:90dvh;color:#193c30;background:#fff;box-shadow:0 25px 80px #152b3540}.cd-feature-dialog::backdrop{background:#142b2377;backdrop-filter:blur(3px)}.cd-feature-head,.cd-feature-actions{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #dce5df;flex-shrink:0}.cd-feature-head h2{margin:0;font-size:20px}.cd-feature-head p{margin:6px 0 0;font-size:12px}.cd-feature-body{padding:20px 22px;overflow:auto;min-height:0}.cd-feature-body p{font-size:13px;line-height:1.5}.cd-feature-actions{border-bottom:0;border-top:1px solid #dce5df;flex-wrap:wrap}.cd-feature-actions label{font-size:13px;flex:1;min-width:200px}.cd-feature-actions input{accent-color:#236947}.cd-review-dialog{width:min(1150px,94vw);height:88dvh}.cd-review-dialog[open]{display:flex;flex-direction:column}.cd-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;flex:1;align-content:start}.cd-review-area{border:1px solid #dce5df;border-radius:12px;padding:14px;min-width:0}.cd-review-area h3{margin:0;font-size:16px}.cd-review-image{height:230px;background:#f2f4ef;display:flex;justify-content:center;align-items:center;padding:12px}.cd-review-image canvas{max-width:100%;max-height:100%;object-fit:contain;background:#fff}.cd-review-note{grid-column:1/-1;color:#667568}.cd-feature-dialog button{font-size:13px}@media(max-width:1000px){.cd-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-draft-status{display:none}}@media(max-width:760px){.cd-feature-dialog{max-height:94dvh}.cd-review-grid{grid-template-columns:1fr}.cd-feature-head,.cd-feature-actions{padding:12px}.cd-feature-head{align-items:flex-start}.cd-feature-head h2{font-size:17px}#cdFinalReview,#cdRecoverDraft{display:inline-flex!important;font-size:10px!important;padding:6px!important;min-width:0!important}.cd-review-image{height:200px}}.cd-library-workspace{display:flex;flex:1;min-height:0;overflow:hidden}.cd-library-workspace .cd-library-content{min-width:0}.cd-library-workspace.has-preview .cd-library-content{flex:1 1 60%}.cd-template-preview{flex:0 0 36%;min-width:260px;max-width:430px;padding:18px;overflow:auto;border-left:1px solid #dfe8e2;background:#f4f8f5;display:flex;flex-direction:column;gap:12px}.cd-template-preview[hidden]{display:none}.cd-template-preview h3,.cd-template-preview p{margin:0}.cd-template-preview p{font-size:12px;line-height:1.5}.cd-template-preview label{display:grid;gap:6px;font-size:12px;font-weight:700}.cd-template-preview select{width:100%;padding:10px;border:1px solid #ccd9cf;border-radius:8px;background:white}.cd-template-product{min-height:150px;flex:1;display:flex;align-items:center;justify-content:center;background:white;border-radius:12px;padding:12px;overflow:hidden}.cd-template-product canvas{display:block;max-width:100%;max-height:40vh;object-fit:contain;width:auto;height:auto}.cd-template-product canvas[hidden]{display:none}.cd-template-help{color:#607467}#cdLibraryContent .cd-predesign-card[aria-pressed="true"]{outline:3px solid #237353;outline-offset:-3px;background:#edf7ef}.cd-library-workspace.has-preview #cdLibraryContent .cd-predesign-list{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))!important}@media(max-width:700px){.cd-library-workspace.has-preview{flex-direction:column;overflow:auto}.cd-library-workspace.has-preview .cd-library-content{overflow:visible;flex:none}.cd-template-preview{flex:none;max-width:none;min-width:0;border-left:0;border-top:1px solid #dfe8e2;overflow:visible}.cd-template-product canvas{max-height:230px}.cd-template-product{flex:none}.cd-library-workspace.has-preview #cdLibraryContent .cd-predesign-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.cd-zoom-group{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap}#cdLibraryContent #cdClearPredesign{display:none!important}#cdLibraryModal .cd-library-card{width:min(1320px,96vw);height:min(880px,94dvh);max-height:94dvh}#cdLibraryModal .cd-modal-head{padding:14px 18px;flex-shrink:0}#cdLibraryModal .cd-library-toolbar{padding:10px 16px;gap:10px;flex-shrink:0}#cdLibraryModal .cd-library-footer{padding:9px 16px}#cdLibraryModal .cd-library-content{padding:14px}#cdLibraryContent .cd-section-sub{margin:6px 0 12px;font-size:12px}#cdLibraryModal .cd-library-workspace.has-preview #cdLibraryContent .cd-predesign-list{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important;gap:10px;align-content:start}.cd-template-tile{min-width:0;border:1px solid #dce6df;border-radius:10px;background:#fff;overflow:hidden}#cdLibraryContent .cd-template-tile .cd-predesign-card{display:block;width:100%;margin:0;padding:6px 6px 4px;border:0;border-radius:8px;box-shadow:none;background:#fff;text-align:left}#cdLibraryContent .cd-template-tile .cd-predesign-thumb{height:156px!important;padding:3px!important;margin:0 0 5px;border-radius:6px;background:#f5f7f5!important;display:block}#cdLibraryContent .cd-template-tile .cd-predesign-thumb img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;max-width:100%!important;max-height:100%!important;margin:0}#cdLibraryContent .cd-template-tile strong{display:block;padding:2px 4px;font-size:12px;line-height:1.3}.cd-template-full{display:block;width:100%;min-height:30px;padding:6px 8px;border:0;border-top:1px solid #e4ebe6;background:#f5f8f6;color:#285c43;font-size:11px;font-weight:600;cursor:pointer;box-shadow:none}.cd-template-full:hover{background:#e4f1e8}.cd-template-full:focus-visible{outline:2px solid #237353;outline-offset:-3px}#cdLibraryModal .cd-template-preview{flex:0 0 34%;min-width:280px;max-width:440px;padding:14px;gap:10px}#cdLibraryModal .cd-template-preview h3{font-size:16px;line-height:1.3}#cdLibraryModal .cd-template-product{position:relative;flex:1 0 180px;min-height:180px;padding:0;overflow:hidden;border:1px solid #e0e8e2;background:#fff}#cdLibraryModal .cd-template-product canvas{position:absolute;inset:10px;display:block;width:calc(100% - 20px)!important;height:calc(100% - 20px)!important;max-width:none;max-height:none;object-fit:contain;object-position:center}#cdLibraryModal .cd-template-product canvas[hidden]{display:none}#cdLibraryModal .cd-template-preview label,#cdLibraryModal .cd-template-help,#cdTemplatePreviewStatus,#cdTemplateApply{flex-shrink:0}#cdLibraryModal .cd-template-preview p{font-size:11px;line-height:1.4}#cdLibraryModal #cdTemplateApply{min-height:40px;box-shadow:none;border-radius:8px}.cd-artwork-preview-body{position:relative;height:72dvh;min-height:0;max-height:72dvh;overflow:hidden}.cd-artwork-preview-body img{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:none;max-height:none;object-fit:contain;box-shadow:none;background:transparent}@media(max-width:700px){#cdLibraryModal .cd-template-preview{flex:none;min-width:0;max-width:none;padding:12px}#cdLibraryModal .cd-template-product{flex:none;height:290px;min-height:220px}#cdLibraryModal .cd-library-workspace.has-preview #cdLibraryContent .cd-predesign-list{grid-template-columns:repeat(auto-fill,minmax(105px,1fr))!important}#cdLibraryContent .cd-template-tile .cd-predesign-thumb{height:140px!important}.cd-artwork-preview-body img{max-width:none!important;max-height:none!important}}#cdLibraryModal #cdLibraryContent .cd-asset-library-grid,#cdLibraryModal #cdLibraryContent .cd-saved-list{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))!important;gap:12px!important;align-items:start;align-content:start}#cdLibraryContent .cd-asset-card{min-width:0;border-radius:10px;overflow:hidden;box-shadow:none}#cdLibraryModal #cdLibraryContent .cd-asset-thumb{display:block;width:100%;height:110px!important;min-height:0;padding:6px!important;margin:0;border:0;border-bottom:1px solid #e2ebe5;border-radius:0;cursor:zoom-in;background:#f4f7f5!important}#cdLibraryModal #cdLibraryContent .cd-asset-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center}#cdLibraryContent .cd-asset-card-body{padding:9px!important}#cdLibraryContent .cd-asset-card-body strong,#cdLibraryContent .cd-saved-copy strong{display:block;font-size:12px!important;line-height:1.4;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}#cdLibraryContent .cd-asset-card-body span,#cdLibraryContent .cd-asset-card-body small{font-size:10px;line-height:1.5;color:#64766b}#cdLibraryContent .cd-asset-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px!important;margin-top:8px}#cdLibraryContent .cd-asset-actions button,#cdLibraryContent .cd-asset-download{min-height:32px!important;padding:6px!important;font-size:11px!important;line-height:1.2;border-radius:6px;box-shadow:none}.cd-asset-more{margin-top:7px;border-top:1px solid #e6ece8;padding-top:5px}.cd-asset-more summary{cursor:pointer;font-size:11px;font-weight:600;color:#557161;padding:5px 0;min-height:26px}#cdLibraryContent .cd-asset-extra-actions{margin-top:4px}.cd-asset-more[open] summary{color:#1d6243}#cdLibraryModal #cdLibraryContent .cd-saved-card{padding:8px;gap:8px;border-radius:10px;min-width:0;box-shadow:none}#cdLibraryModal #cdLibraryContent .cd-saved-thumb{display:block;width:100%;height:110px!important;min-height:0;padding:5px;border:0;border-radius:6px;background:#f4f7f5;overflow:hidden;cursor:zoom-in}#cdLibraryModal #cdLibraryContent .cd-saved-thumb img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center}#cdLibraryContent .cd-saved-copy{min-width:0}#cdLibraryContent .cd-saved-copy span{font-size:10px;color:#64766b}#cdLibraryContent .cd-saved-actions{gap:5px}#cdLibraryContent .cd-saved-actions button{min-height:32px;padding:6px;font-size:11px;border-radius:6px}#cdLibraryContent .cd-save-design-row{max-width:480px;margin-bottom:8px;gap:6px}#cdLibraryContent .cd-save-design-row input{padding:8px 10px;font-size:12px;min-height:36px}#cdLibraryContent .cd-save-design-row button{padding:8px 12px;font-size:12px;min-height:36px}#cdLibraryContent .cd-library-status,#cdLibraryContent .cd-saved-status{margin:7px 0 10px;font-size:11px;line-height:1.4}#cdLibraryModal .cd-library-upload-actions{padding:9px 14px;gap:8px}#cdLibraryModal .cd-library-upload-actions button{min-height:36px;padding:8px 12px;font-size:12px;box-shadow:none}@media(max-width:600px){#cdLibraryModal #cdLibraryContent .cd-asset-library-grid,#cdLibraryModal #cdLibraryContent .cd-saved-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}#cdLibraryModal #cdLibraryContent .cd-asset-thumb,#cdLibraryModal #cdLibraryContent .cd-saved-thumb{height:95px!important}#cdLibraryContent .cd-asset-actions button,#cdLibraryContent .cd-asset-download,#cdLibraryContent .cd-saved-actions button{min-height:36px!important}}#cdLibraryModal #cdLibraryContent .cd-saved-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}#cdLibraryModal #cdLibraryContent .cd-saved-thumb{height:90px!important}@media(max-width:600px){#cdLibraryModal #cdLibraryContent .cd-saved-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.cd-strap-controls{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #e1e8e3}.cd-strap-controls[hidden]{display:none}.cd-strap-head strong{display:block;font-size:12px;color:#1f2d25}.cd-strap-head small{display:block;margin-top:3px;font-size:10px;font-weight:600;line-height:1.4;color:#6b776f}.cd-strap-controls label.cd-strap-row{display:grid;gap:5px;font-size:10px;font-weight:800;color:#53645a}.cd-strap-controls label.cd-strap-row>span{display:flex;justify-content:space-between;align-items:center;gap:8px}.cd-strap-controls output{float:none;font-weight:900;color:#263c31}.cd-strap-controls input[type=range]{width:100%;min-height:32px;accent-color:var(--cd-primary,#1f8a55)}:root{--cd-bg:#f3f7f5;--cd-panel:#ffffff;--cd-ink:#102a20;--cd-muted:#5b7065;--cd-line:#d5e4dc;--cd-primary:#146c43;--cd-green:#10b981;--cd-blue:#2563eb;--cd-purple:#7c3aed;--cd-orange:#f59e0b;--cd-rose:#e11d48;--cd-teal:#0d9488;}.cd-topbar{background:linear-gradient(90deg,#f0fdf4 0%,#ffffff 35%,#f5f3ff 72%,#fffbeb 100%) !important;border-bottom:2px solid #bbf7d0 !important;box-shadow:0 6px 22px rgba(16,85,52,0.08) !important;}.cd-top-left-links{display:flex;align-items:center;gap:8px;}.cd-back-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:999px;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #6ee7b7;color:#065f46 !important;font-size:12px !important;font-weight:800 !important;text-decoration:none;box-shadow:0 2px 8px rgba(16,185,129,0.14);transition:transform 0.15s ease,box-shadow 0.15s ease;}.cd-back-pill:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(16,185,129,0.22);}.cd-back-pill.cd-cart-pill{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#93c5fd;color:#1e40af !important;}.cd-brand-mark{background:linear-gradient(135deg,#10b981 0%,#0ea5e9 52%,#8b5cf6 100%) !important;box-shadow:0 8px 20px rgba(14,165,233,0.28) !important;font-size:18px;}.cd-brand-copy strong{background:linear-gradient(90deg,#065f46,#0f766e,#4f46e5);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-weight:900;}.cd-draft-pill{padding:5px 10px;border-radius:999px;background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d !important;font-weight:700;}#cdTutorialHelp{background:linear-gradient(135deg,#f5f3ff,#ede9fe) !important;border-color:#c4b5fd !important;color:#5b21b6 !important;}#cdRecoverDraft{background:linear-gradient(135deg,#eff6ff,#dbeafe) !important;border-color:#93c5fd !important;color:#1d4ed8 !important;}#cdFinalReview{background:linear-gradient(135deg,#fffbeb,#fef3c7) !important;border-color:#fcd34d !important;color:#b45309 !important;}#cdSaveDesignTop{background:linear-gradient(135deg,#ecfdf5,#d1fae5) !important;border:1.5px solid #34d399 !important;color:#065f46 !important;font-weight:900 !important;}#cdPreview{background:linear-gradient(135deg,#4f46e5,#7c3aed) !important;color:#ffffff !important;border:0 !important;box-shadow:0 8px 18px rgba(124,58,237,0.26) !important;}.cd-btn.order-cta,#cdOrderTopBtn{background:linear-gradient(135deg,#059669 0%,#10b981 55%,#0d9488 100%) !important;color:#ffffff !important;border:0 !important;min-height:42px;padding:0 18px !important;font-size:11.5px !important;font-weight:900 !important;border-radius:11px !important;box-shadow:0 10px 22px rgba(16,185,129,0.30) !important;}.cd-btn.order-cta:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px);}.cd-products-panel{background:linear-gradient(180deg,#ffffff 0%,#f7fcf9 100%) !important;border-right:1px solid #cce3d6 !important;}.cd-products-panel .cd-step{background:linear-gradient(135deg,#10b981,#0ea5e9) !important;box-shadow:0 4px 10px rgba(16,185,129,0.25);}.cd-product-search input{background:#f0fdf4 !important;border-color:#a7f3d0 !important;}.cd-category-filter select{background:linear-gradient(135deg,#f5f3ff,#ffffff) !important;border-color:#ddd6fe !important;color:#4c1d95 !important;}.cd-product-card{border-width:1.5px !important;transition:all 0.18s ease !important;}.cd-product-card:nth-child(4n+1){background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%);border-color:#bbf7d0;}.cd-product-card:nth-child(4n+2){background:linear-gradient(135deg,#ffffff 0%,#eff6ff 100%);border-color:#bfdbfe;}.cd-product-card:nth-child(4n+3){background:linear-gradient(135deg,#ffffff 0%,#f5f3ff 100%);border-color:#ddd6fe;}.cd-product-card:nth-child(4n+4){background:linear-gradient(135deg,#ffffff 0%,#fffbeb 100%);border-color:#fde68a;}.cd-product-card:hover{transform:translateY(-2px) !important;box-shadow:0 8px 18px rgba(16,185,129,0.12) !important;}.cd-product-card.active{background:linear-gradient(135deg,#ecfdf5 0%,#e0f2fe 100%) !important;border:2px solid #059669 !important;box-shadow:0 8px 20px rgba(5,150,105,0.18) !important;}.cd-product-card.active::after{background:linear-gradient(135deg,#059669,#10b981) !important;border-color:#059669 !important;}.cd-category-chip{background:linear-gradient(135deg,#d1fae5,#a7f3d0) !important;color:#065f46 !important;border:1px solid #6ee7b7;}.cd-workspace{background:radial-gradient(circle at 22% 18%,#ecfdf5 0%,#eff6ff 38%,#f5f3ff 72%,#f0fdf4 100%) !important;}.cd-workspace-bar{background:rgba(255,255,255,0.90) !important;border-bottom:1px solid #cde3d7 !important;}#cdProductBadge{background:linear-gradient(135deg,#059669,#0ea5e9) !important;color:#ffffff !important;box-shadow:0 4px 12px rgba(14,165,233,0.22);}#cdSurfaceBadge{background:#f5f3ff !important;border-color:#c4b5fd !important;color:#5b21b6 !important;}.cd-area-switcher{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;background:linear-gradient(90deg,#eff6ff,#f5f3ff,#ecfdf5);border-bottom:1px solid #cbd5e1;}.cd-area-switcher-buttons{display:flex;gap:6px;flex-wrap:wrap;}.cd-area-switcher-buttons button{padding:6px 12px;border-radius:999px;border:1px solid #93c5fd;background:#ffffff;color:#1e40af;font-size:11px;font-weight:800;}.cd-area-switcher-buttons button.active{background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:transparent;color:#ffffff;box-shadow:0 4px 10px rgba(37,99,235,0.24);}.cd-canvas-toolbar{background:rgba(255,255,255,0.96) !important;border:1.5px solid #bbf7d0 !important;box-shadow:0 12px 30px rgba(16,85,52,0.14) !important;}.cd-live-preview-persistent{background:linear-gradient(165deg,#ffffff 0%,#f0fdf4 55%,#eff6ff 100%) !important;border:1.5px solid #a7f3d0 !important;box-shadow:0 12px 30px rgba(16,185,129,0.10) !important;}.cd-live-preview-persistent .cd-secondary-wide{background:linear-gradient(135deg,#4f46e5,#0ea5e9) !important;color:#ffffff !important;font-weight:800 !important;box-shadow:0 6px 16px rgba(79,70,229,0.22) !important;}.cd-tools-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;}.cd-order-card{margin:12px 16px 6px !important;padding:13px !important;border-radius:14px !important;background:linear-gradient(135deg,#ecfdf5 0%,#f0fdfa 52%,#fffbeb 100%) !important;border:1.5px solid #6ee7b7 !important;box-shadow:0 8px 22px rgba(16,185,129,0.12) !important;}.cd-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;}.cd-order-card-head strong{font-size:12.5px;color:#065f46;font-weight:900;}.cd-order-price-badge{padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,#059669,#0d9488);color:#ffffff;font-size:10.5px;font-weight:900;}.cd-order-card-sub{margin:5px 0 10px;font-size:10.5px;color:#047857;line-height:1.35;}.cd-order-controls{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:end;}.cd-order-qty-label{display:grid;gap:4px;font-size:9.5px;font-weight:800;color:#065f46;}.cd-order-qty-label input{width:100%;height:38px;border:1.5px solid #6ee7b7;border-radius:9px;padding:0 9px;background:#ffffff;color:#064e3b;font-weight:900;font-size:13px;}.cd-order-add-btn{height:38px;border:0;border-radius:9px;background:linear-gradient(135deg,#059669 0%,#10b981 55%,#f59e0b 130%);color:#ffffff;font-size:11.5px;font-weight:900;box-shadow:0 6px 15px rgba(5,150,105,0.25);}.cd-order-add-btn:disabled{opacity:0.48;cursor:not-allowed;}.cd-library-launchers button:nth-child(1){background:linear-gradient(135deg,#f5f3ff,#ede9fe) !important;border-color:#c4b5fd !important;color:#5b21b6 !important;}.cd-library-launchers button:nth-child(2){background:linear-gradient(135deg,#eff6ff,#dbeafe) !important;border-color:#93c5fd !important;color:#1e40af !important;}.cd-library-launchers button:nth-child(3){background:linear-gradient(135deg,#fffbeb,#fef3c7) !important;border-color:#fcd34d !important;color:#92400e !important;}.cd-tool-nav{background:linear-gradient(90deg,#ecfdf5,#eff6ff,#f5f3ff) !important;border:1px solid #cbd5e1;}.cd-tool-nav button[data-tool-target="cdAddSection"].active{background:linear-gradient(135deg,#10b981,#059669) !important;color:#ffffff !important;}.cd-tool-nav button[data-tool-target="cdObjectControls"].active{background:linear-gradient(135deg,#6366f1,#8b5cf6) !important;color:#ffffff !important;}.cd-tool-nav button[data-tool-target="cdLayersCard"].active{background:linear-gradient(135deg,#f59e0b,#ea580c) !important;color:#ffffff !important;}.cd-tool-nav button.active span{color:#ffffff !important;}#cdLogoLabel{background:linear-gradient(135deg,#eff6ff 0%,#e0f2fe 100%) !important;border:1.5px solid #7dd3fc !important;}#cdDesignLabel{background:linear-gradient(135deg,#fdf4ff 0%,#f3e8ff 100%) !important;border:1.5px solid #d8b4fe !important;}#cdAddText{background:linear-gradient(135deg,#fffbeb 0%,#ffedd5 100%) !important;border:1.5px solid #fcd34d !important;}@media (max-width:760px){.cd-mobile-dock{background:linear-gradient(90deg,#f0fdf4,#eff6ff,#fdf4ff,#fffbeb) !important;border-top:2px solid #86efac !important;}.cd-mobile-dock button:nth-child(1) span{color:#7c3aed;}.cd-mobile-dock button:nth-child(2) span{color:#0284c7;}.cd-mobile-dock button:nth-child(3) span{color:#d97706;}.cd-mobile-dock button:nth-child(4) span{color:#059669;}.cd-mobile-dock button:nth-child(5) span{color:#e11d48;}.cd-mobile-dock button.active{background:linear-gradient(135deg,#059669,#0ea5e9) !important;color:#ffffff !important;}.cd-mobile-dock button.active span{color:#ffffff !important;}}@media (min-width:761px){.cd-topbar{grid-template-columns:auto minmax(180px,1fr) auto !important;gap:12px !important;padding:8px 16px !important;}.cd-top-actions{flex-wrap:nowrap !important;gap:6px !important;}.cd-top-actions .cd-btn{padding:7px 10px !important;font-size:10.5px !important;white-space:nowrap !important;}.cd-btn.order-cta,#cdOrderTopBtn{min-height:36px !important;padding:0 13px !important;font-size:11px !important;}.cd-btn.preview-cta,#cdPreview{min-height:36px !important;padding:0 13px !important;font-size:11px !important;}.cd-draft-pill{font-size:10px !important;padding:4px 8px !important;white-space:nowrap !important;}}@media (max-width:760px){.cd-top-left-links{display:contents !important;}.cd-back-pill.cd-cart-pill,#cdRecoverDraft,#cdFinalReview,.cd-draft-pill{display:none !important;}.cd-back.cd-back-pill{width:36px !important;height:36px !important;padding:0 !important;border-radius:10px !important;font-size:0 !important;justify-content:center !important;}.cd-back.cd-back-pill::before{content:"←" !important;font-size:18px !important;}.cd-mobile-product-picker{background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%) !important;border:1.5px solid #6ee7b7 !important;}.cd-top-actions #cdOrderTopBtn{display:inline-flex !important;min-height:36px !important;height:36px !important;padding:0 10px !important;font-size:10px !important;border-radius:9px !important;}.cd-top-actions #cdPreview,.cd-top-actions #cdSaveDesignTop{min-height:36px !important;height:36px !important;padding:0 9px !important;font-size:9.5px !important;}}.cd-auth-top-btn{background:linear-gradient(135deg,#7c3aed 0%,#2563eb 55%,#059669 100%) !important;color:#ffffff !important;border:0 !important;font-weight:900 !important;box-shadow:0 6px 16px rgba(124,58,237,0.28) !important;}.cd-auth-card{width:min(480px,94vw) !important;border-radius:20px !important;overflow:hidden !important;border:2px solid #a7f3d0 !important;box-shadow:0 24px 60px rgba(15,23,42,0.26) !important;}.cd-auth-head{background:linear-gradient(135deg,#ecfdf5 0%,#eff6ff 50%,#f5f3ff 100%) !important;padding:18px 20px !important;border-bottom:1.5px solid #bbf7d0 !important;}.cd-auth-title-wrap{display:flex;align-items:flex-start;gap:12px;}.cd-auth-badge-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#059669,#2563eb,#7c3aed);color:#ffffff;display:inline-flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;box-shadow:0 8px 18px rgba(37,99,235,0.25);}.cd-auth-title-wrap strong{display:block;font-size:16px;color:#064e3b;font-weight:900;}.cd-auth-title-wrap span{display:block;margin-top:3px;font-size:11.5px;color:#334155;line-height:1.4;}.cd-auth-body{padding:18px 20px 20px !important;background:#ffffff !important;}.cd-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;border-radius:12px;background:linear-gradient(90deg,#f0fdf4,#eff6ff,#f5f3ff);border:1px solid #cbd5e1;}.cd-auth-tabs button{height:38px;border:0;border-radius:9px;background:transparent;color:#334155;font-size:12px;font-weight:800;cursor:pointer;}.cd-auth-tabs button.active{background:linear-gradient(135deg,#059669,#0ea5e9);color:#ffffff;box-shadow:0 6px 14px rgba(5,150,105,0.24);}.cd-auth-perks{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;}.cd-auth-perks span{padding:4px 10px;border-radius:999px;background:#f0fdf4;border:1px solid #bbf7d0;color:#065f46;font-size:10.5px;font-weight:800;}.cd-auth-alert{margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:12px;font-weight:700;}.cd-auth-form,.cd-auth-signup-fields{display:grid;gap:11px;}.cd-auth-field{display:grid;gap:5px;}.cd-auth-field span{font-size:11.5px;font-weight:800;color:#1e293b;}.cd-auth-field small{color:#64748b;font-weight:600;}.cd-auth-field input{width:100%;height:42px;padding:0 13px;border-radius:10px;border:1.5px solid #cbd5e1;background:#f8fafc;color:#0f172a;font-size:13px;font-weight:600;}.cd-auth-field input:focus{outline:none;border-color:#10b981;background:#ffffff;box-shadow:0 0 0 3px rgba(16,185,129,0.14);}.cd-auth-submit-btn{margin-top:4px;height:44px;border:0;border-radius:11px;background:linear-gradient(135deg,#059669 0%,#10b981 52%,#2563eb 100%);color:#ffffff;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(5,150,105,0.28);}.cd-auth-footer{margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11.5px;color:#475569;}.cd-auth-footer button{border:0;background:transparent;color:#059669;font-weight:800;cursor:pointer;padding:0;}.cd-auth-forgot-link{color:#6366f1;font-weight:700;text-decoration:none;}.cd-upload-btn.is-auth-locked{position:relative;border-style:dashed !important;cursor:pointer !important;}.cd-logout-top-btn{background:#fff1f2 !important;border:1px solid #fecdd3 !important;color:#be123c !important;font-weight:800 !important;}#cdAuthModal{position:fixed !important;inset:0 !important;z-index:20000 !important;background:rgba(10,25,18,0.72) !important;backdrop-filter:blur(4px) !important;place-items:center !important;padding:16px !important;}#cdAuthModal[hidden]{display:none !important;}#cdAuthModal .cd-modal-backdrop{position:fixed !important;inset:0 !important;z-index:0 !important;}#cdAuthModal .cd-auth-card{position:relative !important;z-index:1 !important;display:block !important;width:min(460px,94vw) !important;height:auto !important;max-height:92vh !important;overflow-y:auto !important;border-radius:20px !important;background:#ffffff !important;}.cd-auth-signup-fields[hidden],.cd-auth-alert[hidden],#cdOpenAuthTop[hidden],#cdCustomerLogoutBtn[hidden]{display:none !important;}.cd-inline-predesign-card{margin:8px 16px !important;padding:12px !important;border-radius:14px !important;background:linear-gradient(135deg,#f5f3ff 0%,#eff6ff 55%,#ecfdf5 100%) !important;border:1.5px solid #c4b5fd !important;box-shadow:0 6px 18px rgba(124,58,237,0.10) !important;}.cd-inline-predesign-card[hidden]{display:none !important;}.cd-inline-pd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px;}.cd-inline-pd-head strong{display:block;font-size:12px;color:#4c1d95;font-weight:900;}.cd-inline-pd-head small{display:block;font-size:10px;color:#5b21b6;margin-top:2px;}.cd-inline-pd-clear{border:1px solid #fda4af;background:#fff1f2;color:#be123c;border-radius:8px;padding:4px 8px;font-size:10px;font-weight:800;cursor:pointer;}.cd-inline-pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.cd-inline-pd-item{display:grid;gap:5px;padding:6px;border-radius:10px;background:#ffffff;border:1.5px solid #ddd6fe;cursor:pointer;text-align:center;transition:transform 0.15s ease,box-shadow 0.15s ease;}.cd-inline-pd-item:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(124,58,237,0.16);}.cd-inline-pd-item.active{border:2px solid #059669;background:#ecfdf5;box-shadow:0 6px 16px rgba(5,150,105,0.20);}.cd-inline-pd-thumb{height:68px;border-radius:7px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;}.cd-inline-pd-thumb img{max-width:92%;max-height:92%;object-fit:contain;}.cd-inline-pd-name{font-size:10.5px;font-weight:800;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.cd-show-mob{display:none;}.cd-hide-mob{display:inline;}@media (max-width:760px){.cd-show-mob{display:inline !important;}.cd-hide-mob{display:none !important;}.cd-topbar{height:56px !important;padding:0 8px !important;display:grid !important;grid-template-columns:34px minmax(92px,1fr) auto !important;align-items:center !important;gap:6px !important;}.cd-back.cd-back-pill{width:34px !important;height:34px !important;min-width:34px !important;padding:0 !important;border-radius:10px !important;}.cd-mobile-product-picker{display:flex !important;align-items:center !important;justify-content:space-between !important;min-width:0 !important;height:38px !important;padding:3px 9px !important;border-radius:10px !important;background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%) !important;border:1.5px solid #6ee7b7 !important;}.cd-mobile-product-picker strong{font-size:11px !important;line-height:1.15 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}.cd-mobile-product-picker small{font-size:8.5px !important;line-height:1.1 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}.cd-top-actions{display:flex !important;align-items:center !important;gap:4px !important;flex-wrap:nowrap !important;}.cd-top-actions #cdSaveDesignTop,.cd-top-actions #cdTutorialHelp,.cd-top-actions #cdRecoverDraft,.cd-top-actions #cdFinalReview,.cd-top-actions #cdUndo,.cd-top-actions #cdRedo,.cd-top-actions #cdReset{display:none !important;}.cd-top-actions #cdOpenAuthTop,.cd-top-actions #cdCustomerLogoutBtn,.cd-top-actions #cdPreview,.cd-top-actions #cdOrderTopBtn{min-height:34px !important;height:34px !important;padding:0 9px !important;font-size:10.5px !important;font-weight:800 !important;border-radius:9px !important;white-space:nowrap !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}.cd-top-actions #cdOpenAuthTop[hidden],.cd-top-actions #cdCustomerLogoutBtn[hidden]{display:none !important;}.cd-canvas-toolbar{position:fixed !important;left:8px !important;right:8px !important;top:auto !important;bottom:74px !important;z-index:52 !important;transform:none !important;display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:4px !important;padding:4px !important;border-radius:12px !important;overflow:hidden !important;}.cd-canvas-toolbar button{min-height:34px !important;height:34px !important;padding:0 4px !important;font-size:10px !important;gap:4px !important;justify-content:center !important;border-radius:8px !important;min-width:0 !important;}.cd-products-panel,.cd-tools-panel{transform:translateY(calc(100% + 90px)) !important;visibility:hidden !important;pointer-events:none !important;}body.cd-mobile-products-open .cd-products-panel,body.cd-mobile-tools-open .cd-tools-panel{transform:translateY(0) !important;visibility:visible !important;pointer-events:auto !important;}.cd-mobile-dock{height:64px !important;padding:4px 6px calc(4px + env(safe-area-inset-bottom)) !important;z-index:85 !important;}.cd-mobile-dock button{font-size:10px !important;gap:2px !important;padding:4px 2px !important;}.cd-mobile-dock button span{width:24px !important;height:22px !important;font-size:14px !important;}}

/* ==========================================================================
   ECOSAVE CUSTOM PRINT STUDIO v308 — PERFECT ALIGNMENT & MULTI-PRODUCT GRID
   - Clean 3-Column Dual-Stage UI (292px Left Panel + Large Center Canvas + Large Right Preview)
   - Crisp Stacked 4-Tab Bar (Upload | Edit | Products | Layers) — Zero Text Overlap
   - Clean Upload Cards without overlapping "Login to Upload" badges
   - Single-Line Canvas Header & Single-Line Bottom Tools Dock (नीचे टूल्स)
   - 4-Column Visual Product Catalog Modal for 15–50+ Products with Category Pills & Search
   ========================================================================== */
:root {
  --cd-bg: #eef2f0;
  --cd-surface: #ffffff;
  --cd-ink: #0f172a;
  --cd-ink-2: #334155;
  --cd-muted: #64748b;
  --cd-line: #dbe4df;
  --cd-brand: #059669;
  --cd-brand-dark: #047857;
  --cd-brand-soft: #ecfdf5;
  --cd-desktop-header: 50px;
}

/* Always honor [hidden] */
[hidden],
.cd-area-switcher[hidden],
.cd-inline-predesign-card[hidden],
.cd-modal[hidden],
#cdProductCatalogModal[hidden],
#cdOpenAuthTop[hidden],
#cdCustomerLogoutBtn[hidden] {
  display: none !important;
}

body.cd-v308-studio {
  background: var(--cd-bg) !important;
  color: var(--cd-ink) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

/* 1. SINGLE-ROW TOPBAR (50px) — PERFECTLY ALIGNED, ZERO CLIPPING */
body.cd-v308-studio .cd-topbar {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 0 12px !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--cd-line) !important;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
}

body.cd-v308-studio .cd-top-left-links {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

body.cd-v308-studio .cd-back-pill {
  height: 31px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  background: #f8fafc !important;
  border: 1px solid var(--cd-line) !important;
  color: var(--cd-ink-2) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
body.cd-v308-studio .cd-back-pill::before {
  content: none !important;
  display: none !important;
}
body.cd-v308-studio .cd-back-pill:hover {
  background: var(--cd-brand-soft) !important;
  border-color: #a7f3d0 !important;
  color: var(--cd-brand-dark) !important;
}

body.cd-v308-studio .cd-brand {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding-left: 2px !important;
}
body.cd-v308-studio .cd-brand-mark {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
body.cd-v308-studio .cd-brand-copy strong {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--cd-ink) !important;
  -webkit-text-fill-color: var(--cd-ink) !important;
  background: none !important;
  white-space: nowrap !important;
}
body.cd-v308-studio .cd-brand-copy small {
  display: none !important;
}

body.cd-v308-studio .cd-top-center-tools {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #f8fafc !important;
  border: 1px solid var(--cd-line) !important;
  padding: 3px 6px !important;
  border-radius: 9px !important;
  flex-shrink: 0 !important;
}
body.cd-v308-studio .cd-top-center-tools .cd-btn {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--cd-ink-2) !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
body.cd-v308-studio .cd-top-center-tools .cd-btn::before {
  content: none !important;
  display: none !important;
}
body.cd-v308-studio .cd-top-center-tools .cd-btn:hover:not(:disabled) {
  background: #ffffff !important;
  color: var(--cd-ink) !important;
}
body.cd-v308-studio .cd-draft-status,
body.cd-v308-studio .cd-save-state {
  display: none !important;
}

body.cd-v308-studio .cd-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
}
body.cd-v308-studio .cd-top-actions .cd-btn,
body.cd-v308-studio .cd-top-actions #cdOrderTopBtn,
body.cd-v308-studio .cd-top-actions #cdPreview,
body.cd-v308-studio .cd-top-actions #cdSaveDesignTop {
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

/* 2. DESKTOP 3-COLUMN STUDIO LAYOUT */
@media (min-width: 761px) {
  html, body.cd-v308-studio {
    height: 100dvh !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio .cd-shell {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100dvh - 50px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    display: grid !important;
    grid-template-columns: 292px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* COLUMN 1: LEFT STUDIO PANEL (292px) */
  body.cd-v308-studio #cdToolsPanel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    height: 100% !important;
    max-height: 100% !important;
    width: 292px !important;
    background: #ffffff !important;
    border: 1px solid var(--cd-line) !important;
    border-radius: 14px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  }

  body.cd-v308-studio #cdToolsSticky {
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
    padding: 10px 10px 8px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--cd-line) !important;
    flex-shrink: 0 !important;
    z-index: 5 !important;
  }

  /* Active Product Bar at Top of Left Panel — Shows Full Name & Opens Catalog Modal */
  .cd-active-product-bar {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 9px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
    border: 1.5px solid #6ee7b7 !important;
    margin-bottom: 8px !important;
  }
  .cd-ap-thumb {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    background: #ffffff !important;
    border: 1px solid #a7f3d0 !important;
  }
  .cd-ap-copy {
    min-width: 0 !important;
  }
  .cd-ap-copy strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    color: #064e3b !important;
    white-space: normal !important;
  }
  .cd-ap-copy small {
    display: block !important;
    font-size: 9.5px !important;
    color: #047857 !important;
    font-weight: 700 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .cd-ap-switch-btn {
    height: 32px !important;
    padding: 0 9px !important;
    border-radius: 8px !important;
    border: 1.5px solid #059669 !important;
    background: #ffffff !important;
    color: #065f46 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 5px rgba(5, 150, 105, 0.1) !important;
  }
  .cd-ap-switch-btn:hover {
    background: #059669 !important;
    color: #ffffff !important;
  }

  /* 4-Tab Bar in Left Panel: Stacked Icon + Label so ZERO text touching or overflow! */
  body.cd-v308-studio #cdToolNav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    background: #f1f5f9 !important;
    padding: 4px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    overflow: hidden !important;
  }
  body.cd-v308-studio #cdToolNav button {
    min-height: 42px !important;
    height: 42px !important;
    padding: 3px 2px !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }
  body.cd-v308-studio #cdToolNav button span {
    display: block !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  body.cd-v308-studio #cdToolNav button:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
  }
  body.cd-v308-studio #cdToolNav button.active,
  body.cd-v308-studio #cdToolNav button[data-tool-target].active {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.24) !important;
  }
  body.cd-v308-studio #cdToolNav button.active span {
    color: #ffffff !important;
  }
  body.cd-v308-studio #cdToolNav [data-tool-target="cdPredesignSection"],
  body.cd-v308-studio #cdToolNav [data-tool-target="cdSavedSection"] {
    display: none !important;
  }

  /* Scrollable Left Panel Body — Remove Double Margins/Borders on Inner Sections */
  body.cd-v308-studio .cd-tools-scroll-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 10px !important;
    display: block !important;
  }
  body.cd-v308-studio .cd-tools-scroll-body > section,
  body.cd-v308-studio #cdAddSection,
  body.cd-v308-studio #cdObjectControls,
  body.cd-v308-studio #cdProductsTabSection,
  body.cd-v308-studio #cdLayersCard {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* MAIN DUAL WORKSPACE (Columns 2 & 3) */
  body.cd-v308-studio .cd-workspace {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio .cd-workspace-split {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.95fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio[data-cd-view="canvas"] .cd-workspace-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.cd-v308-studio[data-cd-view="canvas"] .cd-right-preview-col {
    display: none !important;
  }
  body.cd-v308-studio[data-cd-view="mockup"] .cd-workspace-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.cd-v308-studio[data-cd-view="mockup"] .cd-editor-pane {
    display: none !important;
  }

  /* CENTER COLUMN: HUGE DESIGNING CANVAS + SINGLE-LINE HEADER + SINGLE-LINE BOTTOM TOOLS */
  body.cd-v308-studio .cd-editor-pane {
    height: 100% !important;
    min-height: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--cd-line) !important;
    border-radius: 14px !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  }

  /* Single-Line Canvas Header — Never Overflows or Wraps Vertically! */
  body.cd-v308-studio .cd-pane-header {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  body.cd-v308-studio .cd-pane-title {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }
  body.cd-v308-studio .cd-pane-title strong {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: var(--cd-ink) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  /* Hide redundant long badges in pane header so it never wraps! */
  body.cd-v308-studio #cdProductBadge,
  body.cd-v308-studio #cdMaskBadge,
  body.cd-v308-studio #cdQualityBadge {
    display: none !important;
  }
  body.cd-v308-studio #cdSurfaceBadge {
    display: inline-flex !important;
    align-items: center !important;
    height: 22px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.cd-v308-studio .cd-view-mode-pills {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: #f1f5f9 !important;
    padding: 3px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    flex-shrink: 0 !important;
  }
  body.cd-v308-studio .cd-view-mode-pills button {
    height: 24px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  body.cd-v308-studio .cd-view-mode-pills button.is-active {
    background: #059669 !important;
    color: #ffffff !important;
  }

  body.cd-v308-studio .cd-editor-pane .cd-stage-wrap {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio .cd-editor-pane .cd-stage,
  body.cd-v308-studio #cdStage {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 260px !important;
    max-height: none !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px) !important;
    background-size: 16px 16px !important;
    border: 1px solid #cbd5e1 !important;
    position: relative !important;
    overflow: hidden !important;
  }
  body.cd-v308-studio #cdStage.is-editor::before,
  body.cd-v308-studio #cdStage.is-editor::after {
    display: none !important;
  }

  /* SINGLE-LINE BOTTOM TOOLS DOCK (नीचे टूल्स — ZERO WRAPPING, ZERO CLIPPING!) */
  body.cd-v308-studio .cd-bottom-tools-dock {
    flex-shrink: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 6px !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    border: 1px solid var(--cd-line) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }
  body.cd-v308-studio .cd-bottom-tools-dock::-webkit-scrollbar {
    display: none !important;
  }

  body.cd-v308-studio .cd-canvas-toolbar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar button,
  body.cd-v308-studio #cdCanvasSelect,
  body.cd-v308-studio #cdCanvasText,
  body.cd-v308-studio #cdCanvasImage,
  body.cd-v308-studio #cdCanvasDuplicate,
  body.cd-v308-studio #cdCanvasDelete {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: var(--cd-ink-2) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar button::before,
  body.cd-v308-studio #cdCanvasSelect::before,
  body.cd-v308-studio #cdCanvasText::before,
  body.cd-v308-studio #cdCanvasImage::before,
  body.cd-v308-studio #cdCanvasDuplicate::before,
  body.cd-v308-studio #cdCanvasDelete::before {
    content: none !important;
    display: none !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar button.active {
    background: var(--cd-brand) !important;
    border-color: var(--cd-brand) !important;
    color: #ffffff !important;
  }

  body.cd-v308-studio .cd-bottom-right-guides {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  body.cd-v308-studio #cdBleedToggle {
    display: none !important;
  }
  body.cd-v308-studio .cd-tool-toggle {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 7px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: var(--cd-muted) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
  }
  body.cd-v308-studio .cd-tool-toggle.active {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
  }
  body.cd-v308-studio .cd-zoom-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
  }
  body.cd-v308-studio .cd-zoom-btn,
  body.cd-v308-studio .cd-zoom-label {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
    border-radius: 6px !important;
  }
  body.cd-v308-studio .cd-stage-footer {
    display: none !important;
  }

  /* RIGHT COLUMN: HUGE SIDE-BY-SIDE LIVE PRODUCT PREVIEW + COMPACT ORDER CARD */
  body.cd-v308-studio .cd-right-preview-col {
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio #cdLivePreviewCard {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 240px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #a7f3d0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  body.cd-v308-studio .cd-live-preview-head {
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  body.cd-v308-studio .cd-live-preview-head strong {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: var(--cd-ink) !important;
    white-space: nowrap !important;
  }

  body.cd-v308-studio #cdLivePreviewCard .cd-live-preview-stage {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: none !important;
    border-radius: 11px !important;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0 !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.cd-v308-studio #cdLivePreviewCard .cd-live-preview-stage canvas {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: 98% !important;
    max-height: 98% !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* COMPACT ORDER & BULK CARD BELOW LIVE PREVIEW */
  body.cd-v308-studio #cdOrderCard {
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
    border: 1.5px solid #6ee7b7 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08) !important;
  }
  body.cd-v308-studio .cd-order-card-sub {
    display: none !important;
  }
  body.cd-v308-studio .cd-bulk-tiers-box {
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #a7f3d0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  body.cd-v308-studio .cd-bt-title {
    font-size: 10px !important;
    margin: 0 !important;
  }
  body.cd-v308-studio .cd-bt-pills {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
  }
  body.cd-v308-studio .cd-tier-pill {
    padding: 3px 7px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    border: 1px solid #6ee7b7 !important;
    background: #ffffff !important;
    color: #065f46 !important;
    cursor: pointer !important;
  }
  body.cd-v308-studio .cd-wa-quote-btn {
    width: 100% !important;
    margin-top: 4px !important;
    padding: 5px 8px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    border: 1px solid #34d399 !important;
    background: #ffffff !important;
    color: #065f46 !important;
    cursor: pointer !important;
  }
}

/* 3. UPLOAD, TEXT & LIBRARY BUTTONS ALIGNMENT (ZERO OVERLAP!) */
body.cd-v308-studio #cdAddTools {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.cd-v308-studio #cdLogoLabel,
body.cd-v308-studio #cdDesignLabel,
body.cd-v308-studio #cdAddText {
  position: relative !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 70px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 2px dashed #6ee7b7 !important;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
  text-align: left !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
body.cd-v308-studio #cdDesignLabel {
  border-color: #93c5fd !important;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important;
}
body.cd-v308-studio #cdAddText {
  min-height: 58px !important;
  border: 1.5px solid #c4b5fd !important;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%) !important;
}

/* Never let .is-auth-locked::after overlap the heading text! */
body.cd-v308-studio .cd-upload-btn.is-auth-locked::after,
body.cd-v308-studio #cdLogoLabel::after,
body.cd-v308-studio #cdDesignLabel::after {
  content: none !important;
  display: none !important;
}

body.cd-v308-studio .cd-upload-icon-big {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #059669 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}
body.cd-v308-studio #cdDesignLabel .cd-upload-icon-big {
  background: #2563eb !important;
}
body.cd-v308-studio #cdAddText .cd-upload-icon-big {
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
  background: #7c3aed !important;
}

body.cd-v308-studio .cd-upload-copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
body.cd-v308-studio .cd-upload-copy strong {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--cd-ink) !important;
  line-height: 1.22 !important;
}
body.cd-v308-studio .cd-upload-copy small {
  display: block !important;
  font-size: 10px !important;
  color: #475569 !important;
  line-height: 1.3 !important;
  margin-top: 1px !important;
}
.cd-login-inline-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  margin-top: 3px !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  background: #ede9fe !important;
  color: #5b21b6 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  width: fit-content !important;
}

/* Direct Quick Text Box inside Upload Tab */
.cd-direct-text-box {
  margin-top: 8px !important;
  padding: 9px 10px !important;
  border-radius: 11px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
.cd-direct-text-row {
  display: flex !important;
  gap: 6px !important;
  margin-top: 5px !important;
}
.cd-direct-text-row input {
  flex: 1 !important;
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
}
.cd-direct-text-row button {
  height: 32px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  border: 0 !important;
  background: #059669 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

/* Clean 3-Column Library Launchers (Templates | My Uploads | Saved) */
body.cd-v308-studio .cd-library-launchers {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  padding: 8px 0 0 !important;
  border: 0 !important;
}
body.cd-v308-studio .cd-library-launchers button {
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 4px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.cd-v308-studio .cd-library-launchers button::before,
body.cd-v308-studio .cd-library-launchers button:nth-child(1)::before,
body.cd-v308-studio .cd-library-launchers button:nth-child(2)::before,
body.cd-v308-studio .cd-library-launchers button:nth-child(3)::before {
  content: none !important;
  display: none !important;
}

/* 4. FULL-SCREEN 4-COLUMN PRODUCT CATALOG MODAL FOR 15–50+ PRODUCTS */
#cdProductCatalogModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 15000 !important;
  background: rgba(15, 23, 42, 0.68) !important;
  backdrop-filter: blur(5px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
}
.cd-pcat-card {
  width: min(1140px, 96vw) !important;
  height: min(820px, 90dvh) !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 2px solid #a7f3d0 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.cd-pcat-head {
  padding: 14px 20px !important;
  background: linear-gradient(90deg, #ecfdf5 0%, #ffffff 60%, #eff6ff 100%) !important;
  border-bottom: 1px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}
.cd-pcat-head h2 {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #064e3b !important;
}
.cd-pcat-head p {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  color: #475569 !important;
}
.cd-pcat-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
.cd-pcat-toolbar {
  padding: 12px 20px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  flex-shrink: 0 !important;
}
.cd-pcat-search {
  flex: 1 1 260px !important;
  max-width: 380px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  border: 1.5px solid #93c5fd !important;
  background: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.cd-pcat-cats {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.cd-pcat-cat-pill {
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.cd-pcat-cat-pill.active {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.22) !important;
}
.cd-pcat-grid {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 18px 20px !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 14px !important;
  align-content: start !important;
}
.cd-pcat-item {
  border-radius: 14px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
  text-align: left !important;
}
.cd-pcat-item:hover {
  transform: translateY(-2px) !important;
  border-color: #34d399 !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.12) !important;
}
.cd-pcat-item.active {
  border: 2px solid #059669 !important;
  background: #f0fdf4 !important;
}
.cd-pcat-thumb {
  width: 100% !important;
  height: 145px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.cd-pcat-thumb img {
  max-width: 94% !important;
  max-height: 94% !important;
  object-fit: contain !important;
}
.cd-pcat-item strong {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}
.cd-pcat-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  font-size: 11px !important;
  color: #047857 !important;
  font-weight: 800 !important;
}
.cd-pcat-select-btn {
  margin-top: auto !important;
  height: 34px !important;
  border-radius: 9px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  width: 100% !important;
}

/* ==========================================================================
   v310 — MY IMAGES DIRECT DELETE BUTTONS, LIBRARY SEARCH FIX & MOBILE STUDIO UI
   ========================================================================== */
#cdQuickCanvasClearBar[hidden] {
  display: none !important;
}

/* Fix Design Library Search Box cutoff & My Images Action Buttons (image_77ca3d.png) */
#cdLibraryModal .cd-library-toolbar {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
#cdLibraryModal .cd-library-toolbar label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
#cdLibraryModal #cdLibrarySearch {
  width: 220px !important;
  max-width: 65vw !important;
  height: 36px !important;
  padding: 0 11px !important;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  font-size: 12.5px !important;
  box-sizing: border-box !important;
}

/* My Images Card: Top-Right Delete Badge + 2 Clean Action Rows */
.cd-asset-top-del {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 6 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  border: 1px solid #fecaca !important;
  background: rgba(254, 242, 242, 0.96) !important;
  color: #dc2626 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15) !important;
  transition: all 0.15s ease !important;
}
.cd-asset-top-del:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

#cdLibraryModal #cdLibraryContent .cd-asset-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin-top: 7px !important;
}
#cdLibraryModal #cdLibraryContent .cd-asset-actions.cd-asset-row-3 {
  grid-template-columns: 1fr 1fr 1.15fr !important;
  margin-top: 6px !important;
}
#cdLibraryModal #cdLibraryContent .cd-asset-actions button,
#cdLibraryModal #cdLibraryContent .cd-asset-actions .cd-asset-download {
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}
#cdLibraryModal #cdLibraryContent .cd-asset-actions button.cd-asset-del-btn {
  background: #fef2f2 !important;
  border: 1.5px solid #fecaca !important;
  color: #dc2626 !important;
}
#cdLibraryModal #cdLibraryContent .cd-asset-actions button.cd-asset-del-btn:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

/* Layer Row with 6 items (Eye | Thumb | Name | Lock | Up | Delete) */
body.cd-v308-studio .cd-layer-row {
  display: grid !important;
  grid-template-columns: 26px 34px minmax(0, 1fr) 26px 26px 28px !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 8px !important;
  border-radius: 9px !important;
}

/* Active Product Bar & 4-Tab Nav Shared Styles (Applies on BOTH Desktop & Mobile Sheet!) */
.cd-active-product-bar {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
  border: 1.5px solid #6ee7b7 !important;
  margin-bottom: 8px !important;
}
.cd-ap-thumb {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: #ffffff !important;
  border: 1px solid #a7f3d0 !important;
}
.cd-ap-copy { min-width: 0 !important; }
.cd-ap-copy strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  color: #064e3b !important;
  white-space: normal !important;
}
.cd-ap-copy small {
  display: block !important;
  font-size: 9.5px !important;
  color: #047857 !important;
  font-weight: 700 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.cd-ap-switch-btn {
  height: 32px !important;
  padding: 0 9px !important;
  border-radius: 8px !important;
  border: 1.5px solid #059669 !important;
  background: #ffffff !important;
  color: #065f46 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

body.cd-v308-studio #cdToolNav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
}
body.cd-v308-studio #cdToolNav button {
  min-height: 42px !important;
  height: 42px !important;
  padding: 3px 2px !important;
  border-radius: 7px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
}
body.cd-v308-studio #cdToolNav button span {
  display: block !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
body.cd-v308-studio #cdToolNav button.active {
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #ffffff !important;
}
body.cd-v308-studio #cdToolNav button.active span {
  color: #ffffff !important;
}
body.cd-v308-studio #cdToolNav [data-tool-target="cdPredesignSection"],
body.cd-v308-studio #cdToolNav [data-tool-target="cdSavedSection"] {
  display: none !important;
}

/* ==========================================================================
   COMPLETE MOBILE STUDIO UI (@media max-width: 760px)
   ========================================================================== */
@media (max-width: 760px) {
  html, body.cd-v308-studio {
    height: auto !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: 70px !important;
  }

  /* 1. Clean 3-Column Mobile Topbar (← | Product Picker | Actions) */
  body.cd-v308-studio .cd-topbar {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 8px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body.cd-v308-studio .cd-top-left-links {
    display: contents !important;
  }
  body.cd-v308-studio .cd-brand,
  body.cd-v308-studio .cd-cart-pill,
  body.cd-v308-studio .cd-top-center-tools,
  body.cd-v308-studio .cd-wa-top-pill,
  body.cd-v308-studio #cdSaveDesignTop {
    display: none !important;
  }
  body.cd-v308-studio .cd-back.cd-back-pill {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    font-size: 16px !important;
    justify-content: center !important;
  }
  body.cd-v308-studio #cdMobileProductPicker {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    background: #ecfdf5 !important;
    border: 1.5px solid #6ee7b7 !important;
    min-width: 0 !important;
  }
  body.cd-v308-studio .cd-top-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body.cd-v308-studio .cd-top-actions .cd-btn,
  body.cd-v308-studio .cd-top-actions #cdOrderTopBtn,
  body.cd-v308-studio .cd-top-actions #cdPreview {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
    border-radius: 8px !important;
  }

  /* 2. Mobile Main Shell & Scrollable Dual-Pane Stack */
  body.cd-v308-studio .cd-shell {
    display: block !important;
    height: auto !important;
    padding: 8px !important;
    overflow: visible !important;
  }
  body.cd-v308-studio .cd-workspace {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.cd-v308-studio .cd-workspace-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Mobile Editor Pane (Canvas + Bottom Tools Dock) */
  body.cd-v308-studio .cd-editor-pane {
    background: #ffffff !important;
    border: 1px solid var(--cd-line) !important;
    border-radius: 14px !important;
    padding: 8px !important;
    height: auto !important;
  }
  body.cd-v308-studio .cd-pane-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
  }
  body.cd-v308-studio #cdProductBadge,
  body.cd-v308-studio #cdMaskBadge,
  body.cd-v308-studio #cdQualityBadge,
  body.cd-v308-studio #cdSurfaceBadge {
    display: none !important;
  }
  body.cd-v308-studio .cd-editor-pane .cd-stage-wrap {
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  body.cd-v308-studio .cd-editor-pane .cd-stage,
  body.cd-v308-studio #cdStage {
    width: 100% !important;
    height: 330px !important;
    min-height: 310px !important;
    max-height: 360px !important;
    border-radius: 12px !important;
  }

  /* Mobile Bottom Tools Dock — Keep Static inside Editor Card (Never float over screen!) */
  body.cd-v308-studio .cd-bottom-tools-dock {
    position: static !important;
    width: 100% !important;
    height: 40px !important;
    padding: 4px 6px !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar button {
    min-height: 30px !important;
    height: 30px !important;
    min-width: auto !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  body.cd-v308-studio .cd-canvas-toolbar button::before {
    display: none !important;
    content: none !important;
  }
  body.cd-v308-studio .cd-bottom-right-guides {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  /* Mobile Live Product Preview & Order Card — ALWAYS Visible Below Canvas! */
  body.cd-v308-studio .cd-right-preview-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    height: auto !important;
  }
  body.cd-v308-studio #cdLivePreviewCard,
  body.cd-v308-studio .cd-live-preview-persistent {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 280px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #a7f3d0 !important;
  }
  body.cd-v308-studio #cdLivePreviewCard .cd-live-preview-stage {
    min-height: 240px !important;
    height: 250px !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.cd-v308-studio #cdLivePreviewCard .cd-live-preview-stage canvas {
    max-width: 96% !important;
    max-height: 235px !important;
    width: auto !important;
    height: auto !important;
  }
  body.cd-v308-studio #cdOrderCard {
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  /* Mobile View Mode Switcher Support */
  body.cd-v308-studio[data-cd-view="canvas"] .cd-right-preview-col {
    display: none !important;
  }
  body.cd-v308-studio[data-cd-view="mockup"] .cd-editor-pane {
    display: none !important;
  }

  /* Mobile Slide-Up Bottom Sheet (#cdToolsPanel) */
  body.cd-v308-studio #cdToolsPanel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    top: auto !important;
    width: 100% !important;
    height: min(68dvh, 520px) !important;
    z-index: 82 !important;
    border-radius: 20px 20px 0 0 !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.cd-v308-studio .cd-tools-scroll-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 12px !important;
    display: block !important;
  }

  /* Mobile Product Catalog Modal (2 Columns on Phone) */
  .cd-pcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  .cd-pcat-thumb {
    height: 110px !important;
  }
}


