:root {
  --pw-navy: #142b3c;
  --pw-navy-2: #1f3e4f;
  --pw-teal: #226f72;
  --pw-teal-dark: #195a5d;
  --pw-teal-soft: #eaf4f3;
  --pw-gold: #b98d36;
  --pw-gold-soft: #faf4e5;
  --pw-green: #309945;
  --pw-green-soft: #edf8ef;
  --pw-ink: #1f2930;
  --pw-muted: #64737c;
  --pw-line: #d7e0e3;
  --pw-bg: #f4f7f7;
  --pw-white: #ffffff;
  --pw-danger: #9c2f2f;
  --pw-danger-soft: #fff0ef;
  --pw-warning: #965e10;
  --pw-warning-soft: #fff6e4;
  --pw-success: #276649;
  --pw-shadow: 0 18px 52px rgba(20, 43, 60, 0.12);
  --pw-shadow-soft: 0 8px 24px rgba(20, 43, 60, 0.08);
  --pw-radius-lg: 28px;
  --pw-radius-md: 18px;
  --pw-radius-sm: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--pw-bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; color: var(--pw-ink); background: radial-gradient(circle at 6% 5%, rgba(34,111,114,.12), transparent 28rem), radial-gradient(circle at 94% 0%, rgba(185,141,54,.12), transparent 25rem), var(--pw-bg); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible { outline: 3px solid rgba(34,111,114,.28); outline-offset: 3px; }
[hidden] { display: none !important; }
.pw-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pw-app-shell { width: 100%; min-height: 100vh; padding: clamp(18px,3vw,42px) 16px 54px; }
.pw-app { width: min(1040px,100%); margin: 0 auto; }
.pw-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pw-brand { display: flex; align-items: center; width: min(260px,64vw); min-height: 58px; }
.pw-brand-logo { display: block; width: 100%; max-height: 76px; object-fit: contain; object-position: left center; }
.pw-privacy-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 13px; border: 1px solid rgba(34,111,114,.2); border-radius: 999px; color: var(--pw-teal-dark); background: rgba(255,255,255,.84); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pw-privacy-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pw-success); box-shadow: 0 0 0 4px rgba(39,102,73,.12); }
.pw-panel { overflow: hidden; border: 1px solid rgba(215,224,227,.92); border-radius: var(--pw-radius-lg); background: rgba(255,255,255,.97); box-shadow: var(--pw-shadow); }
.pw-welcome-hero { position: relative; overflow: hidden; padding: clamp(34px,7vw,76px) clamp(24px,7vw,76px) clamp(32px,6vw,58px); color: var(--pw-white); background: linear-gradient(122deg,rgba(20,43,60,.99),rgba(31,62,79,.96)),var(--pw-navy); }
.pw-welcome-hero::before,.pw-welcome-hero::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.pw-welcome-hero::before { top: -170px; right: -95px; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 0 0 46px rgba(255,255,255,.025),0 0 0 92px rgba(255,255,255,.018); }
.pw-welcome-hero::after { right: 70px; bottom: -120px; width: 210px; height: 210px; background: rgba(34,111,114,.42); filter: blur(2px); }
.pw-welcome-hero > * { position: relative; z-index: 1; }
.pw-eyebrow { margin: 0 0 14px; color: #c8e5e3; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pw-display-title { max-width: 780px; margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(38px,7vw,66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.pw-lead { max-width: 760px; margin: 22px 0 0; color: rgba(255,255,255,.84); font-size: clamp(16px,2.2vw,19px); }
.pw-time-note { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: 770px; margin-top: 24px; }
.pw-time-note > div { min-height: 82px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.075); backdrop-filter: blur(4px); }
.pw-time-note strong,.pw-time-note span { display: block; }
.pw-time-note strong { margin-bottom: 4px; color: var(--pw-white); font-size: 13px; }
.pw-time-note span { color: rgba(255,255,255,.78); font-size: 12.5px; line-height: 1.45; }
.pw-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pw-hero-badge { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800; }
.pw-welcome-body { padding: clamp(26px,5vw,52px) clamp(22px,6vw,64px) clamp(30px,5vw,50px); }
.pw-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.pw-feature-card { padding: 19px; border: 1px solid var(--pw-line); border-radius: var(--pw-radius-md); background: var(--pw-white); }
.pw-feature-number { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 13px; border-radius: 10px; color: var(--pw-teal-dark); background: var(--pw-teal-soft); font-size: 12px; font-weight: 900; }
.pw-feature-card h2 { margin: 0 0 6px; color: var(--pw-navy); font-size: 15px; }
.pw-feature-card p { margin: 0; color: var(--pw-muted); font-size: 13px; }
.pw-alert { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 13px; align-items: start; margin: 20px 0; padding: 17px; border: 1px solid transparent; border-radius: var(--pw-radius-md); }
.pw-alert h2,.pw-alert h3,.pw-alert p { margin: 0; }
.pw-alert h2,.pw-alert h3 { font-size: 14px; }
.pw-alert p { margin-top: 3px; font-size: 12.5px; }
.pw-alert-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(255,255,255,.72); font-weight: 900; }
.pw-alert-danger { border-color: rgba(156,47,47,.22); color: #712222; background: var(--pw-danger-soft); }
.pw-alert-warning { border-color: rgba(150,94,16,.22); color: #62410e; background: var(--pw-warning-soft); }
.pw-alert-info { border-color: rgba(34,111,114,.20); color: var(--pw-teal-dark); background: var(--pw-teal-soft); }
.pw-alert-optional { border-color: rgba(48,153,69,.20); color: #245d34; background: var(--pw-green-soft); }
.pw-consent-box { margin-top: 22px; padding: 20px; border: 1px solid #e9dcc0; border-radius: var(--pw-radius-md); background: var(--pw-gold-soft); }
.pw-consent-box h2 { margin: 0 0 13px; color: var(--pw-navy); font-size: 17px; }
.pw-check-row { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; align-items: start; margin-top: 10px; cursor: pointer; }
.pw-check-row input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--pw-teal); }
.pw-check-row span { color: #4f4a3d; font-size: 13px; }
.pw-check-row-soft { margin-top: 16px; padding: 13px 14px; border: 1px solid var(--pw-line); border-radius: 14px; background: #fbfcfc; }
.pw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 24px; }
.pw-actions-center { justify-content: center; }
.pw-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform 160ms ease,box-shadow 160ms ease,background 160ms ease,border-color 160ms ease; }
.pw-button:hover { transform: translateY(-1px); }
.pw-button:active { transform: translateY(0); }
.pw-button[disabled] { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.pw-button-primary { color: var(--pw-white); background: linear-gradient(140deg,var(--pw-teal),var(--pw-teal-dark)); box-shadow: 0 10px 24px rgba(34,111,114,.23); }
.pw-button-primary:hover { box-shadow: 0 13px 28px rgba(34,111,114,.30); }
.pw-button-secondary { border-color: var(--pw-line); color: var(--pw-navy); background: var(--pw-white); }
.pw-button-secondary:hover { border-color: rgba(34,111,114,.38); background: #fbfdfd; }
.pw-button-ghost { min-height: 42px; padding: 8px 12px; color: var(--pw-muted); background: transparent; }
.pw-button-small { min-height: 38px; padding: 7px 11px; border-radius: 11px; font-size: 12px; }
.pw-assessment-header { padding: 22px clamp(20px,4vw,38px) 18px; border-bottom: 1px solid var(--pw-line); background: rgba(255,255,255,.97); }
.pw-progress-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--pw-muted); font-size: 12px; font-weight: 800; }
.pw-progress-track { overflow: hidden; height: 8px; border-radius: 999px; background: #e8eeee; }
.pw-progress-bar { width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--pw-teal),#3a8c87,var(--pw-gold)); transition: width 240ms ease; }
.pw-step-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 20px; }
.pw-section-label { margin: 0 0 7px; color: var(--pw-teal); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.pw-question-title,.pw-page-title { margin: 0; color: var(--pw-navy); font-family: Georgia,"Times New Roman",serif; font-size: clamp(30px,5vw,46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.pw-question-helper,.pw-page-intro { max-width: 740px; margin: 10px 0 0; color: var(--pw-muted); font-size: 14px; }
.pw-form-stage { padding: clamp(24px,5vw,48px) clamp(20px,6vw,64px) 30px; }
.pw-form-step { display: grid; gap: 18px; }
.pw-card,.pw-section-card { padding: clamp(18px,3vw,24px); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-md); background: var(--pw-white); box-shadow: var(--pw-shadow-soft); }
.pw-callout-card { border-color: rgba(34,111,114,.22); background: linear-gradient(140deg,#fbfdfd,var(--pw-teal-soft)); }
.pw-allergy-card { border-color: rgba(156,47,47,.17); }
.pw-guardian-card { border-color: rgba(185,141,54,.28); background: linear-gradient(140deg,#fff,var(--pw-gold-soft)); }
.pw-billing-card { border-color: rgba(185,141,54,.28); background: linear-gradient(140deg,#fff,var(--pw-gold-soft)); }
.pw-signature-card { border-color: rgba(34,111,114,.26); }
.pw-card h3,.pw-section-card h3 { margin: 0; color: var(--pw-navy); font-size: 17px; }
.pw-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.pw-card-eyebrow { margin: 0 0 3px; color: var(--pw-teal); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.pw-card-note { margin: -4px 0 15px; color: var(--pw-muted); font-size: 12.5px; }
.pw-required,.pw-required-badge,.pw-optional-badge { color: var(--pw-danger); font-size: 11px; font-weight: 800; }
.pw-required-badge,.pw-optional-badge { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; border-radius: 999px; background: var(--pw-danger-soft); white-space: nowrap; }
.pw-optional-badge { color: var(--pw-teal-dark); background: var(--pw-teal-soft); }
.pw-choice-grid { display: grid; gap: 10px; margin-top: 16px; }
.pw-choice-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pw-choice-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pw-choice { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 11px; align-items: start; min-height: 64px; padding: 14px; border: 1px solid var(--pw-line); border-radius: 15px; background: var(--pw-white); cursor: pointer; transition: border-color 150ms ease,background 150ms ease,box-shadow 150ms ease,transform 150ms ease; }
.pw-choice:hover { border-color: rgba(34,111,114,.42); transform: translateY(-1px); box-shadow: var(--pw-shadow-soft); }
.pw-choice:has(input:checked) { border-color: var(--pw-teal); background: linear-gradient(110deg,var(--pw-teal-soft),#f9fcfc 72%); box-shadow: 0 0 0 2px rgba(34,111,114,.08); }
.pw-choice input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--pw-teal); }
.pw-choice span,.pw-choice strong,.pw-choice small { display: block; }
.pw-choice strong { color: var(--pw-navy); font-size: 14px; line-height: 1.35; }
.pw-choice small { margin-top: 3px; color: var(--pw-muted); font-size: 11.5px; line-height: 1.35; }
.pw-field-grid { display: grid; gap: 15px; }
.pw-field-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pw-span-2 { grid-column: 1 / -1; }
.pw-field { display: grid; gap: 7px; }
.pw-field > span { color: var(--pw-navy-2); font-size: 12px; font-weight: 800; }
.pw-field em { color: var(--pw-muted); font-size: 10.5px; font-style: normal; font-weight: 600; }
.pw-field input,.pw-field select,.pw-field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #cfdadd; border-radius: 12px; color: var(--pw-ink); background: #fff; font-size: 15px; line-height: 1.4; transition: border-color 140ms ease,box-shadow 140ms ease,background 140ms ease; }
.pw-field textarea { min-height: 86px; resize: vertical; }
.pw-field input:focus,.pw-field select:focus,.pw-field textarea:focus { border-color: var(--pw-teal); box-shadow: 0 0 0 3px rgba(34,111,114,.10); }
.pw-field [aria-invalid="true"],.pw-fieldset[aria-invalid="true"],.pw-choice-grid[aria-invalid="true"] { border-color: var(--pw-danger) !important; background: var(--pw-danger-soft); }
.pw-field-error { margin: 0; color: var(--pw-danger); font-size: 11.5px; font-weight: 700; }
.pw-fieldset { margin: 16px 0 0; padding: 0; border: 0; }
.pw-fieldset legend { margin-bottom: 9px; color: var(--pw-navy-2); font-size: 12px; font-weight: 800; }
.pw-inline-options { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 14px; border: 1px solid var(--pw-line); border-radius: 13px; background: #fbfcfc; }
.pw-inline-options label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--pw-ink); font-size: 13px; font-weight: 700; }
.pw-inline-options input { width: 18px; height: 18px; accent-color: var(--pw-teal); }
.pw-repeat-list { display: grid; gap: 12px; }
.pw-repeat-card { position: relative; padding: 17px; border: 1px solid var(--pw-line); border-radius: 15px; background: #fbfcfc; }
.pw-repeat-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.pw-repeat-card-header strong { color: var(--pw-navy); font-size: 13px; }
.pw-remove-button { padding: 5px 8px; border: 0; border-radius: 8px; color: var(--pw-danger); background: var(--pw-danger-soft); cursor: pointer; font-size: 11px; font-weight: 800; }
.pw-checklist-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; color: var(--pw-muted); font-size: 12px; }
.pw-clear-link { padding: 4px 7px; border: 0; border-radius: 8px; color: var(--pw-teal-dark); background: var(--pw-teal-soft); cursor: pointer; font-size: 11.5px; font-weight: 800; }
.pw-checkbox-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.pw-checkbox-grid label { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 8px; align-items: start; min-height: 46px; padding: 10px; border: 1px solid var(--pw-line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--pw-ink); font-size: 12px; line-height: 1.35; }
.pw-checkbox-grid label:has(input:checked) { border-color: var(--pw-teal); background: var(--pw-teal-soft); }
.pw-checkbox-grid input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--pw-teal); }
.pw-symptom-groups { display: grid; gap: 15px; }
.pw-symptom-groups fieldset { margin: 0; padding: 14px; border: 1px solid var(--pw-line); border-radius: 15px; }
.pw-symptom-groups legend { padding: 0 7px; color: var(--pw-navy); font-size: 13px; font-weight: 800; }
.pw-policy-list { display: grid; gap: 14px; }
.pw-policy { overflow: hidden; border: 1px solid var(--pw-line); border-radius: var(--pw-radius-md); background: #fff; box-shadow: var(--pw-shadow-soft); }
.pw-policy details { padding: 0; }
.pw-policy summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--pw-navy); background: #f8fbfb; font-size: 14px; font-weight: 800; }
.pw-policy summary::-webkit-details-marker { display: none; }
.pw-policy summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; color: var(--pw-teal-dark); background: var(--pw-teal-soft); }
.pw-policy details[open] summary::after { content: "-"; }
.pw-policy-body { max-height: 430px; overflow: auto; padding: 18px; border-top: 1px solid var(--pw-line); color: #39444b; background: #fff; font-size: 12.5px; white-space: pre-line; }
.pw-policy-meta { display: block; margin-top: 3px; color: var(--pw-muted); font-size: 10.5px; font-weight: 700; }
.pw-policy-ack { margin: 0; padding: 14px 18px 17px; border-top: 1px solid var(--pw-line); background: var(--pw-gold-soft); }
.pw-policy-ack .pw-check-row { margin: 0; }
.pw-policy-mini { max-height: 180px; overflow: auto; margin: 14px 0; padding: 14px; border: 1px solid #e9dcc0; border-radius: 13px; color: #4f4a3d; background: #fffdf8; font-size: 12px; white-space: pre-line; }
.pw-signature-pad-wrap { margin-top: 17px; }
.pw-signature-pad-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--pw-navy-2); font-size: 12px; font-weight: 800; }
.pw-signature-pad-header em { color: var(--pw-muted); font-size: 10.5px; font-style: normal; }
#signatureCanvas { display: block; width: 100%; height: 170px; border: 1px solid #cfdadd; border-radius: 13px; background: linear-gradient(#fff,#fff) padding-box, repeating-linear-gradient(0deg,transparent,transparent 31px,rgba(34,111,114,.06) 32px) border-box; touch-action: none; cursor: crosshair; }
.pw-signature-pad-wrap p { margin: 6px 0 0; color: var(--pw-muted); font-size: 11px; }
.pw-question-footer { display: flex; justify-content: space-between; gap: 14px; padding: 18px clamp(20px,4vw,38px) 24px; border-top: 1px solid var(--pw-line); background: #fbfcfc; }
.pw-question-footer .pw-actions { margin: 0; }
.pw-validation-summary { margin: 0 clamp(20px,6vw,64px) 18px; padding: 14px 16px; border: 1px solid rgba(156,47,47,.25); border-radius: 13px; color: #712222; background: var(--pw-danger-soft); font-size: 13px; font-weight: 700; }
.pw-validation-summary ul { margin: 7px 0 0; padding-left: 20px; }
.pw-review { padding: clamp(28px,6vw,54px) clamp(20px,6vw,64px) 36px; }
.pw-review-sections { display: grid; gap: 14px; margin-top: 28px; }
.pw-review-section { overflow: hidden; border: 1px solid var(--pw-line); border-radius: var(--pw-radius-md); background: #fff; }
.pw-review-section-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--pw-line); background: #f8fbfb; }
.pw-review-section-header h2 { margin: 0; color: var(--pw-navy); font-size: 15px; }
.pw-review-section-body { display: grid; gap: 10px; padding: 16px 18px; }
.pw-review-item { display: grid; grid-template-columns: minmax(150px,32%) minmax(0,1fr); gap: 14px; padding-bottom: 9px; border-bottom: 1px solid #edf1f2; }
.pw-review-item:last-child { padding-bottom: 0; border-bottom: 0; }
.pw-review-label { color: var(--pw-navy-2); font-size: 11.5px; font-weight: 800; }
.pw-review-value { color: var(--pw-ink); font-size: 12.5px; white-space: pre-line; }
.pw-edit-button { padding: 6px 9px; border: 0; border-radius: 9px; color: var(--pw-teal-dark); background: var(--pw-teal-soft); cursor: pointer; font-size: 11px; font-weight: 900; }
.pw-review-actions { justify-content: flex-end; }
.pw-success-hero { padding: clamp(36px,7vw,68px) clamp(22px,6vw,64px); color: #fff; background: linear-gradient(125deg,var(--pw-navy),var(--pw-navy-2)); }
.pw-success-logo { display: block; width: min(220px,55vw); max-height: 64px; margin: 0 0 26px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.94); object-fit: contain; object-position: left center; }
.pw-success-hero .pw-page-title { color: #fff; }
.pw-success-hero p:not(.pw-eyebrow) { max-width: 720px; color: rgba(255,255,255,.82); }
.pw-success-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 22px; border-radius: 22px; color: #fff; background: rgba(48,153,69,.28); font-size: 28px; font-weight: 900; }
.pw-result-reference { display: inline-flex; min-height: 34px; align-items: center; margin-top: 0; padding: 6px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.06); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 11px; }
.pw-success-body { padding: clamp(26px,6vw,58px) clamp(20px,6vw,64px) 40px; }
.pw-success-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.pw-success-appointment { display: inline-flex; min-height: 34px; align-items: center; padding: 6px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(34,111,114,.42); font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.pw-success-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.pw-success-card { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; align-items: start; padding: 18px; border: 1px solid var(--pw-line); border-radius: 18px; background: #fff; }
.pw-success-card-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--pw-teal-dark); background: var(--pw-teal-soft); font-size: 12px; font-weight: 900; }
.pw-success-card h2 { margin: 1px 0 5px; color: var(--pw-navy); font-size: 15px; }
.pw-success-card p { margin: 0; color: var(--pw-muted); font-size: 12px; line-height: 1.5; }
.pw-success-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 18px; padding: 13px 15px; border-top: 1px solid var(--pw-line); border-bottom: 1px solid var(--pw-line); color: var(--pw-muted); font-size: 12px; }
.pw-success-contact strong { color: var(--pw-navy); }
.pw-action-center { padding: 22px; border: 1px solid var(--pw-line); border-radius: 22px; background: linear-gradient(140deg,#f9fcfc,var(--pw-teal-soft)); text-align: center; }
.pw-action-center h2 { margin: 0; color: var(--pw-navy); font-size: 19px; }
.pw-action-center p { margin: 7px auto 18px; color: var(--pw-muted); font-size: 13px; }
.pw-privacy-note { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 11px; margin-top: 18px; padding: 15px; border-radius: var(--pw-radius-md); color: var(--pw-muted); background: #f7f9f9; font-size: 12px; }
.pw-privacy-note strong { color: var(--pw-navy); }
.pw-toast { position: fixed; z-index: 1200; right: 18px; bottom: 18px; max-width: min(430px,calc(100vw - 36px)); padding: 13px 16px; border: 1px solid rgba(34,111,114,.2); border-radius: 13px; color: #fff; background: var(--pw-navy); box-shadow: var(--pw-shadow); font-size: 13px; font-weight: 700; transform: translateY(16px); opacity: 0; pointer-events: none; transition: opacity 160ms ease,transform 160ms ease; }
.pw-toast.is-visible { transform: translateY(0); opacity: 1; }
.pw-noscript { width: min(760px,calc(100% - 32px)); margin: 40px auto; padding: 20px; border: 1px solid #ecc3bf; border-radius: 16px; color: #6d2622; background: #fff1ef; }
@media (max-width: 820px) {
  .pw-success-grid { grid-template-columns: 1fr; }
  .pw-feature-grid,.pw-choice-grid-3,.pw-checkbox-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pw-field-grid-2 { grid-template-columns: 1fr; }
  .pw-span-2 { grid-column: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pw-app-shell { padding: 8px 6px calc(26px + env(safe-area-inset-bottom)); }
  .pw-topbar { padding: 4px 6px 0; margin-bottom: 12px; }
  .pw-brand { width: 190px; min-height: 50px; }
  .pw-privacy-chip { display: none; }
  .pw-panel { border-radius: 20px; }
  .pw-welcome-hero { padding-top: 30px; padding-bottom: 28px; }
  .pw-display-title { font-size: clamp(35px,10vw,48px); line-height: 1.04; }
  .pw-lead { margin-top: 16px; font-size: 16px; }
  .pw-time-note,.pw-feature-grid,.pw-choice-grid-2,.pw-choice-grid-3,.pw-checkbox-grid { grid-template-columns: 1fr; }
  .pw-time-note { margin-top: 18px; }
  .pw-time-note > div { min-height: 0; }
  .pw-assessment-header { padding-top: 18px; }
  .pw-question-title,.pw-page-title { font-size: clamp(28px,8vw,36px); }
  .pw-question-helper,.pw-page-intro { font-size: 14px; line-height: 1.5; }
  .pw-form-stage { padding-top: 20px; }
  .pw-form-step { gap: 14px; }
  .pw-card,.pw-section-card { padding: 17px; }
  .pw-step-header-row { display: block; }
  .pw-step-header-row .pw-button { margin-top: 12px; }
  .pw-card-heading { display: block; }
  .pw-card-heading .pw-button,.pw-card-heading .pw-required-badge,.pw-card-heading .pw-optional-badge { margin-top: 10px; }
  .pw-field-grid { gap: 13px; }
  .pw-field > span,.pw-fieldset legend { font-size: 13px; }
  .pw-field input,.pw-field select,.pw-field textarea { min-height: 52px; padding: 13px 14px; border-radius: 13px; font-size: 16px; }
  .pw-field textarea { min-height: 104px; }
  .pw-choice { min-height: 68px; padding: 15px; grid-template-columns: 26px minmax(0,1fr); }
  .pw-choice input { width: 21px; height: 21px; }
  .pw-choice strong { font-size: 15px; }
  .pw-choice small { font-size: 12.5px; }
  .pw-checkbox-grid label { min-height: 54px; padding: 12px; font-size: 14px; grid-template-columns: 22px minmax(0,1fr); align-items: center; }
  .pw-checkbox-grid input { width: 20px; height: 20px; }
  .pw-inline-options { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 8px; }
  .pw-inline-options label { min-height: 46px; padding: 8px; font-size: 14px; }
  .pw-check-row { grid-template-columns: 24px minmax(0,1fr); }
  .pw-check-row input { width: 21px; height: 21px; }
  .pw-check-row span { font-size: 14px; }
  .pw-button { min-height: 52px; padding: 13px 18px; font-size: 15px; }
  .pw-button-small { min-height: 44px; }
  .pw-clear-link,.pw-remove-button,.pw-edit-button { min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .pw-policy summary { min-height: 58px; padding: 15px 16px; font-size: 14px; }
  .pw-policy-body { max-height: 50vh; font-size: 13px; line-height: 1.55; }
  #signatureCanvas { height: 190px; }
  .pw-question-footer { position: static; align-items: center; padding-bottom: calc(20px + env(safe-area-inset-bottom)); box-shadow: none; }
  .pw-question-footer .pw-actions { flex: 1; justify-content: flex-end; }
  .pw-question-footer .pw-button-primary { flex: 1; }
  .pw-review-item { grid-template-columns: 1fr; gap: 4px; }
  .pw-review-section-header { align-items: flex-start; }
  .pw-review-label { font-size: 12px; }
  .pw-review-value { font-size: 14px; }
}
@media (max-width: 430px) {
  .pw-welcome-hero,.pw-welcome-body,.pw-form-stage,.pw-assessment-header,.pw-question-footer,.pw-review,.pw-success-hero,.pw-success-body { padding-left: 17px; padding-right: 17px; }
  .pw-actions { align-items: stretch; }
  .pw-actions .pw-button { width: 100%; }
  .pw-question-footer > .pw-button-ghost { width: auto; }
  .pw-question-footer .pw-actions .pw-button { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
