/* Het vrije gesprek (gesprek.js). Alle kleuren komen uit de variabelen van de
   gekozen stijl (--wg-*), zodat de vijf hun eigen gezicht houden. Raakvlakken
   minstens 44 pixels hoog (opdracht hoofdstuk 9). */
#woongpt-refined .wg .wgx-grid{display:block}
#woongpt-refined .wg .wgx-log{display:flex;flex-direction:column;min-width:0}
#woongpt-refined .wg .wgx-hulp{display:flex;gap:12px;align-items:flex-start;margin:6px 0 18px;color:var(--wg-ink);font-size:15px;line-height:1.6}
#woongpt-refined .wg .wgx-teken{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;color:var(--wg-accent);margin-top:1px}
#woongpt-refined .wg .wgx-teken .woon-mark{width:24px!important;height:24px!important}
#woongpt-refined .wg .wgx-tekst{min-width:0;flex:1}
#woongpt-refined .wg .wgx-tekst p{margin:0 0 8px;overflow-wrap:anywhere}
#woongpt-refined .wg .wgx-tekst p:last-child{margin-bottom:0}
#woongpt-refined .wg .wgx-blok{margin:10px 0;padding:14px 16px;border:1px solid var(--wg-line);border-radius:14px;background:var(--wg-soft);font-size:14px;line-height:1.55}
#woongpt-refined .wg .wgx-blok p{white-space:pre-wrap}
#woongpt-refined .wg .wgx-blokkop{font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--wg-muted);margin:0 0 6px!important}
#woongpt-refined .wg .wgx-blok strong{display:block;margin-bottom:4px}
#woongpt-refined .wg .wgx-verwijs ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#woongpt-refined .wg .wgx-verwijs li{display:grid;gap:2px}
#woongpt-refined .wg .wgx-verwijs a{display:inline-flex;align-items:center;min-height:44px;color:var(--wg-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
#woongpt-refined .wg .wgx-verwijs span,#woongpt-refined .wg .wgx-verwijs small{color:var(--wg-muted)}
#woongpt-refined .wg .wgx-antwoorden{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px 38px}
#woongpt-refined .wg .wgx-letters,#woongpt-refined .wg .wgx-rijknoppen{display:flex;flex-wrap:wrap;gap:8px;width:100%;align-items:center}
#woongpt-refined .wg .wgx-chip{min-height:44px;padding:0 16px;border:1px solid color-mix(in srgb,var(--wg-ink) 28%,transparent);border-radius:999px;background:transparent;color:var(--wg-ink);font:inherit;font-size:14px;cursor:pointer}
#woongpt-refined .wg .wgx-chip[aria-pressed="true"]{background:var(--wg-soft);border-color:var(--wg-ink)}
#woongpt-refined .wg .wgx-letter{min-width:44px;padding:0}
#woongpt-refined .wg .wgx-verder{background:var(--wg-ink);color:var(--wg-bg);border-color:var(--wg-ink)}
#woongpt-refined .wg .wgx-link{min-height:44px;padding:0 6px;border:0;background:none;color:var(--wg-muted);font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#woongpt-refined .wg .wgx-chip:focus-visible,#woongpt-refined .wg .wgx-link:focus-visible,#woongpt-refined .wg .wgx-knop:focus-visible{outline:2px solid var(--wg-accent);outline-offset:2px}
#woongpt-refined .wg .wgx-knoprij{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;margin:4px 0 6px 38px}
#woongpt-refined .wg .wgx-knop{min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--wg-accent);color:var(--wg-onaccent,#fff);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
#woongpt-refined .wg .wgx-onder{margin:0 0 20px 38px;color:var(--wg-muted);font-size:13px;text-align:right}
#woongpt-refined .wg .wgx-kaart{border:1px solid var(--wg-line);border-radius:14px;background:var(--wg-panel,var(--wg-bg));color:var(--wg-ink);font-size:14px;overflow:hidden}
#woongpt-refined .wg .wgx-kaart header{display:flex;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid var(--wg-line)}
#woongpt-refined .wg .wgx-kaart header span{color:var(--wg-muted);font-size:13px}
#woongpt-refined .wg .wgx-kaart dl{margin:0}
#woongpt-refined .wg .wgx-rij{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 16px;border-top:1px solid var(--wg-line)}
#woongpt-refined .wg .wgx-rij:first-child{border-top:0}
#woongpt-refined .wg .wgx-rij dt{color:var(--wg-muted)}
#woongpt-refined .wg .wgx-rij dd{margin:0;overflow-wrap:anywhere}
#woongpt-refined .wg .wgx-rij.is-nu{background:var(--wg-soft)}
#woongpt-refined .wg .wgx-rij.is-nu dt{color:var(--wg-ink);font-weight:600}
#woongpt-refined .wg .wgx-stand b{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--wg-ink);color:var(--wg-bg);font-size:11px;font-weight:600}
#woongpt-refined .wg .wgx-kaart-inline{margin:0 0 16px}
#woongpt-refined .wg .wgx-kaart-vast{display:none}
#woongpt-refined .wg .wgx-form{margin-top:8px}
#woongpt-refined .wg .wgx-form textarea{min-height:44px}
#woongpt-refined .wg .wgx-hint{color:var(--wg-muted);font-size:13px}
#woongpt-refined .wg .wgx-melding{margin:10px 0 0;color:var(--wg-muted);font-size:12px;text-align:center}
#woongpt-refined .wg .wgx-punten{display:inline-flex;gap:5px;align-items:center;height:26px}
#woongpt-refined .wg .wgx-punten i{width:6px;height:6px;border-radius:50%;background:var(--wg-muted);animation:wgx-punt 1.2s ease-in-out infinite}
#woongpt-refined .wg-studio .wgx-punten i{border-radius:0}
#woongpt-refined .wg .wgx-punten i:nth-child(2){animation-delay:.15s}
#woongpt-refined .wg .wgx-punten i:nth-child(3){animation-delay:.3s}
#woongpt-refined .wg .wgx-wacht .wgx-teken{animation:wgx-teken 1.6s ease-in-out infinite}
@keyframes wgx-punt{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@keyframes wgx-teken{0%,100%{transform:scale(1)}50%{transform:scale(.9)}}
@media(prefers-reduced-motion:reduce){#woongpt-refined .wg .wgx-punten i,#woongpt-refined .wg .wgx-wacht .wgx-teken{animation:none}}
@media(min-width:1024px){
 #woongpt-refined .wg.is-gesprek .wg-main{max-width:1080px}
 #woongpt-refined .wg .wgx-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
 #woongpt-refined .wg .wgx-kaart-vast{display:block;position:sticky;top:24px}
 #woongpt-refined .wg .wgx-kaart-inline{display:none}
 #woongpt-refined .wg .wgx-form,#woongpt-refined .wg .wgx-melding{max-width:calc(100% - 352px)}
}
@media(max-width:540px){
 #woongpt-refined .wg .wgx-antwoorden,#woongpt-refined .wg .wgx-knoprij,#woongpt-refined .wg .wgx-onder{margin-left:0}
 #woongpt-refined .wg .wgx-knoprij{justify-content:flex-end}
 #woongpt-refined .wg .wgx-rij{grid-template-columns:64px minmax(0,1fr) auto;padding:9px 12px}
}
#woongpt-refined .wg .wgx-fout{margin:6px 0 18px}
#woongpt-refined .wg .wgx-melding-start{margin:8px 0 0;max-width:none}
#woongpt-refined .wgx-veld{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}
#woongpt-refined .wg .wgx-teller{color:var(--wg-muted);font-size:12px;margin-left:auto;margin-right:8px}
