:root {
  /* Brand */
  --kt-primary: #0b6bcb;
  --kt-primary-light: #e8f2fc;
  --kt-primary-active: #0958a8;
  --kt-success: #0d9f6e;
  --kt-success-light: #e8fff3;
  --kt-danger: #c62828;
  --kt-danger-light: #fdecea;
  --kt-warning: #b45309;
  --kt-warning-light: #fff7ed;
  --kt-info: #1d4ed8;
  --kt-info-light: #eff6ff;
  --kt-dark: #0f172a;
  --kt-gray-100: #f8fafc;
  --kt-gray-200: #e2e8f0;
  --kt-gray-300: #cbd5e1;
  --kt-gray-400: #94a3b8;
  --kt-gray-500: #64748b;
  --kt-gray-600: #475569;
  --kt-gray-700: #334155;
  --kt-gray-800: #1e293b;
  --kt-gray-900: #0f172a;
  --kt-sidebar: #0f172a;
  --kt-sidebar-hover: #1e293b;
  --kt-sidebar-active: #1e293b;
  --kt-body: #f1f5f9;
  --kt-card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  --kt-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --kt-radius: 12px;
  --kt-header-h: 64px;
  --kt-sidebar-w: 256px;
  --kt-toolbar-h: auto;

  /* Sabit boşluk ölçeği — tüm panelde aynı */
  --sas-space-1: 4px;
  --sas-space-2: 8px;
  --sas-space-3: 12px;
  --sas-space-4: 16px;
  --sas-space-5: 20px;
  --sas-space-6: 24px;
  --sas-space-7: 32px;
  --sas-space-8: 40px;
  --sas-pad-x: 24px;
  --sas-pad-y: 24px;
  --sas-gap: 16px;
  --sas-card-pad: 20px;
  --sas-max: 1280px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--kt-font);
  color: var(--kt-gray-800);
  background: var(--kt-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--kt-primary); text-decoration: none; }
a:hover { color: var(--kt-primary-active); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ===== APP SHELL ===== */
.kt-app {
  min-height: 100vh;
  display: flex;
  background: var(--kt-body);
}

.kt-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--kt-sidebar-w);
  background: var(--kt-sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform .25s ease;
}

.kt-sidebar-brand {
  height: var(--kt-header-h);
  display: flex;
  align-items: center;
  gap: var(--sas-space-3);
  padding: 0 var(--sas-pad-x);
  text-decoration: none;
  color: #fff !important;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.kt-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b6bcb 0%, #0d9f6e 100%);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.02em;
  box-shadow: 0 4px 12px rgba(11,107,203,.35);
}
.kt-brand-text { display: grid; line-height: 1.15; }
.kt-brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.kt-brand-text span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 1px;
}

.kt-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--sas-space-4) 0 var(--sas-space-5);
}
.kt-sidebar-nav::-webkit-scrollbar { width: 4px; }
.kt-sidebar-nav::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

.kt-menu-section { margin: 0 0 var(--sas-space-2); }
.kt-menu-section-title {
  padding: 0 var(--sas-pad-x);
  margin: var(--sas-space-3) 0 var(--sas-space-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.kt-menu-link {
  display: flex;
  align-items: center;
  gap: var(--sas-space-3);
  margin: 0 var(--sas-space-3) 2px;
  padding: 10px var(--sas-space-3);
  border-radius: 10px;
  color: #94a3b8 !important;
  font-weight: 500;
  font-size: 13px;
  transition: color .15s ease, background .15s ease;
}
.kt-menu-link i {
  font-size: 16px;
  width: 22px;
  text-align: center;
  opacity: .9;
}
.kt-menu-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff !important;
}
.kt-menu-link.active {
  background: var(--kt-primary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(11,107,203,.35);
}
.kt-menu-link.active i { opacity: 1; }

.kt-sidebar-footer {
  padding: var(--sas-space-4) var(--sas-pad-x) var(--sas-space-5);
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.kt-role-chip {
  display: flex;
  align-items: center;
  gap: var(--sas-space-3);
  padding: var(--sas-space-3);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}
.kt-role-chip .avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #009ef7, #7239ea);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.kt-role-chip .meta { display: grid; line-height: 1.25; min-width: 0; }
.kt-role-chip .meta strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.kt-role-chip .meta span { font-size: 11px; color: #565674; }

/* ===== MAIN ===== */
.kt-wrapper {
  flex: 1;
  margin-left: var(--kt-sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--kt-body);
}

.kt-header {
  height: var(--kt-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sas-space-4);
  padding: 0 var(--sas-pad-x);
  background: #fff;
  border-bottom: 1px solid var(--kt-gray-200);
  position: sticky;
  top: 0;
  z-index: 90;
}

.kt-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.kt-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--kt-gray-100);
  color: var(--kt-gray-700);
  cursor: pointer;
  place-items: center;
  font-size: 18px;
}
.kt-menu-toggle:hover { background: var(--kt-gray-200); }

.kt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--kt-gray-500);
}
.kt-breadcrumb a { color: var(--kt-gray-600); font-weight: 500; }
.kt-breadcrumb a:hover { color: var(--kt-primary); }
.kt-breadcrumb .sep { color: var(--kt-gray-400); font-size: 11px; }
.kt-breadcrumb .current { color: var(--kt-gray-800); font-weight: 600; }

.kt-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kt-site-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--kt-primary-light);
  color: var(--kt-primary);
  font-size: 12px;
  font-weight: 600;
}
.kt-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 8px;
  cursor: default;
}
.kt-user-menu .avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #009ef7, #50cd89);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.kt-user-menu .meta { display: grid; line-height: 1.2; }
.kt-user-menu .meta strong { font-size: 12px; font-weight: 600; color: var(--kt-gray-800); }
.kt-user-menu .meta span { font-size: 11px; color: var(--kt-gray-500); }

.kt-content {
  padding: var(--sas-pad-y) var(--sas-pad-x) var(--sas-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--sas-gap);
  max-width: var(--sas-max);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* sas-page-head varsa üst toolbar başlığını gizle (çift başlık olmasın) */
.kt-content:has(> .sas-page-head) > .kt-toolbar,
.kt-content:has(> .mod-nav) > .kt-toolbar {
  display: none;
}

.kt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sas-space-4);
  flex-wrap: wrap;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  margin: 0 0 var(--sas-space-2);
}
.kt-page-title h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--kt-gray-900);
  line-height: 1.25;
  font-family: var(--kt-font);
}
.kt-page-title p {
  margin-top: var(--sas-space-1);
  color: var(--kt-gray-500);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 48rem;
}
.kt-toolbar-actions { display: flex; gap: var(--sas-space-2); flex-wrap: wrap; align-items: center; }

.kt-content > section,
.kt-content > .kt-card,
.kt-content > .kt-grid-2,
.kt-content > .kt-stats,
.kt-content > .kt-role-grid,
.kt-content > .kt-detail-hero,
.kt-content > .kt-detail-grid,
.kt-content > .kt-alert,
.kt-content > .kt-pager,
.kt-content > .mod-nav,
.kt-content > .sas-page-head,
.kt-content > .sas-summary-strip,
.kt-content > .ob-status,
.kt-content > .ob-guide {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.kt-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .15s ease;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.kt-btn-primary {
  background: var(--kt-primary);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(11,107,203,.28);
}
.kt-btn-primary:hover {
  background: var(--kt-primary-active);
  color: #fff !important;
}
.kt-btn-light {
  background: #fff;
  color: var(--kt-gray-700) !important;
  border: 1px solid var(--kt-gray-200);
}
.kt-btn-light:hover {
  background: var(--kt-gray-100);
  color: var(--kt-gray-900) !important;
}
.kt-btn-success { background: var(--kt-success); color: #fff !important; }
.kt-btn-danger { background: var(--kt-danger); color: #fff !important; }
.kt-btn-sm { padding: 7px 12px; font-size: 12px; }

/* ===== CARDS ===== */
.kt-card {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-card-shadow);
}
.kt-card-header {
  padding: var(--sas-card-pad);
  border-bottom: 1px solid var(--kt-gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sas-space-3);
  min-height: 0;
}
.kt-card-header h2,
.kt-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--kt-gray-900);
  letter-spacing: -0.01em;
}
.kt-card-body { padding: var(--sas-card-pad); }
.kt-card-flush .kt-card-body { padding: 0; }

/* ===== STATS ===== */
.kt-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sas-gap);
}
.kt-stat {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: var(--kt-radius);
  padding: var(--sas-card-pad);
  box-shadow: var(--kt-card-shadow);
  display: flex;
  gap: var(--sas-space-4);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.kt-stat::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: .06;
  background: currentColor;
  pointer-events: none;
}
.kt-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.kt-stat-icon.primary { background: var(--kt-primary-light); color: var(--kt-primary); }
.kt-stat-icon.success { background: var(--kt-success-light); color: var(--kt-success); }
.kt-stat-icon.warning { background: var(--kt-warning-light); color: #c9a000; }
.kt-stat-icon.danger { background: var(--kt-danger-light); color: var(--kt-danger); }
.kt-stat .label {
  display: block;
  color: var(--kt-gray-500);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}
.kt-stat .value {
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-gray-900);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.kt-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== TABLE ===== */
.kt-table-wrap { overflow: auto; }
table.kt-table {
  width: 100%;
  border-collapse: collapse;
}
table.kt-table th,
table.kt-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--kt-gray-200);
  font-size: 13px;
  vertical-align: middle;
  white-space: nowrap;
}
table.kt-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--kt-gray-500);
  background: #fcfcfd;
}
table.kt-table tbody tr:last-child td { border-bottom: 0; }
table.kt-table tbody tr:hover td { background: #fafbfd; }
table.kt-table a { font-weight: 600; }

/* ===== BADGES ===== */
.kt-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
.kt-badge-light-success { background: var(--kt-success-light); color: #0d8a4f; }
.kt-badge-light-danger { background: var(--kt-danger-light); color: #d9214e; }
.kt-badge-light-primary { background: var(--kt-primary-light); color: #0077c0; }
.kt-badge-light-warning { background: var(--kt-warning-light); color: #92700c; }
.kt-badge-light-info { background: var(--kt-info-light); color: #5014d0; }

.kt-toolbar-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.kt-search {
  display: flex;
  gap: 8px;
  align-items: center;
}
.kt-input {
  border: 1px solid var(--kt-gray-300);
  border-radius: 6px;
  padding: 9px 14px;
  min-width: 260px;
  background: #fff;
  color: var(--kt-gray-800);
  outline: none;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
.kt-input:focus {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 3px rgba(0,158,247,.12);
}

.kt-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  flex-wrap: wrap;
  background: #fff;
  border-radius: var(--kt-radius);
  padding: 24px 25px;
  box-shadow: var(--kt-card-shadow);
}
.kt-detail-hero h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--kt-gray-900);
  letter-spacing: -.02em;
}
.kt-muted { color: var(--kt-gray-500); font-size: 13px; }

.kt-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.kt-detail-grid .item {
  background: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: var(--kt-card-shadow);
}
.kt-detail-grid .item span {
  display: block;
  color: var(--kt-gray-500);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.kt-detail-grid .item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--kt-gray-900);
  word-break: break-word;
}

.kt-list { display: grid; }
.kt-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--kt-gray-200);
  font-size: 13px;
}
.kt-list li:last-child { border-bottom: 0; }
.kt-list span { color: var(--kt-gray-600); font-weight: 500; }
.kt-list strong { color: var(--kt-gray-900); font-weight: 700; }

.kt-pager {
  display: flex;
  gap: 12px;
  align-items: center;
}
.kt-alert {
  padding: var(--sas-space-3) var(--sas-space-4);
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
}
.kt-alert-danger {
  background: var(--kt-danger-light);
  color: var(--kt-danger);
  border: 1px solid rgba(198,40,40,.18);
}
.kt-alert-info {
  background: var(--kt-primary-light);
  color: var(--kt-primary-active);
  border: 1px solid rgba(11,107,203,.16);
}

.kt-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.kt-role-card {
  background: #fff;
  border-radius: var(--kt-radius);
  padding: 24px;
  box-shadow: var(--kt-card-shadow);
  display: grid;
  gap: 14px;
  border: 1px solid transparent;
  transition: border-color .15s, box-shadow .15s;
}
.kt-role-card.is-live {
  border-color: rgba(80,205,137,.4);
  box-shadow: 0 0 0 4px rgba(80,205,137,.06);
}
.kt-role-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kt-role-card-top .avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #009ef7, #50cd89);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.kt-role-card-top h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--kt-gray-900);
  margin-bottom: 6px;
}
.kt-role-card-foot {
  padding-top: 12px;
  border-top: 1px dashed var(--kt-gray-200);
}
.kt-role-card .kt-list li { padding: 8px 0; }

.kt-sidebar-backdrop { display: none; }

/* ===== LOGIN ===== */
.kt-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.kt-login-aside {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(0,158,247,.4), transparent 55%),
    radial-gradient(700px 420px at 90% 100%, rgba(80,205,137,.28), transparent 50%),
    radial-gradient(500px 300px at 50% 50%, rgba(114,57,234,.18), transparent 60%),
    linear-gradient(160deg, #1e1e2d 0%, #151521 50%, #0f0f18 100%);
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.kt-login-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}
.kt-login-aside > * { position: relative; z-index: 1; }
.kt-login-aside .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.kt-login-aside h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.kt-login-aside p {
  margin: 0;
  color: rgba(255,255,255,.65);
  max-width: 440px;
  line-height: 1.7;
  font-size: 15px;
}
.kt-login-form-wrap {
  display: grid;
  place-items: center;
  padding: 48px 32px;
  background: #fff;
}
.kt-login-card { width: min(420px, 100%); }
.kt-login-card h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--kt-gray-900);
  letter-spacing: -.03em;
}
.kt-login-card .lede {
  margin: 0 0 32px;
  color: var(--kt-gray-500);
  font-size: 14px;
}
.kt-form-label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-gray-700);
}
.kt-form-label input {
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.kt-form-label input:focus {
  outline: none;
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 4px rgba(0,158,247,.12);
}
.kt-form-label select,
select.kt-input {
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  width: 100%;
}
.text-danger { color: var(--kt-danger) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .kt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .kt-grid-2, .kt-role-grid { grid-template-columns: 1fr; }
  .kt-login { grid-template-columns: 1fr; }
  .kt-login-aside { min-height: 280px; padding: 40px; }
}
@media (max-width: 900px) {
  .kt-menu-toggle { display: grid; }
  .kt-sidebar { transform: translateX(-105%); }
  .kt-app.sidebar-open .kt-sidebar { transform: translateX(0); }
  .kt-wrapper { margin-left: 0; }
  .kt-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(24,28,50,.5);
    z-index: 99;
    backdrop-filter: blur(2px);
  }
  .kt-site-pill,
  .kt-user-menu .meta { display: none; }
  .kt-stats,
  .kt-detail-grid { grid-template-columns: 1fr; }
  .kt-input { min-width: 0; width: 100%; }
  :root {
    --sas-pad-x: 16px;
    --sas-pad-y: 16px;
    --sas-gap: 14px;
    --sas-card-pad: 16px;
  }
  .kt-header { padding-left: var(--sas-pad-x); padding-right: var(--sas-pad-x); }
  .kt-content > section,
  .kt-content > .kt-card,
  .kt-content > .kt-grid-2,
  .kt-content > .kt-stats,
  .kt-content > .kt-role-grid,
  .kt-content > .kt-detail-hero,
  .kt-content > .kt-detail-grid,
  .kt-content > .kt-alert,
  .kt-content > .kt-pager {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===== RISK SCANNER ===== */
.risk-scanner {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(0,158,247,.12), transparent 60%),
    radial-gradient(480px 200px at 90% 100%, rgba(241,65,108,.08), transparent 55%),
    #fff;
}
.risk-scanner-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.risk-scanner-copy h2 {
  margin: 10px 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--kt-gray-900);
}
.risk-scanner-copy p {
  margin: 0;
  max-width: 520px;
  color: var(--kt-gray-500);
  font-size: 13px;
  line-height: 1.55;
}
.risk-scanner-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.risk-scan-field {
  position: relative;
  min-width: min(320px, 100%);
}
.risk-scan-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--kt-gray-500);
}
.risk-scan-field input {
  width: 100%;
  border: 1px solid var(--kt-gray-300);
  border-radius: 10px;
  padding: 13px 14px 13px 40px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.risk-scan-field input:focus {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 4px rgba(0,158,247,.12);
}
.risk-live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-gray-600);
  white-space: nowrap;
}
.risk-scan-beam {
  position: absolute;
  left: -20%;
  top: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,158,247,.12), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.risk-scanner.is-scanning .risk-scan-beam {
  animation: riskBeam 1.1s ease-in-out infinite;
}
@keyframes riskBeam {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

.risk-scan-result {
  background: #fff;
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-card-shadow);
  padding: 22px 24px;
  display: grid;
  gap: 18px;
}
.risk-scan-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.risk-scan-user {
  display: flex;
  gap: 12px;
  align-items: center;
}
.risk-scan-user .avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #009ef7, #50cd89);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.risk-scan-user h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.risk-score-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}
.risk-score {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  border: 4px solid var(--kt-success);
  background: var(--kt-success-light);
  line-height: 1.05;
}
.risk-score[data-level="medium"] {
  border-color: var(--kt-warning);
  background: var(--kt-warning-light);
}
.risk-score[data-level="high"] {
  border-color: var(--kt-danger);
  background: var(--kt-danger-light);
}
.risk-score strong { font-size: 20px; font-weight: 800; }
.risk-score span { font-size: 10px; color: var(--kt-gray-600); font-weight: 600; text-transform: uppercase; }

  .risk-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.risk-check {
  border: 2px solid var(--kt-gray-200);
  border-radius: 12px;
  padding: 14px;
  background: #fcfcfd;
  opacity: 0;
  transform: translateY(10px);
  animation: riskPop .35s ease forwards;
}
@keyframes riskPop {
  to { opacity: 1; transform: translateY(0); }
}
.risk-check.is-ok {
  border-color: #17c653;
  background: linear-gradient(180deg, #e8fff3 0%, #fcfcfd 55%);
  box-shadow: 0 0 0 1px rgba(23, 198, 83, 0.15);
}
.risk-check.is-info {
  border-color: #17c653;
  background: linear-gradient(180deg, #f0fff6 0%, #fcfcfd 55%);
}
.risk-check.is-warn {
  border-color: #f6c000;
  background: linear-gradient(180deg, #fff8dd 0%, #fcfcfd 55%);
  animation: riskPop .35s ease forwards, riskPulseWarn 1.2s ease-in-out infinite;
}
.risk-check.is-danger {
  border-color: #f1416c;
  background: linear-gradient(180deg, #ffeef3 0%, #fcfcfd 55%);
  animation: riskPop .35s ease forwards, riskPulseDanger 1.1s ease-in-out infinite;
}
@keyframes riskPulseWarn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(246, 192, 0, 0.55), 0 0 0 1px rgba(246, 192, 0, 0.35);
    border-color: #f6c000;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(246, 192, 0, 0), 0 0 12px rgba(246, 192, 0, 0.55);
    border-color: #ffd84d;
  }
}
@keyframes riskPulseDanger {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(241, 65, 108, 0.55), 0 0 0 1px rgba(241, 65, 108, 0.35);
    border-color: #f1416c;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(241, 65, 108, 0), 0 0 14px rgba(241, 65, 108, 0.65);
    border-color: #ff6b8a;
  }
}
@media (prefers-reduced-motion: reduce) {
  .risk-check.is-warn,
  .risk-check.is-danger {
    animation: riskPop .35s ease forwards;
  }
}
.risk-check-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.risk-check-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--kt-gray-100);
  color: var(--kt-gray-700);
}
.risk-check h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--kt-gray-900);
}
.risk-check p {
  margin: 0;
  font-size: 12px;
  color: var(--kt-gray-600);
  line-height: 1.45;
  min-height: 34px;
}
.risk-check-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.risk-check.is-ok .risk-check-badge { background: var(--kt-success-light); color: #0d8a4f; }
.risk-check.is-info .risk-check-badge { background: var(--kt-success-light); color: #0d8a4f; }
.risk-check.is-warn .risk-check-badge { background: var(--kt-warning-light); color: #92700c; }
.risk-check.is-danger .risk-check-badge { background: var(--kt-danger-light); color: #d9214e; }
.risk-check.is-ok .risk-check-icon { background: var(--kt-success-light); color: var(--kt-success); }
.risk-check.is-info .risk-check-icon { background: var(--kt-success-light); color: var(--kt-success); }
.risk-check.is-warn .risk-check-icon { background: var(--kt-warning-light); color: #c9a000; }
.risk-check.is-danger .risk-check-icon { background: var(--kt-danger-light); color: var(--kt-danger); }
.risk-check-bar {
  margin-top: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--kt-gray-200);
  overflow: hidden;
}
.risk-check-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--kt-primary);
  animation: riskBar .7s ease forwards;
}
.risk-check.is-ok .risk-check-bar span,
.risk-check.is-info .risk-check-bar span { background: var(--kt-success); }
.risk-check.is-warn .risk-check-bar span { background: var(--kt-warning); }
.risk-check.is-danger .risk-check-bar span { background: var(--kt-danger); }
@keyframes riskBar {
  to { width: 100%; }
}
.risk-scan-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-gray-500);
}
.risk-scan-result.is-scanning .risk-scan-status {
  color: var(--kt-primary);
}
.risk-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  display: inline-block;
  animation: riskSpin .7s linear infinite;
}
@keyframes riskSpin { to { transform: rotate(360deg); } }
.risk-quick-user {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--kt-primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-right: 10px;
}
.risk-quick-user:hover { text-decoration: underline; }

/* —— Bireysel risk raporu (rr) —— theme + tone frames —— */
@keyframes rrBlinkDanger {
  0%, 100% {
    border-color: #f1416c;
    box-shadow: 0 0 0 0 rgba(241, 65, 108, 0.55), 0 0 0 1px rgba(241, 65, 108, 0.28);
  }
  50% {
    border-color: #ff6b8a;
    box-shadow: 0 0 0 7px rgba(241, 65, 108, 0), 0 0 18px rgba(241, 65, 108, 0.55);
  }
}
@keyframes rrShakeWarn {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
}
@keyframes rrPulseWarn {
  0%, 100% {
    border-color: #f6c000;
    box-shadow: 0 0 0 0 rgba(246, 192, 0, 0.5), 0 0 0 1px rgba(246, 192, 0, 0.3);
  }
  50% {
    border-color: #ffd84d;
    box-shadow: 0 0 0 6px rgba(246, 192, 0, 0), 0 0 14px rgba(246, 192, 0, 0.45);
  }
}
@keyframes rrPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(241, 65, 108, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(241, 65, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(241, 65, 108, 0); }
}

.rr-tone-danger {
  border: 2px solid #f1416c !important;
  background: linear-gradient(180deg, #ffeef3 0%, #fff 52%) !important;
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-tone-warn {
  border: 2px solid #f6c000 !important;
  background: linear-gradient(180deg, #fff8dd 0%, #fff 55%) !important;
  animation: rrPulseWarn 1.2s ease-in-out infinite, rrShakeWarn 1.6s ease-in-out infinite;
}
.rr-tone-ok {
  border: 2px solid #17c653 !important;
  background: linear-gradient(180deg, #e8fff3 0%, #fff 55%) !important;
  box-shadow: 0 0 0 1px rgba(23, 198, 83, 0.18);
}
.rr-tone-info {
  border: 2px solid rgba(0, 158, 247, 0.45) !important;
  background: linear-gradient(180deg, #f1faff 0%, #fff 55%) !important;
}

.rr-search {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
}
.rr-search-copy h1 {
  margin: 4px 0 6px;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-dark);
}
.rr-search-copy p {
  margin: 0;
  color: var(--kt-gray-600);
  max-width: 460px;
  font-size: 14px;
  line-height: 1.45;
}
.rr-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kt-primary);
}
.rr-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.rr-search-field {
  position: relative;
  min-width: min(340px, 100%);
}
.rr-search-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--kt-gray-500);
}
.rr-search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border-radius: 10px;
  border: 1px solid var(--kt-gray-300);
  background: #fff;
  font-size: 14px;
  outline: none;
}
.rr-search-field input:focus {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12);
}
.rr-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--kt-gray-700);
  white-space: nowrap;
}
.rr-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--kt-gray-600);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--kt-gray-200);
}

.rr {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rr-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
}
.rr-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.rr-name {
  margin: 0;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-dark);
}
.rr-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.rr-score em { font-style: normal; font-size: 15px; font-weight: 700; }
.rr-score-danger {
  background: var(--kt-danger-light);
  color: #d9214e;
  border: 1px solid #f1416c;
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-score-warning {
  background: var(--kt-warning-light);
  color: #92700c;
  border: 1px solid #f6c000;
  animation: rrPulseWarn 1.2s ease-in-out infinite, rrShakeWarn 1.6s ease-in-out infinite;
}
.rr-score-success {
  background: var(--kt-success-light);
  color: #0d8a4f;
  border: 1px solid #17c653;
}
.rr-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0 0;
  color: var(--kt-gray-600);
  font-size: 13px;
}
.rr-sub code {
  color: var(--kt-gray-800);
  background: var(--kt-gray-100);
  padding: 1px 6px;
  border-radius: 4px;
}
.rr-kyc { margin: 10px 0 0; font-size: 13px; font-weight: 600; }
.rr-kyc.is-ok { color: #0d8a4f; }
.rr-kyc.is-bad { color: #d9214e; }
.rr-balance {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--kt-primary-light);
  border: 1px solid rgba(0, 158, 247, 0.14);
}
.rr-balance-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kt-gray-600);
  margin-bottom: 4px;
}
.rr-balance-value {
  display: block;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-dark);
  margin-bottom: 12px;
}
.rr-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rr-balance-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}
.rr-balance-grid span { color: var(--kt-gray-600); }
.rr-balance-grid b { font-weight: 600; color: var(--kt-gray-800); }
.rr-bo-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
}

.rr-alert-open {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffeef3 0%, #fff 60%);
  border: 2px solid #f1416c;
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-alert-open-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rr-alert-open-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9214e;
}
.rr-alert-open-head strong { display: block; font-size: 14px; }
.rr-alert-open-head small {
  display: block;
  margin-top: 2px;
  color: var(--kt-gray-600);
  font-size: 12px;
}
.rr-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f1416c;
  animation: rrPulseDot 1.5s infinite;
}

.rr-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rr-kpi {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
}
.rr-kpi span {
  display: block;
  font-size: 12px;
  color: var(--kt-gray-600);
  margin-bottom: 6px;
}
.rr-kpi strong {
  display: block;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-dark);
}
.rr-kpi em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--kt-gray-500);
}
.rr-kpi.is-danger,
.rr-kpi.rr-tone-danger {
  border: 2px solid #f1416c;
  background: linear-gradient(180deg, #ffeef3 0%, #fff 60%);
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-kpi.is-danger strong,
.rr-kpi.rr-tone-danger strong { color: #d9214e; }
.rr-kpi.is-warn,
.rr-kpi.rr-tone-warn {
  border: 2px solid #f6c000;
  background: linear-gradient(180deg, #fff8dd 0%, #fff 60%);
  animation: rrPulseWarn 1.2s ease-in-out infinite, rrShakeWarn 1.6s ease-in-out infinite;
}
.rr-kpi.is-ok,
.rr-kpi.rr-tone-ok {
  border: 2px solid #17c653;
  background: linear-gradient(180deg, #e8fff3 0%, #fff 60%);
  box-shadow: 0 0 0 1px rgba(23, 198, 83, 0.15);
}
.rr-kpi.is-ok strong { color: #0d8a4f; }

.rr-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rr-signal {
  max-width: none;
  flex: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  font-size: 12px;
  min-height: 84px;
}
.rr-signal strong { display: block; margin-bottom: 2px; font-size: 13px; }
.rr-signal.is-danger {
  background: linear-gradient(180deg, #ffeef3 0%, #fff 70%);
  border: 2px solid #f1416c;
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-signal.is-warn {
  background: linear-gradient(180deg, #fff8dd 0%, #fff 70%);
  border: 2px solid #f6c000;
  animation: rrPulseWarn 1.2s ease-in-out infinite, rrShakeWarn 1.6s ease-in-out infinite;
}
.rr-signal.is-info {
  background: linear-gradient(180deg, #f1faff 0%, #fff 70%);
  border: 2px solid rgba(0, 158, 247, 0.45);
}
.rr-signal.is-ok {
  background: linear-gradient(180deg, #e8fff3 0%, #fff 70%);
  border: 2px solid #17c653;
  box-shadow: 0 0 0 1px rgba(23, 198, 83, 0.12);
}

.rr-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.rr-jump a {
  font-size: 12px;
  font-weight: 600;
  color: var(--kt-gray-700);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.rr-jump a:hover {
  color: var(--kt-primary);
  border-color: rgba(0, 158, 247, 0.35);
}

.rr-card {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.rr-card.rr-tone-danger {
  border: 2px solid #f1416c;
  background: linear-gradient(180deg, #ffeef3 0%, #fff 42%);
  animation: rrBlinkDanger 1.1s ease-in-out infinite;
}
.rr-card.rr-tone-warn {
  border: 2px solid #f6c000;
  background: linear-gradient(180deg, #fff8dd 0%, #fff 42%);
  animation: rrPulseWarn 1.2s ease-in-out infinite, rrShakeWarn 1.6s ease-in-out infinite;
}
.rr-card.rr-tone-ok {
  border: 2px solid #17c653;
  background: linear-gradient(180deg, #e8fff3 0%, #fff 42%);
  box-shadow: 0 0 0 1px rgba(23, 198, 83, 0.16);
}
.rr-card.rr-tone-info {
  border: 2px solid rgba(0, 158, 247, 0.45);
  background: linear-gradient(180deg, #f1faff 0%, #fff 42%);
}
.rr-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--kt-gray-200);
}
.rr-card-head h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--kt-dark);
}
.rr-card-desc {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--kt-gray-500);
  line-height: 1.35;
}
.rr-head-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}
.rr-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kt-gray-500);
  padding: 0 16px;
}
.rr-block-pad {
  padding-top: 14px;
  padding-bottom: 8px;
}
.rr-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--kt-gray-200);
}
.rr-pay-col {
  min-width: 0;
  border-right: 1px solid var(--kt-gray-200);
  padding-top: 12px;
}
.rr-pay-col:last-child { border-right: 0; }
.rr-pay-col .rr-block-label { padding-bottom: 8px; }
.rr-subhead { border-top: 1px solid var(--kt-gray-200); }
.rr-card-body { padding: 14px 16px; }
.rr-muted { color: var(--kt-gray-500); text-align: center; padding: 18px; }
.rr-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--kt-gray-600);
  line-height: 1.45;
}
.rr-note.is-ok { color: #0d8a4f; }
.rr-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--kt-gray-100);
  color: var(--kt-gray-700);
  white-space: nowrap;
}
.rr-pill-danger { background: var(--kt-danger-light); color: #d9214e; }
.rr-pill-ok { background: var(--kt-success-light); color: #0d8a4f; }
.rr-pill-warn { background: var(--kt-warning-light); color: #92700c; }

.rr-ops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.rr-ops > .rr-card:only-child,
.rr-ops-span-2 {
  grid-column: span 2;
}
.rr-ops-span-3,
.rr-ops > .rr-card.rr-span-full,
.rr-card.rr-span-full {
  grid-column: 1 / -1;
}
.rr-form-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}
.rr-doc-upload {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #fafbfd;
  border: 1px solid var(--kt-gray-200);
}
.rr-doc-upload .rr-doc-chips {
  margin: 0;
}
.rr-doc-chip {
  appearance: none;
  border: 1px solid var(--kt-gray-300);
  background: #fff;
  color: var(--kt-gray-800);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.rr-doc-chip.is-active {
  border-color: var(--kt-primary);
  background: var(--kt-primary-light);
  color: var(--kt-primary-active);
}
.rr-doc-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  grid-column: 1 / -1;
}
.rr-doc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.rr-inline-forms {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.rr-case-form {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.rr-case-form select,
.rr-case-form input {
  min-height: 32px;
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff;
}
.rr-case-form input { min-width: 100px; max-width: 160px; }

.rr-hero.rr-tone-danger,
.rr-hero.rr-tone-warn,
.rr-hero.rr-tone-ok {
  border-width: 2px;
}

.rr-kind-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--kt-gray-200);
  background: #fafbfd;
}
.rr-kind-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
}
.rr-kind-chip strong { font-size: 13px; color: var(--kt-dark); }
.rr-kind-chip span,
.rr-kind-chip em {
  font-size: 12px;
  color: var(--kt-gray-600);
  font-style: normal;
}

.rr-wager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rr-metric {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--kt-gray-200);
  font-size: 13px;
}
.rr-metric span { color: var(--kt-gray-600); }
.rr-progress {
  height: 7px;
  margin: 0 16px 16px;
  border-radius: 999px;
  background: var(--kt-gray-200);
  overflow: hidden;
}
.rr-progress i {
  display: block;
  height: 100%;
  background: var(--kt-primary);
}

.rr-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rr-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #1a1d24;
}
.rr-board-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}
.rr-board-row.is-zero {
  grid-template-columns: 1fr;
  max-width: 56px;
  margin: 0 auto 4px;
}
.rr-pocket {
  position: relative;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  opacity: 0.5;
}
.rr-pocket.is-red { background: #c62828; }
.rr-pocket.is-black { background: #222; }
.rr-pocket.is-green { background: #1b7a3d; }
.rr-pocket.is-hit {
  opacity: 1;
  outline: 2px solid #ffc700;
  outline-offset: 0;
}
.rr-pocket em {
  position: absolute;
  top: 1px;
  right: 2px;
  font-style: normal;
  font-size: 9px;
  color: #ffc700;
}
.rr-num-hit { color: #c62828; font-size: 14px; }

.rr-table-wrap { overflow: auto; }
.rr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.rr-table th,
.rr-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--kt-gray-200);
  text-align: left;
  white-space: nowrap;
}
.rr-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kt-gray-500);
  background: #fafbfd;
}
.rr-table-compact td,
.rr-table-compact th { padding: 8px 12px; }
.rr-game-cell { display: flex; flex-direction: column; gap: 2px; }
.rr-game-cell span { font-size: 11px; color: var(--kt-gray-500); }
.rr-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--kt-gray-100);
  color: var(--kt-gray-700);
  font-size: 11px;
  font-weight: 600;
}
.rr-tag.is-danger { background: var(--kt-danger-light); color: #d9214e; }
.rr-tag.is-warn { background: var(--kt-warning-light); color: #92700c; }
.rr-tag.is-ok { background: var(--kt-success-light); color: #0d8a4f; }
.is-pos { color: #0d8a4f !important; font-weight: 600; }
.is-neg { color: #d9214e !important; font-weight: 600; }

.rr-shared {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--kt-gray-200);
}
.rr-shared strong {
  display: block;
  margin-bottom: 8px;
  color: #d9214e;
  font-size: 13px;
}
.rr-shared ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rr-shared li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .rr-hero,
  .rr-grid-2,
  .rr-ops,
  .rr-kpis,
  .rr-signals,
  .rr-wager,
  .rr-form-grid,
  .rr-pay-grid { grid-template-columns: 1fr; }
  .rr-pay-col { border-right: 0; border-bottom: 1px solid var(--kt-gray-200); }
  .rr-pay-col:last-child { border-bottom: 0; }
  .rr-ops > .rr-card:only-child,
  .rr-ops-span-2,
  .rr-ops-span-3,
  .rr-ops > .rr-card.rr-span-full { grid-column: auto; }
}
@media (max-width: 700px) {
  .rr-search { padding: 16px; }
  .rr-search-form { width: 100%; }
  .rr-search-field { min-width: 100%; flex: 1 1 100%; }
  .rr-board-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rr-hero { padding: 16px; }
  .rr-balance-value { font-size: 1.35rem; }
  .rr-name { font-size: 1.25rem; }
  .rr-table th,
  .rr-table td { padding: 8px 10px; }
  .rr-case-form { width: 100%; }
  .rr-case-form input { max-width: none; flex: 1 1 120px; }
  .rr-doc-actions { justify-content: stretch; }
  .rr-doc-actions .kt-btn { width: 100%; }
  .rr-head-stats { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-tone-danger,
  .rr-tone-warn,
  .rr-alert-open,
  .rr-kpi.is-danger,
  .rr-kpi.is-warn,
  .rr-kpi.rr-tone-danger,
  .rr-kpi.rr-tone-warn,
  .rr-signal.is-danger,
  .rr-signal.is-warn,
  .rr-card.rr-tone-danger,
  .rr-card.rr-tone-warn,
  .rr-score-danger,
  .rr-score-warning {
    animation: none !important;
  }
}

@media (max-width: 1200px) {
  .risk-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .risk-check-grid { grid-template-columns: 1fr; }
  .risk-scan-field { min-width: 100%; }
}

/* ===== Module chrome (players / aff / otobonus / cdn / ggr / telegram) ===== */
.mod-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sas-space-2);
  margin: 0;
  padding: var(--sas-space-2);
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-card-shadow);
}
.mod-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kt-gray-700);
  background: transparent;
  text-decoration: none;
  border: 1px solid transparent;
}
.mod-nav a:hover {
  color: var(--kt-primary);
  background: var(--kt-primary-light);
}
.mod-nav a.is-active {
  color: #fff;
  background: var(--kt-primary);
  border-color: var(--kt-primary);
}
.mod-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.mod-kpi {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  padding: 16px 18px;
}
.mod-kpi .label {
  display: block;
  font-size: 12px;
  color: var(--kt-gray-600);
  margin-bottom: 6px;
}
.mod-kpi .value {
  display: block;
  font-family: "Plus Jakarta Sans", var(--kt-font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-dark);
}
.mod-kpi .meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--kt-gray-500);
}
.mod-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}
.mod-filter .kt-form-label { margin: 0; min-width: 140px; }
.mod-stack { display: grid; gap: 16px; }
.mod-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--kt-primary-light);
  border: 1px solid rgba(0, 158, 247, 0.18);
  color: var(--kt-gray-700);
  font-size: 13px;
  line-height: 1.45;
}
.mod-note.is-warn {
  background: var(--kt-warning-light);
  border-color: rgba(255, 199, 0, 0.35);
}
.mod-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
@media (max-width: 900px) {
  .mod-kpi-grid { grid-template-columns: 1fr; }
}

/* ===== Otobonus admin ===== */
.ob-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--kt-gray-200);
  background: #fff;
  font-size: 13px;
  color: var(--kt-gray-700);
}
.ob-status-live {
  border-color: rgba(80, 205, 137, 0.35);
  background: var(--kt-success-light, #e8fff3);
}
.ob-status-test,
.ob-status-draft {
  border-color: rgba(255, 199, 0, 0.35);
  background: var(--kt-warning-light, #fff8dd);
}
.ob-status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ob-status-links a {
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.ob-camp-desc {
  font-size: 12px;
  margin-top: 2px;
}
.ob-camp-table td,
.ob-camp-table th {
  vertical-align: middle;
}
.ob-form-stack {
  display: grid;
  gap: 16px;
}
.ob-help {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--kt-gray-600);
}
.ob-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ob-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ob-pill-auto {
  background: #e8fff3;
  color: #0d9f6e;
}
.ob-pill-claim {
  background: #f1faff;
  color: #0095e8;
}
.ob-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ob-mode {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--kt-gray-200);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}
.ob-mode input { margin-bottom: 4px; }
.ob-mode strong { font-size: 14px; }
.ob-mode span { font-size: 12px; color: var(--kt-gray-600); }
.ob-mode.is-selected {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 1px var(--kt-primary);
  background: var(--kt-primary-light);
}
.ob-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.ob-filter-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kt-gray-700);
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  text-decoration: none;
}
.ob-filter-tabs a:hover {
  color: var(--kt-primary);
  border-color: rgba(0, 158, 247, 0.35);
}
.ob-filter-tabs a.is-active {
  color: #fff;
  background: var(--kt-primary);
  border-color: var(--kt-primary);
}
.ob-nowrap {
  white-space: nowrap;
  font-size: 12px;
}

/* Otobonus — clearer setup UI */
.ob-page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.ob-page-head h1 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kt-gray-900);
}
.ob-page-head p {
  margin: 0;
  max-width: 52rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--kt-gray-600);
}
.ob-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.ob-guide-step {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--kt-gray-200);
  background: #fff;
}
.ob-guide-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--kt-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ob-guide-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--kt-gray-900);
}
.ob-guide-step span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--kt-gray-600);
}
.ob-rule-list {
  display: grid;
  gap: 12px;
}
.ob-rule-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  padding: 16px 18px;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  background: #fff;
}
.ob-rule-card.is-off {
  opacity: 0.72;
  background: var(--kt-gray-100, #f9f9f9);
}
.ob-rule-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.ob-rule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.ob-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--kt-gray-100, #f1f1f4);
  color: var(--kt-gray-700);
}
.ob-chip-ok { background: #e8fff3; color: #0d9f6e; }
.ob-chip-off { background: #fff5f8; color: #f1416c; }
.ob-chip-info { background: #f1faff; color: #0095e8; }
.ob-chip-warn { background: #fff8dd; color: #b78103; }
.ob-rule-conds {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.ob-rule-conds li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--kt-gray-700);
}
.ob-rule-conds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kt-primary);
}
.ob-rule-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.ob-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.ob-section-title h2 {
  margin: 0;
  font-size: 15px;
}
.ob-section-title .hint {
  font-size: 12px;
  color: var(--kt-gray-500);
}
.ob-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ob-choice {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-choice input {
  position: absolute;
  left: 14px;
  top: 16px;
}
.ob-choice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--kt-gray-900);
}
.ob-choice span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--kt-gray-600);
}
.ob-choice:has(input:checked) {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12);
  background: #f8fcff;
}
.ob-tier-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.ob-tier-table th {
  padding: 0 8px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kt-gray-500);
  text-align: left;
}
.ob-tier-table td {
  padding: 0 4px;
  vertical-align: middle;
}
.ob-tier-table input {
  width: 100%;
  min-width: 0;
}
.ob-tier-row {
  background: var(--kt-gray-100, #f9f9f9);
}
.ob-tier-row td:first-child { border-radius: 8px 0 0 8px; padding-left: 8px; }
.ob-tier-row td:last-child { border-radius: 0 8px 8px 0; padding-right: 8px; }
.ob-example {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1faff;
  border: 1px solid rgba(0, 149, 232, 0.2);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--kt-gray-700);
}
.ob-example strong { color: var(--kt-gray-900); }
.ob-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
}
.ob-cat-panels [data-ob-panel] { display: none; }
.ob-cat-panels[data-cat="deposit"] [data-ob-panel~="deposit"],
.ob-cat-panels[data-cat="crypto_deposit"] [data-ob-panel~="deposit"],
.ob-cat-panels[data-cat="first_deposit"] [data-ob-panel~="deposit"],
.ob-cat-panels[data-cat="custom"] [data-ob-panel~="deposit"],
.ob-cat-panels[data-cat="loss"] [data-ob-panel~="loss"],
.ob-cat-panels[data-cat="welcome_fs"] [data-ob-panel~="welcome"],
.ob-cat-panels[data-cat="deposit"] [data-ob-panel~="wager"],
.ob-cat-panels[data-cat="crypto_deposit"] [data-ob-panel~="wager"],
.ob-cat-panels[data-cat="first_deposit"] [data-ob-panel~="wager"],
.ob-cat-panels[data-cat="loss"] [data-ob-panel~="wager"],
.ob-cat-panels[data-cat="custom"] [data-ob-panel~="wager"] {
  display: block;
}
.ob-sticky-actions {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--kt-gray-200);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.ob-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.ob-flow li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--kt-gray-100, #f1f1f4);
  font-size: 12px;
  color: var(--kt-gray-700);
}
.ob-flow li em {
  font-style: normal;
  font-weight: 700;
  color: var(--kt-primary);
}

@media (max-width: 960px) {
  .ob-guide { grid-template-columns: 1fr; }
  .ob-choice-grid { grid-template-columns: 1fr; }
  .ob-rule-card { grid-template-columns: 1fr; }
  .ob-rule-actions { align-items: flex-start; flex-direction: row; }
}
@media (max-width: 760px) {
  .ob-mode-grid { grid-template-columns: 1fr; }
  .ob-status { flex-direction: column; align-items: flex-start; }
}

/* ===== SAS shared chrome (page head / empty / chips / wager) ===== */
.sas-page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sas-space-4);
  margin: 0;
  padding: 0;
}
.sas-page-head h1 {
  margin: 0 0 var(--sas-space-1);
  font-family: var(--kt-font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kt-gray-900);
  line-height: 1.25;
}
.sas-page-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--kt-gray-600);
  max-width: 52rem;
}
.sas-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sas-space-2);
  align-items: center;
}
.sas-empty {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border: 1px dashed var(--kt-gray-300);
  border-radius: 12px;
}
.sas-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--kt-gray-100);
  color: var(--kt-gray-500);
  font-size: 1.25rem;
}
.sas-empty h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--kt-gray-900);
}
.sas-empty p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--kt-gray-600);
}
.sas-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--kt-gray-100);
  color: var(--kt-gray-700);
  white-space: nowrap;
}
.sas-chip-ok { background: #e8fff3; color: #0d9f6e; }
.sas-chip-off { background: #fff5f8; color: #f1416c; }
.sas-chip-info { background: #f1faff; color: #0095e8; }
.sas-chip-warn { background: #fff8dd; color: #b78103; }
.sas-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sas-kpi-grid .mod-kpi,
.sas-kpi { background: #fff; border: 1px solid var(--kt-gray-200); border-radius: 12px; padding: 14px 16px; }
.sas-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.sas-filter-tabs a,
.sas-filter-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--kt-gray-200);
  background: #fff;
  color: var(--kt-gray-700);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.sas-filter-tabs a.is-active,
.sas-filter-tabs button.is-active {
  background: var(--kt-primary);
  border-color: var(--kt-primary);
  color: #fff;
}
.sas-sticky-actions,
.ob-sticky-actions.sas-sticky-actions {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--kt-gray-200);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.sas-wager {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.sas-wager.is-ok { border-color: rgba(80, 205, 137, 0.45); background: linear-gradient(180deg, #f3fff8 0%, #fff 48%); }
.sas-wager.is-warn { border-color: rgba(255, 199, 0, 0.45); background: linear-gradient(180deg, #fffbeb 0%, #fff 48%); }
.sas-wager.is-empty { background: #fff; }
.sas-wager-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.sas-wager-head h2 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--kt-gray-900);
}
.sas-wager-head p {
  margin: 0;
  font-size: 12px;
  color: var(--kt-gray-600);
}
.sas-wager-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.sas-wager-stats > div {
  background: var(--kt-gray-100);
  border-radius: 10px;
  padding: 10px 12px;
}
.sas-wager-stats span {
  display: block;
  font-size: 11px;
  color: var(--kt-gray-600);
  margin-bottom: 4px;
}
.sas-wager-stats strong {
  font-size: 13px;
  color: var(--kt-gray-900);
}
.sas-wager-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--kt-gray-200);
  overflow: hidden;
}
.sas-wager-bar i {
  display: block;
  height: 100%;
  background: var(--kt-primary);
  border-radius: inherit;
}
.sas-wager-alert {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 199, 0, 0.45);
  background: #fff8dd;
  display: grid;
  gap: 4px;
}
.sas-wager-alert.is-danger {
  border-color: rgba(241, 65, 108, 0.4);
  background: #fff5f8;
}
.sas-wager-alert strong {
  font-size: 13px;
  color: var(--kt-gray-900);
}
.sas-wager-alert span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--kt-gray-700);
}
.sas-wager-formula {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--kt-gray-100);
  font-size: 12.5px;
  color: var(--kt-gray-800);
  line-height: 1.45;
}
.sas-wager-help {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--kt-gray-600);
  line-height: 1.45;
}
.sas-bonus-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.sas-bonus-list {
  display: grid;
  gap: 8px;
}
.sas-bonus-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 10px;
}
.sas-bonus-item strong { color: var(--kt-gray-900); font-size: 13px; }
.sas-bonus-item span { font-size: 12px; color: var(--kt-gray-600); }
.sas-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sas-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.sas-summary-strip .item {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  padding: 12px 14px;
}
.sas-summary-strip .item .label { display: block; font-size: 11px; color: var(--kt-gray-600); margin-bottom: 4px; }
.sas-summary-strip .item .value { display: block; font-weight: 700; font-size: 0.95rem; color: var(--kt-gray-900); }
@media (max-width: 1100px) {
  .sas-kpi-grid,
  .sas-summary-strip,
  .sas-wager-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .sas-kpi-grid,
  .sas-summary-strip,
  .sas-wager-stats { grid-template-columns: 1fr; }
}

/* ===== Hub cards (özet / raporlar / sistem) ===== */
.sas-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sas-gap);
}
.sas-hub-grid-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sas-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sas-card-pad);
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-card-shadow);
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  min-height: 118px;
}
.sas-hub-card i {
  font-size: 1.35rem;
  color: var(--kt-primary);
  margin-bottom: 4px;
}
.sas-hub-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-gray-900);
  letter-spacing: -0.01em;
}
.sas-hub-card span {
  font-size: 12.5px;
  color: var(--kt-gray-600);
  line-height: 1.4;
}
.sas-hub-card:hover {
  border-color: rgba(11, 107, 203, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: inherit;
}
.sas-hub-card.is-accent {
  background: linear-gradient(160deg, #e8f2fc 0%, #fff 55%);
  border-color: rgba(11, 107, 203, 0.25);
}
@media (max-width: 1100px) {
  .sas-hub-grid,
  .sas-hub-grid-dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sas-hub-grid,
  .sas-hub-grid-dense { grid-template-columns: 1fr; }
}

/* mail tabs */
.is-tab-btn.is-active {
  background: var(--kt-primary) !important;
  color: #fff !important;
  border-color: var(--kt-primary) !important;
}
.kt-form-label textarea {
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  width: 100%;
  resize: vertical;
  font-family: inherit;
}
.kt-form-label textarea:focus {
  outline: none;
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 4px rgba(11,107,203,.12);
}
.kt-form-label select {
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  width: 100%;
}

/* —— Velspin outreach wizard (mail / SMS) —— */
.vs-wizard {
  background: linear-gradient(165deg, #e8f2fc 0%, #fff 42%, #f8fafc 100%);
  border: 1px solid rgba(11, 107, 203, 0.18);
  border-radius: 16px;
  box-shadow: var(--kt-card-shadow);
  overflow: hidden;
  margin-bottom: 8px;
}
.vs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #0f172a;
  padding: 0;
}
.vs-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font: inherit;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background .15s ease, color .15s ease;
}
.vs-step:last-child { border-right: 0; }
.vs-step:hover { color: #fff; background: rgba(11,107,203,0.25); }
.vs-step.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0b6bcb 0%, #0d9f6e 100%);
}
.vs-step.is-done { color: #a7f3d0; }
.vs-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  background: rgba(255,255,255,0.15);
}
.vs-step.is-active .vs-step-num { background: rgba(255,255,255,0.28); }
.vs-step-label { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.vs-wizard-body { padding: 22px 22px 8px; }
.vs-panel-head { margin-bottom: 16px; }
.vs-panel-head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--kt-gray-900);
  letter-spacing: -0.02em;
}
.vs-panel-head p { margin: 0; color: var(--kt-gray-600); font-size: 13px; }
.vs-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--kt-gray-200);
}
.vs-source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.vs-source {
  border: 1px solid var(--kt-gray-300);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--kt-gray-700);
  cursor: pointer;
}
.vs-source.is-active {
  background: var(--kt-primary);
  border-color: var(--kt-primary);
  color: #fff;
}
.vs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.vs-toolbar input[type="search"],
.vs-toolbar select {
  border: 1px solid var(--kt-gray-300);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  min-width: 180px;
  background: #fff;
}
.vs-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 4px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
}
.vs-people-compact {
  max-height: 280px;
  grid-template-columns: 1fr;
}
.vs-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 10px;
  cursor: pointer;
  margin: 0;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.vs-person:hover { border-color: rgba(11,107,203,0.4); }
.vs-person:has(input:checked) {
  border-color: var(--kt-primary);
  box-shadow: 0 0 0 3px rgba(11,107,203,0.12);
  background: var(--kt-primary-light);
}
.vs-person input { accent-color: var(--kt-primary); }
.vs-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #0b6bcb, #0d9f6e);
  flex-shrink: 0;
}
.vs-person-meta { display: grid; gap: 2px; min-width: 0; }
.vs-person-meta strong {
  font-size: 13px;
  color: var(--kt-gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-person-meta em {
  font-style: normal;
  font-size: 12px;
  color: var(--kt-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-person-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--kt-gray-100);
  font-size: 13px;
}
.vs-person-mini em { font-style: normal; color: var(--kt-gray-500); font-size: 12px; }
.vs-empty {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  color: var(--kt-gray-500);
  font-size: 13px;
}
.vs-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(11,107,203,0.45);
  border-radius: 12px;
  background: rgba(232,242,252,0.55);
}
.vs-upload-meta { display: grid; gap: 2px; flex: 1; min-width: 160px; }
.vs-upload-meta strong { font-size: 13px; color: var(--kt-gray-900); }
.vs-upload-meta span { font-size: 12px; color: var(--kt-gray-600); }
.vs-upload-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.vs-upload-preview img {
  max-height: 96px;
  border-radius: 8px;
  border: 1px solid var(--kt-gray-200);
}
.vs-import-box {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  display: grid;
  gap: 12px;
}
.vs-preview-card {
  background: #fff;
  border: 1px solid var(--kt-gray-200);
  border-radius: 12px;
  padding: 16px;
  min-height: 200px;
}
.vs-preview-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kt-gray-500);
  margin-bottom: 6px;
}
.vs-preview-subject {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kt-gray-900);
  margin-bottom: 14px;
}
.vs-preview-body {
  border: 1px solid var(--kt-gray-200);
  border-radius: 10px;
  padding: 12px;
  max-height: 320px;
  overflow: auto;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.5;
}
.vs-preview-count {
  font-size: 2rem;
  font-weight: 800;
  color: var(--kt-primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.vs-preview-sms {
  white-space: pre-wrap;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  background: #f8fafc;
  border: 1px solid var(--kt-gray-200);
  border-radius: 10px;
  padding: 14px;
}
.vs-live-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--kt-gray-200);
  border-top: 1px solid var(--kt-gray-200);
}
.vs-live-bar-campaign {
  border: 1px solid var(--kt-gray-200);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.vs-live-item {
  background: #fff;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.vs-live-item span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kt-gray-500);
}
.vs-live-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--kt-gray-900);
  letter-spacing: -0.02em;
}
.vs-live-item.is-ok strong { color: var(--kt-success); }
.vs-live-item.is-bad strong { color: var(--kt-danger); }
.vs-live-item.is-warn strong { color: var(--kt-warning); }
.vs-num-ok { color: var(--kt-success); font-weight: 700; }
.vs-num-bad { color: var(--kt-danger); font-weight: 700; }
.vs-num-pend { color: var(--kt-warning); font-weight: 700; }
.vs-settings-card {
  max-width: 720px;
  border-color: rgba(11,107,203,0.2);
}
@media (max-width: 800px) {
  .vs-steps { grid-template-columns: 1fr; }
  .vs-step { justify-content: flex-start; padding-left: 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .vs-live-bar,
  .vs-live-bar-campaign { grid-template-columns: 1fr 1fr; }
  .vs-wizard-body { padding: 16px; }
}
