/* Likya Havuz — Dış Eğitmen modülü (Ajan Y). Renkler tema değişkenleriyle; yalnız eğitmen rengi (--renk) özel. */

/* ------------------------------------------------------------ ORTAK */
.ds-borc { color: var(--kirmizi); font-weight: 700; }
.ds-alacak { color: var(--yesil); font-weight: 700; }
.ds-ustu-cizili { text-decoration: line-through; opacity: .7; }
.ds-alt-baslik { font-size: 1rem; margin: 18px 0 8px; }
.ds-satir-btn { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.anahtar-ad { font-weight: 600; }
.ds-egitmen-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; }

.ds-baglanti { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.ds-link { flex: 1 1 220px; min-width: 0; display: block; padding: 8px 12px; border-radius: var(--r-k); background: var(--zemin2); border: 1px dashed var(--cizgi);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; color: var(--metin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-baglanti-btn { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-baglanti.kompakt .ds-link { flex-basis: 100%; font-size: .8rem; padding: 6px 10px; }
.ds-baglanti.kompakt .ds-baglanti-btn { flex: 1 1 100%; }
.ds-baglanti.kompakt .ds-baglanti-btn .btn { flex: 1 1 0; }
.btn.ds-wa { background: color-mix(in srgb, var(--yesil) 14%, var(--yuzey-kati)); border-color: color-mix(in srgb, var(--yesil) 45%, var(--cizgi)); color: color-mix(in srgb, var(--yesil) 75%, var(--metin)); }
.btn.ds-wa .ikon { color: var(--yesil); }

.ds-kutucuklar { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-kutu { position: relative; cursor: pointer; }
.ds-kutu input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ds-kutu span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 40px; padding: 6px 12px; border-radius: var(--r-k); border: 2px solid var(--cizgi); background: var(--yuzey-kati); font-weight: 700; font-size: .9rem; transition: background var(--gecis), border-color var(--gecis); }
.ds-kutu input:checked + span { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); }
.ds-kutu input:focus-visible + span { outline: 3px solid var(--vurgu2); outline-offset: 2px; }
.ds-kutu input:disabled + span { opacity: .45; cursor: not-allowed; }
.ds-kutu.tum span { padding: 6px 14px; }

.ds-secenekler { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-secenek { position: relative; cursor: pointer; flex: 1 1 110px; }
.ds-secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ds-secenek > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 46px; padding: 8px 14px; border-radius: var(--r-k); border: 2px solid var(--cizgi); background: var(--yuzey-kati); font-weight: 700; text-align: center; transition: border-color var(--gecis), box-shadow var(--gecis); }
.ds-secenek.genis { flex-basis: 200px; }
.ds-secenek.genis > span { text-align: left; }
.ds-secenek small { font-weight: 400; color: var(--soluk); font-size: .8rem; }
.ds-secenek input:checked + span { border-color: var(--vurgu); background: color-mix(in srgb, var(--vurgu) 10%, var(--yuzey-kati)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vurgu) 18%, transparent); }
.ds-secenek input:focus-visible + span { outline: 3px solid var(--vurgu2); outline-offset: 2px; }
.ds-secenek input:disabled + span { opacity: .6; cursor: not-allowed; }
.ds-fatura { display: flex; flex-direction: column; gap: 6px; }
.ds-fatura:empty { display: none; }
.ds-fatura .not-kutu { margin: 0; }

.ds-ay-secici { display: flex; align-items: center; gap: 4px; }
.ds-ay-secici input { width: auto; min-width: 150px; }

/* ------------------------------------------------------------ KULÜP: KARTLAR */
.ds-kartlar { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ds-egitmen-kart { --renk: var(--vurgu); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px 20px; border-radius: var(--r); background: var(--yuzey); border: 1px solid var(--cizgi); box-shadow: var(--golge); overflow: hidden; min-width: 0; }
.ds-egitmen-kart::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--renk); }
.ds-egitmen-kart.pasif { opacity: .7; }
.ds-kart-bas { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; border-radius: var(--r-k); }
.ds-kart-bas:hover strong { text-decoration: underline; }
.ds-kart-bas > .ikon { color: var(--soluk); margin-left: auto; }
.ds-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--baslik-font); font-weight: 700; font-size: 1.2rem;
  background: color-mix(in srgb, var(--renk) 22%, var(--yuzey-kati)); color: var(--metin); border: 2px solid var(--renk); }
.ds-kart-ad { display: flex; flex-direction: column; min-width: 0; }
.ds-kart-ad strong { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-kart-ad small { color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-kart-rozet { display: flex; flex-wrap: wrap; gap: 4px; }
.ds-kart-rozet:empty { display: none; }
.ds-kart-sayilar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-kart-sayilar > div { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: var(--r-k); background: color-mix(in srgb, var(--zemin2) 70%, transparent); min-width: 0; }
.ds-kart-sayilar span { font-size: .78rem; color: var(--soluk); font-weight: 600; }
.ds-kart-sayilar b { font-family: var(--baslik-font); font-size: 1.05rem; }
.ds-kart-sayilar small { color: var(--soluk); }
.ds-kart-link { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--cizgi); padding-top: 10px; }

.ds-detay-bas h1 { margin-right: 0; }
.ds-iletisim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-right: auto; font-size: .9rem; }
.ds-iletisim a { color: inherit; }
.ds-link-kart { display: flex; flex-direction: column; gap: 10px; }
.ds-link-bas { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

/* Döküm */
.ds-dokum-arac { align-items: center; }
.ds-ogr-liste { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.ds-ogr { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ds-toplam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ds-toplam > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-k); background: var(--zemin2); }
.ds-toplam span { font-size: .8rem; color: var(--soluk); font-weight: 600; }
.ds-toplam b { font-family: var(--baslik-font); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ds-toplam .son { background: color-mix(in srgb, var(--vurgu) 14%, var(--yuzey-kati)); border: 1px solid color-mix(in srgb, var(--vurgu) 40%, var(--cizgi)); }

/* ------------------------------------------------------------ TAKVİM ENTEGRASYONU */
.rez-blok.dis-blok { cursor: pointer;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--renk) 30%, var(--yuzey-kati)) 0 7px, color-mix(in srgb, var(--renk) 14%, var(--yuzey-kati)) 7px 14px);
  border: 2px dashed color-mix(in srgb, var(--renk) 75%, transparent); border-left: 6px double var(--renk); }
.rez-blok.dis-blok .blok-ad { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rez-blok.dis-blok.kisa .blok-ad { -webkit-line-clamp: 1; white-space: nowrap; display: block; }
.rez-blok.dis-blok .dis-etiket { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 0 5px; margin-right: 4px; border-radius: 4px; background: var(--renk); color: #fff; vertical-align: 1px; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.rez-blok.dis-blok.durum-talep { border-style: dotted; opacity: .9; }
.rez-blok.dis-blok.durum-iptal { opacity: .5; }
.rez-blok.dis-blok.durum-iptal .blok-ad { text-decoration: line-through; }
.hafta-oge.dis { border-left: 4px double var(--renk); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--renk) 20%, var(--yuzey-kati)) 0 6px, color-mix(in srgb, var(--renk) 9%, var(--yuzey-kati)) 6px 12px); }
.kapali-dilim.dis-blok { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--renk, var(--mavi)) 13%, transparent) 0 2px, transparent 2px 9px), color-mix(in srgb, var(--renk, var(--mavi)) 6%, transparent);
  border-top: 2px dotted color-mix(in srgb, var(--renk, var(--mavi)) 70%, transparent); border-bottom: 2px dotted color-mix(in srgb, var(--renk, var(--mavi)) 45%, transparent); }
.kapali-dilim.dis-blok span { color: var(--metin); border: 1px solid color-mix(in srgb, var(--renk, var(--mavi)) 50%, var(--cizgi)); max-width: calc(100% - 6px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bilgi-cip.dis-blok { border-color: color-mix(in srgb, var(--mavi) 45%, var(--cizgi)); }

/* ------------------------------------------------------------ DIŞ EĞİTMEN PANELİ */
.ds-serit-kap { margin-bottom: 8px; }
.ds-serit-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 2px; }
.ds-serit-alt input[type="date"] { width: auto; min-width: 150px; }
.ds-gun-baslik { font-size: 1.05rem; color: var(--soluk); margin: 12px 0 10px; }
.ds-ders-liste { display: grid; gap: 12px; }
.ds-talepler .ds-ders-liste { margin-top: 8px; }
.ds-ders-kart { --durum: var(--mavi); display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--yuzey-kati); border: 1px solid var(--cizgi); border-left: 5px solid var(--durum); box-shadow: var(--golge); }
.ds-ders-kart.d-onayli { --durum: var(--yesil); }
.ds-ders-kart.d-talep { --durum: var(--sari); }
.ds-ders-kart.d-iptal { --durum: var(--kirmizi); opacity: .72; }
.ds-ders-saat { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ds-ders-saat b { font-family: var(--baslik-font); font-size: 1.45rem; }
.ds-ders-saat small { color: var(--soluk); font-weight: 600; }
.ds-ders-govde { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ds-ders-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ds-ders-ust strong { font-size: 1.02rem; }
.ds-ders-no { font-size: .8rem; }
.ds-ucret { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--soluk); font-size: .9rem; }
.ds-ogr-liste-panel { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ds-ogr-satir { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 10px; border-radius: var(--r-k); background: color-mix(in srgb, var(--zemin2) 60%, transparent); }
.ds-ogr-satir.iptal strong { text-decoration: line-through; opacity: .7; }
.ds-ogr-ad { display: flex; flex-direction: column; min-width: 0; }
.ds-ogr-ad small { overflow-wrap: anywhere; }
.ds-ogr-sag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.ds-ogr-sag .yoklama-dugmeler { display: flex; gap: 6px; }
.ds-ogr-sag .yoklama-btn { min-width: 78px; min-height: 40px; }
.ds-tel { width: 38px; height: 38px; color: var(--vurgu); }
.ds-ders-aksiyon { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.ds-ekle h4 { margin: 12px 0 8px; }
.ds-ekle-ogr { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--cizgi); display: flex; flex-direction: column; gap: 8px; }
.ds-ekle-ogr > .btn { align-self: flex-start; }
.ds-ogr-sec { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-height: 260px; overflow-y: auto; padding: 2px; }
.ds-ogr-secim { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-k); border: 1px solid var(--cizgi); background: var(--yuzey-kati); cursor: pointer; min-height: 48px; }
.ds-ogr-secim:has(input:checked) { border-color: var(--vurgu); background: color-mix(in srgb, var(--vurgu) 9%, var(--yuzey-kati)); }
.ds-ogr-secim span { display: flex; flex-direction: column; min-width: 0; }
.ds-ogr-secim small { color: var(--soluk); overflow-wrap: anywhere; }
.ds-yeni-ogr { padding: 10px 12px; border-radius: var(--r-k); border: 1px dashed var(--cizgi); background: var(--zemin); }
.ds-yeni-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ds-mesaj { min-height: 140px; font-size: .95rem; }
.ds-gunler .anahtar { min-height: 36px; }

/* ------------------------------------------------------------ VELİ SAYFASI */
.ds-veli { --renk: var(--vurgu); }
.ds-veli-ic { max-width: 640px; gap: 16px; padding-bottom: 32px; }
.ds-veli-bas { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-shadow: 0 2px 14px rgba(0, 30, 60, .4); gap: 2px; }
.ds-veli-logo { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 30, 60, .4)); margin-bottom: 6px; }
.ds-veli-ust { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.ds-veli-ad { margin: 2px 0; font-size: clamp(1.6rem, 6vw, 2.3rem); letter-spacing: .01em; }
.ds-veli-alt { margin: 0; opacity: .9; }
.ds-veli .cam-kart { width: 100%; }
.ds-veli-kart { padding: 20px 20px 22px; scroll-margin-top: calc(var(--ust-h) + var(--guvenli-ust) + 12px); }
.ds-veli-kart h2 { font-size: 1.25rem; }
.ds-baslik { font-size: 1.05rem !important; margin: 16px 0 8px; }
.ds-kural { padding: 10px 14px; border-radius: var(--r-k); background: color-mix(in srgb, var(--mavi) 9%, var(--yuzey-kati)); border-left: 4px solid var(--mavi); font-size: .9rem; }
.ds-kural strong { display: block; margin-bottom: 2px; }
.ds-kural p { margin: 0 0 2px; }
.ds-ipucu { margin: 12px 0 0; color: var(--soluk); font-size: .82rem; }
.ds-bos-not { margin: 6px 0; padding: 14px; border-radius: var(--r-k); background: var(--zemin2); color: var(--soluk); text-align: center; }
.ds-geri { margin-top: 12px; border: 0; background: none; padding: 6px 0; cursor: pointer; font: inherit; font-weight: 600; }
button.giris-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--vurgu); }

.ds-adimlar { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 0 6px; padding: 0; counter-reset: a; }
.ds-adimlar li { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; text-align: center; color: var(--soluk); font-size: .74rem; font-weight: 600; }
.ds-adimlar li::after { content: ""; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--cizgi); }
.ds-adimlar li:last-child::after { display: none; }
.ds-adimlar li.tamam::after { background: var(--vurgu); }
.ds-adim-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--cizgi); background: var(--yuzey-kati); font-weight: 800; font-size: .82rem; }
.ds-adimlar li.aktif { color: var(--metin); }
.ds-adimlar li.aktif .ds-adim-no { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vurgu) 20%, transparent); }
.ds-adimlar li.tamam .ds-adim-no { border-color: var(--vurgu); color: var(--vurgu); }

.ds-secim-ozet { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 10px 0 2px; border-radius: var(--r-k); background: color-mix(in srgb, var(--renk) 12%, var(--yuzey-kati)); border: 1px solid color-mix(in srgb, var(--renk) 40%, var(--cizgi)); line-height: 1.3; }
.ds-secim-ozet .ikon { color: var(--vurgu); }
.ds-secim-ozet .ds-degistir { margin-left: auto; }

.ds-gunler-serit { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ds-gun { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 2px 6px; border-radius: 14px; border: 2px solid var(--cizgi); background: var(--yuzey-kati); color: var(--metin); font: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color var(--gecis), background var(--gecis), transform var(--gecis); }
.ds-gun:hover:not(:disabled) { border-color: var(--vurgu2); }
.ds-gun b { font-family: var(--baslik-font); font-size: 1.35rem; line-height: 1.15; }
.ds-gun small { font-size: .72rem; color: var(--soluk); font-weight: 600; }
.ds-gun-yer { margin-top: 4px; font-size: .68rem; font-weight: 800; padding: 1px 6px; border-radius: 99px; background: color-mix(in srgb, var(--yesil) 15%, transparent); color: color-mix(in srgb, var(--yesil) 72%, var(--metin)); white-space: nowrap; }
.ds-gun.dolu .ds-gun-yer { background: var(--zemin2); color: var(--soluk); }
.ds-gun.dolu { opacity: .7; }
.ds-gun.secili { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); opacity: 1; }
.ds-gun.secili small { color: inherit; opacity: .88; }
.ds-gun.secili .ds-gun-yer { background: rgba(255,255,255,.22); color: inherit; }
.ds-gun:disabled { opacity: .3; cursor: not-allowed; }

.ds-saatler { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ds-saat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; min-height: 84px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--vurgu) 35%, var(--cizgi)); background: var(--yuzey-kati); color: var(--metin); font: inherit; text-align: left; cursor: pointer; transition: transform var(--gecis), border-color var(--gecis), box-shadow var(--gecis); }
.ds-saat:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--vurgu); box-shadow: var(--golge); }
.ds-saat b { font-family: var(--baslik-font); font-size: 1.4rem; line-height: 1.1; }
.ds-saat small { color: var(--soluk); font-size: .8rem; }
.ds-yer { margin-top: 4px; font-size: .74rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--yesil) 15%, transparent); color: color-mix(in srgb, var(--yesil) 72%, var(--metin)); }
.ds-yer.son { background: color-mix(in srgb, var(--sari) 18%, transparent); color: color-mix(in srgb, var(--sari) 72%, var(--metin)); }
.ds-saat.secili { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); }
.ds-saat.secili small, .ds-saat.secili .ds-yer { color: inherit; background: rgba(255,255,255,.2); }
.ds-saat.dolu { opacity: .45; border-style: dashed; border-color: var(--cizgi); background: var(--zemin); cursor: not-allowed; min-height: 64px; }

.ds-cocuklar { display: flex; flex-direction: column; gap: 8px; }
.ds-cocuk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-k); border: 2px solid var(--cizgi); background: var(--yuzey-kati); cursor: pointer; font-weight: 600; min-height: 50px; }
.ds-cocuk:has(input:checked) { border-color: var(--vurgu); background: color-mix(in srgb, var(--vurgu) 9%, var(--yuzey-kati)); }
.ds-cocuk-yeni { display: flex; align-items: center; gap: 6px; }
.ds-cocuk-yeni input { flex: 1; min-width: 0; }
.ds-cocuk-ekle { align-self: flex-start; }
.ds-dogrulandi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; color: var(--yesil); font-size: .9rem; font-weight: 600; }
.ds-dogrulandi button.giris-link { font-size: .9rem; }

.ds-sonuc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 0 4px; }
.ds-sonuc h2 { margin: 6px 0 0; font-size: 1.45rem; }
.ds-sonuc-ikon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--su1), var(--yesil)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--yesil) 16%, transparent); animation: ds-damla .6s cubic-bezier(.3, 1.4, .5, 1) both; }
.ds-sonuc.talep .ds-sonuc-ikon { background: linear-gradient(135deg, var(--su1), var(--sari)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--sari) 16%, transparent); }
@keyframes ds-damla { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ds-sonuc-durum { margin: 0; color: var(--soluk); max-width: 40ch; }
.ds-sonuc-ozet { width: 100%; text-align: left; margin: 10px 0 4px; }
.ds-sonuc-btn { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; margin-top: 6px; }
.ds-sonuc-btn .btn { flex: 1 1 160px; }

.ds-my-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ds-my-bas h2 { margin: 0; }
.ds-my-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-my-oge { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-k); background: var(--yuzey-kati); border: 1px solid var(--cizgi); }
.ds-my-tarih { flex: none; display: flex; flex-direction: column; align-items: center; width: 50px; padding: 4px 0; border-radius: 10px; background: color-mix(in srgb, var(--renk) 14%, var(--zemin2)); line-height: 1.1; }
.ds-my-tarih b { font-family: var(--baslik-font); font-size: 1.3rem; }
.ds-my-tarih small { font-size: .72rem; color: var(--soluk); font-weight: 700; text-transform: uppercase; }
.ds-my-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ds-my-bilgi strong { overflow-wrap: anywhere; }
.ds-my-bilgi span { color: var(--soluk); font-size: .88rem; }
.ds-gecmis { margin-top: 12px; }
.ds-gecmis summary { cursor: pointer; font-weight: 600; color: var(--soluk); padding: 6px 0; min-height: 36px; }
.ds-gecmis .ds-my-oge { opacity: .8; }
.ds-kulup-kart { padding: 18px 20px; }

html[data-tema="kontrast"] .ds-kural, html[data-tema="kontrast"] .ds-secim-ozet { background: #000; border-color: #fff; }

/* ------------------------------------------------------------ DUYARLI */
@media (max-width: 900px) { .ds-toplam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ds-kartlar { grid-template-columns: 1fr; }
  .ds-ders-kart { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .ds-ders-saat { flex-direction: row; align-items: baseline; gap: 8px; }
  .ds-ders-saat b { font-size: 1.25rem; }
  .ds-ders-saat small::before { content: "– "; }
  .ds-ders-saat small:first-child::before { content: none; }
  .ds-ders-aksiyon .btn { flex: 1 1 auto; }
  .ds-ogr-sag { margin-left: 0; width: 100%; }
  .ds-ogr-sag .yoklama-dugmeler { flex: 1; }
  .ds-ogr-sag .yoklama-btn { flex: 1; min-width: 0; }
  .ds-ogr-sec { grid-template-columns: 1fr; }
  .ds-ay-secici { width: 100%; }
  .ds-ay-secici input { flex: 1; min-width: 0; }
  .ds-dokum-arac .btn { flex: 1 1 auto; }
  .ds-dokum-arac .ara { display: none; }
  .ds-serit-alt input[type="date"] { flex: 1; }
  .ds-veli-ic { padding-left: 12px; padding-right: 12px; gap: 12px; }
  .ds-veli-kart { padding: 16px 14px 18px; }
  .ds-veli-logo { width: 56px; height: 56px; }
  .ds-saatler { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ds-saat { padding: 10px 12px; min-height: 80px; }
  .ds-gun { width: 60px; }
  .ds-adimlar li { font-size: .68rem; }
  .ds-kulup-kart { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ds-sonuc-ikon { animation: none; } }
@media print { .ds-dokum .ds-toplam { grid-template-columns: repeat(4, 1fr); } }

.ds-nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .ozet-kartlar.ds-panel-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ds-panel-ozet .istatistik { padding: 10px; }
  .ds-panel-ozet .istatistik b { font-size: 1rem; }
  .ds-panel-ozet .istatistik span { font-size: .74rem; line-height: 1.2; }
  .ds-ogr-sag { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .ds-sayfa .izgara-4.ozet-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ds-sayfa .izgara-4.ozet-kartlar .istatistik { padding: 10px 12px; }
  .ds-sayfa .izgara-4.ozet-kartlar .istatistik b { font-size: 1.05rem; }
}
