.ui-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:middle;pointer-events:none}.with-icon{display:inline-flex;gap:7px;align-items:center;justify-content:center}.map-top .map-shortcuts{display:flex;gap:8px;pointer-events:auto}.map-shortcuts button{display:inline-flex;align-items:center;gap:7px;background:#fff;color:#26282a;border:1px solid #d4d5d4;border-radius:6px;min-height:44px;padding:10px 14px;font-size:14px;box-shadow:0 2px 6px #0000000a;cursor:pointer}.map-shortcuts button:hover{background:#f2f3f1;border-color:#888d86}.map-shortcuts button:active{transform:translateY(1px)}.map-shortcuts button:focus-visible,.password-toggle:focus-visible,.nb-google:focus-visible{outline:2px solid #345b8c;outline-offset:3px}.surroundings:not([open]){width:auto;min-width:0;padding:0;border-radius:6px;box-shadow:0 2px 6px #0000000a}.surroundings>summary{display:flex;justify-content:flex-start;gap:8px;min-height:44px;font-size:14px;padding:10px 12px;top:0;list-style:none;border-radius:6px}.surroundings>summary::-webkit-details-marker{display:none}.surroundings:not([open])>summary span{margin-left:8px}.surroundings[open]>summary{padding:0 0 10px}.password-input,.input-shell{position:relative;display:flex;align-items:center;width:100%}.input-shell>.ui-icon,.password-input>.ui-icon{position:absolute;left:14px;color:#727772}.nb-field .input-shell:has(>.ui-icon)>input,.nb-field .password-input>input{padding-left:42px}.nb-field .password-input>input{padding-right:54px}.nb-field .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:0;background:transparent;color:#555d56;border-radius:5px;cursor:pointer;padding:0}.password-toggle:hover{background:#eef0ed}.nb-google{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:12px 18px;background:#fff;color:#252925;border:1px solid #cdd1cb;border-radius:6px;font-size:16px;cursor:pointer}.nb-google:hover{background:#f4f5f3;border-color:#949c91}.nb-google:disabled{opacity:.65;cursor:wait}.nb-google .ui-icon{width:20px;height:20px;flex-basis:20px}.auth-divider{display:flex;align-items:center;gap:14px;color:#727772;font-size:14px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#e0e3de;flex:1}.nb-auth-grid .nb-button[type=submit]{width:100%;min-height:48px;font-size:16px}.nb-auth-grid .nb-error:empty{display:none}.view-toggle.with-icon{display:flex}.surroundings{top:76px}.directory-mode .context-bar{justify-content:space-between}
@media(max-width:760px){.map-top{left:12px;right:12px;top:12px;gap:8px}.map-top .map-shortcuts{gap:6px}.map-shortcuts button{padding:8px 10px;min-height:44px;font-size:14px}.map-shortcuts .ui-icon{width:16px;height:16px;flex-basis:16px}.map-top .view-toggle{gap:0;flex:none}.map-top .view-toggle button{padding:8px;min-height:44px;font-size:14px}.map-top .view-toggle .ui-icon{display:none}.map-area .surroundings{left:12px;right:auto;top:68px;max-width:calc(100% - 24px)}.map-area .surroundings[open]{width:280px;max-height:calc(100% - 90px);overflow:auto}.context-bar #explorerViews button{min-height:40px}.nb-auth-grid .nb-card{min-width:0}.nb-auth-grid{grid-template-columns:1fr}.nb-auth-aside{display:none}}
@media(max-width:390px){.map-shortcuts button{padding:8px;gap:5px}.map-top .view-toggle button{padding:7px}.map-top{gap:5px}.context-bar #explorerViews button{padding:6px 8px}}
.nb-field>span.password-input,.nb-field>span.input-shell{display:flex;align-items:center;margin-bottom:0;font-weight:400}.input-shell>.ui-icon,.password-input>.ui-icon{top:50%;transform:translateY(-50%)}.content-page.nb-page button.nb-google{background:#fff;color:#252925;border:1px solid #cdd1cb;min-height:48px;font-size:16px}.content-page.nb-page button.nb-google:hover{background:#f4f5f3;border-color:#949c91}

/* Compact map controls. Island framing behavior stays unchanged. */
.map-top .map-shortcuts{flex-wrap:nowrap;gap:6px}
.map-top .map-shortcuts button{min-height:34px;padding:6px 10px;gap:5px;line-height:20px;border-radius:5px;box-shadow:none;white-space:nowrap}
.map-shortcuts .ui-icon,.surroundings>summary>.ui-icon{width:16px;height:16px;flex-basis:16px}
.map-area .surroundings{top:68px}
.map-area .surroundings:not([open])>summary{min-height:32px;padding:5px 9px;gap:5px;font-size:14px;line-height:20px;font-weight:500}
.map-area .surroundings:not([open])>summary span{margin-left:4px}
@media(max-width:760px){
 .map-top{flex-wrap:nowrap;align-items:flex-start}
 .map-top .map-shortcuts{width:auto;gap:5px}
 .map-top .map-shortcuts button{padding:6px 8px;min-height:34px}
 .map-top .view-toggle button{padding:6px;min-height:34px}
 .map-area .surroundings{top:56px}
 .map-area .surroundings[open]{max-height:calc(100% - 78px)}
}
@media(max-width:390px){.map-shortcuts .ui-icon{display:none}}
