/* =========================
   A11Y Modları + Widget UI
   (WCAG 2.1 AA — bordo paletli, card-tabanlı modern UI)
   ========================= */

/* -------------------------
   Varsayılan A11Y token'ları
   ------------------------- */
:root {
    --a11y-bg: var(--surface, #fff);
    --a11y-text: var(--text, #111);
    --a11y-muted: var(--text-muted, #6b7280);
    --a11y-surface: #ffffff;
    --a11y-panel-bg: #f4f7fc;
    --a11y-border: rgba(139, 0, 0, 0.14);
    --a11y-border-strong: rgba(139, 0, 0, 0.30);
    --a11y-focus: var(--focus-ring, #ffd54a);
    --a11y-link: var(--link, var(--msb-bordo));
    --a11y-line-height: 1.45;
    --a11y-letter-spacing: normal;
    --a11y-word-spacing: normal;
    --a11y-font-scale: 100;
    --a11y-shadow: 0 12px 32px rgba(20, 25, 45, .18);
    --a11y-radius: 18px;
    --a11y-radius-sm: 12px;
}

/* -------------------------
   Global font scale + line-height + spacing
   ------------------------- */
body {
    line-height: var(--a11y-line-height);
    letter-spacing: var(--a11y-letter-spacing);
    word-spacing: var(--a11y-word-spacing);
    font-size: calc(1rem * (var(--a11y-font-scale, 100) / 100));
}

/* Panel açıkken sayfa scroll'u kilitle */
body.a11y-open {
    overflow: hidden;
}

/* -------------------------
   Yüksek Kontrast (WCAG 1.4.3 / 1.4.11)
   ------------------------- */
html[data-a11y-contrast="high"] {
    --a11y-bg: #000;
    --a11y-text: #fff;
    --a11y-muted: #e5e5e5;
    --a11y-surface: #111;
    --a11y-panel-bg: #1a1a1a;
    --a11y-border: rgba(255,255,255,.22);
    --a11y-focus: #ffd54a;
    --a11y-link: #8fd3ff;
}

html[data-a11y-contrast="high"] body {
    background: var(--a11y-bg) !important;
    color: var(--a11y-text) !important;
}

html[data-a11y-contrast="high"] a {
    color: var(--a11y-link) !important;
    text-decoration: underline !important;
}

html[data-a11y-contrast="high"] img {
    filter: contrast(1.1) brightness(1.05);
}

html[data-a11y-contrast="high"] .card,
html[data-a11y-contrast="high"] .event-card,
html[data-a11y-contrast="high"] .announcement-card,
html[data-a11y-contrast="high"] .home-kart,
html[data-a11y-contrast="high"] .modal-content {
    background: var(--a11y-surface) !important;
    color: var(--a11y-text) !important;
    border: 1px solid var(--a11y-border) !important;
}

html[data-a11y-contrast="high"] .navbar-bordo {
    border: 1px solid rgba(255,255,255,.3) !important;
}

html[data-a11y-contrast="high"] .footer-bordo {
    border-top: 2px solid rgba(255,255,255,.3) !important;
}

/* -------------------------
   Negatif Kontrast (Invert)
   ------------------------- */
html[data-a11y-negative="on"] body {
    background: #fff;
}

html[data-a11y-negative="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: invert(1) hue-rotate(180deg);
}

html[data-a11y-negative="on"] img,
html[data-a11y-negative="on"] video,
html[data-a11y-negative="on"] iframe,
html[data-a11y-negative="on"] picture,
html[data-a11y-negative="on"] svg image {
    filter: invert(1) hue-rotate(180deg);
}

/* -------------------------
   Açık Zemin
   ------------------------- */
html[data-a11y-light="on"] body,
html[data-a11y-light="on"] main,
html[data-a11y-light="on"] section,
html[data-a11y-light="on"] article,
html[data-a11y-light="on"] aside,
html[data-a11y-light="on"] .card,
html[data-a11y-light="on"] .home-kart,
html[data-a11y-light="on"] .announcement-card,
html[data-a11y-light="on"] .event-card {
    background: #ffffff !important;
    color: #1a1a1a !important;
}

html[data-a11y-light="on"] body {
    background-image: none !important;
}

/* -------------------------
   Gri Tonlama
   ------------------------- */
html[data-a11y-grayscale="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: grayscale(100%);
}

/* -------------------------
   Düşük Doygunluk
   ------------------------- */
html[data-a11y-lowsat="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: saturate(0.6);
}

/* -------------------------
   Yüksek Doygunluk
   ------------------------- */
html[data-a11y-highsat="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: saturate(1.6);
}

/* -------------------------
   Renk Körlüğü Filtreleri
   ------------------------- */
html[data-a11y-cvd="protanopia"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='p'><feColorMatrix type='matrix' values='0.567 0.433 0 0 0  0.558 0.442 0 0 0  0 0.242 0.758 0 0  0 0 0 1 0'/></filter></svg>#p");
}

html[data-a11y-cvd="deuteranopia"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='d'><feColorMatrix type='matrix' values='0.625 0.375 0 0 0  0.7 0.3 0 0 0  0 0.3 0.7 0 0  0 0 0 1 0'/></filter></svg>#d");
}

html[data-a11y-cvd="tritanopia"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='t'><feColorMatrix type='matrix' values='0.95 0.05 0 0 0  0 0.433 0.567 0 0  0 0.475 0.525 0 0  0 0 0 1 0'/></filter></svg>#t");
}

/* Birden fazla filtre üst üste binerse zincirle (basit kombinler) */
html[data-a11y-grayscale="on"][data-a11y-lowsat="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: grayscale(100%) saturate(0.6);
}

html[data-a11y-negative="on"][data-a11y-grayscale="on"] body > *:not([class*="a11y-"]):not(.skip-link) {
    filter: invert(1) hue-rotate(180deg) grayscale(100%);
}

/* -------------------------
   Geniş satır aralığı
   ------------------------- */
html[data-a11y-line="wide"] {
    --a11y-line-height: 1.85;
}

html[data-a11y-line="wide"] p,
html[data-a11y-line="wide"] li,
html[data-a11y-line="wide"] td,
html[data-a11y-line="wide"] th {
    line-height: 1.85 !important;
}

/* -------------------------
   Geniş harf aralığı
   ------------------------- */
html[data-a11y-letter="wide"] {
    --a11y-letter-spacing: 0.12em;
}

html[data-a11y-letter="wide"] body,
html[data-a11y-letter="wide"] p,
html[data-a11y-letter="wide"] li,
html[data-a11y-letter="wide"] td,
html[data-a11y-letter="wide"] th,
html[data-a11y-letter="wide"] h1,
html[data-a11y-letter="wide"] h2,
html[data-a11y-letter="wide"] h3,
html[data-a11y-letter="wide"] h4,
html[data-a11y-letter="wide"] h5,
html[data-a11y-letter="wide"] h6 {
    letter-spacing: 0.12em !important;
}

/* -------------------------
   Geniş kelime aralığı
   ------------------------- */
html[data-a11y-word="wide"] {
    --a11y-word-spacing: 0.16em;
}

html[data-a11y-word="wide"] body,
html[data-a11y-word="wide"] p,
html[data-a11y-word="wide"] li,
html[data-a11y-word="wide"] td,
html[data-a11y-word="wide"] th {
    word-spacing: 0.16em !important;
}

/* -------------------------
   Disleksi-dostu yazı tipi
   ------------------------- */
html[data-a11y-dyslexia="on"],
html[data-a11y-dyslexia="on"] body,
html[data-a11y-dyslexia="on"] p,
html[data-a11y-dyslexia="on"] li,
html[data-a11y-dyslexia="on"] td,
html[data-a11y-dyslexia="on"] th,
html[data-a11y-dyslexia="on"] h1,
html[data-a11y-dyslexia="on"] h2,
html[data-a11y-dyslexia="on"] h3,
html[data-a11y-dyslexia="on"] h4,
html[data-a11y-dyslexia="on"] h5,
html[data-a11y-dyslexia="on"] h6,
html[data-a11y-dyslexia="on"] a,
html[data-a11y-dyslexia="on"] button,
html[data-a11y-dyslexia="on"] input,
html[data-a11y-dyslexia="on"] textarea,
html[data-a11y-dyslexia="on"] select {
    font-family: "OpenDyslexic", "Comic Sans MS", "Comic Neue", "Arial Rounded MT Bold", Verdana, sans-serif !important;
}

/* -------------------------
   Sola hizala
   ------------------------- */
html[data-a11y-left="on"] body,
html[data-a11y-left="on"] p,
html[data-a11y-left="on"] li,
html[data-a11y-left="on"] td,
html[data-a11y-left="on"] th,
html[data-a11y-left="on"] h1,
html[data-a11y-left="on"] h2,
html[data-a11y-left="on"] h3,
html[data-a11y-left="on"] h4,
html[data-a11y-left="on"] h5,
html[data-a11y-left="on"] h6,
html[data-a11y-left="on"] div {
    text-align: left !important;
    text-justify: none !important;
}

/* -------------------------
   Reduce Motion / Pause
   ------------------------- */
html[data-a11y-motion="reduce"] *,
html[data-a11y-motion="reduce"] *::before,
html[data-a11y-motion="reduce"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

html[data-a11y-pause="on"] *,
html[data-a11y-pause="on"] *::before,
html[data-a11y-pause="on"] *::after {
    animation-play-state: paused !important;
    transition: none !important;
}

html[data-a11y-pause="on"] video {
    animation: none !important;
}

/* -------------------------
   Bağlantıları vurgula
   ------------------------- */
html[data-a11y-hl-links="on"] a {
    background: #fff3a3 !important;
    color: #000 !important;
    box-shadow: 0 0 0 2px #ffcc00 !important;
    text-decoration: underline !important;
    border-radius: 3px;
    padding: 0 2px;
}

html[data-a11y-contrast="high"][data-a11y-hl-links="on"] a {
    background: #000 !important;
    color: #ffd54a !important;
    box-shadow: 0 0 0 2px #ffd54a !important;
}

/* -------------------------
   Büyük imleç
   ------------------------- */
html[data-a11y-cursor="large"],
html[data-a11y-cursor="large"] * {
    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 d='M4 0L4 28L10.5 21.5L16 32L20 30L14.5 19.5L24 19.5Z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 0, auto !important;
}

/* -------------------------
   Odak vurgulama
   ------------------------- */
html[data-a11y-focus="highlight"] :focus-visible {
    outline: 4px solid var(--a11y-focus) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px rgba(255, 213, 74, 0.3) !important;
    border-radius: 4px;
}

/* -------------------------
   Görselleri gizle
   ------------------------- */
html[data-a11y-hide-images="on"] img,
html[data-a11y-hide-images="on"] picture,
html[data-a11y-hide-images="on"] video,
html[data-a11y-hide-images="on"] svg:not(.a11y-keep),
html[data-a11y-hide-images="on"] [style*="background-image"] {
    visibility: hidden !important;
}

/* A11y widget elementleri "Görselleri Gizle" modundan etkilenmez */
html[data-a11y-hide-images="on"] .a11y-fab,
html[data-a11y-hide-images="on"] .a11y-fab *,
html[data-a11y-hide-images="on"] .a11y-fab img,
html[data-a11y-hide-images="on"] .a11y-fab svg,
html[data-a11y-hide-images="on"] .a11y-panel,
html[data-a11y-hide-images="on"] .a11y-panel *,
html[data-a11y-hide-images="on"] .a11y-panel img,
html[data-a11y-hide-images="on"] .a11y-panel svg,
html[data-a11y-hide-images="on"] .a11y-sel-reader-hint,
html[data-a11y-hide-images="on"] .a11y-sel-reader-hint *,
html[data-a11y-hide-images="on"] .skip-link {
    visibility: visible !important;
}

/* -------------------------
   Okuma kılavuzu / maskesi
   ------------------------- */
.a11y-reading-guide {
    position: fixed;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--msb-bordo, #8B0000);
    box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 12px rgba(139, 0, 0, .55);
    z-index: 99996;
    pointer-events: none;
    top: 0;
}

.a11y-reading-mask {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.55);
    z-index: 99995;
    pointer-events: none;
}

.a11y-reading-mask--top { top: 0; height: 0; }
.a11y-reading-mask--bottom { bottom: 0; top: 50%; }

/* -------------------------
   Seçili Alan Okuyucu (tıkla-ve-oku) modu
   ------------------------- */
body.a11y-sel-reader-active,
body.a11y-sel-reader-active * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='14' cy='14' r='11' fill='none' stroke='%238B0000' stroke-width='2.5'/><line x1='14' y1='3' x2='14' y2='25' stroke='%238B0000' stroke-width='2.5'/><line x1='3' y1='14' x2='25' y2='14' stroke='%238B0000' stroke-width='2.5'/><circle cx='14' cy='14' r='2' fill='%238B0000'/></svg>") 14 14, crosshair !important;
}

/* A11y panel/FAB içindeyken normal imleç */
body.a11y-sel-reader-active .a11y-panel,
body.a11y-sel-reader-active .a11y-panel *,
body.a11y-sel-reader-active .a11y-fab,
body.a11y-sel-reader-active .a11y-sel-reader-hint,
body.a11y-sel-reader-active .a11y-sel-reader-hint * {
    cursor: pointer !important;
}

/* Hover edilen okunabilir blok */
.a11y-sel-reader-hover {
    outline: 3px dashed var(--msb-bordo, #8B0000) !important;
    outline-offset: 3px !important;
    background: rgba(139, 0, 0, 0.06) !important;
    border-radius: 6px;
    transition: background .15s ease, outline-color .15s ease;
}

html[data-a11y-contrast="high"] .a11y-sel-reader-hover {
    outline-color: #ffd54a !important;
    background: rgba(255, 213, 74, 0.18) !important;
}

/* Üstte gezinen ipucu şeridi */
.a11y-sel-reader-hint {
    position: fixed;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    z-index: 99998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(139, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    max-width: calc(100vw - 32px);
    animation: a11ySelHintIn .25s ease;
}

@keyframes a11ySelHintIn {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.a11y-sel-reader-hint__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    flex-shrink: 0;
}

.a11y-sel-reader-hint__icon svg { width: 14px; height: 14px; }

.a11y-sel-reader-hint__close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    transition: background .2s ease;
    margin-left: 4px;
}

.a11y-sel-reader-hint__close:hover { background: rgba(255, 255, 255, .28); }
.a11y-sel-reader-hint__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .a11y-sel-reader-hint {
        font-size: 0.78rem;
        padding: 8px 10px 8px 10px;
        gap: 8px;
    }
}

/* -------------------------
   SR only
   ------------------------- */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------
   Skip link
   ------------------------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 99999;
    padding: 12px 18px;
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    border-radius: 8px;
    transform: translateY(-220%);
    transition: transform .15s ease;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

/* =================================================
   ====   YENİ TASARIM: A11Y FAB + PANEL UI       ====
   ================================================= */

/* ---------- FAB ---------- */
.a11y-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(139, 0, 0, .35);
    line-height: 1;
    transition: transform .2s ease, filter .2s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.a11y-fab[data-pos="left"] { right: auto; left: 18px; }
.a11y-fab:hover { filter: brightness(1.08); transform: translateY(-2px); }
.a11y-fab:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 3px;
}

.a11y-fab-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* ---------- Backdrop ---------- */
.a11y-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: transparent;
}

/* ---------- Panel Container ---------- */
.a11y-panel {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 9998;
    width: min(420px, calc(100vw - 28px));
    max-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    background: var(--a11y-panel-bg);
    color: var(--a11y-text);
    border-radius: var(--a11y-radius);
    border: 1px solid var(--a11y-border);
    box-shadow: var(--a11y-shadow);
    overflow: hidden;
    isolation: isolate;
    filter: none !important;
}

.a11y-panel[data-pos="left"] {
    right: auto;
    left: 18px;
}

@media (max-width: 480px) {
    .a11y-panel {
        right: 10px;
        left: 10px;
        bottom: 82px;
        width: auto;
        max-height: calc(100vh - 100px);
    }

    .a11y-panel[data-pos="left"] {
        right: 10px;
        left: 10px;
    }
}

/* ---------- Panel Header ---------- */
.a11y-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    flex-shrink: 0;
}

.a11y-panel__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.a11y-title-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.20);
    border: 1px solid rgba(255,255,255,.30);
    font-size: 1rem;
}

.a11y-iconbtn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s ease;
}

.a11y-iconbtn:hover { background: rgba(255,255,255,.22); }
.a11y-iconbtn:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 3px;
}

/* ---------- Panel Body (scroll) ---------- */
.a11y-panel__body {
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
}

.a11y-panel__body::-webkit-scrollbar { width: 8px; }
.a11y-panel__body::-webkit-scrollbar-thumb {
    background: rgba(139, 0, 0, .25);
    border-radius: 8px;
}

/* ---------- Section Card ---------- */
.a11y-section {
    background: var(--a11y-surface);
    border: 1px solid var(--a11y-border);
    border-radius: var(--a11y-radius);
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(20, 25, 45, .04);
}

html[data-a11y-contrast="high"] .a11y-section {
    background: #111;
    border-color: rgba(255,255,255,.20);
}

.a11y-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.a11y-section__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1f2937;
}

html[data-a11y-contrast="high"] .a11y-section__title { color: #fff; }

.a11y-section__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
    color: var(--msb-bordo, #8B0000);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

html[data-a11y-contrast="high"] .a11y-section__icon {
    background: rgba(255, 213, 74, .14);
    color: #ffd54a;
}

.a11y-section__icon svg { width: 20px; height: 20px; }

.a11y-collapse {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--a11y-border);
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background .2s ease, color .2s ease;
    flex-shrink: 0;
}

.a11y-collapse:hover {
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
    color: var(--msb-bordo, #8B0000);
}

.a11y-collapse:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-section[data-collapsed="true"] .a11y-section__body { display: none; }

/* ---------- Card Grid ---------- */
.a11y-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.a11y-card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Hızlı Profiller cardları daha kompakt */
.a11y-card-grid--2 .a11y-card {
    min-height: 64px;
    padding: 10px 6px;
    gap: 4px;
    font-size: 0.82rem;
}

.a11y-card-grid--2 .a11y-card svg {
    width: 18px;
    height: 18px;
}

/* ---------- Card Button ---------- */
.a11y-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    background: #fff;
    border: 1.5px solid var(--a11y-border);
    border-radius: var(--a11y-radius-sm);
    color: var(--msb-bordo, #8B0000);
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 90px;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}

.a11y-card:hover:not(:disabled) {
    border-color: var(--a11y-border-strong);
    background: var(--msb-light, rgba(139, 0, 0, 0.06));
    transform: translateY(-1px);
}

.a11y-card:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-card:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.a11y-card svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.a11y-card__label {
    display: block;
    color: var(--msb-bordo, #8B0000);
    font-weight: 600;
}

/* Active / pressed state */
.a11y-card[aria-pressed="true"],
.a11y-card.is-active {
    border-color: var(--msb-bordo, #8B0000);
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    box-shadow: 0 8px 18px rgba(139, 0, 0, .25);
}

.a11y-card[aria-pressed="true"] .a11y-card__label,
.a11y-card.is-active .a11y-card__label { color: #fff; }

html[data-a11y-contrast="high"] .a11y-card {
    background: #1b1b1b;
    color: #ffd54a;
    border-color: rgba(255,255,255,.20);
}

html[data-a11y-contrast="high"] .a11y-card[aria-pressed="true"],
html[data-a11y-contrast="high"] .a11y-card.is-active {
    background: #ffd54a;
    color: #000;
    border-color: #ffd54a;
}

html[data-a11y-contrast="high"] .a11y-card[aria-pressed="true"] .a11y-card__label,
html[data-a11y-contrast="high"] .a11y-card.is-active .a11y-card__label { color: #000; }

/* ---------- Inset (sub-panel inside section) ---------- */
.a11y-inset {
    background: var(--a11y-panel-bg);
    border: 1px solid var(--a11y-border);
    border-radius: var(--a11y-radius-sm);
    padding: 12px;
    margin-top: 14px;
}

html[data-a11y-contrast="high"] .a11y-inset {
    background: #181818;
    border-color: rgba(255,255,255,.18);
}

.a11y-inset__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.a11y-inset__title-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
    color: var(--msb-bordo, #8B0000);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.a11y-inset__title-icon svg { width: 16px; height: 16px; }

.a11y-inset__heads {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}

.a11y-inset__heads strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}

html[data-a11y-contrast="high"] .a11y-inset__heads strong { color: #fff; }

.a11y-inset__heads span {
    font-size: 0.78rem;
    color: var(--a11y-muted);
}

/* ---------- Pill Tabs ---------- */
.a11y-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.a11y-pill {
    border: 1.5px solid var(--a11y-border);
    background: #fff;
    color: #4b5563;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all .2s ease;
}

.a11y-pill:hover:not(:disabled) {
    border-color: var(--a11y-border-strong);
    color: var(--msb-bordo, #8B0000);
}

.a11y-pill:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-pill[aria-selected="true"],
.a11y-pill.is-active {
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    border-color: var(--msb-bordo, #8B0000);
    box-shadow: 0 4px 10px rgba(139, 0, 0, .20);
}

html[data-a11y-contrast="high"] .a11y-pill {
    background: #1b1b1b;
    color: #ddd;
    border-color: rgba(255,255,255,.20);
}

html[data-a11y-contrast="high"] .a11y-pill[aria-selected="true"] {
    background: #ffd54a;
    color: #000;
    border-color: #ffd54a;
}

/* ---------- Slider row (− [—————] +) ---------- */
.a11y-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 8px;
}

.a11y-round-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background .2s ease, transform .15s ease;
}

.a11y-round-btn:hover:not(:disabled) {
    background: var(--msb-bordo2, #a30000);
    transform: scale(1.05);
}

.a11y-round-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.a11y-round-btn:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 3px;
}

.a11y-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--msb-light, rgba(139, 0, 0, 0.15));
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.a11y-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--msb-bordo, #8B0000);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(139, 0, 0, .35);
    cursor: pointer;
}

.a11y-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--msb-bordo, #8B0000);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(139, 0, 0, .35);
    cursor: pointer;
}

.a11y-slider:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 213, 74, .5);
}

/* Renkli gradient slider (Renk Ayarı) */
.a11y-slider--rainbow {
    background: linear-gradient(90deg, #ff007f, #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #7f00ff, #ff007f);
}

.a11y-inset__action {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.a11y-link-btn {
    background: none;
    border: none;
    color: var(--msb-bordo, #8B0000);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: background .2s ease;
}

.a11y-link-btn:hover {
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
}

.a11y-link-btn:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-link-btn svg { width: 14px; height: 14px; }

/* ---------- Voice / counter ---------- */
.a11y-voice-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1.5px solid var(--a11y-border);
    background: #fff;
    color: var(--msb-bordo, #8B0000);
    border-radius: var(--a11y-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all .2s ease;
}

.a11y-voice-btn:hover:not(:disabled) {
    border-color: var(--a11y-border-strong);
    background: var(--msb-light, rgba(139, 0, 0, 0.06));
}

.a11y-voice-btn:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-voice-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.a11y-voice-btn[aria-pressed="true"] {
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    border-color: var(--msb-bordo, #8B0000);
}

.a11y-voice-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.a11y-voice-btn[aria-pressed="true"] .a11y-voice-icon {
    background: rgba(255,255,255,.25);
    color: #fff;
}

.a11y-voice-icon svg { width: 16px; height: 16px; }

.a11y-voice-secondary {
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1.5px solid var(--a11y-border);
    background: #fff;
    color: #6b7280;
    border-radius: var(--a11y-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all .2s ease;
}

.a11y-voice-secondary:hover:not(:disabled) {
    border-color: var(--a11y-border-strong);
    color: var(--msb-bordo, #8B0000);
}

.a11y-voice-secondary:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-voice-secondary:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.a11y-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    border-top: 1px solid var(--a11y-border);
}

.a11y-stepper__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

html[data-a11y-contrast="high"] .a11y-stepper__label { color: #fff; }

.a11y-stepper__ctrl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.a11y-step-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--a11y-border-strong);
    background: #fff;
    color: var(--msb-bordo, #8B0000);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.a11y-step-btn:hover:not(:disabled) {
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
}

.a11y-step-btn:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-step-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.a11y-step-value {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--msb-bordo, #8B0000);
}

html[data-a11y-contrast="high"] .a11y-step-value { color: #ffd54a; }

/* ---------- Helper text ---------- */
.a11y-helper {
    font-size: 0.78rem;
    color: var(--a11y-muted);
    margin: 0 0 10px;
    line-height: 1.4;
}

/* ---------- Sub Heading ---------- */
.a11y-sub-heading {
    margin: 0 0 8px;
    padding: 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .03em;
}

html[data-a11y-contrast="high"] .a11y-sub-heading { color: #ddd; }

/* ---------- Footer Actions ---------- */
.a11y-panel__footer {
    flex-shrink: 0;
    padding: 12px 14px 14px;
    background: var(--a11y-surface);
    border-top: 1px solid var(--a11y-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

html[data-a11y-contrast="high"] .a11y-panel__footer {
    background: #111;
    border-top-color: rgba(255,255,255,.18);
}

/* Base action button */
.a11y-action {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    min-height: 46px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease, filter .2s ease;
}

.a11y-action:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 3px;
}

.a11y-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Primary — bordo gradient */
.a11y-action--primary {
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(139, 0, 0, .28);
}

.a11y-action--primary:hover {
    background: linear-gradient(135deg, var(--msb-bordo2, #a30000), var(--msb-bordo, #8B0000));
    box-shadow: 0 10px 22px rgba(139, 0, 0, .42);
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.a11y-action--primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(139, 0, 0, .35);
}

/* Ghost — bordo dış çizgi + bordo metin */
.a11y-action--ghost {
    background: #fff;
    color: var(--msb-bordo, #8B0000);
    border-color: var(--a11y-border-strong);
}

.a11y-action--ghost:hover {
    border-color: var(--msb-bordo, #8B0000);
    background: var(--msb-light, rgba(139, 0, 0, 0.06));
    box-shadow: 0 4px 12px rgba(139, 0, 0, .12);
    transform: translateY(-1px);
}

.a11y-action--ghost:active {
    transform: translateY(0);
}

html[data-a11y-contrast="high"] .a11y-action--ghost {
    background: #1b1b1b;
    color: #ffd54a;
    border-color: rgba(255, 213, 74, .5);
}

html[data-a11y-contrast="high"] .a11y-action--ghost:hover {
    background: rgba(255, 213, 74, .12);
    border-color: #ffd54a;
}

/* =================================================
   ====   A11Y CUSTOM MODAL                       === =
   ====   (Sayfa Yapısı / Klavye Kısayolları)     === =
   ================================================= */

.a11y-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 20, 40, .55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: a11yModalFadeIn .18s ease;
}

@keyframes a11yModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes a11yModalPopIn {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.a11y-modal {
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: var(--a11y-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    border: 1px solid var(--a11y-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: a11yModalPopIn .22s cubic-bezier(.2, .8, .25, 1.1);
    isolation: isolate;
    filter: none !important;
}

html[data-a11y-contrast="high"] .a11y-modal {
    background: #111;
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}

.a11y-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    flex-shrink: 0;
}

.a11y-modal__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.a11y-modal__title > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.a11y-modal__title-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .20);
    border: 1px solid rgba(255, 255, 255, .30);
    flex-shrink: 0;
}

.a11y-modal__title-icon svg { width: 16px; height: 16px; }

.a11y-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    transition: background .2s ease;
    flex-shrink: 0;
}

.a11y-modal__close:hover { background: rgba(255, 255, 255, .26); }
.a11y-modal__close:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 2px;
}

.a11y-modal__body {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1 1 auto;
    color: #1f2937;
    font-size: 0.9rem;
    line-height: 1.5;
}

html[data-a11y-contrast="high"] .a11y-modal__body { color: #fff; }

.a11y-modal__body::-webkit-scrollbar { width: 8px; }
.a11y-modal__body::-webkit-scrollbar-thumb {
    background: rgba(139, 0, 0, .25);
    border-radius: 8px;
}

.a11y-modal__intro {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--a11y-muted);
    line-height: 1.45;
}

html[data-a11y-contrast="high"] .a11y-modal__intro { color: #ddd; }

.a11y-modal__footer {
    padding: 12px 18px 14px;
    border-top: 1px solid var(--a11y-border);
    background: var(--a11y-panel-bg);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

html[data-a11y-contrast="high"] .a11y-modal__footer {
    background: #181818;
    border-top-color: rgba(255, 255, 255, .18);
}

.a11y-modal__ok {
    min-width: 120px;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--msb-bordo, #8B0000), var(--msb-bordo2, #a30000));
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(139, 0, 0, .28);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.a11y-modal__ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(139, 0, 0, .40);
    filter: brightness(1.05);
}

.a11y-modal__ok:focus-visible {
    outline: 3px solid var(--a11y-focus);
    outline-offset: 3px;
}

/* ---------- Sayfa Yapısı: indent'li liste ---------- */
.a11y-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.a11y-modal__list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: var(--a11y-panel-bg);
    border: 1px solid var(--a11y-border);
    border-radius: 10px;
    font-size: 0.88rem;
    color: #1f2937;
}

html[data-a11y-contrast="high"] .a11y-modal__list-item {
    background: #181818;
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.a11y-modal__list-item--indent-2 { margin-left: 14px; }
.a11y-modal__list-item--indent-3 { margin-left: 28px; }

.a11y-modal__list-text {
    flex: 1 1 auto;
    word-break: break-word;
    line-height: 1.4;
}

.a11y-modal__badge {
    flex-shrink: 0;
    min-width: 30px;
    height: 22px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--msb-bordo, #8B0000);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
}

html[data-a11y-contrast="high"] .a11y-modal__badge {
    background: #ffd54a;
    color: #000;
}

/* ---------- Klavye Kısayolları: tuş kutuları ---------- */
.a11y-shortcut-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.a11y-shortcut-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    background: var(--a11y-panel-bg);
    border: 1px solid var(--a11y-border);
    border-radius: 10px;
    font-size: 0.88rem;
}

html[data-a11y-contrast="high"] .a11y-shortcut-row {
    background: #181818;
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.a11y-shortcut-row__desc {
    flex: 1 1 auto;
    color: #374151;
}

html[data-a11y-contrast="high"] .a11y-shortcut-row__desc { color: #f1f1f1; }

.a11y-shortcut-row__keys {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.a11y-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    border: 1px solid var(--a11y-border-strong);
    border-bottom-width: 2px;
    background: #fff;
    color: var(--msb-bordo, #8B0000);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

html[data-a11y-contrast="high"] .a11y-kbd {
    background: #1b1b1b;
    color: #ffd54a;
    border-color: rgba(255, 213, 74, .55);
}

.a11y-kbd-sep {
    font-size: 0.75rem;
    color: var(--a11y-muted);
    font-weight: 600;
}

html[data-a11y-contrast="high"] .a11y-kbd-sep { color: #ccc; }

/* ---------- Boş durum ---------- */
.a11y-modal__empty {
    text-align: center;
    padding: 22px 10px 14px;
    color: var(--a11y-muted);
    font-size: 0.92rem;
}

.a11y-modal__empty p { margin: 0; }

.a11y-modal__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--msb-light, rgba(139, 0, 0, 0.08));
    color: var(--msb-bordo, #8B0000);
    margin: 0 auto 12px;
}

.a11y-modal__empty-icon svg { width: 24px; height: 24px; }

html[data-a11y-contrast="high"] .a11y-modal__empty-icon {
    background: rgba(255, 213, 74, .14);
    color: #ffd54a;
}

@media (max-width: 480px) {
    .a11y-modal-backdrop { padding: 10px; }
    .a11y-modal__header  { padding: 12px 14px; }
    .a11y-modal__body    { padding: 14px; }
    .a11y-modal__footer  { padding: 10px 14px 12px; }
    .a11y-modal__ok      { width: 100%; }
}
