:root {
  color-scheme: light;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #f2f2f2;
  --surface: #ffffff;
  --card: #f5f5f5;
  --border: #e3e3e3;
  --grid: #ececec;
  --ink: #1f1f1f;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --brand: #6b4a3e;        /* факт */
  --brand-dark: #3f1d0b;
  --brand-soft: #efe6e1;
  --plan: #d6d6d6;         /* план */
  --plan-ink: #9a9a9a;
  --accent: #5282ff;
  --good: #2f8a3e;
  --bad: #c8321e;
  --sand: #fde9b5;
  --sand-2: #fbc547;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 13px/1.4 var(--font); background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 20px; margin: 0 0 4px; font-weight: 600; }
h2 { font-size: 16px; margin: 0; font-weight: 600; }
h3 { font-size: 13px; margin: 0; font-weight: 600; text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 12px; }
.r { text-align: right; }
.good { color: var(--good); }
.bad { color: var(--bad); }

/* шапка */
.top { display: flex; align-items: center; gap: 24px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.brand { display: flex; align-items: baseline; gap: 8px; color: var(--ink); font-size: 18px; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.admin { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.admin a { padding: 5px 10px; border-radius: 6px; color: var(--ink-2); }
.admin a:hover { background: var(--bg); text-decoration: none; }
.admin a.on { background: var(--brand-soft); color: var(--brand-dark); }
.me { display: flex; align-items: center; gap: 12px; }
.me span { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.me small { color: var(--ink-3); }
.me form { margin: 0; }
.tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--surface); overflow-x: auto; }
.tabs a { padding: 12px 0 10px; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.demo-bar { background: var(--sand); text-align: center; padding: 5px; font-size: 12px; }

.page { padding: 0 0 40px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 20px 16px 60px; }
.flash { background: var(--brand-soft); border-radius: 8px; padding: 10px 14px; margin: 12px 16px; }
.flash.err { background: #fbe4e4; color: #8a1f1f; }

/* полоса фильтров, как в DataLens */
.filterbar { display: flex; gap: 8px; padding: 12px 14px; background: var(--bg); align-items: stretch; flex-wrap: wrap; }
.fb-logo { background: var(--surface); width: auto; min-width: 170px; flex: 0 0 auto; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 16px; line-height: 1; }
.fb-logo b { font: 700 24px/1 Georgia, "Times New Roman", serif; letter-spacing: 0.02em; color: #5a2a1a; white-space: nowrap; }
.fb-logo small { font: italic 13px Georgia, serif; color: #5a2a1a; margin-top: 3px; }
.fb-logo img { display: block; height: 72px; width: auto; }
.login .fb-logo img { height: 120px; }
.fb-days { background: var(--surface); width: 200px; padding: 10px 12px; text-align: center; }
.fb-days b { display: block; font-size: 13px; margin-bottom: 8px; }
.fb-days .meterbar { height: 22px; }
.fb-form { background: var(--surface); flex: 1; display: flex; align-items: center; gap: 10px 14px; padding: 10px 12px; flex-wrap: wrap; min-width: 300px; }
.fb-form label { display: flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.fb-form select[name=point] { min-width: 170px; }
.fb-form select, .fb-form input { min-width: 90px; }
.fb-form .grow { flex: 1; }
.fb-form .grow select { width: 100%; }
.chips { display: flex; gap: 2px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: #fff; padding: 3px 8px; border-radius: 4px; color: var(--ink-2); cursor: pointer; font: inherit; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
button, .btn { font: inherit; cursor: pointer; border: 1px solid var(--border); background: #f3f3f3; color: var(--ink); padding: 4px 10px; border-radius: 4px; display: inline-block; }
.btn:hover, button:hover { background: #e9e9e9; text-decoration: none; }
.btn.primary, button.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.link { background: none; border: 0; color: var(--accent); padding: 0; }

/* KPI-карточки */
.kpis { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; padding: 14px; border-bottom: 1px solid var(--border); }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px 12px; min-width: 0; }
.kpi-t { font-size: 13px; color: var(--ink); margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meterbar { position: relative; height: 22px; background: var(--plan); }
.meterbar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); }
.meterbar .val { position: absolute; left: 6px; top: 0; line-height: 22px; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 0 2px rgba(0,0,0,.3); }
.meterbar .tick { position: absolute; top: -3px; bottom: -3px; width: 1.5px; background: #555; }
.kpi-fp { margin-top: 12px; font-size: 11px; color: var(--ink-2); }
.kpi-fp div + div { margin-top: 6px; }
.kpi-fp b { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.sq { display: inline-block; width: 9px; height: 9px; flex: none; }
.sq.f { background: var(--brand); }
.sq.p { background: var(--plan-ink); }

/* блоки */
.row2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; padding: 18px 14px; }
.row3 { display: grid; grid-template-columns: 330px 1fr 1.25fr; gap: 24px; padding: 18px 14px; }
.panel h2 { margin-bottom: 14px; }
.subtabs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.subtabs button { border: 0; background: none; padding: 6px 0; color: var(--ink-2); border-bottom: 2px solid transparent; border-radius: 0; }
.subtabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.chart { position: relative; height: 290px; }
.chart.tall { height: 340px; }
.legend { display: flex; justify-content: center; gap: 18px; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.legend[hidden] { display: none; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--plan); }
.legend i.line { width: 16px; height: 2px; border-radius: 0; background: var(--brand); }
.inline-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 500; }
.inline-filter select { flex: 1; }

/* тренд */
.trend { display: grid; gap: 8px; }
.trend-c { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; }
.trend-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.trend-h b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.trend-bar { position: relative; height: 10px; background: var(--plan); margin: 8px 0; }
.trend-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: #f8d9a6; }
.trend-bar .tick { position: absolute; top: -2px; bottom: -2px; width: 1.5px; background: #555; }
.trend-f { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-2); }
.trend-f b { font-variant-numeric: tabular-nums; }

/* таблица сотрудников */
.tbl-wrap { padding: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 600; font-size: 11.5px; padding: 6px; border: 1px solid var(--border); background: #fafafa; vertical-align: top; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]::after { content: " ↕"; color: var(--ink-3); font-weight: 400; }
td { padding: 4px 6px; border: 1px solid #efefef; font-size: 12px; white-space: nowrap; }
td.r { text-align: right; }
tr.total td { background: #f3f3f3; font-weight: 600; }
.cellbar { position: relative; }
.cellbar i { position: absolute; left: 0; top: 2px; bottom: 2px; z-index: 0; }
.cellbar span { position: relative; z-index: 1; }
.bar-rev i { background: #d9c9c3; }
.bar-uu i { background: #b8c2cc; }
.bar-pct i { background: #e2e2e2; }
.bar-snack i { background: var(--sand-2); }
.bar-pack i { background: var(--sand); }
.totals { display: flex; justify-content: center; gap: 120px; padding: 40px 14px; }
.totals .big { display: flex; align-items: center; gap: 60px; }
.totals h2 { font-size: 17px; }
.totals .num { font-size: 13px; }
.totals .num b { display: block; font-size: 22px; font-weight: 500; }

/* рейтинг */
.hbars { display: grid; gap: 6px; }
.hbar { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); }
.hbar .lbl { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .track { display: flex; align-items: center; gap: 6px; }
.hbar .b { height: 30px; min-width: 2px; }
.hbar.store .b { background: #a0857b; height: 34px; }
.hbar.store.sel .b { background: var(--brand-dark); }
.hbar.emp .b { background: var(--sand); height: 22px; }
.hbar .v { color: var(--ink); font-size: 11px; white-space: nowrap; }
a.hbar:hover { text-decoration: none; }
a.hbar:hover .b { filter: brightness(0.9); }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--brand-soft); padding: 2px 8px; border-radius: 10px; margin-left: 8px; }

/* описание */
.about { columns: 4 280px; column-gap: 28px; padding: 20px 16px; }
.about section { break-inside: avoid; margin-bottom: 18px; }
.about h2 { margin: 0 0 10px; }
.about h3 { text-align: left; margin: 14px 0 6px; font-size: 14px; }
.about p, .about li { font-size: 12.5px; color: #333; }

/* управление */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.card td, .card th { border: 0; border-bottom: 1px solid var(--grid); padding: 7px 8px; background: none; white-space: normal; }
.card th { color: var(--ink-3); font-weight: 500; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.form-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); }
.form-row input[name=fio] { min-width: 300px; }
.inline { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--border); }
.badge.ok { color: var(--good); }
.badge.off { color: var(--bad); }
.plan-input { width: 120px; text-align: right; }
.month-nav { display: flex; align-items: center; gap: 12px; }
.empty { text-align: center; padding: 40px; }

/* вход */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
.login { width: 100%; max-width: 420px; text-align: center; padding: 30px; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.login .fb-logo { width: auto; margin-bottom: 8px; }
.demo-users { display: grid; gap: 6px; margin-top: 10px; text-align: left; }
.demo-users form { margin: 0; }
.demo-user { width: 100%; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 8px 12px; }
.demo-user:hover { border-color: var(--brand); background: #fff; }
.demo-user small { color: var(--ink-3); }
.btn.big { padding: 10px 20px; font-size: 14px; margin: 8px 0 14px; }

@media (max-width: 1300px) { .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .row2, .row3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top { flex-wrap: wrap; }
  .me span { display: none; }
  .fb-logo, .fb-days { width: 100%; }
  .totals { flex-direction: column; gap: 20px; align-items: center; }
}

/* ---------- Календарь «Период» (static/period-picker.js, как в кабинете Савиум) ---------- */
:root {
  --pp-bg: #f6f3f1;          /* фон окна — выбранное поверх него белым */
  --pp-ink: var(--brand);
  --pp-ink-dark: var(--brand-dark);
  --pp-year: #b07400;
  --pp-today: var(--brand-dark);
  --pp-hover: #a99a93;
}
.sv-period { display: inline-flex; align-items: center; gap: 2px; position: relative; }
.sv-period-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; border-radius: 4px; padding: 4px 10px; font: inherit; font-weight: 600; color: var(--ink); min-height: 28px; white-space: nowrap; cursor: pointer; }
.sv-period-btn:hover, .sv-period-btn[aria-expanded="true"] { border-color: var(--brand); }
.sv-period-btn svg { flex: none; color: var(--ink-3); }
.sv-period.empty .sv-period-label { color: var(--ink-3); font-weight: 400; }
.sv-period-clear { border: 0; background: none; color: var(--ink-3); font-size: 18px; line-height: 1; padding: 0 4px; border-radius: 50%; cursor: pointer; }
.sv-period-clear:hover { color: var(--bad); }

.pp { position: fixed; z-index: 1080; width: 540px; height: 570px; background: var(--pp-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 40px rgba(20,20,20,.16); display: flex; flex-direction: column; overflow: hidden; font-size: 13px; outline: none; user-select: none; color: var(--ink); }
.pp button { border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; }
.pp-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--border); }
.pp-mode { width: 30px; height: 30px; border-radius: 8px !important; color: var(--ink-2) !important; display: inline-flex; align-items: center; justify-content: center; }
.pp-mode svg { fill: currentColor; }
.pp-mode:hover { color: var(--brand-dark) !important; background: var(--card) !important; }
.pp-in { width: 84px; border: 0; border-bottom: 1px solid var(--border); padding: 3px 2px; font: inherit; font-variant-numeric: tabular-nums; background: transparent; outline: none; letter-spacing: .02em; }
.pp-in:focus { border-bottom-color: var(--pp-ink); }
.pp-in.pp-bad { border-bottom-color: var(--bad); color: var(--bad); }
.pp-dash { color: var(--ink-3); }
.pp-today { margin-left: auto; color: var(--pp-today) !important; font-weight: 600 !important; border-top: 2px solid var(--pp-today) !important; padding: 0 4px !important; line-height: 1.2; }
.pp-ok { color: var(--brand) !important; font-size: 19px !important; font-weight: 700 !important; width: 30px; height: 30px; border-radius: 8px !important; }
.pp-ok:hover, .pp-x:hover { background: var(--card) !important; }
.pp-x { color: var(--ink-3) !important; font-size: 21px !important; width: 30px; height: 30px; border-radius: 8px !important; }
.pp-body { flex: 1; display: flex; min-height: 0; }
.pp-presets { width: 150px; flex: none; padding: 10px 8px; border-right: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; gap: 2px; }
.pp-preset { text-align: left; padding: 6px 10px !important; border-radius: 8px !important; border: 1.5px solid transparent !important; }
.pp-preset:hover { border-color: var(--pp-hover) !important; }
.pp-preset.on { border-color: var(--pp-ink) !important; background: #fff !important; font-weight: 600 !important; }
.pp-cal { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pp-scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.pp-note { padding: 6px 12px; font-size: 12px; color: var(--ink-2); background: #fff; border-top: 1px solid var(--border); }

/* контур: одна фигура на период; выбранное — белым поверх фона окна */
.pp-dgrid, .pp-mgrid, .pp-lgrid { position: relative; display: grid; }
.pp .pp-ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.pp-ink .pp-sel { fill: #fff; stroke: var(--pp-ink); stroke-width: 1.5; }
.pp-ink .pp-pre { fill: rgba(255,255,255,.7); stroke: var(--pp-ink); stroke-width: 1.2; stroke-dasharray: 4 3; }
.pp-ink .pp-hov { fill: none; stroke: var(--pp-hover); stroke-width: 1; }
.pp-ink .pp-mark { fill: var(--pp-ink-dark); stroke: none; }
.pp-dgrid > span, .pp-mgrid > div, .pp-lgrid > div { position: relative; z-index: 1; }
.pp-d { cursor: pointer; text-align: center; font-variant-numeric: tabular-nums; }
.pp-we { color: #ab9f9a; }
.pp-now { color: var(--pp-today); font-weight: 700; }
.pp-off { color: #d9d2cf !important; cursor: default; }

/* режим «Год» */
.pp-strip { display: flex; align-items: center; gap: 2px; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--border); }
.pp-strip-arrow { width: 24px; height: 24px; font-size: 18px !important; color: var(--ink-3) !important; border-radius: 6px !important; }
.pp-strip-arrow:hover { background: var(--card) !important; }
.pp-strip-years { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.pp-strip-years > button { position: relative; z-index: 1; }
.pp-sy { padding: 3px 0 !important; text-align: center; color: var(--brand-dark) !important; }
.pp-sy.cur { color: var(--pp-year) !important; font-weight: 700 !important; }
.pp-years { flex: 1; padding: 0 6px 10px; }
.pp-year-title { text-align: center; color: var(--pp-year); font-weight: 700; font-size: 15px; padding: 10px 0 4px; cursor: pointer; }
.pp-year-body { display: flex; align-items: stretch; }
.pp-qcol, .pp-hcol { width: 20px; flex: none; display: grid; grid-template-rows: repeat(4, 1fr); }
.pp-hcol { grid-template-rows: repeat(2, 1fr); }
.pp-q, .pp-h { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-3); cursor: pointer; margin: 4px 0; }
.pp-q { border-right: 2px solid var(--border); }
.pp-h { border-left: 2px solid var(--border); }
.pp-q:hover, .pp-h:hover { color: var(--pp-ink-dark); border-color: var(--pp-hover); }
.pp-mgrid { flex: 1; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
.pp-mini { padding: 4px 6px 6px; }
.pp-mini-title { text-align: center; font-size: 12px; font-weight: 600; padding: 2px 0 3px; cursor: pointer; color: var(--brand-dark); }
.pp-mini-title:hover { color: var(--pp-ink); }
.pp-mini .pp-dgrid { grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(6, 15px); font-size: 10px; line-height: 15px; }
.pp-mini .pp-now { border-radius: 50%; box-shadow: inset 0 0 0 1px var(--pp-today); }

/* режим «Месяц» */
.pp-mhead { display: flex; align-items: center; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--border); }
.pp-mhead-y { width: 92px; flex: none; color: var(--pp-year); font-weight: 700; }
.pp-wd { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--ink-3); padding-right: 6px; }
.pp-wd .pp-we { color: #c4bab6; }
.pp-mbody { flex: 1; display: flex; min-height: 0; }
.pp-mlist { width: 92px; flex: none; border-right: 1px solid var(--border); padding: 4px; }
.pp-lgrid { grid-auto-rows: 26px; }
.pp-lm { display: flex; align-items: center; padding: 0 8px; cursor: pointer; font-size: 12px; }
.pp-ly { display: flex; align-items: center; justify-content: center; color: var(--pp-year); font-weight: 700; font-size: 12px; }
.pp-months { flex: 1; padding: 0 6px 10px; }
.pp-month-title { text-align: center; font-weight: 700; padding: 10px 0 4px; cursor: pointer; }
.pp-month-title:hover { color: var(--pp-ink); }
.pp-big { grid-template-columns: repeat(7, 1fr); grid-auto-rows: 34px; font-size: 14px; line-height: 34px; }

/* телефон: шторка на весь экран, пресеты — строка чипов */
.pp-backdrop { position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 1079; }
.pp.pp-sheet { left: 0; right: 0; bottom: 0; top: 0; width: auto; height: auto; border-radius: 0; }
.pp-sheet .pp-body { flex-direction: column; }
.pp-sheet .pp-presets { flex: none; width: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; scrollbar-width: none; }
.pp-sheet .pp-preset { white-space: nowrap; border: 1px solid var(--border) !important; border-radius: 999px !important; padding: 5px 12px !important; }
.pp-sheet .pp-in { width: 78px; }
.pp-sheet .pp-big { grid-auto-rows: 44px; line-height: 44px; font-size: 16px; }

/* ---------- поля, списки и кнопки — единый вид во всём кабинете ---------- */
input:not([type=checkbox]):not([type=radio]), select { font: inherit; color: var(--ink); background-color: #fff; border: 1px solid var(--border); border-radius: 4px; height: 30px; padding: 0 10px; }
select:not([multiple]) { -webkit-appearance: none; appearance: none; padding-right: 32px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px 6px; }
input:not([type=checkbox]):not([type=radio]):hover, select:hover { border-color: #cbc3bf; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.btn, .fb-form button, .form-row button, .inline button, .card button:not(.link):not(.demo-user) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 0 12px; }
.sv-period-btn { min-height: 30px; }

/* доработка в предпросмотре (app/features.py) */
.pv { font-size: 9px; font-weight: 700; color: var(--bad); }
a.chip:hover { text-decoration: none; }
