/* Centre de notifications : graphite et corail, composants partagés avec l’app. */
.notification-center{max-width:950px;margin:0 auto;min-width:0}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 30px}
.notification-heading>div{display:flex;align-items:center;gap:15px;min-width:0}
.notification-heading h1{font-size:clamp(28px,4vw,42px);line-height:1.2;margin:0;letter-spacing:-1.3px}
.notification-heading-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--surface);color:var(--accent);border-radius:14px;font-size:21px;flex:none}
.notification-heading .button{font-size:12px;min-height:42px;padding:10px 14px}
.notification-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:13px;margin-bottom:32px}
.notification-tabs>a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;padding:10px 12px;border-radius:9px;font-size:14px;color:var(--muted);font-weight:650;min-width:0}
.notification-tabs>a:hover{color:var(--text);background:var(--raised)}
.notification-tabs>[aria-current]{color:var(--text);background:var(--raised);font-weight:750;box-shadow:none}
.notification-tabs>[aria-current]>.icon{color:var(--text)}
.notification-tabs small{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:10px;line-height:1;font-variant-numeric:tabular-nums}
.notification-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 14px}
.notification-list-heading h2{font-size:17px;margin:0;letter-spacing:-.25px}
.notification-list-heading>span{font-size:11px;color:var(--muted)}
.notification-list{display:grid;gap:10px;padding:0;list-style:none;margin:0}
.notification-item{display:flex;align-items:flex-start;gap:16px;padding:21px 22px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0;position:relative}
.notification-item:not(.is-unread){background:transparent}
.notification-item.is-unread{border-color:var(--line);box-shadow:none}
.notification-avatar{width:48px;height:48px;border-radius:12px;background:var(--raised);display:grid;place-items:center;flex:none;color:var(--accent);font-size:22px;overflow:hidden}
.notification-avatar img{width:100%;height:100%;object-fit:contain;padding:6px}
.notification-avatar.is-system{background:var(--accent-soft)}
.notification-content{min-width:0;flex:1}
.notification-content h2{display:flex;align-items:baseline;gap:9px;font-size:16px;line-height:1.5;margin:0 0 3px;letter-spacing:-.25px;overflow-wrap:anywhere}
.notification-content h2>a:hover{color:var(--accent)}
.notification-message{color:var(--muted);font-size:13px;line-height:1.8;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.notification-unread{display:inline-block;flex:none;height:6px;width:6px;border-radius:50%;background:var(--accent);align-self:center}
.notification-meta{display:flex;gap:6px 14px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:10px;line-height:1.6}
.notification-meta>span{color:var(--accent)}
.notification-read{height:35px;width:35px;flex:none;font-size:14px;border-radius:9px;color:var(--muted);background:transparent}
.notification-read:hover{color:var(--accent);background:var(--raised)}
.notification-action{display:inline-flex;margin-top:12px;font-size:12px;gap:10px}
.notification-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:28px}
.notification-pagination .button{min-height:40px;font-size:12px}
.notification-pagination>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.notification-status{color:var(--muted);font-size:13px;padding:12px 0;margin:0}
.notification-empty{text-align:center;padding:60px 16px 65px;border-block:1px solid var(--line)}
.notification-empty>.icon{font-size:27px;color:var(--accent);margin-bottom:17px}
.notification-empty h2{font-size:17px;line-height:1.7;margin:0 0 14px;letter-spacing:-.2px}
.notification-empty .text-link{font-size:13px}
.notification-admin-layout{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:32px;align-items:start}
.notification-compose{padding:25px;border:1px solid var(--line);background:var(--surface);border-radius:13px}
.notification-compose-heading{display:flex;gap:12px;align-items:center;margin-bottom:23px}
.notification-compose-heading>.icon{color:var(--accent);font-size:20px}
.notification-compose-heading h2{font-size:18px;line-height:1.5;margin:0;letter-spacing:-.4px}
.notification-compose .stack-form{display:grid;gap:11px}
.notification-compose .stack-form>label{font-size:13px;margin-top:7px}
.notification-compose textarea{resize:vertical;min-height:150px}
.notification-compose .notification-optional{border-top:1px solid var(--line);padding-top:18px;margin-top:10px}
.notification-optional summary{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:13px;cursor:pointer;list-style:none;color:var(--muted)}
.notification-optional summary::-webkit-details-marker{display:none}
.notification-optional>div{display:grid;gap:11px;padding-top:18px;font-size:12px}
.notification-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:9px}
.notification-compose-footer>span{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}
.notification-compose-footer .button{min-height:44px;padding:11px 18px;font-size:13px}
.notification-sent>.section-heading{margin:0 0 16px;padding:0}
.notification-sent>.section-heading h2{font-size:19px}
.notification-sent>.section-heading small{font-size:12px;color:var(--muted);margin-left:5px}
.notification-admin-list{padding:0;list-style:none;margin:0}
.notification-admin-list>li{padding:21px 0;border-bottom:1px solid var(--line)}
.notification-admin-list>li:first-child{padding-top:0}
.notification-sent-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.notification-sent-heading strong{font-size:15px;overflow-wrap:anywhere}
.notification-sent-state{font-size:10px;color:var(--muted);white-space:nowrap}
.notification-sent-state.is-active{color:var(--green)}
.notification-admin-list p{font-size:12px;line-height:1.9;color:var(--muted);margin:10px 0 14px;overflow-wrap:anywhere}
.notification-sent-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--muted)}
.notification-sent-meta .text-link{font-size:11px;display:inline-flex;gap:8px;align-items:center;min-height:30px;background:none;border:0;padding:0}
.notification-admin-empty{display:flex;align-items:center;gap:12px;border-block:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:13px}
.notification-admin-empty p{margin:0}
@media(max-width:1050px){.notification-admin-layout{grid-template-columns:minmax(0,1fr);gap:30px}.notification-compose{max-width:700px;width:100%}}
@media(max-width:610px){
 .notification-heading{align-items:flex-start;flex-wrap:wrap;gap:20px;margin-bottom:23px}
 .notification-heading>div{gap:11px}.notification-heading-icon{width:40px;height:40px;font-size:18px;border-radius:11px}
 .notification-heading h1{font-size:30px;letter-spacing:-1px}
 .notification-heading .button{font-size:11px;min-height:40px}
 .notification-tabs{gap:3px;padding:4px;margin-bottom:25px;border-radius:11px}
 .notification-tabs>a{font-size:12px;gap:5px;min-height:47px;padding:9px 3px;border-radius:7px}
 .notification-tabs>a>.icon{font-size:11px;width:13px}
 .notification-tabs small{font-size:9px;min-width:17px;height:18px;padding:0 3px;border-radius:4px}
 .notification-list-heading h2{font-size:16px}.notification-list-heading>span{font-size:10px}
 .notification-item{padding:17px 14px;gap:12px}.notification-avatar{width:40px;height:40px;border-radius:10px;font-size:19px}
 .notification-content h2{font-size:14px;line-height:1.6}.notification-message{font-size:12px;line-height:1.8}
 .notification-meta{font-size:9px;gap:4px 9px;margin-top:9px}.notification-read{width:36px;height:40px;font-size:12px;margin-right:-6px}
 .notification-empty{padding-block:48px}.notification-empty h2{font-size:16px}.notification-pagination{gap:11px}
 .notification-compose{padding:20px 17px}.notification-compose-heading h2{font-size:17px}.notification-compose-footer{align-items:center;gap:18px}.notification-compose-footer .button{flex:1;max-width:170px}
}

.notification-heading-icon>.icon,.notification-avatar>.icon{font-size:inherit}

@media(max-width:420px){.notification-tabs{grid-template-columns:1.2fr 1fr 1fr}.notification-tabs>a>.icon{display:none}}
