/* Responsive supplement to the verified SalonFlow 1.1 bundle. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100% }
.app,.workspace,.panel,.page-title>*,.admin-grid>*,.field,.form-grid>* { min-width:0 }
.app button { max-width:100%; overflow-wrap:anywhere }
.app input,.app select,.app textarea { min-width:0; max-width:100% }
.page-title,.attendance-heading,.catalog-title,.report-dates,.form-actions { flex-wrap:wrap; gap:12px }
[data-slot=dialog-content] { max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow-y:auto; overscroll-behavior:contain }
[data-slot=table-container] { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch }
.schedule-track-cell,.product-cell { min-width:0 }
.shift-gate-brand>div { min-width:0 }
@media(max-width:1100px){
 .workspace>.nav [data-slot=tabs-list] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; height:auto; gap:6px }
 .workspace>.nav [data-slot=tabs-trigger] { white-space:normal; min-width:0; width:100%; height:auto; min-height:48px; line-height:1.45; padding:10px 8px; overflow-wrap:anywhere }
 .admin-grid { grid-template-columns:minmax(0,1fr) }
}
@media(max-width:700px){
 .app>header,.workspace>.nav { position:static }
 .app>header { flex-wrap:wrap; height:auto; min-height:0; gap:12px; padding:16px }
 .workspace { padding-left:12px; padding-right:12px }
 .workspace>.nav [data-slot=tabs-list] { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .workspace>.nav [data-slot=tabs-trigger] { font-size:14px }
 .form-grid,.admin-grid,.shift-admin-profiles { grid-template-columns:minmax(0,1fr) }
 .app input,.app select,.app textarea,[data-slot=dialog-content] input,[data-slot=dialog-content] select { font-size:16px }
 .app button:not(.product-info-trigger),[data-slot=dialog-content] button { min-height:44px; white-space:normal; line-height:1.4 }
 .shift-gate { padding:12px }
 .shift-gate-card { padding:22px 16px; min-width:0 }
 .shift-gate-brand { flex-wrap:wrap }
 .shift-gate-brand strong { overflow-wrap:anywhere }
 .report-dates>* { max-width:100%; min-width:0 }
 .form-actions>button { flex:1 1 140px }
 .booking-details dl>div { grid-template-columns:minmax(0,1fr) }
 .movement-totals,.payroll-totals { grid-template-columns:minmax(0,1fr) }
 .short-booking-cards { grid-template-columns:minmax(0,1fr) }
}
@media(max-height:500px) and (orientation:landscape){
 .app>header,.workspace>.nav { position:static }
 [data-slot=dialog-content] { max-height:calc(100dvh - 16px) }
}
