/* Contain the document, while nested table and planner scrollers stay native. */
html:has(.shell){overscroll-behavior-x:none;overflow-x:clip}
.shell{width:100%;min-width:0;max-width:100%}
.shell>.content,.shell>.topbar,.shell>.content>*{min-width:0;max-width:100%}
.topbar{background:linear-gradient(180deg,#174c4f 0%,#205a54 100%);box-shadow:0 3px 16px #173d3e12}
@media(max-width:1099px){
 .topbar{height:auto;min-height:68px;padding:10px 14px;gap:10px;border-bottom:1px solid #ffffff12}
 .topbar-business{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;height:auto}
 .topbar-business .app-business{max-width:100%;font-size:14px;font-weight:650;letter-spacing:-.15px}
 .topbar-business .header-date{max-width:100%;font-size:11px;color:#c3ddd3;margin:0;padding:0;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar .menu-button,.topbar #notification-slot .icon-button{width:40px;height:40px;min-height:40px;min-width:40px;padding:8px;flex:none;border-radius:14px;border:1px solid #ffffff18;background:#ffffff0b;box-shadow:inset 0 1px 0 #ffffff08}
 .topbar .menu-button:active,.topbar #notification-slot .icon-button:active{background:#ffffff25}
 .topbar #notification-slot{display:flex;flex:none;align-items:center}
 .topbar .location-picker{max-width:120px;min-width:0;margin:0;flex:none}
 .topbar .location-picker select{width:100%;min-width:0;max-width:120px;border-radius:12px;background-color:#ffffff10;border-color:#ffffff26}
}
@media(max-width:700px){
 .topbar:has(.location-picker option:nth-child(2)){display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:8px 10px}
 .topbar:has(.location-picker option:nth-child(2))>.menu-button{grid-column:1;grid-row:1}
 .topbar:has(.location-picker option:nth-child(2))>.topbar-business{grid-column:2;grid-row:1}
 .topbar:has(.location-picker option:nth-child(2))>#notification-slot{grid-column:3;grid-row:1}
 .topbar:has(.location-picker option:nth-child(2))>.location-picker{grid-column:1/-1;grid-row:2;width:100%;max-width:none}
 .topbar:has(.location-picker option:nth-child(2))>.location-picker select{max-width:none;min-height:40px}
}
@media(min-width:1100px){.topbar #notification-slot .icon-button,.topbar>.desktop-account>summary{border:1px solid #ffffff18;border-radius:12px}.desktop-navigation{border-top-color:#ffffff1c}}
.topbar .location-picker select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23d6e9e0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")!important}
@media(forced-colors:active){.topbar .location-picker select{background-image:none!important}}
/* Let the gradient fill the iPhone status area, with controls below it. */
:root{--app-safe-top:env(safe-area-inset-top,0px)}
@media(max-width:1099px){
 .topbar{padding-top:calc(10px + var(--app-safe-top));min-height:calc(68px + var(--app-safe-top))}
 #navigation .drawer-heading{height:calc(62px + var(--app-safe-top));padding-top:calc(12px + var(--app-safe-top))}
 .event-workspace-page .workflow-tabs{top:calc(68px + var(--app-safe-top))}
}
@media(max-width:700px){.shell:has(.topbar .location-picker option:nth-child(2)) .event-workspace-page .workflow-tabs{top:calc(109px + var(--app-safe-top))}}
@media(min-width:1100px){.topbar{padding-top:var(--app-safe-top);min-height:calc(108px + var(--app-safe-top))}.event-workspace-page .workflow-tabs{top:calc(108px + var(--app-safe-top))}}
/* iOS can sample the document canvas instead of the header for system chrome. */
html,body,[data-theme=dark] body{background-color:#174c4f}
.shell{background-color:#f5f7f5}
[data-theme=dark] .shell{background-color:#111c1d}
