/* GNSH V47 — professional, WCAG-oriented accessibility and reading tools */
:root {
    --gh46-a11y-blue: #0758b7;
    --gh46-a11y-blue-dark: #063c7a;
    --gh46-a11y-cyan: #0b8392;
    --gh46-a11y-red: #dc3545;
    --gh46-a11y-green: #087b6d;
    --gh46-a11y-ink: #142f53;
    --gh46-a11y-muted: #61738b;
    --gh46-a11y-line: #dbe5f0;
    --gh46-a11y-bg: #f4f7fb;
    --gh46-a11y-shadow: 0 24px 70px rgba(7, 38, 82, .24);
    --gh46-font-percent: 100%;
    --gh46-guide-y: 50vh;
}

html {
    scroll-behavior: smooth;
    font-size: var(--gh46-font-percent, 100%);
}

body.gh-public.government-v46 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.government-v46 .government-footer-v27 {
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   Centered floating launcher and left accessibility drawer
   -------------------------------------------------------------------------- */
.gh46-accessibility {
    position: fixed;
    z-index: 2147481000;
    right: 0;
    left: 0;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 64px;
    margin-inline: auto;
    font-family: inherit;
    color: var(--gh46-a11y-ink);
}

.gh46-accessibility__launchers {
    position: relative;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh46-accessibility__launcher,
.gh46-accessibility__top {
    appearance: none;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 3px solid rgba(255, 255, 255, .98);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(5, 57, 126, .32), 0 0 0 2px #0862c7;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gh46-accessibility__launcher {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1175dd 0%, #0758b7 55%, #063d82 100%);
}

.gh46-accessibility__launcher::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: inherit;
    pointer-events: none;
}

.gh46-accessibility__launcher-icon {
    display: grid;
    place-items: center;
}

.gh46-accessibility__launcher svg,
.gh46-accessibility__header-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gh46-accessibility__launcher-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 13px);
    min-width: max-content;
    padding: 7px 11px;
    border: 1px solid #d8e4f1;
    border-radius: 8px;
    background: #fff;
    color: #17365f;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .01em;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 5px);
    box-shadow: 0 8px 24px rgba(7, 38, 82, .18);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.gh46-accessibility__launcher:hover .gh46-accessibility__launcher-label,
.gh46-accessibility__launcher:focus-visible .gh46-accessibility__launcher-label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.gh46-accessibility__active-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #dc2f45;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(117, 9, 26, .28);
}

.gh46-accessibility__active-badge[hidden] {
    display: none !important;
}

.gh46-accessibility__top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 12px));
    width: 42px;
    height: 42px;
    border-width: 2px;
    border-radius: 50%;
    background: #fff;
    color: var(--gh46-a11y-blue);
    box-shadow: 0 8px 22px rgba(7, 38, 82, .2), 0 0 0 1px #c8d8eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.94);
}

.gh46-accessibility__backdrop {
    position: fixed;
    z-index: 6;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    border: 0;
    background: rgba(5, 25, 52, .38);
    opacity: 0;
    cursor: default;
    backdrop-filter: blur(1.5px);
    transition: opacity .24s ease;
}

.gh46-accessibility__backdrop[hidden] {
    display: none !important;
}

.gh46-accessibility.is-panel-open .gh46-accessibility__backdrop {
    opacity: 1;
}

.gh46-accessibility__top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gh46-accessibility__top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gh46-accessibility__launcher:hover,
.gh46-accessibility__launcher:focus-visible {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 15px 36px rgba(5, 57, 126, .4), 0 0 0 3px rgba(23, 120, 219, .32);
}

.gh46-accessibility__top:hover,
.gh46-accessibility__top:focus-visible {
    color: #fff;
    background: var(--gh46-a11y-blue);
    transform: translateY(-2px);
}

.gh46-accessibility__panel {
    position: fixed;
    z-index: 8;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(500px, calc(100vw - 44px));
    overflow: hidden;
    border: 0;
    border-right: 1px solid #cbd9e8;
    border-radius: 0 22px 22px 0;
    background: #fff;
    box-shadow: var(--gh46-a11y-shadow);
    opacity: .92;
    transform: translateX(-100%);
    transition: transform .26s cubic-bezier(.2, .75, .25, 1), opacity .2s ease;
}

.gh46-accessibility__panel[hidden] {
    display: none !important;
}

.gh46-accessibility.is-panel-open .gh46-accessibility__panel {
    opacity: 1;
    transform: translateX(0);
}

.gh46-accessibility__header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 19px 18px 17px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 0, rgba(41, 191, 184, .34), transparent 38%),
        linear-gradient(135deg, #063b7a 0%, #075db2 62%, #087d76 100%);
    border-bottom: 3px solid var(--gh46-a11y-red);
}

.gh46-accessibility__header-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.gh46-accessibility__header-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 13px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.gh46-accessibility__header-icon svg {
    width: 27px;
    height: 27px;
}

.gh46-accessibility__kicker,
.gh46-accessibility__eyebrow {
    display: block;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gh46-accessibility__kicker {
    margin-bottom: 3px;
    color: #d7eaff;
}

.gh46-accessibility__header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.25;
}

.gh46-accessibility__header p {
    max-width: 290px;
    margin: 4px 0 0;
    color: #eaf3ff;
    font-size: .8rem;
    line-height: 1.45;
}

.gh46-accessibility__header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

.gh46-accessibility__header-reset,
.gh46-accessibility__close {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 10px;
    background: rgba(0, 0, 0, .12);
    color: #fff;
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
}

.gh46-accessibility__header-reset svg,
.gh46-accessibility__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gh46-accessibility__close {
    width: 40px;
    padding: 0;
}

.gh46-accessibility__header-reset:hover,
.gh46-accessibility__close:hover {
    background: rgba(255, 255, 255, .2);
}

.gh46-accessibility__status-strip {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #dce6f1;
    background: #f7faff;
    color: #57708e;
    font-size: .72rem;
}

.gh46-accessibility__status-strip strong {
    color: #163b68;
    font-size: .76rem;
}

.gh46-accessibility__status-strip > span:last-child {
    grid-column: 2;
}

.gh46-accessibility__status-dot {
    grid-row: 1 / span 2;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8799ae;
    box-shadow: 0 0 0 4px #e7edf4;
}

.gh46-accessibility.has-active-settings .gh46-accessibility__status-dot {
    background: #0b8d75;
    box-shadow: 0 0 0 4px #d9f3ec;
}

.gh46-accessibility__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 17px 18px;
    background: var(--gh46-a11y-bg);
    scrollbar-width: thin;
    scrollbar-color: #9eb4d0 transparent;
}

.gh46-accessibility__body::-webkit-scrollbar {
    width: 8px;
}

.gh46-accessibility__body::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 99px;
    background: #9db1c9;
    background-clip: padding-box;
}

.gh46-accessibility__group {
    padding: 16px 2px 18px;
    border: 0;
    border-bottom: 1px solid var(--gh46-a11y-line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.gh46-accessibility__group + .gh46-accessibility__group,
.gh46-accessibility__group + .gh46-accessibility__help-row {
    margin-top: 0;
}

.gh46-accessibility__group-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gh46-accessibility__eyebrow {
    margin-bottom: 2px;
    color: var(--gh46-a11y-blue);
}

.gh46-accessibility__group-heading h3 {
    margin: 0;
    color: var(--gh46-a11y-ink);
    font-size: .98rem;
    line-height: 1.3;
}

.gh46-accessibility__group-heading > small {
    max-width: 130px;
    color: #71839a;
    font-size: .68rem;
    line-height: 1.35;
    text-align: right;
}

.gh46-accessibility__section-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border-radius: 10px;
    background: #eaf3fd;
    color: var(--gh46-a11y-blue);
    font-size: .8rem;
    font-weight: 900;
}

.gh46-accessibility__preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.gh46-accessibility__preset-grid button {
    appearance: none;
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 96px;
    padding: 9px 6px;
    border: 1px solid #d6e1ed;
    border-radius: 12px;
    background: #fbfdff;
    color: var(--gh46-a11y-ink);
    font: inherit;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.gh46-accessibility__preset-grid button > span:last-child {
    min-width: 0;
}

.gh46-accessibility__preset-grid strong,
.gh46-accessibility__preset-grid small {
    display: block;
    text-align: center;
}

.gh46-accessibility__preset-grid strong {
    font-size: .76rem;
    line-height: 1.25;
}

.gh46-accessibility__preset-grid small {
    margin-top: 2px;
    color: #6c7f97;
    font-size: .65rem;
    line-height: 1.25;
}

.gh46-accessibility__preset-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e6f1ff;
    color: #0758b7;
    font-size: .79rem;
    font-weight: 900;
}

.gh46-accessibility__preset-icon.is-focus {
    background: #e5f6f3;
    color: #087b6d;
    font-size: 1rem;
}

.gh46-accessibility__preset-icon.is-night {
    background: #eae8fb;
    color: #4d4892;
    font-size: 1rem;
}

.gh46-accessibility__control-block {
    padding: 10px;
    border: 1px solid #e1e9f2;
    border-radius: 11px;
    background: #fbfcfe;
}

.gh46-accessibility__control-block + .gh46-accessibility__control-block,
.gh46-accessibility__control-block + .gh46-accessibility__option-grid,
.gh46-accessibility__visual-grid + .gh46-accessibility__control-block,
.gh46-accessibility__control-block + .gh46-accessibility__visual-grid {
    margin-top: 9px;
}

.gh46-accessibility__control-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: #385570;
    font-size: .72rem;
    font-weight: 800;
}

.gh46-accessibility__control-label output {
    padding: 2px 7px;
    border-radius: 999px;
    background: #e6f1ff;
    color: var(--gh46-a11y-blue);
    font-size: .7rem;
}

.gh46-accessibility :where(
    .gh46-accessibility__font-row button,
    .gh46-accessibility__choice-grid button,
    .gh46-accessibility__option-grid button,
    .gh46-accessibility__visual-grid button,
    .gh46-accessibility__wide-toggle,
    .gh46-accessibility__speech-primary button,
    .gh46-accessibility__speech-transport button,
    .gh46-accessibility__help-row button
) {
    appearance: none;
    min-height: 44px;
    border: 1px solid #cddbea;
    border-radius: 10px;
    background: #fff;
    color: #17365f;
    font: inherit;
    font-size: .78rem;
    font-weight: 780;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.gh46-accessibility :where(
    .gh46-accessibility__font-row button,
    .gh46-accessibility__choice-grid button,
    .gh46-accessibility__option-grid button,
    .gh46-accessibility__visual-grid button,
    .gh46-accessibility__wide-toggle,
    .gh46-accessibility__speech-primary button,
    .gh46-accessibility__speech-transport button,
    .gh46-accessibility__help-row button
):hover {
    border-color: #83a8d2;
    background: #f2f7fd;
}

.gh46-accessibility :where(
    .gh46-accessibility__font-row button,
    .gh46-accessibility__choice-grid button,
    .gh46-accessibility__option-grid button,
    .gh46-accessibility__visual-grid button,
    .gh46-accessibility__wide-toggle,
    .gh46-accessibility__preset-grid button
)[aria-pressed="true"] {
    border-color: #1a69bd;
    background: #e8f2fd;
    color: #063c7a;
    box-shadow: inset 3px 0 0 #1a69bd;
}

.gh46-accessibility__font-row,
.gh46-accessibility__choice-grid {
    display: grid;
    gap: 7px;
}

.gh46-accessibility__font-row,
.gh46-accessibility__choice-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh46-accessibility__font-row button:nth-child(2) {
    font-size: .9rem;
}

.gh46-accessibility__font-row button:nth-child(3) {
    font-size: 1rem;
}

.gh46-accessibility__option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 9px;
}

.gh46-accessibility__option-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gh46-accessibility__option-grid button,
.gh46-accessibility__help-row button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px;
    text-align: left;
}

.gh46-accessibility__option-grid button > span:first-child,
.gh46-accessibility__help-row button > span:first-child {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: #edf4fc;
    color: var(--gh46-a11y-blue);
    font-size: .78rem;
    font-weight: 900;
}

.gh46-accessibility__option-grid button > span:last-child,
.gh46-accessibility__help-row button > span:last-child {
    min-width: 0;
}

.gh46-accessibility__option-grid strong,
.gh46-accessibility__option-grid small,
.gh46-accessibility__help-row strong,
.gh46-accessibility__help-row small {
    display: block;
}

.gh46-accessibility__option-grid strong,
.gh46-accessibility__help-row strong {
    font-size: .73rem;
}

.gh46-accessibility__option-grid small,
.gh46-accessibility__help-row small {
    margin-top: 2px;
    overflow: hidden;
    color: #6d8097;
    font-size: .64rem;
    font-weight: 560;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.gh46-accessibility__visual-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.gh46-accessibility__visual-grid button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    min-height: 70px;
    padding: 7px 4px;
    text-align: center;
    font-size: .66rem;
}

.gh46-accessibility__swatch {
    display: block;
    width: 31px;
    height: 20px;
    border: 1px solid #7f93aa;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
}

.gh46-accessibility__swatch.is-high { background: linear-gradient(90deg, #fff 50%, #000 50%); }
.gh46-accessibility__swatch.is-dark { background: linear-gradient(90deg, #101828 70%, #ffe11a 70%); }
.gh46-accessibility__swatch.is-gray { background: linear-gradient(90deg, #eee, #777, #111); }
.gh46-accessibility__swatch.is-soft { background: linear-gradient(90deg, #f7f1dc 48%, #406d73 48%); }

.gh46-accessibility__wide-toggle {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    text-align: left;
}

.gh46-accessibility__wide-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fdebee;
    color: #b72538;
}

.gh46-accessibility__wide-toggle strong,
.gh46-accessibility__wide-toggle small {
    display: block;
}

.gh46-accessibility__wide-toggle small {
    margin-top: 2px;
    color: var(--gh46-a11y-muted);
    font-size: .65rem;
    font-weight: 550;
}

.gh46-accessibility__switch {
    position: relative;
    width: 36px;
    height: 21px;
    border-radius: 999px;
    background: #afbdcb;
    transition: background-color .15s ease;
}

.gh46-accessibility__switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}

.gh46-accessibility__wide-toggle[aria-pressed="true"] .gh46-accessibility__switch {
    background: #1972c8;
}

.gh46-accessibility__wide-toggle[aria-pressed="true"] .gh46-accessibility__switch::after {
    transform: translateX(15px);
}

.gh46-accessibility__speech-primary,
.gh46-accessibility__speech-transport {
    display: grid;
    gap: 8px;
}

.gh46-accessibility__speech-primary {
    grid-template-columns: 1.15fr 1fr;
}

.gh46-accessibility__speech-transport {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
}

.gh46-accessibility__speech-primary button,
.gh46-accessibility__speech-transport button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 7px;
}

.gh46-accessibility__speech-primary button.is-primary {
    border-color: var(--gh46-a11y-blue);
    background: linear-gradient(135deg, #0d6ed2, #0753a9);
    color: #fff;
}

.gh46-accessibility__speech button:disabled {
    cursor: not-allowed;
    opacity: .48;
    background: #eef2f6;
    color: #6f7e90;
}

.gh46-accessibility__speech-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 10px;
}

.gh46-accessibility__speech-settings label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #425e7b;
    font-size: .68rem;
    font-weight: 800;
}

.gh46-accessibility__speech-settings select {
    width: 100%;
    min-height: 40px;
    padding: 6px 28px 6px 8px;
    border: 1px solid #cbd9e8;
    border-radius: 9px;
    background: #fff;
    color: #17365f;
    font: inherit;
    font-size: .7rem;
}

.gh46-accessibility__range-row {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) 40px;
    gap: 7px;
    align-items: center;
    min-height: 40px;
    padding: 0 8px;
    border: 1px solid #cbd9e8;
    border-radius: 9px;
    background: #fff;
}

.gh46-accessibility__range-row input {
    width: 100%;
    min-width: 0;
    accent-color: var(--gh46-a11y-blue);
}

.gh46-accessibility__range-row output {
    color: var(--gh46-a11y-blue);
    font-size: .7rem;
    font-weight: 900;
    text-align: right;
}

.gh46-accessibility__speech-progress {
    height: 4px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe8f2;
}

.gh46-accessibility__speech-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #087b6d, #0d6ed2);
    transition: width .2s ease;
}

.gh46-accessibility__speech-status {
    min-height: 1.35em;
    margin: 7px 0 0;
    color: #667c94;
    font-size: .69rem;
    line-height: 1.4;
}

.gh46-accessibility__help-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gh46-accessibility__help-row button.is-reset {
    color: #9e2938;
}

.gh46-accessibility__help-row button.is-reset > span:first-child {
    background: #fdecef;
    color: #a5273a;
}

.gh46-accessibility__footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--gh46-a11y-line);
    background: #fff;
    color: #6b7d94;
    font-size: .68rem;
}

.gh46-accessibility__footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gh46-accessibility__privacy-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b8d75;
    box-shadow: 0 0 0 3px #dcf4ed;
}

.gh46-accessibility kbd,
.gh46-keyboard-help kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    min-height: 23px;
    padding: 2px 6px;
    border: 1px solid #aebed1;
    border-bottom-width: 2px;
    border-radius: 5px;
    background: #fff;
    color: #233f64;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 800;
    box-shadow: none;
}

.gh46-accessibility :where(button, select, input):focus-visible,
.gh46-keyboard-help button:focus-visible {
    outline: 3px solid #ffbf47 !important;
    outline-offset: 2px !important;
}

/* Keyboard help dialog */
.gh46-keyboard-help {
    width: min(620px, calc(100vw - 28px));
    max-height: min(82vh, 720px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #c7d6e8;
    border-radius: 18px;
    color: var(--gh46-a11y-ink);
    background: #fff;
    box-shadow: 0 24px 70px rgba(2, 28, 66, .36);
}

.gh46-keyboard-help::backdrop {
    background: rgba(5, 24, 49, .64);
    backdrop-filter: blur(3px);
}

.gh46-keyboard-help__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 18px;
    border-bottom: 3px solid var(--gh46-a11y-red);
    background: linear-gradient(135deg, #073b7b, #0b5a9d);
    color: #fff;
}

.gh46-keyboard-help__header span {
    display: block;
    margin-bottom: 4px;
    color: #d8eaff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gh46-keyboard-help__header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.gh46-keyboard-help__header button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    background: rgba(0, 0, 0, .16);
    color: #fff;
    font-size: 1.45rem;
    cursor: pointer;
}

.gh46-keyboard-help__body {
    max-height: 55vh;
    overflow: auto;
    padding: 12px 18px 18px;
}

.gh46-keyboard-help__body dl { margin: 0; }

.gh46-keyboard-help__body dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 150px) 1fr;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #e1e9f3;
}

.gh46-keyboard-help__body dt,
.gh46-keyboard-help__body dd { margin: 0; }

.gh46-keyboard-help__body dd {
    color: #536b89;
    line-height: 1.55;
}

.gh46-keyboard-help__footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 18px;
    border-top: 1px solid #dce6f1;
    background: #f7fafd;
}

.gh46-keyboard-help__footer button {
    min-height: 44px;
    padding: 8px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--gh46-a11y-blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.gh46-keyboard-help.is-fallback-open {
    position: fixed;
    z-index: 2147482000;
    inset: 50% auto auto 50%;
    display: block;
    transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   Reading guide and user preference modes
   -------------------------------------------------------------------------- */
.gh46-reading-guide {
    position: fixed;
    z-index: 2;
    top: var(--gh46-guide-y, 50vh);
    left: 0;
    width: 100vw;
    height: 54px;
    border-top: 2px solid rgba(8, 88, 183, .75);
    border-bottom: 2px solid rgba(8, 88, 183, .75);
    background: rgba(255, 245, 153, .13);
    box-shadow:
        0 -100vh 0 calc(100vh - 27px) rgba(8, 26, 52, .16),
        0 100vh 0 calc(100vh - 27px) rgba(8, 26, 52, .16);
    transform: translateY(-50%);
    pointer-events: none;
}

.gh46-reading-guide[hidden] { display: none !important; }

html.gh46-font-readable body,
html.gh46-font-readable body :where(input, button, select, textarea) {
    font-family: "Atkinson Hyperlegible", "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif !important;
}

html.gh46-dyslexia body,
html.gh46-dyslexia body :where(input, button, select, textarea) {
    font-family: OpenDyslexic, "Atkinson Hyperlegible", Verdana, Tahoma, Arial, sans-serif !important;
    letter-spacing: .025em;
    word-spacing: .075em;
}

html.gh46-line-spacing body :where(p, li, dd, dt, blockquote, td, th, label, input, textarea, select) {
    line-height: 1.9 !important;
}

html.gh46-letter-spacing body :where(p, li, dd, dt, blockquote, td, th, label, input, textarea, select, button, a) {
    letter-spacing: .075em !important;
    word-spacing: .12em !important;
}

html.gh46-align-left #mainContent :where(p, li, dd, dt, blockquote, td, th, h1, h2, h3, h4, h5, h6) { text-align: left !important; }
html.gh46-align-center #mainContent :where(p, li, dd, dt, blockquote, td, th, h1, h2, h3, h4, h5, h6) { text-align: center !important; }
html.gh46-align-right #mainContent :where(p, li, dd, dt, blockquote, td, th, h1, h2, h3, h4, h5, h6) { text-align: right !important; }

html.gh46-highlight-links body a:not(.gh46-accessibility__launcher):not(.gh46-accessibility__top) {
    text-decoration: underline !important;
    text-decoration-thickness: .14em !important;
    text-underline-offset: .18em !important;
    outline: 2px solid #e7ad00 !important;
    outline-offset: 2px !important;
    background-color: #fff3a6 !important;
    color: #001b5a !important;
}

html.gh46-focus-highlight body :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 4px solid #ffb400 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .92) !important;
}

html.gh46-large-cursor,
html.gh46-large-cursor body,
html.gh46-large-cursor body * {
    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='M5 3v32l9-9 6 14 7-3-6-13h14z' fill='%23fff' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}

html.gh46-hide-images body :where(header, main, footer) img,
html.gh46-hide-images body :where(header, main, footer) picture,
html.gh46-hide-images body :where(header, main, footer) video,
html.gh46-hide-images body :where(header, main, footer) .swiper-wrapper,
html.gh46-hide-images body :where(header, main, footer) [data-decorative-image] {
    display: none !important;
}

html.gh46-grayscale body > :not(.gh46-accessibility):not(.gh46-keyboard-help) { filter: grayscale(1) !important; }
html.gh46-saturation-low body > :not(.gh46-accessibility):not(.gh46-keyboard-help) { filter: saturate(.45); }
html.gh46-saturation-high body > :not(.gh46-accessibility):not(.gh46-keyboard-help) { filter: saturate(1.65); }
html.gh46-grayscale.gh46-saturation-low body > :not(.gh46-accessibility):not(.gh46-keyboard-help),
html.gh46-grayscale.gh46-saturation-high body > :not(.gh46-accessibility):not(.gh46-keyboard-help) { filter: grayscale(1) !important; }

html.gh46-soft-colours body {
    background: #f7f2df !important;
    color: #263e43 !important;
}

html.gh46-soft-colours body :where(main, section, article, aside, nav, header, footer, form, table) {
    border-color: #b9c9c7 !important;
}

html.gh46-soft-colours body :where(a, button) { color: #174f62; }

html.gh46-high-contrast body {
    background: #fff !important;
    color: #000 !important;
}

html.gh46-high-contrast body :where(main, section, article, aside, nav, header, footer, table, form, div:not(.gh46-accessibility__swatch)) {
    background-color: #fff !important;
    background-image: none !important;
    color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.gh46-high-contrast body :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, span, small, strong, label, th, td) {
    color: #000 !important;
    text-shadow: none !important;
}

html.gh46-high-contrast body :where(a, button) {
    color: #0000c8 !important;
    text-decoration: underline !important;
}

html.gh46-high-contrast body :where(button, input, select, textarea) {
    border: 2px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
}

html.gh46-high-contrast body :focus-visible {
    outline: 4px solid #d40000 !important;
    outline-offset: 3px !important;
}

html.gh46-dark-contrast body,
html.gh46-dark-contrast body :where(main, section, article, aside, nav, header, footer, form, table, div:not(.gh46-accessibility__swatch)) {
    background-color: #050505 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.gh46-dark-contrast body :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, span, small, strong, label, th, td) { color: #fff !important; }
html.gh46-dark-contrast body a { color: #ffe600 !important; text-decoration: underline !important; }

html.gh46-dark-contrast body :where(button, input, select, textarea) {
    border: 2px solid #fff !important;
    background: #000 !important;
    color: #fff !important;
}

html.gh46-dark-contrast body :focus-visible {
    outline: 4px solid #ffe600 !important;
    outline-offset: 3px !important;
}

html.gh46-dark-contrast .gh46-accessibility__panel,
html.gh46-dark-contrast .gh46-keyboard-help { color-scheme: dark; }

html.gh46-stop-motion,
html.gh46-stop-motion body { scroll-behavior: auto !important; }

html.gh46-stop-motion *,
html.gh46-stop-motion *::before,
html.gh46-stop-motion *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
}

/* Restrained page reveal motion */
html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .56s cubic-bezier(.2, .7, .2, 1), transform .56s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}

html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal].is-gh46-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal-delay="1"] { transition-delay: .05s; }
html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal-delay="2"] { transition-delay: .1s; }
html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal-delay="3"] { transition-delay: .15s; }
html.gh46-motion-ready:not(.gh46-stop-motion) [data-gh46-reveal-delay="4"] { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    [data-gh46-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive layout
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .gh46-accessibility {
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 58px;
    }

    .gh46-accessibility__launcher {
        width: 58px;
        height: 58px;
    }

    .gh46-accessibility__launcher svg {
        width: 31px;
        height: 31px;
    }

    .gh46-accessibility__panel {
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        width: min(430px, calc(100vw - 28px));
        border-radius: 0 18px 18px 0;
    }

    body.gh46-sidebar-open { overflow: hidden; }

    .gh46-accessibility__top {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(72px, calc(env(safe-area-inset-bottom) + 10px));
    }

    .gh46-accessibility__header {
        padding: 16px 14px;
    }

    .gh46-accessibility__header-icon {
        width: 42px;
        height: 42px;
    }

    .gh46-accessibility__header p {
        display: none;
    }

    .gh46-accessibility__header-reset span {
        display: none;
    }

    .gh46-accessibility__header-reset {
        width: 40px;
        padding: 0;
    }

    .gh46-accessibility__body {
        padding: 12px 14px 16px;
    }

    .gh46-accessibility__footer {
        padding: 8px 11px;
    }

    .gh46-keyboard-help__body dl > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}

@media (max-width: 430px) {
    .gh46-accessibility__header-main {
        gap: 8px;
    }

    .gh46-accessibility__header-icon {
        display: none;
    }

    .gh46-accessibility__header h2 {
        font-size: 1.12rem;
    }

    .gh46-accessibility__kicker {
        font-size: .6rem;
    }

    .gh46-accessibility__status-strip > span:last-child {
        display: none;
    }

    .gh46-accessibility__status-strip {
        grid-template-columns: auto 1fr;
        padding: 8px 13px;
    }

    .gh46-accessibility__status-dot {
        grid-row: auto;
    }

    .gh46-accessibility__group {
        padding: 14px 1px 16px;
    }

    .gh46-accessibility__preset-grid {
        grid-template-columns: 1fr;
    }

    .gh46-accessibility__preset-grid button {
        grid-template-columns: auto 1fr;
        justify-items: start;
        align-items: center;
        min-height: 58px;
        padding: 8px 10px;
    }

    .gh46-accessibility__preset-grid strong,
    .gh46-accessibility__preset-grid small {
        text-align: left;
    }

    .gh46-accessibility__option-grid.is-two,
    .gh46-accessibility__help-row,
    .gh46-accessibility__speech-settings {
        grid-template-columns: 1fr;
    }

    .gh46-accessibility__visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gh46-accessibility__visual-grid button {
        grid-template-columns: auto 1fr;
        justify-items: start;
        min-height: 48px;
        padding: 7px 9px;
        text-align: left;
    }

    .gh46-accessibility__speech-primary {
        grid-template-columns: 1fr;
    }

    .gh46-accessibility__footer > span:first-child {
        max-width: 185px;
    }
}

@media print {
    .gh46-accessibility,
    .gh46-keyboard-help,
    .gh46-reading-guide {
        display: none !important;
    }

    [data-gh46-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
