/* Админка платформы: единый стиль страниц входа, сводки и профиля.
   Цвета, скругления и расположение — по макету, который утвердил владелец (тёмная боковая панель #12211d, зелёный #208272,
   белые карточки со скруглением 18–22 px). Шрифт — системный (Google Fonts нельзя: CSP админки разрешает только свои файлы).
   Встроенных стилей на страницах нет — всё здесь. */

:root {
  color-scheme: light;
  --bg: #eef4f1;
  --ink: #12211d;
  --ink-2: #4d615b;
  --ink-3: #5f6e68;
  --line: #e3ebe8;
  --line-2: #d3dfdb;
  --field: #7d8f89;
  --green: #208272;
  --green-dark: #14594c;
  --green-darker: #0d3f36;
  --green-soft: rgba(32, 130, 114, 0.12);
  --dark: #12211d;
  --dark-line: #2b4640;
  --nav-active: #24403a;
  --nav-text: #b9c9c4;
  --nav-title: #e6efec;
  --accent-light: #7fd1bf;
  --red: #b3261e;
  --red-bg: #fde8e6;
  --amber: #8a4b00;
  --amber-bg: #fff3df;
  --gray-bg: #eceff1;
  --gray: #3f4a52;
  --shadow: 0 1px 2px rgba(18, 33, 29, 0.06), 0 8px 24px rgba(18, 33, 29, 0.05);
  --shadow-big: 0 1px 2px rgba(18, 33, 29, 0.06), 0 16px 40px rgba(18, 33, 29, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: var(--green-dark); }
a:hover { color: var(--green-darker); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(32, 130, 114, 0.6); outline-offset: 2px; }
.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; }
[hidden] { display: none !important; }
svg { flex: none; }

/* ── кнопки и поля ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--green);
  background: var(--green); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--field); }
.btn-secondary:hover { background: var(--bg); color: var(--ink); border-color: var(--ink-2); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-icon { min-width: 44px; width: 44px; padding: 0; background: #fff; color: var(--ink); border-color: var(--field); }
.btn-icon:hover { background: var(--bg); color: var(--ink); border-color: var(--ink-2); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; line-height: 20px; }
.field .hint { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.input {
  display: block; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 15px;
}
.input-row { display: flex; align-items: center; gap: 8px; }
.input-row .input { flex: 1 1 auto; min-width: 0; }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 20px; }
.alert svg { margin-top: 1px; }
.alert-error { background: var(--red-bg); color: var(--red); }
.alert-info { background: var(--green-soft); color: var(--green-darker); }
.alert-warn { background: var(--amber-bg); color: var(--amber); }

/* ── страница входа ── */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; align-items: stretch; }
.login-brand {
  flex: 1 1 480px; min-height: 420px; background: var(--dark); color: var(--nav-title); padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.login-main { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-mark, var(--green)); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 16px;
}
.brand-name { font-weight: 700; font-size: 18px; line-height: 24px; color: #fff; }
.login-brand h1 { font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 16px; }
.login-lead { font-size: 17px; line-height: 26px; color: #d3e0dc; margin-bottom: 28px; max-width: 520px; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 22px; color: var(--nav-title); }
.points svg { color: var(--accent-light); margin-top: 1px; }
.login-host { font-size: 13px; line-height: 18px; color: var(--nav-text); min-height: 18px; }
.login-card {
  width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-big);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.login-card h2 { font-size: 24px; line-height: 30px; font-weight: 700; }
.login-card .sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* ── оболочка: боковая панель и содержимое ── */
.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; align-items: stretch; }
.sidebar {
  flex: 1 1 280px; max-width: 280px; background: var(--dark); color: var(--nav-title); padding: 24px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar:not(.is-ready) { visibility: hidden; }           /* пока не известна роль, не мигаем чужой темой */
.sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 10px 22px; }
.sidebar .brand { gap: 10px; }
.sidebar .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
.sidebar .brand-name { font-size: 15px; line-height: 20px; }
.brand-sub { font-size: 12px; line-height: 16px; color: var(--nav-text); }
.menu-toggle { display: none; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; color: var(--nav-text);
  text-decoration: none; font-size: 15px; font-weight: 500;
}
a.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item[aria-current="page"] { background: var(--nav-active); color: #fff; font-weight: 600; }
.nav-item.is-soon { cursor: default; opacity: 0.8; }
.soon-badge {
  margin-left: auto; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--nav-text);
  font-size: 11px; line-height: 16px; font-weight: 600;
}
.sidebar-foot { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--dark-line); font-size: 13px; line-height: 18px; color: var(--nav-text); }
.sidebar-foot .who { color: var(--nav-title); font-weight: 600; font-size: 14px; }
.sidebar-foot .link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--nav-title); text-decoration: none; font-weight: 500;
  font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer;
}
.sidebar-foot .link:hover { color: #fff; text-decoration: underline; }
.sidebar-foot .links { display: flex; flex-wrap: wrap; column-gap: 16px; }

.main { flex: 999 1 560px; min-width: 0; padding: 28px 32px 40px; }
.main-inner { max-width: 1240px; margin: 0 auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.page-head h1 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.page-head .sub { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2);
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-bottom: 24px; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; margin-bottom: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink-2); font-weight: 500; }
.card-icon {
  width: 32px; height: 32px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); display: inline-flex;
  align-items: center; justify-content: center;
}
.card-empty { margin-top: 10px; font-size: 15px; line-height: 22px; color: var(--ink-3); }
.card-value { margin-top: 8px; font-size: 26px; line-height: 34px; font-weight: 700; }
.card-value a { color: var(--ink); text-decoration: none; }
.card-value a:hover { text-decoration: underline; }
.card-sub { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink-2); }
.card-title .badge { margin-left: auto; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; }
.panel h2 { font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 8px; }
.panel .sub { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.panel-empty { padding: 14px 0 6px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-3); }
.panel + .panel { margin-top: 0; }
.card + .card { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }

/* ── профиль ── */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 12px 0 0; font-size: 15px; line-height: 22px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status { font-size: 14px; line-height: 20px; color: var(--ink-2); min-height: 20px; }

.sessions { list-style: none; margin: 12px 0 0; padding: 0; }
.session {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--line);
}
.session-info { flex: 1 1 240px; min-width: 0; }
.session-title { font-weight: 600; font-size: 15px; line-height: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.session-meta { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.tag { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; background: var(--green-soft); color: var(--green-darker); }

/* ── узкие экраны ── */
@media (max-width: 900px) {
  .shell { display: block; }
  .sidebar { max-width: none; padding: 12px 14px; }
  .sidebar-head { padding: 0; }
  .menu-toggle { display: inline-flex; }
  .sidebar .nav, .sidebar .sidebar-foot { display: none; }
  .sidebar.is-open .nav { display: flex; margin-top: 12px; }
  .sidebar.is-open .sidebar-foot { display: block; margin-top: 12px; }
  .main { padding: 20px 16px 32px; }
  .login-brand { padding: 28px 24px; min-height: 0; gap: 20px; }
  .login-brand h1 { font-size: 28px; line-height: 34px; }
  .login-lead { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
  .login-main { padding: 24px 16px 32px; }
  .login-card { padding: 24px 20px; }
  .login-host { display: none; }
}
@media (max-width: 640px) {
  .points { display: none; }         /* на телефоне форма входа должна быть видна сразу, без прокрутки через три пояснения */
  .login-brand { gap: 14px; padding: 20px 20px; }
  .login-lead { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .page-head h1 { font-size: 22px; line-height: 28px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .card, .panel { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, a.nav-item, .input { transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
}

/* ── кабинет партнёра: тёмно-синяя панель вместо тёмно-зелёной (макет «Кабинет партнёра») ── */
.theme-partner {
  --dark: #1d3557;
  --dark-line: #36527c;
  --nav-active: #2c4a78;
  --nav-text: #c3d0e3;
  --nav-title: #e8eef7;
  --brand-mark: #2f6fb5;
  --accent-light: #9cc1ee;
}
.cabinet-badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: #1d3557; color: #fff;
  font-size: 13px; line-height: 18px; font-weight: 600; margin-bottom: 8px;
}

/* ── метки состояния ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.badge-ok { background: #d9f0ea; color: var(--green-dark); }
.badge-warn { background: var(--amber-bg); color: var(--amber); }
.badge-bad { background: var(--red-bg); color: var(--red); }
.badge-info { background: #e4ecfb; color: #1f4aa0; }
.badge-gray { background: var(--gray-bg); color: var(--gray); }

/* ── кнопки: опасная, ссылка-кнопка ── */
.btn-danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red-bg); color: var(--red); border-color: var(--red); }
.btn-solid-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid-danger:hover { background: #8f1e18; border-color: #8f1e18; color: #fff; }
.btn-link { background: none; border: 0; min-height: 44px; padding: 0 6px; color: var(--green-dark); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; }
.btn-link:hover { color: var(--green-darker); }
.btn-link[disabled] { opacity: 0.5; cursor: default; }
select.input { appearance: auto; padding-right: 8px; }
textarea.input { min-height: 88px; padding: 10px 14px; resize: vertical; }
.input[disabled], .input[readonly] { background: #f5f9f7; color: var(--ink-2); }

/* ── панели и таблицы ── */
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split-main { flex: 2 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-side { flex: 1 1 380px; min-width: 0; }
.panel-flush { padding: 0; overflow: hidden; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.toolbar .input { max-width: 320px; }
.toolbar select.input { max-width: 220px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); background: #f5f9f7; padding: 0 12px; min-height: 44px; height: 44px; border-bottom: 1px solid var(--line); }
.table td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.is-selected td { background: var(--green-soft); }
.table .cell-sub { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.row-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--green-dark); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.row-link:hover { color: var(--green-darker); text-decoration: underline; }
.table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; font-size: 13px; color: var(--ink-2); }
.empty-state { padding: 28px 20px; text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-3); }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px 12px; }
.side-card .kicker { font-size: 12px; line-height: 16px; color: var(--ink-3); font-weight: 600; }
.side-card h2 { font-size: 22px; line-height: 28px; font-weight: 700; margin: 0; word-break: break-word; }
.side-card .meta { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.side-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note-block { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f5f9f7; font-size: 14px; line-height: 20px; }
.note-block.is-accent { background: var(--green-soft); color: var(--green-darker); }
.note-block.is-danger { background: var(--red-bg); color: var(--red); }
.note-block .row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note-block .small { margin-top: 2px; font-size: 13px; line-height: 18px; }
.side-card h3 { margin: 18px 0 4px; font-size: 16px; line-height: 22px; font-weight: 600; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--line); }
.mini-list li > div { flex: 1 1 140px; min-width: 0; }
.mini-list .name { font-weight: 600; font-size: 14px; line-height: 20px; }
.mini-list .sub { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.side-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 4px; }

/* ── формы ── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section h3 { font-size: 15px; line-height: 22px; font-weight: 600; }
.form-section .facts + .sub { margin-top: 12px; }
.doc-text p { margin: 0 0 12px; font-size: 14px; line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.panel-wide { max-width: 980px; }
.stack-wide { display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
.panel > .form-actions { margin-top: 16px; }

/* ── пароль, показанный один раз ── */
.pw-box { background: var(--amber-bg); border: 1px solid #ecc88a; border-radius: 18px; padding: 18px 22px; color: #5c3200; }
.pw-title { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 22px; font-weight: 700; }
.pw-note { margin-top: 6px; font-size: 14px; line-height: 20px; }
.pw-rows { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 14px; font-size: 15px; line-height: 22px; }
.pw-rows dt { color: #7a4a10; }
.pw-rows dd { margin: 0; font-weight: 600; word-break: break-all; }
.pw-code { display: inline-block; padding: 4px 10px; border-radius: 10px; background: #fff; border: 1px solid #ecc88a; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: 0.02em; user-select: all; }

/* ── сотрудники ── */
.staff-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.staff-main { flex: 1 1 240px; min-width: 0; }
.staff-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 22px; }
.staff-meta { font-size: 13px; line-height: 18px; color: var(--ink-2); word-break: break-word; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.staff-edit { flex-basis: 100%; padding: 4px 0 8px; }
.confirm-box { flex-basis: 100%; padding: 12px 14px; border-radius: 14px; background: var(--red-bg); color: var(--red); font-size: 14px; line-height: 20px; }
.confirm-box .form-actions { margin-top: 10px; }

.card-soon { opacity: 0.85; }
.soon-text { margin-top: 10px; font-size: 15px; line-height: 22px; color: var(--ink-3); }

@media (max-width: 900px) {
  .toolbar { padding: 12px 16px; }
  .toolbar .input, .toolbar select.input { max-width: none; flex: 1 1 100%; }
  .side-card { padding: 16px 16px 8px; }
  .pw-box { padding: 16px; }
  .pw-rows { grid-template-columns: 1fr; gap: 2px; }
  .pw-rows dd { margin-bottom: 8px; }
}

/* ── клиенты: карточка, плашка, ссылка директору (задача 1.3) ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.page-head-tight { margin-bottom: 16px; }
.head-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.head-line h1 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.head-line .sub { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.plate {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; margin-bottom: 20px; border-radius: 18px;
  background: var(--green-soft); border: 1px solid rgba(32, 130, 114, 0.4); color: var(--green-darker); max-width: 980px;
}
.plate svg { margin-top: 1px; }
.plate-title { font-size: 16px; line-height: 22px; font-weight: 700; }
.plate-sub { font-size: 14px; line-height: 20px; margin-top: 2px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 8px; }
.link-row { margin: 12px 0 14px; }
.link-field { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: #fff; color: var(--ink); }
.confirm-neutral { background: #f5f9f7; color: var(--ink); }
.panels-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.plus-slot { display: inline-flex; }
@media (max-width: 480px) {
  .head-line h1 { font-size: 22px; line-height: 28px; }
  .plate { padding: 14px 16px; }
}
