.notification-link{position:relative}.notification-badge{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 4px;border-radius:999px;background:#a92f24;color:#fff;font-size:.75rem;font-weight:800}.file-remove{margin-left:8px;padding:3px 8px;font-size:.82rem;background:#4b5d63}.review-alert{border:1px solid #d59a94;background:#fff6f4;border-radius:10px;padding:16px;margin:16px 0}.notification{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"header actions" "content actions";align-items:start;column-gap:12px;row-gap:6px;padding:8px 12px;margin:6px 0;border:2px solid #6d6d6d;border-radius:0;background:#f8f8f8}.notification--unread{border-color:#b42318;background:#fff7f6;box-shadow:0 0 0 1px #b42318}.notification--read{border-color:#6d6d6d;background:#f8f8f8}.notification__header{grid-area:header;display:flex;align-items:baseline;justify-content:space-between;gap:4px 12px;min-width:0;flex-wrap:wrap}.notification h2,.review-alert h2{font-size:1.15rem;margin:0}.notification__content{grid-area:content;min-width:0}.notification__body,.notification__resolution,.notification__meta{margin:0}.notification__resolution{margin-top:4px}.notification__meta{font-size:.9rem;white-space:nowrap}.notification__state{font-weight:800}.notification--unread .notification__state{color:#9f1d16}.notification--read .notification__state{color:#525252}.notification .actions{grid-area:actions;align-self:center;justify-content:flex-end;gap:6px;margin:0}.notification .actions form{margin:0}.notification .actions>.button,.notification .actions>form>button,.notification-list>.page-head button{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.notification-list{padding:16px}.notification-list>.page-head{margin-bottom:10px}.notification-list>.page-head p{margin:2px 0 0}@media(max-width:760px){.notification{grid-template-columns:1fr;grid-template-areas:"header" "content" "actions";row-gap:4px;padding:8px 10px}.notification__header{align-items:flex-start;flex-direction:column;gap:1px}.notification__meta{white-space:normal}.notification .actions{justify-content:flex-start;align-items:flex-start;gap:6px}.notification-list{padding:14px}}

.notification:target{scroll-margin-top:96px;outline:3px solid rgba(216,90,42,.48);outline-offset:3px}
.notification-toast-region{position:fixed;right:20px;bottom:calc(20px + var(--notification-safe-bottom,0px));z-index:var(--z-toast,3000);display:grid;gap:12px;width:min(560px,calc(100vw - 40px));max-height:calc(100dvh - var(--site-header-height,82px) - 40px - var(--notification-safe-bottom,0px));overflow:auto;overscroll-behavior:contain;pointer-events:none;scrollbar-gutter:stable;transition:bottom 220ms cubic-bezier(.22,1,.36,1)}
body:has([data-resource-home-studio]){--notification-safe-bottom:86px}
.notification-toast{--notification-accent:var(--accent,#d85a2a);--notification-strong:#a63c1c;display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--notification-accent);border-left:6px solid var(--notification-accent);border-radius:0;background:#fffaf4;box-shadow:0 14px 32px #341d1329;opacity:0;transform:translateY(10px);pointer-events:auto;transition:opacity 220ms ease,transform 220ms cubic-bezier(.22,1,.36,1)}
.notification-toast--success{--notification-accent:#3f7552;--notification-strong:#285c3b;background:#f5fbf6}.notification-toast--warning{--notification-accent:#c77a1d;--notification-strong:#8b5312;background:#fffaf0}.notification-toast--error{--notification-accent:#b42318;--notification-strong:#861b14;background:#fff7f6}.notification-toast--persistent{box-shadow:0 10px 26px #341d1324}
.notification-toast.is-visible{opacity:1;transform:none}.notification-toast.is-leaving{opacity:0;transform:translateY(8px)}
.notification-toast.is-refreshing{opacity:.62;transform:translateY(2px)}
.notification-toast__content{display:grid;gap:6px;min-width:0;padding:18px 22px;color:var(--ink);text-decoration:none}.notification-toast__eyebrow{color:var(--notification-strong);font-size:.85rem;font-weight:850;letter-spacing:.06em}.notification-toast__title{min-width:0;color:var(--ink);font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}.notification-toast__body{display:-webkit-box;min-width:0;overflow:hidden;color:var(--muted);font-size:1rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.notification-toast__link:hover,.notification-toast__link:focus-visible{background:#f3ede2;outline:2px solid var(--notification-accent);outline-offset:-2px}
.notification-toast__close{width:54px;min-width:54px;height:54px;min-height:54px;margin:16px;padding:0;border:1px solid var(--notification-accent);border-radius:0;background:#fff;color:var(--notification-strong);font-size:1.6rem;font-weight:800;line-height:1}.notification-toast__close:hover,.notification-toast__close:focus-visible{background:#f3ede2;color:var(--notification-strong)}
@media(max-width:640px){body:has([data-resource-home-studio]){--notification-safe-bottom:74px}.notification-toast-region{right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--notification-safe-bottom,0px));gap:10px;width:calc(100vw - 24px);max-height:calc(100dvh - var(--site-header-height,72px) - 36px - var(--notification-safe-bottom,0px))}.notification-toast{border-left-width:5px}.notification-toast__content{gap:4px;padding:12px 13px}.notification-toast__eyebrow{font-size:.75rem}.notification-toast__title{font-size:1.05rem}.notification-toast__body{font-size:.9rem}.notification-toast__close{width:44px;min-width:44px;height:44px;min-height:44px;margin:8px;font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.notification-toast-region,.notification-toast{transition-duration:80ms}}

.personal-recent-notifications { padding: 0; overflow: hidden; }
.personal-recent-notifications > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.personal-recent-notifications > header h2,
.personal-recent-notifications > header p { margin: 0; }
.personal-recent-notifications > header p { color: var(--muted); font-size: .86rem; }
.personal-recent-notifications > header > a { color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; }
.personal-recent-notifications__list { display: grid; gap: 0; }
.notification--compact { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "header link" "content link"; gap: 4px 16px; margin: 0; padding: 13px 18px; border-width: 0 0 1px; box-shadow: none; }
.notification--compact:last-child { border-bottom: 0; }
.notification--compact .notification__header { align-items: baseline; }
.notification--compact .notification__body { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification__compact-link { grid-area: link; align-self: center; min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--accent); font-weight: 800; text-decoration: none; }
.notification__compact-link:hover,
.notification__compact-link:focus-visible { background: #f3ede2; outline: 2px solid var(--accent); outline-offset: -2px; }
@media(max-width:760px){.personal-recent-notifications > header{align-items:flex-start;flex-direction:column}.notification--compact{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"header header" "content link";padding:11px 12px}.notification--compact .notification__body{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
