/* Adaptations communes : tactile, écrans étroits et cartes de salle. */
.pos-dialog{border:0;border-radius:18px;max-width:560px;width:calc(100% - 24px);max-height:92dvh;overflow:auto;padding:0}.pos-dialog::backdrop{background:#15263e88}.pos-dialog .pos-box{margin:0}.pos-room-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.pos-room-grid .pos-card{margin:0;display:flex;flex-direction:column}.pos-room-grid .pos-button{margin-top:auto}.pos-kpis strong{font-variant-numeric:tabular-nums}
@media(max-width:767px){.main_container .row>.col.s4,.main_container .row>.col.s6{width:100%!important;float:none!important}.main_container .btn{height:auto!important;min-height:44px;line-height:1.4!important;white-space:normal!important;padding:12px!important;word-break:normal}.main_container .row>.col.s4:has(>.btn){margin-bottom:12px}}
html{max-width:100%;-webkit-text-size-adjust:100%}body{max-width:100%;touch-action:manipulation}img{max-width:100%}button,a.btn,.pos-button,input[type=submit]{min-height:44px;touch-action:manipulation}.pos-shell input,.pos-shell select,.pos-shell button{font-size:16px}.pos-shell select{background:white}.pos-shell [hidden]{display:none!important}.pos-nav{gap:10px 16px}.pos-nav a{padding:8px 0;line-height:1.3}.hotel-live,.main_container,.dashboard-container{min-width:0;max-width:100%}.gc-container,.table-scroll,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.pos-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.pos-heading h1{margin:4px 0}.pos-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700;color:#65728a}.pos-legend,.pos-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:16px}.pos-toolbar label{margin:0;flex:1;min-width:170px}.pos-card-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.pos-card-top h2{margin:0}.pos-order-line{padding:16px 0;border-top:1px solid #e1e7ef}.pos-order-line h3{font-size:19px;margin:6px 0}.pos-order-line button{width:100%;margin-top:12px}.pos-new{border:2px solid #dc3545!important;animation:altea-alert 1.5s ease-in-out infinite}.pos-working{border:2px solid #2474cf!important;background:#f2f7ff!important}.pos-ready-card{border:2px solid #259b65!important}.pos-state-new{color:#b32638}.pos-state-working{color:#175eaa}.pos-state-ready{color:#167545}.pos-empty{text-align:center;padding:50px;border:1px dashed #bccadb;border-radius:16px;background:white}.pos-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.pos-kpi{background:white;border:1px solid #dce4ee;border-radius:12px;padding:16px}.pos-kpi strong{display:block;font-size:28px}.pos-kpi span{font-size:13px;color:#61718a}.pos-live-state{display:block;font-weight:700;margin:10px 0;padding:8px;border-radius:8px}.pos-server-ready{animation:altea-alert 1.5s ease-in-out infinite;border:2px solid #dc3545!important}.pos-live-state[data-state=ready]{color:#b32638;background:#fff0f1}.pos-live-state[data-state=working]{color:#175eaa;background:#ebf3ff}.pos-live-state[data-state=new]{color:#b32638;background:#fff0f1}.pos-ticket-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;align-items:start}.pos-ticket-layout aside{position:sticky;top:16px}.pos-ticket-layout .pos-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.pos-chips{display:flex;flex-wrap:wrap;gap:8px}.pos-chips button{background:white;color:#213e62;border:1px solid #c6d2df}.pos-chips button[aria-pressed=true]{background:var(--navy);color:white}.pos-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pos-chart{min-width:0;background:white;border-radius:12px;padding:18px}.pos-chart svg{width:100%;height:auto}.pos-chart table{font-size:12px}.pos-chart details{margin-top:12px}@keyframes altea-alert{50%{box-shadow:0 0 0 5px rgba(220,53,69,.16)}}@media(prefers-reduced-motion:reduce){.pos-new,.pos-server-ready{animation:none;outline:3px solid #dc3545}}@media(max-width:1000px){.pos-ticket-layout{grid-template-columns:1fr}.pos-ticket-layout aside{position:static}.pos-chart-grid{grid-template-columns:1fr}}@media(max-width:767px){.pos-shell{padding:14px}.pos-nav{padding:12px;gap:8px 14px}.pos-nav b{flex:1 1 70%}.pos-nav a{font-size:14px}.pos-heading{align-items:start;flex-direction:column}.pos-kpis{grid-template-columns:repeat(2,1fr)}.pos-grid{grid-template-columns:1fr!important}.pos-heading h1{font-size:27px}.hotel-main-nav{display:flex;flex-wrap:wrap;padding:8px}.hotel-main-nav>.col{width:auto!important;min-width:90px;margin:0!important;padding:6px!important;flex:1 0 auto}.hotel-main-nav>.col:first-child{flex-basis:100%}.hotel-main-nav h5{font-size:13px!important}.table-card{width:calc(50% - 12px)!important;max-width:calc(50% - 12px)!important;flex:0 0 calc(50% - 12px)!important}.modal{width:96%!important;max-height:94%!important}.modal .col.s4{width:100%!important}.dashboard-container{padding:14px!important}input,textarea,select{font-size:16px!important}.hotel-live form{flex-wrap:wrap}fieldset{min-width:0}.grocery-crud-table{display:block;overflow-x:auto}}@media(max-width:460px){.table-card{width:100%!important;max-width:100%!important;flex:0 0 100%!important}.pos-shell .pos-ticket-layout .pos-grid{grid-template-columns:minmax(0,1fr)}.pos-kpi{padding:12px}.pos-nav a{font-size:13px}}@media print{.pos-new,.pos-server-ready{animation:none;box-shadow:none}.pos-heading{display:block}.pos-kpis{display:none}}
