:root {
  color-scheme: light;
  --background: #f7f8fa;
  --surface: #ffffff;
  --text-primary: #20242c;
  --text-secondary: #68707d;
  --border: #dfe3e8;
  --accent: #16765b;
  --accent-soft: #e7f4ef;
  --shadow: 0 8px 24px rgb(32 36 44 / 8%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #17191d;
  --surface: #202328;
  --text-primary: #f2f4f7;
  --text-secondary: #aab0ba;
  --border: #343840;
  --accent: #55c29d;
  --accent-soft: #193c32;
  --shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--text-primary);
}

.page-shell {
  width: min(100% - 32px, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.empty-state {
  display: grid;
  min-height: 320px;
  margin-top: 24px;
  place-items: center;
  align-content: center;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.empty-state h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}

.empty-state p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1080px);
    padding: 20px 0;
  }

  .page-header {
    align-items: flex-start;
  }

  .empty-state {
    min-height: 280px;
    padding: 24px 18px;
  }
}

