/* Touch-first baseline; responsive.css expands tablet and desktop layouts. */
.intake-page{background:#f3f6f5;color:#213936;font-size:15px;line-height:1.65}
.intake-page .site-header{max-width:640px;height:68px;padding:0 22px;margin:auto}
.intake-page .brand{font-size:14px;gap:10px;font-weight:600}
.intake-page .brand-icon{width:30px;height:33px;border-radius:4px 8px 8px 4px;font-size:20px}
.intake-page .brand-sub{font-size:10px;letter-spacing:0;color:#74867f}
.mobile-intake{max-width:640px;margin:0 auto;background:#fff;min-height:80vh}
.intro{padding:24px 24px 20px;background:#e9f0ed}
.intro h1{margin:0 0 12px;font-size:26px;line-height:1.4;letter-spacing:-.6px}
.intro p{margin:0;font-size:13px;color:#566c63;line-height:1.9;max-width:47ch}
.intro p strong{font-weight:600;color:#2c4f41}
.intro .optional-note{margin-top:14px;display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#315c49}
.intro .optional-note::before{content:'✓';font-weight:700;flex-shrink:0}
.mobile-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #e3eae6;padding:0 8px}
.mobile-step{border:0;border-bottom:3px solid transparent;background:#fff;color:#7a8a82;padding:16px 0 13px;min-height:57px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;white-space:nowrap;border-radius:0}
.mobile-step-number{display:grid;place-items:center;width:20px;height:20px;border:1px solid #d4ded7;border-radius:50%;font-size:11px}
.mobile-step.active{color:#215a55;font-weight:600;border-bottom-color:#215a55}
.active .mobile-step-number{background:#215a55;border-color:#215a55;color:#fff}
.role-choice-field{border:0;margin:0;padding:0;min-width:0}
.role-choice-field legend{padding:0;margin-bottom:14px!important}
.role-options{display:grid;gap:12px}
.role-option{display:flex;align-items:center;gap:13px;min-height:60px;padding:16px;border:1px solid #dbe4dd;border-radius:9px;background:#fcfdfc;cursor:pointer;font-size:15px}
.role-option:has(input:checked){background:#eaf3ed;border-color:#507c65;color:#215a55}
.role-option input{width:21px;height:21px;margin:0;accent-color:#215a55;flex-shrink:0}
@media(max-width:480px){.mobile-step{font-size:11px;gap:4px}.mobile-step-number{width:17px;height:17px;font-size:10px}}
.intake-page .form-shell{padding:22px 24px 0;min-width:0}
.intake-page .form-topline{font-size:10px;gap:12px;margin-bottom:24px;color:#7b8c82;align-items:center}
.intake-page .form-topline>span:first-child{font-size:10px;white-space:nowrap}
.intake-page .form-topline>span:last-child{text-align:right;max-width:none}
.intake-page .section-header{scroll-margin-top:80px;margin-bottom:28px}
.intake-page .section-header h2{font-size:23px;margin:0 0 8px;line-height:1.5;font-weight:650}
.intake-page .section-header p{font-size:12px;line-height:1.9;color:#6b8074;margin:0}
.intake-page .field-group{margin:0 0 30px}
.intake-page .field-group h3{font-size:12px;color:#6a7f72;font-weight:500;margin:0 0 20px;padding:0 0 10px;border-bottom:1px solid #e7ede8}
.intake-page .field-grid{display:grid;grid-template-columns:1fr;gap:23px}
.intake-page .field{min-width:0;grid-column:auto}
.intake-page .field-label{font-size:14px;font-weight:550;margin:0 0 9px;color:#253f33;line-height:1.6}
.intake-page input:not([type=checkbox]),.intake-page select,.intake-page textarea{font-size:16px;width:100%;min-height:50px;padding:12px 13px;border:1px solid #dbe4dd;border-radius:9px;line-height:1.65;background:#fcfdfc;color:#213a2d;box-shadow:none}
.intake-page input::placeholder,.intake-page textarea::placeholder{font-size:13px;color:#9aa89d;line-height:1.9}
.intake-page textarea{resize:vertical;min-height:96px}
.intake-page input:focus,.intake-page textarea:focus,.intake-page select:focus{background:#fff;border-color:#507c65}
.intake-page .field-hint,.intake-page .field-error{font-size:11px;line-height:1.8;margin-top:7px}
.intake-page .field-hint{color:#86958a}
.optional-group{border:1px solid #e1e9e2;border-radius:9px;background:#fafcf9}
.optional-group summary{list-style:none;display:flex;flex-direction:column;padding:17px 38px 17px 15px;position:relative;cursor:pointer;font-size:13px;font-weight:550;min-height:70px}
.optional-group summary::-webkit-details-marker{display:none}
.optional-group summary::after{content:'+';position:absolute;right:16px;top:20px;color:#68806f;font-size:21px;font-weight:400}
.optional-group[open] summary::after{content:'−'}
.optional-group summary small{font-size:10px;font-weight:400;color:#89998c;margin-top:4px}
.optional-group[open] .field-grid{padding:8px 15px 21px}
.use-note{font-size:10px;line-height:1.9;color:#8b998f;margin:8px 0 20px}
.intake-page .form-actions{position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid #e2eae4;display:block;margin:0 -24px;padding:12px 24px max(12px,env(safe-area-inset-bottom));box-shadow:0 -6px 16px #f8faf7cc}
.action-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:10px}
.action-main:has(#next[hidden]){grid-template-columns:1fr}
.intake-page .form-actions .button{width:100%;min-height:48px;font-size:13px;padding:12px 8px;border-radius:9px;white-space:nowrap}
.intake-page #previous{display:block;font-size:11px;margin:0 0 11px;text-decoration:none;min-height:28px}
.intake-page .under-form{padding:17px 0 22px;margin:0;font-size:10px;color:#96a197;display:flex;align-items:center;gap:12px}
.intake-page .under-form>span{max-width:none;text-align:left}
.intake-page .under-form button{font-size:10px;white-space:nowrap;color:#85958a;min-height:28px}
.intake-page .site-footer{display:block;max-width:640px;margin:0 auto;padding:20px 24px 28px;font-size:10px;color:#9ba79d;line-height:1.8}
.intake-page .success-panel{padding:16px 0 30px}
.intake-page .success-panel h2{font-size:23px}
.intake-page .success-actions{display:grid;grid-template-columns:1fr;width:100%}
.intake-page .success-actions .button{min-height:48px}
.intake-page .copy-row{display:flex;flex-direction:column}
.intake-page #edit-link{font-size:11px}
.intake-page .copy-row button{align-self:stretch;min-height:46px}
.intake-page .toast{bottom:95px}
.delivery-area{padding:17px;background:#eef5ef;border:1px solid #d7e6db;border-radius:9px;margin-bottom:24px}.delivery-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.delivery-heading h2{font-size:17px;margin:0}.delivery-area p{font-size:12px;color:#5a7566;margin:10px 0}.delivery-area #my-files{display:grid;gap:10px}.delivery-area .button{white-space:normal;overflow-wrap:anywhere;min-height:48px}
.intake-page>header+.notice{max-width:640px;margin:0 auto;border-radius:0;font-size:11px;padding:10px 22px}
@media(min-width:681px){.mobile-intake{border:1px solid #e0e7e1;border-radius:14px;overflow:clip}.intro{padding:28px 30px 24px}.intake-page .form-shell{padding:25px 30px 0}.intake-page .form-actions{margin-left:-30px;margin-right:-30px;padding-left:30px;padding-right:30px}.intake-page .site-header{height:78px}}
@media(max-width:360px){.intake-page .site-header{padding:0 18px}.intro{padding:22px 18px 18px}.intro h1{font-size:24px}.intake-page .form-shell{padding-left:18px;padding-right:18px}.intake-page .form-actions{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.mobile-step{font-size:12px;gap:5px}}
