.thaimly-faq{max-width:800px;margin-inline:auto}.thaimly-faq [hidden]{display:none!important}.faq-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:end}.faq-controls label{display:grid;gap:8px;font-weight:650}.faq-controls input,.faq-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;font:inherit}.faq-clear{grid-column:1/-1;justify-self:start;min-height:48px}.faq-count,.faq-independent{color:var(--color-text-secondary,#526174);line-height:1.6}.thaimly-faq section{margin-top:28px}.thaimly-faq h2{font-size:1.25em;line-height:1.35}.thaimly-faq details{border-bottom:1px solid var(--color-border,#d7e0e4);padding:8px 0}.thaimly-faq summary{cursor:pointer;min-height:48px;box-sizing:border-box;padding:12px 4px;font-weight:650;line-height:1.5}.thaimly-faq details p{line-height:1.65;margin:8px 4px 16px;overflow-wrap:anywhere}.faq-sources{padding-left:24px;margin-bottom:20px}.faq-sources a{display:inline-block;min-height:44px;padding:8px 0;box-sizing:border-box;line-height:1.5;color:var(--color-accent-hover,#087b75);text-decoration:underline;overflow-wrap:anywhere}.faq-external{font-size:.85em}.thaimly-faq :is(summary,a,input,select,button):focus-visible{outline:3px solid var(--color-accent,#087b75);outline-offset:3px}.faq-independent{border-top:1px solid var(--color-border,#d7e0e4);margin-top:32px;padding-top:20px}.faq-page .faq-controls input,.faq-page .faq-controls select{padding:12px;border:1px solid #aab8bf;border-radius:12px;background:white;color:#0a2030}.faq-page .faq-clear{border:1px solid #aab8bf;border-radius:12px;padding:10px 16px;background:white;color:#0a2030;cursor:pointer}.faq-page .section{padding-top:24px}.faq-page .page-hero{padding-bottom:24px}
@media(max-width:600px){.faq-controls{grid-template-columns:minmax(0,1fr)}}
html[data-large-text="true"] .faq-controls{grid-template-columns:minmax(0,1fr)}

/* FAQ related answers retain native links and generous touch targets. */
.thaimly-faq .faq-related a { color: var(--color-accent-hover, #087b75); text-decoration: underline; display: flex; align-items: center; min-height: 48px; padding-block: 6px; overflow-wrap: anywhere; }
.thaimly-faq .faq-related ul { padding-inline-start: 1.25rem; }
.thaimly-faq .faq-reviewed { color: inherit; opacity: .8; }

/* FAQ: compact discovery, readable result previews, native disclosure semantics. */
.thaimly-faq [hidden]{display:none!important}
.thaimly-faq .faq-controls{grid-template-columns:minmax(0,1fr)}
.thaimly-faq h2{font-size:1.25rem;line-height:1.4;margin:1.5rem 0 .75rem}
.thaimly-faq h3{font-size:1rem;line-height:1.4;margin:1rem 0 .4rem}
.thaimly-faq .faq-question,.thaimly-faq .faq-topic-label,.thaimly-faq .faq-excerpt{display:block}
.thaimly-faq .faq-topic-label{font-size:.85rem;font-weight:600;color:var(--color-text-secondary,var(--muted,#526174));margin:.5rem 0}
.thaimly-faq .faq-excerpt{font-size:.95rem;font-weight:400;line-height:1.5;color:var(--color-text-secondary,var(--muted,#526174))}
.thaimly-faq details[open] .faq-excerpt{display:none}
.thaimly-faq .faq-topic-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .75rem}
.thaimly-faq .faq-topic-list button{display:flex;justify-content:space-between;gap:.5rem;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--color-border,var(--line,#d7e0e4));padding:.8rem .25rem;text-align:left;min-height:48px;width:100%;font:inherit;cursor:pointer}
.thaimly-faq .faq-results-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.thaimly-faq .faq-recovery{padding:.75rem;border:1px solid var(--color-border,var(--line,#d7e0e4));border-radius:12px}
.thaimly-faq .faq-related h2{font-size:1.1rem}
.thaimly-faq :is(button,input,select,summary,a):focus-visible{outline:3px solid var(--color-accent,var(--jade-dark,#087b75));outline-offset:3px}
.thaimly-faq .btn,.faq-context-link{white-space:normal;min-height:48px;height:auto;line-height:1.4}
.thaimly-faq h1{overflow-wrap:anywhere;line-height:1.25}
.profile-transaction-editing [data-faq-help]{display:none}
@media(max-width:480px){.thaimly-faq .faq-topic-list{grid-template-columns:minmax(0,1fr)}}

.thaimly-faq .faq-question{display:inline}
.thaimly-faq .btn{border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:12px 16px;font:inherit;cursor:pointer}

/* FAQ reading hierarchy: colour supplements explicit labels and list semantics. */
.thaimly-faq .faq-answer-copy { line-height:1.7; color:var(--ink); padding:4px 4px 16px; }
.thaimly-faq .faq-answer-copy p { margin:12px 0 18px; }
.thaimly-faq .faq-answer-copy :is(ul,ol) { padding-inline-start:26px; margin:12px 0 24px; }
.thaimly-faq .faq-answer-copy li { padding-inline-start:5px; margin-block:10px; }
.thaimly-faq .faq-answer-copy li::marker { color:var(--jade-dark); font-weight:750; }
.thaimly-faq .faq-steps > li { margin-bottom:28px; }
.thaimly-faq .faq-steps > li > strong { display:block; font-size:1.1em; color:var(--jade-dark); }
.thaimly-faq .faq-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.thaimly-faq a.faq-action { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:12px 16px; box-sizing:border-box; border-radius:12px; border:1px solid currentColor; color:var(--jade-dark); font-weight:650; text-decoration:underline; line-height:1.45; }
.thaimly-faq .faq-key-note { padding:16px; border-left:4px solid #c38c18; background:rgba(195,140,24,.12); border-radius:8px; }
.thaimly-faq .faq-related { padding-top:16px; border-top:1px solid var(--line); }
.thaimly-faq .faq-related li { margin-bottom:8px; }
.thaimly-faq .faq-topic-label { font-size:.85em; font-weight:400; }
