.editor { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
.spacer { flex: 1; }

.topbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--size-topbar);
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.save-status { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.save-status[data-kind="error"] { color: var(--color-danger); }
#offline-btn[data-saved="true"] .icon { color: var(--color-success); }
.title-input { width: min(260px, 30vw); min-height: var(--size-control); font-weight: 600; }
.btn[aria-pressed="true"] { background: var(--color-primary-soft); }

.editor-body { display: flex; flex: 1; min-height: 0; }

.tools {
  display: flex;
  flex: 0 0 var(--size-rail);
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  overflow-y: auto;
  border-inline-end: 1px solid var(--color-border);
}
.tools button {
  display: grid;
  justify-items: center;
  gap: var(--space-1);
  width: 64px;
  padding: var(--space-2) 0;
  border: 0;
  border-radius: var(--radius-md);
  background: none;
  font-size: var(--text-xs);
  font-weight: 600;
}
.tools button:hover { background: var(--color-surface-muted); }
.tools button[aria-pressed="true"] { background: var(--color-primary-soft); color: var(--color-primary); }

.panel {
  display: flex;
  flex: 0 0 var(--size-panel);
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  overflow-y: auto;
  border-inline-end: 1px solid var(--color-border);
}
.panel > * { flex: none; }
.panel h2 { font-size: var(--text-lg); }
.panel h3 { margin-top: var(--space-3); font-size: var(--text-md); }
.panel-hint { color: var(--color-text-muted); font-size: var(--text-sm); }
.panel .input { min-height: var(--size-control); }
.panel textarea.input { min-height: 88px; padding-block: var(--space-2); resize: vertical; }

.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.template-item { display: grid; gap: var(--space-1); padding: 0; border: 0; background: none; font-size: var(--text-xs); font-weight: 600; }
.template-item .cv-stage, .page-thumb .cv-stage { pointer-events: none; }
.template-item .cv-stage { border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.template-item:hover .cv-stage { border-color: var(--color-primary); }

.shape-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.shape-grid button { display: grid; place-items: center; aspect-ratio: 1; border: 0; border-radius: var(--radius-sm); background: var(--color-surface-muted); color: var(--color-primary); }
.shape-grid .icon { width: 36px; height: 36px; }

.upload-button { cursor: pointer; }
.upload-button:focus-within { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.file-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.file-item { position: relative; }
.file-add { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-muted); }
.file-add:hover { border-color: var(--color-primary); }
.file-add img { width: 100%; height: 100%; object-fit: contain; }
.file-item .icon-btn { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.warning-box { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-warning); text-align: center; }
.toolbar-label { padding: 0 var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 600; }
.stage-host .cv-overlay { outline: 1px dashed var(--color-primary); }
.stage-host .cv-area { background: color-mix(in srgb, var(--color-highlight) 25%, transparent); }

.text-add { padding: var(--space-3) var(--space-4); border: 0; border-radius: var(--radius-md); background: var(--color-surface-muted); text-align: left; }
.text-add:hover, .shape-grid button:hover { background: var(--color-primary-soft); }
.text-add-heading { font-size: var(--text-xl); font-weight: 700; }
.text-add-sub { font-size: var(--text-lg); font-weight: 600; }

.check { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; }
.check input { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2) var(--space-1) var(--space-3);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-highlight-soft);
  color: var(--color-on-highlight);
  font-size: var(--text-sm);
}
.chip .icon { width: 14px; height: 14px; }
/* Tab Perintah suara */
.commands { display: grid; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.command { padding: 0 var(--space-3); border-top: 1px solid var(--color-border); }
.command:first-child { border-top: 0; }
.command > summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.command > summary::-webkit-details-marker { display: none; }
.command-name { flex: 1; min-width: 0; font-weight: 600; font-size: var(--text-sm); }
.command-count { color: var(--color-text-muted); font-size: var(--text-xs); }
.command > summary .icon { width: 16px; height: 16px; color: var(--color-text-muted); transition: rotate var(--duration-page) ease; }
.command[open] > summary .icon { rotate: 180deg; }
.command[open] { display: grid; gap: var(--space-2); padding-bottom: var(--space-3); background: var(--color-surface-muted); }
.command[open] > summary { margin-inline: calc(-1 * var(--space-3)); padding-inline: var(--space-3); }
.phrases { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.phrase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0 var(--space-1) 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.phrase em { color: var(--color-text-muted); font-style: normal; }
.phrase-remove {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-text-muted);
}
.phrase-remove:hover { background: var(--color-surface-muted); color: var(--color-danger); }
.phrase-remove .icon { width: 16px; height: 16px; }
.command .message:empty { display: none; }
.command-reset { justify-self: start; }

.order { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.order li { display: flex; align-items: center; border-radius: var(--radius-md); }
.order li[data-active="true"] { background: var(--color-primary-soft); }
.order-name {
  flex: 1;
  min-width: 0;
  min-height: var(--size-control);
  overflow: hidden;
  padding: 0 var(--space-2);
  border: 0;
  background: none;
  font-size: var(--text-sm);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order .icon-btn { width: 32px; height: 32px; }
.inline-form { display: flex; gap: var(--space-2); }
.inline-form .input { flex: 1; min-width: 0; }
.checks { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-warning); }
.checks li[data-ok="true"] { color: var(--color-success); }

.workspace { position: relative; display: flex; flex: 1; flex-direction: column; min-width: 0; background: var(--color-canvas); }
.toolbar {
  position: relative;
  z-index: 3100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: var(--space-1);
  max-width: calc(100% - var(--space-5));
  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.toolbar[hidden] { display: none; }
.toolbar select, .toolbar input[type="number"] {
  min-height: var(--size-control);
  padding: 0 var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.toolbar input[type="number"] { width: 68px; text-align: center; }
.toolbar .divider { width: 1px; height: 22px; background: var(--color-border); }
.toolbar .icon-btn[aria-pressed="true"] { background: var(--color-primary-soft); color: var(--color-primary); }

.swatch-menu { position: relative; }
.swatch-menu summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--size-control);
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.swatch-menu summary:hover { background: var(--color-surface-muted); }
.swatch-menu summary::-webkit-details-marker { display: none; }
.swatch-dot { width: 20px; height: 20px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); }
.swatch-pop {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  display: grid;
  grid-template-columns: repeat(6, 28px);
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}
.swatch-pop button { width: 28px; height: 28px; padding: 0; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); }
.swatch-pop button[aria-pressed="true"] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.swatch-pop label, .swatch-pop .swatch-none { grid-column: 1 / -1; width: auto; height: auto; min-height: 32px; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.swatch-pop label { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }

.notice { align-self: center; margin-top: var(--space-2); padding: 0 var(--space-4); text-align: center; }

.stage-scroll { position: relative; display: flex; flex: 1; min-height: 0; overflow: auto; padding: var(--space-5); }
.stage-scroll[data-scrollable="true"] { cursor: grab; }
.stage-scroll[data-pan="true"] { cursor: grab; }
.stage-scroll[data-drop="true"] { outline: 2px dashed var(--color-primary); outline-offset: calc(-1 * var(--space-2)); background: var(--color-primary-soft); }
.stage-scroll[data-panning="true"], .stage-scroll[data-panning="true"] * { cursor: grabbing !important; }
.stage-scroll[data-pan="true"] .stage-host, .stage-scroll[data-pan="true"] .stage-host .cv-el, .stage-scroll[data-pan="true"] .stage-host .cv-el:hover { cursor: inherit; }
.stage-host { position: relative; flex: none; margin: auto; cursor: default; }
.stage-host > .cv-stage { box-shadow: var(--shadow-sm); user-select: none; touch-action: none; }
.stage-host .cv-el { cursor: move; }
.stage-host .cv-el:hover { outline: 1px dashed var(--color-primary); }
.stage-host .cv-text:empty { outline: 1px dashed var(--color-border-strong); }
.stage-host .cv-content[contenteditable] { cursor: text; outline: 2px solid var(--color-primary); user-select: text; }
.moveable-control-box { --moveable-color: var(--color-primary) !important; }

/* ---------- Animasi ---------- */

.panel-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-md); background: var(--color-surface-muted); }
.panel-switch button { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 32px; border: 0; border-radius: var(--radius-sm); background: none; font-size: var(--text-sm); font-weight: 600; }
.panel-switch button[aria-pressed="true"] { background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.panel-switch .icon { width: 16px; height: 16px; }

.order-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.order-step { display: flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.order-step[draggable="true"] { cursor: grab; }
.order-step[data-active="true"] { border-color: var(--color-primary); background: var(--color-primary-soft); }
.order-step-number, .order-step-trigger { display: grid; flex: 0 0 24px; place-items: center; color: var(--color-primary); font-size: var(--text-sm); font-weight: 700; }
.order-step-trigger .icon { width: 16px; height: 16px; }
.order-step-name { display: flex; flex: 1; align-items: center; gap: var(--space-2); min-width: 0; min-height: var(--size-control); padding: 0; border: 0; background: none; font-size: var(--text-sm); text-align: left; }
.order-step-name .icon { width: 16px; height: 16px; color: var(--color-text-muted); }
.order-step-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-step .icon-btn { flex: none; width: 28px; height: 28px; }

/* Pilihan berupa ikon dengan nama di bawahnya. */
.arrange-pop { display: block; width: 352px; max-width: calc(100vw - var(--space-5)); }
.arrange-pop .tile { width: auto; height: auto; padding: var(--space-2) 0; border-radius: var(--radius-md); }
.arrange-group + .arrange-group { margin-top: var(--space-3); }
.arrange-title { margin: 0 0 var(--space-2); color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 600; }
.marquee { position: fixed; z-index: 50; border: 1px solid var(--color-primary); background: color-mix(in srgb, var(--color-primary) 12%, transparent); pointer-events: none; }
.stage-host .cv-el[data-marked="true"] { outline: 2px solid var(--color-primary); }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.tile-grid[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-1);
  min-width: 0;
  min-height: 58px;
  padding: var(--space-2) 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.tile:hover:not(:disabled) { background: var(--color-surface-muted); }
.tile[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-primary-soft); box-shadow: inset 0 0 0 1px var(--color-primary); color: var(--color-primary); }

/* Titik kecil: fase ini sudah punya animasi. */
.tile[data-marked="true"]::after { content: ""; position: absolute; top: var(--space-2); right: var(--space-2); width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--color-primary); }

/* Saat disorot, ikon menirukan efeknya. */
@media (prefers-reduced-motion: no-preference) {
  .tile:hover:not(:disabled) .icon { animation-duration: 1.1s; animation-iteration-count: infinite; animation-timing-function: ease-out; }
  .tile[data-glyph="fade"]:hover .icon { animation-name: glyph-fade; }
  .tile[data-glyph="rise"]:hover .icon { animation-name: glyph-rise; }
  .tile[data-glyph="slide"]:hover .icon, .tile[data-glyph="push"]:hover .icon { animation-name: glyph-slide; }
  .tile[data-glyph="zoom"]:hover .icon { animation-name: glyph-zoom; }
  .tile[data-glyph="wipe"]:hover .icon { animation-name: glyph-wipe; }
  .tile[data-glyph="path"]:hover .icon { animation-name: glyph-path; }
}
@keyframes glyph-fade { 0% { opacity: 0.1; } 60%, 100% { opacity: 1; } }
@keyframes glyph-rise { 0% { opacity: 0; translate: 0 7px; } 60%, 100% { opacity: 1; translate: 0 0; } }
@keyframes glyph-slide { 0% { opacity: 0; translate: -8px 0; } 60%, 100% { opacity: 1; translate: 0 0; } }
@keyframes glyph-zoom { 0% { opacity: 0; scale: 0.4; } 60%, 100% { opacity: 1; scale: 1; } }
@keyframes glyph-wipe { 0% { clip-path: inset(0 100% 0 0); } 60%, 100% { clip-path: inset(0); } }
@keyframes glyph-path { 0% { translate: -5px 3px; } 30% { translate: 2px 2px; } 60% { translate: -2px -3px; } 100% { translate: 0 0; } }

.slider { display: flex; align-items: center; gap: var(--space-2); }
.slider-name { display: grid; flex: 0 0 48px; justify-items: center; font-size: var(--text-xs); font-weight: 600; }
.slider input { flex: 1; min-width: 0; accent-color: var(--color-primary); }
.slider output { flex: 0 0 52px; font-size: var(--text-sm); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.slider:has(input:disabled) { opacity: 0.5; }

.motion-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.motion-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.motion-head .btn { flex: none; padding: 0; }
.motion-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.motion-list button { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: var(--size-control); padding: 0 var(--space-2); border: 0; border-radius: var(--radius-md); background: none; text-align: left; }
.motion-list button:hover { background: var(--color-surface-muted); }
.motion-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.motion-list small { display: flex; gap: var(--space-1); color: var(--color-primary); }
.motion-list small .icon { width: 16px; height: 16px; }

.page-transition { flex: none; align-self: center; width: 32px; height: 32px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); color: var(--color-primary); }
.page-transition .icon { width: 16px; height: 16px; }

.transition-pop {
  position: fixed;
  inset: auto;
  width: min(300px, calc(100vw - var(--space-5)));
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}
.transition-pop:popover-open { display: grid; gap: var(--space-3); }

/* Lapisan penyunting jalur: menutupi slide dan area di sekitarnya. */
.path-overlay { position: absolute; top: 0; left: 0; z-index: 3050; cursor: crosshair; touch-action: none; }
.path-overlay * { vector-effect: non-scaling-stroke; }
.path-ghost { fill: none; stroke: var(--color-border-strong); stroke-width: 1px; stroke-dasharray: 4 4; pointer-events: none; }
.path-line { fill: none; stroke: var(--color-primary); stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 8 6; pointer-events: none; }
.path-start { fill: var(--color-surface); stroke: var(--color-success); stroke-width: 4px; }
.path-end { fill: var(--color-danger); }
.path-handle { fill: var(--color-surface); stroke: var(--color-primary); stroke-width: 3px; cursor: grab; }
.path-handle[data-end="start"] { stroke: var(--color-success); stroke-width: 4px; }
.path-handle[data-end="end"] { stroke: var(--color-danger); stroke-width: 4px; }
.path-handle[data-selected="true"] { fill: var(--color-primary); }

.pages { padding: var(--space-2) var(--space-4); border-top: 1px solid var(--color-border); background: var(--color-surface); }
.page-strip { display: flex; gap: var(--space-3); overflow-x: auto; padding: var(--space-1); }
.page-thumb {
  position: relative;
  flex: 0 0 112px;
  padding: 0;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: none;
  overflow: hidden;
}
.page-thumb[aria-current="true"] { border-color: var(--color-primary); }
.page-thumb span {
  position: absolute;
  left: 2px;
  bottom: 2px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-xs);
  font-weight: 600;
}
.page-thumb .page-kind {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
}
.page-kind .icon { width: 10px; height: 10px; }
.page-add { display: grid; place-items: center; flex: 0 0 56px; min-height: 66px; border: 0; border-radius: var(--radius-sm); background: var(--color-surface-muted); }
.page-tools { display: flex; align-items: center; gap: var(--space-3); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
.page-divider { width: 1px; height: 20px; margin-inline: var(--space-2); background: var(--color-border); }
.kind-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
}
.kind-btn .icon { width: 16px; height: 16px; }
.kind-btn:hover:not(:disabled) { background: var(--color-surface-muted); }
.kind-btn:disabled { color: var(--color-text-muted); opacity: 0.6; }
.kind-btn[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-primary-soft); color: var(--color-primary); }
.zoom { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
.zoom input { width: 120px; }
#pan-btn[aria-pressed="true"] { background: var(--color-primary-soft); color: var(--color-primary); }
.page-label { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }

@media (max-width: 900px) {
  .editor { height: auto; min-height: 100dvh; overflow: auto; }
  .topbar { flex-wrap: wrap; }
  .editor-body { flex-direction: column; }
  .tools { flex: none; flex-direction: row; justify-content: space-around; gap: var(--space-1); padding: var(--space-2); border-inline-end: 0; border-bottom: 1px solid var(--color-border); }
  .tools button { flex: 1; width: auto; min-width: 0; }
  .workspace { order: 2; flex: none; min-height: 60vh; }
  .panel { order: 3; flex: none; border-inline-end: 0; border-top: 1px solid var(--color-border); }
  .zoom { display: none; }
}

/* Tab Sorotan */
.hl-preview { display: block; aspect-ratio: auto; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); container-type: normal; }
.hl-sample { margin: 0; padding: 0; min-height: 0; font-size: var(--text-xl); font-weight: 600; line-height: 1.7; }
.hl-swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-2); }
.hl-swatch { aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); }
.hl-swatch[aria-pressed="true"] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.hl-custom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); font-size: var(--text-sm); }
