:root{
  --brand:#1D19B4;
  --brand2:#6D66FF;
  --bg:#F6F7FC;
  --text:#0E1020;
  --muted:#666C80;
  --stroke:#E3E6EF;

  --radius:32px;
  --radius2:18px;
  --pill:999px;
  --shadow:0 10px 30px rgba(13,17,51,.08);

  --maxw:1100px;

  --fs-h1:clamp(28px,22px + 1.2vw,44px);
  --fs-h3:clamp(18px,16px + .5vw,24px);
  --fs-body:clamp(15px,14px + .2vw,17px);
  --fs-small:clamp(13px,12px + .2vw,14px);

  --gauge-alpha:0.55;
  --gauge-glow:0.18;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Commissioner",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:var(--fs-body);
  line-height:1.5;
  color:var(--text);
  background:linear-gradient(180deg, rgba(224,228,255,1) 0%, rgba(255,255,255,1) 100%);
}

a{color:inherit;text-decoration:none}
ul{margin:0;padding:0}
li{list-style:none}

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:24px 18px;
}
@media (max-width:720px){ .container{padding:18px 14px;} }

.card{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
@media (max-width:720px){ .card{border-radius:24px; padding:18px;} }

h1{margin:0 0 10px; font-size:var(--fs-h1); line-height:1.12; font-weight:900;}
h3{margin:0 0 10px; font-size:var(--fs-h3); font-weight:900;}
.muted{color:var(--muted)}
.mb-8{margin-bottom:12px}

.btn{
  appearance:none;
  border:1px solid var(--brand);
  background:var(--brand);
  color:#fff;
  font-weight:800;
  border-radius:var(--radius2);
  padding:12px 18px;
  cursor:pointer;
  transition:transform .06s, filter .15s;
}
.btn:hover{filter:brightness(1.03)}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.55; cursor:not-allowed}

.btn.ghost{background:transparent;color:var(--brand)}
.btn--pill{border-radius:var(--pill); padding:12px 20px}
.finish-btn{width:100%; margin-top:12px; border-radius:16px; }

.level-shell{min-height:100vh; display:grid; place-items:center; padding:26px 14px}
.level-hero{width:min(860px,100%)}
.eyebrow{font-size:var(--fs-small); font-weight:900; letter-spacing:.12em; color:var(--brand)}
.subtitle{margin:0; color:var(--muted)}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.note{
  margin-top:16px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(29,25,180,.10);
  background:linear-gradient(180deg, rgba(246,247,255,.9), rgba(237,231,255,.75));
  color:var(--muted);
  font-size:var(--fs-small);
}

/* Test layout */
.test-layout{
  display:grid;
  padding-top: 14px;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap:18px;
  align-items:start;
  padding-top:0;
}
.test-main{min-width:0}
.test-sidebar{position:sticky; top:86px}
@media (max-width:980px){
  .test-layout{grid-template-columns:1fr}
  .test-sidebar{position:static; top:auto}
}

/* HUD */
.bar{
  position:sticky;
  top:14px;
  z-index:50;
  border:0;
  background:transparent;            /* прибрали білий фон */
  backdrop-filter:saturate(140%) blur(10px);
}
.hud-row{
  display:flex;
  gap:14px;
  align-items:center;
  padding:12px 0;
  border-radius:18px;
  border: 1px solid rgba(227,230,239,.7);
}
.pill{
  border:1px solid var(--stroke);
  border-radius:var(--pill);
  padding:8px 12px;
  font-weight:800;
  font-size:var(--fs-small);
  white-space:nowrap;
  min-width: 10%;
}
.progress{
  flex:1;
  height:10px;
  border-radius:var(--pill);
  background:rgba(29,25,180,.08);
  overflow:hidden;
}
#pbar{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--brand),var(--brand2));
  border-radius:var(--pill);
  transition:width .25s ease-out;
}

/* Indicator */
.indicator{
  margin:14px 0 10px;
  display:flex;
  justify-content: flex-start;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.gauge{
  --gauge-w: 180px;
  width:var(--gauge-w);
  height:calc(var(--gauge-w) / 2);
  position:relative;
  overflow:hidden;
  border-radius:999px 999px 0 0;
}
.gauge::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(29,25,180,.10);
  border-bottom:none;
  border-radius:999px 999px 0 0;
  box-shadow:0 10px 30px rgba(13,17,51,.08) inset;
}
.gauge::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:calc(var(--gauge-w) * .70);
  height:calc(var(--gauge-w) * .35);
  background:#fff;
  border-radius:999px 999px 0 0;
  border:1px solid rgba(29,25,180,.08);
  border-bottom:none;
  box-shadow:0 10px 20px rgba(13,17,51,.06);
  z-index:2;
}
.gauge-needle{
  position:absolute;
  left:calc(var(--gauge-w) * .08);
  bottom:-4px;
  width:calc(var(--gauge-w) * .46);
  height:8px;
  background:rgba(29,25,180,var(--gauge-alpha,1));
  border-radius:6px;
  box-shadow:0 -1px 4px rgba(0,0,0,.18);
  transform-origin:100% 4px;
  transform:rotate(0deg);
  transition:transform 520ms cubic-bezier(.2,.9,.2,1), background 240ms ease, box-shadow 240ms ease;
  z-index:3;
}
.gauge-needle::after{
  content:"";
  position:absolute;
  right:-10px;
  top:50%;
  transform:translateY(-50%);
  width:18px;height:18px;
  border-radius:50%;
  background:rgba(29,25,180,var(--gauge-alpha,1));
  box-shadow:0 12px 26px rgba(29,25,180,var(--gauge-glow,.18));
}
@media (max-width:720px){ .gauge{--gauge-w:170px;} }

.level-grade-pill{
  border:1px solid rgba(29,25,180,.12);
  box-shadow:0 14px 40px rgba(13,17,51,.10);
  border-radius:var(--radius);
  padding:4px 8px;
  min-width:150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.level-grade-pill .lvl-top{
  font-weight:900;
  font-size:20px;
  color:rgba(29,25,180,var(--gauge-alpha,1));
}
.level-grade-pill .lvl-sub{
  margin-top:2px;
  font-weight:700;
  font-size:12px;
  color:var(--muted);
}

/* Question */
#questionText{font-weight:500}
.list{display:flex;flex-direction:column;gap:10px}
.option{
  border:1px solid var(--stroke);
  background:#fff;
  border-radius:18px;
  padding:14px 16px;
  cursor:pointer;
  font-weight:600;
  transition:transform .06s, border-color .15s, box-shadow .15s;
}
.option:hover{transform:translateY(-1px); border-color:rgba(29,25,180,.35); box-shadow:0 10px 24px rgba(29,25,180,.06)}
.option p{margin:0}
#questionText p{margin:0}

/* Controls */
.test-controls{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
}
.test-controls .btn{border-radius:var(--pill); padding:12px 22px}
@media (max-width:720px){
  .test-controls .btn{flex:1; padding:12px 14px; flex-wrap: wrap;} .finish-btn{width:100%;}
}

/* Sidebar tiles */
.questions-nav{padding:18px}
.questions-nav__title{font-weight:900;}
.questions-nav__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin:10px 0 14px;
}
.question-tile{
  height:34px;
  border-radius:12px;
  border:1px solid rgba(227,230,239,.95);
  background:#fff;
  font-weight:700;
  font-size:var(--fs-small);
  cursor:pointer;
  transition:transform .06s, filter .15s, background .15s, border-color .15s;
}
.question-tile:hover{transform:translateY(-1px); filter:brightness(1.01);}
.question-tile.current{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.question-tile.answered-correct{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.55);
  color:#111827;
}
.question-tile.answered-wrong{
  background:rgba(156,163,175,.18);
  border-color:rgba(156,163,175,.85);
  color:#111827;
}
@media (max-width:720px){ .test-sidebar{display:none} }

/* Result */
.level-result{width:min(1100px,100%)}
.result-top{display:grid; grid-template-columns:360px minmax(0,1fr); gap:18px}
@media (max-width:980px){ .result-top{grid-template-columns:1fr} }

.result-card{
  border:1px solid var(--stroke);
  border-radius:24px;
  padding:18px;
  box-shadow:none;
  background:#fff;
}
.result-head{display:flex; align-items:center; gap:12px}
.avatar{
  width:56px;height:56px;border-radius:18px;
  display:grid;place-items:center;
  font-weight:900;color:var(--muted);
  background:linear-gradient(180deg,#F6F7FF,#DEE2FF);
}
.res-title{font-weight:900; font-size:1.15rem}

.kpis{display:grid; gap:10px; margin-top:14px}
.kpi{border:1px solid var(--stroke); border-radius:18px; padding:12px 14px}
.kpi .k{color:var(--muted); font-size:var(--fs-small); font-weight:900}
.kpi .v{font-weight:900; font-size:22px}

.result-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.grade-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
@media (max-width:980px){ .grade-grid{grid-template-columns:1fr} }
.grade-chip{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:12px 14px;
}
.grade-chip.zero{
  border-color:rgba(156,163,175,.55);
  background:rgba(156,163,175,.10);
}
.grade-chip.half{
  border-color:rgba(245,158,11,.45);
  background:rgba(245,158,11,.10);
}
.grade-chip.full{
  border-color:rgba(34,197,94,.35);
  background:rgba(34,197,94,.08);
}

.grade-chip__mark{
  font-weight:700;
  opacity:.85;
}
.grade-chip .g{font-weight:900}
.grade-chip .s{color:var(--muted); font-weight:800; font-size:var(--fs-small)}

.acc{
  margin-top:14px;
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
}
.acc-title{font-weight:900}

/* MathJax overflow */
mjx-container{ overflow-x:auto; overflow-y:hidden; max-width:100%; }
mjx-container[display="true"]{ margin:10px 0 !important; }

#subjectName{display:none !important;}
/* === FIX: math-level must NOT use legacy .page.test layout rules === */
.page.level.test .test-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;      /* ключове: верхнє вирівнювання */
  width: 100%;
  margin-top: 0;
}

.test-sidebar{
  position: sticky;
  top: 26px;         /* або 14px */
  align-self: start;
}

.test-layout{
  align-items: start !important; /* для grid */
}
.page.test .test-layout{
  align-items: flex-start !important; /* якщо десь активується flex-версія */
}

h1{font-weight:800;}
h3{font-weight:800;}
.pill{font-weight:700;}
.btn{font-weight:500;}
#questionText{font-weight:500}

.res-title{font-weight:800;}
.kpi .k{font-weight:700;}
.kpi .v{font-weight:800;}

.questions-nav__title{font-weight:500;}
.grade-chip .g{font-weight:800;}
.grade-chip .s{font-weight:700;}

.hero{
  position: relative;
  padding: clamp(28px, 6vw, 64px) 16px;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__bg{
  position:absolute; inset:-20%;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(99,102,241,.16), transparent 60%),
    radial-gradient(720px 420px at 80% 30%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(780px 520px at 50% 85%, rgba(168,85,247,.10), transparent 60%),
    linear-gradient(180deg, #f7f8ff, #ffffff);
  filter: blur(0px);
}

.hero__wrap{
  position: relative;
  width: min(920px, 100%);
  display: grid;
  gap: 14px;
}

.hero__brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  width: 100%;;
}

.hero__logo{
  width: 40px; height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(15,23,42,.08);
}

.hero__brandText{ line-height: 1.05; }
.hero__brandName{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #0f172a;
}
.hero__brandTag{
  margin-top: 3px;
  font-size: 12px;
  color: rgba(15,23,42,.60);
}

.hero__card{
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 30px 70px rgba(15,23,42,.10);
  backdrop-filter: blur(14px);
  padding: clamp(18px, 4vw, 28px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #1d4ed8;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
}

.hero__title{
  margin: 12px 0 8px;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.08;
  color: #0f172a;
  font-weight: 800;
  text-align: center;
}

.hero__subtitle{
  margin: 0 0 16px;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.55;
  color: rgba(15,23,42,.70);
  max-width: 64ch;
}

.hero__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.btn{
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 14px 30px rgba(37,99,235,.22);
}
.btn--primary:hover{
  box-shadow: 0 18px 40px rgba(37,99,235,.28);
}

.btn--ghost{
  color: #0f172a;
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.12);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.92);
}

.hero__note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(15,23,42,.68);
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.06);
  text-align: center;
}

@media (max-width: 520px){
  .hero__brand{ width: 100%; justify-content: center; }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .btn{ width: 100%; }
}

.hero__card{
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 30px 70px rgba(15,23,42,.10);
  backdrop-filter: blur(14px);
  padding: clamp(18px, 4vw, 28px);
}

.hero__top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.hero__logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(15,23,42,.02);
  border: 1px solid rgba(15,23,42,.08);
}

.hero__topText{ line-height: 1.05; }
.hero__brandName{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0f172a;
}
.hero__brandTag{
  margin-top: 3px;
  font-size: 12px;
  color: rgba(15,23,42,.60);
}

.hero__topRight{
  display: flex;
  justify-content: flex-end;
}

.hero__badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #1d4ed8;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
}

@media (max-width: 520px){
  .hero__top{
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo text"
      "badge badge";
  }
  .hero__logo{ grid-area: logo; }
  .hero__topText{ grid-area: text; }
  .hero__topRight{ grid-area: badge; justify-content: flex-start; }
}

.hero__brand img {
  width: 120px;
  height: auto;
}
.hero__bg { pointer-events: none; }
.hero__wrap, .hero__card { position: relative; z-index: 2; }

@media (min-width: 720px){
  .finish-mid { display: none;}
}

@media (max-width: 720px){
  .test-controls{
    flex-wrap: wrap;          /* дозволяємо перенос рядків */
    justify-content: center;  /* щоб не розʼїжджалось */
  }

  /* перші дві — в один ряд */
  .test-controls #prev,
  .test-controls #next{
    flex: 1 1 0;
    min-width: 0;
  }

  /* “Завершити тестування” — окремий ряд */
  .test-controls #finishMid{
    flex: 0 0 100%;
    width: 100%;
    order: 3;
    margin-top: 10px;
  }
}

#next {
  background: #7392FF;
  background: linear-gradient(177deg, rgba(115, 146, 255, 1) 0%, rgba(25, 93, 230, 1) 100%);
}

.finish-btn {
  background: #8DE4AA;
  background: linear-gradient(177deg,rgba(141, 228, 170, 1) 0%, rgba(66, 173, 102, 1) 100%);
}

/* Locked detailed result card (auth gate) */
.locked-card{ grid-column: 1 / -1; }


/* Registration benefits (auth gate) */
.benefits-head{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.benefits-title{
  font-weight:900;
}
.benefits-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}
@media (max-width:720px){
  .benefits-grid{ grid-template-columns:1fr; }
}

.benefit-tile{
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:12px 14px;
  background:linear-gradient(180deg, rgba(246,247,255,.70), rgba(255,255,255,1));
  display:flex;
  gap:10px;
  align-items:flex-start;
  transition:transform .06s, border-color .15s, box-shadow .15s, filter .15s;
}
.benefit-tile:hover{
  transform:translateY(-1px);
  border-color:rgba(29,25,180,.22);
  box-shadow:0 12px 26px rgba(29,25,180,.06);
}

.benefit-badge{
  width:34px;
  height:34px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:var(--brand);
  background:rgba(29,25,180,.08);
  flex:0 0 34px;
}
.benefit-body{ min-width:0; }
.benefit-title{
  font-weight:900;
  line-height:1.15;
}
.benefit-desc{
  margin-top:2px;
  color:var(--muted);
  font-weight:600;
  font-size:var(--fs-body);
  line-height:1.35;
}

/* =========================================================
   Result page refresh (2025-12): less "bold", more contrast,
   clearer accents, and CTA buttons under benefits.
   Scoped to #resultScreen so it won't affect the test UI.
   ========================================================= */
#resultScreen .level-result{ padding: 22px; }
@media (max-width:720px){ #resultScreen .level-result{ padding: 18px; } }

#resultScreen .result-top{ gap: 22px; }
#resultScreen .result-card{ border-radius: 22px; }

#resultScreen .res-title{
  font-weight: 750;
  letter-spacing: .2px;
}
#resultScreen .kpi{ padding: 12px 14px; }
#resultScreen .kpi .k{ font-weight: 650; color: rgba(15,23,42,.60); }
#resultScreen .kpi .v{ font-weight: 800; }

#resultScreen .result-actions{ margin-top: 16px; }
#resultScreen .result-actions .btn{ padding: 12px 16px; }

/* Right column title */
#resultScreen .result-right h3{
  margin: 6px 0 6px;
  font-weight: 800;
  letter-spacing: .2px;
}
#resultScreen .result-right .muted{ color: rgba(15,23,42,.62); }

/* Auth gate (locked detailed stats) */
#resultScreen .auth-gate{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(520px 240px at 10% 0%, rgba(79,70,229,.10), transparent 60%),
    radial-gradient(520px 240px at 100% 40%, rgba(37,99,235,.10), transparent 55%),
    rgba(255,255,255,.86);
  box-shadow: 0 26px 60px rgba(15,23,42,.08);
}
@media (max-width:720px){ #resultScreen .auth-gate{ padding: 14px; } }

#resultScreen .auth-gate__head{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
#resultScreen .auth-gate__icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.16);
  color: rgba(29,25,180,1);
  font-weight: 900;
}
#resultScreen .auth-gate__title{
  font-weight: 850;
  line-height: 1.1;
  margin-top: 2px;
}
#resultScreen .auth-gate__text{
  margin-top: 4px;
  color: rgba(15,23,42,.66);
  font-weight: 550;
  font-size: var(--fs-small);
}

/* Benefits: calmer typography, better spacing */
#resultScreen .benefits-head{ margin-top: 10px; }
#resultScreen .benefits-title{ font-weight: 800; letter-spacing: .2px;   font-size:1.15rem;}

#resultScreen .benefit-tile{
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(227,230,239,.9);
}
#resultScreen .benefit-title{ font-weight: 750; }
#resultScreen .benefit-desc{ font-weight: 550; color: rgba(15,23,42,.62); }

#resultScreen .benefit-badge{
  width: 36px; height: 36px;
  border-radius: 14px;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.16);
  color: rgba(29,25,180,1);
}

/* CTA moved UNDER benefits and made larger */
#resultScreen .auth-gate__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
#resultScreen .auth-gate__cta .btn{
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
}
#resultScreen .auth-gate__cta .btn--ghost{ font-weight: 750; }

@media (max-width:520px){
  #resultScreen .auth-gate__cta{ flex-direction: column; align-items: stretch; }
  #resultScreen .auth-gate__cta .btn{ width: 100%; }
}

#resultScreen .auth-gate__sub{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(15,23,42,.55);
}

/* =========================================================
   Result "locked analytics" structure patch (2025-12-30)
   - Right block: H3 🔒 Детальна аналітика + text + benefits(2col) + CTA
   Scoped to #resultScreen
   ========================================================= */
#resultScreen .auth-gate h3{
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: .2px;
}
#resultScreen .auth-gate .gate-text{
  margin: 0 0 12px;
  color: rgba(15,23,42,.66);
  font-weight: 550;
  font-size: var(--fs-body);
}
/* center badge + text vertically inside benefit cards */
#resultScreen .benefit-tile{
  align-items: center; /* було flex-start */
}

#resultScreen .benefit-body{
  display: flex;
  flex-direction: column;
  justify-content: center; /* центрує title/desc відносно висоти картки */
}
