/* ============================================================
   Component & layout classes
   Role-named presentation classes so the markup stays free of inline
   styles and one-off utilities. Loaded last so these can layer on top
   of the base components (e.g. .empty.compact refines .empty).
   ============================================================ */

/* Sign-in / accept-invitation screens */
.eyebrow    { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8aa0bd; }
.login-sub  { text-align: center; color: var(--ink-soft); margin-top: -2px; }
.login-note { text-align: center; color: var(--ink-soft); }
.login-alt  { text-align: center; margin-top: 14px; }
.btn-block  { width: 100%; justify-content: center; }

/* Page header: the status/meta line under the title, and the header's action buttons */
.head-meta    { margin-top: 10px; }
.head-actions { display: flex; gap: 8px; align-items: center; }

/* Cards on tiles */
.tile-badge  { margin: 4px 0 6px; }
.client-note { min-height: 34px; }
.empty-cta   { margin-top: 14px; }

/* Toolbars: the golden-thread "where" filter + inline status selects sized to content */
.inline-select { width: auto; }
.filter-form   { display: flex; gap: 8px; align-items: center; margin: 0; }
.filter-label  { margin: 0; color: var(--ink-soft); font-size: 12.5px; }
.thread-where  { margin: 0 8px; }

/* Forms */
.form-actions { display: flex; gap: 10px; margin-top: 8px; }
.inline-form  { display: inline; margin: 0; }
.checkbox-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.onboard-hint { margin-top: 8px; }
.return-link  { margin-top: 8px; }

/* Contractor "Your assignment" panel */
.assignment-resp        { margin: 0 0 4px; }
.assignment-status      { margin-bottom: 12px; }
.assignment-actions     { display: flex; gap: 8px; }
.assignment-actions form { margin: 0; }

/* Table action cell: keep the cell a normal table-cell (so row borders line up) and lay the
   buttons out in a flex row via an inner wrapper. */
.tbl-actions .row-actions { display: flex; gap: 8px; align-items: center; }
.tbl-actions form         { margin: 0; }

/* Pager under a table */
.pager       { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.pager-info, .pager-page { color: var(--ink-soft); font-size: 13px; }
.pager-links { display: flex; align-items: center; gap: 10px; }

/* Duty-holder status cell (read-only badge + optional "Mark completed") */
.duty-status      { display: flex; gap: 6px; align-items: center; }
.duty-status form { margin: 0; }

/* Cards: a stacked section card, a highlighted "shown once" callout, a narrow form card */
.section-card  { margin-bottom: 18px; }
.narrow-card   { max-width: 560px; }
.callout       { margin-bottom: 18px; border: 1px solid var(--hd-gold); }
.callout-title { font-weight: 600; margin-bottom: 6px; }
.callout-body  { margin-bottom: 8px; }
.code-chip     { font-size: 15px; padding: 6px 10px; background: var(--hd-blue-soft); border-radius: 6px; }

/* A sub-section heading inside a card */
.subhead { margin: 16px 0 6px; font-weight: 600; }

/* Right-aligned action cell in a table */
.actions-cell { text-align: right; }

/* Meta lines (file details / linked decision / remediation panel byline) */
.file-meta            { margin-top: 6px; color: var(--ink-soft); }
.thread-decision-link { margin-top: 6px; }
.panel-byline         { color: var(--ink-soft); }
.panel-form           { margin-top: 10px; }

/* Compact empty states (smaller than the default .empty padding) */
.empty.compact { padding: 24px; }
.empty.tight   { padding: 14px; }

/* Misc */
.brand-wordmark { font-size: 18px; letter-spacing: .04em; }
.svg-icon       { vertical-align: -.125em; }
.plain-link     { text-decoration: none; color: inherit; }
.hidden         { display: none; }
/* A card header that continues the card below it (separator above, not below). */
.card-h.split   { border-top: 1px solid var(--line); border-bottom: none; }
