.nav-group{position:relative;min-width:0}.nav-group summary{list-style:none;cursor:pointer;user-select:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary::after{content:'⌄';font-size:14px;margin-left:3px}.nav-group summary:focus-visible{outline:2px solid #42c7cf;outline-offset:2px}.nav-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:100;display:grid;gap:5px;min-width:min(264px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:var(--submenu-max-height,calc(100dvh - 28px));overflow-y:auto;overscroll-behavior:contain;translate:var(--submenu-shift-x,0px) var(--submenu-shift-y,0px);padding:8px;border:1px solid #3b626a;border-radius:6px;background:#101b1f;box-shadow:0 12px 28px #0008}.nav-menu button{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:left}.nav-menu button>span{min-width:0}.nav-group[open]>summary,.nav-group summary[aria-current=page]{background:#1d4148;color:#fff;border-color:#3ec5cf}.location-switcher{display:flex;min-width:0;max-width:240px}.location-trigger{flex:none;line-height:1.25;justify-content:space-between;max-width:100%;display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:7px 11px;background:#13262b;color:#fff;border:1px solid #2b4c53;border-radius:6px;font:700 14px var(--font-ui)}.location-trigger:hover{background:#1d4148;color:#fff;transform:none}.location-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Location workflow owns its layout; product forms cannot supply its spacing. */
dialog.shared-modal.gs-location-dialog{--shared-dialog-width:600px;font:400 16px/1.5 var(--font-ui)}.gs-location-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:16px}.gs-location-dialog .dialog-head .dialog-title{margin:0;padding:0;font:700 18px/1.35 var(--font-ui);color:var(--teal)}.gs-location-dialog .modal-close{position:static}.gs-location-dialog .dialog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0;padding-top:16px;border-top:1px solid var(--line)}
.gs-location-form{display:grid;gap:18px;margin:18px 0 0}.gs-location-form>label{display:grid;gap:6px;margin:0;font-weight:650;min-width:0}.gs-location-form>[role=status]:empty{display:none}.gs-location-form>[role=status]{margin:0;overflow-wrap:anywhere}.gs-location-form .gs-calendar-connection{margin:0}.gs-location-form .gs-calendar-connection>div:first-child{font-weight:650}.gs-location-form .gs-calendar-providers{gap:12px}.gs-location-form button{margin:0}
.location-choices{display:grid;gap:10px;margin:18px 0}.location-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;text-align:left;padding:12px 14px;border:1px solid #2b4c53;border-radius:6px;background:#13262b;color:#fff;font:600 16px/1.4 var(--font-ui)}.location-choice>span{min-width:0;overflow-wrap:anywhere}.location-choice[aria-current]{border-color:var(--teal)}.location-choice small{flex:none;color:var(--teal);font-size:13px}.gs-location-dialog [hidden]{display:none}

@media(max-width:700px){.location-switcher{max-width:175px}.location-trigger{font-size:13px;padding:6px 9px}.nav-menu{min-width:min(264px,calc(100vw - 28px))}.nav-group summary::after{position:absolute;right:7px;top:7px}}
.account-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}.account-settings{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #2b4c53;border-radius:6px;background:#13262b;color:#eef4f4}.account-settings svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.account-settings:hover{background:#1d4148;color:#fff;transform:none}.account-settings[aria-current=page]{border-color:#42c7cf;background:#1d4148}
.product-chrome{position:sticky;top:0;z-index:50;isolation:isolate;padding-top:env(safe-area-inset-top,0px);background:#080c0e}.product-header{margin:0;border:0;background:#080c0e;color:#eef4f4}.product-header-content{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1560px;min-height:76px;margin:auto;padding:9px var(--gs-page-edge-right,30px) 9px var(--gs-page-edge-left,30px)}.product-header a{display:block;width:245px;max-width:48%}.product-header img{display:block;max-width:100%;max-height:58px;object-fit:contain;object-position:left center;filter:none;opacity:1}.product-header .brand{display:flex;align-items:center;gap:13px;min-width:0}.product-header .brand img{width:43px;height:43px}.product-header .brand strong{display:block;color:#f4f7f6;font:700 18px/1.2 'DM Sans',Arial,sans-serif;letter-spacing:.13em}.product-header .brand span{display:block;margin-top:6px;color:#42c7cf;font:600 11px/1.25 'DM Sans',Arial,sans-serif;letter-spacing:.08em}.product-nav-bar{display:flex;align-items:center;gap:12px;max-width:1560px;margin:auto;padding:6px var(--gs-page-edge-right,30px) 12px var(--gs-page-edge-left,30px);border-bottom:1px solid #203238}.product-menu{display:grid;align-items:center;grid-template-columns:repeat(var(--menu-columns,6),minmax(0,1fr));flex:1;gap:6px;min-width:0;margin:0;padding:0;border:0;background:transparent}.product-menu>button,.product-menu summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:11px 14px;border:1px solid #2b4c53;border-radius:7px;background:#13262b;color:#fff;font:700 18px/1.25 'DM Sans',Arial,sans-serif}.product-menu svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.product-menu>button:hover,.product-menu summary:hover,.product-menu .nav-menu button:hover{background:#1d4148;border-color:#42c7cf;color:#65d9df;box-shadow:0 0 12px #42c7cf24;transform:none}.product-menu>button[aria-current=page],.product-menu summary[aria-current=page]{background:#1d4148;border-color:#3ec5cf;color:#fff}.product-menu .nav-menu button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #2b4c53;border-radius:5px;background:#13262b;color:#fff;font:700 16px/1.25 'DM Sans',Arial,sans-serif}.product-menu .nav-menu button[aria-current=page]{background:#1d4148;border-color:#3ec5cf}.product-menu .nav-group:last-child .nav-menu{left:auto;right:0}.product-footer{display:flex;flex-direction:column;gap:16px;max-width:1560px;margin:32px auto 0;padding:20px 30px max(24px,env(safe-area-inset-bottom,0px));border-top:1px solid #293b40;background:transparent;color:#aabbbd;font:400 14px/1.4 'DM Sans',Arial,sans-serif}.footer-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-account{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}.product-footer .account-area{display:flex;align-items:center;gap:16px;min-width:0;flex-wrap:wrap}.product-footer .account-user{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}.product-footer .account-user strong{font-size:16px;font-weight:700;color:#eef4f4}.product-footer .account-user small{font-size:13px;color:#aabbbd;white-space:normal;overflow-wrap:anywhere}.product-footer .textbutton{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;border:0;background:transparent;color:#42c7cf;font:700 14px/1.25 'DM Sans',Arial,sans-serif}.product-footer .install-app{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 15px;border:1px solid #2b4c53;border-radius:6px;background:#13262b;color:#eef4f4;font:700 14px/1.25 'DM Sans',Arial,sans-serif}.footer-branding{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding-top:14px;border-top:1px solid #203238;font-size:13px}.product-footer a{color:#42c7cf}@media(max-width:1050px){.product-menu>button,.product-menu summary{font-size:16px;padding-inline:10px}}@media(max-width:700px){.product-header-content{min-height:64px;padding:8px var(--gs-page-edge-right,14px) 8px var(--gs-page-edge-left,14px);gap:10px}.product-header img{max-height:48px}.product-header .brand img{width:34px;height:34px}.product-header .brand strong{font-size:14px}.product-header .brand span{font-size:10px}.product-header .staff strong{font-size:13px}.product-nav-bar{padding:5px var(--gs-page-edge-right,14px) 10px var(--gs-page-edge-left,14px);gap:6px;align-items:center}.product-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.product-menu>button,.product-menu summary{min-height:60px;padding:7px 4px;flex-direction:column;gap:5px;font-size:14px;line-height:1.2}.product-menu .nav-group summary{position:relative}.product-menu .nav-menu button{font-size:15px}.product-footer{padding:18px 14px max(24px,env(safe-area-inset-bottom,0px))}.footer-controls{align-items:flex-start;flex-direction:column}.account-tools{width:100%;justify-content:flex-start}.footer-account{gap:10px}.footer-branding{flex-direction:column;gap:8px}}@media(max-width:480px) and (orientation:portrait){.product-nav-bar{flex-wrap:wrap}.product-menu{flex-basis:100%}.product-nav-bar .global-new{margin-left:auto}
 /* Compact account details and actions without shrinking touch targets or Assistant clearance. */
 .product-footer{margin-top:20px;padding-top:12px;gap:8px}
 .footer-controls{gap:6px;width:100%}.footer-account{width:100%}
 .product-footer .account-area{width:100%;flex-wrap:nowrap;gap:8px}
 .product-footer .account-user{flex:1;gap:2px}
 .product-footer .textbutton{flex-shrink:0;padding-inline:8px}
 .account-tools{gap:6px}
 .footer-branding{flex-direction:row;justify-content:flex-start;gap:2px 10px;padding-top:8px}
}@media print{.product-chrome,.product-footer{display:none!important}}

/* Global notifications occupy the same header/menu slot in every product. */
.global-notice{width:calc(100% - 60px);max-width:1000px;margin:2px auto 6px;padding:10px 14px;font-size:14px;line-height:1.4}
@media(max-width:700px){.global-notice{width:calc(100% - 28px);margin:2px auto 5px;padding:9px 11px;font-size:13px}}

/* Canonical application data space; product adapters own page contents. */
body:has(>.product-chrome),.app-shell:has(>.product-chrome){min-height:100dvh;display:flex;flex-direction:column}.product-content{padding:24px var(--gs-page-edge-right,30px) 24px var(--gs-page-edge-left,30px);min-width:0;width:min(100%,1560px);margin-inline:auto;flex:1}.product-footer{width:min(100%,1560px)}

@media(max-width:700px){.product-content{padding:18px var(--gs-page-edge-right,14px) 18px var(--gs-page-edge-left,14px)}}

/* Grouped labels need room for horizontal icons and disclosure marks. */
@media(min-width:701px) and (max-width:1200px){.product-menu{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Short landscapes retain full labels and touch targets in compact shared chrome. */
@media(orientation:landscape) and (max-height:500px){
 .product-chrome{position:relative}
 .product-header-content{min-height:64px;padding-block:8px}
 .product-header-content>a{min-width:0}
 .product-header img{max-height:48px}
 .product-nav-bar{padding-block:4px 8px}
 .product-menu{grid-template-columns:repeat(var(--menu-columns,3),minmax(0,1fr))}
 .product-menu>button,.product-menu summary{min-height:44px;padding:8px 6px;gap:6px;flex-direction:row}
 .nav-group summary::after{position:static}
 .product-nav-bar>.global-new{position:static;right:auto;bottom:auto;z-index:auto;box-shadow:none}
}

dialog.shared-modal.gs-calendar-dialog{--shared-dialog-width:600px;font:400 16px/1.5 var(--font-ui)}.gs-calendar-dialog-body{display:grid;gap:16px;margin:0}.gs-calendar-dialog-body label{display:grid;gap:6px;margin:0;min-width:0}.gs-calendar-dialog-body .actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}.gs-calendar-dialog-body button{margin:0}.gs-calendar-dialog-body [role=status]{margin:0}

.gs-availability-calendars{min-inline-size:0;border:0;padding:0;margin:0}.gs-availability-calendars legend{margin-bottom:6px;font-weight:650}.gs-calendar-dialog-body .gs-availability-calendars label{display:flex;align-items:center;gap:10px;min-height:44px;overflow-wrap:anywhere;cursor:pointer}.gs-availability-calendars input[type=checkbox]{flex:none;width:20px;height:20px;margin:0}
dialog.gs-location-dialog .gs-location-form input,dialog.gs-calendar-dialog .gs-calendar-dialog-body input,dialog.gs-calendar-dialog .gs-calendar-dialog-body select{font:400 16px/1.5 var(--font-ui)}.location-choice:hover{background:#1d4148;transform:none}

/* One bounded row for workspace selection and its recoverable action. */
.location-choice-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.location-choice-row>.location-choice{flex:1 1 200px;width:auto;min-width:0}
.location-choice-row>strong{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}
.location-choice-row>button:not(.location-choice){flex:0 0 auto;min-width:44px;min-height:44px}
.gs-location-dialog [data-archived-choices]{display:grid;gap:10px}
@media(max-width:480px){.location-choice-row>.location-choice,.location-choice-row>strong{flex-basis:100%}.location-choice-row>button:not(.location-choice){margin-left:auto}}
