/* ---- Colours screen ---- */
.colours-screen h1 { margin-bottom: 10px; }
.colours-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.colours-right { min-width: 0; }
.colours-lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.colours-screen .card h2 { margin-bottom: 10px; }

/* wheel and lightness */
.wheel { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 4px; }
.wheel-wrap { position: relative; width: min(100%, 280px); aspect-ratio: 1; }
.wheel-canvas {
  width: 100%; height: 100%; display: block; border-radius: 50%; touch-action: none; cursor: crosshair;
  box-shadow: 0 0 0 1px var(--border), 0 4px 14px rgba(0, 0, 0, 0.12);
}
.wheel-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wheel-line-shadow { stroke: rgba(0, 0, 0, 0.5); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0.01 2.6; }
.wheel-line { stroke: #fff; stroke-width: 1; stroke-linecap: round; stroke-dasharray: 0.01 2.6; }
.wheel-dot-halo, .wheel-base-halo { fill: rgba(0, 0, 0, 0.32); }
.wheel-dot-fill { stroke: #fff; stroke-width: 1; }
.wheel-base { stroke: #fff; stroke-width: 1.5; }
.wheel-house-halo { fill: rgba(0, 0, 0, 0.55); }
.wheel-house-fill { stroke: #fff; stroke-width: 0.9; }
.wheel-house-num { font: 700 5.2px/1 system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.wheel-legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 6px; margin: 2px 0 6px; font-size: 0.8rem; }
.lg-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--muted); }
.lg-sq { display: inline-block; width: 10px; height: 10px; margin-left: 6px; background: var(--muted); outline: 2px solid var(--surface); box-shadow: 0 0 0 3px var(--muted); }
.lg-sq[hidden], .lg-house[hidden] { display: none; }

.lightness { display: grid; grid-template-columns: auto 1fr 3.2em; align-items: center; gap: 10px; width: 100%; max-width: 340px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { box-sizing: border-box; height: 14px; border-radius: 7px; border: 1px solid var(--border); background: linear-gradient(90deg, #000, #fff); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; box-sizing: border-box; width: 28px; height: 28px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.range::-moz-range-track { box-sizing: border-box; height: 14px; border-radius: 7px; border: 1px solid var(--border); background: linear-gradient(90deg, #000, #fff); }
.range::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }

.inputs { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 0; }
.hex-in { width: 9em; font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; }
.native-in { display: block; width: 64px; height: 44px; padding: 2px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); cursor: pointer; }

/* description */
.desc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.desc-chip { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.18); }
.desc-titles { min-width: 0; }
.describe .desc-titles h2 { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.showing-name { color: var(--text); font-weight: 700; }
.hexline { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.summary { font-weight: 600; margin-bottom: 4px; }
.desc-extra p, .desc-more p { margin: 0 0 4px; font-size: 0.92rem; }
.desc-more { display: none; margin-bottom: 8px; }
.desc-more summary { display: flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; cursor: pointer; }
.describe .field-label { margin-top: 6px; }
.near-paint { margin: 0 0 8px; }
.summary .info-btn.inline, .undertone .info-btn.inline { vertical-align: middle; }
.desc-actions { margin: 4px 0 0; }
.formats { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; margin: 0 0 8px; }
.formats dt { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.formats dd { margin: 0; }
.fmt-val { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.copy-btn { min-width: 76px; }

.scheme-card .controls { margin-bottom: 4px; }
.scheme-card p { margin: 0; }

/* scheme strip */
.strip-card { padding: 0; overflow: hidden; }
.strip-blocks {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
}
.block { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 112px; }
.block.selected { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px rgba(0, 0, 0, 0.55); }
/* D48: only the corners on the outside of the strip are rounded, so the selection ring follows the card. */
.block.c-tl { border-top-left-radius: 13px; } .block.c-tr { border-top-right-radius: 13px; }
.block.c-bl { border-bottom-left-radius: 13px; } .block.c-br { border-bottom-right-radius: 13px; }
.block-main {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 12px 12px 6px;
  background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0;
}
.block-main:focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }
.block-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; font-weight: 600; }
.block-hex { font: 700 1.1rem/1.3 ui-monospace, Consolas, monospace; }
.block-name { font-size: 0.85rem; line-height: 1.3; overflow-wrap: anywhere; }
.add-house {
  margin: 0 10px 10px; min-height: 44px; padding: 0 8px; font: inherit; font-size: 0.88rem; color: inherit; cursor: pointer;
  background: rgba(0, 0, 0, 0.16); border: 1.5px solid currentColor; border-radius: 10px; max-width: calc(100% - 20px);
}
.block[data-ink="dark"] .add-house { background: rgba(255, 255, 255, 0.38); }
.add-house:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.add-house option { color: #1f2a28; background: #fff; }


@media (min-width: 700px) {
  .strip-blocks { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
}
/* Phone: more than three blocks wrap onto a second row. */
@media (max-width: 699px) {
  .strip-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-blocks[data-count="2"], .strip-blocks[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-blocks[data-count="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .strip-blocks[data-count="5"] .block { grid-column: span 2; }
  .strip-blocks[data-count="5"] .block:nth-child(n + 4) { grid-column: span 3; }
  .block { min-height: 118px; }
}

@media (min-width: 900px) {
  .colours-top { grid-template-columns: minmax(0, 332px) minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .colours-lower { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .desc-extra { display: block; }
  .formats { grid-template-columns: 5.5em minmax(0, 1fr) auto 5.5em minmax(0, 1fr) auto; }
}
@media (max-width: 899px) {
  .desc-extra { display: none; }
  .desc-more { display: block; }
}

/* ---- house palette ---- */
.house-count { margin: 0 0 8px; font-weight: 600; }
.count-over { color: var(--danger); font-weight: 800; }
.count-over-note { color: var(--danger); font-weight: 600; font-size: 0.85rem; }
.house-card h3 { margin: 8px 0 2px; font-size: 1rem; }
.group-aim { font-weight: 400; }
.group-hint { margin: 0 0 6px; }
.house-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.house-tile { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.tile-swatch { height: 56px; display: flex; align-items: flex-end; padding: 6px 8px; border-radius: 11px 11px 0 0; }
.tile-hex { font: 700 1rem/1.2 ui-monospace, Consolas, monospace; }
.tile-hex { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-hex.tile-title { font-family: inherit; }
.tile-hex.long { font-size: 0.88rem; }
.tile-hex.xlong { font-size: 0.78rem; }
.tile-title-input { min-height: 32px; width: 100%; padding: 2px 6px; font-size: 0.9rem; }
.tile-body { padding: 8px; display: grid; gap: 3px; grid-template-columns: minmax(0, 1fr); }
.tile-label { width: 100%; min-height: 36px; font-size: 0.92rem; }
.tile-meta { margin: 0; font-size: 0.82rem; line-height: 1.35; }
.tile-actions { display: flex; gap: 6px; margin-top: 4px; }
.tile-btn { min-height: 36px; min-width: 36px; padding: 0 8px; font-size: 0.85rem; }
.suggest-btn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.tile-remove { flex: none; padding: 0; width: 36px; display: inline-flex; color: var(--muted); }
.tile-setbase { flex: none; padding: 0; width: 36px; display: inline-flex; color: var(--muted); }
.tile-setbase:hover { color: var(--accent); border-color: var(--accent); }
.tile-remove:hover { color: var(--danger); border-color: var(--danger); }
@media (max-width: 699px) { .tile-btn, .tile-remove { min-height: 44px; } .tile-remove, .tile-setbase { width: 44px; } .tile-label { min-height: 44px; } }
.link-btn { border: 0; background: transparent; padding: 0; font: inherit; font-size: 0.82rem; color: var(--accent); text-decoration: underline; cursor: pointer; min-height: 28px; }
@media (max-width: 699px) { .link-btn { min-height: 44px; } }
.tile-btn[disabled] { opacity: 0.4; cursor: default; }
.tile-empty { margin: 0 0 8px; }
.house-checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.check-note { display: flex; align-items: center; gap: 8px; border-left: 4px solid var(--clay); background: var(--bg); border-radius: 0 10px 10px 0; padding: 4px 4px 4px 12px; }
.check-note p { flex: 1; margin: 0; font-size: 0.95rem; }
.check-icon { color: var(--clay); flex: none; }
.house-ok { margin: 12px 0 0; }
.house-preview { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.prev-controls { display: grid; gap: 4px; }
.prev-controls .select { width: 100%; }
.prev-floor { margin-top: 4px; }
.floor-row { display: flex; align-items: flex-end; gap: 12px; }
.floor-row .floor-type { flex: 1; min-width: 0; }
.floor-row .select { width: 100%; }
.floor-body { margin-top: 8px; }
.floor-body p { margin: 0; }
.floor-picker .colour-row { margin-bottom: 0; }
@media (min-width: 900px) {
  .house-preview { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}

/* ---- house tiles: grip handle, menu, drag (Phase 9) ---- */
.tile-swatch { position: relative; }
.tile-actions { position: relative; }
.tile-paint { overflow-wrap: anywhere; }
.tile-badges { position: absolute; top: 6px; left: 8px; display: flex; align-items: center; gap: 6px; }
.tile-num { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 0 4px; box-sizing: border-box; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); color: #111; border: 1px solid rgba(0, 0, 0, 0.35); font: 700 0.95rem/1 system-ui, sans-serif; }
.tile-paint-badge { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #111; border: 1px solid rgba(0, 0, 0, 0.35); font-size: 0.78rem; font-weight: 700; }
.house-tile.paint-mode { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tile-exact { font-weight: 600; overflow-wrap: anywhere; }
.paint-colour-btn { justify-self: start; }
.ratio-explain { margin: 8px 0 0; }
.prev-pickers { display: grid; gap: 4px; }
.prev-save { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.prev-suggest { margin-top: 12px; }
ul.house-tiles.empty { min-height: 72px; border: 2px dashed var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 8px; }
ul.house-tiles.empty::before { content: attr(data-empty); color: var(--muted); font-size: 0.9rem; text-align: center; }
.house-tile.drag-source { display: none; }
.tile-placeholder { list-style: none; border: 2px dashed var(--accent); border-radius: 12px; background: var(--accent-soft); min-height: 64px; }
.house-tile.drag-ghost { position: fixed; z-index: 1000; pointer-events: none; margin: 0; opacity: 0.92; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); transform: rotate(1.5deg); }
.house-tile.drag-ghost.lifted { transform: scale(1.04) rotate(1.5deg); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42); } /* D61: tile lifts when the hold arms */
body.dragging-tile { user-select: none; cursor: grabbing; }
ul.house-tiles.empty .tile-placeholder { flex: 1; }

/* ---- Phase 11 ---- */
.describe .hexline { display: flex; align-items: center; gap: 2px; }
.describe .hexline .info-btn.inline { margin: -10px 0; top: 0; }
.dlg-colour { width: min(600px, calc(100vw - 32px)); }
.dlg-h { margin: 12px 0 6px; font-size: 1rem; }
.dlg-h:first-child { margin-top: 0; }
.scheme-card .controls .select { min-width: 12em; }
.ratio-title { margin: 8px 0 0; font-size: 0.85rem; font-weight: 600; }
.ratio { margin-top: 4px; }
.ratio-note { margin: 4px 0; font-weight: 600; }
.area-line { margin: 4px 0; }
.ratio-explain { margin: 4px 0 0; }
.near-paint { margin: 0 0 6px; }
.base-paint { color: var(--text); }

/* saved house palettes: compact cards in a wrapping grid (D41) */
.saved-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .saved-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .saved-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.saved { padding: 8px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.saved-name { font-size: 0.9rem; line-height: 1.25; overflow-wrap: anywhere; margin: 0; }
.saved-dots { display: flex; gap: 3px; flex-wrap: wrap; }
.saved-dots span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.25); }
.saved-actions { display: flex; gap: 4px; }
.saved-btn { min-height: 36px; padding: 0 8px; font-size: 0.85rem; }
.saved-btn.saved-icon { width: 36px; padding: 0; }
@media (max-width: 699px) { .saved-btn { min-height: 44px; } .saved-btn.saved-icon { width: 44px; } .saved-actions { gap: 4px; flex-wrap: wrap; } .saved-btn:not(.saved-icon) { flex: 1 1 100%; } }
#saved-box { margin-top: 6px; }
.suggestion { padding: 8px; gap: 6px; }
.suggestion[hidden] { display: none; } /* D63 */
.more-combos { margin-top: 8px; }
.suggestions { gap: 8px; margin-top: 6px; }
.suggest-details > summary { min-height: 36px; display: flex; align-items: center; }
.prev-pickers { gap: 0; }
.prev-pickers .field, .prev-side .field { margin-bottom: 6px; }

/* ---- Phase 11b ---- */
/* D55: shorter hex and picker boxes on laptop; the hit area stays 44 px on phone */
.inputs .hex-in, .inputs .native-in { height: 36px; min-height: 36px; }
.inputs .native-in { width: 56px; }
@media (max-width: 699px) { .inputs .hex-in, .inputs .native-in { height: 44px; min-height: 44px; } }

/* D56: colour formats, one value per row, small icon copy buttons, two columns on laptop */
.formats { grid-template-columns: 6.2em minmax(0, 1fr) auto; gap: 2px 8px; }
.formats dt { font-size: 0.85rem; white-space: nowrap; }
.fmt-val { white-space: nowrap; overflow-wrap: normal; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; }
.copy-btn { min-width: 0; width: 32px; height: 32px; min-height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.copy-btn.copied { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
.copy-btn.failed { color: var(--danger); border-color: var(--danger); }
@media (min-width: 640px) {
  .dlg-colour { width: min(760px, calc(100vw - 32px)); }
  .formats { grid-template-columns: 6.2em minmax(0, 1fr) auto 6.2em minmax(0, 1fr) auto; column-gap: 8px; }
}
@media (min-width: 900px) { .formats { grid-template-columns: 6.2em minmax(0, 1fr) auto 6.2em minmax(0, 1fr) auto; } }
@media (max-width: 639px) { .copy-btn { width: 44px; height: 36px; } }

/* D57: tile title bar is the drag handle; lighter badges */
.tile-swatch { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; } /* D61: no touch-action: none, so touch can scroll until the hold arms the drag */
.tile-swatch:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.tile-swatch[aria-pressed="true"] { outline: 3px solid var(--focus); outline-offset: -3px; }
.tile-badges { gap: 4px; top: 5px; left: 6px; }
.tile-num { min-width: 22px; height: 22px; font-size: 0.8rem; }
.tile-paint-badge { padding: 1px 6px; font-size: 0.68rem; line-height: 1.3; }
.tile-base-badge { padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #111; border: 1px solid rgba(0, 0, 0, 0.35); font-size: 0.68rem; font-weight: 700; line-height: 1.3; }
.tile-base-badge[hidden] { display: none; }
/* D84: the paint button takes its own row (shrinks, then ellipsis); the icon buttons are fixed size and may wrap */
.tile-actions { flex-wrap: wrap; align-items: center; }
.tile-actions .suggest-btn { flex: 1 1 100%; min-width: 0; }
.tile-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.house-head-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.from-paints { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; font-size: 0.88rem; }
@media (max-width: 699px) { .from-paints { min-height: 44px; } }
.tile-swatch { cursor: pointer; }
.house-tile.is-base { box-shadow: 0 0 0 2px var(--accent); }
.tile-actions .suggest-btn { min-width: 0; overflow: hidden; }
.suggest-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.suggest-btn.long { font-size: 0.75rem; }
.suggest-btn.xlong { font-size: 0.68rem; }
.tile-brand { display: block; }

/* D58: open saved palette named beside the heading */
.house-open { font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.house-open .unsaved { font-style: italic; }

/* D59: painted-area bar */
.area-wrap { margin-top: 6px; }
.area-note { margin: 0; }
.area-key { margin: 6px 0 2px; }

/* ---- Phase 12: light and window direction (D67-D71) ---- */
.prev-main { display: grid; gap: 8px; min-width: 0; }
.prev-light { display: grid; gap: 4px; }
.light-row { display: grid; gap: 8px 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.light-ctl { display: grid; gap: 4px; min-width: 0; }
.light-ctl .field-label { margin: 0; }
.light-ctl .seg { margin: 0; }
.light-ctl .seg-opt span { min-height: 40px; padding: 0 4px; font-size: 0.9rem; }
.light-ctl.is-off .seg { opacity: 0.45; }
.light-ctl.is-off .seg-in { cursor: not-allowed; }
.light-off-note { margin-left: 6px; font-weight: 400; }
.light-side { display: flex; align-items: flex-start; gap: 4px; }
.light-side .info-btn { align-self: center; }
.light-side .seg { flex: 1; }
.light-table-wrap { overflow-x: auto; }
.light-table { border-collapse: collapse; font-size: 0.85rem; }
.light-table th, .light-table td { border: 1px solid var(--border); padding: 6px 8px; text-align: left; vertical-align: top; min-width: 9rem; }
.light-table thead th { background: var(--surface-2, transparent); }
.light-explain { margin: 0; }
.light-note { margin: 0; }
.light-list dt { font-weight: 600; margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.light-list dd { margin: 2px 0 0; }
.prev-orient { margin-top: 4px; }
.orient { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.orient legend { padding: 0; margin-bottom: 4px; }
.orient .seg { margin: 0; }
.room-orient { margin-top: 12px; }
@media (max-width: 640px) {
  .light-row { grid-template-columns: minmax(0, 1fr); }
  .light-ctl .seg-opt span { min-height: 44px; }
}
/* D81: Reset on the House palette header */
.house-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.house-head h2 { margin: 0; }
.reset-house { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; font-size: 0.88rem; color: var(--danger); border-color: var(--danger); }
.reset-house[disabled] { opacity: 0.4; color: var(--muted); border-color: var(--border); }
@media (max-width: 699px) { .reset-house { min-height: 44px; } }
.tile-wheel-badge { padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #111; border: 1px dashed rgba(0, 0, 0, 0.45); font-size: 0.68rem; font-weight: 700; line-height: 1.3; }

/* D96: scheme tips dialog */
.scheme-card .field-label + .info-btn { margin-left: 4px; vertical-align: middle; }
.scheme-tips { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.scheme-tip { padding: 8px 10px; border: 1px solid var(--border, currentColor); border-radius: 8px; }
.scheme-tip.selected { border-width: 2px; background: var(--bg); }
.scheme-tip .badge { margin-left: 8px; }
