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

   The «קטעים» screen as approved in the design sample (shA vw1 b3 cc e6):
   - colours «לפי התכנון»: white columns, ONE grey inside, white content on
     the grey, the chosen thing white and raised; teal only for what is chosen,
     what you click, and the create bar. No green state dots.
   - rail: shots grouped under their scene, the open shot a white raised row,
     the «קטעים» header exactly like the «סרטונים» header.
   - middle: soft grey cards in today's order; the frame buttons stay ON the
     picture as today; the empty frame = two identical «AI» / «העלאה» tiles;
     a quiet ⇄; the create bar light teal, one row, labels above the choices,
     the price on the button.
   - videos: today's cards, soft (grey card, inset rounded picture, the one in
     the editor white with a teal ring), «לא להציג» as a switch.

   Layout rules live in @media (min-width: 769px): the phone layout of this
   screen (polish.css) is a different arrangement and stays as it is. */

/* ── the three columns ─────────────────────────────────────────────────── */
@media (min-width: 1281px) {
  body.rf .shots-layout {
    grid-template-columns: 248px minmax(0, 1fr) 300px;
    gap: 16px;
  }
}

body.rf .shots-layout > .shot-rail,
body.rf .shots-layout > .shot-stage,
body.rf .shots-layout > .videos-panel {
  background: var(--rf-card);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--rf-shadow);
}

/* ── the column headers: «קטעים» reads exactly like «סרטונים» ──────────── */
@media (min-width: 769px) {
  body.rf .shot-rail,
  body.rf .videos-panel {
    padding: 12px;
  }

  body.rf .shot-rail .shot-rail-header,
  body.rf .videos-panel > .panel-header-row {
    min-height: 25px;
    padding: 2px 4px;
    margin-bottom: 0;
    border-bottom: 0;
  }
}

body.rf .shot-rail-header .panel-header-title,
body.rf .videos-panel > .panel-header-row .panel-header-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

body.rf .shot-rail .rail-header-actions {
  gap: 2px;
}

body.rf .shot-rail .rail-header-btn {
  width: 22px;
  height: 22px;
  margin: -2px 0;
  border-radius: 7px;
  color: var(--accent);
}

body.rf .shot-rail .rail-header-btn svg {
  width: 14px;
  height: 14px;
}

body.rf .shot-rail .rail-header-btn:hover,
body.rf .shot-rail .rail-header-btn:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

/* «+ הוסף» on the videos header: a teal word, like the rail's teal tools */
body.rf .videos-panel > .panel-header-row > .btn {
  height: auto;
  min-height: 0;
  padding: 2px 6px;
  margin: -2px -2px;
  border: 0;
  border-radius: 7px;
  background: none;
  box-shadow: none;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  gap: 4px;
}

body.rf .videos-panel > .panel-header-row > .btn .ui-icon,
body.rf .videos-panel > .panel-header-row > .btn svg {
  width: 13px;
  height: 13px;
}

body.rf .videos-panel > .panel-header-row > .btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

body.rf .videos-panel .panel-header-count {
  color: var(--text-3);
  font-weight: 600;
}

/* ── the shots rail ─────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  /* one grey panel holding the rows */
  body.rf .shot-rail .rail-list {
    margin-top: 10px;
    padding: 6px;
    gap: 0;
    border-radius: 12px;
    background: var(--rf-grey);
  }

  body.rf .shot-rail .rail-item {
    flex: none;
    gap: 9px;
    padding: 8px;
    border-radius: 10px;
  }

  body.rf .shot-rail .rail-thumb {
    width: 50px;
    height: 28px;
    border-radius: 5px;
  }

  /* archive + delete: at the row's far end on hover, as before, side by side
     instead of stacked, and taking room only while shown, so the name keeps
     its width and the row stays one line high */
  body.rf .shot-rail .rail-item-actions {
    display: none;
    flex-direction: row;
    gap: 2px;
  }

  body.rf .shot-rail .rail-item:hover .rail-item-actions,
  body.rf .shot-rail .rail-item:focus-within .rail-item-actions,
  body.rf .shot-rail .rail-item.is-rail-tip-anchor .rail-item-actions {
    display: flex;
  }

  /* «הכנס קטע כאן» between the rows: a thin line + ⊕ on hover, sitting in the
     gap instead of adding a strip of its own under every row */
  body.rf .shot-rail .rail-list .rail-insert {
    position: relative;
    z-index: 2;
    flex: none;
    height: 10px;
    margin: -3px 0;
    padding: 0 8px;
  }

  body.rf .shot-rail .rail-list:hover .rail-insert {
    opacity: 0.35;
  }

  body.rf .shot-rail .rail-list .rail-insert:hover,
  body.rf .shot-rail .rail-list .rail-insert.drag-over {
    opacity: 1;
  }

  /* the scene a run of shots belongs to: «סצנה 1  מעגל אישי» */
  body.rf .shot-rail .rail-scene-head {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
    min-width: 0;
    padding: 8px 6px 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-3);
  }

  body.rf .shot-rail .rail-list > .rail-scene-head:first-child {
    padding-top: 4px;
  }

  body.rf .shot-rail .rail-scene-num {
    flex: none;
    color: var(--text-2);
  }

  body.rf .shot-rail .rail-scene-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* the phone's sideways rail keeps its own look: no scene titles there */
@media (max-width: 768px) {
  body.rf .shot-rail .rail-scene-head {
    display: none;
  }
}

body.rf .shot-rail .rail-scene-head.is-unscened .rail-scene-name {
  font-weight: 600;
  color: var(--text-muted);
}

body.rf .shot-rail .rail-item:hover {
  background: var(--rf-grey-2);
}

body.rf .shot-rail .rail-item.active {
  background: var(--rf-card);
  box-shadow: var(--rf-raise);
}

body.rf .shot-rail .rail-num {
  background: var(--rf-card);
  color: var(--text-2);
  font-weight: 700;
}

body.rf .shot-rail .rail-item.active .rail-num {
  background: var(--accent);
  color: var(--text-on-accent);
}

body.rf .shot-rail .rail-title {
  font-size: 12.5px;
  font-weight: 600;
}

body.rf .shot-rail .rail-title:hover {
  background: var(--rf-grey);
}

body.rf .shot-rail .rail-status {
  margin-top: 3px;
  gap: 5px;
}

body.rf .shot-rail .rail-thumb-empty {
  background: repeating-linear-gradient(
    135deg,
    var(--rf-grey-2) 0 4px,
    var(--rf-card) 4px 8px
  );
}

body.rf .shot-rail .rail-item.active .rail-thumb-empty {
  background: repeating-linear-gradient(
    135deg,
    var(--rf-grey) 0 4px,
    var(--rf-grey-2) 4px 8px
  );
}

body.rf .shot-rail .rail-insert-plus {
  background: var(--rf-card);
}

body.rf .shot-rail .rail-archive-section {
  border-top: 0;
}

/* ── shot status marks: one quiet family, no green ──────────────────────
   dark dot = a video is in the editor · ring = there is a picture / videos to
   pick from · light dot = only text. The word next to the mark says which. */
body.rf .shots-layout .status-pip,
body.rf .video-status-picker-menu .status-pip {
  background: var(--text-muted);
  box-shadow: none;
}

body.rf .shots-layout .status-pip.status-done,
body.rf .video-status-picker-menu .status-pip.status-done {
  background: var(--text-2);
}

body.rf .shots-layout .status-pip.status-editing,
body.rf .video-status-picker-menu .status-pip.status-editing {
  background: var(--text-3);
}

body.rf .shots-layout .status-pip.status-pick,
body.rf .video-status-picker-menu .status-pip.status-pick {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--text-2);
}

body.rf .shots-layout .status-pip.status-image,
body.rf .video-status-picker-menu .status-pip.status-image {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--text-3);
}

body.rf .shots-layout .status-pip.status-prompt,
body.rf .video-status-picker-menu .status-pip.status-prompt {
  background: color-mix(in srgb, var(--text-muted) 50%, transparent);
}

body.rf .shots-layout .status-pip.status-empty,
body.rf .shots-layout .status-pip.status-skip,
body.rf .video-status-picker-menu .status-pip.status-empty {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-muted) 60%, transparent);
}

/* ── the middle: the open shot ──────────────────────────────────────────── */
body.rf .shot-stage > .stage-card {
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

body.rf .shot-stage > .stage-card .stage-card-head {
  padding: 13px 16px 6px;
  border-bottom: 0;
  background: transparent;
}

/* «קטע 1 · התעוררות מול קושי» */
body.rf .shot-stage > .stage-card .stage-card-head .stage-card-title {
  display: flex;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

body.rf .shot-stage .stage-card-title-num {
  flex: none;
}

body.rf .shot-stage .stage-card-title-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.rf .shot-stage .stage-card-title-name::before {
  content: "·";
  margin-inline: 4px;
}

/* ✨ / ☰ on the picture: as today, small white squares (not circles) */
body.rf .shot-stage .frame-slot-action-bar .frame-slot-ai-btn {
  border-radius: 8px;
}

/* the status picker: a quiet white pill with a border */
body.rf .shot-stage .video-status-picker-trigger,
body.rf .shot-stage .video-status-picker-trigger.is-manual {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--rf-line-2);
  border-radius: 8px;
  background: var(--rf-card);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

body.rf .shot-stage .video-status-picker-trigger.is-manual {
  font-weight: 700;
  border-color: var(--text-3);
}

body.rf .shot-stage .video-status-picker-trigger:hover {
  background: var(--rf-grey);
  border-color: var(--rf-line-2);
}

body.rf .video-status-picker-option.is-selected {
  background: var(--accent-soft);
}

body.rf .shot-stage .video-card-body {
  padding: 14px 16px;
  gap: 12px;
}

/* «מופיע שוב בקטע 11 · מה שנוצר כאן מגיע גם לשם» — a plain line */
body.rf .shot-stage .shot-repeat-strip,
body.rf .shot-stage .shot-repeat-strip[data-state] {
  min-height: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-3);
}

body.rf .shot-stage .shot-repeat-ico,
body.rf .shot-stage .shot-repeat-strip[data-state] .shot-repeat-ico {
  color: var(--text-3);
}

body.rf .shot-stage .shot-repeat-text b {
  font-weight: 700;
  color: var(--text-2);
}

/* the two pictures: one grey card */
body.rf .shot-stage .video-card-body > .frame-chooser {
  padding: 10px;
  border-bottom: 0;
  border-radius: 14px;
  background: var(--rf-grey);
}

@media (min-width: 769px) {
  body.rf .shot-stage .video-card-body > .frame-chooser {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 10px;
  }
}

body.rf .shot-stage .frame-slot {
  border-radius: 10px;
}

body.rf .shot-stage .frame-slot.has-image {
  border: 0;
  background: var(--rf-card);
}

body.rf .shot-stage .frame-slot:not(.has-image):not(.frame-slot-disabled) {
  border: 1.5px dashed var(--rf-line-2);
  background: transparent;
}

body.rf .shot-stage .frame-slot:not(.has-image):not(.frame-slot-disabled):hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--rf-line-2));
  background: color-mix(in srgb, var(--rf-card) 45%, transparent);
}

/* the empty frame: its name over two identical tiles, icon + one word */
body.rf .shot-stage .frame-slot .frame-slot-icon {
  display: none;
}

body.rf .shot-stage .frame-slot-empty-btns {
  gap: 10px;
}

body.rf .shot-stage .frame-slot-hint-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

body.rf .shot-stage .frame-slot-btn-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: none;
}

body.rf .shot-stage .frame-slot-empty-btn,
body.rf .shot-stage .frame-slot-empty-btn--ai {
  flex-direction: column;
  gap: 3px;
  width: 64px;
  height: auto;
  padding: 8px 0 6px;
  border: 1px solid var(--rf-line-2);
  border-radius: 11px;
  background: var(--rf-card);
  box-shadow: none;
  color: var(--text-2);
  font-size: 10.5px;
  font-weight: 700;
}

body.rf .shot-stage .frame-slot-empty-btn .frame-slot-empty-btn-ico {
  color: var(--accent);
}

body.rf .shot-stage .frame-slot-empty-btn .frame-slot-empty-btn-ico .ui-icon,
body.rf .shot-stage .frame-slot-empty-btn .frame-slot-empty-btn-ico .ui-icon svg {
  width: 17px;
  height: 17px;
}

body.rf .shot-stage .frame-slot-empty-btn:hover:not(:disabled),
body.rf .shot-stage .frame-slot-empty-btn--ai:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--rf-line-2));
  background: var(--rf-card);
  color: var(--text);
}

body.rf .shot-stage .frame-slot-empty-btn:disabled,
body.rf .shot-stage .frame-slot-empty-btn:disabled:hover {
  background: transparent;
  border-color: var(--rf-line);
  color: var(--text-3);
  opacity: 0.6;
}

body.rf .shot-stage .frame-slot-empty-btn:disabled .frame-slot-empty-btn-ico {
  color: inherit;
}

/* ⇄ between the frames: quiet, no box */
body.rf .shot-stage .frame-swap-btn {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 7px;
  background: none;
  box-shadow: none;
  color: var(--text-muted);
}

body.rf .shot-stage .frame-swap-btn:hover:not(:disabled) {
  border: 0;
  background: var(--rf-card);
  color: var(--text-2);
}

/* the description: a grey card, the text and the change line white inside */
body.rf .shot-stage .video-card-body > .prompt-composer {
  gap: 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--rf-grey);
}

body.rf .shot-stage .video-card-body > .prompt-composer:focus-within {
  border: 0;
}

body.rf .shot-stage .prompt-composer .video-prompt-label {
  font-size: 13.5px;
  font-weight: 700;
}

/* «✨ הצעות פרומפט» — a teal word */
body.rf .shot-stage .prompt-composer .ws-prompt-field-actions .btn {
  height: auto;
  min-height: 0;
  padding: 2px 6px;
  border: 0;
  border-radius: 7px;
  background: none;
  box-shadow: none;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

body.rf .shot-stage .prompt-composer .ws-prompt-field-actions .btn:hover:not(:disabled) {
  background: var(--accent-soft);
}

body.rf .shot-stage .prompt-composer .ws-prompt-field-actions .btn:disabled {
  color: var(--text-muted);
  background: none;
}

body.rf .shot-stage .prompt-composer .ai-textarea-wrap .textarea {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--rf-card);
  font-size: 14px;
  line-height: 1.75;
}

body.rf .shot-stage .prompt-composer .ai-textarea-wrap .textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

body.rf .shot-stage .prompt-composer .is-prompt-skipped .textarea {
  border: 1px dashed var(--rf-line-2);
}

/* «שינוי»: one white line — the word in teal, the field, «שנה» and the tools */
body.rf .shot-stage .prompt-composer .seg-field.prompt-instruct,
body.rf .shot-stage .prompt-composer .seg-field.prompt-instruct:focus-within {
  margin-top: 0;
  padding: 6px 6px 6px 6px;
  padding-inline-start: 12px;
  border: 0;
  border-top: 0;
  border-radius: 12px;
  background: var(--rf-card);
}

body.rf .shot-stage .prompt-composer .seg-field.prompt-instruct:focus-within {
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent);
}

body.rf .shot-stage .prompt-instruct .seg-field-label {
  color: var(--accent);
  font-weight: 700;
}

body.rf .shot-stage .prompt-instruct .prompt-instruct-input,
body.rf .shot-stage .prompt-instruct .prompt-instruct-input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  padding-inline: 2px;
}

body.rf .shot-stage .prompt-instruct .prompt-instruct-btn {
  border: 1px solid var(--rf-line-2);
  border-radius: 8px;
  background: var(--rf-card);
  color: var(--text);
}

body.rf .shot-stage .prompt-instruct .prompt-instruct-btn:hover:not(:disabled) {
  background: var(--rf-grey);
}

body.rf .shot-stage .prompt-instruct-end > .prompt-chip--icon,
body.rf .shot-stage .prompt-instruct-end > .planning-seg-decisions-btn,
body.rf .shot-stage .prompt-instruct-end > .skip-prompt-toggle {
  border-color: transparent;
  background: var(--rf-grey);
}

body.rf .shot-stage .prompt-instruct-end > .skip-prompt-toggle.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* the two folds: grey rows */
body.rf .shot-stage .video-card-body > .shot-brief-fold,
body.rf .shot-stage .video-card-body > .video-advanced {
  border: 0;
  border-radius: 12px;
  background: var(--rf-grey);
}

body.rf .shot-stage .video-card-body > .shot-brief-fold > summary,
body.rf .shot-stage .video-card-body > .video-advanced .video-advanced-toggle {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

body.rf .shot-stage .video-card-body > .shot-brief-fold > summary .ui-icon,
body.rf .shot-stage .video-card-body > .video-advanced .video-advanced-toggle .ui-icon {
  color: var(--text-muted);
}

body.rf .shot-stage .video-card-body > .shot-brief-fold > summary:hover,
body.rf .shot-stage .video-card-body > .video-advanced .video-advanced-toggle:hover {
  background: var(--rf-grey-2);
}

body.rf .shot-stage .video-card-body > .shot-brief-fold[open] > .shot-brief-fields {
  border-top: 1px solid var(--rf-line);
}

body.rf .shot-stage .shot-brief-fields .seg-field,
body.rf .shot-stage .shot-brief-fields .seg-field.is-empty {
  border-color: transparent;
  background: var(--rf-card);
}

body.rf .shot-stage .shot-brief-fields .seg-field:hover {
  border-color: var(--rf-line-2);
}

body.rf .shot-stage .shot-brief-fields .seg-field:focus-within {
  border-color: var(--accent);
}

body.rf .shot-stage .video-card-body > .video-advanced .video-advanced-body {
  border-top: 1px solid var(--rf-line);
}

/* ── the create bar: light teal, one row, labels above, price on the button ─ */
body.rf .shot-stage > .stage-card .video-card-footer {
  padding: 0 12px 12px;
  border-top: 0;
  background: transparent;
}

body.rf .shot-stage .video-settings-row {
  border: 0;
  border-radius: 14px;
  background: var(--rf-teal-bar);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}

body.rf .shot-stage .video-settings-row .video-generate-btn {
  gap: 6px;
  font-weight: 700;
}

/* the price beside the button, as today — not on it (the user, 11-10) */
body.rf .shot-stage .video-settings-row .generate-btn-price {
  padding-inline: 2px;
  color: var(--rf-teal-ink);
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 769px) {
  /* compact (the user, 11-10: the first build was huge and clunky): one low row,
     the choices as today's small white pills, the button as tall as they are */
  body.rf .shot-stage .video-settings-row {
    width: auto;
    margin-inline: 0;
    padding: 6px;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    border-radius: 12px;
    box-shadow: none;
  }

  body.rf .shot-stage .video-settings-row-controls {
    flex: 1 1 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  body.rf .shot-stage .video-settings-row .duration-group {
    flex: 0 1 auto;
    min-width: 0;
    padding: 0;
    background: transparent;
  }

  body.rf .shot-stage .video-settings-row .duration-label {
    display: none;
  }

  body.rf .shot-stage .video-settings-row .duration-group .cselect-trigger {
    width: auto;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    background: var(--rf-card);
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
  }

  body.rf .shot-stage .video-settings-row .generate-btn-with-price {
    flex: none;
    margin-inline-start: auto;
    gap: 8px;
  }

  body.rf .shot-stage .video-settings-row .generate-btn-with-price .video-generate-btn {
    height: 32px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13px;
    box-shadow: none;
  }
  /* a narrow middle (smaller screens): the choices keep one full row and the
     button takes the row under them, instead of squeezing the values away */
  body.rf .shot-stage .video-settings-row {
    flex-wrap: wrap;
  }
}

@media (min-width: 769px) {
  @container video-settings (max-width: 470px) {
    body.rf .shot-stage .video-settings-row-controls {
      flex: 1 1 100%;
    }

    body.rf .shot-stage .video-settings-row .duration-group {
      flex: 1 1 auto;
    }

    body.rf .shot-stage .video-settings-row .generate-btn-with-price {
      flex: 1 1 100%;
      margin-inline-start: 0;
    }

    body.rf .shot-stage .video-settings-row .generate-btn-with-price .video-generate-btn {
      flex: 1;
      justify-content: center;
      height: 32px;
      min-height: 32px;
    }
  }

  @container video-settings (max-width: 330px) {
    body.rf .shot-stage .video-settings-row-controls {
      flex-wrap: wrap;
    }

    body.rf .shot-stage .video-settings-row .duration-group--model {
      flex: 1 1 100%;
    }
  }
}

/* the empty frame in a small slot (narrow screens): smaller tiles, then words only in the hint */
body.rf .shot-stage .frame-slot {
  container-type: inline-size;
}

@container (max-width: 190px) {
  body.rf .shot-stage .frame-slot-empty-btns {
    gap: 5px;
    padding: 6px;
  }

  body.rf .shot-stage .frame-slot-hint-text {
    font-size: 11px;
  }

  body.rf .shot-stage .frame-slot-btn-row {
    gap: 5px;
  }

  body.rf .shot-stage .frame-slot-empty-btn,
  body.rf .shot-stage .frame-slot-empty-btn--ai {
    width: 46px;
    padding: 5px 0 4px;
    border-radius: 9px;
    font-size: 9.5px;
  }

  body.rf .shot-stage .frame-slot-empty-btn .frame-slot-empty-btn-ico .ui-icon,
  body.rf .shot-stage .frame-slot-empty-btn .frame-slot-empty-btn-ico .ui-icon svg {
    width: 14px;
    height: 14px;
  }
}

@container (max-width: 140px) {
  body.rf .shot-stage .frame-slot-hint-text {
    display: none;
  }

  body.rf .shot-stage .frame-slot-empty-btn-label {
    display: none;
  }

  body.rf .shot-stage .frame-slot-empty-btn,
  body.rf .shot-stage .frame-slot-empty-btn--ai {
    width: 34px;
    height: 30px;
    padding: 0;
  }
}

/* ── the videos column: today's cards, soft ─────────────────────────────── */
body.rf .videos-panel .shot-editor-exclude,
body.rf .videos-panel .shot-editor-exclude--compact {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--rf-grey);
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-2);
}

body.rf .videos-panel .shot-editor-exclude.is-checked {
  border: 0;
  background: var(--rf-grey);
  color: var(--text);
}

/* «לא להציג קטע זה בעורך» as a switch at the line's end */
body.rf .videos-panel .shot-editor-exclude input {
  order: 2;
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 30px;
  height: 18px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background:
    radial-gradient(circle at calc(100% - 9px) 50%, var(--text-on-accent) 6px, transparent 6.5px),
    color-mix(in srgb, var(--text) 18%, transparent);
  transition: background 0.15s;
}

body.rf .videos-panel .shot-editor-exclude input:checked {
  background:
    radial-gradient(circle at 9px 50%, var(--text-on-accent) 6px, transparent 6.5px),
    var(--accent);
}

body.rf .videos-panel .shot-editor-exclude input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.rf .videos-panel .panel-list {
  gap: 10px;
  margin-top: 10px;
}

/* the other versions: white with a hairline; the one the editor plays: on
   the grey, «בעורך» says the rest (the user, 11-10: swap the two looks — the
   chosen one had been the white one) */
body.rf .videos-panel .panel-video-item {
  margin: 0;
  padding: 6px;
  border: 0;
  border-radius: 14px;
  background: var(--rf-card);
  box-shadow: inset 0 0 0 1px var(--rf-line-2);
}

body.rf .videos-panel .panel-video-item:hover {
  border: 0;
  background: color-mix(in srgb, var(--rf-grey) 45%, var(--rf-card));
}

body.rf .videos-panel .panel-video-item.is-active,
body.rf .videos-panel .panel-video-item.is-active:hover {
  border: 0;
  background: var(--rf-grey);
  box-shadow: none;
}

body.rf .videos-panel .panel-video-thumb {
  border-radius: 10px;
}

/* said in words in the card now («בעורך»), not stamped on the picture */
body.rf .videos-panel .panel-video-item.is-active .panel-video-thumb::after {
  content: none;
}

body.rf .videos-panel .panel-video-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 1px;
  padding: 9px 6px 3px;
}

body.rf .videos-panel .panel-video-meta > * {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

body.rf .videos-panel .panel-video-meta > .panel-video-name-row {
  justify-self: stretch;
}

body.rf .videos-panel .panel-video-meta > .panel-video-editor-chip,
body.rf .videos-panel .panel-video-meta > .panel-video-use-btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

body.rf .videos-panel .panel-video-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

body.rf .videos-panel .panel-video-model-badge {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}

body.rf .videos-panel .panel-video-stale-badge {
  color: var(--text-2);
  font-weight: 600;
}

body.rf .videos-panel .panel-video-editor-chip {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.rf .videos-panel .panel-video-use-btn {
  padding: 2px 6px;
  margin-inline-end: -2px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

body.rf .videos-panel .panel-video-use-btn:hover {
  background: var(--accent-soft);
}

body.rf .videos-panel .panel-video-use-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
