.workspace-mobile-tabs { display: none; }
@media (max-width: 1023px) {
  .workspace-mobile-tabs {
    display: flex; gap: 8px; padding: 12px 24px;
    grid-column: 1 / -1; position: sticky; top: 0; z-index: 20;
    background: var(--bg-canvas);
  }
  .workspace-mobile-tabs button {
    min-height: 44px; flex: 1; border-radius: 12px;
    border: 1px solid var(--border-soft); background: var(--bg-subtle);
  }
  .workspace-mobile-tabs button[aria-pressed="true"] {
    background: var(--accent); color: white;
  }
  #view-exam[data-mobile-pane="question"] #exam-left-pane,
  #view-exam[data-mobile-pane="calculator"] #exam-right-pane,
  #view-arena[data-mobile-pane="question"] #arena-calculator-pane,
  #view-arena[data-mobile-pane="calculator"] #arena-question-pane { display: none; }
  #view-arena, #exam-split-area { padding: 12px; gap: 12px; }
  #view-arena > *, #exam-split-area > * { min-width: 0; }
  .katex-display { overflow-x: auto; overflow-y: hidden; padding-block: 8px; }
  #home-cb-search { min-width: 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.seo-guide { max-width: 1100px; margin: 24px auto; padding: 28px; display: grid; gap: 20px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 20px; }
.seo-guide h2 { font-size: 1.5rem; font-weight: 800; }
.seo-guide h3 { font-size: 1.1rem; font-weight: 700; }
.seo-guide p { line-height: 1.8; color: var(--text-secondary); }
.seo-guide a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.seo-guide summary { cursor: pointer; padding: 12px 0; }
.seo-math { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; font-family: 'JetBrains Mono', monospace; padding: 12px; background: var(--bg-subtle); border-radius: 12px; }
