:root{color-scheme:light;--surface:#fff;--line:#e2e8f0;--ink:#17243a;--subtle:#64748b;--accent:#2456d9}body{background:#f4f7fc;color:var(--ink)}header{background:#fff;border-bottom:1px solid var(--line);gap:1rem}.main-nav{display:flex;gap:.35rem;overflow:auto;padding:.75rem max(1rem,calc((100vw - 1440px)/2));background:#fff;border-bottom:1px solid var(--line)}.main-nav a{white-space:nowrap;padding:.65rem .85rem;color:#475569;border-radius:.5rem;text-decoration:none;font-size:.9rem;font-weight:600}.main-nav a:hover,.main-nav a[aria-current=page]{background:#eaf0ff;color:var(--accent)}main{max-width:1440px}.panel{border:1px solid var(--line);border-radius:1rem;box-shadow:0 3px 12px #17243a04}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:1rem}.filter-grid label{min-width:0}.outcome-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.metric{display:flex;flex-direction:column;justify-content:space-between;gap:.6rem;min-height:145px;color:inherit;text-decoration:none;border-top:3px solid #94a3b8}.metric.matched{border-top-color:#15946d}.metric.possible_match{border-top-color:#e3a331}.metric.mismatch_detected,.metric.duplicate_conflict{border-top-color:#df5864}.metric strong{font-size:2rem}.badge.matched{background:#e4f6ed;color:#146c46}.badge.possible_match{background:#fff2d6;color:#805600}.badge.mismatch_detected,.badge.duplicate_conflict{background:#fee8ea;color:#a52e42}.amount{font-size:1.35rem;font-weight:700;font-variant-numeric:tabular-nums}.trend-row{display:flex;align-items:center;gap:1rem;margin:.75rem 0}.trend-row meter{flex:1;height:1.25rem}.trend-row span{min-width:6.5rem}.claim-row{border-top:1px solid var(--line);padding:.75rem 0}table{font-variant-numeric:tabular-nums}thead th{background:#f8fafc}td{vertical-align:top}button,.button{border-radius:.55rem}input,select,textarea{max-width:100%}details summary{cursor:pointer;font-weight:600}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #799eff;outline-offset:3px}@media(max-width:700px){header .tag{display:none}.heading{align-items:flex-start;flex-direction:column}.main-nav{padding:.5rem}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:1fr}.actions{flex-wrap:wrap}.metric{min-height:130px}main{padding:1rem}.table-wrap{overflow-x:auto}td,th{min-width:110px}}
header .header-link{margin-left:auto;font-size:.9rem;font-weight:600}header .header-link+form{margin-left:.5rem}.badge.correct{background:#e4f6ed;color:#146c46}.badge.incorrect{background:#fee8ea;color:#a52e42}.sandbox-banner{border-left:4px solid #e3a331;background:#fff8e6;padding:.75rem 1rem;border-radius:.5rem;margin-bottom:1rem}.receipt-preview{max-width:100%;max-height:640px;border:1px solid var(--line);border-radius:.5rem}.matched-row td{background:#e4f6ed}.report-json{white-space:pre-wrap;overflow-wrap:anywhere}.stats strong.stat-text{font-size:20px}
.candidate-evidence,.candidate-card,.candidate-field{min-width:0}.candidate-card{border:1px solid var(--line);border-radius:.75rem;margin-top:1.25rem;overflow:hidden}.candidate-card .candidate-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:1rem;background:#f8fafc;padding:1rem;border-bottom:1px solid var(--line)}.candidate-heading h3,.candidate-heading p{margin:0 0 .4rem}.candidate-ranking{display:flex;flex-direction:column;gap:.3rem;max-width:32rem}.candidate-original{padding:0 1rem}.candidate-card dd,.candidate-ranking{overflow-wrap:anywhere}.candidate-description{white-space:pre-wrap}.candidate-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;padding:1rem}.candidate-field{padding:1rem;background:#f8fafc;border:1px solid var(--line);border-radius:.6rem}.candidate-field h4{margin:0 0 .6rem}.candidate-card dt{font-size:.8rem;font-weight:600;color:#475569;margin-top:.8rem}.candidate-card dd{margin:.25rem 0 .75rem}.candidate-field p{margin-bottom:0}.candidate-field .evidence-status{white-space:normal}.evidence-exact{background:#e4f6ed;color:#146c46}.evidence-strong_compatible{background:#eaf0ff;color:#244eaa}.evidence-possible{background:#fff2d6;color:#805600}.evidence-conflict{background:#fee8ea;color:#a52e42}.evidence-unavailable{background:#e9edf3;color:#475569}.candidate-parser{padding:1rem;border-top:1px solid var(--line)}
.candidate-original,.candidate-field dl{display:block}
.brand{color:var(--ink)}
/* Keep intrinsic content from forcing console grids wider than the viewport. */
.grid,.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid>*,.stats>*,.heading>*,.actions>*,.filter-grid>*{min-width:0}.filter-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.receipt-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.panel,fieldset{min-width:0}.heading,.actions{flex-wrap:wrap}main{overflow-wrap:anywhere}header{flex-wrap:wrap;color:var(--ink);padding:1rem max(1rem,calc((100vw - 1440px)/2))}.brand{white-space:normal;line-height:1.2;max-width:100%}.brand span{display:inline-block}.tag{color:#475569}header form{margin:0}header .header-link{color:#2456d9}.header-link,.main-nav a,button,.button,summary{min-height:44px}.header-link,.button{display:inline-flex;align-items:center}.header-link{padding:.5rem 0}a{color:#176861}.main-nav a{display:inline-flex;align-items:center}button,.button{white-space:normal;text-align:center}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed}button:disabled{opacity:.6}input[type=checkbox],input[type=radio]{display:inline-block;flex:none;width:1.25rem;height:1.25rem;min-height:0;margin:0;accent-color:var(--accent)}.check{min-height:44px;align-items:flex-start;padding:.65rem 0;font-size:.9rem}.check input{margin-top:.1rem}.check>span{min-width:0}input,select,textarea{min-height:44px;font-size:16px}input[type=hidden]{display:none}.search{flex-wrap:wrap}.search input{flex:1;min-width:0}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:.5rem}.table-wrap:focus-visible,summary:focus-visible{outline:3px solid #799eff;outline-offset:3px}.table-wrap table{min-width:600px;table-layout:auto}td,th{overflow-wrap:anywhere;max-width:32rem}.table-wrap td input{min-width:12rem}pre,.report-json{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}pre{overflow:auto}.receipt,.receipt-preview,.thumb{max-width:100%;height:auto;object-fit:contain}details>summary{padding:.65rem 0}details[open]>summary{margin-bottom:1rem}fieldset{border:1px solid var(--line);border-radius:.6rem;padding:1rem;margin:0 0 1rem}legend{font-weight:700;padding:0 .35rem}dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}dt{overflow-wrap:anywhere}.badge{display:inline-block;white-space:normal;line-height:1.5}.trend-row meter{min-width:0}.trend-row{flex-wrap:wrap}.trend-row meter{min-width:5rem}
.user-fields{border:0;padding:0;margin:0}.user-card summary{list-style-position:outside}.user-identity,.user-summary-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}.user-identity{margin-bottom:.5rem}.user-summary-meta{margin-bottom:.5rem;font-weight:400}.account-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.25rem 1rem;max-height:24rem;overflow:auto}.account-options .check{border-bottom:1px solid var(--line);margin:0}.account-description{display:block;font-weight:400}.permission-list{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;padding-left:1.25rem}.role-description{border-top:1px solid var(--line);padding-top:.5rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.form-help{font-weight:400}.narrow-panel{max-width:42rem}
.account-options:focus-visible{outline:3px solid #799eff;outline-offset:3px}.skip-link{position:absolute;top:.5rem;left:1rem;z-index:10;transform:translateY(-200%);padding:.75rem 1rem;border-radius:.5rem;background:var(--ink);color:#fff}.skip-link:focus{transform:translateY(0)}
.section-nav{justify-content:flex-start;gap:.5rem;margin-bottom:1.5rem}.section-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .85rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);font-weight:600}.section-nav a:hover{background:#eaf0ff;color:var(--accent)}.setup-guide li{margin-bottom:.85rem}.setup-guide pre{padding:1rem;border:1px solid var(--line);border-radius:.5rem;background:#f8fafc}main [id]{scroll-margin-top:1.5rem}
/* Laravel pagination ships utility classes without their stylesheet. */
nav[role=navigation]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}nav[role=navigation] svg{width:1.25rem;height:1.25rem;vertical-align:middle}nav[role=navigation] a,nav[role=navigation] span[aria-current],nav[role=navigation] span[aria-disabled]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.5rem .75rem;border:1px solid var(--line);border-radius:.4rem}nav[role=navigation] [aria-current=page]{background:#eaf0ff;color:var(--accent);font-weight:700}nav[role=navigation] [aria-disabled=true]{color:#64748b;background:#f8fafc}nav[role=navigation]>.flex{display:none}nav[role=navigation]>.hidden{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}nav[role=navigation] .relative.inline-flex{display:inline-flex;flex-wrap:wrap;gap:.25rem}.pagination{flex-wrap:wrap}.pagination a{display:inline-flex;align-items:center;min-height:44px;padding:.5rem}
.exception-heading p{max-width:48rem;margin-bottom:0}.exception-section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.exception-section-heading h2{margin:0}.exception-section-heading p{margin:.25rem 0 0}.exception-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.exception-stat{display:flex;flex-direction:column;gap:.3rem;color:var(--ink);text-decoration:none;border-top:3px solid #e3a331}.exception-stat:hover{text-decoration:none;box-shadow:0 6px 20px #17243a14}.exception-stat strong{font-size:2rem;line-height:1.2}.exception-stat-in_review{border-top-color:#547fe6}.exception-stat-resolved{border-top-color:#15946d}.exception-filters h2{font-size:1rem}.exception-filter-grid{display:grid;grid-template-columns:2fr 1fr 1.3fr 1.2fr auto;align-items:end;gap:.75rem}.exception-filter-grid label,.exception-update label{margin:0}.exception-filter-grid button{min-height:44px}.exception-results-heading{margin-top:2rem}.exception-card{padding:1.5rem}.exception-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.exception-card-header h3{margin:.7rem 0 .25rem;font-size:1.1rem}.exception-card-header p{margin:0}.exception-card-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.exception-status-open{background:#fff2d6;color:#805600}.exception-status-in_review{background:#eaf0ff;color:#2456d9}.exception-status-resolved{background:#e4f6ed;color:#146c46}.exception-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.25rem 0;padding:1rem;background:#f8fafc;border:1px solid var(--line);border-radius:.65rem}.exception-context span{display:block;color:var(--subtle);font-size:.75rem;margin-bottom:.3rem}.exception-context strong,.exception-context a{font-size:.875rem;font-weight:600}.exception-card-actions{border-top:1px solid var(--line)}.exception-details+ .exception-details{border-top:1px solid var(--line)}.exception-details summary{color:#176861}.exception-update{padding:0 0 1rem}.exception-update-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.exception-update textarea{min-height:100px;font-family:inherit}.exception-update button{margin-top:1rem}.exception-event{border-left:2px solid var(--line);padding:.25rem 0 .75rem 1rem;font-size:.875rem}.exception-event p{white-space:pre-wrap;margin:.25rem 0 0}.exception-empty{text-align:center;padding:3rem 1rem}.exception-empty h3{margin:0}
@media(max-width:900px){.exception-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exception-context{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.exception-stats{grid-template-columns:1fr;gap:.5rem}.exception-stat{margin-bottom:0;padding:1rem}.exception-filter-grid,.exception-update-fields{grid-template-columns:1fr}.exception-card{padding:1rem}.exception-context{gap:.75rem}}
@media(max-width:920px){.stats,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.grid,.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}.heading,.actions{align-items:flex-start}.actions{flex-direction:row}.actions label{flex:1 1 100%}header{gap:.5rem 1rem}.brand{font-size:1.35rem;flex:1 1 100%}header .header-link{margin-left:0}header .header-link+form,header form{margin-left:auto}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:1rem}h1{font-size:1.8rem}.login h1{font-size:2rem}.table-wrap table{min-width:560px}.permission-list{display:block}.permission-list li{margin-bottom:.4rem}nav[role=navigation]>.flex{display:flex;flex-wrap:wrap;gap:.5rem}nav[role=navigation]>.hidden{display:none}}@media(max-width:380px){.stats{grid-template-columns:minmax(0,1fr)}header .header-link+form{margin-left:0}}