:root { color-scheme: light; --ink: #182b44; --muted: #58677b; --line: #dce4ee; --accent: #2855bf; }
* { box-sizing: border-box; }
body { margin: 0; background: #f3f6fb; color: var(--ink); font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
.page-shell { max-width: 1160px; margin: 0 auto; padding: 48px 28px 24px; }
.page-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 56px; height: 56px; background: var(--ink); color: white; border-radius: 16px; font-size: 28px; font-weight: 700; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.25; letter-spacing: -.035em; }
h2 { font-size: 22px; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.02em; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.page-intro, .muted { color: var(--muted); }
.page-intro { margin-top: 8px; }
.card { min-width: 0; padding: 22px 28px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 18px rgba(24,43,68,.035); }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.card > .muted { margin-bottom: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.form-control { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #b9c6d7; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
select.form-control { text-overflow: ellipsis; }
.form-control:hover { border-color: #8195b1; }
.button { min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font: 600 15px/1.4 "Segoe UI", Arial, sans-serif; cursor: pointer; white-space: normal; }
.button-primary { width: 100%; background: var(--accent); color: white; margin-top: 4px; }
.button-primary:hover { background: #1d4094; }
.button-secondary { background: #f8faff; border-color: #b9c6d7; color: var(--ink); }
.button-secondary:hover { background: #eaf0fa; }
:focus-visible { outline: 3px solid #668be4; outline-offset: 3px; }
.provider-group { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; background: #f8fafd; padding: 14px 20px; margin: 0 0 18px; min-width: 0; }
.provider-group h3 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; line-height: 1.35; font-weight: 700; }
.provider-group .field:last-child, .provider-group:last-child { margin-bottom: 0; }
.signed-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.status-badge { display: inline-block; background: #e6f5ee; color: #216346; border: 1px solid #bddfce; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.message { margin: 20px 0; padding: 14px 18px; background: #eaf0fc; border-left: 3px solid var(--accent); border-radius: 6px; overflow-wrap: anywhere; white-space: pre-line; }
.message:empty { display: none; }
.diagnostic-panel { margin: 24px 0; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 14px; }
.data-table caption { text-align: left; font-size: 20px; font-weight: 700; padding-bottom: 12px; color: var(--ink); }
.data-table th, .data-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; word-wrap: break-word; }
.data-table th { background: #edf2f8; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #455671; }
.data-table th:first-child, .data-table td:first-child { width: 34%; }
.data-table td:last-child { font-family: Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap; }
.data-table tr:nth-child(even) td { background: #f8fafd; }
.data-table tr:last-child td { border-bottom: 0; }
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding-top: 28px; }
@media (max-width: 720px) {
    .page-shell { padding: 28px 16px 20px; }
    .page-header { align-items: flex-start; gap: 14px; }
    .brand-mark { flex-basis: 44px; height: 44px; border-radius: 12px; font-size: 23px; }
    .login-grid { grid-template-columns: 1fr; gap: 18px; }
    .card { padding: 16px 20px; border-radius: 12px; }
    .signed-in { align-items: stretch; flex-direction: column; gap: 18px; }
    .data-table th, .data-table td { padding: 10px 8px; }
    .data-table th:first-child, .data-table td:first-child { width: 40%; }
}

.claims-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.claims-heading h2 { flex: 1; margin: 0; font-size: 20px; line-height: 1.6; letter-spacing: normal; }
.copy-claims { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); cursor: pointer; }
.copy-claims:hover { color: var(--accent); background: none; }
.copy-claims:disabled { cursor: wait; opacity: .6; }
.copy-status { text-align: right; font-size: 12px; color: var(--accent); max-width: 50%; }
.copy-status:empty { display: none; }
