.enot-modal{position:fixed;inset:0;background:rgba(18,13,22,.64);z-index:999999;display:none;padding:2vh 2vw}.enot-modal.open{display:block}.enot-shell{max-width:1480px;height:96vh;margin:auto;background:#fbfaf8;border-radius:22px;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;position:relative;box-shadow:0 25px 90px rgba(0,0,0,.28)}.enot-close{position:absolute;right:18px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer;z-index:3}.enot-progress{display:flex;gap:8px;padding:20px 56px 14px;border-bottom:1px solid #ebe6e8;overflow:auto}.enot-progress button{border:0;background:transparent;padding:8px 10px;white-space:nowrap;font-size:13px;opacity:.5}.enot-progress button.active{opacity:1;font-weight:700}.enot-progress button.done{opacity:.8}.enot-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);min-height:0}.enot-preview-pane{padding:28px;border-right:1px solid #ebe6e8;overflow:auto}.enot-preview-sticky{max-width:760px;margin:auto}.enot-controls-pane{padding:42px;overflow:auto}.enot-footer{border-top:1px solid #ebe6e8;padding:15px 42px;display:flex;justify-content:space-between;background:#fff}.enot-footer .button{min-width:130px}.enot-open{margin:10px 0}.enot-heading{font-size:30px;margin:0 0 6px}.enot-sub{opacity:.68;margin:0 0 26px}.enot-choice-grid{display:flex;flex-wrap:wrap;gap:18px}.enot-card-choice{border:1px solid #ddd3d8;background:#fff;border-radius:16px;padding:14px;min-width:130px;cursor:pointer;transition:.15s}.enot-card-choice.selected{border-color:#4f2b55;box-shadow:0 0 0 2px rgba(79,43,85,.12)}.enot-card-choice img{display:block;width:100%;height:95px;object-fit:cover;border-radius:10px;margin-bottom:9px}.enot-swatch-row{display:flex;flex-wrap:wrap;gap:16px;padding:18px 0}.enot-swatch{width:62px;height:62px;border-radius:50%;position:relative;border:2px solid transparent;cursor:pointer;padding:0;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08)}.enot-swatch img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.enot-swatch.selected{border-color:#4f2b55;transform:scale(1.06)}.enot-swatch[disabled]{opacity:.28;cursor:not-allowed}.enot-swatch:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);background:#251e26;color:#fff;font-size:12px;line-height:1.25;padding:7px 9px;border-radius:8px;white-space:pre;opacity:0;pointer-events:none;transition:.15s;z-index:8}.enot-swatch:hover:after{opacity:1}.enot-arc{display:none;position:absolute;inset:-22px;width:106px;height:106px;pointer-events:none;overflow:visible}.enot-swatch.selected .enot-arc{display:block}.enot-arc text{font-size:8.5px;letter-spacing:1.35px;fill:#4f2b55;font-weight:700;text-transform:uppercase}.enot-section{margin:26px 0}.enot-section h3{margin:0 0 8px;font-size:16px}.enot-size-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.enot-size{border:1px solid #ddd3d8;border-radius:14px;background:white;padding:16px;cursor:pointer;text-align:left}.enot-size.selected{border-color:#4f2b55;box-shadow:0 0 0 2px rgba(79,43,85,.12)}.enot-size strong{font-size:22px;display:block}.enot-refill-editor{display:grid;gap:14px}.enot-refill-slot{border:1px solid #e1dade;background:#fff;padding:15px;border-radius:16px}.enot-refill-slot h4{margin:0 0 12px}.enot-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.enot-fields select,.enot-textarea,.enot-comment{width:100%;border:1px solid #d8cfd4;border-radius:10px;padding:10px;background:#fff}.enot-refill-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.enot-mini-refill{height:120px;border-radius:7px;border:1px solid #ddd;background:#fff center/cover no-repeat;display:flex;align-items:flex-end;padding:7px;font-size:11px;overflow:hidden}.enot-total{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid #ebe6e8}.enot-total strong{font-size:22px}.enot-check{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #ddd3d8;border-radius:12px;background:#fff}.enot-review{display:grid;grid-template-columns:1fr;gap:10px}.enot-review-row{display:flex;justify-content:space-between;border-bottom:1px dashed #ddd;padding:8px 0}.enot-error{color:#b42318;font-size:13px;margin-top:6px}.enot-char-invalid{color:#b42318}.enot-qty{display:flex;align-items:center;gap:8px}.enot-qty input{width:64px}.enot-customer-tracker{margin-top:30px}.enot-track{display:flex;flex-wrap:wrap;gap:10px}.enot-track-step{display:flex;align-items:center;gap:6px;opacity:.42}.enot-track-step span{width:12px;height:12px;border:2px solid currentColor;border-radius:50%}.enot-track-step.done,.enot-track-step.current{opacity:1}.enot-track-step.done span{background:currentColor}.enot-track-step.current{font-weight:700}#enot-canvas{display:block;width:100%;height:auto;background:radial-gradient(circle at 50% 45%,#fff 0,#f6f1f3 66%,#efe8eb 100%);border-radius:20px}.enot-loading{opacity:.55;pointer-events:none}
@media(max-width:850px){.enot-modal{padding:0}.enot-shell{height:100vh;border-radius:0}.enot-progress{padding:14px 44px 10px 12px}.enot-layout{display:block;overflow:auto}.enot-preview-pane{padding:12px;border-right:0}.enot-preview-sticky{position:sticky;top:0;background:#fbfaf8;z-index:2;padding-bottom:8px}.enot-preview-sticky canvas{max-height:38vh;object-fit:contain}.enot-controls-pane{padding:18px}.enot-footer{padding:10px 14px}.enot-fields{grid-template-columns:1fr}.enot-refill-preview{grid-template-columns:repeat(4,minmax(70px,1fr))}.enot-swatch{width:54px;height:54px}.enot-arc{inset:-20px;width:94px;height:94px}}

/* Embedded Atelier mode */
.enot-modal.enot-inline{position:relative;inset:auto;display:block!important;background:transparent;z-index:auto;padding:0;margin:24px 0}.enot-modal.enot-inline .enot-shell{height:auto;min-height:760px;max-width:none;box-shadow:0 10px 40px rgba(0,0,0,.08);border:1px solid #ebe6e8}.enot-modal.enot-inline .enot-layout{min-height:620px}.enot-modal.enot-inline .enot-controls-pane,.enot-modal.enot-inline .enot-preview-pane{max-height:none;overflow:visible}.enot-modal.enot-inline .enot-preview-sticky{position:sticky;top:20px}.enot-modal.enot-inline .enot-close{display:none}
@media(max-width:850px){.enot-modal.enot-inline .enot-shell{height:auto;min-height:0;border-radius:18px}.enot-modal.enot-inline .enot-layout{overflow:visible}.enot-modal.enot-inline .enot-preview-sticky{position:relative;top:auto}.enot-modal.enot-inline .enot-preview-sticky canvas{max-height:none}}
.enot-char-preview{min-height:34px;margin-top:8px;padding:7px 10px;border-radius:9px;background:#fff;border:1px dashed #ddd3d8;font-size:18px;line-height:1.45;letter-spacing:.02em}.enot-char-preview:empty{display:none}.enot-char-bad{color:#b42318;background:#fee4e2;border-radius:3px;padding:0 1px}.enot-char-ok{color:inherit}

.enot-person-line{margin-top:16px}.enot-person-line h3{margin:0 0 8px}.enot-font-choices{margin-bottom:10px}.enot-font-choices .enot-card-choice{min-width:112px;padding:10px 14px}


/* v0.8+ refill visual guide and rounded-square cover choices */
.enot-refill-guide-section{margin-top:18px}
.enot-refill-guide{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:12px;margin-top:12px}
.enot-refill-guide-card{border:1px solid #e1dade;background:#fff;border-radius:16px;padding:10px;text-align:center}
.enot-refill-guide-card img,.enot-refill-guide-placeholder{display:block;width:100%;height:92px;object-fit:cover;border-radius:12px;margin-bottom:8px;background:#f4eef1}
.enot-refill-guide-placeholder{display:flex;align-items:center;justify-content:center;font-weight:700;color:#4f2b55}
.enot-refill-guide-card strong{font-size:13px;line-height:1.25;display:block}
.enot-refill-fields{grid-template-columns:1fr 1fr}
.enot-cover-picker{margin-top:14px}
.enot-cover-picker h5{margin:0 0 9px;font-size:13px}
.enot-square-row{display:flex;flex-wrap:wrap;gap:12px}
.enot-square-swatch{width:94px;border:2px solid transparent;border-radius:16px;background:#fff;position:relative;padding:6px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:.15s}
.enot-square-swatch img,.enot-square-placeholder{width:100%;height:74px;object-fit:cover;border-radius:12px;display:block;background:#f4eef1}
.enot-square-placeholder{display:flex;align-items:center;justify-content:center;font-weight:700;color:#4f2b55}
.enot-square-swatch small{display:block;margin-top:6px;font-size:11px;line-height:1.25;color:#2a2228;white-space:normal}
.enot-square-swatch.selected{border-color:#4f2b55;box-shadow:0 0 0 2px rgba(79,43,85,.12);transform:translateY(-1px)}
.enot-square-swatch:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);background:#251e26;color:#fff;font-size:12px;line-height:1.25;padding:7px 9px;border-radius:8px;white-space:pre;opacity:0;pointer-events:none;transition:.15s;z-index:8}
.enot-square-swatch:hover:after{opacity:1}
@media(max-width:850px){.enot-refill-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.enot-square-swatch{width:82px}.enot-square-swatch img,.enot-square-placeholder{height:66px}}

/* v0.11 UX refinements */
.enot-preview-pane{overflow:hidden!important;display:flex;min-height:0}.enot-preview-sticky{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.enot-preview-sticky #enot-canvas{flex:1 1 auto;min-height:0;max-height:calc(96vh - 245px);object-fit:contain}.enot-refill-preview{flex:0 0 auto}.enot-total{flex:0 0 auto}
.enot-footer{align-items:center}.enot-footer-price{font-size:13px;text-align:center}.enot-footer-price strong{font-size:18px;margin-left:6px;color:#4f2b55}
.enot-card-choice,.enot-size{color:#2b2027!important;background:#fff!important;border-color:#cfc3ca!important;opacity:1!important}.enot-card-choice strong,.enot-size strong,.enot-size b{color:#2b2027!important}.enot-card-choice:hover,.enot-size:hover{border-color:#7a5a7e!important;background:#faf7fb!important}.enot-card-choice.selected,.enot-size.selected{background:#f6eff8!important;border-color:#4f2b55!important;color:#2b2027!important}
.enot-swatch[disabled],.enot-square-swatch[disabled]{opacity:.32!important;filter:grayscale(1);cursor:not-allowed!important;transform:none!important}.enot-swatch[disabled]:hover:after,.enot-square-swatch[disabled]:hover:after{opacity:1}
.enot-refill-editor-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.enot-refill-editor-compact .enot-refill-slot{padding:11px;border-radius:13px}.enot-refill-editor-compact h4{margin-bottom:8px}.enot-refill-type-picker,.enot-cover-picker{margin-top:8px}.enot-field-label,.enot-cover-picker h5{display:block;font-size:12px;font-weight:600;margin-bottom:5px}.enot-refill-editor-compact .enot-square-row{gap:6px}.enot-refill-editor-compact .enot-square-swatch{width:62px;border-radius:12px;padding:4px}.enot-refill-editor-compact .enot-square-swatch img,.enot-refill-editor-compact .enot-square-placeholder{height:48px;border-radius:9px}.enot-refill-editor-compact .enot-square-swatch small{font-size:9px;margin-top:3px}.enot-refill-paper{margin-top:8px}.enot-refill-paper label{font-size:12px;font-weight:600}.enot-refill-paper select{display:block;width:100%;margin-top:4px;border:1px solid #d8cfd4;border-radius:9px;padding:7px;background:#fff}
.enot-person-line{margin:8px 0!important}.enot-person-line h3{margin:0 0 5px!important}.enot-person-line+.enot-person-line{margin-top:5px!important}.enot-textarea{line-height:1.05!important}
@media(max-width:850px){.enot-layout{display:flex!important;flex-direction:column;overflow:visible!important}.enot-preview-pane{order:1;overflow:hidden!important;display:block;padding:10px 12px}.enot-controls-pane{order:2;overflow:visible!important}.enot-preview-sticky{position:relative!important;top:auto!important;height:auto}.enot-preview-sticky #enot-canvas{max-height:42vh;width:100%;object-fit:contain}.enot-refill-editor-compact{grid-template-columns:1fr}.enot-footer-price{font-size:11px}.enot-footer-price strong{display:block;font-size:15px;margin:0}.enot-footer .button{min-width:92px}}
.enot-accessory-row.is-soldout{opacity:.38;filter:grayscale(1)}

/* v0.12 guided model/size and personalization visuals */
.enot-section-copy{margin:5px 0 12px;color:#6a5e66;font-size:13px;line-height:1.45}
.enot-model-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.enot-model-choice{min-height:92px;display:flex!important;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%}
.enot-model-choice .enot-choice-text{flex:1}.enot-model-choice img{width:90px!important;height:72px!important;object-fit:contain!important;margin:0!important;border-radius:10px;background:transparent}
.enot-model-description{margin-top:10px;padding:10px 12px;border-left:3px solid #4f2b55;background:#f8f4f8;border-radius:0 10px 10px 0;font-size:13px;line-height:1.45}
.enot-size{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:104px}.enot-size>span{display:flex;flex-direction:column;gap:2px}.enot-size small{font-size:11px;color:#746a70}.enot-size b{margin-top:4px}.enot-size img{width:74px;height:82px;object-fit:contain;flex:0 0 auto;background:transparent}
.enot-font-choice{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-width:150px;text-align:left}.enot-font-choice>span{display:flex;flex-direction:column}.enot-font-choice small{font-size:11px;color:#776d73}.enot-font-choice img{width:82px!important;height:62px!important;object-fit:contain!important;margin:0!important;background:transparent}
.enot-premium-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e1dade;border-radius:14px;padding:10px 12px;background:#fff}.enot-premium-toggle img{width:110px;height:72px;object-fit:contain;border-radius:10px;background:transparent}
.enot-refill-intro{margin-bottom:10px}.enot-refill-preview{margin-top:10px}
#enot-canvas{object-fit:contain}
@media(max-width:850px){.enot-model-choice-grid{grid-template-columns:1fr}.enot-size-row{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}.enot-size{min-width:180px;scroll-snap-align:start}.enot-font-choices{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.enot-font-choice{min-width:180px}.enot-square-row,.enot-swatch-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.enot-premium-toggle img{width:90px}.enot-section-copy{font-size:12px}}


/* v0.13 layered preview refinements */
.enot-swatch[data-group="leather_color"] img{object-fit:cover!important;object-position:center center!important;transform:scale(1.08);clip-path:circle(46% at 50% 50%)}
.enot-swatch[data-group="bead"] img{object-fit:contain!important;object-position:center!important;transform:none!important;background:transparent}

/* v0.14.2: vertical refill strip beside a larger notebook preview */
.enot-preview-stage{display:grid;grid-template-columns:108px minmax(0,1fr);gap:14px;align-items:center;flex:1 1 auto;min-height:0;width:100%}
.enot-preview-stage #enot-canvas{grid-column:2;width:100%;height:auto;min-width:0}
.enot-preview-stage .enot-refill-preview{grid-column:1;display:grid;grid-template-columns:1fr;gap:8px;margin:0;align-self:center;min-width:0}
.enot-preview-stage .enot-mini-refill{height:105px;width:100%;min-width:0;border-radius:10px;padding:5px;font-size:10px;box-sizing:border-box}
.enot-preview-stage .enot-mini-refill span{width:100%;line-height:1.2;background:rgba(20,14,18,.72);color:#fff;border-radius:6px;padding:4px;box-sizing:border-box}
@media(max-width:850px){.enot-preview-stage{grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center}.enot-preview-stage .enot-mini-refill{height:72px;border-radius:8px;font-size:8.5px;padding:3px}.enot-preview-stage .enot-mini-refill span{padding:3px}.enot-preview-sticky #enot-canvas{max-height:42vh}}


/* v0.14.3: larger Atelier preview viewport + smaller refill strip */
@media(min-width:851px){
  .enot-shell{max-width:1680px}
  .enot-layout{grid-template-columns:minmax(0,1.32fr) minmax(380px,.68fr)}
  .enot-preview-pane{padding:18px 20px}
  .enot-preview-sticky{max-width:980px}
  .enot-preview-sticky #enot-canvas{max-height:calc(96vh - 205px)}
  .enot-preview-stage{grid-template-columns:78px minmax(0,1fr);gap:10px}
  .enot-preview-stage .enot-mini-refill{height:78px;border-radius:8px;padding:3px;font-size:8.5px}
  .enot-preview-stage .enot-mini-refill span{padding:3px;font-size:8.5px;line-height:1.12}
}
@media(max-width:850px){
  .enot-preview-stage{grid-template-columns:56px minmax(0,1fr);gap:7px}
  .enot-preview-stage .enot-mini-refill{height:58px;border-radius:7px;font-size:7.5px;padding:2px}
  .enot-preview-stage .enot-mini-refill span{padding:2px;font-size:7.5px;line-height:1.08}
  .enot-preview-sticky #enot-canvas{max-height:46vh}
}


/* v0.14.5: portrait Atelier preview with more room for controls */
@media(min-width:851px){
  .enot-shell{max-width:1500px}
  .enot-layout{grid-template-columns:minmax(500px,.92fr) minmax(500px,1.08fr)}
  .enot-preview-pane{padding:18px 18px}
  .enot-preview-sticky{max-width:760px}
  .enot-preview-stage{grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center}
  .enot-preview-stage #enot-canvas{width:min(100%,690px);height:auto;max-height:calc(96vh - 185px);justify-self:center;object-fit:contain}
  .enot-preview-stage .enot-refill-preview{gap:9px}
  .enot-preview-stage .enot-mini-refill{width:82px;height:112px;border-radius:10px;padding:4px;font-size:8.5px;justify-self:center;background-size:cover;background-position:center}
  .enot-preview-stage .enot-mini-refill span{padding:3px 4px;font-size:8px;line-height:1.12}
  .enot-controls-pane{padding:34px 38px}
}
@media(max-width:850px){
  .enot-preview-stage{grid-template-columns:62px minmax(0,1fr);gap:8px;align-items:center}
  .enot-preview-stage #enot-canvas{width:100%;height:auto;max-height:48vh;object-fit:contain}
  .enot-preview-stage .enot-mini-refill{width:58px;height:84px;border-radius:8px;padding:3px;font-size:7.5px}
  .enot-preview-stage .enot-mini-refill span{font-size:7px;line-height:1.08;padding:2px 3px}
}

/* v0.14.6 — compact model/size selection history above both Atelier columns */
.enot-selection-history{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 56px;border-bottom:1px solid #eee8eb;background:#fffafc;color:#3e3038;font-size:13px;line-height:1.25}
.enot-selection-history-label{font-weight:700;color:#4f2b55}
.enot-selection-history-value{font-weight:500}
.enot-selection-history-value strong{font-size:14px}
.enot-selection-history-dot{display:inline-block;margin:0 3px;color:#aa8e9e}
.enot-selection-history-empty{opacity:.55;font-style:italic}
@media(max-width:850px){.enot-selection-history{padding:7px 12px;min-height:34px;font-size:12px;overflow:hidden;white-space:nowrap}.enot-selection-history-value{overflow:hidden;text-overflow:ellipsis}}


/* v0.15.0 — dedicated mobile Atelier layout */
@media (max-width:850px){
  .enot-modal:not(.enot-inline){padding:0!important;height:100dvh;overflow:hidden}
  .enot-modal:not(.enot-inline) .enot-shell{
    width:100%;max-width:none;height:100dvh;min-height:0;border-radius:0;
    grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;
  }
  .enot-modal:not(.enot-inline) .enot-progress{
    padding:9px 42px 7px 10px;gap:3px;min-height:38px;overflow-x:auto;overflow-y:hidden;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#fff;
  }
  .enot-modal:not(.enot-inline) .enot-progress::-webkit-scrollbar{display:none}
  .enot-modal:not(.enot-inline) .enot-progress button{
    flex:0 0 auto;font-size:11px;padding:6px 7px;border-radius:999px;
  }
  .enot-modal:not(.enot-inline) .enot-progress button.active{background:#f2e9f1}
  .enot-modal:not(.enot-inline) .enot-selection-history{
    min-height:30px;padding:5px 11px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .enot-modal:not(.enot-inline) .enot-layout{
    display:block!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fbfaf8;
  }
  .enot-modal:not(.enot-inline) .enot-preview-pane{
    display:block!important;padding:8px 10px 4px!important;border:0!important;overflow:visible!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-sticky{
    position:relative!important;top:auto!important;width:100%;height:auto!important;max-width:520px;margin:0 auto;
    padding:0!important;background:transparent!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage{
    display:flex!important;flex-direction:column!important;gap:6px!important;align-items:center!important;width:100%;min-height:0;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{
    order:1!important;width:min(100%,390px)!important;max-width:100%!important;height:auto!important;
    max-height:none!important;object-fit:contain!important;justify-self:auto!important;border-radius:14px;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{
    order:2!important;width:min(100%,390px)!important;display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:0!important;align-self:auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill{
    width:100%!important;height:58px!important;min-width:0!important;border-radius:7px!important;padding:2px!important;
    font-size:7px!important;background-position:center!important;background-size:cover!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill span{
    padding:2px!important;font-size:6.8px!important;line-height:1.05!important;border-radius:4px!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .enot-modal:not(.enot-inline) .enot-total{display:none!important}
  .enot-modal:not(.enot-inline) .enot-controls-pane{
    padding:10px 14px 22px!important;overflow:visible!important;width:auto!important;min-width:0!important;
  }
  .enot-modal:not(.enot-inline) .enot-heading{font-size:22px!important;line-height:1.15;margin-bottom:5px!important}
  .enot-modal:not(.enot-inline) .enot-sub{font-size:12px;margin-bottom:14px!important}
  .enot-modal:not(.enot-inline) .enot-section{margin:16px 0!important}
  .enot-modal:not(.enot-inline) .enot-section h3{font-size:14px;margin-bottom:6px!important}
  .enot-modal:not(.enot-inline) .enot-section-copy{font-size:11.5px;line-height:1.35;margin-bottom:8px}
  .enot-modal:not(.enot-inline) .enot-model-choice-grid{
    display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:8px!important;padding:1px 1px 6px;
    scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .enot-modal:not(.enot-inline) .enot-model-choice-grid::-webkit-scrollbar{display:none}
  .enot-modal:not(.enot-inline) .enot-model-choice{
    flex:0 0 210px!important;min-width:210px!important;min-height:78px!important;padding:10px!important;scroll-snap-align:start;
  }
  .enot-modal:not(.enot-inline) .enot-model-choice img{width:72px!important;height:58px!important}
  .enot-modal:not(.enot-inline) .enot-model-description{font-size:11.5px;padding:8px 10px;margin-top:6px}
  .enot-modal:not(.enot-inline) .enot-size-row{
    display:flex!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    padding:1px 1px 6px;
  }
  .enot-modal:not(.enot-inline) .enot-size-row::-webkit-scrollbar{display:none}
  .enot-modal:not(.enot-inline) .enot-size{flex:0 0 165px!important;min-width:165px!important;min-height:90px!important;padding:10px!important}
  .enot-modal:not(.enot-inline) .enot-size img{width:58px!important;height:66px!important}
  .enot-modal:not(.enot-inline) .enot-size strong{font-size:18px!important}
  .enot-modal:not(.enot-inline) .enot-swatch-row,
  .enot-modal:not(.enot-inline) .enot-square-row,
  .enot-modal:not(.enot-inline) .enot-font-choices{
    display:flex!important;overflow-x:auto!important;overflow-y:visible!important;flex-wrap:nowrap!important;
    gap:10px!important;padding:12px 18px 8px 2px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .enot-modal:not(.enot-inline) .enot-swatch-row::-webkit-scrollbar,
  .enot-modal:not(.enot-inline) .enot-square-row::-webkit-scrollbar,
  .enot-modal:not(.enot-inline) .enot-font-choices::-webkit-scrollbar{display:none}
  .enot-modal:not(.enot-inline) .enot-swatch{flex:0 0 52px!important;width:52px!important;height:52px!important}
  .enot-modal:not(.enot-inline) .enot-arc{inset:-18px!important;width:88px!important;height:88px!important}
  .enot-modal:not(.enot-inline) .enot-swatch:after,
  .enot-modal:not(.enot-inline) .enot-square-swatch:after{display:none!important}
  .enot-modal:not(.enot-inline) .enot-square-swatch{flex:0 0 76px!important;width:76px!important;padding:5px!important;border-radius:12px!important}
  .enot-modal:not(.enot-inline) .enot-square-swatch img,
  .enot-modal:not(.enot-inline) .enot-square-placeholder{height:60px!important;border-radius:9px!important}
  .enot-modal:not(.enot-inline) .enot-square-swatch small{font-size:9px!important;margin-top:4px!important}
  .enot-modal:not(.enot-inline) .enot-refill-editor-compact{grid-template-columns:1fr!important;gap:8px!important}
  .enot-modal:not(.enot-inline) .enot-refill-slot{padding:10px!important;border-radius:12px!important}
  .enot-modal:not(.enot-inline) .enot-refill-slot h4{font-size:13px;margin-bottom:8px!important}
  .enot-modal:not(.enot-inline) .enot-fields{grid-template-columns:1fr!important;gap:7px!important}
  .enot-modal:not(.enot-inline) .enot-fields select,
  .enot-modal:not(.enot-inline) .enot-textarea,
  .enot-modal:not(.enot-inline) .enot-comment{font-size:16px!important;padding:9px!important;border-radius:9px!important}
  .enot-modal:not(.enot-inline) .enot-person-line{margin-top:8px!important}
  .enot-modal:not(.enot-inline) .enot-person-line+.enot-person-line{margin-top:8px!important}
  .enot-modal:not(.enot-inline) .enot-font-choice{flex:0 0 166px!important;min-width:166px!important;padding:8px 10px!important}
  .enot-modal:not(.enot-inline) .enot-font-choice img{width:66px!important;height:50px!important}
  .enot-modal:not(.enot-inline) .enot-premium-toggle{padding:8px 10px!important;align-items:flex-start!important}
  .enot-modal:not(.enot-inline) .enot-premium-toggle img{width:74px!important;height:54px!important}
  .enot-modal:not(.enot-inline) .enot-footer{
    position:relative!important;z-index:20;padding:8px 10px!important;gap:8px!important;min-height:58px;
    border-top:1px solid #e4dce1;background:rgba(255,255,255,.98)!important;box-shadow:0 -6px 18px rgba(30,18,25,.06);
  }
  .enot-modal:not(.enot-inline) .enot-footer .button{
    min-width:0!important;min-height:42px!important;padding:8px 12px!important;font-size:13px!important;white-space:nowrap;
  }
  .enot-modal:not(.enot-inline) .enot-footer-price{flex:1;font-size:10px!important;line-height:1.1!important}
  .enot-modal:not(.enot-inline) .enot-footer-price strong{display:block!important;font-size:16px!important;margin:2px 0 0!important}
  .enot-modal:not(.enot-inline) .enot-close{top:5px;right:8px;width:36px;height:36px;line-height:32px;font-size:26px}
}

/* Inline/mobile keeps the same order but scrolls naturally with the page. */
@media (max-width:850px){
  .enot-modal.enot-inline .enot-preview-stage{display:flex!important;flex-direction:column!important;gap:6px!important}
  .enot-modal.enot-inline .enot-preview-stage #enot-canvas{order:1;width:min(100%,390px)!important;max-height:none!important;margin:auto}
  .enot-modal.enot-inline .enot-preview-stage .enot-refill-preview{order:2;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(100%,390px)!important;margin:0 auto!important;gap:5px!important}
  .enot-modal.enot-inline .enot-preview-stage .enot-mini-refill{width:100%!important;height:58px!important}
}


/* v0.15.1 — phone-fit Atelier. These final rules intentionally override all older mobile experiments. */
@media (max-width:600px){
  .enot-modal:not(.enot-inline){
    width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;
    padding:0!important;overflow:hidden!important;
  }
  .enot-modal:not(.enot-inline) .enot-shell{
    width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;
    min-height:0!important;margin:0!important;border-radius:0!important;overflow:hidden!important;
    display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-progress{
    min-height:34px!important;padding:6px 38px 5px 8px!important;gap:3px!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;
  }
  .enot-modal:not(.enot-inline) .enot-progress button{font-size:10px!important;padding:5px 7px!important}
  .enot-modal:not(.enot-inline) .enot-selection-history{
    min-height:27px!important;padding:4px 9px!important;font-size:10.5px!important;
  }
  .enot-modal:not(.enot-inline) .enot-layout{
    min-height:0!important;height:100%!important;display:block!important;
    overflow-y:auto!important;overflow-x:hidden!important;scroll-behavior:auto!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
  }
  /* Keep the actual configured Enot visible while the options below it scroll. */
  .enot-modal:not(.enot-inline) .enot-preview-pane{
    position:sticky!important;top:0!important;z-index:12!important;display:block!important;
    width:100%!important;box-sizing:border-box!important;padding:5px 8px 4px!important;
    border:0!important;background:#fbfaf8!important;overflow:hidden!important;
    box-shadow:0 5px 12px rgba(35,25,31,.04)!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-sticky{
    position:relative!important;top:auto!important;width:100%!important;max-width:none!important;
    height:auto!important;margin:0!important;padding:0!important;display:block!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage{
    width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;
    gap:3px!important;min-height:0!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{
    order:1!important;display:block!important;
    width:auto!important;height:auto!important;
    max-width:min(68vw,280px)!important;max-height:31dvh!important;
    aspect-ratio:760 / 920!important;object-fit:contain!important;border-radius:11px!important;
    flex:0 0 auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{
    order:2!important;width:min(74vw,305px)!important;display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin:1px auto 0!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill{
    width:100%!important;height:48px!important;min-height:0!important;border-radius:6px!important;
    padding:2px!important;font-size:6.6px!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill span{
    font-size:6.4px!important;line-height:1!important;padding:2px!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  .enot-modal:not(.enot-inline) .enot-total{display:none!important}
  .enot-modal:not(.enot-inline) .enot-controls-pane{
    width:100%!important;min-width:0!important;box-sizing:border-box!important;
    padding:9px 11px 18px!important;overflow:visible!important;
  }
  .enot-modal:not(.enot-inline) .enot-heading{font-size:19px!important;margin:0 0 4px!important}
  .enot-modal:not(.enot-inline) .enot-sub{font-size:11px!important;margin:0 0 10px!important}
  .enot-modal:not(.enot-inline) .enot-section{margin:12px 0!important}
  .enot-modal:not(.enot-inline) .enot-section h3{font-size:13px!important;margin:0 0 5px!important}
  .enot-modal:not(.enot-inline) .enot-section-copy{font-size:10.5px!important;line-height:1.3!important;margin:0 0 6px!important}

  /* Model selection fits the phone instead of becoming a wide carousel. */
  .enot-modal:not(.enot-inline) .enot-model-choice-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;overflow:visible!important;padding:0!important;
  }
  .enot-modal:not(.enot-inline) .enot-model-choice{
    width:100%!important;min-width:0!important;min-height:60px!important;padding:7px!important;gap:5px!important;
  }
  .enot-modal:not(.enot-inline) .enot-model-choice img{
    width:48px!important;height:46px!important;max-width:42%!important;object-fit:contain!important;
  }
  .enot-modal:not(.enot-inline) .enot-model-choice strong{font-size:12px!important}
  .enot-modal:not(.enot-inline) .enot-model-description{font-size:10.5px!important;line-height:1.3!important;padding:6px 8px!important;margin-top:5px!important}

  /* All three sizes fit on screen at once. */
  .enot-modal:not(.enot-inline) .enot-size-row{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;overflow:visible!important;padding:0!important;
  }
  .enot-modal:not(.enot-inline) .enot-size{
    width:100%!important;min-width:0!important;min-height:78px!important;padding:6px!important;gap:3px!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;
  }
  .enot-modal:not(.enot-inline) .enot-size>span{align-items:center!important;gap:0!important}
  .enot-modal:not(.enot-inline) .enot-size strong{font-size:16px!important}
  .enot-modal:not(.enot-inline) .enot-size small{font-size:8.5px!important;line-height:1.1!important}
  .enot-modal:not(.enot-inline) .enot-size b{font-size:10px!important;margin-top:2px!important}
  .enot-modal:not(.enot-inline) .enot-size img{width:39px!important;height:43px!important;object-fit:contain!important}

  /* Long option collections remain touch-scrollable, with a small visible scrollbar where the browser supports it. */
  .enot-modal:not(.enot-inline) .enot-swatch-row,
  .enot-modal:not(.enot-inline) .enot-square-row,
  .enot-modal:not(.enot-inline) .enot-font-choices{
    display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
    gap:8px!important;padding:10px 4px 8px!important;scroll-snap-type:x proximity!important;
    scrollbar-width:thin!important;scrollbar-color:#b9a8b4 #eee8ec!important;-webkit-overflow-scrolling:touch!important;
  }
  .enot-modal:not(.enot-inline) .enot-swatch-row::-webkit-scrollbar,
  .enot-modal:not(.enot-inline) .enot-square-row::-webkit-scrollbar,
  .enot-modal:not(.enot-inline) .enot-font-choices::-webkit-scrollbar{display:block!important;height:4px!important}
  .enot-modal:not(.enot-inline) .enot-swatch-row::-webkit-scrollbar-track,
  .enot-modal:not(.enot-inline) .enot-square-row::-webkit-scrollbar-track,
  .enot-modal:not(.enot-inline) .enot-font-choices::-webkit-scrollbar-track{background:#eee8ec!important;border-radius:4px!important}
  .enot-modal:not(.enot-inline) .enot-swatch-row::-webkit-scrollbar-thumb,
  .enot-modal:not(.enot-inline) .enot-square-row::-webkit-scrollbar-thumb,
  .enot-modal:not(.enot-inline) .enot-font-choices::-webkit-scrollbar-thumb{background:#b9a8b4!important;border-radius:4px!important}
  .enot-modal:not(.enot-inline) .enot-swatch{flex:0 0 48px!important;width:48px!important;height:48px!important;scroll-snap-align:start!important}
  .enot-modal:not(.enot-inline) .enot-arc{inset:-17px!important;width:82px!important;height:82px!important}
  .enot-modal:not(.enot-inline) .enot-square-swatch{flex:0 0 72px!important;width:72px!important;scroll-snap-align:start!important}
  .enot-modal:not(.enot-inline) .enot-square-swatch img,
  .enot-modal:not(.enot-inline) .enot-square-placeholder{height:55px!important}
  .enot-modal:not(.enot-inline) .enot-font-choice{flex:0 0 145px!important;min-width:145px!important;scroll-snap-align:start!important}

  .enot-modal:not(.enot-inline) .enot-refill-editor-compact{grid-template-columns:1fr!important;gap:7px!important}
  .enot-modal:not(.enot-inline) .enot-refill-slot{padding:8px!important;border-radius:10px!important}
  .enot-modal:not(.enot-inline) .enot-fields select,
  .enot-modal:not(.enot-inline) .enot-textarea,
  .enot-modal:not(.enot-inline) .enot-comment{font-size:16px!important;padding:8px!important}

  .enot-modal:not(.enot-inline) .enot-footer{
    min-height:54px!important;padding:6px 8px!important;gap:6px!important;position:relative!important;
    background:#fff!important;box-shadow:0 -4px 14px rgba(30,18,25,.08)!important;
  }
  .enot-modal:not(.enot-inline) .enot-footer .button{min-height:40px!important;padding:7px 9px!important;font-size:12px!important}
  .enot-modal:not(.enot-inline) .enot-footer-price{font-size:9px!important;line-height:1!important}
  .enot-modal:not(.enot-inline) .enot-footer-price strong{font-size:15px!important}
}

/* Very narrow phones */
@media (max-width:380px){
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{max-width:min(64vw,235px)!important;max-height:28dvh!important}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{width:min(78vw,275px)!important}
  .enot-modal:not(.enot-inline) .enot-model-choice img{width:42px!important;height:40px!important}
  .enot-modal:not(.enot-inline) .enot-size{min-height:72px!important;padding:5px!important}
  .enot-modal:not(.enot-inline) .enot-size img{width:34px!important;height:38px!important}
}


/* v0.16.0 — true sequential phone wizard. Preview is a fixed row; only the active question scrolls. */
@media (max-width:700px){
  .enot-modal:not(.enot-inline) .enot-shell{grid-template-rows:auto auto minmax(0,1fr) auto!important;}
  .enot-modal:not(.enot-inline) .enot-progress{overflow:hidden!important;min-height:32px!important;padding:5px 40px 4px 10px!important;display:block!important;}
  .enot-phone-progress{display:flex;align-items:center;gap:5px;font-size:10px;color:#766875;white-space:nowrap;}
  .enot-phone-progress strong{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#4f2b55;color:#fff;font-size:10px;}
  .enot-phone-progress b{font-size:11px;color:#342a31;margin-left:4px;overflow:hidden;text-overflow:ellipsis;}
  .enot-modal:not(.enot-inline) .enot-selection-history{min-height:25px!important;padding:3px 9px!important;}
  .enot-modal:not(.enot-inline) .enot-layout{
    height:100%!important;min-height:0!important;display:grid!important;
    grid-template-rows:minmax(155px,32dvh) minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-pane{
    position:relative!important;top:auto!important;z-index:5!important;overflow:hidden!important;
    height:100%!important;padding:3px 7px!important;border-bottom:1px solid #ece5e9!important;
    background:#fbfaf8!important;box-shadow:none!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-sticky{height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage{height:100%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{max-height:26dvh!important;max-width:min(62vw,260px)!important;width:auto!important;height:auto!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{width:min(68vw,285px)!important;gap:3px!important;margin:0 auto!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill{height:39px!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill span{font-size:5.8px!important;}
  .enot-modal:not(.enot-inline) .enot-controls-pane{
    height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding:8px 10px 20px!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
  }
  .enot-phone-wizard{max-width:560px;margin:0 auto;padding-bottom:10px;}
  .enot-phone-section-title{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8c7b87;margin:2px 2px 7px;}
  .enot-phone-done{width:100%;min-height:36px;border:0;border-bottom:1px solid #eee7eb;background:transparent;padding:6px 3px;display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.4fr) auto;align-items:center;gap:7px;text-align:left;color:#51444d;}
  .enot-phone-done span{font-size:9.5px;color:#8c7e87;}
  .enot-phone-done strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .enot-phone-done em{font-size:9px;color:#6d4773;font-style:normal;}
  .enot-phone-question{background:#fff;border:1px solid #ddd3d8;border-radius:15px;padding:12px;margin-top:7px;box-shadow:0 5px 18px rgba(45,29,40,.06);}
  .enot-phone-question h2{font-size:17px!important;line-height:1.15!important;margin:0 0 8px!important;color:#342a31;}
  .enot-phone-help,.enot-phone-question .enot-section-copy{font-size:10.5px!important;line-height:1.35!important;color:#756872;margin:0 0 8px!important;}
  .enot-phone-question .enot-model-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .enot-phone-question .enot-model-choice{min-height:66px!important;}
  .enot-phone-question .enot-size-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .enot-phone-question .enot-size{min-height:76px!important;}
  .enot-phone-question .enot-swatch-row,.enot-phone-question .enot-square-row,.enot-phone-question .enot-font-choices{margin:0!important;padding:10px 3px 8px!important;}
  .enot-phone-select{width:100%;font-size:16px;border:1px solid #d8cfd4;border-radius:10px;padding:10px;background:#fff;}
  .enot-phone-binary{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .enot-phone-binary button,.enot-phone-none{border:1px solid #d8cfd4;background:#fff;color:#3b3037;border-radius:12px;padding:12px 9px;font-weight:650;}
  .enot-phone-binary button.primary{background:#4f2b55;color:#fff;border-color:#4f2b55;}
  .enot-phone-none{width:100%;margin:0 0 7px;}
  .enot-phone-finish-input{width:100%;margin-top:10px;min-height:43px;}
  .enot-phone-ready{text-align:center;padding:8px 2px 2px;}
  .enot-phone-ready strong{display:block;font-size:25px;color:#4f2b55;margin-bottom:3px;}
  .enot-phone-ready p{font-size:11px;color:#756872;margin:0 0 11px;}
  .enot-phone-ready .button,.enot-phone-add{width:100%;min-height:46px;font-size:14px!important;margin-top:10px;}
  .enot-phone-add[disabled]{opacity:.4;pointer-events:none;}
  .enot-phone-accessory{display:grid;grid-template-columns:44px minmax(0,1fr) 60px;align-items:center;gap:9px;}
  .enot-phone-accessory img{width:44px;height:44px;border-radius:10px;object-fit:cover;}
  .enot-phone-accessory small{display:block;font-size:9px;color:#766975;}
  .enot-phone-accessory input{width:60px;font-size:16px;}
  .enot-modal:not(.enot-inline) .enot-footer{min-height:45px!important;padding:5px 10px!important;display:flex!important;justify-content:center!important;}
  .enot-modal:not(.enot-inline) .enot-footer .enot-back,.enot-modal:not(.enot-inline) .enot-footer .enot-next{display:none!important;}
  .enot-modal:not(.enot-inline) .enot-footer-price{flex:0 0 auto!important;text-align:center!important;font-size:9px!important;}
  .enot-modal:not(.enot-inline) .enot-footer-price strong{font-size:16px!important;}
}
@media (max-width:380px){
  .enot-modal:not(.enot-inline) .enot-layout{grid-template-rows:minmax(145px,30dvh) minmax(0,1fr)!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{max-height:24dvh!important;max-width:min(60vw,230px)!important;}
  .enot-phone-question{padding:10px;border-radius:13px;}
  .enot-phone-question h2{font-size:16px!important;}
}


/* v0.16.1 — real single-screen phone wizard: preview full-width on top, ONE active choice below. */
@media (max-width:700px){
  .enot-modal:not(.enot-inline) .enot-shell{
    width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
    grid-template-rows:auto auto minmax(0,1fr) auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-layout{
    width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(210px,38dvh) minmax(0,1fr)!important;
    overflow:hidden!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-pane{
    grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;
    min-width:0!important;height:100%!important;padding:4px 8px!important;margin:0!important;
    display:block!important;overflow:hidden!important;border-right:0!important;
    border-bottom:1px solid #ece5e9!important;background:#fbfaf8!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-sticky{
    position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:100%!important;
    display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage{
    width:100%!important;max-width:100%!important;height:100%!important;display:flex!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{
    display:block!important;width:auto!important;height:auto!important;max-width:92vw!important;max-height:31dvh!important;
    margin:0 auto!important;object-fit:contain!important;flex:0 1 auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{
    width:min(88vw,360px)!important;max-width:88vw!important;height:42px!important;min-height:42px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin:0 auto!important;
  }
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill{height:42px!important;min-height:42px!important;}
  .enot-modal:not(.enot-inline) .enot-controls-pane{
    grid-column:1!important;grid-row:2!important;width:100%!important;max-width:none!important;min-width:0!important;
    height:100%!important;min-height:0!important;padding:8px 12px 16px!important;margin:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;
  }
  .enot-phone-wizard{width:100%!important;max-width:560px!important;margin:0 auto!important;padding:0 0 8px!important;}
  .enot-phone-wizard-head{height:28px;display:grid;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;margin-bottom:4px;}
  .enot-phone-section-title{grid-column:2;text-align:center;margin:0!important;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .enot-phone-back{grid-column:1;border:0;background:transparent;padding:4px 0;color:#6d4773;font-size:11px;font-weight:700;text-align:left;}
  .enot-phone-question{margin:0!important;padding:11px!important;border-radius:14px!important;}
  .enot-phone-question h2{margin:0 0 9px!important;}
  /* Completed choices are never stacked on mobile in v0.16.1. */
  .enot-phone-done{display:none!important;}
}
@media (max-width:380px){
  .enot-modal:not(.enot-inline) .enot-layout{grid-template-rows:minmax(190px,36dvh) minmax(0,1fr)!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage #enot-canvas{max-width:90vw!important;max-height:29dvh!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-refill-preview{height:36px!important;min-height:36px!important;}
  .enot-modal:not(.enot-inline) .enot-preview-stage .enot-mini-refill{height:36px!important;min-height:36px!important;}
}
