/* ============================================================================
   Newton Kazakhstan · Платформа проверки тестов
   Фирменный стиль: тёмно-синий + золото на светло-лавандовом фоне
   ============================================================================ */
@import url('../fonts/fonts.css');

:root {
  --bg: #EEF1FA;
  --bg-deep: #E4E9F6;
  --surface: #FFFFFF;
  --navy: #1E2A5E;
  --navy-2: #26326B;
  --navy-soft: #4A5686;
  --gold: #DB9929;
  --gold-2: #C8871C;
  --gold-tint: #FBF2E3;
  --ink: #16204A;
  --muted: #7C86AB;
  --line: #E1E6F3;
  --line-2: #EDF0F8;

  --green: #16A34A;
  --green-tint: #E9F8EF;
  --amber: #D97706;
  --amber-tint: #FDF4E3;
  --red: #DC2626;
  --red-tint: #FDECEC;
  --blue: #2F5FD8;
  --blue-tint: #EAF0FD;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --sh-sm: 0 1px 2px rgba(30, 42, 94, .05), 0 4px 12px -6px rgba(30, 42, 94, .12);
  --sh-md: 0 2px 4px rgba(30, 42, 94, .04), 0 16px 36px -18px rgba(30, 42, 94, .28);
  --sh-lg: 0 4px 8px rgba(30, 42, 94, .05), 0 30px 60px -28px rgba(30, 42, 94, .35);

  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 380px at 88% -8%, rgba(219, 153, 41, .10), transparent 65%),
    radial-gradient(720px 420px at 6% 0%, rgba(47, 95, 216, .09), transparent 62%);
}

input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }

/* ------------------------------------------------------------- типографика */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 700; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ каркас */
.shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.page { padding: 28px 0 64px; animation: rise .28s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------------ шапка */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(238, 241, 250, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  box-shadow: var(--sh-sm);
}
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold); line-height: 1;
}
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy-soft);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-btn:hover { background: rgba(30, 42, 94, .07); color: var(--navy); }
.nav-btn.active { background: var(--navy); color: #fff; }

.user-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 8px 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.user-chip .role { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.icon-btn {
  width: 30px; height: 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg-deep); color: var(--navy-soft);
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--red-tint); color: var(--red); }

/* ------------------------------------------------------------------ карточки */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.card-tight { padding: 20px 22px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.card-head .spacer { flex: 1; }

.card-navy {
  background: linear-gradient(158deg, #26326B 0%, #1B2555 100%);
  color: #EAEEFB;
}
.card-navy h2, .card-navy h3 { color: #fff; }
.card-navy .eyebrow { color: rgba(255, 255, 255, .55); }

.section-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; }
.section-title h2 { font-size: 17px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------------------------ формы */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.field label {
  display: block; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.input, .select {
  width: 100%; background: #F7F9FD; border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px; color: var(--ink);
  outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.input::placeholder { color: #A9B1CB; }
.input:focus, .select:focus {
  border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 42, 94, .08);
}
.select {
  cursor: pointer; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237C86AB' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}

/* карточки-переключатели (класс / язык) */
.choice-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.choice {
  border: 1.5px solid var(--line); background: #F7F9FD; cursor: pointer;
  border-radius: var(--r-md); padding: 11px 17px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy-soft);
  transition: all .14s;
}
.choice:hover { border-color: var(--navy-soft); color: var(--navy); }
.choice.on {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 8px 18px -10px rgba(30, 42, 94, .8);
}
.choice small { display: block; font-weight: 500; font-size: 11px; opacity: .7; margin-top: 1px; }

/* ------------------------------------------------------------------ кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  background: var(--navy); color: #fff;
  transition: transform .12s, box-shadow .15s, background .15s, opacity .15s;
  box-shadow: 0 10px 22px -12px rgba(30, 42, 94, .9);
  white-space: nowrap;
}
.btn:hover:not(:disabled) { background: var(--navy-2); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-gold { background: var(--gold); box-shadow: 0 10px 22px -12px rgba(219, 153, 41, .95); }
.btn-gold:hover:not(:disabled) { background: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover:not(:disabled) { background: #F4F6FC; border-color: var(--navy-soft); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); box-shadow: none; }
.btn-danger:hover:not(:disabled) { background: #B91C1C; }

/* ------------------------------------------------------------------ бейджи */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-gold { background: var(--gold-tint); color: var(--gold-2); }
.badge-green { background: var(--green-tint); color: var(--green); }
.badge-amber { background: var(--amber-tint); color: var(--amber); }
.badge-red { background: var(--red-tint); color: var(--red); }
.badge-blue { background: var(--blue-tint); color: var(--blue); }
.badge-navy { background: rgba(30, 42, 94, .08); color: var(--navy); }

.pill-stat {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: #F7F9FD; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
}
.pill-stat b { font-family: var(--font-head); font-size: 15px; }

/* ------------------------------------------------------------------ вход */
.login-screen { flex: 1; display: grid; place-items: center; padding: 40px 24px 80px; }
.login-card {
  width: 100%; max-width: 430px; background: var(--surface);
  border-radius: 26px; box-shadow: var(--sh-lg); padding: 38px 36px 32px;
}
.login-logo { text-align: center; margin-bottom: 26px; }
.login-logo .brand-mark { margin: 0 auto 14px; width: 52px; height: 52px; font-size: 26px; border-radius: 15px; }
.login-logo .brand-name { font-size: 15px; }
.login-logo p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.role-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
  background: #F1F4FB; border-radius: 999px; padding: 5px; margin-bottom: 20px;
}
.role-switch button {
  border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--navy-soft);
  transition: all .15s;
}
.role-switch button.on { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }
.login-foot { text-align: center; margin-top: 20px; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ алерты */
.alert {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 16px; border-radius: var(--r-md); font-size: 13.5px; margin-bottom: 16px;
  border: 1px solid transparent; line-height: 1.5;
}
.alert b { font-weight: 700; }
.alert-info { background: var(--blue-tint); color: #23428F; border-color: rgba(47, 95, 216, .18); }
.alert-warn { background: var(--amber-tint); color: #92500A; border-color: rgba(217, 119, 6, .2); }
.alert-error { background: var(--red-tint); color: #9B1C1C; border-color: rgba(220, 38, 38, .2); }
.alert-ok { background: var(--green-tint); color: #11703A; border-color: rgba(22, 163, 74, .2); }

/* ------------------------------------------------------------------ прогресс */
.progress-bar {
  position: sticky; top: 68px; z-index: 30;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 20px; margin-bottom: 18px; box-shadow: var(--sh-md);
}
.progress-track { flex: 1; min-width: 140px; height: 8px; background: var(--bg-deep); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .3s ease; }
.progress-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--navy); }

/* ------------------------------------------------------------- ввод ответов */
.subject-head {
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 14px; padding: 12px 18px;
  background: var(--surface); border-radius: var(--r-md); border-left: 4px solid var(--sc, var(--navy));
  box-shadow: var(--sh-sm);
}
.subject-head .ic { font-size: 19px; }
.subject-head h3 { flex: 1; font-size: 15px; }
.subject-head .cnt { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.q-list { display: grid; gap: 9px; }
.q {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.q.done { border-color: rgba(22, 163, 74, .35); background: #FCFEFD; }
.q-num {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px;
  background: var(--bg-deep); color: var(--navy-soft);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
}
.q.done .q-num { background: var(--green); color: #fff; }
.q-topic { flex: 1; min-width: 130px; font-size: 13px; color: var(--muted); }

.abcd { display: flex; gap: 6px; flex-shrink: 0; }
.abcd button {
  width: 42px; height: 38px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid var(--line); background: #F7F9FD; color: var(--navy-soft);
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  transition: all .12s;
}
.abcd button:hover { border-color: var(--navy-soft); color: var(--navy); }
.abcd button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.abcd button.skip { width: 46px; font-size: 17px; line-height: 1; }
.abcd button.skip.on { background: var(--muted); border-color: var(--muted); }

.q-open { display: block; }
.q-open .open-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.q-open .open-body { margin-top: 11px; padding-left: 46px; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.q-open .input { flex: 1; min-width: 200px; padding: 9px 13px; }
.open-key {
  font-size: 12.5px; color: var(--navy); background: var(--gold-tint);
  border: 1px solid rgba(219, 153, 41, .3); border-radius: 8px; padding: 6px 11px;
}
.open-key b { font-weight: 700; }
.mini-btn {
  border: 1.5px solid var(--line); background: #F7F9FD; cursor: pointer;
  border-radius: 9px; padding: 8px 13px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--navy-soft);
  transition: all .12s; white-space: nowrap;
}
.mini-btn:hover { border-color: var(--navy-soft); color: var(--navy); }
.mini-btn.ok-on { background: var(--green); border-color: var(--green); color: #fff; }
.mini-btn.no-on { background: var(--red); border-color: var(--red); color: #fff; }

.sticky-foot {
  position: sticky; bottom: 18px; z-index: 25; margin-top: 22px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 14px 12px 24px; box-shadow: var(--sh-lg);
}
.sticky-foot .spacer { flex: 1; }

/* ------------------------------------------------------------- результаты */
.hero {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(158deg, #26326B 0%, #1B2555 100%);
  border-radius: var(--r-lg); padding: 30px 34px; color: #fff;
  box-shadow: var(--sh-lg); margin-bottom: 18px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -100px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(219, 153, 41, .28), transparent 68%);
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255, 255, 255, .58); }
.hero .score { font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1.05; margin: 8px 0 4px; }
.hero .score span { font-size: 26px; opacity: .55; font-weight: 700; }
.hero .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hero .meta .chip {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 600;
}
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }

.donut { position: relative; width: 128px; height: 128px; }
.donut svg { transform: rotate(-90deg); }
.donut .val {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 28px; color: #fff;
}

.subj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-bottom: 18px; }
.subj-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-md);
  border-top: 3px solid var(--sc, var(--navy));
}
.subj-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.subj-card .top .ic { font-size: 18px; }
.subj-card .top h3 { flex: 1; font-size: 14.5px; }
.subj-card .pct { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.subj-card .bar { height: 7px; background: var(--bg-deep); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.subj-card .bar i { display: block; height: 100%; border-radius: 999px; }
.subj-card .sc-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; }
thead th {
  background: #F7F9FD; text-align: left; padding: 11px 14px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFBFE; }
.ans-wrong { color: var(--red); font-weight: 700; }
.ans-right { color: var(--green); font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 28px 14px; font-style: italic; }

.rec {
  border-left: 3px solid var(--gold); background: var(--gold-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 13px 16px; margin-top: 14px;
  font-size: 13.5px; color: #6B4A11; line-height: 1.55;
}

.concl-item { display: flex; gap: 14px; margin-bottom: 16px; }
.concl-item .ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.concl-item h4 { font-size: 13.5px; margin-bottom: 3px; }
.concl-item p { font-size: 13.5px; color: var(--navy-soft); line-height: 1.6; }
.card-navy .concl-item p { color: rgba(255, 255, 255, .82); }
.card-navy .concl-item h4 { color: #fff; }

/* ------------------------------------------------------------- статистика */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: var(--surface); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm);
}
.stat .lbl { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat .val { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy); margin-top: 4px; line-height: 1.1; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.toolbar .field { min-width: 150px; flex: 1; }

/* ------------------------------------------------------------- ключи (админ) */
.key-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.key-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #F7F9FD; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 13px;
}
.key-row .n {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 11.5px; color: var(--navy-soft);
}
.key-row .t { flex: 1; color: var(--navy-soft); min-width: 0; }
.key-row .a {
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  background: var(--gold-tint); border-radius: 7px; padding: 3px 10px; font-size: 12.5px;
  max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* --------------------------------------------------------------- прочее */
.pdf-stage { position: fixed; left: -20000px; top: 0; width: 794px; }

.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; }
.toast {
  background: var(--navy); color: #fff; border-radius: var(--r-md);
  padding: 13px 18px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--sh-lg); animation: rise .22s ease both; max-width: 340px;
}
.toast.err { background: var(--red); }
.toast.ok { background: var(--green); }

.footer { padding: 22px 0 30px; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .card { padding: 20px 18px; border-radius: 18px; }
  h1 { font-size: 24px; }
  .hero { padding: 24px 20px; }
  .hero .score { font-size: 38px; }
  .brand-sub { display: none; }
  .topbar-inner { height: 60px; gap: 10px; }
  .nav { gap: 2px; }
  .nav-btn { padding: 8px 11px; font-size: 12.5px; }
  .user-chip .role { display: none; }
  .user-chip { padding: 5px; }
  .q-open .open-body { padding-left: 0; }
  .progress-bar { top: 60px; }
}
