.htform{--htform-accent:#e8692c;--htform-ink:#1c2233;--htform-border:#dcd8cf;max-width:640px;margin:1.5em 0;font-size:16px;color:var(--htform-ink)}
.htform-form{display:flex;flex-direction:column;gap:18px}
.htform-title{margin:0;font-size:1.5em}
.htform-label{display:block;font-weight:600;margin-bottom:6px}
.htform-req{color:var(--htform-accent);margin-left:2px}
.htform input[type=text],.htform input[type=email],.htform input[type=tel],.htform input[type=number],.htform input[type=url],.htform input[type=date],.htform input[type=time],.htform select,.htform textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--htform-border);border-radius:8px;background:#fff;font:inherit;color:inherit}
.htform input:focus,.htform select:focus,.htform textarea:focus{outline:none;border-color:var(--htform-accent);box-shadow:0 0 0 3px rgba(232,105,44,.18)}
.htform-choice{display:flex;align-items:center;gap:8px;padding:6px 0;cursor:pointer}
.htform-desc{font-size:.85em;opacity:.7;margin:4px 0 0}
.htform-err{color:#c0392b;font-size:.875em;margin-top:4px;min-height:0}
.htform-invalid input,.htform-invalid select,.htform-invalid textarea{border-color:#c0392b}
.htform-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.htform-actions{display:flex;gap:10px}
.htform-btn{background:var(--htform-accent);color:#fff;border:0;border-radius:8px;padding:12px 22px;font:inherit;font-weight:600;cursor:pointer}
.htform-btn:disabled{opacity:.6;cursor:wait}
.htform-btn-secondary{background:transparent;color:var(--htform-ink);border:1px solid var(--htform-border)}
.htform-msg{color:#c0392b}
.htform-msg:empty{display:none}
.htform-progress{font-size:.8em;font-weight:600;opacity:.8;position:relative;padding-bottom:10px}
.htform-progress:after{content:"";position:absolute;left:0;bottom:0;height:6px;width:var(--htform-pct,0);background:var(--htform-accent);border-radius:3px;transition:width .3s}
.htform-progress:before{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:var(--htform-border);border-radius:3px}
.htform-success{white-space:pre-line;padding:24px;border-radius:10px;background:#eef8f1;color:#1e6b3a;font-weight:600}
.htform-brand{font-size:.75em;opacity:.55;margin-top:12px}
.htform-error{color:#c0392b;font-style:italic}
.htform-busy{opacity:.75}

.htform-section{font-size:1.15em;font-weight:700;margin:1em 0 .25em;padding-bottom:.35em;border-bottom:1px solid rgba(0,0,0,.12)}
.htform select[multiple]{min-height:6em}
/* 1.2.0 — per-form design from HTforms */
.htform{font-family:var(--htform-font,inherit)}
.htform-has-bg{background:var(--htform-bg);padding:24px;border-radius:calc(var(--htform-radius,8px) + 4px)}
.htform-form{gap:var(--htform-gap,18px)}
.htform-step{display:flex;flex-direction:column;gap:var(--htform-gap,18px)}
.htform-cols-2{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
.htform-cols-2 .htform-type-textarea,.htform-cols-2 .htform-type-address,.htform-cols-2 .htform-type-divider,.htform-cols-2 .htform-type-html,.htform-cols-2 .htform-type-consent,.htform-cols-2 .htform-type-checkbox,.htform-cols-2 .htform-type-radio,.htform-cols-2 .htform-type-file,.htform-cols-2 .htform-type-multiselect{grid-column:1/-1}
@media (max-width:600px){.htform-cols-2{grid-template-columns:1fr}}
.htform input[type=text],.htform input[type=email],.htform input[type=tel],.htform input[type=number],.htform input[type=url],.htform input[type=date],.htform input[type=time],.htform select,.htform textarea,.htform-btn{border-radius:var(--htform-radius,8px)}
.htform input:focus,.htform select:focus,.htform textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--htform-accent) 22%,transparent)}
.htform-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--htform-accent) 45%,transparent);outline-offset:2px}
.htform-btn-pill .htform-btn{border-radius:999px}
.htform-btn-outline .htform-btn:not(.htform-btn-secondary){background:transparent;color:var(--htform-accent);border:2px solid var(--htform-accent)}
.htform-logo{max-height:56px;width:auto;align-self:flex-start}
.htform-lead .htform-title{font-size:2em;line-height:1.15}
.htform-lead .htform-actions .htform-btn[type=submit]{flex:1}
.htform-conv .htform-step{font-size:1.1em;min-height:7em}
.htform-closed{padding:16px 0;opacity:.8}
.htform-parts{display:flex;gap:12px}.htform-parts>div{flex:1;min-width:0}
.htform-image{display:block;max-width:100%;height:auto}
.htform-cols-2 .htform-type-image,.htform-cols-2 .htform-type-email:has(.htform-parts),.htform-cols-2 .htform-type-name:has(.htform-parts){grid-column:1/-1}
.htform-align-center{justify-content:center}.htform-align-right{justify-content:flex-end}.htform-align-full .htform-btn[type=submit]{flex:1}
.htform-bd{--htform-bd-color:var(--htform-border);--htform-bd-style:solid}
.htform-bd-sky_dashed{--htform-bd-color:#38bdf8;--htform-bd-style:dashed}
.htform-bd-orange_solid{--htform-bd-color:#f97316}
.htform-bd-grey_dashed{--htform-bd-color:#9ca3af;--htform-bd-style:dashed}
.htform-bd-above{border-top:2px var(--htform-bd-style) var(--htform-bd-color);padding-top:12px}
.htform-bd-below{border-bottom:2px var(--htform-bd-style) var(--htform-bd-color);padding-bottom:12px}
.htform-bd-box{border:2px var(--htform-bd-style) var(--htform-bd-color);padding:14px;border-radius:var(--htform-radius,8px)}
.htform-bda-draw{animation:htform-bd-draw .9s ease-out both}.htform-bda-pulse{animation:htform-bd-pulse 2.4s ease-in-out infinite}
.htform-bda-flow{animation:htform-bd-pulse 1s ease-in-out infinite}
@keyframes htform-bd-draw{from{opacity:0}to{opacity:1}}
@keyframes htform-bd-pulse{50%{border-color:transparent}}
@media(max-width:600px){.htform-parts{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.htform-bd{animation:none}.htform-progress:after{transition:none}}

.htform-signature canvas{display:block;width:100%;aspect-ratio:3/1;touch-action:none;border:1px solid var(--htform-border);border-radius:var(--htform-radius,8px);color:var(--htform-ink);background:var(--htform-bg,#fff)}
.htform-signature button{margin-top:8px}.htform-scores{display:flex;flex-wrap:wrap;gap:8px}.htform-score{display:flex;align-items:center;gap:4px;min-height:44px;padding:8px;border:1px solid var(--htform-border);border-radius:6px;cursor:pointer}.htform-score:has(:checked){border-color:var(--htform-accent)}
.htform-cols-2 .htform-type-signature,.htform-cols-2 .htform-type-rating,.htform-cols-2 .htform-type-nps,.htform-cols-2 .htform-type-likert,.htform-cols-2 .htform-type-poll{grid-column:1/-1}.htform fieldset{min-width:0}

.htform-calc{display:block;padding:10px 14px;border:1px solid rgba(0,0,0,.15);border-radius:var(--htform-radius,8px);font-size:1.2em;font-weight:700}
.htform-rep-row{border:1px dashed rgba(0,0,0,.2);border-radius:var(--htform-radius,8px);padding:10px;margin-bottom:8px;align-items:end}
.htform-expense-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:0;border-bottom:1px solid var(--htform-border);border-radius:0;padding:12px 0}.htform-expense-grid>label{min-width:0}.htform-expense-grid>button{grid-column:1/-1;justify-self:end}.htform-expense-grid input[readonly]{background:var(--htform-bg);font-weight:600}@media(max-width:600px){.htform-expense-grid{grid-template-columns:1fr}}
