/* North Ferry colors: navy with a brass accent (John, Oct 5). The MudBlazor theme in
   Layout/MainLayout.razor uses the same values. */
:root {
    --nfco-navy: #0B2A4A;
    --nfco-navy-2: #163E66;
    --nfco-brass: #C9A227;
    --nfco-bg: #F4F6F9;
    --nfco-tint-soft: #EEF3F9;
    --nfco-tint: #E6ECF4;
    --nfco-tint-strong: #D2E0F0;
    --nfco-focus: rgba(11, 42, 74, 0.25);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* ---- Payroll pages: Timesheet, batch print, ADP Entry Report ----
   Same structure as the FoxPro timesheet (entry blocks, indented "hours at rate" lines,
   day totals) in a clean modern face. */
.app-content { padding-top: 64px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.page-actions { display: flex; gap: 1.5rem; align-items: center; max-width: 820px; margin: 1.25rem auto 0.5rem; padding: 0 1rem; }
.print-button { margin-left: auto; padding: 0.4rem 1.1rem; border: 1px solid #555; border-radius: 4px; background: #fff; cursor: pointer; }

.timesheet, .report {
    max-width: 820px; margin: 0.5rem auto 2rem; padding: 1.5rem 1.75rem; background: #fff;
    border: 1px solid #d0d5dd; border-radius: 6px;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.92rem; color: #1d2433; font-variant-numeric: tabular-nums;
}
.ts-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #1d2433; padding-bottom: 0.6rem; margin-bottom: 0.9rem; }
.ts-company { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #5b6476; }
.ts-name { font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.ts-sub { color: #4a5263; }
.ts-period { text-align: right; color: #4a5263; }
.ts-period strong { color: #1d2433; }
.ts-error { margin: 0.75rem 0; padding: 0.6rem 0.8rem; background: #fff4e5; border: 1px solid #f0b56a; border-radius: 4px; }

.ts-lines { width: 100%; border-collapse: collapse; }
.ts-lines .c-date { width: 7.5rem; }
.ts-lines .c-amt, .ts-lines .c-total { width: 6.5rem; }
.ts-lines td { padding: 0.12rem 0.4rem; vertical-align: baseline; }
.ts-block td { padding-top: 0.55rem; font-weight: 600; }
.ts-date { color: #1d2433; white-space: nowrap; }
.ts-indent { padding-left: 2.25rem !important; }
.ts-line { color: #2c3445; }
.ts-note td { font-style: italic; color: #5b6476; }
.ts-daytotal td { padding-bottom: 0.55rem; border-bottom: 1px solid #e3e6ec; color: #4a5263; }
.ts-daytotal td:last-child { color: #1d2433; font-weight: 700; }

.ts-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-top: 1.1rem; }
.ts-totals { border-collapse: collapse; min-width: 300px; }
.ts-totals td { padding: 0.2rem 0.5rem; }
.ts-grand td { border-top: 2px solid #1d2433; font-weight: 700; }

/* The two numbers entered in ADP and printed on the paystub (PAY-31). */
.ts-paystub { min-width: 270px; padding: 0.75rem 1rem; border: 2px solid var(--nfco-navy); border-radius: 6px; background: var(--nfco-tint); }
.ts-paystub-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nfco-navy); font-weight: 700; margin-bottom: 0.35rem; }
.ts-paystub-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; padding: 0.15rem 0; }
.ts-paystub-row strong { font-size: 1.15rem; }
.ts-paystub-row small { color: #4a5263; }
.ts-foot { margin-top: 0.9rem; font-size: 0.75rem; color: #7a8294; }

.adp-lines { width: 100%; border-collapse: collapse; margin-top: 0.75rem; }
.adp-lines th { text-align: left; border-bottom: 1px solid #99a0ae; padding: 0.3rem 0.4rem; font-weight: 600; }
.adp-lines th.num { text-align: right; }
.adp-lines td { padding: 0.2rem 0.4rem; border-bottom: 1px solid #eef0f3; }

@media print {
    /* One timesheet per Letter page (John): tighter type and spacing than on screen,
       stepped down further by TimesheetView for long weeks (.ts-compact, .ts-dense). */
    @page { size: letter; margin: 0.4in; }
    .no-print, .mud-appbar { display: none !important; }
    .app-content { padding-top: 0 !important; }
    body { background: #fff; }
    .timesheet, .report { border: none; margin: 0 auto; max-width: none; padding: 0; border-radius: 0; }
    .timesheet { font-size: 9.5pt; }
    .ts-head { padding-bottom: 0.3rem; margin-bottom: 0.4rem; }
    .ts-name { font-size: 14pt; }
    .ts-lines td { padding-top: 0.04rem; padding-bottom: 0.04rem; }
    .ts-block td { padding-top: 0.3rem; }
    .ts-daytotal td { padding-bottom: 0.25rem; }
    .ts-bottom { margin-top: 0.5rem; }
    .ts-totals td { padding: 0.08rem 0.4rem; }
    .ts-paystub { padding: 0.45rem 0.75rem; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .ts-paystub-row { font-size: 10.5pt; padding: 0.05rem 0; }
    .ts-paystub-row strong { font-size: 11pt; }
    .ts-balances { margin-top: 0.5rem; padding-top: 0.35rem; }
    .ts-days td, .ts-days th { padding-top: 0.02rem; padding-bottom: 0.02rem; }
    .ts-bank-row { padding: 0.02rem 0; }

    .timesheet.ts-compact { font-size: 8.5pt; }
    .ts-compact .ts-name { font-size: 12.5pt; }
    .ts-compact .ts-lines td { padding-top: 0; padding-bottom: 0; }
    .ts-compact .ts-block td { padding-top: 0.2rem; }
    .ts-compact .ts-daytotal td { padding-bottom: 0.15rem; }

    .timesheet.ts-dense { font-size: 7.5pt; }
    .ts-dense .ts-name { font-size: 11pt; }
    .ts-dense .ts-lines td { padding-top: 0; padding-bottom: 0; line-height: 1.15; }
    .ts-dense .ts-block td { padding-top: 0.12rem; }
    .ts-dense .ts-daytotal td { padding-bottom: 0.1rem; }
    .ts-dense .ts-paystub-row { font-size: 9.5pt; }
    .ts-dense .ts-paystub-row strong { font-size: 10pt; }

    .page-break { break-after: page; }
    .page-break:last-child { break-after: auto; }
}
/* Days & balances (placeholder until benefit days, prorata and the leave ledger exist). */
.ts-balances { margin-top: 1.1rem; padding-top: 0.6rem; border-top: 1px solid #d0d5dd; }
.ts-balances-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #5b6476; font-weight: 700; margin-bottom: 0.4rem; }
.ts-balances-body { display: flex; gap: 2rem; align-items: flex-start; }
.ts-days { border-collapse: collapse; min-width: 260px; }
.ts-days th { font-weight: 600; font-size: 0.8rem; color: #4a5263; padding: 0.1rem 0.5rem; border-bottom: 1px solid #d0d5dd; }
.ts-days th.num { text-align: right; }
.ts-days td { padding: 0.1rem 0.5rem; }
.ts-bank { flex: 1; }
.ts-bank-row { display: grid; grid-template-columns: 1fr 3rem 9rem 3rem; gap: 0.5rem; padding: 0.12rem 0; }
.ts-bank-row strong { text-align: right; }

/* ---- Weekly entry screen: entry on the left, live timesheet on the right (widescreen) ----
   Outlined fields, dark readable headings, grey sample text (John, Oct 2). */
.entry-bar { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; padding: 0.6rem 1rem; border-bottom: 1px solid #c3c8d2; background: #f2f5f9; }
.entry-week, .entry-who { display: flex; gap: 0.5rem; align-items: center; }
.entry-week a, .entry-who button { text-decoration: none; padding: 0.2rem 0.55rem; border: 1px solid #8a93a3; border-radius: 4px; background: #fff; color: #1d2433; }
.entry-who select { min-width: 22rem; padding: 0.3rem; border: 1px solid #8a93a3; border-radius: 4px; }
.entry-layout { display: grid; grid-template-columns: minmax(760px, 1fr) minmax(460px, 760px); gap: 1rem; padding: 0.75rem 1rem; align-items: start; }
.entry-right { position: sticky; top: 72px; max-height: calc(100vh - 84px); overflow: auto; }
.entry-right .timesheet { margin-top: 0; }
/* On a vertical (portrait) display or a narrow window, the preview drops below the form (John, Oct 2). */
@media (orientation: portrait), (max-width: 1279px) {
    .entry-layout { grid-template-columns: 1fr; }
    .entry-right { position: static; max-height: none; overflow: visible; }
}
.entry-preview-label { font-size: 0.8rem; color: #2c3445; margin-bottom: 0.25rem; }
.entry-fields { border: none; margin: 0; padding: 0; }

.entry-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.88rem; color: #1d2433; }
.entry-table thead th {
    text-align: left; font-weight: 700; font-size: 0.78rem; line-height: 1.2; color: #1d2433;
    background: #e8edf5; padding: 0.35rem 0.35rem; border-bottom: 1px solid #b8c1d1; vertical-align: bottom;
}
.entry-table thead th[title] { cursor: help; }
.entry-table thead tr.entry-sub th { background: #f1f4f9; font-weight: 600; border-bottom: 2px solid #8a93a3; }
.entry-table td { padding: 0.15rem 0.3rem; vertical-align: middle; }
.entry-day:nth-of-type(even) td { background: #f8f9fb; }
.entry-day tr:first-child td { padding-top: 0.45rem; border-top: 1px solid #d0d5dd; }
.entry-day tr:last-child td { padding-bottom: 0.45rem; }
.entry-date { font-weight: 700; white-space: nowrap; }
/* The day being edited, and the day under the mouse, stand out (John, Oct 5). */
.entry-day:hover td { background: var(--nfco-tint-soft); }
.entry-day:focus-within td { background: var(--nfco-tint-strong); }

/* Outlined fields with grey sample text. */
.entry-table input[type=number], .entry-table input[type=text], .entry-table select {
    border: 1px solid #8a93a3; border-radius: 4px; background: #fff; color: #1d2433;
    padding: 0.22rem 0.35rem; font: inherit; font-variant-numeric: tabular-nums;
}
.entry-table input[type=number] { width: 4.9rem; }
.entry-table input[type=text] { width: 100%; box-sizing: border-box; }
.entry-table input::placeholder { color: #9aa1ad; opacity: 1; }
.entry-table input:focus, .entry-table select:focus { outline: none; border-color: var(--nfco-navy); box-shadow: 0 0 0 2px var(--nfco-focus); }
.entry-table input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--nfco-navy); }
.entry-comment { min-width: 13rem; }
.entry-check { text-align: center; }
.entry-taken { display: block; font-size: 0.7rem; color: #5b6476; white-space: nowrap; }
.entry-all { display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 600; cursor: pointer; }
.entry-weekly { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin: 0 0 0.6rem; padding: 0.45rem 0.75rem; border: 1px solid #b8c1d1; border-radius: 6px; background: var(--nfco-tint-soft); font-size: 0.9rem; }
.entry-weekly label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; cursor: pointer; }
.entry-weekly input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--nfco-navy); }
.entry-weekly-amount { font-variant-numeric: tabular-nums; font-weight: 600; }
.entry-weekly-note { color: #4a5263; }

.entry-add, .entry-remove, .entry-clear-button {
    font-size: 0.75rem; padding: 0.12rem 0.45rem; margin-right: 0.2rem; border: 1px solid #8a93a3;
    border-radius: 4px; background: #fff; color: #1d2433; cursor: pointer; white-space: nowrap;
}
.entry-clear { text-align: right; }
.entry-clear-button { border-color: #b3261e; color: #b3261e; }
.entry-clear-button:hover:not(:disabled) { background: #fdecea; }
.entry-add:hover, .entry-remove:hover { background: #eef3fb; }
button:disabled { opacity: 0.45; cursor: default; }
.entry-hint { font-size: 0.8rem; color: #2c3445; font-weight: 600; }
.entry-extra td { background: #f4f7fc !important; }
fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] button { background: #eef0f3; color: #4a5263; border-color: #c3c8d2; }
/* Fast entry: suspicious hours (missing decimal point?) and the Save & next target. */
.entry-table input.entry-suspicious { background: #fff3b0; border-color: #c9a400; }
#save-next:focus, #save-next:focus-visible { outline: 3px solid #f5b800; outline-offset: 2px; box-shadow: 0 0 0 6px rgba(245, 184, 0, 0.35); }

/* Pay-week lifecycle (PAY-20): status panel on the week page, draft banner on reports. */
.ts-draft { margin: 0.75rem 0; padding: 0.6rem 0.8rem; background: #fde8e8; border: 2px solid #c62828; border-radius: 4px; color: #8e1b1b; font-weight: 700; }
.week-status { margin: 0 0 1rem; padding: 0.75rem 1rem; border: 1px solid #cfd8dc; border-radius: 6px; background: #fafcfd; }
.week-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.week-status-label { font-weight: 600; }
.week-status-chip { padding: 0.15rem 0.7rem; border-radius: 999px; font-weight: 700; color: #fff; }
.week-status-chip.status-open { background: var(--nfco-navy); }
.week-status-chip.status-review { background: #ef6c00; }
.week-status-chip.status-approved { background: #2e7d32; }
.week-status-chip.status-locked { background: #455a64; }
.week-status-help { color: #37474f; }
.week-status-reason { flex: 1 1 22rem; padding: 0.35rem 0.5rem; border: 1px solid #90a4ae; border-radius: 4px; }
.week-status-button { padding: 0.4rem 0.9rem; border-radius: 4px; border: 1px solid; cursor: pointer; font-weight: 600; }
.week-status-button.forward { background: var(--nfco-navy); border-color: var(--nfco-navy); color: #fff; }
.week-status-button.reopen { background: #fff; border-color: #c62828; color: #c62828; }
.week-status-button:disabled { opacity: 0.45; cursor: default; }
.week-status-error { margin: 0.4rem 0; color: #b71c1c; }
.week-status-history ul { margin: 0.3rem 0 0 1.2rem; padding: 0; }
@media print { .ts-draft { border-width: 3px; } .week-status { display: none; } }

/* Year-end exports page */
.export-form { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.export-form input { width: 6rem; margin-left: 0.5rem; padding: 0.3rem 0.4rem; border: 1px solid #90a4ae; border-radius: 4px; }

/* PR-45 personal-day flags on the week page */
.week-flags { margin: 0 0 1rem; padding: 0.75rem 1rem; border: 1px solid #f0b56a; border-radius: 6px; background: #fff8ec; }
.week-flags-title { font-weight: 700; margin-bottom: 0.4rem; color: #7a4b00; }
.week-flag { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding: 0.3rem 0; border-top: 1px solid #f3dcb5; }
.week-flag-what { flex: 1 1 22rem; }
.week-flag.resolved .week-flag-what { color: #4a5263; }
.week-flag-done { color: #2e7d32; }

/* Employee page (ADM-06) */
.emp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.emp-sub { color: #37474f; margin-top: 0.2rem; }
.emp-status { font-weight: 700; }
.emp-status.on { color: #2e7d32; }
.emp-status.off { color: #b71c1c; }
.emp-links { display: flex; gap: 1rem; }
.emp-card { margin: 0 0 1rem; padding: 0.8rem 1rem; border: 1px solid #cfd8dc; border-radius: 6px; background: #fff; }
.emp-card h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.emp-subtitle { margin: 0.8rem 0 0.4rem; font-weight: 600; }
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.6rem 1rem; }
.emp-grid label, .emp-action label { display: flex; flex-direction: column; font-size: 0.82rem; color: #37474f; gap: 0.15rem; }
.emp-grid label.wide { grid-column: span 2; }
.emp-card input, .emp-card select { padding: 0.3rem 0.4rem; border: 1px solid #90a4ae; border-radius: 4px; font-size: 0.9rem; }
.emp-action { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; margin-top: 0.6rem; }
.emp-reason { flex: 1 1 20rem; }
.emp-hint { color: #5b6476; font-size: 0.82rem; margin-top: 0.4rem; }
.emp-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; font-size: 0.88rem; }
.emp-table th { text-align: left; border-bottom: 1px solid #b8c1d1; padding: 0.25rem 0.4rem; background: #eef2f7; }
.emp-table td { padding: 0.2rem 0.4rem; border-bottom: 1px solid #eceff4; }
.emp-table .num { text-align: right; }
.emp-tag { font-size: 0.7rem; padding: 0.05rem 0.4rem; border: 1px solid #8a93a3; border-radius: 3px; vertical-align: middle; color: #5b6476; }
.emp-done { color: #2e7d32; }
.row-inactive td { color: #8a93a3; }
.emp-onepager h3 { margin: 1.1rem 0 0.3rem; font-size: 1rem; }
.emp-facts { border-collapse: collapse; margin-top: 0.6rem; }
.emp-facts th { text-align: left; padding: 0.15rem 1.2rem 0.15rem 0; color: #4a5263; font-weight: 600; }
.emp-facts td { padding: 0.15rem 0; }

/* Sign-in pages and the app bar user menu */
.account-card { max-width: 26rem; margin: 3rem auto; padding: 1.5rem 1.75rem; border: 1px solid #cfd8dc; border-radius: 8px; background: #fff; }
.account-card.wide { max-width: 34rem; }
.account-card h1 { font-size: 1.4rem; margin: 0 0 0.4rem; }
.account-sub { color: #37474f; margin: 0 0 1rem; }
.account-card label { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.7rem; font-size: 0.9rem; color: #2c3445; }
.account-card label.account-check { flex-direction: row; align-items: center; gap: 0.4rem; }
.account-card input[type=text], .account-card input[type=email], .account-card input[type=password], .account-card input:not([type]) { padding: 0.45rem 0.55rem; border: 1px solid #90a4ae; border-radius: 4px; font-size: 1rem; }
.account-button { display: inline-block; margin-top: 0.4rem; padding: 0.5rem 1.1rem; border: 1px solid var(--nfco-navy); border-radius: 4px; background: var(--nfco-navy); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; }
.account-error { margin-bottom: 0.8rem; padding: 0.5rem 0.7rem; border: 1px solid #e57373; border-radius: 4px; background: #fdecea; color: #8e1b1b; }
.account-hint { margin-top: 1rem; font-size: 0.85rem; color: #5b6476; }
.account-steps li { margin-bottom: 0.7rem; }
.account-qr svg { width: 200px; height: 200px; display: block; margin: 0.5rem 0; }
.account-key { font-size: 1rem; letter-spacing: 0.05em; }
.account-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; margin: 0.6rem 0 1rem; }
.account-codes code { padding: 0.3rem; background: #f2f5f9; border-radius: 4px; text-align: center; font-size: 1rem; }
.appbar-user { margin-right: 1rem; font-size: 0.9rem; }
.appbar-link { color: inherit; background: none; border: none; font: inherit; font-size: 0.85rem; cursor: pointer; text-decoration: underline; margin-left: 0.8rem; padding: 0; }
.appbar-form { display: inline; }

.users-temp { margin: 0 0 1rem; padding: 0.8rem 1rem; border: 2px solid #2e7d32; border-radius: 6px; background: #eef8ee; }
.users-temp code { font-size: 1.1rem; padding: 0.1rem 0.4rem; background: #fff; }
.users-actions { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* Additional Overtime (State OT above Contract OT), flagged in red (John, Oct 5). */
.ts-additional, .ts-additional td { color: #c62828; font-weight: 700; }

/* ---- Branding: app bar, home banner, sign-in cards, printed headers (John, Oct 5) ---- */
@media screen { body { background: var(--nfco-bg); } }
.nfco-appbar { border-bottom: 3px solid var(--nfco-brass); }
.appbar-brand { display: flex; align-items: center; gap: 0.6rem; margin-right: 1.5rem; color: #fff; text-decoration: none; }
.appbar-brand img { height: 46px; width: auto; display: block; }
.appbar-brand span { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }

.home-hero {
    display: flex; align-items: center; gap: 2rem; padding: 1.75rem 2rem; color: #fff;
    background: linear-gradient(135deg, var(--nfco-navy) 0%, var(--nfco-navy-2) 100%);
    border-bottom: 3px solid var(--nfco-brass);
}
.home-hero img { height: 110px; width: auto; flex: none; }
.home-hero h1 { margin: 0.1rem 0 0.3rem; font-size: 2rem; font-weight: 600; }
.home-hero-kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--nfco-brass); font-weight: 700; }
.home-hero-sub { color: #dbe4ef; }
@media (max-width: 600px) { .home-hero { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 1rem; } .home-hero img { height: 80px; } }

.account-card { border-top: 4px solid var(--nfco-navy); box-shadow: 0 2px 10px rgba(11, 42, 74, 0.08); }
.account-logo { display: block; width: 200px; max-width: 70%; height: auto; margin: 0 auto 1rem; }

.ts-brand { display: flex; align-items: center; gap: 0.9rem; }
.ts-logo { height: 44px; width: auto; flex: none; }
.report-logo { float: right; height: 44px; width: auto; margin-left: 1rem; }
@media print {
    .ts-logo, .report-logo { height: 0.4in; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .ts-compact .ts-logo { height: 0.35in; }
    .ts-dense .ts-logo { height: 0.3in; }
}
