/* Customer editor only: the original studio remains unchanged. */
.customer-editor [hidden]{display:none!important}
.customer-editor :is(#card-format-note,.customer-review-summary,.card-print-tip,#card-size-help,#card-spacing-help,#card-letter-note,#card-center-text,#card-rotation-help,#customer-tool-panel-position>.customer-intro){display:none!important}
.customer-editor #customer-tool-panel-shadow .card-shadow-option{margin-top:0;font-weight:600}
#purchase-notice:not(.is-paid) #purchase-intro{display:none!important}
.customer-editor .card-editor-heading{margin-bottom:18px}
.customer-tabs{display:flex;gap:4px;padding:5px;max-width:440px;margin:0 0 22px auto;border:1px solid var(--line);border-radius:16px;background:var(--paper);scroll-margin-top:110px}
.customer-tab{flex:1;min-width:0;min-height:44px;border-radius:11px;color:var(--muted);font-size:.94rem;font-weight:600}
.customer-tab[aria-selected="true"]{background:#fbe5db;color:#7c4238;box-shadow:0 2px 5px #754b3410}
.customer-tab-number{display:none}
.customer-editor .card-controls{padding:22px;min-width:0}
.customer-panel{min-width:0}
.customer-design-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.customer-design-row h2{margin:0;font-size:1.2rem}
.customer-intro{color:var(--muted);font-size:.88rem;line-height:1.55;margin:0 0 20px}
.customer-editor .card-other-designs{margin:0 0 16px}
.customer-editor .card-other-designs:not([open]){display:none}
.customer-editor .card-other-designs>summary{display:none}
.customer-editor .card-other-designs .card-design-options{flex-wrap:wrap;max-height:260px;overflow-y:auto}
.customer-texts .card-text-field{padding:13px;border:1px solid var(--line);border-radius:14px;background:#fffcf8;margin-bottom:12px}
.customer-edit-style{display:block;margin:6px 0 0 auto}
.customer-next{width:100%;justify-content:center;min-height:48px;margin:12px 0 6px}
.customer-secondary{display:block;width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:8px 12px;font-size:.9rem;font-weight:600;background:var(--paper);color:var(--ink)}
.customer-target{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.customer-target label{white-space:nowrap;color:var(--muted);font-size:.78rem}
.customer-target select{width:100%;min-width:0;min-height:44px;border:1.5px solid #d2a698;border-radius:12px;background:#fff5ef;color:var(--ink);font:inherit;font-size:16px;padding:8px;text-overflow:ellipsis}
.customer-editor #card-style-target{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.customer-editor .card-history-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.customer-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:8px}
.customer-tool{min-height:44px;border-radius:10px;font-size:.85rem;color:var(--muted);font-weight:600}
.customer-tool[aria-selected="true"]{background:var(--ink);color:var(--paper)}
.customer-tool-panel{min-width:0}
.customer-editor .card-field{margin-bottom:18px}
.customer-editor .card-font-grid button{min-height:76px}
.customer-current-font{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fffcf8;margin-bottom:14px}
.customer-current-font-description{display:flex;flex-direction:column;gap:3px;min-width:0}
.customer-current-font-sample{font-size:1.8rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-current-font-name{font-size:.75rem;color:var(--muted)}
.customer-change-font{flex:none;min-height:44px}
.customer-font-overview .card-field{margin-bottom:12px}
.customer-bold-field legend{display:none}
.customer-bold-field .card-bold-row{margin-top:0}
.customer-font-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.customer-font-gallery-header h3{font-size:.9rem;margin:0}
.customer-font-gallery-header button{min-height:44px;padding-inline:18px}
.customer-font-gallery .card-font-grid{position:relative;max-height:440px;overflow-y:auto;overscroll-behavior:contain;align-content:start;padding:4px;scroll-padding:4px}
.customer-editor[data-font-gallery="true"] #customer-panel-style>.customer-next{display:none}
.customer-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.customer-editor .card-text-handles .customer-text-resize{width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:transparent;border-radius:50%;clip-path:circle(50%);display:grid;place-items:center;z-index:5;cursor:nwse-resize;touch-action:none}
.customer-text-resize>span{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid #bd6758;border-radius:50%;background:#fffdf9;color:#965141;box-shadow:0 1px 5px #49372c30}
.customer-text-resize svg{width:14px;height:14px}
.customer-editor .customer-text-resize:focus-visible{outline:none}
.customer-text-resize:focus-visible>span{outline:2px solid #965141;outline-offset:3px}
.customer-editor .card-letter-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.customer-editor .card-letter-modes button{padding:10px 4px;min-width:0}
.customer-editor .card-letter-modes strong{font-size:.82rem}
.customer-editor .card-letter-modes span{font-size:.67rem}
.customer-editor .card-pick-panel{border:0;padding:0;background:transparent;margin:0 0 16px}
.customer-editor .card-pick-swatches{margin-bottom:10px}
.customer-editor .card-pick-tools{margin-top:10px}
.customer-editor .card-pick-other{min-height:44px}
.customer-eyedropper{display:inline-flex;width:18px;height:18px}
.customer-eyedropper svg{width:100%;height:100%}
.customer-editor .card-color-list{padding-top:12px;border-top:1px solid var(--line);gap:9px}
.customer-editor .card-palette-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.customer-editor .card-palette-list button{padding:10px 7px;font-size:.72rem;min-width:0;overflow-wrap:anywhere}
.customer-editor .card-palette-dots i{width:16px;height:16px}
.customer-editor .card-center-text{display:block;width:100%;min-height:44px;margin:0 0 20px}
.customer-preview-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px}
.customer-preview-actions .card-history{margin:0;flex:1;max-width:360px}
.customer-preview-actions .card-history button{min-height:40px;padding:7px 9px;font-size:.77rem}
.customer-editor .card-preview-panel{top:120px}
.customer-editor:not([data-customer-step="review"]) .card-view-switch{display:none}
.customer-editor .watermark-note{display:none!important}
.customer-editor .card-move-help{font-size:.75rem;margin-top:8px}
.customer-editor .card-download-area{border:0;padding-top:0}
.customer-review-summary{font-size:1rem;line-height:1.55;background:#fff4d9;padding:14px;border-radius:12px;margin:16px 0 20px}
.customer-review-names{font-size:.9rem;overflow-wrap:anywhere;margin:0 0 15px}
.customer-history-info{margin-top:14px;color:var(--muted);font-size:.8rem}
.customer-history-info summary{padding:10px 0;cursor:pointer}
.customer-history-info .card-history-help{text-align:left;max-width:none}
.customer-zoom{width:min(94vw,850px);max-height:94dvh;padding:14px;border:1px solid #e2c9b9;border-radius:20px;background:#fffaf5;box-shadow:0 20px 80px #34201640}
.customer-zoom::backdrop{background:#2c201ccc}
.customer-zoom canvas{display:block;width:auto;max-width:100%;height:auto;max-height:calc(90dvh - 80px);margin:12px auto 0}
.customer-editor :is(button,select):focus-visible{outline:2px solid #9b5144;outline-offset:3px}
/* Press feedback must not override the canvas handles' centering/rotation transform. */
.customer-editor :is(.card-controls,.customer-tabs,.customer-preview-actions) button:not(:disabled):active{transform:scale(.98)}
/* Keep selection stationary and soften its outline without shrinking the touch target. */
.customer-editor .card-text-handles button[data-text-handle][aria-pressed="true"]{border-width:1.5px;background:#d16f6108;box-shadow:0 0 0 1px #fffdf9,0 0 0 2px #d16f6138;animation:none}
.customer-editor .card-text-handles button[data-text-handle][aria-pressed="true"]::before{left:-1.5px;box-shadow:0 0 0 1px #fffdf9,0 2px 4px #49372c24}
.customer-editor .card-text-handles button[data-text-handle][aria-pressed="true"]::after{opacity:.7}
@media(min-width:701px){
 /* Keep the card and navigation in the viewport; only the current options can scroll. */
 body:has(.customer-editor:not([hidden])){overflow:hidden}
 body:has(.customer-editor:not([hidden])) footer.site{display:none}
 .customer-editor{--customer-columns:minmax(0,1.2fr) minmax(310px,.85fr);position:fixed;inset:var(--customer-desktop-top,117px) 0 auto;height:calc(var(--customer-viewport-height,100dvh) - var(--customer-desktop-top,117px));z-index:10;padding:16px 0;overflow:hidden;background:var(--bg)}
 .customer-editor>.wrap{display:grid;grid-template-columns:var(--customer-columns);grid-template-rows:auto minmax(0,1fr);gap:16px 40px;height:100%;min-height:0}
 .customer-editor .product-back{grid-column:1;grid-row:1;align-self:center;justify-self:start;margin:0;min-height:44px}
 .customer-editor .card-editor-heading{display:none}
 .customer-tabs{grid-column:2;grid-row:1;max-width:none;width:100%;margin:0;scroll-margin-top:0}
 .customer-editor .card-editor-layout{grid-column:1/-1;grid-row:2;grid-template-columns:var(--customer-columns);grid-template-rows:minmax(0,1fr);align-items:stretch;min-height:0}
 .customer-editor .card-preview-panel{position:static;display:flex;flex-direction:column;min-height:0}
 .customer-editor .card-preview-mat{flex:1;min-height:0;padding:22px;container-type:size}
 .customer-editor .card-stage{width:min(420px,100%,100cqh)}
 .customer-editor #card-sheet{height:min(520px,100cqh,calc(100cqw * 279.4 / 215.9));width:auto;max-width:100%}
 .customer-editor .card-view-switch,.customer-preview-actions,.customer-editor .card-preview-caption,.customer-editor .card-move-help{flex:none}
 .customer-editor .card-controls{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-padding-block:22px}
 .customer-editor .card-controls :is(input,button,select,summary){scroll-margin-block:12px}
 .customer-editor[data-customer-step="style"] .card-controls{display:flex;flex-direction:column;overflow:hidden}
 .customer-editor[data-customer-step="style"] #customer-panel-style{display:flex;flex-direction:column;flex:1;min-height:0}
 .customer-target,.customer-tools,#customer-panel-style>.customer-next{flex:none}
 .customer-tool-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:4px 6px 10px;scroll-padding-block:6px}
 .customer-editor[data-font-gallery="true"] .customer-tool-body{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
 .customer-editor[data-font-gallery="true"] #customer-tool-panel-font,.customer-editor .customer-font-gallery{display:flex;flex-direction:column;flex:1;min-height:0}
 .customer-editor .customer-font-gallery-header{flex:none}
 .customer-editor .customer-font-gallery .card-font-grid{flex:1;min-height:0;max-height:none}
}
@media(min-width:701px) and (max-width:980px){
 .customer-editor{--customer-columns:minmax(0,1fr) minmax(295px,1fr)}
 .customer-editor>.wrap{column-gap:24px}
 .customer-editor .card-preview-mat{padding:16px}
}
@media(min-width:701px) and (max-height:740px){
 .customer-editor .card-preview-caption,.customer-editor .card-move-help{display:none}
 .customer-editor .card-preview-mat{padding:16px}
 .customer-editor .card-controls{padding:16px}
 .customer-target{margin-bottom:8px}
 .customer-tools{margin-bottom:8px}
 #customer-panel-style>.customer-next{margin-bottom:0}
}
@media(max-width:700px){
 /* A mobile editing workspace: only the options scroll, never the card or step tabs. */
 body:has(.customer-editor:not([hidden])){overflow:hidden}
 body:has(.customer-editor:not([hidden])) :is(header.top,footer.site){display:none}
 .customer-editor{position:fixed;inset:var(--customer-viewport-top,0px) 0 auto;z-index:30;height:var(--customer-viewport-height,100dvh);padding:8px 16px max(8px,env(safe-area-inset-bottom));overflow:hidden;background:var(--bg)}
 .customer-editor>.wrap{display:flex;flex-direction:column;width:100%;max-width:none;height:100%;min-height:0;padding:0}
 .customer-editor .product-back{align-self:flex-start;flex:none;min-height:34px;margin:0 0 6px}
 #card-editor.customer-editor .product-back{padding-inline:0;border-color:transparent;background:transparent;box-shadow:none;color:var(--muted);font-weight:500;text-decoration:underline;text-underline-offset:3px}
 .customer-editor .card-editor-heading{display:none}
 /* Separate, high-contrast steps keep the existing 56px row and 44px touch targets. */
 .customer-tabs{position:static;flex:none;max-width:none;margin:0 0 8px;padding-inline:0;gap:6px;background:transparent;border-color:transparent;scroll-margin-top:0}
 .customer-tab{display:flex;align-items:center;justify-content:center;gap:5px;padding:0 5px;border:1.5px solid #b17a68;background:#fffdf9;color:#574239;font-size:.88rem;font-weight:700;line-height:1.2;white-space:nowrap;box-shadow:0 2px 3px #754b3410}
 .customer-tab[aria-selected="true"]{border-color:#98513f;background:#98513f;color:#fff;box-shadow:0 2px 5px #754b3424}
 .customer-tab-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:19px;height:19px;border-radius:50%;background:#f8e6dc;color:#805145;font-size:.72rem;font-weight:700;line-height:1}
 .customer-tab[aria-selected="true"] .customer-tab-number{background:#ffffff24;color:#fff}
 .customer-editor .card-editor-layout{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;gap:10px}
 .customer-editor .card-preview-panel{position:static;flex:none;margin:0;padding:0;background:var(--bg);box-shadow:none}
 .customer-editor .card-preview-mat{padding:10px;min-height:0}
 .customer-editor .card-stage{width:min(100%,64vw,calc(var(--customer-viewport-height,100dvh) * .32))}
 .customer-editor #card-preview{width:100%}
 .customer-editor #card-sheet{height:min(74vw,calc(var(--customer-viewport-height,100dvh) * .32));width:auto;max-width:100%}
 .customer-editor .card-preview-caption,.customer-editor .card-move-help{display:none}
 .customer-editor .card-controls{flex:1;min-height:0;padding:12px;border-radius:18px;overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:12px}
 .customer-editor[data-customer-step="style"] .card-controls{scroll-padding-top:76px}
 .customer-editor .card-controls :is(input,button,select,summary){scroll-margin-top:12px}
 /* Leave the name field enough room above the keyboard, including short screens. */
 #card-editor.customer-editor[data-customer-typing="true"] .card-stage{width:min(100%,30vw,72px,calc(var(--customer-viewport-height,100dvh) * .15))}
 .customer-editor[data-customer-typing="true"] .card-preview-mat{padding:5px}
 .customer-editor[data-customer-typing="true"] .card-text-handles{visibility:hidden}
 .customer-editor[data-customer-typing="true"] .customer-preview-actions{display:none}
 .customer-editor[data-customer-typing="true"] .card-editor-layout{gap:6px}
 .customer-editor .card-controls :is(input[type="text"],textarea){font-size:max(16px,1em)}
 .customer-preview-actions{gap:7px;margin-top:5px}
 .customer-preview-actions .card-history button{min-height:40px;font-size:.72rem;padding:5px 6px}
 .customer-preview-actions>.card-mini-button{min-height:40px;font-size:.72rem}
 .customer-target{margin-bottom:8px;gap:7px}
 .customer-target label{font-size:.72rem}
 /* Tool tabs stay reachable while the selected tool's options scroll beneath them. */
 .customer-tools{position:sticky;top:-12px;z-index:4;margin:0 -12px 8px;padding:8px 12px;gap:3px;background:var(--paper);box-shadow:0 8px 10px -10px #49372c66}
 .customer-tool-body{padding:3px 4px 10px}
 .customer-editor[data-customer-step="style"] .customer-next{min-height:42px;margin:8px 0 0}
 .customer-editor .card-font-grid button{min-height:68px}
 .customer-editor .card-font-toggle{min-height:40px;margin-top:6px}
 .customer-editor[data-font-gallery="true"] .card-controls{display:flex;flex-direction:column;overflow:hidden}
 .customer-editor[data-font-gallery="true"] #customer-panel-style{display:flex;flex-direction:column;flex:1;min-height:0}
 .customer-editor[data-font-gallery="true"] .customer-target{display:none}
 .customer-editor[data-font-gallery="true"] .customer-tools{flex:none;position:static}
 .customer-editor[data-font-gallery="true"] .customer-tool-body{display:flex;flex-direction:column;flex:1;min-height:0;padding-bottom:0}
 .customer-editor[data-font-gallery="true"] #customer-tool-panel-font{display:flex;flex-direction:column;flex:1;min-height:0}
 .customer-editor .customer-font-gallery{display:flex;flex-direction:column;flex:1;min-height:0}
 .customer-editor .customer-font-gallery-header{flex:none;margin-bottom:4px}
 .customer-editor .customer-font-gallery .card-font-grid{flex:1;min-height:0;max-height:none}
 .customer-editor .customer-font-gallery .card-font-grid button{min-height:76px}
}
@media(max-width:360px){
 .customer-tab{gap:3px;padding-inline:2px;font-size:.8rem}
 .customer-tab-number{width:16px;height:16px;font-size:.66rem}
 .customer-target{flex-wrap:wrap}
 .customer-target label{display:none}
 .customer-tool{font-size:.77rem}
 .customer-preview-actions .card-history button{white-space:nowrap;font-size:.68rem;padding:4px;min-height:36px}
 .customer-editor .customer-tools{margin-bottom:4px;padding-bottom:4px}
 .customer-editor .customer-tool{min-height:40px}
}
@media(max-width:700px) and (max-height:650px) and (orientation:portrait){
 /* Leave room for a complete, readable font sample on shorter phone screens. */
 .customer-editor[data-font-gallery="true"] .card-stage{width:min(100%,64vw,calc(var(--customer-viewport-height,100dvh) * .25))}
 .customer-editor .customer-font-gallery .card-font-grid button{min-height:68px}
}
@media(max-width:700px) and (orientation:landscape){
 /* Some keyboards change CSS orientation without rotating the phone. */
 .customer-editor:not([data-customer-typing="true"]){--customer-landscape-preview-size:calc(var(--customer-viewport-height,100dvh) - 160px)}
 .customer-editor:not([data-customer-typing="true"])[data-customer-step="review"]{--customer-landscape-preview-size:calc(var(--customer-viewport-height,100dvh) - 200px)}
 .customer-editor:not([data-customer-typing="true"])>.wrap{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px 12px}
 .customer-editor:not([data-customer-typing="true"]) .product-back,.customer-editor:not([data-customer-typing="true"]) .customer-tabs{margin:0}
 .customer-editor:not([data-customer-typing="true"]) .card-editor-layout{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr);gap:12px}
 .customer-editor:not([data-customer-typing="true"]) .card-controls{height:100%}
 .customer-editor:not([data-customer-typing="true"]) .card-stage{width:min(100%,var(--customer-landscape-preview-size))}
 .customer-editor:not([data-customer-typing="true"]) #card-sheet{height:var(--customer-landscape-preview-size)}
}

/* Otro color en computadora (16 octubre 2026): cuadrícula y espectro como la hoja de colores del iPhone. */
.color-sheet{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 24px -18px #49372c66}
.color-sheet[hidden],.color-sheet-view[hidden]{display:none}
.customer-editor .card-pick-sheet-toggle[aria-expanded="true"]{border-color:#b17a68;background:#fff3ec}
.color-sheet-tabs{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:2px;border-radius:10px;background:#f3ebe5}
.color-sheet-tab{min-height:32px;border-radius:8px;font-size:.8rem;font-weight:600;color:var(--muted)}
.color-sheet-tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #49372c26}
.color-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));border-radius:10px;box-shadow:0 0 0 1px #eadfd6}
.color-grid-cell{position:relative;aspect-ratio:1;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:var(--swatch);cursor:pointer}
.color-grid-cell:nth-child(1){border-top-left-radius:10px}.color-grid-cell:nth-child(12){border-top-right-radius:10px}
.color-grid-cell:nth-child(109){border-bottom-left-radius:10px}.color-grid-cell:nth-child(120){border-bottom-right-radius:10px}
.color-grid-cell:hover{z-index:1;box-shadow:inset 0 0 0 2px #ffffffd9}
.color-grid-cell[aria-pressed="true"]{z-index:2;border-radius:5px;box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #3f3a37}
.color-grid-cell:focus-visible{z-index:3;border-radius:5px;outline:3px solid var(--coral-deep);outline-offset:1px}
.color-spectrum{position:relative;height:150px;border-radius:10px;cursor:crosshair;touch-action:none;background:linear-gradient(to bottom,#fff 0%,#ffffff00 50%,#00000000 50%,#000 100%),linear-gradient(to right,#f00 0%,#ff0 16.666%,#0f0 33.333%,#0ff 50%,#00f 66.666%,#f0f 83.333%,#f00 100%)}
.color-spectrum:focus-visible{outline:3px solid var(--coral-deep);outline-offset:2px}
.color-spectrum-marker{position:absolute;width:20px;height:20px;margin:-10px 0 0 -10px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #0007,0 2px 6px #0005;pointer-events:none}
.color-sheet-footer{display:flex;align-items:center;gap:10px}
.color-sheet-current{flex:none;width:28px;height:28px;border:1px solid #d9c9bd;border-radius:50%}
.customer-editor input.color-sheet-code{flex:0 1 10ch;width:10ch;min-width:0;min-height:44px;margin:0;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:16px;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.color-sheet-code:focus-visible{outline:2px solid var(--coral-deep);outline-offset:2px}
.color-sheet-code[aria-invalid="true"]{border-color:#b64132}
.color-sheet-error{margin:0;color:#a13528;font-size:.8rem;line-height:1.4}
.color-sheet-done{margin-left:auto}

/* A real eyedropper beside the grid, with a touch-friendly design sampler. */
.color-sheet-eyedropper{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #dec8bc;border-radius:24px;background:#fff8f3;color:#58463e;font:inherit;cursor:pointer}
.color-sheet-eyedropper svg{width:19px;height:19px}
.color-sample-overlay{position:fixed!important;z-index:10000;margin:0!important;padding:0!important;border:0!important;outline:2px solid #bb7564!important;outline-offset:-2px!important;border-radius:0!important;background:transparent!important;cursor:crosshair!important;touch-action:none;overflow:hidden;transform:none!important}
.color-sample-marker{position:absolute;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #44352d;pointer-events:none}

/* Enlarged pixels follow the eyedropper without covering the chosen point. */
.color-sample-lens{position:fixed;z-index:10002;width:var(--lens-size,84px);pointer-events:none;text-align:center;filter:drop-shadow(0 2px 5px #302c2933)}
.color-sample-lens canvas{display:block!important;width:var(--lens-size,84px)!important;height:var(--lens-size,84px)!important;box-sizing:border-box;border:5px solid var(--sample-color,#fff);border-radius:50%;outline:2px solid #fff;background:#fff;image-rendering:pixelated}
.color-sample-lens-code{position:absolute;left:50%;bottom:calc(100% + 4px);transform:translateX(-50%);display:block;white-space:nowrap;padding:3px 6px;border:1px solid #dec8bc;border-radius:12px;background:#fffaf6;color:#463a34;font:600 12px/1.2 sans-serif;letter-spacing:.03em}
.color-sample-cancel{position:fixed;z-index:10003;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation}
.color-sample-cancel span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #cda99a;border-radius:50%;background:#fffaf6;color:#58463e;box-shadow:0 2px 6px #49372c22;font:24px/1 sans-serif}
.color-sample-cancel:active{transform:none}

.color-sample-marker::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;transform:translate(-50%,-50%);border:1px solid white;box-shadow:0 0 0 1px #302c29}

/* Keep the smaller lens attached to the sampling point, with its code on the far side. */
.color-sample-lens::after{content:"";position:absolute;left:var(--sample-anchor,50%);top:100%;transform:translateX(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:8px solid var(--sample-color,#fff)}
.color-sample-lens[data-side="below"]::after{top:auto;bottom:100%;border-top:0;border-bottom:8px solid var(--sample-color,#fff)}
.color-sample-lens[data-side="below"] .color-sample-lens-code{bottom:auto;top:calc(100% + 4px)}
.color-sample-lens[data-side^="center-"]::after{display:none}
.color-sample-lens[data-side="center-below"] .color-sample-lens-code{bottom:auto;top:calc(100% + 4px)}

/* Outline: white and black above the design colors (customer-editor.mjs). */
#card-outline-settings [data-outline-colors]{margin-bottom:12px}
