.ask-page { padding-bottom: clamp(2rem, 5vw, 4rem); }
.ask-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); border-top: 2px solid var(--ink); padding-top: 2rem; }
.ask-workspace { min-width: 0; }
.ask-page [hidden] { display: none; }
.ask-page button, .ask-page textarea, .ask-page select { font: inherit; }
.ask-page :is(button, textarea, select, [tabindex]):focus-visible { outline: 3px solid #bd5a19; outline-offset: 3px; }
#ask-form label { display: block; font-weight: 650; margin-bottom: .4rem; }
#ask-form textarea, #ask-form select {
  color: var(--ink); background: #fff; border: 1px solid #7c8b82; border-radius: 4px; padding: .65rem .85rem;
}
#ask-form select { max-width: 100%; min-height: 2.9rem; margin-bottom: 1.3rem; }
#ask-form textarea { width: 100%; resize: vertical; min-height: 6.5rem; display: block; line-height: 1.5; }
#ask-form .btn { border: 0; cursor: pointer; font-weight: 650; margin-top: 1rem; }
#ask-form .btn:disabled { opacity: .65; cursor: wait; }
#ask-status:not(:empty) { color: var(--body); margin-top: 1rem; }
.ask-page h2 { font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.2; letter-spacing: -.045em; }
.ask-examples { border-top: 3px solid var(--teal); background: #e5eee6; padding: 1.3rem clamp(1.2rem, 2.4vw, 1.85rem); }
.ask-examples ul { padding: 0; margin: .6rem 0 0; list-style: none; }
.ask-examples li + li { border-top: 1px solid #b8c8bb; }
.ask-examples button { border: 0; padding: .7rem 0; background: transparent; cursor: pointer; text-align: left; width: 100%; }
.sample-company { display: block; color: var(--muted); font-size: .875rem; }
.sample-question { color: var(--teal); font-weight: 600; }
.ask-examples button:hover .sample-question { text-decoration: underline; text-underline-offset: .21em; }
#ask-result { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.35rem; overflow-wrap: anywhere; }
#asked-question { color: var(--body); margin-top: .4rem; font-weight: 600; }
#answer-details { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
#ask-answer p { color: var(--body); margin-top: .85rem; white-space: pre-line; }
#ask-answer a, #ask-sources a, .ask-workspace noscript a { color: var(--teal); }
#source-panel { margin-top: 1.25rem; }
#source-panel h3 { font-size: 1.5rem; }
#ask-sources { padding-left: 1.55rem; margin: .5rem 0 0; }
#ask-sources li { margin-bottom: .7rem; }
#ask-sources p { font-size: .95rem; color: var(--body); margin-top: .25rem; }
.research-feedback { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.research-feedback fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.research-feedback legend { padding: 0; font-weight: 600; }
.feedback-actions, #gap-options { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin-top: .45rem; }
.research-feedback button, .research-feedback select { max-width: 100%; color: var(--teal); background: #fff; border: 1px solid #7c8b82; border-radius: 4px; padding: .45rem .7rem; }
.research-feedback button { cursor: pointer; }
.research-feedback select { color: var(--ink); }
.research-feedback button:hover { border-color: var(--teal); }
#gap-options { margin-top: .85rem; }
#gap-options[hidden] { display: none; }
#gap-options label { width: 100%; }
.research-feedback [role=status]:not(:empty) { margin-top: .4rem; color: var(--body); }
@media (max-width: 720px) {
  .ask-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: 1.35rem; }
}
