/* Keep a four-column hotel guide within the small Safari viewport where possible. */
/* Safari can replace viewport-sized fixed layers with a single toolbar tint.
   Paint the document canvas instead of a fixed layer or unrelated solid blue. */
html.wy-photo-page{
 --home-shade:linear-gradient(180deg,rgba(17,31,26,.12),rgba(17,31,26,.08) 42%,rgba(17,31,26,.6));
 min-height:100%;background-color:transparent!important;
 background-image:var(--home-shade),var(--home-photo)!important;
 background-repeat:no-repeat!important;background-size:cover!important;
 background-position:center center!important;background-attachment:scroll!important;
 overscroll-behavior-y:none
}
html.wy-photo-page:has(body[data-theme=sand]){--home-shade:linear-gradient(180deg,#9e7d4a22,#473c2c88)}
html.wy-photo-page:has(body[data-theme=forest]){--home-shade:linear-gradient(180deg,#123e2e55,#10281fee)}
body.institution-guest.has-home-photo{background:transparent!important;overscroll-behavior-y:none}
body.institution-guest.has-home-photo>.institution-backdrop,
body.institution-guest.has-home-photo:before{display:none!important}
/* Balance the guide between the welcome copy and the brand footer. */
body.wy-branded-guest.institution-guest .institution-header{flex:none!important;padding-bottom:16px!important}
body.wy-branded-guest.institution-guest .institution-grid{flex:1 0 auto!important;align-content:center!important}
body.wy-branded-guest.institution-guest .institution-footer{flex:none!important;margin-top:0!important;padding-top:16px!important}
@media(min-width:601px){
 body.wy-branded-guest.institution-guest #institution-app{padding-top:calc(14px + env(safe-area-inset-top))!important}
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:160px!important;height:77px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:160px!important;height:160px!important;top:-42px!important}
}
@media(min-width:800px){
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:200px!important;height:94px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:200px!important;height:200px!important;top:-52px!important}
}
@media(max-width:600px){
 body.wy-branded-guest.institution-guest{--guide-rows:5;--guide-dock:88px;--guide-cell:clamp(74px,calc((100svh - 195px - var(--guide-dock) - env(safe-area-inset-top) - env(safe-area-inset-bottom))/var(--guide-rows)),90px)}
 body.wy-branded-guest.institution-guest #institution-app{min-height:100svh!important;padding:calc(12px + env(safe-area-inset-top)) 12px calc(var(--guide-dock) + env(safe-area-inset-bottom))!important}
 body.wy-branded-guest.institution-guest .institution-header{padding:0 0 14px!important;flex:none!important}
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:125px!important;height:60px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:125px!important;height:125px!important;top:-33px!important}
 body.wy-branded-guest.institution-guest .institution-welcome{margin:4px 0 0!important}
 body.wy-branded-guest.institution-guest .institution-welcome>span{font-size:9px!important;letter-spacing:2px!important}
 body.wy-branded-guest.institution-guest .institution-welcome p{font-size:10px!important;margin:2px 0 0!important;line-height:1.35!important}
 body.wy-branded-guest.institution-guest .institution-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:var(--guide-cell)!important;gap:5px 5px!important;padding:0!important;flex:1 0 auto!important;align-content:center!important}
 body.wy-branded-guest.institution-guest .institution-tile{gap:5px!important;padding:0 1px!important;justify-content:flex-start!important}
 body.wy-branded-guest.institution-guest .institution-orb{width:clamp(42px,calc(var(--guide-cell) - 33px),57px)!important;height:clamp(42px,calc(var(--guide-cell) - 33px),57px)!important;flex:none!important}
 body.wy-branded-guest.institution-guest .institution-orb svg{width:25px!important;height:27px!important}
 body.wy-branded-guest.institution-guest .institution-tile-label{font-size:10px!important;line-height:1.25!important;min-height:26px!important;max-width:100%!important}
 body.wy-branded-guest.institution-guest .institution-footer{margin:0!important;padding:14px 0 0!important;gap:1px!important;line-height:1.3!important}
 body.wy-branded-guest.institution-guest .institution-footer>span{display:none}
 body.wy-branded-guest.institution-guest .institution-footer a{font-size:8px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs{bottom:max(8px,env(safe-area-inset-bottom))!important;padding:5px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs :is(a,button){min-height:50px!important;padding:5px 1px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs small{font-size:9px!important}
}

/* Match the visible top inset with the gap below the welcome copy. Free height belongs below the guide. */
body.wy-branded-guest.institution-guest{--guide-edge-gap:28px}
body.wy-branded-guest.institution-guest #institution-app{padding-top:calc(var(--guide-edge-gap) + env(safe-area-inset-top))!important}
body.wy-branded-guest.institution-guest .institution-header{padding:0 0 var(--guide-edge-gap)!important}
body.wy-branded-guest.institution-guest .institution-grid{flex:0 0 auto!important;align-content:start!important;padding-top:0!important}
body.wy-branded-guest.institution-guest .institution-footer{margin-top:auto!important}
@media(max-width:600px){body.wy-branded-guest.institution-guest{--guide-edge-gap:24px}}
/* One platform signature directly below the hotel identity. The small viewport
   is the budget, so the guide fits even while Safari controls are expanded. */
body.wy-branded-guest.institution-guest .institution-platform-brand{display:block;width:max-content;margin:7px auto 0;padding:0;color:#fff;text-decoration:none;font-size:13px;line-height:18px;letter-spacing:-.3px;text-shadow:0 1px 3px #0006}
.institution-platform-brand strong{font-weight:750}.institution-platform-brand span{color:#a9ece7}
body.wy-branded-guest.institution-guest:has(.institution-platform-brand){--guide-edge-gap:16px}
/* Center the whole hotel identity + icon group above the actual dock.
   Free height belongs outside this group, never between its icon rows. */
@media(max-width:600px){
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand){--guide-edge-gap:12px;--guide-dock-live:64px;--guide-cell:clamp(80px,calc((100dvh - 122px - var(--guide-dock-live) - var(--wy-dock-bottom,10px) - env(safe-area-inset-top,0px) - (var(--guide-rows) - 1)*4px)/var(--guide-rows)),88px)}
 /* The dock may animate independently; the guide keeps one reserved height. */
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) #institution-app{height:100dvh;min-height:100svh!important;padding-top:calc(12px + env(safe-area-inset-top,0px))!important;padding-bottom:calc(var(--guide-dock-live) + var(--wy-dock-bottom,10px) + 12px)!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-header{margin-top:auto!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-grid{flex:0 0 auto!important;grid-auto-rows:minmax(var(--guide-cell),auto)!important;align-content:start!important;row-gap:4px!important;margin-bottom:auto!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-tile{gap:3px!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-tile-label{padding-block:1px}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-orb{width:clamp(44px,calc(var(--guide-cell) - 36px),52px)!important;height:clamp(44px,calc(var(--guide-cell) - 36px),52px)!important}
 @media(prefers-reduced-motion:no-preference){body.wy-branded-guest.institution-guest:has(.institution-platform-brand) #institution-app{transition:padding-bottom .38s cubic-bezier(.22,1,.36,1)}}
 body.wy-branded-guest.institution-guest[data-guest-motion=full]:has(.institution-platform-brand) #institution-app{transition:padding-bottom .38s cubic-bezier(.22,1,.36,1)}
 body.wy-branded-guest.institution-guest[data-guest-motion=reduced]:has(.institution-platform-brand) #institution-app{transition:none}
}
/* Scale the guide to the usable viewport, keeping spare space outside the icon rows. */
@media(max-width:600px){
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand){--guide-header-gap:clamp(10px,calc(var(--guide-layout-height,100svh)*.08 - 32px),30px);--guide-cell:clamp(72px,calc((var(--guide-layout-height,100svh) - 125px - var(--guide-header-gap) - 64px - var(--wy-dock-bottom,10px) - env(safe-area-inset-top,0px))/var(--guide-rows)),110px);--guide-orb:min(clamp(44px,calc(var(--guide-cell) - 34px),76px),calc(25vw - 26px))}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-header{padding-bottom:var(--guide-header-gap)!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-orb{width:var(--guide-orb)!important;height:var(--guide-orb)!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-orb svg{width:clamp(25px,calc(var(--guide-orb)*.48),36px)!important;height:clamp(27px,calc(var(--guide-orb)*.5),38px)!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-tile-label{font-size:clamp(10px,2.8vw,12px)!important;line-height:1.25!important}
}

@media(max-width:600px) and (max-height:600px){
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-logo:has(img[src*="laur-logo"]){width:110px!important;height:53px!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-logo img[src*="laur-logo"]{width:110px!important;height:110px!important;top:-29px!important}
 body.wy-branded-guest.institution-guest:has(.institution-platform-brand) .institution-platform-brand{margin-top:5px;line-height:16px}
}
