/* Admin typography and layout are intentionally scaled to the user dashboard. */
.admin-shell{grid-template-columns:280px minmax(0,1fr)}
.admin-sidebar{width:280px;padding:24px 18px}
.admin-sidebar>header img{width:44px;height:44px}.admin-sidebar>header b{font-size:12px}.admin-sidebar>header small{font-size:10px}
.admin-role{gap:13px;margin:30px 0 20px;padding:17px;border-radius:15px}.admin-role>svg{width:27px;height:27px}.admin-role b{font-size:13px}.admin-role small{font-size:10px}
.admin-sidebar nav{gap:7px}.admin-sidebar nav a{grid-template-columns:24px 1fr;gap:12px;min-height:52px;padding:0 15px;border-radius:12px;font-size:13px}.admin-sidebar nav a svg{width:20px;height:20px}.admin-sidebar nav a.active i{height:26px}
.admin-sidebar>footer{padding:18px 14px}.admin-sidebar>footer span{font-size:9px}.admin-sidebar>footer p{font-size:10px;line-height:1.6}
.admin-workspace{grid-column:2}.admin-topbar{min-height:116px;padding:22px 38px}.admin-topbar>div:nth-child(2)>span{font-size:9px}.admin-topbar h1{margin:4px 0;font-size:34px;letter-spacing:-.035em}.admin-topbar p{font-size:12px}
.admin-topbar>div:last-child{gap:15px}.admin-topbar>div:last-child>button{width:46px;height:46px;border-radius:12px}.admin-topbar>div:last-child>button svg{width:20px}.admin-topbar>div:last-child small{font-size:10px}
.admin-account{display:flex;align-items:center;gap:11px;min-width:178px;padding:7px 12px 7px 7px;border:1px solid #dce4eb;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(7,26,54,.05)}
.admin-account-avatar{width:40px;height:40px;display:grid!important;place-items:center;flex:0 0 40px;color:#fff!important;border-radius:11px!important;background:#0a2b52!important;font-size:11px!important;font-weight:800;letter-spacing:.04em}
.admin-account-copy{display:block!important;width:auto!important;min-width:0!important;height:auto!important;color:#071a36!important;background:transparent!important}
.admin-account-copy b,.admin-account-copy small{display:block;white-space:nowrap}.admin-account-copy b{font-size:11px;line-height:1.2}.admin-account-copy small{margin-top:4px;color:#73849a!important;font-size:9px!important;line-height:1.2}
.admin-main{padding:32px 38px 72px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-stat-grid article{min-height:185px;padding:26px 28px;border-radius:20px;box-shadow:0 8px 26px rgba(7,26,54,.035)}
.admin-stat-grid article>span{width:48px;height:48px;margin-bottom:18px;border-radius:14px}.admin-stat-grid svg{width:22px;height:22px}.admin-stat-grid article>i{top:22px;right:22px;font-size:10px}.admin-stat-grid b{font-size:36px;letter-spacing:-.035em}.admin-stat-grid small{font-size:13px;font-weight:700;color:#526a80}.admin-stat-grid p{margin:4px 0 0;color:#8493a1;font-size:10px}
.admin-overview-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:18px;margin:18px 0}.admin-panel{border-radius:21px;box-shadow:0 8px 28px rgba(7,26,54,.03)}.admin-panel>header{padding:25px 27px}.admin-panel>header span{font-size:9px}.admin-panel>header h2{margin-top:7px;font-size:21px}.admin-panel>header p{font-size:11px}.admin-panel>header select{min-height:42px;padding:0 13px;border-radius:10px;font-size:11px}
.simple-chart{height:310px;padding:38px 30px 26px}.simple-chart span{gap:11px}.simple-chart i{max-width:46px}.simple-chart small{font-size:10px}.admin-health>div{min-height:55px;align-items:center;padding:15px 21px;font-size:12px}.admin-health b{font-size:11px}.admin-health b i{width:8px;height:8px}
.admin-recent>header a{font-size:11px}.admin-recent>header a svg{width:15px}.admin-recent>div{grid-template-columns:48px 1fr auto;gap:14px;min-height:76px;padding:16px 23px}.admin-event-icon{width:44px;height:44px;border-radius:12px}.admin-event-icon svg{width:19px}.admin-recent b{font-size:13px}.admin-recent small,.admin-recent time{font-size:10px}
.admin-table-toolbar{gap:12px;margin-bottom:18px;padding:17px;border-radius:17px}.admin-search{gap:10px;padding:0 14px;border-radius:11px}.admin-search svg{width:18px}.admin-search input{min-height:46px;font-size:13px}.admin-table-toolbar select{min-width:170px;padding:0 14px;border-radius:11px;font-size:12px}
.admin-table-wrap{border-radius:19px}.admin-table th{padding:16px 18px;font-size:9px}.admin-table td{padding:18px;font-size:12px}.admin-table td>small{margin-top:5px;font-size:10px}.admin-table td code{font-size:11px}.admin-table td>button,.admin-row-actions button,.admin-row-actions a{gap:6px;min-height:36px;padding:8px 11px;border-radius:9px;font-size:10px}.admin-table td button svg,.admin-row-actions svg{width:14px}
.table-user{gap:12px}.table-user>i{width:40px;height:40px;border-radius:11px;font-size:10px}.table-user>span{gap:4px}.table-user b{font-size:12px}.table-user small{font-size:9px}.admin-status{gap:6px;padding:7px 10px;font-size:9px}.admin-status i{width:7px;height:7px}.completion-cell{gap:9px}.completion-cell>i{width:88px;height:7px}
.admin-detail-list>div{padding:16px 0}.admin-detail-list.grid>div{padding:16px;border-radius:12px}.admin-detail-list span{font-size:11px}.admin-detail-list b{font-size:13px}.admin-detail-list small{font-size:10px}.channel-cell{gap:8px}.channel-cell svg{width:17px}
.admin-settings-grid{gap:18px}.admin-settings-grid>.admin-panel>header{gap:13px}.admin-settings-grid>.admin-panel>header>svg{width:27px;height:27px}.admin-setting-row{min-height:76px;padding:18px 24px}.admin-setting-row span{gap:5px}.admin-setting-row b{font-size:13px}.admin-setting-row small{font-size:10px}.admin-setting-row strong{font-size:11px}.admin-integration-status>div{min-height:58px;padding:15px 24px;font-size:12px}.admin-save{min-height:48px;font-size:12px}

@media(max-width:1180px){
  .admin-shell{grid-template-columns:260px minmax(0,1fr)}.admin-sidebar{width:260px;padding-inline:15px}.admin-workspace{grid-column:2}.admin-main{padding:28px 28px 64px}.admin-topbar{padding-inline:28px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-overview-grid{grid-template-columns:1fr}
}
@media(max-width:720px){.admin-account{min-width:0;padding:5px;border:0;background:transparent;box-shadow:none}.admin-account-copy{display:none!important}}
@media(max-width:900px){
  .admin-shell{grid-template-columns:1fr}.admin-workspace{grid-column:1}.admin-sidebar{width:290px}.admin-topbar{min-height:96px;padding:16px 20px}.admin-topbar h1{font-size:29px}.admin-main{padding:24px 20px 60px}
}
@media(max-width:600px){
  .admin-topbar{min-height:86px;padding:13px 14px}.admin-topbar h1{font-size:25px}.admin-main{padding:18px 12px 48px}.admin-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.admin-stat-grid article{min-height:155px;padding:18px}.admin-stat-grid article>span{width:44px;height:44px;margin-bottom:14px}.admin-stat-grid article>i{top:17px;right:17px;font-size:9px}.admin-stat-grid b{font-size:28px}.admin-stat-grid small{font-size:10px}.admin-stat-grid p{font-size:9px}.admin-panel>header{padding:20px}.admin-panel>header h2{font-size:18px}.simple-chart{height:250px;padding-inline:20px}.admin-table-toolbar{align-items:stretch;flex-direction:column}.admin-table-toolbar select{min-height:44px}
}

/* Code generator: batches */
.batch-page{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.batch-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:24px 27px 27px}
.batch-form .batch-wide{grid-column:1/-1}
.batch-form .app-field{align-content:start}.batch-form .app-field small{font-size:10px}
.batch-form .app-field input,.batch-form .app-field select{min-height:50px;font-size:13px}
.batch-check{display:flex;align-items:center;gap:12px;color:#34485f;font-size:12px;cursor:pointer}
.batch-check input{width:20px;height:20px;accent-color:#0a2b52}
.batch-check small{display:block;margin-top:3px;color:#8998a9;font-size:10px}
.batch-form footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #e7edf2}
.batch-form footer .app-button{margin-top:0;min-width:180px}
.batch-form footer .app-button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.batch-total{margin:0;color:#173451;font-size:15px;font-weight:800}.batch-total.over{color:#c92b40}
.batch-error{margin:0;padding:12px 16px;border-radius:10px;background:#fff0f2;color:#c92b40;font-size:12px}
.batch-empty{margin:0;padding:24px 27px;color:#60778c;font-size:12px}
.batch-table{border:0;border-radius:0 0 17px 17px}
.batch-table td a b{color:#0a2b52}.batch-table td small{display:block;margin-top:4px;color:#8493a1;font-size:10px}
.batch-test-flag{display:inline-block!important;margin-left:8px!important;padding:3px 8px;border-radius:99px;background:#fff4dc;color:#94600b!important;font-size:9px!important;font-weight:800}
.batch-setup>header{justify-content:flex-start;gap:13px}.batch-setup>header>svg{flex:0 0 auto;width:26px;height:26px;color:#2a6192}
.batch-setup ul{display:grid;gap:12px;margin:0;padding:22px 27px 26px 47px;color:#34485f;font-size:12px;line-height:1.6}.batch-setup li b{display:block;color:#071a36}
.batch-setup code,.batch-empty code{padding:2px 6px;border-radius:6px;background:#f3f6f8;font-size:11px}
.batch-back{display:inline-flex;align-items:center;gap:6px;justify-self:start;color:#2a6192;font-size:12px;font-weight:700}.batch-back svg{width:15px}
.batch-page .admin-panel>header .app-button{margin-top:0;flex:0 0 auto}
.batch-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:20px 27px 0}
.batch-status-list{display:flex;flex-wrap:wrap;gap:8px}.batch-status-list>span{display:inline-flex;align-items:center;gap:6px}
.batch-note{margin:16px 27px 22px;color:#60778c;font-size:11px;line-height:1.6}
.batch-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;padding:22px 27px}
.batch-item{display:grid;justify-items:center;gap:10px;margin:0;padding:16px 12px;border:1px solid #e7edf2;border-radius:14px;background:#fff}
.batch-item img{width:128px;height:128px}
.batch-item figcaption{display:grid;justify-items:center;gap:7px}
.batch-item b{color:#071a36;font:800 16px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.batch-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 27px 22px;color:#60778c;font-size:12px}
.batch-pager a{display:inline-flex;align-items:center;gap:6px;color:#2a6192;font-weight:700}.batch-pager svg{width:15px}
.admin-status.linked{color:#087b59;background:#e6f6ef}.admin-status.linked i{background:#16aa7b}
.admin-status.deactivated{color:#c92b40;background:#fff0f2}.admin-status.deactivated i{background:#df3047}
@media(max-width:900px){.batch-form,.batch-facts{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){.batch-form{grid-template-columns:1fr!important;padding:18px 20px 22px}.batch-facts{grid-template-columns:1fr!important;padding:16px 20px 0}.batch-page .admin-panel>header{flex-wrap:wrap}.batch-items{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 20px}.batch-note{margin:14px 20px 18px}}
