/* Стили экрана «⚙ Настройки» (Э14, этап 1, задача 2.9): строки разделов, переключатели
   в положительной формулировке. Здесь же шторка «Написать нам» (её переключатель —
   тот же .tgl) и тексты приглашения #/join. Между блоками — не меньше 8px (ворота №5). */
[data-screen="settings"] h1 { margin: 4px 0 12px; }
[data-screen="settings"] .sec-t { margin: 16px 0 8px; }
[data-screen="settings"] .muted.small { margin: 8px 0 0; font-size: 14px; }
[data-screen="settings"] .entry { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06); cursor: pointer; }
[data-screen="settings"] .entry .small { margin: 2px 0 0; font-size: 13px; }
[data-screen="settings"] .entry .chev { color: var(--hint); font-size: 22px; }
[data-screen="settings"] .chips.wrap + .muted.small { margin-top: 12px; }

/* переключатель (switch.js): кнопка role=switch во всю строку — подпись слева, «рычажок» справа */
.tgl { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 0;
  border: 0; border-bottom: 1px solid rgba(0, 0, 0, .06); background: none; color: inherit; font: inherit;
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tgl .knob { flex: none; position: relative; width: 44px; height: 24px; border-radius: 12px;
  background: color-mix(in srgb, var(--hint) 45%, transparent); transition: background .15s; }
.tgl .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.tgl[aria-checked="true"] .knob { background: var(--btn); }
.tgl[aria-checked="true"] .knob::after { transform: translateX(20px); }
.tgl:disabled { opacity: .5; cursor: default; }

/* шторка «Написать нам» */
.sheet-wrap[data-sheet="fb"] .fb-q { margin: 0 0 8px; }
.sheet-wrap[data-sheet="fb"] .tgl { margin-top: 8px; }
.sheet-wrap[data-sheet="fb"] .fb-prev:empty { display: none; }
.sheet-wrap[data-sheet="fb"] .fb-prev { margin-top: 8px; }
.sheet-wrap[data-sheet="fb"] .fb-prev img { display: block; max-height: 160px; max-width: 100%; border-radius: 8px; }
.sheet-wrap[data-sheet="fb"] .btn.primary { margin-top: 12px; }

/* приглашение #/join: «✓ Вы в …», вопрос о днях */
.join-tail [hidden] { display: none !important; }
.join-tail .join-ok { margin: 12px 0 0; font-weight: 600; }
.join-tail .join-q { margin: 16px 0 8px; }
.join-tail .join-days { margin-top: 8px; }
.join-tail > .btn + .btn { margin-top: 8px; }
