@charset "utf-8";
/* =========================================================
   Accessibility Styles
   WCAG 2.1 / 2.2 Level A & AA Compliance
   Crosseas Capital Services Pvt. Ltd.
   ========================================================= */

/* ---------------------------------------------------------
   1. Screen-reader only utility (WCAG 1.3.1, 4.1.2)
   --------------------------------------------------------- */
.sr-only,
.visually-hidden {
    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;
}

/* ---------------------------------------------------------
   2. Skip-to-main-content link (WCAG 2.4.1 Bypass Blocks)
   --------------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: #28211f;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline !important;
    border-bottom: 4px solid #a6ce39;
}

.skip-link:focus,
.skip-link:active {
    left: 30px;
    top: 10px;
    outline: 3px solid #a6ce39;
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   3. Visible focus indicators (WCAG 2.4.7, 1.4.11)
   Minimum 3:1 contrast against adjacent colours.
   --------------------------------------------------------- */
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
[tabindex]:focus,
[tabindex]:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.25) !important;
}

/* Focus on dark backgrounds – keep high contrast */
.popupBox button:focus,
.popupBox button:focus-visible,
.popup-close:focus,
.popup-close:focus-visible,
.popup-dismiss:focus,
.popup-dismiss:focus-visible {
    outline: 3px solid #a6ce39 !important;
    outline-offset: 4px !important;
}

/* Ensure the 'Enter' CTA buttons keep an underline on focus */
a.enter:focus,
a.enter:focus-visible {
    text-decoration: underline !important;
    outline: 3px solid #a6ce39 !important;
    outline-offset: 3px !important;
}

/* ---------------------------------------------------------
   4. Underline links for colour-independent identification
   (WCAG 1.4.1 Use of Colour)
   --------------------------------------------------------- */
main a,
footer a,
.ai_btn a,
.address_wrap a,
.content_box a:not(.enter) {
    text-decoration: underline !important;
}

main a:hover,
footer a:hover {
    text-decoration: none !important;
}

/* ---------------------------------------------------------
   5. Accessible modal dialog (WCAG 4.1.2, 2.1.1, 2.1.2)
   --------------------------------------------------------- */
.popupWrap[hidden] {
    display: none !important;
}

.popupBox {
    outline: none; /* container itself is not tab-focused */
}

.popupBox .popup-close {
    border: 0;
    padding: 6px;
    background: transparent;
    position: absolute;
    top: -44px;
    right: 0;
    cursor: pointer;
    /* WCAG 2.5.8 Target Size – minimum 24x24 CSS px (36px recommended) */
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.popupBox .popup-close:hover svg,
.popupBox .popup-close:focus svg {
    opacity: 0.5;
}

/* ---------------------------------------------------------
   6. Ticker pause/play control (WCAG 2.2.2 Pause, Stop, Hide)
   --------------------------------------------------------- */
.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.ticker-toggle {
    border: 1px solid #585858;
    background: #ffffff;
    color: #28211f;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 4px;
    cursor: pointer;
    /* WCAG 2.5.8 Target Size */
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ticker-toggle:hover {
    background: #f2f2f2;
}

/* ---------------------------------------------------------
   7. Ensure contrast for inline muted text (WCAG 1.4.3)
   --------------------------------------------------------- */
.inner_content ul li {
    color: #2b2b2b;
}

/* ---------------------------------------------------------
   8. Target size for interactive elements (WCAG 2.5.8)
   --------------------------------------------------------- */
.ai_btn a,
main a {
    min-height: 24px;
}

/* ---------------------------------------------------------
   9. Support 200% text zoom without overflow (WCAG 1.4.4/1.4.10)
   --------------------------------------------------------- */
@media (max-width: 480px) {
    .popupBox {
        padding: 20px;
    }
    .popupBox .popup-close {
        top: -40px;
    }
}

/* ---------------------------------------------------------
   10. Reduced motion preferences (WCAG 2.3.3 AAA – good practice)
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Quick links: explicit submit control (WCAG 3.2.2 On Input) */
.quick-links-open-btn {
    display: block;
    width: 95%;
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #28211f;
    background: #ffffff;
    border: 1px solid #585858;
    border-radius: 4px;
    cursor: pointer;
    min-height: 44px;
}

.quick_links .quick-links-open-btn {
    width: 95%;
}

/* Section headings inside .download (semantic h2; match legacy .title block) */
.download h2.title {
    margin-top: 0;
    line-height: inherit;
}

/* Preserve prior all-caps section labels while keeping natural-case text in the DOM (AT-friendly) */
.download h2.title.section-title-upper {
    text-transform: uppercase;
}

.bank_details_txt .bank-field-label.section-title-upper {
    text-transform: uppercase;
}

/* Important callout: border + strong text, not colour alone (WCAG 1.4.1) */
.callout-important {
    border-left: 4px solid #a6ce39;
    padding-left: 12px;
    margin-top: 1em;
}

/* FAQ / download lists: plain text where no live link exists (WCAG 2.4.4, 4.1.2) */
main .download ol li .download-static {
    display: block;
    color: #000;
    text-transform: none;
}

/* ---------------------------------------------------------
   11. Home page — user accessibility widget (display preferences)
   --------------------------------------------------------- */
/*
 * Text-size steps are applied in js/accessibility-widget.js so only typography
 * changes. Layout, images, spacing, and the accessibility widget stay fixed.
 */

/* High contrast — home / shared chrome (strong borders, not colour alone) */
html[data-a11y-contrast="1"] body {
    background: #000 !important;
    color: #fff !important;
}

/* Force readable foreground; overridden below for inverted controls and distinguishable links */
html[data-a11y-contrast="1"] body * {
    color: #fff !important;
}

/* Light panels from mystyle — use dark fills so text is not washed out */
html[data-a11y-contrast="1"] body.gray_bg,
html[data-a11y-contrast="1"] .main_container,
html[data-a11y-contrast="1"] .left_container,
html[data-a11y-contrast="1"] .right_container,
html[data-a11y-contrast="1"] .bank_details_txt,
html[data-a11y-contrast="1"] .arrowlistmenu .accord_detail,
html[data-a11y-contrast="1"] .sebi_no,
html[data-a11y-contrast="1"] .note,
html[data-a11y-contrast="1"] #first-link ul.showright {
    background-color: #000 !important;
    background-image: none !important;
}

html[data-a11y-contrast="1"] .arrowlistmenu .menuheader {
    background-color: #1a1a1a !important;
    background-image: none !important;
    border: 2px solid #fff !important;
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .arrowlistmenu .openheader {
    background-color: #000 !important;
    background-image: none !important;
    border: 2px solid #ffef5f !important;
}

html[data-a11y-contrast="1"] .download .title {
    background: #1a1a1a !important;
    border: 2px solid #888 !important;
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .table > thead > tr > th,
html[data-a11y-contrast="1"] .table > tbody > tr > th {
    background: #2a2a2a !important;
    border-color: #fff !important;
}

html[data-a11y-contrast="1"] .bank_details_txt .table caption,
html[data-a11y-contrast="1"] .main_container .table-responsive .table caption,
html[data-a11y-contrast="1"] .table caption {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .table > tbody > tr > td,
html[data-a11y-contrast="1"] .table > tfoot > tr > td,
html[data-a11y-contrast="1"] .table > tfoot > tr > th {
    background: #000 !important;
    border-color: #888 !important;
}

html[data-a11y-contrast="1"] .pushy {
    background: #000 !important;
}

/* mystyle sets .pushy a / submenu buttons to gray — beat that specificity */
html[data-a11y-contrast="1"] .pushy a,
html[data-a11y-contrast="1"] .pushy-submenu button {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .pushy a:hover,
html[data-a11y-contrast="1"] .pushy-submenu button:hover {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .body_left_border {
    background: #fff !important;
}

html[data-a11y-contrast="1"] .header_border {
    border-top-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .content_box {
    background: #000 !important;
}

html[data-a11y-contrast="1"] .inner_content {
    background: #000 !important;
    border-color: #fff !important;
    color: #fff !important;
}

html[data-a11y-contrast="1"] .inner_content h2 {
    color: #ffef5f !important;
    border-bottom-color: #fff !important;
}

html[data-a11y-contrast="1"] .inner_content ul li {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .sebi_no {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .address_wrap {
    background: #1a1a1a !important;
    color: #fff !important;
    outline: 2px solid #fff;
}

html[data-a11y-contrast="1"] .address_wrap:before {
    border-color: #000 transparent transparent transparent !important;
}

html[data-a11y-contrast="1"] .address_wrap h3,
html[data-a11y-contrast="1"] .address_wrap h4 {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .address_wrap a {
    color: #9bdcff !important;
}

html[data-a11y-contrast="1"] a.enter {
    background: #fff !important;
    color: #000 !important;
    border: 3px solid #ffef5f !important;
}

html[data-a11y-contrast="1"] .ai_btn span {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .ai_btn a {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #ffef5f !important;
}

/* Links: cool tint so they stay distinct from paragraph text */
html[data-a11y-contrast="1"] main a:not(.enter),
html[data-a11y-contrast="1"] footer a,
html[data-a11y-contrast="1"] .download ol li a,
html[data-a11y-contrast="1"] #newscontent a,
html[data-a11y-contrast="1"] #ticker a,
html[data-a11y-contrast="1"] #first-link ul.showright a,
html[data-a11y-contrast="1"] .accord_detail ul li a,
html[data-a11y-contrast="1"] .pdf_style li a {
    color: #9bdcff !important;
}

html[data-a11y-contrast="1"] .popupBox a {
    color: #9bdcff !important;
}

html[data-a11y-contrast="1"] main p {
    color: #fff !important;
}

html[data-a11y-contrast="1"] #ticker,
html[data-a11y-contrast="1"] .note {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .main_container h1,
html[data-a11y-contrast="1"] .main_container h2,
html[data-a11y-contrast="1"] .main_container h3 {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .attn_btn {
    color: #ffef5f !important;
    border-bottom-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .red {
    color: #ff8a8a !important;
}

html[data-a11y-contrast="1"] input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]),
html[data-a11y-contrast="1"] select,
html[data-a11y-contrast="1"] textarea {
    color: #000 !important;
    background-color: #fff !important;
    border: 2px solid #ffef5f !important;
}

html[data-a11y-contrast="1"] .quick-links-open-btn,
html[data-a11y-contrast="1"] .ticker-toggle {
    color: #000 !important;
    background-color: #fff !important;
    border: 2px solid #ffef5f !important;
}

html[data-a11y-contrast="1"] .popupWrap {
    background: rgb(0 0 0 / 95%) !important;
}

html[data-a11y-contrast="1"] .popupBox {
    background: #000 !important;
    color: #fff !important;
    border: 3px solid #ffef5f !important;
}

html[data-a11y-contrast="1"] .popupBox h2 {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .popupBox li {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .popupBox .popup-dismiss {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #ffef5f !important;
}

/* Floating widget — design tokens and layout */
#a11y-widget.a11y-widget {
    --a11y-brand: #28211f;
    --a11y-brand-rgb: 40, 33, 31;
    --a11y-accent: #a6ce39;
    --a11y-accent-rgb: 166, 206, 57;
    --a11y-accent-hover: #b8da4a;
    --a11y-panel-bg: rgba(255, 255, 255, 0.85);
    --a11y-panel-border: rgba(255, 255, 255, 0.45);
    --a11y-muted: #5e5a55;
    --a11y-text: #28211f;
    --a11y-card-bg: rgba(247, 245, 241, 0.5);
    --a11y-card-border: rgba(40, 33, 31, 0.06);
    --a11y-radius: 18px;
    --a11y-shadow: 0 16px 40px rgba(40, 33, 31, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
    position: fixed;
    z-index: 99999;
    left: auto !important;
    top: auto !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
    max-width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.a11y-widget > * {
    pointer-events: auto;
}

/* Toggle Trigger Button */
.a11y-widget-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    background: linear-gradient(135deg, #3d3330 0%, var(--a11y-brand) 100%);
    border: 2px solid var(--a11y-accent);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    box-shadow: 
        0 8px 24px rgba(40, 33, 31, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: 
        transform 0.2s ease, 
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.a11y-widget-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.a11y-widget-toggle:hover {
    border-color: var(--a11y-accent-hover);
    box-shadow: 
        0 10px 28px rgba(40, 33, 31, 0.45),
        0 0 0 4px rgba(166, 206, 57, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
    .a11y-widget-toggle:hover {
        transform: translateY(-3px);
    }
    .a11y-widget-toggle:active {
        transform: translateY(-1px);
    }
}

.a11y-widget-toggle:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 3px !important;
}

/* Accessibility Settings Panel */
.a11y-widget-panel {
    width: 340px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: var(--a11y-panel-bg);
    border: 1px solid var(--a11y-panel-border);
    border-radius: var(--a11y-radius);
    box-shadow: var(--a11y-shadow);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    max-height: min(calc(100dvh - 100px), 580px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (prefers-reduced-motion: no-preference) {
    .a11y-widget-panel:not([hidden]) {
        animation: a11y-panel-anim-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes a11y-panel-anim-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.a11y-widget-panel[hidden] {
    display: none !important;
}

/* Panel Header */
.a11y-widget-header {
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #3d3330 0%, var(--a11y-brand) 100%);
    color: #fff;
    flex-shrink: 0;
    border-bottom: 2px solid var(--a11y-accent);
}

.a11y-widget-header h2 {
    margin: 0 0 4px;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.a11y-widget-header .a11y-widget-intro {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
}

/* Panel Body */
.a11y-widget-body {
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

/* Option Row / Cards */
.a11y-opt {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    background: var(--a11y-card-bg);
    border: 1px solid var(--a11y-card-border);
    border-radius: 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.a11y-opt:hover {
    background-color: rgba(247, 245, 241, 0.85);
    border-color: rgba(40, 33, 31, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
    .a11y-opt:hover {
        transform: translateY(-1px);
    }
}

.a11y-opt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.a11y-opt-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.a11y-opt-icon {
    width: 18px;
    height: 18px;
    color: var(--a11y-muted);
    flex-shrink: 0;
}

.a11y-opt-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--a11y-text);
    line-height: 1.3;
}

.a11y-opt-desc {
    margin: 4px 0 0 26px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--a11y-muted);
}

/* Sliding Switch Buttons */
.a11y-switch-btn {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    outline: none;
    flex-shrink: 0;
    border-radius: 999px;
    box-shadow: none !important;
    min-height: 26px !important;
}

.a11y-switch-track {
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #c7c4be;
    position: relative;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.a11y-switch-thumb {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.a11y-switch-btn[aria-checked="true"] .a11y-switch-track {
    background-color: var(--a11y-accent);
}

.a11y-switch-btn[aria-checked="true"] .a11y-switch-thumb {
    transform: translateX(20px);
}

.a11y-switch-btn:focus-visible .a11y-switch-track {
    outline: 3px solid #1a5fb4;
    outline-offset: 2px;
}

/* Saturation Slider Layout */
.a11y-sat-badge {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(166, 206, 57, 0.18);
    color: var(--a11y-brand);
    border: 1px solid rgba(166, 206, 57, 0.35);
}

.a11y-sat-row {
    margin-top: 8px;
    margin-left: 26px;
    width: calc(100% - 26px);
}

.a11y-sat-row input[type="range"] {
    width: 100%;
    height: 6px;
    accent-color: var(--a11y-accent);
    cursor: pointer;
    border-radius: 999px;
    background: #ebe8e4;
    border: 0;
    outline: none;
    margin: 4px 0;
}

.a11y-sat-row input[type="range"]:focus-visible {
    outline: 3px solid #1a5fb4;
    outline-offset: 3px;
}

/* Text Zoom Option controls */
.a11y-font-badge {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(40, 33, 31, 0.08);
    color: var(--a11y-text);
    border: 1px solid rgba(40, 33, 31, 0.15);
}

.a11y-font-controls {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    margin-top: 8px;
    margin-left: 26px;
    width: calc(100% - 26px);
    box-sizing: border-box;
}

.a11y-font-controls button.a11y-btn-sm {
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #c7c4be !important;
    background: #fff !important;
    color: var(--a11y-text) !important;
    box-shadow: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.a11y-font-controls button.a11y-btn-sm:hover:not(:disabled) {
    background: #f4f3f1 !important;
    border-color: #9e9b97 !important;
}

.a11y-font-controls button.a11y-btn-sm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.a11y-font-controls button.a11y-btn-sm.a11y-widget-primary {
    border-color: var(--a11y-accent) !important;
    background: var(--a11y-brand) !important;
    color: #fff !important;
}

.a11y-font-controls button.a11y-btn-sm.a11y-widget-primary:hover:not(:disabled) {
    background: #3d3330 !important;
    border-color: var(--a11y-accent-hover) !important;
}

.a11y-font-controls button.a11y-btn-sm:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 2px !important;
}

/* Panel Footer */
.a11y-widget-footer {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(40, 33, 31, 0.08);
    background: #fafaf9;
    border-radius: 0 0 var(--a11y-radius) var(--a11y-radius);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.a11y-widget-panel button.a11y-widget-reset-all {
    display: block;
    width: 100%;
    min-height: 38px !important;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--a11y-accent) !important;
    background: var(--a11y-brand) !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(40, 33, 31, 0.15) !important;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.a11y-widget-panel button.a11y-widget-reset-all:hover {
    background: #3d3330 !important;
    border-color: var(--a11y-accent-hover) !important;
}

.a11y-widget-panel button.a11y-widget-reset-all:focus-visible {
    outline: 3px solid #1a5fb4 !important;
    outline-offset: 2px !important;
}

.a11y-widget-note {
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--a11y-muted);
    text-align: center;
}

/* High Contrast Mode Panel Overrides */
html[data-a11y-contrast="1"] .a11y-widget-panel {
    background: #000 !important;
    border-color: #ffef5f !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff !important;
}

html[data-a11y-contrast="1"] .a11y-widget-header {
    background: #000 !important;
    border-bottom-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-widget-header h2,
html[data-a11y-contrast="1"] .a11y-widget-header .a11y-widget-intro {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .a11y-widget-footer {
    background: #000 !important;
    border-top-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-opt {
    background: #000 !important;
    border-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-opt-title,
html[data-a11y-contrast="1"] .a11y-opt-desc {
    color: #fff !important;
}

html[data-a11y-contrast="1"] .a11y-opt-icon {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-switch-track {
    background: #444 !important;
    border: 1px solid #ffef5f;
}

html[data-a11y-contrast="1"] .a11y-switch-thumb {
    background: #fff !important;
}

html[data-a11y-contrast="1"] .a11y-switch-btn[aria-checked="true"] .a11y-switch-track {
    background-color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-switch-btn[aria-checked="true"] .a11y-switch-thumb {
    background-color: #000 !important;
}

html[data-a11y-contrast="1"] .a11y-sat-badge,
html[data-a11y-contrast="1"] .a11y-font-badge {
    background: #000 !important;
    border-color: #ffef5f !important;
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-font-controls button.a11y-btn-sm {
    background: #000 !important;
    border-color: #fff !important;
    color: #fff !important;
}

html[data-a11y-contrast="1"] .a11y-font-controls button.a11y-btn-sm.a11y-widget-primary {
    background: #ffef5f !important;
    border-color: #ffef5f !important;
    color: #000 !important;
}

html[data-a11y-contrast="1"] .a11y-widget-panel button.a11y-widget-reset-all {
    background: #ffef5f !important;
    border-color: #ffef5f !important;
    color: #000 !important;
}

html[data-a11y-contrast="1"] .a11y-widget-note {
    color: #ddd !important;
}

html[data-a11y-contrast="1"] .a11y-widget-toggle {
    background: #000 !important;
    border-color: #ffef5f !important;
    color: #fff !important;
    box-shadow: none !important;
}

html[data-a11y-contrast="1"] .a11y-sat-row input[type="range"] {
    accent-color: #ffef5f !important;
    background: #444 !important;
}

/* ---------------------------------------------------------
   12. Colour saturation, invert, link highlight, large cursor
   --------------------------------------------------------- */

/*
 * Apply saturation to page content only — not #a11y-widget. A filter on body
 * would make position:fixed on the widget anchor to the full document height.
 */
html[data-a11y-saturate="1"]:not([data-a11y-invert="1"]) body > *:not(#a11y-widget) {
    filter: saturate(var(--a11y-saturate-pct));
}

/*
 * Pure invert (no hue-rotate) keeps text/background luminance predictable.
 * Light panels are normalised to dark-on-white before filtering so they
 * become light-on-dark after invert — readable on former white areas.
 */
html[data-a11y-invert="1"] body > *:not(#a11y-widget) {
    filter: invert(1) saturate(var(--a11y-saturate-pct, 100%));
}

html[data-a11y-invert="1"] .gray_bg,
html[data-a11y-invert="1"] .content_box,
html[data-a11y-invert="1"] .inner_content,
html[data-a11y-invert="1"] .bank_details_txt,
html[data-a11y-invert="1"] .main_container,
html[data-a11y-invert="1"] .left_container,
html[data-a11y-invert="1"] .right_container,
html[data-a11y-invert="1"] .sebi_no,
html[data-a11y-invert="1"] .note,
html[data-a11y-invert="1"] .popupBox,
html[data-a11y-invert="1"] #first-link ul.showright,
html[data-a11y-invert="1"] .quick_links,
html[data-a11y-invert="1"] .download,
html[data-a11y-invert="1"] .accord_detail,
html[data-a11y-invert="1"] .pdf_style,
html[data-a11y-invert="1"] .table > tbody > tr > td,
html[data-a11y-invert="1"] .table > tfoot > tr > td,
html[data-a11y-invert="1"] .table > tfoot > tr > th {
    background-color: #ffffff !important;
    color: #28211f !important;
}

html[data-a11y-invert="1"] .main_container :where(p, li, td, th, dt, dd, label, caption, figcaption, span, div, h1, h2, h3, h4, h5, h6),
html[data-a11y-invert="1"] .inner_content :where(p, li, span, h1, h2, h3, h4, h5, h6),
html[data-a11y-invert="1"] .bank_details_txt :where(p, li, td, th, label, caption, span, h1, h2, h3, h4, h5, h6),
html[data-a11y-invert="1"] .right_container :where(p, li, span, h1, h2, h3, h4, h5, h6),
html[data-a11y-invert="1"] .popupBox :where(p, li, span, h1, h2, h3, h4, h5, h6),
html[data-a11y-invert="1"] .download :where(p, li, ol, span),
html[data-a11y-invert="1"] .accord_detail :where(li, span),
html[data-a11y-invert="1"] .pdf_style :where(li, span),
html[data-a11y-invert="1"] #first-link ul.showright :where(a, li, span) {
    color: #28211f !important;
}

html[data-a11y-invert="1"] .main_container a:not(.ec_login a):not(.enter),
html[data-a11y-invert="1"] .inner_content a,
html[data-a11y-invert="1"] .bank_details_txt a,
html[data-a11y-invert="1"] .right_container a,
html[data-a11y-invert="1"] .download ol li a,
html[data-a11y-invert="1"] .accord_detail ul li a,
html[data-a11y-invert="1"] .pdf_style li a,
html[data-a11y-invert="1"] #newscontent a,
html[data-a11y-invert="1"] #ticker a {
    color: #1a5fb4 !important;
}

html[data-a11y-invert="1"] .inner_content h1,
html[data-a11y-invert="1"] .inner_content h2,
html[data-a11y-invert="1"] .download .title {
    color: #4a6610 !important;
}

html[data-a11y-invert="1"] .table > thead > tr > th,
html[data-a11y-invert="1"] .table > tbody > tr > th {
    background-color: #a6ce39 !important;
    color: #28211f !important;
}

/* Restore photos / video and keep the accessibility widget at normal colours */
html[data-a11y-invert="1"] img,
html[data-a11y-invert="1"] video,
html[data-a11y-invert="1"] picture img {
    filter: invert(1);
}

/* Highlight all hyperlinks — underline, band, and outline */
html[data-a11y-highlight-links="1"] a[href]:not(.skip-link) {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 0.18em !important;
    background-color: rgba(255, 235, 120, 0.45) !important;
    outline: 2px solid #28211f !important;
    outline-offset: 2px !important;
    box-shadow: inset 0 -3px 0 0 #a6ce39 !important;
}

html[data-a11y-highlight-links="1"] a[href]:not(.skip-link):hover,
html[data-a11y-highlight-links="1"] a[href]:not(.skip-link):focus-visible {
    background-color: rgba(166, 206, 57, 0.45) !important;
}

html[data-a11y-contrast="1"][data-a11y-highlight-links="1"] a[href]:not(.skip-link) {
    outline-color: #ffef5f !important;
    box-shadow: inset 0 -3px 0 0 #9bdcff !important;
}

/* Larger default pointer for readability */
html[data-a11y-big-cursor="1"] body,
html[data-a11y-big-cursor="1"] body * {
    cursor:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%2328211f' stroke='%23ffffff' stroke-width='1.5' d='M3 3 L3 25 L13 17 L17 29 L21 27 L17 13 L26 13 Z'/%3E%3C/svg%3E")
            2 2,
        auto !important;
}

html[data-a11y-big-cursor="1"] body input[type="text"],
html[data-a11y-big-cursor="1"] body input[type="email"],
html[data-a11y-big-cursor="1"] body input[type="search"],
html[data-a11y-big-cursor="1"] body input[type="url"],
html[data-a11y-big-cursor="1"] body input[type="password"],
html[data-a11y-big-cursor="1"] body textarea {
    cursor: text !important;
}

/* High contrast + expanded panel chrome */
html[data-a11y-contrast="1"] .a11y-opt-desc,
html[data-a11y-contrast="1"] .a11y-widget-note {
    color: #ddd !important;
}

html[data-a11y-contrast="1"] .a11y-sat-end {
    color: #bbb !important;
}

html[data-a11y-contrast="1"] .a11y-opt-title {
    color: #ffef5f !important;
}

html[data-a11y-contrast="1"] .a11y-widget-panel input[type="range"] {
    accent-color: #ffef5f;
}
