  :root {
    color-scheme: dark;
    --bg-root: #070d18;
    --bg-card: #0e1726;
    --bg-card-hover: #121e31;
    --bg-sidebar-top: #08101e;
    --bg-sidebar-bottom: #050a12;
    --bg-panel: #08101e;
    --bg-input: rgba(255, 255, 255, 0.03);
    --bg-input-focus: rgba(255, 255, 255, 0.06);

    --text-primary: #f3f6fc;
    --text-heading: #ffffff;
    --text-secondary: #cdd8e6;
    --text-muted: #7e8c9f;
    --text-subtle: #637287;

    --gold-primary: #c9a24c;
    --gold-light: #d8b968;
    --gold-dark: #b1862f;
    --gold-text-dark: #15243a;
    --gold-label-active: #f1e7d1;
    --gold-glow: rgba(201, 162, 76, 0.18);

    --border-card: rgba(255, 255, 255, 0.07);
    --border-input: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --status-success: #56b487;
    --status-success-light: #7dd1a6;
    --status-error: #df7a7a;
    --status-error-light: #e89a9a;
    --status-error-bg: rgba(223, 122, 122, 0.14);
    --status-info: #c9a24c;

    --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-serif: 'Newsreader', Georgia, serif;

    /* Reforma em andamento (feature/app-redesign): linguagem editorial sem sombra/brilho,
       cantos retos, profundidade só por camada tonal + hairline dourado — ver DESIGN.md
       da landing (direção aprovada pelo Prof. Humberto a partir de um mock do Stitch).
       --radius-* ficam em 0 pro app inteiro; onde uma tela ainda usa border-radius fixo
       inline (a maioria, por ora) o efeito arredondado permanece até essa tela ser revista. */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-pill: 9999px;
    --bg-card-active: #141f33;
    --shadow-card: none;
    --shadow-glow: none;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; width: 100%; font-family: var(--font-sans); background-color: var(--bg-root); color: var(--text-primary); line-height: 1.5; -webkit-font-smoothing: antialiased; }

  ::-webkit-scrollbar { width: 7px; height: 7px; }
  ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-pill); }
  ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }
  ::-webkit-scrollbar-track { background: transparent; }

  @keyframes vmPulse {
    0% { transform: scale(0.96); opacity: 0.75; filter: drop-shadow(0 0 12px rgba(201, 162, 76, 0.3)); }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 30px rgba(201, 162, 76, 0.7)); }
    100% { transform: scale(0.96); opacity: 0.75; filter: drop-shadow(0 0 12px rgba(201, 162, 76, 0.3)); }
  }
  @keyframes vmSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .vm-splash-overlay {
    position: fixed; inset: 0; z-index: 9999; background: var(--bg-root);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .vm-splash-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
  .vm-splash-logo { animation: vmPulse 2s infinite ease-in-out; color: var(--gold-primary); }

  /* 1. Elevação tonal (sem sombra colorida nem lift): hover sobe um degrau de superfície
     e ganha borda dourada — mesma lógica de "Level 1 → Level 2" do DESIGN.md da landing. */
  .vm-card, .vm-stat-card, .vm-task-item {
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
  }
  .vm-card:hover, .vm-stat-card:hover {
    background: var(--bg-card-active) !important;
    border-color: rgba(201, 162, 76, 0.35) !important;
  }

  /* 2. Glassmorphism & Vidro Fosco */
  .vm-glass-header {
    background: rgba(8, 16, 30, 0.82) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  }

  /* Botão primário: preenchimento sólido dourado, sem brilho nem feixe de luz —
     hover troca de tom, sem elevação nem glow (ver DESIGN.md da landing). */
  .vm-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 22px;
    background: var(--gold-primary); color: var(--gold-text-dark);
    font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; border: none; border-radius: var(--radius-md);
    cursor: pointer; transition: background-color var(--transition-fast);
  }
  .vm-btn-primary:hover { background: var(--gold-light); }
  .vm-btn-primary:active { background: var(--gold-dark); }

  .vm-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px;
    background: rgba(255, 255, 255, 0.04); color: var(--text-secondary); font-family: var(--font-sans);
    font-weight: 600; font-size: 14px; border: 1px solid var(--border-input); border-radius: var(--radius-md);
    cursor: pointer; text-decoration: none; transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  }
  .vm-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: var(--text-heading); }

  .vm-form-group { margin-bottom: 18px; }
  .vm-form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.4px; text-transform: uppercase; }
  .vm-input {
    width: 100%; padding: 13px 16px; background: var(--bg-input); border: 1px solid var(--border-input);
    border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-sans); font-size: 14px; outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  }
  .vm-input:focus { border-color: var(--gold-primary); background: var(--bg-input-focus); box-shadow: 0 0 0 3px rgba(201, 162, 76, 0.15); }
  .vm-input::placeholder { color: #52637a; }

  /* Global Dark Theme Fix for Select & Option Dropdowns */
  select, option, optgroup {
    background-color: #0e1726 !important;
    color: #f3f6fc !important;
  }
  select option {
    background-color: #0e1726 !important;
    color: #f3f6fc !important;
    padding: 10px 14px !important;
  }
  select option:hover, select option:focus, select option:active, select option:checked {
    background-color: #1b2a3f !important;
    color: #d8b968 !important;
  }

  .vm-password-wrapper { position: relative; display: flex; align-items: center; }
  .vm-password-wrapper .vm-input { padding-right: 48px; }
  .vm-password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); transition: background var(--transition-fast); }
  .vm-password-toggle:hover { background: rgba(255, 255, 255, 0.08); }

  .vm-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card); }

  .vm-brand-mark {
    width: 42px; height: 42px; border-radius: var(--radius-md); background: linear-gradient(150deg, var(--gold-light), var(--gold-dark));
    color: var(--gold-text-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .vm-brand-title { font-family: var(--font-serif); font-weight: 700; font-size: 23px; color: var(--text-heading); letter-spacing: -0.3px; }

  .vm-shell { display: flex; height: 100vh; width: 100%; background: var(--bg-root); overflow: hidden; }
  .vm-sidebar { width: 265px; height: 100vh; max-height: 100vh; overflow-y: auto; overflow-x: hidden; background: linear-gradient(180deg, var(--bg-sidebar-top), var(--bg-sidebar-bottom)); border-right: 1px solid var(--border-card); display: flex; flex-direction: column; padding: 24px 16px; flex-shrink: 0; }
  .vm-sidebar::-webkit-scrollbar { width: 5px; }
  .vm-sidebar::-webkit-scrollbar-thumb { background: rgba(201, 162, 76, 0.25); border-radius: 4px; }
  .vm-sidebar::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

  .vm-nav-btn {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-md);
    border: 1px solid transparent; width: 100%; text-align: left; font-family: var(--font-sans); font-size: 14px;
    font-weight: 600; background: transparent; color: var(--text-muted); cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  }
  .vm-nav-btn:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-heading); }

  /* Item ativo do menu lateral: barra dourada de 2px, sem brilho — mesma marcação
     de "estado ativo" que os cartões de trilha usam na landing. */
  .vm-nav-btn.active {
    background: rgba(201, 162, 76, 0.14) !important; color: var(--gold-label-active) !important; font-weight: 700 !important;
    border-color: rgba(201, 162, 76, 0.35) !important; position: relative;
  }
  .vm-nav-btn.active::before {
    content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 2px; background: var(--gold-primary);
  }

  .vm-nav-badge { background: var(--gold-primary); color: var(--gold-text-dark); font-size: 11px; font-weight: 800; border-radius: var(--radius-pill); padding: 2px 8px; margin-left: auto; }
  .vm-pro-tip-box { background: linear-gradient(135deg, rgba(201, 162, 76, 0.10), rgba(201, 162, 76, 0.02)); border: 1px solid rgba(201, 162, 76, 0.25); border-radius: var(--radius-md); padding: 16px; margin-top: auto; }

  .vm-stat-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); }
  .vm-stat-eyebrow { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
  .vm-stat-value { font-family: var(--font-serif); font-size: 32px; font-weight: 600; margin-top: 6px; color: var(--text-heading); }
  .vm-trend-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(86, 180, 135, 0.14); color: var(--status-success-light); }


  .vm-task-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-subtle); }
  .vm-task-item:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.10); }
  .vm-task-item.completed { background: rgba(86, 180, 135, 0.06); border-color: rgba(86, 180, 135, 0.18); opacity: 0.78; }

  .vm-task-checkbox { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; font-size: 14px; border: 1.5px solid var(--border-input); background: transparent; color: var(--text-muted); transition: all var(--transition-fast); }
  .vm-task-checkbox.checked { background: var(--status-success); border-color: var(--status-success); color: #0c2018; }

  /* 5. Transicao Suave ao Trocar de Aba (Smooth Fade & Slide) */
  @keyframes vmContentFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .vm-main-content { animation: vmContentFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

  #app { display: flex; height: 100vh; width: 100%; background: #0b1626; color: #e9eef5; overflow: hidden; }

  .vm-topbar, .vm-overlay { display: none; }
  @media (max-width: 760px) {
    html, body { height: auto !important; min-height: 100vh !important; overflow-x: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; }
    #app { height: auto !important; min-height: 100vh !important; overflow: visible !important; }
    .vm-shell { flex-direction: column !important; height: auto !important; min-height: 100vh !important; overflow: visible !important; }
    .vm-topbar { display: flex !important; position: sticky !important; top: 0 !important; z-index: 50 !important; background: var(--bg-panel) !important; }
    .vm-sidebar { position: fixed !important; top: 0 !important; left: 0 !important; height: 100vh !important; width: 256px !important; max-width: 82vw; z-index: 60; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto !important; }
    .vm-shell.open .vm-sidebar { transform: translateX(0); }
    .vm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 50; }
    .vm-shell.open .vm-overlay { display: block !important; }
    .vm-main { padding: 0 !important; overflow: visible !important; height: auto !important; flex: 1 !important; }
    .vm-main-content { padding: 14px 12px !important; }
    .vm-main-inner { padding: 20px 16px 32px; }
    .vm-admin-topbar { padding: 10px 12px !important; position: relative !important; flex-wrap: wrap !important; gap: 10px !important; }
    .vm-main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .vm-main h1 { font-size: 24px !important; }
    .vm-card { padding: 16px 14px !important; }
    .vm-input, select.vm-input { max-width: 100% !important; }
  }
  @keyframes vmToastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes vmToastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }
  @media (prefers-reduced-motion: reduce) {
    #vm-toast-container .vm-toast { animation: none !important; }
  }
  .vm-pdf-link { text-decoration: none; }
  .vm-pdf-link:hover { text-decoration: underline; }
  .vm-disc-group > summary { list-style: none; }
  .vm-disc-group > summary::-webkit-details-marker { display: none; }
  .vm-disc-group > summary .vm-chevron { transition: transform .15s ease; }
  .vm-disc-group[open] > summary .vm-chevron { transform: rotate(90deg); }

  /* ==========================================================================
     Sistema da reforma visual (out/2026) — peças compartilhadas pelas telas do aluno.
     Linguagem: superfície tonal + hairline (1px), cantos retos, sem sombra nem brilho;
     Newsreader nos títulos, Manrope na interface, números tabulares nos dados.
     Telas revistas usam SÓ estas classes; não copiar estilos inline das telas antigas.
     ========================================================================== */
  ::selection { background: rgba(201, 162, 76, 0.35); color: #fff; }
  :where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

  .vm-page { max-width: 1280px; margin: 0 auto; }
  .vm-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--border-card); }
  .vm-h1 { font-family: var(--font-serif); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; color: var(--text-heading); }
  .vm-sub { margin-top: 8px; font-size: 14px; color: var(--text-muted); }
  .vm-head-meta { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
  .vm-head-meta > span { display: inline-flex; align-items: center; gap: 6px; }
  .vm-head-meta strong { color: var(--text-heading); font-weight: 700; }

  .vm-head-progress { min-width: 220px; flex: 0 1 300px; }
  .vm-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
  .vm-stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

  .vm-section { background: var(--bg-card); border: 1px solid var(--border-card); padding: 24px; min-width: 0; }
  .vm-section--lead { border-top: 1px solid var(--gold-primary); }
  .vm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
  .vm-h2 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--text-heading); }
  .vm-h3 { font-family: var(--font-serif); font-weight: 500; font-size: 27px; line-height: 1.2; color: var(--text-heading); }
  .vm-note { font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
  .vm-text { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
  .vm-empty { font-size: 14px; line-height: 1.6; color: var(--text-muted); padding: 6px 0; }

  .vm-link { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(216, 185, 104, 0.4); text-underline-offset: 4px; transition: text-decoration-color var(--transition-fast); }
  .vm-link:hover { text-decoration-color: var(--gold-light); }
  .vm-btn-primary.vm-btn-auto, .vm-btn-ghost.vm-btn-auto { width: auto; }
  .vm-btn-primary:disabled, .vm-btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

  .vm-meter { height: 3px; background: rgba(255, 255, 255, 0.08); margin-top: 10px; }
  .vm-meter > span { display: block; height: 100%; background: var(--gold-primary); }
  .vm-swatch { width: 8px; height: 8px; flex: 0 0 auto; display: inline-block; }

  .vm-rows { list-style: none; border-top: 1px solid var(--border-card); }
  .vm-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--border-card); transition: background-color var(--transition-fast); }
  .vm-row:hover { background: rgba(255, 255, 255, 0.025); }
  .vm-row-main { flex: 1; min-width: 0; }
  .vm-row-title { font-size: 14.5px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vm-row-meta { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
  .vm-row.is-done .vm-row-title { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
  .vm-row-aside { font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

  .vm-check { width: 24px; height: 24px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.22); color: transparent; cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast); }
  .vm-check:hover { border-color: var(--gold-light); }
  .vm-check.is-on { background: var(--status-success); border-color: var(--status-success); color: #0c2018; }

  .vm-ledger { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
  .vm-ledger th { text-align: right; font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 0 0 10px 12px; border-bottom: 1px solid var(--border-input); }
  .vm-ledger th:first-child, .vm-ledger td:first-child { text-align: left; padding-left: 0; }
  .vm-ledger td { text-align: right; padding: 11px 0 11px 12px; border-bottom: 1px solid var(--border-card); color: var(--text-secondary); }
  .vm-ledger td:first-child { color: var(--text-primary); font-weight: 600; }
  .vm-ledger td:first-child > span { display: inline-flex; align-items: center; gap: 9px; }
  .vm-ledger tfoot td { border-bottom: none; color: var(--text-heading); font-weight: 700; padding-top: 12px; }
  .vm-good { color: var(--status-success-light) !important; }
  .vm-bad { color: var(--status-error-light) !important; }

  .vm-note-list { list-style: none; }
  .vm-note-item { padding: 12px 0; border-bottom: 1px solid var(--border-card); }
  .vm-note-item:first-child { padding-top: 0; }
  .vm-note-item p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vm-section-foot { margin-top: 16px; }

  @media (max-width: 1100px) { .vm-cols { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 760px) {
    .vm-h1 { font-size: 28px; }
    .vm-head-progress { flex-basis: 100%; }
    .vm-section { padding: 18px 16px; }
    .vm-ledger th:nth-child(4), .vm-ledger td:nth-child(4) { display: none; }
  }

  /* styles.css (carregado antes) ainda traz efeitos da linguagem antiga com !important: card que sobe com
     brilho no hover, brilho no item ativo do menu, reflexo e sombra no botão dourado. Neutralizados aqui. */
  .vm-card:hover, .vm-stat-card:hover { transform: none !important; box-shadow: none !important; }
  .vm-nav-btn.active { box-shadow: none !important; }
  .vm-nav-btn.active::before { width: 2px; border-radius: 0; box-shadow: none; }
  .vm-btn-primary, .vm-btn-primary:hover, .vm-btn-primary:active { box-shadow: none; filter: none; transform: none; }
  .vm-btn-primary::after { display: none; }
  .vm-brand-mark { box-shadow: none; }

  /* --- Questões (out/2026): navegação, lista, alternativas, resultado --- */
  .vm-btn-sm { padding: 8px 14px; font-size: 13px; }
  .vm-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .vm-tag { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 3px 9px; font-size: 11.5px; font-weight: 700; white-space: nowrap; border: 1px solid var(--border-input); color: var(--text-muted); }
  .vm-tag--good { color: var(--status-success-light); border-color: rgba(86, 180, 135, 0.45); }
  .vm-tag--bad { color: var(--status-error-light); border-color: rgba(223, 122, 122, 0.45); }
  .vm-tag--gold { color: var(--gold-light); border-color: rgba(201, 162, 76, 0.5); }

  .vm-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .vm-card-btn { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; font-family: var(--font-sans); color: inherit; cursor: pointer; transition: border-color var(--transition-fast), background-color var(--transition-fast); }
  .vm-card-btn:hover:not(:disabled) { border-color: rgba(201, 162, 76, 0.45); background: var(--bg-card-active); }
  .vm-card-btn:disabled { cursor: not-allowed; opacity: 0.55; }

  .vm-qrow { display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 14px 4px; background: none; border: none; border-bottom: 1px solid var(--border-card); text-align: left; font-family: var(--font-sans); color: inherit; cursor: pointer; transition: background-color var(--transition-fast); }
  .vm-qrow:hover { background: rgba(255, 255, 255, 0.025); }
  .vm-qrow-text { font-size: 14px; line-height: 1.55; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .vm-question { max-width: 820px; }
  .vm-statement { font-size: 16.5px; line-height: 1.7; color: var(--text-primary); white-space: pre-wrap; max-width: 72ch; margin-bottom: 22px; }
  .vm-options { display: flex; flex-direction: column; gap: 10px; }
  .vm-option { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 14px 16px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-input); color: var(--text-secondary); font-family: var(--font-sans); font-size: 14.5px; line-height: 1.55; text-align: left; cursor: pointer; transition: border-color var(--transition-fast), background-color var(--transition-fast); }
  .vm-option:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
  .vm-option:disabled { cursor: default; }
  .vm-option-letter { width: 26px; height: 26px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; border: 1px solid var(--border-input); color: var(--text-muted); }
  .vm-option.is-selected { border-color: var(--gold-primary); background: rgba(201, 162, 76, 0.08); color: var(--text-heading); }
  .vm-option.is-selected .vm-option-letter { background: var(--gold-primary); border-color: var(--gold-primary); color: var(--gold-text-dark); }
  .vm-option.is-correct { border-color: rgba(86, 180, 135, 0.7); background: rgba(86, 180, 135, 0.08); color: var(--text-heading); }
  .vm-option.is-correct .vm-option-letter { background: var(--status-success); border-color: var(--status-success); color: #0c2018; }
  .vm-option.is-wrong { border-color: rgba(223, 122, 122, 0.7); background: rgba(223, 122, 122, 0.07); }
  .vm-option.is-wrong .vm-option-letter { background: var(--status-error); border-color: var(--status-error); color: #2a0f0f; }
  .vm-option-note { font-size: 13px; line-height: 1.55; color: var(--text-muted); padding: 6px 16px 2px 56px; }

  .vm-callout { padding: 14px 16px; border: 1px solid var(--border-input); background: rgba(255, 255, 255, 0.025); font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
  .vm-callout strong { color: var(--text-heading); }
  .vm-callout--good { border-color: rgba(86, 180, 135, 0.5); background: rgba(86, 180, 135, 0.06); }
  .vm-callout--bad { border-color: rgba(223, 122, 122, 0.5); background: rgba(223, 122, 122, 0.06); color: var(--status-error-light); font-weight: 600; }
  .vm-callout-title { font-weight: 800; margin-bottom: 4px; }
  .vm-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-card); }
  @media (max-width: 760px) { .vm-option-note { padding-left: 16px; } .vm-statement { font-size: 16px; } }
  .vm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .vm-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-secondary); background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-input); cursor: pointer; transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast); }
  .vm-chip:hover { border-color: rgba(255, 255, 255, 0.3); }
  .vm-chip.is-on { border-color: var(--gold-primary); background: rgba(201, 162, 76, 0.1); color: var(--gold-label-active); }
  .vm-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: 1px solid transparent; color: var(--text-muted); cursor: pointer; transition: color var(--transition-fast), border-color var(--transition-fast); }
  .vm-icon-btn:hover { color: var(--text-heading); border-color: var(--border-input); }

  /* --- Conversa (mural do aluno e admin) e janela --- */
  .vm-thread { display: flex; flex-direction: column; gap: 10px; }
  .vm-thread--scroll { max-height: 420px; overflow-y: auto; padding-right: 4px; }
  .vm-msg { position: relative; align-self: flex-start; max-width: 85%; padding: 10px 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-card); }
  .vm-msg--mine { align-self: flex-end; background: rgba(201, 162, 76, 0.09); border-color: rgba(201, 162, 76, 0.3); }
  .vm-msg-from { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
  .vm-msg--mine .vm-msg-from { color: var(--gold-light); }
  .vm-msg-when { font-weight: 500; font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
  .vm-msg-text { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
  .vm-msg-del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; }
  .vm-msg:has(.vm-msg-del) { padding-right: 34px; }
  .vm-modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 7, 14, 0.72); }
  .vm-modal { width: 100%; max-width: 680px; max-height: 88vh; display: flex; flex-direction: column; padding: 24px; background: var(--bg-card); border: 1px solid var(--border-input); border-top: 1px solid var(--gold-primary); }

  /* --- Vade Mecum: índice lateral + leitura da lei --- */
  .vm-vade { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
  .vm-vade-index { padding: 14px; position: sticky; top: 0; }
  .vm-vade-index-list { display: flex; flex-direction: column; gap: 2px; max-height: 70vh; overflow-y: auto; }
  .vm-vade-index-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; background: none; border: 1px solid transparent; color: var(--text-secondary); font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
  .vm-vade-index-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-heading); }
  .vm-vade-index-item.is-on { border-color: rgba(201, 162, 76, 0.5); background: rgba(201, 162, 76, 0.1); color: var(--gold-label-active); }
  .vm-law { font-family: var(--font-serif); font-size: 19px; line-height: 1.8; color: var(--text-primary); max-width: 70ch; }
  .vm-law > p { margin: 0; }
  .vm-law-body { margin-top: 14px; padding-left: 18px; border-left: 1px solid var(--border-input); font-size: 17px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 8px; }
  .vm-law-body p { margin: 0; }
  .vm-law-body .vm-law-par { color: var(--text-primary); margin-top: 6px; }
  .vm-law-body .vm-law-par:first-child { margin-top: 0; }
  .vm-law-body .vm-law-alinea { padding-left: 22px; }
  @media (max-width: 900px) {
    .vm-vade { grid-template-columns: minmax(0, 1fr); }
    .vm-vade-index { position: static; }
    .vm-vade-index-list { flex-direction: row; flex-wrap: wrap; max-height: 132px; }
    .vm-vade-index-item { width: auto; }
  }
  @media (max-width: 760px) { .vm-juris-filters { grid-template-columns: minmax(0, 1fr) !important; } }

  /* --- Perfil: abas, insígnias, estante, loja, depoimentos --- */
  .vm-tabs { display: flex; gap: 4px; margin: 24px 0 18px; border-bottom: 1px solid var(--border-card); overflow-x: auto; }
  .vm-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-muted); font-family: var(--font-sans); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: color var(--transition-fast), border-color var(--transition-fast); }
  .vm-tab:hover { color: var(--text-heading); }
  .vm-tab.is-on { color: var(--gold-label-active); border-bottom-color: var(--gold-primary); }
  .vm-badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .vm-badge-tile { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border-card); background: rgba(255, 255, 255, 0.02); min-width: 0; }
  .vm-badge-tile.is-main { border-color: rgba(201, 162, 76, 0.5); background: rgba(201, 162, 76, 0.06); }
  .vm-badge-art { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--border-input); background: rgba(0, 0, 0, 0.25); }
  .vm-badge-name { font-weight: 700; font-size: 13.5px; color: var(--text-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vm-shelf { display: flex; gap: 18px; flex-wrap: wrap; }
  .vm-book { width: 104px; }
  .vm-book-cover { width: 104px; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border-input); background: var(--bg-card-active); padding: 8px; text-align: center; font-family: var(--font-serif); font-size: 12px; color: var(--gold-light); }
  .vm-book-cover img { width: calc(100% + 16px); height: calc(100% + 16px); object-fit: cover; }
  .vm-book figcaption { display: flex; flex-direction: column; margin-top: 6px; }
  .vm-book-title { font-family: var(--font-serif); font-weight: 600; font-size: 13px; color: var(--text-heading); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .vm-shop-group { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--text-muted); margin: 18px 0 10px; }
  .vm-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .vm-shop-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; border: 1px solid var(--border-card); background: rgba(255, 255, 255, 0.02); text-align: center; min-width: 0; }
  .vm-shop-item > button { width: 100%; margin-top: 6px; }
  .vm-shop-preview { display: inline-block; width: 44px; height: 44px; margin: 4px 0 6px; background: var(--bg-card-active); }
  .vm-quote { margin: 0; padding-left: 14px; border-left: 1px solid rgba(201, 162, 76, 0.5); font-family: var(--font-serif); font-size: 16px; line-height: 1.6; font-style: italic; color: var(--text-primary); }

  /* --- Caso da Semana --- */
  .vm-facts { list-style: none; counter-reset: fato; display: flex; flex-direction: column; border-top: 1px solid var(--border-card); }
  .vm-facts li { counter-increment: fato; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-card); font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
  .vm-facts li::before { content: counter(fato, decimal-leading-zero); flex: 0 0 auto; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
  .vm-dl { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 10px 18px; font-size: 14px; }
  .vm-dl dt { color: var(--text-muted); font-weight: 600; }
  .vm-dl dd { margin: 0; color: var(--text-primary); line-height: 1.6; white-space: pre-wrap; }
  @media (max-width: 760px) { .vm-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .vm-dl dd { margin-bottom: 10px; } }

  /* --- Janela Editar perfil --- */
  .vm-edit-form fieldset { border: none; border-top: 1px solid var(--border-card); padding: 18px 0 6px; margin: 0; }
  .vm-edit-form fieldset:first-of-type { border-top: none; padding-top: 0; }
  .vm-edit-form legend { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--text-heading); padding: 0 0 10px; }
  .vm-edit-details { border: 1px solid var(--border-card); padding: 10px 12px; }
  .vm-edit-details summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--gold-light); }
  .vm-edit-book { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border-card); }


  /* --- Admin: alunos --- */
  .vm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
  .vm-search { position: relative; flex: 1 1 320px; max-width: 460px; }
  .vm-search > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
  .vm-search .vm-input { padding-left: 38px; }
  .vm-row--wrap { flex-wrap: wrap; }
  .vm-row-open { display: flex; align-items: center; gap: 14px; flex: 1 1 280px; min-width: 0; padding: 0; background: none; border: none; color: inherit; font-family: var(--font-sans); text-align: left; cursor: pointer; }
  .vm-row-open:hover .vm-row-title { color: var(--gold-light); }
  .vm-row-stats { display: flex; gap: 22px; margin: 0; font-variant-numeric: tabular-nums; }
  .vm-row-stats > div { min-width: 54px; text-align: right; }
  .vm-row-stats dt { font-size: 11.5px; color: var(--text-muted); }
  .vm-row-stats dd { margin: 0; font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--text-heading); }
  .vm-row-actions { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
  .vm-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 4px; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); font-variant-numeric: tabular-nums; }
  .vm-figures > div { padding: 16px 18px; border-left: 1px solid var(--border-card); }
  .vm-figures > div:first-child { border-left: none; padding-left: 0; }
  .vm-figures dt { font-size: 12.5px; color: var(--text-muted); }
  .vm-figures dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--text-heading); }
  .vm-figures dd .vm-note { font-family: var(--font-sans); font-size: 13px; font-weight: 500; }
  .vm-topic { border-bottom: 1px solid var(--border-card); }
  .vm-grade { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
  .vm-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 14px; }
  .vm-checkline { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); cursor: pointer; }
  .vm-checkline input { width: 16px; height: 16px; accent-color: var(--gold-primary); flex: 0 0 auto; }
  @media (max-width: 760px) {
    .vm-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vm-figures > div:nth-child(3) { border-left: none; padding-left: 0; }
    .vm-figures > div:nth-child(n+3) { border-top: 1px solid var(--border-card); }
    .vm-figures dd { font-size: 25px; }
    .vm-row-stats { gap: 16px; }
    .vm-row-stats > div { text-align: left; min-width: 0; }
    .vm-grade { grid-template-columns: minmax(0, 1fr); }
  }

  /* --- Admin: banco de questões --- */
  .vm-cols--bank { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .vm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .vm-opt-fields { display: flex; flex-direction: column; gap: 12px; }
  .vm-opt-field { display: flex; gap: 12px; align-items: flex-start; }
  .vm-opt-field .vm-option-letter { margin-top: 10px; }
  .vm-file { flex: 1; min-width: 0; font-size: 13px; color: var(--text-secondary); }
  .vm-file::file-selector-button { margin-right: 12px; padding: 8px 12px; background: transparent; border: 1px solid var(--border-input); color: var(--text-primary); font-family: var(--font-sans); font-weight: 600; cursor: pointer; }
  .vm-bank-group { border-top: 1px solid var(--border-card); }
  .vm-bank-group:last-child { border-bottom: 1px solid var(--border-card); }
  .vm-bank-group > summary { display: flex; align-items: center; gap: 10px; padding: 14px 2px; cursor: pointer; }
  .vm-bank-subject { font-weight: 700; font-size: 14.5px; color: var(--text-heading); }
  .vm-bank-group .vm-rows { border-top: none; }
  .vm-icon-btn--bad:hover { color: var(--status-error-light); border-color: rgba(223, 122, 122, 0.45); }
  @media (max-width: 1100px) { .vm-cols--bank { grid-template-columns: minmax(0, 1fr); } .vm-cols--bank > section { order: -1; } }
  #q-form { scroll-margin-top: 96px; }
  .vm-crono-day { font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: var(--text-heading); margin: 6px 0 8px; }

  /* --- Admin: painel geral e códigos --- */
  .vm-figures--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .vm-figures--6 dd { font-size: 26px; }
  .vm-ledger--people th, .vm-ledger--people td { text-align: left; }
  .vm-ledger--people td { vertical-align: middle; }
  .vm-cell-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding: 0; background: none; border: none; color: var(--text-primary); font-family: var(--font-sans); font-size: 13.5px; font-weight: 700; text-align: left; cursor: pointer; }
  .vm-cell-link:hover > span:first-of-type, .vm-cell-link:hover > span:first-child { color: var(--gold-light); }
  .vm-code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-heading); }
  @media (max-width: 1100px) { .vm-figures--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vm-figures--6 > div:nth-child(4) { border-left: none; padding-left: 0; } .vm-figures--6 > div:nth-child(n+4) { border-top: 1px solid var(--border-card); } }
  @media (max-width: 760px) { .vm-figures--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vm-figures--6 > div:nth-child(4) { border-left: 1px solid var(--border-card); padding-left: 18px; } .vm-figures--6 > div:nth-child(odd) { border-left: none; padding-left: 0; } .vm-figures--6 > div:nth-child(n+3) { border-top: 1px solid var(--border-card); } }

  /* --- Admin: mural, meta do dia, PDFs --- */
  .vm-fieldset { border: none; padding: 0; margin: 4px 0 0; }
  .vm-pick-list { margin-top: 10px; padding: 12px; border: 1px solid var(--border-card); max-height: 240px; overflow-y: auto; }
  .vm-pick-list[hidden] { display: none; }
  .vm-title-link { text-decoration: none; }
  .vm-title-link:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
  .vm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vm-icon-btn:disabled { opacity: 0.3; cursor: default; }
  .vm-scroll-list { max-height: 520px; overflow-y: auto; }

  /* --- Admin: Vade Mecum (os estilos de arrastar em vademecum.js voltam a borda e o fundo destes valores) --- */
  .vm-art-list { display: flex; flex-direction: column; gap: 10px; }
  .vm-art { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.02); }
  .vm-art--editing { border-color: var(--gold-primary); }
  .vm-art-head { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
  .vm-art-handle { cursor: grab; padding: 2px 6px; color: var(--text-muted); font-weight: 800; letter-spacing: -2px; user-select: none; -webkit-user-select: none; touch-action: none; }
  .vm-art-handle:hover { color: var(--gold-light); }
  .vm-art-num { font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: var(--gold-light); }
  .vm-art-title { font-weight: 700; font-size: 14.5px; color: var(--text-heading); }
  .vm-art-caput { font-size: 14px; line-height: 1.6; color: var(--text-primary); overflow-wrap: anywhere; }

  /* --- Blog público --- */
  .vm-blog { min-height: 100vh; width: 100%; background: var(--bg-root); color: var(--text-primary); padding-bottom: 64px; }
  .vm-blog-top { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 14px 24px; background: var(--bg-panel); border-bottom: 1px solid var(--border-subtle); }
  .vm-blog-brand { display: flex; align-items: center; gap: 12px; padding: 0; background: none; border: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--font-sans); }
  .vm-blog-brand-name { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--text-heading); }
  .vm-blog-main { max-width: 1120px; margin: 0 auto; padding: 36px 24px 0; }
  .vm-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
  .vm-blog-card { border: 1px solid var(--border-card); background: var(--bg-card); transition: border-color var(--transition-fast); }
  .vm-blog-card:hover { border-color: rgba(201, 162, 76, 0.45); }
  .vm-blog-card.is-first { grid-column: 1 / -1; }
  .vm-blog-card-btn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; background: none; border: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--font-sans); }
  .vm-blog-card-btn img { width: 100%; height: 180px; object-fit: cover; display: block; border-bottom: 1px solid var(--border-card); }
  .vm-blog-card.is-first .vm-blog-card-btn { flex-direction: row; }
  .vm-blog-card.is-first .vm-blog-card-btn img { width: 50%; height: auto; min-height: 260px; border-bottom: none; border-right: 1px solid var(--border-card); }
  .vm-blog-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; min-width: 0; }
  .vm-blog-card-title { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--text-heading); }
  .vm-blog-card.is-first .vm-blog-card-title { font-size: 28px; }
  .vm-blog-card-sum { font-size: 14px; line-height: 1.55; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
  .vm-blog-article { max-width: 760px; }
  .vm-blog-cover { width: 100%; max-height: 400px; object-fit: cover; display: block; margin-bottom: 32px; border: 1px solid var(--border-card); }
  .vm-blog-text { font-family: var(--font-serif); font-size: 19px; line-height: 1.75; color: var(--text-primary); }
  .vm-blog-text p { margin: 0 0 18px; }
  .vm-blog-text h2 { font-family: var(--font-serif); font-weight: 600; font-size: 25px; color: var(--text-heading); margin: 32px 0 12px; }
  .vm-blog-text hr { border: none; border-top: 1px solid var(--border-card); margin: 28px 0; }
  .vm-blog-text .vm-quote { margin: 22px 0; font-size: 19px; }
  .vm-blog-share { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 16px 0; margin-top: 12px; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
  @media (max-width: 760px) {
    .vm-blog-top { padding: 12px 16px; }
    .vm-blog-main { padding: 24px 16px 0; }
    .vm-blog-card.is-first .vm-blog-card-btn { flex-direction: column; }
    .vm-blog-card.is-first .vm-blog-card-btn img { width: 100%; min-height: 0; height: 200px; border-right: none; border-bottom: 1px solid var(--border-card); }
    .vm-blog-card.is-first .vm-blog-card-title { font-size: 23px; }
    .vm-blog-text { font-size: 17.5px; }
  }

  /* --- Abertura, carregamento e avisos --- */
  .vm-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 100vh; width: 100%; background: var(--bg-root); }
  .vm-splash-overlay .vm-loading { min-height: 0; background: none; }
  .vm-splash-logo { animation: none; }
  .vm-loading-name { font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: var(--text-heading); }
  .vm-loading-bar { position: relative; width: 140px; height: 1px; background: var(--border-input); overflow: hidden; }
  .vm-loading-bar > span { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--gold-primary); animation: vmLoadBar 1.2s ease-in-out infinite; }
  @keyframes vmLoadBar { to { left: 100%; } }
  .vm-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px 12px 16px; background: var(--bg-card); border: 1px solid var(--border-input); border-top: 1px solid var(--gold-primary); color: var(--text-primary); font-size: 14px; line-height: 1.5; animation: vmToastIn .2s ease-out; }
  .vm-toast--success { border-top-color: var(--status-success); }
  .vm-toast--error { border-top-color: var(--status-error); }
  .vm-toast-text { flex: 1; min-width: 0; white-space: pre-line; padding-top: 2px; }
  @media (prefers-reduced-motion: reduce) { .vm-loading-bar > span { animation: none; left: 30%; } }

  /* --- Próximas provas da OAB (Início) --- */
  .vm-exams { display: flex; align-items: center; gap: 8px 12px; margin: -10px 0 24px; padding: 10px 0; border-bottom: 1px solid var(--border-card); }
  .vm-exams .vm-icon-btn { font-size: 20px; line-height: 1; }
  .vm-exams-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-secondary); }
  .vm-exams-main strong { color: var(--text-heading); }
  .vm-exams-days { color: var(--gold-light); font-variant-numeric: tabular-nums; }
  .vm-exams-days strong { color: var(--gold-label-active); font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
  @media (max-width: 760px) { .vm-exams-main > svg, .vm-exams > .vm-note { display: none; } .vm-exams-main { font-size: 13.5px; } }
  /* --- Simulados (aluno, Concursos) --- */
  .vm-sim-result { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
  .vm-sim-score { font-family: var(--font-serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--text-heading); }
  .vm-sim-score .vm-note { font-family: var(--font-sans); font-size: 15px; }
  .vm-sim-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, 40px); gap: 4px; flex: 1; min-width: 220px; }
  .vm-sim-grid li { display: flex; flex-direction: column; align-items: center; padding: 3px 0 4px; border: 1px solid var(--border-card); font-weight: 800; font-size: 13px; }
  .vm-sim-grid li.is-ok { color: var(--status-success-light); border-color: rgba(86, 180, 135, 0.45); }
  .vm-sim-grid li.is-bad { color: var(--status-error-light); border-color: rgba(223, 122, 122, 0.45); }
  .vm-sim-n { font-size: 10px; font-weight: 600; color: var(--text-muted); }

  /* --- Admin: seleção de alunos para excluir em lote --- */
  .vm-selbar { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; min-height: 44px; padding: 6px 0 10px; }
  .vm-selbar.is-on { padding: 8px 12px; margin-bottom: 8px; border: 1px solid rgba(223, 122, 122, 0.4); background: rgba(223, 122, 122, 0.05); }
  .vm-row-sel { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--gold-primary); cursor: pointer; }
  .vm-row.is-selected { background: rgba(201, 162, 76, 0.05); }
  .vm-btn-danger { color: var(--status-error-light); border-color: rgba(223, 122, 122, 0.5); }
  .vm-btn-danger:hover { border-color: var(--status-error); color: var(--status-error-light); }

  /* Cronograma → questões do mesmo tema (renderTaskLinks em ineditas.js) */
  .vm-task-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
  .vm-task-links .vm-link { font-size: 12.5px; }
  .vm-task-quest { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 12.5px; color: var(--text-secondary); }
  .vm-task-quest .vm-note { font-size: 12px; }
  .vm-check--sm { width: 18px; height: 18px; }
  .vm-check:disabled { cursor: default; }

  /* Paginação das listas de questões (paginate() em nucleo.js) */
  .vm-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--border-card); }
  .vm-pagination-nums { display: flex; align-items: center; gap: 4px; }
  .vm-page-num { min-width: 34px; height: 34px; padding: 0 8px; background: none; border: 1px solid var(--border-card); color: var(--text-muted); font-family: var(--font-sans); font-size: 13px; font-weight: 700; cursor: pointer; }
  .vm-page-num:hover { color: var(--text-heading); border-color: var(--border-strong, var(--gold-primary)); }
  .vm-page-num.is-on { color: var(--gold-label-active); border-color: var(--gold-primary); }
  @media (max-width: 560px) { .vm-pagination-nums { display: none; } .vm-pagination { justify-content: space-between; } }

  /* Quadro de desempenho: nome da disciplina abre as questões dela */
  .vm-ledger-link { display: inline-flex; align-items: center; gap: 9px; background: none; border: none; padding: 0; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
  .vm-ledger-link:hover { color: var(--gold-light); }

  /* Imagem da questão (questionImageHtml em questoes.js) */
  .vm-q-figure { margin: 4px 0 20px; }
  .vm-q-figure a { display: inline-block; max-width: 100%; border: 1px solid var(--border-card); background: #fff; }
  .vm-q-figure img { display: block; max-width: 100%; max-height: 440px; object-fit: contain; }
  .vm-q-figure figcaption { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
  .vm-q-img-prev { background: #fff; border: 1px solid var(--border-card); padding: 6px; margin-bottom: 8px; display: flex; justify-content: center; }
  .vm-q-img-prev[hidden] { display: none; }
  .vm-q-img-prev img { max-height: 120px; max-width: 100%; object-fit: contain; }

  /* Resumos (resumos.js): texto vindo do Word, lido no site */
  .vm-link-plain { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .vm-resumo-page .vm-page-head { align-items: flex-start; gap: 16px; flex-wrap: wrap; }
  .vm-resumo-toc { margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--border-card); max-width: 760px; }
  .vm-resumo-toc summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--text-heading); }
  .vm-resumo-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .vm-resumo-toc .vm-link { font-size: 14px; text-align: left; }
  .vm-resumo { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--text-primary); overflow-wrap: anywhere; }
  .vm-resumo h1, .vm-resumo h2, .vm-resumo h3, .vm-resumo h4, .vm-resumo h5, .vm-resumo h6 { font-family: var(--font-serif); font-weight: 600; color: var(--text-heading); line-height: 1.25; margin: 1.6em 0 0.5em; scroll-margin-top: 16px; }
  .vm-resumo h1 { font-size: 26px; } .vm-resumo h2 { font-size: 22px; } .vm-resumo h3 { font-size: 19px; } .vm-resumo h4, .vm-resumo h5, .vm-resumo h6 { font-size: 16px; }
  .vm-resumo > :first-child { margin-top: 0; }
  .vm-resumo p { margin: 0 0 0.9em; }
  .vm-resumo ul, .vm-resumo ol { margin: 0 0 1em; padding-left: 1.4em; }
  .vm-resumo li { margin: 0.25em 0; }
  .vm-resumo strong { color: var(--text-heading); }
  .vm-resumo a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
  .vm-resumo blockquote { margin: 1em 0; padding-left: 14px; border-left: 1px solid var(--gold-primary); color: var(--text-secondary); }
  .vm-resumo table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1em 0; font-size: 14.5px; }
  .vm-resumo td, .vm-resumo th { border: 1px solid var(--border-card); padding: 6px 10px; vertical-align: top; }
  .vm-resumo td > :last-child, .vm-resumo th > :last-child, .vm-resumo li > :last-child { margin-bottom: 0; }
  .vm-resumo hr { border: 0; border-top: 1px solid var(--border-card); margin: 1.5em 0; }
  .vm-resumo sup { font-size: 0.7em; }
  .vm-resumo-owner { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--border-card); max-width: 760px; }
  /* Resumos — lista do admin: uma linha por disciplina, abre ao clicar */
  .vm-rs-missing { margin-bottom: 12px; }
  .vm-rs-missing summary { cursor: pointer; font-size: 12.5px; color: var(--text-muted); }
  .vm-rs-missing p { margin-top: 6px; }
  .vm-rs-groups { border-top: 1px solid var(--border-card); }
  .vm-rs-group { border-bottom: 1px solid var(--border-card); }
  .vm-rs-group[hidden] { display: none; }
  .vm-rs-group > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; cursor: pointer; }
  .vm-rs-group > summary::-webkit-details-marker { display: none; }
  .vm-rs-group-name { font-weight: 700; font-size: 15px; color: var(--text-heading); }
  .vm-rs-group-name::before { content: '›'; display: inline-block; width: 14px; color: var(--gold-light); transition: transform .15s ease; }
  .vm-rs-group[open] .vm-rs-group-name::before { transform: rotate(90deg); }
  .vm-rs-items { list-style: none; margin: 0 0 10px 14px; padding: 0; }
  .vm-rs-items li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-card); }
  .vm-rs-items li[hidden] { display: none; }
  .vm-rs-title { font-size: 14.5px; color: var(--text-primary); }
  .vm-rs-title:hover { color: var(--gold-light); }
  .vm-rs-actions { display: flex; gap: 2px; flex: 0 0 auto; }
  .vm-rs-actions .vm-icon-btn { width: 30px; height: 30px; }
  @media (hover: hover) { .vm-rs-items li .vm-rs-actions { opacity: .45; transition: opacity .15s ease; } .vm-rs-items li:hover .vm-rs-actions, .vm-rs-items li:focus-within .vm-rs-actions { opacity: 1; } }
  /* Conta gratuita (gratis.js) */
  .vm-gr { min-height: 100vh; width: 100%; flex: 1 1 auto; min-width: 0; background: var(--bg-root); }
  .vm-gr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-panel); position: sticky; top: 0; z-index: 5; }
  .vm-gr-main { padding: 32px 24px 56px; }
  .vm-gr-main .vm-page { max-width: 960px; margin: 0 auto; }
  .vm-gr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 22px; }
  .vm-gr-verify { margin-bottom: 18px; }
  .vm-gr-qbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
  .vm-gr-qbar .vm-tabs { margin: 0; }
  .vm-gr-statement { font-size: 16px; line-height: 1.7; color: var(--text-primary); margin: 8px 0 16px; overflow-wrap: anywhere; }
  .vm-gr-opts { display: flex; flex-direction: column; gap: 8px; }
  .vm-gr-opt { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 12px 14px; background: transparent; border: 1px solid var(--border-input); color: var(--text-primary); font: inherit; font-size: 15px; line-height: 1.55; cursor: pointer; }
  .vm-gr-opt:hover:not([disabled]) { border-color: var(--gold-primary); }
  .vm-gr-opt[aria-pressed="true"] { border-color: var(--gold-primary); background: rgba(201, 162, 76, 0.08); }
  .vm-gr-opt[disabled] { cursor: default; }
  .vm-gr-opt.is-correct { border-color: #6fbf95; background: rgba(111, 191, 149, 0.10); }
  .vm-gr-opt.is-wrong { border-color: #e89a9a; background: rgba(232, 154, 154, 0.08); }
  .vm-gr-letter { flex: 0 0 auto; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-input); font-size: 12.5px; font-weight: 700; }
  .vm-gr-optnote { margin: -2px 0 6px 38px; }
  .vm-gr-result { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--border-card); }
  .vm-gr-result.is-ok { border-color: #6fbf95; } .vm-gr-result.is-bad { border-color: #e89a9a; }
  .vm-gr-result p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); }
  @media (max-width: 640px) { .vm-gr-top { padding: 10px 16px; } .vm-gr-main { padding: 20px 16px 48px; } .vm-gr-email { display: none; } }
  /* Busca no topo das telas com cartões (Vade Mecum e Resumos do aluno) */
  .vm-home-search { position: relative; max-width: 560px; margin: 0 0 22px; }
  .vm-home-search .vm-input { padding-left: 42px; }
  .vm-home-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
  .vm-grid-cards > [hidden], .vm-rows > [hidden], .vm-section[hidden], .vm-grid-cards[hidden] { display: none !important; }
  #rs-area-list .vm-row-title, #rs-results .vm-row-title { white-space: normal; text-align: left; }
  #rs-area-list .vm-row > .vm-note, #rs-results .vm-row > .vm-note, #rs-area-list .vm-row > .vm-tag, #rs-results .vm-row > .vm-tag { flex: 0 0 auto; white-space: nowrap; }
  /* Imagens dos resumos: borradas até o clique (imagens sensíveis, ex.: Medicina Legal) */
  .vm-rs-fig { margin: 1.4em 0; }
  .vm-rs-imgbox { position: relative; display: inline-block; max-width: 100%; background: var(--bg-card); border: 1px solid var(--border-card); min-height: 80px; min-width: 160px; cursor: default; overflow: hidden; }
  .vm-rs-imgbox img { display: block; max-width: 100%; max-height: 560px; height: auto; transition: filter .2s ease; }
  .vm-rs-fig.is-blur .vm-rs-imgbox { cursor: pointer; }
  .vm-rs-fig.is-blur .vm-rs-imgbox img { filter: blur(22px) grayscale(.4); }
  .vm-rs-veil { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 12px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; background: rgba(7, 13, 24, .45); }
  .vm-rs-fig.is-blur .vm-rs-veil { display: flex; }
  .vm-rs-fig:not(.is-blur) .vm-rs-imgbox:has(.vm-rs-veil) { cursor: pointer; }
  .vm-rs-imgbox.is-error::after { content: 'Imagem indisponível'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-muted); }
  .vm-rs-fig figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); max-width: 760px; }
  .vm-gr-code { margin: -8px 0 22px; }
  .vm-gr-code summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--gold-light); }
  .vm-gr-code-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; max-width: 520px; }
  .vm-gr-code-row .vm-input { flex: 1 1 200px; text-transform: uppercase; }
  /* Admin → Novidades da semana */
  .vm-nov-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .vm-nov-list li { font-size: 14.5px; line-height: 1.55; color: var(--text-primary); padding-left: 14px; position: relative; }
  .vm-nov-list li::before { content: '•'; position: absolute; left: 0; color: var(--gold-light); }
  .vm-nov-list li.is-sub { padding-left: 32px; font-size: 13.5px; color: var(--text-secondary); }
  .vm-nov-list li.is-sub::before { left: 18px; content: '·'; }

  /* Arquivo Criminal (js/arquivo.js): lista no visual "Noir" escolhido pelo Prof. Humberto (preto, fita amarela,
     Oswald em caixa alta); a página dos casos (app/arquivo/) usa as mesmas cores */
  .vm-ac { background: #0F1012; border: 1px solid #2A2C30; color: #ECEAE4; }
  .vm-ac-tape { height: 10px; background: repeating-linear-gradient(-45deg, #E2B93B 0 22px, #1A1A1A 22px 44px); }
  .vm-ac-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; padding: 22px clamp(16px, 3vw, 32px) 18px; border-bottom: 1px solid #2A2C30; }
  .vm-ac-title { margin: 0; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: #ECEAE4; }
  .vm-ac-sub { margin: 6px 0 0; font-size: 14px; color: #9A9A96; }
  .vm-ac-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: #0F1012; background: #E2B93B; text-decoration: none; }
  .vm-ac-btn:hover { background: #F3D57A; color: #0F1012; }
  .vm-ac-search { padding: 18px clamp(16px, 3vw, 32px) 0; }
  .vm-ac-input { width: 100%; max-width: 420px; font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #3A3D42; background: #17191C; color: #ECEAE4; }
  .vm-ac-list { list-style: none; margin: 0; padding: 8px 0 12px; }
  .vm-ac-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px clamp(16px, 3vw, 32px); border-bottom: 1px solid #2A2C30; text-decoration: none; color: #ECEAE4; }
  .vm-ac-list li:last-child .vm-ac-item { border-bottom: 0; }
  .vm-ac-item:hover { background: #17191C; color: #ECEAE4; }
  .vm-ac-num { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: 32px; line-height: 1; color: #6E6F72; }
  .vm-ac-item:hover .vm-ac-num, .vm-ac-item:hover .vm-ac-open { color: #E2B93B; }
  .vm-ac-name { display: block; font-size: 17px; font-weight: 600; }
  .vm-ac-meta { display: block; font-size: 13px; color: #9A9A96; margin-top: 3px; }
  .vm-ac-open { color: #6E6F72; }
  .vm-ac-empty { margin: 0; padding: 28px clamp(16px, 3vw, 32px); color: #9A9A96; }
  .vm-ac .vm-empty { padding: 0 clamp(16px, 3vw, 32px) 20px; }
  @media (max-width: 560px) { .vm-ac-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; } .vm-ac-num { font-size: 24px; } }

  /* ===== Guia de Peças da 2ª fase (js/guia-pecas.js) ===== */
  .vm-gp-texto { margin-bottom: 8px; }
  .vm-gp-tbl { overflow-x: auto; }
  .vm-gp-arts, .vm-gp-espelho { width: 100%; border-collapse: collapse; font-size: 14px; }
  .vm-gp-arts th { text-align: left; color: var(--text-muted); font-size: 12px; font-weight: 600; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border-card); }
  .vm-gp-arts td, .vm-gp-espelho td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border-card); vertical-align: top; }
  .vm-gp-arts td:first-child { font-weight: 600; white-space: nowrap; color: var(--text-heading); }
  .vm-gp-arts td:nth-child(2) { width: 140px; }
  .vm-gp-bar { position: relative; display: block; padding: 1px 6px; font-size: 13px; font-variant-numeric: tabular-nums; isolation: isolate; }
  .vm-gp-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(201, 162, 76, 0.12); border-left: 2px solid var(--gold-primary); z-index: -1; }
  .vm-gp-exam { border: 1px solid var(--border-card); background: var(--bg-card); margin-top: 12px; }
  .vm-gp-exam > summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; cursor: pointer; }
  .vm-gp-exam > summary::-webkit-details-marker { display: none; }
  .vm-gp-exam-title { font-family: var(--font-serif); font-size: 19px; color: var(--text-heading); }
  .vm-gp-exam-body { padding: 0 18px 18px; border-top: 1px solid var(--border-card); }
  .vm-gp-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 10px; }
  .vm-gp-mini dt { font-size: 12px; color: var(--text-muted); }
  .vm-gp-mini dd { margin: 0; font-size: 14px; color: var(--text-primary); }
  .vm-gp-enun { margin: 6px 0 4px; padding-left: 14px; border-left: 1px solid var(--border-input); }
  .vm-gp-enun summary { cursor: pointer; color: var(--gold-light); font-weight: 600; font-size: 14px; }
  .vm-gp-enun p { font-family: var(--font-serif); font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin: 10px 0 0; max-width: 70ch; }
  .vm-gp-parte { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
  .vm-gp-pts { text-align: right; white-space: nowrap; color: var(--gold-light); font-variant-numeric: tabular-nums; width: 56px; }
  .vm-gp-score { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--border-card); background: var(--bg-root); }
  .vm-gp-score .vm-meter { flex: 1 1 160px; min-width: 120px; margin-top: 0; }
  .vm-gp-big { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: var(--text-heading); font-variant-numeric: tabular-nums; }
  .vm-gp-count { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-muted); }
  .vm-gp-case { font-family: var(--font-serif); font-size: 18px; line-height: 1.65; color: var(--text-primary); margin: 12px 0 18px; max-width: 70ch; }
  .vm-gp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vm-gp-opt { text-align: left; padding: 11px 14px; background: var(--bg-root); border: 1px solid var(--border-input); color: var(--text-primary); font-family: var(--font-sans); font-size: 14px; cursor: pointer; }
  .vm-gp-opt:hover:not(:disabled) { border-color: var(--gold-primary); }
  .vm-gp-opt:disabled { cursor: default; }
  .vm-gp-opt.is-right { border-color: var(--status-success); background: rgba(86, 180, 135, 0.12); }
  .vm-gp-opt.is-wrong { border-color: var(--status-error); background: var(--status-error-bg); }
  .vm-gp-feedback { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-card); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  @media (max-width: 640px) {
    .vm-gp-mini, .vm-gp-opts { grid-template-columns: minmax(0, 1fr); }
  }
  .vm-gp-secs { border-top: 1px solid var(--border-card); margin-bottom: 8px; }
  .vm-gp-sec { border-bottom: 1px solid var(--border-card); }
  .vm-gp-sec > summary { list-style: none; cursor: pointer; padding: 14px 4px; font-family: var(--font-serif); font-size: 20px; color: var(--text-heading); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .vm-gp-sec > summary::-webkit-details-marker { display: none; }
  .vm-gp-sec > summary::after { content: "+"; font-family: var(--font-sans); font-size: 20px; color: var(--gold-primary); }
  .vm-gp-sec[open] > summary::after { content: "–"; }
  .vm-gp-sec > .vm-resumo { padding: 0 4px 18px; }
  .vm-gp-mine { width: 96px; text-align: right; }
  .vm-gp-mine select { width: 84px; padding: 4px 6px; font-variant-numeric: tabular-nums; }
