/* Habillage téléphone en paysage / fenêtres basses (couche 3 du gabarit) : chargé seulement quand l'écran est large (≥ 560 px) mais bas (< 600 px).
   Menu compact à gauche (icônes), contenu large en deux colonnes. Le téléphone en portrait n'est pas concerné. */
html:not(.frame){--pl:calc(env(safe-area-inset-left,0px) + 10px)}
html:not(.frame) .app{max-width:none;--top:56px}
html:not(.frame) .top{left:calc(var(--pl) + 74px);padding-right:calc(env(safe-area-inset-right,0px) + 14px)}
html:not(.frame) .views{left:calc(var(--pl) + 74px)}
html:not(.frame) .view{max-width:none;margin:0;padding:calc(var(--top) + 4px) calc(env(safe-area-inset-right,0px) + 16px) 28px 14px}
html:not(.frame) #isl{left:calc((var(--pl) + 74px + 100% - env(safe-area-inset-right,0px) - 2px) / 2)}
html:not(.frame) #isl.o{width:min(520px,calc(100% - 180px));height:min(470px,calc(100% - 70px))}
html:not(.frame) .tabs{left:var(--pl);right:auto;top:10px;bottom:10px;width:64px;height:auto;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:10px 6px;border-radius:24px;z-index:30}
html:not(.frame) .tabs .ind{display:none}
html:not(.frame) .tabs button{flex:none;height:52px;width:100%;border-radius:16px;font-size:0}
html:not(.frame) .tabs button .i{font-size:24px}
html:not(.frame) .tabs button .sni{margin:0 auto;width:25px;height:25px}
html:not(.frame) .tabs button span{display:none}
html:not(.frame) .tabs button.on{background:var(--glass2);box-shadow:inset 0 1px 0 var(--hl)}
html:not(.frame) #tfade{display:none}
html:not(.frame) #v-home.on,html:not(.frame) #v-wealth.on{display:block;column-count:2;column-gap:18px}
html:not(.frame) #v-home.on>*,html:not(.frame) #v-wealth.on>*{break-inside:avoid}
html:not(.frame) #v-home.on>.lt,html:not(.frame) #v-wealth.on>.lt{column-span:all}
html:not(.frame) .sheet{inset:50% auto auto 50%;width:min(540px,calc(100% - 40px));max-height:calc(100% - 24px);border-radius:26px;padding:20px 22px 22px;transform:translate(-50%,-46%) scale(.97);opacity:0;pointer-events:none;transition:transform .35s cubic-bezier(.3,.9,.3,1),opacity .25s}
html:not(.frame) .sheet.on{transform:translate(-50%,-50%);opacity:1;pointer-events:auto}
html:not(.frame) .sheet>.grab{display:none}
html:not(.frame) #ms{left:auto;right:calc(env(safe-area-inset-right,0px) + 10px);top:60px;bottom:10px;width:340px;height:auto;border-radius:24px;border:1px solid var(--hl);padding:12px 12px 0;transform:none!important}
html:not(.frame) #ms .grab{display:none}
html:not(.frame) body.mfull #ms{transform:translateX(112%)!important;pointer-events:none}
html:not(.frame) #v-budget.view{max-width:none}
/* carte en paysage : panneau plus étroit, sous la recherche et les filtres, et réduit à son contenu quand il est vide */
html:not(.frame) #ms{width:290px;top:112px}
html:not(.frame) #ms:has(#ms-empty){bottom:auto;height:auto;padding-bottom:12px;border-radius:22px}
html:not(.frame) #ms:has(#ms-empty) .lst{height:auto}
html:not(.frame) .tabs button[data-tab].on{background:var(--pa)!important;box-shadow:var(--ps)!important;color:var(--pt)!important}
html:not(.frame) .tabs button[data-tab].on svg{color:var(--pt)!important;stroke:var(--pt)}
html:not(.frame) #v-home.on>.gh,html:not(.frame) #v-wealth.on>.gh{break-after:avoid-column;break-after:avoid}
/* Paysage : quand on défile, le contenu ne doit pas passer sous les boutons du haut */
html:not(.frame) .top.sc{background:linear-gradient(var(--bg) 92%,transparent)}
