/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════
   FERMAT DS — Apple sınıfı tasarım katmanı (25.830-w12, 30 Eyl 2026)

   Neo: "Kullanıcı Apple kullanıyor gibi hissetmeli, Android değil — menü tasarımı, animasyon, tepki süresi, oturmuş,
   üzerine düşünülmüş, istisnasız bütünlük içinde. fermatvip.com'u son motorlarla yaptım; FermatAI de o kalitede olsun."

   İLKELER (Apple HIG):
   · Tek tip simge dili (SF Symbols benzeri çizgi simge) — platform emojisi değil; her cihazda aynı çizilir.
   · Renk rol taşır, süs değil: nötr zemin + tek vurgu (palet) + iOS Ayarlar tarzı renkli simge kutuları yalnız menüde.
   · Derinlik = katman rengi (bg → grup → yükseltilmiş), gölge değil. Ayırıcı saç teli (hairline), çizgi değil.
   · Hareket fiziksel: iOS yay eğrisi (0.32,0.72,0,1); dokunuşta vurgu (highlight), zıplama değil; azaltılmış hareket saygısı.
   · 44 px dokunma hedefi; odak halkası yalnız klavye odağında (:focus-visible).
   · iframe üstünde backdrop-filter YOK (WebKit metni bulanık çiziyor — 25.830-w10/w11).

   KAPSAM: yalnız <html class="ds"> altında etkindir. Geri alma: ?ds=0 ya da localStorage fermat_ds=0 → eski görünüm.
   Özgüllük: kurallar html.ds önekiyle (0,1,1)+ → sayfa gövdesindeki eski <style> bloklarını sıra bağımsız ezer.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── 1 · TEMEL (her yüzey: sohbet, Kurum OS, dashboard, simülatör) ──────────────────────────────────────────────── */
html.ds {
  --ds-ease: cubic-bezier(.32, .72, 0, 1);          /* iOS sheet/drawer yay eğrisi */
  --ds-ease-out: cubic-bezier(.22, 1, .36, 1);
  --ds-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --ds-font-disp: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.ds body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  -webkit-tap-highlight-color: transparent;
}
html.ds :focus { outline: none; }
html.ds :focus-visible { outline: 2px solid color-mix(in srgb, var(--accent, #0A84FF) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
html.ds button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html.ds *, html.ds *::before, html.ds *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── 2 · SOHBET TOKENLARI (yalnız html.ds.ds-sohbet) ─────────────────────────────────────────────────────────────
   Koyu: fermatvip ailesi (#08080b serin siyah) + Apple sistem grileri. Açık: Apple grouped (#F2F2F7 / #FFF).
   Vurgu (--accent) paletten gelir — dokunulmaz. */
html.ds.ds-sohbet[data-theme="dark"] {
  --bg: #0A0A0D; --panel: #141418; --input-bg: #1A1A1F; --border: rgba(255, 255, 255, .085);
  --fg: #F5F5F7; --fg-muted: #9C9CA6; --bot-bubble: #16161B;
  --ds-grup: #1C1C21; --ds-yuk: #232329; --ds-ayrac: rgba(255, 255, 255, .075); --ds-vurgu-zemin: rgba(255, 255, 255, .07);
  --ds-golge: 0 24px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .05);
  color-scheme: dark;
}
html.ds.ds-sohbet:not([data-theme="dark"]) {
  --bg: #FFFFFF; --panel: #F5F5F7; --input-bg: #FFFFFF; --border: rgba(60, 60, 67, .14);
  --fg: #1D1D1F; --fg-muted: #6E6E73; --bot-bubble: #F2F2F7;
  --ds-grup: #FFFFFF; --ds-yuk: #FFFFFF; --ds-ayrac: rgba(60, 60, 67, .13); --ds-vurgu-zemin: rgba(0, 0, 0, .05);
  --ds-golge: 0 24px 60px -24px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .04);
  color-scheme: light;
}
html.ds.ds-sohbet body, html.ds.ds-sohbet button, html.ds.ds-sohbet input, html.ds.ds-sohbet textarea, html.ds.ds-sohbet select {
  font-family: var(--ds-font);
}
html.ds.ds-sohbet body { background: var(--bg); }

/* ── 3 · BAŞLIK — macOS araç çubuğu: tek renkli simge + etiket, nötr, gradyan yok ─────────────────────────────── */
html.ds.ds-sohbet .chat-header {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--ds-ayrac);
  box-shadow: none;
}
html.ds.ds-sohbet .chat-header .title { font-family: var(--ds-font-disp); font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
html.ds.ds-sohbet .chat-header .history-btn {
  width: 36px; height: 36px; padding: 0; margin-right: 6px; display: inline-grid; place-items: center;
  border-radius: 9px; color: var(--fg); font-size: 0; transition: background .2s var(--ds-ease);
}
html.ds.ds-sohbet .chat-header .history-btn:hover { background: var(--ds-vurgu-zemin); }
html.ds.ds-sohbet .chat-header .user .navable,
html.ds.ds-sohbet .chat-header .user .new-chat-btn {
  background: transparent !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important;
  color: var(--fg) !important; font-family: var(--ds-font) !important; font-weight: 500 !important; font-size: 13px !important;
  letter-spacing: -.005em !important; padding: 0 10px !important; height: 32px !important; border-radius: 8px !important;
  display: inline-flex !important; align-items: center !important; gap: 6px !important; line-height: 1 !important; margin: 0 1px !important;
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease) !important;
}
/* 25.830-w14 (kendi açtığım gerileme): yukarıdaki inline-flex !important, özgün tasarımın telefon/tablette bölüm düğmelerini başlıktan
   gizleyen kuralını (25.59-IPAD, aynı özgüllük) eziyordu → iPad başlığı 8 düğmeyle doldu. Gizleme aynı medya koşullarıyla burada. */
@media (max-width: 600px), (min-width: 601px) and (max-width: 1024px), (any-pointer: coarse) and (min-width: 601px) and (max-width: 1366px) {
  html.ds.ds-sohbet .chat-header .user .navable { display: none !important; }
}
/* hizalama: başlıktaki her öğe tek dikey eksende (Kurum OS hızlı simgesi taban çizgisine oturup aşağı kayıyordu) */
html.ds.ds-sohbet .chat-header .user > * { vertical-align: middle !important; }
html.ds.ds-sohbet .chat-header .user { align-items: center; }
html.ds.ds-sohbet .chat-header .user .navable[style*="display:none"],
html.ds.ds-sohbet .chat-header .user .navable[style*="display: none"] { display: none !important; }
html.ds.ds-sohbet .chat-header .user .navable:hover,
html.ds.ds-sohbet .chat-header .user .new-chat-btn:hover { background: var(--ds-vurgu-zemin) !important; }
html.ds.ds-sohbet .chat-header .user .navable:active,
html.ds.ds-sohbet .chat-header .user .new-chat-btn:active { opacity: .55; transition: opacity 0s !important; }
html.ds.ds-sohbet .chat-header .ds-ic { width: 17px; height: 17px; flex: 0 0 auto; color: var(--fg-muted); }
html.ds.ds-sohbet .chat-header .navable:hover .ds-ic { color: var(--accent); }
html.ds.ds-sohbet .chat-header .notif-bell { border-radius: 9px !important; transition: background .18s var(--ds-ease) !important; }
/* tema: turuncu hap + emoji yerine nötr simge düğmesi (güneş/ay çizgi simge); köşedeki palet noktası korunur (basılı tut = palet) */
html.ds.ds-sohbet .chat-header .theme-toggle {
  width: 36px !important; height: 36px !important; padding: 0 !important; margin: 0 4px !important; border-radius: 9px !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--fg-muted) !important;
  display: inline-grid !important; place-items: center; transform: none !important; transition: background .18s var(--ds-ease) !important;
}
html.ds.ds-sohbet .chat-header .theme-toggle:hover { background: var(--ds-vurgu-zemin) !important; color: var(--fg) !important; }
html.ds.ds-sohbet .chat-header .theme-toggle:active { opacity: .55; }
html.ds.ds-sohbet .chat-header .theme-toggle::after { display: none !important; }
html.ds.ds-sohbet .chat-header .theme-toggle::before { right: 5px; bottom: 5px; width: 6px; height: 6px; box-shadow: 0 0 0 1.5px var(--bg); }
html.ds.ds-sohbet .chat-header .theme-toggle .ds-ic { width: 19px; height: 19px; color: inherit; }

/* ── 4 · ÇEKMECE — iOS kenar çubuğu: yay eğrisi, gruplanmış liste, Ayarlar tarzı renkli simge kutusu ──────────── */
html.ds.ds-sohbet .drawer-overlay { background: rgba(0, 0, 0, .34); transition: opacity .35s var(--ds-ease) !important; }
html.ds.ds-sohbet .history-drawer {
  width: min(340px, 88vw); background: var(--bg); border-right: 0; box-shadow: var(--ds-golge);
  transition: transform .46s var(--ds-ease);
}
html.ds.ds-sohbet[data-theme="dark"] .history-drawer { background: #0E0E12; }
html.ds.ds-sohbet:not([data-theme="dark"]) .history-drawer { background: #F2F2F7; }
html.ds.ds-sohbet .history-drawer .drawer-header {
  border-bottom: 0; padding: calc(16px + env(safe-area-inset-top)) 16px 10px; gap: 10px;
}
html.ds.ds-sohbet .dh-meta b { font-family: var(--ds-font-disp); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
html.ds.ds-sohbet .dh-meta small { font-size: 12.5px; color: var(--fg-muted); letter-spacing: -.005em; }
html.ds.ds-sohbet .dh-role {
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 6px;
  color: var(--fg-muted); background: var(--ds-vurgu-zemin);
}
html.ds.ds-sohbet .dh-dot { width: 8px; height: 8px; margin: 0 2px; --halka-olcek: 2.75; }   /* halka 0 → 7 px (8 px nokta) */
html.ds.ds-sohbet .history-drawer .close-drawer {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  color: var(--fg-muted); background: var(--ds-vurgu-zemin); transition: background .18s var(--ds-ease);
}
html.ds.ds-sohbet .history-drawer .close-drawer:active { opacity: .55; }
html.ds.ds-sohbet .drawer-content { padding: 4px 0 16px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* bölüm başlığı — iOS grouped header: küçük, sade, çizgisiz */
html.ds.ds-sohbet .dsec-label, html.ds.ds-sohbet .drawer-nav .dsec-label {
  font-size: 12.5px; letter-spacing: -.005em; text-transform: none; font-weight: 500; opacity: 1;
  color: var(--fg-muted); padding: 14px 20px 7px;
}
html.ds.ds-sohbet .dsec-label .ln { display: none; }
/* akordeon oku: metin karakteri (› ⌄) yerine satır okuyla AYNI çizgi ok; kapalı → sağ, açık → aşağı (iOS disclosure dönüşü) */
html.ds.ds-sohbet .dsec-label .acc-chev {
  margin-left: auto; font-size: 0; opacity: 1; width: 8px; height: 13px; flex: 0 0 auto;
  background: currentColor; color: color-mix(in srgb, var(--fg-muted) 75%, transparent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'><path d='M1.5 1.5 6.5 6.5 1.5 11.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'><path d='M1.5 1.5 6.5 6.5 1.5 11.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  transform: rotate(90deg); transition: transform .32s var(--ds-ease);
}
html.ds.ds-sohbet .dsec.collapsed > .dsec-label .acc-chev,
html.ds.ds-sohbet .drawer-nav.collapsed > .dsec-label .acc-chev { transform: rotate(0deg); }
html.ds.ds-sohbet .dsec-label { min-height: 44px; }
html.ds.ds-sohbet .drawer-nav { border-bottom: 0; padding: 0; }
html.ds.ds-sohbet .dsec { padding: 0; }
html.ds.ds-sohbet .dsec-hint { padding: 0 20px 8px; font-size: 12px; }

/* grup kutusu: satırlar tek yuvarlatılmış yüzeyde, aralarında içeri girintili saç teli */
html.ds.ds-sohbet #drawerNav > .dnav-item:first-of-type,
html.ds.ds-sohbet #quickList > .dnav-item:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; }
html.ds.ds-sohbet #drawerNav > .dnav-item:last-child,
html.ds.ds-sohbet #quickList > .dnav-item:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
html.ds.ds-sohbet .history-drawer .dnav-item {
  position: relative; margin: 0 12px; width: calc(100% - 24px); padding: 9px 12px; gap: 12px;
  background: var(--ds-grup); border: 0; border-radius: 0; min-height: 50px;
  transition: background .12s linear;
}
html.ds.ds-sohbet .history-drawer .dnav-item + .dnav-item::before {
  content: ""; position: absolute; top: 0; left: 52px; right: 0; height: 1px; background: var(--ds-ayrac); transform: scaleY(.5); transform-origin: top;
}
html.ds.ds-sohbet .history-drawer .dnav-item:hover { background: color-mix(in srgb, var(--ds-grup) 88%, var(--fg)); border-color: transparent; }
html.ds.ds-sohbet .history-drawer .dnav-item:active { transform: none; background: color-mix(in srgb, var(--ds-grup) 78%, var(--fg)); transition: background 0s; }
/* simge: KUTUSUZ (Neo 30 Eyl: "çerçeveli kutular yorucu ve amatör") — macOS kenar çubuğu dili: çıplak çizgi simge, kendi renginde */
html.ds.ds-sohbet .history-drawer .dnav-icon {
  width: 28px; height: 28px; border-radius: 0; font-size: 21px; background: transparent !important; box-shadow: none;
  color: var(--fg-muted);
}
html.ds.ds-sohbet .history-drawer .dnav-item:hover .dnav-icon { transform: none; background: transparent; }
html.ds.ds-sohbet .history-drawer .dnav-icon svg { width: 23px !important; height: 23px !important; stroke: currentColor; stroke-width: 1.7; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-turuncu) { color: #FF9F0A; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-yesil)   { color: #30D158; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-nane)    { color: #00C7BE; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-mavi)    { color: #0A84FF; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-indigo)  { color: #7D7AFF; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-mor)     { color: #BF5AF2; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-pembe)   { color: #FF375F; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-kirmizi) { color: #FF453A; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-sari)    { color: #FFD60A; }
html.ds.ds-sohbet .dnav-icon:has(.ds-k-gri)     { color: #98989F; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-sari)    { color: #C99700; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-kirmizi) { color: #E5322B; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-turuncu) { color: #F08A00; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-yesil)   { color: #28A745; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-nane)    { color: #00A69E; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-indigo)  { color: #5856D6; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-mor)     { color: #A745D6; }
html.ds.ds-sohbet .dnav-txt b { font-size: 15px; font-weight: 400; letter-spacing: -.01em; }
html.ds.ds-sohbet .dnav-txt small { font-size: 12px; -webkit-line-clamp: 1; line-clamp: 1; letter-spacing: -.003em; }
html.ds.ds-sohbet .dnav-arrow { font-size: 0; opacity: 1; width: 8px; height: 13px; flex: 0 0 auto;
  background: currentColor; color: color-mix(in srgb, var(--fg-muted) 70%, transparent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'><path d='M1.5 1.5 6.5 6.5 1.5 11.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'><path d='M1.5 1.5 6.5 6.5 1.5 11.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
html.ds.ds-sohbet .dnav-item:hover .dnav-arrow { transform: none; }
/* giriş: satırlar kaymaz, kenar çubuğu tek parça hareket eder (iOS) — kademeli yalnız hafif opaklık */
@keyframes dsSatir { from { opacity: 0; } to { opacity: 1; } }
html.ds.ds-sohbet .history-drawer.open.stagger .dsec,
html.ds.ds-sohbet .history-drawer.open.stagger .dnav-item { animation: dsSatir .32s var(--ds-ease-out) backwards; }
html.ds.ds-sohbet .drawer-foot { border-top: 1px solid var(--ds-ayrac); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
html.ds.ds-sohbet .drawer-foot .dfoot-user { font-size: 14px; color: var(--fg); display: flex; align-items: center; gap: 9px; }
html.ds.ds-sohbet .dfoot-av { width: 30px; height: 30px; font-size: 13px; background: linear-gradient(180deg, #A1A1A8, #7C7C83); }
html.ds.ds-sohbet .drawer-foot .dfoot-logout { border: 0; color: #FF453A; font-weight: 500; font-size: 14px; padding: 8px 4px; background: transparent; }
html.ds.ds-sohbet:not([data-theme="dark"]) .drawer-foot .dfoot-logout { color: #FF3B30; }
html.ds.ds-sohbet .dadmin-pv select { border-radius: 10px; background-color: var(--ds-grup); border-color: var(--ds-ayrac); }

/* ── 5 · MESAJ ALANI — iMessage: hap alan, yuvarlak gönder, sade yardımcı düğmeler ─────────────────────────────── */
html.ds.ds-sohbet .chat-input {
  background: color-mix(in srgb, var(--bg) 97%, transparent); border-top: 1px solid var(--ds-ayrac); gap: 6px; align-items: flex-end;
}
html.ds.ds-sohbet .chat-input textarea {
  border-radius: 20px !important; border: 1px solid var(--border) !important; background: var(--input-bg) !important;
  box-shadow: none !important; padding: 10px 16px !important; font-size: 16px; line-height: 1.35; min-height: 42px;
  transition: border-color .2s var(--ds-ease), box-shadow .2s var(--ds-ease) !important;
}
html.ds.ds-sohbet .chat-input textarea:focus, html.ds.ds-sohbet .chat-input textarea:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent) !important; outline: none !important;
}
html.ds.ds-sohbet .chat-input .aux-btn {
  width: 42px; height: 42px; min-width: 42px; padding: 0 !important; border-radius: 50% !important; border: 0 !important;
  background: transparent !important; color: var(--fg-muted) !important; display: inline-grid; place-items: center;
  box-shadow: none !important; transition: background .18s var(--ds-ease), color .18s var(--ds-ease);
}
html.ds.ds-sohbet .chat-input .aux-btn:hover { background: var(--ds-vurgu-zemin) !important; color: var(--fg) !important; }
html.ds.ds-sohbet .chat-input .aux-btn:active { opacity: .55; }
html.ds.ds-sohbet .chat-input .aux-btn .ds-ic { width: 21px; height: 21px; }
html.ds.ds-sohbet .chat-input .aux-btn.recording { color: #FF453A !important; background: rgba(255, 69, 58, .12) !important; }
html.ds.ds-sohbet #sendBtn {
  width: 42px; height: 42px; min-width: 42px; padding: 0 !important; border-radius: 50% !important; border: 0 !important;
  background: var(--accent) !important; color: #fff !important; box-shadow: none !important; font-size: 0 !important;
  display: inline-grid; place-items: center; transition: transform .25s var(--ds-ease), opacity .2s, background .2s !important;
}
html.ds.ds-sohbet #sendBtn .ds-ic { width: 20px; height: 20px; stroke-width: 2.4; }
html.ds.ds-sohbet #sendBtn:active { transform: scale(.9); transition: transform 0s !important; }
html.ds.ds-sohbet #sendBtn:disabled { opacity: .35; transform: none; }

/* ── 6 · KATMAN ÇUBUKLARI (Kurum OS / Fermatrix) — opak, sade, net ────────────────────────────────────────────── */
html.ds.ds-sohbet .kos-top, html.ds.ds-sohbet .fmx-top { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
/* 25.830-w14 (Neo iPad, 3. ekran: Kurum OS/Fermatrix çubuğu hâlâ bulanık; sohbet başlığı NET): iPadOS 26 üst kenarda sabit + opak +
   tam genişlik bir şerit görürse rengini durum çubuğuna uzatır, görmezse içeriği bulanıklaştırır. Çubuk tam ekran katmanın içinde bir
   flex çocuğuydu (kendisi sabit değil) → bulanık. Şimdi çubuk kendi başına sabit üst şerit; katman altını çubuk yüksekliği kadar açar. */
html.ds.ds-sohbet .kos-top, html.ds.ds-sohbet .fmx-top {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 3; box-sizing: border-box;
  height: calc(env(safe-area-inset-top) + 52px); align-items: center;
}
html.ds.ds-sohbet .kos-top { background: #0f172a !important; }
html.ds.ds-sohbet .fmx-top { background: #06130c !important; }
html.ds.ds-sohbet #kurumosOverlay, html.ds.ds-sohbet #fermatrixOverlay { padding-top: calc(env(safe-area-inset-top) + 52px); box-sizing: border-box; }
html.ds.ds-sohbet .kos-back, html.ds.ds-sohbet .fmx-back { border-radius: 9px; font-weight: 500; }
/* 25.830-w40 (fermatrix_giris, genel 2,5): Fermatrix üst şeridi oyun estetiğinden çıkar — başlıkta ışıma yok, nabız küresi sakin nokta,
   dönüş düğmesi nötr tonal + ≥44 px dokunma hedefi, yükleme metni okunur ton; telefonda bağlam alt metni gizlenmez (özgün kural
   @media(max-width:760px) .fmx-sub{display:none} — ölçüldü: 360 px'te başlık+alt metin+Çık düğmesi 341 px, ellipsis zaten var). */
html.ds.ds-sohbet .fmx-title { text-shadow: none !important; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
html.ds.ds-sohbet .fmx-orb { width: 10px; height: 10px; box-shadow: none; animation: none; background: #1ee06f; }
html.ds.ds-sohbet .fmx-orb.big { width: 40px; height: 40px; }
html.ds.ds-sohbet .fmx-sub { font-size: 12.5px; color: #8FA89A; }
html.ds.ds-sohbet .fmx-back {
  min-height: 36px; padding: 0 14px; font-size: 13.5px; font-weight: 500; color: #E6E6E9;
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14);
  transition: background .18s var(--ds-ease), border-color .18s var(--ds-ease), transform .12s var(--ds-ease);
}
html.ds.ds-sohbet .fmx-back:hover { box-shadow: none; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
html.ds.ds-sohbet .fmx-back:active { transform: scale(.96); transition: transform 0s; }
html.ds.ds-sohbet .fmx-loading span:last-child { color: #9C9CA6; font-size: 13.5px; letter-spacing: 0; }
@media (pointer: coarse) { html.ds.ds-sohbet .fmx-back { min-height: 44px; } }
@media (max-width: 760px) { html.ds.ds-sohbet .fmx-sub { display: block; } }
/* 25.830-w52 (sim_menu, iPhone 393 px: 'FermatAI içinde · 2B simülat…' kelime ortasından kesiliyordu): ≤600 px'te şerit üç sütunlu
   ızgara — nokta · [başlık / alt yazı] · Çık. Alt yazı başlığın altına iner, tek satırda tam okunur (ölçüm: 238 px metin, 275 px sütun);
   iki satır 33 px, 52 px şeridin 42 px iç yüksekliğine sığar. w40'ın "telefonda alt metin gizlenmez" kararı korunur. */
@media (max-width: 600px) {
  html.ds.ds-sohbet .fmx-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto;
    column-gap: 8px; row-gap: 0; align-items: center; align-content: center; }
  html.ds.ds-sohbet .fmx-orb { grid-row: 1 / span 2; }
  html.ds.ds-sohbet .fmx-title { grid-column: 2; grid-row: 1; line-height: 1.2; align-self: end; }
  html.ds.ds-sohbet .fmx-sub { grid-column: 2; grid-row: 2; line-height: 1.2; align-self: start; min-width: 0; }
  html.ds.ds-sohbet .fmx-back { grid-column: 3; grid-row: 1 / span 2; margin-left: 0; }
}

/* ── 7 · İÇERİK — okuma tipografisi ───────────────────────────────────────────────────────────────────────────── */
html.ds.ds-sohbet .msg { letter-spacing: -.006em; }
html.ds.ds-sohbet .msg.bot h1, html.ds.ds-sohbet .msg.bot h2, html.ds.ds-sohbet .msg.bot h3 { font-family: var(--ds-font-disp); letter-spacing: -.018em; }

/* ── 8 · Telefon / tablet ayarı ───────────────────────────────────────────────────────────────────────────────── */
/* Kurum OS hızlı giriş (iPad/telefon başlığı) — çerçeveli kutu değil, çıplak simge */
html.ds.ds-sohbet .chat-header .user .kos-quick.kos-quick-on { border: 0 !important; background: transparent !important; border-radius: 9px !important; color: var(--fg-muted) !important; }
html.ds.ds-sohbet .chat-header .user .kos-quick.kos-quick-on:hover { background: var(--ds-vurgu-zemin) !important; color: var(--fg) !important; }
@media (pointer: coarse) {
  html.ds.ds-sohbet .chat-header .user .kos-quick.kos-quick-on,
  html.ds.ds-sohbet .chat-header .user .notif-bell,
  html.ds.ds-sohbet .chat-header .theme-toggle { width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important; margin: 0 1px !important; }
  html.ds.ds-sohbet .chat-header .user .new-chat-btn { height: 42px !important; }
  html.ds.ds-sohbet .history-drawer .dnav-item { min-height: 52px; }
  html.ds.ds-sohbet .chat-header .history-btn { width: 44px; height: 44px; }
}

/* ── 9 · YÖNETİM PANELİ (html.ds.ds-panel) — segmented control, sade kart, emojisiz başlık ─────────────────────── */
html.ds.ds-panel {
  --bg: #0A0A0D; --card: #151519; --border: rgba(255, 255, 255, .08); --muted: #9C9CA6; --text: #F5F5F7;
  --ds-pill: #19191C;   /* bg + %6 beyaz — segmented control ve araç çubuğu düğmelerinin zemini */
  color-scheme: dark;
}
html.ds.ds-panel[data-palette="mono"] { --bg: #000; --card: #0A0A0A; --border: rgba(255, 255, 255, .1); --ds-pill: #141414; }
html.ds.ds-panel body { font-family: var(--ds-font) !important; background: var(--bg) !important; }
html.ds.ds-panel header { border-bottom: 1px solid var(--border); }
html.ds.ds-panel header h1 { font-family: var(--ds-font-disp); font-weight: 700; letter-spacing: -.025em; }
html.ds.ds-panel .tab-row {
  display: inline-flex; flex-wrap: nowrap; gap: 4px; padding: 3px; border-radius: 12px; max-width: 100%; overflow-x: auto;
  background: var(--ds-pill); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
html.ds.ds-panel .tab-row::-webkit-scrollbar { display: none; }
html.ds.ds-panel .tab {
  flex: 0 0 auto; border: 0 !important; background: transparent !important; color: var(--muted) !important; box-shadow: none !important;
  min-height: 34px; padding: 6px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 500; letter-spacing: -.005em; transform: none !important;
  transition: background .25s var(--ds-ease), color .2s var(--ds-ease) !important;
}
html.ds.ds-panel .tab:hover { color: var(--text) !important; }
html.ds.ds-panel .tab.active {
  background: #2C2C32 !important; color: var(--text) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 0 0 .5px rgba(255, 255, 255, .08) !important;
}
html.ds.ds-panel .card {
  background: var(--card) !important; border: 1px solid var(--border) !important; border-radius: 16px !important;
  box-shadow: none !important;
}
html.ds.ds-panel .card::before, html.ds.ds-panel .card::after { display: none !important; }
html.ds.ds-panel .card:hover { transform: none !important; border-color: rgba(255, 255, 255, .14) !important; }
html.ds.ds-panel .card h2 { font-size: 13px; font-weight: 600; letter-spacing: -.003em; text-transform: none; color: var(--muted); }
html.ds.ds-panel .metric { font-family: var(--ds-font-disp); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
/* 25.830-w17 (panel_routing, iPhone/Android ölçümü): ızgara öğesi min-width:auto → nowrap tablo kartı ve sayfayı viewport dışına
   genişletiyordu (sekme çubuğu, donut, "← Sohbet" ekran dışı). Öğe 0'a küçülebilir; geniş tablo KARTIN İÇİNDE yatay kayar. */
html.ds.ds-panel .grid > *, html.ds.ds-panel .grid-2 > *, html.ds.ds-panel .chart-row > *, html.ds.ds-panel .kpi-row > * { min-width: 0; }
html.ds.ds-panel .card { overflow-x: auto; overscroll-behavior-x: contain; }
html.ds.ds-panel .chart-wrap { min-width: 0; }
/* araç çubuğu düğmeleri: iOS "bordered" düğme dili — dolgu zemin, çizgisiz, 9 px köşe, çizgi simge; segmented control ile aynı aile */
html.ds.ds-panel .refresh-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border: 0; border-radius: 9px;
  background: var(--ds-pill); color: var(--text); font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em;
  line-height: 1; white-space: nowrap; transition: background .2s var(--ds-ease), color .2s var(--ds-ease);
}
html.ds.ds-panel a.refresh-btn { display: inline-flex !important; }   /* sayfadaki satır içi display:inline-block'u ezer — simge + metin tek eksende */
html.ds.ds-panel .refresh-btn:hover { color: var(--text); border-color: transparent; background: rgba(255, 255, 255, .11); }
html.ds.ds-panel .refresh-btn:active { background: rgba(255, 255, 255, .16); }
html.ds.ds-panel .refresh-btn .ds-ic { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel #son-yenileme { font-family: var(--ds-font); font-variant-numeric: tabular-nums; }
html.ds.ds-panel .dd-menu { border-radius: 12px; padding: 5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
html.ds.ds-panel .dd-item { border-radius: 8px; min-height: 36px; display: flex; align-items: center; font-size: 14px; }
/* tablo: Apple tablo dili — büyük harf başlık yok, sayılar tabular, saç teli ayırıcı */
html.ds.ds-panel table { font-size: 13.5px; font-variant-numeric: tabular-nums; }
html.ds.ds-panel th { text-transform: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
html.ds.ds-panel th, html.ds.ds-panel td { border-bottom-color: var(--border); }
/* dokunmatik: hedefler ≥ 44 px (HIG) */
@media (pointer: coarse) {
  html.ds.ds-panel .tab { min-height: 44px; padding: 8px 16px; font-size: 15px; }
  html.ds.ds-panel .refresh-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  html.ds.ds-panel .dd-item { min-height: 44px; font-size: 15px; }
}
/* telefon: başlık tek satır (kelime kelime kırılmaz), denetimler sarar (kaydırılmaz — ← Sohbet görünür), sekme çubuğu tam genişlik
   ve sağ kenarda kaydırma ipucu (yapışkan solma), tablo sıkı ritim */
@media (max-width: 700px) {
  html.ds.ds-panel .container { padding: 16px; }
  html.ds.ds-panel header { position: static; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding-bottom: 14px; }
  html.ds.ds-panel header h1 {
    flex: 1 1 100%; min-width: 0; font-size: clamp(14px, 4vw, 22px); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  html.ds.ds-panel header > div { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; overflow: visible; white-space: normal; }
  html.ds.ds-panel header .refresh-btn { flex: 0 0 auto; }
  html.ds.ds-panel #son-yenileme { white-space: nowrap; }
  html.ds.ds-panel .tab-row { display: flex; width: 100%; margin-bottom: 16px; }
  /* kaydırma ipucu: §12 (mask-image, yön sınıfları ds-sl/ds-sr) — sticky ::after iki motorda da çizilmiyordu (w18 ölçümü) */
  html.ds.ds-panel .grid, html.ds.ds-panel .grid-2, html.ds.ds-panel .chart-row, html.ds.ds-panel .kpi-row { gap: 12px; }
  html.ds.ds-panel .card { padding: 16px; }
  html.ds.ds-panel th, html.ds.ds-panel td { padding: 9px 8px; }
  html.ds.ds-panel th:first-child, html.ds.ds-panel td:first-child { padding-left: 0; }
  html.ds.ds-panel th:last-child, html.ds.ds-panel td:last-child { padding-right: 0; }
}
/* mono palet: Kurum OS çubuğu siyah (açık temada beyaz) — üst zeminler de aynı renge (Safari üst kenar tonu) */
html.ds.ds-sohbet[data-palette="mono"] .kos-top { background: #000 !important; }
html.ds.ds-sohbet[data-palette="mono"][data-theme="light"] .kos-top { background: #fff !important; }
html.ds.ds-sohbet[data-palette="mono"]:has(#kurumosOverlay[style*="flex"]),
html.ds.ds-sohbet[data-palette="mono"]:has(#kurumosOverlay[style*="flex"]) body,
html.ds.ds-sohbet[data-palette="mono"] body.ovAcik:has(#kurumosOverlay[style*="flex"]) .chat-header { background: #000 !important; }
html.ds.ds-sohbet[data-palette="mono"][data-theme="light"]:has(#kurumosOverlay[style*="flex"]),
html.ds.ds-sohbet[data-palette="mono"][data-theme="light"]:has(#kurumosOverlay[style*="flex"]) body,
html.ds.ds-sohbet[data-palette="mono"][data-theme="light"] body.ovAcik:has(#kurumosOverlay[style*="flex"]) .chat-header { background: #fff !important; }

/* ── 10 · TELEFON BAŞLIĞI (≤600) — 25.830-w14: özgün tasarım burada Yeni Sohbet'i 36×36 simge düğmesi yapıyordu (font-size:0 +
   ::before ✨). Katmanın font-size/padding zorlaması metni geri açtı → "✨ + kalem + iki satır Yeni Sohbet" çakıştı (iPhone/Android
   ölçüldü). Telefonda: yalnız çizgi kalem simgesi, emoji yok, 42×42 dokunma hedefi; tüm başlık öğeleri tek eksende. */
@media (max-width: 600px) {
  html.ds.ds-sohbet .chat-header .user .new-chat-btn {
    font-size: 0 !important; width: 42px !important; height: 42px !important; padding: 0 !important; gap: 0 !important;
    justify-content: center !important; border-radius: 10px !important;
  }
  html.ds.ds-sohbet .chat-header .user .new-chat-btn::before,
  html.ds.ds-sohbet .chat-header .user .study-btn::before,
  html.ds.ds-sohbet .chat-header .user .navable::before { content: none !important; display: none !important; }
  html.ds.ds-sohbet .chat-header .user .new-chat-btn .ds-ic { width: 21px; height: 21px; }
  html.ds.ds-sohbet .chat-header .title { font-size: 17px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.ds.ds-sohbet .chat-header .user { gap: 2px; }
}

/* ── 12 · YÖNETİM PANELİ · BİLDİRİMLER (25.830-w18, ui_denetim panel_notifications: genel 1.75, simge 1, hizalama 2) ────────
   Kusurlar (5 cihaz ölçümü): kutulu 🔔 avatar, ham bayrak dizesi, bildirim gövdesindeki kırılmayan belirteç listeyi yatay
   kaydırıyordu (iPhone: liste 463/317 px), iki ayrı sekme dili (segmented + turuncu hap), rozet iki satıra bölünüyor, tüm
   ciddiyetler için aynı kırmızı "C" dairesi. Burada: iOS Bildirim Merkezi dili — kutusuz ciddiyet simgesi (rol rengi), saç teli
   ayırıcı, tek segmented control, rozet tek satır, gövde her yerde kırılır. Simgeler fermat_ds.js panelBildirim() ile gelir. */
html.ds.ds-panel .card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
html.ds.ds-panel #tab-notifications .card h2 > span { white-space: nowrap; }   /* öteki sekmelerdeki alt başlık span'ları sarmaya devam eder */
html.ds.ds-panel #tab-notifications .card h2 > span {   /* "SHADOW · gönderilmiyor" rozeti: tek satır hap */
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px !important; border-radius: 999px !important;
  background: rgba(255, 255, 255, .08) !important; color: var(--muted) !important; font-size: 11px !important; font-weight: 600;
  letter-spacing: .01em; vertical-align: baseline;
}
html.ds.ds-panel .card h2 .snapshot-note { margin-left: 0; font-size: 11px; padding: 2px 8px; background: rgba(255, 255, 255, .08); }
html.ds.ds-panel .card h2 .rng-lbl { font-size: 13px; }
/* liste: yatay kaydırma YOK (kırılmayan belirteç gövdede kırılır), dikey kaydırma kalır */
html.ds.ds-panel .notification-list { overflow-x: hidden; overscroll-behavior: contain; max-height: min(420px, 62vh); }
html.ds.ds-panel .notif-title, html.ds.ds-panel .notif-body, html.ds.ds-panel .notif-time { overflow-wrap: anywhere; word-break: break-word; }
html.ds.ds-panel .notification { gap: 12px; padding: 12px 6px 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
html.ds.ds-panel .notification.unread { background: transparent; }
html.ds.ds-panel .notification:active { background: rgba(255, 255, 255, .04); }
html.ds.ds-panel .notif-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
html.ds.ds-panel .notif-title .ds-ic { width: 16px; height: 16px; color: var(--muted); vertical-align: -3px; margin-right: 5px; }
html.ds.ds-panel .notif-title > span[style] {   /* ×N tekrar rozeti — sarı hap yerine nötr rozet, sayı tabular */
  background: rgba(255, 255, 255, .09) !important; color: var(--muted) !important; font-size: 11px !important; font-weight: 600;
  padding: 1px 7px !important; font-variant-numeric: tabular-nums; vertical-align: 1px; margin-left: 2px;
}
html.ds.ds-panel .notif-body { font-size: 14px; line-height: 1.45; margin-top: 3px; }
html.ds.ds-panel .notif-time { font-size: 12.5px; margin-top: 5px; font-variant-numeric: tabular-nums; }
html.ds.ds-panel .notif-actions { gap: 8px; margin-top: 9px; }
/* ciddiyet simgesi: kutusuz çizgi sembol + rol rengi (kritik kırmızı · uyarı sarı · bilgi mavi · başarı yeşil) */
html.ds.ds-panel .notif-icon {
  width: 24px; height: 24px; margin-top: 1px; border-radius: 0; background: transparent !important; color: var(--muted) !important;
  font-size: 0 !important;
}
html.ds.ds-panel .notif-icon .ds-ic { width: 22px; height: 22px; }
html.ds.ds-panel .notif-icon.critical { color: #FF453A !important; }
html.ds.ds-panel .notif-icon.warning { color: #FFD60A !important; }
html.ds.ds-panel .notif-icon.info { color: #0A84FF !important; }
html.ds.ds-panel .notif-icon.success { color: #30D158 !important; }
/* kategori grup başlığı: emoji yerine çizgi simge, kategori rengi rol taşır (Neo 30 Eyl: menü sembol rengi kusur değil) */
html.ds.ds-panel .notification-list .ds-grup-ic { display: inline-flex; width: 18px; height: 18px; }
html.ds.ds-panel .notification-list .ds-grup-ic .ds-ic { width: 18px; height: 18px; }
/* küçük düğmeler: iOS "gray" düğme — çizgisiz dolgu, kırmızı yalnız yıkıcı eylemde (metin + hafif zemin) */
html.ds.ds-panel .btn {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 12px; border: 0 !important; border-radius: 8px;
  background: rgba(255, 255, 255, .08); background-image: none !important; box-shadow: none !important; color: var(--text);
  font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; line-height: 1;
  transition: background .2s var(--ds-ease), color .2s var(--ds-ease);
}
html.ds.ds-panel .btn:hover { background: rgba(255, 255, 255, .12); color: var(--text); }
html.ds.ds-panel .btn:active { background: rgba(255, 255, 255, .16); }
html.ds.ds-panel .btn.danger { color: #FF453A; background: rgba(255, 255, 255, .08); }
html.ds.ds-panel .btn.danger:hover { background: rgba(255, 69, 58, .14); }
html.ds.ds-panel .btn.primary { background: rgba(255, 255, 255, .14); color: var(--text); }
/* filtre satırı (Tümü / Sadece Okunmamış): üst sekmelerle AYNI segmented control */
html.ds.ds-panel #tab-notifications .card > h2 + div {
  display: inline-flex !important; gap: 4px !important; padding: 3px; border-radius: 11px; background: var(--ds-pill); margin-bottom: 12px !important;
}
html.ds.ds-panel #tab-notifications .card > h2 + div .btn { background: transparent; color: var(--muted); min-height: 32px; border-radius: 8px; }
html.ds.ds-panel #tab-notifications .card > h2 + div .btn:hover { color: var(--text); }
html.ds.ds-panel #tab-notifications .card > h2 + div .btn.primary {
  background: #2C2C32; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 0 0 .5px rgba(255, 255, 255, .08) !important;
}
html.ds.ds-panel #tab-notifications label { display: flex !important; font-size: 13.5px !important; color: var(--muted) !important; margin: 0 0 12px 2px !important; min-height: 24px; }
html.ds.ds-panel #tab-notifications label input[type="checkbox"] { width: 17px; height: 17px; accent-color: #0A84FF !important; border-radius: 5px; }
/* proaktif önizleme: kutusuz zil, hairline kart, gölgesiz; üst bar ham bayrak dizesi yerine etiket·değer çipleri (js) */
html.ds.ds-panel #tab-notifications .card > p { font-size: 14px !important; line-height: 1.5; color: var(--muted) !important; margin: 0 0 12px !important; }
html.ds.ds-panel #shadow-mode-bar { font-family: var(--ds-font) !important; font-size: 12.5px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 14px !important; }
html.ds.ds-panel #shadow-mode-bar .ds-kv {
  display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .06);
  color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
html.ds.ds-panel #shadow-mode-bar .ds-kv b { font-weight: 600; color: var(--text); }
html.ds.ds-panel #shadow-mode-bar .ds-kv.acik b { color: #30D158; }
html.ds.ds-panel #shadow-mode-bar .ds-kv.kapali b { color: var(--muted); }
html.ds.ds-panel #shadow-mode-bar .ds-not { flex: 1 1 100%; color: var(--muted); font-size: 12px; line-height: 1.4; }
html.ds.ds-panel #shadow-mode-bar .ds-ozet { flex: 1 1 100%; color: var(--muted); font-size: 12.5px; }
html.ds.ds-panel .shadow-notif-grid { gap: 12px; }
html.ds.ds-panel .snc { background: rgba(255, 255, 255, .035) !important; border: 1px solid var(--border) !important; border-radius: 14px !important; box-shadow: none !important; transform: none !important; padding: 14px 16px; }
html.ds.ds-panel .snc:hover { border-color: rgba(255, 255, 255, .14) !important; }
html.ds.ds-panel .snc-ic { width: 24px !important; height: 24px !important; border-radius: 0 !important; background: none !important; color: var(--accent); font-size: 0 !important; }
html.ds.ds-panel .snc-ic .ds-ic { width: 22px; height: 22px; }
html.ds.ds-panel .snc-app { font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
html.ds.ds-panel .snc-time { font-size: 12px; font-variant-numeric: tabular-nums; }
html.ds.ds-panel .snc-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-panel .snc-title .ds-ic { width: 16px; height: 16px; color: var(--muted); vertical-align: -3px; margin-right: 5px; }
html.ds.ds-panel .snc-body { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
html.ds.ds-panel .snc-foot { gap: 6px; margin-top: 12px; }
html.ds.ds-panel .snc-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 0 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
html.ds.ds-panel .snc-chip .ds-ic { width: 13px; height: 13px; }
html.ds.ds-panel .snc-link { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* sekme şeridi: kaydırılabilirlik iki uçta da görünür (yalnız o yönde içerik varsa), scroll-snap ile sekme kenara oturur */
html.ds.ds-panel .tab-row { scroll-snap-type: x proximity; scroll-padding-inline: 3px; position: relative; }
html.ds.ds-panel .tab { scroll-snap-align: start; }
@media (pointer: coarse) {
  html.ds.ds-panel .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  html.ds.ds-panel #tab-notifications .card > h2 + div .btn { min-height: 44px; }
  html.ds.ds-panel #tab-notifications .card > h2 + div { padding: 3px; }
  html.ds.ds-panel .notification { padding: 14px 4px; }
}
@media (max-width: 700px) {
  /* kaydırılabilirlik ipucu (Apple Music sekme şeridi dili): şerit yalnız devamı olan uçta sayfa zeminine solar; kesik harf yerine
     "devamı var" okunur. Yön sınıfları fermat_ds.js serit() ile scroll'da güncellenir; aktif sekme 48 px kaydırma payıyla açığa çekilir. */
  html.ds.ds-panel .tab-row { scroll-padding-inline: 48px; padding-right: 3px; }
  html.ds.ds-panel .ds-serit.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  html.ds.ds-panel .ds-serit.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
  html.ds.ds-panel .ds-serit.ds-sl.ds-sr {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
  html.ds.ds-panel .card h2 { font-size: 14px; }
  html.ds.ds-panel .notification-list { max-height: min(460px, 58vh); }
}

/* ── 13 · ADMİN PANELİ (Insight / Outreach) · PWA KURULUM REHBERİ · KARŞILAMA ROZETLERİ (25.830-w24, ui_denetim sohbet_insight
   genel 1.5: okunabilirlik 1, simge 1). 5 cihaz ölçümü: Admin Panel açıkken yüzen kurulum rehberi modalın üstüne biniyordu (tablet:
   paragraf okunmuyordu) ve ekran altında kesiliyordu; sekme etiketi iPhone'da iki satıra bölünüyordu; soz_no girişi OS stepper'ıyla
   geliyordu; başlık/sekme/rehber/rozet emojileri üst çubuğun çizgi diliyle çelişiyordu. Burada: iOS sheet (telefonda alt sayfa,
   tutamaç), segmented control, 44 px form öğeleri, kutusuz çizgi simgeler (fermat_ds.js sohbetKatman()), rehber nötr kart. */
/* açık modal: yüzen kurulum rehberi/bandı katmanın üstüne binmez — modal kapanınca (display:none) kendiliğinden geri gelir */
html.ds.ds-sohbet body:has(#adminModal:not([style*="display: none"])) #pwa-manual-guide,
html.ds.ds-sohbet body:has(#adminModal:not([style*="display: none"])) #pwa-install-banner { display: none !important; }
html.ds.ds-sohbet #adminModal { background: rgba(0, 0, 0, .42) !important; padding: 12px; box-sizing: border-box; }
html.ds.ds-sohbet #adminModal > div {
  width: 100% !important; max-width: 760px !important; max-height: min(85vh, calc(100dvh - 24px)) !important; overflow: hidden;
  border-radius: 18px !important; background: var(--ds-grup) !important; box-shadow: var(--ds-golge) !important; font-family: var(--ds-font);
}
html.ds.ds-sohbet #adminModal > div > div:first-child {
  padding: 13px 16px 13px 20px !important; min-height: 56px; box-sizing: border-box; border-bottom: 1px solid var(--ds-ayrac) !important;
}
html.ds.ds-sohbet #adminModal h2 {
  display: flex; align-items: center; gap: 9px; min-width: 0; font-family: var(--ds-font-disp); font-size: 17px !important;
  font-weight: 600 !important; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.ds.ds-sohbet #adminModal h2 .ds-ic { width: 20px; height: 20px; flex: 0 0 auto; color: var(--fg-muted); }
html.ds.ds-sohbet #adminModal .ds-kapat {
  width: 30px; height: 30px; flex: 0 0 auto; padding: 0 !important; border-radius: 50% !important; font-size: 0 !important;
  background: var(--ds-vurgu-zemin) !important; color: var(--fg-muted) !important; display: inline-grid; place-items: center;
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease);
}
html.ds.ds-sohbet #adminModal .ds-kapat:hover { background: color-mix(in srgb, var(--fg) 14%, transparent) !important; color: var(--fg) !important; }
html.ds.ds-sohbet #adminModal .ds-kapat:active { opacity: .6; }
html.ds.ds-sohbet #adminModal .ds-kapat .ds-ic { width: 14px; height: 14px; stroke-width: 2.2; }
/* sekmeler: tek dil = iOS segmented control; etiket tek satır (kelime kelime kırılmaz), iki sekme aynı yükseklik */
html.ds.ds-sohbet #adminModal div:has(> .admin-tab) {
  display: flex; gap: 4px; margin: 12px 20px 2px; padding: 3px; border-radius: 11px; border-bottom: 0 !important;
  background: color-mix(in srgb, var(--fg) 7%, transparent);
}
html.ds.ds-sohbet #adminModal .admin-tab {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px;
  padding: 6px 10px !important; border: 0 !important; border-bottom: 0 !important; border-radius: 9px; background: transparent !important;
  color: var(--fg-muted) !important; font-family: var(--ds-font); font-size: 14px !important; font-weight: 500 !important; letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .25s var(--ds-ease), color .2s var(--ds-ease);
}
html.ds.ds-sohbet #adminModal .admin-tab:hover { color: var(--fg) !important; }
html.ds.ds-sohbet #adminModal .admin-tab[data-on="1"] {
  color: var(--fg) !important; font-weight: 600 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .16), inset 0 0 0 .5px rgba(255, 255, 255, .06);
}
html.ds.ds-sohbet[data-theme="dark"] #adminModal .admin-tab[data-on="1"] { background: #3A3A3F !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #adminModal .admin-tab[data-on="1"] { background: #FFFFFF !important; }
html.ds.ds-sohbet #adminModal .admin-tab .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; }
html.ds.ds-sohbet #adminModal .admin-tab[data-on="1"] .ds-ic { color: var(--accent); }
/* içerik: arama satırı 44 px (iOS metin alanı, stepper yok, 16 px = Safari odakta yakınlaştırmaz), açıklama okunur gövde */
html.ds.ds-sohbet #adminContent { padding: 14px 20px 20px !important; font-family: var(--ds-font); overscroll-behavior: contain; }
html.ds.ds-sohbet #adminContent div:has(> #adminInsSozNo) { gap: 8px !important; margin-bottom: 14px !important; align-items: stretch; }
html.ds.ds-sohbet #adminInsSozNo {
  appearance: none; -webkit-appearance: none; -moz-appearance: textfield; min-width: 0; min-height: 44px; box-sizing: border-box;
  padding: 0 14px !important; border: 1px solid var(--border) !important; border-radius: 12px !important; background: var(--input-bg) !important;
  color: var(--fg) !important; font-family: var(--ds-font); font-size: 16px !important; font-variant-numeric: tabular-nums; box-shadow: none;
  transition: border-color .2s var(--ds-ease), box-shadow .2s var(--ds-ease);
}
html.ds.ds-sohbet #adminInsSozNo::-webkit-inner-spin-button, html.ds.ds-sohbet #adminInsSozNo::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.ds.ds-sohbet #adminInsSozNo::placeholder { color: var(--fg-muted); opacity: .85; }
html.ds.ds-sohbet #adminInsSozNo:focus, html.ds.ds-sohbet #adminInsSozNo:focus-visible {
  outline: none; border-color: color-mix(in srgb, var(--accent) 38%, var(--border)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}
html.ds.ds-sohbet #adminContent div:has(> #adminInsSozNo) > button {
  flex: 0 0 auto; min-height: 44px; padding: 0 18px !important; border-radius: 12px !important; font-family: var(--ds-font);
  font-size: 15px; font-weight: 600 !important; letter-spacing: -.01em; transition: opacity .15s, transform .2s var(--ds-ease);
}
html.ds.ds-sohbet #adminContent div:has(> #adminInsSozNo) > button:active { opacity: .7; transform: scale(.98); }
html.ds.ds-sohbet #adminInsResult { font-size: 14px !important; line-height: 1.5; color: var(--fg-muted) !important; text-wrap: pretty; overflow-wrap: anywhere; }
html.ds.ds-sohbet #adminInsResult > span { display: block; margin-top: 8px; font-size: 13px !important; line-height: 1.55; }
html.ds.ds-sohbet #adminInsResult code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; padding: 1px 5px; border-radius: 5px;
  background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--fg);
}
html.ds.ds-sohbet #adminInsResult b { color: var(--fg); font-weight: 600; }
@media (pointer: coarse) {
  html.ds.ds-sohbet #adminModal .admin-tab { min-height: 40px; font-size: 15px !important; }
  html.ds.ds-sohbet #adminModal .ds-kapat { width: 36px; height: 36px; }
}
/* telefon: iOS sheet — alttan açılır, tutamaçlı, tam genişlik; kapatma yine arka plana dokunarak (onclick aynı) */
@media (max-width: 600px) {
  html.ds.ds-sohbet #adminModal { align-items: flex-end !important; padding: 0 !important; }
  html.ds.ds-sohbet #adminModal > div {
    max-width: none !important; max-height: calc(100dvh - 44px) !important; border-radius: 18px 18px 0 0 !important;
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -12px 40px -16px rgba(0, 0, 0, .5) !important;
  }
  html.ds.ds-sohbet #adminModal > div::before {
    content: ""; display: block; flex: 0 0 auto; width: 36px; height: 5px; margin: 7px auto -4px; border-radius: 3px;
    background: color-mix(in srgb, var(--fg-muted) 45%, transparent);
  }
  html.ds.ds-sohbet #adminModal div:has(> .admin-tab) { margin: 10px 16px 2px; }
  html.ds.ds-sohbet #adminModal > div > div:first-child { padding: 10px 14px 12px 18px !important; }
  html.ds.ds-sohbet #adminContent { padding: 12px 16px 18px !important; }
}
/* PWA kurulum rehberi (Mod B) ve bandı (Mod A): turuncu gradyan/parıltı yerine nötr yükseltilmiş kart, saç teli kenar, tek vurgu
   (adım numarası); ekrana sığar (üst sınır + iç kaydırma); telefonda mesaj kutusunun ÜSTÜNDE durur, onu örtmez */
html.ds.ds-sohbet #pwa-manual-guide {
  background: var(--ds-yuk) !important; border: 1px solid var(--ds-ayrac) !important; border-radius: 18px !important; box-shadow: var(--ds-golge) !important;
  padding: 16px !important; font-family: var(--ds-font); color: var(--fg) !important; box-sizing: border-box; max-height: calc(100dvh - 24px); overflow: auto;
  bottom: calc(12px + env(safe-area-inset-bottom)) !important; transition: transform .42s var(--ds-ease) !important;
}
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-header { gap: 12px; margin-bottom: 12px; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-logo { border-radius: 10px !important; box-shadow: none !important; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-h1 {
  display: flex; align-items: center; gap: 7px; font-family: var(--ds-font-disp); font-size: 15px !important; font-weight: 600 !important;
  letter-spacing: -.015em; color: var(--fg) !important; margin-bottom: 2px;
}
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-h1 .ds-ic { width: 17px; height: 17px; flex: 0 0 auto; color: var(--accent); }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-h2 { font-size: 13px !important; color: var(--fg-muted) !important; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close {
  width: 34px !important; height: 34px !important; margin: -2px -2px -2px 0; border-radius: 50% !important; font-size: 0 !important;
  background: var(--ds-vurgu-zemin) !important; color: var(--fg-muted) !important; display: inline-grid; place-items: center;
  transition: background .18s var(--ds-ease) !important;
}
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close:hover { transform: none !important; background: color-mix(in srgb, var(--fg) 14%, transparent) !important; color: var(--fg) !important; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close:active { opacity: .6; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close .ds-ic { width: 14px; height: 14px; stroke-width: 2.2; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-steps { gap: 6px; margin: 6px 0; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-step {
  align-items: center !important; min-height: 40px; box-sizing: border-box; padding: 8px 11px !important; border-radius: 10px !important;
  background: color-mix(in srgb, var(--fg) 5%, transparent) !important; color: var(--fg) !important; font-size: 14px !important; line-height: 1.4;
}
html.ds.ds-sohbet #pwa-manual-guide .pwa-step-num { width: 22px; height: 22px; background: var(--accent) !important; font-size: 12px; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-step b { color: var(--fg) !important; font-weight: 600 !important; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-step svg:not(.ds-ic) { stroke: var(--fg-muted); }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-footer { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ds-ayrac) !important; font-size: 12px !important; color: var(--fg-muted) !important; }
html.ds.ds-sohbet #pwa-install-banner {
  background: var(--ds-yuk) !important; color: var(--fg) !important; border: 1px solid var(--ds-ayrac); border-radius: 16px !important;
  box-shadow: var(--ds-golge) !important; font-family: var(--ds-font); bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  transition: transform .42s var(--ds-ease) !important;
}
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-icon img { border-radius: 10px; }
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-sub { font-size: 13px; color: var(--fg-muted); opacity: 1; }
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-install {
  min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; transition: opacity .15s;
}
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-install:hover { background: var(--accent); transform: none; opacity: .9; }
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-cancel {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ds-vurgu-zemin); color: var(--fg-muted); font-size: 18px; line-height: 1;
}
html.ds.ds-sohbet #pwa-install-banner .pwa-banner-cancel:hover { background: color-mix(in srgb, var(--fg) 14%, transparent); }
@media (max-width: 600px) {
  html.ds.ds-sohbet #pwa-manual-guide, html.ds.ds-sohbet #pwa-install-banner {
    width: calc(100vw - 20px) !important; max-width: none !important;
    bottom: calc(env(safe-area-inset-bottom) + 72px) !important;   /* mesaj yazma satırının üstü (giriş kutusu örtülmez) */
  }
  html.ds.ds-sohbet #pwa-manual-guide { max-height: calc(100dvh - 160px); padding: 14px !important; }
}
/* karşılama kartı: başlık/gövde SF Pro (mono yalnız kod/sayı — Neo 25.729), araç rozetleri tek nötr çip dili (emoji yok, doygun hap yok),
   satır başı emojiler çizgi simge (fermat_ds.js karsilama()) */
html.ds.ds-sohbet .jarvis-welcome { font-family: var(--ds-font) !important; border-radius: 18px !important; border-color: rgba(255, 255, 255, .09) !important; box-shadow: none !important; }
html.ds.ds-sohbet .jarvis-welcome h2 { font-family: var(--ds-font-disp); font-size: 26px !important; letter-spacing: -.02em !important; }
html.ds.ds-sohbet .jarvis-welcome .jarvis-head > div:first-child { letter-spacing: .14em !important; font-size: 11px !important; }   /* simge satır içi: metin iki satıra kırılınca ayrı düşmez */
html.ds.ds-sohbet .jarvis-welcome .ds-wl { display: inline-flex; vertical-align: -3px; margin-right: 5px; color: var(--accent); }
html.ds.ds-sohbet .jarvis-welcome .ds-wl .ds-ic { width: 15px; height: 15px; }
html.ds.ds-sohbet .jarvis-welcome .jarvis-head .ds-wl { color: var(--accent); vertical-align: -3px; margin-right: 6px; }
html.ds.ds-sohbet .jarvis-welcome .ds-rozet {   /* 25.830-w35: tema tokenlı (açık temada beyaz üstü beyaz görünmezdi) */
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px !important; border-radius: 999px !important;
  background: color-mix(in srgb, var(--fg) 5%, transparent) !important; border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent) !important;
  color: var(--fg) !important; font-size: 12.5px; font-weight: 400; letter-spacing: -.005em; white-space: nowrap;
}

/* 25.830-w25 (Neo 1 Eki, Claude iPad kenar menüsüyle kıyas: "bizimki 9,5/10 ama bazen daha kalın/koyu olması profesyonelliği
   bozuyor; Claude daha kurumsal, oturmuş"). Ölçüldü (WebKit iPad/iPhone): başlık 700, bölüm etiketi 600, menü 500, koyu temada
   metin #F5F5F7 (saf beyaza yakın). Hiyerarşi kalınlıkla değil boyut + tonla kurulur: menü 400, etiket 500, başlık 600; koyu
   çekmecede metin bir tık yumuşak. Yerleşim, simge, renk DEĞİŞMEDİ. */
html.ds.ds-sohbet[data-theme="dark"] .history-drawer { --fg: #E6E6E9; }
html.ds.ds-sohbet:not([data-theme="dark"]) .history-drawer { --fg: #1D1D1F; }
html.ds.ds-sohbet .history-drawer { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── 14 · KURUM OS (html.ds.ds-kos) — 25.830-w27 (ui_denetim kos_profil: genel 2,0 · simge 1 · hizalama 2 · bütünlük 2 · okunabilirlik 2)
   Ölçülen kusurlar: (1) uyarı kutusu sağ-altta FermatAI düğmesi ve içerikle üst üste; (1) kenar menüsü platform emojisi;
   (2) kart/bant başlıklarında emoji; (2) dolgulu sarı-noktalı tema düğmesi; (3) neon grafik paleti. Katman yalnız görünümü
   değiştirir: tokenlar (app.css --ink/--surface/--line) aynen; yazı sistem yığını (SF Pro/Inter), mono yalnız sayı/kod;
   çizgi simge kutusuz + rol rengi (iOS kenar çubuğu dili); uyarı kutusu opak, FermatAI düğmesinin ÜSTÜNDE, telefonda tam genişlik.
   Iframe yok → bulanıklık yasağı değil ama hız bütçesi (25.823: her blur katmanı kaydırmayı takıyordu) için uyarı kutusu da opak. */
html.ds.ds-kos {
  --accent: var(--gold);
  --font: var(--ds-font);
  --display: var(--ds-font-disp);
}
html.ds.ds-kos body { font-family: var(--ds-font); }
html.ds.ds-kos pre, html.ds.ds-kos code, html.ds.ds-kos kbd, html.ds.ds-kos .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
html.ds.ds-kos .kpi .v, html.ds.ds-kos .clegend.col b, html.ds.ds-kos .clegend.col em, html.ds.ds-kos td b, html.ds.ds-kos .chart text { font-variant-numeric: tabular-nums; }

/* tipografi — hiyerarşi boyut + tonla: başlık 600, kart etiketi 600 (küçük boy), menü 500 */
html.ds.ds-kos .head h1 { font-family: var(--ds-font-disp); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; }
html.ds.ds-kos .head p { font-size: 13px; letter-spacing: -.005em; }
html.ds.ds-kos .brandmini b { font-family: var(--ds-font-disp); font-weight: 600; letter-spacing: -.015em; }
html.ds.ds-kos .brandsub { letter-spacing: .5px; }
html.ds.ds-kos .card h3 { font-weight: 600; font-size: 13px; letter-spacing: -.005em; gap: 7px; }
html.ds.ds-kos .nav { font-weight: 500; font-size: 13.5px; letter-spacing: -.005em; gap: 10px; padding: 9px 11px; min-height: 40px; }
html.ds.ds-kos .side .grp { font-weight: 500; letter-spacing: .6px; font-size: 10.5px; }

/* çizgi simge — kutusuz, tek kalınlık; renk sınıfı rol taşır (iOS/macOS kenar çubuğu), araç çubuğu tek renk */
html.ds.ds-kos .ds-ic { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; vertical-align: -3px; color: inherit; background: transparent; }
html.ds.ds-kos .nav .ic { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
html.ds.ds-kos .nav .ic .ds-ic { width: 19px; height: 19px; vertical-align: 0; }
html.ds.ds-kos .nav .wbadge { display: inline-flex; align-items: center; color: var(--ink3); opacity: .7; }
html.ds.ds-kos .nav .wbadge .ds-ic { width: 12px; height: 12px; vertical-align: 0; }
html.ds.ds-kos .nav:hover { transform: none; }
html.ds.ds-kos .nav:active { background: var(--surface2); transition: none; }
html.ds.ds-kos .nav.on .wbadge { color: inherit; opacity: .6; }
html.ds.ds-kos .ds-ic.ds-k-turuncu { color: #FF9F0A; }
html.ds.ds-kos .ds-ic.ds-k-yesil   { color: #30D158; }
html.ds.ds-kos .ds-ic.ds-k-nane    { color: #00C7BE; }
html.ds.ds-kos .ds-ic.ds-k-mavi    { color: #0A84FF; }
html.ds.ds-kos .ds-ic.ds-k-indigo  { color: #7D7AFF; }
html.ds.ds-kos .ds-ic.ds-k-mor     { color: #BF5AF2; }
html.ds.ds-kos .ds-ic.ds-k-pembe   { color: #FF375F; }
html.ds.ds-kos .ds-ic.ds-k-kirmizi { color: #FF453A; }
html.ds.ds-kos .ds-ic.ds-k-sari    { color: #FFD60A; }
html.ds.ds-kos .ds-ic.ds-k-gri     { color: #98989F; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-sari    { color: #C99700; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-kirmizi { color: #E5322B; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-turuncu { color: #F08A00; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-yesil   { color: #28A745; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-nane    { color: #00A69E; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-indigo  { color: #5856D6; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-mor     { color: #A745D6; }
html.ds.ds-kos[data-kos-theme="light"] .ds-ic.ds-k-mavi    { color: #0071E3; }
html.ds.ds-kos[data-kos-accent="mono"] .ds-ic[class*="ds-k-"] { color: inherit; }   /* mono palet = siyah/beyaz renk kararı (25.729) */

/* kart / bant / çip başlık simgeleri — başlık tonunu alır, rol rengi (🔴 ⚠ ℹ ✅ yerine) sınıfla gelir */
html.ds.ds-kos .card > h3 .ds-ic { width: 15px; height: 15px; }
html.ds.ds-kos .banner-info { line-height: 1.5; }
html.ds.ds-kos .banner-info .ds-ic { margin-right: 6px; vertical-align: -3px; }   /* satır içi: metin ve <b> akışı bozulmaz */
html.ds.ds-kos .chip .ds-ic { width: 13px; height: 13px; color: var(--ink3); }
html.ds.ds-kos .ro-badge { display: inline-flex; align-items: center; gap: 5px; }
html.ds.ds-kos .ro-badge .ds-ic { width: 12px; height: 12px; }
html.ds.ds-kos summary > b .ds-ic { margin-right: 4px; }
html.ds.ds-kos .head h1 .ds-ic { width: 20px; height: 20px; vertical-align: -3px; margin-right: 6px; }
html.ds.ds-kos .ai .av { color: #fff; }
html.ds.ds-kos .ai .av .ds-ic { width: 18px; height: 18px; vertical-align: 0; }
html.ds.ds-kos .empty .ei { color: var(--ink3); animation: none; line-height: 1; }
html.ds.ds-kos .empty .ei .ds-ic { width: 30px; height: 30px; stroke-width: 1.4; vertical-align: 0; }

/* üst çubuk düğmeleri: hamburger, tema, FermatAI — tek renkli çizgi simge, sarı nokta yok, dokunmatikte 44 pt */
html.ds.ds-kos .hamb, html.ds.ds-kos .kos-thbtn { color: var(--ink2); border-radius: 11px; }
html.ds.ds-kos .hamb .ds-ic, html.ds.ds-kos .kos-thbtn .ds-ic { width: 19px; height: 19px; vertical-align: 0; }
html.ds.ds-kos .kos-thbtn::after { display: none; }
html.ds.ds-kos .kos-thbtn:hover, html.ds.ds-kos .hamb:hover { color: var(--ink); }
html.ds.ds-kos .kos-thbtn:active, html.ds.ds-kos .hamb:active { background: var(--surface2); transform: scale(.96); }
html.ds.ds-kos .kos-palpop .tag { display: inline-flex; align-items: center; gap: 6px; }
html.ds.ds-kos .kos-palpop .tag .ds-ic { width: 13px; height: 13px; vertical-align: 0; }
html.ds.ds-kos .aifab { color: #fff; }
html.ds.ds-kos .aifab .ds-ic { width: 24px; height: 24px; stroke-width: 1.7; vertical-align: 0; }
html.ds.ds-kos .pv-search > .ds-ic { position: absolute; left: 10px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; color: var(--ink3); pointer-events: none; }
html.ds.ds-kos .pv-search-inp { padding-left: 30px; font-family: var(--ds-font); }
@media (pointer: coarse) {
  html.ds.ds-kos .hamb, html.ds.ds-kos .kos-thbtn { width: 44px; height: 44px; }
  html.ds.ds-kos .nav { min-height: 44px; }
}

/* uyarı/bildirim kutusu (toast): opak yüzey, saç teli kenar, FermatAI düğmesinin ÜSTÜNDE (çakışmaz), telefonda kenarlara yaslı;
   rol rengi yalnız öncü simgede (ℹ ✅ 🔴 yerine), yeşil/mavi çerçeve ve alt ilerleme çizgisi yok — iOS bildirim dili */
html.ds.ds-kos #toasts { left: auto; right: 16px; bottom: calc(22px + 54px + 14px + env(safe-area-inset-bottom, 0px)); gap: 8px; pointer-events: none; max-width: min(380px, calc(100vw - 32px)); }
html.ds.ds-kos .toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 9px; max-width: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px;
  font-size: 13px; line-height: 1.4; letter-spacing: -.005em;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .6), 0 0 0 .5px rgba(0, 0, 0, .08);
  backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible;
  animation: ds-kos-toast .26s var(--ds-ease);
}
html.ds.ds-kos .toast.err, html.ds.ds-kos .toast.info, html.ds.ds-kos .toast.warn, html.ds.ds-kos .toast.ok { border-color: var(--line); }
html.ds.ds-kos .toast::after { display: none; }
html.ds.ds-kos .toast .ds-ic { width: 18px; height: 18px; margin-top: 1px; vertical-align: 0; }
html.ds.ds-kos .toast.err .ds-ic { color: #FF453A; }
html.ds.ds-kos .toast.warn .ds-ic, html.ds.ds-kos .toast.info .ds-ic { color: #0A84FF; }
html.ds.ds-kos .toast.ok .ds-ic { color: #30D158; }
html.ds.ds-kos[data-kos-theme="light"] .toast { box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .28), 0 0 0 .5px rgba(0, 0, 0, .05); }
html.ds.ds-kos .toast.out { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .2s var(--ds-ease), transform .2s var(--ds-ease); }
@keyframes ds-kos-toast { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  html.ds.ds-kos #toasts { left: 14px; right: 14px; bottom: calc(16px + 54px + 12px + env(safe-area-inset-bottom, 0px)); max-width: none; }
}
@media (max-width: 600px) {
  html.ds.ds-kos #toasts { bottom: calc(12px + 48px + 12px + env(safe-area-inset-bottom, 0px)); }   /* .aifab telefonda 12px + scale(.86) */
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .toast { animation: none; }
}

/* ── 15 · YÖNETİM PANELİ · ATLAS + ortak başlık/sekme düzeltmeleri (25.830-w29, ui_denetim panel_atlas: genel 2,0 · simge 1 ·
   hizalama 2 · okunabilirlik 2). 5 cihaz ölçümü: telefon sekme şeridi harf ortasından kesiliyordu ("alite", "Öğrenc"), tablet başlığı
   "Dashboard"ı tek başına ikinci satıra atıyordu ve "ölçüm 17:34 TR" üç satıra bölünüyordu; açıklama paragrafı/akordeon/seçici
   platform emojisi taşıyordu (🤖 🔭 🩺 💬 📌 ✨ 🟢🟡🔴 🆕 ⏱ ▶); boş durum ile akordeon arasında orantısız boşluk; akordeon sayaç
   hapı telefonda dört satıra sarıyordu. Burada: zorunlu kaydırma kilidi (sekme sol kenara oturur, kesik harf yok) + belirgin
   "devamı var" solması; ≤1024 başlık iki sıralı araç çubuğu; iOS "bordered" açılır menü (appearance:none, çizgi ok); rol-renkli
   durum noktası ve çizgi simgeler (fermat_ds.js panelAtlas(), metin/onclick aynen); 8 pt ritmi. */
html.ds.ds-panel header h1 { font-weight: 600; letter-spacing: -.022em; }
html.ds.ds-panel .tab-row { box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .06); }   /* kapsül kenarı PC/iPad'de de okunur */
@media (max-width: 1024px) {
  /* tablet: başlık tek satır, denetimler kendi satırında — "Dashboard" yetim satıra düşmez, ölçüm damgası bölünmez */
  html.ds.ds-panel header { flex-wrap: wrap; gap: 10px 12px; align-items: flex-start; }
  html.ds.ds-panel header h1 { flex: 1 1 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(17px, 2.6vw, 24px); line-height: 1.25; }
  html.ds.ds-panel header > div { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; }
  html.ds.ds-panel #son-yenileme { white-space: nowrap; }
}
@media (max-width: 700px) {
  /* zorunlu kilit: şerit her zaman bir sekmenin başında durur (sol kenarda kesik harf kalmaz); sağda 64 px solma "devamı var" der */
  html.ds.ds-panel .tab-row { scroll-snap-type: x mandatory; scroll-padding-inline: 3px; }
  html.ds.ds-panel .ds-serit.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent); }
  html.ds.ds-panel .ds-serit.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px); mask-image: linear-gradient(90deg, transparent, #000 20px); }
  html.ds.ds-panel .ds-serit.ds-sl.ds-sr {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent);
  }
}
/* kart başlığı rozeti ("tüm kaynaklar · tek panel"): anlamsız raptiye kaldırıldı (js), tek satır hap */
html.ds.ds-panel .card h2 .snapshot-note { display: inline-flex; align-items: center; min-height: 20px; white-space: nowrap; border-radius: 999px; }
/* satır içi çizgi simge (paragraf, rozet, akordeon meta) ve rol renkli durum noktası — kutusuz */
html.ds.ds-panel .ds-inl { width: 14px; height: 14px; vertical-align: -2px; margin: 0 1px; color: var(--muted); }
html.ds.ds-panel .ds-rol-yesil { color: #30D158; }
html.ds.ds-panel .ds-rol-sari { color: #FFD60A; }
html.ds.ds-panel .ds-rol-kirmizi { color: #FF453A; }
html.ds.ds-panel .ds-rol-mavi { color: #0A84FF; }
html.ds.ds-panel .ds-inl[data-ic="nokta"] { width: 11px; height: 11px; vertical-align: 0; margin: 0 2px 0 0; }
/* Atlas açıklaması: okuma tipografisi — ölçülü satır uzunluğu, 400 gövde, vurgu tonla */
html.ds.ds-panel #tab-atlas .card > p { font-size: 14px !important; line-height: 1.55; color: var(--muted) !important; max-width: 82ch; margin: 0 0 14px !important; }
html.ds.ds-panel #tab-atlas .card > p strong { color: var(--text); font-weight: 600; }
/* filtre: iOS "bordered" açılır menü — yerel kutu değil, araç çubuğu düğmeleriyle aynı aile; çizgi ok */
html.ds.ds-panel #tab-atlas .card > div:has(> #sug-filter) { margin-bottom: 8px !important; }
html.ds.ds-panel #sug-filter {
  -webkit-appearance: none; appearance: none; min-height: 34px; padding: 0 32px 0 13px !important; border: 0 !important; border-radius: 9px !important;
  background: var(--ds-pill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9CA6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px 16px !important;
  color: var(--text) !important; font-family: var(--ds-font); font-size: 13px !important; font-weight: 500; letter-spacing: -.005em; line-height: 1;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .06); transition: background-color .2s var(--ds-ease);
}
html.ds.ds-panel #sug-filter:hover { background-color: rgba(255, 255, 255, .11); }
html.ds.ds-panel #sug-filter option { background: #1C1C21; color: var(--text); }
/* boş durum: 8 pt ritmi — devasa boşluk yerine ölçülü blok, satır uzunluğu sınırlı */
html.ds.ds-panel #suggestions-list .empty { padding: 28px 16px; font-size: 14px; line-height: 1.5; max-width: 56ch; margin: 0 auto; }
/* öneri kartı (liste doluyken): saç teli kart, sarmalanan başlık satırı, tek satır rozetler, kod bloğu yalnız değişiklik metninde mono */
html.ds.ds-panel .suggestion { border-radius: 14px; border-color: var(--border); background: rgba(255, 255, 255, .035); padding: 14px 16px; }
html.ds.ds-panel .suggestion-header { flex-wrap: wrap; gap: 6px 8px; justify-content: flex-start; }
html.ds.ds-panel .suggestion-title { flex: 1 1 100%; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
html.ds.ds-panel .suggestion-header > span { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; border-radius: 999px !important; line-height: 1; }
html.ds.ds-panel .severity-badge { text-transform: none; font-size: 11.5px; }
html.ds.ds-panel .suggestion-desc { font-size: 14px; line-height: 1.5; }
html.ds.ds-panel .suggestion-change { border-radius: 10px; font-size: 12.5px; background: rgba(0, 0, 0, .35); }
html.ds.ds-panel .suggestion-actions { flex-wrap: wrap; gap: 8px; }
/* otonom uygulananlar akordeonu: iOS açılır grup satırı — çizgi chevron, 500 etiket, tek satır sayaç, meta satırı telefonda kendi sırasında */
html.ds.ds-panel #self-applied-box { margin-top: 16px !important; padding-top: 12px !important; border-top-color: var(--border) !important; }
html.ds.ds-panel #self-applied-head { flex-wrap: wrap; gap: 6px 10px !important; min-height: 44px; padding: 6px 4px !important; border-radius: 10px !important; transition: background .2s var(--ds-ease); }
html.ds.ds-panel #self-applied-head:hover { background: rgba(255, 255, 255, .04); }
html.ds.ds-panel #self-applied-head:active { background: rgba(255, 255, 255, .07); }
html.ds.ds-panel #self-applied-caret { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; font-size: 0 !important; color: var(--muted); }
html.ds.ds-panel #self-applied-caret .ds-ic { width: 16px; height: 16px; stroke-width: 2; }
html.ds.ds-panel #self-applied-head > strong { display: inline-flex; align-items: center; gap: 7px; font-size: 15px !important; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
html.ds.ds-panel #self-applied-head > strong .ds-ic { width: 17px; height: 17px; color: var(--muted); }
html.ds.ds-panel #self-applied-count { white-space: nowrap; font-variant-numeric: tabular-nums; min-height: 22px; display: inline-flex; align-items: center; border-radius: 999px !important; background: rgba(255, 255, 255, .08) !important; font-size: 12px !important; }
html.ds.ds-panel #self-applied-head > span:last-child { font-size: 12.5px !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-panel #self-applied-head > span:last-child .ds-inl { width: 13px; height: 13px; vertical-align: -2px; }
html.ds.ds-panel #self-applied-body { font-size: 14px; }
@media (pointer: coarse) {
  html.ds.ds-panel #sug-filter { min-height: 44px; font-size: 15px !important; padding: 0 36px 0 16px !important; }
}
@media (max-width: 700px) {
  html.ds.ds-panel #tab-atlas .card > div:has(> #sug-filter) { justify-content: flex-start !important; }   /* telefonda içerikle aynı sol eksen */
  html.ds.ds-panel #sug-filter { max-width: 100%; }
  html.ds.ds-panel #self-applied-head > span:last-child { flex: 1 1 100%; margin-left: 28px !important; white-space: normal; line-height: 1.4; }
}

/* ── 16 · YÖNETİM PANELİ · BİLDİRİMLER 2. tur (25.830-w31, ui_denetim panel_notifications: genel 2,12 · tipografi 2 · simge 2 ·
   okunabilirlik 2 · bütünlük 2). 5 cihaz ölçümü: gövdede ham WhatsApp biçimi (*🔴 …*) ve ters tırnak; önizleme üst çubuğu
   geliştirici bayrağı dili (alerts active True · TEST_ONLY (ETKİSİZ…)); önizleme kartlarında platform emojisi; "gönderilir" rozeti
   hata kırmızısı, "Öğrenci" uyarı sarısı; iPhone'da sekme şeridi "Ka" diye kesik ve solma yok (WebKit: mask'li kaydırma kabı zemini
   içerikle kaydırıyor — kapsül ekranı aşıyordu); ölçüm damgası dar sütunda bölünüyor; onay kutusu 17 px yerel. Burada: biçim çözümü
   (fermat_ds.js govdeBicimle: *…* → 500 vurgu, `…` → kod rozeti, emoji → satır içi çizgi simge/rol renkli nokta), durum satırı
   (Türkçe etiket + açık/kapalı nokta, ham dize title'da), nötr kategori rozetleri + rol rengi yalnız ihlal/temiz/bilgi, solma maskesi
   kaydırmayan sarmalayıcıda (.ds-serit), başlık her genişlikte tek satır + araç çubuğu bütün olarak alta iner, iOS onay kutusu 44 px satır,
   liste tipografisi 500/400 + yumuşak beyaz (#E6E6E9), tüm sekmelerde bölüm etiketi 500. */
html.ds.ds-panel { --text: #E6E6E9; }
html.ds.ds-panel[data-palette="mono"] { --text: #EDEDED; }
html.ds.ds-panel header h1 { color: var(--text); }
/* sekme şeridi sarmalayıcı: kaydırmaz, maskeyi taşır; kapsül masaüstünde içeriğe sarılı kalır, ≤700'de tam genişlik */
html.ds.ds-panel .ds-serit { display: flex; max-width: 100%; min-width: 0; }
html.ds.ds-panel .ds-serit > .tab-row { min-width: 0; max-width: 100%; }
@media (max-width: 700px) { html.ds.ds-panel .ds-serit { width: 100%; } }
/* başlık: ad tek satırda, araç çubuğu sığmazsa BÜTÜN olarak kendi satırına iner (ölçüm damgası üç satıra bölünmez — iPad yatay 1194 px) */
@media (min-width: 1025px) {   /* ≤1024 düzeni §15'te (başlık ve araç çubuğu ayrı satır) — burada yalnız iPad yatay / PC */
  html.ds.ds-panel header { flex-wrap: wrap; gap: 10px 16px; }
  html.ds.ds-panel header h1 { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-panel header > div { flex: 0 0 auto; max-width: 100%; }
}
html.ds.ds-panel #son-yenileme { white-space: nowrap; }
/* tipografi: hiyerarşi boyut + tonla — bölüm etiketi 500, liste başlığı 500 birincil ton, gövde 400 ikincil ton; 600 yalnız ekran başlığı */
html.ds.ds-panel .card h2 { font-weight: 500; font-size: 13.5px; }
html.ds.ds-panel .notif-title { font-weight: 500; color: var(--text); }
html.ds.ds-panel .notif-title > span[style] { font-weight: 500; }
html.ds.ds-panel .notification-list > div > div:first-child { font-weight: 500 !important; font-size: 13px !important; letter-spacing: -.003em; }
html.ds.ds-panel .snc-title { font-weight: 500; }
html.ds.ds-panel .snc-app { font-weight: 500; }
html.ds.ds-panel .notif-body .ds-vurgu, html.ds.ds-panel .snc-body .ds-vurgu { font-weight: 500; color: var(--text); }
html.ds.ds-panel .ds-kod {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; padding: 1px 6px; border-radius: 5px;
  background: rgba(255, 255, 255, .07); color: var(--text); white-space: nowrap;
}
html.ds.ds-panel .notif-body .ds-inl, html.ds.ds-panel .snc-body .ds-inl { color: var(--muted); }
html.ds.ds-panel .notif-body .ds-inl[data-ic="nokta"], html.ds.ds-panel .snc-body .ds-inl[data-ic="nokta"] { width: 10px; height: 10px; margin: 0 3px 0 0; }
/* eylem düğmeleri: glif yerine çizgi simge, kırmızı yalnız "Kapat" */
html.ds.ds-panel .notif-actions .btn .ds-ic { width: 14px; height: 14px; stroke-width: 2; flex: 0 0 auto; }
html.ds.ds-panel .notif-actions .btn.danger .ds-ic { color: #FF453A; }
/* onay kutusu satırı: iOS form satırı — 44 px dokunma hedefi (dokunmatik), özel kutu (yerel değil), basılı durum */
html.ds.ds-panel #tab-notifications label {
  align-items: center !important; gap: 10px !important; min-height: 32px; padding: 0 4px 0 2px; margin: 0 0 10px 0 !important; border-radius: 10px;
  transition: background .2s var(--ds-ease); -webkit-tap-highlight-color: transparent;
}
html.ds.ds-panel #tab-notifications label:active { background: rgba(255, 255, 255, .05); }
html.ds.ds-panel #tab-notifications label input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; flex: 0 0 auto; border-radius: 7px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; display: inline-grid; place-items: center;
  transition: background .18s var(--ds-ease), border-color .18s var(--ds-ease);
}
html.ds.ds-panel #tab-notifications label input[type="checkbox"]::before {
  content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .18s var(--ds-ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html.ds.ds-panel #tab-notifications label input[type="checkbox"]:checked { background: #0A84FF; border-color: #0A84FF; }
html.ds.ds-panel #tab-notifications label input[type="checkbox"]:checked::before { transform: scale(1); }
html.ds.ds-panel #tab-notifications label input[type="checkbox"]:focus-visible { outline: 2px solid rgba(10, 132, 255, .5); outline-offset: 2px; }
@media (pointer: coarse) {
  html.ds.ds-panel #tab-notifications label { min-height: 44px; font-size: 15px !important; }
  html.ds.ds-panel #tab-notifications label input[type="checkbox"] { width: 24px; height: 24px; }
}
/* önizleme durum satırı: etiket + değer, açık = yeşil nokta, kapalı = gri nokta; dipnot bilgi simgeli ikincil satır */
html.ds.ds-panel #shadow-mode-bar .ds-kv { min-height: 26px; padding: 0 9px 0 7px; border-radius: 7px; font-size: 12.5px; gap: 6px; }
html.ds.ds-panel #shadow-mode-bar .ds-kv .ds-inl { width: 8px; height: 8px; margin: 0; vertical-align: 0; }
html.ds.ds-panel #shadow-mode-bar .ds-kv.acik .ds-inl { color: #30D158; }
html.ds.ds-panel #shadow-mode-bar .ds-kv.kapali .ds-inl { color: rgba(255, 255, 255, .28); }
html.ds.ds-panel #shadow-mode-bar .ds-kv.acik b { color: var(--text); }
html.ds.ds-panel #shadow-mode-bar .ds-not { display: flex; align-items: flex-start; gap: 6px; margin-top: 2px; }
html.ds.ds-panel #shadow-mode-bar .ds-not .ds-inl { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; color: var(--muted); }
html.ds.ds-panel #shadow-mode-bar .ds-not .ds-inl[data-ic="sag"] { width: 11px; height: 11px; margin: 0 1px; vertical-align: -1px; }
/* önizleme rozetleri: kategori (hedef kitle) nötr; rol rengi yalnız ihlal (kırmızı) · temiz (yeşil) · gönderilir (mavi, bilgi) · shadow (gri) */
html.ds.ds-panel .snc-chip.snc-aud-ogrenci, html.ds.ds-panel .snc-chip.snc-aud-veli, html.ds.ds-panel .snc-chip.snc-aud-ogretmen, html.ds.ds-panel .snc-chip.snc-aud-rehber {
  background: rgba(255, 255, 255, .08) !important; color: var(--text) !important; font-weight: 500;
}
html.ds.ds-panel .snc-chip .ds-ic { color: var(--muted); }
html.ds.ds-panel .snc-chip.snc-ok { background: rgba(48, 209, 88, .13) !important; color: #30D158 !important; }
html.ds.ds-panel .snc-chip.snc-ok .ds-ic { color: #30D158; }
html.ds.ds-panel .snc-chip.snc-warn { background: rgba(255, 69, 58, .13) !important; color: #FF453A !important; }
html.ds.ds-panel .snc-chip.snc-warn .ds-ic { color: #FF453A; }
html.ds.ds-panel .snc-chip.snc-warn.ds-bilgi { background: rgba(10, 132, 255, .14) !important; color: #409CFF !important; }
html.ds.ds-panel .snc-link { color: var(--muted); }

/* ── 17 · YÖNETİM PANELİ · ÖĞRENCİ (25.830-w32, ui_denetim panel_student: genel 2,12 · hizalama 2 · bosluk 2 · simge 2 · tipografi 2).
   5 cihaz ölçümü: sekme yalnız "soz_no + Yükle" satırıydı, ekranın %80'i boş siyah alan (bitmemiş sayfa); geniş ekranda kart boş,
   içerik sola yığılı; soz_no girişi OS stepper'ıyla (iPad'de yukarı/aşağı ok, 44 pt altı); telefon şeridinde sol kenardaki sekme
   harfi kesik (sol solma 20 px — fark edilmiyordu, piksel ölçümü 10→25). Burada: iOS arama satırı (bordered field, appearance:none,
   stepper yok, 44 px hedef, dolgu Yükle düğmesi), içerik yokken ortalanmış "içerik yok" durumu (fermat_ds.js panelOgrenci — yalnız
   #student-detail boşken, CSS :empty), röntgen kartlarında çizgi simge + rol rengi, 8 pt ritmi; şerit sol solması 44 px. */
/* şerit: sol solma sağ ile aynı güçte — kesik harf "devamı var" olarak okunur (§15'teki 20 px'i ezer) */
@media (max-width: 700px) {
  html.ds.ds-panel .ds-serit.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .25) 12px, #000 44px); mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .25) 12px, #000 44px); }
  html.ds.ds-panel .ds-serit.ds-sl.ds-sr {
    -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .25) 12px, #000 44px, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent);
    mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .25) 12px, #000 44px, #000 calc(100% - 64px), rgba(0, 0, 0, .25) calc(100% - 12px), transparent);
  }
}
/* arama satırı: etiket · alan · düğme tek dikey eksende; alan esner, satır 520 px'i aşmaz */
html.ds.ds-panel #tab-student > .card > h2 + div {
  display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: nowrap; max-width: 520px; margin: 0 0 4px !important;
}
html.ds.ds-panel #tab-student > .card > h2 + div > label { flex: 0 0 auto; font-family: var(--ds-font); font-size: 15px; color: var(--muted); letter-spacing: -.005em; }
html.ds.ds-panel #student-input {
  -webkit-appearance: none; appearance: none; -moz-appearance: textfield; width: auto !important; flex: 1 1 140px; min-width: 0; max-width: 220px;
  min-height: 40px; padding: 0 14px; border: 0 !important; border-radius: 10px; box-sizing: border-box;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1); color: var(--text);
  font-family: var(--ds-font); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.005em;
  transition: background .2s var(--ds-ease), box-shadow .2s var(--ds-ease);
}
html.ds.ds-panel #student-input::-webkit-inner-spin-button, html.ds.ds-panel #student-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.ds.ds-panel #student-input::placeholder { color: rgba(255, 255, 255, .32); }
html.ds.ds-panel #student-input:focus { background: rgba(255, 255, 255, .1); }
html.ds.ds-panel #student-input:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px rgba(10, 132, 255, .75); }
/* Yükle: iOS "prominent" düğme — nötr palette dolgu, basılı durumda koyulaşır */
html.ds.ds-panel #tab-student > .card > h2 + div > .btn.primary {
  flex: 0 0 auto; min-height: 40px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 500;
  background: var(--text); color: var(--bg); box-shadow: none !important;
}
html.ds.ds-panel #tab-student > .card > h2 + div > .btn.primary:hover { background: rgba(255, 255, 255, .82); color: var(--bg); }
html.ds.ds-panel #tab-student > .card > h2 + div > .btn.primary:active { background: rgba(255, 255, 255, .68); }
html.ds.ds-panel #tab-student > .card > h2 + div > .btn.primary:focus-visible { outline: 2px solid rgba(10, 132, 255, .6); outline-offset: 2px; }
/* içerik yok durumu: yalnız röntgen yüklenmemişken görünür (iOS ContentUnavailableView dili — ortalanmış simge, başlık, açıklama) */
html.ds.ds-panel #tab-student .ds-bos {
  display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  min-height: clamp(220px, 40vh, 360px); padding: 24px 16px 28px; color: var(--muted);
}
html.ds.ds-panel #tab-student #student-detail:empty + .ds-bos { display: flex; }
html.ds.ds-panel #tab-student .ds-bos > .ds-ic { width: 46px; height: 46px; stroke-width: 1.25; color: rgba(255, 255, 255, .26); margin-bottom: 6px; }
html.ds.ds-panel #tab-student .ds-bos-b { font-family: var(--ds-font-disp); font-size: 17px; font-weight: 500; letter-spacing: -.015em; color: var(--text); }
html.ds.ds-panel #tab-student .ds-bos-a { font-size: 14px; line-height: 1.45; max-width: 40ch; text-wrap: balance; }
/* içerik yokken arama satırı da ortada — geniş kartta sola yığılı tek satır kalmaz; yükleme sonrası satır sola döner (form dili) */
@media (min-width: 701px) {
  html.ds.ds-panel #tab-student > .card:has(> #student-detail:empty) > h2 + div { margin: 20px auto 0 !important; justify-content: center; }
  html.ds.ds-panel #tab-student > .card:has(> #student-detail:empty) > .ds-bos { min-height: clamp(200px, 36vh, 320px); padding-top: 8px; }
}
/* röntgen kartları: başlık simgesi ikincil ton, alt başlık 400/ikincil, özet satırı 8 pt ritmi, satır içi simgeler rol renkli */
html.ds.ds-panel #student-detail > .card { margin-bottom: 12px !important; }
html.ds.ds-panel #student-detail .card h2 .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel #student-detail .card h2 > span[style] { font-size: 13px; color: var(--muted); font-weight: 400 !important; }
html.ds.ds-panel #student-detail > .card > div[style*="gap:18px"] { gap: 8px 18px !important; font-size: 14px !important; color: var(--text); margin-top: 2px; }
html.ds.ds-panel #student-detail > .card > div[style*="gap:18px"] > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
html.ds.ds-panel #student-detail > .card > div[style*="gap:18px"] > span .ds-inl { width: 15px; height: 15px; margin: 0; vertical-align: 0; }
html.ds.ds-panel #student-detail .ds-inl { color: var(--muted); }
html.ds.ds-panel #student-detail .chip { font-weight: 500; font-size: 12px; padding: 2px 9px; }
html.ds.ds-panel #student-detail code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .07); opacity: 1 !important; color: var(--muted); }
html.ds.ds-panel #student-detail .empty { font-size: 14px; padding: 28px 16px; color: var(--muted); }
html.ds.ds-panel #student-detail .metric-label { font-size: 12.5px; color: var(--muted); }
/* dokunmatik: alan ve düğme 44 px; telefonda arama satırı tam genişlik, etiket üstte değil yanda (tek satır sığar) */
@media (pointer: coarse) {
  html.ds.ds-panel #student-input { min-height: 44px; font-size: 16px; }   /* iOS odakta yakınlaştırmaz (≥16 px) */
  html.ds.ds-panel #tab-student > .card > h2 + div > .btn.primary { min-height: 44px; padding: 0 20px; }
}
@media (max-width: 700px) {
  html.ds.ds-panel #tab-student > .card > h2 + div { max-width: none; margin-top: 4px !important; }
  html.ds.ds-panel #student-input { max-width: none; }
  html.ds.ds-panel #tab-student .ds-bos { min-height: clamp(200px, 34vh, 300px); }
  html.ds.ds-panel #student-detail > .card > div[style*="gap:18px"] { flex-direction: column; gap: 6px !important; }
  html.ds.ds-panel #student-detail > .card > div[style*="gap:18px"] > span { white-space: normal; }
}
/* Yükle düğmesi açık ton zemini mono palette de aynı dilde (metin rengi zemin, zemin rengi metin) */
html.ds.ds-panel[data-palette="mono"] #tab-student > .card > h2 + div > .btn.primary { background: var(--text); color: #000; }

/* ── 18 · SOHBET · BİLDİRİM ÇEKMECESİ (25.830-w33, ui_denetim sohbet_bildirim: genel 2,25 · simge 1 · bütünlük 2 · hizalama 3).
   Kusurlar: zil EMOJİSİ turuncu degrade KUTUDA (Neo: "kutusuz, arka plansız çizgi sembol") · açık katman arkayı KARARTMIYOR ·
   okunmamış noktası başlığın son sözcüğüne biniyor · başlıklar 700 · "Tümünü okundu"/kapat basılı durumu yok.
   Dil: iOS Bildirim Merkezi — perde (backdrop-filter YOK: altta Kurum OS iframe'i olabilir), yüzen kart, kutusuz rol renkli simge,
   500 başlık + 400 gövde, 8 pt ritmi, 44 px hedef (coarse). Simge geçişi fermat_ds.js sohbetBildirim(); metin/onclick aynen. */
html.ds.ds-sohbet .notif-overlay { background: rgba(0, 0, 0, .34); }
html.ds.ds-sohbet .notif-overlay.open { animation: dsNotifPerde .22s var(--ds-ease) both; }
@keyframes dsNotifPerde { from { opacity: 0; } to { opacity: 1; } }
html.ds.ds-sohbet .notif-panel {
  top: calc(60px + env(safe-area-inset-top)); right: 12px; width: min(380px, calc(100vw - 24px)); max-height: min(72vh, 600px);
  background: var(--ds-yuk); border: 0; border-radius: 18px; box-shadow: var(--ds-golge);
  animation: dsNotifIn .26s var(--ds-ease) both; transform-origin: top right;
}
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-panel { background: #FFFFFF; }
@keyframes dsNotifIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
html.ds.ds-sohbet .notif-head { padding: 14px 10px 10px 18px; border-bottom: 1px solid var(--ds-ayrac); gap: 10px; }
html.ds.ds-sohbet .notif-head h4 { font-family: var(--ds-font-disp); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
html.ds.ds-sohbet .notif-head .nh-actions { gap: 6px; }
html.ds.ds-sohbet .notif-readall {
  font-size: 13px; font-weight: 500; letter-spacing: -.005em; padding: 0 10px; min-height: 32px; border-radius: 8px; color: var(--accent);
  transition: background .18s var(--ds-ease), opacity .12s;
}
html.ds.ds-sohbet .notif-readall:hover { background: var(--ds-vurgu-zemin); }
html.ds.ds-sohbet .notif-readall:active { opacity: .55; transition: opacity 0s; }
html.ds.ds-sohbet .notif-close {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0;
  color: var(--fg-muted); background: var(--ds-vurgu-zemin); transition: background .18s var(--ds-ease), opacity .12s;
}
html.ds.ds-sohbet .notif-close .ds-ic { width: 13px; height: 13px; stroke-width: 2.2; }
html.ds.ds-sohbet .notif-close:hover { background: color-mix(in srgb, var(--fg) 14%, transparent); color: var(--fg); }
html.ds.ds-sohbet .notif-close:active { opacity: .55; transition: opacity 0s; }
html.ds.ds-sohbet .notif-list { padding: 6px 8px 8px; overscroll-behavior: contain; scrollbar-gutter: stable; }
html.ds.ds-sohbet .notif-item { gap: 12px; padding: 12px 34px 12px 10px; border-radius: 12px; transition: background .16s var(--ds-ease); }
html.ds.ds-sohbet .notif-item + .notif-item { margin-top: 2px; }
html.ds.ds-sohbet .notif-item:hover { background: var(--ds-vurgu-zemin); }
html.ds.ds-sohbet .notif-item.unread { background: color-mix(in srgb, var(--accent) 7%, transparent); }
html.ds.ds-sohbet .notif-item.unread:hover { background: color-mix(in srgb, var(--accent) 11%, transparent); }
html.ds.ds-sohbet .notif-item:active { background: color-mix(in srgb, var(--fg) 10%, transparent); transition: background 0s; }
/* simge: kutusuz, gölgesiz, rol renkli çizgi sembol (iOS kenar çubuğu dili; renk bildirim türünü taşır) */
html.ds.ds-sohbet .notif-ico { width: 30px; height: 30px; margin-top: 1px; border-radius: 0; background: none; box-shadow: none; color: var(--fg-muted); font-size: 0; }
html.ds.ds-sohbet .notif-ico .ds-ic { width: 24px; height: 24px; stroke-width: 1.6; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-turuncu) { color: #FF9F0A; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-yesil)   { color: #30D158; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-nane)    { color: #00C7BE; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-mavi)    { color: #0A84FF; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-indigo)  { color: #7D7AFF; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-mor)     { color: #BF5AF2; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-pembe)   { color: #FF375F; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-kirmizi) { color: #FF453A; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-sari)    { color: #FFD60A; }
html.ds.ds-sohbet .notif-ico:has(.ds-k-gri)     { color: #98989F; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-sari)    { color: #C99700; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-kirmizi) { color: #E5322B; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-turuncu) { color: #F08A00; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-yesil)   { color: #28A745; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-nane)    { color: #00A69E; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-indigo)  { color: #5856D6; }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-ico:has(.ds-k-mor)     { color: #A745D6; }
/* tipografi: hiyerarşi boyut + tonla — başlık 15/500, gövde 13.5/400 ikincil, zaman 12 tabular */
html.ds.ds-sohbet .notif-title { font-size: 15px; font-weight: 500; letter-spacing: -.012em; line-height: 1.33; margin: 0 0 3px; color: var(--fg); overflow-wrap: anywhere; }
html.ds.ds-sohbet[data-palette="mono"] .notif-title { font-family: var(--ds-font); }   /* mono palet RENK kararıdır; başlık SF Pro kalır */
html.ds.ds-sohbet .notif-text { font-size: 13.5px; line-height: 1.45; letter-spacing: -.005em; color: var(--fg-muted); overflow-wrap: anywhere; }
html.ds.ds-sohbet .notif-text .ds-vurgu { font-weight: 500; color: var(--fg); }
html.ds.ds-sohbet .notif-text .ds-kod { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; padding: 1px 5px; border-radius: 5px; background: var(--ds-vurgu-zemin); }
html.ds.ds-sohbet .notif-text .ds-inl, html.ds.ds-sohbet .notif-title .ds-inl { width: 14px; height: 14px; vertical-align: -2px; margin: 0 1px; color: var(--fg-muted); }
html.ds.ds-sohbet .notif-text .ds-inl[data-ic="nokta"], html.ds.ds-sohbet .notif-title .ds-inl[data-ic="nokta"] { width: 10px; height: 10px; vertical-align: 0; margin: 0 3px 0 0; }
html.ds.ds-sohbet .ds-rol-yesil { color: #30D158 !important; }
html.ds.ds-sohbet .ds-rol-sari { color: #FFD60A !important; }
html.ds.ds-sohbet .ds-rol-kirmizi { color: #FF453A !important; }
html.ds.ds-sohbet .ds-rol-mavi { color: #0A84FF !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-rol-sari { color: #C99700 !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-rol-kirmizi { color: #E5322B !important; }
html.ds.ds-sohbet .notif-meta { margin-top: 5px; }
html.ds.ds-sohbet .notif-time { font-size: 12px; opacity: 1; font-variant-numeric: tabular-nums; letter-spacing: -.003em; }
/* okunmamış noktası: başlığın ilk satırıyla aynı eksende, kendi 34 px sağ sütununda — metne değmez */
html.ds.ds-sohbet .notif-dot { top: 18px; right: 14px; width: 8px; height: 8px; }
html.ds.ds-sohbet .notif-dismiss {
  top: 9px; right: 8px; width: 28px; height: 28px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0;
  color: var(--fg-muted); transition: opacity .16s var(--ds-ease), background .16s var(--ds-ease);
}
html.ds.ds-sohbet .notif-dismiss .ds-ic { width: 12px; height: 12px; stroke-width: 2.2; }
html.ds.ds-sohbet .notif-item:hover .notif-dismiss:hover { background: var(--ds-vurgu-zemin); }
html.ds.ds-sohbet .notif-empty { padding: 44px 28px 40px; }
html.ds.ds-sohbet .notif-empty svg { opacity: .3; stroke-width: 1.25; width: 44px; height: 44px; }
html.ds.ds-sohbet .notif-empty .ne-t { font-family: var(--ds-font-disp); font-size: 17px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 5px; }
html.ds.ds-sohbet .notif-empty .ne-s { font-size: 14px; line-height: 1.45; text-wrap: balance; max-width: 34ch; margin: 0 auto; }
html.ds.ds-sohbet .notif-foot { padding: 10px 16px; font-size: 12px; letter-spacing: -.003em; border-top: 1px solid var(--ds-ayrac); }
@media (pointer: coarse) {
  html.ds.ds-sohbet .notif-readall { min-height: 40px; padding: 0 12px; }
  html.ds.ds-sohbet .notif-close { width: 40px; height: 40px; }
  html.ds.ds-sohbet .notif-head { padding: 10px 8px 8px 18px; }
  html.ds.ds-sohbet .notif-item { padding: 13px 34px 13px 10px; }
  html.ds.ds-sohbet .notif-dismiss { display: none; }   /* dokunmatikte hover yok; kaldırma zaten görünmezdi, boş alan tutmasın */
}
@media (max-width: 520px) {
  html.ds.ds-sohbet .notif-panel { top: calc(58px + env(safe-area-inset-top)); right: 8px; left: 8px; width: auto; max-height: min(74vh, calc(100dvh - 140px)); }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-sohbet .notif-panel, html.ds.ds-sohbet .notif-overlay.open { animation: none; }
}

/* ── 16 · KURUM OS · KAVRAM BANKASI + FermatAI düğmesi + çip dili (25.830-w34, ui_denetim kos_kavram: genel 2,38 · simge 1 ·
   dokunma 2 · bütünlük 2 · renk 3). Ölçülen: ders çiplerinde satır içi ⚛/📘 platform emojisi (sayaç işareti), sağ altta mor→mavi
   degrade + nabız halkalı robot balonu, çipler 20-24 px (44 pt altı, basılı durum yok), tablette çip satırları merdiven gibi,
   menü satır sonunda ✎ (anlamsız işaret). Burada: satır içi işaretler fermat_ds.js kosSatirIci() ile çizgi simge; FermatAI
   düğmesi yükseltilmiş nötr yüzey + vurgu rengi glif (Apple Haritalar kontrol dili — degrade/halkа/parlama yok); ders çipleri
   eşit sütunlu ızgara (auto-fill, kenarlar düz), 40/44 px yükseklik, basılı durum; konu satırları 44 px; "Bir ders seçin"
   açıklaması ortalanmış iOS ipucu bloğu; ✎ rozeti kaldırıldı (bilgi title'da zaten; iOS kenar çubuğunda satır sonu işareti yok).
   Hız: yalnız transform/opacity geçişi, blur yok. */
html.ds.ds-kos .nav .wbadge { display: none; }
html.ds.ds-kos .tag { font-weight: 600; letter-spacing: 0; font-size: 10.5px; }
html.ds.ds-kos .tag .ds-inl, html.ds.ds-kos h3 .ds-inl, html.ds.ds-kos .muted .ds-inl { width: 13px; height: 13px; vertical-align: -2px; margin: 0 1px 0 0; color: currentColor; }
html.ds.ds-kos h3 .ds-inl { width: 15px; height: 15px; vertical-align: -3px; }

/* FermatAI düğmesi: nötr yükseltilmiş daire, vurgu rengi çizgi glif; dokunuşta anında küçülme (scale ayrı özellik → app.css transform'uyla çakışmaz) */
html.ds.ds-kos .aifab {
  background: var(--surface); color: var(--gold); border: 1px solid var(--line);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .55), 0 0 0 .5px rgba(0, 0, 0, .08);
  transform: none; filter: none; transition: scale .18s var(--ds-ease), background .18s var(--ds-ease);
}
html.ds.ds-kos .aifab::after { display: none; }
html.ds.ds-kos .aifab:hover { transform: none; filter: none; background: var(--surface2); }
html.ds.ds-kos .aifab:active { scale: .94; background: var(--surface2); transition: none; }
html.ds.ds-kos .aifab .ds-ic { width: 24px; height: 24px; stroke-width: 1.7; }
html.ds.ds-kos[data-kos-theme="light"] .aifab { box-shadow: 0 10px 28px -12px rgba(20, 30, 50, .35), 0 0 0 .5px rgba(0, 0, 0, .05); }
html.ds.ds-kos[data-kos-accent="mono"] .aifab { color: var(--ink); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .55); }
@media (max-width: 600px) {
  html.ds.ds-kos .aifab { width: 48px; height: 48px; transform: none; }   /* app.css scale(.86) yerine gerçek ölçü — toast hesabı (48 px) aynı */
  html.ds.ds-kos .aifab .ds-ic { width: 22px; height: 22px; }
}

/* Kavram Bankası — ders çipleri: eşit sütunlu ızgara (kenar düz), dokunulabilir yükseklik, seçili = vurgu dolgu, diğerleri nötr */
html.ds.ds-kos[data-kos-mod="kavram"] .card > div:has(> .tag[onclick]) {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 8px; margin-top: 10px;
}
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick] {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin: 0 !important; padding: 0 12px;
  border-radius: 11px; font-size: 13px; font-weight: 500; letter-spacing: -.005em; line-height: 1.2;
  background: var(--surface2); color: var(--ink); border: 1px solid var(--line); overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent; transition: background .16s var(--ds-ease), border-color .16s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick] .ds-inl { color: var(--ink3); width: 14px; height: 14px; margin: 0 0 0 2px; }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick]:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick]:active { background: var(--surface); scale: .985; transition: none; }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.t-gold[onclick] {
  background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--gold2);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
}
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.t-gold[onclick] .ds-inl { color: currentColor; }
html.ds.ds-kos[data-kos-theme="light"][data-kos-mod="kavram"] .card > div > .tag.t-gold[onclick] { color: color-mix(in srgb, var(--gold) 80%, #000); }
html.ds.ds-kos[data-kos-accent="mono"][data-kos-mod="kavram"] .card > div > .tag.t-gold[onclick] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* konu listesi satırları (ders seçilince): 44 px, saç teli ayraç, basılı durum; arama alanı iOS alan dili */
html.ds.ds-kos[data-kos-mod="kavram"] .card div[onclick][style*="border-bottom"] {
  min-height: 44px; align-items: center; padding: 8px 6px !important; border-bottom-color: var(--ds-ayrac) !important;
  border-radius: 8px; -webkit-tap-highlight-color: transparent;
}
html.ds.ds-kos[data-kos-mod="kavram"] .card div[onclick][style*="border-bottom"]:active { background: var(--surface2); }
html.ds.ds-kos[data-kos-mod="kavram"] .card div[onclick][style*="border-bottom"] > span:last-child { display: inline-flex; gap: 6px; align-items: center; }
html.ds.ds-kos[data-kos-mod="kavram"] .inp { appearance: none; -webkit-appearance: none; border-radius: 10px; font-family: var(--ds-font); min-height: 40px; }
html.ds.ds-kos[data-kos-mod="kavram"] .inp:focus { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }

/* atom satırı açma oku: sabit genişlik, ikincil ton; detay geri çipi dokunulabilir */
html.ds.ds-kos[data-kos-mod="kavram"] .card > div[onclick] > span:first-child { display: inline-flex; width: 16px; justify-content: center; color: var(--ink3); }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div[onclick] > span:first-child .ds-inl { margin: 0; }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div[onclick] { min-height: 40px; }
html.ds.ds-kos[data-kos-mod="kavram"] .tag[onclick]:not(.card > div > .tag) { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 500; }

/* "Bir ders seçin" açıklaması: kartın altında kayıp paragraf değil, ortalanmış iOS ipucu bloğu */
html.ds.ds-kos[data-kos-mod="kavram"] #main > .card + .muted {
  max-width: 52ch; margin: 36px auto 0 !important; text-align: center; font-size: 13.5px; line-height: 1.5; letter-spacing: -.005em;
  text-wrap: balance; color: var(--ink3);
}
html.ds.ds-kos[data-kos-mod="kavram"] .card > h3 + .muted { font-size: 12.5px; line-height: 1.5; letter-spacing: -.003em; }
@media (pointer: coarse) {
  html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick] { min-height: 44px; }
  html.ds.ds-kos[data-kos-mod="kavram"] .inp { min-height: 44px; font-size: 16px; }   /* iOS odak yakınlaştırması yok */
  html.ds.ds-kos[data-kos-mod="kavram"] .tag[onclick]:not(.card > div > .tag) { min-height: 36px; }
}
@media (max-width: 560px) {
  html.ds.ds-kos[data-kos-mod="kavram"] .card > div:has(> .tag[onclick]) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .aifab, html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag[onclick] { transition: none; }
}

/* ── 19 · SOHBET · KARŞILAMA KARTI (25.830-w35, ui_denetim sohbet_bos: genel 1,88 · renk 1 · bütünlük 1 · okunabilirlik 1 · bosluk 2 ·
   tipografi 2). Kart her temada satır içi koyu lacivert degrade + ~25 farklı satır içi renk (sarı/mor/pembe/camgöbeği) ile geliyordu;
   açık temada degradenin açık mavi dibinde gri son paragraf okunmuyordu (puanlayıcının "solma maskesi" sandığı şey bu), rozet
   "FRONTİER-TİER…" büyük harf + 2,5 px aralıkla iPhone'da ortadan kırılıyordu, 6 KPI altı renkte, etiketler büyük harfli ve 9,5 px.
   Burada: kart = tema tokenlı nötr grup kartı (açık: #F5F5F7 · koyu: #141418, saç teli kenar, gölge yok); TÜM satır içi renkler
   fg / fg-muted'a iner, tek vurgu yalnız simge ve rozet ikonu; KPI'lar tek renk 600 tabular; etiketler küçük harf 400; gövde 14-15 px;
   pedagoji ve motor listeleri sola yaslı okunur liste; 18 çip 8 px ritimle; son paragraf normal ağırlık fg-muted. Metin, DOM ve
   onclick DEĞİŞMEDİ; ?ds=0 eski kart. Satır içi stil (1,0,0,0) ezmek için color/font üzerinde !important zorunlu. */
html.ds.ds-sohbet .msg-welcome { padding: 28px 16px 24px; }
html.ds.ds-sohbet .jarvis-welcome {
  background: var(--panel) !important; border: 1px solid var(--ds-ayrac) !important; color: var(--fg) !important;
  padding: 26px 28px 24px !important; text-align: left; -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
html.ds.ds-sohbet[data-palette="mono"] .jarvis-welcome { filter: none; }   /* 25.730 gri filtresi degrade içindi; kart artık nötr */
html.ds.ds-sohbet .jarvis-welcome [style*="color:"] { color: inherit !important; }
html.ds.ds-sohbet .jarvis-welcome [style*="color:#64748B"], html.ds.ds-sohbet .jarvis-welcome [style*="color:#94A3B8"],
html.ds.ds-sohbet .jarvis-welcome em[style] { color: var(--fg-muted) !important; }
html.ds.ds-sohbet .jarvis-welcome strong[style], html.ds.ds-sohbet .jarvis-welcome span[style*="font-weight:600"] { color: var(--fg) !important; font-weight: 500 !important; }
html.ds.ds-sohbet .jarvis-welcome [style*="text-transform:uppercase"] { text-transform: none !important; letter-spacing: 0 !important; }
/* üst satır: etiket + motor yığını — küçük, 500, tek satır; yıldırım simgesi vurgu rengi; yeşil nokta rol rengi, parıltı yok */
html.ds.ds-sohbet .jarvis-welcome .jarvis-head { margin-bottom: 4px !important; gap: 6px 14px !important; }
html.ds.ds-sohbet .jarvis-welcome .jarvis-head > div:first-child {
  font-size: 12.5px !important; font-weight: 500 !important; letter-spacing: -.005em !important; color: var(--fg-muted) !important; white-space: nowrap;
}
html.ds.ds-sohbet .jarvis-welcome .jarvis-stack { font-size: 12.5px !important; letter-spacing: 0 !important; color: var(--fg-muted) !important; gap: 7px !important; }
html.ds.ds-sohbet .jarvis-welcome .jarvis-stack > span[style*="border-radius:50%"] { width: 7px !important; height: 7px !important; box-shadow: none !important; animation: none !important; background: #34C759 !important; }
html.ds.ds-sohbet .jarvis-welcome .jarvis-head + div { font-size: 12.5px !important; letter-spacing: 0 !important; margin-bottom: 18px !important; }
/* kahraman: ad + tanım ortada, gövde 15 px */
html.ds.ds-sohbet .jarvis-welcome h2 { text-align: center; font-size: 30px !important; font-weight: 600 !important; letter-spacing: -.022em !important; margin: 10px 0 10px !important; color: var(--fg) !important; }
html.ds.ds-sohbet .jarvis-welcome h2 + p { text-align: center; font-size: 15px !important; line-height: 1.55 !important; margin: 0 auto 20px !important; max-width: 56ch; text-wrap: balance; }
html.ds.ds-sohbet .jarvis-welcome h2 + p em[style] { font-style: normal; }
/* KPI ızgarası: tek renk, 600 tabular; etiket 12 px küçük harf; yükseltilmiş kart */
html.ds.ds-sohbet .jarvis-welcome div[style*="grid-template-columns"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px 10px !important; margin: 0 0 18px !important; padding: 16px 12px !important;
  background: var(--ds-yuk) !important; border: 1px solid var(--ds-ayrac) !important; border-radius: 14px !important;
}
html.ds.ds-sohbet .jarvis-welcome div[style*="font-size:20px"] { font-family: var(--ds-font-disp); font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.02em; color: var(--fg) !important; font-variant-numeric: tabular-nums; line-height: 1.15; }
html.ds.ds-sohbet .jarvis-welcome div[style*="font-size:9.5px"] { font-size: 12px !important; line-height: 1.3; margin-top: 3px; color: var(--fg-muted) !important; text-wrap: balance; }
/* pedagoji listesi: mavi şerit + zemin yerine sade liste; simgeler satır başı hizalı, satır aralığı 1,9 */
html.ds.ds-sohbet .jarvis-welcome div[style*="border-left"] {
  border-left: 0 !important; background: transparent !important; padding: 2px 0 !important; margin: 0 0 14px !important;
  font-size: 14px !important; line-height: 1.9 !important; color: var(--fg-muted) !important;
}
html.ds.ds-sohbet .jarvis-welcome p[style*="margin:14px 0 10px"] { font-size: 14px !important; line-height: 1.6 !important; margin: 0 0 14px !important; color: var(--fg-muted) !important; }
/* hibrit motor bloğu: sarı çerçeve/koyu zemin yerine yükseltilmiş nötr kart; motor adı 500 fg, açıklama 12,5 px muted */
html.ds.ds-sohbet .jarvis-welcome div[style*="rgba(251"] {
  background: var(--ds-yuk) !important; border: 1px solid var(--ds-ayrac) !important; border-radius: 14px !important; padding: 12px 16px !important;
  margin: 0 0 16px !important; font-size: 13.5px !important; line-height: 1.7 !important; color: var(--fg-muted) !important;
}
html.ds.ds-sohbet .jarvis-welcome span[style*="font-size:10px"] { font-size: 12.5px !important; color: var(--fg-muted) !important; }
/* 18 araç çipi: eşit 8 px ritim, ortalı; tek çip dili (.ds-rozet) */
html.ds.ds-sohbet .jarvis-welcome div[style*="gap:7px"] { gap: 8px !important; margin: 0 0 4px !important; padding-top: 2px; }
/* kapanış: normal ağırlık, muted, ortalı — eğik ve soluk değil */
html.ds.ds-sohbet .jarvis-welcome > p:last-of-type { text-align: center; font-style: normal !important; font-size: 13px !important; line-height: 1.6 !important; margin: 16px auto 0 !important; max-width: 64ch; color: var(--fg-muted) !important; }
html.ds.ds-sohbet .jarvis-welcome > p:last-of-type > span[style] { color: var(--fg-muted) !important; }
@media (max-width: 600px) {
  html.ds.ds-sohbet .msg-welcome { padding: 14px 4px 20px; }
  html.ds.ds-sohbet .jarvis-welcome { padding: 20px 18px 18px !important; border-radius: 16px !important; }
  html.ds.ds-sohbet .jarvis-welcome .jarvis-head { gap: 6px !important; }
  html.ds.ds-sohbet .jarvis-welcome .jarvis-head > div:first-child { font-size: 12px !important; }
  html.ds.ds-sohbet .jarvis-welcome .jarvis-stack { font-size: 12px !important; line-height: 1.6 !important; }
  html.ds.ds-sohbet .jarvis-welcome .jarvis-head + div { font-size: 12px !important; text-align: center; }
  html.ds.ds-sohbet .jarvis-welcome h2 { font-size: 28px !important; }
  html.ds.ds-sohbet .jarvis-welcome h2 + p { font-size: 15px !important; }
  html.ds.ds-sohbet .jarvis-welcome div[style*="grid-template-columns"] { gap: 14px 6px !important; padding: 14px 8px !important; }
  html.ds.ds-sohbet .jarvis-welcome div[style*="font-size:20px"] { font-size: 22px !important; }
  html.ds.ds-sohbet .jarvis-welcome div[style*="font-size:9.5px"] { font-size: 11.5px !important; }
  html.ds.ds-sohbet .jarvis-welcome div[style*="border-left"] { font-size: 14px !important; line-height: 1.7 !important; }
  html.ds.ds-sohbet .jarvis-welcome .ds-rozet { min-height: 30px; }
}

/* ── 20 · YÖNETİM PANELİ · SAĞLIK + telefon sekme şeridi (25.830-w37, ui_denetim panel_health: genel 2,0 · simge 1 · hizalama 2 ·
   bütünlük 2 · okunabilirlik 2 · tipografi 2). 5 cihaz ölçümü: telefon şeridi kapsülün İÇİNDEN kesiliyordu ("99)" yarım, "Maliye");
   "Gece koşusu" kartı sabah raporunun ham terminal metnini (emoji başlık, ════ ayraç, ◆ madde, monospace blok) olduğu gibi gömüyordu;
   kapı çipleri kutulu ✅/🔴 platform emojisi, 600 ağırlık; durum rozetleri nabızlı; iPad/PC'de 5 durum kartı 4'lü satıra düşüp bir
   boş hücre bırakıyordu; "⚠ … deploy oldu" uyarı satırları sarı metin + glif. Burada: telefonda kenardan kenara kayan hap dizisi
   (iOS Music/App Store filtre dili — sekme ekranın kenarında kesilir, kapsülde değil; "devamı var" doğal okunur), sabah raporu
   bölüm başlığı · ayraç · madde · satır yapısına çevrilir (fermat_ds.js raporBicimle — sözcükler aynen), çipler rengi taşıyan
   nokta/çizgi simgeyle 500 ağırlık, 5 kart her genişlikte boş hücresiz (6 sütunlu 3+2 ya da 5 sütun), uyarı satırı sarı simge +
   birincil metin, durum rozeti sabit nokta (nabız yok). */
@media (max-width: 700px) {
  html.ds.ds-panel .ds-serit { width: auto; max-width: none; margin: 0 -16px; }
  html.ds.ds-panel .ds-serit > .tab-row {
    width: 100%; max-width: none; padding: 2px 16px; gap: 8px; border-radius: 0; background: transparent; box-shadow: none;
    scroll-padding-inline: 16px;
  }
  html.ds.ds-panel .tab { background: var(--ds-pill) !important; border-radius: 999px; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .07) !important; }
  html.ds.ds-panel .tab:active { background: rgba(255, 255, 255, .14) !important; }
  html.ds.ds-panel .tab.active { background: var(--text) !important; color: var(--bg) !important; box-shadow: none !important; }
  html.ds.ds-panel .tab.active #unread-badge { color: var(--bg); opacity: .7; }
  /* solma: iki uçta eşit 40 px — hap zaten ekran kenarında kesildiği için hafif */
  html.ds.ds-panel .ds-serit.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  html.ds.ds-panel .ds-serit.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
  html.ds.ds-panel .ds-serit.ds-sl.ds-sr {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  }
}
/* başlık araç çubuğu: ölçüm damgası düğmelerle aynı dikey eksende ve aynı yükseklikte (tablet "sıkışık" ölçümü) */
html.ds.ds-panel #son-yenileme { display: inline-flex; align-items: center; min-height: 34px; margin-right: 0 !important; padding: 0 4px; font-size: 12.5px !important; }
@media (pointer: coarse) { html.ds.ds-panel #son-yenileme { min-height: 44px; } }
/* durum kartları ızgarası: boş hücre yok — ≤700 tek sütun · 701-1200 altı sütun (3 + 2 tam satır) · ≥1201 beş sütun */
@media (min-width: 701px) and (max-width: 1200px) {
  html.ds.ds-panel #tab-health .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html.ds.ds-panel #tab-health .grid > .card:not(.full) { grid-column: span 2; }
  html.ds.ds-panel #tab-health .grid > .card:not(.full):nth-child(4), html.ds.ds-panel #tab-health .grid > .card:not(.full):nth-child(5) { grid-column: span 3; }
}
@media (min-width: 1201px) { html.ds.ds-panel #tab-health .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* durum rozeti (ÇALIŞIYOR · OK · ONLINE): sabit nokta, 17 px / 600, Apple sistem renkleri; nabız/gölge yok */
html.ds.ds-panel .metric.status {
  font-family: var(--ds-font); font-size: 17px; font-weight: 600; letter-spacing: -.01em; gap: 8px; min-height: 32px; padding: 0 12px 0 10px;
  background: color-mix(in srgb, currentColor 11%, transparent);
}
html.ds.ds-panel .metric.status::before { width: 8px; height: 8px; animation: none; box-shadow: none; }
html.ds.ds-panel .metric.green { color: #30D158; }
html.ds.ds-panel .metric.red { color: #FF453A; }
html.ds.ds-panel .metric.yellow { color: #FFD60A; }
/* canlı sürüm karması = kod: monospace, 600, vurgu rengi (sekmedeki tek vurgu) */
html.ds.ds-panel #h-prod { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 24px !important; font-weight: 600; letter-spacing: 0; }
html.ds.ds-panel #tab-health .metric-label { font-size: 13.5px; line-height: 1.45; margin-top: 6px; }
/* çipler: rengi taşıyan nokta/çizgi simge (fermat_ds.js), 500 ağırlık, 26 px yükseklik; "izi YOK"/"--" nötr (yeşil değil) */
html.ds.ds-panel #tab-health .chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; font-family: var(--ds-font); font-size: 12.5px;
  font-weight: 500; letter-spacing: -.003em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums;
}
html.ds.ds-panel #tab-health .chip.ok { background: rgba(48, 209, 88, .12); color: #30D158; }
html.ds.ds-panel #tab-health .chip.bad { background: rgba(255, 69, 58, .13); color: #FF453A; }
html.ds.ds-panel #tab-health .chip.warn { background: rgba(255, 214, 10, .13); color: #FFD60A; }
html.ds.ds-panel #tab-health .chip.muted, html.ds.ds-panel #tab-health .chip[data-ds-durum="yok"] { background: rgba(255, 255, 255, .08); color: var(--muted); }
html.ds.ds-panel #tab-health .chip .ds-inl { width: 13px; height: 13px; margin: 0; vertical-align: 0; color: currentColor; flex: 0 0 auto; }
html.ds.ds-panel #tab-health .chip .ds-inl[data-ic="nokta"] { width: 9px; height: 9px; }
html.ds.ds-panel #tab-health .card h2 .chip { min-height: 22px; font-size: 12px; }
html.ds.ds-panel #h-kapi-an, html.ds.ds-panel #h-gece-an { font-size: 12.5px !important; opacity: 1 !important; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #h-kapilar { gap: 8px !important; }
/* bayatlık uyarısı: sarı çizgi simge + birincil metin (iOS uyarı satırı), yalnız dolu olduğunda yer kaplar */
html.ds.ds-panel #h-kapi-bayat, html.ds.ds-panel #h-gece-bayat { margin: 0 !important; }
html.ds.ds-panel #h-kapi-bayat:not(:empty), html.ds.ds-panel #h-gece-bayat:not(:empty) {
  display: flex; align-items: flex-start; gap: 7px; margin: 0 0 12px !important; font-size: 13.5px !important; line-height: 1.45; color: var(--text) !important;
}
html.ds.ds-panel #h-kapi-bayat .ds-inl, html.ds.ds-panel #h-gece-bayat .ds-inl { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; color: #FFD60A; }
/* karar listesi ve boş durumlar */
html.ds.ds-panel #h-kararlar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 9px 0 !important; font-size: 14px; line-height: 1.4; }
html.ds.ds-panel #h-kararlar > div > span[style] { font-size: 12.5px !important; opacity: 1 !important; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #tab-health .empty { font-size: 14px; padding: 18px 12px; }
html.ds.ds-panel #tab-health .empty .ds-inl, html.ds.ds-panel #h-kararlar .ds-inl[data-ic="onay"] { color: #30D158; width: 15px; height: 15px; }
/* sabah raporu: terminal bloğu değil okuma yüzeyi — sistem yazısı, bölüm başlığı (ikincil ton, 500) + çizgi simge, 24 px girintili
   satırlar, ◆ madde → nokta, ════ ayraç → saç teli çizgi + etiket; iç hizalama için satır içi boşluk korunur (pre-wrap) */
html.ds.ds-panel pre.rapor {
  font-family: var(--ds-font); font-size: 13.5px; line-height: 1.5; color: var(--text); background: rgba(0, 0, 0, .22);
  border: 1px solid var(--border); border-radius: 12px; padding: 6px 16px 14px; max-height: min(640px, 70vh); box-shadow: none;
  scrollbar-gutter: stable; overscroll-behavior: contain; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
html.ds.ds-panel pre.rapor:has(> .ds-rp) { white-space: normal; }
html.ds.ds-panel .ds-rp-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 4px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
html.ds.ds-panel .ds-rp-h .ds-inl { width: 16px; height: 16px; margin: 0; vertical-align: 0; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel .ds-rp-h .ds-rp-meta { font-weight: 400; }
html.ds.ds-panel .ds-rp-h .ds-rp-meta::before { content: "—"; margin-right: 8px; }
html.ds.ds-panel .ds-rp-t { margin-top: 8px; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
html.ds.ds-panel .ds-rp-t .ds-inl[data-ic="gunes"] { color: #FFD60A; }
html.ds.ds-panel .ds-rp-h .ds-inl[data-ic="onay"] { color: #30D158; }
html.ds.ds-panel .ds-rp-h .ds-inl[data-ic="uyari"] { color: #FFD60A; }
html.ds.ds-panel .ds-rp-l { position: relative; padding: 2px 0 2px 24px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
html.ds.ds-panel .ds-rp-l[data-d="1"] { padding-left: 44px; color: var(--muted); }
html.ds.ds-panel .ds-rp-li::before { content: ""; position: absolute; left: 10px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
html.ds.ds-panel .ds-rp-li[data-d="1"]::before { left: 30px; }
html.ds.ds-panel .ds-rp-ayrac { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px 24px; font-size: 12px; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
html.ds.ds-panel .ds-rp-ayrac::before, html.ds.ds-panel .ds-rp-ayrac::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--border); }
html.ds.ds-panel .ds-rp .ds-inl { width: 14px; height: 14px; vertical-align: -2px; margin: 0 1px 0 0; color: var(--muted); }
html.ds.ds-panel .ds-rp .ds-inl[data-ic="nokta"] { width: 9px; height: 9px; vertical-align: 0; margin: 0 3px 0 0; }
html.ds.ds-panel .ds-rp .ds-rp-l .ds-inl[data-ic="onay"] { color: #30D158; }
html.ds.ds-panel .ds-rp .ds-rp-l .ds-inl[data-ic="uyari"] { color: #FFD60A; }
html.ds.ds-panel .ds-rp .ds-vurgu { font-weight: 500; color: var(--text); }
html.ds.ds-panel .ds-rp .ds-kod { font-size: 12.5px; padding: 1px 6px; }
@media (max-width: 700px) {
  html.ds.ds-panel pre.rapor { padding: 4px 12px 12px; font-size: 14px; max-height: min(560px, 64vh); }
  html.ds.ds-panel .ds-rp-l { padding-left: 22px; }
  html.ds.ds-panel .ds-rp-l[data-d="1"] { padding-left: 36px; }
  html.ds.ds-panel .ds-rp-li[data-d="1"]::before { left: 24px; }
  html.ds.ds-panel .ds-rp-ayrac { margin-left: 22px; }
  html.ds.ds-panel #tab-health .chip { min-height: 30px; font-size: 13px; }
  html.ds.ds-panel .metric.status { font-size: 16px; }
}

/* ── 21 · KURUM OS · KOMUT PALETİ + üst çubuk ölçeği (25.830-w39, ui_denetim kos_palet: genel 2,12 · simge 1 · hizalama 2 ·
   okunabilirlik 2 · bütünlük 2 · renk 3). Ölçülen: Android tablette "5 çakışma" paletin ALTINDA kalan pano düğmeleriydi (katman
   örtmesi — geometri kapısı artık perdenin altını saymaz, ui_geometri w39); modül satırlarında platform emojisi (kenar menüsüyle iki
   simge dili yan yana); telefonda ipucu metni kelime ortasından kesik + 15 px giriş (iOS odakta yakınlaştırır); PC üst çubuğunda
   9,5-11,5 px etiketler. Spotlight dili: perde bulanıksız (hız bütçesi, filtre animasyonu yok), arama simgesi ön ekte, seçili satır
   vurgu tonlu DÜZ zemin (degrade yok), 44 px satır, ESC rozeti yalnız klavyeli cihazda, telefonda üstten sayfa (sheet) 10 px kenar.
   Metin/DOM/onclick aynen; ?ds=0 eski görünüm. */
html.ds.ds-kos .palette-wrap { background: rgba(8, 10, 16, .54); backdrop-filter: none; -webkit-backdrop-filter: none; }
html.ds.ds-kos[data-kos-theme="light"] .palette-wrap { background: rgba(28, 32, 44, .4); }
html.ds.ds-kos .palette-wrap.open { animation: ds-pal-perde .18s var(--ds-ease-out); }
html.ds.ds-kos .palette {
  width: 600px; border-radius: 16px; border-color: color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .55), 0 0 0 .5px rgba(0, 0, 0, .18);
  animation: ds-pal-gir .22s var(--ds-ease-out);
}
html.ds.ds-kos .palette-in { gap: 10px; padding: 12px 16px; }
html.ds.ds-kos .palette-in > span:first-child { color: var(--ink3) !important; display: inline-flex; align-items: center; flex: none; }   /* satır içi sarı ⌘ → tek renkli arama simgesi (araç çubuğu tek renk) */
html.ds.ds-kos .palette-in > span:first-child .ds-ic { width: 17px; height: 17px; vertical-align: 0; }
html.ds.ds-kos .palette-in input { font-family: var(--ds-font); font-size: 16px; min-width: 0; letter-spacing: -.01em; color: var(--ink); padding: 2px 0; }
html.ds.ds-kos .palette-in input::placeholder { color: var(--ink3); opacity: 1; }
html.ds.ds-kos .palette-in .kbd { font-family: var(--ds-font); font-size: 11px; font-weight: 500; padding: 3px 7px; border-radius: 6px; letter-spacing: .02em; flex: none; }
html.ds.ds-kos .palette-list { padding: 6px; scrollbar-gutter: stable; max-height: 56vh; overscroll-behavior: contain; }
html.ds.ds-kos .palette-item {
  gap: 12px; padding: 0 12px; min-height: 40px; font-size: 14px; font-weight: 400; color: var(--ink); border-radius: 10px;
  letter-spacing: -.005em; transition: background .12s var(--ds-ease-out);
}
html.ds.ds-kos .palette-item .pi-ic { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink2); flex: none; }
html.ds.ds-kos .palette-item .pi-ic .ds-ic { width: 18px; height: 18px; vertical-align: 0; }
html.ds.ds-kos .palette-item .pi-sub { font-size: 12px; color: var(--ink3); font-weight: 400; flex: none; }
html.ds.ds-kos .palette-item.sel, html.ds.ds-kos .palette-item:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
html.ds.ds-kos .palette-item.sel .pi-sub { color: var(--ink2); }
html.ds.ds-kos .palette-item:active { background: color-mix(in srgb, var(--accent) 22%, transparent); transition: none; }
html.ds.ds-kos .palette-empty { font-size: 13.5px; padding: 26px 16px; }
@keyframes ds-pal-perde { from { opacity: 0; } to { opacity: 1; } }
@keyframes ds-pal-gir { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
@media (pointer: coarse) {
  html.ds.ds-kos .palette-in .kbd { display: none; }        /* dokunmatik cihazda ESC tuşu yok; ipucu metnine yer açılır */
  html.ds.ds-kos .palette-item { min-height: 44px; }
}
@media (max-width: 760px) {
  html.ds.ds-kos .palette-wrap { padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 0; }
  html.ds.ds-kos .palette { width: 100%; max-width: none; border-radius: 18px; }
  html.ds.ds-kos .palette-in { padding: 10px 14px; }
  html.ds.ds-kos .palette-list { max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 10px - 58px - 20vh); }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos .palette-wrap.open, html.ds.ds-kos .palette { animation: none; } }

/* üst çubuk ölçeği (PC / iPad yatay): 9,5-11,5 px etiketler → 12-13,5 px; ⌘ kutusu dolgusuz tek renkli simge; ağırlık 500, seçili 600;
   rozet ve sezon kodu sistem yazısıyla, sayılar tabular */
html.ds.ds-kos .cmd { gap: 10px; padding: 7px 12px; border-radius: 11px; }
html.ds.ds-kos .cmd input { font-size: 13.5px; font-family: var(--ds-font); letter-spacing: -.005em; min-width: 0; }
html.ds.ds-kos .cmd input::placeholder { color: var(--ink3); opacity: 1; }
html.ds.ds-kos .cmd .mic { background: transparent; color: var(--ink3); width: 22px; height: 22px; font-size: 15px; flex: none; }
html.ds.ds-kos .cmd .mic .ds-ic { width: 16px; height: 16px; vertical-align: 0; }
html.ds.ds-kos .cmd .kbd { font-family: var(--ds-font) !important; font-size: 11px !important; font-weight: 500; padding: 2px 6px !important; letter-spacing: .02em; }
html.ds.ds-kos .brandmini b { font-size: 15px; }
html.ds.ds-kos .brandsub { font-size: 10px; }
html.ds.ds-kos .seasonsel button, html.ds.ds-kos .roles button { font-size: 12px; font-weight: 500; padding: 6px 10px; }
html.ds.ds-kos .seasonsel button b { font-family: var(--ds-font); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos .seasonsel button.on, html.ds.ds-kos .roles button.on { font-weight: 600; }
html.ds.ds-kos .pv-sel, html.ds.ds-kos .pv-exit { font-size: 12.5px; font-weight: 500; }
html.ds.ds-kos .pv-search-inp { font-size: 12.5px; }

/* ── 22 · KURUM OS · İK TALEPLER + segmented control (25.830-w42, ui_denetim kos_ik: genel 2,5 · hizalama 2 · okunabilirlik 2 ·
   dokunma 2 · bosluk 3 · bütünlük 3). Ölçülen: 7 sütunlu talep tablosu telefonda yalnız 3 sütun gösteriyordu (PROGRAM/DURUM/BİRİM
   ve "işle" eylemi görünmez, kaydırma ipucu yok), Android tablette (800 px, kenar menüsü açık) kart 492 px'e sıkışıp "işl" kesiliyordu,
   iPhone'da sağ alttaki FermatAI düğmesi 2. satırın telefon bağlantısına biniyordu (geometri kapısı: A × #aifab), sekme şeridi
   "Açık / (6)" diye iki satıra kırılıyordu, başlıklar büyük harf + 0,6 px aralık, ad hücresi 700.
   Burada: ≤1024 px'te tablo iOS liste satırı olur — ad (15/500) + durum rozeti sağda, telefon · program · birim ikinci satır, tarih ·
   eylem üçüncü satır; ETKİLEŞİMLİ öğeler (tel bağlantısı, "işle") durum sütununun SOLUNDA kalır → yüzen düğmenin şeridine (sağ 64 px)
   hiçbir dokunma hedefi girmez; dokunma kutuları 40 px (görsel satır sıkışmaz: eksi dış boşluk); ≥1025 px'te tablo kalır: başlıklar
   küçük harf 12/500, ad 500, tarih/telefon tabular, eylem çizgi ok ile; kart sığmazsa kart içinde yatay kayar (sayfa taşmaz).
   Segmented control (tüm Kurum OS): segment satır kırmaz, telefonda sığmazsa kayar + iki yönlü solma ipucu (ds-sl/ds-sr: fermat_ds.js),
   dokunmatikte 40 px. Metin, DOM, onclick aynen; ?ds=0 eski tablo. Özgüllük: app.css ≤760 "#main table{display:block;width:max-content}"
   (1,0,1) kuralını ezmek için seçicilerde #main zorunlu. */
/* 25.876 (Neo: "tek tek değil bütüncül"): yüzen FermatAI düğmesinin altında son satır kalmaması 4 ekrana ayrı ayrı yazılmıştı (ik/manuel/
   muhasebe/api) — Çalışmam'da yoktu. Tüm Kurum OS ekranlarına tek kural. */
html.ds.ds-kos #main { padding-bottom: 104px; }
html.ds.ds-kos[data-kos-mod="ik"] #main { padding-bottom: 104px; }   /* son satır kaydırma sonunda yüzen FermatAI düğmesinin altında kalmaz */

/* segmented control — iOS: tek satır, dengeli segmentler, basılı durum solma (zıplama yok) */
html.ds.ds-kos .seg { border-radius: 10px; padding: 3px; gap: 2px; min-width: 0; scrollbar-width: none; }
html.ds.ds-kos .seg::-webkit-scrollbar { display: none; }
html.ds.ds-kos .seg button {
  font-family: var(--ds-font); font-weight: 500; font-size: 12.5px; letter-spacing: -.005em; white-space: nowrap; border-radius: 8px;
  padding: 6px 12px; min-height: 32px; font-variant-numeric: tabular-nums; transition: background .16s var(--ds-ease), color .16s var(--ds-ease);
}
html.ds.ds-kos .seg button.on { font-weight: 600; }
html.ds.ds-kos .seg button:active { transform: none; opacity: .72; transition: none; }
@media (pointer: coarse) { html.ds.ds-kos .seg button { min-height: 40px; } }
@media (max-width: 760px) {
  html.ds.ds-kos .seg { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  html.ds.ds-kos .seg button { flex: 1 0 auto; padding: 6px 10px; scroll-snap-align: start; }
  html.ds.ds-kos .seg.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  html.ds.ds-kos .seg.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
  html.ds.ds-kos .seg.ds-sl.ds-sr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
}

/* tablo (≥1025 ve ortak): başlık küçük harf, ad 500, sayılar tabular, eylem = metin düğmesi + çizgi ok, 40 px dokunma kutusu (eksi dış boşluk → satır yüksekliği aynı) */
html.ds.ds-kos[data-kos-mod="ik"] #main .card:has(> table) { overflow-x: auto; scrollbar-width: thin; }
html.ds.ds-kos[data-kos-mod="ik"] #main .card > table { font-size: 13px; }
html.ds.ds-kos[data-kos-mod="ik"] #main th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); padding: 8px 10px; white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="ik"] #main td { padding: 10px; vertical-align: middle; line-height: 1.35; }
html.ds.ds-kos[data-kos-mod="ik"] #main td b { font-weight: 500; font-size: 13.5px; letter-spacing: -.005em; }
html.ds.ds-kos[data-kos-mod="ik"] #main td:first-child { font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="ik"] #main td a { text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.005em; -webkit-tap-highlight-color: transparent; }
html.ds.ds-kos[data-kos-mod="ik"] #main td a:active { opacity: .6; }
html.ds.ds-kos[data-kos-mod="ik"] #main td .muted .ds-inl { width: 12px; height: 12px; vertical-align: -2px; }
html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x {
  display: inline-flex; align-items: center; gap: 1px; min-height: 40px; margin: -10px 0; padding: 0 2px 0 6px; border-radius: 8px;
  font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  transition: opacity .14s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x::after {   /* çizgi ok (iOS açılma oku) — simge dili tek kalınlık */
  content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-.5px) rotate(-45deg); margin-left: 6px; margin-right: 6px; opacity: .72; flex: none;
}
html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x:hover { color: var(--ink); }
html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x:active { opacity: .55; transition: none; }

/* ≤1024: liste satırı ızgarası — sütunlar [ auto | 1fr | auto ]: 1. satır ad (1-2) · durum (3) / 2. satır telefon · program · birim /
   3. satır tarih · eylem (2, sağa yaslı). 3. sütun yalnız dokunulmayan rozet/etiket taşır → yüzen düğme şeridi hedef boş kalır. */
@media (max-width: 1024px) {
  html.ds.ds-kos[data-kos-mod="ik"] #main .card:has(> table) { overflow-x: visible; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table,
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > thead { display: none; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody > tr {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 5px; align-items: center;
    padding: 11px 4px; border-bottom: 1px solid var(--line); border-radius: 10px;
  }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody > tr:last-child { border-bottom: none; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody > tr:hover > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(2) { grid-column: 1 / 3; grid-row: 1; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(2) b { font-size: 15px; letter-spacing: -.01em; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(2) .muted { font-size: 12.5px !important; margin-top: 2px !important; line-height: 1.4; }   /* satır içi 11px → okunur */
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(5) { grid-column: 3; grid-row: 1; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(3) { grid-column: 1; grid-row: 2; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(3) a { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; font-size: 14px; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(4) { grid-column: 2; grid-row: 2; font-size: 13.5px; color: var(--ink2); overflow-wrap: anywhere; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(6) { grid-column: 3; grid-row: 2; justify-self: end; font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(6)::before { content: "Birim "; color: var(--ink3); }   /* başlık gizli → etiket hücrede (yalnız görünüm) */
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(6) .muted { font-size: inherit; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(1) { grid-column: 1; grid-row: 3; font-size: 12.5px; }
  html.ds.ds-kos[data-kos-mod="ik"] #main td:nth-child(7) { grid-column: 2; grid-row: 3; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .seg button, html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x { transition: none; }
}

/* ── 23 · KURUM OS · MANUEL İŞLEMLER + üst çubuk başlığı + sezon segmented control (25.830-w43, ui_denetim kos_manuel: genel 2,5 ·
   hizalama 2 · okunabilirlik 2 · simge 2 · tipografi 3 · bütünlük 3). Ölçülen: iPad/Android tablet/PC'de son görünür kartın sağa
   yaslı "Çalıştır" düğmesi yüzen FermatAI düğmesinin altında (geometri kapısı: .btn × #aifab, 6 cihaz/tema), iPhone/Android'de
   aynı düğme "son başarılı" satırını örtüyor; durum satırında yeşil kutulu ✅ platform emojisi, düğmede dolgulu ▶; "Kurum OS"
   başlığı sağda boş alan varken iki satıra kırılıyor (brandmini flex ile daralıyordu); sezon seçici iki ayrı hap, seçili teal dolgu.
   Burada: ≥1025 px kart genişliği ölçülü (satır uzunluğu) ve yüzen düğme şeridi (sağ 72 px) DIŞINDA kalır → hiçbir düğme şeride
   girmez; ≤1024 px'te eylem metnin altında sola yaslı (macOS Ayarlar "Yazılım Güncelleme" kartı dili), telefonda 44 px; #main alt
   boşluğu 104 px (kaydırma sonunda son kart yüzen düğmenin üstünde); satır başlığı 600→500/15 px, ikincil metin 11,5→12,5 px,
   durum satırı 13 px + rol renkli çizgi onay/uyarı (fermat_ds.js); düğme 600/13 px çizgi oynat simgesiyle, basılı durumda solma;
   üst çubuk markası nowrap + daralmaz; sezon seçici iOS segmented control (nötr yuva, seçili segment yükseltilmiş yüzey, metin
   ink; renk değil konum/etiket durumu taşır) — üst çubukta ve çekmecede aynı dil. Metin, DOM, onclick aynen; ?ds=0 eski görünüm. */
html.ds.ds-kos .top .brandmini { flex: 0 0 auto; }
html.ds.ds-kos .brandmini b { white-space: nowrap; }
html.ds.ds-kos .brandsub { white-space: nowrap; }

/* sezon seçici — iOS segmented control */
html.ds.ds-kos .seasonsel {   /* display yazılmaz: app.css telefonda (≤760) ve dar tablette (761-1100) üst çubuktaki kopyayı gizler — w45'te ölçüldü, inline-flex o gizlemeyi ezip iPhone'da yatay taşma üretiyordu */
  flex-wrap: nowrap; gap: 0; padding: 2px; border: none; border-radius: 9px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
html.ds.ds-kos .seasonsel button {
  position: relative; border: none; border-radius: 7px; padding: 5px 12px; min-height: 28px; font-size: 12.5px; font-weight: 500;
  letter-spacing: -.005em; color: var(--ink2); background: transparent; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: color .16s var(--ds-ease), background .16s var(--ds-ease), box-shadow .16s var(--ds-ease);
}
html.ds.ds-kos .seasonsel button b { font-family: var(--ds-font); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos .seasonsel button + button::before {   /* iOS segment ayracı: yalnız seçili olmayan komşular arasında */
  content: ""; position: absolute; left: -.5px; top: 7px; bottom: 7px; width: 1px; background: color-mix(in srgb, var(--ink) 16%, transparent);
}
html.ds.ds-kos .seasonsel button.on::before, html.ds.ds-kos .seasonsel button.on + button::before { display: none; }
html.ds.ds-kos .seasonsel button.on {
  background: var(--surface2); color: var(--ink); font-weight: 600; border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28), 0 0 0 .5px rgba(0, 0, 0, .06);
}
html.ds.ds-kos[data-kos-theme="light"] .seasonsel button.on { background: #fff; box-shadow: 0 1px 3px rgba(20, 30, 50, .16), 0 0 0 .5px rgba(0, 0, 0, .04); }
html.ds.ds-kos .seasonsel button:active { opacity: .7; transition: none; }
html.ds.ds-kos .drawer-controls .seasonsel { margin: 2px 10px 6px; padding: 2px; }
html.ds.ds-kos .drawer-controls .seasonsel button { border: none; background: transparent; }
html.ds.ds-kos .drawer-controls .seasonsel button.on { background: var(--surface2); }
html.ds.ds-kos[data-kos-theme="light"] .drawer-controls .seasonsel button.on { background: #fff; }
@media (pointer: coarse) { html.ds.ds-kos .seasonsel button { min-height: 36px; } }

/* Manuel İşlemler — kart ritmi, tipografi, eylem */
html.ds.ds-kos[data-kos-mod="manuel"] #main { padding-bottom: 104px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card { margin: 8px 0 0 !important; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card:first-child { margin-top: 0 !important; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card > h3 { font-size: 15px; color: var(--ink); gap: 8px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card > h3 > .ds-ic { width: 18px; height: 18px; color: #98989F; vertical-align: -4px; }   /* kenar menüsüyle aynı rol tonu */
html.ds.ds-kos[data-kos-mod="manuel"] #main .card > .muted { font-size: 13px; line-height: 1.5; max-width: 72ch; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] { gap: 12px 20px !important; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > div:first-child {
  font-weight: 500 !important; font-size: 15px; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > div:first-child .tag { font-weight: 500; font-size: 11px; color: var(--ink2); background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 2px 7px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > .muted { font-size: 12.5px !important; line-height: 1.45; margin: 4px 0 0 !important; max-width: 72ch; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > div:not(.muted):not(:first-child) {
  font-size: 13px !important; margin-top: 5px !important; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-variant-numeric: tabular-nums;
}
html.ds.ds-kos[data-kos-mod="manuel"] #main .card > div > div > .ds-ic { width: 15px; height: 15px; vertical-align: -3px; flex: none; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .tag.t-red { font-weight: 500; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .tag.t-gold { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-size: 12px; padding: 0 10px; min-height: 32px; border-radius: 8px; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .tag.t-gold > .ds-ic { width: 14px; height: 14px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 10px;
  font-family: var(--ds-font); font-size: 13px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  transition: opacity .14s var(--ds-ease), transform .08s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="manuel"] #main .btn > .ds-ic { width: 14px; height: 14px; stroke-width: 2; vertical-align: 0; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .btn:hover { filter: none; box-shadow: none; opacity: .92; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .btn:active { transform: scale(.97); opacity: .8; transition: none; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .btn:disabled { opacity: .45; cursor: default; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .card .tag.t-blue { display: inline-block; margin-top: 8px !important; font-weight: 500; font-size: 12px; padding: 4px 9px; }
@media (min-width: 1025px) {   /* ölçülü satır genişliği; yüzen FermatAI düğmesinin şeridi (sağ 72 px) kart dışında kalır */
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:last-child { align-self: center; padding-left: 4px; }
}
@media (max-width: 1024px) {   /* eylem metnin altında, sola yaslı — yüzen düğme şeridine dokunma hedefi girmez */
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] { flex-direction: column; gap: 10px !important; align-items: stretch; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child { flex: 1 1 auto; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:last-child { align-self: flex-start; }
}
@media (max-width: 760px) {
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card { padding: 15px 16px; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card > h3 { font-size: 16px; line-height: 1.3; text-wrap: balance; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > div:first-child { font-size: 16px; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > .muted { font-size: 13px !important; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .card[style*="display:flex"] > div:first-child > div:not(.muted):not(:first-child) { font-size: 13.5px !important; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .btn { min-height: 44px; padding: 0 18px 0 14px; font-size: 14px; }
  html.ds.ds-kos[data-kos-mod="manuel"] #main .tag.t-gold { min-height: 40px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .seasonsel button, html.ds.ds-kos[data-kos-mod="manuel"] #main .btn { transition: none; }
}

/* ── 24 · YÖNETİM PANELİ · GENEL + telefon araç çubuğu + şerit solması (25.830-w44, ui_denetim panel_overview: genel 2,5 ·
   hizalama 2 · okunabilirlik 2 · renk 3). 5 cihaz ölçümü: iPhone şeridinde "Kalite" harf ortasından kesik ve solma GÖRÜNMÜYOR
   (mask-image sarmalayıcıda WebKit'te çizilmiyor — panel_health "sonra" görüntüsünde de soldaki "e" kesik, solmasız); dört KPI
   dört ayrı doygun renkte (yeşil/turuncu/sarı/kırmızı — maliyet "hata" rengi taşıyor); telefon araç çubuğu flex-wrap ile
   iPhone'da 2+2, Android'de 3+1 dağılıyor; "ölçüm" damgasının ⟳ metin glifi çizgi simge setine oturmuyor.
   Burada: solma ipucu maske yerine sayfa zeminine OPAK degrade katman (kaydırmayan sarmalayıcıda ::before/::after — her motorda
   çizilir, iki uçta yalnız devamı varken); KPI sayıları birincil metin rengi (Apple Health/Stocks dili — renk yalnız rol taşıyan
   durumda), "Son 30 gün" etiketi ikincil ton 500; telefonda araç çubuğu 2×2 ızgara (tarih · ölçüm / Yenile · Sohbet — her
   telefonda aynı), ölçüm damgası + açılır ok çizgi simge (fermat_ds.js panelOlcum; metin/onclick aynen). ?ds=0 eski görünüm. */
html.ds.ds-panel body { -webkit-font-smoothing: antialiased; }
/* KPI: sayı birincil metin, 700 yalnız bu büyük göstergede; alt etiket ikincil; rol rengi (.status rozeti) korunur */
html.ds.ds-panel #tab-overview .kpi-row .metric:not(.status) { color: var(--text) !important; font-size: 34px; font-weight: 700; line-height: 1.1; margin: 2px 0 4px; }
html.ds.ds-panel #tab-overview .kpi-row .metric-label { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
html.ds.ds-panel #tab-overview .kpi-row .metric-label + .metric-label { margin-top: 6px !important; font-size: 12.5px !important; }
html.ds.ds-panel #tab-overview .kpi-row .card { padding: 18px 20px 20px; }
html.ds.ds-panel #tab-overview .kpi-row .card h2 { margin-bottom: 10px; }
/* tek vurgu: aralık etiketi ikincil ton (turuncu hap değil); vurgu rengi grafik çizgisinde ve marka "AI"da kalır */
html.ds.ds-panel .card h2 .rng-lbl { color: var(--muted); font-weight: 500; font-size: 12.5px; letter-spacing: 0; }
html.ds.ds-panel #tab-overview #trend-birim { font-size: 12.5px !important; opacity: 1 !important; color: var(--muted); }
html.ds.ds-panel #genel-kapsam { font-size: 12.5px !important; opacity: 1 !important; color: var(--muted); font-style: normal !important; line-height: 1.5; margin-top: 14px !important; }
/* ölçüm damgası: çizgi saat simgesi + tabular saat; açılır menü oku çizgi chevron (▾ glifi yerine) */
html.ds.ds-panel #son-yenileme { gap: 5px; color: var(--muted); }
html.ds.ds-panel #son-yenileme .ds-ic { width: 14px; height: 14px; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel .dd-btn .ds-ic[data-ic="asagi"] { width: 12px; height: 12px; margin-left: 1px; }
/* şerit solması: maske değil, zemin rengine opak degrade katman (yalnız devamı olan uçta) — telefon dışında da geçerli */
html.ds.ds-panel .ds-serit { position: relative; }
html.ds.ds-panel .ds-serit::before, html.ds.ds-panel .ds-serit::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 56px; pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity .2s var(--ds-ease);
}
html.ds.ds-panel .ds-serit::before { left: 0; background: linear-gradient(90deg, var(--bg) 18%, color-mix(in srgb, var(--bg) 60%, transparent) 55%, transparent); }
html.ds.ds-panel .ds-serit::after { right: 0; background: linear-gradient(270deg, var(--bg) 18%, color-mix(in srgb, var(--bg) 60%, transparent) 55%, transparent); }
html.ds.ds-panel .ds-serit.ds-sl::before, html.ds.ds-panel .ds-serit.ds-sr::after { opacity: 1; }
@media (max-width: 700px) {
  html.ds.ds-panel .ds-serit.ds-sl, html.ds.ds-panel .ds-serit.ds-sr, html.ds.ds-panel .ds-serit.ds-sl.ds-sr { -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-panel .tab-row { scroll-snap-type: x proximity; }   /* §15'teki zorunlu kilit parmağı geri çekmesin — yakınlık yeter */
  /* araç çubuğu: 2×2 ızgara — satır 1 tarih seçici · ölçüm damgası (sağa), satır 2 Yenile · Sohbet eşit yarım (iOS gruplu düğme) */
  html.ds.ds-panel header > div { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 8px !important; align-items: center; }
  html.ds.ds-panel header > div > .date-dd { grid-column: 1; min-width: 0; display: block; }
  html.ds.ds-panel header > div > .date-dd .dd-btn { width: 100%; justify-content: flex-start; }
  html.ds.ds-panel header > div > .date-dd .dd-btn #dd-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  html.ds.ds-panel header > div > #son-yenileme { grid-column: 2; justify-self: end; padding: 0; }
  html.ds.ds-panel header > div > button.refresh-btn { grid-column: 1; width: 100%; justify-content: center; }
  html.ds.ds-panel header > div > a.refresh-btn { grid-column: 2; width: 100%; justify-content: center; }
  html.ds.ds-panel #tab-overview .kpi-row .metric:not(.status) { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-panel .ds-serit::before, html.ds.ds-panel .ds-serit::after { transition: none; } }

/* ── 25 · KURUM OS · KOMUTA MERKEZİ + üst çubuk sığdırma + form öğeleri (25.830-w45, ui_denetim kos_dash: genel 2,0 · hizalama 2 ·
   bosluk 2 · okunabilirlik 2 · simge 2 · renk 3 · tipografi 3). Ölçülen: iPhone/iPad'de YATAY TAŞMA — telefonda §23'ün
   `display:inline-flex`i app.css'in üst çubuktaki sezon seçiciyi gizleyen kuralını eziyordu (w14 gerileme sınıfı; §23'te düzeltildi),
   iPad'de (1194 px) komut paleti kutusunun min-content'i (input'un öz genişliği ~160 px) + 200 px kişi arama + boş `.roles` hapı
   üst çubuğu 1087 px'e şişiriyordu; `select.inp` iOS WebKit'te yerel beyaz kutu + soluk gri yazı (koyu temada okunmuyor);
   telefonda/tablette "SINIF" etiketi satır sonunda yetim, seçici alt satırda; FermatAI kartı mor degrade + 10 kalın mor vurgu
   ("71 risk sinyali" mor, KPI'da kırmızı); gövde metninde 🤖 emojisi; veri damgasında 🟢 emojisi; yüzen düğme telefonda Risk kartının
   köşesine biniyor; PC çubuk grafiğinde x etiketleri 16 karakterde kırpılıyor. Burada: üst çubuk daralabilir (input width:0 →
   min-content 0, kişi arama clamp, boş hap gizli, sığmayan ipucu ÖLÇÜLEREK kısalır — fermat_ds.js kosSigdir); seçici iOS form dili
   (appearance:none, tema zemini/metni, çizgi chevron, dokunmatikte 44 px / 16 px → odakta yakınlaştırma yok); ≤1024 px'te
   parametre çubuğu 2 sütunlu etiket|kontrol ızgarası (iOS Ayarlar satırı — etiket yetim kalmaz, iki kart aynı sütun hizasında);
   FermatAI kartı nötr yüzey, vurgu 500/ink (hiyerarşi tonla), marka yalnız avatarda; satır içi 🤖/🟢/⚙ çizgi simge; KPI
   parıltısı yok; yüzen düğme telefonda zemin rengi halka (Apple Haritalar kontrol dili — kartın üstünde bilinçli katman);
   grafik etiketleri DS'de 21 karakter / 9,5 px (charts.js, yalnız html.ds). Metin, DOM, onclick, veri aynen; ?ds=0 eski görünüm. */

/* üst çubuk — daralabilir komut kutusu, boş hap yok, kişi arama ölçülü */
html.ds.ds-kos .top .cmd { min-width: 0; }
html.ds.ds-kos .cmd input { width: 0; flex: 1 1 0px; }   /* min-content katkısı 0 → kutu gerektiğinde simge + rozete kadar daralır */
html.ds.ds-kos .top .roles:empty, html.ds.ds-kos .top .personsel:empty { display: none; }
html.ds.ds-kos .top .pv-search { flex: 0 1 auto; min-width: 0; }
html.ds.ds-kos .top .pv-search-inp { width: clamp(132px, 14vw, 200px); max-width: 100%; }
html.ds.ds-kos .top .kos-thbtn { flex: none; }

/* seçici — iOS form öğesi: yerel stile bırakılmaz (30 Eyl iPhone ölçümü: koyu temada beyaz kutu) */
html.ds.ds-kos select.inp {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 32px 7px 12px; min-height: 34px; font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em;
  line-height: 1.3; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA8C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px 16px;
  transition: border-color .15s var(--ds-ease), box-shadow .15s var(--ds-ease);
}
html.ds.ds-kos[data-kos-theme="light"] select.inp {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344516A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
}
html.ds.ds-kos select.inp option { background: var(--surface); color: var(--ink); }
html.ds.ds-kos select.inp:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); outline: none; }
html.ds.ds-kos select.inp:active { background-color: var(--surface2); }
html.ds.ds-kos .parambar select.inp { width: auto; min-width: 150px; max-width: 100%; }

/* parametre çubuğu — etiketler iOS form dili (büyük harf + geniş aralık değil), ritim 8 pt */
html.ds.ds-kos .parambar { gap: 10px 12px; padding: 10px 14px; border-radius: 12px; }
html.ds.ds-kos .parambar .pl { text-transform: none; letter-spacing: -.005em; font-size: 12.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
html.ds.ds-kos .parambar .spacer { font-size: 12px; color: var(--ink3); display: inline-flex; align-items: center; gap: 6px; }
html.ds.ds-kos .parambar .spacer .ds-ic { width: 13px; height: 13px; vertical-align: 0; color: var(--ink3); }
html.ds.ds-kos .parambar:has(+ .parambar) { margin-bottom: 10px; }   /* ardışık iki filtre kartı tek grup gibi okunur */
@media (max-width: 1024px) {   /* etiket|kontrol ızgarası: etiket yetim kalmaz, DÖNEM/SINAV kartları aynı sütun çizgisinde */
  html.ds.ds-kos .parambar { display: grid; grid-template-columns: minmax(60px, max-content) minmax(0, 1fr); align-items: center; gap: 10px 12px; font-size: inherit; }
  html.ds.ds-kos .parambar .seg { justify-self: start; max-width: 100%; }
  html.ds.ds-kos .parambar select.inp { justify-self: start; min-width: 160px; }
  html.ds.ds-kos .parambar .spacer { grid-column: 1 / -1; margin-left: 0; justify-self: end; }
}
@media (pointer: coarse) {
  html.ds.ds-kos select.inp { min-height: 40px; font-size: 15px; }
}
@media (pointer: coarse) and (max-width: 760px) {
  html.ds.ds-kos select.inp { min-height: 44px; font-size: 16px; }   /* iOS odakta yakınlaştırmaz (<16 px zoom) */
  html.ds.ds-kos .parambar { padding: 12px 14px; }
}

/* veri damgası — çizgi nokta (rol rengi), nötr saç teli kenar */
html.ds.ds-kos .dstamp { gap: 7px; font-size: 12px; padding: 5px 11px; border-radius: 9px; border-color: var(--line); color: var(--ink2); letter-spacing: -.005em; }
html.ds.ds-kos .dstamp.ok, html.ds.ds-kos .dstamp.old { border-color: var(--line); }
html.ds.ds-kos .dstamp.old { color: var(--ink2); }
html.ds.ds-kos .dstamp .ds-ic { width: 10px; height: 10px; vertical-align: 0; margin-right: 0; }
html.ds.ds-kos .dstamp-row { margin: -2px 0 14px; }

/* FermatAI kartı — nötr yüzey, marka yalnız avatarda; vurgu tonla (500/ink), gövde 400; eylemler iOS çip */
html.ds.ds-kos .ai { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; gap: 12px; }
html.ds.ds-kos .ai .av { animation: none; border-radius: 10px; }
html.ds.ds-kos .ai .body { font-size: 13.5px; line-height: 1.55; letter-spacing: -.005em; color: var(--ink); max-width: 82ch; }
html.ds.ds-kos .ai .body b { color: var(--ink); font-weight: 500; }
html.ds.ds-kos .ai .body > b:first-child { font-weight: 600; }
html.ds.ds-kos .ai .body .muted { color: var(--ink3); font-size: 12.5px; }
html.ds.ds-kos .ai .body .ds-inl { width: 14px; height: 14px; vertical-align: -2px; color: var(--gold); margin: 0; }
html.ds.ds-kos[data-kos-accent="mono"] .ai { filter: none; }
html.ds.ds-kos[data-kos-accent="mono"] .ai .body .ds-inl { color: var(--ink); }
html.ds.ds-kos .ai .acts { gap: 8px; margin-top: 10px; }
html.ds.ds-kos .ai .acts span {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; font-weight: 500;
  letter-spacing: -.005em; color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); border: 1px solid transparent;
  transition: background .14s var(--ds-ease), opacity .14s var(--ds-ease);
}
html.ds.ds-kos .ai .acts span:hover { border-color: transparent; color: var(--ink); background: color-mix(in srgb, var(--ink) 11%, transparent); }
html.ds.ds-kos .ai .acts span:active { opacity: .7; transition: none; }
@media (pointer: coarse) { html.ds.ds-kos .ai .acts span { min-height: 40px; padding: 0 14px; } }

/* KPI — parıltı yok, açıklama okunur boy, sayı tabular */
html.ds.ds-kos .kpi .v { text-shadow: none !important; letter-spacing: -.02em; font-weight: 700; }
html.ds.ds-kos .kpi:hover .v { text-shadow: none !important; }
html.ds.ds-kos .kpi .d { font-size: 12px; margin-top: 4px; letter-spacing: -.005em; }
html.ds.ds-kos .card.kpi:hover { transform: none; }

/* yüzen FermatAI düğmesi — telefonda zemin rengi halka: kartın üstünde bilinçli katman, kenar çakışması değil */
@media (max-width: 760px) {
  html.ds.ds-kos .aifab { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: 14px; box-shadow: 0 0 0 5px var(--bg), 0 10px 28px -10px rgba(0, 0, 0, .6); }
  html.ds.ds-kos[data-kos-theme="light"] .aifab { box-shadow: 0 0 0 5px var(--bg), 0 10px 28px -12px rgba(20, 30, 50, .4); }
  html.ds.ds-kos .main { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos select.inp, html.ds.ds-kos .ai .acts span { transition: none; }
}

/* ── 26 · SOHBET ARŞİVİ (html.ds.ds-sohbet #archiveList) — 25.830-w46 (ui_denetim sohbet_arsiv: genel 2,38 · simge 1 · renk 2 ·
   bütünlük 2 · dokunma 3 · tipografi 3). Ölçülen: arşiv satırlarında platform emojisi (kategori 🔹, ⭐100 mavi rozet, 1️⃣ keycap,
   📄✏️🗑🔗📥 eylemler), 🔍 yer tutucu, turuncu dolgulu "📥 PDF indir" ile farklı yükseklikte "70 kayıt" etiketi, 600 ağırlıklı liste
   başlığı, dar aralıklı 20 px'lik eylem düğmeleri, sticky arama bandı çekmece zemininden farklı renkte. Onarım: fermat_ds.js
   arsivSimgele() tek çizgi simge diline çevirir; burada iOS liste dili — 15/400 başlık, 13/400 ikincil, tabular tarih, eylemler
   32 px (dokunmatikte 44 px) ikincil tonda, yalnız sil rol kırmızısı; arama alanı iOS search field; PDF/sayaç aynı 32 px hap. */
html.ds.ds-sohbet #archiveList > div[style*="sticky"] { padding: 6px 16px 10px !important; border-bottom-color: var(--ds-ayrac) !important; }
html.ds.ds-sohbet[data-theme="dark"] #archiveList > div[style*="sticky"] { background: #0E0E12 !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #archiveList > div[style*="sticky"] { background: #F2F2F7 !important; }
html.ds.ds-sohbet #archiveSearch.ds-arama {
  height: 36px; padding: 0 12px 0 32px !important; border: 0 !important; border-radius: 10px !important; font-size: 13.5px !important;
  letter-spacing: -.005em; color: var(--fg) !important; background-color: color-mix(in srgb, var(--fg) 7%, transparent) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><path d='M15.5 15.5L21 21'/></svg>");
  background-repeat: no-repeat; background-position: 10px center; background-size: 16px 16px; -webkit-appearance: none; appearance: none;
  transition: background-color .18s var(--ds-ease), box-shadow .18s var(--ds-ease);
}
html.ds.ds-sohbet #archiveSearch.ds-arama::placeholder { color: var(--fg-muted); opacity: 1; }
html.ds.ds-sohbet #archiveSearch.ds-arama:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
html.ds.ds-sohbet #archiveList .ds-pdf, html.ds.ds-sohbet #archiveList .ds-sayac {
  display: inline-flex !important; align-items: center; gap: 6px; height: 32px; padding: 0 12px !important; border-radius: 9px !important;
  font-family: var(--ds-font); font-size: 12.5px !important; font-weight: 500 !important; letter-spacing: -.005em; line-height: 1;
}
html.ds.ds-sohbet #archiveList .ds-pdf {
  color: var(--accent) !important; background: color-mix(in srgb, var(--accent) 12%, transparent) !important; border: 0 !important;
  transition: background .18s var(--ds-ease), opacity .18s var(--ds-ease);
}
html.ds.ds-sohbet #archiveList .ds-pdf:hover { background: color-mix(in srgb, var(--accent) 18%, transparent) !important; }
html.ds.ds-sohbet #archiveList .ds-pdf:active { opacity: .6; transition: none; }
html.ds.ds-sohbet #archiveList .ds-pdf .ds-ic { width: 15px; height: 15px; flex: 0 0 auto; }
/* exportArchivePdf() event.target okur: simgeye tıklanınca hedef düğme kalsın (svg olay almaz) — davranış aynen */
html.ds.ds-sohbet #archiveList .ds-pdf .ds-ic, html.ds.ds-sohbet #archiveList .ds-eylem .ds-ic, html.ds.ds-sohbet #archiveList .ds-kat .ds-ic,
html.ds.ds-sohbet #archiveList .ds-puan .ds-ic { pointer-events: none; }
html.ds.ds-sohbet #archiveList .ds-sayac { color: var(--fg-muted) !important; background: color-mix(in srgb, var(--fg) 7%, transparent) !important; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet #archiveList .ds-sayac:empty { display: none !important; }
/* satır: iOS liste — saç teli ayırıcı, başlık 15/400 birincil, önizleme 13/400 ikincil, tarih tabular */
html.ds.ds-sohbet #archiveList .history-item { padding: 11px 16px 8px 18px; border-bottom: 1px solid var(--ds-ayrac); transition: background .14s var(--ds-ease); }
html.ds.ds-sohbet #archiveList .history-item:hover { background: color-mix(in srgb, var(--ds-grup) 88%, var(--fg)); }
html.ds.ds-sohbet #archiveList .history-item:active { background: color-mix(in srgb, var(--ds-grup) 78%, var(--fg)); transition: none; }
html.ds.ds-sohbet #archiveList .history-item .date {
  display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 400; color: var(--fg); letter-spacing: -.01em; line-height: 1.3;
}
html.ds.ds-sohbet #archiveList .history-item .date .ds-kat { display: inline-flex; flex: 0 0 auto; color: var(--fg-muted); margin-top: 1px; }
html.ds.ds-sohbet #archiveList .history-item .date .ds-kat .ds-ic { width: 17px; height: 17px; }
html.ds.ds-sohbet #archiveList .history-item .date .ds-baslik { min-width: 0; overflow-wrap: anywhere; }
html.ds.ds-sohbet #archiveList .history-item .date .ds-sira { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--fg-muted); margin-right: 6px; }
html.ds.ds-sohbet #archiveList .history-item .date .ds-puan {
  display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; align-self: center; height: 20px; padding: 0 7px; border-radius: 7px;
  font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 7%, transparent);
}
html.ds.ds-sohbet #archiveList .history-item .date .ds-puan .ds-ic { width: 12px; height: 12px; }
html.ds.ds-sohbet #archiveList .history-item .preview { font-size: 13px; color: var(--fg-muted); margin-top: 3px; letter-spacing: -.003em; }
html.ds.ds-sohbet #archiveList .history-item .ds-etiket {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px !important; border-radius: 7px !important; font-size: 11px !important;
  font-weight: 500 !important; color: var(--fg-muted) !important; background: color-mix(in srgb, var(--fg) 7%, transparent) !important;
}
html.ds.ds-sohbet #archiveList .history-item .ds-etiket:hover { color: var(--fg) !important; }
html.ds.ds-sohbet #archiveList .history-item .meta { font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; min-height: 32px; }
html.ds.ds-sohbet #archiveList .history-item .meta > div { gap: 4px !important; margin-right: -8px; }
/* eylemler: ikincil tonda çizgi simge, 32 px hedef, basılı durum solma; yalnız sil rol kırmızısı */
html.ds.ds-sohbet #archiveList .history-item .ds-eylem {
  display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0 !important; border-radius: 8px;
  color: var(--fg-muted) !important; background: transparent !important; border: 0 !important; transition: background .14s var(--ds-ease), opacity .14s var(--ds-ease);
}
html.ds.ds-sohbet #archiveList .history-item .ds-eylem .ds-ic { width: 18px; height: 18px; }
html.ds.ds-sohbet #archiveList .history-item .ds-eylem:hover { background: color-mix(in srgb, var(--fg) 8%, transparent) !important; color: var(--fg) !important; }
html.ds.ds-sohbet #archiveList .history-item .ds-eylem:active { opacity: .55; transition: none; }
html.ds.ds-sohbet #archiveList .history-item .ds-eylem-sil { color: #FF453A !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #archiveList .history-item .ds-eylem-sil { color: #FF3B30 !important; }
html.ds.ds-sohbet #archiveList .history-item .ds-eylem-sil:hover { color: #FF453A !important; background: color-mix(in srgb, #FF453A 12%, transparent) !important; }
html.ds.ds-sohbet #archiveList .history-empty, html.ds.ds-sohbet #archiveItemsWrap > div:not(.history-item) { font-size: 13.5px; }
html.ds.ds-sohbet #archiveList .ds-inl { width: 15px; height: 15px; vertical-align: -3px; color: var(--fg-muted); }
@media (any-pointer: coarse) {
  html.ds.ds-sohbet #archiveSearch.ds-arama { height: 40px; font-size: 16px !important; }   /* iOS odakta yakınlaştırmaz */
  html.ds.ds-sohbet #archiveList .ds-pdf, html.ds.ds-sohbet #archiveList .ds-sayac { height: 36px; }
  html.ds.ds-sohbet #archiveList .history-item .ds-eylem { width: 44px; height: 44px; }
  html.ds.ds-sohbet #archiveList .history-item .meta { min-height: 44px; margin-top: 0; }
  html.ds.ds-sohbet #archiveList .history-item .meta > div { gap: 0 !important; margin-right: -12px; }
  html.ds.ds-sohbet #archiveList .history-item { padding-bottom: 4px; }
}
/* PC üst çubuğu: 2B Simülatör etiketi yalnız ekran okuyucuya gizliydi — komşuları etiketli, bu simge "tofu" okunuyordu; aynı dil */
@media (min-width: 1025px) {
  html.ds.ds-sohbet .chat-header .user .sim2d-btn .s2d-lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-sohbet #archiveSearch.ds-arama, html.ds.ds-sohbet #archiveList .ds-pdf, html.ds.ds-sohbet #archiveList .history-item,
  html.ds.ds-sohbet #archiveList .history-item .ds-eylem { transition: none; }
}

/* ── 27 · KURUM OS · MUHASEBE & RAPORLAR (25.830-w47, ui_denetim kos_muhasebe: genel 2,38 · hizalama 2 · okunabilirlik 2 · simge 2 ·
   renk 3 · tipografi 3 · bütünlük 3). Ölçülen: iPhone/iPad yatay taşma (üst çubuk sezon seçicisi — w45 §23/§25 ile ortak katmanda
   kapandı, burada yeni kural yok); "Kayıtlı öğrenci" açıklamasında 🏕 platform emojisi (cihaza göre çadır/kabak), Deneme Kulübü
   hücre/rozetlerinde 🎯, grafik ipuçlarında 💚/🔴/👆, arama alanında 🔎 yer tutucu, kalın alt başlıklarda 💠/📊, mutabakat kutusunda
   ⓘ; FermatAI özetinde her sayı mor+kalın (tek vurgu yok); mor tonlu FermatAI kartı + mavi tonlu Deneme Kulübü bandı (iki bilgi
   kartı iki rastgele renk); telefonda "Eyotek karşılığı" çipi üç sütuna kırılıyor (inline-flex metin düğümleri); yaşlandırma
   kovaları açık temada görünmez zemin; tablo satırı mor hover; 11,5 px dipnotlar. Burada: emoji → çizgi simge (fermat_ds.js:
   cadir/hedef/kisi/nokta, 👆 sökülür; 🔎 CSS simgesi); FermatAI özeti gövde ikincil ton + vurgu birincil 500 (hiyerarşi tonla —
   tüm Kurum OS); bilgi bandı FermatAI kartıyla AYNI nötr yüzey; çip telefonda tek blok; kovalar yüzey zemini + 500/600 tipografi
   (rol rengi kenar ve etikette kalır — gecikme bandı); iOS search field; satır hover nötr; dipnot 12 px; #main alt boşluğu 104 px
   (yüzen düğme). Metin, DOM, onclick, veri aynen; screens.js muhasebe() dokunulmadı; ?ds=0 eski görünüm. */
html.ds.ds-kos[data-kos-mod="muhasebe"] #main { padding-bottom: 104px; }

/* FermatAI özet — hiyerarşi kalınlıkla değil tonla: gövde ikincil, vurgu birincil 500 (tüm Kurum OS; §25'i inceltir) */
html.ds.ds-kos .ai .body { color: var(--ink2); }
html.ds.ds-kos .ai .body b { color: var(--ink); font-weight: 500; }
html.ds.ds-kos .ai .body > b:first-child { font-weight: 600; }

/* bilgi bandı — FermatAI kartıyla aynı aile: nötr yüzey, saç teli kenar; renk yalnız öncü simgede (rol) */
html.ds.ds-kos .banner-info {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  color: var(--ink2); font-size: 13px; line-height: 1.5; letter-spacing: -.005em;
}
html.ds.ds-kos .banner-info b { color: var(--ink); font-weight: 500; }
html.ds.ds-kos .banner-info > .ds-ic { width: 15px; height: 15px; color: var(--ink3); }

/* satır içi simgeler — KPI açıklaması ve grafik ipuçları (metin tonunu alır; nokta rol rengi) */
html.ds.ds-kos .kpi .d .ds-inl { width: 12px; height: 12px; vertical-align: -2px; margin: 0 1px 0 0; color: currentColor; }
html.ds.ds-kos .muted .ds-inl[data-ic="nokta"], html.ds.ds-kos .kpi .d .ds-inl[data-ic="nokta"] { width: 9px; height: 9px; vertical-align: 0; margin: 0 2px 0 0; }
html.ds.ds-kos td .ds-inl[data-ic="hedef"], html.ds.ds-kos .tag .ds-inl[data-ic="hedef"] { color: var(--ink3); }
html.ds.ds-kos .tag .ds-inl[data-ic="cadir"] { color: currentColor; }

/* Eyotek karşılığı çipi — telefonda tek blok (inline-flex metin düğümleri üç sütuna kırılıyordu) */
@media (max-width: 760px) {
  html.ds.ds-kos #main > .chip { display: block; width: auto; max-width: 100%; border-radius: 12px; padding: 8px 12px; line-height: 1.5; font-size: 12px; }
  html.ds.ds-kos #main > .chip > .ds-ic { vertical-align: -2px; margin-right: 5px; }
}

/* kalın alt başlıklar (Ciro dağılımı · Tahsilat oranı) — 600/13 px + çizgi simge */
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card div[style*="margin-top:16px;font-weight:700"],
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card div[style*="margin-top:12px;font-weight:700"] { font-weight: 600 !important; font-size: 13px; letter-spacing: -.005em; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card div[style*="font-weight:700"] > .ds-ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; color: var(--ink3); }

/* yaşlandırma kovaları — yüzey zemini (açık temada görünür), etiket 500, tutar 600 tabular; rol rengi kenar + etikette kalır */
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style] { background: var(--surface) !important; border-radius: 10px !important; padding: 10px 12px !important; transition: opacity .14s var(--ds-ease); }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style]:active { opacity: .7; transition: none; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style] > div:first-child { font-weight: 500 !important; font-size: 12px !important; letter-spacing: -.005em; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style] > div:nth-child(2) { font-weight: 600 !important; font-size: 17px !important; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style] > .muted { font-size: 11.5px !important; margin-top: 2px; }

/* tablo — satır hover nötr (mor değil), tutar 600; ara özet satırları 13 px */
html.ds.ds-kos tr.rowlink:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos tr.rowlink:hover td:first-child { box-shadow: none; }
html.ds.ds-kos td b { font-weight: 600; }
html.ds.ds-kos .fcline { font-size: 13px; padding: 7px 2px; letter-spacing: -.005em; }
html.ds.ds-kos .fcline b { font-family: var(--ds-font); font-weight: 600; font-variant-numeric: tabular-nums; }

/* dipnotlar okunur boy (11,5 → 12 px), mutabakat kutusu */
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card > .muted[style*="11.5px"],
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card > div[style*="font-size:11.5px"],
html.ds.ds-kos[data-kos-mod="muhasebe"] #main > .muted { font-size: 12px !important; line-height: 1.5; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card > div[style*="rgba(245"] { border-radius: 10px !important; }
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .card > div[style*="rgba(245"] > .ds-ic { width: 14px; height: 14px; vertical-align: -3px; margin-right: 5px; }

/* öğrenci arama — iOS search field (yer tutucu emojisi fermat_ds.js'te sökülür, simge burada) */
html.ds.ds-kos .lms-search.ds-arama {
  -webkit-appearance: none; appearance: none; padding-left: 34px; border-radius: 10px; font-family: var(--ds-font); font-size: 13.5px; letter-spacing: -.005em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA8C2' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><path d='M15.5 15.5L21 21'/></svg>");
  background-repeat: no-repeat; background-position: 11px center; background-size: 16px 16px;
  transition: border-color .15s var(--ds-ease), box-shadow .15s var(--ds-ease);
}
html.ds.ds-kos[data-kos-theme="light"] .lms-search.ds-arama {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344516A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='6.5'/><path d='M15.5 15.5L21 21'/></svg>");
}
html.ds.ds-kos .lms-search.ds-arama::placeholder { color: var(--ink3); opacity: 1; }
html.ds.ds-kos .lms-search.ds-arama:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
@media (pointer: coarse) { html.ds.ds-kos .lms-search.ds-arama { min-height: 44px; font-size: 16px; } }   /* iOS odakta yakınlaştırmaz */
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .lms-search.ds-arama, html.ds.ds-kos[data-kos-mod="muhasebe"] #main .grid.g4 > .rowlink[style] { transition: none; }
}

/* ── 28 · KURUM OS · İÇ-API / MİMARİ (25.830-w48, ui_denetim kos_api: genel 2,5 · hizalama 2 · okunabilirlik 2 · renk 3 · simge 3 ·
   tipografi 3 · bütünlük 3). Ölçülen: iPhone/iPad yatay taşması üst çubuktandı — §25'in ortak düzeltmesi (00:27) bu ölçümden (00:11)
   SONRA girdi; kayıt zinciri: 17:39-00:11 arası ölçülen 12 Kurum OS yüzeyinde var, §25 sonrası ölçülen dash/muhasebe'de yok. Sayfaya
   özgü: kenar çubuğundaki sezon segmenti 240 px sütunda kırpılıyor ("Geçen 2025.26" → "Geçen 2025"); .tscroll tabloları app.css
   `min-width:max-content` ile HİÇ sarmıyor — "Üretim olgunluğu"nda paragraf boyu hücreler tek satıra uzuyor, "Çekirdek uçlar"ın
   DURUM sütunu iPad'de kart kenarında kesik ve kaydırma ipucu yok; "Son gece koşusu" satırında 🌙 emojisi + açık temada gri bant
   (rgba(0,0,0,.15)); FermatAI özetinde metnin yarısı vurgulu (iki tonlu zebra); 🛡/🧠/🎯/⬡ başlık ve madde işaretleri. Burada: sezon
   segmenti çekmecede iki eşit parça (sığmazsa üç nokta, glif ortasından kesilmez); tablolar sarar (max-content yok), metot/uç/durum
   tek satır, ≤1024'te iOS liste satırı ızgarası [metot · uç · durum / işlev / kaynak] (§22 dili); kaydırılabilir tabloda kenar
   solması (fermat_ds.js kosSerit → .tscroll); durum satırı yüzey zemini + rol rengi kenar + çizgi ay (fermat_ds.js KOS_INL);
   özet tek ton (vurgu yalnız 500); madde işaretleri çizgi hedef; başlık 🛡→kilit, ⬡→cip, kuyruktaki ⬡ sökülür. Metin, DOM, onclick,
   veri aynen; app.js api() dokunulmadı; ?ds=0 eski görünüm. */
html.ds.ds-kos[data-kos-mod="api"] #main { padding-bottom: 104px; }   /* son kart kaydırma sonunda yüzen FermatAI düğmesinin altında kalmaz */

/* kenar çubuğu (çekmece) sezon segmenti — 240 px sütunda iki eşit parça; metin sığmazsa üç nokta (kırpma değil) */
html.ds.ds-kos .drawer-controls .seasonsel { margin: 2px 8px 6px; }
html.ds.ds-kos .drawer-controls .seasonsel button { flex: 1 1 0px; min-width: 0; padding: 5px 6px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
html.ds.ds-kos .drawer-controls .seasonsel button b { font-size: 12px; }
html.ds.ds-kos .drawer-controls .seasonsel button + button::before { left: 0; }   /* ayraç düğme kutusunun içinde kalır (overflow:hidden kırpmaz) */
html.ds.ds-kos .drawer-controls .pv-search-inp { width: 100%; }

/* FermatAI özeti — vurgu metnin yarısı: tek ton, vurgu yalnız ağırlıkla (500), açılış 600 */
html.ds.ds-kos[data-kos-mod="api"] .ai .body { color: var(--ink); }
html.ds.ds-kos[data-kos-mod="api"] .ai .body b { color: inherit; font-weight: 500; }
html.ds.ds-kos[data-kos-mod="api"] .ai .body > b:first-child { font-weight: 600; }

/* durum satırı — yüzey zemini (açık temada gri bant yok), rol rengi yalnız kenar + simgede */
html.ds.ds-kos[data-kos-mod="api"] #main > .muted[style*="border-left"] {
  background: var(--surface) !important; border: 1px solid var(--line); border-left: 3px solid var(--teal) !important; border-radius: 10px;
  padding: 10px 12px !important; margin-top: 10px !important; font-size: 13px; line-height: 1.45; color: var(--ink2); letter-spacing: -.003em;
}
html.ds.ds-kos[data-kos-mod="api"] #main > .muted[style*="border-left"] b { font-weight: 500; color: var(--ink); margin-right: 2px; }
html.ds.ds-kos[data-kos-mod="api"] #main > .muted[style*="border-left"] .ds-inl { width: 14px; height: 14px; vertical-align: -2px; color: var(--teal); }
html.ds.ds-kos[data-kos-mod="api"][data-kos-accent="mono"] #main > .muted[style*="border-left"] .ds-inl { color: var(--ink); }

/* tablolar — sarar (app.css min-width:max-content kalkar); başlık küçük harf 500; kod hücreleri (metot, uç, durum) tek satır */
html.ds.ds-kos[data-kos-mod="api"] #main .tscroll { scrollbar-width: thin; overscroll-behavior-x: contain; }
html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table { min-width: 0; width: 100%; font-size: 13px; }
html.ds.ds-kos[data-kos-mod="api"] #main th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; padding: 8px 10px; }
html.ds.ds-kos[data-kos-mod="api"] #main td { padding: 10px; vertical-align: top; line-height: 1.45; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="api"] #main td:first-child { white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(5) { white-space: nowrap; text-align: right; }
html.ds.ds-kos[data-kos-mod="api"] #main th:nth-child(5) { text-align: right; }
html.ds.ds-kos[data-kos-mod="api"] #main td[style*="var(--display)"] { font-size: 12.5px; white-space: nowrap; letter-spacing: 0; }   /* uç yolu = kod hücresi: mono kalır */
html.ds.ds-kos[data-kos-mod="api"] #main td.muted { font-size: 12.5px; }
html.ds.ds-kos[data-kos-mod="api"] #main td b { font-weight: 500; }
html.ds.ds-kos[data-kos-mod="api"] #main .tag { white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="api"] #main .tscroll + .muted { font-size: 12px; margin-top: 8px !important; }
/* kaydırılabilir kaldığı yerde (iPad/PC, geniş tablo) kenar solması — yalnız o yönde içerik varsa (sınıf fermat_ds.js kosSerit) */
html.ds.ds-kos #main .tscroll.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
html.ds.ds-kos #main .tscroll.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
html.ds.ds-kos #main .tscroll.ds-sl.ds-sr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

/* ≤1024: liste satırı ızgarası [ auto | 1fr | auto ] — uçlar: metot · uç · durum / işlev / kaynak; olgunluk: katman · etiket / gerekçe */
@media (max-width: 1024px) {
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table,
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > thead { display: none; }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > tbody > tr {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 4px; align-items: center;
    padding: 11px 2px; border-bottom: 1px solid var(--line);
  }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > tbody > tr:last-child { border-bottom: none; }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; }
  html.ds.ds-kos[data-kos-mod="api"] #main .tscroll table > tbody > tr:hover > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(1) { grid-column: 1; grid-row: 1; }
  html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(2) { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
  html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; font-size: 12px; overflow-wrap: anywhere; }
  html.ds.ds-kos[data-kos-mod="api"] #main td:nth-child(5) { grid-column: 3; grid-row: 1; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="api"] #main td b { font-size: 13.5px; letter-spacing: -.005em; }
}

/* katman çubukları — uzun etiket sarar, yüzde sabit ve tabular; madde listesi 13 px, işaretler çizgi hedef (ikincil ton) */
html.ds.ds-kos[data-kos-mod="api"] #main .rl { gap: 10px; align-items: baseline; font-size: 12.5px; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="api"] #main .rl span { min-width: 0; color: var(--ink2); }
html.ds.ds-kos[data-kos-mod="api"] #main .rl b { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="api"] #main .card > div[style*="line-height:1.7"] { font-size: 13px !important; line-height: 1.6 !important; letter-spacing: -.003em; color: var(--ink2); }
html.ds.ds-kos[data-kos-mod="api"] #main .card > div[style*="line-height:1.7"] b { font-weight: 500; color: var(--ink); }
html.ds.ds-kos[data-kos-mod="api"] #main .card > div[style*="line-height:1.7"] b[style*="gold2"] { font-weight: 600; font-size: 12px; letter-spacing: .01em; }   /* bölüm etiketi: tek vurgu rengi */
html.ds.ds-kos[data-kos-mod="api"] #main .card > div[style*="line-height:1.7"] .ds-inl { width: 13px; height: 13px; vertical-align: -2px; margin: 0 3px 0 0; color: var(--ink3); }
html.ds.ds-kos[data-kos-mod="api"] #main .card > h3 > .ds-ic { color: #98989F; }   /* kenar menüsündeki İç-API rol tonu (gri) */
html.ds.ds-kos[data-kos-mod="api"] #main .card > h3 .muted { font-weight: 400; }

/* ── 29 · YÖNETİM PANELİ · MALİYET (25.830-w49, ui_denetim panel_budget: genel 2,5 · okunabilirlik 1 · hizalama 2 · bosluk 3 ·
   dokunma 3 · tipografi 3). 5 cihaz ölçümü: 11 sütunlu bütçe tablosu telefon (393/412) ve dikey tablette (800) kartın içinde yatay
   taşıyor — "Cerebr", "Toplan" diye kesik başlık, Claude…Maliyet sütunları hiç görünmüyor (öncelik 1); telefon sekme şeridinde
   kaydırma sonrası sol kenarda yarım hap ("Kalite" kesik) ve sol solma yok — sağ solma çiziliyor (overview görüntüsü), sol solma
   yalnız JS sınıfına bağlıydı (öncelik 2); kaynak sayı hücreleri her satırda 600+ (strong) — KPI değil liste verisi (öncelik 2);
   sayı sütunları sola hizalı, ilk sütun 12 px içeride (paragraflarla aynı eksende değil). Burada: ≤900'de iOS liste satırı
   [isim · toplam / telefon · rol · maliyet / kaynak dökümü — sıfır kaynak gizli, etiket CSS'ten], ≥901'de sayı sütunları sağa,
   ilk/son sütun kart eksenine; gövde 400, Toplam 500 (tek vurgu), sıfırlar okunur ikincil ton; şerit solması scroll-driven
   animation ile JS'ten bağımsız (WebKit 26 / Chromium 116+; JS sınıfı yedek); açıklama satırı ölçülü satır uzunluğu (≤78ch).
   Metin, DOM, onclick, veri aynen; ?ds=0 eski görünüm. */
/* sekme şeridi solması: kaydırma konumu CSS'ten okunur — sol solma yalnız kaydırılmışken, sağ solma yalnız devamı varken */
html.ds.ds-panel .ds-serit { timeline-scope: --ds-serit; }
html.ds.ds-panel .ds-serit > .tab-row { scroll-timeline: --ds-serit inline; }
@supports (animation-timeline: scroll()) and (timeline-scope: --ds-serit) {
  html.ds.ds-panel .ds-serit::before { animation: dsSeritSol linear both; animation-timeline: --ds-serit; animation-range: 0px 48px; transition: none; }
  html.ds.ds-panel .ds-serit::after { animation: dsSeritSag linear both; animation-timeline: --ds-serit; animation-range: calc(100% - 48px) 100%; transition: none; }
}
@keyframes dsSeritSol { from { opacity: 0; } to { opacity: 1; } }
@keyframes dsSeritSag { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 700px) {
  /* telefonda hap dizisi 16 px iç boşluklu: sol solma kesik hapı 12 px'te tamamen örter, 40 px'te biter — duran hapın ilk harfi okunur */
  html.ds.ds-panel .ds-serit::before { background: linear-gradient(90deg, var(--bg) 12px, color-mix(in srgb, var(--bg) 55%, transparent) 26px, transparent 42px); }
  html.ds.ds-panel .ds-serit::after { background: linear-gradient(270deg, var(--bg) 12px, color-mix(in srgb, var(--bg) 55%, transparent) 26px, transparent 42px); }
}
/* açıklama satırları: ölçülü satır uzunluğu, vurgu 500 (kalın değil), "Diğer" italik yerine birincil ton */
html.ds.ds-panel #tab-budget .card > p { font-size: 13.5px !important; line-height: 1.5; max-width: 78ch; letter-spacing: -.003em; }
html.ds.ds-panel #tab-budget .card > p + p { font-size: 12.5px !important; margin: -4px 0 14px !important; }
html.ds.ds-panel #tab-budget .card > p strong { font-weight: 500; color: var(--text); }
html.ds.ds-panel #tab-budget .card > p em { font-style: normal; font-weight: 500; color: var(--text); }
/* tablo (≥901): sayı sütunları sağa ve tabular, ilk/son sütun kart eksenine; gövde 400, Toplam 500 tek vurgu, sıfır okunur ikincil */
html.ds.ds-panel #budget-table { font-size: 13.5px; }
html.ds.ds-panel #budget-table th { white-space: nowrap; font-weight: 500; }
html.ds.ds-panel #budget-table th:first-child, html.ds.ds-panel #budget-table td:first-child { padding-left: 0; }
html.ds.ds-panel #budget-table th:last-child, html.ds.ds-panel #budget-table td:last-child { padding-right: 0; }
html.ds.ds-panel #budget-table th:nth-child(n+4), html.ds.ds-panel #budget-table td:nth-child(n+4) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-panel #budget-table td:nth-child(1) { font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-panel #budget-table td:nth-child(3) { color: var(--muted); }
html.ds.ds-panel #budget-table td strong { font-weight: 400; color: var(--text); }
html.ds.ds-panel #budget-table td:nth-child(10) strong { font-weight: 500; }
html.ds.ds-panel #budget-table td > span[style*="opacity"] { opacity: .5 !important; }
html.ds.ds-panel #budget-table td.empty { text-align: center; }
/* ≤900 (telefon + dikey tablet): iOS liste satırı — isim · toplam / telefon · rol · maliyet / kaynak dökümü (sıfırlar gizli) */
@media (max-width: 900px) {
  html.ds.ds-panel #budget-table, html.ds.ds-panel #budget-table > tbody { display: block; width: 100%; max-width: 100%; }
  html.ds.ds-panel #budget-table > thead { display: none; }
  html.ds.ds-panel #budget-table > tbody > tr {
    display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 3px;
    padding: 11px 0 12px; border-bottom: 1px solid var(--border);
  }
  html.ds.ds-panel #budget-table > tbody > tr:last-child { border-bottom: 0; }
  html.ds.ds-panel #budget-table > tbody > tr > td:not([colspan]) { display: block; padding: 0; border: 0; min-width: 0; text-align: left; white-space: nowrap; }
  html.ds.ds-panel #budget-table > tbody > tr > td[colspan] { flex: 1 1 100%; }
  /* satır kırma noktaları: ::before 1. satırdan sonra, ::after 2. satırdan sonra */
  html.ds.ds-panel #budget-table > tbody > tr::before, html.ds.ds-panel #budget-table > tbody > tr::after { content: ""; flex: 0 0 100%; height: 0; }
  html.ds.ds-panel #budget-table > tbody > tr::before { order: 3; }
  html.ds.ds-panel #budget-table > tbody > tr::after { order: 7; }
  /* 1. satır: isim (birincil 15 px, sığmazsa üç nokta) · toplam (sağda, 500 vurgu) */
  html.ds.ds-panel #budget-table td:nth-child(2) { order: 1; flex: 1 1 0px; font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
  html.ds.ds-panel #budget-table td:nth-child(10) { order: 2; margin-left: auto; font-size: 15px; }
  /* 2. satır: telefon · rol (ikincil 13 px) · maliyet (sağda, tabular) */
  html.ds.ds-panel #budget-table td:nth-child(1) { order: 4; font-size: 13px; color: var(--muted); }
  html.ds.ds-panel #budget-table td:nth-child(3) { order: 5; font-size: 13px; }
  html.ds.ds-panel #budget-table td:nth-child(3)::before { content: "· "; color: var(--muted); }
  html.ds.ds-panel #budget-table td:nth-child(11) { order: 6; margin-left: auto; font-size: 13px; color: var(--muted); }
  /* 3. satır: kaynak dökümü — etiket sütun başlığından (thead gizli), sıfır olan kaynak gizli, sayı birincil ton */
  html.ds.ds-panel #budget-table td:nth-child(n+4):nth-child(-n+9) { order: 8; font-size: 12.5px; color: var(--muted); }
  html.ds.ds-panel #budget-table td:nth-child(n+4):nth-child(-n+9):has(> span[style*="opacity"]) { display: none; }
  html.ds.ds-panel #budget-table td:nth-child(4)::before { content: "Cerebras "; }
  html.ds.ds-panel #budget-table td:nth-child(5)::before { content: "Claude "; }
  html.ds.ds-panel #budget-table td:nth-child(6)::before { content: "Groq "; }
  html.ds.ds-panel #budget-table td:nth-child(7)::before { content: "Fast "; }
  html.ds.ds-panel #budget-table td:nth-child(8)::before { content: "Vision "; }
  html.ds.ds-panel #budget-table td:nth-child(9)::before { content: "Diğer "; }
  /* adı olmayan satır (sistem hesabı): telefon/kimlik 1. satıra çıkar, boş isim hücresi yer tutmaz */
  html.ds.ds-panel #budget-table > tbody > tr:has(> td:nth-child(2):empty) > td:nth-child(2) { display: none; }
  html.ds.ds-panel #budget-table > tbody > tr:has(> td:nth-child(2):empty) > td:nth-child(1) { order: 1; flex: 1 1 0px; font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-panel #budget-table > tbody > tr:has(> td:nth-child(2):empty) > td:nth-child(3)::before { content: none; }
}
@media (max-width: 900px) and (pointer: coarse) { html.ds.ds-panel #budget-table > tbody > tr { padding: 13px 0 14px; } }

/* ── 30 · KURUM OS · PERSONEL + halka lejantı (25.830-w50, ui_denetim kos_personel: genel 2,62 · dokunma 2 · hizalama 2 ·
   okunabilirlik 2 · simge 3). Ölçülen (00:07): iPhone/iPad yatay taşma üst çubuk sezon seçicisinden — §23/§25'in ortak düzeltmesi
   (00:27) bu ölçümden SONRA girdi, burada görünürlük kuralı yok (betik 5 cihazda yeniden ölçer); "Eyotek karşılığı" çipi §27'de
   (00:54) tek blok oldu. Yüzeye özgü: branş halkasının lejantı telefonda 150 px'lik dar sütunda halkanın yanına sıkışıyor ve sağ alt
   yüzen FermatAI düğmesi "Matematik 96 %28" satırının yüzdesini örtüyor (iPad'de "İngilizce 6 %2" aynı şeritte); lejant satırı
   24 px (dokunma hedefi değil); "⚖ Öğretmen yükü" başlığı platform emojisi (⚖ BMP'de, haritada yoktu → sökülmüyordu), 🍩 başlığı
   simgesiz kalıyordu; öğretmen tablosu telefonda kendi içinde yatay kayıyor (5 sütun, büyük harf başlık, 10,5 px 600 rozet).
   Burada: halka lejantı (tüm Kurum OS) yüzen düğme şeridi DIŞINDA kalır (sağda 48 px pay — §23'ün PC şeridi ilkesi), ≤600 px'te
   halka üstte ortalı + lejant tam genişlik (iOS Sağlık dili), satır 32/40/44 px, ad 400 · değer 500 · yüzde ikincil; kart başlığı
   14/500 ink + tek ton çizgi simge (terazi/halka — fermat_ds.js), ipucu 400; öğretmen tablosu ≤760'ta iOS liste satırı
   [ad · yük rozeti / branş · ders saati · etüt] (etiket CSS'ten, veri aynen), ≥761'de başlık küçük harf 12/500, satır 44 px
   dokunmatikte, rozet 11,5/500; dipnot 12 px; #main alt boşluğu 104 px. Eğik x-ekseni etiketleri BİLİNÇLİ kalır: 12 ad telefonda
   39 px sütuna yatay sığmaz (ölçüm: 9,5 px yazıda "Nurullah" 45 px), kısaltma adı bozar; charts.js w45 ölçüleri geçerli.
   Metin, DOM, onclick, veri aynen; screens.js personel() dokunulmadı; ?ds=0 eski görünüm. */
html.ds.ds-kos[data-kos-mod="personel"] #main { padding-bottom: 104px; }   /* son tablo kaydırma sonunda yüzen FermatAI düğmesinin altında kalmaz */

/* kart başlıkları — bölüm etiketi 14/500 ink (hiyerarşi tonla), çizgi simge tek ton (araç çubuğu dili), ipucu 400 ikincil */
html.ds.ds-kos[data-kos-mod="personel"] #main .card > h3 { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; gap: 7px; line-height: 1.35; }
html.ds.ds-kos[data-kos-mod="personel"] #main .card > h3 > .ds-ic { width: 17px; height: 17px; color: var(--ink3); vertical-align: -4px; flex: none; }
html.ds.ds-kos[data-kos-mod="personel"] #main .card > h3 .muted { font-weight: 400; font-size: 12.5px; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="personel"] #main .card > h3 .ds-ic[data-ic="ogretmen"] { color: var(--ink3); }
html.ds.ds-kos[data-kos-mod="personel"] #modal h3 > .ds-ic { width: 14px; height: 14px; vertical-align: -3px; margin-right: 5px; color: var(--ink3); }

/* halka lejantı (tüm Kurum OS) — satırlar yüzen düğme şeridine girmez; dokunulabilir satır; ad 400 · değer 500 · yüzde ikincil tabular */
html.ds.ds-kos #main .chartwrap.row { gap: 14px 24px; }
html.ds.ds-kos #main .chartwrap.row .clegend.col { padding-right: 48px; max-width: 460px; gap: 0; margin-top: 0; }
html.ds.ds-kos #main .clegend.col span { min-height: 32px; padding: 4px 8px; border-radius: 8px; font-size: 13px; letter-spacing: -.005em; color: var(--ink); transition: background .14s var(--ds-ease); }
html.ds.ds-kos #main .clegend.col span:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #main .clegend.col span[onclick]:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #main .clegend.col .lname { font-weight: 400; }
html.ds.ds-kos #main .clegend.col b { font-family: var(--ds-font); font-weight: 500; font-size: 13px; color: var(--ink); }
html.ds.ds-kos #main .clegend.col em { font-size: 12px; min-width: 38px; color: var(--ink3); }
html.ds.ds-kos #main .clegend.col i { width: 9px; height: 9px; border-radius: 50%; }   /* Apple Charts lejant noktası */
@media (pointer: coarse) { html.ds.ds-kos #main .clegend.col span[onclick] { min-height: 40px; } }
@media (max-width: 600px) {   /* telefon: halka üstte ortalı, lejant tam genişlik — 150 px'lik dar sütun yok */
  html.ds.ds-kos #main .chartwrap.row { flex-direction: column; align-items: stretch; gap: 10px; }
  html.ds.ds-kos #main .chartwrap.row > .chart { align-self: center; }
  html.ds.ds-kos #main .chartwrap.row .clegend.col { max-width: none; min-width: 0; flex: 1 1 auto; padding-right: 44px; }
}
@media (pointer: coarse) and (max-width: 760px) { html.ds.ds-kos #main .clegend.col span[onclick] { min-height: 44px; } }

/* öğretmen tablosu — başlık küçük harf 12/500, satır 44 px dokunmatikte, ad 400 ink, rozet 11,5/500, dipnot 12 px */
html.ds.ds-kos[data-kos-mod="personel"] #main th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; padding: 8px 10px; }
html.ds.ds-kos[data-kos-mod="personel"] #main td { padding: 10px; font-size: 13px; letter-spacing: -.003em; color: var(--ink); vertical-align: middle; }
html.ds.ds-kos[data-kos-mod="personel"] #main td b { font-weight: 500; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="personel"] #main td .av-s { vertical-align: middle; margin-right: 2px; font-family: var(--ds-font); font-weight: 600; }
html.ds.ds-kos[data-kos-mod="personel"] #main td .tag { font-size: 11.5px; font-weight: 500; padding: 3px 9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="personel"] #main > .muted { font-size: 12px; line-height: 1.5; letter-spacing: -.003em; max-width: 96ch; }
html.ds.ds-kos[data-kos-mod="personel"] #main > .muted b { font-weight: 500; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="personel"] #main tr.rowlink td { padding-top: 12px; padding-bottom: 12px; } }
@media (max-width: 760px) {   /* iOS liste satırı: ad · yük rozeti / branş · ders saati · etüt — app.css catch-all (#main table display:block + max-content) burada ezilir */
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table,
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > thead { display: none; }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody > tr {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 3px;
    padding: 11px 2px; border-bottom: 1px solid var(--line);
  }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody > tr:last-child { border-bottom: none; }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody > tr:hover > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="personel"] #main .card > table > tbody > tr::after { content: ""; order: 3; flex: 0 0 100%; height: 0; }   /* 1. satır burada biter */
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(1) { order: 1; flex: 1 1 0px; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(5) { order: 2; margin-left: auto; }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(2),
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(3),
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(4) { font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(2) { order: 4; padding-left: 34px; }   /* avatar (26 px + 8 px) hizası: branş adın altında aynı eksende */
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(3) { order: 5; }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(4) { order: 6; }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(3)::before,
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(4)::before { content: "· "; color: var(--ink3); }
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(4)::after { content: " etüt"; }   /* gizlenen sütun başlığı etikete döner (veri aynen) */
  html.ds.ds-kos[data-kos-mod="personel"] #main td:nth-child(3) b { color: var(--ink); }
  html.ds.ds-kos[data-kos-mod="personel"] #main tr.rowlink:active > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="personel"] #main tr.rowlink:active { opacity: .7; transition: none; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #main .clegend.col span { transition: none; } }
/* 25.G-ui (kos_personel: derinlik 3): "Yük dengesi" AA bölümü + çubuk grafiğin kurum ortalaması çizgisi + kart çıkarım cümlesi.
   Grafik kartları eşit yükseklikte; çıkarım kartın dibine oturur (sol kartta donut lejantı kadar boşluk kalmaz). */
html.ds.ds-kos[data-kos-mod="personel"] #main .grid.g2 > .card { display: flex; flex-direction: column; }
html.ds.ds-kos[data-kos-mod="personel"] #main .grid.g2 > .card > .aa-cikarim { margin-top: auto; }
html.ds.ds-kos[data-kos-mod="personel"] #main .aa-bolum { margin: 18px 0 14px; }
html.ds.ds-kos[data-kos-mod="personel"] #main .chart-ref-et { font-family: var(--ds-font); font-weight: 500; letter-spacing: -.003em; }

/* ── 31 · KURUM OS · REHBERLİK & PSİKOSOSYAL ANALİZ (25.830-w51, ui_denetim kos_rehberlik: genel 2,5 · hizalama 2 · okunabilirlik 2 ·
   tipografi 2 · dokunma 3 · simge 3). Ölçülen: Risk radarı tablosu iPad/Android tablette (kart 620-755 px) 5 sütunla max-content'e
   açılıyor, "Bileşenler" çipleri kart kenarında yarım harfte kesiliyor (.tscroll yatay kayıyor ama ipucu yok, sarma yok); telefonda
   app.css'in .ktbl blok düzeni Bileşenler hücresini inline-block yaptığı için çip satırı yine sağdan kesiliyor; üst çubuk komut kutusu
   iPad'de ⌘K rozetiyle birlikte 71 px'e sıkışıp "Komut paleti" bile yarım kalıyor; "📝 Görüşme Notu" düğmesi platform emojisi; öğrenci
   adları veri tabanındaki büyük harfle 700 ağırlıkta; derece filtresi 10 px/700 düz metin çipler, dokunma hedefi yok; alt sekmeler
   telefonda 2+1 sarıyor. Burada: tablo ≤1200 px'te iOS liste satırı — [ad · derece rozeti / puan+çubuk · son görüşme / bileşenler
   tam genişlik, sarar] (:has ile 5 sütunlu risk tablosu ve 4 sütunlu öncelik tablosu ayrı dizilir); ≥1201 px'te tablo kalır, başlık
   küçük harf 12/500, bileşenler sarar (min-width:max-content kalkar); ad Title Case 500 (fermat_ds.js kosAd — yalnız görünen biçim,
   veri/onclick aynen), sınıf etiketi 12 px ikincil; derece/bileşen çipleri 11,5-12 px 500 nötr zemin; filtre = iOS filtre hapları
   (32/40/44 px, seçili = ters renk, basılı durumda solma); alt sekmeler iOS segmented control (nötr yuva, seçili segment yükseltilmiş;
   telefonda sığmazsa kayar + kenar solması, fermat_ds.js kosSerit); üst çubuk ≤1280 px'te ⌘K rozetini gizler (dokunmatik iPad'de
   kısayol ipucu yok) → ipucu metni tam görünür; "Görüşme Notu" düğmesi çizgi not simgesi 600/13 px; satır basılı durumu; #main alt
   boşluğu 104 px. Görüşme notları sekmesinin 2fr/1fr ızgarası ≤1024'te tek sütun. Metin, DOM, onclick, veri aynen; ?ds=0 eski görünüm. */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main { padding-bottom: 104px; }

/* üst çubuk — dar tablette kısayol rozeti gizli: ipucu metni "Komut paleti" tam görünür (kosSigdir kısaltması yeterli alan bulur) */
@media (max-width: 1280px) { html.ds.ds-kos .top .cmd .kbd { display: none; } }

/* başlık eylemi — çizgi simge + 600/13 px, dokunmatikte 44 px; kart içi "Görüşme notu yaz" aynı dil */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .btn, html.ds.ds-kos[data-kos-mod="rehberlik"] #modal .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 10px;
  font-family: var(--ds-font); font-size: 13px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  transition: opacity .14s var(--ds-ease), transform .08s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .btn > .ds-ic, html.ds.ds-kos[data-kos-mod="rehberlik"] #modal .btn > .ds-ic { width: 15px; height: 15px; stroke-width: 2; vertical-align: 0; flex: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .btn:hover, html.ds.ds-kos[data-kos-mod="rehberlik"] #modal .btn:hover { filter: none; box-shadow: none; opacity: .92; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .btn:active, html.ds.ds-kos[data-kos-mod="rehberlik"] #modal .btn:active { transform: scale(.97); opacity: .8; transition: none; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main .head .sp .btn { min-height: 44px; } }

/* alt sekmeler — iOS segmented control; telefonda sığmazsa kayar (satır kırmaz), kenar solması kosSerit'ten */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs {
  display: flex; flex-wrap: nowrap; gap: 0; padding: 2px; margin-bottom: 14px; border-radius: 10px; width: max-content; max-width: 100%;
  background: color-mix(in srgb, var(--ink) 8%, transparent); overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs::-webkit-scrollbar { display: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: none; border-radius: 8px;
  background: transparent; color: var(--ink2); font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  scroll-snap-align: start; -webkit-tap-highlight-color: transparent;
  transition: color .16s var(--ds-ease), background .16s var(--ds-ease), box-shadow .16s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span + span::before {   /* segment ayracı: yalnız seçili olmayan komşular arasında */
  content: ""; position: absolute; left: -.5px; top: 8px; bottom: 8px; width: 1px; background: color-mix(in srgb, var(--ink) 16%, transparent);
}
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span.on::before, html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span.on + span::before { display: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span.on {
  background: var(--surface2); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .28), 0 0 0 .5px rgba(0, 0, 0, .06);
}
html.ds.ds-kos[data-kos-theme="light"][data-kos-mod="rehberlik"] #main .mod-tabs span.on { background: #fff; box-shadow: 0 1px 3px rgba(20, 30, 50, .16), 0 0 0 .5px rgba(0, 0, 0, .04); }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span:active { transform: none; opacity: .7; transition: none; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span { min-height: 40px; } }
@media (max-width: 760px) {
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs { width: auto; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs.ds-sl.ds-sr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
}

/* kart başlığı — bölüm etiketi 14/500 ink + tek ton çizgi simge, ipucu 400 ikincil */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > h3 { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; gap: 7px; line-height: 1.35; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > h3 > .ds-ic { width: 17px; height: 17px; color: var(--ink3); vertical-align: -4px; flex: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > h3 .muted { font-weight: 400; font-size: 12.5px; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > .muted { font-size: 12px; line-height: 1.5; letter-spacing: -.003em; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > .muted b { font-weight: 500; }

/* derece filtresi — iOS filtre hapları: 32 px (dokunmatikte 40/44), seçili = ters renk, basılı solma; kapsayıcı aralığı 8 px */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .card > div:has(> .tag[onclick^="SCREENS.rhFiltre"]) { gap: 8px !important; margin-bottom: 12px !important; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"] {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink2);
  font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; font-variant-numeric: tabular-nums; line-height: 1;
  -webkit-tap-highlight-color: transparent; transition: background .14s var(--ds-ease), color .14s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"]:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); color: var(--ink); }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"].t-gold { background: var(--ink); color: var(--bg); font-weight: 600; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"]:active { opacity: .7; transition: none; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"] { min-height: 40px; padding: 0 15px; } }
@media (pointer: coarse) and (max-width: 760px) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"] { min-height: 44px; } }

/* tablolar (ortak) — başlık küçük harf 12/500, ad 500 ink (Title Case kosAd), sınıf 12 px ikincil, rozetler 11,5/500, bileşen çipleri nötr, satır vurgusu nötr */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll { scrollbar-width: thin; overscroll-behavior-x: contain; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl { min-width: 0; width: 100%; font-size: 13px; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; padding: 8px 10px; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td { padding: 10px; font-size: 13px; letter-spacing: -.003em; color: var(--ink); vertical-align: middle; line-height: 1.35; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td:first-child > b { font-weight: 500; font-size: 13.5px; letter-spacing: -.005em; font-variant-numeric: normal; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td:first-child > .muted { font-size: 12px !important; color: var(--ink3); margin-top: 2px; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td > b[style*="color"] { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td .bar { height: 5px; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td .bar i { animation: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td .tag { font-size: 11.5px; font-weight: 500; letter-spacing: -.003em; padding: 3px 9px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td .tag:not([class*="t-"]) { font-size: 12px !important; color: var(--ink2); background: color-mix(in srgb, var(--ink) 6%, transparent); }   /* bileşen çipi: "akademik seyir +20" */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td > div[style*="flex-wrap:wrap"] { gap: 5px !important; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td.muted { font-size: 12.5px !important; color: var(--ink3); }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main td.muted b { font-weight: 500; font-size: inherit; }   /* "görüşme yok" (altın) puan sayısı gibi büyümez */
html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink { transition: background .12s var(--ds-ease); }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink:hover td:first-child { box-shadow: none; }
html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink:active { background: color-mix(in srgb, var(--ink) 8%, transparent); transition: none; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink td { padding-top: 12px; padding-bottom: 12px; } }
@media (max-width: 1024px) { html.ds.ds-kos[data-kos-mod="rehberlik"] #main .grid[style*="2fr 1fr"] { grid-template-columns: 1fr !important; } }

/* ≤1200: iOS liste satırı — app.css catch-all (#main table display:block + max-content) ve ≤760 .ktbl inline-block düzeni burada ezilir.
   5 sütun (risk radarı): [ad · derece] / [puan+çubuk · son görüşme] / [bileşenler, sarar]. 4 sütun (görüşme önceliği): [ad · öncelik] / [neden] / [açılış]. */
@media (max-width: 1200px) {
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll { overflow-x: visible; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl,
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > thead { display: none; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > tbody > tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: center;
    padding: 11px 4px; border-bottom: 1px solid var(--line); border-radius: 10px; width: auto;
  }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > tbody > tr:last-child { border-bottom: none; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > tbody > tr > td { display: block; width: auto; padding: 0; margin: 0; border: none; background: transparent; min-width: 0; font-size: 13px; color: var(--ink); }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl > tbody > tr:hover > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:first-child { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; margin-bottom: 0; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:first-child > b { font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:first-child > .muted { font-size: 12.5px !important; line-height: 1.4; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:nth-child(2) { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:nth-child(2) .bar { margin-top: 0 !important; width: 84px !important; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl td:nth-child(2) > b { min-width: 24px; }
  /* 5 sütun: derece sağ üst, son görüşme sağ 2. satır, bileşenler tam genişlik */
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:has(> td:nth-child(5)) > td:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:has(> td:nth-child(5)) > td:nth-child(5) { grid-column: 2; grid-row: 2; justify-self: end; white-space: nowrap; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:has(> td:nth-child(5)) > td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; min-width: 0 !important; }
  /* 4 sütun: öncelik sağ üst, neden ve açılış alt satırlar */
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:not(:has(> td:nth-child(5))) > td:nth-child(2) { grid-column: 2; grid-row: 1; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:not(:has(> td:nth-child(5))) > td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr:not(:has(> td:nth-child(5))) > td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; font-size: 12.5px !important; color: var(--ink2); }
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tscroll > table.ktbl tr.rowlink:active { opacity: .7; transition: none; background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .mod-tabs span, html.ds.ds-kos[data-kos-mod="rehberlik"] #main .btn,
  html.ds.ds-kos[data-kos-mod="rehberlik"] #main .tag[onclick^="SCREENS.rhFiltre"], html.ds.ds-kos[data-kos-mod="rehberlik"] #main tr.rowlink { transition: none; }
}

/* §w31 — Komuta Merkezi: özet ekranı + birleşik filtre grubu (Neo 2 Eki "basit olmuş"; sadeleştirme değil zenginlik) */
html.ds.ds-kos .ai.dash-hero {
  padding: 18px 18px 16px; border-radius: 18px; gap: 12px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gold) 15%, transparent), transparent 60%),
              radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--purple) 11%, transparent), transparent 65%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--gold) 20%, var(--line));
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 5%, transparent) inset, 0 12px 32px -18px rgba(0,0,0,.55);
}
html.ds.ds-kos[data-kos-theme="light"] .ai.dash-hero { box-shadow: 0 10px 28px -20px rgba(20,30,60,.35); }
html.ds.ds-kos .dash-hero .dh-sayi { font-family: var(--ds-font-disp); font-weight: 600; letter-spacing: -.035em; }
html.ds.ds-kos .dash-hero .dh-chip-v { font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos .dash-hero .dh-ust b { font-weight: 600; }
html.ds.ds-kos[data-kos-accent="mono"] .ai.dash-hero { background: var(--surface); border-color: var(--line); }
@media (max-width: 760px) {
  /* filtreler: iki ayrı kutu yerine tek iOS gruplu liste — satır arası saç teli, segment tam genişlik, ipucu satırı gizli */
  html.ds.ds-kos .parambar { grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; padding: 4px 14px; border-radius: 14px; }
  html.ds.ds-kos .parambar > .pl, html.ds.ds-kos .parambar > .seg, html.ds.ds-kos .parambar > select.inp { margin: 8px 0; }
  html.ds.ds-kos .parambar > .pl ~ .pl, html.ds.ds-kos .parambar > .pl ~ .pl + * { border-top: 0; }
  html.ds.ds-kos .parambar .seg { justify-self: stretch; width: 100%; display: flex; }
  html.ds.ds-kos .parambar .seg button { flex: 1 1 0; }
  html.ds.ds-kos .parambar select.inp { justify-self: stretch; width: 100%; min-width: 0; }
  html.ds.ds-kos .parambar .spacer { display: none; }
  html.ds.ds-kos .parambar:has(+ .parambar) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
  html.ds.ds-kos .parambar + .parambar { border-top-left-radius: 0; border-top-right-radius: 0; border-top-color: transparent;
    background-image: linear-gradient(var(--line), var(--line)); background-size: calc(100% - 28px) 1px; background-position: 14px 0; background-repeat: no-repeat; }
  html.ds.ds-kos .dstamp-row { margin: 8px 2px 14px; }
  html.ds.ds-kos .dstamp { border: 0; background: none; padding: 0; font-size: 12px; color: var(--ink3); }
}
html.ds.ds-kos .ai.dash-hero { display: block; }
html.ds.ds-kos .dash-hero .dh-ust .av { width: 26px; height: 26px; border-radius: 8px; }
html.ds.ds-kos .dash-hero .dh-ust .av .ds-ic { width: 15px; height: 15px; }

/* §w34 — AÇILIR LİSTE MENÜSÜ, her html.ds yüzeyi (yerel Windows listesi yerine; fermat_ds.js FDSMenu) */
html.ds .fds-menu { position: fixed; z-index: 2147483000; overflow-y: auto; overscroll-behavior: contain; padding: 5px; border-radius: 12px;
  background: var(--ds-grup, var(--surface, var(--card, #1C1C21)));
  border: 1px solid var(--ds-ayrac, color-mix(in srgb, var(--ink, var(--fg, #F5F5F7)) 11%, transparent));
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .18);
  font-family: var(--ds-font); color: var(--ink, var(--fg, var(--text, #F5F5F7)));
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity .16s var(--ds-ease), transform .16s var(--ds-ease);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 22%, transparent) transparent; }
html.ds .fds-menu.fds-yukari { transform-origin: bottom left; transform: translateY(4px) scale(.98); }
html.ds .fds-menu.fds-gorunur { opacity: 1; transform: none; }
html.ds .fds-menu.fds-kapaniyor { opacity: 0; transition-duration: .12s; }
html.ds .fds-menu::-webkit-scrollbar { width: 8px; }
html.ds .fds-menu::-webkit-scrollbar-track { background: transparent; }
html.ds .fds-menu::-webkit-scrollbar-thumb { background: color-mix(in srgb, currentColor 20%, transparent); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
html.ds .fds-baslik { padding: 8px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .55; }
html.ds .fds-oge { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 32px; padding: 6px 10px 6px 12px;
  border-radius: 8px; font-size: 13.5px; line-height: 1.25; cursor: pointer; white-space: nowrap; user-select: none; }
html.ds .fds-oge svg { width: 14px; height: 14px; flex: none; opacity: 0; color: var(--gold2, var(--accent, #0A84FF)); }
html.ds .fds-oge.fds-secili { font-weight: 600; }
html.ds .fds-oge.fds-secili svg { opacity: 1; }
html.ds .fds-oge.fds-odak { background: var(--ds-vurgu-zemin, color-mix(in srgb, currentColor 8%, transparent)); }
html.ds .fds-oge.fds-pasif { opacity: .4; cursor: default; }
html.ds .fs-pill.fds-acik-kaynak { background: color-mix(in srgb, var(--ink) 10%, var(--surface)); }
html.ds select.fds-acik-kaynak { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--gold, #0A84FF)) 22%, transparent); }
@media (prefers-reduced-motion: reduce) { html.ds .fds-menu { transition: none; transform: none; } }

/* ── 32 · SOHBET · ROL ÖNİZLEME (25.840, ui_denetim rol_ogrenci/ogretmen/mudur/yonetim_sohbet: genel 2,3-2,8 · simge 2 · zenginlik 1-2 ·
   derinlik 1-2 · okunabilirlik 2). Şerit: 🎭/🎓/↩ → çizgi simge (fermat_ds.js rolOnizleme), amber gradyan korunur ama ikincil metin
   okunur tonda; telefonda iki satır SOLA hizalı, düğme sağa (tek dikey eksen). Sohbetteki 🎭 paragrafı → önizleme kartı: rol künyesi,
   o role göre değişen beş katman (kardeş simgeler ayrı), yazma kilidi, rolün kendi kapsamı (gerçek sayılar: hazır soru + bölüm), hazır
   soru çipleri (dokunuş = çekmecedeki öğe), Admin'e dön. PWA rehberi/kurulum şeridi her genişlikte mesaj satırının ÜSTÜNDE
   (--ds-giris-h ölçülür). Tema düğmesindeki palet noktası bildirim sanılıyordu (zil yanında) → kaldırıldı; palet basılı tutmayla açılır. */
html.ds.ds-sohbet .chat-header .theme-toggle::before { content: none !important; }
html.ds.ds-sohbet #previewBanner {
  gap: 6px 12px !important; padding: 8px 16px !important; font-size: 13px !important; line-height: 1.35;
  background: linear-gradient(135deg, color-mix(in srgb, #FF9F0A 15%, var(--bg)), color-mix(in srgb, #FF9F0A 7%, var(--bg))) !important;
  border-bottom: 1px solid color-mix(in srgb, #FF9F0A 26%, transparent) !important;
}
html.ds.ds-sohbet #previewBanner > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
html.ds.ds-sohbet #previewBanner .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; }
html.ds.ds-sohbet #previewBanner .ds-onz-bas { font-weight: 600 !important; color: var(--fg); letter-spacing: -.01em; }
html.ds.ds-sohbet #previewBanner .ds-onz-bas .ds-ic { color: #FF9F0A; }
html.ds.ds-sohbet:not([data-theme="dark"]) #previewBanner .ds-onz-bas .ds-ic { color: #C76A00; }
html.ds.ds-sohbet #previewBanner .ds-onz-kilit { color: color-mix(in srgb, var(--fg) 74%, transparent) !important; font-size: 12px !important; }
html.ds.ds-sohbet #previewBanner .ds-onz-kilit .ds-ic { width: 13px; height: 13px; }
html.ds.ds-sohbet #previewBannerLabel { color: var(--fg) !important; }
html.ds.ds-sohbet .ds-onz-rol { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
html.ds.ds-sohbet .ds-onz-rol b { font-weight: 500; white-space: nowrap; }
html.ds.ds-sohbet .ds-onz-rol .ds-onz-kisi { color: color-mix(in srgb, var(--fg) 74%, transparent); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .ds-onz-rol .ds-onz-ayr { opacity: .5; }
html.ds.ds-sohbet #previewBanner .ds-onz-don {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 13px 0 10px !important; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 600 !important; letter-spacing: -.005em; transition: opacity .15s var(--ds-ease), transform .18s var(--ds-ease) !important;
}
html.ds.ds-sohbet #previewBanner .ds-onz-don .ds-ic { width: 14px; height: 14px; stroke-width: 2.1; color: #fff; }
html.ds.ds-sohbet #previewBanner .ds-onz-don:active { opacity: .7; transform: scale(.97); }
@media (max-width: 700px) {
  html.ds.ds-sohbet #previewBanner { justify-content: flex-start !important; padding: 8px 12px !important; }
  html.ds.ds-sohbet #previewBannerLabel { flex: 1 1 auto; overflow: hidden; }
  html.ds.ds-sohbet #previewBanner .ds-onz-don { margin-left: auto; min-height: 36px; }
}
/* önizleme kartı */
html.ds.ds-sohbet .msg.bot.ds-onz-kart {
  white-space: normal; width: min(560px, 100%); max-width: min(560px, 92%); box-sizing: border-box; padding: 16px !important;
  border-radius: 18px !important; border-bottom-left-radius: 6px !important; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, #FF9F0A 9%, var(--bot-bubble)) 0%, var(--bot-bubble) 58%) !important;
  border: 1px solid color-mix(in srgb, #FF9F0A 18%, var(--border)) !important; animation: ds-onz-gir .26s var(--ds-ease) both;
}
@keyframes ds-onz-gir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.ds.ds-sohbet .ds-onz-ust { display: flex; align-items: center; gap: 12px; }
html.ds.ds-sohbet .ds-onz-goz {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: #FF9F0A;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, #FF9F0A 22%, transparent), color-mix(in srgb, #FF9F0A 6%, transparent) 70%);
}
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-onz-goz { color: #C76A00; }
html.ds.ds-sohbet .ds-onz-goz .ds-ic { width: 22px; height: 22px; stroke-width: 1.7; }
html.ds.ds-sohbet .ds-onz-baslik { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html.ds.ds-sohbet .ds-onz-h { font-family: var(--ds-font-disp); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
html.ds.ds-sohbet .ds-onz-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13.5px; color: var(--fg-muted); min-width: 0; }
html.ds.ds-sohbet .ds-onz-alt .ds-onz-rol { color: var(--fg); }
html.ds.ds-sohbet .ds-onz-alt .ds-onz-rol .ds-ic { width: 15px; height: 15px; color: var(--accent); }
html.ds.ds-sohbet .ds-onz-alt .ds-onz-kisi { white-space: normal; }
html.ds.ds-sohbet .ds-onz-etiket { font-size: 12px; font-weight: 500; color: var(--fg-muted); letter-spacing: -.003em; margin-bottom: -4px; }
html.ds.ds-sohbet .ds-onz-faset { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds.ds-sohbet .ds-onz-faset span {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; color: var(--fg);
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}
html.ds.ds-sohbet .ds-onz-faset .ds-ic { width: 14px; height: 14px; color: var(--accent); }
html.ds.ds-sohbet .ds-onz-yazma { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-onz-yazma b { font-weight: 500; color: var(--fg); }
html.ds.ds-sohbet .ds-onz-yazma .ds-ic { width: 15px; height: 15px; color: #FF9F0A; }
html.ds.ds-sohbet .ds-onz-kapsam, html.ds.ds-sohbet .ds-onz-qp { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet .ds-onz-kapsam[hidden], html.ds.ds-sohbet .ds-onz-qp[hidden] { display: none; }
html.ds.ds-sohbet .ds-onz-sayi { display: flex; gap: 22px; }
html.ds.ds-sohbet .ds-onz-sayi div { display: flex; align-items: baseline; gap: 6px; }
html.ds.ds-sohbet .ds-onz-sayi b { font-family: var(--ds-font-disp); font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--fg); line-height: 1; }
html.ds.ds-sohbet .ds-onz-sayi span { font-size: 13px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-onz-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 6px; }
html.ds.ds-sohbet .ds-onz-soru {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 12px; text-align: left; cursor: pointer;
  font: inherit; color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent);
  transition: background .18s var(--ds-ease), transform .18s var(--ds-ease);
}
html.ds.ds-sohbet .ds-onz-soru:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
html.ds.ds-sohbet .ds-onz-soru:active { transform: scale(.98); background: color-mix(in srgb, var(--fg) 11%, transparent); }
html.ds.ds-sohbet .ds-onz-soru .dnav-icon { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; background: none; border: 0; box-shadow: none; }
html.ds.ds-sohbet .ds-onz-soru .dnav-icon svg { width: 20px; height: 20px; stroke-width: 1.7; }
html.ds.ds-sohbet .ds-onz-st { display: flex; flex-direction: column; min-width: 0; }
html.ds.ds-sohbet .ds-onz-st b { font-size: 14px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .ds-onz-st small { font-size: 12px; color: var(--fg-muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .ds-onz-cik {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .15s var(--ds-ease), transform .18s var(--ds-ease);
}
html.ds.ds-sohbet .ds-onz-cik .ds-ic { width: 15px; height: 15px; stroke-width: 2.1; }
html.ds.ds-sohbet .ds-onz-cik:active { opacity: .7; transform: scale(.97); }
html.ds.ds-sohbet .ds-onz-bitti .ds-onz-qp, html.ds.ds-sohbet .ds-onz-bitti .ds-onz-cik { opacity: .45; pointer-events: none; }
html.ds.ds-sohbet .ds-onz-don-ic { display: inline-flex; vertical-align: -3px; margin-right: 6px; color: var(--accent); }
html.ds.ds-sohbet .ds-onz-don-ic .ds-ic { width: 15px; height: 15px; }
@media (max-width: 600px) {
  html.ds.ds-sohbet .msg.bot.ds-onz-kart { max-width: 100%; width: 100%; }
}
/* PWA rehberi / kurulum şeridi: her genişlikte mesaj satırının üstünde (tablet ve PC'de de giriş kutusunu örtmez) */
html.ds.ds-sohbet #pwa-manual-guide, html.ds.ds-sohbet #pwa-install-banner { bottom: calc(var(--ds-giris-h, 72px) + 10px) !important; }
html.ds.ds-sohbet #pwa-manual-guide { max-height: calc(100dvh - var(--ds-giris-h, 72px) - 90px) !important; }

/* ── 30 · KURUM OS · SINAV & DENEME / Denemeler (ui_denetim kos_sinav: genel 2,59 · tipografi 2 · okunabilirlik 2 · derinlik 2 ·
   zenginlik 2). Telefonda 5 sütunlu tablo kartta taşıyordu ("TA" kesik başlık, kesik tarih) ve ad kelime ortasında kırpılıyordu
   (öncelik 1); ad satırları BÜYÜK HARF + 700 (öncelik 2); FAB son satırı örtüyordu. Çözüm: analiz bölümü (screens.js
   _denemeAnaliz, AA) + türe göre gruplu liste; ≤760 px satır = [ad … ort] / [tarih · tür · katılım] ızgarası (hiçbir sütun silinmez),
   ad tek satır + üç nokta (title = tam ad); liste ağırlığı 400, sayı 600; satır ayracı iki temada görünür ton. ── */
html.ds.ds-kos[data-kos-mod="sinav"] #main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }   /* FAB son satırı örtmez */
html.ds.ds-kos #main .dn-ipucu { font-size: 12.5px; margin: 0 2px 4px; color: var(--ink3); }
html.ds.ds-kos #main .dn-grup { display: flex; align-items: baseline; gap: 10px; margin: 16px 2px 2px; }
html.ds.ds-kos #main .dn-grup:first-of-type { margin-top: 8px; }
html.ds.ds-kos #main .dn-grup-ad { font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--ink); }
html.ds.ds-kos #main .dn-grup em { font-style: normal; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #main .dn-grup em b { font-weight: 600; color: var(--ink2); }
html.ds.ds-kos #main .dn-liste { scrollbar-gutter: auto; }
html.ds.ds-kos #main table.dn-tbl { width: 100%; min-width: 0; table-layout: auto; font-size: 13.5px; }
html.ds.ds-kos #main table.dn-tbl th { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #main table.dn-tbl td { border-bottom: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); vertical-align: middle; }
html.ds.ds-kos #main table.dn-tbl tr:last-child td { border-bottom: none; }
html.ds.ds-kos #main table.dn-tbl td.dn-ad { max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #main table.dn-tbl td.dn-ad > b { font-weight: 400; font-size: 14.5px; letter-spacing: -.01em; color: var(--ink); }
html.ds.ds-kos #main table.dn-tbl td.dn-tarih, html.ds.ds-kos #main table.dn-tbl td.dn-kat { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink2); }
html.ds.ds-kos #main table.dn-tbl td.dn-ort { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink2); text-align: right; }
html.ds.ds-kos #main table.dn-tbl td.dn-ort > b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #main table.dn-tbl .dn-fark { display: inline-block; min-width: 36px; margin-left: 6px; font-size: 11.5px; font-weight: 500; text-align: right; }
html.ds.ds-kos #main table.dn-tbl .dn-fark.aa-arti { color: var(--teal); }
html.ds.ds-kos #main table.dn-tbl .dn-fark.aa-eksi { color: var(--red); }
html.ds.ds-kos #main table.dn-tbl tr.rowlink { transition: background-color .18s cubic-bezier(.32,.72,0,1); }
html.ds.ds-kos #main table.dn-tbl tr.rowlink:active > td { background: color-mix(in srgb, var(--ink) 7%, transparent); transition: none; }
@media (max-width: 760px) {
  html.ds.ds-kos #main .dn-liste { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos #main table.dn-tbl, html.ds.ds-kos #main table.dn-tbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos #main table.dn-tbl > thead { display: none; }
  html.ds.ds-kos #main table.dn-tbl > tbody > tr {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; column-gap: 8px; row-gap: 5px; align-items: center;
    min-height: 44px; padding: 11px 2px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 11%, transparent);
  }
  html.ds.ds-kos #main table.dn-tbl > tbody > tr:last-child { border-bottom: none; }
  html.ds.ds-kos #main table.dn-tbl > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; max-width: none; width: auto; }
  html.ds.ds-kos #main table.dn-tbl td.dn-ad { grid-column: 1 / 4; grid-row: 1; }
  html.ds.ds-kos #main table.dn-tbl td.dn-ad > b { font-size: 15px; }
  html.ds.ds-kos #main table.dn-tbl td.dn-ort { grid-column: 4; grid-row: 1 / 3; align-self: center; font-size: 12.5px; line-height: 1.3; }
  html.ds.ds-kos #main table.dn-tbl td.dn-ort > b { font-size: 16px; }
  html.ds.ds-kos #main table.dn-tbl td.dn-ort .dn-fark { display: block; margin: 2px 0 0; min-width: 0; }
  html.ds.ds-kos #main table.dn-tbl td.dn-tarih { grid-column: 1; grid-row: 2; font-size: 12.5px; }
  html.ds.ds-kos #main table.dn-tbl td.dn-tur { grid-column: 2; grid-row: 2; }
  html.ds.ds-kos #main table.dn-tbl td.dn-tur .tag { font-size: 11px; padding: 1px 7px; }
  html.ds.ds-kos #main table.dn-tbl td.dn-kat { grid-column: 3; grid-row: 2; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #main table.dn-tbl tr.rowlink { transition: none; } }
/* 25.G-ui kos_sinav (4,27: bosluk 3): 4 öğeli özet 3 sütunlu ızgarada 1 dolu + 2 boş hücre bırakıyordu → 4'lü özet geniş kartta tek
   satır (4 sütun), dar ekranda 2×2; koyu temada ekran/bölüm başlığı saf beyaz değil #E6E6E9; kıyas listesinde deneme adı geniş ekranda
   kesilmez (sütun genişler, 2 satıra sarar), dar ekranda üç nokta + title = tam ad. */
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 761px) { html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-genis .aa-ozet:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Düzgün 4'lü ızgara düz gri karo dizisine dönmesin (zenginlik): ilk karo = manşet sayı (marka tonu + büyük ölçek), kardeşler tonlu
   yüzey (üstten hafif ışık) — odak noktası ve derinlik korunur. */
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) > div {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 8%, transparent), color-mix(in srgb, var(--ink) 4%, transparent));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 7%, transparent);
}
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) > div:first-child {
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 20%, transparent), color-mix(in srgb, var(--gold) 7%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 28%, transparent);
}
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) > div:first-child span { color: color-mix(in srgb, var(--gold) 75%, var(--ink)); }
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) > div:first-child b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-ozet:has(> div:nth-child(4):last-child) > div:not(:first-child) b { font-size: 18px; letter-spacing: -.015em; }
html.ds.ds-kos[data-kos-mod="sinav"]:not([data-kos-theme="light"]) .head h1,
html.ds.ds-kos[data-kos-mod="sinav"]:not([data-kos-theme="light"]) #main .aa-bas h2 { color: #E6E6E9; }
html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-bas h2 { font-weight: 600; text-wrap: balance; }
@media (min-width: 761px) {
  html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-kiyas-satir { grid-template-columns: minmax(96px, min(380px, 48%)) minmax(90px, 1fr) minmax(46px, auto); padding: 5px 0; }
  html.ds.ds-kos[data-kos-mod="sinav"] #main .aa-kiyas-ad > span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; text-wrap: pretty; }
}

/* ══ 25.G-ui — Etüt · kademe detayı · Etüt Yaz · İK talebi (ui_denetim kos_etut 2,59 · kos_ogrenci__kademeDetay 2,59 · kos_etut__openEtutYaz 2,59 ·
   kos_ik__ikAc 2,59; aynı sayfa ailesi). Ortak kusurlar: modal başlığındaki çizgi simge metne yapışık · düğme/çipte platform emojisi
   (fermat_ds.js kosGecis) · telefonda kapat düğmesi 30 px · sayı alanında platform döndürme oku · telefon modali tam ekran kutu (iOS sheet
   dili yok) · tablo sağ kenarda sessizce kesiliyor (.tscroll solması yalnız #main'deydi). Yüzeye özgü: Eyotek etüt tablosu ≤1100 px'te
   satır ızgarası (sütun kimliği data-k; konu sütunu var/yok fark etmez) · kademe tablosu telefonda ızgara + şube filtre çipleri ·
   Etüt Yaz formu bölüm başlıkları + seçim özeti · İK talebi durum/bekleme özeti. Davranış/veri aynen. ══ */
html.ds.ds-kos #modal .m-head h2 > .ds-ic:first-child { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; color: var(--ink2); flex: none; }
html.ds.ds-kos #main .head .sp .btn > .ds-ic, html.ds.ds-kos #main .card .btn > .ds-ic, html.ds.ds-kos #modal .btn > .ds-ic, html.ds.ds-kos #modal .qchip > .ds-ic {
  width: 15px; height: 15px; stroke-width: 2; vertical-align: -3px; margin-right: 6px; flex: none;
}
html.ds.ds-kos #modal .qchip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; text-decoration: none;
  font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--ink); -webkit-tap-highlight-color: transparent;
}
html.ds.ds-kos #modal .qchip:hover { transform: none; border-color: color-mix(in srgb, var(--ink) 24%, transparent); color: var(--ink); }
html.ds.ds-kos #modal .qchip:active { opacity: .65; transition: none; }
html.ds.ds-kos #modal .field > .fl { font-weight: 500; font-size: 12px; color: var(--ink3); letter-spacing: 0; }
html.ds.ds-kos #modal .field > .inp:not(input):not(select) { display: flex; align-items: center; min-height: 40px; font-weight: 400; color: var(--ink); }
html.ds.ds-kos #modal input[type="number"].inp { -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal input[type="number"].inp::-webkit-inner-spin-button, html.ds.ds-kos #modal input[type="number"].inp::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.ds.ds-kos #modal .tscroll { scrollbar-width: thin; overscroll-behavior-x: contain; }
html.ds.ds-kos #modal .tscroll.ds-sr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
html.ds.ds-kos #modal .tscroll.ds-sl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
html.ds.ds-kos #modal .tscroll.ds-sl.ds-sr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
html.ds.ds-kos #modal .aa-izgara .card { margin: 0; }
html.ds.ds-kos #modal .aa-ozet small { font-size: 11px; font-weight: 400; color: var(--ink3); margin-left: 3px; letter-spacing: 0; }
@media (pointer: coarse) {
  html.ds.ds-kos dialog#modal .m-x { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; font-size: 15px; }   /* 25.G-ui teacherDetail: HIG 44 pt */
  html.ds.ds-kos #modal .qchip { min-height: 44px; }
}
/* telefon: modal = iOS sheet — üst köşe yuvarlak, tutamaç, gövde kayar, eylem çubuğu altta sabit (safe-area) */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal[open] { display: flex; flex-direction: column; height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); margin: 12px 0 0; border-radius: 20px 20px 0 0; border: none; }
  html.ds.ds-kos dialog#modal .m-head { position: relative; flex: none; padding-top: 22px; }
  html.ds.ds-kos dialog#modal .m-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 36px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 22%, transparent); transform: translateX(-50%); }
  html.ds.ds-kos dialog#modal .m-body { flex: 1 1 auto; min-height: 0; max-height: none; overflow: auto; }
  html.ds.ds-kos dialog#modal .m-foot { flex: none; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* ── Etüt ekranı: Eyotek etüt tablosu ── */
html.ds.ds-kos[data-kos-mod="etut"] #main th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; padding: 8px 10px; }
html.ds.ds-kos[data-kos-mod="etut"] #main .etbl-kaydir { scrollbar-width: thin; overscroll-behavior-x: contain; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl { font-size: 13px; min-width: 0; width: 100%; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td { vertical-align: top; line-height: 1.4; padding: 10px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td b { font-weight: 500; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl .etut-ad { font-weight: 500; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="saat"] { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink2); width: 56px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogretmen"], html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="kaydeden"] { min-width: 150px; word-break: keep-all; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogrenci"] { min-width: 220px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogrenci"] > div { white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogrenci"] > div + div { margin-top: 4px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="n"] { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="yoklama"] { white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl tr.etbl-gun td { padding-top: 18px !important; font-size: 13.5px; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl tr.etbl-gun td b { font-weight: 600; }
html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl .tag { font-weight: 500; letter-spacing: 0; font-size: 11px; padding: 2px 8px; border-radius: 7px; }
html.ds.ds-kos[data-kos-mod="etut"] #main .aa-bolum { margin-top: 18px; margin-bottom: 14px; }
@media (max-width: 1100px) {
  html.ds.ds-kos[data-kos-mod="etut"] #main .etbl-kaydir { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl, html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > thead { display: none; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-gun { display: block; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-gun > td { display: block; padding: 20px 2px 6px !important; border: none; background: transparent; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-satir {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; align-items: start;
    padding: 11px 2px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-satir > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; width: auto; white-space: normal; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr:hover > td { background: transparent; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="saat"] { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.3; color: var(--ink); }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ders"] { grid-column: 1; grid-row: 2 / span 3; font-size: 12.5px; color: var(--ink2); line-height: 1.35; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogrenci"] { grid-column: 2; grid-row: 1; font-size: 14.5px; line-height: 1.3; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogretmen"] { grid-column: 2; grid-row: 2; font-size: 12.5px; color: var(--ink2); }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogretmen"]:not(:empty)::before { content: "Öğretmen · "; color: var(--ink3); }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="kaydeden"] { grid-column: 2; grid-row: 3; font-size: 12px; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="kaydeden"]:not(:empty)::before { content: "Kaydeden · "; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="konu"] { grid-column: 2; grid-row: 4; font-size: 12.5px; color: var(--ink2); }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="yoklama"] { grid-column: 3; grid-row: 1; justify-self: end; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="n"] { grid-column: 3; grid-row: 2; justify-self: end; font-size: 12.5px; color: var(--ink2); }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="n"]:not(:empty)::after { content: " öğr."; color: var(--ink3); }
}
@media (max-width: 760px) {
  /* 25.872: 56 px "Matematik"e yetmiyordu (sağdaki "Öğretmen"in üstüne biniyordu); 68 px tek kelimelik ders adlarına yeter, uzunu sarar */
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-satir { grid-template-columns: 68px minmax(0, 1fr) auto; column-gap: 10px; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl > tbody > tr.etbl-satir > td { overflow-wrap: anywhere; }
  html.ds.ds-kos[data-kos-mod="etut"] #main table.etbl td[data-k="ogrenci"] { font-size: 14px; }
  html.ds.ds-kos[data-kos-mod="etut"] #main .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Kademe detayı modali (Öğrenciler → kademe dilimi) ── */
html.ds.ds-kos #modal .kad-bas { margin-bottom: 4px; }
html.ds.ds-kos #modal .kad-bas .aa-ozet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
/* 25.878: çipler yalnız #modal içinde stilliydi — İç-API ana ekranında ham beyaz düğme çiziliyordu (Neo 18 Eki görüntüsü); her bağlamda */
html.ds.ds-kos .kad-cipler { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 14px; }
html.ds.ds-kos .kad-cip-et { font-size: 12px; color: var(--ink3); margin-right: 4px; }
html.ds.ds-kos .kad-cip {
  appearance: none; -webkit-appearance: none; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink2); font: 500 12.5px/1 var(--ds-font); letter-spacing: -.005em; min-height: 32px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; -webkit-tap-highlight-color: transparent;
  transition: background-color .16s var(--ds-ease), color .16s var(--ds-ease), border-color .16s var(--ds-ease);
}
html.ds.ds-kos .kad-cip b { font-weight: 500; color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos .kad-cip:hover { border-color: color-mix(in srgb, var(--ink) 24%, transparent); color: var(--ink); }
html.ds.ds-kos .kad-cip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
html.ds.ds-kos .kad-cip[aria-pressed="true"] b { color: inherit; opacity: .72; }
html.ds.ds-kos .kad-cip:active { opacity: .7; transition: none; }
html.ds.ds-kos #modal .kad-analiz { margin-bottom: 14px; }
html.ds.ds-kos #modal table.kad-tbl th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #modal table.kad-tbl td { font-size: 13.5px; vertical-align: middle; }
html.ds.ds-kos #modal table.kad-tbl td b { font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.kad-tbl td[data-k="sira"], html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"] { font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.kad-tbl td[data-k="trend"] { white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.kad-tbl td[data-k="trend"] > .ds-ic { width: 13px; height: 13px; vertical-align: -2px; stroke-width: 2.2; margin-right: 2px; }
/* 25.G-ui (kos_dash__sinifDetay: hizalama 2, okunabilirlik 2, tipografi 3): sınıf/düzey listesi kademe tablosuyla aynı dil —
   geniş ekranda sayısal sütunlar (Son TYT · Trend · Devamsız) başlığıyla birlikte SAĞA hizalı + tabular rakam, sıra sütunu dar ve
   soluk, başlık satırı kaydırmada yapışkan (modal içi liste 60vh kayar), satır dokunuşunda anında tepki. Veri/onclick aynen. */
html.ds.ds-kos #modal table.kad-tbl { border-collapse: separate; border-spacing: 0; }
html.ds.ds-kos #modal table.kad-tbl > thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); }
html.ds.ds-kos #modal table.kad-tbl th[data-k="sira"], html.ds.ds-kos #modal table.kad-tbl td[data-k="sira"] { width: 34px; color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.kad-tbl td[data-k="sube"] { color: var(--ink2); }
html.ds.ds-kos #modal table.kad-tbl td[data-k="ad"] { font-weight: 500; }
html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"] { color: var(--ink2); }
html.ds.ds-kos #modal table.kad-tbl tr.rowlink { cursor: pointer; transition: background-color .14s var(--ds-ease); }
@media (min-width: 761px) {
  html.ds.ds-kos #modal table.kad-tbl th[data-k="tyt"], html.ds.ds-kos #modal table.kad-tbl td[data-k="tyt"],
  html.ds.ds-kos #modal table.kad-tbl th[data-k="trend"], html.ds.ds-kos #modal table.kad-tbl td[data-k="trend"],
  html.ds.ds-kos #modal table.kad-tbl th[data-k="dev"], html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  html.ds.ds-kos #modal table.kad-tbl th[data-k="tyt"], html.ds.ds-kos #modal table.kad-tbl td[data-k="tyt"] { padding-left: 18px; }
  html.ds.ds-kos #modal table.kad-tbl th[data-k="dev"], html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"] { padding-right: 14px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="trend"] > .ds-ic { margin-right: 3px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="tyt"] b { font-size: 14px; }
}
html.ds.ds-kos #modal .kad-analiz .aa-kart h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos #modal .kad-analiz .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
@media (pointer: coarse) { html.ds.ds-kos #modal .kad-cip { min-height: 40px; padding: 0 14px; } }
@media (max-width: 900px) { html.ds.ds-kos #modal .kad-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  html.ds.ds-kos #modal .kad-liste { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos #modal table.kad-tbl, html.ds.ds-kos #modal table.kad-tbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos #modal table.kad-tbl > thead { display: none; }
  html.ds.ds-kos #modal table.kad-tbl > tbody > tr:not([hidden]) {   /* [hidden] = şube filtresi; UA display:none korunur (zorlama yok) */
    display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; column-gap: 10px; row-gap: 2px; align-items: center;
    min-height: 52px; padding: 9px 2px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  }
  html.ds.ds-kos #modal table.kad-tbl > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; width: auto; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="sira"] { grid-column: 1; grid-row: 1 / 3; color: var(--ink3); font-size: 12.5px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="ad"] { grid-column: 2; grid-row: 1; font-size: 15px; line-height: 1.3; display: flex; align-items: center; gap: 8px; min-width: 0; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="sube"] { grid-column: 2; grid-row: 2; font-size: 12.5px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="tyt"] { grid-column: 3 / 5; grid-row: 1; justify-self: end; font-size: 16px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="trend"] { grid-column: 3; grid-row: 2; justify-self: end; font-size: 12.5px; }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"] { grid-column: 4; grid-row: 2; justify-self: end; font-size: 12.5px; color: var(--ink2); }
  html.ds.ds-kos #modal table.kad-tbl td[data-k="dev"]:not(:empty)::before { content: "dev. "; color: var(--ink3); }
  html.ds.ds-kos #modal table.kad-tbl tr.rowlink:active > td { background: transparent; opacity: .7; transition: none; }
  html.ds.ds-kos #modal .kad-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Etüt Yaz formu: seçim özeti (odak) + bölüm başlıkları ── */
html.ds.ds-kos #modal .et-ozet { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
html.ds.ds-kos #modal .et-ozet:empty { display: none; }
html.ds.ds-kos #modal .et-cip { display: inline-flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; padding: 7px 12px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 5%, transparent); font-size: 13px; transition: background-color .18s var(--ds-ease); }
html.ds.ds-kos #modal .et-cip small { font-size: 10.5px; color: var(--ink3); letter-spacing: 0; }
html.ds.ds-kos #modal .et-cip > span { color: var(--ink3); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal .et-cip.on { background: color-mix(in srgb, var(--gold) 11%, transparent); }
html.ds.ds-kos #modal .et-cip.on > span { color: var(--ink); font-weight: 500; }
html.ds.ds-kos #modal .et-bolum + .et-bolum { margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
html.ds.ds-kos #modal .et-bolum-bas { font-size: 12px; font-weight: 500; color: var(--ink3); margin-bottom: 8px; letter-spacing: 0; }
html.ds.ds-kos #modal .okline { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--teal) 9%, transparent); font-size: 12.5px; }

/* ── İK talebi modali: durum/bekleme özeti + talep havuzu analizi ── */
html.ds.ds-kos #modal .ik-bas { margin-bottom: 14px; }
html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
html.ds.ds-kos #modal .ik-bas .aa-ozet b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal .ik-bas .aa-ozet b .tag { font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 3px 9px; border-radius: 7px; vertical-align: 1px; }
html.ds.ds-kos #modal .ik-analiz { margin-top: 16px; }
@media (max-width: 900px) { html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ══ 25.G-ui — Sınıf Panosu boş durumu · Geciken kova · Muhasebe · Manuel İşlemler + telefonda yüzen düğme (ui_denetim
   kos_ogrenci__sinifPano 2,5 · kos_muhasebe__gecikenKova 2,5 · kos_muhasebe 2,59 · kos_kocum 2,68 — aynı aile).
   ORTAK ölçülen: (1) bir yüzeyde açılan komut paleti/pencere sonraki modüle sızıyordu — fermat_ds.js kosKatmanTemizle (modül
   değişince pencere + palet kapanır; pencere açılınca palet kapanır); (2) telefonda sağ alttaki yüzen FermatAI düğmesi görüntü
   alanının altına düşen KPI/düğmeyi örtüyordu ("₺18.411.10", .btn × #aifab) — ≤600 px'te düğme iOS araç çubuğu dilinde ÜST
   çubuğa, tema düğmesinin soluna taşınır (içerik hiçbir kaydırma konumunda örtülmez; onclick aynen; tablet/PC'de yüzen düğme
   kalır); (3) modal boş durumu ve modal düğmelerinde platform emojisi → çizgi simge (fermat_ds.js). Yüzeye özgü kurallar altta. */

/* telefon: yüzen düğme → üst çubukta araç düğmesi (hamb/tema ile aynı 44 px aile) */
@media (max-width: 600px) {
  html.ds.ds-kos .aifab {
    top: 5px; bottom: auto; right: calc(11px + 44px + 8px); width: 44px; height: 44px; border-radius: 11px;
    background: var(--surface); color: var(--gold); border: 1px solid var(--line); box-shadow: none; z-index: 60;
  }
  html.ds.ds-kos[data-kos-theme="light"] .aifab { box-shadow: none; }
  html.ds.ds-kos .aifab .ds-ic { width: 20px; height: 20px; }
  html.ds.ds-kos .aifab:active { scale: .94; background: var(--surface2); }
  html.ds.ds-kos .top .brandmini { margin-right: auto; }   /* marka solda; tema düğmesi (44 px, sağ 11 px) ile yüzen düğme arasında 8 px — telefonda üst çubukta başka öğe yok (cmd/sezon/rol gizli) */
  html.ds.ds-kos #toasts { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }   /* altta yüzen düğme yok */
  html.ds.ds-kos .main { padding-bottom: 48px; }
  html.ds.ds-kos .aipanel { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) and (orientation: landscape) and (max-height: 480px) {
  html.ds.ds-kos .aifab, html.ds.ds-kos .top .kos-thbtn { top: 5px; }
}

/* ── Geciken kova modali (gk-*) ── */
html.ds.ds-kos #modal .gk-bas { margin-bottom: 4px; }
html.ds.ds-kos #modal .gk-bas .aa-ozet b .gk-odak { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
html.ds.ds-kos #modal .gk-bas .aa-ozet > div:first-child { background: color-mix(in srgb, var(--gold) 12%, transparent); }
html.ds.ds-kos #modal .gk-liste { margin-top: 14px; padding-bottom: 32px; }
html.ds.ds-kos #modal table.gk-tbl { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 0; }
html.ds.ds-kos #modal table.gk-tbl > thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); }
html.ds.ds-kos #modal table.gk-tbl td[data-k="ad"] { font-weight: 500; }
html.ds.ds-kos #modal table.gk-tbl td[data-k="sinif"], html.ds.ds-kos #modal table.gk-tbl td[data-k="vade"], html.ds.ds-kos #modal table.gk-tbl td[data-k="taksit"] { color: var(--ink2); }
html.ds.ds-kos #modal table.gk-tbl td[data-k="vade"], html.ds.ds-kos #modal table.gk-tbl th[data-k="vade"] { white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.gk-tbl tr.rowlink { cursor: pointer; transition: background-color .14s var(--ds-ease); }
html.ds.ds-kos #modal table.gk-tbl td[data-k="gun"] b { font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.gk-tbl td[data-k="tutar"] b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 761px) {
  html.ds.ds-kos #modal table.gk-tbl th[data-k="gun"], html.ds.ds-kos #modal table.gk-tbl td[data-k="gun"],
  html.ds.ds-kos #modal table.gk-tbl th[data-k="taksit"], html.ds.ds-kos #modal table.gk-tbl td[data-k="taksit"],
  html.ds.ds-kos #modal table.gk-tbl th[data-k="tutar"], html.ds.ds-kos #modal table.gk-tbl td[data-k="tutar"] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  html.ds.ds-kos #modal table.gk-tbl th[data-k="tutar"], html.ds.ds-kos #modal table.gk-tbl td[data-k="tutar"] { padding-right: 14px; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="tutar"] b { font-size: 14px; }
  /* kaydırılabilir modal gövdesi: altta solma ipucu (sticky) — liste yarım satırda "kesik" görünmez; sonda 32 px boşluğa oturur */
  html.ds.ds-kos #modal .m-body:has(.gk-liste)::after {
    content: ""; display: block; position: sticky; bottom: 0; height: 36px; margin: -36px 0 0; pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--surface) 85%);
  }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal .gk-liste { overflow-x: visible; -webkit-mask-image: none; mask-image: none; padding-bottom: 12px; }
  html.ds.ds-kos #modal table.gk-tbl, html.ds.ds-kos #modal table.gk-tbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos #modal table.gk-tbl > thead { display: none; }
  html.ds.ds-kos #modal table.gk-tbl > tbody > tr:not([hidden]) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center;
    min-height: 56px; padding: 9px 2px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  }
  html.ds.ds-kos #modal table.gk-tbl > tbody > tr > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; width: auto; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="ad"] { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="sinif"] { grid-column: 1; grid-row: 2; font-size: 12.5px; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="vade"] { grid-column: 1; grid-row: 3; font-size: 12px; color: var(--ink3); }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="vade"]:not(:empty)::before { content: "en eski vade "; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="tutar"] { grid-column: 2; grid-row: 1; justify-self: end; font-size: 16px; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="gun"] { grid-column: 2; grid-row: 2; justify-self: end; font-size: 13px; }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="taksit"] { grid-column: 2; grid-row: 3; justify-self: end; font-size: 12px; color: var(--ink3); }
  html.ds.ds-kos #modal table.gk-tbl td[data-k="taksit"]:not(:empty)::after { content: " taksit"; }
  html.ds.ds-kos #modal table.gk-tbl tr.rowlink:active > td { background: transparent; opacity: .7; transition: none; }
  html.ds.ds-kos #modal .gk-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .gk-bas .aa-ozet > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 900px) { html.ds.ds-kos #modal .gk-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Muhasebe: gelir yılı segmenti dar telefonda kırpılmaz (üç segment, eşit; "Tüm zamanlar" ölçülü 12 px) ── */
@media (max-width: 440px) {
  /* 25.872: eşit pay (flex 1 1 0 + min-width 0) "Tüm zamanlar"ı düğmesinden 4 px taşırıyordu — uzun etiket payını içeriğe göre alır */
  html.ds.ds-kos[data-kos-mod="muhasebe"] #main .parambar .seg button { padding: 6px 4px; font-size: 12px; letter-spacing: -.01em; flex: 1 1 auto; min-width: max-content; white-space: nowrap; }
}
html.ds.ds-kos[data-kos-mod="muhasebe"] #main .aa-bolum { margin-top: 14px; }

/* ── Sınıf Panosu boş durumu (modal): bilgi bandı + analiz ızgarası ── */
html.ds.ds-kos #modal .banner-info { display: flex; align-items: flex-start; gap: 8px; }
html.ds.ds-kos #modal .banner-info > .ds-ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ink3); }
html.ds.ds-kos #modal .kad-bas + .banner-info { margin-top: 10px !important; }
html.ds.ds-kos #modal .kad-analiz + div > .btn { margin-top: 6px; }

/* ── Manuel İşlemler: özet çipleri + konu grupları (macOS Ayarlar bölüm başlığı) ── */
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-bas { margin: 12px 0 4px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-bas .aa-ozet { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 0; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-bas .aa-ozet b { font-size: 17px; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-grup { margin-top: 18px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-grup-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px 6px; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-grup-bas h2 { font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--ink2); margin: 0; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-grup-bas span { font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="manuel"] #main .man-grup .card:first-of-type { margin-top: 0 !important; }
@media (max-width: 900px) { html.ds.ds-kos[data-kos-mod="manuel"] #main .man-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { html.ds.ds-kos[data-kos-mod="manuel"] #main .man-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal table.gk-tbl tr.rowlink { transition: none; } }

/* ── 25.G-ui · Kurum OS modal ortak: açılış odağı sheet'te (✕ üzerinde kalıcı halka yok) · başlık bloğu · içerik boyu sheet ── */
html.ds.ds-kos dialog#modal:focus, html.ds.ds-kos dialog#modal:focus-visible { outline: none; }
html.ds.ds-kos #modal .m-head { gap: 12px; }
html.ds.ds-kos #modal .m-head h2 { font-weight: 600; letter-spacing: -.015em; line-height: 1.3; text-wrap: balance; min-width: 0; }
html.ds.ds-kos #modal .m-head .m-x { flex: none; align-self: center; }
html.ds.ds-kos #modal .m-body { scrollbar-width: thin; scrollbar-gutter: stable; }
/* KPI tutarı: dar ₺ glifi (Android yedek yazı tipi) negatif aralıkla rakama biniyordu */
html.ds.ds-kos #modal .kpi .v { letter-spacing: 0; }
@media (max-width: 760px) {
  html.ds.ds-kos #modal .m-head h2 { font-size: 16.5px; }
  /* form/özet sheet'i içeriği kadar uzar (iOS orta boy sheet); uzun listeler tam boy kalır */
  html.ds.ds-kos dialog#modal[open]:has(.kay-baglam), html.ds.ds-kos dialog#modal[open]:has(.bilay-kpi) { height: auto; margin: auto 0 0; }
}

/* Öğrenci kaydı: form altında kayıt bağlamı (kadro dağılımı) */
html.ds.ds-kos #modal .kay-baglam { margin-top: 20px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
html.ds.ds-kos #modal .kay-baglam .aa-izgara > .aa-ozet { grid-column: 1 / -1; margin: 0; }
html.ds.ds-kos #modal .kay-baglam .aa-bolum { margin: 0; }

/* Ay kasa özeti: kıyas analizi + vadeye inen kontroller + kaynak dipnotu */
html.ds.ds-kos #modal .bilay-analiz { margin: 4px 0 12px; }
html.ds.ds-kos #modal .bilay-analiz .aa-ozet { margin-bottom: 10px; }
html.ds.ds-kos #modal .bilay-git { margin: 4px 0 8px; }
html.ds.ds-kos #modal .bilay-kaynak { font-size: 12px; line-height: 1.45; color: var(--ink3); padding-bottom: 8px; }

/* Borç bandı listesi (gk-tbl ailesi + ödenen sütunu) */
html.ds.ds-kos #modal table.bd-tbl td[data-k="odenen"] { color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 761px) {
  html.ds.ds-kos #modal table.bd-tbl th[data-k="odenen"], html.ds.ds-kos #modal table.bd-tbl td[data-k="odenen"] { text-align: right; }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal table.bd-tbl td[data-k="odenen"] { grid-column: 1; grid-row: 3; font-size: 12px; color: var(--ink3); }
  html.ds.ds-kos #modal table.bd-tbl td[data-k="odenen"]::before { content: "ödenen "; }
  html.ds.ds-kos #modal table.bd-tbl td[data-k="gun"] { grid-row: 2 / span 2; align-self: start; }
}

/* Deneme karnesi: ad + sınıf çipi, sağa hizalı sayılar, kurum ortalamasına fark, alt solma ipucu */
html.ds.ds-kos #modal .dd-analiz { margin-bottom: 14px; }
html.ds.ds-kos #modal table.dd-tbl { border-collapse: separate; border-spacing: 0; }
html.ds.ds-kos #modal table.dd-tbl th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #modal table.dd-tbl td[data-k="ad"] { min-width: 150px; white-space: normal; line-height: 1.3; }
html.ds.ds-kos #modal table.dd-tbl .dd-ad { display: block; font-weight: 500; color: var(--ink); }
html.ds.ds-kos #modal table.dd-tbl .dd-sinif {
  display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 400; white-space: nowrap;
  color: var(--ink2); background: color-mix(in srgb, var(--ink) 7%, transparent);
}
html.ds.ds-kos #modal table.dd-tbl th[data-k="ders"], html.ds.ds-kos #modal table.dd-tbl td[data-k="ders"],
html.ds.ds-kos #modal table.dd-tbl th[data-k="top"], html.ds.ds-kos #modal table.dd-tbl td[data-k="top"],
html.ds.ds-kos #modal table.dd-tbl th[data-k="fark"], html.ds.ds-kos #modal table.dd-tbl td[data-k="fark"] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.dd-tbl td[data-k="ders"] { color: var(--ink2); }
html.ds.ds-kos #modal table.dd-tbl td[data-k="top"] b { font-weight: 600; }
html.ds.ds-kos #modal table.dd-tbl td[data-k="fark"] { font-size: 12.5px; }
html.ds.ds-kos #modal table.dd-tbl td[data-k="sira"] { width: 30px; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.dd-tbl tr.rowlink { cursor: pointer; transition: background-color .14s var(--ds-ease); }
html.ds.ds-kos #modal .m-body:has(.dd-liste)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 36px; margin: -36px 0 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--surface) 85%);
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal table.dd-tbl td, html.ds.ds-kos #modal table.dd-tbl th { padding: 9px 6px; font-size: 13px; }
  html.ds.ds-kos #modal table.dd-tbl td[data-k="ad"] { min-width: 128px; max-width: 150px; }
  html.ds.ds-kos #modal table.dd-tbl .dd-ad { font-size: 14px; }
}

/* ── 25.G-ui · AA çubuk listesi (aa-devam) hizası: 'pay' 4. öğe 3 sütunluk satırda alt satıra düşüp çubukların arasında
   kayık duruyordu; değer sütunu satır başına 'auto' olduğundan çubuk uçları da hizasızdı → tek ızgara + subgrid ── */
html.ds.ds-kos .aa-devam-satir:has(> .aa-ders-pay) { grid-template-columns: var(--aa-ad-s, minmax(96px, min(240px, 30%))) minmax(0,1fr) auto auto; }
@supports (grid-template-columns: subgrid) {
  html.ds.ds-kos .aa-devam { display: grid; grid-template-columns: var(--aa-ad-s, minmax(96px, min(240px, 30%))) minmax(0,1fr) auto; column-gap: 10px; }
  html.ds.ds-kos .aa-devam:has(> .aa-devam-satir > .aa-ders-pay) { grid-template-columns: var(--aa-ad-s, minmax(96px, min(240px, 30%))) minmax(0,1fr) auto auto; }
  html.ds.ds-kos .aa-devam > .aa-devam-satir { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
html.ds.ds-kos .aa-devam .aa-ders-net { text-align: right; }
html.ds.ds-kos .aa-devam .aa-ders-pay { white-space: nowrap; font-weight: 500; color: var(--ink3); }
html.ds.ds-kos .aa-secili .aa-devam-ad { color: var(--gold2); font-weight: 500; }
/* Ay kasa özeti: ay adları kısa ("Haz 26") — ad sütunu dar, çubuğa yer; dört özet çipi 2×2 (3+1 yetim satır yok) */
html.ds.ds-kos #modal .bilay-analiz { --aa-ad-s: minmax(52px, 76px); }
html.ds.ds-kos #modal .bilay-analiz .aa-ozet:has(> div:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds.ds-kos #modal .bilay-analiz .aa-ozet b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 25.G-ui · SOHBET AİLESİ 4 YÜZEY (ui_denetim topluluk 2,32 · sohbet_insight 2,59 · sohbet_bildirim 2,68 · rol_rehber_sohbet 2,68).
   Ortak kusur: yüzen PWA kurulum rehberi arkasındaki katmanın (Topluluk, önizleme kartı) üstüne karartmasız biniyor, altından kırpık
   metin sızıyordu → rehber artık bir KATMAN: arkasını hafifçe karartır (pointer geçirgen gölge; iframe üstünde bulanıklık yok), kapat
   düğmesi kontrastlı ve dokunmatikte 44 px. Yüzeye özgü: bildirim konu simgeleri + okunmamış/konu sayacı + alt kenar sönümü,
   içgörü tür kartları, önizleme kapsamına admin kıyası, PC'de önizleme kartı ekrana oranlı. Yapı fermat_ds.js; metin/onclick aynen. */
html.ds.ds-sohbet #pwa-manual-guide { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .30) !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #pwa-manual-guide { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .18) !important; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close {
  width: 36px !important; height: 36px !important; color: var(--fg) !important;
  background: color-mix(in srgb, var(--fg) 10%, transparent) !important;
}
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close .ds-ic { width: 15px; height: 15px; }
@media (pointer: coarse) {
  html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close { width: 44px !important; height: 44px !important; margin: -6px -6px -6px 0; }
}

/* bildirim çekmecesi — özet şeridi (okunmamış manşet sayı + konu sayaçları), konu renkleri, eğilim rozeti, alt kenar sönümü */
html.ds.ds-sohbet .ds-nb-ozet { display: flex; flex-direction: column; gap: 8px; padding: 12px 18px 10px; border-bottom: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet .ds-nb-man { display: flex; align-items: baseline; gap: 8px; }
html.ds.ds-sohbet .ds-nb-man b { font-family: var(--ds-font-disp); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-nb-man span { font-size: 13px; color: var(--fg-muted); letter-spacing: -.005em; }
html.ds.ds-sohbet .ds-nb-cip { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds.ds-sohbet .ds-nb-cip span {
  display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px 0 8px; border-radius: 999px; box-sizing: border-box;
  font-size: 12.5px; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 6%, transparent); letter-spacing: -.003em;
}
html.ds.ds-sohbet .ds-nb-cip b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-nb-cip .ds-ic { width: 14px; height: 14px; color: #98989F; }
html.ds.ds-sohbet .ds-nb-cip [data-tur="kalp"] .ds-ic, html.ds.ds-sohbet .notif-item[data-ds-tur="kalp"] .notif-ico { color: #FF375F; }
html.ds.ds-sohbet .ds-nb-cip [data-tur="dusus"] .ds-ic, html.ds.ds-sohbet .notif-item[data-ds-tur="dusus"] .notif-ico { color: #FF9F0A; }
html.ds.ds-sohbet .ds-nb-cip [data-tur="takvim"] .ds-ic, html.ds.ds-sohbet .ds-nb-cip [data-tur="uyari"] .ds-ic { color: #FF453A; }
html.ds.ds-sohbet .ds-nb-cip [data-tur="yukselis"] .ds-ic { color: #30D158; }
html.ds.ds-sohbet .ds-nb-cip [data-tur="cubuk"] .ds-ic { color: #0A84FF; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-nb-cip [data-tur="kalp"] .ds-ic, html.ds.ds-sohbet:not([data-theme="dark"]) .notif-item[data-ds-tur="kalp"] .notif-ico { color: #E0204A; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-nb-cip [data-tur="dusus"] .ds-ic, html.ds.ds-sohbet:not([data-theme="dark"]) .notif-item[data-ds-tur="dusus"] .notif-ico { color: #F08A00; }
html.ds.ds-sohbet .ds-nb-eg {
  display: inline-flex; align-items: center; gap: 4px; margin: 0 6px 0 0; padding: 1px 8px 1px 6px; border-radius: 999px; vertical-align: 1px;
  font-size: 12px; font-weight: 500; line-height: 18px; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 8%, transparent);
}
html.ds.ds-sohbet .ds-nb-eg .ds-ic { width: 13px; height: 13px; stroke-width: 2; }
html.ds.ds-sohbet .ds-nb-eg.ds-nb-kotu { color: #FF6961; background: color-mix(in srgb, #FF453A 14%, transparent); }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-nb-eg.ds-nb-kotu { color: #C9271F; background: color-mix(in srgb, #FF3B30 10%, transparent); }
html.ds.ds-sohbet .notif-title { font-weight: 400; }   /* okunmuş satır 400; okunmamışlık noktayla + 500 */
html.ds.ds-sohbet .notif-item.unread .notif-title { font-weight: 500; }
html.ds.ds-sohbet .notif-list {   /* kaydırılabilir olduğu belli: son satır ayağa çarpmaz, kenarda söner */
  padding-bottom: 28px; scroll-padding-bottom: 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 30px), transparent 100%);
}

/* Admin Panel · içgörü sekmesi boş hâli: öncü cümle + tür kartları ızgarası + terim satırları (sözlük paragrafı yerine) */
html.ds.ds-sohbet #adminInsResult .ds-ins-on { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; font-size: 14.5px; color: var(--fg); letter-spacing: -.008em; }
html.ds.ds-sohbet #adminInsResult .ds-ins-on .ds-ic { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; }
html.ds.ds-sohbet #adminInsResult > span[data-ds="1"] { margin-top: 0; font-size: 13px !important; }
html.ds.ds-sohbet .ds-ins-bas { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-ins-bas b { font-size: 12px; font-weight: 500; color: var(--fg-muted); padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 8%, transparent); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ins-tur { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 6px; }
html.ds.ds-sohbet .ds-ins-kart {
  display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 9px 12px; box-sizing: border-box; border-radius: 12px;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
}
html.ds.ds-sohbet .ds-ins-kart > .ds-ic { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.7; color: #98989F; }
html.ds.ds-sohbet .ds-ins-kart > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.ds.ds-sohbet .ds-ins-kart em { font-style: normal; font-size: 14px; color: var(--fg); line-height: 1.3; letter-spacing: -.008em; }
html.ds.ds-sohbet #adminInsResult .ds-ins-kart code { align-self: flex-start; padding: 0; background: none; font-size: 11.5px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-ins-kart .ds-k-mavi { color: #0A84FF; }
html.ds.ds-sohbet .ds-ins-kart .ds-k-pembe { color: #FF375F; }
html.ds.ds-sohbet .ds-ins-kart .ds-k-nane { color: #00C7BE; }
html.ds.ds-sohbet .ds-ins-kart .ds-k-turuncu { color: #FF9F0A; }
html.ds.ds-sohbet .ds-ins-kart .ds-k-sari { color: #FFD60A; }
html.ds.ds-sohbet .ds-ins-kart .ds-k-kirmizi { color: #FF453A; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ins-kart .ds-k-sari { color: #C99700; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ins-kart .ds-k-nane { color: #00A69E; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ins-kart .ds-k-turuncu { color: #F08A00; }
html.ds.ds-sohbet .ds-ins-terim { margin: 14px 0 0; padding: 0; border-top: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet .ds-ins-terim > div { display: grid; grid-template-columns: minmax(84px, max-content) 1fr; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet .ds-ins-terim dt { font-size: 13px; font-weight: 500; color: var(--fg); }
html.ds.ds-sohbet .ds-ins-terim dd { margin: 0; font-size: 13px; line-height: 1.45; color: var(--fg-muted); text-wrap: pretty; }
@media (pointer: coarse) {
  html.ds.ds-sohbet #adminModal .ds-kapat { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  html.ds.ds-sohbet #adminContent { padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important; }
  html.ds.ds-sohbet #adminModal > div { padding-bottom: 0; }
}

/* rol önizleme kartı: kapsam kıyası (admin görünümüne oran) + çıkarım; PC/iPad'de kart ekrana oranlı (boş sağ yarı yok) */
html.ds.ds-sohbet .ds-onz-kiyas { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
html.ds.ds-sohbet .ds-onz-kiyas > div { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 10px; }
html.ds.ds-sohbet .ds-onz-k-ad { font-size: 12px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-onz-bar { position: relative; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 9%, transparent); overflow: hidden; }
html.ds.ds-sohbet .ds-onz-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, #FF9F0A, var(--accent)); }
html.ds.ds-sohbet .ds-onz-k-o { font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-onz-k-o b { font-weight: 600; color: var(--fg); }
html.ds.ds-sohbet .ds-onz-cikarim { display: flex; align-items: flex-start; gap: 7px; margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--fg-muted); text-wrap: pretty; }
html.ds.ds-sohbet .ds-onz-cikarim .ds-ic { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #FF9F0A; }
@media (min-width: 900px) {
  html.ds.ds-sohbet .msg.bot.ds-onz-kart { width: min(880px, 100%); max-width: min(880px, 100%); }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ══ 25.G-ui · kos_program (ui_denetim: simge 2, derinlik 2, zenginlik 2, genel 2,41; önceki deneme okunabilirlik 3→2 ile geri alındı —
   bu tur yazı boyutu KÜÇÜLTÜLMEZ, tablo hücresi metni maskeyle soldurulmaz): görünüm segmenti telefonda sığar (ek sözcük " görünümü"
   dar ekranda gizli; anlam segment simgesiyle taşınır), haftalık tablo kendi kaydırma kabında (sağ kenar solması = devamı var ipucu),
   saat sütunu yapışkan, boş hücre ≥ 44 pt, başlık CTA düz marka rengi. Analiz bölümü (Programın/Haftanın özeti) AA dilinde. ══ */
html.ds.ds-kos[data-kos-mod="program"] #main .seg { display: flex; width: 100%; max-width: 760px; }   /* 25.965: dördüncü görünüm (Öğrenci) eklendi — 560 px'te etiketler üst üste biniyordu */
html.ds.ds-kos[data-kos-mod="program"] #main .seg button { white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="program"] #main .seg button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; font-size: 13px; }
html.ds.ds-kos[data-kos-mod="program"] #main .seg button > .ds-ic { width: 15px; height: 15px; stroke-width: 1.8; flex: none; }
@media (max-width: 560px) {
  html.ds.ds-kos[data-kos-mod="program"] #main .seg { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos[data-kos-mod="program"] #main .seg button { padding: 6px 8px; }
}
/* 25.975: dördüncü/beşinci görünüm (Öğrenci, Mesai) ile ek sözcük tablet genişliğinde de sığmıyordu (ölçülen metin taşması) */
@media (max-width: 1023px) { html.ds.ds-kos[data-kos-mod="program"] #main .seg .seg-ek { display: none; } }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="program"] #main .seg button { min-height: 44px; } }

/* başlık CTA: Apple düz düğme — gradyansız marka rengi, basılıda koyulaşma (zıplama yok) */
html.ds.ds-kos[data-kos-mod="program"] #main .head .sp .btn:not(.ghost), html.ds.ds-kos[data-kos-mod="program"] #modal .btn:not(.ghost) {
  background: var(--gold); box-shadow: none; display: inline-flex; align-items: center; gap: 0; min-height: 36px; border-radius: 10px;
  font-family: var(--ds-font); font-weight: 600; letter-spacing: -.005em; transition: filter .14s var(--ds-ease);
}
html.ds.ds-kos[data-kos-mod="program"] #main .head .sp .btn:hover { filter: brightness(1.04); box-shadow: none; }
html.ds.ds-kos[data-kos-mod="program"] #main .head .sp .btn:active, html.ds.ds-kos[data-kos-mod="program"] #modal .btn:active { transform: none; filter: brightness(.88); transition: none; }
@media (pointer: coarse) { html.ds.ds-kos[data-kos-mod="program"] #main .head .sp .btn { min-height: 44px; } }
html.ds.ds-kos[data-kos-mod="program"] #main .chip > .ds-ic:first-child { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }

/* haftalık tablo: kendi kaydırma kabı; app.css ≤760 "#main table{display:block}" kabın içinde tabloyu bozmaz */
html.ds.ds-kos[data-kos-mod="program"] #main .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
html.ds.ds-kos[data-kos-mod="program"] #main .tscroll > table.progtable { display: table; width: 100%; max-width: none; overflow: visible; border-collapse: separate; border-spacing: 0; }
html.ds.ds-kos[data-kos-mod="program"] #main .progtable th { font-family: var(--ds-font); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink2); padding: 8px 4px; }
html.ds.ds-kos[data-kos-mod="program"] #main .progtable .ptime, html.ds.ds-kos[data-kos-mod="program"] #main .progtable thead th:first-child {
  position: sticky; left: 0; z-index: 1; background: var(--surface); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 12px; color: var(--ink2);
}
html.ds.ds-kos[data-kos-mod="program"] #main .progtable .pcell { min-width: 76px; height: 52px; vertical-align: middle; }
html.ds.ds-kos[data-kos-mod="program"] #main .progtable .pcell.empty2 { font-size: 18px; line-height: 1; }
html.ds.ds-kos[data-kos-mod="program"] #main .progtable .pcell[onclick]:active { background: color-mix(in srgb, var(--gold) 16%, transparent); transition: none; }
html.ds.ds-kos[data-kos-mod="program"] #main .progtable .pcell[onclick]:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* sol solma yapışkan saat sütununu soldurmasın: yalnız sağ kenarda "devamı var" ipucu */
html.ds.ds-kos[data-kos-mod="program"] #main .tscroll.ds-sl { -webkit-mask-image: none; mask-image: none; }
html.ds.ds-kos[data-kos-mod="program"] #main .tscroll.ds-sr, html.ds.ds-kos[data-kos-mod="program"] #main .tscroll.ds-sl.ds-sr {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), rgba(0,0,0,.25)); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), rgba(0,0,0,.25));
}
@media (max-width: 760px) { html.ds.ds-kos[data-kos-mod="program"] #main .progtable .pcell { min-width: 72px; } }

/* analiz bölümü: seçici satırıyla tablo arasında; çıkarımdaki "N öğrenci ›" bağı dokunulabilir */
html.ds.ds-kos[data-kos-mod="program"] #main .aa-bolum { margin: 6px 0 16px; }
html.ds.ds-kos[data-kos-mod="program"] #main .aa-cikarim .aa-tik { display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; cursor: pointer; border-radius: 6px; white-space: nowrap; }
html.ds.ds-kos[data-kos-mod="program"] #main .aa-cikarim .aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos[data-kos-mod="program"] #main .head .sp .btn { transition: none; } }

/* ══ 25.G-ui — Kurum OS iç pencereleri: Detay listesi (listeAc) · Sınıf ders saati (editRealCell) · Branş yükü (bransYukDetay) ·
   Öğrenci muhasebe borçsuz (muhasebeDetail). ORTAK kusur: telefonda çok sütunlu modal tablosu sağ kenardan kırpılıyordu (net
   değeri / öğretmen adı okunmuyordu) ve başlıklar büyük harf + geniş aralıklı. Çözüm kademe tablosunun (kad-tbl) dili: geniş
   ekranda tablo, ≤760 px'te iki satırlı satır kartı; başlık normal yazım 500. Kurallar yalnız yeni sınıflarda (lst-/rc-/byd-/md-)
   — kad-tbl, konuOgrenciListe ve program ekranının kendisi değişmez. ══ */
html.ds.ds-kos #modal .lst-bas .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.ds.ds-kos #modal .lst-bas .aa-ozet small, html.ds.ds-kos #modal .byd-bas .aa-ozet small { font-size: 11px; font-weight: 400; color: var(--ink3); margin-left: 2px; }
html.ds.ds-kos #modal .lst-ara { position: relative; display: block; margin: 0 0 10px; }
html.ds.ds-kos #modal .lst-ara-ic { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--ink3); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
html.ds.ds-kos #modal .lst-ara > input { width: 100%; padding-left: 38px; -webkit-appearance: none; appearance: none; }
html.ds.ds-kos #modal .lst-ara > input::-webkit-search-cancel-button { -webkit-appearance: none; }
html.ds.ds-kos #modal table.lst-tbl, html.ds.ds-kos #modal table.byd-tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
html.ds.ds-kos #modal table.lst-tbl > thead th, html.ds.ds-kos #modal table.byd-tbl > thead th {
  text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap;
  position: sticky; top: 0; z-index: 1; background: var(--surface);
}
html.ds.ds-kos #modal table.lst-tbl td { font-size: 13.5px; vertical-align: middle; }
html.ds.ds-kos #modal table.lst-tbl td[data-k="ad"] { font-weight: 500; color: var(--ink); }
html.ds.ds-kos #modal table.lst-tbl td[data-k="sinif"] { color: var(--ink2); white-space: nowrap; }
html.ds.ds-kos #modal table.lst-tbl th[data-k="ek"], html.ds.ds-kos #modal table.lst-tbl td[data-k="ek"] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-kos #modal table.lst-tbl td[data-k="ek"] b { font-weight: 600; }
html.ds.ds-kos #modal table.lst-tbl tr.rowlink > td[data-k="ek"]::after,
html.ds.ds-kos #modal table.byd-tbl tr.rowlink > td:last-child::after { content: "›"; display: inline-block; margin-left: 10px; color: var(--ink3); font-size: 17px; line-height: 1; vertical-align: -1px; }
html.ds.ds-kos #modal table.lst-tbl tr.rowlink, html.ds.ds-kos #modal table.byd-tbl tr.rowlink { cursor: pointer; }
html.ds.ds-kos #modal table.lst-tbl tr.rowlink:hover > td, html.ds.ds-kos #modal table.byd-tbl tr.rowlink:hover > td { background: color-mix(in srgb, var(--ink) 4%, transparent); }
html.ds.ds-kos #modal table.lst-tbl tr.rowlink:active > td, html.ds.ds-kos #modal table.byd-tbl tr.rowlink:active > td { opacity: .7; transition: none; }
html.ds.ds-kos #modal .lst-analiz, html.ds.ds-kos #modal .byd-analiz, html.ds.ds-kos #modal .md-analiz { margin-bottom: 14px; }
html.ds.ds-kos #modal .rc-analiz { margin-top: 14px; }
/* Branş yükü: sınıf tablosu seviye grupları */
html.ds.ds-kos #modal table.byd-tbl td { font-size: 13.5px; vertical-align: middle; }
html.ds.ds-kos #modal table.byd-tbl td[data-k="sinif"] b { font-weight: 500; }
html.ds.ds-kos #modal table.byd-tbl td[data-k="yuk"] { font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-kos #modal table.byd-tbl td[data-k="ogr"] { color: var(--ink2); white-space: normal; overflow-wrap: anywhere; }
html.ds.ds-kos #modal table.byd-tbl tr.byd-grup > td { padding: 16px 4px 6px; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); background: transparent; }
html.ds.ds-kos #modal table.byd-tbl tr.byd-grup > td > span { margin-left: 6px; font-weight: 400; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal .byd-bas .aa-ozet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
/* Sınıf ders saati: üst bilgi + canlı çakışma notu */
html.ds.ds-kos #modal .rc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--ink2); }
html.ds.ds-kos #modal .rc-sinif { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0; }
html.ds.ds-kos #modal .rc-uyari { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; color: var(--ink); background: color-mix(in srgb, var(--red) 11%, transparent); }
html.ds.ds-kos #modal .rc-uyari.on { display: block; animation: ds-rc-gir .2s cubic-bezier(.32,.72,0,1); }
html.ds.ds-kos #modal .rc-uyari b { font-weight: 600; }
@keyframes ds-rc-gir { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
/* Muhasebe (borçsuz): durum bandı + bağ */
html.ds.ds-kos #modal .md-durum { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--teal) 10%, transparent); font-size: 14px; color: var(--ink); }
html.ds.ds-kos #modal .md-durum > .ds-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.ds.ds-kos #modal .md-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-right: 6px; vertical-align: -3px; }
html.ds.ds-kos #modal .md-bag { appearance: none; -webkit-appearance: none; border: none; background: none; margin-top: 8px; padding: 0 2px; min-height: 32px; font: 500 13px/1 var(--ds-font); color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
html.ds.ds-kos #modal .md-bag:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 900px) { html.ds.ds-kos #modal .byd-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (pointer: coarse) { html.ds.ds-kos #modal .md-bag { min-height: 44px; } }
@media (max-width: 760px) {
  html.ds.ds-kos #modal .lst-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .byd-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* sınıf çipleri telefonda tek satır yatay kaydırma (18 sınıf × sarma = yarım ekran) */
  html.ds.ds-kos #modal .lst-cipler { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; scroll-snap-type: x proximity; }
  html.ds.ds-kos #modal .lst-cipler::-webkit-scrollbar { display: none; }
  html.ds.ds-kos #modal .lst-cipler > * { flex: none; scroll-snap-align: start; }
  html.ds.ds-kos #modal .lst-liste, html.ds.ds-kos #modal .byd-liste { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos #modal table.lst-tbl, html.ds.ds-kos #modal table.lst-tbl > tbody,
  html.ds.ds-kos #modal table.byd-tbl, html.ds.ds-kos #modal table.byd-tbl > tbody { display: block; width: 100%; max-width: 100%; min-width: 0; }
  html.ds.ds-kos #modal table.lst-tbl > thead, html.ds.ds-kos #modal table.byd-tbl > thead { display: none; }
  html.ds.ds-kos #modal table.lst-tbl > tbody > tr:not([hidden]), html.ds.ds-kos #modal table.byd-tbl > tbody > tr.rowlink {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center;
    min-height: 52px; padding: 9px 2px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  }
  html.ds.ds-kos #modal table.byd-tbl > tbody > tr.byd-grup { display: block; }
  html.ds.ds-kos #modal table.byd-tbl > tbody > tr.byd-grup > td { display: block; padding: 18px 2px 6px; }
  html.ds.ds-kos #modal table.lst-tbl > tbody > tr > td, html.ds.ds-kos #modal table.byd-tbl > tbody > tr.rowlink > td { display: block; padding: 0; border: none; background: transparent; min-width: 0; width: auto; }
  html.ds.ds-kos #modal table.lst-tbl td[data-k="ad"] { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.ds.ds-kos #modal table.lst-tbl td[data-k="sinif"] { grid-column: 1; grid-row: 2; font-size: 12.5px; }
  html.ds.ds-kos #modal table.lst-tbl td[data-k="ek"] { grid-column: 2; grid-row: 1 / 3; justify-self: end; font-size: 14px; white-space: normal; max-width: 52vw; }
  html.ds.ds-kos #modal table.byd-tbl td[data-k="sinif"] { grid-column: 1; grid-row: 1; font-size: 15px; }
  html.ds.ds-kos #modal table.byd-tbl td[data-k="yuk"] { grid-column: 2; grid-row: 1; justify-self: end; font-size: 13.5px; }
  html.ds.ds-kos #modal table.byd-tbl td[data-k="ogr"] { grid-column: 1 / 3; grid-row: 2; font-size: 12.5px; line-height: 1.35; }
  html.ds.ds-kos #modal table.byd-tbl tr.rowlink > td:last-child::after { content: none; }
  html.ds.ds-kos #modal table.byd-tbl tr.rowlink > td[data-k="yuk"]::after { content: "›"; display: inline-block; margin-left: 8px; color: var(--ink3); font-size: 17px; line-height: 1; vertical-align: -1px; }
  html.ds.ds-kos #modal table.lst-tbl tr.rowlink:hover > td, html.ds.ds-kos #modal table.byd-tbl tr.rowlink:hover > td { background: transparent; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .rc-uyari.on { animation: none; } }

/* ── 25.G-ui · Konu → öğrenci listesi (kos_dash__konuOgrenciListe): 4 sütunlu tablo (sınıf · D/S adın altında ikincil
   satır) → telefonda Başarı/Hata% kesilmez; sheet içeriğe göre boyutlanır (iOS orta-yükseklik sheet), üstte AA konu analizi. ── */
html.ds.ds-kos #modal .ko-analiz { margin-bottom: 16px; }
html.ds.ds-kos #modal .ko-analiz .aa-bolum { margin: 4px 0 0; }
html.ds.ds-kos #modal .ko-analiz > .aa-cikarim { margin: 4px 2px 0; }
html.ds.ds-kos #modal .ko-sheet > .empty + .ko-analiz { margin-top: -8px; }
html.ds.ds-kos #modal .ko-bas-not { margin: 0 2px 8px; font-size: 13px; line-height: 1.45; text-wrap: pretty; }
html.ds.ds-kos #modal .ko-kaydir { max-height: 52vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-gutter: stable; }
html.ds.ds-kos #modal table.ko-tbl { width: 100%; table-layout: auto; min-width: 0; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.ko-tbl th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl th .ko-th-alt { font-weight: 400; opacity: .8; }
html.ds.ds-kos #modal table.ko-tbl td { vertical-align: middle; font-size: 13.5px; }
html.ds.ds-kos #modal table.ko-tbl td.ko-ad { white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl td.ko-ad > * { vertical-align: middle; }
html.ds.ds-kos #modal table.ko-tbl .ko-ad-m { display: inline-flex; flex-direction: column; min-width: 0; max-width: calc(100% - 40px); margin-left: 4px; line-height: 1.25; }
html.ds.ds-kos #modal table.ko-tbl .ko-ad-m > span { font-weight: 400; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl .ko-ad-m > em { font-style: normal; font-size: 11.5px; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl td.ko-bas, html.ds.ds-kos #modal table.ko-tbl th:nth-child(3) { text-align: right; white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl td.ko-bas b, html.ds.ds-kos #modal table.ko-tbl .ko-hata-s b { font-weight: 600; }
html.ds.ds-kos #modal table.ko-tbl td.ko-hata { white-space: nowrap; }
html.ds.ds-kos #modal table.ko-tbl .ko-hata-s { display: inline-block; min-width: 40px; text-align: right; }
html.ds.ds-kos #modal table.ko-tbl .ko-hata-bar { display: inline-block; width: 64px; height: 6px; margin-left: 8px; vertical-align: middle; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--ink) 9%, transparent); }
html.ds.ds-kos #modal table.ko-tbl .ko-hata-bar > i { display: block; height: 100%; border-radius: inherit; }
html.ds.ds-kos #modal table.ko-tbl tr.rowlink:active > td { background: color-mix(in srgb, var(--ink) 6%, transparent); transition: none; }
@media (max-width: 760px) {
  /* sheet içeriğe göre: boş alt yarı yok, tavan ekranın tamamı */
  html.ds.ds-kos dialog#modal[open]:has(.ko-sheet) { height: auto; margin-top: auto; }
  html.ds.ds-kos dialog#modal[open]:has(.ko-sheet) .m-body { flex: 0 1 auto; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  html.ds.ds-kos #modal .ko-analiz .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  html.ds.ds-kos #modal table.ko-tbl th, html.ds.ds-kos #modal table.ko-tbl td { padding-left: 6px; padding-right: 6px; }
  html.ds.ds-kos #modal table.ko-tbl th .ko-th-alt { display: none; }
  html.ds.ds-kos #modal table.ko-tbl .ko-hata-bar { width: 34px; margin-left: 6px; }
  html.ds.ds-kos #modal table.ko-tbl .ko-hata-s { min-width: 34px; }
  html.ds.ds-kos #modal table.ko-tbl .ko-ad-m > span, html.ds.ds-kos #modal table.ko-tbl .ko-ad-m > em { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
}
@media (pointer: coarse) { html.ds.ds-kos #modal table.ko-tbl tbody td { height: 48px; } }
/* düzeltme (zenginlik/derinlik 1 → konu-düzeyi analiz): konu adları uzun → ad sütunu geniş; bu konu satırı vurgulu; karar cümlesi
   çiplerin altında manşet; 4 çip telefonda 2×2 (3+1 yetim yok); kardeş konu satırı dokunulabilir (›) */
html.ds.ds-kos #modal .ko-analiz { --aa-ad-s: minmax(150px, 210px); }
html.ds.ds-kos #modal .ko-analiz .aa-ozet b small { display: block; margin: 1px 0 0; }
html.ds.ds-kos #modal .ko-analiz .aa-ozet:has(> div:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.ds.ds-kos #modal .ko-analiz > .ko-karar { margin: 2px 2px 14px; padding: 12px 14px; border: 0; border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--ink);
  background: color-mix(in srgb, var(--gold) 9%, var(--surface2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 18%, transparent); text-wrap: pretty; }
html.ds.ds-kos #modal .ko-analiz > .ko-karar b { font-weight: 600; color: var(--gold2); }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.ko-bu { position: relative; border-radius: 9px; background: color-mix(in srgb, var(--red) 8%, transparent); box-shadow: inset 2px 0 0 var(--red); padding-left: 8px; }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.ko-bu .aa-devam-ad { font-weight: 500; color: var(--ink); }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.ko-bu .aa-devam-ad em::before { content: "bu konu · "; color: var(--red); font-weight: 500; }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik .aa-ders-pay::after { content: " ›"; color: var(--ink3); }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik { border-radius: 9px; transition: background .18s cubic-bezier(.32,.72,0,1); }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); opacity: 1; }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal .ko-analiz .aa-kart .aa-ozet { margin-bottom: 4px; }
@media (max-width: 760px) {
  html.ds.ds-kos #modal .ko-analiz { --aa-ad-s: minmax(104px, 136px); }
  html.ds.ds-kos #modal .ko-analiz .aa-ozet:has(> div:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .ko-analiz > .ko-karar { font-size: 13.5px; padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .ko-analiz .aa-devam-satir.aa-tik { transition: none; } }

/* ── 25.G-ui · Kavram Bankası ders kartları · Risk bandı listesi · Ödeyenler listesi · Öğrenci profili odağı (ui_denetim kos_kavram 2,68 ·
   kos_dash__riskList 2,77 · kos_dash__studentDetail 2,77 · kos_muhasebe__muhasebePayers 2,77). Ortak: üç modal listesi kademe detayı
   dilinde (kad-tbl: telefonda çok satırlı ızgara, yatay kesilme yok; çip süzgeci; büyük harfli ad Title Case — fermat_ds.js kosTabloAd).
   Kavram: ders çipleri → konusunu söyleyen simgeli kart (manşet sayı + konu başına atom yoğunluğu çizgisi), kapsayıcı genişliğine göre
   5 / 2 / 1 sütun (10 ders boş hücre bırakmaz; kalan kart satırı doldurur). Yalnız transform/opacity geçişi. */
html.ds.ds-kos[data-kos-mod="kavram"] .card:has(> div > .tag.kav-ders) { container-type: inline-size; }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div:has(> .tag.kav-ders[onclick]) { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.kav-ders[onclick] {
  flex: 1 1 calc((100% - 10px) / 2); min-width: 0; box-sizing: border-box;
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 11px; row-gap: 10px; align-items: center;
  min-height: 74px; padding: 13px 14px 12px; border-radius: 14px; white-space: normal; text-align: left;
  background: var(--surface2); outline: none;
}
html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.kav-ders[onclick]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
@container (min-width: 940px) { html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.kav-ders[onclick] { flex-basis: calc((100% - 40px) / 5); } }
@container (max-width: 430px) { html.ds.ds-kos[data-kos-mod="kavram"] .card > div > .tag.kav-ders[onclick] { flex-basis: 100%; min-height: 64px; } }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-ic { display: inline-flex; width: 22px; height: 22px; color: var(--ink2); }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-ic .ds-ic { width: 22px; height: 22px; stroke-width: 1.6; }
html.ds.ds-kos[data-kos-mod="kavram"] .tag.kav-ders.t-gold .kav-ic { color: currentColor; }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-ad { min-width: 0; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: inherit; line-height: 1.25; }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-ad em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--ink3); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-n { text-align: right; line-height: 1; }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-n b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: inherit; }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-n small { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 400; color: var(--ink3); }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-yog { grid-column: 1 / -1; position: relative; display: block; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-yog::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: color-mix(in srgb, var(--gold) 75%, var(--ink3)); }
html.ds.ds-kos[data-kos-mod="kavram"] .kav-yog::after { content: ""; position: absolute; left: var(--r); top: -3px; width: 1.5px; height: 9px; border-radius: 1px; background: var(--ink3); }
html.ds.ds-kos[data-kos-accent="mono"][data-kos-mod="kavram"] .kav-yog::before { background: var(--ink2); }
html.ds.ds-kos[data-kos-mod="kavram"] .aa-bolum { margin-top: 20px; }

/* Risk bandı listesi: tetikleyen hücresi sarılır (geniş ekranda kesilmez); telefonda 3. satır */
html.ds.ds-kos #modal table.risk-tbl, html.ds.ds-kos #modal table.pay-tbl { width: 100%; }
html.ds.ds-kos #modal table.risk-tbl td[data-k="tet"] { white-space: normal; min-width: 150px; max-width: 280px; }
html.ds.ds-kos #modal table.risk-tbl td[data-k="tet"] .tag { display: inline-block; white-space: normal; text-align: left; margin: 1px 0; font-size: 11px; font-weight: 500; line-height: 1.35; padding: 3px 8px; border-radius: 7px; }
html.ds.ds-kos #modal .kad-analiz .aa-svg-matris { max-height: 240px; }

/* Ödeyenler: sayısal sütunlar sağa, tabular */
html.ds.ds-kos #modal table.pay-tbl th[data-k="ucret"], html.ds.ds-kos #modal table.pay-tbl th[data-k="odenen"], html.ds.ds-kos #modal table.pay-tbl th[data-k="oran"], html.ds.ds-kos #modal table.pay-tbl th[data-k="kalan"],
html.ds.ds-kos #modal table.pay-tbl td[data-k="ucret"], html.ds.ds-kos #modal table.pay-tbl td[data-k="odenen"], html.ds.ds-kos #modal table.pay-tbl td[data-k="oran"], html.ds.ds-kos #modal table.pay-tbl td[data-k="kalan"] {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
html.ds.ds-kos #modal table.pay-tbl td[data-k="odenen"] b { font-weight: 600; }
html.ds.ds-kos #modal .pay-kpi .kpi .d { white-space: normal; }

@media (max-width: 760px) {
  html.ds.ds-kos #modal table.risk-tbl td[data-k="tet"] { grid-column: 2 / 5; grid-row: 3; max-width: none; min-width: 0; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
  html.ds.ds-kos #modal table.risk-tbl td[data-k="tet"] .tag { margin: 0; }
  html.ds.ds-kos #modal table.pay-tbl > tbody > tr:not([hidden]) { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 12px; }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="ad"] { grid-column: 1; grid-row: 1; }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="sube"] { grid-column: 1; grid-row: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="oran"] { grid-column: 2; grid-row: 1; justify-self: end; font-size: 12.5px; color: var(--ink3); }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="odenen"] { grid-column: 3; grid-row: 1; justify-self: end; font-size: 15px; }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="ucret"] { grid-column: 2; grid-row: 2; justify-self: end; font-size: 12px; }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="ucret"]::before { content: "/ "; color: var(--ink3); }
  html.ds.ds-kos #modal table.pay-tbl td[data-k="kalan"] { grid-column: 3; grid-row: 2; justify-self: end; font-size: 12.5px; }
}

/* Öğrenci profili: odak kartı (kurum ortalamasına göre) + FermatAI rozeti kutusuz (durum noktası + ikincil metin) */
html.ds.ds-kos #modal .prof-odak { margin: 4px 0 14px; }
html.ds.ds-kos #modal .prof-odak .aa-kart { margin: 0; }
html.ds.ds-kos #modal .prof-odak .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.ds.ds-kos .aibadge { background: none; border: none; padding: 0 0 0 8px; margin-left: 0; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos .aibadge.live { background: none; color: var(--ink2); }
html.ds.ds-kos .aibadge.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: #34C759; }
html.ds.ds-kos .aibadge.load { border: none; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos .aibadge.load { animation: none; } }

/* ── 25.G-ui · Muhasebe düzey finansı (muhasebeGrup) · Etüt Yaz · Manuel İşlemler · Görüşme notu (ui_denetim kos_muhasebe__muhasebeGrup
   2,77 · kos_etut__openEtutYaz 2,86 · kos_calismam 2,95 · kos_profil__notPopup 3,05). ORTAK: pencere gövdesi ya içeriğine göre
   boyutlanmıyor (not sheet'inde boş alt yarı) ya da ipucusuz kesiliyordu (etüt formu, düzey tablosu); tutar KPI'ında ₺ rakama biniyordu.
   Düzey tablosu ödeyenler listesinin dilinde (pay-tbl), etüt formu geniş ekranda yoğun ızgara + yan bağlam paneli, not sheet'i içerik
   boyu. Yalnız transform/opacity geçişi; yeni sınıflar (tl-s · et- · man- · np-) dışında mevcut kurala dokunulmaz. ── */
/* ₺: rakamdan ayrı ağırlık/boyut — DejaVu/Android yedek glifinin çift çizgisi rakamın üstüne binmez */
html.ds.ds-kos .kpi .v .tl-s { display: inline-block; margin-right: .08em; font-size: .7em; font-weight: 500; vertical-align: .14em; letter-spacing: 0; color: var(--ink2); }
html.ds.ds-kos #modal .mg-kpi .kpi .v { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  /* üç tutar telefonda tek satır üçlü (dikey üç büyük kart yerine) — rakam küçülür ama kesilmez */
  html.ds.ds-kos #modal .mg-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  html.ds.ds-kos #modal .mg-kpi .kpi { padding: 10px 10px 9px; min-width: 0; }
  html.ds.ds-kos #modal .mg-kpi .kpi h3 { font-size: 11.5px; }
  /* 25.G-ui tur 2 (okunabilirlik 2: "₺7.553.0…" kırpılıyordu; önceki deneme üçlüyü bozup hizalamayı düşürdü → üçlü satır AYNEN kalır):
     rakam viewport'a değil KARTIN kendi genişliğine göre ölçeklenir (.card.kpi = inline-size container; 15.5cqi ≈ 10 karakter sığar),
     ellipsis yalnız son emniyet. Bir KPI'da kalan tutar en yüksek dikkat: üç kart tek yükseklik, dikey hizası aynı. */
  html.ds.ds-kos #modal .mg-kpi .kpi .v { font-size: clamp(12px, 15.5cqi, 18px); letter-spacing: -.02em; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-kos #modal .mg-kpi .kpi .v .tl-s { margin-right: .04em; font-size: .68em; }
  html.ds.ds-kos #modal .mg-kpi .kpi .d { font-size: 11px; }
}
/* ── 25.G-ui tur 2 · muhasebeGrup (derinlik 3 · etkilesim · okunabilirlik): düzey satırları ve çıkarımdaki kişi bağı GÖRÜNÜR biçimde
   dokunulur (›, imleç, hover/basılı/odak), seçili düzey ton şeridi; pencere gövdesi ve iç liste alt kenarda solarak "devamı var" der;
   geniş ekranda gövde ekran boyu (kesik satır azalır). Yalnız görünüm + odak; veri/onclick aynen. ── */
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik, html.ds.ds-kos #modal .kad-analiz .aa-ders-satir.aa-tik {
  position: relative; margin: 0 -8px; padding: 0 8px; border-radius: 9px; cursor: pointer;
  transition: background-color .18s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik:hover, html.ds.ds-kos #modal .kad-analiz .aa-ders-satir.aa-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); opacity: 1; }
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik:active, html.ds.ds-kos #modal .kad-analiz .aa-ders-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik:focus-visible, html.ds.ds-kos #modal .kad-analiz .aa-ders-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik > .aa-ders-pay::after,
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik > .aa-ders-net:last-child::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-secili { margin: 0 -8px; padding: 0 8px; border-radius: 9px; background: color-mix(in srgb, var(--gold) 9%, transparent); }
html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-secili .aa-devam-ad { color: var(--gold2, var(--gold)); font-weight: 500; }
html.ds.ds-kos #modal .kad-analiz .aa-cikarim .aa-tik {
  display: inline; color: var(--ink); font-weight: 500; cursor: pointer; border-radius: 4px;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  transition: opacity .16s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-kos #modal .kad-analiz .aa-cikarim .aa-tik:hover { opacity: .78; }
html.ds.ds-kos #modal .kad-analiz .aa-cikarim .aa-tik:active { opacity: .6; transition: none; }
html.ds.ds-kos #modal .kad-analiz .aa-cikarim .aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.ds.ds-kos #modal .kad-analiz .aa-cikarim b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #modal .kad-analiz .aa-lejant { margin-top: 6px; }
/* gövde + iç liste alt kenar: yapışkan solma (kaydırma ipucu); iframe yok, backdrop yok — yalnız gradyan */
html.ds.ds-kos #modal .m-body:has(.mg-kpi)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 36px; margin: -36px -20px 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 90%);
}
html.ds.ds-kos #modal .m-body:has(.mg-kpi) .kad-liste { position: relative; padding-bottom: 6px; scrollbar-width: thin; overscroll-behavior: contain; }
html.ds.ds-kos #modal .m-body:has(.mg-kpi) .kad-liste::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 26px; margin-top: -26px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), color-mix(in srgb, var(--surface) 92%, transparent));
}
html.ds.ds-kos #modal .m-body:has(.mg-kpi) .kad-liste table.kad-tbl > tbody > tr.rowlink { cursor: pointer; }
html.ds.ds-kos #modal .m-body:has(.mg-kpi) .kad-liste table.kad-tbl td[data-k="kalan"] b::after { content: " ›"; color: var(--ink3); font-weight: 400; }
@media (min-width: 761px) {
  html.ds.ds-kos dialog#modal[open]:has(.mg-kpi) .m-body { max-height: calc(100dvh - 190px); }
  html.ds.ds-kos #modal .mg-kpi .kpi .v { font-size: clamp(18px, 14cqi, 28px); }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal .m-body:has(.mg-kpi)::after { margin: -36px -16px 0; }
}
/* ── 25.G-ui tur 3 · muhasebeGrup (okunabilirlik 3: sheet alt kenarında son satır yarım kesik, kaydırma ipucu zayıf · başlık iki satıra
   kırılıyor). Telefonda solma 36 → 64 px ve yarıdan sonra opak: kesik satır yarım harf değil "devamı var" okunur; scroll-driven
   animasyonla (WebKit 26 · Chromium) gövde sonuna gelince solma kalkar, son çıkarım cümlesi örtülmez; desteklemeyen tarayıcıda alt
   boşluk son satırı solmanın üstüne taşır. Başlık telefonda tek satıra sığacak ölçüde (balance kalır). İçerik/sayı/onclick aynen. ── */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal[open]:has(.mg-kpi) .m-head h2 { font-size: 15px; letter-spacing: -.02em; }
  html.ds.ds-kos dialog#modal[open]:has(.mg-kpi) .m-body { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
  html.ds.ds-kos #modal .m-body:has(.mg-kpi)::after {
    height: 64px; margin: -64px -16px 0;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), color-mix(in srgb, var(--surface) 78%, transparent) 42%, var(--surface) 80%);
  }
  @supports (animation-timeline: scroll()) {
    html.ds.ds-kos #modal .m-body:has(.mg-kpi)::after { animation: mg-solma-kalk linear both; animation-timeline: scroll(nearest block); animation-range: 94% 100%; }
  }
}
@keyframes mg-solma-kalk { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik, html.ds.ds-kos #modal .kad-analiz .aa-ders-satir.aa-tik, html.ds.ds-kos #modal .kad-analiz .aa-cikarim .aa-tik { transition: none; }
}

/* Etüt Yaz: geniş ekranda yoğun ızgara (boş hücre yok) + sağda seçili öğrencinin bağlamı; gövde ekran boyu, altta solma ipucu */
html.ds.ds-kos #modal .et-duzen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
html.ds.ds-kos #modal .et-baglam:empty { display: none; }
html.ds.ds-kos #modal .et-baglam { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; align-items: start; }   /* 25.876: kart komşusuna gerilmez */
html.ds.ds-kos #modal .et-baglam .aa-kart { margin: 0; }
html.ds.ds-kos #modal .et-baglam { --aa-ad-s: minmax(72px, 104px); }
html.ds.ds-kos #main .man-analiz { --aa-ad-s: minmax(104px, 170px); }
html.ds.ds-kos #modal .et-baglam .aa-kart h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos #modal .et-baglam .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
html.ds.ds-kos #modal .et-baglam .aa-cikarim b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #modal .et-baglam .aa-ozet b small { font-size: 11px; font-weight: 400; color: var(--ink3); margin-left: 3px; }
html.ds.ds-kos #modal .et-gunler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 2px 0 2px; }
html.ds.ds-kos #modal .et-gunler > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0; border-radius: 8px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
html.ds.ds-kos #modal .et-gunler > span > i { font-style: normal; font-size: 10.5px; color: var(--ink3); }
html.ds.ds-kos #modal .et-gunler > span > b { min-height: 15px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
html.ds.ds-kos #modal .et-gunler > span.on { background: color-mix(in srgb, var(--gold) 14%, transparent); }
html.ds.ds-kos #modal .m-body:has(.et-duzen)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 34px; margin: -34px -20px 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 88%);
}
@media (min-width: 761px) {
  html.ds.ds-kos dialog#modal[open]:has(.et-duzen) .m-body { max-height: calc(100dvh - 190px); }
  html.ds.ds-kos #modal .form-grid.et-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .form-grid.et-g4 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, .8fr) minmax(0, .8fr); }
  html.ds.ds-kos #modal .et-baglam { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 1100px) {
  html.ds.ds-kos #modal .et-duzen:has(.et-baglam:not(:empty)) { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
  html.ds.ds-kos #modal .et-duzen .et-baglam { grid-template-columns: minmax(0, 1fr); position: sticky; top: 0; }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal .m-body:has(.et-duzen)::after { margin: -34px -16px 0; }
}

/* Manuel İşlemler: talimat paragrafı → kural şeridi (aynı metin, etiket + değer); özet çipleri rol rengi; son koşu satırı simge + metin tek satır */
html.ds.ds-kos #main .man-kural { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 4px; }
html.ds.ds-kos #main .man-kural > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
html.ds.ds-kos #main .man-kural span { font-size: 11px; color: var(--ink3); }
html.ds.ds-kos #main .man-kural b { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; line-height: 1.3; }
html.ds.ds-kos #main .man-kural em { font-style: normal; font-size: 12px; color: var(--ink2); line-height: 1.35; }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-v { font-size: inherit; color: inherit; }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-ok { color: #30B566; }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-hata { color: var(--red); }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-kos { color: var(--gold2); }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-dmg { color: var(--ink2); }
html.ds.ds-kos #main .man-bas .aa-ozet > div:has(.man-ok) { background: color-mix(in srgb, #30B566 10%, transparent); }
html.ds.ds-kos #main .man-bas .aa-ozet > div:has(.man-hata) { background: color-mix(in srgb, var(--red) 11%, transparent); }
html.ds.ds-kos #main .man-bas .aa-ozet > div:has(.man-kos) { background: color-mix(in srgb, var(--gold) 12%, transparent); }
html.ds.ds-kos #main .man-analiz { margin: 14px 0 4px; }
html.ds.ds-kos #main .man-analiz .aa-kart { margin: 0; }
html.ds.ds-kos #main .man-analiz .aa-kart h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos #main .man-analiz .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
/* son koşu satırı: simge (fermat_ds.js ✅/⚠ → çizgi) metnin başında kalır — sarma açıkken uzun metin alt satıra atlayıp simgeyi telefonda
   tek başına bırakıyordu */
html.ds.ds-kos #main .man-son { flex-wrap: nowrap !important; align-items: flex-start !important; }
html.ds.ds-kos #main .man-son > .ds-ic { flex: none; margin-top: 1px; }
/* işlem kartı: ≤1024 px'te kart sütun yönüne dönüyor; satır içi `flex:1 1 320px` o yönde 320 px YÜKSEKLİK oluyordu (tablette metin ile
   Çalıştır arasında ~400 px boşluk) → gövde içeriğe sarar */
@media (max-width: 1024px) { html.ds.ds-kos #main .man-grup > .card[style*="display:flex"] > div:first-child { flex: 0 0 auto !important; } }
@media (max-width: 760px) { html.ds.ds-kos #main .man-kural { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.ds.ds-kos #main .man-kural > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Görüşme notu: sheet içerik boyu (boş alt yarı yok); sınıf etiketi ton hapıyla aynı dil; diğer notlar ton noktalı zaman çizelgesi */
html.ds.ds-kos #modal .np-sinif { display: inline-flex; align-items: center; min-height: 22px; margin-left: 4px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 500; color: var(--ink2); background: color-mix(in srgb, var(--ink) 7%, transparent); vertical-align: 1px; }
html.ds.ds-kos #modal .np-analiz { margin: 0; }
html.ds.ds-kos #modal .np-analiz .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.ds.ds-kos #modal .np-diger .np-not { position: relative; padding-left: 16px !important; }
html.ds.ds-kos #modal .np-diger .np-not::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink3); }
html.ds.ds-kos #modal .np-diger .np-dikkat::before { background: var(--gold); }
html.ds.ds-kos #modal .np-diger .np-olumlu::before { background: var(--teal); }
html.ds.ds-kos #modal .np-diger .np-not:active { opacity: .7; transition: none; }
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal[open]:has(.np-sheet) { height: auto; margin-top: auto; }
  html.ds.ds-kos dialog#modal[open]:has(.np-sheet) .m-body { flex: 0 1 auto; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
/* 25.G-ui · kos_dash__studentDetail__notPopup (3,14: bosluk 2 · zenginlik 2 · derinlik 3). Ölçülen: telefonda sheet tam boy açılıp not
   kutusunun altı boş kalıyordu (:has kuralı bu yolda tutmadı → form pencereleriyle aynı m-fit sınıfı, UI.modal opts.cls); Konu etiketleri
   kalın düz metin, Ton hapı dolgulu → tek hap dili; not metni ton rengiyle vurgulu odak kartı; tek notlu öğrencide de özet + konu bağlamı
   (screens.js notPopup). Meta satırları (etiket/değer) olduğu gibi — önceki deneme onları değiştirip hizalamayı bozmuştu. */
html.ds.ds-kos #modal.np-modal .np-sheet .tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; vertical-align: 1px; }
html.ds.ds-kos #modal.np-modal .np-sheet .np-konu { color: var(--ink2); background: color-mix(in srgb, var(--ink) 7%, transparent); margin: 2px 4px 2px 0; }
html.ds.ds-kos #modal.np-modal .np-sheet > div:first-child > div { align-items: center; min-height: 34px; padding: 5px 0; border-bottom-color: color-mix(in srgb, var(--ink) 8%, transparent); }
html.ds.ds-kos #modal.np-modal .np-sheet > div:first-child > div > .muted:first-child { color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal.np-modal .np-sheet > div:first-child > div > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; }
html.ds.ds-kos #modal.np-modal .np-govde { position: relative; font-size: 14px !important; line-height: 1.6; color: var(--ink); text-wrap: pretty; padding: 14px 16px 14px 20px !important; border-radius: 12px !important; background: color-mix(in srgb, var(--ink) 3.5%, transparent) !important; border-color: color-mix(in srgb, var(--ink) 9%, transparent) !important; }
html.ds.ds-kos #modal.np-modal .np-govde::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--blue); }
html.ds.ds-kos #modal.np-modal .np-govde.np-dikkat::before { background: var(--gold); }
html.ds.ds-kos #modal.np-modal .np-govde.np-olumlu::before { background: var(--teal); }
html.ds.ds-kos #modal.np-modal .np-govde.np-dikkat { background: color-mix(in srgb, var(--gold) 6%, transparent) !important; }
html.ds.ds-kos #modal.np-modal .np-govde.np-olumlu { background: color-mix(in srgb, var(--teal) 6%, transparent) !important; }
html.ds.ds-kos #modal.np-modal .np-analiz { gap: 12px; }
html.ds.ds-kos #modal.np-modal .np-analiz .aa-kart { margin: 0; }
html.ds.ds-kos #modal.np-modal .np-analiz .aa-ozet b { font-size: 17px; font-weight: 650; }
html.ds.ds-kos #modal.np-modal .np-bos { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--ink) 16%, transparent); line-height: 1.45; }
html.ds.ds-kos #modal.np-modal .np-bos .rowlink { color: var(--ink); font-weight: 500; cursor: pointer; }
html.ds.ds-kos #modal.np-modal .np-bos .rowlink:active { opacity: .7; }
html.ds.ds-kos #modal.np-modal .np-diger > .muted:first-child { font-weight: 500; color: var(--ink3); }
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.np-modal .m-x { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; font-size: 15px; }
  html.ds.ds-kos #modal.np-modal .np-sheet { gap: 14px; }
  html.ds.ds-kos #modal.np-modal .np-analiz .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  html.ds.ds-kos #modal.np-modal .np-analiz .aa-ozet > div { padding: 8px 8px; }
  html.ds.ds-kos #modal.np-modal .np-analiz .aa-ozet b { font-size: 15px; }
}
@media (min-width: 761px) { html.ds.ds-kos dialog#modal.np-modal { max-width: 760px; } }
/* düzeltme turu (okunabilirlik 5→3): analiz kartları gelince gövde kaydırılır oldu, metin alt kenarda SATIR ORTASINDAN kesiliyordu
   (kaydırma ipucu yok → "kırpılmış" izlenimi). Çözüm (mg-kpi/gk-liste ile aynı dil): yapışkan alt solma + solmanın oturacağı 44 px
   alt boşluk (sona kaydırınca metin değil boşluk solar); PC'de gövde tavanı 66vh → pencereye göre (içerik kesilmeden sığar);
   kaydırma pencere dışına taşmaz. İçerik/kart sayısı aynı. */
html.ds.ds-kos #modal.np-modal .m-body { position: relative; overscroll-behavior: contain; }
html.ds.ds-kos #modal.np-modal .np-sheet { padding-bottom: 44px; }   /* solmanın sonda oturacağı boşluk */
html.ds.ds-kos #modal.np-modal .m-body::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 44px; margin: -44px -20px 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 80%);
}
@media (min-width: 761px) {
  html.ds.ds-kos dialog#modal.np-modal[open] { max-height: calc(100dvh - 48px); display: flex; flex-direction: column; }
  html.ds.ds-kos dialog#modal.np-modal .m-head, html.ds.ds-kos dialog#modal.np-modal .m-foot { flex: none; }
  html.ds.ds-kos dialog#modal.np-modal .m-body { flex: 1 1 auto; min-height: 0; max-height: calc(100dvh - 180px); }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal.np-modal .m-body::after { margin: -44px -16px 0; }
}

/* ══ 25.G-ui · SOHBET AİLESİ 4 YÜZEY — 2. tur (ui_denetim rol_ogretmen_sohbet 2,77 · rol_yonetim_sohbet 2,77 · sohbet_arsiv 3,05).
   Ortak kusur: (1) yüzen PWA rehberi önizleme kartının üstüne zayıf karartmayla biniyordu → katman karartması belirgin (koyu .52 /
   açık .34; gölge pointer geçirgen, iframe üstünde bulanıklık yok); (2) mesaj akışının son kartı giriş çubuğunun altında sert kesiliyordu
   → çubuğun üst kenarında içerik söner (kaydırılabilir ipucu); (3) hazır soru açıklaması kelime ortasında "…" ile kopuyordu → iki satıra
   sarılır. Yüzeye özgü: önizleme kartı geniş ekranda iki sütun (kapsam + erişim haritası | hazır sorular) ve bölüm erişim çipleri; arşiv
   özet şeridi (manşet sayı · 30 gün kıyası · aylık dağılım · tür süzgeci · çıkarım). Yapı fermat_ds.js; metin/onclick aynen. */
html.ds.ds-sohbet #pwa-manual-guide { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .52) !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #pwa-manual-guide { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .34) !important; }
html.ds.ds-sohbet .chat-input { position: relative; }
html.ds.ds-sohbet .chat-input::before {
  content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg));
}
@media (pointer: coarse) {   /* dokunmatikte odak: ince vurgu kenarı, sürekli turuncu halka yok */
  html.ds.ds-sohbet .chat-input textarea:focus, html.ds.ds-sohbet .chat-input textarea:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 22%, var(--border)) !important; box-shadow: none !important;
  }
}

/* önizleme kartı — hazır soru açıklaması iki satıra sarılır (kelime ortasında kesilmez) */
html.ds.ds-sohbet .ds-onz-st small {
  white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  text-wrap: pretty; overflow-wrap: normal;
}
html.ds.ds-sohbet .ds-onz-soru { align-items: flex-start; }
html.ds.ds-sohbet .ds-onz-soru .dnav-icon { margin-top: 1px; }
/* bölüm erişim haritası: açık bölümler kendi simgesiyle, admin görünümünde olup bu rolde kapalı olanlar kilitli + soluk */
html.ds.ds-sohbet .ds-onz-bol { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds.ds-sohbet .ds-onz-bol span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px 0 8px; border-radius: 999px; box-sizing: border-box;
  font-size: 12.5px; letter-spacing: -.003em; color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent);
}
html.ds.ds-sohbet .ds-onz-bol i { display: inline-grid; place-items: center; width: 16px; height: 16px; font-style: normal; }
html.ds.ds-sohbet .ds-onz-bol i svg { width: 16px; height: 16px; stroke-width: 1.8; }
html.ds.ds-sohbet .ds-onz-bol .ds-onz-b-kapali { color: var(--fg-muted); background: transparent; box-shadow: inset 0 0 0 1px var(--ds-ayrac); }
html.ds.ds-sohbet .ds-onz-bol .ds-onz-b-kapali .ds-ic { width: 13px; height: 13px; color: var(--fg-muted); }
/* geniş ekran (PC · iPad yatay): kart iki sütun — sol kimlik + kapsam, sağ hazır sorular; ekran genişliğine oranlı */
@media (min-width: 1000px) {
  html.ds.ds-sohbet .msg.bot.ds-onz-kart:has(.ds-onz-qp:not([hidden])) {
    display: grid; width: min(1180px, 100%); max-width: min(1180px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: repeat(5, auto) 1fr; column-gap: 28px; row-gap: 12px; align-content: start;
  }
  html.ds.ds-sohbet .ds-onz-kart:has(.ds-onz-qp:not([hidden])) > * { grid-column: 1; }
  html.ds.ds-sohbet .ds-onz-kart:has(.ds-onz-qp:not([hidden])) > .ds-onz-cik { grid-row: 6; align-self: end; }
  html.ds.ds-sohbet .ds-onz-kart > .ds-onz-qp:not([hidden]) {
    grid-column: 2; grid-row: 1 / span 6; border-top: 0; padding-top: 0; padding-left: 24px; border-left: 1px solid var(--ds-ayrac);
  }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-qp .ds-onz-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 25.G-ui (rol_rehber_sohbet): hazır soru başlığı liste satırıdır → 400 (hiyerarşi boyut + tonla); açıklama sözcük ortasında kesilmez */
html.ds.ds-sohbet .ds-onz-st b { font-weight: 400; color: var(--fg); letter-spacing: -.006em; }
html.ds.ds-sohbet .ds-onz-st small { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; white-space: normal; text-wrap: pretty; }
/* önizleme sürerken şeritte "Admin'e dön" zaten var → kart içindeki eşi gizlenir; önizleme bitince (şerit kapalı) kart kendi düğmesini taşımaz zaten pasif */
html.ds.ds-sohbet:has(#previewBanner[style*="flex"]) .ds-onz-kart > .ds-onz-cik { display: none; }
/* hazır soru bileşimi: %100 yığın + lejant + tek çıkarım */
html.ds.ds-sohbet .ds-onz-bls { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
html.ds.ds-sohbet .ds-onz-bls-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; }
html.ds.ds-sohbet .ds-onz-bls-bar i { min-width: 6px; }
html.ds.ds-sohbet .ds-onz-bls-lj { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-onz-bls-lj span { display: inline-flex; align-items: center; gap: 6px; }
html.ds.ds-sohbet .ds-onz-bls-lj i { width: 8px; height: 8px; border-radius: 2px; }
html.ds.ds-sohbet .ds-onz-bls-lj b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-onz-bls-dogrudan { background: var(--accent); }
html.ds.ds-sohbet .ds-onz-bls-doldur { background: #FF9F0A; }
html.ds.ds-sohbet .ds-onz-bls-ekran { background: color-mix(in srgb, var(--fg) 42%, transparent); }
html.ds.ds-sohbet .ds-onz-bls-dosya { background: color-mix(in srgb, var(--fg) 22%, transparent); }
html.ds.ds-sohbet .ds-onz-bls-c { margin: 0; font-size: 13px; line-height: 1.45; color: var(--fg-muted); text-wrap: pretty; }
/* PC: kart sohbet sütununun tamamını kullanır — sağda ada boşluğu kalmaz */
@media (min-width: 1200px) {
  html.ds.ds-sohbet .msg.bot.ds-onz-kart:has(.ds-onz-qp:not([hidden])) { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

/* arşiv özet şeridi */
html.ds.ds-sohbet .ds-ar-ozet { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 12px 18px; border-bottom: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet .ds-ar-ust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 14px; }
html.ds.ds-sohbet .ds-ar-man, html.ds.ds-sohbet .ds-ar-30 { display: flex; flex-direction: column; gap: 3px; }
html.ds.ds-sohbet .ds-ar-man b { font-family: var(--ds-font-disp); font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-30 { align-items: flex-end; }
html.ds.ds-sohbet .ds-ar-30 b { font-family: var(--ds-font-disp); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-man span, html.ds.ds-sohbet .ds-ar-30 span { font-size: 11.5px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-ar-30 small { font-size: 11px; font-weight: 500; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-30 .ds-ar-art { color: #30D158; }
html.ds.ds-sohbet .ds-ar-30 .ds-ar-az { color: #FF9F0A; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-30 .ds-ar-art { color: #1E9E45; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-30 .ds-ar-az { color: #C76A00; }
html.ds.ds-sohbet .ds-ar-ay { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; height: 56px; align-items: end; }
html.ds.ds-sohbet .ds-ar-ay span { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: 3px; }
html.ds.ds-sohbet .ds-ar-ay i { display: block; min-height: 2px; border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
html.ds.ds-sohbet .ds-ar-ay span:last-child i { background: var(--accent); }
html.ds.ds-sohbet .ds-ar-ay em { font-style: normal; font-size: 10px; line-height: 1; text-align: center; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-ar-ay span { position: relative; }
html.ds.ds-sohbet .ds-ar-ay span > i { flex: 0 0 auto; max-height: calc(100% - 26px); }
html.ds.ds-sohbet .ds-ar-ay span > b { font-size: 10px; font-weight: 500; line-height: 1; text-align: center; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-ay span:last-child > b { color: var(--fg); }
/* kategori bileşimi: %100 yığın şerit (dilim genişliği = pay; 6 tonlu palet, sıra = büyükten küçüğe) + sayaçlı kategori çipleri */
html.ds.ds-sohbet .ds-ar-kat { display: flex; flex-direction: column; gap: 7px; }
html.ds.ds-sohbet .ds-ar-yigin { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; }
html.ds.ds-sohbet .ds-ar-yigin i { display: block; min-width: 3px; }
html.ds.ds-sohbet .ds-ar-kat .k0 { background: var(--accent); }
html.ds.ds-sohbet .ds-ar-kat .k1 { background: #0A84FF; }
html.ds.ds-sohbet .ds-ar-kat .k2 { background: #30D158; }
html.ds.ds-sohbet .ds-ar-kat .k3 { background: #BF5AF2; }
html.ds.ds-sohbet .ds-ar-kat .k4 { background: #64D2FF; }
html.ds.ds-sohbet .ds-ar-kat .k5 { background: #FFD60A; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-kat .k1 { background: #0071E3; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-kat .k2 { background: #1E9E45; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-kat .k3 { background: #8E44AD; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-kat .k4 { background: #0A8FBF; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ar-kat .k5 { background: #C79A00; }
html.ds.ds-sohbet .ds-ar-kat-cip { display: flex; flex-wrap: wrap; gap: 4px 6px; }
html.ds.ds-sohbet .ds-ar-kat-cip button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 8px 0 7px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--fg-muted); background: transparent;
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease), transform .18s var(--ds-ease);
}
html.ds.ds-sohbet .ds-ar-kat-cip button i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
html.ds.ds-sohbet .ds-ar-kat-cip button b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-kat-cip button:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); color: var(--fg); }
html.ds.ds-sohbet .ds-ar-kat-cip button.on { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); box-shadow: inset 0 0 0 1px var(--ds-ayrac); }
html.ds.ds-sohbet .ds-ar-kat-cip button:active { transform: scale(.97); }
html.ds.ds-sohbet .ds-ar-kat-cip button:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
@media (pointer: coarse) { html.ds.ds-sohbet .ds-ar-kat-cip button { min-height: 36px; padding: 0 10px 0 9px; } }
html.ds.ds-sohbet .ds-ar-cip { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds.ds-sohbet .ds-ar-cip button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 6%, transparent);
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease), transform .18s var(--ds-ease);
}
html.ds.ds-sohbet .ds-ar-cip button b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-cip button small { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-ar-cip button small .ds-ic { width: 11px; height: 11px; }
html.ds.ds-sohbet .ds-ar-cip button > .ds-ic { width: 15px; height: 15px; }
html.ds.ds-sohbet .ds-ar-cip [data-tur="sohbet"] > .ds-ic { color: var(--accent); }
html.ds.ds-sohbet .ds-ar-cip [data-tur="gorsel"] > .ds-ic { color: #0A84FF; }
html.ds.ds-sohbet .ds-ar-cip button.on { color: var(--fg); background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
html.ds.ds-sohbet .ds-ar-cip button:active { transform: scale(.97); }
html.ds.ds-sohbet .ds-ar-cip button:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
@media (pointer: coarse) { html.ds.ds-sohbet .ds-ar-cip button { min-height: 40px; } }
html.ds.ds-sohbet .ds-ar-cik { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-muted); text-wrap: pretty; }
html.ds.ds-sohbet .ds-ar-cik .ds-ic { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; color: #FF9F0A; }
/* satır türü rengi: sohbet kaydı vurgu, görsel/simülasyon kaydı mavi (hızlı taramada ayrışır) */
html.ds.ds-sohbet #archiveList .history-item[data-ds-tur="sohbet"] .date .ds-kat { color: var(--accent); }
html.ds.ds-sohbet #archiveList .history-item[data-ds-tur="gorsel"] .date .ds-kat { color: #0A84FF; }
html.ds.ds-sohbet:not([data-theme="dark"]) #archiveList .history-item[data-ds-tur="gorsel"] .date .ds-kat { color: #0071E3; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet .ds-ar-cip button, html.ds.ds-sohbet .ds-ar-kat-cip button { transition: none; } }

/* ── 25.G-ui · Yönetim Paneli karar katmanı — Sağlık · Kalite · Maliyet · Öğrenci (ui_denetim panel_health/quality/budget/student:
   derinlik 2, zenginlik 2). fermat_ds.js panelAnaliz(): kart başlığı konu simgesi, kapı konu grupları + durum şeridi, canlı trafik ↔
   saatlik ortalama, rapor bölüm şeridi, KPI payları, "Nereye bakmalı" (sınıf zayıf % ↔ kurum ortalaması), zayıf cevap süzgeci, maliyet
   manşeti + rol bileşimi + mesaj başı ↔ kurum ortalaması, öğrenci boş durumu önizleme ızgarası. Atlas sekmesine dokunulmaz. */
html.ds.ds-panel #tab-health .card > h2 > .ds-ic, html.ds.ds-panel #tab-quality .card > h2 > .ds-ic, html.ds.ds-panel #tab-budget .card > h2 > .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted); }
/* süzgeçle gizlenen satır: !important yerine mobil satır kurallarını (#budget-table > tbody > tr, ≤900) yenen özgül seçici */
html.ds.ds-panel .ds-gizli, html.ds.ds-panel #budget-table > tbody > tr.ds-gizli, html.ds.ds-panel #q-zayif-table > tbody > tr.ds-gizli { display: none; }
html.ds.ds-panel .ds-cikarim {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--text);
  text-wrap: pretty; letter-spacing: -.003em;
}
html.ds.ds-panel .ds-cikarim > .ds-inl { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; color: var(--muted); }

/* Sağlık · kapılar: durum şeridi (her kapı bir hücre) + konu grupları */
html.ds.ds-panel .ds-kapi-ozet { margin: 2px 0 14px; }
html.ds.ds-panel .ds-ks { display: flex; gap: 3px; height: 8px; }
html.ds.ds-panel .ds-ks > i { flex: 1 1 0; border-radius: 3px; background: #30D158; opacity: .85; }
html.ds.ds-panel .ds-ks > i.ds-ks-k { background: #FF453A; opacity: 1; }
html.ds.ds-panel .ds-kapi-ozet[data-durum="y"] .ds-cikarim > .ds-inl { color: #30D158; }
html.ds.ds-panel .ds-kapi-ozet[data-durum="b"] .ds-cikarim > .ds-inl { color: #0A84FF; }
html.ds.ds-panel .ds-kapi-ozet[data-durum="k"] .ds-cikarim > .ds-inl { color: #FF453A; }
/* kapsayıcının inline display/gap'ini fermat_ds.js kapiGrupla() söker (yalnız html.ds altında); iki durum da burada */
html.ds.ds-panel #h-kapilar { display: flex; flex-wrap: wrap; gap: 8px; }
html.ds.ds-panel #h-kapilar.ds-kg-kap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
html.ds.ds-panel .ds-kg { padding: 12px 12px 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--border); min-width: 0; }
html.ds.ds-panel .ds-kg-b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-size: 13px; font-weight: 500; color: var(--muted); }
html.ds.ds-panel .ds-kg-n { font-variant-numeric: tabular-nums; font-size: 12.5px; color: #30D158; }
html.ds.ds-panel .ds-kg-n.ds-kg-kirmizi { color: #FF453A; }
html.ds.ds-panel .ds-kg-c { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds.ds-panel #h-kapilar .chip { display: inline-flex; align-items: center; gap: 6px; }
html.ds.ds-panel #h-kapilar .chip .ds-inl { width: 13px; height: 13px; }

/* Sağlık · canlı trafik: ortak eksende iki çubuk (son saat ↔ saatlik ortalama) */
html.ds.ds-panel .ds-trf { margin-top: 12px; display: grid; gap: 6px; }
html.ds.ds-panel .ds-trf-s { display: grid; grid-template-columns: 84px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
html.ds.ds-panel .ds-trf-s > i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
html.ds.ds-panel .ds-trf-s > i > b { display: block; height: 100%; min-width: 2px; border-radius: 4px; background: #0A84FF; }
html.ds.ds-panel .ds-trf-ref > i > b { background: rgba(255, 255, 255, .32); }
html.ds.ds-panel .ds-trf-s > em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
html.ds.ds-panel .ds-trf .ds-cikarim { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Sağlık · sabah raporu: bölüm şeridi (dokun → bölüme kay) + bölüm kutuları + bulgu satırı vurgusu */
html.ds.ds-panel .ds-rp-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
html.ds.ds-panel .ds-rp-git {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .07); color: var(--text); font: 500 12.5px/1 var(--ds-font); transition: background .18s cubic-bezier(.32, .72, 0, 1);
}
html.ds.ds-panel .ds-rp-git:hover { background: rgba(255, 255, 255, .11); }
html.ds.ds-panel .ds-rp-git:active { background: rgba(255, 255, 255, .16); }
html.ds.ds-panel .ds-rp-git:focus-visible { outline: 2px solid #0A84FF; outline-offset: 2px; }
html.ds.ds-panel .ds-rp-git .ds-inl, html.ds.ds-panel .ds-rp-git svg { width: 14px; height: 14px; margin: 0; color: var(--muted); }
html.ds.ds-panel .ds-rp-git > em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
html.ds.ds-panel .ds-rp-git.ds-rp-dikkat svg { color: #FFD60A; }
html.ds.ds-panel .ds-rp-s { margin-top: 10px; padding: 2px 12px 10px; border-radius: 10px; background: rgba(255, 255, 255, .025); }
html.ds.ds-panel .ds-rp-s > .ds-rp-h:first-child { margin-top: 8px; }
html.ds.ds-panel .ds-rp-l.ds-rp-bulgu { margin: 4px 0; padding-top: 6px; padding-bottom: 6px; border-radius: 8px; background: rgba(10, 132, 255, .08); }
@media (pointer: coarse) { html.ds.ds-panel .ds-rp-git { min-height: 44px; padding: 0 14px; font-size: 14px; } }

/* Kalite · KPI ızgarası: dört gösterge tek satır (iPad/PC), alt yarım kartlar ikişer sütun — 3+1 boş hücre kalmaz */
@media (min-width: 901px) {
  html.ds.ds-panel #tab-quality .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.ds.ds-panel #tab-quality .grid > .card:not(.full):nth-last-child(-n+2) { grid-column: span 2; }
}
@media (min-width: 560px) and (max-width: 900px) { html.ds.ds-panel #tab-quality .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.ds.ds-panel #q-cevap { color: var(--text); }   /* nötr sayaç — uyarı rengi yalnız sorun taşıyan göstergede */
html.ds.ds-panel .ds-kpi-ek { margin-top: 12px; }
html.ds.ds-panel .ds-kpi-not { margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel .ds-yigin, html.ds.ds-panel .ds-olc { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .07); }
html.ds.ds-panel .ds-yigin > b { background: #0A84FF; }
html.ds.ds-panel .ds-yigin > i { background: rgba(255, 255, 255, .22); }
html.ds.ds-panel .ds-olc > b { display: block; min-width: 2px; border-radius: 3px; background: #0A84FF; }
html.ds.ds-panel .ds-olc-sari > b { background: #FFD60A; }
html.ds.ds-panel .ds-olc-kirmizi > b { background: #FF453A; }
html.ds.ds-panel .ds-nk { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 5px 0 0; vertical-align: 1px; }
html.ds.ds-panel .ds-nk-1 { background: #0A84FF; }
html.ds.ds-panel .ds-nk-2 { background: rgba(255, 255, 255, .32); margin-left: 8px; }

/* Kalite · "Nereye bakmalı": sınıf zayıf % ortak eksende + kurum ortalaması çizgisi; en sık eksikler dokunulabilir süzgeç */
html.ds.ds-panel .ds-nk-g { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { html.ds.ds-panel .ds-nk-g { grid-template-columns: 1fr; } }
html.ds.ds-panel .ds-nk-graf { position: relative; display: grid; gap: 7px; padding-bottom: 22px; }
html.ds.ds-panel .ds-sz { display: grid; grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) 52px; column-gap: 10px; align-items: center; font-size: 13px; }
html.ds.ds-panel .ds-sz > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
html.ds.ds-panel .ds-sz > i { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
html.ds.ds-panel .ds-sz > i > b { display: block; height: 100%; min-width: 2px; border-radius: 5px; background: rgba(255, 255, 255, .34); }
html.ds.ds-panel .ds-sz.ds-sz-ust > i > b { background: #FF9F0A; }
html.ds.ds-panel .ds-sz.ds-sz-az { opacity: .6; }
html.ds.ds-panel .ds-sz > em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
html.ds.ds-panel .ds-sz > small { grid-column: 2 / 4; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel .ds-sz > i::after {   /* kurum ortalaması: her satırda aynı konumda saç teli */
  content: ""; position: absolute; top: -3px; bottom: -3px; left: var(--ort); width: 2px; border-radius: 1px; background: var(--text); opacity: .7;
}
html.ds.ds-panel .ds-sz-ref { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) 52px; column-gap: 10px; font-size: 11.5px; color: var(--muted); }
html.ds.ds-panel .ds-sz-ref > span { grid-column: 2; padding-left: min(var(--ort), calc(100% - 11.5em)); white-space: nowrap; transform: translateX(-4px); }   /* 25.876: telefonda referans etiketi sağdan taşıyordu */
html.ds.ds-panel .ds-nk-eb, html.ds.ds-panel .ds-bk-eb { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
html.ds.ds-panel .ds-eks {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 0 12px; margin-bottom: 6px;
  border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--text); font: 400 13.5px/1.3 var(--ds-font); cursor: pointer; text-align: left;
  transition: background .18s cubic-bezier(.32, .72, 0, 1);
}
html.ds.ds-panel .ds-eks > em { font-style: normal; font-variant-numeric: tabular-nums; color: #FFD60A; }
html.ds.ds-panel .ds-eks:hover { background: rgba(255, 255, 255, .09); }
html.ds.ds-panel .ds-eks[aria-pressed="true"] { background: rgba(10, 132, 255, .2); }

/* Kalite · zayıf cevap süzgeci (segment çipleri, sayaçlı) + tablo metni sarar, sunucu kesimi üç noktayla biter */
html.ds.ds-panel .ds-suz { display: grid; gap: 8px; margin: 0 0 12px; }
html.ds.ds-panel .ds-suz-s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
html.ds.ds-panel .ds-suz-b { width: 52px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
html.ds.ds-panel .ds-suz-s > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .07); color: var(--text); font: 400 13px/1 var(--ds-font); transition: background .18s cubic-bezier(.32, .72, 0, 1);
}
html.ds.ds-panel .ds-suz-s > button > em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
html.ds.ds-panel .ds-suz-s > button:hover { background: rgba(255, 255, 255, .11); }
html.ds.ds-panel .ds-suz-s > button[aria-pressed="true"] { background: rgba(255, 255, 255, .9); color: #000; }
html.ds.ds-panel .ds-suz-s > button[aria-pressed="true"] > em { color: rgba(0, 0, 0, .55); }
html.ds.ds-panel .ds-suz-s > button:focus-visible, html.ds.ds-panel .ds-eks:focus-visible, html.ds.ds-panel .ds-rl:focus-visible { outline: 2px solid #0A84FF; outline-offset: 2px; }
html.ds.ds-panel #q-zayif-table td:nth-child(5), html.ds.ds-panel #q-zayif-table td:nth-child(6) { min-width: 220px; line-height: 1.45; overflow-wrap: anywhere; }
html.ds.ds-panel #q-zayif-table td.ds-kes::after { content: "…"; color: var(--muted); }
@media (pointer: coarse) {
  html.ds.ds-panel .ds-suz-s > button, html.ds.ds-panel .ds-eks { min-height: 44px; padding: 0 14px; }
  html.ds.ds-panel .ds-suz-b { width: 100%; }
}

/* Maliyet · manşet sayılar + rol bileşimi (%100 yığın) + rol başına mesaj başı maliyet ↔ kurum ortalaması */
html.ds.ds-panel #tab-budget .card.ds-bk-var > p:first-of-type { display: none; }
html.ds.ds-panel .ds-bk { margin: 4px 0 20px; }
html.ds.ds-panel .ds-bk-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { html.ds.ds-panel .ds-bk-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.ds.ds-panel .ds-bk-k { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); min-width: 0; }
html.ds.ds-panel .ds-bk-k > span { font-size: 12.5px; color: var(--muted); }
html.ds.ds-panel .ds-bk-k > b { font-family: var(--ds-font-disp); font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); line-height: 1.1; }
html.ds.ds-panel .ds-bk-k > small { font-size: 12px; color: var(--muted); }
html.ds.ds-panel .ds-bk-ana { background: radial-gradient(120% 140% at 0% 0%, rgba(199, 111, 62, .2), rgba(199, 111, 62, .04) 70%); border-color: rgba(199, 111, 62, .28); }
html.ds.ds-panel .ds-bk-ana > b { font-size: 30px; font-weight: 700; color: #F2A06E; }
html.ds.ds-panel .ds-bk-rol { margin-top: 18px; }
html.ds.ds-panel .ds-bk-yig { display: flex; height: 12px; gap: 2px; border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
html.ds.ds-panel .ds-bk-yig > b { display: block; min-width: 3px; }
html.ds.ds-panel .ds-bk-bas, html.ds.ds-panel .ds-rl { display: grid; grid-template-columns: minmax(120px, 1.2fr) 90px minmax(0, 2fr); gap: 12px; align-items: center; }
html.ds.ds-panel .ds-bk-bas { font-size: 12px; color: var(--muted); padding: 0 10px 6px; }
html.ds.ds-panel .ds-bk-rl { display: grid; gap: 2px; }
html.ds.ds-panel .ds-rl {
  width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text);
  font: 400 13.5px/1.3 var(--ds-font); text-align: left; cursor: pointer; transition: background .18s cubic-bezier(.32, .72, 0, 1);
}
html.ds.ds-panel .ds-rl:hover { background: rgba(255, 255, 255, .05); }
html.ds.ds-panel .ds-rl[aria-pressed="true"] { background: rgba(255, 255, 255, .09); }
html.ds.ds-panel .ds-rl-ad { display: flex; align-items: center; gap: 8px; min-width: 0; }
html.ds.ds-panel .ds-rl-ad > i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
html.ds.ds-panel .ds-rl small { margin-left: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel .ds-rl-p { font-variant-numeric: tabular-nums; font-weight: 500; }
html.ds.ds-panel .ds-rl-g { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 10px; align-items: center; }
html.ds.ds-panel .ds-rl-g > i { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
html.ds.ds-panel .ds-rl-g > i > b { display: block; height: 100%; min-width: 2px; border-radius: 4px; opacity: .9; }
html.ds.ds-panel .ds-rl-g > i::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: var(--ort); width: 2px; border-radius: 1px; background: var(--text); opacity: .7; }
html.ds.ds-panel .ds-rl-g > em { font-style: normal; text-align: right; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  /* telefon: başlık satırı satır düzenini izler (Rol · Pay üstte, gösterge açıklaması tam satır) — referans çizgisinin anlamı kaybolmaz */
  html.ds.ds-panel .ds-bk-bas { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  html.ds.ds-panel .ds-bk-bas > span:last-child { grid-column: 1 / -1; }
  html.ds.ds-panel .ds-rl { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  html.ds.ds-panel .ds-rl-g { grid-column: 1 / -1; }
}
html.ds.ds-panel #tab-budget .card > p.ds-dipnot { margin: 12px 0 0 !important; font-size: 12.5px !important; color: var(--muted) !important; }

/* Öğrenci · boş durum: talimat paragrafı yerine açılacak bölümlerin önizleme ızgarası (ekran dolu ve sakin) */
html.ds.ds-panel #tab-student .ds-bos .ds-on { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 640px; margin-top: 20px; }
@media (min-width: 900px) { html.ds.ds-panel #tab-student .ds-bos .ds-on { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; } }
html.ds.ds-panel #tab-student .ds-on-k {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 12px; text-align: left;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--border); min-width: 0;
}
html.ds.ds-panel #tab-student .ds-on-k > .ds-ic { width: 20px; height: 20px; color: var(--muted); margin: 0 0 2px; }
html.ds.ds-panel #tab-student .ds-on-k > b { font-size: 14px; font-weight: 500; color: var(--text); }
html.ds.ds-panel #tab-student .ds-on-k > span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
html.ds.ds-panel #tab-student .ds-on-k:nth-child(1) > .ds-ic { color: #30D158; }
html.ds.ds-panel #tab-student .ds-on-k:nth-child(2) > .ds-ic { color: #FF9F0A; }
html.ds.ds-panel #tab-student .ds-on-k:nth-child(3) > .ds-ic { color: #BF5AF2; }
html.ds.ds-panel #tab-student .ds-on-k:nth-child(4) > .ds-ic { color: #64D2FF; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-panel .ds-rp-git, html.ds.ds-panel .ds-suz-s > button, html.ds.ds-panel .ds-eks, html.ds.ds-panel .ds-rl { transition: none; } }
/* Öğrenci · boş durumun karar katmanı (fermat_ds.js ogrenciKarar): Hızlı erişim (son açılan + son sinyal alan öğrenciler → dokun =
   röntgen) ve sınıfların TYT net ortalaması ortak eksende, çizgi = kurum ortalaması. Önizleme kartları telefonda satır düzeni (simge
   solda) — dar iki sütunda kırılan başlık ve yetim kelime kalkar. Öğrenci sekmesi tarihten bağımsız → tarih seçici soluk (davranış aynı). */
html.ds.ds-panel #tab-student .ds-og { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 880px; margin-top: 22px; text-align: left; }
@media (min-width: 900px) { html.ds.ds-panel #tab-student .ds-og:has(> .ds-og-er:not([hidden])):has(> .ds-og-sn:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; } }
html.ds.ds-panel #tab-student .ds-og-k { padding: 14px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--border); min-width: 0; animation: ds-og-gir .26s cubic-bezier(.32, .72, 0, 1) both; }
html.ds.ds-panel #tab-student .ds-og-k[hidden] { display: none; }
@keyframes ds-og-gir { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
html.ds.ds-panel #tab-student .ds-og-eb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 2px 8px; }
html.ds.ds-panel #tab-student .ds-og-eb > span { font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
html.ds.ds-panel #tab-student .ds-og-eb > small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #tab-student .ds-og-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 2px 8px; }
html.ds.ds-panel #tab-student .ds-og-s {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 8px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text); font: 400 14px/1.25 var(--ds-font); text-align: left; cursor: pointer;
  transition: background .18s cubic-bezier(.32, .72, 0, 1); -webkit-tap-highlight-color: transparent;
}
html.ds.ds-panel #tab-student .ds-og-s:hover { background: rgba(255, 255, 255, .05); }
html.ds.ds-panel #tab-student .ds-og-s:active { background: rgba(255, 255, 255, .09); }
html.ds.ds-panel #tab-student .ds-og-s:focus-visible { outline: 2px solid rgba(10, 132, 255, .6); outline-offset: 1px; }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic { width: 17px; height: 17px; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic[data-ic="grafik"] { color: #30D158; }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic[data-ic="yukselis"] { color: #64D2FF; }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic[data-ic="takvim"] { color: #FF9F0A; }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic[data-ic="pusula"] { color: #BF5AF2; }
html.ds.ds-panel #tab-student .ds-og-s > .ds-ic[data-ic="sag"] { width: 14px; height: 14px; margin-left: auto; opacity: .55; color: var(--muted); }
/* gruplu hızlı erişim: simge satırda değil grup başlığında bir kez (tür rengi); sinyal grubunda öğrenciler sıkı çip ızgarası (telefonda 3 sütun) */
html.ds.ds-panel #tab-student .ds-og-g + .ds-og-g { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
html.ds.ds-panel #tab-student .ds-og-gb { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; min-width: 0; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted); }
html.ds.ds-panel #tab-student .ds-og-gb > span { font-size: 13px; font-weight: 500; color: var(--text); }
html.ds.ds-panel #tab-student .ds-og-gb > small { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="saat"] { color: #0A84FF; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="grafik"] { color: #30D158; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="yukselis"] { color: #64D2FF; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="takvim"] { color: #FF9F0A; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="pusula"] { color: #BF5AF2; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="tekrar"] { color: #FFD60A; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="sohbet"] { color: #5E5CE6; }
html.ds.ds-panel #tab-student .ds-og-gb > .ds-ic[data-ic="kitap"] { color: #FF9F0A; }
html.ds.ds-panel #tab-student .ds-og-l.ds-og-cl { grid-template-columns: repeat(auto-fill, minmax(min(100%, 104px), 1fr)); gap: 8px; }
html.ds.ds-panel #tab-student .ds-og-c { min-height: 44px; padding: 6px 8px 6px 12px; gap: 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #tab-student .ds-og-c:hover { background: rgba(255, 255, 255, .07); }
html.ds.ds-panel #tab-student .ds-og-c:active { background: rgba(255, 255, 255, .1); }
html.ds.ds-panel #tab-student .ds-og-c > .ds-ic[data-ic="sag"] { width: 12px; height: 12px; }
html.ds.ds-panel #tab-student .ds-og-ad { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html.ds.ds-panel #tab-student .ds-og-ad, html.ds.ds-panel #tab-student .ds-og-ad > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-panel #tab-student .ds-og-ad > small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* sınıf nokta şeridi: ad · ortak eksen (nokta = sınıf ort., dikey çizgi = kurum ort.) · değer + kuruma göre fark */
html.ds.ds-panel #tab-student .ds-sn-l { display: grid; gap: 0; }
html.ds.ds-panel #tab-student .ds-sn-s, html.ds.ds-panel #tab-student .ds-sn-x { display: grid; grid-template-columns: minmax(92px, .9fr) minmax(0, 2fr) 76px; gap: 12px; align-items: center; min-height: 34px; padding: 0 4px; }
html.ds.ds-panel #tab-student .ds-sn-ad { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; color: var(--text); line-height: 1.2; }
html.ds.ds-panel #tab-student .ds-sn-ad, html.ds.ds-panel #tab-student .ds-sn-ad > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-panel #tab-student .ds-sn-ad > small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #tab-student .ds-sn-e { position: relative; height: 22px; }
html.ds.ds-panel #tab-student .ds-sn-s > .ds-sn-e::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .08); }
html.ds.ds-panel #tab-student .ds-sn-e::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--ort); width: 1.5px; margin-left: -.75px; background: var(--text); opacity: .45; }
html.ds.ds-panel #tab-student .ds-sn-x > .ds-sn-e::after { display: none; }
html.ds.ds-panel #tab-student .ds-sn-e > b { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #30D158; box-shadow: 0 0 0 3px rgba(48, 209, 88, .16); }
html.ds.ds-panel #tab-student .ds-sn-alt .ds-sn-e > b { background: #FF9F0A; box-shadow: 0 0 0 3px rgba(255, 159, 10, .16); }
html.ds.ds-panel #tab-student .ds-sn-az { opacity: .55; }
html.ds.ds-panel #tab-student .ds-sn-s > em { font-style: normal; text-align: right; font-size: 13.5px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
html.ds.ds-panel #tab-student .ds-sn-s > em > small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
html.ds.ds-panel #tab-student .ds-sn-alt > em > small { color: #FF9F0A; }
html.ds.ds-panel #tab-student .ds-sn-x { min-height: 18px; }
html.ds.ds-panel #tab-student .ds-sn-x > .ds-sn-e { height: 14px; }
html.ds.ds-panel #tab-student .ds-sn-x i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-panel #tab-student .ds-sn-x i:first-child { transform: none; }
html.ds.ds-panel #tab-student .ds-sn-x i:last-child { transform: translateX(-100%); }
html.ds.ds-panel #tab-student .ds-og .ds-cikarim { margin: 10px 4px 0; }
html.ds.ds-panel #tab-student .ds-on-k > span { text-wrap: balance; }
@media (max-width: 560px) {
  html.ds.ds-panel #tab-student .ds-bos .ds-on { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html.ds.ds-panel #tab-student .ds-on-k { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; }
  html.ds.ds-panel #tab-student .ds-on-k > .ds-ic { grid-row: 1 / span 2; margin: 0; }
  html.ds.ds-panel #tab-student .ds-sn-s, html.ds.ds-panel #tab-student .ds-sn-x { grid-template-columns: minmax(72px, .8fr) minmax(0, 1.6fr) 58px; gap: 10px; }
}
html.ds.ds-panel:has(#tab-student.active) #date-dd > .dd-btn { opacity: .45; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-panel #tab-student .ds-og-k { animation: none; } html.ds.ds-panel #tab-student .ds-og-s { transition: none; } }

/* ── 25.G-ui · YÖNETİM PANELİ · ATLAS karar katmanı (ui_denetim panel_atlas: derinlik 1 · zenginlik 2 · bütünlük 3). Açıklama
   paragrafı → üç adımlı akış şeridi (kaynak → hakem → yeşil otomatik / sarı·kırmızı senin kararın; olgular aynen, simgeler
   metinSimgele). Üstüne karar özeti (dashboard_ui.html _atlasOzet): dokunulabilir 4 manşet (karar bekleyen · onaylı · otonom 7 gün ·
   otonom erteledi) + hakem sınıfı %100 yığını ve Atlas↔hakem uyumu, 7 günlük otonom sütunu (ortalama referans çizgisi, örneklem
   tavanının yetişmediği gün taralı), yüzey payı + tazelik, iş alanı çipleri; her panelde tek çıkarım cümlesi. Telefon sekme şeridi
   tablet/PC ile aynı segmented control diline alınır (§20'deki ayrı hap dizisi yerine kapsül içi seçili dilim; uçlarda solma). */
html.ds.ds-panel .atlas-akis { gap: 10px; margin: 2px 0 16px; font-size: 13px; line-height: 1.45; letter-spacing: -.003em; }
html.ds.ds-panel .atlas-akis .aa-adim { padding: 12px 14px; border-radius: 12px; border-color: var(--border); background: rgba(255, 255, 255, .03); }
html.ds.ds-panel .atlas-akis .aa-dal { background: none; padding: 0; }
html.ds.ds-panel .atlas-akis .aa-adim > b, html.ds.ds-panel .atlas-akis .aa-yol > b { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--text); }
html.ds.ds-panel .atlas-akis strong { font-weight: 500; }
html.ds.ds-panel .atlas-akis .aa-yol { padding: 10px 14px; border-radius: 12px; }
html.ds.ds-panel .atlas-akis .aa-yesil { border-color: color-mix(in srgb, #30D158 30%, transparent); background: color-mix(in srgb, #30D158 7%, transparent); }
html.ds.ds-panel .atlas-akis .aa-sari { border-color: color-mix(in srgb, #FFD60A 26%, transparent); background: color-mix(in srgb, #FFD60A 6%, transparent); }
html.ds.ds-panel .atlas-akis .ds-inl { width: 13px; height: 13px; }
html.ds.ds-panel .atlas-akis .ds-inl[data-ic="nokta"] { width: 10px; height: 10px; }
@media (min-width: 761px) {   /* adım arası çizgi chevron: akışın yönü okunur (simge dili, glif değil) */
  html.ds.ds-panel .atlas-akis .aa-adim:not(.aa-dal)::after {
    content: ""; position: absolute; top: 50%; right: -9px; width: 7px; height: 7px; border: solid var(--muted); border-width: 1.6px 1.6px 0 0;
    transform: translateY(-50%) rotate(45deg); opacity: .7;
  }
}
/* karar özeti: manşet kartları (düğme — dokun → ilgili liste) */
html.ds.ds-panel .ao-kpi { gap: 10px; }
html.ds.ds-panel .ao-k {
  padding: 14px 16px; border-radius: 14px; border-color: var(--border); background: rgba(255, 255, 255, .04); font-family: var(--ds-font);
  transition: background-color .18s cubic-bezier(.32, .72, 0, 1), transform .18s cubic-bezier(.32, .72, 0, 1);
}
html.ds.ds-panel .ao-k:hover { background-color: rgba(255, 255, 255, .065); }
html.ds.ds-panel .ao-k:active { transform: scale(.985); background-color: rgba(255, 255, 255, .08); }
html.ds.ds-panel .ao-k:focus-visible, html.ds.ds-panel .ao-cip > button:focus-visible { outline: 2px solid #0A84FF; outline-offset: 2px; }
html.ds.ds-panel .ao-k > span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
html.ds.ds-panel .ao-k > b { font-family: var(--ds-font-disp); font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
html.ds.ds-panel .ao-k > small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
html.ds.ds-panel .ao-k .ao-ok { top: 12px; right: 14px; font-size: 16px; line-height: 1; opacity: .7; }
html.ds.ds-panel .ao-ana { background: radial-gradient(120% 140% at 0% 0%, rgba(10, 132, 255, .18), rgba(10, 132, 255, .03) 70%); border-color: rgba(10, 132, 255, .28); }
html.ds.ds-panel .ao-ana > b { color: #64B5FF; }
html.ds.ds-panel .ao-yesil > b { color: #30D158; }
html.ds.ds-panel .ao-sari { border-color: rgba(255, 214, 10, .28); }
html.ds.ds-panel .ao-sari > b { color: #FFD60A; }
html.ds.ds-panel .ao-nk.ao-y, html.ds.ds-panel .ao-yigin > .ao-y, html.ds.ds-panel .ao-st > i > b { background: #30D158; }
html.ds.ds-panel .ao-nk.ao-s, html.ds.ds-panel .ao-yigin > .ao-s, html.ds.ds-panel .ao-sz-eski > i > b { background: #FFD60A; }
html.ds.ds-panel .ao-nk.ao-r, html.ds.ds-panel .ao-yigin > .ao-r { background: #FF453A; }
/* analiz panelleri: saç teli kart, 500 bölüm etiketi, tek çıkarım cümlesi */
html.ds.ds-panel .ao-g { gap: 10px; }
html.ds.ds-panel .ao-p { padding: 14px 16px; border-radius: 14px; border-color: var(--border); background: rgba(255, 255, 255, .025); }
html.ds.ds-panel .ao-p > h3 { font-family: var(--ds-font); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); text-wrap: balance; }
html.ds.ds-panel .ao-yigin { height: 10px; gap: 2px; }
html.ds.ds-panel .ao-leg { font-size: 12.5px; }
html.ds.ds-panel .ao-cik { margin-top: 12px; padding-left: 10px; border-left: 2px solid rgba(255, 255, 255, .14); font-size: 13px; line-height: 1.45; color: var(--text); text-wrap: pretty; }
html.ds.ds-panel .ao-st > em, html.ds.ds-panel .ao-st > span, html.ds.ds-panel .ao-sz > small { font-size: 11.5px; }
html.ds.ds-panel .ao-sz { font-size: 13px; }
html.ds.ds-panel .ao-cip > button { font: 400 13px/1 var(--ds-font); transition: background .18s cubic-bezier(.32, .72, 0, 1); }
html.ds.ds-panel .ao-cip > button:hover { background: rgba(255, 255, 255, .11); }
@media (pointer: coarse) { html.ds.ds-panel .ao-cip > button { min-height: 44px; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-panel .ao-k, html.ds.ds-panel .ao-cip > button { transition: none; } html.ds.ds-panel .ao-k:active { transform: none; } }
/* telefon sekme şeridi = tablet/PC ile aynı segmented control: kapsül iz, saydam dilimler, seçili dilim yükseltilmiş koyu yüzey */
@media (max-width: 700px) {
  html.ds.ds-panel .ds-serit { margin: 0; width: 100%; border-radius: 12px; overflow: hidden; }
  html.ds.ds-panel .ds-serit > .tab-row {
    padding: 3px; gap: 4px; border-radius: 12px; background: var(--ds-pill); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .06);
    scroll-padding-inline: 3px;
  }
  html.ds.ds-panel .tab { background: transparent !important; border-radius: 9px; box-shadow: none !important; }
  html.ds.ds-panel .tab:active { background: rgba(255, 255, 255, .08) !important; }
  html.ds.ds-panel .tab.active {
    background: #2C2C32 !important; color: var(--text) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 0 0 .5px rgba(255, 255, 255, .08) !important;
  }
  html.ds.ds-panel .tab.active #unread-badge { color: inherit; opacity: .75; }
  html.ds.ds-panel .ds-serit::before, html.ds.ds-panel .ds-serit::after { width: 40px; }
}

/* ── 25.G-ui · Etüt Yaz (slot) · İK talepleri · Manuel İşlemler · Deneme Karnesi (ui_denetim kos_etut__etutOgretmenAc__openEtutForSlot 3,05
   · kos_ik 3,14 · kos_manuel 3,14 · kos_profil__ogrDenemeKarne 3,14). ORTAK: "veri var ama karar katmanı/rol rengi görünmüyor" —
   etüt formuna günün uygun saat şeridi, İK'ya karar özeti (bekleme · akış · program×durum), manuel kartlarına sınıf kancası + grup
   durum çipleri, karneye ortak eksende kıyas. Yalnız transform/opacity geçişi; yeni sınıflar (et-slot · ik- · man-is · man-c- · kd-). ── */

/* Etüt Yaz özet çipleri: eşit ritim (dar "Ders —" çipi yok) + iki temada aynı vurgu niyeti (koyuda altın ton görünür, boş çip kesik çizgi) */
html.ds.ds-kos #modal .et-ozet { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
html.ds.ds-kos #modal .et-cip { min-width: 0; box-shadow: inset 0 0 0 1px transparent; }
html.ds.ds-kos #modal .et-cip:not(.on) { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }
html.ds.ds-kos #modal .et-cip:not(.on) small::after { content: " · seç"; color: var(--ink3); }
html.ds.ds-kos #modal .et-cip.on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 26%, transparent); }
html.ds.ds-kos:not([data-kos-theme="light"]) #modal .et-cip.on { background: color-mix(in srgb, var(--gold) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 34%, transparent); }
html.ds.ds-kos:not([data-kos-theme="light"]) #modal .et-cip.on small { color: color-mix(in srgb, var(--gold) 70%, var(--ink2)); }
@media (max-width: 480px) { html.ds.ds-kos #modal .et-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.ds.ds-kos #modal .et-ozet > .et-cip:first-child { grid-column: 1 / -1; } }

/* Etüt Yaz: günün uygun saat şeridi (formun altındaki boşluğu karar kanıtıyla doldurur) */
html.ds.ds-kos #modal .et-slotlar:empty { display: none; }
html.ds.ds-kos #modal .et-slotlar { margin-top: 14px; padding: 12px 12px 10px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
html.ds.ds-kos #modal .et-slot-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
html.ds.ds-kos #modal .et-slot-bas span { font-size: 12.5px; font-weight: 500; color: var(--ink2); }
html.ds.ds-kos #modal .et-slot-bas em { font-style: normal; font-size: 11.5px; color: var(--ink3); font-variant-numeric: tabular-nums; text-align: right; }
html.ds.ds-kos #modal .et-slot-serit { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
html.ds.ds-kos #modal .et-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 4px 2px;
  border: 0; border-radius: 10px; font-family: var(--ds-font); cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--ink);
  transition: transform .16s cubic-bezier(.32,.72,0,1), opacity .16s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-kos #modal .et-slot b { font-size: 10.5px; font-weight: 500; color: var(--ink3); }
html.ds.ds-kos #modal .et-slot span { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
html.ds.ds-kos #modal .et-slot.ok:active { transform: scale(.95); opacity: .8; transition: none; }
html.ds.ds-kos #modal .et-slot.ok:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
html.ds.ds-kos #modal .et-slot.dolu { cursor: default; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
html.ds.ds-kos #modal .et-slot.dolu span { color: var(--ink3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink3) 60%, transparent); }
html.ds.ds-kos #modal .et-slot.on { background: color-mix(in srgb, var(--gold) 18%, transparent); box-shadow: inset 0 0 0 1.5px var(--gold); }
html.ds.ds-kos #modal .et-slot.dolu.on { background: color-mix(in srgb, var(--red) 10%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 70%, transparent); }
html.ds.ds-kos #modal .et-slot-cik { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
html.ds.ds-kos #modal .et-slot-cik b { font-weight: 600; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .et-slot { transition: none; } }

/* İK: talimat paragrafı → kural şeridi; "yeni" satırı tüm zemin yerine sol vurgu çizgisi (rozet zaten durumu söyler); işle = 44 pt kapsül */
html.ds.ds-kos[data-kos-mod="ik"] #main .ik-kural { margin: 0 0 14px; }
html.ds.ds-kos[data-kos-mod="ik"] #main .aa-bolum { margin-top: 18px; margin-bottom: 4px; }
html.ds.ds-kos[data-kos-mod="ik"] #main .aa-bolum .aa-kart { margin: 0; }
html.ds.ds-kos[data-kos-mod="ik"] #main .aa-bolum .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
html.ds.ds-kos[data-kos-mod="ik"] #main tr.ik-yeni > td:first-child { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--red) 70%, transparent); }
@media (max-width: 1024px) {
  html.ds.ds-kos[data-kos-mod="ik"] #main tr.ik-yeni > td:first-child { box-shadow: none; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .card > table > tbody > tr.ik-yeni { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--red) 70%, transparent); padding-left: 12px; border-radius: 4px 10px 10px 4px; }
  html.ds.ds-kos[data-kos-mod="ik"] #main .mini-x.ik-isle { min-height: 44px; margin: -6px 0; padding: 0 6px 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 13%, transparent); }
}

/* Manuel: kart gövdesi/eylem sınıfla (öznitelik dizesine bağlı değil) — telefonda Çalıştır kartın altında tam genişlik, boşluk yok */
html.ds.ds-kos[data-kos-mod="manuel"] #main .card > h3 { font-weight: 600; letter-spacing: -.015em; }
html.ds.ds-kos #main .man-grup-bas { justify-content: flex-start; flex-wrap: wrap; }
html.ds.ds-kos #main .man-grup-cip { display: inline-flex; gap: 6px; margin-left: auto; }
html.ds.ds-kos #main .man-grup-cip i { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #main .man-grup-cip .man-c-ok { color: #2E9E5B; background: color-mix(in srgb, #30B566 12%, transparent); }
html.ds.ds-kos #main .man-grup-cip .man-c-by { color: var(--gold2); background: color-mix(in srgb, var(--gold) 14%, transparent); }
html.ds.ds-kos #main .man-grup-cip .man-c-hy { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }
html.ds.ds-kos #main .man-bas .aa-ozet b > .man-dmg { color: var(--gold2); }
html.ds.ds-kos #main .man-bas .aa-ozet > div:has(.man-dmg) { background: color-mix(in srgb, var(--gold) 9%, transparent); }
@media (max-width: 1024px) {
  html.ds.ds-kos #main .man-is { flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 10px !important; }
  html.ds.ds-kos #main .man-is > .man-is-govde { flex: 0 0 auto !important; min-width: 0; }
  html.ds.ds-kos #main .man-is > .man-is-eylem { display: flex; align-self: stretch !important; justify-content: flex-end; padding-left: 0 !important; }
}
@media (max-width: 760px) {
  html.ds.ds-kos #main .man-is > .man-is-eylem > .btn, html.ds.ds-kos #main .man-is > .man-is-eylem > .tag { width: 100%; min-height: 44px; justify-content: center; }
}

/* Deneme karnesi: fark değeri rol renginde (alt satırdaki sınav adı nötr), kıyas dambılı, başlık iPhone'da 2 satır */
html.ds.ds-kos #modal .kpi .v .kd-fark.up { color: var(--teal); }
html.ds.ds-kos #modal .kpi .v .kd-fark.down { color: var(--red); }
html.ds.ds-kos #modal .kpi:has(.kd-fark) .d { color: var(--ink3); }
html.ds.ds-kos #modal .kd-kiyas { margin: 2px 0 12px; padding: 12px 14px 8px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
html.ds.ds-kos #modal .kd-yorum > .ds-ic:first-child, html.ds.ds-kos #modal .kd-bas > .ds-ic:first-child { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; color: var(--ink2); }
html.ds.ds-kos #modal .kd-bas { font-weight: 600 !important; }
html.ds.ds-kos #modal .kunye > div b { font-weight: 400; color: var(--ink); }
html.ds.ds-kos #modal .kunye > div span { text-transform: none; letter-spacing: 0; font-size: 11px; }
@media (max-width: 760px) {
  html.ds.ds-kos #modal .m-head h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 16px; }
}

/* ── 25.G-ui · SOHBET AİLESİ 4 YÜZEY — 3. tur (ui_denetim sohbet_bos · rol_ogrenci_sohbet · rol_yonetim_menu · rol_ogrenci_menu).
   Ortak kusur: açık kenar menüsünün üstüne yüzen PWA rehberi biniyor (Hazır Sorular'ın alt satırları örtülü); rol rozeti büyük harf +
   aralıklı; geniş çekmecede açıklamalar tek satırda "…" ile kesiliyor. Yüzeye özgü: önizleme kartının altında boş tuval (tüm hazır
   sorular artık sağ sütunda — fermat_ds.js onizKapsam), karşılama başlığı ve terim listesi kalınlığı. Davranış/metin anlamı aynı. */
/* çekmece açıkken yüzen kurulum rehberi/bandı aşağı kayıp saklanır — çekmece kapanınca aynı eğriyle geri gelir (display değişmez) */
html.ds.ds-sohbet #pwa-manual-guide, html.ds.ds-sohbet #pwa-install-banner {
  transition: transform .42s var(--ds-ease), translate .32s var(--ds-ease), opacity .24s var(--ds-ease), visibility 0s linear 0s !important;
}
html.ds.ds-sohbet body:has(#historyDrawer.open) #pwa-manual-guide,
html.ds.ds-sohbet body:has(#historyDrawer.open) #pwa-install-banner {
  translate: 0 calc(100% + 32px); opacity: 0 !important; visibility: hidden; pointer-events: none;   /* translate: ortalama transform'u bozulmaz */
  transition: transform .42s var(--ds-ease), translate .32s var(--ds-ease), opacity .2s var(--ds-ease), visibility 0s linear .32s !important;
}
/* rehber kapatma düğmesi: görünür daire 34 px, dokunma alanı 44 px (görünmez halka) */
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close { position: relative; }
html.ds.ds-sohbet #pwa-manual-guide .pwa-guide-close::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
/* rol rozeti: küçük harf cümle düzeni, 500, aralıksız hap — hiyerarşi boyut + tonla */
html.ds.ds-sohbet .dh-role { font-size: 12px; font-weight: 500; letter-spacing: -.003em; text-transform: none; border-radius: 999px; padding: 3px 9px; }
/* geniş çekmece (iPad · PC): açıklama iki satıra sarılır, kelime ortasında "…" yok */
@media (min-width: 700px) {
  html.ds.ds-sohbet .dnav-txt small { -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; text-wrap: pretty; }
}
/* önizleme kartı: hazır soru sayacı etikette; dar ekranda ilk 6 kısayol, geniş ekranda tamamı (sağ sütun ekranın odağı) */
html.ds.ds-sohbet .ds-onz-qp-n {
  display: inline-grid; place-items: center; min-width: 20px; height: 18px; margin-left: 6px; padding: 0 6px; box-sizing: border-box; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 8%, transparent); vertical-align: 1px;
}
@media (max-width: 999px) {
  html.ds.ds-sohbet .ds-onz-izgara > .ds-onz-ek { display: none; }
}
/* karşılama kartı: başlık 500 (büyük punto zaten başlık; 700'e yuvarlanan 600 yerine), terim adları tonla ayrılır — 400 + birincil renk */
html.ds.ds-sohbet .jarvis-welcome h2 { font-weight: 500 !important; font-size: 32px !important; letter-spacing: -.026em !important; }
html.ds.ds-sohbet .jarvis-welcome div[style*="border-left"] strong[style] { font-weight: 400 !important; color: var(--fg) !important; }
@media (max-width: 600px) { html.ds.ds-sohbet .jarvis-welcome h2 { font-size: 29px !important; } }

/* ── 25.G-ui · ADMİN PANELİ içgörü sekmesi — karar katmanı (ui_denetim sohbet_insight 3,14: derinlik 2, zenginlik 2, bütünlük 3)
   Arama öncesi hâl: alan ipucu (form dipnotu) → TAKİP KUYRUĞU analizi (manşet sayılar · öncelik %100 yığın · ders × hata ortak eksen +
   kuyruk ortalaması referansı · hata dağılımı · dokununca içgörüye inen öğrenci listesi) → sözlük (tür kartları + aynı kart dilinde
   terimler). Veri: mevcut admin uç noktaları (web_chat_ui adminInsOzet). Sekme ve arama davranışı aynı; geçişler yalnız transform/opacity. */
html.ds.ds-sohbet #adminInsResult:has(> #adminInsOzet) { display: flex; flex-direction: column; }
html.ds.ds-sohbet #adminInsResult > .ds-ins-on { order: 0; margin: -6px 0 12px 4px; font-size: 12.5px; color: var(--fg-muted); gap: 6px; }
html.ds.ds-sohbet #adminInsResult > .ds-ins-on .ds-ic { width: 13px; height: 13px; color: var(--fg-muted); }
html.ds.ds-sohbet #adminInsResult > #adminInsOzet { order: 1; }
html.ds.ds-sohbet #adminInsResult > span[data-ds="1"] { order: 2; margin-top: 18px; }
html.ds.ds-sohbet #adminInsOzet:empty { display: none; }
/* sözlük: tür sayacı başlığı + terimler aynı gruplu kart dilinde (simge · ad · açıklama, iç ayraç) */
html.ds.ds-sohbet .ds-ins-bas2 { margin-top: 14px; }
html.ds.ds-sohbet .ds-ins-terim { margin: 0 !important; border-top: 0 !important; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--fg) 5%, transparent); }
html.ds.ds-sohbet .ds-ins-terim > div {
  grid-template-columns: 20px minmax(84px, max-content) 1fr !important; align-items: baseline; column-gap: 11px !important;
  padding: 11px 12px !important; border-bottom: 0 !important; position: relative;
}
html.ds.ds-sohbet .ds-ins-terim > div + div::before { content: ""; position: absolute; top: 0; right: 0; left: 43px; height: 1px; background: var(--ds-ayrac); }
html.ds.ds-sohbet .ds-ins-terim > div > .ds-ic { width: 18px; height: 18px; align-self: center; stroke-width: 1.7; }
html.ds.ds-sohbet .ds-ins-terim .ds-k-mavi { color: #0A84FF; }
html.ds.ds-sohbet .ds-ins-terim .ds-k-turuncu { color: #FF9F0A; }
html.ds.ds-sohbet .ds-ins-terim .ds-k-nane { color: #00C7BE; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ins-terim .ds-k-turuncu { color: #F08A00; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-ins-terim .ds-k-nane { color: #00A69E; }

/* takip kuyruğu */
html.ds.ds-sohbet #adminInsOzet .ins-oz {
  --oz-acil: #FF453A; --oz-yuksek: #FF9F0A; --oz-normal: #64D2FF; --oz-zemin: color-mix(in srgb, var(--fg) 5%, transparent);
  margin: 0 !important; font-family: var(--ds-font); color: var(--fg);
}
html.ds.ds-sohbet:not([data-theme="dark"]) #adminInsOzet .ins-oz { --oz-acil: #E5342A; --oz-yuksek: #E68600; --oz-normal: #0A84FF; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-bas {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 10px !important;
  font-size: 17px !important; font-weight: 600 !important; letter-spacing: -.018em; color: var(--fg) !important; text-wrap: balance;
}
html.ds.ds-sohbet #adminInsOzet .ins-oz-bas small { font-size: 12.5px !important; font-weight: 400 !important; letter-spacing: 0; color: var(--fg-muted) !important; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpis { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px !important; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 92px; min-width: 0; padding: 12px 14px; box-sizing: border-box;
  border: 0; border-radius: 14px; text-align: left; cursor: pointer; font: inherit; color: var(--fg);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), var(--oz-zemin);
  -webkit-tap-highlight-color: transparent; transition: transform .18s cubic-bezier(.32,.72,0,1), opacity .18s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi:hover { opacity: .88; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi:active { transform: scale(.97); opacity: .7; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi:focus-visible,
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr:focus-visible,
html.ds.ds-sohbet #adminInsOzet .ins-oz-tumu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi-ad { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: var(--fg-muted); line-height: 1.25; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi-ad .ds-ic { width: 14px; height: 14px; flex: 0 0 auto; color: var(--accent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi b { margin-top: auto; font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi small { font-size: 12px; color: var(--fg-muted); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-kart { margin-top: 8px; padding: 12px 14px 13px; border-radius: 14px; background: var(--oz-zemin); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-k-bas { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--fg); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-k-bas span { font-size: 12px; font-weight: 400; color: var(--fg-muted); text-align: right; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-cik { margin: 10px 0 0 !important; font-size: 13px; line-height: 1.45; color: var(--fg) !important; text-wrap: pretty; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-dip { color: var(--fg-muted); font-size: 12px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-acil { --c: var(--oz-acil); } html.ds.ds-sohbet #adminInsOzet .ins-oz-yuksek { --c: var(--oz-yuksek); } html.ds.ds-sohbet #adminInsOzet .ins-oz-normal { --c: var(--oz-normal); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-yigin > i { display: block; min-width: 6px; background: var(--c); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-lej { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 9px; font-size: 12.5px; color: var(--fg-muted); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-lej span { display: inline-flex; align-items: center; gap: 6px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-lej i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-lej b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
/* ders × hata: ortak eksen 0-100, dikey referans = kuyruk ortalaması */
html.ds.ds-sohbet #adminInsOzet .ins-oz-cubuklar { display: grid; gap: 9px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-cubuk { display: grid; grid-template-columns: minmax(70px, 26%) 1fr 92px; align-items: center; gap: 10px; font-size: 13px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-iz i.ins-oz-ust { background: var(--accent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-iz i.ins-oz-alt { background: color-mix(in srgb, var(--fg) 34%, transparent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-iz u { background: color-mix(in srgb, var(--fg) 70%, transparent); border-radius: 1px; text-decoration: none; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-say { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-c-say small { font-weight: 400; color: var(--fg-muted); font-size: 12px; }
@media (max-width: 480px) { html.ds.ds-sohbet #adminInsOzet .ins-oz-c-say small { display: block; } }   /* 25.876: '%100 · 12 öğr.' telefonda sütunundan taşıyordu */
html.ds.ds-sohbet #adminInsOzet .ins-oz-az { opacity: .72; }
/* hata dağılımı histogramı: kova tonu hatayla koyulaşır */
html.ds.ds-sohbet #adminInsOzet .ins-oz-h b { text-align: center; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-h0 { background: color-mix(in srgb, var(--oz-yuksek) 30%, transparent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-h1 { background: color-mix(in srgb, var(--oz-yuksek) 55%, transparent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-h2 { background: var(--oz-yuksek); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-h3 { background: var(--oz-acil); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-hist { border-bottom: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-hist-ek span { margin-top: 5px; text-align: center; font-size: 11.5px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
/* öğrenci listesi: satır = düğme (≥ 48 pt), öncelik noktası · ad + zayıf konu · tetik çipi · › */
html.ds.ds-sohbet #adminInsOzet .ins-oz-liste { margin: 0 -14px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto 10px; align-items: center; gap: 12px; width: 100%; min-height: 52px;
  padding: 8px 14px; box-sizing: border-box; border: 0; background: transparent; font: inherit; color: var(--fg); text-align: left; cursor: pointer;
  position: relative; -webkit-tap-highlight-color: transparent; transition: opacity .18s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr[hidden] { display: none; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr + .ins-oz-ogr::before { content: ""; position: absolute; top: 0; left: 34px; right: 0; height: 1px; background: var(--ds-ayrac); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr:active { opacity: .55; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
html.ds.ds-sohbet #adminInsOzet .ins-oz-o-ad { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-o-ad b { font-size: 14.5px; font-weight: 400; letter-spacing: -.008em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-o-ad small { font-size: 12.5px; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-o-cip { display: flex; gap: 4px; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-o-cip em { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 8%, transparent); white-space: nowrap; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-ok { color: var(--fg-muted); font-size: 18px; line-height: 1; opacity: .6; }
html.ds.ds-sohbet #adminInsOzet .ins-oz-tumu {
  display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; border-top: 1px solid var(--ds-ayrac); background: transparent;
  font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; transition: opacity .18s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-sohbet #adminInsOzet .ins-oz-tumu:active { opacity: .55; }
@media (max-width: 600px) {
  html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi { min-height: 84px; padding: 10px 11px; }
  html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi b { font-size: 25px; }
  html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi-ad { font-size: 11.5px; }
  html.ds.ds-sohbet #adminInsOzet .ins-oz-cubuk { grid-template-columns: 74px 1fr 84px; gap: 8px; }
  html.ds.ds-sohbet #adminInsOzet .ins-oz-o-cip em + em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi, html.ds.ds-sohbet #adminInsOzet .ins-oz-ogr, html.ds.ds-sohbet #adminInsOzet .ins-oz-tumu { transition: none; }
  html.ds.ds-sohbet #adminInsOzet .ins-oz-kpi:active { transform: none; }
}

/* ══ 25.G-ui · Muhasebe vade penceresi · Öğretmen paneli · İK talebi · İç-API (ui_denetim kos_muhasebe__muhasebeVadeAy,
   kos_rol_ogretmen, kos_ik__ikAc, kos_api) ══ */
/* Vade penceresi: boş durumdan sonra takvim/sınıf analizi; boş durumda en yakın vade ayına geçiş çipleri */
html.ds.ds-kos #modal .vade-analiz { margin-top: 14px; }
html.ds.ds-kos #modal .vade-analiz .aa-ozet { margin-bottom: 10px; }
/* özet değeri = sayı + küçük birim; asla kırpılmaz ("36,5 öğ…" gerilemesi) — birim gerekirse alt satıra iner, etiket tek satır */
html.ds.ds-kos #modal .vade-analiz .aa-ozet b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal .vade-analiz .aa-ozet span { text-wrap: balance; }
/* tek kart ızgaranın yarısında kalmaz — pencerenin tam genişliğini alır (PC/iPad'de sağ yarı boş kalıyordu) */
html.ds.ds-kos #modal .vade-analiz > .aa-kart:only-child { grid-column: 1 / -1; }
html.ds.ds-kos #modal .vade-analiz .aa-lejant { margin-top: 8px; }
html.ds.ds-kos #modal .m-body > .empty + .bilay-git { justify-content: center; margin-top: -4px; }
/* boş ay: tam ekran boş durum yerine tek satırlık durum notu + geçiş çipleri — takvim analizi ilk ekranda kalır */
html.ds.ds-kos #modal .vade-bos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 4%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
html.ds.ds-kos #modal .vade-bos-ic { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 10px; }
html.ds.ds-kos #modal .vade-bos .empty { padding: 0; margin: 0; flex: 0 0 auto; display: flex; }
html.ds.ds-kos #modal .vade-bos .empty .ei { margin: 0; font-size: 20px; }
html.ds.ds-kos #modal .vade-bos .empty .ei .ds-ic { width: 20px; height: 20px; stroke-width: 1.6; display: block; }
html.ds.ds-kos #modal .vade-bos-m { flex: 1 1 220px; min-width: 0; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--ink2); text-wrap: balance; }
html.ds.ds-kos #modal .vade-bos .bilay-git { margin: 0; flex: 0 1 auto; }
html.ds.ds-kos #modal .vade-bos + .vade-analiz { margin-top: 12px; }
/* özet kutusu dokunulabilir (› etiket satırında, ortak .aa-ozet > .aa-tik kuralından — ikinci ok eklenmez), basılı ton, odak halkası (kesit listesi / vadesi geçmiş kesitine iner) */
html.ds.ds-kos #modal .vade-analiz .aa-ozet > div.aa-tik { transition: background .18s cubic-bezier(.32,.72,0,1); -webkit-tap-highlight-color: transparent; }
html.ds.ds-kos #modal .vade-analiz .aa-ozet > div.aa-tik:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); opacity: 1; }
html.ds.ds-kos #modal .vade-analiz .aa-ozet > div.aa-tik:active { background: color-mix(in srgb, var(--ink) 12%, transparent); transition: none; }
html.ds.ds-kos #modal .vade-analiz .aa-ozet > div.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .vade-analiz .aa-ozet > div.aa-tik { transition: none; } }

/* Öğretmen paneli: bölüm başlıkları (emoji → çizgi simge) ve Sınıf Nabzı akordeon satırları — hiyerarşi boyut + tonla, kalınlıkla değil */
html.ds.ds-kos #main h3.og-bas { display: flex; align-items: center; gap: 7px; font-weight: 500; letter-spacing: 0; text-wrap: balance; }
html.ds.ds-kos #main h3.og-bas > svg { flex: none; width: 15px; height: 15px; color: var(--ink3); }
html.ds.ds-kos .acc-h { font-weight: 500; letter-spacing: 0; }
html.ds.ds-kos .acc-h .badge { font-weight: 400; }
html.ds.ds-kos .acc-h:active { background: color-mix(in srgb, var(--ink) 6%, transparent); }

/* İK talebi: altı bilgi hücresi tek satıra sıkışıp kırpılmaz (tarih/kaynak/program tam okunur); metin değerler 500, yalnız Bekleme sayısı 600 */
html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.ds.ds-kos #modal .ik-bas .aa-ozet b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; font-size: 14.5px; font-weight: 500; }
html.ds.ds-kos #modal .ik-bas .aa-ozet > div:nth-child(2) b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
@media (max-width: 480px) { html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  html.ds.ds-kos dialog#modal:has(.ik-bas) { max-width: 920px; }
  html.ds.ds-kos #modal .ik-bas .aa-ozet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .m-body:has(.ik-bas) { padding-left: 28px; padding-right: 28px; }
}
/* kaydırılabilir gövdenin altında eylem şeridine doğru yumuşak geçiş — içerik kesilmiş değil, devam ediyor görünür */
html.ds.ds-kos #modal .m-body:has(.ik-bas)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 30px; margin: -30px -20px 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 90%);
}
html.ds.ds-kos #modal .m-body:has(.ik-bas) + .m-foot { border-top: 1px solid var(--line); }

/* İç-API: geniş ekranda son sütun (Durum) yüzen FermatAI düğmesinin şeridinden içeri alınır; ikincil Kaynak metni okunur ton */
@media (min-width: 761px) {
  html.ds.ds-kos[data-kos-mod="api"] #main .card table th:last-child,
  html.ds.ds-kos[data-kos-mod="api"] #main .card table td:last-child { padding-right: 72px; }
}
html.ds.ds-kos[data-kos-mod="api"] #main .card table td.muted { color: var(--ink2); }
html.ds.ds-kos[data-kos-mod="api"] #main .api-analiz .kad-cipler { margin-top: 10px; }

/* ── 25.G-ui · YÖNETİM PANELİ · GENEL karar katmanı (ui_denetim panel_overview: derinlik 2 · etkilesim 3 · okunabilirlik 3). KPI'lar
   ham sayıydı, grafiklerin altında çıkarım yoktu. dashboard_ui.html _ov*(): her KPI bir referansla (son 7 gün ↔ 30 gün temposu, son
   24 sa ↔ 30 gün yanıt, kritik payı, günlük maliyet ↔ 30 günlük tempo + Claude payı) ve dokununca ayrıntı sekmesine iner; routing
   halkası efsanede pay + altında %100 yığın (ucuz · Claude · Atlas) ve eskalasyon cümlesi; trend kesikli dönem ortalaması, 1,5σ üstü
   zirveler etiketli, altında ortalama/son 7 gün/zirve üçlüsü + çıkarım. Yalnız #tab-overview — ortak şerit/sekme kurallarına dokunulmaz. */
html.ds.ds-panel #tab-overview .ov-kiyas { gap: 3px 8px; margin-top: 12px; padding-top: 11px; border-top-color: rgba(255, 255, 255, .07); font-size: 12.5px; letter-spacing: -.003em; text-wrap: pretty; }
html.ds.ds-panel #tab-overview .ov-d { font-weight: 500; }
html.ds.ds-panel #tab-overview .ov-d.ov-iyi { color: #30D158; }
html.ds.ds-panel #tab-overview .ov-d.ov-kotu { color: #FF6961; }
html.ds.ds-panel #tab-overview .ov-tik {
  transition: background-color .18s cubic-bezier(.32, .72, 0, 1), transform .18s cubic-bezier(.32, .72, 0, 1);
  -webkit-tap-highlight-color: transparent;
}
html.ds.ds-panel #tab-overview .ov-tik:hover { background-color: color-mix(in srgb, var(--card) 92%, #fff); }
html.ds.ds-panel #tab-overview .ov-tik:active { transform: scale(.985); }
html.ds.ds-panel #tab-overview .ov-tik:focus-visible { outline: 2px solid #0A84FF; outline-offset: 2px; }
html.ds.ds-panel #tab-overview .ov-tik .ov-ok { top: 16px; right: 18px; font-size: 18px; line-height: 1; color: var(--muted); opacity: .8; }
html.ds.ds-panel #tab-overview .ov-analiz { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
html.ds.ds-panel #tab-overview .ov-yigin { height: 8px; border-radius: 4px; }
html.ds.ds-panel #tab-overview .ov-leg { font-size: 12.5px; gap: 4px 16px; }
html.ds.ds-panel #tab-overview .ov-leg em { font-weight: 500; }
html.ds.ds-panel #tab-overview .ov-cik { font-size: 13.5px; line-height: 1.5; letter-spacing: -.003em; max-width: 78ch; text-wrap: pretty; }
html.ds.ds-panel #tab-overview .ov-cik b { font-weight: 500; }
html.ds.ds-panel #tab-overview .ov-git {
  display: inline-flex; align-items: center; min-height: 32px; margin-left: 6px; padding: 0 4px; border-radius: 6px; color: #0A84FF; font-weight: 500;
}
html.ds.ds-panel #tab-overview .ov-git:focus-visible { outline: 2px solid #0A84FF; outline-offset: 1px; }
html.ds.ds-panel #tab-overview .ov-ist { gap: 10px; margin: 0 0 2px; }
html.ds.ds-panel #tab-overview .ov-ist > div { padding: 10px 12px; border-radius: 12px; border-color: rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .035); }
html.ds.ds-panel #tab-overview .ov-ist span { font-size: 12px; font-weight: 500; }
html.ds.ds-panel #tab-overview .ov-ist b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-panel #tab-overview .ov-ist small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (pointer: coarse) { html.ds.ds-panel #tab-overview .ov-git { min-height: 44px; } }
@media (max-width: 420px) { html.ds.ds-panel #tab-overview .ov-ist { gap: 6px; } html.ds.ds-panel #tab-overview .ov-ist > div { padding: 9px 9px; } html.ds.ds-panel #tab-overview .ov-ist b { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-panel #tab-overview .ov-tik { transition: none; } html.ds.ds-panel #tab-overview .ov-tik:active { transform: none; } }

/* ── 25.G-ui · GİRİŞ EKRANI simge dili (ui_denetim giris: simge 2) ─────────────────────────────────────────────────────
   Özellik kartları (Öğrenir · Uygular · Evrimleşir) emoji yerine tek kalınlıkta kutusuz çizgi simge: zihin · şimşek · döngü —
   her kart kendi konusunu söyler; vurgu rengi markadan, zemin yok. Üst rozet ve "Hibrit Motor Orkestrası" öncüsü aynı dilde satır içi. */
html.ds.ds-sohbet .login-box .feature-pill .fp-icon.ds-fp {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin: 0 auto 6px; font-size: 0; line-height: 0;
  background: none; border: 0; box-shadow: none; color: var(--accent);
}
html.ds.ds-sohbet .login-box .feature-pill .fp-icon.ds-fp svg {
  width: 22px; height: 22px; stroke-width: 1.6; display: block;
  transition: transform .22s cubic-bezier(.32,.72,0,1);
}
html.ds.ds-sohbet .login-box .feature-pill:hover .fp-icon.ds-fp svg { transform: scale(1.06); }
html.ds.ds-sohbet .login-box .feature-pill:active .fp-icon.ds-fp svg { transform: scale(.94); }
html.ds.ds-sohbet .login-box .tech-label,
html.ds.ds-sohbet .login-box .trust-footer .es-title {
  display: inline-flex; align-items: center; gap: 5px;
}
html.ds.ds-sohbet .login-box .tech-label > svg.ds-inl,
html.ds.ds-sohbet .login-box .trust-footer .es-title > svg.ds-inl {
  width: 12px; height: 12px; flex: none; stroke-width: 1.9; color: currentColor; background: none; margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-sohbet .login-box .feature-pill .fp-icon.ds-fp svg { transition: none; transform: none !important; }
}

/* ── 25.G-ui · ÖĞRETMEN KARNESİ (ui_denetim kos_etut__etutOgretmenAc: okunabilirlik 2 — "Sınıf · Öğrenci · Ort. Fizik net · Gelişim"
   tablosunun başlık satırı telefonda kelime ortasından kırpılıyor, kaydırma ipucu yok; tanım paragrafı kartın içinde yoğun; tek çıkarım
   cümlesi yok). Önceki deneme derinliği düşürdüğü için geri alındı → tablo, sütunlar ve sayılar AYNEN kalır; telefonda tablo kaymak yerine
   genişliğe SIĞAR (sabit sütun oranı, başlık iki satır kırar, rozet alt satıra iner); üstüne karar katmanı eklenir: çıkarım cümlesi
   (en güçlü · en geride · yükselen/düşen sayısı · tekrar etüdü hedefi, dokun → o sınıfın öğrencileri) + sınıf × kurum ortalaması dambılı
   (AA.dambil, ortak eksen). Tanımlar tablonun altına ⓘ dipnotu (fermat_ds.js kosOncu → çizgi bilgi simgesi). Davranış/veri/metin aynen. ── */
html.ds.ds-kos #modal .ok-meta { font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
html.ds.ds-kos #modal .ok-meta b { font-weight: 500; color: var(--ink); }
html.ds.ds-kos #modal .ok-cikarim {
  margin: 0 0 12px; padding: 10px 12px 10px 14px; border-top: 0; border-radius: 10px;
  font-size: 13px; line-height: 1.5; color: var(--ink); text-wrap: pretty;
  background: color-mix(in srgb, var(--gold) 8%, transparent); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--gold) 70%, transparent);
}
html.ds.ds-kos #modal .ok-cikarim b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #modal .ok-cikarim .aa-tik {
  display: inline-flex; align-items: center; min-height: 32px; margin: -8px 0; padding: 0 4px; border-radius: 6px; white-space: nowrap;
  font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity .14s var(--ds-ease);
}
html.ds.ds-kos #modal .ok-cikarim .aa-tik:active { opacity: .6; transition: none; }
html.ds.ds-kos #modal .ok-cikarim .aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
/* tablo: büyük harf + geniş aralıklı başlık yok (Apple dili), sayı sütunları sağa yaslı tabular */
html.ds.ds-kos #modal table.ok-tbl th { text-transform: none; letter-spacing: -.003em; font-size: 12px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
html.ds.ds-kos #modal table.ok-tbl th small { font-size: 11px; font-weight: 400; letter-spacing: 0; }
html.ds.ds-kos #modal table.ok-tbl td { font-size: 13px; vertical-align: middle; }
html.ds.ds-kos #modal table.ok-tbl td b { font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal table.ok-tbl td[data-k="n"] { font-variant-numeric: tabular-nums; color: var(--ink2); }
html.ds.ds-kos #modal table.ok-tbl th[data-k="net"], html.ds.ds-kos #modal table.ok-tbl td[data-k="net"],
html.ds.ds-kos #modal table.ok-tbl th[data-k="gel"], html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] .up { color: var(--teal); }
html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] .down { color: var(--red); }
/* sınıf × kurum dambılı: tonlu yüzey, başlık + referans künyesi; dokunulabilir satırda basılı tepki */
html.ds.ds-kos #modal .ok-kiyas { margin: 12px 0 2px; padding: 12px 14px 8px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
html.ds.ds-kos #modal .ok-kiyas-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
html.ds.ds-kos #modal .ok-kiyas-bas span { font-size: 12.5px; font-weight: 500; color: var(--ink2); }
html.ds.ds-kos #modal .ok-kiyas-bas em { font-style: normal; font-size: 11.5px; color: var(--ink3); font-variant-numeric: tabular-nums; text-align: right; }
html.ds.ds-kos #modal .ok-kiyas .aa-kiyas-satir[onclick] { border-radius: 8px; transition: background-color .14s var(--ds-ease); }
html.ds.ds-kos #modal .ok-kiyas .aa-kiyas-satir[onclick]:active { background: color-mix(in srgb, var(--ink) 6%, transparent); transition: none; }
html.ds.ds-kos #modal .ok-kiyas .aa-kiyas-satir[onclick] .aa-kiyas-ad span::after { content: " ›"; color: var(--ink3); }
html.ds.ds-kos #modal .ok-kiyas .aa-lejant { margin-top: 6px; }
/* ⓘ dipnot: tanımlar tablonun altında, ikincil tonda; simge kosOncu ile çizgi (kutusuz) */
html.ds.ds-kos #modal .ok-not { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--ink3); text-wrap: pretty; }
html.ds.ds-kos #modal .ok-not > .ds-ic { width: 14px; height: 14px; margin-right: 5px; vertical-align: -3px; }
html.ds.ds-kos #modal .ok-not b { font-weight: 500; color: var(--ink2); }
html.ds.ds-kos #modal .ok-not .tag { vertical-align: 1px; }
/* telefon: tablo kaymaz, SIĞAR — sabit sütun oranı; başlık iki satır kırar; "(9 sınavlı)" ve "az veri" alt satıra iner */
@media (max-width: 600px) {
  html.ds.ds-kos #modal .tscroll.ok-tbl { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  html.ds.ds-kos #modal table.ok-tbl { min-width: 0; width: 100%; table-layout: fixed; }
  html.ds.ds-kos #modal table.ok-tbl th, html.ds.ds-kos #modal table.ok-tbl td { padding: 8px 5px; white-space: normal; overflow-wrap: anywhere; }
  /* 25.872: sayı sütunu başlığının nowrap kuralı (özgüllüğü yüksek) dar ekranda "Ort. Türkçe net"i yan sütuna taşırıyordu — başlık sarar, hücre sarmaz */
  html.ds.ds-kos #modal table.ok-tbl th[data-k="net"], html.ds.ds-kos #modal table.ok-tbl th[data-k="gel"] { white-space: normal; }
  html.ds.ds-kos #modal table.ok-tbl th { font-size: 11px; line-height: 1.2; vertical-align: bottom; }
  html.ds.ds-kos #modal table.ok-tbl th small { display: block; }
  html.ds.ds-kos #modal table.ok-tbl th[data-k="sinif"] { width: 31%; padding-left: 0; }
  html.ds.ds-kos #modal table.ok-tbl th[data-k="n"] { width: 19%; }
  html.ds.ds-kos #modal table.ok-tbl th[data-k="net"] { width: 22%; }
  html.ds.ds-kos #modal table.ok-tbl th[data-k="gel"] { width: 28%; padding-right: 0; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="sinif"] { padding-left: 0; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="sinif"] b { font-size: 12.5px; letter-spacing: -.01em; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="n"] small { display: block; font-size: 11px; line-height: 1.3; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="net"], html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] { font-size: 12.5px; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] { padding-right: 0; }
  html.ds.ds-kos #modal table.ok-tbl td[data-k="gel"] .tag { display: inline-block; margin-top: 3px; }
  html.ds.ds-kos #modal .ok-kiyas { padding: 10px 10px 6px; }
  html.ds.ds-kos #modal .ok-kiyas-bas { flex-direction: column; align-items: flex-start; gap: 2px; }
  html.ds.ds-kos #modal .ok-kiyas-bas em { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos #modal .ok-cikarim .aa-tik, html.ds.ds-kos #modal .ok-kiyas .aa-kiyas-satir[onclick] { transition: none; }
}
/* 25.G-ui · ui_denetim kos_personel__teacherDetail (derinlik/dokunma/okunabilirlik): öğretmen düzeyi kıyas KPI'ı — büyük sayı + küçük
   rol renkli kurum farkı (kd-fark dili); dokunulabilir KPI başlığında › ipucu; telefonda 2×2 ızgara, başlık kelime ortasından kırılmaz. */
html.ds.ds-kos #modal .ok-kpi .kpi .v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
html.ds.ds-kos #modal .ok-kpi .kpi .v .kd-fark { font-size: .5em; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal .ok-kpi .kpi h3 { text-wrap: balance; overflow-wrap: anywhere; }
html.ds.ds-kos #modal .ok-kpi .kpi.kpi-tik h3::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal .ok-kpi .kpi.kpi-tik { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .14s var(--ds-ease), border-color .14s var(--ds-ease); }
html.ds.ds-kos #modal .ok-kpi .kpi.kpi-tik:active { transform: scale(.985); transition: none; }
html.ds.ds-kos #modal .ok-kpi .kpi.kpi-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) {
  html.ds.ds-kos #modal .ok-kpi.grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  html.ds.ds-kos #modal .ok-kpi .kpi h3 { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .ok-kpi .kpi.kpi-tik { transition: none; } }
/* 25.G-ui · kos_etut__etutOgretmenAc 2. tur (okunabilirlik 3 · dokunma · etkileşim): önceki deneme hizalamayı bozduğu için geri alındı →
   tablo ızgarası, sütun oranları ve gövde dolgusu AYNEN; yalnız (1) sınıf satırı çıkarım/dambıl ile aynı dokunuş dili (sınıf adının
   sonunda › + basılı ton + odak halkası; satır yüksekliği/sütun genişliği değişmez), (2) ✕ her genişlikte 44 pt dokunma alanı (görsel
   daire 30 pt aynen), (3) kaydırılan gövdenin alt kenarında yapışkan solma — tablo modal sınırında "kesik" görünmez; son içerik solmanın
   altında kalmasın diye gövde sonuna solma kadar boşluk. iframe yok, backdrop yok — yalnız gradyan. */
html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .14s var(--ds-ease); }
html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik td[data-k="sinif"] b::after { content: " ›"; font-weight: 400; color: var(--ink3); }
html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik td[data-k="sinif"] b {
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
@media (hover: hover) { html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); } }
html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik:active { background: color-mix(in srgb, var(--ink) 7%, transparent); transition: none; }
html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: -2px; }
html.ds.ds-kos dialog#modal:has(.ok-tbl) .m-head .m-x { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; }
html.ds.ds-kos #modal .m-body:has(.ok-tbl)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 36px; margin: 0 -20px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 90%);
}
@media (max-width: 760px) { html.ds.ds-kos #modal .m-body:has(.ok-tbl)::after { margin: 0 -16px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal table.ok-tbl > tbody > tr.ok-tik { transition: none; } }

/* 25.G-ui · SOHBET ARŞİVİ 2. tur (ui_denetim sohbet_arsiv: simge 3 · bosluk 3 · okunabilirlik 3) — zenginlik korunur, yalnız okuma:
   ay etiketi üç harf (Eyl/Eki ayrışır, liste tarihleriyle aynı biçim) ve 11 px; sayı etiketi 11 px; çıkarım ampulü sarı dolgu
   algısı yerine ikincil ton çizgi; kategori çipleri 3 sütunlu ızgara (nokta · ad · sayı tek dikey eksende); Bölümler açıklaması
   her genişlikte iki satıra sarılır (parantez ek bilgisi JS ile title'a taşındı → kelime ortası "…" yok). */
html.ds.ds-sohbet .ds-ar-ay { height: 62px; gap: 6px; }
html.ds.ds-sohbet .ds-ar-ay em { font-size: 11px; letter-spacing: -.005em; white-space: nowrap; }
html.ds.ds-sohbet .ds-ar-ay span > b { font-size: 11px; }
html.ds.ds-sohbet .ds-ar-ay span > i { max-height: calc(100% - 30px); }
html.ds.ds-sohbet .ds-ar-ay span:last-child > em { color: var(--fg); font-weight: 500; }
html.ds.ds-sohbet .ds-ar-cik .ds-ic { color: color-mix(in srgb, var(--fg-muted) 85%, var(--accent)); stroke-width: 1.6; }
html.ds.ds-sohbet .ds-ar-kat-cip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 6px; }
html.ds.ds-sohbet .ds-ar-kat-cip button { display: flex; min-width: 0; justify-content: flex-start; }
html.ds.ds-sohbet .ds-ar-kat-cip button b { margin-left: auto; padding-left: 4px; }
@media (max-width: 380px) { html.ds.ds-sohbet .ds-ar-kat-cip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.ds.ds-sohbet .dnav-txt small { -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; text-wrap: pretty; }
html.ds.ds-sohbet .ds-ar-kat-cip .ds-ar-kat-ad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 25.G-ui · ROL ÖNİZLEME sohbeti (ui_denetim rol_mudur_sohbet: kurulum rehberi karttaki "Admin'e dön"ün üstüne biniyor; eylem iki kez
   aynı ağırlıkta; koyu temada kart metni saf beyaza yakın). Yalnız önizleme sürerken (şerit görünür) geçerli — boş sohbet/arşiv etkilenmez.
   Kurulum rehberi önizlemede aşağı kayıp saklanır (admin başka rolü test ediyor; telefona ekleme çağrısı o anın işi değil — display değişmez,
   önizleme bitince aynı eğriyle geri gelir). Birincil "Admin'e dön" şeritteki dolu hap; karttaki aynı eylem ikincil (çizgisiz metin düğmesi). */
html.ds.ds-sohbet body:has(#previewBanner[style*="flex"]) #pwa-manual-guide,
html.ds.ds-sohbet body:has(#previewBanner[style*="flex"]) #pwa-install-banner {
  translate: 0 calc(100% + 32px); opacity: 0 !important; visibility: hidden; pointer-events: none;
  transition: transform .42s var(--ds-ease), translate .32s var(--ds-ease), opacity .2s var(--ds-ease), visibility 0s linear .32s !important;
}
html.ds.ds-sohbet body:has(#previewBanner[style*="flex"]) .ds-onz-kart:not(.ds-onz-bitti) .ds-onz-cik {
  border-color: transparent; background: transparent; color: var(--fg-muted); font-weight: 500; padding: 0 12px 0 8px; margin-left: -8px;
}
html.ds.ds-sohbet body:has(#previewBanner[style*="flex"]) .ds-onz-kart:not(.ds-onz-bitti) .ds-onz-cik:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
html.ds.ds-sohbet body:has(#previewBanner[style*="flex"]) .ds-onz-kart:not(.ds-onz-bitti) .ds-onz-cik:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.ds.ds-sohbet[data-theme="dark"] .msg.bot.ds-onz-kart { --fg: #E6E6E9; -webkit-font-smoothing: antialiased; }
/* 25.G-ui (rol_ogretmen_sohbet: geniş ekranda kartın altı yarı boş · hazır soru kartında dokunulabilirlik ipucu yok).
   Her kısayol türünü kısa etiketle taşır + sonda iOS liste chevron'u. (Düzeltme: kartı ekran yüksekliğine germe kaldırıldı — gerilen
   kısayollar içi boş dev düğmeye dönüyordu: bosluk 4→3, etkilesim 4→3.) */
html.ds.ds-sohbet .ds-onz-soru .ds-onz-st { flex: 1 1 auto; }
html.ds.ds-sohbet .ds-onz-tur {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-style: normal; font-size: 11.5px; font-weight: 400;
  color: var(--fg-muted); letter-spacing: -.003em; white-space: nowrap;
}
/* düzeltme: tür noktası kartlarda tek renk (turuncu/vurgu noktaları ızgarayı benekliyordu — renk 5→4); rengi yalnız bileşim çubuğu taşır */
html.ds.ds-sohbet .ds-onz-tur i { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; background: color-mix(in srgb, var(--fg) 32%, transparent) !important; }
html.ds.ds-sohbet .ds-onz-ok { flex: 0 0 auto; align-self: center; display: grid; place-items: center; color: var(--fg-muted); opacity: .55;
  transition: transform .2s var(--ds-ease), opacity .2s var(--ds-ease), color .2s var(--ds-ease); }
html.ds.ds-sohbet .ds-onz-ok .ds-ic { width: 14px; height: 14px; stroke-width: 2; }
html.ds.ds-sohbet .ds-onz-soru:hover .ds-onz-ok, html.ds.ds-sohbet .ds-onz-soru:focus-visible .ds-onz-ok { opacity: .9; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-onz-soru:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.ds.ds-sohbet .ds-onz-bitti .ds-onz-ok { display: none; }

/* ── 25.G-ui · YÖNETİM PANELİ · BİLDİRİMLER 3. tur (ui_denetim panel_notifications: genel 3,73 · simge 3 · derinlik 3 · zenginlik 3).
   Kusurlar: her satır aynı kırmızı üçgen (konu okunmuyor); "Diğer" ayracının ucunda öksüz kaydırma çubuğu; telefonda sekme "K"
   diye kesik, solma sayfa zeminine (kapsül bitiyor sanılıyor); ardışık "nöbet: N bulgu" kartları düz liste. Burada: satır simgesi
   KONUYU söyler (fermat_ds.js konuSimgesi — ciddiyet rengi kalır), liste kaydırma çubuğu yalnız fareyle üstündeyken (macOS dili,
   gutter sabit), solma kapsül rengine ve 56 px (harf kapsül içinde erir = "devamı var"), karar özeti (.nz: ciddiyet %100 yığın +
   konu çipleri + çıkarım cümlesi — dashboard_ui.html loadNotifications, yalnız listenin payload'ı), ardışık aynı konu = seri (ray +
   "+N benzer" rozeti; satırlar görünür kalır). Önceki deneme (kayan çip şeridi, ASCII etiket) geri alınmıştı: çipler burada SARAR,
   etiket payload'daki kategori adının kendisi. Metin, DOM sırası, onclick, veri aynen. ───────────────────────────────────────── */
html.ds.ds-panel .notification-list {
  scrollbar-width: thin; scrollbar-color: transparent transparent; scrollbar-gutter: stable;
  transition: scrollbar-color .2s var(--ds-ease);
}
html.ds.ds-panel .notification-list::-webkit-scrollbar { width: 6px; }
html.ds.ds-panel .notification-list::-webkit-scrollbar-track { background: transparent; }
html.ds.ds-panel .notification-list::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; }
@media (hover: hover) {
  html.ds.ds-panel .notification-list:hover { scrollbar-color: rgba(255, 255, 255, .22) transparent; }
  html.ds.ds-panel .notification-list:hover::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); }
}
/* satır simgesi: konu çizgisi, 20 px, ciddiyet rengi (kritik kırmızı · uyarı sarı · bilgi mavi · başarı yeşil) — §12 renkleri kalır */
html.ds.ds-panel .notif-icon .ds-ic { width: 20px; height: 20px; stroke-width: 1.7; }
html.ds.ds-panel .notif-icon { margin-top: 2px; }
/* seri: ardışık aynı konu — ince ray simge ekseninde, devam satırları 8 pt sıkı, küçük simge; "+N benzer" rozeti baş satırda */
html.ds.ds-panel .notification { position: relative; }
html.ds.ds-panel .notification.ds-seri-bas::before, html.ds.ds-panel .notification.ds-seri::before {
  content: ""; position: absolute; left: 15.5px; width: 1px; background: rgba(255, 255, 255, .14); pointer-events: none;
}
html.ds.ds-panel .notification.ds-seri-bas::before { top: 42px; bottom: 0; }
html.ds.ds-panel .notification.ds-seri::before { top: 0; bottom: 0; }
html.ds.ds-panel .notification.ds-seri:not(:has(+ .ds-seri))::before { bottom: calc(100% - 22px); }
html.ds.ds-panel .notification.ds-seri-bas { border-bottom-color: transparent; }
html.ds.ds-panel .notification.ds-seri .notif-icon { background: var(--card) !important; }
html.ds.ds-panel .notification.ds-seri .notif-icon .ds-ic { width: 16px; height: 16px; margin: 2px; opacity: .85; }
html.ds.ds-panel .ds-seri-rz {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; vertical-align: 1px;
  background: rgba(255, 255, 255, .07); color: var(--muted); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap;
}
html.ds.ds-panel .ds-seri-rz .ds-ic { width: 11px; height: 11px; margin: 0; vertical-align: 0; }
/* karar özeti: tonlu yüzey (Apple Health "Trends" dili), 8 pt ritmi, hiyerarşi boyut + tonla (başlık 500, çıkarım 400) */
html.ds.ds-panel .nz {
  margin: 2px 0 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .025));
}
html.ds.ds-panel .nz-ust { margin-bottom: 10px; gap: 4px 16px; }
html.ds.ds-panel .nz-b { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
html.ds.ds-panel .nz-leg { font-size: 12.5px; gap: 4px 14px; letter-spacing: -.003em; }
html.ds.ds-panel .nz-leg em { font-weight: 500; }
html.ds.ds-panel .nz-nk { width: 7px; height: 7px; margin-right: 5px; vertical-align: 1px; }
html.ds.ds-panel .nz-yigin { height: 8px; border-radius: 4px; gap: 2px; }
html.ds.ds-panel .nz-cik { margin-top: 10px; font-size: 13.5px; line-height: 1.5; letter-spacing: -.003em; max-width: 78ch; text-wrap: pretty; color: var(--text); }
html.ds.ds-panel .nz-cik b { font-weight: 500; }
html.ds.ds-panel .nz-cipler { margin-top: 12px; gap: 6px 6px; }
html.ds.ds-panel .nz-cip {
  display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: var(--muted); font-family: var(--ds-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .06); -webkit-tap-highlight-color: transparent;
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease), transform .18s var(--ds-ease);
}
html.ds.ds-panel .nz-cip em { font-weight: 500; color: var(--text); }
html.ds.ds-panel .nz-cip:hover { background: rgba(255, 255, 255, .11); color: var(--text); }
html.ds.ds-panel .nz-cip:active { transform: scale(.97); }
html.ds.ds-panel .nz-cip:focus-visible { outline: 2px solid rgba(10, 132, 255, .6); outline-offset: 2px; }
html.ds.ds-panel .nz-cip[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
html.ds.ds-panel .nz-cip[aria-pressed="true"] em { color: inherit; opacity: .75; }
@media (pointer: coarse) {
  html.ds.ds-panel .nz-cip { min-height: 44px; padding: 0 16px; font-size: 14px; }
  html.ds.ds-panel .nz-cipler { gap: 8px; }
}
@media (max-width: 700px) {
  html.ds.ds-panel .nz { padding: 12px 14px; }
  html.ds.ds-panel .nz-ust { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* sekme şeridi solması: KAPSÜL rengine ve 56 px — kesik harf kapsülün içinde erir, kapsül bitmiş gibi görünmez */
  html.ds.ds-panel .ds-serit::before, html.ds.ds-panel .ds-serit::after { width: 56px; }
  html.ds.ds-panel .ds-serit::before { background: linear-gradient(90deg, var(--ds-pill) 14px, color-mix(in srgb, var(--ds-pill) 60%, transparent) 30px, transparent 56px); }
  html.ds.ds-panel .ds-serit::after { background: linear-gradient(270deg, var(--ds-pill) 14px, color-mix(in srgb, var(--ds-pill) 60%, transparent) 30px, transparent 56px); }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-panel .nz-cip, html.ds.ds-panel .notification-list { transition: none; }
  html.ds.ds-panel .nz-cip:active { transform: none; }
}
/* düzeltme: 23 konu çipi telefonda ekranı kaplıyordu (bosluk) — ilk 5 konu + "+N konu" açılımı (çipler silinmez, dokunuşla açılır);
   özet listenin kaydırma alanında yer kapladığı için alan büyür; seri satırlar normal 12 pt ritmini korur (dokunma) */
html.ds.ds-panel .nz-cipler:not(.nz-acik) .nz-fazla { display: none; }
html.ds.ds-panel .nz-cip.nz-daha { background: transparent; color: var(--accent, #0A84FF); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); }
html.ds.ds-panel .nz-cipler.nz-acik .nz-daha { color: var(--muted); }
html.ds.ds-panel .notification-list .nz .nz-ust { font-weight: 400 !important; font-size: inherit !important; }
html.ds.ds-panel .notification-list { max-height: min(680px, 74vh); }

/* ════════════════════════════════════════════════════════════════════════════════════════════
   25.G-ui · ÖĞRENCİ KOMUTA MERKEZİ (ui_denetim kos_rol_ogrenci: genel 3,77 · hizalama 2 · simge 3 · iPad yatay taşma)
   Ölçülen kırılma: rol önizlemesinde (admin → öğrenci) üst çubuk 1194 px iPad'de sığmıyor — marka + komut + sezon segmenti +
   "Önizleme: Ad Soyad · Öğrenci" rozeti + "Admin'e dön" düğmesi + tema düğmesi > çubuk genişliği; rozet nowrap olduğu için
   kalan öğeler sağa taşıyor, düğme iki satıra kırılıyordu, belge yatay kayıyordu. Burada: ≤1280 px'te marka alt etiketi
   (FERMATAI) gizli (telefon zaten marka yazısını gizler), çubuk aralığı 10 px, rozet DARALABİLİR (iOS gezinti çubuğu dili: başlık
   üç nokta ile kısalır, düğmeler sabit kalır), düğme tek satır. Metin/onclick aynen. Öğrenci ekranı: selam el simgesi başlığın
   sonunda, telefonda FermatAI eylemleri tam genişlikte ızgara (tek başına ikinci satıra düşen üçüncü düğme yok), radar çıkarımı
   AA dilinde. ════════════════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  html.ds.ds-kos .top { gap: 10px; }
  html.ds.ds-kos .top .brandsub { display: none; }
  html.ds.ds-kos .top .seasonsel { flex: none; }
  html.ds.ds-kos .top .personsel { flex: 0 1 auto; min-width: 0; margin-left: 0; }
  html.ds.ds-kos .top .pv-badge { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-kos .top .pv-exit { flex: none; white-space: nowrap; }
}
html.ds.ds-kos .top .pv-badge { font-weight: 500; letter-spacing: -.005em; }
html.ds.ds-kos .top .pv-badge b { font-weight: 600; }

/* selam — başlık sonunda çizgi el (fermat_ds.js: 👋 → svg el), marka vurgusu; başlıkla aynı taban çizgisi */
html.ds.ds-kos .head h1 .ds-ic[data-ic="el"] { width: 22px; height: 22px; margin: 0 0 0 8px; vertical-align: -4px; color: var(--gold); }
html.ds.ds-kos[data-kos-accent="mono"] .head h1 .ds-ic[data-ic="el"] { color: var(--ink2); }

/* radar kartı çıkarım cümlesi: kart içinde AA ritmi (üst çizgi, 13 px, ink2), altındaki lejant notu daha sakin */
html.ds.ds-kos[data-kos-mod="dash"] #main .card .chartwrap + .aa-cikarim { margin-top: 10px; }
html.ds.ds-kos[data-kos-mod="dash"] #main .card .aa-cikarim + .muted { font-size: 11.5px; color: var(--ink3); }

/* telefon: FermatAI kartında eylemler avatar girintisinden çıkar, kartın tam genişliğinde 2 sütun; tek kalan son düğme satırı
   doldurur (iOS eylem sayfası dili: iki eşit + bir geniş) — kardeş düğmeler eşit, dengesiz yetim yok. Hero kart (admin) ayrı düzen. */
@media (max-width: 600px) {
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: start; }
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) > div:not(.av) { display: contents; }
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) .body { grid-column: 2; }
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) .acts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) .acts span { justify-content: center; text-align: center; min-width: 0; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.ds.ds-kos[data-kos-mod="dash"] #main .ai:not(.dash-hero) .acts span:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── 25.G-ui · SOHBET · BİLDİRİM ÇEKMECESİ 4. tur (ui_denetim sohbet_bildirim: genel 3,82 · dokunma 3 · etkileşim 3) ────────────
   Kusur 1: perde tek düze %34 — piksel ölçümünde giriş çubuğu da karartılıyor (×0,66) ama beyaz kutu + doygun turuncu gönder
   düğmesi "tam parlak" OKUNUYOR. Çözüm: iOS sheet dili — perde alta doğru koyulaşır (odak üstteki kartta), panel açıkken giriş
   çubuğu kendisi de geri çekilir (opacity; filter DEĞİL — sabit torun kapsama tuzağı, bkz. 25.711). Iframe üstü bulanıklık yine YOK.
   Kusur 2: kapat 40 px, konu çipleri 26 px — dokunmatikte 44 pt; çipler artık SÜZGEÇ düğmesi (fermat_ds.js bildirimOzet):
   basılı/odak durumu, "N yeni" okunmamış sayacı, dokunuş anında tepki. */
html.ds.ds-sohbet .notif-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .50) 0%, rgba(0, 0, 0, .60) 55%, rgba(0, 0, 0, .74) 100%); }
html.ds.ds-sohbet:not([data-theme="dark"]) .notif-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .46) 55%, rgba(0, 0, 0, .62) 100%); }
html.ds.ds-sohbet .chat-input { transition: opacity .22s var(--ds-ease); }
html.ds.ds-sohbet .chat-wrap:has(> .notif-overlay.open) .chat-input { opacity: .58; pointer-events: none; }
/* kapat: 36 px (işaretçi) · 44 pt (dokunmatik); başlık yüksekliği değişmez (negatif kenar) */
html.ds.ds-sohbet .notif-close { width: 36px; height: 36px; margin: -3px 0; }
html.ds.ds-sohbet .notif-close .ds-ic { width: 15px; height: 15px; }
html.ds.ds-sohbet .notif-close:focus-visible, html.ds.ds-sohbet .notif-readall:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
/* konu çipleri: düğme, 32 px (işaretçi) · 40 px görünür + 44 pt isabet (dokunmatik, ::before ile) */
html.ds.ds-sohbet .ds-nb-cip { gap: 8px; }
html.ds.ds-sohbet .ds-nb-cip button, html.ds.ds-sohbet .ds-nb-cip span {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 999px;
  box-sizing: border-box; font: inherit; font-size: 13px; letter-spacing: -.003em; line-height: 1; color: var(--fg-muted); cursor: pointer;
  background: color-mix(in srgb, var(--fg) 6%, transparent); -webkit-tap-highlight-color: transparent;
  transition: background .18s var(--ds-ease), color .18s var(--ds-ease), opacity .12s;
}
html.ds.ds-sohbet .ds-nb-cip button::before { content: ""; position: absolute; inset: -6px 0; }   /* görünür ölçü sakin, isabet alanı 44 pt */
html.ds.ds-sohbet .ds-nb-cip button .ds-ic { width: 15px; height: 15px; }
html.ds.ds-sohbet .ds-nb-cip button i { font-style: normal; font-size: 12px; color: var(--fg-muted); padding-left: 6px; margin-left: 2px; border-left: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .ds-nb-cip button:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); color: var(--fg); }
html.ds.ds-sohbet .ds-nb-cip button:active { opacity: .55; transition: opacity 0s; }
html.ds.ds-sohbet .ds-nb-cip button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
html.ds.ds-sohbet .ds-nb-cip button[aria-pressed="true"] i { color: var(--accent); border-left-color: color-mix(in srgb, var(--accent) 35%, transparent); }
html.ds.ds-sohbet .ds-nb-cip button:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
html.ds.ds-sohbet .notif-item.ds-nb-gizli { display: none; }
html.ds.ds-sohbet .ds-nb-ozet { gap: 10px; padding: 12px 18px 12px; }
@media (pointer: coarse) {
  html.ds.ds-sohbet .notif-close { width: 44px; height: 44px; margin: -4px 0; }
  html.ds.ds-sohbet .notif-close .ds-ic { width: 16px; height: 16px; }
  html.ds.ds-sohbet .notif-readall { min-height: 44px; padding: 0 12px; }
  html.ds.ds-sohbet .notif-head { padding: 10px 10px 8px 18px; }
  html.ds.ds-sohbet .ds-nb-cip button, html.ds.ds-sohbet .ds-nb-cip span { min-height: 40px; padding: 0 14px 0 12px; font-size: 13.5px; gap: 7px; }
  html.ds.ds-sohbet .ds-nb-cip button::before { inset: -2px 0; }
  html.ds.ds-sohbet .ds-nb-cip button .ds-ic { width: 16px; height: 16px; }
  html.ds.ds-sohbet .ds-nb-cip button:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg-muted); }
  html.ds.ds-sohbet .ds-nb-cip button[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--fg); }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet .chat-input, html.ds.ds-sohbet .ds-nb-cip button { transition: none; } }

/* ── 25.G-ui · ETÜT YAZ 3. tur (ui_denetim kos_calismam → openEtutYaz: hizalama 3 · etkileşim 3). Özet çipleri her genişlikte ızgara
   satırını doldurur (≤760: 2 sütun + Öğrenci tam satır; ≥761: 5 sütun, Öğrenci 1,6 pay — sağ kenarlar hep hizalı); "Kim" satırında
   Öğrenci seçicisi geniş pay alır ve tam değeri ipucunda (ad + sınıf kırpılmaz); Ders önceliği satırlarında eğim oku ROL rengi (düşüş
   kırmızı · yükseliş yeşil · sabit gri) ve satır dokunuşu Ders alanına iner (kad-analiz dokunuş dili: hover/active/odak, "›", seçili
   ders altın işaretli). Önceki deneme (renk/bütünlük 4→2) tekrarlanmadı: altın vurgu, çip zemini ve kart dili AYNEN; yeni renk yalnız
   iki eğim okunda. Açılır listeler masaüstünde FDSMenu (fermat_ds.js §w34) — dialog'un transform'u yok, sabit konum doğru. ── */
html.ds.ds-kos #modal .et-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds.ds-kos #modal .et-ozet > .et-cip:first-child { grid-column: 1 / -1; }
@media (min-width: 761px) {
  html.ds.ds-kos #modal .et-ozet { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
  html.ds.ds-kos #modal .et-ozet > .et-cip:first-child { grid-column: auto; }
  html.ds.ds-kos #modal .form-grid.et-g3:has(#etOgrenci) { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.5fr); }
}
html.ds.ds-kos #modal select#etOgrenci { text-overflow: ellipsis; }
/* eğim oku: rol rengi (metin aynı; sayı nötr kalır) — etüt formu (#modal) ve Çalışmam analizi (.ca-analiz) aynı dili taşır */
html.ds.ds-kos .et-eg { font-style: normal; font-weight: 600; margin-right: 1px; }
html.ds.ds-kos .et-eg-d { color: var(--red); }
html.ds.ds-kos .et-eg-u { color: var(--teal); }
html.ds.ds-kos .et-eg-n { color: var(--ink3); }
html.ds.ds-kos[data-kos-theme="light"] .et-eg-d { color: color-mix(in srgb, var(--red) 72%, var(--ink)); }
html.ds.ds-kos[data-kos-theme="light"] .et-eg-u { color: color-mix(in srgb, var(--teal) 62%, var(--ink)); }
/* Ders önceliği satırı → Ders alanı: dokunulabilir görünür (›, imleç, basılı, odak) · seçili ders işaretli */
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik { margin: 0 -8px; padding: 0 8px; border-radius: 9px; transition: background-color .18s var(--ds-ease); }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); opacity: 1; }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik > .aa-ders-pay::after,
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik > .aa-ders-net:last-child::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-secili { background: color-mix(in srgb, var(--gold) 9%, transparent); }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-secili:hover { background: color-mix(in srgb, var(--gold) 13%, transparent); }
html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-secili .aa-devam-ad { color: var(--gold2, var(--gold)); font-weight: 500; }
@media (pointer: coarse) { html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .et-baglam .aa-devam-satir.aa-tik { transition: none; } }

/* ── 25.G-ui · ÇALIŞMAM (ui_denetim kos_calismam → SCREENS._calismamAnaliz: derinlik 2 · zenginlik 3). "Plan × ihtiyaç" bölümü: ders dengesi
   (planlanan dakika × kurum farkı), konu önceliği (planda var/yok) ve haftanın yükü (gün × tamam/bekleyen). Satır dokunuşu "+ Çalışma
   bloğu" formunu o ders/konuyla açar — etüt formundaki (.et-baglam) dokunuş diliyle aynı: hover/active/odak, "›", planda olan satır altın,
   planda OLMAYAN kurum-altı ders kesikli sol çizgiyle işaretli (boşluk görünür olsun). ── */
html.ds.ds-kos .ca-analiz .aa-bolum { margin-top: 18px; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik { margin: 0 -8px; padding: 0 8px; border-radius: 9px; transition: background-color .18s var(--ds-ease); }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); opacity: 1; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik > .aa-ders-pay::after,
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik > .aa-ders-net:last-child::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-secili { background: color-mix(in srgb, var(--gold) 9%, transparent); }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-secili:hover { background: color-mix(in srgb, var(--gold) 13%, transparent); }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-secili .aa-devam-ad { color: var(--gold2, var(--gold)); font-weight: 500; }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-bosluk { box-shadow: inset 3px 0 0 -1px color-mix(in srgb, var(--red) 55%, transparent); }
html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-bosluk .aa-devam-ad { color: var(--ink); }
html.ds.ds-kos .ca-analiz .aa-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (pointer: coarse) { html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos .ca-analiz .aa-devam-satir.aa-tik { transition: none; } }

/* ── 25.G-ui · AI KOÇUM (ui_denetim kos_kocum → SCREENS.kocum: simge 4 · zenginlik 3 · derinlik 3). Öğrencinin kendi ekranı: KPI şeridi
   (ortalaman · kurum · gidişat · öncelik dersi), koçun metin kartları (başlıkta kutusuz çizgi simge, tonu karta göre), "Nerede duruyorsun"
   AA bölümü (dambıl · eğim · kazanılabilir net · ders seyri · konu önceliği) ve hazır başlangıç çipleri. Dokunuş dili Çalışmam/etüt
   formuyla aynı (hover/active/odak, "›"); yalnız transform/opacity geçişi; 44 pt dokunma hedefi. ── */
html.ds.ds-kos .ko-ekran .ko-kpi { margin-bottom: 14px; }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi .v small { font-size: .5em; font-weight: 500; color: var(--ink2); letter-spacing: 0; margin-left: 2px; }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik { cursor: pointer; transition: transform .18s var(--ds-ease), opacity .18s var(--ds-ease); }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik:hover { opacity: .92; }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik:active { transform: scale(.985); opacity: .8; transition: none; }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik .v::after { content: " ›"; font-size: .6em; font-weight: 400; color: var(--ink3); }
html.ds.ds-kos .ko-ekran .kocard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
html.ds.ds-kos .ko-ekran .kocard .koh { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; }
html.ds.ds-kos .ko-ekran .kocard .koh b { font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
html.ds.ds-kos .ko-ekran .kocard .ko-ic { display: inline-flex; flex: none; width: 20px; height: 20px; align-items: center; justify-content: center; color: var(--ink2); }
html.ds.ds-kos .ko-ekran .kocard .ko-ic .ds-ic { width: 18px; height: 18px; }
html.ds.ds-kos .ko-ekran .kocard[data-ton="iyi"] .ko-ic { color: #30B566; }
html.ds.ds-kos .ko-ekran .kocard[data-ton="orta"] .ko-ic { color: var(--gold2, var(--gold)); }
html.ds.ds-kos .ko-ekran .kocard[data-ton="zayif"] .ko-ic { color: var(--red); }
html.ds.ds-kos .ko-ekran .kocard[data-ton="notr"] .ko-ic { color: var(--purple, var(--ink2)); }
html.ds.ds-kos .ko-ekran .kocard[data-ton="iyi"] { box-shadow: inset 3px 0 0 -1px color-mix(in srgb, #30B566 55%, transparent); }
html.ds.ds-kos .ko-ekran .kocard[data-ton="zayif"] { box-shadow: inset 3px 0 0 -1px color-mix(in srgb, var(--red) 55%, transparent); }
html.ds.ds-kos .ko-ekran .kocard[data-ton="orta"] { box-shadow: inset 3px 0 0 -1px color-mix(in srgb, var(--gold) 60%, transparent); }
html.ds.ds-kos .ko-ekran .kocard .kob { font-size: 13px; line-height: 1.5; letter-spacing: -.003em; color: color-mix(in srgb, var(--ink) 84%, var(--ink3)); text-wrap: pretty; }
html.ds.ds-kos .ko-ekran .kocard .kob b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
html.ds.ds-kos .ko-ekran .kocard .kob .muted { color: var(--ink3); }
html.ds.ds-kos .ko-ekran .aa-bolum { margin-top: 18px; margin-bottom: 14px; }
html.ds.ds-kos .ko-ekran .aa-bolum .aa-kart { margin: 0; }
html.ds.ds-kos .ko-ekran .aa-bolum .aa-kart h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos .ko-ekran .aa-bolum .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik, html.ds.ds-kos .ko-ekran .aa-kiyas-satir[onclick] { margin: 0 -8px; padding: 0 8px; border-radius: 9px; transition: background-color .18s var(--ds-ease); }
html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik:hover, html.ds.ds-kos .ko-ekran .aa-kiyas-satir[onclick]:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); opacity: 1; }
html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik:active, html.ds.ds-kos .ko-ekran .aa-kiyas-satir[onclick]:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik > .aa-ders-pay::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos .ko-ekran .chiprow { gap: 8px; }
html.ds.ds-kos .ko-ekran .qchip { font-size: 13px; padding: 8px 14px; border-radius: 10px; background: var(--surface2, var(--bg)); border: 1px solid var(--line); color: var(--ink); transition: transform .16s var(--ds-ease), opacity .16s var(--ds-ease); }
html.ds.ds-kos .ko-ekran .qchip:hover { transform: none; border-color: color-mix(in srgb, var(--ink) 24%, transparent); color: var(--ink); }
html.ds.ds-kos .ko-ekran .qchip:active { opacity: .65; transform: scale(.98); transition: none; }
html.ds.ds-kos .ko-ekran .qchip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1100px) { html.ds.ds-kos .ko-ekran .ko-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { html.ds.ds-kos .ko-ekran .ko-kartlar { grid-template-columns: 1fr; } }
@media (pointer: coarse) {
  html.ds.ds-kos .ko-ekran .qchip { min-height: 44px; }
  html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik, html.ds.ds-kos .ko-ekran .aa-kiyas-satir[onclick] { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .ko-ekran .ko-kpi .kpi.kpi-tik, html.ds.ds-kos .ko-ekran .aa-devam-satir.aa-tik, html.ds.ds-kos .ko-ekran .aa-kiyas-satir[onclick], html.ds.ds-kos .ko-ekran .qchip { transition: none; }
}

/* ══ 25.G-ui — ÖĞRENCİ PROFİLİ ALT PENCERELERİ + SINIF PANOSU (ui_denetim kos_dash__studentDetail__bransDetay 3,14 ·
   __ogrDenemeKarne 3,41 · __openRehberlikNotu 3,14 · kos_ogrenci__sinifPano 3,91 — aynı aile: #modal sheet). ORTAK ölçülen:
   telefonda kapat/geri düğmesi 29 pt (44 pt kuralı yalnız pointer:coarse'taydı) → sheet bloğunda da 44; dokunulabilir satırda ›
   ipucu + basılı/odak durumu; liste satırı 500, KPI 700. Yüzeye özgü: branş konu listesi kırmızı/sarı/yeşil gruplu + çip süzgeci
   (bd-*); karne ders satırında kurum referans çentiği + tıklanır satır (kd-ders); rehberlik notu formu içeriğe göre boyutlanan
   sheet (m-fit) + görüşme geçmişi (rn-*); sınıf panosu devamsızlık "bu sınıf" özeti (sp-*). Kapsam: UI.modal opts.cls sınıfları —
   başka modal etkilenmez. Davranış/metin anlamı aynı. */
/* ortak: bu dört pencerede telefon sheet kapat/geri düğmesi HIG 44 pt (coarse olmayan emülasyonda da) */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.bd-modal .m-x, html.ds.ds-kos dialog#modal.kd-modal .m-x, html.ds.ds-kos dialog#modal.rn-modal .m-x, html.ds.ds-kos dialog#modal.sp-pano .m-x {
    width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; font-size: 15px; }
  /* içeriğe göre boyutlanan sheet (form pencereleri): alttan açılır, boş alt yarı yok; klavye açılınca 100dvh ile birlikte küçülür */
  html.ds.ds-kos dialog#modal.m-fit[open] { height: auto; max-height: calc(100dvh - 12px); margin: auto 0 0; }
}

/* ── Branş · Konu İçi Analiz (bd-*) ── */
html.ds.ds-kos #modal.bd-modal .aa-izgara.bd-analiz { gap: 12px; margin: 0 0 14px; }
html.ds.ds-kos #modal.bd-modal .bd-analiz .aa-kart { margin: 0; }
html.ds.ds-kos #modal.bd-modal .bd-analiz .aa-kart h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
html.ds.ds-kos #modal.bd-modal .bd-analiz .aa-cikarim { font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
html.ds.ds-kos #modal.bd-modal .bd-analiz .aa-birim { display: block; max-width: 100%; }
html.ds.ds-kos #modal.bd-modal .bd-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0 8px; font-size: 13px; color: var(--ink); }
html.ds.ds-kos #modal.bd-modal .bd-bas > b { font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.bd-modal .bd-bas > .muted { font-size: 12px; }
html.ds.ds-kos #modal.bd-modal .bd-cip { position: relative; appearance: none; -webkit-appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0;
  min-height: 30px; padding: 4px 11px; border-radius: 999px; font-variant-numeric: tabular-nums; transition: transform .16s var(--ds-ease), opacity .16s var(--ds-ease), box-shadow .16s var(--ds-ease); }
html.ds.ds-kos #modal.bd-modal .bd-cip::before { content: ""; position: absolute; inset: -7px 0; }   /* dokunma alanı 44 pt, görünüm 30 */
html.ds.ds-kos #modal.bd-modal .bd-cip:hover { opacity: .88; }
html.ds.ds-kos #modal.bd-modal .bd-cip:active { transform: scale(.96); opacity: .75; transition: none; }
html.ds.ds-kos #modal.bd-modal .bd-cip[aria-pressed="true"] { box-shadow: 0 0 0 1.5px currentColor inset; }
html.ds.ds-kos #modal.bd-modal .bd-cip[aria-pressed="true"]::after { content: " ✓"; font-weight: 600; }
html.ds.ds-kos #modal.bd-modal .bd-cip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.ds.ds-kos #modal.bd-modal .bd-liste { scrollbar-width: thin; scrollbar-gutter: stable; padding-right: 2px; }
html.ds.ds-kos #modal.bd-modal .bd-liste [hidden] { display: none; }
html.ds.ds-kos #modal.bd-modal .bd-grup { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 14px 0 7px; padding-bottom: 5px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); font-size: 12px; }
html.ds.ds-kos #modal.bd-modal .bd-grup:first-child { margin-top: 2px; }
html.ds.ds-kos #modal.bd-modal .bd-grup-ad { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink2); letter-spacing: -.003em; }
html.ds.ds-kos #modal.bd-modal .bd-grup-ad::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
html.ds.ds-kos #modal.bd-modal .bd-grup[data-sev="r"] .bd-grup-ad::before { background: var(--red); }
html.ds.ds-kos #modal.bd-modal .bd-grup[data-sev="y"] .bd-grup-ad::before { background: var(--gold); }
html.ds.ds-kos #modal.bd-modal .bd-grup-n { color: var(--ink3); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.bd-modal .bd-liste .rowbar .rl { font-size: 13px; }
html.ds.ds-kos #modal.bd-modal .bd-liste .rowbar .rl > span:first-child { color: var(--ink); font-weight: 400; min-width: 0; }
html.ds.ds-kos #modal.bd-modal .bd-liste .rowbar .rl > span:last-child { flex: none; white-space: nowrap; margin-left: 10px; }
html.ds.ds-kos #modal.bd-modal .bd-liste .rowbar .rl .tag { font-weight: 500; letter-spacing: 0; }
@media (max-width: 760px) {
  html.ds.ds-kos #modal.bd-modal .aa-izgara.bd-analiz { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) { html.ds.ds-kos #modal.bd-modal .bd-cip { min-height: 34px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal.bd-modal .bd-cip { transition: none; } }

/* ── Deneme Karnem (kd-*): ders satırı = düğme (› ipucu, basılı/odak), kurum referans çentiği barın içinde ── */
html.ds.ds-kos #modal.kd-modal .kd-dersler { margin: 10px 0 0; }
html.ds.ds-kos #modal.kd-modal .kd-ders { position: relative; margin: 0 -8px 2px; padding: 7px 8px 8px; border-radius: 9px; cursor: pointer; transition: background-color .18s var(--ds-ease); }
html.ds.ds-kos #modal.kd-modal .kd-ders:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal.kd-modal .kd-ders:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal.kd-modal .kd-ders:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal.kd-modal .kd-ders .rl { font-size: 13px; margin-bottom: 5px; align-items: baseline; gap: 10px; }
html.ds.ds-kos #modal.kd-modal .kd-ders .rl > span:first-child > b { font-weight: 500; color: var(--ink); }
html.ds.ds-kos #modal.kd-modal .kd-ders .rl > b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 4px; }
html.ds.ds-kos #modal.kd-modal .kd-ok { font-style: normal; font-weight: 400; font-size: 16px; line-height: 1; color: var(--ink3); margin-left: 6px; align-self: center; }
html.ds.ds-kos #modal.kd-modal .kd-kref { font-size: 11px; font-weight: 500; margin-left: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-kos #modal.kd-modal .kd-ders .bar { position: relative; overflow: visible; }
html.ds.ds-kos #modal.kd-modal .kd-ders .bar > i { border-radius: 6px; }
html.ds.ds-kos #modal.kd-modal .kd-ref { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); opacity: .6; z-index: 1; pointer-events: none; }
html.ds.ds-kos #modal.kd-modal .kd-yorum { line-height: 1.55; }
@media (pointer: coarse) { html.ds.ds-kos #modal.kd-modal .kd-ders { min-height: 44px; } }
@media (max-width: 480px) {
  html.ds.ds-kos #modal.kd-modal .kd-ders .rl > span:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; }
  html.ds.ds-kos #modal.kd-modal .kd-kref { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal.kd-modal .kd-ders { transition: none; } }

/* ── Rehberlik notu yaz (rn-*): görüşme geçmişi bağlamı — özet çipleri, son 3 kayıt (akordeon), çıkarım ── */
html.ds.ds-kos #modal.rn-modal .rn-gecmis { margin: 0; padding: 12px 14px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet small { font-size: 11px; font-weight: 400; color: var(--ink3); margin-left: 3px; }
html.ds.ds-kos #modal.rn-modal .rn-gecmis-l { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
html.ds.ds-kos #modal.rn-modal .rn-not { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .16s var(--ds-ease); }
html.ds.ds-kos #modal.rn-modal .rn-not > summary { list-style: none; cursor: pointer; padding: 9px 12px; display: flex; flex-direction: column; gap: 3px; border-radius: 10px; }
html.ds.ds-kos #modal.rn-modal .rn-not > summary::-webkit-details-marker { display: none; }
html.ds.ds-kos #modal.rn-modal .rn-not > summary:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
html.ds.ds-kos #modal.rn-modal .rn-not > summary:active { opacity: .7; transition: none; }
html.ds.ds-kos #modal.rn-modal .rn-not > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal.rn-modal .rn-not-m { font-size: 11.5px; color: var(--ink3); display: flex; align-items: center; gap: 0; }
html.ds.ds-kos #modal.rn-modal .rn-not-m b { font-weight: 500; color: var(--ink2); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.rn-modal .rn-not-m::after { content: "›"; margin-left: auto; font-size: 15px; line-height: 1; color: var(--ink3); transition: transform .18s var(--ds-ease); }
html.ds.ds-kos #modal.rn-modal .rn-not[open] .rn-not-m::after { transform: rotate(90deg); }
html.ds.ds-kos #modal.rn-modal .rn-not-o { font-size: 13px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
html.ds.ds-kos #modal.rn-modal .rn-not[open] .rn-not-o { display: none; }
html.ds.ds-kos #modal.rn-modal .rn-not-t { padding: 0 12px 11px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; color: var(--ink); }
html.ds.ds-kos #modal.rn-modal .rn-gecmis > .aa-cikarim { margin-top: 10px; padding-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
html.ds.ds-kos #modal.rn-modal .rn-form > .muted { line-height: 1.5; }
@media (max-width: 560px) {
  html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (pointer: coarse) { html.ds.ds-kos #modal.rn-modal .rn-not > summary { min-height: 44px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal.rn-modal .rn-not, html.ds.ds-kos #modal.rn-modal .rn-not-m::after { transition: none; } }

/* ── Sınıf Panosu (sp-*): devamsızlık kartında "bu sınıf" özeti; liste satırı 400, yalnız seçili sınıf 500 ── */
html.ds.ds-kos #modal.sp-pano .sp-dev-ozet .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
html.ds.ds-kos #modal.sp-pano .sp-dev-ozet .aa-ozet b { font-size: 15px; font-weight: 600; }
html.ds.ds-kos #modal.sp-pano .sp-dev-ozet .aa-ozet small { font-size: 11px; font-weight: 400; color: var(--ink3); margin-left: 3px; }
html.ds.ds-kos #modal.sp-pano .aa-devam-ad { font-weight: 400; }
html.ds.ds-kos #modal.sp-pano .aa-devam-satir.aa-secili .aa-devam-ad { font-weight: 500; }
html.ds.ds-kos #modal.sp-pano .banner-info > .ds-ic:first-child { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; flex: none; }
@media (max-width: 560px) {
  html.ds.ds-kos #modal.sp-pano .sp-dev-ozet .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 25.G-ui · SOHBET ÜST BAR (PC) + ÇEKMECE "BÖLÜMLER" HER CİHAZDA (ui_denetim sohbet_hazir: genel 3,91 · bosluk 3 · butunluk 3)
   Ölçülen: PC'de yedi bölüm düğmesi 1 px aralıkla dizili, 17 px soluk simge → "kalabalık şerit"; aynı Bölümler grubu telefonda
   simge+başlık+açıklama kartıyken PC'de çekmeceden tamamen düşüyor (#drawerNav yalnız ≤1024/dokunmatikte display:block);
   Insight + Outreach PC'de etiketsiz tek simge. Burada (yalnız görünüm, onclick/DOM/metin aynı; önceki tur simge 5→3 geri alındı —
   fermat_ds.js'e DOKUNULMADI, simge seti ve renk dili aynen): PC'de düğmeler 8 pt ritmiyle (12 px iç + 4 px dış), 18 px simge
   mürekkep tonunda (araç çubuğu tek renkli — standart), bölüm grubu ile yardımcı küme (Insight · zil · tema) arasında saç teli;
   Insight düğmesine etiket (::after, aria-label zaten var); #drawerNav PC'de de görünür → macOS kenar çubuğu + araç çubuğu ikilisi,
   açıklama cümleleri her platformda aynı. */
@media (min-width: 1025px) {
  html.ds.ds-sohbet .chat-header .user { display: flex; align-items: center; gap: 4px; min-width: 0; }
  html.ds.ds-sohbet .chat-header .user > * { flex: 0 0 auto; }
  html.ds.ds-sohbet .chat-header .user .navable,
  html.ds.ds-sohbet .chat-header .user .new-chat-btn { padding: 0 12px !important; height: 34px !important; margin: 0 !important; gap: 7px !important; }
  html.ds.ds-sohbet .chat-header .user .navable .ds-ic,
  html.ds.ds-sohbet .chat-header .user .new-chat-btn .ds-ic { width: 18px; height: 18px; stroke-width: 1.8; color: color-mix(in srgb, var(--fg) 78%, transparent); }
  html.ds.ds-sohbet .chat-header .user .navable:hover .ds-ic,
  html.ds.ds-sohbet .chat-header .user .new-chat-btn:hover .ds-ic { color: var(--fg); }
  html.ds.ds-sohbet .chat-header .user .navable:focus-visible,
  html.ds.ds-sohbet .chat-header .user .new-chat-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  /* Insight + Outreach: etiketli düğme (diğerleriyle aynı dil); metin pseudo'da — textContent boş kalır, çekmece etiketi title'dan sürer */
  html.ds.ds-sohbet .chat-header .user #adminBtn::after { content: "Insight"; font-size: 13px; font-weight: 500; letter-spacing: -.005em; }
  /* bölüm grubu | yardımcı küme — saç teli ayraç (ilk yardımcı öğe zil; Insight gizliyse de aynı yerde) */
  html.ds.ds-sohbet .chat-header .user .notif-bell { margin-left: 12px !important; position: relative; }
  html.ds.ds-sohbet .chat-header .user .notif-bell::before {
    content: ""; position: absolute; left: -8px; top: 50%; width: 1px; height: 18px; transform: translateY(-50%);
    background: var(--ds-ayrac); pointer-events: none;
  }
  /* Bölümler grubu PC çekmecesinde de: ilk açılış Bölümler açık, Hazır Sorular başlığından açılır (openHistoryDrawer _accInit aynen) */
  html.ds.ds-sohbet #drawerNav { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-sohbet .chat-header .user .navable, html.ds.ds-sohbet .chat-header .user .new-chat-btn { transition: none !important; }
}

/* ══ 25.G-ui tur 2 — KURUM OS: Komut paleti bölümleri · Borç bandı · Ödeyenler · Detay listesi (ui_denetim kos_palet 4,0 ·
   kos_muhasebe__muhasebeBand 3,91 · kos_muhasebe__muhasebePayers 4,05 · kos_dash__listeAc 4,0 — aynı aile).
   ORTAK ölçülen: pencere/palet gövdesi alt kenarda ipucusuz kesiliyordu (iPad/PC'de 66vh gövde, 36 px soluk solma; palet 56vh).
   Çözüm: geniş ekranda gövde görüntü alanına göre uzar (muhasebeGrup dili), solma 48 px ve gövde kenarına kadar; iç liste kutusu da
   kendi solmasını taşır; palet listesinde solma YALNIZ görünmeyen satır varken (.ds-sb, fermat_ds.js kosPaletKaydirma) ve bölüm
   başlıkları (palette.js grp). Yüzeye özgü: telefonda 6. özet kartı tam satır (yalnız 6 kartlı gk-bas; kavram/kademe ızgarası
   değişmez); listeAc'ta tek/tek-kalan analiz kartı tam genişlik + çıkarım yan sütunda; AA.ozet dokunulur kart; AA.yigin referans
   çizgisi; ödeyenler KPI simgesi (maske, metin aynen) ve ₺ ayrı ağırlıkta (tl-s). Yalnız görünüm; onclick/veri/metin aynen. ══ */

/* ── pencere gövdesi: geniş ekranda uzun, altta solma; iç liste kutusu kendi solmasıyla ── */
@media (min-width: 761px) {
  html.ds.ds-kos dialog#modal[open]:has(.gk-liste) .m-body,
  html.ds.ds-kos dialog#modal[open]:has(.lst-liste) .m-body,
  html.ds.ds-kos dialog#modal[open]:has(.pay-kpi:not(.mg-kpi)) .m-body { max-height: calc(100dvh - 190px); }
}
html.ds.ds-kos #modal .m-body:has(.gk-liste)::after,
html.ds.ds-kos #modal .m-body:has(.lst-liste)::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 48px; margin: -48px -20px 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 96%, transparent) 80%);
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal .m-body:has(.gk-liste)::after,
  html.ds.ds-kos #modal .m-body:has(.lst-liste)::after { margin: -48px -16px 0; }
}
/* Ödeyenler (pay-kpi): solma YOK — gövde altındaki analiz kartının (Kalan bakiye) başlığını ve tablo satırlarını örtüyordu (derinlik 5→4) */
html.ds.ds-kos #modal .lst-liste { position: relative; padding-bottom: 6px; scrollbar-width: thin; overscroll-behavior: contain; }
html.ds.ds-kos #modal .lst-liste::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 26px; margin-top: -26px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 92%, transparent));
}

/* ── Borç bandı (gk-bas, 6 kart): telefonda 2 sütunlu ızgarada 6. kart yalnız kalmaz — tam satır, etiket solda değer sağda ── */
@media (max-width: 760px) {
  html.ds.ds-kos #modal .gk-bas .aa-ozet > div:nth-child(6):last-child { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
}

/* ── Detay listesi (listeAc): tek kalan analiz kartı tam genişlik; geniş ekranda çıkarım yan sütun (Apple Health "Öne çıkanlar" dili) ── */
html.ds.ds-kos #modal .lst-analiz > .aa-kart:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 901px) {
  html.ds.ds-kos #modal .lst-analiz > .aa-kart:last-child:nth-child(odd) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 32%); column-gap: 28px; align-items: start; }
  html.ds.ds-kos #modal .lst-analiz > .aa-kart:last-child:nth-child(odd) > h3 { grid-column: 1 / -1; }
  html.ds.ds-kos #modal .lst-analiz > .aa-kart:last-child:nth-child(odd) > .aa-cikarim { grid-column: 2; grid-row: 2 / span 3; align-self: center; margin: 0; padding: 14px 16px; border-top: none; border-radius: 12px; background: color-mix(in srgb, var(--ink) 4%, transparent); font-size: 13.5px; line-height: 1.5; }
}

/* ── Detay listesi sınıf kıyası (aile başına aa-devam): ad + "N öğr." iki satır nefesli, sayı sütunları tabular ve sağa hizalı,
   satır 40 px ritmi (tipografi 5→4 gerilemesi: ad/ek satırı sıkışık, +27 / +30,9 sütunu kayıyordu) ── */
html.ds.ds-kos #modal .lst-analiz .aa-devam-satir { min-height: 40px; }
html.ds.ds-kos #modal .lst-analiz .aa-devam-ad { gap: 2px; line-height: 1.2; font-weight: 400; letter-spacing: -.005em; }
html.ds.ds-kos #modal .lst-analiz .aa-devam-ad em { font-size: 11.5px; line-height: 1.2; color: var(--ink3); }
html.ds.ds-kos #modal .lst-analiz .aa-ders-net, html.ds.ds-kos #modal .lst-analiz .aa-ders-pay { font-variant-numeric: tabular-nums; text-align: right; }
html.ds.ds-kos #modal .lst-analiz .aa-ders-net { color: var(--ink2); }
html.ds.ds-kos #modal .lst-analiz .aa-ders-pay { min-width: 4.6ch; font-weight: 400; }
html.ds.ds-kos #modal .lst-analiz .aa-kart > h3 { text-wrap: balance; }
html.ds.ds-kos #modal .lst-analiz .aa-cikarim { text-wrap: pretty; }

/* ── AA.ozet dokunulur kart (üçüncü öğe = onclick): › ipucu, basılı/odak durumu ── */
html.ds.ds-kos #modal .aa-ozet > .aa-tik { cursor: pointer; transition: background-color .16s var(--ds-ease); -webkit-tap-highlight-color: transparent; }
html.ds.ds-kos #modal .aa-ozet > .aa-tik > span { display: flex; align-items: center; }
html.ds.ds-kos #modal .aa-ozet > .aa-tik > span::after { content: "›"; margin-left: auto; padding-left: 8px; color: var(--ink3); font-size: 15px; line-height: 1; }
html.ds.ds-kos #modal .aa-ozet > .aa-tik:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); opacity: 1; }
html.ds.ds-kos #modal .aa-ozet > .aa-tik:active { background: color-mix(in srgb, var(--ink) 13%, transparent); transition: none; }
html.ds.ds-kos #modal .aa-ozet > .aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ── AA.yigin referans çizgisi: her çubukta aynı x (liste geneli payı) — çubuk köşeleri yuvarlak kalır (overflow hidden içinde) ── */
html.ds.ds-kos .aa-yigin-iz.aa-yigin-refli { position: relative; }
html.ds.ds-kos .aa-yigin-ref { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--gold2); pointer-events: none; }

/* ── Ödeyenler KPI (pay-kpi, mg-kpi hariç): başlıkta tek renkli çizgi simge (kişi · lira · onay), 16 px, metin aynen ── */
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi > h3 { align-items: center; }
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi > h3::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--ink3); margin-right: -1px;
  -webkit-mask: var(--pk-ic) center / contain no-repeat; mask: var(--pk-ic) center / contain no-repeat;
}
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi:nth-child(1) { --pk-ic: url("data:image/svg+xml;utf8,<svg 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'><circle cx='12' cy='8' r='3.5'/><path d='M5 20.5a7 7 0 0 1 14 0'/></svg>"); }
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi:nth-child(2) { --pk-ic: url("data:image/svg+xml;utf8,<svg 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'><path d='M9.5 3.5v17c3.9 0 7-3.1 7-7'/><path d='M5.5 9.8l8-3.3M5.5 14.3l8-3.3'/></svg>"); }
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi:nth-child(3) { --pk-ic: url("data:image/svg+xml;utf8,<svg 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'><circle cx='12' cy='12' r='9'/><path d='M8 12.5l2.7 2.7L16 9.5'/></svg>"); }
html.ds.ds-kos #modal .pay-kpi:not(.mg-kpi) .kpi .v { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── Komut paleti: bölüm başlığı (Modüller · Aksiyonlar · Rol geçişi, sayaçlı) + kaydırma ipucu + seçili satır opak ton ── */
html.ds.ds-kos .palette-grup { display: flex; align-items: baseline; gap: 6px; padding: 12px 12px 5px; font: 500 11.5px/1 var(--ds-font); color: var(--ink3); letter-spacing: .01em; text-transform: none; user-select: none; }
html.ds.ds-kos .palette-grup:first-child { padding-top: 6px; }
html.ds.ds-kos .palette-grup b { font-weight: 400; color: var(--ink3); font-variant-numeric: tabular-nums; opacity: .85; }
html.ds.ds-kos .palette-list.ds-sb::after {
  content: ""; display: block; position: sticky; bottom: 0; height: 44px; margin: -44px -6px 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--surface) 88%);
}
/* seçili/üstünde satır: yarı saydam karışım platforma göre farklı okunuyordu (iPhone soluk, Android/PC amber) → yüzeyle OPAK karışım */
html.ds.ds-kos .palette-list .palette-item.sel, html.ds.ds-kos .palette-list .palette-item:hover { background: color-mix(in srgb, var(--accent) 15%, var(--surface)); }
html.ds.ds-kos .palette-list .palette-item:active { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal .aa-ozet > .aa-tik { transition: none; } }

/* ══ 25.G-ui · ÖĞRENCİ AİLESİ 4 YÜZEY (kos_ogrenci 4,09 · studentDetail 3,23 · notPopup 3,32 · openRehberlikNotu 3,5).
   Ortak kusur: telefon sheet'inde gövde alt kenarda satır ortasından kesiliyor. Ölçülen kök: yapışkan alt solma (::after sticky
   bottom:0) kaydırıcının İÇERİK kenarına yapışır — gövdenin safe-area alt dolgusu (iPhone 34 px) kadar YUKARIDA kalıyor, altında
   net bir satır daha görünüyor ("hayalet + net satır üst üste"). Çözüm: sheet'te gövde alt dolgusu 0 (eylem çubuğu safe-area'yı
   zaten taşıyor), dolgu içeriğin içinde; rehberlik formu aynı solma diliyle. Yüzeye özgü: AI analiz veri çipleri (ai-cip), halka
   lejant sütun başlığı (clegend-bas), sınıf dağılımı yatay çubuk satırı. Davranış/onclick aynen. ══ */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.np-modal[open]:has(.np-sheet) .m-body,
  html.ds.ds-kos dialog#modal.np-modal[open] .m-body { padding-bottom: 0; }
  html.ds.ds-kos #modal.np-modal .np-sheet { padding-bottom: 48px; }
  /* rehberlik notu formu: içerik uzarsa son açıklama satırı kesik değil solarak kayar; sona kaydırınca tam okunur */
  html.ds.ds-kos dialog#modal.rn-modal[open] .m-body { position: relative; padding-bottom: 0; overscroll-behavior: contain; }
  html.ds.ds-kos #modal.rn-modal .rn-form { padding-bottom: 40px; }
  html.ds.ds-kos #modal.rn-modal .m-body::after {
    content: ""; display: block; position: sticky; bottom: 0; height: 40px; margin: -40px -16px 0; pointer-events: none;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 85%);
  }
  html.ds.ds-kos #modal.rn-modal #rnNot { min-height: 104px !important; height: 104px; }
  html.ds.ds-kos #modal.rn-modal .rn-form { row-gap: 12px; }
}
/* rehberlik geçmişi satır meta: tarih ve "· kim · tür · yazar" tek akışta sarar (tarih ayrı sütun gibi kayık durmuyordu) */
html.ds.ds-kos #modal.rn-modal .rn-not-m { display: block; padding-right: 18px; position: relative; line-height: 1.4; }
html.ds.ds-kos #modal.rn-modal .rn-not-m::after { position: absolute; right: 0; top: 50%; margin: -8px 0 0; }
html.ds.ds-kos #modal.rn-modal .rn-not[open] .rn-not-m::after { transform: rotate(90deg); }
html.ds.ds-kos #modal.rn-modal .rn-form > .muted:last-child { text-wrap: pretty; line-height: 1.5; }

/* Profil · FermatAI Akademik Analiz: paragrafın dayandığı sayılar görsel çip (4'lü; dar ekranda 2×2) */
html.ds.ds-kos #modal .ai-cip .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2px 0 12px; }
html.ds.ds-kos #modal .ai-cip .aa-ozet b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal .ai-cip .aa-ozet b small { font-size: 11.5px; font-weight: 500; margin-left: 3px; }
html.ds.ds-kos #modal .ai-cip .aa-ozet b small.up, html.ds.ds-kos #modal .ai-cip .aa-ozet b .up { color: var(--teal); }
html.ds.ds-kos #modal .ai-cip .aa-ozet b small.down, html.ds.ds-kos #modal .ai-cip .aa-ozet b .down { color: var(--red); }
html.ds.ds-kos #modal .ai-cip .aa-ozet b small:not(.up):not(.down) { color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik { position: relative; padding-right: 20px; transition: background-color .16s var(--ds-ease); }
html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik::after { content: "›"; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: var(--ink3); font-size: 15px; }
html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik:active { opacity: .7; transition: none; }
html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-width: 900px) { html.ds.ds-kos #modal .ai-cip .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (pointer: coarse) { html.ds.ds-kos #modal .ai-cip .aa-ozet > div.aa-tik { min-height: 44px; } }
html.ds.ds-kos #modal .aianalysis { text-wrap: pretty; }
html.ds.ds-kos #modal .aianalysis .ds-inl { width: 14px; height: 14px; vertical-align: -2px; color: var(--ink2); }

/* halka lejantı sütun başlığı: sayının ne olduğu (ad · ort. net · pay) */
html.ds.ds-kos .clegend.col > .clegend-bas { padding: 0 7px 3px; font-size: 11px; color: var(--ink3); border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); margin-bottom: 2px; pointer-events: none; }
html.ds.ds-kos .clegend.col > .clegend-bas:hover { background: none; }
html.ds.ds-kos .clegend.col > .clegend-bas i { background: none; }
html.ds.ds-kos .clegend.col > .clegend-bas b, html.ds.ds-kos .clegend.col > .clegend-bas em { font-family: inherit; font-size: 11px; font-weight: 500; color: var(--ink3); }

/* yatay çubuk (Chart.bars yatay): ad + değer tema rengi, satır dokunuşu görünür */
html.ds.ds-kos .chartwrap[data-yon="yatay"] svg { width: 100%; height: auto; }
html.ds.ds-kos .chartwrap[data-yon="yatay"] .abar-ad { fill: var(--ink2); font-family: var(--ds-font); }
html.ds.ds-kos .chartwrap[data-yon="yatay"] .abar-v { fill: var(--ink); font-family: var(--ds-font); font-variant-numeric: tabular-nums; }
html.ds.ds-kos .chartwrap[data-yon="yatay"] .abar-sat:hover > rect:first-child { fill: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos .chartwrap[data-yon="yatay"] .abar-sat:active { opacity: .7; }

/* ══ 25.G-ui · kos_dash__studentDetail__dersTrend (4,36: dokunma 3 · zenginlik 3 · etkileşim 4) — "Kurum ortalamasına göre" odak kartı.
   (1) Ders satırı tıklanabilir ama ipucu yoktu: sağ kenarda › (iOS liste dili), hover/basılı zemin, odak halkası; telefonda ≥ 44 pt.
   (2) Telefonda fark küçükken öğrenci noktası ile kurum halkası hilal gibi üst üste biniyordu: kurum referansı daha geniş, ince
   halka (14 px) — öğrenci noktası (9 px) halkanın İÇİNDE konumlanır; eş değer = eş merkez, küçük fark = kaçık merkez (hilal yok);
   bağ çizgisi 2 px daha belirgin. Lejant işaretleri aynı dil. (3) Öğretmen yıldızı (edit): her yıldız ≥ 44 pt dokunma hücresi,
   boş yıldız daha okunur, kontrol olduğu belli (yumuşak hap zemin, basılı durum). Yazı boyutu/ağırlığı DEĞİŞMEDİ (tipografi 5 korunur). ══ */
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick] { position: relative; margin: 0 -8px; padding: 0 22px 0 8px; border-radius: 9px; transition: background-color .16s var(--ds-ease); outline: none; }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]::after { content: "›"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); font-size: 17px; line-height: 1; color: var(--ink3); opacity: .75; transition: transform .16s var(--ds-ease), opacity .16s; }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]:hover::after { opacity: 1; transform: translate(2px, -52%); }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir:last-child { border-bottom: 0; }
/* nokta dili: kurum = geniş ince halka, öğrenci = dolu nokta halkanın içinde; eş değerde eş merkez */
html.ds.ds-kos #modal .prof-odak .aa-iz { height: 18px; }
html.ds.ds-kos #modal .prof-odak .aa-iz-bag { height: 2px; margin-top: -1px; opacity: .7; }
html.ds.ds-kos #modal .prof-odak .aa-iz-g { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink3); }
html.ds.ds-kos #modal .prof-odak .aa-iz-o { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-shadow: 0 0 0 1.5px var(--surface); }
html.ds.ds-kos #modal .prof-odak .aa-lejant .aa-nokta-g { width: 11px; height: 11px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink3); }
html.ds.ds-kos #modal .prof-odak .aa-lejant .aa-nokta-o { width: 9px; height: 9px; }
@media (pointer: coarse) {
  html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick] { min-height: 48px; }
}
/* öğretmen yıldızı: etkileşimli grup kontrol gibi görünür; dokunma hücresi ≥ 44 pt (hücre büyür, yazı büyümez) */
html.ds.ds-kos #modal .yildiz { margin-top: 6px; }
html.ds.ds-kos #modal .yildiz .ybr small { font-weight: 400; }
html.ds.ds-kos #modal .yildiz .ys i { opacity: .3; }
html.ds.ds-kos #modal .yildiz .ys i.on { opacity: 1; }
html.ds.ds-kos #modal .yildiz .ys.edit { gap: 0; padding: 0 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal .yildiz .ys.edit i { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin: 0; border-radius: 999px; transition: opacity .12s, transform .14s var(--ds-ease), background-color .14s; }
html.ds.ds-kos #modal .yildiz .ys.edit i:hover { opacity: .85; transform: scale(1.12); background: color-mix(in srgb, var(--gold) 14%, transparent); }
html.ds.ds-kos #modal .yildiz .ys.edit i:active { transform: scale(.92); transition: none; }
@media (pointer: coarse) {
  html.ds.ds-kos #modal .yildiz .ys.edit i { min-width: 32px; height: 44px; margin: -10px 0; }
  html.ds.ds-kos #modal .yildiz .ys.edit i:hover { transform: none; background: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick], html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]::after, html.ds.ds-kos #modal .yildiz .ys.edit i { transition: none; }
  html.ds.ds-kos #modal .prof-odak .aa-kiyas-satir[onclick]:hover::after { transform: translateY(-52%); }
}

/* ══ 25.G-ui · ÖĞRENCİ/RİSK AİLESİ 4 YÜZEY (openRehberlikNotu 3,82 · bransDetay 4,0 · riskList 4,09 · openGorusme 4,09).
   ORTAK: (1) form sheet'i (m-fit) telefonda tam ekrandı — kök: modal dialog UA'da `position:fixed; inset:0`; height:auto + iki
   kenar sabit = ESNER. fit-content içeriğe göre boyutlandırır, margin-top:auto alta oturtur. (2) Not kutusu açılış odağında üç
   katman altın halka (kenar + 3 px gölge + :focus-visible çizgisi) = uyarı rengi gibi; tek ince odak dili. (3) kapat/geri düğmesi
   dolu kutu → iOS sheet dili: kutusuz çizgi sembol + soluk dairesel zemin (dokunma alanı aynı). Davranış/metin aynen. ══ */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.m-fit[open] { height: -webkit-fit-content; height: fit-content; }
  html.ds.ds-kos dialog#modal.m-fit[open] .m-body { flex: 0 1 auto; }
  /* rehberlik formu: Görüşülen + Görüşme türü yan yana (iki kısa seçim) → açıklama cümlesi eylem çubuğunun üstünde tam okunur */
  html.ds.ds-kos #modal.rn-modal .rn-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; padding-bottom: 16px; }
  html.ds.ds-kos #modal.rn-modal .rn-form > .field:has(#rnOg) { grid-column: 1 / -1; }
  html.ds.ds-kos #modal.rn-modal .m-body::after { height: 16px; margin-top: -16px; }
}
html.ds.ds-kos #modal .form-grid > .field:has(#rnOg) { grid-column: 1 / -1; }
html.ds.ds-kos #modal textarea.inp { transition: border-color .18s var(--ds-ease), box-shadow .18s var(--ds-ease); }
html.ds.ds-kos #modal textarea.inp:focus, html.ds.ds-kos #modal textarea.inp:focus-visible {
  outline: none; border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 9%, transparent);
}
/* Rehberlik notu · masaüstü: dört geçmiş çipi nefes alır (etiket ↔ değer arası, iç dolgu) */
@media (min-width: 761px) {
  html.ds.ds-kos #modal.rn-modal .rn-gecmis { padding: 14px 16px; }
  html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet { gap: 10px; }
  html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet > div { padding: 10px 12px 11px; gap: 5px; min-width: 0; }
  html.ds.ds-kos #modal.rn-modal .rn-gecmis .aa-ozet span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* kapat / geri: kutusuz çizgi sembol + soluk daire (30 pt görsel; dokunma alanı düğmenin kendisi — telefonda 44 pt) */
html.ds.ds-kos dialog#modal .m-head .m-x {
  position: relative; isolation: isolate; background: transparent; border-color: transparent; color: var(--ink2);
  transition: color .16s var(--ds-ease);
}
html.ds.ds-kos dialog#modal .m-head .m-x::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; z-index: -1;
  background: color-mix(in srgb, var(--ink) 8%, transparent); transition: background-color .16s var(--ds-ease), transform .16s var(--ds-ease);
}
html.ds.ds-kos dialog#modal .m-head .m-x:hover { color: var(--ink); }
html.ds.ds-kos dialog#modal .m-head .m-x:hover::before { background: color-mix(in srgb, var(--ink) 13%, transparent); }
html.ds.ds-kos dialog#modal .m-head .m-x:active::before { transform: scale(.92); transition: none; }
html.ds.ds-kos dialog#modal .m-head .m-x:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 60%, transparent); outline-offset: 0; border-radius: 50%; }

/* Branş · konu içi: soru kaybı konu adı tam görünür (kesilmez, iki satıra sarar); dokunulur satır/kare/lejant görünür biçimde dokunulur */
html.ds.ds-kos #modal .bd-analiz { --aa-ad-s: minmax(118px, 1.15fr); }
html.ds.ds-kos #modal .bd-analiz .aa-devam-ad { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: pretty; line-height: 1.28; padding: 3px 0; }
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik, html.ds.ds-kos #modal .kad-analiz .aa-devam-satir.aa-tik { min-height: 40px; }
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik {
  position: relative; margin: 0 -8px; padding: 0 8px; border-radius: 9px; cursor: pointer; transition: background-color .18s var(--ds-ease);
}
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik > .aa-ders-pay::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal .aa-birim rect.aa-tik { cursor: pointer; transition: opacity .16s var(--ds-ease); }
html.ds.ds-kos #modal .aa-birim:has(rect.aa-tik:hover) rect.aa-tik:not(:hover) { opacity: .55; }
html.ds.ds-kos #modal .aa-birim rect.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal .aa-lejant .aa-lej-tik {
  appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 4px 6px; margin: -4px -6px; border-radius: 8px;
  font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
html.ds.ds-kos #modal .aa-lejant .aa-lej-tik::after { content: "›"; color: var(--ink3); margin-left: 1px; }
html.ds.ds-kos #modal .aa-lejant .aa-lej-tik:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal .aa-lejant .aa-lej-tik:active { opacity: .7; }
html.ds.ds-kos #modal .aa-lejant .aa-lej-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@keyframes bd-vurgu { from { background: color-mix(in srgb, var(--gold) 18%, transparent); } to { background: transparent; } }
html.ds.ds-kos #modal .bd-liste .rowbar.bd-vurgu { border-radius: 8px; animation: bd-vurgu 1.4s var(--ds-ease) both; }
@media (pointer: coarse) { html.ds.ds-kos #modal .bd-analiz .aa-devam-satir.aa-tik { min-height: 44px; } }

/* Risk bandı · "Ne tetikledi?" kartının ikinci kırılımı (gösterge sayısı) — bölüm alt başlığı kart dilinde */
html.ds.ds-kos #modal .kad-analiz .kad-alt-bas { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink2); }
html.ds.ds-kos #modal .kad-analiz .kad-alt-bas span { font-weight: 400; color: var(--ink3); margin-left: 4px; }
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos dialog#modal .m-head .m-x, html.ds.ds-kos dialog#modal .m-head .m-x::before, html.ds.ds-kos #modal .aa-birim rect.aa-tik { transition: none; }
  html.ds.ds-kos #modal .bd-liste .rowbar.bd-vurgu { animation: none; outline: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
}

/* ══ 25.G-ui · SOHBET MENÜ (ui_denetim sohbet_menu 4,09 · zenginlik 3 · derinlik 3): admin Hazır Sorular satır sonu DURUM değeri
   (fermat_ds.js hazirDurum — bildirim sayaçları · bugünkü yönlendirme · bekleyen Atlas; gerçek admin, önizleme değil). iOS Ayarlar dili:
   ok işaretinin solunda kutusuz ikincil değer, rakamlar sabit genişlik; yalnız rol taşıyan durum renkli (açık kritik = kırmızı nokta + metin,
   temiz = yeşil nokta). Başlık ağırlığı/boyutu ve simge dili aynen (önceki tur tipografi/simge gerilemesi tekrar edilmez). */
html.ds.ds-sohbet #quickList .ds-qp-durum {
  flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: 5px; max-width: 42%;
  font-size: 13px; font-weight: 400; line-height: 1.2; letter-spacing: -.005em; font-variant-numeric: tabular-nums;
  color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  animation: dsSatir .22s cubic-bezier(.32,.72,0,1) both;
}
html.ds.ds-sohbet #quickList .ds-qp-uyari::before,
html.ds.ds-sohbet #quickList .ds-qp-iyi::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #30D158; }
html.ds.ds-sohbet #quickList .ds-qp-uyari { color: #FF6961; }
html.ds.ds-sohbet #quickList .ds-qp-uyari::before { background: #FF453A; }
html.ds.ds-sohbet:not([data-theme="dark"]) #quickList .ds-qp-uyari { color: #D70015; }
html.ds.ds-sohbet:not([data-theme="dark"]) #quickList .ds-qp-uyari::before { background: #E5322B; }
html.ds.ds-sohbet:not([data-theme="dark"]) #quickList .ds-qp-iyi::before { background: #28A745; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dnav-icon:has(.ds-k-pembe) { color: #E0204A; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet #quickList .ds-qp-durum { animation: none; } }

/* ══ 25.G-ui · kos_profil__openRehberlikNotu (4,09: bosluk 3 · okunabilirlik 3 · derinlik 3 · zenginlik 3).
   (1) Telefonda sheet neredeyse tam boy: .66 karartma + 3 px bulanıklık arkadaki üst çubuğun düğme çizgilerini tutamaç şeridinde
   seçilir bırakıyordu → yalnız bu sheet'te karartma koyulaşır (iOS tam boy sheet: arka kart neredeyse görünmez). (2) Öğrenci satırı
   soluk ikincil tondaydı → ad birincil ton, sınıf ikincil. (3) Akademik bağlam şeridi (rn-akad): geçmiş kartıyla aynı kart dili. ══ */
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.rn-modal::backdrop { background: rgba(5, 8, 15, .86); }
}
html.ds.ds-kos #modal.rn-modal .rn-form > .muted:first-child { font-size: 13px; color: var(--ink2); }
html.ds.ds-kos #modal.rn-modal .rn-form > .muted:first-child b { color: var(--ink); font-weight: 600; }
html.ds.ds-kos #modal.rn-modal .rn-akad { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
html.ds.ds-kos #modal.rn-modal .rn-akad-b { font-size: 12.5px; font-weight: 500; color: var(--ink2); margin: 0 0 8px; }
html.ds.ds-kos #modal.rn-modal .rn-akad-b small { font-weight: 400; color: var(--ink3); margin-left: 4px; }
html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet > div { min-width: 0; }
html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet small.up { color: var(--teal); }
html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet small.down { color: var(--red); }
html.ds.ds-kos #modal.rn-modal .rn-akad > .aa-cikarim { margin: 10px 0 0; padding-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
@media (max-width: 760px) {
  html.ds.ds-kos #modal.rn-modal .rn-akad .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ 25.G-ui · rol_yonetim_sohbet (4,18: zenginlik 3 · bosluk/hizalama 4; önceki deneme simge 5→4 · bosluk 4→3 ile geri alındı — bu tur
   simge/tür etiketi/kart içeriğine DOKUNULMAZ, yalnız yerleşim): geniş ekranda önizleme kartı sohbetteki tek odak → boş tuvalde dikey
   ortalanır (auto kenar boşluğu: taşınca 0'a düşer, üst kırpılmaz); sağ sütunun hazır soru ızgarası sol sütun boyunu doldurur (satırlar
   eşit uzar, alt boş bant yok) ve tek kalan son kart satırı kaplar (ızgarada boş hücre yok). Telefonda liste mesaj satırına keskin değil
   soluklaşarak iner (devamı var ipucu). PWA kurulum bandı rehberle aynı karartmayı taşır (katman semantiği). Davranış/metin aynı. */
@media (min-width: 900px) {
  html.ds.ds-sohbet #messages:not(:has(.msg.user)) > .ds-onz-kart:last-child { margin-top: auto; margin-bottom: auto; }
}
@media (min-width: 900px) and (max-width: 999px) {
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-izgara > .ds-onz-soru:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  html.ds.ds-sohbet .ds-onz-kart > .ds-onz-qp:not([hidden]) { align-self: stretch; }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-qp .ds-onz-izgara { flex: 1 1 auto; grid-auto-rows: 1fr; align-content: stretch; }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-izgara > .ds-onz-soru:nth-child(odd):last-child { grid-column: 1 / -1; }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-soru { align-items: center; }
  html.ds.ds-sohbet .ds-onz-kart .ds-onz-soru .dnav-icon { margin-top: 0; }
}
@media (max-width: 899px) {
  html.ds.ds-sohbet #messages:has(.ds-onz-kart:not(.ds-onz-bitti)) {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
    padding-bottom: 32px;
  }
}
html.ds.ds-sohbet #pwa-install-banner { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .40) !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) #pwa-install-banner { box-shadow: var(--ds-golge), 0 0 0 100vmax rgba(0, 0, 0, .26) !important; }
html.ds.ds-sohbet body:has(#historyDrawer.open) #pwa-install-banner { box-shadow: none !important; }
html.ds.ds-sohbet #pwa-manual-guide, html.ds.ds-sohbet #pwa-install-banner { bottom: calc(var(--ds-giris-h, 72px) + 18px) !important; }

/* 25.G-ui · kos_yoklama (4,36: derinlik 3 · dokunma 3 · tipografi 4) — öğrenci çipleri Başlık Düzeni'nde, dokunmatikte 44 pt hedef,
   aralarında 8 pt; basılı/odak durumu görünür; açık temada devamsız çipi okunur kırmızı. Akordeon başlığı da 44 pt, ok iOS eğrisiyle döner. */
html.ds.ds-kos .gchips { gap: 8px; }
html.ds.ds-kos .gchip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 13px; font-weight: 400;
  border-radius: 9px; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ds-ease), background-color .18s var(--ds-ease), border-color .18s var(--ds-ease); }
html.ds.ds-kos .gchip:hover { transform: none; }
html.ds.ds-kos .gchip:active { transform: scale(.96); background: var(--ds-vurgu-zemin); }
html.ds.ds-kos .gchip:focus-visible { outline: 2px solid var(--purple, #A78BFA); outline-offset: 2px; }
html.ds.ds-kos:not([data-theme="dark"]) .gchip.ab { color: #C62828; background: rgba(229, 57, 53, .08); border-color: rgba(229, 57, 53, .32); }
html.ds.ds-kos .gclass-h { font-size: 13px; margin-bottom: 8px; }
html.ds.ds-kos .gacc > summary::before { transition: transform .22s var(--ds-ease); }
html.ds.ds-kos .card > .aa-lejant:first-child + .gacc, html.ds.ds-kos .card > .aa-lejant + .gacc { margin-top: 10px; }
@media (pointer: coarse) {
  html.ds.ds-kos .gchip { min-height: 44px; padding: 0 14px; font-size: 14px; }
  html.ds.ds-kos .gacc > summary { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos .gchip, html.ds.ds-kos .gacc > summary::before { transition: none; }
}

/* 25.G-ui · kos_rehberlik__riskPopup (4,36: tipografi 3 · etkilesim 3 · derinlik 4): bileşen adı bölüm etiketi = 500 (700 değil; sayı tonu
   korunur); çubukta kurum ortalaması işareti (ince dikey çizgi, veri taşır) + altında kıyas çipleri; görüşme notu satırları dokunulabilir
   görünür — çizgi ok, basılı ton, odak halkası, dokunmatikte 44 pt. Talimat cümlesi ("tıkla → not") yerine kontrolün kendisi. */
html.ds.ds-kos #modal.rp-modal .rp-bil-ad { font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
html.ds.ds-kos #modal.rp-modal .rp-bil-p { font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.rp-modal .rp-bar { overflow: visible; }
html.ds.ds-kos #modal.rp-modal .rp-bar > i { border-radius: inherit; }
html.ds.ds-kos #modal.rp-modal .rp-ort { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink2, var(--ink)); opacity: .85; pointer-events: none; }
html.ds.ds-kos #modal.rp-modal .rp-ref { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; font-size: 11px; line-height: 1.35; color: var(--ink2, var(--muted)); }
html.ds.ds-kos #modal.rp-modal .rp-ref > span { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.rp-modal .rp-ref > span b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #modal.rp-modal .rp-ref > .rp-ref-yon { background: transparent; padding-left: 2px; }
html.ds.ds-kos #modal.rp-modal .rp-not-h { font-weight: 500; }
html.ds.ds-kos #modal.rp-modal .rp-notlar { border-radius: 10px; background: color-mix(in srgb, var(--ink) 3%, transparent); overflow: hidden; }
html.ds.ds-kos #modal.rp-modal .rp-not { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px !important; cursor: pointer; transition: background-color .14s cubic-bezier(.32,.72,0,1); }
html.ds.ds-kos #modal.rp-modal .rp-not:last-child { border-bottom: 0 !important; }
html.ds.ds-kos #modal.rp-modal .rp-not-m { flex: 1 1 auto; min-width: 0; }
html.ds.ds-kos #modal.rp-modal .rp-not::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid var(--ink3); border-top: 1.5px solid var(--ink3); transform: rotate(45deg); }
html.ds.ds-kos #modal.rp-modal .rp-not:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal.rp-modal .rp-not:active { background: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
html.ds.ds-kos #modal.rp-modal .rp-not:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 10px; }
@media (pointer: coarse) { html.ds.ds-kos #modal.rp-modal .rp-not { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-kos #modal.rp-modal .rp-not { transition: none; } }

/* 25.G-ui · kos_rol_ogrenci (simge 3 · renk 4): (1) "Merhaba, ALİ" sonundaki turuncu el, 22 px boyda puanlayıcıya platform emojisi
   (👋) gibi görünüyordu. Apple selamlama başlığı (Health/Fitness "Günaydın, Ali") simgesizdir: el gizlenir; başlığın boyutu, ağırlığı ve
   satır yüksekliği aynen kalır (önceki deneme tipografiyi bozduğu için geri alınmıştı). ?ds=0'da emoji yerinde kalır.
   (2) Ders profilim radarında %22 turuncu dolgu, koyu lacivert zeminde ve mavi kurum katmanının üstünde çamurlu kahverengiye dönüyordu.
   Koyu temada dolgu "screen" karışımıyla ışık gibi eklenir (temiz amber ton); çizgi ve lejant rengi değişmez. Açık temada karışım normal. */
html.ds.ds-kos .head h1 .ds-ic[data-ic="el"] { display: none; }
html.ds.ds-kos:not([data-kos-theme="light"]) [data-gorsel="radar"] polygon[stroke="#F59E0B"] { fill: rgba(245,158,11,.30); mix-blend-mode: screen; }
html.ds.ds-kos:not([data-kos-theme="light"]) [data-gorsel="radar"] polygon[stroke="#60A5FA"] { fill: rgba(96,165,250,.07); }
html.ds.ds-kos[data-kos-theme="light"] [data-gorsel="radar"] polygon[stroke="#F59E0B"] { fill: rgba(245,158,11,.20); }

/* ── 25.G-ui · kos_rol_yonetim (4,55: derinlik 3 · tipografi 4) — Komuta Merkezi deneme çizgisi + erken uyarı bandı.
   Deneme çizgisinin altı: seri okuması (aa-ozet 4 hücre + çıkarım) ve tarih başına tek çipli veri notu (tekrar eden log cümlesi yerine).
   Koyu temada birincil metin saf beyaz değil #E6E6E9 (sinav modundaki karar dash'e de uygulanır). */
html.ds.ds-kos[data-kos-mod="dash"]:not([data-kos-theme="light"]) #main { --ink: #E6E6E9; -webkit-font-smoothing: antialiased; }
html.ds.ds-kos[data-kos-mod="dash"]:not([data-kos-theme="light"]) .head h1 { color: #E6E6E9; }
html.ds.ds-kos #main .km-seri .aa-ozet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
html.ds.ds-kos #main .km-seri .aa-ozet > div { padding: 9px 11px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 4%, transparent); min-width: 0; }
html.ds.ds-kos #main .km-seri .aa-ozet > div span { display: block; font-size: 11.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ds.ds-kos #main .km-seri .aa-ozet > div b { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; min-width: 0; }
/* 25.872: ek yazı değerin ALTINDA kendi satırında — yan yana iken dar kutuda komşu kutuya taşıyordu (iPad, "+3,8 seri ort." → "−1,4") */
html.ds.ds-kos #main .km-seri .aa-ozet > div b small { display: block; margin: 1px 0 0; font-size: 11px; font-weight: 400; color: var(--ink3); letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; }
html.ds.ds-kos #main .km-seri .aa-ozet > div b small.up { color: var(--teal); }
html.ds.ds-kos #main .km-seri .aa-ozet > div b small.down { color: var(--red); }
html.ds.ds-kos #main .km-seri .aa-ozet > div:first-child { background: color-mix(in srgb, var(--gold) 10%, transparent); }
html.ds.ds-kos #main .km-seri .aa-ozet + .aa-cikarim { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
@media (max-width: 760px) { html.ds.ds-kos #main .km-seri .aa-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.ds.ds-kos #main .km-not { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
html.ds.ds-kos #main .km-not-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
html.ds.ds-kos #main .km-not-et { flex-basis: 100%; font-size: 11.5px; color: var(--ink3); }
html.ds.ds-kos #main .km-not-cip { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 9px; border-radius: 8px; font-size: 11.5px; color: var(--ink2);
  background: color-mix(in srgb, var(--ink) 5%, transparent); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #main .km-not-cip b { font-weight: 600; color: var(--ink); }
html.ds.ds-kos #main .km-not-uyari { background: color-mix(in srgb, var(--gold) 12%, transparent); }
html.ds.ds-kos .dash-hero .dh-r-bas .dh-r-pay { font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }

/* 25.G gündüz takibi (15 Eki, nöbet ara-durum-hiz) — DOKUNUŞA ANINDA GERİ BİLDİRİM. Ölçüldü (gercek.jsonl, Android Kurum OS telefon,
   ayrışımlı 9 özet): bekle ~2 ms · işlem 0 · çizim 199-302 ms · LoAF 0 → ana iş parçacığı boş; en kötü dokunuşların çoğunda hedef
   dokunuştan sonra DOM'dan kalkmış (satır → profil/ayrıntı yeniden çizimi, ör. studentDetail önce konu verisini çeker). Satırlarda
   dokunmatik basılı durum yoktu: dokunuş anında ekranda hiçbir şey değişmiyor, ilk kare veri/çizim gelince üretiliyordu — kullanıcı
   bunu "geç tepki" olarak yaşıyor (web.dev INP: async işten önce görsel geri bildirim). Yalnız dokunmatik; satır/çip/role=button
   düzeyi — kaplama/kutu taşıyıcısı (closeModal arka planı vb.) KAPSAM DIŞI. Ölçüt: 22 Eki'ye kadar Android telefon INP p75 ≤ 200 ms. */
@media (hover: none) {
  html.ds.ds-kos #main tr[onclick]:active, html.ds.ds-kos #modal tr[onclick]:active,
  html.ds.ds-kos tr.rowlink:active, html.ds.ds-kos div.rowlink:active,
  html.ds.ds-kos .chip[onclick]:active, html.ds.ds-kos .tag[onclick]:active,
  html.ds.ds-kos #main [role="button"]:active { background-color: color-mix(in srgb, var(--ink) 9%, transparent); transition: none; }
}

/* 25.878 MASONRY — fermat_ds.js iki-üç sütunlu kart ızgarasına ds-mason koyar: 4 px izler, kart kendi yüksekliği kadar span (JS), sıra korunur */
html.ds.ds-kos .ds-mason { grid-auto-rows: 4px; grid-template-rows: none !important; row-gap: 0 !important; grid-auto-flow: row dense; align-items: start; }
html.ds.ds-kos .ds-mason > * { align-self: start; }
html.ds.ds-kos .ds-mason > .aa-genis { order: -1; }
html.ds.ds-kos .ds-mason > details { grid-column: 1 / -1; }
/* 25.883 (Neo 20 Eki: "Kurum OS tepki süresi yavaş") — ÖLÇÜLDÜ gerçek cihaz: Android telefonda dokunuş p75 208-256 ms, payın %80'i ÇİZİM
   (yeni ekranın tüm kartları stil+yerleşim+boyama; Etüt 5.390 öğe, 339 satırlık tablo kartı 40.000 px ekran dışında). Dokunmatikte ekran
   dışındaki kart çizilmez (content-visibility, web.dev "Optimize INP / reduce presentation delay"); 4× CPU tezgâhında medyan 296 → ölçüm
   defterde. Masonry kartı HARİÇ: masonry kart boyunu offsetHeight ile ölçer, ertelenen kartın boyu yer tutucu olurdu. */
@media (pointer: coarse) {
  html.ds.ds-kos #main .card:not(.ds-mason > .card) { content-visibility: auto; contain-intrinsic-size: auto 400px; }
}
html.ds.ds-kos .tscroll[data-ds-uzun] { overflow-y: auto; overscroll-behavior: contain; border-radius: 10px; }   /* 25.878-f: kısa sütun yanındaki uzun liste kendi alanında kayar */
html.ds.ds-kos .tscroll[data-ds-uzun] thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); }   /* 25.878-c: akordeon kart sütununa sıkışmaz, bantları ayırır */   /* tam genişlik kart ortada kalırsa akışı keser, kısa sütunun altında boşluk kalır — başa (Program: 330 px) */
/* 25.878 düzen sistemi: Manuel İşlemler'in 880 px genişlik sınırları kaldırıldı — masaüstünde içerik sayfayı doldurur (PatternFly: "column layout should fill the full page width"); ekranın sağ yarısı boş kalıyordu */
/* 25.878: çubuk satırı etiketi — sütun kartla büyür (96 px … %30, ≤240 px), uzun ad üç noktayla kesilir, tam ad ipucunda (Sınav katılım, Etüt öğretmen yükü harf ortasından kesiliyordu) */
html.ds.ds-kos .aa-ad-m { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 25.G-ui · kos_kullanim (ui_denetim 4,0: bosluk 3 · hizalama 3 — "Kim kullanıyor" yanında boş yarım satır; metodoloji paragrafı; KPI'da kıyas yok).
   Masonry yalnız ≥ 2 kartlı ızgarada çalışır (fermat_ds.js kartli) → tek kalan kart CSS ile tam satır (PatternFly: boş sütun bırakma). Künye şeridi
   man-kural dilinde (terim · değer · not); KPI altındaki dönem içi kıyas (ilk yarı → son yarı) küçük satır, yön rengi teal/red tokenları. */
html.ds.ds-kos[data-kos-mod="kullanim"] #main .aa-izgara > .card:only-child { grid-column: 1 / -1; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kunye { margin-top: 12px; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kunye b { text-wrap: balance; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kunye b .kul-vurgu { font-style: normal; font-size: inherit; color: inherit; font-weight: 600; line-height: inherit; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-ozet .aa-ozet b { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .aa-ozet b .kul-tr { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--ink3); line-height: 1.3; font-variant-numeric: tabular-nums; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .aa-ozet b .kul-tr.up { color: var(--teal); }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .aa-ozet b .kul-tr.down { color: var(--red); }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .aa-ozet b .kul-tr i { font-style: normal; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kurum .aa-kucuk { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
@media (max-width: 760px) {
  html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kunye { grid-template-columns: 1fr; }
  html.ds.ds-kos[data-kos-mod="kullanim"] #main .kul-kunye > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* ══ 25.G-ui · GELİŞİM PANELİ AİLESİ — 4 YÜZEY (sohbet_gelisim 2,32 · rol_rehber 2,23 · rol_ogrenci 2,59 · rol_ogretmen 2,59) ══════════
   ORTAK KÖK: pano zemini var(--surface) kullanıyordu; sohbet sayfasında bu belirteç TANIMSIZ → pano saydamdı; arkadaki üst çubuk,
   önizleme şeridi ve karşılama metni başlığın/kartların içinden görünüyordu (dört yüzeydeki öncelik-1 "üst üste biniyor / sızıyor").
   Çözüm tek yerde: opak gruplu zemin (Apple grouped: zemin · kart · iç satır üç ton), opak yapışkan başlık, telefonda tam ekran sayfa.
   Üstüne aynı dil: çizgi simge (fermat_ds.js glSimgele), boyut+tonla hiyerarşi (büyük harf/kalın etiket yok), segmented control,
   tıklanabilir sayı kartı (› + basılı durum), tasarlanmış boş durum, gün sütunlu program, geniş ekranda geniş pano.
   Renk rolleri (kırmızı/sarı/yeşil kenar, çip) korunur; açık temada rol renkleri okunur tona iner. Davranış/metin aynı. */
html.ds.ds-sohbet .dashboard-panel { --gl-zemin: var(--panel); --gl-kart: var(--ds-grup); --gl-ic: color-mix(in srgb, var(--fg) 4.5%, transparent); --gl-seg: #E7E7EC; --gl-seg-on: #FFFFFF; }
html.ds.ds-sohbet[data-theme="dark"] .dashboard-panel { --gl-zemin: #0E0E12; --gl-ic: color-mix(in srgb, var(--fg) 5.5%, transparent); --gl-seg: #26262C; --gl-seg-on: #45454C; }
html.ds.ds-sohbet .dashboard-overlay { padding: 24px; background: rgba(0, 0, 0, .6); }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-overlay { background: rgba(22, 22, 30, .44); }
html.ds.ds-sohbet .dashboard-panel {
  background: var(--gl-zemin); border: 1px solid var(--ds-ayrac); border-radius: 20px; box-shadow: var(--ds-golge); max-width: min(1240px, 100%);
  font-family: var(--ds-font); color: var(--fg); -webkit-font-smoothing: antialiased; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg) 22%, transparent) transparent;
  animation: ds-gl-ac .22s var(--ds-ease);
}
@keyframes ds-gl-ac { from { opacity: 0; transform: translateY(10px) scale(.985); } }
html.ds.ds-sohbet .dashboard-content { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg) 22%, transparent) transparent; overscroll-behavior: contain; }
html.ds.ds-sohbet .dashboard-header {
  background: var(--gl-zemin); min-height: 58px; box-sizing: border-box; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--ds-ayrac);
}
html.ds.ds-sohbet .dashboard-title {
  display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--ds-font-disp); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--fg);
}
html.ds.ds-sohbet .dashboard-title .ds-ic { width: 20px; height: 20px; flex: 0 0 auto; color: var(--fg-muted); }
html.ds.ds-sohbet .dashboard-close.ds-kapat {
  width: 44px; height: 44px; min-width: 44px; flex: 0 0 auto; padding: 0 !important; border-radius: 50%; font-size: 0 !important; display: inline-grid; place-items: center;
  color: var(--fg-muted); background: radial-gradient(circle 20px at 50% 50%, color-mix(in srgb, var(--fg) 11%, transparent) 96%, transparent 100%);
  transition: color .18s var(--ds-ease), opacity .12s var(--ds-ease);
}
html.ds.ds-sohbet .dashboard-close.ds-kapat:hover { color: var(--fg); }
html.ds.ds-sohbet .dashboard-close.ds-kapat:active { opacity: .55; }
html.ds.ds-sohbet .dashboard-close.ds-kapat .ds-ic { width: 14px; height: 14px; stroke-width: 2.3; }
html.ds.ds-sohbet .dashboard-content { padding: 20px 22px 28px; }
html.ds.ds-sohbet .dashboard-loading { padding: 56px 20px; font-size: 14px; }
/* selamlama = ekran başlığı (600), rol/sınıf = tonlu çip */
html.ds.ds-sohbet .dashboard-greeting { font-family: var(--ds-font-disp); font-size: 22px; font-weight: 600; letter-spacing: -.022em; line-height: 1.25; margin-bottom: 16px; }
html.ds.ds-sohbet .dashboard-greeting b { font-weight: 600; }
html.ds.ds-sohbet .dashboard-content .dashboard-greeting .ds-inl { width: 20px; height: 20px; vertical-align: -3px; margin: 0 2px; color: var(--accent); }
html.ds.ds-sohbet .dashboard-class {
  display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-family: var(--ds-font); font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.4; vertical-align: 3px;
}
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-class:not([style]) { color: #B45309; background: rgba(245, 158, 11, .15); }
/* sayı kartı: etiket (ikincil, düz yazı) · manşet sayı (tek 700) · açıklama */
html.ds.ds-sohbet .dashboard-kpis { gap: 12px; margin-bottom: 16px; }
/* 25.975 yetim satır: dört kartlı ızgara üç sütuna düşmez (tablette son kart tek kalıyordu) — 2×2, geniş ekranda 4×1 */
html.ds.ds-sohbet .dashboard-kpis:has(> .kpi-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 1100px) { html.ds.ds-sohbet .dashboard-kpis:has(> .kpi-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { html.ds.ds-sohbet .dashboard-kpis:has(> .kpi-card:nth-child(4):last-child) .kpi-label { min-height: 2.6em; } }
html.ds.ds-sohbet .kpi-card {
  position: relative; min-width: 0; border-radius: 16px; padding: 14px 16px; border-top: 1px solid var(--ds-ayrac); border-right: 1px solid var(--ds-ayrac); border-bottom: 1px solid var(--ds-ayrac);
  background: linear-gradient(180deg, color-mix(in srgb, var(--fg) 3%, var(--gl-kart)), var(--gl-kart) 70%);
}
html.ds.ds-sohbet .kpi-card:not([style*="border-left"]) { border-left: 1px solid var(--ds-ayrac); }
html.ds.ds-sohbet:not([data-theme="dark"]) .kpi-card, html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-card { box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
html.ds.ds-sohbet .kpi-label { font-size: 13px; font-weight: 500; letter-spacing: -.005em; text-transform: none; color: var(--fg-muted); line-height: 1.3; }
html.ds.ds-sohbet .kpi-value { font-family: var(--ds-font-disp); font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
html.ds.ds-sohbet .kpi-sub { font-size: 12.5px; line-height: 1.4; color: var(--fg-muted); text-wrap: pretty; }
html.ds.ds-sohbet .kpi-sub .gl-mini { font-size: 12px; margin-top: 2px; }
html.ds.ds-sohbet .kpi-value.ds-trend { margin: 4px 0 2px; line-height: 1; }
html.ds.ds-sohbet .kpi-value.ds-trend .ds-ic { width: 32px; height: 32px; stroke-width: 2; margin: 0; vertical-align: middle; color: var(--fg-muted); }
html.ds.ds-sohbet .gl-kpi-row { align-items: center; }
html.ds.ds-sohbet .gl-chip { font-weight: 500; font-size: 12px; padding: 3px 9px; }
/* tıklanabilir kart/satır: › işareti, üzerine gelme tonu, basılı durum, odak halkası kartın kendi yarıçapında */
html.ds.ds-sohbet .kpi-card[data-tik], html.ds.ds-sohbet .oncelik-item[data-tik] { transition: background-color .18s var(--ds-ease), opacity .12s var(--ds-ease), scale .18s var(--ds-ease); -webkit-tap-highlight-color: transparent; }
html.ds.ds-sohbet .kpi-card[data-tik] .kpi-label { padding-right: 18px; }
html.ds.ds-sohbet .kpi-card[data-tik]::after, html.ds.ds-sohbet .oncelik-item[data-tik]::after {
  content: ""; position: absolute; top: 18px; right: 16px; width: 7px; height: 7px; border-top: 1.7px solid var(--fg-muted); border-right: 1.7px solid var(--fg-muted); rotate: 45deg; opacity: .6;
  transition: translate .18s var(--ds-ease), opacity .18s var(--ds-ease);
}
html.ds.ds-sohbet .oncelik-item[data-tik] { padding-right: 34px; }
html.ds.ds-sohbet .oncelik-item[data-tik]::after { top: 50%; right: 14px; margin-top: -4px; }
@media (hover: hover) {
  html.ds.ds-sohbet .kpi-card[data-tik]:hover { background: color-mix(in srgb, var(--fg) 6%, var(--gl-kart)); }
  html.ds.ds-sohbet .oncelik-item[data-tik]:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
  html.ds.ds-sohbet .kpi-card[data-tik]:hover::after, html.ds.ds-sohbet .oncelik-item[data-tik]:hover::after { translate: 2px 0; opacity: 1; }
}
html.ds.ds-sohbet .kpi-card[data-tik]:active, html.ds.ds-sohbet .oncelik-item[data-tik]:active { opacity: .7; scale: .985; transition: none; }
html.ds.ds-sohbet .kpi-card:focus-visible { border-radius: 16px; }
html.ds.ds-sohbet .oncelik-item:focus-visible { border-radius: 12px; }
/* kartlar */
html.ds.ds-sohbet .dashboard-grid { gap: 14px; }
html.ds.ds-sohbet .dashboard-card { background: var(--gl-kart); border: 1px solid var(--ds-ayrac); border-radius: 16px; padding: 16px 18px 18px; scroll-margin-top: 74px; outline: 2px solid transparent; outline-offset: 2px; }
html.ds.ds-sohbet .dashboard-card.gl-vurgu { animation: ds-gl-vurgu 1.5s var(--ds-ease-out) 1; }
@keyframes ds-gl-vurgu { 0%, 35% { outline-color: color-mix(in srgb, var(--accent) 75%, transparent); } 100% { outline-color: transparent; } }
html.ds.ds-sohbet .dashboard-card-title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; font-size: 15px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; margin-bottom: 12px; text-wrap: balance;
}
html.ds.ds-sohbet .dashboard-card-title.gl-title-row > span:first-child { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; }
html.ds.ds-sohbet .dashboard-card-title .ds-ic, html.ds.ds-sohbet .gl-ops > summary .ds-ic { width: 17px; height: 17px; flex: 0 0 auto; color: var(--accent); }
html.ds.ds-sohbet .dashboard-card-title .gl-mini, html.ds.ds-sohbet .gl-ops > summary .gl-mini { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--fg-muted); }
html.ds.ds-sohbet .gl-ops > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; min-height: 48px; box-sizing: border-box; padding: 12px 18px; font-size: 15px; font-weight: 600; letter-spacing: -.012em; }
html.ds.ds-sohbet .gl-ops > summary::before { content: ""; width: 6px; height: 6px; margin: 0 6px 0 2px; border-top: 1.7px solid var(--fg-muted); border-right: 1.7px solid var(--fg-muted); rotate: 45deg; transition: rotate .2s var(--ds-ease); transform: none; }
html.ds.ds-sohbet .gl-ops[open] > summary::before { rotate: 135deg; transform: none; }
html.ds.ds-sohbet .gl-ops-grid { padding: 0 18px 18px; }
/* grafik kartın kendi zemininde çizilir (koyu temada sohbet balonu için yazılmış gri kutu panoya da düşüyordu) */
html.ds.ds-sohbet .dashboard-panel .chart-container { background: transparent; border-radius: 0; }
html.ds.ds-sohbet .dashboard-content .ds-inl { width: 14px; height: 14px; vertical-align: -2px; margin: 0 3px 0 0; }
/* liste satırı: ad 400 (Title Case'i glSimgele yazar), ikincil satır tonla; değer tabular */
html.ds.ds-sohbet .oncelik-list, html.ds.ds-sohbet #dashDuyguRisk, html.ds.ds-sohbet #dashNetDusus, html.ds.ds-sohbet #dashDevamsiz, html.ds.ds-sohbet #dashTop10,
html.ds.ds-sohbet #dashRiskli, html.ds.ds-sohbet #dashLgsDagilim, html.ds.ds-sohbet .gl-etut-grid, html.ds.ds-sohbet .gl-oncelik-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 8px; align-items: start;
}
html.ds.ds-sohbet .gl-oncelik-grid, html.ds.ds-sohbet .gl-etut-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
html.ds.ds-sohbet .dashboard-card .gl-not, html.ds.ds-sohbet .dashboard-card .dashboard-empty { grid-column: 1 / -1; }
html.ds.ds-sohbet .oncelik-item { position: relative; min-width: 0; background: var(--gl-ic); border-radius: 12px; padding: 11px 14px; }
html.ds.ds-sohbet .onc-head { gap: 10px; align-items: baseline; margin-bottom: 2px; }
html.ds.ds-sohbet .onc-ders { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: capitalize; min-width: 0; }
html.ds.ds-sohbet .onc-ders.ds-ad { font-size: 14.5px; font-weight: 400; letter-spacing: -.008em; color: var(--fg); text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .onc-konu { font-size: 14.5px; font-weight: 400; letter-spacing: -.008em; margin-bottom: 2px; }
html.ds.ds-sohbet .onc-basari { flex: 0 0 auto; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ds.ds-sohbet .onc-basari .gl-mini { display: inline; font-weight: 400; }
html.ds.ds-sohbet .onc-neden { font-size: 12.5px; font-style: normal; line-height: 1.4; margin-bottom: 0; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .onc-neden + .onc-bar { margin-top: 8px; }
html.ds.ds-sohbet .onc-bar { background: color-mix(in srgb, var(--fg) 9%, transparent); }
html.ds.ds-sohbet .gl-sira { font-size: 13px; font-weight: 600; color: var(--fg-muted); font-variant-numeric: tabular-nums; margin-right: 0; }
html.ds.ds-sohbet .gl-dusus-cubuk { height: 8px; border-radius: 4px; margin-top: 9px; min-width: 24px; background: transparent; gap: 1.5px; }
html.ds.ds-sohbet .gl-dusus-cubuk i { border-radius: 2px; }
html.ds.ds-sohbet .gl-dusus-cubuk i[style*="f87171"] { filter: none; }
html.ds.ds-sohbet .gl-kalan { background: color-mix(in srgb, var(--fg) 36%, transparent); }
html.ds.ds-sohbet .gl-dev-cubuk, html.ds.ds-sohbet .gl-kb-cubuk { height: 6px; margin-top: 9px; }
html.ds.ds-sohbet .oncelik-item > .gl-bar-lg { display: block; height: 6px; margin: 7px 0 7px; }
html.ds.ds-sohbet .gl-leg-ust { margin: -2px 0 12px; }
html.ds.ds-sohbet .gl-eks { grid-template-columns: 84px 1fr 30px; font-size: 13px; padding: 5px 0; }
html.ds.ds-sohbet .gl-cikarim { font-size: 13.5px; line-height: 1.5; margin-top: 14px; padding-top: 12px; border-top-color: var(--ds-ayrac); text-wrap: pretty; }
html.ds.ds-sohbet .gl-not { font-size: 12px; line-height: 1.5; }
html.ds.ds-sohbet .gl-sub { font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
html.ds.ds-sohbet .gl-alan { font-size: 11.5px; font-weight: 500; text-transform: capitalize; letter-spacing: 0; padding: 1px 7px; border-radius: 6px; background: var(--ds-vurgu-zemin); margin-right: 6px; }
html.ds.ds-sohbet .gl-yorum { font-size: 14px; line-height: 1.5; }
html.ds.ds-sohbet .gl-dot { margin-top: 7px; }
html.ds.ds-sohbet .gl-row-ad { font-size: 14px; font-weight: 400; }
html.ds.ds-sohbet .gl-row-alt { font-size: 12.5px; }
html.ds.ds-sohbet .gl-row, html.ds.ds-sohbet .gl-kalem, html.ds.ds-sohbet .gl-hak, html.ds.ds-sohbet .gl-table td { border-color: var(--ds-ayrac); }
html.ds.ds-sohbet .gl-hak-tur { font-weight: 600; }
html.ds.ds-sohbet .gl-table { font-size: 13px; }
html.ds.ds-sohbet .gl-table th { font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
html.ds.ds-sohbet .gl-table td b { font-weight: 600; }
html.ds.ds-sohbet .gl-fin, html.ds.ds-sohbet .gl-yas-c { border-color: var(--ds-ayrac); border-radius: 12px; background: var(--gl-ic); }
html.ds.ds-sohbet .foto-gecmis-item { background: var(--gl-ic); border-radius: 12px; padding: 11px 14px; }
html.ds.ds-sohbet .fg-ders { font-size: 12.5px; font-weight: 500; text-transform: capitalize; }
html.ds.ds-sohbet .fg-konu { font-size: 14px; }
html.ds.ds-sohbet .fg-tarih, html.ds.ds-sohbet .fg-zorluk { font-size: 12px; font-variant-numeric: tabular-nums; }
/* boş durum: simge (kutusuz) + kısa ifade + ikincil açıklama; kart boş kutuya dönüşmez */
html.ds.ds-sohbet .dashboard-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; font-size: 13.5px; line-height: 1.45; text-align: center; text-wrap: balance; }
html.ds.ds-sohbet .dashboard-empty[data-ic] { color: var(--fg); font-size: 14.5px; font-weight: 500; }
html.ds.ds-sohbet .dashboard-empty > .gl-mini { font-size: 12.5px; font-weight: 400; max-width: 46ch; }
html.ds.ds-sohbet .ds-bos-ic { display: block; line-height: 0; margin-bottom: 6px; color: var(--fg-muted); }
html.ds.ds-sohbet .ds-bos-ic .ds-ic { width: 28px; height: 28px; stroke-width: 1.6; }
html.ds.ds-sohbet .ds-bos-ic.ds-bos-iyi { color: #30D158; }
html.ds.ds-sohbet:not([data-theme="dark"]) .ds-bos-ic.ds-bos-iyi { color: #248A3D; }
/* segmented control (kıyas penceresi · grafik görünümü): ray + yükseltilmiş seçili dilim */
html.ds.ds-sohbet .gl-pencere { gap: 0; }
html.ds.ds-sohbet .gl-pencere .gl-mini { margin-left: 10px; font-size: 12px; }
html.ds.ds-sohbet .gl-seg { border: 0; border-radius: 9px; overflow: visible; }
html.ds.ds-sohbet .gl-pencere button, html.ds.ds-sohbet .gl-seg button {
  position: relative; isolation: isolate; min-height: 32px; padding: 0 13px; border: 0; border-radius: 0; background: var(--gl-seg); color: var(--fg-muted);
  font-family: var(--ds-font); font-size: 13px; font-weight: 500; font-style: normal; letter-spacing: -.005em; transition: color .18s var(--ds-ease);
}
html.ds.ds-sohbet .gl-pencere button:first-of-type, html.ds.ds-sohbet .gl-seg button:first-child { border-radius: 9px 0 0 9px; }
html.ds.ds-sohbet .gl-pencere button:last-of-type, html.ds.ds-sohbet .gl-seg button:last-child { border-radius: 0 9px 9px 0; }
html.ds.ds-sohbet .gl-seg button:only-child { border-radius: 9px; }
html.ds.ds-sohbet .gl-pencere button:hover, html.ds.ds-sohbet .gl-seg button:hover { color: var(--fg); }
html.ds.ds-sohbet .gl-pencere button.on, html.ds.ds-sohbet .gl-seg button.on { background: var(--gl-seg) !important; color: var(--fg) !important; font-weight: 600; }
html.ds.ds-sohbet .gl-pencere button.on::before, html.ds.ds-sohbet .gl-seg button.on::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 7px; background: var(--gl-seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .18), inset 0 0 0 .5px rgba(255, 255, 255, .06);
}
html.ds.ds-sohbet .gl-pencere button:active, html.ds.ds-sohbet .gl-seg button:active { opacity: .65; }
html.ds.ds-sohbet .gl-grafik-ctl { gap: 8px; }
/* eylem düğmeleri: tonlu hap + vurgu renkli çizgi simge; dokunuşta zıplama değil sönme */
html.ds.ds-sohbet .dash-actions { gap: 8px; margin-top: 18px; padding-top: 16px; border-top-color: var(--ds-ayrac); }
html.ds.ds-sohbet .dash-action-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 14px; border-radius: 999px; font-family: var(--ds-font); font-size: 13.5px; font-weight: 500; letter-spacing: -.005em;
  color: var(--fg); background: color-mix(in srgb, var(--accent) 10%, var(--gl-kart)); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  transition: background-color .18s var(--ds-ease), opacity .12s var(--ds-ease);
}
html.ds.ds-sohbet .dash-action-btn .ds-ic { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent); margin: 0; }
html.ds.ds-sohbet .dash-action-btn:hover { background: color-mix(in srgb, var(--accent) 17%, var(--gl-kart)); border-color: color-mix(in srgb, var(--accent) 34%, transparent); transform: none; }
html.ds.ds-sohbet .dash-action-btn:active { opacity: .6; transform: none; }
html.ds.ds-sohbet .dash-action-btn:focus-visible { border-radius: 999px; }
/* öğretmen · haftalık program: gün sütunları (geniş ekranda yan yana), sütun başlıklı satırlar tek ızgarada */
html.ds.ds-sohbet .gl-prog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px 18px; align-items: start; }
html.ds.ds-sohbet .gl-prog-gun { margin: 0 !important; min-width: 0; }
html.ds.ds-sohbet .gl-prog-bas { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px !important; font-weight: 600 !important; color: var(--accent) !important; margin-bottom: 8px !important; }
html.ds.ds-sohbet .gl-prog-bas .gl-mini { display: inline; font-size: 12px; }
html.ds.ds-sohbet .gl-prog-satir {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, auto); gap: 10px; align-items: baseline; padding: 8px 12px !important; margin-bottom: 4px !important;
  border-radius: 10px !important; background: var(--gl-ic) !important; font-size: 13.5px !important;
}
html.ds.ds-sohbet .gl-prog-satir > span:first-child { font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .gl-prog-satir > span:nth-child(2) { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .gl-prog-satir > span:last-child { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ds.ds-sohbet .gl-prog-satir.gl-prog-ust { background: transparent !important; padding: 0 12px 3px !important; margin-bottom: 2px !important; font-size: 11.5px !important; }
html.ds.ds-sohbet .gl-prog-satir.gl-prog-ust > span:nth-child(2) { font-weight: 400; }
/* satır içi sabit koyu-tema renkleri → tema belirteci (açık temada #e5e7eb beyaz zeminde görünmüyordu) */
html.ds.ds-sohbet .dashboard-content [style*="color:#e5e7eb"] { color: var(--fg) !important; }
html.ds.ds-sohbet .dashboard-content [style*="color:#9ca3af"] { color: var(--fg-muted) !important; }
html.ds.ds-sohbet .dashboard-content [style*="border-top:1px solid rgba"] { border-top-color: var(--ds-ayrac) !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content [style*="color:#fbbf24"]:not(.oncelik-item):not(.kpi-card), html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content [style*="color:#f59e0b"]:not(.oncelik-item):not(.kpi-card):not(.gl-prog-bas) { color: #B45309 !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content [style*="color:#f87171"]:not(.oncelik-item):not(.kpi-card) { color: #D92D20 !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content [style*="color:#4ade80"]:not(.oncelik-item):not(.kpi-card) { color: #1A7F37 !important; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content .onc-ders:not(.ds-ad):not([style]) { color: #B45309; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content .fg-ders { color: #2563EB; }
html.ds.ds-sohbet:not([data-theme="dark"]):not([data-palette="mono"]) .dashboard-content .gl-ok:not(i), html.ds.ds-sohbet:not([data-theme="dark"]):not([data-palette="mono"]) .dashboard-content .gl-chip-ok { color: #1A7F37; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content .gl-bad:not(i), html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content .gl-chip-bad { color: #D92D20; }
html.ds.ds-sohbet:not([data-theme="dark"]) .dashboard-content .gl-warn:not(i) { color: #B45309; }
/* sınıf gelişim tablosu: orta genişlikte (tablet dikey) yorum sütunu ekran kenarında kırpılıyordu → yorum kendi satırına iner */
html.ds.ds-sohbet #glSinif { container: gl-sinif / inline-size; }
@container gl-sinif (min-width: 560px) and (max-width: 900px) {
  html.ds.ds-sohbet #glSinif .gl-table, html.ds.ds-sohbet #glSinif .gl-table thead, html.ds.ds-sohbet #glSinif .gl-table tbody { display: block; }
  html.ds.ds-sohbet #glSinif .gl-table tr {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .7fr); align-items: start;
  }
  html.ds.ds-sohbet #glSinif .gl-table th.gl-th-yorum { display: none; }
  html.ds.ds-sohbet #glSinif .gl-table td.gl-td-yorum { grid-column: 1 / -1; min-width: 0; border-top: 0; padding: 0 8px 10px; font-size: 12.5px; }
}
/* cihaz: telefonda tam ekran sayfa (iOS sheet); dokunmatikte 44 pt hedef; geniş ekranda geniş pano + yüksek grafik */
@media (max-width: 700px) {
  html.ds.ds-sohbet .dashboard-overlay { padding: 0; align-items: stretch; }
  html.ds.ds-sohbet .dashboard-panel { max-width: none; max-height: none; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
  html.ds.ds-sohbet .dashboard-header { padding: max(8px, env(safe-area-inset-top)) 8px 8px 16px; }
  html.ds.ds-sohbet .dashboard-content { padding: 16px 14px calc(26px + env(safe-area-inset-bottom)); }
  html.ds.ds-sohbet .dashboard-greeting { font-size: 20px; }
  html.ds.ds-sohbet .dashboard-card { padding: 14px 14px 16px; }
  html.ds.ds-sohbet .gl-greet { align-items: flex-start; }
}
@media (any-pointer: coarse) and (min-width: 481px) {
  html.ds.ds-sohbet .dashboard-panel { border-radius: 0; box-shadow: none; }
  html.ds.ds-sohbet .dashboard-header { padding-top: max(14px, env(safe-area-inset-top)) !important; }
  html.ds.ds-sohbet .dashboard-card { scroll-margin-top: 12px; }
}
@media (pointer: coarse) {
  html.ds.ds-sohbet .dash-action-btn { min-height: 44px; padding: 10px 16px; }
  html.ds.ds-sohbet .dash-actions { gap: 10px; }
  html.ds.ds-sohbet .gl-pencere button, html.ds.ds-sohbet .gl-seg button { min-height: 36px; padding: 0 14px; }
  html.ds.ds-sohbet .gl-pencere button::after, html.ds.ds-sohbet .gl-seg button::after { content: ""; position: absolute; inset: -4px 0; }
  html.ds.ds-sohbet .gl-grafik-ctl { gap: 10px; row-gap: 10px; }
  html.ds.ds-sohbet .oncelik-item[data-tik] { min-height: 44px; box-sizing: border-box; }
}
@media (min-width: 1600px) {
  html.ds.ds-sohbet .dashboard-panel { max-width: min(1720px, 92vw); }
  html.ds.ds-sohbet .dashboard-content { padding: 24px 28px 32px; }
  html.ds.ds-sohbet .dashboard-header { padding-left: 28px; padding-right: 18px; }
  html.ds.ds-sohbet .dashboard-panel .chart-container { height: 340px; }
  html.ds.ds-sohbet .dashboard-grid { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet .dashboard-panel { animation: none; } }

/* ══ 25.G-ui · YÖNETİM PANELİ — LİDER + RİSK KARTLARI (rol_yonetim_gelisim 3,23: bosluk 2 · etkilesim 2 · zenginlik 3) ══════════════
   KÖK: pano ızgarası 2fr | 1fr; "En Başarılı 10" tek sütunda 10 satır uzarken yanındaki risk kartı 1-2 satırla kalıyor, kartın
   altında ~570 px boş hücre görünüyordu (denetim: "kırık render"). Çözüm düzen sisteminin kendi kuralı: dengesiz iki kart tam satır,
   alt alta; içleri kartın GERÇEK genişliğine göre iki sütun (≥ 700 px), tek kalan son satır tam genişlik → boş hücre hiçbir sayıda yok.
   Satırlar kıyaslı (web_chat_ui.html renderAdminDashboard): lider çubuğu + sınıf ortalaması çizgisi · devamsızlık eşik çizgisi ·
   net düşüşü önce→sonra yığını. Kapsam yalnız .gl-lider / .gl-risk / .gl-ops — öğrenci · öğretmen · rehber panolarına dokunmaz. */
html.ds.ds-sohbet .gl-lider { container: gl-ikili / inline-size; }
html.ds.ds-sohbet .gl-risk { container: gl-ikili / inline-size; }
html.ds.ds-sohbet .gl-risk #dashRiskli { display: block; }
html.ds.ds-sohbet .gl-lider #dashTop10 { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
html.ds.ds-sohbet .gl-risk .gl-risk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: stretch; }
@container gl-ikili (min-width: 700px) {
  html.ds.ds-sohbet .gl-lider #dashTop10 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-sohbet .gl-risk .gl-risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-sohbet .gl-lider #dashTop10 > .oncelik-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  html.ds.ds-sohbet .gl-risk .gl-risk-grid > .oncelik-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* sıra numarası sabit genişlikte (1 ile 10 aynı dikey eksende), ad esner, net sağda; ikincil satırdaki fark sayısı 600 + tabular */
html.ds.ds-sohbet .gl-lider .gl-sira { flex: 0 0 auto; min-width: 18px; text-align: right; }
html.ds.ds-sohbet .gl-lider .onc-neden b { font-weight: 600; font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .gl-risk .onc-neden b { font-weight: 600; font-variant-numeric: tabular-nums; }
/* lider çubuğu başarı rolünde (değerle aynı yeşil); mono palette sayfanın kendi kuralı (var(--fg)) geçerli kalır */
html.ds.ds-sohbet:not([data-palette="mono"]) .gl-lider-cubuk i { background: color-mix(in srgb, #4ade80 88%, transparent); }
html.ds.ds-sohbet:not([data-theme="dark"]):not([data-palette="mono"]) .gl-lider-cubuk i { background: #2DA44E; }
/* risk grupları: bölüm etiketi + sayaç çipi (uzun liste kategorize — devamsızlık · net düşüşü) */
html.ds.ds-sohbet .gl-risk .gl-sub { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 13px; line-height: 1.3; color: var(--fg-muted); }
html.ds.ds-sohbet .gl-risk .gl-sub.gl-sub-ilk { margin-top: 0; }
html.ds.ds-sohbet .gl-risk .gl-sub .gl-chip { min-width: 22px; box-sizing: border-box; padding: 1px 7px; font-size: 11.5px; text-align: center; }
/* Operasyon akordeonu: başlık satırı dokunma tepkisi verir, içerik yerleşim tetiklemeden (opacity + transform) açılır */
html.ds.ds-sohbet .gl-ops > summary { border-radius: 16px; transition: background-color .18s var(--ds-ease), opacity .12s var(--ds-ease); -webkit-tap-highlight-color: transparent; }
html.ds.ds-sohbet .gl-ops[open] > summary { border-radius: 16px 16px 0 0; }
@media (hover: hover) { html.ds.ds-sohbet .gl-ops > summary:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); } }
html.ds.ds-sohbet .gl-ops > summary:active { opacity: .6; transition: none; }
html.ds.ds-sohbet .gl-ops[open] > .gl-ops-grid { animation: ds-gl-ops-ac .22s var(--ds-ease); }
@keyframes ds-gl-ops-ac { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet .gl-ops[open] > .gl-ops-grid { animation: none; } }

/* ══ 25.G-ui · ÖĞRENCİ GELİŞİM PANELİ — KÜÇÜK ÇOKLU + ÖNCELİK SIRASI (rol_ogrenci_gelisim 4,36: okunabilirlik 3) ═══════════════════════
   KÖK 1: dört ders çizgisi toplamla ORTAK eksende 10-30 net bandına sıkışıyor, telefonda ayırt edilemiyordu. Çözüm eksen bölmek değil
   küçük çoklu (web_chat_ui.html _dashDersKutu): her ders kendi ölçeğinde mini çizgi + kendi ortalaması kesikli referans + son net
   manşet + eğim çipi; dar grafikte ana grafik toplam + ortalama çizgisine iner. Karo = panonun iç satır tonu (--gl-ic), yeni renk yok:
   ders rengi ana grafikteki çizgiyle aynı (--dr). Sütun sayısı kartın GERÇEK genişliğinden (kapsayıcı sorgusu), cihaz adından değil.
   KÖK 2: üç öncelik konusu da %0 iken kartlar özdeşti → sıra numarası kendi sütununda (metin tek dikey eksende kalır), ton sırayla
   söner; başarı çubuğunun degradesi dolgunun değil RAYIN tamamına yayılır (%5'lik dolguda üç renk sıkışıp "bozuk şerit" görünüyordu). */
html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler) { container: gl-trend / inline-size; }
html.ds.ds-sohbet .gl-sub.gl-ders-bas { margin: 16px 0 8px; font-size: 12.5px; line-height: 1.3; color: var(--fg-muted); }
html.ds.ds-sohbet .gl-dersler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@container gl-trend (max-width: 660px) { html.ds.ds-sohbet .gl-dersler { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.ds.ds-sohbet .gl-ders { display: flex; flex-direction: column; min-width: 0; padding: 11px 12px 10px; border-radius: 12px; background: var(--gl-ic); }
html.ds.ds-sohbet .gl-ders-ust { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 24px; }
html.ds.ds-sohbet .gl-ders-ad { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--fg); white-space: nowrap; }
html.ds.ds-sohbet .gl-ders-ad i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--dr); }
html.ds.ds-sohbet .gl-ders-deger {
  display: flex; align-items: baseline; gap: 5px; margin-top: 4px; font-family: var(--ds-font-disp); font-size: 22px; font-weight: 700; letter-spacing: -.022em; line-height: 1.15;
  font-variant-numeric: tabular-nums; color: var(--fg);
}
html.ds.ds-sohbet .gl-ders-deger .gl-mini { display: inline; font-family: var(--ds-font); font-size: 12px; font-weight: 400; letter-spacing: 0; }
html.ds.ds-sohbet .gl-ders-spark { display: block; width: 100%; height: 44px; margin: 8px 0; overflow: visible; }
html.ds.ds-sohbet .gl-ders-spark polygon { fill: color-mix(in srgb, var(--dr) 13%, transparent); stroke: none; }
html.ds.ds-sohbet .gl-ders-spark line { stroke: color-mix(in srgb, var(--fg) 36%, transparent); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
html.ds.ds-sohbet .gl-ders-spark polyline { fill: none; stroke: var(--dr); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.ds.ds-sohbet .gl-ders-spark path { fill: none; stroke: var(--dr); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.ds.ds-sohbet .gl-ders-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1px 10px; margin-top: auto; font-size: 12px; line-height: 1.45; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
html.ds.ds-sohbet .gl-ders-alt span { white-space: nowrap; }
html.ds.ds-sohbet .gl-ders-alt i { display: inline-block; width: 12px; margin-right: 6px; vertical-align: middle; border-top: 1.5px dashed color-mix(in srgb, var(--fg) 42%, transparent); }
/* öncelik sırası: numara ayrı sütun (ders · konu · gerekçe · çubuk tek sol eksende), 1. sıra vurgu renginde, sonrakiler tonla geri çekilir */
html.ds.ds-sohbet .oncelik-item[data-sira] { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; }
html.ds.ds-sohbet .oncelik-item[data-sira] > * { grid-column: 2; }
html.ds.ds-sohbet .oncelik-item[data-sira]::before {
  content: attr(data-sira); grid-column: 1; grid-row: 1 / span 4; align-self: start; min-width: 11px; font-family: var(--ds-font-disp); font-size: 17px; font-weight: 600; line-height: 19px;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-align: center; color: var(--fg-muted);
}
html.ds.ds-sohbet .oncelik-item[data-sira="1"]::before { color: #f59e0b; }
html.ds.ds-sohbet:not([data-theme="dark"]) .oncelik-item[data-sira="1"]::before { color: #B45309; }
html.ds.ds-sohbet .oncelik-item[data-sira="2"] { border-left-color: color-mix(in srgb, #f59e0b 62%, transparent); }
html.ds.ds-sohbet .oncelik-item[data-sira="3"] { border-left-color: color-mix(in srgb, #f59e0b 36%, transparent); }
html.ds.ds-sohbet .oncelik-item[data-sira] .onc-head { align-items: baseline; min-height: 19px; }
html.ds.ds-sohbet .oncelik-item[data-sira] .onc-bar { height: 6px; border-radius: 3px; }
html.ds.ds-sohbet .oncelik-item[data-sira] .onc-fill { border-radius: 3px; background-size: calc(10000% / var(--b, 100)) 100%; background-repeat: no-repeat; }
@media (prefers-reduced-motion: reduce) { html.ds.ds-sohbet .oncelik-item[data-sira] .onc-fill { transition: none; } }
/* 25.G-ui (rol_ogrenci_gelisim 4,64: okunabilirlik 3) — geniş grafikte Toplam (70-110) ile dört ders (10-30) ortak dikey eksende alt
   şeride sıkışıyordu. Çizici (web_chat_ui.html _dashTrendGrafik) tuval ≥ 520 px iken aynı grafiği İKİ PANELE böler (üstte Toplam +
   ortalaman, altta dersler; tarih ekseni ortak) ve kapsayıcıyı data-gl-panel="2" ile işaretler. İki panel tek panelin boyuna sığmaz:
   yükseklik burada açılır (sayfanın dokunmatik 220 px zorlamasını yalnız bu kapsayıcıda aşar); yatay telefonda ekrandan taşmaz. */
html.ds.ds-sohbet .dashboard-panel .chart-container[data-gl-panel="2"] { height: min(340px, 80vh) !important; }
@media (min-width: 1600px) { html.ds.ds-sohbet .dashboard-panel .chart-container[data-gl-panel="2"] { height: min(400px, 80vh) !important; } }
/* 25.G-ui düzeltme (derinlik 5→4) — iki panelli grafik kartı ~80 px uzattı; grafiğin ÇIKARIM cümlesi iPad yatay (834 px) ve PC'de
   (900 px) ilk ekranın altına düştü: grafik yorumsuz kaldı. Grafik kısaltılmaz (okunabilirlik kazanımı o boydan geliyor); geniş
   ekranda düzen sisteminin kuralı uygulanır — "grafik solda, çıkarım sağda": cümle grafiğin yanında, onunla aynı satırda, grafik
   boyunca inen ince ayraçla. Dikeyde yer almaz, küçük çoklu yerinde kalır. DOM sırası ve dar ekran (tablet dikey, telefon) aynen:
   orada cümle eskisi gibi kartın sonunda. Eşik görünüm genişliğinden: bu kart panonun tam satırıdır (1100 px'te grafik ≥ 640 px,
   iki panel eşiği 520'nin üstünde); kart zaten kendi kapsayıcısı olduğundan kendi sorgusuyla ızgaraya çevrilemez. */
@media (min-width: 1100px) {
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) { display: grid; grid-template-columns: minmax(0, 1fr) clamp(232px, 23%, 320px); column-gap: 20px; align-content: start; }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > * { grid-column: 1 / -1; min-width: 0; }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > .dashboard-card-title { grid-row: 1; }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > .chart-container { grid-column: 1; grid-row: 2; }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > .gl-cikarim {
    grid-column: 2; grid-row: 2; display: flex; align-items: center; margin-top: 0; padding: 0 2px 0 20px; border-top: 0; border-left: 1px solid var(--ds-ayrac);
    font-size: 14px; line-height: 1.55;
  }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > .gl-ders-bas { grid-row: 3; }
  html.ds.ds-sohbet .dashboard-card:has(> .gl-dersler):has(> .gl-cikarim) > .gl-dersler { grid-row: 4; }
}

/* ══ 25.975 · TAKVİM AYRINTI PENCERESİ (kos_takvim_ders_ayrinti 2,86 · kos_takvim_etut_ayrinti 3,5): telefonda sayfa içeriği kadar
   (alt yarısı boş kalıyordu), tek kalan alan satırı tam genişlik (ızgarada boş hücre yok). ══ */
html.ds.ds-kos .tk-meta > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) {
  html.ds.ds-kos dialog#modal.tk-pencere[open] { height: -webkit-fit-content; height: fit-content; max-height: calc(100dvh - 12px); margin: auto 0 0; }   /* UA: position:fixed + inset:0 → height:auto ekranı doldurur (m-fit ile aynı kök) */
  html.ds.ds-kos dialog#modal.tk-pencere[open] .m-body { flex: 0 1 auto; padding-bottom: 18px; }
}

/* ══ 25.980 · TAKVİM AYRINTI PENCERESİ — MANŞET + KARAR KATMANI (kos_takvim_ders_ayrinti 3,05: zenginlik 2 · derinlik 2 · bosluk 3 —
   kos_takvim_etut_ayrinti 3,82: zenginlik 3 · derinlik 3). Düz etiket-değer formu yerine: saat manşeti + durum çipi (takvim bloğunun
   renk dili), çizgi simgeli gruplanmış alan listesi (boş hücre yok), özet çipleri ve AA analiz kartları (takvim.js _dersAnaliz ·
   _etutAnalizi). Öğrenci satırı görünür biçimde dokunulur (›, satırın tamamı, odak halkası). Geniş ekranda iki sütun. ══ */
html.ds.ds-kos #modal.tk-pencere .tk-mans { --tk-m: var(--blue); position: relative; overflow: hidden; padding: 14px 16px 13px 20px; border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tk-m) 15%, transparent), color-mix(in srgb, var(--tk-m) 4%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tk-m) 17%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-mans.tk-m-ey { --tk-m: var(--purple); }
html.ds.ds-kos #modal.tk-pencere .tk-mans.tk-m-ko { --tk-m: var(--gold); }
html.ds.ds-kos #modal.tk-pencere .tk-mans::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tk-m); }
html.ds.ds-kos #modal.tk-pencere .tk-mans-saat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; }
html.ds.ds-kos #modal.tk-pencere .tk-mans-saat b { font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
html.ds.ds-kos #modal.tk-pencere .tk-mans-saat span { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
html.ds.ds-kos #modal.tk-pencere .tk-mans-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 9px; }
html.ds.ds-kos #modal.tk-pencere .tk-mans-gun { font-size: 13.5px; color: var(--ink2); }
html.ds.ds-kos #modal.tk-pencere .tk-mans-gun em { font-style: normal; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-mans-gun em::before { content: "· "; }
html.ds.ds-kos #modal.tk-pencere .tk-durum { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 11px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 500; color: var(--ink2); background: color-mix(in srgb, var(--ink) 9%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-durum i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .75; }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-ok { color: color-mix(in srgb, var(--teal) 76%, var(--ink)); background: color-mix(in srgb, var(--teal) 14%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-bek { color: color-mix(in srgb, var(--red) 80%, var(--ink)); background: color-mix(in srgb, var(--red) 13%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-simdi { color: color-mix(in srgb, var(--gold) 72%, var(--ink)); background: color-mix(in srgb, var(--gold) 15%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-ok i { opacity: 1; }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-bek i { opacity: 1; }
html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-simdi i { opacity: 1; animation: tk-nabiz 1.8s ease-in-out infinite; }
@keyframes tk-nabiz { from { opacity: 1; } 50% { opacity: .35; } to { opacity: 1; } }

/* alan listesi: simge · etiket · değer (iOS gruplanmış liste); dokunulur satır › ile sınıfın / öğretmenin programına iner */
html.ds.ds-kos #modal.tk-pencere .tk-meta { display: block; margin: 12px 0 0; border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, var(--ink) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div { position: relative; display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 7px 14px; }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div + div::before { content: ""; position: absolute; left: 44px; right: 0; top: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-meta dt { flex: none; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13.5px; color: var(--ink2); }
html.ds.ds-kos #modal.tk-pencere .tk-meta dt .ds-ic { flex: none; width: 18px; height: 18px; color: color-mix(in srgb, var(--tk-m, var(--blue)) 62%, var(--ink2)); }
html.ds.ds-kos #modal.tk-pencere .tk-mans.tk-m-ey ~ .tk-meta { --tk-m: var(--purple); }
html.ds.ds-kos #modal.tk-pencere .tk-mans.tk-m-ko ~ .tk-meta { --tk-m: var(--gold); }
html.ds.ds-kos #modal.tk-pencere .tk-meta dd { margin: 0 0 0 auto; min-width: 0; text-align: right; font-size: 14.5px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; text-wrap: balance; }
html.ds.ds-kos #modal.tk-pencere .tk-meta dd .tag { margin-right: 4px; }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .16s var(--ds-ease); }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik::after { content: "›"; flex: none; margin-left: -6px; font-size: 17px; line-height: 1; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik:active { background: color-mix(in srgb, var(--ink) 10%, transparent); transition: none; }
html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 12px; }

/* bölüm (yoklama · öğrenci listesi): öğrenci satırının tamamı dokunulur, sonda › (iOS ayrıntı göstergesi), durum rozeti hap */
html.ds.ds-kos #modal.tk-pencere .tk-bolum-bas > span:first-child { font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; color: var(--ink); }
html.ds.ds-kos #modal.tk-pencere .tk-og li { position: relative; min-height: 44px; gap: 9px; }
html.ds.ds-kos #modal.tk-pencere .tk-og li .tag { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; }
html.ds.ds-kos #modal.tk-pencere .tk-og li:has(> .aa-tik)::after { content: "›"; flex: none; font-size: 17px; line-height: 1; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-og li:has(> .aa-tik):not(:has(> .tag))::after { margin-left: auto; }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik { -webkit-tap-highlight-color: transparent; }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik::before { content: ""; position: absolute; inset: 1px -8px; border-radius: 10px; transition: background-color .16s var(--ds-ease); }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik:hover { opacity: 1; color: var(--ink); }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik:hover::before { background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik:active::before { background: color-mix(in srgb, var(--ink) 10%, transparent); transition: none; }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik:focus-visible { outline: none; }
html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik:focus-visible::before { outline: 2px solid var(--gold); outline-offset: -2px; }
html.ds.ds-kos:not([data-kos-theme="light"]) #modal.tk-pencere .tag.t-amber { color: #FCD77A; background: color-mix(in srgb, var(--gold) 24%, transparent); }
html.ds.ds-kos[data-kos-theme="light"] #modal.tk-pencere .tag.t-amber { color: color-mix(in srgb, var(--gold) 58%, #000); background: color-mix(in srgb, var(--gold) 18%, transparent); }

/* karar katmanı: özet çipleri (büyük sayı + kıyas satırı) ve AA kartları — pencere içinde tek sütun, kutu içinde kutu değil tonlu yüzey */
html.ds.ds-kos #modal.tk-pencere .tk-analiz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; --aa-ad-s: minmax(92px, 132px); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet { margin: 0; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet:not(:has(> div:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet:not(:has(> div:nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet > div { min-width: 0; gap: 4px; padding: 10px 12px 11px; border-radius: 12px; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet > div > span { font-size: 11.5px; line-height: 1.3; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet b { font-size: 20px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet b small { display: block; margin: 4px 0 0; font-size: 11.5px; line-height: 1.3; font-weight: 400; letter-spacing: 0; color: var(--ink3); text-wrap: balance; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-kart { margin: 0; padding: 14px 14px 13px; border-radius: 14px; box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); background: color-mix(in srgb, var(--ink) 3%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-kart h3 { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; color: var(--ink); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-kart .aa-alt { font-size: 11.5px; font-weight: 400; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-cikarim { font-size: 13px; line-height: 1.5; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .tk-bag { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--ink) 32%, transparent); border-radius: 4px; transition: opacity .16s var(--ds-ease); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .tk-bag:active { opacity: .6; transition: none; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .tk-bag:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik { margin: 0 -8px; padding: 0 8px; min-height: 40px; border-radius: 9px; transition: background-color .16s var(--ds-ease); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik > .aa-ders-pay::after { content: " ›"; color: var(--ink3); font-weight: 400; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 5%, transparent); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik:active { background: color-mix(in srgb, var(--ink) 10%, transparent); transition: none; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-yigin-satir { min-height: 32px; }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-yigin-satir[onclick] .aa-mermi-ad em::after { content: " ›"; color: var(--ink3); }
html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-svg circle[onclick]:hover { stroke: var(--ink); stroke-width: 1.5; }

/* tablet: analizli pencere biraz geniş (grafik nefes alır) · geniş ekran: kayıt solda, analiz sağda (pencere kaydırmadan okunur) */
@media (min-width: 761px) {
  html.ds.ds-kos dialog#modal.tk-pencere:has(.tk-analiz .aa-kart) { max-width: 580px; }
}
@media (min-width: 900px) {
  html.ds.ds-kos dialog#modal.tk-pencere:has(.tk-analiz .aa-kart) { max-width: 900px; }
  html.ds.ds-kos dialog#modal.tk-pencere .m-body:has(> .tk-analiz .aa-kart) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 22px; align-items: start; max-height: min(76vh, 760px); }
  html.ds.ds-kos dialog#modal.tk-pencere .m-body:has(> .tk-analiz .aa-kart) > .tk-analiz { margin-top: 0; }
}
@media (max-width: 760px) {
  html.ds.ds-kos #modal.tk-pencere .tk-mans-saat b { font-size: 32px; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet:has(> div:nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet:has(> div:nth-child(3)) > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz { --aa-ad-s: minmax(84px, 112px); }
}
@media (pointer: coarse) {
  html.ds.ds-kos dialog#modal.tk-pencere .m-head .m-x::before { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  html.ds.ds-kos #modal.tk-pencere .tk-meta > div { min-height: 48px; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik { min-height: 44px; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-yigin-satir[onclick] { min-height: 44px; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-ozet > div.aa-tik { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ds.ds-kos #modal.tk-pencere .tk-durum.tk-d-simdi i { animation: none; }
  html.ds.ds-kos #modal.tk-pencere .tk-meta > div.aa-tik { transition: none; }
  html.ds.ds-kos #modal.tk-pencere .tk-og .tk-og-ad.aa-tik::before { transition: none; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .aa-devam-satir.aa-tik { transition: none; }
  html.ds.ds-kos #modal.tk-pencere .tk-analiz .tk-bag { transition: none; }
}

/* Etüt ekranı üst kartı: talimat paragrafı yerine üç adım çipi (kontrolün kendisi okunur) + tek satır güvence notu */
html.ds.ds-kos .ai .body .et-adimlar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 0 4px; vertical-align: middle; }
html.ds.ds-kos .ai .body .et-adim { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 12px 0 5px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
html.ds.ds-kos .ai .body .et-adim i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--gold) 72%, var(--ink)); background: color-mix(in srgb, var(--gold) 17%, transparent); }
html.ds.ds-kos .ai .body .et-adim-not { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink3); text-wrap: pretty; }
@media (max-width: 760px) {
  html.ds.ds-kos .ai .body .et-adimlar { display: flex; flex-direction: column; align-items: flex-start; margin: 8px 0 0; }
  html.ds.ds-kos .ai .body .et-adim { min-height: 30px; }
}
