/* СистемаСклад — стили прототипа. Без внешних зависимостей. */

:root {
  --c-bg: #f4f6fa;
  --c-surface: #ffffff;
  --c-surface-2: #f8fafc;
  --c-border: #e2e7ef;
  --c-border-strong: #cfd6e2;
  --c-text: #16202e;
  --c-text-2: #5b6878;
  --c-text-3: #8a97a8;
  --c-primary: #1d4ed8;
  --c-primary-dark: #1739a8;
  --c-primary-soft: #e8efff;
  --c-sidebar: #111c31;
  --c-sidebar-2: #1a2742;
  --c-ok: #137a4b;
  --c-ok-soft: #e4f6ec;
  --c-warn: #9a6207;
  --c-warn-soft: #fdf3e0;
  --c-danger: #b3261e;
  --c-danger-soft: #fdeceb;
  --c-info: #0f5f8a;
  --c-info-soft: #e5f3fb;
  --c-violet: #5b2bb8;
  --c-violet-soft: #f0eaff;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --sh-1: 0 1px 2px rgba(16, 28, 48, .06), 0 1px 3px rgba(16, 28, 48, .05);
  --sh-2: 0 4px 16px rgba(16, 28, 48, .08);
  --sh-3: 0 18px 50px rgba(10, 18, 34, .25);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }

a { color: var(--c-primary); }

/* ---------- каркас ---------- */
.app {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--c-sidebar);
  color: #cdd6e6;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand__logo {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: linear-gradient(140deg, #2f6bff, #1739a8);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  letter-spacing: .02em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand__text strong { color: #fff; font-size: 15px; }
.brand__text span { font-size: 11.5px; color: #8e9db8; }

.nav { padding: 12px 10px; overflow-y: auto; flex: 1; }

.nav__group {
  padding: 14px 10px 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #6c7e9c;
  font-weight: 700;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 2px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: #c3cde0;
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.nav__item:hover { background: var(--c-sidebar-2); color: #fff; }

.nav__item.is-active {
  background: linear-gradient(90deg, rgba(47, 107, 255, .26), rgba(47, 107, 255, .08));
  color: #fff;
  box-shadow: inset 2px 0 0 #4b82ff;
}

.nav__ico { width: 18px; text-align: center; flex: 0 0 18px; opacity: .9; }
.nav__label { flex: 1; min-width: 0; }

.nav__count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .12);
  color: #e8eefb;
  border-radius: 999px;
  padding: 1px 7px;
  min-width: 22px;
  text-align: center;
}

.nav__item.is-active .nav__count { background: rgba(255, 255, 255, .2); }

.sidebar__foot {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.sidebar__actions { display: grid; gap: 7px; }
.sidebar__actions .btn { width: 100%; justify-content: center; }

.permission-matrix-wrap { max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; }
.permission-matrix { table-layout: fixed; min-width: 760px; }
.permission-matrix .permission-action-head { width: min(360px, 42vw); position: sticky; left: 0; z-index: 3; background: var(--c-surface-2); box-shadow: 2px 0 4px rgba(15, 23, 42, .08); }
table.table.permission-matrix tbody td.permission-action { position: sticky; left: 0; z-index: 2; width: min(360px, 42vw); background: var(--c-surface); box-shadow: 2px 0 4px rgba(15, 23, 42, .08); text-align: left; }
table.table.permission-matrix .permission-role-head { width: 120px; padding: 9px 6px; text-align: center; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
table.table.permission-matrix td.permission-cell { width: 120px; padding: 9px 6px; text-align: center; vertical-align: middle; }
.permission-matrix .permission-action .t-sub { overflow-wrap: anywhere; }
.permission-toggle { display: inline-flex; width: 100%; justify-content: center; align-items: center; cursor: pointer; }
.permission-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.permission-toggle span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border: 1px solid var(--c-border); border-radius: 6px; color: var(--c-text-2); background: var(--c-surface); }
.permission-toggle input:checked + span { color: white; background: var(--c-primary); border-color: var(--c-primary); }
.permission-toggle input:focus-visible + span { outline: 3px solid rgba(29, 78, 216, .2); }
.permission-checkbox { width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); cursor: pointer; vertical-align: middle; }
.permission-checkbox:focus-visible { outline: 3px solid rgba(29, 78, 216, .2); outline-offset: 2px; }
.sidebar__hint { font-size: 11px; color: #71809b; margin-top: 8px; line-height: 1.4; }

.main { display: flex; flex-direction: column; min-width: 0; max-width: 100%; overflow-x: hidden; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.topbar__title { flex: 1; min-width: 0; }
.topbar__title h1 { font-size: 19px; }
.topbar__title p { margin: 2px 0 0; font-size: 12.5px; color: var(--c-text-2); }
.topbar__right { display: flex; align-items: center; gap: 16px; }

.role { display: flex; align-items: center; gap: 7px; }
.role label { font-size: 12px; color: var(--c-text-2); }

.user { display: flex; align-items: center; gap: 9px; }

.user__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12.5px;
}

.user__text { display: flex; flex-direction: column; line-height: 1.25; }
.user__text strong { font-size: 13px; }
.user__text span { font-size: 11.5px; color: var(--c-text-2); }

.iconbtn {
  display: none;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: var(--r-sm);
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 15px;
}

.content { padding: 22px 24px 48px; min-width: 0; overflow-x: hidden; }
.catalogs-card--permissions { min-width: 0; max-width: 100%; overflow: hidden; }

/* ---------- элементы ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
}

.card__head h3 { font-size: 15px; flex: 1; min-width: 160px; }
.card__head p { margin: 2px 0 0; font-size: 12px; color: var(--c-text-2); font-weight: 400; }
.card__body { padding: 16px; }
.card__body--flush { padding: 0; }

.grid { display: grid; gap: 16px; }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack { display: grid; gap: 16px; }

.kpi { padding: 15px 16px; }
.kpi__label { font-size: 12px; color: var(--c-text-2); display: flex; align-items: center; gap: 7px; }
.kpi__value { font-size: 25px; font-weight: 700; margin-top: 7px; letter-spacing: -.02em; }
.kpi__sub { font-size: 11.5px; color: var(--c-text-3); margin-top: 3px; }
.kpi--accent { border-left: 3px solid var(--c-primary); }
.kpi--warn { border-left: 3px solid var(--c-warn); }
.kpi--ok { border-left: 3px solid var(--c-ok); }
.kpi--danger { border-left: 3px solid var(--c-danger); }

/* кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
  border-radius: var(--r-sm);
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, border-color .12s, box-shadow .12s;
}

.btn:hover { background: var(--c-surface-2); border-color: #c3ccda; }
.btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }

.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn--ok { background: var(--c-ok); border-color: var(--c-ok); color: #fff; }
.btn--ok:hover { background: #0f6540; border-color: #0f6540; }
.btn--danger { background: #fff; border-color: #e7b9b6; color: var(--c-danger); }
.btn--danger:hover { background: var(--c-danger-soft); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .18); color: #c9d4e6; width: 100%; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--sm { padding: 5px 10px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.btnrow { display: flex; flex-wrap: wrap; gap: 8px; }

.catalog-nav {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.catalog-nav__title {
  color: var(--c-text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.catalog-nav { min-width: 0; max-width: 100%; overflow: hidden; }
.catalog-nav .btnrow { gap: 7px; min-width: 0; max-width: 100%; overflow: hidden; }
.catalogs-card--permissions > * { min-width: 0; max-width: 100%; }

/* поля */
.input, select.input, textarea.input {
  width: 100%;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 8px 11px;
  font: inherit;
  font-size: 13px;
  color: var(--c-text);
}

.input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.input--sm { padding: 6px 9px; font-size: 12.5px; }
textarea.input { resize: vertical; min-height: 68px; }
select.input { cursor: pointer; }

.field { display: grid; gap: 5px; }
.field > label { font-size: 12px; color: var(--c-text-2); font-weight: 550; }
.field__hint { font-size: 11.5px; color: var(--c-text-3); }
.field--error .input { border-color: var(--c-danger); }
.field__error { font-size: 11.5px; color: var(--c-danger); }

.formgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.formgrid .col-2 { grid-column: span 2; }
.report-dates { grid-column: span 2; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 640px) {
  .report-dates { grid-column: span 1; grid-template-columns: 1fr; }
}

/* тулбар фильтров */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.toolbar__search { position: relative; flex: 1 1 240px; min-width: 190px; }
.toolbar__search .input { padding-left: 31px; }

.toolbar__search::before {
  content: "⌕";
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-52%);
  color: var(--c-text-3);
  font-size: 15px;
}

.toolbar__spacer { flex: 1; }
.toolbar select.input { flex: 0 1 auto; width: auto; min-width: 140px; }

/* Панель склада: вкладки слева, операции справа в одной строке */
.warehouse-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 16px;
  background: var(--c-surface-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.warehouse-toolbar__tabs,
.warehouse-toolbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.warehouse-toolbar__actions { margin-left: auto; justify-content: flex-end; }

@media (max-width: 900px) {
  .warehouse-toolbar__actions { margin-left: 0; }
}

/* таблица */
.table-wrap { overflow-x: auto; }

table.table { width: 100%; border-collapse: collapse; font-size: 13px; }

table.table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .055em;
  color: var(--c-text-2);
  font-weight: 700;
  padding: 10px 14px;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}

table.table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eef1f6;
  vertical-align: middle;
}

table.table tbody tr:last-child td { border-bottom: 0; }
table.table tbody tr.is-clickable { cursor: pointer; }
table.table tbody tr.is-clickable:hover { background: #f7f9ff; }
.td-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.table th.td-num { text-align: right; }
.td-actions { text-align: right; white-space: nowrap; }
.t-code { font-weight: 650; color: var(--c-primary-dark); white-space: nowrap; }
.t-muted { color: var(--c-text-2); }
.t-sub { font-size: 11.5px; color: var(--c-text-3); }
.t-nowrap { white-space: nowrap; }

.empty { padding: 44px 20px; text-align: center; color: var(--c-text-2); }
.empty__ico { font-size: 28px; opacity: .45; }
.empty p { margin: 8px 0 0; font-size: 13px; }

/* бейджи */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
  border: 1px solid transparent;
}

.badge--gray { background: #eef1f6; color: #4a5767; border-color: #e0e5ee; }
.badge--blue { background: var(--c-primary-soft); color: var(--c-primary-dark); border-color: #cfdeff; }
.badge--info { background: var(--c-info-soft); color: var(--c-info); border-color: #cde9f7; }
.badge--warn { background: var(--c-warn-soft); color: var(--c-warn); border-color: #f6e3c0; }
.badge--ok { background: var(--c-ok-soft); color: var(--c-ok); border-color: #c8ebd8; }
.badge--danger { background: var(--c-danger-soft); color: var(--c-danger); border-color: #f5cdca; }
.badge--violet { background: var(--c-violet-soft); color: var(--c-violet); border-color: #ddd0fb; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--c-text-2);
}

/* прогресс */
.bar { height: 7px; border-radius: 999px; background: #e9edf4; overflow: hidden; min-width: 80px; }
.bar > i { display: block; height: 100%; background: var(--c-primary); border-radius: 999px; }
.bar > i.is-ok { background: var(--c-ok); }
.bar > i.is-warn { background: var(--c-warn); }

/* маршрут процесса */
.route { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }

.route__step {
  flex: 1 1 130px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  background: var(--c-surface-2);
  min-width: 128px;
}

.route__step.is-done { background: var(--c-ok-soft); border-color: #c8ebd8; }
.route__step.is-current { background: var(--c-primary-soft); border-color: #bcd2ff; box-shadow: 0 0 0 2px rgba(29, 78, 216, .12); }
.route__n { font-size: 10.5px; font-weight: 700; color: var(--c-text-3); letter-spacing: .06em; }
.route__t { font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.route__v { font-size: 11.5px; color: var(--c-text-2); margin-top: 2px; }

/* таймлайн */
.timeline { display: grid; gap: 0; }

.timeline__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding-bottom: 14px;
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 10px; top: 20px; bottom: 0;
  width: 1px;
  background: var(--c-border);
}

.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }

.timeline__dot {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  display: grid; place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  z-index: 1;
}

.timeline__body strong { font-size: 13px; display: block; }
.timeline__body span { font-size: 11.5px; color: var(--c-text-2); }

/* описание / свойства */
.props { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.prop__k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-3); font-weight: 700; }
.prop__v { font-size: 13.5px; margin-top: 2px; }

.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-2); font-weight: 700; margin: 0 0 9px; }

.notice {
  padding: 11px 13px;
  border-radius: var(--r-md);
  font-size: 12.5px;
  border: 1px solid;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.notice--info { background: var(--c-info-soft); border-color: #cde9f7; color: #0b4e71; }
.notice--warn { background: var(--c-warn-soft); border-color: #f6e3c0; color: #7a4e06; }
.notice--ok { background: var(--c-ok-soft); border-color: #c8ebd8; color: #0e6440; }

/* модальное окно */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 20, 36, .5);
  display: grid;
  place-items: start center;
  padding: 36px 16px;
  overflow-y: auto;
}

.modal-root[hidden] { display: none; }

.modal {
  width: 100%;
  max-width: 760px;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  animation: pop .14s ease-out;
}

.modal--wide { max-width: 980px; }
.modal--narrow { max-width: 480px; }

@keyframes pop {
  from { transform: translateY(8px) scale(.99); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-border);
}

.modal__head h2 { font-size: 16px; flex: 1; }
.modal__head p { margin: 3px 0 0; font-size: 12.5px; color: var(--c-text-2); font-weight: 400; }

.modal__close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--c-text-3);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--r-sm);
}

.modal__close:hover { background: var(--c-surface-2); color: var(--c-text); }
.modal__body { padding: 18px; }

.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  flex-wrap: wrap;
}

.modal__foot .spacer { flex: 1; }

/* позиции в формах */
.lines { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.lines table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lines th { background: var(--c-surface-2); font-size: 10.5px; }
.lines th, .lines td { padding: 7px 9px; border-bottom: 1px solid #eef1f6; text-align: left; }
.lines tr:last-child td { border-bottom: 0; }
.lines .input { padding: 5px 8px; font-size: 12.5px; }
.lines__foot { padding: 9px; background: var(--c-surface-2); display: flex; align-items: center; gap: 10px; }
.lines__total { margin-left: auto; font-weight: 700; font-size: 13px; }
.linedel { border: 0; background: transparent; color: var(--c-danger); cursor: pointer; font-size: 15px; padding: 2px 6px; border-radius: var(--r-sm); }
.linedel:hover { background: var(--c-danger-soft); }

/* тосты */
.toast-root {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 200;
  display: grid;
  gap: 9px;
  justify-items: end;
}

.toast {
  background: #15223a;
  color: #fff;
  padding: 11px 15px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  font-size: 13px;
  max-width: 380px;
  animation: slide .16s ease-out;
  display: flex;
  gap: 9px;
  align-items: center;
}

.toast--ok { background: #10603f; }
.toast--err { background: #8f201a; }

@keyframes slide {
  from { transform: translateX(14px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* диаграммы */
.hbars { display: grid; gap: 11px; }
.hbar__top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; gap: 10px; }
.hbar__top span:last-child { color: var(--c-text-2); font-variant-numeric: tabular-nums; }

.spark { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding-top: 6px; }
.spark__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; align-items: center; }
.spark__bar { width: 100%; background: var(--c-primary-soft); border-radius: 4px 4px 0 0; min-height: 3px; }
.spark__bar.is-paid { background: var(--c-primary); }
.spark__lbl { font-size: 10.5px; color: var(--c-text-3); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--c-text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }

/* адаптив */
@media (max-width: 1000px) {
  .app { grid-template-columns: 1fr; }
  .iconbtn { display: block; }
  .sidebar {
    position: fixed;
    z-index: 60;
    width: 252px;
    left: 0; top: 0;
    transform: translateX(-104%);
    transition: transform .18s ease-out;
    box-shadow: var(--sh-3);
  }
  .sidebar.is-open { transform: none; }
  .formgrid { grid-template-columns: 1fr; }
  .formgrid .col-2 { grid-column: span 1; }
  .user__text { display: none; }
  .content { padding: 16px 14px 40px; }
  .topbar { padding: 12px 14px; }
}
