/* Тема «swiss» (site.THEME = "swiss"): белое, чёрное и красный акцент, прямые углы и тонкие линии, у табло чёрная
   шапка таблицы. Подключается после style.css и меняет только вид. */
:root {
  --bg: #f4f4f2;
  --card: #ffffff;
  --text: #111111;
  --muted: #555555;
  --faint: #8a8a8a;
  --line: #dcdcdc;
  --line-2: #ebebeb;
  --brand: #c8102e;
  --brand-ink: #ffffff;
  --brand-soft: #fbe9ec;
  --accent: #c8102e;
  --accent-soft: #fbe9ec;
  --accent-ink: #9b0c23;
  --hdr-bg: #ffffff;
  --radius: 0;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f; --card: #181818; --text: #f0f0f0; --muted: #a8a8a8; --faint: #777; --line: #2c2c2c;
    --line-2: #222; --brand: #ff4d64; --brand-ink: #111; --brand-soft: #3a1419; --accent-soft: #3a1419;
    --accent-ink: #ff9aa7; --hdr-bg: #111111;
  }
}

.theme-swiss { font-feature-settings: "tnum" 1; }
.theme-swiss h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.theme-swiss h2 { letter-spacing: -.01em; }
.theme-swiss th, .theme-swiss .kf__in span, .theme-swiss .ap__iata, .theme-swiss .mnav__h { letter-spacing: .08em; }
@media (max-width: 680px) { .theme-swiss h1 { font-size: 1.6rem; } }

/* шапка: белая, толстая чёрная линия снизу, текущий раздел подчёркнут красным */
.theme-swiss .hdr { color: var(--text); box-shadow: inset 0 -3px 0 var(--text); }
.theme-swiss .logo { color: var(--text); }
.theme-swiss .logo__mark { background: var(--brand); color: #fff; border-radius: 0; letter-spacing: .12em; }
.theme-swiss .logo__text small { opacity: 1; color: var(--muted); }
.theme-swiss .nav a, .theme-swiss .nav summary { color: var(--text); border-radius: 0; padding: 18px 10px 17px; font-weight: 600; }
.theme-swiss .nav a:hover, .theme-swiss .nav summary:hover { background: none; color: var(--brand); }
.theme-swiss .nav a[aria-current], .theme-swiss .nav summary[aria-current] { background: none; box-shadow: inset 0 -3px 0 var(--brand); color: var(--brand); }
.theme-swiss .nav__drop { border-radius: 0; border: 2px solid var(--text); box-shadow: none; }
.theme-swiss .nav__drop a { padding: 9px 12px; }
.theme-swiss .burger span, .theme-swiss .burger span::before, .theme-swiss .burger span::after { background: var(--text); }
.theme-swiss .burger[aria-expanded="true"] span { background: transparent; }
.theme-swiss .burger:hover { background: var(--line-2); }
.theme-swiss .mnav { background: var(--card); border-top: 1px solid var(--line); }
.theme-swiss .mnav a { color: var(--text); border-radius: 0; }
.theme-swiss .mnav a:hover, .theme-swiss .mnav a[aria-current] { background: var(--brand-soft); color: var(--brand); }
.theme-swiss .mnav__h { color: var(--muted); opacity: 1; }

/* блоки: рамка 1px, без теней и скруглений */
.theme-swiss .card, .theme-swiss .board, .theme-swiss .city, .theme-swiss .faq details, .theme-swiss .doc,
.theme-swiss .tile, .theme-swiss .kf__in, .theme-swiss .ways a, .theme-swiss .ap { border: 1px solid var(--line); }
.theme-swiss .card__h > .ic, .theme-swiss .kf__in .ic, .theme-swiss .ways .ic { background: none; padding: 0; width: 24px; height: 24px; color: var(--brand); }
.theme-swiss .ap { border-top: 4px solid var(--text); }
.theme-swiss .ap:hover { border-top-color: var(--brand); }
.theme-swiss .btn, .theme-swiss .chip, .theme-swiss .toc a, .theme-swiss .seg, .theme-swiss .seg button, .theme-swiss .search input,
.theme-swiss .phone--btn, .theme-swiss .fno, .theme-swiss .tag, .theme-swiss .term, .theme-swiss .switch, .theme-swiss .plist__price { border-radius: 0; }
.theme-swiss .tag { background: var(--text); color: var(--card); }
.theme-swiss .cta { background: var(--text); border-left: 8px solid var(--brand); }
.theme-swiss .cta .btn { background: var(--brand); border-color: var(--brand); color: #fff; }

/* табло: чёрная шапка таблицы, номер рейса красным */
.theme-swiss .seg { background: var(--line-2); padding: 0; gap: 0; }
.theme-swiss .seg button.is-on { background: var(--text); color: var(--card); box-shadow: none; }
.theme-swiss .seg--ev button.is-on { background: var(--brand); color: #fff; }
.theme-swiss .seg button.is-on small, .theme-swiss .seg button.is-on .seg__n { color: inherit; }
.theme-swiss .tablo th { background: var(--text); color: var(--card); border-bottom: 0; }
.theme-swiss .board__mini { box-shadow: inset 0 -2px 0 var(--text); }
.theme-swiss .wx__ic, .theme-swiss .wx__days .ic { color: var(--text); }
.theme-swiss .t-time b { font-size: 1.18rem; font-weight: 800; }
.theme-swiss .fno { background: none; color: var(--brand); font-weight: 800; padding: 0; }
.theme-swiss .tablo tbody tr:nth-child(even) td { background: #fafafa; }
.theme-swiss .tablo tr.is-next td { background: var(--brand-soft); }
.theme-swiss .tablo tr.is-next td:first-child { box-shadow: inset 5px 0 0 var(--brand); }
@media (prefers-color-scheme: dark) { .theme-swiss .tablo tbody tr:nth-child(even) td { background: #1c1c1c; } }

/* подвал — чёрный */
.theme-swiss .foot { background: #111111; color: #b5b5b5; border-top: 4px solid var(--brand); }
.theme-swiss .foot a, .theme-swiss .foot .linklike { color: #f0f0f0; }
.theme-swiss .foot__col a { color: #b5b5b5; }
.theme-swiss .foot__col a:hover { color: #fff; }
.theme-swiss .foot__h, .theme-swiss .foot__brand, .theme-swiss .foot__about b { color: #fff; }
.theme-swiss .foot__src { border-top-color: #2a2a2a; }
