/**
 * ============================================================================
 * THANE CITY POLICE CITIZEN PORTAL - ACCESSIBILITY WIDGET & WCAG MODES (v1.0)
 * Compliance: GIGW (Guidelines for Indian Government Websites) & WCAG 2.1 AA
 * Floating Bottom-Left Trigger + High-Performance Isolated Panel
 * ============================================================================
 */

/* ----------------------------------------------------------------------------
   1. CSS Variables & Pre-Paint Scale
   ---------------------------------------------------------------------------- */
:root {
    --a11y-purple: #4F46E5;
    --a11y-purple-dark: #4338CA;
    --a11y-purple-light: #EEF2FF;
    --a11y-panel-bg: #FFFFFF;
    --a11y-panel-text: #0F172A;
    --a11y-border: #E2E8F0;
    --a11y-card-bg: #F8FAFC;
    --a11y-card-hover: #F1F5F9;
    --a11y-font-scale: 1.0;
}

html[data-a11y-scale="1.1"] { --a11y-font-scale: 1.1; font-size: 110% !important; }
html[data-a11y-scale="1.2"] { --a11y-font-scale: 1.2; font-size: 120% !important; }
html[data-a11y-scale="1.3"] { --a11y-font-scale: 1.3; font-size: 130% !important; }
html[data-a11y-scale="1.4"] { --a11y-font-scale: 1.4; font-size: 140% !important; }

/* ----------------------------------------------------------------------------
   2. Accessibility Widget Root & Floating Button (Bottom-Left)
   ---------------------------------------------------------------------------- */
#tpA11yWidgetRoot {
    position: fixed !important;
    inset: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    z-index: 9999999 !important;
    pointer-events: none !important;
}

#tpA11yBtn {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(20px + env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    top: auto !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 50% !important;
    background: #4F46E5 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(79, 70, 229, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 9999999 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
}

/* Position Setting for Admin: fixed bottom-right, 16px safe-area margins, size 52px, z-index 999 */
body:has(#adminAppShell) #tpA11yBtn,
body:has(#loginSection) #tpA11yBtn,
#tpA11yWidgetRoot.a11y-pos-admin #tpA11yBtn,
#tpA11yWidgetRoot[data-position="bottom-right"] #tpA11yBtn {
    position: fixed !important;
    left: auto !important;
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    border-radius: 50% !important;
    background: #4F46E5 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(79, 70, 229, 0.35) !important;
    z-index: 999 !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.22s ease,
                bottom 0.25s ease !important;
}

/* Hide Accessibility button when any overlay layer is active in Admin */
body.overlay-open #tpA11yBtn,
body:has(#adminDrawer.active) #tpA11yBtn,
body:has(#confirmDeleteModal) #tpA11yBtn,
body:has(#actionConfirmModal) #tpA11yBtn,
body:has(#admActionSheetModal) #tpA11yBtn,
body:has(#resetRecordModal) #tpA11yBtn,
body:has(#cropModal) #tpA11yBtn,
body.sidebar-open #tpA11yBtn,
body:has(#idleWarningModal:not([style*="display: none"])) #tpA11yBtn,
body:has(#mobileUserSheet:not([style*="display: none"])) #tpA11yBtn,
body:has(#adminAppShell).overlay-open #tpA11yBtn,
body:has(#loginSection).overlay-open #tpA11yBtn,
#tpA11yWidgetRoot.overlay-open #tpA11yBtn,
#tpA11yWidgetRoot.a11y-pos-admin.overlay-open #tpA11yBtn,
body.overlay-open #tpA11yWidgetRoot #tpA11yBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.92) !important;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#tpA11yBtn:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 4px 12px rgba(79, 70, 229, 0.45) !important;
}

#tpA11yBtn:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px #4F46E5, 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

#tpA11yBtn svg {
    width: 34px !important;
    height: 34px !important;
    fill: none !important;
    pointer-events: none !important;
}

#tpA11yBtn svg path {
    fill: none !important;
}

#tpA11yBtn svg circle {
    fill: #000000 !important;
}

/* ----------------------------------------------------------------------------
   3. Backdrop Overlay (Strict High Z-Index Dims All Header/Nav Elements)
   ---------------------------------------------------------------------------- */
#tpA11yBackdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 9999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
}

#tpA11yBackdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ----------------------------------------------------------------------------
   4. Side Panel (100% Solid Opaque - Never Lets Page Header/Nav Bleed Through)
   ---------------------------------------------------------------------------- */
#tpA11yPanel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: 440px !important;
    max-width: calc(100vw - 32px) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
    z-index: 9999999 !important;
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.42) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

#tpA11yPanel.is-open {
    transform: translateX(0) !important;
}

/* Header */
#tpA11yHeader {
    background: #F8FAFC !important;
    border-bottom: 1.5px solid #E2E8F0 !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
}

.a11y-header-title-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.a11y-header-badge {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #0F172A !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.a11y-header-badge svg {
    width: 20px !important;
    height: 20px !important;
    fill: #FFFFFF !important;
}

.a11y-header-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.a11y-header-subtitle {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    margin: 1px 0 0 0 !important;
    line-height: 1.2 !important;
}

.a11y-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.a11y-btn-reset {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #DC2626 !important;
    background: #FEE2E2 !important;
    border: 1px solid #FECACA !important;
    border-radius: 7px !important;
    padding: 6px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.a11y-btn-reset:hover {
    background: #FCA5A5 !important;
    color: #991B1B !important;
}

.a11y-btn-close {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.a11y-btn-close:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

/* Scrollable Body (100% Solid Opaque Background) */
#tpA11yBody {
    background: #FFFFFF !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

#tpA11yBody::-webkit-scrollbar {
    width: 6px !important;
}
#tpA11yBody::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border-radius: 3px !important;
}

/* Section */
.a11y-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.a11y-sec-title {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #64748B !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.a11y-sec-title svg {
    width: 15px !important;
    height: 15px !important;
    color: #0F172A !important;
}

/* 2-Column Grid of Toggle Cards */
.a11y-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.a11y-card {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 10px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-align: center !important;
    color: #1E293B !important;
    min-height: 94px !important;
    transition: all 0.18s ease !important;
    position: relative !important;
    user-select: none !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.a11y-card:hover {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    transform: translateY(-2px) !important;
}

.a11y-card.is-active,
.a11y-card[aria-pressed="true"] {
    background: #FFFFFF !important;
    border-color: #16A34A !important;
    color: #0F172A !important;
    box-shadow: 0 0 0 2px #16A34A !important;
}

.a11y-card svg {
    width: 22px !important;
    height: 22px !important;
    color: #475569 !important;
    transition: color 0.18s ease !important;
}

.a11y-card.is-active svg,
.a11y-card[aria-pressed="true"] svg {
    color: #16A34A !important;
}

.a11y-card-label {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 2px 0 0 0 !important;
}

.a11y-badge {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    background: #E2E8F0 !important;
    color: #475569 !important;
    text-transform: none !important;
    letter-spacing: 0.03em !important;
    margin-top: 2px !important;
    transition: all 0.18s ease !important;
}

.a11y-card.is-active .a11y-badge,
.a11y-card[aria-pressed="true"] .a11y-badge {
    background: #16A34A !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

/* Custom Color Pickers Box */
.a11y-color-box {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.a11y-color-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 3px 0 !important;
}

.a11y-color-label {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

.a11y-color-input-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.a11y-color-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 32px !important;
    height: 32px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    padding: 0 !important;
    background: transparent !important;
}

.a11y-color-input::-webkit-color-swatch-wrapper { padding: 0 !important; }
.a11y-color-input::-webkit-color-swatch { border: none !important; border-radius: 6px !important; }

/* Text to Speech Control Box */
.a11y-tts-box {
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.a11y-tts-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}

.a11y-tts-btn {
    padding: 9px 8px !important;
    border-radius: 8px !important;
    border: 1.5px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.a11y-tts-btn:hover {
    background: #F1F5F9 !important;
    border-color: #94A3B8 !important;
}

.a11y-tts-btn.is-active {
    background: #16A34A !important;
    color: #FFFFFF !important;
    border-color: #16A34A !important;
}

.a11y-tts-speed-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    padding-top: 2px !important;
}

.a11y-speed-pills {
    display: flex !important;
    gap: 6px !important;
}

.a11y-speed-btn {
    padding: 4px 10px !important;
    border-radius: 6px !important;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #475569 !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.a11y-speed-btn.is-active {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

/* Footer of Panel */
#tpA11yFooter {
    background: #F8FAFC !important;
    border-top: 1.5px solid #E2E8F0 !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.a11y-footer-links {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.a11y-footer-link {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    text-decoration: underline !important;
}

.a11y-footer-link:hover {
    color: #16A34A !important;
}

.a11y-footer-compliance {
    font-size: 0.74rem !important;
    color: #64748B !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* ----------------------------------------------------------------------------
   5. Reading Guide & Reading Mask
   ---------------------------------------------------------------------------- */
#tpA11yReadingGuide {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: #E11D48 !important;
    z-index: 99998 !important;
    pointer-events: none !important;
    display: none;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.6) !important;
}

html.a11y-reading-guide-on #tpA11yReadingGuide {
    display: block !important;
}

#tpA11yReadingMask {
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 99997 !important;
    display: none;
}

html.a11y-reading-mask-on #tpA11yReadingMask {
    display: block !important;
}

.a11y-mask-top,
.a11y-mask-bottom {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(15, 23, 42, 0.75) !important;
    pointer-events: none !important;
}

.a11y-mask-top { top: 0 !important; }
.a11y-mask-bottom { bottom: 0 !important; }

/* ----------------------------------------------------------------------------
   6. Custom Tooltip
   ---------------------------------------------------------------------------- */
#tpA11yTooltip {
    position: fixed !important;
    background: #0F172A !important;
    color: #FFFFFF !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    max-width: 320px !important;
    display: none;
    line-height: 1.35 !important;
}

/* ----------------------------------------------------------------------------
   7. Page Structure / Headings Modal
   ---------------------------------------------------------------------------- */
#tpA11yHeadingsModal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 1080 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.25s ease !important;
}

#tpA11yHeadingsModal.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.a11y-modal-dialog {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    width: 520px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: 85vh !important;
    margin: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.a11y-modal-header {
    background: #F8FAFC !important;
    border-bottom: 1.5px solid #E2E8F0 !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.a11y-modal-body {
    padding: 16px 18px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.a11y-heading-item {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.15s ease !important;
}

.a11y-heading-item:hover {
    background: #F1F5F9 !important;
    border-color: #0F172A !important;
    color: #0F172A !important;
}

.a11y-h-tag {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background: #0F172A !important;
    color: #FFFFFF !important;
}

/* ----------------------------------------------------------------------------
   8. Accessibility Mode Classes (Applied on <html>)
   ---------------------------------------------------------------------------- */

/* Line Heights */
html.a11y-lh-1 body, html.a11y-lh-1 p, html.a11y-lh-1 li, html.a11y-lh-1 a, html.a11y-lh-1 span {
    line-height: 1.85 !important;
}
html.a11y-lh-2 body, html.a11y-lh-2 p, html.a11y-lh-2 li, html.a11y-lh-2 a, html.a11y-lh-2 span {
    line-height: 2.15 !important;
}

/* Letter Spacing */
html.a11y-ls-1 body, html.a11y-ls-1 p, html.a11y-ls-1 h1, html.a11y-ls-1 h2, html.a11y-ls-1 h3, html.a11y-ls-1 a {
    letter-spacing: 0.08em !important;
}
html.a11y-ls-2 body, html.a11y-ls-2 p, html.a11y-ls-2 h1, html.a11y-ls-2 h2, html.a11y-ls-2 h3, html.a11y-ls-2 a {
    letter-spacing: 0.16em !important;
}

/* Word Spacing */
html.a11y-ws body, html.a11y-ws p, html.a11y-ws li, html.a11y-ws a {
    word-spacing: 0.18em !important;
}

/* Text Align */
html.a11y-align-left *:not(#tpA11yWidgetRoot *):not(.tp-hl-ticker-track *):not(.fa):not([class*="icon"]) {
    text-align: left !important;
}
html.a11y-align-center *:not(#tpA11yWidgetRoot *):not(.tp-hl-ticker-track *):not(.fa):not([class*="icon"]) {
    text-align: center !important;
}
html.a11y-align-right *:not(#tpA11yWidgetRoot *):not(.tp-hl-ticker-track *):not(.fa):not([class*="icon"]) {
    text-align: right !important;
}
html.a11y-align-justify *:not(#tpA11yWidgetRoot *):not(.tp-hl-ticker-track *):not(.fa):not([class*="icon"]) {
    text-align: justify !important;
}

/* Readable Font */
html.a11y-readable-font *:not(#tpA11yWidgetRoot *):not(.fa):not([class*="icon"]) {
    font-family: Arial, Helvetica, 'Liberation Sans', sans-serif !important;
}

/* Dyslexia-Friendly Font Stack */
html.a11y-dyslexia-font *:not(#tpA11yWidgetRoot *):not(.fa):not([class*="icon"]) {
    font-family: 'OpenDyslexic', 'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif !important;
    letter-spacing: 0.04em !important;
}

/* Highlight Links */
html.a11y-highlight-links a:not(#tpA11yWidgetRoot *) {
    background-color: #FEF08A !important;
    color: #854D0E !important;
    text-decoration: underline 2.5px solid #854D0E !important;
    font-weight: 700 !important;
    border-radius: 3px !important;
    padding: 1px 3px !important;
}

/* Highlight Headings */
html.a11y-highlight-headings h1:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h1:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h2:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h3:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h4:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h5:not(#tpA11yWidgetRoot *),
html.a11y-highlight-headings h6:not(#tpA11yWidgetRoot *) {
    border-left: 5px solid #0F172A !important;
    padding-left: 10px !important;
    background: rgba(15, 23, 42, 0.08) !important;
    border-radius: 4px !important;
}

/* Page Zoom (Keeps Layout Clean) */
html.a11y-zoom-110 body { zoom: 1.1; }
html.a11y-zoom-120 body { zoom: 1.2; }
html.a11y-zoom-130 body { zoom: 1.3; }

/* Focus Highlight */
html.a11y-focus-highlight *:focus-visible,
html.a11y-focus-highlight *:focus {
    outline: 3px solid #D97706 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(217, 119, 6, 0.35) !important;
}

/* Stop Animations */
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    animation-play-state: paused !important;
}

/* Hide Images */
html.a11y-hide-images img:not(#tpA11yWidgetRoot *),
html.a11y-hide-images picture:not(#tpA11yWidgetRoot *),
html.a11y-hide-images video,
html.a11y-hide-images [style*="background-image"]:not(#tpA11yWidgetRoot *) {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Big Cursor */
html.a11y-cursor-black,
html.a11y-cursor-black * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M4 4l12 32 6-12 12-6L4 4z' fill='%23000000' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

html.a11y-cursor-white,
html.a11y-cursor-white * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M4 4l12 32 6-12 12-6L4 4z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* ============================================================================
   8. PRO-GRADE COLOR & CONTRAST MODES (WCAG 2.1 AA / GIGW COMPLIANT)
   Strictly preserves viewport-fixed floating controls and clean non-breaking layouts
   ============================================================================ */

/* --- 8.1 Universal Viewport Lock for Floating Controls --- */
#tpA11yWidgetRoot {
    position: fixed !important;
    inset: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    z-index: 9999999 !important;
    pointer-events: none !important;
}

.chatbot-bubble,
#policeChatbotContainer {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(20px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    z-index: 9999990 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    pointer-events: none !important;
}

#floatingQuickDock {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.chatbot-bubble > *,
#policeChatbotContainer > *,
#floatingQuickDock,
.dock-nearby-btn,
.social-fab-trigger-btn,
.chatbot-btn,
.social-fab-menu,
.social-fab-container,
.chatbot-window,
#tpA11yBtn,
#tpA11yPanel {
    pointer-events: auto !important;
}

#tpA11yBtn {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(20px + env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    top: auto !important;
    z-index: 9999999 !important;
    transform: none !important;
}

body:has(#adminAppShell) #tpA11yBtn,
body:has(#loginSection) #tpA11yBtn,
#tpA11yWidgetRoot.a11y-pos-admin #tpA11yBtn,
#tpA11yWidgetRoot[data-position="bottom-right"] #tpA11yBtn {
    left: auto !important;
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}

/* --- 8.2 Non-Breaking Filters (Monochrome, Low/High Saturation, Invert) --- */
/* CRITICAL: Apply filter ONLY to page content children, NEVER to body or html!
   This guarantees that neither body nor html becomes a containing block for fixed elements,
   ensuring the Accessibility button and Police Connect dock ALWAYS float fixed in the viewport! */

html.a11y-monochrome body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer):not(.nps-modal-overlay):not(.mobile-nav-overlay):not(script):not(style) {
    filter: grayscale(100%) !important;
}

html.a11y-low-sat body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer):not(.nps-modal-overlay):not(.mobile-nav-overlay):not(script):not(style) {
    filter: saturate(50%) !important;
}

html.a11y-high-sat body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer):not(.nps-modal-overlay):not(.mobile-nav-overlay):not(script):not(style) {
    filter: saturate(180%) !important;
}

/* Invert Colors: Inverts page content cleanly while preserving natural photos and floating controls */
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer):not(.nps-modal-overlay):not(.mobile-nav-overlay):not(script):not(style) {
    filter: invert(100%) hue-rotate(180deg) !important;
}
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer) img,
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer) picture,
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer) video,
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer) canvas,
html.a11y-invert body > *:not(#tpA11yWidgetRoot):not(#policeChatbotContainer) iframe {
    filter: invert(100%) hue-rotate(180deg) !important;
}

/* --- 8.3 High Contrast Mode (Deep Slate/Black + WCAG Gold/White - Layout-Safe) --- */
html.a11y-high-contrast,
html.a11y-high-contrast body {
    background-color: #0b0f19 !important;
    color: #FFFFFF !important;
}

/* Page structural containers */
html.a11y-high-contrast header,
html.a11y-high-contrast footer,
html.a11y-high-contrast nav,
html.a11y-high-contrast section,
html.a11y-high-contrast .top-emergency-bar,
html.a11y-high-contrast .site-main-header,
html.a11y-high-contrast .site-footer {
    background-color: #0b0f19 !important;
    color: #FFFFFF !important;
    border-color: #FFE600 !important;
}

/* Specific Card & Surface Targets ONLY - prevents destroying inner div hierarchy */
html.a11y-high-contrast .card,
html.a11y-high-contrast .tp-report-card,
html.a11y-high-contrast .station-item-card,
html.a11y-high-contrast .news-card,
html.a11y-high-contrast .notice-card,
html.a11y-high-contrast .unit-card,
html.a11y-high-contrast .officer-card,
html.a11y-high-contrast .service-card,
html.a11y-high-contrast .tp-portal-card,
html.a11y-high-contrast .faq-item,
html.a11y-high-contrast .leadership-card,
html.a11y-high-contrast .initiative-card,
html.a11y-high-contrast .table-responsive,
html.a11y-high-contrast .stat-counter-box,
html.a11y-high-contrast .hero-slide-content,
html.a11y-high-contrast .station-filter-bar,
html.a11y-high-contrast .modal-content,
html.a11y-high-contrast .mui-tab-pane,
html.a11y-high-contrast .emergency-label-box,
html.a11y-high-contrast .quick-search-box {
    background-color: #151c2c !important;
    color: #FFFFFF !important;
    border: 2px solid #FFE600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
}

/* Headings in high-contrast bright accessible gold */
html.a11y-high-contrast h1:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast h2:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast h3:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast h4:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast h5:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast h6:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast .section-title,
html.a11y-high-contrast .portal-title,
html.a11y-high-contrast .officer-name {
    color: #FFE600 !important;
    text-shadow: none !important;
}

/* Clean readable text */
html.a11y-high-contrast p:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast span:not(#tpA11yWidgetRoot *):not(.dock-nearby-label):not(.badge):not(.pill):not(.status-badge),
html.a11y-high-contrast li:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast td:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast th:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast label:not(#tpA11yWidgetRoot *) {
    color: #FFFFFF !important;
}

/* Links with distinct high-contrast yellow & underline */
html.a11y-high-contrast a:not(#tpA11yWidgetRoot *):not(.btn):not(#dockNearbyBtn):not(#socialFabBtn):not(#toggleChatbotBtn):not(.social-fab-item) {
    color: #FFE600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}
html.a11y-high-contrast a:not(#tpA11yWidgetRoot *):hover {
    color: #FFFFFF !important;
    background-color: #243048 !important;
}

/* Form inputs */
html.a11y-high-contrast input:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast select:not(#tpA11yWidgetRoot *),
html.a11y-high-contrast textarea:not(#tpA11yWidgetRoot *) {
    background-color: #151c2c !important;
    color: #FFFFFF !important;
    border: 2px solid #FFE600 !important;
}
html.a11y-high-contrast input:focus,
html.a11y-high-contrast select:focus,
html.a11y-high-contrast textarea:focus {
    outline: 3px solid #FFE600 !important;
    outline-offset: 2px !important;
}

/* Buttons in main content */
html.a11y-high-contrast .btn,
html.a11y-high-contrast button:not(#tpA11yWidgetRoot *):not(#dockNearbyBtn):not(#socialFabBtn):not(#toggleChatbotBtn):not(.social-fab-item):not(#closeChatbotBtn):not(#chatSendBtn) {
    background-color: #0b0f19 !important;
    color: #FFE600 !important;
    border: 2px solid #FFE600 !important;
    font-weight: 700 !important;
}
html.a11y-high-contrast .btn:hover {
    background-color: #FFE600 !important;
    color: #000000 !important;
}

/* Photos & Images stay natural and sharp */
html.a11y-high-contrast img,
html.a11y-high-contrast picture {
    filter: none !important;
    opacity: 1 !important;
}

/* Dedicated High Contrast Styling for Floating Quick Dock */
html.a11y-high-contrast #dockNearbyBtn {
    background-color: #151c2c !important;
    border: 2.5px solid #FFE600 !important;
    color: #FFE600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
}
html.a11y-high-contrast #dockNearbyBtn svg {
    stroke: #FFE600 !important;
}
html.a11y-high-contrast #dockNearbyBtn .dock-nearby-label {
    background-color: #151c2c !important;
    color: #FFE600 !important;
    border: 1.5px solid #FFE600 !important;
}

html.a11y-high-contrast #socialFabBtn {
    background-color: #151c2c !important;
    border: 2.5px solid #FFE600 !important;
    color: #FFE600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
}
html.a11y-high-contrast #socialFabBtn svg {
    stroke: #FFE600 !important;
}

html.a11y-high-contrast #toggleChatbotBtn {
    background-color: #b91c1c !important;
    border: 2.5px solid #FFE600 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
}
html.a11y-high-contrast #toggleChatbotBtn svg {
    stroke: #FFFFFF !important;
}

html.a11y-high-contrast #tpA11yBtn {
    background-color: #4F46E5 !important;
    border: 2.5px solid #FFE600 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
}
html.a11y-high-contrast #tpA11yBtn svg {
    fill: none !important;
}
html.a11y-high-contrast #tpA11yBtn svg path {
    fill: none !important;
    stroke: #FFE600 !important;
}
html.a11y-high-contrast #tpA11yBtn svg circle {
    fill: #FFE600 !important;
}

html.a11y-high-contrast #chatbotWindow {
    background-color: #0b0f19 !important;
    border: 2px solid #FFE600 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9) !important;
}
html.a11y-high-contrast .chatbot-header {
    background-color: #151c2c !important;
    border-bottom: 2px solid #FFE600 !important;
}
html.a11y-high-contrast .chatbot-messages {
    background-color: #0b0f19 !important;
}
html.a11y-high-contrast .chat-bubble.bot {
    background-color: #151c2c !important;
    color: #FFFFFF !important;
    border: 1px solid #FFE600 !important;
}
html.a11y-high-contrast .chat-bubble.user {
    background-color: #243048 !important;
    color: #FFE600 !important;
    border: 1px solid #FFE600 !important;
}
html.a11y-high-contrast #chatInput {
    background-color: #151c2c !important;
    color: #FFFFFF !important;
    border: 2px solid #FFE600 !important;
}

/* --- 8.4 Light Contrast Mode (Clean White + Deep Navy/Black) --- */
html.a11y-light-contrast,
html.a11y-light-contrast body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
}
html.a11y-light-contrast header,
html.a11y-light-contrast footer,
html.a11y-light-contrast nav,
html.a11y-light-contrast section {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #000000 !important;
}
html.a11y-light-contrast .card,
html.a11y-light-contrast .tp-report-card,
html.a11y-light-contrast .station-item-card,
html.a11y-light-contrast .news-card,
html.a11y-light-contrast .notice-card,
html.a11y-light-contrast .unit-card,
html.a11y-light-contrast .officer-card,
html.a11y-light-contrast .service-card,
html.a11y-light-contrast .tp-portal-card,
html.a11y-light-contrast .faq-item,
html.a11y-light-contrast .leadership-card,
html.a11y-light-contrast .initiative-card,
html.a11y-light-contrast .table-responsive,
html.a11y-light-contrast .stat-counter-box {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
html.a11y-light-contrast h1:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast h2:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast h3:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast h4:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast h5:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast h6:not(#tpA11yWidgetRoot *) {
    color: #000000 !important;
    font-weight: 800 !important;
}
html.a11y-light-contrast p:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast span:not(#tpA11yWidgetRoot *):not(.dock-nearby-label):not(.badge):not(.pill):not(.status-badge),
html.a11y-light-contrast li:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast td:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast th:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast label:not(#tpA11yWidgetRoot *) {
    color: #000000 !important;
}
html.a11y-light-contrast a:not(#tpA11yWidgetRoot *):not(.btn):not(#dockNearbyBtn):not(#socialFabBtn):not(#toggleChatbotBtn):not(.social-fab-item) {
    color: #0000EE !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}
html.a11y-light-contrast input:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast select:not(#tpA11yWidgetRoot *),
html.a11y-light-contrast textarea:not(#tpA11yWidgetRoot *) {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

/* --- 8.5 Custom Colors Mode --- */
html[data-a11y-custom="true"],
html[data-a11y-custom="true"] body {
    background-color: var(--a11y-custom-bg, #FFFFFF) !important;
    color: var(--a11y-custom-text, #000000) !important;
}
html[data-a11y-custom="true"] section,
html[data-a11y-custom="true"] header,
html[data-a11y-custom="true"] footer {
    background-color: var(--a11y-custom-bg, #FFFFFF) !important;
    color: var(--a11y-custom-text, #000000) !important;
}
html[data-a11y-custom="true"] .card,
html[data-a11y-custom="true"] .tp-report-card,
html[data-a11y-custom="true"] .station-item-card,
html[data-a11y-custom="true"] .news-card,
html[data-a11y-custom="true"] .notice-card,
html[data-a11y-custom="true"] .unit-card,
html[data-a11y-custom="true"] .officer-card,
html[data-a11y-custom="true"] .service-card,
html[data-a11y-custom="true"] .tp-portal-card,
html[data-a11y-custom="true"] .faq-item {
    background-color: var(--a11y-custom-bg, #FFFFFF) !important;
    color: var(--a11y-custom-text, #000000) !important;
    border: 1.5px solid var(--a11y-custom-text, #000000) !important;
}
html[data-a11y-custom="true"] h1:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] h2:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] h3:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] h4:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] h5:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] h6:not(#tpA11yWidgetRoot *) {
    color: var(--a11y-custom-title, #1E3A8A) !important;
}
html[data-a11y-custom="true"] p:not(#tpA11yWidgetRoot *),
html[data-a11y-custom="true"] span:not(#tpA11yWidgetRoot *):not(.dock-nearby-label):not(.badge):not(.pill):not(.status-badge),
html[data-a11y-custom="true"] li:not(#tpA11yWidgetRoot *) {
    color: var(--a11y-custom-text, #000000) !important;
}

/* ----------------------------------------------------------------------------
   9. Mobile Specific Responsive Adjustments
   ---------------------------------------------------------------------------- */
@media (max-width: 768px) {
    #tpA11yBtn {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        left: calc(16px + env(safe-area-inset-left, 0px)) !important;
        right: auto !important;
        top: auto !important;
    }

    /* Admin position on mobile: keep bottom-right with 16px margins */
    body:has(#adminAppShell) #tpA11yBtn,
    body:has(#loginSection) #tpA11yBtn,
    #tpA11yWidgetRoot.a11y-pos-admin #tpA11yBtn,
    #tpA11yWidgetRoot[data-position="bottom-right"] #tpA11yBtn {
        left: auto !important;
        right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Floating Add button clearance on phone: 12px gap above floating add button */
    body:has(.btn-floating-add:not([style*="none"])) #tpA11yBtn,
    body:has(.floating-add-btn:not([style*="none"])) #tpA11yBtn,
    body:has(#floatingAddBtn:not([style*="none"])) #tpA11yBtn,
    body:has(.fab-add:not([style*="none"])) #tpA11yBtn,
    body:has([data-action="add-record"].floating:not([style*="none"])) #tpA11yBtn {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .chatbot-bubble,
    #policeChatbotContainer {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    }

    #tpA11yBtn svg {
        width: 32px !important;
        height: 32px !important;
    }

    #tpA11yPanel {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 85vh !important;
        height: 85dvh !important;
        max-height: 85vh !important;
        max-height: 85dvh !important;
        border-radius: 20px 20px 0 0 !important;
        transform: translateY(100%) !important;
        box-shadow: 0 -8px 36px rgba(2, 6, 23, 0.32) !important;
    }

    #tpA11yPanel.is-open {
        transform: translateY(0) !important;
    }

    .a11y-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .a11y-card {
        min-height: 88px !important;
        padding: 12px 8px !important;
        gap: 6px !important;
    }

    .a11y-card-label {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }
}

/* ----------------------------------------------------------------------------
   10. High-Contrast Styles for Admin Dashboard Surfaces
   ---------------------------------------------------------------------------- */
html.a11y-high-contrast .admin-shell,
html.a11y-high-contrast .admin-main,
html.a11y-high-contrast .admin-content,
html.a11y-high-contrast .login-wrapper {
    background-color: #0b0f19 !important;
    color: #FFFFFF !important;
}

html.a11y-high-contrast .admin-sidebar,
html.a11y-high-contrast .sidebar-header,
html.a11y-high-contrast .sidebar-footer,
html.a11y-high-contrast .admin-header,
html.a11y-high-contrast .login-card,
html.a11y-high-contrast .drawer,
html.a11y-high-contrast .drawer-header,
html.a11y-high-contrast .drawer-footer,
html.a11y-high-contrast .admin-modal-card,
html.a11y-high-contrast .mobile-user-sheet,
html.a11y-high-contrast .tp-admin-card {
    background-color: #0b0f19 !important;
    color: #FFFFFF !important;
    border-color: #FFE600 !important;
}

html.a11y-high-contrast .nav-item {
    color: #FFFFFF !important;
    border-left: 4px solid transparent !important;
}

html.a11y-high-contrast .nav-item:hover {
    background-color: #1e293b !important;
    color: #FFE600 !important;
}

html.a11y-high-contrast .nav-item.active {
    background-color: #1e293b !important;
    color: #FFE600 !important;
    border-left: 4px solid #FFE600 !important;
}

html.a11y-high-contrast .table {
    color: #FFFFFF !important;
    background-color: #0b0f19 !important;
}

html.a11y-high-contrast .table th,
html.a11y-high-contrast .table td {
    border-color: #FFE600 !important;
    color: #FFFFFF !important;
}
