@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#292d31;background:#fff;font-size:14px;font-synthesis:none;--border:#e7e9eb;--muted:#83888e;--green:#326c55}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{background:#fff;border:1px solid var(--border);border-radius:6px;padding:8px 12px;color:inherit;display:inline-flex;gap:7px;align-items:center;justify-content:center}button:hover{background:#f6f7f8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #42806a;outline-offset:3px}button.primary{background:#326c55;color:white;border-color:#326c55}button.plain{border:0;background:transparent;padding:4px;color:var(--muted)}svg{width:17px;height:17px;flex-shrink:0;vertical-align:middle}.app{display:flex;min-height:100vh}.sidebar{width:226px;background:#f8f9fa;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;padding:24px 14px 15px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:650;letter-spacing:-.8px;margin:0 8px 27px}.mark{display:flex;width:29px;height:29px;background:#326c55;border-radius:8px;align-items:center;justify-content:center;color:white}.workspace{border:1px solid var(--border);background:white;border-radius:7px;padding:11px;display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:18px}.workspace small{display:block;color:var(--muted);margin-top:3px;font-size:14px}.practice-icon{background:#f0f1f2;padding:7px;border-radius:5px}.search-trigger{width:100%;justify-content:flex-start;background:transparent;color:#737980;border:0;margin-bottom:22px}.key{margin-left:auto;font-size:14px;border:1px solid #dedfe2;border-radius:4px;padding:2px 5px;color:#999}.nav-link{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:3px 0;border-radius:6px;color:#686e75}.nav-link.active{color:#2c644e;background:#e9efeb;font-weight:600}.nav-link .count{margin-left:auto;font-size:14px;color:#777}.nav-label{text-transform:uppercase;font-size:14px;letter-spacing:1.1px;color:#979ba0;margin:28px 12px 10px;font-weight:600}.saved{font-size:14px}.saved .tiny-dot{width:6px;height:6px;border-radius:2px;background:#cb9761;margin:5px}.saved:nth-of-type(2) .tiny-dot{background:#6e8caf}.sidebar-bottom{margin-top:auto}.sync-status{margin:20px 10px;padding-top:18px;border-top:1px solid var(--border);font-size:14px;color:#7c8288;line-height:1.8}.sync-status strong{font-size:14px;color:#616a63;font-weight:500}.profile{display:flex;gap:10px;align-items:center;margin:0 8px}.profile small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.avatar{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#e8edf1;color:#637589;border-radius:50%;font-size:14px;font-weight:600}.avatar.person{border-radius:7px;background:#f0ebe5;color:#8b7763;width:32px;height:32px}.avatar.claudia{background:#eee8f5;color:#8b75a4}.avatar.eliana{background:#eeeade;color:#938553}.main{margin-left:226px;width:calc(100% - 226px)}.topbar{height:61px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;font-size:14px;color:#737980;gap:15px}.crumb{display:flex;align-items:center;gap:12px}.top-right{display:flex;gap:13px;align-items:center}.demo{font-size:14px;border:1px solid #e3e6e9;border-radius:4px;padding:3px 7px;color:#858b91;letter-spacing:.2px}.page{padding:35px 36px 40px;max-width:1680px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.page-head h1{font-size:27px;letter-spacing:-.8px;font-weight:600;margin:0 0 8px}.subtle{color:var(--muted);font-size:14px}.head-actions{display:flex;gap:8px}.eyebrow{font-size:14px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:9px;margin-bottom:28px;overflow:hidden}.metric{padding:22px 23px;border-right:1px solid var(--border);text-align:left;display:block;border-radius:0;border-top:0;border-bottom:0;border-left:0}.metric:last-child{border:0}.metric-label{color:#727980;font-size:14px;display:flex;justify-content:space-between;align-items:center}.metric-value{display:block;font-size:31px;font-weight:550;letter-spacing:-1.1px;margin:13px 0 10px}.metric-foot{color:#979ba0;font-size:14px}.metric-foot b{color:#528268;font-weight:500}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:12px}.section-title h2{font-size:15px;margin:0;font-weight:600;display:flex;align-items:center;gap:8px}.badge-count{font-size:14px;padding:2px 6px;border-radius:5px;background:#f0f1f2;color:#83878b;font-weight:500}.text-link{color:#707980;font-size:14px;border:0;padding:0;background:transparent}.panel{border:1px solid var(--border);border-radius:9px;background:#fff;overflow:hidden}.panel-heading{padding:21px 22px 0}.attention-icon{color:#b48442}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:14px;font-weight:500;color:#90959b;background:#fafbfc;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:11px 18px}td{padding:14px 18px;border-bottom:1px solid #edf0f2;font-size:14px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfa}tr.clickable{cursor:pointer}td strong{font-weight:500}.person-cell{display:flex;gap:10px;align-items:center}.person-cell small{display:block;font-size:14px;color:#969ba0;margin-top:4px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:14px;font-weight:500;background:#edf1f6;color:#647a96;white-space:nowrap}.pill:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill.warn{background:#fbf1df;color:#a37835}.pill.bad{background:#fae9e7;color:#b56860}.pill.good{background:#eaf3ed;color:#568467}.pill.neutral{background:#f0eff3;color:#8b8299}.type{font-size:14px;color:#7b7f89;background:#f2f3f5;padding:4px 7px;border-radius:4px}.owner{display:inline-flex;align-items:center;gap:7px;font-size:14px}.owner .avatar{width:23px;height:23px;font-size:14px}.waiting{color:#9b7c4b;font-variant-numeric:tabular-nums}.overview-grid{display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:22px;margin-top:24px}.overview-grid>.panel{min-width:0;padding:21px 22px}.segmented{display:flex;background:#f4f5f6;border:1px solid #eceef0;padding:3px;border-radius:6px}.segmented button{border:0;background:transparent;font-size:14px;padding:4px 8px;color:#8c9197;border-radius:4px}.segmented button.active{background:white;box-shadow:0 1px 3px #00000010;color:#40494f}.funnel-row{display:flex;gap:10px;align-items:center;font-size:14px;margin:15px 0;cursor:pointer}.funnel-label{width:118px;color:#71777c;flex-shrink:0}.bar-track{flex:1;height:7px;background:#f4f5f6;border-radius:2px}.bar{height:100%;background:#8aa796;border-radius:2px}.funnel-row:nth-child(3) .bar{background:#a5b7c9}.funnel-row:nth-child(4) .bar{background:#c1ad85}.funnel-row b{font-size:14px;font-weight:500;width:20px;text-align:right}.chart-key{display:flex;gap:16px;color:#8b9197;font-size:14px;margin:4px 0 23px}.chart-key span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:2px;background:#7c9b88;margin-right:5px}.chart-key span+span:before{background:#becddd}.aging-row{margin:17px 0}.aging-top{display:flex;justify-content:space-between;font-size:14px;color:#858a90;margin-bottom:9px}.aging-top b{color:#50585e;font-weight:500}.aging-bars{display:flex;height:9px;background:#f4f5f6;border-radius:2px;overflow:hidden}.aging-bars span:first-child{background:#7c9b88}.aging-bars span:last-child{background:#becddd}.activity-item{position:relative;padding:0 0 20px 22px;font-size:14px;line-height:1.55;border-left:1px solid #edf0f2;margin-left:5px}.activity-item:before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;background:#bccbbf;border:2px solid white;border-radius:50%;outline:1px solid #e6eae7}.activity-item small{display:block;color:#9ba0a5;font-size:14px;margin-top:5px}.activity-item b{font-weight:500}.footer-note{font-size:14px;color:#a2a6ab;display:flex;justify-content:space-between;margin-top:21px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:24px}.tabs button{border:0;border-radius:0;padding:12px 0;color:#858b91;font-size:14px;background:none;border-bottom:2px solid transparent}.tabs button.active{border-color:#326c55;color:#2e624d}.toolbar{display:flex;gap:8px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.toolbar select,.toolbar input{border:1px solid var(--border);background:white;border-radius:6px;padding:8px 10px;color:#747b82;font-size:14px;min-width:110px}.toolbar input{margin-left:auto;width:210px}.list-count{font-size:14px;color:#93999f;margin:16px 0}.empty{padding:60px;text-align:center;color:#93999f}.detail-head{display:flex;align-items:center;gap:16px}.detail-head .avatar{width:47px;height:47px;font-size:16px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.detail-panel{padding:24px}.state-banner{background:#f7faf8;border:1px solid #dfeae3;border-radius:8px;padding:18px 20px;margin-bottom:26px;display:flex;gap:16px;align-items:flex-start}.state-banner p{margin:9px 0 0;font-size:14px;line-height:1.6;color:#6c7c71}.journey{display:flex;margin:22px 0 32px;gap:0}.step{flex:1;position:relative;font-size:14px;padding-right:10px}.step:before{content:'';height:1px;background:#dee8e1;position:absolute;top:13px;left:22px;right:0}.step:last-child:before{display:none}.step-icon{width:26px;height:26px;border-radius:50%;background:#eaf2ed;color:#638671;display:flex;align-items:center;justify-content:center;margin-bottom:10px;position:relative;font-size:14px}.step.pending .step-icon{background:#f2f3f5;color:#9aa0a7}.step.current .step-icon{background:#326c55;color:white;box-shadow:0 0 0 4px #edf3ef}.step small{display:block;margin-top:6px;color:#929aa0;font-size:14px}.claim-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.claim-card{border:1px solid var(--border);border-radius:8px;padding:20px;cursor:pointer}.claim-card:hover{border-color:#acc3b5}.claim-card h3{font-size:14px;font-weight:600;margin:10px 0 6px}.claim-card .value{font-size:24px;margin:20px 0 4px}.claim-card .next{font-size:14px;color:#808a84;margin-top:17px;padding-top:15px;border-top:1px solid var(--border);line-height:1.6}.fields{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin:22px 0}.field-label{display:block;color:#93989e;font-size:14px;margin-bottom:8px}.field-value{font-size:14px;line-height:1.6}.side-section{border:1px solid var(--border);border-radius:8px;padding:21px;margin-bottom:17px}.side-section h3{font-size:14px;font-weight:600;margin:0 0 21px}.side-section .field{margin:19px 0}.source-note{font-size:14px;color:#8b9298;line-height:1.7}.operational{background:#f8faf9}.detail-money{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-bottom:25px;border-bottom:1px solid var(--border)}.detail-money b{font-size:23px;font-weight:500;display:block;margin-top:12px;letter-spacing:-.5px}.prose{font-size:14px;line-height:1.8;color:#6e777d}.doc-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--border)}.doc-row button{font-size:14px}.doc-name{display:flex;align-items:center;gap:12px;font-size:14px}.doc-name svg{color:#8e9caa}.timeline{padding:10px 0}.timeline .activity-item{padding-bottom:28px;font-size:14px}.timeline small{font-size:14px}.note-form{display:flex;gap:8px;margin-top:20px}.note-form input{flex:1;min-width:0;border:1px solid var(--border);padding:10px;border-radius:6px}.modal-backdrop{position:fixed;inset:0;background:#20283050;backdrop-filter:blur(2px);z-index:50;display:flex;align-items:flex-start;justify-content:center;padding:12vh 18px 30px;overflow:auto}.modal{background:white;border-radius:12px;box-shadow:0 20px 80px #15232930;width:580px;max-width:100%;padding:25px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{margin:0;font-size:19px}.modal input,.modal textarea,.modal select{display:block;width:100%;border:1px solid #dfe3e7;border-radius:6px;padding:11px;margin:8px 0 18px;background:white}.modal textarea{min-height:90px;resize:vertical}.modal label{font-size:14px;color:#7e858c}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:25px}.search-results{max-height:400px;overflow:auto}.search-result{display:block;padding:14px;border-bottom:1px solid var(--border)}.search-result:hover{background:#f5f8f6}.search-result small{color:#8d949b;display:block;margin-top:6px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#293d33;color:white;padding:12px 20px;z-index:80;border-radius:8px;font-size:14px;box-shadow:0 4px 20px #0002;display:none}.mobile-toggle{display:none}.mono{font-variant-numeric:tabular-nums}.doc-preview{background:#fafbfc;border:1px solid var(--border);padding:26px;font-size:14px;line-height:1.8}.doc-preview h3{font-size:20px}.table-link:hover{text-decoration:underline;color:#326c55}@media(min-width:1550px){.page{padding:42px 48px}.overview-grid{gap:26px}td{padding:16px 20px}}@media(max-width:1150px){.sidebar{width:195px}.main{margin-left:195px;width:calc(100% - 195px)}.page{padding:28px 24px}.overview-grid{grid-template-columns:1fr 1fr}.overview-grid .panel:last-child{grid-column:1/-1}.metric{padding:18px}.metric-value{font-size:26px}.detail-layout{grid-template-columns:1fr}.detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}}@media(max-width:760px){.sidebar{display:none;width:225px;box-shadow:10px 0 40px #0002}.sidebar.open{display:flex}.main{width:100%;margin:0}.mobile-toggle{display:inline-flex}.topbar{padding:0 17px}.page{padding:25px 17px}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.head-actions{flex-wrap:wrap;justify-content:flex-end}.metrics{grid-template-columns:1fr 1fr}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--border)}.overview-grid{grid-template-columns:1fr}.overview-grid .panel:last-child{grid-column:auto}.detail-aside,.claim-cards{grid-template-columns:1fr}.detail-money{grid-template-columns:1fr 1fr}.journey{overflow:auto}.step{min-width:105px}.footer-note{gap:15px;line-height:1.7}.toolbar input{margin-left:0;width:100%}.top-right>.subtle{display:none}.tabs{gap:18px}.detail-head .avatar{display:none}}

/* Workspace refresh: compact Attio-style navigation, full-width grid and panels. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;color:#202124;--muted:#64676d;--border:#e8e9ed;--green:#365de3}
body{background:#fff}.sidebar{width:228px;padding:0 10px 16px;background:#fbfbfc}.brand{height:57px;font-size:16px;letter-spacing:-.2px;margin:0 2px;gap:9px;font-weight:650}.brand .mark{width:25px;height:25px;border-radius:6px;background:#4263da}.workspace-chevron{font-size:17px;color:#777;margin-left:0;font-weight:400}.search-trigger{background:#fff;border:1px solid #e5e6ea;height:31px;padding:4px 8px;border-radius:6px;font-size:14px;color:#4a4c53;box-shadow:0 1px 3px #00000004;margin:0 0 18px}.search-trigger .key{font-size:14px}.nav-link{padding:7px 9px;height:35px;margin:2px 0;font-size:15px;color:#26272c;font-weight:450;gap:9px}.nav-link.active{background:#ebedf1;color:#1e2027;font-weight:600}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:5px}.nav-icon svg{width:14px;height:14px}.nav-icon.cases{background:#e9edff;color:#4264df}.nav-icon.claims{background:#ebe6fc;color:#7951c8}.nav-icon.patients{background:#e2f3ef;color:#24866e}.nav-icon.overview{background:#fff0d6;color:#bd8320}.nav-link.active .nav-icon.cases{background:#4567df;color:white}.nav-link.active .nav-icon.claims{background:#8058d0;color:white}.nav-link.active .nav-icon.patients{background:#29896e;color:white}.nav-link.active .nav-icon.overview{background:#d99726;color:white}.practice-caption{font-size:14px;color:#747780;margin:20px 7px 15px}.profile{font-size:14px;border-top:1px solid var(--border);padding-top:15px;margin:0 5px;gap:8px}.profile small{font-size:14px;color:#70747c}.main{margin-left:228px;width:calc(100% - 228px)}.topbar{height:53px;padding:0 20px;font-size:15px;color:#26272c;position:sticky;top:0;background:#fff;z-index:12}.crumb{gap:8px;font-weight:550}.top-right{gap:16px}.demo{font-size:14px;border:0;color:#747781;padding:0}.top-right .avatar{width:25px;height:25px;color:white;background:#5578df}.page{max-width:none}.table-page{padding:0;display:flex;flex-direction:column;height:calc(100vh - 53px)}.list-controls{height:54px;flex-shrink:0;display:flex;align-items:center;gap:13px;padding:0 15px;border-bottom:1px solid var(--border)}.view-control{display:flex;align-items:center;gap:7px;border:1px solid #e5e7eb;box-shadow:0 1px 2px #00000005;border-radius:6px;position:relative;padding:5px 9px;color:#353841;background:#fff}.view-control>svg:first-child{color:#47976f;width:16px}.view-control>svg:last-child{pointer-events:none;width:14px}.view-control select{appearance:none;border:0;background:none;outline:none;padding:0 15px 0 0;font-size:14px;font-weight:550;color:#24262b;cursor:pointer;max-width:220px}.view-control>svg:last-child{position:absolute;right:7px}.record-count{font-size:14px;color:#70747c}.table-search{display:flex;align-items:center;gap:8px;margin-left:auto;color:#858990}.table-search svg{width:15px;height:15px}.table-search input{font-size:14px;border:0;outline:none;padding:7px 0;width:165px;color:#282a30;background:transparent}.filter-toolbar{padding:9px 15px;min-height:49px;display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--border);flex-shrink:0;flex-wrap:wrap}.filter-trigger{font-size:14px;padding:5px 9px;min-height:29px;color:#5a5d65;border:1px dashed #d8dbe0;background:#fff;box-shadow:none}.filter-trigger svg{width:14px;height:14px}.filter-trigger.has-filters{border:1px solid #bbc9ff;color:#385bd4;background:#f2f5ff}.filter-count{background:#e1e8ff;border-radius:4px;padding:0 5px;font-size:14px}.filter-chip{font-size:14px;padding:5px 7px;border-radius:5px 0 0 5px;margin-left:3px;gap:7px;color:#676c76;min-height:29px;border-color:#dce2f4;background:#f8faff}.filter-chip b{color:#334e9f;font-weight:500}.remove-rule{margin-left:-7px;padding:5px 3px;min-height:29px;border-radius:0 5px 5px 0;border-color:#dce2f4;border-left:0;background:#f8faff}.remove-rule svg{width:12px;height:12px}.clear-filters{border:0;color:#686d76;font-size:14px;padding:3px 7px}.records-grid{flex:1;overflow:auto;border:0;border-radius:0}.records-grid table{width:max-content;min-width:100%;table-layout:fixed;border:0}.records-grid th{background:#fff;padding:0;border-top:0;border-right:1px solid #e8e9ed;position:sticky;top:0;z-index:2;height:37px;font-size:14px;font-weight:450;color:#34373e}.records-grid th button{border:0;border-radius:0;background:none;width:100%;height:37px;justify-content:flex-start;text-align:left;padding:0 12px;font-size:14px;font-weight:450;gap:8px;white-space:nowrap}.records-grid th button svg{width:14px;height:14px;color:#848994}.records-grid th button:hover{background:#f4f6f9}.sort-indicator{margin-left:auto;color:#979da7;font-size:14px;padding-left:8px}.records-grid th[aria-sort="ascending"],.records-grid th[aria-sort="descending"]{background:#f4f6ff;color:#365acc}.records-grid th[aria-sort="ascending"] .sort-indicator,.records-grid th[aria-sort="descending"] .sort-indicator{color:#365acc}.records-grid td{height:43px;padding:6px 12px;font-size:14px;color:#292c33;border-right:1px solid #eceef2;border-bottom:1px solid #eceef2;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.records-grid tbody tr:hover{background:#f7f8fb}.records-grid tbody tr.selected-row{background:#edf2ff}.records-grid tbody tr.selected-row td:nth-child(2){box-shadow:inset 3px 0 #5579e5}.records-grid .row-number{width:39px;min-width:39px;max-width:39px;text-align:center;font-size:14px;color:#a1a6af;background:#fff;padding:0}.records-grid tr:hover .row-number{background:#f7f8fb}.records-grid th:nth-child(2),.records-grid td:nth-child(2){position:sticky;left:0;z-index:1;background:inherit;min-width:205px}.records-grid th:nth-child(2){z-index:3;background:#fff}.records-grid td:nth-child(2){background:#fff}.records-grid tr:hover td:nth-child(2){background:#f7f8fb}.records-grid tr.selected-row td:nth-child(2){background:#edf2ff}.records-grid td.col-id{min-width:125px;max-width:145px}.records-grid td.col-name{min-width:205px}.records-grid td.col-procedure{min-width:225px}.records-grid td.col-dos{min-width:160px}.records-grid td.col-medical,.records-grid td.col-dental,.records-grid td.col-status{min-width:180px}.records-grid td.col-billed{min-width:140px;font-variant-numeric:tabular-nums}.records-grid td.col-age{min-width:90px}.records-grid td.col-next{min-width:245px;max-width:245px}.records-grid td.col-payer{min-width:200px}.records-grid td.col-owner{min-width:140px}.records-grid td.col-insurance{min-width:330px;max-width:400px}.records-grid tfoot td{height:39px;background:#fcfcfd;color:#656a75;font-size:14px;text-align:right;border-top:1px solid #e3e6eb}.records-grid .person-cell{gap:9px}.records-grid .person-cell strong{font-size:14px;font-weight:550}.records-grid .avatar.person{height:24px;width:24px;font-size:14px;background:#e9edfc;color:#5470b6;border-radius:5px}.records-grid tr:nth-child(3n) .avatar.person{background:#f5e9dc;color:#ab7a43}.records-grid tr:nth-child(3n + 1) .avatar.person{background:#ebe5f6;color:#835dad}.record-id{font-size:14px;font-weight:500;color:#474c57}.row-open{display:none;margin-left:auto;color:#8a97ba}.row-open svg{width:13px;height:13px}.records-grid tr:hover .row-open{display:inline-flex}.no-value{color:#b1b6bf}.payer-mark{font-size:14px;border:1px solid #dce3ef;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;height:18px;width:18px;margin-right:7px;color:#567abe;background:#f4f7ff}.payer-mark.dental{color:#21906f;background:#edf8f3;border-color:#d1e8df}.aged-claim{color:#aa5d23;background:#fff0d9;padding:3px 6px;border-radius:4px;font-size:14px}.pill{font-size:14px;padding:3px 7px;border-radius:4px;font-weight:550;background:#e7edff;color:#4163c5;gap:6px}.pill:before{width:6px;height:6px}.pill.warn{background:#fff0ce;color:#98680d}.pill.bad{background:#ffe4e5;color:#b7464f}.pill.good{background:#dff3e8;color:#238457}.pill.neutral{background:#eee7ff;color:#7851b5}.type{font-size:14px;color:#6b4cb0;background:#eee7fc;padding:3px 7px}.type.dental{background:#e0f3ef;color:#21846d}.owner{font-size:14px;color:#30353d}.owner .avatar{width:22px;height:22px;font-size:14px;background:#e6edff;color:#4d71c2}.owner .claudia{background:#eee2ff;color:#935ec9}.owner .eliana{background:#ffefd5;color:#ad7d25}.filter-modal{width:690px}.filter-intro{font-size:14px;color:#69707d;margin-bottom:17px}.filter-rule{display:grid;grid-template-columns:155px auto minmax(100px,1fr) 25px;align-items:center;gap:10px;margin:10px 0}.filter-rule select,.filter-rule input{margin:0;font-size:14px;padding:8px}.filter-rule>span{font-size:14px;color:#707782}.filter-empty{padding:20px 0;color:#7b828d;font-size:14px}.add-filter{margin-top:12px;border:0;color:#4266c9;padding-left:0}.filter-modal .modal-actions{border-top:1px solid var(--border);padding-top:16px}.filter-modal .modal-actions button:first-child{margin-right:auto}button.primary{background:#4567de;border-color:#4567de}.record-panel{position:fixed;top:0;right:0;bottom:0;width:min(790px,calc(100vw - 310px));z-index:25;background:#fff;border-left:1px solid #dfe3eb;box-shadow:-12px 0 36px #18233912;display:flex;flex-direction:column;animation:panel-enter .17s ease-out}.record-panel.expanded{width:100%;border:0}.record-toolbar{height:53px;min-height:53px;display:flex;align-items:center;padding:0 15px;border-bottom:1px solid var(--border);gap:5px;background:#fff}.record-toolbar button{height:29px;min-width:29px;padding:5px;border-radius:5px;color:#606878}.record-toolbar button:hover{background:#f0f2f6}.record-toolbar button:disabled{opacity:.28;cursor:default}.panel-divider{width:1px;height:17px;background:#e4e7ec;margin:0 5px}.record-position{font-size:14px;color:#626a77;margin-left:6px}.record-toolbar .expand-control{margin-left:auto}.record-content{overflow:auto;padding:27px 25px 45px;flex:1}.record-content .page-head h1{font-size:24px}.record-content .page-head{margin-bottom:24px}.record-content .subtle{font-size:14px;color:#6f7581}.record-content .detail-layout{grid-template-columns:1fr}.record-content .detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.record-content .detail-head .avatar{display:none}.record-content .detail-head{display:block}.record-content .state-banner{background:#f7f9fc;border-color:#e5e9ef}.record-content .state-banner .mark{background:#5479d4}.record-content .state-banner p{color:#616b7a}.record-content .journey{overflow:auto}.record-content .step{min-width:95px;font-size:14px}.record-content .step.current .step-icon{background:#526fd8;box-shadow:0 0 0 4px #edf1fd}.record-content .step small{font-size:14px}.record-content .tabs{gap:24px;margin-bottom:24px}.record-content .tabs button{font-size:14px}.record-content .tabs button.active{color:#365bd2;border-color:#4265da}.record-content .side-section h3,.record-content .section-title h2{font-size:14px}.record-content .detail-money b{font-size:24px}.record-content .field-label{font-size:14px;color:#69717f}.record-content .field-value{font-size:14px}.record-content .detail-panel{padding:21px}.record-content .claim-card .next{font-size:14px}.record-content .claim-card h3{font-size:15px}.record-content .activity-item small{color:#737b8a}.record-panel.expanded .record-content{padding:32px 40px}.record-panel.expanded .detail-layout{grid-template-columns:minmax(0,1fr) 290px}.record-panel.expanded .detail-aside{display:block}.record-panel.expanded .journey{max-width:1000px}.dashboard-page{padding:25px 28px}.overview-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;font-size:16px;font-weight:550}.overview-controls button{font-size:14px;font-weight:400}.metrics{border-radius:8px;margin-bottom:25px}.metric{padding:22px}.metric-label{font-size:14px;color:#404754;font-weight:500}.metric-value{font-size:33px;font-weight:600;color:#252b36}.metric-foot{font-size:14px;color:#747c88}.section-title h2{font-size:16px;font-weight:600;color:#303744}.subtle{color:#737a87}.section-title .text-link{font-size:14px;color:#5c6574}.dashboard-page th{font-size:14px;color:#636d7b}.dashboard-page td{font-size:14px}.dashboard-page .person-cell small{font-size:14px;color:#7a8390}.dashboard-page .person-cell strong{font-size:14px}.dashboard-page .type{font-size:14px}.dashboard-page .owner{font-size:14px}.overview-grid{grid-template-columns:1fr 1fr 1fr}.overview-grid .panel{padding:21px}.overview-grid .section-title{align-items:flex-start;flex-wrap:wrap}.segmented button{font-size:14px;color:#626d7f}.segmented button.active{color:#3558b3;font-weight:600}.funnel-row{font-size:14px}.funnel-label{width:130px;color:#4c5667}.bar-track{height:9px}.funnel-row b{font-size:14px;color:#3d4758}.funnel-row:nth-of-type(3) .bar{background:#8872cf}.funnel-row:nth-of-type(4) .bar{background:#5c8ddc}.funnel-row:nth-of-type(5) .bar{background:#e9b34e}.funnel-row:nth-of-type(6) .bar{background:#55a997}.funnel-row:nth-of-type(7) .bar{background:#cf7d9c}.funnel-row:nth-of-type(8) .bar{background:#429b69}.chart-key{font-size:14px;color:#647085}.chart-key span:before{background:#6888d9}.chart-key span+span:before{background:#a47ccf}.aging-top{font-size:14px;color:#626c7b}.aging-top b{font-weight:550;color:#3d4858}.aging-bars{height:10px}.aging-bars span:first-child{background:#6888d9}.aging-bars span:last-child{background:#a47ccf}.activity-item{font-size:14px;color:#465163}.activity-item small{font-size:14px;color:#788391}.activity-item:before{background:#7596d6}.footer-note{font-size:14px;color:#79828e}.badge-count{background:#edf0f6;color:#556479;font-size:14px}.record-content .prose{font-size:15px}.record-content .source-note{font-size:14px}.sidebar-bottom{padding-top:20px}.empty button{margin-top:20px}@keyframes panel-enter{from{transform:translateX(25px)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.record-panel{animation:none}}@media(min-width:1550px){.page.table-page{padding:0}.dashboard-page{padding:30px 36px}}@media(max-width:1150px){.sidebar{width:210px}.main{margin-left:210px;width:calc(100% - 210px)}.overview-grid{grid-template-columns:1fr 1fr}.overview-grid .panel:last-child{grid-column:1/-1}.record-panel{width:calc(100vw - 280px)}.record-content .detail-aside{grid-template-columns:1fr}.record-content .claim-cards{grid-template-columns:1fr}.record-content .page-head{flex-wrap:wrap}.record-content .detail-money{grid-template-columns:1fr 1fr}.record-content .journey{margin-bottom:24px}}@media(max-width:760px){.sidebar{display:none;width:220px}.sidebar.open{display:flex;z-index:35}.main{margin-left:0;width:100%}.topbar{padding:0 15px}.record-panel{width:calc(100vw - 30px)}.record-panel.expanded{width:100%}.record-content{padding:22px 16px}.record-panel.expanded .record-content{padding:24px 16px}.record-panel.expanded .detail-layout{grid-template-columns:1fr}.table-search input{width:110px}.list-controls{gap:8px;padding:0 12px}.record-count{display:none}.view-control select{max-width:180px}.table-page{padding:0}.dashboard-page{padding:20px 16px}.overview-grid{grid-template-columns:1fr}.overview-grid .panel:last-child{grid-column:auto}.filter-rule{grid-template-columns:1fr 24px;gap:5px;margin-bottom:20px}.filter-rule select:first-child{grid-column:1}.filter-rule>span{grid-column:1}.filter-rule select[data-filter-value],.filter-rule input{grid-column:1}.filter-rule button{grid-column:2;grid-row:span 3}.record-content .tabs{gap:20px}.record-content .detail-money b{font-size:23px}.record-position{font-size:14px}}
@media(min-width:761px){.record-panel{width:min(760px,58vw)}.record-panel.expanded{width:100%}}
.records-grid td,.records-grid .person-cell strong,.record-id{font-size:15px}.records-grid .pill,.records-grid .type{font-size:14px}.record-content .detail-money{min-width:0}.record-content .doc-row{flex-wrap:wrap}.record-content .fields{min-width:0}

/* Feedback refinements: shared menus, inline modifiers and stable interactions. */
.brand{font-size:17px;letter-spacing:-.3px;padding-left:8px;color:#24272d;font-weight:650}.type,.badge-count,.filter-count{font-weight:650}.topbar .nav-icon.overview{background:#d99726;color:#fff}.topbar .nav-icon.cases{background:#4567df;color:#fff}.topbar .nav-icon.claims{background:#8058d0;color:#fff}.topbar .nav-icon.patients{background:#29896e;color:#fff}
.sort-indicator{display:inline-flex;align-items:center;justify-content:center;padding:0;margin-left:auto;width:20px;height:24px;flex-shrink:0}.records-grid th button .sort-indicator svg{height:18px;width:18px;stroke-width:1.8;color:#939ba8}.records-grid th[aria-sort="ascending"] .sort-indicator svg,.records-grid th[aria-sort="descending"] .sort-indicator svg{color:#4164d6}
.native-select-hidden{display:none!important}.styled-select{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dfe3ea;border-radius:7px;background:#fff;padding:8px 10px;color:#313740;font-size:14px;min-width:130px;text-align:left}.styled-select svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;color:#7a8492}.styled-select:hover,.styled-select[aria-expanded="true"]{background:#f7f9fc;border-color:#b9c7ea}.styled-select[aria-expanded="true"]{box-shadow:0 0 0 2px #e9eeff}.view-control{padding:0 0 0 9px;gap:0}.view-control>.styled-select{border:0;background:none;padding:6px 9px;min-width:135px;box-shadow:none;font-weight:600}.view-control>svg:last-child{display:none}.modal label>.styled-select{width:100%;margin:8px 0 18px}.anchored-popover{position:fixed;z-index:90;background:white;border:1px solid #e2e5eb;box-shadow:0 12px 36px #14223b1a,0 2px 6px #14223b0a;border-radius:11px;overflow:auto;padding:6px;animation:menu-appear .1s ease-out;font-size:14px}.popover-options{padding:2px;max-height:360px;overflow:auto}.popover-options button{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:10px;border:0;border-radius:6px;padding:10px 10px;min-height:38px;color:#343b47;text-align:left;background:#fff;font-size:14px}.popover-options button>span:first-of-type{flex:1}.popover-options button>svg{width:17px;height:17px;color:#737d8a}.popover-options button>svg:last-child:not(:first-child){width:14px;height:14px;margin-left:auto;color:#8b949f}.popover-options button:hover,.popover-options button:focus-visible{background:#f0f3f8;outline:none}.popover-options button[aria-selected="true"]{background:#eef2fd;color:#3c5cbe;font-weight:550}.popover-options button[hidden],.filter-value-options label[hidden]{display:none}.menu-check{margin-left:auto;color:#4366ce;font-weight:600}.popover-search{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e8ebef;padding:5px 10px 10px;margin-bottom:5px;color:#8792a1}.popover-search input{border:0;outline:none;padding:7px 0;font-size:14px;min-width:0;width:100%;background:transparent;color:#303844}.popover-search input::placeholder{color:#9aA1ab}.popover-search input:focus-visible{outline:none}.popover-heading{display:flex;gap:9px;align-items:center;padding:7px 8px 10px;border-bottom:1px solid #e9edf1}.popover-heading strong{font-size:14px;font-weight:600}.popover-heading>svg{color:#66758a}.filter-back svg{transform:rotate(-90deg);width:14px;height:14px}.filter-operator-line{padding:11px 8px;color:#7c8693;font-size:14px}.operator-options{display:flex;gap:6px}.operator-options button{font-size:14px;border:1px solid transparent;border-radius:5px;padding:4px 9px;color:#788391}.operator-options button[aria-pressed="true"]{color:#4864b7;background:#f0f4ff;border-color:#dce5fd}.filter-value-options{padding:0 3px;max-height:300px;overflow:auto}.filter-value-options label{display:flex;align-items:center;gap:9px;padding:9px 8px;min-height:37px;border-radius:6px;cursor:pointer;color:#3c4450;font-size:14px}.filter-value-options label:hover{background:#f1f4f9}.filter-value-options label:has(input:checked){background:#f3f6ff}.filter-value-options input[type=checkbox]{appearance:none;width:15px;height:15px;min-width:15px;border:1px solid #cdd4df;border-radius:4px;margin:0;cursor:pointer;display:grid;place-content:center}.filter-value-options input:checked{background:#526ed1;border-color:#526ed1}.filter-value-options input:checked:before{content:'✓';font-size:14px;font-weight:700;color:#fff}.popover-footer{display:flex;gap:8px;justify-content:flex-end;padding:12px 7px 5px;border-top:1px solid #e8ecf1;margin-top:9px}.popover-footer button{font-size:14px;padding:7px 11px}.popover-footer button:first-child{border:0;color:#7b8592}.filter-input{padding:0 8px 10px}.filter-input input,.range-fields input{font:inherit;border:1px solid #dce2eb;border-radius:6px;padding:9px;width:100%;color:#394251;min-width:0}.range-fields{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:end;padding:12px 8px}.range-fields label{font-size:14px;color:#7c8694}.range-fields input{display:block;margin-top:6px;font-size:14px}.range-fields>span{padding-bottom:10px;font-size:14px;color:#8a94a0}.age-presets{display:flex;gap:5px;padding:3px 8px}.age-presets button{flex:1;font-size:14px;padding:5px}.age-presets button:hover{color:#4966b6;background:#eef3ff}.filter-toolbar{gap:7px}.filter-modifier{display:inline-flex;align-items:stretch;border:1px solid #dce1e9;border-radius:7px;overflow:hidden;background:#fff;max-width:100%;height:30px}.filter-modifier>button{font-size:14px;border:0;border-right:1px solid #e4e7ec;border-radius:0;padding:4px 8px;min-width:0;gap:6px;white-space:nowrap;line-height:20px}.filter-modifier>button:first-child svg{height:15px;width:15px;color:#7b8696}.filter-modifier .modifier-value{max-width:320px;overflow:hidden}.modifier-value b{font-weight:550;overflow:hidden;text-overflow:ellipsis}.modifier-operator{color:#868e9a;font-size:14px}.filter-modifier .modifier-remove{border:0;padding:4px 5px;color:#8993a2}.modifier-remove svg{width:12px;height:12px}.filter-modifier>button:hover{background:#f4f6fb}.add-modifier{width:30px;height:30px;min-height:30px;padding:4px}.add-modifier svg{height:17px;width:17px}.insurer-lockup{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;white-space:nowrap;min-width:0}.insurer-logo{height:24px;width:24px;min-width:24px;border:1px solid #e1e6ed;border-radius:5px;background:#fff;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.insurer-logo img{height:19px;width:19px;object-fit:contain;display:block}.insurer-list{display:inline-flex;gap:16px}.claim-payer-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.record-content .claim-payer-line{font-size:14px}.claim-card h3 .insurer-lockup{white-space:normal;line-height:1.5}.activity-item small .insurer-logo{width:18px;height:18px;min-width:18px;border-radius:4px}.activity-item small .insurer-logo img{width:15px;height:15px}.activity-item small .insurer-lockup{gap:5px;white-space:normal}.activity-item small{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.record-content .doc-row .insurer-lockup{white-space:normal}
.funnel-row,.aging-row{position:relative;border-radius:6px;padding:9px 8px;margin:3px -8px;cursor:pointer;transition:background-color .1s,box-shadow .1s}.funnel-row:hover,.funnel-row:focus-visible,.aging-row:hover,.aging-row:focus-visible{background:#edf2fd;box-shadow:inset 0 0 0 1px #d8e2fa;outline:none}.funnel-row:active,.aging-row:active{background:#e2eafb}.funnel-row:hover .funnel-label,.funnel-row:focus-visible .funnel-label{color:#3e5d9c}.aging-row:hover .aging-top{color:#3e5d9c}.funnel-row:hover .bar,.aging-row:hover .aging-bars{filter:saturate(1.15)}.dashboard-page .activity-item{padding:8px 8px 15px 22px;margin-right:-8px;border-radius:5px}.dashboard-page .activity-item:hover,.dashboard-page .activity-item:focus-visible{background:#f1f4fc;outline:none}.metric:hover,.metric:focus-visible{background:#f4f7ff;box-shadow:inset 0 0 0 1px #d7e2fa;outline:none}.dashboard-page tbody tr.clickable:hover{background:#edf3fd}.sidebar-dismiss{display:none}.record-content{will-change:opacity}@keyframes menu-appear{from{opacity:.4;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.anchored-popover{animation:none}.funnel-row,.aging-row{transition:none}}@media(max-width:760px){.sidebar-dismiss{display:block;position:fixed;inset:0;z-index:34;background:#18263a28;border:0;border-radius:0;cursor:default}.sidebar.open{z-index:35}.sidebar-dismiss:hover{background:#18263a28}.filter-modifier{height:auto;min-height:30px}.filter-modifier .modifier-value{max-width:180px}.filter-toolbar{gap:5px}.record-content .claim-payer-line{display:block}.claim-payer-line>.insurer-lockup{margin-bottom:5px}.anchored-popover{max-width:calc(100vw - 24px)}.view-control>.styled-select{min-width:125px;padding-right:8px}.table-search input{width:95px}}

/* One wrapping controls row, with search space reserved independently. */
.unified-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 15px;flex-shrink:0;border-bottom:1px solid var(--border);min-height:55px;background:#fff}.unified-toolbar>.filter-toolbar{padding:0;border:0;min-height:30px;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.toolbar-search-area{display:flex;align-items:center;gap:12px;min-height:30px}.toolbar-search-area .record-count{font-size:14px;white-space:nowrap;color:#7b8290}.toolbar-search-area .table-search{margin:0;width:114px;gap:7px;flex-shrink:0}.toolbar-search-area .table-search input{width:91px;padding:5px 0;font-size:14px}.modifier-labels{display:inline-flex;align-items:center;gap:4px;overflow:hidden;min-width:0;font-weight:550}.modifier-labels .pill,.modifier-labels .type{font-size:14px;line-height:18px;padding:1px 5px;font-weight:600}.filter-modifier{height:32px;max-width:100%;flex:0 1 auto}.filter-modifier>button:first-child{flex-shrink:0}.filter-modifier .modifier-value{flex:0 1 auto;min-width:0}.filter-modifier .modifier-remove{flex-shrink:0}.filter-modifier .modifier-labels{overflow:auto;scrollbar-width:none}.filter-modifier .modifier-labels::-webkit-scrollbar{display:none}.filter-value-options .pill,.filter-value-options .type{font-size:14px;font-weight:600}.filter-value-options .owner{font-size:14px}.filter-value-options>label>span{min-width:0}.filter-trigger{white-space:nowrap;flex-shrink:0}.records-grid th:nth-child(2)::after,.records-grid td:nth-child(2)::after{content:'';position:absolute;right:0;top:0;bottom:0;width:1px;background:#d5dbe5;pointer-events:none;z-index:5}.records-grid th:nth-child(2),.records-grid td:nth-child(2){border-right:0;isolation:isolate}.records-grid th:nth-child(2)::after{background:#cfd6e1}@media(max-width:1050px){.toolbar-search-area .record-count{display:none}}@media(max-width:760px){.unified-toolbar{grid-template-columns:minmax(0,1fr);gap:9px;padding:11px 13px}.toolbar-search-area{grid-row:1;justify-content:space-between;min-height:26px}.toolbar-search-area .record-count{display:block;order:2}.toolbar-search-area .table-search{width:140px;order:1}.toolbar-search-area .table-search input{width:116px}.unified-toolbar>.filter-toolbar{grid-row:2;min-width:0}.filter-modifier .modifier-value{max-width:min(320px,calc(100vw - 172px))}.filter-modifier .modifier-labels{max-width:100%}}@media(max-width:400px){.unified-toolbar{padding-left:10px;padding-right:10px}.filter-modifier>button{padding-left:6px;padding-right:6px;font-size:14px}}

/* Status groups keep the simple checklist organized by workflow. */
.status-filter-group+.status-filter-group{border-top:1px solid #e5e7ed;margin-top:8px;padding-top:8px}
.filter-value-options .status-group-heading{gap:9px;flex-wrap:wrap}
.status-group-heading strong{font-size:14px}.status-group-heading small{color:#7a8190;font-size:14px;margin-left:auto}
.status-group-values{padding-left:19px}.status-group-values label{min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important}
.pill.closed{background:#eceef2;color:#656b78}

.filter-value-options:has(.status-filter-group){max-height:min(510px,calc(100vh - 280px))}

/* A transparent scrim intercepts background hover/click while preserving list context. */
body:has(.record-panel)::before{content:'';position:fixed;inset:0;z-index:24;background:transparent;cursor:default}
body:has(.record-panel) .app{pointer-events:none}
.claim-payer-line{flex-wrap:wrap}.claim-payer-line .aged-claim{display:inline-block;white-space:nowrap}.balance-source{margin-top:12px}

.patient-header{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--border)}
.patient-header h1{margin:0 0 6px;font-size:28px;letter-spacing:-.6px}
.patient-demographics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.patient-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.patient-data-grid>.panel{padding:22px;min-width:0}.patient-data-grid .claim-card{display:block;margin:0;padding:0;border:0}
.patient-insurance{grid-column:1/-1}.patient-data-grid .doc-row{gap:12px;flex-wrap:wrap}
.patient-data-grid .fields{gap:22px 16px}.patient-data-grid .source-note{margin-top:20px}
.record-content .journey{gap:0;padding:5px 0 12px}
.record-content .step{min-width:112px;font-size:14px;line-height:1.45;padding-right:16px;color:#303844}
.record-content .step small{font-size:14px;color:#687383}
.record-content .step-icon{width:30px;height:30px;font-size:16px;font-weight:700;margin-bottom:12px}
.record-content .step:before{top:15px;left:30px;background:#dce2e9;height:2px}
.record-content .step.done .step-icon{background:#16845b;color:#fff;box-shadow:none}
.record-content .step.done:before{background:#a4cdbb}
.record-content .step.pending,.record-content .step.pending small{color:#9299a5}
.record-content .step.pending .step-icon{background:#eff1f4;color:#99a1ad;border:1px solid #dfe3e8}
small{font-size:14px}.avatar,.owner .avatar{min-width:28px;min-height:28px}.key{white-space:nowrap}
@media(max-width:650px){.patient-data-grid{grid-template-columns:1fr}.patient-demographics{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-insurance{grid-column:auto}}

/* Related records share one navigation treatment; content panels stay neutral. */
.record-card{--record-accent:#526bd5;--record-border:#dce3f6;--record-corner:#edf1ff;--record-hover:#f8faff;position:relative;display:block;min-width:0;padding:20px;border:1px solid var(--record-border);border-radius:10px;background:#fff;box-shadow:0 2px 5px #233a5c06;transition:border-color .15s,box-shadow .15s,background .15s}
.record-card:hover{border-color:var(--record-accent);background:var(--record-hover);box-shadow:0 4px 12px #233a5c12}
.record-card:focus-visible{outline:2px solid var(--record-accent);outline-offset:3px}
.record-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:24px;padding-right:38px;margin-bottom:16px;color:#727c8d;font-size:13px;font-weight:550}
.record-card-icon{position:absolute;top:-1px;right:-1px;display:flex;align-items:center;justify-content:center;width:46px;height:44px;border:1px solid var(--record-border);border-radius:0 10px 0 15px;background:var(--record-corner);color:var(--record-accent)}
.record-card-icon svg{width:18px;height:18px}
.record-card-patients{--record-accent:#278b77;--record-border:#d3e9e2;--record-corner:#e5f4ef;--record-hover:#f6fbf9}
.record-card-claims{--record-accent:#8255cf;--record-border:#e4daf4;--record-corner:#eee8fb;--record-hover:#fbf9fe}
.record-card:hover .record-card-icon{border-color:var(--record-accent)}
.record-card h3,.record-content .record-card h3{margin:0 0 10px;font-size:16px;line-height:1.5;color:#292f39}
.record-card h3 .insurer-lockup{white-space:normal}
.record-card p{margin:0 0 14px;line-height:1.5}
.record-card .value{font-size:26px;margin-top:20px;letter-spacing:-.5px}
.record-card .next{border-top:1px solid #e7ebf2;margin-top:18px;padding-top:15px;font-size:14px;line-height:1.6;color:#727e83}
.record-card-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:var(--record-accent);font-size:13px;font-weight:600}
.record-card-navigation svg{width:15px;height:15px}
.record-links{min-width:0;margin-bottom:22px}
.record-links>.section-title{margin-bottom:12px}
.patient-data-grid>.patient-cases{padding:0}
.record-content .detail-panel,.record-content .side-section,.patient-data-grid>.panel{background:#f8f9fb;border-color:#e7e9ee;box-shadow:none}
.record-content .detail-aside>.record-links{align-self:start}
@media(prefers-reduced-motion:reduce){.record-card{transition:none}}

.claim-card-identity{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.record-content .claim-card-identity h3,.claim-card-identity h3{margin-bottom:4px;font-size:16px;line-height:1.4}
.claim-card-identity>div{min-width:0}.claim-card-identity .pill{flex-shrink:0;margin-top:2px}
.claim-card-amounts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0;padding:16px 0;border-top:1px solid var(--record-border);border-bottom:1px solid var(--record-border)}
.claim-card-amounts .field-label{display:block;margin-bottom:6px}
.claim-card-amounts strong{display:block;font-size:23px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.claim-card-followup p{margin:5px 0 12px;color:#485363;font-size:14px;line-height:1.5}
.claim-card-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.claim-card-meta .owner{font-size:13px}.claim-card-meta .avatar{width:24px;height:24px;min-width:24px;min-height:24px;font-size:12px}
.record-card-claims .record-card-navigation{padding-top:14px;margin-top:14px;border-top:1px solid var(--record-border)}
@media(max-width:480px){.claim-card-identity{flex-wrap:wrap;gap:10px}}
