/* ==========================================================================
   CreditRun° — app.css  (matches base.html + login.html class names exactly)
   ========================================================================== */

/* ---------- Custom properties --------------------------------------- */
:root {
  --side-w: 240px;
  --top-h: 56px;
  --rad: 10px;
  --c-side: #0a0a0b;
  --c-side-border: rgba(255,255,255,.07);
  --c-side-item: rgba(255,255,255,.72);
  --c-side-item-hover: rgba(255,255,255,.1);
  --c-side-item-active: rgba(99,102,241,.22);
  --c-side-item-active-text: #a5b4fc;
  --c-side-muted: rgba(255,255,255,.35);
  --c-accent: #6366f1;
  --c-accent-2: #818cf8;
  --c-bg: #f8fafc;
  --c-surface: #ffffff;
  --c-surface-2: #f1f5f9;
  --c-border: #e2e8f0;
  --c-border-2: #cbd5e1;
  --c-text: #0f172a;
  --c-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06);
  --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & base -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body.lz {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: var(--c-bg);
  color: var(--c-text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code, pre, .font-monospace, kbd { font-family: 'Geist Mono', 'Fira Code', ui-monospace, monospace; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-2); }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.lz-side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  background: var(--c-side);
  display: flex;
  flex-direction: column;
  z-index: 300;
  transition: transform var(--transition);
  overflow: hidden;
}

/* ---------- Brand header -------------------------------------------- */
.lz-side__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-side-border);
  flex-shrink: 0;
}

.lz-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  text-decoration: none;
}
.lz-brand:hover { color: #ffffff; }

.lz-brand__mark {
  width: 26px;
  height: 26px;
  color: var(--c-accent-2);
  flex-shrink: 0;
}
.lz-brand__mark svg { width: 100%; height: 100%; }

.lz-brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #ffffff;
  line-height: 1;
}
.lz-brand__name em {
  font-style: italic;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: var(--c-accent-2);
}
.lz-brand__deg { color: var(--c-accent-2); font-weight: 400; }

.lz-side__close {
  display: none;
  background: none;
  border: none;
  color: var(--c-side-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
  transition: color .12s, background .12s;
}
.lz-side__close:hover { color: #fff; background: var(--c-side-item-hover); }

/* ---------- Search trigger in sidebar ------------------------------ */
.lz-cmdk-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 10px 12px 4px;
  padding: 7px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--c-side-muted);
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
  transition: background .12s, border-color .12s;
  flex-shrink: 0;
}
.lz-cmdk-trigger:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.lz-cmdk-trigger kbd { margin-left: auto; font-size: 10px; background: rgba(255,255,255,.1); padding: 1px 5px; border-radius: 4px; }

/* ---------- Nav ---------------------------------------------------- */
.lz-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0 12px;
}
.lz-nav::-webkit-scrollbar { width: 3px; }
.lz-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }

.lz-nav__group { padding: 0 0 4px; }

.lz-nav__title {
  padding: 14px 16px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-side-muted);
}

.lz-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin: 1px 8px;
  border-radius: 7px;
  color: var(--c-side-item);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: background .12s, color .12s;
}
.lz-nav__item:hover { background: var(--c-side-item-hover); color: #fff; }
.lz-nav__item.is-active {
  background: var(--c-side-item-active);
  color: var(--c-side-item-active-text);
  font-weight: 600;
}
.lz-nav__item .bi { font-size: 15px; flex-shrink: 0; width: 18px; text-align: center; }

/* ---------- Sidebar footer ----------------------------------------- */
.lz-side__foot {
  padding: 10px 14px;
  border-top: 1px solid var(--c-side-border);
  flex-shrink: 0;
}

.lz-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--c-side-muted);
}
.lz-status__ver { margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 11px; }

.lz-status__pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.lz-status__pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34,197,94,.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0;transform:scale(1)} 50%{opacity:1;transform:scale(1.5)} }

/* ---------- Scrim (mobile overlay) --------------------------------- */
.lz-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 299;
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   APP SHELL (right of sidebar)
   ========================================================================== */
.lz-app {
  margin-left: var(--side-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition);
}

/* ---------- Topbar -------------------------------------------------- */
.lz-top {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.lz-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: none;
  border: none;
  border-radius: 7px;
  color: var(--c-muted);
  font-size: 13px;
  cursor: pointer;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.lz-ghost:hover { background: var(--c-surface-2); color: var(--c-text); }
.lz-ghost kbd { font-size: 11px; background: var(--c-border); padding: 1px 5px; border-radius: 4px; }
.lz-ghost--cmdk .bi { font-size: 15px; }

.lz-top__title { flex: 1; min-width: 0; }

.lz-crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 1px;
}
.lz-crumbs a { color: var(--c-muted); }
.lz-crumbs a:hover { color: var(--c-accent); }
.lz-crumbs__sep { opacity: .4; }
.lz-crumbs__leaf { color: var(--c-text); font-weight: 500; }

.lz-top__h1 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lz-top__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* ---------- User dropdown ------------------------------------------ */
.lz-user { position: relative; }

.lz-user__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--c-text);
  transition: background .12s;
}
.lz-user__btn:hover { background: var(--c-surface-2); }

.lz-user__avatar {
  width: 26px; height: 26px;
  background: var(--c-accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.lz-user__meta { display: flex; flex-direction: column; align-items: flex-start; }
.lz-user__name { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.lz-user__role { font-size: 11px; color: var(--c-muted); line-height: 1.2; }
.lz-user__caret { font-size: 13px; color: var(--c-muted); }

.lz-pop {
  min-width: 200px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 4px;
}
.lz-pop__head { padding: 10px 12px 8px; }
.lz-pop__head .lz-user__name { font-size: 13px; font-weight: 600; }
.lz-pop__sub { font-size: 11.5px; color: var(--c-muted); margin-top: 2px; }
.lz-pop__div { margin: 4px 0; border-color: var(--c-border); }

.lz-pop .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--c-text);
  transition: background .1s;
}
.lz-pop .dropdown-item:hover { background: var(--c-surface-2); }
.lz-pop .dropdown-item.is-danger { color: #dc2626; }
.lz-pop .dropdown-item.is-danger:hover { background: #fee2e2; }

/* ---------- Main content + wrapper --------------------------------- */
.lz-main { flex: 1; display: flex; flex-direction: column; }
.lz-wrap { flex: 1; padding: 24px; }

/* ---------- Footer ------------------------------------------------- */
.lz-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--c-muted);
  flex-wrap: wrap;
}
.lz-foot__brand { display: flex; align-items: center; gap: 7px; }
.lz-foot__mark { width: 16px; height: 16px; color: var(--c-accent); }
.lz-foot__mark svg { width: 100%; height: 100%; }
.lz-foot__name { font-weight: 600; color: var(--c-text); }
.lz-foot__name em { font-style: italic; font-family: 'Instrument Serif', serif; }
.lz-foot__sep { opacity: .4; }
.lz-foot__links { display: flex; gap: 16px; }
.lz-foot__links a { color: var(--c-muted); }
.lz-foot__links a:hover { color: var(--c-accent); }

/* ---------- Sidebar collapsed (desktop) ---------------------------- */
body.is-side-collapsed .lz-side { transform: translateX(-100%); }
body.is-side-collapsed .lz-app { margin-left: 0; }

/* ---------- Mobile ------------------------------------------------- */
@media (max-width: 768px) {
  .lz-side { transform: translateX(-100%); }
  .lz-side__close { display: flex; }
  .lz-app { margin-left: 0; }

  body.is-side-open .lz-side { transform: translateX(0); }
  body.is-side-open .lz-scrim { display: block; }
}

/* ==========================================================================
   COMMAND PALETTE
   ========================================================================== */
.lz-cmdk {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  backdrop-filter: blur(3px);
}
.lz-cmdk.is-open { display: flex; }

.lz-cmdk__box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 560px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
}

.lz-cmdk__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
}
.lz-cmdk__icon { font-size: 16px; color: var(--c-muted); flex-shrink: 0; }
.lz-cmdk__search input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  color: var(--c-text);
}
.lz-cmdk__esc {
  font-size: 11px;
  background: var(--c-surface-2);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--c-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.lz-cmdk__list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
}
.lz-cmdk__section {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 10px 4px;
}
.lz-cmdk__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--c-text);
  font-size: 13.5px;
  text-decoration: none;
}
.lz-cmdk__item:hover, .lz-cmdk__item.is-selected { background: var(--c-surface-2); color: var(--c-text); }
.lz-cmdk__item .bi { font-size: 14px; color: var(--c-muted); flex-shrink: 0; }
.lz-cmdk__empty { padding: 20px; text-align: center; color: var(--c-muted); font-size: 13px; }

/* ==========================================================================
   AUTH PAGE (login.html)
   ========================================================================== */
body.lz--auth {
  background: var(--c-bg);
  min-height: 100vh;
}

.lz-auth {
  display: flex;
  min-height: 100vh;
}

/* Left: form panel */
.lz-auth__form {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
}

.lz-auth__top {
  padding: 20px 32px;
  border-bottom: 1px solid var(--c-border);
}
.lz-auth__brandtag {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--c-text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.lz-auth__brandtag:hover { color: var(--c-text); }
.lz-auth__brandtag .lz-brand__mark { width: 24px; height: 24px; color: var(--c-accent); }
.lz-auth__brandtag em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--c-accent); }

.lz-auth__form-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lz-auth-card {
  width: 100%;
  max-width: 380px;
}
.lz-auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.lz-auth-card h1 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; }
.lz-auth-sub { font-size: 14px; color: var(--c-muted); margin-bottom: 24px; }
.lz-auth-foot { margin-top: 20px; font-size: 11.5px; color: var(--c-muted); text-align: center; }

.lz-auth__bottom {
  padding: 14px 32px;
  border-top: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Right: showcase panel */
.lz-show {
  flex: 1;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 40px;
}

.lz-show__glow {
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
  pointer-events: none;
}
.lz-show__grid {
  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: 32px 32px;
  pointer-events: none;
}

.lz-show__head { position: relative; z-index: 1; margin-bottom: 32px; }
.lz-show__tag {
  display: inline-block;
  background: rgba(99,102,241,.25);
  border: 1px solid rgba(99,102,241,.4);
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.lz-show__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.lz-show__title em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: #a5b4fc; }
.lz-show__sub { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* Decision card */
.lz-show__card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
}
.lz-show__card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.lz-show__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.lz-show__pan { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }

.lz-show__badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 6px;
}
.lz-show__badge--approved { background: #d1fae5; color: #065f46; }
.lz-show__badge--rejected { background: #fee2e2; color: #991b1b; }

.lz-show__metrics { display: flex; gap: 20px; margin-bottom: 14px; }
.lz-show__metric-label { font-size: 10.5px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.lz-show__metric-val { font-size: 20px; font-weight: 700; color: #ffffff; font-family: 'Geist Mono', monospace; }
.lz-show__metric-val--accent { color: #a5b4fc; }

.lz-show__rules { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.lz-show__rule {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; padding: 3px 8px; border-radius: 6px;
}
.lz-show__rule--pass { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.25); }
.lz-show__rule--fail { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }

.lz-show__foot { display: flex; gap: 16px; font-size: 11.5px; color: rgba(255,255,255,.4); }
.lz-show__foot .bi { margin-right: 3px; }

/* Floating chips */
.lz-show__floats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lz-show__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.lz-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; display: inline-block; }
.lz-dot--ok { background: #22c55e; }
.lz-dot--warn { background: #f59e0b; }

/* Stats row at bottom */
.lz-show__foot-line {
  position: relative; z-index: 1;
  display: flex; gap: 24px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.lz-show__stat { display: flex; flex-direction: column; }
.lz-show__stat strong { font-size: 18px; font-weight: 800; color: #ffffff; }
.lz-show__stat span { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .05em; }

/* Auth mobile collapse */
@media (max-width: 860px) {
  .lz-show { display: none; }
  .lz-auth__form { flex: 1; border-right: none; }
}
@media (max-width: 480px) {
  .lz-auth__form { flex: 0 0 auto; min-height: 100vh; }
  .lz-auth__form-inner { padding: 24px 20px; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--rad);
  box-shadow: var(--shadow-sm);
}
.card-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--rad) var(--rad) 0 0;
  font-size: 13.5px;
}
.card-body { padding: 16px; }

/* ==========================================================================
   OUTCOME BADGES
   ========================================================================== */
.outcome-APPROVED       { background: #d1fae5; color: #065f46 !important; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: inline-block; }
.outcome-REJECTED       { background: #fee2e2; color: #991b1b !important; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: inline-block; }
.outcome-HARD_REJECTED  { background: #1e1b4b; color: #a5b4fc !important; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: inline-block; }
.outcome-MANUAL_REVIEW  { background: #fef3c7; color: #78350f !important; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: inline-block; }
.outcome-BANKING_REVIEW { background: #dbeafe; color: #1e3a8a !important; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: inline-block; }

/* ==========================================================================
   TOGGLE SWITCH
   ========================================================================== */
.lz-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.lz-switch__input { display: none; }
.lz-switch__track {
  position: relative;
  width: 36px; height: 20px;
  background: #d1d5db;
  border-radius: 99px;
  transition: background .18s;
  flex-shrink: 0;
}
.lz-switch__input:checked + .lz-switch__track { background: var(--c-accent); }
.lz-switch__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .18s;
}
.lz-switch__input:checked + .lz-switch__track .lz-switch__thumb { transform: translateX(16px); }
.lz-switch__label { font-size: 13px; color: var(--c-muted); }

/* ==========================================================================
   RULE IMPACT BADGES
   ========================================================================== */
.impact-hard_reject   { background: #1e1b4b; color: #a5b4fc; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.impact-reject        { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.impact-banking_review{ background: #dbeafe; color: #1e3a8a; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.impact-manual_review { background: #fef3c7; color: #78350f; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.impact-warn          { background: #f3f4f6; color: #374151; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }

/* ==========================================================================
   TABLES
   ========================================================================== */
.table { font-size: 13.5px; }
.table th { font-weight: 600; color: var(--c-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; border-color: var(--c-border); }
.table td { border-color: var(--c-border); vertical-align: middle; }
.table-hover tbody tr:hover td { background: var(--c-surface-2); }

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.form-control, .form-select {
  font-size: 13.5px;
  border-color: var(--c-border);
  border-radius: 8px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-label { font-size: 13px; font-weight: 500; margin-bottom: 4px; }

/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */
.nav-tabs .nav-link { font-size: 13.5px; color: var(--c-muted); border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 14px; }
.nav-tabs .nav-link.active { color: var(--c-accent); border-bottom-color: var(--c-accent); background: none; }
.nav-tabs { border-bottom: 1px solid var(--c-border); }
.tab-pane { padding-top: 12px; }

.alert { border-radius: 10px; }
.badge { border-radius: 6px; font-weight: 600; }

pre { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 14px; font-size: 12.5px; overflow-x: auto; }

.page-link { border-radius: 7px !important; font-size: 13px; }
.page-item.active .page-link { background: var(--c-accent); border-color: var(--c-accent); }

/* Pre/code copy wrapper */
.lz-pre-wrap { position: relative; }
.lz-copy-btn {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75); border-radius: 6px;
  padding: 3px 8px; font-size: 11px; cursor: pointer;
  transition: background .12s;
}
.lz-copy-btn:hover { background: rgba(255,255,255,.2); }
