:root{font-family:Inter,system-ui,sans-serif;color:#12243d;background:#f6f9fb;font-synthesis:none;--green:#087f5b;--border:#e1e8ee;--muted:#73839a;--sidebar:210px}*{box-sizing:border-box}body{margin:0;letter-spacing:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #df9f38;outline-offset:3px}.skip-link{position:fixed;left:-999px;top:12px;background:#fff;padding:12px;z-index:1000000}.skip-link:focus{left:12px}
.overview-shell{min-height:100dvh}.overview-sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:28px 12px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:700;white-space:nowrap;letter-spacing:0}.overview-sidebar>.brand{margin:0 9px 24px}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;border-radius:7px;background:var(--green);color:white;flex-shrink:0}.brand-symbol svg{width:23px;height:23px;stroke-width:2}.avatar{width:34px;height:34px;background:#e8eef4;color:#52677f;border:1px solid #dbe4ed;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;font-weight:600}.account-picker,.mobile-account{display:flex;align-items:center;gap:7px;position:relative;border:1px solid var(--border);border-radius:6px;padding:8px;margin-bottom:20px;background:#fbfcfe}.account-picker select,.mobile-account select{appearance:none;background:none;border:0;min-width:0;flex:1;color:#223954;font-size:13px;padding-right:15px;cursor:pointer;text-overflow:ellipsis}.account-picker>svg,.mobile-account>svg{position:absolute;right:10px;width:14px;pointer-events:none}.account-picker .avatar{width:28px;height:28px;font-size:10px}.overview-sidebar nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;min-height:43px;border:0;background:none;width:100%;padding:10px 17px;border-radius:5px;text-align:left;font-size:14px;position:relative}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f3f7f8}.nav-item.active{color:#096247;background:#eaf5ef;font-weight:600}.nav-item.active:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--green)}.sidebar-bottom{margin-top:auto;display:grid;gap:4px;padding-top:25px}.count-badge{display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:21px;padding:0 5px;background:#ef4b51;border-radius:12px;color:white;font-size:11px;font-weight:600;line-height:1}.nav-item .count-badge{margin-left:auto}
.overview-content{margin-left:var(--sidebar);max-width:1650px}.overview-header{min-height:103px;padding:28px 26px 12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.desktop-heading h1{font-size:28px;line-height:1.15;letter-spacing:0;margin:0 0 6px;font-weight:700}.desktop-heading p{font-size:13px;color:var(--muted);margin:0}.header-tools{display:flex;align-items:center;gap:14px}.range-control{display:flex;border:1px solid #d9e3ed;border-radius:5px;overflow:hidden}.range-control button{min-width:72px;background:#fff;border:0;border-right:1px solid var(--border);padding:9px 11px;font-size:12px}.range-control button:last-child{border-right:0}.range-control button[aria-pressed=true]{background:var(--green);color:#fff}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--border);border-radius:5px;background:#fff;flex-shrink:0}.header-tools .icon-button{border-color:transparent;background:transparent}.icon-button:hover{background:#edf4f7}.bell-button{position:relative;display:none}.bell-button .count-badge{position:absolute;right:-1px;top:-4px;min-width:17px;height:17px;font-size:9px}.header-avatar{background:#81919f;color:#fff}.mobile-brand,.mobile-account,.mobile-navigation,.mobile-only{display:none}
main{padding:0 26px 16px;scroll-margin-top:15px}.readiness-strip{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--border);border-radius:6px;background:#f8fafc;font-size:12px;margin-bottom:14px;color:#344a64}.readiness-strip>a,.readiness-strip>button{display:flex;align-items:center;gap:9px;padding:0 18px;border:0;border-right:1px solid #dfe6ed;background:none;white-space:nowrap;min-height:18px;font-size:12px}.readiness-strip>a:first-child{padding-left:0;font-weight:600}.readiness-strip>button{border:0;color:var(--muted);padding-right:0}.readiness-strip svg{width:16px;height:16px}.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#159568;flex-shrink:0}.status-dot.neutral{background:#a4b2c2}.status-dot.amber{background:#f0a128}.status-dot.red{background:#ef5358}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric{position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-height:133px;padding:16px 18px 13px;background:#fff;border:1px solid var(--border);border-radius:6px;text-align:left;min-width:0}.metric:hover{border-color:#b4cbc3}.metric>svg{width:23px;height:23px;margin-bottom:2px;color:#1458bd}.metric[data-metric=flagged]>svg{color:#5b6f84}.metric[data-metric=flagged][data-state=ok]>svg{color:#0f7a55}.metric[data-metric=flagged][data-state=alert]>svg{color:#d92d20}.metric:nth-child(3)>svg{color:#087e92}.metric strong{font-size:27px;font-weight:700;line-height:1.12}.metric>span:not(#call-sparkline){font-size:13px;line-height:1.3}.metric small{color:var(--muted);font-size:11px;margin-top:auto;padding-top:4px;line-height:1.3}#call-sparkline{position:absolute;right:12px;top:37px;width:42%;height:31px}#call-sparkline svg{width:100%;height:100%;stroke-width:2}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);grid-template-areas:'attention care' 'calls family' 'notifications appointment';gap:15px 18px;align-items:start}.surface{background:#fff;border:1px solid var(--border);border-radius:6px;min-width:0;scroll-margin:18px}.attention-surface{grid-area:attention}.care-surface{grid-area:care}.calls-surface{grid-area:calls}.family-surface{grid-area:family}.notifications-surface{grid-area:notifications}.appointment-surface{grid-area:appointment}.surface-header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:14px 18px 10px;min-height:48px}.surface-header h2{font-size:16px;font-weight:650;margin:0;letter-spacing:0;line-height:1.3;display:flex;align-items:center;gap:10px}.surface-header small{font-size:10px;color:#64778d;text-align:right}.text-button{border:0;padding:3px 0;background:none;color:#0062bd;font-size:12px;white-space:nowrap}.text-button:hover,.section-link:hover{text-decoration:underline}.surface-list{padding:0 18px}.attention-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px 0;border-top:1px solid #edf1f5}.attention-row .status-dot{width:12px;height:12px}.attention-row strong{font-size:13px;font-weight:600;line-height:1.45;display:block}.attention-row p{font-size:11px;line-height:1.4;color:#62758b;margin:4px 0 0}.row-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 9px;border:1px solid #dce5ee;border-radius:5px;background:#fff;color:#065bb6;font-size:11px;white-space:nowrap}.row-action svg{width:13px;height:13px}.row-action:hover{background:#f4f8fc}.empty{font-size:12px;line-height:1.6;color:#75859a;margin:0;padding:17px 18px 22px}.surface-list>.empty{padding-inline:0}.empty a{display:inline-block;color:#0560b5;margin-top:5px}.care-progress{padding:0 18px 5px}progress{display:block;width:100%;height:9px;border:0;overflow:hidden;border-radius:6px;background:#e2e9ee}progress::-webkit-progress-bar{background:#e2e9ee;border-radius:6px}progress::-webkit-progress-value{background:#119477;border-radius:6px}progress::-moz-progress-bar{background:#119477;border-radius:6px}.care-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #eef2f5;font-size:11px}.care-row:last-child{border:0}.care-row time{font-size:10px;white-space:nowrap}.care-name{line-height:1.4;overflow-wrap:anywhere}.state{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.state svg{width:14px;height:14px}.state.good{color:#087d56}.state.warning{color:#b67406}.state.muted{color:#8495a8}.section-link{display:flex;align-items:center;gap:8px;font-size:12px;color:#0865bb;padding:12px 18px}.section-link svg{width:14px;height:14px}
.calls-heading{flex-wrap:wrap;padding-bottom:11px}.call-tools{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0}.search-field{display:flex;align-items:center;gap:7px;border:1px solid #dbe4ed;border-radius:5px;min-width:70px;width:155px;padding:7px 9px}.search-field svg{width:14px;height:14px;color:#8494a9}.search-field input{border:0;outline:0;width:100%;min-width:0;background:none;font-size:11px;color:#233952}.search-field input::placeholder{color:#8193aa}.call-tools select{border:1px solid #dbe4ed;padding:7px 5px;border-radius:5px;font-size:11px;background:#fff;min-width:0;max-width:118px}.call-tools .icon-button{width:31px;height:31px}.call-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.call-table th{font-size:10px;font-weight:500;color:#263d56;background:#f5f8fb;padding:10px 12px;border-block:1px solid #e7edf3}.call-table td{font-size:11px;padding:11px 12px;border-bottom:1px solid #edf1f5;vertical-align:middle;line-height:1.35;overflow-wrap:anywhere}.call-table th:first-child,.call-table td:first-child{padding-left:18px;width:20%}.call-table th:nth-child(2){width:28%}.call-table th:nth-child(3){width:23%}.call-table th:nth-child(4){width:16%}.call-table th:last-child{width:13%}.caller-name{font-weight:500;display:block}.call-date{display:block;color:#8795a6;font-size:9px;margin-top:3px}.call-table .status-dot{width:7px;height:7px;margin-right:6px}.call-table td:last-child a{color:#0664c1;font-size:11px}.call-table tbody tr:hover{background:#fafcfd}.calls-footer{display:flex;justify-content:space-between;align-items:center;padding:11px 18px;font-size:11px;color:#52687f}.calls-footer>div{display:flex;gap:8px}.calls-footer .icon-button{width:30px;height:28px}.calls-footer svg{width:16px;height:16px}
.family-members{padding:7px 18px 13px;display:flex;gap:14px;flex-wrap:wrap}.family-member{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%}.family-member .avatar{width:30px;height:30px;font-size:10px}.family-member strong{display:block;font-size:10px;font-weight:500;overflow-wrap:anywhere;max-width:100px}.family-member small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.delivery-summary{padding:0 18px}.delivery-summary p{display:flex;gap:10px;align-items:center;font-size:11px;margin:10px 0;line-height:1.5}.delivery-summary svg{width:17px;height:17px}.family-actions{display:flex;align-items:center;gap:10px;padding-right:18px;flex-wrap:wrap}.family-actions .section-link{padding-right:0}.family-actions .text-button{font-size:10px}.inline-status{font-size:11px;padding:0 18px;color:#a2630a;line-height:1.5}.inline-status:empty{display:none}.notification-row{display:grid;grid-template-columns:66px 9px minmax(0,1fr) 110px;align-items:center;gap:10px;padding:11px 18px;border-top:1px solid #edf1f5;width:100%;background:none;text-align:left;border-inline:0;border-bottom:0;font-size:11px;line-height:1.4;cursor:pointer}.notification-row:hover{background:#f7fafc}.notification-row .status-dot{width:8px;height:8px}.notification-row time{font-size:10px}.notification-row .delivery{color:#5b7188;font-size:10px}.notification-row .delivery.failed{color:#b27112}.appointment-row{display:flex;align-items:flex-start;gap:12px;padding:13px 18px 19px;border-top:1px solid #eef2f5}.appointment-row>svg{width:22px;height:22px}.appointment-row strong{display:block;font-size:12px;line-height:1.5}.appointment-row p{font-size:11px;color:#6c7e94;line-height:1.5;margin:3px 0}.appointment-row a{color:#075db5;font-size:11px}.overview-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0 8px;font-size:10px;color:#8190a0;line-height:1.5}.overview-footer a{color:#52687f}
.verification-banner,.error-banner{padding:12px 15px;font-size:12px;border:1px solid #ebd9ba;background:#fff9ef;border-radius:5px;margin-bottom:12px;line-height:1.5}.verification-banner{display:flex;justify-content:space-between;gap:10px}.verification-banner button,.error-banner button{border:0;background:none;color:#065da9;font-size:12px;text-decoration:underline}.empty-account,.signed-out{padding:50px;max-width:580px;margin:10vh auto;background:#fff;border:1px solid var(--border);border-radius:6px}.empty-account h1,.signed-out h1{font-size:26px}.empty-account p,.signed-out p{font-size:14px;color:#6a7d92;line-height:1.6}.primary-button{display:inline-flex;background:var(--green);border:0;color:white;padding:11px 17px;border-radius:5px;font-size:13px;font-weight:600}.panel-error{padding:15px 18px;color:#9c5728;font-size:12px;line-height:1.6}.panel-error button{display:block;border:0;background:none;color:#075eb5;padding:5px 0;text-decoration:underline}dialog{width:min(480px,calc(100% - 28px));padding:0;border:1px solid var(--border);border-radius:8px;color:#19314a;box-shadow:0 16px 70px #14273d30}dialog::backdrop{background:#14283b55}dialog>header{padding:18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:10px}dialog h2{font-size:18px;margin:0}#detail-content{padding:20px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}#detail-content small{color:#698097}#overview-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:11px 17px;background:#173e35;color:#fff;border-radius:5px;font-size:13px;z-index:1000001}
.overview-page .ca-widget-container{right:22px!important;bottom:22px!important}.overview-page .ca-bubble{width:54px!important;height:54px!important}.overview-page .ca-bubble:after{content:'Ask Assist';position:absolute;right:64px;white-space:nowrap;background:#f3fbf7;color:#145840;padding:9px 13px;border:1px solid #d9e9e2;border-radius:20px;font-size:11px;box-shadow:0 2px 8px #14332708}.overview-page .ca-bubble[aria-expanded=true]:after{display:none}.overview-page .pa-assistant-highlight{outline:3px solid #de982c!important;outline-offset:4px!important}
@media(min-width:1450px){:root{--sidebar:225px}.surface-header h2{font-size:17px}.call-table td{font-size:12px}.care-row{font-size:12px}}
@media(max-width:1150px) and (min-width:701px){:root{--sidebar:185px}.overview-sidebar{padding-inline:8px}.brand{font-size:15px}.overview-sidebar>.brand{margin-inline:5px}.overview-header{padding-inline:18px}.header-tools{gap:7px}main{padding-inline:18px}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr);gap:13px}.readiness-strip>a,.readiness-strip>button{padding-inline:10px;font-size:10px}.metric{padding:14px 12px}.metric>span:not(#call-sparkline){font-size:12px}.surface-header{padding-inline:14px}.call-tools{width:100%}.search-field{flex:1}.family-members{gap:10px}.care-row{grid-template-columns:48px minmax(0,1fr);gap:7px}.care-row .state{grid-column:2}.range-control button{min-width:57px}.call-table td,.call-table th{padding-inline:7px}}
@media(max-width:700px){
:root{background:#f8fafb}.overview-sidebar,.desktop-heading,.desktop-tool,.header-avatar{display:none!important}.overview-content{margin:0;width:100%}.overview-header{height:64px;min-height:64px;padding:12px 17px;background:#fff;border-bottom:1px solid var(--border);gap:10px}.mobile-brand{display:flex;font-size:17px}.brand-symbol{width:25px;height:29px;border-radius:5px}.brand-symbol svg{width:19px;height:19px}.header-tools{gap:0}.bell-button{display:flex}.header-tools .range-control{display:none}.mobile-account{display:flex;margin:9px 13px 0;padding:7px 10px;background:#fff;border-color:#e5ebf0}.mobile-account select{font-size:13px}.mobile-account .avatar{width:29px;height:29px;font-size:10px}main{padding:8px 12px 86px}.readiness-strip{border:0;background:none;margin:0 0 9px;padding:3px 2px;min-height:26px;gap:8px;justify-content:flex-start}.readiness-strip>a:first-child{font-size:11px;gap:6px;border:0;padding:0}.readiness-strip>a:not(:first-child){display:none}.readiness-strip>button{padding:0;font-size:10px}.readiness-strip>button svg{display:none}.readiness-strip>button:before{content:'\00b7';margin-right:1px}.readiness-strip .status-dot{width:7px;height:7px}.metrics-grid{gap:7px;margin-bottom:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:70px;padding:12px 10px 11px 46px;gap:1px;justify-content:center}.metric>svg{position:absolute;left:12px;top:24px;width:23px;height:23px}.metric strong{font-size:21px}.metric>span:not(#call-sparkline){font-size:11px;line-height:1.3}.metric small,#call-sparkline{display:none}.overview-grid{display:flex;flex-direction:column;gap:12px}.surface{width:100%;border-radius:5px;scroll-margin-top:10px}.attention-surface{order:0}.care-surface{order:1}.calls-surface{order:2}.family-surface{order:3}.notifications-surface{order:4}.appointment-surface{order:5}.surface-header{padding:11px 13px;min-height:42px}.surface-header h2{font-size:15px;gap:8px}.count-badge{min-width:18px;height:18px;font-size:10px}.surface-list{padding:0 13px}.attention-row{gap:10px;padding:12px 0;grid-template-columns:10px minmax(0,1fr) 18px}.attention-row strong{font-size:12px}.attention-row p{font-size:10px;line-height:1.5;margin-top:3px}.attention-row .status-dot{width:10px;height:10px}.row-action{border:0;padding:0;background:none;font-size:0;width:18px}.row-action svg{width:15px;height:15px}.care-progress,.care-surface .surface-header small{display:none}.care-row{grid-template-columns:50px minmax(0,1fr) auto;gap:12px;padding:11px 0;font-size:11px}.care-row .state{white-space:normal;font-size:10px}.care-row time{font-size:10px}.care-surface .section-link{font-size:11px;padding:9px 13px}.calls-heading{flex-wrap:wrap}.mobile-only{display:block}.call-tools{display:none;width:100%}.calls-surface.expanded .call-tools{display:flex}.call-tools select{max-width:110px}.search-field{flex:1;width:auto}.call-table,.call-table tbody{display:block}.call-table thead{display:none}.call-table tr{display:grid;grid-template-columns:53px minmax(0,1fr) 84px 12px;gap:5px;align-items:center;padding:10px 13px;border-top:1px solid #edf1f5}.call-table td{padding:0!important;border:0;font-size:10px}.call-table td:first-child{width:auto}.call-table td:nth-child(2){font-size:11px}.call-table td:nth-child(4){display:none}.call-table td:last-child a{font-size:0;display:block;width:12px}.call-table td:last-child a:after{content:'\203a';font-size:20px;color:#49627c}.call-date{font-size:8px}.call-table .status-dot{width:6px;height:6px;margin-right:4px}.calls-surface:not(.expanded) .call-table tr:nth-child(n+3){display:none}.calls-surface:not(.expanded) .calls-footer{display:none}.calls-footer{padding:10px 13px}.family-members{padding:5px 13px 10px}.family-member strong{font-size:11px}.family-member small{font-size:10px}.delivery-summary{padding-inline:13px}.notification-row{grid-template-columns:47px 7px minmax(0,1fr);padding:11px 13px;gap:8px;font-size:11px}.notification-row .delivery{grid-column:3;font-size:10px;margin-top:-4px}.notification-row time{font-size:9px}.overview-footer{font-size:9px;padding:20px 2px 10px}.mobile-navigation{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #dfe7ed;padding:7px 5px calc(7px + env(safe-area-inset-bottom));z-index:100;height:calc(66px + env(safe-area-inset-bottom))}.mobile-navigation a,.mobile-navigation button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;min-width:0;border:0;background:none;font-size:10px;padding:3px;color:#243f5b}.mobile-navigation svg{width:21px;height:21px}.mobile-navigation .active{color:var(--green)}.mobile-navigation .count-badge{position:absolute;top:0;left:calc(50% + 5px)}.overview-page .ca-widget-container{right:16px!important;bottom:calc(79px + env(safe-area-inset-bottom))!important}.overview-page .ca-bubble{width:48px!important;height:48px!important}.overview-page .ca-bubble:after{display:none}.overview-page .ca-panel{max-height:calc(100dvh - 165px)!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important}.verification-banner{font-size:11px;display:block}.verification-banner button{display:block;padding:8px 0 4px}.signed-out{margin:8vh 15px;padding:25px}.empty-account{padding:25px;margin:20px 0}.header-tools .icon-button{width:32px}#overview-toast{bottom:80px}
}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}.icon-button,.metric,.nav-item,.row-action{transition:background .15s,border-color .15s}}
#mobile-range{display:none}@media(max-width:700px){#mobile-range{display:block;margin-left:auto;font-size:10px;max-width:78px;border:0;background:transparent;color:#536b81;padding:3px 0}.readiness-strip{flex-wrap:wrap}}
.overview-grid{grid-template-areas:none}.overview-primary,.overview-secondary{display:flex;flex-direction:column;gap:15px;min-width:0}
@media(min-width:701px) and (max-width:1150px){.care-row{grid-template-columns:48px minmax(0,1fr) auto}.care-row .state{grid-column:auto;font-size:10px}}
@media(max-width:700px){.overview-primary,.overview-secondary{display:contents}}
/* #684 Alert dots say how urgent an open alert is (red urgent, amber to review, grey reviewed); never blue or green. */
@media(max-width:700px){.care-surface .care-row:nth-child(n+3),.care-surface>.section-link{display:none}.surface{scroll-margin-bottom:140px}}
.inline-check{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#334155;cursor:pointer}.inline-check input{width:16px;height:16px;margin:0}

/* Phone views: the bottom bar switches screens and shows the active one */
.view-heading{display:none}
@media(max-width:700px){
.view-heading{display:block;font-size:24px;font-weight:800;letter-spacing:-.01em;color:#0f172a;margin:14px 0 2px}
.view-heading[hidden]{display:none}
body[data-view=calls] .metrics-grid,body[data-view=calls] .readiness-strip,body[data-view=calls] .surface:not(.calls-surface),body[data-view=calls] .overview-footer{display:none!important}
body[data-view=alerts] .metrics-grid,body[data-view=alerts] .readiness-strip,body[data-view=alerts] .surface:not(.notifications-surface),body[data-view=alerts] .overview-footer{display:none!important}
body[data-view=calls] .calls-surface,body[data-view=alerts] .notifications-surface{margin-top:8px}
.mobile-navigation a,.mobile-navigation button{z-index:0;border-radius:14px;color:#3c5166}
.mobile-navigation .active{color:#006da6}
.mobile-navigation .active::before{content:'';position:absolute;inset:3px 6px;border-radius:14px;background:#e5f0fa;z-index:-1}
.mobile-navigation .active span{font-weight:700}
}
/* #519 "Finish safety setup (2 minutes)" until the family list and the code word are in place. */
.safety-setup-card{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:14px;border-left:4px solid var(--green)}.safety-setup-card>svg{width:26px;height:26px;color:var(--green)}.safety-setup-card>div{flex:1;min-width:0}.safety-setup-card h2{margin:0 0 4px;font-size:16px;line-height:1.3;color:#12243d}.safety-setup-card p{margin:0;font-size:14px;line-height:1.45;color:#344a64}.safety-setup-start{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:6px;background:var(--green);color:#fff;font-weight:700;white-space:nowrap}@media(max-width:700px){.safety-setup-card{flex-wrap:wrap;align-items:flex-start}.safety-setup-card p{font-size:15px}.safety-setup-start{width:100%}}
/* #519 phase 5: today's daily check-in call (canvas: Dashboard, "Today"). */
.checkin-today{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:14px;border-left:4px solid #8aa0b6}.checkin-today-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#eef3f8;color:#344a64}.checkin-today-icon svg{width:20px;height:20px}.checkin-today-text{flex:1;min-width:0}.checkin-today h2{margin:0;font-size:17px;line-height:1.3;color:#12243d}.checkin-today p{margin:2px 0 0;font-size:15px;line-height:1.45;color:#344a64}.checkin-today-call{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:6px;background:var(--green);color:#fff;font-weight:700;white-space:nowrap}.checkin-today.tone-ok{border-left-color:var(--green)}.checkin-today.tone-ok .checkin-today-icon{background:#e3f4ec;color:#0b5c43}.checkin-today.tone-warn{border-left-color:#b45309}.checkin-today.tone-warn .checkin-today-icon{background:#fdf1e0;color:#8a4b08}.checkin-today.tone-alert{border-left-color:#b42318}.checkin-today.tone-alert .checkin-today-icon{background:#fde8e6;color:#9b1c12}@media(max-width:700px){.checkin-today{flex-wrap:wrap;align-items:flex-start}.checkin-today-call{width:100%}}

/* Calls and Alerts views on tablets and desktops too (phones have them above): the view shows only its own panel,
   full width. */
@media(min-width:701px){
body[data-view=calls] .metrics-grid,body[data-view=calls] .readiness-strip,body[data-view=calls] .safety-setup-card,body[data-view=calls] .checkin-today,body[data-view=calls] .surface:not(.calls-surface),body[data-view=calls] .overview-footer{display:none!important}
body[data-view=alerts] .metrics-grid,body[data-view=alerts] .readiness-strip,body[data-view=alerts] .safety-setup-card,body[data-view=alerts] .checkin-today,body[data-view=alerts] .surface:not(.notifications-surface),body[data-view=alerts] .overview-footer{display:none!important}
body[data-view=calls] .overview-grid,body[data-view=alerts] .overview-grid{display:flex;flex-direction:column;gap:15px}
body[data-view=calls] .overview-primary,body[data-view=calls] .overview-secondary,body[data-view=alerts] .overview-primary,body[data-view=alerts] .overview-secondary{display:contents}
}

/* Calls and Notifications as pages (2026-10-02, owner: "fix that"): full width at every size, their own tools, and
   none of the overview's "View all" toggles. */
body[data-view=calls] .overview-grid,body[data-view=alerts] .overview-grid{align-items:stretch}
body[data-view=calls] #calls-expand,body[data-view=calls] #all-history,body[data-view=alerts] #notifications-expand{display:none!important}
body[data-view=alerts] .range-control,body[data-view=alerts] #mobile-range{display:none!important}
.notification-tools,.notification-delivery{display:none}
body[data-view=alerts] .notifications-surface .surface-header{flex-wrap:wrap;gap:10px 16px}
body[data-view=alerts] .notification-tools{display:flex;align-items:center;gap:14px;margin-left:auto}
body[data-view=alerts] .notification-delivery{display:block;margin:0;padding:0 18px 12px;font-size:12px;line-height:1.5;color:#5b6f84}
.notification-delivery a{color:#0062bd}
.segmented{display:flex;border:1px solid #d9e3ed;border-radius:5px;overflow:hidden}
.segmented button{background:#fff;border:0;border-right:1px solid #d9e3ed;padding:7px 14px;font-size:12px;cursor:pointer}
.segmented button:last-child{border-right:0}
.segmented button[aria-pressed=true]{background:var(--green);color:#fff}
.notification-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.notification-kind{font-size:11px;font-weight:600;color:#475569}
.notification-call:hover{text-decoration:underline}
body[data-view=calls] .call-table th{font-size:12px}
body[data-view=calls] .call-table td{font-size:13px;padding-block:13px}
body[data-view=calls] .call-table th:first-child,body[data-view=calls] .call-table td:first-child{width:22%}
.call-when{white-space:nowrap}
.caller-number{display:block;margin-top:2px;font-size:11px;color:#6b7c8f}
@media(max-width:700px){
body[data-view=alerts] .notification-tools{width:100%;margin-left:0;justify-content:space-between}
body[data-view=alerts] .notification-delivery{padding:0 13px 11px}
body[data-view=calls] .call-table tr{grid-template-columns:86px minmax(0,1fr) 84px 12px}
body[data-view=calls] .call-table td{font-size:12px}
.call-when{white-space:normal;font-size:11px}
}

/* One layout for a notification on its page: date | dot | message (type, title, text, View call) | status. */
.notification-item{display:grid;grid-template-columns:72px 9px minmax(0,1fr) 120px;align-items:start;gap:10px;padding:14px 18px;border-top:1px solid #edf1f5;cursor:pointer}
.notification-item:hover{background:#f8fafc}
.notification-item time{font-size:12px;line-height:1.45;color:#5b6f84}
.notification-item .status-dot{margin-top:6px}
.notification-title{all:unset;cursor:pointer;font-size:14px;font-weight:600;line-height:1.35;color:#14263a}
.notification-title:hover{text-decoration:underline}
.notification-title:focus-visible{outline:2px solid #0062bd;outline-offset:2px;border-radius:2px}
.notification-item.reviewed .notification-title{font-weight:500;color:#42566b}
.notification-summary{margin:0;font-size:13px;line-height:1.5;color:#42566b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.notification-call{align-self:flex-start;margin-top:3px;font-size:13px;font-weight:500;color:#0062bd}
.notification-item .delivery{font-size:12px;line-height:1.45;text-align:right;color:#5b6f84}
.notification-item .delivery.failed{color:#b42318}
@media(max-width:700px){
.notification-item{grid-template-columns:52px 8px minmax(0,1fr);gap:8px;padding:13px}
.notification-item .delivery{grid-column:3;text-align:left}
}
/* #261 The chat launcher sits over the footer's right end (on a phone, and on a desktop scrolled to the bottom). Keep the footer clear of it, readable, and the Privacy link a full tap target. */
.overview-footer{justify-content:flex-start;align-items:center;flex-wrap:wrap;column-gap:16px;padding-right:200px;font-size:12px}
.overview-footer a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){
.overview-footer{flex-direction:column;align-items:flex-start;gap:2px;padding:20px 76px 12px 2px;font-size:14px}
.overview-footer a{display:inline-flex;align-items:center;min-height:44px}
}

/* #134 #171 Phone: the page's one h1 shows under the person picker (placeHeading moves it there), every control is at
   least 44px to tap, and row actions stay inside their card. Text controls get an invisible 44px hit area (padding
   offset by an equal negative margin), so nothing on the page moves. */
@media(max-width:700px){
.desktop-heading.phone-heading{display:block!important;margin:16px 4px 4px}
.phone-heading h1{font-size:24px;font-weight:700;line-height:1.25;margin:0;color:#21313e}
.phone-heading p{display:none}
#line-readiness,#refresh-status{display:inline-flex;align-items:center;min-height:44px;margin-block:-13px}
.text-button{display:inline-flex;align-items:center;min-height:44px;padding-block:0;margin-block:-13px}
.attention-row{grid-template-columns:10px minmax(0,1fr) auto}
.attention-row .row-action{width:auto;min-width:44px;min-height:44px;margin-block:-10px;padding:0 0 0 6px;gap:2px}
.segmented button{min-height:44px}
.notification-title{display:inline-flex;align-items:center;min-height:44px;margin-block:-13px}
.notification-call{display:inline-flex;align-items:center;min-height:44px;margin-block:-12px}
.notification-delivery a{display:inline-flex;align-items:center;min-height:44px;margin-block:-13px}
.care-row,.section-link{min-height:44px}
.call-table tr{position:relative}
.call-table td:last-child a{position:absolute;inset:-1px 0 0;width:auto;display:flex;align-items:center;justify-content:flex-end;padding-right:13px}
#calls-prev,#calls-next{width:44px;height:44px}
/* The h1 names the Calls and Notifications pages on a phone, so their old h2 title would repeat it. */
.view-heading{display:none!important}
/* A desktop column width (22%) squeezed the Calls page date into 19px of its 86px column: Oct / 2, / 12: / 20 / PM. */
body[data-view=calls] .call-table td:first-child{width:auto}
/* Each row is one line with its own divider; the desktop cell borders drew a line under every cell. */
.call-table tr{min-height:44px}
.call-table td{border-bottom:0!important}
}

/* #216 The status sentence: one quiet banner at the top, green when nothing needs the family, amber when something
   does, red when the service is stopped. 16px everywhere, as the reference. */
.status-banner{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:8px;background:#e7f2fa;color:#0b5c43;margin:0 0 14px}
.status-banner[hidden]{display:none}
.status-banner.needs{background:#fdf3e2;color:#7a4e04}
.status-banner.stopped{background:#fdecea;color:#8a1f11}
.status-banner .status-dot{flex:none;margin-top:7px}
.status-banner:has(.status-action:not([hidden])){align-items:center}.status-banner:has(.status-action:not([hidden])) .status-dot{margin-top:0}
.status-banner p{margin:0;font-size:16px;line-height:1.5;flex:1}
.status-action{flex:none;align-self:center;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:6px;background:#fff;border:1px solid currentColor;color:inherit;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.status-action:hover{background:rgba(255,255,255,.7)}
.status-action[hidden]{display:none}
body.line-ready #ref-sidebar .ref-nav a[href="/onboarding.html"]{display:none}
.status-banner strong{font-weight:700}
@media(max-width:700px){.status-banner{margin:4px 4px 12px;flex-wrap:wrap}.status-banner p{font-size:15px;flex-basis:calc(100% - 30px)}.status-action{margin-left:22px}.status-banner:has(.status-action:not([hidden])){align-items:flex-start}.status-banner:has(.status-action:not([hidden])) .status-dot{margin-top:7px}}
.attention-tools{display:flex;align-items:center;gap:16px;margin-left:auto}
/* #684 Repeated alerts collapse to one row with how many times. */
.alert-times{display:block;font-size:11px;font-weight:600;color:#9a5b05;margin:2px 0 0}
p.alert-times{margin:0 0 4px}
/* #684 Loading reads as loading (a moving dot row), not as an empty list. */
.empty.loading{color:#405765;font-style:normal}
.empty.loading::after{content:'';display:inline-block;width:1.4em;text-align:left;animation:pa-loading-dots 1.2s steps(4,end) infinite}
@keyframes pa-loading-dots{0%{content:''}25%{content:'.'}50%{content:'..'}75%{content:'...'}}
@media(prefers-reduced-motion:reduce){.empty.loading::after{animation:none;content:'...'}}
/* #684 The line chip says what isn't covered in amber, with the fix on the link. */
.readiness-strip>a[data-tone=warn]{color:#8a4b00}.readiness-strip>a[data-tone=stopped]{color:#a1191f}
/* #684 Daily activity: the card's text keeps the same side margins as its heading. */
.activity-surface .activity-card{padding:0 18px 16px;font-size:14px;line-height:1.5}
.activity-surface .activity-card>.surface-header{padding-inline:0}
.activity-surface .activity-card ul{padding-left:1.1em;list-style:disc}
.activity-surface .activity-card li{margin:.2rem 0}
@media(max-width:700px){.activity-surface .activity-card{padding:0 13px 14px}}
.activity-surface .activity-card svg,.activity-surface .activity-card .activity-axis{max-width:640px}
/* #684 round 2: formatted numbers stay on one line; the Result column says what happened; the alarm option wraps
   inside its card on a phone. */
.phone-number{white-space:nowrap;overflow-wrap:normal}
/* CLARITY-04: a label that wraps on a phone wraps evenly ("Loved one / said no", not "Loved one said / no"). */
.call-result{display:inline-flex;flex-direction:column;vertical-align:middle;line-height:1.25;text-wrap:balance}
.call-result small{font-size:.9em;color:#516579}
.family-actions .inline-check{display:flex;align-items:flex-start;flex:1 1 100%;min-width:0;white-space:normal;line-height:1.4}
.family-actions .inline-check input{flex:0 0 auto;margin-top:1px}
.family-actions{padding:0 18px 8px;column-gap:16px;row-gap:4px}
.family-actions .section-link{padding-inline:0}
@media(max-width:700px){.family-actions{padding-inline:13px}}
.call-table .result-cell{display:inline-flex;align-items:flex-start;gap:0}
.call-table .result-cell .status-dot{flex:0 0 auto;margin-top:.45em}
@media(max-width:700px){.call-tools .search-field{flex:1 1 55%;min-width:0}.call-tools .search-field input{min-width:0;width:100%}.call-tools select{flex:0 1 auto;min-width:0;max-width:45%}}

/* #684 round 2: a call's date and time stay on one line on phones */
.call-date{white-space:nowrap}
