html, body { min-width: 0; height: 100%; }
body { overflow: hidden; }
.app-shell { height: 100%; min-height: 0; }
.sidebar { height: 100dvh; overflow-y: auto; }
.main-content { height: 100dvh; overflow-y: auto; }
.browser-fallback { align-items: stretch; justify-content: flex-start; padding: 22px; text-align: left; }
.demo-preview-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-preview-heading img { border-radius: 5px; }
.demo-preview-heading strong, .demo-preview-heading span { display: block; font-size: 11px; }
.demo-preview-heading span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.demo-preview-content { padding-top: 24px; }
.demo-preview-content h2 { font-size: 15px; line-height: 1.7; }
.demo-question-list { display: grid; margin-top: 16px; }
.demo-question { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #405c80; font: inherit; font-size: 12px; line-height: 1.7; text-align: left; cursor: pointer; }
.demo-question:hover { color: #2b75ed; }
.demo-question svg { width: 15px; height: 15px; flex: none; }
.demo-filled-answer { margin-top: 18px; min-height: 290px; width: 100%; line-height: 1.9; font-size: 12px; }
.demo-preview-status { display: block; margin-top: 14px; color: #278977; font-size: 11px; }
dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
@media (max-width: 720px) {
  body { overflow-y: auto; }
  .app-shell, .main-content { height: auto; overflow: visible; }
  .sidebar { height: auto; overflow: visible; }
  .topbar { flex-wrap: wrap; height: auto; min-height: 64px; padding-block: 10px; gap: 8px; }
  .global-search { max-width: none; }
  .page-actions { flex-wrap: wrap; }
  .console-draft-actions { flex-wrap: wrap; }
  .view-tabs { max-width: 100%; overflow-x: auto; }
  .view-tab { flex-shrink: 0; }
  .brand-lockup-main { flex-shrink: 1; min-width: 0; }
  .brand-lockup-main > div { min-width: 0; }
  .brand-lockup strong { font-size: 13px; white-space: nowrap; }
  .brand-switcher-wrap { max-width: 42%; }
}
