/* «Выпуск из папки» (03.11.2026): окно выпуска и полоса мастера.
   Оформление 13.11.2026 — карточки в стиле панели: источник (направление, рубрика, ссылка),
   задание, пакет постов строками с миниатюрой, карточка поста с файлами и текстом. */

.folder-release {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* ---- Карточка-блок окна ---- */
.folder-release-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--surface);
}

.folder-release-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.folder-release-card-head > b {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

/* Все разделы пакета раскрываются одинаково; после чтения открыты только посты. */
details.folder-release-disclosure {
  display: block;
}
.folder-release-disclosure > summary {
  cursor: pointer;
  list-style: none;
  min-height: 24px;
}
.folder-release-disclosure > summary::before {
  flex: 0 0 auto;
  margin-inline-end: 0;
}
.folder-release-disclosure[open] > :not(summary) {
  margin-top: 12px;
}
.folder-release-disclosure > summary > .field-hint {
  overflow-wrap: anywhere;
}
.folder-release-task-group > strong {
  font-size: 13px;
}
.folder-release-task-group .folder-release-lines {
  margin-top: 6px;
}
.folder-release-text-preview {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.folder-release-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Источник: направление, рубрика, ссылка ---- */
.folder-release-source {
  gap: 12px;
}

.folder-release-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.folder-release-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.folder-release-field .select {
  width: 100%;
}

.folder-release-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.folder-release-input .input {
  flex: 1;
  min-width: 0;
}

.folder-release-input .btn {
  flex: 0 0 auto;
}

/* Памятка «Как подготовить папку»: три колонки с образцами — файлы, текстовки, задание. */
.folder-release-howto > summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.folder-release-howto[open] > summary {
  margin-bottom: 10px;
}

.folder-release-howto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.folder-release-howto-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.folder-release-howto-grid b {
  font-size: 12.5px;
}

.folder-release-howto-grid pre {
  flex: 1 1 auto;
  margin: 2px 0 0;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---- Плашки: предположение о рубрике, предупреждения, «пересчитайте» ---- */
.folder-release-callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.folder-release-callout.is-guess {
  background: var(--notice-violet-bg);
  border-color: var(--notice-violet-border);
}

.folder-release-callout.is-ok {
  background: var(--notice-green-bg);
  border-color: var(--notice-green-border);
}

.folder-release-callout.is-warn {
  background: var(--amber-soft);
  border-color: color-mix(in srgb, var(--amber) 32%, transparent);
}

.folder-release-callout-text {
  font-weight: 600;
}

.folder-release-callout-sub {
  font-size: 12px;
  color: var(--ink-3);
}

.folder-release-callout-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.folder-release-callout ul {
  margin: 2px 0 0;
  padding-left: 18px;
}

.folder-release-warnlist {
  padding-left: 30px;
}

/* Значок «i» с подсказкой при наведении — вместо строки пояснения под заголовком. */
.folder-release-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.folder-release-info:hover,
.folder-release-info:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

/* ---- Недавние папки и «эту папку уже выпускали» ---- */
.folder-release-recent,
.folder-release-posts {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--surface);
}

.folder-release-existing {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.folder-release-existing > .folder-release-callout-text {
  flex: 1 1 260px;
  min-width: 0;
}

.folder-release-existing-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.folder-release-recent-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  min-width: 0;
}

.folder-release-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-ink, var(--ink));
  white-space: nowrap;
}

.folder-release-status.is-posted {
  background: var(--green-soft, #e7f6ec);
  color: var(--green-ink, #1f7a3d);
}

.folder-release-status.is-archived {
  background: var(--surface-2);
  color: var(--ink-3);
}

/* Площадки и задача поста из задания папки (04.11.2026). */
.folder-release-targets {
  font-size: 12px;
  color: var(--accent-ink, var(--ink-2));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.folder-release-note {
  font-size: 12px;
  color: var(--amber-text, #9a5b00);
  white-space: nowrap;
  cursor: help;
}

/* Отметка на самой папке Диска (04.11.2026): подробности — в title. */
.folder-release-recent-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
}

.folder-release-mark {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  cursor: help;
}

.folder-release-mark.is-problem {
  color: var(--amber-text, #9a5b00);
  font-weight: 600;
}

/* ---- Задание ---- */
.folder-release-lines {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.folder-release-manual {
  margin: 0;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: var(--amber-soft);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.folder-release-manual ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.folder-release-task-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 12.5px;
  line-height: 1.5;
  background: var(--surface-2);
  border-radius: var(--r-sm, 6px);
  padding: 10px 12px;
  margin: 0;
  max-height: 260px;
  overflow: auto;
}

/* ---- Прежний путь без рубрик: тип выпуска, шаблон, строки серии ---- */
.folder-release-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
}

.folder-release-when {
  display: flex;
  gap: 8px;
}

.folder-release-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  min-width: 0;
  flex-wrap: wrap;
}

.folder-release-row:first-of-type {
  border-top: none;
}

.folder-release-row.is-skipped {
  opacity: 0.5;
}

.folder-release-row .input.sm {
  width: 190px;
}

.folder-release-title {
  min-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-release-when-label {
  font-weight: 600;
  white-space: nowrap;
}

.series-role.is-main {
  background: var(--accent-soft);
  color: var(--accent-ink, var(--ink));
}

/* ---- Пакет задания: секции шаблонов и строки постов ---- */
.folder-release-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink-3);
}

/* Посты пакета — секциями по шаблонам: шаблон заголовком с галочкой, его посты под ним. */
.folder-release-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.folder-release-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.folder-release-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 2px;
}

.folder-release-group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

.folder-release-group-title > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-release-group-title input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.folder-release-group.is-off .folder-release-group-title > span {
  color: var(--ink-3);
}

.folder-release-idle {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

.folder-release-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.folder-release-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  transition: background .12s ease;
}

.folder-release-item:first-child {
  border-top: none;
}

.folder-release-item:hover {
  background: var(--surface-2);
}

.folder-release-item > input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.folder-release-item.is-off .folder-release-item-open {
  opacity: .5;
}

.folder-release-item-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.folder-release-item-open:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: -2px;
  border-radius: var(--r-sm);
}

.folder-release-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.folder-release-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.folder-release-item-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 12px;
  color: var(--ink-3);
}

.folder-release-item-meta > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.folder-release-item-meta > .series-role {
  margin-right: 8px;
}

.folder-release-item-meta > span + span::before {
  content: "·";
  margin: 0 6px;
  color: var(--ink-4);
}

.folder-release-item-meta > .folder-release-item-template {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-2);
}

/* Где выйдет пост — следом за составом медиа; длинный список площадок обрезается. */
.folder-release-item-meta > .folder-release-item-where {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-4);
}

.folder-release-item-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.folder-release-item-when {
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
}

.folder-release-item-when.is-missing {
  font-weight: 500;
  color: var(--ink-4);
}

.folder-release-item-chev {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--ink-4);
}

.folder-release-item-open:hover .folder-release-item-chev {
  color: var(--accent);
}

.folder-release-packet.is-busy .folder-release-groups {
  opacity: .5;
  pointer-events: none;
}

/* Миниатюра файла: кадр с Диска, под ним — значок вида (виден, пока кадра нет или он не открылся). */
.folder-release-thumb {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 40px;
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--ink-4);
  overflow: hidden;
}

.folder-release-thumb.is-large {
  width: 116px;
  height: 74px;
  border-radius: var(--r-sm);
}

.folder-release-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.folder-release-thumb-kind {
  display: inline-flex;
}

/* Миниатюра-кнопка: открывает файл крупно прямо в окне. */
.folder-release-zoom-open {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: zoom-in;
}

.folder-release-zoom-open:hover .folder-release-thumb,
.folder-release-zoom-open:focus-visible .folder-release-thumb {
  box-shadow: 0 0 0 2px var(--accent-ring);
}

.folder-release-zoom-open:focus-visible {
  outline: none;
}

.folder-release-zoom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.folder-release-zoom img {
  max-width: 100%;
  max-height: 68vh;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  object-fit: contain;
}

/* ---- Карточка поста пакета ---- */
.folder-release-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.folder-release-facts {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
  font-size: 13px;
}

.folder-release-facts dt {
  color: var(--ink-3);
}

.folder-release-facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

/* Откуда взялось время поста: «из задания», «по правилу шаблона…». */
.folder-release-basis {
  color: var(--ink-3);
}

.folder-release-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.folder-release-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  white-space: normal;
}

.folder-release-target-icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.folder-release-target-chip > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.folder-release-text-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.folder-release-text-tabs > button {
  padding: 9px 10px;
  min-width: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.folder-release-text-tabs.has-proposal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.folder-release-text-tabs > button[aria-selected="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--sh-sm);
  font-weight: 600;
}

.folder-release-text-tabs > button:disabled {
  cursor: default;
  opacity: .5;
}

.folder-release-text-tabs > button:disabled[aria-selected="true"] {
  opacity: 1;
}

.folder-release-text-choice {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
}

.folder-release-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.folder-release-section-title > b {
  font-size: 13.5px;
  font-weight: 650;
}

.folder-release-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.folder-release-file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.folder-release-file-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.folder-release-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.folder-release-file-link {
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.folder-release-file-link:hover {
  text-decoration: underline;
}

.folder-release-text {
  width: 100%;
  min-height: 170px;
  max-height: 380px;
  font-size: 13.5px;
}

.folder-release-why > summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.folder-release-why > p {
  margin-top: 6px;
}

/* Кнопка возврата к пакету, пока открыт мастер одного из его постов. */
.folder-release-return {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 85;
  box-shadow: var(--sh-md);
}

/* ---- Полоса мастера ---- */
.folder-release-banner {
  margin: 0 36px 14px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--accent-soft);
  font-size: 13px;
  line-height: 1.5;
}

.folder-release-banner > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.folder-release-banner > summary::before {
  margin: 0 2px 2px 3px;
}

.folder-release-banner[open] > summary {
  margin-bottom: 8px;
}

.folder-release-banner .folder-release-manual {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .folder-release-grid,
  .folder-release-context,
  .folder-release-howto-grid,
  .folder-release-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .folder-release-facts dt {
    margin-top: 4px;
  }

  .folder-release-input {
    flex-direction: column;
    align-items: stretch;
  }

  .folder-release-item-side {
    display: none;
  }

  .folder-release-banner {
    margin: 0 16px 12px;
  }

  .folder-release-return {
    right: 16px;
    bottom: 76px;
  }
}

.folder-release-conflict {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: var(--r-sm, 6px);
  background: var(--amber-soft, var(--surface-2));
  font-size: 12.5px;
}

.folder-release-pool {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--r-sm, 6px);
  background: var(--amber-soft, var(--surface-2));
  font-size: 12.5px;
}

.folder-release-replace {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 600;
}

.folder-release-warn {
  color: var(--amber-text, #9a5b00);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Текст поста пакета «как в Telegram» (16.11.2026): пузырь канала с шапкой, эмодзи и кадром файла;
   при правке — редактор с каталогом эмодзи слева и живой предпросмотр справа. */
.folder-release-tg {
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-height: 620px;
  overflow: auto;
  min-width: 0;
}
.folder-release-tg-media {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-3);
}
.folder-release-text-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.folder-release-text-editor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
@media (max-width: 760px) {
  .folder-release-text-edit { grid-template-columns: minmax(0, 1fr); }
}

/* Карточка поста пакета (16.11.2026): площадки — кнопки предпросмотра, файлы свёрнуты, текст одним блоком. */
.folder-release-target-chip.is-button {
  cursor: pointer;
  border: 1px solid transparent;
  font: inherit;
  font-size: 12px;
}
.folder-release-target-chip.is-button:hover { border-color: var(--line-strong); }
.folder-release-target-chip.is-button.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
}
.folder-release-section-toggle {
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.folder-release-text-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.folder-release-text-group > .folder-release-section-title { margin-top: 0; }
.folder-release-preview-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.folder-release-preview-caption {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.folder-release-preview-caption .field-hint { font-weight: 400; }
.folder-release-platform-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-height: 620px;
  overflow: auto;
  min-width: 0;
}
.folder-release-platform-preview > .field-hint { align-self: stretch; margin: 0; }

/* Правка медиа постов пакета (вечер 16.11.2026): плашки файлов, перетаскивание между постами. */
.folder-release-media-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.folder-release-media-copy { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.folder-release-media-palette { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border: 1px dashed var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.folder-release-media-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px 8px 38px; border-top: 1px dashed var(--line); background: var(--surface); min-height: 40px; }
.folder-release-media-strip.is-frozen { opacity: .7; }
.folder-release-media-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 2px 6px 2px 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; cursor: grab; }
.folder-release-media-chip[draggable="false"] { cursor: default; }
.folder-release-media-chip .folder-release-thumb { width: 24px; height: 24px; flex: 0 0 auto; }
.folder-release-media-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.folder-release-media-chip-remove { border: 0; background: none; color: var(--ink-4); cursor: pointer; padding: 0 2px; font-size: 14px; line-height: 1; }
.folder-release-media-chip-remove:hover { color: var(--red); }
.folder-release-media-add { width: auto; max-width: 200px; height: 28px; font-size: 12px; }

.folder-review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-block: 8px;
}
.folder-review-actions label { display: grid; gap: 4px; }
.folder-review-actions input, .folder-review-actions select { max-width: 100%; }
@media (max-width: 540px) {
  .folder-review-actions { align-items: stretch; }
  .folder-review-actions label { flex: 1 1 150px; min-width: 0; }
}
