.herbal-intake-page { background: #f2efdf; color: #234b3c; }
.herbal-intake-page [hidden] { display: none !important; }
.herbal-intake-page .intake { max-width: 960px; }
.herbal-intake-page .site-header { background: #122b25; color: #fff; }
.herbal-intake-page .site-nav { max-width: 1180px; margin: auto; padding: 20px 6vw; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.herbal-intake-page .site-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.herbal-intake-page .site-brand img { padding: 0; background: transparent; object-fit: contain; }
.herbal-intake-page .site-brand__name { font: 400 clamp(20px, 2.5vw, 27px)/1.2 Georgia, serif; }
.herbal-intake-page .site-brand__name small { display: block; margin-top: 6px; font: 500 9px/1.5 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .15em; color: #fff; }
.herbal-intake-page .site-nav > a:last-child { color: #122b25; background: #d7ec9e; border-radius: 50px; padding: 12px 20px; font-size: 13px; text-decoration: none; }
.herbal-intake-page .intake__header { margin: 10px auto 24px; padding: 32px; gap: 28px; grid-template-columns: 150px minmax(0, 1fr); align-items: center; background: #234b3c; border-radius: 14px; }
.herbal-intake-page .intake__header h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; text-wrap: balance; }
.herbal-title-image { width: 150px; height: 150px; border-radius: 14px; object-fit: cover; }
.herbal-introduction { margin-bottom: 32px; padding: 24px 28px; background: #fffdf6; border: 1px solid #dedfcf; border-radius: 14px; }
.herbal-introduction p { margin: 0 0 14px; }
.herbal-introduction p:last-child { margin-bottom: 0; }
.herbal-introduction .form-note, .herbal-introduction .save-status { color: #234b3c; }
.herbal-introduction .form-note { border-top: 1px solid #dedfcf; padding-top: 16px; font-size: .9rem; }
.herbal-intake-page p { line-height: 1.65; }
.herbal-intake-page fieldset { border-radius: 8px; background: #fffefb; border-color: #d9dfd1; padding: 24px; }
.herbal-intake-page legend { color: #344b35; max-width: 100%; line-height: 1.5; }
.herbal-intake-page #questionSections > fieldset, .herbal-intake-page #privacy { min-width: 0; }
.herbal-intake-page #questionSections > fieldset > legend, .herbal-intake-page #privacy > legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; overflow-wrap: anywhere; }
.herbal-intake-page #questionSections > fieldset > legend + *, .herbal-intake-page #privacy > legend + * { clear: both; }
.herbal-intake-page .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.herbal-intake-page .form-field { min-width: 0; }
.herbal-intake-page textarea { min-height: 100px; resize: vertical; }
.herbal-intake-page input, .herbal-intake-page select, .herbal-intake-page textarea { max-width: 100%; font: inherit; }
.herbal-intake-page .form-field--wide, .herbal-intake-page .question-group, .herbal-intake-page .repeater { grid-column: 1 / -1; }
.herbal-intake-page .question-group { margin: 0; background: transparent; }
.herbal-intake-page .choice-list { display: grid; gap: 12px; }
.herbal-intake-page .choice-list label, .privacy-choice { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.herbal-intake-page input[type="checkbox"], .herbal-intake-page input[type="radio"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: #344b35; }
.herbal-intake-page .repeater-row { margin-bottom: 16px; }
.herbal-intake-page .repeater-row .btn { margin-top: 16px; }
.herbal-intake-page .btn { white-space: normal; min-height: 44px; }
.herbal-intake-page .btn--ghost { color: #344b35; background: transparent; border: 1px solid #78836a; }
.herbal-intake-page button:disabled { opacity: .6; cursor: wait; }
.herbal-intake-page :focus-visible { outline: 3px solid #78836a; outline-offset: 3px; }
.herbal-intake-page .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.herbal-footer { text-align: center; padding: 24px; font-size: .8rem; color: #52634e; }
.herbal-receipt { padding: 24px; background: #fffefb; border: 1px solid #d9dfd1; border-radius: 8px; }
@media (max-width: 600px) {
  .herbal-intake-page .intake { padding: 24px 18px 40px; }
  .herbal-intake-page .form-grid { grid-template-columns: minmax(0, 1fr); }
  .herbal-intake-page fieldset { padding: 18px 14px; }
  .herbal-intake-page .site-nav { gap: 16px; flex-wrap: wrap; }
  .herbal-intake-page .intake__actions { align-items: stretch; }
  .herbal-intake-page .intake__header { padding: 24px; gap: 18px; grid-template-columns: 80px minmax(0, 1fr); }
  .herbal-title-image { width: 80px; height: 80px; }
  .herbal-introduction { padding: 22px; }
  .herbal-intake-page .site-nav { padding: 18px; }
  .herbal-intake-page .site-nav > a:last-child { padding: 10px 16px; }
}
@media print {
  @page {
    margin: 15mm 12mm 22mm;
    @bottom-center { content: "© 2026 Happiness Retreat · HappinessRetreat.ca · All rights reserved."; font-family: Arial, sans-serif; font-size: 9pt; color: #52634e; }
  }
  html, body.herbal-intake-page { overflow: visible; }
  .site-header, .skip-link, .intake__actions, .intake__security, .repeater button, #saveStatus, .practice-notice { display: none !important; }
  .herbal-intake-page .intake { padding: 0; max-width: none; }
  .herbal-intake-page fieldset { break-inside: auto; }
  .herbal-intake-page .form-field, .herbal-intake-page .choice-list label { break-inside: avoid; }
  .herbal-intake-page textarea { height: auto; overflow: visible; }
  .herbal-footer { display: none; }
  .herbal-intake-page .intake__header { background: white; padding: 0; grid-template-columns: 1fr; }
  .herbal-intake-page .intake__header h1 { color: #234b3c; }
  .herbal-title-image { display: none; }
  .herbal-introduction { background: white; padding: 16px; }
}
