/* =====================================================================================================================
   APFBF 2026 — home page "Who is speaking" and "Programme" sections (draft index-v7.html).
   Moved unchanged from index-v7.html on 6 Nov 2026 (Step 65), from <style id="apfbf-who-prog-styles">.
   Linked from index-v7.html as assets/css/home-programme.css?v=N — raise N after each change (browser cache).
   ===================================================================================================================== */

/* ---------- from <style id="apfbf-who-prog-styles"> ---------- */
  .apfbf-who, .apfbf-prog, .apfbf-return{
    --ap-navy:#1D416A; --ap-ink:#122A4A; --ap-text:#3D4D60; --ap-muted:#56677A;
    --ap-line:#E4E9F0; --ap-card-line:#E6EAF0; --ap-field:#D5DCE6; --ap-soft:#F5F7FA; --ap-soft-2:#EEF2F7; --ap-card-bg:#F6F7F9;
    --ap-accent:#F89E24; --ap-accent-ink:#A65B00; --ap-live:#C0156F;
    --ap-display:"Newsreader", Georgia, "Times New Roman", serif;
    --ap-navh:48px;
  }
  .apfbf-who, .apfbf-prog{ max-width:1200px; margin:72px auto !important; padding:0 16px; color:var(--ap-text); scroll-margin-top:56px; }
  .apfbf-who *, .apfbf-prog *, .apfbf-return *{ box-sizing:border-box; }
  .apfbf-who [hidden], .apfbf-prog [hidden], .apfbf-return[hidden]{ display:none !important; }
  .apfbf-who ul, .apfbf-who ol, .apfbf-prog ul, .apfbf-prog ol, .apfbf-prog dl{ list-style:none; margin:0; padding:0; }
  .apfbf-who li, .apfbf-prog li{ margin:0; }
  .apfbf-sr{ position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
  /* FlowUp (site script) hides headings that start off-screen until they are scrolled to: the cards drawn here always stay visible */
  .apfbf-who-body .pullup-element, .apfbf-prog-body .pullup-element{ opacity:1 !important; transform:none !important; animation:none !important; }
  .apfbf-lede{ max-width:46em; margin:-8px auto 26px; text-align:center; font-size:16.5px; line-height:1.55; color:var(--ap-muted); }

  /* ---------- Who is speaking: search + day filter ---------- */
  .apfbf-tools{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 14px; }
  .apfbf-search{ position:relative; flex:0 1 380px; min-width:240px; }
  .apfbf-search svg{ position:absolute; top:50%; inset-inline-start:16px; width:17px; height:17px; transform:translateY(-50%); color:var(--ap-muted); pointer-events:none; }
  .apfbf-who .apfbf-search input{
    -webkit-appearance:none; appearance:none; width:100%; height:44px; margin:0; padding:0 16px; padding-inline-start:42px;
    border:1px solid var(--ap-field); border-radius:999px; background:#fff; color:var(--ap-ink);
    font:inherit; font-size:15px; line-height:1.2; box-shadow:none; outline:none; transition:border-color .15s ease, box-shadow .15s ease;
  }
  .apfbf-who .apfbf-search input::placeholder{ color:var(--ap-muted); opacity:1; }
  .apfbf-who .apfbf-search input:focus{ border-color:var(--ap-navy); box-shadow:0 0 0 3px rgba(29,65,106,.18); }
  .apfbf-seg{ display:inline-flex; gap:2px; padding:3px; border:1px solid var(--ap-field); border-radius:999px; background:#fff; }
  .apfbf-who .apfbf-seg button{
    -webkit-appearance:none; appearance:none; margin:0; padding:9px 15px; min-height:0; border:0; border-radius:999px; background:transparent;
    color:var(--ap-text); font:inherit; font-size:14px; font-weight:500; line-height:1.2; letter-spacing:0; text-transform:none; box-shadow:none;
    cursor:pointer; transition:background .15s ease, color .15s ease;
  }
  .apfbf-who .apfbf-seg button:hover{ background:var(--ap-soft-2); }
  .apfbf-who .apfbf-seg button[aria-pressed="true"]{ background:var(--ap-navy); color:#fff; }
  .apfbf-who .apfbf-seg button:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; }
  .apfbf-count{ min-width:9em; text-align:center; font-size:13.5px; color:var(--ap-muted); font-variant-numeric:tabular-nums; }
  .apfbf-empty{ max-width:32em; margin:30px auto 0; text-align:center; font-size:15px; color:var(--ap-muted); }
  .apfbf-who .apfbf-empty button{ margin:0; margin-inline-start:6px; padding:0; border:0; background:none; color:var(--ap-navy); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
  .apfbf-who .apfbf-empty button:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; }

  /* ---------- Who is speaking: groups and cards ---------- */
  .apfbf-group{ margin-top:28px; }
  .apfbf-group:first-child{ margin-top:8px; }
  /* Group headings restored 12 Nov 2026 (Key Speakers / Keynote Speakers / Speakers) */
  .apfbf-who .apfbf-group-t,
  .apfbf-who .apfbf-group-t.is-shown{
    display:flex !important; align-items:center; gap:10px; margin:0 0 16px !important; padding:0 0 10px !important; border-bottom:1px solid var(--ap-line);
    font-family:inherit !important; font-size:15.5px !important; font-weight:600 !important; line-height:1.3 !important; color:var(--ap-ink) !important;
    text-align:start !important; text-transform:none !important; letter-spacing:0 !important;
  }
  .apfbf-group-n{ padding:4px 9px; border-radius:999px; background:var(--ap-soft-2); color:var(--ap-muted); font-size:12px; font-weight:600; line-height:1; font-variant-numeric:tabular-nums; }
  .apfbf-alpha-note{
    margin:6px 0 14px; padding:0; border:0; background:none;
    font-size:13px; line-height:1.4; font-weight:500; font-style:italic; color:var(--ap-muted);
  }
  .apfbf-group .apfbf-group-t + .apfbf-alpha-note{ margin-top:-4px; margin-bottom:16px; }
  .apfbf-group .apfbf-grid + .apfbf-alpha-note{ margin-top:18px; }
  .apfbf-group .apfbf-alpha-note + .apfbf-grid{ margin-top:0; }
  .apfbf-grid{ display:grid; gap:16px; grid-template-columns:repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
  .apfbf-grid.is-min{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
  .apfbf-spk{
    position:relative; display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:start; gap:16px; padding:16px;
    background:#fff; border:1px solid var(--ap-card-line); border-radius:14px; box-shadow:0 8px 22px -18px rgba(16,32,55,.32);
    scroll-margin-top:72px; transition:transform .18s ease, box-shadow .18s ease;
  }
  .apfbf-spk.is-link:hover{ transform:translateY(-3px); box-shadow:0 18px 32px -20px rgba(16,32,55,.42); }
  .apfbf-spk:focus{ outline:none; }
  .apfbf-spk:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:3px; }
  .apfbf-grid.is-min .apfbf-spk{ grid-template-columns:minmax(0, 1fr); justify-items:center; gap:14px; padding:26px 20px 22px; border-radius:18px; text-align:center; }
  .apfbf-spk-body{ min-width:0; }
  .apfbf-who .apfbf-spk-name{ display:block; color:var(--ap-ink); font-size:16px; font-weight:600; line-height:1.3; text-decoration:none; }
  .apfbf-grid.is-min .apfbf-spk-name{ font-size:17.5px; }
  .apfbf-who .apfbf-spk.is-link .apfbf-spk-name::after{ content:""; position:absolute; inset:0; z-index:0; border-radius:inherit; }
  .apfbf-who a.apfbf-spk-name:hover{ color:var(--ap-navy); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
  .apfbf-who a.apfbf-spk-name:focus{ outline:none; }
  .apfbf-who .apfbf-spk:has(a.apfbf-spk-name:focus-visible){ outline:3px solid var(--ap-accent-ink); outline-offset:3px; }
  @supports not selector(:has(*)){ .apfbf-who a.apfbf-spk-name:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; } }
  .apfbf-spk-title{ display:block; margin-top:4px; font-size:14px; line-height:1.45; color:var(--ap-text); }
  .apfbf-spk-org{ display:block; margin-top:4px; font-size:13.5px; font-weight:500; line-height:1.4; color:var(--ap-navy); }

  /* portraits: the photo, or the "coming soon" image */
  .apfbf-av{ position:relative; display:block; flex:none; width:76px; height:76px; border-radius:50%; overflow:hidden; background:#D3DDE9; box-shadow:0 0 0 3px #fff, 0 0 0 4px var(--ap-line); transition:box-shadow .2s ease; }
  .apfbf-av img, .apfbf-av svg{ display:block; width:100%; height:100%; max-width:none; margin:0; object-fit:cover; }
  .apfbf-grid.is-min .apfbf-av{ width:116px; height:116px; box-shadow:0 0 0 4px #fff, 0 0 0 5px var(--ap-line); }
  .apfbf-spk.is-link:hover .apfbf-av{ box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--c, var(--ap-navy)); }
  .apfbf-grid.is-min .apfbf-spk.is-link:hover .apfbf-av{ box-shadow:0 0 0 4px #fff, 0 0 0 6px var(--c, var(--ap-navy)); }
  .apfbf-av.sm{ width:30px; height:30px; box-shadow:none; }

  /* the speaker's sessions */
  .apfbf-who .apfbf-when{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
  .apfbf-grid.is-min .apfbf-when{ justify-content:center; }
  .apfbf-who .apfbf-when a{
    position:relative; z-index:1; display:inline-flex; align-items:center; gap:6px; padding:5px 11px; padding-inline-start:9px;
    border:1px solid var(--ap-line); border-radius:999px; background:var(--ap-soft); color:var(--ap-ink);
    font-size:12.5px; font-weight:600; line-height:1.2; text-decoration:none; font-variant-numeric:tabular-nums; transition:border-color .15s ease, background .15s ease;
  }
  .apfbf-who .apfbf-when a:hover{ border-color:var(--ap-navy); background:#fff; color:var(--ap-ink); }
  .apfbf-who .apfbf-when a:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; }
  .apfbf-who .apfbf-when a{ flex-wrap:wrap; row-gap:2px; }
  .apfbf-when a > span{ white-space:nowrap; }
  .apfbf-when .r{ font-weight:400; color:var(--ap-muted); }
  .apfbf-dot{ flex:none; width:8px; height:8px; border-radius:50%; background:var(--c, var(--ap-navy)); }
  .apfbf-tba{ display:inline-block; margin-top:12px; padding:5px 11px; border-radius:999px; background:var(--ap-soft); color:var(--ap-muted); font-size:12.5px; line-height:1.2; }

  /* ---------- Programme: the days bar (stays under the menu while you scroll the programme) ---------- */
  .apfbf-days{
    position:sticky; top:var(--ap-navh); z-index:20; display:flex; justify-content:center; flex-wrap:wrap; gap:8px;
    margin:0 -16px 6px; padding:10px 16px; background:rgba(255,255,255,.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
    transition:box-shadow .2s ease;
  }
  .apfbf-days.is-stuck{ box-shadow:0 12px 18px -18px rgba(16,32,55,.55); }
  .apfbf-prog .apfbf-days a{
    display:inline-flex; align-items:baseline; gap:8px; padding:10px 18px; border:1px solid var(--ap-field); border-radius:999px; background:#fff;
    color:var(--ap-ink); font-size:15px; font-weight:600; line-height:1.2; text-decoration:none; transition:background .15s ease, border-color .15s ease, color .15s ease;
  }
  .apfbf-prog .apfbf-days a:hover{ border-color:var(--ap-navy); color:var(--ap-ink); }
  .apfbf-prog .apfbf-days a .w{ font-weight:400; color:var(--ap-muted); }
  .apfbf-prog .apfbf-days a .w-short{ display:none; }
  .apfbf-prog .apfbf-days a[aria-current="true"]{ background:var(--ap-navy); border-color:var(--ap-navy); color:#fff; }
  .apfbf-prog .apfbf-days a[aria-current="true"] .w{ color:rgba(255,255,255,.86); }
  .apfbf-prog .apfbf-days a:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; }
  .apfbf-prog .apfbf-days a.apfbf-live-link{ align-items:center; border-color:rgba(192,21,111,.4); color:var(--ap-live); }
  .apfbf-prog .apfbf-days a.apfbf-live-link::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--ap-live); animation:apfbf-pulse 1.6s ease-in-out infinite; }

  /* ---------- Programme: days and timeline ---------- */
  .apfbf-prog .apfbf-dayh{
    display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; margin:46px 0 20px !important; padding:0 0 10px !important; border-bottom:2px solid var(--ap-navy);
    font-family:inherit !important; font-size:19px !important; font-weight:700 !important; line-height:1.3 !important; color:var(--ap-ink) !important;
    text-align:start !important; text-transform:none !important; letter-spacing:0 !important; scroll-margin-top:124px;
  }
  .apfbf-prog .apfbf-day:first-child .apfbf-dayh{ margin-top:16px !important; }
  .apfbf-dayh .w{ font-size:16px; font-weight:400; color:var(--ap-muted); }
  .apfbf-dayh:focus{ outline:none; }
  .apfbf-prog .apfbf-tl{ position:relative; padding-inline-start:30px; }
  .apfbf-tl::before{ content:""; position:absolute; top:14px; bottom:14px; inset-inline-start:7px; width:2px; border-radius:2px; background:var(--ap-line); }
  .apfbf-prog .apfbf-row{ position:relative; display:grid; grid-template-columns:116px minmax(0, 1fr); gap:20px; align-items:start; margin-bottom:14px; }
  .apfbf-row::before{ content:""; position:absolute; top:9px; inset-inline-start:-30px; width:16px; height:16px; border-radius:50%; background:#fff; border:2px solid #CBD5E1; box-sizing:border-box; }
  .apfbf-row.is-item::before{ background:var(--c); border-color:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
  .apfbf-time{ padding-top:6px; color:var(--ap-muted); font-size:15px; font-weight:500; line-height:1.3; font-variant-numeric:tabular-nums; }
  .apfbf-break{ display:flex; align-items:center; gap:12px; min-height:34px; color:var(--ap-muted); font-size:15px; line-height:1.4; }
  .apfbf-bi{ flex:none; display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--ap-soft-2); color:var(--ap-navy); font-size:12px; }
  .apfbf-bi i, .apfbf-ico i{ color:inherit !important; }

  /* ---------- Programme: session cards (the six themes use the colours and icons of "Topics of Discussion") ---------- */
  /* very light grey inside the session cards, so they stand out from the white page (owner, 2026-11-05); the names in them are white */
  .apfbf-card{
    position:relative; overflow:hidden; padding:22px 24px 20px; background:var(--ap-card-bg); border:1px solid var(--ap-card-line); border-top:4px solid var(--c);
    border-radius:16px; box-shadow:0 8px 22px -18px rgba(16,32,55,.32); scroll-margin-top:128px; transition:box-shadow .3s ease;
  }
  .apfbf-card:focus{ outline:none; }
  .apfbf-card:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:3px; }
  /* session number: a small tinted badge level with the eyebrow (owner, 2026-11-05: no big serif number) */
  .apfbf-num{
    position:absolute; top:22px; inset-inline-end:22px; display:inline-flex; align-items:center; justify-content:center; height:30px; min-width:46px; padding:0 12px;
    border:1px solid color-mix(in srgb, var(--c) 32%, transparent); border-radius:999px; background:color-mix(in srgb, var(--c) 12%, #fff);
    color:var(--ink); font-family:inherit; font-size:13px; font-weight:700; line-height:1; letter-spacing:.06em; font-variant-numeric:tabular-nums lining-nums;
    pointer-events:none; user-select:none;
  }
  .apfbf-kind{ display:flex; align-items:center; gap:10px; margin-bottom:10px; padding-inline-end:64px; color:var(--ink); font-size:13px; font-weight:600; letter-spacing:.02em; }
  .apfbf-ico{ flex:none; display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:color-mix(in srgb, var(--c) 14%, #fff); color:var(--ink); font-size:13px; }
  .apfbf-prog .apfbf-card-t{
    margin:0 !important; padding:0 !important; font-family:var(--ap-display) !important; font-size:23px !important;
    font-weight:500 !important; line-height:1.28 !important; color:var(--ap-ink) !important; text-align:start !important; text-transform:none !important; letter-spacing:0 !important;
  }
  .apfbf-plain{ max-width:52em; margin-top:8px; font-size:16px; line-height:1.55; color:var(--ap-text); }
  .apfbf-prog .apfbf-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
  .apfbf-prog .apfbf-chip{
    display:inline-flex; align-items:center; gap:8px; padding:3px; padding-inline-end:13px; border:1px solid var(--ap-card-line); border-radius:999px; background:#fff;
    color:var(--ap-ink); font-size:14px; font-weight:500; line-height:1.25; text-decoration:none; transition:border-color .15s ease, background .15s ease, box-shadow .25s ease;
  }
  .apfbf-prog .apfbf-chip:hover{ border-color:var(--ap-navy); background:#fff; color:var(--ap-ink); }
  .apfbf-prog .apfbf-chip:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:2px; }
  .apfbf-prog .apfbf-chip.is-from{ border-color:#009EDB; background:#fff; box-shadow:0 0 0 3px rgba(0,158,219,.3); }
  .apfbf-prog .apfbf-roles{ display:grid; gap:8px; margin-top:14px; }
  .apfbf-roles > div{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
  .apfbf-roles dt{ min-width:136px; margin:0; color:var(--ap-muted); font-size:13px; font-weight:600; }
  .apfbf-roles dd{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:0; color:var(--ap-text); font-size:14px; line-height:1.4; }
  .apfbf-more{ margin-top:12px; color:var(--ap-muted); font-size:14px; line-height:1.45; }
  .apfbf-desc{ margin-top:14px; padding-top:12px; border-top:1px solid #E1E6ED; }
  .apfbf-desc summary{ display:inline-flex; align-items:center; gap:8px; border-radius:6px; color:var(--ap-navy); font-size:14.5px; font-weight:600; list-style:none; cursor:pointer; }
  .apfbf-desc summary::-webkit-details-marker{ display:none; }
  .apfbf-desc summary::before{ content:"+"; display:inline-grid; place-items:center; width:20px; height:20px; border:1.5px solid currentColor; border-radius:6px; font-size:15px; font-weight:500; line-height:1; }
  .apfbf-desc[open] summary::before{ content:"\2013"; }
  .apfbf-desc summary:hover{ text-decoration:underline; text-underline-offset:3px; }
  .apfbf-desc summary:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:3px; }
  .apfbf-desc-body{ max-width:72em; margin-top:10px; color:var(--ap-text); font-size:15.5px; line-height:1.7; }
  .apfbf-desc[open] .apfbf-desc-body{ animation:apfbf-fade .35s ease both; }

  /* live during the Forum (1–2 December 2026, Beirut time) */
  .apfbf-state{ display:block; margin-top:6px; font-size:12px; font-weight:600; line-height:1.2; letter-spacing:.04em; text-transform:uppercase; }
  .apfbf-state:empty{ display:none; }
  .apfbf-state.is-live{ display:inline-flex; align-items:center; gap:6px; color:var(--ap-live); }
  .apfbf-state.is-live::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--ap-live); animation:apfbf-pulse 1.6s ease-in-out infinite; }
  .apfbf-state.is-ended{ color:var(--ap-muted); font-weight:500; }
  .apfbf-row.is-live .apfbf-card{ box-shadow:0 0 0 2px var(--c), 0 18px 34px -22px rgba(16,32,55,.45); }
  .apfbf-row.is-past::before{ background:#fff; border-color:#CBD5E1; box-shadow:none; }

  /* arriving at a session or a speaker */
  /* Step 77: the highlight after a jump (speaker ↔ session) in UN blue #009EDB (was the SDG orange) */
  .apfbf-card.is-flash, .apfbf-spk.is-flash{ animation:apfbf-flash 2.6s ease both; }
  .apfbf-card.is-flash-still, .apfbf-spk.is-flash-still{ box-shadow:0 0 0 4px rgba(0,158,219,.38); }

  /* end of the programme: register */
  .apfbf-cta{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 16px; margin-top:30px; padding:22px; border-radius:16px; background:var(--ap-soft); color:var(--ap-text); font-size:16px; text-align:center; }
  .apfbf-prog .apfbf-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 26px; border-radius:999px; background:var(--ap-navy); color:#fff; font-size:15px; font-weight:600; line-height:1; text-decoration:none; transition:background .2s ease; }
  .apfbf-prog .apfbf-btn:hover{ background:#163455; color:#fff; }
  .apfbf-prog .apfbf-btn:focus-visible{ outline:3px solid var(--ap-accent-ink); outline-offset:3px; color:#fff; }
  .apfbf-noscript{ margin:16px 0; padding:14px 16px; border:1px solid var(--ap-line); border-radius:12px; text-align:center; color:var(--ap-text); }

  /* "Back to …" button after a jump */
  .apfbf-return{ position:fixed; inset-inline:0; bottom:calc(18px + env(safe-area-inset-bottom, 0px)); z-index:9990; display:flex; justify-content:center; padding:0 16px; pointer-events:none; }
  .apfbf-return-in{ display:inline-flex; align-items:center; max-width:100%; padding:4px; border-radius:999px; background:var(--ap-ink); color:#fff; box-shadow:0 16px 34px -14px rgba(16,32,55,.6); pointer-events:auto; animation:apfbf-rise .25s ease both; }
  .apfbf-return button{
    -webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; gap:8px; min-width:0; margin:0; padding:10px 16px; border:0; border-radius:999px;
    background:transparent; color:#fff; font:inherit; font-size:14px; font-weight:600; line-height:1.2; letter-spacing:0; text-transform:none; box-shadow:none; cursor:pointer;
  }
  .apfbf-return button:hover{ background:rgba(255,255,255,.12); }
  .apfbf-return button:focus-visible{ outline:3px solid var(--ap-accent); outline-offset:2px; }
  .apfbf-return-go svg{ flex:none; width:16px; height:16px; }
  [dir="rtl"] .apfbf-return-go svg{ transform:scaleX(-1); }
  .apfbf-return-go .l{ max-width:min(46ch, 62vw); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .apfbf-return .apfbf-return-x{ padding:10px 14px; font-size:18px; font-weight:400; }

  @keyframes apfbf-flash{
    0%{ box-shadow:0 0 0 0 rgba(0,158,219,0); } 15%{ box-shadow:0 0 0 6px rgba(0,158,219,.4); }
    70%{ box-shadow:0 0 0 6px rgba(0,158,219,.26); } 100%{ box-shadow:0 0 0 0 rgba(0,158,219,0); }
  }
  @keyframes apfbf-fade{ from{ opacity:0; transform:translateY(-4px); } to{ opacity:1; transform:none; } }
  @keyframes apfbf-pulse{ 0%, 100%{ opacity:1; } 50%{ opacity:.35; } }
  @keyframes apfbf-rise{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

  /* ---------- breakpoints ---------- */
  @media (max-width:1100px){ .apfbf-grid.is-min{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
  @media (max-width:768px){
    .apfbf-who, .apfbf-prog{ margin:52px auto !important; }
    .apfbf-prog .apfbf-row{ grid-template-columns:minmax(0, 1fr); gap:6px; }
    .apfbf-time{ padding-top:0; }
    .apfbf-prog .apfbf-tl{ padding-inline-start:26px; }
    .apfbf-tl::before{ top:8px; inset-inline-start:6px; }
    .apfbf-row::before{ top:2px; inset-inline-start:-26px; width:14px; height:14px; }
    .apfbf-card{ padding:18px 18px 16px; }
    .apfbf-prog .apfbf-card-t{ font-size:20px !important; }
    .apfbf-num{ top:18px; inset-inline-end:18px; }
    .apfbf-roles dt{ min-width:0; width:100%; }
  }
  @media (max-width:600px){
    .apfbf-lede{ font-size:15.5px; }
    .apfbf-tools{ flex-direction:column; align-items:stretch; }
    .apfbf-search{ flex:none; min-width:0; }
    .apfbf-seg{ align-self:center; }
    .apfbf-grid.is-min{ grid-template-columns:minmax(0, 1fr); gap:14px; }
    .apfbf-grid.is-min .apfbf-spk{ grid-template-columns:auto minmax(0, 1fr); justify-items:stretch; gap:16px; padding:16px; border-radius:14px; text-align:start; }
    .apfbf-grid.is-min .apfbf-av{ width:76px; height:76px; box-shadow:0 0 0 3px #fff, 0 0 0 4px var(--ap-line); }
    .apfbf-grid.is-min .apfbf-spk.is-link:hover .apfbf-av{ box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--c, var(--ap-navy)); }
    .apfbf-grid.is-min .apfbf-when{ justify-content:flex-start; }
    .apfbf-grid.is-min .apfbf-spk-name{ font-size:16px; }
    .apfbf-days{ flex-wrap:nowrap; gap:6px; }
    .apfbf-prog .apfbf-days a{ flex:1 1 0; min-width:0; justify-content:center; gap:2px 6px; flex-wrap:wrap; padding:8px 10px; font-size:13.5px; text-align:center; }   /* Step 75: may wrap (longer Arabic dates) */
    .apfbf-prog .apfbf-days a .w-long{ display:none; }
    .apfbf-prog .apfbf-days a .w-short{ display:inline; }
    .apfbf-prog .apfbf-days:has(.apfbf-live-link:not([hidden])) a .w-short{ display:none; }
    .apfbf-return{ justify-content:flex-start; padding-inline-end:76px; }
  }
  @media (max-width:360px){ .apfbf-prog .apfbf-days a .w-short{ display:none; } }
  /* no motion: prefers-reduced-motion, or "Stop animations" in the accessibility menu */
  @media (prefers-reduced-motion: reduce){
    .apfbf-who *, .apfbf-prog *, .apfbf-return *{ animation:none !important; transition:none !important; }
    .apfbf-spk.is-link:hover{ transform:none; }
  }
  html.a11y-still .apfbf-who *, html.a11y-still .apfbf-prog *, html.a11y-still .apfbf-return *{ animation:none !important; transition:none !important; }
  html.a11y-still .apfbf-spk.is-link:hover{ transform:none; }

/* ---------- Step 67: a "TBC" / "TBD" place in a panel (text, not a link) ---------- */
.apfbf-prog .apfbf-chip.is-text{ padding:6px 13px; border-style:dashed; color:var(--ap-muted); font-style:italic; cursor:default; }
.apfbf-prog .apfbf-chip.is-text:hover{ border-color:var(--ap-card-line); color:var(--ap-muted); }

/* Step 75 (7 Nov 2026): Arabic page — session times read "12:45–14:00" (start first), aligned to the right */
[dir="rtl"] .apfbf-time{ direction:ltr; text-align:right; }
[dir="rtl"] .apfbf-time .apfbf-state{ direction:rtl; }
