/* DEV: common mobile usability across all private backoffice subpages. */
@media(max-width:760px){
 .area-backoffice .page-shell,.area-backoffice main{min-width:0}
 .area-backoffice .auth-card,.area-backoffice .tool-card,.area-backoffice .ca-panel,
 .area-backoffice .cash-admin-card,.area-backoffice .rc-panel,
 .area-backoffice .season-top-grid,.area-backoffice .season-action-grid{min-width:0;max-width:100%;box-sizing:border-box}
 .area-backoffice :is(button:not(.rc-segbtn),.button-link,.access-tabs a,.topnav a,.tool-actions a){min-height:44px}
 .area-backoffice button,.area-backoffice select,.area-backoffice input{touch-action:manipulation}
 .area-backoffice :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%;box-sizing:border-box;font-size:16px}
 .area-backoffice :is(.responsive-table,.tool-table-wrap,.cash-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .area-backoffice :is(.responsive-table,.tool-table-wrap){overscroll-behavior-x:contain}
 .area-backoffice :is(.simple-table,.tool-table){font-size:.88rem}
 .area-backoffice :is(h1,h2,h3,summary,strong){overflow-wrap:anywhere}
 .area-backoffice :is(.cash-admin-toolbar,.tool-row,.tool-actions,.topnav){min-width:0}
 .area-backoffice .bo-task-root :is(form,fieldset){min-width:0;max-width:100%}
}
@media(max-width:450px){
 .area-backoffice .season-top-grid,.area-backoffice .season-action-grid,
 .area-backoffice .season-overview-grid{grid-template-columns:minmax(0,1fr)!important}
 .area-backoffice .season-action-grid .auth-card{min-width:0}
 .area-backoffice .ca-form-grid{grid-template-columns:minmax(0,1fr)}
 .area-backoffice .ca-query-head{min-height:50px}
 .area-backoffice .cash-inline-actions .btn{min-height:44px}
}

/* Persönliche Backoffice-Freigabe: ausreichend große Eingabe und Touchflächen. */
.area-backoffice .auth-card > .auth-form input[name="pin"],
.area-backoffice .auth-card > .auth-form button[type="submit"]{min-height:44px;box-sizing:border-box}
@media(max-width:760px){
 .area-backoffice .auth-card > .auth-form input[name="pin"],
 .area-backoffice .auth-card > .auth-form button[type="submit"]{min-height:48px}
}

/* Kontrollierte Touchgrößen für Eingaben und kleine Aktionen auch auf Tablets. */
@media(max-width:900px){
 .area-backoffice .cash-admin-shell .btn.mini,
 .area-backoffice .cash-admin-shell button.btn.mini {min-height:44px;padding:10px 12px;}
 .area-backoffice .cash-admin-shell .cash-field input,
 .area-backoffice .cash-admin-shell .cash-field select,
 .area-backoffice .cash-admin-shell .open-row input,
 .area-backoffice .cash-admin-shell .open-row select {min-height:44px;box-sizing:border-box;}
 .area-backoffice .drink-orders-card .tool-field input,
 .area-backoffice .drink-orders-card .boxesInp,
 .area-backoffice .drink-orders-card .button-link {min-height:44px;box-sizing:border-box;}
}

/* QA 2026-10-15: Tablet ist ebenfalls ein Touchgerät (nicht nur <=760px). */
@media(min-width:761px) and (max-width:900px){
  .area-backoffice button.button-link,
  .area-backoffice button.button-link.small,
  .area-backoffice button.btn,
  .area-backoffice .tool-table-wrap button,
  .area-backoffice .menu-admin-page button,
  .area-backoffice .ca-free-form button,
  .area-backoffice .pc-form button {min-height:44px;box-sizing:border-box;}
  .area-backoffice .pc-field input,
  .area-backoffice .pc-field select,
  .area-backoffice .tool-field input:not([type="checkbox"]),
  .area-backoffice .tool-field select,
  .area-backoffice .tool-table-wrap input:not([type="checkbox"]),
  .area-backoffice .tool-table-wrap select {min-height:44px;box-sizing:border-box;}
}
