* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #eef1e9;
  color: #1c3530;
  font:
    16px/1.6 system-ui,
    -apple-system,
    sans-serif;
}
header {
  padding: 22px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d8dfd4;
  background: #f8f9f4;
}
.brand {
  color: #193d32;
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand span {
  display: inline-grid;
  place-items: center;
  background: #245e49;
  border-radius: 9px;
  width: 35px;
  height: 35px;
  color: white;
  margin-right: 7px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: #e5eadf;
  padding: 7px 12px;
  border-radius: 50px;
}
a {
  color: #245e49;
}
header a:not(.brand) {
  font-size: 13px;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 42px 4vw;
}
.intro {
  margin-bottom: 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #647957;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 10px 0 16px;
}
h1 em {
  font-style: normal;
  color: #52815a;
}
.intro > p:last-child {
  max-width: 650px;
  color: #5e7166;
  font-size: 16px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr);
  gap: 24px;
  align-items: start;
}
.form-shell {
  background: #fffdf7;
  border: 1px solid #d9dfd1;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 50px #374c2510;
}
.form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin: 10px 0;
}
.paper-icon {
  font-size: 38px;
  color: #6d835b;
}
.practice-note {
  font-size: 12px;
  color: #687368;
  line-height: 1.6;
  max-width: 540px;
}
.steps {
  display: flex;
  gap: 15px;
  border-top: 1px solid #e3e7db;
  border-bottom: 1px solid #e3e7db;
  padding: 16px 0;
  margin: 23px 0;
}
.steps span {
  font-size: 11px;
  color: #627d56;
}
.steps b {
  font-weight: 500;
  color: #5b6e5c;
  margin-left: 3px;
}
.field-card {
  padding: 20px;
  border: 1px solid #e0e5d9;
  border-radius: 12px;
  margin-top: 15px;
  background: white;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.field-card.active {
  border-color: #548b60;
  box-shadow: 0 0 0 2px #e4eddf;
  background: #f9fcf6;
}
.field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.field-meta > span {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 750;
  color: #7a896e;
}
button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid #bfcfba;
  border-radius: 8px;
  padding: 9px 13px;
  background: #edf4e7;
  color: #2e6449;
  font-weight: 700;
  font-size: 12px;
}
.field-meta button {
  min-height: 36px;
  font-size: 11px;
  border: 0;
  padding: 6px 10px;
}
label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.field-card p {
  font-size: 12px;
  color: #6b796a;
  margin: 8px 0 13px;
}
input,
select {
  font: inherit;
  background: white;
  border: 1px solid #cbd6c5;
  border-radius: 7px;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
  color: #385542;
  font-size: 14px;
}
.money {
  position: relative;
}
.money > span {
  position: absolute;
  left: 14px;
  top: 10px;
  color: #819078;
}
.money input {
  padding-left: 33px;
}
input:focus,
select:focus {
  outline: 2px solid #4b8a5b;
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #198d70;
  outline-offset: 3px;
}
.form-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 11px;
  color: #65795f;
}
aside {
  position: sticky;
  top: 20px;
  border: 1px solid #d2dccd;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f8f4;
  box-shadow: 0 16px 50px #283d2312;
}
iframe {
  width: 100%;
  height: 840px;
  border: 0;
  display: block;
}
.extension-note {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0;
}
.extension-note h2 {
  font-size: 18px;
}
.extension-note p {
  font-size: 12px;
  max-width: 700px;
  color: #65775f;
}
.extension-note button {
  flex-shrink: 0;
}
dialog {
  max-width: 520px;
  border: 1px solid #c2d1b9;
  border-radius: 16px;
  padding: 28px;
  color: #234832;
}
dialog::backdrop {
  background: #17342180;
}
dialog li {
  padding: 7px 0;
  font-size: 14px;
}
dialog p {
  font-size: 13px;
}
body.extension-mode .workspace {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: auto;
}
body.extension-mode aside {
  display: none;
}
@media (max-width: 850px) {
  main {
    padding: 28px 18px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
  }
  .form-shell {
    padding: 20px;
  }
  .header-right .tag {
    display: none;
  }
  .extension-note {
    display: block;
  }
  .steps {
    gap: 9px;
  }
  .steps span {
    font-size: 10px;
  }
  iframe {
    height: 820px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.form-chooser {
  margin: 0 0 2rem;
}
.form-chooser h2 {
  margin-bottom: 0.5rem;
}
.form-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.form-options button {
  text-align: left;
  background: #fff;
  border: 1px solid #b5c5bc;
  border-radius: 14px;
  padding: 20px;
  color: #173d32;
  cursor: pointer;
}
.form-options button[aria-pressed="true"] {
  background: #e5f2e8;
  border: 2px solid #256448;
  padding: 19px;
}
.form-options strong,
.form-options span {
  display: block;
}
.form-options strong {
  font-size: 17px;
  margin-bottom: 8px;
}
.form-options span {
  font-size: 14px;
  line-height: 1.5;
}
.form-options button:focus-visible {
  outline: 3px solid #256448;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .form-options {
    grid-template-columns: 1fr;
  }
}
