/* Notices preview (20261022-notices): layers on contracts.20261022-cp.css + modal.20261022-cp.css */
.cx.nx .hdr,.cx.nx .row{grid-template-columns:150px minmax(240px,1.5fr) 104px minmax(280px,2.4fr);column-gap:20px}
.cx.nx .row>div:nth-child(3),.cx.nx .hdr>span:first-of-type{justify-self:center}
.cx.nx .row>div:nth-child(2){overflow:hidden}
.cx.nx .when{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.cx.nx .row .eff{text-align:left}
.cx.nx .cd{font-size:12px;font-weight:600;color:#374151;background:#F2F3F5;padding:1px 8px;border-radius:999px}
.cx.nx .cd.soon{color:#7A4A00;background:#FFF4DF}
.cx.nx .src{color:#6B7280}
.md-evlab{display:block;font-size:17px;font-weight:600;color:#111827}
.md-evsrc{display:block;font-size:14px;color:#5B6472;margin-top:2px}
.md .ev.focus{background:#E8F3FF;border-radius:10px}

/* 20261022-notices2: list bell + inline reminder popover */
.cx.nx .evc{display:flex;align-items:center;gap:8px;min-width:0}
.cx.nx .evc .sum{flex:1 1 auto;min-width:0}
.cx.nx .bell{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#6B7280;opacity:.4;cursor:pointer;padding:0}
.cx.nx .row:hover .bell,.cx.nx .bell:focus-visible,.cx.nx .bell[aria-expanded=true]{opacity:1}
.cx.nx .bell:hover{background:#fff;color:#0082ff}
.cx.nx .bell.on{opacity:1;color:#fff;background:#0082ff}
.cx.nx .bell.on svg{fill:#fff}
.cx.nx .bell:disabled{cursor:default;opacity:.2}
.cx.nx .row:hover .bell:disabled{opacity:.35}
.cx.nx .bell:focus-visible{outline:2px solid #0082ff;outline-offset:2px}
.rpop{position:fixed;z-index:60;width:380px;background:#fff;border:1px solid #E3E6EB;border-radius:12px;box-shadow:0 12px 32px rgba(17,24,39,.18);padding:14px 16px;font-family:'Open Sans',var(--primary-font,sans-serif);text-align:left;display:flex;flex-direction:column;gap:10px}
.rpop::before{content:"";position:absolute;top:-7px;left:calc(var(--ax,24px) - 6px);width:12px;height:12px;background:#fff;border-left:1px solid #E3E6EB;border-top:1px solid #E3E6EB;transform:rotate(45deg)}
.rpop.up::before{top:auto;bottom:-7px;transform:rotate(225deg)}
.rpop .rp-h{font-size:14px;font-weight:600;color:#111827}
.rpop .rp-s{font-size:12px;color:#5B6472}
.rpop .rp-d{display:flex;align-items:center;gap:10px;font-size:13px;color:#374151}
.rpop .rp-d input{font:inherit;padding:4px 8px;border:1px solid #D5D9E0;border-radius:8px}
.rpop .rp-err{font-size:12px;color:#B42318}
.rpop .rp-a{display:flex;gap:8px;justify-content:flex-end}
.rpop .btn{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border:1px solid #D5D9E0;border-radius:10px;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}
.rpop .btn.pri{background:#0082ff;border-color:#0082ff;color:#fff}.rpop .btn.pri:hover{background:#006fd9}.rpop .btn:disabled{opacity:.6;cursor:default}
.rpop .pillset button{min-height:34px;font-family:inherit}

/* modal centered in the content area (right of the sidebar); width measured into --cx-nav-w by the page script */
.md-back{padding-left:calc(var(--cx-nav-w,0px) + 20px)}

/* 20261022-notices3: design-handoff polish (values mapped to brand #0082ff / Open Sans) */
.cx.nx .evc{gap:12px}
.cx.nx .evt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.cx.nx .evt .sum{color:#111827}.cx.nx .src{color:#5B6472}
.cx.nx .remt{font-size:12px;font-weight:600;color:#0082ff}
.cx.nx .bell{width:36px;height:36px;border:1px solid #D5D9E0;border-radius:9px;background:#fff;color:#6B7280;opacity:.45}
.cx.nx .bell svg{width:17px;height:17px}
.cx.nx .bell:hover{border-color:#A9C6EE;color:#0082ff;background:#fff}
.cx.nx .bell.on{opacity:1;border-color:#0082ff;background:#0082ff;color:#fff}
.cx.nx .bell.on:hover{background:#006fd9;border-color:#006fd9;color:#fff}
.cx.nx .bell.on svg path:first-child{fill:#fff}.cx.nx .bell.on svg{fill:none}
.cx.nx .bell:disabled{border-color:#EEF0F3;background:transparent;color:#C4CAD3;opacity:1;cursor:not-allowed}
.cx.nx .row:hover .bell:disabled{opacity:1}
.cx.nx .cd{border-radius:6px;background:#ECEEF1}.cx.nx .cd.soon{background:#FFF4DF}
.cx.nx .when{gap:3px}
.cx.nx .pdf{width:64px;box-sizing:border-box;justify-content:center;padding:0 8px;gap:6px}
.cx.nx .pdf:hover{border-color:#A9C6EE}
.rpop{border-radius:14px;box-shadow:0 16px 40px rgba(17,24,39,.2);padding:18px;gap:12px}
.rpop .rp-h{font-size:15px}.rpop .rp-s{font-size:13px;margin-top:2px}
.rpop .rp-n{font-size:12px;color:#5B6472}
.rpop .rp-d{font-weight:600}.rpop .rp-d input{min-height:38px;padding:0 10px;border-radius:9px;font-size:14px;color:#111827}
.rpop .btn{min-height:40px;border-radius:9px;font-size:14px}
.rpop .pillset button{min-height:36px;padding:0 12px}
.rpop .ell{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* 20261022-notices4: spacing tweak */
.cx.nx .row,.cx.nx .hdr{grid-template-columns:150px minmax(200px,1.1fr) 84px minmax(320px,2.8fr)}
.cx.nx .evc{gap:15px}

/* 20261022-notices5: PDF button same height as bell */
.cx.nx .pdf{height:36px;min-height:36px;padding-top:0;padding-bottom:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle}
.cx.nx .evc{align-items:center}.cx.nx .evc .bell{margin:0;align-self:center;flex:0 0 36px}
/* 20261022-notices6: tighter date + view columns */
.cx.nx .row,.cx.nx .hdr{grid-template-columns:96px minmax(200px,1.1fr) 46px minmax(320px,2.8fr)}
.cx.nx .pdf{width:auto;padding:0 9px}
.cx.nx .hdr>:nth-child(1){white-space:nowrap}

/* 20261022-notices7: full event description hover card; row event text always one line with ellipsis */
.cx.nx .evt .sum{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hcard{position:fixed;z-index:60;max-width:420px;max-height:300px;overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #E3E6EB;border-radius:10px;box-shadow:0 8px 24px rgba(17,24,39,.12),0 1px 2px rgba(17,24,39,.06);padding:10px 14px;font-family:'Open Sans',system-ui,sans-serif;pointer-events:none}
#hcard .hc-l{font-size:14px;font-weight:600;color:#111827;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
#hcard .hc-s{font-size:12px;color:#5B6472;line-height:1.45;margin-top:3px}
#hcard .hc-p{font-size:12px;color:#8A93A0;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx.nx .evc,.cx.nx .evt{min-width:0}
