/* ศูนย์แจ้งเตือน */
.alerts-wrap{position:relative}
.alerts-button{width:40px;height:40px;color:#6b7080;background:#fff;border:1px solid #e6e8ed;display:grid;place-items:center;position:relative;padding:0}
.alerts-button svg{width:21px;height:21px}.alerts-button:hover,.alerts-button[aria-expanded="true"]{color:#e07a1b;border-color:#f3c999}
.alerts-count{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#8a8f99;color:#fff;font:700 11px/19px Outfit,sans-serif;text-align:center;border:2px solid #f7f8fa}
.alerts-count.urgent{background:#e5484d}
.alerts-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(400px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto;background:#fff;border:1px solid #e6e8ed;border-radius:14px;box-shadow:0 18px 50px #20232b26;z-index:40;padding:6px 0 10px;text-align:left}
.alerts-head{display:flex;justify-content:space-between;align-items:center;padding:8px 14px 6px;position:sticky;top:-6px;background:#fff}.alerts-head strong{font-size:15px}
.alerts-panel h3{font-size:12px;color:#8a8f99;margin:10px 14px 4px;font-weight:700;letter-spacing:.02em}
.alerts-panel ul{list-style:none;margin:0;padding:0 6px}
.alert-item{display:flex;gap:10px;padding:10px 8px;border-radius:10px}.alert-item:hover{background:#fafbfc}
.alert-item.decide{background:#fff8f1}.alert-item.decide:hover{background:#fff3e7}
.alert-icon{font-size:18px;line-height:1.3;width:22px;text-align:center;flex:none}
.alert-body{min-width:0;display:grid;gap:3px}.alert-body strong{font-size:14px;line-height:1.45;color:#20232b}.alert-body small{font-size:12.5px;color:#6d727c;line-height:1.5}
.alert-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.alert-actions .text-button{padding:0;font-size:13px}
.alert-actions .small{padding:6px 12px;font-size:13px}
.alerts-empty{margin:10px 16px;color:#8a8f99;font-size:14px}
.alert-banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0;padding:12px 16px;border-radius:12px;background:#fff8f1;border:1px solid #f6d9b8;color:#7a4510;font-size:14px}
.alert-banner button{margin-left:auto}
@media(max-width:620px){.alerts-button{width:34px;height:34px}.alerts-button svg{width:18px;height:18px}.alerts-panel{position:fixed;left:12px;right:12px;top:64px;width:auto}}
.alert-item.news .alert-body strong{font-weight:600}
.alert-item.fresh{position:relative}.alert-item.fresh::after{content:"";position:absolute;right:10px;top:16px;width:8px;height:8px;border-radius:50%;background:#2f7dd1}
.alerts-email{display:flex;gap:8px;align-items:flex-start;margin:10px 14px 2px;padding-top:10px;border-top:1px solid #f0f1f3;font-size:12.5px;color:#6d727c;line-height:1.5;cursor:pointer}.alerts-email input{width:16px;height:16px;flex:none;margin-top:2px}
.console-user .alerts-wrap{margin-right:6px}.console-top .alerts-button{background:#ffffff14;border-color:#ffffff33;color:#fff}.console-top .alerts-button:hover{color:#ffd29a}.console-top .alerts-count{border-color:#14284b}.console-top .alerts-panel{color:#20232b}
