.loomform{--lf-max-width:760px;--lf-bg:#fff;--lf-color:#172033;--lf-accent:#5b4ae8;--lf-radius:12px;--lf-gap:18px;box-sizing:border-box;width:100%;max-width:var(--lf-max-width);margin:1.5rem auto;padding:clamp(18px,4vw,34px);border:1px solid color-mix(in srgb,var(--lf-color) 16%,transparent);border-radius:var(--lf-radius);background:var(--lf-bg);color:var(--lf-color);box-shadow:0 14px 35px rgba(17,24,39,.08);font-family:inherit;line-height:1.5}
.loomform *{box-sizing:border-box}.loomform__title{margin:0 0 .4rem;font-size:clamp(1.5rem,4vw,2rem)}.loomform__description{margin-bottom:1.25rem}.loomform__fields{display:flex;flex-wrap:wrap;gap:var(--lf-gap)}.loomform__field{min-width:0;flex:1 1 100%}.loomform__width--25{flex-basis:calc(25% - var(--lf-gap))}.loomform__width--50{flex-basis:calc(50% - var(--lf-gap))}.loomform__width--75{flex-basis:calc(75% - var(--lf-gap))}.loomform__width--100{flex-basis:100%}
.loomform__label,.loomform legend{display:block;margin:0 0 7px;font-weight:650}.loomform fieldset{min-width:0;margin:0;padding:0;border:0}.loomform input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),.loomform select,.loomform textarea{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #758099;border-radius:calc(var(--lf-radius)/2);background:#fff;color:#111827;font:inherit;box-shadow:none}.loomform textarea{min-height:120px;resize:vertical}.loomform input[type=file]{padding:9px;border:1px dashed #758099}.loomform input:focus,.loomform select:focus,.loomform textarea:focus,.loomform button:focus-visible{outline:3px solid color-mix(in srgb,var(--lf-accent) 35%,transparent);outline-offset:2px;border-color:var(--lf-accent)}.loomform [aria-invalid=true]{border-color:#b42318!important}.loomform__required,.loomform__field-error{color:#b42318}.loomform__field-error{min-height:1.4em;margin-top:4px;font-size:.9rem}.loomform__help{margin-top:5px;color:#536076;font-size:.9rem}.loomform__choices{display:flex;flex-wrap:wrap;gap:10px 20px}.loomform__choices label{display:inline-flex;min-height:44px;align-items:center;gap:8px;cursor:pointer}.loomform__choices img{width:96px;height:72px;object-fit:cover;border-radius:6px}.loomform__choices input{width:20px;height:20px;margin:0}.loomform input[type=range]{width:100%;min-height:44px}.loomform input[type=color]{width:52px;height:44px;padding:2px;border:1px solid #758099;border-radius:6px}.loomform__date-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}.loomform__date-range label span{display:block;margin-bottom:5px}.loomform__repeat-row{display:flex;gap:8px;margin-bottom:8px}.loomform__repeat-row input{flex:1}.loomform__repeat-remove,.loomform__repeat-add{border-color:#758099!important;background:#fff;color:var(--lf-color)}
.loomform__navigation{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.loomform button{min-height:44px;padding:10px 20px;border:1px solid transparent;border-radius:calc(var(--lf-radius)/2);font:inherit;font-weight:650;cursor:pointer}.loomform__submit,.loomform__next{background:var(--lf-accent);color:#fff}.loomform__prev{border-color:#758099;background:#fff;color:var(--lf-color)}.loomform button:hover{filter:brightness(.94)}.loomform button:disabled{cursor:not-allowed;opacity:.65}.loomform button.is-loading:after{display:inline-block;width:14px;height:14px;margin-inline-start:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;content:"";vertical-align:-2px;animation:loomform-spin .7s linear infinite}
.loomform__errors{margin:0 0 18px;padding:14px 16px;border-inline-start:4px solid #b42318;border-radius:4px;background:#fff1f0;color:#741b16}.loomform__errors p{margin:0 0 6px;font-weight:700}.loomform__errors ul{margin:0;padding-inline-start:22px}.loomform__status:not(:empty){margin:0 0 18px;padding:14px 16px;border-inline-start:4px solid #18794e;background:#ecfdf3;color:#10633f}.loomform__hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.loomform__progress{height:10px;overflow:hidden;border-radius:999px;background:#e8e8f0}.loomform__progress span{display:block;height:100%;background:var(--lf-accent);transition:width .25s ease}.loomform__progress-text{margin:6px 0 0;font-size:.9rem}.loomform__image-preview{display:block;max-width:220px;max-height:160px;margin-top:8px;border-radius:6px}.loomform__field--divider hr{border:0;border-top:1px solid #d8dce5}.loomform__field--spacer{min-height:24px}.loomform-admin-notice{padding:12px;border-inline-start:4px solid #dba617;background:#fff8dd}
@keyframes loomform-spin{to{transform:rotate(360deg)}}@media(max-width:767px){.loomform{padding:20px}.loomform__width--25,.loomform__width--50,.loomform__width--75{flex-basis:100%}.loomform__submit{width:100%}}@media(max-width:375px){.loomform{padding:16px;margin:1rem 0}.loomform__navigation>*{width:100%}}@media(prefers-reduced-motion:reduce){.loomform *{scroll-behavior:auto!important;transition:none!important;animation-duration:.001ms!important}}[dir=rtl] .loomform{direction:rtl}.screen-reader-text{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}
