#network-activity{position:fixed;z-index:1100;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:calc(100vw - 28px);width:max-content;padding:12px 18px;border:1px solid #cddae9;border-radius:12px;background:#fff;color:#19384b;box-shadow:0 6px 24px #19384b26;font-size:13px;pointer-events:none}
#network-activity[hidden],#pending-notification[hidden]{display:none!important}
#network-activity small{flex-basis:100%;font-size:11px;max-width:350px;line-height:1.6}
.activity-spinner{display:inline-block;flex:none;width:18px;height:18px;border:2px solid #d6e1ef;border-top-color:#3458d5;border-radius:50%;animation:activity-spin .8s linear infinite}
.is-refreshing .ui-icon{animation:activity-spin .8s linear infinite}.is-refreshing{cursor:progress}
@keyframes activity-spin{to{transform:rotate(360deg)}}
#pending-notification{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:12px 20px;background:#eaf1ff;border-bottom:1px solid #cfdaed;font-size:13px}
.notification-target{outline:3px solid #385bce;outline-offset:4px;scroll-margin-top:100px}
.schedule-utilities{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.schedule-utilities button{min-height:42px}
.board-entry{display:flex;align-items:center;justify-content:space-between;gap:16px}.board-entry p{margin-top:5px;font-size:12px;color:var(--muted)}
@media(max-width:760px){#navigation{grid-template-columns:repeat(var(--nav-count,5),minmax(0,1fr))!important}.nav-item{min-width:0;padding-left:3px!important;padding-right:3px!important}.nav-item>span:last-child{font-size:10px;white-space:nowrap}.board-entry{align-items:flex-start;flex-direction:column}.schedule-utilities{gap:6px}.schedule-utilities button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.activity-spinner,.is-refreshing .ui-icon{animation:none!important}}
@media (max-width: 420px) {
  #navigation .nav-item > span:last-child {
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    line-height: 1.25;
  }
}
/* The home greeting needs the full phone width for long display names. */
@media(max-width:620px){.page-heading:not(.birthday-home):has(#page-title>span){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.page-heading:not(.birthday-home):has(#page-title>span)>div{display:contents}.page-heading:not(.birthday-home):has(#page-title>span) .eyebrow{grid-column:1/-1;grid-row:1}.page-heading:not(.birthday-home):has(#page-title>span) h1{grid-column:1/-1;grid-row:2}.page-heading:not(.birthday-home):has(#page-title>span) p:not(.eyebrow){grid-column:1;grid-row:3;align-self:center;margin:0}.page-heading:not(.birthday-home):has(#page-title>span)>button{grid-column:2;grid-row:3;align-self:center}.page-heading #page-title>span{text-wrap:balance}}
