/* Keep preview styles out of the SDK-owned subtree. */
html:not([data-renderer=google]) *{box-sizing:border-box}
body{margin:0;background:#e5efec;color:#163b32;font:15px/1.5 system-ui,sans-serif}
body>main{padding:12px}
#map-status{margin:0 0 10px;font-size:13px}
#map{min-height:290px}
html:not([data-renderer=google]) #map svg{width:100%;height:auto;display:block;max-height:340px}
html:not([data-renderer=google]) #map button{font:inherit;min-height:44px;padding:8px 12px;margin:5px;border:1px solid #557c6d;background:#f9fcfa;color:#163b32;border-radius:8px;cursor:pointer}
html:not([data-renderer=google]) #map button[aria-pressed=true]{background:#bd572f;color:white}
.credits{font-size:12px}.credits a{color:#234b40}
html:not([data-renderer=google]) #map button:focus-visible,.credits a:focus-visible{outline:3px solid #903c17;outline-offset:3px}
/* Percentage heights follow the iframe even when its body uses CSS zoom. */
html[data-renderer=google],html[data-renderer=google] body{height:100%}
html[data-renderer=google] body>main{box-sizing:border-box;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
html[data-renderer=google] #map{min-height:0}
html[data-renderer=google] .credits{margin-bottom:0}
#map-status:empty{display:none}html[data-renderer=google] body>main{padding:0;display:flex;flex-direction:column}html[data-renderer=google] #map{flex:1}html[data-renderer=google] #map-status:not(:empty){padding:12px}
