/* DzematIS mobile layer: desktop rules remain in the versioned stylesheets. */
.mobile-menu{display:none}.mobile-nav-shade{display:none}
@media (max-width:900px){
 body.nav-open{overflow:hidden}.shell{display:block;min-height:100vh}
 .shell>aside{position:fixed;z-index:1000;inset:0 auto 0 0;width:min(82vw,310px);padding:22px;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:14px 0 42px #071d1666}
 body.nav-open .shell>aside{transform:translateX(0)}.shell>aside nav{margin-top:22px}.shell>aside nav a{min-height:44px;display:flex;align-items:center}
 .shell>main{padding:0 18px 28px;width:100%;overflow:hidden}.shell>main>header{height:70px;gap:12px;justify-content:flex-start;position:sticky;top:0;z-index:20;background:#f2f6f3ef;backdrop-filter:blur(8px)}
 .shell>main>header h1{font-size:23px;margin-right:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mobile-menu{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:0;background:#174f3b;font-size:22px}
 .mobile-nav-shade{display:block;position:fixed;z-index:999;inset:0;border:0;border-radius:0;margin:0;padding:0;background:#071d1699;opacity:0;visibility:hidden;transition:opacity .2s}
 body.nav-open .mobile-nav-shade{opacity:1;visibility:visible}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards article,.panel,article{padding:18px}
 .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.inline{flex-wrap:wrap;max-width:100%}.inline select,.inline input{width:100%;max-width:none;min-width:150px;flex:1}
 .reporthead{align-items:flex-start;gap:12px}.reporthead h2{font-size:20px}.filters{flex-wrap:wrap}.filters>*{flex:1 1 150px}
 .pubnav{padding:14px 18px;gap:10px;align-items:center}.pubbrand{min-width:0;padding:0}.pubbrand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pubnav nav{display:flex;margin-left:auto;gap:4px}.pubnav nav a:not(.loginbtn){display:none}.pubnav .loginbtn{white-space:nowrap;padding:10px 12px}
 .hero{min-height:0;padding:56px 24px;gap:28px}.hero h1{font-size:clamp(36px,9vw,48px)}.pubmain{padding:48px 18px}.contact{margin-top:45px;padding:28px}
}
@media (max-width:700px){
 .shell>main{padding-inline:12px}.cards,.formgrid,.twocol,.messagegrid,.postgrid,.report-cards{grid-template-columns:1fr}.cards{gap:10px}.cards article{margin-bottom:0}
 .welcome{padding:24px 20px}.welcome h2{font-size:26px}article,.panel{border-radius:12px;padding:15px}button,.btn{min-height:42px;padding:10px 12px}
 input,select,textarea{font-size:16px;min-height:44px}textarea{min-height:100px}.formgrid .wide{grid-column:auto}
 .modal-actions{position:sticky;bottom:0;background:#fff;padding-top:10px;flex-wrap:wrap}.modal-actions>*{flex:1}
 dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);margin:8px auto}dialog[open]{display:block}.modal-form{padding:20px 16px;max-height:calc(100dvh - 16px);overflow-y:auto}.modal-head{position:sticky;top:-20px;z-index:2;background:#fff;padding-top:12px}
 .listbar,.pager{padding:11px}.listbar label{flex-wrap:wrap}.table{overflow:visible}table.mobile-cards{display:block;width:100%}
 table.mobile-cards thead,table.mobile-cards .mobile-table-head{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 table.mobile-cards tbody{display:grid;gap:12px}table.mobile-cards tr{display:block;background:#fff;border:1px solid #dfe8e3;border-radius:12px;padding:8px 12px;box-shadow:0 5px 14px #143d2e0d}
 table.mobile-cards tr.group{background:#dfece5;padding:0}table.mobile-cards tr.group th{display:block;border:0;padding:12px}table.mobile-cards tr.total{background:#edf5f0}
 table.mobile-cards td,table.mobile-cards tbody th{display:grid;grid-template-columns:minmax(105px,38%) 1fr;gap:10px;align-items:start;text-align:right;padding:10px 0;border-bottom:1px solid #e8eeeb;overflow-wrap:anywhere}
 table.mobile-cards td:last-child,table.mobile-cards tbody th:last-child{border-bottom:0}table.mobile-cards td::before,table.mobile-cards tbody th::before{content:attr(data-label);font-size:12px;font-weight:700;color:#667a70;text-align:left;text-transform:uppercase;letter-spacing:.03em}
 table.mobile-cards td[colspan]{grid-template-columns:1fr}table.mobile-cards td[colspan]::before{display:none}table.mobile-cards td .inline{justify-content:flex-end}
 table.mobile-cards td .inline input,table.mobile-cards td .inline select{min-width:100%;text-align:left}table.mobile-cards td .btn,table.mobile-cards td button{margin:3px;white-space:normal}
 .report table.mobile-cards tr.group th{display:block;text-align:left}.report table.mobile-cards tr.group th::before{display:none}.signatures{flex-direction:column;gap:45px;margin-top:50px}
 .eventlist article{gap:14px;padding:15px}.eventlist time{min-width:58px;padding:9px}.sectionhead h2{font-size:31px}.contact .cta{display:inline-block;margin-top:12px}.login{padding:12px}.login form{width:100%;max-width:410px;padding:28px 20px}
}
@media (max-width:420px){.pubbrand small{display:none}.pubbrand span{font-size:13px;max-width:150px}.pubnav .logo{padding:8px}.pubnav .loginbtn{font-size:13px}.hero{padding:42px 18px}.hero h1{font-size:34px}.herocard{padding:22px}.shell>main>header i{display:none}}
@media print{.mobile-menu,.mobile-nav-shade{display:none!important}table.mobile-cards{display:table!important}table.mobile-cards thead,table.mobile-cards .mobile-table-head{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}table.mobile-cards tbody{display:table-row-group}table.mobile-cards tr{display:table-row;border:0;box-shadow:none;padding:0}table.mobile-cards td,table.mobile-cards tbody th{display:table-cell;text-align:left;padding:8px;border-bottom:1px solid #bbb}table.mobile-cards td::before,table.mobile-cards tbody th::before{display:none}}
