/* G4-NTF1 + G4-NTF2 — the notification centre: one filter line in the panel's header (lists that open, several choices each), the numbers at the top as
   buttons, the list scrolling inside its panel */
.panel-head.ntf-head{gap:10px 14px;flex-wrap:wrap}
.ntf-line{flex:1 1 420px;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 8px;min-width:0}
.ntf-line-title{font-size:12px;color:var(--muted)}
.ntf-dd{position:relative}
.ntf-dd-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;font-size:12px;border-radius:999px;line-height:1.6;white-space:nowrap}
.ntf-dd-caret{font-size:10px;opacity:.7}
.ntf-dd-n{font-variant-numeric:tabular-nums}
/* the workspace theme forces the button colours (as in pick1.css): a list with a choice wins by id and !important */
#ntfFilters .ntf-dd-btn[data-ntf-active]{background:var(--accent,#315ccf)!important;color:#fff!important;border-color:var(--accent,#315ccf)!important;font-weight:700}
#ntfFilters .ntf-dd-btn[aria-expanded="true"]{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#315ccf) 35%,transparent)}
.ntf-menu{position:absolute;top:calc(100% + 6px);inset-inline-start:0;z-index:70;min-width:220px;max-width:min(340px,92vw);max-height:340px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#fff);box-shadow:0 12px 32px rgba(16,38,65,.18)}
.ntf-menu[hidden]{display:none!important}
.ntf-search{width:100%;margin:0 0 6px;padding:6px 10px;font-size:12px;border-radius:8px}
/* the page styles labels and inputs as form fields; the choices of a list are a compact row: the box, the name, the count */
#ntfFilters .ntf-menu{min-width:260px}
#ntfFilters label.ntf-opt{display:flex!important;flex-direction:row;align-items:center;gap:10px;width:auto;margin:0;padding:7px 10px;border-radius:8px;font-size:13px;line-height:1.45;cursor:pointer;text-align:start}
#ntfFilters label.ntf-opt input[type="checkbox"]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0}
.ntf-opt[hidden]{display:none!important}
.ntf-opt:hover{background:color-mix(in srgb,var(--accent,#315ccf) 8%,transparent)}
#ntfFilters .ntf-opt span{flex:1 1 auto;min-width:0;white-space:normal}
.ntf-opt b{font-weight:600;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.ntf-shown{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.ntf-clear[hidden]{display:none!important}
#notificationSummary [data-ntf-kpi]{cursor:pointer;transition:box-shadow .15s ease,transform .15s ease}
#notificationSummary [data-ntf-kpi]:hover{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#315ccf) 30%,transparent)}
#notificationSummary [data-ntf-kpi]:focus-visible{outline:2px solid var(--accent,#315ccf);outline-offset:2px}
#notificationSummary [data-ntf-kpi][aria-pressed="true"]{box-shadow:0 0 0 2px var(--accent,#315ccf)}
#notificationList.ntf-scroll{max-height:min(68vh,860px);overflow-y:auto;overscroll-behavior:contain;padding-inline-end:4px;scrollbar-gutter:stable}
#notificationList .ntf-off{display:none!important}
#notificationList .ntf-none{margin:10px 0}
@media(max-width:700px){
 .ntf-line{flex-basis:100%;order:3}
 #notificationList.ntf-scroll{max-height:72vh}
}
