/* rev488 · shared rhythm, sizes and interaction surfaces; loaded last. */
html body{--nvx-dialog-width:64rem;--nvx-agent-width:54rem;--nvx-radius:1.25rem}
html body .hcard-featured{grid-column:auto!important}
html body .hcard{min-height:11.5rem;padding:1.35rem;gap:.7rem}
html body .hcard .hdesc{max-width:100%;padding-right:1.8rem;font-size:.82rem;line-height:1.55}
html body .hcard .hname{font-size:1.1rem}
html body .hgrid{gap:1rem;align-items:stretch}
html body :is(.pj-modal,.lead-modal){width:min(var(--nvx-dialog-width),calc(100vw - 3rem))!important;max-width:var(--nvx-dialog-width)!important;height:min(86dvh,56rem);max-height:calc(100dvh - 3rem);border-radius:var(--nvx-radius)!important}
html body :is(.pj-modal,.lead-modal)>.m-head{padding:1rem 1.4rem!important;min-height:4.5rem}
html body :is(.pj-modal,.lead-modal)>.m-body{padding:1.4rem!important;flex:1;min-height:0;overflow:auto;font-size:.9rem;line-height:1.6}
html body :is(.pj-modal,.lead-modal)>.m-foot{padding:1rem 1.4rem!important;gap:.7rem}
html body :is(.pj-modal,.lead-modal) :is(.mtab,.mtabs button,.pj-mtabs button){min-height:2.85rem;font-size:.82rem;padding:.75rem 1rem}
html body :is(.pj-tab-head,.project-dev>header){display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
html body :is(.pj-tab-head,.project-dev>header) h3{font-size:1.2rem!important;line-height:1.35;margin:.35rem 0!important}
html body .project-dev>header p{font-size:.88rem;line-height:1.6;margin:.45rem 0 0}
html body .project-dev>header>div>span{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--orbit)}
html body .project-dev-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0}
html body .project-dev-kpis>div{padding:1rem!important;min-height:5.4rem;border:1px solid var(--line);border-radius:.9rem}
html body .project-dev-kpis b{font-size:1.5rem!important;line-height:1.2}
html body .project-dev-kpis span{display:block;font-size:.78rem;margin-top:.5rem}
html body .project-dev>article{border:1px solid var(--line);border-radius:.9rem;padding:1.1rem;margin:.75rem 0}
html body .scope-empty{display:flex!important;align-items:center!important;justify-content:space-between;gap:1.5rem!important;min-height:8rem;padding:1.5rem!important;border:1px dashed var(--line-2);border-radius:1rem;background:var(--surface-2)}
html body .scope-empty>div{flex:1;min-width:0}
html body .scope-empty h4{font-size:1rem;white-space:normal;word-break:normal;margin:0 0 .5rem}
html body .scope-empty p{margin:0;color:var(--orbit);max-width:38rem}
html body .scope-empty button{width:auto!important;flex:0 0 auto;min-height:2.8rem;padding:.7rem 1.2rem}
html body .scope-editor textarea{min-height:12rem;line-height:1.7}
html body :is(.ceo-panel,.cfo-agent-panel,.mkt-cmo-modal){width:min(var(--nvx-agent-width),calc(100vw - 3rem))!important;max-width:var(--nvx-agent-width)!important;height:min(84dvh,49rem)!important;max-height:calc(100dvh - 3rem)!important;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line-2)!important;border-radius:var(--nvx-radius)!important;background:var(--surface)!important;color:var(--starlight)!important}
html body :is(.ceod-hd,.cfoa-hd,.mkt-cmo-modal>.m-head){padding:1rem 1.3rem!important;min-height:4.5rem;gap:1rem;border-bottom:1px solid var(--line);flex-shrink:0}
html body :is(.ceod-tabs,.cfoa-tabs,.mkt-cmo-tabs){display:flex;min-height:3rem;padding:0 1.3rem!important;gap:.7rem;border-bottom:1px solid var(--line);flex-shrink:0}
html body :is(.ceod-tabs,.cfoa-tabs,.mkt-cmo-tabs)>button{font-size:.8rem!important;padding:.85rem 1rem!important;min-height:3rem;color:var(--orbit)!important;background:transparent!important}
html body :is(.ceod-tabs,.cfoa-tabs,.mkt-cmo-tabs)>button.on{color:var(--accent)!important;border-bottom:2px solid var(--accent)!important}
html body :is(.ceod-msgs,.cfoa-messages,.mkt-cmo-messages){flex:1;min-height:0;overflow:auto;padding:1.3rem!important;font-size:.9rem!important;line-height:1.7}
html body :is(.ceod-in,.cfoa-input-row,.mkt-cmo-form){display:flex!important;align-items:flex-end;gap:.75rem;padding:1rem 1.3rem!important;border-top:1px solid var(--line);flex-shrink:0}
html body :is(.ceod-in,.cfoa-input-row,.mkt-cmo-form) textarea{flex:1;min-width:0;width:100%;min-height:4rem!important;max-height:9rem;padding:.85rem!important;border-radius:.75rem!important;font-size:.88rem!important;line-height:1.6}
html body :is(.ceod-in .lanc-btn,.ceod-in button,.cfoa-send,.mkt-cmo-form .lanc-btn){min-width:6.2rem;min-height:2.9rem;border:1px solid var(--accent)!important;border-radius:.75rem!important;background:var(--accent)!important;color:white!important;font-weight:700}
html body :is(.ceod-suggestions,.cfoa-suggestions,.mkt-cmo-suggestions){display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 1.3rem!important}
html body :is(.ceod-empty,.cfoa-empty){font-size:.9rem;line-height:1.7;max-width:38rem;margin:1rem auto;padding:1.2rem;border:1px dashed var(--line);border-radius:.9rem;background:var(--surface-2)}
html body .mkt-channel-guide{padding:1.35rem!important;border:1px solid var(--line)!important;border-top:3px solid var(--channel)!important;border-radius:1rem;margin:0 0 1.25rem;background:var(--surface)}
.mkt-channel-guide>header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.mkt-channel-guide small,.mkt-guide-step{font:700 .65rem/1.5 var(--ff-m,monospace);letter-spacing:.1em;color:var(--channel)}
.mkt-channel-guide h3{font-size:1.15rem;margin:.35rem 0}
.mkt-guide-tag{font-size:.7rem;white-space:nowrap;padding:.5rem .7rem;border:1px solid var(--line);border-radius:2rem;color:var(--orbit)}
.mkt-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.1rem 0}
.mkt-guide-grid article{padding:1rem;border:1px solid var(--line);border-radius:.8rem;background:var(--surface-2)}
.mkt-guide-grid h4{font-size:.9rem;margin:.4rem 0}
.mkt-guide-grid p{font-size:.82rem!important;line-height:1.7!important;color:var(--orbit);margin:.3rem 0!important}
.mkt-channel-guide>footer{display:flex;justify-content:space-between;gap:1rem;font-size:.73rem;line-height:1.6;color:var(--orbit)}
.mkt-channel-guide>footer a{flex-shrink:0;color:var(--accent)}
.mkt-legacy{padding:1rem;border:1px dashed var(--line-2);border-radius:.8rem;margin:1rem 0}
.mkt-legacy summary{cursor:pointer;font-weight:700}
.mkt-legacy article{display:flex;align-items:center;gap:1rem;justify-content:space-between;margin-top:1rem;font-size:.82rem}
.mkt-legacy article p{color:var(--orbit)}
.nvx-day{width:min(49rem,calc(100vw - 2rem));max-height:calc(100dvh - 3rem);padding:0;border:1px solid var(--line-2,#cad8ea);border-radius:1.25rem;background:var(--surface,#fff);color:var(--starlight,#14273c);box-shadow:0 2rem 6rem #12263c33}
.nvx-day::backdrop{background:#14273c66;backdrop-filter:blur(5px)}
.nvx-day header,.nvx-day footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.3rem;border-bottom:1px solid var(--line,#d7e1ef)}
.nvx-day header h2{font-size:1.45rem;margin:.3rem 0}
.nvx-day p,.nvx-day small{color:var(--orbit,#536b85);line-height:1.6}
.nvx-day header p{font-size:.82rem;margin:.4rem 0 0}
.nvx-day header>button{align-self:flex-start;background:transparent;border:0;font-size:1.5rem;color:inherit;cursor:pointer}
.nvx-day nav{display:flex;gap:.5rem;padding:.9rem 1.3rem}
.nvx-day nav button{flex:1;padding:.8rem;border:1px solid var(--line,#d7e1ef);border-radius:.7rem;background:var(--surface,#fff);color:inherit;cursor:pointer;font-weight:700}
.nvx-day nav button[aria-pressed=true]{background:var(--accent-soft,#edf3ff);color:var(--accent,#2563eb);border-color:var(--accent,#2563eb)}
.nvx-day-list{max-height:45dvh;overflow:auto;padding:.2rem 1.3rem 1.3rem}
.nvx-day-list>a{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;margin:.5rem 0;border:1px solid var(--line,#d7e1ef);border-radius:.8rem;text-decoration:none;color:inherit}
.nvx-day-list b{display:block;margin-top:.3rem;font-size:.9rem}
.nvx-day-list>a>span{font-size:.74rem;color:var(--orbit,#536b85);flex-shrink:0}
.nvx-day footer{border-top:1px solid var(--line,#d7e1ef);border-bottom:0}
.nvx-day footer small{font-size:.7rem;max-width:25rem}
.nvx-day footer button{padding:.8rem 1rem;border:1px solid var(--line-2,#cad8ea);border-radius:.75rem;cursor:pointer;background:var(--surface,#fff);color:var(--accent,#2563eb);font-weight:700}
#nvxDayToasts{position:fixed;right:1rem;bottom:1rem;width:min(22rem,calc(100vw - 2rem));z-index:600;display:grid;gap:.65rem}
#nvxDayToasts article{padding:1rem;background:var(--surface,#fff);color:var(--starlight,#14273c);border:1px solid var(--line-2,#cad8ea);border-left:3px solid var(--accent,#2563eb);border-radius:.85rem;box-shadow:0 .5rem 2rem #14273c1a}
#nvxDayToasts small{display:block;font-size:.7rem;color:var(--orbit,#536b85)}
#nvxDayToasts b{display:block;font-size:.85rem;line-height:1.55;margin:.4rem 0}
#nvxDayToasts article>div{display:flex;gap:.7rem;align-items:center;margin-top:.65rem}
#nvxDayToasts :is(a,button){border:0;background:transparent;color:var(--accent,#2563eb);font-size:.75rem;cursor:pointer;padding:.25rem;text-decoration:none}
#nvxDayToasts button:last-child{margin-left:auto}
@media(max-width:700px){
 html body :is(.pj-modal,.lead-modal,.ceo-panel,.cfo-agent-panel,.mkt-cmo-modal){width:calc(100vw - 1rem)!important;max-height:calc(100dvh - 1rem)!important;height:calc(100dvh - 1rem)!important}
 html body .scope-empty{flex-direction:column;align-items:flex-start!important}
 html body .scope-empty button{width:100%!important}
 .mkt-guide-grid{grid-template-columns:1fr}
 .mkt-channel-guide>header,.mkt-channel-guide>footer,.mkt-legacy article{flex-direction:column}
 .nvx-day-list>a{align-items:flex-start;flex-direction:column;gap:.5rem}
 .nvx-day footer{align-items:stretch;flex-direction:column}
 #nvxDayToasts{bottom:4rem}
}

/* rev492: compact personal agenda and an actually interactive notification header. */
html body #nvxNotificationDock{pointer-events:auto;gap:8px}
html body #nvxNotificationDock[hidden],html body #nvxNotificationDock:not(:has(section:not([hidden]) article)){display:none!important}
html body #nvxNotificationDock .nvx-dock-header{pointer-events:auto;flex-shrink:0}
html body #nvxNotificationDock .nvx-dock-header button{pointer-events:auto;min-height:40px}
html body #nvxNotificationDock .nvx-toast-tools{position:static;background:var(--surface,#fff);margin:0;padding:5px 10px}
html body .nvx-day{width:min(820px,calc(100vw - 32px))!important;max-height:90dvh;overflow:hidden}
.nvx-day header{padding:22px 24px!important}.nvx-day header h2{font-size:24px!important}.nvx-day nav{padding:12px 24px!important}
.nvx-day .nvx-day-list{padding:0 24px!important;max-height:50dvh!important;overscroll-behavior:contain}
.nvx-day .nvx-day-row{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:20px;padding:16px 0;border-bottom:1px solid var(--line,#dce5ef)}
.nvx-day .nvx-day-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px;line-height:1.5}
.nvx-day-context>span{font-size:11px;font-weight:650;color:var(--accent,#3265c4)}
.nvx-day-context small{font-size:10px!important;border-left:1px solid var(--line,#dce5ef);padding-left:8px}
.nvx-day .nvx-day-list .nvx-day-title{display:block;border:0!important;margin:5px 0!important;padding:0!important;color:inherit;font-size:13px;font-weight:650;line-height:1.5;text-decoration:none}
.nvx-day .nvx-day-title:hover{text-decoration:underline}
.nvx-day .nvx-day-owner{font-size:11px!important;line-height:1.6!important;margin:6px 0 0!important}.nvx-day-owner span{color:var(--orbit,#64768c);margin-right:5px}
.nvx-day .nvx-day-when{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px;align-self:center}
.nvx-day .nvx-day-when b{font-size:12px;margin:0}.nvx-day .nvx-day-when small{font-size:10px;line-height:1.5}
.nvx-day .nvx-day-when.is-late small{color:var(--fail,#a74740)}
.nvx-day .nvx-day-list .nvx-day-when a{display:inline-block;margin:5px 0 0!important;padding:0!important;border:0!important;color:var(--accent,#3265c4);font-size:11px;text-decoration:none}
.nvx-day-specs summary{font-size:11px;color:var(--orbit,#64768c);cursor:pointer;line-height:1.6}.nvx-day-specs p{font-size:12px!important;white-space:pre-wrap;margin:8px 0}
.nvx-day footer{padding:16px 24px!important}.nvx-day footer button{padding:10px 14px}
@media(max-width:600px){.nvx-day header{padding:18px!important}.nvx-day header h2{font-size:22px!important}.nvx-day nav{padding:10px 18px!important}.nvx-day .nvx-day-list{padding:0 18px!important}.nvx-day .nvx-day-row{grid-template-columns:1fr;gap:8px;padding:14px 0}.nvx-day .nvx-day-when{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;width:100%;text-align:left}.nvx-day .nvx-day-list .nvx-day-when a{margin:0 0 0 auto!important}.nvx-day footer{padding:14px 18px!important;flex-direction:row;align-items:center}.nvx-day footer small{font-size:10px;max-width:160px}}

body.nvx-notice-blocked #nvxNotificationDock,body.nvx-notice-blocked #cfoAgentBtn{visibility:hidden!important;pointer-events:none!important}

#nvxNotificationDock .nvx-toast-tools{background:var(--card,#fff);border-radius:7px;padding:6px 10px;margin-top:7px;color:var(--muted,#66758b)}

/* rev491 · compact, shared notification stack */
#nvxNotificationDock{right:max(24px,env(safe-area-inset-right));bottom:88px;width:352px;max-width:calc(100vw - 32px);max-height:min(600px,68dvh);padding:0 2px 4px;scrollbar-width:thin}
#nvxNotificationDock:not(:has(article)){display:none}
#nvxNotificationDock .nvx-dock-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card,#fff);padding:14px 16px;border:1px solid var(--border,#dce5ef);border-radius:16px 16px 10px 10px;position:sticky;top:0;z-index:2;box-shadow:0 6px 24px #14243b0c}
#nvxNotificationDock .nvx-dock-header div{display:grid;gap:3px}
#nvxNotificationDock .nvx-dock-header small{font:600 9px/1.4 var(--font-sans,Inter,sans-serif);letter-spacing:.12em;color:var(--muted,#62738b)}
#nvxNotificationDock .nvx-dock-header b{font-size:14px;color:var(--text,#17283c)}
#nvxNotificationDock .nvx-dock-header button{font:600 11px/1.3 var(--font-sans,Inter,sans-serif);border:0;border-radius:8px;padding:9px 10px;background:var(--surface,#f3f6fa);color:var(--accent,#3267d4);cursor:pointer}
#nvxNotificationDock .nvx-toast-tools{background:transparent;border:0;padding:9px 5px 1px;min-height:0;font-size:10px;box-shadow:none}
#nvxNotificationDock .nvx-toast-tools button{display:none}
#nvxNotificationDock section>article{padding:16px 17px!important;margin:7px 0 0!important;border:1px solid var(--border,#dce5ef)!important;border-left:3px solid #6385ba!important;border-radius:12px!important;box-shadow:0 5px 18px #1529430b;background:var(--card,#fff);cursor:grab}
#nvxNotificationDock section>article:active{cursor:grabbing}
#nvxNotificationDock section>article>small{font-size:9px;line-height:1.4;letter-spacing:.05em;color:var(--muted,#64748b)}
#nvxNotificationDock section>article>b{font-size:13px;line-height:1.55;margin:6px 0 8px;display:block;font-weight:650}
#nvxNotificationDock section>article p{font-size:12px;line-height:1.5;margin:3px 0 10px}
#nvxNotificationDock section>article>div{display:flex;align-items:center;gap:6px}
#nvxNotificationDock section>article button,#nvxNotificationDock section>article a{font:600 10px/1.4 var(--font-sans,Inter,sans-serif);border:0;border-radius:7px;box-shadow:none;padding:7px 9px;background:var(--surface,#f3f6fa);color:var(--accent,#3267d4)}
#nvxNotificationDock section>article [data-dismiss]{margin-left:auto;background:transparent;font-size:16px}
@media(max-width:600px){#nvxNotificationDock{right:12px;bottom:max(78px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:48dvh}#nvxNotificationDock .nvx-dock-header{padding:11px 14px}}

.activity-sync-status{font-size:.72rem;color:var(--orbit);margin:.5rem 0 1rem;min-height:1rem}
.nvx-sync-warning{color:var(--fail,#b32b3e)!important;font-size:.75rem}

html body .mkt-cmo-form{display:grid!important;grid-template-columns:1fr;gap:.5rem;align-items:stretch}
html body .mkt-cmo-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:end}
html body .mkt-cmo-message>div{font-size:.9rem!important;line-height:1.7!important}
html body :is(.ceod-t,.cfoa-t,.mkt-cmo-modal h2){font-size:1rem!important;line-height:1.4}
@media(max-width:520px){html body .mkt-cmo-form>div{grid-template-columns:1fr}html body .mkt-cmo-form .lanc-btn{width:100%}}

html body .nvx-day{position:fixed;inset:0;margin:auto!important;height:max-content;box-sizing:border-box}

html body :is(.ceod-nova,.cfoa-new,.mkt-cmo-modal>.m-head .minibtn){min-height:2.6rem;padding:.65rem .9rem!important;font-size:.78rem!important;border:1px solid var(--line-2)!important;border-radius:.7rem!important;background:var(--surface)!important;color:var(--orbit)!important;box-shadow:0 .2rem .6rem #14273c08}
html body :is(.ceod-sug,.cfoa-suggestions,.mkt-cmo-suggestions){display:flex;flex-wrap:wrap;gap:.5rem;padding:.7rem 1.3rem!important}
html body :is(.ceod-sug,.cfoa-suggestions,.mkt-cmo-suggestions)>button{padding:.5rem .7rem!important;border:1px solid var(--line-2)!important;border-radius:2rem!important;background:var(--surface-2)!important;color:var(--orbit)!important;font-size:.74rem!important;font-weight:500!important}

/* rev489 — personal brief and per-channel strategy */
.nvx-day{width:min(860px,94vw)!important;border-radius:18px!important}
.nvx-day header{padding:28px 30px!important}.nvx-day header h2{font-size:26px!important;letter-spacing:-.7px}.nvx-day header small{font-size:10px;letter-spacing:.1em}
.nvx-day nav{gap:8px;padding:18px 30px!important;display:grid!important;grid-template-columns:repeat(4,1fr)}
.nvx-day nav button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px!important;border-radius:10px!important;font-size:12px}.nvx-day nav span{font-variant-numeric:tabular-nums;font-size:16px}
.nvx-day .nvx-day-list{padding:0 30px 24px!important;max-height:52vh!important}.nvx-day .nvx-day-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0!important;border:0!important;border-bottom:1px solid var(--line,#dce5ef)!important;border-radius:0!important}
.nvx-day .nvx-day-list b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:14px;line-height:1.55;margin:5px 0}.nvx-day-list a>span{font-size:12px;flex:0 0 150px;text-align:right}.nvx-day-list small{font-size:11px;color:var(--muted,#60728b)}
.nvx-day footer{padding:20px 30px!important}.nvx-day footer small{max-width:490px;line-height:1.6}
.nvx-toast-tools{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:var(--card,#fff);border:1px solid var(--line,#dce5ef);border-radius:9px;font-size:11px;color:var(--muted,#60728b)}
.nvx-toast-tools button{border:0;background:transparent;color:var(--accent,#2865c4);font-size:11px;cursor:pointer;padding:7px}
#nvxDayToasts article{cursor:grab;user-select:none}#nvxDayToasts article:active,.fin-nudges article:active{cursor:grabbing}
.demand-panel{padding:26px!important;border-radius:14px!important}.demand-panel h2{font-size:26px!important}.demand-panel header{gap:24px!important}.demand-panel header p{max-width:720px}
.demand-funnel{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important}.demand-funnel article{padding:20px!important;border-top:2px solid var(--channel,#477bdd)!important;border-radius:10px!important}.demand-funnel article h3{font-size:15px!important;line-height:1.5}.demand-funnel article p{font-size:12px}.demand-funnel article strong{font-size:26px!important}.demand-funnel article button{margin-top:16px}
.demand-stage-edit{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid var(--line,#dce5ef);border-radius:10px;padding:18px;margin:12px 0}.demand-stage-edit>div{grid-column:1/-1;display:flex;gap:8px}
.mkt-legacy{border:1px solid var(--line,#dce5ef)!important;background:var(--card,#fff)!important;border-radius:12px!important;padding:18px!important}.mkt-legacy summary{font-size:13px!important}.mkt-legacy article{padding:16px 0!important;border-bottom:1px solid var(--line,#dce5ef);gap:18px!important}.mkt-legacy article:last-child{border:0}.mkt-legacy article b{font-size:13px!important}.mkt-legacy article p{font-size:12px!important;margin-top:5px!important}
@media(max-width:600px){.nvx-day header,.nvx-day footer{padding:20px!important}.nvx-day nav{padding:14px 20px!important;grid-template-columns:1fr 1fr}.nvx-day .nvx-day-list{padding:0 20px 20px!important}.nvx-day .nvx-day-list a{align-items:flex-start;flex-direction:column;gap:8px}.nvx-day-list a>span{flex:auto;text-align:left}.demand-stage-edit{grid-template-columns:1fr}.demand-panel{padding:18px!important}.demand-panel header{flex-wrap:wrap}}
/* rev491: one viewport-bound stack, never behind the sidebar. */
html body #nvxNotificationDock{position:fixed;inset:auto max(20px,env(safe-area-inset-right)) max(84px,env(safe-area-inset-bottom)) auto;width:min(350px,calc(100vw - 32px));max-height:min(560px,65dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;z-index:590;display:flex;flex-direction:column;gap:12px;pointer-events:none;padding:4px;box-sizing:border-box;scrollbar-width:thin}
html body #nvxNotificationDock:empty{display:none}
html body #nvxNotificationDock :is(#nvxDayToasts,#finNudges){position:static!important;inset:auto!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important;display:grid;gap:8px;pointer-events:auto;box-sizing:border-box;background:transparent;border:0;box-shadow:none}
html body #nvxNotificationDock :is(section:empty,[hidden]){display:none!important}
html body #nvxNotificationDock article{margin:0;min-width:0;overflow-wrap:anywhere;box-shadow:0 4px 14px #14273c12;line-height:1.5}
html body #nvxNotificationDock .nvx-toast-tools{position:sticky;top:0;z-index:1}
@media(max-width:600px){html body #nvxNotificationDock{right:12px;bottom:max(76px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:48dvh}html body #nvxNotificationDock article{padding:12px}html body #nvxNotificationDock button,html body #nvxNotificationDock a{min-height:36px;display:inline-flex;align-items:center}}
@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
html body:has(dialog[open],.overlay.open,.cfo-agent-overlay.open,.ceo-ovl.open) #nvxNotificationDock{visibility:hidden;pointer-events:none}

/* Entry agenda: compact hierarchy, no competing nested scroll containers. */
html body .nvx-day{width:min(820px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px);padding:0!important}
html body .nvx-day[open]{display:flex;flex-direction:column}
html body .nvx-day header,html body .nvx-day footer,html body .nvx-day nav{flex-shrink:0}
html body .nvx-day header{padding:24px!important}
html body .nvx-day header h2{font-size:25px!important;line-height:1.2}
html body .nvx-day header p{font-size:13px;line-height:1.5;margin-bottom:0}
html body .nvx-day nav{padding:14px 24px!important}
html body .nvx-day .nvx-day-list{min-height:0;max-height:none!important;overflow-y:auto;padding:0 24px 12px!important}
html body .nvx-day .nvx-day-owner{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;background:var(--accent-soft,#edf3ff);color:var(--ink,#1b2c44);border-radius:6px;font-weight:600}
html body .nvx-day .nvx-day-owner span{font-weight:400;font-size:10px}
html body .nvx-day footer{padding:16px 24px!important}
html body .nvx-day .nvx-day-title{padding:0!important;border:0!important}
html body .nvx-day-when b{font-variant-numeric:tabular-nums;font-size:12px!important}
@media(max-width:600px){html body .nvx-day header,html body .nvx-day footer{padding:18px!important}html body .nvx-day nav{padding:10px 18px!important;gap:6px}html body .nvx-day nav button{padding:10px!important}html body .nvx-day .nvx-day-list{padding:0 18px 10px!important}html body .nvx-day .nvx-day-when a{margin-left:auto!important}html body .nvx-day footer small{max-width:50%}}
@media(prefers-reduced-motion:reduce){html body .nvx-day,html body #nvxNotificationDock *{animation:none!important;transition:none!important}}

html body .nvx-day header [data-day-close]{width:40px;height:40px;min-width:40px;display:grid;place-items:center;padding:0!important;border-radius:10px;line-height:1}

/* rev505 · Uma fila por período. Superfícies, tipografia e ações do Hub. */
html body #nvxDay{width:min(800px,calc(100vw - 32px))!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface)!important;color:var(--starlight);font-family:var(--ff-b);box-shadow:0 24px 80px #102a4326}
html body #nvxDay>header{padding:28px!important;border-bottom:0;background:transparent}
html body #nvxDay>header h2{font:600 25px/1.25 var(--ff-b)!important;letter-spacing:-.5px;margin:10px 0}
html body #nvxDay>header small{font-family:inherit;letter-spacing:.12em;font-size:10px;font-weight:650}
html body #nvxDay>header p{font-size:13px!important;line-height:1.6;margin:0;color:var(--orbit,#637894)}
html body #nvxDay>header button:hover{background:var(--surface-2,#f4f7fb)}
html body #nvxDay>nav{padding:5px!important;margin:0 28px 14px;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line,#e2e9f2);border-radius:12px;background:var(--surface-2,#f4f7fb)}
html body #nvxDay>nav button{padding:10px 12px!important;border:1px solid transparent;background:transparent;color:var(--orbit,#637894);font:600 12px/1.4 var(--ff-b);border-radius:8px!important;min-width:0;min-height:44px}
html body #nvxDay>nav button[aria-pressed=true]{background:var(--surface,#fff);border-color:var(--line,#dce7f5);color:var(--accent,#3974d1);box-shadow:0 2px 5px #102a4307}
html body #nvxDay>nav button span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 4px;border-radius:7px;background:color-mix(in srgb,var(--accent,#3974d1) 9%,var(--surface,#fff));color:var(--accent,#3974d1);font-family:inherit;font-size:11px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}
html body #nvxDay .nvx-day-order{flex-shrink:0;padding:0 28px 18px;color:var(--orbit,#637894);font-size:12px;line-height:1.5}
html body #nvxDay .nvx-day-list{display:block;padding:0 28px 20px!important;scrollbar-gutter:stable;max-height:55dvh!important}
html body #nvxDay .nvx-day-row{display:grid;grid-template-columns:24px minmax(0,1fr) 120px;gap:14px;margin:0 0 10px;padding:18px;border:1px solid var(--line,#e1e8f2);border-radius:12px;background:var(--surface-2,#f7f9fc)}
html body #nvxDay .nvx-day-row.is-first{background:var(--surface-2,#f7f9fc);border:1px solid var(--line,#e1e8f2);border-radius:12px;margin:0 0 10px}
html body #nvxDay .nvx-day-row:last-child{margin-bottom:0}
html body #nvxDay .nvx-day-position{display:grid;place-items:center;width:24px;height:24px;margin-top:1px;border-radius:8px;background:var(--surface-2,#f3f6fa);color:var(--orbit,#637894);font-size:11px;font-weight:650}
html body #nvxDay .is-first .nvx-day-position{color:var(--accent,#3974d1);background:var(--accent-soft)}
html body #nvxDay .nvx-day-context{gap:6px;font-size:11px}
html body #nvxDay .nvx-day-context>span{font-size:12px;line-height:1.45;color:var(--orbit,#637894)}
html body #nvxDay .nvx-day-context small{font-size:11px!important;white-space:normal;overflow:visible;padding-left:6px}
html body #nvxDay .nvx-day-context .nvx-day-urgent{font-size:9px;font-weight:650;color:var(--fail,#a74740);border-radius:4px;padding:2px 5px;background:color-mix(in srgb,var(--fail,#a74740) 8%,transparent);line-height:1.4}
html body #nvxDay .nvx-day-list a.nvx-day-title{display:block;padding:0!important;border:0!important;font:600 14px/1.5 var(--ff-b);margin:6px 0 8px!important;letter-spacing:-.15px;overflow-wrap:anywhere}
html body #nvxDay .nvx-day-owner{display:flex;gap:6px;padding:0;background:none;margin:7px 0 0!important}
html body #nvxDay .nvx-day-owner .nvx-day-avatar{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border:1px solid var(--line,#dce6f3);background:var(--accent-soft);border-radius:50%;color:var(--accent,#3974d1);font-size:9px;font-weight:650;margin:0}
html body #nvxDay .nvx-day-owner .nvx-day-owner-name{font-size:12px;font-weight:500;color:var(--orbit,#637894);margin:0}
html body #nvxDay .nvx-day-when{gap:3px;align-self:center}
html body #nvxDay .nvx-day-when b{font-size:12px!important;white-space:normal;line-height:1.45}
html body #nvxDay .nvx-day-when small{font-size:11px!important;white-space:normal}
html body #nvxDay .nvx-day-when.is-late small{color:var(--fail,#a74740);background:color-mix(in srgb,var(--fail,#a74740) 7%,transparent);border-radius:5px;padding:3px 6px}
html body #nvxDay .nvx-day-list .nvx-day-when a{display:inline-flex!important;flex-direction:row;align-items:center;gap:8px;justify-content:center;padding:8px 14px!important;min-height:40px;box-sizing:border-box;margin-top:8px!important;border:1px solid var(--line,#dce6f3)!important;border-radius:8px!important;background:var(--surface,#fff);font-size:12px;font-weight:600}
html body #nvxDay .nvx-day-when a span{flex:none;font-size:13px;text-align:inherit}
html body #nvxDay .nvx-day-specs summary{font-size:12px;line-height:1.6;color:var(--orbit,#637894)}
html body #nvxDay .nvx-day-specs p{font-size:12px!important;line-height:1.65;overflow-wrap:anywhere}
html body #nvxDay .nvx-day-empty{padding:28px 18px;text-align:center}
html body #nvxDay .nvx-day-empty b{font-size:15px!important;margin:0}
html body #nvxDay .nvx-day-empty p{font-size:12px;margin:8px 0}
html body #nvxDay>footer{padding:18px 28px!important;background:var(--surface,#fff);border-top:1px solid var(--line)}
html body #nvxDay>footer small{font-size:11px;line-height:1.5}
html body #nvxDay>footer button{font:600 12px/1.4 var(--ff-b);border-radius:8px;padding:10px 14px;min-height:40px;white-space:nowrap;background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
html body #nvxDay :is(a,button,summary):focus-visible{outline:2px solid var(--accent,#3974d1);outline-offset:3px}
@media(max-width:600px){
 html body #nvxDay>header{padding:20px 18px 16px!important}
 html body #nvxDay>header h2{font-size:23px!important}
 html body #nvxDay>nav{padding:4px!important;margin:0 18px 12px;grid-template-columns:repeat(3,minmax(0,1fr))}
 html body #nvxDay>nav button{padding:9px 6px!important;gap:4px;font-size:11px}
 html body #nvxDay>nav button span{min-width:18px;height:20px;padding:0 3px;font-size:10px}
 html body #nvxDay .nvx-day-order{padding:0 18px 12px;font-size:11px}
 html body #nvxDay .nvx-day-list{padding:0 18px 8px!important}
 html body #nvxDay .nvx-day-row{grid-template-columns:22px minmax(0,1fr);gap:8px;padding:14px}
 html body #nvxDay .nvx-day-when{grid-column:2;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:7px;text-align:left}
 html body #nvxDay .nvx-day-list .nvx-day-when a{margin:0 0 0 auto!important;min-height:44px}
 html body #nvxDay>footer{padding:12px 18px!important;gap:10px}
 html body #nvxDay>footer small{max-width:45%;font-size:11px}
 html body #nvxDay>footer button{min-height:44px;white-space:normal}
}
@keyframes navexNoticeEnter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
#nvxDayToasts article,#finNudges article{animation:navexNoticeEnter .24s ease-out both}
@media(prefers-reduced-motion:reduce){#nvxDayToasts article,#finNudges article{animation:none}}

/* rev517 · Agenda com cabeçalho estável e rolagem apenas na lista. */
html body #nvxDay[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
html body #nvxDay>:is(header,nav,footer,.nvx-day-order){flex-shrink:0}
html body #nvxDay .nvx-day-list{flex:1;min-height:0;max-height:none!important;overflow:auto}
html body #nvxDay .nvx-day-row{background:var(--surface,#fff);border-radius:14px}
html body #nvxDay .nvx-day-row.is-overdue{border-left:3px solid var(--fail,#a74740)}
html body #nvxDay>header h2{font-size:26px!important}
html body #nvxDayToasts article{padding:18px;border-radius:14px;background:var(--surface,#fff);border:1px solid var(--line,#dce5ef);box-shadow:0 8px 28px #102a4314}
html body #nvxDayToasts article b{font:600 14px/1.5 var(--ff-b, sans-serif);overflow-wrap:anywhere;margin:8px 0}
html body #nvxDayToasts .nvx-toast-context{font-size:12px;line-height:1.5;color:var(--orbit,#637894);margin:0;overflow-wrap:anywhere}
html body #nvxDayToasts article>div{gap:8px;flex-wrap:wrap;padding-top:12px;margin-top:12px;border-top:1px solid var(--line,#dce5ef)}
html body #nvxDayToasts article :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border-radius:8px;font:600 12px/1.3 var(--ff-b,sans-serif)}
html body #nvxDayToasts article a{background:var(--accent,#3265c4);color:#fff}
html body #nvxDayToasts article button:hover{background:var(--surface-2,#f4f7fb)}
html body #nvxDayToasts :is(a,button):focus-visible{outline:2px solid var(--accent,#3265c4);outline-offset:3px}
@media(max-width:600px){html body #nvxDay>footer{flex-direction:row;align-items:center}html body #nvxDayToasts article{padding:14px}}
html body #nvxNotificationDock .nvx-dock-header{background:var(--surface,#fff)!important;color:var(--starlight,#14273c)!important;border:1px solid var(--line,#dce5ef);border-radius:14px;padding:12px 14px}
html body #nvxNotificationDock .nvx-dock-header :is(b,small){color:inherit!important}
html body #nvxDayToasts article>small{font:500 11px/1.5 var(--ff-b,sans-serif);letter-spacing:0;color:var(--orbit,#637894)}

/* rev518: notification cards follow the actual theme tokens in every module. */
html body #nvxNotificationDock section>article{background:var(--surface,#0c1929)!important;color:var(--starlight,#e8f0fa)!important;border-color:var(--line,#294057)!important;border-left-color:var(--accent,#4295ff)!important}
html body #nvxNotificationDock section>article>small{color:var(--orbit,#9eafc5)!important}
html body #nvxNotificationDock section>article p{color:var(--nebula,#c3d1e2)!important}
html body #nvxNotificationDock section>article :is(button,a){background:var(--surface-2,#142338);color:var(--accent,#4295ff);min-height:2.75rem;min-width:2.75rem;align-items:center;justify-content:center;display:inline-flex}
html body #nvxNotificationDock section>article [data-dismiss]{background:transparent}
