.hk-form{--hk-accent:var(--e-global-color-7f58784,#3f245d);--hk-ink:var(--e-global-color-text,#222);--hk-surface:var(--e-global-color-secondary,#fff);font:inherit;color:var(--hk-ink);width:100%;line-height:1.5}
.hk-form *{box-sizing:border-box}.hk-form [hidden]{display:none!important}
.hk-form .hk-intro{margin:0 0 2rem}.hk-intro span{display:block;margin-top:.5rem;font-size:.875em}
.hk-form fieldset{border:0;border-top:1px solid #e0e4e8;padding:1.5rem 0 0;margin:0 0 2rem;min-width:0}
.hk-form legend{font:inherit;font-weight:700;font-size:1.15em;padding:0 1rem 0 0;max-width:100%}
.hk-form .hk-field{margin:0 0 1.25rem;min-width:0}.hk-form label:not(.hk-choice),.hk-label{display:block;margin-bottom:.5rem}
.hk-form input:not([type=radio]):not([type=checkbox]),.hk-form textarea,.hk-form select{font:inherit;line-height:1.5;width:100%;max-width:100%;border:1px solid #666;border-radius:8px;padding:.65rem .75rem;background:var(--hk-surface);color:var(--hk-ink)}
.hk-form textarea{resize:vertical;min-height:7rem}.hk-form input[type=file]{border-style:dashed;padding:1rem;white-space:normal}
.hk-form input::file-selector-button{font:inherit;padding:.5rem 1rem;border:1px solid var(--hk-accent);border-radius:6px;background:var(--hk-surface);color:var(--hk-accent);margin-right:1rem;cursor:pointer}
.hk-form .hk-help{font-size:.875em;margin:.25rem 0 1.25rem;color:#444}.hk-form .hk-help a{color:var(--hk-accent);text-decoration:underline}
.hk-form .hk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.hk-form .hk-grid .hk-field{margin-bottom:0}.hk-form .hk-grid{margin-bottom:1.25rem}
.hk-form .hk-choices{display:flex;gap:1.5rem;flex-wrap:wrap}.hk-form .hk-choice{display:flex;align-items:baseline;gap:.6rem;font:inherit;cursor:pointer;margin:0}
.hk-form .hk-choice input{accent-color:var(--hk-accent);flex-shrink:0;margin-right:.3rem}.hk-form .hk-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.hk-form .hk-child{padding-left:1.25rem}.hk-form .hk-category-group{display:flex;flex-direction:column;gap:.8rem}.hk-form .hk-parent{font-weight:700}
.hk-form button{font:inherit;font-size:1rem;line-height:1.3;border:1px solid var(--hk-accent);border-radius:100px;background:var(--hk-accent);color:var(--hk-surface);padding:1rem 2rem;cursor:pointer;white-space:normal;text-transform:none}
.hk-form button:hover{filter:brightness(.9)}.hk-form button:disabled{opacity:.6;cursor:wait}.hk-form .hk-secondary{background:transparent;color:var(--hk-accent);padding:.65rem 1.15rem}
.hk-form .hk-date-row{display:flex;gap:.75rem;align-items:center;margin:0 0 .75rem}.hk-form .hk-date-row input{min-width:0;flex:1}.hk-form .hk-remove{font-size:.875rem;flex-shrink:0}
.hk-form .hk-image-preview,.hk-form .hk-preview-cover{display:block;width:auto;max-width:100%;max-height:280px;object-fit:contain;border-radius:8px;margin:1rem 0}
.hk-form .hk-status{padding:1.25rem;border:1px solid var(--hk-accent);border-left-width:4px;border-radius:8px;margin-bottom:1.5rem;background:var(--hk-surface)}
.hk-form .hk-status-error{border-color:#a12222}.hk-form .hk-error{display:block;color:#a12222;font-size:.875em;margin-top:.4rem}.hk-form [aria-invalid=true]{border-color:#a12222!important}
.hk-form :is(input,textarea,select,button,a):focus-visible{outline:3px solid var(--hk-accent)!important;outline-offset:3px}
.hk-form .hk-preview h2{font:inherit;font-size:1.5em;font-weight:700;line-height:1.2;margin:0 0 1rem}.hk-form .hk-preview h3{font:inherit;font-size:1.3em;font-weight:700;margin:1rem 0}
.hk-form .hk-preview-description{white-space:pre-wrap;overflow-wrap:anywhere}.hk-form .hk-preview dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:.7rem 1rem;margin:1.5rem 0}
.hk-form .hk-preview dt{font-weight:700}.hk-form .hk-preview dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.hk-form .hk-private-note{border-top:1px solid #e0e4e8;padding-top:1rem;font-size:.875em;overflow-wrap:anywhere}
.hk-form .hk-actions{display:flex;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}.hk-form .hk-captcha-note{margin:1.5rem 0 0;font-size:.75em}
.hk-form .hk-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:640px){.hk-form .hk-grid,.hk-form .hk-category-list{grid-template-columns:1fr}.hk-form .hk-grid{gap:1rem}.hk-form .hk-date-row{flex-wrap:wrap}.hk-form .hk-actions{flex-direction:column}.hk-form .hk-actions button{width:100%}.hk-form .hk-preview dl{grid-template-columns:1fr;gap:.3rem}.hk-form .hk-preview dd{margin-bottom:.6rem}.hk-form input[type=datetime-local]{min-height:48px}}
