/* =========================================================================
   A5 PREMIUM — дизайн-система (Чат 07).
   Свёрстано пиксель-в-пиксель по docs/design/*. Мобильный PWA-вид (iOS-like).
   Токены продублированы из shared/branding.py (рантайм без сборщика).
   Светлая тема — по умолчанию; тёмная — [data-theme="dark"] или prefers-color-scheme.
   ========================================================================= */

/* ── Токены ───────────────────────────────────────────────────────────── */
:root {
  --cream:        #F4F1EA;
  --surface:      #EAE7D9;
  --surface-alt:  #EFEBDE;
  --green:        #41544C;
  --green-press:  #374840;
  --green-splash: #40544B;
  --disabled:     #9EA59A;
  --danger:       #E1574C;
  --danger-press: #C8483E;
  --text:         #242621;
  --text-muted:   #8C8A7E;
  --on-green:     #F1E2CD;
  --divider:      #E2DDCE;

  --radius:       14px;
  --radius-lg:    22px;
  --field-h:      58px;
  --btn-h:        56px;
  --pad:          20px;               /* горизонтальные поля экрана */
  --appbar-h:     52px;
  --nav-h:        62px;
  --safe-top:     env(safe-area-inset-top, 0px);
  --safe-bottom:  env(safe-area-inset-bottom, 0px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --font-logo: Georgia, "Times New Roman", serif;

  /* Семантика статусов (отдельно от бренд-акцента) для заявок/счетов:
     охра — в работе/ожидает, зелёный — выполнено, красный — отклонено/срочно. */
  --ochre:        #B4842E;   /* «в работе», «на согласовании» */
  --ochre-soft:   #F0E6CE;   /* фон чипа охры на креме */
  --ok:           #3E7A56;   /* «выполнено» (насыщеннее бренд-зелёного для чипа) */
  --ok-soft:      #DCE8DD;
  --danger-soft:  #F6DAD5;   /* фон красного чипа */
  --neutral-soft: #E4DFD1;   /* фон нейтрального чипа «новая» */

  color-scheme: light;
}

:root[data-theme="dark"] {
  --cream:        #171B18;
  --surface:      #232A25;
  --surface-alt:  #1F2521;
  --green:        #5E7A69;
  --green-press:  #6E8C79;
  --green-splash: #40544B;
  --disabled:     #3C453E;
  --danger:       #F0776C;
  --danger-press: #E1574C;
  --text:         #F4F1EA;
  --text-muted:   #9AA096;
  --on-green:     #F1E2CD;
  --divider:      #2C332D;

  --ochre:        #D6A94E;
  --ochre-soft:   #3A3220;
  --ok:           #6FA982;
  --ok-soft:      #223026;
  --danger-soft:  #3A2622;
  --neutral-soft: #2C332D;
  color-scheme: dark;
}

/* Тема по умолчанию — СВЕТЛАЯ (бежевая), как в макетах. Тёмная тема (ТЗ:
   «поддержка тёмной темы») включается ЯВНО — тумблером/выбором пользователя
   (data-theme="dark", сохраняется в localStorage). Системная тёмная тема сама
   НЕ включается, чтобы приложение по умолчанию выглядело как присланный дизайн. */

/* ── Сброс ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ── Каркас экрана (мобильный, центрируем на широких экранах) ──────────── */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--cream);
}
.app--nav { padding-bottom: calc(var(--nav-h) + var(--safe-bottom)); }

/* ── Верхняя панель (appbar) ──────────────────────────────────────────── */
.appbar {
  height: calc(var(--appbar-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
}
.appbar__title {
  grid-column: 2;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2px;
}
.appbar__back, .appbar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: none;
  border: 0;
  color: var(--text);
  padding: 0;
}
.appbar__back svg { width: 12px; height: 22px; }
.appbar__action {
  grid-column: 3;
  font-size: 16px;
  color: var(--green);
  padding-right: 4px;
  width: auto;
  justify-self: end;
}
.appbar--green {
  background: var(--green);
  color: var(--on-green);
}
.appbar--green .appbar__back { color: var(--on-green); }

/* ── Основная область ─────────────────────────────────────────────────── */
.screen { padding: 8px var(--pad) 24px; flex: 1; }
.screen--flush { padding: 0 0 24px; }
.stack { display: flex; flex-direction: column; }

/* ── Логотип ──────────────────────────────────────────────────────────── */
.a5-logo { color: var(--green); }
.appbar--green .a5-logo, .on-green .a5-logo { color: var(--on-green); }

/* =========================================================================
   SPLASH
   ========================================================================= */
.splash {
  position: fixed;
  inset: 0;
  background: var(--green-splash);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.splash .a5-logo { color: var(--on-green); }

/* =========================================================================
   АВТОРИЗАЦИЯ (docs/design/01)
   ========================================================================= */
.auth {
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.auth__logo { margin: 46px 0 34px; }
.auth__title { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.auth__subtitle { font-size: 15px; color: var(--text-muted); margin: 0 0 30px; }
.auth__form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.auth__error {
  color: var(--danger);
  font-size: 13px;
  text-align: left;
  margin: -8px 4px 0;
}

/* ── Поле ввода с плавающим лейблом (filled) ──────────────────────────── */
.field {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  min-height: var(--field-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  transition: border-color .15s;
}
.field__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  padding: 22px 0 8px;               /* место под приподнятый лейбл */
  outline: none;
}
.field__input::placeholder { color: transparent; }
.field__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
  transition: all .15s ease;
}
/* Приподнятый лейбл, когда есть значение или фокус */
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  top: 12px;
  transform: none;
  font-size: 12px;
}
.field--filled .field__label { top: 12px; transform: none; font-size: 12px; }
.field__eye {
  background: none;
  border: 0;
  padding: 8px;
  color: var(--text-muted);
  display: inline-flex;
  flex: 0 0 auto;
}
.field__eye svg { width: 22px; height: 22px; }
.field.is-error { border-color: var(--danger); }
.field.is-focus { border-color: var(--green); }

/* ── Кнопки ───────────────────────────────────────────────────────────── */
.btn {
  height: var(--btn-h);
  border: 0;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: background .15s, opacity .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:active { background: var(--green-press); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] {
  background: var(--disabled);
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
}
.auth .btn { margin-top: 12px; }

/* =========================================================================
   ПРОФИЛЬ — шапка-карточка + меню (docs/design/02)
   ========================================================================= */
.profile-header {
  background: var(--green);
  color: var(--on-green);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 6px var(--pad) 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-header__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  flex: 0 0 auto;
}
.profile-header__text { flex: 1; min-width: 0; }
.profile-header__label { font-size: 13px; opacity: .85; }
.profile-header__name {
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-header__chev { color: var(--on-green); opacity: .9; }
.profile-header__chev svg { width: 12px; height: 20px; }

/* ── Список пунктов меню ──────────────────────────────────────────────── */
.menu { list-style: none; margin: 0; padding: 0 var(--pad); }
.menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--divider);
  font-size: 17px;
  color: var(--text);
  width: 100%;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  text-align: left;
  padding: 0;
}
.menu__item:last-child { border-bottom: 0; }
.menu__item span { flex: 1; }
svg.chev { width: 10px; height: 18px; flex: 0 0 auto; color: var(--text-muted); }
.menu__item--danger { color: var(--danger); font-weight: 500; border-bottom: 0; }

/* =========================================================================
   ЛИЧНЫЕ ДАННЫЕ (просмотр / правка)
   ========================================================================= */
.avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0 26px;
}
.avatar {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.avatar svg { width: 46px; height: 46px; color: var(--text-muted); }
.avatar-block__action { color: var(--green); font-size: 15px; background:none; border:0; }

.data-field { padding: 14px 0; border: 0; }
.data-field__label { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.data-field__value { font-size: 16px; color: var(--text); }
.data-field__value--empty { color: var(--text-muted); }

.link-danger {
  color: var(--danger);
  font-size: 17px;
  font-weight: 500;
  background: none; border: 0; padding: 18px 0; display: inline-block;
}

/* ── Форма редактирования: поля-«таблетки» ────────────────────────────── */
.edit-form { display: flex; flex-direction: column; gap: 14px; }
.edit-form .field { background: var(--surface); }

/* =========================================================================
   ПЕРЕКЛЮЧАТЕЛЬ (push-уведомления, «Настройки»)
   ========================================================================= */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  font-size: 16px;
}
.switch { position: relative; width: 52px; height: 32px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; }
.switch__track {
  position: absolute; inset: 0;
  background: var(--disabled);
  border-radius: 999px;
  transition: background .2s;
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px;
  background: #fff; border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked ~ .switch__track { background: var(--green); }
.switch input:checked ~ .switch__thumb { transform: translateX(20px); }

/* =========================================================================
   О ПРИЛОЖЕНИИ
   ========================================================================= */
.about { text-align: center; padding-top: 30px; }
.about__logo { margin: 10px 0 26px; }
.about__name { font-size: 20px; font-weight: 700; }
.about__version { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.about__docs { margin-top: 40px; text-align: left; }

/* =========================================================================
   FAQ — аккордеон
   ========================================================================= */
.accordion { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.acc {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc__head {
  width: 100%;
  background: none; border: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}
.acc__head span { flex: 1; }
.acc__head .chev-d { transition: transform .2s; color: var(--text-muted); flex:0 0 auto; }
.acc__head .chev-d svg { width: 18px; height: 18px; }
.acc.is-open .acc__head .chev-d { transform: rotate(180deg); }
.acc__body {
  display: none;
  padding: 0 16px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.acc.is-open .acc__body { display: block; }
.acc__body a { color: var(--green); text-decoration: underline; }
.acc__file {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-size: 14px;
}

/* FAQ: список тем (тема → вопросы) */
.faq-topics { list-style: none; margin: 8px 0 0; padding: 0; }
.faq-topics__item {
  display: flex; align-items: center; min-height: 58px;
  border-bottom: 1px solid var(--divider);
  font-size: 16px;
}
.faq-topics__item span { flex: 1; }

/* =========================================================================
   УВЕДОМЛЕНИЯ
   ========================================================================= */
.notif-list { display: flex; flex-direction: column; }
.notif {
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}
.notif__meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.notif__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.notif__body { font-size: 14px; color: var(--text); line-height: 1.5; }
.notif.is-read { opacity: .55; }
.notif.is-read .notif__title { font-weight: 600; }

.empty-state {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 30px;
  gap: 8px;
}
.empty-state__title { font-size: 18px; font-weight: 700; }
.empty-state__text { font-size: 14px; color: var(--text-muted); max-width: 260px; }
.empty-state .btn { margin-top: 24px; max-width: 240px; }

/* индикатор непрочитанных (точка у пункта «Уведомления») */
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--danger); display: inline-block;
}
.menu__item span.dot { flex: 0 0 9px; margin-right: 10px; }

/* =========================================================================
   НИЖНЕЕ МЕНЮ (Главная · Услуги · Заявки · Профиль)
   ========================================================================= */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  max-width: 480px; margin: 0 auto;
  background: var(--cream);
  border-top: 1px solid var(--divider);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 30;
}
.tab {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
  background: none; border: 0;
}
.tab svg { width: 26px; height: 26px; }
.tab.is-active { color: var(--green); font-weight: 600; }

/* =========================================================================
   МОДАЛКИ и ACTION-SHEET
   ========================================================================= */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity .18s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.dialog {
  background: var(--surface-alt);
  border-radius: 16px;
  width: 100%; max-width: 320px;
  overflow: hidden;
  text-align: center;
  transform: translateY(8px);
  transition: transform .18s;
}
.overlay.is-open .dialog { transform: none; }
.dialog__body { padding: 22px 20px 8px; }
.dialog__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.dialog__text { font-size: 14px; color: var(--text-muted); }
.dialog__actions {
  display: flex;
  border-top: 1px solid var(--divider);
  margin-top: 16px;
}
.dialog__btn {
  flex: 1; background: none; border: 0;
  padding: 15px 0; font-size: 16px; color: var(--text);
}
.dialog__btn + .dialog__btn { border-left: 1px solid var(--divider); }
.dialog__btn--danger { color: var(--danger); font-weight: 600; }
.dialog__btn--primary { color: var(--green); font-weight: 600; }

/* Bottom action-sheet (выбрать фото: галерея / камера / отмена) */
.overlay--sheet { align-items: flex-end; padding: 12px; }
.sheet {
  width: 100%; max-width: 468px;
  display: flex; flex-direction: column; gap: 10px;
  transform: translateY(30px);
  transition: transform .2s;
}
.overlay.is-open .sheet { transform: none; }
.sheet__group, .sheet__cancel {
  background: var(--surface-alt);
  border-radius: 14px;
  overflow: hidden;
}
.sheet__btn {
  width: 100%; background: none; border: 0;
  padding: 16px; font-size: 16px; color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.sheet__btn + .sheet__btn { border-top: 1px solid var(--divider); }
.sheet__btn svg { width: 22px; height: 22px; color: var(--green); }
.sheet__cancel .sheet__btn { justify-content: center; color: var(--green); font-weight: 600; }

/* =========================================================================
   ОБЩИЕ БЛОКИ ВКЛАДОК (Главная · Услуги · Заявки) — в системе A5
   ========================================================================= */
/* Заголовок секции: подпись + ссылка «Все» */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 22px 0 12px;
}
.section-head h2 { font-size: 17px; font-weight: 700; margin: 0; }
.section-head a { color: var(--green); font-size: 14px; }

/* Универсальная карточка на креме */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
}

/* Иконка-плитка в тонированном круге */
.tile-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex: 0 0 auto;
}
.tile-ic svg { width: 24px; height: 24px; }

/* Статус-чип (семантика отдельно от бренд-акцента) */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; }
.chip--new    { background: var(--neutral-soft); color: var(--text-muted); }
.chip--work   { background: var(--ochre-soft);  color: var(--ochre); }
.chip--done   { background: var(--ok-soft);     color: var(--ok); }
.chip--reject { background: var(--danger-soft);  color: var(--danger); }

/* =========================================================================
   ГЛАВНАЯ
   ========================================================================= */
.home-hero {
  background: var(--green);
  color: var(--on-green);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: calc(var(--safe-top) + 22px) var(--pad) 24px;
}
.home-hero__hi { font-size: 14px; opacity: .82; }
.home-hero__name { font-size: 23px; font-weight: 700; margin: 2px 0 3px; }
.home-hero__company {
  font-size: 13px; opacity: .82;
  display: inline-flex; align-items: center; gap: 6px;
}

.quick-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px;
}
.qa {
  background: var(--surface); border: 0;
  border-radius: var(--radius);
  padding: 14px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text); font-size: 12px; line-height: 1.25;
}
.qa .tile-ic { width: 42px; height: 42px; }

/* Карточка-сводка (задолженность/счёт) */
.summary {
  display: flex; align-items: center; gap: 14px;
}
.summary__main { flex: 1; }
.summary__label { font-size: 13px; color: var(--text-muted); }
.summary__value {
  font-size: 22px; font-weight: 700; margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.summary .btn { width: auto; height: 44px; padding: 0 20px; font-size: 15px; }

/* Полоса-сводка по заявкам (мини-статусы) */
.mini-stats { display: flex; gap: 10px; }
.mini-stat {
  flex: 1; background: var(--surface); border-radius: var(--radius);
  padding: 14px; text-align: center;
}
.mini-stat__n { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-stat__l { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.mini-stat--work .mini-stat__n { color: var(--ochre); }
.mini-stat--done .mini-stat__n { color: var(--ok); }

/* Новость БЦ */
.news-item {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--divider);
}
.news-item:last-child { border-bottom: 0; }
.news-item__date { font-size: 12px; color: var(--text-muted); }
.news-item__title { font-size: 15px; font-weight: 600; margin: 4px 0 3px; }
.news-item__snippet {
  font-size: 13px; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* =========================================================================
   УСЛУГИ — каталог
   ========================================================================= */
.svc-group { margin-top: 4px; }
.svc-group__label {
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--text-muted); margin: 20px 0 10px;
}
.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text);
}
.svc__text { flex: 1; min-width: 0; }
.svc__title { font-size: 16px; font-weight: 600; }
.svc__sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.svc .chev { color: var(--text-muted); }

/* =========================================================================
   ЗАЯВКИ — список тикетов
   ========================================================================= */
/* Сегмент-фильтр */
.segmented {
  display: flex; gap: 4px; background: var(--surface);
  border-radius: 12px; padding: 4px; margin: 8px 0 4px;
}
.seg {
  flex: 1; border: 0; background: none; border-radius: 9px;
  padding: 9px 0; font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.seg.is-active { background: var(--green); color: #fff; }

.req-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.req {
  display: block; background: var(--surface);
  border-radius: var(--radius); padding: 16px;
  border-left: 3px solid transparent;
}
.req--urgent { border-left-color: var(--danger); }
.req__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.req__title { font-size: 16px; font-weight: 600; }
.req__meta {
  font-size: 12px; color: var(--text-muted); margin-top: 8px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.req__meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.req__urgent-tag { color: var(--danger); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.req__urgent-tag svg { width: 13px; height: 13px; }

/* Плавающая кнопка «создать» */
.fab {
  position: fixed;
  right: max(16px, calc((100vw - 480px)/2 + 16px));
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22); z-index: 25;
}
.fab svg { width: 26px; height: 26px; }

/* ── Утилиты ──────────────────────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.hidden { display: none !important; }
.text-danger { color: var(--danger); }
.divider-block { height: 8px; }
