/* Client site styles. Every visual rule lives here: the CSP forbids inline style. */
:root {
    --client-navy: #1b3a5c;
    --client-ink: #c8d8e8;
}

.client-body { background: #f4f6f9; min-height: 100vh; display: flex; flex-direction: column; }
.client-header { background: var(--client-navy); color: #fff; padding: 0.9rem 0; }
.client-brand { font-weight: 700; letter-spacing: 0.02em; }
.client-brand-sub { color: var(--client-ink); font-size: 0.85rem; }
.client-header-user { color: var(--client-ink); }
.client-main { flex: 1; padding-top: 2rem; padding-bottom: 2rem; }
.client-footer { padding-bottom: 1.5rem; }

.auth-card { max-width: 440px; margin: 0 auto; }
.authenticator-qr { width: 200px; height: 200px; image-rendering: pixelated; }
.authenticator-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: 0.08em; word-break: break-all; }
.recovery-codes { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; columns: 2; }

/* Sprint 4: navigation, lists, the employee page and its audiograms. */
.client-nav { background: #fff; border-bottom: 1px solid #dde3ea; }
.client-nav .nav-link { color: #3b4b5c; padding: 0.75rem 0.9rem; }
.client-nav .nav-link.active { color: var(--client-navy); font-weight: 600; box-shadow: inset 0 -3px 0 var(--client-navy); }
.client-switcher .form-select { max-width: 18rem; }
.client-filters .form-check { margin-bottom: 0; }
.client-table th { white-space: nowrap; }
.client-table td.num, .client-table th.num { text-align: center; }
.client-audiograms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.audiogram { width: 100%; height: auto; max-width: 460px; display: block; }
.audiogram .ag-frame { fill: #fff; stroke: #9aa7b4; stroke-width: 1; }
.audiogram .ag-grid { stroke: #e3e8ee; stroke-width: 1; }
.audiogram .ag-grid-strong { stroke: #c9d2dc; stroke-width: 1; }
.audiogram .ag-axis { fill: #55636f; font-size: 11px; font-family: system-ui, sans-serif; }
.audiogram .ag-line { fill: none; stroke-width: 2; }
.audiogram .ag-left { stroke: #1f5fbf; }
.audiogram .ag-right { stroke: #b8322a; }
.audiogram .ag-mark { fill: none; stroke-width: 2; }
.audiogram .ag-base { fill: none; stroke: #6b7682; stroke-width: 1.5; stroke-dasharray: 5 4; }
.audiogram .ag-base-mark { fill: #fff; stroke: #6b7682; stroke-width: 1.5; }
.ag-key-left { color: #1f5fbf; font-weight: 700; }
.ag-key-right { color: #b8322a; font-weight: 700; }
.ag-key-base { color: #6b7682; font-weight: 700; }
.client-shown-test { background: #eef4fb; }
.unconfirmed { font-size: 0.7em; vertical-align: super; color: #8a5a00; }
