.member-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.member-home-grid .card{margin:0;min-width:0}.member-home-grid p{overflow-wrap:anywhere}#request-notice{margin:16px 0}.request-count{margin-left:auto}
@media(max-width:760px){html,body{max-width:100%;overflow-x:hidden}.shell,main,.page,.card,.form-grid>*{min-width:0}.page{padding:16px 12px}.topbar{padding:12px;gap:8px}.top-right{gap:8px}.topbar .season,.breadcrumb{display:none}.profile-text{max-width:145px}.profile-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading{display:flex;flex-wrap:wrap;gap:12px}.page-heading h1{font-size:27px}.page-heading .btn{max-width:100%}.member-home-grid,.form-grid,.stats{grid-template-columns:1fr!important}.field.full{grid-column:auto}.btn,.nav-item,summary{min-height:44px}.actions-row,.demo-strip{flex-wrap:wrap;gap:8px}.demo-strip{align-items:flex-start}.card-body{padding:16px}.table-wrap,.pointage-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}input,select,textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}dialog{width:calc(100% - 24px)!important;max-width:600px;max-height:90dvh;box-sizing:border-box;overflow:auto}dialog .form-grid{display:grid}.calendar-main{padding:12px}.calendar-header{flex-wrap:wrap;gap:10px}.station-clock #station-time{font-size:44px}.station-clock #station-date{font-size:18px}.pinpad{width:100%;max-width:330px}.station-page h1{font-size:26px}.station-page .calendar-card{padding:12px}.sidebar{max-width:85vw}.bar-presence-counts{flex-wrap:wrap}.footer{flex-wrap:wrap}.member-home-grid .btn{margin-top:6px}}
@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}

@media(max-width:760px){.public-nav{flex-wrap:wrap}.public-links{flex-wrap:wrap;gap:10px;width:100%}.public-links>a:not(.btn){display:inline-flex;align-items:center;min-height:44px}.public-hero{padding:28px 20px}.emergency-card{min-width:0;width:100%;box-sizing:border-box}.invoice-sheet .invoice-parties{display:block}.invoice-sheet .invoice-total{min-width:0}}

/* Tactile et zones sûres pour tablettes, sans verrouiller l’orientation. */
@media(pointer:coarse){button.btn,a.btn,.nav-item,summary{min-height:44px}input:not([type=checkbox]):not([type=radio]),select{min-height:44px;font-size:16px}button,a,input,select,textarea{touch-action:manipulation}}
@media(display-mode:standalone){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.sidebar{padding-top:max(27px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}}
@media(max-width:1024px){.station-page .calendar-header{flex-wrap:wrap;gap:10px}.station-page .calendar-header a{min-width:0}.station-page .calendar-main{width:100%;box-sizing:border-box}.station-page input{max-width:100%;box-sizing:border-box}.station-page .pinpad button{min-height:54px}.station-page .calendar-header .btn{min-height:44px}}
@media(max-width:760px){.topbar{height:auto;min-height:65px;align-items:flex-start}.top-right{min-width:0;flex:1;flex-wrap:wrap;justify-content:flex-end}.top-right .workspace-quick{flex:1 1 160px;min-width:130px}.top-right .profile{flex-shrink:0}.topbar>button{flex-shrink:0;min-height:44px}.workspace-suggestions{right:0}}
