:root {
  /* LeaseSafely — Single Palette Design System */
  /* Backgrounds */
  --bg:           #F2F4F0;
  --surface:      #ffffff;
  --surface-dim:  #F8F9F6;

  /* Text */
  --text:         #141410;
  --text-2:       #5a5a52;
  --text-3:       #9a9a90;

  /* Borders */
  --border:       #E2E4DE;
  --border-2:     #CACCC6;

  /* Brand greens */
  --g-50:         #EAF3DE;
  --g-100:        #C0DD97;
  --g-400:        #639922;
  --g-600:        #3B6D11;
  --g-800:        #27500A;

  /* Semantics */
  --amber-bg:     #FAEEDA;
  --amber:        #EF9F27;
  --amber-dk:     #633806;

  --red-bg:       #FCEBEB;
  --red:          #E24B4A;
  --red-dk:       #791F1F;

  --blue-bg:      #E6F1FB;
  --blue:         #378ADD;
  --blue-dk:      #0C447C;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;

  /* Legacy Compat (mapping old vars to new ones where possible) */
  --primary: var(--g-600);
  --primary-hover: var(--g-800);
  --radius: var(--r-lg);
  --radius-lg: var(--r-xl);
  --ink: var(--text);
  --ink2: var(--text-2);
  --ink3: var(--text-3);
  --paper: var(--surface);
}


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

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────────
   LOGO & HEADER
   ───────────────────────────────────────────── */
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text em {
  color: var(--green-mid);
  font-style: normal;
}

.logo-sep {
  width: 1px;
  height: 14px;
  background: var(--border2);
}

.logo-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--ink2);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────
   UPLOAD SECTION (STEP 1)
   ───────────────────────────────────────────── */
/* ── STEP INDICATOR ── */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}
.step.active { color: var(--g-600); }
.step.done { color: var(--text-2); }
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.step.active .step-num { background: var(--g-600); color: white; }
.step.done .step-num { background: var(--g-50); color: var(--g-800); }
.step-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 10px;
}

/* ── UPLOAD FORM ── */
.upload-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 16px;
}

.upload-card-header {
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.upload-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.upload-card-title svg { width: 16px; height: 16px; color: var(--g-600); }
.upload-card-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-required { background: var(--g-50); color: var(--g-800); }
.badge-optional { background: var(--bg); color: var(--text-3); border: 1px solid var(--border); }

.upload-card-body { padding: 20px 24px; }

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

/* ── DROP ZONE ── */
.dropzone {
  border: 1.5px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: var(--surface-dim);
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.dropzone:hover {
  border-color: var(--g-400);
  background: var(--g-50);
}
.dropzone.has-file {
  border-style: solid;
  border-color: var(--g-400);
  background: var(--g-50);
}
.dropzone.drag-over {
  border-color: var(--g-600);
  background: #dff0cc;
}
.dropzone.has-error {
  border-color: var(--red);
  background: var(--red-bg);
}
.dropzone.has-error .dz-label { color: var(--red-dk); }
.dropzone.has-error .dz-hint  { color: var(--red); }

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dz-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.dropzone.has-file .dz-icon {
  background: var(--g-600);
  border-color: var(--g-600);
}
.dz-icon svg { width: 16px; height: 16px; }
.dropzone.has-file .dz-icon svg { stroke: white; }

.dz-text { flex: 1; min-width: 0; }
.dz-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dz-hint {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
}
.dropzone.has-file .dz-hint { color: var(--g-600); }

.dz-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--g-600);
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dropzone.has-file .dz-check { display: flex; }
.dz-check svg { width: 10px; height: 10px; }

/* ── FORM FOOTER ── */
.form-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-top: 16px;
}
.form-footer-left { flex: 1; }
.checklist {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-3);
}
.checklist-item svg { width: 12px; height: 12px; color: var(--g-400); flex-shrink: 0; }
.consent-note {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
  max-width: 420px;
  line-height: 1.5;
}

/* ── SUBMIT BUTTON ── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--g-600);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 200px;
}
.btn-submit:hover:not(:disabled) {
  background: var(--g-800);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-submit svg { width: 16px; height: 16px; }

/* Loading spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .btn-icon { display: none; }

/* ── FILE COUNT TRACKER ── */
.progress-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.progress-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 4px;
  background: var(--g-400);
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 0%;
}
.progress-count {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ── SUCCESS STATE ── */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
}
.success-state.visible { display: flex; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--g-50);
  border: 2px solid var(--g-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.success-icon svg { width: 28px; height: 28px; }
.success-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.success-body { font-size: 13px; color: var(--text-2); max-width: 380px; margin-bottom: 24px; }


/* ─────────────────────────────────────────────
   VERDICT HERO (STEP 2)
   ───────────────────────────────────────────── */
.verdict-hero {
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.verdict-hero.pass {
  background: linear-gradient(135deg, #14532d 0%, #166534 60%, #15803d 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(22,101,52,.25);
}
.verdict-hero.review {
  background: linear-gradient(135deg, #78350f 0%, #92400e 60%, #b45309 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(146,64,14,.25);
}
.verdict-hero.fail {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 60%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(153,27,27,.25);
}

.verdict-left { flex: 1; }

.verdict-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 10px;
}

.verdict-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.verdict-body {
  font-size: 14px;
  opacity: .85;
  line-height: 1.65;
  max-width: 520px;
}

.verdict-right {
  text-align: right;
  flex-shrink: 0;
}

.score-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  margin-left: auto;
  margin-bottom: 8px;
}

.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.score-denom {
  font-size: 11px;
  opacity: .6;
}

.verdict-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.confidence-box {
  margin-left: auto;
  margin-bottom: 20px;
  text-align: right;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-block;
}

.conf-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.conf-value {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

/* ─────────────────────────────────────────────
   SECTION LABELS
   ───────────────────────────────────────────── */
.sec {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink3);
  margin: 36px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─────────────────────────────────────────────
   PLAIN LANGUAGE CHECKS
   ───────────────────────────────────────────── */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.check-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px 18px;
  position: relative;
}

.check-card.pass-card { border-top: 3px solid var(--green-mid); }
.check-card.fail-card { border-top: 3px solid #dc2626; }
.check-card.warn-card { border-top: 3px solid #d97706; }

.check-question {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.check-pill.pass { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bd); }
.check-pill.fail { background: var(--red-bg);   color: var(--red);   border: 1px solid var(--red-bd); }
.check-pill.warn { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-bd); }

.check-detail {
  font-size: 11px;
  color: var(--ink3);
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
}

/* ─────────────────────────────────────────────
   DATA PANELS
   ───────────────────────────────────────────── */
.panels-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.panel-hd {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink2);
  font-family: 'DM Mono', monospace;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  gap: 12px;
  border-bottom: 1px solid #f4f4f5;
}

.panel-row:last-child { border: none; }
.pk { font-size: 12px; color: var(--ink3); }
.pv { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
.pv.good { color: var(--green); }
.pv.bad  { color: var(--red); }
.pv.muted { color: var(--ink3); font-weight: 400; }

/* ─────────────────────────────────────────────
   FLAGS & ALERTS
   ───────────────────────────────────────────── */
.flags-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flag {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.flag.f-critical {
  background: var(--red-bg); border-color: var(--red-bd);
  border-left: 4px solid #dc2626;
}

.flag.f-warn {
  background: var(--amber-bg); border-color: var(--amber-bd);
  border-left: 4px solid #d97706;
}

.flag-msg { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.flag-explain { font-size: 12px; color: var(--ink2); margin-top: 4px; line-height: 1.5; }

/* ─────────────────────────────────────────────
   CROSS VALIDATION CHIPS
   ───────────────────────────────────────────── */
.cv-wrap { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.cv-chip {
  display: inline-flex; 
  align-items: center; 
  gap: 6px;
  padding: 6px 12px; 
  border-radius: 8px;
  font-size: 12px; 
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-bd);
}

.cv-chip.warn { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-bd); }

/* ─────────────────────────────────────────────
   ACTION BAR
   ───────────────────────────────────────────── */
.action {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.action-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.action-sub {
  font-size: 12px;
  color: var(--ink3);
}

.btn-go {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.btn-approve { background: var(--green); color: #fff; }
.btn-approve:hover { background: var(--green-mid); }
.btn-secondary {
  background: transparent;
  color: var(--ink2);
  border: 1px solid var(--border2);
}
.btn-secondary:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ─────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────── */
.hidden { display: none !important; }
.ani {
  animation: up 0.35s ease both;
}
@keyframes up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .wrap { padding: 24px 16px; }
  .verdict-hero { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .score-ring { margin-left: 0; }
}

/* ─────────────────────────────────────────────
   PORTRAIT STYLES
   ───────────────────────────────────────────── */
.portrait-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.portrait-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #f1f5f9;
}

/* ─────────────────────────────────────────────
   PRINT STYLES (PDF SUPPORT)
   ───────────────────────────────────────────── */
@media print {
  body {
    background: #fff;
    padding: 0;
  }
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Flatten dashboard layout for print */
  html, body {
    height: auto !important;
    overflow: visible !important;
  }
  .dashboard-layout {
    display: block !important;
    width: 100% !important;
  }
  .dashboard-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  /* Report layout */
  .body {
    max-width: 100% !important;
    padding: 16px 0 !important;
  }
  .applicant-grid {
    grid-template-columns: 1fr !important;
  }
  .app-card {
    overflow: visible !important;
    page-break-inside: avoid;
  }
  .kpi-row {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .signal-row {
    grid-template-columns: 150px 1fr 80px !important;
  }

  /* Hide all chrome */
  .dashboard-sidebar,
  #dashboard-header,
  #upload-section,
  #success-state,
  .steps,
  .progress-strip,
  .action-bar,
  .scene-bar,
  .action,
  .btn-go,
  .controls {
    display: none !important;
  }

  /* Force display of results */
  #results-section {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .glass, .card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }

  .verdict-hero,
  .verdict-banner,
  .kpi,
  .app-card {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ── DASHBOARD SIDEBAR LAYOUT ── */
body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
}

/* ── DASHBOARD SIDEBAR LAYOUT ── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 36px;
  text-decoration: none;
}
.sidebar-logo-icon {
  width: 38px; height: 38px;
  background: var(--g-800);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo-icon svg { width: 22px; height: 22px; }
.sidebar-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.sidebar-logo-text em { color: var(--g-600); font-style: normal; }
.sidebar-logo-slogan {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1px;
  font-weight: 400;
  margin-top: 1px;
}

.nav-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-3);
  font-weight: 500;
  margin: 0 0 6px 10px;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.nav-item:hover { background: var(--bg); color: var(--text); }
.nav-item.active { background: var(--g-50); color: var(--g-800); }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-divider { height: 1px; background: var(--border); margin: 10px 0; }

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--g-50);
  color: var(--g-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 500; }
.user-role { font-size: 11px; color: var(--text-3); }
.btn-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-md);
  background: none;
  border: none;
  color: var(--red-dk);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-logout:hover { background: var(--red-bg); }
.btn-logout svg { width: 15px; height: 15px; }

.dashboard-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

