/* Mobile editor usability — 2026-11-03 */
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-caption>strong{font-size:15px!important;font-weight:600!important;letter-spacing:.7px!important;color:#314956!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-caption .mobile-studio-title{font-weight:500!important}
html:root[data-view-mode=phone] .placement-canvas-shell>.mobile-design-source-tool{position:absolute!important;right:10px!important;top:10px!important;z-index:15!important;display:flex!important;gap:5px!important;height:34px!important;min-height:34px!important;padding:5px 9px!important;border:1px solid #d2d9dd!important;border-radius:6px!important;background:#ffffffed!important;color:#334f60!important;box-shadow:none!important;font-size:11px!important;font-weight:500!important}
html:root[data-view-mode=phone] .mobile-design-source-tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
html:root[data-view-mode=phone] .mobile-canvas-tools>.mobile-select-all{font-size:10px!important;letter-spacing:-.4px!important}
html:root[data-view-mode=phone] .source-library-popup .source-saved-shelf{display:block!important;margin:0 16px 10px!important;padding:4px 9px!important;border:1px solid #d6e8ee!important;border-radius:8px!important;background:#f4fafc!important;flex-shrink:0!important}
html:root[data-view-mode=phone] .source-saved-items{display:flex;flex-wrap:nowrap;gap:8px;padding:5px 0 10px;overflow-x:auto}
html:root[data-view-mode=phone] .source-saved-items[hidden]{display:none!important}
html:root[data-view-mode=phone] .source-saved-item{flex:0 0 44px!important;width:44px!important;height:44px!important}
html:root[data-view-mode=phone] .source-saved-preview{width:44px!important;height:44px!important}
html:root[data-view-mode=phone] .source-saved-items>p{margin:0;font-size:12px;color:#718792}
html:root[data-view-mode=phone] .design-source-preview-dialog [role=status]{min-height:20px!important;margin:6px 0!important;font-size:12px!important;color:#087f9c!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar:has(.mobile-pen-settings:not([hidden]))>.mobile-editor-settings{height:auto!important;max-height:320px!important}
html:root[data-view-mode=phone] .mobile-pen-settings{padding:8px 12px!important}
html:root[data-view-mode=phone] .mobile-pen-actions{display:grid!important;grid-template-columns:1fr 1.7fr!important;gap:10px!important;margin-top:12px!important}
html:root[data-view-mode=phone] .mobile-pen-actions .mobile-pen-start{min-height:46px!important;font-size:15px!important;font-weight:700!important;border-radius:8px!important;background:#087f9c!important;color:#fff!important;opacity:1!important}
html:root[data-view-mode=phone] .mobile-pen-start:disabled{opacity:.45!important}
html:root[data-view-mode=phone] .mobile-pen-color{min-height:44px!important;border-radius:8px!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-slim-effects.is-text:not([hidden])),html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-text-create:not([hidden])){height:220px!important;min-height:0!important;max-height:min(32dvh,220px)!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-editor-settings>.mobile-editor-settings-body{height:auto!important;max-height:inherit!important;padding:8px 10px 12px!important;overflow-y:auto!important}
html:root[data-view-mode=phone] .mobile-text-create,html:root[data-view-mode=phone] .mobile-existing-text{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:5px 2px 12px!important}
html:root[data-view-mode=phone] .mobile-text-create[hidden],html:root[data-view-mode=phone] .mobile-existing-text[hidden]{display:none!important}
html:root[data-view-mode=phone] .mobile-text-field,html:root[data-view-mode=phone] .mobile-existing-text>input{border:1px solid #bfced7!important;border-radius:7px!important;background:#fff!important;min-height:44px!important}
html:root[data-view-mode=phone] .mobile-existing-text>input,html:root[data-view-mode=phone] .mobile-existing-text>select,html:root[data-view-mode=phone] .mobile-text-create>select{box-sizing:border-box!important;width:100%!important;height:42px!important;padding:8px 10px!important;font-size:14px!important;border:1px solid #ccd9e1!important;border-radius:7px!important;background-color:#fff!important}
html:root[data-view-mode=phone] .mobile-text-create input{height:44px!important;font-size:15px!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-targets{display:flex!important;gap:12px!important;padding:12px 0!important;border-top:1px solid #e1e9ee!important;border-bottom:1px solid #e1e9ee!important;margin-bottom:8px!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-group{padding:7px!important;gap:8px!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-group button{height:34px!important;min-height:34px!important;font-size:12px!important}

html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-caption>.editor-first-add{width:112px!important;min-width:100px!important;height:32px!important;min-height:32px!important;justify-content:center!important;padding:0 12px!important;font-size:13px!important;background:#f3f8fb!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-caption>strong{font-size:14px!important;letter-spacing:.35px!important;flex:1!important;white-space:normal!important;line-height:1.3!important}

html:root[data-view-mode=phone] .source-saved-items{overflow-y:hidden!important;min-height:60px!important;box-sizing:border-box!important}
html:root[data-view-mode=phone] .source-saved-item{position:relative!important;margin:5px 4px 0 0!important}
html:root[data-view-mode=phone] .source-saved-preview{display:block!important;min-height:44px!important;padding:4px!important;border:1px solid #ccdfe8!important;border-radius:6px!important;background:#fff!important}
html:root[data-view-mode=phone] .source-saved-preview img{width:100%!important;height:100%!important;object-fit:contain!important}
html:root[data-view-mode=phone] .source-saved-remove{position:absolute!important;right:-5px!important;top:-5px!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #cbdce5!important;border-radius:50%!important;background:#fff!important;font-size:14px!important;line-height:1!important}

/* 2026-11-04 mobile alignment refinement */
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-caption>strong{padding-left:2mm!important;box-sizing:border-box!important}

/* Visible rounded mobile editor frame */
html:root[data-view-mode=phone] body[data-quote-step="3"] [data-step-panel="3"] .placement-studio{border:1px solid #718897!important;border-radius:11px!important}

/* Keep the shirt visible when text controls expand; scroll controls internally. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-slim-effects.is-text:not([hidden]))>.mobile-editor-settings-body,html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-text-create:not([hidden]))>.mobile-editor-settings-body{height:calc(100% - 20px)!important;max-height:calc(100% - 20px)!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}

/* Text entry docks above the software keyboard without shrinking the shirt. */
html:root[data-view-mode=phone].mobile-editor-keyboard body[data-quote-step="3"] .placement-editor-toolbar>.mobile-editor-settings{position:fixed!important;top:var(--keyboard-panel-top)!important;left:10px!important;right:10px!important;bottom:auto!important;width:auto!important;height:96px!important;min-height:96px!important;max-height:96px!important;z-index:1000!important;border:1px solid #718897!important;border-radius:10px!important;background:#f6f8fa!important;box-shadow:0 -3px 16px #20374620!important}
html:root[data-view-mode=phone].mobile-editor-keyboard body[data-quote-step="3"] .mobile-editor-settings>.mobile-editor-settings-body{height:76px!important;max-height:76px!important;padding:8px!important;overflow:hidden!important}
html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-text-create,html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-existing-text{margin:0!important;padding:0!important}
html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-text-create>select,html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-existing-text>select,html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-paint-targets,html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-range-panel{display:none!important}
html:root[data-view-mode=phone] .mobile-text-create input,html:root[data-view-mode=phone] .mobile-existing-text>input{font-size:16px!important}
html:root[data-view-mode=phone].mobile-editor-keyboard .placement-decision-actions,html:root[data-view-mode=phone].mobile-editor-keyboard .form-footer{visibility:hidden!important;pointer-events:none!important}

.mobile-existing-text-done{display:none}
html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-existing-text{grid-template-columns:minmax(0,1fr) 56px!important;align-items:center!important;gap:8px!important}
html:root[data-view-mode=phone].mobile-editor-keyboard .mobile-existing-text-done{display:block!important;min-height:44px!important;border:1px solid #b9cbd6!important;border-radius:7px!important;background:#edf4f8!important;color:#173653!important;font-size:14px!important}

html:root[data-view-mode=phone].mobile-editor-keyboard body[data-quote-step="3"] .mobile-editor-settings .mobile-slim-effects.is-text .mobile-paint-targets,html:root[data-view-mode=phone].mobile-editor-keyboard body[data-quote-step="3"] .mobile-editor-settings .mobile-slim-effects.is-text .mobile-range-panel{display:none!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-existing-text>.mobile-existing-text-done{display:none!important}
html:root[data-view-mode=phone].mobile-editor-keyboard body[data-quote-step="3"] .mobile-existing-text>.mobile-existing-text-done{display:block!important}

/* Compact complete text controls, with text and font side by side. */
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-create,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-existing-text{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:8px!important;padding:0 0 6px!important;margin:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-existing-text>input,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-existing-text>select,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-create>select{min-width:0!important;height:40px!important;min-height:40px!important;padding:6px 8px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-field,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-create input{min-width:0!important;min-height:40px!important;height:40px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-targets{height:38px!important;margin:0 0 4px!important;padding:0!important;border:0!important;gap:8px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-group{padding:3px!important;gap:4px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-group button{height:30px!important;min-height:30px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel{margin:0!important;padding:0!important;gap:0 10px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges label,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-layer-rotation,html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel>.mobile-text-size:first-child{height:30px!important;min-height:30px!important;grid-template-rows:30px!important;padding:0!important}

/* Fill existing tool space instead of making the shirt smaller. */
html[data-view-mode=phone] .mobile-font-native{display:none!important}
html[data-view-mode=phone] .mobile-font-preview-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;height:40px;min-height:40px;padding:6px 10px;border:1px solid #bfced7;border-radius:7px;background:#fff;color:#203746;font-size:15px;text-align:left}
html[data-view-mode=phone] .mobile-font-preview-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-view-mode=phone] .mobile-font-preview-trigger i{font:14px sans-serif;color:#66818d}
html[data-view-mode=phone].mobile-editor-keyboard .mobile-font-preview-trigger{display:none!important}
.mobile-font-preview-dialog{box-sizing:border-box;width:calc(100% - 28px);max-width:460px;max-height:80dvh;padding:0;border:1px solid #b9cbd6;border-radius:14px;background:#fff;color:#203746;overflow:hidden}
.mobile-font-preview-dialog[open]{display:flex;flex-direction:column}
.mobile-font-preview-dialog::backdrop{background:#172f465c}
.mobile-font-preview-dialog header{display:flex;align-items:center;justify-content:space-between;flex:none;padding:12px 16px;border-bottom:1px solid #e2e9ee}
.mobile-font-preview-dialog header strong{font:600 16px sans-serif}
.mobile-font-preview-dialog header button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dce5ea;border-radius:50%;background:#f5f8fa;color:#405d70;font:24px/1 sans-serif}
.mobile-font-preview-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.mobile-font-preview-list button{min-width:0;min-height:62px;padding:10px 6px;border:1px solid #dce5eb;border-radius:8px;background:#fff;color:#203746;font-size:20px;line-height:1.35;word-break:keep-all}
.mobile-font-preview-list button[aria-pressed=true]{background:#edf8fc;border-color:#079fbc;color:#047b98;box-shadow:inset 0 0 0 1px #079fbc}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-editor-settings>.mobile-editor-settings-body{box-sizing:border-box!important;align-content:stretch!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-slim-effects:not([hidden]))>.mobile-editor-settings-body{display:flex!important;flex-direction:column!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects:not([hidden]){display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;gap:8px!important;padding:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects .mobile-existing-text{flex:none!important;padding:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects .mobile-paint-targets{flex:none!important;justify-content:space-between!important;min-height:38px!important;height:auto!important;margin:0!important;padding:0!important;gap:12px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects .mobile-range-panel{flex:1!important;align-content:space-evenly!important;gap:4px 14px!important;margin:0!important;padding:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects .mobile-range-panel .mobile-effect-ranges{gap:4px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel label{height:34px!important;min-height:34px!important;grid-template-rows:34px!important;column-gap:8px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-pen-settings:not([hidden]){display:flex!important;flex-direction:column!important;gap:14px!important;padding:6px 8px 10px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-pen-section{margin:0!important;display:grid!important;gap:10px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-pen-choice{gap:10px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-pen-choice button{min-height:48px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-pen-actions{gap:12px!important;margin-top:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-editor-shapes{gap:10px!important;padding:4px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-editor-shapes button{min-height:44px!important}

html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects:not([hidden]){gap:6px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel{gap:0 12px!important;align-content:space-between!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-range-panel .mobile-effect-ranges{gap:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .placement-editor-toolbar .mobile-slim-effects.is-text .mobile-range-panel label{height:32px!important;min-height:32px!important;grid-template-rows:32px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .placement-editor-toolbar .mobile-slim-effects .mobile-range-panel input[type=range]{height:32px!important;min-height:0!important;max-height:32px!important;margin:0!important;padding:0!important;align-self:center!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-editor-shapes{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-editor-shapes button{height:44px!important;min-height:44px!important;padding:4px!important}
@media(max-width:350px){html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) .mobile-editor-shapes{gap:5px!important}.mobile-font-preview-list{gap:8px;padding:10px}.mobile-font-preview-list button{font-size:18px}}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-text-create:not([hidden])){height:90px!important;max-height:90px!important;min-height:0!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-editor-settings:has(.mobile-text-create:not([hidden]))>.mobile-editor-settings-body{height:70px!important;max-height:70px!important;padding:8px 10px!important}

/* Color actions use a swatch and a dropdown cue rather than a solid label block. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar .mobile-paint-group button,
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar .mobile-pen-color{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;background:#fff!important;color:#294c60!important;border:1px solid #b8cbd7!important;border-radius:6px!important;font-size:11px!important;font-weight:500!important;padding:4px 6px!important;white-space:nowrap!important}
html:root[data-view-mode=phone] .mobile-paint-group button::before,html:root[data-view-mode=phone] .mobile-pen-color::before{content:'';display:block;flex:0 0 15px;width:15px;height:15px;border-radius:3px;background:var(--paint-preview,#173653);box-shadow:inset 0 0 0 1px #314f6440}
html:root[data-view-mode=phone] .mobile-paint-group button::after,html:root[data-view-mode=phone] .mobile-pen-color::after{content:'▾' / '';font:10px/1 sans-serif;color:#628497;margin-left:auto;align-self:center}

/* Phone text controls: one color box per action, separated from content/font. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar .mobile-paint-group button{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:3px 4px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text:not([hidden]){gap:4px!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-existing-text{box-sizing:border-box!important;height:48px!important;min-height:48px!important;padding:0 0 7px!important;border-bottom:1px solid #cbd8e1!important;align-items:start!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-targets{height:34px!important;min-height:34px!important;padding:0!important;align-items:center!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-paint-group{height:32px!important;min-height:32px!important;padding:0 3px!important}

/* Signed slider midpoint and tappable exact-zero value. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar input.mobile-zero-range{background:linear-gradient(#718b9c,#718b9c) center/1px 12px no-repeat!important}
html:root[data-view-mode=phone] .mobile-zero-reset{cursor:pointer!important;text-decoration:underline dotted #8ca8ba;text-underline-offset:3px;border-radius:4px;touch-action:manipulation}
html:root[data-view-mode=phone] .mobile-zero-reset:focus-visible{outline:2px solid #009fbd;outline-offset:2px}
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar .mobile-range-panel output.mobile-zero-reset{height:32px!important;min-height:0!important;max-height:32px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;border:0!important;background:transparent!important;line-height:1!important}

/* One color action per box; paint removal lives inside the palette. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-paint-group>label{display:none!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .placement-editor-toolbar .mobile-paint-group button{width:100%!important;max-width:none!important;flex:1!important;padding-inline:8px!important}
html:root[data-view-mode=phone] .mobile-paint-group button::after,html:root[data-view-mode=phone] .mobile-pen-color::after{content:'⌄' / '';font-size:22px!important;font-weight:600!important;line-height:.8!important;transform:translateY(-2px)}
html:root[data-view-mode=phone] .mobile-palette-none{width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;padding:0!important;border:1px solid #c8d5dd!important;border-radius:4px!important;background:repeating-conic-gradient(#fff 0% 25%,#e3e9ee 0% 50%) 0/10px 10px!important;color:#e45b60!important;font:24px/1 sans-serif!important}
html:root[data-view-mode=phone] .mobile-palette-none[hidden]{display:none!important}
html:root[data-view-mode=phone] .mobile-paint-group button.paint-is-none::before{background:linear-gradient(135deg,transparent 44%,#e45b60 45% 55%,transparent 56%),repeating-conic-gradient(#fff 0% 25%,#e3e9ee 0% 50%) 0/8px 8px!important}

/* Mobile-only notice position and a distinct content/font row. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .toast.mobile-editor-notice.required-toast{position:fixed!important;left:var(--notice-x,50%)!important;top:var(--notice-y,40%)!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:max-content!important;max-width:calc(100vw - 48px)!important;white-space:pre-line!important;pointer-events:none!important;z-index:6000!important}
html:root[data-view-mode=phone] .mobile-paint-group button::after,html:root[data-view-mode=phone] .mobile-pen-color::after{content:''!important;display:block!important;position:static!important;width:9px!important;height:9px!important;flex:0 0 9px!important;box-sizing:border-box!important;border:0!important;border-right:2px solid #628497!important;border-bottom:2px solid #628497!important;transform:rotate(45deg)!important;align-self:center!important;margin: -4px 3px 0 auto!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-slim-effects.is-text .mobile-existing-text{height:38px!important;min-height:38px!important;padding:0!important;border:0!important;align-items:center!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-existing-text>input,
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-font-preview-trigger,
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-field,
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-text-create input{height:34px!important;min-height:34px!important;max-height:34px!important;background:#edf4f8!important}
html:root[data-view-mode=phone]:not(.mobile-editor-keyboard) body[data-quote-step="3"] .mobile-font-preview-trigger{padding-block:3px!important}


/* Keep the text field border inside its fixed-height row. */
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-text-field{box-sizing:border-box!important;display:flex!important;align-items:center!important;overflow:hidden!important;border:1px solid #aebfcb!important;border-radius:7px!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-text-field>input{box-sizing:border-box!important;flex:1 1 0!important;width:0!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-text-field:focus-within{border-color:#3382b7!important;box-shadow:inset 0 0 0 1px #3382b7!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-existing-text>input{box-sizing:border-box!important;outline-offset:-3px!important;border:1px solid #aebfcb!important}
html:root[data-view-mode=phone] body[data-quote-step="3"] .mobile-palette-settings .mobile-palette-direct{background:#fff!important;border:1px solid #b9cbd6!important;color:#426779!important;font:300 26px/1 Arial,sans-serif!important;display:grid!important;place-items:center!important}

html:root[data-view-mode=phone] .mobile-palette-pen-extra[hidden]{display:none!important}
html:root[data-view-mode=phone] .design-source-palette .design-source-custom-card{background:#fff!important;border:1px solid #b9cbd6!important;color:#426779!important;font:300 26px/1 Arial,sans-serif!important}
