.ax-research-page { display: flex; min-height: 100dvh; flex-direction: column; }
.ax-research-page main { flex: 1; }
.ax-research-layout { display: grid; grid-template-columns: minmax(0, 48rem) minmax(14rem, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.ax-research-layout > section { min-width: 0; }
.ax-question-form { padding: clamp(.85rem, 2.5vw, 1.25rem); border: 1px solid var(--panel-border, var(--rule)); background: var(--paper); }
.ax-question-form label { color: var(--green); font-weight: 700; }
.ax-research-page textarea { display: block; width: 100%; margin: .45rem 0 .65rem; padding: .7rem; border: 1px solid var(--rule); border-radius: 3px; background: var(--ivory); color: var(--ink); font: inherit; resize: vertical; }
.ax-research-page textarea::placeholder { color: var(--muted); }
.ax-question-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem; }
.ax-question-actions button:disabled { opacity: .65; }
.ax-research-small, #question-count { color: var(--muted); font-size: .86rem; }
.ax-research-page #status:not(:empty) { margin: 1.3rem 0 .65rem; }
.ax-research-page #status:empty, .ax-research-page #action-status:empty { display: none; }
.ax-research-page #status.is-loading::before { display: inline-block; width: .7rem; height: .7rem; margin-inline-end: .45rem; border: 2px solid var(--rule); border-top-color: var(--green); border-radius: 50%; content: ""; animation: ax-research-spin 800ms linear infinite; }
@keyframes ax-research-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ax-research-page #status.is-loading::before { animation: none; } }
.ax-research-aside { align-self: start; padding: 1rem 0; border-block: 1px solid var(--rule); }
.ax-research-aside h2 { margin: 0; color: var(--green); font-size: 1.06rem; }
.ax-research-aside ul { padding: 0; margin: .3rem 0 0; list-style: none; }
.ax-research-aside nav { margin-top: 1.25rem; }
.ax-research-aside li + li { border-top: 1px solid var(--rule); }
.ax-research-aside a, .ax-research-aside button { display: block; width: 100%; min-height: 44px; padding: .52rem .15rem; color: var(--green); text-align: start; overflow-wrap: anywhere; }
.ax-research-aside button { border: 0; background: transparent; cursor: pointer; }
.ax-research-aside :is(a, button):hover { background: var(--active); }
@media (max-width: 760px) {
  .ax-research-layout { grid-template-columns: minmax(0, 1fr); }
}
