/* TRATO 1.3.0: public recovery and modern platform administration */
.t130-recovery{min-height:100vh;display:grid;place-items:center;background:#061421;padding:30px 16px}.t130-recovery-wrap{width:min(490px,100%)}.t130-back{display:inline-block;margin-bottom:22px;color:#9fc6e6}.t130-recovery .brand{margin-bottom:24px}.t130-recovery .panel{padding:29px}.t130-recovery h1{font-size:30px;margin:12px 0}.t130-recovery .panel>p{line-height:1.65}.t130-forgot{text-align:right;margin:-2px 0 18px}.t130-forgot a,.t130-login-back a{color:#ff9b4b;text-decoration:underline;text-underline-offset:3px}.t130-login-back{font-size:13px;margin:24px 0 4px;text-align:center}.t130-success{font-size:14px;color:#94f7c0;line-height:1.6;min-height:20px}.t130-recovery input{font-size:16px}.t130-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:20px 0}.t130-stat{display:flex;flex-direction:column;min-height:116px;gap:9px}.t130-stat small{color:#a8c7e2;font-size:12px}.t130-stat strong{font-size:clamp(23px,2.2vw,35px);line-height:1.2}.t130-stat>span{color:#89afce;font-size:11px;line-height:1.5}.t130-sub-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.t130-sub-grid .stat{min-width:0}.t130-sub-grid .stat strong{font-size:19px}.t130-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px;background:#102b40;border:1px solid #396080;padding:13px;border-radius:11px;line-height:1.5}.t130-check input{flex:0 0 auto;width:20px;height:20px;accent-color:#fc7e0c;margin-top:1px}.t130-audit-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.t130-audit-head h2{margin:0}.t130-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:15px;margin:20px 0}.t130-filters label{min-width:0}.t130-filters select,.t130-filters input{width:100%}.t130-button{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:12px 15px;text-decoration:none;font-size:13px;font-weight:800;background:#ff7f15;color:#081523}.t121-admin-shell .sidebar nav button{font-weight:650;border-radius:10px;margin:3px 0}.t121-admin-shell .sidebar nav button.active{background:#ff7f13;color:#061421}.t121-admin-shell .t121-admin-tag{border:1px solid #375771;border-radius:12px;padding:11px;margin:18px 0}.t121-admin-shell .workspace{padding-bottom:55px}.t121-admin-shell .panel{overflow:hidden}.t121-admin-shell .tablewrap{max-width:100%;overflow-x:auto}.t121-admin-shell table{min-width:700px}.t121-admin-shell .stat{background:#10263a;border:1px solid #2e4e68;border-radius:12px}.t121-admin-shell .pagehead{margin-bottom:22px}body:has(.t121-admin-shell) .t130-button:focus-visible,body:has(.t121-admin-shell) button:focus-visible{outline:2px solid #ff8a22;outline-offset:2px}@media(max-width:700px){.t130-audit-head{display:block}.t130-audit-head .actions{margin:12px 0}.t130-filters{grid-template-columns:1fr}.t130-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.t130-sub-grid{grid-template-columns:1fr}}
@media print{body:has(.t121-admin-shell){color:black;background:white!important}.t121-admin-shell aside,.t121-admin-shell .topbar,.t121-admin-shell .pagehead .actions,.t130-audit-head .actions,.t130-filters{display:none!important}.t121-admin-shell .workspace{padding:0!important}.t121-admin-shell .panel{border:0!important;background:white!important}.t121-admin-shell .tablewrap{overflow:visible}.t121-admin-shell table{min-width:0;width:100%}.t121-admin-shell td,.t121-admin-shell th{color:#1b3344!important}}

/* TRATO 1.3.6 — supervised, scoped establishment reset */
.t136-admin-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.t136-reset-button{background:#231b22;color:#ffc1c1;border:1px solid #995563;border-radius:9px;padding:10px 12px;font-weight:750}
.t136-reset-button:hover{border-color:#ff8592;background:#3c222a}
.t136-reset-button:focus-visible,.t136-reset-submit:focus-visible{outline:3px solid #ff8b28;outline-offset:2px}
.t136-reset-form{display:grid;gap:16px;max-width:690px}
.t136-reset-form h3{margin:0}.t136-danger-notice{background:#321d24;border:1px solid #b85f6d;border-radius:12px;padding:14px;line-height:1.6;color:#ffdee1}
.t136-reset-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.t136-reset-counts>div{display:flex;justify-content:space-between;gap:12px;background:#122940;border:1px solid #34546e;border-radius:9px;padding:10px 12px}
.t136-reset-counts strong{color:#ff9b53;font-variant-numeric:tabular-nums}
.t136-backup-note{background:#172d37;border-left:3px solid #ff892b;border-radius:9px;padding:12px}
.t136-reset-form label{display:grid;gap:8px}
.t136-reset-check{display:flex!important;align-items:flex-start;gap:12px;line-height:1.5}
.t136-reset-check input{width:22px;height:22px;flex:0 0 auto;accent-color:#ff8128}
.t136-reset-submit{background:#b13548;border-color:#bf495b;color:white;font-weight:800}
.t136-reset-submit:hover{background:#cf4258}
@media(max-width:610px){.t136-reset-counts{grid-template-columns:1fr}.t136-reset-form .formfoot{display:grid;grid-template-columns:1fr}.t136-reset-form .formfoot button{width:100%}}

/* TRATO 1.3.7 — focused tenant mode for Super Admin */
.t137-tenant-shell .t121-admin-tag{border-color:#cc7524;background:#162a3a}
.t137-tenant-shell .t121-admin-tag strong{overflow-wrap:anywhere}
.t137-tenant-shell .topbar .t137-back{background:#ff8318;border-color:#ff8318;color:#081421;white-space:normal;text-align:center;font-weight:800}
.t137-tenant-shell .topbar .t137-back:hover{background:#ff9a42}
.t137-tenant-shell .topbar .actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
@media(max-width:800px){.t137-tenant-shell .t121-admin-tag{margin:4px 0 12px}.t137-tenant-shell .topbar .actions{justify-content:flex-end}.t137-tenant-shell .topbar .t137-back{min-height:40px}}
