.profile-modules{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}
.profile-emergency-panel{padding:24px!important}.profile-emergency-panel .profile-panel-title h2{font-size:16px;line-height:1.5}.profile-emergency-panel .profile-panel-title{padding-bottom:14px}.profile-emergency-panel .home-emergency-status{font-size:12px;color:#7c94b5;line-height:1.8;margin:19px 0}.profile-emergency-panel .home-emergency-account{margin:14px 0 5px;font-size:10px;letter-spacing:1px;color:#7593b9}.profile-emergency-panel .home-emergency-list{list-style:none;display:block;padding:0;margin:0}.profile-emergency-panel .home-emergency-list>li{padding:15px 0 13px;border-bottom:1px solid #cbdcf080;min-width:0}.profile-emergency-panel .home-emergency-list>li:last-child{border-bottom:0}.profile-emergency-panel .home-emergency-call-heading{display:grid;grid-template-columns:55px minmax(0,1fr);gap:10px;align-items:start}.profile-emergency-panel .home-emergency-order{font-size:9px;font-weight:700;color:#4388e0;letter-spacing:.6px;line-height:1.7;padding-top:1px}.profile-emergency-panel .home-emergency-role{font-size:12px;line-height:1.65;font-weight:600;color:#294f80;overflow-wrap:anywhere}.profile-emergency-panel .home-emergency-person{display:block;margin:5px 0 0 65px;font-size:12px;line-height:1.6;color:#5778a3;overflow-wrap:anywhere}.profile-emergency-panel .home-emergency-phone{display:block;width:fit-content;max-width:calc(100% - 65px);font-size:16px;line-height:1.5;font-weight:600;color:#2278e5;text-decoration:none;margin:5px 0 0 65px;overflow-wrap:anywhere}.profile-emergency-panel .home-emergency-phone[href]:hover{text-decoration:underline}.profile-emergency-panel .home-emergency-all{margin-top:7px;padding-top:12px;display:block;width:fit-content;color:#287ce8;text-decoration:none;font-size:11px}.profile-emergency-panel .home-emergency-all:hover{text-decoration:underline}
@media(max-width:1350px){.profile-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-activity-panels{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.profile-modules{grid-template-columns:minmax(0,1fr)}.profile-activity-panels{grid-column:auto;grid-template-columns:minmax(0,1fr)}.profile-emergency-panel{padding:22px!important}}

.profile-emergency-panel .home-emergency-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px}.profile-emergency-panel .home-emergency-call-heading{grid-column:1;grid-row:1}.profile-emergency-panel .home-emergency-person{grid-column:1;grid-row:2}.profile-emergency-panel .home-emergency-list .home-emergency-phone{grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:end;text-align:right;margin:0;max-width:145px;font-size:14px}.profile-emergency-panel .home-emergency-list>li:not(:has(.home-emergency-person)) .home-emergency-phone{grid-row:1}
@media(max-width:480px){.profile-emergency-panel .home-emergency-list>li{column-gap:12px}.profile-emergency-panel .home-emergency-call-heading{grid-template-columns:minmax(0,1fr);gap:3px}.profile-emergency-panel .home-emergency-person{margin-left:0}.profile-emergency-panel .home-emergency-list .home-emergency-phone{max-width:130px}}

.profile-page .profile-dashboard{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}.profile-page .profile-dashboard>.profile-side-panels{grid-column:auto;margin-top:0}.profile-page .profile-dashboard>.profile-activity-panels{display:grid;grid-column:auto;grid-template-columns:minmax(0,1fr);margin-top:0;align-content:start}
@media(max-width:1350px){.profile-page .profile-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-dashboard>.profile-activity-panels{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.profile-page .profile-dashboard{grid-template-columns:minmax(0,1fr)}.profile-page .profile-dashboard>.profile-activity-panels{grid-column:auto;grid-template-columns:minmax(0,1fr)}}

/* Profile presentation only. The panel, its script, and checklist data stay in the page. */
body[data-workspace-page="profile"] .profile-emergency-panel{display:none!important}
body[data-workspace-page="profile"] .profile-dashboard>.profile-side-panels:has(>.profile-emergency-panel):not(:has(>:not(.profile-emergency-panel))){display:none!important}
body[data-workspace-page="profile"] .profile-dashboard{grid-template-columns:minmax(0,1fr)}
body[data-workspace-page="profile"] .profile-dashboard>.profile-activity-panels{grid-column:auto;grid-template-columns:minmax(0,1fr);max-width:none;width:auto}
@media(min-width:901px){body[data-workspace-page="profile"] .profile-dashboard:not(:has(.profile-activity-panels>section[hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}}
