/* Unpublished layout proposal. */
.app-shell{grid-template-columns:clamp(240px,22vw,320px) minmax(0,1fr)}
.sidebar::after{display:none}.brand{height:114px;padding:28px}.brand img{width:210px;height:58px}
.sidebar-content{min-height:calc(100vh - 114px);padding:46px 30px 30px}.sidebar h1{font-size:29px;line-height:1.25;max-width:230px}.sidebar .eyebrow{font-size:10px;margin-bottom:14px}.sidebar-copy,.sidebar-promise,.side-image{display:none}.side-footer{margin-top:auto;padding-top:60px;font-size:11px;line-height:1.7}
.main-panel{background:#f4f6f8}.topbar{padding:25px 44px;background:#fff}.progress-wrap{width:440px}.form-area{display:block;flex:1;width:min(100%,850px);padding:40px 36px 48px}.step{max-width:none;background:#fff;border:1px solid #dfe3e8;border-top:3px solid var(--teal);padding:32px 36px 36px}h2{font-size:32px;line-height:1.2}.step>.eyebrow{margin-bottom:10px}.intro{margin:10px 0 27px;font-size:14px}.field-grid{gap:23px 20px}.field{font-size:13px}.field input,.field select{min-height:48px}.form-actions{margin-top:28px}.form-actions>.primary-button{min-width:150px;justify-content:space-between}footer{padding:20px 36px;background:#f4f6f8;font-size:10px}.preview-label{padding:7px 16px;text-align:center;background:#fff3e9;color:#833810;font-size:11px;letter-spacing:.2px}.step[data-step="1"] .field-grid>.field:nth-child(2){grid-column:1/-1}.step[data-step="1"] .field-grid>.field:first-child{grid-column:1/-1}.step[data-step="1"] .field-grid>.field-wide{grid-column:1/-1}.step[data-step="1"] .field-grid{gap:20px}.step[data-step="1"] .intro{margin-bottom:25px}
@media(max-width:1000px) and (min-width:801px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar-content{padding:35px 24px}.sidebar h1{font-size:26px}.form-area{padding:28px 24px}.step{padding:28px 25px}.topbar{padding:24px}}
@media(max-width:800px){.app-shell{grid-template-columns:1fr}.brand{height:68px;padding:10px 24px}.brand img{width:160px;height:48px}.sidebar-content{display:none}.main-panel{min-height:calc(100dvh - 94px)}.topbar{padding:18px 24px}.form-area{padding:24px 20px 32px}.step{padding:26px 24px}h2{font-size:28px}footer{padding:18px 24px}}
@media(max-width:520px){.form-area{padding:20px 14px 28px}.step{padding:24px 20px}.topbar{padding:17px 20px}.step[data-step="1"] .field-grid{grid-template-columns:1fr}.form-actions>.primary-button{width:100%}h2{font-size:27px}.intro{font-size:13px}}

/* Centre the progress indicator within the form panel header. */
.topbar{position:relative;justify-content:center}
.topbar #reset-button{position:absolute;right:24px;top:50%;transform:translateY(-50%)}
.progress-wrap{width:min(440px,calc(100% - 72px))}
@media(max-width:520px){.topbar #reset-button{right:20px}.progress-wrap{width:calc(100% - 48px);margin-right:36px}}

/* Two-page initial enquiry, then full-application progress. */
.is-quick-entry .progress-wrap{display:grid;grid-template-columns:auto minmax(100px,172px) auto}
.is-quick-entry .progress-track,.is-quick-entry #step-label{display:block}
.is-quick-entry #progress-name{display:block}
@media(max-width:520px){.is-quick-entry .progress-wrap{grid-template-columns:auto minmax(60px,1fr);gap:12px}.is-quick-entry .progress-wrap #progress-name{display:none}}

/* Give the funding need step more room without widening the later questions. */
.form-area:has(.step[data-step="2"].active) {
  width: min(100%, 1072px);
}
.step[data-step="2"] {
  padding-inline: clamp(25px, 3.2vw, 46px);
}
.step[data-step="2"] .funding-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.step[data-step="2"] .choice-card {
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  min-height: 102px;
  padding: 17px 19px;
}
.step[data-step="2"] .choice-card:last-child {
  min-height: 80px;
}
.step[data-step="2"] .choice-card b {
  font-size: 15px;
  line-height: 1.35;
}
.step[data-step="2"] .choice-card small {
  font-size: 13px;
  line-height: 1.45;
}
.step[data-step="2"] .choice-card:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.step[data-step="2"] .funding-finder {
  margin-top: 12px;
  border-top: 0;
}
.step[data-step="2"] .finder-toggle {
  min-height: 44px;
  margin-top: 0;
}
#initial-amount-panel {
  margin-top: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
#initial-amount-panel > .field {
  font-size: 16px;
}
#initial-amount-panel > p {
  max-width: 70ch;
}
.initial-amount-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  margin-top: 15px;
}
.initial-amount-controls > .input-prefix {
  width: min(245px, 100%);
}
#initial-amount-panel .unknown-choice {
  min-height: 44px;
  margin-top: 0;
}
.step[data-step="2"] .early-submission {
  margin-top: 36px;
}

@media (max-width: 680px) {
  .step[data-step="2"] {
    padding-inline: 17px;
  }
  .step[data-step="2"] .funding-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .step[data-step="2"] .choice-card,
  .step[data-step="2"] .choice-card:last-child {
    min-height: 72px;
    padding: 13px;
  }
  .step[data-step="2"] .choice-icon {
    align-self: center;
  }
  #initial-amount-panel {
    margin-top: 18px;
    padding-top: 21px;
  }
  .initial-amount-controls {
    column-gap: 15px;
  }
  .initial-amount-controls > .input-prefix {
    width: min(170px, 100%);
  }
  .step[data-step="2"] .early-submission {
    margin-top: 27px;
  }
}

/* Match the other application sections while retaining the accessible legend. */
#tax-details{border:0;padding:0;min-inline-size:0}
#tax-details legend{padding:0;margin-bottom:16px;font-weight:750;color:#26344b}
