/* Three daily declarations, one batch. Green is reserved for the reimbursement
   desk; the existing war-report navigation and notice editor stay familiar. */
.rr{--rr-accent:#14755b;--rr-tint:#edf7f2;--rr-line:#d7e5de;--rr-muted:#61776c;--rr-danger:#a64232;color:#243c32;font-size:14px;line-height:1.65;font-variant-numeric:tabular-nums;max-width:1100px;margin:auto}
.rr *{box-sizing:border-box}.rr h1{font-size:26px;line-height:1.3;margin:8px 0}.rr h2{font-size:19px;margin:8px 0}.rr h3{font-size:16px}.rr p{margin:8px 0}.rr small{display:block;color:var(--rr-muted)}.rr a{color:var(--rr-accent)}
.rr button,.rr .dc-button{min-height:44px;border-radius:8px}.rr button.primary,.rr .primary{background:var(--rr-accent);border-color:var(--rr-accent);color:white}.rr button:disabled{opacity:.45;cursor:not-allowed}.rr button:focus-visible,.rr input:focus-visible{outline:3px solid #80bfa6;outline-offset:2px}.rr input[type=checkbox]{width:20px;height:20px;accent-color:var(--rr-accent);flex-shrink:0}.rr input:not([type=checkbox]),.rr textarea,.rr select{width:100%;min-height:44px;padding:10px;border:1px solid var(--rr-line);border-radius:8px;font:inherit;background:#fff;color:inherit}
.rr-panel{background:#fff;border:1px solid var(--rr-line);border-radius:12px;padding:20px;margin:16px 0}.rr-head{display:flex;gap:16px;align-items:center;justify-content:space-between}.rr-eyebrow{font-size:12px;color:var(--rr-accent);letter-spacing:.08em}.rr-note{color:var(--rr-muted)}.rr-warning{color:#915b11;background:#fff7e8;padding:12px;border-radius:8px}.rr-error{color:var(--rr-danger);white-space:pre-line}.rr-status{min-height:24px;white-space:pre-line}.rr-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.rr-tabs button{background:white;border:1px solid var(--rr-line);padding:12px 8px;color:inherit}.rr-tabs button[aria-selected=true]{border-color:var(--rr-accent);background:var(--rr-tint)}.rr-tabs strong{display:block}.rr-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.rr-person{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--rr-line);border-radius:8px;min-height:76px;cursor:pointer;overflow-wrap:anywhere}.rr-person:has(input:checked){background:var(--rr-tint);border-color:var(--rr-accent)}.rr-person:has(input:disabled){background:#f4f6f5;color:var(--rr-muted)}.rr-person .rr-code{font-size:13px;margin-left:8px;color:var(--rr-muted)}.rr-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.rr-check{display:flex;gap:12px;align-items:center;min-height:44px}.rr-total{font-size:26px;font-weight:700;color:var(--rr-accent)}.rr-footer{position:sticky;bottom:64px;background:#fff;border:1px solid var(--rr-line);border-radius:12px;padding:16px;box-shadow:0 -4px 16px #193a2510;z-index:2}.rr-dialog{width:min(640px,calc(100vw - 32px));max-height:90vh;border:1px solid var(--rr-line);border-radius:12px;padding:24px;overflow:auto;color:inherit}.rr-dialog::backdrop{background:#152b2260}.rr-fields{display:grid;gap:16px}.rr-form-days{display:flex;gap:16px;flex-wrap:wrap}.rr-notice{max-width:760px;margin:auto}.rr-notice-body{border-block:1px solid var(--rr-line);padding:12px 4px;margin:20px 0}.rr-notice-actions{display:grid;gap:8px;padding-bottom:env(safe-area-inset-bottom,0px)}.rr-notice-actions>button{width:100%}.rr [data-notice-end]{text-align:center;font-size:12px}.rr .rr-notice-body p{white-space:pre-line}.rr-history details{border-top:1px solid var(--rr-line);padding:12px 0}.rr-history summary{cursor:pointer;min-height:44px}.rr-table{overflow:auto}.rr-table table{width:100%;border-collapse:collapse}.rr-table th,.rr-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--rr-line);text-align:left;min-width:120px}.rr-table th{background:var(--rr-tint);font-size:12px;color:var(--rr-muted)}.rr-table td:first-child,.rr-table th:first-child{min-width:44px}.rr-admin{max-width:none}.rr-admin .rr-panel{padding:20px}.rr-tag{display:inline-block;background:var(--rr-tint);color:var(--rr-accent);font-size:12px;padding:3px 8px;border-radius:4px}.rr-admin .rr-diff{color:var(--rr-danger)}.rr .rr-search{max-width:420px}.rr-preview{max-width:100%;max-height:65vh;object-fit:contain}.rr [hidden]{display:none!important}
@media(max-width:680px){.rr-list{grid-template-columns:1fr}.rr-panel{padding:16px}.rr-head{align-items:flex-start;flex-wrap:wrap}.rr-tabs{gap:6px}.rr-tabs button{padding:10px 4px;font-size:13px}.rr-dialog{padding:16px}.rr h1{font-size:23px}}

.rr-follow{max-width:900px;margin:0 auto}.rr-follow-guide{display:block;width:100%;max-width:680px;height:auto;margin:20px auto;border:1px solid #e3ebe7;border-radius:12px}.rr-follow-status{background:#eef7f2;border:1px solid #cfe4d7;border-radius:8px;padding:14px;margin:16px 0;line-height:1.6}.rr-follow h1{margin-bottom:16px}.rr-follow p{line-height:1.7}

/* One heading per chat group; each identity source remains explicitly labelled. */
.rr-groups{margin:20px 0}.rr-group+.rr-group{margin-top:24px}.rr-group-heading{display:flex;align-items:baseline;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--rr-line)}.rr-group-heading h3{margin:0;font-size:16px;color:var(--rr-accent);overflow-wrap:anywhere}.rr-group-heading>span{color:var(--rr-muted);font-size:12px;white-space:nowrap}.rr-group .rr-list{margin:12px 0 0;align-items:start}.rr-person-info{min-width:0;flex:1}.rr-name-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;font-size:13px;line-height:1.65}.rr-name-row+.rr-name-row{margin-top:4px}.rr-name-label{color:var(--rr-muted);font-size:12px}.rr-name-row strong{font-size:14px}.rr-person-state{margin-top:8px;color:var(--rr-accent)}

.rr-follow-code{width:200px;height:196px;overflow:hidden;margin:20px auto}.rr-follow-code img{display:block;width:1024px;max-width:none;height:1761px;transform:translate(-30px,-14px)}.rr-follow [data-follow-check]{display:block;margin-top:16px}

.rr-follow-qr-dialog{width:min(360px,calc(100vw - 32px));text-align:center}.rr-follow-qr-dialog .rr-head{gap:8px;flex-wrap:nowrap;align-items:center}.rr-follow-qr-dialog h2{font-size:18px;margin:0}.rr-follow-qr-dialog [data-close]{flex-shrink:0}.rr-follow-qr-dialog .rr-follow-qr-caption{font-size:16px;font-weight:600;margin:12px 0 20px}.rr-follow-qr-dialog [data-qr-recheck]{width:100%}

/* Keep the batch controls compact while retaining 44px touch targets. */
.rr-footer{padding:12px}.rr-footer-total{display:flex;gap:8px;align-items:baseline}.rr-footer .rr-total{font-size:24px;line-height:1.3}.rr-footer-days{display:flex;flex-wrap:wrap;gap:2px 16px;color:var(--rr-muted);font-size:12px;margin:4px 0}.rr-footer .rr-check{font-size:13px;gap:8px;line-height:1.4;min-height:36px}.rr-footer-actions{display:flex;gap:8px;align-items:center;margin:4px 0}.rr-footer-actions [data-submit]{flex:1}.rr-footer-actions [data-draft]{flex-shrink:0}.rr-footer>small{font-size:12px;line-height:1.4}.rr-footer-days>span{white-space:nowrap}
@media(max-width:680px){.rr-footer-days{gap:2px 10px}.rr-footer-actions button{font-size:13px;padding:8px 12px}.rr-footer{padding:12px}.rr-footer .rr-total{font-size:24px}}

.rr-invite-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid var(--rr-line);padding:12px 0}.rr-invite-number{color:var(--rr-muted);font-size:12px}.rr-invite-row p{min-width:0;overflow-wrap:anywhere}.rr-invite-row .rr-actions{gap:8px}@media(max-width:540px){.rr-invite-row{grid-template-columns:44px minmax(0,1fr);gap:8px}.rr-invite-row .rr-actions{grid-column:2}}

.rr-invite-person{display:grid;gap:2px;margin:4px 0;font-size:13px;color:inherit;line-height:1.5}

/* Original claims and corrections share a compact three-day customer row. */
.rr-customer-history{padding:16px 0;border-top:1px solid var(--rr-line)}.rr-history-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.rr-history-days>div{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}.rr-history-days strong{font-variant-numeric:tabular-nums}.rr-correction-table{min-width:1000px;table-layout:fixed}.rr-correction-table th:first-child{width:18%}.rr-correction-table th:last-child{width:28%}.rr-correction-table td{vertical-align:top;overflow-wrap:anywhere}.rr-correction-table button{margin-top:8px;font-size:12px}.rr-correction-table .rr-check{font-size:13px}.rr-correction-table details{margin:8px 0}.rr-history summary{cursor:pointer}.rr-history .rr-actions{flex-wrap:wrap}

/* Company review: exception first; amounts, uncertainty and completed work stay distinct. */
.rr-admin{--rr-ink:#243c32;--rr-paper:#f7faf8;--rr-action:#fafcfb;--rr-alert:#b4352b;--rr-alert-bg:#fff2ef;--rr-wait:#8b5a12;--rr-wait-bg:#fff8e8;--rr-done:#63706a;--rr-done-bg:#f2f5f3}
.rr-admin>.rr-head{margin-bottom:12px}.rr-admin>.rr-head h1{font-size:24px}.rr-admin>.rr-head p{margin:4px 0}.rr-admin>.rr-status:empty{display:none}.rr-review-filters{margin-top:16px;padding:12px 0;border-block:1px solid var(--rr-line)}.rr-review-filters label{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.rr-review-filters input.rr-search{width:260px}.rr-review-filters select{width:150px}.rr-source-note{margin-left:auto;font-size:12px;color:var(--rr-muted)}
.rr-focus-head{display:flex;align-items:baseline;gap:12px;margin:16px 0 8px}.rr-focus-head strong{font-size:14px}.rr-focus-head span{font-size:12px;color:var(--rr-muted)}.rr-focus-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.rr-focus-tabs button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border:1px solid var(--rr-line);background:white;color:inherit;border-radius:8px}.rr-focus-tabs strong{font-size:24px;font-weight:650;line-height:1.2}.rr-focus-tabs button[aria-pressed=true]{border-color:var(--rr-accent);box-shadow:inset 0 -3px var(--rr-accent);background:var(--rr-tint)}.rr-focus-tabs .rr-focus-difference{color:var(--rr-alert)}.rr-focus-tabs .rr-focus-waiting{color:var(--rr-wait)}.rr-focus-tabs .rr-focus-matched{color:var(--rr-accent)}
.rr-admin .rr-tone-difference{color:var(--rr-alert)}.rr-admin .rr-tone-waiting{color:var(--rr-wait)}.rr-admin .rr-tone-matched{color:var(--rr-accent)}.rr-admin .rr-tone-done{color:var(--rr-done)}.rr-review-legend{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:11px}.rr-review-legend span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:middle}.rr-review-pager{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--rr-muted);margin:12px 0 8px}.rr-review-pager button{min-height:36px;font-size:12px;padding:6px 12px}
.rr-admin .rr-review-batch{padding:0;overflow:clip;margin:12px 0 20px;border-radius:10px}.rr-batch-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px}.rr-batch-identity{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rr-batch-identity h2{margin:0;font-size:18px}.rr-batch-identity>span:not(.rr-verdict){font-size:12px;color:var(--rr-muted)}.rr-batch-heading small{font-size:11px}.rr-batch-total{text-align:right;flex-shrink:0}.rr-batch-total>strong{font-size:23px;font-weight:650;line-height:1.3}.rr-verdict{display:inline-block;font-size:11px;font-weight:600;line-height:1.6;padding:3px 8px;border-radius:4px;background:var(--rr-done-bg)}.rr-verdict.rr-tone-difference{background:var(--rr-alert-bg)}.rr-verdict.rr-tone-waiting{background:var(--rr-wait-bg)}.rr-verdict.rr-tone-matched{background:var(--rr-tint)}
.rr-batch-strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;padding:10px 20px;background:var(--rr-paper);border-block:1px solid var(--rr-line);font-size:12px}.rr-batch-strip strong{font-size:15px;margin-left:6px}.rr-batch-strip small{display:inline;margin-left:8px;font-size:11px;color:inherit}.rr-admin .rr-difference-table{min-width:1000px}.rr-difference-table th:first-child{width:18%}.rr-difference-table th:last-child{width:32%}.rr-difference-table th{background:var(--rr-paper);padding:10px 16px}.rr-difference-table td{padding:14px 16px;line-height:1.5}.rr-difference-table td:first-child>strong{font-size:14px;display:block;margin-bottom:4px}.rr-difference-table td:first-child>.rr-verdict{margin-top:8px}.rr-row-difference>td:first-child{box-shadow:inset 3px 0 var(--rr-alert)}.rr-row-waiting>td:first-child{box-shadow:inset 3px 0 #d6a342}.rr-difference-table td.rr-day-difference{background:var(--rr-alert-bg)}.rr-difference-table td.rr-day-waiting{background:var(--rr-wait-bg)}.rr-day-amount{display:flex;align-items:center;gap:8px;min-height:40px;cursor:pointer}.rr-day-amount small{font-size:10px;line-height:1.2}.rr-day-amount strong{color:var(--rr-ink);display:block;font-size:18px;font-weight:650;line-height:1.5}.rr-day-basis{display:flex;gap:8px;align-items:baseline;font-size:11px;margin:4px 0 6px 28px;color:var(--rr-muted)}.rr-day-basis strong{font-size:13px;font-weight:500}.rr-amount-result{display:block;font-size:12px;font-weight:600;margin:8px 0 4px}.rr-day-state{font-size:11px}.rr-day-empty{color:var(--rr-muted)}.rr-difference-table .rr-select-person{display:block;font-size:11px;margin-top:8px;min-height:36px;padding:6px 10px}
.rr-issue-list p{font-size:12px;margin:0 0 8px;line-height:1.55}.rr-issue-list b{font-weight:600;display:block;font-size:10px;margin-bottom:2px;opacity:.8}.rr-inspection{border-top:1px solid var(--rr-line);padding-top:8px;margin-top:12px!important;font-size:12px}.rr-inspection>summary{min-height:28px;cursor:pointer;color:var(--rr-muted)}.rr-inspection .rr-day-detail{padding:8px 0;border-top:1px solid var(--rr-line)}.rr-day-detail summary{cursor:pointer;font-weight:600}.rr-day-detail p{font-size:12px}.rr-day-detail small{font-size:11px}.rr-quiet-state{padding:20px;color:var(--rr-muted);font-size:13px}.rr-expand-batch{display:block;border:0!important;background:transparent!important;color:var(--rr-accent);font-size:12px;margin:0 auto;padding:8px 16px}.rr-review-actionbar{position:sticky;bottom:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;background:var(--rr-action);border-top:1px solid var(--rr-line)}.rr-review-actionbar>span{font-size:12px;color:var(--rr-muted)}.rr-review-actionbar .rr-actions{gap:8px}.rr-review-actionbar button{font-size:12px;padding:8px 12px}.rr-review-batch:has([data-select]:checked) .rr-review-actionbar{background:var(--rr-tint)}
@media(max-width:1200px){.rr-batch-strip{gap:8px 16px}.rr-source-note{width:100%;margin-left:0}.rr-difference-table td{padding:12px}.rr-focus-tabs button{padding:10px 12px}.rr-review-actionbar{flex-wrap:wrap}}
@media(max-width:800px){.rr-focus-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.rr-focus-head{flex-wrap:wrap;gap:4px}.rr-review-filters label{white-space:normal;flex-wrap:wrap}.rr-review-filters input.rr-search{max-width:100%}.rr-batch-heading{padding:12px;align-items:flex-start}.rr-batch-strip,.rr-review-actionbar{padding:12px}.rr-review-actionbar{flex-wrap:wrap}}

.rr-auto-banner{margin:16px 0;padding:12px 16px;border-left:3px solid var(--rr-accent);background:var(--rr-tint);border-radius:6px}.rr-auto-banner strong{font-size:14px}.rr-auto-banner p{font-size:12px;color:var(--rr-muted);margin:4px 0}

/* Full-dealer and per-customer money comparisons lead; daily processing is secondary. */
.rr-reconciliation .rr-note{font-size:12px;max-width:1100px;line-height:1.6}.rr-reconcile-card{border:1px solid var(--rr-line);border-radius:10px;background:white;margin:16px 0 24px;overflow:clip}.rr-reconcile-card>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:16px}.rr-reconcile-card h2{margin:0;font-size:18px}.rr-reconcile-card h2 small{font-size:12px;font-weight:400;margin-left:8px;color:var(--rr-muted)}.rr-reconcile-card>header>span{font-size:12px;color:var(--rr-muted)}.rr-reconcile-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--rr-paper);border-block:1px solid var(--rr-line);padding:20px;gap:24px}.rr-reconcile-totals>div{display:flex;flex-direction:column;gap:6px;font-size:13px}.rr-reconcile-totals>div>strong{font-size:28px;line-height:1.25;font-weight:650;letter-spacing:-.5px}.rr-reconcile-totals small{font-size:12px;color:var(--rr-muted)}.rr-reconcile-customers>summary{padding:12px 20px;font-weight:600;font-size:13px;cursor:pointer}.rr-reconcile-table{width:100%;table-layout:fixed;border-collapse:collapse}.rr-reconcile-table th{font-size:12px;color:var(--rr-muted);text-align:left;background:var(--rr-paper);font-weight:500}.rr-reconcile-table td,.rr-reconcile-table th{padding:12px 20px;border-top:1px solid var(--rr-line);vertical-align:top;overflow-wrap:anywhere}.rr-reconcile-table th:first-child{width:22%}.rr-reconcile-table th:last-child{width:27%}.rr-reconcile-table td>strong{font-size:16px;display:block;font-variant-numeric:tabular-nums}.rr-reconcile-table td>small{display:block;color:var(--rr-muted);font-size:11px;margin-top:4px}.rr-compare-days{font-size:12px}.rr-compare-days>summary{cursor:pointer;color:var(--rr-accent);min-height:32px}.rr-compare-days section{padding:8px 0;border-top:1px solid var(--rr-line)}.rr-compare-days section>*{display:block}.rr-compare-days section small{color:var(--rr-muted);margin-top:4px;line-height:1.6}.rr-compare-days p{font-size:11px;color:var(--rr-wait);line-height:1.6}.rr-processing{margin-top:24px;border-top:1px solid var(--rr-line)}.rr-processing>summary{padding:16px 0;font-weight:600;cursor:pointer}.rr-unclaimed{border-top:1px solid var(--rr-line);color:var(--rr-muted)}.rr-admin .rr-day-matched [data-select]{visibility:hidden}.rr-admin .rr-day-basis{margin-left:0}.rr-admin .rr-reconcile-totals .rr-tone-waiting{color:var(--rr-wait)}
@media(max-width:1200px){.rr-reconcile-table td,.rr-reconcile-table th{padding:12px}.rr-reconcile-totals{gap:16px}.rr-reconcile-totals>div>strong{font-size:24px}}
.rr-known-prefix{font-size:12px;font-weight:500;letter-spacing:0;color:var(--rr-muted)}

.rr-chat-dialog[open]{display:flex;flex-direction:column;width:min(1480px,96vw);max-width:96vw;height:94vh;max-height:94vh;padding:12px;gap:8px;overflow:hidden}.rr-chat-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.rr-chat-dialog h2{font-size:17px;margin:0}.rr-chat-dialog header small{font-size:12px;color:var(--rr-muted)}.rr-chat-dialog [data-chat-status]{font-size:12px;margin:0;color:var(--rr-muted)}.rr-chat-dialog iframe{flex:1;min-height:0;width:100%;border:1px solid var(--rr-line);border-radius:6px;background:white}.rr-reconcile-table [data-chat-url]{font-size:12px;min-height:36px;padding:6px 10px;margin:0 0 8px;color:var(--rr-accent)}
/* Three day cells are the audit work surface; totals stay at the right. */
.rr-reconcile-table th:first-child{width:16%}.rr-reconcile-table th:last-child{width:18%}.rr-reconcile-table .rr-compare-day>span{display:block;font-size:12px;line-height:1.7;font-variant-numeric:tabular-nums}.rr-reconcile-table .rr-compare-day>strong{font-size:13px;margin-top:4px}.rr-reconcile-table .rr-compare-day>small{line-height:1.5;margin-bottom:8px}.rr-reconcile-table .rr-day-waiting{background:#fff9eb}.rr-reconcile-table .rr-day-difference{background:#fff3f1}.rr-reconcile-table .rr-day-matched{background:#f6fbf8}.rr-day-correction{flex-shrink:0;border-top:1px solid var(--rr-line);padding:8px 4px 0}.rr-correction-fields{display:grid;grid-template-columns:215px 1fr;gap:12px}.rr-correction-fields label{display:flex;flex-direction:column;gap:4px;font-size:12px}.rr-correction-fields textarea{min-height:48px;resize:vertical;max-height:100px}.rr-correction-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0}.rr-correction-actions .rr-check{font-size:12px;margin:0}.rr-day-correction>small{font-size:11px;color:var(--rr-muted)}.rr-day-correction [data-day-error]{margin:4px 0;color:#a33128;font-size:12px}.rr-day-correction [data-day-error]:empty{display:none}
.rr-dialog form.rr-day-correction{display:block;margin:0}.rr-day-correction label{margin:0}.rr-day-correction .rr-correction-actions{margin:6px 0}.rr-day-correction textarea{font-size:12px;padding:6px 10px}

/* Dealer H5: readable input hints and controls that fit the phone viewport. */
.rr-tabs small>span{display:block;white-space:nowrap}
.rr{--rr-placeholder:#98a69f}
.rr input::placeholder,.rr textarea::placeholder{color:var(--rr-placeholder);opacity:1}
.dc-dealer-client .rr{overflow-wrap:anywhere}
.dc-dealer-client .rr input:not([type=checkbox]),.dc-dealer-client .rr textarea,.dc-dealer-client .rr select{min-width:0;font-size:16px}
.dc-dealer-client .rr-fields{grid-template-columns:minmax(0,1fr)}
.dc-dealer-client .rr-fields>*,.dc-dealer-client .rr-head>div,.dc-dealer-client .rr-head>p{min-width:0}
.dc-dealer-client .rr-head>button{flex-shrink:0}
.dc-dealer-client .rr-dialog{max-height:calc(100dvh - 24px);overscroll-behavior:contain}
.dc-dealer-client .rr-dialog>.rr-head{flex-wrap:nowrap}
.dc-dealer-client .rr-dialog>.rr-head h2{min-width:0}
.dc-dealer-client .rr-footer{position:static;box-shadow:none}
.dc-dealer-client .rr button,.dc-dealer-client .rr input,.dc-dealer-client .rr textarea{scroll-margin-block:80px}
@media(max-width:680px){
 .dc-dealer-client .rr-person{padding:10px;gap:8px}
 .dc-dealer-client .rr-name-row{grid-template-columns:52px minmax(0,1fr);gap:6px}
 .dc-dealer-client .rr-head>.rr-actions{width:100%}
 .dc-dealer-client .rr-actions{gap:8px}
 .dc-dealer-client .rr-actions>button{flex:1 1 140px}
 .dc-dealer-client .rr-footer-actions{flex-wrap:wrap}
 .dc-dealer-client .rr-footer-actions [data-submit]{flex:1 1 140px}
}

/* One explicit acknowledgement advances to the reimbursement announcement. */
.rr-follow [data-follow-enter]{width:100%}

/* Keep each instruction immediately above the action it explains. */
.rr-day-actions{display:grid;gap:12px;margin-top:16px}.rr-day-actions>[data-add]{justify-self:start}.rr-day-confirm-area{min-width:0;outline:none;scroll-margin-block:80px}.rr-day-guidance{padding:10px 12px 4px;background:#fff7e8;border:1px solid #ecd9b5;border-radius:8px;color:#805419}.rr-day-guidance>strong{display:block;font-size:15px;line-height:1.5}.rr-day-guidance>span{display:block;font-size:12px;line-height:1.5;margin-top:4px}.rr-day-guidance [data-flow-notice]{font-size:12px;line-height:1.5;margin:6px 0 0}.rr-day-guidance>.rr-day-pointer{text-align:center;font-size:22px;line-height:1.1;color:var(--rr-accent);font-weight:700}.rr-day-confirm-area>[data-confirm-day]{display:block;width:100%;margin-top:6px}.rr-footer>[data-submit-hint]{margin:8px 0 4px;font-size:13px;font-weight:500}

/* Review totals share one filtered scope across all result pages. */
.rr-overall{margin:16px 0;border:1px solid var(--rr-line);border-radius:10px;background:white;overflow:hidden}.rr-overall-grid{display:grid;grid-template-columns:.8fr .8fr 1.15fr 1.2fr 1.5fr}.rr-overall-grid>div{padding:16px;min-width:0;border-right:1px solid var(--rr-line)}.rr-overall-grid>div:last-child{border:0;background:var(--rr-paper)}.rr-overall-grid>div>span{display:block;font-size:12px;color:var(--rr-muted);margin-bottom:8px}.rr-overall-grid strong{display:block;font-size:26px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.rr-overall-grid strong>small{display:inline;font-size:12px;font-weight:400;margin-left:6px}.rr-overall-grid strong>b{display:block;font-size:26px;font-weight:650;margin-top:4px}.rr-overall-grid>div>small{font-size:12px;margin-top:6px}.rr-overall .rr-overall-difference>strong{font-size:20px}.rr-overall .rr-overall-pending{margin:0;padding:10px 16px;background:var(--rr-wait-bg);color:var(--rr-wait);font-size:13px;border-top:1px solid var(--rr-line)}.rr-overall .rr-overall-scope{margin:0;padding:8px 16px;border-top:1px solid var(--rr-line);font-size:12px;color:var(--rr-muted)}
@media(max-width:1200px){.rr-overall-grid>div{padding:12px}.rr-overall-grid strong,.rr-overall-grid strong>b{font-size:22px}}

/* Completed daily claims: explicit status above identity, never a selectable blank box. */
.rr .rr-person.rr-person-reported{background:#f1f7f4;border-color:#b5d3c5;border-left:4px solid var(--rr-accent);cursor:default;color:#40594d}
.rr-person-reported>input[type=checkbox]{display:none}
.rr-reported-status{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:10px}
.rr-reported-badge{display:inline-block;background:var(--rr-accent);color:#fff;font-size:14px;font-weight:700;line-height:1.5;padding:4px 10px;border-radius:5px;white-space:nowrap}
.rr-reported-status>span{font-size:12px;color:#476454;white-space:nowrap}

.rr-submit-result{padding:14px 16px;margin:16px 0;border:1px solid var(--rr-line);border-radius:8px;overflow-wrap:anywhere;scroll-margin-block:80px}.rr-submit-result>strong{display:block;font-size:17px}.rr-submit-result p{margin:6px 0 0}.rr-submit-success{background:var(--rr-tint);color:var(--rr-accent)}.rr-submit-error{background:#fff4ef;border-color:#eac8bc;color:var(--rr-danger)}

/* Day guidance is actionable in place; the final submit remains one click. */
.rr-day-prompt{max-width:440px;box-sizing:border-box}.rr-day-prompt .rr-day-prompt-title{font-size:14px;font-weight:700;color:#915b11;background:#fff7e8;padding:8px 12px;border-radius:8px}.rr-day-prompt h2{font-size:23px;line-height:1.4;margin:16px 0 12px}.rr-day-prompt p{line-height:1.65;margin:12px 0}.rr-day-prompt>button{display:block;width:100%;min-height:48px;white-space:normal;line-height:1.5;margin-top:12px}.rr-day-prompt>button.primary{font-size:17px;font-weight:700}

/* Distinguish successful receipt from approval and from the unsent current draft. */
.rr-history .rr-batch-received{background:var(--rr-tint);border-radius:10px;padding:16px;overflow-wrap:anywhere}.rr-batch-received>strong,.rr-batch-received>span,.rr-batch-received>small{display:block;margin-top:8px}.rr-batch-received .rr-batch-success{font-size:19px;color:var(--rr-accent);margin-top:0}.rr-batch-stage{font-size:17px}.rr-batch-amount b{font-size:22px;color:#243c32}.rr-batch-receipt{font-weight:600}.rr-batch-expand{color:var(--rr-accent);text-decoration:underline;font-size:14px}.rr-unsubmitted{background:#fff7e8;border:1px solid #ead0a7;border-radius:10px;padding:16px;color:#75470c}.rr-unsubmitted>strong{font-size:19px}.rr-unsubmitted p{margin:10px 0 0}.rr-history-help{margin-top:20px;padding-top:16px;border-top:1px solid var(--rr-line)}.rr-history-help p{margin-bottom:0}

/* Always-visible action stays compact above the application's bottom navigation. */
.rr-action-dock{position:fixed;left:12px;right:12px;max-width:536px;margin:auto;z-index:20;background:#fff;border:1px solid var(--rr-line);border-radius:10px 10px 0 0;box-shadow:0 -3px 14px #193a2514;padding:10px 12px;display:flex;gap:12px;align-items:center}.rr-action-dock>div{flex:1;min-width:0}.rr-action-dock strong{display:block;font-size:17px;line-height:1.4}.rr-action-dock span{display:block;color:#915b11;font-size:13px}.rr-action-dock button{flex:0 1 55%;font-size:14px;line-height:1.4;white-space:normal;padding:10px 12px}.rr-success-page{text-align:center;margin:24px auto;max-width:600px}.rr-success-page .rr-success-check{font-size:40px;font-weight:700}.rr-success-page>button{display:block;width:100%;margin-top:16px}.rr-success-page h1{font-size:30px}.rr-success-page h2{font-size:23px}

/* Application timestamps belong to the original submission, never the review update. */
.rr-submission-times{padding:0 20px 16px;font-size:13px;line-height:1.7;color:var(--rr-muted);overflow-wrap:anywhere}.rr-submission-times strong{color:#243c32;font-weight:600;font-variant-numeric:tabular-nums}.rr-submission-times>div{display:flex;gap:8px 24px;flex-wrap:wrap}.rr-submission-times summary{cursor:pointer;color:var(--rr-accent);margin-top:6px}.rr-submission-times p{margin:6px 0 0}

.rr-settlement-tabs{display:flex;flex-wrap:wrap;margin:16px 0}.rr-settlement-tabs button{min-height:40px;font-size:13px;white-space:nowrap}.rr-settlement-verdict{margin:0;padding:12px 20px;background:var(--rr-tint);font-size:13px;line-height:1.6}.rr-settlement-verdict strong{color:var(--rr-accent)}

.rr-classification-row{display:flex;align-items:center;gap:12px;margin:12px 0}.rr-classification-row>strong{flex:0 0 64px;font-size:13px;color:var(--rr-muted)}.rr-classification-row .rr-settlement-tabs{margin:0;flex:1;min-width:0}.rr-review-state{display:inline-block;margin-left:12px;font-weight:600}@media(max-width:600px){.rr-classification-row{align-items:flex-start;flex-direction:column;gap:8px}.rr-classification-row>strong{flex:auto}.rr-review-state{display:block;margin-left:0}}

/* Review queue: remaining work leads, accounting detail remains available. */
.rr-work-overview{border:1px solid var(--rr-line);border-radius:14px;background:#fff;padding:20px;margin:16px 0}.rr-work-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.rr-work-heading h2{font-size:23px;margin:8px 0}.rr-work-heading h2 b{color:var(--rr-accent);font-variant-numeric:tabular-nums}.rr-work-heading p,.rr-work-heading>div>span{color:var(--rr-muted);font-size:13px;margin:4px 0}.rr-work-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:20px 0 12px}.rr-work-cards button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:88px;padding:12px;white-space:normal;text-align:left}.rr-work-cards button strong{font-size:28px;line-height:1;font-variant-numeric:tabular-nums}.rr-work-cards [aria-pressed=true]{border-color:var(--rr-accent);background:#ecf7f2;box-shadow:inset 0 3px var(--rr-accent)}.rr-work-cards button:focus-visible,.rr-work-heading button:focus-visible{outline:3px solid var(--rr-accent);outline-offset:2px}.rr-work-progress{padding:16px 20px;background:#f5faf8;border-block:1px solid var(--rr-line)}.rr-work-progress>div{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.rr-work-progress>div>b{color:var(--rr-accent)}.rr-work-progress p{margin:8px 0;color:var(--rr-muted);font-size:13px}.rr-work-progress small{display:block;margin:4px 0;color:var(--rr-muted)}.rr-work-progress button{margin-top:8px}.rr-work-day{display:block;padding:6px 8px;border-radius:6px;font-size:13px;background:#ecf7f2;color:var(--rr-accent)}.rr-work-todo{background:#fff0d7;color:#885900}.rr-work-waiting{background:#eef3fa;color:#315b89}.rr-financial-details{margin:12px 0}.rr-financial-details>summary,.rr-work-rest>summary{cursor:pointer;padding:14px 16px;min-height:44px}.rr-reconcile-customers>h3{font-size:15px;margin:0;padding:16px 20px}.rr-work-rest{background:#fafcfb}.rr-compare-day.rr-day-done{background:#f8fbf9}.rr-compare-day.rr-day-done>.rr-tone-difference{font-size:13px;color:var(--rr-muted)}.rr-status button{margin:8px 0 0 8px}.rr-work-cards button:hover{border-color:var(--rr-accent)}
@media(max-width:1100px){.rr-work-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.rr-work-heading{align-items:flex-start;flex-wrap:wrap}}@media(max-width:540px){.rr-work-overview{padding:12px}.rr-work-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rr-work-heading h2{font-size:19px}.rr-work-progress{padding:12px}}

/* Review-only contact details: no QR images are fetched until requested. */
.rr-dealer-identity{min-width:0}.rr-dealer-contact{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin-top:8px;font-size:13px}.rr-dealer-contact>span{color:var(--rr-muted)}.rr-dealer-contact strong{color:var(--rr-ink);font-variant-numeric:tabular-nums;font-weight:600}.rr-dealer-contact>small{color:var(--rr-muted);font-size:12px}.rr-dealer-contact button{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;min-height:36px;color:var(--rr-accent);font-size:13px;white-space:nowrap}.rr-dealer-contact svg{width:24px;height:24px;flex-shrink:0}.rr-dealer-contact button:focus-visible{outline:3px solid var(--rr-accent);outline-offset:2px}.rr-contact-dialog{width:min(520px,94vw);box-sizing:border-box}.rr-contact-dialog .rr-head{align-items:flex-start;gap:12px}.rr-contact-dialog h2{font-size:20px;margin:0}.rr-contact-dialog .rr-note{font-size:13px;margin:6px 0}.rr-contact-image{display:flex;justify-content:center;margin-top:16px;background:#fff}.rr-contact-image img{width:100%;max-width:380px;max-height:60vh;object-fit:contain}.rr-contact-dialog [data-contact-status]{font-size:14px;line-height:1.6;text-align:center}.rr-contact-dialog [role=alert]{color:#a33128}

.rr-finalization{padding:12px 20px;background:#f3f9f5;border-bottom:1px solid var(--rr-line)}.rr-finalization>p{margin:0 0 8px}.rr-finalization>small{margin:6px 0;color:var(--rr-muted)}.rr-finalization:empty{display:none}

.rr-finalization-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.rr-finalization .rr-finalization-blocked{margin:8px 0 0;padding:8px 10px;border-left:3px solid #c58b2e;background:#fff8e8;color:#805313;font-size:13px;line-height:1.6}.rr-finalization .rr-note{font-size:12px;margin:6px 0 0}.rr-finalization-entry button:disabled{opacity:1;background:#e7efeb;color:#526b60;border-color:#c7d9ce;cursor:not-allowed}
/* Reviewers scan the comparison and take a decision within one compact head. */
.rr-reconcile-card>.rr-review-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,auto);align-items:start;gap:10px 20px;padding:14px 20px;background:#fff}
.rr-review-head h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:17px}.rr-review-head h2 small{margin:0}.rr-card-count{font-size:12px;font-weight:400;color:var(--rr-muted)}
.rr-review-head .rr-dealer-contact{margin-top:6px;gap:8px 16px}.rr-review-head .rr-dealer-contact button{min-height:32px;padding:4px 8px}
.rr-review-head .rr-submission-times{padding:0;margin-top:5px;font-size:12px;line-height:1.5}.rr-review-head .rr-submission-times details{margin:0}.rr-review-head .rr-submission-times summary{margin:0;min-height:24px}
.rr-review-head .rr-finalization{padding:0;border:0;background:transparent;max-width:560px}.rr-review-head .rr-finalization-entry{justify-content:flex-end;gap:6px}.rr-review-head .rr-finalization-entry button{min-height:38px;padding:8px 12px;font-size:13px}.rr-review-head .rr-finalization .rr-note{font-size:11px;line-height:1.5;margin:5px 0 0;text-align:right}.rr-review-head .rr-finalization>p{font-size:12px;margin:0 0 6px}.rr-review-head .rr-finalization>p small{display:block;color:var(--rr-muted);margin-top:3px}
.rr-review-head .rr-work-progress{grid-column:1/-1;padding:9px 0 0;border:0;border-top:1px solid var(--rr-line);background:transparent;font-size:12px}.rr-review-head .rr-work-progress>div{justify-content:flex-start;align-items:center;gap:5px 14px}.rr-review-head .rr-work-progress>div>span{color:var(--rr-muted)}.rr-review-details{margin-top:5px;font-size:12px;color:var(--rr-muted)}.rr-review-details summary{cursor:pointer;min-height:24px}.rr-review-details p{margin:3px 0;font-size:12px}.rr-reconcile-totals .rr-final-amount strong{color:var(--rr-accent)}
@media(max-width:1100px){.rr-reconcile-card>.rr-review-head{grid-template-columns:minmax(0,1fr);gap:8px}.rr-review-head .rr-finalization{max-width:none}.rr-review-head .rr-finalization-entry{justify-content:flex-start}.rr-review-head .rr-finalization .rr-note{text-align:left}}
.rr-day-detail .rr-record-section{margin:10px 0;padding-top:8px;border-top:1px solid var(--rr-line)}.rr-record-section h4{font-size:13px;margin:0 0 6px}.rr-record-section p{margin:6px 0}.rr-record-section .rr-note{font-size:12px}
.rr-clue-tools{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.rr-clue-tools small{flex-basis:100%;font-size:11px;color:var(--rr-muted)}.rr-clue-dialog{width:min(900px,94vw)}.rr-clue-candidate{border:1px solid var(--rr-line);border-radius:8px;padding:14px;margin:12px 0}.rr-clue-candidate h3{margin:0 0 6px;font-size:16px}.rr-clue-candidate>p{margin:5px 0}.rr-clue-proof{padding:8px 10px;margin:8px 0;background:var(--rr-paper);border-left:2px solid #aacbbd;font-size:12px}.rr-clue-proof>*{display:block}.rr-clue-proof p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.rr-clue-proof small{color:var(--rr-muted)}.rr-clue-selection{padding-top:14px;margin-top:14px;border-top:1px solid var(--rr-line)}.rr-clue-selection textarea{width:100%;min-height:72px}.rr-clue-selection label{display:block}

.rr-clue-pick-status:not([hidden]){padding:8px 10px;background:var(--rr-tint);font-size:13px;border-radius:6px}.rr-clue-pick-status.rr-error{background:#fff7e8;color:var(--rr-danger)}

/* Human throughput and remaining claim-days; existing people filters follow. */
.rr-daily-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 8px}.rr-daily-progress>div{min-width:0;padding:16px;border:1px solid var(--rr-line);border-radius:10px}.rr-daily-progress>.rr-daily-done{background:var(--rr-tint)}.rr-daily-progress dt{font-weight:600}.rr-daily-progress dt small{font-size:12px;font-weight:400}.rr-daily-progress dd{margin:8px 0 0}.rr-daily-progress dd>strong{font-size:34px;line-height:1.2;color:var(--rr-accent);font-variant-numeric:tabular-nums}.rr-daily-progress dd>span{margin-left:8px;color:var(--rr-muted)}.rr-daily-progress dd>small{margin-top:8px;font-size:13px;overflow-wrap:anywhere}@media(max-width:540px){.rr-daily-progress{grid-template-columns:1fr;gap:8px}.rr-daily-progress>div{padding:12px}.rr-daily-progress dd>strong{font-size:28px}}

/* Headquarters' full-period money overview stays separate from filtered work. */
.rr-admin-finance{margin:16px 0;border:1px solid var(--rr-line);border-radius:10px;background:#fff;overflow:hidden}
.rr-admin-finance header{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid var(--rr-line)}
.rr-admin-finance h2{font-size:16px;margin:0}.rr-admin-finance header small{color:var(--rr-muted)}
.rr-admin-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.rr-admin-finance-grid>div{padding:18px;border-right:1px solid var(--rr-line);min-width:0}
.rr-admin-finance-grid>div:last-child{border-right:0}.rr-admin-finance-grid span,.rr-admin-finance-grid small{display:block;color:var(--rr-muted)}
.rr-admin-finance-grid strong{display:block;font-size:32px;font-weight:650;line-height:1.4;margin:6px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rr-admin-finance-final{background:var(--rr-tint)}.rr-admin-finance-final strong{color:var(--rr-accent)}
.rr-admin-finance-pending{margin:0;padding:12px 18px;border-top:1px solid var(--rr-line);color:#8d5c18;background:#fff8ea}
.rr-admin-finance-note{margin:0;padding:10px 18px;color:var(--rr-muted);font-size:13px;border-top:1px solid var(--rr-line)}
@media(max-width:1000px){.rr-admin-finance-grid strong{font-size:27px}}
@media(max-width:700px){.rr-admin-finance-grid{grid-template-columns:1fr}.rr-admin-finance-grid>div{border-right:0;border-bottom:1px solid var(--rr-line)}}

/* Put the reviewed amount beside the original claim in the visual hierarchy. */
.rr-batch-received .rr-batch-approved{font-size:14px;color:#243c32;font-weight:600}
.rr-batch-approved b{font-size:22px;line-height:1.35;color:var(--rr-accent);font-weight:700}
.rr-batch-review-explanation{padding-top:12px;border-top:1px solid var(--rr-line);font-size:14px;line-height:1.7;color:#3e594c}
.rr-batch-review-explanation>strong{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.rr-batch-review-explanation [role=listitem]{display:block;margin:4px 0}
.rr-batch-review-explanation>small{margin-top:8px;font-size:12px;line-height:1.7}

/* Full reimbursement is a final receipt, without an expandable customer ledger. */
.rr-history .rr-batch-full{margin:12px 0}

.rr-late-admin{width:min(1100px,calc(100vw - 32px))}.rr-late-admin .rr-fields{margin:12px 0;padding:16px;background:var(--rr-tint);border-radius:8px}.rr-late-admin td small{display:block;margin-top:4px}

/* The payment register keeps the payable balance distinct from lifetime approval. */
.rr-payment-admin{width:min(1240px,calc(100vw - 32px))}.rr-payment-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.rr-payment-metrics>div{border:1px solid var(--rr-line);border-radius:8px;padding:14px}.rr-payment-metrics span{display:block;color:var(--rr-muted);font-size:13px}.rr-payment-metrics strong{display:block;font-size:26px;font-variant-numeric:tabular-nums;margin-top:8px}.rr-payment-metrics small{font-size:13px;margin-left:4px}.rr-payment-focus{background:var(--rr-tint);color:var(--rr-accent)}.rr-payment-admin .rr-table{margin:16px 0}.rr-payment-admin td small{display:block;margin-top:5px}.rr-payment-admin td button{margin-top:10px}.rr-payment-admin details{margin-top:10px;font-size:12px}.rr-payment-due strong{font-size:20px;color:var(--rr-accent);font-variant-numeric:tabular-nums}.rr-payment-register-amount strong{font-size:28px;color:var(--rr-accent)}.rr-payment-admin [data-payment-pages]{justify-content:flex-end}.rr-payment-admin [data-payment-status]{min-height:20px}@media(max-width:800px){.rr-payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rr-payment-metrics strong small{display:inline}.rr-payment-admin [data-payment-filters]{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:800px){.rr-payment-admin [data-payment-filters]{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Current account identity and frozen audit identity stay labelled together. */
.rr-dealer-name-pair{display:inline-flex;flex-wrap:wrap;gap:8px 24px;max-width:100%;align-items:flex-start;vertical-align:middle}.rr-dealer-name-source{display:inline-flex;flex-direction:column;min-width:0;max-width:330px;overflow-wrap:anywhere}.rr .rr-dealer-name-source>small{display:block;margin:0;font-size:12px;line-height:1.5;font-weight:400;color:var(--rr-muted)}.rr .rr-dealer-name-source>strong{font-size:18px;line-height:1.5;font-weight:650}.rr-dealer-identity h2>.rr-dealer-name-pair{margin-right:4px}
