/* FAQ-only presentation. Other help windows retain their existing styles. */
#helpOverlayWrapper.faq-host { position: static; top: auto; left: auto; transform: none; width: 0; height: 0; max-height: none; padding: 0; border: 0; overflow: visible; background: none; box-shadow: none; }
#helpOverlayWrapper.faq-host > #faqDialog { box-sizing: border-box; position: fixed; inset: 0; transform: none; width: min(820px, calc(100vw - 24px)); max-width: none; height: 620px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid #9ab0c0; border-top: 4px solid #326fa9; border-radius: 7px; background: #fff; color: #263b49; box-shadow: 0 10px 36px #0005; overflow: hidden; text-align: left; font: 14px/1.5 Arial, Helvetica, sans-serif; }
#faqDialog:not([open]) { display: none; }
#faqDialog::backdrop { background: rgb(25 50 68 / 38%); }
#faqDialog *, #faqDialog *::before, #faqDialog *::after { box-sizing: border-box; }
#faqDialog [hidden] { display: none !important; }
#faqDialog #faqContent { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 0; }
#faqDialog button, #faqDialog a, #faqDialog select, #faqDialog input { float: none; margin: 0; font-family: Arial, Helvetica, sans-serif; }
#faqDialog button, #faqDialog a { cursor: pointer; }
#faqDialog button { color: #263b49; }
#faqDialog p { margin: 0; padding: 0; }
#faqDialog svg { display: block; flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#faqDialog img { pointer-events: none; }
#faqDialog .faq-header { position: static; display: block; flex: 0 0 auto; margin: 0; padding: 16px 18px 10px; border: 0; border-bottom: 1px solid #dce3e8; background: #fff; z-index: auto; }
#faqDialog .faq-title-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
#faqDialog .faq-help-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 46px; border-radius: 6px; background: #e0effc; color: #2877b7; font: bold 33px/1 Arial, sans-serif; }
#faqDialog #faqTitle { margin: 0; padding: 0; color: #1c3447; font: 600 22px/27px Arial, Helvetica, sans-serif; }
#faqDialog #faqDescription { margin: 3px 0 0; color: #5d6c7b; font: 13px/18px Arial, Helvetica, sans-serif; }
#faqDialog #closeButton { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; align-self: start; width: 40px; height: 40px; min-width: 40px; margin: 0; padding: 8px; border: 1px solid #d2dce4; border-radius: 5px; background: #f3f6f9; color: #607080; box-shadow: none; font: 16px/20px Arial, sans-serif; }
#faqDialog #closeButton:hover { border-color: #829caf; background: #e4edf4; color: #24485f; }
#faqDialog .faq-search { display: flex; align-items: center; gap: 10px; min-width: 0; height: 38px; margin-top: 13px; padding: 0 11px; border: 1px solid #cbd4dd; border-radius: 4px; background: #f3f5f7; color: #8895a2; cursor: not-allowed; }
#faqDialog #faqSearch { display: block; flex: 1 1 0; width: 0; min-width: 0; height: 34px; padding: 5px 0 !important; border: 0; border-radius: 0; background: transparent; color: #7c8895; box-shadow: none; opacity: 1; font: 14px/20px Arial, Helvetica, sans-serif; cursor: not-allowed; }
#faqDialog #faqSearch::placeholder { color: #7c8895; opacity: 1; }
#faqDialog #faqSearchStatus { margin: 4px 0 0; color: #687685; font: 11px/15px Arial, Helvetica, sans-serif; }
#faqDialog .faq-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); flex: 1 1 0; min-height: 0; overflow: hidden; }
#faqDialog .faq-topics { min-width: 0; padding: 16px 8px; border-right: 1px solid #dce3e8; background: #f6f8fb; overflow-y: auto; overscroll-behavior: contain; }
#faqDialog .faq-topics-caption { margin: 0 8px 9px; color: #667585; text-transform: uppercase; font: 12px/17px Arial, Helvetica, sans-serif; }
#faqDialog .faq-topic { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin: 0 0 5px; padding: 9px 8px; border: 0; border-left: 3px solid transparent; border-radius: 4px; background: transparent; box-shadow: none; color: #465b6d; text-align: left; font: 13px/18px Arial, Helvetica, sans-serif; }
#faqDialog .faq-topic span { min-width: 0; overflow-wrap: anywhere; }
#faqDialog .faq-topic svg { width: 20px; height: 20px; }
#faqDialog .faq-topic:hover { background: #eaf0f5; }
#faqDialog .faq-topic[aria-selected="true"] { border-left-color: #2877b7; background: #dfedfa; color: #1e6297; font-weight: 600; }
#faqDialog .faq-map-context { display: flex; align-items: center; gap: 10px; margin: 14px 7px 0; padding-top: 14px; border-top: 1px solid #d7e0e7; color: #5b6c7e; font: 12px/18px Arial, Helvetica, sans-serif; }
#faqDialog .faq-map-context svg { width: 26px; height: 28px; }
#faqDialog .faq-map-context span { min-width: 0; overflow-wrap: anywhere; }
#faqDialog .faq-mobile-topics { display: none; }
#faqDialog #helpOverlayContent { min-width: 0; min-height: 0; height: auto; padding: 16px 18px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding: 8px; }
#faqDialog .faq-topic-panel { margin: 0; padding: 0; }
#faqDialog .faq-topic-panel h2 { margin: 0; padding: 0; border: 0; background: none; color: #1c3447; font: 600 18px/24px Arial, Helvetica, sans-serif; }
#faqDialog .faq-topic-description { margin: 2px 0 13px; color: #637487; font: 13px/19px Arial, Helvetica, sans-serif; }
#faqDialog .faq-article { margin: 0 0 7px; padding: 0; border: 1px solid #d1dce4; border-radius: 4px; background: #fff; overflow: hidden; }
#faqDialog .faq-article:last-child { margin-bottom: 0; }
#faqDialog summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; margin: 0; padding: 10px 12px; color: #253d50; font: 600 14px/20px Arial, Helvetica, sans-serif; list-style: none; cursor: pointer; overflow-wrap: anywhere; }
#faqDialog summary::-webkit-details-marker { display: none; }
#faqDialog summary::after { content: ''; flex: 0 0 8px; width: 8px; height: 8px; margin-right: 2px; border-right: 2px solid #65788b; border-bottom: 2px solid #65788b; transform: rotate(45deg); }
#faqDialog summary:hover { background: #f0f6fb; }
#faqDialog details[open] summary { border-bottom: 1px solid #d8e4ee; background: #eaf4fc; }
#faqDialog details[open] summary::after { transform: rotate(225deg); border-color: #326fa9; }
#faqDialog .faq-answer { padding: 12px; color: #364d5f; font: 14px/21px Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
#faqDialog .faq-answer p { margin: 0 0 10px; font: inherit; }
#faqDialog .faq-answer > :last-child { margin-bottom: 0; }
#faqDialog .faq-answer ul, #faqDialog .faq-answer ol { margin: 8px 0; padding-left: 20px; list-style: revert; }
#faqDialog .faq-answer li { margin: 3px 0; padding: 0; background: none; }
#faqDialog .faq-footer { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 12px; min-height: 56px; padding: 10px 18px; border-top: 1px solid #dce3e8; background: #fff; }
#faqDialog .faq-footer a { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: #23679f; font: 13px/18px Arial, Helvetica, sans-serif; text-decoration: underline; text-underline-offset: 2px; }
#faqDialog .faq-footer img { display: block; flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; }
#faqDialog #closeHelp { display: block; width: auto; min-height: 36px; height: auto; margin: 0; padding: 7px 13px; border: 1px solid #326fa9; border-radius: 4px; background: #fff; color: #286399; box-shadow: none; font: 600 13px/20px Arial, Helvetica, sans-serif; }
#faqDialog #closeHelp:hover { background: #eaf4fc; }
#faqDialog button:focus-visible, #faqDialog a:focus-visible, #faqDialog summary:focus-visible, #faqDialog select:focus-visible, #faqDialog .faq-topic-panel:focus-visible { outline: 2px solid #2877b7; outline-offset: -2px; }
@media (max-width: 650px) {
    #helpOverlayWrapper.faq-host > #faqDialog { width: calc(100vw - 16px); height: 680px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
    #faqDialog .faq-header { padding: 12px 12px 8px; }
    #faqDialog .faq-title-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 9px; }
    #faqDialog .faq-help-icon { width: 34px; height: 40px; font-size: 28px; }
    #faqDialog #faqTitle { font-size: 20px; line-height: 25px; }
    #faqDialog #faqDescription { font-size: 12px; line-height: 16px; }
    #faqDialog .faq-layout { display: flex; flex-direction: column; }
    #faqDialog .faq-topics { display: none; }
    #faqDialog .faq-mobile-topics { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #dce3e8; background: #f6f8fb; }
    #faqDialog .faq-mobile-topics label { float: none; width: auto; margin: 0; padding: 0; color: #5b6c7e; font: 12px/18px Arial, Helvetica, sans-serif; }
    #faqDialog #faqTopicSelect { flex: 1 1 0; width: 0; min-width: 0; height: 32px; padding: 4px 6px; border: 1px solid #afc0ce; border-radius: 3px; background: #fff; color: #263b49; font: 13px/20px Arial, Helvetica, sans-serif; }
    #faqDialog #helpOverlayContent { flex: 1 1 0; padding: 12px; scrollbar-gutter: auto; }
    #faqDialog .faq-footer { gap: 6px; padding: 8px 12px; }
    #faqDialog .faq-footer a { gap: 6px; font-size: 12px; }
}
@media (max-height: 440px) {
    #faqDialog .faq-header { padding-top: 8px; padding-bottom: 6px; }
    #faqDialog .faq-search { margin-top: 7px; }
    #faqDialog .faq-footer { min-height: 46px; padding-top: 5px; padding-bottom: 5px; }
}
