/* Calendar notifications sit directly below the phone's status bar. */
#services .ios-portal:has(.buying-screen:not([hidden]) .meeting-notifications) .ios-navigation{display:none}
#services .ios-portal .calendar-outcome-key.meeting-notifications{position:relative;display:block;height:68px;overflow:hidden;margin:0 0 14px;padding:0;background:none;border-radius:0}
#services .ios-portal .meeting-notifications>div{position:absolute;inset:3px 1px;box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:3px;align-content:center;min-width:0;padding:10px 12px;border:1px solid #ffffff9e;border-radius:18px;background:rgba(229,229,235,.82);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 2px 6px #1c1c1e0a,inset 0 1px 0 #ffffff80;color:#1c1c1e;visibility:hidden;transform:translateY(calc(100% + 8px));animation:none;transition:none}
#services .ios-portal .meeting-notifications>div[data-active]{visibility:visible;transform:translateY(0)}
#services .ios-portal .meeting-notifications>div:last-child{border-bottom:1px solid #ffffff9e}
#services .ios-portal .meeting-notifications .notification-app-icon{grid-area:1/1/3/2;align-self:center;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000000d}
#services .ios-portal .meeting-notifications .notification-app-icon img{width:26px;height:26px;object-fit:contain;filter:none;opacity:1}
#services .ios-portal .meeting-notifications .notification-app-name{grid-area:1/2;font-size:11px;line-height:14px;color:#636369;font-weight:500;letter-spacing:0}
#services .ios-portal .meeting-notifications .notification-credit{grid-area:2/2;display:block;font-size:14px;font-weight:600;line-height:18px;min-width:0;letter-spacing:0}
/* One mobile day: event heights follow the same hourly scale as the grid. */
#services .ios-portal:has(.buying-screen:not([hidden]) .mobile-calendar),
#services .ios-portal:has(.buying-screen:not([hidden]) .mobile-calendar) .buying-phone-foot,
#services .ios-portal:has(.buying-screen:not([hidden]) .mobile-calendar) .iphone-status{background:#fff}
#services .ios-portal .buying-screen:has(.mobile-calendar){padding:8px 0 0;background:#fff}
#services .ios-portal .buying-screen:has(.mobile-calendar) .meeting-notifications{margin:0 10px 8px}
#services .ios-portal .mobile-calendar{--calendar-hour:72px;position:relative;box-sizing:border-box;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff;color:#202124;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
#services .mobile-calendar-toolbar{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px}
#services .mobile-calendar-toolbar img{display:block;width:18px;height:18px;filter:none;opacity:.8}
#services .mobile-calendar-menu,#services .mobile-calendar-search{flex:0 0 18px}
#services .mobile-calendar-month{display:flex;align-items:center;gap:4px;flex:1;min-width:0;font-size:16px;font-weight:400;white-space:nowrap}
#services .mobile-calendar-month img{width:12px;height:12px}
#services .mobile-calendar-today{display:grid;place-items:center;box-sizing:border-box;width:18px;height:18px;flex:0 0 18px;border:1.5px solid #5f6368;border-radius:3px;font-size:10px;font-weight:600;line-height:1}
#services .mobile-calendar-account{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#e8eaf6;color:#3949ab;font-size:12px;font-weight:600}
#services .mobile-calendar-day-heading{display:flex;align-items:center;gap:6px;box-sizing:border-box;height:48px;border-bottom:1px solid #e8eaed}
#services .mobile-calendar-timezone{flex:0 0 44px;align-self:flex-end;padding-bottom:6px;text-align:center;font-size:8px;color:#70757a}
#services .mobile-calendar-date{display:flex;flex-direction:column;align-items:center;gap:2px;color:#5f6368}
#services .mobile-calendar-date>span{font-size:9px;font-weight:500;line-height:1.3}
#services .mobile-calendar-date>b{display:grid;place-items:center;width:29px;height:29px;font-size:20px;font-weight:400;line-height:1}
#services .mobile-calendar-date.is-today{color:#1a73e8}
#services .mobile-calendar-date.is-today>b{background:#1a73e8;border-radius:50%;color:#fff}
#services .mobile-calendar-viewport{height:var(--calendar-viewport-height,330px);min-height:224px;overflow:hidden}
#services .mobile-calendar-timeline{position:relative;padding-top:8px}
#services .mobile-calendar-hour{position:relative;box-sizing:border-box;height:var(--calendar-hour);margin-left:44px;border-top:1px solid #e8eaed}
#services .mobile-calendar-hour>span{position:absolute;top:-6px;right:calc(100% + 7px);width:34px;text-align:right;font-size:9px;line-height:12px;color:#70757a}
/* Shared event markup and colour keep the qualified meeting steady on both slides. */
#services .mobile-calendar-event{position:absolute;top:calc(8px + var(--start)*var(--calendar-hour));left:50px;right:10px;height:calc(var(--duration)*var(--calendar-hour) - 2px);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;padding:4px 8px;border:1px solid #ffffff80;border-left:3px solid var(--event-accent);border-radius:6px;box-shadow:inset 0 1px 0 #ffffff80,0 1px 2px #20212408;opacity:1;transform:none;animation:none;transition:none;will-change:auto}
#services .mobile-calendar-event strong{font-size:13px;font-weight:600;line-height:15px;letter-spacing:0}
#services .mobile-calendar-event span,#services .mobile-calendar-event small{display:block;font-size:10px;line-height:12px;font-weight:400;letter-spacing:0}
#services .mobile-calendar-qualified{--event-accent:#58a98c;background:linear-gradient(135deg,#e6f5ee,#cde9dc);color:#265e49}
#services .mobile-calendar-unqualified{--event-accent:#ce858d;background:linear-gradient(135deg,#fbedef,#f1dadd);color:#864650}
#services .mobile-calendar-team{--event-accent:#86a6d4;background:linear-gradient(135deg,#edf3fc,#dee9f8);color:#365880}
#services .mobile-calendar-proposals{--event-accent:#ad9ac6;background:linear-gradient(135deg,#f3eff8,#e9e0f3);color:#64507c}
#services .mobile-calendar-personal{--event-accent:#bdab81;background:linear-gradient(135deg,#faf6ed,#f0e8d5);color:#756443}
#services .mobile-calendar-create{position:absolute;z-index:2;right:12px;bottom:12px;box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffffd9;border-radius:14px;background:linear-gradient(145deg,#ffffffd9,#f3f6fbb8);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:inset 0 1px 0 #fff,0 3px 12px #3c404326,0 0 0 .5px #d9dfe680}
#services .mobile-calendar-create img{width:25px;height:25px;filter:invert(35%) sepia(87%) saturate(2398%) hue-rotate(204deg);opacity:1}
@media(max-width:760px){
 #services .ios-portal:has(.mobile-calendar){-webkit-text-size-adjust:100%;text-size-adjust:100%}
 #services .buying-screen:has(.mobile-calendar) .device-content{zoom:1!important}
 #services .ios-portal .calendar-outcome-key.meeting-notifications{height:96px}
 #services .ios-portal .meeting-notifications>div{grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:4px;padding:16px;border-radius:23px;background:linear-gradient(145deg,#efeff4ed,#e5e5eced);box-shadow:0 3px 10px #1c1c1e0a,inset 0 1px 0 #ffffffb3}
 #services .ios-portal .meeting-notifications .notification-app-icon{width:40px;height:40px;border-radius:11px}
 #services .ios-portal .meeting-notifications .notification-app-icon img{width:32px;height:32px}
 #services .ios-portal .meeting-notifications .notification-app-name{font-size:14px;line-height:18px}
 #services .ios-portal .meeting-notifications .notification-credit{font-size:17px;line-height:22px}
 #services .ios-portal .mobile-calendar{--calendar-hour:90px;--calendar-gutter:54px}
 #services .mobile-calendar-toolbar{height:56px;padding:0 16px;border-bottom:1px solid #e8eaed}
 #services .mobile-calendar-month{font-size:20px;font-weight:600;line-height:26px}
 #services .mobile-calendar-menu,#services .mobile-calendar-search,#services .mobile-calendar-today,#services .mobile-calendar-account{display:none}
 #services .mobile-calendar-day-heading{position:absolute;top:0;right:16px;height:56px;padding:0;border:0}
 #services .mobile-calendar-date{flex-direction:row;gap:7px}
 #services .mobile-calendar-date>span{font-size:10px;line-height:14px}
 #services .mobile-calendar-date>b{width:30px;height:30px;font-size:20px;font-weight:500}
 #services .mobile-calendar-timezone,#services .mobile-calendar-event>span{display:none}
 #services .mobile-calendar-viewport{min-height:0}
 #services .mobile-calendar-hour{margin-left:var(--calendar-gutter)}
 #services .mobile-calendar-hour>span{right:calc(100% + 8px);width:42px;font-size:11px;line-height:15px;white-space:nowrap;font-variant-numeric:tabular-nums;word-break:normal;overflow-wrap:normal}
 #services .mobile-calendar-event{left:calc(var(--calendar-gutter) + 4px);right:10px;padding:6px 9px;gap:3px}
 #services .mobile-calendar-event strong{font-size:15px;line-height:20px}
 #services .mobile-calendar-event small{font-size:12px;line-height:16px}
}
/* Short phones start at 9:30 so both meeting outcomes remain in view. */
@media(max-width:760px) and (max-height:820px) and (prefers-reduced-motion:no-preference){
 #services .mobile-calendar-timeline{transform:translateY(calc(-8px - var(--calendar-hour)*.5))}
}
/* On short screens, focus the day view on the meeting described by the slide. */
@media(max-width:760px) and (max-height:760px) and (prefers-reduced-motion:no-preference){
 #services #buying-screen-2 .mobile-calendar-timeline{transform:translateY(calc(-1*var(--calendar-hour)))}
 #services #buying-screen-3 .mobile-calendar-timeline{transform:translateY(calc(-2*var(--calendar-hour)))}
}
@media(max-width:360px){
 #services .ios-portal .meeting-notifications>div{column-gap:10px;padding-inline:12px}
 #services .mobile-calendar-toolbar{padding-inline:12px}
 #services .mobile-calendar-month{font-size:18px}
 #services .mobile-calendar-day-heading{right:12px}
 #services .mobile-calendar-event{padding-inline:6px}
 #services .mobile-calendar-create{width:40px;height:40px;border-radius:13px}
}
