/* ==========================================================================
   video1.seentra.ru — общие стили
   Один файл на весь сайт: публичные страницы, страница записи, служебная часть.
   ========================================================================== */

/* ---------- Токены ---------- */
:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --ink: #29262f;
  --ink-soft: #55515d;
  --muted: #6a6570;
  --line: #e5e5ea;
  --line-strong: #d3d0d9;

  --accent: #5b4d87;
  --accent-hover: #493b75;
  --accent-soft: #f3effb;
  --accent-ink: #ffffff;
  --action: #fe9a00;
  --action-hover: #e88900;
  --action-soft: #fef6e6;

  --ok: #1d7a4d;
  --ok-soft: #e6f4ec;
  --warn: #9a5b00;
  --warn-soft: #fdf1de;
  --danger: #b42318;
  --danger-soft: #fdecea;

  --radius: 18px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(41, 38, 47, .06);
  --shadow-hover: 0 8px 30px rgba(41, 38, 47, .12);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1040px;
  --wrap-text: 760px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Каркас ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }

.page { padding: clamp(16px, 3vw, 32px) 0 clamp(32px, 6vw, 64px); }

/* Тонкая шапка — только главная и лендинги */
.site-header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--action) 0 36%, #a89ec9 72%, var(--accent));
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-top: 4px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.site-header__brand:hover { color: var(--accent); }
.site-header__brand strong,
.site-header__brand small { display: block; }
.site-header__brand strong { font-size: 15px; line-height: 1.25; }
.site-header__brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.site-header__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--action);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset -9px 0 0 rgba(91, 77, 135, .25);
}
.site-header__format {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ---------- Общие элементы ---------- */
.page-title {
  font-size: clamp(28px, 2vw + 20px, 40px);
  letter-spacing: -.025em;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 15px;
}
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta__item svg { flex: none; width: 16px; height: 16px; }

.price {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--action);
  color: var(--accent-ink);
  font: 600 17px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--action-hover); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }

.btn--small {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 14px;
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }

/* ==========================================================================
   Главная
   ========================================================================== */
.home-hero {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 42px);
  padding-left: 22px;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 0;
  width: 5px;
  border-radius: 99px;
  background: linear-gradient(var(--action), #a89ec9);
}
.home-hero .eyebrow { margin-bottom: 8px; }
.home-hero__text {
  max-width: 680px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: clamp(16px, .5vw + 15px, 19px);
}

.seminar-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .seminar-list { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.seminar-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--action);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.seminar-card:hover {
  color: inherit;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.seminar-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}
.seminar-card__date {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.seminar-card__online {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.seminar-card__title {
  font-size: clamp(19px, .5vw + 17px, 22px);
  line-height: 1.35;
}
.seminar-card__expert {
  display: flex;
  align-items: center;
  gap: 13px;
}
.seminar-card__photo {
  flex: none;
  width: 64px;
  height: 64px;
  border: 3px solid var(--accent-soft);
  border-radius: 50%;
  background: var(--accent-soft);
  object-fit: cover;
}
.seminar-card__lecturer {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.seminar-card__lecturer span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.seminar-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.seminar-card__more {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.seminar-card:hover .seminar-card__more { text-decoration: underline; }

/* ==========================================================================
   Лендинг
   ========================================================================== */
.landing { display: grid; gap: clamp(28px, 4vw, 44px); }

.landing__hero {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(168, 158, 201, .28), transparent 36%),
    linear-gradient(135deg, #fff 0%, var(--action-soft) 100%);
  border: 1px solid #f1e4cb;
}
.landing__hero::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  width: 120px;
  height: 120px;
  border: 22px solid rgba(254, 154, 0, .13);
  border-radius: 50%;
}
.landing__title {
  position: relative;
  z-index: 1;
  font-size: clamp(26px, 2.4vw + 16px, 40px);
  letter-spacing: -.025em;
}
.landing__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.landing__live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 3px rgba(254, 154, 0, .2);
}
.landing__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 4px;
}
.landing__when {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.section {
  padding: clamp(20px, 3.5vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section__label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section__title {
  margin-bottom: 20px;
  font-size: clamp(22px, 1vw + 18px, 28px);
}

.lecturer__name {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}
.lecturer__bio { color: var(--ink-soft); }
.lecturer {
  display: grid;
  grid-template-columns: 144px 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 30px);
  background: linear-gradient(135deg, var(--surface), var(--accent-soft));
}
.lecturer__photo {
  width: 144px;
  height: 144px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--accent-soft);
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(91, 77, 135, .16);
}

/* Программа: нумерованный верхний уровень, маркированные вложенные */
.program,
.program ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.program { counter-reset: program; display: grid; gap: 22px; }

.program > li {
  counter-increment: program;
  position: relative;
  padding-left: 48px;
}
.program > li::before {
  content: counter(program);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--action-soft);
  color: #a85300;
  font-size: 15px;
  font-weight: 700;
}
.program__head { font-weight: 700; }
.program__text { color: var(--ink-soft); }

.program ul { display: grid; gap: 8px; margin-top: 10px; }
.program ul li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}
.program ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.program ul ul li::before {
  width: 8px; height: 2px;
  border-radius: 0;
  top: .8em;
}

.landing__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.landing__price-label { color: var(--muted); font-size: 15px; }
.landing__price .price { font-size: clamp(26px, 2vw + 18px, 34px); }

.cta {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: clamp(28px, 5vw, 48px) var(--gutter);
  text-align: center;
  background:
    radial-gradient(circle at 100% 0, rgba(254, 154, 0, .2), transparent 36%),
    var(--accent);
  color: #fff;
  border-radius: var(--radius);
}
.cta__lead { font-size: 18px; color: rgba(255, 255, 255, .75); }
.cta__title { font-size: clamp(24px, 1.5vw + 18px, 32px); margin-bottom: 18px; }
.cta .btn { background: var(--action); color: #fff; }
.cta .btn:hover { background: var(--action-hover); color: #fff; }

@media (max-width: 480px) {
  .cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .site-header__format { display: none; }
  .lecturer { grid-template-columns: 1fr; }
  .lecturer__photo { width: 112px; height: 112px; }
}

/* ==========================================================================
   Страница записи
   ========================================================================== */
.record {
  display: grid;
  gap: clamp(10px, 1.5vw, 16px);
}
.record__title {
  font-size: clamp(22px, 1.8vw + 16px, 34px);
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d1220;
  box-shadow: var(--shadow);
}
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Старые браузеры без aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .player { height: 0; padding-top: 56.25%; }
}
.materials {
  position: relative;
  display: flex;
  justify-content: flex-start;
}
.materials__menu { position: relative; }
.materials__trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--accent);
  font: 600 15px/1.3 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.materials__trigger:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.materials__trigger::-webkit-details-marker { display: none; }
.materials__trigger::marker { content: ""; }
.materials__trigger svg { flex: none; width: 20px; height: 20px; }
.materials__trigger .materials__chevron {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  transition: transform .15s ease;
}
.materials__menu[open] .materials__chevron { transform: rotate(180deg); }
.materials__list {
  position: absolute;
  z-index: 2;
  top: calc(100% + 6px);
  left: 0;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-hover);
}
.materials__list a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.materials__list a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.materials__list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.unavailable {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: clamp(40px, 8vw, 80px) var(--gutter);
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.unavailable__title { font-size: clamp(22px, 1.5vw + 16px, 30px); }
.unavailable__icon { width: 44px; height: 44px; color: var(--muted); }

/* Рекламный блок: одна ссылка целиком, под плеером, без давления */
.promo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 0;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--action);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, opacity .3s ease;
}
.promo:hover {
  color: inherit;
  border-color: var(--line-strong);
  border-left-color: var(--action-hover);
  box-shadow: var(--shadow-hover);
}
.promo__photo {
  width: 96px;
  height: 96px;
  border: 4px solid var(--accent-soft);
  border-radius: 50%;
  background: var(--accent-soft);
  object-fit: cover;
}
.promo__eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo__title {
  font-size: clamp(18px, .6vw + 15px, 21px);
  line-height: 1.35;
}
.promo__note { color: var(--ink-soft); font-size: 15px; }
.promo__aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.promo__price { font-size: 20px; }
.promo__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color .2s ease, color .2s ease;
}
.promo__arrow svg { width: 20px; height: 20px; }
.promo:hover .promo__arrow { background: var(--accent); color: #fff; }

@media (min-width: 760px) {
  .promo {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
  }
  .promo__main { display: grid; gap: 8px; }
  .promo__aside {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }
}
@media (max-width: 759px) {
  .promo__main { display: grid; gap: 8px; }
  .promo__aside {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 480px) {
  .promo { grid-template-columns: 64px 1fr; }
  .promo__photo { width: 64px; height: 64px; }
  .promo .meta__item:last-child { display: none; }
}

/* Смена семинара в блоке: JS ставит класс на 300 мс */
.promo.is-swapping { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .promo, .seminar-card, .btn { transition: none; }
  .seminar-card:hover { transform: none; }
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: var(--gutter);
}
.not-found__code {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--line-strong);
}
.not-found__title { font-size: 24px; }
.not-found__text { color: var(--muted); }

/* ==========================================================================
   Служебная часть
   ========================================================================== */
.staff-body { background: #eef1f5; }

.staff-header {
  background: var(--ink);
  color: #fff;
}
.staff-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.staff-header__brand { font-weight: 700; margin-right: auto; }
.staff-header__brand small {
  margin-left: 8px;
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
  font-size: 13px;
}
.staff-nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.staff-nav a,
.staff-nav button {
  display: block;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: rgba(255, 255, 255, .8);
  font: 500 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.staff-nav a:hover,
.staff-nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.staff-nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }
.staff-nav form { margin: 0; }

.staff-page { padding: 28px 0 56px; display: grid; gap: 24px; }
.staff-page__title { font-size: 26px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.panel__title { font-size: 18px; }
.panel__hint { color: var(--muted); font-size: 14px; }
.panel__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.sync-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.sync-status strong { color: var(--ink); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th,
.data-table td {
  padding: 12px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: #f8f9fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafbfd; }
.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.data-table .zero { color: var(--line-strong); }
.data-table tfoot td,
.data-table tfoot th {
  background: #f8f9fb;
  font-weight: 700;
  border-top: 1px solid var(--line-strong);
  border-bottom: 0;
}
.data-table--matrix th[scope="row"] { font-weight: 500; min-width: 220px; }
.data-table--matrix thead th.num { white-space: normal; min-width: 110px; }

.path {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f3f7;
  font: 14px/1.5 var(--mono);
  word-break: break-all;
}
.path-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.id { font: 13px/1.5 var(--mono); color: var(--muted); word-break: break-all; }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--type { background: #f1f3f7; color: var(--ink-soft); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }

/* Вход */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.login__card {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login__title { font-size: 22px; margin-bottom: 4px; }
.login__sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.login__error {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 15px;
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 var(--font);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login .btn { width: 100%; margin-top: 8px; border-radius: var(--radius-sm); }

@media (max-width: 640px) {
  .data-table th,
  .data-table td { padding: 10px 14px; }
  .panel__head, .sync-status { padding-left: 14px; padding-right: 14px; }
}
