:root {
  --bg: #eef3f6;
  --surface: #ffffff;
  --surface2: #f7fafb;
  --text: #12212b;
  --muted: #637381;
  --accent: #007c78;
  --accent2: #f08020;
  --danger: #b42318;
  --stroke: #d7e0e5;
  --shadow: 0 18px 50px rgba(18, 33, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--stroke);
}

.spacer {
  flex: 1;
}

.shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 34px 18px 48px;
}

.panel {
  width: min(620px, 100%);
  display: grid;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.heading {
  display: grid;
  gap: 6px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.form-stack {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select,
input[type='text'] {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface2);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  outline: none;
}

select:focus,
input[type='text']:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 124, 120, 0.14);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.btn.primary:hover {
  background: #006c68;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.status,
.empty {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 124, 120, 0.18);
  background: rgba(0, 124, 120, 0.08);
  color: #075c59;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.status:empty {
  display: none;
}

.status.error {
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.08);
  color: var(--danger);
}

.empty {
  border-color: rgba(240, 128, 32, 0.24);
  background: rgba(240, 128, 32, 0.09);
  color: #7a3a04;
}

@media (max-width: 620px) {
  .topbar-inner {
    padding-inline: 14px;
  }

  .shell {
    padding: 22px 14px 36px;
  }

  .card {
    padding: 18px;
  }

  .actions,
  .btn {
    width: 100%;
  }
}
