/* HealthcarePro Finance V19 — Premium Enterprise Experience.
   Presentation-only layer; V18.1 user-selectable sizing remains authoritative. */
:root{--v19-navy:#1b344d;--v19-ink:#243746;--v19-muted:#526477;--v19-bg:#f7f9fc;--v19-border:#dfe6ee;--v19-red:#b92f38;--v19-green:#17745e;--v19-amber:#a56620;--v19-shadow:0 3px 18px rgba(27,52,77,.045)}
body.enterprise-shell{background:var(--v19-bg);color:var(--v19-ink);font-family:Inter,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.enterprise-shell .enterprise-content{background:var(--v19-bg)}
body.enterprise-shell .enterprise-topbar{background:rgba(255,255,255,.97);border-bottom:1px solid var(--v19-border)}
body.enterprise-shell .topbar-heading{color:var(--v19-navy);font-weight:650}
body.enterprise-shell .enterprise-sidebar{background:var(--v19-navy)}
body.enterprise-shell .enterprise-nav a{border-radius:10px;line-height:1.5;transition:background-color .15s ease}
body.enterprise-shell .enterprise-nav a:focus-visible,body.enterprise-shell a:focus-visible,body.enterprise-shell button:focus-visible,body.enterprise-shell input:focus-visible,body.enterprise-shell select:focus-visible,body.enterprise-shell textarea:focus-visible{outline:3px solid #4279b3!important;outline-offset:3px}
body.enterprise-shell h1,body.enterprise-shell h2,body.enterprise-shell h3{color:var(--v19-navy);letter-spacing:-.015em}
body.enterprise-shell .muted,body.enterprise-shell .eyebrow{color:var(--v19-muted)}
body.enterprise-shell .panel,body.enterprise-shell .metric,body.enterprise-shell .receipt-card,body.enterprise-shell .enterprise-form,body.enterprise-shell .fa-card,body.enterprise-shell .fa-panel{background:#fff;border:1px solid var(--v19-border);border-radius:14px;box-shadow:var(--v19-shadow)}
body.enterprise-shell .metric{position:relative;overflow:hidden;min-height:130px}
body.enterprise-shell .metric::before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:4px;background:#b8c9d8}
body.enterprise-shell .metric span{color:var(--v19-muted);font-weight:600}
body.enterprise-shell .metric strong,body.enterprise-shell .fa-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.025em;color:var(--v19-navy);overflow-wrap:anywhere}
body.enterprise-shell .cards{gap:18px}
body.enterprise-shell .heading{gap:18px}
body.enterprise-shell table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
body.enterprise-shell table thead th{background:#f1f5f9;color:#334a5d;font-weight:700;letter-spacing:0;text-transform:none;border-bottom:1px solid #cdd9e4}
body.enterprise-shell table tbody tr:nth-child(even){background:#fbfcfe}
body.enterprise-shell table tbody tr:hover{background:#eef4fa}
body.enterprise-shell table th,body.enterprise-shell table td{padding:13px 15px;vertical-align:middle;border-bottom:1px solid #e7edf3}
body.enterprise-shell .hcp-table-scroll{overflow-x:auto;max-width:100%;border-radius:10px;scrollbar-color:#9eb0c2 #f2f5f9}
body.enterprise-shell .hcp-table-scroll table{width:100%}
body.enterprise-shell input:not([type=checkbox]):not([type=radio]),body.enterprise-shell textarea,body.enterprise-shell select{border-color:#a8b9c9;background:#fff;color:var(--v19-ink);border-radius:9px}
body.enterprise-shell input::placeholder,body.enterprise-shell textarea::placeholder{color:#627588;opacity:1}
body.enterprise-shell label{color:var(--v19-ink);font-weight:600}
body.enterprise-shell .primary,body.enterprise-shell .button.primary{background:var(--v19-red);border-color:var(--v19-red);color:#fff;border-radius:9px}
body.enterprise-shell .primary:hover,body.enterprise-shell .button.primary:hover{background:#98232d}
body.enterprise-shell .fa-muted,body.enterprise-shell .fa-note,body.enterprise-shell .fa-panel p,body.enterprise-shell .fa-card small,body.enterprise-shell .fa-card .fa-sub{color:var(--v19-muted)!important}
body.enterprise-shell .fa-filters label,body.enterprise-shell .fa-legend,body.enterprise-shell .fa-month,body.enterprise-shell .fa-age-label,body.enterprise-shell .fa-panel p,body.enterprise-shell .fa-card small,body.enterprise-shell .fa-card .fa-sub,body.enterprise-shell .fa-note{font-size:var(--hcp-small)!important;line-height:1.5}
body.enterprise-shell .fa-card strong{font-size:calc(var(--hcp-heading) - 1px)!important}
body.enterprise-shell .fa-table th,body.enterprise-shell .fa-table td{font-size:var(--hcp-text)!important;white-space:normal}
body.enterprise-shell .fa-table td:not(:first-child),body.enterprise-shell .fa-table th:not(:first-child){text-align:right;white-space:nowrap}
body.enterprise-shell .fa-billing{background:#9eafc0}.fa-approved{background:#4579a8}.fa-cash{background:#17745e}
body.enterprise-shell .fa-track{height:10px;border-radius:6px;background:#edf2f7}
body.enterprise-shell .fa-fill{border-radius:6px}
body.enterprise-shell .fa-progress>span{background:var(--v19-green)}
body.enterprise-shell .fa-filters button{background:var(--v19-navy);border-radius:9px}
body.enterprise-shell .fa-grid{gap:20px}
body.enterprise-shell .fa-panel{padding:24px}
body.enterprise-shell .fa-month{grid-template-columns:90px 1fr;gap:14px;margin:15px 0}
body.enterprise-shell .fa-age{margin:19px 0}
body.enterprise-shell .fa-age-label{gap:12px}
body.enterprise-shell .pill{font-weight:650}
body.enterprise-shell .enterprise-content footer{color:var(--v19-muted)}
.hcp-skip-link{position:absolute;left:12px;top:-80px;background:#fff;color:#18324b;padding:12px 18px;z-index:9999;border:2px solid #18324b;border-radius:8px}
.hcp-skip-link:focus{top:10px}
.hcp-dashboard-intro{display:flex;align-items:center;gap:12px;margin:10px 0 22px;padding:15px 18px;background:#eef4f8;border:1px solid #d8e5ed;border-radius:12px;color:#243746}
.hcp-dashboard-intro svg{width:23px;height:23px;flex-shrink:0;color:#17745e}
.hcp-dashboard-intro strong{font-weight:700}
.hcp-dashboard-section{margin:24px 0 12px;color:#1b344d;font-size:var(--hcp-section);font-weight:700}
.hcp-kpi-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:16px 0 24px}
.hcp-kpi{background:#fff;border:1px solid #dfe6ee;border-radius:14px;padding:22px;box-shadow:var(--v19-shadow);min-width:0}
.hcp-kpi .hcp-kpi-label{display:block;color:#526477;font-size:var(--hcp-small);font-weight:650;margin-bottom:10px}
.hcp-kpi .hcp-kpi-value{display:block;color:#1b344d;font-size:calc(var(--hcp-heading) + 1px);font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.25}
.hcp-kpi .hcp-kpi-detail{display:block;color:#526477;font-size:var(--hcp-small);margin-top:9px}
.hcp-kpi.hcp-kpi-positive{border-top:3px solid #17745e}.hcp-kpi.hcp-kpi-attention{border-top:3px solid #a56620}.hcp-kpi.hcp-kpi-neutral{border-top:3px solid #8da8bd}
.hcp-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px;align-items:start;margin:20px 0}
.hcp-dashboard-grid .panel{min-width:0;margin:0}
.hcp-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}
.hcp-quick-actions a{display:inline-flex;align-items:center;padding:12px 17px;background:#fff;border:1px solid #d2dce6;border-radius:9px;text-decoration:none;color:#1b344d;font-weight:650}
.hcp-quick-actions a:hover{background:#eef4f8}
@media(max-width:1050px){.hcp-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:700px){.hcp-kpi-group{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.hcp-kpi{padding:16px}body.enterprise-shell .fa-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.hcp-skip-link{display:none}body.enterprise-shell .panel,body.enterprise-shell .metric,body.enterprise-shell .hcp-kpi{box-shadow:none}}
