/* Final visual layer cleanup: remove nested borders inside answer/report cards. */
html body #practice.practice-detail-mode .stage-practice .question-card.active-question,
html body #practice.practice-detail-mode .stage-practice .active-question,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.78), rgba(241, 243, 247, 0.62)) !important;
  box-shadow:
    0 18px 44px -40px rgba(15, 23, 42, 0.38) !important;
  outline: 0 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-card.active-question::before,
html body #practice.practice-detail-mode .stage-practice .question-card.active-question::after,
html body #practice.practice-detail-mode .stage-practice .active-question::before,
html body #practice.practice-detail-mode .stage-practice .active-question::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-card.active-question #questionText,
html body #practice.practice-detail-mode .stage-practice .active-question #questionText {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-idle-card .ai-report-illustration,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .reading-ai-wait-card .ai-report-illustration {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-idle-card .ai-report-illustration svg rect[x="0.5"],
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .reading-ai-wait-card .ai-report-illustration svg rect[x="0.5"] {
  fill: transparent !important;
  stroke: transparent !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-idle-card .ai-report-illustration svg rect[x="35"],
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .reading-ai-wait-card .ai-report-illustration svg rect[x="35"] {
  fill: rgba(255, 255, 255, 0.78) !important;
}

/* Practice library banner: blend the mascot and embed the recommendation panel. */
html body #practice:not(.practice-detail-mode) .practice-top-grid {
  background:
    radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.64), transparent 30%),
    radial-gradient(circle at 74% 38%, rgba(255, 214, 96, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)) !important;
}

html body #practice:not(.practice-detail-mode) .practice-top-grid .practice-hero > img {
  mix-blend-mode: multiply !important;
  background: transparent !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 18px 24px rgba(88, 50, 0, 0.16))
    saturate(1.03) !important;
  -webkit-mask-image:
    radial-gradient(ellipse 62% 70% at 50% 52%, #000 58%, rgba(0, 0, 0, 0.72) 68%, transparent 84%) !important;
  mask-image:
    radial-gradient(ellipse 62% 70% at 50% 52%, #000 58%, rgba(0, 0, 0, 0.72) 68%, transparent 84%) !important;
}

html body #practice:not(.practice-detail-mode) .practice-plan-card {
  border: 0 !important;
  border-left: 0 !important;
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 210, 85, 0.16), transparent 34%),
    radial-gradient(ellipse at 48% 54%, rgba(255, 255, 255, 0.34), transparent 62%) !important;
  box-shadow: none !important;
}

html body #practice:not(.practice-detail-mode) .practice-plan-card::before,
html body #practice:not(.practice-detail-mode) .practice-plan-card::after {
  display: none !important;
  content: none !important;
}

/* Generated report preference: Apple-like glass, fewer nested frames, embedded content. */
html body #practice.practice-detail-mode .feedback-panel.has-report {
  border: 0 !important;
  outline: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(0, 156, 107, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 58px -46px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(26px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.22) !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report::before,
html body #practice.practice-detail-mode .feedback-panel.has-report::after,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-original-report::before,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-original-report::after,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-generated-report::before,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-generated-report::after,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-report-card-clean::before,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-report-card-clean::after,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-report-card::before,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-report-card::after,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-card::before,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-card::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report > .eyebrow {
  color: rgba(75, 84, 100, 0.72) !important;
  letter-spacing: 0.01em !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report > h2 {
  color: rgba(14, 17, 22, 0.92) !important;
  font-size: clamp(23px, 1.9vw, 30px) !important;
  font-weight: 760 !important;
  line-height: 1.16 !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .feedback-point,
html body #practice.practice-detail-mode .feedback-panel.has-report .score-bar,
html body #practice.practice-detail-mode .feedback-panel.has-report .ai-action-plan li,
html body #practice.practice-detail-mode .feedback-panel.has-report .coach-tip,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-word-map li,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-advice li {
  border: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 26px -24px rgba(15, 23, 42, 0.32) !important;
  backdrop-filter: blur(18px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.16) !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .speech-original-report,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-result-redesign,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-generated-report,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-ds-report,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-report-card-clean,
html body #practice.practice-detail-mode .feedback-panel.has-report .we-report-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-report-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .lifib-result-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .speech-score-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-ai-summary-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-report-block,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-score-summary,
html body #practice.practice-detail-mode .feedback-panel.has-report .reading-ai-review,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-total-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-score-grid-clean article,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-answer-review,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-issue-explain,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-analysis-point,
html body #practice.practice-detail-mode .feedback-panel.has-report .we-score-grid article,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-score-hero,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-score-grid article,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-answer-review,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-advice-card,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-hero,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-stats article,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-section,
html body #practice.practice-detail-mode .feedback-panel.has-report .lifib-result-summary,
html body #practice.practice-detail-mode .feedback-panel.has-report .lifib-result-row {
  border: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.62), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(0, 156, 107, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 16px 34px -32px rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .score-ring,
html body #practice.practice-detail-mode .feedback-panel.has-report .ai-breakdown,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-score-lines,
html body #practice.practice-detail-mode .feedback-panel.has-report .feedback-list,
html body #practice.practice-detail-mode .feedback-panel.has-report .practice-step-list {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report h3,
html body #practice.practice-detail-mode .feedback-panel.has-report h4 {
  font-weight: 740 !important;
  letter-spacing: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report p,
html body #practice.practice-detail-mode .feedback-panel.has-report li {
  color: rgba(75, 84, 100, 0.78) !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .swt-score-grid-clean,
html body #practice.practice-detail-mode .feedback-panel.has-report .we-score-grid,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-score-grid,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-stats,
html body #practice.practice-detail-mode .feedback-panel.has-report .speech-report-metrics {
  gap: 10px !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .swt-score-grid-clean article,
html body #practice.practice-detail-mode .feedback-panel.has-report .we-score-grid article,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-score-grid article,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-stats article {
  min-height: 92px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .feedback-point,
html body #practice.practice-detail-mode .feedback-panel.has-report .ai-action-plan li,
html body #practice.practice-detail-mode .feedback-panel.has-report .coach-tip,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-word-map li,
html body #practice.practice-detail-mode .feedback-panel.has-report .hiw-report-advice li {
  min-height: 36px !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
}

html body #practice.practice-detail-mode .feedback-panel.has-report .reading-ai-review,
html body #practice.practice-detail-mode .feedback-panel.has-report .swt-answer-review,
html body #practice.practice-detail-mode .feedback-panel.has-report .wfd-answer-review {
  padding: 16px !important;
  border-radius: 20px !important;
}

/* Apple glass pass for the practice detail workspace. Visual-only, no report/render logic changes. */
html body.view-practice:has(#practice.practice-detail-mode:not(.figma-answer-265)) {
  background:
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 46%, #f7f5ee 100%) !important;
}

html body #practice.practice-detail-mode {
  --glass-surface: rgba(255, 255, 255, 0.34);
  --glass-surface-strong: rgba(255, 255, 255, 0.52);
  --glass-line: rgba(255, 255, 255, 0.86);
  --glass-shadow: 0 28px 70px -46px rgba(15, 23, 42, 0.58);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  background:
    radial-gradient(circle at 8% 18%, rgba(124, 196, 255, 0.22), transparent 22%),
    radial-gradient(circle at 78% 8%, rgba(255, 213, 112, 0.22), transparent 24%),
    radial-gradient(circle at 92% 70%, rgba(85, 214, 167, 0.18), transparent 26%),
    radial-gradient(circle at 28% 88%, rgba(210, 221, 255, 0.28), transparent 24%) !important;
}

html body #practice.practice-detail-mode .practice-dashboard-layout,
html body #practice.practice-detail-mode .practice-panel.stage-practice,
html body #practice.practice-detail-mode .stage-practice .practice-workbench {
  background: transparent !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice {
  background:
    radial-gradient(circle at 14% 18%, rgba(111, 190, 255, 0.2), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(255, 221, 128, 0.22), transparent 24%),
    radial-gradient(circle at 80% 82%, rgba(72, 207, 156, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(247, 250, 255, 0.9), rgba(239, 244, 249, 0.84)) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.2)),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.46), transparent 36%) !important;
  opacity: 0.82 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice.practice-detail-mode .stage-practice .answer-stage,
html body #practice.practice-detail-mode .feedback-panel {
  border: 1px solid var(--glass-line) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.34) 42%, rgba(255, 255, 255, 0.18) 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 34%),
    var(--glass-surface) !important;
  box-shadow: var(--glass-inner), var(--glass-shadow) !important;
  backdrop-filter: blur(34px) saturate(1.34) contrast(1.04) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.34) contrast(1.04) !important;
  overflow: hidden !important;
  position: relative !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser::before,
html body #practice.practice-detail-mode .stage-practice .answer-stage::before,
html body #practice.practice-detail-mode .feedback-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 32%),
    linear-gradient(300deg, transparent 58%, rgba(255, 255, 255, 0.2)) !important;
  mix-blend-mode: screen !important;
  opacity: 0.72 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser {
  border-radius: 28px !important;
}

html body #practice.practice-detail-mode .stage-practice .answer-stage,
html body #practice.practice-detail-mode .feedback-panel {
  border-radius: 30px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-card.active-question,
html body #practice.practice-detail-mode .stage-practice .active-question,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84) 48%, rgba(248, 255, 252, 0.76)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 30px 70px -48px rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body #practice.practice-detail-mode .question-browser-head,
html body #practice.practice-detail-mode .question-list-tools,
html body #practice.practice-detail-mode .question-list-toolbar,
html body #practice.practice-detail-mode .question-tools,
html body #practice.practice-detail-mode .recorder,
html body #practice.practice-detail-mode .answer-workspace,
html body #practice.practice-detail-mode .practice-discussion,
html body #practice.practice-detail-mode .feedback-idle-card,
html body #practice.practice-detail-mode .feedback-waiting-context,
html body #practice.practice-detail-mode .reading-ai-wait-card,
html body #practice.practice-detail-mode .speech-idle-stack,
html body #practice.practice-detail-mode .score-ring,
html body #practice.practice-detail-mode .ai-breakdown {
  border-color: rgba(255, 255, 255, 0.82) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 36px -28px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(1.26) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.26) !important;
}

html body #practice.practice-detail-mode .question-list .question-list-item,
html body #practice.practice-detail-mode .question-list button,
html body #practice.practice-detail-mode .compact-question-row,
html body #practice.practice-detail-mode .virtual-question-list-window .compact-question-row {
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 32px -26px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}

html body #practice.practice-detail-mode .question-list .question-list-item:hover,
html body #practice.practice-detail-mode .question-list button:hover,
html body #practice.practice-detail-mode .compact-question-row:hover,
html body #practice.practice-detail-mode .virtual-question-list-window .compact-question-row:hover {
  transform: translateY(-1px) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.36) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 38px -30px rgba(15, 23, 42, 0.44) !important;
}

html body #practice.practice-detail-mode .primary-btn,
html body #practice.practice-detail-mode .ghost-btn,
html body #practice.practice-detail-mode .question-tools button,
html body #practice.practice-detail-mode .recorder-actions button,
html body #practice.practice-detail-mode .practice-navigator button,
html body #practice.practice-detail-mode .question-list-tools button,
html body #practice.practice-detail-mode .filter-chip,
html body #practice.practice-detail-mode .segmented-control button,
html body #practice.practice-detail-mode .ra-mode-toggle button,
html body #practice.practice-detail-mode .discussion-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.28) !important;
  color: rgba(18, 22, 30, 0.92) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 26px -24px rgba(15, 23, 42, 0.38) !important;
  backdrop-filter: blur(24px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.3) !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease !important;
}

html body #practice.practice-detail-mode .primary-btn,
html body #practice.practice-detail-mode .recorder-actions #recordButton,
html body #practice.practice-detail-mode .recorder-actions #submitButton,
html body #practice.practice-detail-mode .practice-navigator .primary-btn {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(3, 5, 8, 0.9)),
    #050607 !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 34px -26px rgba(0, 0, 0, 0.72) !important;
}

html body #practice.practice-detail-mode .ghost-btn:hover,
html body #practice.practice-detail-mode .question-tools button:hover,
html body #practice.practice-detail-mode .question-list-tools button:hover,
html body #practice.practice-detail-mode .filter-chip:hover,
html body #practice.practice-detail-mode .segmented-control button:hover,
html body #practice.practice-detail-mode .ra-mode-toggle button:hover,
html body #practice.practice-detail-mode .discussion-tabs button:hover {
  transform: translateY(-1px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.5) !important;
}

html body #practice.practice-detail-mode .primary-btn:hover,
html body #practice.practice-detail-mode .recorder-actions #recordButton:hover,
html body #practice.practice-detail-mode .recorder-actions #submitButton:hover {
  transform: translateY(-1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 40px -26px rgba(0, 0, 0, 0.82) !important;
}

html body #practice.practice-detail-mode .primary-btn:active,
html body #practice.practice-detail-mode .ghost-btn:active,
html body #practice.practice-detail-mode .question-tools button:active,
html body #practice.practice-detail-mode .recorder-actions button:active,
html body #practice.practice-detail-mode .practice-navigator button:active,
html body #practice.practice-detail-mode .question-list-tools button:active {
  transform: translateY(0) scale(0.985) !important;
}

html body #practice.practice-detail-mode button:disabled,
html body #practice.practice-detail-mode .primary-btn:disabled,
html body #practice.practice-detail-mode .ghost-btn:disabled {
  opacity: 0.46 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.22) !important;
  color: rgba(84, 91, 106, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

html body #practice.practice-detail-mode input,
html body #practice.practice-detail-mode textarea,
html body #practice.practice-detail-mode select,
html body #practice.practice-detail-mode .search-input,
html body #practice.practice-detail-mode .question-search input {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: blur(16px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .audio-play-button,
html body #practice.practice-detail-mode .play-audio,
html body #practice.practice-detail-mode .ra-demo-play,
html body #practice.practice-detail-mode .recorder .record-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 28px -22px rgba(0, 0, 0, 0.72) !important;
}

html body #practice.practice-detail-mode .audio-track,
html body #practice.practice-detail-mode .wave,
html body #practice.practice-detail-mode .progress-track {
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  background: rgba(130, 139, 154, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

html body #practice.practice-detail-mode .question-meta span,
html body #practice.practice-detail-mode .active-question-code,
html body #practice.practice-detail-mode .status-pill,
html body #practice.practice-detail-mode .done-pill {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 20px -18px rgba(0, 0, 0, 0.62) !important;
}

@media (max-width: 760px) {
  html body #practice.practice-detail-mode .stage-practice .question-browser,
  html body #practice.practice-detail-mode .stage-practice .answer-stage,
  html body #practice.practice-detail-mode .feedback-panel {
    border-radius: 22px !important;
  }

  html body #practice.practice-detail-mode .primary-btn,
  html body #practice.practice-detail-mode .ghost-btn,
  html body #practice.practice-detail-mode .question-tools button,
  html body #practice.practice-detail-mode .recorder-actions button,
  html body #practice.practice-detail-mode .practice-navigator button {
    min-height: 42px !important;
  }
}

/* Apple glass pass for the home dashboard. Visual-only: cards/buttons only. */
html body.view-dashboard,
html body.view-dashboard {
  background:
    radial-gradient(circle at 10% 8%, rgba(110, 190, 255, 0.2), transparent 24%),
    radial-gradient(circle at 78% 12%, rgba(255, 217, 120, 0.22), transparent 26%),
    radial-gradient(circle at 88% 78%, rgba(76, 217, 164, 0.16), transparent 28%),
    linear-gradient(135deg, #f7faff 0%, #eef3f8 48%, #f8f4eb 100%) !important;
}

html body #dashboard.active-view,
html body #homeDashboard {
  --home-glass: rgba(255, 255, 255, 0.34);
  --home-glass-strong: rgba(255, 255, 255, 0.48);
  --home-glass-line: rgba(255, 255, 255, 0.86);
  --home-glass-shadow: 0 28px 72px -48px rgba(15, 23, 42, 0.58);
  --home-glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

html body #homeDashboard .home-v2,
html body #homeDashboard .home-v2-desktop-trial,
html body #homeDashboard .home-v2-mobile-trial {
  background:
    radial-gradient(circle at 14% 10%, rgba(98, 176, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 220, 128, 0.2), transparent 24%),
    radial-gradient(circle at 62% 88%, rgba(83, 218, 169, 0.14), transparent 30%) !important;
}

html body #homeDashboard .home-web-hero,
html body #homeDashboard .home-web-card,
html body #homeDashboard .home-web-metric,
html body #homeDashboard .home-web-goal,
html body #homeDashboard .home-v2-welcome,
html body #homeDashboard .home-v2-card,
html body #homeDashboard .home-v2-helper,
html body #homeDashboard .home-mobile-hero,
html body #homeDashboard .home-mobile-section,
html body #homeDashboard .home-mobile-metric {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--home-glass-line) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.34) 44%, rgba(255, 255, 255, 0.16) 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 36%),
    var(--home-glass) !important;
  box-shadow: var(--home-glass-inner), var(--home-glass-shadow) !important;
  backdrop-filter: blur(34px) saturate(1.34) contrast(1.04) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.34) contrast(1.04) !important;
}

html body #homeDashboard .home-web-hero::before,
html body #homeDashboard .home-web-card::before,
html body #homeDashboard .home-web-metric::before,
html body #homeDashboard .home-web-goal::before,
html body #homeDashboard .home-v2-welcome::before,
html body #homeDashboard .home-v2-card::before,
html body #homeDashboard .home-v2-helper::before,
html body #homeDashboard .home-mobile-hero::before,
html body #homeDashboard .home-mobile-section::before,
html body #homeDashboard .home-mobile-metric::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(300deg, transparent 58%, rgba(255, 255, 255, 0.18)) !important;
  mix-blend-mode: screen !important;
  opacity: 0.7 !important;
}

html body #homeDashboard .home-web-hero > *,
html body #homeDashboard .home-web-card > *,
html body #homeDashboard .home-web-metric > *,
html body #homeDashboard .home-web-goal > *,
html body #homeDashboard .home-v2-welcome > *,
html body #homeDashboard .home-v2-card > *,
html body #homeDashboard .home-v2-helper > *,
html body #homeDashboard .home-mobile-hero > *,
html body #homeDashboard .home-mobile-section > *,
html body #homeDashboard .home-mobile-metric > * {
  position: relative !important;
  z-index: 1 !important;
}

html body #homeDashboard .home-web-primary,
html body #homeDashboard .home-web-secondary,
html body #homeDashboard .home-web-task,
html body #homeDashboard .home-web-other button,
html body #homeDashboard .home-web-quick button,
html body #homeDashboard .home-web-posts button,
html body #homeDashboard .home-web-weak-list button,
html body #homeDashboard .home-v2-card > button,
html body #homeDashboard .home-v2-link,
html body #homeDashboard .home-v2-stages button,
html body #homeDashboard .home-v2-task-list button,
html body #homeDashboard .home-v2-quick button,
html body #homeDashboard .home-v2-weak-list button,
html body #homeDashboard .home-mobile-primary,
html body #homeDashboard .home-mobile-task,
html body #homeDashboard .home-mobile-quick button {
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.26) !important;
  color: rgba(18, 22, 30, 0.92) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 30px -26px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.28) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}

html body #homeDashboard .home-web-primary,
html body #homeDashboard .home-mobile-primary,
html body #homeDashboard .home-v2-card > button:not(.home-v2-link):not([data-home-more]),
html body #homeDashboard .home-v2-plan .home-v2-head button {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(3, 5, 8, 0.9)),
    #050607 !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 38px -26px rgba(0, 0, 0, 0.74) !important;
}

html body #homeDashboard .home-web-task.active,
html body #homeDashboard .home-mobile-task.active,
html body #homeDashboard .home-v2-stages button.active,
html body #homeDashboard .home-v2-task-list button.active {
  border-color: rgba(255, 255, 255, 0.92) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 40px -30px rgba(15, 23, 42, 0.52) !important;
}

html body #homeDashboard .home-web-primary:hover,
html body #homeDashboard .home-web-secondary:hover,
html body #homeDashboard .home-web-task:hover,
html body #homeDashboard .home-web-other button:hover,
html body #homeDashboard .home-web-quick button:hover,
html body #homeDashboard .home-web-posts button:hover,
html body #homeDashboard .home-web-weak-list button:hover,
html body #homeDashboard .home-v2-card > button:hover,
html body #homeDashboard .home-v2-link:hover,
html body #homeDashboard .home-v2-stages button:hover,
html body #homeDashboard .home-v2-task-list button:hover,
html body #homeDashboard .home-v2-quick button:hover,
html body #homeDashboard .home-v2-weak-list button:hover,
html body #homeDashboard .home-mobile-primary:hover,
html body #homeDashboard .home-mobile-task:hover,
html body #homeDashboard .home-mobile-quick button:hover {
  transform: translateY(-2px) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.36) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 22px 44px -32px rgba(15, 23, 42, 0.54) !important;
}

html body #homeDashboard .home-web-primary:active,
html body #homeDashboard .home-web-task:active,
html body #homeDashboard .home-web-other button:active,
html body #homeDashboard .home-web-quick button:active,
html body #homeDashboard .home-v2-card > button:active,
html body #homeDashboard .home-v2-task-list button:active,
html body #homeDashboard .home-mobile-primary:active,
html body #homeDashboard .home-mobile-task:active,
html body #homeDashboard .home-mobile-quick button:active {
  transform: translateY(0) scale(0.985) !important;
}

html body #homeDashboard .home-v2-head button,
html body #homeDashboard .home-v2-head select,
html body #homeDashboard .home-v2-modal input,
html body #homeDashboard .home-v2-modal select,
html body #homeDashboard .home-forum-compose input,
html body #homeDashboard .home-web-thread-reply-box input {
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

html body #homeDashboard .home-v2-ring,
html body #homeDashboard .home-mobile-ring,
html body #homeDashboard .home-v2-gauge,
html body #homeDashboard .home-web-goal-main i,
html body #homeDashboard .home-web-task span,
html body #homeDashboard .home-web-other button span,
html body #homeDashboard .home-web-quick button span,
html body #homeDashboard .home-v2-quick button span,
html body #homeDashboard .home-mobile-task span,
html body #homeDashboard .home-mobile-quick button span {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 12px 26px -22px rgba(15, 23, 42, 0.42) !important;
}

html body #homeDashboard .home-web-chart,
html body #homeDashboard .home-v2-overview .home-v2-multi,
html body #homeDashboard .home-v2-line {
  filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.08)) !important;
}

html body #homeDashboard .home-v2-modal {
  backdrop-filter: blur(18px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.16) !important;
}

html body #homeDashboard .home-v2-modal > div {
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.42) !important;
  box-shadow: var(--home-glass-inner), 0 32px 90px -42px rgba(15, 23, 42, 0.68) !important;
  backdrop-filter: blur(34px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.3) !important;
}

/* Speaking score report: softer glass and fewer visible frames. */
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready {
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 163, 110, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 26px 70px -52px rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(32px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.28) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-mobile-head {
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 34px -30px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(24px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.24) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-mobile-head em {
  border: 1px solid rgba(7, 183, 127, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(236, 251, 244, 0.78), rgba(255, 255, 255, 0.42)),
    rgba(236, 251, 244, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 26px -24px rgba(0, 163, 110, 0.38) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-score-card {
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background:
    radial-gradient(circle at 86% 20%, rgba(0, 163, 110, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 20px 46px -38px rgba(15, 23, 42, 0.46) !important;
  backdrop-filter: blur(30px) saturate(1.32) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.32) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-total-ring {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.86) 57%, transparent 58%),
    conic-gradient(#00a36e 0deg var(--score), rgba(0, 163, 110, 0.15) var(--score) 360deg) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 36px -28px rgba(0, 163, 110, 0.42) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-metrics article {
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.26) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 32px -30px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
}

/* Home discussion/forum: glass cards, softer controls, fewer hard separators. */
html body #homeDashboard .home-web-forum,
html body #homeDashboard .home-thread-forum,
html body #homeDashboard .home-forum-card {
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 22px 58px -44px rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(34px) saturate(1.32) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.32) !important;
}

html body #homeDashboard .home-web-thread,
html body #homeDashboard .home-thread-forum .home-forum-post {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 34px -30px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
}

html body #homeDashboard .home-web-thread-list,
html body #homeDashboard .home-forum-list {
  gap: 12px !important;
}

html body #homeDashboard .home-web-thread:last-child,
html body #homeDashboard .home-thread-forum .home-forum-post:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.78) !important;
}

html body #homeDashboard .home-web-thread-avatar,
html body #homeDashboard .home-forum-avatar {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 30px -20px rgba(15, 23, 42, 0.5) !important;
}

html body #homeDashboard .home-forum-tabs,
html body #homeDashboard .home-v2-tabs {
  border-bottom: 0 !important;
}

html body #homeDashboard .home-forum-tabs button,
html body #homeDashboard .home-v2-tabs button,
html body #homeDashboard .home-web-thread-actions button,
html body #homeDashboard .home-forum-actions button,
html body #homeDashboard .forum-expand-replies,
html body #homeDashboard .home-web-thread-reply-box button,
html body #homeDashboard .home-forum-reply-box button,
html body #homeDashboard .home-web-compose button,
html body #homeDashboard .home-forum-compose button {
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.28) !important;
  color: rgba(28, 32, 40, 0.86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 12px 28px -24px rgba(15, 23, 42, 0.38) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
}

html body #homeDashboard .home-forum-tabs button.active,
html body #homeDashboard .home-v2-tabs button.active {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(24, 26, 31, 0.96), rgba(4, 6, 9, 0.9)),
    #050607 !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px -28px rgba(0, 0, 0, 0.68) !important;
}

html body #homeDashboard .home-web-thread-actions button,
html body #homeDashboard .home-forum-actions button {
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
}

html body #homeDashboard .home-web-thread-actions button.liked,
html body #homeDashboard .home-forum-actions button.liked {
  color: #007a55 !important;
  background:
    linear-gradient(135deg, rgba(236, 251, 244, 0.82), rgba(255, 255, 255, 0.36)),
    rgba(236, 251, 244, 0.36) !important;
}

html body #homeDashboard .home-web-thread-content mark,
html body #homeDashboard .forum-thread-content mark,
html body #homeDashboard .forum-thread-reply mark {
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  background:
    linear-gradient(135deg, rgba(224, 245, 255, 0.82), rgba(224, 245, 255, 0.38)),
    rgba(224, 245, 255, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

html body #homeDashboard .home-web-compose,
html body #homeDashboard .home-forum-compose,
html body #homeDashboard .home-web-thread-reply-box input,
html body #homeDashboard .home-forum-reply-box input {
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px -26px rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

html body #homeDashboard .mobile-tabbar {
  border: 1px solid rgba(255, 255, 255, 0.94) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.36) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px -30px rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(34px) saturate(1.38) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.38) !important;
}

/* Deep pronunciation analysis loading: calm glass waveform scanner. */
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v2 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-glass-loader {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  gap: 18px !important;
  min-height: 248px !important;
  padding: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(0, 163, 110, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 24px 58px -44px rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(34px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.28) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-glass-loader::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(300deg, transparent 62%, rgba(255, 255, 255, 0.22)) !important;
  pointer-events: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-head span {
  color: rgba(16, 20, 28, 0.92) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-head em {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(0, 163, 110, 0.18) !important;
  border-radius: 999px !important;
  color: #007a55 !important;
  background: rgba(236, 251, 244, 0.56) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-stage {
  position: relative !important;
  display: grid !important;
  align-items: center !important;
  min-height: 86px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-stage::before {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 50% !important;
  height: 1px !important;
  background: rgba(15, 23, 42, 0.08) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-line {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 18px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-line i {
  width: 3px !important;
  height: calc(10px + (var(--i) % 7) * 5px) !important;
  border-radius: 999px !important;
  background: rgba(21, 27, 35, 0.28) !important;
  transform-origin: center !important;
  animation: analysisWave 1.35s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * 0.035s) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-line i:nth-child(4n + 1),
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-line i:nth-child(4n + 2) {
  background: rgba(0, 163, 110, 0.62) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-scan-line {
  position: absolute !important;
  z-index: 2 !important;
  top: 12px !important;
  bottom: 12px !important;
  left: 12% !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, transparent, rgba(0, 163, 110, 0.78), transparent) !important;
  box-shadow: 0 0 22px rgba(0, 163, 110, 0.42) !important;
  animation: analysisScan 2.15s ease-in-out infinite !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-wave-shadow {
  position: absolute !important;
  inset: auto 18% 10px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: rgba(0, 163, 110, 0.08) !important;
  filter: blur(14px) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-glass-loader h3 {
  margin: 0 !important;
  color: rgba(14, 17, 22, 0.94) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 950 !important;
  line-height: 1.16 !important;
  text-align: center !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-glass-loader p {
  max-width: 420px !important;
  margin: -8px auto 0 !important;
  color: rgba(75, 84, 100, 0.76) !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.74) !important;
  border-radius: 999px !important;
  color: rgba(75, 84, 100, 0.72) !important;
  background: rgba(255, 255, 255, 0.28) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps i {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(75, 84, 100, 0.28) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps .done i,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps .active i {
  background: #00a36e !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps .active {
  color: #007a55 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps .active i {
  animation: analysisPulse 1.15s ease-in-out infinite !important;
}

@keyframes analysisWave {
  0%, 100% { transform: scaleY(0.58); opacity: 0.55; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

@keyframes analysisScan {
  0%, 100% { left: 10%; opacity: 0.35; }
  50% { left: calc(90% - 2px); opacity: 1; }
}

@keyframes analysisPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 163, 110, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(0, 163, 110, 0.08); }
}

@media (max-width: 760px) {
  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .analysis-loader-steps {
    grid-template-columns: 1fr !important;
  }
}

html body.view-dashboard .sidebar,
html body.view-dashboard .topbar,
html body.view-dashboard .mobile-tabbar {
  border-color: rgba(255, 255, 255, 0.78) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 24px 70px -48px rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(28px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.28) !important;
}

html body.view-dashboard .sidebar-user-card,
html body.view-dashboard .ghost-btn,
html body.view-dashboard .primary-btn,
html body.view-dashboard .nav-link,
html body #homeDashboard button:not([class]),
html body #homeDashboard input:not(.home-v2-modal input) {
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px -26px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
}

html body.view-dashboard .nav-link.active,
html body.view-dashboard .primary-btn {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(24, 26, 31, 0.96), rgba(4, 6, 9, 0.9)),
    #050607 !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px -26px rgba(0, 0, 0, 0.72) !important;
}

@media (max-width: 760px) {
  html body.view-dashboard,
  html body.view-dashboard {
    background: #f7f8fa !important;
  }

  html body #homeDashboard .home-v2,
  html body #homeDashboard .home-v2-mobile-trial {
    background: transparent !important;
  }

  html body #homeDashboard .home-mobile-hero,
  html body #homeDashboard .home-mobile-section,
  html body #homeDashboard .home-mobile-metric {
    border: 1px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 22px !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.36) 48%, rgba(255, 255, 255, 0.2) 100%),
      rgba(255, 255, 255, 0.34) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 0 rgba(15, 23, 42, 0.06),
      inset 0 0 0 1px rgba(255, 255, 255, 0.52),
      0 18px 46px -34px rgba(15, 23, 42, 0.62),
      0 2px 10px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: blur(38px) saturate(1.42) contrast(1.05) !important;
    -webkit-backdrop-filter: blur(38px) saturate(1.42) contrast(1.05) !important;
  }

  html body #homeDashboard .home-mobile-hero {
    position: relative !important;
    display: block !important;
    min-height: 268px !important;
    overflow: hidden !important;
    padding: 56px clamp(18px, 5vw, 24px) 20px !important;
  }

  html body #homeDashboard .home-mobile-hero h2 {
    max-width: 100% !important;
    font-size: 29px !important;
    line-height: 1.28 !important;
  }

  html body #homeDashboard .home-mobile-hero p {
    max-width: 100% !important;
    margin: 6px 0 0 !important;
    line-height: 1.35 !important;
  }

  html body #homeDashboard .home-mobile-ring {
    position: absolute !important;
    right: 40px !important;
    bottom: 16px !important;
    left: auto !important;
    top: auto !important;
    width: 72px !important;
    height: 72px !important;
    z-index: 2 !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 16px 28px -22px rgba(15, 23, 42, 0.55) !important;
  }

  html body #homeDashboard .home-mobile-hero::before,
  html body #homeDashboard .home-mobile-section::before,
  html body #homeDashboard .home-mobile-metric::before {
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.78), transparent 36%),
      linear-gradient(300deg, transparent 56%, rgba(255, 255, 255, 0.28)) !important;
    opacity: 0.95 !important;
  }

  html body #homeDashboard .home-mobile-primary,
  html body #homeDashboard .home-mobile-task,
  html body #homeDashboard .home-mobile-quick button {
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    min-height: 48px !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.34)),
      rgba(255, 255, 255, 0.34) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 0 rgba(15, 23, 42, 0.05),
      0 14px 34px -28px rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(28px) saturate(1.36) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.36) !important;
  }

  html body #homeDashboard .home-mobile-primary {
    position: absolute !important;
    left: 20px !important;
    bottom: 20px !important;
    width: clamp(148px, 46%, 184px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 0 14px !important;
    z-index: 2 !important;
  }

  html body #homeDashboard .home-mobile-primary {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background:
      linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(3, 5, 8, 0.92)),
      #050607 !important;
  }

  html body.view-dashboard .mobile-tabbar {
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
      rgba(255, 255, 255, 0.36) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 0 rgba(15, 23, 42, 0.05),
      0 18px 42px -30px rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(34px) saturate(1.38) !important;
    -webkit-backdrop-filter: blur(34px) saturate(1.38) !important;
  }
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) {
  gap: 12px !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(248, 252, 250, 0.52)),
    rgba(255, 255, 255, 0.44) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 20px 48px -38px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(26px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.2) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-head {
  padding-bottom: 4px !important;
  border-bottom: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > p {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #56606f !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-reason {
  gap: 6px !important;
  padding: 10px 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-reason em {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #263241 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-reason span::before,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > div > span::before {
  display: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > div:not(.speech-ai-summary-head):not(.speech-ai-summary-reason):not(.speech-ai-phoneme-focus) {
  gap: 8px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > div:not(.speech-ai-summary-head):not(.speech-ai-summary-reason):not(.speech-ai-phoneme-focus) b {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus {
  gap: 10px !important;
  padding-top: 2px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article {
  gap: 10px !important;
  padding: 14px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article strong,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article em {
  margin-right: 8px !important;
  vertical-align: middle !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article small {
  display: block !important;
  margin-top: 2px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p {
  padding: 0 !important;
  border-left: 0 !important;
  color: #182231 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p b {
  display: inline !important;
  margin-right: 4px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article ul {
  gap: 6px !important;
  margin-top: 2px !important;
  padding: 12px 14px 12px 30px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(247, 248, 250, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > strong {
  padding: 10px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-tools {
  display: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-card.active-question {
  gap: 24px !important;
  padding: clamp(24px, 3vw, 36px) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 210, 92, 0.14), transparent 34%),
    radial-gradient(circle at 12% 12%, rgba(0, 163, 110, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 252, 0.5)),
    rgba(255, 255, 255, 0.46) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 60px -44px rgba(15, 23, 42, 0.46) !important;
  backdrop-filter: blur(28px) saturate(1.26) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.26) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-meta {
  display: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-title-line {
  align-items: center !important;
  gap: 16px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-title-line h3 {
  margin: 0 !important;
  color: #050607 !important;
  font-size: clamp(30px, 3.2vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .active-question-code {
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(24, 26, 31, 0.98), rgba(4, 6, 9, 0.92)),
    #050607 !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 30px -24px rgba(0, 0, 0, 0.72) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] #questionText {
  margin: -4px 0 0 !important;
  min-height: 52px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] #questionText .ghost-btn {
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  color: rgba(18, 22, 30, 0.82) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt {
  display: grid !important;
  grid-template-columns: 58px minmax(120px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 86px !important;
  margin: 4px 0 0 !important;
  padding: 14px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px -34px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.24) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-play-button {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 999px !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(22, 24, 29, 0.98), rgba(3, 5, 8, 0.92)),
    #050607 !important;
  color: transparent !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 32px -24px rgba(0, 0, 0, 0.7) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-track {
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(226, 230, 237, 0.72) !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-track span {
  height: 100% !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, #00a36e, #40d39d) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] #audioPromptStatus {
  color: rgba(65, 70, 80, 0.78) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] + .answer-workspace,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .answer-workspace {
  border-color: rgba(255, 255, 255, 0.86) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(24px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.22) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .practice-navigator {
  padding: 16px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 42px -34px rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(24px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.22) !important;
}

@media (max-width: 760px) {
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-card.active-question {
    gap: 18px !important;
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-title-line {
    gap: 10px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-title-line h3 {
    font-size: 30px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt {
    grid-template-columns: 52px 1fr !important;
    gap: 14px !important;
    padding: 12px 14px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-play-button {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] #audioPromptStatus {
    grid-column: 1 / -1 !important;
    white-space: normal !important;
    font-size: 14px !important;
  }
}

/* Final deep pronunciation loading redesign: light glass, calm motion, no heavy gold. */
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-card {
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: 18px !important;
  width: min(560px, 100%) !important;
  margin: 0 auto !important;
  padding: clamp(18px, 3vw, 28px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4)),
    rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 28px 70px -52px rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(30px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.24) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-card * {
  box-sizing: border-box !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: -1 !important;
  border-radius: 27px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 146, 104, 0.08), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.68), transparent 42%) !important;
  pointer-events: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-topline {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-topline span {
  color: rgba(17, 19, 24, 0.86) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-topline em {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.48) !important;
  color: rgba(64, 74, 88, 0.72) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 760 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-stage {
  display: grid !important;
  justify-items: center !important;
  gap: 16px !important;
  padding: 4px 0 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-chip {
  position: relative !important;
  display: grid !important;
  width: 92px !important;
  height: 92px !important;
  place-items: center !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(31, 34, 40, 0.96), rgba(17, 19, 24, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 36px -26px rgba(17, 19, 24, 0.72) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-chip::before {
  content: "" !important;
  position: absolute !important;
  inset: -12px !important;
  border: 1px solid rgba(0, 146, 104, 0.16) !important;
  border-radius: 34px !important;
  animation: analysisChipPulse 1.8s ease-in-out infinite !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-chip span {
  position: absolute !important;
  inset: -26px !important;
  border-radius: 42px !important;
  background: radial-gradient(circle at center, rgba(0, 146, 104, 0.1), transparent 66%) !important;
  filter: blur(2px) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-chip strong {
  position: relative !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-spectrum {
  position: relative !important;
  display: flex !important;
  width: min(340px, 90%) !important;
  height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  overflow: hidden !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-spectrum b {
  width: 5px !important;
  height: var(--h, 18px) !important;
  border-radius: 999px !important;
  background: rgba(17, 19, 24, 0.28) !important;
  transform-origin: center !important;
  animation: analysisSpectrum 1.4s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * 0.045s) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-spectrum b:nth-child(4n + 1),
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-spectrum b:nth-child(4n + 2) {
  background: rgba(0, 146, 104, 0.62) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-spectrum i {
  position: absolute !important;
  top: 8px !important;
  bottom: 8px !important;
  left: 8% !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, transparent, rgba(0, 146, 104, 0.74), transparent) !important;
  box-shadow: 0 0 18px rgba(0, 146, 104, 0.28) !important;
  animation: analysisScanner 2.4s ease-in-out infinite !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-copy {
  display: grid !important;
  gap: 8px !important;
  text-align: center !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-copy h3,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 h3 {
  margin: 0 !important;
  color: rgba(17, 19, 24, 0.94) !important;
  font-size: clamp(22px, 2.5vw, 28px) !important;
  font-weight: 820 !important;
  line-height: 1.18 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-copy p,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 p {
  max-width: 25em !important;
  margin: 0 auto !important;
  color: rgba(75, 84, 100, 0.72) !important;
  font-size: 14px !important;
  font-weight: 620 !important;
  line-height: 1.58 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-progress {
  height: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.44) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-progress span {
  display: block !important;
  width: 62% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, rgba(17, 19, 24, 0.82), rgba(0, 146, 104, 0.78)) !important;
  animation: analysisProgress 2s ease-in-out infinite !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills span {
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.36) !important;
  color: rgba(75, 84, 100, 0.76) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills .done,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills .active {
  color: rgba(0, 118, 84, 0.92) !important;
  background: rgba(237, 252, 246, 0.58) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills .active {
  box-shadow: 0 0 0 4px rgba(0, 146, 104, 0.06) !important;
}

@keyframes analysisSpectrum {
  0%, 100% { transform: scaleY(0.66); opacity: 0.58; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

@keyframes analysisScanner {
  0%, 100% { left: 8%; opacity: 0.28; }
  50% { left: calc(92% - 2px); opacity: 0.95; }
}

@keyframes analysisProgress {
  0%, 100% { width: 56%; filter: saturate(1); }
  50% { width: 78%; filter: saturate(1.18); }
}

@keyframes analysisChipPulse {
  0%, 100% { opacity: 0.42; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

@media (max-width: 760px) {
  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-glass-card {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-core-chip {
    width: 78px !important;
    height: 78px !important;
    border-radius: 24px !important;
  }

  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 .analysis-status-pills {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 *,
  html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-analysis-loading-v3 *::before {
    animation: none !important;
  }
}

/* Question finder shell: remove the white slab behind search and filters. */
html body #practice.practice-detail-mode .stage-practice .question-finder,
html body #practice .stage-practice .question-finder {
  display: grid !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder::before,
html body #practice.practice-detail-mode .stage-practice .question-finder::after,
html body #practice .stage-practice .question-finder::before,
html body #practice .stage-practice .question-finder::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder .question-list-tools,
html body #practice .stage-practice .question-finder .question-list-tools {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder .search-field,
html body #practice .stage-practice .question-finder .search-field {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.64), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(239, 251, 250, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 14px 34px -28px rgba(15, 23, 42, 0.34) !important;
}

/* Home mobile surface continuity: remove the partial blue panel behind cards. */
html body #dashboard.active-view,
html body #homeDashboard,
html body #homeDashboard .home-v2,
html body #homeDashboard .home-v2-mobile-trial {
  background: transparent !important;
}

html body.view-dashboard,
html body.view-dashboard {
  background: #f7f8fa !important;
}

html body #homeDashboard .home-v2-mobile-trial {
  box-shadow: none !important;
  border: 0 !important;
}

html body #homeDashboard .home-mobile-hero,
html body #homeDashboard .home-mobile-section,
html body #homeDashboard .home-mobile-metric {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(250, 252, 253, 0.24)),
    rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 22px 58px -42px rgba(15, 23, 42, 0.44) !important;
}

/* Practice category rail: soften nested outlines in the type-category card. */
html body #practice:not(.practice-detail-mode) .practice-side-card {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(250, 252, 253, 0.14)),
    rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 24px 58px -44px rgba(15, 23, 42, 0.46) !important;
  backdrop-filter: blur(26px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.2) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list {
  gap: 10px !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(246, 250, 252, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 12px 30px -26px rgba(15, 23, 42, 0.34) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button span {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(247, 250, 252, 0.08)),
    rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 8px 18px -16px rgba(15, 23, 42, 0.22) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button em {
  color: rgba(93, 99, 111, 0.86) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(247, 250, 252, 0.08)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.5), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(247, 250, 252, 0.12)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 16px 36px -28px rgba(15, 23, 42, 0.38) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button.active,
html body #practice:not(.practice-detail-mode) .practice-category-list button.active:hover {
  border-color: rgba(0, 0, 0, 0.04) !important;
  background:
    linear-gradient(180deg, rgba(40, 40, 44, 0.98), rgba(12, 12, 14, 0.94)),
    rgba(18, 18, 21, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 38px -28px rgba(0, 0, 0, 0.5) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button.active span,
html body #practice:not(.practice-detail-mode) .practice-category-list button.active:hover span {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 20px -18px rgba(0, 0, 0, 0.42) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button.active em,
html body #practice:not(.practice-detail-mode) .practice-category-list button.active:hover em {
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* Deep correction report: remove remaining visual rails and nested frames. */
html body #practice.practice-detail-mode .feedback-resizer {
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.18 !important;
}

html body #practice.practice-detail-mode .feedback-resizer::before,
html body #practice.practice-detail-mode .feedback-resizer::after,
html body #practice.practice-detail-mode .feedback-panel::before,
html body #practice.practice-detail-mode .feedback-panel::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready {
  border: 0 !important;
  outline: 0 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(250, 252, 255, 0.34)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 24px 60px -48px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) {
  padding: 18px 20px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.26) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 42px -38px rgba(15, 23, 42, 0.28) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-head {
  padding: 0 !important;
  border: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > p,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) .speech-ai-summary-reason,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > div:not(.speech-ai-summary-head):not(.speech-ai-summary-reason):not(.speech-ai-phoneme-focus),
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-summary-card:not(:has(.speech-ai-loading-inline)) > strong {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article {
  padding: 12px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article + article {
  margin-top: 12px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article small {
  padding-bottom: 0 !important;
  border: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p {
  padding-left: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p::before,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p::after,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p b::before,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p b::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article p b {
  color: #007a55 !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-ai-phoneme-focus article ul {
  margin-top: 8px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.78), rgba(255, 255, 255, 0.34)) !important;
  box-shadow: none !important;
}

/* Practice workbench: soften the remaining column and card borders. */
html body #practice.practice-detail-mode .stage-practice .practice-workbench {
  gap: 10px !important;
}

html body #practice.practice-detail-mode .stage-practice .practice-resizer,
html body #practice.practice-detail-mode .stage-practice .practice-resizer::before,
html body #practice.practice-detail-mode .stage-practice .practice-resizer::after {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .practice-resizer {
  opacity: 0.16 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice.practice-detail-mode .stage-practice .answer-stage {
  border: 0 !important;
  outline: 0 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 54px -46px rgba(15, 23, 42, 0.36) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser::before,
html body #practice.practice-detail-mode .stage-practice .question-browser::after,
html body #practice.practice-detail-mode .stage-practice .answer-stage::before,
html body #practice.practice-detail-mode .stage-practice .answer-stage::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .question-browser-head,
html body #practice.practice-detail-mode .question-list-tools,
html body #practice.practice-detail-mode .question-list-toolbar {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .question-list .question-list-item,
html body #practice.practice-detail-mode .question-list button,
html body #practice.practice-detail-mode .compact-question-row,
html body #practice.practice-detail-mode .virtual-question-list-window .compact-question-row {
  border: 0 !important;
  outline: 0 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 36px -32px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-card.active-question,
html body #practice.practice-detail-mode .stage-practice .active-question,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
  border: 0 !important;
  outline: 0 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.56) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 24px 58px -46px rgba(15, 23, 42, 0.42) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-tools,
html body #practice.practice-detail-mode .stage-practice .question-tools[hidden] {
  display: none !important;
}

/* Practice workbench density: reduce wasted whitespace between cards and inside the RA card. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode {
    padding-top: 10px !important;
  }

  html body #practice.practice-detail-mode .practice-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(156px, clamp(156px, var(--practice-list-width, 204px), 232px))
      6px
      minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-browser {
    padding: 10px !important;
    border-radius: 22px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-list {
    margin-top: 4px !important;
  }

  html body #practice.practice-detail-mode .question-list .question-list-item,
  html body #practice.practice-detail-mode .question-list button,
  html body #practice.practice-detail-mode .compact-question-row,
  html body #practice.practice-detail-mode .virtual-question-list-window .compact-question-row {
    min-height: 78px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .answer-stage {
    padding: 0 !important;
    border-radius: 24px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question,
  html body #practice.practice-detail-mode .stage-practice .active-question,
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
    gap: 16px !important;
    padding: clamp(20px, 2.1vw, 30px) clamp(24px, 2.5vw, 36px) 20px !important;
    border-radius: 24px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-title-line {
    gap: 12px !important;
    margin-bottom: 4px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .active-question-code {
    min-height: 42px !important;
    padding: 0 16px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .active-question .question-title-line h3,
  html body #practice.practice-detail-mode .stage-practice .question-card.active-question .question-title-line h3 {
    font-size: clamp(24px, 2.1vw, 34px) !important;
    line-height: 1.16 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .ra-mode-toggle,
  html body #practice.practice-detail-mode .stage-practice .segmented-control {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question #questionText,
  html body #practice.practice-detail-mode .stage-practice .active-question #questionText {
    margin-top: 4px !important;
    font-size: clamp(21px, 1.85vw, 30px) !important;
    line-height: 1.62 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question #questionText .ra-text-line,
  html body #practice.practice-detail-mode .stage-practice .active-question #questionText .ra-text-line {
    line-height: 1.62 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .audio-prompt {
    margin-top: 8px !important;
  }

  html body #practice.practice-detail-mode .practice-navigator {
    margin-top: 8px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  html body #practice.practice-detail-mode .practice-navigator button {
    min-height: 44px !important;
    padding: 0 18px !important;
  }

  html body #practice.practice-detail-mode .feedback-panel {
    border-radius: 22px !important;
  }
}

/* Keep split handles easy to drag while remaining visually quiet. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(156px, clamp(156px, var(--practice-list-width, 204px), 232px))
      16px
      minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer,
  html body #practice.practice-detail-mode .feedback-resizer {
    display: block !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    cursor: col-resize !important;
    touch-action: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer::after,
  html body #practice.practice-detail-mode .feedback-resizer::after {
    display: block !important;
    content: "" !important;
    width: 3px !important;
    height: 54px !important;
    margin: calc(50vh - 96px) auto 0 !important;
    border-radius: 999px !important;
    background: rgba(120, 132, 150, 0.16) !important;
    box-shadow: none !important;
    opacity: 0 !important;
    transition: opacity 140ms ease, background 140ms ease !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer:hover::after,
  html body #practice.practice-detail-mode .stage-practice .practice-resizer.is-dragging::after,
  html body #practice.practice-detail-mode .feedback-resizer:hover::after,
  html body #practice.practice-detail-mode .feedback-resizer.is-dragging::after {
    opacity: 1 !important;
    background: rgba(0, 163, 110, 0.32) !important;
  }
}

/* Audio prompt player: glass surface with draggable progress and time labels. */
html body #practice.practice-detail-mode .stage-practice .audio-prompt:not(:empty) {
  display: grid !important;
  grid-template-columns: 54px auto minmax(160px, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 70px !important;
  margin-top: 10px !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 42px -34px rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(26px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.24) !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt #audioPromptStatus,
html body #practice.practice-detail-mode .stage-practice .audio-prompt #audioPromptStatus.is-hidden {
  display: none !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-time {
  min-width: 42px !important;
  color: rgba(31, 41, 55, 0.68) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-play-button {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track {
  position: relative !important;
  height: 12px !important;
  min-width: 120px !important;
  border: 0 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  overflow: visible !important;
  background: rgba(130, 139, 154, 0.18) !important;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.54) !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track span {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--audio-prompt-progress, 0%) !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #050607, #3a3d44) !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track i {
  position: absolute !important;
  top: 50% !important;
  left: var(--audio-prompt-progress, 0%) !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 8px 20px -12px rgba(15, 23, 42, 0.75),
    0 0 0 5px rgba(255, 255, 255, 0.38) !important;
  transform: translate(-50%, -50%) !important;
}

html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track:focus-visible {
  outline: 3px solid rgba(0, 163, 110, 0.22) !important;
  outline-offset: 5px !important;
}

@media (max-width: 760px) {
  html body #practice.practice-detail-mode .stage-practice .audio-prompt {
    grid-template-columns: 50px auto minmax(0, 1fr) auto !important;
    gap: 9px !important;
    padding: 10px 12px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-time {
    min-width: 36px !important;
    font-size: 12px !important;
  }
}

/* Hard compact pass: smaller type, tighter cards, draggable splitters restored. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode {
    padding-top: 6px !important;
  }

  html body #practice.practice-detail-mode .practice-dashboard-layout {
    gap: 6px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(140px, clamp(140px, var(--practice-list-width, 188px), 220px))
      24px
      minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer,
  html body #practice.practice-detail-mode .feedback-resizer {
    position: relative !important;
    z-index: 20 !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    margin: 0 -4px !important;
    pointer-events: auto !important;
    touch-action: none !important;
    cursor: col-resize !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-browser {
    padding: 8px !important;
    border-radius: 18px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-list {
    margin-top: 2px !important;
  }

  html body #practice.practice-detail-mode .question-list .question-list-item,
  html body #practice.practice-detail-mode .question-list button,
  html body #practice.practice-detail-mode .compact-question-row,
  html body #practice.practice-detail-mode .virtual-question-list-window .compact-question-row {
    min-height: 68px !important;
    padding: 8px 10px !important;
    border-radius: 15px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question,
  html body #practice.practice-detail-mode .stage-practice .active-question,
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
    gap: 10px !important;
    padding: 16px 20px 16px !important;
    border-radius: 20px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-title-line {
    gap: 10px !important;
    margin: 0 0 2px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .active-question-code {
    min-height: 36px !important;
    padding: 0 13px !important;
    font-size: 14px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .active-question .question-title-line h3,
  html body #practice.practice-detail-mode .stage-practice .question-card.active-question .question-title-line h3,
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .question-title-line h3 {
    font-size: clamp(20px, 1.55vw, 28px) !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .ra-mode-toggle,
  html body #practice.practice-detail-mode .stage-practice .segmented-control {
    margin-top: 2px !important;
    margin-bottom: 4px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question #questionText,
  html body #practice.practice-detail-mode .stage-practice .active-question #questionText,
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] #questionText {
    margin-top: 2px !important;
    font-size: clamp(17px, 1.36vw, 23px) !important;
    line-height: 1.52 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-card.active-question #questionText .ra-text-line,
  html body #practice.practice-detail-mode .stage-practice .active-question #questionText .ra-text-line {
    line-height: 1.52 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .audio-prompt {
    min-height: 58px !important;
    margin-top: 6px !important;
    padding: 8px 12px !important;
    border-radius: 16px !important;
  }

  html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-play-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  html body #practice.practice-detail-mode .practice-navigator {
    margin-top: 6px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  html body #practice.practice-detail-mode .practice-navigator button {
    min-height: 40px !important;
    padding: 0 15px !important;
    font-size: 15px !important;
  }
}

/* Final splitter hit-area fix: the visible line stays quiet, the whole gutter drags. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .practice-dashboard-layout,
  html body #practice.practice-detail-mode .stage-practice .practice-workbench {
    overflow: visible !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer,
  html body #practice.practice-detail-mode .feedback-resizer {
    display: block !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 260px !important;
    height: auto !important;
    margin: 0 -7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.001) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: none !important;
    user-select: none !important;
    cursor: ew-resize !important;
    z-index: 1000 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer::before,
  html body #practice.practice-detail-mode .feedback-resizer::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 -8px !important;
    display: block !important;
    background: rgba(255, 255, 255, 0.001) !important;
    pointer-events: none !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer::after,
  html body #practice.practice-detail-mode .feedback-resizer::after {
    content: "" !important;
    position: sticky !important;
    top: 42vh !important;
    display: block !important;
    width: 3px !important;
    height: 56px !important;
    margin: 42vh auto 0 !important;
    border-radius: 999px !important;
    background: rgba(120, 132, 150, 0.14) !important;
    opacity: 0 !important;
    transition: opacity 140ms ease, background 140ms ease !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer:hover::after,
  html body #practice.practice-detail-mode .stage-practice .practice-resizer.is-dragging::after,
  html body #practice.practice-detail-mode .feedback-resizer:hover::after,
  html body #practice.practice-detail-mode .feedback-resizer.is-dragging::after {
    opacity: 1 !important;
    background: rgba(0, 163, 110, 0.36) !important;
  }
}

/* Splitters must work even when the detail-mode class is not present yet. */
@media (min-width: 761px) {
  html body #practice .practice-dashboard-layout,
  html body #practice .stage-practice .practice-workbench {
    overflow: visible !important;
  }

  html body #practice .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(140px, clamp(140px, var(--practice-list-width, 188px), 220px))
      30px
      minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html body #practice .stage-practice .practice-resizer,
  html body #practice .feedback-resizer {
    display: block !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 260px !important;
    height: auto !important;
    margin: 0 -7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.001) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: none !important;
    user-select: none !important;
    cursor: ew-resize !important;
    z-index: 1000 !important;
  }

  html body #practice .stage-practice .practice-resizer::before,
  html body #practice .feedback-resizer::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 -8px !important;
    display: block !important;
    background: rgba(255, 255, 255, 0.001) !important;
    pointer-events: none !important;
  }

  html body #practice .stage-practice .practice-resizer::after,
  html body #practice .feedback-resizer::after {
    content: "" !important;
    position: sticky !important;
    top: 42vh !important;
    display: block !important;
    width: 3px !important;
    height: 56px !important;
    margin: 42vh auto 0 !important;
    border-radius: 999px !important;
    background: rgba(120, 132, 150, 0.14) !important;
    opacity: 0 !important;
    transition: opacity 140ms ease, background 140ms ease !important;
  }

  html body #practice .stage-practice .practice-resizer:hover::after,
  html body #practice .stage-practice .practice-resizer.is-dragging::after,
  html body #practice .feedback-resizer:hover::after,
  html body #practice .feedback-resizer.is-dragging::after {
    opacity: 1 !important;
    background: rgba(0, 163, 110, 0.36) !important;
  }
}

/* Desktop practice detail density: restore a calmer, less oversized proportion. */
@media (min-width: 761px) {
  html body #practice .practice-dashboard-layout {
    gap: 4px !important;
  }

  html body #practice .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(136px, clamp(136px, var(--practice-list-width, 176px), 216px))
      30px
      minmax(0, 1fr) !important;
  }

  html body #practice .stage-practice .question-browser {
    padding: 6px !important;
  }

  html body #practice .question-list .question-list-item,
  html body #practice .question-list button,
  html body #practice .compact-question-row,
  html body #practice .virtual-question-list-window .compact-question-row {
    min-height: 58px !important;
    padding: 7px 9px !important;
  }

  html body #practice .stage-practice .question-card.active-question,
  html body #practice .stage-practice .active-question,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
    gap: 8px !important;
    padding: 14px 18px !important;
    border-radius: 18px !important;
  }

  html body #practice .stage-practice .active-question-code {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  html body #practice .stage-practice .active-question .question-title-line h3,
  html body #practice .stage-practice .question-card.active-question .question-title-line h3,
  html body #practice .practice-panel.stage-practice[data-active-type="RS"] .question-title-line h3 {
    font-size: clamp(18px, 1.24vw, 24px) !important;
    line-height: 1.16 !important;
  }

  html body #practice .stage-practice .question-card.active-question #questionText,
  html body #practice .stage-practice .active-question #questionText,
  html body #practice .practice-panel.stage-practice[data-active-type="RS"] #questionText {
    margin-top: 0 !important;
    font-size: clamp(16px, 1.08vw, 20px) !important;
    line-height: 1.45 !important;
  }

  html body #practice .stage-practice .question-card.active-question #questionText .ra-text-line,
  html body #practice .stage-practice .active-question #questionText .ra-text-line {
    line-height: 1.45 !important;
  }

  html body #practice .stage-practice .audio-prompt {
    min-height: 54px !important;
    margin-top: 4px !important;
    padding: 7px 11px !important;
  }

  html body #practice .practice-navigator {
    margin-top: 4px !important;
    padding: 7px 9px !important;
    gap: 7px !important;
  }

  html body #practice .practice-navigator button {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }
}

/* Audio progress should be draggable across the whole visible rail. */
html body #practice .stage-practice .audio-prompt .audio-track {
  height: 18px !important;
  min-height: 18px !important;
  cursor: ew-resize !important;
  touch-action: none !important;
  user-select: none !important;
}

html body #practice .stage-practice .audio-prompt .audio-track::before {
  content: "" !important;
  position: absolute !important;
  inset: -12px 0 !important;
  display: block !important;
  background: rgba(255, 255, 255, 0.001) !important;
}

/* RA bottom demo progress: keep the real range input on top and draggable. */
html body #practice .stage-practice .ra-demo-player #raDemoProgress,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player #raDemoProgress {
  position: relative !important;
  z-index: 30 !important;
  display: block !important;
  height: 22px !important;
  min-height: 22px !important;
  pointer-events: auto !important;
  touch-action: none !important;
  user-select: none !important;
  cursor: ew-resize !important;
}

html body #practice .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-thumb,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-thumb {
  pointer-events: auto !important;
}

/* Final RA demo range binding: every visible layer follows --demo-progress. */
html body #practice .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress,
html body #practice .stage-practice .ra-demo-player #raDemoProgress,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player #raDemoProgress {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: linear-gradient(90deg, #050607 0 var(--demo-progress, 0%), #d7d9dd var(--demo-progress, 0%) 100%) !important;
}

html body #practice .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress::-webkit-slider-runnable-track,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress::-webkit-slider-runnable-track,
html body #practice .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-runnable-track,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-runnable-track {
  height: 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #050607 0 var(--demo-progress, 0%), #d7d9dd var(--demo-progress, 0%) 100%) !important;
}

html body #practice .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress::-webkit-slider-thumb,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player:not(.is-hidden) #raDemoProgress::-webkit-slider-thumb,
html body #practice .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-thumb,
html body #practice.practice-detail-mode .stage-practice .ra-demo-player #raDemoProgress::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: -3px !important;
  border: 3px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 999px !important;
  background: #050607 !important;
  box-shadow: 0 7px 18px -10px rgba(0, 0, 0, 0.8) !important;
}

/* Final question-card audio bar: this is the black button + grey rail in the RA card. */
html body #practice .stage-practice .audio-prompt,
html body #practice.practice-detail-mode .stage-practice .audio-prompt {
  pointer-events: auto !important;
}

html body #practice .stage-practice .audio-prompt .audio-track,
html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track {
  position: relative !important;
  height: 18px !important;
  min-height: 18px !important;
  overflow: visible !important;
  cursor: ew-resize !important;
  touch-action: none !important;
  pointer-events: auto !important;
  background: rgba(209, 213, 219, 0.92) !important;
}

html body #practice .stage-practice .audio-prompt .audio-track span,
html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track span {
  display: block !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--audio-prompt-progress, 0%) !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #050607 !important;
  pointer-events: none !important;
}

html body #practice .stage-practice .audio-prompt .audio-track i,
html body #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track i {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: var(--audio-prompt-progress, 0%) !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: #050607 !important;
  box-shadow: 0 0 0 4px #fff, 0 8px 18px -10px rgba(0, 0, 0, 0.8) !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

/* Final three-column splitter contract: the CSS variables must actually resize columns. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .practice-dashboard-layout {
    grid-template-columns:
      minmax(420px, 1fr)
      14px
      minmax(260px, clamp(260px, var(--practice-feedback-width, 372px), 680px)) !important;
    gap: 0 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-workbench,
  html body #practice .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(132px, clamp(132px, var(--practice-list-width, 220px), 520px))
      14px
      minmax(260px, 1fr) !important;
    gap: 0 !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer,
  html body #practice.practice-detail-mode .feedback-resizer,
  html body #practice .stage-practice .practice-resizer,
  html body #practice .feedback-resizer {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    margin: 0 !important;
    cursor: ew-resize !important;
    pointer-events: auto !important;
    touch-action: none !important;
    z-index: 3000 !important;
  }
}

/* Final visual trim: narrow the three-column gutters while keeping boundary drag. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .practice-dashboard-layout {
    grid-template-columns:
      minmax(420px, 1fr)
      14px
      minmax(260px, clamp(260px, var(--practice-feedback-width, 372px), 680px)) !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-workbench,
  html body #practice .stage-practice .practice-workbench {
    grid-template-columns:
      minmax(132px, clamp(132px, var(--practice-list-width, 220px), 520px))
      14px
      minmax(260px, 1fr) !important;
  }

  html body #practice.practice-detail-mode .stage-practice .practice-resizer,
  html body #practice.practice-detail-mode .feedback-resizer,
  html body #practice .stage-practice .practice-resizer,
  html body #practice .feedback-resizer {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    margin: 0 !important;
  }
}

/* Narrow desktop RA card: keep the passage and player in normal flow. */
@media (min-width: 761px) and (max-width: 1500px) {
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: clamp(8px, 0.8vw, 12px) !important;
    padding: clamp(16px, 1.4vw, 22px) clamp(18px, 1.7vw, 26px) !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #questionText,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #questionText {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    margin: clamp(8px, 1vw, 14px) 0 4px !important;
    font-size: clamp(18px, 1.18vw, 22px) !important;
    line-height: 1.42 !important;
    letter-spacing: 0 !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #questionText .ra-text-line,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #questionText .ra-text-line {
    line-height: 1.42 !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .audio-prompt,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .audio-prompt {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden) {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 36px !important;
    height: auto !important;
    padding: 0 !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .audio-prompt,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .audio-prompt {
    min-height: 46px !important;
    padding: 6px 10px !important;
  }
}

/* Compact RA demo player: shorter rail, visible timing, less dead space. */
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden) {
  width: min(560px, 72%) !important;
  max-width: 560px !important;
  min-width: min(100%, 360px) !important;
  min-height: 36px !important;
  height: 36px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head {
  display: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls {
  display: grid !important;
  grid-template-columns: 36px 38px minmax(120px, 1fr) 58px !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 36px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls span,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls span {
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: rgba(17, 24, 39, 0.58) !important;
  white-space: nowrap !important;
  text-align: center !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoCurrentTime,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoCurrentTime {
  text-align: right !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoDuration,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoDuration {
  text-align: left !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress {
  width: 100% !important;
  min-width: 0 !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden) {
    width: min(500px, 86%) !important;
    max-width: 500px !important;
  }
}

/* Compact question audio player: RS/RL/RTS prompt audio should not dominate the card. */
html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt:not(:empty),
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt:not(:empty),
html body:not(.figma-answer-265-active) #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt:not(:empty) {
  width: min(560px, 78%) !important;
  max-width: 560px !important;
  min-width: min(100%, 360px) !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 42px 42px minmax(120px, 1fr) 66px !important;
  align-items: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt .audio-play-button,
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt .audio-play-button,
html body:not(.figma-answer-265-active) #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt .audio-play-button {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt .audio-time,
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt .audio-time,
html body:not(.figma-answer-265-active) #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt .audio-time {
  display: block !important;
  min-width: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: rgba(17, 24, 39, 0.58) !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt [data-audio-current-time],
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt [data-audio-current-time] {
  text-align: right !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt [data-audio-duration],
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt [data-audio-duration] {
  text-align: left !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track,
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt .audio-track,
html body:not(.figma-answer-265-active) #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RS"] .audio-prompt .audio-track {
  width: 100% !important;
  min-width: 0 !important;
  height: 12px !important;
  min-height: 12px !important;
  background: rgba(209, 213, 219, 0.92) !important;
}

html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt .audio-track i,
html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt .audio-track i {
  width: 20px !important;
  height: 20px !important;
  background: #050607 !important;
  box-shadow: 0 0 0 4px #fff, 0 8px 18px -10px rgba(0, 0, 0, 0.8) !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  html body:not(.figma-answer-265-active) #practice.practice-detail-mode .stage-practice .audio-prompt:not(:empty),
  html body:not(.figma-answer-265-active) #practice .stage-practice .audio-prompt:not(:empty) {
    width: min(500px, 88%) !important;
    max-width: 500px !important;
  }
}

/* DI image questions: remove empty middle cards under the chart/image. */
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] #questionText:empty,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] #questionText.is-empty,
html body #practice .practice-panel.stage-practice[data-active-type="DI"] #questionText:empty,
html body #practice .practice-panel.stage-practice[data-active-type="DI"] #questionText.is-empty,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] .question-meaning:empty,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] .question-meaning.is-hidden,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] .audio-prompt:empty,
html body #practice .practice-panel.stage-practice[data-active-type="DI"] .audio-prompt:empty {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="DI"] .question-card.active-question,
html body #practice .practice-panel.stage-practice[data-active-type="DI"] .question-card.active-question {
  gap: clamp(8px, 0.9vw, 12px) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-tools,
html body #practice .stage-practice .question-tools {
  display: none !important;
}

/* Question list search: make the input part of the glass shell, no white inner box. */
html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(210, 216, 226, 0.72) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28)),
    rgba(245, 247, 250, 0.46) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 28px -24px rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field span,
html body #practice .stage-practice .search-field span {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  overflow: hidden !important;
  color: transparent !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input,
html body #practice .stage-practice .search-field input,
html body #practice.practice-detail-mode .question-browser .search-field input,
html body #practice .question-browser .search-field input {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: rgba(17, 24, 39, 0.84) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input::placeholder,
html body #practice .stage-practice .search-field input::placeholder {
  color: rgba(82, 89, 103, 0.42) !important;
  opacity: 1 !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input::-webkit-search-decoration,
html body #practice.practice-detail-mode .stage-practice .search-field input::-webkit-search-cancel-button,
html body #practice .stage-practice .search-field input::-webkit-search-decoration,
html body #practice .stage-practice .search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Desktop detail layout: keep side columns natural height; width is controlled by splitters. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .practice-dashboard-layout,
  html body #practice.practice-detail-mode .stage-practice .practice-workbench {
    align-items: start !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-browser,
  html body #practice.practice-detail-mode .feedback-panel,
  html body #practice .stage-practice .question-browser,
  html body #practice .feedback-panel {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: start !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-browser,
  html body #practice .stage-practice .question-browser {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-finder,
  html body #practice .stage-practice .question-finder {
    flex: 0 0 auto !important;
  }

  html body #practice.practice-detail-mode .stage-practice .question-list,
  html body #practice .stage-practice .question-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
  }

  html body #practice.practice-detail-mode .feedback-panel,
  html body #practice .feedback-panel {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/* RA card density: the demo progress should sit close to the passage, not at the card bottom. */
@media (min-width: 761px) {
  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 4px !important;
    min-height: 0 !important;
    padding-bottom: clamp(12px, 1vw, 16px) !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #questionText,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #questionText {
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden) {
    flex: 0 0 auto !important;
    width: min(360px, 100%) !important;
    max-width: 360px !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls {
    display: grid !important;
    grid-template-columns: 36px minmax(110px, 1fr) auto !important;
    grid-template-areas: "button rail time" !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    height: 30px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton {
    grid-area: button !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress {
    grid-area: rail !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoCurrentTime,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoCurrentTime {
    display: inline !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoDuration,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoDuration {
    grid-area: time !important;
    display: block !important;
    min-width: 48px !important;
    text-align: left !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress {
    height: 16px !important;
    min-height: 16px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-runnable-track,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-runnable-track {
    height: 6px !important;
    border-radius: 999px !important;
  }

  html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-thumb,
  html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-thumb {
    width: 14px !important;
    height: 14px !important;
    margin-top: -4px !important;
    border-width: 2px !important;
  }
}

/* Idle feedback panel: separate the animation card from the report-includes copy. */
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-side-stack,
html body #practice .feedback-panel:not(.has-report) .practice-side-stack {
  display: grid !important;
  gap: 24px !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-idle-card,
html body #practice .feedback-panel:not(.has-report) .feedback-idle-card {
  margin: 0 0 4px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 6%, rgba(210, 248, 235, 0.68), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(255, 240, 189, 0.62), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)) !important;
  box-shadow: 0 18px 48px -38px rgba(15, 23, 42, 0.36) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-idle-card::before,
html body #practice .feedback-panel:not(.has-report) .feedback-idle-card::before {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context {
  margin-top: 0 !important;
  padding: 0 2px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context .eyebrow,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context .eyebrow {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context .practice-step-list,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context .practice-step-list {
  display: grid !important;
  gap: 14px !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context .practice-step-list span,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context .practice-step-list span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Inline report includes copy: no frame on the left of the green labels. */
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context *,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context::after,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context *::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context *::after,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context *,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context::before,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context::after,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context *::before,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context *::after {
  border-left: 0 !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context::after,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context *::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context *::after,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context::before,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context::after,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context *::before,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context *::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .feedback-waiting-context,
html body #practice .feedback-panel:not(.has-report) .feedback-waiting-context {
  border: 0 !important;
  background: transparent !important;
  padding-left: 2px !important;
}

/* Final idle feedback cleanup: keep only the AI card framed; make the includes copy inline. */
html body #practice.practice-detail-mode .feedback-panel:not(.has-report)::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report)::after,
html body #practice .feedback-panel:not(.has-report)::before,
html body #practice .feedback-panel:not(.has-report)::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .speech-idle-stack,
html body #practice .feedback-panel:not(.has-report) .speech-idle-stack {
  gap: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .speech-idle-stack::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .speech-idle-stack::after,
html body #practice .feedback-panel:not(.has-report) .speech-idle-stack::before,
html body #practice .feedback-panel:not(.has-report) .speech-idle-stack::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context *,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context * {
  border-left: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context::after,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context *::before,
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context *::after,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context::before,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context::after,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context *::before,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context *::after {
  display: none !important;
  content: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context .practice-step-list,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context .practice-step-list {
  gap: 16px !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context .practice-step-list span,
html body #practice .feedback-panel:not(.has-report) .practice-help-card.feedback-waiting-context .practice-step-list span {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Final RA player density: keep the demo rail thin and close to the passage. */
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .question-card.active-question {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding-bottom: 16px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #questionText,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #questionText {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden),
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player:not(.is-hidden) {
  align-self: flex-start !important;
  flex: 0 0 auto !important;
  width: min(560px, 100%) !important;
  max-width: 560px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-avatar,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head > div:last-of-type,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoSpeedSelect,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-avatar,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-head > div:last-of-type,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoSpeedSelect {
  display: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-player-controls {
  display: grid !important;
  grid-template-columns: 42px auto minmax(150px, 1fr) !important;
  grid-template-areas: "button time rail" !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoToggleButton {
  grid-area: button !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress {
  grid-area: rail !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 12px !important;
  min-height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-runnable-track,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-runnable-track {
  height: 4px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.92) var(--demo-progress, 0%), rgba(209, 213, 219, 0.86) 0) !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-thumb,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-webkit-slider-thumb {
  width: 12px !important;
  height: 12px !important;
  margin-top: -4px !important;
  border: 2px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.16) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-track,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-track {
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(209, 213, 219, 0.86) !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-progress,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-progress {
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(4, 6, 8, 0.92) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-thumb,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] #raDemoProgress::-moz-range-thumb {
  width: 12px !important;
  height: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.16) !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout {
  grid-area: time !important;
  display: inline-flex !important;
  min-width: 76px !important;
  margin: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  color: rgba(98, 106, 121, 0.9) !important;
  font-size: 12px !important;
  font-weight: 680 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout time,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout time,
html body #practice.practice-detail-mode .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout i,
html body #practice .practice-panel.stage-practice[data-active-type="RA"] .ra-demo-time-readout i {
  display: inline !important;
  color: inherit !important;
  font: inherit !important;
  font-style: normal !important;
}

/* RA whitespace fix: remove empty middle nodes and anchor the player right after text. */
html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .question-card.active-question,
html body #practice[data-active-question-type="RA"] .stage-practice .question-card.active-question {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-items: stretch !important;
  gap: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-bottom: 14px !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .question-image-panel.is-hidden,
html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .question-meaning:empty,
html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .audio-prompt:empty,
html body #practice[data-active-question-type="RA"] .stage-practice .question-image-panel.is-hidden,
html body #practice[data-active-question-type="RA"] .stage-practice .question-meaning:empty,
html body #practice[data-active-question-type="RA"] .stage-practice .audio-prompt:empty {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice #questionText,
html body #practice[data-active-question-type="RA"] .stage-practice #questionText {
  display: block !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice #questionText .ra-text-line:not(.ra-demo-text),
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-text-line:not(.ra-demo-text) {
  display: inline !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-text,
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-text {
  display: block !important;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-reading-copy {
  display: block;
  color: #20252b;
  line-height: 1.72;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment {
  border-radius: 5px; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 199, 0, 0.24); transition: opacity 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment:is(:hover, :focus-visible) {
  background: rgba(255, 238, 118, 0.24); box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.3); outline: none;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment.is-past {
  opacity: 1;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment.is-current {
  color: #17211f; opacity: 1;
  background: linear-gradient(180deg, rgba(255, 251, 220, 0.94), rgba(255, 228, 72, 0.58)); box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.44), 0 2px 8px rgba(237, 178, 0, 0.1);
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment.is-current:focus-visible { box-shadow: 0 0 0 2px rgba(0, 190, 143, 0.5), 0 0 0 4px rgba(255, 228, 72, 0.25); }

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-segment.is-replaying { animation: raDemoSentenceReplayPulse 1.15s ease-in-out infinite; }

@keyframes raDemoSentenceReplayPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.44), 0 2px 8px rgba(237, 178, 0, 0.1); }
  50% { box-shadow: 0 0 0 2px rgba(0, 204, 151, 0.3), 0 3px 10px rgba(0, 186, 139, 0.12); }
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-word.is-weak {
  color: #56616d; text-decoration: underline dashed;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-loss-letter {
  color: #d39b00; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-link-mark {
  margin: 0 0.04em; color: #00b98a; font-weight: 850;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-pause-mark {
  margin: 0 0.2em; color: #b64147; font-weight: 850;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-pause-mark.is-strong {
  margin-right: 0.32em;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend {
  display: flex; flex-wrap: wrap;
  gap: 8px; margin-top: 18px;
  color: #69727d; font-size: 12px;
  font-weight: 760; line-height: 1;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item {
  display: inline-flex;
  min-height: 26px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe4e6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item b {
  font-size: 15px;
  font-weight: 900;
}

html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-pause b { color: #b64147; }
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-replay { border-color: rgba(255, 205, 0, 0.34); background: rgba(255, 244, 174, 0.5); color: #6d5700; }
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-replay b { color: #00b98a; }
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-loss b { color: #d39b00; text-decoration: underline; text-underline-offset: 2px; }
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-link b { color: #00b98a; }
html body #practice[data-active-question-type="RA"] .stage-practice #questionText .ra-demo-legend-item.is-weak b { color: #56616d; }

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .ra-demo-player:not(.is-hidden),
html body #practice[data-active-question-type="RA"] .stage-practice .ra-demo-player:not(.is-hidden) {
  order: 0 !important;
  align-self: flex-start !important;
  position: static !important;
  transform: none !important;
  flex: 0 0 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .ra-demo-player.is-hidden,
html body #practice[data-active-question-type="RA"] .stage-practice .ra-demo-player.is-hidden {
  display: none !important;
}

html body #practice.practice-detail-mode[data-active-question-type="RA"] .stage-practice .question-tools,
html body #practice[data-active-question-type="RA"] .stage-practice .question-tools {
  order: 30 !important;
}

/* RS/RL/RTS prompt audio: reset legacy progress animation and keep the bar compact. */
html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt:not(:empty),
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt:not(:empty),
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"]) .audio-prompt:not(:empty),
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"]) .audio-prompt:not(:empty) {
  display: grid !important;
  grid-template-columns: 36px minmax(160px, 320px) auto !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 10px !important;
  width: min(430px, 86%) !important;
  max-width: 430px !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-play-button,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-play-button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt [data-audio-current-time],
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt [data-audio-current-time] {
  display: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt [data-audio-duration],
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-prompt [data-audio-duration] {
  display: inline-block !important;
  min-width: 44px !important;
  margin: 0 !important;
  color: rgba(98, 106, 121, 0.9) !important;
  font-size: 13px !important;
  font-weight: 720 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track {
  position: relative !important;
  width: 100% !important;
  height: 5px !important;
  min-height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(209, 213, 219, 0.88) !important;
  overflow: visible !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track span,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track span {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  display: block !important;
  width: var(--audio-prompt-progress, 0%) !important;
  height: 5px !important;
  min-height: 5px !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, rgba(0, 166, 113, 0.95), rgba(58, 211, 157, 0.96)) !important;
  transform: none !important;
  animation: none !important;
  transition: width 0.12s linear !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track i,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"]) .stage-practice .audio-track i {
  position: absolute !important;
  top: 50% !important;
  left: var(--audio-prompt-progress, 0%) !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 999px !important;
  background: #050607 !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.16) !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
}

/* Question browser controls: soft glass buttons instead of hard outlines. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(248, 250, 252, 0.34)),
    rgba(255, 255, 255, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 64px -54px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(26px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.22) !important;
}

html body #practice.practice-detail-mode .stage-practice #backToTypesButton,
html body #practice .stage-practice #backToTypesButton,
html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.3) !important;
  color: rgba(22, 26, 34, 0.88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 28px -24px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(18px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.14) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active,
html body #practice .stage-practice .question-list-tools .filter-chip.active {
  border-color: rgba(29, 29, 31, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(29, 29, 31, 0.96), rgba(5, 6, 7, 0.9)),
    rgba(29, 29, 31, 0.92) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 30px -22px rgba(0, 0, 0, 0.62) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(15, 23, 42, 0.03),
    0 14px 30px -26px rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input,
html body #practice .stage-practice .search-field input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.22)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 34px -30px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(18px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.14) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row:hover,
html body #practice .stage-practice .question-row.compact-question-row:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.32) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected,
html body #practice .stage-practice .question-row.compact-question-row.selected {
  border-color: rgba(29, 29, 31, 0.1) !important;
  background:
    linear-gradient(145deg, rgba(29, 29, 31, 0.98), rgba(22, 22, 25, 0.92)),
    rgba(29, 29, 31, 0.94) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px -26px rgba(0, 0, 0, 0.66) !important;
}

/* Stronger glass pass for the question browser: visible refraction and depth. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 8% 4%, rgba(226, 246, 255, 0.78), transparent 34%),
    radial-gradient(circle at 92% 2%, rgba(255, 246, 213, 0.68), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(244, 248, 251, 0.2)),
    rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(15, 23, 42, 0.055),
    inset 1px 0 0 rgba(255, 255, 255, 0.54),
    0 22px 56px -42px rgba(15, 23, 42, 0.52),
    0 2px 10px rgba(255, 255, 255, 0.52) !important;
  backdrop-filter: blur(34px) saturate(1.36) contrast(1.03) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.36) contrast(1.03) !important;
}

html body #practice.practice-detail-mode .stage-practice #backToTypesButton,
html body #practice .stage-practice #backToTypesButton,
html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip,
html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field,
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row {
  position: relative !important;
  overflow: hidden !important;
}

html body #practice.practice-detail-mode .stage-practice #backToTypesButton::before,
html body #practice .stage-practice #backToTypesButton::before,
html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip::before,
html body #practice .stage-practice .question-list-tools .filter-chip::before,
html body #practice.practice-detail-mode .stage-practice .search-field::before,
html body #practice .stage-practice .search-field::before,
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row::before,
html body #practice .stage-practice .question-row.compact-question-row::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px 1px auto 1px !important;
  height: 45% !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)) !important;
  opacity: 0.68 !important;
}

html body #practice.practice-detail-mode .stage-practice #backToTypesButton,
html body #practice .stage-practice #backToTypesButton,
html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  border-color: rgba(255, 255, 255, 0.92) !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(238, 246, 250, 0.3) 58%, rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(15, 23, 42, 0.05),
    0 10px 24px -18px rgba(15, 23, 42, 0.28) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  border-color: rgba(255, 255, 255, 0.96) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(232, 242, 248, 0.28) 55%, rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(15, 23, 42, 0.05),
    0 16px 34px -26px rgba(15, 23, 42, 0.36) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row {
  border-color: rgba(255, 255, 255, 0.9) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(237, 246, 250, 0.2) 62%, rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(15, 23, 42, 0.045),
    0 18px 42px -34px rgba(15, 23, 42, 0.46) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected::before,
html body #practice .stage-practice .question-row.compact-question-row.selected::before,
html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active::before,
html body #practice .stage-practice .question-list-tools .filter-chip.active::before {
  opacity: 0.18 !important;
}

/* Hide the heavy question-list scrollbar while keeping scroll behavior. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice.practice-detail-mode .stage-practice .question-list,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list,
html body #practice .stage-practice .question-browser,
html body #practice .stage-practice .question-list,
html body #practice .stage-practice .virtual-question-list {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-browser::-webkit-scrollbar,
html body #practice.practice-detail-mode .stage-practice .question-list::-webkit-scrollbar,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list::-webkit-scrollbar,
html body #practice .stage-practice .question-browser::-webkit-scrollbar,
html body #practice .stage-practice .question-list::-webkit-scrollbar,
html body #practice .stage-practice .virtual-question-list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* RA read-mode segmented control: glass treatment for Full / One sentence. */
html body #practice.practice-detail-mode .stage-practice .answer-hint-bar.ra-mode-inline,
html body #practice .stage-practice .answer-hint-bar.ra-mode-inline {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 10px 0 18px !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.86), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(235, 244, 250, 0.24)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(15, 23, 42, 0.045),
    0 14px 32px -26px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(22px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.24) !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control,
html body #practice .stage-practice .ra-mode-control {
  display: inline-grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control span,
html body #practice .stage-practice .ra-mode-control span,
html body #practice.practice-detail-mode .stage-practice .ra-mode-control small,
html body #practice .stage-practice .ra-mode-control small {
  display: none !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control button,
html body #practice .stage-practice .ra-mode-control button {
  position: relative !important;
  min-width: 72px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.22) !important;
  color: rgba(22, 26, 34, 0.84) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px -16px rgba(15, 23, 42, 0.34) !important;
  overflow: hidden !important;
  backdrop-filter: blur(14px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control button::before,
html body #practice .stage-practice .ra-mode-control button::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px 1px auto 1px !important;
  height: 48% !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)) !important;
  opacity: 0.58 !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control button.active,
html body #practice .stage-practice .ra-mode-control button.active {
  border-color: rgba(29, 29, 31, 0.1) !important;
  background:
    linear-gradient(180deg, rgba(29, 29, 31, 0.98), rgba(5, 6, 7, 0.92)),
    rgba(29, 29, 31, 0.94) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 13px 28px -20px rgba(0, 0, 0, 0.62) !important;
}

html body #practice.practice-detail-mode .stage-practice .ra-mode-control button.active::before,
html body #practice .stage-practice .ra-mode-control button.active::before {
  opacity: 0.16 !important;
}

/* Final RS audio player: keep play, rail, and duration together in one compact glass bar. */
html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .question-card.active-question,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .question-card.active-question {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 22px !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt:not(:empty),
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt:not(:empty),
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt:not(:empty),
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt:not(:empty) {
  display: grid !important;
  grid-template-columns: 38px minmax(150px, 260px) auto !important;
  grid-template-areas: "play rail duration" !important;
  justify-content: start !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  width: fit-content !important;
  max-width: min(430px, 92%) !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 18px 0 0 !important;
  padding: 6px 12px 6px 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(235, 244, 250, 0.24)),
    rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(15, 23, 42, 0.045),
    0 14px 32px -26px rgba(15, 23, 42, 0.38) !important;
  overflow: visible !important;
  backdrop-filter: blur(22px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.22) !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-play-button,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-play-button,
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-play-button,
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-play-button {
  grid-area: play !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-prompt-player],
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-prompt-player],
html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt #audioPromptStatus,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt #audioPromptStatus,
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-prompt-player],
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-prompt-player],
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt #audioPromptStatus,
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt #audioPromptStatus {
  display: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-current-time],
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-current-time],
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-current-time],
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-current-time] {
  display: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track,
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track,
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track {
  grid-area: rail !important;
  position: relative !important;
  width: 230px !important;
  max-width: 30vw !important;
  min-width: 150px !important;
  height: 5px !important;
  min-height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(207, 213, 222, 0.84) !important;
  overflow: visible !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track span,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track span,
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track span,
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track span {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: var(--audio-prompt-progress, 0%) !important;
  height: 5px !important;
  min-height: 5px !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, rgba(0, 166, 113, 0.95), rgba(58, 211, 157, 0.96)) !important;
  transform: none !important;
  animation: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track i,
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-track i,
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track i,
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-track i {
  position: absolute !important;
  top: 50% !important;
  left: var(--audio-prompt-progress, 0%) !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.98) !important;
  border-radius: 999px !important;
  background: #050607 !important;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.18) !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
}

html body #practice.practice-detail-mode:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-duration],
html body #practice:is([data-active-question-type="RS"], [data-active-question-type="RL"], [data-active-question-type="RTS"], [data-active-question-type="SGD"], [data-active-question-type="ASQ"]) .stage-practice .audio-prompt [data-audio-duration],
html body #practice.practice-detail-mode .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-duration],
html body #practice .practice-panel.stage-practice:is([data-active-type="RS"], [data-active-type="RL"], [data-active-type="RTS"], [data-active-type="SGD"], [data-active-type="ASQ"]) .audio-prompt [data-audio-duration] {
  grid-area: duration !important;
  display: inline-block !important;
  min-width: 44px !important;
  margin: 0 !important;
  color: rgba(98, 106, 121, 0.88) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Question browser toolbar: remove the blocky white strip and make controls feel embedded. */
html body #practice.practice-detail-mode .stage-practice .question-browser-head,
html body #practice .stage-practice .question-browser-head {
  margin-bottom: 14px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools,
html body #practice .stage-practice .question-list-tools {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 10px 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  gap: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.78), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(238, 249, 250, 0.12)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 12px 28px -24px rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: blur(24px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.28) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field::before,
html body #practice .stage-practice .search-field::before {
  opacity: 0.42 !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field span,
html body #practice .stage-practice .search-field span {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: rgba(22, 26, 34, 0.72) !important;
  opacity: 0.82 !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input,
html body #practice .stage-practice .search-field input,
html body #practice.practice-detail-mode .question-browser .search-field input,
html body #practice .question-browser .search-field input {
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(22, 26, 34, 0.88) !important;
  font-size: 15px !important;
  font-weight: 780 !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field input::placeholder,
html body #practice .stage-practice .search-field input::placeholder {
  color: rgba(113, 121, 135, 0.42) !important;
  opacity: 1 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 8px !important;
  border-radius: 18px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active,
html body #practice .stage-practice .question-list-tools .filter-chip.active {
  transform: translateY(-1px) !important;
}

/* Detail action and discussion shells: softer edges, less nested framing. */
html body #practice.practice-detail-mode .stage-practice .recorder,
html body #practice .stage-practice .recorder {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(246, 251, 252, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 42px -36px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder .timer,
html body #practice.practice-detail-mode .stage-practice .recorder .wave,
html body #practice .stage-practice .recorder .timer,
html body #practice .stage-practice .recorder .wave {
  display: none !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder-actions,
html body #practice .stage-practice .recorder-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder-actions button,
html body #practice .stage-practice .recorder-actions button {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border-width: 1px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 24px -20px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder-actions #prevQuestionButton,
html body #practice .stage-practice .recorder-actions #prevQuestionButton {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* True final override: keep the question browser neutral and shadow-led. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(15, 23, 42, 0.025),
    0 30px 76px -46px rgba(15, 23, 42, 0.52),
    0 10px 28px -22px rgba(15, 23, 42, 0.24) !important;
  backdrop-filter: blur(30px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.08) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder,
html body #practice .stage-practice .question-finder,
html body #practice.practice-detail-mode .stage-practice .question-list-tools,
html body #practice .stage-practice .question-list-tools {
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field,
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.64), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 42px -32px rgba(15, 23, 42, 0.38) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px -22px rgba(15, 23, 42, 0.32) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active,
html body #practice .stage-practice .question-list-tools .filter-chip.active {
  border-color: rgba(0, 0, 0, 0.06) !important;
  background:
    linear-gradient(180deg, rgba(29, 29, 31, 0.98), rgba(6, 7, 8, 0.94)),
    rgba(18, 18, 21, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 28px -22px rgba(0, 0, 0, 0.56) !important;
}

/* Final home CTA state: never turn the selected primary button into white-on-white. */
html body #homeDashboard .home-mobile-primary,
html body #homeDashboard .home-mobile-primary:hover,
html body #homeDashboard .home-mobile-primary:focus,
html body #homeDashboard .home-mobile-primary:focus-visible,
html body #homeDashboard .home-mobile-primary:active,
html body #homeDashboard .home-web-primary,
html body #homeDashboard .home-web-primary:hover,
html body #homeDashboard .home-web-primary:focus,
html body #homeDashboard .home-web-primary:focus-visible,
html body #homeDashboard .home-web-primary:active {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(29, 30, 34, 0.98), rgba(4, 5, 8, 0.94)),
    rgba(10, 11, 14, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 38px -26px rgba(0, 0, 0, 0.68) !important;
}

html body #homeDashboard .home-mobile-primary *,
html body #homeDashboard .home-web-primary * {
  color: inherit !important;
}

/* Final override: question browser should read as neutral shadowed glass, not tinted blocks. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(15, 23, 42, 0.025),
    0 30px 76px -46px rgba(15, 23, 42, 0.52),
    0 10px 28px -22px rgba(15, 23, 42, 0.24) !important;
  backdrop-filter: blur(30px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.08) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder,
html body #practice .stage-practice .question-finder {
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools,
html body #practice .stage-practice .question-list-tools {
  background: transparent !important;
  box-shadow: none !important;
}

/* Absolute final pass: replace colored glass with shadow-led neutral glass. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 26px 68px -44px rgba(15, 23, 42, 0.5),
    0 8px 22px -18px rgba(15, 23, 42, 0.22) !important;
  backdrop-filter: blur(30px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-finder,
html body #practice .stage-practice .question-finder {
  background: transparent !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field,
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 16px 38px -30px rgba(15, 23, 42, 0.36) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px -22px rgba(15, 23, 42, 0.3) !important;
}

/* Final override: category card outlines and mobile-home blue slab must not reappear. */
html body.view-dashboard,
html body.view-dashboard,
html body #dashboard.active-view,
html body #homeDashboard,
html body #homeDashboard .home-v2,
html body #homeDashboard .home-v2-mobile-trial {
  background: #f7f8fa !important;
}

html body #homeDashboard .home-v2-mobile-trial {
  border: 0 !important;
  box-shadow: none !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-side-card,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-side-card.practice-data-card {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(250, 252, 253, 0.12)),
    rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 24px 58px -44px rgba(15, 23, 42, 0.42) !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(248, 251, 252, 0.08)),
    rgba(255, 255, 255, 0.07) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 10px 28px -24px rgba(15, 23, 42, 0.3) !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button span {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(248, 251, 252, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px -16px rgba(15, 23, 42, 0.2) !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button em {
  background: rgba(255, 255, 255, 0.11) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active:hover {
  border-color: rgba(0, 0, 0, 0.04) !important;
  background:
    linear-gradient(180deg, rgba(42, 42, 46, 0.98), rgba(10, 10, 12, 0.94)),
    rgba(18, 18, 21, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 38px -28px rgba(0, 0, 0, 0.48) !important;
}

html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active span,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active:hover span,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active em,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button.active:hover em {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Feedback hover micro-interactions: subtle lift and glass highlight sweep. */
html body #practice.practice-detail-mode .feedback-panel .score-ring,
html body #practice.practice-detail-mode .feedback-panel .ai-breakdown,
html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card,
html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card,
html body #practice.practice-detail-mode .feedback-panel .swt-total-card,
html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article,
html body #practice.practice-detail-mode .feedback-panel .swt-answer-review,
html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain,
html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point,
html body #practice.practice-detail-mode .feedback-panel .we-score-grid article,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article,
html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review,
html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-section,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-row,
html body #practice.practice-detail-mode .feedback-panel .feedback-point,
html body #practice.practice-detail-mode .feedback-panel .coach-tip,
html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li {
  position: relative !important;
  overflow: hidden !important;
  transform: translate3d(0, 0, 0) !important;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 220ms ease,
    border-color 220ms ease !important;
  will-change: transform !important;
}

html body #practice.practice-detail-mode .feedback-panel .score-ring::before,
html body #practice.practice-detail-mode .feedback-panel .ai-breakdown::before,
html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card::before,
html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card::before,
html body #practice.practice-detail-mode .feedback-panel .swt-total-card::before,
html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article::before,
html body #practice.practice-detail-mode .feedback-panel .swt-answer-review::before,
html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain::before,
html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point::before,
html body #practice.practice-detail-mode .feedback-panel .we-score-grid article::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card::before,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article::before,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-section::before,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary::before,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-row::before,
html body #practice.practice-detail-mode .feedback-panel .feedback-point::before,
html body #practice.practice-detail-mode .feedback-panel .coach-tip::before,
html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li::before {
  content: "" !important;
  position: absolute !important;
  inset: -40% auto -40% -55% !important;
  width: 46% !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.54) 48%, transparent 100%) !important;
  opacity: 0 !important;
  transform: translateX(0) rotate(8deg) !important;
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease !important;
}

html body #practice.practice-detail-mode .feedback-panel .score-ring:hover,
html body #practice.practice-detail-mode .feedback-panel .ai-breakdown:hover,
html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card:hover,
html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card:hover,
html body #practice.practice-detail-mode .feedback-panel .swt-total-card:hover,
html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article:hover,
html body #practice.practice-detail-mode .feedback-panel .swt-answer-review:hover,
html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain:hover,
html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point:hover,
html body #practice.practice-detail-mode .feedback-panel .we-score-grid article:hover,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero:hover,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article:hover,
html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review:hover,
html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card:hover,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article:hover,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-section:hover,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary:hover,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-row:hover,
html body #practice.practice-detail-mode .feedback-panel .feedback-point:hover,
html body #practice.practice-detail-mode .feedback-panel .coach-tip:hover,
html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li:hover {
  transform: translate3d(0, -3px, 0) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 24px 54px -38px rgba(15, 23, 42, 0.5) !important;
}

html body #practice.practice-detail-mode .feedback-panel .score-ring:hover::before,
html body #practice.practice-detail-mode .feedback-panel .ai-breakdown:hover::before,
html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card:hover::before,
html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card:hover::before,
html body #practice.practice-detail-mode .feedback-panel .swt-total-card:hover::before,
html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article:hover::before,
html body #practice.practice-detail-mode .feedback-panel .swt-answer-review:hover::before,
html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain:hover::before,
html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point:hover::before,
html body #practice.practice-detail-mode .feedback-panel .we-score-grid article:hover::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero:hover::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article:hover::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review:hover::before,
html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card:hover::before,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article:hover::before,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-section:hover::before,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary:hover::before,
html body #practice.practice-detail-mode .feedback-panel .lifib-result-row:hover::before,
html body #practice.practice-detail-mode .feedback-panel .feedback-point:hover::before,
html body #practice.practice-detail-mode .feedback-panel .coach-tip:hover::before,
html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li:hover::before {
  opacity: 0.72 !important;
  transform: translateX(360%) rotate(8deg) !important;
}

html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article:hover,
html body #practice.practice-detail-mode .feedback-panel .we-score-grid article:hover,
html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article:hover,
html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article:hover {
  background:
    radial-gradient(circle at 18% 0%, rgba(229, 255, 248, 0.34), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(250, 252, 253, 0.12)),
    rgba(255, 255, 255, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body #practice.practice-detail-mode .feedback-panel .score-ring,
  html body #practice.practice-detail-mode .feedback-panel .ai-breakdown,
  html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card,
  html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card,
  html body #practice.practice-detail-mode .feedback-panel .swt-total-card,
  html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article,
  html body #practice.practice-detail-mode .feedback-panel .swt-answer-review,
  html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain,
  html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point,
  html body #practice.practice-detail-mode .feedback-panel .we-score-grid article,
  html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero,
  html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article,
  html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review,
  html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card,
  html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article,
  html body #practice.practice-detail-mode .feedback-panel .hiw-report-section,
  html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary,
  html body #practice.practice-detail-mode .feedback-panel .lifib-result-row,
  html body #practice.practice-detail-mode .feedback-panel .feedback-point,
  html body #practice.practice-detail-mode .feedback-panel .coach-tip,
  html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li {
    transition: none !important;
  }

  html body #practice.practice-detail-mode .feedback-panel .score-ring::before,
  html body #practice.practice-detail-mode .feedback-panel .ai-breakdown::before,
  html body #practice.practice-detail-mode .feedback-panel .feedback-idle-card::before,
  html body #practice.practice-detail-mode .feedback-panel .reading-ai-wait-card::before,
  html body #practice.practice-detail-mode .feedback-panel .swt-total-card::before,
  html body #practice.practice-detail-mode .feedback-panel .swt-score-grid-clean article::before,
  html body #practice.practice-detail-mode .feedback-panel .swt-answer-review::before,
  html body #practice.practice-detail-mode .feedback-panel .swt-issue-explain::before,
  html body #practice.practice-detail-mode .feedback-panel .swt-analysis-point::before,
  html body #practice.practice-detail-mode .feedback-panel .we-score-grid article::before,
  html body #practice.practice-detail-mode .feedback-panel .wfd-score-hero::before,
  html body #practice.practice-detail-mode .feedback-panel .wfd-score-grid article::before,
  html body #practice.practice-detail-mode .feedback-panel .wfd-answer-review::before,
  html body #practice.practice-detail-mode .feedback-panel .wfd-advice-card::before,
  html body #practice.practice-detail-mode .feedback-panel .hiw-report-stats article::before,
  html body #practice.practice-detail-mode .feedback-panel .hiw-report-section::before,
  html body #practice.practice-detail-mode .feedback-panel .lifib-result-summary::before,
  html body #practice.practice-detail-mode .feedback-panel .lifib-result-row::before,
  html body #practice.practice-detail-mode .feedback-panel .feedback-point::before,
  html body #practice.practice-detail-mode .feedback-panel .coach-tip::before,
  html body #practice.practice-detail-mode .feedback-panel .ai-action-plan li::before {
    display: none !important;
  }
}

html body #practice.practice-detail-mode .stage-practice .practice-discussion,
html body #practice .stage-practice .practice-discussion {
  margin-top: 28px !important;
  padding: 18px 20px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(247, 251, 252, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 20px 48px -42px rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
}

html body #practice.practice-detail-mode .stage-practice .discussion-tabs,
html body #practice .stage-practice .discussion-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .stage-practice .discussion-tabs button,
html body #practice .stage-practice .discussion-tabs button {
  min-width: 92px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(246, 250, 252, 0.12)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 10px 24px -22px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .discussion-tabs button.active,
html body #practice .stage-practice .discussion-tabs button.active {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(30, 31, 36, 0.98), rgba(4, 5, 7, 0.94)),
    rgba(18, 18, 21, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 30px -24px rgba(0, 0, 0, 0.62) !important;
}

/* Final soft-line pass: reduce visible outlines and lean on glass shadow. */
html body #practice.practice-detail-mode .stage-practice .text-answer,
html body #practice .stage-practice .text-answer {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(248, 251, 252, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 44px -38px rgba(15, 23, 42, 0.36) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder,
html body #practice .stage-practice .recorder,
html body #practice.practice-detail-mode .stage-practice .practice-discussion,
html body #practice .stage-practice .practice-discussion {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.62), transparent 44%),
    radial-gradient(circle at 86% 6%, rgba(238, 249, 255, 0.3), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(250, 252, 253, 0.06)),
    rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 22px 58px -44px rgba(15, 23, 42, 0.48) !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder-actions button,
html body #practice .stage-practice .recorder-actions button,
html body #practice.practice-detail-mode .stage-practice .discussion-tabs button,
html body #practice .stage-practice .discussion-tabs button {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(247, 251, 252, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 12px 30px -24px rgba(15, 23, 42, 0.38) !important;
}

html body #practice.practice-detail-mode .stage-practice .recorder-actions #recordButton,
html body #practice.practice-detail-mode .stage-practice .recorder-actions #submitButton:not(:disabled),
html body #practice.practice-detail-mode .stage-practice .recorder-actions #nextQuestionButton,
html body #practice .stage-practice .recorder-actions #recordButton,
html body #practice .stage-practice .recorder-actions #submitButton:not(:disabled),
html body #practice .stage-practice .recorder-actions #nextQuestionButton,
html body #practice.practice-detail-mode .stage-practice .discussion-tabs button.active,
html body #practice .stage-practice .discussion-tabs button.active {
  border-color: rgba(0, 0, 0, 0.06) !important;
  background:
    linear-gradient(180deg, rgba(28, 29, 33, 0.98), rgba(3, 4, 6, 0.94)),
    rgba(12, 13, 15, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px -24px rgba(0, 0, 0, 0.56) !important;
}

/* True EOF override: use shadow instead of colored tint on the question browser. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(15, 23, 42, 0.025),
    0 30px 76px -46px rgba(15, 23, 42, 0.52),
    0 10px 28px -22px rgba(15, 23, 42, 0.24) !important;
  backdrop-filter: blur(30px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.08) !important;
}

/* True final category hover: hover lifts with shadow, never fades to white. */
html body #practice:not(.practice-detail-mode) .practice-category-list button:not(.active):hover,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button:not(.active):hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.52), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(247, 250, 252, 0.1)),
    rgba(255, 255, 255, 0.08) !important;
  color: rgba(24, 28, 36, 0.94) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 14px 34px -28px rgba(15, 23, 42, 0.36) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button:not(.active):hover *,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button:not(.active):hover * {
  color: rgba(24, 28, 36, 0.94) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button:not(.active):hover span,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button:not(.active):hover span {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(248, 251, 252, 0.1)),
    rgba(255, 255, 255, 0.09) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 8px 18px -16px rgba(15, 23, 42, 0.2) !important;
}

html body #practice:not(.practice-detail-mode) .practice-category-list button:not(.active):hover em,
html body #practice:not(.practice-detail-mode) .practice-left-rail .practice-category-list button:not(.active):hover em {
  color: rgba(91, 98, 112, 0.95) !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Final speech report shell: soften nested borders and rely on glass shadow. */
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    radial-gradient(circle at 84% 10%, rgba(0, 163, 110, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 28px 72px -54px rgba(15, 23, 42, 0.46) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-mobile-head,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-score-card,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-metrics article,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-player-card,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-detail-card,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-reference-card,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-answer-card {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 18px 44px -36px rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(24px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-result-summary {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-metrics {
  gap: 14px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-mobile-head {
  border-color: transparent !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-score-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-report-metrics article {
  border-color: transparent !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-answer-audio-strip,
html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-native-audio {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-detail-card .speech-answer-audio-strip {
  padding: 0 !important;
  margin: 0 0 22px !important;
}

html body #practice.practice-detail-mode .feedback-panel.speech-report-mode.speech-result-ready .speech-reference {
  margin-top: 0 !important;
}

/* Final RA list pass: compact readable rows and lighter rendering cost. */
html body #practice.practice-detail-mode .stage-practice .question-list,
html body #practice .stage-practice .question-list,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list,
html body #practice .stage-practice .virtual-question-list {
  contain: layout paint style !important;
}

html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window,
html body #practice .stage-practice .virtual-question-list-window {
  gap: 6px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  min-height: 66px !important;
  height: 66px !important;
  padding: 10px 12px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.08) !important;
  color: rgba(24, 28, 36, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 10px 24px -22px rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: blur(14px) saturate(1.06) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.06) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row:hover,
html body #practice .stage-practice .question-row.compact-question-row:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1) !important;
  color: rgba(24, 28, 36, 0.98) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-code,
html body #practice .stage-practice .question-row.compact-question-row .question-code,
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-type-mini,
html body #practice .stage-practice .question-row.compact-question-row .question-type-mini {
  color: rgba(96, 103, 118, 0.92) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main strong,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main strong {
  color: rgba(18, 22, 30, 0.96) !important;
  font-size: 13px !important;
  line-height: 1.14 !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main small,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main small {
  color: rgba(96, 103, 118, 0.86) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected,
html body #practice .stage-practice .question-row.compact-question-row.selected {
  border-color: rgba(0, 0, 0, 0.06) !important;
  background:
    linear-gradient(180deg, rgba(28, 29, 33, 0.98), rgba(4, 5, 8, 0.94)),
    rgba(14, 15, 18, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 30px -22px rgba(0, 0, 0, 0.5) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected *,
html body #practice .stage-practice .question-row.compact-question-row.selected * {
  color: rgba(255, 255, 255, 0.94) !important;
}

/* Final glass edge pass: make the RA browser readable with shadow, not hard borders. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(15, 23, 42, 0.045),
    10px 0 26px -28px rgba(15, 23, 42, 0.38),
    -10px 0 26px -28px rgba(15, 23, 42, 0.34),
    0 28px 70px -52px rgba(15, 23, 42, 0.44) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 12px 28px -24px rgba(15, 23, 42, 0.3) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 10px 24px -20px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04),
    0 14px 32px -26px rgba(15, 23, 42, 0.36) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row:hover,
html body #practice .stage-practice .question-row.compact-question-row:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(15, 23, 42, 0.045),
    0 18px 38px -28px rgba(15, 23, 42, 0.42) !important;
}

/* Final colored RA browser: restore soft color and make selection visibly change. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 249, 244, 0.52), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(238, 246, 255, 0.5), transparent 34%),
    linear-gradient(180deg, rgba(248, 253, 252, 0.7), rgba(235, 247, 247, 0.38)),
    rgba(239, 250, 249, 0.32) !important;
  border-color: rgba(203, 235, 231, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(15, 88, 76, 0.045),
    0 28px 70px -52px rgba(21, 94, 117, 0.38) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(231, 248, 246, 0.28)),
    rgba(240, 251, 250, 0.26) !important;
  border-color: rgba(195, 231, 226, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(230, 247, 245, 0.26)),
    rgba(235, 249, 247, 0.22) !important;
  color: rgba(31, 41, 55, 0.92) !important;
  border-color: rgba(195, 231, 226, 0.32) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active,
html body #practice .stage-practice .question-list-tools .filter-chip.active {
  background:
    linear-gradient(180deg, rgba(0, 150, 126, 0.98), rgba(0, 109, 104, 0.94)),
    rgba(0, 128, 116, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(0, 109, 104, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 30px -22px rgba(0, 109, 104, 0.46) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(224, 246, 243, 0.24)),
    rgba(235, 249, 247, 0.2) !important;
  border-color: rgba(196, 231, 226, 0.32) !important;
  color: rgba(23, 31, 42, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(15, 88, 76, 0.04),
    0 14px 32px -26px rgba(21, 94, 117, 0.32) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row:hover,
html body #practice .stage-practice .question-row.compact-question-row:hover {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.78), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(205, 242, 237, 0.34)),
    rgba(220, 247, 244, 0.28) !important;
  border-color: rgba(122, 213, 199, 0.38) !important;
  color: rgba(15, 23, 42, 0.98) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 38px -28px rgba(0, 128, 116, 0.34) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected,
html body #practice .stage-practice .question-row.compact-question-row.selected {
  background:
    linear-gradient(180deg, rgba(0, 177, 146, 0.98), rgba(0, 128, 116, 0.94)),
    rgba(0, 150, 126, 0.96) !important;
  border-color: rgba(0, 109, 104, 0.18) !important;
  color: rgba(255, 255, 255, 0.98) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 38px -24px rgba(0, 109, 104, 0.58) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected *,
html body #practice .stage-practice .question-row.compact-question-row.selected * {
  color: rgba(255, 255, 255, 0.96) !important;
}

/* Final page-tone merge: remove the visible blue backing plate behind home glass cards. */
html body.view-dashboard {
  background:
    radial-gradient(circle at 8% 18%, rgba(225, 236, 247, 0.16), transparent 36%),
    radial-gradient(circle at 96% 10%, rgba(248, 243, 232, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f8fa 0%, #f8f9fb 48%, #f6f7f9 100%) !important;
}

html body.view-dashboard .main,
html body.view-dashboard #dashboard,
html body.view-dashboard #dashboard.active-view,
html body.view-dashboard #dashboard .home-v2,
html body.view-dashboard #dashboard .home-v2-mobile-trial {
  background: transparent !important;
  background-image: none !important;
}

html body.view-dashboard #dashboard .home-mobile-hero,
html body.view-dashboard #dashboard .home-mobile-metric,
html body.view-dashboard #dashboard .home-mobile-section {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(250, 252, 253, 0.28)),
    rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 22px 48px -38px rgba(15, 23, 42, 0.34) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* Final-final home mobile compact glass: placed last to beat older home rules. */
html body.view-dashboard,
html body #dashboard.active-view,
html body #dashboard.active-view .home-v2,
html body #dashboard.active-view .home-v2-mobile-trial {
  background:
    radial-gradient(circle at 0% 18%, rgba(214, 232, 248, 0.16), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(249, 244, 232, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(248, 251, 253, 0.22), rgba(255, 255, 255, 0.06) 48%, rgba(248, 247, 243, 0.12)) !important;
}

html body #dashboard.active-view .home-v2-mobile-trial {
  gap: 12px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-hero {
  min-height: 0 !important;
  height: auto !important;
  padding: 36px 22px 18px !important;
  border-radius: 26px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-hero h1 {
  font-size: clamp(30px, 8vw, 42px) !important;
  line-height: 1.12 !important;
  margin: 0 0 10px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-hero p {
  margin: 0 0 16px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-primary {
  height: 42px !important;
  padding-inline: 13px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-ring {
  width: 58px !important;
  height: 58px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-metrics {
  gap: 10px !important;
  height: auto !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-metric {
  min-height: 82px !important;
  height: 82px !important;
  padding: 14px !important;
  border-radius: 22px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-metric strong {
  font-size: clamp(30px, 8vw, 42px) !important;
  line-height: 1 !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-section {
  padding: 18px !important;
  border-radius: 24px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-task-list {
  gap: 10px !important;
  height: auto !important;
  grid-template-rows: repeat(4, 48px) !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-task {
  min-height: 50px !important;
  height: 48px !important;
  padding: 8px 11px !important;
}

html body #dashboard.active-view .home-v2-mobile-trial .home-mobile-path {
  min-height: 0 !important;
  height: auto !important;
}

/* Final compact question list: keep rows close to the original height. */
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  min-height: 66px !important;
  height: 66px !important;
  padding: 7px 10px !important;
  border-radius: 18px !important;
  gap: 8px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main {
  gap: 3px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main strong,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main strong {
  -webkit-line-clamp: 2 !important;
  line-height: 1.08 !important;
  max-height: 2.16em !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main small,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main small {
  line-height: 1 !important;
  margin-top: 0 !important;
}

/* Tighten question entry rows and mobile type cards after visual QA. */
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  min-height: 58px !important;
  height: 58px !important;
  padding: 5px 9px !important;
  border-radius: 16px !important;
  gap: 7px !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main strong,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main strong {
  -webkit-line-clamp: 1 !important;
  line-height: 1.08 !important;
  max-height: 1.1em !important;
}

@media (max-width: 768px) {
  html body #practice:not(.practice-detail-mode) .figma-type-card-grid {
    gap: 10px !important;
  }

  html body #practice:not(.practice-detail-mode) .figma-type-card,
  html body #practice.active-view:not(.practice-detail-mode) .figma-type-card {
    min-height: 118px !important;
    height: auto !important;
    padding: 14px 16px !important;
    gap: 7px !important;
    border-radius: 22px !important;
  }

  html body #practice:not(.practice-detail-mode) .figma-type-card strong,
  html body #practice.active-view:not(.practice-detail-mode) .figma-type-card strong {
    font-size: 17px !important;
    line-height: 1.12 !important;
  }

  html body #practice:not(.practice-detail-mode) .figma-type-card small,
  html body #practice.active-view:not(.practice-detail-mode) .figma-type-card small {
    -webkit-line-clamp: 1 !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card {
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    min-height: 92px !important;
    padding: 12px 14px !important;
    gap: 6px 10px !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .figma-type-dot,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .figma-type-dot {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 44px !important;
    height: 44px !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .figma-type-skill,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .figma-type-skill {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card strong,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card small,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card small,
  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card i,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card i {
    display: none !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .mobile-type-meta,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card .mobile-type-meta {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 54px !important;
    height: 28px !important;
    line-height: 28px !important;
  }

  html body #practice:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card b,
  html body #practice.active-view:not(.practice-detail-mode) .mobile-question-flow:not(.subject-picker) .figma-type-card b {
    grid-column: 3 !important;
    grid-row: 2 !important;
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }
}

/* Final home mobile density: softer background and shorter glass cards. */
html body.view-dashboard,
html body .view.active-view .home-v2 {
  background:
    radial-gradient(circle at 0% 18%, rgba(214, 232, 248, 0.2), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(249, 244, 232, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(247, 250, 253, 0.28), rgba(255, 255, 255, 0.04) 48%, rgba(248, 247, 242, 0.16)) !important;
}

html body .home-v2-mobile-trial {
  gap: 12px !important;
  background:
    radial-gradient(circle at 0% 22%, rgba(216, 233, 248, 0.2), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(248, 243, 230, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(246, 250, 253, 0.22), rgba(255, 255, 255, 0.06) 46%, rgba(248, 247, 242, 0.12)) !important;
}

html body .home-mobile-hero {
  min-height: 0 !important;
  height: auto !important;
  padding: 38px 22px 18px !important;
  border-radius: 26px !important;
}

html body .home-mobile-hero h1 {
  font-size: clamp(30px, 8vw, 42px) !important;
  line-height: 1.12 !important;
  margin-bottom: 10px !important;
}

html body .home-mobile-hero p {
  margin-bottom: 18px !important;
}

html body .home-mobile-primary {
  height: 42px !important;
  padding-inline: 13px !important;
}

html body .home-mobile-ring {
  width: 58px !important;
  height: 58px !important;
}

html body .home-mobile-metrics {
  gap: 10px !important;
  height: auto !important;
}

html body .home-mobile-metric {
  min-height: 82px !important;
  height: 82px !important;
  padding: 14px 14px !important;
  border-radius: 22px !important;
}

html body .home-mobile-metric strong {
  font-size: clamp(30px, 8vw, 42px) !important;
  line-height: 1 !important;
}

html body .home-mobile-section {
  padding: 18px !important;
  border-radius: 24px !important;
}

html body .home-mobile-task-list {
  gap: 10px !important;
}

html body .home-mobile-task {
  min-height: 50px !important;
  height: 50px !important;
  padding: 8px 11px !important;
}

/* Final question list text: show short titles only and keep rows compact. */
html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main {
  min-width: 0 !important;
  overflow: hidden !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row .question-row-main strong,
html body #practice .stage-practice .question-row.compact-question-row .question-row-main strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.12 !important;
  max-height: 2.24em !important;
  word-break: normal !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected .question-row-main strong,
html body #practice .stage-practice .question-row.compact-question-row.selected .question-row-main strong {
  color: rgba(255, 255, 255, 0.98) !important;
  opacity: 1 !important;
}

/* Final text/listening idle report: remove visible frame lines, keep soft glass depth. */
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .text-task-idle-card,
html body #practice .feedback-panel:not(.has-report) .text-task-idle-card {
  border: 0 !important;
  outline: 0 !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(250, 244, 232, 0.3), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(250, 252, 253, 0.12)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(15, 23, 42, 0.025),
    0 24px 58px -44px rgba(15, 23, 42, 0.42) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-idle-metrics span,
html body #practice .feedback-panel:not(.has-report) .practice-idle-metrics span {
  border: 0 !important;
  outline: 0 !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(242, 246, 251, 0.16)),
    rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -1px 0 rgba(15, 23, 42, 0.025),
    0 10px 26px -24px rgba(15, 23, 42, 0.34) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-idle-metrics span:hover,
html body #practice .feedback-panel:not(.has-report) .practice-idle-metrics span:hover {
  border: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px -26px rgba(15, 23, 42, 0.38) !important;
}

/* Final home background blend: soften the left blue wash into the page. */
html body.view-dashboard,
html body.view-dashboard {
  background:
    radial-gradient(circle at 2% 22%, rgba(214, 232, 248, 0.42), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(250, 244, 229, 0.28), transparent 34%),
    linear-gradient(90deg,
      rgba(241, 247, 253, 0.58) 0%,
      rgba(246, 249, 252, 0.38) 24%,
      rgba(247, 248, 250, 0.18) 48%,
      rgba(248, 247, 243, 0.3) 100%),
    #f7f8fa !important;
}

html body #dashboard.active-view,
html body #homeDashboard {
  background:
    linear-gradient(90deg,
      rgba(224, 238, 250, 0.34) 0%,
      rgba(238, 246, 252, 0.2) 22%,
      rgba(255, 255, 255, 0.04) 48%,
      rgba(248, 245, 238, 0.22) 100%) !important;
}

html body #homeDashboard .home-v2,
html body #homeDashboard .home-v2-desktop-trial,
html body #homeDashboard .home-v2-mobile-trial {
  background:
    radial-gradient(circle at 6% 18%, rgba(219, 235, 249, 0.36), transparent 36%),
    radial-gradient(circle at 82% 16%, rgba(249, 243, 228, 0.28), transparent 34%),
    linear-gradient(90deg,
      rgba(234, 244, 252, 0.34) 0%,
      rgba(247, 250, 252, 0.18) 30%,
      rgba(255, 255, 255, 0.04) 52%,
      rgba(248, 246, 240, 0.2) 100%) !important;
}

/* Final listening idle report: softer glass, fewer hard outlines. */
html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .text-task-idle-card,
html body #practice .feedback-panel:not(.has-report) .text-task-idle-card {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.68), transparent 40%),
    radial-gradient(circle at 92% 5%, rgba(232, 240, 250, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(250, 252, 253, 0.1)),
    rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 22px 54px -42px rgba(15, 23, 42, 0.38) !important;
  backdrop-filter: blur(24px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .text-task-idle-card .practice-idle-head,
html body #practice .feedback-panel:not(.has-report) .text-task-idle-card .practice-idle-head {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .text-task-idle-card .practice-idle-head > span,
html body #practice .feedback-panel:not(.has-report) .text-task-idle-card .practice-idle-head > span {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 30px -22px rgba(0, 0, 0, 0.52) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-idle-metrics,
html body #practice .feedback-panel:not(.has-report) .practice-idle-metrics {
  gap: 12px !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-idle-metrics span,
html body #practice .feedback-panel:not(.has-report) .practice-idle-metrics span {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(242, 246, 251, 0.12)),
    rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 12px 30px -26px rgba(15, 23, 42, 0.3) !important;
}

html body #practice.practice-detail-mode .feedback-panel:not(.has-report) .practice-idle-metrics span:hover,
html body #practice .feedback-panel:not(.has-report) .practice-idle-metrics span:hover {
  transform: translateY(-1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 16px 34px -28px rgba(15, 23, 42, 0.36) !important;
}

/* Final RA browser tone: only a slight cool tint for glass, black selected states like RS. */
html body #practice.practice-detail-mode .stage-practice .question-browser,
html body #practice .stage-practice .question-browser {
  background:
    radial-gradient(circle at 18% 0%, rgba(230, 241, 255, 0.26), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(243, 247, 255, 0.3), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 253, 0.34)),
    rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04),
    0 28px 70px -52px rgba(15, 23, 42, 0.38) !important;
}

html body #practice.practice-detail-mode .stage-practice .search-field,
html body #practice .stage-practice .search-field {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(241, 246, 252, 0.22)),
    rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip,
html body #practice .stage-practice .question-list-tools .filter-chip {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(241, 246, 252, 0.18)),
    rgba(255, 255, 255, 0.14) !important;
  color: rgba(31, 41, 55, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-list-tools .filter-chip.active,
html body #practice .stage-practice .question-list-tools .filter-chip.active {
  background:
    linear-gradient(180deg, rgba(29, 30, 34, 0.98), rgba(5, 6, 9, 0.94)),
    rgba(14, 15, 18, 0.96) !important;
  color: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 30px -22px rgba(0, 0, 0, 0.5) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row,
html body #practice .stage-practice .question-row.compact-question-row,
html body #practice.practice-detail-mode .stage-practice .virtual-question-list-window .compact-question-row,
html body #practice .stage-practice .virtual-question-list-window .compact-question-row {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(241, 246, 252, 0.18)),
    rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: rgba(23, 31, 42, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(15, 23, 42, 0.035),
    0 14px 32px -26px rgba(15, 23, 42, 0.32) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row:hover,
html body #practice .stage-practice .question-row.compact-question-row:hover {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.76), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(232, 240, 250, 0.26)),
    rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: rgba(15, 23, 42, 0.98) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 38px -28px rgba(15, 23, 42, 0.38) !important;
}

html body #practice.practice-detail-mode .stage-practice .question-row.compact-question-row.selected,
html body #practice .stage-practice .question-row.compact-question-row.selected {
  background:
    linear-gradient(180deg, rgba(29, 30, 34, 0.98), rgba(5, 6, 9, 0.94)),
    rgba(14, 15, 18, 0.96) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  color: rgba(255, 255, 255, 0.98) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 38px -24px rgba(0, 0, 0, 0.52) !important;
}
