/* EMOD App — Ask EMOD (#/ask). Dark rules follow the app pattern: media query + html[data-theme]. */
.ask-intro p { font-size: 14px; line-height: 1.5; }
.ask-box { margin: 12px 0 8px; padding-inline-end: 6px; }
.ask-box input { min-width: 0; }
.ask-box .ask-go { width: auto; padding: 9px 16px; border-radius: 11px; box-shadow: none; flex: none; font-size: 14px; }
.ask-ex { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.ask-ex::-webkit-scrollbar { display: none; }
.ask-ex button { flex: none; background: var(--card); border: 1px solid var(--line); color: var(--navy-ink); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ask-q { padding: 10px 4px 6px; }
.ask-q p { font-size: 16px; font-weight: 800; line-height: 1.3; margin-top: 2px; }
.ask-a { font-size: 15px; line-height: 1.55; border-inline-start: 4px solid var(--teal); }
.ask-a p + p, .ask-a ul + p, .ask-a p + ul { margin-top: 9px; }
.ask-a ul { padding-inline-start: 18px; }
.ask-a li + li { margin-top: 4px; }
.ask-cite { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin: 0 1px; border-radius: 7px; background: var(--navy-soft); color: var(--navy-ink); font-size: 11.5px; font-weight: 900; vertical-align: 2px; text-decoration: none; }
.ask-foot { padding: 6px 4px 0; }
.ask-src { align-items: flex-start; }
.ask-src .ask-n { margin-top: 2px; }
.ask-src .txt small { white-space: normal; }
.ask-snip { display: block; font-size: 12.5px; color: var(--slate); line-height: 1.4; margin-top: 5px; }
.ask-wait { display: flex; align-items: center; gap: 10px; padding: 22px 8px; color: var(--slate); font-size: 14px; font-weight: 700; }
.ask-wait .spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: ask-spin .8s linear infinite; }
@keyframes ask-spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--teal-ink); cursor: pointer; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ask-ex button { color: #cfe3f3; }
  html:not([data-theme="light"]) .ask-cite { background: rgba(207,227,243,.14); color: #cfe3f3; }
}
html[data-theme="dark"] .ask-ex button { color: #cfe3f3; }
html[data-theme="dark"] .ask-cite { background: rgba(207,227,243,.14); color: #cfe3f3; }

.ask-basis { display: block; font-size: 12px; font-weight: 700; color: var(--teal-ink); margin-top: 4px; line-height: 1.35; }
