/* =========================================================
   CAN-SU DESIGNER V2
   Mevcut app.css dosyasının SONUNA ekleyin.
========================================================= */
.designer-v2-hero{padding:36px 0 30px;background:#f7f5f2;border-bottom:1px solid #ebe5e1}.designer-v2-hero__inner{display:flex;align-items:flex-end;justify-content:space-between;gap:48px}.designer-v2-hero .eyebrow{margin-bottom:8px}.designer-v2-hero h1{margin:0;font-size:clamp(32px,3.8vw,52px);line-height:1.04;letter-spacing:-2px}.designer-v2-hero p{max-width:690px;margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.65}.designer-v2-hero__steps{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.designer-v2-hero__steps span{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid #e5deda;border-radius:999px;background:#fff;color:#8a8385;font-size:9px;font-weight:800;letter-spacing:.04em}.designer-v2-hero__steps span.active{border-color:rgba(158,18,62,.18);color:var(--red);background:#f8eef2}.designer-v2-section{padding:30px 0 48px}.designer-v2-container{width:min(1480px,calc(100% - 36px))}.designer-v2-topbar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px;padding:6px 8px 6px 14px;border:1px solid #ebe5e1;border-radius:13px;background:#fff}.designer-v2-topbar__title{display:flex;align-items:center;gap:9px;color:#5e585a;font-size:11px}.designer-v2-status-dot{width:8px;height:8px;border-radius:50%;background:#72a91e;box-shadow:0 0 0 4px rgba(114,169,30,.11)}.designer-v2-history{display:flex;gap:5px}.designer-icon-btn,.designer-text-btn{min-height:34px;border:1px solid #e4ddda;border-radius:9px;background:#fff;color:#373234;cursor:pointer}.designer-icon-btn{width:36px;padding:0;font-size:19px}.designer-text-btn{padding:0 12px;font-size:10px;font-weight:800}.designer-icon-btn:disabled{opacity:.35;cursor:not-allowed}.designer-v2-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 245px;gap:14px;align-items:start}.designer-v2-sidebar,.designer-v2-summary{border:1px solid #ebe5e1;border-radius:16px;background:#fff}.designer-v2-sidebar{overflow:hidden}.designer-v2-panel-head{padding:19px 18px 15px;border-bottom:1px solid #eee8e4}.designer-v2-panel-head .eyebrow{margin-bottom:6px}.designer-v2-panel-head h2{margin:0;font-size:19px;letter-spacing:-.6px}.designer-accordion{border-bottom:1px solid #eee8e4}.designer-accordion:last-child{border-bottom:0}.designer-accordion summary{min-height:48px;display:flex;align-items:center;gap:10px;padding:0 17px;list-style:none;cursor:pointer;color:#2d292a;font-size:12px;font-weight:800}.designer-accordion summary::-webkit-details-marker{display:none}.designer-accordion summary span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#f6f2f1;color:var(--red);font-size:8px}.designer-accordion[open] summary{color:var(--red)}.designer-accordion__content{padding:3px 17px 17px}.designer-field{margin-top:12px}.designer-field label,.designer-add-text>label{display:block;margin-bottom:6px;color:#514b4d;font-size:9px;font-weight:800}.designer-field select,.designer-field input[type=text],.designer-field input[type=number],.designer-add-text input{width:100%;min-height:38px;padding:0 10px;border:1px solid #ddd6d2;border-radius:8px;background:#fff;color:#312c2e;font-size:11px}.designer-field input[type=range]{width:100%;margin:5px 0 0}.designer-custom-qty{display:none;margin-top:7px}.minimum-order{margin-top:7px;color:#8a8284;font-size:9px}.designer-help{display:block;margin-top:6px;color:#948c8e;font-size:8.5px;line-height:1.45}.designer-color-row{display:grid;grid-template-columns:44px 1fr;gap:7px}.designer-color-row input[type=color]{width:44px;height:38px;padding:3px;border:1px solid #ddd6d2;border-radius:8px;background:#fff}.designer-switch-row{display:flex;align-items:center;gap:9px;margin-top:15px;color:#625b5d;font-size:10px;cursor:pointer}.designer-switch-row input{margin:0}.designer-upload{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;border:1px dashed #cfc3c0;border-radius:9px;background:#faf8f6;cursor:pointer}.designer-upload strong{color:#4c4547;font-size:10px}.designer-upload span{color:#948c8e;font-size:8px}.designer-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.designer-logo-warning{margin-top:7px;padding:8px 9px;border-radius:8px;background:#fff5e9;color:#84531f;font-size:8.5px;line-height:1.45}.designer-align-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:12px}.designer-align-grid button{min-height:31px;padding:0 5px;border:1px solid #e1d9d6;border-radius:7px;background:#fff;color:#625b5d;font-size:8.5px;font-weight:700;cursor:pointer}.designer-align-grid button:hover{border-color:rgba(158,18,62,.3);color:var(--red)}.designer-add-text{margin-top:14px}.designer-add-text__row{display:grid;grid-template-columns:1fr auto;gap:6px}.designer-add-text__row button{min-width:55px;border:0;border-radius:8px;background:#f1e6ea;color:var(--red);font-size:9px;font-weight:800;cursor:pointer}.designer-layer-list{display:grid;gap:5px;margin-top:10px}.designer-layer-item{display:grid;grid-template-columns:1fr 28px;gap:4px}.designer-layer-item__name,.designer-layer-item__remove{min-height:31px;border:1px solid #e5dedb;border-radius:7px;background:#fff;cursor:pointer}.designer-layer-item__name{overflow:hidden;padding:0 9px;color:#5e5759;font-size:9px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.designer-layer-item__remove{padding:0;color:#9e123e;font-size:16px}.designer-layer-empty{padding:9px;border-radius:7px;background:#faf8f6;color:#9a9294;font-size:8.5px}.designer-v2-workspace{min-width:0}.designer-v2-preview-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 15px;border:1px solid #ebe5e1;border-radius:15px 15px 0 0;background:#fff}.designer-v2-preview-head .eyebrow{margin-bottom:3px;font-size:8px}.designer-v2-preview-head h2{margin:0;font-size:17px;letter-spacing:-.5px}.designer-side-tabs{display:inline-flex;gap:3px;padding:3px;border-radius:10px;background:#f5f1ef}.designer-side-tabs button{min-height:32px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:#766f71;font-size:9px;font-weight:800;cursor:pointer}.designer-side-tabs button.active{background:#fff;color:var(--red);box-shadow:0 2px 8px rgba(50,27,34,.08)}.designer-v2-canvas-stage{min-height:570px;display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px;border-right:1px solid #ebe5e1;border-left:1px solid #ebe5e1;background:linear-gradient(45deg,#f2eeec 25%,transparent 25%),linear-gradient(-45deg,#f2eeec 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f2eeec 75%),linear-gradient(-45deg,transparent 75%,#f2eeec 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}.designer-v2-canvas-shell{width:min(100%,960px);transition:transform .18s ease}#designerCanvas{width:100%;height:auto;display:block;border-radius:15px;box-shadow:0 18px 55px rgba(42,24,30,.13);touch-action:none;user-select:none;-webkit-user-select:none}.designer-v2-toolbar{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 11px;border:1px solid #ebe5e1;border-radius:0 0 15px 15px;background:#fff}.designer-v2-zoom{display:flex;align-items:center;gap:5px}.designer-v2-zoom button{min-height:30px;padding:0 9px;border:1px solid #e2dad7;border-radius:7px;background:#fff;color:#544e50;font-size:9px;font-weight:800;cursor:pointer}.designer-v2-zoom button:first-child,.designer-v2-zoom button:nth-child(3){width:31px;padding:0;font-size:16px}.designer-v2-zoom span{min-width:48px;color:#6c6567;font-size:9px;font-weight:800;text-align:center}.designer-v2-toolbar-note{display:flex;gap:13px;color:#989092;font-size:8.5px}.designer-v2-summary{position:sticky;top:94px;padding:17px}.designer-v2-summary .eyebrow{margin-bottom:6px}.designer-v2-summary h2{margin:0;font-size:20px;letter-spacing:-.6px}.designer-summary-list{margin:15px 0}.designer-summary-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee8e4}.designer-summary-list dt{color:#948c8e;font-size:8.5px}.designer-summary-list dd{max-width:135px;margin:0;color:#373133;font-size:9px;font-weight:800;text-align:right}.designer-summary-sides{display:grid;gap:7px;margin:13px 0}.designer-summary-sides>div{padding:7px;border:1px solid #ebe5e1;border-radius:9px;background:#faf8f6}.designer-summary-sides span{display:block;margin:0 0 5px;color:#8a8284;font-size:8px;font-weight:800}.designer-summary-sides canvas{width:100%;height:auto;border-radius:6px;background:#f7f5f2}.designer-v2-summary .micro{margin:10px 0 0;font-size:8.5px;line-height:1.5}.designer-mobile-actions{display:none}.designer-review-card{width:min(1040px,100%)}.designer-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:22px 0}.designer-review-grid>div{padding:10px;border:1px solid #e8e1de;border-radius:13px;background:#f9f7f5}.designer-review-grid span{display:block;margin-bottom:6px;color:#7c7476;font-size:9px;font-weight:800}.designer-review-grid canvas{width:100%;height:auto;border-radius:8px}.designer-review-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 20px}.designer-review-specs>div{padding:11px;border-radius:9px;background:#f7f5f2}.designer-review-specs span,.designer-review-specs strong{display:block}.designer-review-specs span{color:#948c8e;font-size:8px}.designer-review-specs strong{margin-top:3px;color:#302b2d;font-size:10px}.designer-review-actions{display:flex;justify-content:flex-end;gap:8px}.designer-modal-open{overflow:hidden}.form-grid-full{grid-column:1/-1}
@media(max-width:1180px){.designer-v2-layout{grid-template-columns:275px minmax(0,1fr)}.designer-v2-summary{position:static;grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.designer-v2-summary>.eyebrow,.designer-v2-summary>h2{grid-column:1/-1}.designer-summary-list{margin:0}.designer-summary-sides{grid-template-columns:1fr 1fr;margin:0}.designer-v2-summary>.btn,.designer-v2-summary>.micro{align-self:end}}
@media(max-width:900px){.designer-v2-hero{padding:27px 0 23px}.designer-v2-hero__inner{align-items:flex-start;flex-direction:column;gap:17px}.designer-v2-hero__steps{justify-content:flex-start}.designer-v2-section{padding:18px 0 90px}.designer-v2-container{width:min(100% - 24px,1480px)}.designer-v2-layout{display:flex;flex-direction:column}.designer-v2-workspace{order:1;width:100%}.designer-v2-sidebar{order:2;width:100%}.designer-v2-summary{order:3;width:100%;display:none}.designer-v2-canvas-stage{min-height:0;padding:10px}.designer-v2-canvas-shell{width:100%}.designer-v2-preview-head{padding:9px 10px}.designer-v2-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.designer-v2-toolbar-note{flex-wrap:wrap}.designer-mobile-actions{display:block;position:sticky;bottom:8px;z-index:9;margin-top:9px;padding:6px;border:1px solid rgba(158,18,62,.13);border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(55,27,36,.12);backdrop-filter:blur(10px)}.designer-review-grid{grid-template-columns:1fr}.designer-review-specs{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.designer-v2-hero h1{font-size:33px;letter-spacing:-1.4px}.designer-v2-hero__steps span{padding:0 8px;font-size:8px}.designer-v2-topbar{margin-bottom:8px}.designer-v2-preview-head{align-items:flex-start;flex-direction:column;gap:8px}.designer-side-tabs{width:100%}.designer-side-tabs button{flex:1}.designer-v2-zoom{width:100%}.designer-v2-zoom button:last-child{margin-left:auto}.designer-review-specs{grid-template-columns:1fr}.designer-review-actions{flex-direction:column}.designer-review-actions .btn{width:100%}}

/* =========================================================
   MOBILE EDITOR UX PATCH
   Mevcut kurallar korunur; yalnızca mobil davranışlar ezilir.
========================================================= */
@media(max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  .designer-v2-hero{padding:18px 0 14px}
  .designer-v2-hero__inner{gap:10px}
  .designer-v2-hero .eyebrow{margin-bottom:4px}
  .designer-v2-hero h1{font-size:clamp(27px,8.2vw,36px);line-height:1;letter-spacing:-1.35px}
  .designer-v2-hero p{margin-top:7px;font-size:12px;line-height:1.45}
  .designer-v2-hero__steps{width:100%;flex-wrap:nowrap;gap:5px;overflow-x:auto;justify-content:flex-start;padding-bottom:2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .designer-v2-hero__steps::-webkit-scrollbar{display:none}
  .designer-v2-hero__steps span{flex:0 0 auto;min-height:28px;padding:0 9px;font-size:8px}

  .designer-v2-section{padding:10px 0 calc(96px + env(safe-area-inset-bottom))}
  .designer-v2-container{width:calc(100% - 16px)}
  .designer-v2-topbar{min-height:42px;gap:8px;margin-bottom:8px;padding:4px 5px 4px 10px;border-radius:11px}
  .designer-v2-topbar__title{gap:7px;font-size:10px;white-space:nowrap}
  .designer-v2-status-dot{width:7px;height:7px;box-shadow:0 0 0 3px rgba(114,169,30,.11)}
  .designer-v2-history{gap:4px}
  .designer-icon-btn,.designer-text-btn{min-height:32px;border-radius:8px}
  .designer-icon-btn{width:32px;font-size:17px}
  .designer-text-btn{padding:0 9px;font-size:9px}

  .designer-v2-layout{gap:9px}
  .designer-v2-workspace{position:relative;order:1;width:100%;z-index:2}
  .designer-v2-sidebar{order:2;width:100%;border-radius:14px}
  .designer-v2-summary{order:3}

  .designer-v2-preview-head{min-height:52px;align-items:center;flex-direction:row;gap:8px;padding:7px 8px;border-radius:13px 13px 0 0}
  .designer-v2-preview-head>div:first-child{min-width:0}
  .designer-v2-preview-head .eyebrow{margin-bottom:2px;font-size:7px}
  .designer-v2-preview-head h2{overflow:hidden;font-size:15px;letter-spacing:-.35px;text-overflow:ellipsis;white-space:nowrap}
  .designer-side-tabs{flex:0 0 auto;width:auto;min-width:156px;padding:3px;border-radius:9px}
  .designer-side-tabs button{min-height:30px;padding:0 10px;font-size:8.5px}

  .designer-v2-canvas-stage{height:clamp(320px,52dvh,520px);min-height:320px;overflow:hidden;padding:8px;overscroll-behavior:contain}
  .designer-v2-canvas-shell{display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-height:100%}
  #designerCanvas{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:11px;box-shadow:0 10px 30px rgba(42,24,30,.12);touch-action:none}

  .designer-v2-toolbar{min-height:44px;align-items:center;flex-direction:row;gap:7px;padding:6px 7px;border-radius:0 0 13px 13px}
  .designer-v2-zoom{flex:0 0 auto;width:auto;gap:4px}
  .designer-v2-zoom button{min-height:29px;padding:0 7px}
  .designer-v2-zoom button:first-child,.designer-v2-zoom button:nth-child(3){width:29px}
  .designer-v2-zoom button:last-child{margin-left:0}
  .designer-v2-zoom span{min-width:42px;font-size:8px}
  .designer-v2-toolbar-note{min-width:0;flex:1;justify-content:flex-end;gap:7px;overflow:hidden;flex-wrap:nowrap;font-size:7.5px;white-space:nowrap}
  .designer-v2-toolbar-note>*{overflow:hidden;text-overflow:ellipsis}

  .designer-v2-panel-head{padding:13px 14px 11px}
  .designer-v2-panel-head .eyebrow{margin-bottom:4px}
  .designer-v2-panel-head h2{font-size:17px}
  .designer-accordion summary{min-height:46px;padding:0 14px;font-size:11px}
  .designer-accordion__content{padding:2px 14px 14px}
  .designer-field{margin-top:10px}
  .designer-field select,.designer-field input[type=text],.designer-field input[type=number],.designer-add-text input{min-height:42px;font-size:16px}
  .designer-color-row input[type=color]{height:42px}
  .designer-upload{padding:11px}
  .designer-align-grid button{min-height:36px;font-size:9px}
  .designer-add-text__row button{min-width:62px;font-size:10px}
  .designer-layer-item__name,.designer-layer-item__remove{min-height:36px}

  .designer-mobile-actions{display:block;position:fixed;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));left:8px;z-index:50;margin:0;padding:6px;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 34px rgba(55,27,36,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .designer-mobile-actions .btn{width:100%;min-height:52px;border-radius:12px;font-size:14px}
}

@media(max-width:580px){
  .designer-v2-hero{padding:14px 0 11px}
  .designer-v2-hero h1{font-size:27px;letter-spacing:-1.1px}
  .designer-v2-hero p{font-size:11px;line-height:1.4}
  .designer-v2-hero__steps span{min-height:27px;padding:0 8px;font-size:7.5px}
  .designer-v2-container{width:calc(100% - 12px)}

  .designer-v2-topbar__title{max-width:42%;overflow:hidden;text-overflow:ellipsis}
  .designer-v2-preview-head{min-height:48px;align-items:center;flex-direction:row;gap:6px;padding:6px}
  .designer-v2-preview-head .eyebrow{display:none}
  .designer-v2-preview-head h2{font-size:14px}
  .designer-side-tabs{width:auto;min-width:148px}
  .designer-side-tabs button{flex:1;min-height:29px;padding:0 8px}

  .designer-v2-canvas-stage{height:clamp(300px,50dvh,430px);min-height:300px;padding:6px}
  .designer-v2-toolbar{min-height:42px;padding:5px 6px}
  .designer-v2-toolbar-note{display:none}
  .designer-v2-zoom{width:100%;justify-content:center}
  .designer-v2-zoom button:last-child{margin-left:0}

  .designer-v2-sidebar{scroll-margin-top:8px}
  .designer-accordion summary{min-height:48px;font-size:11px}
  .designer-accordion summary span{width:25px;height:25px}
  .designer-accordion__content{padding:2px 12px 14px}
  .designer-field label,.designer-add-text>label{font-size:10px}
  .designer-help,.minimum-order{font-size:9px}

  .designer-mobile-actions{right:6px;left:6px;bottom:calc(6px + env(safe-area-inset-bottom));padding:5px}
  .designer-mobile-actions .btn{min-height:50px}
}

@supports not (height:100dvh){
  @media(max-width:900px){.designer-v2-canvas-stage{height:52vh}}
  @media(max-width:580px){.designer-v2-canvas-stage{height:50vh}}
}

/* =========================================================
   MOBILE DESIGNER APP SHELL V1
   Desktop Designer korunur. <=900px'de JS tarafindan eklenen
   .mobile-designer-app tam ekran mobil kabuk olarak calisir.
========================================================= */
.mobile-designer-app{display:none}

@media(max-width:900px){
  body.mobile-designer-active{overflow:hidden!important;overscroll-behavior:none}
  body.mobile-designer-active .designer-v2-hero,
  body.mobile-designer-active .designer-v2-section>.designer-v2-container>.designer-v2-topbar,
  body.mobile-designer-active .designer-v2-layout>.designer-v2-summary,
  body.mobile-designer-active .designer-mobile-actions{display:none!important}

  .mobile-designer-app{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f7f5f2;color:#2d292a;min-height:100dvh;height:100dvh;overflow:hidden}
  .mobile-designer-header{position:relative;z-index:6;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:calc(6px + env(safe-area-inset-top)) 10px 6px;border-bottom:1px solid #e9e2df;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .mobile-designer-back,.mobile-designer-done{min-height:38px;border:0;border-radius:10px;background:#f5f1ef;color:#373234;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
  .mobile-designer-back{width:38px;font-size:22px;line-height:1}
  .mobile-designer-done{padding:0 14px;background:var(--red,#9e123e);color:#fff}
  .mobile-designer-title{min-width:0;text-align:center}
  .mobile-designer-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2}
  .mobile-designer-title span{display:block;margin-top:2px;color:#908789;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

  .mobile-designer-main{position:relative;min-height:0;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#f7f5f2}
  .mobile-designer-canvas-host{position:relative;min-height:0;overflow:hidden;display:flex;flex-direction:column}
  .mobile-designer-canvas-host .designer-v2-workspace{display:grid!important;grid-template-rows:auto minmax(0,1fr);width:100%!important;height:100%!important;min-height:0;margin:0!important;padding:0!important;background:#f7f5f2}
  .mobile-designer-canvas-host .designer-v2-preview-head{min-height:46px!important;border:0!important;border-bottom:1px solid #eee8e4!important;border-radius:0!important;padding:6px 10px!important;background:#fff!important}
  .mobile-designer-canvas-host .designer-v2-preview-head>div:first-child{display:none!important}
  .mobile-designer-canvas-host .designer-side-tabs{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;padding:3px!important}
  .mobile-designer-canvas-host .designer-side-tabs button{min-height:34px!important;font-size:10px!important}
  .mobile-designer-canvas-host .designer-v2-canvas-stage{position:relative!important;min-height:0!important;height:auto!important;flex:1!important;overflow:hidden!important;padding:10px!important;border:0!important;background-color:#f5f2f0!important;touch-action:none!important}
  .mobile-designer-canvas-host .designer-v2-canvas-shell{width:100%!important;height:100%!important;max-height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;transform-origin:center center!important}
  .mobile-designer-canvas-host #designerCanvas{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;touch-action:none!important;box-shadow:0 12px 34px rgba(42,24,30,.13)!important}
  .mobile-designer-canvas-host .designer-v2-toolbar{position:absolute!important;right:10px!important;bottom:10px!important;left:auto!important;z-index:4!important;width:auto!important;min-height:0!important;padding:4px!important;border:1px solid rgba(221,214,210,.88)!important;border-radius:12px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 8px 24px rgba(45,25,31,.12)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
  .mobile-designer-canvas-host .designer-v2-toolbar-note{display:none!important}
  .mobile-designer-canvas-host .designer-v2-zoom{width:auto!important;display:flex!important;gap:3px!important}
  .mobile-designer-canvas-host .designer-v2-zoom button{min-width:34px!important;min-height:34px!important;border:0!important;background:#fff!important}
  .mobile-designer-canvas-host .designer-v2-zoom span{display:none!important}

  .mobile-designer-history{position:absolute;left:10px;bottom:10px;z-index:5;display:flex;gap:5px}
  .mobile-designer-history .designer-icon-btn{width:36px!important;height:36px!important;min-height:36px!important;border-radius:11px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 8px 22px rgba(45,25,31,.1)!important}

  .mobile-designer-toast{position:absolute;top:58px;left:50%;z-index:8;max-width:calc(100% - 32px);transform:translate(-50%,-10px);padding:8px 12px;border-radius:999px;background:rgba(42,38,39,.9);color:#fff;font-size:10px;font-weight:800;opacity:0;pointer-events:none;transition:.2s ease}
  .mobile-designer-toast.is-visible{opacity:1;transform:translate(-50%,0)}

  .mobile-designer-nav{position:relative;z-index:10;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px 5px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e9e2df;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .mobile-designer-nav button{min-width:0;min-height:52px;padding:5px 2px;border:0;border-radius:10px;background:transparent;color:#70686a;font:inherit;font-size:8px;font-weight:800;cursor:pointer}
  .mobile-designer-nav button::before{content:attr(data-icon);display:block;margin-bottom:3px;color:#383234;font-size:19px;font-weight:500;line-height:20px}
  .mobile-designer-nav button.is-active{background:#f7edf1;color:var(--red,#9e123e)}
  .mobile-designer-nav button.is-active::before{color:var(--red,#9e123e)}

  .mobile-designer-sheet{position:absolute;right:0;bottom:0;left:0;z-index:9;display:grid;grid-template-rows:auto minmax(0,1fr);height:min(44dvh,390px);max-height:72dvh;min-height:122px;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -18px 50px rgba(49,27,34,.16);transform:translateY(calc(100% - 0px));transition:transform .26s cubic-bezier(.2,.8,.2,1),height .22s ease;will-change:transform,height;touch-action:none}
  .mobile-designer-sheet.is-open{transform:translateY(0)}
  .mobile-designer-sheet.is-expanded{height:72dvh}
  .mobile-designer-sheet__handle{display:flex;align-items:center;justify-content:center;height:28px;cursor:grab;touch-action:none}
  .mobile-designer-sheet__handle::before{content:"";width:38px;height:4px;border-radius:99px;background:#d8d0cd}
  .mobile-designer-sheet__body{min-height:0;overflow:auto;padding:0 12px calc(18px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
  .mobile-designer-sheet__body .designer-v2-sidebar{display:block!important;width:100%!important;border:0!important;border-radius:0!important;overflow:visible!important;background:#fff!important}
  .mobile-designer-sheet__body .designer-v2-panel-head{display:none!important}
  .mobile-designer-sheet__body .designer-accordion{display:none!important;border:0!important}
  .mobile-designer-sheet__body .designer-accordion.mobile-panel-active{display:block!important}
  .mobile-designer-sheet__body .designer-accordion.mobile-panel-active>summary{display:none!important}
  .mobile-designer-sheet__body .designer-accordion__content{padding:2px 2px 12px!important}
  .mobile-designer-sheet__body .designer-field{margin-top:12px!important}
  .mobile-designer-sheet__body .designer-field label,.mobile-designer-sheet__body .designer-add-text>label{font-size:10px!important}
  .mobile-designer-sheet__body .designer-field select,.mobile-designer-sheet__body .designer-field input[type=text],.mobile-designer-sheet__body .designer-field input[type=number],.mobile-designer-sheet__body .designer-add-text input{min-height:44px!important;font-size:16px!important}
  .mobile-designer-sheet__body .designer-align-grid button{min-height:40px!important;font-size:10px!important}
  .mobile-designer-sheet__body .designer-upload{min-height:66px!important;justify-content:center!important}
  .mobile-designer-panel-title{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -2px 8px;padding:4px 2px 9px;background:#fff;border-bottom:1px solid #f0ebe8}
  .mobile-designer-panel-title strong{font-size:14px;letter-spacing:-.2px}
  .mobile-designer-panel-title button{width:32px;height:32px;border:0;border-radius:9px;background:#f5f1ef;color:#5d5658;font-size:18px;cursor:pointer}
}

@media(max-width:580px){
  .mobile-designer-header{min-height:50px;padding-right:7px;padding-left:7px}
  .mobile-designer-title strong{font-size:12px}
  .mobile-designer-done{padding:0 11px;font-size:12px}
  .mobile-designer-canvas-host .designer-v2-canvas-stage{padding:6px!important}
  .mobile-designer-nav button{min-height:50px;font-size:7.5px}
  .mobile-designer-sheet{height:min(46dvh,380px)}
  .mobile-designer-sheet.is-expanded{height:74dvh}
}

@supports not (height:100dvh){
  @media(max-width:900px){.mobile-designer-app{height:100vh;min-height:100vh}.mobile-designer-sheet{height:min(44vh,390px)}.mobile-designer-sheet.is-expanded{height:72vh}}
}
