/* Al Basira v3.2: the three kinds of thing on the timetable (approved preview, work-icons.html),
   the sixth tab, banners and the check-in card. shell3.js injects this file once. */

/* ---------------- kind badges: colour, glyph and shape all differ, so they read apart even in grey */
.kic{display:inline-grid;place-items:center;flex:none;color:#fff;width:var(--s,34px);height:var(--s,34px)}
.kic svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kic.k-session{background:var(--blue);border-radius:50%}
.kic.k-assignment{background:var(--red);border-radius:4px 12px 4px 4px}
.kic.k-quiz{background:var(--ink);border-radius:6px;transform:rotate(45deg);width:calc(var(--s,34px) * .8);height:calc(var(--s,34px) * .8);margin:calc(var(--s,34px) * .1)}
.kic.k-quiz svg{transform:rotate(-45deg);width:70%;height:70%;stroke-width:2.2}
:root[data-theme="dark"] .kic{color:var(--bg)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .kic{color:var(--bg)}}

/* small chips in the kinds' colours */
.kchip{display:inline-block;font-size:12.5px;font-weight:600;padding:2px 9px;border-radius:999px;line-height:1.5;white-space:nowrap}
.kchip.c-b{background:var(--sky);color:var(--blue)}
.kchip.c-r{background:var(--rose);color:var(--red2)}
.kchip.c-rr{background:var(--red);color:var(--on-ink)}
.kchip.c-q{background:var(--wash);color:var(--ink)}
.kchip.c-g{background:var(--panel);color:var(--t1)}

/* ---------------- six tabs */
@media (max-width:860px){.tabbar{grid-template-columns:repeat(6,minmax(0,1fr))}.tabbar a{font-size:11px;min-width:0}.tabbar a span{white-space:nowrap}}
.bar nav .nl-s{display:none}

/* ---------------- banners (app_config 'banners') */
.v3-bans{max-width:1240px;margin:14px auto 0;display:flex;flex-direction:column;gap:8px}
.v3-ban{display:flex;gap:12px;align-items:flex-start;padding:10px 14px;border-radius:4px;border-inline-start:4px solid var(--blue);background:var(--sky);color:var(--ink)}
.v3-ban.urgent{border-inline-start-color:var(--red);background:var(--rose)}
.v3-ban svg{flex:none;width:19px;height:19px;margin-top:2px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v3-ban.urgent svg{stroke:var(--red)}
.v3-ban p{margin:0;flex:1;min-width:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-line}
.v3-ban p a{font-weight:600;white-space:nowrap}
.v3-ban .x{flex:none;background:none;border:0;color:var(--t1);cursor:pointer;font:inherit;font-size:13.5px;padding:2px 4px;text-decoration:underline;text-underline-offset:3px;min-height:28px}
.v3-ban .x:hover{color:var(--ink)}

/* ---------------- the check-in card, and pages held behind it */
.v3-ci{max-width:1240px;margin:16px auto 0}
.v3-ci .row{align-items:start}
.v3-ci .cic{background:var(--band);color:var(--on-band);border-radius:6px;padding:22px 24px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;
  background-image:radial-gradient(120% 140% at 100% 0%,var(--band2) 0%,transparent 55%)}
.v3-ci .cic .kicker{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.8}
.v3-ci .cic h2{margin:2px 0 4px;font-family:var(--sans);font-weight:700;font-size:clamp(21px,2.6vw,26px);color:var(--on-band)}
.v3-ci .cic p{margin:0;max-width:62ch;font-size:15.5px;line-height:1.5;opacity:.9}
.v3-ci .cic .btn{background:var(--red-on,var(--red));border-color:var(--red-on,var(--red));color:#fff;margin-inline-start:auto}
.v3-ci .cic > div{flex:1 1 320px;min-width:0}
html.v3-held #app{opacity:.42;filter:saturate(.35);pointer-events:none;user-select:none}
@media (max-width:620px){.v3-ci .cic{padding:18px}.v3-ci .cic .btn{margin-inline-start:0}}

/* ---------------- public footers: Instagram, TikTok and the email (app_config 'home') */
.fsoc{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}
.fsoc .soc{display:inline-flex!important;align-items:center;gap:7px;font-size:14px;text-decoration:none;padding:4px 0;color:var(--ink)}
.fsoc .soc svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fsoc .soc:hover span{text-decoration:underline;text-underline-offset:3px}
.fnote{font-size:14px;color:var(--t1);margin:8px 0 0;line-height:1.5}
/* v4: the Skills cohort has five tabs; the Feedback link in the header for every signed-in student */
@media (max-width:860px){.tabbar.t5{grid-template-columns:repeat(5,minmax(0,1fr))}}
.bar .fbk{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);text-decoration:none;padding:6px 2px;white-space:nowrap}
.bar .fbk svg{width:18px;height:18px;flex:none}
.bar .fbk:hover,.bar .fbk[aria-current]{color:var(--ink)}
.bar nav + .fbk{margin-inline-start:-4px}
@media (max-width:860px){.bar .fbk{margin-inline-start:auto}.bar .fbk + .acct{margin-inline-start:0}}
@media (max-width:420px){.bar .fbk span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.bar .fbk{padding:8px}}
/* v4: a banner's Arabic line, and an announcement shown as a pop-up (bottom corner, once per device) */
.v3-ban .ban-ar{font-family:var(--naskh);display:inline-block}
.stpop{position:fixed;inset-inline-end:18px;bottom:18px;z-index:40;width:min(380px,calc(100vw - 32px));display:flex;flex-direction:column;gap:8px;padding:16px 18px;background:var(--sheet);color:var(--ink);border:1px solid var(--rule);border-top:3px solid var(--red);border-radius:6px;box-shadow:var(--shadow);opacity:0;transform:translateY(12px);transition:opacity .25s,transform .25s}
.stpop.on{opacity:1;transform:none}
.stpop p{margin:0;font-size:15px;line-height:1.5;color:var(--t1);white-space:pre-line}
.stpop p.ar{font-family:var(--naskh);font-size:16.5px;text-align:right}
.stpop .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
@media (max-width:520px){.stpop{inset-inline:16px;bottom:78px;width:auto}}
@media (prefers-reduced-motion:reduce){.stpop{transition:none}}

/* ---------- v4: staff preview bar (shell3.js) */
.v3-pv{max-width:1240px;margin:12px auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;border:1px dashed var(--t2);border-radius:4px;background:var(--wash);font-size:14px;color:var(--t1)}
.v3-pv p{margin:0;flex:1 1 300px;line-height:1.45}
.v3-pv b{color:var(--ink)}
.pv-sw{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.pv-sw>span{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-inline-end:4px}
.pv-sw button{font:inherit;font-size:13.5px;padding:5px 11px;min-height:32px;border:1px solid var(--rule);background:var(--card);color:var(--ink);border-radius:999px;cursor:pointer}
.pv-sw button[aria-checked="true"]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.pv-sw button:focus-visible,.pdfb:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.pv-nosend{display:inline-block;max-width:40ch}
.pdfb{gap:6px}
.pdfb svg{flex:none}
.pdfrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.overlay.ctr{align-items:center;justify-content:center;padding:16px}
.overlay.ctr .panel{height:auto;max-height:90vh;width:min(440px,100%);border:1px solid var(--rule);border-radius:6px;box-shadow:var(--shadow)}
.pdfpanel h2{font-family:var(--sans);font-weight:700;font-size:21px;margin:0}
.pdfpanel p{margin:0;line-height:1.5}
.pdfpanel .acts{display:flex;flex-wrap:wrap;gap:8px}
.pdfopt{display:flex;gap:10px;align-items:center;font-size:15px;cursor:pointer}
.pdfopt input{width:18px;height:18px;accent-color:var(--ink)}
.v3-phead,.pv-val{display:none}

/* ---------- v4: print to PDF (A4) */
@media print{
  @page{size:A4;margin:14mm 13mm 16mm}
  html.v3-printing,html.v3-printing body{background:#fff!important;color:#111!important;font-size:11pt}
  html.v3-printing .skiplink,html.v3-printing #shell .bar,html.v3-printing #shell .tabbar,html.v3-printing .v3-bans,html.v3-printing .v3-ci,html.v3-printing .v3-pv,html.v3-printing .stpop,html.v3-printing .overlay,html.v3-printing .tbo,html.v3-printing .pdfb,html.v3-printing .btn,html.v3-printing .v3e-ui,html.v3-printing .stucklink,html.v3-printing .linkish,html.v3-printing nav.rail,html.v3-printing .prail,html.v3-printing .nextnav,html.v3-printing .after,html.v3-printing .topline,html.v3-printing .qbar3,html.v3-printing .backl,html.v3-printing .tourbox,html.v3-printing .pv-nosend,html.v3-printing .pause,html.v3-printing .chain,html.v3-printing .gw-prev summary{display:none!important}
  html.v3-printing .pv-hide{display:none!important}
  html.v3-printing .v3-phead{display:block!important;margin:0 0 10mm;padding-bottom:4mm;border-bottom:1.5pt solid #0C2B4B;color:#0C2B4B}
  html.v3-printing .ph-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
  html.v3-printing .ph-mk{display:flex;flex-direction:column;gap:3px;line-height:1.2}
  html.v3-printing .ph-mk [lang=ar]{font-family:var(--hand);font-size:20pt}
  html.v3-printing .ph-mk b{font-family:var(--sans);font-size:9pt;letter-spacing:.12em}
  html.v3-printing .ph-who{display:flex;flex-direction:column;align-items:flex-end;font-size:9.5pt;color:#333}
  html.v3-printing .ph-who b{color:#0C2B4B;font-size:10.5pt}
  html.v3-printing .ph-t{font-family:var(--sans);font-size:17pt;margin:5mm 0 0;color:#0C2B4B}
  html.v3-printing .pv-val{display:block!important;white-space:pre-wrap;border:0.8pt solid #888;border-radius:2px;padding:5px 8px;min-height:1.9em;margin:2px 0 6px;font:inherit;color:#111;background:#fff;break-inside:avoid}
  html.v3-printing .pv-val.tall{min-height:6em}
  html.v3-printing .page,html.v3-printing .page-host,html.v3-printing main,html.v3-printing #app,html.v3-printing .reader,html.v3-printing .rmain,html.v3-printing .sheet,html.v3-printing .content{max-width:none!important;width:auto!important;margin:0!important;padding:0!important;box-shadow:none!important;background:#fff!important;border:0!important;display:block!important}
  html.v3-printing .page>*+*,html.v3-printing .content>*+*{margin-top:12px!important}
  html.v3-printing .row,html.v3-printing .brow,html.v3-printing .after .brow{display:block!important}
  html.v3-printing .row>aside,html.v3-printing .brow>.bmar{display:none!important}
  html.v3-printing.pv-notes .row>aside,html.v3-printing.pv-notes .brow>.bmar{display:block!important;margin:4px 0 10px}
  html.v3-printing.pv-notes .note{display:block;max-width:60%;margin-inline-start:auto;padding:2px 10px 2px 0;border-right:2pt solid #B8322A;text-align:right}
  html.v3-printing .note .ar{font-size:12pt}
  html.v3-printing *{box-shadow:none!important;animation:none!important;transition:none!important}
  html.v3-printing a{color:inherit!important}
  html.v3-printing h1,html.v3-printing h2,html.v3-printing h3,html.v3-printing h4{break-after:avoid;color:#0C2B4B}
  html.v3-printing table{width:100%!important;border-collapse:collapse;font-size:9.5pt}
  html.v3-printing thead{display:table-header-group}
  html.v3-printing tr,html.v3-printing img,html.v3-printing svg,html.v3-printing figure,html.v3-printing .qcard,html.v3-printing .tk,html.v3-printing .bf-f{break-inside:avoid}
  html.v3-printing th,html.v3-printing td{border:0.6pt solid #bbb!important;padding:3px 5px!important;color:#111!important;background:#fff!important}
  html.v3-printing [class*="tw"],html.v3-printing .bf-tw,html.v3-printing .table-wrap{overflow:visible!important}
  html.v3-printing details>summary::marker{content:""}
  html.v3-printing .hero,html.v3-printing .lhero,html.v3-printing .band,html.v3-printing .sband,html.v3-printing .hband,html.v3-printing header.phero{background:#fff!important;background-image:none!important;color:#0C2B4B!important;border:1pt solid #0C2B4B!important;padding:10px 12px!important;min-height:0!important}
  html.v3-printing .hero *,html.v3-printing .lhero *,html.v3-printing .band *,html.v3-printing .sband *,html.v3-printing .hband *,html.v3-printing header.phero *{color:#0C2B4B!important}
  html.v3-printing .hband .pill,html.v3-printing .hband .kchip{border:0.8pt solid #0C2B4B!important;background:#fff!important}
  html.v3-printing .hero svg.motif,html.v3-printing .lhero svg.motif,html.v3-printing .band .motif,html.v3-printing .hband>svg,html.v3-printing .hero .deco,html.v3-printing .hband .chain{display:none!important}
  html.v3-printing .hband .hb-ic svg,html.v3-printing .kic svg{color:#fff!important}
}

/* ---------- v4: the tour overlay (v3-tour.js) */
.tbo{position:fixed;inset:0;z-index:80}
.tbo-dim{position:absolute;inset:0;background:rgba(8,25,45,.55);display:none}
.tbo.nohole .tbo-dim{display:block}
.tbo.nohole .tbo-hole{display:none}
.tbo-hole{position:fixed;border-radius:6px;box-shadow:0 0 0 200vmax rgba(8,25,45,.55);outline:2px solid var(--red);outline-offset:0;pointer-events:none;transition:top .2s,left .2s,width .2s,height .2s}
.tbo-card{position:fixed;width:min(380px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;background:var(--card);color:var(--ink);border:1px solid var(--rule);border-top:4px solid var(--red);border-radius:6px;box-shadow:0 18px 50px -18px rgba(0,0,0,.5);padding:18px 18px 16px;display:flex;flex-direction:column;gap:10px}
.tbo-card.mid{top:50%;left:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px))}
.tbo-card:focus{outline:none}
.tbo-card h2{font-family:var(--sans);font-weight:700;font-size:20px;line-height:1.25;margin:0}
.tbo-card p{margin:0;font-size:15px;line-height:1.55;color:var(--t1)}
.tbo-card .tbo-ar{font-family:var(--hand);font-size:21px;line-height:1.5;color:var(--red);text-align:right;margin-top:2px}
.tbo-card .tbo-en{font-family:var(--serif);font-style:italic;font-size:14px;color:var(--red);text-align:right;margin-top:-6px}
.tbo-card .tbo-staff{font-size:14px;background:var(--wash);border:1px dashed var(--t2);border-radius:4px;padding:6px 10px}
.tbo-dots{display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.tbo-dots span{width:8px;height:8px;border-radius:50%;background:var(--rule)}
.tbo-dots span.done{background:var(--t2)}
.tbo-dots span.on{background:var(--red);width:18px;border-radius:4px}
.tbo-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tbo-acts .btn{min-height:40px}
.tbo-skip{margin-inline-start:auto;background:none;border:0;padding:6px 2px;font:inherit;font-size:14px;color:var(--muted);text-decoration:underline;cursor:pointer}
.tbo-addr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tbo-addr button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border:1px solid var(--rule);border-radius:6px;background:var(--bg);color:var(--ink);cursor:pointer;font:inherit}
.tbo-addr button b{font-family:var(--naskh);font-size:18px}
.tbo-addr button span{font-family:var(--naskh);font-size:14px;color:var(--t1)}
.tbo-addr button small{font-size:12px;color:var(--muted)}
.tbo-addr button[aria-checked="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--sky)}
.tbo-card button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
@media (max-width:699px){.tbo-card:not(.mid){left:12px;right:12px;width:auto;max-height:calc(100vh - 140px)}}
@media (prefers-reduced-motion:reduce){.tbo-hole{transition:none}}
/* v5: Principles of Research has four tabs (Today, Guides, Work, Feedback) */
@media (max-width:860px){.tabbar.t4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---------------- v5i: one bar for every level (shell3.js). Eight tabs with their icons, in the level's colour.
   1180px and up: icon and full label in a row. 861 to 1179px: icon over a short label, Feedback as an icon,
   the wordmark hidden under 1000px. Phones: Today, Sessions, Chapters, Work and More (a sheet with the rest). */
.v3-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}
#shell .bar{gap:18px}
#shell .bar nav.mainnav{gap:4px;font-size:14.5px;align-items:stretch}
#shell .bar nav.mainnav a{display:inline-flex;align-items:center;gap:7px;padding:8px 9px;border-radius:10px;color:var(--muted);min-height:44px;box-sizing:border-box;white-space:nowrap}
#shell .bar nav.mainnav a svg{width:19px;height:19px;flex:none;color:var(--c,var(--muted));opacity:.85}
#shell .bar nav.mainnav a:hover{color:var(--ink);background:var(--c-soft,var(--panel))}
#shell .bar nav.mainnav a[aria-current]{color:var(--ink);font-weight:600;background:var(--c-soft,var(--panel));box-shadow:none}
#shell .bar nav.mainnav a[aria-current]::after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:3px;border-radius:3px;background:var(--c,var(--ink))}
#shell .bar nav.mainnav a[aria-current] svg{opacity:1}
#shell .bar nav.mainnav .dot{top:6px;right:4px}
#shell .bar .fbk{min-height:44px;padding:6px 8px;border-radius:10px}
#shell .bar .fbk svg{color:var(--fe)}
#shell .bar .acct{width:44px;height:44px;font-size:15px}
#shell .bar .acct:hover{border-color:var(--c,var(--ink))}
@media (max-width:1179px) and (min-width:861px){
  #shell .bar{gap:12px}
  #shell .bar nav.mainnav{gap:2px}
  #shell .bar nav.mainnav a{flex-direction:column;justify-content:center;gap:2px;padding:5px 6px;font-size:12.5px;line-height:1.15;min-width:44px}
  #shell .bar nav.mainnav .nl-f{display:none}
  #shell .bar nav.mainnav .nl-s{display:inline}
  #shell .bar .fbk .fbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  #shell .bar .fbk{padding:6px 10px}
  #shell .bar .mk{gap:10px}
}
@media (max-width:1000px) and (min-width:861px){#shell .bar .mk .w{display:none}#shell .bar .mk .h{font-size:23px}}
/* phones: five places in the bottom bar; More is a button that opens the sheet */
@media (max-width:860px){
  .tabbar.t5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .tabbar.t2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tabbar a,.tabbar .tmore{min-height:48px}
  .tabbar .tmore{display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;color:var(--muted);font:inherit;font-size:11.5px;position:relative;padding:4px 0;cursor:pointer}
  .tabbar .tmore svg{width:22px;height:22px}
  .tabbar a svg,.tabbar .tmore svg{color:var(--c,currentColor)}
  .tabbar a[aria-current],.tabbar .tmore.on{color:var(--ink);font-weight:600}
  .tabbar a[aria-current]::before,.tabbar .tmore.on::before{content:"";position:absolute;top:-6px;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--c,var(--ink))}
}
/* the More sheet: a bottom sheet on phones, a side panel like Customize on wider screens */
.overlay.msheet .panel{gap:12px}
.ms-head{display:flex;justify-content:space-between;align-items:center}
.ms-head h2{font-family:var(--sans);font-weight:700;font-size:22px;margin:0}
.ms-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ms-grid a{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:14px;border:1px solid var(--rule);background:var(--card,var(--bg));text-decoration:none;color:var(--ink);min-height:44px;height:100%;box-sizing:border-box;border-top:4px solid var(--c,var(--rule))}
.ms-grid a:hover{background:var(--c-soft,var(--panel))}
.ms-grid a[aria-current]{background:var(--c-soft,var(--panel));box-shadow:inset 0 0 0 2px var(--c)}
.ms-grid .ic-tile{width:40px;height:40px;border-radius:11px}
.ms-grid .ic-tile svg{width:22px;height:22px}
.ms-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ms-t b{font-size:15px}
.ms-t span{font-size:12.5px;line-height:1.35;color:var(--t1,var(--muted))}
.c-pk{--c:var(--pk);--c-bg:var(--pk-bg);--c-soft:color-mix(in srgb,var(--pk-bg) 45%,var(--bg))}
@media (max-width:860px){
  .overlay.msheet{align-items:flex-end;justify-content:center}
  .overlay.msheet .panel{width:100%;height:auto;max-height:86vh;border-inline-start:0;border-top:1px solid var(--rule);border-radius:20px 20px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
}
html.dlg-on{overflow:hidden}
/* the account panel: 44px targets */
.cz-links a{display:flex;align-items:center;min-height:44px}
.segb button{min-height:44px}
/* focus you can see on any ground: a dark ring with a light halo (navy heroes, cards, the bars) */
:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--bg)}
:is(.hh,.lhero,.hero,.band,.vband.dark,.phero,.on-dark,.hband,.sph) :focus-visible{outline-color:#F7F4EE;box-shadow:0 0 0 5px #0C2B4B}
.skiplink:focus{z-index:60}
/* the red margin notes: a touch lighter in dark mode so they pass 4.5:1 on navy */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .note{color:#E8776D}}
:root[data-theme="dark"] .note{color:#E8776D}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .kchip.c-rr{background:#B8322A;color:#fff}}
:root[data-theme="dark"] .kchip.c-rr{background:#B8322A;color:#fff}

/* Nov 2026: the Help button on every student page (shell3.js), and its dialog */
#shell .bar .hlp{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 12px;border-radius:10px;border:1.5px solid var(--red);background:var(--card,#FFFDF9);color:var(--red);font:600 14px var(--sans);cursor:pointer;white-space:nowrap}
#shell .bar .hlp svg{width:18px;height:18px;flex:none}
#shell .bar .hlp:hover{background:var(--red);color:var(--bg)}
@media (max-width:860px){#shell .bar .fbk{display:none}#shell .bar .hlp{margin-inline-start:auto}#shell .bar .hlp + .acct{margin-inline-start:0}}
@media (max-width:420px){#shell .bar .hlp{padding:8px 10px}}
.hlp-panel{max-width:560px;display:flex;flex-direction:column;gap:12px}
.hlp-head{display:flex;justify-content:space-between;align-items:center}
.hlp-head h2{display:flex;align-items:center;gap:8px;font:700 22px var(--sans);margin:0}
.hlp-head h2 svg{width:22px;height:22px;color:var(--red)}
.hlp-lead{margin:0}
.hlp-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.hlp-o{display:flex;gap:10px;align-items:center;text-align:start;padding:12px;border-radius:12px;border:1px solid var(--rule);border-top:3px solid var(--c,var(--ink));background:var(--card,#FFFDF9);color:var(--ink);text-decoration:none;font:inherit;cursor:pointer}
.hlp-o:hover,.hlp-o[aria-pressed="true"]{background:var(--c-bg,var(--panel))}
.hlp-o b{display:block;font-weight:600;font-size:15px}
.hlp-o span span{display:block;font-size:13px;color:var(--muted)}
.hlp-o .ic-tile{flex:none}
.hlp-sec{border-top:1px solid var(--rule);padding-top:12px;display:flex;flex-direction:column;gap:8px}
.hlp-sec h3{font:600 16px var(--sans);margin:0}
.hlp-sec textarea{width:100%;box-sizing:border-box;font:16px/1.5 var(--sans);padding:10px 12px;border-radius:10px;border:1px solid var(--rule);background:var(--card,#FFFDF9);color:var(--ink)}
.hlp-send{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}
.hlp-m{padding:8px 0;border-top:1px solid var(--rule)}
.hlp-m p,.hlp-r p{margin:2px 0}
.hlp-r{margin:6px 0 0 12px;padding-inline-start:10px;border-inline-start:2px solid var(--fe)}
