.record-more,.mobile-shortcuts,.mobile-nav-close,.mobile-nav-shade{display:none}
@media screen and (max-width:1100px), screen and (max-width:1366px) and (pointer:coarse){
 html{scroll-padding-top:72px;-webkit-text-size-adjust:100%}
 body{overflow-wrap:break-word}
 .app{display:block!important;min-width:0}
 .main,body.with-area-subnav .main{padding:76px 16px 24px!important;min-width:0}
 .sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(340px,90vw)!important;height:100dvh!important;min-height:0;padding:18px!important;z-index:1000!important;overscroll-behavior:contain;transform:translateX(-105%);transition:transform .2s ease}
 .sidebar.open{transform:translateX(0)}
 .sidebar .brand{margin:6px 0 20px}.sidebar .nav-btn{min-height:64px;padding:12px!important;gap:12px;border-radius:12px}.sidebar .nav-visual{width:38px;height:38px}.sidebar .nav-copy strong{font-size:15px}.sidebar .nav-copy small{font-size:11px}.sidebar-nav{gap:8px}
 .sidebar-footer{margin-top:20px;padding-bottom:env(safe-area-inset-bottom)}
 .mobile-nav-close{display:block;align-self:flex-end;background:transparent;color:#fff;border:1px solid #7ca897;border-radius:9px;padding:10px 14px;min-height:44px}
 .mobile-nav-shade:not([hidden]){display:block;position:fixed;inset:0;background:#102d2380;border:0;z-index:999}
 body.mobile-nav-open{overflow:hidden}
 #menuBtn.responsive-menu-btn{display:flex!important;position:fixed!important;align-items:center;justify-content:center;background:white;color:#095338;border:0;border-radius:11px;height:44px;top:max(12px,env(safe-area-inset-top))!important;left:16px!important;width:112px!important;font-size:21px!important;gap:9px;z-index:900!important}
 .responsive-menu-btn:after{content:'Menú';font-size:15px}
 .home-cover-card img{max-height:220px!important;object-fit:cover}
 .mobile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
 .mobile-shortcuts button{min-height:64px;border:1px solid #c8ded3;background:white;color:#095338;text-align:left;padding:16px;border-radius:12px;font-size:17px;font-weight:750}
 .section-photo-hero,.photo-title-hero,.grincont-clients-hero,.grincont-invoices-hero,#managementView>.section-photo-hero{height:105px!important;margin-bottom:12px!important}
 .section-photo-title h2{font-size:24px!important}.section-photo-title{bottom:12px!important}
 .module-approved-hero img{max-height:100px!important;object-fit:cover!important;width:100%}
 .cards,.grincont-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}
 .cards .stat:last-child{grid-column:auto!important}.stat{padding:12px!important;box-shadow:none}.stat strong{font-size:24px}.stat span{font-size:12px;margin-bottom:4px}
 .panel-head,.recent-heading{flex-wrap:wrap;padding:14px!important;gap:10px}.panel-head>*,.heading-actions>*{min-width:0;max-width:100%}
 .panel-head>div:has(input),.panel-head .heading-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 .panel-head input,.recent-search{flex:1 1 230px;min-width:0!important;width:100%!important}
 .heading-actions,.recent-module-actions{display:flex;flex-wrap:wrap;gap:8px!important;margin-bottom:12px}
 button,input,select,textarea{max-width:100%;touch-action:manipulation}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-width:0}
 button:not(.client-ppcl-image),.table-action,.row-action{min-height:44px}
 .table-wrap:has(>.responsive-records),.ppcl-section-table-wrap:has(>.responsive-records){overflow:visible!important;max-height:none!important}
 table.responsive-records{display:block!important;min-width:0!important;width:100%!important;border:0!important}
 table.responsive-records>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 table.responsive-records>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
 table.responsive-records>tbody>tr.responsive-record{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px 12px;background:#fff;border:1px solid #d5e4dd;border-radius:12px;padding:14px;min-width:0;box-shadow:0 2px 5px #0a503808}
 table.responsive-records>tbody>tr>td{display:block;min-width:0!important;max-width:100%;width:auto!important;flex:1 1 40%;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;font-size:14px!important;background:transparent!important}
 table.responsive-records>tbody>tr>td:before{content:attr(data-mobile-label);display:block;font-size:10px;font-weight:750;text-transform:uppercase;color:#647c70;margin-bottom:4px}
 table.responsive-records>tbody>tr>td.record-title{flex-basis:100%;order:-2;font-size:17px!important;font-weight:750;color:#084f39}
 table.responsive-records>tbody>tr>td.record-title:before{display:none}
 table.responsive-records>tbody>tr>td.record-actions{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:6px;align-items:center;order:2}
 table.responsive-records>tbody>tr>td.record-actions:before{display:none}
 table.responsive-records .record-actions button{flex:1 1 auto;font-size:14px!important;padding:10px!important;white-space:normal}
 table.responsive-records>tbody>tr>td.record-secondary{display:none}
 table.responsive-records>tbody>tr.record-expanded>td.record-secondary{display:block;flex-basis:100%;padding-top:7px!important;border-top:1px solid #edf2ef!important}
 table.responsive-records>tbody>tr>td.record-more{display:block;flex-basis:100%;order:3}
 table.responsive-records td.record-more:before{display:none}
 .record-more button{border:0;background:#f0f6f3;color:#095338;border-radius:8px;width:100%;padding:9px;font-size:13px}
 .responsive-records td small{display:block;font-weight:400;margin-top:4px}
 .responsive-records td img{max-width:100%;height:auto;max-height:180px;object-fit:contain}
 .modal-backdrop,.edit-modal-backdrop{padding:12px!important;z-index:1200!important}
 .modal,.edit-modal,.edit-modal.audit-editor-modal{max-height:calc(100dvh - 24px)!important;width:min(900px,100%)!important;overflow:auto;overscroll-behavior:contain}
 .edit-form,.form-grid{min-width:0}.field{min-width:0}.form-actions{display:flex;gap:8px;flex-wrap:wrap}.form-actions button{flex:1}
 .audit-control-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.audit-control-name strong{font-size:14px!important}.audit-control label>span{font-size:12px!important}.audit-control input,.audit-control select{min-height:44px!important}
 #ppclManagerView .ppcl-section-body.editing{display:flex!important;flex-direction:column-reverse}
 #ppclManagerView .ppcl-section-body.editing>*{width:100%;min-width:0}
 .client-ppcl-full,.client-ppcl-internal-layout{grid-template-columns:1fr!important}
 .client-ppcl-nav{position:static!important;max-height:280px;overflow:auto}
 .portal-workspace{grid-template-columns:1fr!important}.module-grid{position:static!important;display:flex!important;flex-direction:row!important;overflow:auto}.module-card{min-width:130px}
 .preview-body{padding:10px!important}.preview-head{flex-wrap:wrap}.preview-head h2{font-size:23px!important}.preview-user{white-space:normal!important;overflow-wrap:anywhere}
}
@media screen and (max-width:700px){
 .main,body.with-area-subnav .main{padding-left:10px!important;padding-right:10px!important}
 table.responsive-records>tbody{grid-template-columns:1fr;padding:10px;gap:10px}
 .stat{padding:9px!important}.stat span{font-size:10px}.stat strong{font-size:22px}
 .panel-head select{flex:1 1 140px}.panel-head input{flex-basis:100%}
 .edit-form,.form-grid,.detail-grid,.client-ppcl-fields{grid-template-columns:1fr!important}.field.span-2,.span-2{grid-column:1/-1!important}
 .audit-control-list{grid-template-columns:1fr!important}
 .modal-backdrop,.edit-modal-backdrop{padding:6px!important}.modal,.edit-modal{max-height:calc(100dvh - 12px)!important;border-radius:12px!important}.modal-body,.edit-modal>#editModalBody{padding:14px!important}
 .home-cover-card img{max-height:160px!important}.section-photo-hero,.photo-title-hero{height:90px!important}
 .establishment-tab{font-size:13px!important;padding:10px 12px!important}.portal-tab{font-size:14px!important;padding:10px 12px!important;min-height:44px!important}
}
