:root {
    --a11y-primary: #123f85;
    --a11y-primary-dark: #0b2d63;
    --a11y-accent: #f5c242;
    --a11y-text: #172033;
    --a11y-muted: #667085;
    --a11y-border: #dce3ee;
    --a11y-surface: #ffffff;
}

.a11y-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;
}

.a11y-skip-link {
    position: fixed;
    z-index: 2147483647;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: #ffffff !important;
    background: #111827 !important;
    border: 3px solid #f5c242;
    border-radius: 8px;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    transform: translateY(calc(-100% - 18px));
    transition: transform 160ms ease;
}

.a11y-skip-link:focus {
    color: #ffffff !important;
    transform: translateY(0);
}

.a11y-widget,
.a11y-widget * {
    box-sizing: border-box;
}

.a11y-widget {
    position: fixed;
    z-index: 2147483000;
    right: 22px;
    bottom: 22px;
    color: var(--a11y-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.a11y-trigger {
    display: inline-flex;
    min-width: 58px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--a11y-primary);
    border: 2px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(10, 36, 78, 0.28);
    font: 700 15px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.a11y-trigger:hover,
.a11y-trigger[aria-expanded="true"] {
    color: #ffffff;
    background: var(--a11y-primary-dark);
    box-shadow: 0 10px 30px rgba(10, 36, 78, 0.38);
    transform: translateY(-2px);
}

.a11y-trigger svg {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-trigger .a11y-icon-fill {
    fill: currentColor;
    stroke: none;
}

.a11y-panel[hidden] {
    display: none !important;
}

.a11y-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(382px, calc(100vw - 28px));
    max-height: min(690px, calc(100vh - 112px));
    overflow: hidden;
    color: var(--a11y-text);
    background: var(--a11y-surface);
    border: 1px solid rgba(18, 63, 133, 0.16);
    border-radius: 18px;
    box-shadow: 0 20px 56px rgba(15, 35, 70, 0.3);
    animation: a11y-panel-enter 160ms ease-out;
}

@keyframes a11y-panel-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.a11y-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--a11y-primary-dark), var(--a11y-primary));
}

.a11y-panel__eyebrow,
.a11y-panel__header h2,
.a11y-panel__header p {
    margin: 0;
    color: inherit;
    font-family: Arial, Helvetica, sans-serif;
}

.a11y-panel__eyebrow {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
}

.a11y-panel__header h2 {
    font-size: 21px !important;
    font-weight: 700;
    line-height: 1.25;
}

.a11y-panel__header h2 + p {
    margin-top: 5px;
    font-size: 13px !important;
    line-height: 1.4;
    opacity: 0.86;
}

.a11y-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    margin: -4px -4px 0 0;
    padding: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    cursor: pointer;
}

.a11y-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

.a11y-close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.a11y-panel__body {
    max-height: min(574px, calc(100vh - 228px));
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f8fafe;
}

.a11y-category-intro h3,
.a11y-category-intro p,
.a11y-category-panel__heading h3,
.a11y-category-panel__heading p {
    margin: 0;
    color: var(--a11y-text);
    font-family: Arial, Helvetica, sans-serif;
}

.a11y-category-intro h3,
.a11y-category-panel__heading h3 {
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.3;
}

.a11y-category-intro p,
.a11y-category-panel__heading p {
    margin-top: 3px;
    color: var(--a11y-muted);
    font-size: 12px !important;
    line-height: 1.45;
}

.a11y-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 11px;
}

.a11y-category-tab {
    display: grid;
    min-height: 54px;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    color: #344054;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--a11y-border);
    border-radius: 10px;
    font: 700 12px/1.25 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.a11y-category-tab:hover {
    color: var(--a11y-primary-dark);
    background: #f2f6fc;
    border-color: #89a5cf;
}

.a11y-category-tab[aria-selected="true"] {
    color: #ffffff;
    background: var(--a11y-primary);
    border-color: var(--a11y-primary);
    box-shadow: 0 4px 12px rgba(18, 63, 133, 0.18);
}

.a11y-category-tab svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-category-panel[hidden] {
    display: none !important;
}

.a11y-category-panel {
    margin-top: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--a11y-border);
    border-radius: 12px;
}

.a11y-category-panel:focus {
    outline-offset: 2px !important;
}

.a11y-category-panel__heading {
    margin-bottom: 12px;
}

.a11y-field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--a11y-text);
    font: 700 12px/1.35 Arial, Helvetica, sans-serif;
}

.a11y-communication-text {
    display: block;
    width: 100%;
    min-height: 86px;
    padding: 10px 11px;
    resize: vertical;
    color: var(--a11y-text);
    background: #ffffff;
    border: 1px solid #9eb2ce;
    border-radius: 9px;
    box-shadow: none;
    font: 400 13px/1.5 Arial, Helvetica, sans-serif;
}

.a11y-communication-text::placeholder {
    color: #7a8496;
    opacity: 1;
}

.a11y-field-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    color: var(--a11y-muted);
    font: 400 10px/1.35 Arial, Helvetica, sans-serif;
}

.a11y-field-meta small {
    color: inherit;
    font: inherit;
}

.a11y-field-meta small:last-child {
    flex: 0 0 auto;
}

.a11y-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 11px;
}

.a11y-action-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    color: var(--a11y-primary-dark);
    background: #ffffff;
    border: 1px solid #9eb2ce;
    border-radius: 9px;
    font: 700 11px/1.25 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.a11y-action-button:hover,
.a11y-action-button[aria-pressed="true"],
.a11y-action-button--primary {
    color: #ffffff;
    background: var(--a11y-primary);
    border-color: var(--a11y-primary);
}

.a11y-action-button--primary:hover,
.a11y-action-button[aria-pressed="true"]:hover {
    background: var(--a11y-primary-dark);
    border-color: var(--a11y-primary-dark);
}

.a11y-action-button:disabled {
    color: #667085;
    background: #eaecf0;
    border-color: #d0d5dd;
    cursor: not-allowed;
}

.a11y-action-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-assist-actions {
    display: grid;
    gap: 8px;
}

.a11y-assist-action {
    display: grid;
    width: 100%;
    min-height: 66px;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: var(--a11y-text);
    text-align: left;
    background: #f8fafe;
    border: 1px solid var(--a11y-border);
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.a11y-assist-action:hover {
    color: var(--a11y-text);
    background: #f0f5fc;
    border-color: #89a5cf;
}

.a11y-assist-action[aria-pressed="true"] {
    color: var(--a11y-primary-dark);
    background: #edf4ff;
    border-color: var(--a11y-primary);
    box-shadow: inset 0 0 0 1px var(--a11y-primary);
}

.a11y-assist-action__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--a11y-primary);
    background: #ffffff;
    border: 1px solid #cbd7e8;
    border-radius: 9px;
}

.a11y-assist-action__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-assist-action__text {
    display: block;
    min-width: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.a11y-assist-action__text strong,
.a11y-assist-action__text small {
    display: block;
    color: inherit;
    font-family: inherit;
}

.a11y-assist-action__text strong {
    font-size: 12px;
    line-height: 1.35;
}

.a11y-assist-action__text small {
    margin-top: 2px;
    color: var(--a11y-muted);
    font-size: 10px;
    font-weight: 400;
}

.a11y-assist-action[aria-pressed="true"] .a11y-assist-action__text small {
    color: var(--a11y-primary);
    font-weight: 700;
}

.a11y-switch {
    position: relative;
    display: block;
    width: 32px;
    height: 19px;
    background: #b5bdc9;
    border-radius: 999px;
    transition: background-color 140ms ease;
}

.a11y-switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    content: "";
    transition: transform 140ms ease;
}

.a11y-assist-action[aria-pressed="true"] .a11y-switch {
    background: var(--a11y-primary);
}

.a11y-assist-action[aria-pressed="true"] .a11y-switch::after {
    transform: translateX(13px);
}

.a11y-feature-list {
    display: grid;
    gap: 6px;
    margin: 11px 0 0;
    padding: 0;
    color: #475467;
    font: 400 11px/1.45 Arial, Helvetica, sans-serif;
    list-style: none;
}

.a11y-feature-list li {
    position: relative;
    padding-left: 17px;
}

.a11y-feature-list li::before {
    position: absolute;
    top: 0.25em;
    left: 1px;
    color: var(--a11y-primary);
    font-weight: 700;
    content: "✓";
}

.a11y-inline-note {
    margin: 10px 1px 0;
    color: var(--a11y-muted);
    font: 400 10px/1.45 Arial, Helvetica, sans-serif;
}

.a11y-text-size {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    background: #ffffff;
    border: 1px solid var(--a11y-border);
    border-radius: 12px;
}

.a11y-text-size h4,
.a11y-text-size p {
    margin: 0;
    color: var(--a11y-text);
    font-family: Arial, Helvetica, sans-serif;
}

.a11y-text-size h4 {
    font-size: 15px !important;
    font-weight: 700;
}

.a11y-text-size p {
    margin-top: 2px;
    color: var(--a11y-muted);
    font-size: 12px !important;
}

.a11y-stepper {
    display: grid;
    grid-template-columns: 38px 52px 38px;
    min-width: 128px;
    overflow: hidden;
    border: 1px solid #b9c6d9;
    border-radius: 9px;
}

.a11y-stepper button,
.a11y-stepper output {
    display: flex;
    min-width: 0;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: var(--a11y-text);
    background: #ffffff;
    border: 0;
    border-radius: 0;
    font: 700 13px/1 Arial, Helvetica, sans-serif;
}

.a11y-stepper button {
    cursor: pointer;
}

.a11y-stepper button:hover:not(:disabled) {
    color: #ffffff;
    background: var(--a11y-primary);
}

.a11y-stepper button:disabled {
    color: #98a2b3;
    background: #f2f4f7;
    cursor: not-allowed;
}

.a11y-stepper output {
    border-right: 1px solid #b9c6d9;
    border-left: 1px solid #b9c6d9;
    font-size: 12px;
}

.a11y-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.a11y-option {
    display: grid;
    min-height: 104px;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    gap: 4px;
    padding: 12px;
    color: var(--a11y-text);
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--a11y-border);
    border-radius: 12px;
    box-shadow: none;
    font: 700 13px/1.25 Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.a11y-option:hover {
    color: var(--a11y-text);
    border-color: #89a5cf;
    box-shadow: 0 4px 14px rgba(18, 63, 133, 0.09);
}

.a11y-option[aria-pressed="true"] {
    color: var(--a11y-primary-dark);
    background: #edf4ff;
    border-color: var(--a11y-primary);
    box-shadow: inset 0 0 0 1px var(--a11y-primary);
}

.a11y-option svg {
    width: 25px;
    height: 25px;
    margin-bottom: 2px;
    fill: none;
    stroke: var(--a11y-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-option svg .a11y-icon-fill {
    fill: var(--a11y-primary);
    stroke: none;
}

.a11y-option > span,
.a11y-option > small {
    font-family: Arial, Helvetica, sans-serif;
}

.a11y-option > small {
    color: var(--a11y-muted);
    font-size: 11px;
    font-weight: 400;
}

.a11y-option[aria-pressed="true"] > small {
    color: var(--a11y-primary);
    font-weight: 700;
}

.a11y-reset {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    color: var(--a11y-primary-dark);
    background: transparent;
    border: 1px solid #9eb2ce;
    border-radius: 10px;
    font: 700 13px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.a11y-reset:hover {
    color: #ffffff;
    background: var(--a11y-primary-dark);
    border-color: var(--a11y-primary-dark);
}

.a11y-reset svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.a11y-panel__note {
    margin: 9px 0 0;
    color: var(--a11y-muted);
    font: 400 11px/1.4 Arial, Helvetica, sans-serif;
    text-align: center;
}

body :focus-visible {
    outline: 3px solid #ffbf47 !important;
    outline-offset: 3px !important;
}

html.a11y-high-contrast body {
    background: #000000 !important;
}

html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link),
html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link) :where(div, section, article, main, header, footer, nav, aside, ul, ol, li, form, table, thead, tbody, tr, td, th) {
    color: #ffffff !important;
    background-color: #000000 !important;
    background-image: none !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link) :where(h1, h2, h3, h4, h5, h6, p, span, label, strong, small) {
    color: #ffffff !important;
    text-shadow: none !important;
}

html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link) a {
    color: #ffeb3b !important;
    text-decoration-color: currentColor !important;
}

html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link) :where(button, .btn) {
    color: #000000 !important;
    background: #ffeb3b !important;
    border: 2px solid #ffffff !important;
}

html.a11y-high-contrast body > :not(.a11y-widget):not(.a11y-skip-link) :where(input, textarea, select) {
    color: #000000 !important;
    background: #ffffff !important;
    border: 2px solid #ffeb3b !important;
}

html.a11y-grayscale body > :not(.a11y-widget):not(.a11y-skip-link) {
    filter: grayscale(1) !important;
}

html.a11y-highlight-links body > :not(.a11y-widget):not(.a11y-skip-link) a {
    text-decoration: underline !important;
    text-decoration-thickness: 0.14em !important;
    text-underline-offset: 0.18em !important;
}

html.a11y-readable-font body > :not(.a11y-widget):not(.a11y-skip-link),
html.a11y-readable-font body > :not(.a11y-widget):not(.a11y-skip-link) * {
    font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-text-spacing body > :not(.a11y-widget):not(.a11y-skip-link),
html.a11y-text-spacing body > :not(.a11y-widget):not(.a11y-skip-link) * {
    line-height: 1.5 !important;
    letter-spacing: 0.12em !important;
    word-spacing: 0.16em !important;
}

html.a11y-text-spacing body > :not(.a11y-widget):not(.a11y-skip-link) p {
    margin-bottom: 2em !important;
}

html.a11y-pause-animations,
html.a11y-pause-animations body > :not(.a11y-widget):not(.a11y-skip-link),
html.a11y-pause-animations body > :not(.a11y-widget):not(.a11y-skip-link) * {
    scroll-behavior: auto !important;
    animation-delay: 0s !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0.001ms !important;
}

html.a11y-large-cursor body > :not(.a11y-widget):not(.a11y-skip-link),
html.a11y-large-cursor body > :not(.a11y-widget):not(.a11y-skip-link) * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath fill='%23fff' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M5 3v25l7-6 5 11 5-2-5-11 9-1L5 3z'/%3E%3C/svg%3E") 5 3, auto !important;
}

html.a11y-large-cursor body > :not(.a11y-widget):not(.a11y-skip-link) :where(a, button, input, select, textarea, label[for], [role="button"]) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath fill='%23ffeb3b' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M5 3v25l7-6 5 11 5-2-5-11 9-1L5 3z'/%3E%3C/svg%3E") 5 3, pointer !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    body > :not(.a11y-widget):not(.a11y-skip-link),
    body > :not(.a11y-widget):not(.a11y-skip-link) * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .a11y-widget *,
    .a11y-skip-link {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 480px) {
    .a11y-widget {
        right: 12px;
        bottom: 12px;
    }

    .a11y-trigger {
        width: 58px;
        padding: 0;
    }

    .a11y-trigger > span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .a11y-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 94px);
        border-radius: 15px;
    }

    .a11y-panel__body {
        max-height: calc(100vh - 204px);
    }

    .a11y-panel__header {
        padding: 17px 16px 15px;
    }
}

@media (max-width: 350px) {
    .a11y-action-row {
        grid-template-columns: 1fr;
    }

    .a11y-category-panel {
        padding: 11px;
    }

    .a11y-options {
        grid-template-columns: 1fr;
    }

    .a11y-option {
        min-height: 88px;
    }

    .a11y-text-size {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (forced-colors: active) {
    .a11y-trigger,
    .a11y-panel,
    .a11y-category-tab[aria-selected="true"],
    .a11y-assist-action[aria-pressed="true"],
    .a11y-option[aria-pressed="true"] {
        border: 2px solid ButtonText;
    }

    .a11y-category-tab[aria-selected="true"],
    .a11y-assist-action[aria-pressed="true"],
    .a11y-option[aria-pressed="true"] {
        forced-color-adjust: none;
        color: #ffffff;
        background: #000000;
    }
}
