/* V1.7.5: screen only; preserve print layout */
@media screen and (max-width:760px){
 main.wrap, main.wrap > *, .panel, .mapbox, .trackhero, .editor, .editor > *, .cardbody {min-width:0;box-sizing:border-box;}
 main.wrap {overflow-wrap:anywhere;}
 .detail .stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .detail .stats .stat-card {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:12px 6px;min-width:0;}
 .detail .stats .stat-icon {flex:0 0 auto;}
 .detail .stats .stat-card strong {font-size:clamp(17px,5vw,23px);line-height:1.2;white-space:normal;max-width:100%;}
 .detail .stats .stat-label {font-size:13px;line-height:1.3;max-width:100%;}
 .detail .toolbar > * {max-width:100%;min-width:0;white-space:normal;box-sizing:border-box;}
 .detail .toolbar button,.detail .toolbar a {min-height:44px;}
 .detail #map {height:380px;max-width:100%;}
 .detail .wx-grid,.detail .wx-days {grid-template-columns:repeat(2,minmax(0,1fr));}
 .detail .wx-cell,.detail .wx-day {padding:8px;}
 .trek-quick-nav nav {grid-template-columns:repeat(2,minmax(0,1fr));}
 .trek-quick-nav nav a {min-width:0;overflow-wrap:anywhere;white-space:normal;}
 #trek-pack [data-pack-row] > label:first-child {min-width:0;flex:1 1 150px!important;}
 #trek-pack [data-pack-row] input[type=number] {max-width:100%;box-sizing:border-box;}
 .editor input:not([type=checkbox]):not([type=radio]),.editor select,.editor textarea {min-width:0;max-width:100%;box-sizing:border-box;}
 .editor fieldset,.editor label {min-width:0;}
 .adminrow > div {min-width:0;}
 .adminrow a,.adminrow button,.admin .button {white-space:normal;max-width:100%;box-sizing:border-box;}
 .card-meta .meta-item {white-space:normal;min-width:0;max-width:100%;flex-wrap:wrap;}
 .archive-tools > * {min-width:0;}
 .table-wrap {max-width:100%;overflow-x:auto;}
}
@media screen and (max-width:400px){
 .detail .trackhero {padding:16px;}
 .detail .panel,.detail .mapbox {padding:12px;}
 .detail #map {height:340px;}
 .trek-quick-nav nav a {padding:8px;font-size:12px;gap:5px;}
}
