.ask-page { max-width: 46rem; margin: 0 auto; padding: 2rem 1rem 4rem; }
.ask-lead h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: .2rem 0 .8rem; color: var(--type); }
.ask-lead .lede { color: var(--body-type); font-size: 1.12rem; line-height: 1.55; }

.ask-box { margin-top: 1.6rem; }
.ask-label { display: block; font-family: var(--sans); font-size: .95rem; letter-spacing: .04em; color: var(--caption); margin-bottom: .45rem; }
.ask-row { display: flex; gap: .6rem; }
.ask-input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; color: var(--type);
  background: var(--leaf); border: 1px solid var(--gilt-dim); border-radius: 10px; padding: .8rem 1rem;
}
.ask-input::placeholder { color: var(--caption); opacity: .8; }
.ask-input:focus-visible { outline: 2px solid var(--gilt-bright); outline-offset: 2px; border-color: var(--gilt); }
.ask-go { flex: none; min-width: 5.5rem; }

.ask-examples { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; color: var(--caption); font-size: .95rem; }
.ask-examples ul { display: contents; list-style: none; }
.ask-examples li { list-style: none; }
.ask-chip {
  font: inherit; font-size: .95rem; color: var(--type); background: transparent; cursor: pointer;
  border: 1px solid var(--rule, var(--gilt-dim)); border-radius: 999px; padding: .32rem .8rem; min-height: 44px;
}
.ask-chip:hover, .ask-chip:focus-visible { border-color: var(--gilt); color: var(--gilt-bright); }

.ask-answer { margin-top: 2rem; padding: 1.4rem 1.4rem 1.2rem; background: var(--leaf); border: 1px solid var(--gilt-dim); border-radius: var(--card-radius, 14px); }
.ask-answer h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 .6rem; color: var(--gilt-bright); }
.ask-answer h3 { font-family: var(--sans); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--caption); margin: 1.4rem 0 .6rem; }
.ask-answer-body p { font-size: 1.12rem; line-height: 1.6; color: var(--type); margin: 0 0 .8rem; }
.ask-answer-body.kind-not_covered p, .ask-answer-body.kind-advice p, .ask-answer-body.kind-search_only p { color: var(--body-type); }
.ask-thinking { animation: askpulse 1.4s ease-in-out infinite; }
@keyframes askpulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .ask-thinking { animation: none; } }
.ask-cite {
  display: inline-block; min-width: 1.4em; padding: 0 .3em; margin-left: .15em; font-family: var(--sans); font-size: .75em;
  line-height: 1.5; text-align: center; vertical-align: .25em; border-radius: 6px; text-decoration: none;
  background: var(--night-3); color: var(--gilt-bright); border: 1px solid var(--gilt-dim);
}
.ask-cite:hover, .ask-cite:focus-visible { background: var(--gilt); color: var(--night); }

.ask-sources { padding-left: 1.4rem; margin: 0; }
.ask-sources.unnumbered { list-style: none; padding-left: 0; }
.ask-sources li { margin-bottom: 1rem; color: var(--body-type); }
.ask-sources li::marker { color: var(--gilt); font-family: var(--sans); }
.ask-sources li:target { outline: 1px solid var(--gilt); outline-offset: 6px; border-radius: 4px; }
.ask-src-links { display: block; margin-top: .3rem; font-size: .95rem; }
.ask-src-links a, .ask-matches a { color: var(--gilt-bright); }

.ask-matches-wrap { margin-top: 2rem; }
.ask-matches-wrap h2 { font-family: var(--sans); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--caption); margin: 0 0 .6rem; font-weight: 600; }
.ask-matches { list-style: none; padding: 0; margin: 0; }
.ask-matches li { border-top: 1px solid var(--night-3); }
.ask-matches a { display: block; padding: .8rem .2rem; text-decoration: none; color: var(--type); }
.ask-matches a:hover strong, .ask-matches a:focus-visible strong { color: var(--gilt-bright); text-decoration: underline; }
.ask-crumb { display: block; font-family: var(--sans); font-size: .82rem; color: var(--caption); letter-spacing: .03em; }
.ask-matches strong, .ask-sources strong { display: block; font-weight: 600; color: var(--type); margin: .1rem 0 .2rem; }
.ask-snippet { display: block; font-size: .98rem; line-height: 1.5; color: var(--body-type); }
.ask-page mark { background: rgba(216, 178, 92, .22); color: inherit; border-radius: 3px; padding: 0 .1em; }
.ask-muted { color: var(--caption); }

.ask-passage h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.15; margin: .2rem 0 1rem; }
.ask-passage-text p { font-size: 1.12rem; line-height: 1.65; color: var(--type); }

@media (max-width: 520px) {
  .ask-row { flex-direction: column; }
  .ask-go { width: 100%; }
  .ask-answer { padding: 1.1rem; }
}
.ask-nowrap { white-space: nowrap; }
