/* ==========================================================================
   Асана — студия йоги в Екатеринбурге
   Палитра (тёмный тёплый фон, акцент-шафран), mobile-first, WCAG AA.
   ========================================================================== */

/* --- Шрифты: font-display optional, чтобы не было поздней подмены и прыжка вёрстки --- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+206F,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/static/fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/static/fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+206F,U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/static/fonts/playfair-display-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/static/fonts/playfair-display-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/fonts/playfair-display-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/static/fonts/playfair-display-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/static/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+206F,U+FFFD;
}

/* --- Токены --- */
:root {
  --bg-page: #1b1714;
  --bg-card: #262019;
  --bg-card-2: #2c2520;
  --bg-deep: #16130f;
  --accent: #e0a458;
  --accent-hover: #c98d3e;
  --accent-ink: #1b1714;
  --brand: #b88a6b;
  --text-primary: #f3ede5;
  --text-muted: #c2b8ab;
  --border: rgba(224, 164, 88, 0.16);
  --border-strong: rgba(224, 164, 88, 0.34);
  --font-body: "Manrope", Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
  --radius: 0.85rem;
  --container: 72rem;
  --focus: 3px solid var(--accent);
}

/* --- Сброс и база --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--text-primary); }
p { margin: 0 0 1em; line-height: 1.55; max-width: 72ch; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: var(--focus); outline-offset: 2px; border-radius: 4px; }

.svg-sprite { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Иконки --- */
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* --- Кнопка CTA --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(224, 164, 88, 0.22);
  animation: btn-breathe 3.2s ease-in-out infinite;
}
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 6px 20px rgba(224, 164, 88, 0.22); }
  50% { box-shadow: 0 6px 32px rgba(224, 164, 88, 0.42); }
}
.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(224, 164, 88, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

/* --- Шапка --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 23, 20, 0.92);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 1.9rem; height: 1.9rem; color: var(--accent); }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-muted);
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--text-primary); text-decoration: none; }
.nav a.active { color: var(--accent); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(224, 164, 88, 0.16), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(184, 138, 107, 0.14), transparent 50%),
    var(--bg-page);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4rem; }
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-size: clamp(3.4rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  color: var(--text-primary);
}
.hero-tagline {
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-cta { margin-bottom: 1.4rem; }
.hero-hours {
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin: 0;
}
.hero-visual {
  position: absolute;
  right: -4rem;
  bottom: -2rem;
  width: min(50vw, 620px);
  height: auto;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius);
}

/* --- Секции --- */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.section-lead {
  color: var(--text-muted);
  max-width: 44rem;
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
}

/* --- Страницы (внутренние) --- */
.page { padding: 3rem 0 4.5rem; }
.page-header { margin-bottom: 2.5rem; }
.page-title {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.page-lead { color: var(--text-muted); max-width: 40rem; font-size: 1.05rem; }
.page-body { padding-bottom: 1rem; }

/* --- Расписание --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.schedule-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.schedule-table tbody { display: block; }

.schedule-day-heading th {
  display: block;
  width: 100%;
  padding: 0.6rem 1.25rem;
  margin-top: 1.6rem;
  border-left: 3px solid var(--brand);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  text-align: left;
}
.schedule-table tbody tr:first-child th { margin-top: 0; }

.period-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1.4;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.schedule-row {
  display: block;
  position: relative;
  padding: 1rem 1.25rem;
  margin: 0.6rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}
.schedule-row.period-evening { border-left-color: #7a5c9e; }
.schedule-row.period-weekend { border-left-color: var(--accent); }

/* Эффект «вдоха»: тонкая граница медленно наполняется акцентным цветом */
.schedule-row::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.schedule-row:hover::after,
.schedule-row:focus-within::after {
  border-color: var(--accent);
  opacity: 1;
}
.schedule-row:hover { background: var(--bg-card-2); }

.schedule-row td { display: block; padding: 0.2rem 0; }
.schedule-row td::before {
  content: attr(data-label);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.cell-time { display: flex; flex-direction: column; gap: 0.25rem; align-items: flex-start; }
.cell-time strong { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cell-time .period-tag { margin-left: 0; }
.cell-name { font-weight: 600; font-size: 1.05rem; }
.cell-teacher { color: var(--text-muted); font-size: 0.92rem; }
.cell-duration {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.schedule-dayoff {
  display: block;
  padding: 1.25rem;
  margin: 0.6rem 0;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.schedule-dayoff td { display: block; color: var(--text-muted); font-style: italic; }

/* --- Цены --- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.price-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.price-card--highlight {
  border: 2px solid var(--accent);
  background: linear-gradient(160deg, rgba(224, 164, 88, 0.1), var(--bg-card) 55%);
}
.price-name { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.price-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.price-card--highlight .price-value { color: var(--accent); }
.price-note { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.price-footnote {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-footnote::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* --- Преподаватели --- */
.teacher-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.teacher-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.teacher-photo {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(224, 164, 88, 0.3), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(184, 138, 107, 0.35), transparent 55%),
    var(--bg-card-2);
}
.teacher-initials {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 4rem;
  color: var(--text-primary);
  opacity: 0.9;
  letter-spacing: 0.02em;
}
.teacher-meta { padding: 1.25rem 1.25rem 1.5rem; }
.teacher-name { font-size: 1.35rem; margin-bottom: 0.3rem; }
.teacher-tagline { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.teachers-footnote { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; font-style: italic; }

/* --- Контакты --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-card--link { color: inherit; }
.contact-card--link:hover { text-decoration: none; border-color: var(--border-strong); }
.contact-icon { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-bottom: 0.4rem; }
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.contact-value { font-weight: 600; font-size: 1.1rem; color: var(--text-primary); }
.hours-scale {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-card-2);
  overflow: hidden;
  margin-top: 0.6rem;
  position: relative;
}
.hours-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 58.3%; /* 14 из 24 часов: 7:00–21:00 */
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
}
.lead-form-panel {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lead-form-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.lead-form-note { color: var(--text-muted); margin: 0 0 1.25rem; font-size: 0.95rem; }
.lead-form { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.lead-field { display: flex; flex-direction: column; gap: 0.3rem; width: 100%; max-width: 26rem; }
.lead-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.lead-field input {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.lead-field input:focus { outline: var(--focus); outline-offset: 0; border-color: var(--accent); }
.lead-field input::placeholder { color: var(--text-muted); opacity: 0.7; }

/* --- Подвал --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; }
.footer-tag { color: var(--text-muted); margin: 0.25rem 0 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}
.footer-link:hover { color: var(--accent); }
.footer-muted { color: var(--text-muted); }
.footer-cta { display: flex; align-items: flex-start; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Планшет и выше --- */
@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-card { flex: 0 0 46%; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1.5fr auto; align-items: start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 900px) {
  .container { padding: 0 2rem; }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; scroll-snap-type: none; }
  .teacher-card { flex: none; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }

  /* Расписание → настоящая таблица */
  .schedule-table { display: table; }
  .schedule-table thead {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    display: table-header-group;
  }
  .schedule-table thead th {
    text-align: left;
    padding: 0 1.25rem 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-strong);
  }
  .schedule-table tbody { display: table-row-group; }
  .schedule-table tr { display: table-row; }

  .schedule-day-heading th {
    display: table-cell;
    width: auto;
    padding: 1.1rem 1.25rem;
    margin-top: 0;
    border-left: 3px solid var(--brand);
    border-radius: 0;
    background: var(--bg-card);
    font-size: 1.3rem;
  }

  .schedule-row {
    display: table-row;
    position: static;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-left: none;
    border-radius: 0;
    overflow: visible;
  }
  .schedule-row::after { display: none; }
  .schedule-row:hover td { background: var(--bg-card-2); }

  .schedule-row td {
    display: table-cell;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    transition: background-color 0.2s ease;
  }
  .schedule-row td::before { display: none; }
  .schedule-row .cell-time { flex-direction: row; align-items: baseline; gap: 0.75rem; }
  .schedule-row .cell-time .period-tag { display: none; }

  .schedule-dayoff {
    display: table-row;
    padding: 0;
    margin: 0;
    border: none;
    text-align: left;
  }
  .schedule-dayoff td {
    display: table-cell;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-style: italic;
  }
}

/* --- Доступность: уважаем reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
