/* ── SCREEN SYSTEM ── */
.screen {
  display: none;
  min-height: 100vh;
  flex-direction: column;
}

.screen.active {
  display: flex;
}

/* ── LAYOUT ── */
.page-wrap {
  flex: 1;
  padding: 28px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  color: var(--soil);
}

.page-header p {
  color: var(--mid);
  font-size: 14px;
  margin-top: 4px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--soil);
  margin-bottom: 4px;
}

.divider {
  border: none;
  border-top: 1px solid #e0ebe4;
  margin: 24px 0;
}

/* ── DASHBOARD LAYOUT ── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

/* ── STAT CARDS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--leaf-mid);
}

.stat-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--leaf);
  font-family: 'Fraunces', serif;
}

.stat-label {
  font-size: 12.5px;
  color: var(--mid);
  margin-top: 2px;
  font-weight: 500;
}

/* ── FLEX HELPERS ── */
.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mb-0 {
  margin-bottom: 0;
}

/* ── SUCCESS SCREEN ── */
.success-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.success-screen h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  color: var(--soil);
  margin-bottom: 8px;
}

.success-screen p {
  color: var(--mid);
  font-size: 15px;
  max-width: 360px;
  line-height: 1.55;
  margin-bottom: 28px;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--pale);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 14px;
  max-width: 300px;
  margin: 0 auto 20px;
}
