@import url("/guided-start-over.css");

@font-face {
  font-family: "DM Sans";
  src: url("/invitation-assets/dm-sans-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

.guided-page {
  color-scheme: light;
  --page: #fffefd;
  --ink: #201c15;
  --muted: #5e5141;
  --gold: #815619;
  --gold-hover: #64410d;
  --line: #d8cbb4;
  --control-border: #8d7959;
  --field: #fffefd;
  --panel: #f3ebda;
  --selected: #e8d8ba;
  --danger: #a12428;
  --guided-masthead: #f4e8cf;
  --guided-track: #e4dac8;
  --guided-progress: #ae7b31;
  --guided-action: #d9a553;
  --guided-action-light: #eecd90;
  --guided-width: 56rem;
  font-family: "DM Sans", ui-sans-serif, sans-serif;
}

.guided-page-dark {
  color-scheme: dark;
  --page: #16130e;
  --ink: #fff7ea;
  --muted: #dbc7a9;
  --gold: #efbf76;
  --gold-hover: #ffd89a;
  --line: #665337;
  --control-border: #aa8f69;
  --field: #211a12;
  --panel: #302618;
  --selected: #473720;
  --danger: #ffb5b1;
  --guided-masthead: #2b2114;
  --guided-track: #57442b;
  --guided-progress: #d5a252;
}

.guided-page .skip-link { z-index: 21; }
.guided-page .onboarding-header,
.guided-page main { width: min(100% - 3rem, var(--guided-width)); }
.guided-page .onboarding-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  border-bottom: 0;
  background: var(--guided-masthead);
  box-shadow: 0 0 0 100vmax var(--guided-masthead);
  clip-path: inset(0 -100vmax);
}
.guided-page .onboarding-header img { width: 10.25rem; }
:is(#guided-logo, #guided-office-logo):not([hidden]) { display: inline-flex; align-items: center; gap: 9px; font-size: 1.52rem; font-weight: 690; letter-spacing: -.035em; }
.guided-page :is(#guided-logo, #guided-office-logo) img { width: 2.45rem; height: auto; }
#guided-theme {
  display: grid;
  place-items: center;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
}
#guided-theme:hover { background: var(--selected); }

.guided-page main { padding-top: 0; }
.guided-page .return-work {
  max-inline-size: 38rem;
  margin: clamp(2rem, 5vw, 3.75rem) auto;
}
.return-work h1 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.guided-page .return-work :is(h1, h2) { margin-block: 0 .55rem; }
.guided-page .return-work h2 { font-size: 1.1rem; }
.guided-page .return-work .code-form {
  max-inline-size: none;
  gap: .55rem;
  margin-block: 1.25rem .5rem;
  padding: clamp(1.05rem, 3vw, 1.6rem);
  border-radius: .85rem;
  background: var(--panel);
}
.guided-page .return-work label { font-weight: 700; color: var(--ink); }
.guided-page .return-work input {
  min-height: 3.1rem;
  border: 1.5px solid var(--control-border);
  border-radius: .55rem;
  background: var(--field);
  font-size: 1rem;
}
.return-work #recovery-code { max-width: 15ch; font-size: 1.2rem; font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.guided-page .return-work button.primary {
  justify-self: start;
  margin-top: .55rem;
}
.return-work .recovery-form-actions { align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-block-start: .65rem; }
.return-work .recovery-form-actions button svg { width: 1rem; vertical-align: middle; margin-inline-end: .4rem; }
.return-work #recovery-destination, .return-work li { overflow-wrap: anywhere; }
.return-work .recovery-delivery-help { border-top: 1px solid var(--line); margin-top: .65rem; }
.return-work .recovery-delivery-help summary { width: fit-content; padding: .75rem 0; color: var(--gold); cursor: pointer; font-size: .9rem; }
.return-work .recovery-delivery-help p { font-size: .9rem; }
.guided-page .return-work .recovery-list {
  margin-block: .6rem 1.35rem;
  padding: .25rem 1rem;
  background: var(--panel);
  border-radius: .75rem;
}
.return-work .recovery-list li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  column-gap: 1rem;
  align-items: center;
}
.return-work .recovery-list li:first-child { border: 0; }
.return-work .recovery-list p { margin: .2rem 0 0; }
.return-work .recovery-list button {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 13rem;
  text-align: start;
  background: var(--field);
}
.return-work > [role="status"]:empty { display: none; }
@media (max-width: 30rem) {
  .return-work .recovery-list li { grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .return-work .recovery-list button { grid-area: auto; justify-self: start; }
}
#guided-masthead { position: relative; isolation: isolate; padding-block: 34px 26px; }
[data-guided-step="details"] #guided-masthead {
  padding-block: 23px 30px;
  background: var(--guided-masthead);
  box-shadow: 0 0 0 100vmax var(--guided-masthead);
  clip-path: inset(0 -100vmax);
}
[data-guided-step="details"] #guided-masthead::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0 -4.5rem;
  inset-inline-end: clamp(-6rem, calc((var(--guided-width) - 100vw) / 2), 0px);
  width: min(21rem, 45vw);
  background: url("/invitation-assets/chairshare-mark.png") center / contain no-repeat;
  opacity: .09;
  pointer-events: none;
}
.guided-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.guided-steps li {
  border-block-start: 4px solid var(--guided-track);
  border-radius: 2px;
  padding-block-start: 7px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.25;
}
.guided-steps li:is([aria-current], .is-past) { border-color: var(--guided-progress); }
.guided-steps li[aria-current] { color: var(--gold); font-weight: 750; }
.guided-step-position { display: none; }
#guided-welcome { display: grid; gap: 1.25rem; margin-top: 32px; }
#guided-welcome h1 { font-size: clamp(2rem, 5.3vw, 3rem); letter-spacing: -.04em; font-weight: 670; }
#guided-welcome h1 span { color: var(--gold); }
#guided-welcome p { max-width: 58ch; margin: 0; font-size: .93rem; }
.guided-overview { border-block-start: 1px solid var(--guided-track); padding-block-start: .9rem; }
.guided-overview h2 { margin: 0 0 .4rem; color: var(--gold); font-size: 1.05rem; line-height: 1.25; }
#guided-welcome .guided-overview p + p { margin-block-start: .4rem; }
@media (min-width: 50rem) {
  #guided-welcome { grid-template-columns: 1.08fr 1fr; gap: 2rem; align-items: center; }
  #guided-welcome h1 { font-size: 2.7rem; }
  .guided-overview { border-block-start: 0; border-inline-start: 1px solid var(--control-border); padding: .2rem 0 .2rem 1.5rem; }
}

.guided-page .onboarding-intro { display: block; margin: 15px 0 20px; }
.guided-page #onboarding-receipt > .resume-entry {
  margin-block-start: 1.5rem;
  padding-block-start: .5rem;
  border-top: 1px solid var(--line);
}
.guided-page .onboarding-intro:not(:has(:is(button, p, a):not([hidden]))) { display: none; }
.guided-page .resume-entry { display: flex; flex-wrap: wrap; gap: 0 24px; }
.guided-page .resume-entry button { color: var(--gold); font-weight: 550; }
#guided-browse, #guided-templates-back, .guided-back { display: inline-flex; gap: 8px; align-items: center; }
.guided-page .onboarding-layout { display: block; }
.guided-page .onboarding-content { padding: 0; border: 0; background: transparent; border-radius: 0; }
.guided-page .guided-contact-heading { max-width: 21ch; margin-block: 18px 24px; font-size: clamp(1.95rem, 4.8vw, 2.65rem); }
.guided-page :is(#your-details, #office-contact) {
  position: relative;
  padding: 60px 24px 24px;
  border: 0;
  border-radius: 14px;
  background: var(--panel);
}
.guided-page :is(#your-details, #office-contact) > legend { float: left; margin-top: -40px; }
.guided-page :is(#your-details, #office-contact) > legend > span { display: flex; align-items: center; gap: 10px; }
.guided-page :is(#your-details, #office-contact) > :not(legend) { clear: both; }
.guided-page :is(#your-details, #office-contact) svg { flex: none; color: var(--gold); }
.guided-page #office-contact > p { margin-block: 0 12px; font-size: .9375rem; }
.guided-page :is(#your-details, #office-contact) .fields { gap: 18px 16px; }
.guided-page #office-contact .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guided-page .fields > .field--aligned { grid-row: auto; grid-template-rows: auto; }
.guided-page .onboarding-content :is(.field > label, .onboarding-field-heading > label, .guided-count label) { font-size: .975rem; font-weight: 720; }
.guided-page .field:focus-within :is(label, .onboarding-field-heading > label) { color: var(--gold); }
.guided-page .onboarding-content :is(input:not([type="radio"], [type="checkbox"]), select) { min-height: 54px; border-width: 1.5px; }
.guided-page .doctor-email-field { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
.guided-page .doctor-email-field > .zoom-details { grid-column: 1; grid-row: auto; }
.guided-page .guided-applicant-phone { grid-column: 1 / -1; }
.guided-referral-slot { grid-column: 1 / -1; min-height: 44px; }
.guided-referral summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 7px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding-block: 5px;
  border-radius: 4px;
  color: var(--gold);
  overflow-wrap: anywhere;
  cursor: pointer;
  font-size: .8125rem;
}
.guided-referral summary::-webkit-details-marker { display: none; }
.guided-referral summary svg { width: 16px; height: 16px; }
.guided-referral-label { min-width: 0; }
.guided-referral-label, .guided-referral-change { text-decoration: underline; text-underline-offset: 3px; }
.guided-referral summary:has(.guided-referral-change:not([hidden])) .guided-referral-label { color: var(--ink); text-decoration: none; }
.guided-referral summary:hover { color: var(--gold-hover); }
.guided-referral-change { font-weight: 650; }
.guided-referral-editor { padding: 10px 0 0 23px; border-top: 1px solid var(--line); }
.guided-referral-editor .field-hint { margin-top: 6px; }
.guided-referral-editor .actions { gap: 18px; margin: 0; }
.guided-referral-status { margin: 0 0 0 23px; color: var(--muted); overflow-wrap: anywhere; font-size: .8125rem; }
.guided-page .zoom-details:not(:has(.zoom-details-preview:not([hidden]), .zoom-entry-actions:not([hidden]))) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.guided-page .zoom-entry-actions > button { text-decoration-style: solid; }
.guided-page .zoom-details-preview { background: var(--field); border-radius: 10px; }
.guided-page .zoom-details-preview dl { grid-template-columns: 1fr; }
.guided-zoom-match {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: .8125rem;
  font-weight: 670;
  line-height: 24px;
}
.guided-zoom-match svg { width: 15px; height: 15px; }
.guided-page button:is(.guided-zoom-reset, .guided-zoom-office-count) {
  justify-self: start;
  min-height: 44px;
  font-size: .8125rem;
  text-align: start;
}
.guided-zoom-office-count { grid-column: 1 / -1; overflow-wrap: anywhere; }
.guided-page .guided-count {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem;
  gap: 6px 10px;
  align-items: center;
}
.guided-page .guided-count .field-error { grid-column: 1 / -1; }
.guided-page .guided-count .count-field { --gold-bright: var(--gold); border-width: 1.5px; min-height: 52px; }
.guided-page .onboarding-content .guided-count input { text-align: center; padding-inline: 0; min-height: 49px; border: 0; font-weight: 740; }
.guided-page .guided-count :is(.count-field-step, .count-field-unit) { border: 0; }
.guided-page .guided-count .count-field-step:active:not(:disabled) { background: var(--selected); color: var(--ink); }
.guided-page .guided-count .count-field-unit { display: none; }
.guided-alternate-details summary { width: fit-content; min-height: 44px; padding-block: 11px 9px; color: var(--gold); cursor: pointer; }
.guided-alternate-details[open] summary { margin-bottom: 12px; }
.guided-contact-check { grid-column: 1 / -1; }
.guided-page :is(.guided-contact-check, .guided-signing-role label) { display: flex; gap: 9px; align-items: center; min-height: 44px; cursor: pointer; }
.guided-page :is(.guided-contact-check, .guided-signing-role) input { margin: 0; }
.guided-page .onboarding-content form > .guided-signing-role { padding-block: 0; margin-top: 22px; border-bottom: 0; }
.guided-page .onboarding-content form > .guided-signing-role > legend { font-size: 1.08rem; }

.guided-page .onboarding-content .form-actions {
  margin-top: 24px;
  justify-content: space-between;
  align-items: center;
}
.guided-page .form-actions button[type="button"] { border-color: transparent; background: transparent; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; padding-inline: 0; }
.guided-page .form-actions button[type="button"]:hover { color: var(--gold-hover); }
.guided-page .form-actions button.primary { order: 1; margin-inline-start: auto; }
.guided-page :is(.onboarding-content, #doctor-recovery, #practice-intake) :is(button.primary, a.primary) {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-inline: 20px;
  color: #1c1409;
  background: linear-gradient(115deg, var(--guided-action-light), var(--guided-action) 72%);
  border-color: transparent;
  border-radius: 10px;
  box-shadow: 0 4px 9px rgb(78 51 18 / 11%);
}
.guided-page :is(.onboarding-content, #doctor-recovery, #practice-intake) :is(button.primary, a.primary):hover:not(:disabled) { background: var(--guided-action-light); }
.guided-page #saved-heading { max-width: 25ch; font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.025em; }
.guided-page .guided-delegated-receipt {
  max-inline-size: 43rem;
  margin: clamp(2rem, 6vw, 4.5rem) auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 14px;
  background: var(--panel);
}
.guided-delegated-receipt .guided-handoff-notice {
  padding: 0;
  border: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
.guided-delegated-receipt .guided-handoff-mark {
  width: 2.75rem;
  height: 2.75rem;
  margin-block-end: .875rem;
  background: var(--selected);
}
.guided-delegated-receipt #guided-handoff-heading {
  max-inline-size: 25ch;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.guided-delegated-receipt #receipt-actions { gap: .25rem 1.125rem; margin-block: 1.375rem 0; }
.guided-proof-receipt #guided-receipt-options,
.guided-delegated-receipt #guided-receipt-options {
  max-inline-size: 39rem;
  margin-block-start: .875rem;
  border-block-start: 1px solid var(--line);
}
#guided-receipt-options summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 11px;
  color: var(--gold);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
}
#guided-receipt-options summary:hover { color: var(--gold-hover); }
#guided-receipt-options #view-details { margin-inline-start: 1rem; font-size: .875rem; }
.guided-page #guided-email-disclosure { margin-block-start: 12px; font-size: .875rem; }
.guided-page #guided-email-disclosure[aria-expanded="true"] + .verification { margin-block-start: 4px; padding-block-start: 12px; }
.guided-page .guided-proof-receipt {
  max-inline-size: 37rem;
  margin: clamp(1.5rem, 5vw, 4rem) auto;
}
.guided-proof-receipt #saved-heading { margin-block: 0 .5rem; }
.guided-page .guided-email-proof {
  max-inline-size: 37rem;
  margin-block-start: 1.25rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.guided-email-proof #guided-proof-mailbox {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-block-end: 1.125rem;
  padding-block-end: 1rem;
  border-block-end: 1px solid var(--line);
  min-inline-size: 0;
}
.guided-proof-icon {
  display: grid;
  flex: 0 0 2.5rem;
  block-size: 2.5rem;
  place-items: center;
  background: var(--selected);
  color: var(--gold);
  border-radius: .65rem;
}
#guided-proof-mailbox > div { min-width: 0; }
#guided-proof-mailbox > div > span { display: block; color: var(--muted); font-size: .85rem; }
#guided-proof-address { display: block; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.guided-email-proof :is(#email-hint, #verification-status) {
  margin-block: 0 .75rem;
  overflow-wrap: anywhere;
}
.guided-email-proof #guided-have-code { margin-inline-start: .75rem; }
.guided-email-proof #request-code.onboarding-text-action { margin-block-start: .375rem; }
.guided-email-proof .code-form {
  grid-template-columns: minmax(8rem, 12rem) max-content;
  align-items: center;
  gap: .375rem .75rem;
  max-width: none;
  margin: 0;
}
.guided-email-proof .code-form :is(label, .field-error) { grid-column: 1 / -1; }
.guided-email-proof .code-form label { font-size: .95rem; font-weight: 700; color: var(--ink); }
.guided-email-proof .code-form .field-error { grid-row: 3; margin: 0; }
.guided-email-proof .code-form input {
  min-width: 0;
  min-height: 3.1rem;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}
.guided-page :is(#guided-own-offices, #guided-practice-profile, .guided-proof-receipt #continue-office-details, .guided-proof-receipt #view-details) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guided-page :is(#guided-own-offices, #guided-practice-profile, .guided-proof-receipt #continue-office-details, .guided-proof-receipt #view-details):hover {
  color: var(--gold-hover);
}
.guided-page .guided-proof-receipt #receipt-actions { gap: 0 16px; margin: .75rem 0 0; }
.guided-page #guided-templates { margin-top: 24px; }
.guided-page #guided-templates-status:empty { display: none; }
.guided-page #guided-templates-list { padding: 0; margin: 20px 0; list-style: none; }
.guided-page #guided-templates-list li { border-block-start: 1px solid var(--line); }
.guided-page #guided-templates-list li:last-child { border-block-end: 1px solid var(--line); }
.guided-page #guided-templates-list a { display: flex; gap: 12px; align-items: center; padding: 14px 0; text-decoration: none; }
.guided-page #guided-templates-list a:hover { text-decoration: underline; }
.guided-page #guided-templates-list svg { flex-shrink: 0; }
.guided-page #guided-templates-list strong { flex: 1; color: var(--ink); }

@media (max-width: 44rem) {
  .guided-page .onboarding-header, .guided-page main { width: min(100% - 32px, var(--guided-width)); }
  #guided-masthead { padding-block: 24px 20px; }
  [data-guided-step="details"] #guided-masthead { padding-block: 15px 23px; }
  [data-guided-step="details"] #guided-masthead::after { inset-inline-end: -1rem; }
  .guided-steps { display: block; position: relative; }
  .guided-steps li { display: none; }
  .guided-steps li[aria-current] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border: 0;
    padding-block-start: .7rem;
    font-size: .8rem;
  }
  .guided-steps::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--guided-progress) var(--guided-completion), var(--guided-track) var(--guided-completion));
  }
  .guided-step-position { display: inline; color: var(--muted); font-weight: 450; }
  #guided-welcome { margin-top: 24px; }
  .guided-page .onboarding-intro { margin: 8px 0 16px; }
  .guided-page .doctor-email-field { grid-column: 1 / -1; }
  .guided-page :is(#your-details, #office-contact) { padding-inline: 16px; }
  .guided-zoom-match { inset-inline-end: 16px; }
  .guided-email-proof .code-form { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .guided-email-proof .code-form .field-error { grid-row: auto; }
  .guided-email-proof .code-form .primary { justify-self: stretch; margin-block-start: .25rem; }
  .guided-page #office-contact .fields { grid-template-columns: minmax(0, 1fr); }
  .guided-page #your-details > .fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23rem) {
  .guided-zoom-match { font-size: .75rem; }
  .guided-zoom-match svg { display: none; }
  .guided-page .guided-count { grid-template-columns: minmax(0, 1fr) 7rem; }
  .guided-page .guided-count .count-field-step { width: 37px; }
  .guided-email-proof #guided-have-code { display: block; margin-inline-start: 0; }
}
