/* Keep long navigation and data tables inside narrow grid tracks. */
.sidebar,.grid>div,.card,.content{min-width:0}
@media(max-width:700px){
 .shell{grid-template-columns:minmax(0,1fr)}
 .nav{width:100%;max-width:100%}
 .nav button{flex-shrink:0}
 .topbar{display:block}
 .topbar>div:first-child select{width:100%}
 .account{margin-top:12px;gap:9px;justify-content:space-between}
 .account select{width:100px}
 .heading{display:block}
 .heading>button{margin-top:16px}
 .stat strong{font-size:22px;overflow-wrap:anywhere}
 .grid{grid-template-columns:minmax(0,1fr)}
 .footer{flex-wrap:wrap}
}
