/* HealthcarePro Finance V18 — Soft Enterprise Professional */
:root{--navy:#18324B;--navy-deep:#142A40;--brand-red:#C52E35;--brand-red-hover:#AA252C;--blue:#315D82;--ink:#263746;--muted:#526477;--line:#DEE5EC;--bg:#F6F8FB;--white:#FFFFFF;--success:#168A75;--warning:#AD741E;--shadow:0 3px 16px rgba(24,50,75,.045)}
html{font-size:16px}body.enterprise-shell{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.55;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}body.enterprise-shell p{line-height:1.6}body.enterprise-shell .muted,body.enterprise-shell .receipt-note{color:var(--muted)}
.enterprise-sidebar{background:var(--navy-deep);box-shadow:3px 0 15px rgba(24,50,75,.06)}.enterprise-brand{min-height:145px;padding:20px 16px}.enterprise-nav a{font-size:14px;font-weight:550;line-height:1.4;padding:12px 14px;color:#E1EAF3!important}.enterprise-nav a:hover,.enterprise-nav a.active{background:#FFFFFF20}.sidebar-group-label{font-size:11px;color:#C0D0DE;letter-spacing:1.25px}.brand-caption{font-size:12px}.brand-caption small{font-size:11px;color:#D1DFEA}.sidebar-bottom{font-size:12px;color:#C9D7E4}
.enterprise-topbar{height:70px;padding:0 30px;background:#FFF}.topbar-heading{font-size:15px;font-weight:650}.user-name{font-size:14px}.signout-button{font-size:13px}.enterprise-content main{max-width:1600px;padding:30px 32px 48px}.enterprise-content footer{font-size:12px;color:var(--muted)}
.heading{margin-bottom:24px}.heading h1{font-size:26px;line-height:1.3;letter-spacing:-.45px;font-weight:720;color:var(--navy)}.heading .muted{font-size:15px}.eyebrow{color:#9C2830;font-size:12px;letter-spacing:1.25px;font-weight:750}
.panel,.card,.metric,.receipt-card{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.panel{padding:26px}.metric{padding:22px}.metric:before{background:#C52E35;height:2px}.metric span{font-size:14px;color:var(--muted)}.metric strong{font-size:27px;font-weight:700;color:var(--navy)}.panel-head h2,h2{font-size:19px;color:var(--navy)}
body.enterprise-shell th{background:#F2F5F9;color:#334B61;font-size:13px;font-weight:700;letter-spacing:0;text-transform:none;padding:14px 12px;text-align:left}body.enterprise-shell td{font-size:14px;color:var(--ink);padding:14px 12px;line-height:1.5}body.enterprise-shell tbody tr:hover td{background:#F7FAFC}body.enterprise-shell td,body.enterprise-shell th{font-variant-numeric:tabular-nums}body.enterprise-shell a{color:#245B83}body.enterprise-shell a:hover{color:#173E5D}
body.enterprise-shell .primary,body.enterprise-shell .button{background:var(--brand-red);color:#fff!important;border-radius:9px;min-height:44px;font-size:14px;font-weight:650;box-shadow:none;border:1px solid var(--brand-red);padding:10px 17px}body.enterprise-shell .primary:hover,body.enterprise-shell .button:hover{background:var(--brand-red-hover);border-color:var(--brand-red-hover)}.secondary-action{background:#FFF;border:1px solid #BCCAD7;color:var(--navy)!important;font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:10px 17px;box-sizing:border-box}.secondary-action:hover{background:#F3F7FA}
body.enterprise-shell .form label,body.enterprise-shell .receipt-field label{font-size:14px;color:var(--ink);font-weight:650;line-height:1.45}body.enterprise-shell .form input:not([type=checkbox]),body.enterprise-shell .form select,body.enterprise-shell .form textarea,body.enterprise-shell .search input,body.enterprise-shell .search select,body.enterprise-shell .actions input,body.enterprise-shell .login input,body.enterprise-shell .receipt-field input,body.enterprise-shell .receipt-field select,body.enterprise-shell .receipt-field textarea{font-family:inherit;font-size:15px;color:var(--ink);background:#FFF;min-height:46px;border:1px solid #B9C8D6;border-radius:9px;padding:10px 13px;line-height:1.4;box-sizing:border-box;max-width:100%}body.enterprise-shell input::placeholder,body.enterprise-shell textarea::placeholder{color:#66798B;opacity:1}body.enterprise-shell input:focus-visible,body.enterprise-shell select:focus-visible,body.enterprise-shell textarea:focus-visible,body.enterprise-shell button:focus-visible,body.enterprise-shell a:focus-visible{outline:3px solid #85B5D6;outline-offset:2px;box-shadow:none}body.enterprise-shell input:disabled{background:#F0F3F6;color:#536578}
.enterprise-form{max-width:1450px;padding:30px 34px}.section-header{gap:13px;margin:8px 0 24px;padding-bottom:15px}.section-header h2{font-size:19px;font-weight:700}.section-header p{font-size:14px;color:var(--muted)}.step-number{background:#F8E8E8;color:#A62D35;border-radius:10px;width:40px;height:40px;flex-basis:40px}.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 22px;margin-bottom:32px}.field-grid>p{gap:8px}.field-grid .helptext{font-size:13px;color:var(--muted)}.field-grid>p:has(textarea),.field-grid>p:has(input[type=file]){grid-column:span 2}.form-actions{justify-content:flex-end;gap:12px;margin-top:22px;padding-top:20px}.invoice-enterprise .invoice-line{background:#FAFCFE;border-color:var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:22px}.invoice-enterprise .invoice-line>p:has(textarea){grid-column:span 2}.invoice-enterprise #invoice-lines{gap:14px}.line-form{background:#FAFCFE;border:1px solid var(--line)}
.receipt-hero{background:#EAF1F6!important;color:var(--navy)!important;border:1px solid var(--line);border-radius:13px!important;padding:26px 30px!important}.receipt-hero h1{color:var(--navy)!important;font-size:26px!important}.receipt-hero p{color:var(--muted)!important;font-size:15px}.receipt-hero>div{color:#9C2830!important}.receipt-wrap{max-width:1400px}.receipt-card{box-shadow:var(--shadow)!important;padding:26px!important}.receipt-card h2{color:var(--navy)!important;font-size:19px!important}.receipt-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}.receipt-metric{background:#F3F7FA!important;border:1px solid var(--line);padding:18px!important}.receipt-metric small{font-size:13px;color:var(--muted)!important}.receipt-metric strong{color:var(--navy)!important;font-size:23px!important}.receipt-metric.highlight{background:#EAF5F1!important}.receipt-metric.highlight strong{color:#176C53!important}.receipt-field label{font-size:14px!important;color:var(--ink)!important}.receipt-field input,.receipt-field select,.receipt-field textarea{font-size:15px!important;border-color:#B9C8D6!important}.receipt-note{font-size:14px!important}.receipt-actions a{font-size:14px}
.login{max-width:480px;border:1px solid var(--line);border-radius:14px;padding:40px}.guest-shell{background:#F6F8FB}.guest-header{border-bottom:1px solid var(--line)}.pill{font-size:12px;font-weight:650}.quick a{font-size:14px}.audit-toolbar p{font-size:14px}
@media(max-width:1180px){.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-enterprise .invoice-line{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){.enterprise-content main{padding:24px 18px}.enterprise-form{padding:22px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-enterprise .invoice-line{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.enterprise-content main{padding:20px 12px}.field-grid,.invoice-enterprise .invoice-line,.receipt-grid{grid-template-columns:1fr!important}.field-grid>p:has(textarea),.field-grid>p:has(input[type=file]),.invoice-enterprise .invoice-line>p:has(textarea){grid-column:auto}.enterprise-form,.receipt-card{padding:18px!important}.heading h1,.receipt-hero h1{font-size:23px!important}.form-actions{justify-content:stretch;flex-wrap:wrap}.form-actions>*{flex:1;justify-content:center}.receipt-metrics{grid-template-columns:1fr!important}.topbar-heading{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.enterprise-sidebar,.enterprise-topbar,.enterprise-content footer{display:none!important}.enterprise-content{margin:0!important}.enterprise-content main{padding:0!important}.panel,.card,.metric{box-shadow:none!important}}
