:root {
  color-scheme: light;
  --ink: #14221b;
  --muted: #607168;
  --line: #d9e3de;
  --fill: #f6faf8;
  --brand: #0b6b43;
  --brand-dark: #064f31;
  --brand-soft: #e8f4ef;
  --accent: #d7a64a;
  --ok: #168a54;
  --warn: #9a5b00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(11, 107, 67, 0.1) 0%, rgba(237, 243, 240, 0) 180px),
    #edf3f0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 18px 20px 28px;
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px 16px;
}

.logo {
  width: min(330px, 68vw);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.brand-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.codename {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.titleband {
  text-align: center;
  padding: 22px 10px 24px;
}

.titleband p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--brand-dark);
  font-weight: 760;
}

h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(10, 52, 35, 0.12);
}

form {
  display: grid;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 14px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 14px;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 107, 67, 0.14);
}

button {
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #0e7a4d 0%, var(--brand-dark) 100%);
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover {
  background: linear-gradient(180deg, #0c6f46 0%, #043f27 100%);
}

button:disabled {
  background: #9fb8df;
  cursor: wait;
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.message.ok {
  color: var(--ok);
}

.message.warn {
  color: var(--warn);
}

@media (max-width: 680px) {
  .shell {
    padding: 14px;
  }

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

  .brandbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 10px;
  }

  .brand-meta {
    width: 100%;
    justify-content: space-between;
  }

  .titleband {
    padding-top: 14px;
  }

  .panel {
    padding: 16px;
  }
}
