/* SAHNE · ÖĞRENCİ TOPLU İÇE AKTARMA (includes/scenes/enrollment.php) — adımlar:
   s1 Göksu Oral'ın no / sınıf onay kutusu · s2 sayfa kayar (Arda «Kapalı», Nil doğum tarihi) · s3 KVKK beyanı ·
   s4 «İçe aktarmayı başlat» → onay penceresi · s5 «Evet, uygula» → düğme soluk, form yerinde; kartlar kayar, ilerleme
   25'lik parçalarla 0 → 25 → 42 · s6 Nil'in kartı kayar (form geniş kapta yerinde kalır, dar kapta kayar), «Tamamlandı» +
   atlanan kayıt · s7 ayrı ekran (çapraz geçiş): Göksu Oral'ın öğrenci profili (Okul & Numara: 7-B).
   Sayfa kaydırma: üstteki «ekran» katmanı height auto → 0 ile kapanır; içerik alta yaslı olduğu için üstü kırpılarak
   yukarı kayar — kayma miktarı içeriğin kendi yüksekliğidir (her kap genişliğinde doğru). */
@property --enr-n { syntax: '<integer>'; inherits: false; initial-value: 0; }

.enr { container-type: inline-size; interpolate-size: allow-keywords; --d: 0s; --enr-h: 460px; --enr-spring: cubic-bezier(.34, 1.56, .64, 1); --enr-scroll: cubic-bezier(.5, .05, .2, 1);
  --enr-ok: #047857; --enr-ok-ink: #065f46; --enr-am: #b45309; --enr-am-ink: #92400e; }
.enr-win { position: relative; display: flex; flex-direction: column; height: var(--enr-h); }
.enr-i { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* çapraz geçiş: aynı hücrede üst üste */
.enr-x { display: inline-grid; vertical-align: top; }
.enr-x > * { grid-area: 1 / 1; }
.enr [class*="on-"] { opacity: 0; transform: translateY(3px); transition: opacity .25s var(--ui-ease) var(--d), transform .3s var(--ui-ease) var(--d); }
.enr:not(.s1) .on-0-1, .enr.s1 .on-1 { opacity: 1; transform: none; }

/* imleç */
.enr-hit { position: absolute; z-index: 7; width: 0; height: 0; pointer-events: none; }
.enr-hit .ui-cur { left: -5px; top: -3px; transform: translate(16px, 14px); transition: opacity .2s var(--ui-ease); }
.enr-rip { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(29, 79, 134, .55); opacity: 0; }
@keyframes enr-cur { 0% { opacity: 0; transform: translate(16px, 14px); } 36% { opacity: 1; transform: none; scale: 1; } 50% { scale: .8; } 64%, 100% { opacity: 1; transform: none; scale: 1; } }
@keyframes enr-cur-out { 0% { opacity: 0; transform: translate(16px, 14px); } 32% { opacity: 1; transform: none; scale: 1; } 46% { scale: .8; } 58% { scale: 1; } 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes enr-rip { 0% { opacity: 0; scale: .25; } 12% { opacity: .9; } 100% { opacity: 0; scale: 1.7; } }
@keyframes enr-push { 50% { scale: .95; } }
@keyframes enr-say { from { --enr-n: 0; } }
/* commit_chunk 25 satırlık parça: sayı, çubuk ve sayaçlar parça sonunda sıçrar (steps), çubuk 200 ms kayar */
@keyframes enr-c-pr { 0% { --enr-n: 0; } 40% { --enr-n: 25; } 80%, 100% { --enr-n: 42; } }
@keyframes enr-c-ins { 0% { --enr-n: 0; } 80%, 100% { --enr-n: 2; } }
@keyframes enr-c-upd { 0% { --enr-n: 0; } 40% { --enr-n: 24; } 80%, 100% { --enr-n: 39; } }
@keyframes enr-c-bar { 0%, 40% { scale: 0 1; } 58%, 80% { scale: .6 1; } 98%, 100% { scale: 1 1; } }
@keyframes enr-glow { 0%, 100% { box-shadow: inset 0 0 0 1px #fcd34d, 0 0 0 0 rgba(245, 158, 11, 0); } 45% { box-shadow: inset 0 0 0 1px #f59e0b, 0 0 0 4px rgba(245, 158, 11, .2); } }
@keyframes enr-spin { to { rotate: 360deg; } }
@keyframes enr-sheen { from { transform: translateX(-120%); } to { transform: translateX(260%); } }

/* ── başlık bandı (kurum rengi) ── */
.enr-band { flex: none; display: flex; align-items: center; gap: 12px; margin: 12px 12px 0; padding: 10px 12px; border-radius: 12px; color: #fff;
  background: linear-gradient(120deg, var(--navy-night), var(--navy) 55%, var(--navy-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(11, 36, 64, .18), 0 10px 20px -14px rgba(11, 36, 64, .7);
  transition: opacity .3s var(--ui-ease) .1s; }
.enr-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.enr-ico .enr-i { width: 18px; height: 18px; stroke-width: 1.8; }
.enr-ttl { flex: 1; min-width: 0; line-height: 19px; }
.enr-ttl b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.enr-ttl small { display: block; font-size: 11px; line-height: 15px; font-weight: 600; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.enr-back { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px 0 9px; border-radius: 9px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.enr-back .enr-i { width: 13px; height: 13px; }

/* ── sayfa (kayan içerik) ── */
.enr-stage { position: relative; flex: 1; min-height: 0; margin-top: 10px; overflow: hidden; transition: opacity .3s var(--ui-ease) .1s; }
/* s7: içe aktarma ekranı söner, öğrenci profili (ayrı sayfa) belirir */
.enr.s7 .enr-band, .enr.s7 .enr-stage { opacity: 0; }
.enr-stage::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.enr-col { padding: 0; }
/* yükseklik auto ↔ 0 (interpolate-size): 0fr↔1fr ızgara geçişinde Chrome kabı içerikten uzun boyutluyor, kayan kartın
   altında geçici boş bant açılıyordu. Tanımayan tarayıcıda kayma anlık olur, boşluk açılmaz. */
.enr-fold { display: flex; flex-direction: column; justify-content: flex-end; height: auto; overflow: hidden; transition: height .95s var(--enr-scroll) var(--fd, 0s); }
.enr-fold__in { flex: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 2px 14px 0; }
.enr-fold__in > * { flex: none; }
.enr.s2 .enr-fold--a { height: 0; --fd: .1s; }
.enr.s5 .enr-fold--b { height: 0; --fd: .5s; }
.enr.s6 .enr-fold--n, .enr.s6 .enr-fold--c { height: 0; --fd: .1s; }
/* kaydırma çubuğu ipucu */
.enr-thumb { position: absolute; z-index: 4; right: 3px; top: 4px; width: 3px; height: 34%; border-radius: 2px; background: rgba(16, 37, 64, .3); opacity: 0;
  transition: translate .95s var(--enr-scroll) var(--fd, 0s), opacity .3s var(--ui-ease); }
.enr.s2 .enr-thumb { --fd: .1s; translate: 0 105%; opacity: 1; }
.enr.s3:not(.s5) .enr-thumb { opacity: 0; transition-delay: .2s; }
.enr.s5 .enr-thumb { --fd: .5s; translate: 0 140%; opacity: 1; }
.enr.s6 .enr-thumb { --fd: .1s; translate: 0 186%; opacity: 0; transition: translate .95s var(--enr-scroll) .1s, opacity .3s var(--ui-ease) 1.1s; }

/* adım hapları */
.enr-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.enr-pills > span { display: grid; place-items: center; height: 22px; padding: 0 10px; border-radius: 999px; background: #f4f4f5; color: #71717a; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.enr-pills > .ok { background: #d1fae5; color: var(--enr-ok); }
.enr-pills > .on { background: var(--navy-soft); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 3px 8px -4px rgba(20, 61, 107, .7); }

/* altı sayaç (ileri sayar) */
.enr-ks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.enr-k { display: block; min-width: 0; height: 46px; padding: 5px 10px 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--kb), inset 0 1px 0 rgba(255, 255, 255, .7); background: var(--kz); color: var(--kc); }
.enr-k b { display: block; font-size: 19px; font-weight: 900; line-height: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; --enr-n: var(--v); counter-reset: n var(--enr-n); }
.enr-k b::after { content: counter(n); }
.enr:not(.s1) .enr-k b { animation: enr-say .9s var(--ui-ease) .25s both; }
.enr-k small { display: block; margin-top: 1px; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--kc); opacity: .78; white-space: nowrap; }
.enr-k--bl { --kz: #eff6ff; --kb: #bfdbfe; --kc: #1d4ed8; }
.enr-k--am { --kz: #fffbeb; --kb: #fde68a; --kc: #b45309; }
.enr-k--rd { --kz: #fef2f2; --kb: #fecaca; --kc: #b91c1c; }
.enr-k--zn { --kz: #fafafa; --kb: #e4e4e7; --kc: #52525b; }
.enr-k--em { --kz: #ecfdf5; --kb: #a7f3d0; --kc: #047857; }
.enr-k--tl { --kz: #f0fdfa; --kb: #99f6e4; --kc: #0f766e; }

.enr-sum { margin-bottom: 8px; font-size: 11px; font-weight: 600; line-height: 15px; color: #52525b; text-wrap: pretty; font-variant-numeric: tabular-nums; }
.enr-sum b { font-weight: 800; color: var(--ui-text); }

/* seçim çubuğu */
.enr-sel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; padding: 8px 12px; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .05), inset 0 1px 0 rgba(255, 255, 255, .6); }
.enr-sel__l { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.enr-lab { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; line-height: 18px; color: #3f3f46; white-space: nowrap; }
.enr-lab--hs { color: #78350f; }
.enr-lab em { font-style: normal; font-weight: 700; opacity: .8; }
.enr-sel__r { font-size: 11px; font-weight: 700; line-height: 16px; color: #52525b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.enr-sel__r b { font-weight: 900; color: var(--navy-soft); }
.enr-hsn b { color: var(--enr-am-ink); }

/* onay kutuları */
.enr-cb { position: relative; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #fff; color: #fff;
  box-shadow: inset 0 0 0 1.5px #c7ccd4; transition: background-color .2s var(--ui-ease) var(--cd, 0s), box-shadow .2s var(--ui-ease) var(--cd, 0s); }
.enr-cb .enr-i { width: 11px; height: 11px; stroke-width: 3.2; opacity: 0; scale: .4; transition: opacity .15s var(--ui-ease) var(--cd, 0s), scale .35s var(--enr-spring) var(--cd, 0s); }
.enr-cb > i { position: absolute; left: 4px; right: 4px; top: 7px; height: 2px; border-radius: 1px; background: #fff; opacity: 0; transition: opacity .15s var(--ui-ease) var(--cd, 0s); }
.enr-cb.is-on, .enr-row .enr-cb.is-on { background: var(--navy-soft); box-shadow: inset 0 0 0 1.5px var(--navy-soft); }
.enr-cb.is-on .enr-i { opacity: 1; scale: 1; }
.enr-cb--am { box-shadow: inset 0 0 0 1.5px #fbbf24; }
.enr-cb--off { opacity: .45; background: #f4f4f5; }
/* s1: Göksu'nun no / sınıf kutusu; «tümü» kutusu yarım işaret (1/2) */
.enr-hs .enr-cb--go { --cd: .5s; }
.enr.s1 .enr-hs .enr-cb--go { background: #d97706; box-shadow: inset 0 0 0 1.5px #d97706, 0 0 0 3px rgba(217, 119, 6, .18); }
.enr.s1 .enr-hs .enr-cb--go .enr-i { opacity: 1; scale: 1; }
.enr.s2 .enr-hs .enr-cb--go { box-shadow: inset 0 0 0 1.5px #d97706; }
.enr-cb--ind { --cd: .55s; }
.enr.s1 .enr-cb--ind { background: #d97706; box-shadow: inset 0 0 0 1.5px #d97706; }
.enr.s1 .enr-cb--ind > i { opacity: 1; }
.enr.s1 .enr-hsn [class*="on-"] { transition-delay: .55s; }
.enr-hs .enr-hit { left: 9px; top: 9px; }
.enr.s1:not(.s2) .enr-hit--hs .ui-cur { animation: enr-cur-out 1.2s var(--ui-ease) both; }
.enr.s1:not(.s2) .enr-hit--hs .enr-rip { animation: enr-rip .55s ease-out .42s both; }
/* s3: KVKK */
.enr-kvkk .enr-cb--go { --cd: .45s; }
.enr.s3 .enr-kvkk .enr-cb--go { background: var(--navy-soft); box-shadow: inset 0 0 0 1.5px var(--navy-soft), 0 0 0 3px rgba(29, 79, 134, .16); }
.enr.s3 .enr-kvkk .enr-cb--go .enr-i { opacity: 1; scale: 1; }
.enr.s4 .enr-kvkk .enr-cb--go { box-shadow: inset 0 0 0 1.5px var(--navy-soft); }
.enr-kvkk .enr-hit { left: 9px; top: 9px; }
.enr.s3:not(.s4) .enr-hit--kv .ui-cur { animation: enr-cur .8s var(--ui-ease) both; }
.enr.s3:not(.s4) .enr-hit--kv .enr-rip { animation: enr-rip .55s ease-out .38s both; }

/* değişiklik kartları */
.enr-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .05), inset 0 1px 0 rgba(255, 255, 255, .6); }
.enr-row > .enr-cb { margin-top: 1px; }
.enr-row--lk { box-shadow: 0 0 0 1px #fde68a, 0 1px 2px rgba(16, 37, 64, .05); }
.enr-row__b { flex: 1; min-width: 0; display: block; }
.enr-row__h { display: flex; align-items: center; gap: 7px; min-width: 0; height: 18px; }
.enr-row__h b { font-size: 12.5px; font-weight: 800; letter-spacing: -.01em; color: #18181b; white-space: nowrap; }
.enr-row__h em { flex: none; height: 16px; padding: 0 7px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; line-height: 16px; }
.enr-row__h em.bl { background: #dbeafe; color: #1d4ed8; }
.enr-row__h em.am { background: #fef3c7; color: #92400e; }
.enr-row__h small { font-size: 10.5px; font-weight: 700; color: #8b8b94; white-space: nowrap; font-variant-numeric: tabular-nums; }
.enr-row__m { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 700; line-height: 14px; color: #71717a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.enr-d { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-size: 11.5px; line-height: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.enr-d--hs { margin-right: auto; padding: 3px 8px; border-radius: 7px; background: #fffbeb; }
.enr-d__l { flex: none; display: inline-flex; align-items: center; gap: 3px; width: 92px; font-size: 11px; font-weight: 800; color: #71717a; }
.enr-d--hs .enr-d__l { color: var(--enr-am-ink); }
.enr-d__l .enr-i { width: 12px; height: 12px; stroke-width: 2.2; align-self: center; }
.enr-d s { font-weight: 700; color: #dc2626; opacity: .72; text-decoration-thickness: 1.5px; }
.enr-d i { font-style: normal; color: #a1a1aa; }
.enr-d > b { font-weight: 800; color: var(--enr-ok); }
.enr-hs { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: #fffbeb; box-shadow: inset 0 0 0 1px #fcd34d; }
.enr-hs > .enr-cb { margin-top: 1px; }
.enr-hs b { display: block; font-size: 11px; font-weight: 800; line-height: 15px; color: #78350f; }
.enr-hs small { display: block; font-size: 10.5px; font-weight: 600; line-height: 14px; color: #92400e; opacity: .9; }
.enr-lk { display: block; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: #fffbeb; box-shadow: inset 0 0 0 1px #fcd34d; }
.enr.s2 .enr-lk { animation: enr-glow 1.1s var(--ui-ease) 1.05s both; }
.enr-lk__t { display: flex; align-items: flex-start; gap: 5px; font-size: 11px; font-weight: 800; line-height: 15px; color: #78350f; }
.enr-lk__t .enr-i { width: 12px; height: 12px; margin-top: 1px; stroke-width: 2.4; }
.enr-lk__z { display: flex; align-items: flex-start; gap: 7px; margin-top: 5px; font-size: 10.5px; font-weight: 800; line-height: 15px; color: #78350f; }

/* onay formu */
.enr-form { margin: 4px 0 10px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .05), inset 0 1px 0 rgba(255, 255, 255, .6); }
.enr-kvkk { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; font-weight: 600; line-height: 16px; color: #3f3f46; }
.enr-kvkk > .enr-cb { margin-top: 0; }
.enr-kvkk b { font-weight: 800; color: #18181b; }
.enr-form__f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f1f1f3; }
.enr-btn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 9px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.enr-btn .enr-i { width: 14px; height: 14px; }
.enr-btn--gh { background: #fff; color: #3f3f46; box-shadow: inset 0 0 0 1px #d4d4d8, 0 1px 2px rgba(16, 37, 64, .05); font-weight: 700; }
.enr-btn--go { color: #fff; background: var(--enr-ok); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(4, 120, 87, .3), 0 6px 12px -8px rgba(4, 120, 87, .8); }
.enr-btn--br { color: #fff; background: linear-gradient(135deg, var(--navy-soft), var(--navy)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(16, 37, 64, .2), 0 6px 14px -8px rgba(20, 61, 107, .75); }
.enr-btn--cn { color: #fff; background: #71717a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.enr-btn .enr-hit { right: 26px; bottom: 9px; }
.enr.s4 .enr-btn--go { animation: enr-push .3s var(--ui-ease) .4s; }
/* basla(): düğme yalnız «Evet, uygula»dan sonra soluklaşır (disabled + opacity-60) */
.enr.s5 .enr-btn--go { opacity: .6; transition: opacity .2s var(--ui-ease) .45s; }
.enr.s4:not(.s5) .enr-hit--go .ui-cur { animation: enr-cur-out 1.1s var(--ui-ease) both; }
.enr.s4:not(.s5) .enr-hit--go .enr-rip { animation: enr-rip .55s ease-out .4s both; }

/* ── ilerleme (AJAX) ── */
.enr-prog { margin: 2px 14px 14px; padding: 12px 14px; border-radius: 12px; background: #f3fbf7; box-shadow: inset 0 0 0 1px #a7f3d0, 0 1px 2px rgba(16, 37, 64, .04);
  opacity: 0; translate: 0 10px; transition: opacity .35s var(--ui-ease) .55s, translate .5s var(--ui-ease) .55s; }
.enr.s5 .enr-prog { opacity: 1; translate: 0 0; }
.enr-prog__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 18px; font-size: 12px; font-weight: 800; color: var(--enr-ok-ink); }
.enr-prog__t { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.enr-prog__t .enr-i { width: 14px; height: 14px; stroke-width: 2.2; }
.enr.s5:not(.s6) .enr-spin { animation: enr-spin 1s linear infinite; }
.enr-prog__n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.enr-n { font-variant-numeric: tabular-nums; counter-reset: n var(--enr-n); }
.enr-n::after { content: counter(n); }
.enr.s5 .enr-n--pr { --enr-n: 42; animation: enr-c-pr 1.1s steps(1, end) 1.3s both; }
.enr.s5 .enr-n--ins { --enr-n: 2; animation: enr-c-ins 1.1s steps(1, end) 1.3s both; }
.enr.s5 .enr-n--upd { --enr-n: 39; animation: enr-c-upd 1.1s steps(1, end) 1.3s both; }
.enr-bar { position: relative; display: block; height: 9px; margin-top: 8px; border-radius: 999px; background: #d1fae5; overflow: hidden; }
.enr-bar i { position: absolute; inset: 0; border-radius: inherit; background: #10b981; overflow: hidden; scale: 0 1; transform-origin: left; }
.enr-bar i::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); transform: translateX(-120%); }
.enr.s5 .enr-bar i { scale: 1 1; animation: enr-c-bar 1.1s ease-out 1.3s both; }
.enr.s6 .enr-bar i::after { animation: enr-sheen .9s ease-in-out .1s both; }
.enr-pk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.enr-pk__k { display: block; min-width: 0; padding: 5px 4px 6px; border-radius: 10px; background: #fff; text-align: center; box-shadow: inset 0 0 0 1px var(--kb), 0 1px 2px rgba(16, 37, 64, .04); }
.enr-pk__k b { display: block; font-size: 16px; font-weight: 900; line-height: 20px; color: var(--kc); font-variant-numeric: tabular-nums; }
.enr-pk__k small { display: block; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .02em; text-transform: uppercase; color: #71717a; white-space: nowrap; }
.enr-pk__k--em { --kb: #a7f3d0; --kc: #047857; } .enr-pk__k--bl { --kb: #bfdbfe; --kc: #1d4ed8; }
.enr-pk__k--br { --kb: #c9d8ea; --kc: var(--navy-soft); } .enr-pk__k--rd { --kb: #fecaca; --kc: #b91c1c; }
/* bitti: özet + atlanan kayıt + düğmeler (alttan açılır) */
.enr-done { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ui-ease) .15s; }
.enr-done__in { min-height: 0; overflow: hidden; opacity: 0; transition: opacity .35s var(--ui-ease) .3s; }
.enr.s6 .enr-done { grid-template-rows: 1fr; }
.enr.s6 .enr-done__in { opacity: 1; }
.enr-msg { display: block; margin-top: 10px; font-size: 11.5px; font-weight: 700; line-height: 16px; color: #3f3f46; text-wrap: pretty; font-variant-numeric: tabular-nums; }
.enr-errs { display: block; margin-top: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.enr-errs small { display: block; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .05em; text-transform: uppercase; color: #71717a; }
.enr-errs > span { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; line-height: 15px; color: var(--enr-am); text-wrap: pretty; }
.enr-done__f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }

/* ── onay penceresi ── */
.enr-dlg { position: absolute; z-index: 8; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .4); opacity: 0;
  transition: opacity .25s var(--ui-ease) var(--dd, 0s); }
.enr-dlg__c { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 312px; padding: 16px 16px 14px; border-radius: 14px; background: #fff; text-align: center;
  box-shadow: 0 0 0 1px rgba(16, 37, 64, .06), 0 2px 4px rgba(0, 0, 0, .06), 0 28px 48px -18px rgba(0, 0, 0, .55);
  scale: .88; transition: scale .45s var(--enr-spring) var(--dd, 0s); }
.enr.s4 .enr-dlg { --dd: .5s; opacity: 1; }
.enr.s4 .enr-dlg__c { scale: 1; }
.enr.s5 .enr-dlg { --dd: .45s; opacity: 0; }
.enr.s5 .enr-dlg__c { scale: .94; }
.enr-q { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 3px #b5cbe0; color: #6f97bd; font-size: 24px; font-weight: 600; line-height: 1; }
.enr-dlg__t { margin-top: 10px; font-size: 14px; font-weight: 800; line-height: 18px; letter-spacing: -.01em; color: #18181b; text-wrap: balance; }
.enr-dlg__m { display: flex; flex-direction: column; margin-top: 8px; font-size: 11px; font-weight: 500; line-height: 16px; color: #3f3f46; font-variant-numeric: tabular-nums; }
.enr-dlg__m b { font-weight: 800; color: #18181b; }
.enr-dlg__w { margin-top: 8px; font-weight: 600; }
.enr-dlg__f { display: flex; gap: 8px; margin-top: 12px; }
.enr-dlg__f .enr-hit { right: 28px; bottom: 9px; }
/* appConfirm onay düğmesi açık temada düz nötr #18181b (footer.php:742, :835), «Vazgeç» #71717a */
.enr-dlg__f .enr-btn--br { background: #18181b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(0, 0, 0, .25), 0 6px 12px -8px rgba(0, 0, 0, .6); }
.enr.s5 .enr-dlg__f .enr-btn--br { animation: enr-push .3s var(--ui-ease) .32s; }
.enr.s5:not(.s6) .enr-hit--ok .ui-cur { animation: enr-cur .8s var(--ui-ease) both; }
.enr.s5:not(.s6) .enr-hit--ok .enr-rip { animation: enr-rip .55s ease-out .32s both; }

/* ── öğrenci kartı (Göksu Oral) ── */
.enr-card { position: absolute; z-index: 9; inset: 0; display: flex; flex-direction: column; padding: 0 12px; background: #f6f7f9;
  opacity: 0; translate: 0 10px; transition: opacity .35s var(--ui-ease) .3s, translate .5s var(--ui-ease) .3s; }
.enr.s7 .enr-card { opacity: 1; translate: 0 0; }
.enr-card::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(rgba(246, 247, 249, 0), #f6f7f9); pointer-events: none; }
/* üst şerit: geri / ileri + sayfa yolu (topbar.php · nav-trail.php) */
.enr-trail { flex: none; display: flex; align-items: center; gap: 2px; height: 40px; margin: 0 -12px 10px; padding: 0 12px 0 10px; background: #fff; box-shadow: inset 0 -1px 0 var(--ui-line); }
.enr-tb { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #52525b; }
.enr-tb .enr-i { width: 15px; height: 15px; }
.enr-tb.is-off { opacity: .35; }
.enr-yol { display: flex; align-items: center; gap: 4px; min-width: 0; margin-left: 6px; font-size: 11.5px; font-weight: 600; line-height: 16px; color: #52525b; white-space: nowrap; }
.enr-yol b { font-weight: 800; color: #18181b; }
.enr-yol .enr-yol__ay { width: 13px; height: 13px; color: #a1a1aa; }
.enr-ch { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px 12px 0 0; color: #fff;
  background: linear-gradient(120deg, var(--navy-night), var(--navy) 55%, var(--navy-soft)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.enr-av { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; font-size: 20px; font-weight: 800; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 6px 14px -8px rgba(0, 0, 0, .6); }
.enr-ch__t { flex: 1; min-width: 0; display: block; }
.enr-ch__t > b { display: block; font-size: 17px; font-weight: 800; line-height: 21px; letter-spacing: -.02em; white-space: nowrap; }
.enr-ch__d { display: flex; align-items: center; gap: 5px; margin-top: 1px; font-size: 11px; font-weight: 600; line-height: 15px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.enr-ch__d .enr-i { width: 12px; height: 12px; }
.enr-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 22px; margin-top: 4px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); transition: background-color .4s var(--ui-ease) 1.2s, box-shadow .4s var(--ui-ease) 1.2s; }
.enr-chip .enr-i { width: 12px; height: 12px; }
.enr.s7 .enr-chip { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 3px rgba(255, 182, 39, .38); }
.enr-ch__a { flex: none; align-self: flex-start; display: flex; gap: 6px; }
.enr-cbtn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 11px; font-weight: 800; white-space: nowrap; color: #fff;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.enr-cbtn--w { background: #fff; color: var(--navy); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .35); }
.enr-cbtn .enr-i { width: 13px; height: 13px; }
.enr-st { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .05); }
.enr-st > span { min-width: 0; padding: 7px 12px 8px; box-shadow: inset -1px 0 0 #f0f1f4;
  opacity: 0; translate: 0 5px; transition: opacity .3s var(--ui-ease) calc(.75s + var(--i) * 60ms), translate .4s var(--ui-ease) calc(.75s + var(--i) * 60ms); }
.enr.s7 .enr-st > span { opacity: 1; translate: 0 0; }
.enr-st small { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; line-height: 13px; color: #71717a; white-space: nowrap; }
.enr-st small .enr-i { width: 11px; height: 11px; color: #8b93a3; }
.enr-st b { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; line-height: 18px; letter-spacing: -.01em; color: #18181b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.enr-st .ok b { color: var(--enr-ok); } .enr-st .am b { color: #c2410c; }
.enr-cb2 { flex: 1; min-height: 0; display: flex; gap: 10px; margin-top: 10px; overflow: hidden; }
.enr-tabs { flex: none; display: flex; flex-direction: column; gap: 2px; width: 168px; padding: 6px; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); }
.enr-tab { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 6px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #3f3f46; white-space: nowrap;
  opacity: 0; translate: -6px 0; transition: opacity .3s var(--ui-ease) calc(.85s + var(--i) * 40ms), translate .4s var(--ui-ease) calc(.85s + var(--i) * 40ms); }
.enr.s7 .enr-tab { opacity: 1; translate: 0 0; }
.enr-tab.is-on { background: var(--navy-50); color: var(--navy); font-weight: 800; box-shadow: inset 0 0 0 1px #c9d8ea; }
.enr-tab > i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--tz); color: var(--tc); }
.enr-tab > i .enr-i { width: 12px; height: 12px; }
.t-br { --tz: #e3ebf5; --tc: #1d4f86; } .t-sk { --tz: #e0f2fe; --tc: #0284c7; } .t-am { --tz: #fef3c7; --tc: #d97706; } .t-em { --tz: #d1fae5; --tc: #059669; }
.t-pk { --tz: #fce7f3; --tc: #db2777; } .t-zn { --tz: #f4f4f5; --tc: #52525b; } .t-vi { --tz: #ede9fe; --tc: #7c3aed; }
.enr-pane { flex: 1; min-width: 0; display: block; }
.enr-strip { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: #ecfdf5; box-shadow: inset 0 0 0 1px #a7f3d0; font-size: 11px; font-weight: 800; line-height: 15px; color: var(--enr-ok-ink);
  opacity: 0; transition: opacity .3s var(--ui-ease) 1s; }
.enr-strip .enr-i { width: 13px; height: 13px; }
.enr-sec { display: block; margin-top: 8px; padding: 10px 12px 12px; border-radius: 12px; background: #f8fafd; box-shadow: inset 0 0 0 1px #c9d8ea;
  opacity: 0; translate: 0 6px; transition: opacity .3s var(--ui-ease) 1.08s, translate .45s var(--ui-ease) 1.08s; }
.enr.s7 .enr-strip, .enr.s7 .enr-sec { opacity: 1; translate: 0 0; }
.enr-sec__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.enr-sec__h > b { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.enr-sec__h > b::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--navy-soft); }
.enr-mali { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--navy-soft); color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.enr-mali .enr-i { width: 12px; height: 12px; }
.enr-chg { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px #dfe3ea; background: #fff; }
.enr-chg__l { display: block; font-size: 10px; font-weight: 800; line-height: 13px; letter-spacing: .05em; text-transform: uppercase; color: #71717a; }
.enr-chg__r { display: flex; gap: 6px; margin-top: 4px; }
.enr-chg__s { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 8px 0 10px; border-radius: 8px; font-size: 11px; font-weight: 600; color: #3f3f46; box-shadow: inset 0 0 0 1px var(--ui-line-2); white-space: nowrap; }
.enr-chg__s .enr-i { width: 13px; height: 13px; color: #71717a; }
.enr-chg__b { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 8px; background: #18181b; color: #fff; font-size: 11px; font-weight: 800; }
.enr-chg__b .enr-i { width: 13px; height: 13px; }
.enr-act { display: block; margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: #ecfdf5; box-shadow: inset 0 0 0 1px #a7f3d0; }
.enr.s7 .enr-act { animation: enr-glow2 1.2s var(--ui-ease) 1.45s both; }
@keyframes enr-glow2 { 0%, 100% { box-shadow: inset 0 0 0 1px #a7f3d0, 0 0 0 0 rgba(16, 185, 129, 0); } 45% { box-shadow: inset 0 0 0 1px #34d399, 0 0 0 4px rgba(16, 185, 129, .18); } }
.enr-act__t { display: block; font-size: 11.5px; font-weight: 700; line-height: 16px; color: #064e3b; }
.enr-act__t b { font-weight: 900; white-space: nowrap; }
.enr-act__t .enr-i { display: inline-block; width: 13px; height: 13px; margin: 0 4px 0 0; vertical-align: -2px; stroke-width: 2.4; color: var(--enr-ok); }
.enr-act small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 700; line-height: 14px; color: var(--enr-ok); font-variant-numeric: tabular-nums; }

/* geniş kapta s6'da form yerinde kalır (basla() formu gizlemez, sayfa kendiliğinden kaymaz); ilerleme kutusu altına sığar */
@container (min-width: 471px) {
  .enr.s6 .enr-fold--c { height: auto; }
}

/* ── DAR KAPLAR ── */
@container (max-width: 600px) {
  .enr-back { width: 30px; padding: 0; justify-content: center; }
  .enr-back .enr-i + * { display: none; }
  .enr-sel__l { gap: 4px 12px; }
  .enr-ch__a .enr-cbtn:not(.enr-cbtn--w) { display: none; }
  .enr-st > span { padding: 7px 9px 8px; }
  .enr-st b { font-size: 12.5px; }
  .enr-tabs { width: 148px; }
  .enr-tab { gap: 7px; font-size: 11px; }
  .enr-pills { gap: 4px; }
  .enr-pills > span { padding: 0 8px; font-size: 10px; }
  .enr-k { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px; }
  .enr-k b { flex: none; min-width: 16px; font-size: 17px; line-height: 20px; }
  .enr-k small { margin: 0; white-space: normal; font-size: 10.5px; font-weight: 700; line-height: 12px; letter-spacing: 0; text-transform: none; opacity: .9; }
}
@container (max-width: 520px) {
  .enr-sum__2 { display: none; }
  .enr-lab--hs { display: none; }
  .enr-ch__a { display: none; }
  .enr-chg { display: none; }
  .enr-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enr-st > span:nth-child(-n+2) { box-shadow: inset -1px 0 0 #f0f1f4, inset 0 -1px 0 #f0f1f4; }
  .enr-cb2 { flex-direction: column; gap: 8px; }
  .enr-tabs { flex-direction: row; width: auto; gap: 6px; padding: 0; background: none; box-shadow: none; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .enr-tab { flex: none; height: 28px; padding: 0 11px 0 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .05); }
  .enr-tab > i { border-radius: 50%; }
  .enr-tab:nth-child(-n+3) { display: none; }
  .enr-tab.is-on { background: var(--navy); color: #fff; box-shadow: 0 3px 8px -4px rgba(20, 61, 107, .8); }
  .enr-tab.is-on > i { background: rgba(255, 255, 255, .18); color: #fff; }
}
@container (max-width: 470px) {
  .enr-win { --enr-h: 480px; }
  .enr-band { margin: 10px 10px 0; padding: 9px 10px; gap: 10px; }
  .enr-ico { width: 30px; height: 30px; border-radius: 9px; }
  .enr-ico .enr-i { width: 16px; height: 16px; }
  .enr-ttl b { font-size: 13.5px; }
  .enr-ttl small { font-size: 10.5px; }
  .enr-stage { margin-top: 8px; }
  .enr-fold__in { padding: 2px 10px 0; }
  .enr-prog { margin: 2px 10px 12px; }
  .enr-pills { gap: 4px; margin-bottom: 8px; }
  .enr-pills > span { height: 20px; padding: 0 8px; font-size: 10px; }
  .enr-ks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .enr-k { gap: 7px; height: 34px; }
  .enr-k b { min-width: 20px; font-size: 16px; }
  .enr-sum { font-size: 10.5px; line-height: 14px; }
  .enr-sel { padding: 7px 10px; }
  .enr-sel__r { white-space: normal; font-size: 10.5px; line-height: 15px; }
  .enr-row { gap: 8px; padding: 9px 10px; }
  .enr-row__h { gap: 6px; }
  .enr-row__h b { font-size: 12px; }
  .enr-d__l { width: 82px; }
  .enr-d { font-size: 11px; gap: 5px; }
  .enr-hs { padding: 6px 8px; }
  .enr-hs b { font-size: 10.5px; }
  .enr-hs small { font-size: 10px; line-height: 13px; }
  .enr-lk { padding: 6px 8px; }
  .enr-lk__t { font-size: 10.5px; line-height: 14px; }
  .enr-lk__z { font-size: 10px; line-height: 14px; }
  .enr-form { padding: 10px 12px; }
  .enr-kvkk { font-size: 11px; line-height: 15px; }
  .enr-prog { padding: 11px 12px; }
  .enr-pk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .enr-msg { font-size: 11px; line-height: 15px; }
  .enr-dlg { padding: 12px; }
  .enr-dlg__c { padding: 14px 12px 12px; }
  .enr-card { padding: 0 8px; }
  .enr-trail { height: 36px; margin: 0 -8px 8px; padding: 0 8px 0 6px; }
  .enr-yol { margin-left: 4px; font-size: 11px; }
  .enr-yol__dar, .enr-yol .enr-yol__ay--dar { display: none; }
  .enr-ch { gap: 10px; padding: 10px 11px; }
  .enr-av { width: 44px; height: 44px; font-size: 18px; border-radius: 11px; }
  .enr-ch__t > b { font-size: 15.5px; line-height: 19px; }
  .enr-chip { font-size: 10.5px; padding: 0 8px 0 6px; }
  .enr-st > span { padding: 6px 9px 7px; }
  .enr-st b { font-size: 12.5px; line-height: 16px; }
  .enr-sec { padding: 9px 10px 10px; }
  .enr-sec__h > b { font-size: 10.5px; }
  .enr-mali { padding: 0 7px; font-size: 10px; }
  .enr-strip { align-items: flex-start; font-size: 10.5px; line-height: 14px; }
  .enr-strip .enr-i { margin-top: 1px; }
}
