* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font: 400 var(--fs-m)/1.45 var(--f-ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 800; }
h3 { font-size: var(--fs-l); font-weight: 700; }
.i { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-s); }
.xs { font-size: var(--fs-xs); }
.mono { font-family: var(--f-mono); font-size: .92em; }
.num { text-align: end; white-space: nowrap; }
.row { display: flex; gap: var(--s-2); align-items: center; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: var(--s-2); }
.grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- кнопки: 8 состояний ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border-radius: var(--r-m); border: 0; cursor: pointer;
  font-weight: 600; font-size: var(--fs-m); white-space: nowrap;
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-primary:active:not(:disabled) { background: var(--brand-active); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover:not(:disabled) { background: var(--sunken); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--sunken); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: var(--danger-hover); }
.btn-danger-ghost { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger-soft); }
.btn-danger-ghost:hover:not(:disabled) { background: var(--danger-soft); }
.btn-sm { min-height: 30px; padding: 0 10px; font-size: var(--fs-s); border-radius: 8px; }
.btn-lg { min-height: 46px; padding: 0 18px; font-size: var(--fs-l); }
.btn-block { width: 100%; }
.btn-icon { width: 36px; padding: 0; }
.btn-sm.btn-icon { width: 30px; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- поля ---------- */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: var(--fs-s); color: var(--muted); font-weight: 500; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .err { font-size: var(--fs-xs); color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 36px; padding: 7px 10px; border-radius: var(--r-s);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.input:disabled, .select:disabled { background: var(--sunken); color: var(--muted); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 72px; resize: vertical; }
.input.num { text-align: end; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; user-select: none; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- блоки ---------- */
.card { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-1); padding: var(--s-4); }
.card.flat { box-shadow: inset 0 0 0 1px var(--line); }
.card-dark { background: var(--deep); color: var(--on-deep); }
.card-dark .muted { color: var(--on-deep-2); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; line-height: 1.6; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-bad { background: var(--danger-soft); color: var(--danger); }
.chip-info { background: var(--info-soft); color: var(--info); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }
.chip-mute { background: var(--sunken); color: var(--muted); }
.notice { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--r-m); font-size: var(--fs-s); align-items: flex-start; }
.notice .i { margin-top: 2px; font-size: 15px; }
.notice-warn { background: var(--warn-soft); color: var(--warn); }
.notice-bad { background: var(--danger-soft); color: var(--danger); }
.notice-info { background: var(--info-soft); color: var(--info); }
.notice-ok { background: var(--ok-soft); color: var(--ok); }
.bar { height: 6px; background: var(--sunken); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width var(--t-med) var(--ease); }
.bar.warn > i { background: var(--warn); }
.bar.over > i { background: var(--danger); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.kpi { background: var(--surface); border-radius: var(--r-m); box-shadow: var(--sh-1); padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.kpi b { font: 800 var(--fs-xl)/1.25 var(--f-display); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .i { font-size: 28px; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink); font-size: var(--fs-l); margin-bottom: 4px; }
.skeleton { background: linear-gradient(90deg, var(--sunken), var(--line-2), var(--sunken)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-s); height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- таблицы и списки ---------- */
.table-wrap { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: var(--fs-m); }
.t th { text-align: start; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; background: var(--surface); }
.t td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr.click { cursor: pointer; transition: background var(--t-fast); }
.t tbody tr.click:hover { background: var(--sunken); }
.t tbody tr.sel { background: var(--brand-soft); }
.t th.num, .t td.num { text-align: end; }
.list { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background var(--t-fast); color: var(--ink); }
.li:last-child { border-bottom: 0; }
.li:hover { background: var(--sunken); text-decoration: none; }
.li .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); flex: none; font-size: 16px; }
.li .ic.brand { background: var(--brand-soft); color: var(--brand); }
.li .ic.bad { background: var(--danger-soft); color: var(--danger); }
.li .ic.ok { background: var(--ok-soft); color: var(--ok); }
.li b { font-weight: 600; }
.amount-in { color: var(--ok); }
.tabs { display: inline-flex; gap: 2px; background: var(--sunken); padding: 3px; border-radius: var(--r-m); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-size: var(--fs-s); font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab:focus-visible { outline: none; box-shadow: var(--focus); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.tab .n { margin-inline-start: 4px; color: var(--muted); font-weight: 500; }

/* ---------- раскладка ---------- */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.app > div { min-width: 0; }
.side { background: var(--deep); color: var(--on-deep-2); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 8px; font: 800 16px/1 var(--f-display); color: #fff; padding: 4px 8px 14px; letter-spacing: -.02em; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.side .nav { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--on-deep-2); font-size: var(--fs-m); text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.side .nav:hover { background: var(--deep-2); color: #fff; }
.side .nav:focus-visible { outline: none; box-shadow: var(--focus); }
.side .nav[aria-current="page"] { background: var(--deep-2); color: #fff; font-weight: 600; }
.side .nav .badge { margin-inline-start: auto; background: var(--accent); color: var(--deep); font: 700 10.5px/1 var(--f-ui); padding: 3px 7px; border-radius: 99px; }
.side .label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-deep-2); opacity: .8; padding: 14px 10px 6px; }
.side .company-select { margin: 2px 4px 6px; background: var(--deep-2); color: #fff; border: 1px solid #2a3d61; border-radius: 8px; padding: 7px 8px; }
.side .company-select:focus { outline: none; box-shadow: var(--focus); }
.side .foot { margin-top: auto; padding: 10px; font-size: var(--fs-s); }
.main { min-width: 0; padding: 22px 28px 40px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.page-head h1 { font-size: 26px; }
.page-head .sub { color: var(--muted); margin-top: 2px; }
.topbar, .tabbar { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 12px 12px calc(var(--bar-h) + 24px); }
  .topbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 20; }
  .topbar .co { flex: 1; min-width: 0; }
  .topbar .co small { display: block; font-size: var(--fs-xs); color: var(--muted); }
  .topbar select { border: 0; background: transparent; font: 800 16px var(--f-display); max-width: 100%; padding: 0; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line-2); z-index: 20; justify-content: space-around; align-items: center; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--muted); background: none; border: 0; text-decoration: none; padding: 4px 8px; cursor: pointer; }
  .tabbar .i { font-size: 20px; }
  .tabbar [aria-current="page"] { color: var(--brand); font-weight: 600; }
  .tabbar .fab { width: 46px; height: 46px; border-radius: 15px; background: var(--brand); color: var(--on-brand); justify-content: center; margin-top: -6px; }
  .tabbar .fab .i { font-size: 22px; }
  .page-head h1 { font-size: 22px; }
  .hide-m { display: none !important; }
}
@media (min-width: 901px) { .hide-d { display: none !important; } }

/* ---------- окна ---------- */
.overlay { position: fixed; inset: 0; background: rgba(6, 16, 31, .45); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade var(--t-med) var(--ease); }
.modal { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-2); width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 20px; }
.modal.wide { max-width: 860px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
@media (max-width: 640px) {
  .overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92vh; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@keyframes fade { from { opacity: 0; } }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bar-h) + 16px); z-index: 60; display: flex; flex-direction: column; gap: 6px; align-items: center; }
@media (min-width: 901px) { .toasts { bottom: 24px; } }
.toast { background: var(--deep); color: #fff; padding: 9px 14px; border-radius: var(--r-m); box-shadow: var(--sh-2); font-size: var(--fs-s); max-width: 90vw; animation: fade var(--t-med); }
.toast.bad { background: var(--danger); }

/* ---------- экраны ---------- */
.hero { background: var(--deep); color: #fff; border-radius: var(--r-l); padding: 16px; }
.hero small { color: var(--on-deep-2); }
.hero .big { font: 800 34px/1.1 var(--f-display); letter-spacing: -.02em; }
.hero .accent { color: var(--accent); }
.doc-preview { background: var(--sunken); border-radius: var(--r-l); min-height: 320px; display: grid; place-items: center; overflow: hidden; }
.doc-preview img { max-width: 100%; max-height: 72vh; display: block; }
.doc-preview iframe { width: 100%; height: 72vh; border: 0; background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: var(--s-4); align-items: start; }
@media (max-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > * { min-width: 0; }
.lines-table td { padding: 6px 6px; }
.lines-table .input { min-height: 32px; padding: 5px 8px; }
.totals { display: grid; grid-template-columns: auto auto; gap: 4px 24px; justify-content: end; margin-top: 10px; }
.totals .grand { font: 800 var(--fs-xl) var(--f-display); }
.drop { border: 1.5px dashed var(--line); border-radius: var(--r-l); padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); background: var(--surface); }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.drop:focus-visible { outline: none; box-shadow: var(--focus); }
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--deep); }
.login .card { max-width: 420px; width: 100%; padding: 28px; }
.report td.sub { padding-inline-start: 26px; }
.report tr.total td { font-weight: 700; border-top: 1.5px solid var(--ink); }
.report tr.head td { font-weight: 700; background: var(--sunken); }
.sticky-actions { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 0; border-top: 1px solid var(--line-2); margin-top: 12px; }
@media (max-width: 900px) { .sticky-actions { bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: 8px; } }

/* кнопки действий: на телефоне во всю ширину, главная сверху */
@media (max-width: 640px) {
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions > .btn { width: 100%; min-height: 44px; }
  .page-head > .row { width: 100%; }
  .page-head > .row > .btn { flex: 1; }
  .page-head > .btn { width: 100%; }
  .doc-preview { min-height: 200px; }
  .doc-preview img { max-height: 46vh; }
  .doc-preview iframe { height: 52vh; }
  .tabs { width: 100%; }
  .li { min-height: 56px; }
  .sticky-actions { position: static; border-top: 0; }
}

/* Блоки, которые зависят от ширины карточки, а не экрана: таблица строк в узкой карточке становится списком */
.cq { container-type: inline-size; }
@container (min-width: 641px) { .cq-narrow { display: none !important; } }
@container (max-width: 640px) { .cq-wide { display: none !important; } }
@supports not (container-type: inline-size) {
  @media (min-width: 901px) { .cq-narrow { display: none !important; } }
  @media (max-width: 900px) { .cq-wide { display: none !important; } }
}

/* ---------- языки ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--sunken); }
.lang-switch button { border: 0; background: transparent; color: var(--muted); font: 600 12px/1 var(--f-ui); min-width: 34px; padding: 7px 8px; border-radius: 6px; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button:focus-visible { outline: none; box-shadow: var(--focus); }
.lang-switch button:active { transform: translateY(1px); }
.lang-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.lang-switch.dark { background: var(--deep-2); }
.lang-switch.dark button { color: var(--on-deep-2); }
.lang-switch.dark button:hover { color: var(--on-deep); }
.lang-switch.dark button[aria-pressed="true"] { background: var(--brand); color: #fff; box-shadow: none; }
.lang-btn { font-weight: 700; min-width: 40px; }
button.li { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; font: inherit; text-align: start; }
button.li:last-child { border-bottom: 0; }
button.li:focus-visible { outline: none; box-shadow: inset var(--focus); }
button.li[aria-pressed="true"] { color: var(--brand); }
:lang(ar) { --f-ui: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif; --f-display: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif; }
/* арабская вязь рвётся от разрядки и не знает заглавных */
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] .t th, [dir="rtl"] .side .label { text-transform: none; }
/* стрелки «назад» и «дальше» смотрят в сторону чтения */
[dir="rtl"] .i-back, [dir="rtl"] .i-right { transform: scaleX(-1); }
/* суммы и номера внутри арабского текста не переворачиваются */
[dir="rtl"] .num, [dir="rtl"] .mono, [dir="rtl"] input[type="date"], [dir="rtl"] input[inputmode="decimal"] { unicode-bidi: isolate; }
/* латинский текст (описания из выписки, названия) в арабском интерфейсе обрезается с конца, а не с начала */
[dir="rtl"] .ellipsis { unicode-bidi: plaintext; text-align: right; }

/* поиск документов */
.search-box { position: relative; display: flex; align-items: center; max-width: 640px; }
.search-box > .i { position: absolute; inset-inline-start: 12px; color: var(--muted); pointer-events: none; }
.search-box .input { padding-inline-start: 38px; min-height: 44px; font-size: var(--fs-l); }
.search-box .spin { position: absolute; inset-inline-end: 12px; color: var(--muted); }
.brand img { border-radius: 6px; background: #fff; padding: 2px; }
.login .logo-full { height: 64px; width: auto; display: block; }

/* банковские счета и лицензия */
.li.is-off { opacity: .6; }
.licence-fill { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-m); background: var(--sunken); }
.licence-fill .notice { flex-basis: 100%; }
.licence-fill label.btn[aria-busy="true"] { cursor: progress; opacity: .8; }
.licence-fill label.btn:focus-within { box-shadow: var(--focus); }

.danger-zone { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-2); }
@media (max-width: 600px) {
  .li.acct { flex-wrap: wrap; }
  .li.acct .acct-actions { flex-basis: 100%; justify-content: flex-start !important; padding-inline-start: 42px; }
}

.question { border: 1px solid var(--warn); background: var(--warn-soft); border-radius: var(--r-m); padding: 12px; }
@media (max-width: 900px) {
  .tab { min-height: 38px; }
  .topbar .btn-sm { min-height: 40px; min-width: 40px; }
  .tabs { mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
  [dir="rtl"] .tabs { mask-image: linear-gradient(to left, #000 calc(100% - 24px), transparent); }
}

.leads summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.leads summary::-webkit-details-marker { display: none; }
.leads summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.flash { animation: flash 1.6s ease-out 1; }
@keyframes flash { 0%, 40% { background: var(--brand-soft); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; background: var(--brand-soft); } }
/* шкала загрузки документов */
.upl-total { background: var(--sunken); border-radius: var(--r-m); padding: 12px 14px; }
.upl-total .bar { height: 8px; background: var(--surface); }
.li .bar { height: 4px; }
/* помощь и замечания */
.side .nav-btn { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: start; margin-top: auto; }
.help-tips { margin: 0 0 16px; padding-inline-start: 20px; display: grid; gap: 6px; font-size: var(--fs-m); }
.help-report { border-top: 1px solid var(--line); padding-top: 14px; }
.side .nav-btn + .foot { margin-top: 0; }
