/* One header offset. The old portal body padding added another 136px. */
body.portal-3313.v031.portal-shell{padding-top:0}
.portal-3313.v031.portal-shell .portal-content{padding-top:20px;min-height:calc(100vh - var(--portal-header))}
.portal-3313 .portal-quota-card .quota-period{display:block;margin:0;font-size:10px;line-height:1.4;color:var(--ui-muted)}
.portal-3313 .sidebar-favorites{padding-block:8px;margin-block:4px}
.portal-3313 .favorites-heading{gap:6px;margin:0}
.portal-3313 .favorites-heading>span{flex:1}
.portal-3313 .favorites-empty{margin:5px 0 0;font-size:11px;line-height:1.4}
.portal-3313 .favorites-expand{width:24px;height:24px;flex:none;font-size:15px}
.portal-3313 .favorites-expand[aria-expanded=true]{transform:rotate(180deg)}
.portal-3313 .empty-favorites-hide336{margin-top:7px;font-size:11px}
.portal-3313 .outgoing-report317{margin-top:24px;scroll-margin-top:calc(var(--portal-header) + 20px)}
.outgoing-report317 .report-kpis317{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:16px 0}
.outgoing-report317 .report-kpis317>div{padding:14px;border:1px solid var(--brand-border);border-radius:9px;background:var(--brand-surface)}
.outgoing-report317 .report-kpis317 small{display:block;color:var(--brand-text-muted);font-size:12px}
.outgoing-report317 .report-kpis317 strong{display:block;font-size:22px;overflow-wrap:anywhere}
.outgoing-report317 .report-charts317{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.outgoing-report317 .admin-chart-card{background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:10px;padding:18px;min-width:0}
.outgoing-report317 .admin-chart-card h3{margin:0 0 12px;font-size:17px}
.outgoing-report317 .admin-trend{width:100%;height:auto;max-height:320px}
/* Chart labels must not inherit the global SVG icon outline. */
.outgoing-report317 .admin-trend text{font-size:11px;font-family:inherit;font-weight:400;fill:var(--brand-text-muted);stroke:none;stroke-width:0}
.outgoing-report317 .admin-trend-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.outgoing-report317 .admin-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}
.outgoing-report317 .admin-donut-layout{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.outgoing-report317 .admin-donut{width:130px;height:130px;border-radius:50%;padding:17px;box-sizing:border-box;flex:none}
.outgoing-report317 .admin-donut>div{background:var(--brand-surface);border-radius:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.outgoing-report317 .admin-donut strong{font-size:24px}.outgoing-report317 .admin-donut span{font-size:11px}
.outgoing-report317 .admin-legend{list-style:none;padding:0;flex:1;min-width:175px;font-size:12px}
.outgoing-report317 .admin-legend li{display:flex;gap:6px;align-items:center;margin:9px 0}
.outgoing-report317 .admin-legend li b{margin-left:auto}
.outgoing-report317 .admin-chart-note{font-size:12px;color:var(--brand-text-muted)}
.outgoing-report317 .report-wide317{grid-column:1/-1}
.maintenance-banner317{position:sticky;top:0;z-index:120;background:var(--status-warning-soft);color:var(--status-warning);padding:10px 18px;border-bottom:1px solid var(--status-warning);font-size:13px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.portal-3313 .maintenance-banner317{top:var(--portal-header)}
.maintenance-banner317 a{color:inherit;text-decoration:underline}
.maintenance-form317{max-width:960px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.maintenance-form317>label{display:grid;gap:6px;min-width:0}.maintenance-form317 .wide{grid-column:1/-1}
.maintenance-form317 input,.maintenance-form317 select,.maintenance-form317 textarea{width:100%;box-sizing:border-box}
.notification-workspace317{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr);gap:20px;padding:20px}
.notification-workspace317 .notification-form{display:flex;flex-direction:column;gap:12px;padding:0;min-width:0}
.notification-workspace317 .notification-form label{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:0;padding:8px 0;border:0}
.notification-workspace317 .notification-form label.notification-field317{display:grid;gap:6px}
.notification-workspace317 .notification-form input:not([type=checkbox]),.notification-workspace317 select{width:100%;margin:0}
.notification-preview317 iframe{width:100%;height:660px;max-height:80vh;border:1px solid var(--brand-border);border-radius:9px;background:var(--brand-background)}
.notification-preview317{min-width:0}.notification-actions317{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.notification-workspace317{grid-template-columns:1fr}.outgoing-report317 .report-charts317{grid-template-columns:1fr}}
@media(max-width:640px){.portal-3313.v031.portal-shell .portal-content{padding-top:16px}.maintenance-form317{grid-template-columns:1fr}.notification-workspace317{padding:14px}}

.outgoing-report317 .admin-legend li small{min-width:48px;text-align:right}

.admin-3312 .maintenance-banner317{top:var(--admin-header);margin-bottom:20px}
.portal-3313 .maintenance-banner317{margin-bottom:20px}
