/* Aktaş Müzik Evi — yönetim paneli */

/* ---------- simgeler (maske) ---------- */
.sim { display: inline-block; width: 20px; height: 20px; background: currentColor; flex: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sim-bugun { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Ccircle cx='12' cy='15' r='1.6' fill='black'/%3E%3C/svg%3E"); }
.sim-ogrenci { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8.5' r='3.5'/%3E%3Cpath d='M2.8 19.5c.8-3.3 3.3-5 6.2-5s5.4 1.7 6.2 5'/%3E%3Cpath d='M15.5 5.3a3.4 3.4 0 0 1 0 6.4M17.6 14.8c1.8.6 3.1 2.1 3.6 4.7'/%3E%3C/svg%3E"); }
.sim-program { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='4.5' width='18' height='15' rx='2'/%3E%3Cpath d='M9 4.5v15M15 4.5v15M3 10h18M3 15h18'/%3E%3C/svg%3E"); }
.sim-odeme { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 14.5h4'/%3E%3C/svg%3E"); }
.sim-haber { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5a6 6 0 0 1 12 0c0 4.5 1.8 6 2.5 6.8H3.5C4.2 15.5 6 14 6 9.5Z'/%3E%3Cpath d='M10 19.5a2.2 2.2 0 0 0 4 0'/%3E%3C/svg%3E"); }
.sim-ayar { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2.2'/%3E%3Ccircle cx='8' cy='17' r='2.2'/%3E%3C/svg%3E"); }
.sim-kart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8.5 8.5a5 5 0 0 1 0 7M11.8 6a8.6 8.6 0 0 1 0 12M15.1 3.6a12.2 12.2 0 0 1 0 16.8'/%3E%3Ccircle cx='5' cy='12' r='1.4' fill='black'/%3E%3C/svg%3E"); }
.sim-ara { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E"); }
.sim-arti { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.sim-kapat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.sim-geri { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5 8 12l7 7'/%3E%3C/svg%3E"); }
.sim-tik { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.sim-tel { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.6l1.6 4.2-2 1.3a10.6 10.6 0 0 0 5.2 5.2l1.3-2 4.2 1.6v2.6a2 2 0 0 1-2.1 2A15.8 15.8 0 0 1 4.6 5.6a2 2 0 0 1 2-2.1Z'/%3E%3C/svg%3E"); }

/* ---------- düğmeler, alanlar ---------- */
.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--cizgi); background: var(--tus); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s var(--hiz), box-shadow .15s; }
@media (hover: hover) and (pointer: fine) { .dugme:hover { border-color: #cfc6b6; } }
.dugme:active { transform: scale(.97); }
.dugme:disabled { opacity: .5; cursor: default; transform: none; }
.dugme .sim { width: 17px; height: 17px; }
.dugme.ana { background: var(--siyah); border-color: var(--siyah); color: #fff; }
@media (hover: hover) and (pointer: fine) { .dugme.ana:hover { background: #2a2824; } }
.dugme.piric { background: var(--piric-gecis); border-color: transparent; color: var(--siyah); }
@media (hover: hover) and (pointer: fine) { .dugme.piric:hover { filter: brightness(.95) saturate(1.08); } }
.dugme.yesil { background: var(--yesil); border-color: var(--yesil); color: #fff; }
.dugme.tehlike { color: var(--kirmizi); }
.dugme.sade { background: transparent; border-color: transparent; padding: 0 10px; }
@media (hover: hover) and (pointer: fine) { .dugme.sade:hover { background: rgba(0, 0, 0, .05); } }
.dugme.kucuk { min-height: 32px; padding: 0 12px; font-size: 13px; }
.dugme.genis { width: 100%; min-height: 48px; font-size: 15px; }
.bag { background: none; border: 0; padding: 0; color: var(--soluk); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.alan { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--soluk); }
.alan input, .alan select, .alan textarea, .ara input { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--cizgi);
  background: #fff; font-weight: 450; font-size: 15px; color: var(--metin); outline: none; transition: border-color .15s, box-shadow .15s; }
.alan textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.alan input:focus, .alan select:focus, .alan textarea:focus, .ara input:focus { border-color: var(--piric); box-shadow: 0 0 0 3px rgba(214, 160, 34, .16); }
.alan small { font-weight: 450; color: var(--soluk-2); }
.satir { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ara { position: relative; }
.ara .sim { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: var(--soluk-2); width: 18px; height: 18px; }
.ara input { padding-left: 40px; border-radius: 999px; }

.cip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #efe9de; color: var(--soluk); white-space: nowrap; }
.cip.yesil { background: var(--yesil-zemin); color: var(--yesil); }
.cip.kirmizi { background: var(--kirmizi-zemin); color: var(--kirmizi); }
.cip.amber { background: var(--amber-zemin); color: var(--amber); }
.cip.piric { background: var(--piric-zemin); color: #7A5608; }
.cip.koyu { background: var(--siyah); color: #fff; }
.cip .sim { width: 13px; height: 13px; }

.secici { display: flex; gap: 6px; flex-wrap: wrap; }
.secici button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cizgi); background: transparent; font-size: 13px; font-weight: 600; color: var(--soluk); }
.secici button[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }

/* ---------- giriş ---------- */
.giris { min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--siyah); }
.giris-foto { background: url(../ortak/piyano-dikey.webp) center 60% / cover; position: relative; }
.giris-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--siyah)); }
.giris-kart { align-self: center; justify-self: center; width: min(400px, 100% - 40px); background: var(--kagit); border-radius: 22px; padding: 36px 32px 30px;
  display: grid; gap: 16px; box-shadow: var(--golge-buyuk); }
.giris-logo { width: 210px; margin: 0 auto 4px; }
.giris-kart .ust-baslik { text-align: center; margin-bottom: 8px; }
.giris-hata { margin: 0; min-height: 20px; color: var(--kirmizi); font-size: 14px; }
@media (max-width: 820px) {
  .giris { grid-template-columns: 1fr; grid-template-rows: 38vh 1fr; }
  .giris-foto::after { background: linear-gradient(180deg, transparent 50%, var(--siyah)); }
  .giris-kart { margin-top: -80px; align-self: start; position: relative; }
}

/* ---------- iskelet ---------- */
.uygulama { min-height: 100dvh; display: grid; grid-template-columns: 248px 1fr; grid-template-rows: auto 1fr; }
.yan { grid-row: 1 / 3; position: sticky; top: 0; height: 100dvh; background: var(--siyah); color: #d9d3c7; display: flex; flex-direction: column; padding: 26px 16px 18px; }
.yan-logo { display: block; padding: 0 10px 26px; }
.yan-logo img { width: 158px; }
.menu { display: grid; gap: 2px; }
.menu a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-weight: 550; font-size: 14.5px;
  color: #b7b0a3; transition: background .15s, color .15s; position: relative; }
@media (hover: hover) and (pointer: fine) { .menu a:hover { background: rgba(255, 255, 255, .05); color: #fff; } }
.menu a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
.menu a[aria-current="page"]::before { content: ''; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--piric-acik); }
.menu .sim { width: 19px; height: 19px; }
.rozet { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--piric-gecis); color: var(--siyah); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; font-style: normal; }
.yan-alt { margin-top: auto; display: grid; gap: 12px; }
.okuyucu-durum { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--cizgi-koyu);
  background: transparent; color: #b7b0a3; font-size: 13px; font-weight: 550; text-align: left; }
.okuyucu-durum i { width: 9px; height: 9px; border-radius: 50%; background: #6b665d; flex: none; }
.okuyucu-durum.bagli i { background: #5fc48d; box-shadow: 0 0 0 4px rgba(95, 196, 141, .16); }
.okuyucu-durum.kart i { background: var(--piric-acik); box-shadow: 0 0 0 4px rgba(236, 196, 58, .22); }
.ben { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 13px; color: #8d877c; }
.ben .bag { color: #8d877c; }
.ust-cubuk { display: none; }
.demo-serit { grid-column: 2; background: var(--piric-zemin); color: #7A5608; font-size: 12.5px; font-weight: 600; text-align: center; padding: 6px; letter-spacing: .02em; }
.icerik { grid-column: 2; padding: 34px clamp(18px, 3.4vw, 48px) 80px; max-width: 1320px; width: 100%; outline: none; }

@media (max-width: 900px) {
  .uygulama { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .yan { position: fixed; inset: auto 0 0 0; height: auto; padding: 0 6px calc(6px + env(safe-area-inset-bottom)); z-index: 30; flex-direction: row;
    border-top: 1px solid #2a2824; }
  .yan-logo, .yan-alt, .menu-ayar { display: none; }
  .menu { grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; gap: 0; }
  .menu a { flex-direction: column; gap: 3px; height: 58px; justify-content: center; padding: 0; font-size: 10.5px; font-weight: 600; border-radius: 0; background: none !important; }
  .menu a[aria-current="page"] { color: #fff; }
  .menu a[aria-current="page"]::before { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 2px; border-radius: 0 0 2px 2px; }
  .menu .rozet { position: absolute; top: 5px; left: 54%; min-width: 17px; height: 17px; font-size: 10px; padding: 0 4px; margin: 0; }
  .ust-cubuk { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 25; background: var(--siyah); padding: 10px 16px;
    padding-top: calc(10px + env(safe-area-inset-top)); }
  .ust-cubuk img { width: 112px; margin-right: auto; }
  .ust-cubuk .okuyucu-durum { width: 40px; justify-content: center; padding: 0; }
  .ust-ayar { width: 40px; height: 40px; display: grid; place-items: center; color: #d9d3c7; }
  .demo-serit, .icerik { grid-column: 1; }
  .icerik { padding: 20px 16px 110px; }
}

/* ---------- sayfa başlığı ---------- */
.sayfa-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sayfa-bas h1 { font-family: var(--baslik); font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.025em; line-height: 1.05; margin: 6px 0 0; }
.sayfa-bas h1 em { font-style: normal; color: var(--soluk-2); font-weight: 500; }
.sayfa-bas .eylemler { display: flex; gap: 8px; flex-wrap: wrap; }
h2.bolum { font-family: var(--baslik); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soluk); margin: 0 0 12px; }

.kutu { background: var(--kagit); border: 1px solid var(--cizgi); border-radius: 18px; box-shadow: var(--golge); }
.kutu-ic { padding: 20px 22px; }
.bos { padding: 40px 20px; text-align: center; color: var(--soluk); }
.bos strong { display: block; font-family: var(--baslik); color: var(--metin); font-size: 17px; margin-bottom: 4px; }

/* ---------- bugün ---------- */
.bugun-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 1180px) { .bugun-izgara { grid-template-columns: 1fr; } }
.sayilar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
@media (max-width: 1180px) { .sayilar { grid-template-columns: repeat(2, 1fr); } }
.sayi-kart { padding: 16px 18px; border-radius: 16px; background: var(--kagit); border: 1px solid var(--cizgi); display: grid; gap: 4px; text-decoration: none;
  transition: border-color .15s, transform .2s var(--hiz); }
@media (hover: hover) and (pointer: fine) { a.sayi-kart:hover { border-color: #cfc6b6; transform: translateY(-1px); } }
.sayi-kart b { font-family: var(--baslik); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sayi-kart b small { font-size: 16px; color: var(--soluk-2); font-weight: 600; letter-spacing: 0; }
.sayi-kart span { font-size: 13px; color: var(--soluk); }
.sayi-kart.vurgu { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.sayi-kart.vurgu span { color: #a8a194; }
.sayi-kart.uyari b { color: var(--kirmizi); }

.ogretmen-secici { margin-bottom: 14px; }
.zaman-cizelgesi { display: grid; }
.ders-satir { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--cizgi);
  position: relative; transition: background .2s; }
.ders-satir:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .ders-satir:hover { background: rgba(255, 255, 255, .6); } }
.ders-saat { font-family: var(--baslik); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.ders-saat small { display: block; font-size: 11.5px; font-weight: 500; color: var(--soluk-2); letter-spacing: 0; margin-top: 2px; }
.ders-kim { min-width: 0; display: grid; gap: 5px; }
.ders-kim a { font-weight: 650; font-size: 15.5px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ders-kim a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ders-kim .alt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--soluk); }
.ders-eylem { display: flex; gap: 6px; align-items: center; }
.ders-satir.katildi .ders-saat { color: var(--yesil); }
.ders-satir.yandi .ders-saat { color: var(--kirmizi); }
.ders-satir.suruyor { background: linear-gradient(90deg, var(--piric-zemin), transparent 70%); }
.ders-satir.suruyor::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--piric); }
@media (max-width: 640px) {
  .ders-satir { grid-template-columns: 54px minmax(0, 1fr); padding: 14px; gap: 12px; }
  .ders-eylem { grid-column: 2; flex-wrap: wrap; min-width: 0; }
  .ders-saat { font-size: 16px; }
}

/* kart okut alanı */
.okut-kart { background: var(--siyah); color: #fff; border-radius: 20px; padding: 22px; position: sticky; top: 24px; overflow: hidden; }
.okut-kart::before { content: ''; position: absolute; inset: 0; background: url(../ortak/baslik.webp) center / cover; opacity: .22; }
.okut-kart > * { position: relative; }
.okut-kart h3 { font-family: var(--baslik); font-size: 19px; margin: 6px 0 4px; letter-spacing: -.01em; }
.okut-kart p { margin: 0; color: #b9b2a6; font-size: 13.5px; }
.okut-kart .ust-baslik { color: var(--piric-acik); }
.dalga { width: 92px; height: 92px; margin: 22px auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06);
  position: relative; color: var(--piric-acik); }
.dalga .sim { width: 36px; height: 36px; }
.dalga::before, .dalga::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(236, 196, 58, .45); opacity: 0; }
.okut-kart.bagli .dalga::before { animation: dalga 2.4s ease-out infinite; }
.okut-kart.bagli .dalga::after { animation: dalga 2.4s 1.2s ease-out infinite; }
@keyframes dalga { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.okut-durum { text-align: center; font-size: 13px; color: #b9b2a6; margin-bottom: 16px; }
.okut-durum b { color: #fff; }
.okut-kart .ara input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #fff; }
.okut-kart .ara input::placeholder { color: #8d877c; }
.okut-kart .ara .sim { color: #8d877c; }
.adla-sonuc { display: grid; margin-top: 8px; max-height: 260px; overflow: auto; }
.adla-sonuc button { text-align: left; background: none; border: 0; color: #e9e3d8; padding: 10px 12px; border-radius: 10px; display: flex; justify-content: space-between; gap: 10px; }
@media (hover: hover) and (pointer: fine) { .adla-sonuc button:hover { background: rgba(255, 255, 255, .07); } }
.adla-sonuc small { color: #8d877c; }
.demo-kartlar { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.demo-kartlar p { font-size: 12px; margin-bottom: 8px; }
.demo-kartlar div { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-kartlar button { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #e9e3d8; font-size: 12.5px; }
@media (hover: hover) and (pointer: fine) { .demo-kartlar button:hover { border-color: var(--piric-acik); color: #fff; } }

/* ---------- öğrenci listesi ---------- */
.liste-ust { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.liste-ust .ara { flex: 1 1 260px; max-width: 420px; }
.ogrenci-liste { display: grid; }
.ogr-satir { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1.3fr) 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px 18px;
  border-bottom: 1px solid var(--cizgi); text-decoration: none; transition: background .15s; }
.ogr-satir:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .ogr-satir:hover { background: #fff; } }
.bas-harf { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fildisi); border: 1px solid var(--cizgi);
  font-family: var(--baslik); font-weight: 700; font-size: 14px; color: var(--soluk); }
.ogr-ad { min-width: 0; }
.ogr-ad b { display: block; font-weight: 650; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogr-ad small, .ogr-prog { font-size: 13px; color: var(--soluk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.ogr-kalan { display: grid; gap: 5px; font-size: 12.5px; color: var(--soluk); }
.ogr-kalan b { color: var(--metin); font-family: var(--baslik); }
.ogr-rozet { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.ogr-satir.pasif { opacity: .55; }
@media (max-width: 980px) {
  .ogr-satir { grid-template-columns: 40px 1fr auto; padding: 13px 14px; gap: 12px; }
  .ogr-prog { display: none; }
  .ogr-kalan { grid-column: 3; grid-row: 1; text-align: right; justify-items: end; }
  .ogr-rozet { grid-column: 2 / 4; justify-content: flex-start; }
  .ogr-rozet:empty { display: none; }
}

/* ---------- öğrenci detayı ---------- */
.geri-don { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--soluk); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.ogr-bas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 22px; }
.ogr-bas h1 { font-family: var(--baslik); font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; margin: 4px 0 6px; line-height: 1.02; }
.ogr-bas .alt { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--soluk); font-size: 14px; }
@media (max-width: 760px) { .ogr-bas { grid-template-columns: 1fr; } }
.detay-izgara { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.detay-izgara > div { display: grid; gap: 20px; }
@media (max-width: 1080px) { .detay-izgara { grid-template-columns: 1fr; } }

.paket-kart { background: var(--siyah); color: #fff; border-radius: 20px; padding: 24px; position: relative; overflow: hidden; }
.paket-kart .ust-baslik { color: var(--piric-acik); }
.paket-buyuk { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 18px; }
.paket-buyuk b { font-family: var(--baslik); font-size: 64px; font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.paket-buyuk span { color: #a8a194; font-size: 15px; }
.paket-kart .tuslar i { height: 60px; }
.paket-alt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: #a8a194; }
.paket-eylem { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.paket-kart .dugme:not(.piric) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.odeme-serit { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(236, 196, 58, .12); border: 1px solid rgba(236, 196, 58, .3);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #eadbbd; }
.odeme-serit.gecikti { background: rgba(196, 84, 64, .16); border-color: rgba(196, 84, 64, .4); color: #f1c7bd; }

.liste-kalem { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); font-size: 14px; }
.liste-kalem:last-child { border-bottom: 0; }
.liste-kalem .sol { min-width: 0; display: grid; gap: 2px; }
.liste-kalem .sol small { color: var(--soluk); font-size: 12.5px; }
.liste-kalem .sol small { overflow-wrap: anywhere; }
.pencere-govde > * { min-width: 0; }
.prog-gun { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--fildisi); border: 1px solid var(--cizgi);
  font-family: var(--baslik); font-weight: 700; font-size: 13px; flex: none; }
.prog-satir { display: flex; align-items: center; gap: 14px; }

.yoklama-gecmis .liste-kalem { font-size: 13.5px; }
.nokta { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--soluk-2); }
.nokta.katildi { background: var(--yesil); }
.nokta.yandi { background: var(--kirmizi); }

/* ---------- program ---------- */
.hafta { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.hafta-gun { background: var(--kagit); border: 1px solid var(--cizgi); border-radius: 16px; padding: 12px; min-height: 260px; scroll-snap-align: start; }
.hafta-gun.bugun { border-color: var(--piric); box-shadow: 0 0 0 3px rgba(214, 160, 34, .12); }
.hafta-gun h3 { margin: 0 0 10px; font-family: var(--baslik); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; }
.hafta-gun h3 small { color: var(--soluk-2); letter-spacing: 0; font-weight: 600; }
.prog-kart { display: block; text-decoration: none; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--cizgi); margin-bottom: 6px;
  border-left: 3px solid var(--b, var(--piric)); font-size: 13px; transition: transform .15s var(--hiz); }
@media (hover: hover) and (pointer: fine) { .prog-kart:hover { transform: translateY(-1px); } }
.prog-kart b { display: block; font-family: var(--baslik); font-size: 13px; }
.prog-kart span { display: block; color: var(--soluk); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-piyano { --b: #191714; } .b-gitar { --b: #A87A34; } .b-keman { --b: #8A3B2C; } .b-baglama { --b: #2E6A4C; } .b-san { --b: #6B5B95; } .b-diger { --b: #8d877c; }
@media (max-width: 900px) { .hafta { grid-template-columns: repeat(7, 78%); } }

/* ---------- ödemeler ---------- */
.odeme-satir { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 100px auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--cizgi); }
.odeme-satir:last-child { border-bottom: 0; }
.odeme-satir .tutar { font-family: var(--baslik); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.odeme-satir .eylem { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 820px) { .odeme-satir { grid-template-columns: 1fr auto; padding: 14px; } .odeme-satir .eylem { grid-column: 1 / 3; justify-content: flex-start; } }

/* ---------- haberler ---------- */
.haber-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1080px) { .haber-izgara { grid-template-columns: 1fr; } }
.haber-form { display: grid; gap: 14px; }
.telefon-onizleme { background: url(../ortak/piyano-dikey.webp) center / cover; border-radius: 28px; padding: 56px 14px 120px; position: sticky; top: 24px;
  box-shadow: var(--golge-buyuk); }
.telefon-onizleme .saat { text-align: center; color: #fff; font-family: var(--baslik); font-size: 56px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 26px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.bildirim-balon { background: rgba(250, 247, 240, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 18px; padding: 12px 14px;
  display: grid; grid-template-columns: 38px 1fr; gap: 10px; font-size: 13.5px; }
.bildirim-balon img { width: 38px; height: 38px; border-radius: 9px; }
.bildirim-balon b { display: flex; justify-content: space-between; font-size: 13.5px; }
.bildirim-balon b small { color: var(--soluk); font-weight: 500; }
.bildirim-balon p { margin: 2px 0 0; color: #2b2925; white-space: pre-line; overflow-wrap: anywhere; }
.izin-cubuk { height: 8px; border-radius: 99px; background: var(--fildisi); overflow: hidden; margin: 10px 0 6px; }
.izin-cubuk i { display: block; height: 100%; background: var(--piric); border-radius: 99px; width: 0; transition: width .6s var(--hiz); }

/* ---------- ayarlar ---------- */
.ayar-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; align-items: start; }
.kod-kutu { font-family: var(--baslik); font-size: 26px; letter-spacing: .12em; text-align: center; padding: 18px; border-radius: 14px; background: var(--siyah); color: #fff; user-select: all; }

/* ---------- pencere (modal) ---------- */
.perde { position: fixed; inset: 0; z-index: 50; background: rgba(15, 14, 13, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px; animation: belir .2s ease; }
@keyframes belir { from { opacity: 0; } }
.pencere { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--kagit); border-radius: 22px; box-shadow: var(--golge-buyuk);
  animation: yuksel .35s var(--hiz); }
@keyframes yuksel { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.pencere-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px 0; }
.pencere-bas h2 { font-family: var(--baslik); font-size: 20px; margin: 0; letter-spacing: -.01em; }
.pencere-govde { padding: 18px 22px 22px; display: grid; gap: 14px; }
.pencere-alt { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }
.kapat-d { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .05); display: grid; place-items: center; flex: none; }
@media (max-width: 640px) {
  .perde { place-items: end stretch; padding: 0; }
  .pencere { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); animation-name: alttan; }
  @keyframes alttan { from { transform: translateY(40px); opacity: 0; } }
}

/* okutma penceresi: koyu, sahne gibi */
.pencere.okutma { background: var(--siyah); color: #fff; width: min(560px, 100%); }
.okutma-foto { height: 120px; background: url(../ortak/baslik.webp) center 40% / cover; position: relative; }
.okutma-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 13, .2), var(--siyah)); }
.okutma .pencere-govde { margin-top: -54px; position: relative; }
.okutma .ust-baslik { color: var(--piric-acik); }
.okutma h2 { font-family: var(--baslik); font-size: 34px; letter-spacing: -.03em; line-height: 1.02; margin: 2px 0 0; }
.okutma .alt-bilgi { color: #b9b2a6; font-size: 14px; }
.okutma .kapat-d { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(0, 0, 0, .4); color: #fff; }
.okutma .tuslar i { height: 54px; }
.okutma-kalan { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #b9b2a6; }
.okutma-kalan b { font-family: var(--baslik); font-size: 28px; color: #fff; letter-spacing: -.03em; }
.bugun-ders { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1); }
.bugun-ders b { font-family: var(--baslik); font-size: 18px; }
.bugun-ders > div span { color: #b9b2a6; font-size: 13.5px; display: block; }
.bugun-ders > .cip { flex: none; height: 30px; padding: 0 12px; font-size: 13px; }
.okutma .bugun-ders > .cip.yesil { background: rgba(95, 196, 141, .18); color: #a8e5c4; }
.okutma .bugun-ders > .cip.kirmizi { background: rgba(196, 84, 64, .25); color: #f6c9bf; }
.bugun-ders.islendi { border-color: rgba(95, 196, 141, .4); background: rgba(95, 196, 141, .1); }
.okutma .dugme:not(.piric):not(.yesil) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.okutma .cip { background: rgba(255, 255, 255, .1); color: #e9e3d8; }
.okutma .cip.kirmizi { background: rgba(196, 84, 64, .25); color: #f6c9bf; }
.okutma .cip.amber { background: rgba(236, 196, 58, .2); color: #F4DC8C; }
.okutma .ara input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.basari-tik { width: 64px; height: 64px; border-radius: 50%; background: var(--yesil); display: grid; place-items: center; margin: 4px auto 0; animation: tik .5s var(--hiz); }
.basari-tik .sim { width: 32px; height: 32px; color: #fff; }
@keyframes tik { from { transform: scale(.4); opacity: 0; } }

.yazma-adim { display: grid; gap: 10px; text-align: center; padding: 10px 0; }
.yazma-adim .dalga { margin: 8px auto; background: var(--siyah); }
.yazma-adim .dalga::before { animation: dalga 2.4s ease-out infinite; }
.yazma-adim p { margin: 0; }

/* ---------- tost ---------- */
.tostlar { position: fixed; z-index: 60; bottom: 24px; left: 50%; translate: -50% 0; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.tost { background: var(--siyah); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 550; box-shadow: var(--golge-buyuk);
  animation: tost .35s var(--hiz); pointer-events: auto; display: flex; gap: 12px; align-items: center; }
.tost.hata { background: var(--kirmizi); }
.tost button { background: none; border: 0; color: var(--piric-acik); font-weight: 700; padding: 0; }
@keyframes tost { from { transform: translateY(12px); opacity: 0; } }
@media (max-width: 900px) { .tostlar { bottom: calc(80px + env(safe-area-inset-bottom)); } }

.yukleniyor { padding: 60px; text-align: center; color: var(--soluk-2); }
.gizli-mobil { }
@media (max-width: 640px) { .gizli-mobil { display: none !important; } }

.ara-bosluk { margin-top: 28px; }
@media (min-width: 901px) { .gizli-masa { display: none !important; } }
.pencere:not(.okutma) .adla-sonuc button { color: var(--metin); }
@media (hover: hover) and (pointer: fine) { .pencere:not(.okutma) .adla-sonuc button:hover { background: var(--fildisi); } }
.pencere:not(.okutma) .adla-sonuc small { color: var(--soluk); }
details summary { cursor: pointer; margin: 10px 0 4px; }

.pencere-govde > .cip { justify-self: start; }
a.dugme { text-decoration: none; }
@media (max-width: 900px) {
  .menu a.menu-ayar { display: flex; }
  .ust-ayar { display: none; }
  .secici.ogretmen-secici, #ogr-filtre { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .secici.ogretmen-secici::-webkit-scrollbar, #ogr-filtre::-webkit-scrollbar { display: none; }
  .secici.ogretmen-secici button, #ogr-filtre button { flex: none; }
  .sayfa-bas .eylemler .dugme { flex: 1; }
}
.odeme-satir > div { min-width: 0; }
.odeme-satir .cip { display: inline-block; max-width: 100%; line-height: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.kod-kutu small { display: block; font-family: var(--yaz); font-size: 13px; letter-spacing: 0; color: #b3ac9f; overflow-wrap: anywhere; margin-bottom: 6px; }
.kod-kutu b { display: block; font-weight: 700; white-space: nowrap; font-size: min(26px, 6.4vw); }
.pencere-govde { min-width: 0; }

/* dokunma geri bildirimi (fare olmayan cihazlarda :hover yerine) */
.ders-satir, .ogr-satir, .prog-kart, a.sayi-kart, .menu a, .adla-sonuc button, .demo-kartlar button, .liste-kalem { transition: background .12s ease-out, transform .12s ease-out; }
.ders-satir:active, .ogr-satir:active, .adla-sonuc button:active { background: rgba(255, 255, 255, .75); }
.prog-kart:active, a.sayi-kart:active { transform: scale(.98); }
.menu a:active { background: rgba(255, 255, 255, .08); }
.dugme.ana:active { background: #2a2824; } .dugme.piric:active { filter: brightness(.9); }
.pencere, .yan nav { overscroll-behavior: contain; }

.ayar-izgara > section { scroll-margin-top: 84px; }
.eksik { color: var(--amber); font-weight: 600; }
/* ızgara öğeleri içerikleri kadar genişleyip sayfayı yana taşırmasın (yatay kaydırmalı çip şeritleri) */
.uygulama > *, .icerik, .bugun-izgara > *, .ayar-izgara > *, .detay-izgara > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  /* uzun formlarda kaydet düğmesi hep görünür kalsın */
  .pencere .pencere-alt { position: sticky; bottom: calc(-1 * env(safe-area-inset-bottom, 0px)); background: var(--kagit); margin: 0 -22px; padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--cizgi); z-index: 2; }
  .pencere .pencere-alt .dugme { flex: 1; }
}
@media (max-width: 640px) {
  .pencere:has(.pencere-alt) { padding-bottom: 0; }
  .pencere-govde:has(> .pencere-alt:last-child) { padding-bottom: 0; }
  .pencere .pencere-alt { bottom: 0; }
}
.eylemler { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hafta-gun h3 em { font-style: normal; font-size: 10.5px; letter-spacing: .08em; color: var(--piric-metin); margin-left: 6px; }
@media (max-width: 640px) {
  .hafta { grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; gap: 8px; }
  .hafta-gun { min-height: 0; order: var(--sira, 0); padding: 12px 14px; }
  .hafta-gun.bos-gun { padding: 11px 14px; }
  .hafta-gun.bos-gun h3 { margin: 0; color: var(--soluk); }
  .hafta-gun:not(.bos-gun) h3 { margin-bottom: 10px; }
  .prog-kart { padding: 11px 12px; font-size: 14px; }
  .prog-kart b { font-size: 15px; }
  .prog-kart span { font-size: 13px; }
}

/* kart tanımlama */
.dugme.buyuk { width: 100%; min-height: 52px; font-size: 15.5px; }
.ara-bolucu { display: flex; align-items: center; gap: 10px; margin: 2px 0 -4px; font-size: 12.5px; color: var(--soluk); }
.ara-bolucu::before, .ara-bolucu::after { content: ''; flex: 1; height: 1px; background: var(--cizgi); }
.okutma .ara-bolucu { color: #9f998d; }
.okutma .ara-bolucu::before, .okutma .ara-bolucu::after { background: rgba(255, 255, 255, .12); }
.form-kart { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed #d6ccba; background: #fff; }
.form-kart > .sim { width: 22px; height: 22px; color: var(--soluk); flex: none; }
.form-kart span { flex: 1; min-width: 0; }
.form-kart b { display: block; font-weight: 650; font-size: 14.5px; }
.form-kart small { display: block; color: var(--soluk); font-size: 12.5px; }
.form-kart.okundu { border-style: solid; border-color: var(--yesil); background: var(--yesil-zemin); }
.form-kart.okundu > .sim { color: var(--yesil); }

/* Bugün: karşılama (Vonresort Spa panelindeki gibi) — ortada süzülen kart, sağda günün sayıları */
.karsilama { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-bottom: 22px; }
.bekle { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 32px 30px;
  border-radius: 24px; border: 1px solid var(--cizgi); background: radial-gradient(ellipse 70% 60% at 50% 34%, #fffdf8 0%, var(--fildisi) 72%); }
.bekle > * { animation: yukari .9s var(--hiz) both; }
.bekle > :nth-child(2) { animation-delay: .1s; } .bekle > :nth-child(3) { animation-delay: .16s; } .bekle > :nth-child(4) { animation-delay: .22s; }
.bekle > :nth-child(5) { animation-delay: .28s; } .bekle > :nth-child(6) { animation-delay: .34s; } .bekle > :nth-child(7) { animation-delay: .4s; }
@keyframes yukari { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.bekle-kart { position: relative; width: 150px; height: 238px; margin-bottom: 40px; perspective: 1100px; }
/* basılı öğrenci kartının kendisi: süzülür, arada bir dönüp arka yüzünü gösterir */
.kart3d { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-14deg) rotateZ(3deg); animation: suzul 5s ease-in-out infinite; }
.kart-ic { position: absolute; inset: 0; transform-style: preserve-3d; animation: kartCevir 12s cubic-bezier(.65, 0, .35, 1) infinite; }
.kart-yuz { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  background: center / cover no-repeat; box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.kart-yuz.on { background-image: url(../ortak/kart-on.webp); }
.kart-yuz.arka { background-image: url(../ortak/kart-arka.webp); transform: rotateY(180deg); }
.kart-yuz::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 48%, transparent 60%);
  background-size: 260% 100%; animation: parilti 4.5s ease-in-out infinite; }
@keyframes suzul { 50% { transform: rotateX(6deg) rotateY(-6deg) rotateZ(2deg) translateY(-8px); } }
@keyframes kartCevir { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes parilti { 0%, 30% { background-position: 130% 0; } 70%, 100% { background-position: -30% 0; } }
.halka { position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; border: 1px solid rgba(214, 160, 34, .38);
  opacity: 0; animation: halka 3.6s var(--hiz) infinite; }
.halka:nth-of-type(2) { animation-delay: 1.2s; } .halka:nth-of-type(3) { animation-delay: 2.4s; }
.bekle:not(.bagli) .halka { animation-duration: 5.4s; border-color: rgba(120, 112, 100, .22); }
@keyframes halka { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.bekle-baslik { font-family: var(--baslik); font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 8px 0 0; }
.bekle-baslik em { font-style: normal; font-weight: 600; color: var(--piric-metin);
  background: linear-gradient(100deg, #A97612 0%, #D29B1E 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bekle-alt { margin: 12px 0 0; color: var(--soluk); max-width: 46ch; }
.bekle .okut-durum { margin: 18px 0 14px; font-size: 13.5px; color: var(--soluk); padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--cizgi); }
.bekle .okut-durum b { color: var(--metin); }
.bekle.bagli .okut-durum { color: var(--yesil); border-color: rgba(46, 125, 87, .25); background: var(--yesil-zemin); }
.bekle.bagli .okut-durum b { color: var(--yesil); }
.okut-ara { width: min(440px, 100%); text-align: left; position: relative; z-index: 2; }
.okut-ara .ara input { background: #fff; }
.okut-ara .adla-sonuc { background: #fff; border-radius: 14px; box-shadow: var(--golge); }
.okut-ara .adla-sonuc:empty { display: none; }
.okut-ara .adla-sonuc button { color: var(--metin); }
@media (hover: hover) and (pointer: fine) { .okut-ara .adla-sonuc button:hover { background: var(--fildisi); } }
.okut-ara .adla-sonuc small { color: var(--soluk); }
.bekle .demo-kartlar { width: min(620px, 100%); border-top: 1px dashed var(--cizgi); }
.bekle .demo-kartlar p { color: var(--soluk); }
.bekle .demo-kartlar div { justify-content: center; }
.bekle .demo-kartlar button { border-color: var(--cizgi); color: var(--metin); background: #fff; }
@media (hover: hover) and (pointer: fine) { .bekle .demo-kartlar button:hover { border-color: var(--piric); color: var(--metin); } }
.gunluk { min-width: 0; }
.gunluk-sayilar { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 10px; margin: 0; height: 100%; }
.gunluk-sayilar .sayi-kart { grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-content: center; padding: 14px 18px; }
.gunluk-sayilar .sayi-kart b { grid-column: 1; grid-row: 1 / 3; align-self: center; font-size: 38px; }
.gunluk-sayilar .sayi-kart span:first-child { grid-column: 2; grid-row: 1; align-self: end; font-weight: 600; color: var(--metin); font-size: 13.5px; }
.gunluk-sayilar .sayi-kart.vurgu span:first-child { color: #fff; }
.gunluk-sayilar .sayi-kart span:last-child { grid-column: 2; grid-row: 2; align-self: start; }
.gunluk-sayilar > * { animation: yukari .8s var(--hiz) both; }
.gunluk-sayilar > :nth-child(2) { animation-delay: .08s; } .gunluk-sayilar > :nth-child(3) { animation-delay: .16s; } .gunluk-sayilar > :nth-child(4) { animation-delay: .24s; }
.bugun-dersler { min-width: 0; animation: yukari .9s .3s var(--hiz) both; }
@media (max-width: 1180px) {
  .karsilama { grid-template-columns: minmax(0, 1fr); }
  .gunluk-sayilar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bekle { padding: 28px 18px 20px; border-radius: 20px; }
  .bekle-kart { width: 112px; height: 178px; margin-bottom: 30px; }
  .halka { width: 210px; height: 210px; margin: -105px 0 0 -105px; }
  .bekle-baslik { font-size: 30px; }
  .bekle-alt { font-size: 14px; }
  .gunluk-sayilar .sayi-kart { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 14px; }
  .gunluk-sayilar .sayi-kart b { grid-row: 2; font-size: 28px; }
  .gunluk-sayilar .sayi-kart span:first-child { grid-column: 1; grid-row: 1; }
  .gunluk-sayilar .sayi-kart span:last-child { grid-column: 1; grid-row: 3; }
}

/* kart okununca: spa'daki gibi daire açılışı ve sırayla gelen satırlar */
.perde:has(.pencere.okutma) { background: rgba(15, 14, 13, .72); }
.pencere.okutma { animation: hgAc .7s var(--hiz); }
@keyframes hgAc { from { clip-path: circle(0 at 50% 30%); } to { clip-path: circle(150% at 50% 30%); } }
.okutma .pencere-govde > * { animation: yukari .8s var(--hiz) both; }
.okutma .pencere-govde > :nth-child(1) { animation-delay: .12s; } .okutma .pencere-govde > :nth-child(2) { animation-delay: .2s; }
.okutma .pencere-govde > :nth-child(3) { animation-delay: .28s; } .okutma .pencere-govde > :nth-child(4) { animation-delay: .34s; }
.okutma .pencere-govde > :nth-child(5) { animation-delay: .4s; } .okutma .pencere-govde > :nth-child(n+6) { animation-delay: .46s; }
@media (max-width: 640px) { .pencere.okutma { animation: hgAc .7s var(--hiz); } @keyframes hgAc { from { clip-path: circle(0 at 50% 100%); } to { clip-path: circle(160% at 50% 100%); } } }
@media (prefers-reduced-motion: reduce) {
  .bekle > *, .gunluk-sayilar > *, .bugun-dersler, .okutma .pencere-govde > *, .pencere.okutma, .kart3d, .kart-ic, .kart-yuz::after, .halka { animation: none !important; }
}

/* iptal edilmiş kart penceresi */
.okutma .iptal-not { margin: -4px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(236, 196, 58, .12); border: 1px solid rgba(236, 196, 58, .28);
  color: #F5E6AE; font-size: 13.5px; }
.okutma .dugme.buyuk:not(.piric) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* logodaki altın: ince dokunuşlar */
.ust-baslik { color: var(--piric-metin); }
.sayi-kart.vurgu { background: var(--siyah); box-shadow: inset 0 -3px 0 var(--piric); }
.cip.piric { background: var(--piric-zemin); color: #7A5608; }

/* öğrenci detayı: kartın küçük hali */
.kart-ozet { display: flex; gap: 14px; align-items: center; padding: 4px 0 12px; }
.kart-ozet .sol { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.kart-ozet .cip { margin-top: 4px; }
.mini-kart { flex: none; width: 54px; height: 86px; border-radius: 5px; background: url(../ortak/kart-on.webp) center / cover no-repeat;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .45); transform: rotate(-4deg); }
.mini-kart:not(.hazir) { filter: saturate(.35) brightness(.9); }
.mini-kart.yok { opacity: .45; filter: grayscale(1); }

/* =====================================================================
   v2 · öğretmen renkleri, Excel tablo, kayıt, kısmi ödeme, rapor
   ===================================================================== */
.sim-rapor { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 20h16M7 16.5V11M12 16.5V6M17 16.5v-8'/%3E%3C/svg%3E"); }
.sim.ters { transform: scaleX(-1); }
#menu a[hidden] { display: none !important; }
@media (max-width: 900px) { #menu a.menu-rapor { display: none !important; } }
.dugme.ikon { padding: 0; width: 36px; min-height: 36px; font-size: 18px; }
.dugme.kucuk.ikon { width: 32px; min-height: 32px; }
.soluk { color: var(--soluk-2); }
.liste-kalem.soluk { opacity: .6; }
a.liste-kalem { text-decoration: none; color: inherit; }
.renk-nokta { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--renk); margin-right: 8px; vertical-align: 0; flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.yesil-yazi { color: var(--yesil); }

/* ---------- segmentli seçici ---------- */
.bolumlu { display: flex; padding: 3px; gap: 2px; border-radius: 12px; background: var(--fildisi); border: 1px solid var(--cizgi); }
.bolumlu button { flex: 1; min-height: 38px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; font-size: 13.5px; font-weight: 600; color: var(--soluk);
  transition: background .15s, color .15s, box-shadow .15s; touch-action: manipulation; }
.bolumlu button[aria-pressed="true"] { background: var(--kagit); color: var(--metin); box-shadow: 0 1px 2px rgba(25, 20, 10, .1), 0 2px 8px -2px rgba(25, 20, 10, .12); }
.onay-kutu { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.onay-kutu input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--siyah); flex: none; }
.onay-kutu span { display: grid; gap: 2px; }
.onay-kutu small { color: var(--soluk); font-size: 12.5px; }
.k-hata { margin: 0; min-height: 0; color: var(--kirmizi); font-size: 13.5px; font-weight: 600; }
.k-hata:empty { display: none; }

/* ---------- pencere boyları ---------- */
.pencere.orta { width: min(640px, 100%); }
.pencere.genis { width: min(1040px, 100%); }
.pencere-bas .ust-baslik { margin: 0 0 4px; }

/* ---------- yeni kayıt ---------- */
.kayit { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; align-items: start; }
.kayit-sol { padding: 18px 22px 24px; display: grid; gap: 22px; min-width: 0; }
.kayit { background: linear-gradient(90deg, transparent calc(100% - 300px), var(--cizgi) calc(100% - 300px), var(--cizgi) calc(100% - 299px), var(--fildisi) calc(100% - 299px)); }
.kayit-ozet { position: sticky; top: 0; align-self: start; padding: 18px 22px 22px; display: grid; gap: 14px; align-content: start; }
.k-bolum { display: grid; gap: 12px; }
.k-bolum h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--baslik); font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
.k-bolum h3 i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--siyah); color: #fff; font-style: normal; font-size: 12px; }
.k-bolum h3 small { margin-left: auto; font-family: var(--yaz); font-weight: 500; font-size: 12px; color: var(--soluk-2); }
.k-dersler { display: grid; gap: 10px; }
.k-ders { position: relative; display: grid; gap: 10px; padding: 12px 44px 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--cizgi);
  border-left: 5px solid var(--renk, var(--cizgi)); }
.gun-sec { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.gun-sec button { min-height: 36px; border-radius: 9px; border: 1px solid var(--cizgi); background: var(--kagit); font-size: 12.5px; font-weight: 650; color: var(--soluk);
  touch-action: manipulation; }
.gun-sec button[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.k-ders-alan { display: grid; grid-template-columns: 110px 100px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.k-ders-alan .alan input, .k-ders-alan .alan select { min-height: 40px; padding: 8px 10px; }
.k-ders-sil { position: absolute; top: 10px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--soluk-2);
  display: grid; place-items: center; }
.k-ders-sil .sim { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .k-ders-sil:hover { background: var(--kirmizi-zemin); color: var(--kirmizi); } }
.paket-hizli { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.paket-hizli button { text-align: left; display: grid; gap: 2px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--cizgi); background: #fff;
  transition: border-color .15s, box-shadow .15s, background .15s; touch-action: manipulation; }
.paket-hizli button b { font-size: 14px; font-weight: 650; }
.paket-hizli button small { font-size: 12px; color: var(--soluk); }
.paket-hizli button[aria-pressed="true"] { border-color: var(--piric); background: var(--piric-zemin); box-shadow: 0 0 0 2px rgba(226, 174, 44, .35); }
.paket-hizli button.soluk-secim { background: transparent; border-style: dashed; }
.paket-alanlar { display: grid; gap: 14px; }
.satir.uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-girdi { position: relative; display: block; }
.tl-girdi input { padding-right: 40px !important; font-variant-numeric: tabular-nums; }
.tl-girdi i { position: absolute; right: 13px; top: 50%; translate: 0 -50%; font-style: normal; font-size: 13px; font-weight: 600; color: var(--soluk-2); pointer-events: none; }
.tl-girdi.buyuk input { font-family: var(--baslik); font-size: 22px; font-weight: 700; min-height: 54px; }
.odeme-plan { display: grid; border-radius: 14px; border: 1px solid var(--cizgi); background: #fff; overflow: hidden; }
.odeme-plan:empty { display: none; }
.plan-bas { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px; background: var(--siyah); color: #fff; }
.plan-bas small { color: #b7b0a3; }
.plan-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 9px 14px; border-top: 1px solid var(--cizgi); font-size: 14px; }
.plan-satir:first-child { border-top: 0; }
.plan-satir small { color: var(--soluk); }
.plan-satir b { font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.k-ozet { display: grid; gap: 16px; }
.k-kim { display: flex; gap: 12px; align-items: center; }
.k-kim > div { display: grid; min-width: 0; }
.k-kim b { font-size: 16px; overflow-wrap: anywhere; }
.k-kim small { color: var(--soluk); font-size: 12.5px; overflow-wrap: anywhere; }
.k-ozet .bas-harf { background: var(--siyah); color: var(--piric-acik); border: 0; width: 44px; height: 44px; font-family: var(--baslik); font-weight: 700; }
.k-ozet-bolum { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--cizgi); }
.k-ozet-bolum .ust-baslik { margin: 0; }
.k-ozet-ders { display: flex; gap: 2px; align-items: flex-start; font-size: 13.5px; }
.k-ozet-ders .renk-nokta { margin-top: 5px; }
.k-ozet-ders span { display: grid; }
.k-ozet-ders small { color: var(--soluk); font-size: 12px; }
.k-ozet-paket { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.k-ozet-paket span { font-family: var(--baslik); font-weight: 700; font-size: 18px; }
@media (max-width: 860px) {
  .kayit { grid-template-columns: 1fr; background: none; }
  .kayit-ozet { position: sticky; bottom: 0; top: auto; background: var(--fildisi); border-top: 1px solid var(--cizgi); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -18px rgba(25, 20, 10, .4); z-index: 2; }
  .kayit-ozet .k-ozet .k-ozet-bolum { display: none; }
  .kayit-sol { padding: 14px 16px 20px; }
  .k-ders-alan { grid-template-columns: 1fr 1fr; }
  .satir.uc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .pencere.genis { max-height: 96dvh; } }

/* ---------- öğrenci detayı: paket ve ödeme ---------- */
.odeme-paket { display: grid; gap: 10px; padding: 14px 0 16px; border-bottom: 1px solid var(--cizgi); }
.odeme-paket:last-child { border-bottom: 0; }
.op-bas { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.op-bas > div { display: grid; gap: 2px; min-width: 0; }
.op-bas small { color: var(--soluk); font-size: 12.5px; }
.op-tutar { font-family: var(--baslik); font-weight: 700; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.op-cubuk { height: 8px; border-radius: 99px; background: var(--fildisi); overflow: hidden; box-shadow: inset 0 0 0 1px var(--cizgi); }
.op-cubuk i { display: block; height: 100%; width: var(--oran, 0%); background: var(--yesil); border-radius: 99px; }
.op-cubuk.ince { height: 5px; margin-top: 6px; max-width: 220px; }
.op-ozet { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--soluk); }
.op-ozet b { color: var(--metin); font-variant-numeric: tabular-nums; }
.taksitler { display: grid; border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; background: #fff; }
.taksit { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--cizgi); font-size: 13px; }
.taksit:first-child { border-top: 0; }
.taksit > span:nth-child(2) { color: var(--soluk); }
.taksit b { font-variant-numeric: tabular-nums; }
.taksit.odendi { background: #f7faf7; }
.taksit.odendi b { color: var(--soluk); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.taksit.gecikti { background: #fdf5f3; }
.tahsilat-gecmis summary { font-size: 13px; font-weight: 600; color: var(--soluk); }
.tahsilat-gecmis summary h2 { display: inline; }
.tahsilat-gecmis .liste-kalem { padding: 8px 0; font-size: 13px; }
.odeme-paket .paket-eylem { margin-top: 0; }
.odeme-ust { display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; padding: 14px 16px; border-radius: 14px; background: var(--siyah); color: #fff; }
.odeme-ust > div:first-child { display: grid; gap: 2px; min-width: 0; }
.odeme-ust .ust-baslik { margin: 0; color: var(--piric-acik); }
.odeme-ust small { color: #b7b0a3; font-size: 12.5px; }
.odeme-kalan { display: grid; text-align: right; }
.odeme-kalan b { font-family: var(--baslik); font-size: 24px; letter-spacing: -.02em; white-space: nowrap; }
.hizli-tutar { display: flex; gap: 8px; flex-wrap: wrap; }
.hizli-tutar button { display: grid; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--cizgi); background: #fff; font-size: 12px; color: var(--soluk);
  touch-action: manipulation; }
.hizli-tutar button b { font-size: 14.5px; color: var(--metin); }
.hizli-tutar button:active { transform: scale(.97); }
.odeme-sonuc { margin: 0; font-size: 13.5px; color: var(--yesil); font-weight: 600; }
.odeme-sonuc.hata { color: var(--kirmizi); }

/* ---------- ödemeler sayfası ---------- */
.odeme-satir.alacak { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) 140px auto; }
.odeme-vade { display: grid; gap: 4px; justify-items: start; }
.odeme-vade small, .odeme-satir .tutar small { font-size: 12px; color: var(--soluk); font-family: var(--yaz); font-weight: 500; }
.odeme-satir .tutar { display: grid; }
.odeme-satir .ogr-ad { display: grid; gap: 2px; }
.odeme-satir .ogr-ad small { color: var(--soluk); font-size: 12.5px; }
h2.bolum small { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--soluk-2); margin-left: 6px; }
@media (max-width: 820px) { .odeme-satir.alacak { grid-template-columns: 1fr auto; } .odeme-satir.alacak .odeme-vade { grid-column: 1 / 3; grid-row: 2; } }

/* ---------- bugün: renkler, tatil, yapılmayan ---------- */
.ders-satir::after { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--renk, transparent); }
.ders-satir.suruyor::after { display: none; }
.ders-satir.yapilmadi { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0, 0, 0, .025) 10px 20px); }
.ders-satir.yapilmadi .ders-saat, .ders-satir.yapilmadi .ders-kim a { color: var(--soluk-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.tatil-serit { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 12px; border-radius: 16px; background: var(--amber-zemin);
  color: var(--amber); font-size: 14px; border: 1px solid #ecd6a8; }
.tatil-serit b { font-family: var(--baslik); font-size: 15px; }
.bugun-ders.yapilmadi { opacity: .7; border-style: dashed; }
.bugun-ders.yapilmadi b { text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------- PROGRAM: Excel tablosu ---------- */
.prog-arac { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.hafta-gez { display: inline-flex; gap: 6px; align-items: center; }
.lejant { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.lejant button { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cizgi); background: var(--kagit);
  font-size: 12.5px; font-weight: 600; color: var(--metin); white-space: nowrap; touch-action: manipulation; }
.lejant button[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.lejant .renk-nokta { margin-right: 7px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.zoom { display: inline-flex; align-items: center; gap: 6px; }
.zoom input[type=range] { width: 110px; accent-color: var(--siyah); }
.zoom output { min-width: 40px; font-size: 12.5px; font-weight: 650; color: var(--soluk); font-variant-numeric: tabular-nums; }
.zoom #z-sigdir[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.izgara-kap { height: var(--kap-h, 70vh); overflow: auto; border-radius: 16px; border: 1px solid var(--cizgi); background: var(--kagit); box-shadow: var(--golge);
  overscroll-behavior: contain; touch-action: pan-x pan-y; position: relative; }
.izgara { --zk: 52px; --kol: 120px; --dk: 1px; display: grid; grid-template-columns: var(--zk) repeat(7, var(--kol)); grid-template-rows: auto var(--govde, 600px);
  width: max-content; min-width: 100%; position: relative; }
.iz-kose, .iz-bas { position: sticky; top: 0; z-index: 3; background: var(--kagit); border-bottom: 1px solid var(--cizgi); }
.iz-kose { left: 0; z-index: 4; border-right: 1px solid var(--cizgi); }
.iz-bas { padding: 7px 6px 6px; text-align: center; display: grid; gap: 1px; border-left: 1px solid var(--cizgi); min-width: 0; }
.iz-bas b { font-family: var(--baslik); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.iz-bas small { font-size: 11.5px; color: var(--soluk); white-space: nowrap; }
.iz-bas em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--amber); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iz-bas .kisa { display: none; }
.dar-bas .iz-bas .uzun { display: none; }
.dar-bas .iz-bas .kisa { display: inline; }
.dar-bas .iz-bas b { letter-spacing: .02em; font-size: 11px; }
.dar-bas .iz-bas small { font-size: 10px; }
.iz-bas.bugun { background: var(--siyah); color: #fff; }
.iz-bas.bugun small { color: var(--piric-acik); }
.iz-bas.tatil { background: var(--amber-zemin); }
.iz-zaman { position: sticky; left: 0; z-index: 2; background: var(--kagit); border-right: 1px solid var(--cizgi); }
.iz-zaman span { position: absolute; right: 6px; top: calc(var(--m) * var(--dk)); translate: 0 -50%; font-size: 11px; font-weight: 600; color: var(--soluk);
  font-variant-numeric: tabular-nums; background: var(--kagit); padding: 0 2px; line-height: 1; }
.iz-zaman span:first-child { translate: 0 2px; }
.seyrek .iz-zaman span:nth-child(even) { display: none; }
.iz-gun { position: relative; border-left: 1px solid var(--cizgi); cursor: cell;
  background-image: linear-gradient(to bottom, var(--cizgi) 1px, transparent 1px), linear-gradient(to bottom, rgba(228, 221, 208, .45) 1px, transparent 1px);
  background-size: 100% var(--saat), 100% calc(var(--saat) / 2); background-position: 0 0, 0 0; }
.iz-gun.bugun { background-color: rgba(251, 240, 200, .35); }
.iz-gun.tatil { background-color: var(--amber-zemin); }
.iz-gun.tatil::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(154, 100, 19, .07) 10px 20px); pointer-events: none; }
.iz-ders { position: absolute; top: calc(var(--m) * var(--dk) + 1px); height: calc(var(--sure) * var(--dk) - 2px);
  left: calc(var(--sol) + 1px); width: calc(var(--gen) - 3px); padding: 4px 6px; border-radius: 7px; border: 0; overflow: hidden; text-align: left;
  background: var(--renk); color: var(--yazi); display: flex; flex-direction: column; gap: 0; line-height: 1.2; z-index: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 12px; cursor: pointer; touch-action: manipulation;
  transition: transform .12s var(--hiz), box-shadow .12s; }
@media (hover: hover) and (pointer: fine) { .iz-ders:hover { z-index: 2; transform: scale(1.03); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); } }
.iz-ders:active { transform: scale(.97); }
.iz-ders b { font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iz-ders small { font-size: 11px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iz-ders .kisa { display: none; }
.iz-ders.dar { padding: 3px 3px; align-items: center; text-align: center; }
.iz-ders.dar .tam { display: none; }
.iz-ders.dar .kisa { display: block; font-size: 11px; letter-spacing: .02em; }
.iz-ders.dar small { display: none; }
.iz-ders.k1 { flex-direction: row; align-items: center; gap: 6px; padding-block: 1px; }
.iz-ders.k1 small { display: none; }
.iz-ders.k0 { padding: 0 3px; }
.iz-ders.k0 b { font-size: 10px; }
.iz-durum { position: absolute; right: 4px; top: 3px; font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 99px;
  background: rgba(255, 255, 255, .9); color: var(--metin); line-height: 1.3; }
.iz-ders.dar .iz-durum, .iz-ders.k0 .iz-durum { right: 1px; top: 1px; padding: 0 3px; font-size: 9px; }
.iz-ders.katildi .iz-durum { background: var(--yesil); color: #fff; }
.iz-ders.yandi .iz-durum { background: var(--kirmizi); color: #fff; }
.iz-ders.tasinan { outline: 2px dashed var(--yazi); outline-offset: -3px; }
.iz-ders.yapilmadi { background: repeating-linear-gradient(135deg, var(--kagit) 0 6px, color-mix(in srgb, var(--renk) 18%, var(--kagit)) 6px 12px);
  color: var(--soluk); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--renk) 60%, transparent); }
.iz-ders.yapilmadi b { text-decoration: line-through; }
.iz-ders.yapilmadi .iz-durum { background: var(--siyah); color: #fff; }
.iz-simdi { position: absolute; left: -1px; right: 0; top: calc(var(--m) * var(--dk)); height: 2px; background: var(--kirmizi); z-index: 2; pointer-events: none; }
.iz-simdi::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--kirmizi); }
.izgara-ipucu { margin: 10px 2px 0; font-size: 12.5px; color: var(--soluk-2); }
@media (max-width: 900px) {
  .prog-arac { gap: 8px; }
  .lejant { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .lejant::-webkit-scrollbar { display: none; }
  .zoom { margin-left: auto; }
  .zoom input[type=range] { width: 76px; }
  .zoom #z-sigdir { padding: 0 10px; }
  .izgara-kap { margin-inline: -16px; border-radius: 0; border-inline: 0; }
}
@media (max-width: 420px) { .zoom input[type=range] { display: none; } }

/* ders penceresi */
.ders-bilgi { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--renk); color: var(--yazi); }
.ders-bilgi > div { display: grid; gap: 2px; }
.db-zaman { padding-right: 14px; border-right: 1px solid color-mix(in srgb, var(--yazi) 30%, transparent); }
.db-zaman b { font-family: var(--baslik); font-size: 15px; }
.db-zaman span { font-family: var(--baslik); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.db-ders b { font-size: 16px; }
.db-ders span { font-size: 13px; opacity: .85; }
.dg-form { display: grid; gap: 14px; padding-top: 12px; border-top: 1px solid var(--cizgi); }
.pencere-govde > .bag { justify-self: center; font-size: 13px; color: var(--soluk); }
.tatil-form { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--cizgi); }
.tatil-form h3 { margin: 0; font-family: var(--baslik); font-size: 15px; }

/* ---------- raporlar ---------- */
.rapor-sayilar { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .rapor-sayilar { grid-template-columns: repeat(2, 1fr); } }
.rapor-eylem { align-items: center; }
.rapor-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rapor-izgara .genis-alan { grid-column: 1 / -1; }
@media (max-width: 900px) { .rapor-izgara { grid-template-columns: minmax(0, 1fr); } }
.cubuklar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; height: 180px; align-items: end; }
.cubuk { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; min-width: 0; }
.cubuk i { align-self: end; height: max(var(--h), 2px); border-radius: 4px 4px 1px 1px; background: var(--piric); }
.cubuk.bos-gun i { background: var(--cizgi); }
.cubuk small { font-size: 10.5px; color: var(--soluk-2); text-align: center; height: 13px; }
@media (hover: hover) and (pointer: fine) { .cubuk:hover i { background: var(--piric-koyu); } }
.yatay-cubuk { display: grid; gap: 4px; padding: 8px 0; }
.yatay-cubuk .yc-ust { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.yatay-cubuk .yc-ust small { color: var(--soluk); margin-left: 4px; }
.yatay-cubuk .op-cubuk { max-width: none; }
.yatay-cubuk .op-cubuk i { background: var(--piric); }
.tablo-kap { overflow-x: auto; margin-inline: -4px; }
.tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tablo th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); padding: 8px 10px; border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.tablo td { padding: 9px 10px; border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.tablo tr:last-child td { border-bottom: 0; }
.tablo td a { color: inherit; }

/* ---------- ayarlar: renk, hesap ---------- */
.renk-paleti { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.renk-paleti button, .renk-ozel { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--renk); position: relative; touch-action: manipulation;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.renk-paleti button[aria-checked="true"], .renk-ozel.secili { box-shadow: 0 0 0 2px var(--kagit), 0 0 0 4px var(--siyah); }
.renk-ozel { display: grid; place-items: center; background: conic-gradient(#C0392B, #D4881E, #2E6A4C, #2A8C8C, #2D5D9F, #7A4FA0, #B0527A, #C0392B); cursor: pointer; }
.renk-ozel input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.renk-ozel span { width: 18px; height: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; line-height: 1; pointer-events: none; }
.renk-onizleme { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--fildisi); }
.renk-onizleme .iz-ders { position: static; width: 150px; height: 44px; cursor: default; }
.renk-onizleme > small { color: var(--soluk); font-size: 12.5px; }
.hesap-kutu { display: grid; gap: 12px; margin: 0; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--cizgi); background: #fff; }
.hesap-bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hesap-bas > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.hesap-kutu small, .hesap-not { color: var(--soluk); font-size: 12.5px; font-weight: 400; }
.hesap-bas > span { display: flex; gap: 6px; }
.sifre-girdi { font-variant-ligatures: none; letter-spacing: .04em; }
.hesap-alan { display: grid; gap: 8px; }
.giris-bilgi { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--siyah); color: #fff; user-select: text; }
.giris-bilgi > div { display: grid; gap: 2px; min-width: 0; }
.giris-bilgi small { font-size: 12.5px; color: #b3ac9f; }
.giris-bilgi b { font-family: var(--baslik); font-size: min(24px, 6vw); letter-spacing: .04em; overflow-wrap: anywhere; user-select: all; }
legend.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- yazdırma (aylık rapor) ---------- */
@media print {
  .yan, .ust-cubuk, .demo-serit, .tostlar, .perde, .sayfa-bas .eylemler { display: none !important; }
  .uygulama { display: block; }
  .icerik { padding: 0; max-width: none; }
  .kutu, .sayi-kart { box-shadow: none; break-inside: avoid; }
  .rapor-izgara { grid-template-columns: 1fr 1fr; }
  body { background: #fff; }
}
.prog-gun[data-s] { background: var(--renk); color: var(--yazi); border-color: transparent; }
@media (max-width: 600px) {
  .iz-zaman span { right: 3px; font-size: 10px; letter-spacing: -.02em; }
  .iz-bas small { font-size: 10px; }
}
.iz-ders.dar.yapilmadi .iz-durum, .iz-ders.dar.tasinan .iz-durum { display: none; }

/* ================================================================ sürüm 3: sınıflar, gruplar, boş saat, sürükle bırak, öğretmen */
/* kayıt / ders ekleme satırı */
.k-ders { padding: 12px 14px 14px; }
.k-ders-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.k-ders-ust .bolumlu { flex: 0 1 260px; }
.k-ders-sil { position: static; flex: none; }
.k-ders-govde { display: grid; gap: 10px; }
.k-ders-alan { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px minmax(0, 1fr); }
.k-saat { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: end; }
.k-saat .alan input { min-height: 40px; padding: 8px 10px; }
.k-saat-not { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--metin); }
.k-saat-not small { font-size: 12.5px; }
.k-saat-not.uyari { color: var(--kirmizi); }
.bolumlu.kucuk button { min-height: 32px; font-size: 12.5px; }
.bos-saat { display: grid; gap: 8px; padding: 10px 12px 12px; border-radius: 12px; background: var(--fildisi); border: 1px solid var(--cizgi); }
.bs-bas { display: grid; gap: 2px; }
.bs-bas b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); }
.bs-bas small { font-size: 12px; color: var(--soluk-2); line-height: 1.35; }
.bs-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.bs-cipler button { min-width: 58px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--cizgi); background: var(--kagit); font-size: 13px; font-weight: 650;
  font-variant-numeric: tabular-nums; color: var(--metin); touch-action: manipulation; transition: background .12s, color .12s, transform .12s var(--hiz); }
.bs-cipler button:active { transform: scale(.95); }
.bs-cipler button[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
@media (hover: hover) and (pointer: fine) { .bs-cipler button:hover { border-color: var(--siyah); } }
@media (max-width: 860px) {
  .k-ders-alan { grid-template-columns: 1fr 1fr; }
  .k-saat { grid-template-columns: 1fr; gap: 4px; }
  .k-saat-not { margin: 0; }
  .bs-cipler button { min-width: 0; flex: 1 0 calc(25% - 6px); height: 40px; }
}

/* öğrenci detayı: program düğmeleri aynı sırada, aynı boyda */
.prog-eylem { align-items: center; }
.prog-eylem .dugme { min-height: 36px; }
.dugme.cizgili { background: transparent; color: var(--soluk); flex: none; }
@media (hover: hover) and (pointer: fine) { .dugme.cizgili:hover { color: var(--kirmizi); border-color: #e7b7b0; background: var(--kirmizi-zemin); } }
.prog-satir .sol b .cip { height: 20px; padding: 0 8px; font-size: 11px; vertical-align: 1px; margin-left: 4px; }

/* grup listesi ve seçimi */
.ust-eylem { margin: 0 0 4px; }
.grup-liste { display: grid; gap: 10px; }
.grup-kart { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--cizgi); border-left: 5px solid var(--renk); }
.grup-kart .paket-eylem { margin-top: 0; }
.gk-bas { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.gk-bas > div { display: grid; gap: 2px; min-width: 0; }
.gk-bas b { font-family: var(--baslik); font-size: 16px; }
.gk-bas small { color: var(--soluk); font-size: 12.5px; }
.gk-uyeler { display: flex; flex-wrap: wrap; gap: 6px; }
.gk-uye { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px 0 12px; border-radius: 99px; background: var(--fildisi); border: 1px solid var(--cizgi); font-size: 13px; font-weight: 600; }
.gk-uye a { color: inherit; text-decoration: none; }
.gk-uye button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--soluk-2); }
.gk-uye button .sim { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .gk-uye button:hover { background: var(--kirmizi-zemin); color: var(--kirmizi); } }
.grup-sec { display: grid; gap: 8px; }
.grup-secenek { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--cizgi);
  border-left: 5px solid var(--renk); background: #fff; text-align: left; touch-action: manipulation; transition: transform .12s var(--hiz), border-color .12s; }
.grup-secenek > span:first-child { display: grid; gap: 2px; min-width: 0; }
.grup-secenek small { color: var(--soluk); font-size: 12.5px; }
.grup-secenek:active { transform: scale(.98); }
.grup-secenek:disabled { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .grup-secenek:not(:disabled):hover { border-color: var(--siyah); } }

/* program: değişken sütun sayısı, görünüm, süzgeçler */
.izgara { grid-template-columns: var(--zk) repeat(var(--kolsay, 7), var(--kol)); }
.bolumlu.gorunum { flex: none; }
.bolumlu.gorunum button { min-height: 30px; padding: 0 14px; font-size: 13px; }
.prog-suzgec { gap: 8px 14px; }
.prog-suzgec .lejant[hidden] { display: none; }
.prog-suzgec .lejant button small { margin-left: 4px; font-weight: 500; opacity: .7; }
.prog-suzgec .lejant button.tatil { background: var(--amber-zemin); }
.prog-suzgec .lejant button[aria-pressed="true"].tatil { background: var(--siyah); }
.bugun-nokta { width: 6px; height: 6px; border-radius: 50%; background: var(--kirmizi); margin-left: 6px; }
.iz-kose { display: grid; place-items: center; }
.iz-kose small { font-family: var(--baslik); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.iz-bas.sinifsiz { color: var(--soluk); }
.sinif-gorunum .iz-bas b { text-transform: none; letter-spacing: 0; font-size: 13px; }
/* grup ve boş grup blokları */
.iz-ders.grup { box-shadow: 0 1px 2px rgba(0, 0, 0, .18), inset 4px 0 0 rgba(255, 255, 255, .55); padding-left: 9px; }
.iz-ders.bos-grup { background: color-mix(in srgb, var(--renk) 10%, var(--kagit)); color: var(--metin); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--renk) 70%, transparent);
  outline: 1.5px dashed color-mix(in srgb, var(--renk) 70%, transparent); outline-offset: -4px; }
/* sürükle bırak */
.iz-ders { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (hover: hover) and (pointer: fine) { .iz-ders.tasinir { cursor: grab; } }
.iz-ders.basili { transform: scale(.94); transition: transform .38s var(--hiz); box-shadow: 0 0 0 3px var(--piric); }
.iz-ders.kaynak { opacity: .3; transform: none; }
.iz-ders.hayalet { z-index: 6; pointer-events: none; opacity: .95; transform: scale(1.03); transition: none;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55), 0 0 0 2px var(--siyah); }
.iz-hedef { position: absolute; left: 4px; bottom: 3px; font-style: normal; font-size: 11px; font-weight: 750; line-height: 1.4; padding: 0 6px; border-radius: 6px;
  background: rgba(20, 18, 15, .88); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.surukleniyor, body.surukleniyor * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
/* taşıma onayı */
.tasima { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--renk); color: var(--yazi); }
.tasima .ust-baslik { color: inherit; opacity: .85; margin: 0; }
.ta-yol { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.ta-yol > div { display: grid; gap: 1px; min-width: 0; }
.ta-yol small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ta-yol b { font-family: var(--baslik); font-size: 18px; letter-spacing: -.01em; }
.ta-yol span { font-size: 12.5px; opacity: .9; }
.ta-yol .sim { width: 20px; height: 20px; }
.ta-yol > div:first-child b { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .8; }
/* ders penceresi: yoklama ve taşıma */
.yoklama-kutu { display: grid; border: 1px solid var(--cizgi); border-radius: 14px; padding: 4px 14px; background: #fff; }
.yk-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--cizgi); }
.yk-bas b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); }
.yk-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; border-bottom: 1px solid var(--cizgi); }
.yk-satir:last-child { border-bottom: 0; }
.yk-satir a { color: inherit; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yk-eylem { display: flex; gap: 6px; align-items: center; flex: none; }
.dg-ac { border: 1px solid var(--cizgi); border-radius: 14px; background: var(--kagit); }
.dg-ac > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; font-weight: 650; font-size: 14px; cursor: pointer; }
.dg-ac > summary::-webkit-details-marker { display: none; }
.dg-ac > summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--soluk); }
.dg-ac[open] > summary::after { content: '−'; }
.dg-ac > .dg-form { padding: 0 16px 16px; }
.dg-form .bolumlu button { font-size: 13px; }

/* bugün: grup şeridi */
.grup-serit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--cizgi);
  background: color-mix(in srgb, var(--renk) 9%, var(--kagit)); box-shadow: inset 4px 0 0 var(--renk); }
.grup-serit > span { display: grid; gap: 1px; }
.grup-serit b { font-family: var(--baslik); font-size: 14.5px; }
.grup-serit small { font-size: 12.5px; color: var(--soluk); }
.ders-satir.grup-uye { padding-left: 30px; }

/* öğretmen: gün şeridi ve kısa sayılar */
.hoca-ust { display: grid; gap: 12px; margin-bottom: 18px; }
.gun-serit { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.gun-serit button { position: relative; display: grid; justify-items: center; gap: 0; padding: 8px 0 9px; border-radius: 14px; border: 1px solid var(--cizgi); background: var(--kagit);
  color: var(--metin); touch-action: manipulation; transition: transform .12s var(--hiz), background .12s; }
.gun-serit button:active { transform: scale(.95); }
.gun-serit small { font-size: 11px; font-weight: 650; color: var(--soluk); }
.gun-serit b { font-family: var(--baslik); font-size: 19px; font-variant-numeric: tabular-nums; }
.gun-serit button[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.gun-serit button[aria-pressed="true"] small { color: var(--piric-acik, #f3e051); }
.gun-serit .eksik { min-width: 18px; height: 15px; margin-top: 1px; padding: 0 4px; border-radius: 99px; background: var(--kirmizi); color: #fff;
  font-style: normal; font-size: 10px; font-weight: 800; line-height: 1; display: grid; place-items: center; }
.gun-serit .tamam { width: 6px; height: 6px; border-radius: 50%; background: var(--yesil); margin-top: 2px; }
.hoca-sayilar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hoca-sayilar > * { display: grid; gap: 0; padding: 12px 14px; border-radius: 14px; background: var(--kagit); border: 1px solid var(--cizgi); text-decoration: none; color: inherit; }
.hoca-sayilar b { font-family: var(--baslik); font-size: 24px; font-variant-numeric: tabular-nums; }
.hoca-sayilar b small { font-size: 14px; color: var(--soluk); font-weight: 600; }
.hoca-sayilar span { font-size: 12px; color: var(--soluk); }
.hoca-sayilar > :first-child { background: var(--siyah); color: #fff; border-color: var(--siyah); }
.hoca-sayilar > :first-child span, .hoca-sayilar > :first-child b small { color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) {
  .gun-serit { gap: 4px; margin-inline: -4px; }
  .gun-serit button { border-radius: 12px; padding: 7px 0 8px; }
  .gun-serit b { font-size: 17px; }
  .hoca-sayilar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grup-serit { padding: 10px 16px; flex-wrap: wrap; }
  .ders-satir.grup-uye { padding-left: 24px; }
}
/* dokunmatik: yoklama düğmeleri parmakla rahat basılsın */
@media (pointer: coarse) {
  .ders-eylem .dugme.kucuk, .yk-eylem .dugme.kucuk, .grup-serit .dugme.kucuk { min-height: 42px; padding: 0 14px; font-size: 14px; }
}

/* ayarlar: çalışma saatleri */
.calisma-form .satir { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; margin-top: 14px; }
.calisma-form .dugme { min-height: 44px; }

/* sürüm 3.2 · Tüm sınıflar görünümünde her dersin sınıfı: geniş blokta "1. Sınıf", dar blokta "1" */
.iz-sinif { position: absolute; right: 4px; bottom: 3px; flex: none; font-style: normal; font-size: 10px; font-weight: 800; line-height: 1.3;
  padding: 1px 6px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--metin); white-space: nowrap; pointer-events: none; }
.iz-sinif .sk { display: none; }
.iz-ders:not(.genis) .iz-sinif .st { display: none; }
.iz-ders:not(.genis) .iz-sinif .sk { display: inline; }
.iz-ders.sinifli:not(.k1) small { padding-right: 20px; }
.iz-ders.sinifli.genis:not(.k1) small { padding-right: 58px; }
.iz-ders.k1 .iz-sinif { position: static; margin-left: auto; }
.iz-ders.k1 .iz-durum { position: static; flex: none; }
.iz-ders.k1 b { min-width: 0; }
.iz-ders.dar .iz-sinif { padding: 0 4px; font-size: 9px; }
.iz-ders.dar:not(.k1) .iz-sinif { right: 1px; bottom: 1px; }
.iz-ders.dar.k1 { gap: 3px; }

/* sürüm 3.3 · branş çipleri (virgül yerine) */
.brans-sec { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brans-cip { display: inline-flex; align-items: center; gap: 2px; min-height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--cizgi);
  background: var(--kagit); font: inherit; font-size: 13px; font-weight: 650; color: var(--metin); white-space: nowrap; }
.brans-cip.sec { color: var(--soluk); cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: background .14s, color .14s, border-color .14s, transform .1s; }
.brans-cip.sec[aria-pressed="true"] { background: var(--siyah); border-color: var(--siyah); color: #fff; }
.brans-cip.sec:active { transform: scale(.96); }
.brans-cip.duz { padding-right: 3px; }
.brans-cip.duz button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--soluk); display: grid; place-items: center; cursor: pointer; }
.brans-cip.duz button .sim { width: 12px; height: 12px; }
.brans-cip.duz button:active { background: var(--cizgi); }
@media (hover: hover) and (pointer: fine) { .brans-cip.sec:hover { border-color: var(--yazi); } .brans-cip.duz button:hover { background: var(--cizgi); color: var(--metin); } }
.brans-ekle { display: inline-flex; align-items: center; gap: 4px; }
.alan .brans-ekle input { width: 140px; min-height: 34px; padding: 4px 13px; border-radius: 99px; }
.brans-ekle .dugme.ikon { width: 34px; min-height: 34px; border-radius: 50%; }
.og-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 3px; }
.og-alt .brans-cip { min-height: 20px; padding: 0 8px; font-size: 11px; font-weight: 700; background: var(--fildisi, var(--kagit)); }
@media (pointer: coarse) { .alan .brans-ekle input { font-size: 16px; } }
.iz-sinif .st { display: inline-block; max-width: 64px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.iz-ders.k1 b.tam { flex: 1 1 auto; min-width: 2.6em; }

/* sürüm 3.6 · öğretmen hesabında başka öğretmenin dersi: salt okunur, soluk; sınıf/saat doluluğu görünür */
.iz-ders.baskasi { background: color-mix(in srgb, var(--renk) 22%, var(--kagit)); color: var(--metin);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--renk) 55%, transparent); }
.iz-ders.baskasi b { font-weight: 650; }
.iz-ders.baskasi .iz-sinif { background: rgba(255, 255, 255, .75); }
@media (hover: hover) and (pointer: fine) { .iz-ders.baskasi:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--renk); } }

/* Dersi değiştir: solda tehlikeli eylem, sağda Vazgeç / Kaydet */
.pencere-alt .bosluk { flex: 1 1 auto; }
@media (max-width: 640px) {
  .pencere-alt .bosluk { display: none; }
  .pencere .pencere-alt #dd-kaldir { flex-basis: 100%; order: 3; }
}
.okuyucu-eylem { display: flex; flex-wrap: wrap; gap: 8px; }
