/* The private portal uses a quieter, app-like surface within the retreat site. */
.nourish-body {
  --nourish-ink: #233a33;
  --nourish-muted: #626b65;
  --nourish-line: #e3e2d9;
  background: #f6f4ee;
  color: var(--nourish-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Match the homepage header palette from journey.css. */
.nourish-body .site-header { background: #122b25f5; color: #f5f6e9; border-bottom: 1px solid #d7ec9e24; backdrop-filter: blur(18px); box-shadow: none; }
.nourish-body .site-brand, .nourish-body .site-nav a:not(.site-brand) { color: #f5f6e9; }
.nourish-body .site-nav { max-width: 1180px; margin: auto; }
.nourish-body .site-brand__name { font-family: inherit; letter-spacing: -.03em; }
.nourish-body .site-brand__name small { color: #c3cdb8; letter-spacing: .04em; }
.nourish-body .site-nav > a:last-child { font-size: 13px; color: #f5f6e9; }
.nourish-shell { max-width: 1080px; width: min(1080px, 90%); padding: 42px 0 72px; }
.nourish-shell .reservation-heading { max-width: 100%; padding: 12px 0 32px; }
.nourish-shell .reservation-heading h1 { font: 400 clamp(2.7rem, 5vw, 4.2rem)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.045em; margin: 0 0 16px; }
.nourish-shell h2 { font: 600 24px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.035em; margin: 0 0 12px; }
.nourish-shell h3 { font: 600 18px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.02em; }
.nourish-shell p { line-height: 1.7; }
.nourish-shell a { color: #355c47; }
.nourish-shell .reservation-form { margin: 24px 0; padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid var(--nourish-line); border-radius: 18px; box-shadow: 0 6px 30px #233a3303; }
.nourish-shell .btn { min-height: 46px; border-radius: 8px; font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; padding: 12px 18px; white-space: normal; }
.nourish-shell .btn--primary { background: #355c47; color: #fff; border: 1px solid #355c47; box-shadow: none; }
.nourish-shell .btn--ghost-alt { background: #f2f5ef; color: #35543e; border: 1px solid #e3e9de; }
.nourish-shell .btn:hover:not(:disabled) { filter: brightness(.96); transform: none; }
.nourish-shell :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #628363; outline-offset: 4px; }
.nourish-shell button:disabled { opacity: .6; cursor: default; }
.nourish-shell label { display: block; margin: 16px 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.nourish-shell input:not([type=checkbox]), .nourish-shell select, .nourish-shell textarea { display: block; min-width: 0; max-width: 100%; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px 14px; border: 1px solid #cbd3c8; border-radius: 12px; background: #fafbf9; color: var(--nourish-ink); font: inherit; font-size: 16px; }
.nourish-shell input[type=number] { max-width: 110px; }
.nourish-shell input[type=checkbox] { margin-right: 8px; accent-color: #355c47; width: 18px; height: 18px; vertical-align: middle; }
.nourish-shell fieldset { border: 0; padding: 0; margin: 32px 0; min-width: 0; }
.nourish-shell legend { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: #35543e; }
.nourish-shell .nourish-question { border-bottom: 1px solid var(--nourish-line); padding: 6px 0 20px; }
.nourish-toolbar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 0 20px; }
.nourish-toolbar #identity { font-size: 15px; font-weight: 500; margin: 0; }
.nourish-progress { position: relative; display: grid; grid-template-columns: 1.45fr 1fr; border: 1px solid #d8ddd1; border-radius: 20px; background: #e9ede3; box-shadow: 0 12px 40px #243c2b05; }
.nourish-progress h2 { font: 400 clamp(30px, 3.6vw, 44px)/1.13 Georgia, "Times New Roman", serif; letter-spacing: -.035em; max-width: 470px; margin-bottom: 20px; }
.nourish-progress-copy > p:last-of-type { max-width: 600px; color: #50614c; margin-bottom: 0; font-size: 15px; }
#dashboard[data-stage="waiting"] .nourish-progress { background: #20483b; border-color: #20483b; }
#dashboard[data-stage="waiting"] :is(#progressTitle, #progressText) { color: #fffefa; }
.nourish-progress #orderChoice { max-width: 420px; margin-bottom: 0; }
.nourish-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.nourish-shell .nourish-downloads .btn {
  text-align: left;
  justify-content: space-between;
  width: 100%;
  background: #fffefa;
  border-color: var(--nourish-line);
  border-left: 3px solid #dcb877;
}
.nourish-pdf-icon { flex: 0 0 36px; width: 36px; height: 42px; margin-right: 12px; }
.nourish-download-label { flex: 1; min-width: 0; }
.nourish-downloads button::after { content: "↓"; margin-left: 12px; font-size: 18px; }
.nourish-shell #dashboard #dateCard { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 24px 4px; margin: 0 0 8px; }
.nourish-shell #dateCard h2 { font-size: 20px; }
.nourish-shell #dateCard > p { color: var(--nourish-muted); font-size: 13px; }
.nourish-shell #dateForm { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.nourish-shell #dateForm label { flex: 0 1 260px; margin: 0; }
.nourish-shell #dateStatus { font-size: 12px; color: var(--nourish-muted); }
.nourish-notice { background: #f3f5ef; padding: 20px; border-radius: 16px; margin: 24px 0; }
.nourish-table-wrap { overflow-x: auto; }
.nourish-shell table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.nourish-shell td, .nourish-shell th { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nourish-line); overflow-wrap: anywhere; white-space: pre-wrap; }
.nourish-shell th:first-child { width: 44%; }
.nourish-shell thead th { overflow-wrap: normal; color: #526348; background: #f3f5ef; }
.nourish-shell caption { text-align: left; margin: 16px 0; color: var(--nourish-muted); }
.nourish-shell dd { margin: 4px 0 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nourish-shell dt { font-weight: 600; }
.nourish-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px max(5%, calc((100% - 1080px) / 2)); border-top: 1px solid var(--nourish-line); font-size: 11px; color: var(--nourish-muted); }
.nourish-shell #status { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.nourish-shell #status:empty { display: none; }
.nourish-shell #status:not(:empty) { padding: 16px 20px; border-radius: 14px; background: #eaf0e3; }
.nourish-shell #status.form-status--error { background: #fff0eb; color: #8a3327; }
.nourish-shell [hidden] { display: none !important; }
.nourish-session-note, .nourish-shell #codeHelp { font-size: 12px; color: var(--nourish-muted); line-height: 1.7; }
.nourish-session-note { padding-top: 20px; margin-top: 28px; border-top: 1px solid var(--nourish-line); }
.nourish-shell #codeForm input { max-width: 224px; font-size: 24px; letter-spacing: .3em; }
.nourish-shell #codeForm button { margin: 4px 0; }
.nourish-shell #accessForm input { max-width: 480px; }
.nourish-shell #access { width: 100%; max-width: 580px; margin: 12px auto 0; padding: clamp(24px, 5vw, 44px); }
@media (max-width: 650px) {
  .nourish-shell { width: 92%; padding-top: 28px; }
  .nourish-shell .reservation-heading { padding: 8px 4px 20px; }
  .nourish-downloads { grid-template-columns: 1fr; }
  .nourish-toolbar { align-items: flex-start; }
  .nourish-shell td, .nourish-shell th { padding: 10px 6px; font-size: 12px; }
  .nourish-body .site-brand__name { font-size: 16px; }
  .nourish-body .site-brand__name small { font-size: 9px; }
  .nourish-body .site-nav { padding-inline: 4%; gap: 12px; }
  .nourish-body .site-nav > a:last-child { font-size: 11px; }
}

/* Only the current step is prominent; program materials remain within reach. */
.nourish-shell .nourish-progress .btn { margin-top: 24px; }
.nourish-shell #dateStep #dateCard { margin: 30px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid #c4cfbd; border-radius: 0; background: transparent; }
.nourish-resources { margin-top: 24px; border: 1px solid var(--nourish-line); border-radius: 16px; background: #fffefa; }
.nourish-resources > summary { display: flex; gap: 18px; align-items: center; padding: 24px 28px; cursor: pointer; color: #294c3d; font-size: 16px; font-weight: 500; list-style: none; }
.nourish-resource-body { padding: 0 28px 12px; }
.nourish-resource-section { padding: 28px 0; border-top: 1px solid var(--nourish-line); }
.nourish-resource-section h2 { font-size: 20px; }
.nourish-resource-section > p, .nourish-shell #feedbackPrivacy { font-size: 13px; color: var(--nourish-muted); }
.nourish-shell #feedbackForm .btn { margin-bottom: 12px; }
.nourish-shell #dateResource #dateCard { margin: 0; padding: 16px 0 24px; border: 0; background: transparent; }
.nourish-resources > summary:focus-visible { outline: 3px solid #628363; outline-offset: 4px; border-radius: 8px; }

.nourish-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nourish-toolbar-actions .btn { font-size: 12px; min-height: 40px; }
.nourish-tour { position: fixed; inset: auto 24px 24px auto; margin: 0; width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 30px; color: var(--nourish-ink); background: #fcfdf9; border: 1px solid #dce4d4; border-radius: 24px; box-shadow: 0 16px 70px #102b2540; }
.nourish-tour::backdrop { background: #102b254d; }
.nourish-tour h2 { font-size: 26px; }
.nourish-tour p { font-size: 14px; }
.nourish-tour .nourish-tour-hint { color: #526348; padding: 14px; border-radius: 12px; background: #edf2e7; font-size: 12px; }
.nourish-tour-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.nourish-tour-actions #tourNext { margin-left: auto; }
.nourish-tour-signout { display: block; margin: 18px auto 0; border: 0; padding: 8px; font: inherit; font-size: 12px; color: #526348; text-decoration: underline; background: transparent; cursor: pointer; }
.nourish-tour-target { outline: 3px solid #d7ec9e; outline-offset: 7px; border-radius: 14px; }
.nourish-tour #tourError { color: #8a3327; }
.nourish-tour #tourError:empty { display: none; }
@media (max-width: 650px) {
  .nourish-tour { inset: auto 16px 16px; width: auto; padding: 24px; max-height: calc(100dvh - 32px); }
}

/* A restrained editorial frame, with the current action always in the foreground. */
.nourish-shell .reservation-heading h1 em { font-weight: 400; color: #58735c; }
.nourish-toolbar { border-top: 1px solid var(--nourish-line); padding: 20px 0; }
.nourish-toolbar #identity { font-size: 14px; font-weight: 400; }
.nourish-toolbar-actions .btn { border: 0; background: transparent; padding: 9px 12px; }
.nourish-toolbar-actions #replayTour { text-decoration: underline; text-underline-offset: 5px; }
.nourish-progress-copy { min-width: 0; padding: clamp(26px, 4vw, 48px); }
.nourish-sanctuary { position: relative; isolation: isolate; min-height: 390px; border-radius: 0 19px 19px 0; overflow: hidden; background: #1c382e; }
.nourish-sanctuary img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% center; }
@media (width > 760px) {
  #dashboard[data-stage="waiting"] .nourish-progress { grid-template-columns: 1fr 1.45fr; }
  #dashboard[data-stage="waiting"] .nourish-progress-copy { align-self: center; }
  #dashboard[data-stage="waiting"] .nourish-sanctuary { order: -1; border-radius: 19px 0 0 19px; }
}
.nourish-shell #dateStep #dateCard h2 { font: 600 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.02em; }
.nourish-shell #dateForm { gap: 12px; }
.nourish-shell #dateForm label { flex: 1 1 180px; }
.nourish-shell #dateStep #dateForm .btn { margin: 0; background: #244c3b; border-color: #244c3b; color: #fff; min-height: 48px; }
.nourish-shell #dateStep #dateForm input { background: #f9faf6; }
.nourish-shell #dateStep #dateStatus { margin-bottom: 0; }
.nourish-resources > summary::-webkit-details-marker { display: none; }
.nourish-resources summary small { display: block; margin-top: 5px; font-size: 12px; line-height: 1.6; color: #6c7367; font-weight: 400; }
.nourish-resource-symbol { display: grid; place-items: center; flex: 0 0 44px; height: 44px; background: #eef1e8; border-radius: 12px; }
.nourish-resource-symbol svg { width: 23px; height: 23px; }
.nourish-resource-plus { margin-left: auto; font-size: 26px; font-weight: 300; transition: transform .2s; }
.nourish-resources[open] .nourish-resource-plus { transform: rotate(45deg); }
.nourish-tour { border-radius: 20px; background: #fffefa; border-color: #dddccf; padding: 32px; }
.nourish-tour h2 { font: 400 30px/1.18 Georgia, serif; letter-spacing: -.035em; }
.nourish-shell #access h2 { font: 400 34px/1.2 Georgia, serif; letter-spacing: -.035em; }
.nourish-shell #access { max-width: 620px; border-top: 3px solid #55725a; }
@media (max-width: 760px) {
  .nourish-progress { grid-template-columns: 1fr; }
  .nourish-sanctuary { min-height: 180px; border-radius: 0 0 19px 19px; }
  .nourish-sanctuary img { object-position: center 46%; }
  .nourish-toolbar { align-items: center; gap: 8px; }
  .nourish-toolbar-actions { gap: 0; }
  .nourish-toolbar-actions .btn { padding-inline: 0; margin-right: 18px; }
  .nourish-resources > summary { padding: 20px; gap: 12px; font-size: 14px; }
  .nourish-resources summary small { font-size: 11px; max-width: 23ch; }
  .nourish-resource-body { padding-inline: 20px; }
}
@media (max-width: 400px) {
  .nourish-shell .reservation-heading h1 { font-size: 40px; }
  .nourish-shell #dateForm .btn { width: 100%; }
  .nourish-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .nourish-resource-plus { transition: none; } }

/* Account actions remain clear and accessible in the shared header. */
.nourish-body .site-nav { display: flex; justify-content: space-between; align-items: center; }
.nourish-header-actions { display: flex; align-items: center; gap: 24px; }
.nourish-body .nourish-header-actions a { font-size: 12px; }
.nourish-header-actions #logout { min-height: 44px; padding: 10px 20px; border: 1px solid #aabbab; border-radius: 8px; background: #f6f4ee; color: #183c2c; font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.nourish-header-actions #logout[hidden] { display: none; }
.nourish-header-actions #logout:hover { background: #e6ebdf; }
.nourish-header-actions #logout:focus-visible { outline: 3px solid #d7ec9e; outline-offset: 4px; }
.nourish-tour .nourish-tour-step { margin: 0 0 20px; font-size: 12px; color: #657064; }
@media (max-width: 650px) {
  .nourish-header-actions { flex-direction: column; align-items: flex-end; gap: 8px; }
  .nourish-header-actions #logout { order: -1; min-height: 44px; padding: 8px 16px; }
  .nourish-body .nourish-header-actions a { font-size: 10px; }
  .nourish-body .site-brand__name { font-size: 15px; }
}

/* Visible support and a clear route from the form to final submission. */
.nourish-contact { padding: 28px; }
.nourish-contact h2 { font-size: 20px; }
.nourish-toolbar { flex-wrap: wrap; }
.nourish-toolbar #orderChoice { flex: 1 1 260px; max-width: 420px; margin: 0; }
.nourish-toolbar #orderChoice[hidden] { display: none; }
.nourish-form-actions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--nourish-line); }
.nourish-form-actions p { font-size: 14px; }
@media (max-width: 650px) {
  .nourish-contact { padding: 20px; }
  .nourish-form-actions .btn { width: 100%; margin: 4px 0; }
}

.nourish-form-actions #closeCheckin { display: inline-block; min-height: 44px; padding: 12px 0; margin-left: 12px; text-decoration: underline; }
