/* Registry 9456 (His Highness, 18 Nov 2026): the inner pages, compact, to his design rules.
   Loaded only for a signed-in learner (classes/footbar.php); every rule is scoped to html.cfc-inner. */

/* Hidden scrollbars everywhere; content still scrolls. */
html.cfc-inner, html.cfc-inner * { scrollbar-width: none; }
html.cfc-inner ::-webkit-scrollbar, html.cfc-inner *::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* The fixed footer panel: slim, always visible. */
html.cfc-inner body:has(#cfc-footbar) { padding-bottom: 34px; }
#cfc-footbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; height: 30px; display: flex; align-items: center;
  gap: 18px; padding: 0 16px; background: rgba(250, 250, 248, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 6px rgba(23, 23, 23, .08); font: 500 12px/1 Inter, system-ui, sans-serif; color: #454545; }
#cfc-footbar span, #cfc-footbar a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#cfc-footbar b { font-weight: 600; color: #171717; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
#cfc-footbar .fb-links { margin-left: auto; display: flex; gap: 16px; }
#cfc-footbar a { color: #171717; text-decoration: none; }
#cfc-footbar a:hover { color: #7a5b00; }
#cfc-footbar a i { font-style: normal; font-size: 10.5px; font-weight: 700; background: #171717; color: #fff; border-radius: 9px; padding: 2px 6px; }
@media (max-width: 575.98px) { #cfc-footbar .fb-time { display: none; } #cfc-footbar { gap: 10px; padding: 0 10px; } #cfc-footbar .fb-links { gap: 10px; } }
/* Things that already sit at the bottom of the screen move up above the panel. */
html.cfc-inner #cfcupsell-offer, html.cfc-inner .cfc-zen-btn { bottom: 40px !important; }
html.cfc-inner #sticky-footer, html.cfc-inner .stickyfooter { bottom: 30px !important; }
html.cfc-inner .btn-footer-popover, html.cfc-inner .btn-footer-communication { bottom: 40px !important; }

/* Tables and long lists scroll inside their own panel, not the page. */
html.cfc-inner .cfc-tscroll { max-height: calc(100vh - 230px); overflow: auto; margin-bottom: .5rem; }
html.cfc-inner .cfc-tscroll thead th { position: sticky; top: 0; z-index: 1; background: #fafaf8; }
html.cfc-inner #cfccert-list, html.cfc-inner #cfccert-pending { max-height: calc(100vh - 250px); overflow: auto; }

/* ---- Engine pages (theme cfclearn): less wasted space, smaller type, no decorative lines ---- */
html.cfc-inner #page.drawers .main-inner { margin-top: .6rem !important; padding: .9rem 1.25rem 1rem !important; }
html.cfc-inner #page { padding-top: 0; }
html.cfc-inner #topofscroll { padding-top: 0; }
html.cfc-inner #page-header { margin: 0 0 .35rem !important; padding: 0 !important; }
html.cfc-inner #page-header .page-header-headings h1, html.cfc-inner #page-header h1 { font-size: 1.12rem !important; line-height: 1.25; margin: 0; }
html.cfc-inner #page-header .page-context-header { padding: 0 !important; margin: 0 !important; }
html.cfc-inner #page-navbar { margin-bottom: .2rem !important; }
html.cfc-inner #page-navbar .breadcrumb { margin: 0 !important; padding-top: 0; padding-bottom: 0; }
html.cfc-inner .secondary-navigation { margin-bottom: .4rem !important; padding: 0 !important; }
html.cfc-inner .secondary-navigation .navigation, html.cfc-inner .secondary-navigation .nav-tabs { border: 0 !important; }
html.cfc-inner .secondary-navigation .nav-link { padding: .3rem .7rem !important; font-size: .82rem; }
html.cfc-inner #region-main h2, html.cfc-inner #region-main .h2 { font-size: 1.05rem; margin: .6rem 0 .3rem; }
html.cfc-inner #region-main h3, html.cfc-inner #region-main .h3 { font-size: .98rem; margin: .5rem 0 .25rem; }
html.cfc-inner #region-main h4, html.cfc-inner #region-main .h4 { font-size: .92rem; margin: .45rem 0 .25rem; }
html.cfc-inner #region-main p { margin-bottom: .55em; }
html.cfc-inner #region-main hr, html.cfc-inner .activity-header, html.cfc-inner #page-header, html.cfc-inner .secondary-navigation,
html.cfc-inner .course-content .section-item, html.cfc-inner .generaltable thead th { border-top: 0 !important; border-bottom: 0 !important; }
html.cfc-inner #region-main hr { display: none; }
html.cfc-inner .activity-header { margin: 0 0 .4rem !important; padding: .2rem 0 !important; }
html.cfc-inner .path-mod-page #region-main h2::before, html.cfc-inner #page-footer.cfc-footer .cfc-footer-fine::before { display: none !important; }
html.cfc-inner .path-mod-page #region-main .box.generalbox { font-size: calc(15.5px * var(--cfc-read, 1)); line-height: 1.6; }
html.cfc-inner .path-mod-page #region-main .box.generalbox h2 { font-size: 1.45em; }
html.cfc-inner .path-mod-page #region-main .box.generalbox h3 { font-size: 1.2em; }
html.cfc-inner .path-mod-page #region-main h2, html.cfc-inner .path-mod-page #region-main h3 { margin-top: .9em; }
html.cfc-inner .drawer .drawerheader { height: auto; padding-top: .4rem; padding-bottom: .4rem; }
html.cfc-inner .courseindex .courseindex-item { padding-top: .22rem; padding-bottom: .22rem; }
html.cfc-inner .courseindex { font-size: .82rem; }
html.cfc-inner #page-footer.cfc-footer { margin-top: 1rem !important; padding: 14px 0 18px !important; border-top: 0 !important; }
html.cfc-inner .cfc-footer-fine { border-top: 0 !important; padding-top: 4px !important; }
html.cfc-inner .card-body { padding: .75rem .9rem; }
html.cfc-inner .generaltable td, html.cfc-inner .generaltable th { padding: .35rem .5rem; }
/* My certificates cards. */
html.cfc-inner .cfccert-list { gap: .45rem !important; margin: .4rem 0 !important; }
html.cfc-inner .cfccert-card, html.cfc-inner .cfccert-pendingcourse { padding: .55rem .8rem !important; gap: .3rem 1rem !important; border-color: transparent !important;
  box-shadow: 0 0 0 .5px rgba(21, 19, 15, .16), 0 2px 6px -3px rgba(60, 45, 20, .2); }
html.cfc-inner .cfccert-card h2, html.cfc-inner .cfccert-pendingcourse h3 { font-size: .95rem !important; margin: 0 0 .15rem !important; }
html.cfc-inner .cfccert-meta { font-size: .82rem !important; }
html.cfc-inner .cfccert-acts .btn, html.cfc-inner .cfccert-get { min-height: 2.1rem !important; min-width: 0 !important; padding: .25rem .9rem; font-size: .85rem; }
html.cfc-inner .cfccert-langs { font-size: .75rem; }
/* The certificate viewer page: no course tabs, a short header. */
html.cfc-inner body.cfccert-viewerpage .secondary-navigation { display: none !important; }

/* ---- My learning (our dashboard shell) ---- */
html.cfc-inner .dash-main { padding: 10px 24px 20px 112px; }
html.cfc-inner .dash .hdr { padding: 0 0 10px; }
html.cfc-inner .dgrid { gap: 12px; }
html.cfc-inner .dash .hello { padding: 16px 22px !important; min-height: 0 !important; gap: 8px !important; }
html.cfc-inner .dash .hello .display, html.cfc-inner .dash h1.display { font-size: 22px !important; margin: 6px 0 4px !important; line-height: 1.15; }
html.cfc-inner .dash .hello .sub { font-size: 13.5px !important; margin: 0 0 10px !important; max-width: none; }
html.cfc-inner .dash .hello .pill, html.cfc-inner .dash .meter .pill { margin: 0; }
html.cfc-inner .dash .btn { height: 38px; font-size: 13px; padding: 0 6px 0 18px; }
html.cfc-inner .dash .btn.lt { padding: 0 18px; }
html.cfc-inner .dash .btn .ar { width: 26px; height: 26px; }
html.cfc-inner .dash .meter { padding: 12px 18px; gap: 8px; flex-direction: row; flex-wrap: wrap; justify-content: center; }
html.cfc-inner .dash .bigring { width: 104px; }
html.cfc-inner .dash .bigring b { font-size: 28px; }
html.cfc-inner .dash .bigring small { font-size: 10.5px; margin-top: 2px; }
html.cfc-inner .dash .meter .note { font-size: 11.5px; max-width: 26ch; }
html.cfc-inner .dsec { margin-top: 14px; }
html.cfc-inner .dsec-head { margin-bottom: 8px; }
html.cfc-inner .dash .h2 { font-size: 18px !important; letter-spacing: -.01em; }
html.cfc-inner .dash .tiles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; max-height: calc(100vh - 330px); min-height: 220px; overflow: auto; padding: 2px; }
html.cfc-inner .dash .tile { padding: 12px 14px; gap: 4px; }
html.cfc-inner .dash .tile:hover { transform: none; }
html.cfc-inner .dash .tile-top { margin-bottom: 0; }
html.cfc-inner .dash .tile .ring { width: 40px; height: 40px; }
html.cfc-inner .dash .tile h3 { font-size: 18px; }
html.cfc-inner .dash .tile .meta { font-size: 12px; }
html.cfc-inner .dash .tile .bar { margin-top: 2px; }
html.cfc-inner .dash .tile .btn { margin-top: 6px; }
html.cfc-inner .dash .tile .cert-preview { margin-top: 6px !important; }
html.cfc-inner .dash .certs { gap: 8px; max-height: calc(100vh - 260px); overflow: auto; padding: 2px; }
html.cfc-inner .dash .cert { padding: 10px 14px; gap: 10px; }
html.cfc-inner .dash .cert h3 { font-size: 15px; margin-top: 4px; }
html.cfc-inner .dash .cert .no { font-size: 12.5px; margin-top: 2px; }
html.cfc-inner .dash .refresher { padding: 8px 14px; margin-bottom: 8px; }
html.cfc-inner .dfoot { margin-top: 16px; padding: 8px 6px 4px; border-top: 0; font-size: 11.5px; }

/* ---- The course page (our shell, signed in) ---- */
html.cfc-inner .atelier .course { padding-top: 84px; gap: 36px; grid-template-columns: 200px 1fr; }
html.cfc-inner .atelier .rail { top: 76px; }
html.cfc-inner .atelier .rail ol { border-left: 0; margin-top: 10px; gap: 0; }
html.cfc-inner .atelier .rail li a { padding: 4px 0 4px 16px; }
html.cfc-inner .atelier .rail .pct { margin-top: 10px; line-height: 1; }
html.cfc-inner .atelier .rail .meta { margin-top: 2px; font-size: 11.5px; }
html.cfc-inner .atelier .rail .pct b { font-size: 30px; }
html.cfc-inner .atelier .rail .pct i { font-size: 14px; }
html.cfc-inner .atelier .course-main { column-gap: 32px; grid-template-columns: minmax(0, 1fr) 330px; }
html.cfc-inner .atelier .course-code { font-size: 26px; margin: 8px 0 6px; }
html.cfc-inner .atelier .course-name { font-size: 16px; }
html.cfc-inner .atelier .meta-row { margin-top: 10px; }
html.cfc-inner .atelier .panel { margin-top: 10px; padding: 16px 18px; gap: 10px; }
html.cfc-inner .atelier .summary { margin-top: 18px; font-size: 14px; line-height: 1.55; }
html.cfc-inner .atelier .modules { margin-top: 18px; border-top: 0; }
html.cfc-inner .atelier .module { padding: 10px 0; gap: 12px; grid-template-columns: 56px 1fr auto; border-bottom: 0; }
html.cfc-inner .atelier .mod-no { font-size: 20px; }
html.cfc-inner .atelier .mod-links { margin-top: 4px; }
html.cfc-inner .atelier .kicker::before, html.cfc-inner .atelier .ledger { border: 0; }
html.cfc-inner .atelier .kicker a, html.cfc-inner .atelier .mod-links a, html.cfc-inner .atelier .summary a, html.cfc-inner .atelier .certno { border-bottom: 0; }
html.cfc-inner .atelier .colophon { margin-top: 30px; padding-top: 16px; border-top: 0; }
@media (max-width: 900px) { html.cfc-inner .atelier .course { grid-template-columns: 1fr; padding-top: 70px; } html.cfc-inner .atelier .course-main { grid-template-columns: 1fr; } }
html.cfc-inner .atelier .cfc-side { grid-column: 2; grid-row: 1 / 8; align-self: start; display: grid; gap: 10px; margin-top: 10px;
  position: sticky; top: 76px; max-height: calc(100vh - 120px); overflow: auto; padding: 2px; }
html.cfc-inner .atelier .cfc-side .panel { margin: 0; grid-row: auto; grid-column: auto; }
@media (max-width: 900px) { html.cfc-inner .atelier .cfc-side { grid-column: 1; grid-row: auto; position: static; max-height: none; } }

/* Registry 9456 add-on (His Highness, 18 Nov 09:45): the course page reads without scrolling.
   The year on the title line; no gaps under the title, the subtitle or the panel; small side cards. */
html.cfc-inner .atelier .course-code .line-in { display: inline-block; vertical-align: baseline; }
html.cfc-inner .atelier .course-code .line-in + .line-in { margin-left: .2em; }
html.cfc-inner .atelier .course-code { margin: 4px 0 0; line-height: 1.1; }
html.cfc-inner .atelier .course-name { margin: 2px 0 0; max-width: none; }
html.cfc-inner .atelier .meta-row { margin-top: 6px; }
html.cfc-inner .atelier .cert-preview { margin: 8px 0 0 !important; }
html.cfc-inner .atelier .summary { margin-top: 10px; }
html.cfc-inner .atelier .summary h3 { margin: 8px 0 2px; font-size: 15px; }
html.cfc-inner .atelier .summary p + p { margin-top: 6px; }
html.cfc-inner .atelier .cfc-side .panel, html.cfc-inner .atelier .course-main > .panel { padding: 11px 13px; gap: 7px; }
html.cfc-inner .atelier .cfc-side .kicker, html.cfc-inner .atelier .course-main > .panel .kicker { font-size: 9.5px; letter-spacing: .16em; }
html.cfc-inner .atelier .cfc-side .panel-num, html.cfc-inner .atelier .course-main > .panel .panel-num { font-size: 12.5px; line-height: 1.45; }
html.cfc-inner .atelier .cfc-side .meta { font-size: 11.5px; }
html.cfc-inner .atelier .cfc-side .btn, html.cfc-inner .atelier .course-main > .panel .btn { height: 38px; min-height: 0; font-size: 12.5px; padding: 0 14px; }
html.cfc-inner .atelier .cfc-side .btn .ar { width: 24px; height: 24px; }
html.cfc-inner .atelier .train-acts { display: flex; gap: 8px; width: 100%; margin: 0; }
html.cfc-inner .atelier .train-acts .btn { flex: 1 1 0; width: auto; justify-content: center; }
html.cfc-inner .atelier .rail-note { margin-top: 10px; font-size: 11.25px; line-height: 1.45; color: var(--ink2, #454545); max-width: 200px; }
html.cfc-inner .atelier .train-acts .btn.lt { background: #fff; color: #171717; box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .18); }

/* Registry 9456 add-on (18 Nov 09:52): the failed sign-in notice leaves the top bar and shows once as a toast. */
html.cfc-inner .usermenu .loginfailures, html.cfc-inner .usermenu .mnet, html.cfc-inner #usernavigation .loginfailures { display: none !important; }
.cfc-toast { position: fixed; top: 74px; right: 16px; z-index: 1060; display: flex; align-items: center; gap: 10px; max-width: min(360px, calc(100vw - 32px));
  padding: 9px 10px 9px 14px; border-radius: 10px; background: #171717; color: #fafafa; font: 500 13px/1.35 Inter, system-ui, sans-serif;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-6px); transition: opacity .45s, transform .45s; }
.cfc-toast.in { opacity: 1; transform: none; }
.cfc-toast.out { opacity: 0; transform: translateY(-6px); }
.cfc-toast-x { border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; padding: 0 4px; cursor: pointer; opacity: .8; }
.cfc-toast-x:hover { opacity: 1; }
html.cfc-inner .atelier .cfc-side { min-width: 0; overflow-x: hidden; }
html.cfc-inner .atelier .cfc-side .panel { width: auto; min-width: 0; max-width: 100%; box-sizing: border-box; }
html.cfc-inner .atelier .train-acts .btn { white-space: nowrap; padding: 0 10px; }
html.cfc-inner .learner-stats { border-top: 0 !important; border-bottom: 0 !important; margin-block: 1rem !important; padding-block: .5rem !important; }
html.cfc-inner .learner-stats hr { display: none; }

/* Registry 9459 (His Highness, 18 Nov 09:45): no wasted space beside the text, and the right-hand cards always sit
   inside the window with their own margin. The summary runs up to the card column; the cards never grow past it. */
html.cfc-inner .atelier .summary { max-width: none; }
html.cfc-inner .atelier .cfc-side { grid-template-columns: minmax(0, 1fr); max-width: 100%; box-sizing: border-box; }
html.cfc-inner .atelier .cfc-side .panel-num, html.cfc-inner .atelier .cfc-side .meta { overflow-wrap: anywhere; }
