/* ============================================
   ProofRun — Theme CSS
   ============================================ */

:root {
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --accent: #FF6B35;
  --green: #1B4332;
  --green-light: #2D6A4F;
  --gray-100: #F5F3EF;
  --gray-200: #E8E4DD;
  --gray-400: #9B9489;
  --gray-600: #5C574D;
  --gray-800: #2A2620;
  --white: #FFFFFF;
  --red: #E63946;
  --red-bg: #FEF2F2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--green);
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-body {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.hero-btn--demo {
  background: var(--green);
  color: white;
}

.hero-btn--demo:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.hero-btn--secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--gray-200);
}

.hero-btn--secondary:hover {
  background: var(--gray-100);
}

/* MOCKUP */
.hero-mockup {
  position: relative;
  perspective: 1000px;
}

.mockup-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.3s ease;
}

.mockup-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.mockup-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-status-badge--active {
  background: #FFF3ED;
  color: var(--accent);
}

.mockup-label {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

.mockup-task {
  margin-bottom: 16px;
}

.mockup-task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-task-info {
  flex: 1;
  min-width: 0;
}

.mockup-task-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.mockup-task-meta {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 1px;
}

.mockup-task-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

.mockup-task-badge--pending {
  background: #FFF8E6;
  color: #B45309;
}

.mockup-task-badge--done {
  background: #F0FDF4;
  color: #15803D;
}

.mockup-progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.mockup-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #FFF3ED;
  border: 1px solid #FFD4BE;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 4px;
}

.mockup-alert span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.4;
}

.mockup-shadow {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: -20px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(12px);
}

/* PROOF STATS */
.proof-stats {
  background: var(--green);
  color: var(--white);
  padding: 56px 0;
}

.proof-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat {
  flex: 1;
}

.stat-value {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat-value--accent {
  color: var(--accent);
}

.stat-label {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.stat-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-style: italic;
}

.stat-arrow {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* SECTION SHARED */
.section-kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 96px 0;
}

.how-it-works-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.step-number {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--gray-200);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-body {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* COMPLIANCE CHECKS */
.compliance-checks {
  background: var(--gray-100);
  padding: 96px 0;
}

.compliance-checks-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.compliance-body {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-800);
  font-weight: 500;
}

.check-list li svg {
  color: var(--green);
  flex-shrink: 0;
}

.compliance-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compliance-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.compliance-card--ok {
  border-color: #D1FAE5;
}

.compliance-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.compliance-card-body {
  flex: 1;
}

.compliance-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.compliance-card-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.compliance-card-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compliance-pill--error {
  background: #FFF3ED;
  color: var(--accent);
}

.compliance-pill--ok {
  background: #F0FDF4;
  color: #15803D;
}

.compliance-card-meta {
  font-size: 11px;
  color: var(--gray-400);
}

/* CLOSING */
.closing {
  padding: 96px 0;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.closing-headline {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-400);
}

/* ============================================
   NAV LINKS
   ============================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link--cta {
  background: var(--green);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-link--cta:hover {
  background: var(--green-light);
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-hero {
  padding: 64px 0 32px;
  text-align: center;
}

.pricing-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-headline {
  font-size: clamp(40px, 5vw, 60px);
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Tiers */
.pricing-tiers {
  padding: 48px 0 80px;
}

.pricing-tiers-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tier-card--recommended {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 8px 32px rgba(27,67,50,0.12);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.tier-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-name {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.tier-amount {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--green);
  letter-spacing: -0.03em;
}

.tier-period {
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 500;
}

.tier-tagline {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  font-style: italic;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.4;
}

.tier-features li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-feature--muted {
  opacity: 0.4;
}

.tier-feature--muted svg {
  color: var(--gray-400) !important;
}

.tier-cta {
  display: block;
  text-align: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.tier-cta--primary {
  background: var(--green);
  color: white;
}

.tier-cta--primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.tier-cta--secondary {
  background: var(--gray-100);
  color: var(--green);
  border: 1px solid var(--gray-200);
}

.tier-cta--secondary:hover {
  background: var(--gray-200);
}

/* FAQ */
.pricing-faq {
  background: var(--gray-100);
  padding: 80px 0;
}

.pricing-faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-faq-headline {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.faq-q {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Comparison */
.pricing-comparison {
  padding: 64px 0;
  text-align: center;
}

.pricing-comparison-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-comparison-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--gray-600);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 24px;
}

.pricing-demo-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.15s;
}

.pricing-demo-link:hover {
  opacity: 0.7;
}

/* Footer links */
.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--green);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-mockup {
    order: -1;
  }

  .hero-headline {
    font-size: 38px;
  }

  .proof-stats-inner {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .stat-arrow {
    display: none;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compliance-checks-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .mockup-card {
    transform: none;
  }

  .nav-inner,
  .hero-inner,
  .how-it-works-inner,
  .compliance-checks-inner,
  .closing-inner {
    padding: 0 20px;
  }

  .proof-stats-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 40px;
  }

  .how-it-works,
  .compliance-checks,
  .closing {
    padding: 64px 0;
  }

  .section-headline {
    font-size: 28px;
  }

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

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dash-page {
  min-height: calc(100vh - 64px);
  background: var(--bg);
}

/* Stats strip */
.dash-stats {
  background: var(--green);
  padding: 24px 0;
}

.dash-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 0;
}

.dash-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.dash-stat:last-child {
  border-right: none;
}

.dash-stat-value {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.dash-stat--alert .dash-stat-value {
  color: var(--accent);
}

.dash-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Filters bar */
.dash-filters {
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  background: var(--white);
}

.dash-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.dash-filter-form {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dash-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
}

.dash-select {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  outline: none;
}

.dash-select:focus {
  border-color: var(--green);
}

.dash-filter-clear {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
  margin-left: auto;
}

.dash-filter-clear:hover {
  color: var(--fg);
}

/* Main section */
.dash-main {
  padding: 32px 0 64px;
}

/* Empty state */
.dash-empty {
  text-align: center;
  padding: 80px 32px;
  max-width: 480px;
  margin: 0 auto;
}

.dash-empty-icon {
  color: var(--gray-400);
  margin-bottom: 20px;
}

.dash-empty-headline {
  font-size: 28px;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.dash-empty-sub {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}

.dash-empty-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.dash-btn--primary {
  background: var(--green);
  color: white;
}

.dash-btn--primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.dash-btn--secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--gray-200);
}

.dash-btn--secondary:hover {
  background: var(--gray-100);
}

/* Table */
.dash-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dash-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.dash-row td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

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

.dash-row:hover {
  background: var(--gray-100);
}

/* Artwork cell */
.dash-cell-artwork {
  min-width: 160px;
}

.dash-artwork-name {
  display: block;
  font-weight: 500;
  color: var(--fg);
}

.dash-artwork-sub {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Reviewer cell */
.dash-cell-reviewer {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.dash-reviewer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-reviewer-name {
  display: block;
  font-weight: 500;
  color: var(--fg);
}

.dash-reviewer-email {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
}

/* Status badges */
.dash-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: capitalize;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.dash-badge--pending       { background: #FFF8E6; color: #B45309; }
.dash-badge--approved      { background: #F0FDF4; color: #15803D; }
.dash-badge--rejected      { background: var(--red-bg); color: var(--red); }
.dash-badge--changes_requested { background: #EFF6FF; color: #2563EB; }
.dash-badge--stale         { background: var(--gray-100); color: var(--gray-600); }

/* SLA cell */
.dash-sla {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.sla-green  { background: #F0FDF4; color: #15803D; }
.sla-amber  { background: #FFFBEB; color: #D97706; }
.sla-red    { background: var(--red-bg); color: var(--red); }
.sla-done   { color: var(--gray-400); font-weight: 400; }

/* Last action cell */
.dash-cell-action {
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
}

/* Issues cell */
.dash-cell-issues {
  min-width: 140px;
}

.dash-issues-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dash-issue-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  text-transform: capitalize;
  white-space: nowrap;
}

.dash-issue-badge--critical { background: #FEF2F2; color: #DC2626; }
.dash-issue-badge--high     { background: #FFF3ED; color: var(--accent); }
.dash-issue-badge--medium   { background: #FFFBEB; color: #D97706; }
.dash-issue-badge--low      { background: #F0FDF4; color: #15803D; }
.dash-issue-badge--info     { background: #EFF6FF; color: #2563EB; }

.dash-issue-more {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.dash-no-issues {
  font-size: 12px;
  color: #15803D;
  font-weight: 500;
}

/* Expand button */
.dash-cell-expand {
  width: 36px;
}

.dash-expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-400);
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.dash-expand-btn:hover {
  background: var(--gray-100);
  color: var(--fg);
}

.dash-expand-icon {
  transition: transform 0.2s;
}

/* Timeline expansion */
.dash-timeline-row td {
  padding: 0 !important;
  border-bottom: 2px solid var(--gray-200);
}

.dash-timeline-cell {
  background: var(--gray-100);
}

.dash-timeline {
  padding: 24px 32px;
}

.dash-timeline-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.dash-timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.dash-timeline-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-left: 2px solid var(--gray-200);
  padding-left: 16px;
  position: relative;
}

.dash-timeline-dot {
  position: absolute;
  left: -5px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
}

.dash-timeline-entry--initial .dash-timeline-dot   { background: var(--green); }
.dash-timeline-entry--reminder .dash-timeline-dot  { background: #D97706; }
.dash-timeline-entry--escalation .dash-timeline-dot { background: var(--red); }
.dash-timeline-entry--responded .dash-timeline-dot  { background: #2563EB; }

.dash-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-timeline-type {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.dash-timeline-ts {
  font-size: 12px;
  color: var(--gray-400);
}

.dash-timeline-comment {
  font-size: 13px;
  color: var(--gray-600);
  font-style: italic;
  margin-top: 4px;
}

.dash-timeline-empty {
  font-size: 13px;
  color: var(--gray-400);
}

/* Issues detail in timeline */
.dash-timeline-issues {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.dash-issues-detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.dash-issue-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dash-issue-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-issue-msg {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}

.dash-issue-type {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: capitalize;
}

/* Responsive */
@media (max-width: 768px) {
  .dash-stats-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .dash-stat {
    flex: 1 1 calc(50% - 8px);
    border-right: none;
    padding: 0;
  }

  .dash-table thead th:nth-child(5),
  .dash-table .dash-row td:nth-child(5) {
    display: none;
  }

  .dash-inner {
    padding: 0 16px;
  }
}
}