/* ============================================================
   SANTRAL PANELİ — Tasarım Token Sistemi
   ------------------------------------------------------------
   Konsept: Fiziksel bir PBX patch panelinin dijital yansıması.
   Koyu, teknik bir kontrol odası hissi; durum LED'leri, monospace
   dijital gösterge tipografisi, disiplinli veri yoğunluğu.
   ============================================================ */

:root {
  /* Zemin */
  --bg-base: #12151a;
  --bg-panel: #191d24;
  --bg-elevated: #232830;
  --border-subtle: #2a3038;
  --border-strong: #3a4149;

  /* Metin */
  --text-primary: #e7eaee;
  --text-muted: #7c8494;
  --text-faint: #4d5460;

  /* Sinyal / vurgu (arayüz aksiyonları) */
  --accent: #4fa8e0;
  --accent-hover: #6bb8e8;
  --accent-dim: #24425a;

  /* Durum LED'leri (yalnızca fonksiyonel anlam için) */
  --status-ok: #3ddc84;
  --status-warn: #e8a33d;
  --status-error: #e2554f;

  /* Tipografi */
  --font-display: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img,
svg,
video,
audio {
  max-width: 100%;
}

[hidden] { display: none !important; }

.session-bootstrap {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  min-width: 320px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(79, 168, 224, 0.08), transparent 32%),
    var(--bg-base);
}

.session-bootstrap-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--text-primary);
}

.session-bootstrap-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 20px var(--font-display);
  letter-spacing: -0.02em;
}

.session-bootstrap-brand .brand-mark {
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(79, 168, 224, 0.28));
}

.session-bootstrap-progress {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 11px;
}

.session-bootstrap-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(79, 168, 224, 0.22);
  border-top-color: var(--accent-hover);
  border-radius: 50%;
  animation: loading-spin 0.75s linear infinite;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 400px);
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.login-brand { color: var(--accent); font-family: var(--font-display); font-weight: 700; }
.login-card h1 { margin: 18px 0 5px; font: 700 22px var(--font-display); }
.login-card > p { margin: 0 0 22px; color: var(--text-muted); }
.login-card .form-field { margin-bottom: 14px; }
.login-card input { width: 100%; }
.login-submit { width: 100%; justify-content: center; margin-top: 4px; }
.login-error { min-height: 20px; color: var(--status-error); font-size: 12px; margin-bottom: 6px; }

.instance-info { padding: 0 8px 10px; display: flex; flex-direction: column; }
.instance-name { font-size: 12px; color: var(--text-primary); }
.instance-did { font: 11px var(--font-mono); color: var(--accent); }
.logout-button { width: 100%; margin-top: 8px; padding: 7px; background: transparent; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 12px; }
.logout-button:hover { color: var(--status-error); border-color: var(--status-error); }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   Kabuk düzeni
   ------------------------------------------------------------ */

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.sidebar.mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sidebar.mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.sidebar.mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand-mark {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-icon {
  width: 18px;
  text-align: center;
  color: var(--text-faint);
}

.nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent-hover);
}

.nav-item.active .nav-icon {
  color: var(--accent);
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.status-dot.ok {
  background: var(--status-ok);
  box-shadow: 0 0 6px var(--status-ok);
}

.status-dot.error {
  background: var(--status-error);
  box-shadow: 0 0 6px var(--status-error);
}

.main-shell {
  min-width: 0;
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 40px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 21, 26, 0.94);
  backdrop-filter: blur(12px);
}

.topbar-context { min-width: 0; display: flex; flex-direction: column; }
.topbar-context strong { overflow: hidden; font: 600 14px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.topbar-eyebrow { color: var(--text-faint); font: 600 9px var(--font-mono); letter-spacing: 0.11em; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.profile-button,
.topbar-logout {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--text-primary);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.profile-button { max-width: 260px; gap: 9px; padding: 5px 11px 5px 7px; text-align: left; }
.profile-button:hover,
.topbar-logout:hover { border-color: var(--accent); background: var(--bg-elevated); }

.profile-avatar,
.profile-modal-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(79, 168, 224, 0.35);
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-hover);
  font-family: var(--font-mono);
}

.profile-avatar { width: 30px; height: 30px; }
.profile-copy { min-width: 0; display: flex; flex-direction: column; }
.profile-copy strong,
.profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy strong { font-size: 11px; }
.profile-copy small { color: var(--accent); font: 9px var(--font-mono); }
.topbar-logout { gap: 6px; padding: 0 13px; color: var(--text-muted); font-size: 12px; }
.topbar-logout:hover { border-color: rgba(226, 85, 79, 0.55); color: var(--status-error); }

.content {
  position: relative;
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 32px 40px;
  max-width: none;
}

.content > * {
  transition: opacity 0.18s ease;
}

.content.is-page-loading {
  min-height: calc(100vh - 124px);
}

.content.is-page-loading > * {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.content.is-page-loading::before,
.content.is-page-loading::after {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
}

.content.is-page-loading::before {
  content: '';
  top: clamp(110px, 28vh, 230px);
  left: calc(50% - 11px);
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: loading-spin 0.75s linear infinite;
}

.content.is-page-loading::after {
  content: attr(data-loading-label);
  top: calc(clamp(110px, 28vh, 230px) + 34px);
  left: 0;
  width: 100%;
  color: var(--text-muted);
  font: 500 12px var(--font-body);
  letter-spacing: 0.01em;
  text-align: center;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 40px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-faint);
  font-size: 10px;
}

.app-footer > div:first-child { display: flex; flex-direction: column; }
.app-footer strong { color: var(--text-muted); font-weight: 500; }
.app-footer .connection-status { padding: 0; font-size: 10px; }

.profile-modal-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}

.profile-modal-avatar { width: 48px; height: 48px; font-size: 20px; }
.profile-modal-identity > div { min-width: 0; display: flex; flex-direction: column; }
.profile-modal-identity strong { font: 700 17px var(--font-display); }
.profile-modal-identity span { color: var(--accent); font: 11px var(--font-mono); }
.profile-detail-list { margin: 14px 0 0; }
.profile-detail-list > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 9px 2px; border-bottom: 1px solid var(--border-subtle); }
.profile-detail-list dt { color: var(--text-faint); font-size: 11px; }
.profile-detail-list dd { margin: 0; color: var(--text-muted); font-size: 12px; text-align: right; }

/* ------------------------------------------------------------
   Genel tipografi bileşenleri
   ------------------------------------------------------------ */

.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.view-header > div,
.form-field,
.call-settings-section,
.inbound-route-layout > *,
.integration-card {
  min-width: 0;
}

.view-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.view-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.view-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.btn:hover {
  border-color: var(--accent);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.6;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1620;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-danger {
  color: var(--status-error);
  border-color: var(--border-strong);
}

.btn-danger:hover {
  border-color: var(--status-error);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

/* ------------------------------------------------------------
   Panel / kart yüzeyleri
   ------------------------------------------------------------ */

.panel {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

.stat-value.is-loading {
  min-height: 45px;
  display: flex;
  align-items: center;
}

.stat-value.is-loading .loading-spinner {
  width: 1em;
  height: 1em;
}

.stat-value.is-error {
  color: var(--status-error);
}

.dashboard-call-stat {
  position: relative;
  overflow: hidden;
}

.dashboard-call-stat::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}

.dashboard-call-stat.incoming::before {
  background: var(--status-ok);
}

.dashboard-call-stat.outgoing::before {
  background: var(--accent);
}

.dashboard-call-stat.duration::before {
  background: var(--status-warn);
}

.dashboard-duration {
  font-size: clamp(21px, 2vw, 30px);
}

/* Genel Bakış / dashboard */
.dashboard-header {
  align-items: center;
}

.dashboard-header-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-range-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.dashboard-range-preset {
  width: 154px;
  display: grid;
  gap: 4px;
}

.dashboard-range-preset > label,
.dashboard-custom-range label > span {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-range-preset > .choices,
.dashboard-range-preset > select {
  width: 154px;
  margin: 0;
}

.dashboard-range-preset .choices__inner {
  min-height: 38px;
}

.dashboard-custom-range {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.dashboard-custom-range label {
  width: 138px;
  display: grid;
  gap: 4px;
}

.dashboard-custom-range input {
  width: 100%;
  min-height: 38px;
}

.dashboard-range-form .btn,
.dashboard-header-actions > .btn {
  min-height: 38px;
  white-space: nowrap;
}

.dashboard-export-actions {
  display: flex;
  gap: 6px;
}

.dashboard-export-actions .btn-compact {
  min-height: 38px;
  padding-right: 10px;
  padding-left: 10px;
  white-space: nowrap;
}

.report-export-actions {
  flex-wrap: wrap;
}

.dashboard-instance-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--accent);
  font: 600 10px var(--font-mono);
  letter-spacing: 0.1em;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-kpi-card {
  position: relative;
  min-width: 0;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  padding: 17px 18px 15px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(35, 40, 48, 0.86), var(--bg-panel));
}

.dashboard-kpi-card::after {
  content: '';
  position: absolute;
  right: -32px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 168, 224, 0.11), transparent 68%);
  pointer-events: none;
}

.dashboard-kpi-card.calls { border-top: 2px solid var(--accent); }
.dashboard-kpi-card.talk { border-top: 2px solid var(--status-warn); }
.dashboard-kpi-card.answer { border-top: 2px solid var(--status-ok); }
.dashboard-kpi-card.month-talk { border-top: 2px solid #9b83e6; }

.dashboard-kpi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.dashboard-kpi-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent-hover);
  font: 600 13px var(--font-mono);
}

.dashboard-kpi-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 47px;
  margin-top: 12px;
  color: var(--text-primary);
  font: 600 clamp(24px, 2.5vw, 34px) var(--font-mono);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dashboard-kpi-value.is-loading .loading-spinner {
  width: 1em;
  height: 1em;
}

.dashboard-kpi-detail {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 11px;
}

.dashboard-kpi-detail .incoming { color: var(--status-ok); }
.dashboard-kpi-detail .outgoing { color: var(--accent-hover); }
.dashboard-kpi-detail b,
.dashboard-kpi-foot b { color: var(--text-primary); font-family: var(--font-mono); }

.dashboard-kpi-foot {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 11px;
}

.dashboard-mini-spinner {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -1px;
}

.dashboard-comparison-panel {
  margin-bottom: 16px;
}

.dashboard-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-comparison-grid.is-loading {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-muted);
  font-size: 11px;
}

.dashboard-comparison-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.dashboard-comparison-card > div {
  display: grid;
  gap: 3px;
}

.dashboard-comparison-card > div span {
  color: var(--text-muted);
  font-size: 10px;
}

.dashboard-comparison-card > div strong {
  font: 600 18px var(--font-mono);
}

.dashboard-comparison-card > small {
  grid-column: 1 / -1;
  color: var(--text-faint);
  font-size: 9.5px;
}

.dashboard-comparison-card > small b {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.dashboard-comparison-trend {
  min-width: 66px;
  padding: 5px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font: 600 11px var(--font-mono);
  text-align: center;
}

.dashboard-comparison-trend.up {
  border-color: rgba(61, 220, 132, 0.28);
  background: rgba(61, 220, 132, 0.07);
  color: var(--status-ok);
}

.dashboard-comparison-trend.down {
  border-color: rgba(226, 85, 79, 0.3);
  background: rgba(226, 85, 79, 0.07);
  color: var(--status-error);
}

.dashboard-performance-panel {
  margin-bottom: 16px;
  overflow: hidden;
}

.dashboard-performance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-performance-grid.dashboard-panel-loading {
  min-height: 108px;
}

.dashboard-performance-metric {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.dashboard-performance-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79, 168, 224, 0.26);
  border-radius: 50%;
  background: rgba(79, 168, 224, 0.08);
  color: var(--accent);
  font-size: 16px;
}

.dashboard-performance-metric > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-performance-metric span:not(.dashboard-performance-icon) { color: var(--text-muted); font-size: 10px; }
.dashboard-performance-metric strong { font: 600 18px var(--font-mono); }
.dashboard-performance-metric small { color: var(--text-faint); font-size: 9px; line-height: 1.35; }

.dashboard-performance-note {
  margin: 9px 0 0;
  color: var(--text-faint);
  font-size: 9.5px;
  line-height: 1.5;
}

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(350px, 0.9fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.dashboard-side-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-chart-panel,
.dashboard-direction-panel,
.dashboard-insights-panel,
.dashboard-extensions-panel,
.dashboard-resources-panel {
  overflow: hidden;
}

.dashboard-panel-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.dashboard-panel-heading h2 {
  margin: 3px 0 0;
  font: 600 16px var(--font-display);
}

.dashboard-panel-heading > a {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
}

.dashboard-panel-kicker {
  color: var(--text-faint);
  font: 600 10px var(--font-mono);
  letter-spacing: 0.11em;
}

.dashboard-period {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-base);
  color: var(--text-muted);
  font-size: 12px;
}

.dashboard-panel-loading {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-faint);
  font-size: 11px;
}

.dashboard-panel-loading.compact { min-height: 155px; }

.dashboard-chart-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dashboard-talk-chart {
  width: 100%;
  min-width: 620px;
  height: clamp(300px, 21vw, 340px);
  display: block;
}

.dashboard-chart-grid line { stroke: var(--border-subtle); stroke-width: 1; }
.dashboard-chart-grid text,
.dashboard-chart-labels text { fill: var(--text-muted); font: 12px var(--font-mono); }
.dashboard-chart-area { fill: url(#dashboardTalkGradient); }
.dashboard-chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-chart-hit {
  fill: transparent;
  stroke: transparent;
  cursor: pointer;
  outline: none;
}

.dashboard-chart-point {
  fill: var(--bg-panel);
  stroke: var(--accent-hover);
  stroke-width: 2;
  pointer-events: none;
  transition: r 0.12s ease, fill 0.12s ease;
}

.dashboard-chart-hit:hover + .dashboard-chart-point,
.dashboard-chart-hit:focus + .dashboard-chart-point {
  r: 7;
  fill: var(--accent);
}

.dashboard-chart-tooltip {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.dashboard-chart-tooltip.is-visible {
  visibility: visible;
  opacity: 1;
}

.dashboard-chart-tooltip rect {
  fill: #101419;
  stroke: var(--border-strong);
  stroke-width: 1;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.34));
}

.dashboard-chart-tooltip text {
  fill: var(--text-primary);
  font: 600 12px var(--font-body);
}

.dashboard-chart-tooltip text:last-child {
  fill: var(--text-muted);
  font: 11px var(--font-mono);
}

.dashboard-chart-empty {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.dashboard-chart-empty > span { color: var(--accent); font-size: 38px; }
.dashboard-chart-empty strong { margin-top: 7px; font-size: 16px; }
.dashboard-chart-empty p { max-width: 430px; margin: 7px 0 0; color: var(--text-muted); font-size: 13px; }

.dashboard-chart-footer {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 11px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 10.5px;
}

.dashboard-chart-panel > .dashboard-panel-loading {
  min-height: 310px;
}

.dashboard-chart-footer > span:first-child { display: flex; align-items: center; gap: 6px; }
.dashboard-chart-footer i { width: 14px; height: 2px; display: inline-block; background: var(--accent); }
.dashboard-chart-footer strong { color: var(--text-primary); font-family: var(--font-mono); }
.dashboard-data-warning { color: var(--status-warn); }

.dashboard-heatmap-panel {
  margin-bottom: 16px;
}

.dashboard-heatmap-panel > .dashboard-panel-loading {
  min-height: 220px;
}

#dashboardHeatmap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.dashboard-heatmap-scroll {
  min-width: 720px;
  overflow: hidden;
}

.dashboard-heatmap-hours,
.dashboard-heatmap-day {
  display: grid;
  grid-template-columns: 64px minmax(600px, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.dashboard-heatmap-hours {
  margin-bottom: 6px;
  color: var(--text-faint);
  font: 8px var(--font-mono);
}

.dashboard-heatmap-hours > div,
.dashboard-heatmap-cells {
  display: grid;
  grid-template-columns: repeat(24, minmax(20px, 1fr));
  gap: 3px;
}

.dashboard-heatmap-hours > div span {
  overflow: visible;
  white-space: nowrap;
}

.dashboard-heatmap-hours > small {
  font-size: inherit;
  text-align: right;
}

.dashboard-heatmap-day + .dashboard-heatmap-day {
  margin-top: 4px;
}

.dashboard-heatmap-day > strong {
  overflow: hidden;
  color: var(--text-muted);
  font: 10px var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-heatmap-day > small {
  color: var(--text-muted);
  font: 10px var(--font-mono);
  text-align: right;
}

.dashboard-heatmap-cell {
  min-width: 20px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79, 168, 224, 0.06);
  border-radius: 3px;
  color: var(--text-primary);
  font: 8px var(--font-mono);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.dashboard-heatmap-cell.has-calls:hover,
.dashboard-heatmap-cell.has-calls:focus {
  z-index: 1;
  border-color: var(--accent-hover);
  transform: scale(1.12);
  outline: none;
}

.dashboard-heatmap-cell b {
  font-weight: 500;
}

.dashboard-heatmap-tooltip {
  position: fixed;
  z-index: 1600;
  max-width: min(280px, calc(100vw - 16px));
  padding: 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #101419;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.36);
  color: var(--text-primary);
  font: 600 11px var(--font-mono);
  line-height: 1.4;
  pointer-events: none;
  white-space: nowrap;
}

.dashboard-heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 9px;
}

.dashboard-heatmap-legend i {
  width: 18px;
  height: 8px;
  border-radius: 2px;
  background: rgba(79, 168, 224, 0.12);
}

.dashboard-heatmap-legend i:nth-of-type(2) { background: rgba(79, 168, 224, 0.28); }
.dashboard-heatmap-legend i:nth-of-type(3) { background: rgba(79, 168, 224, 0.44); }
.dashboard-heatmap-legend i:nth-of-type(4) { background: rgba(79, 168, 224, 0.62); }
.dashboard-heatmap-legend i:nth-of-type(5) { background: rgba(79, 168, 224, 0.86); }

.dashboard-direction-wrap {
  min-height: 160px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.dashboard-donut {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.dashboard-donut > div {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  background: var(--bg-panel);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.dashboard-donut strong { font: 600 24px var(--font-mono); }
.dashboard-donut span { color: var(--text-muted); font-size: 9px; text-transform: uppercase; }

.dashboard-direction-legend { display: grid; gap: 8px; }
.dashboard-direction-legend > div { display: grid; grid-template-columns: 8px 1fr auto auto; gap: 7px; align-items: center; font-size: 10.5px; }
.dashboard-direction-legend i { width: 7px; height: 7px; border-radius: 50%; }
.dashboard-direction-legend i.incoming { background: var(--status-ok); }
.dashboard-direction-legend i.outgoing { background: var(--accent); }
.dashboard-direction-legend i.internal { background: var(--status-warn); }
.dashboard-direction-legend span { color: var(--text-muted); }
.dashboard-direction-legend strong { font-family: var(--font-mono); }
.dashboard-direction-legend small { min-width: 29px; color: var(--text-faint); font: 9px var(--font-mono); text-align: right; }

.dashboard-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-insight-grid > div {
  min-width: 0;
  min-height: 58px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.dashboard-insight-grid strong { font: 600 12px var(--font-mono); overflow-wrap: anywhere; }
.dashboard-insight-grid span { margin-top: 3px; color: var(--text-muted); font-size: 9.5px; line-height: 1.35; }
.dashboard-recording-state { color: var(--status-error); }
.dashboard-recording-state.active { color: var(--status-ok); }

.dashboard-operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-callers-panel,
.dashboard-live-panel {
  min-width: 0;
  overflow: hidden;
}

.dashboard-caller-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 90px 112px;
  gap: 9px;
  align-items: center;
  padding: 9px 6px;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
}

.dashboard-caller-row:last-child { border-bottom: 0; }
.dashboard-caller-row:hover { background: rgba(79, 168, 224, 0.045); }
.dashboard-caller-rank { color: var(--text-faint); font: 10px var(--font-mono); text-align: center; }
.dashboard-caller-identity,
.dashboard-caller-count,
.dashboard-caller-talk { min-width: 0; display: grid; gap: 2px; }
.dashboard-caller-identity strong { overflow: hidden; font: 500 11.5px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-caller-identity small { overflow: hidden; color: var(--text-faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-caller-count,
.dashboard-caller-talk { justify-items: end; }
.dashboard-caller-count strong,
.dashboard-caller-talk strong { font: 600 11.5px var(--font-mono); }
.dashboard-caller-count small,
.dashboard-caller-talk small { color: var(--text-faint); font-size: 8.5px; }

.dashboard-live-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.dashboard-live-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 9px;
}

.dashboard-live-summary i,
.dashboard-live-dot {
  border-radius: 50%;
  background: var(--text-faint);
}

.dashboard-live-summary i { width: 6px; height: 6px; }
.dashboard-live-summary b { color: var(--text-primary); font: 600 9px var(--font-mono); }
.dashboard-live-summary.registered i,
.dashboard-live-dot.registered { background: var(--accent); }
.dashboard-live-summary.busy i,
.dashboard-live-dot.busy { background: var(--status-warn); }
.dashboard-live-summary.idle i,
.dashboard-live-dot.idle { background: var(--status-ok); }
.dashboard-live-summary.offline i,
.dashboard-live-dot.offline { background: var(--text-faint); }

.dashboard-live-list {
  max-height: 326px;
  overflow: auto;
  scrollbar-width: thin;
}

.dashboard-live-extension {
  min-width: 0;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 7px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.dashboard-live-extension:last-child { border-bottom: 0; }
.dashboard-live-extension:hover { background: rgba(79, 168, 224, 0.045); }
.dashboard-live-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(118, 130, 143, 0.08); }
.dashboard-live-dot.idle { box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.08); }
.dashboard-live-dot.busy { box-shadow: 0 0 0 3px rgba(241, 168, 62, 0.1); }
.dashboard-live-extension > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.dashboard-live-extension strong { overflow: hidden; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-live-extension small { color: var(--text-faint); font-size: 9px; }
.dashboard-live-state { padding: 3px 6px; border-radius: 999px; background: var(--bg-elevated); color: var(--text-muted); font: 500 8.5px var(--font-mono); }
.dashboard-live-state.idle { color: var(--status-ok); }
.dashboard-live-state.busy { color: var(--status-warn); }
.dashboard-live-state.registered { color: var(--accent); }

.dashboard-system-monitor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-storage-panel,
.dashboard-health-panel {
  min-width: 0;
  overflow: hidden;
}

.dashboard-storage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-storage-head > div { display: grid; gap: 2px; }
.dashboard-storage-head strong { font: 600 24px var(--font-mono); }
.dashboard-storage-head span { color: var(--text-muted); font-size: 9.5px; }
.dashboard-storage-level { padding: 4px 8px; border: 1px solid rgba(61, 220, 132, 0.24); border-radius: 999px; color: var(--status-ok) !important; font: 600 9px var(--font-mono); }
.dashboard-storage-level.warning { border-color: rgba(241, 168, 62, 0.3); background: rgba(241, 168, 62, 0.06); color: var(--status-warn) !important; }

.dashboard-storage-progress {
  height: 5px;
  margin: 13px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border-subtle);
}

.dashboard-storage-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.dashboard-storage-progress i.warning { background: linear-gradient(90deg, #d8892e, var(--status-warn)); }

.dashboard-storage-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.dashboard-storage-facts > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.dashboard-storage-facts span { color: var(--text-faint); font-size: 8.5px; }
.dashboard-storage-facts strong { overflow: hidden; font: 500 10.5px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-storage-warnings { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.dashboard-storage-warnings li { position: relative; padding-left: 14px; color: var(--status-warn); font-size: 9.5px; line-height: 1.4; }
.dashboard-storage-warnings li::before { position: absolute; left: 0; content: '⚠'; }
.dashboard-storage-ok { margin: 10px 0 0; color: var(--status-ok); font-size: 9.5px; }
.dashboard-storage-note,
.dashboard-health-note { margin: 9px 0 0; color: var(--text-faint); font-size: 9px; line-height: 1.45; }

.dashboard-health-service {
  min-width: 0;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 7px;
  border-bottom: 1px solid var(--border-subtle);
}

.dashboard-health-service:first-child { padding-top: 3px; }
.dashboard-health-service > div { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 9px; }
.dashboard-health-service > div strong { font-size: 11px; font-weight: 500; }
.dashboard-health-service > div small { color: var(--text-faint); font-size: 8.5px; text-align: right; }
.dashboard-health-service > div p { grid-column: 1 / -1; margin: 2px 0 0; overflow: hidden; color: var(--text-muted); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-health-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.dashboard-health-dot.healthy { background: var(--status-ok); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.08); }
.dashboard-health-dot.warning { background: var(--status-warn); box-shadow: 0 0 0 3px rgba(241, 168, 62, 0.08); }
.dashboard-health-dot.unhealthy { background: var(--status-error); box-shadow: 0 0 0 3px rgba(226, 85, 79, 0.08); }
.dashboard-health-result { min-width: 70px; display: grid; justify-items: end; gap: 1px; }
.dashboard-health-result b { color: var(--text-muted); font: 600 9px var(--font-mono); }
.dashboard-health-result small { color: var(--text-faint); font: 8px var(--font-mono); }
.dashboard-health-result.healthy b { color: var(--status-ok); }
.dashboard-health-result.warning b { color: var(--status-warn); }
.dashboard-health-result.unhealthy b { color: var(--status-error); }

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 16px;
}

.dashboard-extension-row {
  width: 100%;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
}

.dashboard-extension-row:last-child { border-bottom: 0; }
.dashboard-extension-row:hover { background: rgba(79, 168, 224, 0.045); }
.dashboard-extension-rank { color: var(--text-faint); font: 10px var(--font-mono); text-align: center; }
.dashboard-extension-info { min-width: 0; display: grid; gap: 6px; }
.dashboard-extension-info > strong { overflow: hidden; font-size: 11.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-extension-track { height: 3px; overflow: hidden; border-radius: 999px; background: var(--border-subtle); }
.dashboard-extension-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.dashboard-extension-metric { display: grid; justify-items: end; }
.dashboard-extension-metric strong { font: 600 12px var(--font-mono); }
.dashboard-extension-metric small { color: var(--text-faint); font: 9px var(--font-mono); }

.dashboard-compact-empty {
  min-height: 100px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

.dashboard-compact-empty.error { color: var(--status-error); }

.dashboard-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-resource-grid > a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  transition: border-color 0.12s ease, background 0.12s ease;
}

.dashboard-resource-grid > a:hover { border-color: var(--accent-dim); background: var(--bg-elevated); }
.dashboard-resource-icon { width: 25px; flex: 0 0 25px; color: var(--accent); font-size: 16px; text-align: center; }
.dashboard-resource-grid a > span:last-child { min-width: 0; display: grid; }
.dashboard-resource-grid strong { min-height: 22px; display: flex; align-items: center; font: 600 18px var(--font-mono); }
.dashboard-resource-grid strong .loading-spinner { width: 1em; height: 1em; }
.dashboard-resource-grid small { color: var(--text-muted); font-size: 9.5px; }

/* Instance ayarları */
.settings-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.settings-nav-panel {
  position: sticky;
  top: 16px;
}

.settings-nav-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--text-faint);
  font: 600 9px var(--font-mono);
  letter-spacing: 0.12em;
}

.settings-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-muted);
  text-align: left;
}

.settings-nav-item.active {
  border-color: var(--accent-dim);
  background: rgba(79, 168, 224, 0.08);
  color: var(--accent-hover);
}

.settings-nav-item + .settings-nav-item { margin-top: 7px; }

.settings-nav-item > span:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  font-size: 15px;
}

.settings-nav-item > span:last-child {
  min-width: 0;
  display: grid;
}

.settings-nav-item strong { color: var(--text-primary); font-size: 11px; }
.settings-nav-item small { color: var(--text-muted); font-size: 9px; }
.settings-nav-panel > p { margin: 12px 3px 0; color: var(--text-faint); font-size: 9.5px; line-height: 1.5; }

.settings-content-panel {
  min-width: 0;
}

.settings-content-panel > .dashboard-panel-loading {
  min-height: 280px;
}

.settings-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-section-heading h2 {
  margin: 4px 0 3px;
  font: 600 18px var(--font-display);
}

.settings-section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.settings-service-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(226, 85, 79, 0.25);
  border-radius: 999px;
  color: var(--status-error);
  font-size: 10px;
  white-space: nowrap;
}

.settings-service-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.settings-service-status.active {
  border-color: rgba(61, 220, 132, 0.25);
  color: var(--status-ok);
}

.settings-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.settings-summary-grid > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.settings-summary-grid span,
.settings-summary-grid small { color: var(--text-muted); font-size: 9px; }
.settings-summary-grid strong { overflow-wrap: anywhere; font: 600 13px var(--font-mono); }

.settings-warning {
  display: grid;
  gap: 3px;
  margin-bottom: 15px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 163, 61, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(232, 163, 61, 0.07);
  color: var(--status-warn);
  font-size: 10px;
}

.settings-warning span { color: var(--text-muted); }

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form .choices {
  width: 100%;
  margin-bottom: 0;
}

.settings-tts-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 0.8fr);
  gap: 12px;
}

.settings-selected-voice {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-left: 2px solid var(--accent);
  background: rgba(79, 168, 224, 0.045);
}

.settings-selected-voice > span { color: var(--text-muted); font-size: 9px; text-transform: uppercase; }
.settings-selected-voice > strong { font-size: 12px; }
.settings-selected-voice > small { color: var(--accent-hover); font-size: 9.5px; }

.settings-tts-preview {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--bg-base), rgba(79, 168, 224, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.settings-tts-preview > div:first-child {
  display: grid;
  gap: 3px;
}

.settings-tts-preview > div:first-child strong {
  font-size: 12px;
}

.settings-tts-preview textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 82px;
  max-height: 220px;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-primary);
  caret-color: var(--accent-hover);
  color-scheme: dark;
  font: 500 12px var(--font-mono);
  line-height: 1.55;
  resize: vertical;
  scrollbar-color: var(--border-strong) var(--bg-base);
  scrollbar-width: thin;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.settings-tts-preview textarea:hover {
  border-color: rgba(124, 148, 176, 0.68);
  background: rgba(13, 17, 23, 0.82);
}

.settings-tts-preview textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg-base);
  box-shadow: 0 0 0 3px rgba(79, 168, 224, 0.12);
}

.settings-tts-preview textarea::placeholder {
  color: var(--text-faint);
  opacity: 0.82;
}

.settings-tts-preview textarea:disabled {
  cursor: not-allowed;
  background: var(--bg-panel);
  color: var(--text-faint);
  opacity: 0.72;
}

.settings-tts-preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-tts-preview-actions > span,
.settings-tts-preview-player > span {
  color: var(--text-muted);
  font-size: 9.5px;
}

.settings-tts-preview-player {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.settings-tts-preview-player .wave-player {
  width: 100%;
}

.settings-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.settings-form-actions > span { color: var(--text-muted); font-size: 10px; }

.settings-backup-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.settings-backup-summary strong { font-size: 11.5px; }
.settings-backup-summary > div {
  min-height: 68px;
  align-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.settings-backup-summary > div:hover {
  border-color: rgba(79, 168, 224, 0.34);
  background: rgba(79, 168, 224, 0.035);
}
.settings-warning-error { border-color: rgba(226, 85, 79, 0.3); background: rgba(226, 85, 79, 0.06); color: var(--status-error); }

.settings-backup-enable,
.settings-inline-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.settings-backup-enable:hover,
.settings-inline-check:hover {
  border-color: rgba(79, 168, 224, 0.38);
  background: rgba(79, 168, 224, 0.035);
}

.settings-backup-enable input,
.settings-inline-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.settings-backup-enable > span,
.settings-inline-check > span { min-width: 0; display: grid; gap: 3px; }
.settings-backup-enable strong,
.settings-inline-check strong { color: var(--text-primary); font-size: 11px; }
.settings-backup-enable small,
.settings-inline-check small { color: var(--text-muted); font-size: 9.5px; line-height: 1.45; }

.settings-backup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-backup-grid > .full { grid-column: 1 / -1; }
.settings-backup-provider {
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--bg-base), rgba(79, 168, 224, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.settings-backup-provider[hidden] { display: none; }
.settings-backup-provider-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-backup-provider-head > div { display: grid; gap: 3px; }
.settings-backup-provider-head strong { font-size: 12.5px; }
.settings-backup-provider-head span { color: var(--text-muted); font-size: 9.5px; }
.settings-security-badge {
  padding: 4px 7px;
  border: 1px solid rgba(61, 220, 132, 0.28);
  border-radius: 999px;
  color: var(--status-ok) !important;
  font: 600 8px var(--font-mono) !important;
  letter-spacing: 0.08em;
}

.settings-security-badge.warn { border-color: rgba(232, 163, 61, 0.3); color: var(--status-warn) !important; }
.settings-google-drive-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.settings-google-drive-card.connected { border-color: rgba(61, 220, 132, 0.28); }
.settings-google-drive-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%);
  color: #fff;
  font: 700 17px var(--font-display);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.88);
}

.settings-google-drive-card > div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.settings-google-drive-card > div:nth-child(2) strong { font-size: 12px; }
.settings-google-drive-card > div:nth-child(2) span { color: var(--text-muted); font-size: 10px; overflow-wrap: anywhere; }
.settings-google-drive-card > div:nth-child(2) a { width: fit-content; color: var(--accent-hover); font-size: 9.5px; }
.settings-google-drive-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.settings-google-drive-card + .settings-backup-info { margin-top: 10px; }
.settings-backup-info {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-sm);
  background: rgba(79, 168, 224, 0.05);
}

.settings-backup-info > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-hover);
  font: 600 11px var(--font-mono);
}

.settings-backup-info p { margin: 0; color: var(--text-muted); font-size: 9.5px; line-height: 1.5; }
.settings-backup-info strong { display: block; color: var(--text-primary); font-size: 10px; }
.settings-backup-actions > div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.settings-backup-actions .btn { min-height: 38px; padding-inline: 14px; }

.dashboard-guide-link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 11px;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-sm);
  background: rgba(79, 168, 224, 0.05);
}

.dashboard-guide-link > span:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-hover);
  font: 600 12px var(--font-mono);
}

.dashboard-guide-link > span:nth-child(2) { min-width: 0; display: grid; }
.dashboard-guide-link strong { font-size: 10.5px; font-weight: 500; }
.dashboard-guide-link small { color: var(--text-muted); font-size: 9.5px; }
.dashboard-guide-link i { color: var(--accent); font-style: normal; }

/* Gelen/giden çağrı ayarları */
.call-settings-section + .call-settings-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border-strong);
}

.call-settings-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.call-settings-section-header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.call-settings-section-header h2 {
  margin: 0;
  font: 600 17px var(--font-display);
}

.call-settings-section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.call-settings-direction {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font: 600 13px var(--font-mono);
}

.call-settings-direction.incoming { color: var(--status-ok); }
.call-settings-direction.outgoing { color: var(--accent-hover); }

.inbound-route-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.3fr);
  gap: 18px;
  align-items: start;
}

.inbound-route-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.inbound-route-kicker {
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.inbound-route-did {
  font-family: var(--font-mono);
  font-size: 25px;
  color: var(--text-primary);
}

.inbound-route-status {
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11px;
}

.inbound-route-status.configured {
  border-color: rgba(69, 196, 133, 0.45);
  color: var(--status-ok);
}

.inbound-route-alias {
  color: var(--text-faint);
  font-size: 11px;
}

.inbound-route-current {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.inbound-route-current span {
  color: var(--text-faint);
  font-size: 11px;
}

.inbound-route-current strong {
  font-size: 14px;
}

.inbound-route-form {
  min-height: 245px;
}

.inbound-route-hangup,
.inbound-route-warning {
  padding: 11px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.inbound-route-warning {
  margin-top: 14px;
  border-color: rgba(232, 177, 64, 0.42);
}

.inbound-route-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.outbound-route-summary {
  border-left: 3px solid var(--accent);
}

.outbound-route-note {
  padding: 11px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.outbound-extension-panel {
  margin-top: 14px;
}

.outbound-extension-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.outbound-extension-heading strong {
  font: 600 13px var(--font-display);
}

.outbound-extension-heading span {
  color: var(--text-faint);
  font-size: 11px;
}

.outbound-extension-table {
  min-width: 640px;
}

.status-text {
  color: var(--text-muted);
  font-size: 12px;
}

.status-text.ok { color: var(--status-ok); }
.status-text.warn { color: var(--status-warn); }
.status-text.error { color: var(--status-error); }

/* Çağrı geçmişi ve otomatik kayıt */
.call-recording-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.call-recording-settings.enabled {
  border-color: rgba(61, 220, 132, 0.35);
}

.call-recording-settings p {
  margin: 5px 0 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.call-recording-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 15px var(--font-display);
}

.call-history-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 0.8fr)) minmax(180px, 1.2fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.call-history-filters .btn {
  justify-content: center;
  min-height: 38px;
}

.call-history-stats {
  margin-bottom: 16px;
}

.call-talk-total {
  font-size: 21px;
  line-height: 1.45;
}

.call-history-table-wrap {
  overflow-x: auto;
}

.call-history-table {
  min-width: 980px;
}

.call-direction,
.call-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.call-direction.incoming { color: var(--status-ok); border-color: rgba(61, 220, 132, 0.35); }
.call-direction.outgoing { color: var(--accent-hover); border-color: rgba(79, 168, 224, 0.4); }
.call-direction.internal { color: var(--status-warn); border-color: rgba(232, 163, 61, 0.35); }
.call-status.answered { color: var(--status-ok); border-color: rgba(61, 220, 132, 0.35); }
.call-status.missed { color: var(--status-error); border-color: rgba(226, 85, 79, 0.35); }

.call-no-recording {
  color: var(--text-faint);
  font-size: 11px;
  white-space: nowrap;
}

.call-history-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  border-radius: var(--radius-sm);
  color: var(--status-warn);
  font-size: 12px;
}

/* ------------------------------------------------------------
   Extension "jack" ızgarası — imza tasarım öğesi
   Fiziksel patch panel jack'lerinden ilham alır: her extension
   köşesinde durum LED'i olan dikdörtgen bir birimdir.
   ------------------------------------------------------------ */

.jack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.jack {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  transition: border-color 0.12s ease;
}

.jack:hover {
  border-color: var(--border-strong);
}

.jack::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 5px var(--status-ok);
}

.jack-number {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.jack-name {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jack-tech {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jack-department {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0 5px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--department-color, var(--accent)) 42%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--department-color, var(--accent)) 72%, white);
  font-size: 10px;
  line-height: 1.3;
  vertical-align: middle;
}

.jack-department i,
.department-color {
  background: var(--department-color, var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 6px color-mix(in srgb, var(--department-color, var(--accent)) 55%, transparent);
}

.jack-department i { width: 6px; height: 6px; flex: 0 0 6px; }
.jack-department.unassigned { --department-color: var(--text-faint); color: var(--text-muted); border-color: var(--border-subtle); }
.extension-toolbar { align-items: center; }
.extension-toolbar > .choices,
.extension-toolbar > select { width: min(260px, 34vw); margin: 0; }

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.department-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.department-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.department-card-head { display: flex; align-items: center; gap: 11px; }
.department-color { width: 12px; height: 12px; flex: 0 0 12px; }
.department-card-head > div { min-width: 0; display: flex; flex-direction: column; }
.department-card h3 { overflow: hidden; margin: 0; font: 600 15px var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.department-card-head span:not(.department-color) { color: var(--accent); font: 10px var(--font-mono); }
.department-card p { flex: 1; min-height: 40px; margin: 14px 0; color: var(--text-muted); font-size: 12px; }
.department-card-actions { display: flex; gap: 7px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.department-color-field > div { display: flex; align-items: center; gap: 12px; }
.department-color-field input[type="color"] { width: 52px; height: 38px; flex: 0 0 52px; padding: 3px; cursor: pointer; }
.department-color-field span { color: var(--text-muted); font-size: 11px; }

.jack-actions {
  margin-top: 12px;
  display: flex;
  gap: 6px;
}

.jack-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  border-radius: inherit;
  background: rgba(20, 24, 29, 0.9);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}

.jack.is-deleting .jack-loading {
  display: flex;
}

.loading-spinner {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 1em;
  border: max(1px, 0.12em) solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: loading-spin 0.75s linear infinite;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------
   Tablo (IVR listesi vb.)
   ------------------------------------------------------------ */

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .mono {
  font-family: var(--font-mono);
}

.mono {
  overflow-wrap: anywhere;
}

.data-table .row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.data-table .table-actions {
  white-space: nowrap;
  text-align: right;
}

.data-table .table-actions .btn + .btn {
  margin-left: 6px;
}

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state-title {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 6px;
}

/* ------------------------------------------------------------
   Form elemanları
   ------------------------------------------------------------ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.form-hint {
  font-size: 11px;
  color: var(--text-faint);
}

.ivr-timeout-target {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 20px;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field input[type="url"],
.form-field input[type="date"],
.form-field input[type="search"],
.form-field input[type="file"],
.form-field textarea,
.form-field select {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  cursor: pointer;
}

/* Choices.js — tüm select alanları için yerel, temaya uyarlanmış bileşen */
.choices.santral-choices {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.choices.santral-choices.is-open {
  z-index: 40;
}

.santral-choices .choices__inner {
  min-height: 38px;
  padding: 0;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
}

.santral-choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 0;
}

.santral-choices .choices__list--single {
  padding: 8px 30px 8px 10px;
}

.santral-choices.is-focused .choices__inner,
.santral-choices.is-open .choices__inner {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 168, 224, 0.13);
}

.santral-choices.is-open .choices__inner {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.santral-choices.is-flipped.is-open .choices__inner {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.santral-choices[data-type*="select-one"]::after {
  right: 12px;
  margin-top: -2px;
  border-width: 4px;
  border-color: var(--text-muted) transparent transparent;
}

.santral-choices[data-type*="select-one"].is-open::after {
  margin-top: -6px;
  border-color: transparent transparent var(--accent);
}

.santral-choices .choices__list--dropdown,
.santral-choices .choices__list[aria-expanded] {
  z-index: 50;
  margin-top: -1px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--text-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  word-break: normal;
}

.santral-choices.is-flipped .choices__list--dropdown,
.santral-choices.is-flipped .choices__list[aria-expanded] {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.santral-choices .choices__list--dropdown .choices__list,
.santral-choices .choices__list[aria-expanded] .choices__list {
  max-height: 260px;
  scrollbar-color: var(--border-strong) var(--bg-elevated);
  scrollbar-width: thin;
}

.santral-choices .choices__list--dropdown .choices__item,
.santral-choices .choices__list[aria-expanded] .choices__item {
  padding: 9px 10px;
  color: var(--text-muted);
  font-size: 12.5px;
}

.santral-choices .choices__list--dropdown .choices__item--selectable.is-highlighted,
.santral-choices .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: var(--accent-dim);
  color: var(--text-primary);
}

.santral-choices .choices__list--dropdown .choices__item.is-selected,
.santral-choices .choices__list[aria-expanded] .choices__item.is-selected {
  color: var(--accent-hover);
}

.santral-choices .choices__input,
.santral-choices[data-type*="select-one"] .choices__input {
  margin: 0;
  padding: 10px;
  background: var(--bg-base);
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  color: var(--text-primary);
  font: 12.5px var(--font-mono);
}

.santral-choices .choices__input::placeholder {
  color: var(--text-faint);
}

.santral-choices .choices__placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.santral-choices .choices__heading {
  padding: 8px 10px;
  border-bottom-color: var(--border-subtle);
  color: var(--text-faint);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.choices.santral-choices.is-disabled .choices__inner,
.choices.santral-choices.is-disabled .choices__input {
  background: var(--bg-panel);
  color: var(--text-faint);
  opacity: 0.7;
}

.table-secondary {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 11px;
}

.wave-player {
  display: grid;
  grid-template-columns: 38px minmax(130px, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: min(100%, 330px);
  min-width: 270px;
  padding: 5px 7px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}

.wave-player-toggle {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-hover);
  font-size: 13px;
  line-height: 1;
}

.wave-player-toggle:hover {
  background: var(--accent);
  color: #0d1620;
}

.wave-player-toggle:disabled {
  cursor: wait;
  opacity: 0.75;
}

.wave-player-content {
  min-width: 0;
}

.wave-player-waveform {
  position: relative;
  min-width: 0;
  height: 28px;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 28px;
}

.wave-player:not(.is-loaded) .wave-player-waveform::before {
  content: '';
  position: absolute;
  inset: 5px 0;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 2px, transparent 2px 5px);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(0deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}

.wave-player-time {
  display: flex;
  gap: 4px;
  margin-top: 0;
  color: var(--text-faint);
  font: 10px var(--font-mono);
}

.wave-player-download {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 11px;
}

.wave-player-download:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.wave-player.is-playing {
  border-color: rgba(79, 168, 224, 0.55);
}

.wave-player.is-loading .wave-player-toggle [data-wave-icon] {
  visibility: hidden;
}

.wave-player.is-loading .wave-player-toggle::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(107, 184, 232, 0.3);
  border-top-color: var(--accent-hover);
  border-radius: 50%;
  animation: loading-spin 0.75s linear infinite;
}

.wave-player.is-error {
  border-color: rgba(226, 85, 79, 0.55);
}

.integration-url-cell {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.45;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--accent);
}

/* Kayıt yedekleme formu — tüm tarayıcılarda tutarlı koyu tema */
.settings-backup-form .form-field {
  min-width: 0;
  gap: 7px;
}

.settings-backup-form .form-field label {
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.settings-backup-form .form-field > input,
.settings-backup-form .form-field > textarea,
.settings-backup-form .form-field > select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-primary);
  caret-color: var(--accent-hover);
  color-scheme: dark;
  font: 500 12px var(--font-mono);
  line-height: 1.35;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.settings-backup-form .form-field > input:hover,
.settings-backup-form .form-field > textarea:hover,
.settings-backup-form .form-field > select:hover {
  border-color: rgba(124, 148, 176, 0.68);
  background: rgba(13, 17, 23, 0.82);
}

.settings-backup-form .form-field > input:focus,
.settings-backup-form .form-field > textarea:focus,
.settings-backup-form .form-field > select:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg-base);
  box-shadow: 0 0 0 3px rgba(79, 168, 224, 0.12);
}

.settings-backup-form .form-field > input::placeholder,
.settings-backup-form .form-field > textarea::placeholder {
  color: var(--text-faint);
  opacity: 0.82;
}

.settings-backup-form .form-field > input:disabled,
.settings-backup-form .form-field > textarea:disabled,
.settings-backup-form .form-field > select:disabled {
  cursor: not-allowed;
  background: var(--bg-panel);
  color: var(--text-faint);
  opacity: 0.72;
}

.settings-backup-form .form-field > input:-webkit-autofill,
.settings-backup-form .form-field > input:-webkit-autofill:hover,
.settings-backup-form .form-field > input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  caret-color: var(--accent-hover);
  box-shadow: 0 0 0 1000px var(--bg-base) inset;
  transition: background-color 9999s ease-out 0s;
}

.settings-backup-form .form-field > input[type="number"] {
  font-variant-numeric: tabular-nums;
}

.settings-backup-form .form-hint {
  margin-top: -1px;
  color: var(--text-faint);
  font-size: 9.5px;
  line-height: 1.45;
}

.settings-backup-form .settings-backup-provider .settings-backup-grid {
  gap: 15px 12px;
}

.settings-backup-form .choices.santral-choices,
.settings-backup-form .santral-choices .choices__inner {
  min-height: 40px;
}

.settings-backup-form .santral-choices .choices__list--single {
  padding-top: 9px;
  padding-bottom: 9px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
}

.checkbox-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

/* ------------------------------------------------------------
   IVR tuş eşleştirme (digit map) editörü
   Not: burada 0-9 / * / # numaralandırması gerçek tuş takımını
   yansıttığı için anlamlı — kararı bilinçli.
   ------------------------------------------------------------ */

.entry-row {
  display: grid;
  grid-template-columns: 64px 130px 1fr 90px 32px;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.entry-row:last-child {
  border-bottom: none;
}

.entry-row input,
.entry-row select {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 7px 8px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  width: 100%;
}

.entry-remove {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--status-error);
  border-radius: var(--radius-sm);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.entry-remove:hover {
  border-color: var(--status-error);
}

.entries-header {
  display: grid;
  grid-template-columns: 64px 130px 1fr 90px 32px;
  gap: 8px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-strong);
}

.integrations-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.integrations-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.integrations-title > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.integrations-title label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.integration-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}

.integration-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.integration-card-header strong {
  font-size: 13px;
  color: var(--text-primary);
}

.integration-grid {
  gap: 12px;
}

.integration-checks {
  justify-content: flex-end;
  gap: 10px;
}

/* ------------------------------------------------------------
   Modal
   ------------------------------------------------------------ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  overflow-y: auto;
  z-index: 100;
}

.modal {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  padding: 24px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-title {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text-primary);
}

.credential-intro {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.credential-list {
  margin: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.credential-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.credential-list > div:last-child {
  border-bottom: none;
}

.credential-list dt {
  color: var(--text-muted);
  font-size: 12px;
}

.credential-list dd {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.credential-password {
  margin-top: 18px;
}

.credential-password > label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.credential-password-row {
  display: flex;
  gap: 8px;
}

.credential-password-row input {
  min-width: 0;
  flex: 1;
  padding: 9px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 13px;
}

.credential-warning {
  padding: 10px 12px;
  border: 1px solid var(--status-error);
  border-radius: var(--radius-sm);
  color: var(--status-error);
  font-size: 12px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ------------------------------------------------------------
   Toast bildirimleri
   ------------------------------------------------------------ */

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--status-ok);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  min-width: 240px;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: toast-in 0.18s ease;
}

.toast.error {
  border-left-color: var(--status-error);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------
   Öğretici / kullanım kılavuzu
   ------------------------------------------------------------ */

.tutorial-view-header { align-items: center; }

.tutorial-search-area {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.tutorial-search {
  width: min(100%, 310px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--text-faint);
}

.tutorial-search:focus-within { border-color: var(--accent); color: var(--accent); }

.tutorial-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
}

.tutorial-search button {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1;
}

.tutorial-search button:hover { color: var(--text-primary); background: var(--border-strong); }
.tutorial-search button[hidden] { display: none; }
.tutorial-search-result { color: var(--text-faint); font: 10px var(--font-mono); }

.tutorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid #31546d;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 85% 20%, rgba(79, 168, 224, 0.17), transparent 34%), linear-gradient(135deg, #1b2630, var(--bg-panel) 62%);
}

.tutorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(79, 168, 224, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 168, 224, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to left, black, transparent 72%);
}

.tutorial-hero > * { position: relative; z-index: 1; }

.tutorial-eyebrow {
  color: var(--accent);
  font: 600 10px var(--font-mono);
  letter-spacing: 0.14em;
}

.tutorial-hero h2 {
  margin: 8px 0 10px;
  font: 700 clamp(25px, 4vw, 38px) var(--font-display);
  line-height: 1.12;
}

.tutorial-hero p {
  max-width: 760px;
  margin: 0;
  color: #a9b1be;
  font-size: 14px;
  line-height: 1.75;
}

.tutorial-hero-actions,
.tutorial-action-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tutorial-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tutorial-hero-stats span {
  padding: 5px 8px;
  border: 1px solid rgba(79, 168, 224, 0.24);
  border-radius: 999px;
  background: rgba(79, 168, 224, 0.06);
  color: var(--text-muted);
  font: 10px var(--font-mono);
}

.tutorial-action-bar { margin: -3px 0 16px; }

.tutorial-hero-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
}

.tutorial-hero-map span {
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(18, 21, 26, 0.72);
  color: var(--text-primary);
  font: 500 11px var(--font-mono);
  text-align: center;
}

.tutorial-hero-map i { color: var(--accent); font-style: normal; text-align: center; }

.tutorial-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tutorial-toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); padding: 10px; overflow-y: auto; }

.tutorial-toc-title {
  padding: 7px 10px 10px;
  color: var(--text-faint);
  font: 600 10px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tutorial-toc button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  text-align: left;
}

.tutorial-toc button span { color: var(--text-faint); font: 10px var(--font-mono); }
.tutorial-toc button:hover { background: var(--bg-elevated); color: var(--accent-hover); }
.tutorial-toc button.active { background: var(--accent-dim); color: var(--accent-hover); }
.tutorial-toc button em {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  border-radius: 999px;
  color: var(--status-warn);
  font: 600 8px var(--font-mono);
  font-style: normal;
  text-transform: uppercase;
}
.tutorial-content { min-width: 0; }

.tutorial-section {
  scroll-margin-top: 20px;
  margin-bottom: 20px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

.tutorial-section[hidden] { display: none; }

.tutorial-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border-subtle);
}

.tutorial-section-number {
  flex: 0 0 auto;
  min-width: 34px;
  padding-top: 3px;
  color: var(--accent);
  font: 600 12px var(--font-mono);
}

.tutorial-section-heading h2 { margin: 0 0 4px; font: 700 clamp(18px, 2.5vw, 23px) var(--font-display); }
.tutorial-section-heading p { margin: 0; color: var(--text-muted); font-size: 12px; }

.tutorial-card,
.tutorial-scenario,
.tutorial-faq details,
.tutorial-troubleshooting details {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}

.tutorial-card { min-width: 0; padding: 18px; }
.tutorial-card + .tutorial-card,
.tutorial-callout + .tutorial-card,
.tutorial-card + .tutorial-callout,
.tutorial-split + .tutorial-card,
.tutorial-card + .tutorial-split { margin-top: 14px; }

.tutorial-card h3 { margin: 0 0 12px; font: 600 15px var(--font-display); }
.tutorial-card p { margin: 0 0 10px; color: #a1a9b5; font-size: 13px; line-height: 1.65; }
.tutorial-card p:last-child { margin-bottom: 0; }

.tutorial-card-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--text-faint);
  font: 600 10px var(--font-mono);
  letter-spacing: 0.1em;
}

.tutorial-card-kicker.incoming { color: var(--status-ok); }
.tutorial-card-kicker.outgoing { color: var(--accent); }

.tutorial-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tutorial-split + .tutorial-callout,
.tutorial-callout + .tutorial-split,
.tutorial-term-grid + .tutorial-split { margin-top: 14px; }

.tutorial-term-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tutorial-term-grid article {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
}

.tutorial-term-grid strong { display: block; margin-bottom: 5px; color: var(--accent-hover); font-size: 12px; }
.tutorial-term-grid p { margin: 0; color: var(--text-muted); font-size: 11.5px; line-height: 1.55; }

.tutorial-callout {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(79, 168, 224, 0.06);
}

.tutorial-callout:first-child { margin-top: 0; }
.tutorial-callout:last-child { margin-bottom: 0; }
.tutorial-callout.success { border-left-color: var(--status-ok); background: rgba(61, 220, 132, 0.05); }
.tutorial-callout.warning { border-left-color: var(--status-warn); background: rgba(232, 163, 61, 0.05); }
.tutorial-callout.danger { border-left-color: var(--status-error); background: rgba(226, 85, 79, 0.05); }
.tutorial-callout strong { display: block; margin-bottom: 3px; font-size: 12px; }
.tutorial-callout p { margin: 0; color: #a1a9b5; font-size: 12px; line-height: 1.6; }

.tutorial-steps {
  counter-reset: guide-step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutorial-steps > li {
  counter-increment: guide-step;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.tutorial-steps > li::before {
  content: counter(guide-step);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-hover);
  font: 600 11px var(--font-mono);
}

.tutorial-steps strong { display: block; margin: 3px 0; font-size: 13px; }
.tutorial-steps p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.tutorial-steps a { display: inline-block; margin-top: 5px; color: var(--accent); font-size: 12px; }
.tutorial-steps.compact { gap: 8px; }
.tutorial-steps.compact > li { grid-template-columns: 23px minmax(0, 1fr); gap: 8px; }
.tutorial-steps.compact > li::before { width: 22px; height: 22px; margin-top: 1px; font-size: 9px; }
.tutorial-steps.compact span { color: #a1a9b5; font-size: 12px; line-height: 1.55; }

.tutorial-note,
.tutorial-result {
  margin: 13px 0 0 !important;
  padding-top: 11px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted) !important;
  font-size: 11.5px !important;
}

.tutorial-result { color: #a1a9b5 !important; }
.tutorial-field-list { display: grid; }

.tutorial-field-list > div {
  display: grid;
  grid-template-columns: minmax(155px, 0.34fr) minmax(0, 1fr);
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tutorial-field-list > div:first-child { padding-top: 0; }
.tutorial-field-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.tutorial-field-list strong { color: var(--text-primary); font-size: 12px; }
.tutorial-field-list span { min-width: 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.tutorial-field-list.small > div { grid-template-columns: minmax(125px, 0.3fr) minmax(0, 1fr); }

.tutorial-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: #a1a9b5;
  font-size: 12px;
  line-height: 1.55;
}

.tutorial-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tutorial-code-grid div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.tutorial-code-grid span { color: var(--text-muted); font-size: 11px; }
.tutorial-code-grid code,
.tutorial-token-list code,
.tutorial-content p code,
.tutorial-content li code,
.tutorial-content span code { color: var(--accent-hover); font-family: var(--font-mono); font-size: 0.92em; overflow-wrap: anywhere; }

.tutorial-token-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.tutorial-token-list code { padding: 5px 7px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-elevated); }

.tutorial-code {
  max-width: 100%;
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #0e1115;
  color: #b9c6d0;
  font: 11.5px/1.65 var(--font-mono);
  white-space: pre;
}

.tutorial-scenario { overflow: hidden; }
.tutorial-scenario + .tutorial-scenario,
.tutorial-troubleshooting details + details,
.tutorial-faq details + details { margin-top: 8px; }

.tutorial-scenario summary,
.tutorial-troubleshooting summary,
.tutorial-faq summary {
  position: relative;
  padding: 13px 42px 13px 15px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  list-style: none;
}

.tutorial-scenario summary::-webkit-details-marker,
.tutorial-troubleshooting summary::-webkit-details-marker,
.tutorial-faq summary::-webkit-details-marker { display: none; }

.tutorial-scenario summary::after,
.tutorial-troubleshooting summary::after,
.tutorial-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--accent);
  font: 18px var(--font-mono);
  transform: translateY(-50%);
}

.tutorial-scenario[open] summary::after,
.tutorial-troubleshooting details[open] summary::after,
.tutorial-faq details[open] summary::after { content: '−'; }
.tutorial-scenario summary span { margin-right: 8px; color: var(--accent); font: 600 10px var(--font-mono); }
.tutorial-scenario > div,
.tutorial-troubleshooting details > div { padding: 14px 16px 16px; border-top: 1px solid var(--border-subtle); }
.tutorial-troubleshooting p,
.tutorial-faq p { margin: 0; color: #a1a9b5; font-size: 12px; line-height: 1.65; }
.tutorial-faq details p { padding: 0 16px 15px; }

.tutorial-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tutorial-check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: #a1a9b5;
  font-size: 12px;
}

.tutorial-check-grid input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.tutorial-no-results { padding: 0; }

/* ------------------------------------------------------------
   Duyarlılık (responsive)
   ------------------------------------------------------------ */

@media (max-width: 1200px) {
  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-header-actions,
  .dashboard-range-form {
    flex-wrap: wrap;
  }

  .dashboard-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-analytics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-operations-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-system-monitor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-nav-panel {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .settings-nav-kicker { grid-column: 1 / -1; }
  .settings-nav-item + .settings-nav-item { margin-top: 0; }

  .settings-nav-panel > p {
    display: none;
  }

  .settings-backup-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .app-shell {
    display: block;
  }

  .main-shell { min-height: calc(100vh - 65px); }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 80;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
    height: auto;
    overflow-y: visible;
  }

  .sidebar-brand {
    border-bottom: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .brand-subtitle {
    display: none;
  }

  .sidebar-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    max-height: 48vh;
    margin-top: 10px;
    padding-top: 10px;
    overflow-y: auto;
    border-top: 1px solid var(--border-subtle);
  }

  .sidebar.mobile-open .sidebar-nav {
    display: flex;
  }

  .sidebar.mobile-open {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .nav-item {
    min-height: 44px;
    padding: 11px 12px;
  }

  .topbar { position: static; min-height: 60px; padding: 8px clamp(14px, 3vw, 24px); }
  .app-footer { margin: 0 clamp(14px, 3vw, 24px); }

  .content {
    max-width: none;
    padding: 24px clamp(14px, 3vw, 24px);
  }

  .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .btn {
    min-height: 44px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .inbound-route-layout {
    grid-template-columns: 1fr;
  }

  .inbound-route-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inbound-route-actions .btn {
    justify-content: center;
    min-height: 44px;
  }

  .call-settings-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .call-recording-settings {
    align-items: flex-start;
    flex-direction: column;
  }

  .call-recording-settings .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .call-history-filters {
    grid-template-columns: 1fr 1fr;
  }

  .call-history-search {
    grid-column: 1 / -1;
  }

  .call-history-filters > .btn {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .credential-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .jack-actions .btn {
    flex: 1;
    min-height: 40px;
    justify-content: center;
  }

  .outbound-extension-table {
    min-width: 0;
  }

  .tutorial-hero {
    grid-template-columns: 1fr;
  }

  .tutorial-hero-map {
    display: flex;
    flex-wrap: wrap;
  }

  .tutorial-hero-map span {
    flex: 1 1 120px;
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-toc {
    position: static;
    max-height: none;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .tutorial-toc-title {
    display: none;
  }

  .tutorial-toc button {
    width: auto;
    min-width: max-content;
    min-height: 40px;
  }

  .tutorial-section {
    scroll-margin-top: 78px;
  }

  .tutorial-term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .dashboard-performance-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header-actions,
  .dashboard-range-form,
  .dashboard-custom-range {
    width: 100%;
  }

  .dashboard-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-export-actions {
    width: 100%;
  }

  .dashboard-export-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .dashboard-range-form {
    align-items: stretch;
  }

  .dashboard-range-preset {
    width: 100%;
  }

  .dashboard-range-preset > .choices,
  .dashboard-range-preset > select {
    width: 100%;
  }

  .dashboard-custom-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-custom-range label {
    width: auto;
  }

  .dashboard-custom-range .btn {
    grid-column: 1 / -1;
  }

  .dashboard-comparison-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }

  .dashboard-talk-chart {
    min-width: 520px;
  }

  .responsive-table {
    min-width: 0;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody tr {
    padding: 6px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-base);
  }

  .responsive-table tbody tr + tr {
    margin-top: 10px;
  }

  .responsive-table td:not([colspan]) {
    display: grid;
    grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .responsive-table td:not([colspan])::before {
    content: attr(data-label);
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .responsive-table td:last-child {
    border-bottom: 0;
  }

  .responsive-table td[colspan] {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  .responsive-table td.row-actions,
  .responsive-table td.table-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .responsive-table td.row-actions::before,
  .responsive-table td.table-actions::before {
    flex: 0 0 100%;
  }

  .responsive-table td.table-actions .btn + .btn {
    margin-left: 0;
  }

  .responsive-table .btn {
    min-height: 40px;
  }

  .call-history-table-wrap {
    overflow: visible;
  }

  .call-history-table-wrap.panel {
    padding: 12px;
  }

  .wave-player {
    width: 100%;
    min-width: 0;
  }

  .call-history-table td[data-label="Kayıt"],
  .announcements-table td[data-label="Dinle / İndir"] {
    grid-template-columns: 1fr;
  }

  .integration-url-cell {
    max-width: none;
    white-space: normal;
    word-break: break-word;
  }

  .entries-header {
    display: none;
  }

  .entry-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-base);
  }

  .entry-row > [data-field="selection"] {
    flex: 0 0 72px;
    min-height: 44px;
  }

  .entry-row > select[data-field="destType"],
  .entry-row > .choices {
    flex: 1 1 160px;
    min-width: 0;
  }

  .entry-row > [data-field="destWrap"] {
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
  }

  .entry-row > [data-field="destWrap"] input,
  .entry-row > [data-field="destWrap"] select,
  .entry-row > [data-field="destWrap"] .choices__inner {
    min-height: 44px;
  }

  .entry-row .entry-return {
    order: 4;
    flex: 1;
    min-height: 44px;
  }

  .entry-row .entry-remove {
    order: 5;
    width: 44px;
    height: 44px;
  }

  .modal-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .modal {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: none !important;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }

  .modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(25, 29, 36, 0.98);
  }

  .modal-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .form-field input[type="text"],
  .form-field input[type="number"],
  .form-field input[type="email"],
  .form-field input[type="tel"],
  .form-field input[type="password"],
  .form-field input[type="url"],
  .form-field input[type="date"],
  .form-field input[type="search"],
  .form-field input[type="file"],
  .form-field textarea,
  .form-field select {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  .settings-tts-preview textarea {
    min-height: 104px;
    padding: 12px;
    font-size: 16px;
  }

  .choices.santral-choices,
  .santral-choices .choices__inner,
  .settings-backup-form .choices.santral-choices,
  .settings-backup-form .santral-choices .choices__inner {
    min-height: 44px;
    font-size: 16px;
  }

  .santral-choices .choices__list--single,
  .settings-backup-form .santral-choices .choices__list--single {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .tutorial-split,
  .tutorial-check-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .settings-section-heading,
  .settings-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-summary-grid {
    grid-template-columns: 1fr;
  }

  .settings-tts-controls {
    grid-template-columns: 1fr;
  }

  .settings-nav-panel,
  .settings-backup-grid {
    grid-template-columns: 1fr;
  }

  .settings-nav-kicker { grid-column: 1; }
  .settings-backup-actions > div { width: 100%; display: grid; grid-template-columns: 1fr; }
  .settings-google-drive-card { grid-template-columns: 38px minmax(0, 1fr); }
  .settings-google-drive-icon { width: 36px; height: 36px; }
  .settings-google-drive-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }

  .settings-tts-preview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-tts-preview-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .settings-form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .content {
    padding: 18px 14px 28px;
  }

  .view-header {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .view-header > .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .view-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .view-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .view-title {
    font-size: 21px;
  }

  .dashboard-kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-performance-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-kpi-card {
    min-height: 145px;
  }

  .dashboard-talk-chart {
    min-width: 480px;
  }

  .dashboard-chart-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-direction-wrap {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-donut {
    width: 100px;
    height: 100px;
  }

  .dashboard-donut > div {
    width: 70px;
    height: 70px;
  }

  .dashboard-donut strong {
    font-size: 20px;
  }

  .dashboard-extension-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding-right: 3px;
    padding-left: 3px;
  }

  .dashboard-extension-info > strong {
    max-width: 180px;
  }

  .dashboard-caller-row {
    grid-template-columns: 20px minmax(0, 1fr) 92px;
  }

  .dashboard-caller-count {
    display: none;
  }

  .tutorial-view-header {
    gap: 12px;
  }

  .tutorial-search-area {
    width: 100%;
    justify-items: stretch;
  }

  .tutorial-search-result { text-align: right; }

  .tutorial-search {
    width: 100%;
  }

  .tutorial-search input {
    height: 44px;
    font-size: 16px;
  }

  .tutorial-hero {
    gap: 20px;
    padding: 20px 16px;
  }

  .tutorial-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tutorial-hero-actions .btn,
  .tutorial-action-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .tutorial-hero-map {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .tutorial-section {
    padding: 16px 13px;
  }

  .tutorial-section-heading {
    gap: 8px;
  }

  .tutorial-section-number {
    min-width: 27px;
  }

  .tutorial-term-grid,
  .tutorial-code-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-field-list > div,
  .tutorial-field-list.small > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .tutorial-card {
    padding: 14px;
  }

  .panel {
    padding: 14px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .stat-card {
    min-width: 0;
    padding: 14px;
  }

  .stat-value {
    font-size: 24px;
  }

  .dashboard-duration,
  .call-talk-total {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .stat-label {
    font-size: 10px;
  }

  .call-history-filters {
    grid-template-columns: 1fr;
  }

  .call-history-search {
    grid-column: auto;
  }

  .call-history-filters > .btn {
    grid-column: auto;
  }

  .topbar-context { display: none; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .profile-button { min-width: 0; flex: 1; }
  .topbar-logout { min-height: 44px; }
  .app-footer { align-items: flex-start; flex-direction: column; }
  .department-grid { grid-template-columns: 1fr; }
  .extension-toolbar > .choices,
  .extension-toolbar > select { width: 100%; }

  .inbound-route-did {
    font-size: clamp(19px, 7vw, 25px);
    overflow-wrap: anywhere;
  }

  .outbound-extension-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .jack-grid {
    grid-template-columns: 1fr;
  }

  .credential-password-row,
  .integration-card-header,
  .integrations-title {
    align-items: stretch;
    flex-direction: column;
  }

  .credential-password-row .btn,
  .integration-card-header .btn,
  .integrations-title .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .responsive-table td:not([colspan]) {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .responsive-table td.row-actions::before,
  .responsive-table td.table-actions::before {
    flex-basis: 100%;
  }

  .responsive-table td.row-actions .btn,
  .responsive-table td.table-actions .btn {
    flex: 1 1 100px;
    justify-content: center;
  }

  .empty-state {
    padding: 34px 10px;
  }

  .login-screen {
    padding: 16px;
  }

  .login-card {
    padding: 22px 18px;
  }

  .toast-container {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
  }

  .toast {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .wave-player {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .wave-player-download {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .wave-player-download span:last-child {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .btn,
  .logout-button,
  .nav-item,
  .modal-close,
  .entry-remove {
    touch-action: manipulation;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .loading-spinner,
  .session-bootstrap-spinner {
    animation: loading-spin 1.2s linear infinite !important;
  }

  .content.is-page-loading::before {
    animation: loading-spin 1.2s linear infinite !important;
  }
}
/* Responsive kurallar burada sona erer. Hareket azaltma tercihi yukarıdaki tek medya sorgusunda ele alınır; bu açıklama dosyanın sonundaki davranışı belgelemek ve mobil erişilebilirlik kararını görünür tutmak için bırakılmıştır. */
nır; bu açıklama dosyanın sonundaki davranışı belgelemek ve mobil erişilebilirlik kararını görünür tutmak için bırakılmıştır. */
ilebilirlik kararını görünür tutmak için bırakılmıştır. */
nın sonundaki davranışı belgelemek ve mobil erişilebilirlik kararını görünür tutmak için bırakılmıştır. */
nır; bu açıklama dosyanın sonundaki davranışı belgelemek ve mobil erişilebilirlik kararını görünür tutmak için bırakılmıştır. */
ilebilirlik kararını görünür tutmak için bırakılmıştır. */
