/* telefon: html.m, sub 760 px */
@media (max-width:760px){
  .m .app .map-wrap{top:var(--m-head-h,130px)}
  .m .m-head{position:absolute;left:0;right:0;top:0;z-index:30;box-sizing:border-box;padding:10px 12px 0;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 1px 0 rgba(29,36,51,.08),0 8px 24px -16px rgba(29,36,51,.3)}
  .m .m-title{margin:0;font:650 15px/20px Onest,system-ui,sans-serif;letter-spacing:-.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m.rg-own .m-leg{display:none}
  .m .m-leg{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0;padding:0 2px 8px}
  .m .m-leg span{display:flex;align-items:center;gap:5px;font-size:11.5px;line-height:14px;color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}
  .m .m-leg i{flex:none;width:14px;height:10px;border-radius:2px;background:var(--c)}
  .m .m-head .search{position:relative;top:auto;left:auto;right:auto;width:auto;max-width:none;margin:0}
  .m .m-head .search-box{width:100%}
  /* 16px: sub această mărime iOS Safari mărește pagina la focalizare */
  .m .m-head .search-input{height:36px;padding:0 36px;font-size:16px;background:#f3f4f6;border-color:transparent;border-radius:9px}
  .m .m-head .search-ico{left:11px;width:17px;height:17px}
  .m .m-head .search-clear{right:8px}
  .m .m-head #q-list{top:calc(100% + 6px);bottom:auto;max-height:min(46vh,360px)}
  .m .app .notice{top:calc(var(--m-head-h,130px) + 8px)}
  .m .app .maplibregl-ctrl-top-right{top:auto;bottom:calc(var(--sheet-h,120px) + 12px);right:0}
  .m .app .maplibregl-ctrl-top-right .maplibregl-ctrl{margin:0 12px 0 0}
  .m .maplibregl-ctrl-group{border-radius:50%}
  .m .maplibregl-ctrl-group button{width:44px;height:44px;border-radius:50%}

  .m .panel{display:flex;flex-direction:column}
  .m .seg{display:none}
  .m .m-chips{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;margin:0 10px 6px;padding:2px;background:#eef0f3;border-radius:9px;flex:none}
  .m .m-chips button{height:32px;border:0;border-radius:8px;background:transparent;font:500 14px/18px Onest,system-ui,sans-serif;color:var(--ink-2)}
  .m .m-chips button[aria-checked="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(29,36,51,.12),0 0 0 1px rgba(29,36,51,.04);font-weight:600}
  .m .sheet-handle{height:16px}
  .m .sheet-handle span{width:32px;height:4px}
  .m .panel-body{max-height:min(27vh,280px);padding:8px 12px}
  .m .panel-body .kpis{margin-bottom:10px}.m .panel-body .kpi{padding:8px 0}.m .panel-body .kpi b{font-size:20px;line-height:24px}
  .m .panel-body .title2{margin-bottom:8px;font-size:22px;line-height:26px}.m .panel-body .back{margin-bottom:6px}
  .m .panel-body .scale-l{margin-bottom:10px}
  /* v2 pune inert doar pe .seg, #pb, .panel-foot */
  .m .panel-foot{gap:8px;padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px))}
  .m .dl-wrap{flex:none}
  .m .dl-btn{height:32px;width:auto;padding:0 12px 0 10px;border-radius:8px;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2);font-size:13px;font-weight:600}
  .m .dl-btn .dl-caret{display:none}
  .m .dl-btn svg:first-child{width:16px;height:16px}
  .m .panel-foot .switch{flex:1;justify-content:flex-start}
  .m .info-btn{width:30px;height:30px}
  .m .dl-menu{left:0;width:calc(100vw - 24px)}
}
@media (max-width:760px){.m .partners{gap:20px;padding:6px 12px}.m .partners img{height:22px}}
