/*! Grandmedical Erişilebilirlik Aracı — stil. Önek: gm-a11y-
 *  Değişkenler (html ya da :root üzerinde geçersiz kılınabilir):
 *  --gm-a11y-sol / --gm-a11y-alt (düğme konumu), --gm-a11y-z (katman), --gm-a11y-yesil, --gm-a11y-yesil-koyu, --gm-a11y-yuzey */

/* ---------- Yazı tipi: Atkinson Hyperlegible (SIL OFL 1.1), kendi klasörümüzde ---------- */
@font-face{font-family:"GM A11y Atkinson";font-style:normal;font-weight:400;font-display:swap;
  src:url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:"GM A11y Atkinson";font-style:normal;font-weight:400;font-display:swap;
  src:url("fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2") format("woff2");
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02AF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"GM A11y Atkinson";font-style:normal;font-weight:700;font-display:swap;
  src:url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:"GM A11y Atkinson";font-style:normal;font-weight:700;font-display:swap;
  src:url("fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2") format("woff2");
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02AF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Ölçek değişkenleri ---------- */
html{--gm-a11y-olcek:1;--gm-a11y-pol:1}
html.gm-a11y-metin-1{--gm-a11y-olcek:1.15;--gm-a11y-pol:1.05}
html.gm-a11y-metin-2{--gm-a11y-olcek:1.3;--gm-a11y-pol:1.1}
html.gm-a11y-metin-3{--gm-a11y-olcek:1.5;--gm-a11y-pol:1.15}
/* Özgün boyutu JS ölçer ve --gm-a11y-fs0'a yazar; html font-size / zoom kullanılmaz, iç içe öğeler katlanmaz. */
html[class*="gm-a11y-metin-"] [data-gm-a11y-fs]{font-size:calc(var(--gm-a11y-fs0) * var(--gm-a11y-olcek))}
html[class*="gm-a11y-metin-"] [data-gm-a11y-lh]{line-height:var(--gm-a11y-lh0)}
html[class*="gm-a11y-metin-"] body [data-gm-a11y-fs]{font-size:calc(var(--gm-a11y-fs0) * var(--gm-a11y-olcek)) !important}

/* ---------- Yazı ayarları (araç <body> dışında olduğundan etkilenmez) ---------- */
html.gm-a11y-disleksi body,
html.gm-a11y-disleksi body *:not(i):not(svg):not(svg *):not([class*="icon"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not([class*="glyphicon"]):not([class*="material"]){
  font-family:"GM A11y Atkinson",Verdana,Arial,sans-serif !important}
html.gm-a11y-harf-1 body *{letter-spacing:.06em !important;word-spacing:.14em !important}
html.gm-a11y-harf-2 body *{letter-spacing:.12em !important;word-spacing:.28em !important}
html.gm-a11y-satir-1 body *{line-height:1.7 !important}
html.gm-a11y-satir-2 body *{line-height:2.1 !important}
html.gm-a11y-hizala body *{text-align:left !important}

html.gm-a11y-baglanti body a,html.gm-a11y-baglanti body a *{
  text-decoration:underline !important;text-decoration-thickness:2px !important;text-underline-offset:3px !important;
  font-weight:700 !important;background-color:#ffe14d !important;color:#000 !important}
html.gm-a11y-baslik body h1,html.gm-a11y-baslik body h2,html.gm-a11y-baslik body h3,html.gm-a11y-baslik body h4,
html.gm-a11y-baslik body h5,html.gm-a11y-baslik body h6,html.gm-a11y-baslik body [role="heading"]{
  background-color:#e8f1e7 !important;color:#000 !important;outline:3px solid #262a2d !important;outline-offset:3px !important}

html.gm-a11y-odak body *:focus,html.gm-a11y-odak body *:focus-visible{
  outline:4px solid #ff6a00 !important;outline-offset:3px !important;box-shadow:0 0 0 2px #fff !important}

/* Büyük imleç (veri URI'si; harici istek yok) */
html.gm-a11y-imlec-siyah,html.gm-a11y-imlec-siyah body *{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5l14 9-6.6 1.6 3.8 7.2-3.1 1.5-3.6-7.3L5 18.5z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,auto !important}
html.gm-a11y-imlec-beyaz,html.gm-a11y-imlec-beyaz body *{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5l14 9-6.6 1.6 3.8 7.2-3.1 1.5-3.6-7.3L5 18.5z' fill='%23fff' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3,auto !important}
html.gm-a11y-imlec-siyah body a,html.gm-a11y-imlec-siyah body button,html.gm-a11y-imlec-siyah body [role="button"],html.gm-a11y-imlec-siyah body select,html.gm-a11y-imlec-siyah body label,
html.gm-a11y-imlec-siyah body a *,html.gm-a11y-imlec-siyah body button *{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M9 11V5a1.6 1.6 0 0 1 3.2 0v5m0-1.2a1.6 1.6 0 0 1 3.2 0V11m0-1a1.6 1.6 0 0 1 3.2 0v5.2c0 3.2-2.2 5.6-5.4 5.6h-1.2c-2.2 0-3.5-1-4.6-2.6L4.7 14c-.8-1.4.9-2.5 2-1.4L9 15z' fill='%23000' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 12 3,pointer !important}
html.gm-a11y-imlec-beyaz body a,html.gm-a11y-imlec-beyaz body button,html.gm-a11y-imlec-beyaz body [role="button"],html.gm-a11y-imlec-beyaz body select,html.gm-a11y-imlec-beyaz body label,
html.gm-a11y-imlec-beyaz body a *,html.gm-a11y-imlec-beyaz body button *{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M9 11V5a1.6 1.6 0 0 1 3.2 0v5m0-1.2a1.6 1.6 0 0 1 3.2 0V11m0-1a1.6 1.6 0 0 1 3.2 0v5.2c0 3.2-2.2 5.6-5.4 5.6h-1.2c-2.2 0-3.5-1-4.6-2.6L4.7 14c-.8-1.4.9-2.5 2-1.4L9 15z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 12 3,pointer !important}

/* ---------- Kontrast (renkler; görseller korunur) ---------- */
html.gm-a11y-kontrast-koyu,html.gm-a11y-kontrast-koyu body,
html.gm-a11y-kontrast-acik,html.gm-a11y-kontrast-acik body,
html.gm-a11y-kontrast-yuksek,html.gm-a11y-kontrast-yuksek body{background-image:none !important}
html.gm-a11y-kontrast-koyu,html.gm-a11y-kontrast-koyu body{background-color:#121212 !important}
html.gm-a11y-kontrast-koyu body *:not(img):not(picture):not(video):not(canvas){
  background-color:#121212 !important;background-image:none !important;color:#f5f5f5 !important;border-color:#8a8a8a !important;text-shadow:none !important}
html.gm-a11y-kontrast-koyu body a,html.gm-a11y-kontrast-koyu body a *{color:#8ec1ff !important}
html.gm-a11y-kontrast-koyu body input,html.gm-a11y-kontrast-koyu body textarea,html.gm-a11y-kontrast-koyu body select,html.gm-a11y-kontrast-koyu body button{background-color:#262626 !important}
html.gm-a11y-kontrast-acik,html.gm-a11y-kontrast-acik body{background-color:#fff !important}
html.gm-a11y-kontrast-acik body *:not(img):not(picture):not(video):not(canvas){
  background-color:#fff !important;background-image:none !important;color:#000 !important;border-color:#444 !important;text-shadow:none !important}
html.gm-a11y-kontrast-acik body a,html.gm-a11y-kontrast-acik body a *{color:#0033b3 !important}
html.gm-a11y-kontrast-yuksek,html.gm-a11y-kontrast-yuksek body{background-color:#000 !important}
html.gm-a11y-kontrast-yuksek body *:not(img):not(picture):not(video):not(canvas){
  background-color:#000 !important;background-image:none !important;color:#ffe600 !important;border-color:#ffe600 !important;text-shadow:none !important}
html.gm-a11y-kontrast-yuksek body a,html.gm-a11y-kontrast-yuksek body a *{color:#00e5ff !important}

/* ---------- Doygunluk: html'e filter UYGULANMAZ ----------
   filter, position:fixed torunların kapsayan bloğunu değiştirir ve aracı bozar. Bunun yerine tüm sayfanın
   üstünde, tıklamayı geçiren sabit bir katman backdrop-filter ile arkasını süzer; araç bu katmanın üstündedir. */
html.gm-a11y-doygunluk-gri::after,html.gm-a11y-doygunluk-dusuk::after,html.gm-a11y-doygunluk-yuksek::after{
  content:"";position:fixed;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:calc(var(--gm-a11y-z,99990) - 10)}
html.gm-a11y-doygunluk-gri::after{-webkit-backdrop-filter:grayscale(1);backdrop-filter:grayscale(1)}
html.gm-a11y-doygunluk-dusuk::after{-webkit-backdrop-filter:saturate(.45);backdrop-filter:saturate(.45)}
html.gm-a11y-doygunluk-yuksek::after{-webkit-backdrop-filter:saturate(2.2);backdrop-filter:saturate(2.2)}

/* ---------- Görseller / hareket ---------- */
html.gm-a11y-gorsel body img,html.gm-a11y-gorsel body picture,html.gm-a11y-gorsel body video,html.gm-a11y-gorsel body canvas,
html.gm-a11y-gorsel body [role="img"]{visibility:hidden !important}
html.gm-a11y-gorsel body *,html.gm-a11y-gorsel body *::before,html.gm-a11y-gorsel body *::after{background-image:none !important}
html.gm-a11y-animasyon,html.gm-a11y-animasyon body{scroll-behavior:auto !important}
html.gm-a11y-animasyon body *,html.gm-a11y-animasyon body *::before,html.gm-a11y-animasyon body *::after{
  animation-duration:.001ms !important;animation-delay:0s !important;animation-iteration-count:1 !important;
  transition-duration:.001ms !important;transition-delay:0s !important;scroll-behavior:auto !important}
html.gm-a11y-okunuyor,.gm-a11y-okunuyor{outline:3px solid #537052 !important;outline-offset:3px !important;background-color:#f3f7f2 !important}

/* ---------- Okuma kılavuzu / maskesi (araç kökünde, sayfa dışı) ---------- */
#gm-a11y-root .gm-a11y-e-kilavuz,#gm-a11y-root .gm-a11y-e-maske{display:none;position:fixed;left:0;top:0;width:100%;pointer-events:none;margin:0;padding:0}
#gm-a11y-root .gm-a11y-e-kilavuz{height:0;border-top:5px solid #000;box-shadow:0 -2px 0 #fff,0 2px 0 #fff,0 3px 0 #fff;z-index:calc(var(--gm-a11y-z,99990) - 5)}
#gm-a11y-root .gm-a11y-e-maske{height:140px;box-shadow:0 0 0 100vmax rgba(0,0,0,.72);z-index:calc(var(--gm-a11y-z,99990) - 6)}
html.gm-a11y-kilavuz #gm-a11y-root .gm-a11y-e-kilavuz,html.gm-a11y-maske #gm-a11y-root .gm-a11y-e-maske{display:block}

/* ---------- Araç arayüzü ---------- */
#gm-a11y-root{all:initial;display:block;font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:calc(16px * var(--gm-a11y-pol,1));line-height:1.4;color:#262a2d;
  --gm-a11y-yesil:var(--gm-tema-ana,#537052);--gm-a11y-yesil-koyu:var(--gm-tema-koyu,#3f5540);--gm-a11y-yuzey:var(--gm-tema-yuzey,#f3f7f2)} /* sayfa teması: --gm-tema-* */
#gm-a11y-root *{box-sizing:border-box;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;letter-spacing:normal;word-spacing:normal;
  text-transform:none;text-shadow:none;text-align:left;text-decoration:none;line-height:inherit;float:none;cursor:auto;
  animation:none;filter:none;outline:0;box-shadow:none;max-width:none;min-width:0}
#gm-a11y-root [hidden]{display:none}
#gm-a11y-root button{cursor:pointer;-webkit-appearance:none;appearance:none;font-family:inherit;text-align:inherit}
#gm-a11y-root svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#gm-a11y-root button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 5px #262a2d}

#gm-a11y-root .gm-a11y-tetik{position:fixed;left:calc(var(--gm-a11y-sol,16px) + env(safe-area-inset-left,0px));
  bottom:calc(var(--gm-a11y-alt,16px) + env(safe-area-inset-bottom,0px));width:52px;height:52px;min-width:52px;border-radius:50%;
  background:var(--gm-a11y-yesil);color:#fff;display:flex;align-items:center;justify-content:center;z-index:var(--gm-a11y-z,99990);
  box-shadow:0 4px 14px rgba(38,42,45,.35);transition:background-color .15s,transform .15s}
#gm-a11y-root .gm-a11y-tetik:hover{background:var(--gm-a11y-yesil-koyu)}
#gm-a11y-root .gm-a11y-tetik:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 6px #262a2d}
#gm-a11y-root .gm-a11y-tetik-ik{width:30px;height:30px}

#gm-a11y-root .gm-a11y-panel{position:fixed;top:0;right:0;width:min(25.5em,100vw);height:100vh;height:100dvh;background:#fff;color:#262a2d;
  display:flex;flex-direction:column;z-index:calc(var(--gm-a11y-z,99990) + 1);box-shadow:-8px 0 32px rgba(38,42,45,.28);
  border-radius:14px 0 0 14px;visibility:hidden;transform:translateX(104%);transition:transform .25s ease,visibility 0s linear .25s;overflow:hidden}
#gm-a11y-root .gm-a11y-panel.gm-a11y-acik{visibility:visible;transform:none;transition:transform .25s ease,visibility 0s}
#gm-a11y-root .gm-a11y-panel:focus{outline:0}
#gm-a11y-root .gm-a11y-ust{display:flex;align-items:center;gap:.5em;padding:.75em .875em;background:var(--gm-a11y-yesil);color:#fff}
#gm-a11y-root .gm-a11y-baslik{flex:1;font-size:1.125em;font-weight:700}
#gm-a11y-root .gm-a11y-dil,#gm-a11y-root .gm-a11y-kapat{display:flex;align-items:center;justify-content:center;gap:.4em;min-height:44px;min-width:44px;border-radius:12px;
  background:rgba(255,255,255,.14);color:#fff;font-weight:600;padding:0 .7em}
#gm-a11y-root .gm-a11y-kapat{padding:0}
#gm-a11y-root .gm-a11y-dil:hover,#gm-a11y-root .gm-a11y-kapat:hover{background:rgba(255,255,255,.28)}
#gm-a11y-root .gm-a11y-ust button:focus-visible{box-shadow:0 0 0 2px var(--gm-a11y-yesil),0 0 0 5px #fff}
#gm-a11y-root .gm-a11y-ik{width:1.4em;height:1.4em;flex:none}
#gm-a11y-root .gm-a11y-govde{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:.5em .875em 1em}
#gm-a11y-root .gm-a11y-bolum{font-size:.8125em;font-weight:700;letter-spacing:.06em !important;text-transform:uppercase;color:var(--gm-a11y-yesil-koyu);margin:1em 0 .5em}

#gm-a11y-root .gm-a11y-profiller{display:flex;flex-direction:column;gap:.4em}
#gm-a11y-root .gm-a11y-prow-s{display:flex;gap:.35em}
#gm-a11y-root .gm-a11y-profil{flex:1;display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:44px;padding:.5em .85em;
  border:1.5px solid #c9d6c8;border-radius:12px;background:#fff;font-weight:600;transition:background-color .15s}
#gm-a11y-root .gm-a11y-profil:hover{background:var(--gm-a11y-yuzey)}
#gm-a11y-root .gm-a11y-tik{width:1.3em;height:1.3em;flex:none;opacity:0}
#gm-a11y-root button.gm-a11y-secili{background:var(--gm-a11y-yesil);border-color:var(--gm-a11y-yesil);color:#fff}
#gm-a11y-root button.gm-a11y-secili:hover{background:var(--gm-a11y-yesil-koyu)}
#gm-a11y-root .gm-a11y-secili .gm-a11y-tik{opacity:1}
#gm-a11y-root .gm-a11y-bilgi{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:12px;color:var(--gm-a11y-yesil-koyu)}
#gm-a11y-root .gm-a11y-bilgi:hover,#gm-a11y-root .gm-a11y-bilgi[aria-expanded="true"]{background:var(--gm-a11y-yuzey)}
#gm-a11y-root .gm-a11y-aciklama{margin:.3em 0 .2em;padding:.6em .85em;background:var(--gm-a11y-yuzey);border-radius:12px;font-size:.875em;line-height:1.5}
#gm-a11y-root .gm-a11y-sripucu{margin-top:.6em;padding:.7em .85em;border:1.5px solid var(--gm-a11y-yesil);border-radius:12px;font-size:.875em;line-height:1.5}
#gm-a11y-root .gm-a11y-sr-b{font-weight:700;margin-bottom:.3em}
#gm-a11y-root .gm-a11y-sr-p+.gm-a11y-sr-p{margin-top:.3em}

#gm-a11y-root .gm-a11y-izgara{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5em}
#gm-a11y-root .gm-a11y-kart{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:.4em;min-height:5.2em;padding:.65em .7em;
  border:1.5px solid #c9d6c8;border-radius:12px;background:#fff;transition:background-color .15s}
#gm-a11y-root .gm-a11y-kart:hover{background:var(--gm-a11y-yuzey)}
#gm-a11y-root button.gm-a11y-kart.gm-a11y-secili:hover{background:var(--gm-a11y-yesil-koyu)}
#gm-a11y-root .gm-a11y-kart-m{display:flex;flex-direction:column;gap:.1em}
#gm-a11y-root .gm-a11y-kart-ad{font-weight:700;font-size:.875em;line-height:1.25}
#gm-a11y-root .gm-a11y-kart-d{font-size:.8125em;line-height:1.3}
#gm-a11y-root .gm-a11y-secili .gm-a11y-kart-d{font-weight:600}

#gm-a11y-root .gm-a11y-alt{padding:.75em .875em .9em;border-top:1px solid #dfe7de;background:#fff}
#gm-a11y-root .gm-a11y-sifirla{width:100%;display:flex;align-items:center;justify-content:center;gap:.5em;min-height:46px;border-radius:12px;
  background:var(--gm-a11y-yuzey);border:1.5px solid var(--gm-a11y-yesil);color:var(--gm-a11y-yesil-koyu);font-weight:700}
#gm-a11y-root .gm-a11y-sifirla:hover{background:#e3ede2}
#gm-a11y-root .gm-a11y-ipucu{margin-top:.55em;font-size:.8125em;color:#4a5157;text-align:center}
#gm-a11y-root .gm-a11y-not{margin-top:.25em;font-size:.75em;line-height:1.4;color:#4a5157;text-align:center}
#gm-a11y-root .gm-a11y-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:640px){
  #gm-a11y-root .gm-a11y-panel{width:100vw;border-radius:0}
}
@media (prefers-reduced-motion:reduce){
  #gm-a11y-root *{transition:none !important}
}
html.gm-a11y-animasyon #gm-a11y-root *{transition:none !important}
@media (forced-colors:active){
  #gm-a11y-root .gm-a11y-tetik,#gm-a11y-root .gm-a11y-panel,#gm-a11y-root button{border:2px solid ButtonText}
  #gm-a11y-root .gm-a11y-secili{border-color:Highlight;outline:2px solid Highlight}
}
