:root {
  --ink: #1e1540;
  --ink-soft: #4f486a;
  --line: #e4e1ee;
  --bg: #f5f4fa;
  --card: #ffffff;
  --accent: #3271fc;
  --accent-soft: #a594fe;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 21, 64, .08);
  --font: "Unbounded", "Segoe UI", Roboto, Arial, sans-serif;
}

/* Unbounded (переменный шрифт, работает офлайн) */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* Montserrat — селекты институтов и кафедр (офлайн, 400 и 600) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------------------------- topbar */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.topbar__logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 22px;
}

.topbar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.topbar p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.floors {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg);
  border-radius: 12px;
}

.floors__btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.floors__btn:hover { background: #eceaf6; color: var(--ink); }

.floors__btn.is-active { background: var(--ink); color: #fff; }
.floors__btn.is-active { background: var(--ink); color: #fff; }

/* --------------------------------------------------- институты/кафедры */
.dept-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  /* немного в отдалении от строки поиска */
  margin-right: 10px;
}

/* «Институты и кафедры» — плейсхолдер селекта, серый пока ничего не выбрано */
.dept-filter select:has(option[value=""]:checked) { color: var(--ink-soft); }

.dept-filter select {
  width: 280px;
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaff;
  color: var(--ink);
  font: inherit;
  font-family: var(--font);
  font-size: 13.5px;
  outline: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.dept-filter select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(50, 113, 252, .15);
}

.dept-filter select[hidden] { display: none; }

/* заголовки групп в выпадающем списке («Институты», «Прочие подразделения») */
.dept-filter select optgroup {
  font-family: "Unbounded", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

.dept-filter select optgroup option,
.dept-filter select option {
  font-family: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13.5px;
  color: var(--ink);
}

.dept-filter__clear {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #e8e5f4;
  color: var(--ink-soft);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .15s, color .15s;
}

.dept-filter__clear:hover { background: var(--accent); color: #fff; }
.dept-filter__clear[hidden] { display: none; }

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search input {
  width: 280px;
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fbfaff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(50, 113, 252, .15);
}

/* убираем встроенный в браузер крестик — оставляем свой */
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search__clear {
  position: absolute;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #e8e5f4;
  color: var(--ink-soft);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.search__clear:hover { background: var(--accent); color: #fff; }
.search__clear[hidden] { display: none; }

/* ------------------------------------------------------------- layout */
.layout {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 24px 20px;
}

/* ---------------------------------------------------------------- map */
.map {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  min-height: 0;
}

.map__viewport {
  position: relative;
  flex: 1;
  min-height: 460px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


/* --------------------------------------------------------------- svg */
.zone {
  fill: #f7f7fb;
  stroke: #d9d6e8;
  stroke-width: 3;
}

.zone--tech {
  fill: #cecece;
  stroke: var(--ink);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.zone--wing { fill: #f2f1f8; }

.room { cursor: pointer; outline: none; }

/* Пока все кабинеты одного цвета (заливка по типам отключена) */
.room__fill {
  fill: #ffffff;
  stroke: none;
  transition: opacity .15s, filter .15s;
}

/* наведение — подсветка как у выбранного кабинета */
.room.is-hover .room__fill {
  fill: #4450FF;
  stroke: #717AFF;
  stroke-width: 6;
  paint-order: stroke fill;
}

/* приглушённый кабинет под курсором проявляется полностью */
.room.is-hover.is-dim .room__fill { opacity: 1; }

.room--cabinet .room__fill,
.room--comp .room__fill,
.room--multimedia .room__fill,
.room--lab .room__fill,
.room--sysadmin .room__fill,
.room--teacher .room__fill,
.room--admin .room__fill,
.room--office .room__fill,
.room--tech .room__fill { fill: #ffffff; }

/* объём здания (объединение кабинетов и коридоров) */
.building__shape {
  fill: #ffffff;
  stroke: none;
}

/* стена — одна линия на одну перегородку */
.wall {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.wall--outer { stroke-width: 5; }

.room.is-dim .room__fill { opacity: .22; }

.room.is-active .room__fill {
  stroke: #717AFF;
  stroke-width: 5;
  paint-order: stroke fill;
}

.room.is-uncertain .room__fill {
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 9 7;
}

.room.is-match .room__fill {
  fill: #4450FF;
  stroke: #717AFF;
  stroke-width: 3;
  paint-order: stroke fill;
}

.room__label {
  font-family: var(--font);
  font-weight: 600;
  fill: var(--ink);
  pointer-events: none;
  transition: opacity .15s;
  /* номера нельзя выделить и скопировать мышью */
  user-select: none;
  -webkit-user-select: none;
}

/* зона клика для этажей, импортированных из Figma */
.room__hit {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.room--svg:hover .room__hit { 
  fill: #7c85ff; 
  stroke: #202020;
  stroke-width: 6;
}

.room--svg.is-active .room__hit {
  fill: #7c85ff;
  /* stroke: #717AFF; */
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
}

.room--svg.is-match .room__hit {
  stroke: #202020;
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
}

/* подложка заливки найденного кабинета (этажи из Figma) */
.room__match {
  fill: transparent;
  stroke: none;
  pointer-events: none;
}

.room--svg.is-match .room__match { fill: #4450FF; }

/* наведение на этаже из Figma — та же подсветка */
.room--svg.is-hover .room__match {
  fill: #7c85ff;
  stroke: #202020;
  stroke-width: 6;
}
.room--svg.is-hover .room__hit { stroke: #202020; stroke-width: 6; }

/* номер найденного кабинета — чисто белый */
.room__label.is-match { fill: #ffffff; }

/* номер кабинета под курсором — тоже белый */
.room__label.is-hover { fill: #ffffff; }
.room__label.is-hover.is-dim { opacity: 1; }

/* номер-подпись посередине коридора (без рамки кабинета) */
.room__label--marker {
  fill: #4f486a;
  font-weight: 700;
  letter-spacing: .06em;
}

.room--lab .room__label,
.room--sysadmin .room__label,
.room--teacher .room__label,
.room--admin .room__label,
.room--office .room__label { fill: var(--ink); }

.room__label.is-dim { opacity: .2; }

/* при поиске номер подсвечивается рамкой кабинета,
   но цвет самого текста не меняется */

/* номер, повёрнутый на 90° (узкое помещение) */
.room__label--vertical { letter-spacing: .5px; }

.stair__bg { fill: #ff332a; stroke: #fff; stroke-width: 3; }

.stair__num {
  font: 700 24px "Segoe UI", Roboto, Arial, sans-serif;
  fill: #fff;
}

/* силуэт корпуса */
.building {
  fill: #ffffff;
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linejoin: round;
}

/* иконки лестниц и туалетов (+ новые типы 1-го этажа) */
.icon {
  cursor: pointer;
  outline: none;
}

.icon__bg {
  fill: #ff332a;
  stroke: #ffffff;
  stroke-width: 3;
  transition: fill .15s, stroke-width .15s;
}

.icon:hover .icon__bg,
.icon:focus .icon__bg {
  fill: #e02218;
  stroke-width: 4;
}

.icon:hover .icon__badge-bg,
.icon:focus .icon__badge-bg { stroke: #e02218; }

.icon__stairs {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon__head { fill: #ffffff; }

.icon__shape { fill: #ffffff; }

.icon__body {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon__badge-bg { fill: #ffffff; stroke: #ff332a; stroke-width: 3; }

/* цифра на бейдже лестницы (иконки из папки «Иконки») */
.icon__stairs-num text {
  font-family: var(--font);
  font-weight: 700;
  user-select: none;
  -webkit-user-select: none;
}

.icon__badge-num {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  /* номер лестницы нельзя выделить текстом */
  user-select: none;
  -webkit-user-select: none;
  font-weight: 700;
  fill: #ff332a;
}

/* ------------------------------------------------------------ tooltip */
.tooltip {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.25;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s;
  white-space: nowrap;
  z-index: 8;
}

.tooltip.is-visible { opacity: 1; }
.tooltip b { display: block; font-size: 14px; }
.tooltip span { color: #cfc9ea; }

/* -------------------------------------------------------------- card */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}

/* плавающие поверх карты панели «Помещение» и «Результаты поиска» */
.map__panels {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 280px;
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.map__panels .card {
  pointer-events: auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(3px);
}

.card--floating .card__title { margin-bottom: 8px; }

.card--floating .results { max-height: 200px; }

/* короткое сообщение поверх карты (например «разметка этажа не готова») */
.map__alert {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 7;
  margin: 0;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.map__alert[hidden] { display: none; }

.card__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* легенда-иконки над картой: в один горизонтальный ряд */
.legend--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 0 4px 10px;
}

.legend--row .legend__item {
  padding: 0;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  padding: 5px 6px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.legend__item:hover { background: var(--bg); }

.legend__item--static { cursor: default; }
.legend__item--static:hover { background: transparent; }
.legend__item--static svg { flex: 0 0 auto; }

.legend__item.is-active {
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px var(--accent);
  font-weight: 600;
}

.legend__item.is-active .legend__swatch {
  box-shadow: 0 0 0 2px rgba(50, 113, 252, .35);
}

.legend__swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  flex: 0 0 auto;
}

.legend__swatch--plain { background: #ffffff; }

.legend__note {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.info h2 { margin: 0 0 10px; font-size: 19px; }

.info__hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.info__list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 10px;
  margin: 0;
  font-size: 13.5px;
}

.info__list dt { color: var(--ink-soft); }
.info__list dd { margin: 0; }
.info__empty { color: #b0abc4; font-style: italic; }

.results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}

.results.is-empty { display: none; }

.results__none {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.results__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaff;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.results__item:hover { border-color: var(--accent); background: #f4f7ff; }
.results__item b { font-size: 14px; }
.results__item span { color: var(--ink-soft); font-size: 12px; text-align: right; }

@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .search input { width: 100%; }
  .topbar { gap: 14px; }
}

/* Unbounded — в заголовках, кнопках и подписях */
.topbar h1,
.topbar__logo,
.card__title,
.floors__btn,
.legend__item,
.results__item,
.info h2,
.map__tools button,
.search input {
  font-family: var(--font);
}

.topbar h1 { font-weight: 700; letter-spacing: 0; }
.card__title { font-weight: 600; letter-spacing: .02em; }
.legend__item, .results__item { font-weight: 500; }

#map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#map.is-dragging { cursor: grabbing; }

.map__tools {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  gap: 6px;
}

.map__tools button {
  min-width: 38px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.map__tools button:hover { border-color: var(--accent); color: var(--accent); }

/* кнопка с процентом масштаба — чуть шире под текст вида «125%» */
#zoom-reset { min-width: 58px; }

/* текстовая кнопка без подложки («Проверить изменения») — в левом краю карты */
.map__tools-left {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 6;
}

.map__tools-text {
  min-width: 0;
  height: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.map__tools-text:hover {
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--accent);
}

/* =========================================================================
   Админка: та же карта + экран входа и форма редактирования в карточке
   «Помещение». Общие элементы (topbar, floors, search, cards) — выше.
   ========================================================================= */

/* Экран входа поверх карты */
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.admin-login__card {
  width: 100%;
  max-width: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.admin-login__card .topbar__logo { align-self: center; font-size: 34px; color: var(--accent); }
.admin-login__card h1 { font-size: 20px; margin: 0; }
.admin-login__hint { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.admin-login__error { margin: 0; font-size: 13px; color: #d21f3c; }
.admin-login__back { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.admin-login__back:hover { color: var(--accent); }

/* Поля и кнопки */
.admin-field { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 13px; color: var(--ink-soft); }
.admin-field input,
.admin-field select {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: none;
}
.admin-field input:focus,
.admin-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(50, 113, 252, .15); }

.admin-btn {
  display: inline-block;
  font: inherit;
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.admin-btn:hover { border-color: var(--accent); color: var(--accent); }
.admin-btn--primary { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.admin-btn--primary:hover { background: #5b21b6; border-color: #5b21b6; color: #fff; }
.admin-btn--link { border-color: transparent; color: var(--ink-soft); }
.admin-btn--link:hover { color: var(--accent); border-color: transparent; }

.admin-status { margin: 0; font-size: 13px; color: #178a3d; }

/* Форма редактирования внутри карточки «Помещение» */
.room-edit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.room-edit__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Видимый баннер ошибок JS в админке */
.js-error {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 10px 16px;
  background: #d21f3c;
  color: #fff;
  font: 13px/1.5 monospace;
  white-space: pre-wrap;
}

/* Кнопка «Выйти» в шапке админ-режима — форма кнопок этажей,
      фиолетовая заливка */
.admin-btn--logout {
  margin-left: 12px;
  border: 0;
  background: #6d28d9;
  color: #fff;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9px;
  transition: background .15s, color .15s;
}
.admin-btn--logout:hover { background: #5b21b6; color: #fff; }
