/* ==========================================================================
   АНО «Оружейная столица» — модуль учета набора кандидатов
   Фирменные цвета: синий #1573BE, красный #E31E24, серый #D2D3D5,
                    графитовый текст #58595B
   ========================================================================== */
:root {
  color-scheme: light;
  --brand-blue: #1573BE;
  --brand-blue-dark: #0E4E82;
  --brand-blue-deep: #0B3A61;
  --brand-red: #E31E24;
  --brand-grey: #D2D3D5;
  --brand-ink: #58595B;

  --surface-1: #ffffff;
  --page: #eef1f4;
  --text-primary: #1d2429;
  --text-secondary: #58595B;
  --muted: #8d9196;
  --grid: #e3e6e9;
  --axis: #c3c7cb;
  --border: rgba(11, 42, 68, 0.12);

  --series-1: #1573BE;
  --series-2: #E31E24;
  --good: #17864a;
  --warning: #c98500;
  --critical: #C1121A;

  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--page);
  color: var(--text-primary);
  font-size: 14px;
}

/* ------------------------------------------------------------- Каркас */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 250px;
  flex: 0 0 250px;
  background: linear-gradient(180deg, var(--brand-blue-dark) 0%, var(--brand-blue-deep) 100%);
  color: #dbe7f2;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  /* Меню остается на месте при прокрутке длинных списков:
     иначе на списке из сотен кандидатов приходится мотать наверх. */
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  max-height: 100vh;
}
/* Если пунктов меню больше, чем помещается по высоте, прокручивается
   только сама навигация, а шапка и подвал меню остаются видимыми. */
.sidebar nav { overflow-y: auto; flex: 1 1 auto; min-height: 0; }

.brand {
  display: flex; gap: 11px; align-items: center;
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 10px;
}
.brand-logo {
  flex: 0 0 52px; width: 52px; height: 52px;
  background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.brand-logo .logo { width: 42px; height: 42px; }
.brand-text b { display: block; font-size: 13px; color: #fff; line-height: 1.28; letter-spacing: .2px; }
.brand-text span { display: block; font-size: 10.5px; color: #a8c4dd; margin-top: 4px; line-height: 1.3; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13.5px;
  color: #c9dcec;
  border-left: 3px solid transparent;
}
.nav-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-item.active {
  background: rgba(255, 255, 255, .13);
  border-left-color: var(--brand-red);
  color: #fff; font-weight: 600;
}
.nav-badge {
  margin-left: auto; background: var(--brand-red); color: #fff;
  border-radius: 9px; padding: 1px 7px; font-size: 11px; font-weight: 700;
}
.nav-sep {
  margin: 14px 18px 6px; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .9px; color: #7ea3c4;
}

.sidebar-foot {
  margin-top: auto; padding: 14px 18px;
  font-size: 11px; color: #7ea3c4;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; gap: 8px;
}
.flag { display: inline-flex; flex-direction: column; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; }
.flag i { flex: 1; }
.flag i:nth-child(1) { background: #fff; }
.flag i:nth-child(2) { background: var(--brand-blue); }
.flag i:nth-child(3) { background: var(--brand-red); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface-1);
  border-bottom: 3px solid var(--brand-blue);
  padding: 13px 24px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.topbar h1 { font-size: 18px; margin: 0; font-weight: 650; color: var(--brand-blue-dark); }
.topbar .spacer { flex: 1; }

.content { padding: 20px 18px 40px; }

/* ------------------------------------------------------------ Элементы */
.btn {
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text-primary);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
}
.btn:hover { background: #eef3f8; border-color: var(--brand-blue); }
.btn-primary { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--brand-blue-dark); border-color: var(--brand-blue-dark); }
.btn-danger { color: var(--critical); }
.btn-link { border: none; background: none; color: var(--brand-blue); cursor: pointer; padding: 2px 4px; font-size: 12.5px; }
.btn-link:hover { text-decoration: underline; }

input, select, textarea {
  font-family: var(--font);
  font-size: 13px;
  padding: 7px 9px;
  border: 1px solid var(--axis);
  border-radius: 7px;
  background: #fff;
  color: var(--text-primary);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(21, 115, 190, .3); border-color: var(--brand-blue);
}
textarea { min-height: 62px; resize: vertical; }
label { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 3px; }

.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 12px; font-size: 14.5px; font-weight: 650; color: var(--brand-blue-dark); }

.filters { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.filters .f { min-width: 155px; }
.filters .f.wide { min-width: 250px; flex: 1; }

/* -------------------------------------------------------------- Таблицы */
.table-wrap {
  background: var(--surface-1);
  border: 1px solid var(--border); border-radius: var(--radius);
  /* На широком экране рамка таблицы не создает своей области прокрутки —
     только так шапка таблицы может «прилипать» к верху страницы.
     На узких экранах горизонтальная прокрутка возвращается (см. ниже). */
  overflow: visible;
}
/* Порог подобран по самой широкой таблице программы («Контрагенты»):
   на экранах уже этого значения возвращается привычная горизонтальная
   прокрутка внутри рамки, а шапка таблицы перестает прилипать. */
@media (max-width: 1500px) {
  .table-wrap { overflow-x: auto; }
  th { position: static; }
}
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th {
  text-align: left; padding: 9px 8px;
  background: #eaf1f8; color: var(--brand-blue-dark);
  font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px;
  border-bottom: 2px solid var(--brand-blue); line-height: 1.3;
  /* Шапка таблицы остается видимой при прокрутке длинных списков.
     Отступ сверху — высота закрепленной панели с заголовком раздела. */
  position: sticky; top: 56px; z-index: 5;
}
th.num { white-space: nowrap; }
td { padding: 9px 8px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
tbody tr:hover { background: #f5f9fd; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total-row td { font-weight: 700; background: #eaf1f8; border-top: 2px solid var(--brand-blue); }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.actions { white-space: nowrap; text-align: right; }

/* --------------------------------------------------------------- Статусы */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-gray { color: #4a4a48; background: #ececea; }
.pill-blue { color: #0E4E82; background: #e0eefb; }
.pill-green { color: #12683a; background: #dff3e6; }
.pill-amber { color: #8a5c00; background: #fdf0d5; }
.pill-red { color: #A6151B; background: #fbe1e2; }

/* ------------------------------------------------------------ KPI-плитки */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 11px; margin-bottom: 18px; }
.kpi {
  background: var(--surface-1); border: 1px solid var(--border);
  border-top: 3px solid var(--brand-blue);
  border-radius: var(--radius); padding: 13px 16px 14px;
}
.kpi.danger { border-top-color: var(--brand-red); }
.kpi.good { border-top-color: var(--good); }
.kpi .k-label { font-size: 11.5px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }
.kpi .k-value { font-size: 24px; font-weight: 650; margin-top: 6px; line-height: 1.15; white-space: nowrap; }
.kpi .k-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.kpi.danger .k-value { color: var(--critical); }
.kpi.good .k-value { color: var(--good); }

.grid-2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1150px) { .grid-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- График */
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-tip {
  position: fixed; pointer-events: none; z-index: 90;
  background: var(--brand-blue-deep); color: #fff; padding: 7px 10px; border-radius: 7px;
  font-size: 12px; line-height: 1.5; box-shadow: 0 4px 14px rgba(0,0,0,.2); display: none;
  font-variant-numeric: tabular-nums;
}

.bar-row { display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 12.5px; }
.bar-row .lbl { font-size: 12.5px; margin-bottom: 3px; color: var(--text-secondary); }
.bar-track { height: 15px; border-radius: 4px; background: var(--series-1); min-width: 2px; }
.bar-track.alt { background: var(--brand-red); }
.bar-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-secondary); }

/* ---------------------------------------------------------------- Модалка */
.overlay {
  position: fixed; inset: 0; background: rgba(11, 42, 68, .48);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto; z-index: 100;
}
.modal {
  background: var(--surface-1); border-radius: 12px; width: 100%; max-width: 720px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
  border-top: 4px solid var(--brand-blue);
}
.modal-head { padding: 15px 20px; border-bottom: 1px solid var(--grid); display: flex; align-items: center; }
.modal-head h2 { margin: 0; font-size: 16px; font-weight: 650; color: var(--brand-blue-dark); }
.modal-head .close { margin-left: auto; border: none; background: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-body { padding: 18px 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--grid); display: flex; gap: 10px; justify-content: flex-end; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--grid); }
.hint { grid-column: 1 / -1; background: #e6f1fa; border: 1px solid #b6d6ee; border-left: 3px solid var(--brand-blue); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; color: #0E4E82; }
.err { background: #fbe1e2; border: 1px solid #f0b6b8; border-left: 3px solid var(--brand-red); color: #96161c; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; margin-bottom: 12px; }
/* Недоступная кнопка должна выглядеть недоступной, иначе нажатие
   выглядит как поломка программы */
.btn:disabled, .btn[disabled] {
  opacity: .45; cursor: not-allowed; filter: grayscale(.5); box-shadow: none;
}
.btn:disabled:hover, .btn[disabled]:hover { transform: none; }

/* ------------------------------------------------ Руководство пользователя */
.manual-toc { padding: 14px 16px; }
.toc-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.toc-item {
  color: var(--brand-blue-dark); text-decoration: none; font-size: 13px;
  border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; background: #fff;
}
.toc-item:hover { background: #eaf1f8; border-color: var(--brand-blue); }
.manual-section { line-height: 1.5; }
.manual-section h4 { margin: 16px 0 6px; font-size: 14px; color: var(--brand-blue-dark); }
.manual-section p { margin: 0 0 8px; }
.manual-section ul, .manual-section ol { margin: 0 0 10px; padding-left: 22px; }
.manual-section li { margin-bottom: 4px; }
.manual-section .hint, .manual-section .err { margin: 0 0 10px; }
.manual-section .table-wrap { margin: 0 0 12px; }
.manual-section mark { background: #ffe9a8; padding: 0 2px; border-radius: 2px; }

/* Сортировка по шапке таблицы */
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { background: #cfe0f0; }
th.sorted { color: var(--brand-blue-dark); }

/* Отбор по шапке таблицы: строка полей под заголовками граф.
   Не прилипает при прокрутке — прилипает только строка с названиями,
   иначе пришлось бы вычислять ее высоту в разметке. */
tr.filter-row th {
  position: static; padding: 5px 6px; background: #f4f8fc;
  border-bottom: 1px solid var(--grid); text-transform: none; letter-spacing: 0;
}
tr.filter-row input {
  width: 100%; min-width: 60px; padding: 4px 6px; font-size: 12px;
  border: 1px solid var(--grid); border-radius: 5px; background: #fff;
  color: var(--text-primary); font-weight: 400;
}
tr.filter-row input:focus {
  outline: none; border-color: var(--brand-blue); background: #fff;
}
tr.filter-row th.num input { text-align: right; }
tr.filter-row .btn-link { font-size: 11.5px; white-space: nowrap; }

.table-note {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 7px 10px; font-size: 12.5px; color: var(--muted);
  background: #fdf6e3; border-bottom: 1px solid var(--grid);
}
.table-note .btn-link { font-size: 12.5px; }

.checkbox-line { display: flex; align-items: center; gap: 8px; }
.checkbox-line input { width: auto; }
.checkbox-line label { margin: 0; font-size: 13px; color: var(--text-primary); }

.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: var(--brand-blue-deep); color: #fff; padding: 11px 16px; border-radius: 9px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: 400px;
}
.toast.error { background: var(--brand-red); }

.detail-list { font-size: 13px; }
.detail-list div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--grid); }
.detail-list div b { flex: 0 0 200px; font-weight: 500; color: var(--text-secondary); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------- Дополнения версии 3.0 */
.modal-wide { max-width: 1020px; }
tbody tr.clickable { cursor: pointer; }
tbody tr.clickable:hover { background: #eaf3fc; }
td.c, th.c { text-align: center; }

.modal-head.warn { background: #fdf1e6; border-bottom: 2px solid var(--brand-red); }
.modal-head.warn h2 { color: #A6151B; }
.dup-list { margin: 0 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.55; }
.dup-list li { margin-bottom: 7px; }
.btn-outline-danger {
  border: 1px solid var(--brand-red); background: #fff; color: var(--brand-red); font-weight: 600;
}
.btn-outline-danger:hover { background: #fdecec; border-color: var(--brand-red); }

.col-picker, .pick-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px 14px; border: 1px solid var(--grid); border-radius: 8px; padding: 10px 12px;
  max-height: 280px; overflow-y: auto; background: #fbfcfd;
}
.pick-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.col-picker .checkbox-line, .pick-list .checkbox-line { padding: 2px 0; }
.col-picker label, .pick-list label { font-size: 12.5px; cursor: pointer; }

.lines-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 8px; padding-top: 12px; border-top: 1px solid var(--grid);
}
.lines-table table { font-size: 12.5px; }
.lines-table th { font-size: 10.5px; padding: 7px 8px; }
.lines-table td { padding: 4px 6px; }
.lines-table input { padding: 5px 7px; font-size: 12.5px; }
.lines-total {
  text-align: right; margin-top: 10px; font-size: 14px;
  padding: 8px 12px; background: #eaf1f8; border-radius: 8px;
}
.lines-total b { font-size: 16px; color: var(--brand-blue-dark); }

.bar-track.warn { background: #F0A500; }
.forms-card { border-left: 4px solid var(--brand-red); }
.forms-card h3 { margin-bottom: 6px; }

/* ==========================================================================
   Версия 4.0 — вход в систему, роли, мобильный режим (PWA)
   Правообладатель: Multimedia Mod (ИП Астахов В.Ю.)
   ========================================================================== */

/* ------------------------------------------------------------ Экран входа */
.login-screen {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, var(--brand-blue-dark) 0%, var(--brand-blue-deep) 100%);
}
.login-card {
  background: #fff; border-radius: 14px; padding: 28px 26px 20px;
  width: 100%; max-width: 380px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  border-top: 4px solid var(--brand-red);
}
.login-logo { text-align: center; margin-bottom: 10px; }
.login-logo .logo { width: 68px; height: 68px; }
.login-card h1 {
  font-size: 17px; text-align: center; margin: 0 0 2px;
  color: var(--brand-blue-dark); font-weight: 700;
}
.login-sub { text-align: center; font-size: 12.5px; color: var(--muted); margin: 0 0 18px; }
.login-card label { margin-top: 10px; }
.login-btn { width: 100%; margin-top: 18px; padding: 11px; font-size: 15px; }
.login-foot {
  margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--grid);
  text-align: center; font-size: 11px; color: var(--muted);
}

/* ------------------------------------------------- Пользователь в меню */
.sidebar-foot { display: block; }
.user-box { margin-bottom: 10px; }
.user-name { color: #fff; font-size: 13px; font-weight: 600; }
.user-role { color: #a8c4dd; font-size: 11px; margin-bottom: 6px; }
.user-links { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.btn-link.light { color: #a8c4dd; padding: 0; font-size: 11.5px; }
.btn-link.light:hover { color: #fff; }
.copyright { font-size: 10.5px; color: #7ea3c4; line-height: 1.35; }

/* --------------------------------------------------------- Мобильный режим */
.burger {
  display: none; border: 1px solid var(--border); background: #fff;
  font-size: 18px; line-height: 1; padding: 6px 11px; border-radius: 8px;
  cursor: pointer; color: var(--brand-blue-dark);
}
.sidebar-close {
  display: none; margin-left: auto; background: none; border: none;
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.sidebar-backdrop { display: none; }

@media (max-width: 900px) {
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
    transform: translateX(-100%); transition: transform .22s ease;
    width: 270px; flex-basis: 270px; overflow-y: auto;
  }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .sidebar-backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(11, 42, 68, .45);
  }
  /* На телефоне меню и так выезжает поверх страницы — внутренняя
     прокрутка навигации не нужна */
  .sidebar nav { overflow: visible; }
  .sidebar-close { display: block; }
  .burger { display: inline-block; padding: 9px 13px; font-size: 20px; }
  .topbar { position: sticky; top: 0; z-index: 30; padding: 10px 12px; gap: 8px; }
  /* На телефоне шапка занимает две строки — таблицу к ней не липнем */
  th { position: static; }
  .topbar h1 { font-size: 16px; }
  #page-actions { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
  #page-actions .btn { flex: 1 1 auto; font-size: 12.5px; padding: 8px 10px; }
  .content { padding: 12px 10px 80px; }
  .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
  .kpi .k-value { font-size: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .filters { gap: 8px; }
  .filters .f { min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); }
  .filters .f.wide { min-width: 100%; flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { max-width: 100%; }
  .overlay { padding: 10px 8px 24px; }
  .modal-body { padding: 14px 12px; }
  .modal-foot { padding: 12px; flex-wrap: wrap; }
  .modal-foot .btn { flex: 1 1 auto; }
  table { font-size: 12px; }
  th { font-size: 10.5px; padding: 8px 7px; }
  td { padding: 8px 7px; }
  .col-picker, .pick-list { grid-template-columns: 1fr; max-height: 220px; }
  .detail-list div { flex-direction: column; gap: 2px; }
  .detail-list div b { flex: none; }
  .lines-table { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi .k-label { font-size: 10.5px; }
  .kpi .k-value { font-size: 18px; }
  .login-card { padding: 22px 18px 16px; }
}

/* Безопасные отступы на телефонах с «челкой».
   Без верхнего отступа шапка с кнопкой меню уезжает под часы и значок связи,
   и нажать «бутерброд» становится невозможно. */
@supports (padding: env(safe-area-inset-bottom)) {
  .content { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .sidebar { padding-bottom: env(safe-area-inset-bottom); }
  .topbar { padding-top: calc(13px + env(safe-area-inset-top)); }
  .sidebar .brand { padding-top: calc(18px + env(safe-area-inset-top)); }
  @media (max-width: 900px) {
    .topbar { padding-top: calc(10px + env(safe-area-inset-top)); }
  }
}

/* Крупные элементы управления для пальца */
@media (hover: none) and (pointer: coarse) {
  .btn, input, select, textarea { font-size: 15px; }
  .btn { padding: 9px 14px; }
  .btn-link { padding: 6px 5px; font-size: 13.5px; }
  .nav-item { padding: 13px 18px; }
}
