
/* V18.1 accessible application-wide display sizes. Loaded last to override legacy fixed pixel sizes. */
html[data-display-size="standard"]{--hcp-text:15px;--hcp-label:15px;--hcp-small:14px;--hcp-heading:24px;--hcp-section:19px;--hcp-control:46px;--hcp-gap:16px}
html[data-display-size="comfortable"],html:not([data-display-size]){--hcp-text:16px;--hcp-label:16px;--hcp-small:14px;--hcp-heading:26px;--hcp-section:20px;--hcp-control:50px;--hcp-gap:20px}
html[data-display-size="large"]{--hcp-text:18px;--hcp-label:18px;--hcp-small:16px;--hcp-heading:29px;--hcp-section:23px;--hcp-control:56px;--hcp-gap:24px}
html{font-size:var(--hcp-text)!important}
body.enterprise-shell,body.enterprise-shell p,body.enterprise-shell li,body.enterprise-shell .message{font-size:var(--hcp-text)!important;line-height:1.55}
body.enterprise-shell .enterprise-nav a,body.enterprise-shell .topbar-heading,body.enterprise-shell .user-name,body.enterprise-shell .signout-button,body.enterprise-shell .quick a,body.enterprise-shell .receipt-actions a{font-size:var(--hcp-text)!important}
body.enterprise-shell .sidebar-group-label,body.enterprise-shell .brand-caption,body.enterprise-shell .brand-caption small,body.enterprise-shell .sidebar-bottom,body.enterprise-shell .enterprise-content footer,body.enterprise-shell .eyebrow,body.enterprise-shell .pill,body.enterprise-shell .metric span,body.enterprise-shell .receipt-metric small,body.enterprise-shell .receipt-note,body.enterprise-shell .section-header p,body.enterprise-shell .field-grid .helptext,body.enterprise-shell .muted,body.enterprise-shell small{font-size:var(--hcp-small)!important;line-height:1.5}
body.enterprise-shell .heading h1,body.enterprise-shell .receipt-hero h1{font-size:var(--hcp-heading)!important;line-height:1.3}
body.enterprise-shell h2,body.enterprise-shell .panel-head h2,body.enterprise-shell .section-header h2,body.enterprise-shell .receipt-card h2{font-size:var(--hcp-section)!important}
body.enterprise-shell th,body.enterprise-shell td,body.enterprise-shell table th,body.enterprise-shell table td{font-size:var(--hcp-text)!important;line-height:1.5;white-space:normal;overflow-wrap:break-word}
body.enterprise-shell .form label,body.enterprise-shell .receipt-field label,body.enterprise-shell .login label,body.enterprise-shell label{font-size:var(--hcp-label)!important;line-height:1.45}
body.enterprise-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.enterprise-shell select,body.enterprise-shell textarea,body.enterprise-shell .form input,body.enterprise-shell .form select,body.enterprise-shell .form textarea,body.enterprise-shell .receipt-field input,body.enterprise-shell .receipt-field select,body.enterprise-shell .receipt-field textarea{font-family:inherit;font-size:var(--hcp-text)!important;min-height:var(--hcp-control);line-height:1.45;padding:10px 13px}
body.enterprise-shell button,body.enterprise-shell .primary,body.enterprise-shell .button,body.enterprise-shell .secondary-action,body.enterprise-shell .danger,body.enterprise-shell .signout-button{font-family:inherit;font-size:var(--hcp-text)!important;min-height:var(--hcp-control);line-height:1.4}
body.enterprise-shell .field-grid,body.enterprise-shell .receipt-grid{gap:var(--hcp-gap)!important}
body.enterprise-shell .invoice-enterprise .invoice-line{gap:var(--hcp-gap)}
body.enterprise-shell .panel,body.enterprise-shell .enterprise-form{overflow-x:auto}
body.enterprise-shell table{min-width:680px}
body.enterprise-shell .receipt-metric strong,body.enterprise-shell .metric strong{font-size:calc(var(--hcp-heading) + 2px)!important}
.display-size-control{display:flex;align-items:center;gap:8px;white-space:nowrap}
.display-size-control label{font-size:var(--hcp-small)!important;color:var(--ink);font-weight:650}
body.enterprise-shell .display-size-control select{width:auto;max-width:220px;min-height:40px;padding:7px 10px;border:1px solid #A6B6C6;border-radius:8px;background:#fff;color:var(--ink);font-size:var(--hcp-small)!important}
@media(max-width:1100px){.display-size-control{flex-wrap:wrap;gap:3px}.display-size-control label{display:none}}
@media(max-width:700px){.display-size-control select{max-width:135px}.topbar-heading{display:none}.enterprise-topbar{padding:0 10px;gap:6px}.topbar-right{gap:6px}.user-name{display:none}}
@media print{.display-size-control{display:none!important}}
