html:not(.has-js) [data-assistant-ui] { display: none }
.ask-mark {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px;
  border-radius: 10px; color: var(--brass); background: var(--tint);
}
.ask-mark .icon { width: 21px; height: 21px }
.ask-launch {
  margin-top: 16px; padding: 0 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}
.ask-launch > summary {
  display: flex; align-items: center; gap: 13px; padding: 14px 0; list-style: none;
}
.ask-launch > summary::-webkit-details-marker { display: none }
.ask-launch-copy { flex: 1; min-width: 0 }
.ask-launch-copy strong { display: block; font-size: 15px; font-weight: 650 }
.ask-launch-copy > span, .ask-heading p { color: var(--muted); font-size: 13px; line-height: 1.5 }
.ask-launch-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--brass); font-size: 13px; font-weight: 650;
}
.ask-launch[open] .ask-launch-action .icon { transform: rotate(180deg) }
.ask-materials { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 0 14px; padding-bottom: 8px }
.ask-materials a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 3px; border-top: 1px solid var(--line) }
.ask-materials a:hover, .ask-materials a:focus-visible { color: var(--brass) }
.ask-materials strong { display: block; font-size: 13px; font-weight: 600 }
.ask-materials small { display: block; margin-top: 2px; font: 11px/1.5 var(--mono); color: var(--muted) }
.evidence-assistant { scroll-margin-block-start: 12px }
.ask-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px }
.ask-heading p { margin-top: 3px }
.ask-compose { display: flex; align-items: stretch; gap: 8px }
.ask-compose input {
  flex: 1; width: 0; min-width: 0; min-height: 44px; padding: 9px 12px;
  color: var(--ink); background: var(--field,var(--panel)); border: 1px solid var(--field-edge,var(--line));
  border-radius: 8px; font-size: 15px;
}
.ask-compose input::placeholder { color: var(--muted); opacity: 1 }
.record-page .ask-compose button { min-height: 44px; padding-inline: 16px }
.ask-prompts { display: flex; align-items: stretch; flex-wrap: wrap; gap: 5px 7px; margin-top: 9px }
.record-page .ask-prompts button {
  justify-content: flex-start; padding: 5px 9px; border: 1px solid var(--line);
  border-radius: 6px; color: var(--ink); background: var(--panel); text-align: left; font-size: 12px; font-weight: 500;
}
.record-page .ask-prompts button:hover { border-color: var(--brass); color: var(--brass) }
.ask-result { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line) }
.ask-result h3 { font-size: 16px; line-height: 1.4 }
.ask-result > p { max-width: 76ch; margin-top: 6px; line-height: 1.55; white-space: pre-line }
.ask-result h4 { margin: 16px 0 8px; color: var(--muted); font-size: 12px; font-weight: 600 }
.ask-source-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none }
.ask-source-list li { min-width: 0; padding-left: 11px; border-inline-start: 2px solid var(--gold) }
.ask-citation { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; color: var(--ink); font-size: 13px; font-weight: 600 }
.ask-citation .icon { width: 14px; height: 14px; align-self: flex-start; margin-top: 3px; color: var(--brass) }
.ask-citation:hover span { text-decoration: underline; text-underline-offset: 3px }
.ask-source-list blockquote { max-width: 78ch; margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; white-space: pre-wrap }
.ask-source-list .source-reading { margin: 7px 0 0; border: 0; padding: 0 }
.ask-source-list .reading-label { margin: 0; font-size: 11px }
.ask-source-list .reading-copy { max-width: 78ch; font-size: 13px }
@media (max-width: 560px) {
  .ask-launch { padding-inline: 13px }
  .ask-launch > summary { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 4px 10px }
  .ask-launch .ask-mark { align-self: start; grid-row: span 2 }
  .ask-launch-action { grid-column: 2; justify-self: start }
  .record-page .ask-prompts button { min-height: 37px }
  .ask-compose input { font-size: 16px }
  .ask-heading { align-items: flex-start }
}
@media (max-width: 400px) {
  .record-page .ask-compose button { width: 44px; padding-inline: 0 }
  .ask-submit-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
}
