/* Catto Learning v0.5.8 core platform CSS.
   Generated by: Claude Code CLI. Date time: 2026/08/31 19:05 SAST.
   Functional visibility and interaction rules belong to the LMS, never to a theme.
   Repair the existing component rules in place. Do not add late override layers;
   rendered browser checks and ownership tests protect the shared geometry.
   Changelog:
2026/11/22 SAST (Register's "Not my address")
- .cl-register-not-mine: the small "Not my address" link beside the Confirmed badge on Register reached from a link.
2026/11/21 SAST (the contact form's reasons, three to a row)
- The three .cl-contact-reason-choice rules are taken out: the reasons are now three to a row by the component's own
  columns 3 (owner, 2026-11-21: "3 cards per line, with all of them the same size"), which also gives two from 576px and
  stacks them on a phone, as these rules did. No rule another page uses is changed.
2026/11/17 SAST (Settings > Articles' on/off choices)
- #settings-articles, the Articles section of Settings alone: every choice drawn as feature cards starts 1rem below what
  is above it, as one after a field already does, so the two on/off choices sharing a row start level. No rule another
  page uses is changed.
2026/11/15 SAST (the contact form's reasons)
- .cl-contact-reason-choice, a class of its own (no other markup uses it), sets the contact form's reasons, the component's
  smaller cards, six to a row from 1280px, three from 768px and two from 576px; a phone stacks them as the component does.
  No rule another page uses is changed.
2026/11/15 SAST (the course list's category badge)
- Administration > Courses' list: the Category column's badge (td.cl-course-category, set only by the course row) wraps
  onto a second line inside its cell, so a long category's whole name can be read (owner, from a mockup). No other badge
  or table changes, and the table's measuring step is left as it was, so no column changes width.
2026/11/15 SAST (the About page)
- .justify-content-center and .d-grid stated as !important utilities, for the About page's rows of cards: no other
  markup uses either, so no other page changes.
2026/11/14 SAST (the course landing pages on CattoPHP's landing pages)
- The landing page and editor rules cattophp.css holds the same (the hero, the sections and their cards, the editor's
  list, fields, widths and sketch) are taken out; a course landing page's own sections keep theirs here (the outline, the
  modules' count, the call to action's purchase box).
2026/11/13 SAST (CattoPHP's stylesheet keeps no application's classes)
- Brought here from CattoPHP's stylesheet, unchanged and first in this file: a table cell's second line kept on the first
  (CattoPHP no longer forces it on every project), the two trees' bold names and the category tree's row of actions, the
  checkout's steps and promo code, the question editor's options, the flash cards and their player, and Share this course.
2026/11/07 SAST (Saharan Sunset the only bundled theme)
- Five Core pieces only Factory Reset had styled, given Core's own look from the theme's tokens: an assessment's timer
  (.cl-countdown), the card around its question (.cl-question-focus) and the question's words (.cl-question-text), a
  course card's cover picture (.cl-course-cover) and the import review's module number (.cl-module-number).
2026/11/05 SAST (Telegram sign-in and two-step sign-in)
- Sign in by email or Telegram (.cl-sign-in-form, .cl-sign-in-how), a code typed in large spaced figures (.cl-input-code),
  the QR code on a white ground in every theme (.cl-two-step-qr), the recovery codes (.cl-recovery-codes), Account > Sign-in
  and security's cards (.cl-security-*) and the Telegram card in Settings that names what it does ticked or not.
2026/10/17 SAST (tables on phones)
- Nothing in a table or a toolbar stands out of its card at any width: a table with an action column gives that column at least its control's width (automatic layout, every other cell at max-width 0), row actions outside a table wrap, and the Activity search field keeps room to type.
- Tables on a phone: only the essential columns (data-phone="hide" on the others), 7pt text, one Actions menu for several actions kept in a row (action.row narrow_menu), and a tooltip with the whole row.
2026/10/17 SAST (Part C)
- Bootstrap 6 underneath: 5.3.8's reboot values as plain rules, so lessons read as written; the safety-net colours; Core's field, display, lead, colour, container, box and monospace classes (cl-input, cl-select, cl-check, cl-label, cl-lead, cl-display-*, cl-text-*, cl-bg-subtle, cl-container, cl-box, cl-border-bottom, cl-mono); the content block accordion (a details element) and its scrolling table; every utility the markup uses, !important as 5.3.8's were; the 5.3.8 link underline. All unlayered, as 5.3.8's rules were, so themes meet them on specificity. The unused .cl-narrow and .cl-medium rules are gone: no markup has carried them since Part B.
2026/10/17 SAST
- One construction for every page (v0.9.2): the page width variables (--cl-content-width, --cl-gutter, --cl-section-space) and the rows that take them; consecutive sections share one gap; page head actions wrap; the footer's social marks take the link colour.
2026/10/09 SAST
- Course landing pages: the hero in the page-head band with its picture beside the copy, the section cards (checklists, benefit cards, the outline, questions, reviews), the shared purchase box (.cl-course-purchase) and the landing page editor (.cl-landing-*).
2026/10/08 SAST
- Financial documents: the design page's A4 portrait preview above its form (.cl-document-*).
2026/10/07 SAST
- Certificate editor: the preview comes first at the full width, about twice its former size, with the form below it.
2026/10/07 SAST
- Category picker: form.tree-select nests its options with a disclosure button beside each branch (depth paddings replaced by branch indentation); the course category field and its in-place + New panel.
2026/10/07 SAST
- Certificate designs: form.picture-choice, the certificate editor and course certificate grid, the PDF preview frame, the wording editor (text styles and field labels), the design list (thumbnail, name, default badge, column widths) and the certificate PDF on its public page. The document template page rules are removed with those pages.
2026/09/09 16:05 SAST
- Form spacing is now core's guarantee rather than the active theme's. A .cl-ui-surface with no .cl-course-card-body had no padding in Gilded Noir or Light Default and 28 core templates use that shape; a .cl-ui-field had no gap in Gilded Noir and gap:0 in Light Default, so a label, its control and its help text touched in every form built without the two-column grid.
2026/09/09 14:01 SAST
- Defined the rest of core's own cl- namespace. Core emitted .cl-narrow, .cl-medium, .cl-page-head-row, .cl-filter-chip(s), .cl-question-editor and .cl-option-editor from core-owned page bodies without defining any of them, so each rendered only as well as the active theme happened to cover it: three themes gave the auth and content pages no width at all, and no theme styled the page-head row or the status filter.
2026/09/07 13:00 SAST
- Table rows never wrap: row actions, cells and the table itself.
2026/09/08 11:00 SAST
- Tables use a compact scale: half the cell padding and a smaller type step. On an eleven-column table the padding alone was costing about 350px, which is more than the words. Truncation stays as the last resort rather than the first.
2026/09/08 09:00 SAST
- One row is one line, and it fits. The previous version was overridden on every screen by the themes, which each set flex-wrap:wrap at a higher specificity and load afterwards. Long values now truncate with an ellipsis rather than wrapping or scrolling, secondary lines sit inline, and in-row buttons are compact.
2026/09/06 21:30 SAST
- The third-level flyout opens to the right by default. A group in a panel anchored near the window edge carries cl-nav-flyout-edge and flips left only on a desktop too narrow to hold it.
2026/09/06 20:10 SAST
- The third navigation level became a hover/focus flyout: the group heading and its separator stay in the parent panel and the members open to the side. No JavaScript; the heading is a button so keyboard focus opens it, and narrow viewports fall back to the indented list.
2026/09/04 20:49 SAST
- Pagination 2.0: appended the numbered-page, ellipsis, jump-to-page and htmx busy-state block.
2026/08/31 19:05 SAST
- Round: shared search button moved into noscript, server-search marker on every results region, Course Library rebuilt as paginated accordions, Reports paginated and searched, company requests as a table, company dashboard Courses figure.

   2026/08/25 14:29 SAST

   - Stage D: appended the company-context control block as its own commented section.
     2026/08/23 04:19 SAST - Added the genuine-administrator data-universe control.
     2026/08/21 11:04 SAST - Added the shared pagination control and bounded entity lookups. */
/* cattolms's own pieces that CattoPHP's stylesheet held until it took out every application's classes (CattoPHP,
   2026-11-13): first in this file, so they still come straight after CattoPHP's rules, in their old order. A table cell
   keeps a second line on the first's (a muted one after a dot), as every table here is drawn; the Course Content tree
   shows a module's name in bold and the course category tree a top-level one, its actions in one row; the checkout's
   steps and promo code; the question editor's options; a part's flash cards and their player; Share this course. */
.cl-ui-table td>div,.cl-ui-table td>p,.cl-ui-table td>span.muted,.cl-ui-table td>.small{display:inline!important;margin:0}
.cl-ui-table td>div.muted::before,.cl-ui-table td>.small.muted::before{content:"·";margin:0 .4rem;opacity:.5}
.cl-tree-node[data-node-type="section"]>.cl-tree-row .cl-tree-name{font-weight:700}
.cl-tree--categories .cl-tree-node[data-depth="1"]>.cl-tree-row .cl-tree-name{font-weight:700}
.cl-tree--categories .cl-tree-row>.cl-ui-action-group{flex:0 1 auto;flex-wrap:nowrap;justify-content:flex-end;gap:.35rem}
.cl-checkout-steps { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem; }
.cl-checkout-steps [aria-current] { font-weight:700; text-decoration:underline; }
.cl-checkout-promo { margin:1.5rem 0; display:grid; gap:.75rem; }
.cl-checkout-promo-applied { margin:0; overflow-wrap:anywhere; }
#question-editor [data-options]{margin-block:1rem}
#question-editor [data-option]+[data-option]{margin-top:1rem}
.cl-flashcards{margin:1.5rem 0}
.cl-flashcards-list{display:grid;gap:.75rem;padding-left:1.4rem}
.cl-flashcard{padding:.75rem 1rem;border:1px solid #d9e0e8;border-radius:.6rem;background:#fff}
.cl-flashcard-front{margin:0;font-weight:700}
.cl-flashcard-hint{margin:.35rem 0 0;color:#5f6f82;font-size:.95rem}
.cl-flashcard-hint span{font-weight:700}
.cl-flashcard-back{margin-top:.5rem}
.cl-flashcard-back summary{cursor:pointer;color:#145da0;font-weight:600}
.cl-flashcard-back p{margin:.4rem 0 0}
.cl-flashcards-player{display:grid;gap:1rem;max-width:40rem;margin-inline:auto}
.cl-flashcards-status{margin:0;text-align:center;color:#5f6f82;font-size:.95rem}
.cl-flashcards-card{display:grid;align-content:center;gap:.75rem;min-height:14rem;padding:clamp(1.25rem,4vw,2.25rem);border:2px solid #d6e4f2;border-radius:1rem;background:#fbfdff;text-align:center;box-shadow:0 8px 24px rgba(20,35,50,.08)}
.cl-flashcards-card.is-turned{border-color:#145da0;background:#f2f8fe}
.cl-flashcards-card:focus-visible{outline:3px solid #145da0;outline-offset:3px}
.cl-flashcards-side{margin:0;font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#7a8899}
.cl-flashcards-front{margin:0;font-size:clamp(1.15rem,2.6vw,1.45rem);font-weight:700;color:#16283e}
.cl-flashcards-hint{margin:0;color:#5f6f82}
.cl-flashcards-back{margin:0;font-size:1.1rem;color:#173b61}
.cl-flashcards-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
.cl-flashcards-button{min-height:44px;min-width:8rem;padding:.6rem 1.2rem;border-radius:.55rem;font:inherit;font-weight:700;cursor:pointer}
.cl-flashcards-primary{background:#145da0;border:1px solid #145da0;color:#fff}
.cl-flashcards-primary:hover{background:#0e467a}
.cl-flashcards-secondary{background:#fff;border:1px solid #9fb3c8;color:#173b61}
.cl-flashcards-secondary:hover{border-color:#145da0}
.cl-flashcards-button:focus-visible,.cl-flashcards-link:focus-visible{outline:3px solid #145da0;outline-offset:2px}
.cl-flashcards-link{display:block;margin:1rem auto 0;padding:.4rem .6rem;border:0;background:none;color:#145da0;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.cl-share-page{margin-top:1rem}
.cl-share-page-options{display:grid;grid-template-columns:repeat(4,6.5rem);gap:.75rem;margin:0;padding:0;list-style:none}
@media (max-width:36rem){.cl-share-page-options{grid-template-columns:repeat(3,6rem)}}
.cl-share-page-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:5.5rem;padding:.75rem .5rem;border:1px solid var(--cl-border,rgba(0,0,0,.2));border-radius:var(--cl-radius,.375rem);background:var(--cl-surface,#fff);color:inherit;font:inherit;font-size:.875rem;cursor:pointer;text-decoration:none}
.cl-share-page-option:hover,.cl-share-page-option:focus-visible{border-color:currentColor;color:var(--cl-accent,currentColor)}
.cl-share-page-mark,.cl-share-page-option .cl-ui-icon{width:1.75rem;height:1.75rem}
.cl-share-page-mark{fill:currentColor;stroke:none}
.cl-share-page-done{margin:.75rem 0 0;font-size:.875rem}
.mark,mark{padding:.1875em;color:#212529;background-color:#fff3cd}
/* Core's classes for the 5.3.8 classes 6.0 no longer loads, with 5.3.8's values. */
.cl-container{width:100%;padding-right:.75rem;padding-left:.75rem;margin-right:auto;margin-left:auto}
@media (min-width:576px){.cl-container{max-width:540px}}
@media (min-width:768px){.cl-container{max-width:720px}}
@media (min-width:992px){.cl-container{max-width:960px}}
@media (min-width:1200px){.cl-container{max-width:1140px}}
@media (min-width:1400px){.cl-container{max-width:1320px}}
.cl-content-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cl-box{border:1px solid #dee2e6!important;border-radius:.375rem!important}
.cl-border-bottom{border-bottom:1px solid #dee2e6!important}
.cl-text-muted{color:rgba(33,37,41,.75)!important}
.cl-text-secondary{color:#6c757d!important}
.cl-text-primary{color:#0d6efd!important}
.cl-text-danger{color:#dc3545!important}
.cl-text-warning{color:#ffc107!important}
.cl-text-warning-strong{color:#664d03!important}
.cl-text-light-muted{color:rgba(255,255,255,.5)!important}
.cl-bg-subtle{background-color:#f8f9fa!important}
@media (min-width:768px){.md\:flex-row{flex-direction:row!important}}
/* The About page's rows of cards (2026-11-15): its subject areas centre a last row, and each card fills its column's height. No other markup uses either. */
.justify-content-center{justify-content:center!important}
.d-grid{display:grid!important}
@media (min-width:1024px){.lg\:d-block{display:block!important}.lg\:mt-0{margin-top:0!important}.lg\:text-end{text-align:right!important}}
/* Content blocks (ContentBlockRenderer): an accordion is a details element that opens with or without JavaScript. */
.cl-content-accordion{margin-bottom:1.5rem;border:1px solid #dee2e6;border-radius:.375rem;background-color:#fff;color:#212529}
.cl-content-accordion-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;font-size:1rem;list-style:none;cursor:pointer}
.cl-content-accordion-summary::-webkit-details-marker{display:none}
.cl-content-accordion-title{margin:0;font-size:1rem;font-weight:400;line-height:1.5;color:inherit}
.cl-content-accordion-summary::after{content:"";flex:0 0 1.25rem;width:1.25rem;height:1.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}
.cl-content-accordion[open]>.cl-content-accordion-summary{color:#052c65;background-color:#cfe2ff;box-shadow:inset 0 -1px 0 #dee2e6}
.cl-content-accordion[open]>.cl-content-accordion-summary::after{transform:rotate(-180deg)}
.cl-content-accordion-summary:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}
.cl-content-accordion-body{padding:1rem 1.25rem}
@media (prefers-reduced-motion:reduce){.cl-content-accordion-summary::after{transition:none}}
.cl-options{margin-left:0!important;display:grid;gap:.65rem}
.cl-option{display:grid!important;grid-template-columns:1.25rem minmax(0,1fr);align-items:start!important;justify-content:start!important;gap:.7rem;width:100%;text-align:left!important}
.cl-option input[type="radio"]{width:1rem!important;height:1rem!important;min-width:1rem;max-width:1rem;margin:.28rem 0 0!important;padding:0!important;justify-self:start}
.cl-option>span{display:block;min-width:0;text-align:left!important}
/* An assessment question (2026-11-07, Core's since Factory Reset, the only theme that styled them, went on ice): the timer a
   large dark figure at the right that keeps its width as the seconds change, the question's card lifted as the page's focus, its words
   larger than the answers. Theme tokens where a theme sets them; the reader loads none, so its own colours there. */
.cl-countdown{flex:none;min-width:7rem;margin-inline-start:auto;padding:.5rem 1rem;font-size:clamp(1.5rem,3vw,2.25rem);font-weight:800;line-height:1.1;letter-spacing:.04em;font-variant-numeric:tabular-nums;text-align:center;color:var(--cl-on-color-1,#fff);background:var(--cl-darkest,#16283e);border-radius:var(--cl-radius,.75rem)}
.cl-question-focus>.cl-ui-surface{box-shadow:0 1rem 3rem rgba(42,50,75,.12)}
.cl-question-text{font-size:1.2rem;line-height:1.7;color:var(--cl-ink,inherit)}
.cl-question-text>:last-child{margin-bottom:0}
/* The import review's module number, in a square beside the module's name. */
.cl-module-number{flex:none;display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:var(--cl-radius,.75rem);background:var(--cl-primary-soft,#e6eef7);color:var(--cl-primary-dark,#0e467a);font-weight:800;font-variant-numeric:tabular-nums}
.cl-admin-workspace{display:grid;gap:1rem}
.cl-ui-modal.open:not([hidden]){display:flex!important;overflow:auto;overscroll-behavior:contain}
body.modal-open{overflow:hidden}
.cl-password-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.cl-password-control input{min-width:0}
.cl-password-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:42px}
.cl-password-toggle svg{width:18px;height:18px;fill:currentColor;display:block}
.cl-password-toggle:disabled{opacity:.55;cursor:wait}
.cl-palette-switcher{position:fixed;right:18px;bottom:18px;z-index:1100;width:min(310px,calc(100vw - 36px));padding:12px;border:1px solid var(--cl-border,#dfe4ea);border-radius:14px;background:#fff;color:#18212b;box-shadow:0 18px 48px rgba(15,23,42,.20)}
.cl-palette-switcher[hidden]{display:none!important}
.cl-palette-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.cl-palette-head strong{font-size:.84rem}
.cl-palette-hide,.cl-palette-show{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:6px 9px;font:inherit;font-weight:700}
.cl-palette-show{position:fixed;right:18px;bottom:18px;z-index:1100;box-shadow:0 8px 24px rgba(15,23,42,.14)}
.cl-palette-show[hidden]{display:none!important}
.cl-palette-options{display:grid;gap:6px;max-height:min(52vh,430px);overflow:auto;padding-right:2px}
.cl-palette-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:1px solid #dbe2ea;border-radius:9px;padding:8px 9px;background:#fff;color:#18212b;text-align:left;font:inherit}
.cl-palette-option.active{border-color:var(--cl-accent,#64748b);box-shadow:inset 3px 0 var(--cl-accent,#64748b)}
.cl-palette-name{font-size:.78rem;font-weight:800}
.cl-palette-swatches{display:flex}
.cl-palette-swatch{width:17px;height:17px;border:1px solid rgba(0,0,0,.13)}
.cl-palette-swatch:first-child{border-radius:5px 0 0 5px}
.cl-palette-swatch:last-child{border-radius:0 5px 5px 0}
/* v0.5.7.5.1 scalable administration/account workspace layout primitives. */
.activity-filters{width:100%;max-width:none!important}
.activity-filters .cl-ui-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));width:100%}
.acl-groups{display:grid;gap:.75rem}
.cl-account-workspace,.cl-company-workspace{display:grid;gap:1rem}
/* The v0.5.7.6 scroll-and-min-width pair is gone. It is what the fixed-layout table system below replaced, and leaving it here meant two contradictory descriptions of the same box. */
/* Contact anti-bot honeypot is core-owned functional markup. It must remain
   available to automated form fillers while being invisible/non-interactive
   to human visitors regardless of the active theme. */
.cl-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
/* v0.5.8 genuine-administrator data-universe control.
   Core-owned functional markup: the selector must remain usable and legible under every
   compliant theme, including one that has never heard of it, so the active state is drawn
   here rather than left to a theme to supply. No JavaScript: these are ordinary links. */
.universe-switch{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:0 0 1rem;padding:.6rem .85rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:10px;background:var(--cl-page-surface,#fff)}
.universe-switch-summary{margin:0;display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap;font-size:.9rem}
.universe-switch-noun{font-weight:600}
.universe-switch-split{opacity:.75}
.universe-switch-links{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.universe-switch-legend{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;opacity:.7;margin-right:.15rem}
.universe-switch-link{display:inline-block;padding:.3rem .7rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:999px;font-size:.85rem;line-height:1.4;text-decoration:none;color:inherit;background:transparent}
.universe-switch-link:hover{border-color:currentColor}
.universe-switch-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.universe-switch-link.active{font-weight:700;border-color:currentColor;background:var(--cl-page-muted,rgba(0,0,0,.07))}
@media (max-width:640px){.universe-switch{flex-direction:column;align-items:stretch}.universe-switch-links{justify-content:space-between}}
/* Company context uses an opaque tinted surface. Themes supply the colour; core owns its layout. */
.company-context{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem;padding:.85rem 1rem;margin:0 0 1rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,var(--r,12px));background:var(--cl-context-surface,color-mix(in srgb,var(--cl-primary,#294c67) 20%,white));color:var(--cl-context-ink,#18212b)}
@media (max-width:640px){.company-context{flex-direction:column;align-items:stretch}}
/* Company context banner actions, the Switch Company picker and the shared dataset search bar.
   Core owns the layout; theme CSS supplies decoration. */
.company-context-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-left:auto}
/* The banner carried the section-head class and therefore every theme's page-heading treatment,
   which is how one banner rendered dark on a standalone section and light on the workspace. It
   is core-owned now in full, so its own typography lives here rather than being inherited. */
.company-context h2{font-size:1.02rem;line-height:1.3;margin:0}
.company-context p{margin:.15rem 0 0;font-size:.82rem;opacity:.75}
.company-picker-results{margin-top:.75rem}
.company-picker-results .cl-ui-table{max-height:26rem;overflow-y:auto}
.company-picker-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem;margin:0}
.company-picker-search label{display:block;width:100%}
.company-picker-search input[type=search]{flex:1 1 18rem;min-width:0}
/* Its own line under the field, never a second column: the form stacks downwards, and a basis of 100% there is a height, which in a card with a set height pushed the help beside the form, off a phone's screen (2026-10-21). */
@media (max-width:640px){.company-picker-search{flex-direction:column;align-items:stretch}.company-context-actions{margin-left:0}}
/* Navigation icons come from the platform sprite, so core supplies a baseline size. An inline SVG
   with no dimensions renders at 300x150; every theme's own icon class still overrides these. */
.cl-nav-icon{width:1.15em;height:1.15em;flex:0 0 auto;vertical-align:-.15em}
.cl-nav-icon use{pointer-events:none}
.pagination-jump .help{margin:0;font-size:.85rem;white-space:nowrap;opacity:.75}
/* v0.6 course taxonomy. Depth is shown by indentation and a guide line, because a three-level tree
   rendered flat is unreadable and the level is the one thing an administrator must see before
   choosing a parent. Core owns it: the hierarchy is functional structure, not decoration a theme
   may drop, and a theme that ignored it would leave 369 categories looking like one flat list.
   The guide is a border rather than a character so it lines up whatever the row height. */
.cl-category-depth{display:block;position:relative}
.cl-category-depth-1{font-weight:700}
.cl-category-depth-2{margin-left:1.5rem;padding-left:.85rem;border-left:2px solid var(--cl-border,#dfe4ea)}
.cl-category-depth-3{margin-left:3rem;padding-left:.85rem;border-left:2px solid var(--cl-border,#dfe4ea);opacity:.9}
.cl-category-depth-2::before,.cl-category-depth-3::before{content:"";position:absolute;left:0;top:.7em;width:.6rem;height:2px;background:var(--cl-border,#dfe4ea)}
.cl-category-level{display:inline-block;min-width:1.5rem;margin-right:.4rem;font-size:.75rem;font-weight:700;opacity:.5;font-variant-numeric:tabular-nums}
/* v0.6 in-page group navigation. Courses, Course Categories and Enrolments belong together and the
   main menu cannot say so without a third level, which would be a Theme API change. */
.cl-group-nav{display:flex;flex-wrap:nowrap;gap:.25rem;margin:0 0 1.25rem;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;box-shadow:inset 0 -1px 0 var(--cl-border,#dfe4ea)}
@media(min-width:721px){.cl-group-nav{flex-wrap:wrap;overflow:visible}}
/* Phones: one row scrolled inside the strip, like pagination. Wider screens wrap so no tab is ever out of sight. The baseline is an inset shadow because a scroll container clips the old -1px tab overlap. */
.cl-group-tab{display:inline-flex;align-items:center;padding:.55rem .9rem;flex:0 0 auto;border:1px solid transparent;border-bottom-color:var(--cl-border,#dfe4ea);border-radius:8px 8px 0 0;color:inherit;text-decoration:none;font-size:.88rem;font-weight:600;opacity:.7;white-space:nowrap}
.cl-group-tab:hover{opacity:1;background:color-mix(in srgb,currentColor 6%,transparent)}
.cl-group-tab.is-current{opacity:1;font-weight:800;background:var(--cl-page-surface,#fff);border-color:var(--cl-border,#dfe4ea);border-bottom-color:transparent}
/* v0.6 third navigation level. Administration is grouped rather than flat, so a menu child may
   itself hold children. Core draws the grouping because it is functional structure: a theme that
   ignored it would render twelve sections as one undifferentiated list, which is the problem the
   grouping exists to solve. Themes still own colour and typography.
   The group heading stays visible with its separator rule and the members fly out to the side on
   hover, so a long menu costs one panel of height rather than twelve.
   The heading is a button rather than a span so the flyout is reachable from the keyboard: the
   members are display:none until the group is hovered or holds focus, and something inside the
   group has to be focusable first or Tab can never get to them. There is no JavaScript here at
   all - :hover and :focus-within do the whole job, so the control behaves identically with
   scripting off.
   The panel carries its own background and text colour rather than inheriting, because it is
   positioned over page content and a theme's dark menu panel would otherwise hand it the light
   page's ink and render the heading invisible against itself. */
.cl-nav-group{position:relative;display:grid;gap:2px}
.cl-nav-group+.cl-nav-group{margin-top:5px;padding-top:6px;border-top:1px solid var(--cl-border,rgba(127,127,127,.26))}
.cl-nav-group-label{display:flex;align-items:center;gap:.5rem;width:100%;margin:0;padding:.4rem .6rem;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:.78rem;font-weight:700;letter-spacing:.04em;line-height:1.35;text-transform:uppercase;text-align:left;opacity:.62;cursor:default}
.cl-nav-group-caret{margin-left:auto;flex:0 0 auto;font-size:1.1em;line-height:1;opacity:.75;transition:transform .15s ease}
.cl-nav-subpanel{display:none;position:absolute;top:-7px;left:100%;z-index:1070;min-width:13.5rem;padding:7px;border:1px solid var(--cl-border,#dfe4ea);border-radius:10px;background:var(--cl-page-surface,#fff);color:var(--cl-ink,var(--ink,#18212b));box-shadow:0 14px 38px rgba(23,33,43,.16)}
.cl-nav-group:hover>.cl-nav-subpanel,.cl-nav-group:focus-within>.cl-nav-subpanel{display:grid;gap:2px}
.cl-nav-group:hover>.cl-nav-group-label,.cl-nav-group:focus-within>.cl-nav-group-label{opacity:1}
/* The group holding the page being read.

   Marked on the heading, never on the group itself. A group is a container of several links, and
   the palette paints anything carrying data-nav-item and `active` as a solid pill - which is right
   for a link and turns a whole group into a slab of colour. So the group says it is current under
   its own class, and what changes is the heading: full strength rather than the dimmed default,
   with a rule down its leading edge. */
.cl-nav-group-current>.cl-nav-group-label{opacity:1;box-shadow:inset 2px 0 currentColor}
.cl-nav-group:hover>.cl-nav-group-label .cl-nav-group-caret,.cl-nav-group:focus-within>.cl-nav-group-label .cl-nav-group-caret{transform:translateX(3px)}
.cl-nav-flyout-left>.cl-nav-subpanel{left:auto;right:100%}
/* A group inside a panel that is anchored near the window edge. It still opens to the right, which
   is the direction a reader expects, but a top-bar menu sits close to the right edge and on a
   narrower desktop there is simply not enough room out there: the flyout would be clipped by the
   window with no way to scroll to it. Below the width where it fits, the group opens to the left
   instead - the same thing a native menu does when it runs out of room. */
@media(min-width:1081px) and (max-width:1600px){.cl-nav-flyout-edge>.cl-nav-subpanel{left:auto;right:100%}}
.cl-nav-sublink{display:flex;align-items:center;gap:.5rem;white-space:nowrap}
/* Narrow viewports have nowhere to fly out to, and a hover target is not a thing a finger has, so
   the members return to the indented list the group replaced. */
@media(max-width:1080px){.cl-nav-group>.cl-nav-subpanel{display:grid;gap:2px;position:static;min-width:0;padding:0 0 0 .9rem;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none}.cl-nav-group-caret{display:none}.cl-nav-group-label{opacity:.62}}
/* Inside a scrolling sidebar the third level nests rather than flying out.

   A flyout is `position:absolute; left:100%`, so it is drawn outside its parent - and a sidebar
   that scrolls cannot let it. `overflow-y:auto` forces the other axis to compute as `auto` too:
   there is no such thing as a box that scrolls vertically and overflows visibly sideways. Factory
   Reset's sidebar is `position:fixed` with `overflow-y:auto`, so its flyouts were being clipped
   away entirely and the group opened onto nothing.

   Nesting is the answer rather than a fight: an indented sub-list is what sidebar navigation does,
   it needs no JavaScript, and it cannot be clipped because it takes part in the flow. Themes whose
   navigation is a top bar - Gilded Noir, Light Default - are unaffected and keep the flyout. */
.cl-sidebar .cl-nav-group>.cl-nav-subpanel{display:grid;gap:2px;position:static;min-width:0;padding:0 0 0 .9rem;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none}
.cl-sidebar .cl-nav-group-caret{transform:rotate(90deg)}
.cl-sidebar .cl-nav-group>.cl-nav-group-label{opacity:.62}
/* v0.6 category browsing. Core owns the breadcrumb and the narrowing rail because both are
   navigation: a reader who has browsed three levels down needs a way back up that does not depend
   on which theme is installed, and a branch offering a count has to show that count legibly. */
.cl-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 .75rem;font-size:.85rem}
.cl-breadcrumb a{color:inherit;text-decoration:none;opacity:.72}
.cl-breadcrumb a:hover{text-decoration:underline;opacity:1}
.cl-breadcrumb a[aria-current="page"]{font-weight:800;opacity:1;text-decoration:none;cursor:default}
.cl-breadcrumb-sep{opacity:.4}
.cl-category-count{font-size:.75rem;font-weight:700;opacity:.55}
/* The catalogue's place in the category tree (owner, 2026-10-19): the trail up to All courses and the
   categories beneath, each with its branch total, as one light line each rather than tiles. */
.cl-catalogue-nav{display:grid;gap:.4rem;margin:0 0 1rem;font-size:.85rem}
/* The courses' search heads their own section (owner, 2026-11-09), with room before the pages and cards it changes. */
.cl-catalogue-search{margin:0 0 1rem}
.cl-catalogue-nav .cl-ui-breadcrumb a{color:inherit}
.cl-catalogue-nav .cl-ui-breadcrumb [aria-current="page"]{font-weight:700}
/* A category's or tag's icon: the current one, a search of the icon library, its icons as cards, one's own upload (owner, 2026-10-20). */
.cl-icon-choice{display:grid;gap:.9rem;margin:.5rem 0 1rem}
.cl-icon-choice-current{display:flex;align-items:center;gap:.6rem;margin-bottom:.5rem}
.cl-icon-choice-current>span[aria-hidden]{margin:0}
.cl-icon-choice .cl-ui-picture-choice--cards{margin-bottom:0}
/* A person's picture on their page in Administration, or a plain placeholder (owner, 2026-10-20: never initials). */
/* A long address, domain or name never pushes a page sideways on a phone: it wraps where it would overflow its line
   (ordinary words are left alone), and a page title, which sits in a flex row, may wrap anywhere (2026-10-27). */
.cl-main{overflow-wrap:break-word}
.cl-main .profile-head{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.25rem}
.cl-main .profile-head .profile-meta{min-width:0;flex:1 1 16rem}
.cl-main .profile-head .profile-meta p{margin:0 0 .35rem}
.cl-person-photo{flex:0 0 auto;width:96px;height:96px;object-fit:cover;border-radius:var(--cl-radius,12px);border:1px solid var(--cl-border,#dfe4ea)}
.cl-person-photo--placeholder{display:inline-flex;align-items:center;justify-content:center;padding:1.1rem;color:var(--cl-muted,#6b7280);background:color-mix(in srgb,currentColor 8%,transparent)}
.cl-person-photo--placeholder svg{width:100%;height:100%}
/* Administration → Courses in the catalogue's order: each course's position, dragged by its handle (owner, 2026-10-20). */
.cl-course-order{display:block}
.cl-course-order-status{min-height:1.25rem;margin:0 0 .4rem;font-size:.85rem}
.cl-course-order-status.is-error{color:var(--cl-danger,#b42318);font-weight:600}
/* Renumber (owner, 2026-11-12): in a list's toolbar straight after List and Grid, and in Settings with its words above it. */
.cl-renumber-form{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .75rem}
.cl-renumber-form p{margin:0;flex:1 1 100%}
.cl-list-toolbar .cl-renumber-form{margin:0 auto 0 0}
/* The drag's message line takes no room until it has something to say. */
.cl-course-order-status:empty{min-height:0;margin:0}
.cl-course-order[aria-busy="true"] .cl-row-handle{cursor:progress}
.cl-course-position{white-space:nowrap}
.cl-course-code{white-space:nowrap;font-weight:600;font-size:.9em}
/* Register reached from a link to create an account: "Not my address", a small link beside the Confirmed badge (owner,
   2026-11-22, the approved drawing), a button so it posts the form's token. */
.cl-register-not-mine{border:0;background:none;padding:0;margin:0 0 0 .25rem;font:inherit;font-size:.875em;color:var(--cl-accent,#145da0);cursor:pointer;text-decoration:none}
.cl-register-not-mine:hover,.cl-register-not-mine:focus-visible{text-decoration:underline}
/* A long category wraps inside its cell on Administration > Courses' list, so its whole name can be read (owner, 2026-11-15,
   from a mockup: "A: the badge takes a second line"). Only this list's Category cell; not while the table measures its columns.
   Its line height stays as it is, so a badge on one line is drawn exactly as before. */
.cl-ui-table:not([data-column-fit="measuring"]) td.cl-course-category .cl-ui-badge{white-space:normal;text-align:left}
.cl-catalogue-export-ticks{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}
.cl-course-position [data-position]{font-variant-numeric:tabular-nums;font-weight:600}
.cl-course-order tr.is-dragging{opacity:.55;background:color-mix(in srgb,var(--cl-primary,#1f5fbf) 8%,transparent)}
/* The categories beneath the one browsed, as short feature cards (owner, 2026-10-20). */
.cl-catalogue-categories{margin:.35rem 0 0;font-size:1rem}
.cl-catalogue-categories .cl-ui-picture-choice--cards{margin-bottom:.25rem}
/* The one thing a link opened (the dashboard's Needs your attention, owner 2026-10-21): a review or a table row marked by
   the theme's accent, clear of the sticky header. */
.cl-review:target,.cl-ui-table tr:target{outline:3px solid var(--cl-accent,var(--cl-primary,currentColor));outline-offset:2px;scroll-margin-top:7rem}
/* My Courses' four lists (owner, 2026-10-21): the cards above the one table. */
.cl-library-lists{margin:.35rem 0 .75rem;font-size:1rem}
.cl-library-lists .cl-ui-picture-choice--cards{margin-bottom:0}
/* My Certificates (owner, 2026-10-19): each document's row takes the room its address needs, and the
   address is shown whole so the learner can copy it. */
.cl-ui-list-item>div:has(>.cl-certificate-share){flex:1 1 26rem}
.cl-certificate-share input[readonly]{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem}
/* v0.6 tags. A tag is a link into the catalogue wherever it appears, so it looks and behaves the
   same on a card, on a rail and beside a course. The administration row is a form per tag: an edit
   surface with one field is not worth a second screen. */
.cl-tag-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .6rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:999px;color:inherit;text-decoration:none;font-size:.78rem;font-weight:600}
.cl-tag-chip:hover{border-color:currentColor}
.cl-tag-chip.is-selected{border-color:currentColor;font-weight:800;box-shadow:inset 0 0 0 1px currentColor}
.cl-tag-chip.is-selected .cl-category-count{opacity:.85}
.cl-tag-cloud{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem}
/* A tag cloud: the more courses a tag labels, the bigger it is (CourseTagController::weighted, five steps
   on a log scale). Scoped to the cloud and stated with its chip class, so a theme's chip size cannot
   flatten it: every tag at one size is not a cloud (owner, 2026-10-18). */
.cl-tag-cloud .cl-tag-chip.cl-tag-weight-1{font-size:.8rem}
.cl-tag-cloud .cl-tag-chip.cl-tag-weight-2{font-size:.95rem}
.cl-tag-cloud .cl-tag-chip.cl-tag-weight-3{font-size:1.15rem;font-weight:600}
.cl-tag-cloud .cl-tag-chip.cl-tag-weight-4{font-size:1.4rem;font-weight:700}
.cl-tag-cloud .cl-tag-chip.cl-tag-weight-5{font-size:1.75rem;font-weight:800}
.cl-course-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0 0}
.cl-active-facet{display:flex;align-items:center;gap:.6rem}
.cl-tag-row-wrap{display:flex;align-items:center;gap:.4rem;width:100%;flex-wrap:nowrap}
.cl-tag-row{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;min-width:0;flex-wrap:nowrap}
.cl-tag-name{flex:0 1 12rem;min-width:0}
.cl-tag-description{flex:1 1 auto;min-width:0}
.cl-tag-active{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;font-size:.78rem}
.cl-tag-active input{width:auto}
.cl-money-period{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem;margin:0}
.cl-money-period>.cl-ui-field{flex:0 1 12rem;margin:0}
.cl-money-group{margin-top:1.75rem}
.cl-money-group h3{margin:0 0 .75rem}
/* Amounts over time as columns: the scale's top and nought on the left, a column per slice, about six slices named
   beneath. A column with an amount is a link; the empty ones keep their place. */
.cl-column-chart{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;margin:0}
.cl-column-chart-scale{display:flex;flex-direction:column;justify-content:space-between;height:11rem;font-size:.72rem;line-height:1;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;opacity:.75}
.cl-column-chart-columns{display:flex;align-items:flex-end;gap:2px;height:11rem;margin:0 0 1.6rem;padding:0;list-style:none;border-top:1px dashed color-mix(in srgb,currentColor 25%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 55%,transparent)}
.cl-column-chart-column{position:relative;display:flex;align-items:flex-end;flex:1 1 0;min-width:2px;height:100%;margin:0;padding:0}
.cl-column-chart-bar{display:block;width:100%;background:var(--cl-accent,var(--cl-primary,currentColor));opacity:.75}
a.cl-column-chart-bar{min-height:3px}
a.cl-column-chart-bar:hover,a.cl-column-chart-bar:focus-visible{opacity:1}
.cl-column-chart-label{position:absolute;top:calc(100% + .35rem);left:0;font-size:.72rem;line-height:1;white-space:nowrap;opacity:.75}
.cl-column-chart-column:last-child .cl-column-chart-label{left:auto;right:0}
.cl-site-chart{--cl-chart-people:#2f5d7c;--cl-chart-automated:#d9833f;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;margin:1rem 0 0}
.cl-site-chart-scale{display:flex;flex-direction:column;justify-content:space-between;height:13rem;font-size:.72rem;line-height:1;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;opacity:.75}
.cl-site-chart-columns{display:flex;align-items:flex-end;gap:3px;height:13rem;margin:0 0 1.6rem;padding:0;list-style:none;border-top:1px dashed color-mix(in srgb,currentColor 25%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 55%,transparent)}
.cl-site-chart-column{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:1px;flex:1 1 0;min-width:2px;height:100%;margin:0;padding:0}
.cl-site-chart-bar{display:block;width:100%}
.cl-site-chart-bar--people{background:var(--cl-chart-people)}
.cl-site-chart-bar--automated{background:var(--cl-chart-automated)}
.cl-site-chart-label{position:absolute;top:calc(100% + .35rem);left:0;font-size:.72rem;line-height:1;white-space:nowrap;opacity:.75}
.cl-site-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-size:.85rem}
.cl-site-chart-key{display:inline-block;width:.75rem;height:.75rem;margin-left:.75rem}
.cl-site-chart-key:first-child{margin-left:0}
.cl-site-chart-key--people{background:#2f5d7c}
.cl-site-chart-key--automated{background:#d9833f}
.cl-site-short{width:5.5rem}
.cl-site-share{min-width:9rem}
.cl-site-share>*{min-width:8rem}
.cl-side-stack{display:flex;flex-direction:column;gap:var(--cl-section-space,1.5rem);min-width:0}
.cl-lock-sample{margin-top:.75rem;padding:2.75rem 1.25rem;border:1px solid #c9b8a3;background:#fff;color:#222;font-family:Arial,Helvetica,sans-serif;text-align:center}
.cl-lock-form:has(input[name="what"][value="address"]:checked) [data-lock-warning],.cl-lock-form:has(input[name="what"][value="range"]:checked) [data-lock-warning="owner"],.cl-lock-form:has(input[name="what"][value="owner"]:checked) [data-lock-warning="range"],.cl-lock-form:has(input[name="what"][value="owner"]:checked) [data-lock-firewall]{display:none}
.cl-chart-note{display:block;font-size:.72rem;font-weight:400;white-space:nowrap;opacity:.75}
.cl-chart-label a{color:inherit}
.cl-chart{display:grid;gap:.4rem}
.cl-chart-row{display:grid;grid-template-columns:minmax(7rem,14rem) minmax(4rem,1fr) auto;align-items:center;gap:.75rem}
.cl-chart-label{font-size:.85rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-chart-track{display:block;height:.7rem;border-radius:999px;background:color-mix(in srgb,currentColor 10%,transparent)}
.cl-chart-bar{display:block;height:100%;min-width:2px;border-radius:999px;background:currentColor;opacity:.55}
.cl-chart-value{font-size:.82rem;font-weight:800;font-variant-numeric:tabular-nums;min-width:3ch;text-align:right}
@media(max-width:700px){.cl-chart-row{grid-template-columns:minmax(5rem,1fr) auto;}.cl-chart-track{grid-column:1 / -1;order:3}}
.cl-ui-table td .avatar{width:22px!important;height:22px!important;font-size:.6rem!important;flex:0 0 auto}
.cl-ui-table td .person{display:flex!important;align-items:center;gap:.4rem;max-width:100%;min-width:0;overflow:hidden}
/* The name is never the thing that gets cut.

   Name and address share one line, and laid out as plain inline text they shrank together: a
   generated address ran to a hundred characters, so it ate the column and the person's name was
   truncated to make room for the tail of an email nobody reads. The name now takes the width it
   needs and the address takes whatever is left, ellipsised. That is the priority the reader has. */
.cl-ui-table td .person>div{display:flex!important;align-items:baseline;gap:.4rem;min-width:0;max-width:100%;overflow:hidden}
.cl-ui-table td .person>div>strong{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-ui-table td .person>div>:not(strong){flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl-ui-table td .person>div>:not(strong)::before{content:"·";margin-right:.4rem;opacity:.5}
.cl-ui-table td .role-list{display:inline-flex!important;flex-wrap:nowrap!important;gap:.25rem;overflow:hidden}
/* A theme may give <main> its own stacking level (Gilded Noir gives it and the footer z-index 1),
   which traps everything inside it beneath the header and the footer that follows it: a menu that
   opens past the bottom of <main> went under the footer, and a modal under both. While a dropdown
   is open <main> sits above the footer; while a modal is open it sits above the whole page. */
.cl-main:has(details[data-cl-dropdown][open]){z-index:2}
.cl-main:has(div.cl-ui-modal.open[role="dialog"]){z-index:10000}
.cl-wrap-anywhere{white-space:pre-wrap;overflow-wrap:anywhere}
.cl-course-cover-generated{display:block;line-height:0}
.cl-course-cover-generated svg{display:block;width:100%;height:auto}
.cl-tag-chip svg,.cl-tag-icon svg{display:inline-block;width:18px;height:18px;vertical-align:-3px;margin-right:.35rem}
/* Nothing reads directly off the page canvas.

   The canvas is a texture, so any block of text that is not on a surface sits on stripes. Most of
   the platform's content is on a card already; what is left is the handful of blocks that are
   direct children of a section body or of a results region - a heading toolbar, a section head, a
   notice, an empty state. Those are listed here rather than fixed one template at a time, because
   they recur across roughly a hundred partials and a rule cannot be forgotten the way an edit to
   one file can.

   Written as "not inside a card" rather than by naming the containers they sit in. The obvious
   anchor would have been cl-section-body, which is the htmx swap target every section page wraps
   its content in - and styling it is exactly what CoreStyleNamespaceContractTest forbids, because
   a behaviour hook that also carries layout cannot be moved without moving the layout with it.
   The same classes inside a card are already on a surface, and a second one would draw a box in a
   box, which is what the negation excludes. */
/* The search control carries a label, a status and a line of help, all of which are text. It is
   rendered above the results region on every paginated list, so outside a card it was the other
   block of words left standing on the texture. */
.cl-ui-toolbar:not(.cl-ui-surface *):not(.cl-footer *),
.cl-ui-section-head:not(.cl-ui-surface *),
.cl-ui-notice:not(.cl-ui-surface *),

.dataset-search:not(.cl-ui-surface *){
  padding:1rem 1.1rem;
  border:1px solid var(--cl-border,var(--line,#dfe4ea));
  border-radius:var(--cl-radius,var(--r,12px));
  background:var(--cl-page-surface,#fff);
  color:var(--cl-ink,var(--ink,#18212b))}
/* The site footer: a section on its own surface, like every other block on the page.

   It used to be a bare rule and some text, so once the page canvas became a texture the footer was
   the one thing standing on it with nothing behind it. The surface is a light tone taken from the
   palette rather than a fixed colour, so it belongs to whichever palette is active. */
.cl-footer{
  margin:1.25rem auto 2rem;max-width:1320px;
  /* Heavier than the hairline the cards use, because the footer is a band at the end of the page
     rather than one card among several, and it carries a dark edge against a light fill. */
  border:2px solid var(--cl-darkest,#22303f);
  border-radius:var(--cl-radius,var(--r,12px));
  /* The palette's middle colour. Owner's instruction, 2026/09/11: across the shipped palettes that
     is the light tone each one is built around - Coastal Blue #F5F9FC, Forest & Sand #F7F4EA,
     Slate & Peach #F7C59F - so the footer belongs to the palette instead of being a grey that
     three of them disagree with. The fallback is a pastel, for an installation running no palette
     at all. */
  background:var(--cl-accent,color-mix(in srgb,var(--cl-light,#dcecf5) 38%,#fff));
  /* Pair the accent surface with its palette-calculated contrasting foreground.
     The darkest palette swatch alone need not have enough contrast on the accent. */
  color:var(--cl-on-color-3,var(--cl-darkest,#22303f))}
.cl-footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.4rem}
.cl-footer-mark{font-size:.82rem}
.cl-footer-nav{display:flex;flex-wrap:wrap;gap:.9rem;font-size:.82rem}
/* The heading of one column of the core footer's navigation (Explore, Courses, Terms & Conditions). */
.cl-footer-heading { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cl-footer-nav a{color:inherit;text-decoration:none;font-weight:600}
.cl-footer-nav a:hover{text-decoration:underline}
.cl-footer-social{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:0;padding:0;list-style:none}
.cl-footer-social a,.cl-footer-social>li>span{
  display:inline-grid;place-items:center;width:2.4rem;height:2.4rem;
  border-radius:50%;color:var(--cl-darkest,#22303f);
  background:#fff;border:2px solid var(--cl-darkest,#22303f)}
.cl-footer-social a:hover{background:var(--cl-lightest,#f5f9fc)}
.cl-footer-social a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* No address configured yet, so it is not a link - but it still has to be visible, because the row
   is part of the footer rather than something that appears once a form is filled in. Dimmed just
   enough to read as inactive, never so far that it disappears. */
.cl-footer-social>li>span{opacity:.72}
/* A brand mark is a solid shape in the link's colour (UX rule 6.8). The sprite's own style says so, but Firefox
   does not apply an external sprite's styles to <use> content, so the page's CSS says it too. */
.cl-footer-social-icon{width:22px;height:22px;display:block;fill:currentColor;stroke:none}
.cl-filter-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}
.cl-filter-chip{display:inline-flex;align-items:center;padding:.3rem .75rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:999px;font-size:.8rem;line-height:1.4;text-decoration:none;color:inherit}
/* The selected state keeps the inherited text colour and tints the ground with a share of it, so
   it cannot fail contrast in a theme core knows nothing about - a filled chip in a fixed brand
   colour would, on whichever theme sets that colour light. */
.cl-filter-chip.is-current{font-weight:600;border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}
.cl-ui-form-grid>.cl-ui-field+.cl-ui-field,.cl-ui-form-grid .cl-ui-field+.cl-ui-field,.cl-field-row>.cl-ui-field+.cl-ui-field,.field-row>.cl-ui-field+.cl-ui-field{margin-top:0}
/* One canonical public course grid: four, three, two and one columns. */
/* Course cards: as many to a row at desktop width as Settings > Cards in a row says for courses (data-columns, 3 to 6;
   owner, 2026-11-14), stepping down as the screen narrows as they always have: to 5 then 4 for 6 and 5, to 3, 2 and 1. */
.cl-course-cards{display:grid;gap:1rem;grid-template-columns:repeat(4,minmax(0,1fr))}
.cl-course-cards[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.cl-course-cards[data-columns="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.cl-course-cards[data-columns="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1360px){.cl-course-cards[data-columns="6"]{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1280px){.cl-course-cards[data-columns="5"],.cl-course-cards[data-columns="6"]{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.cl-course-cards,.cl-course-cards[data-columns]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cl-course-cards,.cl-course-cards[data-columns]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cl-course-cards,.cl-course-cards[data-columns]{grid-template-columns:minmax(0,1fr)}}
/* Home page Popular Courses: one group of course cards shows at a time and the next fades in. Hidden groups use the hidden attribute, so they take no space and no focus. */
.cl-popular-courses{margin-top:1.5rem}
.cl-popular-courses .cl-ui-section-actions .cl-ui-action[hidden]{display:none}
.cl-popular-courses-group.is-entering{animation:cl-popular-courses-fade .35s ease-out}
@keyframes cl-popular-courses-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.cl-popular-courses-group.is-entering{animation:none}}
/* The body is a column so the foot can be pushed to the bottom of every card in the row: cards in
   a grid row are the same height, and without this the action sits directly under the text and no
   two cards in a row agree where it is. */
.cl-course-card-body{display:flex;flex-direction:column;flex:1 1 auto;gap:.6rem;padding:clamp(.85rem,1.2vw,1.1rem);min-width:0}
.cl-course-card-title{font-size:1rem;line-height:1.3;margin:0}
.cl-course-card-title a{color:inherit;text-decoration:none}
.cl-course-card-title a:hover{text-decoration:underline}
/* Bound long descriptions so one card does not dominate the entire row. */
.cl-course-card-summary{margin:0;font-size:.82rem;line-height:1.45;opacity:.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cl-course-card .cl-ui-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .3rem;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;opacity:.7;min-width:0}
.cl-course-card .cl-ui-breadcrumb a{color:inherit;text-decoration:none}
.cl-course-card .cl-ui-breadcrumb a:hover{text-decoration:underline}
.cl-course-crumb-sep{opacity:.5}
.cl-course-card-tags{display:flex;flex-wrap:wrap;gap:.3rem}
.cl-tag-chip-compact{font-size:.7rem;padding:.12rem .45rem}
/* The facts are a definition list so the label is readable to a screen reader as a label, and a
   grid so Level, Modules and Price line up across every card in the row. */
.cl-course-card .cl-ui-key-value-list{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.15rem .5rem;margin:0;font-size:.72rem}
.cl-course-card .cl-ui-key-value-list>div{display:grid;gap:.05rem;min-width:0}
.cl-course-card .cl-ui-key-value-list dt{text-transform:uppercase;letter-spacing:.04em;opacity:.6;font-size:.62rem}
.cl-course-card .cl-ui-key-value-list dd{margin:0;font-weight:700}
.cl-course-card-foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.6rem;border-top:1px solid var(--cl-border,#dfe4ea)}
.cl-course-card-foot form{margin:0}
/* The star is a control, so it gets a hit area and a focus ring rather than being bare text. */
.cl-favourite{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;font-size:1.1rem;line-height:1;color:inherit;background:transparent;border:1px solid var(--cl-border,#dfe4ea);border-radius:8px;cursor:pointer}
.cl-favourite:hover{filter:brightness(.93)}
.cl-favourite:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.cl-favourite.is-on{color:#c8971b;border-color:currentColor}
.cl-tag-chip:focus-visible{outline:3px solid currentColor;outline-offset:3px}
/* Tree select: a one-row control opening a native popover that lists a hierarchy. Each option is a
   submit button, so choosing one submits the enclosing form without JavaScript. The panel anchors
   below its toggle where CSS anchor positioning exists and is centred by the browser elsewhere. */
.cl-catalogue-category{margin-bottom:1rem}
/* A course's category field: the category picker with + New beside it, and below it the panel
   that creates a category in place - its name, where it goes, and the path it will have. */
.cl-category-field{display:grid;gap:.5rem;min-width:0}
.cl-category-field-row{display:flex;align-items:stretch;gap:.5rem;min-width:0}
.cl-category-field-row>.cl-ui-tree-select{flex:1 1 auto}
.cl-category-field-new{display:flex;flex:0 0 auto}
.cl-category-field-new[hidden],.cl-category-create-panel[hidden],.cl-category-create-error[hidden]{display:none}
.cl-category-create-panel{display:grid;gap:.6rem;padding:.75rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:.6rem}
.cl-category-create-heading{margin:0;font-weight:700}
.cl-category-create-result{margin:0;font-size:.92rem}
.cl-category-create-error{margin:0;font-size:.92rem;color:var(--cl-danger,#b42318)}
/* Category management tree: nested lists indented one step per level, a chevron disclosure button
   per parent and the row actions outside it. The category-tree controller hides child lists. */
.cl-analytics-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1rem}
.cl-analytics-filter>.cl-ui-field{flex:0 1 16rem;margin:0}
/* Course ratings and reviews. Stars take the theme's accent; the rating input is five real radios. */
.cl-review-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1rem}
.cl-review-filter>.cl-ui-field{flex:0 1 16rem;margin:0}
.cl-rating-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.75rem 0 0}
.cl-rating-summary.is-compact{margin:0 0 .5rem;font-size:.9rem}
.cl-rating-stars{letter-spacing:.1em;color:var(--bs-warning,#c98a00);white-space:nowrap}
.cl-rating-stars>span:not(.is-filled){opacity:.55}
.cl-rating-none{opacity:.8}
.cl-rating-figures{white-space:nowrap}
.cl-review-rating{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.cl-rating-input{border:0;margin:0 0 1rem;padding:0;min-width:0}
.cl-rating-options{display:flex;gap:.25rem}
.cl-rating-option{position:relative;display:inline-flex;cursor:pointer;font-size:2rem;line-height:1;padding:.15rem;border-radius:.375rem}
.cl-rating-radio{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cl-rating-star{color:currentColor;opacity:.35;transition:opacity .1s,color .1s}
.cl-rating-option:has(.cl-rating-radio:focus-visible){outline:3px solid var(--bs-primary,#0d6efd);outline-offset:2px}
.cl-rating-input:has(.cl-rating-option:nth-child(1) .cl-rating-radio:checked) .cl-rating-option:nth-child(-n+1) .cl-rating-star,
.cl-rating-input:has(.cl-rating-option:nth-child(2) .cl-rating-radio:checked) .cl-rating-option:nth-child(-n+2) .cl-rating-star,
.cl-rating-input:has(.cl-rating-option:nth-child(3) .cl-rating-radio:checked) .cl-rating-option:nth-child(-n+3) .cl-rating-star,
.cl-rating-input:has(.cl-rating-option:nth-child(4) .cl-rating-radio:checked) .cl-rating-option:nth-child(-n+4) .cl-rating-star,
.cl-rating-input:has(.cl-rating-option:nth-child(5) .cl-rating-radio:checked) .cl-rating-option:nth-child(-n+5) .cl-rating-star,
.cl-rating-options:has(.cl-rating-option:nth-child(1):hover) .cl-rating-option:nth-child(-n+1) .cl-rating-star,
.cl-rating-options:has(.cl-rating-option:nth-child(2):hover) .cl-rating-option:nth-child(-n+2) .cl-rating-star,
.cl-rating-options:has(.cl-rating-option:nth-child(3):hover) .cl-rating-option:nth-child(-n+3) .cl-rating-star,
.cl-rating-options:has(.cl-rating-option:nth-child(4):hover) .cl-rating-option:nth-child(-n+4) .cl-rating-star,
.cl-rating-options:has(.cl-rating-option:nth-child(5):hover) .cl-rating-option:nth-child(-n+5) .cl-rating-star{color:var(--bs-warning,#c98a00);opacity:1}
.cl-review-status{margin-bottom:1.25rem}
.cl-review-status p{margin:.5rem 0 0}
.cl-review-list{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.cl-review{padding:1rem 0;border-bottom:1px solid var(--bs-border-color,rgba(127,127,127,.3))}
.cl-review:last-child{border-bottom:0}
.cl-review p{margin:0 0 .4rem}
.cl-review-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.25rem}
.cl-review-byline{font-size:.875rem;opacity:.8}
.cl-review-comment{white-space:normal;overflow-wrap:anywhere}
.cl-review-published{margin:.5rem 0;padding:.5rem .75rem;border-inline-start:3px solid var(--bs-success,#198754)}
.cl-review-moderation{margin-top:.75rem}
.cl-rating-overview{display:grid;gap:.75rem;margin-bottom:1rem}
.cl-rating-distribution{display:grid;gap:.25rem;margin:0;max-width:28rem}
.cl-rating-distribution>div{display:grid;grid-template-columns:4.5rem 1fr 2.5rem;align-items:center;gap:.5rem}
.cl-rating-distribution dt{font-weight:400;margin:0}
.cl-rating-distribution dd{display:contents;margin:0}
/* A course's Reviews card (owner, 2026-10-22): each number of stars with reviews is a filter, the chosen one in bold; the reviews are numbered. */
.cl-course-reviews{scroll-margin-top:7rem}
.cl-rating-distribution dt a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
.cl-rating-distribution dt a[aria-current]{font-weight:700}
.cl-review-filtered{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .5rem}
.cl-review-number{font-weight:700;font-variant-numeric:tabular-nums;margin-inline-end:.25rem}
.cl-course-review-action{margin-top:1rem}
.cl-course-review-action p{margin:0 0 .5rem}
.cl-course-review-prompt{margin-top:1.5rem}
.cl-course-certificate-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.cl-category-stats-note{margin:.25rem 0 1rem;font-size:.88rem;opacity:.8}
.cl-course-tree-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.cl-course-tree-bulk-label{font-weight:600;margin-inline-end:.25rem}
.cl-tree[aria-busy="true"] .cl-tree-row>.cl-tree-handle{cursor:progress}
.cl-course-tree-select{flex:0 0 auto;width:1.1rem;height:1.1rem;margin:0}
.cl-category-statistics{display:grid;gap:0}
.cl-category-create-body{min-height:4rem}
.cl-category-create-form{display:grid;gap:.75rem}
.cl-category-create-place,.cl-category-edit-place{margin:0;font-size:.92rem}
.cl-category-move-destinations{display:grid;gap:.25rem;margin:0 0 1rem;padding:0;border:0}
.cl-category-move-destination[data-depth="1"]{margin-inline-start:1.5rem}
.cl-category-move-destination[data-depth="2"]{margin-inline-start:3rem}
.cl-tree-row>.cl-course-tree-edit{flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;box-shadow:none;font-size:.85rem}
.cl-tree-row>.cl-course-tree-edit>summary{cursor:pointer;width:max-content;padding:.25rem .4rem;border-radius:.4rem}
.cl-tree-row>.cl-course-tree-edit>summary:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
.cl-tree-row>.cl-course-tree-edit[open]{order:1;flex:1 1 100%;padding:.5rem 0 .75rem 2.6rem}
.cl-course-tree-add{display:flex;margin:0;padding:0 0 0 2.6rem;opacity:.45}
.cl-course-tree-add:hover,.cl-course-tree-add:focus-within{opacity:1}
.cl-course-tree-add>.cl-ui-row-menu>summary.cl-ui-row-trigger{min-height:0;padding:.05rem .35rem;border:0;background:transparent;box-shadow:none;font-size:.78rem;line-height:1.5}
.cl-course-tree-add>.cl-ui-row-menu>summary.cl-ui-row-trigger:hover,.cl-course-tree-add>.cl-ui-row-menu[open]>summary.cl-ui-row-trigger{text-decoration:underline}
.cl-course-tree-add .cl-ui-row-panel{right:auto;left:0}
/* The sections of Settings as a sortable list (owner, 2026-11-09): each a row of its handle, the section and its move
   menu, the section taking the room; the list spaced as the sections always were. */
/* A page's own words for search engines beside how it may look (the SEO brief, 2026-11-09; partials/admin/search-fields and
   search-preview): the fields, then a search result and a shared link drawn as they commonly look, on white, whatever the
   theme, since that is where they are seen. */
.cl-search-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem 1.5rem;align-items:start}
@media(min-width:1000px){.cl-search-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.cl-search-fields-form{min-width:0}
.cl-search-preview{display:grid;gap:.75rem;min-width:0}
.cl-search-preview-result{display:block}
.cl-search-preview figure{margin:0;padding:.85rem 1rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:8px;background:#fff;color:#202124;font-family:Arial,Helvetica,sans-serif}
.cl-search-preview figcaption{margin:0 0 .5rem;font-family:inherit;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:#5f6368}
.cl-search-preview-site{margin:0;font-size:.8rem;line-height:1.3;color:#202124;overflow-wrap:anywhere}
.cl-search-preview-site span{color:#4d5156}
.cl-search-preview-title{margin:.15rem 0 .2rem;font-size:1.2rem;line-height:1.3;color:#1a0dab;overflow-wrap:anywhere}
.cl-search-preview-text{margin:0;font-size:.875rem;line-height:1.55;color:#4d5156;overflow-wrap:anywhere}
.cl-search-preview-card{display:grid;padding:0!important;overflow:hidden}
.cl-search-preview-card figcaption{padding:.85rem 1rem 0}
.cl-search-preview-card img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;margin-top:.5rem;border-block:1px solid #e3e5e8}
.cl-search-preview-card-words{display:grid;gap:.2rem;padding:.65rem 1rem .85rem;background:#f2f3f5;font-size:.85rem;line-height:1.35;color:#4b4f56;overflow-wrap:anywhere}
.cl-search-preview-card-words strong{font-size:.95rem;color:#1c1e21}
.cl-search-preview-domain{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#606770}
.cl-search-preview-count[data-state="long"]{color:var(--cl-warning-text,#7a4d00)}
.cl-settings-order{display:grid;gap:.5rem}
.cl-settings-order-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem}
.cl-settings-order-head .cl-tree-help{margin:0}
.cl-settings-order-head form{margin:0 0 0 auto}
.cl-settings-sections{display:grid;gap:1rem;margin:0;padding:0;list-style:none}
.cl-settings-row{flex-wrap:nowrap;align-items:flex-start;gap:.5rem;padding:0;border-bottom:0}
.cl-settings-row>.cl-tree-handle{margin-top:.75rem}
.cl-settings-section{flex:1 1 auto;min-width:0}
.cl-settings-section>.cl-ui-accordion-section,.cl-settings-section>.cl-ui-accordion-section:first-child{margin-block:0}
.cl-settings-row>.cl-ui-row-menu{flex:0 0 auto;margin-top:.75rem}
.cl-course-insert-position{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin:.5rem 0;padding:.5rem .75rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:.4rem}
.cl-course-insert-position>p{margin:0}
.cl-course-insert-panel{display:grid;gap:1rem}
/* Without JavaScript a modal shows inline; the insert modal has nothing to show until "+ Add here"
   loads a form into it, and every "+ Add here" link then opens that form on its own page. */
.cl-ui-modal:not(.open):has(.cl-course-insert-body:empty){display:none}
.cl-course-insert-panel>form{display:grid;gap:.75rem}
.cl-course-insert-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem}
.cl-course-insert-search>.cl-ui-field{flex:1 1 16rem;margin:0}
.cl-course-move-destinations{display:grid;gap:.25rem;margin:0 0 1rem;padding:0;border:0}
.cl-course-move-destination[data-depth="2"]{margin-inline-start:1.5rem}
.cl-course-move-destination[data-depth="3"]{margin-inline-start:3rem}
@media(max-width:575.98px){
.cl-tree-row>.cl-course-tree-edit[open],.cl-course-tree-add{padding-inline-start:.5rem}
.cl-tree-row>.cl-course-tree-edit{margin-inline-start:auto}
}
.cl-tag-chip{min-height:44px;max-width:100%;overflow-wrap:anywhere}
.cl-tag-chip-compact{min-height:32px}
.cl-tag-browser{display:grid;gap:1.5rem;align-items:start}
.cl-tag-cloud-shell{position:relative;min-width:0}
.cl-tag-cloud-canvas{display:none;min-width:0;text-align:center}
.cl-tag-cloud-shell.is-animated{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
.cl-tag-cloud-shell.is-animated .cl-tag-cloud-canvas{display:block}
.cl-tag-cloud{min-width:0;max-height:36rem;overflow-y:auto;padding:.3rem}
.cl-tag-cloud:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.cl-tag-cloud-shell .tagcloud{display:inline-block;font-weight:700;color:inherit}
.cl-tag-cloud-shell .tagcloud--item{cursor:pointer;padding:.1rem .25rem;border-radius:6px;color:inherit;white-space:nowrap}
.cl-tag-cloud-shell .tagcloud--item:hover{background:color-mix(in srgb,currentColor 14%,transparent)}
@media(max-width:700px){
 .cl-tag-cloud-shell.is-animated{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .cl-tag-cloud-shell.is-animated{grid-template-columns:minmax(0,1fr)}
 .cl-tag-cloud-shell.is-animated .cl-tag-cloud-canvas{display:none}
}
/* v0.7 the navigation sprite is drawn, not filled.

   Every symbol in public_html/img/nav-icons.svg is an outline: open paths, no fill attribute and no
   stroke attribute. The sprite's own header says they are drawn with stroke:currentColor, but
   nothing ever set it, so SVG's default applied instead - fill:black, stroke:none. On a light bar
   that reads as a smudge; on Factory Reset Sidebar's dark rail it is black on near-black and the
   icons simply are not there.

   Core owns the sprite, so core states how it is drawn. A theme still sets the colour, because
   currentColor is whatever the theme painted the text. */
.cl-nav-icon{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* The tag row says what it is. A row of chips under a description is otherwise decoration. */
.cl-course-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem}
.cl-course-card-tags-label{font-size:.66rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.65;margin-right:.1rem}
.cl-slanted-texture{position:relative;isolation:isolate}
.cl-slanted-texture>*{position:relative;z-index:1}
.cl-slanted-texture::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:repeating-linear-gradient(var(--cl-texture-angle),var(--cl-texture-dark) 0 var(--cl-texture-band),var(--cl-texture-light) var(--cl-texture-band) calc(var(--cl-texture-band) * 2))}
/* Where the texture is the element's own surface rather than a layer beneath its children. */
.cl-slanted-texture-flat{background:repeating-linear-gradient(var(--cl-texture-angle),var(--cl-texture-dark) 0 var(--cl-texture-band),var(--cl-texture-light) var(--cl-texture-band) calc(var(--cl-texture-band) * 2))}
/* The page canvas. ThemeRenderer puts this on every body, so the texture is the platform's
   background rather than one theme's.

   Qualified with body so it outranks a theme's own `body{background:...}` without !important:
   that rule is a single element selector, and this is an element plus a class. Attached rather
   than scrolling, so the bands stay put instead of sliding under a long page - the texture is the
   surface the page sits on, not part of its content.

   The texture's light colour is also the body's background colour, under the bands. A fixed background
   covers the viewport only, and Bootstrap 6 keeps the scrollbar gutter beside it; the body's colour
   passes to the whole canvas (html paints none), so the gutter takes the page's ground, not white. */
body.cl-page-texture{background:repeating-linear-gradient(var(--cl-texture-angle),var(--cl-texture-dark) 0 var(--cl-texture-band),var(--cl-texture-light) var(--cl-texture-band) calc(var(--cl-texture-band) * 2)) fixed var(--cl-texture-light)}
/* The profile image, on the header and on its own panel.

   Sized in the markup as well as here, so the page does not reflow between the layout arriving and
   the image arriving - a 128px hole that becomes a 128px picture, rather than nothing that becomes
   something and pushes the form down as it does. */
.cl-profile-avatar{width:72px;height:72px;border-radius:14px;object-fit:cover;flex:0 0 auto;display:block}
.cl-profile-avatar-empty{width:72px;height:72px;border-radius:14px;flex:0 0 auto}
.cl-profile-image-panel{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:flex-start}
.cl-profile-image-preview{width:128px;height:128px;border-radius:18px;object-fit:cover;flex:0 0 auto;display:block;border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.cl-profile-image-empty{display:grid;place-items:center;font-size:2.6rem;font-weight:700;opacity:.45;background:color-mix(in srgb,currentColor 8%,transparent)}
.cl-profile-image-actions{flex:1 1 16rem;min-width:0}
/* A fact the interface shows rather than a control it offers. Styled like a label so it sits in the
   form's rhythm, but it is not a label - there is no field for it to name. */
.cl-inferred-label{font-size:.78rem;font-weight:600;letter-spacing:.01em;opacity:.85}
/* The profile image editor.

   Shown only once the Stimulus controller has a picture to edit; without JavaScript the panel is
   never revealed and the file input beside it is the whole control, which is the platform's rule
   for every enhancement. */
.cl-profile-image-current{display:grid;gap:.4rem;justify-items:center;flex:0 0 auto}
/* A company's logo card (2026-10-26): the logo, or its drawn picture, beside the upload. */
.cl-company-logo-panel{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}
.cl-company-logo-current{display:grid;gap:.4rem;justify-items:center;margin:0;flex:0 0 auto}
.cl-company-logo-preview{width:128px;height:128px;object-fit:contain;border-radius:var(--cl-radius,.5rem);background:var(--cl-surface,#fff)}
.cl-company-logo-form{flex:1 1 16rem;min-width:0}
.cl-company-logo-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.cl-company-logo-actions form{margin:0}
/* Show me another and Back to my first one, under a drawn avatar (2026-10-26). */
.cl-profile-image-current .help{text-align:center;max-width:16rem}
.cl-profile-avatar-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.cl-profile-avatar-actions form{margin:0}
.cl-image-editor{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:flex-start;margin:.9rem 0 1rem}
.cl-image-editor-stage{position:relative;flex:0 0 auto;line-height:0}
/* The frame is the crop. Everything drawn outside it is dimmed rather than hidden, so the reader
   can see what is being left out while they drag - a hard edge shows the result but not the choice. */
.cl-image-editor-canvas{display:block;width:min(320px,60vw);height:auto;aspect-ratio:1;border-radius:14px;background:color-mix(in srgb,currentColor 8%,transparent);cursor:grab;touch-action:none}
.cl-image-editor-canvas:active{cursor:grabbing}
.cl-image-editor-mask{position:absolute;inset:0;border-radius:14px;pointer-events:none;box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 30%,transparent)}
.cl-image-editor-controls{flex:1 1 14rem;min-width:0;display:grid;gap:.75rem}
.cl-image-editor-buttons{display:flex;flex-wrap:wrap;gap:.4rem}
.cl-image-editor-controls input[type="range"]{width:100%}
.cl-image-editor-preview{display:grid;gap:.3rem;justify-items:start}
.cl-image-editor-preview canvas{width:96px;height:96px;border-radius:14px;background:color-mix(in srgb,currentColor 8%,transparent);border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
/* The course card header: the course name and the favourite star, over the artwork.

   The artwork is a background layer rather than content, and the scrim over it is what keeps a
   white title legible whatever colours the generated cover happens to draw. Both are behind the
   headline in the stacking order, and neither takes pointer events, so the title stays a link and
   the star stays a button. */
/* One size for every card's picture (owner, 2026-10-20: "the same size across all courses. the bigger size is preferable"): 16:10, growing only for a title that needs more room. */
.cl-course-card-header{position:relative;isolation:isolate;display:flex;align-items:flex-end;aspect-ratio:16/10;min-height:8.5rem;overflow:hidden}
.cl-course-card-art{position:absolute;inset:0;z-index:0;line-height:0;pointer-events:none}
.cl-course-card-art svg,.cl-course-card-art img{display:block;width:100%;height:100%;object-fit:cover}
/* A course card's cover picture fills the card's art as its drawn cover does. */
.cl-course-cover{display:block;width:100%;height:100%;object-fit:cover;background:var(--cl-light,#e8eef3)}
.cl-course-card-art .cl-course-cover-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:2.4rem;font-weight:800;color:#fff;background:linear-gradient(135deg,#243b53,#486581)}
.cl-course-card-header::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(12,20,28,.86) 0%,rgba(12,20,28,.55) 45%,rgba(12,20,28,.12) 100%)}
.cl-course-card-headline{position:relative;z-index:2;display:flex;align-items:flex-start;gap:.5rem;width:100%;padding:.7rem .8rem}
.cl-course-card-headline .cl-course-card-title{flex:1 1 auto;min-width:0;margin:0;font-size:.98rem;line-height:1.25;text-wrap:balance}
.cl-course-card-headline .cl-course-card-title a{color:#fff;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.cl-course-card-headline .cl-course-card-title a:hover{text-decoration:underline}
.cl-favourite-form{flex:0 0 auto;margin:0;line-height:0}
/* The star reads on the artwork whichever way it sits, so it carries its own disc rather than
   relying on the scrim behind it. */
.cl-course-card-headline .cl-favourite{display:grid;place-items:center;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;cursor:pointer;font-size:1.15rem;line-height:1;color:#fff;background:rgba(12,20,28,.45);backdrop-filter:blur(2px);transition:transform .12s,background .12s,color .12s}
.cl-course-card-headline .cl-favourite:hover{background:rgba(12,20,28,.7);transform:scale(1.08)}
.cl-course-card-headline .cl-favourite.is-on{color:#ffd54a}
.cl-course-card-headline .cl-favourite:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* The course detail headline: the course title and the same favourite star the card carries.

   Only the row is stated here. The star sits on the page background rather than on cover artwork,
   so it keeps the ordinary bordered .cl-favourite form and needs no scrim treatment of its own. */
.cl-course-detail-headline{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.cl-course-detail-headline>h1{flex:1 1 auto;min-width:0;margin:0;text-wrap:balance}
/* The panel a section head introduces keeps its own air even where a theme collapses the heading. */
.cl-profile-image-panel{margin-top:.25rem}
/* Shared breadcrumb cart: mouse hover, keyboard focus and touch disclosure. */
.cl-cart-chrome { margin-inline-start:auto; display:flex; align-items:center; justify-content:flex-end; gap:.65rem; flex-shrink:0; }
/* The two notices at the top of a page (partials/page-notices.html.twig; owner, 2026-11-25): one under the other while in
   full, and side by side on one line once collapsed (the demo badge, the short site notification). A collapsed site
   notification is its short text and the count, without the date line. */
.cl-flash-stack.cl-notices{display:flex;flex-wrap:wrap;align-items:center;gap:22px 12px}
.cl-notices>.cl-notice{flex:1 1 100%;min-width:0;margin:0}
.cl-notices>.cl-notice[data-notice-state="collapsed"]{flex:0 1 auto}
.cl-notice[data-notice-state="collapsed"] .cl-ui-countdown-until{display:none}
/* When its countdown reaches zero the site notification is hidden (cattophp.js hides its .cl-notice): a row left with
   no notice showing is gone with it, on a live site (where it was the only one) as on a demo one. */
.cl-flash-stack.cl-notices:not(:has(>.cl-notice:not([hidden]))){display:none}
.cl-cart-menu { position:relative; }
.cl-cart-menu > summary { display:flex; align-items:center; gap:.3rem; cursor:pointer; list-style:none; padding:.45rem; border-radius:.4rem; }
.cl-cart-menu > summary::-webkit-details-marker { display:none; }
.cl-cart-menu > summary:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.cl-cart-count { min-width:1.3rem; height:1.3rem; padding:0 .25rem; display:grid; place-items:center; border-radius:1rem; font-size:.75rem; font-weight:700; }
.cl-cart-panel { position:absolute; inset-inline-end:0; top:100%; z-index:1100; width:min(23rem, calc(100vw - 2rem)); max-height:70vh; overflow:auto; padding:1rem; border:1px solid; border-radius:.5rem; font-size:.9rem; text-align:left; }
.cl-cart-menu:not([open]) > .cl-cart-panel { display:none; }
.cl-cart-heading { font-size:1.05rem; font-weight:700; }
.cl-cart-line, .cl-cart-total, .cl-cart-links { display:flex; justify-content:space-between; gap:1rem; padding:.7rem 0; }
.cl-cart-line { border-bottom:1px solid; }
.cl-cart-line > span { white-space:nowrap; }
.cl-cart-total { margin:0; }
/* A line of the cart's list: its icon on the left, its name with its price beneath, and Remove on the right (2026-11-20). */
.cl-cart-line { align-items:center; gap:.7rem; }
.cl-cart-line-icon { flex:none; display:inline-flex; }
.cl-cart-line-icon svg { width:1.15rem; height:1.15rem; }
.cl-cart-line > .cl-cart-line-body { flex:1 1 auto; min-width:0; display:grid; gap:.15rem; white-space:normal; overflow-wrap:break-word; }
.cl-cart-line-note { font-size:.78rem; opacity:.75; }
.cl-cart-line-remove { flex:none; margin:0; }
.cl-promotion-courses { border:0; padding:0; margin-left:0; margin-right:0; min-width:0; }
.cl-bundle-line { padding:.25rem 0 .5rem; overflow-wrap:anywhere; }
.cl-bundle-line p { margin:0 0 .35rem; }
.cl-bundle-line-title { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }
.cl-bundle-courses { display:grid; gap:.5rem; padding-left:1.5rem; margin:0 0 1rem; }
.cl-bundle-courses li { overflow-wrap:anywhere; }
.cl-bundle-courses li > span:first-child { margin-right:.75rem; }
.cl-bundle-course-actions { display:inline-flex; flex-wrap:wrap; gap:.25rem; vertical-align:middle; }
.cl-catalogue-bundles { margin:0 0 1rem; }
/* Bundles as bundles (owner, 2026-11-07, the approved mockup: "it needs to be obvious they are bundles not courses"): their
   own colour, a theme's --cl-bundle, --cl-bundle-text and --cl-bundle-highlight, else the accent darkened with a warm
   highlight. In the catalogue a card of their own between the head and the courses, its background a shade of the accent,
   its heading marked. A card is a small pile, about half a course card's height, three to a row; a row's cards are as
   tall as the row, their covers, price and View bundle at its foot; among course cards one keeps its own height. The
   list's head is in the bundle colour, its View bundle too. */
.cl-catalogue-bundle-section,.cl-bundle-cards,.cl-bundle-card,.cl-bundle-list{--cl-bundle-surface:var(--cl-bundle,color-mix(in srgb,var(--cl-accent,#9a4a2a) 82%,#000));--cl-bundle-ink:var(--cl-bundle-text,#fbf6ee);--cl-bundle-mark:var(--cl-bundle-highlight,#efc293);--cl-bundle-quiet:color-mix(in srgb,var(--cl-bundle-ink) 84%,var(--cl-bundle-surface));--cl-bundle-rule:color-mix(in srgb,var(--cl-bundle-mark) 35%,transparent)}
.cl-catalogue-sections>.cl-ui-surface.cl-ui-surface:has(>.cl-catalogue-bundle-section){background:color-mix(in srgb,var(--cl-accent-soft,#f4e4d6) 60%,var(--cl-surface,#fff))}
.cl-catalogue-sections{display:grid;gap:1.25rem;min-width:0}
/* A bundle's page opens as its card does (owner, 2026-11-07, the approved mockup): its drawing, then the bundle colour with
   "Course bundle · N courses", its name and its star, drawn as a pile; its short description and facts beneath. */
.cl-bundle-head{--cl-bundle-surface:var(--cl-bundle,color-mix(in srgb,var(--cl-accent,#9a4a2a) 82%,#000));--cl-bundle-ink:var(--cl-bundle-text,#fbf6ee);--cl-bundle-mark:var(--cl-bundle-highlight,#efc293);--cl-bundle-rule:color-mix(in srgb,var(--cl-bundle-mark) 35%,transparent);position:relative;z-index:0;display:flex;flex-direction:column;margin:14px 14px 0 0;background:var(--cl-bundle-surface);color:var(--cl-bundle-ink);border-radius:var(--cl-radius,.75rem)}
.cl-bundle-head::before,.cl-bundle-head::after{content:"";position:absolute;inset:0;z-index:-1;background:var(--cl-bundle-surface);border-radius:inherit;pointer-events:none}
.cl-bundle-head::after{transform:translate(7px,-7px);opacity:.5}
.cl-bundle-head::before{transform:translate(14px,-14px);opacity:.22}
.cl-bundle-head-art{aspect-ratio:32/13;overflow:hidden;border-radius:var(--cl-radius,.75rem) var(--cl-radius,.75rem) 0 0;background:#1f1915}
.cl-bundle-head-art svg{display:block;width:100%;height:100%}
.cl-bundle-head-band{display:grid;gap:.6rem;padding:1.5rem 2.25rem 1.9rem}
.cl-bundle-head .cl-bundle-head-kind{display:flex;align-items:center;gap:.6rem;margin:0;color:var(--cl-bundle-mark);font-size:.8rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase}
.cl-bundle-head-kind svg{flex:none;width:18px;height:18px}
.cl-bundle-head .cl-bundle-head-band h1{margin:0;color:var(--cl-bundle-ink);overflow-wrap:anywhere}
.cl-bundle-head-under{margin-top:1.75rem}
@media(max-width:640px){.cl-bundle-head{margin-right:10px}.cl-bundle-head-band{padding:1.1rem 1.25rem 1.4rem}.cl-bundle-head-art{aspect-ratio:16/9}}
.cl-catalogue-bundle-section{display:grid;gap:1.25rem;min-width:0}
.cl-catalogue-bundle-section>.cl-ui-section-head h2{display:flex;align-items:center;gap:.65rem}
.cl-catalogue-bundle-section>.cl-ui-section-head h2::before{content:"";flex:none;width:2.4rem;height:2.4rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efc293' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12'/%3E%3Cpath d='M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17'/%3E%3C/svg%3E") center/1.4rem no-repeat,var(--cl-bundle-surface)}
.cl-catalogue-bundle-section>.cl-ui-section-head .cl-ui-section-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
/* Bundle cards: as many to a row at desktop width as Settings > Cards in a row says for bundles (3 to start), stepping down
   to 5, 4 and 3 as the screen narrows, then 2 and 1 as they always have. */
.cl-bundle-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.9rem 1.6rem;padding-top:10px}
.cl-bundle-cards[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.cl-bundle-cards[data-columns="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.cl-bundle-cards[data-columns="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1360px){.cl-bundle-cards[data-columns="6"]{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1280px){.cl-bundle-cards[data-columns="5"],.cl-bundle-cards[data-columns="6"]{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.cl-bundle-cards[data-columns]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.cl-bundle-cards,.cl-bundle-cards[data-columns]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cl-bundle-cards,.cl-bundle-cards[data-columns]{grid-template-columns:minmax(0,1fr)}}
.cl-course-cards>.cl-bundle-card{align-self:start;margin-top:10px}
.cl-bundle-card{position:relative;z-index:0;display:flex;flex-direction:column;gap:.75rem;min-width:0;margin-right:10px;padding:1.1rem 1.25rem 1.25rem;background:var(--cl-bundle-surface);color:var(--cl-bundle-ink);border-radius:var(--cl-radius,.75rem)}
.cl-bundle-card::before,.cl-bundle-card::after{content:"";position:absolute;inset:0;z-index:-1;background:var(--cl-bundle-surface);border-radius:inherit;pointer-events:none}
.cl-bundle-card::after{transform:translate(5px,-5px);opacity:.5}
.cl-bundle-card::before{transform:translate(10px,-10px);opacity:.22}
.cl-bundle-card-art{flex:none;height:170px;margin:-1.1rem -1.25rem .25rem;overflow:hidden;border-radius:var(--cl-radius,.75rem) var(--cl-radius,.75rem) 0 0;background:#1f1915}
.cl-bundle-card-art img{display:block;width:100%;height:100%;object-fit:cover}
.cl-bundle-card-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.cl-bundle-card .cl-bundle-card-kind{display:flex;align-items:center;gap:.5rem;margin:0;color:var(--cl-bundle-mark);font-size:.75rem;font-weight:500;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.cl-bundle-card-kind svg{flex:none;width:16px;height:16px}
/* The star on the dark card (owner, 2026-11-07: "the star needs to be visible when i'm not hovering over it and switch it to
   a different colour when I do"): light in its outline, the highlight on hover or focus; starred, the highlight, and light
   on hover. Stronger than a theme's own star, which is drawn for a light card. */
:is(.cl-bundle-card .cl-bundle-card-top,.cl-bundle-head .cl-bundle-head-band) .cl-favourite{color:var(--cl-bundle-ink);border-color:var(--cl-bundle-rule);background:transparent}
:is(.cl-bundle-card .cl-bundle-card-top,.cl-bundle-head .cl-bundle-head-band) .cl-favourite:is(:hover,:focus-visible),:is(.cl-bundle-card .cl-bundle-card-top,.cl-bundle-head .cl-bundle-head-band) .cl-favourite.is-on{color:var(--cl-bundle-mark);border-color:var(--cl-bundle-mark);filter:none}
:is(.cl-bundle-card .cl-bundle-card-top,.cl-bundle-head .cl-bundle-head-band) .cl-favourite.is-on:is(:hover,:focus-visible){color:var(--cl-bundle-ink);border-color:var(--cl-bundle-ink)}
.cl-bundle-card .cl-bundle-card-title{margin:0;font-size:1.55rem;font-weight:600;line-height:1.12;overflow-wrap:anywhere}
.cl-bundle-card .cl-bundle-card-title a{color:inherit;text-decoration:none}
.cl-bundle-card .cl-bundle-card-title a:hover,.cl-bundle-card .cl-bundle-card-title a:focus-visible{color:inherit;text-decoration:underline;text-underline-offset:3px}
.cl-bundle-card .cl-bundle-card-summary{display:-webkit-box;margin:0;overflow:hidden;color:var(--cl-bundle-quiet);font-size:.875rem;line-height:1.45;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.cl-bundle-card-offer{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.75rem;margin-top:auto}
.cl-bundle-card-covers{display:flex;margin:0;padding:0 0 0 2px;list-style:none}
.cl-bundle-card-covers li{flex:none;margin:0}
.cl-bundle-card-covers li+li{margin-left:-26px}
.cl-bundle-card-covers img,.cl-bundle-card-initial,.cl-bundle-card-more{display:flex;align-items:center;justify-content:center;width:64px;height:40px;object-fit:cover;box-shadow:0 0 0 2px var(--cl-bundle-surface)}
.cl-bundle-card-initial,.cl-bundle-card-more{background:color-mix(in srgb,var(--cl-bundle-mark) 24%,var(--cl-bundle-surface));color:var(--cl-bundle-mark);font-size:.875rem;font-weight:600}
.cl-bundle-card .cl-bundle-card-price{margin:0 0 0 auto;text-align:right}
.cl-bundle-card-price .cl-price{display:inline-flex;flex-direction:column-reverse;align-items:flex-end}
.cl-bundle-card .cl-bundle-card-price .cl-price-now{color:inherit;font-size:1.25rem;font-weight:600;line-height:1.2;white-space:nowrap}
.cl-bundle-card .cl-bundle-card-price .cl-price-was{color:var(--cl-bundle-quiet);font-size:.8rem;white-space:nowrap}
.cl-bundle-card-terms{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem}
.cl-bundle-card .cl-bundle-card-badges{display:flex;flex-wrap:wrap;gap:.375rem;margin:0}
.cl-bundle-card .cl-bundle-card-access{margin:0;color:var(--cl-bundle-quiet);font-size:.8rem}
.cl-bundle-card-foot{display:flex;justify-content:flex-start;padding-top:.875rem;border-top:1px solid var(--cl-bundle-rule)}
.cl-bundle-card .cl-bundle-card-foot .cl-ui-action--primary{background:var(--cl-bundle-mark);border-color:var(--cl-bundle-mark);color:var(--cl-ink,#1f1915)}
.cl-bundle-card .cl-bundle-card-foot .cl-ui-action--primary:hover,.cl-bundle-card .cl-bundle-card-foot .cl-ui-action--primary:focus-visible{background:var(--cl-bundle-ink);border-color:var(--cl-bundle-ink);color:var(--cl-ink,#1f1915)}
/* A bundle card answers the pointer (owner, 2026-11-08, the approved mockup: "Border glow, scale-up and pulsing save
   badge"; 2026-11-13, the approved mockup: its background turns the theme's --cl-bundle-hover, espresso in Saharan Sunset,
   and its one Save badge, the amount with its percentage, pulses and see-saws about its centre as a course card's Special
   badge does): it grows a little above its neighbours, its edge lights up in the bundle's highlight with a warm glow beyond
   it. Changing --cl-bundle-surface carries the stack behind the card, the covers' rings and the quiet words with it.
   Under a pointer that can hover (a tap on a phone leaves it alone) and when the keyboard is inside it. With motion turned
   off it only changes colour and lights up. */
@keyframes cl-badge-see-saw{0%,100%{transform:scale(1) rotate(0)}25%{transform:scale(1.15) rotate(-5deg)}50%{transform:scale(1) rotate(0)}75%{transform:scale(1.15) rotate(5deg)}}
.cl-bundle-card{--cl-bundle-glow:0 0 0 2px var(--cl-bundle-mark),0 0 0 6px color-mix(in srgb,var(--cl-bundle-mark) 40%,transparent),0 0 36px 10px color-mix(in srgb,color-mix(in srgb,var(--cl-bundle-mark) 62%,var(--cl-bundle-surface)) 70%,transparent),0 22px 44px rgb(31 25 21 / .22);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s cubic-bezier(.2,.8,.2,1),background-color .35s ease}
.cl-bundle-card::before,.cl-bundle-card::after{transition:background-color .35s ease}
.cl-bundle-card .cl-bundle-card-badges .cl-ui-badge--success:first-child{transform-origin:center;text-wrap:balance}
.cl-bundle-card:has(:focus-visible){z-index:1;transform:scale(1.035);box-shadow:var(--cl-bundle-glow);--cl-bundle-surface:var(--cl-bundle-hover,var(--cl-bundle,color-mix(in srgb,var(--cl-accent,#9a4a2a) 82%,#000)))}
.cl-bundle-card:has(:focus-visible) .cl-bundle-card-badges .cl-ui-badge--success:first-child{animation:cl-badge-see-saw 1.8s ease-in-out infinite}
@media(hover:hover){.cl-bundle-card:hover{z-index:1;transform:scale(1.035);box-shadow:var(--cl-bundle-glow);--cl-bundle-surface:var(--cl-bundle-hover,var(--cl-bundle,color-mix(in srgb,var(--cl-accent,#9a4a2a) 82%,#000)))}.cl-bundle-card:hover .cl-bundle-card-badges .cl-ui-badge--success:first-child{animation:cl-badge-see-saw 1.8s ease-in-out infinite}}
/* A course card's Special badge (a marked-down course, partials/course-card.html.twig) moves the same way under the pointer
   and from the keyboard (owner, 2026-11-13); the card's darker shade and glow are the theme's. */
.cl-course-card .cl-course-card-special .cl-ui-badge--success{transform-origin:center}
.cl-course-card:has(:focus-visible){z-index:1}
.cl-course-card:has(:focus-visible) .cl-course-card-special .cl-ui-badge--success{animation:cl-badge-see-saw 1.8s ease-in-out infinite}
@media(hover:hover){.cl-course-card:hover{z-index:1}.cl-course-card:hover .cl-course-card-special .cl-ui-badge--success{animation:cl-badge-see-saw 1.8s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){.cl-bundle-card,.cl-bundle-card::before,.cl-bundle-card::after{transition:none}.cl-bundle-card:is(:hover,:has(:focus-visible)){transform:none}.cl-bundle-card .cl-bundle-card-badges .cl-ui-badge--success:first-child,.cl-course-card .cl-course-card-special .cl-ui-badge--success{animation:none!important}}
.cl-bundle-list .cl-ui-table table thead th{background:var(--cl-bundle-surface);color:var(--cl-bundle-ink);border-bottom-color:var(--cl-bundle-surface)}
.cl-bundle-list .cl-ui-table td.cl-bundle-list-count{font-weight:600}
.cl-bundle-list .cl-bundle-list-title{font-weight:600}
.cl-bundle-list .cl-ui-table td.cl-bundle-list-summary{min-width:14rem}
.cl-bundle-list-price{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem}
.cl-bundle-list-price .cl-price{display:inline-flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:flex-end;gap:0 .4rem;white-space:nowrap}
.cl-bundle-list-price .cl-price-now{font-weight:600}
.cl-bundle-list-badges{display:flex;flex-wrap:wrap;gap:.3rem;max-width:100%}
/* A bundle's price form says what percentage the price is off the was price as it is typed (owner, 2026-11-09;
   bundle_price_controller.js), and offers the courses' total as the was price. */
.cl-bundle-discount{display:block;margin-top:.4rem;font-size:.875rem;font-weight:600;color:var(--cl-success,#18582c)}
.cl-bundle-discount--quick{grid-column:1/-1;max-width:12rem;margin-top:.25rem;font-size:.8125rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.cl-bundle-use-total{display:flex;justify-content:flex-start;margin-top:.4rem}
.cl-bundle-list-badges .cl-ui-badge{max-width:100%;white-space:normal}
.cl-bundle-list .cl-ui-table .cell-actions .cl-ui-action--primary{background:var(--cl-bundle-surface);border-color:var(--cl-bundle-surface);color:var(--cl-bundle-ink)}
.cl-bundle-list .cl-ui-table .cell-actions .cl-ui-action--primary:hover,.cl-bundle-list .cl-ui-table .cell-actions .cl-ui-action--primary:focus-visible{background:var(--cl-ink,#1f1915);border-color:var(--cl-ink,#1f1915);color:var(--cl-bundle-ink)}
/* A bundle the course is in, under the buy button of its Course access card (the approved mockup): each one after a rule. */
.cl-course-bundles{display:grid;min-width:0}
.cl-course-bundle{display:grid;gap:.5rem;min-width:0;margin-top:1.1rem;padding-top:1.1rem;border-top:1px solid var(--cl-border,#dfe4ea)}
/* Inside the card, so a theme's paragraph spacing does not open the note up: the grid's gap spaces it. */
.cl-ui-surface .cl-course-bundle>p{margin:0;overflow-wrap:anywhere}
.cl-ui-surface .cl-course-bundle>.cl-course-bundle-title{font-weight:700}
.cl-course-card-saving{margin:0}
.cl-public-cart-bar { display:flex; align-items:center; max-width:1200px; margin:auto; padding:.75rem 1rem; }
/* The province field of an address (2026-10-27): its wrapper keeps the form grid, and is gone when not for the country. */
.cl-region-field{display:contents}
.cl-region-field[hidden]{display:none!important}
/* Without script a modal is an ordinary, accessible section containing the same working forms. */
.cl-ui-modal:not(.open):not([hidden]){display:block;position:static;background:transparent;padding:1rem 0;z-index:auto}
.cl-ui-modal:not(.open):not([hidden]) .cl-ui-modal-card{max-height:none;margin:0}
.cl-ui-modal:not(.open) [data-close-modal]{display:none}
.cl-course-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--cl-line,#ddd);border-radius:.75rem;overflow:hidden;background:var(--cl-surface,#fff)}
/* Canonical page construction: shared landmarks and navigation behaviour. Themes decorate these
   concepts and set their top-header/sidebar dimensions; auth state never selects another shell. */
.cl-body{min-height:100vh;margin:0}
.cl-shell,.cl-page,.cl-page-frame,.cl-main,.cl-page-family{min-width:0}
.cl-page-frame>.cl-main{display:block}
.cl-brand{display:flex;align-items:center;gap:.7rem}
/* The site logo first in the brand, before the name (owner, 2026-11-09): as tall as the name, never wider than a column. */
.cl-brand-logo{display:block;flex:0 0 auto;height:44px;width:auto;max-width:180px;object-fit:contain}
/* On a phone the logo, the name and the menu button keep one row: the logo smaller, the row's gap narrower, and on the
   narrowest phones the name without its tagline. */
@media(max-width:700px){.cl-brand-logo{height:30px;max-width:88px}}
@media(max-width:480px){body.cl-body .cl-header-inner:has(.cl-brand-logo){column-gap:16px}.cl-brand-logo{height:28px;max-width:64px}}
@media(max-width:340px){.cl-brand:has(.cl-brand-logo) .cl-brand-copy small{display:none}}
.cl-brand-copy{min-width:0}
.cl-brand-copy strong,.cl-brand-copy small{display:block}
.cl-header-inner{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}
.cl-header-actions{display:flex;align-items:center;min-width:0}
.cl-page-context-inner{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;width:100%;min-width:0}
/* Page width and row spacing. Every page is the one standard width - ThemeRenderer puts cl-width-wide
   on the body - except Home and course landing pages (cl-width-full); there are no narrow pages (owner,
   2026-10-18). Every row in main (the page head, the identity band, each page section) takes its width
   and spacing from these variables, not from Bootstrap container and spacing classes. The defaults
   draw what those classes drew: Bootstrap's 1320px container with its .75rem gutter, 3rem above and
   below. Full is drawn as wide unless a theme draws it otherwise. A theme changes the width, the
   gutter or the rhythm by setting the variables, never per page. */
.cl-body{--cl-content-width:1320px;--cl-gutter:.75rem;--cl-section-space:3rem}
/* A theme's page-family wrapper (div.cl-page-family) is transparent here: its sections are rows too. */
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-section{width:100%;max-width:var(--cl-content-width);margin-inline:auto;padding-inline:var(--cl-gutter)}
/* The page's own boxes line up with its cards (owner, 2026-10-21: "the Page header is wider than the Page section. They
   should align with each other"). The notices, the page head and the identity band are each exactly as wide as the cards
   beneath them, whatever a theme paints on them (a box, a band, a picture): the cards sit a gutter inside the content
   width, and so do these. Their words sit inside their box by the gutter; a theme whose head is not a box sets
   --cl-head-inset to 0 so its title stands on the cards' edge. */
/* A theme whose content width is none leaves the cap invalid, so it falls back to none: the row less two gutters. */
:is(.cl-main,.cl-main>.cl-page-family)>:is(.cl-flash-stack,.cl-page-head,.cl-identity-head){box-sizing:border-box!important;width:calc(100% - 2 * var(--cl-gutter))!important;max-width:calc(var(--cl-content-width) - 2 * var(--cl-gutter))!important;margin-inline:auto!important}
:is(.cl-main,.cl-main>.cl-page-family)>.cl-flash-stack{padding-inline:0!important}
/* A course, bundle or landing head holds its words in a container: the head is already the cards' width, so the container fills
   it and insets its words like any head (--cl-head-inset), and a picture in it fills it. */
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-head>.cl-container{max-width:none!important;width:100%!important;padding-inline:var(--cl-head-inset,var(--cl-gutter))!important}
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-head>.cl-container:has(>.cl-picture-head){padding-inline:0!important;max-width:none!important;width:100%!important}
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-head:has(.cl-picture-head){padding-inline:0!important}
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-section{padding-block:var(--cl-section-space)}
/* Consecutive sections (a company page's banner and its body) share one gap rather than two. */
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-section+.cl-page-section{padding-top:0}
/* A page section's own padding is the space at its edges, so its first and last spaced block (a card
   with section spacing) does not add its margin to it. Between blocks the margins stay. */
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-section>.cl-ui-spaced:first-child{margin-top:0}
:is(.cl-main,.cl-main>.cl-page-family)>.cl-page-section>.cl-ui-spaced:last-child{margin-bottom:0}
/* A course page's About this course may hold a table and a path of courses (owner-approved mockup, 2026-11-05). */
.cl-prose h3{margin:1.25rem 0 .5rem;font-size:1.2rem!important;line-height:1.3}
.cl-prose table{width:100%;border-collapse:collapse;margin:.5rem 0 1rem;font-size:.95em}
.cl-prose th{text-align:left;font-weight:600;padding:.4rem .9rem .4rem 0;border-bottom:1px solid var(--cl-border,var(--cl-line,#dfe4ea))}
.cl-prose td{padding:.45rem .9rem .45rem 0;border-bottom:1px solid var(--cl-border,var(--cl-line,#dfe4ea));vertical-align:top}
@media (max-width:640px){.cl-prose table{display:block;overflow-x:auto}}
.cl-course-path{list-style:none;margin:.5rem 0 1rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.75rem}
.cl-course-path li{border:1px solid var(--cl-border,var(--cl-line,#dfe4ea));padding:.7rem .9rem}
.cl-course-path li.is-this-course{border-color:currentColor}
.cl-course-path li>strong{display:block;font-size:.78em;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.cl-owner-messages{display:grid;gap:1.25rem}
.cl-owner-messages-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.cl-owner-messages-actions form{margin:0}
/* Settings > Card payments (Stitch)'s actions, one row that wraps (owner, 2026-11-11). */
.cl-card-payments-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:1rem 0 .5rem}
.cl-card-payments-actions form{margin:0}
.cl-card-payments-addresses{margin-top:1.25rem}
/* Checkout's payment method (owner, 2026-11-12): only the chosen method's details show, from the option chosen, with no script;
   a browser without :has() shows every method's details, each naming its method. */
@supports selector(:has(*)){
.cl-payment-method [data-method-detail]{display:none}
.cl-payment-method:has(option[value="card"]:checked) [data-method-detail="card"],
.cl-payment-method:has(option[value="eft"]:checked) [data-method-detail="eft"],
.cl-payment-method:has(option[value="dummy"]:checked) [data-method-detail="dummy"]{display:block}
/* The checkout's methods as radio cards (owner, 2026-11-19): the simulated card's outcome shows only while it is chosen. */
.cl-payment-method:has(input[name="payment_method"][value="dummy"]:checked) [data-method-detail="dummy"]{display:block}
}
/* Administration > Credits & Orders > Stitch (owner, 2026-11-11): the four lists as feature cards, the period beside them, and
   the Newest and Older links under the table. */
.cl-stitch-choice{margin:.35rem 0 1rem}
.cl-stitch-choice>.cl-ui-field{max-width:14rem;margin:.75rem 0 0}
.cl-stitch-pages{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.cl-owner-messages-note{margin:0;font-weight:500}
.cl-owner-messages-note--danger{color:#8f1d1d}
.cl-owner-messages-note--success{color:#0f3f21}
.cl-site-notification-samples{display:grid;gap:.5rem;margin:.75rem 0 1.25rem}
.cl-site-notification-samples-label{margin:0;font-weight:600}
.cl-nav-toggle{display:none;border:1px solid currentColor;border-radius:.5rem;padding:.5rem .8rem;background:transparent;color:inherit}
.cl-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem;min-width:0}
.cl-nav-link,.cl-nav-sublink{display:flex;align-items:center;gap:.5rem;text-decoration:none;font:inherit;color:inherit;text-align:left}
.cl-nav-link{border:0;background:transparent;padding:.6rem .7rem;border-radius:.5rem;white-space:nowrap}
.cl-nav-menu{position:relative;min-width:0}
.cl-nav-menu>summary{list-style:none;cursor:pointer}
.cl-nav-menu>summary::-webkit-details-marker{display:none}
.cl-nav-menu>summary::marker{content:""}
.cl-nav-form{margin:0}
.cl-nav-panel{position:absolute;right:0;top:calc(100% + .5rem);z-index:1060;min-width:15rem;padding:.5rem;background:var(--cl-page-surface,#fff);color:var(--cl-ink,#18212b);border:1px solid var(--cl-border,#dfe4ea);border-radius:.75rem;box-shadow:0 14px 38px #17212b29}
.cl-nav-panel>nav{display:grid;gap:.15rem}
.cl-nav-sublink{padding:.5rem .6rem;border-radius:.4rem}
.cl-nav-panel a:hover{background:color-mix(in srgb,var(--cl-accent,#274b63) 10%,white);color:var(--cl-darkest,var(--primary,#274b63))}
.cl-nav-icon{width:18px;height:18px;flex:0 0 auto}
.cl-sidebar .cl-navigation{display:grid;align-items:stretch}
.cl-sidebar .cl-nav-menu>.cl-nav-panel{position:static;min-width:0;max-width:100%;margin:.25rem 0 .5rem .7rem;box-shadow:none;background:transparent;color:inherit;border:0;border-left:1px solid currentColor}
.cl-sidebar .cl-nav-subpanel{color:inherit}
.cl-sidebar .cl-nav-link{width:100%}
@media(max-width:1120px){
 body.cl-body .cl-header-inner{flex-wrap:wrap}
 body.cl-body:not([data-cl-nav-ready="1"]) .cl-header,body.cl-body[data-cl-nav-open="1"] .cl-header{position:static}
 body.cl-body .cl-navigation{flex-direction:column;align-items:stretch;order:3;width:100%;margin:0;flex-basis:100%}
 body.cl-body .cl-navigation .cl-nav-panel,body.cl-body .cl-navigation .cl-nav-subpanel{position:static;min-width:0;max-width:100%;width:auto;box-shadow:none}
 body.cl-body .cl-nav-subpanel{display:grid}
 body.cl-body .cl-nav-toggle{margin-left:auto}
 body.cl-body[data-cl-nav-ready="1"] .cl-nav-toggle{display:block}
 body.cl-body[data-cl-nav-ready="1"][data-cl-nav-open="0"] .cl-navigation{display:none}
 /* Folded from the first paint where scripts run (partials/head-meta.html.twig), so nothing moves when the menu's script arrives. */
 html[data-cl-script="1"] body.cl-body:not([data-cl-navigation="sidebar"]) .cl-nav-toggle{display:block}
 html[data-cl-script="1"] body.cl-body:not([data-cl-navigation="sidebar"]):not([data-cl-nav-open="1"]) .cl-navigation{display:none}
 body.cl-body[data-cl-nav-open="1"] .cl-navigation{display:flex}
 body.cl-body[data-cl-navigation="sidebar"] .cl-shell{display:block}
 body.cl-body[data-cl-navigation="sidebar"] .cl-sidebar{position:relative;inset:auto;width:100%;height:auto;min-height:0;overflow:visible;padding:1rem}
 body.cl-body[data-cl-navigation="sidebar"] .cl-sidebar>.cl-brand{display:inline-flex;padding-bottom:.5rem}
 body.cl-body[data-cl-navigation="sidebar"] .cl-nav-toggle{float:right}
 body.cl-body[data-cl-navigation="sidebar"] .cl-page{margin-left:0}
 .cl-header-actions{margin-left:auto}
}
/* Core-owned, theme-independent Course Presentation surface. */
.cl-course-presentation-shell{margin:0;background:#fff;color:#172033;min-height:100vh;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cl-course-presentation-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 2rem;border-bottom:1px solid #dce2ea;background:#fff}
.cl-course-presentation-head h1{font-size:1.25rem;margin:0}
.cl-course-presentation-main{max-width:1200px;margin:0 auto;padding:2rem}
.cl-course-presentation-intro{max-width:52rem;margin:0 auto}
.cl-course-presentation-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(16rem,1fr);gap:2rem}
.cl-course-outline{min-width:0}
.cl-course-presentation-summary{align-self:start}
.cl-course-outline-section,.cl-course-outline-item{display:block;padding:.75rem;border-bottom:1px solid #e7ebf0}
.cl-course-outline-item small{display:block;color:#5f6875}
.cl-course-depth-2{margin-inline-start:1.5rem}
.cl-course-depth-3{margin-inline-start:3rem}
.cl-course-depth-4{margin-inline-start:4.5rem}
.cl-course-item{max-width:900px;margin:0 auto}
.cl-course-item-body{margin-block:2rem}
.cl-course-item-paging{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #dce2ea;padding-top:1rem}
.cl-course-item-media img,.cl-course-item-media video,.cl-course-item-media iframe,.cl-course-item-document object{max-width:100%;width:100%}
.cl-course-item-media iframe,.cl-course-item-document object{min-height:32rem}
@media(max-width:760px){.cl-course-presentation-head{align-items:flex-start;flex-direction:column;padding:1rem}.cl-course-presentation-main{padding:1rem}.cl-course-presentation-grid{grid-template-columns:1fr}.cl-course-item-paging{flex-wrap:wrap}}
.cl-course-reader{display:grid;grid-template-columns:minmax(14rem,20rem) minmax(0,1fr);min-height:calc(100vh - 5rem)}
.cl-course-reader>.cl-course-outline{padding:1rem;border-right:1px solid #dce2ea;overflow:auto;max-height:calc(100vh - 5rem);position:sticky;top:0;align-self:start}
.cl-course-reader-content{min-width:0;padding:2rem}
.cl-course-reader-content .cl-course-item{max-width:none;margin:0}
@media(max-width:760px){.cl-course-reader{grid-template-columns:1fr}.cl-course-reader>.cl-course-outline{position:static;max-height:18rem;border-right:0;border-bottom:1px solid #dce2ea}.cl-course-reader-content{padding:1rem}}
.cl-course-presentation-shell{background:#f3f5f8;color:#1d2939}
.cl-course-presentation-head{position:sticky;top:0;z-index:20;min-height:4.5rem;padding:.9rem clamp(1rem,3vw,2.5rem);background:#fff;border-bottom:1px solid #d9e0e8;box-shadow:0 2px 12px rgba(22,34,51,.08)}
.cl-course-presentation-head strong{font-size:1.05rem;letter-spacing:.01em}
.cl-course-reader{grid-template-columns:minmax(16rem,22rem) minmax(0,1fr);gap:0;background:#f3f5f8}
.cl-course-reader>.cl-course-outline{padding:1.25rem .9rem;background:#fff;border-right:1px solid #d9e0e8;box-shadow:2px 0 12px rgba(22,34,51,.04)}
.cl-course-outline-item{margin:.25rem 0;padding:.15rem 0;border:0}
.cl-course-outline-item a,.cl-course-outline-item>span,.cl-course-outline-item>strong{display:block;padding:.75rem .85rem;border-radius:.65rem;color:#465466;text-decoration:none;font-weight:600;line-height:1.3}
.cl-course-outline-item a:hover{background:#edf4fb;color:#145da0}
.cl-course-outline-item.is-current a{background:#145da0;color:#fff;box-shadow:0 4px 12px rgba(20,93,160,.22)}
.cl-course-outline-item small{padding:.15rem .85rem .55rem;color:#718096}
/* A section's outline entry ("Section: <title>"): bold and 2pt larger than an item's, whether it is
   a link, plain text or locked. */
.cl-course-outline-item.cl-course-outline-section>:is(a,strong,span){font-weight:700;font-size:calc(1em + 2pt)}
/* The outline is a flat list in tree order, so each entry is indented by its depth: whatever a
   section or a module holds sits visibly inside it, with a guide line beside it. Declared after the
   outline entry's margin shorthand, which would otherwise reset the indent. A graded assessment is
   indented by its own depth like everything else. */
.cl-course-outline .cl-course-outline-item{margin-inline-start:var(--cl-outline-indent,0)}
.cl-course-outline .cl-course-depth-2{--cl-outline-indent:1.1rem}
.cl-course-outline .cl-course-depth-3{--cl-outline-indent:2.2rem}
.cl-course-outline .cl-course-depth-2:not(.cl-course-outline-assessment),.cl-course-outline .cl-course-depth-3:not(.cl-course-outline-assessment){border-inline-start:2px solid #e3e9f0}
.cl-course-reader-content{padding:clamp(1.25rem,4vw,3.5rem);background:#f3f5f8}
.cl-course-reader-content .cl-course-item{max-width:980px;margin:0 auto;padding:clamp(1.5rem,4vw,3.25rem);background:#fff;border:1px solid #e0e6ed;border-radius:1rem;box-shadow:0 10px 30px rgba(31,45,61,.08)}
.cl-course-item h1{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.15;margin-bottom:1.5rem;color:#16283e}
.cl-course-item-body{font-size:1.06rem;line-height:1.75}
.cl-course-item-body h2,.cl-course-item-body h3{margin-top:2rem;color:#173b61}
.cl-course-item-paging{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid #e0e6ed}
.cl-course-item-media{margin:2rem auto;max-width:800px}
.cl-course-item-media iframe{display:block;width:min(100%,760px)!important;max-width:760px!important;aspect-ratio:16/9;min-height:0!important;height:auto;border:0;border-radius:.65rem;box-shadow:0 8px 24px rgba(20,35,50,.18);margin-inline:auto}
.cl-course-item-media video{display:block;width:min(100%,760px)!important;max-width:760px!important;max-height:430px;margin-inline:auto;border-radius:.65rem;background:#111}
.cl-course-item-media figcaption{margin-top:.65rem;color:#637083;text-align:center;font-size:.92rem}
.cl-course-presentation-intro{max-width:900px;margin:3rem auto;padding:clamp(1.5rem,4vw,3.5rem);background:#fff;border:1px solid #e0e6ed;border-radius:1rem;box-shadow:0 10px 30px rgba(31,45,61,.08)}
.cl-course-outline-assessment{border-left:3px solid #d6e4f2}
.cl-course-outline-assessment a,.cl-course-outline-assessment>span{font-size:.93rem;padding:.6rem .75rem}
.cl-course-presentation-intro .masthead{margin:-1rem -1rem 1.5rem;padding:clamp(2rem,5vw,3.4rem) clamp(1.4rem,5vw,3.2rem);border-radius:.85rem;background:linear-gradient(145deg,#17384f,#0d2337 75%);color:#fff}
.cl-course-presentation-intro .masthead h1{color:#fff;max-width:24ch}
.cl-course-presentation-intro .masthead .course-subtitle{color:#e9c989;font-size:1.08rem;font-weight:600}
.cl-course-presentation-intro .masthead .course-summary{color:rgba(255,255,255,.84);font-size:1.03rem;max-width:64ch}
.cl-course-presentation-intro .meta{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.2rem}
.cl-course-presentation-intro .meta span{padding:.35rem .65rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#d9e7f6;font-size:.85rem}
.course-introduction-copy{font-size:1.06rem;line-height:1.75}
.course-introduction-copy h2,.course-introduction-copy h3{color:#173b61;margin-top:1.8rem}
.cl-course-presentation-intro .progress-strip{margin:0 -1rem 1.5rem}
.cl-course-reader-progress{padding:.7rem clamp(1rem,3vw,2.5rem);background:#fff;border-bottom:1px solid #d9e0e8}
.cl-course-reader-progress .ps-inner{max-width:1200px;margin:0 auto}
.cl-course-reader-progress .ps-row{display:flex;justify-content:space-between;gap:1rem;font-size:.88rem;color:#516174}
.cl-course-reader-progress .cl-ui-progress-group{margin:.4rem 0 0}
.cl-course-reader-progress .cl-ui-progress{height:.55rem;border-radius:999px;background:#e5ebf2}
.cl-course-reader-progress .cl-ui-progress-bar{border-radius:inherit;background:linear-gradient(90deg,#145da0,#2d8ac7);transition:width .25s ease}
.cl-course-reader-progress{position:sticky;top:4.5rem;z-index:19;box-shadow:0 2px 8px rgba(22,34,51,.06)}
.cl-course-outline-title{margin:.2rem .6rem .9rem;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#718096}
.cl-course-presentation-intro{margin:3rem auto!important}
.cl-course-presentation-intro .course-introduction-copy{max-width:72ch;margin-inline:auto}
/* The course reader's primary action is blue with white text, wherever it appears: paging, the
   Download action inside a Downloadable File card, an action inside authored lesson content. The
   reader injects the course's own presentation CSS after this file, and authored rules such as
   `.cl-course-presentation a{color:inherit}` (0,1,1) out-rank a single class, so the colours are
   declared on the component's own two classes under the reader shell (0,3,0), for every link state. */
.cl-course-presentation-shell .cl-ui-action.cl-ui-action--primary,.cl-course-presentation-shell .cl-ui-action.cl-ui-action--primary:visited{padding:.7rem 1.1rem;border-radius:.55rem;background:#145da0;border-color:#145da0;color:#fff;font-weight:700;text-decoration:none}
.cl-course-presentation-shell .cl-ui-action.cl-ui-action--primary:is(:hover,:focus-visible,:active){background:#0e467a;border-color:#0e467a;color:#fff}
/* Course Item type choice: a plain fieldset whose radio choices stack with their one-line help. */
.cl-item-type-choices{display:grid;gap:.75rem;margin:0 0 1rem;padding:0;border:0;min-width:0}
/* Downloadable File card in the Core reader: a bordered panel, the file line and the reader's blue primary action. */
.cl-course-item-download{display:grid;gap:.5rem;margin:1rem 0;padding:1rem 1.15rem;border:1px solid #d9e0e8;border-radius:.6rem;background:#fff}
.cl-course-item-download>*{margin:0}
.cl-course-item-download-title{font-size:1.05rem;font-weight:700}
.cl-course-item-download-meta{font-size:.9rem;color:#475467;overflow-wrap:anywhere}
.cl-course-item-download-note{font-size:.9rem;color:#475467;font-style:italic}
/* Download is the shared primary action; only its touch-target height is its own. */
.cl-course-item-download-link{min-height:44px}
.cl-course-item-description{margin:0 0 1rem}
.cl-course-assessment-scoring-heading{margin-top:2rem}
.cl-course-assessment-action-cards .cl-ui-section-grid{align-items:stretch}
.cl-course-assessment-action-cards .cl-ui-surface{display:flex;flex-direction:column}
.cl-course-assessment-action-cards .cl-ui-surface form{margin-top:auto}
body[data-cl-course-reader="1"] .cl-palette-switcher,body[data-cl-course-reader="1"] .cl-palette-show{display:none!important}
.cl-course-outline-title{font-size:.95rem;font-weight:800;letter-spacing:.11em}
.cl-course-outline-introduction{display:block;margin:.25rem 0;padding:.75rem .85rem;border-radius:.65rem;color:#465466;text-decoration:none;font-weight:600;line-height:1.3}
.cl-course-outline-introduction:hover{background:#edf4fb;color:#145da0}
.cl-course-outline-introduction.is-current{background:#145da0;color:#fff;box-shadow:0 4px 12px rgba(20,93,160,.22)}
.cl-course-presentation-intro{padding:clamp(1.4rem,5vw,3.2rem)!important}
.cl-course-presentation-intro .masthead{margin:0 0 1.5rem!important}
.cl-course-presentation-intro .course-introduction-copy{max-width:none;margin:0}
/* Certificates: the design editor's preview above its form, and the preview itself - the PDF the
 * renderer draws, shown by the browser's own PDF viewer. A design's text styles and fields look in
 * the wording editor roughly as they will print, without pretending to be the certificate. */
/* The preview comes first and takes the full width, about twice the size it had beside the form
   (owner instruction, 2026/10/07); the form follows it. */
.cl-certificate-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.cl-certificate-editor-preview,.cl-certificate-editor-form{min-width:0}
.cl-certificate-preview{display:flex;flex-direction:column;gap:.6rem}
.cl-certificate-preview-frame{display:block;width:100%;aspect-ratio:297/210;min-height:16rem;border:1px solid var(--cl-border,#d9dee5);border-radius:var(--cl-radius,10px);background:#e8ecf1}
.cl-certificate-wording .ck-editor__editable,.cl-certificate-wording textarea{min-height:12rem}
.cl-certificate-wording .ck-content p{margin:0 0 .35rem}
.cl-certificate-wording .ck-content .cert-title{font-size:1.45em;font-weight:700}
.cl-certificate-wording .ck-content .cert-name{font-size:1.6em;font-style:italic}
.cl-certificate-wording .ck-content .cert-course{font-size:1.2em;font-weight:700}
.cl-certificate-wording .ck-content .cert-caps{font-size:.8em;letter-spacing:.15em;text-transform:uppercase}
.cl-certificate-wording .ck-content .cert-small{font-size:.85em}
.cl-certificate-wording .ck-content .align-center{text-align:center}
.cl-certificate-wording .ck-content .align-right{text-align:right}
.cl-certificate-wording .ck-content .align-left{text-align:left}
.cl-certificate-wording .ck-content .cl-field{display:inline-block;padding:0 .45em;border:1px solid #a9c2ec;border-radius:999px;background:#e6eefb;color:#1a4e9e;font-size:.9em;font-style:normal;font-weight:600;letter-spacing:0;text-transform:none;white-space:nowrap}
.cl-certificate-small-print .ck-editor__editable,.cl-certificate-small-print textarea{min-height:4.5rem}
.cl-certificate-custom{min-width:0;margin:1.25rem 0 0;padding:1rem 0 0;border:0;border-top:1px solid var(--cl-border,#d9dee5)}
.cl-certificate-design{display:flex;align-items:center;gap:.75rem;min-width:0;white-space:normal}
.cl-certificate-design-link{font-weight:700;text-decoration:none}
.cl-certificate-design-name{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;min-width:0;white-space:normal}
.cl-certificate-design-link:hover,.cl-certificate-design-link:focus-visible{text-decoration:underline}
.cl-ui-table .cl-certificate-design-name .cl-ui-badge{white-space:normal}
.cl-certificate-designs-col-design{width:46%}
.cl-certificate-designs-col-actions{width:8.5rem}
@media(max-width:700px){.cl-certificate-designs-col-design{width:52%}.cl-certificate-designs-col-actions{width:3.25rem}.cl-certificate-design .cl-certificate-design-thumb{width:3.5rem}}
.cl-certificate-design-thumb{display:block;width:7.5rem;aspect-ratio:297/210;object-fit:cover;border:1px solid var(--cl-border,#d9dee5);background:#fff}
.cl-certificate-pictures{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.cl-certificate-picture{display:block;max-width:12rem;max-height:5rem;border:1px solid var(--cl-border,#d9dee5);background:#fff}
.cl-certificate-pdf{display:block;width:100%;aspect-ratio:297/210;min-height:16rem;border:1px solid var(--cl-border,#d9dee5);border-radius:var(--cl-radius,10px);background:#e8ecf1}
/* Financial documents (Commerce → Financial Documents): the chosen invoice, receipt or credit note
   first, as an A4 portrait page at about the size it prints, with the design's form below it. */
.cl-document-design{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.cl-document-design-form{min-width:0}
.cl-document-preview{display:flex;flex-direction:column;align-items:center;gap:.6rem;margin-top:1rem}
.cl-document-preview-frame{display:block;width:100%;max-width:52rem;aspect-ratio:210/297;min-height:20rem;border:1px solid var(--cl-border,#d9dee5);border-radius:var(--cl-radius,10px);background:#e8ecf1}
.cl-document-pictures{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.cl-document-logo{display:block;max-width:12rem;max-height:5rem;border:1px solid var(--cl-border,#d9dee5);background:#fff}
/* The site logo (owner, 2026-11-09): which logo a design prints, as three cards with the site logo shown beside them
   (partials/admin/logo-choice.html.twig), and the logo itself on Settings > Site Owner. A logo is drawn on white with
   a light edge, as it prints. */
.cl-logo-choice{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;margin:0 0 1rem}
.cl-logo-choice>.cl-ui-picture-choice{flex:1 1 30rem;min-width:0}
.cl-logo-choice-site{flex:0 0 auto;margin:0;display:flex;flex-direction:column;gap:.35rem;font-size:.8125rem;color:var(--cl-text-secondary,#5a4d42)}
.cl-logo-choice-site img{display:block;max-width:12rem;max-height:5rem;padding:.5rem;border:1px solid var(--cl-border,#d9dee5);background:#fff}
.cl-site-logo{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--cl-border,#d9dee5)}
/* The site logo's editor (owner, 2026-11-09: the profile picture's controls, a larger preview): the logo now, large, on a
   light chequer so its transparency shows; the stage and preview take the logo's own shape. */
.cl-site-logo-panel{--cl-chequer:repeating-conic-gradient(#eceff3 0 25%,#fff 0 50%) 0 0/16px 16px}
.cl-site-logo-current{justify-items:start}
.cl-site-logo-preview{display:block;box-sizing:border-box;width:auto;height:auto;max-width:min(24rem,100%);max-height:12rem;padding:.75rem;border:1px solid var(--cl-border,#d9dee5);border-radius:8px;background:var(--cl-chequer)}
.cl-site-picture-preview{display:block;width:100%;max-width:36rem;height:auto;aspect-ratio:1200/630;border:1px solid var(--cl-border,#d9dee5);border-radius:8px}
.cl-site-logo-empty{display:grid;place-items:center;width:24rem;max-width:100%;height:9rem;color:var(--cl-text-secondary,#5a4d42);font-size:.9rem}
.cl-site-logo-current .help{text-align:left}
/* The site's icon (owner, 2026-11-25, Settings > Site Owner's Favicon entry): each icon enlarged (128 pixels) and at its
   real size, on the logo's light tiles and again on the theme's darkest colour, as a dark browser shows it. The real-size
   pictures sit in tiles of one size (a 16 pixel icon in the 32 pixel tile), never stretched. The light and the dark group
   wrap under each other on a phone. */
.cl-favicon-preview{width:154px;height:154px;max-width:100%;object-fit:contain}
.cl-logo-choice-site img.cl-favicon-real{box-sizing:content-box;width:32px;height:32px;max-width:none;max-height:none;object-fit:none;object-position:center}
.cl-logo-choice-site img.cl-favicon-real--60{width:60px;height:60px;object-fit:contain}
.cl-site-logo-preview.cl-favicon-dark,.cl-logo-choice-site img.cl-favicon-dark{background:var(--cl-darkest,#22303f)}
.cl-image-editor--picture .cl-image-editor-canvas{aspect-ratio:auto;width:auto;height:auto;max-width:min(480px,100%);border-radius:6px;background:var(--cl-chequer)}
.cl-image-editor--picture .cl-image-editor-mask{border-radius:6px}
.cl-image-editor--picture .cl-image-editor-preview canvas{width:auto;height:auto;max-width:240px;border-radius:4px;background:var(--cl-chequer)}
/* A course landing page's own sections (CattoPHP's landing pages draw the page, its hero and the generic sections from
   cattophp.css, 2026-11-14): the hero's rating in white over its picture, the course contents' outline and the call to
   action's purchase box. Layout only: colours, type and borders come from the theme through its tokens. */
.cl-picture-head .cl-picture-head-text .cl-rating-summary{color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.cl-landing-outline-count{margin:0 0 .5rem;font-size:.9rem;opacity:.8}
.cl-landing-outline{list-style:none;margin:0;padding:0;border-top:1px solid var(--cl-border,#dfe4ea)}
.cl-landing-outline-node{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .6rem;padding:.55rem .25rem;border-bottom:1px solid var(--cl-border,#dfe4ea)}
.cl-landing-outline-node[data-depth="2"]{padding-inline-start:1.5rem}
.cl-landing-outline-node[data-depth="3"]{padding-inline-start:2.75rem}
.cl-landing-outline-node[data-depth="4"]{padding-inline-start:4rem}
.cl-landing-outline-node.is-section .cl-landing-outline-title{font-weight:700}
.cl-landing-outline-title{min-width:0;overflow-wrap:anywhere}
.cl-landing-outline-kind{font-size:.82rem;opacity:.75}
.cl-landing-outline-description{flex:1 1 100%;font-size:.9rem;opacity:.85;overflow-wrap:anywhere}
.cl-landing-section--cta .cl-course-purchase{max-width:34rem;margin-inline:auto}
.cl-course-purchase{min-width:0}
.cl-course-purchase-note{margin:0 0 .6rem}
.cl-course-purchase-price{margin:0 0 .75rem;overflow-wrap:anywhere}
/* A marked-down price (owner, 2026-10-20): the was price struck through before the price, and what is saved. */
.cl-price{display:inline}
.cl-price-now,.cl-price-was,.cl-ui-key-value-was{white-space:nowrap}
.cl-price--marked-down .cl-price-now{font-weight:700}
.cl-price-was,.cl-ui-key-value-was{font-weight:400;opacity:.72;text-decoration:line-through}
.cl-price-saving{display:inline-block;margin-left:.2em;padding:0 .4em;border:1px solid currentColor;border-radius:var(--cl-radius,.3em);font-size:.85em;font-weight:700;white-space:nowrap}
.cl-course-purchase-saving{margin:-.4rem 0 .75rem;font-weight:700}
.cl-course-card-special{margin:0 0 .5rem}
.cl-course-tags-choice{min-width:0;margin-inline:0;padding:0;border:0}
/* A course's related courses (owner, 2026-10-20): a column per 22rem, so a long list stays short. */
.cl-course-related-choice{min-width:0;margin-inline:0;padding:0;border:0}
.cl-course-related-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr));gap:.15rem 1.5rem}
.cl-picture-head-text .cl-course-detail-headline{display:flex;align-items:flex-start;gap:.75rem}
.cl-picture-head-text .cl-favourite{color:#fff;background:rgba(12,10,8,.45)}
/* Help (owner, 2026-10-20): the way to the FAQ, one big word in a small square-bordered block. */
.cl-help-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem 2rem}
.cl-help-intro>div{flex:1 1 22rem;min-width:0}
.cl-help-faq{display:inline-flex;align-items:center;justify-content:center;min-width:9rem;padding:.9rem 2.2rem;border:2px solid currentColor;border-radius:0;color:inherit;font-size:clamp(2.2rem,5vw,3.2rem);font-weight:700;letter-spacing:.08em;line-height:1;text-decoration:none}
.cl-help-faq:hover,.cl-help-faq:focus-visible{background:color-mix(in srgb,currentColor 8%,transparent)}
.cl-help-faq abbr{text-decoration:none;cursor:inherit}
.cl-course-grading-link{margin-bottom:0}
.cl-course-contact-link{margin:.25rem 0 0}
/* The contact form (owner, 2026-10-20): each reason's own fields in a framed group under the reason chosen.
   Without JavaScript every group shows, its legend saying which reason it is for. */
.cl-contact-faq{margin:0 0 1.25rem}
/* A legal page's PDF (owner, 2026-10-20): its download button and what the PDF holds, on one line where they fit. */
.cl-legal-pdf{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}
/* The setup wizard (owner, 2026-10-20): its steps under the progress bar, each step's buttons on one row. */
.cl-setup-steps{margin-top:1rem}
.cl-setup-action{display:inline-flex;margin:0}
/* The contact form's parts: the reason cards in one row, then About you (name, email and account reference side by
   side), the chosen reason's own fields, then the message. */
.cl-contact-part{margin:0 0 1.5rem;padding:0}
.cl-contact-part>legend{float:none;width:auto;margin:0 0 .5rem;padding:0;font-size:1rem;font-weight:600}
.cl-contact-about{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));align-items:start;gap:1rem 1.25rem}
.cl-contact-about>.cl-ui-field+.cl-ui-field{margin-top:0}
.cl-contact-reason .cl-ui-picture-choice--cards{margin-top:.5rem}
#settings-articles .cl-ui-picture-choice--cards{margin-top:1rem}
.cl-contact-reason{margin:1.25rem 0;padding:1rem 1.25rem 1.25rem;border:1px solid var(--cl-border,#dfe4ea);border-left:4px solid var(--cl-accent,var(--cl-primary,#c4562f));border-radius:var(--cl-radius,.6rem)}
.cl-contact-reason legend{float:none;width:auto;margin:0;padding:0 .4rem;font-size:1rem;font-weight:600}
.cl-contact-reason[hidden]{display:none}
.cl-contact-reason-only{font-weight:400;font-size:.875em;opacity:.75}
.cl-contact-eft-note{margin:.25rem 0 .5rem}
.cl-contact-subpart{margin:0 0 1rem;padding:0}
.cl-contact-subpart>legend{float:none;width:auto;margin:0 0 .5rem;padding:0;font-size:.95rem;font-weight:600}
.cl-contact-company{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));align-items:start;gap:1rem 1.25rem;margin:0 0 1.25rem}
.cl-contact-company[hidden]{display:none}
.cl-contact-company>.cl-ui-field+.cl-ui-field{margin-top:0}
.cl-contact-message-text{white-space:normal;overflow-wrap:anywhere;max-width:60rem}
.cl-faq{display:grid;gap:.6rem}
.cl-faq .cl-ui-accordion-section{margin:0}
.cl-faq .cl-ui-accordion-content>p:last-child{margin-bottom:0}
/* Category icons (owner, 2026-10-20): beside a category in the picker, the catalogue's category line and
   the ADMIN tree. Drawn in the text's colour. Uploaded icons and covers are previewed on their forms. */
.cl-ui-tree-select-icon,.cl-category-icon{display:inline-flex;flex:0 0 auto;width:1.15em;height:1.15em;margin-right:.45em;vertical-align:-.2em}
.cl-ui-tree-select-icon svg,.cl-category-icon svg{display:block;width:100%;height:100%}
.cl-tag-chip-compact .cl-tag-icon svg{width:14px;height:14px;vertical-align:-2px;margin-right:.25rem}
.cl-category-icon--preview,.cl-tag-icon--preview{display:inline-flex;width:2.5rem;height:2.5rem;margin:0 0 .5rem}
.cl-category-icon--preview svg,.cl-tag-icon--preview svg{width:100%;height:100%;margin:0}
.cl-course-cover-preview{display:block;width:min(100%,24rem);aspect-ratio:16/9;margin:0 0 .5rem;overflow:hidden;border-radius:var(--cl-radius,.4rem);line-height:0}
.cl-course-cover-preview svg{display:block;width:100%;height:100%}
.cl-promotion-announcement,.cl-cart-promo-automatic{margin:0 0 .75rem;overflow-wrap:anywhere}
.cl-course-purchase-signin,.cl-course-purchase-inert{margin:.75rem 0 0;font-size:.88rem}
/* A campaign page's call to action that adds several offers (2026-11-27, Marketing\Landing\TogetherBox): each item on a
   row of its own, its name and price on one line where they fit, its company action under them on a company account. */
.cl-landing-together-items{list-style:none;margin:0 0 .75rem;padding:0;border-top:1px solid var(--cl-border,#dfe4ea)}
.cl-landing-together-item{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem 1rem;padding:.6rem 0;border-bottom:1px solid var(--cl-border,#dfe4ea)}
.cl-landing-together-name{flex:1 1 16rem;min-width:0;overflow-wrap:anywhere}
.cl-landing-together-code{display:block;font-size:.8rem;letter-spacing:.04em;color:var(--cl-muted,#5f6b7a)}
.cl-landing-together-about{display:block;font-size:.88rem;color:var(--cl-muted,#5f6b7a)}
.cl-landing-together-price{flex:0 0 auto;font-weight:700;text-align:end}
.cl-landing-together-state{flex:0 0 auto;font-size:.9rem;color:var(--cl-muted,#5f6b7a);text-align:end}
.cl-landing-together-action{flex:1 1 100%}
.cl-landing-together-action form{margin:0}
.cl-landing-together-total{margin-top:.25rem}
/* A list shown as cards (owner, 2026-10-26: "offer a grid view and show grids of cards for each person, course, company").
   The switch between the table and the grid, and the grid's Sort, sit above the list. The grid holds whole rows: 4 cards
   to a row (courses) or 5 (people, companies) at full width, fewer on a narrower screen, never more. Each card: its
   picture (a person's round, a company's square logo, a course's wide 16:10 cover), its title, details and actions. */
.cl-list-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin:0 0 .75rem}
.cl-list-toolbar>*{min-width:0;max-width:100%}
.cl-ui-card .role-list{display:flex;flex-wrap:wrap;gap:.25rem}
.cl-ui-card[data-picture="round"] .role-list,.cl-ui-card[data-picture="square"] .role-list{justify-content:center}
/* The catalogue as a list (owner, 2026-10-26): one line per course like every table row, opening with the course's
   cover, small, beside its title. */
.cl-catalogue-row{display:inline-flex;align-items:center;gap:.65rem;min-width:0;vertical-align:middle}
.cl-catalogue-row-cover{flex:0 0 4.5rem;display:block;width:4.5rem;aspect-ratio:16/10;overflow:hidden;border-radius:calc(var(--cl-radius,10px) / 2);line-height:0}
.cl-catalogue-row-cover>svg,.cl-catalogue-row-cover .cl-course-cover-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.cl-catalogue-row-title{font-weight:600}
.cl-catalogue-row-actions{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:.4rem}
.cl-catalogue-row-actions form{margin:0}
/* On a phone the catalogue's list keeps Course, Price and the actions (Category and Level are data-phone="hide"), and its
   course's title sits under the cover, so the title has the column's whole width (2026-11-17: it was squeezed to a letter
   beside the cover). Only the catalogue's own list; My Favourites has its own rule below. */
@media(max-width:700px){#catalogue-workspace .cl-catalogue-row{flex-direction:column;align-items:flex-start;gap:.35rem}}
/* My Favourites' list on a phone, as the catalogue's (2026-11-17, the same squeeze): Course or bundle, Price and the
   actions (Kind is data-phone="hide"), each title under its cover. Only that page's list. */
@media(max-width:700px){#favourites-list .cl-catalogue-row{flex-direction:column;align-items:flex-start;gap:.35rem}}
/* The company's logo where the company is (owner, 2026-10-26): in its band on every Company page, large on its Dashboard
   and its profile, small beside its name in Switch company. A logo keeps its own shape (contain), on a white ground so a
   transparent one reads on a dark theme. */
.company-context{align-items:center}
.company-context-logo{flex:0 0 auto;width:56px;height:56px;object-fit:contain;background:#fff;border-radius:var(--cl-radius,10px);padding:4px}
.cl-company-dashboard-logo{display:block;line-height:0}
.cl-company-dashboard-logo img{width:96px;height:96px;object-fit:contain;background:#fff;border-radius:var(--cl-radius,10px);padding:6px}
.cl-company-dashboard-domain{margin:0 0 .5rem;font-size:.9rem;opacity:.8}
.cl-company-logo-large{display:block;width:192px;height:192px;object-fit:contain;background:#fff;border-radius:var(--cl-radius,10px);padding:8px;border:1px solid var(--cl-line,#ddd)}
.cl-company-named{display:inline-flex;align-items:center;gap:.5rem;min-width:0}
.cl-company-named-logo{flex:0 0 28px;width:28px;height:28px;object-fit:contain;background:#fff;border-radius:calc(var(--cl-radius,10px) / 2)}
/* A person's picture on their page in the Company workspace (owner, 2026-10-26). */
.cl-person-picture{display:block;width:128px;height:128px;object-fit:cover;border-radius:50%;margin:0 0 1rem}
.cl-person-summary{display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem;align-items:center}
.cl-person-summary>.profile-head{flex:1 1 26rem;min-width:0}
.cl-person-summary>.cl-ui-stat-grid{flex:1 1 30rem;min-width:0}
.cl-person-company{display:flex;gap:1rem;align-items:center;border:1px solid var(--cl-border,#d9c8b2);padding:.75rem 1rem;margin:0 0 1rem}
.cl-company-named-logo--large{width:40px;height:40px}
.cl-person-risk-link{text-decoration:none}
.cl-person-company-line{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .5rem}
.cl-person-main,.cl-person-side{min-width:0}
/* A Follow button with its line (mailing, step 1; owner, 2026-10-26). */
.cl-follow{display:flex;flex-direction:column;gap:.25rem;margin:.75rem 0 0}
.cl-follow form{margin:0}
.cl-follow-note{margin:0;color:var(--cl-muted,#6b5d51)}
/* Keep me informed at checkout (mailing, step 1; owner, 2026-10-26). */
.cl-keep-informed{border:0;margin:1rem 0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.cl-keep-informed legend{margin:0 0 .25rem}
/* Mailing, step 2 (owner, 2026-10-26): the campaign page's badges, block moves, preview frame and the stop page. */
.cl-mailing-badges{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem}
.cl-mailing-lists{border:0;margin:1rem 0;padding:0;display:flex;flex-direction:column;gap:.35rem}
.cl-mailing-lists legend{margin:0 0 .35rem}
.cl-mailing-block-moves{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:1rem 0 0;border-top:1px solid var(--cl-border,#e7e0d8)}
.cl-mailing-block-moves form,.cl-mailing-choices form,.cl-mailing-update-actions form{margin:0}
.cl-mailing-add{margin:1.5rem 0 0}
.cl-mailing-send{margin:1rem 0}
.cl-mailing-update{display:flex;flex-direction:column;gap:.5rem;padding:1rem 0;border-top:1px solid var(--cl-border,#e7e0d8)}
.cl-mailing-update:first-of-type{border-top:0;padding-top:0}
.cl-mailing-update-main{display:flex;align-items:flex-start;gap:.75rem}
.cl-mailing-update-main p{margin:0 0 .25rem}
@media(max-width:900px){.cl-mailing-update-main>.cl-ui-choice{flex:0 0 auto;white-space:nowrap}}
.cl-mailing-update-headline{font-weight:700}
.cl-mailing-update-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.cl-mailing-update .cl-mailing-badges{margin:.35rem 0 0}
.cl-mailing-release{margin-top:1rem}
.cl-mailing-period{margin:0 0 1rem}
.cl-mailing-proof{margin:0 0 1rem}
.cl-address-matches:empty{display:none}
.cl-address-matches{margin-top:.4rem;border:1px solid var(--cl-border,#e7e0d8);border-radius:var(--cl-radius,6px);max-height:18rem;overflow:auto;background:var(--cl-surface,#fff)}
.cl-address-matches>p{margin:0;padding:.5rem .75rem}
.cl-address-matches-list{list-style:none;margin:0;padding:0}
.cl-address-match{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;width:100%;padding:.5rem .75rem;border:0;border-bottom:1px solid var(--cl-border,#e7e0d8);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cl-address-match:hover,.cl-address-match:focus-visible{background:var(--cl-surface-muted,#f6f2ec)}
.cl-address-match:disabled{cursor:default;opacity:.7}
.cl-address-match-email{font-weight:600;overflow-wrap:anywhere}
.cl-address-match-name{color:var(--cl-text-secondary,#6b5d51);font-size:.9em}
.cl-mailing-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.cl-mailing-preview{display:block;width:100%;height:42rem;border:1px solid var(--cl-border,#e7e0d8);background:#f3efe9}
/* Mailing templates (owner, 2026-10-28, decision 5B): the preview at a phone's width, the form's groups, and the HTML in a monospace box. */
.cl-mailing-preview--phone{max-width:390px;margin-inline:auto}
.cl-template-group{border:0;margin:1.25rem 0 0;padding:1rem 0 0;border-top:1px solid var(--cl-border,#e7e0d8);min-width:0}
.cl-template-group>legend{float:left;width:100%;margin:0 0 .5rem;padding:0}
.cl-template-group>legend+*{clear:left}
.cl-code-input{font-family:var(--cl-mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);font-size:.85rem;line-height:1.45}
.cl-mailing-picture{display:block;max-width:100%;height:auto;border:1px solid var(--cl-border,#e7e0d8)}
.cl-mailing-choices{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}
/* A mailing template's editor (owner's approved redesign, 29 November 2026): the preview across the card at the top,
   as tall as the email once the page's script has measured it; the settings in tabs beneath, all in one form. */
.cl-template-editor [hidden]{display:none!important}
.cl-template-editor>.cl-ui-section-head .cl-template-samples{margin:0;gap:.5rem}
/* The heading takes only its own width, so the sample buttons, the frame's size and Save stay on its row at 1440. */
.cl-template-editor>.cl-ui-section-head>.cl-ui-section-head-content{flex:1 1 auto}
.cl-template-samples>span{display:contents}
/* The frame scrolls inside itself. The owner sees the whole email (30 November 2026: "I would like to see the whole
   email without scrolling. Or allow me to adjust the height by dragging it"): the script makes it the whole email when
   that is shorter than 70% of the window, else 70% of the window, and the grip under it drags it taller or shorter.
   Without JavaScript nothing can measure the email, so the frame is tall enough for a whole sample email. */
.cl-template-preview{height:70vh;margin-top:1rem}
@media (scripting:none){.cl-template-preview{height:1700px}}
/* A grip under a box that drags its height (the preview, the HTML editor): two short lines on a bar the box's width,
   also moved by the arrow keys once it has the focus. Shown by the script only. */
.cl-template-grip{display:flex;align-items:center;justify-content:center;height:14px;border:1px solid var(--cl-border,#e7e0d8);border-top:0;background:var(--cl-surface-muted,#f3efe9);color:var(--cl-muted,#8a7b6e);cursor:ns-resize;touch-action:none;user-select:none}
.cl-template-grip::before{content:"";width:44px;height:6px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;box-sizing:border-box}
.cl-template-grip:hover,.cl-template-grip:focus-visible{color:var(--cl-ink,#18212b);background:var(--cl-border,#e7e0d8)}
.cl-template-grip:focus-visible{outline:2px solid var(--cl-accent,#145da0);outline-offset:2px}
.cl-mailing-preview--phone+.cl-template-grip{max-width:390px;margin-inline:auto}
.cl-template-resizing,.cl-template-resizing *{cursor:ns-resize!important;user-select:none!important}
.cl-template-resizing iframe{pointer-events:none}
.cl-template-editor>form{margin-top:1.25rem}
.cl-template-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;align-items:start;margin-top:.75rem}
.cl-template-row--logo{grid-template-columns:minmax(0,4fr) minmax(0,3fr)}
@media(max-width:900px){.cl-template-row{grid-template-columns:minmax(0,1fr)}}
.cl-template-row .cl-ui-picture-choice{margin:0}
.cl-template-subhead{margin:1rem 0 .5rem}
.cl-template-editor .cl-ui-key-value-list{margin-bottom:.25rem}
.cl-template-pane-title{display:none}
.cl-template-switch-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-top:1rem}
.cl-template-upload-actions .cl-mailing-choices{margin:0;gap:.5rem}
.cl-template-upload-note{margin:.75rem 0 0}
.cl-template-html-note{font-weight:600}
/* The HTML editor is 70% of the window tall and scrolls inside itself; its grip drags it from 15rem to the window's
   height (the script sets the property). The height and the scrolling are the box around the editing area's, never the
   editing area's own: it keeps the height of what it holds (at least the box's), so an email's table of height 100% is
   never stretched by a taller editor (owner, 30 November 2026: "the design view just makes the table rows increase in
   height"). The source view grows with its code in the same box. In full screen CKEditor moves the editing area out of
   this box, so it keeps CKEditor's own size there. */
.cl-template-editor #pane-html .ck-editor__main{height:var(--cl-template-code-height,70vh);min-height:15rem;overflow:auto}
.cl-template-editor #pane-html .ck-editor__main>.ck-editor__editable,.cl-template-editor #pane-html .ck-source-editing-area{box-sizing:border-box;min-height:100%;max-height:none}
.cl-template-proof-status:empty{display:none}
.cl-template-proof-status[data-tone="danger"]{color:var(--cl-danger,#b42318)}
.cl-template-side-forms{display:none}
/* Without JavaScript every pane is shown one after another, each under its own name. */
@media (scripting:none){.cl-template-pane-title{display:block;margin:1.75rem 0 .5rem}}
.cl-mailing-filter{display:flex;align-items:flex-end;gap:.5rem;margin:0 0 1rem}
/* The company page in Administration (owner-approved mockup, 2026-10-27): its facts, wallet movements and activity. */
.cl-company-facts{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.4rem 1rem}
.cl-company-facts dt{color:var(--cl-muted,#6b5d51);font-weight:500}
.cl-company-facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.cl-company-movements,.cl-company-activity{list-style:none;margin:1rem 0 .5rem;padding:0;display:flex;flex-direction:column;gap:.6rem}
.cl-company-movements li{display:flex;justify-content:space-between;gap:.75rem;padding-top:.6rem;border-top:1px solid var(--cl-border,#e6d8c6)}
.cl-company-movements strong{white-space:nowrap}
.cl-company-activity li{padding-top:.6rem;border-top:1px solid var(--cl-border,#e6d8c6)}
.cl-company-billing{margin:0 0 1rem}
/* A module's parts in the reader (course structure, owner 2026-10-28): each outline row's part and time, the section
   page's outline of its parts, flash cards one at a time (course-flashcards.js; a plain list without JavaScript) and
   practical work with its model answer behind a button. The reader is Core's and always light (UX rule 7.10). */
.cl-course-outline-part{display:block;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7a8899;margin-bottom:.1rem}
.cl-course-outline-item.is-current .cl-course-outline-part{color:#d8e7f7}
.cl-course-outline-time{display:block;font-size:.78rem;font-weight:500;color:#7a8899;margin-top:.15rem}
.cl-course-outline-item.is-current .cl-course-outline-time{color:#d8e7f7}
/* The line an author wrote on a part's heading, under a part's own name in Course Modules (owner, 2026-11-15; CourseHeadings). */
.cl-course-outline-author-line{display:block;font-size:.86em;font-weight:400;line-height:1.35;color:#7a8899;margin:.15rem 0 .1rem}
.cl-course-outline-item.is-current .cl-course-outline-author-line{color:#d8e7f7}
/* Parts the learner has done (owner, 2026-11-01): a big green tick on each in the outline, and on a section once every
   part in it is; the Mark complete toggle sits centred between Previous and Next, green once the part is done. */
/* A section that holds parts opens and closes in the outline (owner, 2026-11-02), a <details> the browser runs: its title
   stays a link to its page, and the arrow in its own column opens and closes it. */
.cl-course-outline-group>summary{display:grid;grid-template-columns:minmax(0,1fr) 2.25rem;align-items:start;cursor:pointer;list-style:none}
.cl-course-outline-group>summary::-webkit-details-marker{display:none}
.cl-course-outline-group>summary>small{grid-column:1}
.cl-course-outline-group>summary:focus-visible{outline:2px solid #145da0;outline-offset:2px;border-radius:.5rem}
.cl-course-outline-group>summary>.cl-course-outline-toggle{grid-column:2;grid-row:1;display:grid;place-items:center;width:2.25rem;height:2.75rem;padding:0;border-radius:.5rem;color:#5f6875}
.cl-course-outline-toggle::before{content:"";display:block;width:.6rem;height:.6rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.cl-course-outline-group[open]>summary>.cl-course-outline-toggle::before{transform:rotate(45deg)}
.cl-course-outline-group>summary:hover>.cl-course-outline-toggle{background:#edf4fb;color:#145da0}
.cl-course-outline-done{float:right;display:grid;place-items:center;width:1.65rem;height:1.65rem;margin:0 0 .25rem .5rem;border-radius:50%;background:#1b8a4b;box-shadow:0 0 0 2px #fff}
.cl-course-outline-done svg{width:1.05rem;height:1.05rem;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
/* Every reader page has the one paging row (partials/course-item-paging): each slot keeps its own column, so a page
   without Mark complete (a section, an assessment) or without Previous or Next leaves the others in place. */
.cl-course-item-paging{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
/* A result's score and its grade (owner, 2026-11-05). */
.cl-result-score{display:flex;flex-wrap:wrap;align-items:baseline;gap:.75rem;margin-bottom:.75rem}
.cl-result-score strong{font-size:clamp(2.25rem,5vw,3rem);font-weight:600;line-height:1.1}
.cl-result-score span{font-size:1.25rem;font-weight:600}
#cl-course-item-paging{scroll-margin-top:11rem}
.cl-course-item-paging-previous{grid-column:1;grid-row:1;justify-self:start}
.cl-course-item-complete{grid-column:2;grid-row:1;justify-self:center;margin:0}
.cl-course-item-paging-centre{grid-column:2;grid-row:1;justify-self:center}
.cl-course-item-paging-next{grid-column:3;grid-row:1;justify-self:end}
.cl-course-item-complete.is-done .cl-ui-action{background:#1b8a4b;border-color:#1b8a4b;color:#fff}
.cl-course-item-complete.is-done .cl-ui-action:hover{background:#156e3b;border-color:#156e3b}
@media (max-width:520px){.cl-course-item-paging{grid-template-columns:1fr 1fr}.cl-course-item-complete{grid-column:1/-1;grid-row:1;margin-bottom:.5rem}.cl-course-item-paging-centre{grid-column:1/-1;grid-row:1;justify-self:center;margin-bottom:.5rem}.cl-course-item-paging-previous{grid-column:1;grid-row:2}.cl-course-item-paging-next{grid-column:2;grid-row:2}}
.cl-section-outline{list-style:none;margin:1.5rem 0 0;padding:0;border:1px solid #e0e6ed;border-radius:.75rem;overflow:hidden}
.cl-section-outline li{display:grid;grid-template-columns:minmax(7rem,9rem) minmax(0,1fr) auto;gap:.75rem;align-items:baseline;padding:.7rem 1rem;border-top:1px solid #e0e6ed}
.cl-section-outline li:first-child{border-top:0}
.cl-section-outline-part{font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#5f6f82}
.cl-section-outline-time{font-size:.88rem;color:#5f6f82;white-space:nowrap}
.cl-section-outline-total{display:flex;justify-content:flex-end;padding:.6rem 1rem;background:#f6f8fb;font-weight:700;color:#173b61;border-top:1px solid #e0e6ed}
@media(max-width:560px){.cl-section-outline li{grid-template-columns:1fr auto}.cl-section-outline-part{grid-column:1/-1}}
.cl-practical .task{margin:1.25rem 0;padding:1rem 1.15rem;border:1px solid #d9e0e8;border-radius:.6rem;background:#fff}
.cl-practical .task h3{margin-top:0}
.cl-practical-answer{margin-top:2rem;padding:1rem 1.15rem;border:2px solid #d6e4f2;border-radius:.75rem;background:#f8fbfe}
.cl-practical-answer>summary{cursor:pointer;font-weight:800;color:#145da0;min-height:44px;display:flex;align-items:center}
.cl-practical-answer-body .answer{margin:1rem 0;padding-top:.75rem;border-top:1px solid #d9e0e8}
.cl-practical-answer-body .answer h3{margin-top:0}
.cl-course-item-pdf{display:flex;justify-content:flex-end;margin:0 0 1rem}
/* The Presentation, Flash cards and Practical work editors (course structure, owner 2026-10-28). */
.cl-slide-preview{margin:1.5rem 0;display:grid;gap:.75rem}
.cl-slide-list{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:1.25rem}
.cl-slide-editor>fieldset{margin:0;padding:1rem 1.15rem 1.15rem;border:1px solid var(--cl-border,#d0d7de);border-radius:var(--cl-radius,.5rem);background:var(--cl-surface,#fff);min-width:0}
.cl-slide-editor legend{padding:0 .4rem;font-weight:700}
.cl-slide-editor-apply{display:flex;align-items:flex-end}
.cl-slide-editor-picture{margin:0;color:var(--cl-muted,#5f6b7a);font-size:.9rem}
.cl-slide-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.9rem}
.cl-slide-editor-new{display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem}
.cl-slide-editor-new .cl-select{width:auto}
/* The presentation editor (owner, 2026-10-30, the approved mockup). A slide's picture is the slide itself, drawn 800
   pixels wide and shrunk, so its words keep the player's proportions (DeckRenderer::thumbnail): 160, 240 or 360 wide. */
.cl-slide-thumb{display:block;flex:0 0 auto;width:fit-content;max-width:100%;overflow:hidden;border-radius:.4rem;box-shadow:0 0 0 1px var(--cl-border,#dfe4ea);line-height:1.4;pointer-events:none}
.cl-slide-thumb .cw-deck{width:800px;margin:0;box-shadow:none;border-radius:0}
.cl-slide-thumb--small .cw-deck{zoom:.2}
.cl-slide-thumb--medium .cw-deck{zoom:.3}
.cl-slide-thumb--large .cw-deck{zoom:.45}
.cl-slide-thumb .cw-ready .cw-slide{overflow:hidden;transition:none;cursor:default}
.cl-presentation-preview{max-width:68rem;margin-inline:auto}
.cl-presentation-preview .cw-deck{margin:0}
.cl-site-presentation .cw-deck{max-width:max(20rem,calc((100dvh - 13rem) * 16 / 9));margin-inline:auto}
.cl-slide-tree .cl-slide-row{gap:.5rem .9rem;padding:.6rem .25rem}
.cl-slide-number{flex:0 0 auto;min-width:1.6rem;font-weight:700;font-size:1.15rem;text-align:center}
.cl-slide-picture{display:block;flex:0 0 auto;border-radius:.4rem;color:inherit}
.cl-slide-picture:focus-visible{outline:2px solid var(--cl-accent,#2563eb);outline-offset:3px}
.cl-slide-label{flex-direction:column;align-items:flex-start;gap:.15rem}
.cl-slide-tree--grid .cl-tree-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:1rem}
.cl-slide-tree--grid .cl-slide-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"picture picture picture" "number label handle" "actions actions actions";align-items:center;height:100%;box-sizing:border-box;padding:.75rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-slide-tree--grid .cl-slide-picture{grid-area:picture;justify-self:center}
.cl-slide-tree--grid .cl-slide-number{grid-area:number}
.cl-slide-tree--grid .cl-slide-label{grid-area:label}
.cl-slide-tree--grid .cl-slide-row>.cl-tree-handle{grid-area:handle}
.cl-slide-tree--grid .cl-slide-row>.cl-ui-action-group{grid-area:actions}
.cl-slide-tree--grid .cl-tree-node[data-drop="before"]>.cl-tree-row{box-shadow:inset 4px 0 0 var(--cl-accent,#2563eb)}
.cl-slide-tree--grid .cl-tree-node[data-drop="after"]{box-shadow:none}
.cl-slide-tree--grid .cl-tree-node[data-drop="after"]>.cl-tree-row{box-shadow:inset -4px 0 0 var(--cl-accent,#2563eb)}
.cl-presentation-checks{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.cl-presentation-check{display:flex;gap:.6rem;align-items:flex-start}
.cl-presentation-check .cl-ui-icon{flex:0 0 auto;width:1.2rem;height:1.2rem;margin-top:.15rem}
.cl-presentation-check--fine .cl-ui-icon{color:var(--cl-success,#2e7a4a)}
.cl-presentation-check--look .cl-ui-icon{color:var(--cl-warning,#a15c00)}
.cl-ui-picture-choice-item--drawing .cl-slide-thumb{margin-inline:auto}
.cl-ui-picture-choice-grid:has(.cl-slide-thumb--small){grid-template-columns:repeat(auto-fill,minmax(calc(160px + 1.1rem),1fr))}
.cl-ui-picture-choice-grid:has(.cl-slide-thumb--medium){grid-template-columns:repeat(auto-fill,minmax(min(100%,calc(240px + 1.1rem)),1fr))}
/* A slide's page and the details page: the row of slides, the bar that stays in view, the layout and the script. */
.cl-slide-strip{display:flex;align-items:center;gap:.4rem}
.cl-slide-strip-scroll{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem);background:transparent;color:inherit;cursor:pointer}
.cl-slide-strip-scroll[hidden]{display:none}
.cl-slide-strip-scroll:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
.cl-slide-strip-scroll:focus-visible{outline:2px solid var(--cl-accent,#2563eb);outline-offset:2px}
.cl-slide-strip-scroll .cl-ui-icon{width:1.25rem;height:1.25rem}
.cl-slide-strip-list{list-style:none;margin:0;padding:.25rem;display:flex;gap:.75rem;flex:1 1 auto;min-width:0;overflow-x:auto;scroll-snap-type:x proximity}
.cl-slide-strip-item{flex:0 0 auto;scroll-snap-align:start}
.cl-slide-strip-link,.cl-slide-strip-here{display:flex;flex-direction:column;gap:.3rem;width:160px;padding:3px;border:3px solid transparent;border-radius:.5rem;color:inherit;text-decoration:none}
.cl-slide-strip-link:hover{border-color:var(--cl-border,#dfe4ea)}
.cl-slide-strip-link:focus-visible{outline:2px solid var(--cl-accent,#2563eb);outline-offset:2px}
.cl-slide-strip-here{border-color:var(--cl-accent,#2563eb)}
.cl-slide-strip-title{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl-slide-strip-here .cl-slide-strip-title{font-weight:700}
.cl-slide-bar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;margin:0 0 1.25rem;padding:.75rem 0;border-bottom:1px solid var(--cl-border,#dfe4ea);background:var(--cl-page-surface,var(--cl-surface,#fff))}
.cl-slide-bar-text h2{margin:0}
.cl-slide-bar-status{margin:.15rem 0 0;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-slide-layout{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:0 0 1.25rem;padding:.75rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-slide-layout-text{display:flex;flex-direction:column;gap:.1rem;flex:1 1 14rem;min-width:0}
.cl-slide-layout-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--cl-muted,#5f6b7a)}
.cl-slide-form .cl-ui-picture-choice,#details-form .cl-ui-picture-choice{margin-top:1.25rem}
.cl-slide-layout-lead{margin:0 0 1rem}
.cl-slide-layout-choice .cl-ui-picture-choice{margin-bottom:1.25rem}
.cl-slide-preview-note{margin:0 0 .75rem;color:var(--cl-muted,#5f6b7a)}
.cl-narration-form .cl-narration{margin-top:0}
.cl-presentation-delete{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--cl-border,#dfe4ea)}
.cl-presentation-delete p{margin:0 0 .75rem}
.cl-narration-script-status{margin:.5rem 0 1rem}
.cl-narration-script-status:empty{display:none}
.cl-narration-script-result{font-size:.9rem;color:var(--cl-success,#2e7a4a)}
.cl-narration-script-result.is-error{color:var(--cl-danger,#b42318)}
.cl-narration{display:grid;gap:.6rem;margin-top:1rem;padding:.8rem 1rem;border:1px dashed var(--cl-border,#d0d7de);border-radius:var(--cl-radius,.5rem)}
.cl-narration-title{margin:0;font-weight:700}
.cl-narration-current audio{width:min(100%,28rem)}
.cl-narration-none{margin:0;color:var(--cl-muted,#5f6b7a);font-size:.92rem}
.cl-narration-recorder{display:grid;gap:.6rem}
.cl-narration-recorder[hidden]{display:none}
.cl-narration-saved{display:grid;gap:.4rem}
.cl-narration-label{margin:0;font-weight:600;font-size:.92rem}
.cl-narration-note{margin:0;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-narration-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.cl-narration-take{display:grid;gap:.4rem;padding:.6rem .8rem;border-left:3px solid var(--cl-accent,#8a6a1f);background:var(--cl-surface-alt,rgb(127 127 127 / 6%))}
.cl-narration-take[hidden],.cl-narration-remove[hidden]{display:none}
.cl-narration-take audio{width:min(100%,28rem)}
.cl-narration-status{margin:0;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-narration-status:empty{display:none}
.cl-card-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:1rem}
.cl-card-editor>fieldset{margin:0;padding:1rem 1.15rem;border:1px solid var(--cl-border,#d0d7de);border-radius:var(--cl-radius,.5rem);min-width:0}
.cl-card-editor legend{padding:0 .4rem;font-weight:700}
.cl-section-outcomes{display:grid;gap:.35rem;padding-left:1.3rem}
/* The reader on a phone: one column, the outline above the content. The reader's later, unscoped column rule had
   overridden the phone rule since it was written, so a phone showed the outline and a sliver of content side by side
   (found 2026-10-28 with CatWalk, which is phone first). This comes after every reader rule, so it holds. */
@media(max-width:760px){.cl-course-reader{grid-template-columns:minmax(0,1fr)}.cl-course-reader>.cl-course-outline{position:static;max-height:18rem;border-right:0;border-bottom:1px solid #d9e0e8;box-shadow:none}.cl-course-reader-content{padding:1rem}.cl-course-reader-content .cl-course-item{padding:1.15rem}}
/* A course's catalogue page (owner, 2026-10-30, the accepted mockup, its head kept as it was): under the cover the
   course's words and Watch course presentation, then its modules and what it holds. Core lays them out; themes colour
   them through the --cl tokens. */
.cl-course-head-copy>:last-child{margin-bottom:0}
.cl-landing-modules-count{margin:1.25rem 0 .25rem;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
/* A bundle's courses in the Course contents section of a campaign's page about one bundle (2026-11-26): each course under its
   code and title, set apart from the one before it. */
.cl-landing-bundle-courses{margin:0;padding-left:1.5rem}
.cl-landing-bundle-course+.cl-landing-bundle-course{margin-top:2.5rem}
.cl-landing-bundle-course-title{margin-bottom:.75rem}
.cl-course-watch{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:1.25rem 0 .5rem}
.cl-course-watch-note{font-size:.9rem;opacity:.85}
.cl-course-facts{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;list-style:none;margin:.5rem 0 0;padding:0;font-size:.95rem}
.cl-course-detail-main{display:flex;flex-direction:column;min-width:0}
.cl-course-module-paragraph{margin:0 0 1rem;line-height:1.7}
.cl-course-module-parts{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}
.cl-course-module-part{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .75rem;border:1px solid var(--cl-border,#d9d9d9);border-radius:var(--cl-radius,6px);font-size:.9rem;line-height:1.2}
.cl-course-module-part--presentation{border-color:var(--cl-accent,currentColor);font-weight:600}
.cl-course-module-part-icon{display:inline-flex;width:1.15rem;height:1.15rem;flex:none}
.cl-course-module-part-icon svg{width:100%;height:100%}
.cl-course-modules-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem 1rem;margin-bottom:.5rem}
.cl-course-modules-head>h2{margin:0}
.cl-course-modules-head>span{font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-course-modules{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));column-gap:1.75rem;list-style:none;margin:0;padding:0}
.cl-course-modules>li{display:flex;align-items:baseline;gap:.85rem;padding:.7rem 0;border-bottom:1px solid var(--cl-border,#e3e3e3)}
.cl-course-module-number{flex:none;min-width:1.75rem;text-align:right;font-size:1.25rem;font-weight:600;color:var(--cl-accent,currentColor)}
.cl-course-module-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.cl-course-module-title{font-weight:500;line-height:1.35}
.cl-course-module-time{font-size:.85rem;color:var(--cl-muted,#5f6b7a)}
.cl-course-modules-after{margin:1rem 0 0}
.cl-course-grading-link{margin:1rem 0 0}
.cl-course-start{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem}
.cl-course-start>div:first-child{flex:1 1 24rem;min-width:0}
.cl-course-start h2{margin:0 0 .35rem}
.cl-course-start p{margin:0}
.cl-course-presentation-note{margin:0 0 .75rem;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
/* In the page-wide window the slides keep 16:9 and fit the screen's height, so the controls stay in view. */
@media (min-width:768px){.cl-ui-modal-card--page .cw-deck{max-width:max(20rem,calc((100dvh - 21rem) * 16 / 9));margin-inline:auto}}
/* The Page Builder for course pages (owner, 2026-10-30; layouts of one's own, 2026-11-01): partials/admin/page-layout-builder.html.twig. */
.cl-page-builder{display:grid;gap:1.25rem}
.cl-page-builder-status{margin:0;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
/* Save layout beside the choice (owner, 2026-10-31): a bar that turns into a notice while a change is not saved. */
.cl-page-builder-savebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;margin-top:1rem;padding:.75rem 1rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-page-builder-savebar:has(.cl-page-builder-status[data-unsaved]){border-color:var(--cl-accent,#2563eb);border-left-width:4px;background:color-mix(in srgb,var(--cl-accent,#2563eb) 9%,transparent)}
.cl-page-builder-savebar .cl-page-builder-status[data-unsaved]{color:var(--cl-ink,#22303f);font-weight:600}
.cl-page-builder-part{min-width:0;padding:1rem 1.25rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem);background:var(--cl-surface,#fff)}
.cl-page-builder-part[data-locked]{opacity:.55}
.cl-page-builder-part-head{margin-bottom:.85rem}
.cl-page-builder-part-head h3,.cl-page-builder-preview h3{margin:0 0 .25rem}
.cl-page-builder-part-head p{margin:0;font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-page-sketch{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.cl-page-sketch>span{display:flex;align-items:center;justify-content:center;min-height:1.35rem;padding:.15rem .3rem;overflow:hidden;border-radius:2px;font-size:.62rem;line-height:1.15;text-align:center;background:color-mix(in srgb,currentColor 10%,transparent)}
.cl-page-sketch>[data-width="full"],.cl-page-sketch-fixed{grid-column:1 / -1}
.cl-page-sketch>[data-block="access"]{background:var(--cl-accent,#2563eb);color:var(--cl-on-color-1,#fff)}
.cl-page-builder-work{display:grid;gap:1.25rem}
@media (min-width:992px){.cl-page-builder-work{grid-template-columns:minmax(0,1fr) 19rem;align-items:start}.cl-page-builder-preview{position:sticky;top:1rem}}
.cl-page-builder-fixed{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem;padding:.65rem .85rem;border:1px dashed var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-page-builder-fixed>span:first-child{display:flex;flex-direction:column}
.cl-page-builder-fixed>span:first-child>span,.cl-page-builder-tile-name>span{font-size:.82rem;color:var(--cl-muted,#5f6b7a)}
.cl-page-builder-fixed-tag,.cl-page-builder-always{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--cl-muted,#5f6b7a)}
.cl-page-builder-board,.cl-page-builder-shelf>ol{list-style:none;margin:0;padding:0}
.cl-page-builder-board{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.cl-page-builder-board>[data-width="full"]{grid-column:1 / -1}
@media (max-width:575.98px){.cl-page-builder-board{grid-template-columns:1fr}}
.cl-page-builder-tile{display:flex;flex-direction:column;gap:.55rem;min-width:0;padding:.7rem .8rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem);background:var(--cl-page-surface,#fff)}
.cl-page-builder-tile[data-dragging]{opacity:.45}
.cl-page-builder-tile[data-drop]{outline:2px solid var(--cl-accent,#2563eb);outline-offset:2px}
.cl-page-builder-tile-head{display:flex;align-items:flex-start;gap:.6rem}
.cl-page-builder-handle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:.4rem;cursor:grab;touch-action:none;color:var(--cl-muted,#5f6b7a)}
.cl-page-builder-part[data-locked] .cl-page-builder-handle{cursor:not-allowed}
.cl-page-builder-tile-name{flex:1;min-width:0;display:flex;flex-direction:column}
.cl-page-builder-arrows{display:flex;gap:.25rem;flex:0 0 auto}
.cl-page-builder-tile-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}
.cl-page-builder-board .cl-page-builder-show,.cl-page-builder-shelf .cl-page-builder-hide{display:none}
.cl-page-builder-shelf{margin-top:1rem;padding:.75rem .85rem;border:1px dashed var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-page-builder-shelf-empty{margin:.35rem 0 0;font-size:.85rem;color:var(--cl-muted,#5f6b7a)}
.cl-page-builder-shelf>ol{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.cl-page-builder-shelf .cl-page-builder-tile{flex-direction:row;align-items:center;padding:.35rem .5rem}
.cl-page-builder-shelf .cl-page-builder-handle,.cl-page-builder-shelf .cl-page-builder-arrows,.cl-page-builder-shelf .cl-width-choice,.cl-page-builder-shelf .cl-page-builder-tile-name>span{display:none}
.cl-page-sketch{margin:.75rem 0;color:var(--cl-ink,#22303f)}
.cl-page-sketch>span{min-height:2rem}
.cl-page-sketch>[data-block="about"],.cl-page-sketch>[data-block="how"],.cl-page-sketch>[data-block="modules"]{min-height:3rem}
.cl-page-builder-preview p{margin:0;font-size:.82rem;color:var(--cl-muted,#5f6b7a)}
/* Stack (owner, 2026-11-26, the approved drawing): a half-width block under the half-width block before it. On the
   course page a stacked column is a section grid of one column inside the row's, and the two columns end level: the
   last block of the shorter one takes what is left. In the builder the Stack card sits under the two width cards and
   goes while Full width is chosen; a block ticked Stack that cannot stack says why. A list or a sketch with a stacked
   column places every tile or cell (data-col, data-row and data-span; Course\CoursePageLayout::places), the
   blocks of a column under each other; one without is laid out as it always was. */
.cl-course-stacked>.cl-ui-section-grid>.cl-ui-section-grid{grid-auto-rows:auto;align-content:stretch}
.cl-course-stacked>.cl-ui-section-grid>.cl-ui-section-grid:has(>:nth-child(2)){grid-template-rows:auto 1fr}
.cl-course-stacked>.cl-ui-section-grid>.cl-ui-section-grid:has(>:nth-child(3)){grid-template-rows:auto auto 1fr}
.cl-stack-choice{min-width:0}
.cl-stack-choice .cl-ui-picture-choice--cards{margin:0}
.cl-page-builder-tile:has(.cl-width-choice input[value="full"]:checked) .cl-stack-choice,.cl-page-builder-shelf .cl-stack-choice,.cl-page-builder-shelf .cl-page-builder-stack-note{display:none}
.cl-page-builder-stack-note{margin:0;font-size:.82rem;color:var(--cl-muted,#5f6b7a)}
:is(.cl-page-sketch,.cl-page-builder-board)>[data-col="1"]{grid-column:1}:is(.cl-page-sketch,.cl-page-builder-board)>[data-col="2"]{grid-column:2}:is(.cl-page-sketch,.cl-page-builder-board)>[data-col="full"]{grid-column:1 / -1}
:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="1"]{grid-row-start:1}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="2"]{grid-row-start:2}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="3"]{grid-row-start:3}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="4"]{grid-row-start:4}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="5"]{grid-row-start:5}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="6"]{grid-row-start:6}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="7"]{grid-row-start:7}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="8"]{grid-row-start:8}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="9"]{grid-row-start:9}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="10"]{grid-row-start:10}:is(.cl-page-sketch,.cl-page-builder-board)>[data-row="11"]{grid-row-start:11}
:is(.cl-page-sketch,.cl-page-builder-board)>[data-span="2"]{grid-row-end:span 2}:is(.cl-page-sketch,.cl-page-builder-board)>[data-span="3"]{grid-row-end:span 3}
.cl-page-builder-board>:is([data-span="2"],[data-span="3"]){align-self:start}
@media (max-width:575.98px){.cl-page-builder-board>[data-row]{grid-column:auto;grid-row:auto}}
/* The sketch to scale (the same drawing): one grid row is one pixel, each cell as tall as its block is on the course's
   page in proportion, and what is left beside a shorter column marked Empty space. */
.cl-page-sketch[data-scaled]{grid-auto-rows:1px;row-gap:0}
.cl-page-sketch[data-scaled]>span{min-height:0;padding-block:0}
.cl-page-sketch>.cl-page-sketch-empty{background:transparent;border:1px dashed var(--cl-muted,#5f6b7a);color:var(--cl-muted,#5f6b7a);font-style:italic}
/* The course's page, loaded out of sight at desktop width for the sketch to measure: never seen, never in the way.
   On that page (its rows carry data-measure) no script runs, so the windows a visitor's script keeps closed until
   they are asked for are not drawn: a block is as tall as on a visitor's page. */
[data-measure] .cl-ui-modal:not(.open):not([hidden]){display:none}
.cl-page-measure{position:fixed;left:-10000px;top:0;width:1440px;height:900px;border:0;visibility:hidden;pointer-events:none}
/* A course's row or card in Administration > Courses edited in place (owner, 2026-11-01): fields as wide as their cells,
   the price's three stacked, a refusal in words, and a row or card just saved briefly lit. */
.cl-course-quick td{vertical-align:top}
.cl-course-quick-price{min-width:8.5rem}
.cl-course-quick .cl-course-position .cl-input{min-width:5rem}
/* Where the list scrolls to after a row or card is saved without JavaScript, clear of a sticky header. */
.cl-course-anchor{display:block;scroll-margin-top:6rem}
.cl-course-quick .cl-input,.cl-course-quick .cl-select,.cl-course-quick-card .cl-input,.cl-course-quick-card .cl-select{width:100%;min-width:0;padding:.3rem .45rem;font-size:.9rem}
.cl-course-quick-field{display:flex;flex-direction:column;gap:.15rem;margin:0 0 .35rem}
.cl-course-quick-field>span:first-child{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--cl-muted,#5f6b7a)}
.cl-course-quick-period{display:flex;flex-wrap:wrap;gap:.3rem}
.cl-course-quick-period .cl-input{flex:1 1 3.5rem;max-width:5rem}
.cl-course-quick-period .cl-select{flex:1 1 6.5rem;min-width:6.5rem}
.cl-course-quick-actions{display:flex;flex-wrap:wrap;gap:.3rem}
.cl-course-quick-error{margin:.35rem 0;font-size:.85rem;font-weight:600;color:var(--cl-danger,#b42318)}
.cl-course-quick-card{display:grid;gap:.15rem}
tr[data-course-saved],.cl-ui-card:has([data-course-saved]){animation:cl-course-saved 2.4s ease-out}
@keyframes cl-course-saved{from{background-color:color-mix(in srgb,var(--cl-accent,#2563eb) 20%,transparent)}}
@media (prefers-reduced-motion:reduce){tr[data-course-saved],.cl-ui-card:has([data-course-saved]){animation:none}}
/* A row that needs the owner's attention, such as a published course with no price on sale (owner, 2026-11-17: "change the
   course's row background to a pastel shade of red"): the theme's own soft danger colour behind the row, nothing else changed;
   under the pointer the theme's hover shows as on every row. */
.cl-ui-table>table>tbody>tr.cl-row-needs-attention{background-color:var(--cl-danger-soft,#f8e1dc)}
/* A bundle's row or card edited in place (owner, 2026-11-06) lights as a course's does; its status cards stack in the cell. */
tr[data-bundle-saved],.cl-ui-card:has([data-bundle-saved]){animation:cl-course-saved 2.4s ease-out}
@media (prefers-reduced-motion:reduce){tr[data-bundle-saved],.cl-ui-card:has([data-bundle-saved]){animation:none}}
/* Room for the status cards and the two dates while a row is edited; a phone keeps the table's own widths (UX rule 2.9). */
@media (min-width:701px){.cl-bundle-quick-status{min-width:14.5rem}.cl-bundle-quick-when{min-width:10.75rem}.cl-bundle-quick-access{min-width:7.5rem}}
.cl-bundle-quick-status .cl-ui-picture-choice-note,.cl-bundle-quick-status .cl-ui-picture-choice-label{white-space:normal}
/* Course Page Layouts (owner, 2026-11-01, the accepted mockup): the three kinds a course may use, each layout's card with
   its sketch, the blocks a course's page leaves out, Apply to the ticked courses, and a course's Page layout tab with
   its custom layout in a dashed frame. */
.cl-page-layout-kinds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}
.cl-page-layout-kinds>li{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.85rem 1rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-page-layout-kinds>li[data-kind="custom"]{border-style:dashed}
.cl-page-layout-kinds span{font-size:.9rem;color:var(--cl-muted,#5f6b7a)}
.cl-page-sketch--card{align-self:stretch;width:100%;margin:0;padding:.6rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-ui-card-picture>.cl-page-sketch--card>span{min-height:1.4rem}
.cl-page-sketch-left-out{margin-top:.75rem;padding:.6rem .75rem;border:1px dashed var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem);font-size:.85rem}
.cl-page-sketch-left-out ul{margin:.3rem 0;padding-left:1.1rem}
.cl-page-builder-preview .cl-page-sketch-left-out p{margin:0}
.cl-page-layout-apply{margin-top:1rem;padding:.75rem 1rem;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
.cl-page-layout-apply .cl-ui-field{max-width:32rem}
.cl-page-layout-form{display:grid;gap:1.25rem}
.cl-page-layout-which{max-width:32rem}
.cl-page-layout-now{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:0 0 1rem}
.cl-page-layout-now .cl-ui-action{margin-left:auto}
.cl-page-layout-shared h3,.cl-page-layout-shared p{margin:0 0 .5rem}
.cl-page-layout-custom{border:2px dashed var(--cl-accent,#2563eb)}
.cl-page-layout-custom-head{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;margin-bottom:1rem}
.cl-page-layout-custom-head h3,.cl-page-layout-custom-head p{margin:0}
.cl-page-builder-start,.cl-page-layout-save-as{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem 1rem;margin-bottom:1rem}
.cl-page-builder-start .cl-ui-field,.cl-page-layout-save-as .cl-ui-field{margin:0;min-width:min(100%,18rem)}
.cl-page-layout-save-as{margin:1rem 0 0;padding-top:1rem;border-top:1px solid var(--cl-border,#dfe4ea)}
/* Save as a new layout on a layout's page (owner, 2026-11-27): the save bar's two buttons side by side, and the row that
   asks the new layout's name, closed until its button opens it where scripts run (save_as_controller.js); without them
   the row is shown and the buttons that only open and close it are not. The field is wide enough to read a name in, and as wide as a refusal
   under it needs. */
.cl-page-builder-savebar-buttons{display:flex;flex-wrap:wrap;gap:.5rem .75rem}
.cl-page-layout-save-as-row .cl-ui-field{flex:0 1 auto;min-width:min(100%,24rem)}
html[data-cl-script="1"] .cl-page-layout-save-as-row:not([data-open]){display:none}
html:not([data-cl-script="1"]) [data-save-as-open],html:not([data-cl-script="1"]) [data-save-as-cancel]{display:none}
.cl-page-layout-courses{margin:0;padding-left:1.1rem;columns:2 18rem}
/* A block's or a section's width (owner, 2026-11-13): two small feature cards, side by side however narrow, on the Page
   Builder's blocks and a landing page's sections alike. */
.cl-width-choice{min-width:0}
.cl-page-builder-tile-tools>.cl-width-choice{flex:1 1 18rem;max-width:24rem}
.cl-width-choice .cl-ui-picture-choice--cards{margin:0}
.cl-width-choice .cl-ui-picture-choice.cl-ui-picture-choice--small.cl-ui-picture-choice--cards .cl-ui-picture-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* A course price's Active and Override default price, stacked in its row's Status cell while it is edited (owner,
   2026-11-13): the icon above the words, so the words have the cell's width. */
.cl-price-ticks{min-width:0}
/* Measured for the table's column fitting at a card's width, not its words on one line, so the other cells keep their room. */
.cl-ui-table[data-column-fit="measuring"] .cl-price-ticks{width:16rem}
.cl-price-ticks .cl-ui-picture-choice--cards{margin:0}
.cl-price-ticks .cl-ui-picture-choice--small .cl-ui-picture-choice-item--icon{grid-template-columns:minmax(0,1fr);padding:.55rem .6rem .6rem}
.cl-price-ticks .cl-ui-picture-choice--small .cl-ui-picture-choice-item--icon:has(input:checked){padding:calc(.55rem - 1px) calc(.6rem - 1px) calc(.6rem - 1px)}
.cl-page-sketch>[data-block="pricing"],.cl-page-sketch>[data-block="cta"]{background:var(--cl-accent,#2563eb);color:var(--cl-on-color-1,#fff)}
/* Sign in by email or Telegram, two-step sign-in and Account > Sign-in and security (owner, 2026-11-05, the approved mockup). */
.cl-sign-in-form{display:grid;gap:1.25rem}
.cl-sign-in-how{display:grid;gap:1rem;min-width:0;margin:0;padding:0;border:0}
.cl-sign-in-how>p{margin:0}
.cl-sign-in-code{display:grid;gap:1rem;margin:0}
.cl-security-card .cl-input-code,.cl-two-step-steps .cl-input-code{max-width:16rem}
.cl-sign-in-links,.cl-security-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem}
.cl-sign-in-links{margin-top:1.25rem}
.cl-sign-in-links form,.cl-security-actions form{margin:0}
.cl-security-cards{display:grid;gap:var(--cl-section-space,1.5rem)}
.cl-security-card{display:grid;gap:1rem;min-width:0}
.cl-security-card>.cl-ui-section-head{margin:0}
.cl-two-step-setup{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}
.cl-two-step-qr{flex:none;max-width:100%;padding:.5rem;line-height:0;background:#fff;border:1px solid var(--cl-border,#dfe4ea)}
.cl-two-step-qr svg{display:block;width:15rem;height:15rem;max-width:100%}
.cl-two-step-steps{display:grid;flex:1 1 20rem;gap:.75rem;min-width:0}
.cl-two-step-key{overflow-wrap:anywhere;font-size:1rem}
.cl-recovery-codes{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.5rem 1rem;margin:0;padding:1rem;list-style:none;font-family:var(--cl-font-mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);font-size:1.05rem;font-variant-numeric:tabular-nums;border:1px solid var(--cl-border,#dfe4ea);border-radius:var(--cl-radius,.5rem)}
/* A tick card that names what it does in either state: its words follow the tick, without JavaScript. */
.cl-ui-picture-choice-item:has(input:checked) .cl-tick-words-off,.cl-ui-picture-choice-item:has(input:not(:checked)) .cl-tick-words-on{display:none}
/* The Telegram log: on a phone, who a message went to sits under it, its own column hidden. */
.cl-ui-table .cl-telegram-to-inline{display:none;font-size:.875em}
@media(max-width:700px){.cl-ui-table .cl-telegram-to-inline{display:block;margin-top:.25rem}}
.cl-chart-bar.cl-share,.cl-ui-progress-bar.cl-share,th.cl-share{width:var(--cl-share)}
.cl-column-chart-bar.cl-share,.cl-site-chart-bar.cl-share{height:var(--cl-share)}
.cl-theme-child{padding-left:28px}
.cl-themes-title{margin:0}

/*
  Where a place's own spacing meets a component's: the component's rule came later in this file and won until the
  components' styling moved to CattoPHP's stylesheet, which loads first (CattoPHP Phase 3, step 8b). The owner chose, from
  photographs of each (2026-11-10): the money period's fields and the catalogue's category cards take their own spacing now
  (no 16px gap pushing the period's row down, less room under the category cards); the icon choice keeps the component's
  spacing, so the next label does not sit against its cards; a course library's lists and the lockout sample look the same
  either way and keep the component's. A rule that padded every card but one holding a course card's body was removed:
  a later rule gave every card the same padding, so it never showed, and loaded after the components it would have
  taken the compact card's smaller padding away.
*/
.cl-ui-section-head+.cl-library-lists,.cl-ui-section-head+.cl-lock-sample,.cl-ui-section-head+.cl-icon-choice{margin-top:0}
.cl-library-lists .cl-ui-picture-choice--small.cl-ui-picture-choice--cards,.cl-icon-choice .cl-ui-picture-choice--small.cl-ui-picture-choice--cards{margin-bottom:1rem}

/* The checkout (owner, 2026-11-11, the approved mockup of the Review page): the steps in the page head, done ones ticked,
   the current one dark; on a phone four bars with their names. The review: the order's lines with their covers, who is
   billed beside how they pay, the email choices, and the summary with the amount to pay, the acceptances and the button. */
.cl-checkout-progress ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.cl-checkout-progress-step{display:flex;align-items:center;gap:.5rem;padding:.45rem .85rem;border:1px solid var(--cl-border);background:var(--cl-surface);font-size:.875rem;line-height:1.3}
.cl-checkout-progress-mark{width:1.3rem;height:1.3rem;flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;background:var(--cl-border);color:var(--cl-ink)}
.cl-checkout-progress-mark svg{width:.85rem;height:.85rem}
.cl-checkout-progress-step.is-done .cl-checkout-progress-mark{background:var(--cl-success);color:var(--cl-lightest)}
.cl-checkout-progress-step.is-current{background:var(--cl-ink);border-color:var(--cl-ink);color:var(--cl-lightest)}
.cl-checkout-progress-step.is-current .cl-checkout-progress-mark{background:var(--cl-accent);color:var(--cl-lightest)}
@media(max-width:575.98px){
.cl-page-head-actions:has(.cl-checkout-progress){width:100%}
.cl-checkout-progress{width:100%}
.cl-checkout-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem}
.cl-checkout-progress-step{flex-direction:column;align-items:flex-start;gap:0;padding:.35rem 0 0;border:0;border-top:4px solid var(--cl-border);background:none;font-size:.75rem}
.cl-checkout-progress-step.is-done{border-top-color:var(--cl-success)}
.cl-checkout-progress-step.is-current{background:none;color:var(--cl-ink);border-top-color:var(--cl-accent);font-weight:600}
.cl-checkout-progress-mark{display:none}
}
.cl-checkout-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0 0 .75rem}
.cl-checkout-card-head h2{margin:0}
.cl-checkout-card-head a{font-size:.9rem}
#checkout-order .cl-checkout-card-head{border-bottom:1px solid var(--cl-border);padding-bottom:.75rem;margin-bottom:0}
.cl-checkout-lines{list-style:none;margin:0;padding:0}
.cl-checkout-line{display:grid;grid-template-columns:6rem minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--cl-border)}
.cl-checkout-line:last-child{border-bottom:0;padding-bottom:.25rem}
.cl-checkout-line-picture{width:6rem;aspect-ratio:16/10;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--cl-accent-soft);color:var(--cl-accent);font-size:1.5rem}
.cl-checkout-line-picture img{width:100%;height:100%;object-fit:cover;display:block}
.cl-checkout-line-text{display:flex;flex-direction:column;gap:.2rem;min-width:0;overflow-wrap:anywhere}
.cl-checkout-line-title{font-weight:600}
.cl-checkout-line-note,.cl-checkout-method-note,.cl-checkout-help,.cl-order-small-print{font-size:.875rem;opacity:.8}
.cl-checkout-line-price{text-align:right;white-space:nowrap}
.cl-checkout-line-price .cl-price--marked-down{display:flex;flex-direction:column;align-items:flex-end}
.cl-checkout-line-price .cl-price-now{font-weight:600}
@media(max-width:575.98px){
.cl-checkout-line{grid-template-columns:4.5rem minmax(0,1fr);gap:.75rem;align-items:start}
.cl-checkout-line-picture{width:4.5rem}
.cl-checkout-line-price{grid-column:2;text-align:left}
.cl-checkout-line-price .cl-price--marked-down{flex-direction:row;gap:.4rem;align-items:baseline}
}
.cl-checkout-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
@media(max-width:767.98px){.cl-checkout-pair{grid-template-columns:minmax(0,1fr)}}
.cl-checkout-pair address{margin:0;line-height:1.6}
.cl-checkout-method{display:flex;gap:.75rem;align-items:flex-start;margin:0}
.cl-checkout-method-icon{flex:none;color:var(--cl-accent)}
.cl-checkout-method-icon svg{width:1.5rem;height:1.5rem}
.cl-checkout-method strong,.cl-checkout-method-note{display:block}
.cl-checkout-help{margin:0 0 .75rem}
.cl-keep-informed{margin:0}
.cl-order-summary{display:flex;flex-direction:column;gap:1rem}
.cl-order-summary .cl-checkout-promo{margin:0;gap:.5rem}
.cl-order-summary .cl-checkout-promo .h5{font-size:1rem;margin:0}
.cl-order-to-pay{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin:0;padding-top:.85rem;border-top:1px solid var(--cl-border);font-weight:600}
.cl-order-to-pay strong{font-size:1.9rem;line-height:1.1;white-space:nowrap}
.cl-order-place{display:flex;flex-direction:column;gap:.75rem;margin:0}
.cl-order-place .cl-ui-picture-choice{margin:0}
.cl-order-small-print{margin:0;padding-left:1.1rem;display:grid;gap:.25rem}
[data-order-summary] .cl-ui-key-value-list{grid-template-columns:minmax(0,1fr) auto;gap:.4rem 1rem}
[data-order-summary] .cl-ui-key-value-list dt{font-weight:400}
[data-order-summary] .cl-ui-key-value-list dd{text-align:right;white-space:nowrap}
.cl-order-summary .cl-ui-compact-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.35rem .5rem;align-items:center}
.cl-order-summary .cl-ui-compact-action label{grid-column:1 / -1;font-size:.875rem}
.cl-order-summary .cl-ui-compact-action input{width:100%}
.cl-keep-informed .cl-ui-picture-choice.cl-ui-picture-choice--cards .cl-ui-picture-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cl-keep-informed .cl-ui-picture-choice.cl-ui-picture-choice--cards.cl-ui-picture-choice--single .cl-ui-picture-choice-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:575.98px){.cl-keep-informed .cl-ui-picture-choice.cl-ui-picture-choice--cards .cl-ui-picture-choice-grid{grid-template-columns:minmax(0,1fr)}}
.cl-checkout-main,.cl-checkout-side{min-width:0}
.cl-payment-method-detail{margin:.5rem 0 0}
.cl-payment-method-detail p{margin:0}
/* A bundle credit's rule beside it wherever it is bought or given (owner, 2026-11-11: one credit, one person, never split). */
.cl-bundle-credit-rule{font-size:.875rem;font-weight:500;margin:.25rem 0 0}
/* The Inbox (owner, 2026-11-11; approved mockup): a folder's list, a conversation's thread, its reply and the spam check. */
.cl-inbox-filters{margin-bottom:1rem}
tr.cl-inbox-new td{font-weight:600}
.cl-inbox-signs{display:inline-flex;flex-wrap:wrap;gap:.25rem;margin-top:.25rem}
.cl-inbox-main,.cl-inbox-side{min-width:0;display:flex;flex-direction:column;gap:var(--cl-section-space,1.5rem)}
.cl-inbox-thread{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.cl-inbox-item{border:1px solid var(--cl-border);border-left-width:4px;padding:.85rem 1rem;background:var(--cl-surface)}
.cl-inbox-item--received{border-left-color:var(--cl-accent)}
.cl-inbox-item--sent{border-left-color:var(--cl-muted);background:var(--cl-page-surface)}
.cl-inbox-item-head{display:flex;flex-wrap:wrap;gap:.25rem .75rem;align-items:baseline;margin:0 0 .5rem;font-size:.875rem;color:var(--cl-muted)}
.cl-inbox-item-head strong{color:var(--cl-ink);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem}
.cl-inbox-item-when{margin-left:auto}
.cl-inbox-item-body{overflow-wrap:anywhere}
.cl-inbox-item-body--html table{border-collapse:collapse;margin:.5rem 0}
.cl-inbox-item-body--html th,.cl-inbox-item-body--html td{border:1px solid var(--cl-border);padding:.25rem .5rem}
.cl-inbox-reply{display:flex;flex-direction:column;gap:1rem}
.cl-inbox-reply .ck-editor__editable{min-height:12rem}
/* Only the chosen format's field shows; without :has() both show and the server reads the chosen one. */
.cl-inbox-reply:has(input[name=format][value=plain]:checked) .cl-inbox-reply-html,
.cl-inbox-reply:has(input[name=format][value=html]:checked) .cl-inbox-reply-plain{display:none}
.cl-inbox-reply-plain textarea{font-family:var(--cl-font-mono,ui-monospace,monospace)}
.cl-inbox-signs-list{margin:0 0 .75rem;padding-left:1.1rem;display:grid;gap:.25rem;font-size:.875rem}
.cl-inbox-block{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
/* A price option's dates in its row (owner, 2026-11-11: dated course prices). */
.cl-price-date{display:flex;flex-direction:column;gap:.15rem;margin-top:.4rem;font-size:.8125rem}
/* The Inbox's labels sit beside their values, each label as wide as its words (owner, 2026-11-11: To and From were half way across). */
.cl-inbox-main .cl-ui-key-value-list,.cl-inbox-explain .cl-ui-key-value-list{grid-template-columns:max-content minmax(0,1fr);column-gap:1.25rem}
.cl-inbox-explain{margin:.75rem 0 1rem}
/* In the narrow side cards each label sits above its value: no gap, and the whole width for an email address. */
.cl-inbox-side .cl-ui-key-value-list{grid-template-columns:minmax(0,1fr);gap:0}
.cl-inbox-side .cl-ui-key-value-list dt{margin-top:.6rem;font-size:.6875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--cl-muted)}
.cl-inbox-side .cl-ui-key-value-list dt:first-child{margin-top:0}
.cl-inbox-side .cl-ui-key-value-list dd{overflow-wrap:break-word;word-break:normal}

/* The home page's Latest articles (S7.7, as drawn, 2026-11-15): a row of three of the list's cards under its heading, at
   desktop width; narrower screens keep the course grid's own steps. Only this section has the class. */
.cl-articles-latest{margin-top:2rem}
@media(min-width:1201px){.cl-articles-latest .cl-course-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* A person's Courses table and Enrolments in Administration: on a phone Answers and Remove or Restore stand one above the
   other, so the other columns keep their width (owner, Q388, 2026-12-04). */
@media(max-width:700px){.cl-ui-table td .cl-ui-row-actions:has(>a[href$="/answers"]){flex-direction:column;align-items:stretch!important}.cl-ui-table td .cl-ui-row-actions>a[href$="/answers"]{justify-content:center;gap:.2rem;padding-inline:.2rem!important}}
