﻿/* Shared small-screen safeguards; no desktop layout changes. */
@media(max-width:760px){
 .calendar-layout{grid-template-columns:minmax(0,1fr)}
 .calendar-layout>*,.calendar-panel,.calendar-selection{min-width:0;max-width:100%;box-sizing:border-box}
 .calendar-week,.calendar-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;min-width:0}
 .calendar-days button{min-width:0;width:100%;min-height:36px;padding:3px;font-size:12px}
 .calendar-toolbar{gap:8px;min-width:0}.calendar-toolbar h2{font-size:20px;min-width:0}
 .calendar-toolbar .button{padding:10px;flex-shrink:0}
 .calendar-selection input,.calendar-selection select{max-width:100%;min-width:0}
 .portal-area,.member-layout,.member-security,.main,.content,.panel,.offering-card,.service-detail-section{min-width:0}
 .service-record header>div,.service-record-meta>div,.service-detail-facts dd{min-width:0;overflow-wrap:anywhere}
 .service-detail-actions,.actions{flex-wrap:wrap}
 .corporate-admin .admin-language{position:absolute}
 #toast{max-width:calc(100vw - 32px);box-sizing:border-box;right:16px;bottom:16px;overflow-wrap:anywhere}
 dialog{max-width:calc(100vw - 24px);box-sizing:border-box}
 .table-scroll{max-width:100%;overscroll-behavior-x:contain}
 input:not([type=checkbox]):not([type=radio]),select,textarea,.service-form-dialog .field input,.service-form-dialog .field textarea,.service-select-trigger{font-size:16px}
}
@media(max-width:360px){
 .calendar-panel{padding:12px}.calendar-days button{min-height:32px}
 .corporate-header-inner{column-gap:8px}.corporate-brand img{max-width:120px}
 .service-form-header{padding:16px}.service-form-header h2{font-size:20px}
 .service-invoice>div{gap:12px}.service-invoice-total dd{font-size:16px}
 .service-form-actions{padding:12px 16px}.service-form-actions .button{padding:10px 8px}
}
.push-prompt{max-width:1120px;margin:16px auto;padding:18px 22px;border:1px solid #cddfea;border-radius:12px;background:#f4f9fc;color:#29465b;display:flex;gap:18px;align-items:center;justify-content:space-between}.push-prompt strong{font-size:15px}.push-prompt p{font-size:12px;line-height:1.6;margin:6px 0}.push-actions{display:flex;gap:8px;flex-shrink:0}.push-actions .button{font-size:12px}.push-feedback{color:#52697b}.push-actions button:disabled{opacity:.6;cursor:default}@media(max-width:760px){.push-prompt{margin:12px 16px;flex-direction:column;align-items:stretch;padding:16px}.push-actions{flex-wrap:wrap}.push-actions .button{flex:1}}
@media(max-width:360px){
 .header{gap:8px;padding-inline:12px;box-sizing:border-box;width:100%;min-width:0}
 .header .brand{min-width:0;flex:1 1 auto;max-width:125px}.header .brand-logo{width:100%;max-width:125px;height:auto}
 .header .language-switch{flex:0 0 auto;margin-left:auto;padding:3px}.header .language-globe{display:none}
 .header .menu-toggle{flex:0 0 36px;width:36px;height:38px;padding:0}
 .life-spark,.phone-spark{display:none}
}
.service-form-dialog .service-image-upload{display:flex;align-items:center;justify-content:center;min-height:50px;gap:10px;overflow:hidden}
.service-form-dialog .service-image-upload input[type=file]{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
.service-form-dialog .service-image-upload:focus-within{outline:2px solid #359ac5;outline-offset:3px}
.service-form-dialog .service-image-upload:has(input:disabled){opacity:.6;cursor:default}
