.qd-info { display: inline-block; flex: 0 0 auto; position: relative; vertical-align: middle; }
.qd-info > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #c8d9e1; border-radius: 50%; background: #fff; color: #326d81; font-size: .9rem; font-weight: 750; cursor: pointer; }
.qd-info > summary::-webkit-details-marker { display: none; }
.qd-info > summary:hover,.qd-info > summary[aria-expanded="true"] { background: #eaf2f5; }
.qd-info > summary:focus-visible { outline: 3px solid #0FB5BA; outline-offset: 3px; }
.qd-info-content { max-width: 46rem; padding: 18px; margin-top: 12px; background: #f4f8fa; border: 1px solid #d8e4e9; border-radius: 10px; text-align: left; font-weight: 400; }
.qd-info[open] { display: block; }
.qd-info-content p { font-size: .9rem; color: #40575f; }
.qd-info-content h2 { font-size: 1.05rem; }
.qd-title-with-info { display: flex; align-items: center; gap: 12px; justify-content: space-between; min-width: 0; }
.qd-title-with-info h1,.qd-title-with-info h2,.qd-title-with-info h3 { margin-bottom: 0; }
.qd-help-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
.qd-info-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px,100vw); height: 100%; max-height: 100%; max-width: 100%; padding: 0; border: 0; border-left: 1px solid #d8e4e9; background: #fff; color: #284752; box-shadow: -8px 0 32px #18303825; }
.qd-info-dialog::backdrop { background: #17344055; }
.qd-info-dialog > header { position: sticky; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px; background: #fff; border-bottom: 1px solid #e4ecef; z-index: 1; }
.qd-info-dialog > header h2 { margin: 0; font-size: 1.2rem; }
.qd-info-dialog > header .button { flex: 0 0 auto; }
.qd-info-dialog-content { padding: 24px; }
.qd-info-dialog-content h3 { font-size: 1rem; margin: 20px 0 8px; }
.qd-info-dialog-content > :first-child { margin-top: 0; }
.qd-info-dialog-content p { font-size: .92rem; color: #40575f; line-height: 1.6; overflow-wrap: anywhere; }
@media(pointer:coarse) { .qd-info > summary { width: 44px; height: 44px; } }
@media(max-width:700px) {
    .qd-info-dialog { inset: auto 0 0; width: 100%; height: auto; max-height: 88vh; max-height: 88dvh; border-radius: 18px 18px 0 0; border: 0; }
    .qd-info-dialog > header { padding: 18px; }
    .qd-info-dialog-content { padding: 18px 18px calc(18px + env(safe-area-inset-bottom,0px)); }
}
