:root {
  font-family:
    Inter,
    Segoe UI,
    system-ui,
    sans-serif;
  color: #192d2b;
  background: #f3f5f0;
  line-height: 1.55;
  font-size: 16px;
  --green: #18564b;
  --line: #d9e1d7;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  max-width: 1200px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.14em;
  font-weight: 750;
}
.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green);
  color: white;
  font-size: 23px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.03em;
  background: #e3eadd;
  padding: 5px 9px;
  border-radius: 7px;
  font-weight: 500;
}
main {
  max-width: 1136px;
  margin: auto;
  padding: 32px 0 64px;
}
.welcome {
  max-width: 650px;
  padding: 56px 0 80px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4e7165;
  margin-bottom: 15px;
}
h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 650;
}
.welcome h1 {
  font-size: 62px;
}
h2 {
  font-size: 23px;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
  margin-top: 25px;
}
.welcome > p:not(.eyebrow) {
  max-width: 490px;
}
.muted,
small {
  color: #5e7068;
}
small {
  display: block;
  font-size: 12px;
}
button {
  font: inherit;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid #b9c9bb;
  background: #fff;
  color: #244438;
  cursor: pointer;
  font-weight: 600;
  min-height: 43px;
}
button:hover {
  background: #eaf0e5;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.primary {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.primary:hover {
  background: #103e36;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #bc850e;
  outline-offset: 3px;
}
.welcome .primary {
  margin: 20px 0 5px;
  padding: 13px 25px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 12px;
  margin: 24px 0;
}
.card > p {
  max-width: 820px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pill {
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  max-width: 360px;
  overflow-wrap: anywhere;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 22px 0 30px;
}
label {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
input,
select {
  display: block;
  width: 100%;
  font: inherit;
  border: 1px solid #c4cec4;
  background: #fcfdfa;
  color: #192d2b;
  border-radius: 6px;
  margin: 6px 0;
  padding: 10px;
  min-height: 44px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.grid > button {
  align-self: end;
  justify-self: start;
}
code {
  font:
    14px ui-monospace,
    Consolas,
    monospace;
  display: inline-block;
  background: #eff3eb;
  padding: 12px 15px;
  border-radius: 6px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #e4e9e0;
  vertical-align: top;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4c655a;
}
caption {
  text-align: left;
  color: #657568;
  font-size: 13px;
  margin-bottom: 12px;
}
td button {
  min-height: 34px;
  padding: 5px 10px;
}
.consent {
  max-width: 720px;
  margin: 35px auto;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
}
.scope {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
}
.scope input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
#message:not(:empty) {
  padding: 14px 18px;
  border: 1px solid #c8d8c1;
  background: #e9f1e2;
  border-radius: 8px;
  margin-bottom: 20px;
}
#message.error {
  background: #fff0e8;
  border-color: #d9aa8c;
  color: #803512;
}
footer {
  padding: 25px 32px;
  text-align: center;
  color: #657568;
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.connection {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
  main {
    padding: 28px 32px 50px;
  }
}
@media (max-width: 650px) {
  header {
    padding: 18px;
  }
  .badge {
    display: none;
  }
  main {
    padding: 24px 18px;
  }
  .welcome {
    padding-top: 35px;
  }
  .welcome h1 {
    font-size: 43px;
  }
  h1 {
    font-size: 32px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px;
  }
  .heading {
    display: block;
  }
  .pill {
    display: inline-block;
    margin-bottom: 12px;
  }
}
