/* V22 isolated operational modules + evidence hub, mobile-first */
.td22-open{display:block;margin:8px auto 12px;padding:10px 22px;min-height:44px;border-radius:11px;background:#f5fbf8;color:#0d7154;border:1px solid #b6dccc;font-weight:650;cursor:pointer;}
#td22-operations-overlay[hidden]{display:none!important}
#td22-operations-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:flex-end;justify-content:center;color:#123d30;font-family:inherit}
.td22-veil{position:absolute;inset:0;background:#123c30aa}
.td22-sheet{position:relative;background:#f6fcf9;border-radius:20px 20px 0 0;max-width:760px;width:100%;height:94dvh;display:flex;flex-direction:column;overflow:hidden;}
.td22-sheet>header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;padding:12px 14px 8px;flex:0 0 auto;background:#f6fcf9;}
.td22-sheet>header h2{font-size:21px;margin:0;}
.td22-sheet>header button{width:42px;height:42px;border:0;background:transparent;font-size:30px;color:#087e60}
#td22-modules{display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;padding:10px 12px 14px;flex:0 0 auto}
#td22-modules button{border:1px solid #cee4db;background:#fff;border-radius:14px;min-height:43px;padding:8px 13px;white-space:nowrap;color:#3c6357}
#td22-modules button.active{background:#098369;color:white;border-color:#098369}
#td22-results{overflow:auto;overscroll-behavior:contain;padding:8px 15px 35px;flex:1;min-height:0;}
.td22-record-card{margin-bottom:11px;box-shadow:0 4px 12px #12593b0b;}
.td22-record-card.td22-current{outline:2px solid #0e9974;outline-offset:1px}
.td22-field{display:grid;grid-template-columns:minmax(118px,42%) minmax(0,1fr);gap:8px;align-items:start;padding:6px 0;border-bottom:1px solid #edf4f0}
.td22-field span{color:#5c7d6c;font-size:13px}
.td22-field strong{font-size:14px;color:#183d32;overflow-wrap:anywhere;font-weight:580}
.td22-lock{overflow:hidden!important}
.td22-empty,.td22-error{padding:25px 16px;color:#56756a}
.td22-error{color:#b03b31}
.td22-evidence{margin:0 0 16px;background:#fff;border:1px solid #d3e8dc;border-radius:15px;padding:10px}
.td22-evidence img{width:100%;max-height:520px;object-fit:contain;border-radius:10px;background:#f3fbf8;}
.td22-evidence figcaption{font-size:11px;line-height:1.5;color:#5b7b6b;overflow-wrap:anywhere;margin:6px}
.td22-hub-title{font-size:13px;color:#4b7664;margin:0 10px 4px;}
.td22-login-layer{position:fixed;inset:0;z-index:13000;background:#092e26ba;display:grid;place-items:center;padding:12px}
.td22-login{max-width:400px;background:#fff;border-radius:18px;padding:20px;width:100%;box-sizing:border-box}
.td22-login h2{margin:0 0 8px;font-size:21px;color:#143f34}
.td22-login p{color:#57766b;font-size:13px}
.td22-login input{min-height:49px;width:100%;box-sizing:border-box;padding:11px;border:1px solid #bacfc5;border-radius:9px}
.td22-login>div{display:flex;gap:10px;margin-top:13px}
.td22-login button{flex:1;min-height:44px;border:1px solid #98ccb9;border-radius:9px;color:#17684d;background:white}
.td22-login button[type=submit]{background:#088467;color:white}
.td22-login-error{color:#b13a31!important;}
@media(max-width:359px){.td22-sheet>header h2{font-size:18px}#td22-results{padding:8px 8px 24px}.td22-field{grid-template-columns:minmax(100px,40%) minmax(0,1fr)}}

#td22-calendar-activity{max-width:1080px;margin:0 auto 13px;padding:10px 13px;border:1px solid #d7ebe1;border-radius:14px;background:#fff;}
#td22-calendar-activity h3{font-size:15px;font-weight:640;color:#124735;margin:0 0 7px;}
.td22-activity-list{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;}
.td22-activity-list button{border:1px solid #e0eee8;background:#f5fbf8;border-radius:9px;padding:9px;text-align:left;min-width:150px;max-width:230px;color:#134b38;}
.td22-activity-list strong{display:block;font-size:12px;font-weight:650;}
.td22-activity-list small{display:block;font-size:11px;color:#6a8177;margin-top:4px;}
