/* Keep the original page shells, photo, cards and typography. Only the approved short fields are new. */
.tp-form-content .nmt-intake,.form-card .nmt-intake{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-family:inherit;box-shadow:none}
.tp-form-content .nmt-kicker,.form-card .nmt-kicker,.tp-form-content .nmt-intake>h2,.form-card .nmt-intake>h2{display:none}
.tp-form-content .nmt-field,.form-card .nmt-field{margin:0 0 20px}
.tp-form-content .nmt-field label,.form-card .nmt-field label{font-family:inherit;font-size:13px;line-height:1.5;font-weight:600;color:inherit;margin:0 0 8px}
.tp-form-content .nmt-field input:not([type=checkbox]),.tp-form-content .nmt-field select,.tp-form-content .nmt-field textarea,.form-card .nmt-field input:not([type=checkbox]),.form-card .nmt-field select,.form-card .nmt-field textarea{width:100%;min-height:48px;font-family:inherit;font-size:14px;background:#fff;border:1px solid var(--rule,#ddd8ce);border-radius:6px;padding:12px 14px;box-sizing:border-box}
.tp-form-content .nmt-submit,.form-card .nmt-submit{display:block;width:100%;padding:16px 24px;min-height:52px;font-family:inherit;background:var(--teal,#006b6b);color:#fff;border:0;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer}
.tp-form-content .nmt-intake p,.form-card .nmt-intake p{font-family:inherit;font-size:13px;line-height:1.7}
.tp-form-content .nmt-field input[type=checkbox],.form-card .nmt-field input[type=checkbox]{width:18px;height:18px;min-height:0;vertical-align:middle;margin:0 9px 0 0}
.tp-form-content .nmt-field input[type=checkbox]+label,.form-card .nmt-field input[type=checkbox]+label{display:inline;font-weight:400}
.tp-form-content .nmt-intake details,.form-card .nmt-intake details{padding:14px 0;border-top:1px solid var(--rule,#ddd8ce)}
.tp-form-content .nmt-intake summary,.form-card .nmt-intake summary{cursor:pointer;font-size:14px;font-weight:600}
.form-card .tile.selected{border-color:var(--teal,#006b6b);background:var(--teal-lt,#edf5f3)}
.form-card .nmt-notice[data-saved]{padding:18px;background:#edf5f3;border:1px solid #bfd5cb;border-radius:6px}
@media(max-width:600px){.tp-form-content .nmt-intake,.form-card .nmt-intake{margin:0;padding:0}.tp-form-grid{grid-template-columns:1fr}.tp-form-side img{width:100%;height:auto}.form-grid{grid-template-columns:1fr}}

/* Match the original field/button treatments, rather than the generic intake card. */
.tp-form-content .nmt-field label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-soft)}
.tp-form-content .nmt-field input:not([type=checkbox]),.tp-form-content .nmt-field select,.tp-form-content .nmt-field textarea{border-radius:12px;border:1px solid #DDE5EC;height:50px;padding:0 14px;color:var(--ink);transition:all .2s ease}
.tp-form-content .nmt-field textarea{height:110px;padding-top:12px;resize:vertical}
.tp-form-content .nmt-submit{background:linear-gradient(135deg,var(--ink),var(--ink-mid))!important;color:#fff!important;border-radius:12px!important;height:52px;padding:0 28px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 14px 30px rgb(15 25 35 / .16);width:auto;justify-self:start}
.tp-form-content [id$="_Fields"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:0}
.tp-form-content [id$="_Fields"]>[id$="DicomPanel"],.tp-form-content [id$="_Fields"]>[id$="ContextPanel"],.tp-form-content [id$="_Fields"]>.nmt-fee,.tp-form-content [id$="_Fields"]>.nmt-trap,.tp-form-content [id$="_Fields"]>p,.tp-form-content [id$="_Fields"]>.nmt-submit,.tp-form-content [id$="_Fields"]>.nmt-field:has([id$="Question"]),.tp-form-content [id$="_Fields"]>.nmt-field:has([id$="Consent"]){grid-column:1/-1}
.tp-form-content .nmt-field input[type=checkbox]+label{text-transform:none;letter-spacing:normal}
.form-card .nmt-submit{display:inline-flex;align-items:center;gap:10px;width:auto;padding:15px 32px;background:var(--ink);color:var(--white);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;cursor:pointer}
.form-card .nmt-submit:hover{background:var(--teal);box-shadow:0 8px 24px rgb(0 107 107 / .2)}
@media(max-width:600px){.tp-form-content [id$="_Fields"]{grid-template-columns:1fr}.tp-form-content .nmt-submit,.form-card .nmt-submit{width:100%;justify-content:center}}

.tp-form-content .nmt-field input[type=search],.form-card .nmt-field input[type=search]{margin-bottom:8px}

.tp-form-content .nmt-intake>h2+p{display:none}
@media(max-width:600px){.footer-top{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.footer-top>div{min-width:0}.footer-contact a{overflow-wrap:anywhere}}

/* Second Read: keep the photo beside the form on desktop and prioritize the form on mobile. */
#second-read-form { scroll-margin-top: 110px; }
#second-read-form .tp-form-grid { grid-template-columns: minmax(0, .68fr) minmax(0, 1fr); }
#second-read-form .tp-form-side { align-items: start; padding: clamp(24px, 3.2vw, 48px); }
#second-read-form .tp-form-side img { width: min(100%, 360px); height: auto; }
#second-read-form .tp-form-content { min-width: 0; padding: clamp(22px, 3.5vw, 50px); }
#second-read-form .tp-form-content .tp-sub { color: #405466; font-weight: 400; margin-bottom: 22px; }
#second-read-form .nmt-field { min-width: 0; margin-bottom: 16px; }
#second-read-form .nmt-field label { color: #293c4d; font-size: 14px; letter-spacing: normal; text-transform: none; }
#second-read-form .nmt-intake .nmt-field p { color: #405466; margin: 5px 0 0; }
#second-read-form .nmt-field :is(input:not([type=checkbox]), select, textarea) {
    border-color: #9aabb8; border-radius: 9px; font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#second-read-form .nmt-field textarea { height: 82px; }
#second-read-form .nmt-phone-inputs { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px; }
#second-read-form .nmt-phone-inputs select { padding-inline: 8px; }
#second-read-form .nmt-phone-inputs input { padding-inline: 10px; }
#second-read-form .nmt-dial-label {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
#second-read-form .nmt-field input[type=checkbox] { accent-color: #006b6b; padding: 0; }
#second-read-form .nmt-intake details { padding: 0; border: 1px solid #c4cfd5; border-radius: 9px; }
#second-read-form .nmt-intake summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; color: #293c4d; min-height: 44px; }
#second-read-form .nmt-intake summary::after { content: "+" / ""; color: #006b6b; font-size: 18px; }
#second-read-form .nmt-intake details[open] summary::after { content: "−" / ""; }
#second-read-form .nmt-intake details[open] { padding: 0 12px 12px; }
#second-read-form .nmt-intake details[open] summary { padding-inline: 0; }
#second-read-form :is(input, select, textarea, summary, a):focus-visible {
    outline: 2px solid #006b6b; outline-offset: 2px;
}
#second-read-form [data-wa] { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }
@media (max-width: 920px) {
    #second-read-form .tp-form-grid { grid-template-columns: minmax(0, 1fr); }
    #second-read-form .tp-form-side { display: none; }
}
@media (max-width: 600px) {
    #second-read-form .tp-form-content { padding: 22px 16px; }
    #second-read-form .nmt-submit { padding-inline: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
    #second-read-form .nmt-field :is(input, select, textarea) { transition: none; }
}


/* Second Read upload uses the original dashed card and plus icon. */
#second-read-form .nmt-second-read-upload { grid-column: 1 / -1; }
#second-read-form .nmt-second-read-upload [data-upload-card] { display: none; }
#second-read-form .nmt-second-read-upload.is-enhanced [data-upload-card] { display: block; margin: 4px 0 8px; }
#second-read-form .nmt-second-read-upload.is-enhanced [data-upload-native] { display: none; }
#second-read-form .nmt-second-read-upload [hidden] { display: none !important; }
#second-read-form .nmt-second-read-upload .tp-upload-box.is-dragging { border-color: var(--teal); background: #F3FBFA; }
#second-read-form .nmt-second-read-upload .tp-upload-btn { cursor: pointer; }
#second-read-form .nmt-second-read-upload button:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
#second-read-form .nmt-upload-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
#second-read-form .nmt-upload-choices button, #second-read-form [data-upload-clear], #second-read-form [data-upload-list] button {
    min-height: 40px; border: 1px solid #9aabb8; border-radius: 8px; padding: 4px 12px;
    color: var(--teal); background: #fff; font: inherit; font-size: 13px; cursor: pointer;
}
#second-read-form [data-upload-list] { list-style: none; margin: 0; padding: 0; }
#second-read-form [data-upload-list] li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; }
#second-read-form [data-upload-list] span { overflow-wrap: anywhere; }
#second-read-form .nmt-second-read-upload progress { width: 100%; accent-color: var(--teal); }
