/* Notifications use flat, clear surfaces rather than the raised activity-card frame. */
body :is(.workflow-notice-group.notice-compact,.notice-disclosure,.friend-notice,.player-notice-group .notification,.ctm-mailbox .ctm-mail-row,.mail-letter){
 box-shadow:none!important;border-width:1.5px;border-color:#8fa8bb;border-radius:10px;
}
body .workflow-notice-group.notice-compact{border-left:4px solid var(--notice-ink,#316d95);background:#fff}
body .workflow-notice-group.notice-compact.notice-is-new{border:2px solid #bf9300;border-left-width:4px;box-shadow:none!important}
body .notice-disclosure{border:1.5px solid #8fa8bb;background:#fff}
body .notice-disclosure>summary{background:#e8f1f8;color:#193e58}
body :is(.workflow-notices,.player-notice-section,#inbox,.notice-disclosure,.ctm-mailbox) :is(.flow-activity-preview,.player-day-card,.card,.panel,.notice-event,.friend-notice,.mail-thread-heading,.mail-activity-preview){
 box-shadow:none!important;border-width:1.5px;
}
body :is(.workflow-notices,.player-notice-section,#inbox,.notice-disclosure) .flow-activity-preview{border-color:#8fa8bb}
body .ctm-mailbox .ctm-mail-row[aria-selected=true]{border-color:#24658f}
body .friend-notice.is-unread{border-left:4px solid #5474b6}
/* One frame per notification: the activity and latest update are sections, not nested cards. */
body .workflow-notices{display:grid;gap:16px}
body .workflow-notices>h2{margin:0;font-size:21px;color:#203443}
body .workflow-notice-group.notice-compact{
 padding:0!important;margin:0!important;border:1.5px solid #95acbe!important;
 border-radius:14px!important;overflow:hidden;background:#fff!important;box-shadow:none!important;
}
body .workflow-notice-group.notice-compact.notice-is-new{border-color:#c3981a!important}
body .workflow-notice-group.notice-compact .notice-compact-context{padding:0!important;border:0!important;background:transparent!important}
body .workflow-notice-group.notice-compact .flow-activity-preview{
 margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;
}
body .workflow-notice-group.notice-compact .flow-preview-title{border:0;border-radius:0;box-shadow:none}
body .workflow-notice-group.notice-compact .flow-preview-body{padding:14px!important}
body .workflow-notice-group.notice-compact .summary-facts{border:0!important;border-radius:8px;background:#f0f4f7;box-shadow:none!important}
body .workflow-notice-group.notice-compact .notice-latest-caption{display:none}
body .workflow-notice-group.notice-compact :is(.notice-latest,.notice-older>ol){list-style:none;padding:14px!important;margin:0!important;border:0;border-top:1px solid #d6e1e9;background:#f1f6fa;border-radius:0}
body .workflow-notice-group.notice-compact li.notice-event{
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body .workflow-notice-group.notice-compact .notice-visual-heading{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px 10px;align-items:start}
body .workflow-notice-group.notice-compact .notice-visual-icon{width:32px;height:32px;border-radius:8px;grid-row:1 / span 2;background:#e0ebf3;color:#315c7c}
body .workflow-notice-group.notice-compact .notice-visual-category{font-size:11px;line-height:1.3;letter-spacing:.35px;color:#486476}
body .workflow-notice-group.notice-compact .notice-event-title{display:block;font-size:15px;line-height:1.4;margin:3px 0 0;color:#203443;font-weight:750}
body .workflow-notice-group.notice-compact .notice-event-received{grid-column:2;margin:0!important;padding:0!important;border:0!important;color:#5a7080;font-size:12px;line-height:1.3}
body .workflow-notice-group.notice-compact .notice-event-message{margin:10px 0 0;font-size:14px;line-height:1.45;color:#3f5769}
body .workflow-notice-group.notice-compact .notice-older{padding:0!important;margin:0!important;border:0;border-top:1px solid #d6e1e9;border-radius:0;background:#fff}
body .workflow-notice-group.notice-compact .notice-older>summary{padding:12px 14px!important;border:0!important;border-radius:0!important;background:#fff;color:#345b78;font-size:13px}
body .workflow-notice-group.notice-compact .notice-older li+li{padding-top:12px!important;margin-top:12px!important;border-top:1px solid #d6e1e9!important}
body .workflow-notice-group.notice-compact :is(.activity-interest-controls,.notice-compact-footer){padding:12px 14px!important;margin:0!important;border:0;border-top:1px solid #d6e1e9;background:#fff;gap:8px}
body .workflow-notice-group.notice-compact .activity-interest-controls button{flex:1;min-width:125px;font-size:13px;padding:9px}
body .notice-disclosure .friend-notice{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;border-bottom:1px solid #d6e1e9!important}
body .player-notice-section{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body .workflow-notices>.flow-inbox-help{margin:0 0 2px!important;padding:0;font-size:14px;line-height:1.45}
body .player-notice-section .notice-disclosure{border-width:1.5px!important;border-radius:10px;box-shadow:none!important}
body .workflow-notices>h2{display:none}
