/* "Making your meeting easy for you" (docs/modules/vulnerability.md 0.4): the portal's gentle card and questions
   (feos:portal-support-needs, feos:support-needs-form), the adviser's "Before the meeting" card (feos:support-needs-ui)
   and the two windows (feos:views/support-needs/*). Calm: the firm's colour (FirmLook: --feos-brand) used softly. */

/* ---------- the portal: the card under the menu ---------- */
.feos-sn-tile { position: relative; margin-top: 12px; padding: 18px 18px 16px; border-radius: 14px; background: #fff;
    border: 1px solid #e3eaf1; border-left: 4px solid var(--feos-brand, #2090d0);
    box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 4px 16px rgba(17,17,17,.04); }
.feos-sn-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; background: rgba(32,144,208,.1); color: var(--feos-brand, #0a72ba); font-size: 15px; margin-bottom: 8px; }
.feos-sn-tile h3 { font-size: 16px; line-height: 1.35; font-weight: 700; margin: 0 0 6px; color: var(--feos-ink, #0f1b26); }
.feos-sn-tile p { font-size: 13.5px; line-height: 1.5; color: var(--feos-muted, #5b6875); margin: 0 0 12px; }
.feos-sn-tile-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- the portal: Your meeting ---------- */
.feos-sn-card { max-width: 760px; }
.feos-sn-card h2 .feos-sn-tr { font-size: 15px; }
.feos-sn-lead { font-size: 15px !important; }
.feos-sn-calm { color: var(--feos-muted, #5b6875); }
.feos-sn-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.feos-sn-grow { flex: 1 1 auto; }
.feos-sn-skip { border: 0; background: none; color: var(--feos-muted, #5b6875); font-size: 14px; font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 6px; }
.feos-sn-link { border: 0; background: none; padding: 0 0 0 6px; color: var(--feos-brand, #0a72ba); font-size: inherit;
    text-decoration: underline; cursor: pointer; }
.feos-sn-progress { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 14px;
    font-size: 13px; color: var(--feos-muted, #5b6875); }
.feos-sn-dots { display: inline-flex; gap: 5px; }
.feos-sn-dots span { width: 8px; height: 8px; border-radius: 50%; background: #dfe6ee; }
.feos-sn-dots span.is-done { background: var(--feos-brand, #2090d0); opacity: .45; }
.feos-sn-dots span.is-now { background: var(--feos-brand, #0a72ba); box-shadow: 0 0 0 3px rgba(10,114,186,.15); }

/* English first, the client's language under it */
.feos-sn-en, .feos-sn-tr { display: block; }
.feos-sn-tr { color: var(--feos-brand, #0a72ba); font-weight: 500; margin-top: 2px; }
.feos-sn-qtext { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--feos-ink, #0f1b26); margin: 0 0 6px; }
.feos-sn-qtext .feos-sn-tr { font-size: 16px; font-weight: 600; }
.feos-sn-hint { font-size: 13px; color: var(--feos-muted, #5b6875); margin-bottom: 10px; }
.feos-sn-hint .feos-sn-tr { font-weight: 400; }
.feos-sn-part { margin-top: 12px; }
.feos-sn-plabel { font-size: 13px; font-weight: 700; color: var(--feos-ink, #0f1b26); margin-bottom: 6px; }
.feos-sn-plabel .feos-sn-tr { font-weight: 500; }
.feos-sn-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.feos-sn-opt { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; padding: 11px 13px;
    border: 1px solid #dfe6ee; border-radius: 11px; background: #fff; color: var(--feos-ink, #0f1b26); font-size: 14.5px;
    line-height: 1.35; cursor: pointer; transition: border-color .15s, background .15s; }
.feos-sn-opt:hover, .feos-sn-opt:focus-visible { border-color: var(--feos-brand, #2090d0); outline: none; }
.feos-sn-opt .feos-sn-tr { font-size: 13px; }
.feos-sn-opt.is-quiet { background: #f8fafc; color: var(--feos-muted, #5b6875); }
.feos-sn-mark { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 2px solid #c9d3dd; background: #fff; }
.feos-sn-opts.is-many .feos-sn-mark { border-radius: 5px; }
.feos-sn-opt.is-on { border-color: var(--feos-brand, #0a72ba); background: rgba(32,144,208,.07); }
.feos-sn-opt.is-on .feos-sn-mark { border-color: var(--feos-brand, #0a72ba); background: var(--feos-brand, #0a72ba);
    box-shadow: inset 0 0 0 3px #fff; }
.feos-sn-textpart { display: block; font-weight: 400; }
.feos-sn-input { width: 100%; border: 1px solid #dfe6ee; border-radius: 9px; padding: 10px 12px; font-size: 16px; background: #fff; }
.feos-sn-input:focus { border-color: var(--feos-brand, #0a72ba); outline: none; }

/* the consent screen: its own, nothing ticked in advance */
.feos-sn-consent { border-radius: 12px; background: #f8fafc; padding: 16px 18px; }
.feos-sn-ctext { font-size: 15px !important; line-height: 1.6 !important; color: var(--feos-ink, #0f1b26) !important; }
.feos-sn-ctext .feos-sn-tr { margin-top: 8px; font-weight: 400; }
.feos-sn-cbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.feos-sn-cbtn { flex: 1 1 220px; text-align: left; padding: 12px 14px; border-radius: 11px; border: 1px solid #dfe6ee;
    background: #fff; color: var(--feos-ink, #0f1b26); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.feos-sn-cbtn .feos-sn-tr { font-size: 13px; font-weight: 500; }
.feos-sn-cbtn.is-yes { border-color: var(--feos-brand, #0a72ba); }
.feos-sn-cbtn:hover, .feos-sn-cbtn.is-on { background: rgba(32,144,208,.08); border-color: var(--feos-brand, #0a72ba); }

/* thank you, and what the client told us */
.feos-sn-thanks { text-align: center; padding: 6px 0 4px; }
.feos-sn-thanks .fas { font-size: 30px; color: #2e9b5b; }
.feos-sn-thanks h2 { margin-top: 8px !important; }
.feos-sn-summary { list-style: none; margin: 10px 0 0; padding: 0; }
.feos-sn-summary li { padding: 10px 0; border-bottom: 1px solid #edf1f5; }
.feos-sn-sq { font-size: 13px; color: var(--feos-muted, #5b6875); }
.feos-sn-sq .feos-sn-tr { font-weight: 400; }
.feos-sn-sa { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.feos-sn-said { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(32,144,208,.08);
    font-size: 13.5px; color: var(--feos-ink, #0f1b26); }
.feos-sn-said .feos-sn-tr { font-size: 12px; }
.feos-sn-none { color: var(--feos-muted, #5b6875); }
@media (max-width: 900px) {
    .feos-sn-opts { grid-template-columns: minmax(0, 1fr); }
    .feos-sn-qtext { font-size: 17px; }
    .feos-sn-nav .feos-portal-btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- the adviser: Before the meeting ---------- */
.feos-snc-wrap { display: grid; gap: 10px; }
.feos-snc + .feos-snc { border-top: 1px solid #edf1f5; padding-top: 10px; }
.feos-snc-top { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin-bottom: 6px; }
.feos-snc-name { font-size: 13px; }
.feos-snc-state { font-size: 12px; color: #7b8794; }
.feos-snc-state.is-answered { color: #2e7d4f; }
.feos-snc-state.is-asked { color: #b7791f; }
.feos-snc-flags { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.feos-snc-flag { padding: 3px 9px; border-radius: 999px; font-size: 12px; line-height: 1.45; background: #eef4fa; color: #1d3b56; }
.feos-snc-flag.k-language { background: #e8f3fb; color: #075a93; }
.feos-snc-flag.k-someone-joins { background: #f1ecfb; color: #4b2f86; }
.feos-snc-flag.k-life-event { background: #fdf3e6; color: #8a4b08; }
.feos-snc-flag.k-first-time, .feos-snc-flag.k-how-to-explain { background: #eaf6ef; color: #23633f; }
.feos-snc-flag.is-health { background: #fcecef; color: #8a2638; }
.feos-snc-flag.k-share-with-the-provider { background: #f2f4f6; color: #45525e; }
.feos-snc-empty, .feos-snc-note, .feos-snc-after { font-size: 12px; color: #7b8794; margin: 0 0 8px; }
.feos-snc-note { color: #9a6b12; }
.feos-snc-after { color: #2e7d4f; }
.feos-snc-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.feos-snc-mount.is-side .feos-snc-btns { gap: 5px; }
.feos-snc-mount.is-side .feos-snc-btns .btn { flex: 0 0 auto; }   /* one row of small buttons (Peter, 26 Oct 2026) */
.feos-ff .feos-sn-ffmount { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #f8fafc;
    border-left: 4px solid #2090d0; }
.feos-ff .feos-sn-ffmount:empty { display: none; }
.feos-ff .feos-sn-ffmount::before { content: "Before the meeting"; display: block; font-size: 11px; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; color: #0a72ba; margin-bottom: 6px; }

/* ---------- the windows ---------- */
.feos-sn-fill .feos-sn-qrow { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf1f5; }
.feos-sn-fill .feos-sn-qrow > div, .feos-sn-fill .feos-sn-q { flex: 1 1 auto; min-width: 0; }
.feos-sn-fill .feos-sn-qtext { font-size: 15px; }
.feos-sn-fill .feos-sn-qtext .feos-sn-tr { font-size: 14px; }
.feos-sn-fill .feos-sn-opt { padding: 8px 10px; font-size: 13.5px; }
.feos-sn-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e8f3fb; color: #075a93; font-size: 12px;
    font-weight: 700; display: flex; align-items: center; justify-content: center; }
.feos-sna-head { padding: 10px 12px; border-radius: 10px; background: #f8fafc; margin-bottom: 14px; }
.feos-sna-head .feos-snc-flags { margin: 6px 0; }
.feos-sna-rule { margin-top: -6px; }
.feos-sna-q { padding: 12px 0; border-top: 1px solid #edf1f5; }
.feos-sna-q h5 { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.feos-sna-q.is-missing { box-shadow: inset 3px 0 0 #c0392b; padding-left: 10px; background: #fff6f5; }
.feos-sna-q h5 > span { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: #0a72ba; color: #fff;
    font-size: 12px; align-items: center; justify-content: center; margin-right: 6px; }
.feos-sna-q h5 small { font-weight: 400; color: #7b8794; }
.feos-sna-radios { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.feos-sna-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid #dfe6ee;
    border-radius: 999px; font-weight: 600; cursor: pointer; }
.feos-sna-pill.is-on { border-color: #0a72ba; background: #e8f3fb; color: #075a93; }
.feos-sna-pill input { margin: 0; }
.feos-sna-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 14px; margin-bottom: 8px; }
.feos-sna-checks.is-inline { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.feos-sna-checks.is-columns { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 6px; }
.feos-sna-check { display: flex; gap: 7px; align-items: flex-start; font-weight: 400; margin: 0; padding: 3px 0; }
.feos-sna-check input { margin-top: 3px; }
.feos-sna-sub { font-weight: 600; margin: 6px 0 2px; }
.feos-sna-more summary { cursor: pointer; color: #0a72ba; font-size: 13px; margin: 4px 0; }

/* ---- Help requests: the request card on a request's page (views/support/detail.js; Peter, 14 Nov 2026) ---- */
.feos-hr-card:empty { display: none; }
.feos-hr-card { background: #fff; border: 1px solid #e1e7ee; border-radius: 16px; margin: 0 0 18px; padding: 18px 22px 20px;
    font-size: 15px; color: #0f1b26; box-shadow: 0 1px 2px rgba(15, 27, 38, .05); }
.feos-hr-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.feos-hr-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #3d4a57; }
.feos-hr-pill { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.feos-hr-new { background: #fff4d6; color: #7a5a00; }
.feos-hr-seen { background: #eef1f4; color: #3d4a57; }
.feos-hr-work { background: #e3effa; color: #0a5f9c; }
.feos-hr-done { background: #e6f4ec; color: #1f7a4d; }
.feos-hr-not { background: #eef1f4; color: #6b7785; }
.feos-hr-stuck { background: #fde8e6; color: #b3261e; }
.feos-hr-slow { background: #fff4d6; color: #7a5a00; }
.feos-hr-calm { background: #eef1f4; color: #6b7785; }
.feos-hr-kind { font-weight: 600; }
.feos-hr-where { color: #0a5f9c; font-weight: 600; }
.feos-hr-where .fas { font-size: 12px; margin-right: 2px; }
.feos-hr-queue { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3d4a57; }
.feos-hr-open { font-weight: 700; }
.feos-hr-title { font-size: 22px; font-weight: 700; line-height: 1.25; margin: 4px 0 6px; }
.feos-hr-meta { font-size: 13px; color: #3d4a57; margin-bottom: 14px; }
.feos-hr-page { white-space: nowrap; }
.feos-hr-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; background: #f7f9fb; border-radius: 12px; padding: 12px 16px; }
.feos-hr-pics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.feos-hr-pic { display: block; border: 1px solid #e1e7ee; border-radius: 12px; overflow: hidden; background: #f7f9fb;
    max-width: min(100%, 760px); }
.feos-hr-pic img { display: block; max-width: 100%; height: auto; }
.feos-hr-pic:hover { border-color: #0a72ba; }
.feos-hr-file { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e1e7ee; border-radius: 10px; padding: 8px 12px; }
.feos-hr-nopic { margin-top: 12px; font-size: 13px; color: #6b7785; }
.feos-hr-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #3d4a57; margin: 18px 0 8px; font-weight: 700; }
.feos-hr-answer .feos-hr-text { background: #e6f4ec; }
.feos-hr-act textarea { width: 100%; border: 1px solid #cfd8e1; border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.feos-hr-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.feos-hr-again { border-top: 1px dashed #e1e7ee; margin-top: 16px; }
.feos-ask-nopicture { background: #fff4d6; color: #7a5a00; border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; font-size: 13px; }
/* help requests 0.7: the two waiting statuses and the conversation on the card */
.feos-hr-askwait { background: #e8f3fb; color: #0a5f9c; }
.feos-hr-peterwait { background: #fde8e6; color: #b3261e; }
.feos-hr-talk { margin-top: 4px; }
.feos-hr-msg { border-radius: 12px; padding: 10px 14px; margin: 0 0 8px; background: #f7f9fb; }
.feos-hr-msg.is-it { background: #e8f3fb; }
.feos-hr-msg.is-peter { background: #fff4d6; }
.feos-hr-msg.is-mine { background: #eef6f0; }
.feos-hr-msg-head { font-size: 12px; color: #3d4a57; margin-bottom: 4px; }
.feos-hr-msg-head b { color: #0f1b26; }
.feos-hr-msg-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.feos-hr-turn { border: 2px solid #0a72ba; border-radius: 12px; padding: 4px 14px 12px; margin-top: 12px; }
