.notice-bell{position:relative;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line,#dce5e2);border-radius:6px;background:#fff;color:var(--ink,#202927);flex-shrink:0;cursor:pointer}
.notice-bell [data-notice-count]{position:absolute;right:-5px;top:-5px;min-width:20px;padding:2px 4px;border-radius:10px;background:#a02c38;color:white;font-size:12px;font-weight:700;text-align:center}
.notice-bell [hidden],.notice-binding-dialog [hidden]{display:none}
.notice-enterprise{margin:16px 0;padding:16px;border:1px solid var(--admin-line,#e3e5e4);border-radius:8px}
.notice-enterprise summary{font-weight:600;cursor:pointer}
.notice-enterprise p{font-size:13px;line-height:1.7;color:var(--admin-muted,#626b68)}
.notice-enterprise textarea{max-width:420px}
.notice-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}
.notice-filters{display:flex;border-bottom:1px solid var(--line,#dce5e2);gap:8px}
.notice-filters button{height:44px;padding:0 18px;color:#505f59;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer;font:inherit}
.notice-filters button.active{color:#006b64;border-bottom-color:#006b64;font-weight:700}
.notice-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;cursor:pointer}
.notice-toggle input{width:18px;height:18px;accent-color:#087b76;margin:0}
.notice-channel{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:12px 0;border-block:1px solid var(--line,#dce5e2);font-size:14px;color:#56645e}
.notice-error{color:#922e39;margin:12px 0;overflow-wrap:anywhere}
.notice-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:16px;align-items:start;padding:22px 0;border-bottom:1px solid var(--line,#dce5e2)}
.notice-symbol{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#eaf4f1;color:#006b64;border-radius:6px}
.notice-item.is-urgent .notice-symbol{background:#fff0ed;color:#a02c38}
.notice-item>.button{min-height:44px}
.notice-item.is-highlighted{background:#f0f8f5;outline:1px solid #a6c8bb;outline-offset:4px}
.notice-item-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;line-height:1.5}
.notice-item-head strong{font-size:16px}
.notice-state{font-size:12px;color:#53645b}
.is-urgent .notice-state{color:#922e39;font-weight:700}
.notice-body p{margin:5px 0;line-height:1.6;overflow-wrap:anywhere;font-size:14px}
.notice-body .notice-amount{color:#233d34;font-weight:600}
.notice-note{color:#53645b}
.notice-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;color:#5b6862;font-size:12px}
.notice-unread{color:#087b76;font-weight:700}
.notice-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;color:#62716a}
.notice-mode{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.notice-mode label{min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid #cfddd5;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:14px}
.notice-mode label:has(:checked){border-color:#087b76;background:#eaf4f1}
.notice-recipients{border:0;border-top:1px solid #dce5e2;margin:20px 0;padding:16px 0}
.notice-recipients legend{font-weight:700;padding-right:12px}
.notice-template-list details{border-top:1px solid #dce5e2;padding:16px 0}
.notice-template-list summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none}
.notice-template-list summary span{margin-left:auto;color:#5c6c63;font-size:13px}
.notice-template-list label{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:0}
.notice-template-list select{width:100%;min-height:44px;margin:0}
.notice-template-content{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 0}
.notice-mappings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.notice-delivery-log{margin-top:24px;border-top:1px solid #dce5e2;padding-top:16px}
.notice-delivery-log>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid #dce5e2;font-size:14px;overflow-wrap:anywhere}
.notice-delivery-log p,.notice-delivery-log small{flex-basis:100%;margin:0;color:#5d6862}
.notice-binding-dialog canvas{width:min(280px,100%);height:auto;display:block;margin:auto}
.notice-bell:focus-visible,.notice-filters button:focus-visible{outline:2px solid #087b76;outline-offset:3px}
@media(max-width:600px){.notice-controls{align-items:start;flex-wrap:wrap;gap:8px}.notice-filters{flex:1}.notice-filters button{flex:1;padding-inline:12px}.notice-item{grid-template-columns:32px minmax(0,1fr);gap:12px}.notice-symbol{width:32px;height:32px}.notice-item>.button{grid-column:2;justify-self:start}.notice-channel{gap:8px 12px}.notice-channel>span{flex-basis:100%}.notice-mappings{grid-template-columns:1fr}.notice-mode label{flex:1;min-width:110px}.notice-template-list summary{align-items:start}.notice-template-list summary span{white-space:nowrap}.notice-item.is-highlighted{outline-offset:0}}
@media(prefers-reduced-motion:no-preference){.notice-bell,.notice-filters button{transition:background-color .15s ease,color .15s ease}}
