:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #1a2433;
  --muted: #5b6a7f;
  --accent: #1466d6;
  --border: #d6dfeb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f6f8fb 0%, #eef3fa 100%);
  color: var(--text);
}

.app-header,
.app-main {
  width: min(760px, 92vw);
  margin: 0 auto;
}

.app-header {
  padding: 2rem 0 1rem;
}

.app-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.app-header p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.app-main {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(20, 35, 56, 0.08);
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.tab {
  border: 1px solid var(--border);
  background: #f4f7fc;
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.view {
  padding-top: 1rem;
  line-height: 1.55;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  background: #fbfdff;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #d9f2e6;
  color: #0d6b3f;
  font-weight: 600;
}
