.notification-panel{margin-block:1rem;padding:1rem;border:1px solid var(--edge);border-radius:1.1rem;background:var(--panel)}
.notification-panel summary{min-height:48px;display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:700;line-height:1.6}
.notification-panel form{display:flex;flex-direction:column;gap:.9rem;margin-block:1rem}
.notification-panel label{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.notification-panel input:not([type=checkbox]),.notification-panel select,.notification-panel textarea{min-height:48px;width:100%;font:inherit;border:1px solid var(--edge);border-radius:.8rem;background:var(--panel);color:var(--text);padding:.65rem;box-sizing:border-box}
.notification-panel textarea{resize:vertical}
.notification-tools{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-block:.75rem}
.notification-panel .notification-sound{flex-direction:row;align-items:center;gap:.6rem;min-height:48px}
.notification-panel .action{min-height:48px;white-space:normal;word-break:normal;overflow-wrap:break-word;writing-mode:horizontal-tb;line-height:1.5}
.notification-list{display:flex;flex-direction:column;gap:.8rem}
.notification-card{padding:1rem;border:1px solid var(--edge);border-radius:1rem;display:flex;align-items:flex-start;gap:.7rem;min-width:0}
.notification-card img{flex-shrink:0;width:40px;height:40px;object-fit:contain}
.notification-card-content{min-width:0;flex:1}
.notification-card h3{margin:0 0 .5rem;word-break:normal;overflow-wrap:anywhere}
.notification-body{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;line-height:1.8}
.notification-card time{font-size:.85rem;opacity:.75}
.notification-new-count{font-size:.85rem;margin-inline-start:auto}
.notification-card[data-unread=true]{border-inline-start:4px solid #427c65}
.notification-panel [hidden]{display:none!important}
@media(max-width:600px){.notification-panel{padding:.8rem}.notification-tools>.action{flex:1 1 100%}.notification-card{padding:.8rem}}
