.ulpe { --ulpe-ink: #14203f; --ulpe-line: #d5dced; --ulpe-lime: #c9df87; color: var(--ulpe-ink); margin: 30px 0; padding: 22px; border: 2px solid var(--ulpe-ink); border-radius: 20px; background: #fff; }
.ulpe *, .ulpe *::before, .ulpe *::after { box-sizing: border-box; }
.ulpe [hidden] { display: none !important; }
.ulpe .ulpe-heading h3 { margin: 0 0 10px; font-size: 1.36rem; line-height: 1.45; font-weight: 750; }
.ulpe .ulpe-heading p { margin: 0 0 22px; font-size: 1rem; line-height: 1.75; color: #586b8a; }
.ulpe .ulpe-selectors { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; margin-bottom: 20px; }
.ulpe .ulpe-catalog-note { margin: -8px 0 22px; color: #586b8a; font-size: .85rem; line-height: 1.7; }
.ulpe .ulpe-field { display: grid; align-content: start; gap: 8px; margin: 0; min-width: 0; font-size: .95rem; font-weight: 650; }
.ulpe .ulpe-field > span { line-height: 1.5; }
.ulpe select, .ulpe input[type=number], .ulpe input[type=text], .ulpe textarea { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #b7c3d8; border-radius: 9px; color: var(--ulpe-ink); background: white; font: inherit; font-size: .95rem; }
.ulpe select:focus-visible, .ulpe input:focus-visible, .ulpe textarea:focus-visible, .ulpe button:focus-visible, .ulpe-layer:focus-visible, .ulpe .ulpe-file:focus-visible + .ulpe-upload { outline: 3px solid #345bfa; outline-offset: 3px; }
.ulpe .ulpe-colors { display: flex; flex-wrap: wrap; gap: 7px; }
.ulpe .ulpe-color { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 7px 9px; border: 1px solid var(--ulpe-line); border-radius: 8px; font: inherit; font-size: .86rem; color: var(--ulpe-ink); background: white; cursor: pointer; }
.ulpe .ulpe-color[aria-pressed=true] { border: 2px solid var(--ulpe-ink); background: #eef3e2; padding: 6px 8px; }
.ulpe .ulpe-color-dot { width: 19px; height: 19px; border-radius: 50%; border: 1px solid #969caa; flex: 0 0 auto; }
.ulpe .ulpe-color-select-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.ulpe .ulpe-color-preview { width: 44px; height: 44px; border: 1px solid #8491a9; border-radius: 9px; background: #fff; }
.ulpe .ulpe-color-help { color: #60718b; font-size: .76rem; line-height: 1.65; font-weight: 400; }
.ulpe .ulpe-step-title { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; font-size: 1.05rem; line-height: 1.65; font-weight: 800; }
.ulpe .ulpe-step-badge { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #14203f; border-radius: 12px; place-items: center; color: #fff; font-family: ui-monospace,monospace; font-weight: 800; font-size: 1rem; }
.ulpe .is-step-1 { background: #3155fa; border-color: #3155fa; }.ulpe .is-step-2 { color: #173247; background: #c9df87; border-color: #90a64e; }.ulpe .is-step-3 { color: #542328; background: #f3a39a; border-color: #c87973; }.ulpe .is-step-4 { color: #563e12; background: #f0d98b; border-color: #c5a853; }
.ulpe .ulpe-selectors > .ulpe-step-title { grid-column: 1/-1; margin-bottom: 0; }
.ulpe .ulpe-flow-arrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 25px; color: #3155fa; }
.ulpe .ulpe-flow-arrow > span { font-size: 2rem; line-height: 1; font-weight: 900; }.ulpe .ulpe-flow-arrow > small { color: #5d6e88; font-size: .85rem; font-weight: 700; }
.ulpe .ulpe-unavailable-panel { display: flex; gap: 12px; flex-wrap: wrap; padding: 18px; border: 1px solid #c78869; border-radius: 12px; background: #fff4e9; }.ulpe .ulpe-unavailable-panel > strong,.ulpe .ulpe-unavailable-panel > p { width: 100%; margin: 0; line-height: 1.8; }.ulpe .ulpe-unavailable-panel > strong { color: #713d27; font-size: .98rem; }.ulpe .ulpe-unavailable-panel > p { color: #7a6354; font-size: .84rem; }
.ulpe .ulpe-confirm-panel { display: grid; gap: 13px; margin-top: 25px; padding: 18px; border: 2px solid #3155fa; border-radius: 13px; background: #f1f4ff; }
.ulpe .ulpe-confirm-status { margin: 0; color: #526783; font-size: .94rem; line-height: 1.8; }
.ulpe .ulpe-confirm-panel .ulpe-confirm-button { justify-self: stretch; width: 100%; min-height: 56px; padding: 12px 18px; color: #fff; background: #3155fa; border: 2px solid #3155fa; box-shadow: 3px 3px 0 #b9c6ff; font-size: 1.05rem; font-weight: 800; }
.ulpe .ulpe-confirm-panel .ulpe-confirm-button:hover:not(:disabled) { background: #173bcf; color: #fff; }
.ulpe .ulpe-confirm-panel .ulpe-confirm-button:disabled { color: #4a5671; background: #e2e7f1; border-color: #a7b2c8; box-shadow: none; opacity: 1; cursor: not-allowed; }
.ulpe .ulpe-confirm-panel.is-confirmed { border-color: #698735; background: #f4f8e8; }
.ulpe .ulpe-confirm-panel.is-confirmed .ulpe-confirm-status { color: #3d5d20; font-weight: 700; }
.ulpe .ulpe-confirm-panel.is-confirmed .ulpe-confirm-button { color: #233b16; background: var(--ulpe-lime); border-color: #698735; opacity: 1; }
.ulpe .ulpe-confirm-panel > small { color: #63728b; font-size: .8rem; line-height: 1.75; }
.ulpe .ulpe-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); align-items: start; gap: 20px 18px; }
.ulpe .ulpe-workspace.is-unselected { grid-template-columns: minmax(0, 1fr); }
.ulpe .ulpe-settings { grid-column: 1; grid-row: 1; min-width: 0; }
.ulpe .ulpe-adjustments { grid-column: 1; grid-row: 2; min-width: 0; }
.ulpe .ulpe-preview-rail { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 16px; align-self: start; min-width: 0; }
.ulpe .ulpe-settings :is(.ulpe-selectors, .ulpe-packages, .ulpe-methods) { grid-template-columns: minmax(0, 1fr); }
.ulpe .ulpe-settings .ulpe-mini-shirt { width: clamp(52px, 6vw, 86px); }
.ulpe .ulpe-live-summary { display: none; }
.ulpe .ulpe-preview-title { margin: 0; font-size: .95rem; line-height: 1.6; text-align: center; }
.ulpe .ulpe-preview-name { margin: 3px 0 10px; color: #526480; font-size: .8rem; line-height: 1.6; text-align: center; }
.ulpe .ulpe-preview-selection { margin: 10px 3px 0; color: #14203f; font-size: .78rem; line-height: 1.6; font-weight: 700; overflow-wrap: anywhere; }
.ulpe .ulpe-preview-allowance { margin: 6px; color: #526480; font-size: .76rem; line-height: 1.6; font-weight: 700; }
.ulpe .ulpe-preview-feedback { margin: 9px 3px 0; padding: 9px; border: 1px solid #d4a06c; border-radius: 8px; background: #fff4e6; color: #83430d; font-size: .77rem; line-height: 1.65; overflow-wrap: anywhere; }
.ulpe .ulpe-preview { min-width: 0; padding: 12px 8px 8px; background: #f3f5f9; border-radius: 14px; }
.ulpe .ulpe-views { display: flex; justify-content: center; gap: 8px; }
.ulpe .ulpe-button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 8px 12px; border: 1px solid #aebbd0; border-radius: 9px; background: white; color: var(--ulpe-ink); font-family: inherit; font-size: .9rem; font-weight: 650; line-height: 1.5; cursor: pointer; text-align: center; margin: 0; }
.ulpe .ulpe-button:hover { background: #edf1fb; }
.ulpe .ulpe-button:disabled { opacity: .5; cursor: wait; }
.ulpe .ulpe-button[aria-pressed=true] { background: var(--ulpe-ink); color: white; border-color: var(--ulpe-ink); }
.ulpe .ulpe-views .ulpe-button:disabled, .ulpe .ulpe-layer-actions .ulpe-button:disabled { color: #7b8598; background: #e8ebf0; border-color: #cbd2dd; opacity: 1; cursor: not-allowed; box-shadow: none; }
.ulpe .ulpe-side-availability { margin: 9px 3px 0; color: #59677e; font-size: .76rem; line-height: 1.6; text-align: center; }
.ulpe .ulpe-stage { position: relative; width: 100%; aspect-ratio: 1; margin: 20px 0 7px; container-type: inline-size; }
.ulpe .ulpe-garment { position: absolute; inset: 0; filter: drop-shadow(0 6px 5px #14203f18); pointer-events: none; }
.ulpe .ulpe-template-layer, .ulpe .ulpe-template-outline { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ulpe .ulpe-template-layer { background-color: var(--ulpe-garment-color, #fff); -webkit-mask-image: var(--ulpe-template-mask); mask-image: var(--ulpe-template-mask); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.ulpe .ulpe-template-outline { max-width: none; object-fit: contain; }
.ulpe :is(.ulpe-print-zone, .ulpe-summary-zone) { position: absolute; left: 30%; top: 22%; width: 40%; aspect-ratio: 35 / 45; overflow: visible; border: 1px dashed #61718b9c; font-size: 4.4cqw; }
.ulpe .ulpe-stage[data-side=back] :is(.ulpe-print-zone, .ulpe-summary-zone) { top: 20%; }
.ulpe .ulpe-print-zone.is-overflow { border: 2px solid #b02b2b; background: #ffe6e629; }
.ulpe .ulpe-print-label { position: absolute; top: 84%; left: 0; right: 0; text-align: center; color: #66758c; font-size: .68rem; pointer-events: none; }
.ulpe .ulpe-layer { position: absolute; display: flex; align-items: center; justify-content: center; cursor: grab; padding: 0; border: 0; outline-offset: 3px; touch-action: none; user-select: none; line-height: 1.05; white-space: pre; }
.ulpe .ulpe-layer:active { cursor: grabbing; }
.ulpe .ulpe-layer.is-dragging { cursor: grabbing; }
.ulpe .ulpe-layer[aria-pressed=true] { outline: 2px solid #345bfa; }
.ulpe .ulpe-layer-image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: fill; pointer-events: none; }
.ulpe .ulpe-resize-handle { position: absolute; display: block; width: 20px; height: 20px; z-index: 3; border: 0; background: transparent; touch-action: none; user-select: none; --ulpe-handle-dot-x: 50%; --ulpe-handle-dot-y: 50%; }
.ulpe .ulpe-resize-handle[hidden] { display: none; }
.ulpe .ulpe-resize-handle::after { content: ''; position: absolute; left: var(--ulpe-handle-dot-x); top: var(--ulpe-handle-dot-y); width: 8px; height: 8px; border: 2px solid #345bfa; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 1px 3px #14203f20; }
.ulpe .ulpe-resize-handle:focus-visible { outline: 2px solid #f0a229; outline-offset: 1px; border-radius: 4px; }
/* Hit areas face outward, keeping even a narrow chest logo's center grabbable. */
.ulpe .ulpe-resize-handle[data-resize-direction=n] { left: 50%; top: 0; transform: translate(-50%, -100%); --ulpe-handle-dot-y: 100%; cursor: ns-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=s] { left: 50%; top: 100%; transform: translate(-50%, 0); --ulpe-handle-dot-y: 0%; cursor: ns-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=e] { left: 100%; top: 50%; transform: translate(0, -50%); --ulpe-handle-dot-x: 0%; cursor: ew-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=w] { left: 0; top: 50%; transform: translate(-100%, -50%); --ulpe-handle-dot-x: 100%; cursor: ew-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=nw] { left: 0; top: 0; transform: translate(-100%, -100%); --ulpe-handle-dot-x: 100%; --ulpe-handle-dot-y: 100%; cursor: nwse-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=ne] { left: 100%; top: 0; transform: translate(0, -100%); --ulpe-handle-dot-x: 0%; --ulpe-handle-dot-y: 100%; cursor: nesw-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=sw] { left: 0; top: 100%; transform: translate(-100%, 0); --ulpe-handle-dot-x: 100%; --ulpe-handle-dot-y: 0%; cursor: nesw-resize; }
.ulpe .ulpe-resize-handle[data-resize-direction=se] { left: 100%; top: 100%; transform: translate(0, 0); --ulpe-handle-dot-x: 0%; --ulpe-handle-dot-y: 0%; cursor: nwse-resize; }
@media (pointer: coarse) { .ulpe .ulpe-resize-handle { width: 28px; height: 28px; } }
.ulpe .ulpe-summary-layer { position: absolute; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; line-height: 1.05; white-space: pre; pointer-events: none; }
.ulpe .ulpe-summary-layer img { display: block; width: 100%; height: 100%; max-width: none; object-fit: fill; }
.ulpe .ulpe-preview-help { margin: 6px 6px 4px; font-size: .8rem; line-height: 1.6; color: #526480; }
.ulpe .ulpe-preview-caption { margin: 9px 0 2px; text-align: center; font-size: .77rem; font-weight: 650; color: #53627b; }
.ulpe .ulpe-controls { min-width: 0; }
.ulpe .ulpe-add-actions { display: grid; gap: 8px; }
.ulpe .ulpe-file { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.ulpe .ulpe-upload { background: var(--ulpe-ink); color: white; border-color: var(--ulpe-ink); }
.ulpe .ulpe-upload:hover { color: var(--ulpe-ink); }
.ulpe .ulpe-file-help { color: #66758e; font-size: .77rem; line-height: 1.6; margin: 7px 0 16px; }
.ulpe .ulpe-layer-heading { display: grid; gap: 3px; margin-bottom: 9px; }
.ulpe .ulpe-layer-heading h4 { margin: 0; font-size: 1rem; font-weight: 750; }
.ulpe .ulpe-layer-heading span { color: #64738d; font-size: .78rem; }
.ulpe .ulpe-layers { display: grid; gap: 6px; max-height: 146px; overflow-y: auto; padding: 3px; margin: 0 -3px 14px; }
.ulpe .ulpe-layer-choice { width: 100%; min-height: 40px; display: block; padding: 8px 9px; border: 1px solid var(--ulpe-line); border-radius: 8px; color: var(--ulpe-ink); background: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
.ulpe .ulpe-layer-choice[aria-pressed=true] { background: #eef1ff; border: 2px solid #345bfa; padding: 7px 8px; font-weight: 700; }
.ulpe .ulpe-empty { font-size: .85rem; line-height: 1.7; margin: 0; color: #69768e; }
.ulpe .ulpe-edit-panel, .ulpe .ulpe-text-fields { display: grid; gap: 14px; }
.ulpe .ulpe-edit-panel { padding-top: 15px; border-top: 1px solid var(--ulpe-line); }
.ulpe .ulpe-field input[type=range] { width: 100%; min-width: 0; margin: 0; accent-color: #345bfa; padding: 0; min-height: 24px; }
.ulpe .ulpe-field output { text-align: right; font-size: .8rem; color: #536989; font-weight: 500; }
.ulpe .ulpe-field input[type=color] { width: 100%; height: 40px; padding: 4px; border: 1px solid #aebbd0; border-radius: 8px; background: white; cursor: pointer; }
.ulpe .ulpe-position-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ulpe .ulpe-position-fields .ulpe-field { font-size: .8rem; }
.ulpe .ulpe-number-control { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 6px; }
.ulpe .ulpe-number-arrows { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; }
.ulpe .ulpe-number-step { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0; border: 1px solid #9caec9; border-radius: 7px; color: #14203f; background: #eaf0ff; cursor: pointer; font-size: .85rem; line-height: 1; touch-action: none; user-select: none; }
.ulpe .ulpe-number-step:hover { background: #d9e4ff; }
.ulpe .ulpe-number-step:focus-visible { outline: 3px solid #3155fa; outline-offset: 2px; }
.ulpe .ulpe-number-step:disabled { color: #8590a5; background: #f1f3f7; cursor: not-allowed; }
.ulpe input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.ulpe input[type=number]::-webkit-inner-spin-button,.ulpe input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
.ulpe .ulpe-layer-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.ulpe .ulpe-layer-actions .ulpe-button { padding: 6px 8px; font-size: .78rem; }
.ulpe .ulpe-danger { color: #b23b38; border-color: #d7b2af; }
.ulpe .ulpe-error { margin: 0 0 16px; padding: 12px; border: 1px solid #daa59f; border-radius: 8px; background: #fff3ef; color: #a53631; line-height: 1.7; font-size: .9rem; }
.ulpe .ulpe-status { margin: 16px 0 0; color: #536b87; font-size: .82rem; line-height: 1.7; }
.ulpe .ulpe-notice { margin: 15px 0 0; padding: 12px 14px; border-radius: 9px; color: #605633; background: #faf5df; font-size: .85rem; line-height: 1.75; }
.ulpe .ulpe-choice-section { border: 0; padding: 0; min-width: 0; margin: 0 0 22px; }
.ulpe .ulpe-choice-section legend { font-size: 1rem; font-weight: 750; margin-bottom: 12px; }
.ulpe .ulpe-methods, .ulpe .ulpe-packages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ulpe .ulpe-option { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 16px 13px; border: 2px solid var(--ulpe-line); border-radius: 13px; cursor: pointer; background: #fff; }
.ulpe .ulpe-option input { accent-color: #264dff; margin: 4px 0 0; width: 18px; height: 18px; flex: 0 0 auto; }
.ulpe .ulpe-option.is-selected { background: #f4f7e9; border-color: var(--ulpe-ink); box-shadow: 3px 3px 0 var(--ulpe-lime); }
.ulpe .ulpe-option.is-unavailable { background: #f3f4f7; border-color: #e1e4eb; color: #64718a; cursor: not-allowed; }
.ulpe .ulpe-option.is-unavailable.is-selected { border-color: #b46b52; box-shadow: none; }
.ulpe .ulpe-method-copy { display: grid; gap: 6px; }
.ulpe .ulpe-method-availability { color: #63738e; font-size: .75rem; line-height: 1.6; }
.ulpe .ulpe-package-price { color: #254cfa; font-size: .9rem; }
.ulpe .ulpe-option.is-unavailable .ulpe-package-price { color: #64718a; font-size: .8rem; }
.ulpe .ulpe-package-copy { display: grid; gap: 12px; width: 100%; }
.ulpe .ulpe-package-copy strong { font-size: .9rem; line-height: 1.5; }
.ulpe .ulpe-package-diagrams { display: flex; justify-content: space-around; gap: 8px; }
.ulpe .ulpe-package-side { display: grid; justify-items: center; gap: 7px; text-align: center; font-size: .68rem; line-height: 1.5; color: #586b8a; }
.ulpe .ulpe-mini-shirt { position: relative; display: block; width: clamp(72px,9vw,112px); aspect-ratio: 1; background: #fff; border: 1px solid #dce2ec; border-radius: 8px; overflow: hidden; }
.ulpe .ulpe-mini-template,.ulpe .ulpe-mini-uploaded { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.ulpe .ulpe-mini-zone { position: absolute; display: block; left: 50%; top: 47%; transform: translate(-50%,-50%); border: 1px dashed #456430; background: #b0d95f9c; }
.ulpe .ulpe-mini-zone.is-back { border-color: #3356b9; background: #547bf080; }
.ulpe .ulpe-mini-zone.is-small { left: 58%; top: 33%; }
.ulpe .ulpe-mini-caption { color: #74829a; font-size: .62rem; line-height: 1.4; }
.ulpe .ulpe-option-help { color: #586b8a; font-size: .82rem; line-height: 1.8; margin: 12px 0 0; }
.ulpe .ulpe-price-panel { border: 1px solid #b1c77c; border-radius: 12px; background: #f4f8e7; padding: 16px; margin: 0 0 22px; }
.ulpe .ulpe-price-headline { display: block; font-size: 1.25rem; line-height: 1.5; }
.ulpe .ulpe-price-detail, .ulpe .ulpe-bounds-summary { font-size: .82rem; line-height: 1.75; margin: 8px 0 0; color: #4f6248; }
.ulpe .ulpe-price-panel.is-incomplete { border-color: #d0bb75; background: #fffae8; }
.ulpe .ulpe-quote-reasons { margin: 8px 0 0; padding-left: 20px; color: #84580d; font-size: .85rem; line-height: 1.7; }
.ulpe .ulpe-quote-reasons:empty { display: none; }
/* The builder normally clips its rounded corners; that must not create an
   accidental scroll ancestor for this editor's sticky live previews. */
.flow-page .project-builder:has(#local-print-editor:not([hidden]) .ulpe) { overflow: visible; }
.flow-page .project-builder:has(#local-print-editor:not([hidden]) .ulpe) > .builder-aside { border-top-left-radius: 22px; }
@media (max-width: 1000px) {
  .ulpe .ulpe-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ulpe .ulpe-settings, .ulpe .ulpe-preview-rail, .ulpe .ulpe-adjustments { grid-column: 1; grid-row: auto; }
  .ulpe .ulpe-preview-rail { position: static; }
  .ulpe .ulpe-preview { max-width: 400px; width: 100%; margin: 0 auto; scroll-margin-top: 130px; }
  .ulpe .ulpe-live-summary { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; position: sticky; top: 8px; z-index: 20; min-width: 0; margin-bottom: 20px; padding: 8px; border: 1px solid #aebbd0; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px #14203f20; }
  .ulpe .ulpe-summary-stage { width: 84px; height: 84px; margin: 0; }
  .ulpe .ulpe-summary-copy { min-width: 0; display: grid; align-content: center; justify-items: start; gap: 3px; }
  .ulpe .ulpe-summary-copy > strong { font-size: .76rem; line-height: 1.5; }
  .ulpe .ulpe-summary-name { margin: 0; color: #526480; font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
  .ulpe .ulpe-enlarge-preview { min-height: 36px; padding: 5px 9px; font-size: .76rem; }
  .ulpe .ulpe-settings .ulpe-mini-shirt { width: clamp(56px, 15vw, 86px); }
}
@media (max-width: 1000px) and (max-height: 480px) {
  .ulpe .ulpe-live-summary { grid-template-columns: 60px minmax(0, 1fr); }
  .ulpe .ulpe-summary-stage { width: 60px; height: 60px; }
  .ulpe .ulpe-summary-copy > strong { display: none; }
}
@media (max-width: 830px) { .flow-page .project-builder:has(#local-print-editor:not([hidden]) .ulpe) > .builder-aside { border-top-right-radius: 17px; border-top-left-radius: 17px; } }
@media (max-width: 680px) { .ulpe { padding: 16px; } .ulpe .ulpe-selectors { grid-template-columns: 1fr; } .ulpe .ulpe-add-actions { grid-template-columns: 1fr 1fr; } .ulpe .ulpe-layers { max-height: 180px; } .ulpe .ulpe-controls { padding-top: 10px; } }
@media (max-width: 420px) { .ulpe .ulpe-packages { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ulpe * { scroll-behavior: auto; } }
