/* Two Signage — tasarım değişkenleri v1 (brif 1.3 §14.8 adlarıyla)
   Varsayılan: koyu tema. Sistem "light" ise açık temaya geçer; <html data-theme="light|dark"> ile elle seçilir.
   Brifteki adlara ek olarak: --brand, --glow, --glow-strong, --preview-bg, --r-full dışı köşe yok. */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  /* Zemin ve metin */
  --bg: #07090D; --surface: #0F1218; --surface-2: #151A22; --overlay: rgba(7, 9, 13, 0.72);
  --fg: #E8EAED; --muted: #A7AEB9; --line: #232936; --line-strong: #2E3542;
  /* Vurgu */
  --brand: #E63946; --accent: #FF6B76; --accent-fg: #0A0C11; --accent-bg: #2A1216; --focus: #FF6B76;
  --glow: 0 0 24px rgba(255, 107, 118, 0.65); --glow-strong: 0 0 28px rgba(255, 107, 118, 0.75);
  /* Anlam */
  --ok: #3CCB7F; --ok-bg: #0D2419; --warn: #F0B429; --warn-bg: #2A2108;
  --bad: #F2553D; --bad-bg: #2A1210; --info: #6FA8FF; --info-bg: #0F1C33;
  --ok-fg: #7FE0AC; --warn-fg: #F0CF6A; --bad-fg: #FF9C8C; --info-fg: #9CC2FF;
  /* Editör */
  --editor-bg: #07090D; --editor-panel: #0F1218; --editor-line: #1A1F29; --ruler: #A7AEB9;
  --playhead: #FF6B76; --snap: #F0CF6A; --selection: #FF6B76; --preview-bg: #2A3038;
  /* İçerik türleri (çerçeve / gövde -bg / yazı -fg) */
  --type-image: #2F9BE6;   --type-image-bg: #0C2233;   --type-image-fg: #B5DCF7;
  --type-video: #4F5BD5;   --type-video-bg: #161A3A;   --type-video-fg: #C5CAF7;
  --type-overlay: #E5A50A; --type-overlay-bg: #2A2108; --type-overlay-fg: #F5DFA0;
  --type-feed: #2FA36B;    --type-feed-bg: #0D2419;    --type-feed-fg: #A8E6C6;
  --type-manual: #B5459B;  --type-manual-bg: #2A1226;  --type-manual-fg: #F0BFE2;
  --type-embed: #7A8699;   --type-embed-bg: #1C2026;   --type-embed-fg: #D5D8DD;
  /* Timeline harfi (A, B, C… dönüşümlü) */
  --tl-1: #FF6B76; --tl-2: #6FA8FF; --tl-3: #3CCB7F; --tl-4: #F0B429;
  --tl-5: #C77DDB; --tl-6: #4FD1C5; --tl-7: #F58F5A; --tl-8: #A7AEB9;
  /* Durum */
  --online: #3CCB7F; --offline: #F2553D; --error: #F2553D; --updating: #F0B429;
  /* Gölge */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.5); --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F8FA; --surface: #FFFFFF; --surface-2: #EEF0F3; --overlay: rgba(20, 23, 28, 0.48);
  --fg: #14171C; --muted: #4A505A; --line: #E3E6EA; --line-strong: #C9CDD4;
  --brand: #E63946; --accent: #C92A37; --accent-fg: #FFFFFF; --accent-bg: #FDECEE; --focus: #C92A37;
  --glow: none; --glow-strong: none;
  --ok: #1B8A4E; --ok-bg: #E3F4EA; --warn: #8A6200; --warn-bg: #FBF0D0;
  --bad: #B3261E; --bad-bg: #F6E3E1; --info: #2A6FD6; --info-bg: #E1ECFB;
  --ok-fg: #14572F; --warn-fg: #6B4A00; --bad-fg: #8F1D16; --info-fg: #1F57AB;
  --editor-bg: #EEF0F3; --editor-panel: #FFFFFF; --editor-line: #E3E6EA; --ruler: #4A505A;
  --playhead: #14171C; --snap: #8A6200; --selection: #C92A37; --preview-bg: #2A3038;
  --type-image: #2F9BE6;   --type-image-bg: #DCEEFB;   --type-image-fg: #0F3B5C;
  --type-video: #4F5BD5;   --type-video-bg: #E0E2F8;   --type-video-fg: #1E2466;
  --type-overlay: #C78A00; --type-overlay-bg: #FBEFC9; --type-overlay-fg: #4A3200;
  --type-feed: #2FA36B;    --type-feed-bg: #D9F0E4;    --type-feed-fg: #0F3F27;
  --type-manual: #B5459B;  --type-manual-bg: #F3DDEE;  --type-manual-fg: #4A1640;
  --type-embed: #7A8699;   --type-embed-bg: #EEF0F3;   --type-embed-fg: #2C3138;
  --tl-1: #C92A37; --tl-2: #2A6FD6; --tl-3: #1B8A4E; --tl-4: #8A6200;
  --tl-5: #8E3FA8; --tl-6: #0F7A72; --tl-7: #B5531C; --tl-8: #4A505A;
  --online: #1B8A4E; --offline: #B3261E; --error: #B3261E; --updating: #8A6200;
  --shadow-1: 0 1px 2px rgba(20, 23, 28, 0.08); --shadow-2: 0 8px 24px rgba(20, 23, 28, 0.12); --shadow-3: 0 16px 48px rgba(20, 23, 28, 0.18);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
  color-scheme: light;
  --bg: #F7F8FA; --surface: #FFFFFF; --surface-2: #EEF0F3; --overlay: rgba(20, 23, 28, 0.48);
  --fg: #14171C; --muted: #4A505A; --line: #E3E6EA; --line-strong: #C9CDD4;
  --brand: #E63946; --accent: #C92A37; --accent-fg: #FFFFFF; --accent-bg: #FDECEE; --focus: #C92A37;
  --glow: none; --glow-strong: none;
  --ok: #1B8A4E; --ok-bg: #E3F4EA; --warn: #8A6200; --warn-bg: #FBF0D0;
  --bad: #B3261E; --bad-bg: #F6E3E1; --info: #2A6FD6; --info-bg: #E1ECFB;
  --ok-fg: #14572F; --warn-fg: #6B4A00; --bad-fg: #8F1D16; --info-fg: #1F57AB;
  --editor-bg: #EEF0F3; --editor-panel: #FFFFFF; --editor-line: #E3E6EA; --ruler: #4A505A;
  --playhead: #14171C; --snap: #8A6200; --selection: #C92A37; --preview-bg: #2A3038;
  --type-image: #2F9BE6;   --type-image-bg: #DCEEFB;   --type-image-fg: #0F3B5C;
  --type-video: #4F5BD5;   --type-video-bg: #E0E2F8;   --type-video-fg: #1E2466;
  --type-overlay: #C78A00; --type-overlay-bg: #FBEFC9; --type-overlay-fg: #4A3200;
  --type-feed: #2FA36B;    --type-feed-bg: #D9F0E4;    --type-feed-fg: #0F3F27;
  --type-manual: #B5459B;  --type-manual-bg: #F3DDEE;  --type-manual-fg: #4A1640;
  --type-embed: #7A8699;   --type-embed-bg: #EEF0F3;   --type-embed-fg: #2C3138;
  --tl-1: #C92A37; --tl-2: #2A6FD6; --tl-3: #1B8A4E; --tl-4: #8A6200;
  --tl-5: #8E3FA8; --tl-6: #0F7A72; --tl-7: #B5531C; --tl-8: #4A505A;
  --online: #1B8A4E; --offline: #B3261E; --error: #B3261E; --updating: #8A6200;
  --shadow-1: 0 1px 2px rgba(20, 23, 28, 0.08); --shadow-2: 0 8px 24px rgba(20, 23, 28, 0.12); --shadow-3: 0 16px 48px rgba(20, 23, 28, 0.18);
}
}
:root {
  /* Yazı */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Boyut ölçeği */
  --fs-11: 11px; --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-24: 24px; --fs-32: 32px; --fs-48: 48px;
  /* Boşluk ölçeği */
  --sp-2: 2px; --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px; --sp-32: 32px; --sp-48: 48px; --sp-64: 64px;
  /* Köşe */
  --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-full: 999px;
  /* Hareket */
  --dur-fast: 150ms; --dur-base: 200ms; --dur-slow: 250ms; --ease: cubic-bezier(.2, .8, .2, 1);
  /* Katman sırası */
  --z-panel: 10; --z-menu: 100; --z-modal: 1000; --z-toast: 1100;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; } }
