/* Intentionally inherits DDQX Website v3 theme tokens, light/dark modes and typography. */
.ddqx-anki-main{width:100%;min-width:0}
.ddqx-anki-shell{box-sizing:border-box;max-width:1180px;margin-inline:auto;padding:clamp(18px,3vw,36px);color:inherit;font:inherit}
.ddqx-anki-shell *{box-sizing:border-box;overflow-wrap:break-word}
.ddqx-anki-shell h1,.ddqx-anki-shell h2{font-family:inherit;color:inherit;line-height:1.28}
.ddqx-anki-shell p{max-width:85ch;line-height:1.6}
.ddqx-anki-kicker,.ddqx-anki-meta,.ddqx-anki-id{font-size:.85rem;letter-spacing:.025em}
.ddqx-anki-id{opacity:.86;font-family:ui-monospace,monospace;word-break:break-all}
.ddqx-anki-jumps,.ddqx-anki-pagination{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
.ddqx-anki-shell a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ddqx-anki-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-block:25px}
.ddqx-anki-filter label{font-weight:600;font-size:.9rem}
.ddqx-anki-filter input,.ddqx-anki-filter select{min-width:140px;max-width:100%;padding:10px 12px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:4px}
.ddqx-anki-filter input[type=search]{flex:1 1 220px}
.ddqx-anki-filter button{cursor:pointer;border:1px solid currentColor;border-bottom-width:5px;border-radius:4px;padding:10px 18px;background:transparent;color:inherit;font:inherit;font-weight:600}
.ddqx-anki-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:16px;margin:18px 0 26px}
.ddqx-anki-list-item{min-width:0;min-height:190px;padding:18px 20px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 25%,transparent);border-radius:6px;display:flex;flex-direction:column;align-items:start}
.ddqx-anki-list-item a{margin-top:auto}
.ddqx-anki-prompt{padding-block:18px;font-weight:650;font-size:1.15rem}
.ddqx-anki-reveal{padding:18px 20px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 30%,transparent);border-radius:6px;margin:16px 0}
.ddqx-anki-reveal summary{cursor:pointer;font-weight:650}
.ddqx-anki-answer{padding-top:14px}
.ddqx-anki-relations,.ddqx-anki-report,.ddqx-anki-source-callout,.ddqx-anki-exports{margin-block:26px;padding-block:18px;border-block-start:1px solid currentColor;border-color:color-mix(in srgb,currentColor 28%,transparent)}
.ddqx-anki-shell :focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media(max-width:540px){.ddqx-anki-shell{padding:16px}.ddqx-anki-filter{display:grid;grid-template-columns:1fr}.ddqx-anki-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ddqx-anki-shell *, .ddqx-anki-shell *::before, .ddqx-anki-shell *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
