/* ScanMAP LUCI multimodal phase 1. Only new controls/modal, no map/list reflow. */
#floatingPopup .scanmap-list-action-btn.reach[hidden]{display:none!important}
#floatingPopup .sm-mm-modes{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  width:100%;grid-column:1/-1;margin:7px 0 3px;padding:0 2px;
  box-sizing:border-box;
}
#floatingPopup .sm-mm-choose{
  border:1px solid #e2ae4c;background:#11344d;color:#fff0c9;
  min-height:37px;padding:7px 4px;border-radius:9px;
  line-height:1.18;font:700 10px/1.2 system-ui,sans-serif;white-space:normal;
  width:100%;min-width:0;cursor:pointer;touch-action:manipulation;
}
#floatingPopup .sm-mm-choose:nth-child(2){background:#e4af48;color:#112f45}
#floatingPopup .sm-mm-choose:disabled{opacity:.65;cursor:not-allowed}
#floatingPopup .sm-mm-choose:focus-visible{outline:3px solid #fff}
.sm-mm-backdrop{position:fixed;inset:0;z-index:2147483000;background:#061d2cb9;
  display:flex;align-items:center;justify-content:center;padding:15px;
  overscroll-behavior:contain}
.sm-mm-dialog{color:#f8f4e9;background:linear-gradient(155deg,#102e42,#09273d);
  border:1px solid #daa940;border-radius:18px;box-shadow:0 12px 60px #0009;
  max-width:min(490px,100%);width:100%;max-height:calc(100dvh - 35px);
  padding:16px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;
  font:14px/1.45 system-ui,-apple-system,sans-serif}
.sm-mm-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sm-mm-head h2{font-size:20px;line-height:1.3;color:#f5d18c;margin:0 0 8px}
.sm-mm-btn{background:#1a4157;border:1px solid #d8a544;color:#fff0cb;
  font:700 13px/1.3 system-ui,sans-serif;border-radius:10px;padding:10px;
  min-height:42px;cursor:pointer;max-width:100%}
.sm-mm-btn:disabled{opacity:.5;cursor:not-allowed}
.sm-mm-btn:focus-visible,.sm-mm-dialog a:focus-visible{outline:3px solid #f6dd9c}
.sm-mm-head [data-sm-mm-action=close]{font-size:22px;border-radius:50%;
  min-width:40px;height:40px;padding:0}
.sm-mm-mode-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;margin:7px 0 14px}
.sm-mm-mode-row .sm-mm-btn{font-size:11px;padding:8px 2px;min-width:0}
.sm-mm-mode-row .sm-mm-btn:nth-child(2){background:#daa640;color:#13283b}
.sm-mm-content h3{font-size:16px;line-height:1.3;color:#fff;margin:8px 0}
.sm-mm-content p{margin:9px 0}
.sm-mm-loading{color:#d1dbe7}
.sm-mm-metrics,.sm-mm-legs{border:1px solid #4b6f81;border-radius:11px;
  background:#14384f;padding:10px;margin:11px 0;color:#fff}
.sm-mm-parking-name{font-size:16px;font-weight:750}
.sm-mm-warning{background:#3a351f;border-left:3px solid #ebbb55;padding:10px;
  border-radius:7px;color:#fff2cf;font-size:12px}
.sm-mm-error{color:#ffd2bf;font-size:13px}
.sm-mm-muted{font-size:11px;color:#cbd7df}
.sm-mm-source{display:inline-block;color:#f5d38a;text-decoration:underline;
 font-size:12px;margin-bottom:9px}
.sm-mm-parking-select{width:100%;min-height:44px;background:#fff;color:#143349;
 border:1px solid #c39b59;border-radius:9px;padding:8px;font-weight:600;margin:6px 0}
.sm-mm-start{display:block;width:100%;background:#e2af50;color:#092637;
  font-size:15px;margin-top:10px;min-height:48px}
.sm-mm-continue{position:fixed;z-index:2147482800;left:12px;right:12px;bottom:100px;
 background:#0c2c42;border:1px solid #e6bb65;border-radius:13px;
 color:#fff;padding:10px;box-shadow:0 8px 24px #061824a8;
 display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
 max-width:500px;margin:auto}
.sm-mm-continue p{margin:0;text-align:center;flex-basis:100%;font-size:12px}
.sm-mm-continue .sm-mm-btn:first-of-type{background:#e4b356;color:#102739;flex:1}
.sm-mm-continue .sm-mm-btn:last-of-type{font-size:18px;padding:6px 14px}
@media(max-width:380px){
  #floatingPopup .sm-mm-modes{gap:4px}
  #floatingPopup .sm-mm-choose{padding:7px 2px;font-size:9px}
  .sm-mm-dialog{padding:12px}
}
@media(prefers-reduced-motion:reduce){
 .sm-mm-dialog,.sm-mm-continue{scroll-behavior:auto}
}
