@import url('shared-tokens.css?v=20260406b');

:root {
  /* D Theme — overrides from shared-tokens.css */
  --sidebar-w: 200px;
  --amber: var(--accent); /* backward compat alias */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────── */

.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-brand {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand .brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.9), rgba(139,92,246,0.8));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 16px rgba(59,130,246,0.18);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-brand .brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
}

.sidebar-brand .brand-sub {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .04em;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.nav-category {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--dim);
  padding: 14px 18px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13px;
  cursor: pointer;
  color: rgba(232,236,246,0.72);
  border-left: 2px solid transparent;
  transition: all 0.15s;
  user-select: none;
}

.nav-item:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: var(--text);
  font-weight: 600;
}

.nav-item .icon { font-size: 15px; width: 20px; text-align: center; }

.nav-dashboard {
  margin: 8px 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(59,130,246,0.06));
  border: 1px solid rgba(59,130,246,0.28);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.nav-dashboard:hover, .nav-dashboard.active {
  background: linear-gradient(135deg, rgba(59,130,246,0.28), rgba(59,130,246,0.12));
}

/* ── Main content ──────────────────────────────────────── */

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

.topbar {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-title { font-size: 15px; font-weight: 700; }
.topbar-meta  { font-size: 11px; color: var(--dim); font-family: var(--font-mono); }

.content { padding: 28px; }

/* ── Cards & layout ───────────────────────────────────── */

.section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dim);
  margin-bottom: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ── KPI metric box ──────────────────────────────────── */

.metric {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.metric-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.metric-value { font-size: 24px; font-weight: 700; margin-top: 4px; }
.metric-sub   { font-size: 11px; color: var(--dim); margin-top: 3px; }

.good { color: var(--green); }
.bad  { color: var(--red);   }
.neutral { color: var(--dim); }

/* ── Chart panel ─────────────────────────────────────── */

.chart-panel img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.chart-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--dim);
  transition: all 0.15s;
}

.tab.active, .tab:hover {
  background: var(--accent-soft);
  border-color: rgba(59,130,246,0.4);
  color: #93c5fd;
}

/* ── Data table ──────────────────────────────────────── */

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

.data-table th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dim);
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.data-table th:first-child { text-align: left; }

.data-table td {
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.data-table td:first-child {
  text-align: left;
  font-family: var(--font-ui);
  color: var(--dim);
  font-size: 12px;
}

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

.data-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.015);
}

.data-table thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 10;
  box-shadow: 0 1px 0 var(--border);
}

.scroll-table { max-height: min(340px, 50vh); overflow-y: auto; }

/* ── Brief box ───────────────────────────────────────── */

.brief-box {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), var(--surface2));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 14px;
  padding: 20px 22px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(232,236,246,0.88);
}

.brief-box .brief-footer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--dim);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ── Run button & log ────────────────────────────────── */

.run-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}

.btn:hover { background: rgba(255,255,255,0.08); }

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

.btn-primary:hover { background: #2563eb; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.log-box {
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7dd3fc;
  white-space: pre-wrap;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.log-box.visible { display: block; }

/* ── Source badge ────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-blue  { background: rgba(59,130,246,0.14);  color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.badge-green { background: rgba(34,197,94,0.12);   color: #86efac; border: 1px solid rgba(34,197,94,0.28); }
.badge-amber { background: rgba(245,158,11,0.12);  color: #fcd34d; border: 1px solid rgba(245,158,11,0.28); }
.badge-red   { background: rgba(239,68,68,0.1);    color: #fca5a5; border: 1px solid rgba(239,68,68,0.24); }

/* ── Loading state ───────────────────────────────────── */

.loading-text {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 40px 0;
  text-align: center;
}

/* ── Sidebar footer & user card ─────────────────────────── */

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 12px;
  margin-top: auto;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.sidebar-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.2));
  border: 1px solid rgba(59,130,246,0.25);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
  flex-shrink: 0;
  text-transform: uppercase;
}

.sidebar-user__info { flex: 1; min-width: 0; }

.sidebar-user__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user__role {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-user__logout {
  background: none;
  border: none;
  color: var(--dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.15s;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.sidebar-user__logout:hover {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
}

/* ── Admin panel ───────────────────────────────────────────── */

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-stats {
  display: flex;
  gap: 8px;
}

.admin-stat {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.admin-stat--pending {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.28);
  color: #fcd34d;
}

.admin-stat--total {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.28);
  color: #93c5fd;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

.user-row:hover { background: rgba(255,255,255,0.02); }
.user-row:last-child { border-bottom: none; }

.user-row__avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.15));
  border: 1px solid rgba(59,130,246,0.2);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  flex-shrink: 0;
}

.user-row__info { flex: 1; min-width: 0; }

.user-row__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.user-row__email {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--dim);
}

.user-row__meta {
  font-size: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  text-align: right;
  flex-shrink: 0;
}

.user-row__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-sm:hover { background: rgba(255,255,255,0.08); }

.btn-approve {
  border-color: rgba(34,197,94,0.3);
  color: #86efac;
  background: rgba(34,197,94,0.08);
}
.btn-approve:hover { background: rgba(34,197,94,0.18); }

.btn-reject {
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
  background: rgba(239,68,68,0.08);
}
.btn-reject:hover { background: rgba(239,68,68,0.18); }

/* ── Tab Bar ────────────────────────────────────────── */

.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 8px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--dim);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── APKO Table ─────────────────────────────────────── */

.apko-table .cat-row td {
  font-weight: 600;
  background: var(--surface2);
}

/* ── Notebook Cards ─────────────────────────────────── */

.nb-card { transition: border-color 0.2s; }
.nb-card:hover { border-color: var(--accent); }

.nb-output-link {
  display: inline-block;
  padding: 2px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}
.nb-output-link:hover { background: var(--accent-soft); }

/* ── Ozet Tablosu ────────────────────────────────────── */

.ozet-tablosu { width: 100%; border-collapse: collapse; }

.ozet-tablosu thead tr.level0 th {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.ozet-tablosu thead tr.level0 th:last-child { border-right: none; }

.ozet-tablosu thead tr.level1 th {
  background: var(--surface2);
  color: var(--dim);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

.ozet-tablosu td {
  padding: 7px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ozet-tablosu td:first-child {
  text-align: left;
  font-family: var(--font-ui);
  font-size: 12px;
}

.ozet-tablosu tr:last-child td { border-bottom: none; }
.ozet-tablosu .row-indent td:first-child { padding-left: 24px; }
.ozet-tablosu .row-bold td { font-weight: 700; }
.ozet-tablosu .row-italic td { font-style: italic; }
.ozet-tablosu .row-bold td:first-child { color: var(--text); }

/* Chart frame (white bg for matplotlib) */
.chart-frame {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-frame img { width: 100%; border-radius: 6px; }

/* ── Responsive ──────────────────────────────────────── */

/* ── Hamburger button ────────────────────────────────── */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 12px;
  border-radius: 6px;
  transition: background 0.15s;
}

.hamburger:hover { background: var(--accent-soft); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 45;
}

/* ── Sidebar overlay (shown when sidebar is open) ──── */

.sidebar-overlay.open {
  display: block;
}

/* ── Focus visible (accessibility) ─────────────────── */

.btn:focus-visible, .tab:focus-visible, .tab-btn:focus-visible,
.nav-item:focus-visible, .nav-dashboard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Responsive: tablet ────────────────────────────── */

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .topbar { padding: 12px 16px; }
}

/* ── Responsive: mobile ────────────────────────────── */

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .content { padding: 12px; }
}

/* ─── Accordion Sidebar ─────────────────────────────────────────── */
.sidebar-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  margin-top: 6px;
  user-select: none;
  transition: color 0.15s;
}
.sidebar-cat-header:hover { color: var(--text); }
.sidebar-cat-chevron { font-size: 9px; transition: transform 0.2s; }
.sidebar-cat-header.open .sidebar-cat-chevron { transform: rotate(90deg); }

.sidebar-cat-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.sidebar-cat-items.open { max-height: 200px; }

/* ─── Dashboard Cards ───────────────────────────────────────────── */
.dash-section {
  margin-bottom: 24px;
}
.dash-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dash-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}
.dash-card:hover {
  border-color: var(--border2);
  transform: translateY(-1px);
}
.dash-card.accent-left { border-left: 3px solid var(--accent); }
.dash-card.accent-red   { border-left: 3px solid var(--red); }
.dash-card.accent-green { border-left: 3px solid var(--green); }

.dash-card-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.dash-card-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-card-sub {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* Delta tags */
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
.delta-g { background: rgba(74,222,128,0.1); color: var(--green); }
.delta-r { background: rgba(248,113,113,0.1); color: var(--red); }
.delta-y { background: rgba(251,191,36,0.1); color: var(--yellow); }

/* Score bar */
.score-bar-wrap { margin-top: 8px; }
.score-bar-label { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-sub); margin-bottom: 3px; }
.score-bar-track { height: 3px; background: var(--border2); border-radius: 2px; }
.score-bar-fill { height: 3px; border-radius: 2px; background: var(--accent); transition: width 0.4s ease; }

/* Sparkline */
.sparkline { display: block; margin-top: 6px; }

/* Sidebar switch button */
.sidebar-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.sidebar-switch-btn:hover {
  background: rgba(212, 160, 23, 0.12);
  border-color: rgba(212, 160, 23, 0.4);
}

/* TÜFE Resmi — layout */
.btn-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

/* ─── Cari Denge — 3 Section Layout (FAZ 1.1.D) ─────────────────────────── */
.cd-section {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 10px;
  border-left: 4px solid;
  background: rgba(255,255,255,0.025);
}
.cd-section-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cd-section-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text);
}
.cd-section-sub {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  font-weight: 400;
}

/* Section 1: Resmi bilgilendirme — mavi */
.cd-section-resmi {
  border-left-color: #3b82f6;
  background: linear-gradient(90deg, rgba(59,130,246,0.04) 0%, transparent 30%);
}
.cd-section-resmi .cd-section-title { color: #93c5fd; }

/* Section 2: Tablo + grafik analiz — turuncu/sarımsı */
.cd-section-tablo {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245,158,11,0.04) 0%, transparent 30%);
}
.cd-section-tablo .cd-section-title { color: #fbbf24; }

/* Section 3: XGBoost tahmin — mor (öngörü) */
.cd-section-tahmin {
  border-left-color: #a855f7;
  background: linear-gradient(90deg, rgba(168,85,247,0.05) 0%, transparent 30%);
}
.cd-section-tahmin .cd-section-title { color: #d8b4fe; }

/* Tab bar scrollbar gizle — Webkit (Chrome/Safari/Edge) */
.cd-tab-bar-no-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* XGBoost warning banner */
.cd-warning-banner {
  margin: 8px 0 18px 0;
  padding: 12px 16px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #e9d5ff;
}
.cd-warning-banner b { color: #d8b4fe; font-weight: 600; }

