/* Демонстрация: Швейцарский стиль. Все селекторы ограничены .dm-swiss */

.dm-swiss {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --red: #d10011;
  --line: #e6e6e6;
  --bg2: #f2f2f2;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", sans-serif;
  font-variant-numeric: tabular-nums;
}

/* ----- Общие элементы ----- */
.dm-swiss .sw-logo { font-weight: 900; font-size: 22px; line-height: .95; letter-spacing: -.03em; }
.dm-swiss .sw-logo--sm { font-size: 18px; }
.dm-swiss .sw-label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dm-swiss .sw-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 52px; padding: 0 18px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 700;
}
.dm-swiss .sw-btn i { font-style: normal; font-size: 20px; font-weight: 500; }
.dm-swiss .sw-btn--red { background: var(--red); }

/* ----- Сайт ----- */
.dm-swiss.dm--site {
  padding: 32px 40px 0;
  background-image: repeating-linear-gradient(90deg, rgba(209, 0, 17, .07) 0 1px, transparent 1px 75px, rgba(209, 0, 17, .07) 75px 76px, transparent 76px 95px);
  background-position: 40px 0;
  background-size: 1120px 100%;
  background-repeat: no-repeat;
}
.dm-swiss .sw-nav,
.dm-swiss .sw-hero,
.dm-swiss .sw-program { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.dm-swiss .sw-nav { align-items: start; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.dm-swiss .sw-nav .sw-logo { grid-column: 1 / 3; }
.dm-swiss .sw-nav__meta { grid-column: 3 / 6; font-size: 13px; line-height: 1.35; font-weight: 500; }
.dm-swiss .sw-menu { grid-column: 7 / 12; display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.dm-swiss .sw-menu li { display: flex; align-items: center; gap: 8px; }
.dm-swiss .sw-menu .is-active::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.dm-swiss .sw-nav__lang { grid-column: 12 / 13; font-size: 13px; color: var(--muted); }

.dm-swiss .sw-hero { grid-template-rows: auto auto; margin-top: 22px; }
.dm-swiss .sw-hero__index { grid-column: 1 / 2; grid-row: 1; font-size: 13px; font-weight: 700; padding-top: 22px; }
.dm-swiss .sw-hero__title {
  grid-column: 2 / 10; grid-row: 1;
  font-size: 182px; line-height: .86; font-weight: 900; letter-spacing: -.055em;
  margin-left: -10px;
}
.dm-swiss .sw-hero__block {
  grid-column: 10 / 13; grid-row: 1 / 3;
  display: flex; flex-direction: column;
  background: var(--red); color: #fff; padding: 20px 20px 22px;
}
.dm-swiss .sw-hero__dates { font-size: 76px; font-weight: 900; line-height: .9; letter-spacing: -.05em; }
.dm-swiss .sw-hero__month { font-size: 15px; font-weight: 700; margin-top: 12px; padding-top: 10px; border-top: 2px solid #fff; }
.dm-swiss .sw-hero__place { margin-top: auto; font-size: 14px; line-height: 1.35; font-weight: 500; }
.dm-swiss .sw-hero__facts { grid-column: 1 / 4; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.dm-swiss .sw-hero__facts div { border-top: 2px solid var(--ink); padding-top: 8px; }
.dm-swiss .sw-hero__facts dt { font-size: 12px; font-weight: 500; color: var(--muted); }
.dm-swiss .sw-hero__facts dd { font-size: 36px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.dm-swiss .sw-hero__lead { grid-column: 4 / 7; grid-row: 2; margin-top: 36px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.dm-swiss .sw-hero .sw-btn { grid-column: 7 / 10; grid-row: 2; margin-top: 36px; align-self: start; }

.dm-swiss .sw-program { margin-top: 44px; padding-top: 18px; border-top: 2px solid var(--ink); }
.dm-swiss .sw-program__index { grid-column: 1 / 2; font-size: 13px; font-weight: 700; }
.dm-swiss .sw-program__title { grid-column: 2 / 5; font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.dm-swiss .sw-day { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 16px; border-top: 1px solid var(--ink); }
.dm-swiss .sw-day b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.dm-swiss .sw-day span { font-size: 14px; line-height: 1.35; font-weight: 500; }
.dm-swiss .sw-day em { font-style: normal; font-size: 12px; color: var(--muted); }
.dm-swiss .sw-day.is-red { background: var(--red); color: #fff; border-top-color: var(--red); }
.dm-swiss .sw-day.is-red em { color: #fff; }

/* ----- Приложение ----- */
.dm-swiss.dm--app { display: flex; flex-direction: column; padding: 0 20px; }
.dm-swiss .sw-status { display: flex; justify-content: space-between; padding: 14px 8px 0; font-size: 14px; font-weight: 700; }
.dm-swiss .sw-status__icons { display: flex; gap: 4px; align-items: center; }
.dm-swiss .sw-status__icons i { width: 16px; height: 10px; background: var(--ink); }
.dm-swiss .sw-apphead { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.dm-swiss .sw-apphead__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.dm-swiss .sw-apphead__meta::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.dm-swiss .sw-today { display: grid; grid-template-columns: 210px 1fr; column-gap: 16px; align-items: end; margin-top: 14px; }
.dm-swiss .sw-today__num { font-size: 168px; font-weight: 900; line-height: .8; letter-spacing: -.07em; color: var(--red); margin-left: -8px; }
.dm-swiss .sw-today__text { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.dm-swiss .sw-today__text b { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.dm-swiss .sw-today__text span:last-child { font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.dm-swiss .sw-days { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dm-swiss .sw-days li { height: 44px; display: flex; align-items: center; padding-left: 8px; font-size: 17px; font-weight: 700; }
.dm-swiss .sw-days .is-active { background: var(--ink); color: #fff; }
.dm-swiss .sw-agenda { flex: 1; margin-top: 4px; }
.dm-swiss .sw-agenda li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dm-swiss .sw-agenda b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.dm-swiss .sw-agenda span { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.dm-swiss .sw-agenda em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
.dm-swiss .sw-agenda .is-now b,
.dm-swiss .sw-agenda .is-now em { color: var(--red); }
.dm-swiss .sw-agenda .is-now { box-shadow: inset 4px 0 0 var(--red); padding-left: 0; }
.dm-swiss .sw-agenda .is-now b { padding-left: 12px; }
.dm-swiss .sw-btn--block { margin: 12px 0 0; }
.dm-swiss .sw-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px -20px 0; padding: 12px 20px 26px; border-top: 2px solid var(--ink); font-size: 12px; font-weight: 500; }
.dm-swiss .sw-tabbar span { display: flex; flex-direction: column; gap: 6px; }
.dm-swiss .sw-tabbar span::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--ink); }
.dm-swiss .sw-tabbar .is-active { font-weight: 700; }
.dm-swiss .sw-tabbar .is-active::before { background: var(--red); border-color: var(--red); }

/* ----- Веб-платформа ----- */
.dm-swiss.dm--platform { display: grid; grid-template-columns: 220px 1fr; }
.dm-swiss .sw-side { display: flex; flex-direction: column; padding: 36px 24px 32px 32px; border-right: 2px solid var(--ink); }
.dm-swiss .sw-side__sub { margin-top: 12px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.dm-swiss .sw-side__nav { margin-top: 56px; border-top: 2px solid var(--ink); }
.dm-swiss .sw-side__nav li { display: grid; grid-template-columns: 32px 1fr; padding: 11px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
.dm-swiss .sw-side__nav i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 3px; }
.dm-swiss .sw-side__nav .is-active { font-weight: 900; color: var(--red); }
.dm-swiss .sw-side__nav .is-active i { color: var(--red); }
.dm-swiss .sw-side__user { margin-top: auto; font-size: 13px; line-height: 1.4; font-weight: 500; padding-top: 12px; border-top: 1px solid var(--ink); }

.dm-swiss .sw-main { display: flex; flex-direction: column; padding: 36px 40px 32px; }
.dm-swiss .sw-main__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: end; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.dm-swiss .sw-main__head .sw-label { grid-column: 1 / 7; grid-row: 1; }
.dm-swiss .sw-main__head h1 { grid-column: 1 / 7; grid-row: 2; font-size: 96px; font-weight: 900; line-height: .86; letter-spacing: -.055em; margin: 14px 0 0 -5px; }
.dm-swiss .sw-main__big { grid-column: 7 / 10; grid-row: 1 / 3; display: flex; flex-direction: column; }
.dm-swiss .sw-main__big b { font-size: 56px; font-weight: 900; letter-spacing: -.05em; line-height: .9; color: var(--red); }
.dm-swiss .sw-main__big span { font-size: 13px; line-height: 1.35; margin-top: 8px; font-weight: 500; }
.dm-swiss .sw-main__head .sw-btn { grid-column: 10 / 13; grid-row: 1 / 3; }

.dm-swiss .sw-kpis { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; margin-top: 24px; }
.dm-swiss .sw-kpis div { border-top: 1px solid var(--ink); padding-top: 10px; }
.dm-swiss .sw-kpis b { display: block; font-size: 42px; font-weight: 900; letter-spacing: -.045em; line-height: 1.05; margin-top: 6px; }
.dm-swiss .sw-kpis em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }

.dm-swiss .sw-grid2 { flex: 1; display: grid; grid-template-columns: 5fr 7fr; column-gap: 20px; margin-top: 32px; min-height: 0; }
.dm-swiss .sw-grid2 h2 { font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.dm-swiss .sw-chart { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 12px; }
.dm-swiss .sw-bars { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; margin-top: 20px; border-bottom: 2px solid var(--ink); }
.dm-swiss .sw-bars div { position: relative; background: var(--ink); }
.dm-swiss .sw-bars div.is-red { background: var(--red); }
.dm-swiss .sw-bars span { position: absolute; top: -20px; left: 0; font-size: 12px; font-weight: 700; }
.dm-swiss .sw-bars__axis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.dm-swiss .sw-orders { border-top: 2px solid var(--ink); padding-top: 12px; }
.dm-swiss .sw-orders__head { display: flex; justify-content: space-between; align-items: baseline; }
.dm-swiss .sw-tabs { display: flex; gap: 18px; font-size: 13px; font-weight: 500; color: var(--muted); }
.dm-swiss .sw-tabs .is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.dm-swiss .sw-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.dm-swiss .sw-table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--ink); }
.dm-swiss .sw-table td { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.dm-swiss .sw-table td:first-child { font-weight: 700; width: 64px; }
.dm-swiss .sw-table .r { text-align: right; }
