/* Logist AI — umumiy uslublar: sayt, kirish, kabinet, admin panel.
   Tamoyillar: 8px to'r, bitta urg'u rangi, 6–8px radius, soyasiz chegaralar, tizim shrifti. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --bg: #f6f7f9;
  --card: #ffffff;
  --line: #e1e4e9;
  --line-strong: #c9ced6;
  --hover: #f3f4f6;

  --text: #1b1f27;
  --muted: #626b79;
  --faint: #8b93a1;

  --accent: #1e4fc7;
  --accent-hover: #183fa0;
  --accent-bg: #edf2fd;

  --ok: #17794a;
  --ok-bg: #e6f4ec;
  --bad: #b4321f;
  --bad-bg: #fbeae7;
  --warn: #8a5a00;
  --warn-bg: #fdf2d4;

  --side: #ffffff;
  --side-text: #4a5261;

  --r: 6px;
  --r-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.5 var(--font); color: var(--text); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 16px; letter-spacing: -.01em; }
h2 { font-size: 15px; line-height: 24px; font-weight: 600; margin: 32px 0 8px; }
p { margin: 0 0 8px; }
code { font: 12.5px var(--mono); background: #eff1f4; padding: 1px 5px; border-radius: 4px; }
img { max-width: 100%; }

/* ---------- tugmalar ---------- */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: #fff; color: var(--text); font: 500 13px/16px var(--font);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .12s, border-color .12s;
}
button:hover, .btn:hover { background: var(--hover); text-decoration: none; }
button:active, .btn:active { background: #e9ebef; }
button.p, .btn.p { background: var(--accent); border-color: var(--accent); color: #fff; }
button.p:hover, .btn.p:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button.d, .btn.d { color: var(--bad); }
button.d:hover, .btn.d:hover { background: var(--bad-bg); border-color: #e2b4ab; }
button.g, .btn.g { color: var(--ok); }
button:disabled, button[disabled], .btn.off { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.lg { padding: 11px 20px; font-size: 15px; line-height: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- maydonlar ---------- */
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  font: 13px/20px var(--font); padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: #fff; color: var(--text);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:disabled, select:disabled, textarea:disabled { background: var(--hover); color: var(--muted); }
textarea { width: 100%; min-height: 96px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
label { cursor: default; }
form.i { display: inline; }

/* ---------- jadval ---------- */
table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
th, td { padding: 8px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 13px; }
th { font-size: 12px; font-weight: 600; color: var(--muted); background: #fafbfc; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #fafbfc; }
.tw { overflow-x: auto; }
.num { font-variant-numeric: tabular-nums; }
.empty { padding: 24px 16px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ---------- konteynerlar ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 16px; }
.card .l { font-size: 12px; color: var(--muted); }
.card .v { font-size: 22px; line-height: 28px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.card .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 12px; }
.kv div:nth-child(odd) { color: var(--muted); }
.pre { white-space: pre-wrap; word-break: break-word; }
td.pre { vertical-align: top; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { display: flex; gap: 6px; align-items: center; }

/* ---------- holat va xabarlar ---------- */
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); } .muted { color: var(--muted); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; line-height: 18px; white-space: nowrap; }
.p-admin, .p-paid, .p-sent, .p-approved, .p-active { background: var(--ok-bg); color: var(--ok); }
.p-trial, .p-free, .p-pending, .p-null { background: var(--accent-bg); color: var(--accent); }
.p-expired, .p-slowmode, .p-duplicate, .p-closed { background: var(--warn-bg); color: var(--warn); }
.p-stopped, .p-flood, .p-forbidden, .p-error, .p-rejected { background: var(--bad-bg); color: var(--bad); }
.badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; font-size: 11px; line-height: 18px; text-align: center; background: var(--bad); color: #fff; font-weight: 600; }
.flash { padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 16px; font-size: 13px; }
.flash.ok { background: var(--ok-bg); border-color: #bcdfca; color: #0f5a36; }
.flash.bad { background: var(--bad-bg); border-color: #efc5bd; color: #8a2414; }
.flash.warn { background: var(--warn-bg); border-color: #ecd9a3; color: #6b4600; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--line-strong); }
.dot.on { background: var(--ok); }
.lead { color: var(--muted); margin: -8px 0 16px; max-width: 720px; }

/* ---------- tablar ---------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 8px 12px; color: var(--muted); font-size: 13.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); border-bottom-color: var(--accent); font-weight: 500; }

/* ---------- grafik va log (admin) ---------- */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 6px; }
.grid2 > * { min-width: 0; }
.chart .col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart .bar { width: 100%; max-width: 32px; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; }
.chart .b1 { background: var(--accent); } .chart .b2 { background: #c8452f; } .chart .b3 { background: #2f8f5b; }
.chart .n { font-size: 11px; color: var(--muted); margin-bottom: 2px; } .chart .d { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.log { background: #14181f; color: #cfd6e0; font: 12px/1.45 var(--mono); padding: 12px; border-radius: var(--r-lg); max-height: 480px; overflow: auto; white-space: pre-wrap; }

/* ================= admin panel ================= */
body.admin { display: flex; min-height: 100vh; }
aside { width: 224px; flex: none; background: var(--side); border-right: 1px solid var(--line); padding: 16px 8px; position: sticky; top: 0; height: 100vh; overflow: auto; }
aside .brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 16px; font-weight: 600; font-size: 14px; color: var(--text); }
aside .brand img { border-radius: 6px; }
aside .brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
aside a { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; margin-bottom: 1px; border-radius: var(--r); color: var(--side-text); font-size: 13.5px; }
aside a:hover { background: var(--hover); color: var(--text); text-decoration: none; }
aside a.on { background: var(--accent-bg); color: var(--accent); font-weight: 500; }
aside .grp { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); padding: 16px 8px 4px; }
aside .sep { border-top: 1px solid var(--line); margin: 8px; }
aside .who { padding: 8px; font-size: 12px; color: var(--muted); }
body.admin > main { flex: 1; min-width: 0; padding: 24px 32px 64px; }

/* ================= mijoz kabineti ================= */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 24px; }
.topbar .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.topbar .brand:hover { text-decoration: none; }
.topbar .brand img { border-radius: 6px; }
.topbar nav { display: flex; gap: 20px; align-self: stretch; }
.topbar nav a { display: flex; align-items: center; color: var(--muted); font-size: 13.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.topbar nav a:hover { color: var(--text); text-decoration: none; }
.topbar nav a.on { color: var(--text); border-color: var(--accent); }
.topbar .who { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); }
.page { max-width: 1120px; margin: 0 auto; padding: 24px 24px 64px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.page-h h1 { margin: 0; }
.page-h .sub { color: var(--muted); font-size: 13px; }
.statbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.statbar > div { padding: 12px 16px; border-right: 1px solid var(--line); }
.statbar > div:last-child { border-right: 0; }
.statbar .l { font-size: 12px; color: var(--muted); }
.statbar .v { font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.statbar .v.sm { font-size: 14px; font-weight: 500; }
.statbar .s { font-size: 12px; color: var(--muted); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 32px 0 8px; }
.sec-h h2 { margin: 0; }
.sec-h .hint { font-size: 12.5px; color: var(--muted); }

/* ================= kirish ================= */
body.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 64px 16px 32px; }
.auth-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 24px; }
.auth-brand:hover { text-decoration: none; }
.auth-brand img { border-radius: 6px; }
.auth-card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.auth-card h1 { font-size: 18px; line-height: 24px; margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.auth-card .btn, .auth-card button { width: 100%; padding: 9px 12px; font-size: 14px; line-height: 20px; }
.auth-step { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; margin: 24px 0 16px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-card label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.auth-row { display: flex; gap: 8px; }
.auth-row input { flex: 1; min-width: 0; font: 500 16px/22px var(--mono) !important; letter-spacing: 2px; padding: 8px 12px !important; }
.auth-row button { width: auto; }
.auth-match { display: none; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fafbfc; }
.auth-match .c { font: 600 22px/28px var(--mono); letter-spacing: 4px; }
.auth-match .t { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.auth-err { color: var(--bad); font-size: 13px; margin-top: 8px; }
.auth-err:empty { display: none; }
.auth-help { font-size: 13px; color: var(--muted); margin-top: 8px; }
.auth-foot { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -1px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= xato sahifasi, oferta ================= */
body.msg { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.msg-box { max-width: 420px; text-align: center; }
.msg-box .code { font: 600 13px var(--mono); color: var(--faint); }
.msg-box h1 { margin: 8px 0; }
.msg-box p { color: var(--muted); margin-bottom: 16px; }
.doc { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; font-size: 15px; line-height: 1.65; }
.doc h1 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.doc h2 { font-size: 17px; margin: 32px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc ul { margin: 8px 0; padding-left: 20px; } .doc li { margin: 4px 0; }

/* ================= landing ================= */
body.lp { background: #fff; font-size: 16px; line-height: 1.6; }
.lp .w { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.lp-nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.lp-nav .w { display: flex; align-items: center; gap: 32px; height: 64px; }
.lp-nav .logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--text); }
.lp-nav .logo:hover { text-decoration: none; }
.lp-nav .logo img { border-radius: 6px; }
.lp-nav .links { display: flex; gap: 24px; }
.lp-nav .links a { color: var(--muted); font-size: 14px; }
.lp-nav .links a:hover { color: var(--text); text-decoration: none; }
.lp-nav .right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.lp-nav .right a.txt { color: var(--text); font-weight: 500; }

.lp-hero { padding: 72px 0 64px; }
.lp-hero .w { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.lp h1 { font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.lp-lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 0 24px; max-width: 520px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-note { font-size: 13px; color: var(--faint); margin-top: 16px; }

.lp-shot { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.07); overflow: hidden; font-size: 13px; line-height: 1.5; }
.lp-shot .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.lp-shot .bar b { font-weight: 600; }
.lp-shot .bar span { color: var(--muted); font-size: 12px; }
.lp-shot table { border: 0; border-radius: 0; }
.lp-shot th, .lp-shot td { padding: 8px 16px; }
.lp-shot .sum { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.lp-shot .sum > div { padding: 12px 16px; border-right: 1px solid var(--line); }
.lp-shot .sum > div:last-child { border-right: 0; }
.lp-shot .sum .l { font-size: 12px; color: var(--muted); } .lp-shot .sum .v { font-size: 18px; font-weight: 600; }

.lp-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-stats .w { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-stats .w > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.lp-stats .w > div:last-child { border-right: 0; margin-right: 0; }
.lp-stats b { display: block; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.01em; }
.lp-stats span { font-size: 13px; color: var(--muted); }

.lp section { padding: 72px 0; }
.lp section.band { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp h2 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0 0 8px; }
.lp-sub { font-size: 16px; color: var(--muted); margin: 0 0 40px; max-width: 600px; }
.lp-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.lp-feat > div { border-top: 1px solid var(--line); padding-top: 16px; }
.lp h3 { font-size: 15px; line-height: 24px; font-weight: 600; margin: 0 0 4px; }
.lp-feat p, .lp-steps p { font-size: 14.5px; color: var(--muted); margin: 0; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.lp-steps li { border-top: 2px solid var(--text); padding-top: 16px; counter-increment: s; }
.lp-steps li::before { content: "0" counter(s); display: block; font: 600 12px var(--mono); color: var(--faint); margin-bottom: 8px; }
.lp-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.lp-list { list-style: none; padding: 0; margin: 0 0 24px; }
.lp-list li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.lp-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.lp-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0; }
.lp-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.lp-facts > div:last-child { border-bottom: 0; }
.lp-facts dt { color: var(--muted); } .lp-facts dd { margin: 0; font-weight: 600; }
.lp-plans.n2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.lp-plan { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.lp-plan:last-child { border-right: 0; }
.lp-plan .tag { font-size: 12px; font-weight: 600; color: var(--accent); height: 20px; }
.lp-plan h3 { font-size: 16px; }
.lp-plan .price { font-size: 28px; line-height: 36px; height: 36px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; }
.lp-plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; font-size: 14px; }
.lp-plan li { padding: 6px 0; border-top: 1px solid var(--line); }
.lp-plan .btn { width: 100%; padding: 9px 12px; font-size: 14px; line-height: 20px; }
.lp-fine { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.lp-faq { max-width: 720px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 600; }
.lp-faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; max-width: 640px; }
.lp-final { text-align: center; border-top: 1px solid var(--line); }
.lp-final .lp-sub { margin: 0 auto 24px; }
.lp-final .lp-cta { justify-content: center; }
.lp-foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; color: var(--muted); }
.lp-foot .w { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.lp-foot a { color: var(--muted); } .lp-foot .sp { flex: 1; }

/* ================= moslashuv ================= */
.chart .d { white-space: nowrap; }
@media (max-width: 1320px) { .chart .col:nth-child(even) .d { visibility: hidden; } }
@media (max-width: 900px) {
  .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-hero .w, .lp-two { grid-template-columns: 1fr; gap: 40px; }
  .lp-feat { grid-template-columns: 1fr 1fr; }
  .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-plans, .lp-plans.n2 { grid-template-columns: 1fr; }
  .lp-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-plan:last-child { border-bottom: 0; }
  .lp-stats .w { grid-template-columns: 1fr 1fr; }
  .lp-stats .w > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .lp-stats .w > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lp-nav .links { display: none; }
  .lp h1 { font-size: 34px; }
}
@media (max-width: 760px) {
  body.admin { display: block; }
  aside { width: auto; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 4px; padding: 0 8px; overflow-x: auto; }
  aside { scrollbar-width: none; }
  aside::-webkit-scrollbar { display: none; }
  aside .brand { flex: none; padding: 0 8px 0 4px; }
  aside .brand div, aside .grp, aside .sep, aside .who { display: none; }
  body.admin > main { overflow-x: auto; }
  .tw > table { min-width: 560px; }
  aside a { flex: none; white-space: nowrap; gap: 6px; margin: 0; padding: 12px 8px; border-radius: 0; border-bottom: 2px solid transparent; }
  aside a.on { background: none; border-bottom-color: var(--accent); }
  aside a:hover { background: none; }
  body.admin > main { padding: 16px; }
  .topbar .in { padding: 0 16px; gap: 16px; }
  .topbar .who span { display: none; }
  .page { padding: 16px 16px 48px; }
  .statbar > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .kv { grid-template-columns: 1fr; gap: 0 12px; }
}
@media (max-width: 560px) {
  .lp section { padding: 48px 0; }
  .lp-hero { padding: 40px 0 48px; }
  .lp-feat, .lp-steps { grid-template-columns: 1fr; gap: 24px; }
  .lp-cta .btn { width: 100%; }
  .lp h1 { font-size: 30px; }
  .lp h2 { font-size: 24px; }
  .lp-nav .w { gap: 12px; }
}
