/* Notifications module: rule editor, pickers, history and template previews. */
.nt-wrap { white-space: normal !important; overflow-wrap: anywhere; }
.nt-summary { color: var(--text2); font-size: 12.5px; margin-top: 3px; line-height: 1.45; white-space: normal; }
.nt-rule-name { font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nt-chans { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.nt-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; background: #eaf2f9; color: #2f5f88; white-space: nowrap; }
.nt-tag.off { background: #f1f3f5; color: #7a8896; text-decoration: line-through; }
.nt-tag.ex { background: var(--badBg); color: var(--badFg); }
.nt-tbl td.nt-main { min-width: 260px; white-space: normal; }

/* chip pickers (customers, groups, activities) */
.nt-picker { position: relative; }
.nt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.nt-chips:empty { display: none; }
.nt-chip { display: inline-flex; align-items: center; gap: 6px; background: #eef6ff; border: 1px solid #b8d5f3; color: #0f4c8a; border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 12px; max-width: 100%; }
.nt-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-chip button { border: 0; background: #d6e8fb; color: #0f4c8a; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; padding: 0; }
.nt-chip button:hover { background: #0a6fd2; color: #fff; }
.nt-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; border: 1px solid #b9c8d6; border-radius: 4px; box-shadow: 0 8px 22px rgba(15, 45, 70, .16); max-height: 280px; overflow-y: auto; margin-top: 2px; }
.nt-results button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #eef2f6; font: 12.5px var(--fb); color: var(--text); }
.nt-results button:hover, .nt-results button.hl { background: #e6f2ff; }
.nt-results button small { display: block; color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-results .none { padding: 10px; color: var(--muted); font-size: 12px; }

/* activity picker */
.nt-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.nt-cat { border: 1px solid #d3dee8; border-radius: 4px; background: #fff; min-width: 0; }
.nt-cat > header { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(180deg, #fff, #f2f6f9); border-bottom: 1px solid #e0e7ed; }
.nt-cat > header label { font-weight: 700; }
.nt-cat > header i { color: #111111; }
.nt-cat > header .n { margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.nt-cat .list { padding: 6px 10px 8px; display: grid; gap: 4px; }
.nt-cat .list .ct-check { align-items: flex-start; }
.nt-cat.whole .list { opacity: .55; }
.nt-cat .list .ct-check input { margin-top: 1px; flex: none; }
.nt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-pills label { border: 1px solid #b9c8d6; border-radius: 14px; padding: 4px 10px; font-size: 12px; cursor: pointer; background: #fff; display: inline-flex; align-items: center; gap: 6px; }
.nt-pills label:has(input:checked) { border-color: #0a6fd2; background: #eef6ff; color: #0f4c8a; font-weight: 700; }
.nt-pills input { accent-color: #0a6fd2; margin: 0; }
.nt-step { display: flex; gap: 10px; align-items: baseline; margin: 0 0 8px; }
.nt-step b.no { width: 22px; height: 22px; border-radius: 50%; background: #0a6fd2; color: #fff; display: inline-grid; place-items: center; font-size: 12px; flex: none; }
.nt-section + .nt-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #d3dee8; }
.nt-hide { display: none !important; }

/* rule tester */
.nt-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.nt-verdict div { border: 1px solid #d3dee8; border-radius: 4px; padding: 10px; display: flex; gap: 8px; align-items: center; font-weight: 700; }
.nt-verdict .yes { background: var(--okBg); color: var(--okFg); border-color: #b5e3cc; }
.nt-verdict .no { background: #f5f7f9; color: var(--muted); }
.nt-trace { margin: 6px 0 0; padding-left: 18px; color: var(--text2); font-size: 12.5px; }
.nt-trace li { margin: 2px 0; }

/* history + detail */
.nt-addr { font-family: Consolas, 'Courier New', monospace; font-size: 12px; }
.nt-log { list-style: none; margin: 0; padding: 0; }
.nt-log li { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e6edf3; font-size: 12.5px; }
.nt-log li:last-child { border-bottom: 0; }
.nt-log .r { font-weight: 700; text-transform: capitalize; }
.nt-sms { background: #eef6ff; border: 1px solid #c6ddf5; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13px; line-height: 1.45; max-width: 360px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nt-sms-len { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.nt-frame { width: 100%; height: 760px; border: 1px solid #d3dee8; border-radius: 4px; background: #eef2f7; display: block; }
.nt-tpl-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #eef2f6; color: var(--text); font-size: 12.5px; }
.nt-tpl-list a:hover { background: #e6f2ff; }
.nt-tpl-list a.on { background: #d8ebff; font-weight: 700; box-shadow: inset 3px 0 0 #0a75dd; }
.nt-tpl-list h4 { margin: 0; padding: 7px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #1d3650; background: #f2f6f9; border-bottom: 1px solid #e0e7ed; }
.nt-tpl-list .n { color: var(--muted); font-size: 11px; }
.nt-tpl-scroll { max-height: 900px; overflow-y: auto; }
.nt-prefs td, .nt-prefs th { text-align: center; }
.nt-prefs td:first-child, .nt-prefs th:first-child { text-align: left; white-space: normal; }
.nt-prefs .ct-check { justify-content: center; }
.nt-must { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) {
    .nt-log li { grid-template-columns: 1fr; gap: 2px; }
    .nt-frame { height: 640px; }
    .nt-verdict { grid-template-columns: 1fr; }
    .nt-events { grid-template-columns: 1fr; }
    .nt-tbl td.nt-main { min-width: 200px; }
    .nt-tpl-scroll { max-height: 320px; }
}
.nt-filters .ct-input { max-width: 100%; min-width: 0; }
.nt-filters select.ct-input { text-overflow: ellipsis; max-width: calc(100vw - 60px); }
.nt-stack > * { min-width: 0; }


/* Pinnacle Premier Bank: black navigation with restrained gold selection accents. */
.ct-top,header.top,.ct-modbar,.topnav,.ct-navtitle,.navtitle,.navbar.bg-primary,.nav-menu.bg-primary,.sidebar.bg-primary{background:#000!important;background-image:none!important;border-color:#252525!important;color:#fff!important}
.ct-top-title,.ct-top-title b,.ct-session,.ct-modbar a,.topnav a,.topnav button,.ct-navtitle span,.navtitle span{color:#fff!important}
.ct-modbar a:hover,.ct-modbar a.on,.topnav a:hover,.topnav a.on,.topnav button:hover,.topnav button.on{background:#242424!important;color:#fff!important}
.ct-sidebar,.shell>.sidebar{background:#f2f2f2!important;border-color:#d3d3d3!important}
.ct-navitem,.navitem{color:#171717!important;background:linear-gradient(#fff,#f3f3f3)!important;border-color:#d0d0d0!important}
.ct-navitem i,.navitem svg{color:#171717!important}
.ct-navitem:hover,.ct-navitem.on,.navitem:hover,.navitem.on,.nav-link.active,.sidebar .nav-link.active{color:#fff!important;background:#111!important;box-shadow:inset 3px 0 0 #c8a34a!important}
.ct-navitem:hover i,.ct-navitem.on i,.navitem:hover svg,.navitem.on svg{color:#e3c375!important}
.ct-navtitle span,.navtitle span{background:#292929!important}
.ct-topbtn,.ct-command,.ct-command input,.ct-top .ct-avatar{background:#171717!important;border-color:#454545!important;color:#fff!important}
.ct-menu .drop a:hover,.ct-menu .drop button:hover{background:#111!important;color:#fff!important}
