.ntv-ui-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;                 
    height: 0;                    
    z-index: 9999999999 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Launcher */
.ntv-fab-launcher {
    position: fixed !important;
    bottom: 25px !important;      
    left: 50% !important;         
    transform: translateX(-50%) !important; 
    background: #cb6c1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important; 
    width: 60px !important;
    height: 60px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease !important;
}

.ntv-fab-launcher:hover {
    transform: translateX(-50%) scale(1.05) !important; /* Maintained layout safety translation offset on hover */
}

/* --- Ripple Wave --- */
.ntv-fab-launcher::before,
.ntv-fab-launcher::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: #cb6c1a !important;
    z-index: -1 !important;
    opacity: 0.5 !important;
}

/* Staggered Continuous Wave Timings (Slower 3.6s Cycle) */
.ntv-fab-launcher::before {
    animation: ntvSonarWaveSlow 3.6s cubic-bezier(0.215, 0.610, 0.355, 1) infinite !important;
}

.ntv-fab-launcher::after {
    animation: ntvSonarWaveSlow 3.6s cubic-bezier(0.215, 0.610, 0.355, 1) infinite !important;
    animation-delay: 2.2s !important;
}

/* Stop waves if accessibility setting 'Pause Animations' is enabled */
body.ntv-mo-off .ntv-fab-launcher::before,
body.ntv-mo-off .ntv-fab-launcher::after {
    animation: none !important;
    opacity: 0 !important;
}

@keyframes ntvSonarWaveSlow {
    0% { transform: scale(1); opacity: 0.5; }
    50% { opacity: 0.25; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* --- Fixed Left Sidebar Panel --- */
.ntv-panel-container {
    display: none;
    position: fixed !important;    
    top: 0 !important;             
    left: 0 !important;            
    right: auto !important;
    width: 380px !important;       
    height: 100vh !important;      
    max-height: 100vh !important;
    background: #e6e6e6 !important;
    border-radius: 0 !important;  
    box-shadow: 10px 0 30px rgba(0,0,0,0.25) !important;
    border: none !important;
    border-right: 1px solid #dcdcdc !important;
    display: flex;
    flex-direction: column;
}

.ntv-panel-container:not(.is-active) {
    display: none !important;
}
.ntv-panel-container.is-active {
    display: flex !important;
}

.ntv-panel-header {
    background: #cb6c1a !important;
    color: #ffffff !important;
    padding: 20px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    letter-spacing: 0.3px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}

.ntv-header-actions {
    display: flex !important;
    gap: 14px !important;
}

.ntv-header-actions button {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
    transition: opacity 0.2s !important;
}
.ntv-header-actions button:hover { 
    opacity: 0.8 !important; 
}

.ntv-panel-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    overflow-y: auto !important; 
    flex-grow: 1 !important;
    -webkit-overflow-scrolling: touch !important;
}

.ntv-panel-grid::-webkit-scrollbar { width: 6px !important; }
.ntv-panel-grid::-webkit-scrollbar-track { background: #e6e6e6 !important; }
.ntv-panel-grid::-webkit-scrollbar-thumb { background: #b5b5b5 !important; border-radius: 3px !important; }

.ntv-tile {
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 14px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 110px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    transition: all 0.15s ease-in-out !important;
}

.ntv-tile.has-active-layers, .ntv-tile.is-toggled-on {
    border-color: #0066cc !important;
}

.ntv-tile-icon {
    color: #333333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    margin-bottom: 4px !important;
}

.font-icon-ts { font-size: 26px !important; font-weight: bold !important; font-family: Georgia, serif !important; }
.font-icon-df { font-size: 28px !important; font-weight: bold !important; font-family: sans-serif !important; }
.font-icon-font { font-size: 20px !important; text-decoration: underline !important; font-family: serif !important; }
.font-icon-av { font-size: 20px !important; font-weight: bold !important; position: relative !important; letter-spacing: 2px !important; }
.arrow-indicator { font-size: 11px !important; position: absolute !important; bottom: -8px !important; left: 2px !important; width: 100% !important; text-align: center !important; }

.color-filter-circle {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: 2px solid #333 !important;
    background: linear-gradient(90deg, #ff9999 50%, #ffffff 50%) !important;
}

.rgb-circles-container {
    display: flex !important;
    position: relative !important;
    width: 32px !important;
    height: 24px !important;
}
.circle-c { width: 16px !important; height: 16px !important; border-radius: 50% !important; position: absolute !important; opacity: 0.85 !important; }
.c-r { background: #ff3333 !important; left: 0 !important; top: 4px !important; }
.c-g { background: #33cc33 !important; left: 8px !important; top: 4px !important; }
.c-b { background: #3333ff !important; left: 16px !important; top: 4px !important; }

.ntv-tile-label {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #1a1a1a !important;
    margin-bottom: 6px !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ntv-meter { display: flex !important; gap: 4px !important; width: 65% !important; height: 5px !important; }
.m-bar { flex: 1 !important; background: #dcdcdc !important; border-radius: 2px !important; }

.ntv-tile[data-step-val="1"] .m-bar:nth-child(1),
.ntv-tile[data-step-val="2"] .m-bar:nth-child(1), .ntv-tile[data-step-val="2"] .m-bar:nth-child(2),
.ntv-tile[data-step-val="3"] .m-bar:nth-child(1), .ntv-tile[data-step-val="3"] .m-bar:nth-child(2), .ntv-tile[data-step-val="3"] .m-bar:nth-child(3),
.ntv-tile[data-step-val="4"] .m-bar:nth-child(1), .ntv-tile[data-step-val="4"] .m-bar:nth-child(2), .ntv-tile[data-step-val="4"] .m-bar:nth-child(3), .ntv-tile[data-step-val="4"] .m-bar:nth-child(4) {
    background: #0066cc !important;
}

.ntv-sr-skip { position: absolute !important; top: -100px !important; left: 0 !important; background: #0066cc !important; color: white !important; padding: 10px !important; z-index: 9999999 !important; }
.ntv-sr-skip:focus { top: 0 !important; }

@media screen and (max-width: 420px) {
    .ntv-panel-container { width: 100vw !important; } 
}

/* --- LEVEL 1 CONTRAST --- */
body.ntv-ct-1 { background: #000000 !important; color: #ffffff !important; }
body.ntv-ct-1 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { 
    background: #000000 !important; 
    color: #ffffff !important; 
    border-color: #333333 !important; 
    box-shadow: none !important; 
}
body.ntv-ct-1 a:not(.ntv-ui-wrapper *) { color: #00ffff !important; text-decoration: underline !important; }
body.ntv-ct-1 p:not(.ntv-ui-wrapper *), body.ntv-ct-1 h1, body.ntv-ct-1 h2, body.ntv-ct-1 h3, body.ntv-ct-1 h4, body.ntv-ct-1 span:not(.ntv-ui-wrapper *) { color: #ffffff !important; }

/* --- LEVEL 2 CONTRAST --- */
body.ntv-ct-2 { background: #ffffff !important; color: #111111 !important; }
body.ntv-ct-2 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { 
    background: #ffffff !important; 
    color: #111111 !important; 
    border-color: #b5b5b5 !important; 
    box-shadow: none !important; 
}
body.ntv-ct-2 a:not(.ntv-ui-wrapper *) { color: #0044cc !important; text-decoration: underline !important; }
body.ntv-ct-2 p:not(.ntv-ui-wrapper *), body.ntv-ct-2 h1, body.ntv-ct-2 h2, body.ntv-ct-2 h3, body.ntv-ct-2 h4, body.ntv-ct-2 span:not(.ntv-ui-wrapper *) { color: #111111 !important; }

/* --- LEVEL 3 CONTRAST --- */
body.ntv-ct-3 { background: #000000 !important; color: #ffff00 !important; }
body.ntv-ct-3 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { 
    background: #000000 !important; 
    color: #ffff00 !important; 
    border-color: #444444 !important; 
    box-shadow: none !important; 
}
body.ntv-ct-3 a:not(.ntv-ui-wrapper *) { color: #00ff00 !important; text-decoration: underline !important; }
body.ntv-ct-3 p:not(.ntv-ui-wrapper *), body.ntv-ct-3 h1, body.ntv-ct-3 h2, body.ntv-ct-3 h3, body.ntv-ct-3 h4, body.ntv-ct-3 span:not(.ntv-ui-wrapper *) { color: #ffff00 !important; }

/* --- FIXED SATURATION LAYER MATRIX --- */
body.ntv-st-1 #page, body.ntv-st-1 #content, body.ntv-st-1 main, body.ntv-st-1 img, body.ntv-st-1 video, body.ntv-st-1 .post-block { filter: saturate(0.4) !important; }
body.ntv-st-2 #page, body.ntv-st-2 #content, body.ntv-st-2 main, body.ntv-st-2 img, body.ntv-st-2 video, body.ntv-st-2 .post-block { filter: saturate(1.6) !important; }
body.ntv-st-3 #page, body.ntv-st-3 #content, body.ntv-st-3 main, body.ntv-st-3 img, body.ntv-st-3 video, body.ntv-st-3 .post-block { filter: saturate(2.8) !important; }
body.ntv-st-4 #page, body.ntv-st-4 #content, body.ntv-st-4 main, body.ntv-st-4 img, body.ntv-st-4 video, body.ntv-st-4 .post-block { filter: saturate(0) !important; }

/* --- UNIVERSAL ACCESS OVERRIDES (FONT SIZE MATRIX PRESERVED PRECISELY) --- */
body.ntv-ts-1 p:not(.ntv-ui-wrapper *), body.ntv-ts-1 span:not(.ntv-ui-wrapper *), body.ntv-ts-1 a:not(.ntv-ui-wrapper *), body.ntv-ts-1 li, body.ntv-ts-1 h1, body.ntv-ts-1 h2, body.ntv-ts-1 h3, body.ntv-ts-1 h4 { font-size: 115% !important; }
body.ntv-ts-2 p:not(.ntv-ui-wrapper *), body.ntv-ts-2 span:not(.ntv-ui-wrapper *), body.ntv-ts-2 a:not(.ntv-ui-wrapper *), body.ntv-ts-2 li, body.ntv-ts-2 h1, body.ntv-ts-2 h2, body.ntv-ts-2 h3, body.ntv-ts-2 h4 { font-size: 130% !important; }
body.ntv-ts-3 p:not(.ntv-ui-wrapper *), body.ntv-ts-3 span:not(.ntv-ui-wrapper *), body.ntv-ts-3 a:not(.ntv-ui-wrapper *), body.ntv-ts-3 li, body.ntv-ts-3 h1, body.ntv-ts-3 h2, body.ntv-ts-3 h3, body.ntv-ts-3 h4 { font-size: 145% !important; }

body.ntv-al-1 p:not(.ntv-ui-wrapper *), body.ntv-al-1 span:not(.ntv-ui-wrapper *), body.ntv-al-1 article { text-align: left !important; }
body.ntv-al-2 p:not(.ntv-ui-wrapper *), body.ntv-al-2 span:not(.ntv-ui-wrapper *), body.ntv-al-2 article { text-align: center !important; }
body.ntv-al-3 p:not(.ntv-ui-wrapper *), body.ntv-al-3 span:not(.ntv-ui-wrapper *), body.ntv-al-3 article { text-align: right !important; }

body.ntv-ft-1 img:not(.ntv-ui-wrapper *), body.ntv-ft-1 iframe { filter: grayscale(100%) !important; }
body.ntv-ft-2 img:not(.ntv-ui-wrapper *), body.ntv-ft-2 iframe { filter: sepia(100%) !important; }
body.ntv-ft-3 img:not(.ntv-ui-wrapper *), body.ntv-ft-3 iframe { filter: invert(100%) !important; }
body.ntv-ft-4 img:not(.ntv-ui-wrapper *), body.ntv-ft-4 iframe { filter: hue-rotate(90deg) !important; }

body.ntv-sp-1 p:not(.ntv-ui-wrapper *), body.ntv-sp-1 span:not(.ntv-ui-wrapper *), body.ntv-sp-1 li { letter-spacing: 0.08em !important; word-spacing: 0.1em !important; }
body.ntv-sp-2 p:not(.ntv-ui-wrapper *), body.ntv-sp-2 span:not(.ntv-ui-wrapper *), body.ntv-sp-2 li { letter-spacing: 0.14em !important; word-spacing: 0.16em !important; }
body.ntv-sp-3 p:not(.ntv-ui-wrapper *), body.ntv-sp-3 span:not(.ntv-ui-wrapper *), body.ntv-sp-3 li { letter-spacing: 0.22em !important; word-spacing: 0.24em !important; }

body.ntv-lh-1 p:not(.ntv-ui-wrapper *), body.ntv-lh-1 div:not(.ntv-ui-wrapper *) { line-height: 1.8 !important; }
body.ntv-lh-2 p:not(.ntv-ui-wrapper *), body.ntv-lh-2 div:not(.ntv-ui-wrapper *) { line-height: 2.3 !important; }
body.ntv-lh-3 p:not(.ntv-ui-wrapper *), body.ntv-lh-3 div:not(.ntv-ui-wrapper *) { line-height: 2.8 !important; }

body.ntv-ff-1 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { font-family: Arial, Helvetica, sans-serif !important; }
body.ntv-ff-2 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { font-family: Georgia, serif !important; }
body.ntv-ff-3 :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { font-family: 'Courier New', Courier, monospace !important; }

body.ntv-dl-on p:not(.ntv-ui-wrapper *), body.ntv-dl-on span:not(.ntv-ui-wrapper *), body.ntv-dl-on li, body.ntv-dl-on a:not(.ntv-ui-wrapper *) { font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif !important; }

body.ntv-cr-on :not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *) { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="%230066cc" stroke="white" stroke-width="1.5"><path d="M4.5 2.25l15 11.25-6.75 1.5 4.5 6.75-3 1.5-4.5-6.75-5.25 4.5z"/></svg>'), auto !important; }
body.ntv-cr-on button:not(.ntv-ui-wrapper *), body.ntv-cr-on a:not(.ntv-ui-wrapper *) { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="%230066cc" stroke="white" stroke-width="1.5"><path d="M4.5 2.25l15 11.25-6.75 1.5 4.5 6.75-3 1.5-4.5-6.75-5.25 4.5z"/></svg>'), pointer !important; }

body.ntv-img-off img:not(.ntv-ui-wrapper *), body.ntv-img-off .wp-post-image, body.ntv-img-off [style*="background-image"]:not(.ntv-ui-wrapper *) { visibility: hidden !important; opacity: 0 !important; height: 0 !important; }

body.ntv-mo-off *:not(.ntv-ui-wrapper):not(.ntv-ui-wrapper *), body.ntv-mo-off *::before, body.ntv-mo-off *::after { animation-play-state: paused !important; transition: none !important; scroll-behavior: auto !important; }