/* Build and overlay rails use compact Metro-style icon/label buttons rather than menu fields. */
.city-palette-native{position:absolute!important;inline-size:1px!important;block-size:1px!important;min-inline-size:0!important;min-block-size:0!important;margin:0!important;padding:0!important;clip-path:inset(50%);overflow:hidden!important;pointer-events:none!important}
.city-palette-icon{display:inline-block;flex:none;vertical-align:middle;color:var(--palette-tint,#9cd8cd)}
.city-field-heading{display:block;margin:.6rem 0 .25rem;font-size:.78rem;color:#bed0d5;font-weight:700;letter-spacing:.03em}
.city-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0}
.city-palette .city-palette-choice,#layer-shortcuts button[data-quick-layer]{display:flex;gap:.42rem;align-items:center;text-align:left;line-height:1.25;min-width:0;min-height:40px;margin:0;padding:5px 6px;background:#233540;color:#e1e9ea;border:1px solid #4b626e;border-radius:7px;font-size:.75rem;box-shadow:none}
.city-palette-choice span{overflow-wrap:anywhere}
.city-palette .city-palette-choice:hover,#layer-shortcuts button[data-quick-layer]:hover{background:#314858;border-color:#92aab6}
.city-palette .city-palette-choice[aria-checked="true"],.city-palette .city-palette-choice[aria-pressed="true"],#layer-shortcuts button[data-quick-layer][aria-pressed="true"]{color:#dbfff4;background:#2a4a47;border-color:#83c3b2;box-shadow:inset 2px 0 #83c3b2}
.city-palette .city-palette-choice:focus-visible,#layer-shortcuts button[data-quick-layer]:focus-visible{outline:2px solid #ffdc98;outline-offset:1px}
.city-palette .city-palette-choice:disabled{opacity:.55;cursor:default}
.city-palette .city-palette-icon{width:19px;height:19px}
#layer-palette{scroll-margin-top:.6rem}
.city-palette-current{font-size:.76rem!important;color:#d5eee8;margin:.25rem 0 .45rem;font-weight:650}
.city-layer-categories{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:5px}
.city-layer-categories .city-palette-choice{padding:3px 6px;min-height:34px}
.city-layer-categories .city-palette-icon{width:14px;height:14px}
#layer-shortcuts button[data-quick-layer]{padding:3px 5px;min-height:34px}
#layer-shortcuts button[data-quick-layer] .city-palette-icon{width:15px;height:15px}
.tools .tool-group .tabs [data-tool]{display:flex;align-items:center;gap:.3rem;justify-content:center}
.tools .tool-group .tabs .city-palette-icon{width:13px;height:13px}
.tools .tool-group .tabs [data-tool] span{min-width:0;overflow-wrap:anywhere}
#build-catalog .catalog-filters{display:block}
#build-catalog [data-city-palette="build-catalog-type"]{grid-template-columns:repeat(3,minmax(0,1fr))}
#build-catalog [data-city-palette="build-catalog-state"]{grid-template-columns:repeat(2,minmax(0,1fr))}
#build-catalog-results li b{min-width:0;display:flex;align-items:center;gap:6px}
.city-catalog-illustration{display:inline-grid;place-items:center;flex:none;background:#243d45;border:1px solid #466773;border-radius:6px;width:35px;height:33px}
.city-catalog-illustration .city-palette-icon{width:23px;height:23px}
@media(max-width:570px){
 .city-palette .city-palette-choice,#layer-shortcuts button[data-quick-layer]{min-height:44px}
 .tools .tool-group .tabs [data-tool] .city-palette-icon{width:12px;height:12px}
 #build-catalog [data-city-palette="build-catalog-type"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
