/* ============================================================================
   ORSI.digital — OD920 stylesheet 'base'.
   Samengesteld uit: orsi-tokens.css + de gedeelde laag van site_shared.
   Geserveerd via /css/dynamic/base.css. Bron = repo; wijziging altijd als SQL.
   ============================================================================ */

/* Orsi Digital design tokens — canonical v1.2, 8 October 2026.
   This is the only application stylesheet that may contain literal colour values. */
:root {
  --orsi-blue: #0077C8;
  --orsi-purple: #A7358B;
  --orsi-orange: #EC6607;
  --orsi-green: #96C11E;
  --orsi-blue-700: #005A97;
  --orsi-blue-400: #4AA3DA;
  --orsi-blue-100: #D6E9F7;
  --orsi-blue-050: #EEF4FB;
  --orsi-deep: #2F3F8D;
  --orsi-green-600: #6E9117;
  --orsi-success-fg: #4F6910;
  --orsi-purple-050: #F6E9F2;
  --orsi-purple-line: #E5C2DC;
  --orsi-purple-700: #842B6E; /* text derivative of orsi-purple: 8.2:1 on white, 7.0:1 on orsi-purple-050 */
  --orsi-steel: #99B5CD;      /* secondary brand colour, pattern and quiet grounds, never text */
  --orsi-sand: #E1DBD0;       /* secondary brand colour, section ground behind the white pattern, never text */
  --orsi-sky: #4DB3E6;        /* light blue of the Assistant errors block in prototype unit 1.1: border, active dot, heading dot; never text */
  --orsi-sky-700: #1D7FB0;    /* text derivative of orsi-sky as used in the prototype: 4.45:1 on white, 4.04:1 on orsi-sky-050 */
  --orsi-sky-050: #E9F6FC;    /* light ground of the Assistant errors block in prototype unit 1.1 */
  --orsi-ink: #1B2A4A;
  --orsi-ink-soft: #3D4A60;
  --orsi-muted: #5C6A82;
  --orsi-card: #FFFFFF;
  --orsi-surface: #F2F6FB;
  --orsi-line: #DCE5F0;
  --orsi-line-strong: #B4C2D6;
  --orsi-action: #EC6607;
  --orsi-action-hover: #D25A06;
  --orsi-action-ink: #0E1420;
  --orsi-orange-text: #A8460B;
  --orsi-error-bg: #FDF2F1;
  --orsi-error-line: #F0C3C1;
  --orsi-error-fg: #B5121B;
  --orsi-success-bg: #F1F8E9;
  --orsi-success-line: #CDE3B4;
  --orsi-warning-bg: #FFF4E2;
  --orsi-warning-line: #F3D9A8;
  --orsi-warning-fg: #8A5A00;
  --orsi-info-bg: #E6EEF6;
  --orsi-info-line: #BFD6EC;
  --orsi-info-fg: #1E5FA8;
  --orsi-progress-todo: #C6D2E0;
  --orsi-disabled-ink: #7A879B;
  --orsi-disabled-bg: #F5F7FA;
  --orsi-focus: #2F3F8D;
  --orsi-focus-inverse: #FFFFFF;
  --orsi-navy: #123A63;
  --orsi-navy-deep: #08284B;
  --orsi-shadow-sm: 0 1px 2px color-mix(in srgb, var(--orsi-ink) 5%, transparent);
  --orsi-shadow-md: 0 10px 30px color-mix(in srgb, var(--orsi-ink) 8%, transparent);
  --orsi-font: 'Poppins', 'Trebuchet MS', system-ui, sans-serif;
  --bs-font-sans-serif: var(--orsi-font);
  --bs-body-font-family: var(--orsi-font);
  --orsi-weight-body: 400;
  --orsi-weight-emphasis: 600;
  --orsi-weight-strong: 700;
  --orsi-radius: 16px;
  --orsi-radius-sm: 11px;
  --orsi-radius-pill: 999px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
}

/* One application typeface across the internal, organization and trainee layouts.
   Native controls do not consistently inherit body typography, so bind them explicitly.
   Code/preformatted content keeps Bootstrap's intentional monospace font. */
body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--orsi-font);
}

/* Same-request validation summaries floated at the top of the viewport (Dirk, 2 sep 2026 — the
   "pop-up i.p.v. fixed box"-sweep). site.js adds this class to a non-empty validation summary; the
   element stays inside its form (client-side validation keeps working), it is only lifted out of flow
   visually, mirroring the shared flash pop-up. The summary already carries .alert.alert-danger styling. */
.orsi-floating-validation {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1085;
  width: min(680px, 94vw);
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ORSI.digital — a thin theme layer on top of Bootstrap (plan 2.2). No
   embedded <style> block per screen: every screen uses these shared
   classes instead of inventing its own CSS (that was exactly the DNN
   pitfall). */

:root,
[data-bs-theme="light"] {
    
    
    
    
    
    
    

    /* Bootstrap variables overridden with the ORSI tokens, so the
       ready-made Bootstrap components (buttons, badges, tabs, ...) are
       immediately recognizable as ORSI without having to restyle each
       component individually. */
    --bs-primary: var(--orsi-blue);
    --bs-primary-rgb: 1, 125, 197;
    --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-link-color: var(--orsi-blue);
    --bs-link-hover-color: var(--orsi-deep);
    --bs-body-color: var(--orsi-ink);
    --bs-border-color: var(--orsi-line);
}

body {
    margin: 0;
    background: var(--orsi-surface);
    color: var(--orsi-ink);
}

/* ---- Point 12 (UI changes batch, 10 August 2026): font consistency ----
   Dirk's example ("Lock until previous unit is complete" vs. the
   Owner dropdown next to it) turned out, on investigation, not to be an
   isolated one-off on that single element, but a structural pattern: almost
   every input field on these screens uses Bootstrap's smaller -sm variant
   (form-control-sm/form-select-sm, font-size 0.875rem), while the caption
   next to it (.form-label/.form-check-label) never has its own font-size
   and so stays at Bootstrap's default size (1rem) - hence the noticeable
   difference. Fixed at the same 0.875rem as the -sm fields, so labels and
   fields look consistent everywhere. The separate font-size rules further
   down in this file (badges, tags, breadcrumb, navigation, etc.) are
   deliberately left untouched - those are different kinds of UI chrome
   that are rightly smaller than body/field text, not an inconsistency of
   the same element. */
:root,
[data-bs-theme="light"] {
    --orsi-form-text-size: 0.875rem;
}
.form-label,
.form-check-label {
    font-size: var(--orsi-form-text-size);
}

/* The ValidationSummaryTagHelper always renders the <div>, even without
   errors (class "validation-summary-valid" instead of
   "validation-summary-errors") - without this rule, every clean form would
   show an empty red bar. */
.validation-summary-valid {
    display: none;
}

/* ---- Accessibility: skip link + visible focus (WCAG 2.2 AA, plan 2.2) ---- */
.orsi-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--orsi-deep);
    color: var(--orsi-card);
    padding: 0.6rem 1rem;
    border-radius: 0 0 6px 0;
}
.orsi-skip-link:focus {
    left: 0;
}
:focus-visible {
    outline: 3px solid var(--orsi-orange);
    outline-offset: 2px;
}

/* ---- Anonymous screen (login) — no shell, just a centered card ---- */
.orsi-anon-main {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--orsi-surface);
}

/* ---- Shell: sidebar + main area ---- */
.orsi-shell {
    display: flex;
    min-height: 100vh;
}

.orsi-sidebar-backdrop {
    display: none;
}

/* Point 9 (UI changes batch, 10 August 2026): "the menu should stay fixed
   instead of scrolling along with the page; if the menu doesn't fit on a
   screen it should stay scrollable within the menu" - the sidebar used
   to be a plain flex item in .orsi-shell's row, so on a tall page it simply
   stretched (via the row's default align-items: stretch) to the row's full
   height instead of staying pinned to the viewport, and .orsi-sidebar__nav's
   own "flex: 1; overflow-y: auto" never actually kicked in because the
   column always had as much height as it needed. Fixed by taking the sidebar
   out of the flow (position: fixed, height: 100vh) - .orsi-sidebar__nav's
   existing overflow-y: auto now does what it was always meant to do. See
   .orsi-shell__main below for the matching margin-left that keeps the main
   content from sliding underneath it, and the mobile media query further
   down for how the existing off-canvas behaviour still layers on top of this. */
.orsi-sidebar {
    width: 260px;
    flex: 0 0 260px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    z-index: 1020;
    background: var(--orsi-deep);
    color: var(--orsi-card);
    display: flex;
    flex-direction: column;
    transition: width 0.15s ease, flex-basis 0.15s ease;
}

.orsi-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    font-weight: var(--orsi-weight-strong);
    font-size: 1.05rem;
    border-bottom: 1px solid color-mix(in srgb, var(--orsi-card) 12.000%, transparent);
}
.orsi-sidebar__brand-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    /* Point 6 (UI changes batch, 10 August 2026): now an <a>, not a <span> -
       reset the link styling so it still looks exactly like plain brand text. */
    color: inherit;
    text-decoration: none;
}
.orsi-sidebar__brand-group:hover,
.orsi-sidebar__brand-group:focus-visible {
    color: inherit;
    text-decoration: none;
}
.orsi-sidebar__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--orsi-orange);
    color: var(--orsi-card);
    font-weight: var(--orsi-weight-strong);
    flex-shrink: 0;
}

/* Sidebar collapse/expand button. Used to sit next to the logo, in the
   (dark) sidebar itself - moved to the (light) topbar (Dirk, 9 August 2026
   test change: "the arrows next to OrsiDigital should be in the right pane
   above tracks") - hence the colors below matching a white background
   (var(--orsi-line)/var(--orsi-ink), the same tokens as
   .orsi-topbar__menu-btn below) instead of the previous white text/border
   on the dark sidebar background. Size (34x34) now also aligned with the
   other topbar buttons, was previously smaller (26x26) back when it sat
   among the sidebar navigation items. Two arrow icons inside it, CSS
   switches which one is visible based on .orsi-shell.is-collapsed (site.js
   only toggles the class, no separate icon-swap script needed). */
.orsi-sidebar__collapse-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--orsi-line);
    border-radius: 6px;
    background: var(--orsi-card);
    color: var(--orsi-ink);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.orsi-sidebar__collapse-btn:hover,
.orsi-sidebar__collapse-btn:focus-visible {
    background: var(--orsi-surface);
    color: var(--orsi-ink);
}
.orsi-sidebar__collapse-icon--expand {
    display: none;
}
.orsi-shell.is-collapsed .orsi-sidebar__collapse-icon--collapse {
    display: none;
}
.orsi-shell.is-collapsed .orsi-sidebar__collapse-icon--expand {
    display: inline;
}
/* Only relevant on desktop - on mobile, the separate #orsiNavToggle (same
   spot in the topbar) opens/closes the off-canvas menu (see site.js for the
   full explanation of why these are two separate buttons/handlers). */
@media (max-width: 991.98px) {
    .orsi-sidebar__collapse-btn {
        display: none;
    }
}

.orsi-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.6rem 1rem;
}

.orsi-nav-section {
    margin-bottom: 1.1rem;
}
.orsi-nav-section__title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    /* Contrast increased (Dirk, feedback round, point 6.1: "adjust the
       contrast of the menu font so it becomes more readable") - 0.55 was
       too faint against the --orsi-deep background. */
    color: color-mix(in srgb, var(--orsi-card) 75.000%, transparent);
    padding: 0.3rem 0.6rem;
}

.orsi-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 7px;
    /* Contrast increased, same reason as .orsi-nav-section__title above. */
    color: color-mix(in srgb, var(--orsi-card) 94.000%, transparent);
    text-decoration: none;
    font-size: 0.9rem;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    font-family: inherit;
}
.orsi-nav-link:hover,
.orsi-nav-link:focus-visible {
    background: color-mix(in srgb, var(--orsi-card) 10.000%, transparent);
    color: var(--orsi-card);
}
.orsi-nav-link.active {
    background: var(--orsi-blue);
    color: var(--orsi-card);
    font-weight: var(--orsi-weight-emphasis);
}
.orsi-nav-link--disabled {
    /* Contrast increased, same reason - 0.4 was nearly invisible. */
    color: color-mix(in srgb, var(--orsi-card) 55.000%, transparent);
    cursor: not-allowed;
}
.orsi-nav-link__icon {
    width: 1.1em;
    text-align: center;
}
.orsi-nav-link__text {
    flex: 1;
}
.orsi-nav-link__tag {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: color-mix(in srgb, var(--orsi-card) 14.000%, transparent);
    padding: 0.12rem 0.4rem;
    border-radius: 10px;
}

.orsi-shell__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* Matches .orsi-sidebar's width now that it's position: fixed (see above) -
       keeps the main content from sliding underneath it. Collapsed-state
       override sits with the other .orsi-shell.is-collapsed rules below. */
    margin-left: 260px;
    transition: margin-left 0.15s ease;
}

.orsi-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--orsi-card);
    border-bottom: 1px solid var(--orsi-line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.orsi-topbar__menu-btn {
    border: 1px solid var(--orsi-line);
    background: var(--orsi-card);
    border-radius: 6px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    line-height: 1;
}
/* Mobile-only since the feedback round (point 6.1) - the desktop collapse
   button (.orsi-sidebar__collapse-btn, now also here in the topbar, right
   before this button - see above) occupies the same spot on desktop; only
   this hamburger button still opens the off-canvas menu on narrow screens.
   See site.js for the full explanation. */
@media (min-width: 992px) {
    .orsi-topbar__menu-btn {
        display: none;
    }
}
.orsi-topbar__spacer {
    flex: 1;
}
.orsi-topbar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
}
.orsi-topbar__action.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
a.orsi-topbar__action {
    color: var(--orsi-ink);
    text-decoration: none;
}
a.orsi-topbar__action:hover,
a.orsi-topbar__action:focus-visible {
    background: var(--orsi-surface);
}
.orsi-topbar__install-btn {
    border: 0;
    background: transparent;
    color: var(--orsi-ink);
    cursor: pointer;
    font: inherit;
}
.orsi-topbar__install-btn:hover,
.orsi-topbar__install-btn:focus-visible {
    background: var(--orsi-surface);
}

/* Name + Log out (point 4, UI changes batch 10 August 2026) - back in the
   topbar, on the right, after the action icons. Replaces the earlier
   sidebar footer (.orsi-sidebar__footer, removed - see the note at
   .orsi-sidebar). */
/* Role-switcher control (point 3b, UI changes batch 10 August 2026) - a
   small link, same visual weight as the name next to it, not a full button
   (this is an occasional action, not a primary one). */
.orsi-topbar__active-role {
    font-size: 0.78rem;
    color: var(--orsi-muted);
    text-decoration: none;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.orsi-topbar__active-role:hover,
.orsi-topbar__active-role:focus-visible {
    color: var(--orsi-blue);
}
@media (max-width: 767.98px) {
    .orsi-topbar__active-role {
        display: none;
    }
}

.orsi-topbar__user {
    padding: 0 0.3rem;
    max-width: 220px;
}
.orsi-topbar__username-text {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--orsi-weight-emphasis);
    color: var(--orsi-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.orsi-topbar__logout-form {
    display: inline-flex;
}
.orsi-topbar__logout-btn {
    border: 1px solid var(--orsi-line);
    background: var(--orsi-card);
    border-radius: 6px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.orsi-topbar__logout-btn:hover,
.orsi-topbar__logout-btn:focus-visible {
    background: var(--orsi-surface);
}
/* On narrow screens the topbar has little room left next to the mobile menu
   button - the name text is dropped there, Log out (icon-only, already
   compact) stays. */
@media (max-width: 575.98px) {
    .orsi-topbar__user {
        display: none;
    }
}

/* Flash banners as a fixed popup (Dirk, 6 August, general remark spanning
   all screens): _FlashBanners.cshtml used to sit in the normal document
   flow at the top of the page content, so it scrolled out of view as soon
   as you scrolled down. position: fixed, centered at the top of the
   viewport, with a z-index above .orsi-topbar (which itself has
   position: sticky; z-index: 10) - that now keeps the message in view at
   all times, on every screen that includes the partial. No ancestor in the
   layout uses transform/filter (that would create its own containing block
   and break position: fixed) - only .orsi-sidebar does on mobile, and that
   is not an ancestor of the page content. */
.orsi-flash-toast-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1080;
    width: min(560px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.orsi-flash-toast-container .alert {
    margin-bottom: 0;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--orsi-ink) 18.000%, transparent);
}

.orsi-main {
    padding: 1.25rem 1.5rem 2.5rem;
    width: 100%;
}

.orsi-breadcrumb-nav .breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
}
/* Breadcrumb removed on all screens (Dirk, 6 August) - the section is
   still rendered in _Layout.cshtml (@await RenderSectionAsync stays in
   place, otherwise Razor throws a "section not rendered" error on every
   screen that defines @section Breadcrumb), but is hidden globally here
   instead of removing the @section blocks on each screen individually. */
.orsi-breadcrumb-nav {
    display: none;
}

/* ---- Collapsed (desktop icon-rail) state ---- */
.orsi-shell.is-collapsed .orsi-sidebar {
    width: 64px;
    flex-basis: 64px;
}
.orsi-shell.is-collapsed .orsi-shell__main {
    margin-left: 64px;
}
.orsi-shell.is-collapsed .orsi-sidebar__brand-text,
.orsi-shell.is-collapsed .orsi-nav-section__title,
.orsi-shell.is-collapsed .orsi-nav-link__text,
.orsi-shell.is-collapsed .orsi-nav-link__tag {
    display: none;
}

/* ---- Mobile / off-canvas ---- */
@media (max-width: 991.98px) {
    .orsi-sidebar {
        /* position: fixed and height already come from the base rule above
           (point 9) - only the off-canvas-specific bits stay here. */
        inset: 0 auto 0 0;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }
    .orsi-shell.is-nav-open .orsi-sidebar {
        transform: translateX(0);
    }
    .orsi-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: color-mix(in srgb, var(--orsi-ink) 45.000%, transparent);
        z-index: 1040;
    }
    .orsi-shell.is-nav-open .orsi-sidebar-backdrop {
        display: block;
    }
    /* Off-canvas on mobile - the sidebar no longer sits in the document flow
       pushing content aside, so .orsi-shell__main must not reserve space for
       it (unlike the desktop margin-left set above). */
    .orsi-shell__main {
        margin-left: 0;
    }
    .orsi-main {
        padding: 1rem 1rem 2rem;
    }
}

/* ---- Shared page patterns (2.2bis) ---- */
.orsi-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.orsi-page-header__title {
    margin: 0 0 0.2rem;
}
.orsi-page-header__subtitle {
    margin: 0;
    color: var(--orsi-muted);
    font-size: 0.9rem;
}

.orsi-card {
    background: var(--orsi-card);
    border: 1px solid var(--orsi-line);
    border-radius: 10px;
}

/* Summary bar above the tabset (Track UI redesign, point 3, 8 August,
   Dirk's request: "Place above the tabs: Track details | Reference | Title
   (EN) | Status ... (pipes included)"). One line, with a vertical bar
   between each segment instead of a separate <span>|</span> each time
   (same visual result, less markup noise in Edit.cshtml). */
.orsi-summary-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
}
.orsi-summary-bar__title {
    font-weight: var(--orsi-weight-emphasis);
}
.orsi-summary-bar__sep {
    color: var(--orsi-line);
}
.orsi-summary-bar__label {
    color: var(--orsi-muted);
}
/* Program Detail heading made the same size as 'Programs' on the list
   (Dirk, 13 August 2026, point 3a) - a deliberate dedicated modifier
   instead of adjusting .orsi-summary-bar__label itself: that class is also
   used for Track/Module/Unit/Block's own small "Track"/"Module"/"Unit"/
   "Block" labels in their summary bars (Tracks/Edit.cshtml), which must
   not inherit this change. Same size/weight as .h3 (Bootstrap), the class
   that "Programs" carries on Programs/Index.cshtml. */
.orsi-summary-bar__label--heading {
    font-size: 1.75rem;
    font-weight: var(--orsi-weight-body);
}

.orsi-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--orsi-muted);
}
.orsi-empty-state__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.orsi-filterbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}
.orsi-filterbar__search {
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}

/* ---- Light list filter bar (Library → Tracks overview, pattern 1):
   status chips + owner dropdown, real server-side filtering (hides
   non-matching rows), as opposed to the dimming version on the Track
   detail screen which DOES sit on a dark background (.orsi-track-context)
   - hence a separate, light class set instead of reusing .orsi-status-chk. ---- */
.orsi-list-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--orsi-line);
}
.orsi-list-filters__group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.orsi-list-filters__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orsi-muted);
}
.orsi-chip-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    background: var(--orsi-surface);
    border: 1px solid var(--orsi-line);
    border-radius: 14px;
    padding: 0.2rem 0.6rem 0.2rem 0.45rem;
    cursor: pointer;
}
.orsi-list-filters__select {
    width: auto;
    display: inline-block;
}

/* ---- Sortable column headers (same overview screen) ---- */
.orsi-sortable-col {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}
.orsi-sortable-col:hover {
    color: var(--orsi-blue);
    text-decoration: underline;
}

.orsi-actionbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--orsi-line);
}
.orsi-actionbar__spacer {
    flex: 1;
}
/* ---- Compact Save/Cancel bar (6 August, eighth round — Dirk's request
   "place save and cancel buttons at the top (top right) within all
   entities... only clickable once changes have actually been made";
   moved next to the tab strip in a later feedback round, point 1, see
   .orsi-block-tabs-row above - it previously sat IN the card header next
   to the title, but disappeared along with it whenever a different tab
   became active). No top border/margin like the regular .orsi-actionbar
   (which belongs at the bottom of a form) - see the generic
   [data-dirty-form] script at the bottom of Edit.cshtml for the logic
   that enables/disables the buttons. */
.orsi-actionbar--compact {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    flex-shrink: 0;
}
.orsi-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* ---- Status badge — color is never the only signal (text + dot, WCAG) ---- */
.orsi-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: var(--orsi-weight-emphasis);
    background: var(--orsi-blue-050);
    color: var(--orsi-ink-soft);
}
.orsi-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.orsi-status--draft { background: var(--orsi-blue-050); color: var(--orsi-muted); }
.orsi-status--review { background: var(--orsi-warning-bg); color: var(--orsi-warning-fg); }
.orsi-status--approved { background: var(--orsi-success-bg); color: var(--orsi-success-fg); }
.orsi-status--changes { background: var(--orsi-error-bg); color: var(--orsi-error-fg); }
.orsi-status--retired { background: var(--orsi-purple-050); color: var(--orsi-purple); }
.orsi-status--replaced { background: var(--orsi-disabled-bg); color: var(--orsi-ink-soft); }
.orsi-status--idea { background: var(--orsi-blue-050); color: var(--orsi-blue-700); }
.orsi-status--unknown { background: var(--orsi-blue-050); color: var(--orsi-muted); }
/* The little dot in the regular StatusBadge pill (ninth round, Dirk: "I
   also expected a dot... next to owner/status within the block") -
   .orsi-status__dot inherits currentColor by default (the same,
   deliberately muted text color above, because this component also
   appears on ~26 other screens and the pill text/background must stay
   unchanged there). Only the DOT itself gets the same saturated colors
   here as .orsi-status-icon--X (the Structure tree) and StatusInfo.Icon
   (the status dropdowns), so a given status carries the same recognizable
   color everywhere without changing the existing badge styling elsewhere. */
.orsi-status--draft .orsi-status__dot { background: var(--orsi-disabled-ink); }
.orsi-status--review .orsi-status__dot { background: var(--orsi-warning-fg); }
.orsi-status--approved .orsi-status__dot { background: var(--orsi-green-600); }
.orsi-status--changes .orsi-status__dot { background: var(--orsi-error-fg); }
.orsi-status--retired .orsi-status__dot { background: var(--orsi-purple); }
.orsi-status--replaced .orsi-status__dot { background: var(--orsi-orange-text); }
.orsi-status--idea .orsi-status__dot { background: var(--orsi-blue); }
.orsi-status--unknown .orsi-status__dot { background: var(--orsi-ink); }

/* ---- Status icon — a compact dot variant of .orsi-status, used only for
   the Structure tree (StatusIconViewComponent, 6 August, eighth round,
   Dirk's request "replace the status badge with an icon to save space").
   The title tooltip (native browser, no JS) and the .visually-hidden text
   inside the component itself carry the meaning that the dropped label
   text used to convey here.
   Colors made more vivid (ninth round, Dirk: "the colors of the dots
   aren't explicit enough") - the original version reused the same
   (deliberately muted) colors as the text of .orsi-status--X above,
   perfectly readable as text but not distinctive enough as a 9px dot. Now
   eight clearly different, saturated colors, in the same order/color
   family as StatusInfo.Icon's circle emoji in the status dropdowns
   (⚪🟠🟢🔴🟣🟤🔵⚫) - so the same status carries the same recognizable
   color everywhere (tree + dropdown). */
.orsi-status-icon {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--orsi-ink) 18.000%, transparent) inset;
}
.orsi-status-icon--draft { background: var(--orsi-disabled-ink); }
.orsi-status-icon--review { background: var(--orsi-warning-fg); }
.orsi-status-icon--approved { background: var(--orsi-green-600); }
.orsi-status-icon--changes { background: var(--orsi-error-fg); }
.orsi-status-icon--retired { background: var(--orsi-purple); }
.orsi-status-icon--replaced { background: var(--orsi-orange-text); }
.orsi-status-icon--idea { background: var(--orsi-blue); }
.orsi-status-icon--unknown { background: var(--orsi-ink); }
/* Live/Test switch (UI changes batch, 10 August 2026, point 2) - same
   colors as .orsi-status-icon--approved/--changes above (green/red already
   mean "good"/"needs attention" everywhere else on this screen), reusing
   the same 9px dot instead of inventing a second dot system. */
.orsi-status-icon--live { background: var(--orsi-green-600); }
.orsi-status-icon--test { background: var(--orsi-error-fg); }

/* Live/Test switch control on the track detail screen. */
.orsi-live-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 1.6rem;
    padding-left: 2.5rem;
}
.orsi-live-switch .form-check-input {
    margin-left: -2.5rem;
}
.orsi-live-switch__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---- Audit info block (2.2bis) ---- */
.orsi-audit__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1.5rem;
}
.orsi-audit__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orsi-muted);
}
.orsi-audit__value {
    font-size: 0.88rem;
}

/* ---- Concurrency warning (2.2ter) ---- */
.orsi-concurrency {
    background: var(--orsi-warning-bg);
    border: 1px solid var(--orsi-warning-line);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
}
.orsi-concurrency__title {
    font-weight: var(--orsi-weight-strong);
    color: var(--orsi-warning-fg);
    margin-bottom: 0.3rem;
}
.orsi-concurrency__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

/* ---- Readonly note (owner gate — "everyone can see, only the responsible
   person can edit", plan section 4.1) ---- */
.orsi-readonly-note {
    background: var(--orsi-surface);
    border: 1px dashed var(--orsi-progress-todo);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: var(--orsi-ink-soft);
    margin-bottom: 1rem;
}

/* ================================================================
   Track master-detail workspace (plan section 4.1, "Track final design
   v3" — Dirk's instruction 5 August, "matching final design V3"). Fixed
   track header (tiles + dimming status/manager filter, taken directly
   from the existing DNN filter pattern) plus tree on the left/detail on
   the right, rendered by
   Pages/Library/Tracks/Edit.cshtml + wwwroot/js/track-workspace.js.
   ================================================================ */

/* Revised 6 August (Dirk's request): the previous dark gradient block
   ("busy blue block", on which the "Change owner" button became unreadable
   - gray text on blue) is gone. Header/counts/filters now use the same
   light card style (.orsi-page-header, .orsi-card,
   .orsi-list-filters/.orsi-chip-filter - reused from the Tracks overview)
   as the rest of the app. */
.orsi-count-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: var(--orsi-weight-emphasis);
    color: var(--orsi-muted);
    background: var(--orsi-surface);
    border: 1px solid var(--orsi-line);
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
}
.orsi-readonly-pill {
    display: inline-block;
    font-size: 0.7rem;
    background: var(--orsi-surface);
    border: 1px solid var(--orsi-line);
    color: var(--orsi-muted);
    border-radius: 20px;
    padding: 0.15rem 0.6rem;
}

/* Preview eye / magnifying-glass icon buttons (13 August 2026, Dirk's
   request: "bigger eye, eye and magnifying glass the same size everywhere
   with no border around them, reference = the magnifying glass on the
   Program screen"). .orsi-icon-btn itself had no CSS of its own until now
   - its size came purely from Bootstrap's .btn.btn-sm. This modifier
   applies only to the preview eye and the "Open" magnifying glass (not to
   the other orsi-icon-btn buttons such as edit/delete/lock, which fall
   outside this request and therefore remain unchanged). The border
   (btn-outline-secondary) has been removed separately for each of these
   links, directly in the markup. */
.orsi-icon-btn.orsi-icon-btn--preview {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}
.orsi-icon-btn.orsi-icon-btn--preview > span:first-child {
    font-size: 1.3rem;
}

.orsi-owner-change__form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.orsi-owner-change__form select {
    width: auto;
}
/* Reviewers tab dropdown (Track UI redesign, 8 August, Dirk's feedback:
   "make the dropdown wider") - .orsi-owner-change__form select
   { width: auto } above lets it shrink to the width of the visible option;
   this modifier gives the reviewer picker its own minimum width so that a
   long name/email doesn't look truncated either. */
.orsi-reviewer-select {
    width: auto;
    min-width: 20rem;
}

/* .orsi-status-actions/.orsi-status-actions__form (separate status button
   row at the top) are gone (Dirk, 6 August) — Status is now a dropdown in
   the card, reusing .orsi-owner-change__form above. */

/* Status/manager filter on the detail screen (the checkbox input remains
   .orsi-status-chk-input for track-workspace.js - only the surrounding
   styling applies here, no JS change needed). */
.orsi-status-chk-input {
    transform: scale(0.85);
}
.orsi-filter-clear-link {
    font-size: 0.78rem;
}

.orsi-workspace {
    display: grid;
    /* The middle column is the drag handle (point 4, Dirk's request 6
       August, "widen/narrow the structure list by dragging") -
       track-workspace.js sets the first width here inline after a drag
       gesture, and reads a previously saved width back on load
       (orsiTreePaneWidth in localStorage, not a session-/server-bound
       setting). 300px is the unchanged default width from before. */
    grid-template-columns: 300px 6px 1fr;
    min-height: 420px;
    background: var(--orsi-card);
    border: 1px solid var(--orsi-line);
    border-top: none;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
    .orsi-workspace {
        /* On narrow screens everything already stacks (1 column) - dragging
           has no meaning there, so the drag-handle column is dropped
           along with it. */
        grid-template-columns: 1fr;
    }
    .orsi-workspace__resizer {
        display: none;
    }
}

/* Drag handle between Structure and the detail pane (point 4, Dirk's
   request 6 August). A narrow, transparent column with a thin line inside
   it - wider and blue on hover/while dragging, so the click zone is more
   generous than just the visible line (easier to hit than a 1px border). */
.orsi-workspace__resizer {
    position: relative;
    cursor: col-resize;
    background: transparent;
    touch-action: none;
}
.orsi-workspace__resizer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--orsi-line);
    transform: translateX(-50%);
}
.orsi-workspace__resizer:hover::after,
.orsi-workspace.is-resizing .orsi-workspace__resizer::after {
    width: 3px;
    background: var(--orsi-blue);
}

.orsi-tree-pane {
    /* No border-right of its own anymore - the dividing line now comes
       from .orsi-workspace__resizer between them (point 4, making it
       draggable). */
    background: var(--orsi-card);
    padding: 0.9rem 0.6rem;
    overflow-y: auto;
    min-width: 0;
}
.orsi-tree-pane__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.25rem 0.5rem 0.6rem;
}
.orsi-tree-pane__title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orsi-muted);
    margin: 0;
}
.orsi-tree-pane__hint {
    text-transform: none;
    font-weight: var(--orsi-weight-body);
}
.orsi-tree-pane__add-btn {
    font-size: 0.72rem;
    padding: 0;
}

/* Point 4.3 (Dirk's request 6 August, fourth round, "provide a collapse
   all / expand all"): the two buttons sit next to the "Structure" title in
   the same header row (which already has display:flex/justify-content:
   space-between, see .orsi-tree-pane__header above) - this wrapper keeps
   them together on the right with a small gap between them. */
.orsi-tree-pane__header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.orsi-tree-pane__header-actions .btn-link {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* "On this page" navigation on Help/Index (Dirk, 9 August 2026: "place the
   'on this page' the same way as on the tracks screen (structure pane)")
   - to the left of the content, just like .orsi-tree-pane on the Track
   workspace above. Deliberately a separate, smaller class set instead of
   reusing .orsi-tree-pane itself: Help/Index is one long page, not a
   resizable/scrolling master-detail workspace, so sticky positioning is
   enough instead of the full .orsi-workspace mechanics. */
.orsi-help-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .orsi-help-layout {
        grid-template-columns: 1fr;
    }
    .orsi-help-toc {
        position: static;
    }
}
.orsi-help-toc {
    position: sticky;
    top: 1rem;
    background: var(--orsi-card);
    border: 1px solid var(--orsi-line);
    border-radius: 10px;
    padding: 0.9rem;
}
.orsi-help-toc__list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.orsi-help-toc__list a {
    display: block;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    color: var(--orsi-ink);
    text-decoration: none;
    font-size: 0.85rem;
}
.orsi-help-toc__list a:hover,
.orsi-help-toc__list a:focus-visible {
    background: color-mix(in srgb, var(--orsi-blue) 8.000%, transparent);
    color: var(--orsi-blue);
}

/* "New module" form (Dirk, 6 August, point 5 — first step towards module
   reordering: being able to create one before there's anything to
   reorder). Briefly moved to the "Track details" card (point 3), then
   later that same day back to the tree column (first with scope-bound
   visibility, then when that turned out to be a "moving target", back to
   a fixed spot - see .orsi-structure-actions further down). Same fields
   as Dirk mentioned: Reference/Owner/Title (EN), nothing more. Since
   point 3 (6 August, fifth round) also reused by "New unit"
   (.orsi-new-unit-form carries this class too - same three fields, same
   appearance). */
.orsi-new-module-form {
    background: var(--orsi-card);
    border: 1px solid var(--orsi-line);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0 0;
}

/* "Copy…" row action in the Modules tab (Track UI redesign, 8 August) -
   the popup form (.orsi-new-module-form above for the card look) floats
   right-aligned below the button instead of stretching the table
   column/row, so the table doesn't jump around unattractively when the
   form opens. */
.orsi-copy-row-wrapper {
    position: relative;
    display: inline-block;
}
.orsi-copy-module-row-form {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
    width: 260px;
    margin-top: 0.35rem;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--orsi-ink) 12.000%, transparent);
}

/* Per-module wrapper around "New unit" (point 3, 6 August, fifth round) -
   needs no styling of its own (the form inside it, .orsi-new-unit-form,
   reuses .orsi-new-module-form above); it only carries data-scope-parent
   so that exactly one of the N module wrappers is visible
   ([data-scope-parent] rules, further down in this file). */
.orsi-new-child-block {
    margin: 0;
}

.orsi-tree-node {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    user-select: none;
}
.orsi-tree-node:hover {
    background: var(--orsi-blue-050);
}
.orsi-tree-node.is-active {
    background: var(--orsi-blue);
    color: var(--orsi-card);
}
.orsi-tree-node.is-active .orsi-badge-count {
    background: color-mix(in srgb, var(--orsi-card) 25.000%, transparent);
    color: var(--orsi-card);
}
.orsi-tree-node.is-dimmed {
    opacity: 0.32;
}
/* Clickable expand/collapse toggle, separate from row selection (Dirk, 6
   August, "click behavior like Windows Explorer") - a slightly wider
   click zone than just the arrow glyph itself, so it's easier to hit.
   Enlarged (Track UI redesign, point 3, 8 August - Dirk noted this hadn't
   been implemented yet): 16px/0.6rem was too subtle to read as "Explorer
   style" - now 22px/0.95rem, same centering/hover behavior. */
.orsi-tree-node__caret {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--orsi-muted);
    flex-shrink: 0;
    border-radius: 4px;
    cursor: pointer;
}
.orsi-tree-node__caret:hover {
    background: color-mix(in srgb, var(--orsi-blue) 12.000%, transparent);
    color: var(--orsi-blue);
}
.orsi-tree-node.is-active .orsi-tree-node__caret {
    color: color-mix(in srgb, var(--orsi-card) 80.000%, transparent);
}
.orsi-tree-node.is-active .orsi-tree-node__caret:hover {
    background: color-mix(in srgb, var(--orsi-card) 18.000%, transparent);
    color: var(--orsi-card);
}
.orsi-tree-node__label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.orsi-tree-node--module {
    font-weight: var(--orsi-weight-emphasis);
}
.orsi-tree-node--unit {
    padding-left: 1.5rem;
}
.orsi-tree-node--block {
    padding-left: 2.6rem;
    font-size: 0.78rem;
}
.orsi-tree-children {
    display: none;
}
.orsi-tree-children.is-open {
    display: block;
}
.orsi-badge-count {
    font-size: 0.65rem;
    background: var(--orsi-info-bg);
    color: var(--orsi-muted);
    border-radius: 10px;
    padding: 0.05rem 0.4rem;
}
/* Structure row parity with DNN (_PIN_PR_MT_Track.cshtml module summary:
   lock icon, status pill, manager badge - 6 August, second round, "what
   should appear on the track detail screen when you click a module...
   matching the view (both in structure and in the detail block)"). A more
   compact version of .orsi-status specifically for the tree row - the
   regular size (used elsewhere, in the detail pane) doesn't fit next to
   the caret/label/arrows in the narrow tree column. */
.orsi-lock-icon {
    font-size: 0.7rem;
    flex-shrink: 0;
}
.orsi-tree-node__status {
    flex-shrink: 0;
}
.orsi-tree-node__status .orsi-status {
    padding: 0.1rem 0.5rem;
    font-size: 0.65rem;
    gap: 0.25rem;
}
.orsi-tree-node__status .orsi-status__dot {
    width: 6px;
    height: 6px;
}
.orsi-mgr-badge {
    font-size: 0.65rem;
    background: var(--orsi-blue-050);
    color: var(--orsi-blue);
    border-radius: 10px;
    padding: 0.05rem 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.orsi-tree-node.is-active .orsi-mgr-badge {
    background: color-mix(in srgb, var(--orsi-card) 25.000%, transparent);
    color: var(--orsi-card);
}

/* Module detail pane (6 August, second round): each pane reuses the same
   .orsi-card/.orsi-crumbs/.orsi-level-tag/.orsi-detail-title classes as
   the existing Track detail and the client-rendered Unit/Block pane -
   so no further new layout rules are needed, only the generic
   [data-scope-parent] visibility (above) controls showing/hiding. */

.orsi-no-edit-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orsi-progress-todo);
    display: inline-block;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

/* "Only show this on the parent entity" visibility (Dirk, 6 August): now
   only used for the reorder arrows themselves (.orsi-reorder-form below) -
   the "New module" wrapper briefly used this too, but turned out to become
   a "moving target" as soon as you selected a different item in the tree
   (the whole block appeared/disappeared and the rest of the list shifted
   along with it) - see .orsi-tree-pane__actions below, which now
   deliberately has a FIXED spot, no longer data-scope-parent. Every
   element with data-scope-parent is hidden by default; track-workspace.js's
   applyScopedVisibility() sets .is-visible only on the element whose
   data-scope-parent matches the current selection. */
[data-scope-parent] {
    display: none;
}
[data-scope-parent].is-visible {
    display: block;
}

/* Point 4.4 (Dirk's request 6 August, fourth round): make "New module"
   (and later "New unit"/"New block") scope-bound visible again - "New
   module should only be visible when a track has been clicked... if a
   block is selected nothing should show, but provide a placeholder so
   the panel doesn't feel like it's floating". The previous round (see the
   old .orsi-tree-pane__actions above, now renamed) deliberately chose a
   fixed, always-visible spot specifically to avoid the "moving target"
   effect of data-scope-parent (see above) - but that problem was actually
   caused by the whole block appearing/disappearing (reflowing the rest of
   the tree column below it). This time the OUTER container itself always
   stays present and the same height (min-height below, tuned to the
   smallest content - the one-line placeholders); only the four child
   containers inside it switch from d-none to visible (track-workspace.js,
   applyStructureActionsVisibility()). This keeps the tree column below it
   stable, regardless of which level is selected. */
.orsi-structure-actions {
    margin: 0 0.5rem 0.6rem;
    min-height: 2.25rem;
}
.orsi-structure-actions__placeholder {
    padding: 0.4rem 0;
}

/* Module reordering (Dirk, 6 August, "next step"): two small arrow
   buttons at the end of a module row, independent of the row itself
   (which otherwise stays selectable/expandable/collapsible as before -
   see the stopPropagation script in Edit.cshtml). */
.orsi-reorder-form {
    gap: 0.15rem;
    margin-left: 0.4rem;
    flex-shrink: 0;
}
.orsi-reorder-form.is-visible {
    display: inline-flex;
}
.orsi-reorder-btn {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    line-height: 1;
    padding: 0;
    border: 1px solid var(--orsi-line);
    border-radius: 4px;
    background: var(--orsi-card);
    color: var(--orsi-muted);
    cursor: pointer;
}
.orsi-reorder-btn:hover:not(:disabled) {
    background: color-mix(in srgb, var(--orsi-blue) 12.000%, transparent);
    color: var(--orsi-blue);
}
.orsi-reorder-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
/* On an active (blue) row, the buttons must stay readable - the same
   "white on blue" adjustment as .orsi-badge-count above. */
.orsi-tree-node.is-active .orsi-reorder-btn {
    border-color: color-mix(in srgb, var(--orsi-card) 40.000%, transparent);
    color: color-mix(in srgb, var(--orsi-card) 85.000%, transparent);
}
.orsi-tree-node.is-active .orsi-reorder-btn:hover:not(:disabled) {
    background: color-mix(in srgb, var(--orsi-card) 18.000%, transparent);
    color: var(--orsi-card);
}
.orsi-type-chip {
    font-size: 0.65rem;
    color: var(--orsi-muted);
    background: var(--orsi-blue-050);
    border-radius: 4px;
    padding: 0.05rem 0.35rem;
}

.orsi-detail-pane {
    padding: 1.1rem 1.4rem 1.4rem;
    min-width: 0;
}
.orsi-crumbs {
    font-size: 0.78rem;
    color: var(--orsi-muted);
    margin-bottom: 0.5rem;
}
.orsi-crumb-link {
    color: var(--orsi-blue);
    text-decoration: none;
}
.orsi-crumb-sep {
    margin: 0 0.35rem;
}
.orsi-level-tag {
    display: inline-block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--orsi-weight-strong);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}
.orsi-level-tag--module { background: var(--orsi-blue-050); color: var(--orsi-blue); }
.orsi-level-tag--unit { background: var(--orsi-warning-bg); color: var(--orsi-orange-text); }
.orsi-level-tag--block { background: var(--orsi-success-bg); color: var(--orsi-success-fg); }
.orsi-detail-title {
    font-size: 1.1rem;
    margin: 0.1rem 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.orsi-detail-sub {
    font-size: 0.82rem;
    color: var(--orsi-muted);
    margin-bottom: 0.8rem;
}
.orsi-detail-note {
    font-size: 0.78rem;
    color: var(--orsi-muted);
    margin: 0.4rem 0 1rem;
}

.orsi-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
    margin-bottom: 0.5rem;
}
.orsi-field-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: var(--orsi-weight-emphasis);
    color: var(--orsi-muted);
    margin-bottom: 0.25rem;
}
.orsi-field-group input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--orsi-line);
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--orsi-disabled-bg);
    color: var(--orsi-muted);
}

/* "Lock until previous ... is complete" checkbox (Track/Module/Unit/Block,
   each with its own .lock-inline-label) - Bootstrap's default
   .form-check-input border (color-mix(in srgb, var(--orsi-ink) 25.000%, transparent)) is barely visible against
   the white card background when UNCHECKED (Dirk, feedback round, point
   3: "not enough contrast when unchecked"). Only the border is darkened -
   CHECKED (Bootstrap's own blue background color) stays unchanged, that
   contrast was already sufficient. */
.lock-inline .form-check-input {
    border-color: var(--orsi-muted);
}
.lock-inline .form-check-input:checked {
    border-color: var(--orsi-blue);
}

/* ---- Title/Subtitle per language (Track detail screen, point 3.6, 6
   August) — compact language-code tag + two text fields per row, the same
   grid width for the header as for each row so Title/Subtitle line up
   neatly. ---- */
.orsi-translations__header,
.orsi-translations__row {
    display: grid;
    grid-template-columns: 44px 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
}
.orsi-translations__header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orsi-muted);
    margin-bottom: 0.35rem;
}
.orsi-translations__row + .orsi-translations__row {
    margin-top: 0.5rem;
}
/* EN reference row (13 August 2026, Program's Languages tab, Dirk's
   request: "set EN as a reference to make translating easier") -
   read-only, lightly tinted so it's immediately clear this is the source,
   not another language to edit. No name attribute on the fields: nothing
   from this row is ever posted, it's purely a reference alongside the
   real, editable rows below it. */
.orsi-translations__row--reference {
    background: var(--orsi-surface);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}
.orsi-translations__row--reference .orsi-translations__lang-tag {
    background: var(--orsi-blue-050);
}
.orsi-translations__lang-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: var(--orsi-weight-strong);
    color: var(--orsi-muted);
    background: var(--orsi-surface);
    border: 1px solid var(--orsi-line);
    border-radius: 4px;
    padding: 0.3rem 0;
}
.orsi-child-panel-title {
    font-size: 0.82rem;
    font-weight: var(--orsi-weight-strong);
    color: var(--orsi-deep);
    margin: 0.6rem 0 0.5rem;
}
/* Child table column headers on the detail pane are deliberately NOT
   sortable (Dirk, 5 August: the SEQNR order is strictly fixed and may
   only be changed by the manager through an actual reordering action -
   freely clickable sorting would suggest a capability nobody actually has
   here). No more cursor:pointer/hover highlight/arrow, see
   track-workspace.js renderChildTable. */
.orsi-sortable-table th {
    font-size: 0.68rem;
    text-transform: uppercase;
}

/* "Copy" button next to "Detail" on Management -> Error log (Dirk, 6
   August - "shouldn't always have to select everything"). Same small,
   dimmed style as the "Detail" label next to it, no visual weight of its
   own until you need it. */
.orsi-errorlog-copy-btn {
    font-size: 0.72rem;
    text-decoration: none;
}
.orsi-errorlog-copy-btn:hover {
    text-decoration: underline;
}

/* Block tab strip (6 August, sixth round — Dirk's forwarded UI sketch
   proposal: Content/Items/Questions/History as tabs at the top of the
   Block detail pane). Simple, hand-written tabs (no Bootstrap tab
   component, see track-workspace.js) - .is-active toggles both the
   button and its associated panel. Each block gets its own
   .orsi-block-tabset (data-block-tabset), so multiple blocks can
   independently sit on a different tab. */
.orsi-block-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--orsi-line);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
/* Row wrapping .orsi-block-tabs + the per-entity Save/Cancel bar (Dirk,
   feedback round, point 1: "the save/cancel buttons next to the tabs ...
   so that they stay visible" - previously Save/Cancel only sat in the
   header of the Content tab panel, and so disappeared along with it
   whenever a different tab became active). The border/margin that used
   to sit on .orsi-block-tabs itself moves to this row, so tabs and button
   bar together sit on one line above the same border; .orsi-block-tabs
   loses that border/margin again when it's inside this row (rule below),
   but stays unchanged in places where this row isn't used (there aren't
   any left, but this keeps .orsi-block-tabs perfectly usable on its own
   too). */
.orsi-block-tabs-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    border-bottom: 1px solid var(--orsi-line);
    margin-bottom: 1rem;
}
.orsi-block-tabs-row .orsi-block-tabs {
    border-bottom: none;
    margin-bottom: 0;
}
.orsi-block-tabs-row .orsi-actionbar--compact {
    margin-bottom: 0.4rem;
}
.orsi-block-tab {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: var(--orsi-weight-emphasis);
    color: var(--orsi-muted);
    cursor: pointer;
}
.orsi-block-tab:hover {
    color: var(--orsi-ink);
}
.orsi-block-tab.is-active {
    color: var(--orsi-blue);
    border-bottom-color: var(--orsi-blue);
}
.orsi-block-tab-panel {
    display: none;
}
.orsi-block-tab-panel.is-active {
    display: block;
}

/* History tab (6 August, sixth round) — reads directly from
   adb.OD905_CHANGE_LOG, see EditModel.LoadBlockHistoryAsync. Compact
   list, not a table: each row is a short, unstructured sentence
   (who/what/when), not something that needs sorting/filtering like the
   child tables elsewhere. */
.orsi-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.orsi-history-list li {
    padding: 0.5rem 0;
    border-top: 1px solid var(--orsi-line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}
.orsi-history-list li:first-child {
    border-top: none;
}
.orsi-history-list__when {
    color: var(--orsi-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}
.orsi-history-list__who {
    font-weight: var(--orsi-weight-emphasis);
    white-space: nowrap;
}
.orsi-history-list__what {
    color: var(--orsi-ink);
}

/* Items/Questions/Answers CRUD (6 August, seventh round — "Items/
   Questions/Answers CRUD"). .orsi-translations's grid-template-columns is
   fixed at "44px 1fr 1fr" (lang tag + 2 data columns, for Block's
   Title/Eyebrow) - Item has a THIRD data column (Body), Question/Answer
   each have only ONE (Question resp. Answer). Two modifier classes
   instead of changing the existing base behavior (which would also
   affect Block's own Title/Eyebrow grid). */
.orsi-translations--1col {
    grid-template-columns: 44px 1fr;
}
.orsi-translations--3col {
    grid-template-columns: 44px 1fr 1fr 1fr;
}

/* Each Item/Question/Answer row on the Items/Questions tabs (Edit.cshtml)
   is its own .orsi-card, nested inside the tab panel card - slightly
   smaller padding than the outer cards, and the nested Answers list per
   Question gets a left border so the hierarchy (Question > Answers) is
   also visually clear without an extra heading per level. */
.orsi-block-tab-panel .orsi-card .orsi-card {
    background: var(--orsi-surface);
}
.orsi-answers-list {
    border-left: 2px dashed var(--orsi-line);
    padding-left: 0.75rem;
    margin-top: 0.75rem;
}

/* Landing page hero (7 August, later, "more like the DNN welcome screen")
   - same color palette (--orsi-deep/--orsi-blue) as the rest of the app,
   instead of the separate inline-CSS style of the DNN reference. Color is
   deliberately set directly ON each element, never just relying on
   inheritance - otherwise an <a>/<span> in the hero could inherit the
   global link color/body text color instead of staying white on the
   gradient. */
.orsi-welcome-hero {
    background: linear-gradient(120deg, var(--orsi-deep), var(--orsi-blue));
    color: var(--orsi-card);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
}
.orsi-welcome-hero h1,
.orsi-welcome-hero p,
.orsi-welcome-hero strong {
    color: var(--orsi-card) !important;
}
.orsi-welcome-hero__note {
    opacity: 0.85;
    font-size: 0.85rem;
}
.orsi-welcome-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}
.orsi-welcome-hero__stats strong {
    font-size: 1.1rem;
}
.orsi-welcome-hero__stat-sub {
    opacity: 0.8;
    font-weight: var(--orsi-weight-body);
}
.orsi-welcome-hero__error {
    margin-top: 0.75rem;
    background: color-mix(in srgb, var(--orsi-card) 15.000%, transparent);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--orsi-card) !important;
}

.orsi-welcome-tile {
    display: block;
    background: var(--orsi-card);
    border: 1px solid var(--orsi-line);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    text-decoration: none !important;
    color: var(--orsi-text, var(--orsi-ink)) !important;
    height: 100%;
}
.orsi-welcome-tile:hover {
    border-color: var(--orsi-blue);
}
.orsi-welcome-tile strong {
    color: var(--orsi-deep) !important;
    display: block;
    margin-bottom: 0.15rem;
}
.orsi-welcome-tile--accent {
    border-left: 4px solid var(--orsi-blue);
}

/* ================================================================
   Program workspace (Library → Programs, 10 August 2026 build) — Pages/
   Library/Programs/Edit.cshtml(.cs) + wwwroot/js/program-workspace.js.
   Deliberately built on the SAME classes as Track's own workspace wherever
   the shape matches (.orsi-card/.orsi-block-tabset/.orsi-block-tab*/
   .orsi-translations__*/.orsi-history-list*/.orsi-owner-change__form/
   .lock-inline/.orsi-reorder-btn/[data-scope-parent] — see Track's own CSS
   above for all of those) - only the two rules below have no existing
   equivalent, both purely cosmetic (neither is load-bearing for function).
   ================================================================ */
.orsi-program-track-role-select {
    min-width: 12rem;
}
.orsi-program-track-edit-btn.is-active {
    background: var(--orsi-blue);
    color: var(--orsi-card);
    border-color: var(--orsi-blue);
}

/* UI Foundation reference-gallery layer v94. */
/* ---- afscherming: alles hieronder geldt uitsluitend binnen .odi-bt ---- */
.odi-bt,.odi-bt *{box-sizing:border-box}
.odi-bt h1,.odi-bt h2,.odi-bt h3,.odi-bt h4,.odi-bt p,.odi-bt ul,.odi-bt ol,.odi-bt li,.odi-bt dl,.odi-bt dt,.odi-bt dd,
.odi-bt figure,.odi-bt figcaption,.odi-bt table,.odi-bt thead,.odi-bt tbody,.odi-bt tr,.odi-bt th,.odi-bt td,
.odi-bt aside,.odi-bt section,.odi-bt article,.odi-bt header,.odi-bt footer,.odi-bt div,.odi-bt span{
  margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;
  text-transform:none;letter-spacing:normal;text-align:left;list-style:none;
  float:none;position:static;box-shadow:none}
.odi-bt table{border-collapse:collapse;border-spacing:0;width:auto}
.odi-bt button{margin:0;padding:0;font:inherit;color:inherit;background:none;border:0;
  text-transform:none;box-shadow:none;-webkit-appearance:none;appearance:none;cursor:pointer}
.odi-bt a{text-decoration:none;color:inherit}
.odi-bt svg{display:inline-block;vertical-align:middle}
.odi-bt::before,.odi-bt::after,.odi-bt *::before,.odi-bt *::after{box-sizing:border-box}

/* ---- gallery ---- */
.odi-bt{
    
    
    
}.odi-bt{margin:0;font-family:Poppins,'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;background:var(--orsi-surface);color:var(--orsi-ink);line-height:1.55}.odi-bt .bt-wrap{max-width:1180px;margin:0 auto;padding:0 20px 80px}.odi-bt header.bt-top{background:linear-gradient(100deg,var(--orsi-deep),var(--orsi-blue));color:var(--orsi-card);padding:44px 0 38px;margin-bottom:0}.odi-bt header.bt-top .bt-wrap{padding-bottom:0}.odi-bt .bt-kicker{font-size:11.5px;font-weight:var(--orsi-weight-strong);letter-spacing:2px;text-transform:uppercase;opacity:.85;margin:0 0 8px}.odi-bt header.bt-top h1{margin:0 0 10px;font-size:32px;font-weight:var(--orsi-weight-strong);letter-spacing:-.4px}.odi-bt header.bt-top p{margin:0;max-width:70ch;opacity:.93;font-size:15px}.odi-bt .bt-statbar{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.odi-bt .bt-statbar div{background:color-mix(in srgb, var(--orsi-card) 14.000%, transparent);border:1px solid color-mix(in srgb, var(--orsi-card) 22.000%, transparent);border-radius:10px;padding:9px 14px;font-size:13px;font-weight:var(--orsi-weight-emphasis)}.odi-bt .bt-statbar b{font-size:17px;font-weight:var(--orsi-weight-strong);display:block;line-height:1.2}.odi-bt .bt-toolbar{position:sticky;top:0;z-index:20;background:color-mix(in srgb, var(--orsi-surface) 94.000%, transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--orsi-line);padding:12px 0;margin-bottom:26px}.odi-bt .bt-toolbar .bt-wrap{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding-bottom:0}.odi-bt .bt-fbtn{border:1px solid var(--orsi-line);background:var(--orsi-card);color:var(--orsi-ink);border-radius:999px;padding:6px 13px;font:var(--orsi-weight-emphasis) 12.5px Poppins,'Segoe UI',system-ui,sans-serif;cursor:pointer}.odi-bt .bt-fbtn:hover{border-color:var(--orsi-blue)}.odi-bt .bt-fbtn.bt-on{background:var(--orsi-deep);color:var(--orsi-card);border-color:var(--orsi-deep)}.odi-bt .bt-fbtn small{opacity:.65;font-weight:var(--orsi-weight-emphasis)}.odi-bt h2.bt-sec{font-size:13px;font-weight:var(--orsi-weight-strong);letter-spacing:1.6px;text-transform:uppercase;color:var(--orsi-muted);margin:38px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--orsi-line)}.odi-bt .bt-card{background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:14px;margin-bottom:16px;overflow:hidden;box-shadow:0 1px 2px color-mix(in srgb, var(--orsi-ink) 4.000%, transparent)}.odi-bt .bt-card__hd{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid var(--orsi-line);background:var(--orsi-card)}.odi-bt .bt-card__hd h3{margin:0;font-size:16.5px;font-weight:var(--orsi-weight-strong)}.odi-bt .bt-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:var(--orsi-blue-050);border:1px solid var(--orsi-line);border-radius:6px;padding:2px 7px;color:var(--orsi-deep)}.odi-bt .bt-st{font-size:10.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.9px;text-transform:uppercase;border-radius:999px;padding:3px 10px;margin-left:auto}.odi-bt .bt-st-ok{background:color-mix(in srgb, var(--orsi-green-600) 13.000%, transparent);color:var(--orsi-success-fg)}.odi-bt .bt-st-render{background:color-mix(in srgb, var(--orsi-blue) 13.000%, transparent);color:var(--orsi-blue-700)}.odi-bt .bt-st-nieuw{background:color-mix(in srgb, var(--orsi-action) 14.000%, transparent);color:var(--orsi-orange-text)}.odi-bt .bt-st-kolom{background:color-mix(in srgb, var(--orsi-deep) 13.000%, transparent);color:var(--orsi-deep)}.odi-bt .bt-st-schrap{background:var(--orsi-surface);color:var(--orsi-muted)}.odi-bt .bt-card__bd{display:grid;grid-template-columns:1.15fr .85fr;gap:0}@media(max-width:820px){.odi-bt .bt-card__bd{grid-template-columns:1fr}}.odi-bt .bt-demo{padding:22px 20px;border-right:1px solid var(--orsi-line)}@media(max-width:820px){.odi-bt .bt-demo{border-right:0;border-bottom:1px solid var(--orsi-line)}}.odi-bt .bt-spec{padding:22px 20px;background:var(--orsi-card);font-size:13px}.odi-bt .bt-spec dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:5px 12px}.odi-bt .bt-spec dt{font-weight:var(--orsi-weight-strong);color:var(--orsi-muted);font-size:11px;letter-spacing:.7px;text-transform:uppercase;padding-top:2px}.odi-bt .bt-spec dd{margin:0}.odi-bt .bt-spec .bt-why{margin:14px 0 0;padding:11px 13px;background:var(--orsi-card);border:1px solid var(--orsi-line);border-left:3px solid var(--orsi-orange);border-radius:0 8px 8px 0;font-size:12.5px;color:var(--orsi-ink-soft)}.odi-bt .bt-spec code{font-family:ui-monospace,Menlo,monospace;font-size:11.8px;background:var(--orsi-blue-050);padding:1px 5px;border-radius:4px}.odi-bt .bt-blk__eyebrow{font-size:11px;font-weight:var(--orsi-weight-strong);letter-spacing:1.7px;text-transform:uppercase;color:var(--orsi-blue);margin:0 0 5px}.odi-bt .bt-blk__title{font-size:19px;font-weight:var(--orsi-weight-strong);margin:0 0 9px;letter-spacing:-.2px}.odi-bt .bt-demo p{margin:0 0 9px;font-size:14px}.odi-bt .bt-demo p.bt-lede{font-size:15.5px;color:var(--orsi-ink-soft);font-weight:var(--orsi-weight-body)}.odi-bt .bt-demo p.bt-note{font-size:12.5px;color:var(--orsi-muted)}.odi-bt .bt-demo p.bt-q{font-weight:var(--orsi-weight-emphasis)}.odi-bt ul.bt-objectives{list-style:none;padding:0;margin:10px 0 0}.odi-bt ul.bt-objectives li{position:relative;padding:5px 0 5px 26px;font-size:13.6px;border-bottom:1px dashed var(--orsi-line)}.odi-bt ul.bt-objectives li:before{content:"";position:absolute;left:2px;top:12px;width:9px;height:9px;border-radius:50%;background:var(--orsi-blue)}.odi-bt .bt-char{display:flex;gap:13px;align-items:flex-start;background:var(--orsi-surface);border:1px solid var(--orsi-line);border-left:4px solid var(--orsi-blue);border-radius:0 12px 12px 0;padding:13px 15px;margin:12px 0 0}.odi-bt .bt-char--odi{border-left-color:var(--orsi-orange);background:var(--orsi-warning-bg)}.odi-bt .bt-char__ph{flex:0 0 54px;height:54px;border-radius:50%;background:linear-gradient(140deg,var(--orsi-deep),var(--orsi-blue));color:var(--orsi-card);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:9px;font-weight:var(--orsi-weight-strong);letter-spacing:.5px;text-align:center;line-height:1.15}.odi-bt .bt-char--odi .bt-char__ph{background:linear-gradient(140deg,var(--orsi-orange),var(--orsi-action))}.odi-bt .bt-char__eb{font-size:10px;font-weight:var(--orsi-weight-strong);letter-spacing:1.4px;text-transform:uppercase;color:var(--orsi-deep);margin:0 0 3px}.odi-bt .bt-char--odi .bt-char__eb{color:var(--orsi-orange-text)}.odi-bt .bt-char p{font-size:13.4px;margin:0}.odi-bt .bt-mdef__r{display:flex;gap:12px;padding:7px 0;border-bottom:1px dashed var(--orsi-line);font-size:13.4px}.odi-bt .bt-mdef__t{flex:0 0 118px;font-weight:var(--orsi-weight-strong);color:var(--orsi-deep)}.odi-bt .bt-band{display:flex;align-items:center;gap:12px;background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:12px;padding:11px 14px;margin:8px 0}.odi-bt .bt-band .bt-num{flex:0 0 30px;height:30px;border-radius:50%;background:var(--orsi-deep);color:var(--orsi-card);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:14px}.odi-bt .bt-band .bt-t{font-weight:var(--orsi-weight-strong);font-size:14px}.odi-bt .bt-band .bt-m{font-size:11.5px;color:var(--orsi-muted);margin-left:auto;text-align:right;max-width:46%}.odi-bt .bt-stat-hero{background:linear-gradient(120deg,var(--orsi-deep),var(--orsi-blue));color:var(--orsi-card);border-radius:14px;padding:20px 22px;display:flex;gap:18px;align-items:center;margin-top:10px}.odi-bt .bt-stat-hero .bt-big{font-size:40px;font-weight:var(--orsi-weight-strong);line-height:1;letter-spacing:-1.5px}.odi-bt .bt-stat-hero .bt-lab{font-size:13.4px;opacity:.95}.odi-bt .bt-struct__r{display:flex;gap:11px;align-items:flex-start;padding:7px 0 7px 0;font-size:13.3px}.odi-bt .bt-struct__r--1{padding-left:20px}.odi-bt .bt-struct__r--2{padding-left:40px}.odi-bt .bt-struct__r--3{padding-left:60px}.odi-bt .bt-struct__k{flex:0 0 62px;font-size:9.5px;font-weight:var(--orsi-weight-strong);letter-spacing:1.1px;text-transform:uppercase;color:var(--orsi-card);background:var(--orsi-deep);border-radius:5px;padding:3px 0;text-align:center;margin-top:2px}.odi-bt .bt-struct__r--3 .bt-struct__k{background:var(--orsi-orange)}.odi-bt .bt-struct__c b{display:block}.odi-bt .bt-struct__c span{color:var(--orsi-muted);font-size:12.4px}.odi-bt ol.bt-steps{margin:10px 0 0;padding-left:0;counter-reset:s;list-style:none}.odi-bt ol.bt-steps li{counter-increment:s;position:relative;padding:7px 0 7px 36px;font-size:13.5px;border-bottom:1px dashed var(--orsi-line)}.odi-bt ol.bt-steps li:before{content:counter(s);position:absolute;left:0;top:7px;width:24px;height:24px;border-radius:50%;background:var(--orsi-blue-050);color:var(--orsi-deep);font-weight:var(--orsi-weight-strong);font-size:12px;display:flex;align-items:center;justify-content:center}.odi-bt ul.bt-tkl{list-style:none;padding:0;margin:10px 0 0}.odi-bt ul.bt-tkl li{display:flex;gap:11px;padding:8px 0;border-bottom:1px dashed var(--orsi-line);font-size:13.4px}.odi-bt ul.bt-tkl .bt-tkl__ic{flex:0 0 20px;height:20px;border-radius:50%;background:color-mix(in srgb, var(--orsi-green-600) 14.000%, transparent);color:var(--orsi-success-fg);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:12px;margin-top:2px}.odi-bt ul.bt-tkl b{display:block}.odi-bt ul.bt-tkl .bt-tkl__tx{color:var(--orsi-muted);font-size:12.6px}.odi-bt .bt-tips .bt-tip{display:flex;gap:11px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--orsi-line);font-size:13.4px}.odi-bt .bt-tips .bt-n{flex:0 0 24px;height:24px;border-radius:50%;background:var(--orsi-blue);color:var(--orsi-card);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:12px}.odi-bt .bt-rev__i{border:1px solid var(--orsi-line);border-radius:10px;margin:8px 0;overflow:hidden}.odi-bt .bt-rev__q{width:100%;text-align:left;background:var(--orsi-card);border:0;padding:11px 14px;font:var(--orsi-weight-emphasis) 13.5px Poppins,'Segoe UI',system-ui,sans-serif;color:var(--orsi-ink);cursor:pointer;display:flex;justify-content:space-between;gap:10px}.odi-bt .bt-rev__q:after{content:"+";color:var(--orsi-blue);font-weight:var(--orsi-weight-strong)}.odi-bt .bt-rev__i.bt-on .bt-rev__q:after{content:"–"}.odi-bt .bt-rev__a{display:none;padding:11px 14px;font-size:13.3px;border-top:1px solid var(--orsi-line)}.odi-bt .bt-rev__i.bt-on .bt-rev__a{display:block}.odi-bt .bt-car{border:1px solid var(--orsi-line);border-radius:12px;padding:15px;margin-top:10px;background:var(--orsi-card)}.odi-bt .bt-car__n{font-size:11px;font-weight:var(--orsi-weight-strong);letter-spacing:1.2px;text-transform:uppercase;color:var(--orsi-muted)}.odi-bt .bt-car__step{display:flex;gap:13px;align-items:flex-start;margin:9px 0}.odi-bt .bt-car__num{flex:0 0 34px;height:34px;border-radius:50%;background:var(--orsi-deep);color:var(--orsi-card);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong)}.odi-bt .bt-car__t{font-weight:var(--orsi-weight-strong);font-size:14px}.odi-bt .bt-car__d{font-size:13.2px;color:var(--orsi-ink-soft)}.odi-bt .bt-car__ctrl{display:flex;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid var(--orsi-line);padding-top:10px}.odi-bt .bt-cbtn{border:1px solid var(--orsi-line);background:var(--orsi-card);border-radius:8px;padding:5px 12px;font:var(--orsi-weight-emphasis) 12.5px Poppins,'Segoe UI',system-ui,sans-serif;cursor:pointer;color:var(--orsi-deep)}.odi-bt .bt-cbtn[disabled]{opacity:.4;cursor:default}.odi-bt .bt-car__dot{width:7px;height:7px;border-radius:50%;background:var(--orsi-line);display:inline-block;margin:0 2px}.odi-bt .bt-car__dot.bt-on{background:var(--orsi-blue)}.odi-bt .bt-opts{margin:9px 0 0}.odi-bt .bt-opt{display:flex;gap:11px;width:100%;text-align:left;background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:10px;padding:10px 13px;margin-bottom:7px;font:var(--orsi-weight-body) 13.4px Poppins,'Segoe UI',system-ui,sans-serif;color:var(--orsi-ink);cursor:pointer}.odi-bt .bt-opt:hover{border-color:var(--orsi-blue)}.odi-bt .bt-opt .bt-k{flex:0 0 22px;height:22px;border-radius:6px;background:var(--orsi-blue-050);color:var(--orsi-deep);font-weight:var(--orsi-weight-strong);font-size:11.5px;display:flex;align-items:center;justify-content:center}.odi-bt .bt-opt.bt-good{border-color:var(--orsi-success-fg);background:color-mix(in srgb, var(--orsi-green-600) 7.000%, transparent)}.odi-bt .bt-opt.bt-bad{border-color:var(--orsi-orange);background:color-mix(in srgb, var(--orsi-action) 7.000%, transparent)}.odi-bt .bt-fb{display:none;margin-top:8px;padding:11px 13px;border-radius:10px;font-size:13.2px;background:var(--orsi-surface);border:1px solid var(--orsi-line);border-left:3px solid var(--orsi-blue)}.odi-bt .bt-fb.bt-on{display:block}.odi-bt .bt-kcc__head{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:var(--orsi-weight-strong);letter-spacing:1.2px;text-transform:uppercase;color:var(--orsi-muted);margin-bottom:8px}.odi-bt .bt-kcdot{width:7px;height:7px;border-radius:50%;background:var(--orsi-line);display:inline-block;margin-left:4px}.odi-bt .bt-kcdot.bt-on{background:var(--orsi-blue)}.odi-bt .bt-ord__pool{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.odi-bt .bt-oc{border:1px solid var(--orsi-line);background:var(--orsi-card);border-radius:999px;padding:6px 13px;font:var(--orsi-weight-emphasis) 12.6px Poppins,'Segoe UI',system-ui,sans-serif;cursor:pointer;color:var(--orsi-ink)}.odi-bt .bt-oc .bt-seq{display:none}.odi-bt .bt-oc.bt-on{background:var(--orsi-deep);color:var(--orsi-card);border-color:var(--orsi-deep)}.odi-bt .bt-oc.bt-on .bt-seq{display:inline;font-weight:var(--orsi-weight-strong);margin-right:6px;opacity:.75}.odi-bt table.bt-mx{width:100%;border-collapse:collapse;margin-top:9px;font-size:13px}.odi-bt table.bt-mx th{background:var(--orsi-blue-050);color:var(--orsi-deep);font-size:11px;letter-spacing:.8px;text-transform:uppercase;padding:7px 9px;text-align:left;border:1px solid var(--orsi-line)}.odi-bt table.bt-mx td{padding:7px 9px;border:1px solid var(--orsi-line)}.odi-bt .bt-g--ok{color:var(--orsi-success-fg);font-weight:var(--orsi-weight-strong)}.odi-bt .bt-g--bad{color:var(--orsi-orange);font-weight:var(--orsi-weight-strong)}.odi-bt .bt-panel{background:var(--orsi-surface);border:1px solid var(--orsi-line);border-radius:12px;padding:14px 16px;margin-top:8px}.odi-bt .bt-panel--dbrief{background:var(--orsi-warning-bg);border-left:4px solid var(--orsi-orange);border-radius:0 12px 12px 0}.odi-bt .bt-vstage{border:1px solid var(--orsi-line);border-radius:12px;overflow:hidden;margin-top:9px;background:var(--orsi-ink);color:var(--orsi-card);aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.odi-bt .bt-pbtn{width:52px;height:52px;border-radius:50%;background:color-mix(in srgb, var(--orsi-card) 16.000%, transparent);display:flex;align-items:center;justify-content:center}.odi-bt .bt-pbtn svg{width:20px;height:20px;fill:var(--orsi-card);margin-left:3px}.odi-bt .bt-vstage .bt-t{font-size:13px;font-weight:var(--orsi-weight-emphasis)}.odi-bt .bt-vstage .bt-h{font-size:11.5px;opacity:.7}.odi-bt .bt-vgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:9px}.odi-bt .bt-vcard{border:1px solid var(--orsi-line);border-radius:10px;overflow:hidden}.odi-bt .bt-video-slot{background:var(--orsi-ink);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center}.odi-bt .bt-vtabs{display:flex;gap:4px;padding:6px 8px 0;background:var(--orsi-card);border-bottom:1px solid var(--orsi-line)}.odi-bt .bt-vtab{border:1px solid var(--orsi-line);border-bottom:0;background:var(--orsi-card);border-radius:7px 7px 0 0;padding:4px 10px;font:var(--orsi-weight-emphasis) 11.5px Poppins,'Segoe UI',system-ui,sans-serif;color:var(--orsi-muted);cursor:pointer}.odi-bt .bt-vtab.bt-on{background:var(--orsi-deep);color:var(--orsi-card);border-color:var(--orsi-deep)}.odi-bt .bt-vlabel{padding:8px 10px;font-size:12.4px;font-weight:var(--orsi-weight-emphasis)}.odi-bt .bt-vq{padding:0 10px 9px;font-size:11.8px;color:var(--orsi-muted)}.odi-bt figure.bt-fig{margin:9px 0 0;border:1px solid var(--orsi-line);border-radius:12px;overflow:hidden;background:var(--orsi-card)}.odi-bt figure.bt-fig .bt-ph{aspect-ratio:16/9;background:repeating-linear-gradient(45deg,var(--orsi-blue-050),var(--orsi-blue-050) 12px,var(--orsi-info-bg) 12px,var(--orsi-info-bg) 24px);display:flex;align-items:center;justify-content:center;color:var(--orsi-muted);font-size:12px;font-weight:var(--orsi-weight-emphasis)}.odi-bt figure.bt-fig figcaption{padding:9px 12px;font-size:12.4px;color:var(--orsi-muted)}.odi-bt .bt-hand{background:var(--orsi-card);border:1px dashed var(--orsi-blue);border-radius:12px;padding:14px 16px;margin-top:9px;display:flex;gap:12px;align-items:center;font-size:13.2px}.odi-bt .bt-hand__b{margin-left:auto;background:var(--orsi-blue);color:var(--orsi-card);border:0;border-radius:8px;padding:7px 14px;font:var(--orsi-weight-strong) 12.5px Poppins,'Segoe UI',system-ui,sans-serif;cursor:pointer}.odi-bt table.bt-cmp{width:100%;border-collapse:collapse;margin-top:9px;font-size:13px}.odi-bt table.bt-cmp th,.odi-bt table.bt-cmp td{border:1px solid var(--orsi-line);padding:7px 10px;text-align:left}.odi-bt table.bt-cmp th{background:var(--orsi-blue-050);font-size:11.5px;letter-spacing:.6px;text-transform:uppercase;color:var(--orsi-deep)}.odi-bt .bt-tb{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.odi-bt .bt-tb span{border:1px solid var(--orsi-line);background:var(--orsi-card);border-radius:7px;padding:4px 9px;font-size:11.8px;font-weight:var(--orsi-weight-emphasis)}.odi-bt .bt-tb span.bt-no{background:var(--orsi-disabled-bg);color:var(--orsi-disabled-ink);text-decoration:line-through;border-style:dashed}.odi-bt footer.bt-bot{margin-top:44px;padding-top:20px;border-top:1px solid var(--orsi-line);font-size:12.5px;color:var(--orsi-muted)}.odi-bt .bt-scn{border:1px solid var(--orsi-line);border-radius:12px;overflow:hidden;margin-top:9px;background:var(--orsi-card)}.odi-bt .bt-scn__hd{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--orsi-blue-050);font-size:11px;font-weight:var(--orsi-weight-strong);letter-spacing:1.1px;text-transform:uppercase;color:var(--orsi-deep)}.odi-bt .bt-scn__v{background:var(--orsi-ink);aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--orsi-card)}.odi-bt .bt-scn__v .bt-t{font-size:12.5px;font-weight:var(--orsi-weight-emphasis)}.odi-bt .bt-scn__v .bt-h{font-size:11px;opacity:.65}.odi-bt .bt-scn__q{padding:12px}.odi-bt .bt-scn__hl{display:none;margin-top:9px;padding:10px 12px;border:1px dashed var(--orsi-orange);border-radius:9px;font-size:12.6px;background:var(--orsi-warning-bg);align-items:center;gap:10px}.odi-bt .bt-scn__hl.bt-on{display:flex}.odi-bt .bt-scn__hl b{color:var(--orsi-orange-text)}.odi-bt .bt-scn__hlb{margin-left:auto;background:var(--orsi-orange);color:var(--orsi-card);border:0;border-radius:7px;padding:6px 12px;font:var(--orsi-weight-strong) 12px Poppins,'Segoe UI',system-ui,sans-serif;cursor:pointer}.odi-bt .bt-cust{border:2px dashed var(--orsi-orange);border-radius:12px;overflow:hidden;background:var(--orsi-card)}.odi-bt .bt-cust__hd{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--orsi-warning-bg);font-size:11.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.6px;text-transform:uppercase;color:var(--orsi-orange-text)}.odi-bt .bt-cust__ic{font-size:14px}.odi-bt .bt-cust__role{margin-left:auto;font-size:10.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.4px;color:var(--orsi-muted);text-transform:none}.odi-bt .bt-cust__frame{padding:12px}.odi-bt .bt-cust__demo{border:1px solid var(--orsi-line);border-radius:9px;background:repeating-linear-gradient(45deg,var(--orsi-card),var(--orsi-card) 10px,var(--orsi-card) 10px,var(--orsi-card) 20px);padding:26px 12px;text-align:center;font-size:12.8px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-muted)}.odi-bt .bt-cust__rules{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.odi-bt .bt-cust__r{font-size:11px;font-weight:var(--orsi-weight-strong);background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:999px;padding:4px 10px;color:var(--orsi-deep)}.odi-bt .bt-hidden{display:none!important}


/* ============================================================
   Orsi TTT - shared stylesheet
   One source for all units, the overview, and the placeholders.
   Everything is scoped per unit (.orsi-a1 ... .orsi-c2, .orsi-ov, .orsi-bm),
   so rules from other pages are inert.
   Replaces the 7 identical inline copies + orsi-custom-complete-SAFE.css
   ============================================================ */
:root{
  




}
body,
.Normal{
font-family:'Poppins','Trebuchet MS',system-ui,sans-serif;
color:var(--orsi-ink);
}
a{
color:var(--orsi-blue);
}
/* ============================================================
   Orsi e-learning - course-page custom CSS  (SELF-CONTAINED)
   Prefixed .orsi-* so it never collides with the OxP/Porto theme.
   Built on YOUR existing tokens - no new colors invented:
     --orsi-blue var(--orsi-blue) - --orsi-deep var(--orsi-deep) - --orsi-orange var(--orsi-action)
     --orsi-ink var(--orsi-ink)  - --orsi-surface var(--orsi-surface)
   ============================================================ */
[class^="orsi-"],[class*=" orsi-"],[class^="orsi-"] *,[class*=" orsi-"] *{box-sizing:border-box}
.orsi-banner{background:color-mix(in srgb,var(--orsi-blue) 8%,var(--orsi-card));padding:24px 0 22px;text-align:center}
.orsi-banner__specialty{font-size:11px;font-weight:var(--orsi-weight-emphasis);letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb,var(--orsi-deep) 55%,var(--orsi-card));margin-bottom:5px}
.orsi-banner__title{font-family:'Poppins',sans-serif;font-size:24px;font-weight:var(--orsi-weight-strong);color:var(--orsi-deep);margin:0 0 14px;letter-spacing:-.3px}
.orsi-banner__badges{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
.orsi-badge{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:var(--orsi-weight-body);padding:5px 14px;border-radius:20px;background:var(--orsi-card);color:var(--orsi-blue);border:1px solid color-mix(in srgb,var(--orsi-blue) 35%,var(--orsi-card))}
.orsi-badge--strong{font-size:13px;font-weight:var(--orsi-weight-strong);color:var(--orsi-deep);border:2px solid var(--orsi-blue)}
.orsi-banner__sep{color:color-mix(in srgb,var(--orsi-deep) 45%,var(--orsi-card));font-size:14px}
.orsi-split{display:flex;flex-wrap:wrap}
.orsi-split__media,.orsi-split__body{flex:1 1 50%;min-height:440px}
.orsi-split__media{background-size:cover;background-position:center 30%}
.orsi-split__body{display:flex;flex-direction:column;justify-content:center;padding:46px 50px}
.orsi-split__body p{font-size:15px;line-height:1.7;color:var(--orsi-ink-soft);margin:0 0 16px}
.orsi-step-module{font-family:'Poppins',sans-serif;font-size:11.5px;font-weight:var(--orsi-weight-emphasis);letter-spacing:.04em;text-transform:uppercase;color:var(--orsi-disabled-ink);margin-bottom:9px}
.orsi-step-eyebrow{display:block;font:var(--orsi-weight-strong) 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--orsi-blue);margin-bottom:9px}
.orsi-step-title{font-family:'Poppins',sans-serif;font-size:24px;font-weight:var(--orsi-weight-strong);color:var(--orsi-deep);line-height:1.2;margin:0 0 14px}
.orsi-pathways{display:flex;flex-direction:column;gap:14px;margin:6px 0 26px}
.orsi-pathway{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:7px;border:1px solid var(--orsi-line);background:var(--orsi-surface)}
.orsi-pathway__num{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:14px;color:var(--orsi-card)}
.orsi-pathway--f .orsi-pathway__num{background:var(--orsi-blue)}
.orsi-pathway--p .orsi-pathway__num{background:var(--orsi-deep)}
.orsi-pathway b{display:block;color:var(--orsi-ink);font-size:14px;margin-bottom:1px}
.orsi-pathway > div span{font-size:13px;color:var(--orsi-muted);line-height:1.5}
.orsi-btn,.orsi-btn:link,.orsi-btn:visited,.orsi-btn:hover,.orsi-btn:focus{display:inline-block;align-self:flex-start;background:var(--orsi-blue);color:var(--orsi-card) !important;font-family:'Poppins',sans-serif;font-weight:var(--orsi-weight-emphasis);font-size:13px;letter-spacing:.05em;text-transform:uppercase;padding:13px 30px;border-radius:5px;text-decoration:none;white-space:nowrap;transition:.15s}
.orsi-btn:hover{background:color-mix(in srgb,var(--orsi-blue) 86%,var(--orsi-ink))}
.orsi-ul{list-style:none;margin:0 0 6px;padding:0}
.orsi-ul li{position:relative;padding:6px 0 6px 22px;font-size:14px;color:var(--orsi-ink-soft);line-height:1.55}
.orsi-ul li::before{content:"";position:absolute;left:3px;top:11px;width:6px;height:6px;border-right:2px solid var(--orsi-blue);border-top:2px solid var(--orsi-blue);transform:rotate(45deg)}
.orsi-arch{max-width:1170px;margin:0 auto;padding:10px 15px 40px}
.orsi-layer{margin-bottom:34px}
.orsi-layer__head{display:flex;align-items:center;gap:14px;padding:13px 20px;border-radius:7px;color:var(--orsi-card);flex-wrap:wrap}
.orsi-layer--f .orsi-layer__head{background:var(--orsi-ink)}
.orsi-layer--p .orsi-layer__head{background:var(--orsi-deep)}
.orsi-layer__badge{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:color-mix(in srgb, var(--orsi-card) 16.000%, transparent);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:15px}
.orsi-layer__title{font-family:'Poppins',sans-serif;font-weight:var(--orsi-weight-strong);letter-spacing:.05em;text-transform:uppercase;font-size:15px}
.orsi-layer__meta{margin-left:auto;font-size:11.5px;font-weight:var(--orsi-weight-emphasis);letter-spacing:.03em;color:color-mix(in srgb, var(--orsi-card) 72.000%, transparent);text-align:right}
.orsi-modgrid{display:grid;gap:16px;margin-top:16px;grid-template-columns:repeat(3,1fr)}
.orsi-modgrid--4{grid-template-columns:repeat(4,1fr)}
.orsi-modcard{border:1px solid var(--orsi-line);border-radius:8px;background:var(--orsi-card);overflow:hidden;display:flex;flex-direction:column}
.orsi-modcard__head{padding:13px 15px;border-bottom:1px solid var(--orsi-blue-050)}
.orsi-layer--f .orsi-modcard__head{background:color-mix(in srgb,var(--orsi-blue) 8%,var(--orsi-card))}
.orsi-layer--p .orsi-modcard__head{background:color-mix(in srgb,var(--orsi-deep) 8%,var(--orsi-card))}
.orsi-modcard__chip{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.orsi-layer--f .orsi-modcard__chip{color:var(--orsi-blue)}
.orsi-layer--p .orsi-modcard__chip{color:var(--orsi-deep)}
.orsi-modcard__chip i{width:22px;height:22px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;color:var(--orsi-card)}
.orsi-layer--f .orsi-modcard__chip i{background:var(--orsi-blue)}
.orsi-layer--p .orsi-modcard__chip i{background:var(--orsi-deep)}
.orsi-modcard__title{font-family:'Poppins',sans-serif;font-size:14px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-ink);line-height:1.3}
.orsi-modcard__sub{font-size:11.5px;color:var(--orsi-disabled-ink);margin-top:3px}
.orsi-steps{list-style:none;margin:0;padding:8px 6px;display:flex;flex-direction:column;flex:1}
.orsi-step{display:flex;gap:9px;align-items:baseline;padding:7px 9px;border-radius:5px}
.orsi-step:hover{background:var(--orsi-disabled-bg)}
.orsi-step__code{flex:0 0 auto;font:var(--orsi-weight-strong) 11px/1 ui-monospace,Menlo,monospace;color:var(--orsi-card);padding:4px 6px;border-radius:4px;min-width:30px;text-align:center}
.orsi-layer--f .orsi-step__code{background:color-mix(in srgb,var(--orsi-blue) 78%,var(--orsi-card))}
.orsi-layer--p .orsi-step__code{background:color-mix(in srgb,var(--orsi-deep) 72%,var(--orsi-card))}
.orsi-step__txt{flex:1}
.orsi-step__txt b{display:block;font-size:13px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-ink);line-height:1.35}
.orsi-step__txt span{font-size:11.5px;color:var(--orsi-disabled-ink)}
.orsi-step__tag{display:inline-block;margin-top:3px;font-size:9.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.05em;text-transform:uppercase;color:var(--orsi-orange);background:color-mix(in srgb,var(--orsi-orange) 12%,var(--orsi-card));padding:1px 6px;border-radius:3px}
.orsi-arch__note{font-size:12.5px;color:var(--orsi-disabled-ink);line-height:1.6;border-left:3px solid var(--orsi-line);padding:2px 0 2px 14px;margin-top:6px}
.orsi-info{max-width:1170px;margin:26px auto;padding:0 15px;display:flex;gap:28px;align-items:flex-start}
.orsi-info__aside{flex:0 0 190px;display:flex;flex-direction:column;gap:12px}
.orsi-info__icon{width:46px;height:46px;border-radius:50%;background:color-mix(in srgb,var(--orsi-blue) 12%,var(--orsi-card));display:flex;align-items:center;justify-content:center}
.orsi-info__icon svg{width:24px;height:24px;fill:none;stroke:var(--orsi-blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.orsi-info__main{flex:1;min-width:0;padding-top:2px}
.orsi-info--right{flex-direction:row-reverse}
.orsi-info--right .orsi-info__aside{align-items:flex-end}
.orsi-info--right .orsi-info__title{text-align:right}
.orsi-docblock{display:flex;gap:28px;align-items:flex-start;background:var(--orsi-surface);border:1px solid var(--orsi-line);border-radius:8px;padding:22px 26px;margin-top:2px}
.orsi-tips{max-width:1170px;margin:26px auto;padding:24px 26px;background:color-mix(in srgb,var(--orsi-blue) 6%,var(--orsi-card));border:1px solid color-mix(in srgb,var(--orsi-blue) 18%,var(--orsi-card));border-radius:10px}
.orsi-tips__head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.orsi-tips__icon{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--orsi-blue);display:flex;align-items:center;justify-content:center}
.orsi-tips__icon svg{width:22px;height:22px;fill:none;stroke:var(--orsi-card);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.orsi-tips__title{font-family:'Poppins',sans-serif;font-size:15px;font-weight:var(--orsi-weight-strong);color:var(--orsi-ink);text-transform:uppercase;letter-spacing:.04em}
.orsi-tips__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 30px}
.orsi-tip{display:flex;gap:12px;align-items:flex-start}
.orsi-tip__n{flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--orsi-card);border:1.5px solid color-mix(in srgb,var(--orsi-blue) 32%,var(--orsi-card));color:var(--orsi-blue);font:var(--orsi-weight-strong) 12px/1 'Poppins',sans-serif;display:flex;align-items:center;justify-content:center}
.orsi-tip__txt{font-size:14px;color:var(--orsi-ink-soft);line-height:1.5;padding-top:4px}
@media(max-width:768px){.orsi-tips__grid{grid-template-columns:1fr}}
@media(max-width:768px){.orsi-info,.orsi-info--right,.orsi-docblock{flex-direction:column;gap:14px}.orsi-info__aside{flex-direction:row;align-items:center;flex-basis:auto}}
.orsi-info__title{font-family:'Poppins',sans-serif;font-size:14px;font-weight:var(--orsi-weight-strong);text-transform:uppercase;letter-spacing:.05em;color:var(--orsi-ink);margin:0}
.orsi-doc{list-style:none;margin:0;padding:0}
.orsi-doc li{padding:6px 0;font-size:14px;color:var(--orsi-ink-soft);line-height:1.55;border-bottom:1px solid var(--orsi-blue-050)}
.orsi-doc li:last-child{border-bottom:none}
.orsi-doc strong{color:var(--orsi-ink)}
.orsi-band{background:var(--orsi-blue);color:var(--orsi-card);text-align:center;padding:48px 24px;margin-top:8px}
.orsi-band p{max-width:880px;margin:0 auto 14px;color:var(--orsi-blue-050);font-size:15px;line-height:1.7}
.orsi-band p:last-child{margin-bottom:0}
.orsi-band strong{color:var(--orsi-card);font-weight:var(--orsi-weight-emphasis)}
.orsi-crumb{max-width:1170px;margin:0 auto;padding:16px 15px 0;font-size:12.5px;color:var(--orsi-disabled-ink);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.orsi-crumb a{color:var(--orsi-blue);font-weight:var(--orsi-weight-emphasis);text-decoration:none}
.orsi-crumb a:hover{text-decoration:underline}
.orsi-crumb i{font-style:normal;color:var(--orsi-progress-todo)}
.orsi-stepnav{display:flex;flex-wrap:wrap;gap:8px;max-width:1170px;margin:0 auto;padding:22px 15px}
.orsi-stepnav__item{flex:1 1 0;min-width:120px;border:1px solid var(--orsi-line);border-radius:7px;padding:11px 13px;text-decoration:none;background:var(--orsi-card)}
.orsi-stepnav__item--active{border-color:var(--orsi-blue);background:color-mix(in srgb,var(--orsi-blue) 8%,var(--orsi-card))}
.orsi-stepnav__code{font:var(--orsi-weight-strong) 11px ui-monospace,Menlo,monospace;color:var(--orsi-blue)}
.orsi-stepnav__name{display:block;font-size:13px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-ink);margin-top:3px}
.orsi-pager{display:flex;justify-content:space-between;gap:12px;max-width:1170px;margin:0 auto;padding:0 15px 10px}
.orsi-pager a{text-decoration:none;font-size:13px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-blue)}
.orsi-pager a.is-disabled{color:var(--orsi-line-strong);pointer-events:none}
@media(max-width:991px){.orsi-modgrid,.orsi-modgrid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.orsi-split__media,.orsi-split__body{flex:1 1 100%;min-height:300px}.orsi-split__body{padding:34px 28px}}
@media(max-width:600px){.orsi-modgrid,.orsi-modgrid--4{grid-template-columns:1fr}}
.orsi-track{max-width:1170px;margin:26px auto 2px;padding:0 15px}
.orsi-track__head{font:var(--orsi-weight-strong) 12px/1 'Poppins',sans-serif;text-transform:uppercase;letter-spacing:.08em;color:var(--orsi-blue);margin:0 0 14px}
.orsi-track__bars{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.orsi-progress__top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.orsi-progress__label{font-size:12px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-ink)}
.orsi-progress__val{font-size:12px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-disabled-ink)}
.orsi-progress__track{height:8px;border-radius:99px;background:var(--orsi-info-bg);overflow:hidden}
.orsi-progress__fill{height:100%;border-radius:99px;background:var(--orsi-blue)}
.orsi-progress--deep .orsi-progress__fill{background:var(--orsi-deep)}
.orsi-legend{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px}
.orsi-legend span{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--orsi-muted)}
.orsi-legend img{width:20px;height:20px;object-fit:contain}
.orsi-modcard__chip{display:flex;width:100%}
.orsi-modcard__count{margin-left:auto;font-size:11px;font-weight:var(--orsi-weight-strong);color:var(--orsi-disabled-ink)}
.orsi-modcard__badge{width:18px;height:18px;object-fit:contain;margin-left:6px}
.orsi-step__status{width:18px;height:18px;flex:0 0 18px;margin-left:8px;object-fit:contain;align-self:center}
.orsi-modprogress{max-width:1170px;margin:0 auto;padding:18px 15px 24px}
@media(max-width:600px){.orsi-track__bars{grid-template-columns:1fr}}
.orsi-path{max-width:1170px;margin:28px auto 8px;padding:0 15px}
.orsi-path__hero{display:flex;align-items:center;gap:20px;margin-bottom:22px;flex-wrap:wrap}
.orsi-ring{--p:26;width:66px;height:66px;border-radius:50%;flex:0 0 66px;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--orsi-blue) calc(var(--p)*1%),var(--orsi-info-bg) 0)}
.orsi-ring span{width:52px;height:52px;border-radius:50%;background:var(--orsi-card);display:flex;align-items:center;justify-content:center;font:var(--orsi-weight-strong) 15px 'Poppins',sans-serif;color:var(--orsi-ink)}
.orsi-path__lead{min-width:0}
.orsi-path__eyebrow{font:var(--orsi-weight-strong) 11px/1 'Poppins',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--orsi-blue);margin-bottom:6px}
.orsi-path__title{font-family:'Poppins',sans-serif;font-size:18px;font-weight:var(--orsi-weight-strong);color:var(--orsi-ink);line-height:1.2}
.orsi-path__next{font-size:13px;color:var(--orsi-muted);margin-top:4px}
.orsi-path__next b{color:var(--orsi-blue)}
.orsi-path__legend{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.orsi-path__legend span{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;color:var(--orsi-muted)}
.orsi-path__legend img{width:17px;height:17px;object-fit:contain}
.orsi-layerblock{margin-bottom:18px}
.orsi-stepper{display:flex;margin-top:14px;gap:2px}
.orsi-station{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;padding:0 6px;text-decoration:none}
.orsi-station::after{content:"";position:absolute;top:20px;left:50%;width:100%;height:3px;background:var(--orsi-line);z-index:0;border-radius:99px}
.orsi-station:last-child::after{display:none}
.orsi-station--doneline::after{background:var(--orsi-green)}
.orsi-st-c{position:relative;z-index:1;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:var(--orsi-weight-strong) 15px 'Poppins',sans-serif;background:var(--orsi-card);border:2px solid var(--orsi-line);color:var(--orsi-disabled-ink);transition:.15s}
.orsi-st-c img{width:23px;height:23px;object-fit:contain}
.orsi-st-c svg{width:16px;height:16px}
.orsi-st-c--done{background:var(--orsi-green);border-color:var(--orsi-green);color:var(--orsi-card)}
.orsi-st-c--current{background:var(--orsi-blue);border-color:var(--orsi-blue);color:var(--orsi-card);box-shadow:0 0 0 5px color-mix(in srgb,var(--orsi-blue) 15%,var(--orsi-card))}
.orsi-st-c--locked{background:var(--orsi-surface);border-color:var(--orsi-info-bg)}
a.orsi-station:hover .orsi-st-c:not(.orsi-st-c--locked){transform:translateY(-2px)}
.orsi-st-nm{font-size:12px;font-weight:var(--orsi-weight-strong);color:var(--orsi-ink);margin-top:10px;line-height:1.25}
.orsi-st-nm--locked{color:var(--orsi-disabled-ink)}
.orsi-st-ct{font-size:10px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-disabled-ink);margin-top:2px;letter-spacing:.02em}
.orsi-st-dots{display:flex;gap:4px;justify-content:center;margin-top:8px}
.orsi-st-dot{width:7px;height:7px;border-radius:50%;background:var(--orsi-line)}
.orsi-st-dot--done{background:var(--orsi-green)}
.orsi-st-dot--fail{background:var(--orsi-orange)}
.orsi-st-dot--current{background:var(--orsi-blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--orsi-blue) 20%,var(--orsi-card))}
.orsi-st-dot--review{background:var(--orsi-purple)}
.orsi-path__note{font-size:12px;color:var(--orsi-disabled-ink);line-height:1.6;border-left:3px solid var(--orsi-info-bg);padding:2px 0 2px 13px;margin-top:14px}
.orsi-path__note b{color:var(--orsi-orange)}
.orsi-modcard--locked{background:var(--orsi-card)}
.orsi-modcard--locked .orsi-modcard__title,.orsi-modcard--locked .orsi-modcard__sub{color:var(--orsi-line-strong)}
.orsi-modcard__lock{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:9.5px;font-weight:var(--orsi-weight-strong);letter-spacing:.05em;text-transform:uppercase;color:var(--orsi-disabled-ink)}
.orsi-modcard__lock svg{width:13px;height:13px}
.orsi-modcard--locked .orsi-step{opacity:.55}
.orsi-path,.orsi-stepper,.orsi-modgrid{--orsi-green:var(--orsi-green-600)}
@media(max-width:768px){.orsi-path__legend{margin-left:0;width:100%}.orsi-st-nm{font-size:11px}}
.orsi-map{max-width:1170px;margin:14px auto 0;padding:14px 15px 0}
.orsi-map__head{font:var(--orsi-weight-strong) 10.5px/1 'Poppins',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--orsi-disabled-ink);margin-bottom:12px;display:flex;align-items:center;gap:8px}
.orsi-map__head b{color:var(--orsi-blue);white-space:nowrap}
.orsi-map .orsi-stepper{margin-top:0}
.orsi-map .orsi-st-c{width:34px;height:34px;font-size:13px}
.orsi-map .orsi-st-c img{width:19px;height:19px}
.orsi-map .orsi-station::after{top:16px;height:3px}
.orsi-map .orsi-st-nm{font-size:11px;margin-top:8px}
.orsi-map .orsi-st-ct{font-size:9.5px}
.orsi-map .orsi-st-dots{margin-top:6px}
.orsi-flow{max-width:1170px;margin:26px auto 0;padding:0 15px;--orsi-green:var(--orsi-green-600)}
.orsi-flow__layer{margin-top:30px}
.orsi-flow__band{display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:8px;color:var(--orsi-card)}
.orsi-flow__band--f{background:var(--orsi-ink)}
.orsi-flow__band--p{background:var(--orsi-deep)}
.orsi-flow__b{width:26px;height:26px;border-radius:50%;background:color-mix(in srgb, var(--orsi-card) 18.000%, transparent);display:flex;align-items:center;justify-content:center;font-weight:var(--orsi-weight-strong);font-size:13px}
.orsi-flow__t{font-weight:var(--orsi-weight-strong);text-transform:uppercase;letter-spacing:.05em;font-size:13px}
.orsi-flow__m{margin-left:auto;font-size:11px;opacity:.72;font-weight:var(--orsi-weight-emphasis);letter-spacing:.02em;text-align:right}
.orsi-flowgrid{display:grid;gap:22px;align-items:start;margin-top:22px}
.orsi-flowgrid--3{grid-template-columns:repeat(3,1fr)}
.orsi-flowgrid--4{grid-template-columns:repeat(4,1fr)}
.orsi-fnode{display:flex;flex-direction:column}
.orsi-frail{position:relative;height:44px;margin-bottom:14px;display:flex;align-items:center;justify-content:center}
.orsi-frail::before,.orsi-frail::after{content:"";position:absolute;top:50%;height:3px;background:var(--orsi-line);transform:translateY(-50%);border-radius:99px}
.orsi-frail::before{left:-11px;right:50%}
.orsi-frail::after{left:50%;right:-11px}
.orsi-fnode:first-child .orsi-frail::before{display:none}
.orsi-fnode:last-child .orsi-frail::after{display:none}
.orsi-fnode--doneline .orsi-frail::after{background:var(--orsi-green)}
.orsi-fnode--donein .orsi-frail::before{background:var(--orsi-green)}
.orsi-frail .orsi-st-c{position:relative;z-index:1}
.orsi-fhead{text-align:center;margin-bottom:13px;text-decoration:none;display:block}
.orsi-fhead__nm{font:var(--orsi-weight-strong) 13.5px/1.3 'Poppins',sans-serif;color:var(--orsi-ink)}
a.orsi-fhead:hover .orsi-fhead__nm{color:var(--orsi-blue)}
.orsi-fhead__nm--locked{color:var(--orsi-disabled-ink)}
.orsi-fhead__ct{font-size:10.5px;font-weight:var(--orsi-weight-emphasis);color:var(--orsi-disabled-ink);margin-top:3px;letter-spacing:.02em}
.orsi-fcard{border:1px solid var(--orsi-info-bg);border-radius:11px;background:var(--orsi-card);padding:2px 14px 6px;flex:1}
.orsi-fcard--current{border-color:var(--orsi-blue);box-shadow:0 8px 24px color-mix(in srgb, var(--orsi-blue) 10.000%, transparent)}
.orsi-fcard--locked{background:var(--orsi-card)}
.orsi-fcard--locked .orsi-step{opacity:.6}
.orsi-flow__note{font-size:12px;color:var(--orsi-disabled-ink);line-height:1.6;border-left:3px solid var(--orsi-info-bg);padding:2px 0 2px 13px;margin:26px 0 0}
.orsi-flow__note b{color:var(--orsi-orange)}
@media(max-width:860px){.orsi-flowgrid--3,.orsi-flowgrid--4{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.orsi-flowgrid--3,.orsi-flowgrid--4{grid-template-columns:1fr}.orsi-frail::before,.orsi-frail::after{display:none}}
.orsi-flow .orsi-step__code{background:color-mix(in srgb,var(--orsi-blue) 12%,var(--orsi-card));color:var(--orsi-blue)}
/* disabled-buttons-20260924 — een knop die niets kan doen, ziet er niet uit alsof hij dat wel kan.
   Geldt voor beide knoppensystemen: base.css laadt op elk scherm en na bootstrap.min.css. */
.btn:disabled, .btn[disabled]{opacity:.45; cursor:not-allowed; box-shadow:none}

/* gallery-wide-card-20260926 + gallery-wide-card-stage-20260926 - de demo als previewstrook: getinte band over de volle kaart, cursistkolom van 860px gecentreerd, datacontract eronder op dezelfde kolom. */
.odi-bt .bt-card--wide .bt-card__bd{grid-template-columns:1fr}
.odi-bt .bt-card--wide .bt-demo{border-right:0;border-bottom:1px solid var(--orsi-line);background:var(--orsi-surface)}
.odi-bt .bt-card--wide .bt-demo>*,.odi-bt .bt-card--wide .bt-spec>*{max-width:860px;margin-left:auto;margin-right:auto}

/* topbar-badges-base-20260927 - paneelteken, terugknop en de twee tellers in de topbalk.
   Zie ORSI_topbar_badges_base_20260927.sql voor de aanleiding en voor waarom dezelfde regels
   eerder per vergissing op site_shared terechtkwamen. */

/* 1. Het paneelteken. De twee knoppen die het dragen (desktop en mobiel) staan op dezelfde plek en
   doen hetzelfde; de hamburger had nog geen flex-centrering en kreeg die hier, anders zakt een svg
   naar de tekstbasislijn in plaats van in het midden te staan.

   BINNEN DEZELFDE MEDIA QUERY, en dat is geen detail. Hoger in deze stylesheet staat
   "@media (min-width: 992px){ .orsi-topbar__menu-btn{display:none} }" - de hamburger hoort op
   desktop weg te blijven, want daar staat de knop hierboven al. Een losse display-regel hier wint
   van die eerdere (zelfde gewicht, later in het bestand) en zet de hamburger op elk scherm weer
   aan: twee identieke menuknoppen naast elkaar. Op de draaiende applicatie vastgesteld. */
@media (max-width: 991.98px){
.orsi-topbar__menu-btn{display:inline-flex;align-items:center;justify-content:center}
}
.orsi-topbar__menu-btn{flex-shrink:0;color:var(--orsi-ink)}
.orsi-menu-icon{display:block;width:16px;height:16px}
.orsi-shell.is-collapsed .orsi-menu-icon__rail{display:none}

/* 2. De terugknop. Dezelfde maat en omlijsting als de menuknop ernaast, zodat de twee als een paar
   lezen. Anders dan de menuknop staat hij op elke schermbreedte: terug wil je op een telefoon net
   zo goed. Uitgezet wanneer er geen vorig scherm is (site.js), en dan zichtbaar maar dood - niet
   verborgen, want dan verspringt de rest van de balk tussen schermen. */
.orsi-topbar__back-btn{flex-shrink:0;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--orsi-line);border-radius:6px;background:var(--orsi-card);color:var(--orsi-ink);cursor:pointer;font-size:1rem;line-height:1}
.orsi-topbar__back-btn:hover:not([disabled]),.orsi-topbar__back-btn:focus-visible{background:var(--orsi-surface);color:var(--orsi-ink)}
.orsi-topbar__back-btn[disabled]{opacity:.35;cursor:default}

/* 3 + 4. De tellers. Absoluut op de knop, dus ze verbreden de balk niet; pointer-events uit zodat de
   badge geen klikken opvangt die voor het icoon bedoeld zijn. Rood alleen bij een kritieke melding.
   De badge zelf is aria-hidden - het getal staat al in het aria-label van de knop, en twee keer
   voorlezen helpt niemand. */
.orsi-topbar__action{position:relative}
.orsi-topbar__badge{position:absolute;top:-3px;right:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--orsi-deep);color:#fff;font-size:11px;line-height:17px;font-weight:700;text-align:center;pointer-events:none;box-shadow:0 0 0 2px var(--orsi-card)}
.orsi-topbar__badge--critical{background:var(--orsi-error-fg)}

/* De teller in de knop "Report a problem" op /Help. Geen badge maar meelopende tekst: de knop heeft
   daar de ruimte, en "Report a problem - 3 open" zegt in woorden wat het cijfer betekent. */
.orsi-btn-count{margin-left:.35rem;font-weight:600;opacity:.85}

/* topbar-backlink-logout-20260927 - de terugknop werd een link, het afmeldteken werd een svg. */

/* 1. De terugknop is nu een <a>. Alles eromheen stond al beschreven bij .orsi-topbar__back-btn;
   hier alleen wat een link extra meebrengt. De [disabled]-regel daarboven raakt sindsdien niets
   meer (een <a> kan niet disabled zijn) en blijft onschadelijk staan. */
.orsi-topbar__back-btn{text-decoration:none}
.orsi-topbar__back-btn:hover,.orsi-topbar__back-btn:focus-visible{text-decoration:none;color:var(--orsi-ink)}

/* 2. Het afmeldteken. Zelfde centrering als de menuknop, om dezelfde reden. */
.orsi-topbar__logout-btn{display:inline-flex;align-items:center;justify-content:center;color:var(--orsi-ink)}
.orsi-exit-icon{display:block;width:16px;height:16px}

/* topbar-badge-nudge-20260927 - de teller naar de buitenhoek, nu de tekens lijntekeningen zijn.
   Zelfde selector als hierboven, alleen later in het bestand; de rest van die regel (kleur, ring,
   pointer-events) blijft staan. */
.orsi-topbar__badge{top:-6px;right:-7px;min-width:16px;height:16px;line-height:16px;font-size:10px;padding:0 3px}

/* De zeven tekens van de balk staan op een raster van 24 en dragen hun eigen width/height. De vier
   knoppen eromheen centreren al met flex, dus er is niets nodig om ze op hun plaats te krijgen -
   nagemeten: 16x16, telkens 9px vanaf beide randen van de knop van 34px. Deze regel is er alleen
   voor het geval een svg ooit buiten zo een knop belandt. De oudere .orsi-menu-icon en
   .orsi-exit-icon hierboven raken sinds vandaag niets meer; ze blijven onschadelijk staan. */
.orsi-icon{display:block;width:16px;height:16px;flex-shrink:0}

/* topbar-track-actions-20260930 - contextual screen actions beside the global controls. */
.orsi-topbar__page-actions{display:flex;align-items:center;gap:4px;min-width:0}
.orsi-topbar__page-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;min-width:34px;padding:0 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--orsi-ink);font:inherit;font-size:.78rem;font-weight:550;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer}
.orsi-topbar__page-action:hover,.orsi-topbar__page-action:focus-visible{background:var(--orsi-surface);color:var(--orsi-blue);text-decoration:none}
.orsi-topbar__page-action[aria-pressed=true]{border-color:var(--orsi-blue);background:var(--orsi-surface);color:var(--orsi-blue)}
@media(max-width:1499px){.orsi-topbar__page-action{width:34px;padding:0}.orsi-topbar__page-action>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
@media(max-width:767.98px){.orsi-topbar__page-action--secondary{display:none}}

/* audit-ui-batch-c2-target-size-20261001 */
.orsi-topbar .orsi-topbar__active-role{box-sizing:border-box;min-height:24px;padding-top:3px;padding-bottom:3px}

/* audit-ui-batch-e-contrast-20261001 (WCAG 1.4.3 / 1.4.10) - Bootstrap blue -> brand blue 700, reflow guards. Served from 'base'. */
:root{--bs-link-color:#005a97;--bs-link-color-rgb:0,90,151;--bs-link-hover-color:#00436f;--bs-link-hover-color-rgb:0,67,111}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bs-link-color:#6ea8fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color:#9ec5fe;--bs-link-hover-color-rgb:158,197,254}}
:root[data-theme="dark"]{--bs-link-color:#6ea8fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color:#9ec5fe;--bs-link-hover-color-rgb:158,197,254}
.btn-primary{--bs-btn-bg:#005a97;--bs-btn-border-color:#005a97;--bs-btn-hover-bg:#004a7e;--bs-btn-hover-border-color:#004a7e;--bs-btn-active-bg:#003e69;--bs-btn-active-border-color:#003e69;--bs-btn-disabled-bg:#005a97;--bs-btn-disabled-border-color:#005a97;--bs-btn-focus-shadow-rgb:0,90,151}
.btn-outline-primary{--bs-btn-color:#005a97;--bs-btn-border-color:#005a97;--bs-btn-hover-bg:#005a97;--bs-btn-hover-border-color:#005a97;--bs-btn-active-bg:#005a97;--bs-btn-active-border-color:#005a97;--bs-btn-disabled-color:#005a97;--bs-btn-disabled-border-color:#005a97;--bs-btn-focus-shadow-rgb:0,90,151}
.btn-link{--bs-btn-color:#005a97;--bs-btn-hover-color:#00436f;--bs-btn-active-color:#00436f}
.alert-warning a:not(.btn){color:#005a97}
@media (max-width:991.98px){.orsi-shell__main,.orsi-main{min-width:0;max-width:100%}.orsi-main .orsi-card{min-width:0;max-width:100%}.orsi-main .table-responsive{max-width:100%;overflow-x:auto}.orsi-page-header__title{overflow-wrap:anywhere}}
@media (max-width:575.98px){.orsi-topbar{flex-wrap:wrap;row-gap:4px;column-gap:4px;padding-left:10px;padding-right:10px}.orsi-topbar .orsi-topbar__action,.orsi-topbar .orsi-topbar__page-action,.orsi-topbar .orsi-topbar__page-actions{flex:0 0 auto}.orsi-topbar .orsi-topbar__action{min-width:34px}.orsi-topbar .orsi-topbar__page-actions{min-width:auto}}

/* audit-ui-batch-f-20261001 (WCAG 1.4.3 / 2.4.3 / 4.1.2) - base-only link colour and the closed off-canvas sidebar. Served from 'base'. */
a{color:var(--bs-link-color)}
.orsi-breadcrumb-nav .breadcrumb-item a{color:var(--bs-link-color)}
.orsi-breadcrumb-nav .breadcrumb-item a:hover,.orsi-breadcrumb-nav .breadcrumb-item a:focus-visible{color:var(--bs-link-hover-color)}
@media (max-width:991.98px){.orsi-sidebar{visibility:hidden;transition:transform .2s ease,visibility 0s linear .2s}.orsi-shell.is-nav-open .orsi-sidebar{visibility:visible;transition:transform .2s ease,visibility 0s linear 0s}}
@media (prefers-reduced-motion:reduce){.orsi-sidebar,.orsi-shell.is-nav-open .orsi-sidebar{transition:none}}

/* audit-ui-batch-g-skiplink-20261002 (WCAG 2.4.1 Bypass Blocks / 2.4.7 / 2.4.11) - one skip link on every layout. Served from 'base'. */
.orsi-skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--orsi-deep,#2f3f8d);color:#fff;padding:.6rem 1rem;border-radius:0 0 6px 0}
.orsi-skip-link:focus,.orsi-skip-link:focus-visible{position:fixed;left:8px;top:8px;border-radius:6px;color:#fff;text-decoration:none;outline:3px solid var(--orsi-orange,#ec6607);outline-offset:2px}
main[tabindex="-1"]:focus,main[tabindex="-1"]:focus-visible,#orsiPreviewContent:focus,#orsiPreviewContent:focus-visible{outline:none}

/* audit-ui-batch-w-inline-styles-20261004 - the remaining inline style attributes of the Account, Admin, Sales, Support, Portal, Organization, Files and Error pages and of the shared _NavIcons, _ExternalSupport and _FullscreenToggle partials became ou-* utility classes (served from base, which every layout links). !important reproduces the precedence an inline style had; every rule that sets display excludes the hidden attribute because the inline display never beat the Bootstrap [hidden] rule; the fullscreen toggle keeps its display without !important and one class higher in specificity because the phone rule of batch J (display none, important) always beat the inline display. Colours are tokens or color-mix values, never literals. */
.ou-card-560{max-width:560px !important;margin:3rem auto !important}
.ou-card-480{max-width:480px !important;margin:3.5rem auto !important}
.ou-card-420{max-width:420px !important;margin:3.5rem auto !important}
.ou-mw-6r{max-width:6rem !important}
.ou-mw-10r{max-width:10rem !important}
.ou-mw-11r{max-width:11rem !important}
.ou-mw-12r{max-width:12rem !important}
.ou-mw-13r{max-width:13rem !important}
.ou-mw-14r{max-width:14rem !important}
.ou-mw-16r{max-width:16rem !important}
.ou-mw-20r{max-width:20rem !important}
.ou-mw-24r{max-width:24rem !important}
.ou-mw-28r{max-width:28rem !important}
.ou-mw-180{max-width:180px !important}
.ou-mw-220{max-width:220px !important}
.ou-mw-480{max-width:480px !important}
.ou-mw-640{max-width:640px !important}
.ou-mw-720{max-width:720px !important}
.ou-mw-760{max-width:760px !important}
.ou-w-8r{width:8rem !important}
.ou-w-12r{width:12rem !important}
.ou-w-14r{width:14rem !important}
.ou-w-120{width:120px !important}
.ou-w-480{width:480px !important}
.ou-minw-8r{min-width:8rem !important}
.ou-minw-16r{min-width:16rem !important}
.ou-minw-24r{min-width:24rem !important}
.ou-cell-18-30{min-width:18rem !important;max-width:30rem !important}
.ou-pointer{cursor:pointer !important}
.ou-pre-wrap{white-space:pre-wrap !important}
.ou-pre-line{white-space:pre-line !important}
.ou-prose-920{white-space:pre-line !important;max-width:920px !important;line-height:1.6 !important}
.ou-contents:not([hidden]){display:contents !important}
.ou-mono-13{font-family:var(--bs-font-monospace, monospace) !important;font-size:13px !important}
.ou-tabular{font-variant-numeric:tabular-nums !important}
.ou-bar-h-125{height:1.25rem !important}
.ou-bar-h-6{height:6px !important}
.ou-preview-frame{width:100% !important;height:80vh !important;border:0 !important}
.ou-mt-8{margin-top:8px !important}
.ou-mt-10{margin-top:10px !important}
.ou-legend{font-size:12px !important;font-weight:800 !important;letter-spacing:1.2px !important;text-transform:uppercase !important;color:var(--orsi-muted) !important}
.ou-legend--first{margin-bottom:2px !important}
.ou-legend--next{margin:16px 0 2px !important}
.ou-c-blue{color:var(--orsi-blue) !important}
.ou-c-deep{color:var(--orsi-deep) !important}
.ou-c-orange{color:var(--orsi-orange) !important}
.ou-c-muted{color:var(--orsi-muted) !important}
.btn.ou-fs-toggle{position:fixed !important;top:.75rem !important;right:.75rem !important;z-index:1080 !important;display:inline-flex;align-items:center !important;gap:.35rem !important;background:color-mix(in srgb,white 92%,transparent) !important;box-shadow:0 1px 4px color-mix(in srgb,black 18%,transparent) !important}

/* program-presentation-20261007 - the program presentation (preview page for trainees and staff, later the online catalogue) and the language help of the Presentation tab. Mobile first, tokens only, no !important. Shared partial: Pages/Shared/_ProgramPresentation.cshtml. */
.pp{max-width:56rem;margin:0 auto;padding:0 0 2rem;color:var(--orsi-ink)}
.pp__hero{margin:0 0 1rem}
.pp__hero-img{display:block;width:100%;height:auto;max-height:22rem;object-fit:cover;border-radius:var(--orsi-radius)}
.pp__header{margin:0 0 1.25rem}
.pp__title{margin:0 0 .5rem;font-size:1.5rem;line-height:1.25;color:var(--orsi-navy)}
.pp__lead{margin:0;font-size:1.0625rem;color:var(--orsi-ink-soft)}
.pp__note{margin:.5rem 0 0;font-size:.875rem;color:var(--orsi-muted)}
.pp__section{margin:0 0 1rem;padding:1rem;background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:var(--orsi-radius)}
.pp__heading{margin:0 0 .75rem;font-size:1.125rem;line-height:1.3;color:var(--orsi-navy)}
.pp__plain{margin:0}
.pp__rich{overflow-wrap:anywhere}
.pp__rich>:last-child{margin-bottom:0}
.pp__rich a{color:var(--orsi-action);text-decoration:underline}
.pp__video{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--orsi-navy-deep);border-radius:var(--orsi-radius-sm)}
.pp__video-frame{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.pp__offers{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.pp__offer{display:flex;flex-direction:column;gap:.375rem}
.pp__offer-variant{font-weight:var(--orsi-weight-strong)}
.pp__offer-languages{display:flex;flex-wrap:wrap;gap:.375rem}
.pp__chip{display:inline-block;padding:.125rem .625rem;border:1px solid var(--orsi-line-strong);border-radius:var(--orsi-radius-pill);background:var(--orsi-surface);font-size:.875rem}
.pp__chip--pending{border-style:dashed;color:var(--orsi-muted)}
.pp__facts{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0}
.pp__facts dt{font-weight:var(--orsi-weight-strong)}
.pp__facts dd{margin:0}
.pp-page{max-width:56rem;margin:0 auto}
.pp-page__back{margin:0 0 .75rem}
.pp-page__languages ul{display:flex;flex-wrap:wrap;gap:.375rem;margin:0 0 1rem;padding:0;list-style:none}
.pp-page__languages a{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;padding:0 .75rem;border:1px solid var(--orsi-line-strong);border-radius:var(--orsi-radius-pill);color:var(--orsi-action);text-decoration:none}
.pp-page__languages a[aria-current="true"]{background:var(--orsi-action);border-color:var(--orsi-action);color:var(--orsi-action-ink)}
.pp-page__languages a:focus-visible{outline:3px solid var(--orsi-focus);outline-offset:2px}
.pp-preview-bar{margin:0 0 .75rem;padding:.75rem 1rem;border:1px solid var(--orsi-warning-line);border-radius:var(--orsi-radius-sm);background:var(--orsi-warning-bg);color:var(--orsi-warning-fg)}
.pp-field-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.pp-field-actions .btn[hidden]{display:none}
@media (min-width:768px){
.pp__title{font-size:2rem}
.pp__section{padding:1.5rem}
.pp__offer{flex-direction:row;align-items:baseline;gap:1rem}
.pp__offer-variant{min-width:10rem}
}

/* deployment-banner-20261007 - the TEST environment banner (Pages/Shared/_EnvironmentBanner.cshtml, included by every layout while Deployment:Role is Test). A bar fixed to the bottom of the window above the fixed sidebar and below modals; the page keeps room for it. Tokens only, no !important. */
:root{--orsi-env-banner-h:2.75rem}
.orsi-env-banner{position:fixed;left:0;right:0;bottom:0;z-index:1040;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:var(--orsi-env-banner-h);padding:.25rem .75rem;background:var(--orsi-warning-bg);color:var(--orsi-warning-fg);border-top:3px solid var(--orsi-orange);font-size:.8125rem;font-weight:var(--orsi-weight-strong);line-height:1.3;text-align:center}
body:has(.orsi-env-banner){padding-bottom:var(--orsi-env-banner-h)}
body:has(.orsi-env-banner) .orsi-sidebar{height:calc(100vh - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .orsi-shell{min-height:calc(100vh - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .orsi-anon-main{min-height:calc(100vh - var(--orsi-env-banner-h))}
@media print{
.orsi-env-banner{position:static}
body:has(.orsi-env-banner){padding-bottom:0}
}

/* deployment-banner-fix-20261008 - follow-up of deployment-banner-20261007. ONE variable, --orsi-env-banner-h (the height of the TEST banner including the bottom safe-area inset), is the room the banner takes at the bottom of the window; every full-height work area below subtracts it, and only while the banner is on the page (body:has(.orsi-env-banner)), so removing the banner or this block restores the old layout. Tokens only, no !important. */
:root{--orsi-env-banner-h:calc(2.75rem + env(safe-area-inset-bottom,0px))}
.orsi-env-banner{height:auto;min-height:var(--orsi-env-banner-h);padding-bottom:calc(.25rem + env(safe-area-inset-bottom,0px))}
body:has(.orsi-env-banner) .orsi-sidebar{height:calc(100dvh - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .orsi-shell,body:has(.orsi-env-banner) .orsi-anon-main{min-height:calc(100dvh - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .orsi-track-workspace .ted{height:calc(var(--ted-viewport-height,600px) - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .oa .ted__tree,body:has(.orsi-env-banner) .oa .ted__side{max-height:calc(100dvh - 1.25rem - var(--orsi-env-banner-h))}
body:has(.orsi-env-banner) .orsi-unit-view.is-left-course-menu .orsi-unit-outline-host{max-height:calc(100dvh - 6.5rem - var(--orsi-env-banner-h))}
@media(min-width:1000.02px){
body:has(.orsi-env-banner) .oa.orsi-unit-workspace .uw--focused .uw__grid{height:calc(var(--uw-viewport-height,650px) - var(--orsi-env-banner-h))}
}
@media(max-width:600px){
:root{--orsi-env-banner-h:calc(2.5rem + env(safe-area-inset-bottom,0px))}
.orsi-env-banner{height:var(--orsi-env-banner-h);min-height:0;padding:.125rem .5rem calc(.125rem + env(safe-area-inset-bottom,0px));overflow:hidden;font-size:.6875rem;line-height:1.2}
}



/* BEGIN ui-unify-pp-link-20261008 - U19: links in the rich text of the program presentation used --orsi-action (orange, about 3.2 to 1 on white); --orsi-orange-text exists for exactly this and passes 4.5 to 1. Key base because .pp__rich lives in base (portal and staff preview). Token only, no !important. */
.pp__rich a{color:var(--orsi-orange-text)}
/* END ui-unify-pp-link-20261008 */

/* BEGIN ui-unify-staff-20261008 - ONE look for all STAFF screens (everything inside the staff shell of Pages/Shared/_Layout.cshtml: Library, Sales, Admin, Website...) = the Library/Authoring look of the reference screens: font Manrope, teal primary, radius 8, tokens, one focus ring. Decisions B1-B5 of 7 October 2026. Key base: the staff shell loads base only (Sales/Admin/Blocks do not load intern), so this block lives in base.
   Scope: every component rule ends in the scope W = :where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)). It matches only elements inside the staff main area and never inside the Library/Authoring (.oa), the learner preview (.orsi-lp) or the track/unit workspaces. :where adds no specificity, so each rule has exactly the strength of the Bootstrap selector it replaces and wins by source order (this block is appended last); the portal, organization and public layouts have no .orsi-shell or .orsi-main and are not touched. Bootstrap rules are changed through their own --bs-* variables where possible.
   Tokens, no literal colours outside the token definitions. The only !important are the 7 .badge.text-bg-* rules (8 selectors): Bootstrap itself marks text-bg-* important. Remove with ORSI_ui_unify_staff_ROLLBACK_20261008.sql. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/manrope-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/manrope-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/manrope-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/manrope-latin-700-normal.woff2") format("woff2")}
:root{--orsi-ui-teal:#0e7d86;--orsi-ui-teal-rgb:14,125,134;--orsi-ui-teal-text:#0b6f78;--orsi-ui-teal-text-rgb:11,111,120;--orsi-ui-teal-deep:#08535a;--orsi-ui-teal-deep-rgb:8,83,90;--orsi-ui-teal-soft:#d8ecee;--orsi-ui-rust:#aa3e1e;--orsi-ui-rust-rgb:170,62,30;--orsi-ui-rust-soft:#f6e0d7;--orsi-ui-leaf:#287650;--orsi-ui-leaf-rgb:40,118,80;--orsi-ui-leaf-soft:#dcefe4;--orsi-ui-amber:#86600f;--orsi-ui-amber-rgb:134,96,15;--orsi-ui-amber-soft:#f4ead4;--orsi-ui-slate:#5a696f;--orsi-ui-slate-soft:#e6ecee;--orsi-ui-ink:#16242b;--orsi-ui-muted:#5c6b72;--orsi-ui-surface-2:#eef3f4;--orsi-ui-line:#dde5e7;--orsi-ui-line-strong:#c8d3d6;--orsi-ui-radius:8px;--orsi-ui-radius-card:10px;--orsi-ui-shadow:0 1px 2px color-mix(in srgb,var(--orsi-ui-ink) 6%,transparent),0 6px 18px color-mix(in srgb,var(--orsi-ui-ink) 5%,transparent);--orsi-ui-font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
/* B1 font: the reference really renders Manrope (self-hosted in wwwroot/fonts, declared above); one font for the whole staff shell, sidebar and topbar included. */
.orsi-shell{--orsi-font:var(--orsi-ui-font);--bs-font-sans-serif:var(--orsi-ui-font);--bs-body-font-family:var(--orsi-ui-font);font-family:var(--orsi-ui-font)}
/* B3 primary colour and links through the Bootstrap variables of the staff main area. */
.orsi-main{--bs-primary:var(--orsi-ui-teal);--bs-primary-rgb:var(--orsi-ui-teal-rgb);--bs-danger:var(--orsi-ui-rust);--bs-danger-rgb:var(--orsi-ui-rust-rgb);--bs-success-rgb:var(--orsi-ui-leaf-rgb);--bs-warning-rgb:var(--orsi-ui-amber-rgb);--bs-link-color:var(--orsi-ui-teal-text);--bs-link-color-rgb:var(--orsi-ui-teal-text-rgb);--bs-link-hover-color:var(--orsi-ui-teal-deep);--bs-link-hover-color-rgb:var(--orsi-ui-teal-deep-rgb);--bs-form-invalid-color:var(--orsi-ui-rust);--bs-form-invalid-border-color:var(--orsi-ui-rust)}
/* Headings: page title h1 like the reference (1.5rem, 600); heading weight 600 everywhere; the sizes of h2-h6 stay as the pages choose them with the Bootstrap h1-h6 classes. */
h1:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),h1:is(.h1,.h2,.h3,.h4,.h5,.h6):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:1.5rem;letter-spacing:-.01em;line-height:1.25;color:var(--orsi-ui-ink)}
:is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-weight:600}
.orsi-page-header__title:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.orsi-summary-bar__label--heading:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:1.5rem;font-weight:600;letter-spacing:-.01em;line-height:1.25;color:var(--orsi-ui-ink)}
/* Buttons: Bootstrap variables to the reference btn / btn--primary / btn--secondary / btn--danger. */
.btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-border-radius:var(--orsi-ui-radius);--bs-btn-font-weight:500}
.btn-sm:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.btn-lg:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-border-radius:var(--orsi-ui-radius)}
.btn-primary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-card);--bs-btn-bg:var(--orsi-ui-teal);--bs-btn-border-color:var(--orsi-ui-teal);--bs-btn-hover-color:var(--orsi-card);--bs-btn-hover-bg:var(--orsi-ui-teal-deep);--bs-btn-hover-border-color:var(--orsi-ui-teal-deep);--bs-btn-active-color:var(--orsi-card);--bs-btn-active-bg:var(--orsi-ui-teal-deep);--bs-btn-active-border-color:var(--orsi-ui-teal-deep);--bs-btn-disabled-color:var(--orsi-card);--bs-btn-disabled-bg:var(--orsi-ui-teal);--bs-btn-disabled-border-color:var(--orsi-ui-teal);--bs-btn-focus-shadow-rgb:var(--orsi-ui-teal-rgb)}
.btn-outline-primary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-teal-text);--bs-btn-border-color:var(--orsi-ui-teal);--bs-btn-hover-color:var(--orsi-card);--bs-btn-hover-bg:var(--orsi-ui-teal);--bs-btn-hover-border-color:var(--orsi-ui-teal);--bs-btn-active-color:var(--orsi-card);--bs-btn-active-bg:var(--orsi-ui-teal-deep);--bs-btn-active-border-color:var(--orsi-ui-teal-deep);--bs-btn-disabled-color:var(--orsi-ui-teal-text);--bs-btn-disabled-border-color:var(--orsi-ui-teal);--bs-btn-focus-shadow-rgb:var(--orsi-ui-teal-rgb)}
.btn-secondary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.btn-outline-secondary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-ink);--bs-btn-bg:var(--orsi-card);--bs-btn-border-color:var(--orsi-ui-line-strong);--bs-btn-hover-color:var(--orsi-ui-ink);--bs-btn-hover-bg:var(--orsi-ui-surface-2);--bs-btn-hover-border-color:var(--orsi-ui-teal);--bs-btn-active-color:var(--orsi-ui-ink);--bs-btn-active-bg:var(--orsi-ui-surface-2);--bs-btn-active-border-color:var(--orsi-ui-teal);--bs-btn-disabled-color:var(--orsi-ui-ink);--bs-btn-disabled-bg:var(--orsi-card);--bs-btn-disabled-border-color:var(--orsi-ui-line-strong);--bs-btn-focus-shadow-rgb:var(--orsi-ui-teal-rgb)}
.btn-danger:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-card);--bs-btn-bg:var(--orsi-ui-rust);--bs-btn-border-color:var(--orsi-ui-rust);--bs-btn-hover-color:var(--orsi-card);--bs-btn-hover-bg:color-mix(in srgb,var(--orsi-ui-rust) 85%,black);--bs-btn-hover-border-color:color-mix(in srgb,var(--orsi-ui-rust) 85%,black);--bs-btn-active-color:var(--orsi-card);--bs-btn-active-bg:color-mix(in srgb,var(--orsi-ui-rust) 75%,black);--bs-btn-active-border-color:color-mix(in srgb,var(--orsi-ui-rust) 75%,black);--bs-btn-disabled-color:var(--orsi-card);--bs-btn-disabled-bg:var(--orsi-ui-rust);--bs-btn-disabled-border-color:var(--orsi-ui-rust);--bs-btn-focus-shadow-rgb:var(--orsi-ui-rust-rgb)}
.btn-outline-danger:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-rust);--bs-btn-border-color:var(--orsi-ui-line-strong);--bs-btn-hover-color:var(--orsi-ui-rust);--bs-btn-hover-bg:var(--orsi-ui-rust-soft);--bs-btn-hover-border-color:var(--orsi-ui-rust);--bs-btn-active-color:var(--orsi-ui-rust);--bs-btn-active-bg:var(--orsi-ui-rust-soft);--bs-btn-active-border-color:var(--orsi-ui-rust);--bs-btn-disabled-color:var(--orsi-ui-rust);--bs-btn-disabled-border-color:var(--orsi-ui-line-strong);--bs-btn-focus-shadow-rgb:var(--orsi-ui-rust-rgb)}
.btn-warning:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.btn-outline-warning:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-amber);--bs-btn-bg:var(--orsi-ui-amber-soft);--bs-btn-border-color:var(--orsi-ui-amber);--bs-btn-hover-color:var(--orsi-ui-amber);--bs-btn-hover-bg:var(--orsi-ui-amber-soft);--bs-btn-hover-border-color:var(--orsi-ui-amber);--bs-btn-active-color:var(--orsi-ui-amber);--bs-btn-active-bg:var(--orsi-ui-amber-soft);--bs-btn-active-border-color:var(--orsi-ui-amber);--bs-btn-disabled-color:var(--orsi-ui-amber);--bs-btn-disabled-bg:var(--orsi-ui-amber-soft);--bs-btn-disabled-border-color:var(--orsi-ui-amber);--bs-btn-focus-shadow-rgb:var(--orsi-ui-amber-rgb)}
.btn-success:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.btn-outline-success:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-leaf);--bs-btn-bg:var(--orsi-ui-leaf-soft);--bs-btn-border-color:var(--orsi-ui-leaf);--bs-btn-hover-color:var(--orsi-ui-leaf);--bs-btn-hover-bg:var(--orsi-ui-leaf-soft);--bs-btn-hover-border-color:var(--orsi-ui-leaf);--bs-btn-active-color:var(--orsi-ui-leaf);--bs-btn-active-bg:var(--orsi-ui-leaf-soft);--bs-btn-active-border-color:var(--orsi-ui-leaf);--bs-btn-disabled-color:var(--orsi-ui-leaf);--bs-btn-disabled-bg:var(--orsi-ui-leaf-soft);--bs-btn-disabled-border-color:var(--orsi-ui-leaf);--bs-btn-focus-shadow-rgb:var(--orsi-ui-leaf-rgb)}
.btn-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-btn-color:var(--orsi-ui-teal-text);--bs-btn-hover-color:var(--orsi-ui-teal-deep);--bs-btn-active-color:var(--orsi-ui-teal-deep);--bs-btn-disabled-color:var(--orsi-ui-muted)}
/* Fields: height, radius and border like the reference .f (39.6 px, radius 8, border line-strong, 0.9rem). */
.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border:1px solid var(--orsi-ui-line-strong);border-radius:var(--orsi-ui-radius);font-size:.9rem;color:var(--orsi-ui-ink);padding:.5rem .65rem}
.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){padding-right:2.25rem}
.form-control-sm:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select-sm:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.82rem;padding-top:.35rem;padding-bottom:.35rem;padding-left:.6rem}
.form-control:focus:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select:focus:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-color:var(--orsi-ui-teal);box-shadow:none}
.form-check-input:checked:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-check-input[type=checkbox]:indeterminate:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-teal);border-color:var(--orsi-ui-teal)}
.form-check-input:focus:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-color:var(--orsi-ui-teal);box-shadow:none}
input[type=checkbox]:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),input[type=radio]:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){accent-color:var(--orsi-ui-teal)}
/* Tables: header like the reference raster header (surface-2, weight 600, ink), row hover in the same tint, no zebra. */
.table:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-table-border-color:var(--orsi-ui-line);--bs-table-hover-bg:var(--orsi-ui-surface-2);--bs-table-striped-bg:var(--orsi-ui-surface-2)}
.table>thead:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-table-bg:var(--orsi-ui-surface-2);--bs-table-color:var(--orsi-ui-ink)}
.table>thead>tr>th:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-weight:600;color:var(--orsi-ui-ink);border-bottom-color:var(--orsi-ui-line-strong)}
/* Cards: radius 10, border line, shadow like the reference card; a card inside a card has no shadow. */
.card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-card-border-color:var(--orsi-ui-line);--bs-card-border-radius:var(--orsi-ui-radius-card);--bs-card-inner-border-radius:calc(var(--orsi-ui-radius-card) - 1px);--bs-card-bg:var(--orsi-card);box-shadow:var(--orsi-ui-shadow)}
.orsi-card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background:var(--orsi-card);border:1px solid var(--orsi-ui-line);border-radius:var(--orsi-ui-radius-card);box-shadow:var(--orsi-ui-shadow)}
.card .card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.card .orsi-card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.orsi-card .card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.orsi-card .orsi-card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){box-shadow:none}
/* Tabs, pills, pagination and other active states: teal instead of the Bootstrap default blue. */
.nav-pills:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-nav-link-color:var(--orsi-ui-teal-text);--bs-nav-link-hover-color:var(--orsi-ui-teal-deep);--bs-nav-pills-link-active-color:var(--orsi-card);--bs-nav-pills-link-active-bg:var(--orsi-ui-teal)}
.nav-tabs:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-nav-link-color:var(--orsi-ui-muted);--bs-nav-link-hover-color:var(--orsi-ui-ink);--bs-nav-tabs-border-color:var(--orsi-ui-line);--bs-nav-tabs-border-radius:0;--bs-nav-tabs-link-hover-border-color:transparent transparent var(--orsi-ui-line-strong);--bs-nav-tabs-link-active-color:var(--orsi-ui-teal);--bs-nav-tabs-link-active-bg:transparent;--bs-nav-tabs-link-active-border-color:transparent transparent var(--orsi-ui-teal)}
.nav-tabs .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-bottom-width:2px;margin-bottom:-2px}
.nav-tabs .nav-link.active:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.nav-tabs .nav-item.show .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-weight:500}
.pagination:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-pagination-color:var(--orsi-ui-teal-text);--bs-pagination-border-color:var(--orsi-ui-line);--bs-pagination-hover-color:var(--orsi-ui-teal-deep);--bs-pagination-hover-bg:var(--orsi-ui-surface-2);--bs-pagination-hover-border-color:var(--orsi-ui-line-strong);--bs-pagination-focus-color:var(--orsi-ui-teal-deep);--bs-pagination-focus-bg:var(--orsi-ui-surface-2);--bs-pagination-active-color:var(--orsi-card);--bs-pagination-active-bg:var(--orsi-ui-teal);--bs-pagination-active-border-color:var(--orsi-ui-teal)}
.list-group:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-list-group-active-bg:var(--orsi-ui-teal);--bs-list-group-active-border-color:var(--orsi-ui-teal);--bs-list-group-active-color:var(--orsi-card)}
.dropdown-menu:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-dropdown-link-active-bg:var(--orsi-ui-teal);--bs-dropdown-link-active-color:var(--orsi-card)}
.progress:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-progress-bar-bg:var(--orsi-ui-teal)}
/* Alerts: the canonical status tokens instead of the Bootstrap tints. */
.alert:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-alert-border-radius:var(--orsi-ui-radius)}
.alert-success:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-alert-color:var(--orsi-success-fg);--bs-alert-bg:var(--orsi-success-bg);--bs-alert-border-color:var(--orsi-success-line);--bs-alert-link-color:var(--orsi-success-fg)}
.alert-warning:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-alert-color:var(--orsi-warning-fg);--bs-alert-bg:var(--orsi-warning-bg);--bs-alert-border-color:var(--orsi-warning-line);--bs-alert-link-color:var(--orsi-warning-fg)}
.alert-danger:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-alert-color:var(--orsi-error-fg);--bs-alert-bg:var(--orsi-error-bg);--bs-alert-border-color:var(--orsi-error-line);--bs-alert-link-color:var(--orsi-error-fg)}
.alert-info:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){--bs-alert-color:var(--orsi-info-fg);--bs-alert-bg:var(--orsi-info-bg);--bs-alert-border-color:var(--orsi-info-line);--bs-alert-link-color:var(--orsi-info-fg)}
.alert-warning a:not(.btn):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){color:var(--orsi-ui-teal-text)}
/* Badges: the reference spill (radius 999, 0.78rem, weight 500) with soft backgrounds. The !important is needed because Bootstrap marks text-bg-* important. */
.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.78rem;font-weight:500;border-radius:var(--orsi-radius-pill)}
.badge.text-bg-primary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-teal-soft) !important;color:var(--orsi-ui-teal-text) !important}
.badge.text-bg-secondary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.badge.text-bg-dark:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-slate-soft) !important;color:var(--orsi-ui-slate) !important}
.badge.text-bg-success:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-leaf-soft) !important;color:var(--orsi-ui-leaf) !important}
.badge.text-bg-danger:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-rust-soft) !important;color:var(--orsi-ui-rust) !important}
.badge.text-bg-warning:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-amber-soft) !important;color:var(--orsi-ui-amber) !important}
.badge.text-bg-info:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-info-bg) !important;color:var(--orsi-info-fg) !important}
.badge.text-bg-light:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){background-color:var(--orsi-ui-surface-2) !important;color:var(--orsi-ui-muted) !important}
/* B4 one focus ring: 3 px --orsi-focus on every interactive element of the staff main area (sidebar and topbar keep their own ring on the dark navigation; the .oa screens keep theirs until intern is changed). */
:is(a,button,summary,.btn,.form-control,.form-select,.form-check-input,.nav-link,.page-link,.dropdown-item,.accordion-button,.list-group-item-action,[tabindex]:not([tabindex="-1"])):focus-visible:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){outline:3px solid var(--orsi-focus);outline-offset:2px;box-shadow:none}
.btn-check:focus-visible+.btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){outline:3px solid var(--orsi-focus);outline-offset:2px;box-shadow:none}
/* END ui-unify-staff-20261008 */

/* deployment-banner-mobile-20261008 - follow-up of the banner fix of 8 October 2026. The partial renders the configured text twice: .orsi-env-banner__full (the whole BannerText) and .orsi-env-banner__short (its first sentence, aria-hidden). Above 600 px only the full text shows. Up to 600 px the full text stays in the DOM for screen readers (visually hidden) and the short text is shown, 11 px / line-height 1.2, clamped to two lines, so the content (at most 2 x 1.2 x 11 px = 26.4 px) always fits in the 2.5rem bar (--orsi-env-banner-h keeps its meaning and value; this block does not change it). Tokens only, no !important. */
.orsi-env-banner__short{display:none}
@media(max-width:600px){
.orsi-env-banner__full{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.orsi-env-banner__short{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:100%;max-height:2.4em;font-size:.6875rem;line-height:1.2;overflow-wrap:anywhere}
}

/* BEGIN ui-unify-staff-round2-20261008 - ROUND 2 of the STAFF screens: (1) sort-header hover, (2) search bars / input-groups, (3) overflow of the Blocks filter row, (4) touch targets of 44 px on narrow screens (max-width 600 px). Key base (the staff shell loads base only).
   Depends on the round-1 staff block (it uses its --orsi-ui-* tokens): roll back round 2 first, then round 1.
   Scope: every main-area rule ends in the same scope S as round 1 = :where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)); S adds no specificity, so each rule has exactly the strength of the Bootstrap selector it replaces and wins by source order (this block is appended last). Library/Authoring (.oa), learner preview, track/unit workspaces, portal, organization and public layouts are not touched.
   The only rules outside S are the 4 shell rules at the end of the narrow-screen media query (sidebar links, brand link, topbar controls); they start with .orsi-shell, which only the staff layout has, and they exist only at max-width 600 px.
   Tokens only, no literal colours, no important. */
/* 1. Sort headers (th links with text-reset or orsi-sortable-col) stay ink on purpose (colour inherit). Only the hover used the retired blue (--orsi-blue); it becomes the deep teal of the staff links. */
.orsi-sortable-col:hover:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){color:var(--orsi-ui-teal-deep)}
/* 2. Input-groups and search bars: the Bootstrap group rules (.input-group-sm > .form-control, specificity 0,2,0) beat the single-class field rules of round 1, so the small search bars stayed 31 px / 14 px / radius 4. Same size as .form-control-sm (13.12 px text, 5.6 px padding = 32.9 px), radius 8 on the outer corners; Bootstrap zeroes the inner join corners itself with a stronger selector. Buttons in the group stretch to the same height (align-items stretch). */
.input-group>.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group>.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group>.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group>.btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-radius:var(--orsi-ui-radius)}
.input-group>.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-color:var(--orsi-ui-line-strong);background-color:var(--orsi-ui-surface-2);color:var(--orsi-ui-muted);font-size:.9rem}
.input-group-sm>.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group-sm>.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.82rem;padding-top:.35rem;padding-bottom:.35rem;padding-left:.6rem}
.input-group-sm>.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.82rem;padding:.35rem .6rem}
/* 3. Blocks overflow at 1280 px: the Type and Track filter selects are width:auto and take the width of their longest option (track titles); their flex group has min-width:auto, so the row pushes the card wider than the screen. Let the groups and selects shrink, and keep cards and scroll wrappers inside the main area. */
.orsi-list-filters__group:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-width:0;max-width:100%}
.orsi-list-filters__select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-width:0;max-width:100%;text-overflow:ellipsis}
.orsi-card:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-width:0;max-width:100%}
.table-responsive:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){max-width:100%}
/* 4. Touch targets: minimum 44 x 44 px on narrow screens. Real box sizes (min-height / min-width / padding), the desktop layout does not change. */
@media (max-width:600px){
.btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-height:44px;min-width:44px}
.btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){padding:calc((44px - 1em) / 2)}
.offcanvas-header .btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.modal-header .btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){padding:calc((44px - 1em) / 2)}
.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.form-check:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.form-check .form-check-input:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){margin-top:calc((44px - 1em) / 2)}
.form-check-label:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-block;min-height:44px;padding-top:calc((44px - 1.5em) / 2);padding-bottom:calc((44px - 1.5em) / 2)}
.orsi-chip-filter:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;gap:.4em;min-height:44px}
.nav-fill .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.nav-justified .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){justify-content:center}
.pagination:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){flex-wrap:wrap}
.page-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
.dropdown-item:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;min-height:44px}
.list-group-item-action:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),summary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px;align-content:center}
td>a:not(.btn):not(.badge):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),th>a:not(.btn):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-flex;align-items:center;min-height:44px}
a.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),button.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){position:relative}
a.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *))::after,button.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *))::after{content:"";position:absolute;top:-12px;right:-6px;bottom:-12px;left:-6px}
.orsi-shell .orsi-nav-link,.orsi-shell .orsi-sidebar__brand-group{min-height:44px}
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)){padding-top:.29rem;padding-bottom:.29rem}
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)) :is(.orsi-topbar__menu-btn,.orsi-topbar__back-btn,.orsi-topbar__action,.orsi-topbar__install-btn,.orsi-topbar__logout-btn,.orsi-sidebar__collapse-btn){min-width:44px;min-height:44px}
}
/* END ui-unify-staff-round2-20261008 */

/* BEGIN ui-touch-targets-20261008 - UI step 4 part A: the touch targets that round 2 (max-width 600 px) left open. Key base (every layout loads base).
   1. Tablets in portrait (601-991 px) with a touch screen (pointer:coarse): exactly the round-2 rules, same selectors, same scope, same bodies, so buttons, fields, check labels, tabs, pagination, dropdown items, table row links, close buttons, sidebar links and topbar controls reach 44 px. Desktop and mouse devices do not change (a mouse-driven narrow window at 601-991 px keeps the desktop sizes on purpose).
   2. Loose checkboxes and radios in labels (filter bars, pill checkboxes, bare label-input pairs in the authoring screens): the hit area of the label grows by 8 px above and below (not sideways, so no horizontal scroll can appear) through an invisible ::after, touch screens only, no layout change. A click on the label (and so on its ::after) toggles the input. The input itself stays small.
   3. Topbars with page actions (Track editor, Unit workspace): the controls keep their 34 px size and position; each gets an invisible ::after hit area (5 px above and below = 44 px high, 2 px left and right = half the 4 px gap), so the topbar height of 54 px and every sticky offset stay as they are. On phones (max-width 575.98 px) the topbar wraps with a 4 px row gap, so the vertical growth is 2 px there.
   4. Skip links: while focused they are at least 44 px high (they were 43.2 px). They are invisible until focus, so nothing else changes.
   Not done on purpose: bare checkboxes in table cells without label (a pseudo-element on an input or on the cell does not toggle it), links in running text (WCAG 2.2 target size, inline exception), landscape tablets and touch laptops from 992 px (decision for Dirk).
   Scope: the tablet rules end in the same scope S as round 2; the label rules in scope L = main area or .oa, not learner preview, portal or organization; the shell rules start with .orsi-shell. Tokens not needed, no literal colours, no important. Appended last, so it wins by source order at equal strength. */
@media (min-width:601px) and (max-width:991.98px) and (pointer:coarse){
.btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-height:44px;min-width:44px}
.btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){padding:calc((44px - 1em) / 2)}
.offcanvas-header .btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.modal-header .btn-close:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){padding:calc((44px - 1em) / 2)}
.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.form-check:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.form-check .form-check-input:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){margin-top:calc((44px - 1em) / 2)}
.form-check-label:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-block;min-height:44px;padding-top:calc((44px - 1.5em) / 2);padding-bottom:calc((44px - 1.5em) / 2)}
.orsi-chip-filter:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px}
.nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;gap:.4em;min-height:44px}
.nav-fill .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.nav-justified .nav-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){justify-content:center}
.pagination:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){flex-wrap:wrap}
.page-link:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
.dropdown-item:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:flex;align-items:center;min-height:44px}
.list-group-item-action:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),summary:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-height:44px;align-content:center}
td>a:not(.btn):not(.badge):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),th>a:not(.btn):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){display:inline-flex;align-items:center;min-height:44px}
a.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),button.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){position:relative}
a.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *))::after,button.badge:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *))::after{content:"";position:absolute;top:-12px;right:-6px;bottom:-12px;left:-6px}
.orsi-shell .orsi-nav-link,.orsi-shell .orsi-sidebar__brand-group{min-height:44px}
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)){padding-top:.29rem;padding-bottom:.29rem}
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)) :is(.orsi-topbar__menu-btn,.orsi-topbar__back-btn,.orsi-topbar__action,.orsi-topbar__install-btn,.orsi-topbar__logout-btn,.orsi-sidebar__collapse-btn){min-width:44px;min-height:44px}
}
@media (pointer:coarse){
label:has(>input[type=checkbox],>input[type=radio]):not(.btn,.form-check-label,.orsi-chip-filter):where(:is(.orsi-main,.oa) *:not(:is(.orsi-lp,.orsi-portal,.orsi-org) *)){position:relative}
label:has(>input[type=checkbox],>input[type=radio]):not(.btn,.form-check-label,.orsi-chip-filter):where(:is(.orsi-main,.oa) *:not(:is(.orsi-lp,.orsi-portal,.orsi-org) *))::after{content:"";position:absolute;top:-8px;right:0;bottom:-8px;left:0}
.orsi-shell .orsi-topbar:has(.orsi-topbar__page-actions) :is(.orsi-topbar__menu-btn,.orsi-topbar__back-btn,.orsi-topbar__action,.orsi-topbar__install-btn,.orsi-topbar__logout-btn,.orsi-sidebar__collapse-btn,.orsi-topbar__page-action){position:relative}
.orsi-shell .orsi-topbar:has(.orsi-topbar__page-actions) :is(.orsi-topbar__menu-btn,.orsi-topbar__back-btn,.orsi-topbar__action,.orsi-topbar__install-btn,.orsi-topbar__logout-btn,.orsi-sidebar__collapse-btn,.orsi-topbar__page-action)::after{content:"";position:absolute;top:-5px;right:-2px;bottom:-5px;left:-2px}
}
@media (pointer:coarse) and (max-width:575.98px){
.orsi-shell .orsi-topbar:has(.orsi-topbar__page-actions) :is(.orsi-topbar__menu-btn,.orsi-topbar__back-btn,.orsi-topbar__action,.orsi-topbar__install-btn,.orsi-topbar__logout-btn,.orsi-sidebar__collapse-btn,.orsi-topbar__page-action)::after{top:-2px;bottom:-2px}
}
.orsi-skip-link:focus,.orsi-skip-link:focus-visible{box-sizing:border-box;display:inline-flex;align-items:center;min-height:44px}
/* END ui-touch-targets-20261008 */

/* BEGIN ui-unify-staff-round3-20261008 - ROUND 3 of the STAFF screens: (1) the real cause of the sideways scrolling of Blocks and Orders, (2) the Contracts Edit action bar at 320 px, (3) the 102 px topbar at 320 px, (4) the last tap targets under 44 px. Key base (the staff shell loads base only).
   (1) CAUSE (found by reading the markup, not by a filter-select theory): every wide table ends in <th><span class="visually-hidden">Actions</span></th>. Bootstrap makes .visually-hidden position:absolute, and .table-responsive is position:static, so the containing block of that 1 px element is the page, not the scroll frame. The frame clips only what it contains, so the 1 px element sits at the far right end of the table (outside the frame) and widens the whole document: scrollWidth 1356 on Blocks at 1280 px, a layout viewport of 1284 px (Blocks) and 644 px (Orders) on a phone. Making the frame the containing block (position:relative) clips it with the table. Nothing is hidden: the table still scrolls inside its frame.
   (2) Contracts Edit: .orsi-actionbar--compact (Save, Reset changes, Back to overview) is a non-wrapping flex row with flex-shrink:0 inside the wrapping tab row, so on a phone it is as wide as its three buttons (about 313 px) and pushes the page 9 px wider than 320 px. At 600 px and below it may wrap and never exceeds its row.
   (3) Topbar at 320 px: an Administrator sees 7 controls (menu, back, search, bell, help, account security, log out) of 44 px = 308 px; with the 10 px side padding and 4 px gaps of the 575 px rule that is 352 px, more than 320 px, so the bar wrapped to two rows (102 px). The name and the active role are already hidden below 576 and 768 px, so no text is left to hide. At 360 px and below the side padding becomes 4 px and the gap 0: 308 + 8 = 316 px, one row, 54.3 px high as before (sticky offsets of 54 px stay valid), every control still 44 x 44 px. Only the optional install-app button (hidden until the browser offers it) is hidden at this width, because an eighth control would wrap the bar again; the browser menu still offers the installation.
   (4) Tap targets at 600 px and below: .orsi-icon-btn 44 x 44 px, and links that are a direct child of a table header or cell get a width of at least 44 px (sorting links such as Order, Lines, Type were 30 to 43 px wide although 44 px high).
   Scope: every main-area rule ends in the same scope as round 1 and 2 = :where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)); it adds no specificity. The only rules outside it are the two .orsi-shell rules in the 360 px media query. Library/Authoring (.oa), learner preview, workspaces, portal, organization and public layouts are not touched. No token, no literal colour, no important: this block has no dependency on the round-1 or round-2 blocks and no rollback order.
   Undo with ORSI_ui_unify_staff_round3_ROLLBACK_20261008.sql. */
.table-responsive:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){position:relative}
@media (max-width:600px){
.orsi-actionbar:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){flex-wrap:wrap;max-width:100%}
.orsi-icon-btn:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-width:44px;min-height:44px}
th>a:not(.btn):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),td>a:not(.btn):not(.badge):where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){min-width:44px}
}
@media (max-width:360px){
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)){column-gap:0;padding-left:4px;padding-right:4px}
.orsi-shell .orsi-topbar:not(:has(.orsi-topbar__page-actions)) .orsi-topbar__install-btn{display:none}
}
/* END ui-unify-staff-round3-20261008 */

/* BEGIN ui-width-cap-staff-20261008 - the Bootstrap staff screens (everything inside the main area of the signed-in shell: Publication, Sales, Admin, Blocks, Notifications ...) get an upper bound for the content of 1920 px, centred beyond. Key base.
   Decision of Dirk (8 October 2026). The Library lists in the Authoring look already stop at 1920 px (ui-width-wrap-20261008, .oa>.wrap), the Bootstrap staff screens had no upper bound at all.
   The cap sits on .orsi-main (the main element, the only child of .orsi-shell__main besides the sticky top bar), not on a wrapper in the pages: there is no common inner wrapper, and the top bar, the Test banner and the fixed sidebar are siblings or ancestors of .orsi-main, so they keep their full width and position. max-width is the content width of 1920 px plus the 2 x 1.5 rem padding that .orsi-main has on desktop (border-box), so the content is exactly 1920 px wide, the same as the .oa wrap, and the lists in the Authoring look do not change at any width. margin-inline:auto centres it in the flex column of .orsi-shell__main (a cross-axis auto margin); the cap binds only when the main area is wider than 1968 px, which is above a viewport of about 2260 px (sidebar open) or 2070 px (sidebar collapsed). At 1920 px and below nothing changes. min(100%, ...) keeps the existing rule max-width:100% of the small-screen block in force.
   Excluded on purpose (the same workspace classes as the other staff scripts): a main area that holds the Track editor (.orsi-track-workspace), or the Unit workspace (.orsi-unit-workspace) keeps its own width behaviour. The portal, organization and public layouts have no .orsi-shell or .orsi-main and are not matched. Specificity (.orsi-shell__main>.orsi-main:not(:has(...))) is higher than the base rule, so no important is needed. Undo with ORSI_ui_width_cap_staff_ROLLBACK_20261008.sql. */
.orsi-shell__main>.orsi-main:not(:has(.orsi-track-workspace,.orsi-unit-workspace)){max-width:min(100%,calc(1920px + 3rem));margin-inline:auto}
/* END ui-width-cap-staff-20261008 */

/* BEGIN ui-library-screens-20261008 - the seven Library menu screens (Track authoring, Blocks, Program authoring, Variant authoring, Files, Review workbench, Release readiness) get ONE header, ONE filter look, controls with a visible rim and the same font sizes. Key base (the staff shell loads base on every one of them, also on the .oa screens that load intern AFTER base).
   Decisions of Dirk (8 October 2026): (1) header: title and subtitle left, page actions right on the same row (secondary first, primary last), the same h1 position on all seven; (2) filter and search: the Track authoring look everywhere; (3) contrast: borders of controls reach 3 to 1; (4) Review workbench has one role switch (Razor, not CSS); (5) one table header size and one button size; (6) Files takes part.
   Scope: the screens carry the class orsi-libscreen. The four .oa screens (Track authoring, Program authoring, Variant authoring, Review workbench) carry it on the .oa root (class oa orsi-libscreen); the three Bootstrap screens (Blocks, Release readiness, Files) wrap their content in a div with that class. Every selector below starts with .orsi-main .orsi-libscreen or .orsi-main .oa.orsi-libscreen, so no other screen changes: ContentArchive, ODES report, Track editor, Unit workspace, Website editor, the learner views, the portal and every other Bootstrap staff screen have no orsi-libscreen element and are not matched. .orsi-main is only present in the staff layout.
   Cascade: the .oa screens load base first and intern after it, and intern rules such as .oa .btn, .oa .wrap, .oa select, .oa .chip, .oa .search input have a strength of 0,2,0 up to 0,2,1 (hover and pressed rules 0,3,0). Every rule below has a strength of at least 0,3,0 (and 0,4,0 for the .oa rules on buttons, chips and fields), which beats those rest-state rules although intern is later in the cascade. The hover and pressed rules of intern (0,3,0) are never raced: the rest-state rules of the .oa screens leave those states out with :where(:not(...)), which adds no strength. The Bootstrap screens are matched at 0,3,0 or more against Bootstrap rules of 0,1,0 up to 0,2,0 and the staff rules of 8 October that use :where (0,1,0); buttons are changed through the --bs-btn-* variables so the Bootstrap hover rules keep working. No important is used at all.
   Token: --orsi-ui-rim-strong is a cool grey for the border of buttons, inputs, selects, chips and search fields. Contrast against the surfaces it sits on (WCAG 1.4.11, minimum 3 to 1): 3.75 to 1 on white (cards, buttons, selects), 3.46 to 1 on the page background f2f6fb, 3.39 to 1 on the search field fill f0f4f5, 3.35 to 1 on the table header surface eef3f4. The old border c8d3d6 only reached 1.53 to 1 on white. --orsi-ui-field-fill (f0f4f5) is the grey fill of the search field, the same value as the Authoring inset. Both tokens live only in this :root block; no colour value is written anywhere else in the block.
   Hover, pressed and focus keep passing: hover borders stay teal (4.89 to 1 on white), the 3 px focus ring of the earlier scripts is untouched, primary buttons keep the teal fill (white on teal 4.89 to 1). Row buttons that were ghost buttons without any border (Open block, Save, arrows, Make neutral) now show the same rim at rest; their height does not change because they already had a transparent 1 px border. The open icon buttons of the Blocks rows (orsi-icon-btn--preview, Open track authoring) also get the rim at rest and a teal border on hover: decision 3 of 8 October 2026 reverses, for the Blocks rows only, the earlier request of Dirk for no border around the open icon; their height does not change because the transparent 1 px border was already there.
   Not touched on purpose: the 44 px touch rules of the earlier scripts (this block sets no min-height, so min-height 44 on narrow and touch screens still wins), the focus ring, the width rules (.oa>.wrap max-width, .orsi-main max-width), the dark theme of the .oa screens. Depends on the round-1 staff block of 8 October (marker ui-unify-staff-20261008, key base), which defines the --orsi-ui-ink, --orsi-ui-muted, --orsi-ui-slate, --orsi-ui-teal and --orsi-ui-surface-2 tokens used here; the script refuses to run without it, and a rollback of that block must come after the rollback of this one. Undo with ORSI_ui_library_screens_ROLLBACK_20261008.sql. */
:root{--orsi-ui-rim-strong:#78868d;--orsi-ui-field-fill:#f0f4f5}
/* 1. Position. The .oa screens added 20 px left and 28 px top padding in .oa .wrap, so their h1 stood at x 304 / y 102 against x 284 / y 74 on the Bootstrap screens. The wrap keeps its max-width and its centring, only the padding goes; the main area padding (1.5 rem) is the one gutter for all seven. */
.orsi-main .oa.orsi-libscreen>.wrap{padding-inline:0;padding-block:0}
/* 2. Header: title and subtitle on the left, the actions group on the right of the same row. The text block may shrink to 24 rem so a long subtitle never pushes the actions to a second line (Program authoring and Variant authoring did that); on a narrow screen the row wraps and the actions drop below. */
.orsi-main .orsi-libscreen .orsi-page-header{align-items:flex-start;margin-bottom:18px}
.orsi-main .orsi-libscreen :is(header.top,.orsi-page-header)>div:first-child{flex:1 1 24rem;min-width:0}
.orsi-main .orsi-libscreen :is(.orsi-page-header__title,header.top h1){font-size:1.5rem;font-weight:600;letter-spacing:-.01em;line-height:1.25;margin:0;color:var(--orsi-ui-ink)}
.orsi-main .orsi-libscreen :is(.orsi-page-header__subtitle,header.top .sub){color:var(--orsi-ui-muted);font-size:.9rem;line-height:1.5;margin:.25rem 0 0}
.orsi-main .orsi-libscreen header.top .top__actions{flex:0 0 auto;margin-left:auto;justify-content:flex-end}
.orsi-main .orsi-libscreen .orsi-page-header>.btn{flex:0 0 auto;margin-left:auto}
/* The header buttons are 34 px high on all seven (14 px text, line-height 1, 9 px padding above and below, 1 px border), the same radius and the same side padding. No min-height here, so the 44 px touch rules still apply on narrow screens. */
.orsi-main .orsi-libscreen :is(header.top .top__actions>.btn,header.top .top__actions>details>summary.btn,.orsi-page-header>.btn){box-sizing:border-box;display:inline-flex;align-items:center;gap:.45rem;font-size:.875rem;font-weight:500;line-height:1;padding:9px .85rem;border-radius:8px}
/* 3. One button size: 14 px on all seven screens (it was 16 px, 14 px and 13.12 px). */
.orsi-main .orsi-libscreen .btn{font-size:.875rem}
/* The small Bootstrap button gets the padding of the small Authoring button (btn--sm: 0.4 rem and 0.6 rem, line-height 1), so Reset, Export CSV and the text row buttons are 28.8 px high on all seven (they were 31 px on the Bootstrap screens). */
.orsi-main .orsi-libscreen:not(.oa) .btn-sm:where(:not(.orsi-icon-btn)){padding:.4rem .6rem;line-height:1}
/* The open icon button in the Blocks rows: rim at rest, teal border on hover (the other staff row buttons already have both). */
.orsi-main .orsi-libscreen:not(.oa) .orsi-icon-btn--preview{--bs-btn-border-color:var(--orsi-ui-rim-strong);--bs-btn-hover-border-color:var(--orsi-ui-teal)}
/* 4. Rim of the buttons. .oa screens: the rest state of every button except the primary and the link button gets the rim (also the ghost buttons); hover and pressed are left to intern, so the teal hover border keeps working. */
.orsi-main .oa.orsi-libscreen .btn:where(:not(.btn--primary,.btn--link,:hover)){border-color:var(--orsi-ui-rim-strong)}
/* Bootstrap screens: the outline and secondary buttons take the rim through their own variables, which leaves the teal hover border of the earlier staff script alone. */
.orsi-main .orsi-libscreen:not(.oa) :is(.btn-secondary,.btn-outline-secondary,.btn-outline-danger){--bs-btn-border-color:var(--orsi-ui-rim-strong);--bs-btn-disabled-border-color:var(--orsi-ui-rim-strong)}
/* Reset in the Bootstrap filter cards was a bare text link; it becomes the same bordered small button as Reset filters on Track authoring. */
.orsi-main .orsi-libscreen:not(.oa) .orsi-filter-clear-link{--bs-btn-color:var(--orsi-ui-ink);--bs-btn-bg:var(--orsi-card);--bs-btn-border-color:var(--orsi-ui-rim-strong);--bs-btn-hover-color:var(--orsi-ui-ink);--bs-btn-hover-bg:var(--orsi-ui-surface-2);--bs-btn-hover-border-color:var(--orsi-ui-teal);--bs-btn-active-color:var(--orsi-ui-ink);--bs-btn-active-bg:var(--orsi-ui-surface-2);--bs-btn-active-border-color:var(--orsi-ui-teal);text-decoration:none}
/* 5. Rim of fields: inputs, textareas and selects (.oa screens, not hover or focus based, so they need no exclusion) and the Bootstrap fields, search group and button group of the filter bars (not while focused, so the teal focus border of the staff script stays). */
.orsi-main .oa.orsi-libscreen :is(select,textarea,.f,input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=range],[type=color])){border-color:var(--orsi-ui-rim-strong)}
.orsi-main .orsi-libscreen:not(.oa) :is(.form-control,.form-select,.input-group-text):where(:not(:focus)){border-color:var(--orsi-ui-rim-strong)}
/* 6. Filter card: the Track authoring toolbar look (white card, radius 10, border, shadow, 12 px padding, gaps 12 and 16 px). The Bootstrap cards had 16 px padding and a divider line above the filters. */
.orsi-main .orsi-libscreen:not(.oa) .orsi-filter-card{padding:12px}
.orsi-main .orsi-libscreen:not(.oa) .orsi-filter-card .orsi-list-filters{gap:12px 16px;border-top:0;margin-top:0;padding-top:0}
.orsi-main .orsi-libscreen:not(.oa) .orsi-filter-card .orsi-list-filters__group{gap:6px}
/* Search field: 42 px high, 16 px text, grey fill, full width on its own row (Track authoring); the Release readiness group keeps its Apply filters button at the end of the field. */
.orsi-main .orsi-libscreen:not(.oa) .orsi-list-filters__group--search{flex:1 1 100%}
.orsi-main .orsi-libscreen:not(.oa) .orsi-filterbar__search{flex:1 1 100%;width:100%;max-width:none;min-width:0}
.orsi-main .orsi-libscreen:not(.oa) .orsi-filterbar__search>:is(.form-control,.input-group-text){font-size:1rem;padding-block:.5rem;background-color:var(--orsi-ui-field-fill)}
/* Labels: small uppercase, one colour and one letter spacing. */
.orsi-main .orsi-libscreen :is(.lbl,.orsi-list-filters__label){font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--orsi-ui-slate)}
/* Selects of the filter bars: 34 px high, 13.12 px text, on all five (it was 34 px on the .oa screens and 33 px on the Bootstrap screens). height, not min-height, so the 44 px touch rule still wins. */
.orsi-main .orsi-libscreen :is(.toolbar,.orsi-list-filters) select{font-size:.82rem;height:34px}
/* Chips: 28 px high pills with a rim, the same on the .oa chips and the Blocks status chips. The pressed .oa chip keeps its teal border and fill. The native checkbox inside a Blocks chip loses its own margin so it does not stretch the pill. */
.orsi-main .oa.orsi-libscreen .toolbar .chip{display:inline-flex;align-items:center;line-height:1;padding:.41rem .7rem;font-size:.8rem}
.orsi-main .oa.orsi-libscreen .chip:where(:not([aria-pressed="true"])){border-color:var(--orsi-ui-rim-strong)}
.orsi-main .orsi-libscreen:not(.oa) .orsi-chip-filter{font-size:.8rem;line-height:1;gap:.35rem;padding:.41rem .7rem .41rem .55rem;border-radius:999px;background:var(--orsi-card);border-color:var(--orsi-ui-rim-strong);color:var(--orsi-ui-muted)}
.orsi-main .orsi-libscreen:not(.oa) .orsi-chip-filter>input{margin:0;flex:none}
/* Reset and Export sit at the end of the filter card on all of them: Track authoring pushes Reset filters to the end of its last row, as the Bootstrap cards already do with ms-auto. */
.orsi-main .oa.orsi-libscreen #oa-reset{margin-left:auto}
/* 7. Table headers: the Authoring raster header is 13.6 px (0.85 rem) at weight 600; the Bootstrap tables used 16 px. */
.orsi-main .orsi-libscreen:not(.oa) .table>thead>tr>th{font-size:.85rem;font-weight:600}
/* END ui-library-screens-20261008 */



/* BEGIN pp-start-image-20261009 - the start image on the program presentation (trainee preview /Portal/Programs/{family} and staff preview), like the course overview of the prototype. Key base. Mobile first, tokens only, no !important.
   One card: image and the title block side by side from 48rem; on a phone the image comes first and the title block below it. The image keeps its space through aspect-ratio (4/3 on a phone) or through the row height (from 48rem), so nothing moves when it loads. Without an image the header keeps the old plain look (the --split class is only added with an image). Shared partial: Pages/Shared/_ProgramPresentation.cshtml. */
.pp__intro--split{display:grid;grid-template-columns:minmax(0,1fr);margin:0 0 1rem;background:var(--orsi-card);border:1px solid var(--orsi-line);border-radius:var(--orsi-radius);overflow:hidden}
.pp__intro--split .pp__hero{margin:0}
.pp__intro--split .pp__hero-img{width:100%;height:auto;max-height:none;aspect-ratio:4/3;border-radius:0}
.pp__intro--split .pp__header{margin:0;padding:1rem}
@media (min-width:48rem){
.pp__intro--split{grid-template-columns:repeat(2,minmax(0,1fr))}
.pp__intro--split .pp__hero{position:relative;min-height:16rem}
.pp__intro--split .pp__hero-img{position:absolute;top:0;left:0;height:100%;aspect-ratio:auto}
.pp__intro--split .pp__header{display:flex;flex-direction:column;justify-content:center;padding:1.5rem}
}
/* END pp-start-image-20261009 */

/* BEGIN orsi-filterbar-track-20261014 - the shared list filter bar (Pages/Shared/_ListFilterBar.cshtml) gets the layout of the Track authoring screen on every list. Key base. Tokens only.
   Decision of Dirk (14 October 2026): the search and filter layout of Track authoring is THE layout for every list screen: the search field full width on top, then one labelled row per chip group (Type, Status, ...), a row of labelled selects, and a last row with Sort and Reset filters at the end.
   The classes are all orsi-filterbar*, so no other screen changes. The partial puts them on the form itself; the old compact bar (small inline input group, unlabelled selects, a Reset link) is gone.
   Chips are real checkboxes or radio buttons inside a label: the input is invisible but stays focusable, the face next to it is the pill. A checked chip takes the pressed look of Track authoring (teal fill, teal border). The coloured status dots are tokens: ok = leaf, in progress = amber, test = purple, imported = slate.
   Needs the tokens of ui-unify-staff-20261008 and ui-library-screens-20261008 (key base), so the script refuses to run without them. Undo with ORSI_filterbar_track_css_ROLLBACK_20261014.sql. */
.orsi-main form.orsi-filterbar{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px;margin:0}
.orsi-main .orsi-filterbar__row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;min-width:0}
.orsi-main .orsi-filterbar__group{gap:6px}
.orsi-main .orsi-filterbar__search{flex:1 1 100%;width:100%;max-width:none;min-width:0}
.orsi-main .orsi-filterbar__search>:is(.form-control,.input-group-text){font-size:1rem;padding-block:.5rem;background-color:var(--orsi-ui-field-fill);border-color:var(--orsi-ui-rim-strong)}
.orsi-main .orsi-filterbar__search>.form-control:focus{border-color:var(--orsi-ui-teal)}
.orsi-main .orsi-filterbar__label{font-size:.72rem;font-weight:400;text-transform:uppercase;letter-spacing:.06em;color:var(--orsi-ui-slate);margin:0 2px 0 0}
.orsi-main .orsi-filterbar__field{display:inline-flex;align-items:center;gap:6px}
.orsi-main .orsi-filterbar :is(select,input[type=text]){width:auto;height:34px;font-size:.82rem;border-color:var(--orsi-ui-rim-strong)}
.orsi-main .orsi-filterbar__chip{position:relative;display:inline-flex;margin:0;cursor:pointer}
.orsi-main .orsi-filterbar__chip>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.orsi-main .orsi-filterbar__chip-face{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;line-height:1;padding:.41rem .7rem;border-radius:999px;border:1px solid var(--orsi-ui-rim-strong);background:var(--orsi-card);color:var(--orsi-ui-muted);white-space:nowrap}
.orsi-main .orsi-filterbar__chip:hover>input:not(:checked)+.orsi-filterbar__chip-face{border-color:var(--orsi-ui-teal)}
.orsi-main .orsi-filterbar__chip>input:checked+.orsi-filterbar__chip-face{background:var(--orsi-ui-teal-soft);color:var(--orsi-ui-teal-text);border-color:var(--orsi-ui-teal)}
.orsi-main .orsi-filterbar__chip>input:focus-visible+.orsi-filterbar__chip-face{outline:2px solid var(--orsi-ui-teal);outline-offset:2px}
.orsi-main .orsi-filterbar__direction .orsi-filterbar__chip-face{min-width:2rem;justify-content:center;font-size:.9rem}
.orsi-main .orsi-filterbar__dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}
.orsi-main .orsi-filterbar__dot--ok{background:var(--orsi-ui-leaf)}
.orsi-main .orsi-filterbar__dot--wip{background:var(--orsi-ui-amber)}
.orsi-main .orsi-filterbar__dot--test{background:var(--orsi-purple)}
.orsi-main .orsi-filterbar__dot--imported{background:var(--orsi-ui-slate)}
.orsi-main .orsi-filterbar :is(.orsi-filterbar__apply,.orsi-filterbar__button,.orsi-filterbar__reset){margin-left:auto}
.orsi-main .orsi-filterbar :is(.orsi-filterbar__apply,.orsi-filterbar__button,.orsi-filterbar__reset)~:is(.orsi-filterbar__apply,.orsi-filterbar__button,.orsi-filterbar__reset){margin-left:0}
.orsi-main .orsi-filterbar label.orsi-filterbar__chip::after{content:none}
@media (pointer:coarse){.orsi-main .orsi-filterbar__chip-face{min-height:44px}.orsi-main .orsi-filterbar :is(select,input[type=text]){min-height:44px}}
/* END orsi-filterbar-track-20261014 */











/* BEGIN orsi-filterbar-polish2-20261014 - one filter layout on every list screen: a framed panel, one label column, and a small quiet search field that sits in the column of the chips. Key base. Tokens only.
   Decision of Dirk (14 October 2026), after the polish block: take the SEARCH of Program authoring (small, white, about 24 rem) and the ALIGNMENT of Track authoring (the labels Type, Status, Variant, Sort have one fixed column, so the chips and the first select all start at the same place), and let the search field step in to that same place, level with the first chip. For ALL screens: the shared filter bar (orsi-filterbar*) and the Track authoring toolbar (#oa-overview-filters, with the new search row wrapper).
   The label column is one custom property (--orsi-filterbar-label, 6.25 rem) per bar; the search margin is that width plus the 6 px gap that the chips have after their label. On a narrow screen the column and the indent are switched off. A bar that the partial already wraps in a card keeps that card as its only frame.
   Third pass: chips that wrap to a second line start under the first chip, not under the label (the group has a left padding of the label column and its label a matching negative margin).
   Second pass (same day, after the first look on TEST): the label and the first label of a row get a real WIDTH (a flex-basis was ignored when the row measured its fields, so the selects ran under the next label), and the search rules are written with a doubled class so they beat the library screens rule (grey, 1 rem) on Blocks and Release readiness.
   This block REPLACES the polish block of ORSI_filterbar_polish_css_20261014.sql (the script removes that block first). Undo with ORSI_filterbar_polish2_css_ROLLBACK_20261014.sql. */
.orsi-main form.orsi-filterbar{--orsi-filterbar-label:6.25rem;margin:12px 0 16px;padding:12px 14px;background:var(--orsi-card);border:1px solid var(--orsi-ui-rim-strong);border-radius:10px}
.orsi-main .orsi-card>form.orsi-filterbar{margin:0;padding:0;background:transparent;border:0;border-radius:0}
.orsi-main form.orsi-filterbar .orsi-filterbar__row .orsi-filterbar__search{flex:0 1 24rem;width:24rem;max-width:100%;min-width:12rem;margin-left:calc(var(--orsi-filterbar-label) + 6px)}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search .form-control,.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search .input-group-text{font-size:.85rem;height:34px;padding-block:0;background-color:var(--orsi-card);border-color:var(--orsi-ui-rim-strong)}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search>.input-group-text{border-radius:8px 0 0 8px}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search>.form-control{border-radius:0 8px 8px 0}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__field :is(select,input[type=text]){font-size:.85rem;height:34px}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__chip-face{font-size:.8rem;line-height:1;padding:.41rem .7rem}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search .form-control:focus{border-color:var(--orsi-ui-teal)}
.orsi-main form.orsi-filterbar .orsi-filterbar__group>.orsi-filterbar__label:first-child{box-sizing:border-box;flex:none;width:var(--orsi-filterbar-label);margin:0 0 0 calc(-1*(var(--orsi-filterbar-label) + 6px))}
.orsi-main form.orsi-filterbar .orsi-filterbar__group{padding-left:calc(var(--orsi-filterbar-label) + 6px)}
.orsi-main form.orsi-filterbar :is(.orsi-filterbar__fields,.orsi-filterbar__sort)>.orsi-filterbar__field:first-child>.orsi-filterbar__label{box-sizing:border-box;flex:none;width:var(--orsi-filterbar-label);margin:0}
.orsi-main #oa-overview-filters{--orsi-filterbar-label:6.25rem}
.orsi-main #oa-overview-filters .orsi-filterbar__searchrow{flex:1 1 100%;display:flex;min-width:0}
.orsi-main #oa-overview-filters .orsi-filterbar__searchrow .search{flex:0 1 24rem;max-width:24rem;min-width:12rem;margin-left:calc(var(--orsi-filterbar-label) + 6px)}
.orsi-main #oa-overview-filters .orsi-filterbar__searchrow .search input{font-size:.85rem;height:34px;box-sizing:border-box;border-radius:8px;padding-block:0;background:var(--orsi-card);border-color:var(--orsi-ui-rim-strong)}
.orsi-main #oa-overview-filters .grp>.lbl:first-child{box-sizing:border-box;flex:none;width:var(--orsi-filterbar-label);margin:0}
@media (max-width:575.98px){.orsi-main form.orsi-filterbar .orsi-filterbar__group{padding-left:0}.orsi-main form.orsi-filterbar .orsi-filterbar__group>.orsi-filterbar__label:first-child{margin:0}.orsi-main form.orsi-filterbar .orsi-filterbar__row .orsi-filterbar__search,.orsi-main #oa-overview-filters .orsi-filterbar__searchrow .search{margin-left:0;width:100%;flex-basis:100%;max-width:100%}.orsi-main form.orsi-filterbar .orsi-filterbar__group>.orsi-filterbar__label:first-child,.orsi-main form.orsi-filterbar :is(.orsi-filterbar__fields,.orsi-filterbar__sort)>.orsi-filterbar__field:first-child>.orsi-filterbar__label,.orsi-main #oa-overview-filters .grp>.lbl:first-child{width:auto}}
/* END orsi-filterbar-polish2-20261014 */

/* BEGIN orsi-type-scale-20261016 - one type scale for the staff screens. Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_type_scale_css_20261016.sql).
   Decision of Dirk (16 October 2026, after measuring the live screens): page title 24 px (unchanged), section title 16 px semibold (was 20 px on Sales, Admin and Publication, 16 px on the order cards),
   table text 14 px (was 16 px in Sales and Admin, 13.6 px in the Library lists), buttons 14 px (was 14 and 16 side by side), filter labels 12.5 px (was 11.5 px). Body text, form fields and helper text stay as they are.
   The writing workspaces (.oa, .orsi-lp, the track and unit workspace) keep their own compact scale and are left out on purpose. Every rule starts with .orsi-main. Undo with ORSI_type_scale_css_ROLLBACK_20261016.sql. */
.orsi-main .h5:where(:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:1rem}
.orsi-main table:where(:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)) :is(th,td){font-size:.875rem}
.orsi-main .btn:not(.btn-lg):where(:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.875rem}
.orsi-main .orsi-filterbar .orsi-filterbar__label{font-size:.78rem}
/* END orsi-type-scale-20261016 */

/* BEGIN orsi-password-reveal-20261016 - hides the own show/hide eye of the browser and clear cross in password fields (the application has its own Show/Hide button). Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_password_reveal_css_20261016.sql). Undo with ORSI_password_reveal_css_ROLLBACK_20261016.sql. */
input[type=password]::-ms-reveal,input[type=password]::-ms-clear{display:none}
/* END orsi-password-reveal-20261016 */

/* BEGIN orsi-discussion-panel-20261018 - the track discussion panel: an open Participants block keeps a maximum height and scrolls inside itself; the drag handle on the left edge is a thin strip with a resize cursor. Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_discussion_panel_css_20261018.sql). Undo with ORSI_discussion_panel_css_ROLLBACK_20261018.sql. */
.orsi-disc__people{max-height:40vh; overflow-y:auto}
.orsi-disc__resize{width:8px; cursor:col-resize}
.orsi-disc__resize:hover,.orsi-disc__resize:focus-visible{background:color-mix(in srgb, var(--orsi-deep) 30%, transparent)}
/* END orsi-discussion-panel-20261018 */

/* BEGIN orsi-topbar-label-badge-20261018 - (1) the active-roles control of the top bar stays on one line with an ellipsis on a phone (the full list stays in its title and accessible name); (2) the top bar badge never wraps or clips, and the Discussion badge has a little more room on both sides for four characters. Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_topbar_label_and_badge_css_20261018.sql). Undo with ORSI_topbar_label_and_badge_css_ROLLBACK_20261018.sql.
   (1) Same selector and same media query as the rule of ORSI_ui_phone_role_switch_20261008.sql that shows the control on the Library screens (it keeps its width cap, height and border; the longer label of 17 October 2026 is cut by the ellipsis instead of growing). Same declarations as the base rule, repeated on purpose so that no later rule can make the label wrap into tall lines. The single-role variant (a span) gets the same three lines and looks the same.
   (2) The badge keeps its size, ring and colours (min-width 16 px, padding 0 3 px, pill): nothing changes for the bell and the help badge. It may grow to the left with its text (width auto, no maximum, never clipped, never wrapped). The Discussion badge only (data-disc-badge) gets 5 px on both sides. */
@media (max-width:767.98px){
.orsi-shell:has(.orsi-main .orsi-libscreen) .orsi-topbar .orsi-topbar__active-role{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.orsi-topbar__badge{box-sizing:border-box;width:auto;max-width:none;overflow:visible;white-space:nowrap}
.orsi-topbar__badge[data-disc-badge]{padding-inline:5px}
/* END orsi-topbar-label-badge-20261018 */

/* BEGIN orsi-type-scale-2-20261019 - second type scale round for the STAFF screens only. Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_type_scale_2_css_20261019.sql). Undo with ORSI_type_scale_2_css_ROLLBACK_20261019.sql.
   Decision of Dirk (19 October 2026, after measuring the live screens). Scale in px: 12 = badges, chips, hints, captions (never smaller on a staff screen); 13 = dense table cells, labels, secondary text; 14 = body text, tables, forms, buttons; 16 = card and section titles (semibold); 20 = title of a detail page with a long name; 24 = title of an overview page (unchanged).
   Additive: this block is appended after orsi-type-scale-20261016 and wins by specificity or by coming later (the intern stylesheet is linked AFTER base, so every .oa rule here is written with a higher specificity than the intern rule it replaces, never with important; a list inside :is takes the strength of its strongest member, so compound selectors have their own rule). It deliberately OVERRIDES one rule of the 16 October block, with the same selector and by coming later: the label of the filter bar (12.5 px becomes 13 px, the scale size for labels). The Release readiness help headings (class h5, 16 px in the 16 October block) only gain semibold. The Library screens block of 8 October, the filter bar blocks of 14 October and the unify blocks are rounded by rules with the same selector as the rule they replace.
   Every selector starts with .orsi-main, the shell of the signed-in staff screens (only _Layout.cshtml emits it; the portal, the organisation portal, the public site, the block sample frame, the chromeless authoring preview and the signed-out screens do not). Each rule is anchored to a page hook (.oa.odes-page, .oa.pe-page, .orsi-libscreen, the Release readiness help, the two workspaces) or carries the standard exclusion of learner content (.oa and the learner view roots .orsi-lp, .orsi-blk, .orsi-unit-view, the program preview .pp-page and .pp, and the two workspaces). .orsi-lp is the learner view root, NOT a staff workspace: it only ever appears inside the exclusion.
   There is no global rule for headings without a class: the only one is tied to the ODES report pages. Sizes used: .75rem (12), .8125rem (13), .875rem (14), 1rem (16), 1.25rem (20); nothing else. Not touched on purpose: the Bootstrap utility fs-5 (important) of the page subject line, sizes under 12 px in the two workspaces, the Website editor, anything learner facing.
   1. The three ODES screens (Track report, Unit report, Sign-off checklist). 2. The help of Release readiness. 3. The Program editor. 4. Rounding of the other staff screens (Bootstrap screens, Library lists, filter bars). 5. Rounding and hierarchy of the Track editor and the Unit workspace. */
.orsi-main .oa.odes-page{font-size:.875rem}
.orsi-main .oa.odes-page .odes-h1{font-size:1.25rem;font-weight:600}
.orsi-main .oa.odes-page .odes-h2{font-size:1rem;font-weight:600}
.orsi-main .oa.odes-page :is(h2,h3,h4):where(:not([class])){font-size:1rem;font-weight:600}
.orsi-main .oa.odes-page .odes-table{font-size:.875rem}
.orsi-main .oa.odes-page :is(.odes-lede,.odes-verdict__note,.odes-progress__count,.odes-metric__unit,.helpnote,.btn,.f,select){font-size:.875rem}
.orsi-main .oa.odes-page :is(.odes-small,.odes-req__rule,.odes-metric__note,.note,.ltab,.odes-table--compact){font-size:.8125rem}
.orsi-main .oa.odes-page .odes-glossary dl{font-size:.8125rem}
.orsi-main .oa.odes-page :is(.odes-pill,.st,.badge,.odes-metric__label,.odes-field,.odes-req__code,.odes-req__by,.odes-legend){font-size:.75rem}
.orsi-main .oa.odes-page :is(td,th) .note{font-size:.75rem}
.orsi-main .orsi-libscreen :is(#publication-workflow,[data-authoring-guide]){font-size:.875rem}
.orsi-main .orsi-libscreen :is(#publication-workflow,[data-authoring-guide]) :is(h2,h3,h4){font-size:1rem;font-weight:600}
.orsi-main .orsi-libscreen [data-authoring-guide] .small{font-size:.75rem}
.orsi-main .oa.pe-page .tb-title{font-size:1.25rem}
.orsi-main .oa.pe-page .card>h2{font-size:1rem;font-weight:600}
.orsi-main .oa.pe-page .card>:where(p,ul,ol,dl){font-size:.875rem}
.orsi-main .oa.pe-page :is(.btn,.f,select,.ro,.tab,.helpnote){font-size:.875rem}
.orsi-main .oa.pe-page table.raster{font-size:.875rem}
.orsi-main .oa.pe-page :is(.csub,.note,.hint,.flag-inline,.ltab){font-size:.8125rem}
.orsi-main .oa.pe-page .field>label,.orsi-main .oa.pe-page .checks label,.orsi-main .oa.pe-page .raster thead th{font-size:.8125rem}
.orsi-main .oa.pe-page :is(.st,.badge,.tag,.av,.av-chip,.tb-code,.slot__code,.slot__role,.lang-name,.legend){font-size:.75rem}
.orsi-main .oa.pe-page :is(td,th) .note{font-size:.75rem}
.orsi-main :is(.form-control,.form-select):where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.875rem}
.orsi-main .input-group>.input-group-text:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.875rem}
.orsi-main :is(.form-control-sm,.form-select-sm):where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.8125rem}
.orsi-main .input-group-sm>.form-control:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)),.orsi-main .input-group-sm>.form-select:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)),.orsi-main .input-group-sm>.input-group-text:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.8125rem}
.orsi-main .badge:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.75rem}
.orsi-main .orsi-status:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace,.orsi-tree-node__status) *)){font-size:.75rem}
.orsi-main :is(.orsi-crumbs,.orsi-detail-note,.orsi-level-tag):where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.75rem}
.orsi-main .orsi-detail-title:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:1rem}
.orsi-main .orsi-detail-sub:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.8125rem}
.orsi-main .orsi-welcome-hero__error:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.875rem}
.orsi-main .orsi-libscreen :is(.orsi-page-header__subtitle,header.top .sub){font-size:.875rem}
.orsi-main .orsi-libscreen :is(.lbl,.orsi-list-filters__label){font-size:.75rem}
.orsi-main .orsi-libscreen :is(.toolbar,.orsi-list-filters) select{font-size:.8125rem}
.orsi-main .oa.orsi-libscreen .toolbar .chip{font-size:.8125rem}
.orsi-main .orsi-libscreen:not(.oa) .orsi-chip-filter{font-size:.8125rem}
.orsi-main .orsi-libscreen:not(.oa) .table>thead>tr>th{font-size:.875rem}
.orsi-main .orsi-filterbar .orsi-filterbar__label{font-size:.8125rem}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search .form-control,.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__search .input-group-text{font-size:.875rem}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__field :is(select,input[type=text]){font-size:.875rem}
.orsi-main form.orsi-filterbar.orsi-filterbar .orsi-filterbar__chip-face{font-size:.8125rem}
.orsi-main #oa-overview-filters .orsi-filterbar__searchrow .search input{font-size:.875rem}
.orsi-main .oa.orsi-libscreen :is(.st,.tag,.badge,.spill,.av,.av-chip,.tcode,.lang-name,.legend,.grid-title,.lbl,.rvw-count,.rvw-track__name,.src-tag,.cnum,.note){font-size:.75rem}
.orsi-main .oa.orsi-libscreen :is(.counts,.rvw-item__ctx,.chip){font-size:.8125rem}
.orsi-main .oa.orsi-libscreen :is(.f,.sub,.tab,.rvw-lang__name,.rvw-item__title){font-size:.875rem}
.orsi-main .oa.orsi-libscreen table.raster{font-size:.875rem}
.orsi-main .oa.orsi-libscreen .card>h2,.orsi-main .oa.orsi-libscreen .rvw-section__head h2{font-size:1rem;font-weight:600}
.orsi-main .oa.orsi-track-workspace .ted-track-title{font-size:1rem}
.orsi-main .oa.orsi-track-workspace .blockhead h2{font-size:1rem}
.orsi-main .oa.orsi-track-workspace .card>h2{font-size:1rem}
.orsi-main .oa.orsi-track-workspace .ted-odes-summary h3{font-size:1rem}
.orsi-main .oa.orsi-track-workspace :is(.node--track,.node--module){font-size:.875rem}
.orsi-main .oa.orsi-track-workspace :is(.node--unit,.node--block){font-size:.8125rem}
.orsi-main .oa.orsi-track-workspace .node__type{font-size:.75rem}
.orsi-main .oa.orsi-unit-workspace .uw__blockhead--selected h2{font-size:1rem}
.orsi-main .oa.orsi-unit-workspace .uw-panel-intro h3{font-size:1rem}
/* END orsi-type-scale-2-20261019 */

/* BEGIN orsi-type-scale-3-20261019 - third type scale round for the STAFF screens only: the stragglers that Dirk measured on the live app after the second round. Key base. Not served from this file: the database is (mirror, byte for byte, of the block in ORSI_type_scale_3_css_20261019.sql). Undo with ORSI_type_scale_3_css_ROLLBACK_20261019.sql (roll back in the order 3, then 2, then 1).
   Same scale as the second round (px): 12 = badges, chips, hints, captions (nothing smaller on a staff screen); 13 = dense table cells, labels, secondary text; 14 = body text, tables, forms, buttons; 16 = card and section titles (semibold); 20 = title of a detail page; 24 = title of an overview page (unchanged). In CSS only .75rem, .8125rem, .875rem, 1rem and 1.25rem are used.
   Additive: this block is appended after orsi-type-scale-2-20261019 (the script refuses to run without it) and only changes font sizes. Every rule is written with a higher specificity than the rule it replaces and never with important (a rule of the intern stylesheet that names an id, such as the Review panel of the Track editor, is answered with the same id). A list inside :is takes the strength of its strongest member, so every list here holds simple selectors only.
   What was measured and is changed: 1. Release readiness (Library/Publication): the second lines in the table cells were 12.25 px (the Bootstrap small class is .875em, and the cell is 14 px), now 12 px; the blocker and note lists of the evidence column are content, not second lines, and become 13 px; the language tag of a row was 11.52 px, now 12 px; the hidden search label of the filter bar (1 px wide, read by the measuring script as a 16 px label) is set to 13 px. The same small rule rounds every Bootstrap staff table. 2. The subtitle of the page header (14.4 px, Users and every other page header outside the Library screens) becomes 14 px. 3. Home (My work): the figures of the library strip were 14.4 px and 17.6 px, now 14 px and 16 px. 4. Track editor: the buttons of the Review tab, the language tabs and the tab strip are 13 px; the six figures of Ready for review were 21 px, now 20 px; kickers, review captions, the node tags in the tree and the pane and item labels are 12 px at least. 5. Unit workspace: the kickers, the owner caption, the ODES metric captions, the pane and item labels and the character guidance count are 12 px at least. 6. Sales and Admin lists: the count badge and the filter label (11.5 px) are 12 px. 7. Files: the title of the tree pane (10.9 px) is 12 px, the tree rows are 13 px.
   Left alone on purpose: the status chips and count pills inside the tree rows of Files (block 2 kept them out on purpose, they sit in a narrow row), the sizes in the ODES tab (its own rules with an id), the shell (sidebar, top bar, environment banner), the fs-4, fs-5 and fs-6 utilities and anything learner facing.
   Learner screens are out of reach by construction: every selector starts with .orsi-main (only the staff layout emits it), and every rule is anchored to a staff page hook (.orsi-libscreen, .oa.pe-page, the filter bar form, the Home figures, the two workspaces) or carries the standard exclusion of learner content (.oa and the learner view roots .orsi-lp, .orsi-blk, .orsi-unit-view, the program preview .pp-page and .pp, and the two workspaces). .orsi-lp is the learner view root, NOT a staff workspace: it only ever appears inside the exclusion. */
.orsi-main :is(td,th) :is(.small,small):where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.75rem}
.orsi-main .orsi-page-header__subtitle:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.875rem}
.orsi-main .orsi-count-badge:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.75rem}
.orsi-main .orsi-list-filters__label:where(:not(:is(.oa,.orsi-lp,.orsi-blk,.orsi-unit-view,.pp-page,.pp,.orsi-track-workspace,.orsi-unit-workspace) *)){font-size:.75rem}
.orsi-main .orsi-libscreen:not(.oa) .table td ul.small,.orsi-main .orsi-libscreen:not(.oa) .table td p.small{font-size:.8125rem}
.orsi-main .orsi-libscreen:not(.oa) .orsi-translations__lang-tag{font-size:.75rem}
.orsi-main .oa.pe-page .orsi-translations__lang-tag{font-size:.75rem}
.orsi-main form.orsi-filterbar label.visually-hidden{font-size:.8125rem}
.orsi-main .orsi-libscreen .orsi-tree-pane__title{font-size:.75rem}
.orsi-main .orsi-libscreen :is(.orsi-tree-node,.orsi-tree-node--block){font-size:.8125rem}
.orsi-main .orsi-welcome-hero__stats{font-size:.875rem}
.orsi-main .orsi-welcome-hero__stats strong{font-size:1rem}
.orsi-main .oa.orsi-track-workspace .ltab{font-size:.8125rem}
.orsi-main .oa.orsi-track-workspace .ted-tabs button{font-size:.8125rem}
.orsi-main .oa.orsi-track-workspace #ted-panel-review :is(.btn,button){font-size:.8125rem}
.orsi-main .oa.orsi-track-workspace .ted-review-metric strong{font-size:1.25rem}
.orsi-main .oa.orsi-track-workspace .ted-review-metric :is(span,small){font-size:.75rem}
.orsi-main .oa.orsi-track-workspace .ted-card-kicker{font-size:.75rem}
.orsi-main .oa.orsi-track-workspace .ntag{font-size:.75rem}
.orsi-main .oa.orsi-track-workspace :is(.pane__lbl,.subitem__k){font-size:.75rem}
.orsi-main .oa.orsi-track-workspace #ted-progress-body span.ts-number{font-size:1.25rem}
.orsi-main .oa.orsi-unit-workspace .uw-panel-kicker,.orsi-main .oa.orsi-unit-workspace .uw-review-owner span,.orsi-main .oa.orsi-unit-workspace .uw-odes-metric span{font-size:.75rem}
.orsi-main .oa.orsi-unit-workspace .uw-odes-metric strong{font-size:1rem}
.orsi-main .oa.orsi-unit-workspace :is(.pane__lbl,.subitem__k,.uw-character-guidance__tab-count){font-size:.75rem}
/* END orsi-type-scale-3-20261019 */

/* BEGIN orsi-test-colour-rim-20261021 - Test has one colour on every screen, and the fields of the New account panel get a rim that can be seen (Dirk, 21 October 2026). Key base. Not served from this file: the database is.
   1. Test: the status badge and the status icon of a Test track or program used the amber of In review, so a Test track looked like one that is in review; the track screens showed Test in a violet. Test now has that violet everywhere: the pill (violet text on a soft violet ground, 4.97:1) and the dot or icon (violet). The modifier is test-hold, because .orsi-status-icon--test is the red dot of the Live/Test switch.
   2. One screen first: the inputs and the selects of the New account panel on Sales > Accounts had a rim of 1.53:1 against white (WCAG 1.4.11 asks 3:1 for the edge of a field). They get the rim token of the Library screens (--orsi-ui-rim-strong, 3.75:1). The id selector keeps every other screen as it is; the focus state keeps its own ring.
   Nothing else changes: no font, no size, no layout, no important. */
.orsi-status--test-hold{background:#efebf9;color:#6a55b8}
.orsi-status--test-hold .orsi-status__dot{background:#6a55b8}
.orsi-status-icon--test-hold{background:#6a55b8}
#orsiCustomerCreate :is(.form-control,.form-select):where(:not(:focus)){border-color:var(--orsi-ui-rim-strong,#78868d)}
/* END orsi-test-colour-rim-20261021 */

/* BEGIN orsi-field-rim-staff-20261021 - the rim of inputs, selects and the text addon of an input group on the staff screens can be seen (Dirk, 21 October 2026, after the New account panel was tried). Key base. Not served from this file: the database is.
   Problem: the staff screens (the unify layer) draw a field with a rim of --orsi-ui-line-strong (#c8d3d6), 1.53:1 against white; WCAG 1.4.11 asks 3:1 for the edge of a field. The filter bars and the Library screens already use the rim token --orsi-ui-rim-strong (#78868d, 3.75:1); the forms (Prices, New account, order and contract forms, Admin edit screens) did not.
   Fix: one rule in the same scope S as the unify layer (:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *))): S adds no specificity, so the rule has the strength of the unify rule it follows and wins by source order (this block is appended last). The states keep their own colour because their rules are stronger: the focus ring (teal), is-invalid and is-valid. The Library/Authoring (.oa), the learner preview, the track and unit workspaces, portal and public layouts are not touched.
   Nothing else changes: no font, no size, no layout, no important. */
.form-control:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.form-select:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)),.input-group>.input-group-text:where(.orsi-main *:not(:is(.oa,.orsi-lp,.orsi-track-workspace,.orsi-unit-workspace) *)){border-color:var(--orsi-ui-rim-strong,#78868d)}
/* END orsi-field-rim-staff-20261021 */
