.htsc-form{max-width:760px;margin:1.5rem auto;padding:clamp(18px,4vw,32px);border:1px solid #d6dfe8;border-top:4px solid #ab8538;border-radius:8px;background:#fff;color:#172b43;box-sizing:border-box}.htsc-form *{box-sizing:border-box}.htsc-form h2{color:#0d2a4f;margin:0 0 12px}.htsc-form label{display:block;font-weight:600;margin:0 0 5px}.htsc-form input:not([type=checkbox]),.htsc-form textarea{width:100%;padding:10px 12px;border:1px solid #8c9bab;border-radius:4px;background:white;color:#172b43;font:inherit}.htsc-form textarea{min-height:160px;resize:vertical}.htsc-form .htsc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.htsc-form .htsc-field{margin-bottom:16px}.htsc-form button{background:#0d2a4f;color:#fff;border:1px solid #0d2a4f;border-radius:5px;padding:12px 24px;font:inherit;font-weight:600;cursor:pointer}.htsc-form button:hover,.htsc-form button:focus{background:#173e69;color:#fff}.htsc-form :focus-visible{outline:2px solid #ab8538;outline-offset:3px}.htsc-form .htsc-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.htsc-form .htsc-notice{padding:12px;border:1px solid #8c9bab;margin-bottom:16px;border-radius:4px}.htsc-form .htsc-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400}.htsc-form .htsc-consent input{flex-shrink:0;margin-top:5px}@media(max-width:600px){.htsc-form .htsc-grid{grid-template-columns:1fr;gap:0}}
.htsc-form.htsc-template{container-type:inline-size;max-width:var(--htsc-t-width,760px);padding:var(--htsc-t-padding,28px);border:var(--htsc-t-border-width,1px) solid var(--htsc-t-border,#d6dfe8);border-top:4px solid var(--htsc-t-accent,#ab8538);border-radius:var(--htsc-t-radius,8px);background:var(--htsc-t-background,#fff);color:var(--htsc-t-text,#172b43);box-shadow:var(--htsc-t-shadow,none);font-family:var(--htsc-t-font,inherit);font-size:var(--htsc-t-font-size,16px);line-height:var(--htsc-t-line-height,1.6)}.htsc-template h2{color:var(--htsc-t-heading-color);font-size:var(--htsc-t-heading-size);text-align:var(--htsc-t-align)}.htsc-template>p{text-align:var(--htsc-t-align)}.htsc-template .htsc-public-logo{display:block;max-width:180px;max-height:100px;object-fit:contain;margin:0 auto 12px}.htsc-template .htsc-public-logo[hidden]{display:none}.htsc-template label{color:var(--htsc-t-label);font-size:var(--htsc-t-label-size);font-weight:var(--htsc-t-label-weight)}.htsc-template input:not([type=checkbox]),.htsc-template textarea{background:var(--htsc-t-field-bg);color:var(--htsc-t-field-text);border-color:var(--htsc-t-field-border);border-radius:var(--htsc-t-field-radius);padding:var(--htsc-t-field-padding)}.htsc-template .htsc-grid{grid-template-columns:repeat(var(--htsc-t-columns,2),minmax(0,1fr));gap:var(--htsc-t-gap,16px)}.htsc-template .htsc-field{margin-bottom:0;min-width:0}.htsc-template .htsc-wide{grid-column:1/-1}.htsc-template button{background:var(--htsc-t-button);color:var(--htsc-t-button-text);border-color:var(--htsc-t-button);width:var(--htsc-t-button-width)}.htsc-template button:hover,.htsc-template button:focus{background:var(--htsc-t-button-hover);color:var(--htsc-t-button-text)}.htsc-template form>p:last-child{text-align:var(--htsc-t-button-align)}.htsc-template :focus-visible{outline-color:var(--htsc-t-focus)}.htsc-template .htsc-notice{background:var(--htsc-t-success-bg);color:var(--htsc-t-success-text)}.htsc-template .htsc-error{background:var(--htsc-t-error-bg);color:var(--htsc-t-error-text)}.htsc-template .htsc-consent{margin-top:16px}@container(max-width:520px){.htsc-template .htsc-grid{grid-template-columns:1fr}}@media(max-width:600px){.htsc-template .htsc-grid{grid-template-columns:1fr}}
.htsc-template .htsc-dynamic-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.htsc-dynamic-grid .htsc-width-full{grid-column:span 6}.htsc-dynamic-grid .htsc-width-half{grid-column:span 3}.htsc-dynamic-grid .htsc-width-third{grid-column:span 2}.htsc-dynamic-grid [hidden]{display:none!important}.htsc-form .htsc-choice{display:flex;align-items:center;gap:8px;font-weight:400}.htsc-form input[type=radio],.htsc-form input[type=checkbox]{width:auto;flex:none}.htsc-form select{width:100%;max-width:100%;padding:var(--htsc-t-field-padding,10px);border:1px solid var(--htsc-t-field-border,#8c9bab);border-radius:var(--htsc-t-field-radius,4px);background:var(--htsc-t-field-bg,#fff);color:var(--htsc-t-field-text,#172b43);font:inherit}.htsc-form .htsc-field small{display:block;margin-top:5px}.htsc-form .cf-turnstile{max-width:100%;margin-top:12px}.htsc-form .htsc-dynamic-field h3{margin-top:0}@container(max-width:520px){.htsc-template .htsc-dynamic-grid{grid-template-columns:1fr}.htsc-dynamic-grid .htsc-field{grid-column:1/-1}}@media(max-width:600px){.htsc-template .htsc-dynamic-grid{grid-template-columns:1fr}.htsc-dynamic-grid .htsc-field{grid-column:1/-1}}

/* Contact fields: avoid applying text-input styling to radio and checkbox choices. */
.htsc-form .htsc-choice{gap:8px;margin:0;min-height:24px;align-items:flex-start;line-height:1.5}
.htsc-form .htsc-choice input[type=checkbox],.htsc-form .htsc-choice input[type=radio]{appearance:auto;width:16px;height:16px;min-width:16px;padding:0;margin:3px 0 0;flex:0 0 16px;accent-color:var(--htsc-t-button,#0d2a4f);box-shadow:none}
.htsc-form .htsc-dynamic [role=group]{display:grid;gap:4px;margin-top:6px}
.htsc-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.htsc-form textarea,.htsc-form select{min-width:0;max-width:100%}
.htsc-form .htsc-dynamic-form>p{margin:14px 0 0}
.htsc-template .htsc-dynamic-grid{row-gap:var(--htsc-t-gap,16px)}
