:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #213f38;
  background: #f5f4ef;
  font-size: 16px;
  line-height: 1.55;
  --green: #165c4d;
  --line: #dce1d8;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4vw;
  border-bottom: 1px solid var(--line);
  background: #f5f4ef;
}
.brand {
  font: 38px Georgia;
  color: #244e40;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: #bb7855;
}
.brand small {
  font: 15px system-ui;
}
.top > span,
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
}
.shell {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 24px 80px;
}
.heading {
  max-width: 750px;
  margin-bottom: 28px;
}
h1 {
  font: clamp(30px, 4vw, 48px)/1.15 Georgia;
  margin: 10px 0 20px;
}
h2 {
  font: 28px Georgia;
  margin: 0 0 15px;
}
h3 {
  font-size: 16px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fffef9;
  border-radius: 16px;
  margin-bottom: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stack {
  display: grid;
  gap: 14px;
}
label {
  display: block;
  font-size: 14px;
  color: #43534c;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 6px 0 12px;
  border: 1px solid #bac9bf;
  border-radius: 8px;
  background: white;
  font: inherit;
  color: #203d33;
  min-height: 47px;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
  width: 20px;
  height: 20px;
  flex: none;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  margin: 8px 0;
  min-height: 48px;
}
.check span {
  padding-top: 1px;
}
button,
.button {
  border: 1px solid #bac9bf;
  background: #fffef9;
  border-radius: 9px;
  padding: 12px 18px;
  font: inherit;
  color: #264d41;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  min-height: 47px;
}
button:hover,
.button:hover {
  background: #e9eee5;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #124d40;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0;
}
.hint {
  font-size: 13px;
  color: #63736a;
}
.notice {
  border-left: 4px solid #ac734d;
  background: #f3ecdc;
  padding: 16px;
  border-radius: 5px;
}
.badge {
  font-size: 12px;
  background: #e5ece1;
  border-radius: 15px;
  padding: 4px 9px;
  display: inline-block;
}
.client-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
a {
  color: var(--green);
}
.steps {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 14px;
  margin-bottom: 10px;
}
.steps button {
  white-space: nowrap;
  font-size: 13px;
}
.steps button[aria-current="step"] {
  background: #dce8dc;
  border-color: #537662;
}
.repeat-item {
  padding: 20px;
  background: #f2f4ed;
  border-radius: 12px;
  margin: 14px 0;
}
.repeat-item .remove {
  font-size: 13px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font: 26px Georgia;
  padding: 0 0 14px;
}
details > summary {
  cursor: pointer;
  font-weight: 600;
}
.error,
#form-error {
  color: #a02b32;
}
code {
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.login {
  max-width: 470px;
  margin: 10vh auto;
}
.full {
  grid-column: 1/-1;
}
:focus-visible {
  outline: 3px solid #bb875e;
  outline-offset: 3px;
}
#card-form {
  scroll-margin-top: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .shell {
    padding: 0 16px 60px;
    margin-top: 25px;
  }
  .card {
    padding: 18px;
  }
  .top {
    padding: 12px 16px;
  }
  .top > span {
    display: none;
  }
  .client-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .actions > * {
    flex: 1;
    text-align: center;
  }
  .brand {
    font-size: 30px;
  }
}

.field-help{display:block;line-height:1.55;margin:0 0 16px}.product-help{padding:16px 20px;border:1px solid #dce1d8;border-radius:12px;background:#f2f4ed;margin-bottom:18px;max-width:850px}.product-help p{margin:0 0 12px}.product-help p:last-child{margin-bottom:0}
