:root {
  --page: #ddd5ca;
  --shell: #001a1b;
  --bg: #04282a;
  --panel: #0d3435;
  --raised: #15403f;
  --moss: #1a3d2b;
  --orange: #d66313;
  --orange-hover: #bb540f;
  --green: #3bb34a;
  --status-green: #2c6e4a;
  --danger: #e53e2f;
  --text: #f8f8f8;
  --muted: #93a8a2;
  --disabled: #4a5e5a;
  --border: rgba(255, 255, 255, 0.08);
  --border-solid: #1c4543;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
  padding: 28px;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto 18px;
  background: var(--shell);
  border: 1px solid var(--border-solid);
  border-radius: 12px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo {
  display: flex;
  gap: 3px;
}

.logo span {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 11px;
}

.logo span:nth-child(1) {
  background: #3d7456;
}

.logo span:nth-child(2) {
  background: #1e6a88;
}

.logo span:nth-child(3) {
  background: var(--orange);
}

.topmeta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 8px;
}

h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.control {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

select {
  width: 100%;
  background: var(--raised);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 11px 12px;
}

.btn {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

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

.btn-primary:hover {
  background: var(--orange-hover);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.status {
  margin-top: 14px;
  background: rgba(0, 26, 27, 0.45);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.score {
  background: rgba(0, 26, 27, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.score-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.score-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.score-value {
  color: var(--text);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 5px;
  background: #102b1e;
  border-radius: 99px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--green);
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 4px 8px;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.08);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pill.decline {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.pill.review {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 54px 20px;
}

.error {
  color: #fecaca;
  background: rgba(229, 62, 47, 0.16);
  border-color: rgba(229, 62, 47, 0.45);
}

@media (max-width: 900px) {
  .shell {
    padding: 16px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
