/* =====================================================================
   upclass.ai coaching-type pages (the hub, /lms-for-coaching-institutes/, and one page
   per type, /lms-for-<type>-coaching/) and the homepage's "Built for every kind of
   coaching" chooser.
   Loaded after home.css, whose tokens and v2_* components these pages reuse.
   Everything new is scoped v2s_* (segments) and lives under .v2, so the light
   and dark tokens (--v2-*) apply as they do on the homepage.
   ===================================================================== */

/* ------------------------------------------------------------ tones
   One colour per coaching type, for its icon tile, eyebrow and card accents. */
.v2s_tone--blue,   .v2s_tonecard--blue   { --seg: #044FC0; --seg-soft: rgba(4, 79, 192, 0.09);   --seg-line: rgba(4, 79, 192, 0.24); }
.v2s_tone--teal,   .v2s_tonecard--teal   { --seg: #0f766e; --seg-soft: rgba(13, 148, 136, 0.11); --seg-line: rgba(13, 148, 136, 0.3); }
.v2s_tone--amber,  .v2s_tonecard--amber  { --seg: #9a4507; --seg-soft: rgba(245, 158, 11, 0.14); --seg-line: rgba(217, 119, 6, 0.32); }
.v2s_tone--violet, .v2s_tonecard--violet { --seg: #6d28d9; --seg-soft: rgba(139, 92, 246, 0.12); --seg-line: rgba(124, 58, 237, 0.28); }
.v2s_tone--rose,   .v2s_tonecard--rose   { --seg: #be123c; --seg-soft: rgba(225, 29, 72, 0.09);  --seg-line: rgba(225, 29, 72, 0.26); }
.v2s_tone--indigo, .v2s_tonecard--indigo { --seg: #4338ca; --seg-soft: rgba(79, 70, 229, 0.11);  --seg-line: rgba(79, 70, 229, 0.28); }
.v2s_tone--green,  .v2s_tonecard--green  { --seg: #15803d; --seg-soft: rgba(22, 163, 74, 0.11);  --seg-line: rgba(22, 163, 74, 0.3); }
.v2s_tone--orange, .v2s_tonecard--orange { --seg: #c2410c; --seg-soft: rgba(234, 88, 12, 0.1);   --seg-line: rgba(234, 88, 12, 0.3); }
.v2s_tone--cyan,   .v2s_tonecard--cyan   { --seg: #0e7490; --seg-soft: rgba(6, 182, 212, 0.11);  --seg-line: rgba(8, 145, 178, 0.3); }
.v2s_tone--fuchsia, .v2s_tonecard--fuchsia { --seg: #a21caf; --seg-soft: rgba(192, 38, 211, 0.09); --seg-line: rgba(192, 38, 211, 0.28); }
.v2s_tone--sky,    .v2s_tonecard--sky    { --seg: #0369a1; --seg-soft: rgba(14, 165, 233, 0.11); --seg-line: rgba(2, 132, 199, 0.3); }
.v2s_tone--lime,   .v2s_tonecard--lime   { --seg: #4d7c0f; --seg-soft: rgba(101, 163, 13, 0.12); --seg-line: rgba(77, 124, 15, 0.3); }
.v2s_tone--slate,  .v2s_tonecard--slate  { --seg: #475569; --seg-soft: rgba(100, 116, 139, 0.11); --seg-line: rgba(71, 85, 105, 0.3); }

[data-theme="dark"] .v2s_tone--blue,   [data-theme="dark"] .v2s_tonecard--blue   { --seg: #93c0ff; --seg-soft: rgba(47, 116, 221, 0.2);  --seg-line: rgba(147, 192, 255, 0.3); }
[data-theme="dark"] .v2s_tone--teal,   [data-theme="dark"] .v2s_tonecard--teal   { --seg: #5eead4; --seg-soft: rgba(13, 148, 136, 0.2);  --seg-line: rgba(94, 234, 212, 0.28); }
[data-theme="dark"] .v2s_tone--amber,  [data-theme="dark"] .v2s_tonecard--amber  { --seg: #fcd34d; --seg-soft: rgba(245, 158, 11, 0.16); --seg-line: rgba(252, 211, 77, 0.28); }
[data-theme="dark"] .v2s_tone--violet, [data-theme="dark"] .v2s_tonecard--violet { --seg: #c4b5fd; --seg-soft: rgba(139, 92, 246, 0.2);  --seg-line: rgba(196, 181, 253, 0.3); }
[data-theme="dark"] .v2s_tone--rose,   [data-theme="dark"] .v2s_tonecard--rose   { --seg: #fda4af; --seg-soft: rgba(225, 29, 72, 0.18);  --seg-line: rgba(253, 164, 175, 0.28); }
[data-theme="dark"] .v2s_tone--indigo, [data-theme="dark"] .v2s_tonecard--indigo { --seg: #a5b4fc; --seg-soft: rgba(79, 70, 229, 0.24);  --seg-line: rgba(165, 180, 252, 0.3); }
[data-theme="dark"] .v2s_tone--green,  [data-theme="dark"] .v2s_tonecard--green  { --seg: #86efac; --seg-soft: rgba(22, 163, 74, 0.2);  --seg-line: rgba(134, 239, 172, 0.28); }
[data-theme="dark"] .v2s_tone--orange, [data-theme="dark"] .v2s_tonecard--orange { --seg: #fdba74; --seg-soft: rgba(234, 88, 12, 0.2);  --seg-line: rgba(253, 186, 116, 0.28); }
[data-theme="dark"] .v2s_tone--cyan,   [data-theme="dark"] .v2s_tonecard--cyan   { --seg: #67e8f9; --seg-soft: rgba(6, 182, 212, 0.18); --seg-line: rgba(103, 232, 249, 0.28); }
[data-theme="dark"] .v2s_tone--fuchsia, [data-theme="dark"] .v2s_tonecard--fuchsia { --seg: #f0abfc; --seg-soft: rgba(192, 38, 211, 0.2); --seg-line: rgba(240, 171, 252, 0.28); }
[data-theme="dark"] .v2s_tone--sky,    [data-theme="dark"] .v2s_tonecard--sky    { --seg: #7dd3fc; --seg-soft: rgba(14, 165, 233, 0.18); --seg-line: rgba(125, 211, 252, 0.28); }
[data-theme="dark"] .v2s_tone--lime,   [data-theme="dark"] .v2s_tonecard--lime   { --seg: #bef264; --seg-soft: rgba(101, 163, 13, 0.2); --seg-line: rgba(190, 242, 100, 0.28); }
[data-theme="dark"] .v2s_tone--slate,  [data-theme="dark"] .v2s_tonecard--slate  { --seg: #cbd5e1; --seg-soft: rgba(148, 163, 184, 0.18); --seg-line: rgba(203, 213, 225, 0.28); }

.v2s_seg_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--seg-line);
  border-radius: 13px;
  background: var(--seg-soft);
  color: var(--seg);
  font-size: 1.2rem;
}

.v2s_seg_icon--lg {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.5rem;
}

.v2_eyebrow.v2s_tone {
  border-color: var(--seg-line);
  background: var(--seg-soft);
  color: var(--seg);
}

/* Hindi text: Devanagari faces, since Inter and Space Grotesk have none. */
.v2 [lang="hi"] {
  font-family: 'Inter', 'Noto Sans Devanagari', 'Kohinoor Devanagari', 'Nirmala UI', 'Mangal', system-ui, sans-serif;
}

/* ============================================================== HERO */
.v2s_h1 {
  font-size: clamp(2.3rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.04;
  text-wrap: balance;
}

/* The keyword label ("LMS & app for UPSC coaching institutes") sits inside the H1 so the
   heading carries the search phrase, but it looks and spaces like the eyebrow pill it was;
   the big line below stays the benefit. */
.v2s_h1 .v2s_h1_label {
  display: flex;
  width: fit-content;
  margin-bottom: 22px;
  font-family: var(--v2-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-wrap: wrap;
}

.v2s_h1 .v2s_h1_main {
  display: block;
}

/* Centred heroes: the hub always, the coaching-type pages once they stack. */
.v2s_ihero .v2s_h1 .v2s_h1_label {
  margin-inline: auto;
}

@media (max-width: 1079.98px) {
  .v2s_hero .v2s_h1 .v2s_h1_label {
    margin-inline: auto;
  }
}

.v2s_hero {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.v2s_crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--v2-text-3);
  font-size: 0.8125rem;
  font-weight: 500;
}

.v2s_crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v2s_crumbs li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.6;
  transform: rotate(45deg);
}

.v2s_crumbs a {
  color: var(--v2-text-2);
  text-decoration: none;
}

.v2s_crumbs a:hover {
  color: var(--v2-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v2s_crumbs [aria-current] {
  color: var(--v2-text);
  font-weight: 600;
}

/* "Built for" the exams and courses this type of institute teaches. */
.v2s_exams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(36px, 4vw, 52px);
  padding: 14px 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-glass);
  box-shadow: var(--v2-shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.v2s_exams_label {
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2s_exams_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v2s_exams_list li {
  padding: 5px 12px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1079.98px) {
  .v2s_crumbs ol {
    justify-content: center;
  }

  .v2s_exams {
    justify-content: center;
    text-align: center;
  }

  .v2s_exams_list {
    justify-content: center;
  }
}

/* ------------------------------------------------ hero visuals: shared scene
   Sized in em off a container-scaled font-size, like the homepage's .v2_hv, so the
   test window, the phone and the floating cards scale as one picture. */
.v2s_hv_wrap,
.v2s_hphones_wrap {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  container-type: inline-size;
}

.v2s_hv {
  position: relative;
  padding: 1.5em 0 4.5em;
  font-size: 13px;
  font-size: clamp(8px, 2.05cqw, 14px);
  line-height: 1.4;
}

/* The test window: the institute's own test UI stays light in both themes. */
.v2s_testwin {
  position: relative;
  z-index: 1;
  width: 86%;
  margin-left: 1%;
  overflow: hidden;
  border: 1px solid rgba(16, 38, 76, 0.1);
  border-radius: 1.1em;
  background: #fff;
  color: #0b1b33;
  box-shadow: 0 0 0 0.55em rgba(255, 255, 255, 0.55), 0 3em 6em -2em rgba(4, 32, 84, 0.45),
    0 1.2em 2.4em -1.2em rgba(4, 79, 192, 0.3);
}

[data-theme="dark"] .v2s_testwin {
  border-color: rgba(148, 172, 210, 0.2);
  box-shadow: 0 0 0 0.55em rgba(255, 255, 255, 0.05), 0 3em 6em -2em rgba(0, 0, 0, 0.7),
    0 1.2em 2.4em -1.2em rgba(4, 79, 192, 0.4);
}

.v2s_testwin_bar {
  display: flex;
  align-items: center;
  gap: 0.9em;
  height: 3.1em;
  padding: 0 1em;
  border-bottom: 1px solid #e6ecf5;
  background: #f4f7fc;
}

.v2s_testwin_title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.95em;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_timer {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: rgba(224, 66, 74, 0.1);
  color: #c02f38;
  font-size: 0.85em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v2s_tabs {
  display: flex;
  gap: 0.2em;
  padding: 0 0.8em;
  border-bottom: 1px solid #e6ecf5;
}

.v2s_tabs > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 0.9em 0.65em;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

.v2s_tabs > span i {
  font-size: 0.85em;
  opacity: 0.7;
}

.v2s_tabs > .is-on {
  border-bottom-color: #044FC0;
  color: #044FC0;
}

.v2s_tabs small {
  padding: 0.1em 0.5em;
  border-radius: 999px;
  background: rgba(4, 79, 192, 0.1);
  font-size: 0.8em;
  font-weight: 700;
}

.v2s_testwin_body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}

.v2s_testwin_sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.9em 1.3em 0;
  color: #475569;
  font-size: 0.85em;
  font-weight: 700;
}

.v2s_testwin_sub small,
.v2s_qno small {
  margin-left: 0.4em;
  padding: 0.15em 0.55em;
  border-radius: 999px;
  background: #eef3fb;
  color: #475569;
  font-size: 0.85em;
  font-weight: 700;
}

.v2s_q {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  padding: 1.2em 1.3em 1.3em;
}

.v2s_qno {
  color: #0b1b33;
  font-size: 0.85em;
  font-weight: 800;
}

.v2s_q_text,
.v2s_testwin .v2s_q_text {
  /* The test window stays light in the dark theme too, so this beats .v2_fcard p there. */
  color: #0b1b33;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.45;
}

.v2s_q_text--hi,
.v2s_testwin .v2s_q_text--hi {
  margin-top: -0.3em;
  padding-left: 0.8em;
  border-left: 3px solid rgba(4, 79, 192, 0.25);
  color: #44556d;
  font-weight: 500;
}

.v2s_opts {
  display: grid;
  gap: 0.5em;
}

.v2s_opts--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v2s_opts li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.8em;
  border: 1px solid #dbe3ee;
  border-radius: 0.7em;
  color: #334155;
  font-size: 0.9em;
  font-weight: 500;
}

.v2s_opts li.is-picked {
  border-color: #044FC0;
  background: rgba(4, 79, 192, 0.07);
  color: #044FC0;
  font-weight: 700;
}

.v2s_radio {
  flex: none;
  width: 1em;
  height: 1em;
  border: 2px solid #b6c2d4;
  border-radius: 50%;
}

.is-picked .v2s_radio {
  border-color: #044FC0;
  background: radial-gradient(circle, #044FC0 0 42%, transparent 46%);
}

.v2s_q_actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  margin-top: 0.2em;
}

.v2s_q_actions span {
  padding: 0.55em 1em;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8em;
  font-weight: 700;
  white-space: nowrap;
}

.v2s_q_actions .is-primary {
  border-color: #044FC0;
  background: #044FC0;
  color: #fff;
}

.v2s_palette {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  padding: 1.2em 1.1em;
  border-left: 1px solid #e6ecf5;
  background: #f8fafd;
}

.v2s_palette_h {
  color: #64748b;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2s_palette_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4em;
}

.v2s_palette_grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #dbe3ee;
  border-radius: 0.45em;
  background: #fff;
  color: #64748b;
  font-size: 0.72em;
  font-weight: 700;
}

.v2s_palette_grid .p-a {
  border-color: transparent;
  background: #16a34a;
  color: #fff;
}

.v2s_palette_grid .p-n {
  border-color: transparent;
  background: #e0424a;
  color: #fff;
}

.v2s_palette_grid .p-r {
  border-color: transparent;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
}

.v2s_palette_grid .p-c {
  border: 2px solid #044FC0;
  color: #044FC0;
}

.v2s_palette_key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.8em;
  color: #64748b;
  font-size: 0.68em;
  font-weight: 600;
}

.v2s_palette_key span {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.v2s_palette_key i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.2em;
}

.v2s_palette_key .p-a { background: #16a34a; }
.v2s_palette_key .p-r { border-radius: 50%; background: #7c3aed; }
.v2s_palette_key .p-n { background: #e0424a; }

/* A type-in-the-answer (TITA) question: the number the student typed, where an MCQ has
   options. In the test window it stays light like the rest of the test; the card version
   (in a feature card, .v2s_tita--card) follows the theme. */
.v2s_tita {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45em;
}

.v2s_tita_label {
  color: #64748b;
  font-size: 0.78em;
  font-weight: 700;
}

.v2s_tita_box {
  display: flex;
  align-items: center;
  gap: 0.12em;
  width: min(100%, 12em);
  padding: 0.6em 0.85em;
  border: 2px solid #044FC0;
  border-radius: 0.7em;
  background: #fff;
  box-shadow: 0 0 0 0.25em rgba(4, 79, 192, 0.12);
  color: #0b1b33;
  font-size: 1.1em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v2s_tita_caret {
  width: 2px;
  height: 1.1em;
  background: #044FC0;
  animation: v2s-caret 1.1s steps(1) infinite;
}

@keyframes v2s-caret {
  50% { opacity: 0; }
}

.v2s_tita--card .v2s_tita_label {
  color: var(--v2-text-3);
  font-size: 0.75rem;
}

.v2s_tita--card .v2s_tita_box {
  padding: 10px 14px;
  border-color: var(--v2-accent);
  border-radius: 10px;
  background: var(--v2-surface);
  box-shadow: 0 0 0 4px var(--v2-accent-soft);
  color: var(--v2-text);
  font-size: 1rem;
}

.v2s_tita--card .v2s_tita_caret {
  background: var(--v2-accent);
}

/* The English / हिंदी switch. */
.v2s_langswitch {
  display: inline-flex;
  flex: none;
  padding: 0.2em;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f4f7fc;
  font-size: 0.95em;
}

.v2s_langswitch > span {
  padding: 0.25em 0.8em;
  border-radius: 999px;
  color: #475569;
  font-weight: 700;
}

.v2s_langswitch > .is-on {
  background: #044FC0;
  color: #fff;
}

.v2s_langswitch--sm {
  margin-left: auto;
  margin-right: 8px;
  font-size: 0.72rem;
}

.v2_mcq .v2s_langswitch--sm {
  border-color: var(--v2-border-2);
  background: var(--v2-surface);
}

.v2_mcq .v2s_langswitch--sm > span {
  color: var(--v2-text-2);
}

.v2_mcq .v2s_langswitch--sm > .is-on {
  background: var(--v2-primary);
  color: #fff;
}

/* The phone steps a little to the side, so the language switch, the timer and the
   question palette stay in view. */
.v2s_hv .v2s_testwin {
  width: 79%;
}

.v2s_hv .v2_phone--hero {
  width: 11.5em;
  bottom: -0.5em;
}

/* Floating card, bottom left of the scene. */
.v2s_float_release {
  bottom: 1.2em;
  left: 0;
  animation: v2-bob 7s ease-in-out infinite;
}

.v2s_float_icon {
  background: rgba(4, 79, 192, 0.1);
  color: #044FC0;
}

[data-theme="dark"] .v2s_float_icon {
  background: rgba(96, 150, 255, 0.16);
  color: #93c0ff;
}

/* Phones in the scene: a result card (SSC) and downloads (State PSC). */
.v2s_res_score {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  padding: 0.7em 0.8em 0.2em;
  border-radius: 0.8em;
  background: linear-gradient(135deg, var(--v2-app), color-mix(in srgb, var(--v2-app) 55%, #0b1b33));
  color: #fff;
}

.v2s_res_score b {
  font-family: var(--v2-font-h);
  font-size: 1.7em;
  line-height: 1;
}

.v2s_res_score small {
  opacity: 0.8;
  font-size: 0.7em;
}

.v2s_res_chips {
  display: flex;
  gap: 0.4em;
}

.v2s_res_chips span {
  flex: 1;
  padding: 0.4em 0.3em;
  border-radius: 0.6em;
  background: #fff;
  font-size: 0.66em;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0.2em 0.6em rgba(16, 38, 76, 0.06);
}

.v2s_res_bars {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  padding: 0.6em 0.7em;
  border-radius: 0.8em;
  background: #fff;
  box-shadow: 0 0.2em 0.6em rgba(16, 38, 76, 0.06);
}

.v2s_res_bars span {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  align-items: center;
  gap: 0.4em;
}

.v2s_res_bars small {
  color: #64748b;
  font-size: 0.58em;
  font-weight: 700;
}

.v2s_res_bars i {
  height: 0.4em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-app) var(--w), #e3e9f3 0);
}

.v2s_offline_badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgba(15, 138, 85, 0.12);
  color: #0f7a4b;
  font-size: 0.62em;
  font-weight: 800;
}

.v2s_dl_mini {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em;
  border-radius: 0.7em;
  background: #fff;
  box-shadow: 0 0.2em 0.6em rgba(16, 38, 76, 0.06);
}

.v2s_dl_mini > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.v2s_dl_mini b {
  overflow: hidden;
  font-size: 0.62em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_dl_mini small {
  color: #64748b;
  font-size: 0.55em;
}

.v2s_dl_mini .v2s_dl_thumb {
  width: 2.2em;
  font-size: 0.8em;
}

/* Narrow scenes: the window takes the full width and the phone steps aside. */
@container (max-width: 460px) {
  .v2s_hv .v2s_testwin {
    width: 100%;
    margin-left: 0;
  }

  .v2s_hv .v2_phone--hero {
    display: none;
  }

  .v2s_hv {
    padding-bottom: 5em;
  }

  .v2s_float_release {
    right: 4%;
    bottom: 0.4em;
    left: auto;
  }

  .v2s_palette {
    display: none;
  }

  .v2s_testwin_body {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------ hero visual: two real phones */
.v2s_hphones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1em 0 2em;
  font-size: clamp(8px, 2.05cqw, 14px);
}

.v2s_hphones .v2s_device {
  width: 44%;
  max-width: 280px;
}

.v2s_hphones .v2s_device--back {
  z-index: 1;
  margin-top: 3.5em;
  margin-right: -7%;
  transform: rotate(-5deg);
}

.v2s_hphones .v2s_device--front {
  z-index: 2;
  transform: rotate(3deg);
}

.v2s_hchip {
  z-index: 3;
  white-space: nowrap;
}

.v2s_hchip--1 {
  bottom: 24%;
  left: -2%;
  animation: v2-bob 7s ease-in-out infinite;
}

.v2s_hchip--2 {
  right: 0;
  bottom: 10%;
  animation: v2-bob 8s ease-in-out 1.2s infinite;
}

@container (max-width: 420px) {
  .v2s_hchip {
    display: none;
  }

  .v2s_hphones .v2s_device {
    width: 48%;
  }
}

/* ------------------------------------------------ a phone frame around a real screen */
.v2s_device {
  position: relative;
  padding: 3.4%;
  border-radius: 13% / 6.2%;
  background: linear-gradient(150deg, #3a4a66 0%, #0b1220 55%, #1c2638 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 4px #0b1220,
    0 2.5em 5em -2.2em rgba(4, 24, 60, 0.6), 0 1.2em 2.4em -1.4em rgba(4, 79, 192, 0.3);
}

.v2s_device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1298;
  border-radius: 10.2% / 4.7%;
  background: #eef2f8;
  object-fit: cover;
  object-position: top center;
}

[data-theme="dark"] .v2s_device {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 0 0 4px #0b1220,
    0 2.5em 5em -2.2em rgba(0, 0, 0, 0.8);
}

/* ======================================================== PROBLEMS */
.v2s_pains {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2s_pain_list {
  display: grid;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.v2s_pain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.1fr);
  align-items: stretch;
}

.v2s_pain_problem,
.v2s_pain_fix {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--v2-r-lg);
}

.v2s_pain_problem {
  border: 1px dashed var(--v2-border-2);
  background: var(--v2-surface);
}

.v2s_pain_fix {
  border: 1px solid var(--v2-accent-line);
  background: linear-gradient(160deg, var(--v2-accent-soft), var(--v2-surface) 72%);
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.3s var(--v2-ease), box-shadow 0.3s ease;
}

.v2s_pain:hover .v2s_pain_fix {
  box-shadow: var(--v2-shadow-md);
  transform: translateX(3px);
}

.v2s_pain_icon,
.v2s_fix_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.15rem;
}

.v2s_pain_icon {
  background: rgba(224, 66, 74, 0.09);
  color: #c7353d;
}

[data-theme="dark"] .v2s_pain_icon {
  background: rgba(224, 66, 74, 0.16);
  color: #ff8d93;
}

.v2s_fix_icon {
  background: var(--v2-primary);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(4, 79, 192, 0.7);
}

.v2s_pain_label {
  display: block;
  color: var(--v2-text-3);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2s_pain_label--fix {
  color: var(--v2-accent);
}

.v2s_pain_title {
  margin: 5px 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.v2s_pain_problem .v2s_pain_title {
  color: var(--v2-text);
}

.v2s_pain p {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.v2s_pain_arrow {
  display: grid;
  place-items: center;
}

.v2s_pain_arrow i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--v2-accent-line);
  border-radius: 50%;
  background: var(--v2-surface);
  color: var(--v2-accent);
  font-size: 1rem;
  box-shadow: var(--v2-shadow-sm);
}

@media (max-width: 767.98px) {
  .v2s_pain {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2s_pain_arrow {
    position: relative;
    z-index: 1;
    height: 0;
  }

  .v2s_pain_arrow i {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    transform: rotate(90deg);
  }

  .v2s_pain_problem {
    padding-bottom: 34px;
  }

  .v2s_pain_fix {
    padding-top: 34px;
  }

  .v2s_pain + .v2s_pain {
    margin-top: 12px;
  }

  .v2s_pain:hover .v2s_pain_fix {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .v2s_pain_problem,
  .v2s_pain_fix {
    gap: 14px;
    padding-inline: 18px;
  }
}

/* ======================================================== FEATURES */
.v2s_fbento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.v2s_fbento > .v2s_fcard {
  grid-column: span 4;
}

.v2s_fbento > .v2s_fcard:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 2;
}

.v2s_fbento > .v2s_fcard:nth-child(2),
.v2s_fbento > .v2s_fcard:nth-child(3) {
  grid-column: 8 / span 5;
}

.v2s_visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v2s_fcard:nth-child(1) .v2s_visual {
  flex: 1;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .v2s_fbento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2s_fbento > .v2s_fcard,
  .v2s_fbento > .v2s_fcard:nth-child(2),
  .v2s_fbento > .v2s_fcard:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .v2s_fbento > .v2s_fcard:nth-child(1),
  .v2s_fbento > .v2s_fcard:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 575.98px) {
  .v2s_fbento {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .v2s_fbento > .v2s_fcard:nth-child(n) {
    grid-column: auto;
  }
}

/* ---- visuals, one small mock per feature ---- */
.v2s_sheet--compact .v2_sheet_body svg {
  aspect-ratio: 320 / 110;
}

.v2s_sheet--compact .v2_sheet_body svg path:nth-child(n + 4) {
  display: none;
}

.v2s_q_hi {
  margin-top: -4px;
  padding-left: 10px;
  border-left: 3px solid var(--v2-accent-line);
  color: var(--v2-text-2);
  font-weight: 500;
}

.v2s_avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--v2-primary) 16%, var(--v2-surface));
  color: var(--v2-accent);
  font-size: 0.66rem;
  font-weight: 800;
}

.v2s_avatar--lg {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}

/* Live class */
.v2s_live {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #1a62d8, #033a8c);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(4, 79, 192, 0.9);
}

.v2s_live_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.v2s_live_badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e0424a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.v2s_live_badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: v2-blink 1.6s ease-in-out infinite;
}

.v2s_live_title {
  font-family: var(--v2-font-h);
  font-size: 1.15rem;
  font-weight: 700;
}

.v2s_live_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.v2s_people {
  display: flex;
}

.v2s_people i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.v2s_people i + i {
  margin-left: -8px;
}

.v2s_live_join {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #044FC0;
  font-size: 0.78rem;
  font-weight: 800;
}

.v2s_live_rec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface-2);
  color: var(--v2-text-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.v2s_live_rec .bi-record-circle {
  color: #e0424a;
}

.v2s_live_rec b {
  color: var(--v2-text);
}

/* Mentorship */
.v2s_mentor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_mentor_ring {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.v2s_mentor_ring small {
  color: var(--v2-text-3);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.v2s_ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--v2-primary) calc(var(--p, 60) * 1%), var(--v2-border-2) 0);
}

[data-theme="dark"] .v2s_ring {
  background: conic-gradient(var(--v2-accent) calc(var(--p, 60) * 1%), var(--v2-border-2) 0);
}

.v2s_ring::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--v2-surface-2);
}

.v2s_ring b {
  position: relative;
  color: var(--v2-text);
  font-size: 0.85rem;
  font-weight: 800;
}

.v2s_rows {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.v2s_row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface);
}

.v2s_row > i {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 0.85rem;
}

.v2s_row > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_row b {
  overflow: hidden;
  color: var(--v2-text);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_row small {
  overflow: hidden;
  color: var(--v2-text-3);
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* AI (as on the homepage) */
.v2s_ai {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.v2s_aiflow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_aiflow span {
  padding: 4px 10px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  white-space: nowrap;
}

.v2s_aiflow i {
  color: #7c5cff;
}

[data-theme="dark"] .v2s_aiflow i {
  color: #c9bdff;
}

.v2s_ai_card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.09), var(--v2-surface) 70%);
}

.v2s_ai_tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.14);
  color: #5b3fd6;
  font-size: 0.68rem;
  font-weight: 800;
}

[data-theme="dark"] .v2s_ai_tag {
  color: #c9bdff;
}

.v2s_skel {
  display: block;
  width: var(--w, 80%);
  height: 7px;
  border-radius: 4px;
  background: var(--v2-border-2);
}

.v2s_ai_opts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.v2s_ai_opts i {
  height: 18px;
  border: 1px solid var(--v2-border-2);
  border-radius: 6px;
}

.v2s_ai_opts i.is-on {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.16);
}

/* Downloads */
.v2s_dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_dl li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.v2s_dl_thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  background: linear-gradient(135deg, #15305a, #0a1830);
  color: #fff;
}

.v2s_dl_thumb--2 {
  background: linear-gradient(135deg, #0f766e, #0b3b52);
}

.v2s_dl_thumb--3 {
  background: linear-gradient(135deg, #6d28d9, #1e1b4b);
}

.v2s_dl_text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_dl_text b {
  overflow: hidden;
  color: var(--v2-text);
  font-size: 0.85rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_dl_text small {
  color: var(--v2-text-3);
  font-size: 0.75rem;
}

.v2s_dl_state {
  color: var(--v2-ok);
  font-size: 1.1rem;
}

.v2s_dl_state--busy {
  color: var(--v2-accent);
}

/* The test window as a card (SSC's mock) */
.v2s_testwin--card {
  width: 100%;
  margin: 0;
  font-size: 13px;
  box-shadow: 0 18px 36px -24px rgba(16, 38, 76, 0.45);
}

.v2s_testwin--card .v2s_testwin_bar {
  height: 40px;
}

/* Section summary under the mock test (answered, marked for review, the rest not answered). */
.v2s_secsum {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_secsum_head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
}

.v2s_secsum_head b {
  color: var(--v2-text);
  font-size: 0.85rem;
}

.v2s_secsum_head small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_secsum ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_secsum li {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--v2-text-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.v2s_secsum_bar {
  display: flex;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(224, 66, 74, 0.35);
}

.v2s_secsum_bar i:first-child {
  width: var(--a);
  background: #16a34a;
}

.v2s_secsum_bar i:last-child {
  width: var(--r);
  background: #7c3aed;
}

.v2s_secsum li b {
  color: var(--v2-text);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.v2s_secsum li b small {
  color: var(--v2-text-3);
  font-weight: 600;
}

/* Topic analytics */
.v2s_mstats {
  min-height: 0;
}

.v2s_bars {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 120px;
}

.v2s_bars .is-low i {
  background: linear-gradient(180deg, #f5a524, color-mix(in srgb, #f5a524 45%, transparent));
}

.v2s_weak {
  background: rgba(245, 165, 36, 0.14);
  color: #9a5a00;
}

[data-theme="dark"] .v2s_weak {
  color: #f7c46c;
}

/* OMR sheet */
.v2s_omr {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ece5d6;
  border-radius: 16px;
  background: #fffdf8;
  color: #33415a;
  box-shadow: 0 18px 36px -24px rgba(16, 38, 76, 0.45);
}

.v2s_omr_head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2s_omr_head > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_omr_head b {
  font-size: 0.85rem;
}

.v2s_omr_head small {
  color: #6b7a90;
  font-size: 0.72rem;
}

.v2s_qr {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d9d2c3;
  border-radius: 8px;
  background: #fff;
  color: #0b1b33;
  font-size: 1.3rem;
}

.v2s_omr_rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.v2s_omr_row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2s_omr_row small {
  width: 14px;
  color: #6b7a90;
  font-size: 0.72rem;
  font-weight: 700;
}

.v2s_omr_row i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c9b99a;
  border-radius: 50%;
  color: #a08c68;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 700;
}

.v2s_omr_row i.is-on {
  border-color: #1f2937;
  background: #1f2937;
  color: #fff;
}

/* Laptop app (CA) */
.v2s_lap_wrap {
  container-type: inline-size;
}

.v2s_lap {
  padding: 0.5em 0 0.5em;
  font-size: 10px;
  font-size: clamp(6px, 2.1cqw, 12px);
  line-height: 1.4;
}

.v2s_lap .v2_laptop {
  width: 94%;
  margin: 0 auto;
}

.v2s_lap_player {
  position: relative;
  display: block;
  flex: 1;
  min-height: 9em;
  overflow: hidden;
  border-radius: 0.7em;
  background: radial-gradient(90% 90% at 15% 0%, rgba(59, 125, 224, 0.45), transparent 60%),
    linear-gradient(135deg, #15305a, #0a1830);
}

.v2s_lap_board {
  position: absolute;
  inset: 12% 8% 30%;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.v2s_lap_board b {
  color: #f3f7ff;
  font-family: var(--v2-font-h);
  font-size: 1.25em;
}

.v2s_lap_board i {
  display: block;
  width: 60%;
  height: 0.45em;
  border-radius: 0.3em;
  background: rgba(232, 240, 255, 0.28);
}

.v2s_lap_board i:nth-of-type(2) { width: 46%; }
.v2s_lap_board i:nth-of-type(3) { width: 54%; }

.v2s_lap_wm {
  position: absolute;
  top: 58%;
  left: 30%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
  animation: v2-wm 16s ease-in-out infinite;
}

.v2s_lap_alert {
  position: absolute;
  top: 8%;
  right: 5%;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 0.8em;
  border: 1px solid rgba(130, 175, 255, 0.35);
  border-radius: 0.7em;
  background: rgba(15, 32, 57, 0.9);
  color: #d6e6ff;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

.v2s_lap_alert i {
  color: #7fb3ff;
}

.v2s_lap_progress {
  position: absolute;
  right: 5%;
  bottom: 9%;
  left: 5%;
  height: 0.35em;
  border-radius: 0.2em;
  background: rgba(255, 255, 255, 0.18);
}

.v2s_lap_progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #3b7de0;
}

/* GST invoice */
.v2s_invoice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
  font-size: 0.85rem;
}

.v2s_inv_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--v2-border-2);
}

.v2s_inv_head > span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_inv_head b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 0.95rem;
}

.v2s_inv_head small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_inv_row,
.v2s_inv_total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--v2-text);
  font-variant-numeric: tabular-nums;
}

.v2s_inv_row--muted {
  color: var(--v2-text-3);
}

.v2s_inv_total {
  padding-top: 8px;
  border-top: 1px dashed var(--v2-border-2);
  font-weight: 700;
}

.v2s_inv_total b {
  color: var(--v2-accent);
  font-family: var(--v2-font-h);
  font-size: 1.05rem;
}

/* Two real screens (JEE tests card) */
.v2s_shotpair {
  display: flex;
  justify-content: center;
  gap: 5%;
  padding: 6px 0 18px;
  font-size: 12px;
}

.v2s_shotpair .v2s_device {
  width: 42%;
  max-width: 230px;
}

.v2s_shotpair .v2s_device:nth-child(2) {
  margin-top: 28px;
}

/* Daily practice */
.v2s_practice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2s_practice_top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v2s_pchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.v2s_pchip--streak {
  border-color: rgba(234, 88, 12, 0.3);
  background: rgba(234, 88, 12, 0.08);
  color: #c2410c;
}

[data-theme="dark"] .v2s_pchip--streak {
  color: #fdba74;
}

.v2s_pchip--ok {
  border-color: rgba(15, 138, 85, 0.3);
  background: rgba(15, 138, 85, 0.08);
  color: var(--v2-ok);
}

.v2s_practice_q {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-surface-2);
}

.v2s_practice_meta {
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_practice_opts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.v2s_practice_opts i {
  display: grid;
  place-items: center;
  height: 28px;
  border: 1px solid var(--v2-border-2);
  border-radius: 8px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}

.v2s_practice_opts i.is-wrong {
  border-color: rgba(224, 66, 74, 0.5);
  background: rgba(224, 66, 74, 0.08);
  color: #c7353d;
  text-decoration: line-through;
}

.v2s_hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 154, 43, 0.35);
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.12);
  color: var(--v2-text-2);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.v2s_hint > i {
  color: #d99a2b;
}

.v2s_hint b {
  margin-right: 4px;
  color: var(--v2-text);
}

/* Doubts */
.v2s_doubt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_doubt_ask {
  display: flex;
  align-self: flex-end;
  align-items: flex-end;
  gap: 8px;
}

.v2s_doubt_photo {
  position: relative;
  display: grid;
  width: 104px;
  padding: 8px 8px 6px;
  border: 1px solid var(--v2-border-2);
  border-radius: 12px;
  background: #fffdf8;
  color: #51607a;
}

.v2s_doubt_photo svg {
  width: 100%;
  height: auto;
}

.v2s_doubt_photo small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7a90;
  font-size: 0.65rem;
  font-weight: 700;
}

.v2s_voice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--v2-primary);
  color: #fff;
}

.v2s_voice small {
  font-size: 0.7rem;
  opacity: 0.85;
}

.v2s_wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.v2s_wave i {
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.v2s_wave i:nth-child(2n) { height: 80%; }
.v2s_wave i:nth-child(3n) { height: 60%; }
.v2s_wave i:nth-child(5n) { height: 100%; }

/* Attendance */
.v2s_att {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_att_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--v2-text);
  font-size: 0.875rem;
}

.v2s_att_key {
  display: inline-flex;
  align-items: center;
  gap: 4px 8px;
  color: var(--v2-text-3);
  font-size: 0.68rem;
  font-weight: 600;
}

.v2s_att_key i {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 2px;
}

.v2s_cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.v2s_cal span {
  display: grid;
  place-items: center;
  aspect-ratio: 1.3;
  border-radius: 6px;
  color: var(--v2-text-2);
  font-size: 0.65rem;
  font-weight: 700;
}

.v2s_cal .d-p,
.v2s_att_key .d-p {
  background: rgba(22, 163, 74, 0.16);
  color: #15803d;
}

.v2s_cal .d-l,
.v2s_att_key .d-l {
  background: rgba(245, 165, 36, 0.24);
  color: #9a5a00;
}

.v2s_cal .d-a,
.v2s_att_key .d-a {
  background: rgba(224, 66, 74, 0.18);
  color: #c7353d;
}

.v2s_cal .d-h {
  background: repeating-linear-gradient(135deg, var(--v2-border) 0 3px, transparent 3px 6px);
  color: var(--v2-text-3);
}

[data-theme="dark"] .v2s_cal .d-p { color: #4ade80; }
[data-theme="dark"] .v2s_cal .d-l { color: #fbbf24; }
[data-theme="dark"] .v2s_cal .d-a { color: #ff8d93; }

.v2s_att_foot {
  display: flex;
}

/* Parent app */
.v2s_parent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  background: var(--v2-surface-2);
}

.v2s_parent_head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2s_parent_head > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_parent_head b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 0.95rem;
}

.v2s_parent_head small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_parent_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.v2s_parent_grid > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  padding: 10px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface);
}

.v2s_parent_grid i {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 0.9rem;
}

.v2s_parent_grid b {
  overflow: hidden;
  color: var(--v2-text);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_parent_grid small {
  overflow: hidden;
  color: var(--v2-text-3);
  font-size: 0.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_parent_note,
.v2s_parent_report {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface);
}

.v2s_parent_note > span:last-child,
.v2s_parent_report > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.v2s_parent_note b,
.v2s_parent_report b {
  color: var(--v2-text);
  font-size: 0.8125rem;
}

.v2s_parent_note small,
.v2s_parent_report small {
  color: var(--v2-text-2);
  font-size: 0.75rem;
}

.v2s_parent_report > i:first-child {
  color: #e0424a;
  font-size: 1.2rem;
}

.v2s_parent_report > i:last-child {
  color: var(--v2-accent);
}

/* 3D Lab */
.v2s_lab {
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px 14px 36px;
  overflow: hidden;
  border: 1px solid rgba(130, 160, 255, 0.2);
  border-radius: 18px;
  background: radial-gradient(70% 90% at 50% 20%, rgba(96, 110, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 85% 90%, rgba(4, 79, 192, 0.45), transparent 70%),
    #080d26;
}

.v2s_lab::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.v2s_lab svg {
  position: relative;
  width: min(100%, 260px);
  height: auto;
}

.v2s_lab_tag,
.v2s_lab_name {
  position: absolute;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(160, 190, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 13, 38, 0.7);
  color: #d6e2ff;
  font-size: 0.68rem;
  font-weight: 700;
}

.v2s_lab_tag {
  left: 12px;
}

.v2s_lab_name {
  right: 12px;
}

/* Written homework */
.v2s_written {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2s_written_page {
  position: relative;
  padding: 16px 16px 12px 36px;
  border: 1px solid #ece5d6;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 26px, rgba(224, 66, 74, 0.22) 26px, rgba(224, 66, 74, 0.22) 27px, transparent 27px),
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(59, 125, 224, 0.12) 25px 26px),
    #fffdf8;
  box-shadow: 0 18px 36px -24px rgba(16, 38, 76, 0.45);
  transform: rotate(-1.2deg);
}

.v2s_written_page svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 130;
}

.v2s_written_mark {
  position: absolute;
  top: 8px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2.5px solid #e0424a;
  border-radius: 50%;
  color: #d0353d;
  font-family: var(--v2-font-h);
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(-10deg);
}

.v2s_written_foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

[data-theme="dark"] .v2_tag {
  background: rgba(148, 172, 210, 0.14);
  color: #d7e2f3;
}

[data-theme="dark"] .v2_tag--ok {
  background: rgba(60, 207, 142, 0.16);
  color: #7ee2b8;
}

/* The answer sheet is paper, light in both themes, and so are the tags on it. */
[data-theme="dark"] .v2_sheet .v2_tag {
  background: #eef3fb;
  color: #33415a;
}

[data-theme="dark"] .v2_sheet .v2_tag--ok {
  background: #e4f5ec;
  color: #0f7a4b;
}

/* Fees */
.v2s_fees {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2s_fees_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.v2s_fees_head > span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_fees_head b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 0.95rem;
}

.v2s_fees_head small {
  color: var(--v2-text-3);
  font-size: 0.75rem;
}

.v2s_fees_pay {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--v2-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 16px -10px rgba(4, 79, 192, 0.8);
}

.v2s_fees .v2_plan small .bi {
  margin-right: 3px;
  color: #e0424a;
}

/* ======================================================== APP SCREENS */
.v2s_shots {
  overflow: clip;
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2s_shot_row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Up to five phones a row on wide screens: five for five, four for four, seven or eight. */
.v2s_shot {
  width: calc((100% - 3 * 28px) / 4);
  max-width: 250px;
}

.v2s_shot_row[data-count="5"] .v2s_shot {
  width: calc((100% - 4 * 28px) / 5);
}

.v2s_shot_row[data-count="6"] .v2s_shot,
.v2s_shot_row[data-count="3"] .v2s_shot {
  width: calc((100% - 2 * 28px) / 3);
}

.v2s_shot_group + .v2s_shot_group {
  margin-top: clamp(48px, 5vw, 72px);
}

.v2s_shot_group_head {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.v2s_shot_group_head p {
  margin-top: 4px;
  color: var(--v2-text-2);
  font-size: 0.975rem;
  line-height: 1.5;
}

.v2s_shot figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.v2s_shot .v2s_device {
  width: 100%;
  font-size: 12px;
}

.v2s_shot figcaption {
  padding: 5px 14px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--v2-shadow-sm);
}

.v2s_shots_note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--v2-text-3);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .v2s_shot,
  .v2s_shot_row[data-count] .v2s_shot {
    width: calc((100% - 2 * 28px) / 3);
  }
}

@media (max-width: 767.98px) {
  .v2s_shot_row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    margin-inline: -16px;
    padding: 4px 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .v2s_shot_row::-webkit-scrollbar {
    display: none;
  }

  .v2s_shot,
  .v2s_shot_row[data-count] .v2s_shot {
    flex: 0 0 58%;
    width: auto;
    max-width: 240px;
    scroll-snap-align: start;
  }

  .v2s_shot_group_head {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .v2s_shots_note {
    margin-top: 16px;
  }
}

/* ======================================================== SHARED BLOCK A: VIDEO LEAKS
   What a leak costs (the calculator, segments.js) and how VidSafe stops it. */
.v2s_leak_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px;
}

.v2s_calc {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(160, 190, 240, 0.18);
  border-radius: var(--v2-r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}

.v2s_calc_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.v2s_calc_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--v2-font-h);
  font-size: 1.05rem;
  font-weight: 600;
}

.v2s_calc_badge i {
  color: #8cb8ff;
}

.v2s_calc_tag {
  padding: 3px 10px;
  border: 1px dashed rgba(245, 196, 81, 0.55);
  border-radius: 999px;
  color: #f5d488;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.v2s_calc_field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2s_calc_row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.v2s_calc_row label {
  color: var(--v2-text-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.v2s_calc_row output {
  flex: none;
  color: #fff;
  font-family: var(--v2-font-h);
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v2s_calc input[type="range"] {
  --fill: 50%;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.v2s_calc input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b7de0 0 var(--fill), rgba(255, 255, 255, 0.16) var(--fill) 100%);
}

.v2s_calc input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.v2s_calc input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #3b7de0;
}

.v2s_calc input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid #3b7de0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.v2s_calc input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #3b7de0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.v2s_calc input[type="range"]:focus-visible {
  outline: 3px solid var(--v2-ring);
  outline-offset: 4px;
  border-radius: 8px;
}

.v2s_calc_result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 110, 118, 0.3);
  border-radius: var(--v2-r);
  background: linear-gradient(135deg, rgba(224, 66, 74, 0.2), rgba(224, 66, 74, 0.05));
}

.v2s_calc_label {
  color: #ffc2c6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2s_calc_result strong {
  color: #fff;
  font-family: var(--v2-font-h);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.v2s_calc_result small {
  color: var(--v2-text-2);
  font-size: 0.9rem;
}

.v2s_calc_note {
  display: flex;
  gap: 8px;
  color: var(--v2-text-3);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.v2s_stop {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.v2s_stop_title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.v2s_stop_title i {
  color: #7ee2b8;
}

.v2s_ppoints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_ppoint {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(160, 190, 240, 0.12);
  border-radius: var(--v2-r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 0.3s ease, transform 0.3s var(--v2-ease);
}

.v2s_ppoint:hover {
  border-color: rgba(130, 175, 255, 0.34);
  transform: translateY(-4px);
}

.v2s_ppoint_title {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.v2s_ppoint p {
  color: var(--v2-text-2);
  font-size: 0.925rem;
  line-height: 1.55;
}

.v2s_pfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.v2s_pfoot .v2_pchips {
  justify-content: flex-start;
}

.v2s_pnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--v2-text-2);
  font-size: 0.925rem;
}

@media (max-width: 991.98px) {
  .v2s_leak_grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .v2s_calc {
    padding: 22px;
  }
}

@media (max-width: 575.98px) {
  .v2s_ppoints {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .v2s_ppoint {
    padding: 22px;
  }
}

/* ======================================================== SHARED BLOCK B: SUPPORT */
.v2s_support {
  background: var(--v2-bg);
}

.v2s_support_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.v2s_support_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.v2s_support_points,
.v2s_student_points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.v2s_support_points li,
.v2s_student_points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.v2s_point_title {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.v2s_support_points p,
.v2s_student_points p,
.v2s_dive_points p {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.v2s_support_contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.v2s_support_contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--v2-shadow-sm);
}

.v2s_support_contact a:hover {
  border-color: var(--v2-accent-line);
  color: var(--v2-accent);
}

.v2s_support_contact i {
  color: var(--v2-accent);
}

.v2s_support_visual {
  position: relative;
  padding: 0 0 40px 24px;
}

.v2s_desk {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-lg);
}

.v2s_desk .v2_msg {
  max-width: 92%;
}

.v2s_desk .v2_msg > i {
  background: var(--v2-primary);
}

.v2s_desk_head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v2-border);
}

.v2s_desk_head > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_desk_head b {
  color: var(--v2-text);
  font-size: 0.95rem;
}

.v2s_desk_head small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v2-ok);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}

.v2s_desk_logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--v2-primary);
  color: #fff;
  font-size: 1.15rem;
}

.v2s_desk_foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.v2s_desk_float {
  bottom: 0;
  left: 0;
  font-size: 14px;
  animation: v2-bob 7s ease-in-out infinite;
}

@media (max-width: 991.98px) {
  .v2s_support_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .v2s_support_visual {
    max-width: 560px;
    padding-left: 0;
  }
}

/* ======================================================== SHARED BLOCK C: STUDENTS */
.v2s_students {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2s_students_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.v2s_roster {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-lg);
}

.v2s_roster_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.v2s_roster_head b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.05rem;
}

.v2s_roster_head small {
  margin-left: auto;
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_roster_filters {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--v2-surface-2);
}

.v2s_roster_filters span {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 700;
}

.v2s_roster_filters .is-on {
  background: var(--v2-surface);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-sm);
}

.v2s_roster_rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_roster_rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-surface-2);
}

.v2s_roster_name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_roster_name b {
  overflow: hidden;
  color: var(--v2-text);
  font-size: 0.875rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v2s_roster_name small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2s_score i {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-ok) var(--s), var(--v2-border) var(--s));
}

.v2s_score--warn i {
  background: linear-gradient(90deg, var(--v2-warn) var(--s), var(--v2-border) var(--s));
}

.v2s_score--bad i {
  background: linear-gradient(90deg, var(--v2-danger) var(--s), var(--v2-border) var(--s));
}

.v2s_score b {
  width: 1.6em;
  color: var(--v2-text);
  font-size: 0.85rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.v2s_state {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.v2s_state--ok {
  background: rgba(15, 138, 85, 0.12);
  color: var(--v2-ok);
}

.v2s_state--warn {
  background: rgba(245, 165, 36, 0.16);
  color: #9a5a00;
}

.v2s_state--bad {
  background: rgba(224, 66, 74, 0.12);
  color: #c7353d;
}

[data-theme="dark"] .v2s_state--warn { color: #f7c46c; }
[data-theme="dark"] .v2s_state--bad { color: #ff8d93; }

.v2s_roster_foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--v2-accent-soft);
  color: var(--v2-text-2);
  font-size: 0.8125rem;
}

.v2s_roster_foot i {
  color: var(--v2-accent);
}

@media (max-width: 991.98px) {
  .v2s_students_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 479.98px) {
  .v2s_roster {
    padding: 14px;
  }

  .v2s_roster_rows li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .v2s_score {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .v2s_state {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ======================================================== SHARED BLOCK D: ADMISSO
   Admisso's own violet, as on the homepage's product card (--pc: #5b3fd6). */
.v2s_admisso {
  --adm: #5b3fd6;
  --adm-soft: rgba(91, 63, 214, 0.08);
  --adm-line: rgba(91, 63, 214, 0.24);
  background: var(--v2-bg);
}

[data-theme="dark"] .v2s_admisso {
  --adm: #b3a4ff;
  --adm-soft: rgba(139, 120, 255, 0.14);
  --adm-line: rgba(179, 164, 255, 0.3);
}

.v2s_admisso_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--adm-line);
  border-radius: var(--v2-r-xl);
  background: radial-gradient(70% 90% at 100% 0%, var(--adm-soft), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, var(--adm-soft), transparent 70%), var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_admisso_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.v2s_eyebrow--admisso {
  border-color: var(--adm-line);
  background: var(--adm-soft);
  color: var(--adm);
}

.v2s_hl_admisso {
  color: var(--adm);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .v2s_hl_admisso {
    background: linear-gradient(100deg, #5b3fd6 0%, #7c5cff 55%, #044FC0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  [data-theme="dark"] .v2s_hl_admisso {
    background: linear-gradient(100deg, #c4b5fd 0%, #a5b4fc 60%, #93c0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.v2s_admisso_points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_admisso_points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v2-text);
  font-size: 0.975rem;
  font-weight: 500;
  line-height: 1.45;
}

.v2s_admisso_points li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--adm-soft);
  color: var(--adm);
  font-size: 0.95rem;
}

.v2s_admisso_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.v2s_btn--admisso {
  background: linear-gradient(180deg, #6d4ff0 0%, #5b3fd6 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -10px rgba(91, 63, 214, 0.8);
}

.v2s_btn--admisso:hover,
.v2s_btn--admisso:focus-visible {
  background: linear-gradient(180deg, #7b60f5 0%, #6446e0 100%);
  color: #fff;
  transform: translateY(-1px);
}

.v2s_admisso_visual {
  position: relative;
  padding-bottom: 28px;
}

.v2s_admisso_visual .v2_browser {
  margin: 0;
  box-shadow: var(--v2-shadow-lg);
}

.v2s_admisso_float {
  right: -8px;
  bottom: 0;
  font-size: 14px;
  animation: v2-bob 7s ease-in-out infinite;
}

.v2s_float_icon--admisso {
  background: rgba(91, 63, 214, 0.12);
  color: #5b3fd6;
}

[data-theme="dark"] .v2s_float_icon--admisso {
  background: rgba(139, 120, 255, 0.2);
  color: #c4b5fd;
}

@media (max-width: 991.98px) {
  .v2s_admisso_card {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .v2s_admisso_float {
    right: 8px;
  }
}

@media (max-width: 479.98px) {
  .v2s_admisso_ctas {
    flex-direction: column;
    width: 100%;
  }

  .v2s_admisso_ctas .v2_btn {
    width: 100%;
  }
}

/* ======================================================== UPSC: DEEP DIVES */
.v2s_jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.v2s_jump_label {
  margin-right: 4px;
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2s_jump a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--v2-shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--v2-ease);
}

.v2s_jump a::after {
  content: '\2193';
  color: var(--v2-accent);
}

.v2s_jump a:hover,
.v2s_jump a:focus-visible {
  border-color: var(--v2-accent-line);
  color: var(--v2-accent);
  transform: translateY(-1px);
}

.v2s_dive {
  background: var(--v2-bg);
}

.v2s_dive + .v2s_dive {
  border-top: 1px solid var(--v2-border);
}

.v2s_dive--flip {
  background: var(--v2-bg-soft);
}

.v2s_dive_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.v2s_dive--flip .v2s_dive_copy {
  order: 2;
}

.v2s_dive_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.v2s_dive_num {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--v2-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.v2s_dive_visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v2s_dive_points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.v2s_dive_points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.v2s_dive_points .v2_icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

/* Mains workflow */
.v2s_flow_card {
  padding: 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_flowline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_flowline::before {
  content: '';
  position: absolute;
  top: 21px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--v2-accent-line) 0 6px, transparent 6px 11px);
}

.v2s_flowline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.v2s_flow_icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border: 1px solid var(--v2-accent-line);
  border-radius: 14px;
  background: var(--v2-surface);
  color: var(--v2-accent);
  font-size: 1.15rem;
  box-shadow: 0 0 0 5px var(--v2-surface);
}

.v2s_flowline li.is-done .v2s_flow_icon {
  border-color: transparent;
  background: var(--v2-primary);
  color: #fff;
}

.v2s_flowline b {
  color: var(--v2-text);
  font-size: 0.85rem;
  line-height: 1.25;
}

.v2s_flowline small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
  line-height: 1.3;
}

/* Mains on demand */
.v2s_od {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_od_step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-surface-2);
}

.v2s_od_step--done {
  border-color: rgba(15, 138, 85, 0.3);
  background: linear-gradient(135deg, rgba(15, 138, 85, 0.08), var(--v2-surface-2) 70%);
}

.v2s_od_thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 46px;
  border: 1px solid #ece5d6;
  border-radius: 6px;
  background: #fffdf8;
  color: #6b7a90;
  font-size: 1.1rem;
}

.v2s_od_text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.v2s_od_text b {
  color: var(--v2-text);
  font-size: 0.875rem;
}

.v2s_od_text small {
  color: var(--v2-text-3);
  font-size: 0.75rem;
}

.v2s_od_tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 0.7rem;
  font-weight: 800;
}

.v2s_od_tag--busy {
  background: rgba(245, 165, 36, 0.16);
  color: #9a5a00;
}

.v2s_od_tag--ok {
  background: rgba(15, 138, 85, 0.12);
  color: var(--v2-ok);
}

[data-theme="dark"] .v2s_od_tag--busy {
  color: #f7c46c;
}

.v2s_od_route {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 700;
}

.v2s_od_route i {
  color: var(--v2-accent);
}

.v2s_od_score {
  display: flex;
  flex: none;
  align-items: baseline;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding-top: 8px;
  border: 2.5px solid #e0424a;
  border-radius: 50%;
  color: #d0353d;
  font-family: var(--v2-font-h);
}

.v2s_od_score b {
  font-size: 1.1rem;
}

.v2s_od_score small {
  font-size: 0.65rem;
}

/* Prelims */
.v2s_dd_row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

@media (max-width: 1199.98px) {
  .v2s_dive_points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .v2s_dive_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .v2s_dive--flip .v2s_dive_copy {
    order: 0;
  }
}

@media (max-width: 575.98px) {
  .v2s_dive_points {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }

  .v2s_dd_row {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2s_flowline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .v2s_flowline::before {
    display: none;
  }

}

/* A test report: score, rank, percentile, topper (Mains and Prelims reports). */
.v2s_report,
.v2s_rankcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface-2);
}

.v2s_rankcard--inline {
  padding: 12px 14px;
  border-radius: 16px;
}

.v2s_report_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}

.v2s_report_head b {
  color: var(--v2-text);
  font-size: 0.875rem;
}

.v2s_report_stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
}

.v2s_report_stats > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface);
}

.v2s_report_stats b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.1rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.v2s_report_stats b small {
  color: var(--v2-text-3);
  font-size: 0.7em;
  font-weight: 600;
}

.v2s_report_stats > span > small {
  color: var(--v2-text-3);
  font-size: 0.7rem;
  font-weight: 600;
}

.v2s_report_qs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2s_report_qs > span,
.v2s_cmp_row {
  display: grid;
  grid-template-columns: 3.6em minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.v2s_report_qs small,
.v2s_cmp_row small {
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 700;
}

.v2s_report_qs i,
.v2s_cmp_row i {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-primary-2) var(--w), var(--v2-border) var(--w));
}

.v2s_report_qs b,
.v2s_cmp_row b {
  min-width: 3.2em;
  color: var(--v2-text);
  font-size: 0.8rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.v2s_cmp,
.v2s_qstat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_cmp--flat {
  padding: 0;
  border: 0;
  background: none;
}

.v2s_cmp_head {
  color: var(--v2-text-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.v2s_cmp_row--top i {
  background: linear-gradient(90deg, #d99a2b var(--w), var(--v2-border) var(--w));
}

.v2s_cmp_row--avg i {
  background: linear-gradient(90deg, var(--v2-text-3) var(--w), var(--v2-border) var(--w));
}

.v2s_qstat_big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.v2s_qstat_big b {
  color: var(--v2-ok);
  font-family: var(--v2-font-h);
  font-size: 1.6rem;
  line-height: 1;
}

.v2s_qstat_big small {
  color: var(--v2-text-2);
  font-size: 0.78rem;
}

.v2s_qstat_times {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.v2s_qstat_times > span {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-surface);
}

.v2s_qstat_times small {
  color: var(--v2-text-3);
  font-size: 0.66rem;
  font-weight: 600;
}

.v2s_qstat_times b {
  color: var(--v2-text);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.v2s_qstat_times > span:last-child {
  border-color: var(--v2-accent-line);
  background: var(--v2-accent-soft);
}

/* The Mains Dashboard and Submission History */
.v2s_mdash,
.v2s_history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_history {
  background: var(--v2-surface-2);
  box-shadow: none;
}

.v2s_mdash_head,
.v2s_history_head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 10px;
}

.v2s_mdash_head b,
.v2s_history_head b {
  color: var(--v2-text);
  font-size: 0.9rem;
}

.v2s_history_head small {
  color: var(--v2-text-3);
  font-size: 0.75rem;
}

.v2s_mdash_filter {
  padding: 3px 10px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  color: var(--v2-text-2);
  font-size: 0.72rem;
  font-weight: 700;
}

.v2s_mdash_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.v2s_mdash_grid > span {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  background: var(--v2-surface-2);
}

.v2s_mdash_grid b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.25rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.v2s_mdash_grid small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
  font-weight: 600;
}

.v2s_mdash_grid .is-warn {
  border-color: rgba(224, 66, 74, 0.35);
}

.v2s_mdash_grid .is-ok b {
  color: var(--v2-ok);
}

.v2s_mdash_grid em {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e0424a;
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.v2s_history ol {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_history ol::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 13px;
  width: 2px;
  background: var(--v2-border-2);
}

.v2s_history li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2s_history li > i {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--v2-accent-line);
  border-radius: 50%;
  background: var(--v2-surface);
  color: var(--v2-accent);
  font-size: 0.8rem;
}

.v2s_history li.is-done > i {
  border-color: transparent;
  background: var(--v2-ok);
  color: #fff;
}

.v2s_history li > span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_history li b {
  color: var(--v2-text);
  font-size: 0.8125rem;
}

.v2s_history li small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

/* Live-class recording pipeline and attendance */
.v2s_pipe {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_pipe_step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-surface-2);
}

.v2s_pipe_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 1rem;
}

.v2s_pipe_icon--live {
  background: rgba(45, 140, 255, 0.14);
  color: #2d8cff;
}

.v2s_pipe_icon--ok {
  background: var(--v2-primary);
  color: #fff;
}

.v2s_att_graph {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_joins {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  height: 64px;
}

.v2s_joins i {
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--v2-primary-2), color-mix(in srgb, var(--v2-primary) 45%, transparent));
}

.v2s_att_note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v2-ok);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Student Activity Score */
.v2s_scorecard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_scorecard_head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2s_scorecard_head > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_scorecard_head b {
  color: var(--v2-text);
  font-size: 0.875rem;
}

.v2s_scorecard_head small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_scorecard_body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v2s_ring--lg {
  width: 76px;
}

.v2s_ring--lg b {
  font-size: 1.2rem;
}

.v2s_scorecard_tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--v2-surface);
  box-shadow: inset 0 0 0 1px var(--v2-border);
}

.v2s_scorecard_tabs span {
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--v2-text-2);
  font-size: 0.72rem;
  font-weight: 700;
}

.v2s_scorecard_tabs .is-on {
  background: var(--v2-primary);
  color: #fff;
}

.v2s_scorecard_foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2s_scorecard_foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 0.72rem;
  font-weight: 700;
}

.v2s_scorecard_foot .bi-fire {
  color: #ea580c;
}

/* Error tags */
.v2s_tagcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface-2);
}

.v2s_tagcard_q {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2s_tagcard_q > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2s_tagcard_q b {
  color: #c7353d;
  font-size: 0.85rem;
}

[data-theme="dark"] .v2s_tagcard_q b {
  color: #ff8d93;
}

.v2s_tagcard_q small {
  color: var(--v2-text-3);
  font-size: 0.72rem;
}

.v2s_tagcard_no {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(224, 66, 74, 0.1);
  color: #c7353d;
  font-size: 0.75rem;
  font-weight: 800;
}

.v2s_tagcard_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2s_tagcard_tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_tagcard_tags .is-on {
  border-color: var(--v2-accent);
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
}

/* Bars with a value on top (time spent) */
.v2s_bars--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v2s_bars em {
  color: var(--v2-text);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .v2s_mdash_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* An even grid of feature cards (UPSC's "More for UPSC institutes"). */
.v2s_fbento--even > .v2s_fcard:nth-child(n) {
  grid-column: span 4;
  grid-row: auto;
}

.v2s_fbento--even > .v2s_fcard:nth-child(n) .v2s_visual {
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .v2s_fbento--even > .v2s_fcard:nth-child(n) {
    grid-column: auto;
  }
}

/* ======================================================== APPS */
.v2s_apps {
  background: var(--v2-bg);
}

.v2s_apps_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.v2s_apps_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.v2s_pills {
  justify-content: flex-start;
  margin-top: 0;
}

.v2s_stores {
  justify-content: flex-start;
  margin-top: 4px;
}

.v2s_platforms {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991.98px) {
  .v2s_apps_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* ======================================================== PRODUCTS */
.v2s_products {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2s_products_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.v2s_product_fit {
  font-family: var(--v2-font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.v2s_products_grid--one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
}

.v2s_products_grid--one .v2_product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
}

.v2s_products_grid--one .v2_browser {
  margin: 20px 0 20px 20px;
}

@media (max-width: 991.98px) {
  .v2s_products_grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
  }

  .v2s_products_grid--one .v2_product {
    display: flex;
  }

  .v2s_products_grid--one .v2_browser {
    margin: 12px 12px 0;
  }
}

/* ======================================================== PRICING TEASER */
.v2s_price_section {
  background: var(--v2-bg);
}

.v2s_price {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 44px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-xl);
  background: radial-gradient(80% 120% at 100% 0%, var(--v2-accent-soft), transparent 60%), var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2s_price_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.v2s_price_title {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
}

.v2s_gateway_note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 138, 85, 0.24);
  border-radius: var(--v2-r);
  background: rgba(15, 138, 85, 0.07);
  color: var(--v2-text-2);
  font-size: 0.925rem;
  line-height: 1.5;
}

.v2s_gateway_note > i {
  color: var(--v2-ok);
  font-size: 1.2rem;
  line-height: 1.2;
}

.v2s_gateway_note strong {
  color: var(--v2-text);
}

/* "Upclass Mock Test is priced separately" ({% mocktest_pricing_note 'line' %}). */
.v2s_mock_note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface-2);
  color: var(--v2-text-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.v2s_mock_note > i {
  color: var(--v2-accent);
  font-size: 1.1rem;
  line-height: 1.3;
}

.v2s_mock_note strong {
  color: var(--v2-text);
}

.v2s_mock_note a {
  color: var(--v2-accent);
  font-weight: 600;
}

.v2s_price_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.v2s_models {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_model {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.v2s_model.is-pick {
  border: 1.5px solid var(--v2-primary);
  box-shadow: 0 0 0 4px var(--v2-accent-soft), var(--v2-shadow-md);
}

[data-theme="dark"] .v2s_model.is-pick {
  border-color: var(--v2-accent);
}

.v2s_model_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 1.1rem;
}

.v2s_model.is-pick .v2s_model_icon {
  background: var(--v2-primary);
  color: #fff;
}

.v2s_model_text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.v2s_model_text b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.02rem;
}

.v2s_model_text small {
  color: var(--v2-text-3);
  font-size: 0.85rem;
}

.v2s_model_badge {
  position: absolute;
  top: 0;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--v2-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(4, 79, 192, 0.7);
  transform: translateY(-50%);
}

@media (max-width: 991.98px) {
  .v2s_price {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 479.98px) {
  .v2s_price_ctas {
    flex-direction: column;
    width: 100%;
  }

  .v2s_price_ctas .v2_btn {
    width: 100%;
    height: auto;
    min-height: 48px;
    padding-block: 12px;
    white-space: normal;
  }
}

/* ======================================================== OTHER TYPES */
.v2s_others {
  padding-block: clamp(56px, 6vw, 88px) 0;
}

.v2s_others_head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.v2s_others_title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.v2s_others_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_other {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface);
  color: var(--v2-text);
  text-decoration: none;
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.25s var(--v2-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.v2s_other:hover,
.v2s_other:focus-visible {
  border-color: var(--v2-accent-line);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-2px);
}

.v2s_other .v2s_seg_icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.v2s_other_text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2s_other_text b {
  font-size: 0.925rem;
  font-weight: 600;
}

.v2s_other_text small {
  color: var(--v2-text-3);
  font-size: 0.78rem;
}

.v2s_other_arrow {
  margin-left: auto;
  color: var(--v2-text-3);
  transition: transform 0.2s var(--v2-ease), color 0.2s ease;
}

.v2s_other:hover .v2s_other_arrow {
  color: var(--v2-accent);
  transform: translateX(3px);
}

@media (max-width: 1199.98px) {
  .v2s_others_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .v2s_others_grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ======================================================== THE HUB (/lms-for-coaching-institutes/) */
.v2s_ihero_copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.v2s_ihero_copy .v2s_crumbs ol,
.v2s_ihero_copy .v2_hero_ctas {
  justify-content: center;
}

/* The coaching types in their groups (upclass_segments.GROUPS). The groups share one
   three-column grid, each as wide as its cards (--span, set by the view: 1 to 3), so small
   groups sit side by side and a big one wraps onto more rows. Two columns from 992px
   down (--span-md), one on phones. */
.v2s_hub {
  padding-top: clamp(8px, 2vw, 24px);
}

.v2s_hgroups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 56px) 20px;
}

.v2s_hgroup {
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-column: span var(--span, 3);
  min-width: 0;
  scroll-margin-top: 96px;
}

/* Groups side by side share their header row, so their cards start level. */
@supports (grid-template-rows: subgrid) {
  .v2s_hgroup {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 18px;
  }
}

.v2s_hgroup_head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.v2s_hgroup_title {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2s_hgroup_head p {
  margin: 4px 0 0;
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.v2s_icards {
  display: grid;
  grid-template-columns: repeat(var(--span, 3), minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The hero's "jump to a group" row. */
.v2s_hjump {
  margin-top: 4px;
}

.v2s_icard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: radial-gradient(70% 60% at 100% 0%, var(--seg-soft), transparent 70%), var(--v2-surface);
  color: var(--v2-text);
  text-decoration: none;
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.3s var(--v2-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.v2s_icard:hover,
.v2s_icard:focus-visible {
  border-color: var(--seg-line);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-4px);
}

.v2s_icard_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.v2s_icard_arrow {
  color: var(--v2-text-3);
  font-size: 1.1rem;
  transition: transform 0.2s var(--v2-ease), color 0.2s ease;
}

.v2s_icard:hover .v2s_icard_arrow {
  color: var(--seg);
  transform: translate(2px, -2px);
}

.v2s_icard_name {
  font-family: var(--v2-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.v2s_icard_line {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.v2s_icard_exams {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.v2s_icard_exams span {
  padding: 3px 9px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-surface-2);
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2s_icard_more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--seg);
  font-size: 0.925rem;
  font-weight: 600;
}

.v2s_icard_more .bi {
  transition: transform 0.2s var(--v2-ease);
}

.v2s_icard:hover .v2s_icard_more .bi {
  transform: translateX(3px);
}

.v2s_same {
  border-top: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2s_same_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_same_grid li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.v2s_same_grid p {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .v2s_same_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .v2s_hgroups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2s_hgroup {
    grid-column: span var(--span-md, 2);
  }

  .v2s_icards {
    grid-template-columns: repeat(var(--span-md, 2), minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .v2s_hgroups {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2s_hgroup {
    grid-column: auto;
  }

  .v2s_icards,
  .v2s_same_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .v2s_icard,
  .v2s_same_grid li {
    padding: 22px;
  }
}

/* ======================================================== HOMEPAGE: THE CHOOSER
   "Built for every kind of coaching", right under the hero: a card for each featured
   coaching type (upclass_segments.featured_items), each opening its page, and a last
   tile for all of them. Four across from 1200px, two below, one on phones. The card is
   one grid whose areas move: icon and arrow on top, text under them; on phones, one row. */
.v2s_chooser {
  padding-block: clamp(48px, 5vw, 72px) clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--v2-border);
  background: var(--v2-bg);
}

.v2s_chooser .v2_head {
  margin-bottom: 40px;
}

.v2s_cgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2s_cc {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon . arrow" "text text text";
  align-content: start;
  align-items: start;
  gap: 16px;
  height: 100%;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: radial-gradient(70% 90% at 100% 0%, var(--seg-soft), transparent 65%), var(--v2-surface);
  color: var(--v2-text);
  text-decoration: none;
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.3s var(--v2-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.v2s_cc:hover,
.v2s_cc:focus-visible {
  border-color: var(--seg-line);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-4px);
}

.v2s_cc .v2s_seg_icon {
  grid-area: icon;
}

.v2s_cc_text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  grid-area: text;
}

.v2s_cc_name {
  font-family: var(--v2-font-h);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.v2s_cc_line {
  color: var(--v2-text-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.v2s_cc_exams {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.v2s_cc_exams span {
  padding: 2px 8px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-surface-2);
  color: var(--v2-text-2);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.v2s_cc_arrow {
  display: grid;
  grid-area: arrow;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--v2-border-2);
  border-radius: 50%;
  color: var(--v2-text-3);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--v2-ease);
}

.v2s_cc:hover .v2s_cc_arrow,
.v2s_cc:focus-visible .v2s_cc_arrow {
  border-color: transparent;
  background: var(--seg);
  color: #fff;
  transform: translateX(2px);
}

[data-theme="dark"] .v2s_cc:hover .v2s_cc_arrow,
[data-theme="dark"] .v2s_cc:focus-visible .v2s_cc_arrow {
  color: #0a1628;
}

.v2s_chooser_foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 32px;
}

.v2s_chooser_foot .v2_link {
  align-self: center;
}

/* The last tile: every coaching type, on the hub. */
.v2s_cc--all {
  border-style: dashed;
  border-color: var(--v2-border-2);
  background: var(--v2-surface-2);
  box-shadow: none;
}

.v2s_cc--all .v2s_cc_name {
  color: var(--v2-accent);
}

@media (max-width: 1199.98px) {
  .v2s_cgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .v2s_cgrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .v2s_cc {
    grid-template-areas: "icon text arrow";
    align-items: center;
    padding: 16px;
  }

  .v2s_cc_exams {
    display: none;
  }

  .v2s_cc .v2s_seg_icon {
    align-self: start;
  }
}

/* ======================================================== HOMEPAGE: FEATURES
   The tests card leads the grid now that the UPSC-only Mains card lives on /for/upsc/:
   tests (large) | instalments and leads | coupons, announcements and chat. */
.v2s_fbento_home .v2_fcard--tests {
  grid-column: 1 / span 7;
  grid-row: span 2;
}

.v2s_fbento_home .v2_fcard--pay,
.v2s_fbento_home .v2_fcard--leads {
  grid-column: 8 / span 5;
}

.v2s_fbento_home .v2_fcard--coupons,
.v2s_fbento_home .v2_fcard--news,
.v2s_fbento_home .v2_fcard--chat {
  grid-column: span 4;
}

.v2s_fbento_home .v2_fcard--chat {
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}

.v2s_fbento_home .v2_fcard--tests .v2s_visual {
  flex: 1;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .v2s_fbento_home .v2_fcard--tests,
  .v2s_fbento_home .v2_fcard--chat {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .v2s_fbento_home .v2_fcard--pay,
  .v2s_fbento_home .v2_fcard--leads,
  .v2s_fbento_home .v2_fcard--coupons,
  .v2s_fbento_home .v2_fcard--news {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .v2s_fbento_home .v2_fcard--tests,
  .v2s_fbento_home .v2_fcard--chat {
    grid-column: auto;
  }
}

/* ======================================================== HOMEPAGE: HERO SUBJECTS
   The hero's lecture cycles through subjects (Physics, Quant, Accounts, Polity), so the
   first thing a visitor sees isn't one exam's. Stacked layers cross-fade on a 24 s
   loop; with reduced motion only the first stays. */
.v2s_rotstack {
  display: inline-grid;
}

.v2s_rotstack > * {
  grid-area: 1 / 1;
}

.v2s_rot {
  opacity: 0;
  animation: v2s-rot 24s linear infinite;
  animation-delay: calc(var(--i) * 6s - 24s);
}

@keyframes v2s-rot {
  0%, 21% { opacity: 1; }
  25%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .v2s_rot {
    animation: none;
  }

  .v2s_rot--first {
    opacity: 1;
  }

  .v2s_float_release,
  .v2s_desk_float,
  .v2s_admisso_float,
  .v2s_hchip,
  .v2s_live_badge i,
  .v2s_lap_wm,
  .v2s_tita_caret {
    animation: none;
  }

  .v2s_pain_fix,
  .v2s_other,
  .v2s_icard,
  .v2s_cc,
  .v2s_ppoint {
    transition: none;
  }
}

/* "Also see" links under a page's FAQ (page 'see_also'). */
.v2s_seealso {
  margin: 18px 0 0;
  color: var(--v2-text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.v2s_seealso i {
  color: var(--v2-accent);
}

.v2s_seealso a {
  color: var(--v2-accent);
  font-weight: 600;
  text-decoration: none;
}

.v2s_seealso a:hover {
  text-decoration: underline;
}
