/* Boostu Portal — student SPA stylesheet (SPEC §10 palette, Manrope / Space Grotesk / IBM Plex Mono) */
:root {
  color-scheme: dark;
  --ground: #0B0910;
  --ground-2: #15111F;
  --surface: #1F1A30;
  --glass: rgba(31, 26, 48, .7);
  --raised: #2A2340;
  --line: #3A3252;
  --text: #F2EFFA;
  --muted: #A69FBE;
  --faint: #6F688A;
  --violet: #9580FF;
  --violet-deep: #6C52F5;
  --violet-soft: rgba(149, 128, 255, .16);
  --violet-track: rgba(149, 128, 255, .18);
  --good: #4AC482;
  --good-soft: rgba(74, 196, 130, .14);
  --warn: #F0B450;
  --warn-soft: rgba(240, 180, 80, .14);
  --bad: #EF5B61;
  --bad-soft: rgba(239, 91, 97, .14);
  --teal: #5ED6C7; /* teacher accent (role pill "purple-teal" per SPEC-TEACHERS §12.6); used sparingly */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 14px;
  --r-sm: 10px;
  --sidebar-w: 252px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(108, 82, 245, .18), transparent 60%),
              linear-gradient(180deg, var(--ground) 0%, var(--ground-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---- background ---------------------------------------------------------- */
#bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; opacity: .55; will-change: transform; }
.orb.a { left: -20vmax; top: -25vmax; background: radial-gradient(closest-side, rgba(108, 82, 245, .28), transparent 70%); animation: orbA 26s ease-in-out infinite alternate; }
.orb.b { right: -25vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(149, 128, 255, .18), transparent 70%); animation: orbB 32s ease-in-out infinite alternate; }
@keyframes orbA { from { transform: translate(0, 0); } to { transform: translate(12vmax, 8vmax); } }
@keyframes orbB { from { transform: translate(0, 0); } to { transform: translate(-10vmax, -12vmax); } }

/* ---- shell ------------------------------------------------------------------ */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px;
  padding: 20px 16px; border-right: 1px solid var(--line);
  background: rgba(21, 17, 31, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
/* Brand mark (shared spec with landing/admin): breathing glow on the "B", violet sheen sweeping the wordmark.
   Glow animates filter (compositor-accelerated) rather than box-shadow; the static box-shadow below stays. */
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #15111F; display: grid; place-items: center; font: 800 18px var(--display); box-shadow: 0 6px 20px rgba(108, 82, 245, .35);
  animation: brandGlow 3.2s ease-in-out infinite alternate; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); will-change: transform, filter; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.logo b { font: 700 18px/1.1 var(--display); letter-spacing: -.02em; display: inline-block;
  background: linear-gradient(110deg, #F2EFFA 0%, #F2EFFA 42%, #C4B5FF 50%, #F2EFFA 58%, #F2EFFA 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: brandShine 6s ease-in-out infinite; }
.logo:hover b { animation-duration: 1.6s; }
.logo span { display: block; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@keyframes brandShine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }
@keyframes brandGlow { from { filter: drop-shadow(0 0 0 rgba(149, 128, 255, 0)); } to { filter: drop-shadow(0 0 10px rgba(149, 128, 255, .7)); } }
.portal-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 700 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); width: fit-content; }
.portal-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.portal-badge.exam i { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }

.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--violet-soft); color: var(--text); }
.nav a.active svg { color: var(--violet); }
.nav a svg { width: 18px; height: 18px; flex: none; }
.nav a.disabled { opacity: .5; cursor: not-allowed; }
.nav .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.nav a.sub { font-size: 13px; }
.grow { flex: 1; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--raised), #3A2F63); color: var(--violet); display: grid; place-items: center; font: 700 13px var(--display); flex: none; }
.user-chip b { display: block; font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip span { font-size: 11.5px; color: var(--faint); font-family: var(--mono); }
.user-chip .who { min-width: 0; }
.lang-pills { display: flex; gap: 6px; padding: 0 2px; }
.lang-pills button { flex: 1; padding: 6px 0; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 700 11.5px var(--mono); letter-spacing: .08em; color: var(--muted); transition: all .15s; }
.lang-pills button:hover { color: var(--text); border-color: var(--faint); }
.lang-pills button[aria-pressed="true"] { color: var(--text); border-color: var(--violet); background: var(--violet-soft); }
.logout-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.logout-btn:hover { color: var(--bad); border-color: rgba(239, 91, 97, .5); }
.logout-btn svg { width: 16px; height: 16px; }

.topbar { display: none; position: sticky; top: 0; z-index: 30; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(21, 17, 31, .85); backdrop-filter: blur(14px); }
.topbar .logo-mark { width: 30px; height: 30px; font-size: 15px; }
.topbar .logo b { font-size: 16px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.scrim { display: none; position: fixed; inset: 0; z-index: 35; background: rgba(11, 9, 16, .6); }

.main-col { min-width: 0; display: flex; flex-direction: column; }
main { padding: 30px 34px 60px; max-width: 1240px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.1; }
.page-head p { color: var(--muted); margin-top: 6px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- primitives -------------------------------------------------------------- */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card { padding: 20px 22px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head h3 { font-size: 15px; font-weight: 700; }
.card-head .hint { font-size: 12px; color: var(--faint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.2; transition: transform .12s var(--ease), background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--faint); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); border-color: transparent; color: #0F0B1C; box-shadow: 0 8px 22px rgba(108, 82, 245, .3); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(239, 91, 97, .5); color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.lg { padding: 13px 22px; font-size: 15px; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.btn svg { width: 16px; height: 16px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--raised); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.passed, .pill.correct, .pill.good { background: var(--good-soft); color: var(--good); }
.pill.failed, .pill.incorrect, .pill.bad, .pill.exhausted { background: var(--bad-soft); color: var(--bad); }
.pill.in_progress, .pill.pending, .pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.not_started, .pill.expired, .pill.submitted { background: var(--raised); color: var(--muted); }
.pill.violet { background: var(--violet-soft); color: var(--violet); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip[aria-pressed="true"] { color: var(--text); border-color: var(--violet); background: var(--violet-soft); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--faint); }
.field .error { font-size: 12.5px; color: var(--bad); min-height: 1em; }
.input, select.input, textarea.input { width: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(11, 9, 16, .45); color: var(--text); transition: border-color .15s; }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.input[aria-invalid="true"] { border-color: var(--bad); }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select.input option { background: var(--surface); }

.empty { padding: 34px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 36px; height: 36px; color: var(--faint); margin-bottom: 10px; }
.loading { padding: 40px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.loading::after { content: ""; display: block; width: 26px; height: 26px; margin: 14px auto 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--violet); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- motion ------------------------------------------------------------------- */
.rise { opacity: 0; transform: translateY(14px); animation: rise .55s var(--ease) forwards; animation-delay: calc(min(var(--i, 0), 9) * 55ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.fade { animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- dashboard --------------------------------------------------------------- */
.greet h1 { font-size: clamp(26px, 3.4vw, 36px); }
.greet h1 em { font-style: normal; color: var(--violet); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.tile { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(closest-side, var(--violet-soft), transparent); pointer-events: none; }
.tile .label { font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tile .label svg { width: 16px; height: 16px; color: var(--violet); }
.tile .value { font: 600 34px/1.1 var(--mono); letter-spacing: -.02em; color: var(--text); }
.tile .value small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.tile .sub { font-size: 12.5px; color: var(--faint); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 14px; margin-bottom: 14px; }
.dash-grid.b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.continue { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 14px; border-color: rgba(149, 128, 255, .45); background: linear-gradient(135deg, rgba(149, 128, 255, .16), rgba(31, 26, 48, .7)); }
.continue .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; flex: none; }
.continue .ico svg { width: 22px; height: 22px; }
.continue .txt { flex: 1; min-width: 0; }
.continue .txt b { display: block; font-family: var(--display); font-size: 16px; }
.continue .txt span { color: var(--muted); font-size: 13.5px; }

.ring-wrap { display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--violet-track); }
.ring .fill { fill: none; stroke: var(--violet); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.ring .fill.good { stroke: var(--good); }
.ring .fill.bad { stroke: var(--bad); }
.ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .center b { font: 600 30px/1 var(--mono); letter-spacing: -.02em; }
.ring .center b small { font-size: 15px; color: var(--muted); }
.ring .center span { font-size: 11px; color: var(--faint); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.ring-meta { display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.ring-meta b { display: block; font: 600 18px var(--mono); color: var(--text); }
.ring.sm { width: 120px; height: 120px; }
.ring.sm .center b { font-size: 24px; }

.bars { width: 100%; height: auto; display: block; overflow: visible; }
.bars .grid { stroke: var(--line); stroke-width: 1; }
.bars .tick { fill: var(--faint); font: 500 10px var(--mono); }
.bars .bar { fill: var(--violet); transform-box: fill-box; transform-origin: bottom; animation: grow .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.bars .bar.failed { fill: var(--bad); }
.bars .bar:hover { filter: brightness(1.15); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.legend { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--violet); margin-right: 6px; vertical-align: -1px; }
.legend i.failed { background: var(--bad); }

.skills { display: grid; gap: 12px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.skill .name { font-size: 13.5px; font-weight: 600; }
.skill .val { font: 600 13px var(--mono); color: var(--muted); }
.skill .val b { color: var(--text); font-weight: 600; }
.skill .track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--violet-track); overflow: hidden; }
.skill .track i { display: block; height: 100%; border-radius: 4px; background: var(--violet); width: 0; transition: width .9s var(--ease); }

.recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.recent li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent li:last-child { border-bottom: 0; }
.recent .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.recent .ico.practice { background: var(--good-soft); color: var(--good); }
.recent .ico svg { width: 18px; height: 18px; }
.recent .t { min-width: 0; }
.recent .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent .t span { font-size: 12px; color: var(--faint); }
.recent .v { font: 600 15px var(--mono); text-align: right; }
.recent .v small { display: block; font-size: 11px; color: var(--faint); font-weight: 500; }
.by-line { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.by-line b { font-family: var(--mono); color: var(--text); font-weight: 600; }

/* ---- tests list ---------------------------------------------------------------- */
.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.test-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; transition: transform .2s var(--ease), border-color .2s; }
.test-card:hover { transform: translateY(-2px); border-color: var(--faint); }
.test-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.test-card h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.test-card .desc { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 14px; height: 14px; color: var(--faint); }
.meta .mono { color: var(--text); }
.test-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.test-card .window { font-size: 12px; color: var(--faint); font-family: var(--mono); }

/* ---- test intro ------------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.intro .desc { color: var(--muted); font-size: 15px; margin-top: 6px; white-space: pre-line; }
.rules { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.rules li b { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font: 700 12px var(--mono); }
.intro .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { padding: 12px 14px; border-radius: var(--r-sm); background: rgba(11, 9, 16, .35); border: 1px solid var(--line); }
.fact > span:first-child { display: block; font-size: 11px; color: var(--faint); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fact b { font: 600 20px var(--mono); }
.attempt-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.attempt-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 8px 10px; border-radius: 8px; background: rgba(11, 9, 16, .3); }
.attempt-list a { font-weight: 700; }

/* ---- attempt -------------------------------------------------------------------- */
.attempt-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 18px; margin-bottom: 16px; background: rgba(21, 17, 31, .9); }
.attempt-head h2 { font-size: 17px; flex: 1; min-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timer { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(11, 9, 16, .4); }
.timer .lbl { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.timer .val { font: 600 22px/1 var(--mono); letter-spacing: .02em; min-width: 68px; text-align: right; }
.timer.warn { border-color: rgba(240, 180, 80, .6); } .timer.warn .val { color: var(--warn); }
.timer.danger { border-color: rgba(239, 91, 97, .7); animation: pulse 1s ease-in-out infinite; } .timer.danger .val { color: var(--bad); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 91, 97, .0); } 50% { box-shadow: 0 0 0 4px rgba(239, 91, 97, .25); } }
.save-state { font: 500 12px var(--mono); color: var(--faint); min-width: 90px; }
.save-state.ok { color: var(--good); }
.save-state.err { color: var(--bad); }
.save-state.busy { color: var(--warn); }
.attempt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.question { padding: 24px 26px; }
.q-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.q-prompt { font-size: 19px; line-height: 1.45; font-weight: 600; white-space: pre-line; margin-bottom: 18px; }
.q-hint { font-size: 12.5px; color: var(--faint); margin-bottom: 10px; }
.opts { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(11, 9, 16, .3); cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--faint); }
.opt:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.opt.on { border-color: var(--violet); background: var(--violet-soft); }
.opt input { margin: 3px 0 0; accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.opt .key { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--raised); font: 700 12px var(--mono); color: var(--muted); }
.opt.on .key { background: var(--violet); color: #15111F; }
.opt .txt { flex: 1; line-height: 1.45; }
.tf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; border: 0; }
.tf label { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 9, 16, .3); font: 700 18px var(--display); cursor: pointer; transition: all .15s; }
.tf label:hover { border-color: var(--faint); }
.tf label.on { border-color: var(--violet); background: var(--violet-soft); color: var(--violet); }
.tf label.on.f { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }
.tf input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tf label:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.counter { text-align: right; font: 500 12px var(--mono); color: var(--faint); margin-top: 6px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.q-nav .progress { font: 500 12px var(--mono); color: var(--faint); }
.navigator { padding: 16px 18px; position: sticky; top: 84px; }
.navigator h3 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.q-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; }
.q-chip { height: 38px; border-radius: 9px; border: 1px solid var(--line); background: rgba(11, 9, 16, .3); font: 600 13px var(--mono); color: var(--muted); transition: all .15s; }
.q-chip:hover { border-color: var(--faint); color: var(--text); }
.q-chip.answered { background: var(--violet-soft); border-color: rgba(149, 128, 255, .5); color: var(--text); }
.q-chip.current { border-color: var(--violet); box-shadow: 0 0 0 2px var(--violet-soft); color: var(--text); }
.nav-legend { display: grid; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.nav-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--line); margin-right: 7px; vertical-align: -2px; background: rgba(11, 9, 16, .3); }
.nav-legend i.answered { background: var(--violet-soft); border-color: rgba(149, 128, 255, .5); }
.nav-legend i.current { border-color: var(--violet); box-shadow: 0 0 0 2px var(--violet-soft); }
.navigator .btn { width: 100%; margin-top: 14px; }

/* ---- result -------------------------------------------------------------------- */
.score-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 24px 28px; margin-bottom: 16px; }
.score-card .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.score-card h2 { font-size: 22px; margin-bottom: 8px; }
.score-card .verdict { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.score-card .note { font-size: 13px; color: var(--warn); margin-top: 8px; }
.score-card .btns { display: flex; flex-direction: column; gap: 8px; }
.review { display: grid; gap: 12px; }
.rq { padding: 18px 22px; border-left: 3px solid var(--line); }
.rq.correct { border-left-color: var(--good); }
.rq.incorrect { border-left-color: var(--bad); }
.rq.pending { border-left-color: var(--warn); }
.rq .top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rq .top .r { display: flex; gap: 8px; align-items: center; }
.rq .prompt { font-size: 16px; font-weight: 600; line-height: 1.45; white-space: pre-line; margin-bottom: 12px; }
.rq .ans { display: grid; gap: 8px; }
.rq .ans div { padding: 10px 12px; border-radius: var(--r-sm); background: rgba(11, 9, 16, .3); border: 1px solid var(--line); font-size: 14px; }
.rq .ans div span { display: block; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.rq .ans div.yours.correct { border-color: rgba(74, 196, 130, .5); }
.rq .ans div.yours.incorrect { border-color: rgba(239, 91, 97, .5); }
.rq .ans div.key { border-color: rgba(74, 196, 130, .35); }
.rq .ans div p { white-space: pre-line; }
.rq .ans ul { margin: 0; padding-left: 18px; }

/* ---- results table ------------------------------------------------------------------ */
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th button { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tbl th button:hover { color: var(--text); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.link { cursor: pointer; transition: background .12s; }
.tbl tr.link:hover { background: rgba(255, 255, 255, .03); }
.tbl td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td .sub { display: block; font-size: 12px; color: var(--faint); }
.tbl td.date { white-space: nowrap; color: var(--muted); font-size: 13px; }

/* ---- practice ------------------------------------------------------------------ */
.explainer { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; margin-bottom: 16px; border-color: rgba(149, 128, 255, .35); }
.explainer .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; }
.explainer .ico svg { width: 20px; height: 20px; }
.explainer p { color: var(--muted); font-size: 14px; }
.practice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.line-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; transition: transform .2s var(--ease), border-color .2s; position: relative; overflow: hidden; }
.line-card:hover { transform: translateY(-3px); border-color: rgba(149, 128, 255, .5); }
.line-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.line-card .phone { width: 46px; height: 46px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; }
.line-card .phone svg { width: 22px; height: 22px; }
.line-card:hover .phone svg { animation: ringing .7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes ringing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(6deg); } }
.line-card:hover .phone { box-shadow: 0 0 0 6px rgba(149, 128, 255, .12); }
.line-card h3 { font-size: 19px; }
.line-card .subtitle { color: var(--muted); font-size: 13.5px; }
.line-card .stats { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.line-card .stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line-card .stats span { font-size: 13px; color: var(--muted); }
.line-card .stats b { font: 600 15px var(--mono); white-space: nowrap; }
.line-card .stats b.date { font-size: 12.5px; font-weight: 500; color: var(--text); white-space: normal; text-align: right; }
.line-card .foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: auto; }
.line-card .foot .btn { width: 100%; }

/* ---- profile / help ------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.form { display: grid; gap: 14px; }
.form .row { display: flex; gap: 10px; justify-content: flex-end; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.kv dd.mono { font-weight: 500; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.help-grid .card h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.help-grid .card h3 svg { width: 18px; height: 18px; color: var(--violet); }
.help-grid .card p { color: var(--muted); font-size: 14px; }

/* ---- teachers module: role banner, deadlines, instructions, review ------------------------- */
.role-banner { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 34px 0; max-width: calc(1240px - 68px);
  padding: 12px 16px; border-radius: var(--r); border: 1px solid rgba(94, 214, 199, .4); background: linear-gradient(135deg, rgba(94, 214, 199, .12), rgba(31, 26, 48, .75)); font-size: 14px; }
.role-banner .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 214, 199, .16); color: var(--teal); flex: none; }
.role-banner .ico svg { width: 18px; height: 18px; }
.role-banner .txt { flex: 1; min-width: 180px; color: var(--text); }

.due-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 12px var(--mono); white-space: nowrap;
  background: var(--violet-soft); color: var(--violet); border: 1px solid transparent; }
.due-chip svg { width: 13px; height: 13px; flex: none; }
.due-chip.amber { background: var(--warn-soft); color: var(--warn); border-color: rgba(240, 180, 80, .35); }
.due-chip.red { background: var(--bad-soft); color: var(--bad); border-color: rgba(239, 91, 97, .45); animation: duePulse 1.6s ease-in-out infinite; }
.due-chip.over { background: var(--raised); color: var(--muted); }
@keyframes duePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 91, 97, 0); } 50% { box-shadow: 0 0 0 4px rgba(239, 91, 97, .18); } }
.test-card .when { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.meta.by { margin-top: -4px; }
.meta.by span { color: var(--text); }
.meta.by svg { color: var(--teal); }

.instructions { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(94, 214, 199, .35); background: rgba(94, 214, 199, .07); }
.instructions .ih { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; font-size: 13.5px; }
.instructions .ih svg { width: 16px; height: 16px; color: var(--teal); }
.instructions .ih span { color: var(--faint); font-size: 12.5px; }
.instructions p { white-space: pre-line; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.intro .facts .fact.wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.intro .facts .fact.wide span:first-child { flex-basis: 100%; }
.instr-note { margin: -4px 0 14px; padding: 10px 16px; }
.instr-note summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; list-style: none; }
.instr-note summary::-webkit-details-marker { display: none; }
.instr-note summary svg { width: 16px; height: 16px; color: var(--teal); }
.instr-note p { margin-top: 8px; white-space: pre-line; color: var(--muted); font-size: 14px; }

.comment-card { padding: 18px 22px; margin-bottom: 16px; border-color: rgba(94, 214, 199, .4); background: linear-gradient(135deg, rgba(94, 214, 199, .09), rgba(31, 26, 48, .72)); }
.comment-card .ch { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-card .ch .avatar { color: var(--teal); }
.comment-card .ch .avatar svg { width: 16px; height: 16px; }
.comment-card .ch b { display: block; font-family: var(--display); font-size: 15px; }
.comment-card .ch span { font-size: 12.5px; color: var(--faint); }
.comment-card p { white-space: pre-line; font-size: 15px; line-height: 1.6; }

.pill.graded { background: rgba(94, 214, 199, .14); color: var(--teal); }
.pill.teal { background: rgba(94, 214, 199, .14); color: var(--teal); }
.pill.missed { background: var(--bad-soft); color: var(--bad); }
.pill.partial { background: var(--warn-soft); color: var(--warn); }
.rq.partial { border-left-color: var(--warn); }
.tbl tr.missed td { color: var(--muted); }

.due-card { margin-bottom: 14px; }
.due-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.due-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 8px; border-radius: var(--r-sm); color: var(--text); transition: background .15s; }
.due-list a:hover { background: rgba(255, 255, 255, .04); text-decoration: none; }
.due-list .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.due-list .ico.classwork { background: rgba(94, 214, 199, .14); color: var(--teal); }
.due-list .ico svg { width: 18px; height: 18px; }
.due-list .t { min-width: 0; }
.due-list .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.due-list .t span { font-size: 12px; color: var(--faint); }

/* ---- exam candidate mode (SPEC-EXAM §13.4) ----------------------------------------------- */
.exam-bar { position: sticky; top: 0; z-index: 28; height: 60px; display: flex; align-items: center; gap: 16px; padding: 0 34px;
  border-bottom: 1px solid var(--line); background: rgba(21, 17, 31, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.exam-bar .clock { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: var(--r-sm); border: 1px solid rgba(149, 128, 255, .45); background: var(--violet-soft); }
.exam-bar .clock svg { width: 18px; height: 18px; color: var(--violet); }
.exam-bar .clock .lbl { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.exam-bar .clock .val { font: 600 24px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .03em; min-width: 118px; }
.exam-bar .who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.exam-bar .who b { font-family: var(--display); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exam-bar .who span { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.exam-bar.amber .clock { border-color: rgba(240, 180, 80, .6); background: var(--warn-soft); }
.exam-bar.amber .clock svg, .exam-bar.amber .clock .val { color: var(--warn); }
.exam-bar.red .clock { border-color: rgba(239, 91, 97, .75); background: var(--bad-soft); animation: examPulse 1s ease-in-out infinite; }
.exam-bar.red .clock svg, .exam-bar.red .clock .val { color: var(--bad); }
.exam-bar.over .clock { border-color: var(--line); background: var(--raised); }
.exam-bar.over .clock svg, .exam-bar.over .clock .val { color: var(--muted); }
@keyframes examPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 91, 97, 0); } 50% { box-shadow: 0 0 0 6px rgba(239, 91, 97, .22); } }
body.candidate .attempt-head { top: 72px; }
body.exam-over #nav a[data-route="exams"] { opacity: .45; pointer-events: none; }
.exam-over-view { max-width: 720px; margin: 6vh auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.exam-over-view .eo-ico { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); box-shadow: 0 0 0 10px rgba(149, 128, 255, .07); }
.exam-over-view .eo-ico svg { width: 40px; height: 40px; }
.exam-over-view h1 { font-size: clamp(30px, 4.4vw, 46px); }
.exam-over-view .lead { color: var(--muted); max-width: 52ch; }
.exam-over-view .eo-list { width: 100%; text-align: left; padding: 6px 18px; margin: 8px 0 4px; }
.exam-over-view .eo-list ul { list-style: none; margin: 0; padding: 0; }
.exam-over-view .eo-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.exam-over-view .eo-list li:last-child { border-bottom: 0; }
.exam-over-view .eo-list .t b { display: block; }
.exam-over-view .eo-list .t span { font-size: 12px; color: var(--faint); }
.exam-over-view .eo-list .pct { font-weight: 600; }

/* ---- toasts & dialog ----------------------------------------------------------------- */
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 36px)); }
.toast { padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(31, 26, 48, .95); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); font-size: 14px; animation: toastIn .3s var(--ease); }
.toast.ok { border-color: rgba(74, 196, 130, .5); }
.toast.err { border-color: rgba(239, 91, 97, .6); }
.toast.warn { border-color: rgba(240, 180, 80, .6); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
dialog.dlg { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); padding: 24px 26px; max-width: 440px; width: calc(100vw - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
dialog.dlg::backdrop { background: rgba(11, 9, 16, .7); backdrop-filter: blur(4px); }
dialog.dlg h3 { font-size: 18px; margin-bottom: 8px; }
dialog.dlg p { color: var(--muted); font-size: 14px; }
dialog.dlg p.warn { color: var(--warn); margin-top: 6px; }
dialog.dlg .dlg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---- responsive ----------------------------------------------------------------- */
@media (max-width: 1100px) {
  .dash-grid, .dash-grid.b { grid-template-columns: 1fr; }
  .intro { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .topbar { display: flex; }
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 40; width: min(300px, 86vw); height: 100vh; transform: translateX(-102%); transition: transform .28s var(--ease); background: rgba(21, 17, 31, .97); }
  body.drawer-open .sidebar { transform: none; }
  body.drawer-open .scrim { display: block; }
  main { padding: 20px 16px 50px; }
  .role-banner { margin: 14px 16px 0; }
  .exam-bar { top: 61px; padding: 0 12px; gap: 10px; height: 56px; }
  .exam-bar .clock { padding: 5px 10px; }
  .exam-bar .clock .lbl { display: none; }
  .exam-bar .clock .val { font-size: 20px; min-width: 96px; }
  body.candidate .attempt-head { top: 125px; }
  .exam-over-view .eo-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .attempt-grid { grid-template-columns: 1fr; }
  .navigator { position: static; }
  .attempt-head { top: 61px; }
  .score-card { grid-template-columns: 1fr; text-align: center; }
  .score-card .verdict { justify-content: center; }
  .score-card .btns { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .two-col, .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .exam-bar .who { visibility: hidden; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px 14px; }
  .tile .value { font-size: 26px; }
  .ring-wrap { flex-direction: column; align-items: flex-start; }
  .test-grid, .practice-grid { grid-template-columns: 1fr; }
  .tf { grid-template-columns: 1fr; }
  .question { padding: 18px 16px; }
  .q-prompt { font-size: 17px; }
  .attempt-head { padding: 10px 12px; gap: 10px; }
  .attempt-head h2 { flex-basis: 100%; }
  .timer .val { font-size: 19px; }
  .intro .facts { grid-template-columns: 1fr 1fr; }
  .continue { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .continue > .btn { grid-column: 1 / -1; }
  .q-nav .progress { text-align: center; }
}
@media (max-width: 400px) {
  .tiles { grid-template-columns: 1fr; }
  .card { padding: 16px; }
}

/* ---- reduced motion -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  .rise { opacity: 1; transform: none; }
  .orb { animation: none; }
  .bars .bar { animation: none; }
  .logo b { animation: none; background-position: 0 0; }
  .due-chip.red { animation: none; }
  .exam-bar.red .clock { animation: none; }
  .logo-mark { animation: none; transition: none; will-change: auto; }
}
