/* Edge-aligned map controls and a compact footer wordmark. */
html body#opal-ui{--map-control-border:#ffffff60}
html.light-ui body#opal-ui{--map-control-border:#00000040}
html body#opal-ui :is(.rail,.navigation,.travel-top-dock,.map-ambience) button,
html body#opal-ui :is(#countriesButton,.global-search input){
 border:1px solid var(--map-control-border)!important;
 box-shadow:0 1px 4px #0002!important;
}
html body#opal-ui :is(.rail,.navigation,.travel-top-dock,.map-ambience) button:is(:hover,:focus-visible),
html body#opal-ui #countriesButton:is(:hover,:focus-visible){border-color:currentColor!important}
html body#opal-ui .global-search{
 position:fixed!important;top:12px!important;left:12px!important;right:auto!important;
 transform:none!important;width:300px!important;
}
html body#opal-ui .travel-top-dock{top:12px!important;left:320px!important;right:auto!important;gap:6px!important}
html body#opal-ui .map-ambience{top:12px!important;left:392px!important;right:auto!important;bottom:auto!important}
html body#opal-ui #countriesButton{position:fixed!important;top:12px!important;right:12px!important}
html body#opal-ui header .brand{
 position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:60px!important;
 transform:translateX(-50%)!important;display:flex!important;align-items:center!important;gap:6px!important;
 width:max-content!important;height:24px!important;padding:0!important;pointer-events:none!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html body#opal-ui header .brand .opal-logo{width:23px!important;height:23px!important}
html body#opal-ui header .brand :is(.brand-name,.opal-wordmark){font-size:16px!important;line-height:1!important;letter-spacing:-.3px!important}
html body#opal-ui header .brand svg.opal-wordmark{width:106px!important;height:22px!important}
html body#opal-ui .world-clock{bottom:18px!important;gap:4px!important;font-size:10px!important}
html body#opal-ui .rail{left:12px!important;bottom:46px!important}
html body#opal-ui .navigation{right:12px!important;bottom:46px!important}
@media(max-width:700px){
 html body#opal-ui .global-search{width:calc(100vw - 124px)!important}
 html body#opal-ui .travel-top-dock{top:56px!important;left:12px!important}
 html body#opal-ui .map-ambience{top:56px!important;left:90px!important}
 html body#opal-ui header .brand{bottom:62px!important}
 html body#opal-ui .world-clock{font-size:9px!important}
}
@media(pointer:coarse) and (min-width:701px){
 html body#opal-ui .map-ambience{left:420px!important}
}
html body#opal-ui header .brand .opal-wordmark,
html body#opal-ui header .brand .opal-wordmark *{font-size:16px!important;line-height:22px!important;letter-spacing:-.3px!important}
html body#opal-ui header .brand{text-shadow:0 1px 4px #0009!important}
html body#opal-ui header .brand .opal-logo{width:20px!important;height:20px!important}
/* One shared height for all map controls, including the search field. */
html body#opal-ui{--map-control-height:32px}
html body#opal-ui .global-search input,
html body#opal-ui #countriesButton,
html body#opal-ui :is(.rail,.navigation,.travel-top-dock,.map-ambience) button{
 box-sizing:border-box!important;height:var(--map-control-height)!important;min-height:var(--map-control-height)!important;max-height:var(--map-control-height)!important;
}
html body#opal-ui :is(.rail,.navigation,.travel-top-dock) button,
html body#opal-ui .globe-rotation{width:var(--map-control-height)!important;min-width:var(--map-control-height)!important}
html body#opal-ui .map-ambience{left:360px!important}
@media(max-width:700px){html body#opal-ui .map-ambience{left:54px!important}}
@media(pointer:coarse){
 html body#opal-ui{--map-control-height:44px}
 html body#opal-ui .map-ambience{left:372px!important}
}
@media(max-width:700px) and (pointer:coarse){html body#opal-ui .map-ambience{left:66px!important}}
/* Keep navigation clear of footer attribution; drag gestures handle rotation. */
html body#opal-ui .navigation .rotate-buttons{display:none!important}
html body#opal-ui .navigation{bottom:88px!important;gap:8px!important}
@media(max-height:560px){html body#opal-ui .navigation{bottom:76px!important;gap:5px!important}}
@media(max-width:700px){html body#opal-ui .navigation{bottom:94px!important}}
/* The transport form sizes independently of the compact search field. */
html body#opal-ui #transportPanel.wide-dashboard{
 left:12px!important;right:auto!important;top:58px!important;bottom:auto!important;
 width:min(560px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
 max-height:calc(100dvh - 84px)!important;padding:22px!important;
 box-sizing:border-box;container-type:inline-size;
}
html body#opal-ui #transportPanel .dashboard-scroll{overflow-x:hidden;padding-right:8px;scrollbar-gutter:stable}
html body#opal-ui #transportPanel .transport-dashboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}
html body#opal-ui #transportPanel :is(.journey-tracker,.transport-settings,.journey-select){min-width:0}
html body#opal-ui #transportPanel .journey-select select{display:block;width:100%;min-width:0;max-width:100%;height:40px;box-sizing:border-box;font-size:12px}
html body#opal-ui #transportPanel .hud-group-title{font-size:11px;line-height:1.5;letter-spacing:1px;overflow-wrap:normal;margin:16px 0 12px}
html body#opal-ui #transportPanel .journey-tracker>.hud-group-title{margin-top:0}
html body#opal-ui #transportPanel .export-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
html body#opal-ui #transportPanel .export-actions button{flex:1 1 110px;min-height:36px;white-space:nowrap;padding:8px 12px}
html body#opal-ui #transportPanel .muted{font-size:12px;line-height:1.65;overflow-wrap:normal}
html body#opal-ui #transportPanel .toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px}
html body#opal-ui #transportPanel .toggle input{flex-shrink:0;margin-left:auto}
@container(max-width:460px){
 html body#opal-ui #transportPanel .transport-dashboard{grid-template-columns:1fr;gap:20px}
 html body#opal-ui #transportPanel .transport-settings{border-top:1px solid #8884;padding-top:4px}
}
@media(max-width:700px){
 html body#opal-ui #transportPanel.wide-dashboard{top:106px!important;max-height:calc(100dvh - 126px)!important;padding:18px!important}
 html body#opal-ui #transportPanel .transport-dashboard{grid-template-columns:1fr;gap:20px}
}
.business-photo-hero{cursor:zoom-in}
.business-photo-viewer{position:fixed;width:min(620px,92vw);max-height:92dvh;overflow:auto;background:#111;color:#eee;border:1px solid #8886;border-radius:18px;padding:22px}
.business-photo-viewer::backdrop{background:#000b}
.business-photo-viewer h2{font-size:18px;margin:0 42px 18px 0}
.business-photo-viewer .close{position:absolute;right:10px;top:10px;width:32px;height:32px}
.business-photo-expanded{width:100%;aspect-ratio:1;max-height:65dvh;overflow:hidden;border-radius:12px;margin:0 0 16px}
html.light-ui .business-photo-viewer{background:#fff;color:#222}

.business-photo-tile{background-size:600% 900%}
.business-photo-viewer .visitor-action{background:transparent;color:inherit;border:1px solid #8886;min-height:32px}.business-photo-viewer .business-photo-count{color:inherit;opacity:.7}
.business-photo-viewer{width:min(440px,92vw)}
