/* The 2026-11 look refresh — the small pop-ups. Every rule starts with body.rf
   (see refresh-base.css).

   One look for everything that drops down or floats over a screen:
   - the pop-up: white, 12px corners, a hairline and a soft shadow;
   - a row: 30px, 12.5px words, hover = the one grey (--rf-grey);
   - chosen = teal words and a small teal ✓ in front, never a filled row;
   - groups: a small grey heading, hairlines between them;
   - delete / danger rows: red words, a soft red hover, a hairline above.
   Covered: the drop-down lists (custom-select.js .cselect-*), the action menus
   (frame picture ☰, «עוד» in planning, the project ⋮, the «פרומפט» status
   picker, the director's model list and its conversations, the editor's
   right-click menu, the rail's long-press tip), the activity button + panel
   (activity-center.js — where every toast lands) and the floating toast that is
   used only before the app has started.

   Sizes are written for a computer screen; on a phone (hover: none or ≤768px)
   the lists stay bottom sheets with their own big rows (polish.css). */

body.rf {
  --rf-pop-shadow: 0 0 0 1px var(--rf-line), var(--shadow-md);
  --rf-pop-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ═════════════ the pop-up itself ═════════════ */
body.rf .cselect-menu,
body.rf .frame-slot-actions-menu,
body.rf .project-menu-dropdown,
body.rf .video-status-picker-menu,
body.rf .popover.tl-block-menu,
body.rf .director-model-menu,
body.rf .director-history {
  border: 0;
  border-radius: 12px;
  background: var(--rf-card);
  box-shadow: var(--rf-pop-shadow);
  color: var(--text);
}

/* ═════════════ drop-down lists (custom-select.js) ═════════════ */

/* A plain trigger that no screen dressed yet (the windows, the create bar and
   the planning details have their own): white, a hairline, flat, 32px.
   :where() keeps it under every screen's own trigger rule; the windows keep
   theirs whole (refresh-windows.css). */
body.rf :where(.cselect-trigger:not(.modal *)) {
  min-height: 32px;
  padding: 0 10px;
  gap: 8px;
  border: 1px solid var(--rf-line-2);
  border-radius: 9px;
  background: var(--rf-card);
  box-shadow: none;
  font-size: 12.5px;
}
body.rf :where(.cselect-trigger:not(.modal *)):hover:not(:disabled) {
  border-color: var(--rf-line-2);
  background: var(--rf-grey);
}
body.rf :where(.cselect-trigger:not(.modal *)).open,
body.rf :where(.cselect-trigger:not(.modal *)):focus-visible {
  border-color: var(--accent);
  background: var(--rf-card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
body.rf .cselect-menu {
  gap: 1px;
}
body.rf :where(.cselect-menu):not(.cselect-menu--voices) {
  padding: 5px;
}

/* a row */
body.rf .cselect-option {
  position: relative;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
}
body.rf .cselect-option:hover {
  background: var(--rf-grey);
}
body.rf .cselect-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
@media (hover: hover) and (min-width: 769px) {
  body.rf .cselect-option {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12.5px;
    line-height: 1.35;
  }
  body.rf .cselect-option-hint {
    font-size: 11px;
  }
  /* the long model list keeps its 28px rows, so it still fits the screen */
  body.rf .cselect-menu--video-models .cselect-option {
    min-height: 28px;
    padding-block: 5px;
  }
}
body.rf .cselect-option-hint {
  color: var(--text-3);
  opacity: 1;
}
body.rf .cselect-option-sample {
  color: var(--text-2);
}

/* chosen: teal words and a ✓ in a narrow lane in front of every row */
body.rf .cselect-option.active {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}
body.rf .cselect-option.active:hover {
  background: var(--rf-grey);
}
body.rf .cselect-option.active .cselect-option-hint,
body.rf .cselect-option.active .cselect-option-sample {
  color: var(--accent);
  opacity: 0.85;
}
body.rf .cselect-menu:has(.cselect-option.active) .cselect-option {
  padding-inline-start: 26px;
}
body.rf .cselect-menu:has(.cselect-option.active) .cselect-group-header {
  padding-inline-start: 26px;
}
body.rf .cselect-option.active::before {
  content: "";
  position: absolute;
  inset-inline-start: 9px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  background-color: var(--accent);
  -webkit-mask: var(--rf-pop-check) center / contain no-repeat;
  mask: var(--rf-pop-check) center / contain no-repeat;
  pointer-events: none;
}
/* rows with the words under the name: the ✓ stays on the name's line */
body.rf .cselect-menu--planning .cselect-option.active::before,
body.rf .cselect-menu--effects .cselect-option.active::before {
  top: 9px;
  margin-top: 0;
}

/* group headings and the hairlines between groups */
body.rf .cselect-group-header {
  padding: 9px 10px 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-3);
}
body.rf .cselect-column:not(:first-child) {
  border-top-color: var(--rf-line);
}
body.rf .cselect-menu--video-models {
  padding: 6px 4px;
}
body.rf .cselect-menu--video-models .cselect-column:not(:first-child),
body.rf .cselect-menu--video-models .cselect-column .cselect-group-header:not(:first-child) {
  border-color: var(--rf-line) !important;
}
body.rf .cselect-menu--video-models .cselect-group-header {
  padding-top: 7px;
}

/* the delete row at the bottom of a list */
body.rf .cselect-option-sep {
  flex: none;
  height: 1px;
  margin: 4px 8px;
  background: var(--rf-line);
}
body.rf .cselect-menu .cselect-option--danger,
body.rf .cselect-menu .cselect-option--danger .cselect-option-label {
  color: var(--red);
}
body.rf .cselect-menu .cselect-option--danger:hover,
body.rf .cselect-menu .cselect-option--danger.active {
  background: var(--rf-danger-soft);
  color: var(--red);
}

/* search: a grey field at the top */
body.rf .cselect-search-wrap {
  padding: 0 0 6px;
  margin-bottom: 2px;
  background: var(--rf-card);
}
body.rf .cselect-search {
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--rf-grey);
  font-size: 12.5px;
}
body.rf .cselect-search:focus {
  border-color: var(--accent);
  background: var(--rf-card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
body.rf .cselect-voice-more {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
}
body.rf .cselect-voice-more:hover {
  background: var(--rf-grey);
  text-decoration: none;
}
body.rf .cselect-empty {
  color: var(--text-3);
  font-size: 12.5px;
}

/* the voices list: the kinds on a grey lane (the chosen kind white with a
   hairline, like every choice on the site), the voices on white */
body.rf .cselect-menu--voices .cselect-search-wrap,
body.rf .cselect-menu--voices .cselect-voice-toolbar {
  padding: 8px 8px 0;
}
body.rf .cselect-voice-cats {
  margin: 6px;
  margin-inline-end: 0;
  padding: 4px;
  gap: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--rf-grey);
}
body.rf .cselect-voice-cat {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}
body.rf .cselect-voice-cat:hover {
  background: color-mix(in srgb, var(--rf-card) 55%, transparent);
  color: var(--text);
}
body.rf .cselect-voice-cat.is-active {
  background: var(--rf-card);
  color: var(--text);
  box-shadow: var(--rf-raise);
}
body.rf .cselect-voice-items {
  padding: 6px;
}

/* ▶ «שמע דוגמה» beside a voice: a quiet grey square */
body.rf .cselect-option-preview {
  margin: 1px 0;
  border: 0;
  border-radius: 8px;
  background: var(--rf-grey);
  color: var(--text-3);
}
body.rf .cselect-option-preview:hover:not(:disabled) {
  border: 0;
  background: var(--rf-grey-2);
  color: var(--accent);
}
body.rf .cselect-option-row:has(.cselect-option.active) .cselect-option-preview {
  color: var(--accent);
}
body.rf .cselect-menu--voices .cselect-option-preview {
  width: 30px;
  min-width: 30px;
}

/* ═════════════ action menus ═════════════ */

/* the picture's ☰ menu and «עוד» in planning */
body.rf .frame-slot-actions-menu {
  gap: 1px;
  padding: 5px;
}
body.rf .frame-slot-actions-menu-item,
body.rf .project-menu-item,
body.rf .tl-block-menu-item {
  position: relative;
  gap: 8px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
}
body.rf :where(.frame-slot-actions-menu-item),
body.rf :where(.project-menu-item),
body.rf :where(.tl-block-menu-item) {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12.5px;
}
body.rf .frame-slot-actions-menu-ico,
body.rf .project-menu-item > .ui-icon,
body.rf .tl-block-menu-item > .ui-icon {
  color: var(--text-3);
}
body.rf .project-menu-item > .ui-icon,
body.rf .project-menu-item > .ui-icon svg {
  width: 14px;
  height: 14px;
}
body.rf .frame-slot-actions-menu-item:hover,
body.rf .project-menu-item:hover,
body.rf .tl-block-menu-item:hover,
body.rf .tl-block-menu-item:focus-visible {
  background: var(--rf-grey);
  color: var(--text);
}
body.rf .frame-slot-actions-menu-item:hover .frame-slot-actions-menu-ico,
body.rf .project-menu-item:hover > .ui-icon {
  color: var(--accent);
}

/* delete: red words, a soft red hover, a hairline above it */
body.rf .frame-slot-actions-menu-item.is-danger,
body.rf .frame-slot-actions-menu-item.is-danger .frame-slot-actions-menu-ico,
body.rf .project-menu-item-danger,
body.rf .project-menu-item-danger > .ui-icon,
body.rf .tl-block-menu-item.is-danger,
body.rf .tl-block-menu-item.is-danger > .ui-icon {
  color: var(--red);
}
body.rf .frame-slot-actions-menu-item.is-danger:hover,
body.rf .project-menu-item-danger:hover,
body.rf .tl-block-menu-item.is-danger:hover,
body.rf .tl-block-menu-item.is-danger:focus-visible {
  background: var(--rf-danger-soft);
  color: var(--red);
}
body.rf .frame-slot-actions-menu-item.is-danger:hover .frame-slot-actions-menu-ico,
body.rf .project-menu-item-danger:hover > .ui-icon {
  color: var(--red);
}
body.rf .frame-slot-actions-menu-item.is-danger:not(:first-child),
body.rf .project-menu-item-danger:not(:first-child) {
  margin-top: 5px;
}
body.rf .frame-slot-actions-menu-item.is-danger:not(:first-child)::before,
body.rf .project-menu-item-danger:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -3.5px;
  inset-inline: 6px;
  height: 1px;
  background: var(--rf-line);
  pointer-events: none;
}

/* the project ⋮ */
body.rf .project-menu-trigger:hover,
body.rf .project-menu-wrapper.open .project-menu-trigger {
  background: var(--rf-grey);
  color: var(--text);
}
body.rf .project-menu-dropdown {
  padding: 5px;
}

/* the editor's right-click menu on a block */
body.rf .popover.tl-block-menu {
  padding: 5px;
}

/* «פרומפט ▾» — which state the shot is in: the same list as every drop-down */
body.rf .video-status-picker-menu {
  gap: 1px;
  padding: 5px;
}
body.rf .video-status-picker-option {
  position: relative;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}
body.rf .video-status-picker-option:hover {
  background: var(--rf-grey);
}
body.rf .video-status-picker-menu:has(.is-selected) .video-status-picker-option {
  padding-inline-start: 26px;
}
body.rf .video-status-picker-option.is-selected {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}
body.rf .video-status-picker-option.is-selected:hover {
  background: var(--rf-grey);
}
body.rf .video-status-picker-option.is-selected::before {
  content: "";
  position: absolute;
  inset-inline-start: 9px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  background-color: var(--accent);
  -webkit-mask: var(--rf-pop-check) center / contain no-repeat;
  mask: var(--rf-pop-check) center / contain no-repeat;
  pointer-events: none;
}

/* the director's model list (opens up over the conversation). The chosen one
   is its highlight, no ✓ (director-panel.js): the one grey + teal name. */
body.rf .director-model-menu {
  padding: 5px;
}
body.rf .director-model-menu-head {
  padding: 5px 8px 5px;
  font-size: 11px;
  font-weight: 700;
}
body.rf .director-model-row {
  padding: 4px 7px;
  border-radius: 8px;
}
body.rf .director-model-row:hover,
body.rf .director-model-row:focus-visible {
  background: var(--rf-grey);
}
body.rf .director-model-row.is-on {
  background: var(--rf-grey);
}
body.rf .director-model-row.is-on .director-model-row-name {
  color: var(--accent);
}
/* the company marks, smaller (the user, 11-10: «האייקונים במודלים בחלון הבמאי
   גדולים מידי»): the bare logo, no box around it, in the list and on the button */
body.rf .director-model-row > .director-model-mark {
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.rf .director-model-row > .director-model-mark svg {
  width: 12px;
  height: 12px;
}
body.rf .director-model-btn > .director-model-mark,
body.rf .director-model-btn > .director-model-mark svg {
  width: 12px;
  height: 12px;
}
body.rf .director-model-sep {
  margin: 4px 8px;
  background: var(--rf-line);
}

/* the director's conversations (drops down under its head) */
body.rf .director-history {
  gap: 4px;
  padding: 6px;
}
body.rf .director-history-head {
  padding: 4px 6px 2px;
  font-size: 11px;
}
body.rf .director-history-list {
  gap: 1px;
  border-radius: 0;
}
body.rf .director-history-row {
  border-radius: 8px;
}
body.rf .director-history-row + .director-history-row {
  border-top: 0;
}
body.rf .director-history-row:hover {
  background: var(--rf-grey);
}
body.rf .director-history-row.is-active {
  background: transparent;
}
body.rf .director-history-row.is-active:hover {
  background: var(--rf-grey);
}
body.rf .director-history-row.is-active .director-history-title {
  color: var(--accent);
}
body.rf .director-history-open {
  padding: 6px 8px;
  border-radius: 8px;
}
body.rf .director-history-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
body.rf .director-history-delete {
  border-radius: 7px;
  color: var(--text-muted);
}
body.rf .director-history-delete:hover:not(:disabled) {
  background: var(--rf-danger-soft);
  color: var(--red);
}

/* the rail's long-press tip (touch): a small white capsule */
body.rf .rail-shot-tip {
  border: 0;
  background: var(--rf-card);
  box-shadow: var(--rf-pop-shadow);
}
body.rf .rail-shot-tip-btn--danger {
  color: var(--red);
}

/* ═════════════ the activity button and its panel (every toast lands here) ═════════════ */
body.rf .ac-pill {
  height: 40px;
  padding: 0 14px;
  gap: 8px;
  border: 1px solid var(--rf-line);
  background-color: var(--rf-card);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
body.rf .ac-pill:hover {
  background-color: var(--rf-grey);
  box-shadow: var(--shadow-md);
  transform: none;
}
body.rf .ac-pill.ac-compact {
  width: 40px;
  padding: 0;
}
body.rf .ac-pill.ac-open {
  border-color: var(--rf-line-2);
}
/* an error says so with the red badge; the ring and the mark stay quiet */
body.rf .ac-pill.ac-error {
  border-color: var(--rf-line);
}
body.rf .ac-pill.ac-ai {
  border-color: transparent;
}
body.rf .ac-pill-icon {
  width: 17px;
  height: 17px;
  font-size: 17px;
  color: var(--accent);
}
body.rf .ac-pill.ac-error .ac-pill-icon {
  color: var(--text-2);
}
body.rf .ac-badge {
  top: -4px;
  inset-inline-start: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 10.5px;
  box-shadow: 0 0 0 2px var(--rf-card);
}
body.rf .ac-badge.ac-badge-err {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--rf-card);
}

/* the panel: a white pop-up, its name like a card title */
body.rf .ac-panel {
  border: 0;
  border-radius: 14px;
  background: var(--rf-card);
  box-shadow: var(--rf-pop-shadow);
}
body.rf .ac-head {
  padding-block: 10px 4px;
  padding-inline: 14px 8px;
  border-bottom: 0;
}
body.rf .ac-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
body.rf .ac-head-actions {
  gap: 2px;
}
body.rf .ac-clear {
  padding: 4px 8px;
  border-radius: 7px;
  color: var(--accent);
  font-size: 12px;
}
body.rf .ac-clear:hover {
  background: var(--rf-grey);
  color: var(--accent);
}
body.rf .ac-x {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-3);
}
body.rf .ac-x:hover {
  background: var(--rf-grey);
  color: var(--text);
}
body.rf .ac-body {
  padding: 2px 6px 6px;
}
body.rf .ac-sect {
  padding: 10px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-3);
}
body.rf .ac-empty {
  font-size: 12.5px;
  color: var(--text-3);
}

/* a row */
body.rf .ac-row {
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
}
body.rf .ac-row.toast-clickable:hover {
  background: var(--rf-grey);
}
body.rf .ac-row-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}
body.rf .ac-row-sub {
  font-size: 11.5px;
  color: var(--text-3);
}
body.rf .ac-row.ac-row-note .ac-row-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}
/* errors on top: a soft red card; a warning: the one grey */
body.rf .ac-row.ac-error,
body.rf .ac-row.ac-warning {
  margin-bottom: 2px;
  border-block: 0;
}
body.rf .ac-row.ac-error,
body.rf .ac-row.ac-error.toast-clickable:hover {
  background: var(--rf-danger-soft);
}
body.rf .ac-row.ac-warning,
body.rf .ac-row.ac-warning.toast-clickable:hover {
  background: var(--rf-grey);
}

/* the kind's mark: teal ✓ done, red ! failed, orange ⚠ warning, grey i */
body.rf .ac-dot-success {
  background: var(--accent);
}
body.rf .ac-dot-info {
  background: var(--text-muted);
}
body.rf .ac-dot-error {
  background: var(--red);
}
body.rf .ac-dot-warning {
  background: var(--ember);
}
body.rf .ac-dot,
body.rf .ac-dot-i,
body.rf .ac-dot-bang {
  color: var(--text-on-accent);
}

/* «נסה שוב» / «הורד»: a small white button with teal words */
body.rf .ac-row .ac-action,
body.rf .toast .toast-action {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: var(--rf-card);
  box-shadow: var(--rf-raise);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
body.rf .ac-row .ac-action:hover,
body.rf .toast .toast-action:hover {
  background: var(--rf-grey);
}

/* stop (a running job) and the quiet ✕ on a finished one */
body.rf .ac-stop {
  width: 24px;
  height: 24px;
  border: 0;
  background: var(--rf-grey);
  color: var(--text-3);
}
body.rf .ac-stop:hover {
  background: var(--rf-danger-soft);
  color: var(--red);
}
body.rf .ac-dismiss {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--text-muted);
}
body.rf .ac-dismiss:hover {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
}
body.rf .ac-dismiss svg,
body.rf .ac-stop svg,
body.rf .ac-x svg {
  width: 11px;
  height: 11px;
}

/* progress: a grey track, a teal fill */
body.rf .ac-pbar {
  height: 4px;
  margin-top: 6px;
  background: var(--rf-grey);
}
body.rf .ac-pbar > i {
  background: var(--accent);
}
body.rf .ac-pct {
  font-size: 11.5px;
  color: var(--accent);
}
body.rf .ac-thumb {
  border-radius: 6px;
  background: var(--rf-grey);
}

/* ═════════════ the floating toast (only before the app has started) ═════════════ */
body.rf .toast:not(.toast-ai):not(.job-chip):not(.toast-overflow) {
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--rf-card);
  box-shadow: var(--rf-pop-shadow);
}
body.rf .toast .toast-icon {
  font-size: 16px;
}
body.rf .toast-success .toast-icon {
  color: var(--accent);
}
body.rf .toast-error .toast-icon {
  color: var(--red);
}
body.rf .toast-warning .toast-icon {
  color: var(--ember);
}
body.rf .toast-info .toast-icon,
body.rf .toast-loading .toast-icon {
  color: var(--text-3);
}
body.rf .toast-text {
  font-size: 12.5px;
  font-weight: 600;
}
body.rf .toast-detail {
  font-size: 11.5px;
  color: var(--text-3);
  opacity: 1;
}
body.rf .toast-close {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
}
body.rf .toast-close:hover {
  background: var(--rf-grey);
  color: var(--text);
}

/* «עריכה» on a narrow screen: the tool picker's list, like every other list —
   white, hairline + soft shadow, grey hover, the chosen tool in teal text
   (it kept the old light-teal fill with a teal border). */
body.rf .ws-tool-picker-panel {
  gap: 1px;
  padding: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--rf-card);
  box-shadow: var(--rf-pop-shadow);
}
body.rf .ws-tool-picker-panel .ws-menu-group {
  border-top-color: var(--rf-line);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
}
body.rf .ws-tool-picker-panel .ws-menu-btn {
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
}
body.rf .ws-tool-picker-panel .ws-menu-btn:hover {
  background: var(--rf-grey);
  color: var(--text);
}
body.rf .ws-tool-picker-panel .ws-menu-btn.active {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
  font-weight: 700;
}

/* ═════════════ lists with more air + clear group headings ═════════════
   The user, 11-10: the drop-down lists felt cramped, «לא הסגנון של שאר האתר»,
   and in the model list «הכותרות צריכים להיות מסודרים יותר». Rows get the
   site's rhythm (36px, 13px words; the model list 32px), and every group
   heading is its own soft band with room above it, so a group starts clearly. */
body.rf .cselect-menu {
  gap: 2px;
}
body.rf :where(.cselect-menu):not(.cselect-menu--voices) {
  padding: 6px;
}
@media (hover: hover) and (min-width: 769px) {
  /* 11-11: «כבר נהיה מדי מרווח» — between the old 30px and 36px */
  body.rf .cselect-option {
    min-height: 33px;
    padding: 7px 11px;
    font-size: 13px;
  }
  body.rf .cselect-option-hint {
    font-size: 11.5px;
  }
  body.rf .cselect-menu--video-models .cselect-option {
    min-height: 30px;
    padding-block: 5px;
  }
}
body.rf .cselect-group-header,
body.rf .cselect-menu:has(.cselect-option.active) .cselect-group-header,
body.rf .cselect-menu--video-models .cselect-group-header {
  margin: 9px 2px 3px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--rf-grey);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
body.rf .cselect-group-header:first-child,
body.rf .cselect-column > .cselect-group-header:first-child {
  margin-top: 2px;
}
/* the band separates the groups — no extra hairline above it */
body.rf .cselect-menu--video-models .cselect-column .cselect-group-header:not(:first-child) {
  border-top-width: 0 !important;
}
body.rf .cselect-menu--video-models .cselect-column {
  padding-inline: 4px;
}
/* the model list's columns are narrow: a little less side padding per row so
   long names («MiniMax H3 Lip-Sync») keep their words */
@media (hover: hover) and (min-width: 769px) {
  body.rf .cselect-menu--video-models .cselect-option {
    padding-inline-end: 8px;
  }
  body.rf .cselect-menu--video-models .cselect-column {
    padding-inline: 2px;
  }
}
