/* Functional base styles. The full brand look (carbon, rainbow, mascot) comes with the theme. */
/* Stack based on the space the theme gives the builder, not the screen width. */
.ms-wrap { container-type: inline-size; }
.ms-builder { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@container (min-width: 820px) { .ms-builder { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); } }
.ms-steps, .ms-price { min-width: 0; }
.ms-step { border: 0; border-bottom: 1px solid #e1e4ee; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ms-step legend { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.ms-chip { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #e1e4ee; border-radius: 12px; padding: 8px 12px; cursor: pointer; font-weight: 700; }
.ms-chip:has(input:checked) { border-color: #121318; background: #fff6cc; }
.ms-row { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }
.ms-row[hidden] { display: none; }
.ms-builder input[type=number] { width: 110px; padding: 6px 8px; }
.ms-price { position: sticky; top: 16px; background: #101216; color: #f5f6fa; border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.ms-total { font-size: 48px; font-weight: 800; color: #ffd21a; line-height: 1; font-variant-numeric: tabular-nums; }
.ms-each { font-family: ui-monospace, Menlo, Consolas, monospace; color: #aeb4c6; }
.ms-error { color: #ff8a7a; font-weight: 700; margin: 0; }
.ms-breaks { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.ms-breaks th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #aeb4c6; }
.ms-breaks td { padding: 6px 4px; border-top: 1px solid #2c313c; cursor: pointer; }
.ms-breaks td:not(:first-child), .ms-breaks th:not(:first-child) { text-align: right; }
.ms-breaks tr.is-current td { color: #ffd21a; font-weight: 800; }
.ms-add { background: #e8177f !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; padding: 14px !important; font-weight: 800 !important; }
.ms-add:disabled { opacity: .45; }
.ms-note { font-size: 13px; color: #aeb4c6; margin: 0; }
.ms-art-step { flex-direction: column; flex-wrap: nowrap; }
.ms-drop { position: relative; display: block; border: 2px dashed #b9bfd0; border-radius: 16px; padding: 18px; text-align: center; cursor: pointer; background: #fafbff; }
.ms-drop:hover, .ms-drop.is-over { border-color: #e8177f; background: #fff0f7; }
.ms-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ms-drop span { display: grid; gap: 4px; font-size: 14px; color: #5b6070; }
.ms-drop strong { font-size: 16px; color: #121318; }
.ms-drop.is-busy { opacity: .6; pointer-events: none; }
.ms-art { display: flex; gap: 14px; align-items: flex-start; border: 2px solid #121318; border-radius: 16px; padding: 12px; }
.ms-art img { width: 88px; height: 88px; object-fit: contain; border-radius: 10px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; flex: none; }
.ms-art-info { min-width: 0; display: grid; gap: 4px; }
.ms-art-info strong { overflow-wrap: anywhere; }
.ms-art-info p { margin: 0; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.ms-v-good, .ms-v-vector { background: #e6f4ea; color: #14532d; }
.ms-v-ok { background: #fff4ce; color: #664d03; }
.ms-v-low { background: #fde7e9; color: #8a1f11; }
.ms-link { background: none; border: 0; padding: 0; color: #e8177f; font-weight: 700; cursor: pointer; justify-self: start; text-decoration: underline; }
.ms-hint { font-size: 13px; color: #5b6070; margin: 0; }
.ms-notes { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.ms-notes textarea { box-sizing: border-box; width: 100%; font: inherit; font-weight: 400; padding: 8px 10px; border: 2px solid #e1e4ee; border-radius: 10px; }
/* Themes don't always reset [hidden]; the display rules above would otherwise win. */
.ms-wrap [hidden] { display: none !important; }
.ms-fixed-size { margin: 0; font-size: 15px; }
/* Picture cards for type and shape: one compact row each, at every width. */
.ms-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ms-cards.ms-shape-step { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ms-cards[hidden] { display: none; }
.ms-cards legend { grid-column: 1 / -1; }
.ms-card { position: relative; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 1px; text-align: center; padding: 6px 4px 8px; border: 2px solid #e1e4ee; border-radius: 14px; background: #fff; cursor: pointer; transition: transform .12s, border-color .12s; }
.ms-card:hover { transform: translateY(-2px); border-color: #b9bfd0; }
.ms-card input { position: absolute; opacity: 0; pointer-events: none; }
.ms-card img { width: 100%; max-width: 92px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.ms-card strong { font-size: 14px; line-height: 1.2; }
.ms-card small { font-size: 11.5px; line-height: 1.25; color: #5b6070; }
.ms-card:has(input:checked) { border-color: #121318; background: #fff6cc; box-shadow: 3px 3px 0 #e8177f; }
.ms-card:has(input:focus-visible) { outline: 3px solid #0aa6e6; outline-offset: 2px; }
@container (max-width: 560px) {
	.ms-card small { display: none; }
	.ms-card strong { font-size: 12.5px; }
	.ms-card { padding: 4px 2px 6px; border-radius: 12px; }
}
/* "Made in North America" badge on big-ticket builders. */
.ms-madehere { display: flex; gap: 14px; align-items: center; margin: 0 0 18px; padding: 12px 16px; border: 2px solid #121318; border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 #d52b1e; }
.ms-madehere .ms-leaf { flex: none; width: 40px; height: 40px; fill: #d52b1e; }
.ms-madehere div { min-width: 0; display: grid; gap: 2px; }
.ms-madehere strong { font-size: 17px; line-height: 1.2; }
.ms-madehere span { font-size: 15px; font-weight: 600; }
.ms-madehere small { font-size: 13px; color: #5b6070; }
/* Live mockup scene. 1200 x 800 artboard; positions in %. */
.ms-scene { position: relative; margin: 6px 0 4px; aspect-ratio: 3 / 2; max-width: 100%; border-radius: 16px; overflow: hidden; border: 2px solid #121318; background: #e9e3d8; box-shadow: 4px 4px 0 #ffd21a; }
.ms-scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-scene-art { position: absolute; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #e8177f, #ffd21a 55%, #0aa6e6); box-shadow: 3px 5px 10px rgba(0,0,0,.35); transition: left .25s, top .25s, width .25s, height .25s; }
.ms-scene-art span { font-weight: 800; font-size: clamp(9px, 1.6vw, 14px); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); text-align: center; padding: 4px; }
.ms-scene-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-scene-art.has-art span { display: none; }
.ms-scene-canvas .ms-scene-art { box-shadow: 4px 6px 0 -1px rgba(0,0,0,.22), 8px 14px 22px rgba(0,0,0,.28); }
.ms-scene-canvas .ms-scene-art.is-deep { box-shadow: 7px 9px 0 -1px rgba(0,0,0,.25), 12px 20px 28px rgba(0,0,0,.32); }
.ms-scene-canvas .ms-scene-art.edge-black { outline: 2px solid #111; }
.ms-scene-canvas .ms-scene-art.edge-white { outline: 2px solid #fff; }
.ms-scene-banner .ms-scene-art { box-shadow: 0 6px 12px rgba(0,0,0,.35); outline: 2px solid rgba(255,255,255,.85); outline-offset: -2px; }
.ms-scene-banner .ms-scene-art::before, .ms-scene-banner .ms-scene-art::after { content: ""; position: absolute; top: 4%; width: 5px; height: 5px; border-radius: 50%; background: #c9a24a; box-shadow: 0 0 0 1px #6d5320; z-index: 1; }
.ms-scene-banner .ms-scene-art::before { left: 1.5%; }
.ms-scene-banner .ms-scene-art::after { right: 1.5%; }
.ms-scene-perf .ms-scene-art { box-shadow: none; opacity: .93; }
.ms-scene-perf .ms-scene-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(20,28,36,.55) 0.9px, transparent 1.3px) 0 0 / 4px 4px; pointer-events: none; }
.ms-scene-mascot { position: absolute; width: auto; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 8px 10px rgba(0,0,0,.35)); pointer-events: none; }
.ms-scene figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; background: rgba(18,19,24,.82); color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 12.5px; max-width: max-content; }
.ms-scene figcaption strong { color: #ffd21a; }
/* Photo mockup: Mr. Stickers' study. The stage is the photo at full size, scaled by builder.js. */
.ms-room { aspect-ratio: 634 / 577; background: #3a3631; }
.ms-room-stage { position: absolute; left: 0; top: 0; width: 634px; height: 577px; transform-origin: 0 0; }
.ms-room-bg { position: absolute; inset: 0; width: 634px; height: 577px; max-width: none; }
.ms-room-canvas { --edge: 3px; position: absolute; transition: left .25s, top .25s, width .25s, height .25s, box-shadow .25s; }
.ms-room-face { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #e8177f, #ffd21a 55%, #0aa6e6); }
.ms-room-face span { font: 800 13px/1.1 system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); text-align: center; padding: 2px; }
.ms-room-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transform: scale(1.01); }
.ms-room-canvas.has-art .ms-room-face { background: #222; }
.ms-room-canvas.has-art .ms-room-face span { display: none; }
/* Lamp light from above and a faint weave over the print. */
.ms-room-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
	linear-gradient(to bottom, rgba(255, 226, 170, .25), rgba(255, 226, 170, 0) 40%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .22)),
	repeating-linear-gradient(0deg, rgba(0,0,0,.04) 0 1px, transparent 1px 2px),
	repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 2px); }
/* The frame's right edge, seen from where he sits. Width grows with frame depth. */
.ms-room-edge { position: absolute; top: 1px; bottom: -1px; left: 100%; width: var(--edge); background: #141414 right center / auto 100% no-repeat; transform: skewY(8deg); transform-origin: left top; filter: brightness(.5); }
.ms-room-edge.edge-white { background-color: #d9d6cf; filter: brightness(.75); }
.ms-room-edge.edge-black { background-color: #111; }

/* Photo mockups: sticker on the desk, banner on the shop. The stage is the photo at full size, scaled by builder.js. */
.ms-photo { background: #2a2622; }
.ms-photo-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.ms-photo-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }

.ms-desk-spot { position: absolute; width: 0; height: 0; }
.ms-sticker { --line: 3px; position: absolute; left: 0; top: 0; transform-origin: 50% 50%; transition: width .25s, height .25s;
	filter: drop-shadow(2px 5px 3px rgba(40, 20, 5, .45)); }
.ms-sticker img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.ms-sticker span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 12px/1 system-ui, sans-serif; color: #fff; background: linear-gradient(135deg, #e8177f, #ffd21a 55%, #0aa6e6); border-radius: 12%; }
/* Die-cut contour: a white border that follows the art. */
.ms-sticker.shape-contour:not(.type-sheet):not(.type-kisscut) img,
.ms-cut.shape-contour img { filter: drop-shadow(var(--line) 0 0 #fff) drop-shadow(calc(-1 * var(--line)) 0 0 #fff) drop-shadow(0 var(--line) 0 #fff) drop-shadow(0 calc(-1 * var(--line)) 0 #fff); }
/* Shaped stickers: white vinyl in the shape, the art inside it. */
.ms-sticker.shape-circle:not(.type-sheet):not(.type-kisscut), .ms-sticker.shape-oval:not(.type-sheet):not(.type-kisscut) { background: #fbfaf6; border-radius: 50%; overflow: hidden; }
.ms-sticker.shape-square:not(.type-sheet):not(.type-kisscut), .ms-sticker.shape-rect:not(.type-sheet):not(.type-kisscut) { background: #fbfaf6; border-radius: 7%; overflow: hidden; }
.ms-sticker.shape-circle:not(.type-sheet):not(.type-kisscut) img, .ms-sticker.shape-oval:not(.type-sheet):not(.type-kisscut) img,
.ms-sticker.shape-square:not(.type-sheet):not(.type-kisscut) img, .ms-sticker.shape-rect:not(.type-sheet):not(.type-kisscut) img { inset: 8%; width: 84%; height: 84%; }
.ms-sticker.type-bumper { border-radius: 4% / 14% !important; }
.ms-sticker.type-bumper img { object-fit: cover; inset: 0 !important; width: 100% !important; height: 100% !important; }
/* Kiss-cut and sheets: white backing paper, with the stickers cut into it. */
.ms-sticker.type-kisscut { background: #fbfaf6; border-radius: 5%; }
.ms-sticker.type-sheet { background: #fbfaf6; border-radius: 2%; }
.ms-cut { position: absolute; }
.ms-cut.shape-circle, .ms-cut.shape-oval { border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ms-cut.shape-square, .ms-cut.shape-rect { border-radius: 7%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ms-cut:not(.shape-contour) img { inset: 8%; width: 84%; height: 84%; }
/* Gloss catches the desk lamp; matte doesn't. */
.ms-sheen { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.ms-sticker.finish-gloss .ms-sheen { background: linear-gradient(115deg, transparent 30%, rgba(255, 244, 220, .38) 44%, transparent 58%); mix-blend-mode: screen; }
.ms-sticker.finish-matte img { filter: saturate(.92) contrast(.95); }
.ms-sticker.finish-matte.shape-contour:not(.type-sheet):not(.type-kisscut) img { filter: saturate(.92) contrast(.95) drop-shadow(var(--line) 0 0 #fff) drop-shadow(calc(-1 * var(--line)) 0 0 #fff) drop-shadow(0 var(--line) 0 #fff) drop-shadow(0 calc(-1 * var(--line)) 0 #fff); }

/* Banner: projected onto the siding by builder.js (matrix3d), lit by the lamps above. */
.ms-banner { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; display: grid; place-items: center;
	background: linear-gradient(135deg, #e8177f, #ffd21a 55%, #0aa6e6); box-shadow: 0 10px 22px rgba(0,0,0,.55); }
.ms-banner > span { font: 800 40px/1 system-ui, sans-serif; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); text-align: center; padding: 10px; }
.ms-banner.has-art > span { display: none; }
.ms-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ms-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
	linear-gradient(to bottom, rgba(255, 220, 160, .22), rgba(255, 220, 160, 0) 45%, rgba(0, 0, 0, .18)); }
.ms-grommet { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #2a2a2a; box-shadow: 0 0 0 4px #c9c6bf, 0 0 0 5px rgba(0,0,0,.35); z-index: 1; }
.ms-banner.finish-pocket_top::before, .ms-banner.finish-pocket_both::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; z-index: 1;
	background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(255,255,255,.12) 60%, rgba(0,0,0,.25)); box-shadow: 0 1px 0 rgba(0,0,0,.3); }
.ms-banner.finish-pocket_both::before { height: 100%; background:
	linear-gradient(to bottom, rgba(0,0,0,.35), rgba(255,255,255,.12) 13px, rgba(0,0,0,.25) 22px, transparent 23px, transparent calc(100% - 23px), rgba(0,0,0,.25) calc(100% - 22px), rgba(255,255,255,.12) calc(100% - 9px), rgba(0,0,0,.35)); box-shadow: none; }

/* Quick order (front page): chips in tight rows, the desk mockup and price in the dark card. */
.ms-quick .ms-step { gap: 8px; padding: 12px 0; }
.ms-quick .ms-step legend { display: flex; align-items: center; gap: 10px; }
.ms-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--c); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: 0;
	box-shadow: inset 3px 3px 0 rgba(255,255,255,.35), inset -3px -3px 0 rgba(0,0,0,.22); }
.ms-num.is-dark { color: #111; }
.ms-quick .ms-chip { padding: 7px 11px; font-size: 14px; }
.ms-quick .ms-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ms-quick .ms-chip { position: relative; }
.ms-quick .ms-chip:has(input:focus-visible) { outline: 3px solid #0aa6e6; outline-offset: 2px; }
.ms-quick .ms-chip small { font-weight: 500; font-size: 12px; color: #656c82; }
.ms-quick .ms-chip:has(input:checked) { box-shadow: 3px 3px 0 #e8177f; }
.ms-shape-ico { width: 20px; height: 20px; flex: none; }
.ms-quick .ms-hint, .ms-qty-any { width: 100%; }
.ms-qty-any { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #656c82; justify-items: start; }
.ms-quick .ms-price .ms-scene { margin: 0; box-shadow: none; border-color: #2c313c; }
.ms-quip { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; }
.ms-quip .ms-ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; box-shadow: 0 0 0 3px #fff; }
.ms-quip .ms-bubble-text { position: relative; margin: 0; background: #fff; color: #111; border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.ms-quip .ms-bubble-text::before { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-right-color: #fff; border-left: 0; }
.ms-quick-more { margin: 14px 0 0; font-size: 14px; }

/* "How big is that?" */
.ms-guide { margin-top: 24px; background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 0 0 1px #e1e4ee, 0 14px 30px -20px rgba(20,24,40,.45); }
.ms-guide-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ms-guide h3 { margin: 0 0 4px; font-size: 26px; line-height: 1.1; }
.ms-guide-pick { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.ms-guide-objs { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-guide-objs .ms-chip { background: #fff; font: inherit; font-weight: 700; font-size: 13px; padding: 6px 10px; color: #121318; }
.ms-guide-objs .ms-chip[aria-pressed="true"] { border-color: #121318; background: #e3f5fd; box-shadow: 3px 3px 0 #0aa6e6; }
.ms-guide-era { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #656c82; }
.ms-guide-era select { font: inherit; font-size: 15px; font-weight: 700; color: #121318; border: 2px solid #ff7a1a; border-radius: 10px; padding: 6px 10px; background: #fff; min-width: 200px; max-width: 100%; }
.ms-guide-canvas { overflow-x: auto; border-radius: 14px; background: #f4f5fa; }
.ms-guide-canvas svg { display: block; width: 100%; min-width: 320px; height: auto; }
.ms-guide-quip { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 12px; }
.ms-guide-quip .ms-ava img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #e1e4ee; }
.ms-guide-quip .ms-bubble-text { position: relative; margin: 0; background: #ffd21a; color: #111; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; box-shadow: 3px 3px 0 #121318; }
.ms-guide-quip .ms-bubble-text::before { content: ""; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-right-color: #ffd21a; border-left: 0; }
.ms-guide-quip .ms-bubble-text small { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #7a1046; }
.ms-guide > .ms-hint { margin-top: 8px; font-size: 12px; }
.ms-ava { line-height: 0; }

/* Sign mockup: the board leans back on the shop floor; its bottom edge stays put. */
.ms-sign { position: absolute; transform-origin: 50% 100%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #e8177f, #ffd21a 55%, #0aa6e6);
	box-shadow: -3px 0 0 #f2f2ee, 0 4px 0 #e9e8e2, -8px 14px 26px rgba(30, 18, 6, .45); transition: left .25s, top .25s, width .25s, height .25s; }
.ms-sign.mat-acm3 { box-shadow: -3px 0 0 #2a2a2a, 0 4px 0 #1d1d1d, -8px 14px 26px rgba(30, 18, 6, .5); }
.ms-sign > span { font: 800 28px/1.1 system-ui, sans-serif; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); text-align: center; padding: 10px; }
.ms-sign.has-art > span { display: none; }
.ms-sign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
/* Afternoon sun from the windows on the right; coroplast has a faint flute texture. */
.ms-sign::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(0,0,0,.18), rgba(255, 214, 150, .12) 70%, rgba(255, 226, 170, .28)); }
.ms-sign.mat-coro4::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 5px); }
.ms-sign-shadow { position: absolute; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 12, 4, .55), rgba(20, 12, 4, 0)); pointer-events: none; }

/* Low-resolution choices. */
.ms-artfix { display: grid; gap: 10px; border: 2px solid #121318; border-radius: 16px; padding: 14px; background: #fffaf0; box-shadow: 3px 3px 0 #ff7a1a; }
.ms-artfix-title { margin: 0; font-weight: 800; font-size: 14px; }
.ms-artfix-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-fixbtn { font: inherit; font-weight: 800; font-size: 14px; border: 2px solid #121318; background: #fff; color: #121318; border-radius: 12px; padding: 9px 14px; cursor: pointer; }
.ms-fixbtn.is-hot { background: #e8177f; border-color: #e8177f; color: #fff; }
.ms-fixbtn:disabled { opacity: .6; cursor: progress; }
.ms-fixack { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 700; cursor: pointer; }
.ms-fixack input { margin-top: 3px; width: 18px; height: 18px; accent-color: #e8177f; flex: none; }
.ms-compare { display: grid; gap: 10px; border-top: 1px dashed #c9ccd4; padding-top: 10px; }
.ms-compare-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ms-compare-pair figure { margin: 0; display: grid; gap: 4px; text-align: center; font-size: 13px; font-weight: 700; }
.ms-compare-pair img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid #e1e4ee; image-rendering: auto; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.ms-v-verylow { background: #fde7e9; color: #8a1f11; font-weight: 700; }

/* Retail product cards (Grumpy Christmas). */
.ms-retail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 24px 0; }
.ms-retail { position: relative; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 2px solid #121318; border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 #b3122d; min-width: 0; }
.ms-retail:nth-child(2) { box-shadow: 5px 5px 0 #14532d; }
.ms-retail-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: #ffd21a; color: #111; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 2px 2px 0 #121318; }
.ms-retail-img { display: block; background: #f6efe0; }
.ms-retail-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ms-retail-body { display: grid; gap: 10px; align-content: start; padding: 18px 20px 22px; }
.ms-retail h3 { margin: 0; font-size: 26px; line-height: 1.1; }
.ms-retail h3 a { color: inherit; text-decoration: none; }
.ms-retail-price { font-size: 24px; font-weight: 800; color: #b3122d; }
.ms-retail-desc p { margin: 0 0 6px; }
.ms-retail-desc ul { margin: 0; padding-left: 20px; }
.ms-retail-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.ms-retail-buy label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #5b6070; }
.ms-retail-buy input { width: 80px; padding: 8px 10px; border: 2px solid #e1e4ee; border-radius: 10px; font: inherit; }
.ms-retail-buy .ms-add { flex: 1; min-width: 160px; }
.ms-retail-out { font-weight: 700; margin: 0; }
.ms-retail-wide img { border-radius: 18px; border: 2px solid #e1e4ee; }

/* Grumpy Christmas order form: same two-column layout as the sticker builder. */
.ms-grumpy { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@container (min-width: 820px) { .ms-grumpy { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); } }
.ms-grumpy .ms-step legend { display: flex; align-items: center; gap: 10px; }
.ms-gp-pack { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; }
.ms-gp-pack img { width: 150px; height: 150px; border-radius: 14px; object-fit: cover; box-shadow: 4px 4px 0 #b3122d; }
.ms-gp-title { margin: 0; font-size: 20px; font-weight: 800; }
.ms-gp-each { margin: 6px 0; font-size: 16px; }
.ms-gp-each strong { font-size: 22px; color: #b3122d; }
.ms-gp-qtylabel { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.ms-qty { display: inline-flex; align-items: stretch; border: 2px solid #121318; border-radius: 12px; overflow: hidden; background: #fff; }
.ms-qty button { width: 38px; border: 0; background: #fff6cc; font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; color: #121318; }
.ms-qty button:hover { background: #ffd21a; }
.ms-qty input { width: 48px !important; border: 0 !important; padding: 6px 0 !important; text-align: center; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.ms-qty input::-webkit-outer-spin-button, .ms-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ms-gp-addons { display: block; }
.ms-gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 10px; }
.ms-gp-card { display: grid; gap: 6px; justify-items: center; text-align: center; border: 2px solid #e1e4ee; border-radius: 14px; padding: 8px 6px 10px; background: #fff; min-width: 0; transition: border-color .12s, transform .12s; }
.ms-gp-card:hover { transform: translateY(-2px); border-color: #b9bfd0; }
.ms-gp-card.is-on { border-color: #121318; background: #fff6cc; box-shadow: 3px 3px 0 #14532d; }
.ms-gp-card img { width: 100%; max-width: 120px; height: 150px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); }
.ms-gp-card strong { font-size: 13px; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; }
.ms-gp-card .ms-qty button { width: 30px; font-size: 17px; }
.ms-gp-card .ms-qty input { width: 36px !important; }
.ms-gp-hero { width: 100%; height: auto; border-radius: 14px; background: #fff; padding: 6px; box-sizing: border-box; }
.ms-gp-hero.is-tag { max-height: 300px; object-fit: contain; }
.ms-gp-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ms-gp-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; border-top: 1px solid #2c313c; padding-top: 6px; }
.ms-gp-lines li img { width: 26px; height: 34px; object-fit: contain; }
.ms-gp-lines li i { width: 26px; }
.ms-gp-lines li span { min-width: 0; }
.ms-gp-lines li b { color: #ffd21a; font-variant-numeric: tabular-nums; }
@container (max-width: 480px) { .ms-gp-pack { grid-template-columns: 96px minmax(0, 1fr); } .ms-gp-pack img { width: 96px; height: 96px; } }
/* Two editions side by side. */
.ms-gp-main { display: block; }
.ms-gp-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 8px 0; }
.ms-gp-packs .ms-gp-pack { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; border: 2px solid #e1e4ee; border-radius: 16px; padding: 10px; background: #fff; align-items: start; }
.ms-gp-packs .ms-gp-pack img { width: 110px; height: 110px; }
.ms-gp-packs .ms-gp-pack.is-on { border-color: #121318; background: #fff6cc; box-shadow: 3px 3px 0 #b3122d; }
.ms-gp-packs .ms-gp-title { font-size: 17px; }
.ms-gp-packs .ms-hint { margin: 2px 0; }
.ms-gp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.ms-gp-tabs .ms-chip { font: inherit; font-weight: 800; background: #fff; color: #121318; }
.ms-gp-tabs .ms-chip[aria-pressed="true"] { border-color: #121318; background: #fff6cc; box-shadow: 3px 3px 0 #14532d; }
.ms-gp-grid[hidden] { display: none; }
.ms-gp-pack > div { min-width: 0; }
.ms-gp-packs .ms-gp-pack { overflow: hidden; }
/* Click-to-enlarge on the Grumpy Christmas page. */
.ms-zoomable { cursor: zoom-in; }
.ms-zoomable:focus-visible { outline: 3px solid #0aa6e6; outline-offset: 3px; }
.ms-zoom { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; align-content: center; gap: 12px; padding: max(16px, env(safe-area-inset-top, 0px)) 16px; background: rgba(12, 10, 8, .88); cursor: zoom-out; }
.ms-zoom[hidden] { display: none; }
.ms-zoom img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.5); cursor: default; image-rendering: auto; }
.ms-zoom p { margin: 0; color: #fff; font-weight: 800; font-size: 18px; text-align: center; }
.ms-zoom-x { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #121318; font-size: 30px; line-height: 1; cursor: pointer; }
html.ms-zoom-open { overflow: hidden; }
.ms-gp-card img.ms-zoomable:hover { transform: scale(1.04); transition: transform .15s; }
.ms-gp-packs { grid-template-columns: 1fr; }
.ms-gp-packs .ms-gp-pack { grid-template-columns: 170px minmax(0, 1fr); }
.ms-gp-packs .ms-gp-pack img { width: 170px; height: 170px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.ms-gp-pack[hidden] { display: none !important; }
@container (max-width: 480px) { .ms-gp-packs .ms-gp-pack { grid-template-columns: 110px minmax(0, 1fr); } .ms-gp-packs .ms-gp-pack img { width: 110px; height: 110px; } }
.ms-zoom img.is-small { height: min(78vh, 680px); max-width: 92vw; width: auto; }

/* Stock stickers: catalogue and one-design order form. */
.ms-stk { display: grid; gap: 18px; }
.ms-stk-intro { display: grid; gap: 6px; }
.ms-stk-intro p { margin: 0; }
.ms-stk-lede { font-size: 19px; max-width: 62ch; }
.ms-stk-deal { display: inline-block; justify-self: start; background: #fff6cc; border: 2px solid #121318; border-radius: 12px; padding: 6px 12px; box-shadow: 3px 3px 0 #e8177f; font-size: 15px; }
.ms-stk-bar { display: grid; gap: 10px; position: sticky; top: 0; z-index: 5; background: var(--wp--preset--color--base, #fff); padding: 8px 0; }
.ms-stk-view, .ms-stk-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-stk-bar .ms-chip { font: inherit; font-weight: 800; font-size: 14px; background: #fff; color: #121318; padding: 6px 11px; }
.ms-stk-bar .ms-chip small { font-weight: 600; color: #656c82; }
.ms-stk-bar .ms-chip[aria-pressed="true"] { border-color: #121318; background: #fff6cc; box-shadow: 3px 3px 0 #0aa6e6; }
.ms-stk-view .ms-chip[aria-pressed="true"] { box-shadow: 3px 3px 0 #e8177f; }
.ms-stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.ms-stk-grid-sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ms-stk-card { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 12px 10px; border: 2px solid #e1e4ee; border-radius: 16px; background: #f4f5f9; color: #121318; text-decoration: none; min-width: 0; transition: transform .12s, border-color .12s, box-shadow .12s; }
.ms-stk-card[hidden] { display: none !important; }
.ms-stk-card:hover, .ms-stk-card:focus-visible { transform: translateY(-3px) rotate(-.6deg); border-color: #121318; box-shadow: 4px 4px 0 #ffd21a; }
.ms-stk-card img { width: 100%; height: 160px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.22)); }
.ms-stk-card strong { font-size: 14px; line-height: 1.25; }
.ms-stk-card span { font-size: 13px; font-weight: 700; color: #b3122d; }
.ms-stk-card em { font-style: normal; font-weight: 600; color: #656c82; }
.ms-stk-back { margin: 0; font-size: 14px; font-weight: 700; color: #656c82; }
.ms-stk-back a { color: #e8177f; }
.ms-stk-form { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@container (min-width: 820px) { .ms-stk-form { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); } }
.ms-stk-title { margin: 0 0 6px; font-size: clamp(24px, 4cqi, 34px); line-height: 1.1; text-wrap: balance; }
.ms-stk-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.ms-stk-styles .ms-card img { max-width: 140px; aspect-ratio: 1; }
.ms-stk-only { grid-column: 1 / -1; }
.ms-stk-sizes .ms-chip { position: relative; }
.ms-stk-sizes .ms-chip input, .ms-stk-form .ms-step:not(.ms-cards) .ms-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ms-stk-form .ms-chip:has(input:focus-visible) { outline: 3px solid #0aa6e6; outline-offset: 2px; }
.ms-stk-form .ms-chip:has(input:checked) { box-shadow: 3px 3px 0 #e8177f; }
.ms-stk-sizes .ms-chip span { display: grid; gap: 1px; }
.ms-stk-sizes .ms-chip small { font-weight: 500; font-size: 12px; color: #5b6070; }
.ms-stk-sizes .ms-chip .ms-stk-unit { font-weight: 800; color: #b3122d; }
.ms-stk-qty { align-items: center; }
.ms-stk-qty .ms-hint { width: 100%; }
.ms-stk-stage { --s: .88; position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f1ede4; }
.ms-stk-preview { position: absolute; z-index: 2; left: 50%; top: 50%; width: calc(var(--s) * 100%); height: calc(var(--s) * 100%); transform: translate(-50%, -50%); object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); transition: width .25s, height .25s; }
.ms-stk-size-line { margin: 0; font-weight: 700; color: #aeb4c6; }
.ms-stk-more { margin: 12px 0 0; }
@container (max-width: 640px) {
	.ms-stk-bar { position: static; }
	.ms-stk-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.ms-stk-filters .ms-chip { flex: none; }
	.ms-stk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ms-stk-card img { height: 130px; }
}

/* Home-page shelf of stock stickers. */
.ms-shelf { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; background: #121318; color: #f5f6fa; border-radius: 28px; padding: 26px; box-shadow: 6px 6px 0 #ffd21a; }
.ms-shelf-copy { min-width: 0; }
.ms-shelf-copy h2 { color: #ffd21a; margin: 4px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1; }
.ms-shelf-copy p { font-size: 17px; }
.ms-shelf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-shelf-item { display: block; transform: rotate(var(--r, 0deg)); transition: transform .15s; }
.ms-shelf-item:hover, .ms-shelf-item:focus-visible { transform: rotate(0deg) scale(1.08); }
.ms-shelf-item img { display: block; width: 100%; height: 130px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
@media (max-width: 800px) { .ms-shelf { grid-template-columns: 1fr; padding: 20px; } .ms-shelf-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ms-shelf-item:nth-child(n+7) { display: none; } .ms-shelf-item img { height: 105px; } }

/* Theme packs. */
.ms-packs { display: grid; gap: 8px; }
.ms-packs h2, .ms-stk-singles { margin: 6px 0 0; }
.ms-packs-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ms-pack-card { position: relative; display: grid; gap: 6px; padding: 12px; border: 2px solid #121318; border-radius: 18px; background: #fff6cc; color: #121318; text-decoration: none; box-shadow: 4px 4px 0 #e8177f; transition: transform .12s; min-width: 0; }
.ms-pack-card:hover, .ms-pack-card:focus-visible { transform: translateY(-3px); }
.ms-pack-card img { width: 100%; height: 150px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.ms-pack-card strong { font-size: 16px; }
.ms-pack-card span { font-size: 14px; font-weight: 800; color: #b3122d; }
.ms-pack-card em { font-style: normal; color: #14532d; }
.ms-pack-card .ms-pack-badge { position: absolute; top: 10px; left: 10px; background: #121318; color: #ffd21a; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.ms-pack-callout { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: center; background: #fff6cc; border: 2px solid #121318; border-radius: 20px; padding: 18px; box-shadow: 5px 5px 0 #e8177f; }
.ms-pack-callout img { width: 100%; height: auto; display: block; }
.ms-pack-callout h3 { margin: 2px 0 6px; font-size: 22px; line-height: 1.15; text-wrap: balance; }
.ms-pack-callout p { margin: 0 0 8px; }
.ms-btn-pack { display: inline-block; background: #121318; color: #ffd21a !important; font-weight: 800; text-decoration: none; border-radius: 12px; padding: 12px 18px; }
.ms-btn-pack:hover { background: #e8177f; color: #fff !important; }
@media (max-width: 600px) { .ms-pack-callout { grid-template-columns: 1fr; } }
.ms-pack-inside { display: block; }
.ms-pack-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 6px; }
.ms-pack-item { display: grid; gap: 4px; text-decoration: none; color: #121318; font-size: 12px; line-height: 1.25; min-width: 0; }
.ms-pack-item img { width: 100%; height: 100px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.ms-pack-stage { aspect-ratio: 4 / 3; }
.ms-pack-save { margin: 0; font-weight: 800; color: #7ee2a8; }

/* "Adjust artwork" editor: a dialog over the page, built by builder.js. */
.ms-ed-open { margin-top: 6px; justify-self: start; }
.ms-guide-head .ms-ed-open { margin-top: 10px; }
html.ms-ed-on { overflow: hidden; }
.ms-ed { position: fixed; inset: 0; z-index: 100000; background: rgba(18, 19, 24, .62); display: grid; place-items: center;
	padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.ms-ed[hidden] { display: none !important; }
.ms-ed-box { background: #fff; color: #121318; border-radius: 20px; width: min(1000px, 100%); max-height: 100%; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); font-family: inherit; }
.ms-ed-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 2px solid #eef0f6; position: sticky; top: 0; background: #fff; z-index: 1; }
.ms-ed-head strong { font-size: 18px; }
.ms-ed-price { margin-left: auto; font-weight: 800; color: #e8177f; white-space: nowrap; }
.ms-ed-x { border: 0; background: #eef0f6; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; cursor: pointer; color: #121318; flex: none; }
.ms-ed-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; padding: 18px; }
.ms-ed-stage { background: #eef0f6; border-radius: 14px; padding: 8px; touch-action: none; cursor: grab; outline: none; min-width: 0; }
.ms-ed-stage:focus-visible { box-shadow: 0 0 0 3px #0aa6e6; }
.ms-ed-stage.is-locked { cursor: default; }
.ms-ed-stage svg { display: block; width: 100%; height: auto; max-height: 62vh; user-select: none; -webkit-user-select: none; font: 600 12px/1 system-ui, sans-serif; }
.ms-ed-stage svg text { fill: #656c82; }
.ms-ed-stage svg text.dim { fill: #121318; font-weight: 800; }
.ms-ed-stage svg .t { stroke: #656c82; stroke-width: 1; }
.ms-ed-stage svg .band { fill: #e8177f; opacity: .55; }
.ms-ed-stage svg .vinyl { fill: #fff; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.ms-ed-stage svg .cut { fill: none; stroke: #121318; stroke-width: 1.5; stroke-dasharray: 7 4; }
.ms-ed-stage svg .safe { fill: none; stroke: #0aa6e6; stroke-width: 1; stroke-dasharray: 2 3; }
.ms-ed-stage svg .box { fill: none; stroke: #656c82; stroke-width: 1; stroke-dasharray: 4 4; }
.ms-ed-stage svg .artbox { fill: none; stroke: #e8177f; stroke-width: 1; opacity: .6; }
.ms-ed-stage svg .snap { stroke: #e8177f; stroke-width: 1.5; }
.ms-ed-tools { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ms-ed-group { border: 2px solid #eef0f6; border-radius: 14px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.ms-ed-group[hidden] { display: none; }
.ms-ed-group legend { font-weight: 800; padding: 0 4px; }
.ms-ed-group .ms-hint { margin: 0; font-size: 13px; }
.ms-ed-size { display: flex; flex-wrap: wrap; gap: 10px; }
.ms-ed-size label { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.ms-ed-size label[hidden] { display: none; }
.ms-ed-size input { width: 76px; font: inherit; padding: 6px 8px; border: 2px solid #121318; border-radius: 10px; }
.ms-ed-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) 7.5em; align-items: center; gap: 8px; font-weight: 700; }
.ms-ed-slider input { width: 100%; accent-color: #e8177f; }
.ms-ed-slider output { font-weight: 800; color: #e8177f; text-align: right; white-space: nowrap; }
.ms-ed-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-ed-btns button { font: inherit; font-weight: 800; font-size: 14px; border: 2px solid #121318; background: #fff; color: #121318; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.ms-ed-btns button:hover, .ms-ed-btns button:focus-visible { background: #121318; color: #fff; }
.ms-ed-readout { margin: 0; font-size: 14px; color: #121318; }
.ms-ed-warn { margin: 0; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: #fff4d6; color: #6b4b00; }
.ms-ed-warn[hidden] { display: none; }
.ms-ed-done { justify-self: stretch; font-size: 16px; padding: 12px; }
@media (max-width: 760px) {
	.ms-ed { padding: 0; align-items: end; }
	.ms-ed-box { border-radius: 18px 18px 0 0; max-height: 96vh; }
	.ms-ed-body { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
	.ms-ed-stage svg { max-height: 46vh; }
}
