/* The machine's editing styles (098): the style row on a voice-over card, and the 4 examples over any modal (edstyles.js) */
.eds-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }
.eds-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.eds-lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.eds-see { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--link); cursor: pointer; }
.eds-see:hover { text-decoration: underline; }
.eds-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.eds-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--border-strong);
  border-radius: var(--r-full); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.eds-chip b { font-weight: 800; color: var(--ink-3); }
.eds-chip:hover { border-color: var(--ink-3); }
.eds-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.eds-chip.is-on b { color: var(--settled-accent); }
.eds-star { padding: 1px 7px; border-radius: var(--r-full); background: var(--act); color: var(--act-ink); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.eds-why { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.eds-sel { min-width: 170px; }
.eds-given { font-weight: 600; }

.eds-ov { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px;
  background: rgba(12, 12, 18, .55); overflow-y: auto; }
:root[data-theme='dark'] .eds-ov { background: rgba(0, 0, 0, .72); }
.eds-box { width: min(1180px, 100%); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.eds-box-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.eds-box-head h2 { margin: 0 0 4px; font-family: var(--display); font-size: 20px; }
.eds-box-head span { color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.eds-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.eds-ex { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--r-md); }
.eds-ex.is-focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.eds-ex video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--r); object-fit: cover; }
.eds-ex figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.4; }
.eds-ex figcaption b { font-size: 14px; }
.eds-ex figcaption .eds-star { align-self: flex-start; }
.eds-ex figcaption small { color: var(--ink-3); font-weight: 700; }
.eds-ex figcaption em { color: var(--ink-2); font-style: normal; font-weight: 600; }
@media (max-width: 900px) { .eds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .eds-ov { padding: 0; }
  .eds-box { border-radius: 0; min-height: 100%; padding: 16px; }
  .eds-grid { grid-template-columns: 1fr; }
  .eds-ex video { max-height: 70vh; }
}

/* 🎨 the product's brand colours for the words (160, edstyles.js edColorRow) */
.edc { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--border); }
.edc-seg { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.edc-sws { display: inline-flex; gap: 3px; }
.edc-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18) inset, 0 0 0 1px rgba(255, 255, 255, .5); }
.edc-ed { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.edc-presets { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.edc-preset { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.edc-preset:hover { border-color: var(--ink-3); }
.edc-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.edc-pick { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.edc-pick > span:first-child { display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.edc-pick small { color: var(--ink-3); font-size: 11.5px; line-height: 1.3; }
.edc-in { display: flex; align-items: center; gap: 6px; }
.edc-in input[type='color'] { flex: none; width: 40px; height: 40px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.edc-hex { min-width: 92px; width: 100%; max-width: 130px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; text-transform: lowercase; }
.edc-prev { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; min-height: 74px; padding: 12px; border-radius: var(--r-md);
  background: linear-gradient(135deg, #3b3f46 0%, #1c1e22 60%, #2c2a26 100%); }
.edc-p-lab { padding: 3px 10px 5px; border-radius: 4px; background: var(--p-acc); color: #fff; font-weight: 900; font-size: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.edc-p-lab b { color: var(--p-main); background: #fff; padding: 0 4px; border-radius: 3px; text-shadow: none; }
.edc-p-hero { color: var(--p-acc); font-weight: 900; font-size: 30px; text-shadow: 0 0 14px color-mix(in srgb, var(--p-acc) 55%, transparent), 0 2px 6px rgba(0, 0, 0, .5); }
.edc-p-bar { padding: 4px 12px; border-radius: 5px; background: var(--p-main); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 3px var(--p-light); }
.edc-warns:empty { display: none; }
.edc-warns { display: flex; flex-direction: column; gap: 4px; }
.edc-warn { font-size: 12.5px; color: var(--crit-ink, #b42318); }
.edc-err { font-size: 12.5px; color: var(--crit-ink, #b42318); }
.edc-acts { display: flex; justify-content: flex-end; gap: 8px; }
