/* Keep the existing blue/coral identity; make report density fit decisions. */
.period-filterbar{position:sticky;top:0;z-index:20;background:var(--canvas);padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px;gap:10px 16px}
.period-filterbar .scope-note{margin-left:auto;font-size:10px;max-width:330px;line-height:1.5}
.period-filterbar .period-feedback{flex-basis:100%;font-size:10px}
.period-filterbar .control{min-height:38px}
.period-comparison{margin:0 0 12px;gap:8px}.comparison-context{max-width:90ch}
.compact-reports{display:grid;gap:16px;min-width:0}.compact-reports>.panel{margin:0}
.compact-reports .panel{padding:20px;min-width:0}.compact-reports .panel-heading{margin-bottom:16px;gap:12px}
.compact-reports h2{font-size:16px;font-weight:500;margin:0}.compact-reports .panel-subtitle{font-size:11px;margin-top:5px;line-height:1.5}
.compact-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start;min-width:0}
.compact-grid>.panel{margin:0;min-width:0}
.compact-reports .metric-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));margin:0;min-width:0}
.compact-reports>.metric-band{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.compact-reports .metric{padding:16px;min-width:0}.compact-reports .metric-label{min-height:29px;font-size:11px}.compact-reports .metric-value{font-size:26px}.compact-reports .metric-note{margin-top:6px;min-height:0;font-size:10px}
.compact-reports .panel .metric-band{border:0;border-radius:0}.compact-reports .panel .metric:first-child{padding-left:0}.compact-reports .panel .metric:last-child{padding-right:0}
.compact-reports .panel .metric-band:has(>.metric:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.compact-reports .panel .metric-band:has(>.metric:nth-child(4):last-child)>.metric:nth-child(2){border-right:0}.compact-reports .panel .metric-band:has(>.metric:nth-child(4):last-child)>.metric:nth-child(3){padding-left:0}.compact-reports .panel .metric-band:has(>.metric:nth-child(4):last-child)>.metric:nth-child(4){padding-left:16px}
.compact-reports .metric-comparison{min-height:0;margin:5px 0}.compact-reports .comparison-previous{font-size:10px}
.compact-note{font-size:11px;line-height:1.65;color:var(--muted);max-width:90ch;margin:12px 0 0}
.compact-approved{font-size:13px;line-height:1.65;max-width:90ch;margin:12px 0}
.report-details{border-top:1px solid var(--line);padding-top:12px;margin-top:16px;font-size:12px;color:var(--muted);min-width:0}
.report-details>summary{cursor:pointer;color:var(--blue);font-size:11px;line-height:1.6;min-height:24px}.report-details>div{padding:12px 0 0}.report-details .panel{margin:0}
.compact-bars{display:grid;gap:14px}.compact-bar{min-width:0}.compact-bar-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:7px;font-size:12px;line-height:1.5}.compact-bar-caption>span{min-width:0}.compact-bar-caption>strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.compact-bar svg{display:block;width:100%;height:8px}.compact-bar svg[viewBox$="18"]{height:18px}.compact-bar>small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.compact-table th,.compact-table td{padding:11px 9px;font-size:12px;line-height:1.5}.compact-table th:first-child,.compact-table td:first-child{padding-left:0}.compact-table thead th{font-size:10px;color:var(--muted);font-weight:400}.compact-table tbody th{font-weight:400;min-width:170px}.compact-table .numeric{font-variant-numeric:tabular-nums;white-space:nowrap}.row-specialty{display:block;margin:4px 0 0 42px;font-size:10px;color:var(--muted)}
.service-search{display:grid;gap:7px;max-width:450px;font-size:11px;color:var(--muted);margin-bottom:12px}.service-search input{width:100%;caret-color:var(--blue)}
[data-service-table] tbody th{min-width:180px;width:36%;max-width:320px;white-space:normal;overflow-wrap:anywhere}.compact-scroll-hint{display:none}
.compact-sources .compact-source-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.compact-sources .compact-source-total{border-right:1px solid var(--line);padding-right:24px}.compact-source-total strong{display:block;font-size:30px;font-weight:500}.compact-source-total p{font-size:12px;margin:6px 0}.compact-source-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.compact-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;font-size:12px}.compact-source-row svg{grid-column:1/-1;width:100%;height:5px}.compact-sources .status-pill{font-size:10px}
.chair-report.chair-v2 .chair-calendar{padding:12px 16px;margin-bottom:14px}.chair-report.chair-v2 .chair-calendar p span{display:none}.chair-report.chair-v2>.content-stack{gap:16px}.chair-report.chair-v2 .panel{padding:20px}.chair-report.chair-v2 .chair-detail>.content-stack{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;align-items:start}.chair-report.chair-v2 .chair-detail>.content-stack>.report-details{grid-column:1/-1}.chair-report.chair-v2 .chair-detail-selector{padding:8px 0;margin:0 0 12px}.chair-detail-selector p{font-size:10px;max-width:65ch}.chair-report.chair-v2 .table-note,.chair-report.chair-v2 .chart-footer>span{font-size:10px;line-height:1.5}.chair-report.chair-v2 .chair-daily-chart{max-height:220px}.chair-report.chair-v2 .metric-band{margin-bottom:16px}
::selection{background:#cbdff6;color:#07142f}.compact-reports a{ text-underline-offset:3px}.compact-reports :focus-visible{outline:2px solid var(--blue);outline-offset:3px}.compact-reports .table-scroll{scrollbar-color:#aabdd4 transparent;scrollbar-width:thin}
@media(min-width:1500px){.compact-reports>.metric-band .metric-value{font-size:30px}}
@media(max-width:760px){.compact-scroll-hint{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin:8px 0}.compact-reports .panel .metric-band:has(>.metric:nth-child(4):last-child)>.metric:nth-child(3){padding-left:10px}[data-service-table] tbody th{width:190px;min-width:190px;max-width:190px}}
@media(max-width:1000px){.compact-grid{grid-template-columns:1fr}.chair-report.chair-v2 .chair-detail>.content-stack{grid-template-columns:1fr}.compact-sources .compact-source-grid{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.period-filterbar{gap:8px;padding:10px 0}.period-filterbar>.filter-field{flex:1 1 135px!important;min-width:0}.period-filterbar .filter-field.period-controls{width:auto;flex:1 1 100%!important}.period-filterbar .scope-note{display:none}.period-filterbar .period-feedback{line-height:1.4}.period-filterbar .control{min-height:42px;width:100%;font-size:11px}.period-filterbar label{font-size:10px}.period-comparison{font-size:10px}.compact-reports{gap:12px}.compact-reports .panel,.chair-report.chair-v2 .panel{padding:16px}.compact-reports .metric-band,.compact-reports>.metric-band{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-reports .metric{padding:13px 10px}.compact-reports .metric-value{font-size:23px}.compact-reports .metric-label{font-size:10px}.compact-reports .metric:nth-child(odd){padding-left:10px}.compact-reports .metric-note{font-size:10px}.compact-grid{gap:12px}.compact-bar-caption{font-size:11px}.compact-bar-caption>strong{font-size:12px}.compact-table th,.compact-table td{font-size:11px;padding:10px 8px}.compact-sources .compact-source-grid{grid-template-columns:1fr;gap:16px}.compact-sources .compact-source-total{border-right:0;border-bottom:1px solid var(--line);padding:0 0 14px}.compact-source-list{gap:12px 18px}.compact-source-row{font-size:11px}.compact-sources .compact-source-total strong{display:inline;font-size:24px}.compact-sources .compact-source-total p{display:inline;margin-left:8px}}
/* Unified payments and services workspace. */
.finance-report .compact-grid{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr)}
.finance-report .panel-heading{margin-bottom:11px}
.finance-report>.metric-band .metric-label{min-height:0}
.finance-report .chart-wrap{min-height:0}
.finance-report .chart-svg.money-daily-chart{height:188px;min-height:0;max-height:188px}
.finance-report .money-chart-legend{gap:8px 14px;margin-bottom:4px}
.finance-report .money-chart-legend small{font-size:10px}
.finance-report .money-chart-footer>span{display:none}
.finance-report .money-chart-footer{margin-top:2px}
.finance-report .finance-jump{flex:none;min-height:28px;white-space:nowrap}
.finance-report .report-details{margin-top:10px;padding-top:7px}
.finance-report .finance-advance-metrics .metric{display:grid;grid-template-columns:minmax(80px,1fr) auto;align-items:baseline;gap:0 10px;padding:7px 0;border:0;border-bottom:1px solid var(--line)}
.finance-report .finance-advance-metrics .metric:last-child{border:0}
.finance-report .finance-advance-metrics .metric-label{min-height:0;margin:0}
.finance-report .finance-advance-metrics .metric-value{font-size:16px;margin:0;white-space:nowrap}
.finance-report .finance-advance-metrics .metric-value .unit{font-size:11px}
.finance-report .finance-advance-metrics .metric-comparison{grid-column:1/-1;justify-self:end;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 7px;margin:3px 0 0}
.finance-report .finance-advance-metrics .comparison-previous{margin:0}
.finance-report .finance-advance-metrics .metric-note{grid-column:1/-1;text-align:right;margin-top:2px}
.finance-report .finance-advance-metrics .metric-note:empty{display:none}
.finance-report .finance-advance-metrics [data-comparison-cell]:empty{display:none}
.finance-services{display:grid;gap:16px;min-width:0;scroll-margin-top:calc(var(--report-filter-offset, 120px) + 12px)}
.finance-services:focus{outline:none}
.finance-services > .panel{margin:0}
.compact-table .report-number-sort{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font:inherit;white-space:nowrap}
.compact-table .report-number-sort:hover,.compact-table th[aria-sort] .report-number-sort{color:var(--blue)}
.compact-table .report-number-sort span{min-width:.9em;text-align:center}
.dms-doctor-table .dms-sort-groups th[scope="colgroup"]{background:var(--canvas);text-align:center}
.dms-doctor-table :is(tbody,tfoot) td:is(:nth-child(3),:nth-child(6),:nth-child(8)){border-left:1px solid var(--line)}
.dms-doctor-table tfoot{background:var(--canvas);color:var(--navy)}
.dms-doctor-table tfoot :is(th,td){border-top:1px solid var(--line);font-weight:600}
.dms-doctor-table th,.dms-doctor-table td{padding-inline:7px}
.finance-services .finance-direction-change{position:relative}
.finance-services .finance-direction-change .metric-comparison{margin:0}
.finance-services .finance-direction-change .metric-comparison:empty{display:inline}
.finance-services .finance-direction-change .metric-comparison:empty::before{content:'—';color:var(--muted)}
.finance-no-change{color:var(--muted)}
.finance-services .finance-export{flex:none;min-height:36px;white-space:nowrap}
.finance-services .finance-service-facts{margin-bottom:12px}
.finance-report .finance-service-facts .metric-band{grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:8px}
.finance-report .finance-service-facts .metric-band .metric{padding:8px 12px}
.finance-report .finance-service-facts .metric-label{min-height:0;margin:0 0 4px}
.finance-report .finance-service-facts .metric-value{font-size:18px;margin:0}
.finance-report .finance-service-facts .metric-value .unit{font-size:11px}
.finance-service-tools{display:flex;align-items:flex-end;gap:8px 16px;flex-wrap:wrap;margin:15px 0 8px}
.finance-service-tools .service-search{flex:1 1 220px;margin:0}
.finance-service-tools [data-service-count]{font-size:11px;color:var(--muted);padding:0 0 10px}
.finance-services [data-service-table] .table-scroll{max-height:380px;overflow:auto}
.finance-services [data-service-table] thead th{position:sticky;top:0;z-index:1;background:var(--paper)}
.finance-services .compact-table tbody th{color:var(--navy)}
.finance-service-direction{display:block;margin-top:2px;font-size:10px;color:var(--muted)}
@media(max-width:920px){.finance-report .compact-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
  .finance-report>.metric-band .metric-label{min-height:28px}
  .finance-report>.metric-band .metric-value{font-size:clamp(18px,5.6vw,23px)}
  .finance-report .chart-svg.money-daily-chart{height:172px;max-height:172px}
  .finance-report .money-chart-legend{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finance-report .money-chart-legend .legend-item{font-size:10px}
  .finance-report .finance-service-facts .metric-band .metric{padding:8px}
  .finance-report .finance-service-facts .metric-value{font-size:15px;letter-spacing:-.025em}
  .finance-report .finance-service-facts .metric-label{min-height:24px}
  .finance-report .finance-service-facts .metric-band .metric:nth-child(2){border-right:1px solid var(--line)}
  .finance-report .finance-service-facts .metric-band .metric:nth-child(-n+2){border-bottom:0}
  .finance-service-tools [data-service-count]{padding:0}
  .finance-services [data-service-table] tbody th{width:158px;min-width:158px;max-width:158px}
}
@media(max-width:360px){
  .finance-report .finance-service-facts .metric-band{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finance-report .finance-service-facts .metric-band .metric:nth-child(2){border-right:0}
  .finance-report .finance-service-facts .metric-band .metric:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .finance-report .finance-service-facts .metric-band .metric:last-child{grid-column:1/-1}
}
.clinical-list{display:grid;margin:0;font-size:12px}
.clinical-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.clinical-list>div:last-child{border-bottom:0}
.clinical-list dt{color:var(--muted)}
.clinical-list dd{margin:0;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.clinical-subheading{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:12px;font-weight:500}
.clinical-funnel .compact-bars{gap:8px}
.clinical-funnel .compact-bar-caption{margin-bottom:4px}
.clinical-funnel .compact-bar svg{height:5px}
.clinical-visit-chart .chart-wrap{min-height:0}
.clinical-visit-chart .chart-svg{height:clamp(150px,14vw,190px);min-height:0}
.clinical-visit-chart>.legend,.clinical-visit-chart .chart-footer>span{display:none}
.clinical-visit-chart .chart-footer{justify-content:flex-end;margin-top:2px}
