.app-shell{--notification-muted:#6e6e77}
/* Extend the supplied mobile world; global tokens and component libraries remain owned by the app. */
.notification-center,.notification-settings{padding:4px 20px 24px}
.notification-intro{padding:6px 0 20px;position:relative}
.notification-intro h1,.notification-settings h1{font-size:28px;line-height:1.2;margin:0;color:var(--ink);letter-spacing:-.02em}
.notification-intro>p,.notification-settings-description{margin:10px 0 16px;color:var(--notification-muted);line-height:1.6}
.notification-settings-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-weight:700;color:var(--crimson)}
.notification-toolbar,.notification-live{display:flex;align-items:center;justify-content:space-between;gap:12px}
.notification-toolbar{padding:12px 0;border-top:1px solid var(--line)}
.notification-toolbar button,.notification-live button,.notification-record-actions button{font:inherit;border:0;background:transparent;color:var(--crimson);min-height:44px;padding:8px 0;font-weight:700;text-align:left}
.notification-toolbar button:disabled{color:var(--notification-muted);opacity:.65;cursor:default}
.notification-live{margin-bottom:12px;font-size:12px;color:var(--notification-muted)}
.notification-live button{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;font-size:12px}
.notification-record{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);text-align:left}
.notification-symbol{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:var(--fill);color:var(--notification-muted);font-size:20px}
.notification-record.unread .notification-symbol{background:var(--blush);color:var(--crimson)}
.notification-copy{min-width:0;flex:1}
.notification-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.notification-record h2{font-size:15px;line-height:1.45;margin:0;font-weight:800;overflow-wrap:anywhere}
.notification-record p{font-size:13px;line-height:1.65;color:var(--notification-muted);margin:7px 0 9px;overflow-wrap:anywhere}
.notification-record time{font-size:11px;line-height:1.5;color:var(--notification-muted);font-variant-numeric:tabular-nums}
.notification-new{color:var(--crimson);font-size:11px;line-height:1.7;font-weight:800;flex-shrink:0}
.notification-record-actions{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:4px}
.notification-record-actions button{font-size:12px;display:inline-flex;align-items:center;gap:5px}
.notification-record-actions .notification-read{color:var(--notification-muted);font-weight:600}
.notification-badge{display:inline-grid;place-items:center;box-sizing:border-box;flex-shrink:0;min-width:18px;height:18px;border-radius:20px;padding:0 4px;background:var(--red);color:var(--white,#fff);font-size:10px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;vertical-align:middle;white-space:nowrap;pointer-events:none}
#tabbar a[href="#me"]{position:relative}
#tabbar a[href="#me"] .notification-badge{position:absolute;top:4px;left:calc(50% + 8px)}
.notification-shortcut{position:relative;flex-shrink:0}
.notification-shortcut .notification-badge{position:absolute;right:-1px;top:0}
.discovery-nav-actions{display:flex;gap:4px}
.discovery-nav-actions .notification-shortcut{width:44px;height:44px}
.notification-in-app{display:flex;gap:12px;align-items:flex-start;padding:16px 0 20px;border-bottom:1px solid var(--line)}
.notification-in-app>iconify-icon{font-size:24px;color:var(--crimson)}
.notification-in-app p{margin:5px 0 0;font-size:12px;color:var(--notification-muted);line-height:1.6}
.notification-channel{padding:20px 0;border-bottom:1px solid var(--line)}
.notification-channel-label{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:44px;cursor:pointer}
.notification-channel-label span span{display:block;margin-top:5px;font-size:12px;color:var(--notification-muted)}
.notification-channel-label input{width:22px;height:22px;flex-shrink:0;accent-color:var(--red);cursor:pointer}
.notification-channel-unavailable,.notification-channel-note{font-size:12px;line-height:1.65;color:var(--notification-muted);margin:10px 0 0;overflow-wrap:anywhere}
.notification-channel-note{margin:20px 0}
.notification-preferences-saved{font-size:13px;line-height:1.6;color:var(--crimson);margin:16px 0 0}
.notification-ack{display:flex;gap:12px;margin:12px 16px 20px;padding:16px;background:var(--blush);border-radius:12px;color:var(--crimson)}
.notification-ack>iconify-icon{flex-shrink:0;font-size:23px}
.notification-ack b{font-size:14px}
.notification-ack p{font-size:12px;line-height:1.6;margin:6px 0;color:inherit}
.notification-ack a{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:12px;font-weight:800}
.notification-center button:focus-visible,.notification-center a:focus-visible,.notification-settings a:focus-visible,.notification-settings input:focus-visible,.notification-settings button:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.notification-empty{text-align:center;padding:40px 12px;color:var(--notification-muted)}
.notification-empty>iconify-icon{font-size:28px;color:var(--crimson)}
.notification-empty h2{font-size:18px;margin:14px 0 8px;color:var(--ink)}
.notification-empty p{font-size:13px;line-height:1.6}

/* The inbox uses a single reading column. Delivery preferences have their own layout. */
.notification-center .notification-intro {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:0 12px; padding:6px 0 12px;
}
.notification-center .notification-settings-link {font-size:12px}
.notification-center .notification-toolbar {padding:4px 0; font-size:14px}
.notification-center .notification-live {border-bottom:1px solid var(--line); margin:0; padding-bottom:4px}
.notification-center [data-notification-connection] {display:inline-flex; gap:7px; align-items:center}
.notification-center [data-notification-connection]::before {
  content:""; flex:0 0 6px; height:6px; border-radius:50%; background:var(--notification-muted);
}
.notification-center [data-state="live"]::before {background:#297050}
.notification-center [data-state="error"]::before {background:var(--crimson)}
.notification-center .notification-record {gap:10px; padding:15px 0}
.notification-center .notification-new {
  padding:1px 7px; border-radius:20px; background:var(--blush); color:var(--crimson);
}
.notification-center .notification-symbol {width:32px; height:32px; font-size:18px}
.notification-center .notification-record p {color:#52525b; margin:4px 0 6px}
.notification-center .notification-record-actions {gap:0 16px; margin-top:2px}
.notification-center .notification-record-actions :is(a,button) {
  display:inline-flex; align-items:center; gap:5px; min-height:44px;
  padding:4px 0; font-size:12px; font-weight:700; text-decoration:none;
}
.notification-center .notification-open {color:var(--crimson)}
.notification-center [data-notification-feedback]:not(:empty),
.notification-center [data-notification-error]:not(:empty) {
  margin-top:12px; padding:10px 12px; font-size:13px; border-radius:10px;
  background:var(--fill); color:var(--ink);
}
.notification-center [data-notification-error]:not(:empty) {background:var(--blush); color:var(--crimson)}
