/* Super Admin 2 reference: compact navy navigation, blue actions, analytical cards. */
body.console-v2{--blue:#075aff;--navy:#001c30;--text:#060e4e;--muted:#65718b;--line:#e3edf8;--bg:#f3f9fd;background:var(--bg);color:var(--text);font-size:13px}
.console-v2 button,.console-v2 .table-action{border:1px solid #bed4ff;border-radius:4px;background:#fff;color:#075aff;min-height:32px;padding:7px 12px;font-size:11px;box-shadow:none}
.console-v2 .primary{color:#fff;background:#075aff;border-color:#075aff}.console-v2 .danger{border-color:#ed526c;color:#dd2446}.console-v2 a{color:#075aff}.console-v2 .icon{width:18px;height:18px;stroke:currentColor}
.console-v2 .sidebar{width:220px;background:linear-gradient(110deg,#001322,#002333);border-right:1px solid #14354d;color:#fff}.console-v2 .brand{height:70px;min-height:70px;background:none;padding:12px 17px;border-bottom:1px solid #1b384d;position:relative}.console-v2 .brand img{width:155px;height:29px;object-fit:contain;object-position:left;filter:brightness(0) invert(1)}.console-v2 .brand small{font-size:10px;letter-spacing:.4px;color:#e4edfa;padding-top:2px}.console-v2 .sidebar-close{background:transparent!important;color:#abc0d0!important;border:0!important;right:4px;top:4px;padding:3px;min-height:22px}
.console-v2 .nav-link{min-height:42px;border-radius:5px;color:#eff7ff;padding:10px 14px;gap:13px;font-size:12px;border-left:3px solid transparent;white-space:normal}.console-v2 .nav-link.active{background:linear-gradient(100deg,#003a80,#03356d);color:#fff;border-left-color:#0068ff}.console-v2 .nav-label{color:#b7cbe0;font-size:10px;letter-spacing:.1px;padding:13px 16px 6px;border-top:1px solid #13334a;margin-top:7px}.console-v2 .count{background:#ef2549;color:#fff}.console-v2 .workspace{margin-left:220px;background:#f3f9fd}.console-v2 .topbar{height:56px;background:linear-gradient(90deg,#f9fcff,#eff6ff);border-bottom:1px solid #dfebf8;padding:0 20px;box-shadow:0 2px 7px #102b6b08}.console-v2 .menu-toggle{display:inline-flex!important}.console-v2 .global-search{background:#eef6ff;border:1px solid #dae8ff;border-radius:4px;max-width:660px;height:35px}.console-v2 .global-search input{height:32px;color:#1e4387}.console-v2 .top-right{color:#00164c;font-size:11px}.console-v2 .main{padding:16px 18px}.console-v2 .page-head{margin-bottom:14px}.console-v2 .page-head h1{font-size:29px;color:#080b4c;letter-spacing:-.8px;line-height:1.1}.console-v2 .page-head p{font-size:12px;margin-top:3px;color:#576789}.console-v2 .head-status{background:#edf6ff;border-radius:4px;padding:9px 14px;border:1px solid #e2ebf9}
.console-v2 .panel{background:#fff;border:1px solid #e3edf8;border-radius:5px;box-shadow:none;margin-bottom:11px;overflow:hidden}.console-v2 .panel-head{padding:11px 13px;border-bottom:1px solid #edf2fb;min-height:42px;gap:8px}.console-v2 .panel-head h2{font-size:13px;font-weight:800;display:flex;align-items:center;gap:8px;letter-spacing:-.15px}.console-v2 .panel-head>a{font-size:10px}.console-v2 .panel-body{padding:10px 12px}.console-v2 .grid{gap:11px}.console-v2 .stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.console-v2 .stat{min-height:83px;border-radius:4px;padding:11px 8px;border:1px solid #e5eef9;box-shadow:none;gap:7px;background:white;display:flex;flex-direction:row}.console-v2 .stat strong{font-size:19px}.console-v2 .stat span{font-size:11px}.console-v2 .stat small{font-size:9px}.console-v2 .stat-icon{width:36px;height:40px;color:#075aff;background:#edf4ff;border-radius:50%}.console-v2 .dashboard-top{grid-template-columns:1.5fr 1fr .75fr}.console-v2 .dashboard-mid{grid-template-columns:1.4fr 1.4fr 1fr}.console-v2 .dashboard-bottom{grid-template-columns:1.4fr 1fr}.console-v2 .team-banner,.console-v2 .app-overview{display:none}.console-v2 .mini-grid{gap:7px}.console-v2 .mini{padding:8px 5px;font-size:10px}.console-v2 .mini strong{font-size:18px}.console-v2 .donut{width:125px;height:125px;background:conic-gradient(#075aff var(--portion),#e2e9f5 0)}.console-v2 .donut>div{width:88px;height:88px}.console-v2 .legend{font-size:10px}.console-v2 .quick{display:flex;width:100%;align-items:center;justify-content:space-between;background:#f0f6ff;border-radius:3px;min-height:29px;margin-bottom:5px;padding:7px 10px}.console-v2 .quick:nth-child(2n){background:#f5f0ff}.console-v2 .quick:nth-child(3n){background:#edfaf5}.console-v2 table{font-size:11px;border-collapse:collapse;width:100%}.console-v2 th{font-size:10px;background:#f0f5fc;color:#4c6080;white-space:nowrap;padding:9px 7px}.console-v2 td{padding:8px 7px;border-bottom:1px solid #eff3f9;max-width:245px;overflow-wrap:anywhere}.console-v2 tr:hover td{background:#f6faff}.console-v2 .table-action{font-size:10px;min-height:23px;padding:4px 12px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.console-v2 .person .avatar{width:32px;height:32px;min-width:32px;font-size:11px;background:#e5f2ff;color:#075aff}.console-v2 .person strong{font-size:11px}.console-v2 .person small{font-size:9px}.console-v2 .tag{font-size:9px;padding:4px 6px;border-radius:3px;background:#eaf1ff;color:#2e569b;white-space:nowrap}.console-v2 .tag.green{background:#dff9e9;color:#07813e}.console-v2 .tag.red{background:#ffedf1;color:#da294e}.console-v2 .tag.amber{background:#fff1d9;color:#c27806}.console-v2 .toolbar{gap:9px;padding:10px;background:#fff;border:1px solid #e4edf9;border-radius:5px;margin-bottom:10px}.console-v2 input,.console-v2 select,.console-v2 textarea{border:1px solid #dbe6f5;border-radius:4px;background:#fff;color:#233b64;font-size:12px;min-height:34px;padding:8px 10px;width:100%;box-shadow:none}.console-v2 textarea{min-height:95px}.console-v2 input:focus,.console-v2 select:focus,.console-v2 textarea:focus{outline:2px solid #c4daff;border-color:#075aff}.console-v2 input[type=checkbox]{width:15px;height:15px;min-height:15px;padding:0;accent-color:#075aff}.console-v2 input[type=radio]{width:16px;height:16px;min-height:16px}.console-v2 .toolbar input{max-width:320px;flex:1;min-width:160px}.console-v2 .toolbar select{width:auto;flex:1;max-width:230px}.console-v2 .form-grid{gap:12px}.console-v2 label{color:#263c64;font-size:11px;line-height:1.5;display:flex;flex-direction:column;gap:5px}.console-v2 .notice{background:#eef7ff;border:1px solid #d9eafe;border-radius:4px;color:#3b5885;font-size:11px}.console-v2 .empty{padding:30px 12px;color:#71839c;min-height:100px;gap:8px;font-size:11px}.console-v2 .empty strong{color:#38547b;font-size:12px}.console-v2 .empty .icon{width:27px;height:27px;color:#a5bad4}
.v2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}.v2-stat{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e2edf8;background:#fff;border-radius:5px;min-height:84px}.v2-stat>span{border-radius:50%;width:47px;height:47px;display:grid;place-items:center;color:#075aff;background:#e5f1ff;flex-shrink:0}.v2-stat>span .icon{height:25px;width:25px}.v2-stat strong{display:block;font-size:22px;line-height:1.2}.v2-stat b{font-weight:500;display:block;font-size:11px;padding-top:4px}.v2-stat small{font-size:9px;color:#7085a6;display:block;margin-top:3px}.v2-stat.tone-1>span{color:#08a456;background:#e6f8eb}.v2-stat.tone-2>span{color:#f39817;background:#fff2dd}.v2-stat.tone-3>span{color:#ed305c;background:#ffedf3}.v2-stat.tone-4>span{color:#8849e6;background:#f5eaff}.v2-tabs{display:flex;gap:4px;align-items:center;overflow-x:auto;white-space:nowrap;background:#fff;border:1px solid #e3edf8;border-radius:5px;margin-bottom:12px;padding:0 8px;min-height:44px;scrollbar-width:thin}.v2-tabs a,.v2-tabs button{padding:14px 13px;color:#376296;border-bottom:3px solid transparent;border-radius:0;flex-shrink:0;font-size:11px;background:transparent}.v2-tabs .active{color:#075aff;border-bottom-color:#075aff;font-weight:700;background:#f7fbff}.v2-tabs .push{flex:1}.status-tabs{padding:0 8px}.console-v2 .status-tabs button{border:0;border-bottom:3px solid transparent}.console-v2 .status-tabs button.active{border-bottom-color:#075aff}.v2-content-aside{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:11px;align-items:start}.v2-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-items:start}.v2-detail-grid>.panel{margin:0}.v2-detail-grid>.panel .person{padding:8px 0 14px}.v2-breadcrumb{color:#6d80a3;font-size:10px;float:right;margin-top:-45px;max-width:45%;text-align:right}.record-banner{display:flex;align-items:center;background:white;border:1px solid #e3edf8;gap:22px;padding:20px;margin:12px 0;border-radius:5px}.record-banner .person{min-width:250px}.record-banner .person .avatar{height:76px;width:76px;font-size:23px}.record-banner .person strong{font-size:21px;color:#071147}.record-banner .person small{font-size:12px;margin-top:7px}.record-banner p{font-size:12px}.record-meta{margin-left:auto;min-width:30%;border-left:1px solid #e5edf7;padding-left:15px}.detail-fields{margin:0;font-size:11px}.detail-fields>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #f0f4fa}.detail-fields dt{color:#647a9d;min-width:40%;font-weight:400}.detail-fields dd{margin:0;color:#223f6a;overflow-wrap:anywhere;max-width:64%;text-align:left}.status-timeline{padding:0 0 0 14px;list-style:none}.status-timeline li{border-left:2px solid #dce6f6;position:relative;padding:0 0 22px 19px;min-height:50px;font-size:11px}.status-timeline li:before{content:'';width:12px;height:12px;border-radius:50%;background:#c4d2e7;position:absolute;left:-7px;top:0}.status-timeline li.current:before{background:#09b76f;box-shadow:0 0 0 4px #dcf9eb}.status-timeline small{display:block;color:#7585a5;padding-top:6px}.v2-analytics{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:5px}.v2-map{height:260px;width:100%;border:0;background:#eff4f8}.v2-compose-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.console-v2 .check-row{display:flex;flex-direction:row;align-items:center;gap:8px;padding:7px 0}.county-checks{max-height:210px;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr}.document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.document-grid article{display:flex;flex-direction:column;gap:8px;background:#f8fbff;border:1px solid #e7eef8;padding:10px;overflow-wrap:anywhere;font-size:10px}.document-grid img{width:100%;height:120px;object-fit:cover}.document-grid .icon{width:40px;height:40px;color:#ed3c62}.position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.position-grid article{border:1px solid #e4edf8;padding:15px;display:grid;gap:10px}.v2-bars>div{display:flex;align-items:center;gap:12px;margin:15px 0;font-size:11px}.v2-bars label{width:80px}.v2-bars meter{flex:1;height:15px;accent-color:#075aff}.phone-preview{border:5px solid #e5ebf5;border-radius:20px;padding:20px 12px;min-height:210px;font-size:12px}.phone-preview p{background:#eef3fa;padding:15px;border-radius:5px;white-space:pre-wrap}.end{justify-content:flex-end;margin-bottom:10px}.pre-wrap{white-space:pre-wrap;line-height:1.7}.console-v2 .recipient-list label{flex-direction:row;align-items:center}.console-v2 [hidden]{display:none!important}.console-v2 .dialog-head{background:#f4f8ff}.console-v2 dialog{border-radius:7px;max-width:820px}.console-v2 .system-sms{border-radius:5px;background:#eef8f3;margin-bottom:12px;min-height:70px;padding:12px 15px}.console-v2 .system-sms strong{font-size:14px}.console-v2 .system-sms small{font-size:11px}
@media(min-width:761px){.console-v2.desktop-closed .workspace{margin-left:0}.console-v2.desktop-closed .sidebar{transform:translateX(-100%)}.console-v2 .nav-backdrop{display:none!important}}
@media(max-width:1200px){.console-v2 .stats{grid-template-columns:repeat(3,1fr)}.console-v2 .dashboard-top,.console-v2 .dashboard-mid{grid-template-columns:1fr 1fr}.console-v2 .dashboard-top>.panel:last-child,.console-v2 .dashboard-mid>.panel:last-child{grid-column:1/-1}.v2-detail-grid{grid-template-columns:1fr 1fr}.v2-content-aside{grid-template-columns:minmax(0,1fr) 235px}.record-banner .person{min-width:180px}.record-meta{min-width:25%}.console-v2 .sidebar{width:220px}.console-v2 .workspace{margin-left:220px}}
@media(max-width:760px){.console-v2 .sidebar{width:min(88vw,340px);box-shadow:none}.console-v2 .brand{height:80px;min-height:80px}.console-v2 .brand img{width:195px;height:34px}.console-v2 .nav-link{min-height:48px;font-size:13px}.console-v2 .workspace{margin-left:0}.console-v2 .topbar{height:58px;padding:0 10px;background:#f7fbff}.console-v2 .mobile-header-brand{display:none}.console-v2 .global-search{display:flex}.console-v2 .top-right strong{display:none}.console-v2 .main{padding:14px 10px}.console-v2 .page-head h1{font-size:24px}.console-v2 .page-head p{font-size:11px}.console-v2 .stats,.v2-stats{grid-template-columns:1fr 1fr;gap:8px}.v2-stat{padding:12px 9px;gap:9px;min-height:80px}.v2-stat strong{font-size:19px}.v2-stat>span{width:35px;height:35px}.v2-detail-grid,.v2-content-aside,.v2-compose-grid,.v2-analytics,.console-v2 .dashboard-top,.console-v2 .dashboard-mid,.console-v2 .dashboard-bottom{grid-template-columns:1fr}.v2-content-aside>aside{order:2}.v2-breadcrumb{float:none;max-width:100%;text-align:left;margin:0 0 10px}.record-banner{flex-wrap:wrap;padding:16px;gap:15px}.record-banner .person .avatar{width:52px;height:52px}.record-banner .person strong{font-size:18px}.record-meta{width:100%;border:0;padding:0;margin:0}.console-v2 .toolbar input{min-width:100%;max-width:100%}.console-v2 .toolbar select{max-width:none;min-width:110px}.console-v2 .form-grid{grid-template-columns:1fr}.v2-tabs a{padding:13px 11px}.position-grid{grid-template-columns:1fr 1fr}.console-v2 .system-sms{flex-wrap:wrap}.console-v2 .system-sms .sms-actions{margin-left:auto}}
@media print{.sidebar,.topbar,.page-head,.action-row,.toolbar,.nav-backdrop,.form-actions,.table-action{display:none!important}.console-v2 .workspace{margin-left:0}.console-v2 .main{padding:0}.v2-detail-grid{grid-template-columns:1fr 1fr}.panel{break-inside:avoid}body{background:#fff}}

.console-v2 .topbar .plain{color:#075aff;background:transparent;border:0}.console-v2 .person strong,.console-v2 .person small{display:block}.console-v2 .stat-icon,.console-v2 .mini,.console-v2 .quick{color:#075aff;background:#eef5ff}.console-v2 .stat:nth-child(2) .stat-icon{color:#9455d8;background:#f5edff}.console-v2 .stat:nth-child(3) .stat-icon{color:#0b9b57;background:#e7f9ee}.console-v2 .stat:nth-child(4) .stat-icon{color:#f38a22;background:#fff0de}.console-v2 .stat:nth-child(5) .stat-icon{color:#e4407c;background:#ffebf2}.console-v2 .stat-icon .icon{color:inherit}.console-v2 .top-right .avatar{background:#075aff;color:white}

.console-v2 .avatar{position:relative;overflow:hidden}.console-v2 .avatar img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;background:#e5f2ff}

.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-filter-grid .action-row{grid-column:1/-1}.report-bars{display:grid;gap:14px}.report-bars>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(60px,1.4fr) 50px;align-items:center;gap:12px;font-size:12px}.report-bars meter{width:100%;height:13px}.result-stepper{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.result-stepper .tag{padding:8px}.console-v2 .report-filter-grid select{min-width:0;width:100%}@media(max-width:1000px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.report-filter-grid{grid-template-columns:1fr}.report-bars>div{grid-template-columns:100px 1fr 45px}}

@media(max-width:760px){.console-v2 .topbar .global-search{position:static;left:auto;right:auto;bottom:auto;min-width:0;max-width:none;flex:1;height:34px}.console-v2 .topbar .menu-toggle{flex:0 0 34px}.console-v2 .topbar .top-right{flex:0 0 auto;gap:5px}.console-v2 .topbar .top-right .avatar{display:none}.console-v2 .topbar .global-search input{min-width:0}.console-v2 .system-sms{top:68px}}
