/* BERONG AI. The BFP-NHQ VMS design: red and white, Barlow, white sidebar with the open page in red.
   Gold is kept for "needs attention" only. */
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url('/fonts/barlow/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url('/fonts/barlow/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url('/fonts/barlow/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url('/fonts/barlow/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-semi-condensed/barlow-semi-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-semi-condensed/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --font-ui: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-cond: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --radius-sm: 7px; --radius: 10px; --radius-lg: 14px; --radius-xl: 16px;
  --sb-w: 248px; --sb-w-rail: 72px; --tb-h: 58px;
  --red: #8b1a1a; --red-2: #721515; --red-3: #4a0d0d;
  --bg: #f6f4f4; --surface: #ffffff; --surface-2: #faf8f8; --surface-3: #f2eeee;
  --border: #e7e2e2; --border-strong: #d8d0d0;
  --text: #1d1b1b; --text-2: #575252; --text-3: #6d6767;
  --brand: var(--red); --brand-hover: var(--red-2); --brand-soft: #fbeaea; --brand-soft-2: #f3d0d0; --brand-text: #8b1a1a;
  --gold: #f3c324; --gold-ink: #3a2a00; --gold-soft: #fff5d1; --gold-text: #6b5100; --gold-line: #c9a227;
  --bad: #b91f17; --bad-soft: #fbe4e2; --bad-text: #8e1a13;
  --info: #0a6aa6; --info-soft: #e0f0fc; --info-text: #0b5a8f;
  --ok-soft: #e2f2e7; --ok-text: #135e31;
  --shadow: 0 1px 2px rgba(40, 18, 18, 0.05), 0 2px 10px rgba(40, 18, 18, 0.04);
  --shadow-pop: 0 12px 32px rgba(40, 18, 18, 0.18), 0 2px 6px rgba(40, 18, 18, 0.08);
  --sb-text: #2b2626; --sb-muted: #6d6767; --sb-border: #eee7e7;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-ui); font-size: 14.5px; line-height: 1.4; color: var(--text); background: var(--bg); -webkit-text-size-adjust: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
.muted { color: var(--text-3); }
.grow { flex: 1 1 auto; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background 0.12s, border-color 0.12s; }
.btn:hover { background: var(--surface-3); text-decoration: none; }
.btn[disabled], .btn.is-busy { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-soft { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); }
.btn-soft:hover { background: var(--brand-soft-2); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15.5px; border-radius: 11px; }
.btn-block { width: 100%; }
.icon-btn { width: 38px; padding: 0; border-radius: 10px; border-color: var(--border); }
.icon-btn svg { width: 18px; height: 18px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.hint { font-size: 12px; color: var(--text-3); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-width: 0; height: 38px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 14.5px; }
.textarea { height: auto; min-height: 84px; padding: 9px 11px; resize: vertical; line-height: 1.45; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input-lg { height: 48px; font-size: 17px; border-radius: 11px; }
.input.need, .textarea.need { border: 1.5px solid var(--gold-line); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.pw button svg { width: 20px; height: 20px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.check input, td input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-width: 0; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; min-width: 0; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.card-sub { font-size: 12.5px; color: var(--text-3); }
.card-body { padding: 14px 18px 18px; min-width: 0; }
.card-foot { padding: 10px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.board-label { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.07em; font-size: 14px; font-weight: 700; color: var(--text-2); }
.panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: 13.5px; }
.note { border-radius: var(--radius); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.note.info { background: var(--info-soft); color: var(--info-text); }
.note.gold { background: var(--gold-soft); color: var(--gold-text); }
.note.bad { background: var(--bad-soft); color: var(--bad-text); }
.empty { padding: 28px 20px; text-align: center; color: var(--text-2); }

/* tiles */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 13px 14px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; color: var(--text); }
a.tile:hover { text-decoration: none; border-color: var(--border-strong); }
.tile-label { font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.tile-value { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.tile-note { font-size: 12.5px; color: var(--text-3); }
.tile.gold { background: var(--gold-soft); border-color: #e9c95a; }
.tile.gold .tile-label, .tile.gold .tile-note { color: var(--gold-text); font-weight: 600; }
button.tpl { cursor: pointer; border-width: 1.5px; min-height: 92px; }
button.tpl[aria-pressed=true] { background: var(--brand-soft); border-color: var(--red); }
.tpl-name { font-size: 17px; font-weight: 700; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-3); color: var(--text-2); border: 1px solid transparent; line-height: 1; }
.chip.brand { background: var(--brand-soft); color: var(--brand-text); }
.chip.gold { background: var(--gold-soft); color: var(--gold-text); }
.chip.ok { background: var(--ok-soft); color: var(--ok-text); }
.chip.info { background: var(--info-soft); color: var(--info-text); }
.chip.bad { background: var(--bad-soft); color: var(--bad-text); }
.chip.line { background: transparent; color: var(--text-3); border-color: var(--border-strong); }
.chip.lg { height: 27px; padding: 0 10px; font-size: 12.5px; }
.chip.solid { background: var(--red); color: #fff; }
.count { font-size: 11.5px; padding: 1px 7px; border-radius: 99px; font-weight: 700; background: #f3e6e6; color: var(--red); }
.count.alert { background: var(--gold); color: var(--gold-ink); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.card .table-wrap { border: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
table.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { background: var(--surface-2); text-align: left; font-weight: 600; color: var(--text-2); font-size: 12.5px; padding: 0 12px; height: 40px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 8px 12px; height: 52px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
.table .r { text-align: right; white-space: nowrap; }
.table .sub { font-size: 12.5px; color: var(--text-3); }
.table tr.off td { background: var(--surface-2); color: var(--text-3); }
.table tr.off .sample { text-decoration: line-through; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand-text); font-weight: 600; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }

/* tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 13px; min-height: 44px; font-size: 14px; color: var(--text-2); font-weight: 600; white-space: nowrap; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.tabs button[aria-pressed=true] { color: var(--brand-text); border-bottom-color: var(--brand); }

/* shell */
.app { display: flex; min-height: 100vh; min-height: 100dvh; }
.sidebar { position: sticky; top: 0; align-self: flex-start; height: 100vh; height: 100dvh; width: var(--sb-w); flex: none; background: var(--surface); color: var(--sb-text); border-right: 1px solid var(--sb-border); display: flex; flex-direction: column; z-index: 40; }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; min-height: 64px; }
.sb-brand img { width: 40px; height: 40px; flex: none; object-fit: contain; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); }
.sb-title { display: flex; flex-direction: column; min-width: 0; }
.sb-title b { font-family: var(--font-cond); font-size: 19px; letter-spacing: 0.04em; line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
.sb-title span { font-size: 11.5px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-nav { flex: 1 1 auto; overflow-y: auto; padding: 4px 10px 12px; }
.sb-group { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sb-muted); padding: 14px 10px 6px; font-weight: 600; white-space: nowrap; }
.sb-item { display: flex; align-items: center; gap: 11px; width: 100%; color: var(--sb-text); padding: 8px 10px; border-radius: 9px; font-size: 14px; min-height: 40px; text-decoration: none; white-space: nowrap; position: relative; }
.sb-item:hover { background: var(--brand-soft); text-decoration: none; }
.sb-item[aria-current=page] { background: var(--brand-soft); color: var(--red); font-weight: 600; }
.sb-item svg { width: 18px; height: 18px; flex: none; }
.sb-item .count { margin-left: auto; }
.sb-foot { border-top: 1px solid var(--sb-border); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sb-user { display: flex; align-items: center; gap: 10px; padding: 6px; min-width: 0; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.sb-user-meta { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.sb-user-meta b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-meta span { font-size: 11.5px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--tb-h); display: flex; align-items: center; gap: 10px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.tb-menu { display: none; }
.scope { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.scope svg { width: 16px; height: 16px; flex: none; }
.scope b { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.page { padding: 22px 24px 40px; width: 100%; display: flex; flex-direction: column; gap: 18px; min-width: 0; flex: 1; }
.page-head { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.page-head .sub { color: var(--text-2); margin-top: 4px; font-size: 14px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.cols { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.cols > .a { flex: 1.3 1 420px; min-width: 0; }
.cols > .b { flex: 1 1 340px; min-width: 0; }
.cols.stretch { align-items: stretch; }
.scrim { display: none; }

/* generate */
.field-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.field-row:last-child { border-bottom: 0; }
.field-row.need { background: #fffbeb; }
.field-row .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.paper { background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow-pop); padding: 30px 34px 36px; font-family: 'Times New Roman', Tinos, serif; font-size: 14px; line-height: 1.5; max-height: 720px; overflow-y: auto; }
.paper p { margin: 0 0 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.paper mark { padding: 0 3px; color: inherit; }
.paper mark.typed { background: var(--surface-3); }
.paper mark.archive { background: var(--info-soft); }
.paper mark.ai { background: var(--brand-soft); }
.paper mark.need { background: var(--gold-soft); outline: 1px dashed var(--gold-line); }
.actionbar { position: sticky; bottom: 0; margin: auto -24px -40px; padding: 10px 24px; background: var(--surface); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; z-index: 5; }
.badge-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 12.5px; }
.done-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--ok-soft); color: var(--ok-text); display: grid; place-items: center; flex: none; }
.done-mark svg { width: 20px; height: 20px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }

/* bars */
.bar { height: 10px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 10px; border-radius: 5px; background: var(--info); }
.bar > i.first { background: var(--red); }
.split { display: flex; gap: 2px; height: 16px; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* sign-in */
.auth { min-height: 100vh; min-height: 100dvh; padding: 32px 16px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 940px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-pop); display: flex; flex-wrap: wrap; overflow: hidden; }
.auth-art { flex: 1 1 300px; padding: 36px 32px; background: var(--surface-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.auth-art img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.auth-name { font-family: var(--font-cond); font-weight: 700; font-size: 32px; letter-spacing: 0.04em; line-height: 1.05; text-transform: uppercase; color: var(--red); }
.auth-feat { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3f3a3a; }
.auth-feat svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--red); }
.auth-form { flex: 1.3 1 360px; min-width: 0; padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-form h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }

/* modal + toast */
.modal-scrim { position: fixed; inset: 0; background: rgba(30, 10, 10, 0.48); display: grid; place-items: center; padding: 16px; z-index: 100; }
.modal { width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; }
.modal.wide { max-width: 720px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 17px; font-weight: 700; flex: 1; }
.modal-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.secret { font-family: var(--font-mono); font-size: 17px; font-weight: 500; padding: 10px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); user-select: all; overflow-wrap: anywhere; }
.excerpt { white-space: pre-wrap; font-size: 13.5px; line-height: 1.5; max-height: 50vh; overflow-y: auto; }
.toasts { position: fixed; right: 16px; top: 70px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: #2b2626; color: #fff; padding: 11px 14px; border-radius: 10px; box-shadow: var(--shadow-pop); font-size: 14px; }
.toast.bad { background: var(--bad); }

/* tablets: the sidebar becomes a rail of icons */
@media (max-width: 1023px) {
  .sidebar { width: var(--sb-w-rail); }
  .sb-title, .sb-item span.sb-label, .sb-group, .sb-user-meta, .sb-item .count, .sb-foot .btn span { display: none; }
  .sb-item { justify-content: center; padding: 9px 0; min-height: 44px; }
  .sb-brand { justify-content: center; padding: 16px 8px 12px; }
  .sb-user { justify-content: center; }
  .sb-foot .btn { padding: 0; }
  .sb-item .count.alert { display: block; position: absolute; top: 4px; right: 10px; min-width: 9px; width: 9px; height: 9px; padding: 0; font-size: 0; }
}
/* phones: the sidebar is a drawer opened from the top bar */
@media (max-width: 700px) {
  .sidebar { position: fixed; left: 0; top: 0; width: min(280px, 84vw); transform: translateX(-102%); transition: transform 0.18s; }
  .app.drawer .sidebar { transform: none; box-shadow: var(--shadow-pop); }
  .app.drawer .scrim { display: block; position: fixed; inset: 0; background: rgba(30, 10, 10, 0.48); z-index: 35; border: 0; }
  .sb-title, .sb-item span.sb-label, .sb-group, .sb-user-meta, .sb-foot .btn span { display: revert; }
  .sb-title { display: flex; }
  .sb-user-meta { display: flex; }
  .sb-item { justify-content: flex-start; padding: 8px 10px; }
  .sb-item .count, .sb-item .count.alert { display: inline-block; position: static; width: auto; min-width: 0; height: auto; padding: 1px 7px; font-size: 11.5px; }
  .sb-brand { justify-content: flex-start; padding: 16px 16px 12px; }
  .sb-user { justify-content: flex-start; }
  .sb-foot .btn { padding: 0 14px; }
  .tb-menu { display: inline-flex; }
  .topbar { padding: 0 12px; }
  .clock { display: none; }
  .page { padding: 16px 14px 32px; }
  .actionbar { margin: auto -14px -32px; padding: 10px 14px; }
  .auth-art { border-right: 0; border-bottom: 1px solid var(--border); padding: 24px 22px; }
  .auth-art img { width: 72px; height: 72px; }
  .auth-form { padding: 22px; }
  .paper { padding: 20px 18px; }
  .btn, .tabs button, .input, .select { min-height: 44px; }
  .btn-sm { min-height: 40px; }
}
