html[data-view-mode="phone"] .mobile-editor-settings {
  position:fixed;z-index:5000;inset:auto 0 0;box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:0 0 env(safe-area-inset-bottom,0px);
  display:flex;flex-direction:column;overflow:hidden;border:1px solid #d9d4ce;
  border-radius:18px 18px 0 0;background:#faf8f5;box-shadow:0 -8px 30px #263b4933;color:#203746;
}
.mobile-editor-settings::backdrop{background:#10223366}
html[data-view-mode="phone"] .mobile-editor-settings[hidden]{display:none}
.mobile-editor-settings header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid #dedad5;flex-shrink:0}
.mobile-editor-settings header button{min-height:36px;border:0;background:transparent;color:inherit;font:inherit}
.mobile-editor-settings-body{overflow:auto;overscroll-behavior:contain;padding:10px;min-height:0;scrollbar-width:thin}
.mobile-editor-settings-body>[hidden]{display:none!important}
.mobile-editor-settings-body>.placement-font-options,
.mobile-editor-settings-body>.placement-pen-widths,
.mobile-editor-settings-body>.placement-color-palette{position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-height:none!important;height:auto!important;min-height:0!important;margin:0 0 10px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;box-sizing:border-box}
.mobile-editor-settings-body>.placement-font-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.mobile-editor-settings [data-font-value]{min-height:38px;padding:6px;border:1px solid #dfdad4;border-radius:7px;background:#fff;color:#203746;font-size:15px}
.mobile-editor-shapes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:10px}
.mobile-editor-shapes button{min-height:40px;border:1px solid #dfdad4;border-radius:7px;background:#fff;color:#203746}
.mobile-editor-shapes svg{width:22px;height:22px;fill:currentColor}
.mobile-editor-settings .placement-color-palette>div{display:flex!important;flex-wrap:wrap!important;gap:6px!important;overflow:visible!important;width:100%!important}
.mobile-editor-settings [data-area-color]{width:30px!important;height:30px!important;min-width:30px!important;flex:none!important}
.mobile-editor-settings .placement-color-palette::before,.mobile-editor-settings .placement-color-palette::after{display:none!important}
.mobile-editor-settings .mobile-editor-settings-body>[hidden]{display:none!important}
.mobile-editor-settings [data-area-color][hidden]{display:none!important}
html[data-view-mode="phone"] [data-step-panel="3"] .placement-history-tools{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-view-mode="phone"] [data-step-panel="3"] .placement-media-tools>.placement-color-picker{display:flex!important}
html[data-view-mode="phone"] .mobile-shape-trigger{width:100%!important;min-height:36px;border:1px solid #c6d4de;border-radius:6px;background:#fff;color:#173653}
.mobile-shape-trigger svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
html[data-view-mode="phone"].mobile-text-entry .form-footer,
html[data-view-mode="phone"].mobile-text-entry .placement-decision-actions{visibility:hidden!important;pointer-events:none!important}
html[data-view-mode="phone"] .placement-text-input-done{z-index:6000}
html[data-view-mode="phone"] [data-step-panel="3"] .placement-editor-toolbar{display:flex!important;flex-direction:column!important;overflow:visible!important}
html[data-view-mode="phone"] .mobile-editor-primary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:100%}
html[data-view-mode="phone"] .mobile-editor-primary>*{position:relative!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:0!important;width:100%!important;max-width:none!important;height:42px!important;min-height:42px!important;margin:0!important;padding:4px!important;border:1px solid #c6d4de!important;border-radius:8px!important;background:#fff!important;color:#173653!important}
html[data-view-mode="phone"] .mobile-editor-primary .tool-svg{width:22px;height:22px}
html[data-view-mode="phone"] .mobile-editor-primary .selected{background:#e9edf1!important;border-color:#6a8395!important}
html[data-view-mode="phone"] .placement-editor-toolbar>.placement-media-tools,
html[data-view-mode="phone"] .placement-editor-toolbar>.placement-type-tools{display:none!important}
html[data-view-mode="phone"] .placement-editor-toolbar>.placement-history-tools{display:grid!important;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
html[data-view-mode="phone"] .placement-history-tools>.mobile-center-tool{font-size:12px!important}
.mobile-editor-custom-color{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px}
.mobile-editor-custom-color input{width:44px;height:36px;border:1px solid #d9d4ce;border-radius:6px;background:#fff}
html[data-view-mode="phone"] .quote-header{background:#faf8f5!important;color:#203746!important;border-bottom:1px solid #dedad5!important}
html[data-view-mode="phone"] .quote-header p,html[data-view-mode="phone"] .quote-header>button{color:#203746!important}
html[data-view-mode="phone"] .quote-header .wordmark{background:#fff;border-radius:7px;padding:6px 8px}
html[data-view-mode="phone"] .quote-header .wordmark img{height:20px;filter:none!important;opacity:1!important}
html[data-view-mode="phone"] body[data-quote-step="3"] .mobile-progress{display:none!important}
html[data-view-mode="phone"] body[data-quote-step="3"] .form-panel{padding-bottom:80px!important}
html[data-view-mode="phone"] body[data-quote-step="3"] .placement-decision-actions{position:fixed!important;inset:auto 0 0!important;z-index:200;box-sizing:border-box;width:100%!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;background:#faf8f5;border-top:1px solid #dedad5;gap:6px!important}
html[data-view-mode="phone"] body[data-quote-step="3"] .placement-decision-actions button{min-height:44px!important}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-canvas-shell{height:var(--mobile-canvas-height,40dvh)!important;min-height:110px!important;max-height:none!important;aspect-ratio:auto!important;padding-bottom:36px!important;box-sizing:border-box}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-canvas-shell>.supplied-shirt-map{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
html[data-view-mode="phone"] .mobile-color-trigger span{font-size:23px;color:#bd6e60}
/* Phone controls must not inherit the desktop toolbar's sizing or popup styles. */
html[data-view-mode="phone"] .mobile-editor-settings:not([open]){display:none!important}
html[data-view-mode="phone"] .mobile-editor-settings .placement-palette-close,
html[data-view-mode="phone"] .mobile-editor-settings .placement-color-palette>strong{display:none!important}
html[data-view-mode="phone"] .mobile-editor-settings [data-area-color]{background:var(--area-color)!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;padding:0!important;margin:0!important;border:1px solid #20374640!important;border-radius:50%!important;box-sizing:border-box}
html[data-view-mode="phone"] .mobile-editor-settings [data-area-color].selected{outline:2px solid #203746;outline-offset:2px}
html[data-view-mode="phone"] [data-step-panel="3"] .placement-editor-toolbar>.placement-history-tools{position:static!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;padding:0!important;margin:0!important}
html[data-view-mode="phone"] [data-step-panel="3"] .placement-history-tools>button{position:static!important;display:flex!important;align-items:center;justify-content:center;gap:4px;width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;margin:0!important;padding:3px!important;box-sizing:border-box;font-size:11px!important;white-space:nowrap;border:1px solid #d2d9dd;border-radius:6px}
html[data-view-mode="phone"] .placement-history-tools>button svg{width:17px!important;height:17px!important;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
html[data-view-mode="phone"] .placement-history-tools>button span{position:static!important;font-size:11px!important}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-canvas-shell{padding-bottom:0!important}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar>.placement-history-tools{width:100%!important;align-self:stretch!important}
html[data-view-mode="phone"] .mobile-editor-settings [data-area-color]{opacity:1!important;filter:none!important}
html[data-view-mode="phone"] .mobile-editor-settings .placement-color-grid{opacity:1!important}
/* Keep both tool rows inside the mobile toolbar's border. */
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;padding:5px!important;gap:5px!important;align-items:stretch!important}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar>.placement-history-tools{grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important;flex:none!important}
html[data-view-mode="phone"] .quote-header .wordmark{background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar>.placement-history-tools{transform:none!important;translate:none!important;left:auto!important;right:auto!important;border:0!important;background:transparent!important}
html[data-view-mode="phone"] .quote-header .wordmark img{height:32px!important;width:auto!important;max-width:100px!important;object-fit:contain}
/* Wide transparent touch target around the slim vertical zoom track. */
/* Keep decorative ticks behind the interactive track and its thumb. */
/* One mobile zoom control: horizontal native range rotated vertically. */
html[data-view-mode="phone"] .placement-zoom-slider{position:absolute!important;inset:auto 6px 8px auto!important;display:block!important;width:48px!important;height:140px!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:#ffffffdb!important;box-shadow:0 1px 5px #20374618;z-index:12;touch-action:none}
html[data-view-mode="phone"] .placement-zoom-slider::before,html[data-view-mode="phone"] .placement-zoom-slider::after,html[data-view-mode="phone"] .placement-zoom-slider>b,html[data-view-mode="phone"] .placement-zoom-slider>i{display:none!important}
html[data-view-mode="phone"] .placement-zoom-slider>[data-placement-zoom-label]{position:absolute!important;inset:8px 0 auto!important;display:block!important;width:100%!important;margin:0!important;transform:none!important;text-align:center;font:700 10px/14px Arial!important;color:#36515f;white-space:nowrap}
html[data-view-mode="phone"] .placement-zoom-slider input{position:absolute!important;inset:60px auto auto -26px!important;display:block!important;box-sizing:border-box!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:rotate(-90deg)!important;transform-origin:center!important;writing-mode:horizontal-tb!important;direction:ltr!important;appearance:none!important;-webkit-appearance:none!important;touch-action:none!important;cursor:pointer}
html[data-view-mode="phone"] .placement-zoom-slider input::-webkit-slider-runnable-track{width:100%!important;height:3px!important;border:0!important;border-radius:3px!important;background:#bdc9cf!important;box-shadow:none!important}
html[data-view-mode="phone"] .placement-zoom-slider input::-webkit-slider-thumb{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;margin:-7.5px 0 0!important;border:2px solid #fff!important;border-radius:50%!important;background:#536c7b!important;box-shadow:0 1px 3px #20374640!important}
html[data-view-mode="phone"] .placement-zoom-slider input::-moz-range-track{height:3px;border:0;border-radius:3px;background:#bdc9cf}
html[data-view-mode="phone"] .placement-zoom-slider input::-moz-range-thumb{width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#536c7b}
html[data-view-mode="phone"] body[data-quote-step="3"] [data-quote-scroll-top]{display:none!important}
/* The editor uses the full phone height; other order steps retain their banner. */
html:root[data-view-mode="phone"] body[data-quote-step="3"]>.quote-header{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"]{grid-template-rows:minmax(0,1fr)!important}
html[data-view-mode="phone"].tv-naver-quote-native body[data-quote-step="3"] .quote-shell{height:var(--tv-stable-vh,100svh)!important}
html[data-view-mode="phone"] .placement-order-strip{display:flex!important;align-items:center;gap:6px}
html[data-view-mode="phone"] .placement-order-strip .placement-order-tabs{flex:1;min-width:0}
html[data-view-mode="phone"] .mobile-editor-close{display:grid!important;place-items:center;position:static!important;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0!important;border:1px solid #d2d9dd!important;border-radius:7px;background:#fff!important;color:#203746!important;font:24px/1 Arial;box-shadow:none!important}
html[data-view-mode="phone"] .mobile-editor-close::before,html[data-view-mode="phone"] .mobile-editor-close small{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"]>.quote-shell{grid-row:1!important;height:var(--tv-stable-vh,100dvh)!important;min-height:0!important}
html[data-view-mode="phone"] .placement-editor-caption{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}
html[data-view-mode="phone"] .placement-editor-caption .mobile-editor-close{margin-left:auto!important;flex:0 0 auto;width:auto;height:32px;min-height:32px;padding:0 8px!important;font-size:12px;white-space:nowrap}
html[data-view-mode="phone"] .mobile-editor-advanced-tools{display:flex;gap:6px;margin:0 0 6px}
html[data-view-mode="phone"] .mobile-editor-advanced-tools button{flex:1;min-height:32px;border:1px solid #c6d4de;border-radius:6px;background:#fff;color:#203746;font:600 12px/1.3 sans-serif}
html[data-view-mode="phone"] .mobile-editor-advanced-tools button[aria-pressed="true"],.mobile-advanced-settings button[aria-pressed="true"]{background:#203746;color:#fff}
.mobile-advanced-settings .mobile-editor-settings-body>section[hidden]{display:none!important}
.mobile-advanced-settings section>label{display:grid;grid-template-columns:85px minmax(0,1fr) 30px;align-items:center;gap:8px;margin:8px 0;font-size:13px}
.mobile-advanced-settings input[type="range"]{width:100%;min-width:0;height:36px;margin:0;accent-color:#009ed2}
.mobile-advanced-settings .mobile-advanced-colors{display:flex;gap:12px}
.mobile-advanced-colors label{display:flex;align-items:center;gap:8px;font-size:13px}
.mobile-advanced-colors input[type="color"]{width:44px;height:36px;padding:0;border:1px solid #c6d4de;background:#fff}
.mobile-advanced-switches,.mobile-pen-styles{display:flex;gap:6px;margin-top:10px}
.mobile-advanced-settings section button{flex:1;min-height:38px;border:1px solid #c6d4de;border-radius:6px;font-size:12px}
.mobile-advanced-settings [data-help]{font-size:13px;margin:0 0 10px;color:#596d78}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:0!important;margin:6px 0!important;min-height:36px}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{grid-column:1;grid-row:1}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>span{grid-column:1;grid-row:2;position:static!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>[data-quote-close]{grid-column:2;grid-row:1 / 3;position:static!important;inset:auto!important;transform:none!important;margin:0!important;align-self:center;display:flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0!important;max-width:none!important;height:32px!important;padding:0 8px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>[data-quote-close]>span{position:static!important;display:block!important;width:auto!important;height:auto!important;font:600 12px/1.3 sans-serif!important;color:#203746!important;transform:none!important}
html:root[data-view-mode="phone"] .placement-editor-toolbar>.mobile-editor-settings{position:static!important;inset:auto!important;width:100%!important;max-height:230px!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f6f8fa!important;z-index:auto!important}
html[data-view-mode="phone"] .mobile-editor-settings .mobile-advanced-settings{position:static!important;display:block;inset:auto!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-view-mode="phone"] .mobile-editor-settings .mobile-advanced-settings[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-advanced-settings .mobile-editor-settings-body{padding:0!important;overflow:visible!important}
html[data-view-mode="phone"] .mobile-advanced-settings [data-help]{display:none}
html[data-view-mode="phone"] .placement-history-tools .mobile-editor-advanced-tools{display:contents;margin:0}
html[data-view-mode="phone"] .placement-editor-toolbar>.placement-history-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-view-mode="phone"] .mobile-canvas-tools{position:absolute;left:6px;bottom:8px;z-index:14;display:flex;flex-direction:column;gap:5px;width:42px}
html[data-view-mode="phone"] .mobile-canvas-tools>button{position:static!important;display:flex!important;align-items:center;justify-content:center;width:42px!important;height:38px!important;min-height:38px!important;padding:2px!important;border:1px solid #d2d9dd;border-radius:6px;background:#ffffffed;color:#203746;font:600 11px/1.2 sans-serif;box-shadow:none}
html[data-view-mode="phone"] .mobile-canvas-tools>button svg{display:none}
html[data-view-mode="phone"] .mobile-canvas-tools>button:disabled{opacity:.4}
html[data-view-mode="phone"] [data-placement-face-toggle][hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-canvas-tools>button svg{display:block!important;width:22px;height:22px;flex:none}
html[data-view-mode="phone"] .mobile-canvas-tools>button[aria-pressed="true"]{color:#009fd2;border-color:#009fd2}
html[data-view-mode="phone"] .placement-editor-toolbar [data-placement-reset],html[data-view-mode="phone"] .placement-editor-toolbar [data-placement-face],html[data-view-mode="phone"] .placement-editor-toolbar [data-placement-face-toggle]{display:none!important}
html[data-view-mode="phone"] .mobile-editor-shapes button{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:44px}
html[data-view-mode="phone"] [data-placement-face-toggle]{display:none!important}
/* Compact phone studio: one action row, inline tool details, canvas history icons. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{margin:0 0 8px!important;min-height:38px;grid-template-columns:1fr auto}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{font-size:19px!important;line-height:1.1!important;letter-spacing:.6px}
html:root[data-view-mode="phone"] .placement-face-arrow[data-placement-face-toggle]{display:flex!important;position:absolute!important;top:8px!important;left:8px!important;right:auto!important;bottom:auto!important;width:36px!important;height:36px!important;padding:6px!important;z-index:15}
html[data-view-mode="phone"] .placement-face-arrow span{display:none!important}
html[data-view-mode="phone"] .mobile-select-all{position:absolute;right:8px;top:8px;z-index:15;padding:7px 9px;border:1px solid #ced8df;border-radius:5px;background:#fff;color:#203746;font:500 11px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-text-create{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px}
html[data-view-mode="phone"] .mobile-text-create[hidden],html[data-view-mode="phone"] .mobile-slim-effects[hidden],html[data-view-mode="phone"] .mobile-pen-settings[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-text-create input,html[data-view-mode="phone"] .mobile-text-create select{box-sizing:border-box;width:100%;min-width:0;height:34px;padding:4px 8px;border:1px solid #ccd6dd;border-radius:4px;background:#fff;font:13px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-paint-targets{display:flex;align-items:center;gap:5px;padding:5px 2px;font:12px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-paint-targets label{display:flex;align-items:center;gap:3px}
html[data-view-mode="phone"] .mobile-paint-targets input{width:14px;height:14px;margin:0;accent-color:#009ed2}
html[data-view-mode="phone"] .mobile-paint-targets button{width:25px;height:25px;min-height:0;padding:3px;border:1px solid #ccd6dd;border-radius:3px;background:#fff}
html[data-view-mode="phone"] .mobile-paint-targets i{display:block;width:100%;height:100%}
html[data-view-mode="phone"] .mobile-effect-ranges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-view-mode="phone"] .mobile-effect-ranges label{display:grid;grid-template-columns:1fr 22px;font:11px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-effect-ranges input{grid-column:1 / 3;grid-row:2;width:100%;min-width:0;height:24px;margin:0;accent-color:#009ed2}
html[data-view-mode="phone"] .mobile-effect-ranges output{grid-column:2;grid-row:1;text-align:right}
html[data-view-mode="phone"] .mobile-effect-ranges [hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-pen-choice{display:flex;gap:6px;margin:4px 0}
html[data-view-mode="phone"] .mobile-pen-choice button{flex:1;min-height:32px;border:0;background:transparent;color:#203746;font:12px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-pen-choice button::before{content:'○';margin-right:5px}
html[data-view-mode="phone"] .mobile-pen-choice button[aria-pressed="true"]::before{content:'●'}
html[data-view-mode="phone"] .mobile-eyedropper{width:100%;min-height:32px;background:#fff;border:1px solid #ccd6dd;font:12px/1.2 sans-serif}
html:root[data-view-mode="phone"] .placement-editor-toolbar>.mobile-editor-settings{max-height:190px!important}
html[data-view-mode="phone"] .mobile-canvas-tools{bottom:8px}
html[data-view-mode="phone"] .mobile-color-sampler{width:min(90vw,390px);box-sizing:border-box;padding:12px;border:1px solid #ccd6dd;border-radius:8px;background:#fff;color:#203746}
html[data-view-mode="phone"] .mobile-color-sampler::backdrop{background:#15263380}
html[data-view-mode="phone"] .mobile-color-sampler header{display:flex;align-items:center;justify-content:space-between}
html[data-view-mode="phone"] .mobile-color-sampler button{min-height:32px;border:0;background:#f2f5f7;padding:6px 10px;color:inherit}
html[data-view-mode="phone"] .mobile-color-sampler p{font-size:12px}
html[data-view-mode="phone"] .mobile-color-sampler canvas{width:100%;height:auto;display:block;cursor:crosshair}
/* Balanced detail controls and a fully visible shared palette. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{min-height:32px!important;align-items:center;margin:0 0 6px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{align-self:center}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>.mobile-editor-close{grid-row:1!important}
html[data-view-mode="phone"] .placement-order-strip{margin-bottom:10px!important}
html[data-view-mode="phone"] .mobile-editor-primary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-view-mode="phone"] .mobile-color-trigger[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-paint-targets{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:4px 0 12px;font-size:13px}
html[data-view-mode="phone"] .mobile-paint-group{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px}
html[data-view-mode="phone"] .mobile-paint-targets label{gap:7px}
html[data-view-mode="phone"] .mobile-paint-targets button{width:30px;height:30px}
html[data-view-mode="phone"] .mobile-effect-ranges{gap:18px;padding:8px 6px 0;border-top:1px solid #e0e5e8}
html[data-view-mode="phone"] .mobile-effect-ranges label{font-size:12px}
html[data-view-mode="phone"] .mobile-text-field{display:flex;align-items:center;min-width:0;background:#fff;border:1px solid #d8dde0;border-radius:4px}
html[data-view-mode="phone"] .mobile-text-create input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important}
html[data-view-mode="phone"] .mobile-text-create select{border-color:#d8dde0!important;outline:none!important;box-shadow:none!important}
html[data-view-mode="phone"] .mobile-text-done{flex:none;width:30px;height:28px;min-height:0;padding:5px;margin-right:3px;border:1px solid #cbd2d7;border-radius:3px;background:#fff;color:#203746}
html[data-view-mode="phone"] .mobile-text-done svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
html[data-view-mode="phone"] .mobile-pen-choice{gap:12px}
html[data-view-mode="phone"] .mobile-pen-choice button{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 4px;font-size:12px;border-radius:4px}
html[data-view-mode="phone"] .mobile-pen-choice button::before{position:absolute;left:2px;top:3px;font-size:11px}
html[data-view-mode="phone"] .mobile-pen-choice svg{width:55px;height:12px;fill:none;stroke:currentColor}
html[data-view-mode="phone"] .mobile-pen-choice button[aria-pressed="true"]{background:#eaf5fa;color:#009ed2}
html[data-view-mode="phone"] .mobile-pen-color{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 6px;border:0;border-top:1px solid #e0e5e8;background:transparent;font-size:12px;color:#203746}
html[data-view-mode="phone"] .mobile-pen-color i{width:22px;height:22px;border:1px solid #cbd2d7}
html:root[data-view-mode="phone"] .placement-editor-toolbar>.mobile-palette-settings{max-height:330px!important;overflow:auto!important}
html[data-view-mode="phone"] .mobile-palette-settings>.mobile-editor-settings-body{max-height:none!important;overflow:visible!important;flex:none!important;height:auto!important;padding:10px!important}
html[data-view-mode="phone"] .mobile-palette-settings .placement-color-palette>div{max-height:none!important;height:auto!important;overflow:visible!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar .mobile-editor-settings [data-placement-color-palette]{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important;border:0!important;background:transparent!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar .mobile-editor-settings [data-placement-color-palette][hidden]{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar .mobile-editor-settings [data-placement-color-palette]>div{display:flex!important;flex-wrap:wrap!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;gap:8px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-order-strip{margin-bottom:10px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-workspace{padding-top:0!important;margin-top:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-order-strip{margin-bottom:16px!important;background:#f3f5f7;border-radius:5px;padding:4px}
html[data-view-mode="phone"] .mobile-paint-group{border:1px solid #d2dbe1;border-radius:6px;padding:9px;background:#fff;min-height:35px}
html[data-view-mode="phone"] .mobile-paint-targets{gap:10px}
html[data-view-mode="phone"] .mobile-slim-effects:not(:has([data-text-effect-row]:not([hidden]))) .mobile-effect-ranges{grid-template-columns:1fr}
html[data-view-mode="phone"] .mobile-effect-ranges input{height:34px}
html[data-view-mode="phone"] .mobile-effect-ranges input::-webkit-slider-runnable-track{height:7px;border-radius:5px;background:#d2dce3}
html[data-view-mode="phone"] .mobile-effect-ranges input::-webkit-slider-thumb{margin-top:-5px}
html[data-view-mode="phone"] .mobile-pen-section{padding:6px 0 9px}
html[data-view-mode="phone"] .mobile-pen-section+section{border-top:1px solid #d5dfe5}
html[data-view-mode="phone"] .mobile-pen-section>strong{display:block;font:600 12px/1.3 sans-serif;color:#536775;margin-bottom:5px}
html:root[data-view-mode="phone"] .placement-editor-toolbar:has(.mobile-pen-settings:not([hidden]))>.mobile-editor-settings{max-height:260px!important}
html[data-view-mode="phone"] [data-placement-canvas].pen-insert-mode,html[data-view-mode="phone"] [data-placement-canvas].pen-insert-mode *,html[data-view-mode="phone"] [data-placement-canvas].multi-selection-active,html[data-view-mode="phone"] [data-placement-canvas].multi-selection-active *{touch-action:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .quote-shell .form-panel{padding-top:7px!important}
html[data-view-mode="phone"] .mobile-pen-section{padding:3px 0 4px}
html[data-view-mode="phone"] .mobile-pen-section>strong{margin-bottom:2px;font-size:11px}
html[data-view-mode="phone"] .mobile-pen-choice{margin:1px 0;gap:8px}
html[data-view-mode="phone"] .mobile-pen-choice button{min-height:36px;padding:5px 3px;gap:2px;font-size:11px}
html[data-view-mode="phone"] .mobile-pen-choice svg{height:9px}
html[data-view-mode="phone"] .mobile-pen-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;border-top:1px solid #d5dfe5;padding-top:5px}
html[data-view-mode="phone"] .mobile-pen-actions .mobile-pen-color{border:0;padding:3px 6px;height:30px}
html[data-view-mode="phone"] .mobile-pen-start{min-height:30px;border:0;border-radius:4px;background:#203746;color:#fff;font-size:12px}
html[data-view-mode="phone"] .mobile-pen-start:disabled{opacity:.35}
html:root[data-view-mode="phone"] .placement-editor-toolbar:has(.mobile-pen-settings:not([hidden]))>.mobile-editor-settings{max-height:185px!important}
html[data-view-mode="phone"] .mobile-text-size{display:grid;grid-template-columns:90px minmax(0,1fr) 42px;gap:6px;align-items:center;border-top:1px solid #d5dfe5;margin-top:6px;padding-top:4px;font:12px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-text-size[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-text-size input{min-width:0;width:100%;height:28px;margin:0;accent-color:#009ed2}
html:root[data-view-mode="phone"] .placement-editor-toolbar:has(.mobile-text-size:not([hidden]))>.mobile-editor-settings{max-height:220px!important}
/* Match the lower action bar and align the close control to the canvas edge. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{grid-template-columns:auto 1fr!important;transform:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>[data-quote-close]{grid-column:1!important;grid-row:1!important;justify-self:start!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{grid-column:2!important;grid-row:1!important;justify-self:end!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-order-strip,
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-order-row,
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-order-row>button{background:#faf8f5!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{grid-template-columns:1fr auto!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>[data-quote-close]{grid-column:2!important;justify-self:end!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{grid-column:1!important;justify-self:start!important}
html[data-view-mode="phone"] .mobile-paint-group{padding:0!important;border:0!important;background:transparent!important;min-height:0!important;gap:6px}
html[data-view-mode="phone"] .mobile-paint-group label{flex:none}
html[data-view-mode="phone"] .mobile-paint-group button{flex:1;width:auto!important;height:30px!important;min-height:30px!important;padding:4px 8px!important;border-radius:4px;font:600 12px/1.2 sans-serif}
html[data-view-mode="phone"] .mobile-effect-ranges input:disabled{opacity:.35}
html[data-view-mode="phone"] .mobile-layer-rotation{margin-top:2px!important;padding-top:0!important;border-top:0!important}
html:root[data-view-mode="phone"] .placement-editor-toolbar:has(.mobile-slim-effects:not([hidden]))>.mobile-editor-settings{max-height:235px!important}
html[data-view-mode="phone"] .mobile-paint-group{justify-content:flex-start;gap:9px!important}
html[data-view-mode="phone"] .mobile-paint-group input[type="checkbox"]{width:26px!important;height:26px!important;margin:0!important;accent-color:#009ed2}
html[data-view-mode="phone"] .mobile-paint-group button{flex:0 1 105px!important;height:26px!important;min-height:26px!important;padding:3px 6px!important}
html[data-view-mode="phone"] .mobile-paint-group[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-slim-effects.is-pen .mobile-paint-targets{grid-template-columns:1fr}
html[data-view-mode="phone"] .mobile-pen-section{display:grid;grid-template-columns:47px minmax(0,1fr);gap:6px;align-items:center;padding:2px 0!important}
html[data-view-mode="phone"] .mobile-pen-section>strong{margin:0!important;white-space:nowrap}
html[data-view-mode="phone"] .mobile-pen-choice button{min-height:28px!important;padding:2px!important;flex-direction:row!important;gap:3px!important;font-size:10px!important;white-space:nowrap}
html[data-view-mode="phone"] .mobile-pen-choice svg{width:24px!important;height:10px!important}
html[data-view-mode="phone"] .mobile-pen-actions .mobile-pen-color{height:26px!important;min-height:26px!important;justify-content:center;border-radius:4px;font-weight:600}
html[data-view-mode="phone"] .mobile-text-size{grid-template-columns:40px minmax(0,1fr) 40px;margin-top:2px!important;padding-top:0!important;border:0!important}
html[data-view-mode="phone"] .mobile-text-size input,html[data-view-mode="phone"] .mobile-effect-ranges input{height:24px!important}
html[data-view-mode="phone"] .mobile-effect-ranges{gap:3px!important;margin-top:3px!important}
html[data-view-mode="phone"] .mobile-editor-settings-body{padding-top:5px!important;padding-bottom:5px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-text-size{height:27px!important;min-height:27px!important;padding:0!important;margin:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-paint-targets{height:30px!important;min-height:0!important;padding:2px 0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-paint-group label{height:26px!important;min-height:0!important;padding:0!important;margin:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges label{min-height:27px!important;height:27px!important;padding:0!important;margin:0!important}
/* A range is one complete row; never squeeze its two-row layout into 27px. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;border:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges label{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center;gap:6px!important;height:27px!important;min-height:27px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges input{grid-column:2!important;grid-row:1!important;height:24px!important;width:100%!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges output{grid-column:3!important;grid-row:1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges [hidden]{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar:has(.mobile-slim-effects:not([hidden]))>.mobile-editor-settings,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar>.mobile-palette-settings{height:180px!important;min-height:180px!important;max-height:180px!important;overflow:hidden!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar>.mobile-palette-settings>.mobile-editor-settings-body{height:100%!important;max-height:100%!important;overflow-y:auto!important;box-sizing:border-box!important;padding:8px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects input[type="range"]{appearance:none!important;-webkit-appearance:none!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;height:24px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects input[type="range"]::-webkit-slider-runnable-track{height:3px!important;background:#cbd6dc!important;border-radius:2px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects input[type="range"]::-webkit-slider-thumb{appearance:none!important;-webkit-appearance:none!important;width:14px!important;height:14px!important;margin-top:-5.5px!important;border:0!important;border-radius:50%!important;background:#009ed2!important;box-shadow:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{font-size:17px!important;white-space:nowrap}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption .mobile-studio-title{font-weight:400!important;display:inline!important;font-size:inherit!important;color:inherit!important;letter-spacing:0!important}
/* Group color activation with its swatch, and give each parameter its own cell. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-paint-targets{display:flex!important;gap:10px!important;height:38px!important;padding:0 0 5px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-paint-group{flex:1!important;border:1px solid #d6dfe5!important;background:#fff!important;border-radius:5px!important;padding:4px!important;gap:5px!important;box-sizing:border-box}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-paint-group input[type="checkbox"]{width:21px!important;height:21px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-paint-group button{flex:1!important;height:24px!important;min-height:24px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;align-content:start}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects[hidden]{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-paint-targets{grid-column:1/-1}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges{grid-column:1;grid-row:2 / span 3;gap:5px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-text-size{grid-column:2}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-text-size{display:grid!important;grid-template-columns:1fr 40px!important;grid-template-rows:16px 25px!important;height:41px!important;min-height:41px!important;gap:0 4px!important;font:11px/16px sans-serif!important;background:#fff;border-radius:4px;padding:0 5px!important;box-sizing:border-box}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects input[type="range"]{grid-column:1/-1!important;grid-row:2!important;width:100%!important;margin:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects output{grid-column:2!important;grid-row:1!important;text-align:right;font-weight:600;color:#28485e}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-layer-rotation{grid-row:3}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-pen .mobile-text-size{grid-column:auto;grid-row:auto}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-text-size[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-pen-choice button{background:transparent!important;border:0!important;gap:4px!important}
html[data-view-mode="phone"] .mobile-choice-check{width:12px;height:12px;flex:none;border:1px solid #aab9c3;border-radius:2px;background:white;box-sizing:border-box}
html[data-view-mode="phone"] .mobile-pen-choice button[aria-pressed="true"] .mobile-choice-check{background:#009ed2;border-color:#009ed2}
html[data-view-mode="phone"] .mobile-pen-choice button[aria-pressed="true"] .mobile-choice-check:after{content:'✓';display:block;color:white;font:10px/11px sans-serif;text-align:center}
html[data-view-mode="phone"] .mobile-pen-section{padding:5px 0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-effect-ranges[hidden]{display:none!important}
html[data-view-mode="phone"] .mobile-pen-choice button::before{content:none!important;display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{color:#687780!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects{display:block!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;background:#fff;border-radius:5px;padding:4px 7px;margin-top:3px}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-text-size,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label{background:transparent!important;border-radius:0!important;padding:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel>.mobile-text-size:first-child{grid-column:1/-1!important;grid-row:1!important;grid-template-columns:35px minmax(0,1fr) 40px!important;grid-template-rows:27px!important;height:27px!important;min-height:27px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel>.mobile-text-size:first-child input{grid-column:2!important;grid-row:1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel>.mobile-text-size:first-child output{grid-column:3!important;grid-row:1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px 10px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:first-child{grid-column:1/-1}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-rotation{grid-column:2!important;grid-row:2!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-pen-width{grid-column:1!important;grid-row:2!important}
html[data-view-mode="phone"] .mobile-choice-check{width:17px!important;height:17px!important}
html[data-view-mode="phone"] .mobile-pen-choice button[aria-pressed="true"] .mobile-choice-check:after{font:14px/16px sans-serif!important}
html[data-view-mode="phone"] .mobile-pen-choice button{font-size:12px!important;gap:4px!important;min-height:34px!important;flex-wrap:wrap}
html[data-view-mode="phone"] .mobile-pen-choice svg{width:27px!important;height:12px!important}
html[data-view-mode="phone"] .mobile-pen-section>strong{font-size:12px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges{display:contents!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:first-child{grid-column:1!important;grid-row:2!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:nth-child(2){grid-column:1!important;grid-row:3!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:nth-child(3){grid-column:2!important;grid-row:3!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{font-family:Georgia,'Times New Roman',serif!important;font-size:12px!important;font-weight:400!important;letter-spacing:1.25px!important;color:#756681!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption .mobile-studio-title{font-family:inherit!important;font-weight:400!important;letter-spacing:inherit!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>strong{font-family:'Noto Sans KR',Arial,sans-serif!important;font-size:12px!important;letter-spacing:1px!important}
html[data-view-mode="phone"] .placement-delete-handle circle,html[data-view-mode="phone"] .placement-resize-handle,html[data-view-mode="phone"] .placement-rotate-handle{fill:#fff!important;stroke:#687f8c!important}
html[data-view-mode="phone"] .placement-delete-handle path,html[data-view-mode="phone"] .placement-resize-icon,html[data-view-mode="phone"] .placement-rotate-icon path{stroke:#687f8c!important}
html[data-view-mode="phone"] .placement-rotate-icon .placement-rotate-arrow{fill:#687f8c!important;stroke:none!important}
html[data-view-mode="phone"] .mobile-text-create{grid-template-columns:34% minmax(0,1fr)!important;padding:5px!important;gap:8px!important}
html[data-view-mode="phone"] .mobile-text-create select{appearance:none!important;padding:4px 24px 4px 8px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23687f8c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center!important}
html[data-view-mode="phone"] .mobile-text-done{margin-right:7px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-rotation,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-pen-width{border-bottom:1px solid #edf0f2!important;padding:2px 3px!important;height:44px!important;min-height:44px!important;grid-template-columns:1fr 34px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel input{min-width:0!important;width:100%!important;box-sizing:border-box!important}
html[data-view-mode="phone"] .mobile-pen-choice button{flex-wrap:nowrap!important;white-space:nowrap!important;min-width:0!important;font-size:11px!important;gap:3px!important}
html[data-view-mode="phone"] .mobile-pen-choice [data-phone-pen] svg{display:none!important}
html[data-view-mode="phone"] .mobile-pen-choice{gap:4px!important}
html[data-view-mode="phone"] .mobile-pen-choice [data-phone-width] svg{width:17px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar>.mobile-editor-settings{height:180px!important;min-height:180px!important;max-height:180px!important;overflow:hidden!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar>.mobile-editor-settings>.mobile-editor-settings-body{height:100%!important;max-height:100%!important;overflow-y:auto!important;box-sizing:border-box!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio{display:flex!important;flex-direction:column!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio>.direct-placement-preview{order:1!important;width:100%!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio>.placement-editor-toolbar{order:2!important;border-top:1px solid #cad5dc!important;border-bottom:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-editor-settings{order:1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-editor-primary{order:2!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-options-grip{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%!important;height:20px!important;min-height:20px!important;padding:0!important;border:0!important;background:transparent!important;touch-action:none;cursor:grab}
html[data-view-mode="phone"] .mobile-options-grip span{display:block;width:36px;height:2px;border-radius:3px;background:#9baab4;pointer-events:none}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar>.mobile-editor-settings>.mobile-editor-settings-body{height:calc(100% - 20px)!important;max-height:calc(100% - 20px)!important;padding-top:2px!important;padding-bottom:2px!important}
html[data-view-mode="phone"] .mobile-pen-width-slider{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:8px}
html[data-view-mode="phone"] .mobile-pen-width-slider input{width:100%;height:28px;min-width:0;appearance:none;background:transparent;accent-color:#009ed2}
html[data-view-mode="phone"] .mobile-pen-width-slider input::-webkit-slider-runnable-track{height:3px;background:#cbd6dc;border-radius:3px}
html[data-view-mode="phone"] .mobile-pen-width-slider input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-5.5px;border-radius:50%;background:#009ed2;border:0}
html[data-view-mode="phone"] .mobile-pen-width-slider output{font:600 12px sans-serif;color:#28485e;text-align:right}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation{grid-template-columns:46px minmax(0,1fr) 28px!important;grid-template-rows:32px!important;align-items:center!important;height:36px!important;min-height:36px!important;font-size:10px!important;gap:3px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges input,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation input{grid-column:2!important;grid-row:1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges output,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation output{grid-column:3!important;grid-row:1!important}
html[data-view-mode="phone"] .mobile-editor-primary{position:relative!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-editor-primary .mobile-pen-end{position:absolute!important;bottom:calc(100% + 7px)!important;left:calc(50% + 3px)!important;width:calc(25% - 5px)!important;height:30px!important;min-height:30px!important;padding:3px!important;border:1px solid #687f8c!important;border-radius:4px!important;background:#fff!important;color:#334f60!important;font-size:11px!important;z-index:30}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-editor-primary .mobile-pen-end[hidden]{display:none!important}
html[data-view-mode="phone"] [data-placement-pen-toggle][aria-pressed="true"]{background:#e4f3f8!important;border-color:#009ed2!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation{grid-template-columns:52px minmax(0,1fr) 25px!important;white-space:nowrap!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio{border:1px solid #aabac5!important;border-radius:11px!important;overflow:hidden!important;transform:none!important;isolation:isolate;padding:1px!important;box-sizing:border-box!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio>.direct-placement-preview{border-radius:9px 9px 0 0!important;overflow:hidden!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio .placement-canvas-shell{border-radius:9px 9px 0 0!important;border:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-studio>.placement-editor-toolbar{border-radius:0 0 9px 9px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-order-row [data-activate-order]>span{background:#45494d!important;color:#faf8f0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:first-child{background:#f1f4f8!important;border-radius:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-rotation{background:#f5f2f8!important;border-radius:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:nth-child(2){background:#eff6f4!important;border-radius:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label:nth-child(3){background:#f8f4ee!important;border-radius:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-shape .mobile-range-panel{margin-top:10px!important;padding:7px!important;gap:12px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-shape .mobile-range-panel>.mobile-text-size:first-child{margin-bottom:5px!important;background:#f1f4f8!important;border-radius:4px!important}
html[data-view-mode="phone"] .mobile-pen-actions{margin-top:7.5px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-rotation,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-shape .mobile-range-panel>.mobile-text-size:first-child{background:transparent!important;border-radius:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings [data-placement-color-palette]>div{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:4px!important;overflow:hidden!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings [data-placement-color-palette]>div>button{width:100%!important;height:24px!important;min-height:24px!important;padding:0!important;margin:0!important;border-radius:4px!important;box-sizing:border-box!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-direct{background:linear-gradient(135deg,#f55863,#f8cf46,#45bf9b,#009ed2,#8050b0)!important;border:1px solid #bac5ce!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings>.mobile-editor-settings-body{overflow:hidden!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-range-panel{background:transparent!important;box-shadow:none!important;border:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects .mobile-range-panel label{background:transparent!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid #e5e9ec!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings [data-placement-color-palette]>div>button{border:0!important;box-shadow:none!important;outline:0!important;border-radius:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings [data-placement-color-palette]>div>button[data-area-color="#ffffff"]{border:1px solid #d4dce1!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings .mobile-palette-direct{border:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label{background:none!important;background-color:transparent!important;box-shadow:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-palette-settings [data-placement-color-palette]>div>button{aspect-ratio:1!important;height:auto!important;min-height:0!important;padding:0!important;border-radius:5px!important;box-sizing:border-box!important;transform:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-text-done{width:42px!important;height:27px!important;padding:3px 5px!important;white-space:nowrap;font:600 11px/1.2 sans-serif!important;background:#eef3f5!important;color:#334f60!important}
/* Separators sit halfway through the equal gap between parameter rows. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel{row-gap:10px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-shape .mobile-range-panel{row-gap:10px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel label{position:relative;border-bottom:0!important;overflow:visible!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel label::after{content:'';position:absolute;left:0;right:0;bottom:-5px;height:1px;background:#e5e9ec;pointer-events:none}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel [data-text-effect-row]::after{display:none}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects:not(.is-text) .mobile-range-panel .mobile-effect-ranges label::after,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-rotation::after,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel .mobile-layer-pen-width::after{display:none}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation::after{display:block}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label{border-bottom:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation{height:32px!important;min-height:32px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges label,
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation{grid-template-columns:34px minmax(0,1fr) 25px!important;column-gap:4px!important;padding-left:0!important;padding-right:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label{display:grid!important;grid-template-columns:38px minmax(0,1fr) 30px!important;grid-template-rows:32px!important;align-items:center!important;column-gap:4px!important;height:32px!important;min-height:32px!important;padding:0!important;font:500 12px/1.2 sans-serif!important;color:#111!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label input{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label output{grid-column:3!important;grid-row:1!important;text-align:right!important;font:500 11px/1.2 sans-serif!important;color:#111!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-section>strong{font:500 12px/1.2 sans-serif!important;color:#111!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-width-slider{align-items:center!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] [data-step-panel="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label[hidden]{display:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-section:has([data-phone-pen]){grid-template-columns:42px minmax(0,1fr)!important;gap:5px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-choice:has([data-phone-pen]){gap:4px!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-choice [data-phone-pen]{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;font:500 12px/1.2 sans-serif!important;gap:4px!important;padding:5px 3px!important;min-height:32px!important;border:1px solid #d6dfe5!important;border-radius:5px!important;background:#fff!important;color:#111!important;white-space:nowrap!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-choice [data-phone-pen][aria-pressed="true"]{border-color:#80bfd3!important;background:#edf7fa!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-pen-choice [data-phone-pen] .mobile-choice-check{width:15px!important;height:15px!important}

/* Leave room above the close button inside embedded mobile browser viewports. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption{height:auto!important;min-height:48px!important;box-sizing:border-box!important;padding-top:8px!important;padding-bottom:8px!important;margin-top:0!important;align-items:center!important;overflow:visible!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-editor-caption>[data-quote-close]{align-self:center!important;margin:0!important;transform:none!important;top:auto!important}

html[data-view-mode="phone"].mobile-color-input-locked .placement-editor-toolbar input[type="range"],html[data-view-mode="phone"].mobile-color-input-locked .mobile-slim-effects,html[data-view-mode="phone"].mobile-color-input-locked .mobile-pen-settings,html[data-view-mode="phone"].mobile-color-input-locked .mobile-text-create{pointer-events:none!important;touch-action:none!important}

html[data-view-mode="phone"] .mobile-editor-shapes [data-mobile-shape="star"] svg,html[data-view-mode="phone"] .mobile-editor-shapes [data-mobile-shape="lightning"] svg{width:26px!important;height:26px!important}

/* Keep action taps stable and remove extra white surfaces. */
html:root[data-view-mode="phone"] body[data-quote-step="3"] .mobile-range-panel{background:transparent!important;box-shadow:none!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-decision-actions{z-index:1000!important;pointer-events:auto!important;touch-action:manipulation!important;background:#faf8f5!important}
html:root[data-view-mode="phone"] body[data-quote-step="3"] .placement-decision-actions button{pointer-events:auto!important;touch-action:manipulation!important}
