
/* Mantine Checkbox/InlineInput structure must also exist in isolated Grapes and public documents. */
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-root{--checkbox-size-sm:20px;--checkbox-size:20px;--label-lh-sm:20px;--label-lh:20px;margin:4px 0}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-body{display:flex}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-inner{height:var(--checkbox-size);width:var(--checkbox-size);position:relative;order:1;flex:none}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-input{appearance:none;box-sizing:border-box;display:block;width:var(--checkbox-size);height:var(--checkbox-size);min-height:0;margin:0;padding:0;border:1px solid #ced4da;border-radius:4px;cursor:pointer;transition:border-color .1s ease,background-color .1s ease}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-icon{position:absolute;inset:0;margin:auto;width:60%;height:auto;pointer-events:none;opacity:0;transform:translateY(5px) scale(.5);transition:transform .1s ease,opacity .1s ease}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-input:checked+.mantine-Checkbox-icon,:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-input[data-indeterminate]+.mantine-Checkbox-icon{opacity:1;transform:none}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-labelWrapper{display:inline-flex;flex-direction:column;order:2;font-size:14px;line-height:var(--label-lh)}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-label{padding-left:12px;padding-right:0;cursor:pointer}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-input:disabled,:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-label[data-disabled]{cursor:not-allowed}
:is(.survey-custom-field,.survey-clinical) .mantine-Checkbox-label[data-disabled]{color:#adb5bd}

.survey-custom-field>.survey-custom-field-label{display:block;margin:0 0 3px;white-space:pre-wrap;overflow-wrap:anywhere}
/* Text boxes keep their height: no drag handle, and longer text scrolls inside the box. */
[data-survey-root] textarea,.survey-preview-form textarea{resize:none!important;overflow-y:auto}
.survey-custom-field .survey-option-list{display:flex;flex-wrap:wrap;gap:6px 12px}
.survey-custom-field .survey-option-list>.survey-option{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;min-width:0}
.survey-custom-field .survey-option-list.survey-option-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
/* Picture options stay side by side at every width: three across, two on a very narrow screen, never one stacked column. */
@media(max-width:340px){.survey-custom-field .survey-option-list.survey-option-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.survey-custom-field .survey-option-cards>.survey-option-pictured{position:relative;flex-direction:column;align-items:stretch;gap:0;margin-bottom:12px;cursor:pointer}
.survey-custom-field .survey-option-cards>.survey-option-pictured>input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.survey-custom-field .survey-option-pictured>.survey-option-picture{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:110px;overflow:hidden;border:1px solid #e0e0e0;border-bottom:0;border-radius:8px 8px 0 0;background:#fff}
.survey-custom-field .survey-option-picture>.survey-option-image{box-sizing:border-box;width:100px;height:100px;max-width:100%;max-height:100%;padding:8px;object-fit:contain}
.survey-custom-field .survey-option-pictured>.survey-option-caption{flex:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;padding:6px 10px;border:1px solid #e0e0e0;border-top:0;border-radius:0 0 8px 8px;background:var(--survey-button-color,#dc4b35);color:#fff;font-size:14px;font-weight:500;text-align:center;overflow-wrap:anywhere;transition:all .2s ease}
.survey-custom-field .survey-option-pictured:has(input:checked)>:is(.survey-option-picture,.survey-option-caption){border-color:var(--survey-button-color,#dc4b35);border-width:2px}
.survey-custom-field .survey-option-pictured:has(input:checked)>.survey-option-picture{border-bottom:0}
.survey-custom-field .survey-option-pictured:has(input:checked)>.survey-option-caption{border-top:0}
.survey-custom-field .survey-option-pictured:has(input:focus-visible){outline:2px solid #2459a6;outline-offset:2px;border-radius:8px}
.survey-custom-field .survey-option-pictured:has(input:disabled){cursor:default}
.survey-custom-field .survey-input{box-sizing:border-box;display:block;width:100%;height:36px;min-height:36px;border:1px solid #ced4da;border-radius:4px;background:#fff;padding:0 12px;font:inherit;color:inherit}
.survey-custom-field textarea.survey-input{height:auto;min-height:72px;padding:8px 12px}
.survey-custom-field .survey-input::placeholder{color:#adb5bd;opacity:1}
.survey-custom-field .survey-option{display:flex;align-items:center;gap:8px;margin:4px 0}
.survey-custom-field .survey-option input{flex:0 0 16px;width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#000}
.survey-clinical-medicationsAdvanced .survey-clinical-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.survey-clinical-medicationsAdvanced .survey-clinical-entry>legend,.survey-clinical-medicationsAdvanced .survey-clinical-column:where([data-survey-has~="textarea"]):not(template),.survey-clinical-medicationsAdvanced [data-survey-field-key="medication_id"]{grid-column:1/-1}
@media(max-width:480px){.survey-clinical-medicationsAdvanced .survey-clinical-entry{grid-template-columns:minmax(0,1fr)}}
.survey-clinical:is(.survey-clinical-allergiesBasic,.survey-clinical-allergiesAdvanced)>button{display:inline-flex;align-items:center;gap:8px}
.survey-clinical:is(.survey-clinical-allergiesBasic,.survey-clinical-allergiesAdvanced)>button::before{content:none!important}

.survey-clinical .survey-clinical-with-toggle>input.survey-input{background-image:none!important;padding-right:36px!important}
.survey-clinical .survey-clinical-toggle{position:absolute;right:4px;top:4px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#adb5bd;cursor:pointer}
.survey-clinical-with-toggle>input[role="combobox"]:not(:disabled),.survey-clinical select:not(:disabled){cursor:pointer}
.survey-clinical :is(.survey-clinical-macro-icon,.survey-dictation-button){display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:0;margin:0;padding:0;color:#4b5563;background:transparent;border:0}
.survey-clinical .survey-dictation-field{position:relative;width:100%}
.survey-clinical .survey-dictation-actions{position:absolute;right:2px;top:50%;transform:translateY(-50%);display:flex;align-items:center}
.survey-clinical .survey-dictation-field textarea{padding-right:60px!important}
.survey-clinical-allergiesAdvanced .survey-clinical-entry{display:flex;flex-wrap:wrap}
.survey-allergy-section{display:flex;flex-wrap:wrap;gap:12px;width:100%;margin:0}
.survey-allergy-section+.survey-allergy-section{border-top:1px solid #ced4da;margin-top:15px;padding-top:15px}
.survey-allergy-section h4{width:100%;margin:0;font:600 14px/21px Poppins,sans-serif}
.survey-allergy-section .survey-clinical-column{width:calc(50% - 6px)}
.survey-allergy-section .survey-clinical-column[data-survey-field-key="description"]{width:100%}
.survey-allergy-section .survey-clinical-column:is([data-survey-field-key="season_id"],[data-survey-field-key="worst_time_id"],[data-survey-field-key="reaction_reported_by_id"]){width:calc((100% - 24px)/3)}
.survey-allergy-section .survey-allergy-custom-options{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.survey-allergy-section .survey-allergy-option-button{width:auto;display:inline-flex;align-items:center;gap:8px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;min-height:32px;padding:6px 10px;text-align:left;font:400 14px/20px Poppins,sans-serif}
.survey-allergy-option-button[aria-pressed="true"]{border-color:#000;background:#f3f4f6}

.survey-clinical-allergiesBasic .survey-clinical-column.survey-clinical-column{width:100%!important;grid-column:1/-1}
.survey-clinical-allergiesBasic .survey-clinical-entry.survey-clinical-entry{display:flex;flex-wrap:wrap}
.survey-clinical-allergiesBasic .survey-clinical-column:is([data-survey-field-key="allergy_code"],[data-survey-field-key="reaction_code"]){width:calc(50% - 6px)!important}

.survey-clinical.survey-clinical-bordered{border:1px solid #d1d5db!important;border-radius:6px;padding:16px!important}

.survey-template.survey-template[data-template="accident-information"] :is(input:not([type="radio"]),textarea,select){border-color:#ced4da!important}
.survey-template.survey-template[data-template="accident-information"] input[type="radio"]{border-color:#000!important;accent-color:#000}
.survey-template.survey-template:is([data-template="shoulder-pain"],[data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"],[data-template="rivermead-post-concussion-symptoms-questionnaire"]) .survey-template-instruction-heading{font:600 14px/21px Poppins,poppins,sans-serif;margin:12px 0 8px}
.survey-template.survey-template[data-template="shoulder-pain"] .survey-template-cutoffs{font-size:13px;font-style:italic;margin-bottom:16px}
.survey-template.survey-template[data-template="rivermead-post-concussion-symptoms-questionnaire"] .survey-template-secondary-title{font:600 16px/24px Poppins,poppins,sans-serif;text-align:center;margin-bottom:12px}

.survey-template.survey-template:is([data-template="lower-extremity-functional-scale"],[data-template="neck-disability-index"],[data-template="numeric-pain-rating-scale"],[data-template="oswestry-disability-index"],[data-template="quickdash"],[data-template="rivermead-post-concussion-symptoms-questionnaire"],[data-template="shoulder-pain"],[data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"]) :is(input:not([type="radio"]),textarea,select){border-color:#ced4da!important}
.survey-template.survey-template:is([data-template="lower-extremity-functional-scale"],[data-template="neck-disability-index"],[data-template="numeric-pain-rating-scale"],[data-template="oswestry-disability-index"],[data-template="quickdash"],[data-template="rivermead-post-concussion-symptoms-questionnaire"],[data-template="shoulder-pain"],[data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"]) input[type="radio"]{border-color:#000!important;accent-color:#000}
.survey-template.survey-template:is([data-template="neck-disability-index"],[data-template="oswestry-disability-index"]) .survey-template-question[data-survey-has~="template-options"]>label{font:600 16px/24px Poppins,poppins,sans-serif;margin-bottom:12px}
.survey-template.survey-template:is([data-template="neck-disability-index"],[data-template="oswestry-disability-index"]) .survey-template-question[data-survey-has~="template-options"]{margin-top:8px;margin-bottom:16px}
.survey-template[data-template="quickdash"] .survey-template-question[data-survey-has~="template-options"]{margin-bottom:20px}
.survey-template[data-template="quickdash"] .survey-template-question[data-survey-has~="template-options"]>label{font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template[data-template="quickdash"] .survey-template-options{padding-left:4px}
.survey-template.survey-template[data-template="quickdash"] .survey-template-results{align-items:center;text-align:center}
.survey-template[data-template="lower-extremity-functional-scale"] .survey-template-table{min-width:0;table-layout:auto;font-family:Poppins,poppins,sans-serif}
.survey-template[data-template="lower-extremity-functional-scale"] .survey-template-table th{font-size:12px;font-weight:600;font-style:italic;text-align:center;padding:8px}
.survey-template[data-template="lower-extremity-functional-scale"] .survey-template-table th:first-child{width:40%;font-size:14px;font-style:normal;text-align:left;padding:8px 12px}
.survey-template[data-template="lower-extremity-functional-scale"] .survey-template-table td:nth-child(2){width:auto;padding:8px 12px;text-align:left}
.survey-template[data-template="lower-extremity-functional-scale"] .survey-template-table td:first-child{width:5%;padding:8px;text-align:center}
.survey-template[data-template="numeric-pain-rating-scale"] .survey-template-description{font:400 14px/20px Poppins,poppins,sans-serif;color:#374151;margin-bottom:12px}
.survey-template[data-template="numeric-pain-rating-scale"] .survey-template-question>label{font:600 14px/20px Poppins,poppins,sans-serif}

.survey-template-part[data-template-hidden="true"]{display:none!important}
.survey-template.survey-template:is([data-template="carpal-tunnel-questionnaire"],[data-template="headache-disability"]) .survey-template-question[data-survey-has~="template-options"]>label{font:600 16px/24px Poppins,poppins,sans-serif;margin-bottom:12px}
.survey-template.survey-template:is([data-template="carpal-tunnel-questionnaire"],[data-template="headache-disability"]) .survey-template-question[data-survey-has~="template-options"]{margin-top:8px;margin-bottom:16px}
.survey-template.survey-template[data-template="back-pain"] .survey-template-option>input[type="radio"]{border:1px solid #000;accent-color:#000}
.survey-template.survey-template[data-template="back-pain"] .survey-date-input>input{border:1px solid #ced4da}
.survey-template.survey-template[data-template="back-pain"] .survey-template-question[data-survey-has~="template-options"]>label{font:600 16px/24px Poppins,poppins,sans-serif;margin-bottom:12px}
.survey-template.survey-template[data-template="back-pain"] .survey-template-description{margin-bottom:24px}
.survey-template.survey-template[data-template="back-pain"] .survey-template-question[data-survey-has~="template-options"]{margin-bottom:24px}
.survey-template-layout{display:flow-root;box-sizing:border-box;min-width:0;margin:16px 8px;border:1px solid #d1d5db;border-radius:8px;background:#fff;overflow:hidden}
.survey-template-layout[hidden]{display:none}
.survey-template-layout.survey-template-layout>.survey-template-part[data-template-role="title"]{margin:0!important;padding:8px 12px!important;display:flex;align-items:center;gap:8px;background:#f9fafb;border-bottom:1px solid #d1d5db;color:#374151}
.survey-template-layout>.survey-template-part[data-template-role="title"]::before{content:'';flex:0 0 4px;width:4px;height:20px;margin-top:4px;background:#d1d5db;border-radius:9999px}
.survey-template-layout.survey-template-layout>.survey-template-part,.survey-template-layout>.survey-contact-information-row,.survey-template-layout>.survey-template-half-row,.survey-template-layout>.survey-template-inline-row{margin-left:0;margin-right:0}
.survey-template-layout.survey-template-layout>.survey-contact-information-row{padding:0 16px}
.survey-template-layout>[data-contact-information-field]{padding:0 16px!important;margin:0 0 10px!important}
.survey-template-layout>.survey-preview-field[data-contact-information-column="start"]{padding-left:16px!important;padding-right:8px!important}
.survey-template-layout>.survey-preview-field[data-contact-information-column="end"]{padding-left:8px!important;padding-right:16px!important}
.survey-template-layout.survey-template-layout>.survey-preview-field[data-contact-information-column="full"]{padding-left:16px!important;padding-right:16px!important}
.survey-slide-content>.survey-template-layout{margin-left:23px;margin-right:23px}
.survey-template-layout.survey-template-layout>.survey-template-part[data-gjs-type]:not([data-template-role="title"]){padding-left:16px!important;padding-right:16px!important}
.survey-template-layout.survey-template-layout>.survey-template-part[data-template-role="title"]+.survey-template-part[data-template-role="section"]{margin-top:20px;padding-top:0}
@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-regular.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0901-0972,U+200C-200D,U+2113,U+2126-212E,U+2202-2211,U+2219-25CC}@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-regular-lgc-v1.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0100-02FF,U+0300-036F,U+0370-03FF,U+0400-052F,U+1AB0-1AFF,U+1C80-1C8F,U+1DC0-1DFF,U+1E00-1EFF,U+1F00-1FFF,U+2000-206F,U+20A0-20C0,U+20D0-20FF,U+2122,U+2191,U+2193,U+2212,U+2215,U+2DE0-2DFF,U+A66F-A67D,U+A69E-A69F,U+FB00-FB06,U+FE00-FE0F,U+FE20-FE2F,U+FEFF,U+FFFD,U+0901-0903,U+093C,U+093E-0945,U+0947-0949,U+094B-094D,U+0962-0963,U+25CC}
@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-medium.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0901-0972,U+200C-200D,U+2113,U+2126-212E,U+2202-2211,U+2219-25CC}@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-medium-lgc-v1.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0100-02FF,U+0300-036F,U+0370-03FF,U+0400-052F,U+1AB0-1AFF,U+1C80-1C8F,U+1DC0-1DFF,U+1E00-1EFF,U+1F00-1FFF,U+2000-206F,U+20A0-20C0,U+20D0-20FF,U+2122,U+2191,U+2193,U+2212,U+2215,U+2DE0-2DFF,U+A66F-A67D,U+A69E-A69F,U+FB00-FB06,U+FE00-FE0F,U+FE20-FE2F,U+FEFF,U+FFFD,U+0901-0903,U+093C,U+093E-0945,U+0947-0949,U+094B-094D,U+0962-0963,U+25CC}
@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-semibold.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-semibold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0901-0972,U+200C-200D,U+2113,U+2126-212E,U+2202-2211,U+2219-25CC}@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-semibold-lgc-v1.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-semibold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0100-02FF,U+0300-036F,U+0370-03FF,U+0400-052F,U+1AB0-1AFF,U+1C80-1C8F,U+1DC0-1DFF,U+1E00-1EFF,U+1F00-1FFF,U+2000-206F,U+20A0-20C0,U+20D0-20FF,U+2122,U+2191,U+2193,U+2212,U+2215,U+2DE0-2DFF,U+A66F-A67D,U+A69E-A69F,U+FB00-FB06,U+FE00-FE0F,U+FE20-FE2F,U+FEFF,U+FFFD,U+0901-0903,U+093C,U+093E-0945,U+0947-0949,U+094B-094D,U+0962-0963,U+25CC}
@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-bold.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0901-0972,U+200C-200D,U+2113,U+2126-212E,U+2202-2211,U+2219-25CC}@font-face{font-family:Poppins;src:url('/images/survey-template-fonts/poppins-bold-lgc-v1.woff2') format('woff2'),url('/images/survey-template-fonts/poppins-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0100-02FF,U+0300-036F,U+0370-03FF,U+0400-052F,U+1AB0-1AFF,U+1C80-1C8F,U+1DC0-1DFF,U+1E00-1EFF,U+1F00-1FFF,U+2000-206F,U+20A0-20C0,U+20D0-20FF,U+2122,U+2191,U+2193,U+2212,U+2215,U+2DE0-2DFF,U+A66F-A67D,U+A69E-A69F,U+FB00-FB06,U+FE00-FE0F,U+FE20-FE2F,U+FEFF,U+FFFD,U+0901-0903,U+093C,U+093E-0945,U+0947-0949,U+094B-094D,U+0962-0963,U+25CC}
.survey-template.survey-template{box-sizing:border-box;min-width:0;width:calc(100% - 16px);margin:16px 8px;padding:0;border:0;border-radius:8px;background:#fff;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;overflow:hidden}
/* A Year picker's popup floats past the rows card instead of being cut off at its edge. */
.survey-template.survey-template.survey-template-rows{overflow:visible}
.survey-template *{box-sizing:border-box}
/* The isolated canvas does not inherit the legacy app's antialiased text rendering. */
.survey-template-title,.survey-template-compound-heading{-webkit-font-smoothing:antialiased}
.survey-template>.survey-template-title{float:left;display:block;width:100%;margin:0;padding:8px 12px;background:#fff;border:0;color:#000;font:500 16px/1.25 Poppins,poppins,sans-serif;overflow-wrap:anywhere}
.survey-template.survey-template[data-template-border="visible"]{border:1px solid #d1d5db}
.survey-template[data-template-border="visible"]>.survey-template-title{display:flex;align-items:center;gap:8px;background:#f9fafb;border-bottom:1px solid #d1d5db;color:#374151}
.survey-template[data-template-border="visible"]>.survey-template-title::before{content:'';flex:0 0 4px;width:4px;height:20px;margin-top:4px;background:#d1d5db;border-radius:9999px}
.survey-template[data-template="patient-specific-functional-scale"]{border:1px solid #d1d5db}.survey-template[data-template="patient-specific-functional-scale"]>.survey-template-title{background:#f9fafb;border-bottom:1px solid #d1d5db;color:#374151}
.survey-template-body{clear:both;padding:12px 16px}
.survey-template .survey-template-description{white-space:pre-wrap;margin:0 0 16px;color:#000}
.survey-template .survey-template-question{min-width:0;border:0;padding:0;margin:0 0 16px}
.survey-template .survey-template-question>label{display:block;margin:0 0 8px;font-size:14px;font-weight:600;line-height:1.5}
.survey-template .survey-template-options{display:flex;flex-direction:column;gap:8px}
.survey-template .survey-template-option{position:relative;display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px;line-height:1.5;font-weight:400;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.survey-template .survey-template-option>input{appearance:auto;display:block;box-sizing:border-box;flex:0 0 16px;width:16px;height:16px;min-height:0;padding:0;margin:3px 0 0;border:1px solid #000;accent-color:#000}
.survey-template .survey-template-option>span{min-width:0}
.survey-template .survey-input,.survey-template .survey-preview-input{display:block;box-sizing:border-box;width:100%;height:36px;min-height:0;padding:0 12px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:1}
.survey-template textarea.survey-input,.survey-template textarea.survey-preview-input{height:auto;min-height:72px;padding:8px 10px}
.survey-template input::placeholder,.survey-template textarea::placeholder{color:#adb5bd}
/* Legacy uses #adb5bd for every placeholder, including the dropdown "Select an option". The rule above only reaches fields inside a template, so contact fields and other bare fields fell back to the browser default rgb(117,117,117). */
[data-survey-root] input::placeholder,[data-survey-root] textarea::placeholder{color:#adb5bd;opacity:1}
.survey-template .survey-template-results{display:block;margin:16px 0 4px;padding:12px;border-radius:4px;background:#f9fafb;font-size:14px}
.survey-template .survey-template-results:empty,.survey-template .survey-error:empty{display:none}
.survey-template .survey-template-results p{margin:0 0 4px;white-space:pre-wrap}
.survey-template .survey-template-results p:last-child{margin-bottom:0}
.survey-template .survey-template-table-wrap{max-width:100%;overflow-x:auto;margin:0 0 16px}
.survey-template .survey-template-table-wrap::-webkit-scrollbar{height:8px}.survey-template .survey-template-table-wrap::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.survey-template .survey-template-table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}
.survey-template .survey-template-table{border-collapse:collapse;width:100%;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#000}
.survey-template .survey-template-table th,.survey-template .survey-template-table td{border:1px solid #d1d5db;padding:8px;vertical-align:middle;text-align:center;min-width:32px}
.survey-template .survey-template-table th{background:#f3f4f6;font-size:12px;font-weight:600}
.survey-template .survey-template-table td:first-child,.survey-template .survey-template-table th:first-child{text-align:left;width:45%;padding:8px 12px}
.survey-template .survey-template-table .survey-template-option{justify-content:center;gap:4px}
.survey-template .survey-template-table .survey-template-option>input{flex:0 0 16px}
.survey-template[data-template="patient-specific-functional-scale"] .survey-template-dynamic-table td:first-child{width:60%}.survey-template .survey-template-dynamic-table td:last-child{width:40px}.survey-template .survey-template-dynamic-table button.survey-template-action{min-height:22px;padding:0 5px;margin:0;color:#ef4444;border-radius:4px;font-size:16px}.survey-template .survey-template-dynamic-table output{display:inline-block;min-width:40px;font-weight:600}
.survey-template .survey-template-row-actions{display:flex;gap:8px;flex-wrap:wrap}
.survey-template button.survey-template-action{display:inline-flex;width:auto;min-height:30px;align-items:center;justify-content:center;margin:8px 0;padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#4b5563;font:500 12px/1.5 Poppins,poppins,sans-serif;text-align:center;cursor:pointer}
.survey-template button.survey-template-action:disabled{cursor:default;opacity:.5}
.survey-template .survey-template-pain-options{display:flex;flex-flow:row wrap;gap:6px;margin-bottom:8px}
.survey-template .survey-template-pain-option{display:flex;position:relative;justify-content:center;align-items:center;flex:0 0 40px;width:40px;height:40px;margin:0;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#111827;font:600 14px/1 Poppins,poppins,sans-serif;cursor:pointer}
.survey-template .survey-template-pain-option>input{position:absolute;inset:0;width:40px;height:40px;margin:0;opacity:0;cursor:pointer}
.survey-template .survey-template-pain-option:focus-within{outline:2px solid #2459a6;outline-offset:2px}
.survey-template .survey-template-pain-option.is-selected{background:var(--survey-pain-color);border-color:var(--survey-pain-color);color:#fff}
.survey-template .survey-template-pain-endpoints{display:flex;justify-content:space-between;gap:8px;margin-bottom:12px;color:#4b5563;font-size:12px}
.survey-template[data-template="numeric-pain-rating-scale"] .survey-template-results{width:fit-content;border:1px solid #e5e7eb;border-radius:999px;font-size:12px;padding:4px 12px;font-weight:600}
.survey-template .survey-template-pills{flex-direction:row;flex-wrap:wrap;gap:8px}
.survey-template .survey-template-pills .survey-template-option{align-items:center;border:1px solid #e5e7eb;border-radius:999px;padding:4px 12px;font-size:12px}
.survey-template .survey-template-pills .is-selected{background:#dcfce7;border-color:#86efac;color:#166534}
.survey-template .survey-template-entry{min-width:0;border:1px solid #e5e7eb;border-radius:6px;padding:12px;margin:0 0 12px}
.survey-template .survey-template-entry>legend{padding:0 4px;font-size:13px;font-weight:600}
.survey-template .survey-template-entry>label{display:block;margin-bottom:8px;font-size:13px}
.survey-template .survey-template-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.survey-template .survey-template-columns>.survey-template-question{margin:0}.survey-template .survey-template-full-row{grid-column:1/-1}.survey-template-part.survey-template-part{box-sizing:border-box;min-width:0;margin:0 8px;padding:0 16px;color:#000;font:14px/1.625 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;overflow-wrap:anywhere}
.survey-template-part.survey-template-part[data-template-role="title"]{margin-top:16px;padding:8px 12px;font-family:Poppins,poppins,sans-serif;font-size:16px;font-weight:500;line-height:1.25}
.survey-template-part[data-template-role="title"] p,.survey-template-part[data-template-role="title"] strong{margin:0;font:inherit}
.survey-template-part[data-template-role="title"]+.survey-template-part{padding-top:20px}
.survey-template-part.survey-template-part .survey-preview-label{font:inherit}
.survey-template-part.survey-template-part p{margin:0 0 8px;white-space:pre-wrap}
.survey-template-part[data-template-role="field"]{padding-top:8px;padding-bottom:8px}
.survey-template-part>fieldset{min-width:0;border:0;padding:0;margin:0}
.survey-template-part label,.survey-template-part legend{font-size:14px;line-height:1.5}
.survey-template-part[data-template="advance-beneficiary-notice-abn"],.survey-template-part[data-template="advance-beneficiary-notice-abn"] label,.survey-template-part[data-template="advance-beneficiary-notice-abn"] legend{font-size:13px}
.survey-template-part[data-template="advance-beneficiary-notice-abn"][data-template-role="title"]{font-size:16px}
.survey-template-part.survey-template-part .survey-template{margin:0;width:100%;font:inherit}
.survey-template-part .survey-template-body{padding:0}
.survey-template-part .survey-template-title{font:600 14px/1.5 Poppins,poppins,sans-serif;padding:0 0 8px}
.survey-template-part .survey-preview-field>.survey-preview-choice{align-items:flex-start}
.survey-template-part .survey-preview-choice input,.survey-template-part input[type="radio"],.survey-template-part input[type="checkbox"]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin-top:3px;accent-color:#000}
.survey-template-part[data-template="medical-history"] .survey-options{clear:both;width:100%}
.survey-template-part[data-template="medical-history"] .survey-options,fieldset.survey-template-part[data-template="medical-history"],.survey-template-part[data-template="medical-history"]>fieldset.survey-preview-field{display:flex;flex-wrap:wrap;gap:8px}
fieldset.survey-template-part[data-template="medical-history"]>legend,.survey-template-part[data-template="medical-history"]>fieldset.survey-preview-field>legend,.survey-template-part[data-template="medical-history"][data-survey-has~="child-options"]>label{float:left;flex-basis:100%;width:100%;font-size:18px;font-weight:600;margin-bottom:12px}
.survey-template-part[data-template="medical-history"]>label.survey-option,.survey-template-part[data-template="medical-history"] .survey-options>label,.survey-template-part[data-template="medical-history"] .survey-preview-choice{display:inline-flex;align-items:flex-start;box-sizing:border-box;width:calc(50% - 4px);gap:8px;margin:0;border:0;border-radius:0;padding:0;font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
.survey-template-part[data-template="medical-history"] label:has(input:checked){background:transparent;color:#000}
.survey-template-part[data-gjs-type]{padding-left:39px!important;padding-right:39px!important;margin-left:0!important;margin-right:0!important}
.survey-template-part[data-gjs-type][data-template-role="title"]{padding-left:35px!important;padding-right:35px!important}
[data-survey-root]>.survey-template-part{margin-left:23px;margin-right:23px}
.survey-template-part button:where(:not([class*="mantine-"])){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-height:30px;padding:4px 10px;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#374151;text-align:center;font:12px/1.5 Poppins,poppins,sans-serif}
.survey-template-part [role="toolbar"] button,.survey-template [role="toolbar"] button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:26px;font:12px/1.5 Poppins,poppins,sans-serif;text-align:center}
.survey-template-part .survey-input,.survey-template-part .survey-preview-input{box-sizing:border-box;width:100%;min-height:36px;padding:4px 12px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-part textarea.survey-input,.survey-template-part textarea.survey-preview-input{min-height:72px}
.survey-template-part input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),.survey-template-part select{box-sizing:border-box;width:100%;height:36px;min-height:36px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-part .survey-template-rows .survey-template-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.survey-template-part .survey-template-rows .survey-template-entry>.survey-template-question{margin:0}.survey-template-part .survey-template-rows .survey-template-entry>.survey-template-question:where([data-survey-has~="textarea"]):not(template){grid-column:1/-1}
.survey-template-part .survey-template-rows .survey-template-title{font-size:18px;font-weight:600}.survey-template-part .survey-template-rows .survey-template-entry>legend{font-size:13px;font-weight:600}
.survey-template-part button[data-dates-input],.survey-template button[data-dates-input]{display:block;width:100%;min-height:30px;height:30px;padding:4px 10px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;text-align:left;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-part[data-template="medical-history"] .survey-template-entry>.survey-template-question>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.survey-template-half-row{display:flex;align-items:flex-start;width:100%}/* Doubled class so the row inset beats the generic half-width rule below, which has equal specificity and would otherwise win on order and pull the left column 15px left of legacy. The second column already escapes it through its sibling combinator. */.survey-template-half-row.survey-template-half-row>.survey-template-part[data-template-width="half"]{padding-left:39px!important}.survey-template-half-row>.survey-template-part[data-template-width="half"]+.survey-template-part[data-template-width="half"]{padding-left:8px!important;padding-right:39px!important}
.survey-template-half-row>[hidden]{display:none!important}
.survey-template-layout.survey-template-layout>.survey-template-half-row>.survey-template-part[data-template-width="half"],.survey-template-layout.survey-template-layout>.survey-template-part[data-template-width="half"][data-template-role]{padding-left:16px!important;padding-right:8px!important}
.survey-template-layout.survey-template-layout>.survey-template-half-row>.survey-template-part[data-template-width="half"]+.survey-template-part[data-template-width="half"],.survey-template-layout.survey-template-layout>.survey-template-part[data-template-width="half"][data-template-half-position="second"]{padding-left:8px!important;padding-right:16px!important}
.survey-template-part.survey-template-part[data-template-width="half"]{display:inline-block;vertical-align:top;box-sizing:border-box;width:50%;margin-left:0!important;margin-right:0!important;padding:8px 8px 8px 24px!important}.survey-template-part[data-template-width="half"]+.survey-template-part[data-template-width="half"]{padding-left:8px!important;padding-right:24px!important}.survey-template-part[data-gjs-type][data-template-width="half"]{padding-left:39px!important}.survey-template-part[data-gjs-type][data-template-width="half"]+.survey-template-part[data-template-width="half"]{padding-left:8px!important;padding-right:39px!important}
[data-survey-root]>.survey-template-part[data-template-width="half"]{padding-left:39px!important}[data-survey-root]>.survey-template-part[data-template-width="half"]+.survey-template-part[data-template-width="half"]{padding-left:8px!important;padding-right:39px!important}
.survey-template .survey-template-patient-heading{margin:0 0 12px;font-size:16px;font-weight:600;line-height:1.5;white-space:normal}
.survey-template[data-template="oswestry-disability-index"] .survey-template-description,.survey-template[data-template="neck-disability-index"] .survey-template-description{margin-bottom:16px;color:#000}
.survey-template[data-template="quickdash"] .survey-template-results,.survey-template[data-template="dash"] .survey-template-results{display:flex;flex-direction:column;align-items:flex-start;margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent;font-weight:600;text-align:left}
.survey-template[data-template="dash"] .survey-template-results{align-items:center;text-align:center}
.survey-template[data-template="dash"] .survey-template-question[data-survey-has~="template-options"]{margin-bottom:20px}
.survey-template[data-template="dash"] .survey-template-question[data-survey-has~="template-options"]>label{font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template[data-template="dash"] .survey-template-options{padding-left:4px}
.survey-template[data-template="quickdash"] .survey-template-results:empty,.survey-template[data-template="dash"] .survey-template-results:empty{display:none}
.survey-template[data-template="shoulder-pain"] .survey-template-question:where([data-survey-has~="child-select"]):not(template){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px;margin-bottom:12px}
.survey-template[data-template="shoulder-pain"] .survey-template-question:where([data-survey-has~="child-select"]):not(template)>label{margin:0;font-weight:500}

/* Actual old/new screenshot review: system body text and Poppins headings. */
.survey-template.survey-template,.survey-template-part.survey-template-part{letter-spacing:.15px}
.survey-template .survey-template-question>label{font-weight:400;margin-bottom:3px;color:#212529}
.survey-template .survey-template-question[data-survey-has~="child-template-options"]>label,.survey-template .survey-template-question[data-survey-has~="toolbar"]>label{font-family:Poppins,poppins,sans-serif;font-weight:600;color:#000}
.survey-template .survey-template-patient-heading,.survey-template .survey-template-section-heading{font-family:Poppins,poppins,sans-serif;font-weight:600}
.survey-template .survey-template-section-heading{margin:0 0 8px;font-size:16px;line-height:24px}
.survey-template .survey-template-secondary-title{margin:0 0 16px;text-align:center;font-size:16px;font-weight:600;line-height:24px}
.survey-template .survey-template-instruction-heading{margin:12px 0 8px;font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template .survey-template-option>input{appearance:none;flex-basis:20px;width:20px;height:20px;border:1px solid #000;border-radius:50%;background:#fff;opacity:1;margin-top:0}
.survey-template .survey-template-option>input:checked{background:radial-gradient(circle,#000 0 4px,#fff 5px)}
.survey-template .survey-template-option>input[type="checkbox"]{border-radius:4px;border-color:#ced4da}
.survey-template .survey-template-option>input[type="checkbox"]:checked{background:#000;box-shadow:inset 0 0 0 4px #fff}
.survey-template .survey-template-option>input:focus-visible{outline:2px solid #2459a6;outline-offset:2px}
.survey-template .survey-template-table .survey-template-option>input{flex-basis:20px}
.survey-template .survey-template-options{gap:8px}.survey-template .survey-template-option{line-height:20px;gap:12px}
.survey-template [data-field="comments"]>label{font:600 16px/24px Poppins,poppins,sans-serif;margin-bottom:8px}
.survey-template [data-field="comments"]>textarea{min-height:80px}
.survey-template .survey-preview-help:empty,.survey-template .survey-preview-error:empty,.survey-template-part .survey-preview-help:empty,.survey-template-part .survey-preview-error:empty,.survey-template-part .survey-error:empty{display:none}
.survey-template-part>fieldset.survey-preview-field{border:0;padding:0;margin:0;min-width:0}
.survey-template-part[data-template-role="field"]{margin-bottom:8px}
.survey-template-part [role="toolbar"],.survey-template [role="toolbar"]{flex-wrap:nowrap!important;gap:2px!important}
.survey-template-part [role="toolbar"] button,.survey-template [role="toolbar"] button{font-size:0!important;width:28px;min-width:28px;height:28px;border:0!important;padding:0!important;background:transparent!important}
.survey-template-part [role="toolbar"] button svg,.survey-template [role="toolbar"] button svg{width:16px;height:16px;color:#4b5563;stroke-width:1.75}
.survey-template[data-template="emergency-contact-information"] .survey-input,.survey-template[data-template="emergency-contact-information"] .survey-preview-input,.survey-template[data-template="accident-information"] .survey-input,.survey-template[data-template="accident-information"] .survey-preview-input{height:36px;font-size:14px}
.survey-template[data-template="emergency-contact-information"] textarea.survey-input,.survey-template[data-template="emergency-contact-information"] textarea.survey-preview-input{height:56px;min-height:56px}
.survey-template .survey-template-compound-heading{grid-column:1/-1;margin:8px 0 -8px;font-size:14px;font-weight:600;line-height:20px}
.survey-template[data-template="emergency-contact-information"] .survey-template-columns,.survey-template[data-template="accident-information"] .survey-template-columns{column-gap:16px;row-gap:12px}
.survey-template-part[data-template="medical-history"] .survey-template-entry{border-radius:2px}
.survey-template-part[data-template="medical-history"] .survey-template-entry>legend{float:left;width:100%;font-size:14px;font-weight:400;padding:0;margin-bottom:0}
.survey-template-part[data-template="medical-history"] .survey-template-entry .survey-input,.survey-template-part[data-template="medical-history"] .survey-template-entry .survey-preview-input{height:36px;font-size:14px}
.survey-template-part[data-template="medical-history"] textarea{height:56px!important;min-height:56px!important;resize:none}
.survey-template-part[data-template="medical-history"][data-template-role="field"]>.survey-template-empty-paragraph{display:none}
.survey-template-part[data-template="medical-history"] button.survey-template-action{font:400 16px/24px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:6px 16px;height:40px;min-height:40px;color:#000}
.survey-template-part[data-template="medical-history"] button.survey-template-action::before{content:'＋';font-size:20px;margin-right:8px}
.survey-template-part[data-template="medical-history"] .survey-template-entry{position:relative}
.survey-template-part[data-template="medical-history"] button.survey-template-row-remove{position:absolute;top:10px;right:10px;display:inline-flex;width:20px;height:20px;min-height:20px;margin:0;padding:2px;border:0;background:transparent;color:#dc4b35}
.survey-template-part[data-template="medical-history"] button.survey-template-row-remove::before{content:none}
.survey-template-part[data-template="medical-history"] button.survey-template-row-remove svg{width:16px;height:16px}
.survey-template-part[data-template="medical-history"] .survey-template-description{color:#4b5563}
/* MedicalHistory.tsx: text-lg headings, gap-3 checkbox rows and block Mantine inputs. */
.survey-template-part.survey-template-part[data-template="medical-history"][data-template-role="title"]{padding-top:0;padding-bottom:0}
.survey-template-part[data-template="medical-history"][data-template-role="title"]+.survey-template-part{padding-top:16px}
.survey-template-part[data-template="medical-history"][data-survey-has~="child-options"]{padding-bottom:4px;margin-bottom:0}
.survey-template-part[data-template="medical-history"] .survey-template-rows>button.survey-template-action{margin:4px 0 0}
.survey-template-part[data-template="medical-history"][data-survey-has~="child-options"]>label,.survey-template-part[data-template="medical-history"] .survey-template-rows>.survey-template-title{font:600 18px/28px "Noto Sans",sans-serif;margin:0 0 12px;padding:0}
.survey-template-part[data-template="medical-history"] .survey-options{gap:12px}
.survey-template-part[data-template="medical-history"] .survey-options>label{width:calc(50% - 6px);min-height:20px!important;line-height:20px;margin:0!important}
.survey-template-part[data-template="medical-history"]:is(:where([data-survey-has~="child-textarea"]):not(template),[data-survey-has~="child-dictation"])>label{font-weight:500;line-height:20px;margin-bottom:8px}
.survey-template-part[data-template="medical-history"] textarea{display:block;height:56.4px!important;min-height:56.4px!important;padding:5.5px 12px;font-size:14px;line-height:21.7px}
.survey-template-part[data-template="medical-history"] .survey-template-rows>p:not(.survey-error){font:400 14px/20px "Noto Sans",sans-serif;color:#4b5563;margin:0 0 12px}
.survey-template-part[data-template="medical-history"] .survey-template-entry>legend{font:500 14px/20px "Noto Sans",sans-serif}
.survey-template-part[data-template="medical-history"] .survey-template-entry input{display:block;line-height:34px}
/* Respondent Medical History parity with legacy (measured on the production packet at 899px). Legacy runs a 422px band from x 239.5, two 205px checkbox columns with a 12px gap, Noto Sans 600 18/28 section legends flush against the first row, 5.5px textareas, and a 24px Mantine "Add" button with a 12px plus icon. Scoped to [data-survey-root] so the authoring preview keeps its own layout, and specific enough to beat the page-module textarea rule. */
[data-survey-root] .survey-template-part[data-template="medical-history"]:not([data-template-role="title"]){padding-left:39px!important;padding-right:39px!important}
[data-survey-root] fieldset.survey-template-part[data-template="medical-history"]{gap:12px!important;padding-bottom:0!important;margin-bottom:4px!important}
[data-survey-root] fieldset.survey-template-part[data-template="medical-history"]>label.survey-option{width:calc(50% - 6px)!important;line-height:20px!important;min-height:20px!important}
[data-survey-root] fieldset.survey-template-part[data-template="medical-history"]>legend{font:600 18px/28px "Noto Sans",sans-serif!important;margin:0!important}
[data-survey-root] .survey-template-part[data-template="medical-history"]:where([data-survey-has~="child-textarea"]):not(template),[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-has~="child-dictation"],[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-has~="child-template-rows"]{margin-bottom:8px!important}
[data-survey-root] .survey-template-part[data-template="medical-history"] textarea.survey-input{padding:5.5px 12px!important}
[data-survey-root] .survey-template-part[data-template="medical-history"] .survey-template-entry{border-radius:4px}
[data-survey-root] .survey-template-part[data-template="medical-history"] .survey-template-entry>legend{font:500 14px/20px "Noto Sans",sans-serif!important}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-template-role="title"]+.survey-template-part{padding-top:10.5px!important}
[data-survey-root] .survey-template-part[data-template="medical-history"] button.survey-template-action{display:inline-flex;align-items:center;font:400 16px/24.8px "Noto Sans",sans-serif!important;height:24px!important;min-height:24px!important;padding:0 22px 0 14.67px!important;border:1px solid #d1d5db!important;border-radius:6px!important;background:#fff!important;color:#000!important;box-shadow:0 1px 2px rgba(0,0,0,.05)}
[data-survey-root] .survey-template-part[data-template="medical-history"] button.survey-template-action::before{content:''!important;display:inline-block;width:12px;height:12px;margin-right:10px;font-size:0;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%234B5563%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 5l0 14%27/%3E%3Cpath d=%27M5 12l14 0%27/%3E%3C/svg%3E") center/contain no-repeat}
@media (min-width:1024px){[data-survey-root] .survey-template-part[data-template="medical-history"] button.survey-template-action{height:32px!important;min-height:32px!important;font-size:14px!important}}
@media (min-width:1280px){[data-survey-root] .survey-template-part[data-template="medical-history"] button.survey-template-action{height:40px!important;min-height:40px!important;font-size:15.5px!important}[data-survey-root] .survey-template-part[data-template="medical-history"] button.survey-template-action::before{width:20px;height:20px}}
.survey-template-part[data-template="medical-history"] button[data-dates-input]{height:36px;min-height:36px;padding:5.5px 34px 5.5px 12px;line-height:21.7px}
.survey-template-part[data-template="medical-history"]>fieldset:not(.survey-template-rows)>legend,.survey-template-part[data-template="medical-history"]>div>fieldset.survey-field>legend{font-weight:500;line-height:20.3px;color:#212529;padding:0;margin-bottom:4px}
.survey-template-part[data-template="medical-history"] [contenteditable]{min-height:188px!important;font-size:16px;line-height:24px}
.survey-template-part[data-template="medical-history"]>fieldset:not(.survey-template-rows)>div,.survey-template-part[data-template="medical-history"]>div>fieldset.survey-field>div{clear:both}
.survey-template-part[data-template="medical-history"][data-survey-has~="child-fieldset"]:not(template){padding-bottom:12px}
.survey-template-part[data-template="medical-history"] input[type="checkbox"]{appearance:none;flex-basis:20px;width:20px;height:20px;border:1px solid #ced4da;border-radius:4px;background:#fff;margin:0}
.survey-template-part[data-template="medical-history"] input[type="checkbox"]:checked{background:#000;box-shadow:inset 0 0 0 4px #fff}
.survey-template-part[data-template="medical-history"] .survey-preview-choice,.survey-template-part[data-template="medical-history"] .survey-options>label,.survey-template-part[data-template="medical-history"]>label.survey-option{gap:12px;min-height:24px}

.survey-template[data-template="personal-injury-symptoms"] .survey-template-question{margin:0 0 24px}.survey-template[data-template="personal-injury-symptoms"] .survey-template-question:last-of-type{margin-bottom:0}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-question>label{font:600 16px/24px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;margin:0 0 8px}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-option{position:relative;display:inline-flex;align-items:center;gap:0;white-space:nowrap;padding:6px 12px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#4b5563;font:500 12px/16px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-option>input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-option:has(input:focus-visible){outline:2px solid #2459a6;outline-offset:2px}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-option.is-selected{background:#dbeafe;border-color:#60a5fa;color:#1e40af;box-shadow:0 1px 2px 0 rgb(0 0 0 / .05)}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-symptom-group{display:flex;align-items:center;gap:4px;flex-shrink:0;max-width:100%;border:1px solid #e5e7eb;border-radius:999px;padding:4px;background:#fff;box-shadow:0 1px 2px 0 rgb(0 0 0 / .05)}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-symptom-group>.survey-template-option{padding:4px 12px;border:0;box-shadow:none}.survey-template[data-template="personal-injury-symptoms"] .survey-template-symptom-group>.survey-template-side-option{padding:4px 8px;color:#6b7280}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-symptom-group>.survey-template-side-option.is-selected{color:#1e40af}.survey-template[data-template="personal-injury-symptoms"] .survey-template-side-option:has(input:disabled){color:#d1d5db;cursor:not-allowed}.survey-template[data-template="personal-injury-symptoms"] .survey-template-side-option>input:disabled{cursor:not-allowed}
.survey-template[data-template="personal-injury-symptoms"] .survey-template-symptom-divider{width:1px;height:16px;background:#d1d5db;margin:0 4px;flex-shrink:0}

.survey-template .survey-template-header{margin-bottom:16px}
.survey-template[data-template="ten-meter-walk-test"] .survey-template-header{grid-template-columns:repeat(3,minmax(0,1fr))}
.survey-template .survey-template-thank-you{text-align:center;font-weight:600;margin:16px 0 8px}
.survey-template .survey-template-guide{display:block;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:12px;margin-bottom:16px;font-size:13px}
.survey-template .survey-template-guide-ticks{display:flex;justify-content:space-between;margin:12px 0 4px}
.survey-template .survey-template-guide .survey-template-pain-endpoints{font-size:12px;color:#4b5563;margin:0}.survey-template .survey-template-guide .survey-template-pain-endpoints>span{max-width:48%}.survey-template .survey-template-guide .survey-template-pain-endpoints>span:last-child{text-align:right}
.survey-template .survey-template-cutoffs{font-size:12px;line-height:20px;font-style:italic;color:#6b7280;margin:12px 0 16px}
.survey-template .survey-template-instruction-text{margin:0}
.survey-template .survey-template-description ul{list-style:disc;margin:8px 0;padding-left:20px}.survey-template .survey-template-description li{margin-bottom:4px}
.survey-template .survey-template-inline-rating{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.survey-template .survey-template-inline-rating>label{font:500 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;margin:0!important}
.survey-template .survey-template-inline-rating>.survey-template-options{flex-direction:row;gap:12px;flex-shrink:0}
.survey-template .survey-template-inline-rating .survey-template-option{align-items:center;gap:8px}
.survey-template .survey-template-rating-heading{font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-description,.survey-template[data-template="rivermead-post-concussion-symptoms-questionnaire"] .survey-template-description{font-size:13px;line-height:20px}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-description{margin-bottom:12px}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-rating-scale{font-size:13px;line-height:20px;white-space:pre-wrap;margin:0 0 16px}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-secondary-title{font:600 16px/24px Poppins,poppins,sans-serif;margin-bottom:12px}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-rating-heading{margin-bottom:8px}
.survey-template[data-template="epworth-sleepiness-scale"] .survey-template-inline-rating>.survey-template-options{gap:16px}
.survey-template[data-template="headache-disability"] .survey-template-description{font-size:13px;line-height:20px;margin-bottom:12px}
.survey-template[data-template="headache-disability"] .survey-template-instruction-heading{font:600 13px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin-bottom:4px}
.survey-template[data-template="berg-balance-scale"] .survey-template-table{font-family:Poppins,poppins,sans-serif}
.survey-template[data-template="berg-balance-scale"] .survey-template-table th{font-size:14px}
.survey-template[data-template="berg-balance-scale"] .survey-template-table td:not(:first-child){width:11%}




.survey-template .survey-template-table tfoot td{font-weight:600}.survey-template .survey-template-table tfoot td:first-child{background:#f3f4f6}
.survey-template[data-template="neck-disability-index"] .survey-template-results,.survey-template[data-template="patient-specific-functional-scale"] .survey-template-results,.survey-template[data-template="timed-up-and-go"] .survey-template-results,.survey-template[data-template="ten-meter-walk-test"] .survey-template-results{background:transparent;border:0;padding:0}
.survey-template[data-template="oswestry-disability-index"] .survey-template-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.survey-template .survey-template-score-heading{grid-column:1/-1;font:600 16px/24px Poppins,poppins,sans-serif}
.survey-template .survey-template-score-equation{grid-column:1/-1;font-size:12px;color:#6b7280}
.survey-template .survey-template-risk-option{display:flex;align-items:center;gap:12px;margin:8px 0}
.survey-template .survey-template-risk-indicator{display:inline-block;width:20px;height:20px;flex-shrink:0;border:1px solid #000;border-radius:50%;background:#fff}.survey-template .survey-template-risk-indicator.is-selected{background:radial-gradient(circle,#000 0 4px,#fff 5px)}
.survey-template .survey-template-determined-risk{font-weight:600;margin-top:12px}
.survey-template .survey-template-dynamic-table button.survey-template-action{border:0;background:transparent;padding:0;min-width:20px}
.survey-template .survey-template-question>button.survey-template-action::before{content:'＋';font-size:18px;margin-right:8px}
.survey-template[data-template="symptom-review-scoring"] .survey-template-results{position:sticky;top:0;z-index:1;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:4px 12px;padding:12px 16px;font-size:12px}
.survey-template[data-template="symptom-review-scoring"] .survey-template-results:empty{display:none}
.survey-template.survey-template[data-template="symptom-review-scoring"]{overflow:visible}
.survey-template[data-template="symptom-review-scoring"] .survey-template-score-heading{width:100%;font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template .survey-template-symptom-card{margin:0 0 12px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.survey-template .survey-template-symptom-card summary{padding:12px 16px;font:600 14px/20px Poppins,poppins,sans-serif;cursor:pointer;background:#fff;list-style:none;position:relative}
.survey-template .survey-template-symptom-card summary::after{content:"⌄";position:absolute;right:16px}.survey-template .survey-template-symptom-card details[open]>summary::after{content:"⌃"}
.survey-template .survey-template-section-score{margin:0;padding:12px 16px;border-top:1px solid #e5e7eb;font-size:12px}
.survey-template .survey-template-symptom-table{width:100%;border-collapse:collapse;table-layout:auto}
.survey-template .survey-template-symptom-table td,.survey-template .survey-template-symptom-table th{border:0;border-top:1px solid #e5e7eb;padding:8px 6px;text-align:center}
.survey-template .survey-template-symptom-table th{font-size:12px;background:#f9fafb}.survey-template .survey-template-symptom-table td:first-child{font-size:12px;color:#6b7280}.survey-template .survey-template-symptom-table td:nth-child(2){text-align:left;font-size:14px;font-weight:600}.survey-template .survey-template-symptom-table th:nth-child(2){text-align:left}
.survey-template .survey-template-symptom-score{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border:1px solid #d1d5db;border-radius:999px;gap:0;font-size:14px;font-weight:600;cursor:pointer}
.survey-template .survey-template-symptom-score>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0}
.survey-template .survey-template-symptom-score.is-selected{background:#e0e7ff;color:#3730a3;border-color:#818cf8}
.survey-template .survey-template-pain-option>input{width:40px;height:40px;opacity:0;margin:0}



.survey-template-part[data-template-role="section"]{font-weight:700;font-size:16px;line-height:24px;color:#111827;padding-top:16px;padding-bottom:8px}
.survey-template-part[data-template-role="subheading"]{font-weight:700;font-size:14px;line-height:20px;color:#1f2937;padding-top:8px;padding-bottom:4px}
.survey-template-part[data-template-role="caption"]{font-size:12px;line-height:16px;color:#9ca3af;margin-top:-4px;margin-bottom:8px}
.survey-template-part[data-template="medical-history"][data-template-role="caption"]{font-size:14px;line-height:20px;font-weight:600;color:#1f2937;margin-top:0;margin-bottom:4px;padding-top:0;padding-bottom:0}
.survey-template-part[data-template="medical-history"][data-template-role="caption"] p{font:inherit;color:inherit;margin:0}
.survey-template-part[data-template="patient-consent"][data-template-role="body"]{font-size:12px;line-height:16px;color:#6b7280}
/* Auto Injury uses the production section rhythm and Mantine small radio dimensions. */
.survey-template-part.survey-template-part[data-template="auto-injury-patient-form"][data-template-role="field"]{padding-top:8px;padding-bottom:0}
.survey-template-part.survey-template-part[data-template="auto-injury-patient-form"][data-template-role="section"]{padding-top:16px;padding-bottom:0;font:700 16px/24px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-part[data-template="auto-injury-patient-form"][data-template-role="section"] :is(p,strong){margin:0;font:inherit;color:inherit}
.survey-template-part[data-template="auto-injury-patient-form"] input[type="radio"]{width:20px;height:20px;flex-basis:20px;margin-top:0;border-color:#000;accent-color:#000}
.survey-template-part[data-template="auto-injury-patient-form"] :is(.survey-options>label,.survey-preview-choice,label.survey-option){align-items:center;margin-bottom:0}
.survey-template-part[data-template="auto-injury-patient-form"] .survey-options{margin-top:8px}
.survey-template-part[data-template="auto-injury-patient-form"][data-template-role="body"]{font-size:14px;line-height:20px;color:#4b5563}
.survey-template-part[data-template="release-of-information-consent"][data-template-role="body"]{font-size:14px;line-height:22.75px;color:#1f2937}
.survey-template-part[data-template="patient-health-information-consent"] p,.survey-template-part[data-template="assignment-of-benefits"] p{margin:0;line-height:22.75px}
.survey-template-part[data-template="notice-of-privacy-practices"] p,.survey-template-part[data-template="payment-agreement"] p,.survey-template-part[data-template="appointment-cancellation-policy"] p,.survey-template-part[data-template="consent-to-physical-medicine"] p{margin:0 0 4px;line-height:22.75px}
.survey-template-part .survey-template-empty-paragraph{height:12px;min-height:12px!important;margin:0!important}
.survey-template-part[data-template="patient-health-information-consent"] .survey-template-empty-paragraph,.survey-template-part[data-template="assignment-of-benefits"] .survey-template-empty-paragraph{height:22.75px;min-height:22.75px!important}
.survey-template-part[data-template-role="body"][data-survey-has~="child-preview-label"]{min-height:0!important}
.survey-template-part[data-template="auto-injury-patient-form"] .survey-options[data-survey-has~="radio"]:not(template),.survey-template-part[data-template="release-of-information-consent"] .survey-options[data-survey-has~="radio"]:not(template),.survey-template-part[data-template="auto-injury-patient-form"]>fieldset[data-survey-has~="radio"]:not(template),.survey-template-part[data-template="release-of-information-consent"]>fieldset[data-survey-has~="radio"]:not(template),fieldset.survey-template-part[data-template="release-of-information-consent"][data-survey-has~="radio"]:not(template),fieldset.survey-template-part[data-template="auto-injury-patient-form"][data-survey-has~="radio"]:not(template){display:flex;flex-wrap:wrap;gap:8px 12px}
.survey-template-part legend,.survey-template-part>fieldset>p{width:100%;float:left}
.survey-template-part .survey-options>label,.survey-template-part .survey-preview-choice,fieldset.survey-template-part>label.survey-option{display:flex;align-items:flex-start;gap:12px;margin:0 0 8px;font-weight:400}
.survey-template-part[data-template="release-of-information-consent"] .survey-options[data-survey-has~="checkbox"]:not(template){display:flex;flex-direction:column}
.survey-template-part[data-template="release-of-information-consent"] .survey-options[data-survey-has~="checkbox"]:not(template)>label{width:100%}
.survey-template-part .survey-choice-control .survey-choice-entry{min-height:36px;padding:3px 8px}
.survey-template-part .survey-choice-control input{width:80px;min-width:80px;flex:1;min-height:28px;height:28px;padding:0;border:0;font-size:14px}
.survey-template-part .survey-choice-control button{min-height:0;height:auto;font-size:14px}
.survey-template-part select[multiple]:not([hidden]){height:auto;min-height:80px}
.survey-template select:not(:disabled),select.survey-input:not(:disabled){cursor:pointer}
.survey-required{color:#fa5252;margin-left:4px}
[data-survey-root]>.survey-contact-information-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 39px 12px}[data-survey-root]>.survey-contact-information-row>.survey-field{min-width:0;margin:0!important;padding:0!important}@media (max-width:640px){[data-survey-root]>.survey-contact-information-row{grid-template-columns:1fr;margin-left:15px;margin-right:15px;gap:0}}
.survey-insurance-information-group{min-width:0;padding:0;border:0;background:#fff}.survey-insurance-information-group>div{min-width:0;margin:0!important;padding:0!important}[data-survey-root]>.survey-insurance-information-group,.survey-slide-content>.survey-insurance-information-group{margin:0 15px 16px}
.survey-insurance.survey-insurance.survey-insurance-bordered{border:1px solid #d1d5db;border-radius:6px}
.survey-insurance.survey-insurance{overflow:visible;margin-bottom:0}
.survey-insurance.survey-insurance>.survey-template-body{padding-bottom:0}
.survey-insurance .survey-insurance-section{font:600 14px/20px "Noto Sans",sans-serif;margin:8px 0 0}
.survey-insurance-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px;margin-top:4px;align-items:start}
.survey-insurance-row>div{min-width:0}
.survey-insurance [data-insurance-kind="text"],.survey-insurance [data-insurance-kind="postalcode"]{padding-bottom:5px}
.survey-insurance [data-insurance-kind="select"],.survey-insurance [data-insurance-kind="payer"]{padding-bottom:4px}
.survey-insurance.survey-insurance label{display:block;color:#212529;font-size:14px;font-weight:400;line-height:21px;margin:0 0 3px}
.survey-insurance [data-insurance-kind="select"]>label,.survey-insurance [data-insurance-kind="payer"]>label{margin:0 0 3px}
.survey-insurance [data-insurance-field="insuredState"]>label{margin-top:0}
.survey-insurance [data-insurance-kind="date"]>label{margin-top:0}
.survey-insurance .survey-date-input>input{padding-right:34px!important}
.survey-insurance .survey-date-input>button{right:0!important;width:34px!important;color:#adb5bd!important}
.survey-editor-subjective .survey-date-input>input{padding-left:34px!important;line-height:34px!important}
.survey-insurance.survey-insurance input:not([type="radio"]),.survey-insurance.survey-insurance textarea{font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";letter-spacing:normal}
.survey-insurance.survey-insurance textarea{display:block;height:57px;min-height:57px;padding:5.5px 12px;line-height:21.7px;resize:none}
.survey-insurance.survey-insurance [data-insurance-field="hasInsurance"]{display:flex;flex-wrap:wrap;gap:0 12px;border:0;margin:0;padding:0;min-width:0}
.survey-insurance [data-insurance-field="hasInsurance"]>legend{float:left;width:100%;padding:0;margin:0 0 8px;font-size:14px;line-height:21.5px}
.survey-insurance.survey-insurance [data-insurance-field="hasInsurance"]>label{display:flex;align-items:center;gap:12px;width:auto;margin:0;color:#000;line-height:20px}
.survey-insurance.survey-insurance input[type="radio"]{appearance:none;flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0;border:1px solid #000;border-radius:50%;background:#fff;accent-color:#000}
.survey-insurance.survey-insurance input[type="radio"]:checked{background:radial-gradient(circle,#000 0 4px,#fff 4px)}
.survey-insurance [data-insurance-field="hasInsurance"] .survey-required{color:red}
.survey-insurance .survey-choice-control .survey-choice-entry{height:36px;min-height:36px;padding:0 8px 0 12px}
.survey-insurance .survey-choice-control input{min-height:0!important;height:34px!important;line-height:34px!important;padding:0!important;border:0!important}
.survey-insurance .survey-choice-control button[aria-label="Show options"]{font-size:0;flex:0 0 20px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239ca3af%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;border:0;padding:0}
.survey-insurance-information-group .survey-template-file{padding:4px 24px 12px;letter-spacing:.15px}
.survey-insurance-information-group .survey-template-file>label:first-child{font-size:14px;line-height:20.3px;font-weight:400;margin:0 0 5px;display:block}
.survey-insurance-information-group .survey-template-file-drop-zone{display:grid;grid-template-columns:minmax(0,max-content);justify-content:center;align-content:center;text-align:start;gap:0;margin:0}
.survey-insurance-information-group .survey-template-file-drop-zone::before{justify-self:center;width:52px;height:52px;margin-bottom:32px;background:#9e9e9e}
.survey-insurance-information-group .survey-template-file-drop-zone>span{font:400 20px/33px "Noto Sans",sans-serif}
.survey-insurance-information-group .survey-template-file-drop-zone>p{font:400 14px/20.3px "Noto Sans",sans-serif;color:#000;margin-top:5px}
.survey-template-part[data-template="advance-beneficiary-notice-abn"] [data-column-id="estimatedCost"]{grid-column:1/-1}
.survey-template-part[data-template="advance-beneficiary-notice-abn"] .survey-template-entry label{font-weight:400}
.survey-template-part[data-template="advance-beneficiary-notice-abn"] .survey-template-question>button.survey-template-action::before{content:'＋';margin-right:8px}
.survey-signature-presentation{position:relative;display:grid;grid-template-columns:1fr;gap:4px;margin-top:4px}
.survey-template-part[data-survey-has~="signature"]>label,.survey-template-part[data-survey-has~="signature"]>.survey-preview-field>label{display:flex;align-items:center;text-transform:uppercase;font-weight:600;font-size:14px;line-height:20px;letter-spacing:.025em;color:#1f2937;padding-right:52px}
.survey-template-part[data-survey-has~="signature"]>label::before,.survey-template-part[data-survey-has~="signature"]>.survey-preview-field>label::before{content:'';display:inline-block;flex:none;width:18px;height:18px;margin-right:8px;vertical-align:middle;background:#6b7280;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2017c3.333%20-3.333%205%20-6%205%20-8c0%20-3%20-1%20-3%20-2%20-3s-2.032%201.085%20-2%203c.034%202.048%201.658%204.877%202.5%206c1.5%202%202.5%202.5%203.5%201l2%20-3c.333%202.667%201.333%204%203%204c.53%200%202.639%20-2%203%20-2c.517%200%201.517%20.667%203%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2017c3.333%20-3.333%205%20-6%205%20-8c0%20-3%20-1%20-3%20-2%20-3s-2.032%201.085%20-2%203c.034%202.048%201.658%204.877%202.5%206c1.5%202%202.5%202.5%203.5%201l2%20-3c.333%202.667%201.333%204%203%204c.53%200%202.639%20-2%203%20-2c.517%200%201.517%20.667%203%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.survey-signature-pad{display:block;order:2;width:100%;height:150px!important;min-height:150px;background:#fafafa!important;border:2px solid #e5e7eb!important;border-radius:8px!important}
.survey-signature-modes{order:1;display:flex;gap:4px;font-size:12px;line-height:24px;color:#6b7280;margin-right:48px}
.survey-signature-modes button{width:auto;font:inherit;border:0;padding:0 6px;min-height:24px;background:transparent;color:#6b7280}
.survey-signature-modes button[aria-pressed="true"]{color:#111827;font-weight:600}
/* Doubled class: template parts style every button as a bordered box (.survey-template-part button); Clear stays a plain text action. */
.survey-signature-clear.survey-signature-clear{width:auto;position:absolute;top:0;right:0;padding:0;border:0;min-height:24px;background:transparent;color:#9ca3af;font-size:12px;line-height:24px}
.survey-signature-clear::before{content:'';display:inline-block;width:14px;height:14px;margin-right:4px;vertical-align:middle;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207l16%200M10%2011l0%206M14%2011l0%206M5%207l1%2012a2%202%200%200%200%202%202h8a2%202%200%200%200%202%20-2l1%20-12M9%207v-3a1%201%200%200%201%201%20-1h4a1%201%200%200%201%201%201v3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207l16%200M10%2011l0%206M14%2011l0%206M5%207l1%2012a2%202%200%200%200%202%202h8a2%202%200%200%200%202%20-2l1%20-12M9%207v-3a1%201%200%200%201%201%20-1h4a1%201%200%200%201%201%201v3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.survey-signature-hint{order:3;text-align:center;color:#9ca3af;font-size:12px;line-height:16px;margin:0!important}
.survey-signature-presentation>input,.survey-signature-presentation>select{order:1}
.survey-signature-presentation>img,.survey-signature-presentation>[role="status"]{order:3}
.survey-template-part[data-template="release-of-information-consent"][data-survey-has~="signature"]>label,.survey-template-part[data-template="release-of-information-consent"][data-survey-has~="signature"]>.survey-preview-field>label{text-transform:none;letter-spacing:normal;font-weight:400}
.survey-template-part[data-template="release-of-information-consent"][data-survey-has~="signature"]>label::before,.survey-template-part[data-template="release-of-information-consent"][data-survey-has~="signature"]>.survey-preview-field>label::before{content:none}
.survey-template-part[data-template="release-of-information-consent"] .survey-signature-pad{height:160px!important;min-height:160px;background:#fff!important;border:1px solid #d1d5db!important;border-radius:4px!important}
.survey-template-part[data-template="release-of-information-consent"] .survey-signature-clear{top:auto;bottom:4px;right:8px}
.survey-template-part[data-template="release-of-information-consent"] .survey-signature-hint{display:none}

[data-survey-root]>.survey-template{margin-left:23px;margin-right:23px;width:calc(100% - 46px)}
.survey-template .survey-help:empty,.survey-template-part .survey-help:empty{display:none}
.survey-template-part.survey-template-part[data-template-width="inline"]{display:inline-block;vertical-align:middle;width:auto!important;margin:4px 0!important;padding:0 4px!important;min-height:0!important}
.survey-template-inline-row{display:flex;align-items:center;flex-wrap:wrap;margin:0 39px;gap:0}.survey-template-inline-row>.survey-template-part[data-template-width="inline"]{flex:0 0 auto}.survey-template-inline-row label{white-space:nowrap}
.survey-template .survey-template-range-heading{grid-column:1/-1;margin:0 0 -12px;font:400 14px/21px system-ui,sans-serif}.survey-template .survey-template-range-start>label,.survey-template .survey-template-range-end>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.survey-template .survey-template-columns>.survey-template-range-start{margin-right:-8px}.survey-template .survey-template-columns>.survey-template-range-end{margin-left:-8px}.survey-template .survey-template-range-start input{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.survey-template .survey-template-range-end input{border-top-left-radius:0;border-bottom-left-radius:0}
.survey-template-part[data-template-width="inline"] .survey-options>label,.survey-template-part[data-template-width="inline"] .survey-preview-choice,.survey-template-part[data-template-width="inline"] p{margin:0}
.survey-template-part[data-template-width="inline"] input:not([type="checkbox"]):not([type="radio"]){width:100px!important}
.survey-template-part[data-template="duties-performed-under-duress"][data-template-role="field"]{padding-top:0;padding-bottom:0;margin-bottom:0}
.survey-template-part[data-template="duties-performed-under-duress"] .survey-options{margin-top:0}
.survey-template-part[data-template="duties-performed-under-duress"]>p:empty{display:none}
.survey-template-part[data-template="duties-performed-under-duress"]:is([data-template-role="body"],[data-template-role="section"]) :is(p,strong){font:inherit;margin:0}
.survey-template-part[data-template="duties-performed-under-duress"][data-template-role="title"]+.survey-template-part[data-template-role="field"]{padding-top:12px}
.survey-template-part[data-template="duties-performed-under-duress"] input[type="checkbox"]{appearance:none;border:1px solid #ced4da;border-radius:4px;background:transparent;opacity:1}
.survey-template-part[data-template="duties-performed-under-duress"] input[type="checkbox"]:checked{position:relative;border-color:#000;background:transparent;box-shadow:none}
.survey-template-part[data-template="duties-performed-under-duress"] input[type="checkbox"]:checked::after{content:'';position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}
.survey-template-part[data-template="duties-performed-under-duress"] .survey-options>label,.survey-template-part[data-template="duties-performed-under-duress"] .survey-preview-choice{margin-bottom:8px;line-height:21px}
.survey-template-part[data-template="duties-performed-under-duress"] label[data-survey-has~="checkbox"]:not(template){padding:0;line-height:21px;min-height:20px;margin-bottom:8px}.survey-template-part[data-template="duties-performed-under-duress"] input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px;margin:0}
.survey-template-part[data-template="duties-performed-under-duress"]:is([data-template-role="body"],[data-template-role="section"]){padding-top:16px;padding-bottom:8px;font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template-part.survey-template-part[data-template="duties-performed-under-duress"][data-template-width="inline"]{font:400 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-inline-row[data-survey-has~="child-duties-body"][data-survey-has~="child-duties-body"]>[data-template-role="field"]:nth-child(2) input{width:70px!important}
.survey-template-inline-row[data-survey-has~="child-duties-body"][data-survey-has~="child-duties-body"]>[data-template-role="field"]:nth-child(4) input{width:160px!important}
.survey-template-part[data-template="duties-performed-under-duress"][data-survey-has~="signature"]{padding-top:16px}
.survey-template-part[data-template="duties-performed-under-duress"] .survey-signature-pad{height:120px!important;min-height:120px;box-sizing:border-box}
.survey-template-part[data-template="duties-performed-under-duress"][data-survey-has~="signature"]+.survey-template-part[data-template="duties-performed-under-duress"]{padding-top:12px;padding-bottom:36px}
.survey-template[data-template="loss-of-enjoyment"] [data-field="initial-update"]>.survey-template-options{flex-direction:row;gap:16px}
.survey-template[data-template="loss-of-enjoyment"] .survey-template-question>label{margin-bottom:8px}
.survey-template[data-template="loss-of-enjoyment"] .survey-template-question{margin-bottom:8px}
.survey-template[data-template="loss-of-enjoyment"] .survey-template-question[data-survey-has~="child-template-options"]>label{font-size:14px;line-height:20px}
.survey-template .survey-template-hobby-note{font-weight:600;font-size:13px;margin:0 0 4px}
.survey-template-part .survey-preview-choice,.survey-template-part .survey-options,.survey-template-part>label.survey-option{clear:both}
.survey-template .survey-template-entry>legend{grid-column:1/-1;width:100%}
.survey-template-part[data-template="advance-beneficiary-notice-abn"]>.survey-preview-field>label,.survey-template-part[data-template="advance-beneficiary-notice-abn"]>label:not(.survey-option){font-size:14px;line-height:21px}
.survey-template-part[data-template="advance-beneficiary-notice-abn"] legend{font-weight:700}
.survey-template-part[data-template="advance-beneficiary-notice-abn"] .survey-help,.survey-template-part[data-template="advance-beneficiary-notice-abn"] .survey-preview-help{font-size:13px;line-height:20px;color:#000}
.survey-signature-clear.survey-signature-clear{top:-24px}
.survey-template-part .survey-signature-clear.survey-signature-clear{top:-30px}
.survey-template-part[data-template="release-of-information-consent"] .survey-signature-clear{top:auto}
.survey-template-part[data-template="new-patient-packet-auto-injury"][data-template-role="title"]{margin:0 0 12px;padding:0;text-align:center;font:600 22px/1.2 Poppins,poppins,sans-serif}
.survey-template-part[data-template="new-patient-packet-auto-injury"][data-template-role="body"]{margin:0 0 12px;padding:0;text-align:left;font:600 16px/1.5 Poppins,poppins,sans-serif}
.survey-clinical .survey-clinical-column>label{display:block;margin:0 0 4px;font-size:14px;font-weight:400}
.survey-clinical .survey-clinical-lookup{position:relative;min-width:0}
.survey-clinical .survey-clinical-lookup>.survey-input{padding-right:30px}
.survey-clinical .survey-clinical-lookup>.survey-clinical-clear{position:absolute;right:4px;top:4px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#868e96;font:18px/1 sans-serif;text-align:center}
.survey-clinical .survey-clinical-lookup>ul{position:absolute;top:36px;left:0;right:0;z-index:10;max-height:220px;overflow:auto;margin:0;padding:4px;list-style:none;border:1px solid #ced4da;border-radius:4px;background:#fff}
.survey-clinical .survey-clinical-lookup>ul>li{padding:8px 12px;cursor:pointer}
.survey-clinical .survey-clinical-lookup>ul>li[aria-selected="true"]{background:#f1f3f5}
.survey-clinical [role="status"]:empty{display:none}
.survey-clinical [hidden]{display:none!important}
.survey-editor-clinical.survey-clinical{padding:0 39px;margin:16px 0 32px}
.survey-preview-clinical.survey-template.survey-template{width:calc(100% - 48px);margin:24px 24px 32px}
:is(.survey-editor-clinical,.survey-preview-clinical .survey-clinical)>legend{font:500 16px/1.25 Poppins,sans-serif;margin:0 0 28px;padding:0}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-entry>legend{display:block;margin:0 0 8px;padding:0;font:600 16px/24px Poppins,poppins,sans-serif}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-entry{gap:14px 16px}
:is(.survey-editor-clinical.survey-clinical-allergiesBasic,.survey-preview-clinical .survey-clinical-allergiesBasic) .survey-clinical-column:is([data-survey-field-key="allergy_code"],[data-survey-field-key="reaction_code"]){width:calc(50% - 8px)!important}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-column>label{margin-bottom:3px;font:400 14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
.survey-clinical-medicationsBasic .survey-clinical-column:first-of-type>label{line-height:23px}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-input{display:block;font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.survey-clinical-allergiesBasic .survey-clinical-entry>legend{margin-bottom:10px}
.survey-editor-clinical{letter-spacing:.15px}
.survey-editor-clinical>legend{margin-left:-4px}
.survey-editor-clinical.survey-clinical{margin-bottom:12px}
.survey-editor-clinical.survey-clinical-medicationsBasic{margin-bottom:28px}
.survey-editor-clinical+.survey-editor-clinical{margin-top:32px}
.survey-clinical-entry[data-survey-has~="child-row-clear"]{position:relative}
.survey-clinical-entry>.survey-clinical-row-clear{position:absolute;top:0;right:0;width:auto;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#FF0000;font:400 14px/21px Poppins,sans-serif;cursor:pointer}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-cash-entry{position:relative}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-cash-entry>.survey-clinical-row-clear{position:absolute;top:0;right:0;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#dc4b35;font-size:13px;font-weight:500}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-voice-field{position:relative}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-voice-field>textarea{padding-right:40px}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-voice-button{position:absolute;right:6px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-top:-14px;padding:0;border:0;border-radius:4px;background:transparent;color:#4b5563;cursor:pointer}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-voice-button[aria-pressed="true"]{color:#dc4b35;background:#fef2f2}
/* Subjective field microphones match the respondent placement (see [data-survey-root] .survey-dictation-*). */
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-dictation-field{position:relative;display:block}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-dictation-field>:is(textarea,input){padding-right:34px!important}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-dictation-actions{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-dictation-button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:4px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#4b5563;cursor:pointer}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-dictation-button[aria-pressed="true"]{background:#fef2f2}
:is(.survey-editor-clinical,.survey-preview-clinical) textarea.survey-input{min-height:57px;height:57px;resize:none;line-height:21.7px;padding:5.5px 34px 5.5px 12px}
:is(.survey-editor-clinical,.survey-preview-clinical) .survey-clinical-allergiesBasic textarea.survey-input,.survey-editor-clinical.survey-clinical-allergiesBasic textarea.survey-input{min-height:36px;height:36px}
:is(.survey-editor-clinical,.survey-preview-clinical .survey-clinical)>button{font-size:16px;font-weight:400;min-height:40px;margin:8px 0;padding:6px 14px;box-shadow:0 1px 2px #0000001a}
:is(.survey-editor-clinical,.survey-preview-clinical .survey-clinical)>button::before{content:'＋';margin-right:8px;font-size:20px;line-height:20px}
.survey-editor-subjective.survey-field{padding:0 39px}
.survey-preview-subjective.survey-template.survey-template{width:calc(100% - 50px);margin:8px 25px}
.survey-editor-subjective>button,.survey-preview-subjective>.survey-field>button{display:flex;margin:0 0 14px auto;font-size:12px;min-height:28px;padding:3px 8px}
.survey-editor-subjective>.survey-sections-bottom-add,.survey-preview-subjective>.survey-field>.survey-sections-bottom-add{display:flex;margin:0 0 14px auto;font-size:12px;min-height:28px;padding:3px 8px}
.survey-editor-subjective>button::before,.survey-preview-subjective>.survey-field>button::before{content:'＋';margin-right:4px}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="tabpanel"]{position:relative;display:block}
.survey-subjective-chief-group{position:relative;grid-column:1/-1}
.survey-subjective-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.survey-subjective-checkboxes>label{display:flex;align-items:flex-start;gap:8px;font:400 14px/20px "Noto Sans",sans-serif;color:#000}
.survey-subjective-checkboxes input{appearance:auto;width:16px;height:16px;margin:2px 0 0;accent-color:#000;flex-shrink:0}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-field]{margin:0 0 14px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-field]>label{display:block;margin:0 0 6px;color:#000;font:400 14px/20.3px "Noto Sans",sans-serif}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-helper{margin:0 0 12px;color:#4b5563;font:400 14px/20.3px "Noto Sans",sans-serif}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-heading{margin:20px 0 8px;color:#000;font:600 18px/28px "Noto Sans",sans-serif}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"]>.survey-field{border:0;padding:0;margin:0;min-width:0}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"]>.survey-field>legend{display:block;margin:0 0 16px;padding:0;font-size:18px;font-weight:600}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"] [contenteditable]{min-height:220px!important}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="onsetDate"]{position:absolute;top:0;left:155px;width:150px;margin:0}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="onsetDate"]>label{display:none}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="tablist"]{margin:8px 0 16px}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="tablist"] [aria-selected="true"]{border-radius:16px;background:#212529;color:#fff}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="group"]{gap:4px}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="group"] button{height:27px;min-height:0;margin:0;padding:3px 8px;font-size:12px;line-height:19px}
@media(max-width:360px){:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="onsetDate"]{position:static;width:100%;margin-bottom:12px}}
/* Subjective.tsx uses the same heading and chip primitives throughout the complaint. */
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-field]>label{margin-bottom:2px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key]:is([data-survey-section-source-key="symptomLocation"],[data-survey-section-source-key="symptomCharacteristics"],[data-survey-section-source-key="mechanismOfInjury"])>label{font:600 18px/28px "Noto Sans",sans-serif;margin-bottom:4px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="symptomCharacteristics"]>label{margin-bottom:0}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-helper{margin:0;color:#000}
:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-heading{margin:16px 0 4px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key]:is([data-survey-section-source-key="makesBetter"],[data-survey-section-source-key="makesWorse"],[data-survey-section-source-key="treatmentsTried"])>label{font-weight:700;margin-bottom:6px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"]>.survey-field>legend{font:600 18px/28.8px "Noto Sans",sans-serif;color:#212529;margin-bottom:12px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"] [contenteditable]{min-height:188px!important;font-size:16px;line-height:24px}
:is(.survey-editor-subjective,.survey-preview-subjective) [role="group"] button{height:26px;padding:4px 10px;font:500 12px/16px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;border-radius:6px;color:#6b7280;transition:color .15s,background-color .15s,border-color .15s}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-field]{margin-bottom:12px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"]{margin-bottom:8px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="symptomCharacteristics"]>label{margin-bottom:0!important}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="painLevel"]>.survey-subjective-heading{margin-top:24px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="makesBetter"]>.survey-subjective-heading{margin-top:28px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="mechanismOfInjury"]{margin-top:16px}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="frequencyPercentage"]>.survey-subjective-heading{margin-top:20px}
.survey-editor-subjective.survey-field{padding-top:8px}
.survey-editor-subjective>button:not(.survey-sections-bottom-add){height:28px;min-height:28px;align-items:center;padding:0 8px;font:500 12px/16px "Noto Sans",sans-serif}
.survey-editor-subjective [role="tablist"] button{height:26px;min-height:26px;padding:4px 12px;line-height:16px;letter-spacing:.00938rem}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-field]>label,:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-heading,:is(.survey-editor-subjective,.survey-preview-subjective) .survey-subjective-helper{letter-spacing:.00938rem}
:is(.survey-editor-subjective,.survey-preview-subjective) [data-survey-section-source-key="chiefComplaint"]>.survey-field>legend{display:flex;align-items:center;height:36px;letter-spacing:.00938rem;margin-bottom:8px}
.survey-editor-subjective>.survey-sections-bottom-add{margin:36px 0 12px;height:34px;min-height:34px;align-items:center;font:400 14px/20px "Noto Sans",sans-serif;padding:6px 12px}
.survey-template-part.survey-template-part[data-template="social-history"]{position:relative;margin-top:0;margin-bottom:0}
.survey-template-part[data-template="social-history"] .survey-choice-entry input{height:28px!important;min-height:0!important;padding:0!important;border:0!important;box-shadow:none;background:transparent}
.survey-template-part[data-template="social-history"]>.survey-preview-field{margin:0}
.survey-template-part.survey-template-part[data-template="social-history"][data-template-role="title"]{margin-top:16px;margin-bottom:8px}
.survey-template-part[data-template="social-history"]:is([data-template-role="field"],[data-template-role="section"]){padding-top:8px;padding-bottom:0}
.survey-preview-social-row>.survey-template-part[data-template-role="section"]:only-child::before{right:auto;width:calc(200% - 48px)}
.survey-template-layout>.survey-preview-social-row>.survey-template-part[data-template-width="half"]{padding-left:16px!important;padding-right:8px!important}
.survey-template-layout>.survey-preview-social-row>.survey-template-part[data-template-width="half"]+.survey-template-part[data-template-width="half"]{padding-left:8px!important;padding-right:16px!important}
.survey-template-part[data-template="social-history"]>label,.survey-template-part[data-template="social-history"]>legend{display:block;margin-bottom:4px;font-weight:400}
.survey-template-part[data-template="social-history"] .survey-option,.survey-template-part[data-template="social-history"] .survey-preview-choice{display:inline-flex;align-items:center;margin:0 20px 0 0;gap:8px}
.survey-template-part[data-template="social-history"]>label{color:#212529}
.survey-template-part[data-template="social-history"][data-survey-has~="child-choice"]>label{line-height:20px;color:#1f2937}
.survey-template-part[data-template="social-history"][data-survey-has~="child-choice"]{padding-bottom:4px!important}
.survey-template-part[data-template="social-history"] .survey-options{margin-top:0}
.survey-template-part[data-template="social-history"] .survey-options>label{min-height:20px}
.survey-template-part[data-template="social-history"]:not([data-survey-has~="child-choice"])>label{margin-top:0}
/* Legacy gives the full-width Social History rows (the standalone Comments) no extra top inset; the shared 8px pushes every later section down. */
[data-survey-root] .survey-template-part[data-template="social-history"][data-template-role="field"]:not([data-template-width="half"]){padding-top:0!important}
/* Surgical History rows share the 39px edge of the other Medical History fields. */
[data-survey-root] .survey-template-part[data-template="medical-history"] fieldset.survey-template-rows{margin-left:0!important;margin-right:0!important}
.survey-template-part[data-template="social-history"][data-gjs-type="emerge-survey-language"]>label{margin-top:-4px;margin-bottom:8px;line-height:21px;color:#000}
.survey-template-part[data-template="social-history"][data-gjs-type="emerge-survey-language"]{padding-bottom:1px!important}
.survey-template-part[data-template="social-history"]>input{display:block}
.survey-template-part[data-template="social-history"]:where([data-survey-has~="child-input"]):not(template)>label{margin-bottom:3px}
.survey-template-part[data-template="social-history"][data-gjs-type="emerge-survey-text"]:not([data-template-width="half"]){padding-bottom:1px}
.survey-template-part[data-template="social-history"][data-gjs-type="emerge-survey-single-choice"][data-template-width="half"][data-survey-has~="child-choice"]{padding-bottom:5px!important}
.survey-slide-content>.survey-template-part[data-template="social-history"]:last-child{padding-bottom:16px}
.survey-template-part[data-template="social-history"][data-survey-has~="child-options"]{padding-bottom:0;margin-bottom:12px}
.survey-template-part[data-template="social-history"][data-survey-has~="child-options"]>label{color:#000;margin-bottom:8px}
.survey-template-part[data-template="social-history"] .survey-options>label{line-height:20px;gap:12px;margin-bottom:0}
/* Social History rows share the other templates' spacing (Emergency Contact): no section dividers, 9px between rows, 3px under each label. The repeated class outranks the legacy per-row spacing rules above and in the respondent block; only vertical spacing changes, so the 39px inset stays. */
html body .survey-template-part.survey-template-part.survey-template-part.survey-template-part.survey-template-part[data-template="social-history"]:not([data-template-role="title"]){padding-top:0!important;padding-bottom:9px!important;margin-top:0!important;margin-bottom:0!important}
html body .survey-template-part.survey-template-part.survey-template-part.survey-template-part.survey-template-part[data-template="social-history"]>label{margin-top:0!important;margin-bottom:3px!important}
/* The last Social History row keeps its 16px before the slide footer; half-width rows are not direct children, so they keep 9px. */
html body :is(.survey-slide-content,[data-survey-root],.survey-preview-fields)>.survey-template-part.survey-template-part.survey-template-part.survey-template-part.survey-template-part[data-template="social-history"]:last-child{padding-bottom:16px!important}
/* Cash output uses compact respondent controls, not the generic artifact defaults. */
[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] :is(input.survey-input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([data-survey-date-input]),select.survey-input){height:36px;min-height:36px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] textarea.survey-input{height:57px;min-height:36px;padding:5.5px 12px;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] [data-survey-section-field] .survey-date-input>.survey-input{height:36px!important;min-height:36px!important;padding:0 12px 0 34px!important;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-survey-root] .survey-clinical-lookup{position:relative}
[data-survey-root] .survey-clinical-lookup>.survey-input{padding:0 34px 0 12px;font-size:12px}
[data-survey-root] .survey-clinical-voice-field{position:relative}
[data-survey-root] .survey-clinical-voice-field>textarea.survey-input{padding:5.5px 34px 5.5px 12px}
/* Respondent Medications/Allergies parity (slide 5), measured against the legacy packet at 899px. The editor and preview rules above encode legacy's spacing but only match .survey-editor-clinical/.survey-preview-clinical, so the public page rendered browser defaults: a bordered fieldset, single-column fields, 14px title, Arial button. Legacy: Poppins 500 16/20 title with 28px below, Poppins 600 16/24 entry legend, 422px band from x 239.5, two 205px columns for Dosage/Frequency and Allergy Name/Reaction with a 14px/12px gap, 57px Reason and 36px Description textareas, 12px medication lookup with a 20px chevron, and the 24px Mantine "Add" button. The entry legend carries a negative margin so the flex row gap does not double the 8px/10px it should sit above the first column. */
[data-survey-root] [data-survey-element-kind="clinicalRows"]{margin:0 15px 36px!important;padding:0!important}
[data-survey-root] fieldset.survey-clinical{margin:0 24px!important;padding:0!important;border:0!important;min-width:0}
[data-survey-root] fieldset.survey-clinical>legend{font:500 16px/20px Poppins,poppins,sans-serif;margin:0 0 28px -4px;padding:0;color:#000}
[data-survey-root] fieldset.survey-clinical>p:not(.survey-error){margin:0}
[data-survey-root] fieldset.survey-clinical>p:not(.survey-error):empty{display:none}
[data-survey-root] .survey-clinical-entry{display:flex;flex-wrap:wrap;gap:14px 12px;margin:0!important;padding:0!important;border:0!important;min-width:0}
[data-survey-root] .survey-clinical-entry>legend{display:block;float:left;width:100%;margin:0 0 -6px;padding:0;font:600 16px/24px Poppins,poppins,sans-serif;color:#000}
[data-survey-root] .survey-clinical-allergiesBasic .survey-clinical-entry>legend{margin-bottom:-4px}
[data-survey-root] .survey-clinical-column{width:100%;min-width:0;margin:0}
/* Medication and Allergies keep the builder's two-column layout on the live page; one column on a phone. */
[data-survey-root] .survey-clinical-medicationsAdvanced .survey-clinical-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
[data-survey-root] .survey-allergy-section .survey-clinical-column{width:calc(50% - 6px)}
[data-survey-root] .survey-allergy-section .survey-clinical-column[data-survey-field-key="description"]{width:100%}
[data-survey-root] .survey-allergy-section .survey-clinical-column:is([data-survey-field-key="season_id"],[data-survey-field-key="worst_time_id"],[data-survey-field-key="reaction_reported_by_id"]){width:calc((100% - 24px)/3)}
@media(max-width:480px){[data-survey-root] .survey-clinical-medicationsAdvanced .survey-clinical-entry{grid-template-columns:minmax(0,1fr)}[data-survey-root] .survey-allergy-section .survey-clinical-column.survey-clinical-column{width:100%}}
[data-survey-root] .survey-clinical-medicationsBasic .survey-clinical-column:nth-of-type(2),[data-survey-root] .survey-clinical-medicationsBasic .survey-clinical-column:nth-of-type(3),[data-survey-root] .survey-clinical-allergiesBasic .survey-clinical-column:nth-of-type(1),[data-survey-root] .survey-clinical-allergiesBasic .survey-clinical-column:nth-of-type(2){width:calc(50% - 6px)}
[data-survey-root] .survey-clinical-column>label{display:block;margin:0 0 3px;font:400 14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,sans-serif;color:#000}
[data-survey-root] .survey-clinical-medicationsBasic .survey-clinical-column:first-of-type>label{line-height:23px}
[data-survey-root] .survey-clinical .survey-input{display:block;width:100%;height:36px;min-height:36px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#000;background:#fff}
[data-survey-root] .survey-clinical .survey-clinical-lookup>.survey-input,[data-survey-root] .survey-clinical select.survey-input{padding-right:34px;appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23adb5bd%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E") right 9px center/16px no-repeat}
[data-survey-root] .survey-clinical-medicationsBasic .survey-clinical-lookup>.survey-input{font-size:12px;background-size:20px 20px;background-position:right 8px center}
.survey-clinical-medicationsBasic .survey-clinical-lookup>.survey-input::placeholder{font-size:14px}
[data-survey-root] .survey-clinical .survey-clinical-lookup:has(>.survey-clinical-clear:not([hidden]))>.survey-input{background-image:none}
[data-survey-root] .survey-clinical textarea.survey-input{height:57px!important;min-height:57px!important;padding:5.5px 12px;line-height:21.7px;resize:none}
[data-survey-root] .survey-clinical-allergiesBasic textarea.survey-input{height:36px!important;min-height:36px!important}
[data-survey-root] fieldset.survey-clinical>button{display:inline-flex;align-items:center;margin:8px 0 0;font:400 16px/24.8px "Noto Sans",sans-serif;height:36px;min-height:36px;padding:0 22px 0 14.67px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#000;box-shadow:0 1px 2px rgba(0,0,0,.05);cursor:pointer}
[data-survey-root] fieldset.survey-clinical>button::before{content:'';display:inline-block;width:12px;height:12px;margin-right:10px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%234B5563%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 5l0 14%27/%3E%3Cpath d=%27M5 12l14 0%27/%3E%3C/svg%3E") center/contain no-repeat}
/* Respondent Subjective parity (slide 6), measured against the legacy packet at 899px. The editor/preview subjective rules above only match .survey-editor-subjective/.survey-preview-subjective, so the public page rendered the complaint with browser defaults. Legacy: a 28px "Add Complaint" outline button right-aligned 8px under the card top, a 26px pill tab row 14px below it, a 470px block with 8/12px padding, the "Chief Complaint" heading (Noto 600 18/28.8) on a 36px row with the 150px onset date 155px to its right, a 231px rich-text box (41px toolbar of 27px icon buttons + 188px editor), 12px between sections, 26px chips with a 4px gap, and a 34px bottom "Add Complaint" button 36px under the last chip row with 24px to the nav. Headings that legacy separates by more than 12px carry the extra as padding-top on the section so sibling margins do not collapse. */
[data-survey-root] [data-survey-element-kind="repeatableSections"]{margin:0 15px!important;padding:0!important}
[data-survey-root] [data-survey-element-kind="repeatableSections"]>fieldset.survey-field{border:0;padding:0;margin:0;min-width:0}
[data-survey-root] [data-survey-element-kind="repeatableSections"]>fieldset>p:empty,[data-survey-root] [data-survey-element-kind="repeatableSections"] p.survey-error:empty,[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"]>.survey-field>p:empty{display:none}
[data-survey-root] [data-survey-element-kind="repeatableSections"]>fieldset>button:not(.survey-sections-bottom-add){display:flex;align-items:center;margin:8px 12px 0 auto;height:28px;min-height:28px;padding:0 8px;font:500 12px/16px "Noto Sans",sans-serif;color:#5e5e5e;border:1px solid #d1d5db;border-radius:6px;background:#fff;box-shadow:none;cursor:pointer}
[data-survey-root] [data-survey-element-kind="repeatableSections"]>fieldset>button:not(.survey-sections-bottom-add)::before{content:'';width:16px;height:16px;margin-right:4px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%235e5e5e%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 5l0 14%27/%3E%3Cpath d=%27M5 12l14 0%27/%3E%3C/svg%3E") center/contain no-repeat}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="tablist"]{display:flex;flex-wrap:wrap;gap:6px;margin:14px 12px 8px;padding:0}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="tablist"]>[role="tab"]{height:26px;min-height:26px;margin:0;padding:4px 12px;font:500 12px/16px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;border-radius:9999px;border:1px solid #d1d5db;background:#fff;color:#374151;box-shadow:none;cursor:pointer}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="tablist"]>[aria-selected="true"]{background:#1f2937;border-color:#1f2937;color:#fff}
[data-survey-root] [data-survey-element-kind="repeatableSections"]>fieldset>div:not([role]){padding:8px 12px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="tabpanel"]{position:relative;display:block}
[data-survey-root] [data-survey-element-kind="repeatableSections"] .survey-subjective-chief-group{position:relative;margin:0 0 8px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"]{margin:0!important}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"]>.survey-field{border:0;padding:0;margin:0;min-width:0}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"]>.survey-field>legend{display:flex;align-items:center;height:36px;margin:0 0 8px;padding:0;font:600 18px/28.8px "Noto Sans",sans-serif;color:#212529;letter-spacing:.00938rem}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"] [role="toolbar"]{box-sizing:border-box;height:41px;min-height:0;padding:6px 12px!important;gap:2px!important;align-items:center}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"] [role="toolbar"]>button{width:27px!important;min-width:0!important;height:27px!important;padding:5px!important;border-radius:4px!important;color:#4b5563!important}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"] [role="toolbar"]>button[title="Link"]{margin-left:7px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"] [role="toolbar"] svg{width:17px;height:17px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="chiefComplaint"] [contenteditable]{min-height:172px!important;padding:8px 12px!important;font:400 16px/24px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="onsetDate"]{position:absolute;top:0;left:155px;width:150px;margin:0}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="onsetDate"]>label{display:none!important}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="onsetDate"] .survey-input{padding-left:34px!important;height:36px;font-size:14px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="onsetDate"] .survey-date-input>button{left:0!important;width:36px!important;color:#000!important}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="onsetDate"] .survey-date-input>button svg{width:14px;height:14px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-field]{margin:0 0 12px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-field]>label{display:block;margin:0 0 2px;color:#000;font:400 14px/20.3px "Noto Sans",sans-serif;letter-spacing:.00938rem}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="symptomLocation"]>label,[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="symptomCharacteristics"]>label,[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="mechanismOfInjury"]>label{font:600 18px/28px "Noto Sans",sans-serif;margin-bottom:4px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="symptomCharacteristics"]>label{margin-bottom:0}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="symptomCharacteristics"] [role="group"]{margin-top:8px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] .survey-subjective-helper{margin:0;color:#000;font:400 14px/20.3px "Noto Sans",sans-serif;letter-spacing:.00938rem}
[data-survey-root] [data-survey-element-kind="repeatableSections"] .survey-subjective-heading{margin:0 0 4px;color:#000;font:600 18px/28px "Noto Sans",sans-serif;letter-spacing:.00938rem}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="painLevel"]{padding-top:12px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="makesBetter"]{padding-top:16px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="mechanismOfInjury"]{padding-top:4px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="makesBetter"]>label,[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="makesWorse"]>label,[data-survey-root] [data-survey-element-kind="repeatableSections"] [data-survey-section-source-key="treatmentsTried"]>label{font-weight:700;margin-bottom:6px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="group"]{display:flex;flex-wrap:wrap;gap:4px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="group"]>button{height:26px;min-height:0;margin:0;padding:4px 10px;font:500 12px/16px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#6b7280;box-shadow:none;cursor:pointer;transition:color .15s,background-color .15s,border-color .15s}
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="group"]>button[aria-pressed="true"]{background:#dbeafe;border-color:#60a5fa;color:#1e40af}
[data-survey-root] [data-survey-element-kind="repeatableSections"] select.survey-input{display:block;width:100%;height:36px;padding:0 34px 0 12px;font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#000;border:1px solid #ced4da;border-radius:4px;appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23adb5bd%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") right 9px center/18px 18px no-repeat}
[data-survey-root] [data-survey-element-kind="repeatableSections"] select.survey-input:has(option[value=""]:checked){color:#adb5bd}
[data-survey-root] [data-survey-element-kind="repeatableSections"] input.survey-input{border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000}
[data-survey-root] [data-survey-element-kind="repeatableSections"] input.survey-input:focus{border-color:#dc4b35;outline:none;box-shadow:none}
[data-survey-root] [data-survey-element-kind="repeatableSections"] input.survey-input:not([data-survey-date-input]){height:36px;padding:0 34px 0 12px;font-size:14px}
[data-survey-root] [data-survey-element-kind="repeatableSections"] .survey-sections-bottom-add{display:flex;align-items:center;margin:16px 12px 20px;height:34px;min-height:34px;padding:6px 12px;font:400 14px/20px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#374151;border:1px solid #d1d5db;border-radius:6px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);cursor:pointer}
[data-survey-root] [data-survey-element-kind="repeatableSections"] .survey-sections-bottom-add::before{content:'';width:16px;height:16px;margin-right:4px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23374151%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 5l0 14%27/%3E%3Cpath d=%27M5 12l14 0%27/%3E%3C/svg%3E") center/contain no-repeat}
/* Respondent consent signature parity (slides 7-9, 11), measured against the legacy packet at 899px. Legacy renders the signature inside the 454px consent card with 16px side padding: a "SIGNATURE *" row (Noto 600 14/20, .025em, #1f2937, #ef4444 asterisk inline after the text, 18px icon 8px before it) with the 12px system-font "Clear" vertically centred on that row, the 422x144 pad 8px below it, the centred 12/16 hint 4px under the pad, then 12px card padding and 28px to the nav. The label wraps within the width left beside Clear (hence the 48px right padding), so a long label such as the HIPAA acknowledgment takes two lines exactly where legacy breaks. The public page used the generic field margin (15px) so the block was 16px too wide, the Draw/Type/Upload mode row sat between the label and the pad (pad 28px low), the asterisk was a separate flex item, and the empty status paragraph added a 12px line under the hint. Clear anchors to the label's vertical centre and the Draw/Type/Upload row sits inside the top-right corner of the pad, where it cannot collide with a two-line label; the fixed tops are the fallback for browsers without anchor positioning. */
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"]{position:relative;margin:0 23px 28px!important;padding:12px 16px 8px!important}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"]>label{position:relative;display:block;margin:0;padding:0 48px 0 26px;color:#1f2937;font:600 14px/20px "Noto Sans",sans-serif;letter-spacing:.025em;text-transform:uppercase;anchor-name:--survey-signature-label}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"]>label::before{position:absolute;left:0;top:1px;margin:0}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"]>label>.survey-required{color:#ef4444;margin-left:4px}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-presentation{position:static;margin-top:8px}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-modes{position:absolute;top:44px;right:20px;margin:0;height:20px;font:400 12px/20px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-modes button{min-height:20px;line-height:20px;font:inherit}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-modes button[aria-pressed="true"]{font-weight:600}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-clear{top:12px;right:16px;min-height:20px;font:400 12px/20px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-pad{anchor-name:--survey-signature-pad}
@supports (anchor-name:--a){[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-clear{position-anchor:--survey-signature-label;top:anchor(center);transform:translateY(-50%)}[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-modes{position-anchor:--survey-signature-pad;top:calc(anchor(top) + 4px)}}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-hint{font:400 12px/16px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#9ca3af;margin:0!important}
[data-survey-root] .survey-template-part[data-survey-element-kind="signature"] .survey-signature-presentation>[role="status"]:empty,[data-survey-root] .survey-template-part[data-survey-element-kind="signature"]>p.survey-error:empty{display:none}
/* Respondent Credit Card parity (slide 10), measured against the legacy packet at 899px. Legacy stacks Mantine inputs with 6px between wrappers, 12px under each section heading, 20px between the two sections, and 40px from the last input to the nav. Its inline-block labels grow by 2px when they carry the Noto Sans " *" asterisk, so a required label sits 26.7px above its input and a plain one 24.7px; the two-column rows keep both inputs level, and the Notification Email wrapper follows the Expiration/CVV row by 8px rather than 6. The grid's row gap is dropped so the heading and label margins can carry those exact values (grid margins do not collapse). */
[data-survey-root] .survey-credit-card{gap:0 16px!important;padding-bottom:30px!important}
[data-survey-root] .survey-credit-card>.survey-credit-card-title{margin:0 0 12px -4px!important}
[data-survey-root] .survey-credit-card>h3{margin:16px 0 12px!important;font:600 14px/20px "Noto Sans",sans-serif;color:#000}
[data-survey-root] .survey-credit-card>h3~h3{margin-top:14px!important}
[data-survey-root] .survey-credit-card>label{display:block;margin:0 0 6px!important;padding:0;font:400 14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#000}
[data-survey-root] .survey-credit-card>label>.survey-required{font-family:"Noto Sans",sans-serif;font-size:14px;line-height:21.7px;color:#fa5252;margin-left:3.7px}
[data-survey-root] .survey-credit-card>label>.survey-input{margin-top:5px!important}
[data-survey-root] .survey-credit-card>label[data-card-field="notification_email_address"]>.survey-input{margin-top:3px!important}
[data-survey-root] .survey-credit-card>label[data-card-field="notification_email_address"]{margin-top:2px!important}
[data-survey-root] .survey-credit-card>label>span:last-child:empty{display:none}
[data-survey-root] .survey-credit-card select.survey-input{appearance:none;-webkit-appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23868e96%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E") right 9px center/18px 18px no-repeat;color:#000}
[data-survey-root] .survey-credit-card select.survey-input:has(option[value=""]:checked){color:#adb5bd}
/* Patient Consent (slide 11): legacy separates its 12px description from the signature row by 12px; the description paragraph already carries 8px, so the signature block gives up 8 of its 12px top padding. */
[data-survey-root] .survey-template-part[data-template="patient-consent"][data-survey-element-kind="signature"]{padding-top:4px!important}
/* Speech-to-text action (slides 4-6), measured against the legacy packet: a 28px transparent button (17px icon, #f3f4f6 on hover) 4px inside the right edge of the control and vertically centred, with the text kept clear by 34px of right padding. Where legacy pairs it with its staff-only Macros button (Medications/Allergies) the mic overhangs the edge by 2px and sits 3px below centre; in the rich-text toolbar it is pushed to the right edge, and a 1x16 #d1d5db rule separates strikethrough from link. The Macros button itself is not reproduced: it is always empty for a respondent. */
[data-survey-root] .survey-dictation-field{position:relative;display:block}
[data-survey-root] .survey-dictation-field.survey-dictation-field>:is(textarea,input),[data-survey-root] .survey-template-part[data-template="medical-history"] .survey-dictation-field>textarea.survey-input{padding-right:34px!important}
[data-survey-root] .survey-dictation-actions{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center}
[data-survey-root] .survey-dictation-field[data-survey-dictation-offset]>.survey-dictation-actions{right:-2px;top:calc(50% + 3px)}
[data-survey-root] .survey-dictation-button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:4px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#4b5563;cursor:pointer;transition:background-color .15s}
[data-survey-root] .survey-dictation-button:hover{background:#f3f4f6}
[data-survey-root] .survey-dictation-button[aria-pressed="true"]{background:#fef2f2}
[data-survey-root] .survey-dictation-button:disabled{cursor:default}
.survey-rich-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
[data-survey-root] [role="toolbar"]>button[title="Link"]{position:relative}
[data-survey-root] [role="toolbar"]>button[title="Link"]::before{content:'';position:absolute;left:-5px;top:50%;width:1px;height:16px;margin-top:-8px;background:#d1d5db}
/* Language multi-select (staging reference): the box stays 36px with pills inside (22px, 12px Noto, 13px from the left edge), legacy has no clear-all button, and the right icon is Mantine's up/down selector 9px from the edge. */
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-entry{position:relative;padding:0 34px 0 12px!important;gap:8px!important;min-height:36px}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-chip{padding:0 15.4px 0 9.6px;font:400 12px/22px "Noto Sans",sans-serif!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-clear:not([aria-label="Show options"]){display:none!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-entry>.survey-choice-clear[aria-label="Show options"]{position:absolute;right:8px;top:8px;width:18px;height:18px}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-clear[aria-label="Show options"]::after{width:18px;height:18px;border:0;transform:none;margin:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%20fill%3D%22%23868e96%22%3E%3Cpath%20d%3D%22M4.93179%205.43179C4.75605%205.60753%204.75605%205.89245%204.93179%206.06819C5.10753%206.24392%205.39245%206.24392%205.56819%206.06819L7.49999%204.13638L9.43179%206.06819C9.60753%206.24392%209.89245%206.24392%2010.0682%206.06819C10.2439%205.89245%2010.2439%205.60753%2010.0682%205.43179L7.81819%203.18179C7.73379%203.0974%207.61933%203.04999%207.49999%203.04999C7.38064%203.04999%207.26618%203.0974%207.18179%203.18179L4.93179%205.43179ZM10.0682%209.56819C10.2439%209.39245%2010.2439%209.10753%2010.0682%208.93179C9.89245%208.75606%209.60753%208.75606%209.43179%208.93179L7.49999%2010.8636L5.56819%208.93179C5.39245%208.75606%205.10753%208.75606%204.93179%208.93179C4.75605%209.10753%204.75605%209.39245%204.93179%209.56819L7.18179%2011.8182C7.35753%2011.9939%207.64245%2011.9939%207.81819%2011.8182L10.0682%209.56819Z%22%2F%3E%3C%2Fsvg%3E") center/18px 18px no-repeat}
/* Legacy's Gender error row is 2px shorter than the text-input rows. */
[data-survey-root] [data-contact-information-field="gender"] .survey-error{margin-top:3px}
/* Legacy hover states: unselected Subjective chips go to #f9fafb, rich-text toolbar buttons to #e5e7eb. */
[data-survey-root] [data-survey-element-kind="repeatableSections"] [role="group"]>button:not([aria-pressed="true"]):hover{background:#f9fafb}
[data-survey-root] [role="toolbar"]>button:hover{background:#e5e7eb!important}
/* Legacy's checked checkbox keeps a white box: the border turns black and a 12px black tick appears (it is not a filled square). */
[data-survey-root] .survey-template-part[data-template="medical-history"] input[type="checkbox"]:checked{border-color:#000;background:#fff url("data:image/svg+xml,%3Csvg viewBox=%270 0 10 7%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z%27 fill=%27%23000%27 fill-rule=%27evenodd%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E") center/12px auto no-repeat;box-shadow:none}
/* Social History follow-up (slide 3), measured against the production packet (and staging for the demographics block it omits). Full-width fields sit on the 422px column like every other control (they were 438px, 8px too far left); legacy's right-hand text inputs sit 4px above their selects, a layout quirk that is deliberately not copied so both columns stay level; Language is 20px under the previous row with a 21px label and 8px gap, border #d9d6d6; the Yes/No questions are a 21px label, 8px, then 20px black-bordered radios with 12px gaps, 16px between questions and 40px to the nav. The options are inline-flex, so the block zeroes its own font-size/line-height to stop the line box adding 6px per question. */
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-template-role="field"]:not([data-template-width="half"]){padding:0 39px 4px!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"]{padding:4px 39px 8px!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"]>label{font:400 14px/21px -apple-system,system-ui,"Segoe UI",Roboto,sans-serif;color:#000;margin:0 0 8px!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-element-kind="language"] .survey-choice-entry{border-color:#d9d6d6}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template){padding:0 39px 4px!important;line-height:20px!important;font-size:0}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template)[data-template-role="section"]{padding-top:17px!important}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template) legend{margin:0 0 8px!important;padding:0!important;font-size:14px}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template) label[data-survey-has~="child-radio"]:not(template){padding:0!important;margin:0 12px 0 0!important;gap:12px!important;font-size:14px;line-height:20px;min-height:20px;align-items:center;vertical-align:top}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template) input[type="radio"]{appearance:none;-webkit-appearance:none;flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px;margin:0!important;padding:0;border:1px solid #000;border-radius:50%;background:#fff;cursor:pointer}
[data-survey-root] .survey-template-part.survey-template-part[data-template="social-history"][data-survey-has~="radio"]:not(template) input[type="radio"]:checked{background:radial-gradient(circle,#000 0 4.45px,transparent 4.45px)}
/* Medical History "General Notes" (slide 4): legacy is a 500 14/20.3 system-font label with 4px below it and the same 231px rich-text box as Subjective (41px toolbar of 27px buttons, 188px editor), 422px wide on the band, 32px from its bottom to the nav. The public page gave the inner fieldset the generic 15px field margin (392px wide, 14px right), kept the empty help paragraph in flow (box 12px low) and the editor 16px too tall. */
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"]{padding-bottom:23px!important}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"]>fieldset.survey-field{margin:0!important;padding:0;border:0;min-width:0;width:100%}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"]>fieldset>legend{display:block;font:500 14px/20.3px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;margin:0 0 4px;padding:0;color:#000}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] .survey-template-empty-paragraph{display:none}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] [role="toolbar"]{box-sizing:border-box;height:41px;padding:6px 12px!important;gap:2px!important;align-items:center}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] [role="toolbar"]>button{width:27px!important;min-width:0!important;height:27px!important;padding:5px!important;border-radius:4px!important;color:#4b5563!important}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] [role="toolbar"]>button:nth-child(5){margin-left:7px}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] [role="toolbar"] svg{width:17px;height:17px}
[data-survey-root] .survey-template-part[data-template="medical-history"][data-survey-element-kind="richText"] [contenteditable]{min-height:172px!important;padding:8px 12px!important;font:400 16px/24px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
[data-survey-root] .survey-clinical-voice-button{position:absolute;right:6px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:0;margin-top:-14px;padding:0;border:0;border-radius:4px;background:transparent;color:#4b5563;cursor:pointer}
/* Contact Information uses its stable field binding in every rendering surface. */
.survey-template-part.survey-template-part:is([data-template="new-patient-packet-cash"],[data-template="new-patient-packet-insurance"])[data-template-role="title"]{margin:0;padding:0 24px 4px;font:600 22px/33px "Noto Sans",sans-serif;text-align:center;white-space:nowrap}
.survey-template-part.survey-template-part[data-template="contact-information"][data-template-role="title"]{margin-top:16px;padding-top:8px;padding-bottom:8px}
.survey-template-part.survey-template-part[data-template="contact-information"][data-template-role="section"]{display:flow-root;margin-top:0;padding-top:0;padding-bottom:0;font:600 14px/20px "Noto Sans",sans-serif}
.survey-template-part[data-template="contact-information"][data-template-role="title"]+.survey-template-part[data-template-role="section"]{margin-top:20px}
.survey-template-part[data-template="contact-information"] p{margin:0}
.survey-template-part.survey-template-part[data-template="contact-information"][data-template-role="section"] p{margin:8px 0 4px;font:600 14px/20px "Noto Sans",sans-serif;color:#000}
.survey-template-part[data-template="contact-information"][data-template-role="section"] strong{font:inherit}
.survey-contact-information-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 39px;box-sizing:border-box}
[data-survey-root]>.survey-contact-information-row{margin:0;padding:0 39px}
.survey-contact-information-row>[data-contact-information-field]{width:100%;min-width:0;margin:0 0 5px!important;padding:0!important;box-sizing:border-box}
/* Full-width Contact Information fields (Street Address) share the row's 39px canvas inset. */
.survey-slide-content>[data-contact-information-field][data-contact-information-field]{padding-left:39px!important;padding-right:39px!important}
.survey-slide-content>.survey-contact-information-row{margin-top:4px}
.survey-slide-content>.survey-template-part[data-template-role="section"]+.survey-contact-information-row{margin-top:0}
.survey-slide-content>[data-contact-information-field]{padding:0 39px!important;margin:0 0 10px!important;box-sizing:border-box}
[data-contact-information-field] .survey-choice-entry>.survey-choice-clear[aria-label="Show options"],.survey-template-part[data-template="social-history"] .survey-choice-entry>.survey-choice-clear[aria-label="Show options"]{width:18px;height:20px;padding:0;background:transparent;border:0;font-size:0;color:#adb5bd;display:flex;align-items:center;justify-content:center}
[data-contact-information-field] .survey-choice-clear[aria-label="Show options"]::after,.survey-template-part[data-template="social-history"] .survey-choice-clear[aria-label="Show options"]::after{content:'';display:block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
[data-contact-information-field] textarea{height:56px!important;min-height:56px!important;resize:none}
.survey-preview-field[data-contact-information-field]{box-sizing:border-box;margin-bottom:10px;padding:0 24px}
.survey-preview-field[data-contact-information-field]:not([data-contact-information-field="address"]){width:50%;display:inline-block;vertical-align:top;padding-left:24px;padding-right:8px}
.survey-preview-field[data-contact-information-field]+.survey-preview-field[data-contact-information-field="middleName"],.survey-preview-field[data-contact-information-field]+.survey-preview-field[data-contact-information-field="phoneNumber"],.survey-preview-field[data-contact-information-field]+.survey-preview-field[data-contact-information-field="dateOfBirth"],.survey-preview-field[data-contact-information-field]+.survey-preview-field[data-contact-information-field="state"],.survey-preview-field[data-contact-information-field]+.survey-preview-field[data-contact-information-field="postalCode"]{padding-left:8px;padding-right:24px}
.survey-preview-field[data-contact-information-field="gender"]+.survey-preview-field[data-contact-information-field="socialSecurity"],.survey-preview-field[data-contact-information-field="socialSecurity"]+.survey-preview-field[data-contact-information-field="gender"]{padding-left:8px;padding-right:24px}
[data-contact-information-field]>label{display:block;margin:0 0 3px;color:#212529;letter-spacing:.00938rem;font:400 14px/21px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}
[data-contact-information-field]>label .survey-required{font-family:"Noto Sans",sans-serif;line-height:0}
[data-contact-information-field="address"]>label{line-height:20px;margin-bottom:4px}
[data-contact-information-field="dateOfBirth"]>label .survey-required,[data-contact-information-field="address"]>label .survey-required{margin-left:0}
[data-contact-information-field][data-survey-has~="child-choice"]>label{line-height:21px;margin:0 0 3px;color:#1f2937}
/* Legacy renders Address, Date Of Birth, Gender, State and Country with its Tailwind label: a 20px line box, a 4px gap and a red-500 asterisk with no leading space. The other contact fields keep the Mantine label metrics above. Scoped to the respondent root so the authoring preview keeps its own rules, and specific enough to beat the page-module label default. */
[data-survey-root] [data-contact-information-field="address"]>label,[data-survey-root] [data-contact-information-field="dateOfBirth"]>label,[data-survey-root] [data-contact-information-field="gender"][data-survey-has~="child-choice"]>label,[data-survey-root] [data-contact-information-field="state"][data-survey-has~="child-choice"]>label,[data-survey-root] [data-contact-information-field="country"][data-survey-has~="child-choice"]>label{line-height:20px;margin:0 0 4px}
[data-survey-root] [data-contact-information-field="address"]>label .survey-required,[data-survey-root] [data-contact-information-field="dateOfBirth"]>label .survey-required,[data-survey-root] [data-contact-information-field="gender"]>label .survey-required,[data-survey-root] [data-contact-information-field="state"]>label .survey-required,[data-survey-root] [data-contact-information-field="country"]>label .survey-required{color:#ef4444;margin-left:0}
[data-survey-root] [data-contact-information-field]>textarea.survey-input{padding:5.5px 12px}
/* Legacy lets the asterisk inherit the label line box, which makes each required label 0.5px taller. Collapsing it to 0 shortened every required row and the error accumulated down the packet. */
[data-survey-root] [data-contact-information-field]>label .survey-required{line-height:inherit}
/* Legacy gives the Profile Image caption the same tracking as the contact labels. */
[data-survey-root] .survey-template-file[data-template-file-field="contactImage"]>label{letter-spacing:.00938rem}
/* The first template shown on a slide sits flush, like legacy. The stacking margin only separates later templates. */
[data-survey-root] .survey-template[data-survey-slide-first]{margin-top:0}
[data-contact-information-field]>.survey-input{display:block;height:36px;min-height:36px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.survey-slide-content>[data-contact-information-field="address"]{margin-bottom:0!important}
[data-contact-information-field]>textarea.survey-input{height:57px!important;min-height:36px!important;padding:5.5px 12px;font:14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-contact-information-field] .survey-date-input>.survey-input{height:36px!important;min-height:36px!important;padding:0 34px 0 12px!important;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-contact-information-field]>.survey-input[aria-invalid="true"]{border-color:#fa5252!important}
.survey-preview-field[data-contact-information-column="full"]{display:block!important;width:100%!important;padding-left:24px!important;padding-right:24px!important}
.survey-preview-field[data-contact-information-column="start"]{display:inline-block!important;vertical-align:top;width:50%!important;padding-left:24px!important;padding-right:8px!important}
.survey-preview-field[data-contact-information-column="end"]{display:inline-block!important;vertical-align:top;width:50%!important;padding-left:8px!important;padding-right:24px!important}
@media(max-width:640px){.survey-preview-field[data-contact-information-column]{display:block!important;width:100%!important;padding-left:16px!important;padding-right:16px!important}}
[data-contact-information-field] .survey-date-input>.survey-input[aria-invalid="true"]{border-color:#fa5252!important}
[data-survey-root]>[data-contact-information-field="address"]{margin:0 15px 10px!important;padding:0 24px!important}
.survey-template[data-template="emergency-contact-information"] .survey-template-question>.survey-input{height:36px;min-height:36px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;color:#000;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.survey-template[data-template="emergency-contact-information"] .survey-template-question>textarea.survey-input{height:57px!important;min-height:36px!important;padding:5.5px 12px;font:14px/21.7px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.survey-template[data-template="emergency-contact-information"] .survey-template-question>.survey-input[aria-invalid="true"]{border-color:#fa5252!important}
.survey-template[data-template="emergency-contact-information"] .survey-template-compound-heading{font-family:"Noto Sans",sans-serif}
.survey-template[data-template="emergency-contact-information"] .survey-template-columns{row-gap:9px}
.survey-template[data-template="emergency-contact-information"] .survey-required{font-family:"Noto Sans",sans-serif}
/* Legacy renders Emergency Relation, State and Country with its Tailwind label, matching Address above: 20px line box and a 4px gap. */
.survey-template[data-template="emergency-contact-information"] .survey-template-question[data-survey-has~="child-choice"]>label{line-height:20px;margin:0 0 4px;color:#1f2937}
.survey-template[data-template="emergency-contact-information"] .survey-template-question:where([data-survey-has~="child-textarea"]):not(template)>label{line-height:20px;margin-bottom:4px}
.survey-template[data-template="emergency-contact-information"] .survey-template-question>.survey-input{display:block}
.survey-template[data-template="emergency-contact-information"]>.survey-template-title{padding-top:0;padding-bottom:8px}
.survey-template[data-template="emergency-contact-information"] .survey-template-compound-heading{margin-bottom:-5px}
.survey-template[data-template="emergency-contact-information"] .survey-template-compound-heading:not(:first-child){margin-top:4px}
.survey-template[data-template="emergency-contact-information"] .survey-template-question:where([data-survey-has~="child-textarea"]):not(template){margin-bottom:-5px}
.survey-template[data-template="emergency-contact-information"] .survey-template-body{padding-bottom:17px}
.survey-template.survey-template[data-template="emergency-contact-information"]{overflow:visible}
.survey-template[data-template="emergency-contact-information"] .survey-template-question>.survey-input:focus{border-color:#dc4b35;outline:none;box-shadow:none}
.survey-template[data-template="emergency-contact-information"] textarea.survey-input{resize:none}
.survey-template[data-template="emergency-contact-information"] .survey-choice-control .survey-choice-entry{height:36px;min-height:36px;padding:0 12px}
.survey-template[data-template="emergency-contact-information"] .survey-choice-control .survey-choice-entry:focus-within{border-color:#dc4b35}
.survey-template[data-template="emergency-contact-information"] .survey-choice-control input{height:34px;min-height:0;padding:0;border:0;font:14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;outline:none;box-shadow:none}
.survey-template[data-template="emergency-contact-information"] .survey-choice-control button[aria-label="Show options"]{font-size:0;width:18px;height:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239ca3af%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;border:0;padding:0}
.survey-template[data-template="emergency-contact-information"] .survey-choice-menu button{padding:6px 10px;font:14px/21px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"]{border:1px solid #e5e7eb;border-radius:10px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-preview-error,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-error{margin:5px 0 0;color:#fa5252;font:12px/14.4px "Noto Sans",sans-serif}
@media(max-width:640px){.survey-contact-information-row:not(.survey-slide-content *){grid-template-columns:1fr;gap:0;padding:0 16px}.survey-slide-content>[data-contact-information-field]{padding:0 16px!important}.survey-preview-field[data-contact-information-field]:not([data-contact-information-field="address"]){display:block;width:100%;padding:0 16px!important}}
.survey-template-file[data-template-file="contactInformation"][data-template-file-field="contactImage"]{padding:0 24px 12px;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-template-file[data-template-file="contactInformation"][data-template-file-field="contactImage"]>label:first-child{display:block;margin:0 0 5px;font-weight:400}
.survey-template-file[data-template-file="contactInformation"][data-template-file-field="contactImage"]>p{margin:0 0 8px;color:#6b7280;font-size:12px}
.survey-template-file-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:176px;padding:16px;border:1px dashed #adb5bd;border-radius:4px;background:#fff;color:#000;text-align:center;cursor:pointer}
.survey-template-file-drop-zone::before{content:'';display:block;width:44px;height:44px;background:#adb5bd;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='9' cy='10' r='1.4' fill='black'/%3E%3Cpath d='m4 18 5-5 3 3 2-2 6 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='9' cy='10' r='1.4' fill='black'/%3E%3Cpath d='m4 18 5-5 3 3 2-2 6 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.survey-template-file-drop-zone>p{margin:0;color:#6b7280;font-size:12px}
.survey-template-file-drop-zone>span{font-size:20px}
.survey-template-file-picker{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.survey-template-file-picker:focus-visible+.survey-template-file-clear,.survey-template-file:has(.survey-template-file-picker:focus-visible) .survey-template-file-drop-zone{outline:2px solid #2459a6;outline-offset:2px}
.survey-template-file[data-template-file="contactInformation"][data-template-file-field="contactImage"] .survey-custom-file{position:relative;margin-top:8px}
.survey-template-file[data-template-file="contactInformation"][data-template-file-field="contactImage"] .survey-custom-file [role="status"]:empty{display:none}
.survey-slide-content .survey-template-file[data-template-file-field="contactImage"]{padding:4px 39px 28px;letter-spacing:.15px}
.survey-template-file[data-template-file-field="contactImage"]>label:first-child{font:400 14px/20.3px -apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;color:#212529;margin-bottom:5px}
.survey-template-file[data-template-file-field="contactImage"] .survey-template-file-drop-zone{gap:0;margin:0;border-color:#ced4da}
.survey-template-file[data-template-file-field="contactImage"] .survey-template-file-drop-zone::before{width:52px;height:52px;margin-bottom:32px;background:#9e9e9e;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%208h.01%22%2F%3E%3Cpath%20d%3D%22M3%206a3%203%200%200%201%203%20-3h12a3%203%200%200%201%203%203v12a3%203%200%200%201%20-3%203h-12a3%203%200%200%201%20-3%20-3v-12z%22%2F%3E%3Cpath%20d%3D%22M3%2016l5%20-5c.928%20-.893%202.072%20-.893%203%200l5%205%22%2F%3E%3Cpath%20d%3D%22M14%2014l1%20-1c.928%20-.893%202.072%20-.893%203%200l3%203%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%208h.01%22%2F%3E%3Cpath%20d%3D%22M3%206a3%203%200%200%201%203%20-3h12a3%203%200%200%201%203%203v12a3%203%200%200%201%20-3%203h-12a3%203%200%200%201%20-3%20-3v-12z%22%2F%3E%3Cpath%20d%3D%22M3%2016l5%20-5c.928%20-.893%202.072%20-.893%203%200l5%205%22%2F%3E%3Cpath%20d%3D%22M14%2014l1%20-1c.928%20-.893%202.072%20-.893%203%200l3%203%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.survey-template-file[data-template-file-field="contactImage"] .survey-template-file-drop-zone>span{font:400 20px/33px "Noto Sans",sans-serif}
.survey-template-file[data-template-file-field="contactImage"] .survey-template-file-drop-zone>p{font:400 14px/20.3px "Noto Sans",sans-serif;color:#000;margin-top:5px}
.survey-credit-card.survey-credit-card-bordered{border:1px solid #d1d5db;border-radius:6px}
.survey-credit-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:24px 39px 32px!important;box-sizing:border-box;color:#000;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.survey-credit-card>.survey-credit-card-title{grid-column:1/-1;margin:0 0 16px;font:500 16px/20px Poppins,poppins,sans-serif}
.survey-credit-card>h3{grid-column:1/-1;margin:0 0 6px;font:600 14px/20px "Noto Sans",sans-serif}
.survey-credit-card>label{grid-column:1/-1;margin:0;font:inherit}
.survey-credit-card>label:is([data-card-field="exp_date"],[data-card-field="cvv"],[data-card-field="city"],[data-card-field="state"],[data-card-field="postal_code"],[data-card-field="country"]){grid-column:auto}
.survey-credit-card>.survey-credit-card-title~h3:not(:nth-of-type(2)){margin-top:8px}
.survey-credit-card .survey-input{display:block;width:100%;height:36px;margin-top:4px;padding:0 12px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#000;font:inherit;box-sizing:border-box}
.survey-credit-card .survey-input::placeholder{color:#adb5bd}
.survey-credit-card{font-family:-apple-system,system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;line-height:21.7px;letter-spacing:.15px}
.survey-credit-card>.survey-credit-card-title{margin-left:-4px;margin-bottom:12px}
.survey-credit-card>h3{margin-bottom:6px}
.survey-credit-card>.survey-credit-card-title~h3:nth-of-type(2){margin-top:12px}
.survey-credit-card{padding-bottom:28px!important}
.survey-credit-card .survey-input{margin-top:3px;line-height:34px}
.survey-credit-card [aria-live="polite"]{color:#fa5252;font-size:12px}
.survey-preview-fields>.survey-credit-card{padding-left:24px!important;padding-right:24px!important}
/* The canvas section has no side padding of its own, so the card keeps the 39px field inset there. */
.survey-slide-content>.survey-credit-card{padding-left:39px!important;padding-right:39px!important}
.survey-template-part.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"])[data-template-role="title"]{margin-top:16px;padding-top:8px!important;padding-bottom:8px!important}
.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"]) .survey-signature-pad{height:144px!important;min-height:144px;box-sizing:border-box}
.survey-template-part.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"])[data-template-role="title"] p{line-height:inherit;margin:0!important}
.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"])[data-template-role="title"]+.survey-template-part[data-template-role="body"]{padding-top:12px!important}
.survey-template-part[data-template="patient-consent"][data-template-role="title"]+.survey-template-part[data-template-role="body"]{padding-top:20px!important}
.survey-template-part[data-survey-has~="signature"]>label,.survey-template-part[data-survey-has~="signature"]>.survey-preview-field>label{font-family:"Noto Sans",sans-serif}
.survey-template-part p.survey-signature-hint{font:400 12px/16px "Noto Sans",sans-serif}
.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"])[data-survey-has~="signature"]{padding-top:12px;margin-bottom:20px}
.survey-template-part[data-template="patient-consent"][data-survey-has~="signature"]{padding-top:4px}
.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"]) .survey-signature-presentation{margin-top:8px}
.survey-preview-fields>.survey-template-part.survey-template-part[data-template-width="half"][data-template-half-position="first"]{padding-left:24px!important;padding-right:8px!important}
.survey-preview-fields>.survey-template-part.survey-template-part[data-template-width="half"][data-template-half-position="second"]{padding-left:8px!important;padding-right:24px!important}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-template-part.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"])[data-template-role="title"],[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-template-part.survey-template-part:is([data-template="consent-to-physical-medicine"],[data-template="notice-of-privacy-practices"],[data-template="appointment-cancellation-policy"],[data-template="patient-consent"])[data-template-role="title"]{margin-top:26px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-template-part[data-survey-has~="signature"],[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-template-part[data-survey-has~="signature"]{margin-bottom:4px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-signature-presentation,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-signature-presentation{gap:10px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card{padding-top:34px!important}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card>.survey-credit-card-title,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card>.survey-credit-card-title{margin-bottom:12px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card>h3,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card>h3{margin-bottom:1px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card .survey-input,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card .survey-input{margin-top:7px}
.survey-preview-form[data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card .survey-choice-control,[data-survey-root][data-survey-has~="cash-packet"][data-survey-has~="cash-packet"] .survey-credit-card .survey-choice-control{width:100%;margin-top:7px}
.survey-template-part[hidden],.survey-template-part [hidden],.survey-template [hidden]{display:none!important}
/* Authoring controls retain legacy Select visuals while remaining non-interactive
   inside the canvas. Keep native option values and searchable-control behavior. */
.survey-slide-content select.survey-input:not([hidden]):not([multiple]){appearance:none;-webkit-appearance:none;display:block;height:36px;min-height:36px;padding:0 34px 0 12px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%20fill%3D%22%23868e96%22%3E%3Cpath%20d%3D%22M4.93179%205.43179C4.75605%205.60753%204.75605%205.89245%204.93179%206.06819C5.10753%206.24392%205.39245%206.24392%205.56819%206.06819L7.49999%204.13638L9.43179%206.06819C9.60753%206.24392%209.89245%206.24392%2010.0682%206.06819C10.2439%205.89245%2010.2439%205.60753%2010.0682%205.43179L7.81819%203.18179C7.73379%203.0974%207.61933%203.04999%207.49999%203.04999C7.38064%203.04999%207.26618%203.0974%207.18179%203.18179L4.93179%205.43179ZM10.0682%209.56819C10.2439%209.39245%2010.2439%209.10753%2010.0682%208.93179C9.89245%208.75606%209.60753%208.75606%209.43179%208.93179L7.49999%2010.8636L5.56819%208.93179C5.39245%208.75606%205.10753%208.75606%204.93179%208.93179C4.75605%209.10753%204.75605%209.39245%204.93179%209.56819L7.18179%2011.8182C7.35753%2011.9939%207.64245%2011.9939%207.81819%2011.8182L10.0682%209.56819Z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:18px 18px;border:1px solid #ced4da;border-radius:4px;color:#000;opacity:1;font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;letter-spacing:normal}
.survey-slide-content select.survey-input:has(>option:checked[value=""]){color:#adb5bd}
.survey-slide-content select.survey-input option{color:#000;background:#fff}
.survey-slide-content .survey-editor-subjective select.survey-input:not([hidden]):not([multiple]){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23adb5bd%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E")}
.survey-slide-content .survey-choice-control .survey-choice-entry{position:relative;min-height:36px;padding:0 34px 0 12px;gap:4px;font:400 14px/34px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;letter-spacing:normal}
.survey-slide-content .survey-choice-control .survey-choice-entry>input{height:34px!important;min-height:0!important;padding:0!important;border:0!important;font:inherit!important;letter-spacing:normal!important;opacity:1}
.survey-slide-content .survey-choice-control .survey-choice-entry>input::placeholder{color:#adb5bd;opacity:1}
.survey-slide-content .survey-choice-control .survey-choice-entry>.survey-choice-clear[aria-label="Show options"]{position:absolute;right:0;top:0;width:34px;height:34px;padding:0;border:0;border-radius:0;background:transparent;font-size:0;display:flex;align-items:center;justify-content:center}
.survey-slide-content .survey-choice-control .survey-choice-clear[aria-label="Show options"]::after{content:'';display:block;width:20px;height:20px;border:0;transform:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239ca3af%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E") center/20px 20px no-repeat}
.survey-slide-content select[multiple]+.survey-choice-control .survey-choice-clear[aria-label="Show options"]::after{width:18px;height:18px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%20fill%3D%22%23868e96%22%3E%3Cpath%20d%3D%22M4.93179%205.43179C4.75605%205.60753%204.75605%205.89245%204.93179%206.06819C5.10753%206.24392%205.39245%206.24392%205.56819%206.06819L7.49999%204.13638L9.43179%206.06819C9.60753%206.24392%209.89245%206.24392%2010.0682%206.06819C10.2439%205.89245%2010.2439%205.60753%2010.0682%205.43179L7.81819%203.18179C7.73379%203.0974%207.61933%203.04999%207.49999%203.04999C7.38064%203.04999%207.26618%203.0974%207.18179%203.18179L4.93179%205.43179ZM10.0682%209.56819C10.2439%209.39245%2010.2439%209.10753%2010.0682%208.93179C9.89245%208.75606%209.60753%208.75606%209.43179%208.93179L7.49999%2010.8636L5.56819%208.93179C5.39245%208.75606%205.10753%208.75606%204.93179%208.93179C4.75605%209.10753%204.75605%209.39245%204.93179%209.56819L7.18179%2011.8182C7.35753%2011.9939%207.64245%2011.9939%207.81819%2011.8182L10.0682%209.56819Z%22%2F%3E%3C%2Fsvg%3E");background-size:18px 18px}
.survey-slide-content .survey-choice-control .survey-choice-chip{font:400 14px/20px -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.survey-slide-content .survey-clinical-lookup>input.survey-input{padding-right:34px;font-size:14px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23adb5bd%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:right 9px center;background-size:16px 16px}
.survey-slide-content .survey-clinical-medicationsBasic .survey-clinical-lookup>input.survey-input{font-size:12px;background-size:20px 20px;background-position:right 7px center}
.survey-slide-content .survey-clinical-lookup:has(>.survey-clinical-clear:not([hidden]))>input.survey-input{background-image:none}

.survey-template.survey-template .survey-outcome-number{position:relative;min-width:0;width:100%}
.survey-template.survey-template .survey-outcome-number>input{padding-right:34px;appearance:textfield;-moz-appearance:textfield}
.survey-outcome-number>input::-webkit-inner-spin-button,.survey-outcome-number>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.survey-template.survey-template .survey-outcome-number-actions{position:absolute;right:1px;top:1px;bottom:1px;width:24px;display:flex;flex-direction:column;border-left:1px solid #ced4da}
.survey-template.survey-template .survey-outcome-number-actions>button{display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:0;height:auto;padding:0;border:0;border-radius:0;background:transparent;color:#212529;box-shadow:none}
.survey-template.survey-template .survey-outcome-number-actions>button+button{border-top:1px solid #ced4da}
.survey-template.survey-template .survey-outcome-number-actions>button:disabled{opacity:1}
.survey-outcome-number-actions span{display:block;width:6px;height:6px;border:solid currentColor;border-width:1px 1px 0 0}
.survey-outcome-number-actions .survey-number-up{transform:translateY(2px) rotate(-45deg)}
.survey-outcome-number-actions .survey-number-down{transform:translateY(-2px) rotate(135deg)}
.survey-template.survey-template[data-template="timed-up-and-go"] input[type="checkbox"]{appearance:none;border:1px solid #000!important;border-radius:4px;background:#fff;box-shadow:none;position:relative}
.survey-template.survey-template[data-template="timed-up-and-go"] input[type="checkbox"]:checked::after{content:'';position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}
.survey-template.survey-template[data-template="timed-up-and-go"] .survey-template-options[data-survey-has~="checkbox"]:not(template){gap:12px;padding-left:4px}
.survey-template.survey-template:is([data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"]) .survey-template-options[data-survey-has~="radio"]:not(template){padding-left:4px}

.survey-template.survey-template:is([data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"]) .survey-template-header{margin-bottom:16px}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table .survey-outcome-number>input{height:30px;min-height:30px;font-size:14px}
.survey-template.survey-template[data-template="rivermead-post-concussion-symptoms-questionnaire"] .survey-template-inline-rating{gap:12px}
@media(max-width:767px){.survey-template.survey-template[data-template="rivermead-post-concussion-symptoms-questionnaire"] .survey-template-inline-rating{flex-direction:column;align-items:flex-start;gap:4px}}

.survey-template.survey-template[data-template="timed-up-and-go"] .survey-template-section-heading{margin-bottom:16px}
.survey-template.survey-template:is([data-template="timed-up-and-go"],[data-template="ten-meter-walk-test"]) .survey-template-question[data-survey-has~="child-template-options"]>label{margin-bottom:8px}
.survey-template.survey-template[data-template="timed-up-and-go"] .survey-template-results{margin-top:0}
.survey-template.survey-template[data-template="timed-up-and-go"] .survey-template-results>.survey-template-instruction-heading{margin-top:0;margin-bottom:8px}

/* TenMeterWalkTest: bordered result badges and trial actions. */
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table{table-layout:fixed;width:100%;min-width:0}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table th{font:600 14px/16px Poppins,poppins,sans-serif;padding:8px;text-align:center;white-space:normal}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table th:first-child{width:40%;text-align:left;padding:8px 12px}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table th:nth-child(2){width:28%}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table th:last-child{width:44px}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table td{padding:8px;text-align:center;vertical-align:middle}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table td:first-child{text-align:left;padding:8px 12px}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table output{min-width:56px;padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;background:#fff;font:600 14px/20px Poppins,poppins,sans-serif}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table tfoot{background:#f9fafb}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-dynamic-table button.survey-template-action{border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#ef4444;padding:0 6px;min-height:22px;font:400 12px/20px Poppins,poppins,sans-serif;opacity:1}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-question>button.survey-template-action{margin:12px 0 0;padding:8px 16px;font:500 14px/20px Poppins,poppins,sans-serif;color:#374151;opacity:1;box-shadow:0 1px 2px #0000000d}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-results{margin:12px 0 0;font:400 14px/21px Poppins,poppins,sans-serif}
.survey-template.survey-template[data-template="ten-meter-walk-test"] .survey-template-cutoffs{margin:4px 0 12px;font:italic 12px/16px Poppins,poppins,sans-serif;color:#6b7280}
.survey-template.survey-template[data-template="ten-meter-walk-test"] [data-field="notes"] textarea{height:56px;min-height:56px;resize:none}
:is(.survey-editor-clinical,.survey-preview-clinical .survey-clinical):is(.survey-clinical-allergiesBasic,.survey-clinical-allergiesAdvanced)>legend{display:block!important;font:500 16px/20px Poppins,sans-serif!important;margin:0 0 28px!important}
:is(.survey-editor-clinical,.survey-preview-clinical) :is(.survey-clinical-allergiesBasic,.survey-clinical-allergiesAdvanced) .survey-clinical-entry>legend,.survey-editor-clinical:is(.survey-clinical-allergiesBasic,.survey-clinical-allergiesAdvanced) .survey-clinical-entry>legend{display:block!important;width:100%;font:600 16px/24px Poppins,sans-serif!important;margin:0 0 12px!important}
.survey-clinical :is(.survey-dictation-button,.survey-clinical-toggle):disabled{opacity:1}
.survey-clinical-allergiesAdvanced [data-survey-field-key="description"] textarea.survey-input{height:36px!important;min-height:36px!important;resize:none}


.survey-template[data-template="personal-injury-symptoms"] [data-choice-presentation="checkbox"] .survey-template-option{display:flex;border:0;border-radius:0;padding:0;margin:0 0 8px;gap:12px;font:400 14px/20px "Noto Sans",sans-serif;color:#000;background:transparent;box-shadow:none}
.survey-template[data-template="personal-injury-symptoms"] [data-choice-presentation="checkbox"] .survey-template-option>input{position:static;opacity:1;width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#000}
/* Speech-to-text is off everywhere in Surveys: every microphone button is removed and the space it reserved goes back to the field. */
:is([data-survey-root],.survey-slide-content,.survey-preview-form,.survey-field,.survey-clinical) button[aria-label="Speak to text"]{display:none!important}
.survey-dictation-field.survey-dictation-field>:is(textarea,input),[data-survey-root] .survey-dictation-field.survey-dictation-field>:is(textarea,input){padding-right:12px!important}
.survey-editor-clinical [data-survey-field-key="description"] .survey-dictation-field.survey-dictation-field>textarea{padding-right:34px!important}
.survey-clinical-voice-field.survey-clinical-voice-field>textarea,[data-survey-root] .survey-clinical-voice-field.survey-clinical-voice-field>textarea.survey-input,.survey-preview-voice-textarea>textarea{padding-right:12px!important}
/* Medication and allergy fields show no scroll or spinner arrows. */
.survey-clinical textarea.survey-input{scrollbar-width:none}.survey-clinical textarea.survey-input::-webkit-scrollbar{display:none}
.survey-clinical input[type=number]{-moz-appearance:textfield;appearance:textfield}.survey-clinical input[type=number]::-webkit-inner-spin-button,.survey-clinical input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* Monetary custom fields show the $ inside the field box, like the legacy amount input. */
.survey-custom-amount{position:relative}
.survey-custom-amount>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);line-height:1;color:inherit;pointer-events:none}
.survey-custom-amount>input.survey-input.survey-input{padding-left:24px!important}
/* Date ranges show two separate, fully bordered boxes with round corners like every other field (no joined pair). */
.survey-template .survey-template-columns>:is(.survey-template-range-start,.survey-template-range-end){margin-left:0;margin-right:0}
.survey-template .survey-template-range-start input{border-right-width:1px;border-right-style:solid;border-top-right-radius:4px;border-bottom-right-radius:4px}
.survey-template .survey-template-range-end input{border-top-left-radius:4px;border-bottom-left-radius:4px}
