/* Compact referral-page heading. */
[data-view="admin-referrals"] .admin-heading h1{font-size:24px;line-height:1.15;margin:3px 0 5px}
[data-view="admin-referrals"] .admin-heading .eyebrow{font-size:9px;line-height:1.2;margin:0 0 3px}
@media(max-width:760px){[data-view="admin-referrals"] .admin-heading h1{font-size:21px}}

/* Registration channels: smaller labels and tighter rows. */
[data-view="admin"] .source-distribution{min-height:0;padding:11px 14px;align-self:start}
[data-view="admin"] .source-distribution .panel-head{margin-bottom:6px}
[data-view="admin"] .source-distribution .eyebrow{font-size:9px;line-height:1.15;margin-bottom:3px}
[data-view="admin"] .source-distribution .panel-head h2{font-size:13px!important;line-height:1.2;margin:0}
[data-view="admin"] .source-distribution .source-list{gap:1px}
[data-view="admin"] .source-distribution .source-list>div{box-sizing:border-box;min-height:20px;padding:2px 3px;gap:8px;grid-template-columns:140px minmax(24px,1fr) 26px;font-size:10.5px;line-height:1.15;border-radius:5px}
[data-view="admin"] .source-distribution .source-list>div span{min-width:0;overflow-wrap:anywhere}
[data-view="admin"] .source-distribution .source-list b{font-size:10.5px;line-height:1.15}
[data-view="admin"] .source-distribution .source-list i{height:4px}

/* Notifications: compact reading rhythm and controls. */
.modal-card:has(.notification-list){box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px 18px;border-radius:16px}
.modal-card:has(.notification-list) .modal-label{font-size:9px;line-height:1.2;padding:4px 7px;margin:0 0 5px}
.modal-card:has(.notification-list) h2{font-size:20px;line-height:1.2;margin:4px 0 10px;padding-right:32px}
.modal-card:has(.notification-list) .modal-close{width:28px;height:28px;top:12px;right:12px;font-size:18px;border-radius:8px}
.modal-card:has(.notification-list) .smartphone-notification-card{margin:8px 0;padding:8px 10px;gap:8px;border-radius:9px}
.modal-card:has(.notification-list) .smartphone-notification-card>span{width:25px;height:25px;font-size:12px;border-radius:8px}
.modal-card:has(.notification-list) .smartphone-notification-card b{font-size:11px;line-height:1.2}
.modal-card:has(.notification-list) .smartphone-notification-card small{font-size:9.5px;line-height:1.25;margin-top:2px}
.modal-card:has(.notification-list) .smartphone-notification-card .secondary-button{min-height:28px;padding:4px 9px;font-size:10px;line-height:1.2}
.modal-card:has(.notification-list) .notification-list{gap:5px;margin-top:9px}
.modal-card:has(.notification-list) .notification-list .notification-item,.modal-card:has(.notification-list) .notification-list>button{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:8px;padding:8px 10px;border-radius:8px}
.modal-card:has(.notification-list) .notification-list .status-orb{box-sizing:border-box;width:23px;height:23px;min-width:23px;font-size:10px;line-height:1}
.modal-card:has(.notification-list) .notification-list b{font-size:11px;line-height:1.2}
.modal-card:has(.notification-list) .notification-list p{font-size:11px;line-height:1.3;margin:3px 0;overflow-wrap:anywhere}
.modal-card:has(.notification-list) .notification-list small{font-size:9px;line-height:1.2;margin-top:3px}
.modal-card:has(.notification-list) .modal-actions{margin-top:10px;gap:6px}
.modal-card:has(.notification-list) .modal-actions button{min-height:29px;padding:5px 10px;font-size:11px}
@media(max-width:760px){[data-view="admin"] .source-distribution .source-list>div{grid-template-columns:125px minmax(20px,1fr) 24px;gap:6px}.modal-card:has(.notification-list){padding:14px 12px}.modal-card:has(.notification-list) .smartphone-notification-card .secondary-button{width:auto;grid-column:auto}.modal-card:has(.notification-list) .smartphone-notification-card{grid-template-columns:25px minmax(0,1fr) auto}}
@media(max-width:380px){.modal-card:has(.notification-list) .smartphone-notification-card{grid-template-columns:25px minmax(0,1fr)}.modal-card:has(.notification-list) .smartphone-notification-card .secondary-button{grid-column:2;justify-self:start}}
