/* Registry 9686 (Eden, 20 Nov 2026, under His Highness's order 9683 and Grace's ten points): the polish pass on the
   sign-in page, the signed-in home and the footer bar. Loaded by local_cfcfront\footbar::polish() only: the demo accounts
   (local_cfccert/preview_users) or a browser that asks with ?ica=9686, and everyone once theme_cfclearn/ica_polish is 1.
   Undo: set theme_cfclearn/ica_polish to 0 (or remove this file). Type 13/15/20/28 (24 phone), weights 400/600,
   44 px touch targets, nothing floating over content, pages keep bottom space equal to the bar. */

/* ---------- 1. The footer bar: 44 px, 13 px type, two weights ---------- */
:root { --cfc-fp-h: 44px; }
#cfc-footbar.cfc-fp { font: 400 13px/1.35 Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#cfc-footbar .fp-bar { min-height: 44px; height: auto; gap: 16px; }
#cfc-footbar .fp-tog { height: 44px; border-radius: 12px; }
#cfc-footbar .fp-yr, #cfc-footbar .fp-links, #cfc-footbar .fp-langs, #cfc-footbar .fp-about p,
#cfc-footbar .fp-about .fp-fine { font-size: 13px; }
#cfc-footbar .fp-about b { font-size: 15px; }
#cfc-footbar .fp-about b small { font-size: 13px; letter-spacing: .04em; text-transform: none; }
#cfc-footbar .fp-langs a.on, #cfc-footbar .fb-links a i { font-weight: 600; }
#cfc-footbar .fb-links a i { font-size: 13px; }
#cfc-footbar .fb-links a, #cfc-footbar .fp-links a, #cfc-footbar .fp-langs a { min-height: 44px; display: inline-flex; align-items: center; }
#cfc-footbar .fp-links, #cfc-footbar .fp-langs { gap: 0 24px; }
#cfc-footbar .fp-langs a.on::after { content: ""; width: 6px; height: 10px; margin-inline-start: 8px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
#cfc-footbar .fp-help .ica-h-bubble { width: 32px !important; height: 32px !important; position: relative !important; }
#cfc-footbar .fp-help .ica-h-bubble::after { content: ""; position: absolute; inset: -6px; }
#cfc-footbar .fp-tog:focus-visible, #cfc-footbar a:focus-visible, #cfc-footbar button:focus-visible { outline: 2px solid #b88a1b; outline-offset: 2px; }
/* The cookie choice in the bar: one slim row, same type, its buttons quiet. */
#cfc-footbar .ica-cc p { font-size: 13px !important; }
#cfc-footbar .ica-cc p.h { font-weight: 600 !important; }
#cfc-footbar .ica-cc button { position: relative; min-height: 32px !important; font-size: 13px !important; font-weight: 600 !important; }
#cfc-footbar .ica-cc button::after { content: ""; position: absolute; inset: -6px -2px; }
#cfc-footbar .ica-cc .p { font-size: 13px !important; min-height: 44px; display: inline-flex !important; align-items: center; }
html.cfc-fp-on .ica-h-panel { bottom: calc(var(--cfc-fp-pad, 44px) + 8px) !important; }
@media (prefers-reduced-motion: reduce) { #cfc-footbar .fp-panel, #cfc-footbar .fp-chev { transition: none !important; } }

/* ---------- 2. The signed-in home (/my-courses): four sizes, two weights, nothing over the list ---------- */
html body .lu-home, html body .lu-home * { font-weight: inherit; }
html body .lu-home { font-weight: 400; }
html body .lu-home .lu-h1 { font-weight: 600; }
html body .lu-home .lu-btn, html body .lu-home .lu-link, html body .lu-home .lu-rt > a, html body .lu-home .lu-grouph, html body .lu-home .lu-pill b, html body .lu-home .lu-pill.is-chip.on { font-weight: 600; }
html body .lu-home .lu-pill, html body .lu-home .lu-rd, html body .lu-home .lu-rf, html body .lu-home .lu-rs, html body .lu-home .lu-grouph, html body .lu-home .lu-note,
html body .lu-home .lu-row .lu-certlink, html body .lu-home .lu-row .lu-ra, html body .lu-home .lu-grouph b { font-size: 13px; }
html body .lu-home .lu-rt > a, html body .lu-home .lu-search input { font-size: 15px; }
html body .lu-home .lu-grouph { letter-spacing: 0; }
html body .lu-home .lu-note { max-width: 68ch; line-height: 1.5; color: var(--ica-ink2); }
html body .lu-home .lu-btn { height: 44px; }
html body .lu-home .lu-link { height: 44px; }
html body .lu-home .lu-mybar .lu-pill.is-chip { height: 36px; position: relative; }
html body .lu-home .lu-mybar .lu-search { height: 44px; }
html body .lu-home .lu-row .lu-ra, html body .lu-home .lu-row .lu-certlink { height: 44px; }
html body .lu-home .lu-pill.is-chip::after { content: ""; position: absolute; inset: -4px 0; }
html body .lu-home .lu-hacts .ica-wa.cfc-wa-top { width: 44px !important; height: 44px !important; }
html body .lu-home .lu-gridpanel { scrollbar-width: none; }
html body .lu-home .lu-gridpanel::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  /* One screen: the header stays, the course list scrolls inside its own panel (scrollbar hidden), above the dock and the bar. */
  html body.pg-my.dash .dash-main { height: calc(100dvh - var(--cfc-fp-pad, 44px) - 80px); display: flex; flex-direction: column;
    padding: 16px 16px 8px !important; overflow: hidden; }
  html body.dash:has(#cfc-footbar) .dock { bottom: calc(var(--cfc-fp-pad, 44px) + 8px); }
  html body .lu-home { gap: 8px; }
  html body .lu-home .lu-hrow { gap: 8px; }
  html body .lu-home .lu-pills { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0; overflow-x: auto; scrollbar-width: none; width: 100%; }
  html body .lu-home .lu-pills::-webkit-scrollbar { display: none; }
  html body .lu-home .lu-hacts { flex-wrap: nowrap; gap: 8px; }
  html body .lu-home .lu-hacts .lu-link { flex: none; }
  html body .lu-home .lu-hacts .lu-btn { flex: 1 1 auto; min-width: 0; padding: 0 14px; display: block; line-height: 44px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
  html body .lu-home .lu-mybar .lu-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  html body .lu-home .lu-mybar .lu-pill.is-chip { height: 36px; }
  html body .lu-my .lu-gridpanel { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0 12px 4px; }
  html body .lu-home .lu-row .lu-ra, html body .lu-home .lu-row .lu-certlink { height: 36px; position: relative; }
  html body .lu-home .lu-row .lu-ra::after, html body .lu-home .lu-row .lu-certlink::after { content: ""; position: absolute; inset: -4px 0; }
}

/* ---------- 3. The sign-in pages (auth_cfcsupabase auth2): one screen above the bar, four sizes, two weights ---------- */
body:has(#cfc-auth2):has(#cfc-footbar) .cfc-auth2 { min-height: 0; height: calc(100svh - var(--cfc-fp-pad, 44px)); overflow: hidden; }
body:has(#cfc-auth2):has(#cfc-footbar) .cfc-auth2-art { min-height: 0 !important; }
.cfc-auth2 h1, body.pagelayout-login .cfc-auth2 h1 { font-size: 28px !important; font-weight: 600 !important; letter-spacing: -.02em; }
.cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { font-size: 20px !important; font-weight: 600 !important; line-height: 1.3; }
.cfc-auth2-lede, .cfc-auth2-form button, .cfc-auth2-form input { font-size: 15px !important; }
.cfc-auth2-kicker, .cfc-auth2-fine, .cfc-auth2-switch, .cfc-auth2-pitch li, .cfc-auth2-form label, .cfc-auth2-check,
.cfc-auth2-err, .cfc-auth2-steps li, .cfc-auth2-legal { font-size: 13px !important; }
.cfc-auth2-kicker, .cfc-auth2-form label, .cfc-auth2-form button, .cfc-auth2-switch a { font-weight: 600 !important; }
.cfc-auth2-lede, .cfc-auth2-fine, .cfc-auth2-pitch li { max-width: 68ch; }
.cfc-auth2-form input[type=email], .cfc-auth2-form input[type=text], .cfc-auth2-form input[type=password] {
  border: 0 !important; border-radius: 12px; background: rgba(23, 23, 23, .05) !important; box-shadow: none !important; height: 48px; }
.cfc-auth2-form input:focus { box-shadow: 0 0 0 2px #b88a1b !important; outline: none; }
.cfc-auth2-form button { height: 44px; border-radius: 12px; }
.cfc-auth2-switch a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  body:has(#cfc-auth2):has(#cfc-footbar) .cfc-auth2 { display: flex; flex-direction: column; }
  body:has(#cfc-auth2):has(#cfc-footbar) .cfc-auth2-main { flex: none; }
  body:has(#cfc-auth2):has(#cfc-footbar) .cfc-auth2-art { flex: 1 1 auto; min-height: 0 !important; }
  .cfc-auth2 h1, body.pagelayout-login .cfc-auth2 h1 { font-size: 24px !important; }
  .cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { font-size: 15px !important; margin-bottom: 8px !important; }
}

/* ---------- 4. Phone details: the bar never runs past the screen edge; the long Continue label ends in an ellipsis ---------- */
@media (max-width: 575.98px) {
  #cfc-footbar .fp-bar { gap: 8px; overflow: hidden; }
  #cfc-footbar .fp-yr { display: none; }
  #cfc-footbar .fb-who { min-width: 0; flex: 0 1 auto; overflow: hidden; }
  #cfc-footbar .fb-who b { max-width: 40vw; }
  #cfc-footbar .fb-links { flex: none; }
  html body .lu-home .lu-hacts .lu-btn .lu-ar { display: none; }
}
