/* Lighthouse Concept V2 pp16–18. RGB approximations from supplied p11.
 * Shared patient/staff presentation layer. No visibility, permission or workflow rules.
 * Existing document/PDF canvases retain their own paper and rendered content.
 */
@font-face{font-family:"Cooper Hewitt";src:url('../fonts/cooper-hewitt/cooper-hewitt-heavy.otf') format('opentype');font-weight:800;font-display:swap}
@font-face{font-family:"Violet Sans";src:url('../fonts/violet-sans/violet-sans-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('../fonts/inter/Inter-VariableFont.ttf') format('truetype');font-weight:100 900;font-display:swap}
body.lh-brand{
 --lh-brand-green:#122626;--lh-brand-lime:#d4ff80;--lh-brand-text:#ffffff;--lh-brand-muted:#ffffff;--lh-brand-line:#72894e;--lh-brand-line-soft:#425740;--lh-brand-panel:#19312f;
 --lh-lime:var(--lh-brand-lime);--lh-ink:var(--lh-brand-green);--lh-paper:var(--lh-brand-green);
 --bs-body-bg:var(--lh-brand-green);--bs-body-bg-rgb:18,38,38;--bs-body-color:var(--lh-brand-text);--bs-body-color-rgb:255,255,255;
 --bs-emphasis-color:var(--lh-brand-text);--bs-secondary-color:var(--lh-brand-muted);--bs-secondary-color-rgb:255,255,255;
 --bs-tertiary-color:#b1c1b4;--bs-secondary-bg:#19312f;--bs-tertiary-bg:#203b35;--bs-border-color:var(--lh-brand-line-soft);
 --bs-heading-color:var(--lh-brand-lime);--bs-link-color:var(--lh-brand-lime);--bs-link-hover-color:#e7ffb6;
 --bs-primary:var(--lh-brand-lime);--bs-primary-rgb:212,255,128;--bs-light-rgb:25,49,47;
 --bs-success-text-emphasis:var(--lh-brand-text);--bs-success-bg-subtle:var(--lh-brand-green);--bs-success-border-subtle:var(--lh-brand-line);
 --bs-danger-text-emphasis:var(--lh-brand-text);--bs-danger-bg-subtle:var(--lh-brand-green);--bs-danger-border-subtle:var(--lh-brand-line);
 --bs-warning-text-emphasis:var(--lh-brand-text);--bs-warning-bg-subtle:var(--lh-brand-green);--bs-warning-border-subtle:var(--lh-brand-line);
 --bs-info-text-emphasis:var(--lh-brand-text);--bs-info-bg-subtle:var(--lh-brand-green);--bs-info-border-subtle:var(--lh-brand-line);
 font-family:Inter,system-ui,sans-serif;background:var(--lh-brand-green);color:var(--lh-brand-text);color-scheme:dark;
}
.lh-brand h1,.lh-brand .page-header__title,.lh-brand .dash-page-head__title{font-family:"Cooper Hewitt",Inter,sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:-.025em;line-height:1.1;color:var(--lh-brand-lime)}
.lh-brand h2,.lh-brand h3,.lh-brand h4{font-family:"Violet Sans",Inter,sans-serif;font-weight:400;color:var(--lh-brand-lime)}
.lh-brand :is(.app-content,.app-main,.portal-shell,.program-page-section,.app-footer,.app-topbar,.app-chrome,.app-nav,.app-sidebar,.app-sidebar__inner,.app-offcanvas,.offcanvas-body){background:var(--lh-brand-green);color:var(--lh-brand-text);box-shadow:none}
.lh-brand :is(.app-content,.app-main,.portal-shell,.blood-results){min-width:0;max-width:100%}
.lh-brand.app-body .app-content{width:100%}
.lh-brand :is(.app-topbar,.app-nav,.app-sidebar,.app-footer){border-color:var(--lh-brand-line-soft)}
.lh-brand .app-sidebar__brand{justify-content:center;border-bottom:1px solid var(--lh-brand-line)}
.lh-brand .app-sidebar__brand-left{justify-content:center;width:100%}
.lh-brand .app-sidebar__logo{max-width:100%;height:auto}
.lh-brand :is(.app-nav__link,.app-nav__header,.app-nav__header-btn,.app-topbar__greeting,.app-topbar__hamburger,.app-nav__close){color:var(--lh-brand-lime)}
.lh-brand .app-nav__link{border:1px solid transparent;border-radius:999px}
.lh-brand .app-nav__link:hover{background:#253f33;border-color:var(--lh-brand-line)}
.lh-brand .app-nav__link:is(.active,.is-active){background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime)}
.lh-brand :is(.app-nav__badge,.app-avatar,.app-topbar__avatar,.tb-drop__avatar){background:var(--lh-brand-lime);color:var(--lh-brand-green)}
.lh-brand :is(.app-nav__cta-btn,.dash-btn--primary){background:var(--lh-brand-lime);color:var(--lh-brand-green);border:1px solid var(--lh-brand-lime);border-radius:999px}
.lh-brand :is(.btn-primary,.btn-outline-primary,.btn-outline-secondary,.btn-ghost){border-radius:999px}
.lh-brand .btn-primary{--bs-btn-bg:#d4ff80;--bs-btn-color:#122626;--bs-btn-border-color:#d4ff80;--bs-btn-hover-bg:#e7ffb6;--bs-btn-hover-color:#122626;--bs-btn-hover-border-color:#e7ffb6;--bs-btn-active-bg:#e7ffb6;--bs-btn-active-color:#122626;--bs-btn-active-border-color:#e7ffb6;--bs-btn-disabled-bg:#a5bb7d;--bs-btn-disabled-color:#122626;--bs-btn-disabled-border-color:#a5bb7d}
.lh-brand :is(.btn-outline-primary,.btn-outline-secondary,.btn-ghost){--bs-btn-color:#d4ff80;--bs-btn-bg:transparent;--bs-btn-border-color:#72894e;--bs-btn-hover-bg:#d4ff80;--bs-btn-hover-color:#122626;--bs-btn-hover-border-color:#d4ff80;--bs-btn-active-bg:#d4ff80;--bs-btn-active-color:#122626;--bs-btn-disabled-color:#93a283;--bs-btn-disabled-border-color:#425740}
.lh-brand .dash-btn--outline{border:1px solid var(--lh-brand-line);color:var(--lh-brand-lime);background:transparent;border-radius:999px}
.lh-brand :is(.card,.lh-card,.lh-tile,.app-panel,.app-welcome,.app-card,.dash-program-card,.dash-card,.dash-status-box,.program-card,.program-page-card,.prof-card,.docs-card,.appointments-card,.transactions-card,.blood-results__overview,.blood-results__category){background:transparent;color:var(--lh-brand-text);border:0;border-top:1px solid var(--lh-brand-line);border-bottom:1px solid var(--lh-brand-line-soft);border-radius:0;box-shadow:none}
.lh-brand :is(.card-header,.card-footer,.app-card__head,.app-card__foot,.dash-program-head,.program-care-plan-doc__head,.blood-results__category header){background:transparent;color:var(--lh-brand-lime);border-color:var(--lh-brand-line-soft)}
.lh-brand :is(.dash-action-banner,.dash-action-inner,.dash-shipment-summary,.program-doctor-consult-card__when-card,.program-scheduling-outreach-card__inner){background:var(--lh-brand-panel);color:var(--lh-brand-text);box-shadow:none;border-radius:0;border-color:var(--lh-brand-line)}
.lh-brand :is(.dash-page-head__accent,.dash-program-title,.dash-status-title,.dash-action-title,.program-care-plan-doc__title,.program-doctor-consult-card__head-title,.program-scheduling-outreach-card__head-title){color:var(--lh-brand-lime)}
.lh-brand :is(.dash-page-head__sub,.dash-status-desc,.dash-status-label,.dash-action-desc,.programs-page__subtitle,.program-care-plan-page__sub,.program-doctor-consult-card__head-sub,.program-scheduling-outreach-card__head-sub,.page-header__subtitle,.app-clock,.blood-results__detail,.blood-results__status,.blood-results__baseline,.blood-results__axis,.blood-results__stats span){color:var(--lh-brand-muted)}
.lh-brand :is(.table,.app-table,.lh-table){--bs-table-color:#ffffff;--bs-table-bg:transparent;--bs-table-border-color:#425740;--bs-table-striped-bg:#19312f;--bs-table-striped-color:#ffffff;--bs-table-hover-bg:#294333;--bs-table-hover-color:#ffffff;--bs-table-active-bg:#294333;--bs-table-active-color:#ffffff;color:var(--lh-brand-text);border-color:var(--lh-brand-line-soft)}
.lh-brand :is(.table,.app-table,.lh-table) th{background:var(--lh-brand-green);color:var(--lh-brand-muted);border-color:var(--lh-brand-line)}
.lh-brand :is(.table,.app-table,.lh-table) td{border-color:var(--lh-brand-line-soft)}
.lh-brand :is(.form-control,.form-select,.input-group-text,.alerts-input,.alerts-textarea,.searchable-select__input){background-color:#19312f;color:var(--lh-brand-text);border-color:var(--lh-brand-line);color-scheme:dark}
.lh-brand :is(.form-control,.form-select):focus{background-color:#19312f;color:var(--lh-brand-text);border-color:var(--lh-brand-lime);box-shadow:0 0 0 .2rem #d4ff8030}
.lh-brand :is(.form-control,.alerts-input,.alerts-textarea)::placeholder{color:#afbdac;opacity:1}
.lh-brand :is(.form-control,.form-select):disabled{background:#263b36;color:#b2bcae;opacity:.8}
.lh-brand .form-control[readonly]{background:#20342f;color:var(--lh-brand-muted)}
.lh-brand .form-check-input{background-color:#19312f;border-color:#91ac62}
.lh-brand .form-check-input:checked{background-color:#d4ff80;border-color:#d4ff80}
.lh-brand .form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23122626' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}
.lh-brand :is(.dropdown-menu,.tb-drop__menu,.app-user-menu,.modal-content,.alerts-modal,.offcanvas,.searchable-select__menu){background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line);box-shadow:0 12px 35px #0005}
.lh-brand :is(.dropdown-item,.tb-drop__item,.tb-notif-item,.app-user-menu__name,.tb-drop__name,.alerts-title){color:var(--lh-brand-text)}
.lh-brand :is(.dropdown-item,.tb-drop__item,.tb-notif-item):hover{background:#294333;color:var(--lh-brand-lime)}
.lh-brand :is(.app-user-menu__head,.tb-drop__header,.modal-header,.modal-footer){background:transparent;border-color:var(--lh-brand-line-soft)}
.lh-brand :is(.tb-drop__email,.app-user-menu__email,.alerts-text,.form-text){color:var(--lh-brand-muted)}
.lh-brand .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}
.lh-brand .nav-tabs{border-color:var(--lh-brand-line)}
.lh-brand :is(.nav-tabs,.nav-pills) .nav-link{color:var(--lh-brand-lime);border-radius:999px}
.lh-brand :is(.nav-tabs,.nav-pills) .nav-link.active{color:var(--lh-brand-green);background:var(--lh-brand-lime);border-color:var(--lh-brand-lime)}
.lh-brand .page-link{color:var(--lh-brand-lime);background:var(--lh-brand-green);border-color:var(--lh-brand-line)}
.lh-brand .active>.page-link{color:var(--lh-brand-green);background:var(--lh-brand-lime)}
.lh-brand .accordion{--bs-accordion-bg:#122626;--bs-accordion-color:#ffffff;--bs-accordion-border-color:#425740;--bs-accordion-btn-color:#d4ff80;--bs-accordion-btn-bg:#122626;--bs-accordion-active-color:#d4ff80;--bs-accordion-active-bg:#19312f}
.lh-brand .accordion-button::after{filter:brightness(0) invert(1)}
.lh-brand :is(.text-muted,.text-secondary){color:var(--lh-brand-muted)!important}
.lh-brand :is(.text-dark,.text-body){color:var(--lh-brand-text)!important}
.lh-brand .bg-white,.lh-brand .bg-light{background-color:var(--lh-brand-panel)!important}
.lh-brand :is(.text-danger,.text-warning,.text-success,.text-info){color:var(--lh-brand-lime)!important}
/* One brand palette; status wording and emphasis carry meaning without colour coding. */
.lh-brand :is(.alert,.lh-alert--error,.lh-alert--success,.lh-alert--info){background:var(--lh-brand-green);color:var(--lh-brand-text);border:1px solid var(--lh-brand-line);box-shadow:none}
.lh-brand :is(.alert-danger,.alert-warning,.lh-alert--error){border-left:4px solid var(--lh-brand-lime)}
.lh-brand .alert-link{color:var(--lh-brand-lime)}
.lh-brand :is(.badge,.text-bg-success,.text-bg-warning,.text-bg-danger,.text-bg-info,.text-bg-primary,.bg-success,.bg-warning,.bg-danger,.bg-info){background-color:var(--lh-brand-lime)!important;color:var(--lh-brand-green)!important}
.lh-brand :is(.border-success,.border-warning,.border-danger,.border-info){border-color:var(--lh-brand-lime)!important}
.lh-brand :is(.btn-success,.btn-warning,.btn-danger,.btn-info){--bs-btn-bg:var(--lh-brand-lime);--bs-btn-color:var(--lh-brand-green);--bs-btn-border-color:var(--lh-brand-lime);--bs-btn-hover-bg:var(--lh-brand-lime);--bs-btn-hover-color:var(--lh-brand-green);--bs-btn-hover-border-color:var(--lh-brand-lime);--bs-btn-active-bg:var(--lh-brand-lime);--bs-btn-active-color:var(--lh-brand-green);--bs-btn-active-border-color:var(--lh-brand-lime);border-radius:999px}
.lh-brand :is(.invalid-feedback,.valid-feedback){color:var(--lh-brand-lime)}
.lh-brand :is(.form-control,.form-select):is(.is-invalid,.is-valid){border-color:var(--lh-brand-lime);background-image:none}

.lh-brand .blood-results{color:var(--lh-brand-text)}
.lh-brand .blood-results__notice{background:var(--lh-brand-panel);color:var(--lh-brand-muted);border:1px solid var(--lh-brand-line-soft);border-radius:0}
.lh-brand :is(.blood-results__marker,.blood-results__range,.blood-results__trend){border-color:var(--lh-brand-line-soft)}
.lh-brand .blood-results__chips a{color:var(--lh-brand-lime);border-color:var(--lh-brand-line)}
.lh-brand .blood-results__sparkline{color:var(--lh-brand-lime)}
.lh-brand .blood-results__target-note{background:var(--lh-brand-green);color:var(--lh-brand-text);border-left:4px solid var(--lh-brand-lime);border-radius:0}
.lh-brand .blood-results__track{background:#284237}.lh-brand .blood-results__band{background:#627e3b}.lh-brand .blood-results__point{border-color:var(--lh-brand-lime)}
.lh-brand :is(.portal-card,.portal-panel,.portal-auth-card){background:var(--lh-brand-green);color:var(--lh-brand-text);border-color:var(--lh-brand-line);box-shadow:none}
.lh-brand .portal-bg__overlay{background:#122626e8}
.lh-brand .portal-loader{background:var(--lh-brand-green)}
.lh-brand .portal-loader__text{color:var(--lh-brand-lime)}
.lh-brand :is(.login-panel,.login-panel__login-page,.login-panel__login-wrap,.login-panel__login-card){background:var(--lh-brand-green);color:var(--lh-brand-text);border-color:var(--lh-brand-line);box-shadow:none}
.lh-brand :is(.login-panel__headline,.login-panel__login__headline){color:var(--lh-brand-lime);font-family:"Cooper Hewitt",Inter,sans-serif}
.lh-brand :is(.login-panel__subline,.login-help,.login-divider,.login-panel__login__subline,.login-mobile-footer__copyright,.login-hero__copyright){color:var(--lh-brand-muted)}
.lh-brand :is(.login-toggle,.login-forgot,.login-panel__login-forgot){color:var(--lh-brand-lime)}
.lh-brand .btn-lime{background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime);border-radius:999px}
.lh-brand.dashboard-page :is(.dash-panel,.dash-program-card,.dash-status-box--next,.dash-action-banner,.dash-action-inner--shipment,.dash-shipment-summary),
.lh-brand.profile-page :is(.prof-card,.prof-tabs),
.lh-brand.program-page :is(.program-doctor-consult-card__inner,.program-scheduling-outreach-card__inner){background:var(--lh-brand-green);color:var(--lh-brand-text);border-radius:0;border-color:var(--lh-brand-line);box-shadow:none}
.lh-brand.dashboard-page :is(.dash-panel__title,.dash-status-title,.dash-program-title,.dash-page-head__accent){color:var(--lh-brand-lime)}
.lh-brand.dashboard-page :is(.dash-panel__sub,.dash-page-head__sub,.dash-status-desc,.dash-status-label,.dash-action-desc){color:var(--lh-brand-muted)}
.lh-brand.dashboard-page :is(.dash-btn--outline,.dash-btn--outline:hover),.lh-brand.profile-page :is(.prof-btn--outline,.prof-btn--outline:hover){color:var(--lh-brand-lime);background:transparent;border-color:var(--lh-brand-line);border-radius:999px}
.lh-brand.profile-page .prof-card :is(.form-control,.form-select){background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line)}
.lh-brand.profile-page .prof-input--readonly.form-control{background:#20342f;color:var(--lh-brand-muted)}
.lh-brand :is(.appt-notes-modal__text,.appt-all-modal__icon,.appt-row__date,.program-doctor-consult-card__when-card,.program-scheduling-outreach-card__channels){background:var(--lh-brand-panel);color:var(--lh-brand-text)}
.lh-brand :is(.program-care-plan-doc,.appt-all-modal__dialog,.appt-notes-modal__dialog){background:var(--lh-brand-green);color:var(--lh-brand-text);border-color:var(--lh-brand-line)}
.lh-brand :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--lh-brand-lime);outline-offset:3px}
.lh-brand ::selection{background:#d4ff80;color:#122626}
.blood-journal{margin:1.5rem 0 2rem;border-top:1px solid var(--lh-brand-line,#72894e);padding-top:1.5rem}
.blood-journal__scroll{overflow:auto;max-width:100%;margin:1rem 0}
.blood-journal__table{width:100%;border-collapse:collapse;text-align:left;font-size:.85rem;font-variant-numeric:tabular-nums}
.blood-journal__table :is(th,td){padding:1rem .8rem;border-bottom:1px solid var(--lh-brand-line-soft,#425740);vertical-align:middle}
.blood-journal__table thead th{font-weight:500;white-space:nowrap;color:var(--lh-brand-text,#ffffff)}
.blood-journal__table small{display:block;font-size:.75rem;margin-top:.35rem;color:var(--lh-brand-muted,#ffffff);font-weight:400}
.blood-journal__table tbody th[scope=row]{min-width:200px;font-weight:500}
.blood-journal__table td{min-width:100px}
.blood-journal__table th:first-child{padding-left:0}
.blood-journal__group th{color:var(--lh-brand-lime,#d4ff80);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;border-color:var(--lh-brand-line,#72894e);padding-top:1.3rem}
.blood-journal__latest{background:#d4ff8010;color:var(--lh-brand-lime,#d4ff80);font-weight:650}
.blood-journal__table .blood-results__sparkline{width:90px;height:32px}
.blood-journal__table a{display:inline-block;line-height:1.6;text-underline-offset:4px;color:var(--lh-brand-text,#ffffff)}
.blood-results__marker{scroll-margin-top:190px}
@media(max-width:650px){.blood-journal__table a{padding:.5rem 0;min-height:44px}}
@media(min-width:992px){
 .lh-brand.app-body .app-topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px) minmax(0,1fr);gap:16px}
 .lh-brand.app-body .app-topbar__left{grid-column:2;grid-row:1;justify-content:center}
 .lh-brand.app-body .app-topbar__right{grid-column:3;grid-row:1;justify-content:flex-end;min-width:0}
 .lh-brand.app-body .app-topbar__greeting{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .lh-brand.app-body .app-nav__links{gap:5px;flex-wrap:wrap}
 .lh-brand.app-body .app-nav__link{padding:.45rem .8rem}
}
@media(max-width:650px){.lh-brand h1{font-size:clamp(1.75rem,7vw,2.5rem)}.lh-brand .app-content{overflow-wrap:anywhere}.lh-brand :is(input,select,textarea){font-size:16px}.lh-brand :is(.btn,.app-nav__link){min-height:44px}}

/* Hosted sign-in/verification pages use their own semantic classes. */
.lh-brand :is(.login-panel .form-label,.login-panel__login-card .form-label,.portal-card .form-label,.portal-trust__label,.portal-trust__hint,.portal-note){color:var(--lh-brand-text)}
.lh-brand :is(.login-alert,.login-panel__login-alert){background:var(--lh-brand-green);color:var(--lh-brand-text);border:1px solid var(--lh-brand-line)}
.lh-brand :is(.login-alert--error,.login-panel__login-alert--error){border-left:4px solid var(--lh-brand-lime)}
.lh-brand :is(.portal-back,.portal-note a,.error-msg,.req-item.met){color:var(--lh-brand-lime)}
.lh-brand .req-item.met .req-dot{background:var(--lh-brand-lime)}
.lh-brand .portal-otp{background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line)}
.lh-brand :is(input.error,.form-control.error,.portal-otp.error){border-color:var(--lh-brand-lime)!important;box-shadow:0 0 0 .2rem #d4ff8030}
.lh-brand input:-webkit-autofill{-webkit-text-fill-color:var(--lh-brand-text);-webkit-box-shadow:0 0 0 1000px var(--lh-brand-panel) inset;caret-color:var(--lh-brand-text)}


/* Hosted patient components: override page-specific light-theme colours. */
.lh-brand.app-body :is(.dash-panel-title,.dash-card__title,.dash-tile__value,.dash-post-consult-booking__title,.prof-section-title,.prof-device__label,.prof-empty__title,.notif-title,.notif-empty__title,.act-card__title,.act-empty__title,.portal-tour-modal__title,.appt-all-modal__title,.appt-notes-modal__title,.txn-page__title){color:var(--lh-brand-lime)}
.lh-brand.app-body :is(.dash-panel-sub,.dash-panel-empty,.dash-tx-name,.dash-tx-code,.dash-tx-amount,.dash-card__empty,.dash-card__hint,.dash-tile__label,.dash-post-consult-booking__meta,.dash-post-consult-booking__availability,.dash-status-desc,.dash-shipment-summary__label,.dash-shipment-summary__meta,.prof-label,.prof-hint,.prof-section-hint,.prof-device__meta,.prof-info-row__label,.prof-info-row__value,.prof-strength-list li,.prof-phone-row__primary .form-check-label,.notif-time,.notif-summary,.notif-day-label,.notif-toolbar__count,.notifications-page__subtitle,.act-event-text,.act-event-time,.act-event-count,.act-more-filters__label,.act-empty__sub,.portal-tour-modal__copy,.portal-tour-modal__kicker,.portal-tour-modal__progress,.app-footer__link,.app-footer__copy,.appt-row__day,.appt-row__mon,.appt-row__type,.appt-row__meta,.appt-row__notes,.appt-recent-foot__hint,.appt-all-modal__sub,.appt-all-modal__when,.appt-notes-modal__meta,.appt-notes-modal__detail-label,.appt-notes-modal__detail-key,.appt-notes-modal__detail-value,.txn-page__sub,.txn-table__primary,.txn-table__meta,.txn-table__amount,.txn-table__row>:nth-child(odd),.txn-section__head,.txn-section__divider,.txn-section__count,.tx-info-modal__subtitle,.tx-info-modal__field-label,.tx-info-modal__field-value,.tx-info-modal__inv-title,.tx-info-modal__inv-total-label,.tx-info-modal__inv-total-value,.tx-info-modal__inv-total-balance,.tx-info-modal__items-table th,.tx-info-modal__items-table td,.tx-info-modal__pay-title,.tx-info-modal__pay-meta,.tx-info-modal__empty){color:var(--lh-brand-text)}
.lh-brand.app-body :is(.dash-post-consult-booking__item,.dash-tile,.notif-day-card,.notif-empty,.act-card,.documents-page__category,.documents-page__empty,.documents-page__status-card){background:var(--lh-brand-green);border:1px solid var(--lh-brand-line-soft);border-radius:0;box-shadow:none}
.lh-brand.app-body :is(.dash-status-box--stage,.dash-action-inner,.dash-qicon,.dash-quicklink__icon,.prof-device__icon,.prof-section-hint--warn,.notif--unread,.notif-empty__icon,.act-event-icon,.portal-tour-shot,.appt-notes-modal__foot,.txn-tabs,.txn-table__head,.txn-section__head,.txn-section__divider,.tx-info-modal__inv-total,.tx-info-modal__pay-card){background:var(--lh-brand-panel);color:var(--lh-brand-text)}
.lh-brand.app-body :is(.dash-tx-status--pending,.dash-tx-status--verified,.dash-tx-status--cancelled,.dash-panel-link,.dash-panel-link:hover,.dash-quick-links a,.dash-quick-links button,.dash-quick-links a:hover,.dash-quick-links button:hover,.dash-qicon svg,.dash-tile__icon svg,.dash-action-icon svg,.dash-card__viewall,.dash-quicklink,.portal-tour-modal__skip,.appt-prep-guide-link,.appt-all-modal__link,.txn-action-link,.txn-action-link:hover,.notif-action-link,.notif-day-clear,.notif-retry-btn,.act-more-filters summary,.act-event-time a,.act-retry-btn){color:var(--lh-brand-lime)}
.lh-brand.app-body :is(.dash-pill,.appt-badge,.appt-count,.prof-badge,.appt-all-modal__pill,.notif-chip--primary,.act-time-pill.is-active){background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime)}
.lh-brand.app-body :is(.dash-btn--primary,.prof-btn--primary,.txn-btn-pay,.appt-btn-join){background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime);border-radius:999px}
.lh-brand.app-body :is(.dash-btn--secondary,.dash-btn--outline-amber,.prof-btn--danger-outline,.notif-btn-outline,.notif-chip--outline,.notif-icon-toggle,.act-time-pill,.act-custom-range__clear,.appt-btn-soft,.documents-page__action){background:var(--lh-brand-green);color:var(--lh-brand-lime);border-color:var(--lh-brand-line)}
.lh-brand.app-body :is(.txn-tabs,.prof-tabs) .nav-link{background:transparent;color:var(--lh-brand-text)}
.lh-brand.app-body :is(.txn-tabs,.prof-tabs) .nav-link.active{background:var(--lh-brand-lime);color:var(--lh-brand-green)}
.lh-brand.app-body .tx-info-modal__tab{color:var(--lh-brand-text)}
.lh-brand.app-body .tx-info-modal__tab.is-active{color:var(--lh-brand-lime)}
.lh-brand.app-body .portal-tour-steps__dot{background:var(--lh-brand-line-soft)}
.lh-brand.app-body .portal-tour-steps__dot.is-active{background:var(--lh-brand-lime)}
.lh-brand.documents-page{--docs-ink:var(--lh-brand-lime);--docs-ink-soft:var(--lh-brand-text);--docs-ink-faint:var(--lh-brand-text);--docs-bg:var(--lh-brand-panel);--docs-card:var(--lh-brand-green);--docs-green-bg:var(--lh-brand-lime);--docs-green:var(--lh-brand-green)}


/* Program, help and nested document containers verified on hosted fixtures. */
.lh-brand .documents-page{--docs-ink:var(--lh-brand-lime);--docs-ink-soft:var(--lh-brand-text);--docs-ink-faint:var(--lh-brand-text);--docs-bg:var(--lh-brand-panel);--docs-card:var(--lh-brand-green);--docs-green-bg:var(--lh-brand-lime);--docs-green:var(--lh-brand-green)}
.lh-brand.app-body :is(.program-page__tile,.shipments-card__shell,.program-care-plan-item,.help-contact,.help-faq){background:var(--lh-brand-green);border-color:var(--lh-brand-line-soft);box-shadow:none}
.lh-brand.app-body :is(.program-page__tile-code,.program-page__tile-value,.shipments-card__title,.injection-guides__item-title,.help-contact__value,.help-faq__q,.help-faq__a a,.program-page-section__help-link,.program-page__link,.program-page__link:hover){color:var(--lh-brand-lime)}
.lh-brand.app-body :is(.program-page__subtitle,.program-page__tile-label,.program-page__tile-desc,.program-care-plan-item__code,.program-care-plan-item__status,.shipments-card__section-label,.shipments-card__older-name,.shipments-card__older-track,.injection-guides__intro,.injection-guides__lead,.injection-guides__support,.dash-welcome__sub,.help-contact__label,.help-faq__a){color:var(--lh-brand-text)}
.lh-brand.app-body :is(.program-page__pill,.shipments-pill){background:var(--lh-brand-lime);color:var(--lh-brand-green)}
.lh-brand.app-body :is(.program-page__tile-icon,.injection-guides__item,.shipments-card__older-row){background:var(--lh-brand-panel);border-color:var(--lh-brand-line-soft)}

/* Hosted staff controls retain the same three-colour palette. */
.lh-brand :is(.app-topbar-clocks__lbl,.app-topbar-clocks__val,.app-topbar-clocks__tz,.profile-label,.profile-kv__label,.profile-kv__value,.profile-dl__row dt,.profile-dl__row dd,.profile-empty,.app-row__title,.app-row__subtitle,.app-actor__name,.app-actor__type,.app-detail-label,.app-detail-value,.app-pagination-bar,.app-empty-state,.form-label){color:var(--lh-brand-text)}
.lh-brand :is(.app-topbar-clocks__link,.app-action-link,.app-action-link:hover,.app-row__expand-btn){color:var(--lh-brand-lime)}
.lh-brand :is(.app-list-card,.app-modal,.app-note,.app-alert,.app-responsive-detail,.app-inline-detail-row){background:var(--lh-brand-green);color:var(--lh-brand-text);border-color:var(--lh-brand-line-soft);box-shadow:none}
.lh-brand .app-list-card{border-radius:0;border-top:1px solid var(--lh-brand-line);border-bottom:1px solid var(--lh-brand-line-soft)}
.lh-brand :is(.filter-input,.filter-select){background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line);color-scheme:dark}
.lh-brand .filter-input::placeholder{color:var(--lh-brand-text);opacity:.8}
.lh-brand :is(.app-tabs,.app-list-card__tabs){border-color:var(--lh-brand-line-soft)}
.lh-brand .app-tabs .app-tab{color:var(--lh-brand-text);background:transparent}
.lh-brand .app-tabs .app-tab.active{color:var(--lh-brand-lime);border-color:var(--lh-brand-lime)}
.lh-brand .app-list-card .app-list-card__tabs .app-tab.active{color:var(--lh-brand-lime);border-bottom-color:var(--lh-brand-lime)}
.lh-brand .app-list-card .app-list-card__table :is(th,td){color:var(--lh-brand-text);border-color:var(--lh-brand-line-soft)}
.lh-brand .app-table tbody tr:hover td{background:var(--lh-brand-panel)}
.lh-brand .app-badge{background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime)}
.lh-brand :is(.app-list-card__export-menu,.profile-device__icon){background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line)}
.lh-brand .app-list-card .app-list-card__export-item{color:var(--lh-brand-text)}
.lh-brand :is(.btn-lh,.btn-lh:hover,.btn-lh:active){background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime);border-radius:999px}
.lh-brand :is(.app-note--warning,.app-note--error,.app-alert--warning,.app-alert--danger){border-left:4px solid var(--lh-brand-lime)}
.lh-brand .portal-otp::placeholder{color:var(--lh-brand-text);opacity:.65}

/* Staff detail panels and read-only modal fields. */
.lh-brand :is(.page-header p,.patients-list-legend,.app-actions-split__sep){color:var(--lh-brand-text)}
.lh-brand :is(.app-actions-split__toggle,.app-actions-split__toggle:hover,.app-modal .modal-title){color:var(--lh-brand-lime)}
.lh-brand .bg-body-secondary{background-color:var(--lh-brand-panel)!important}
.lh-brand :is(.vip-patient-badge,.vip-tier-pill){background:var(--lh-brand-lime);color:var(--lh-brand-green)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-shell,.cpv-header,.cpv-tabs.app-tabs,.cpv-card,.cpv-status-box){background:var(--lh-brand-green);color:var(--lh-brand-text);border-color:var(--lh-brand-line-soft);border-radius:0;box-shadow:none}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-card{border-top:1px solid var(--lh-brand-line);border-bottom:1px solid var(--lh-brand-line-soft)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-header__name,.cpv-header__patient,.cpv-card-title,.cpv-status-title,.cpv-link,.cpv-timeline__tab,.cpv-row-link,.cpv-icon-btn,.cpv-header__menu,.cpv-field-value--link){color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-header__email,.cpv-header__code,.cpv-card-sub,.cpv-status-label,.cpv-status-desc,.cpv-field-label,.cpv-field-value,.cpv-field-meta,.cpv-timeline__label,.cpv-timeline__time,.cpv-timeline__actor,.cpv-empty,.profile-notes-timeline__body){color:var(--lh-brand-text)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-field-value a{color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-tab.app-tab{color:var(--lh-brand-text)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-tab.app-tab.active{color:var(--lh-brand-lime);border-color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-pill,.cpv-header__avatar){background:var(--lh-brand-lime);color:var(--lh-brand-green)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-field-mono{background:var(--lh-brand-panel);color:var(--lh-brand-text)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-field-row{border-color:var(--lh-brand-line-soft)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-timeline__event::before{background:var(--lh-brand-lime);border-color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-timeline::before{background:var(--lh-brand-line)}

.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-icon-btn,.cpv-icon-btn:hover,.cpv-header__menu,.app-copy-btn){background:var(--lh-brand-panel);color:var(--lh-brand-lime);border-color:var(--lh-brand-line)}
.lh-brand .app-copy-btn{color:var(--lh-brand-lime);border-color:var(--lh-brand-line);background:var(--lh-brand-panel)}
@media(max-width:991.98px){
 .lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-tabs.app-tabs{gap:4px 16px;padding:8px 16px;border-left:0}
 .lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) .cpv-tab.app-tab{min-height:44px;padding:8px 0}
 .lh-brand .patient-profile-view .cpv-header{flex-wrap:wrap;gap:12px;padding:16px}
 .lh-brand .patient-profile-view .cpv-header__left{flex:1 1 240px;min-width:0}
 .lh-brand .patient-profile-view .cpv-header__actions{margin-left:auto}
}

.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-tx-card__amount,.cpv-tx-card__sub,.cpv-tx-card__note,.cpv-row-main,.cpv-row-sub,.cpv-payment-invoice-row__amount,.cpv-payment-invoice-row__sub,.cpv-payment-desc,.cpv-version-meta,.cpv-history-title,.cpv-doc-meta){color:var(--lh-brand-text)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-tx-card__main,.cpv-payment-invoice-row__link,.cpv-payment-invoice-row__view,.cpv-version-name,.cpv-doc-name){color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-tx-card__icon,.cpv-row-icon,.cpv-row-icon svg,.cpv-payment-invoice-row__icon,.cpv-version-icon,.cpv-doc-icon){background:var(--lh-brand-panel);color:var(--lh-brand-lime)}
.lh-brand :is(.patient-profile-view,.case-profile-view,.care-plan-view) :is(.cpv-tx-card,.cpv-row,.cpv-payment-invoice-row,.cpv-version-row,.cpv-doc-row){background:var(--lh-brand-green);border-color:var(--lh-brand-line);border-radius:0}

@media print{
 body.lh-brand{background:#fff;color:#122626;color-scheme:light;--lh-brand-green:#fff;--lh-brand-text:#122626;--lh-brand-muted:#415348;--lh-brand-lime:#122626;--lh-brand-line:#788779;--lh-brand-line-soft:#c9d0c8;--bs-body-color:#122626;--bs-table-color:#122626}
 .lh-brand :is(.app-chrome,.app-sidebar,.app-topbar,.app-footer){display:none!important}
 .lh-brand :is(.app-content,.app-main){margin:0;padding:0;min-height:0}
}

/* Hosted staff dashboard: Lighthouse green, lime and white. */
.lh-brand :is(.adash-hero,.adash-card,.adash-attn-card,.adash-search__results){background:var(--lh-brand-green);color:var(--lh-brand-text);border:1px solid var(--lh-brand-line);border-radius:0;box-shadow:none}
.lh-brand :is(.adash-tabs,.adash-card__head,.adash-search__wrap,.adash-search__item:hover,.adash-search__item.is-active){background:var(--lh-brand-panel);border-color:var(--lh-brand-line);color:var(--lh-brand-text)}
.lh-brand :is(.adash-hero__title,.adash-attn-card__n,.adash-card__title,.adash-section-title,.adash-row__name,.adash-search__name-link,.adash-search__item-title,.adash-search__clear,.adash-search__icon){color:var(--lh-brand-lime)}
.lh-brand :is(.adash-hero__subtitle,.adash-attn-card__lbl,.adash-row__id,.adash-row__meta,.adash-empty,.adash-search__input,.adash-search__empty,.adash-search__item-sub){color:var(--lh-brand-text)}
.lh-brand .adash-search__input::placeholder{color:var(--lh-brand-muted);opacity:1}
.lh-brand .adash-search__kbd{background:var(--lh-brand-panel);color:var(--lh-brand-text);border-color:var(--lh-brand-line)}
.lh-brand :is(.adash-attn-card__tag,.adash-tab__count,.adash-search__pill,.adash-search__item-icon){background:var(--lh-brand-lime);color:var(--lh-brand-green);border-color:var(--lh-brand-lime)}
.lh-brand .adash-tabs{border-radius:0;padding:0;border-bottom:1px solid var(--lh-brand-line)}
.lh-brand .adash-tab{background:transparent;color:var(--lh-brand-text);border-radius:0;box-shadow:none;min-height:44px}
.lh-brand .adash-tab.is-active{background:var(--lh-brand-lime);color:var(--lh-brand-green);box-shadow:none}
.lh-brand .adash-attn-card:hover{background:var(--lh-brand-panel);border-color:var(--lh-brand-lime)}
.lh-brand :is(.adash-search__divider,.adash-search__section,.adash-card__head){border-color:var(--lh-brand-line)}
