/* EHLİYET 2.0 (2026-10-16) — ilerleme paneli (.eh-il), durma mesafesi (.eh-fr), ezber kartları (.eh-kt). site.css .eh-* diline uyar:
   kalın üst çizgi + ince ayraç + tipografi; hap/yuvarlak dolgu yok. */

/* ── ilerleme paneli ── */
.eh-il { margin: 22px 0 0; padding-top: 14px; border-top: 3px solid var(--ink); }
.eh-il-h { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.eh-il-h small { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.eh-il-bos { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 70ch; }
.eh-il-izgara { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 34px; align-items: start; }
.eh-il-tahmin b[data-il-tahmin] { display: block; font-family: var(--serif); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.eh-il-olcek { position: relative; display: block; height: 6px; background: var(--line); }
.eh-il-olcek b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink-soft); transition: width .4s; }
.eh-il-olcek b.is-iyi { background: #1f7a45; } .eh-il-olcek b.is-orta { background: #b7791f; } .eh-il-olcek b.is-zayif { background: #b42318; }
.eh-il-olcek em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.eh-il-tahmin p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.eh-il-tahmin p b { color: var(--ink); }
.eh-il-konular { display: grid; gap: 9px; }
.eh-il-konu { display: grid; grid-template-columns: 112px minmax(0, 1fr) 42px; grid-template-rows: auto auto; gap: 1px 10px; align-items: center; font-size: 13.5px; }
.eh-il-konu span { font-weight: 700; }
.eh-il-konu i { height: 8px; background: var(--line); }
.eh-il-konu i b { display: block; height: 100%; background: #1f7a45; transition: width .4s; }
.eh-il-konu.is-zayif i b { background: #b42318; }
.eh-il-konu em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.eh-il-konu small { grid-column: 2 / 4; color: var(--ink-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.eh-il-cubuklar { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 110px; margin-top: 8px; padding-bottom: 1px; border-bottom: 1px solid var(--ink); }
.eh-il-cubuklar i { position: relative; flex: 1 1 0; max-width: 26px; background: #1f7a45; }
.eh-il-cubuklar i.is-kaldi { background: #b42318; }
.eh-il-cubuklar i b { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.eh-il-cubuklar em { position: absolute; left: 0; right: 0; bottom: 70%; border-top: 1px dashed var(--ink); }
.eh-il-seri { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }
.eh-il-eylem { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.eh-il-mod { display: inline-grid; justify-items: start; gap: 1px; padding: 9px 14px; border: 1px solid var(--ink); border-radius: 2px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.eh-il-mod small { font-size: 11.5px; font-weight: 600; color: var(--ink-faint); }
.eh-il-mod:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.eh-il-mod:hover:not(:disabled) small { color: inherit; opacity: .75; }
.eh-il-mod:disabled { opacity: .4; cursor: not-allowed; }
.eh-il-sifirla { margin-left: auto; font-size: 13px; }

/* ── durma mesafesi ── */
.eh-fr-izgara { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 20px 40px; align-items: start; }
.eh-fr-girdi { display: grid; gap: 18px; }
.eh-fr-hiz { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; }
.eh-fr-hiz span { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.eh-fr-hiz b { justify-self: end; font-family: var(--serif); font-size: 30px; font-variant-numeric: tabular-nums; }
.eh-fr-hiz input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); touch-action: manipulation; }
.eh-fr-sec { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0; }
.eh-fr-sec legend { width: 100%; margin-bottom: 6px; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.eh-fr-sec label { position: relative; cursor: pointer; touch-action: manipulation; }
.eh-fr-sec input { position: absolute; opacity: 0; }
.eh-fr-sec span { display: inline-grid; padding: 8px 14px 7px; border-bottom: 2px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.eh-fr-sec span small { font-size: 11px; font-weight: 600; color: var(--ink-faint); }
.eh-fr-sec input:checked + span { color: var(--ink); border-bottom-color: var(--accent); }
.eh-fr-sec input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.eh-fr-sayilar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.eh-fr-sayilar div { display: grid; padding-top: 8px; border-top: 3px solid var(--line); }
.eh-fr-sayilar .is-tepki { border-top-color: #c98a12; }
.eh-fr-sayilar .is-fren { border-top-color: #b42318; }
.eh-fr-sayilar .is-toplam { border-top-color: var(--ink); }
.eh-fr-sayilar span { font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.eh-fr-sayilar b { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.eh-fr-sayilar small { font-size: 12px; color: var(--ink-faint); }
.eh-fr-yol { position: relative; height: 92px; margin: 18px 0 6px; padding-left: 0; background: linear-gradient(180deg, transparent 22px, #3b3f46 22px, #3b3f46 56px, transparent 56px); }
.eh-fr-yol::after { content: ""; position: absolute; left: 0; right: 0; top: 38px; border-top: 2px dashed rgba(255, 255, 255, .55); }
.eh-fr-arac { position: absolute; left: -2px; top: 0; color: var(--ink); transform: translateX(-40%); }
.eh-fr-s { position: absolute; top: 26px; height: 26px; left: 0; z-index: 1; transition: width .25s, left .25s; }
.eh-fr-s.is-tepki { background: repeating-linear-gradient(135deg, #c98a12 0 8px, #e0a83a 8px 16px); }
.eh-fr-s.is-fren { background: linear-gradient(90deg, #d13a2a, #8f1c12); }
.eh-fr-takip { position: absolute; top: 14px; height: 50px; border-left: 2px dashed var(--ink); z-index: 2; transition: left .25s; }
.eh-fr-takip span { position: absolute; left: 6px; top: -4px; white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--bg); padding: 0 3px; }
.eh-fr-cetvel { position: absolute; left: 0; right: 0; top: 66px; height: 20px; }
.eh-fr-cetvel span { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.eh-fr-cetvel span::before { content: ""; position: absolute; left: 50%; top: -8px; height: 6px; border-left: 1px solid var(--ink-faint); }
.eh-fr-yorum { margin: 6px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.6; max-width: 66ch; }

/* ── ezber kartları ── */
.eh-kt-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.eh-kt-grup { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.eh-kt-grup button { padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-soft); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.eh-kt-grup button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.eh-kt-durum { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.eh-kt-durum b { color: var(--ink); }
.eh-kt-durum i { display: block; width: 120px; height: 5px; background: var(--line); }
.eh-kt-durum i b { display: block; height: 100%; background: #1f7a45; transition: width .3s; }
.eh-kt-sahne { display: grid; justify-items: center; gap: 14px; }
.eh-kt-kart { position: relative; width: min(420px, 100%); aspect-ratio: 5 / 4; padding: 0; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--bg); cursor: pointer; perspective: 1200px; touch-action: manipulation; font: inherit; color: var(--ink); }
.eh-kt-on, .eh-kt-arka { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 22px; text-align: center; backface-visibility: hidden; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.eh-kt-on img { width: min(180px, 46%); height: auto; }
.eh-kt-on small { font-size: 13px; color: var(--ink-faint); }
.eh-kt-arka { transform: rotateY(180deg); }
.eh-kt-arka small { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eh-kt-arka b { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.eh-kt-arka span { font-family: var(--serif); font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); max-width: 36ch; }
.eh-kt-kart.is-cevrik .eh-kt-on { transform: rotateY(-180deg); }
.eh-kt-kart.is-cevrik .eh-kt-arka { transform: rotateY(0); }
.eh-kt-kart:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eh-kt-eylem { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.eh-kt-eylem button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 2px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.eh-kt-eylem .eh-kt-bil { background: #1f7a45; border-color: #1f7a45; color: #fff; }
.eh-kt-eylem .eh-kt-tekrar { border-color: #b42318; color: #b42318; }
.eh-kt-eylem kbd { font: 600 11px var(--sans); padding: 1px 5px; border: 1px solid currentColor; border-radius: 3px; opacity: .6; }
.eh-kt-not { margin: 0; font-size: 12.5px; color: var(--ink-faint); text-align: center; }

@media (max-width: 900px) {
    .eh-il-izgara { grid-template-columns: minmax(0, 1fr); }
    .eh-fr-izgara { grid-template-columns: minmax(0, 1fr); }
    .eh-il-sifirla { margin-left: 0; }
}
@media (max-width: 560px) {
    .eh-fr-sayilar b { font-size: 30px; }
    .eh-kt-eylem kbd { display: none; }
    .eh-kt-eylem button { padding: 11px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .eh-kt-on, .eh-kt-arka, .eh-fr-s, .eh-fr-takip, .eh-il-olcek b, .eh-il-konu i b { transition: none; } }
