/* Customer counter only. Shares the counter's local Manrope and icon assets. */
#app main:has(>.cw){max-width:none;width:100%;padding:0;margin:0;min-width:0}
.cw,.cw-dialog,.cw-payment,main:has(>.cw-loyalty){--cw-blue:#044c9d;--cw-line:#cbd9e7;--cw-accent:#0ca1f6;--cw-ink:#171c23;font:500 14px/20px "Amar Inventory Manrope",Manrope,Arial,sans-serif;color:var(--cw-ink)}
.cw{max-width:none;min-height:calc(100dvh - 52px);border:0;border-radius:0;box-shadow:none;margin:0;background:white}
.cw *,.cw ::before,.cw ::after{box-sizing:border-box}
.cw :is(button,input,select,summary),.cw-dialog :is(button,input,select),.cw-payment :is(button,input,select){font-family:inherit;font-size:14px;letter-spacing:normal}
.cw .iw-icon,.cw-dialog .iw-icon{width:16px;height:16px;flex:none;vertical-align:middle}
.cw .cw-heading{background:#f5f5f5;padding:9px 20px;gap:10px;min-height:49px;border-bottom:1px solid var(--cw-line)}
.cw h1,.cw h2,.cw-dialog h2,.cw-payment h2{letter-spacing:normal;text-transform:none;font-weight:700;color:var(--cw-blue,#044c9d)}
.cw h1{font-size:20px;line-height:27px}.cw h2,.cw-dialog h2,.cw-payment h2{font-size:17px;line-height:24px}
.cw .cw-back{display:inline-grid;place-items:center;width:28px;height:32px;font-size:24px}.cw .cw-back:hover{background:#e1eff9;text-decoration:none}
.cw .cw-view,.cw .cw-more summary,.cw .cw-heading .btn,.cw-action{display:inline-flex;align-items:center;gap:6px;color:var(--cw-blue);font-weight:650;white-space:nowrap}
.cw .cw-view{gap:8px}.cw .cw-toggle,.cw-policy input[role=switch]{display:inline-block;position:relative;width:31px;height:17px;flex:0 0 31px;border:0;border-radius:12px;background:#75889b;padding:0;cursor:pointer;appearance:none}
.cw .cw-toggle::before,.cw-policy input[role=switch]::before{content:'';position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .14s}
.cw .cw-toggle[aria-checked=true],.cw-policy input[role=switch]:checked{background:var(--cw-blue)}
.cw .cw-toggle[aria-checked=true]::before,.cw-policy input[role=switch]:checked::before{transform:translateX(14px)}
.cw .cw-family-tab{margin:0 4px;padding:3px 10px;border-left:1px solid var(--cw-line);display:inline-flex;align-items:center;gap:4px}.cw .cw-family-tab[aria-current]{background:#deeffc}
.cw .cw-more summary,.cw .cw-action,.cw button.btn,.cw-dialog button.btn,.cw-payment button.btn,.cw .cw-heading .btn{background:#087dc0;border:0;border-radius:3px;color:white;min-height:31px;line-height:20px;padding:5px 11px;box-shadow:none}
.cw .cw-more summary::-webkit-details-marker{display:none}.cw .cw-more summary .iw-icon:last-child{width:12px}
.cw .cw-more>div{min-width:196px;z-index:12;top:calc(100% + 2px);padding:3px 0;border-radius:2px;box-shadow:0 4px 14px #20374b33}
.cw .cw-more :is(button,a){display:flex;align-items:center;gap:10px;min-height:34px;padding:6px 12px;color:#183a58;text-decoration:none;line-height:20px;font-weight:550}.cw .cw-more .iw-icon{color:#1688ca}
.cw .cw-toolbar{margin:0;padding:10px 20px 12px;gap:10px;align-items:end;background:white;border-bottom:1px solid var(--cw-line)}
.cw label,.cw-dialog label,.cw-payment label{font-size:12px;font-weight:650;color:#3c5168;line-height:17px}
.cw input:not([type=checkbox],[type=range]),.cw select,.cw-dialog input:not([type=checkbox]),.cw-dialog select,.cw-payment select,.cw-payment input:not([type=checkbox]){height:33px;min-width:0;border:1px solid #bdcddc;border-radius:3px;margin:0;padding:4px 8px;font-weight:500;color:#153b60}
.cw-toolbar button,.cw-pages button,.cw-filters button,.cw-policy button,.cw-dialog button,.cw-payment button{border-radius:3px;line-height:20px;padding:5px 10px;border-color:#b9cfe2}
.cw .cw-query{flex:0 1 310px}.cw-query>span{position:relative;display:flex;align-items:center}.cw-query .iw-icon{position:absolute;left:9px;color:#69839b;pointer-events:none}.cw .cw-query input{padding-left:31px;width:100%}
.cw [data-count]:not(:empty){border-radius:12px;background:#044c9d;color:white;padding:1px 6px;font-size:11px}
.cw table{font-size:14px}.cw th,.cw-payment th,.cw th button{background:#eaf3fb;color:#044c9d;text-transform:none;letter-spacing:normal;font-size:13px;font-weight:700;white-space:nowrap}
.cw th,.cw td,.cw-payment td,.cw-payment th{padding:8px 12px;border-bottom:1px solid #dce5ed;line-height:19px}.cw th button{padding:0}
.cw [data-person]{cursor:pointer}.cw tbody tr:hover{background:#f0f8ff}.cw td a{font-weight:650}
.cw .cw-sort,.cw th button .iw-icon{height:12px;width:12px;object-fit:contain;vertical-align:middle}.cw .cw-invite{display:inline-grid;place-items:center;width:30px;height:28px;border:0;border-radius:3px;background:transparent;color:#148852;cursor:pointer}.cw .cw-invite:hover{background:#e6f7ef}
.cw .cw-more summary .iw-icon{color:inherit}.cw .cw-toolbar a.btn{background:#087dc0;color:white;border:0;min-height:32px;border-radius:3px;padding:5px 10px;box-shadow:none}
.cw .cw-pages{padding:8px 18px;border-top:1px solid var(--cw-line);gap:8px;background:#f8fafc}
.cw .cw-empty,.cw-chart-empty,.cw-plan-empty{padding:44px 15px;text-align:center;color:#58687a}.cw .cw-empty img{display:block;width:30px;height:30px;object-fit:contain;margin:0 auto 9px}.cw .cw-empty p{margin:3px 0}
.cw .cw-drawer{position:fixed;inset:0 0 0 auto;box-sizing:border-box;padding:0;margin:0;width:min(390px,100%);height:100dvh;max-height:100dvh;max-width:100vw;border:0;box-shadow:-4px 0 20px #142d442b;color:var(--cw-ink);background:white}
.cw .cw-drawer::backdrop{background:#10243761}.cw .cw-drawer:not([open]){display:none}
.cw-drawer .cw-filters{background:white;border:0;padding:0;display:flex;flex-flow:column nowrap;gap:0;align-items:stretch;height:100%}
.cw-filters header,.cw-filters footer,.cw-policy-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cw-filters header,.cw-filters footer{padding:12px 16px;border-bottom:1px solid var(--cw-line);background:#f5f8fb}
.cw-filters header button{border:0;background:transparent}.cw-filters footer{border-top:1px solid var(--cw-line);border-bottom:0;justify-content:flex-end}
.cw-filter-body{overflow:auto;flex:1;padding:0 16px}.cw-filter-body fieldset{min-width:0;border:0;border-bottom:1px solid #e0e6ee;padding:10px 0 16px;margin:14px 0 0}
.cw-filter-body legend{font-weight:700;font-size:14px;color:#044c9d}.cw-filter-body .cw-check{font-size:14px;font-weight:500;padding:5px 0;gap:8px}.cw-date-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cw-filter-body select,.cw-filter-body input:not([type=checkbox]){width:100%}
.cw .cw-identifier{font-size:12px;color:#5a6979}.cw .cw-facts{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 20px;gap:8px 18px}
.cw-facts>div{min-width:0}.cw .cw-facts small{color:#56697b;font-size:12px}.cw .cw-facts b{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.cw .cw-tabs{padding:0 12px;background:#f7f8fa;border-block:1px solid var(--cw-line);scrollbar-width:thin}
.cw .cw-tabs a{font-size:14px;line-height:20px;padding:9px 12px 7px;border-bottom:3px solid transparent;color:#435567}.cw .cw-tabs a[aria-current]{background:white;border-bottom-color:#079ceb;color:#044c9d}
.cw .cw-note{margin:0;padding:8px 18px;background:#eff7fd;font-size:13px}.cw .cw-family{margin:0;border:0;border-bottom:1px solid var(--cw-line);border-radius:0}.cw .cw-family>summary{padding:8px 20px}.cw .cw-family>summary:hover,.cw .cw-family[open]>summary{background:#f0f8ff}
.cw .cw-house{border-top:1px solid var(--cw-line)}.cw .cw-member{margin:0 0 4px}.cw .cw-house h3{font-size:15px;color:#044c9d}
.cw .cw-policy{max-width:800px;padding:18px 20px}.cw-policy-title{justify-content:flex-start}.cw-policy fieldset{display:grid;grid-template-columns:1fr minmax(120px,185px);align-items:center;gap:18px}.cw-policy fieldset:disabled{background:#f7f8fa;color:#6a7681}.cw-policy input[type=range]{accent-color:#0c98dc}
.cw-plan-empty{padding-top:70px}.cw-plan-empty:before{content:'i';display:grid;place-items:center;width:34px;height:34px;background:#fff5d0;color:#805a00;border-radius:50%;margin:0 auto 10px;font:bold 21px Georgia,serif}
.modal .cw-dialog,.modal .cw-payment{border-radius:4px}.cw-dialog>header,.cw-payment>header{padding:0 0 10px;margin-bottom:12px;border-bottom:1px solid #cbd9e7}.cw-dialog [data-close],.cw-payment [data-close]{border:0;font-size:20px}
@media(max-width:900px){.cw .cw-graphs{grid-template-columns:repeat(2,minmax(0,1fr))}.cw .cw-tabs{padding:0 6px}}
@media(max-width:650px){.cw .cw-heading,.cw .cw-toolbar,.cw .cw-facts,.cw .cw-graphs{padding:9px 10px}.cw .cw-heading{gap:8px}.cw .cw-view{gap:5px;flex-wrap:wrap}.cw .cw-family-tab{padding:2px 6px}.cw .cw-query{flex:1 1 190px}.cw .cw-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.cw .cw-graphs{grid-template-columns:1fr}.cw-program [data-panel],.cw .cw-member{overflow-x:auto}.cw .cw-family>summary{padding:8px}.cw-policy fieldset{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cw .cw-toggle::before,.cw-policy input[role=switch]::before{transition:none}}

/* Register measurements from the signed-in eVital counter (1440 px wide). */
.cw-register,.cw-profile,.cw-program,.cw-loyalty,main:has(>.cw-loyalty){background:#f3f3f3}
.cw .cw-heading{gap:7px;min-height:72px;padding:10px 20px;background:transparent;border:0}
.cw .cw-heading h1{font-size:16px;line-height:22px;color:#044c9d;font-weight:700}
.cw .cw-heading :is(.btn,.cw-action,.cw-more:not(.cw-help,.cw-download)>summary){background:#0ca1f6;font-weight:600}
.cw .cw-heading .cw-help>summary{min-height:26px;padding:2px 4px;background:none;color:#0ca1f6}
.cw .cw-heading .cw-help>summary .iw-icon{width:20px;height:20px}
.cw .cw-heading .cw-help>div{left:0;right:auto;width:min(305px,74vw);padding:10px 13px;line-height:21px}
.cw .cw-heading .cw-help p{margin:0}
.cw .cw-view{gap:5px;margin-left:6px;font-size:16px}.cw .cw-view a:not(.cw-toggle){color:#557799;font-weight:700}.cw .cw-view a[aria-current]{color:#0982c6}
.cw .cw-toggle,.cw .cw-toggle[aria-checked=true]{width:40px;height:24px;flex-basis:40px;background:#0ca1f6}
.cw .cw-toggle::before{content:none}.cw .cw-toggle>span{position:absolute;display:grid;place-items:center;width:20px;height:20px;top:2px;left:2px;background:white;color:#087bb7;border-radius:50%;transition:transform .14s}
.cw .cw-toggle .iw-icon{width:14px;height:14px}.cw .cw-toggle[aria-checked=true]>span{transform:translateX(16px)}
.cw .cw-download>summary{background:#e5f0fd;color:#0b6aa5;min-width:115px;justify-content:space-between}
.cw-register>.cw-toolbar,.cw-register>[data-results],.cw-profile>[data-content],.cw-profile>.cw-tab-strip,.cw-program>[data-panel]{margin-inline:20px;background:white}
.cw .cw-toolbar{gap:10px;align-items:center;border:0;padding:15px 20px 9px;min-height:62px}
.cw .cw-search{position:relative;display:flex;gap:0;align-items:center}
.cw .cw-search input{width:100%;min-width:0;padding:4px 32px 4px 9px}
.cw .cw-search button{position:absolute;right:1px;top:1px;height:28px;width:30px;display:grid;place-items:center;padding:0;border:0;background:white;color:#044c9d}
.cw .cw-search .iw-icon{position:static;pointer-events:none;color:inherit}
.cw .cw-search.cw-query{flex:0 1 330px}.cw .cw-search.cw-patient{flex:0 1 172px}
.cw .cw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cw .cw-toolbar :is(input:not([type=checkbox]),select),.cw-date-menu>summary{height:30px;border:1px solid #d4d7db;border-radius:1px;background:white}
.cw .cw-toolbar [data-filter]{display:inline-flex;gap:5px;align-items:center;padding-inline:12px;color:#044c9d;font-weight:700;background:none;border:0;white-space:nowrap}
.cw .cw-toolbar [data-count]{background:none;color:inherit;font:inherit;padding:0}
.cw-dates{display:flex;align-items:center;gap:4px;color:#044c9d}
.cw-date-menu{position:relative;min-width:0}
.cw-date-menu>summary,.cw-filter-options>summary{display:flex;cursor:pointer;list-style:none;align-items:center;justify-content:space-between;gap:11px;padding:4px 9px;width:190px;white-space:nowrap;color:#4c5661}
.cw-date-menu>summary::-webkit-details-marker,.cw-filter-options>summary::-webkit-details-marker{display:none}
.cw-date-menu>summary .iw-icon,.cw-filter-options>summary .iw-icon{color:#4082bb;width:14px;height:14px}
.cw .cw-dates [data-date-clear]{padding:3px 4px;color:#044c9d;border:0;background:none}
.cw-date-popup,.cw-filter-options>div{position:absolute;top:100%;left:0;background:white;border:1px solid #d1dce7;box-shadow:0 4px 15px #12335426;z-index:13}
.cw-date-popup{min-width:min(330px,87vw);padding:4px 0;color:#044c9d}
.cw .cw-date-popup>[data-range]{display:block;text-align:left;width:100%;border:0;border-radius:0;font-weight:550;padding:5px 10px}
.cw .cw-date-popup>[data-range]:hover,.cw .cw-date-popup>[data-range]:focus-visible{background:#e7f3ff}
.cw-date-custom{padding:8px 10px;border-top:1px solid var(--cw-line)}
.cw-date-custom .cw-date-pair{margin:6px 0 8px}.cw-date-custom p{font-size:12px;color:#a82b40;margin:0}.cw-date-custom p:not(:empty){margin-top:4px}
.cw [data-results] .cw-scroll table,.cw-profile [data-table] table{border-collapse:collapse}
.cw-register table th,.cw-profile table th,.cw th button{background:white;color:#044c9d;font-size:14px;font-weight:600}
.cw-register table th,.cw-profile table th{border-bottom-color:#ced7df;padding-block:9px}
.cw-register table td{padding-block:9px}.cw-register table tr:nth-child(even){background:#fafbfc}.cw-register table tbody tr:hover{background:#eef8ff}
.cw .cw-drawer{width:min(420px,100%);background:white}
.cw .cw-drawer::backdrop{background:#121a2924}
.cw-drawer .cw-filters header{height:50px;flex:0 0 50px;background:#044c9d;border:0;color:white;padding:0 20px}
.cw-drawer .cw-filters header h2{font-size:24px;font-weight:600;color:white}
.cw-drawer .cw-filters header button{color:white;background:transparent;padding:4px}
.cw-drawer .cw-filter-body{padding:18px 20px;flex:1}
.cw-drawer .cw-filter-body fieldset{margin:3px 0 17px;padding:0;border:0}
.cw-drawer .cw-filter-body legend{color:#111;font-weight:750;padding:2px 0 5px}
.cw-drawer .cw-filter-body :is(select,input:not([type=checkbox]),.cw-filter-options>summary){width:200px;max-width:100%;height:36px;border:1px solid #dedede;color:#344a62;border-radius:0}
.cw-filter-options{position:relative;width:min(200px,100%)}
.cw-filter-options>div{width:100%;padding:4px 9px}
.cw-drawer .cw-filter-body .cw-check{display:flex;align-items:center;gap:8px;color:#044c9d;padding:2px 0;min-height:24px}
.cw-drawer .cw-filter-body input[type=checkbox]{width:16px;height:16px;margin:0}
.cw-drawer .cw-filters footer{width:min(200px,100%);margin:12px 0 0;justify-content:space-between;padding:7px 0 0;border:0;background:white}
.cw-drawer .cw-filters footer button[type=reset]{border:0;padding-left:0;font-weight:700;color:#044c9d}
.cw-drawer .cw-filters footer .btn{width:90px;height:34px;background:#0ca1f6;font-size:16px}
.cw .cw-empty{padding:76px 10px 27px;min-height:302px;background:white;text-align:center;color:#044c9d}
.cw .cw-empty img{width:180px;height:auto;margin:0 auto 14px}.cw .cw-empty p{font-size:14px;margin:0}
.cw .cw-graphs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-height:0;padding:0;background:#f3f3f3}
.cw .cw-graph-card{position:relative;min-width:0;min-height:405px;box-shadow:0 2px 12px #0a2f5014;background:white;padding:15px}
.cw .cw-graph-card h2{color:#111;font-size:16px;font-weight:600;padding:0 29px 13px 0;border:0}
.cw-graph-svg{width:100%;height:auto;display:block;background:#f7f7f7;fill:#414b55;font:500 12px Arial,sans-serif}
.cw-graph-svg .cw-axis-name{font-weight:700;fill:#101217;font-size:14px}
.cw-graph-details{position:absolute;inset:10px 13px auto auto}
.cw-graph-details summary{display:grid;place-items:center;cursor:pointer;width:30px;height:28px;color:#044c9d}
.cw-graph-details summary::-webkit-details-marker{display:none}
.cw-graph-details>div{position:absolute;right:0;width:min(305px,76vw);background:white;border:1px solid #cbd9e7;padding:4px;z-index:2;box-shadow:0 4px 14px #19335930;max-height:275px}
.cw .cw-graph-details table{min-width:0}.cw-chart-empty{padding:48px 10px}
.cw-family-headings,.cw .cw-family>summary{display:grid;grid-template-columns:minmax(140px,1.65fr) minmax(125px,1fr) minmax(110px,.85fr) minmax(190px,1.18fr);gap:12px;padding:9px 20px 9px 37px}
.cw-family-headings{background:white;border-bottom:1px solid #ced7df;color:#044c9d;font-weight:600}
.cw-family-headings>:last-child{text-align:right}
.cw .cw-family>summary{position:relative;list-style:none;min-height:50px;color:#222}
.cw .cw-family>summary::-webkit-details-marker{display:none}
.cw .cw-family>summary::before{position:absolute;left:17px;top:16px}
.cw-family-label b{color:#044c9d}.cw-advance{color:#176b4d}
.cw .cw-family summary strong{color:#044c9d;font-variant-numeric:tabular-nums}
.cw .cw-more:not(.cw-help,.cw-download)>div:not(.cw-date-popup){border:0;padding:0 7px;min-width:220px}
.cw .cw-more:not(.cw-help) :is(button,a){min-height:42px;border-bottom:1px solid #ededed;padding-inline:9px;color:#161616;font-size:14px}
.cw .cw-more :is(button,a) .iw-icon{width:14px;height:14px;color:#099adf}
.cw .cw-more button:disabled{color:#687282}
@media(max-width:740px){
 .cw .cw-heading{padding:10px;min-height:56px}.cw-register>.cw-toolbar,.cw-register>[data-results],.cw-profile>[data-content],.cw-profile>.cw-tab-strip,.cw-program>[data-panel]{margin-inline:8px}
 .cw .cw-toolbar{padding:9px 8px;gap:6px}.cw .cw-search.cw-query{flex:1 1 160px}.cw .cw-search.cw-patient{flex:0 1 140px}
 .cw .cw-graphs{grid-template-columns:1fr}.cw .cw-heading .cw-view{font-size:14px}
 .cw .cw-graph-card{min-height:0;padding:10px}
 .cw-family-headings{display:none}.cw .cw-family>summary{grid-template-columns:minmax(0,1fr) auto;padding-left:28px;gap:3px 8px}.cw .cw-family>summary::before{left:9px}
 .cw-family-label{grid-column:1;grid-row:1}.cw-family-phone{grid-column:1;grid-row:2}.cw-family-count{display:none}.cw .cw-family summary strong{grid-column:2;grid-row:1/3}
}
@media(prefers-reduced-motion:reduce){.cw .cw-toggle>span{transition:none}}
.cw .cw-verified{color:#16833a}
