/* R41 fio (R42: buttons only) – the five common questions and "Weitere Fragen" in Fio's window, the sentence of the part of the page in view (.fio-now),
   one button per bubble, "Kurz erklärt" spot on /projekt and a readable "Fio hilft" on blue and dark ground. */

/* the window: journey's station line and message are replaced by .fio-now (they could show an old sentence) */
.fio-win .fox-station,.fio-win .fox-message{display:none!important}

/* ---------- R42: only buttons – "Häufige Fragen" (five), "Weitere Fragen" (prepared answers), then the direct way to Furkan */
.fio-list[hidden],.fio-answer[hidden],.fio-group[hidden]{display:none}
.fio-group{margin:12px 14px 0;padding:0}
.fio-group-title{margin:0 0 6px;font:800 10.5px/1.3 Manrope,Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#5c6a66}
.fio-win .fio-chips{gap:6px}
.fio-win .fio-chips button{min-height:32px;padding:5px 11px;font-size:12px}
.fio-more .fio-chips button{border-color:rgba(29,45,43,.22);color:#1d2d2b;font-weight:600}
.fio-more .fio-chips button:hover{border-color:#304ee7;color:#304ee7;background:#fff}
.fio-contact{margin:14px 14px 4px;padding:10px 0 0;border-top:1px dashed rgba(29,45,43,.16)}
.fio-contact p{margin:0}
.fio-contact-q{font:750 12.5px/1.4 Manrope,Arial,sans-serif;color:#1d2d2b}
.fio-contact-go{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:4px!important}
.fio-contact a{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:#304ee7;font:700 12.5px/1.2 Manrope,Arial,sans-serif;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
.fio-contact a svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.fio-contact a:focus-visible,.fio-answer a:focus-visible,.fio-back:focus-visible{outline:2px solid #304ee7;outline-offset:2px;border-radius:3px}

/* one answer at a time */
.fio-answer{margin:12px 14px 4px}
.fio-ans-q{margin:0 0 8px;font:800 14px/1.4 Manrope,Arial,sans-serif;color:#1d2d2b;outline:none}
.fio-answer .fio-a{max-width:none;padding:10px 12px;border-radius:10px;background:#f2f0e6;border:1px solid rgba(29,45,43,.08);font-size:13.5px;line-height:1.55;overflow-wrap:anywhere}
.fio-answer .fio-a p{margin:0}
.fio-answer .fio-links{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px!important}
.fio-answer .fio-a a{color:#304ee7;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.fio-answer .fio-a small{display:block;margin-top:6px;font-size:11px;line-height:1.4;color:#5c6a66}
.fio-back{display:inline-flex;align-items:center;gap:6px;min-height:34px;margin:10px 0 0;padding:6px 12px;border:1px solid rgba(48,78,231,.35);border-radius:999px;background:#fff;color:#2840d8;font:750 12px/1.2 Manrope,Arial,sans-serif;cursor:pointer}
.fio-back:hover{background:rgba(48,78,231,.06)}

/* ---------- what Fio says about the part of the page in view */
.fio-now{flex:none;margin:12px 14px 2px;padding:8px 11px 9px;border-left:3px solid #304ee7;border-radius:3px 10px 10px 3px;background:rgba(48,78,231,.05)}
.fio-now[hidden]{display:none}
.fio-now p{margin:0}
.fio-now-label{font:800 10.5px/1.3 Manrope,Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#5c6a66}
.fio-now-label:empty{display:none}
.fio-now-text{margin-top:2px!important;font-size:13px;line-height:1.5;color:#33433f}
.fio-now-go:empty{display:none}
.fio-now-go{margin-top:6px}
.fio-now-go button,.fio-say-go{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:1.5px solid #304ee7;border-radius:999px;background:#fff;color:#2840d8;font:750 12px/1.2 Manrope,Arial,sans-serif;cursor:pointer;text-align:left}
.fio-now-go button:hover,.fio-say-go:hover{background:#304ee7;color:#fff}
.fio-now-go button:focus-visible,.fio-say-go:focus-visible{outline:2px solid #304ee7;outline-offset:2px}

/* ---------- the bubble: sentence + at most one button */
.fio-say-body{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.fio-say-go[hidden]{display:none}

/* /projekt: "Kurz erklärt" points at the short box under the title */
.pj-brief.fio-spot{outline:2px dashed #304ee7;outline-offset:6px;border-radius:6px;transition:outline-color .4s}

/* ---------- "Fio hilft": a small paper label – readable on white, on the blue areas, after "Licht aus" and in the dark view
   (the dark view inverts the whole page: the label becomes a dark label with light writing) */
.fox-root .fox-name{left:50%;right:auto;bottom:-3px;width:max-content;translate:-50% 0;padding:1px 7px 2px;border-radius:999px;background:#fffef9;color:#1d2d2b;opacity:1;box-shadow:0 0 0 1px rgba(29,45,43,.18),0 2px 6px -2px rgba(23,38,42,.35)}
.fox-root[data-open=true] .fox-name{opacity:1}
.fio-win.is-answer .fio-now{display:none}
.fio-win.is-sheet .fio-chips button,.fio-win.is-sheet .fio-back{min-height:38px}
