/* SAHNE · ONLINE SINAV (includes/scenes/online-exam.php) — adımlar:
   s1 9. satırda «C» → DOLU, 9 / 10 · s2 «Sonraki soru» → 10. soru · s3 «A» → 10 / 10 · s4 «Optik formu onayla» → pencere ·
   s5 «Sınavı bitir…» → son onay · s6 «anladım» işaretlenir · s7 «Sınavı bitir» → «Cevapların teslim edildi» ·
   s8 okulun «Online oturumlar» sekmesi (8-B, Ceren Arslan: Bitirdi · 10/10).
   Geniş kap: masaüstü düzen (soru + dijital optik form). ≤600 px: uygulamanın telefon düzeni (soru şeridi + optik balonlar). */
@property --onx-s { syntax: '<integer>'; inherits: false; initial-value: 41; }
@property --onx-y { syntax: '<integer>'; inherits: false; initial-value: 8; }
@property --onx-t { syntax: '<integer>'; inherits: false; initial-value: 0; }
@property --onx-q { syntax: '<integer>'; inherits: false; initial-value: 9; }
/* soru numarası (9 → 10) sayaçla yazılır: genişlik metne göre kalır */
.onx-q { --onx-q: 9; counter-reset: oq var(--onx-q); font-variant-numeric: tabular-nums; transition: --onx-q 0s linear var(--d); }
.onx-q::after { content: counter(oq); }
.onx.s2 .onx-q { --onx-q: 10; }

.onx { container-type: inline-size; --d: .42s; --nv: var(--navy-night); --tl: #006a61; --tl-c: #86f2e4; --em: #047857;
  --s50: #f8fafc; --s100: #f1f5f9; --s200: #e2e8f0; --s300: #cbd5e1; --s400: #94a3b8; --s500: #64748b; --s600: #475569; --s700: #334155; --s800: #1e293b; --s900: #0f172a;
  --onx-spring: cubic-bezier(.34, 1.56, .64, 1); --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.onx-win { position: relative; height: 448px; background: #f3f6fb; font-size: 12px; line-height: 1.35; }
.onx-i { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.onx-n { display: none; }
.onx-ex { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* çapraz geçiş: .a (9. soru) / .b (10. soru) aynı ızgara hücresinde */
.onx-st { display: inline-grid; font-style: normal; }
.onx-st > * { grid-area: 1 / 1; transition: opacity .25s var(--ui-ease) var(--d), translate .3s var(--ui-ease) var(--d); }
.onx-st > .b, .onx-st > .a1, .onx-st > .b0, .onx-st > .b1 { opacity: 0; translate: 0 3px; }
.onx.s2 .onx-st > .a, .onx.s1 .onx-st > .a0, .onx.s2 .onx-st > .a1, .onx.s3 .onx-st > .b0 { opacity: 0; translate: 0 -3px; }
.onx.s2 .onx-st > .b, .onx.s1:not(.s2) .onx-st > .a1, .onx.s2:not(.s3) .onx-st > .b0, .onx.s3 .onx-st > .b1 { opacity: 1; translate: 0 0; }

/* imleç: .onx-hit tıklama noktası (ok ucu orada), halka dalgası çevresinde */
.onx-hit { position: absolute; z-index: 9; width: 0; height: 0; pointer-events: none; }
.onx-hit .ui-cur { left: -5px; top: -3px; transform: translate(14px, 12px); transition: opacity .2s var(--ui-ease); }
.onx-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 onx-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 onx-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 onx-rip { 0% { opacity: 0; scale: .25; } 12% { opacity: .9; } 100% { opacity: 0; scale: 1.7; } }
@keyframes onx-push { 50% { scale: .94; } }
@keyframes onx-pop { 0% { scale: .55; } 60% { scale: 1.12; } 100% { scale: 1; } }
@keyframes onx-blink { 50% { opacity: .35; } }
.onx.s1:not(.s2) .onx-hit--r9 .ui-cur, .onx.s1:not(.s2) .onx-hit--balc .ui-cur,
.onx.s2:not(.s3) .onx-hit--next .ui-cur, .onx.s2:not(.s3) .onx-hit--mnext .ui-cur,
.onx.s3:not(.s4) .onx-hit--r10 .ui-cur, .onx.s3:not(.s4) .onx-hit--bala .ui-cur,
.onx.s5:not(.s6) .onx-hit--bitirx .ui-cur, .onx.s6:not(.s7) .onx-hit--anl .ui-cur { animation: onx-cur .9s var(--ui-ease) both; }
.onx.s4:not(.s5) .onx-hit--onayla .ui-cur, .onx.s4:not(.s5) .onx-hit--mbitir .ui-cur, .onx.s7:not(.s8) .onx-hit--teslim .ui-cur { animation: onx-cur-out 1.05s var(--ui-ease) both; }
.onx.s1:not(.s2) .onx-hit--r9 .onx-rip, .onx.s1:not(.s2) .onx-hit--balc .onx-rip,
.onx.s2:not(.s3) .onx-hit--next .onx-rip, .onx.s2:not(.s3) .onx-hit--mnext .onx-rip,
.onx.s3:not(.s4) .onx-hit--r10 .onx-rip, .onx.s3:not(.s4) .onx-hit--bala .onx-rip,
.onx.s4:not(.s5) .onx-hit--onayla .onx-rip, .onx.s4:not(.s5) .onx-hit--mbitir .onx-rip,
.onx.s5:not(.s6) .onx-hit--bitirx .onx-rip, .onx.s6:not(.s7) .onx-hit--anl .onx-rip, .onx.s7:not(.s8) .onx-hit--teslim .onx-rip { animation: onx-rip .55s ease-out .4s both; }

/* ══ ÜST ŞERİT (masaüstü) ══ */
.onx-top { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px; background: rgba(255, 255, 255, .97);
  box-shadow: inset 0 -1px 0 rgba(226, 232, 240, .9), 0 2px 12px rgba(15, 23, 42, .04); }
.onx-logo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--s200), 0 1px 2px rgba(15, 23, 42, .05); }
.onx-logo__m { width: 24px; height: 24px; }
/* başlık: üstte kurum adı + «ONLINE SINAV», altta ders çipi + sınav adı (uygulamada yan yana; dar pencerede alt alta) */
.onx-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.onx-ttl__m { display: flex; align-items: center; gap: 6px; min-width: 0; height: 15px; }
.onx-ttl__m b { font-size: 11.5px; font-weight: 700; line-height: 15px; letter-spacing: -.01em; color: var(--s900); white-space: nowrap; }
.onx-canli { flex: none; height: 15px; padding: 0 5px; border-radius: 4px; background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1px #a7f3d0;
  font-style: normal; font-size: 10px; font-weight: 600; line-height: 15px; letter-spacing: .02em; white-space: nowrap; }
.onx-ttl__b { display: flex; align-items: center; gap: 6px; min-width: 0; height: 19px; }
.onx-dcip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 19px; padding: 0 7px; border-radius: 5px; background: var(--s100);
  color: var(--s800); font-style: normal; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.onx-dcip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tl); }
.onx-ttl__b b { min-width: 0; font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; color: var(--s800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onx-ayr { flex: none; width: 1px; height: 22px; background: var(--s200); }
.onx-tm { flex: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 11px 0 5px; border-radius: 10px; color: #fff;
  background: linear-gradient(to right, var(--s900), var(--nv)); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px rgba(30, 41, 59, .2); }
.onx-tm__i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .1); color: #fcd34d; }
.onx-tm small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .07em; line-height: 11px; text-transform: uppercase; color: var(--s300); }
.onx-tm b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .05em; line-height: 15px; }
.onx-kl { --onx-s: 41; counter-reset: os var(--onx-s); font-variant-numeric: tabular-nums; }
.onx-kl::after { content: "06:" counter(os, decimal-leading-zero); }
.onx.s1 .onx-kl { animation: onx-tick 8.9s linear both; }
@keyframes onx-tick { from { --onx-s: 40; } to { --onx-s: 32; } }
.onx-tamamla { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 9px; background: var(--em); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(4, 120, 87, .3); }
.onx-stu { flex: none; display: flex; align-items: center; }
.onx-stu > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--s200); box-shadow: inset 0 0 0 1px var(--s300); font-style: normal; font-size: 11px; font-weight: 700; color: var(--s700); }

/* ══ GÖVDE ══ */
.onx-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 10px; padding: 10px 12px; }
.onx-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-radius: 12px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, .95), 0 1px 2px rgba(15, 23, 42, .05); }
.onx-ku { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 10px; background: rgba(248, 250, 252, .9); box-shadow: inset 0 -1px 0 var(--s200); }
.onx-rz { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; background: var(--nv); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.onx-kz { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; background: #ecfdf5; color: var(--em); box-shadow: inset 0 0 0 1px #a7f3d0; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.onx-kz .onx-st { font-family: var(--mono); font-size: 10.5px; }
.onx-arac { margin-left: auto; flex: none; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--s200); }
.onx-arac > i { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; color: var(--s700); }
.onx-arac > i.k { color: var(--tl); }
.onx-arac > i.b { display: inline-flex; align-items: center; gap: 4px; width: auto; padding: 0 8px 0 7px; color: #b45309; background: #fffbeb;
  font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.onx-arac > .ay { align-self: center; width: 1px; height: 14px; margin: 0 1px; background: var(--s200); }
.onx-arac .onx-i { width: 13px; height: 13px; }
.onx-sahne { flex: 1; min-height: 0; display: flex; padding: 10px; }
.onx-kagit { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--s200), 0 1px 2px rgba(15, 23, 42, .04); }
.onx-dmg { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; margin-bottom: 10px; box-shadow: inset 0 -1px 0 var(--s200);
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--s500); white-space: nowrap; }
.onx-dmg > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.onx-dmg .onx-i { width: 13px; height: 13px; }
.onx-dmg em { flex: none; font-style: normal; font-family: var(--mono); font-weight: 700; }
.onx-gor { position: relative; flex: 1; min-height: 0; display: grid; }
.onx-gor__q { grid-area: 1 / 1; display: grid; min-height: 0; transition: opacity .3s var(--ui-ease) var(--d), translate .4s var(--ui-ease) var(--d); }
.onx-gor__q.b { opacity: 0; translate: 10px 0; }
.onx.s2 .onx-gor__q.a { opacity: 0; translate: -10px 0; }
.onx.s2 .onx-gor__q.b { opacity: 1; translate: 0 0; }
.onx-img { width: 100%; height: 100%; }
.onx-img .t { fill: #c3cad5; } .onx-img .k { fill: #f6f8fb; stroke: #dbe1ea; stroke-width: 1; } .onx-img .e { fill: #5b6576; } .onx-img .s { fill: #a4adbb; }
.onx-img .o rect { fill: #cfd5de; } .onx-img .o rect:nth-child(odd) { fill: none; stroke: #8a94a4; stroke-width: 1.2; }
.onx-img .g path { fill: none; stroke: #dbe1ea; stroke-width: 1; }
.onx-fil { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 8px; box-shadow: inset 0 1px 0 var(--s100); font-size: 10.5px; color: var(--s500); white-space: nowrap; }
.onx-fil em { font-style: italic; }
.onx-fil .onx-st { font-family: var(--mono); justify-items: end; }
.onx-gez { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; padding: 0 10px; background: var(--s50); box-shadow: inset 0 1px 0 var(--s200); }
.onx-gez__r { display: flex; align-items: center; gap: 6px; }
.onx-onceki, .onx-sonraki { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; border-radius: 9px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.onx-onceki { padding: 0 11px 0 9px; background: #fff; color: var(--s700); box-shadow: inset 0 0 0 1px var(--s300), 0 1px 1px rgba(15, 23, 42, .04); }
.onx-temiz { padding: 0 6px; font-size: 11.5px; font-weight: 600; color: var(--s500); white-space: nowrap; }
.onx-sonraki { padding: 0 11px; background: var(--nv); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); transition: background-color .3s var(--ui-ease) var(--d); }
/* düğme uygulamadaki gibi kendi etiketine göre boyutlanır: etiket hücresi o anki etiketin genişliğinde (em: Plus Jakarta
   600 ölçüsü), yazı ortada; etiket değişirken hücre genişliği de geçişle değişir */
.onx-sonraki .onx-st { grid-template-columns: minmax(0, 1fr); justify-items: center; width: 5.91em; transition: width .3s var(--ui-ease) var(--d); }
.onx.s2 .onx-sonraki .onx-st { width: 9.2em; }
.onx.s2 .onx-sonraki { background: var(--em); }
.onx-sonraki .onx-hit--next { right: 32px; bottom: 9px; }
.onx-sonraki .onx-hit--onayla { right: 38px; bottom: 9px; }
.onx.s2:not(.s3) .onx-sonraki { animation: onx-push .3s var(--ui-ease) .4s; }
.onx.s4:not(.s5) .onx-sonraki { animation: onx-push .3s var(--ui-ease) .38s; }

/* ══ DİJİTAL OPTİK FORM ══ */
.onx-opt { display: flex; flex-direction: column; min-height: 0; border-radius: 14px; overflow: hidden; background-color: #fafbfc;
  box-shadow: 0 0 0 2px var(--s300), 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1); }
.onx-oh { position: relative; flex: none; padding: 10px 12px; color: #fff; background: linear-gradient(to bottom, var(--s900), #0e1726); box-shadow: inset 0 -3px 0 var(--s800); }
.onx-kose { position: absolute; top: 6px; width: 9px; height: 9px; border-top: 2px solid rgba(251, 191, 36, .8); }
.onx-kose.l { left: 6px; border-left: 2px solid rgba(251, 191, 36, .8); } .onx-kose.r { right: 6px; border-right: 2px solid rgba(251, 191, 36, .8); }
.onx-oh__1 { display: flex; align-items: center; gap: 8px; }
.onx-oh__i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #5eead4; }
.onx-oh__i .onx-i { width: 16px; height: 16px; }
.onx-oh__t { flex: 1; min-width: 0; line-height: 14px; }
.onx-oh__t b { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.onx-blink2 { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: onx-blink 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.onx-oh__t small { display: block; margin-top: 1px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--s300); white-space: nowrap; }
.onx-kit { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 10px; color: var(--s300); white-space: nowrap; }
.onx-kit b { font-family: var(--mono); font-size: 11.5px; color: #fcd34d; }
.onx-oh__2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 5px 6px 5px 8px; border-radius: 8px; background: rgba(30, 41, 59, .8); box-shadow: inset 0 0 0 1px var(--s700); }
.onx-fis { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.onx-fis b { font-size: 11px; font-weight: 700; color: var(--s100); }
.onx-fis small { font-family: var(--mono); font-size: 10px; color: var(--s400); }
.onx-yan { flex: none; display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 999px; background: rgba(2, 44, 34, .6); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .35); color: #34d399; font-size: 10px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.onx-yn, .onx-yz, .onx-bn { --onx-y: 8; counter-reset: oy var(--onx-y) ob calc(10 - var(--onx-y)); transition: --onx-y .3s var(--ui-ease) var(--d); }
.onx-yn::after { content: counter(oy); }
.onx-bn::after { content: counter(ob); }
.onx-yz::after { content: "%" counter(oy) "0 Dolu"; }
.onx.s1 .onx-yn, .onx.s1 .onx-yz, .onx.s1 .onx-bn { --onx-y: 9; }
.onx.s3 .onx-yn, .onx.s3 .onx-yz, .onx.s3 .onx-bn { --onx-y: 10; }
.onx.s1:not(.s2) .onx-yan, .onx.s3:not(.s4) .onx-yan { animation: onx-pop .45s var(--onx-spring) .45s; }

/* satırlar kabı 7 satırı (7 × 26 + 6 × 1 = 182 px) tam alır: 10. satır ve halkası kırpılmaz */
.onx-og { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 4px; background: #fff; }
.onx-sut { flex: none; display: flex; margin-right: 6px; align-items: center; justify-content: space-between; height: 20px; padding: 0 8px; border-radius: 6px; background: var(--s100); box-shadow: inset 0 0 0 1px var(--s200);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--s600); }
.onx-sut > span:first-child { width: 66px; white-space: nowrap; }
.onx-sut__h { display: flex; gap: 7px; }
.onx-sut__h i { width: 20px; text-align: center; font-style: normal; }
.onx-sut > span:last-child { width: 40px; text-align: right; }
/* kaydırma çubuğu ipucu satırların sağındaki 6 px'lik oluğa düşer: vurgulu satırın çerçevesine binmez */
.onx-rows { position: relative; flex: 1; min-height: 0; overflow: hidden; padding-right: 6px; }
.onx-or { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 7px; border-radius: 7px; box-shadow: inset 0 0 0 1px transparent;
  transition: background-color .3s var(--ui-ease) var(--d), box-shadow .3s var(--ui-ease) var(--d); }
.onx-or + .onx-or { border-top: 1px solid var(--s100); }
.onx-no { flex: none; display: flex; align-items: center; gap: 4px; width: 66px; }
.onx-no > i { width: 6px; height: 6px; border-radius: 50%; background: transparent; transition: background-color .3s var(--ui-ease) var(--d); }
.onx-or.is-d .onx-no > i, .onx.s1 .onx-or--9 .onx-no > i, .onx.s3 .onx-or--10 .onx-no > i { background: var(--s300); }
.onx-no b { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--s500); transition: color .3s var(--ui-ease) var(--d); }
.onx-or.is-d .onx-no b { color: var(--s700); font-weight: 700; }
/* 9 ve 10 işaretlenince dolu satır görünümü (çerçeve koyulaşır, numara kalın) */
.onx.s1 .onx-or--9 .onx-no b, .onx.s3 .onx-or--10 .onx-no b { color: var(--s700); font-weight: 700; }
.onx-no em { font-style: normal; height: 15px; padding: 0 4px; border-radius: 4px; background: var(--tl); color: #fff; font-size: 10px; font-weight: 700; line-height: 15px; white-space: nowrap; opacity: 0; scale: .7; transition: opacity .25s var(--ui-ease) var(--d), scale .35s var(--onx-spring) var(--d); }
/* ŞU AN: 9. satır (s0–s1) → 10. satır (s2+) */
.onx:not(.s2) .onx-or--9, .onx.s2 .onx-or--10 { background: rgba(240, 253, 250, .8); box-shadow: inset 0 0 0 1px rgba(0, 106, 97, .3); }
.onx:not(.s2) .onx-or--9 .onx-no em, .onx.s2 .onx-or--10 .onx-no em { opacity: 1; scale: 1; }
.onx:not(.s2) .onx-or--9 .onx-no > i, .onx.s2 .onx-or--10 .onx-no > i { background: var(--tl); }
.onx:not(.s2) .onx-or--9 .onx-no b, .onx.s2 .onx-or--10 .onx-no b { color: var(--tl); font-weight: 700; }
.onx-obs { flex: none; display: flex; gap: 7px; }
.onx-obs > i { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--s600); box-shadow: inset 0 0 0 2px var(--s300); background: #fff;
  transition: background .25s var(--ui-ease) var(--d), color .25s var(--ui-ease) var(--d), box-shadow .25s var(--ui-ease) var(--d); }
.onx-or.is-d .onx-obs > i, .onx.s1 .onx-or--9 .onx-obs > i, .onx.s3 .onx-or--10 .onx-obs > i { color: var(--s700); box-shadow: inset 0 0 0 2px var(--s400); }
.onx-or.is-d .onx-obs > i.is-x, .onx.s1 .onx-or--9 .onx-obs > i.is-x, .onx.s3 .onx-or--10 .onx-obs > i.is-x {
  color: #fff; background: radial-gradient(circle at 35% 35%, #334155 0%, #0f172a 75%, #020617 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .2), 0 1px 3px rgba(15, 23, 42, .3), 0 0 0 1px var(--s800); }
.onx.s1:not(.s2) .onx-or--9 .onx-obs > i.is-x { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .2), 0 1px 3px rgba(15, 23, 42, .3), 0 0 0 1px #fff, 0 0 0 3px rgba(15, 23, 42, .3); animation: onx-pop .4s var(--onx-spring) .42s; }
.onx.s3 .onx-or--10 .onx-obs > i.is-x { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .2), 0 1px 3px rgba(15, 23, 42, .3), 0 0 0 1px #fff, 0 0 0 3px rgba(15, 23, 42, .3); }
.onx.s3:not(.s4) .onx-or--10 .onx-obs > i.is-x { animation: onx-pop .4s var(--onx-spring) .42s; }
.onx-obs .onx-hit { left: 12px; top: 13px; }
.onx-du { flex: none; display: grid; width: 40px; justify-items: end; font-family: var(--mono); font-size: 10.5px; color: var(--s500); }
.onx-du > * { grid-area: 1 / 1; transition: opacity .25s var(--ui-ease) var(--d); }
.onx-du .d { opacity: 0; color: var(--em); font-weight: 700; }
.onx-or.is-d .onx-du .b, .onx.s1 .onx-or--9 .onx-du .b, .onx.s3 .onx-or--10 .onx-du .b { opacity: 0; }
.onx-or.is-d .onx-du .d, .onx.s1 .onx-or--9 .onx-du .d, .onx.s3 .onx-or--10 .onx-du .d { opacity: 1; }
.onx-thumb { position: absolute; right: 0; bottom: 4px; width: 3px; height: 62%; border-radius: 2px; background: rgba(15, 23, 42, .18); }
.onx-oa { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 8px 10px 10px; background: var(--s100); box-shadow: inset 0 1px 0 var(--s300); }
.onx-lej { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10px; font-weight: 600; color: var(--s600); white-space: nowrap; font-variant-numeric: tabular-nums; }
.onx-lej > span { display: inline-flex; align-items: center; gap: 4px; }
.onx-lej i { width: 10px; height: 10px; border-radius: 50%; }
.onx-lej i.d { background: radial-gradient(circle at 35% 35%, #334155 0%, #0f172a 75%); } .onx-lej i.b { background: #fff; box-shadow: inset 0 0 0 1px var(--s400); }
.onx-lej .r { color: #b45309; } .onx-lej .onx-i { width: 12px; height: 12px; }
.onx-onayla { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 10px; background: var(--tl); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(0, 0, 0, .08); }

/* ══ TELEFON DÜZENİ (dar kap) ══ */
.onx-mt { flex: none; background: rgba(248, 249, 255, .97); box-shadow: inset 0 -1px 0 rgba(220, 233, 255, .9), 0 1px 2px rgba(15, 23, 42, .05); }
.onx-mt__r { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 10px; }
.onx-kare { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e5eeff; color: var(--nv); }
.onx-kare .onx-i { width: 17px; height: 17px; }
.onx-mt__b { flex: 1; min-width: 0; line-height: 15px; }
/* sınav adı uygulamadaki gibi en çok 150 px, sonu «…» (.oz-m-ad); yanında 3 harflik ders çipi (.oz-m-ders) */
.onx-mt__a { display: flex; align-items: center; gap: 6px; min-width: 0; }
.onx-mt__a b { min-width: 0; max-width: 150px; font-size: 13px; font-weight: 700; color: var(--nv); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onx-mders { flex: none; padding: 0 5px; border-radius: 5px; background: rgba(0, 106, 97, .1); color: var(--tl); font-style: normal; font-family: var(--mono);
  font-size: 10px; font-weight: 700; line-height: 16px; text-transform: uppercase; }
.onx-mt__b small { display: flex; align-items: center; gap: 5px; margin-top: 1px; font-size: 10.5px; font-weight: 500; color: #45474c; white-space: nowrap; font-variant-numeric: tabular-nums; }
.onx-mt__b small .onx-st { font-family: var(--mono); font-weight: 700; color: var(--nv); }
.onx-blink { width: 6px; height: 6px; border-radius: 50%; background: var(--tl); animation: onx-blink 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.onx-sep { font-style: normal; color: #c5c6cd; }
.onx-yz { color: var(--tl); font-weight: 600; }
.onx-msaat { flex: none; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border-radius: 999px; background: #eff4ff; box-shadow: inset 0 0 0 1px #dce9ff, inset 0 1px 2px rgba(15, 23, 42, .05); }
.onx-msaat .onx-i { width: 14px; height: 14px; color: var(--tl); }
.onx-msaat b { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--nv); letter-spacing: -.01em; }
.onx-mbitir { position: relative; flex: none; display: grid; place-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(255, 218, 214, .7); color: #93000a; font-size: 11.5px; font-weight: 600; }
.onx-chips { position: relative; display: flex; justify-content: flex-end; align-items: center; gap: 5px; height: 38px; padding: 0 10px; overflow: hidden; background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(229, 238, 255, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
.onx-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 7px; background: #eff4ff; box-shadow: inset 0 0 0 1px rgba(197, 198, 205, .35);
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: #45474c; transition: background-color .3s var(--ui-ease) var(--d), color .3s var(--ui-ease) var(--d), box-shadow .3s var(--ui-ease) var(--d); }
.onx-chip .h { font-style: normal; font-size: 10px; font-weight: 700; color: var(--nv); }
.onx-chip.is-d { background: #e5eeff; color: #0b1c30; }
.onx-chip--9 .h, .onx-chip--10 .h { display: grid; place-items: center; width: 0; height: 14px; margin-left: -4px; border-radius: 50%; overflow: hidden; opacity: 0; transition: width .3s var(--ui-ease) var(--d), margin .3s var(--ui-ease) var(--d), opacity .25s var(--ui-ease) var(--d); }
.onx.s1 .onx-chip--9 .h, .onx.s3 .onx-chip--10 .h { width: 14px; margin-left: 0; opacity: 1; }
.onx:not(.s2) .onx-chip--9, .onx.s2 .onx-chip--10 { background: var(--nv); color: #fff; font-weight: 700; box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(0, 106, 97, .7); }
.onx:not(.s2) .onx-chip--9 .h, .onx.s2 .onx-chip--10 .h { background: var(--tl-c); color: #006f66; font-weight: 800; }
.onx.s2 .onx-chip--9 { background: #e5eeff; color: #0b1c30; }
.onx-mb { min-width: 0; font-size: 11.5px; font-weight: 600; color: var(--nv); white-space: nowrap; }
.onx-kod { position: relative; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0, 106, 97, .3), 0 10px 15px -3px rgba(0, 106, 97, .05); }
.onx-kod::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 96px; height: 96px; border-radius: 50%; background: rgba(0, 106, 97, .05); pointer-events: none; }
.onx-kod__u { display: flex; align-items: center; gap: 8px; }
.onx-kod__i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--tl); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.onx-kod__i .onx-i { width: 15px; height: 15px; }
.onx-kod__t { flex: 1; min-width: 0; line-height: 15px; }
.onx-kod__t b { font-size: 12px; font-weight: 700; color: var(--nv); letter-spacing: -.01em; white-space: nowrap; }
.onx-kod__t i { margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--tl-c); color: #006f66; font-style: normal; font-size: 10px; font-weight: 700; line-height: 15px; white-space: nowrap; }
.onx-kod__t small { display: block; margin-top: 1px; font-size: 10.5px; color: #45474c; white-space: nowrap; }
.onx-kod__c { flex: none; font-size: 11px; font-weight: 600; color: #5d5f66; }
.onx-mx { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 6px 8px 8px; border-radius: 11px; background: rgba(239, 244, 255, .7); box-shadow: inset 0 0 0 1px rgba(197, 198, 205, .5); }
.onx-mx__u { display: flex; justify-content: space-between; padding: 0 3px; font-family: var(--mono); font-size: 10px; font-weight: 600; text-transform: uppercase; color: #5d5f66; }
.onx-mx__u b { color: var(--tl); font-weight: 700; justify-items: end; }
.onx-bl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.onx-bal { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 34px; border-radius: 999px; background: #fff; color: var(--nv); font-family: var(--mono);
  box-shadow: inset 0 0 0 2px #c5c6cd, 0 1px 2px rgba(15, 23, 42, .06); transition: background .25s var(--ui-ease) var(--d), color .25s var(--ui-ease) var(--d), box-shadow .25s var(--ui-ease) var(--d); }
.onx-bal b { font-size: 13px; font-weight: 800; line-height: 1; }
.onx-bal::after { content: ""; position: absolute; inset: 3px; border-radius: 999px; border: 1.5px dashed rgba(255, 255, 255, .4); opacity: 0; transition: opacity .25s var(--ui-ease) var(--d); }
.onx.s1:not(.s2) .onx-bal--c, .onx.s3 .onx-bal--a { color: #fff; background: radial-gradient(circle, #0f172a 75%, #1e293b 100%);
  box-shadow: inset 0 0 0 2px var(--s900), inset 0 2px 4px rgba(0, 0, 0, .6), 0 0 0 2px #fff, 0 0 0 4px var(--tl), 0 4px 10px rgba(15, 23, 42, .25); }
.onx.s1:not(.s2) .onx-bal--c::after, .onx.s3 .onx-bal--a::after { opacity: 1; }
.onx.s1:not(.s2) .onx-bal--c, .onx.s3:not(.s4) .onx-bal--a { animation: onx-pop .4s var(--onx-spring) .42s; }
.onx-bal .onx-hit { left: 50%; top: 20px; }
.onx-kod__a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px; font-size: 10.5px; color: #45474c; white-space: nowrap; }
.onx-kod__a > span { display: inline-flex; align-items: center; gap: 4px; color: var(--tl); font-weight: 500; }
.onx-kod__a .onx-i { width: 13px; height: 13px; }
.onx-kod__a em { font-style: normal; font-family: var(--mono); font-size: 10px; color: #5d5f66; }
.onx-nav { flex: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; height: 52px; padding: 6px 10px 8px; background: rgba(248, 249, 255, .97);
  box-shadow: inset 0 1px 0 rgba(220, 233, 255, .9), 0 -8px 30px rgba(0, 0, 0, .06); }
.onx-nav > span { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 11px; background: #eff4ff; box-shadow: inset 0 0 0 1px rgba(197, 198, 205, .35); color: #0b1c30; font-size: 11.5px; font-weight: 600; }
.onx-nav .onx-i { width: 17px; height: 17px; }
.onx-nav > .r { color: #45474c; }
.onx-nav > .s { background: rgba(134, 242, 228, .6); color: #006f66; box-shadow: inset 0 0 0 1px rgba(0, 106, 97, .3); font-family: var(--mono); font-weight: 700; }
.onx-nav > .s .onx-i { width: 14px; height: 14px; }
.onx-nav em { font-style: normal; }
.onx-nav > .f { background: var(--nv); color: #fff; font-weight: 700; box-shadow: 0 4px 6px -1px rgba(9, 20, 38, .2); transition: background-color .3s var(--ui-ease) var(--d); }
/* «Sonraki» → «Bitir»: hücre o anki etiketin genişliğinde (em: Plus Jakarta 700), yazı + ok düğmede ortalı */
.onx-nav > .f .onx-st { grid-template-columns: minmax(0, 1fr); justify-items: center; width: 3.66em; transition: width .3s var(--ui-ease) var(--d); }
.onx.s2 .onx-nav > .f .onx-st { width: 1.94em; }
.onx.s2 .onx-nav > .f { background: var(--em); }
/* imleç ucu etiketin ortasında: ortalı öbekte etiketin merkezi düğme merkezinden (aralık + ok) / 2 ≈ 10 px solda */
.onx-nav .onx-hit { left: calc(50% - 10px); bottom: 11px; }
.onx.s2:not(.s3) .onx-nav > .f, .onx.s4:not(.s5) .onx-nav > .f { animation: onx-push .3s var(--ui-ease) .38s; }

/* ══ OPTİK FORMU ONAYLA (pencere) ══ */
.onx-dlg { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; padding: 12px; background: rgba(9, 20, 38, .45); opacity: 0; transition: opacity .3s var(--ui-ease); }
.onx-pn { display: flex; flex-direction: column; width: min(436px, 100%); max-height: calc(100% - 0px); border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 2px 4px rgba(15, 23, 42, .06), 0 24px 40px -14px rgba(15, 23, 42, .45);
  translate: 0 14px; scale: .97; transition: translate .5s var(--onx-spring), scale .45s var(--onx-spring); }
.onx.s4 .onx-dlg { opacity: 1; transition-delay: .5s; }
.onx.s4 .onx-pn { translate: 0 0; scale: 1; transition-delay: .5s; }
.onx.s7 .onx-dlg { opacity: 0; transition-delay: .55s; }
.onx-pu { flex: none; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 10px; }
.onx-pu > span { flex: 1; min-width: 0; line-height: 18px; }
.onx-pu b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--nv); }
.onx-pu small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; color: var(--s500); }
.onx-pu__x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--s100); color: var(--s700); }
.onx-pu__x .onx-i { width: 15px; height: 15px; }
.onx-tempo { flex: none; margin: 0 16px; padding: 7px 11px; border-radius: 9px; background: #f0fdfa; box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .16); font-size: 11px; line-height: 15px; color: var(--s700); text-wrap: pretty; }
.onx-tempo b { font-family: var(--mono); color: var(--nv); }
.onx-gs { flex: none; display: flex; gap: 3px; width: fit-content; margin: 10px 16px 0; padding: 3px; border-radius: 9px; background: var(--s100); }
.onx-gs > * { display: grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 7px; font-size: 11px; font-weight: 600; color: var(--s600); white-space: nowrap; }
.onx-gs > b { background: #fff; color: var(--nv); box-shadow: 0 1px 2px rgba(15, 23, 42, .1); }
/* karo ızgarası daima tam sıralarla biter: geniş kapta 10 karo tek sıra (uygulamanın 720 px penceresindeki gibi);
   dar kapta son onay açılınca ızgara kapanır, «MATEMATİK 10/10» başlığı kalır — yarım karo yok */
.onx-gg { flex: none; padding: 10px 16px 12px; }
.onx-gg__h { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 13px; text-transform: uppercase; color: var(--s500); }
.onx-gg__h em { font-style: normal; font-family: var(--mono); }
.onx-kr { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.onx-kr > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 42px; border-radius: 9px; background: var(--s900); box-shadow: inset 0 0 0 1.5px var(--s800); }
.onx-kr b { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff; line-height: 14px; }
.onx-kr i { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--tl-c); line-height: 12px; }
.onx-pa { flex: none; background: var(--s50); box-shadow: inset 0 1px 0 var(--s200); }
.onx-pa__1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; max-height: 100px; padding: 10px 16px 12px; overflow: hidden;
  transition: max-height .4s var(--ui-ease) var(--d), padding .4s var(--ui-ease) var(--d), opacity .2s var(--ui-ease) var(--d); }
.onx-pa__ip { flex: 1 1 170px; font-size: 11px; font-weight: 500; line-height: 15px; color: var(--s500); }
.onx-pa__b { display: flex; gap: 8px; margin-left: auto; }
.onx-b2, .onx-b3, .onx-b4, .onx-b5 { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.onx-b2 { background: #fff; color: var(--s700); box-shadow: inset 0 0 0 1px var(--s300); }
.onx-b3, .onx-b4 { background: var(--tl); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.onx-b3 .onx-hit { right: 30px; bottom: 9px; }
.onx.s5:not(.s6) .onx-b3 { animation: onx-push .3s var(--ui-ease) .38s; }
.onx-pa__2 { max-height: 0; padding: 0 16px; overflow: hidden; opacity: 0; transition: max-height .45s var(--ui-ease) var(--d), padding .45s var(--ui-ease) var(--d), opacity .3s var(--ui-ease) calc(var(--d) + .12s); }
.onx.s5 .onx-pa__1 { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
.onx.s5 .onx-pa__2 { max-height: 230px; padding: 10px 16px 12px; opacity: 1; }
.onx-ok { display: grid; gap: 8px; padding: 10px 12px; border-radius: 11px; background: #fffbeb; box-shadow: inset 0 0 0 1px #fcd34d; color: #78350f; }
.onx-ok__h { display: flex; align-items: flex-start; gap: 8px; }
.onx-ok__h > .onx-i { width: 18px; height: 18px; margin-top: 1px; color: #b45309; }
.onx-ok__h b { display: block; font-size: 12.5px; font-weight: 800; line-height: 16px; color: #78350f; }
.onx-ok__h small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; line-height: 15px; color: #92400e; }
.onx-anl { display: flex; align-items: flex-start; gap: 8px; padding: 7px 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #fcd34d; font-size: 11px; font-weight: 700; line-height: 15px; color: var(--s800); }
.onx-cb { position: relative; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 0; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--s400); color: #fff;
  transition: background-color .2s var(--ui-ease) var(--d), box-shadow .2s var(--ui-ease) var(--d); }
.onx-cb .onx-i { width: 11px; height: 11px; stroke-width: 3; opacity: 0; scale: .5; transition: opacity .2s var(--ui-ease) var(--d), scale .35s var(--onx-spring) var(--d); }
.onx.s6 .onx-cb { background: #be123c; box-shadow: inset 0 0 0 1.5px #be123c; }
.onx.s6 .onx-cb .onx-i { opacity: 1; scale: 1; }
.onx-cb .onx-hit { left: 8px; top: 9px; }
.onx-ok__e { display: flex; justify-content: space-between; gap: 8px; }
.onx-b5 { background: var(--s200); color: var(--s500); transition: background-color .3s var(--ui-ease) var(--d), color .3s var(--ui-ease) var(--d); }
.onx.s6 .onx-b5 { background: #be123c; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 4px 10px -5px rgba(190, 18, 60, .7); }
.onx-b5 .onx-hit { right: 30px; bottom: 9px; }
.onx.s7:not(.s8) .onx-b5 { animation: onx-push .3s var(--ui-ease) .38s; }

/* ══ CEVAPLARIN TESLİM EDİLDİ ══ */
.onx-fin { position: absolute; z-index: 30; inset: 0; display: grid; place-items: center; padding: 14px; background: #f3f6fb; opacity: 0; transition: opacity .35s var(--ui-ease); }
.onx.s7 .onx-fin { opacity: 1; transition-delay: .7s; }
.onx-kp { display: flex; flex-direction: column; width: min(400px, 100%); padding: 20px 22px 22px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 2px var(--s300), 0 20px 35px -12px rgba(15, 23, 42, .22); translate: 0 12px; transition: translate .55s var(--onx-spring); }
.onx.s7 .onx-kp { translate: 0 0; transition-delay: .7s; }
.onx-kp__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #ecfdf5; color: #059669; scale: .6; transition: scale .5s var(--onx-spring); }
.onx.s7 .onx-kp__i { scale: 1; transition-delay: .9s; }
.onx-kp__i .onx-i { width: 24px; height: 24px; }
.onx-kp__h { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 22px; letter-spacing: -.01em; color: var(--nv); }
.onx-kp__p { margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--s600); text-wrap: pretty; }
.onx-kp__o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.onx-kp__o > span { padding: 8px 12px; border-radius: 11px; background: var(--s50); box-shadow: inset 0 0 0 1px var(--s200); }
.onx-kp__o small { display: block; font-size: 10.5px; font-weight: 600; color: var(--s500); }
.onx-kp__o b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 24px; color: var(--nv); }
.onx-kp__b { display: grid; place-items: center; height: 38px; margin-top: 14px; border-radius: 11px; background: var(--tl); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }

/* ══ OKULUN EKRANI: ONLINE OTURUMLAR ══ */
.onx-adm { position: absolute; z-index: 40; inset: 0; background: #f6f7f9; opacity: 0; scale: 1.02; transition: opacity .45s var(--ui-ease), scale .6s var(--ui-ease); }
.onx.s8 .onx-adm { opacity: 1; scale: 1; transition-delay: .15s; }
.onx-band { display: flex; align-items: center; gap: 10px; margin: 10px 10px 0; padding: 9px 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); }
.onx-band__i { 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); }
.onx-band__i .onx-i { width: 17px; height: 17px; stroke-width: 1.8; }
.onx-band__t { flex: 1; min-width: 0; line-height: 18px; }
.onx-band__t b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.onx-band__c { display: inline-flex; align-items: center; gap: 4px; height: 18px; margin: 0 0 0 7px; padding: 0 6px; border-radius: 5px; vertical-align: 1px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: 10.5px; font-weight: 800; line-height: 18px; }
.onx-band__c .onx-i { width: 12px; height: 12px; }
.onx-band__t small { display: block; margin-top: 1px; font-size: 11px; font-weight: 600; line-height: 15px; color: rgba(255, 255, 255, .82); white-space: nowrap; }
.onx-tabs { display: flex; height: 30px; margin: 2px 14px 0; box-shadow: inset 0 -1px 0 var(--ui-line); }
.onx-tab { position: relative; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 800; color: var(--ui-muted); white-space: nowrap; }
.onx-tab.is-on { color: var(--navy-soft); }
.onx-tab.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--navy-soft); }
.onx-ac { display: flex; flex-direction: column; gap: 8px; padding: 8px 14px 0; }
/* plan kartı: uygulamadaki gibi durum rozeti sağ üstte, plan adının hizasında; alt satır (test adı · pencere · süre · kaynak) */
.onx-plan { position: relative; display: block; padding: 7px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .04), inset 0 1px 0 rgba(255, 255, 255, .6); }
.onx-plan__t { display: block; min-width: 0; line-height: 15px; }
.onx-plan__t b { display: block; padding-right: 116px; font-size: 12px; font-weight: 900; color: #18181b; }
.onx-plan__t small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 700; color: #52525b; font-variant-numeric: tabular-nums; }
.onx-plan em { position: absolute; top: 5px; right: 12px; padding: 2px 7px; border-radius: 6px; background: #d1fae5; color: #065f46; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 14px; white-space: nowrap; }
.onx-tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.onx-tile { display: block; min-width: 0; padding: 6px 11px 7px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .04), inset 0 1px 0 rgba(255, 255, 255, .6);
  opacity: 0; translate: 0 6px; transition: opacity .3s var(--ui-ease) calc(.45s + var(--i) * 60ms), translate .4s var(--ui-ease) calc(.45s + var(--i) * 60ms); }
.onx.s8 .onx-tile { opacity: 1; translate: 0 0; }
.onx-tile small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .05em; line-height: 13px; text-transform: uppercase; color: #52525b; white-space: nowrap; }
.onx-tile b { display: block; margin-top: 2px; font-size: 19px; font-weight: 900; line-height: 22px; color: #18181b; letter-spacing: -.02em; }
.onx-tn { counter-reset: ot var(--onx-t); font-variant-numeric: tabular-nums; transition: --onx-t .8s var(--ui-ease) calc(.55s + var(--i, 0) * 60ms); }
.onx-tile .onx-tn { --i: inherit; }
.onx-tn::after { content: counter(ot); }
.onx.s8 .onx-tn { --onx-t: var(--v); }
.onx-olay { display: flex; align-items: center; gap: 10px; }
.onx-olay__b { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px #e4e4e7; font-size: 11px; font-weight: 800; color: #3f3f46; white-space: nowrap; }
.onx-olay__b .onx-i { width: 12px; height: 12px; }
.onx-olay small { min-width: 0; font-size: 10.5px; font-weight: 600; line-height: 14px; color: #52525b; text-wrap: pretty; }
.onx-tb { border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(16, 37, 64, .04); }
.onx-tr { display: grid; grid-template-columns: minmax(0, 1.2fr) 60px minmax(0, 1.55fr) 46px minmax(0, 1.2fr); align-items: center; column-gap: 10px; height: 32px; padding: 0 12px; border-top: 1px solid #f1f1f3;
  font-variant-numeric: tabular-nums; opacity: 0; translate: 0 5px; transition: opacity .3s var(--ui-ease) calc(.6s + var(--i) * 60ms), translate .35s var(--ui-ease) calc(.6s + var(--i) * 60ms); }
.onx-tr > * { min-width: 0; }
.onx.s8 .onx-tr { opacity: 1; translate: 0 0; }
.onx-tr--h { height: 22px; border-top: 0; background: #fafafa; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #52525b; white-space: nowrap; opacity: 1; translate: 0 0; box-shadow: inset 0 -1px 0 #f1f1f3; }
.onx-tr__ad { line-height: 13px; }
.onx-tr__ad b { display: block; font-size: 11.5px; font-weight: 800; color: #18181b; white-space: nowrap; }
.onx-tr__ad small { display: block; font-size: 10px; font-weight: 700; color: #52525b; white-space: nowrap; }
.onx-dc { display: inline-block; padding: 1px 6px; border-radius: 5px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 15px; white-space: nowrap; }
.onx-dc--girmedi { background: #f4f4f5; color: #3f3f46; } .onx-dc--suruyor { background: #fef3c7; color: #92400e; } .onx-dc--bitti { background: #d1fae5; color: #065f46; }
.onx-tr__z { font-size: 10.5px; font-weight: 700; line-height: 13px; color: #3f3f46; white-space: nowrap; }
.onx-tr__z small { display: block; font-size: 10px; font-weight: 700; color: #52525b; }
.onx-tr__c { font-size: 11px; font-weight: 800; color: #27272a; }
.onx-tr__o { font-size: 10.5px; font-weight: 700; line-height: 13px; color: #52525b; }
.onx-tr__cp { display: none; }
/* uygulamada seçili satır vurgusu yok: yalnız sahnenin öğrencisinin durum çipi bir kez yaylanır */
.onx.s8 .onx-tr--me .onx-dc { animation: onx-pop .45s var(--onx-spring) 1.1s; }

/* ══ DAR KAPLAR ══ */
/* üst şerit uygulamanın 1024–1199 px düzenidir (online-exam-run.php:645): öğrenci adı, «(N soru · N dk)» ve «Ölçme ve
   değerlendirme» çizilmez; öğrencinin adı ve numarası sağdaki optik formun fişinde */
@container (max-width: 670px) {
  .onx-dmg em, .onx-temiz, .onx-kz__l { display: none; }
}
/* 640 px dolayı: sınav adı tam sığsın diye şerit aralıkları daralır */
@container (max-width: 660px) {
  .onx-top { gap: 8px; padding: 0 10px; }
  .onx-tm { padding-right: 9px; }
  .onx-dcip { padding: 0 6px; }
}
@container (max-width: 630px) {
  .onx-stu, .onx-ayr { display: none; }
}
@container (max-width: 615px) {
  .onx-arac > i.b { width: 24px; padding: 0; justify-content: center; }
  .onx-arac > i.b span { display: none; }
}
/* telefon düzeni */
@container (max-width: 600px) {
  .onx-c-ol { display: none; }
  .onx-w { display: none; }
  .onx-mt { display: block; }
  .onx-mb { display: inline; }
  .onx-kz .onx-n { display: inline; }
  .onx-nav { display: grid; }
  .onx-kod { display: flex; }
  .onx-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; }
  .onx-ku { height: 34px; gap: 7px; padding: 0 10px 0 8px; background: rgba(239, 244, 255, .6); box-shadow: inset 0 -1px 0 #e5eeff; }
  .onx-rz { justify-content: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 6px; font-family: var(--mono); font-size: 11.5px; }
  .onx-kz { margin-left: auto; height: 18px; padding: 0 6px; border-radius: 4px; background: #e5eeff; color: #5d5f66; box-shadow: none; font-family: var(--mono); font-size: 10px; font-weight: 500; }
  .onx-kz .onx-st { font-size: 10px; }
  .onx-sahne { padding: 8px; }
  .onx-kagit { padding: 8px; border-radius: 9px; background: #fdfefe; box-shadow: inset 0 0 0 1px rgba(197, 198, 205, .6), inset 0 2px 4px rgba(15, 23, 42, .05); }
  .onx-dlg { place-items: end stretch; padding: 0; }
  .onx-pn { width: 100%; max-height: calc(100% - 22px); border-radius: 18px 18px 0 0; translate: 0 40px; scale: 1; }
  .onx-tempo { margin: 0 14px; }
  .onx-pu { padding: 12px 14px 8px; }
  .onx-gs { margin: 8px 14px 0; }
  .onx-gg { padding: 8px 14px 12px; }
  .onx-kr { grid-template-columns: repeat(5, minmax(0, 1fr)); max-height: 82px; overflow: hidden;
    transition: max-height .4s var(--ui-ease) var(--d), margin .4s var(--ui-ease) var(--d), opacity .2s var(--ui-ease) var(--d); }
  .onx-kr > span { height: 38px; }
  .onx.s5 .onx-kr { max-height: 0; margin-top: 0; opacity: 0; }
  .onx-pa__1, .onx.s5 .onx-pa__2 { padding-left: 14px; padding-right: 14px; }
  .onx-pa__b { width: 100%; margin-left: 0; }
  .onx-pa__b > * { flex: 1; }
  .onx-pa__ip { flex-basis: 100%; }
  .onx-ok__e > * { flex: 1; }
  .onx-band { margin: 8px 8px 0; padding: 8px 10px; }
  .onx-band__i { display: none; }
  .onx-band__t b { font-size: 13px; white-space: normal; line-height: 17px; }
  .onx-band__t small { font-size: 10.5px; white-space: normal; }
  .onx-tabs { margin: 0 10px; }
  .onx-tab--hz, .onx-tab--ca { display: none; }
  .onx-ac { padding: 8px 10px 0; gap: 7px; }
  .onx-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; padding: 7px 10px; }
  .onx-plan__t { flex: 1 1 200px; }
  .onx-plan em { position: static; flex: none; }
  .onx-plan__t b, .onx-plan__ta { display: none; }
  .onx-plan__t small { white-space: normal; }
  .onx-tl { gap: 6px; }
  .onx-tile { padding: 5px 8px 6px; border-radius: 10px; }
  .onx-tile small { letter-spacing: .01em; }
  .onx-tile b { font-size: 17px; line-height: 20px; }
  .onx-olay { display: none; }
  .onx-tr--h { display: none; }
  /* izleme kartı pencerenin altına dek uzanır, satırlar kalan yüksekliği eşit paylaşır (alt boşluk her genişlikte 7 px) */
  .onx-adm { display: flex; flex-direction: column; }
  .onx-ac { flex: 1; min-height: 0; padding-bottom: 7px; }
  .onx-tb { flex: 1; display: flex; flex-direction: column; }
  .onx-tr { flex: 1 0 auto; align-content: center; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ad dc" "z c"; row-gap: 3px; height: auto; padding: 5px 10px; }
  .onx-tr > :nth-child(1) { grid-area: ad; } .onx-tr > :nth-child(2) { grid-area: dc; justify-self: end; }
  .onx-tr__z { grid-area: z; } .onx-tr__c { grid-area: c; justify-self: end; }
  .onx-tr:first-of-type { border-top: 0; }
  .onx-tr__ad { display: flex; align-items: baseline; gap: 6px; }
  .onx-tr__z small { display: inline; margin-left: 4px; }
  .onx-tr__cp { display: inline; font-weight: 700; color: #52525b; }
}
@container (max-width: 400px) {
  .onx-kod__t i { display: none; }
  .onx-tr__z small { display: none; }
}
/* telefon alt gezinmesi: «Sonraki» düğmesinde iki yanda en az ~6 px kalsın */
@container (max-width: 340px) {
  .onx-nav { gap: 4px; }
  .onx-nav > .f { gap: 2px; font-size: 11px; }
}
/* bant alt satırı iki satıra sarılınca (≈387 px) beşinci izleme satırına yer kalmaz (12 px pay) */
@container (max-width: 399px) {
  .onx-tb > .onx-tr:last-child { display: none; }
}
