/* moiterm ortak tasarım sistemi — koyu, derinlikli cam yüzeyler */
/* Yazı tipleri: Inter (arayüz) + JetBrains Mono (komut/yol/kod), ikisi de OFL-1.1 (/shared/fonts/OFL-*.txt).
   Yalnız kendi kökenimizden; değişken ağırlık (100-900). docs/tasarim/yeni-dil/v3-yazi.html */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg2: #0a0f20;
  --panel: rgba(16, 22, 42, 0.74);
  --panel-solid: #0f1428;
  --panel-2: rgba(24, 32, 62, 0.75);
  --line: rgba(148, 163, 230, 0.11);
  --line-2: rgba(148, 163, 230, 0.21);
  --text: #e8ebf7;
  --muted: #9ba5ca;
  --dim: #7a83a9; /* M0: koyu kipte dim/panel-2 ≥4.6:1 (önce 4.45) */
  --dock-hi: #151b35;
  --accent: #38bdf8;
  --accent-rgb: 56, 189, 248;
  --accent-2: #a78bfa;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --grad: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #c084fc 100%);
  --shadow: 0 1px 0 rgba(255,255,255,.035) inset, 0 12px 32px -16px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.35);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(120,140,220,.12);
  /* ---- M0 tasarım sistemi token'ları (docs/tasarim/m0-tasarim-sistemi/plan.md §3; Android theme.dart ile aynı sayılar) ---- */
  /* tip ölçeği (yazı düzeni 13 Kas, docs/tasarim/yeni-dil/v3-yazi.html): 12 yardımcı · 13 gövde · 14 vurgulu gövde/düğme ·
     16 kart başlığı · 20 bölüm/cümle · 24 sayfa başlığı; --fs-goster (28) YALNIZ büyük gösterge sayıları; ara değer yok.
     Kalınlık yalnız 400/600/700. Mono yalnız komut, yol, kod, terminal çıktısı, kopyalanan kimlik/anahtar (sayılar: .num) */
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-24: 24px; --fs-goster: 28px;
  --lh-12: 16px; --lh-13: 19px; --lh-14: 20px; --lh-16: 20px; --lh-20: 25px; --lh-24: 30px; /* gövde ~1.45, başlık 1.25 */ --lh-goster: 34px;
  --fs-page: var(--fs-24); --lh-page: var(--lh-24);
  /* aralık (4/8 ritmi) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  /* köşe: r-lg temadan gelir (8..16), diğerleri sabit; --r eski adıyla r-lg'yi izler */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-full: 999px;
  --r: var(--r-lg);
  /* hareket */
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 280ms; --ease: ease-out;
  /* katman 1 (kart): kenarlık + ince gölge */
  --elev-1: 0 1px 2px rgba(0,0,0,.28);
  /* metin rolleri: metin-1 = --text, metin-2 = --muted, metin-3 = --dim */
  --text-2: var(--muted); --text-3: var(--dim);
  --mono: "JetBrains Mono", "Cascadia Code", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 252px;
  --bottom-nav: 66px;
  --text-strong: #fff;
  --on-accent: #08101f; /* vurgu/gradyan düğme üstü yazı (modern görünüm skins.css'te kendi değerini verir) */
  --bar-bg: rgba(8,12,26,.82);
  --term-bg: #070b18;
  --input-bg: rgba(6, 9, 20, .6);
  --th-bg: #0e1530;
  --toast-bg: #141c3a;
  --side-bg: linear-gradient(180deg, rgba(14,20,42,.92), rgba(8,12,26,.92));
  --top-bg: rgba(8,12,26,.55);
  --tint: rgba(148, 163, 230, .07);
  --tint-2: rgba(148, 163, 230, .13);
}

/* ---------- Vurgu renkleri ---------- */
[data-accent="violet"] { --accent: #a78bfa; --accent-rgb: 167, 139, 250; --accent-2: #f472b6; --grad: linear-gradient(135deg, #a78bfa 0%, #c084fc 50%, #f472b6 100%); }
[data-accent="green"] { --accent: #34d399; --accent-rgb: 52, 211, 153; --accent-2: #38bdf8; --grad: linear-gradient(135deg, #34d399 0%, #2dd4bf 50%, #38bdf8 100%); }
[data-accent="amber"] { --accent: #fbbf24; --accent-rgb: 251, 191, 36; --accent-2: #fb923c; --grad: linear-gradient(135deg, #fbbf24 0%, #fb923c 55%, #f472b6 100%); }
[data-accent="pink"] { --accent: #f472b6; --accent-rgb: 244, 114, 182; --accent-2: #a78bfa; --grad: linear-gradient(135deg, #f472b6 0%, #e879f9 50%, #a78bfa 100%); }
[data-accent="blue"] { --accent: #60a5fa; --accent-rgb: 96, 165, 250; --accent-2: #818cf8; --grad: linear-gradient(135deg, #60a5fa 0%, #818cf8 60%, #a78bfa 100%); }

/* ---------- OLED (tam siyah) ---------- */
[data-theme="oled"] {
  --bg: #000; --bg2: #050505; --panel: #0a0a0c; --panel-solid: #0c0c10; --panel-2: #111116;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --term-bg: #000;
  --input-bg: #050507; --th-bg: #0c0c10; --toast-bg: #111116; --side-bg: #000; --top-bg: #000; --bar-bg: #000; --dock-hi: #101014;
}
[data-theme="oled"] body { background-image: none; }
[data-theme="oled"] #bg3d { display: none; }

/* ---------- Açık tema ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5fb; --bg2: #e9edf7; --panel: rgba(255,255,255,.9); --panel-solid: #ffffff; --panel-2: #f6f8fd;
  --line: rgba(30, 41, 90, .10); --line-2: rgba(30, 41, 90, .18);
  --text: #18203a; --text-strong: #0b1020; --muted: #4c5677; --dim: #626d93;
  --ok: #047857; --warn: #9a4a08; --bad: #dc2626;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 6px 18px -8px rgba(15,23,42,.14);
  --shadow-lg: 0 20px 50px -18px rgba(15,23,42,.28), 0 0 0 1px rgba(30,41,90,.08);
  --elev-1: 0 1px 2px rgba(15,23,42,.07);
  --input-bg: #fff; --th-bg: #f1f4fb; --toast-bg: #fff; --side-bg: #fbfcff; --top-bg: rgba(255,255,255,.85); --bar-bg: rgba(255,255,255,.92); --dock-hi: #ffffff;
  --tint: rgba(30, 41, 90, .05); --tint-2: rgba(30, 41, 90, .09);
}
[data-theme="light"][data-accent="cyan"] { --accent: #0273b0; --accent-rgb: 2, 115, 176; }
[data-theme="light"][data-accent="amber"] { --accent: #b45309; --accent-rgb: 180, 83, 9; }
[data-theme="light"][data-accent="green"] { --accent: #047857; --accent-rgb: 4, 120, 87; }
[data-theme="light"] body { background-image: radial-gradient(1200px 600px at 85% -10%, rgba(129,140,248,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(56,189,248,.08), transparent 60%); }
[data-theme="light"] #bg3d { opacity: .25; }
[data-theme="light"] .badge.ok { background: rgba(5,150,105,.12); color: #047857; }
[data-theme="light"] .badge.bad { background: rgba(220,38,38,.1); color: #b91c1c; }
[data-theme="light"] .badge.warn { background: rgba(217,119,6,.12); color: #92400e; }
[data-theme="light"] .badge.info { background: rgba(2,132,199,.1); color: #0369a1; }
[data-theme="light"] .badge.violet { background: rgba(124,58,237,.1); color: #6d28d9; }
[data-theme="light"] .btn.danger { color: #b91c1c; }
[data-theme="light"] .chip.on { color: var(--text-strong); }
[data-theme="light"] pre.out { background: #0f172a; color: #e2e8f0; }
[data-theme="light"] .h1 { color: #075985; } [data-theme="light"] .h2 { color: #3730a3; } [data-theme="light"] .h3 { color: #92400e; }
[data-theme="light"] .conn-banner.warn { background: #fffbeb; color: #92400e; }
[data-theme="light"] .conn-banner.bad { background: #fef2f2; color: #991b1b; }
[data-theme="light"] .term-banner.warn { background: #fffbeb; color: #92400e; }
[data-theme="light"] .drop-zone { background: rgba(243,245,251,.92); }
[data-theme="light"] .term-bcast { color: #92400e; }

/* ---------- Animasyonları azalt ---------- */
[data-motion="reduced"] *, [data-motion="reduced"] *::before, [data-motion="reduced"] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
[data-motion="reduced"] #bg3d { display: none; }
/* Sayfa geçişi (@view-transition) sözde öğeleri '*' ile eşleşmez: uygulama ayarı burada da geçerli olsun */
:root[data-motion="reduced"]::view-transition-group(*), :root[data-motion="reduced"]::view-transition-old(*), :root[data-motion="reduced"]::view-transition-new(*) { animation: none !important; }
[data-motion="reduced"] .spin { animation-duration: .8s !important; animation-iteration-count: infinite !important; }

/* ---------- Sıkı yoğunluk ---------- */
[data-density="compact"] { --r-lg: 10px; }
[data-density="compact"] .content { padding-top: 14px; }
[data-density="compact"] .card { padding: 12px; }
[data-density="compact"] .grid, [data-density="compact"] .kpis { gap: 10px; }
[data-density="compact"] table.t td { padding: 6px 10px; }
* { box-sizing: border-box; }
html, body { height: 100%; }
/* Aşağı çekince yenileme (pull-to-refresh) ve kenar sekmesi kapalı: yenileme terminal geçmişini baştan yazdırır */
html, body { overscroll-behavior: none; }
@supports (height: 100dvh) { html, body { height: 100dvh; } }
/* Terminal sayfası pencere yüksekliğini --app-h ile verir (tam ekran/kenarlıksız pencerede dvh geç güncellenebilir) */
@supports (height: 100dvh) { html, body { height: var(--app-h, 100dvh); } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-13)/1.45 var(--sans); /* gövde 13, satır 1.45 */
  -webkit-font-smoothing: antialiased; overflow: hidden;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(129,140,248,.14), transparent 60%),
                    radial-gradient(900px 500px at -10% 110%, rgba(var(--accent-rgb),.10), transparent 60%);
}
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
#app { position: relative; z-index: 1; height: 100%; }
a { color: var(--accent); text-decoration: none; }
code, .mono { font-family: var(--mono); font-size: inherit; }
/* Sayı, sayaç, yüzde, süre, rozet: mono DEĞİL, Inter + eşit genişlikte rakam (yazı düzeni kuralı 4) */
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
h1 { font-size: var(--fs-page); line-height: var(--lh-page); font-weight: 700; letter-spacing: -.2px; } h2, h3 { font-size: var(--fs-16); line-height: var(--lh-16); } h4 { font-size: var(--fs-14); }
::selection { background: rgba(var(--accent-rgb),.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(120,140,220,.25); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Yerleşim ---------- */
/* Satır yüksekliği ekranla sınırlı (minmax 0): aksi halde içerik ızgarayı uzatır ve .content hiç kaydırılamaz */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 100%; }
.sidebar {
  background: var(--side-bg);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 12px; gap: 4px;
  backdrop-filter: blur(14px); overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  font: 700 var(--fs-14) var(--mono); color: #0b1020; box-shadow: 0 8px 24px -6px rgba(129,140,248,.7);
  transform: perspective(200px) rotateX(10deg) rotateY(-12deg);
}
.brand b { font-size: var(--fs-16); letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: var(--fs-12); margin-top: -2px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; color: var(--muted);
  cursor: pointer; user-select: none; transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); font-weight: 400; font-size: var(--fs-14);
}
.nav-item:hover { background: rgba(120,140,220,.08); color: var(--text); }
.nav-item.active { background: linear-gradient(90deg, rgba(var(--accent-rgb),.16), rgba(129,140,248,.06)); color: var(--text-strong); box-shadow: inset 2px 0 0 var(--accent); }
.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-sep { height: 1px; background: var(--line); margin: 10px 8px; }
.nav-label { color: var(--dim); font-size: var(--fs-12); line-height: var(--lh-12); font-weight: 600; padding: 8px 12px 4px; }
.sidebar-foot { margin-top: auto; padding: 10px; border-top: 1px solid var(--line); font-size: var(--fs-13); color: var(--muted); }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.topbar {
  display: flex; align-items: center; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--line);
  background: var(--top-bg); backdrop-filter: blur(12px); min-height: 62px;
}
.topbar h1 { font-size: var(--fs-page); line-height: var(--lh-page); font-weight: 700; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar .sub { color: var(--muted); font-size: var(--fs-13); line-height: var(--lh-13); }
.content { flex: 1; overflow-y: auto; padding: 26px 28px 44px; }
.content.flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.spacer { flex: 1; }

.bottom-nav { display: none; }

/* ---------- Kartlar ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--elev-1);
  backdrop-filter: blur(10px); padding: var(--s4); position: relative;
}
.card.depth { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s; will-change: transform; }
.card.depth:hover { box-shadow: var(--shadow-lg); }
.card-h { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.card-h h3 { flex: 1; font-size: var(--fs-16); line-height: var(--lh-16); font-weight: 600; }
.card-h .hint { color: var(--muted); font-size: var(--fs-13); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span-all { grid-column: 1 / -1; }
/* position:relative eksikti: .stat::after'ın konum taban noktası en yakın konumlu atadan (genelde .card) alınıyor,
   bu yüzden parlama kartın sağ üst köşesinden dışarı taşıyordu (Hesap > Erişim kartı). */
.stat { position: relative; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.stat .k { color: var(--muted); font-size: var(--fs-12); line-height: var(--lh-12); font-weight: 400; }
.stat .v { font-size: var(--fs-20); line-height: var(--lh-20); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.stat .d { color: var(--dim); font-size: var(--fs-12); }
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(var(--accent-rgb),.25)), transparent 70%); pointer-events: none;
}
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 10px; }
.muted { color: var(--muted); } .dim { color: var(--dim); }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.small { font-size: var(--fs-13); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }

/* ---------- Form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px;
  border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(120,140,220,.08); color: var(--text);
  font: 600 var(--fs-14)/var(--lh-14) var(--sans); cursor: pointer; transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), filter var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); white-space: nowrap; /* yazı rengi geçişsiz: tema değişiminde 120 ms ara renk (açık kipte danger 4.04:1) okunmasın */ user-select: none;
}
.btn:hover { background: rgba(120,140,220,.16); border-color: rgba(120,140,220,.45); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--grad); border: 0; color: var(--on-accent); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); color: #fecaca; }
.btn.danger:hover { background: rgba(248,113,113,.22); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(120,140,220,.1); }
.btn.sm { height: 32px; padding: 0 12px; font-size: var(--fs-13); border-radius: var(--r-md); }
.btn.icon { width: 40px; padding: 0; }
.btn.sm.icon { width: 32px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.input, select.input, textarea.input {
  width: 100%; height: 42px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: var(--input-bg); color: var(--text); font: var(--fs-14) var(--sans); outline: none; transition: border .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 90px; padding: 10px 12px; font-family: var(--mono); font-size: var(--fs-13); resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18); }
.input.sm { height: 30px; font-size: var(--fs-13); border-radius: var(--r-md); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-13); color: var(--muted); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); font-size: var(--fs-14); }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.seg { display: inline-flex; background: var(--input-bg); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 5px 11px; border-radius: var(--r-sm); cursor: pointer; font: 400 var(--fs-13) var(--sans); }
.seg button.on { background: rgba(var(--accent-rgb),.18); color: var(--text-strong); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.35); }

/* ---------- Rozet / çip ---------- */
.badge { display: inline-flex; align-items: center; gap: var(--s1); min-height: 20px; padding: 0 8px; border-radius: var(--r-sm); font-size: var(--fs-12); line-height: var(--lh-12); font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(120,140,220,.14); color: var(--muted); white-space: nowrap; }
.badge.ok { background: rgba(52,211,153,.14); color: #6ee7b7; }
.badge.bad { background: rgba(248,113,113,.14); color: #fca5a5; }
.badge.warn { background: rgba(251,191,36,.14); color: #fcd34d; }
.badge.info { background: rgba(var(--accent-rgb),.14); color: #7dd3fc; }
.badge.violet { background: rgba(167,139,250,.16); color: #c4b5fd; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(52,211,153,.18), 0 0 10px var(--ok); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.chip { font-family: inherit; line-height: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--input-bg); color: var(--muted); font-size: var(--fs-13); cursor: pointer; user-select: none; transition: all var(--dur-1) var(--ease); }
.chip:hover { color: var(--text); }
.chip.on { background: rgba(var(--accent-rgb),.15); border-color: rgba(var(--accent-rgb),.5); color: #e0f2fe; }
.chip .sw { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- Tablo ---------- */
.table-wrap { overflow: auto; border-radius: var(--r-md); border: 1px solid var(--line); max-width: 100%; }
table.t { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
table.t th { position: sticky; top: 0; z-index: 1; background: var(--th-bg); text-align: left; font-weight: 600; color: var(--muted); font-size: var(--fs-12); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: default; user-select: none; }
table.t th.sort { cursor: pointer; }
table.t th.sort:hover { color: var(--text); }
table.t td { padding: 8px 12px; border-bottom: 1px solid rgba(120,140,220,.08); vertical-align: middle; }
table.t tr:hover td { background: rgba(120,140,220,.05); }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.bar-cell { position: relative; min-width: 70px; }
.bar-cell .b { position: absolute; left: 0; top: 50%; height: 4px; margin-top: 9px; border-radius: 4px; background: var(--grad); opacity: .8; }
.empty { padding: var(--s6) var(--s4); text-align: center; color: var(--muted); }
.empty svg { width: 32px; height: 32px; opacity: 1; color: var(--dim); margin-bottom: var(--s3); }
/* Ortak durum parçası (<nx-state>): boş / hata / yükleniyor tutarlı görünsün */
/* M0 boş durum: ikon 32 metin-3 · 12 · başlık t-title · 4 · açıklama t-small metin-2 · 16 · tek eylem; dikey dolgu 32 */
.empty.state { display: flex; flex-direction: column; align-items: center; gap: var(--s1); }
.empty.state svg { margin: 0 0 var(--s2); }
.empty.state .state-t { color: var(--text-strong, var(--text)); font-size: var(--fs-16); line-height: var(--lh-16); font-weight: 600; }
.empty.state .state-d { max-width: 440px; overflow-wrap: anywhere; font-size: var(--fs-13); line-height: var(--lh-13); color: var(--muted); }
.empty.state .state-a { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.empty.state .state-a:empty { display: none; }
.empty.state.error svg { color: var(--bad, #f87171); opacity: .85; }
.empty.state.compact { padding: var(--s4) var(--s3); }
.empty.state.compact svg { width: 20px; height: 20px; }
.state-sk { display: flex; flex-direction: column; gap: 14px; }
.state-sk.grid { display: grid; }

/* ---------- Modal / toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(3,5,12,.7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .15s; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: pop var(--dur-2) var(--ease); }
.modal.wide { width: min(900px, 100%); }
.modal-h { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 10px; }
.modal-h h2 { flex: 1; font-size: var(--fs-16); line-height: var(--lh-16); font-weight: 600; }
.modal-b { padding: 20px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 36px)); }
.toast { padding: 11px 14px; border-radius: var(--r-md); background: var(--toast-bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); font-size: var(--fs-13); line-height: var(--lh-13); animation: pop var(--dur-2) var(--ease); display: flex; gap: 10px; align-items: flex-start; }
.toast.ok { border-color: rgba(52,211,153,.45); }
.toast.bad { border-color: rgba(248,113,113,.5); }
.undo-bar { bottom: 74px; }
.undo-bar .toast { align-items: center; }
.undo-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast-act, .toast-x { min-height: 44px; min-width: 44px; margin: -11px 0; border: 0; background: none; color: var(--accent, #6aa8ff); font: inherit; font-weight: 700; cursor: pointer; border-radius: 10px; }
.toast-x { color: var(--muted); font-size: var(--fs-20); margin-right: -10px; }
.toast-act:focus-visible, .toast-x:focus-visible { outline: 2px solid var(--accent, #6aa8ff); outline-offset: -2px; }
.toast-act:disabled { opacity: .5; }

/* ---------- Giriş ekranı ---------- */
.auth-wrap { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px; overflow-x: hidden; overflow-y: auto; height: 100%; }
.auth-card { box-sizing: border-box; max-width: 100%; width: min(420px, 100%); padding: 32px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); transform: perspective(900px) rotateX(2deg); }
.auth-card .brand { justify-content: center; padding-bottom: 6px; }
.auth-card .brand-logo { width: 52px; height: 52px; font-size: var(--fs-20); border-radius: 15px; }
.otp { display: flex; gap: 8px; justify-content: center; }
.otp input { width: 46px; height: 56px; text-align: center; font: 700 var(--fs-24) var(--mono); border-radius: 12px; border: 1px solid var(--line-2); background: var(--input-bg); color: var(--text-strong); outline: none; }
.otp input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }

/* Giriş: markalı, sakin hareketli zemin (yalnız CSS; azaltılmış harekette statik) */
@keyframes lg-drift { 0% { transform: translate3d(-6%, -4%, 0) scale(1); } 50% { transform: translate3d(6%, 5%, 0) scale(1.12); } 100% { transform: translate3d(-6%, -4%, 0) scale(1); } }
@keyframes lg-grid { to { background-position: 0 56px, 56px 0; } }
@keyframes lg-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .35), 0 10px 30px -8px rgba(var(--accent-rgb), .55); } 50% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0), 0 10px 38px -6px rgba(var(--accent-rgb), .8); } }
.auth-wrap { position: relative; isolation: isolate; }
.auth-wrap::before { content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background: radial-gradient(38% 34% at 22% 26%, rgba(var(--accent-rgb), .30), transparent 70%), radial-gradient(34% 32% at 78% 70%, rgba(167, 139, 250, .26), transparent 70%), radial-gradient(26% 26% at 70% 18%, rgba(244, 114, 182, .14), transparent 70%);
  animation: lg-drift 24s ease-in-out infinite; will-change: transform; }
.auth-wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(148, 163, 230, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 230, .09) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); animation: lg-grid 14s linear infinite; }
.auth-card .brand-logo { animation: lg-glow 4.5s ease-in-out infinite; }
.auth-card { border-top: 1px solid rgba(var(--accent-rgb), .45); }
[data-theme="light"] .auth-wrap::after { background-image: linear-gradient(rgba(60, 80, 140, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 80, 140, .10) 1px, transparent 1px); }
@media (prefers-reduced-motion: reduce) { .auth-wrap::before, .auth-wrap::after, .auth-card .brand-logo { animation: none !important; } }

/* ---------- Gösterge halkaları ---------- */
.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
/* M0 iskelet: yüzey-2 blok, r-sm; parıltı tek tur (en çok ~1,5 sn), sonra durur */
.skeleton { background: linear-gradient(90deg, rgba(120,140,220,.06), rgba(120,140,220,.14), rgba(120,140,220,.06)); background-size: 200% 100%; animation: sk 1.4s var(--ease) 1; border-radius: var(--r-sm); }
@keyframes sk { to { background-position: -200% 0; } }
.progress { height: 6px; border-radius: 6px; background: rgba(120,140,220,.14); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width .5s; }
.progress.warn > i { background: linear-gradient(90deg, #fbbf24, #f97316); }
.progress.bad > i { background: linear-gradient(90deg, #f87171, #ef4444); }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .topbar { padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); min-height: 54px; }
  .content { padding: 14px 14px calc(var(--bottom-nav) + 24px + env(safe-area-inset-bottom)); }
  .content.flush { padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .g4.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span2, .span3 { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: var(--s4); }
  .hide-m { display: none !important; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); background: var(--panel-solid); border-top: 1px solid var(--line);
  }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: var(--fs-12); line-height: var(--lh-12); font-weight: 600; }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--accent); }
  .bottom-nav a.active svg { filter: drop-shadow(0 0 8px rgba(var(--accent-rgb),.7)); }
  .modal-bg { align-items: end; padding: 0; }
  .modal { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom); }
  .toasts { bottom: calc(var(--bottom-nav) + 14px); right: 12px; left: 12px; max-width: none; }
  .undo-bar { bottom: calc(var(--bottom-nav) + 70px); }
}
@media (min-width: 821px) { .show-m { display: none !important; } }
/* Mobil akıcılık: arka plan bulanıklığı (backdrop-filter) telefonlarda her kaydırmada pahalıdır */
@media (max-width: 820px), (hover: none) {
  .card, .sidebar, .topbar, .bottom-nav, .modal-bg, .auth-card, .term-tabs { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .card { background: var(--panel-solid); }
  .topbar, .bottom-nav { background: var(--panel-solid); }
  .modal-bg { background: rgba(3,5,12,.82); }
  .card.depth { transform: none !important; will-change: auto; }
}
.content { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } #bg3d { display: none; } }

/* ---------- Ortak ek bileşenler ---------- */
.center { text-align: center; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 820px) {
  /* Taşan sekmeler: kenarlar solar, böylece yana kaydırılabildiği anlaşılır */
  .tabs { overscroll-behavior-x: contain; scroll-padding: 0 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); }
}
.tabs button { background: none; border: 0; color: var(--muted); padding: 10px 14px; font: 400 var(--fs-14) var(--sans); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text-strong); border-bottom-color: var(--accent); }
table.kv { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
table.kv td { padding: 6px 0; border-bottom: 1px solid rgba(120,140,220,.08); vertical-align: top; }
table.kv td:first-child { color: var(--muted); width: 42%; padding-right: 10px; }
pre.out { background: #070b18; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font: var(--fs-13)/1.5 var(--mono); max-height: 60vh; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 0; }
.swatch { border: 0; padding: 0; width: 26px; height: 26px; border-radius: 8px; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); transition: transform .15s; display: inline-block; }
.swatch.sm { width: 18px; height: 18px; border-radius: 6px; }
.swatch.on { transform: scale(1.15); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff; }
.filters { display: flex; flex-direction: column; gap: 10px; }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flabel { display: inline-flex; align-items: center; gap: 6px; width: 84px; color: var(--muted); font-size: var(--fs-12); font-weight: 600; }
@media (max-width: 820px) { .flabel { width: 100%; } }
.meter { display: grid; grid-template-columns: 38px 1fr 40px; align-items: center; gap: 8px; font-size: var(--fs-13); margin: 5px 0; color: var(--muted); }
.meter b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.srv-card { border-top: 2px solid var(--c, var(--accent)); }
.srv-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 120px at 0 0, color-mix(in srgb, var(--c, #38bdf8) 14%, transparent), transparent 70%); pointer-events: none; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.more-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px; border-radius: var(--r-lg); background: rgba(120,140,220,.07); color: var(--text); font-size: var(--fs-13); font-weight: 600; }

/* Klavye odağı: 9 temada da görünen çift halka (açık/koyu zemin üstünde okunur) */
:where(a, button, [role="button"], [tabindex], summary, select, input, textarea):not(.tin-box, .xterm-helper-textarea, .input, .term-el *):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--bg); }
.chip:focus-visible, .seg button:focus-visible, .swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--bg); }
table.t th.sort:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; color: var(--text); }
.wt-cmd:focus-visible, pre.mono[role=button]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================================================================ M0 tasarım sistemi: ortak bileşenler
   (docs/tasarim/m0-tasarim-sistemi/plan.md §4). Ekran düzenleri M1-M8'de bunlara geçer; burada yalnız görünüm. */
/* t-page: telefonda (<600) 20, genişte 24 */
@media (max-width: 599px) { :root { --fs-page: var(--fs-20); --lh-page: var(--lh-20); } }
@media (prefers-reduced-motion: reduce) { :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; } }
:root[data-motion="reduced"] { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; }

/* Bölüm başlığı: t-small 600 metin-2, cümle harfi, 32 yükseklik; sağda hayalet "Tümü" (44 dokunma) */
.sec-h { display: flex; align-items: center; gap: var(--s2); min-height: 32px; margin: 0 0 var(--s2); font-size: var(--fs-13); line-height: var(--lh-13); font-weight: 600; color: var(--muted); }
.sec-h > :first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; color: inherit; margin: 0; }
.sec-h .sec-a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2); margin: -6px calc(-1 * var(--s2)) -6px 0; border: 0; background: none; color: var(--accent); font: 600 var(--fs-13)/var(--lh-13) var(--sans); cursor: pointer; border-radius: var(--r-md); }

/* Liste satırı + satır grubu: [ikon 32] 12 [birincil t-body 500 / ikincil t-small metin-2] 12 [sağ öğe]; 56 (tek satır 48) */
.lgroup { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lrow { position: relative; display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 56px; padding: var(--s2) var(--s4); border: 0; background: transparent; color: var(--text); font: inherit; text-align: left; text-decoration: none; transition: background-color var(--dur-1) var(--ease); }
.lrow.one { min-height: 48px; }
.lgroup > .lrow + .lrow::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; height: 1px; background: var(--line); }
a.lrow, button.lrow, .lrow[role="button"] { cursor: pointer; }
@media (hover: hover) { a.lrow:hover, button.lrow:hover, .lrow[role="button"]:hover { background: var(--tint); } }
a.lrow:active, button.lrow:active, .lrow[role="button"]:active, .lrow.pressed { background: var(--panel-2); }
.lrow.sel { box-shadow: inset 2px 0 0 var(--accent); }
.lrow.off, .lrow:disabled { opacity: .5; pointer-events: none; }
.lrow-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: rgba(var(--accent-rgb), .12); color: var(--accent); }
.lrow-ic svg { width: 20px; height: 20px; }
.lrow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lrow-1 { font-size: var(--fs-14); line-height: var(--lh-14); font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-2 { font-size: var(--fs-13); line-height: var(--lh-13); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-r { flex: none; display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-13); color: var(--muted); font-variant-numeric: tabular-nums; }
.lrow-chev { flex: none; width: 16px; height: 16px; color: var(--dim); }

/* Metrik şeridi: tek satır, 36 yükseklik; sığmayan öğeler (sondan) alt satıra kırılıp gizlenir: kaydırma/taşma yok */
.mstrip { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; height: 36px; overflow: hidden; padding: 0 var(--s4); column-gap: var(--s2); white-space: nowrap; }
.mstrip > .m { display: inline-flex; align-items: baseline; gap: var(--s1); flex: none; line-height: 36px; }
.mstrip > .m + .m::before { content: "·"; color: var(--dim); margin-right: var(--s2); }
.mstrip .k { font-size: var(--fs-12); color: var(--muted); font-weight: 400; }
.mstrip .v { font-size: var(--fs-14); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.mstrip .v.warn { color: var(--warn); } .mstrip .v.bad { color: var(--bad); }

/* Hata şeridi: tek satır ≥44, zemin bad %10, kenarlık bad %35, simge 16, ileti t-small; eski veri: warn tonu */
.err-strip { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 10%, transparent); color: var(--text); font-size: var(--fs-13); line-height: var(--lh-13); }
.err-strip > svg { flex: none; width: 16px; height: 16px; color: var(--bad); }
.err-strip > .t { flex: 1; min-width: 0; padding: var(--s3) 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* M0 denetçi notu d: tek satır (tam metin title) */
.err-strip > .btn { flex: none; min-height: 44px; }
.err-strip.stale { border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.err-strip.stale > svg { color: var(--warn); }

/* Dikkat satırı: liste satırı + durum renginde simge, zemin %8, kenarlık %35, birincil 600 */
.lrow.attn-line { border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); border-radius: var(--r-md); }
.lrow.attn-line.bad { border-color: color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.lrow.attn-line .lrow-ic { background: transparent; color: var(--warn); }
.lrow.attn-line.bad .lrow-ic { color: var(--bad); }
.lrow.attn-line .lrow-1 { font-weight: 600; }
.lrow.attn-line + .lrow.attn-line { margin-top: var(--s2); }

/* M0 denetçi notları (M2'de uygulandı): (a) grafit-açık iskelet bloğu çizgi tonunda (blok↔zemin ≥1.3:1); (b) rozet simgesi 16;
   (c) bölüm dikey ritmi üst 24 / alt 8 (ilk bölüm üst 16) → .sec; (d) hata şeridi 12×16, ileti tek satır (yukarıda) */
[data-skin="grafit"][data-theme="light"] .skeleton { background: var(--line-2); animation: none; }
.badge svg { width: 16px; height: 16px; flex: none; }
.sec { margin-top: var(--s5); } .sec:first-child { margin-top: var(--s4); } .sec > .sec-h { margin-bottom: var(--s2); }
