/* Shared visual foundation for customer, provider, NovaNexus, AI and Admin pages. */
body[data-sn-presentation="v1"]{
 --sn-bg:#f5f7fb!important;--sn-surface:#fff!important;--sn-surface2:#eef2f7!important;--sn-surface-2:#eef2f7!important;
 --sn-elevated:#fff!important;--sn-text:#17212f!important;--sn-muted:#52647a!important;--sn-text-muted:#52647a!important;--sn-text-dim:#63758a!important;
 --sn-border:#dce3ed!important;--sn-line:#dce3ed!important;--sn-line-strong:#bdcbdc!important;
 --sn-accent:#272b33!important;--sn-brand:#272b33!important;--sn-brand-soft:#eef0f3!important;--sn-brand-border:#bbc2cc!important;--sn-brand-text:#39414e!important;
 --sn-btn-bg:#272b33!important;--sn-btn-text:#fff!important;--sn-danger:#c52d42!important;--sn-danger-text:#fff!important;
 --sn-success:#176b4f!important;--sn-warning:#8c5b08!important;--sn-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 background:var(--sn-bg)!important;color:var(--sn-text)!important;font-family:var(--sn-font)!important;font-size:15px;line-height:1.55;
 margin:0;min-height:100vh;-webkit-text-size-adjust:100%;
}
body[data-sn-presentation] *,body[data-sn-presentation] *::before,body[data-sn-presentation] *::after{box-sizing:border-box}
body[data-sn-presentation] :is(main,.sn-main,.sn158-shell,.sec-shell,.em-wrap,.sn-sec-page){min-width:0;max-width:1200px;margin-inline:auto}
body[data-sn-presentation] :is(main,.sn-main){padding-inline:clamp(16px,3vw,32px);padding-bottom:max(48px,env(safe-area-inset-bottom))}
body[data-sn-presentation] :is(h1,h2,h3,h4){color:var(--sn-text);line-height:1.25;text-wrap:balance;overflow-wrap:anywhere}
body[data-sn-presentation] h1{font-size:clamp(26px,3.5vw,36px);letter-spacing:-.035em}
body[data-sn-presentation] :is(p,label,legend){overflow-wrap:anywhere}
body[data-sn-presentation] :is(.sn-card,.sn158-panel,.sec-card,.em-card,.panel,.card){background:var(--sn-surface)!important;color:var(--sn-text)!important;border-color:var(--sn-border)!important;border-radius:18px;min-width:0}
body[data-sn-presentation] :is(.sn-card,.sn158-panel,.sec-card,.em-card,.panel,.card) :is(p,label,legend,h1,h2,h3,h4){color:var(--sn-text)}
body[data-sn-presentation] :is(.muted,.sn-card-muted,.em-muted,.sn158-panel p,.sn158-quick p,.sn158-label,.sn158-eyebrow){color:var(--sn-muted)!important}
body[data-sn-presentation] :is(.sn158-quick,.sn158-stat){background:var(--sn-surface)!important;border-color:var(--sn-border)!important;color:var(--sn-text)!important}
body[data-sn-presentation] :is(.sn158-quick p,.sn158-panel p,.sec-card p,.em-card p){font-size:14px;line-height:1.6}
body[data-sn-presentation] :is(.sn158-eyebrow,.sn158-label,.sec-kicker,.em-kicker){font-size:11px;letter-spacing:.07em}
body[data-sn-presentation] :is(input,select,textarea,button){font:inherit}
body[data-sn-presentation] :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){max-width:100%;min-width:0;min-height:44px;background:var(--sn-surface)!important;color:var(--sn-text)!important;border:1px solid var(--sn-line-strong)!important;border-radius:10px;padding:10px 12px;font-size:16px;line-height:1.4}
body[data-sn-presentation] :is(input,textarea)::placeholder{color:#65758a!important;opacity:1}
body[data-sn-presentation] :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--sn-accent);width:18px;height:18px;flex-shrink:0}
body[data-sn-presentation] :is(button,.sn-btn,.btn,.sec-action,.em-btn,.sn158-primary-btn,.sn158-quiet-btn){min-height:44px;line-height:1.35;white-space:normal;text-align:center;touch-action:manipulation}
body[data-sn-presentation] :is(.sn-btn-primary,.btn.primary,.sn158-primary-btn){background:#272b33!important;border-color:#272b33!important;color:#fff!important}
body[data-sn-presentation] :is(.sn-btn-secondary,.sn-btn-ghost,.sec-action,.em-btn,.sn158-quiet-btn){background:var(--sn-surface)!important;color:var(--sn-text)!important;border-color:var(--sn-border)!important}
body[data-sn-presentation] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #272b33!important;outline-offset:3px;box-shadow:none!important}
body[data-sn-presentation] :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.55}
body[data-sn-presentation] :is(img,video,canvas,svg){max-width:100%}
body[data-sn-presentation] .sn-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--sn-border);border-radius:12px}
body[data-sn-presentation] table{border-collapse:collapse}
body[data-sn-presentation] :is(th,td){padding:12px 14px;text-align:start;border-bottom:1px solid var(--sn-border);vertical-align:top}
body[data-sn-presentation] th{background:var(--sn-surface2);color:var(--sn-text);font-size:12px;letter-spacing:.02em}
body[data-sn-presentation] .sn-skip-content{position:fixed;left:16px;top:-100px;z-index:2147483647;padding:12px 18px;background:#272b33;color:white;border-radius:10px}
body[data-sn-presentation] .sn-skip-content:focus{top:12px}
body[data-sn-page="auth"]{display:grid!important;place-items:center;padding:28px 16px!important;max-width:none!important}
body[data-sn-page="auth"]>.card{width:min(100%,460px)!important;max-width:460px!important;margin:0!important;padding:clamp(24px,5vw,36px)!important;border:1px solid var(--sn-border)!important;box-shadow:0 16px 48px rgba(23,33,47,.07)!important}
body[data-sn-page="auth"] h1{text-align:left!important;font-size:30px!important;margin:0 0 24px!important}
body[data-sn-page="auth"] .form-group{margin:0 0 18px!important}
body[data-sn-page="auth"] label{display:block!important;font-size:14px!important;font-weight:650!important;margin-bottom:7px!important;color:var(--sn-text)!important}
body[data-sn-page="auth"] form :is(input[type="text"],input[type="password"],input[type="email"]){width:100%!important}
body[data-sn-page="auth"] form button[type="submit"]{width:100%;background:#272b33!important;color:#fff!important;border:1px solid #272b33!important;border-radius:10px!important;box-shadow:none!important}
body[data-sn-page="auth"] #SN_CLEAN_R4_LOGIN_FOOTER{display:flex!important;flex-wrap:wrap!important;gap:10px 16px!important;justify-content:center!important;align-items:center!important;margin-top:22px!important;font-size:13px!important}
body[data-sn-page="auth"] #SN_CLEAN_R4_LOGIN_FOOTER a{background:transparent!important;color:#39414e!important;border:0!important;padding:4px!important}
@media(max-width:760px){
 body[data-sn-presentation] :is(.sn158-layout,.sec-grid,.em-grid,.layout){grid-template-columns:minmax(0,1fr)!important}
 body[data-sn-presentation] :is(.sn158-quick-grid,.sn158-status-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-sn-presentation] :is(header,.sn-header,.top){flex-wrap:wrap;gap:10px}
 body[data-sn-presentation] :is(.actions,.top-right){flex-wrap:wrap;gap:8px}
 body[data-sn-presentation] :is(.sidebar,.admin-sidebar){max-width:100%}
}
@media(max-width:420px){body[data-sn-presentation] :is(.sn158-quick-grid,.sn158-status-grid){grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body[data-sn-presentation] *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Authentication is one readable column; empty historical footer shells have no layout role. */
body[data-sn-page="auth"]{display:block!important;padding:24px 16px!important}
body[data-sn-page="auth"]>.card{width:100%!important;max-width:460px!important;margin:clamp(24px,8vh,80px) auto!important}
body[data-sn-page="auth"]>footer:empty{display:none!important}
body[data-sn-presentation] #SN_V54_MEMBERSHIP_CARD [style*="font-size:9px"]{font-size:12px!important;color:#52647a!important}
body[data-sn-presentation] #SN_V54_MEMBERSHIP_CARD span{color:#39414e!important;background:#eef0f3!important;font-size:12px!important}
/* The base-app header template and its stylesheet now use the same structure. */
body[data-sn-presentation] header.sn-header{display:block!important;height:auto!important;min-height:64px;padding:0!important;background:#17212f!important;color:#fff!important;position:sticky;top:0;z-index:1000}
body[data-sn-presentation] .sn-header-inner{display:flex;align-items:center;gap:20px;max-width:1240px;width:100%;margin:auto;padding:12px 24px;min-width:0}
body[data-sn-presentation] .sn-header-left{display:flex;align-items:center;gap:20px;min-width:0;flex-wrap:wrap}
body[data-sn-presentation] .sn-logo{font-weight:800;font-size:18px;white-space:nowrap;text-decoration:none;color:#fff!important}
body[data-sn-presentation] .sn-nav-primary{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body[data-sn-presentation] .sn-nav-primary a{color:#e8edf5!important;text-decoration:none;font-size:14px;padding-block:8px}
body[data-sn-presentation] .sn-header-search{display:flex;align-items:center;gap:8px;flex:1;min-width:160px;max-width:380px;margin-inline:auto}
body[data-sn-presentation] .sn-header-search input{width:100%;flex:1;min-width:0}
body[data-sn-presentation] .sn-header-right{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
body[data-sn-presentation] .sn-icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#fff;text-decoration:none}
body[data-sn-presentation] .sn-header-right .sn-account-btn{background:#243247!important;color:#fff!important;border-color:#52647a!important;max-width:220px}
body[data-sn-presentation] .sn-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#34475f;color:#fff}
body[data-sn-presentation] .sn-account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-sn-presentation] .sn-account-menu:not([hidden]){display:block!important}
body[data-sn-presentation] .sn-account-menu[hidden]{display:none!important}
body[data-sn-presentation] .sn-account-menu a{color:var(--sn-text)!important;min-height:44px}
body[data-sn-presentation] .sn-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){body[data-sn-presentation] .sn-header-search{display:none!important}.sn-header-inner{gap:12px!important}}
@media(max-width:560px){body[data-sn-presentation] .sn-header-inner{padding:12px 16px;align-items:flex-start}.sn-header-left{gap:6px!important}.sn-nav-primary{gap:10px!important}.sn-account-name{display:none}.sn-header-right{gap:2px!important}.sn-header-right .sn-icon-btn{min-width:36px}.sn-header-left .sn-logo{width:100%}}

/* Shared neutral actions; scope does not alter hidden panels or permissions. */
body[data-sn-presentation] :is(button,.sn-btn,.btn,[role="button"],.sn-clean-r3-action,.sn193-action){background:#272b33!important;background-image:none!important;color:#fff!important;border-color:#414854!important;box-shadow:none!important}
body[data-sn-presentation] :is(button,.sn-btn,.btn,[role="button"]) :is(span,strong,i){color:inherit!important}
body[data-sn-presentation] :is(.sn-btn-secondary,.sn-btn-ghost,.sn158-quiet-btn){background:#fff!important;color:#272b33!important;border-color:#bbc2cc!important}
body[data-sn-presentation] #SN_CLEAN_R3_ACTION_ROW a{background:#272b33!important;background-image:none!important;color:#fff!important;border:1px solid #414854!important;box-shadow:none!important;min-width:0;white-space:normal!important;height:auto!important;min-height:52px}
body[data-sn-presentation] #SN_CLEAN_R3_ACTION_ROW .sn-clean-label{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;line-height:1.4}
body[data-sn-presentation] #SN_V54_MEMBERSHIP_CARD a{background:#272b33!important;color:#fff!important;border:1px solid #414854!important;font-size:13px!important}
body[data-sn-presentation] :is(#snNovaOneBtn,#sn290QuickFab){background:#272b33!important;color:#fff!important;border-color:#414854!important}
body[data-sn-presentation] .sn-footer{background:#fff!important;color:#39414e!important}
body[data-sn-presentation] .sn-footer :is(h3,a,span){color:#39414e!important}
body[data-sn-presentation] .sn-footer a{display:block!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:6px 0!important;line-height:1.5!important}
body[data-sn-presentation] .sn-footer a:hover{text-decoration:underline!important}
/* Actual distress controls retain their explicit emergency meaning. */
body[data-sn-presentation] :is(button,.sn-btn,.btn)[data-emergency-action="panic"],body[data-sn-presentation] :is(#panic-button,#panicBtn,.panic-button){background:#b42337!important;color:#fff!important;border-color:#b42337!important}

/* Legacy and current account menus share one readable surface and scroll area. */
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]){background:#fff!important;color:#272b33!important;border:1px solid #c5cbd3!important;box-shadow:0 12px 32px #17212f24!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;overscroll-behavior:contain;max-width:calc(100vw - 24px)!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]) :is(a,button,span,strong,.sn57-menu-title){color:#272b33!important;-webkit-text-fill-color:#272b33!important;background:transparent!important;opacity:1!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]) a{display:block!important;min-height:44px;padding:11px 14px!important;white-space:normal!important;line-height:1.45!important;text-decoration:none}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]) :is(a,button):is(:hover,:focus-visible){background:#eef0f3!important;color:#17212f!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu) :is(.sn57-menu-title,.sn-pw-title){color:#52647a!important;-webkit-text-fill-color:#52647a!important;font-size:12px!important}
body[data-sn-presentation]:has(header.sn-uh) header.sn-header{display:none!important}

/* Menu items must not inherit typography from the feature that injected them. */
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]) :is(a,button,[role="menuitem"]){font-family:var(--sn-font)!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;font-style:normal!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]) :is(a,button,[role="menuitem"]) :is(span,strong,b,i){font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu) :is(.sn57-menu-title,.sn-pw-title){font-family:var(--sn-font)!important;font-size:11px!important;font-weight:700!important;line-height:1.5!important;letter-spacing:.08em!important;text-transform:uppercase!important}

/* Monitor Me is the setup-card reference for web workflows too. */
body[data-sn-workflow="setup"] :is(.ssr-card,.sr-card,.sn-card,.card,fieldset,.sn-fund-card){background:#fff!important;background-image:none!important;border:1px solid #dfe6ef!important;border-radius:22px!important;padding:clamp(18px,3vw,28px)!important;box-shadow:0 6px 24px #17212f05!important;color:#253347!important;margin-block:16px}
body[data-sn-workflow="setup"] :is(.ssr-kicker,.ssr-eyebrow,.label,.kicker,.sub,.safe,.method small,.pill,.back){color:#53657a!important}
body[data-sn-workflow="setup"] :is(.ssr-card,.sr-card,.card,fieldset) :is(h2,h3,legend){color:#253347!important;font-size:20px!important;font-weight:750!important;line-height:1.35}
body[data-sn-workflow="setup"] :is(label,.ssr-label){font-size:13px!important;line-height:1.5!important;color:#39414e!important}
body[data-sn-workflow="setup"] :is(.method,.ssr-choice,.ssr-requirement){background:#f7f9fc!important;color:#253347!important;border:1px solid #dfe6ef!important;border-radius:15px!important;padding:14px!important;opacity:1!important}
body[data-sn-workflow="setup"] .disabled-method{opacity:.65!important}
body[data-sn-workflow="setup"] :is(.method:has(input:checked),.ssr-choice:has(input:checked)){border-color:#596474!important;background:#eef0f3!important}
body[data-sn-workflow="setup"] .sn-funding-error{color:#9b2335;background:#fff3f4;border:1px solid #e5a7b0;border-radius:14px;padding:14px 18px}
body[data-sn-admin="true"] :is(.admin-card,.sn-admin-card,.sn-admin-panel,.panel,.card,.sn-card){background:#fff!important;color:#253347!important;border-color:#dfe6ef!important;border-radius:18px!important;min-width:0}
body[data-sn-admin="true"] :is(.admin-card,.sn-admin-card,.sn-admin-panel,.panel,.card,.sn-card) :is(p,label,small,h2,h3,h4,.muted){color:#52647a!important;opacity:1!important}
body[data-sn-admin="true"] :is(td,th){color:#253347!important;background:#fff!important;overflow-wrap:anywhere}
body[data-sn-admin="true"] :is(.actions,.sn-actions,.toolbar){display:flex;gap:10px;flex-wrap:wrap}

/* Communications uses the same readable surfaces as the rest of NovaNexus. */
body[data-sn-presentation] :is(.sn290-shell,.sn290-list-pane,.sn290-chat-pane,.sn290-list-head,.sn290-chat-head,.sn290-settings){background:#fff!important;background-image:none!important;color:#253347!important;border-color:#dfe6ef!important}
body[data-sn-presentation] .sn290-stage{background:#f7f9fc!important;color:#253347!important}
body[data-sn-presentation] :is(.sn290-empty,.sn290-title-row) :is(h1,h2,h3,p){color:#253347!important}
body[data-sn-presentation] :is(.sn290-sub,.sn290-status,.sn290-settings,.sn290-empty p){color:#53657a!important;opacity:1!important}
body[data-sn-presentation] .sn290-tabs a{background:#eef0f3!important;color:#39414e!important;border-color:#dfe6ef!important}
body[data-sn-presentation] :is(.sn290-compose,.sn290-empty a,.sn290-tabs a.active){background:#272b33!important;color:#fff!important}
body[data-sn-presentation] .sn290-empty-icon{background:#eef0f3!important;border-color:#dfe6ef!important}
/* Admin uses dedicated navigation; operational cards stay on light surfaces. */
body[data-sn-admin="true"] :is(.kpi,.launch,.quick a){background:#fff!important;background-image:none!important;color:#253347!important;border:1px solid #dfe6ef!important;box-shadow:none!important;border-radius:16px!important}
body[data-sn-admin="true"] :is(.kpi,.launch,.quick a) :is(.label,.value,strong,small,span,a){color:#39414e!important;opacity:1!important;-webkit-text-fill-color:#39414e!important}
body[data-sn-admin="true"] .kpi .value{color:#17212f!important;font-size:30px!important}
body[data-sn-admin="true"] .launch{display:flex!important;flex-wrap:wrap;align-content:center;gap:8px!important;padding:18px!important;min-height:110px!important}
body[data-sn-admin="true"] .launch small{display:block!important;flex-basis:100%!important;font-size:13px!important;line-height:1.5!important}
body[data-sn-admin="true"] #adminSideNav :is(h1,h2,h3,.title){color:#fff!important}
body[data-sn-admin="true"] #SN205_ADMIN_HEADER :is(button,summary,[role="button"]){background:#272b33!important;color:#fff!important;border-color:#596474!important}
body[data-sn-admin="true"] #SN205_ADMIN_HEADER :is(button,summary,[role="button"]) *{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}

body[data-sn-workflow="setup"] .sn-setup-form{display:grid;gap:18px}
body[data-sn-workflow="setup"] .sn-setup-card{background:#fff!important;border:1px solid #dfe6ef!important;border-radius:22px;padding:clamp(18px,3vw,28px);color:#253347}
body[data-sn-workflow="setup"] .sn-setup-card h2{font-size:21px;margin:7px 0 18px;line-height:1.35}
body[data-sn-workflow="setup"] .sn-setup-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:#53657a}
body[data-sn-workflow="setup"] .sn-setup-card .notice{background:#f7f9fc!important;color:#39414e!important;border-color:#dfe6ef!important;font-size:14px;line-height:1.6}

/* Safety disclaimers must use a complete light palette, including nested copy. */
body[data-sn-presentation] .v21e-card{background:#fff!important;color:#17212f!important;border-color:#dce3ed!important}
body[data-sn-presentation] .v21e-card :is(h1,h2,p,li,label,span,strong){color:#17212f!important;-webkit-text-fill-color:#17212f!important;opacity:1!important}
body[data-sn-presentation] .v21e-card :is(.v21e-intro,.v21e-list li){line-height:1.65!important}
body[data-sn-presentation] .v21e-consent{background:#f5f7fa!important;border-color:#bdcbdc!important;color:#17212f!important}
body[data-sn-presentation] .v21e-119{background:#fff1f2!important;border-color:#be263d!important;color:#76192b!important}
body[data-sn-presentation] .v21e-119 strong{color:#76192b!important;-webkit-text-fill-color:#76192b!important}
body[data-sn-presentation] .v21e-error{background:#fff1f2!important;color:#8d2033!important;border-color:#dc8895!important}
body[data-sn-presentation] .v21e-accepted{background:#edf8f2!important;color:#175b40!important;border-color:#9ecbb5!important}
body[data-sn-presentation] .v21e-version{color:#52647a!important;font-size:12px!important}
body[data-sn-presentation] :is(.v21e-back,.v21e-accept){background:#272b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#272b33!important;min-height:44px}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu) .sn-uh-out{border-top:1px solid #dce3ed!important;margin-top:8px!important;padding-top:14px!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu) .sn-uh-drop-user{color:#272b33!important;-webkit-text-fill-color:#272b33!important;font-family:var(--sn-font)!important;font-size:14px!important;font-weight:700!important;opacity:1!important}
body[data-sn-presentation] :is(.sn-uh-drop,.sn-account-menu,[role="menu"]){max-height:min(70dvh,calc(100dvh - 160px))!important;overflow-y:auto!important;overscroll-behavior:contain}

/* Compact phone navigation; desktop destinations keep their existing routes. */
body[data-sn-presentation] header.sn-uh{background:#fff!important;color:#17212f!important;border-bottom:1px solid #dce3ed!important}
body[data-sn-presentation] header.sn-uh :is(.sn-uh-inner,.sn-v35-mobile-toprow,.sn-uh-account){background:transparent!important;color:#17212f!important}
body[data-sn-presentation] header.sn-uh :is(.sn-uh-brand,.sn-uh-nav a,.sn-uh-icon,.sn-uh-avatar-initials,.sn-uh-chevron){color:#17212f!important;-webkit-text-fill-color:#17212f!important}
body[data-sn-presentation] header.sn-uh :is(.sn-uh-avatar-btn,.sn-uh-icon){background:#f4f6f8!important;border-color:#dce3ed!important}
body[data-sn-presentation] header.sn-uh .sn-uh-brand{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
body[data-sn-presentation] header.sn-uh .sn-r32j2-brand-logo{width:28px!important;height:28px!important;object-fit:contain!important;flex:0 0 28px!important}
body[data-sn-presentation] header.sn-uh .sn-mobile-navigation{display:none!important}
@media(max-width:767px){
 body[data-sn-presentation] header.sn-uh{position:relative!important;z-index:1000!important;padding:0!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-inner{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0!important;width:100%!important;max-width:100%!important;min-height:64px!important;padding:8px 12px!important}
 body[data-sn-presentation] header.sn-uh .sn-v35-mobile-toprow{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-brand{flex:1 1 auto!important;width:auto!important;font-size:16px!important;white-space:nowrap!important;line-height:1.2!important}
 body[data-sn-presentation] header.sn-uh .sn-v35-active-holder{display:none!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-account{display:flex!important;gap:4px!important;align-items:center!important;flex:0 0 auto!important;position:static!important;margin:0!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-account>a:not([aria-label="Notifications"]){display:none!important}
 body[data-sn-presentation] header.sn-uh :is(.sn-uh-icon,.sn-uh-avatar-btn){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:6px!important;justify-content:center!important;align-items:center!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-menu{position:static!important}
 body[data-sn-presentation] header.sn-uh .sn-uh-drop{position:absolute!important;top:calc(100% + 4px)!important;right:12px!important;left:auto!important;width:min(320px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(70dvh,calc(100dvh - 100px))!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation{display:block!important;flex:0 0 auto!important;position:static!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation>summary{list-style:none!important;width:48px!important;min-height:44px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;color:#272b33!important;background:#f4f6f8!important;border:1px solid #dce3ed!important;border-radius:12px!important;cursor:pointer}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation>summary::-webkit-details-marker{display:none}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation>summary span{font-size:10px!important;font-weight:600!important;line-height:1.1!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel{position:absolute!important;top:calc(100% + 4px)!important;left:12px!important;right:12px!important;max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;overscroll-behavior:contain;background:#fff!important;border:1px solid #c5cbd3!important;border-radius:16px!important;padding:12px!important;box-shadow:0 12px 32px #17212f24!important}
 body[data-sn-presentation] header.sn-uh>.sn-uh-inner>.sn-uh-nav,body[data-sn-presentation] header.sn-uh>.sn-uh-inner>.sn-uh-search{display:none!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel .sn-uh-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;padding:0!important;margin:0!important;width:100%!important;order:2!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel .sn-uh-nav a{display:flex!important;align-items:center!important;min-height:44px!important;padding:10px 12px!important;border-radius:10px!important;white-space:normal!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel .sn-uh-search{display:flex!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:0!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel .sn-uh-search input{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-navigation-panel .sn-uh-search button{flex:0 0 auto!important;background:#272b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
 body[data-sn-presentation] header.sn-uh .sn-mobile-shortcuts{display:flex;flex-direction:column;border-top:1px solid #dce3ed;margin-top:10px;padding-top:10px}
 body[data-sn-presentation] header.sn-uh .sn-mobile-shortcuts a{min-height:44px;display:flex;align-items:center;padding:10px 12px;color:#17212f!important;text-decoration:none;font-size:14px}
 body[data-sn-presentation] .v21e-page{width:100%!important;padding-top:16px!important}
 body[data-sn-presentation] .v21e-card{padding:20px!important;border-radius:18px!important}
 body[data-sn-presentation] .v21e-119{padding:16px!important}
 body[data-sn-presentation] .v21e-119 strong{font-size:20px!important;line-height:1.35!important}
 body[data-sn-presentation] .v21e-card h1{font-size:27px!important}
}
body[data-sn-presentation] header.sn-uh .sn-uh-menu .sn-uh-avatar-initials{background:#272b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Monitor Me uses the same readable numbered-card language as native setup. */
body[data-sn-presentation] #sn-monitor-me-v2-final{padding-inline:0!important;max-width:1080px!important}
body[data-sn-presentation] #sn-monitor-me-v2-final :is(.mmv2-hero,.mmv2-section,.mmv2-active){background:#fff!important;color:#17212f!important;border:1px solid #dce3ed!important;box-shadow:none!important;border-radius:22px!important}
body[data-sn-presentation] #sn-monitor-me-v2-final :is(h1,h2,h3,h4,p,label,small,strong,summary){color:#17212f!important;-webkit-text-fill-color:#17212f!important}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-templates button{background:#f7f8fa!important;border:1px solid #c5cbd3!important;color:#272b33!important;-webkit-text-fill-color:#272b33!important;min-height:48px!important}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-templates button.is-selected{background:#272b33!important;border-color:#272b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body[data-sn-presentation] #sn-monitor-me-v2-final :is(.mmv2-step-controls button,#sn-monitor-me-v2-start){background:#272b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #272b33!important;border-radius:12px!important;min-height:48px;padding:12px 18px}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-step-controls{display:flex;justify-content:space-between;gap:12px;margin:20px 0}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-step-progress{font-size:13px;font-weight:700;padding:14px 0}
body[data-sn-presentation] #sn-monitor-me-v2-final #mmWorkflowError{background:#fff1f2!important;color:#8d2033!important;-webkit-text-fill-color:#8d2033!important;border:1px solid #dc8895;border-radius:12px;padding:14px}
body[data-sn-presentation] #sn-monitor-me-v2-final #mmAgreementDetails{background:#f5f7fa;padding:18px;border:1px solid #dce3ed;border-radius:14px;margin:16px 0}
body[data-sn-presentation] #sn-monitor-me-v2-final #mmAgreementDetails summary{font-weight:700;cursor:pointer;min-height:44px}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-section input:not([type=checkbox]),body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-section select,body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-section textarea{width:100%;margin-bottom:14px}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-section label{display:block;margin:10px 0 6px}
body[data-sn-presentation] #sn-monitor-me-v2-final .mmv2-section label.mmv2-option{display:flex;gap:12px;align-items:flex-start}
/* Shared white card surfaces. Media canvases retain their approved artwork. */
body[data-sn-presentation] :is(.sn-card,.sn158-panel,.sec-card,.em-card,.panel,.card,.metric,.kpi,.stat,.tile,.status-card,.summary-card,.grid>.item,div[class*="-card"],section[class*="-card"],article[class*="-card"],a[class*="-card"]):not(:has(canvas)):not(:has(video)){
 background:#fff!important;background-image:none!important;color:#17212f!important;border-color:#dfe6ee!important;
}
body[data-sn-presentation] :is(.card,.panel,.metric,.kpi,.stat,.tile,.status-card,.summary-card,.grid>.item) :is(p,label,legend,h1,h2,h3,h4,h5,h6,strong,.value,.v,.title,.card-title,.description){color:#17212f!important}
body[data-sn-presentation] :is(.card,.panel,.metric,.kpi,.stat,.tile,.status-card,.summary-card,.grid>.item) :is(.muted,.hint,.help,.sub,.subtitle,.k){color:#52647a!important}
body[data-sn-presentation] :is(.card,.panel,.metric,.kpi,.stat,.tile,.status-card,.summary-card,.grid>.item) :is(.warn,.warning){color:#8c5b08!important}
body[data-sn-presentation] :is(.card,.panel,.metric,.kpi,.stat,.tile,.status-card,.summary-card,.grid>.item) :is(.ok,.success){color:#176b4f!important}
body[data-sn-presentation] :is(button,.btn,[role=button]) :is(span,strong,b,p){color:inherit!important}

/* One customer-support launcher, separate from the Nova AI assistant. */
body #snSupportLauncher{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:10010;width:56px;height:56px;display:grid;place-items:center;border:0;border-radius:50%;background:#a61c32!important;color:#fff!important;box-shadow:0 5px 20px #17212f30;cursor:pointer}
body #snSupportLauncher span{position:absolute;right:0;top:0;background:#fff;color:#a61c32;border:2px solid #a61c32;border-radius:50%;line-height:16px;width:18px;height:18px}
body #snSupportPanel[hidden],body #snSupportLauncher span[hidden]{display:none!important}
body #snSupportPanel{position:fixed;right:20px;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:10011;width:380px;max-width:calc(100vw - 24px);height:580px;max-height:calc(var(--sn-support-vh,100dvh) - 110px);display:flex;flex-direction:column;background:#fff!important;color:#17212f!important;border:1px solid #dfe6ee;border-top:3px solid #a61c32;border-radius:18px;box-shadow:0 12px 40px #17212f30;overflow:hidden;font:14px/1.45 system-ui,sans-serif}
body #snSupportPanel header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #dfe6ee;background:#fff;color:#17212f}
body #snSupportPanel header strong{font-size:18px;color:#17212f!important}
body #snSupportPanel header p{margin:2px 0 0;color:#526174!important}
body #snSupportPanel header button{width:44px;height:44px;border:1px solid #dfe6ee;border-radius:10px;background:#fff!important;color:#17212f!important;font-size:22px;cursor:pointer}
body #snSupportPanel .sn-support-privacy{font-size:12px;padding:10px 16px;margin:0;background:#f7f8fa!important;color:#526174!important}
body #snSupportPanel a{color:#a61c32!important;text-decoration:underline}
body #snSupportPanel [role=log]{overflow:auto;overscroll-behavior:contain;flex:1;min-height:60px;padding:12px 16px}
body #snSupportPanel article{padding:10px 12px;background:#f1f4f7!important;color:#17212f!important;border:1px solid #dfe6ee;border-radius:12px;margin:0 16px 10px 0;overflow-wrap:anywhere}
body #snSupportPanel article[data-author=user]{margin:0 0 10px 16px;border-color:#e8cbd0;background:#fff5f6!important}
body #snSupportPanel article strong{color:#17212f!important;font-size:12px}
body #snSupportPanel article p{white-space:pre-wrap;color:#17212f!important;margin:4px 0}
body #snSupportPanel time{color:#526174!important;font-size:11px}
body #snSupportPanel [role=status]{margin:0;padding:8px 16px;color:#526174!important;font-size:12px}
body #snSupportPanel form{display:grid;grid-template-columns:1fr auto;gap:8px;margin:0;padding:10px 16px;border-top:1px solid #dfe6ee;background:#fff}
body #snSupportPanel label{grid-column:1/-1;color:#17212f!important;font-size:12px;font-weight:600}
body #snSupportPanel textarea{width:100%;min-width:0;min-height:48px;max-height:100px;resize:vertical;box-sizing:border-box;border:1px solid #adb9c6;border-radius:8px;background:#fff!important;color:#17212f!important;padding:10px;font:16px/1.4 system-ui}
body #snSupportPanel form button{min-height:44px;padding:10px 16px;border:0;border-radius:8px;background:#a61c32!important;color:#fff!important;cursor:pointer}
body #snSupportPanel button:disabled{opacity:.6;cursor:wait}
body #snSupportPanel .sn-support-full{padding:0 16px 12px;font-size:12px}
body #snSupportPanel :focus-visible,body #snSupportLauncher:focus-visible{outline:3px solid #a61c32;outline-offset:3px}
@media(max-width:560px){body #snSupportPanel{right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}body #snSupportLauncher{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
/* Beat the legacy global :not(#snPanicFab) button rule without restyling media. */
html body[data-sn-presentation] button#snSupportLauncher[type][aria-controls]{display:grid!important;width:56px!important;height:56px!important;border:0!important;padding:0!important;border-radius:50%!important;background:#a61c32!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 5px 20px #17212f30!important}
html body[data-sn-presentation] #snSupportPanel header{display:flex!important}
html body[data-sn-presentation] #snSupportPanel button[type]{background:#a61c32!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#a61c32!important;min-height:44px!important}
html body[data-sn-presentation] #snSupportPanel button[data-support-close][type]{background:#fff!important;color:#17212f!important;-webkit-text-fill-color:#17212f!important;border:1px solid #dfe6ee!important;width:44px!important;height:44px!important}
body[data-sn-presentation]:has(#snSupportPanel:not([hidden])) #snNovaOneBtn{display:none!important}
body[data-sn-presentation] #snSupportPanel{bottom:calc(88px + env(safe-area-inset-bottom,0px) + var(--sn-support-keyboard,0px))}
html:has(body[data-sn-support-page]),body[data-sn-support-page]{background:#f7f8fa!important;color:#17212f!important;max-width:none!important}
body[data-sn-support-page] #box.box{background:#fff!important;color:#17212f!important;border:1px solid #dfe6ee!important;max-width:720px;box-sizing:border-box}
body[data-sn-support-page] #box.box :is(p,div,span){color:#17212f!important}
body[data-sn-support-page] form#f{max-width:720px}
body #snSupportPanel .sn-support-ai{padding:8px 16px;border-top:1px solid #dfe6ee;font-size:12px;color:#526174;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body #snSupportPanel [data-support-ai-label]{color:#17212f!important;display:flex;gap:8px;align-items:flex-start}
body #snSupportPanel [data-support-ai-label][hidden]{display:none!important}
body #snSupportPanel [data-support-ai-consent]{flex:none;width:18px;height:18px;margin:2px 0;accent-color:#a61c32}
body #snSupportPanel [data-support-human]{font-size:12px;padding:6px 10px;min-height:36px}
/* Use the visible viewport while the on-screen keyboard is open. */
body[data-sn-presentation] #snSupportPanel[data-compact=true]{bottom:calc(8px + env(safe-area-inset-bottom,0px) + var(--sn-support-keyboard,0px));max-height:calc(var(--sn-support-vh,100dvh) - 16px)}
body #snSupportPanel[data-compact=true] .sn-support-privacy,body #snSupportPanel[data-compact=true] header p{display:none!important}
body #snSupportPanel[data-compact=true] header{padding:6px 12px}
body #snSupportPanel[data-compact=true] [role=log]{min-height:36px;padding:6px 12px}
body #snSupportPanel[data-compact=true] .sn-support-ai,body #snSupportPanel[data-compact=true] [role=status]{padding:4px 12px}
body #snSupportPanel[data-compact=true] form{padding:6px 12px}
