@import '_content/HrChronicle.Ui/HrChronicle.Ui.6zx81zmn1k.bundle.scp.css';
@import '_content/HrChronicle.WebInfrastructure/HrChronicle.WebInfrastructure.vwo41fck69.bundle.scp.css';

/* /Components/Layouts/AppLayout.razor.rz.scp.css */
/*
    Application shell — dark rail + main region, collapsing to a horizontal top bar below the
    page-chrome breakpoint. Uses VIEWPORT media queries here (not container queries): the shell IS
    the outermost page chrome, and the ui skill's responsive contract permits viewport-based rules
    for chrome specifically ("the two named breakpoints govern page chrome only"). Container
    queries cannot style the container itself in any case — they only see descendants — so the
    shell's own grid template must come from a media query. Reusable primitives (Sidebar, Grid)
    keep using container queries because they can be embedded anywhere.
*/

.hrc-shell[b-m4p5lneitw] {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
    min-block-size: 100dvh;
    background: var(--hrc-surface);
    color: var(--hrc-ink);
    font: 14px/1.4 var(--hrc-font);
    /* Belt-and-braces against page-level horizontal scroll (responsive contract:
       wide content scrolls inside its own container, never by pushing the page
       sideways). Same rule as the admin shell (packet admin-fixes 2026-07-30). */
    min-inline-size: 0;
    overflow-x: hidden;
}

/* --- rail ------------------------------------------------------------------ */

.hrc-shell__rail[b-m4p5lneitw] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    row-gap: var(--hrc-space-xs);
    column-gap: var(--hrc-space-md);
    padding: var(--hrc-space-sm) var(--hrc-space-md);
    background: var(--hrc-rail);
    color: var(--hrc-rail-ink);
    border-block-end: 1px solid var(--hrc-rail-border);
    min-inline-size: 0;
}

.hrc-shell__brand[b-m4p5lneitw] {
    flex: none;
    display: flex;
    align-items: center;
    gap: var(--hrc-space-sm);
}

/* Brand link wraps the plate + plane label. Plate + label sit inline (plate,
   then "APP" label). Same shape admin B1 shipped 2026-08-01; the tenant plane
   picks it up in packet P1 tenant-web-chrome-harmony 2026-08-02. */
.hrc-shell__brand-link[b-m4p5lneitw] {
    display: inline-flex;
    align-items: center;
    gap: var(--hrc-space-xs);
    color: var(--hrc-rail-ink-strong);
    text-decoration: none;
    padding: var(--hrc-space-2xs) var(--hrc-space-xs);
    border-radius: var(--hrc-radius-xs);
    min-inline-size: 0;
}

.hrc-shell__brand-link:focus-visible[b-m4p5lneitw] {
    outline: var(--hrc-focus-ring);
    outline-offset: var(--hrc-focus-offset);
}

/* Brand plate - lighter surface behind the wordmark so the currentColor SVG
   reads on a dark rail. Fixed block-size so the plate looks the same at any
   theme/density. Uses the semantic pair --hrc-rail-plate-bg / -ink from
   tokens.css (added in admin B1). */
.hrc-shell__brand-plate[b-m4p5lneitw] {
    display: inline-grid;
    place-items: center;
    padding: var(--hrc-space-xs) var(--hrc-space-sm);
    background: var(--hrc-rail-plate-bg);
    color: var(--hrc-rail-plate-ink);
    border-radius: var(--hrc-radius-sm);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    block-size: 44px;
    overflow: hidden;
}

/* P5.3 fix (2026-08-03): `::deep` was missing, so these selectors did NOT reach
   into the child <Wordmark /> component's DOM. Result: the SVG picked up
   Wordmark.razor.css's color:var(--hrc-ink) — light in dark theme — and rendered
   near-invisible on the white plate, so only the "App" plane badge next to it
   was legible. `::deep` pierces the scoped-CSS boundary; explicit ink override
   ensures the mark is dark on the white plate regardless of theme. */
.hrc-shell__brand-plate[b-m4p5lneitw]  .hrc-wordmark {
    display: inline-flex;
    max-inline-size: 100%;
    max-block-size: 100%;
    color: var(--hrc-rail-plate-ink);
}

.hrc-shell__brand-plate[b-m4p5lneitw]  .hrc-wordmark svg {
    display: block;
    /* Explicit block-size (NOT max-block-size). With a viewBox and no width/height
       attrs, Chrome collapses an SVG to 0 in a shrink-to-fit context when only a
       max is set. An explicit block-size lets the browser compute inline-size from
       the aspect ratio (220/48 → ~128px at 28px tall). */
    block-size: 28px;
    inline-size: auto;
}

/* APP plane designator - carries the "this is the application plane" signal
   alongside the base blue accent. Renders in the rail-accent colour, which is
   blue on the tenant plane (default) and violet on admin (data-variant="admin"
   rebinds --hrc-rail-accent in tokens.css §VARIANT AXIS). */
.hrc-shell__brand-plane[b-m4p5lneitw] {
    font-size: var(--hrc-text-xs);
    font-weight: var(--hrc-weight-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hrc-rail-accent);
    padding-inline: var(--hrc-space-2xs);
    white-space: nowrap;
}

/* .hrc-shell__nav rules moved to HrChronicle.Ui/wwwroot/css/nav.css (packet 10.4) so the
   nav tree can be rendered by a component in HrChronicle.Ui (NavTreeRenderer) without
   losing its styling to Blazor's scoped-CSS attribute-selector. */

.hrc-shell__spacer[b-m4p5lneitw] { display: none; }

.hrc-shell__foot[b-m4p5lneitw] {
    margin-inline-start: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--hrc-space-md);
    min-inline-size: 0;
}

/* .hrc-nav-item* rules moved to HrChronicle.Ui/wwwroot/css/nav.css (packet 10.4) —
   same reason as .hrc-shell__nav above. */

/* --- user menu (rail foot) ------------------------------------------------- */

.hrc-user-menu[b-m4p5lneitw] {
    display: inline-flex;
    align-items: center;
    gap: var(--hrc-space-sm);
    min-inline-size: 0;
}

.hrc-user-menu__name[b-m4p5lneitw] {
    color: var(--hrc-rail-ink-strong);
    font-weight: 600;
    inline-size: fit-content;
    max-inline-size: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hrc-user-menu__link[b-m4p5lneitw] {
    color: var(--hrc-rail-ink);
    text-decoration: none;
    padding: var(--hrc-space-2xs) var(--hrc-space-sm);
    border-radius: var(--hrc-radius-xs);
    border: 1px solid transparent;
}

.hrc-user-menu__link:hover[b-m4p5lneitw] {
    background: var(--hrc-rail-active);
    color: var(--hrc-rail-ink-strong);
}

.hrc-user-menu__link:focus-visible[b-m4p5lneitw] {
    outline: var(--hrc-focus-ring);
    outline-offset: -2px;
}

/* --- main column (topbar + main + footer) ---------------------------------- */

.hrc-shell__main-column[b-m4p5lneitw] {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-block-size: 0;
    min-inline-size: 0;
    background: var(--hrc-surface);
    color: var(--hrc-ink);
}

.hrc-shell__topbar[b-m4p5lneitw] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--hrc-space-xs);
    padding: var(--hrc-space-sm) var(--hrc-space-md);
    border-block-end: 1px solid var(--hrc-border);
}

.hrc-shell__topbar-spacer[b-m4p5lneitw] {
    flex: 1;
    min-inline-size: 0;
}

.hrc-shell__main[b-m4p5lneitw] {
    min-inline-size: 0;
    padding: 0 var(--hrc-space-md) var(--hrc-space-md);
    background: var(--hrc-surface);
    color: var(--hrc-ink);
}

.hrc-shell__main:focus-visible[b-m4p5lneitw] {
    outline: none;
}

/* --- desktop: rail becomes the side column --------------------------------- */

@media (min-width: 48rem) {
    .hrc-shell[b-m4p5lneitw] {
        grid-template-rows: 1fr;
        grid-template-columns: 16rem 1fr;
    }

    .hrc-shell__rail[b-m4p5lneitw] {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        row-gap: 0;
        column-gap: 0;
        /* Packet P5.1 nav-visual-harmony (2026-08-03): rail carries no padding on
           desktop; children (brand / rail-search / rail-scroll / rail-foot) each
           own their own padding, matching the harbor .rail primitive layout. */
        padding: 0;
        border-block-end: none;
        border-inline-end: 1px solid var(--hrc-rail-border);
        overflow: hidden;
    }

    .hrc-shell__brand[b-m4p5lneitw] {
        flex-direction: column;
        align-items: stretch;
        gap: var(--hrc-space-xs);
        /* Harbor .brand shape: 14px 12px padding, hairline underline. */
        padding: 14px 12px;
        border-block-end: 1px solid var(--hrc-rail-border);
        flex: none;
    }

    .hrc-shell__brand-link[b-m4p5lneitw] {
        padding: 0;
    }

    /* .hrc-shell__nav and .hrc-nav-item desktop overrides moved to nav.css. */

    .hrc-shell__spacer[b-m4p5lneitw] {
        /* Harbor rail uses .rail-scroll to consume the middle flex-space; the
           spacer is only needed on the anonymous shell (Sign in) which has no
           rail-scroll. Stay display:none on desktop for the auth'd shell. */
        display: none;
    }

    .hrc-shell__foot[b-m4p5lneitw] {
        margin-inline-start: 0;
        flex-direction: column;
        align-items: stretch;
        gap: var(--hrc-space-sm);
        border-block-start: 1px solid var(--hrc-rail-border);
        padding: var(--hrc-space-md);
    }

    .hrc-user-menu[b-m4p5lneitw] {
        flex-direction: column;
        align-items: stretch;
        gap: var(--hrc-space-2xs);
    }

    .hrc-user-menu__name[b-m4p5lneitw] {
        max-inline-size: 100%;
    }
}

@media (min-width: 75rem) {
    .hrc-shell[b-m4p5lneitw] {
        grid-template-columns: 18rem 1fr;
    }
}
/* /Components/Layouts/AuthLayout.razor.rz.scp.css */
/*
    Auth-page layout for the tenant plane. Packet P1 tenant-web-chrome-harmony
    (2026-08-02): the shape now comes from the shared library (harbor.css §12
    auth primitives, BASE tint - no data-variant="admin" here). This scoped
    file carries only what harbor.css cannot express globally:

      · The absolute-positioned corner slot (AppearanceCorner) - page-chrome
        only present on the auth surface. Same idea as admin B3's scoped file.
      · SVG sizing for the inline <Wordmark /> inside .hrc-auth-brand__mark
        and .hrc-auth-mark-mobile. harbor.css sizes .hrc-auth-brand__mark img
        + .hrc-auth-mark-mobile img (admin renders a PNG); tenant plane
        renders inline SVG for currentColor theming + the ui skill wordmark
        rule, so the equivalent sizing goes here.
*/

.hrc-auth-layout__corner[b-hobw51jnz8] {
    position: absolute;
    inset-block-start: var(--hrc-space-md);
    inset-inline-end: var(--hrc-space-md);
    display: inline-flex;
    align-items: center;
    gap: var(--hrc-space-sm);
    z-index: 3;
}

@media (max-width: 480px) {
    .hrc-auth-layout__corner[b-hobw51jnz8] {
        inset-block-start: var(--hrc-space-sm);
        inset-inline-end: var(--hrc-space-sm);
    }
}

/* Wordmark sizing inside the split-panel brand mark + the mobile-only mark.
   Uses ::deep so the scope attribute reaches the <Wordmark /> span rendered
   by the shared component. */
[b-hobw51jnz8] .hrc-auth-brand__mark .hrc-wordmark,
[b-hobw51jnz8] .hrc-auth-mark-mobile .hrc-wordmark {
    display: inline-flex;
    align-items: center;
}

/* Brand-mark on the dark panel inherits color from .hrc-auth-brand
   (--hrc-rail-ink, muted). The Wordmark SVG uses currentColor for the
   "Chronicle" word, which reads faint against the dark rail. Bump to
   --hrc-rail-ink-strong so the text reads at the same weight as the
   admin plane's PNG wordmark. */
[b-hobw51jnz8] .hrc-auth-brand__mark .hrc-wordmark {
    color: var(--hrc-rail-ink-strong);
}

[b-hobw51jnz8] .hrc-auth-brand__mark .hrc-wordmark svg {
    display: block;
    block-size: 34px;
    inline-size: auto;
    max-inline-size: 220px;
}

[b-hobw51jnz8] .hrc-auth-mark-mobile .hrc-wordmark svg {
    display: block;
    block-size: 28px;
    inline-size: auto;
    max-inline-size: 200px;
}
/* /Components/Pages/Admin/PasswordPolicyEditor.razor.rz.scp.css */
/* Packet P8.1 (2026-08-08). 2x2 grid of numbered sections so the whole page
   fits without vertical scroll at 100% zoom on a standard viewport. Collapses
   to one column below 1100px so nothing overflows on narrower windows. */
.hrc-pp-2col[b-dwwsjtgzel] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--hrc-space-md);
    align-items: start;
}

@media (max-width: 1100px) {
    .hrc-pp-2col[b-dwwsjtgzel] {
        grid-template-columns: 1fr;
    }
}

/* The "Last updated" meta line hugs the bottom of Section 4 so it aligns with
   the sticky FormFoot below the grid. */
.hrc-pp-2col__meta[b-dwwsjtgzel] {
    margin-block-start: var(--hrc-space-md);
    padding-block-start: var(--hrc-space-sm);
    border-block-start: 1px solid var(--hrc-border);
}

/* Character-set table lives inside Section 2. Compact enough to sit beside
   Section 1 without pushing the row taller than needed. */
.hrc-pp-charset[b-dwwsjtgzel] { margin-block-end: var(--hrc-space-md); }
.hrc-pp-charset__num[b-dwwsjtgzel]  { inline-size: 50px; }
.hrc-pp-charset__mand[b-dwwsjtgzel] { inline-size: 100px; }
/* /Components/Pages/Admin/UserGroupEdit.razor.rz.scp.css */
/* Retrofitted onto Harbor primitives (UI-P8-11). Only the permission-filter bar
   and the multi-company target chips carry page-local styling; everything else
   comes from Section, FormField, FormFoot in the shared library. */

.hrc-perm-filter-bar[b-6lrw77udye] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--hrc-space-sm);
    margin-block-end: var(--hrc-space-xs);
}

.hrc-perm-filter-bar__label[b-6lrw77udye] {
    font-size: var(--hrc-text-sm);
    color: var(--hrc-ink-muted);
    font-weight: var(--hrc-weight-semibold);
    margin: 0;
}

.hrc-perm-filter-bar__input[b-6lrw77udye] {
    inline-size: 240px;
}

/* UI-P8-12 target-companies chip row. */
.hrc-ug-target[b-6lrw77udye] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hrc-space-xs);
    padding-block: var(--hrc-space-xs);
    margin-block-end: var(--hrc-space-sm);
}

.hrc-ug-target__label[b-6lrw77udye] {
    font-size: var(--hrc-text-sm);
    font-weight: var(--hrc-weight-semibold);
    color: var(--hrc-ink);
    margin-inline-end: var(--hrc-space-xs);
}

.hrc-ug-target__chip[b-6lrw77udye] {
    display: inline-flex;
    align-items: center;
    gap: var(--hrc-space-2xs);
    padding: var(--hrc-space-2xs) var(--hrc-space-sm);
    border: 1px solid var(--hrc-border);
    border-radius: var(--hrc-radius-sm);
    background: var(--hrc-surface);
    font-size: var(--hrc-text-sm);
    cursor: pointer;
}

.hrc-ug-target__chip:hover[b-6lrw77udye] {
    background: var(--hrc-surface-raised);
}
/* /Components/Pages/CompaniesList.razor.rz.scp.css */
/* P7.5: Companies list polish - promote from <ul> to <table>.
   UI-P8-13 (2026-08-07): "+ Create new" moved to PageShell.Actions so hrc-companies-toolbar removed. */

.hrc-companies__logo-col[b-ndzc4zc6hh] {
    inline-size: 96px;
}

.hrc-companies__logo-cell[b-ndzc4zc6hh] {
    padding-inline-start: var(--hrc-space-md);
}

.hrc-companies__logo[b-ndzc4zc6hh] {
    display: block;
    block-size: 36px;
    inline-size: auto;
    max-inline-size: 80px;
    border-radius: var(--hrc-radius-xs);
    object-fit: contain;
}

.hrc-companies__logo-placeholder[b-ndzc4zc6hh] {
    display: inline-block;
    block-size: 36px;
    inline-size: 80px;
    background: var(--hrc-surface-raised);
    border: 1px dashed var(--hrc-border);
    border-radius: var(--hrc-radius-xs);
}
/* /Components/Pages/CompanyEdit.razor.rz.scp.css */
/* P7.5-defects part 2 - Company edit two-column layout. */

.hrc-company-edit__grid[b-kjubipdrkg] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: var(--hrc-space-lg);
}

@media (max-width: 900px) {
    .hrc-company-edit__grid[b-kjubipdrkg] {
        grid-template-columns: 1fr;
    }
}

.hrc-company-edit__aside[b-kjubipdrkg] {
    background: var(--hrc-surface-raised);
    border: 1px solid var(--hrc-border);
    border-radius: var(--hrc-radius-md);
    padding: var(--hrc-space-md);
    display: flex;
    flex-direction: column;
    gap: var(--hrc-space-sm);
    align-self: start;
    position: sticky;
    top: var(--hrc-space-md);
}

.hrc-company-edit__aside-title[b-kjubipdrkg] {
    font-weight: var(--hrc-weight-semibold);
    font-size: var(--hrc-text-sm);
    color: var(--hrc-ink);
}

.hrc-company-edit__logo-slot[b-kjubipdrkg] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--hrc-space-md);
    background: var(--hrc-surface);
    border: 1px dashed var(--hrc-border);
    border-radius: var(--hrc-radius-sm);
    min-block-size: 120px;
}

.hrc-company-edit__logo-slot img[b-kjubipdrkg] {
    max-inline-size: 100%;
    max-block-size: 150px;
    object-fit: contain;
}

.hrc-company-edit__logo-empty[b-kjubipdrkg] {
    color: var(--hrc-ink-muted);
    font-size: var(--hrc-text-sm);
    text-align: center;
}

.hrc-company-edit__aside-hint[b-kjubipdrkg] {
    font-size: var(--hrc-text-xs);
    color: var(--hrc-ink-muted);
    line-height: var(--hrc-leading);
}

/* Packet P8.1 (2026-08-08). Two-column field grid for a compact edit form.
   Fields keep their stacked label-input layout (accessibility, screen-reader
   flow), but sit side-by-side to reduce vertical scroll. Collapses to one
   column at narrow container widths so it survives inside the aside-adjacent
   form panel. */
.hrc-form-2col[b-kjubipdrkg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--hrc-space-sm) var(--hrc-space-md);
}
/* /Components/Pages/CookiePolicy.razor.rz.scp.css */
/* Duplicated from Design.razor.css on purpose: scoped CSS is per-component, and these two
   pages are throwaway 3.1 scaffolding that goes away in 4.2. Promoting a shared demo stylesheet
   for code with a known deletion date would be the wrong trade. */

.field[b-az2q5cw7n8] {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--hrc-space-xs);
  min-inline-size: 0;
}

.field__label[b-az2q5cw7n8] {
  flex: none;
  min-inline-size: 9rem;
  font-size: var(--hrc-text-xs);
  color: var(--hrc-ink-subtle);
}

.field__value[b-az2q5cw7n8] {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
/* /Components/Pages/Design.razor.rz.scp.css */
/* Swatch chips.
   One class per token, because CSP blocks HTML-authored style attributes and there is no
   unsafe-inline. A caller-supplied colour therefore cannot be an inline style — it is either a
   closed set of classes (this) or a CSSOM write from a first-party script. */

.swatch[b-p36btjbxvn] {
  display: flex;
  align-items: center;
  gap: var(--hrc-space-xs);
  min-inline-size: 0;
}

.swatch__chip[b-p36btjbxvn] {
  inline-size: 2rem;
  block-size: 2rem;
  flex: none;
  border: 1px solid var(--hrc-border-strong);
  border-radius: var(--hrc-radius-xs);
}

.swatch__name[b-p36btjbxvn] {
  font-size: var(--hrc-text-xs);
  color: var(--hrc-ink-muted);
  overflow-wrap: anywhere;
}

.sw--canvas[b-p36btjbxvn] { background-color: var(--hrc-canvas); }
.sw--surface[b-p36btjbxvn] { background-color: var(--hrc-surface); }
.sw--surface-raised[b-p36btjbxvn] { background-color: var(--hrc-surface-raised); }
.sw--border[b-p36btjbxvn] { background-color: var(--hrc-border); }
.sw--ink[b-p36btjbxvn] { background-color: var(--hrc-ink); }
.sw--ink-muted[b-p36btjbxvn] { background-color: var(--hrc-ink-muted); }
.sw--accent[b-p36btjbxvn] { background-color: var(--hrc-accent); }
.sw--accent-soft[b-p36btjbxvn] { background-color: var(--hrc-accent-soft); }
.sw--ok[b-p36btjbxvn] { background-color: var(--hrc-ok); }
.sw--warn[b-p36btjbxvn] { background-color: var(--hrc-warn); }
.sw--crit[b-p36btjbxvn] { background-color: var(--hrc-crit); }
.sw--rail[b-p36btjbxvn] { background-color: var(--hrc-rail); }

/* Primitive demos */

.demo__label[b-p36btjbxvn] {
  margin-block: 0 var(--hrc-space-xs);
  font-size: var(--hrc-text-sm);
  font-weight: var(--hrc-weight-semibold);
  color: var(--hrc-ink-muted);
}

.demo__box[b-p36btjbxvn] {
  padding: var(--hrc-space-sm);
  background-color: var(--hrc-surface-raised);
  border: 1px dashed var(--hrc-border-strong);
  border-radius: var(--hrc-radius-xs);
  font-size: var(--hrc-text-sm);
  color: var(--hrc-ink-muted);
}

.demo__chip[b-p36btjbxvn] {
  padding-inline: var(--hrc-space-sm);
  padding-block: var(--hrc-space-2xs);
  background-color: var(--hrc-accent-soft);
  border: 1px solid var(--hrc-accent-line);
  border-radius: var(--hrc-radius-pill);
  font-size: var(--hrc-text-xs);
  color: var(--hrc-ink);
  white-space: nowrap;
}

/* Label/value pairs */

.field[b-p36btjbxvn] {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--hrc-space-xs);
  min-inline-size: 0;
}

.field__label[b-p36btjbxvn] {
  flex: none;
  min-inline-size: 9rem;
  font-size: var(--hrc-text-xs);
  color: var(--hrc-ink-subtle);
}

.field__value[b-p36btjbxvn] {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
/* /Components/Pages/LeaveTypeSettings.razor.rz.scp.css */
/*
    Packet R2 — scoped styles for the leave-type settings screen. Deliberately minimal: the
    form uses shared design-system components (CheckboxField / NumberField / TextField /
    RadioGroupField) whose look comes from the Ui project's tokens + component CSS. What we
    scope here is the layout for each rule row (label + params clustered together) and the
    visually-distinct "coming with R3" placeholder card.
*/

.hrc-rule-row[b-2nhgpridfh] {
    display: flex;
    flex-direction: column;
    gap: var(--hrc-space-2xs, 0.25rem);
    padding-block: var(--hrc-space-sm, 0.5rem);
    border-bottom: 1px solid var(--hrc-color-border-subtle, rgba(0, 0, 0, 0.08));
}

.hrc-rule-row:last-child[b-2nhgpridfh] {
    border-bottom: none;
}

.hrc-rule-row__params[b-2nhgpridfh] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hrc-space-md, 0.75rem);
    padding-inline-start: var(--hrc-space-lg, 1.25rem);
    padding-block-start: var(--hrc-space-xs, 0.375rem);
}

.hrc-r3-placeholder[b-2nhgpridfh] {
    padding: var(--hrc-space-lg, 1.25rem);
    border: 1px dashed var(--hrc-color-border, rgba(0, 0, 0, 0.15));
    border-radius: var(--hrc-radius-md, 0.5rem);
    background: var(--hrc-color-surface-muted, rgba(0, 0, 0, 0.03));
    color: var(--hrc-color-text-muted, currentColor);
}

.hrc-r3-placeholder p[b-2nhgpridfh] {
    margin-block: var(--hrc-space-xs, 0.375rem);
}

.hrc-r3-placeholder strong[b-2nhgpridfh] {
    color: var(--hrc-color-text, currentColor);
}

/* Packet R3 — Payment tiers primitive (TierGridEditor inline). Each row is a horizontal
   cluster of From / To / Pay% inputs + Delete. + Add tier button follows the last row. */
.hrc-tier-grid[b-2nhgpridfh] {
    display: flex;
    flex-direction: column;
    gap: var(--hrc-space-sm, 0.5rem);
    padding: var(--hrc-space-md, 0.75rem);
    border: 1px solid var(--hrc-color-border-subtle, rgba(0, 0, 0, 0.08));
    border-radius: var(--hrc-radius-md, 0.5rem);
    background: var(--hrc-color-surface, rgba(0, 0, 0, 0.01));
}

.hrc-tier-grid > legend[b-2nhgpridfh] {
    font-weight: 600;
    padding-inline: var(--hrc-space-xs, 0.375rem);
}

.hrc-tier-grid__hint[b-2nhgpridfh] {
    color: var(--hrc-color-text-muted, currentColor);
    margin-block-end: var(--hrc-space-sm, 0.5rem);
}

.hrc-tier-row[b-2nhgpridfh] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: var(--hrc-space-md, 0.75rem);
    padding-block: var(--hrc-space-xs, 0.375rem);
}

.hrc-tier-row > *[b-2nhgpridfh] {
    flex: 1 1 6rem;
}

.hrc-tier-row > button[b-2nhgpridfh] {
    flex: 0 0 auto;
}

.hrc-expiry-detail[b-2nhgpridfh] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hrc-space-md, 0.75rem);
    padding-inline-start: var(--hrc-space-lg, 1.25rem);
}
/* /Components/Pages/Security/GeoPolicy.razor.rz.scp.css */
/*
    Country Filter tenant page (packet P2.5 deliverable B, 2026-08-03). Nothing page-specific
    beyond the meta line; every other primitive comes from the shared library.
*/

.geo-policy__meta[b-k52kwld9oz] {
    color: var(--hrc-ink-subtle);
    font-size: var(--hrc-text-xs);
    margin-block-start: var(--hrc-space-md);
}
/* /Components/Pages/Security/LoginActivities.razor.rz.scp.css */
/*
    Login Activities tenant page (packet P2.5 deliverable B, 2026-08-03). Copy of the admin
    page's chrome — grid + pill + h1 come from shared library primitives.
*/

.login-activities__lede[b-4a0rr3qvk2] {
    color: var(--hrc-ink-muted);
    font-size: var(--hrc-text-sm);
    margin-block: var(--hrc-space-2xs) 0;
    max-inline-size: 60ch;
}

.login-activities__attribution[b-4a0rr3qvk2] {
    color: var(--hrc-ink-subtle);
    font-size: var(--hrc-text-xs);
    margin-block-start: var(--hrc-space-lg);
}
/* /Components/Pages/SelectCompany.razor.rz.scp.css */
/* Packet P4 (task 10.6, 2026-08-03) — /select-company scoped CSS.

   Class-by-class port from design/prototypes/harbor/select-company.html §14 (pick primitives)
   and the .empty-icon--warn extension. Ships scoped to this page until a third consumer needs
   the shape; on the third consumer it graduates into src/HrChronicle.Ui/wwwroot/css/ per the
   UI skill §1 rule ("composition graduates into the library on its third consumer, not its
   first").

   Semantic tokens only per DesignTokenTests. No hex, no primitive-token references.
   dir="auto" is applied per-element in the razor; nothing here concatenates chrome text with
   user data. */

.hrc-select-company__card[b-ifj2dlkssb],
.hrc-select-company__block[b-ifj2dlkssb] {
  overflow: hidden;
}

/* -- head ------------------------------------------------------------------
   The Continue-without-company escape lives here at the inline-end. When
   the caller is not a superadmin the whole head collapses; the min-block-size
   keeps the picker's rounded top corner from sitting flush against the rows. */

.hrc-pick__head[b-ifj2dlkssb] {
  display: flex;
  align-items: center;
  gap: var(--hrc-space-sm);
  padding: var(--hrc-space-sm) var(--hrc-space-md);
  border-block-end: 1px solid var(--hrc-border);
  min-block-size: 3rem;
}

.hrc-pick__continue[b-ifj2dlkssb] {
  margin-inline-start: auto;
}

/* -- list ------------------------------------------------------------------ */

.hrc-pick[b-ifj2dlkssb] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hrc-pick > li[b-ifj2dlkssb] {
  border-block-end: 1px solid var(--hrc-border);
}

.hrc-pick > li:last-child[b-ifj2dlkssb] {
  border-block-end: 0;
}

/* -- row -------------------------------------------------------------------
   A row is a <form>: number / logo / body (submit button styled as a text
   block) / two meta columns. The submit button is what makes the whole row
   act like a link under static SSR — no JS, no click-handler ambiguity.

   Cursor + hover on the whole form (not just the button) because the button
   fills the inline stretch of the body column and reads as the row's affordance. */

.hrc-pick__row[b-ifj2dlkssb] {
  display: grid;
  grid-template-columns: 2rem 5.5rem 1fr auto auto;
  align-items: center;
  gap: var(--hrc-space-md);
  padding: var(--hrc-space-sm) var(--hrc-space-md);
  transition: background-color 0.12s;
  margin: 0;
}

.hrc-pick__row:hover[b-ifj2dlkssb] {
  background-color: var(--hrc-surface-raised);
}

.hrc-pick__row:focus-within[b-ifj2dlkssb] {
  background-color: var(--hrc-accent-soft);
}

/* -- num ------------------------------------------------------------------- */

.hrc-pick__num[b-ifj2dlkssb] {
  text-align: center;
  font-size: var(--hrc-density-text);
  font-weight: var(--hrc-weight-semibold);
  color: var(--hrc-ink-muted);
  font-variant-numeric: tabular-nums;
}

/* -- mark (logo tile with initials fallback) ------------------------------- */

.hrc-pick__mark[b-ifj2dlkssb] {
  inline-size: 5.5rem;
  block-size: 3.5rem;
  border: 1px solid var(--hrc-border);
  border-radius: var(--hrc-radius-xs);
  background-color: var(--hrc-surface-raised);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hrc-pick__mark img[b-ifj2dlkssb] {
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
  display: block;
}

.hrc-pick__mark-fallback[b-ifj2dlkssb] {
  color: var(--hrc-ink-muted);
  font-size: 0.6875rem;   /* 11px — small caps label on an 88x56 tile */
  font-weight: var(--hrc-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -- body (submit button styled as a title + sub block) ------------------- */

.hrc-pick__body[b-ifj2dlkssb] {
  min-inline-size: 0;
  text-align: start;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hrc-pick__body:focus-visible[b-ifj2dlkssb] {
  outline: 2px solid var(--hrc-accent);
  outline-offset: 4px;
  border-radius: var(--hrc-radius-xs);
}

.hrc-pick__title[b-ifj2dlkssb] {
  font-size: var(--hrc-density-text);
  font-weight: var(--hrc-weight-semibold);
  color: var(--hrc-accent);
  line-height: var(--hrc-leading-tight);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  inline-size: fit-content;
  max-inline-size: 100%;
}

.hrc-pick__sub[b-ifj2dlkssb] {
  font-size: 0.75rem;   /* 12px — sits below the 14px title */
  color: var(--hrc-ink-muted);
  line-height: var(--hrc-leading);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  inline-size: fit-content;
  max-inline-size: 100%;
}

/* -- meta (City / Country stacks on the row's inline-end) ----------------- */

.hrc-pick__meta[b-ifj2dlkssb] {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-inline-size: 5rem;
  font-size: 0.75rem;
}

.hrc-pick__meta-k[b-ifj2dlkssb] {
  color: var(--hrc-ink-muted);
  font-weight: var(--hrc-weight-regular);
}

.hrc-pick__meta-v[b-ifj2dlkssb] {
  color: var(--hrc-ink);
  font-weight: var(--hrc-weight-semibold);
  inline-size: fit-content;
  max-inline-size: 100%;
}

/* -- narrow reflow --------------------------------------------------------
   Below 720px the two meta columns collapse under the body block as inline
   chips, and the logo tile shrinks. Keeps the row usable at 360px per §8. */

@media (max-width: 45rem) {
  .hrc-pick__row[b-ifj2dlkssb] {
    grid-template-columns: 1.75rem 4rem 1fr;
    gap: var(--hrc-space-sm);
    padding: var(--hrc-space-sm);
  }

  .hrc-pick__mark[b-ifj2dlkssb] {
    inline-size: 4rem;
    block-size: 2.75rem;
  }

  .hrc-pick__meta[b-ifj2dlkssb] {
    grid-column: 2 / -1;
    flex-direction: row;
    gap: var(--hrc-space-sm);
    padding-inline-start: 4.75rem;
    margin-block-start: 0.125rem;
    min-inline-size: 0;
  }

  .hrc-pick__meta-k[b-ifj2dlkssb]::after {
    content: ":";
    margin-inline-end: 0.25rem;
  }
}
/* /Components/Shared/AppearanceControls.razor.rz.scp.css */
.appearance[b-p0p7umsyfi] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hrc-space-xs);
}

.appearance__group[b-p0p7umsyfi] {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background-color: var(--hrc-surface-raised);
  border: 1px solid var(--hrc-border);
  border-radius: var(--hrc-radius-sm);
}

.appearance__btn[b-p0p7umsyfi] {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--hrc-ink-muted);
  font-size: var(--hrc-density-text-secondary);
  font-weight: var(--hrc-weight-medium);
  padding-inline: var(--hrc-space-sm);
  padding-block: var(--hrc-space-xs);
  border-radius: var(--hrc-radius-xs);
}

.appearance__btn:hover[b-p0p7umsyfi] {
  color: var(--hrc-ink);
  background-color: var(--hrc-surface-hover);
}

.appearance__btn[aria-pressed="true"][b-p0p7umsyfi] {
  background-color: var(--hrc-accent);
  color: var(--hrc-accent-on);
}
/* /Components/Shared/CompanySwitcher.razor.rz.scp.css */
/* Packet P4 (task 10.6, 2026-08-03) — top-bar company switcher scoped CSS.

   Uses semantic tokens only. Native <details> disclosure — no JS island, works with JS off.
   Panel positions absolutely below the summary; anchored inline-end so it never overflows the
   viewport on desktop. On narrow widths (topbar < 45rem) the panel takes the full inline size
   of the topbar to stay reachable. */

.hrc-company-switch[b-tohekgsvzw] {
  position: relative;
  display: inline-block;
  min-inline-size: 0;
}

.hrc-company-switch__summary[b-tohekgsvzw] {
  display: inline-flex;
  align-items: center;
  gap: var(--hrc-space-sm);
  padding: 0.25rem 0.5rem;
  border-radius: var(--hrc-radius-xs);
  cursor: pointer;
  list-style: none;
  color: var(--hrc-ink);
  font-size: var(--hrc-density-text);
  font-weight: var(--hrc-weight-semibold);
  transition: background-color 0.12s;
}

.hrc-company-switch__summary[b-tohekgsvzw]::-webkit-details-marker {
  display: none;
}

.hrc-company-switch__summary:hover[b-tohekgsvzw] {
  background-color: var(--hrc-surface-raised);
}

.hrc-company-switch__summary:focus-visible[b-tohekgsvzw] {
  outline: 2px solid var(--hrc-accent);
  outline-offset: 2px;
}

.hrc-company-switch__mark[b-tohekgsvzw] {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border-radius: var(--hrc-radius-xs);
  background-color: var(--hrc-surface-raised);
  border: 1px solid var(--hrc-border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

.hrc-company-switch__mark--sm[b-tohekgsvzw] {
  inline-size: 1.5rem;
  block-size: 1.5rem;
}

.hrc-company-switch__mark--empty[b-tohekgsvzw] {
  background-color: transparent;
  border-style: dashed;
}

.hrc-company-switch__mark img[b-tohekgsvzw] {
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
  display: block;
}

.hrc-company-switch__mark-fallback[b-tohekgsvzw] {
  color: var(--hrc-ink-muted);
  font-size: 0.625rem;
  font-weight: var(--hrc-weight-semibold);
  letter-spacing: 0.04em;
}

.hrc-company-switch__name[b-tohekgsvzw] {
  min-inline-size: 0;
  max-inline-size: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hrc-company-switch__name--muted[b-tohekgsvzw] {
  color: var(--hrc-ink-muted);
  font-weight: var(--hrc-weight-regular);
}

.hrc-company-switch__caret[b-tohekgsvzw] {
  color: var(--hrc-ink-muted);
  font-size: 0.75rem;
  transition: transform 0.12s;
}

.hrc-company-switch[open] .hrc-company-switch__caret[b-tohekgsvzw] {
  transform: rotate(180deg);
}

/* -- panel ----------------------------------------------------------------- */

.hrc-company-switch__panel[b-tohekgsvzw] {
  position: absolute;
  inset-block-start: calc(100% + 0.25rem);
  inset-inline-end: 0;
  min-inline-size: 18rem;
  max-inline-size: 24rem;
  max-block-size: 24rem;
  overflow-y: auto;
  background-color: var(--hrc-surface);
  border: 1px solid var(--hrc-border);
  border-radius: var(--hrc-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: var(--hrc-space-xs);
  z-index: 20;
}

.hrc-company-switch__list[b-tohekgsvzw] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hrc-company-switch__row[b-tohekgsvzw] {
  margin: 0;
}

.hrc-company-switch__row-button[b-tohekgsvzw] {
  inline-size: 100%;
  display: flex;
  align-items: center;
  gap: var(--hrc-space-sm);
  padding: 0.5rem;
  background: transparent;
  border: 0;
  border-radius: var(--hrc-radius-xs);
  cursor: pointer;
  text-align: start;
  color: inherit;
  font: inherit;
}

.hrc-company-switch__row-button:hover[b-tohekgsvzw] {
  background-color: var(--hrc-surface-raised);
}

.hrc-company-switch__row-button:focus-visible[b-tohekgsvzw] {
  outline: 2px solid var(--hrc-accent);
  outline-offset: -2px;
}

.hrc-company-switch__row--current .hrc-company-switch__row-button[b-tohekgsvzw] {
  background-color: var(--hrc-accent-soft);
}

.hrc-company-switch__row-body[b-tohekgsvzw] {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

.hrc-company-switch__row-title[b-tohekgsvzw] {
  font-size: var(--hrc-density-text);
  font-weight: var(--hrc-weight-semibold);
  color: var(--hrc-ink);
  line-height: var(--hrc-leading-tight);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  inline-size: fit-content;
  max-inline-size: 100%;
}

.hrc-company-switch__row-sub[b-tohekgsvzw] {
  font-size: 0.75rem;
  color: var(--hrc-ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  inline-size: fit-content;
  max-inline-size: 100%;
}

.hrc-company-switch__row-check[b-tohekgsvzw] {
  color: var(--hrc-accent);
  font-weight: var(--hrc-weight-bold);
  flex: none;
}

/* -- link + note + clear ---------------------------------------------------- */

.hrc-company-switch__link[b-tohekgsvzw] {
  display: block;
  margin-block-start: var(--hrc-space-xs);
  padding: 0.375rem 0.5rem;
  color: var(--hrc-accent);
  font-size: 0.8125rem;
  font-weight: var(--hrc-weight-semibold);
  text-decoration: none;
  border-radius: var(--hrc-radius-xs);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: start;
  inline-size: 100%;
}

.hrc-company-switch__link:hover[b-tohekgsvzw] {
  background-color: var(--hrc-surface-raised);
}

.hrc-company-switch__link:focus-visible[b-tohekgsvzw] {
  outline: 2px solid var(--hrc-accent);
  outline-offset: -2px;
}

.hrc-company-switch__note[b-tohekgsvzw] {
  padding: 0.5rem;
  font-size: 0.8125rem;
  color: var(--hrc-ink-muted);
  margin: 0;
}

.hrc-company-switch__clear[b-tohekgsvzw] {
  margin: 0;
  border-block-start: 1px solid var(--hrc-border);
  padding-block-start: var(--hrc-space-xs);
  margin-block-start: var(--hrc-space-xs);
}

/* -- narrow reflow --------------------------------------------------------
   Below 45rem the panel takes the full inline size of the shell topbar. */

@media (max-width: 45rem) {
  .hrc-company-switch__panel[b-tohekgsvzw] {
    inset-inline: var(--hrc-space-sm) var(--hrc-space-sm);
    max-inline-size: none;
    min-inline-size: 0;
  }

  .hrc-company-switch__name[b-tohekgsvzw] {
    max-inline-size: 8rem;
  }
}
/* /Components/Shared/Wordmark.razor.rz.scp.css */
.hrc-wordmark[b-33jacgmie0] {
    display: inline-flex;
    align-items: center;
    color: var(--hrc-ink);
    line-height: 0;
}

.hrc-wordmark svg[b-33jacgmie0] {
    inline-size: auto;
    block-size: 1.75rem;
    max-inline-size: 100%;
}

.hrc-wordmark--compact svg[b-33jacgmie0] {
    block-size: 1.375rem;
}
