:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --ink: #10292c;
  --muted: #64748b;
  --line: #d7e1e4;
  --panel: #ffffff;
  --soft: #f4faf9;
  --brand: #0b626a;
  --brand-2: #158fa3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafb;
  color: var(--ink);
}

.shell {
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand p {
  margin: 0;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
}

.brand h1 {
  margin: 2px 0 0;
  font-size: 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.badge {
  border-radius: 999px;
  padding: 5px 9px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.badge.muted {
  background: #f1f5f9;
  color: #475569;
}

a {
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: none;
}

.copy,
.message {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(21, 143, 163, 0.16);
}

textarea {
  resize: vertical;
}

.spaced {
  margin-top: 12px;
}

button,
.secondary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 7px;
  border: 1px solid transparent;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

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

.primary:disabled {
  cursor: not-allowed;
  background: #94a3b8;
}

.secondary {
  border-color: var(--line);
  background: white;
  color: var(--brand);
}

.secondary:hover {
  border-color: var(--brand-2);
  background: var(--soft);
}

.ghost {
  border-color: transparent;
  background: transparent;
  color: #475569;
}

.ghost:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.link-button {
  width: auto;
  min-height: auto;
  margin-top: 0;
  border: 0;
  background: transparent;
  color: var(--brand-2);
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.link-button:hover {
  text-decoration: underline;
}

.compact {
  margin-top: 0;
}

.progress-block {
  margin-top: 14px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  margin-top: 7px;
  background: #e2e8f0;
}

.progress div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #78c98b, #158fa3);
  transition: width 240ms ease;
}

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

.scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.scores div {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  padding: 10px;
}

.scores span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.scores strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.hidden {
  display: none;
}
