.referral-tool{--referral-purple:#783bb0;--referral-ink:#1d1723;--referral-muted:#655d6c;--referral-line:#e8e2eb;color:var(--referral-ink);background:#fff;font-family:Inter Variable,sans-serif}.referral-tool .shell{width:min(1220px,100% - 48px);margin-inline:auto}.referral-tool-hero{background:linear-gradient(#fbf9fd 0%,#fff 100%);padding:20px 0 35px}.referral-tool-photo{background:#f3eff5;border:1px solid #eee8f2;border-radius:20px;width:min(100%,1050px);height:clamp(210px,30vw,340px);margin:22px auto 0;position:relative;overflow:hidden;box-shadow:0 16px 42px #28183217}.referral-tool-photo img{object-fit:cover;object-position:50% 48%;width:100%;height:100%;display:block}.referral-tool-photo figcaption{color:#51465a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border:1px solid #ffffffb8;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:620;position:absolute;bottom:14px;right:16px}.referral-breadcrumb{margin-bottom:28px}.referral-breadcrumb ol{color:#77717e;flex-wrap:wrap;align-items:center;gap:9px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.referral-breadcrumb li+li:before{content:"/";color:#aaa3b0;margin-right:9px}.referral-breadcrumb a{color:#625a68;text-underline-offset:3px;text-decoration:underline}.referral-hero-copy{text-align:center;max-width:880px;margin:0 auto}.referral-kicker{color:var(--referral-purple);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:11px;font-weight:760}.referral-hero-copy h1{letter-spacing:-.055em;margin:14px 0 13px;font:630 clamp(38px,5.5vw,64px)/1.04 Inter Variable,sans-serif}.referral-lede{color:#5d5664;max-width:740px;margin:0 auto;font-size:18px;line-height:1.6}.referral-trust-pills{flex-wrap:wrap;justify-content:center;gap:9px;margin:20px 0 13px;display:flex}.referral-trust-pills span,.referral-safety-pill{box-sizing:border-box;color:#51475a;background:#fff;border:1px solid #e6dfeb;border-radius:999px;align-items:center;min-height:34px;padding:7px 12px;font-size:12px;font-weight:620;display:inline-flex}.referral-safety-pill{color:#573675;background:#faf7fc;border-color:#ddcce9}.referral-hero-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 16px;margin:20px 0 0;display:flex}.referral-hero-actions>span{color:#746d79;font-size:12px}.referral-hero-actions .referral-primary,.referral-tryout-action .referral-primary{color:#fff;justify-content:center;align-items:center;gap:11px;text-decoration:none;display:inline-flex}.referral-editor-section{scroll-margin-top:24px}.referral-privacy-line{color:#77717e;margin:11px auto 0;font-size:12px;line-height:1.55}.referral-privacy-line a{color:#51306b;text-underline-offset:3px}.referral-editor-section{background:#f8f6fa;border-block:1px solid #f0edf3;padding:33px 0 68px}.referral-editor-grid{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);align-items:start;gap:clamp(20px,3vw,38px);display:grid}.referral-controls{border:1px solid var(--referral-line);background:#fff;border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:15px 13px;min-width:0;padding:24px;display:grid;box-shadow:0 14px 38px #2818320e}.referral-controls-heading,.referral-controls fieldset,.referral-actions,.referral-controls>p,.referral-controls>button:last-child{grid-column:1/-1}.referral-controls-heading{padding-bottom:4px}.referral-controls-heading h2{letter-spacing:-.035em;margin:7px 0 5px;font-size:23px}.referral-controls-heading>p:last-child{color:#716a78;margin:0;font-size:13px;line-height:1.5}.referral-controls label{color:#3b3542;align-content:start;gap:7px;min-width:0;font-size:13px;font-weight:650;line-height:1.35;display:grid}.referral-controls>label:first-of-type{grid-column:1/-1}.referral-controls input:not([type=checkbox]),.referral-controls select,.referral-controls textarea{box-sizing:border-box;color:#211b27;background:#fff;border:1px solid #d3ccd8;border-radius:8px;width:100%;min-width:0;min-height:46px;padding:10px 12px;font:500 14px/1.4 Inter Variable,sans-serif}.referral-controls select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#77717e 50%),linear-gradient(135deg,#77717e 50%,#0000 50%);background-position:calc(100% - 17px) 20px,calc(100% - 12px) 20px;background-repeat:no-repeat;background-size:5px 5px;padding-right:36px}.referral-controls textarea{resize:vertical;min-height:92px}.referral-controls input:focus,.referral-controls select:focus,.referral-controls textarea:focus{border-color:#8740c4;outline:3px solid #8740c430}.referral-controls fieldset{border:1px solid #e6e0e8;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 11px;min-width:0;margin:2px 0 0;padding:16px;display:grid}.referral-controls legend{color:#453b4d;padding:0 7px;font-size:13px;font-weight:760}.referral-controls .referral-check{color:#544d5b;flex-direction:row;grid-column:1/-1;align-items:flex-start;gap:9px;font-weight:550;display:flex}.referral-controls .referral-check input{width:17px;height:17px;accent-color:var(--referral-purple);flex:none;margin:0}.referral-text-button{color:#683395;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;justify-self:start;padding:1px 0;font:650 12px Inter Variable,sans-serif;text-decoration:underline}.referral-actions{border-top:1px solid #eeeaf1;flex-wrap:wrap;gap:9px;margin-top:5px;padding-top:16px;display:flex}.referral-primary,.referral-secondary{box-sizing:border-box;cursor:pointer;text-align:center;border:1px solid #70399d;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;font:680 13px/1.25 Inter Variable,sans-serif;text-decoration:none;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.referral-primary{color:#fff;background:#783bb0}.referral-primary:hover{background:#60288f;transform:translateY(-1px)}.referral-secondary{color:#603583;background:#fff}.referral-secondary:hover{background:#faf7fc;border-color:#8c62a8}.referral-controls>p:not(.referral-phi-warning){color:#6e6674;margin:0;font-size:12px;line-height:1.55}.referral-controls>p a{color:#51306b;text-underline-offset:3px}.referral-controls>button:last-child{width:100%;min-height:48px}.referral-preview-wrap{min-width:0;position:sticky;top:86px}.referral-preview-panel{min-width:0}.referral-preview-head{justify-content:space-between;align-items:end;gap:12px;margin:0 0 13px;display:flex}.referral-preview-head h2{letter-spacing:-.03em;margin:5px 0 0;font-size:21px}.referral-preview-head>span{color:#77717e;font-size:12px}.referral-paper{box-sizing:border-box;color:#201b24;background:#fff;border:1px solid #e2dce6;border-radius:4px;width:100%;min-height:740px;padding:34px clamp(24px,3.2vw,42px);font:12px/1.4 Inter Variable,Arial,sans-serif;box-shadow:0 12px 32px #1f172417}.referral-document-heading{border-bottom:1px solid #d9d2df;align-items:center;gap:13px;min-height:55px;margin-bottom:15px;padding-bottom:14px;display:flex}.referral-document-heading img{object-fit:contain;filter:grayscale();max-width:94px;max-height:42px}.referral-document-heading>div{min-width:0}.referral-document-heading>div>span{color:#786b80;letter-spacing:.09em;font-size:8px;font-weight:750}.referral-document-heading h2{letter-spacing:-.025em;margin:3px 0 0;font-size:17px;line-height:1.2}.referral-document-size{color:#736c79;border:1px solid #e9e4eb;border-radius:5px;flex:none;margin-left:auto;padding:5px 7px;font-size:8px;font-weight:680}.referral-urgent-band{color:#fff;text-align:center;letter-spacing:.06em;background:#000;border:1px solid #000;margin:0 0 12px;padding:8px;font-size:10px;font-weight:800}.referral-practice-grid{border-bottom:1px solid #e6e0e8;grid-template-columns:1fr 1fr;gap:15px;padding:2px 0 13px;display:grid}.referral-practice-grid section>span{color:#766a7e;letter-spacing:.1em;margin-bottom:6px;font-size:8px;font-weight:760;display:block}.referral-practice-grid strong{margin-bottom:4px;font-size:11px;display:block}.referral-practice-grid p{color:#625b67;margin:2px 0;font-size:9px;line-height:1.4}.referral-urgency-row{border-bottom:1px solid #e6e0e8;align-items:center;gap:8px;min-height:34px;display:flex}.referral-urgency-row>span{color:#766a7e;letter-spacing:.08em;font-size:8px;font-weight:750}.referral-urgency-row strong{color:#342a3d;font-size:10px}.referral-urgency-row small{color:#625b67;margin-left:auto;font-size:9px}.referral-document-section{margin-top:12px}.referral-document-section h3{letter-spacing:-.01em;margin:0 0 7px;font-size:10px;font-weight:740}.referral-document-section h3 small{color:#817987;font-size:8px;font-weight:500}.referral-choice-grid{grid-template-columns:1fr 1fr;gap:5px 12px;display:grid}.referral-choice-grid span{color:#504954;align-items:center;gap:6px;font-size:9px;line-height:1.3;display:flex}.referral-choice-grid span:before{content:"";background:#fff;border:1px solid #817a86;border-radius:2px;flex:none;width:10px;height:10px}.referral-document-other,.referral-authorization{color:#5e5764;margin:7px 0 0;font-size:9px}.referral-authorization b{font-weight:500}.referral-patient-grid{grid-template-columns:1fr 1fr;gap:3px 14px;display:grid}.referral-blank-row{border-bottom:1px solid #c9c3cc;margin:0;padding:4px 0 3px}.referral-blank-row b{color:#615967;margin-bottom:2px;font-size:8px;font-weight:650;display:block}.referral-blank-row span{height:11px;font-size:8px;display:block}.referral-ruled-line{border-bottom:1px solid #d2cdd4;height:17px}.referral-signature-row{color:#514a56;justify-content:space-between;gap:12px;margin-top:12px;font-size:8px;display:flex}.referral-signature-row b{margin-left:5px;font-weight:500}.referral-confidentiality{color:#716a76;border-top:1px solid #ded9e1;margin:12px 0 0;padding-top:8px;font-size:8px;line-height:1.45}.referral-fax-print{color:#42384a;text-align:right;margin-top:7px;font-size:9px;font-weight:700}.letter-preview-lines{color:#4a434e;font-size:10px;line-height:1.33}.letter-preview-lines p{white-space:pre-wrap;margin:0 0 3px}.letter-preview-lines .is-section-heading{color:#33273d;text-transform:uppercase;letter-spacing:.045em;border-top:1px solid #e8e2eb;margin:9px 0 3px;padding-top:4px;font-size:9px;font-weight:760}.letter-preview-lines .is-subject-line{color:#34283d;margin:7px 0 5px;font-weight:700}.letter-preview-lines .is-placeholder{color:#766d7d;font-style:italic}.referral-preview-link{text-align:center;margin:12px 0 0;font-size:12px}.referral-preview-link a{color:#64348c;text-underline-offset:3px}.referral-mobile-preview{margin-bottom:11px;display:none}.referral-content{padding-top:24px;padding-bottom:62px}.referral-content-block{border-bottom:1px solid #ece7ef;padding:27px 0;line-height:1.7}.referral-content-block h2{letter-spacing:-.035em;margin:0 0 12px;font-size:25px;line-height:1.2}.referral-content-block p,.referral-content-block li{color:#5d5664;font-size:15px}.referral-content-block li{margin:6px 0}.referral-content-block a{color:#65378d;text-underline-offset:3px}.referral-content-block details{border-bottom:1px solid #ece7ef;padding:12px 0}.referral-content-block summary{cursor:pointer;font-weight:700}.referral-content-block details p{margin-bottom:0}.referral-tryout{background:radial-gradient(at 92% 10%,#efe2fa 0,#0000 38%),linear-gradient(135deg,#fbf8fd 0%,#f5eff9 100%);border:1px solid #e6d9ef;border-radius:22px;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);align-items:center;gap:22px 38px;margin:40px 0 22px;padding:clamp(24px,4vw,44px);display:grid}.referral-tryout-heading h2{letter-spacing:-.045em;max-width:610px;margin:10px 0;font:630 clamp(27px,3.6vw,40px)/1.1 Inter Variable,sans-serif}.referral-tryout-heading>p:last-child{color:#625a69;max-width:560px;margin:0;font-size:15px;line-height:1.65}.referral-tryout-steps{gap:0;margin:0;padding:0;list-style:none;display:grid}.referral-tryout-steps li{color:#443b4b;border-bottom:1px solid #66447e26;grid-template-columns:43px 1fr;align-items:center;gap:12px;min-height:54px;font-size:14px;font-weight:620;display:grid}.referral-tryout-steps li:last-child{border-bottom:0}.referral-tryout-steps b{color:#693399;letter-spacing:.03em;border:1px solid #d6c0e6;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;display:grid}.referral-tryout-action{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:17px;padding-top:8px;display:flex}.referral-tryout-contact{color:#5a3a70;text-underline-offset:3px;font-size:13px;font-weight:650}.referral-sticky-try{z-index:80;right:22px;bottom:max(18px,env(safe-area-inset-bottom));color:#fff;background:#6f35a5;border:1px solid #5c2787;border-radius:999px;align-items:center;gap:10px;min-height:52px;padding:0 17px;font-size:14px;font-weight:700;text-decoration:none;transition:transform .18s,box-shadow .18s;display:flex;position:fixed;box-shadow:0 12px 35px #2d193b3d}.referral-sticky-try:hover{transform:translateY(-2px);box-shadow:0 16px 38px #2d193b4a}.referral-sticky-try:focus-visible{outline-offset:3px;outline:3px solid #d6b1f0}.referral-sticky-try b{margin-left:3px;font-size:18px;font-weight:500}.referral-sticky-dot{background:#d8b8f2;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #ffffff24}.referral-result-dialog,.referral-email-dialog{z-index:1000;box-sizing:border-box;background:#fff;border:1px solid #ded3e8;border-radius:16px;width:min(760px,100vw - 28px);max-height:90vh;margin:auto;padding:28px;position:fixed;inset:0;overflow:auto;box-shadow:0 20px 70px #21182b42}.referral-email-dialog{width:min(460px,100vw - 28px)}.referral-email-dialog::backdrop,.referral-result-dialog::backdrop{background:#21182b8c}.referral-dialog-close{float:right;color:#584565;font:inherit;cursor:pointer;background:0 0;border:0}.referral-email-dialog form{gap:15px;display:grid}.referral-email-dialog label{color:#3b3542;gap:7px;font-size:13px;font-weight:650;display:grid}.referral-email-dialog input{box-sizing:border-box;min-height:46px;font:inherit;border:1px solid #d3ccd8;border-radius:8px;padding:10px 12px}.referral-email-dialog form>p{color:#635b69;margin:0;font-size:14px;line-height:1.55}.referral-story-steps{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.referral-story-steps button{cursor:pointer;background:#fff;border:1px solid #ded4e6;border-radius:9px;min-height:42px;padding:9px}.referral-story-steps button[aria-pressed=true]{color:#fff;background:#6b3991;border-color:#6b3991}.referral-phi-warning{color:#674508;background:#fff8eb;border:1px solid #efcf9a;border-radius:9px;grid-column:1/-1;margin:0;padding:11px 13px;font-size:13px;line-height:1.45}.referral-email-dialog{border-radius:18px;max-height:calc(100dvh - 32px);padding:33px}.referral-email-dialog form{gap:14px;margin-top:18px}.referral-email-dialog form>.referral-kicker{color:var(--referral-purple);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:11px;font-weight:760}.referral-email-dialog h2{letter-spacing:-.035em;margin:0 36px 0 0;font-size:27px;line-height:1.12}.referral-email-dialog .referral-dialog-close{background:#fff;border:1px solid #e4dfe7;border-radius:50%;place-items:center;width:38px;height:38px;font-size:23px;display:grid;position:absolute;top:15px;right:15px}.referral-email-dialog .referral-primary{justify-content:center;width:100%;min-height:49px}.referral-email-dialog .referral-email-privacy{color:#69636f;font-size:12px}.referral-email-dialog .referral-form-status{color:#a12626;font-size:13px}.referral-result-dialog .referral-kicker{margin:4px 0 11px}.referral-result-dialog h2{letter-spacing:-.035em;margin:0 0 15px;font-size:27px}.referral-result-dialog h3{margin:22px 0 6px}.referral-small{color:#716a78;font-size:12px}@media (width<=1000px){.referral-editor-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.referral-controls{padding:19px}.referral-paper{min-height:720px;padding:27px 24px}}@media (width<=820px){.referral-tool .shell{width:min(100% - 32px,680px)}.referral-editor-grid{grid-template-columns:1fr}.referral-preview-wrap{display:block;position:static}.referral-preview-panel{display:none}.referral-preview-wrap.is-open .referral-preview-panel{display:block}.referral-mobile-preview{width:100%;display:inline-flex}.referral-paper{min-height:0}.referral-editor-section{padding:25px 0 45px}}@media (width<=760px){.referral-tryout{grid-template-columns:1fr;gap:18px}.referral-tryout-action{grid-column:auto}.referral-sticky-try{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:48px;padding-inline:15px}}@media (width<=560px){.referral-tool .shell{width:calc(100% - 24px)}.referral-tool-hero{padding-top:15px}.referral-breadcrumb ol{gap:6px;font-size:12px}.referral-breadcrumb li+li:before{margin-right:6px}.referral-hero-copy{padding:0 2px}.referral-hero-copy h1{font-size:clamp(34px,9vw,46px)}.referral-lede{font-size:16px}.referral-trust-pills{gap:6px}.referral-trust-pills span,.referral-safety-pill{min-height:32px;padding:6px 9px;font-size:11px}.referral-hero-actions{flex-direction:column}.referral-controls{grid-template-columns:1fr;gap:13px;padding:16px}.referral-controls-heading,.referral-controls fieldset,.referral-actions,.referral-controls>p,.referral-controls>button:last-child,.referral-controls>label:first-of-type{grid-column:1}.referral-controls fieldset{grid-template-columns:1fr 1fr;padding:13px}.referral-controls fieldset label:last-of-type{grid-column:1/-1}.referral-actions{grid-template-columns:1fr;display:grid}.referral-preview-head{flex-direction:column;align-items:flex-start}.referral-paper{padding:22px 18px}.referral-practice-grid{gap:8px}.referral-choice-grid{grid-template-columns:1fr}.referral-signature-row{flex-direction:column}.referral-story-steps{grid-template-columns:repeat(2,1fr)}.referral-tryout{padding:22px 18px}.referral-tryout-action{flex-direction:column;align-items:flex-start}.referral-sticky-try{justify-content:center;left:12px;right:12px}}@media (prefers-reduced-motion:reduce){.referral-tool *,.referral-tool :before,.referral-tool :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{.referral-tool .site-header,.referral-tool .site-footer,.referral-tool-hero,.referral-controls,.referral-content,.referral-preview-head,.referral-preview-link,.referral-mobile-preview{display:none!important}.referral-editor-section{background:#fff;padding:0}.referral-editor-section>.shell{width:100%;margin:0}.referral-editor-grid{display:block}.referral-preview-wrap,.referral-preview-panel{position:static;display:block!important}.referral-paper{width:100%;min-height:0;box-shadow:none;page-break-inside:avoid;border:0;border-radius:0;padding:.35in}}
