/* V31.70: presentation only; report and invoice calculations are unchanged. */
[hidden]{display:none!important}
#myInvoicesModal .flow-head{display:none}
#adminNotificationsModal .flow-head{justify-content:flex-start;border:0;padding:0;margin-bottom:14px}
.admin-account70{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}
.admin-account70 .userbox{justify-content:center}
.admin-account-actions70{display:flex;gap:8px;justify-content:center}
.system-dialog70{position:fixed;inset:0;z-index:10000;background:#0f172a80;display:grid;place-items:center;padding:16px}
.system-dialog70>div{width:min(460px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 20px 60px #0004}
.system-dialog70 h2{font-size:18px;margin:0 0 14px;color:#173d63}
.system-dialog70 p{font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.system-actions70{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.system-actions70 button{border:0;border-radius:8px;padding:10px 16px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:#eef2f7;color:#173d63}
.system-actions70 button:last-child{background:#2f75b5;color:white}
.dialog-brand70{display:block;font-size:11px;color:#64748b;margin-bottom:5px}
.modal.show:not(.inline-create70){padding:12px;overflow:auto;align-items:center}
.modal.show:not(.inline-create70)>.modalbox{max-height:calc(100dvh - 24px);overflow:auto;width:min(1050px,100%)}
.modalactions{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:8px!important;align-items:center}
.modalactions .btn{font-size:12px!important;padding:9px 12px!important;min-height:36px;margin:0!important;white-space:normal}
.inline-create70.modal{position:static!important;inset:auto!important;background:transparent!important;padding:0!important;z-index:auto!important;display:none}
.inline-create70.modal.show{display:block!important}
.inline-create70>.modalbox{width:100%!important;max-width:none!important;height:calc(100dvh - 135px)!important;min-height:480px;max-height:none!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:hidden}
.inline-create70 .modalhead{display:none}
.inline-create70 iframe{height:100%;background:#f5f7fb}
@media(max-width:600px){
 .app{display:block!important}
 .sidebar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;padding:8px 10px!important;overflow:visible!important}
 .sidebar .brand,.sidebar .sidebar-foot{display:none!important}
 .sidebar .nav{display:flex!important;flex-wrap:wrap;gap:4px}
 .sidebar .nav button{width:auto!important;flex:0 1 auto;padding:9px 10px!important;margin:0!important;font-size:12px!important;text-align:left!important}
 .sidebar .nav .txt{display:inline!important}
 .main{margin-left:0!important;padding:16px 10px 30px!important;min-width:0}
 .topbar{align-items:flex-start;gap:10px;flex-wrap:wrap}
 .topbar h1{font-size:21px}
 .admin-account70{margin-left:auto}
 .modalactions .btn{flex:1 1 140px}
 .detailgrid{grid-template-columns:1fr!important}
 .inline-create70>.modalbox{height:calc(100dvh - 180px)!important;min-height:480px}
}

/* Matching Admin / Supervisor identity and action layout. */
.admin-account70{align-items:stretch;max-width:100%;min-width:0}
.account-card71.userbox{gap:12px;padding:14px 16px;min-width:240px;max-width:420px;justify-content:flex-start;box-sizing:border-box}
.account-card71 .avatar{width:48px;height:48px;flex:0 0 48px;font-size:20px;background:#2f75b5;color:white;border-radius:50%;display:grid;place-items:center;font-weight:800}
.account-card71 .account-details71,.account-card71>div:not(.avatar){min-width:0!important}
.account-card71 b{font-size:16px;line-height:1.3;display:block}
.account-card71 .sub{font-size:12px;line-height:1.45;margin-top:4px;overflow-wrap:anywhere}
.admin-account-actions70{flex-wrap:wrap;align-items:center}
@media(max-width:640px){.admin-account70{width:100%;max-width:100%}.account-card71.userbox{width:100%;max-width:none;min-width:0}.admin-account-actions70{justify-content:flex-end}}
