/* Horsevents entry form. Load AFTER the existing site and Spry stylesheets. */
.hv-entry {
  --hv-entry-accent: #245c43;
  --hv-entry-border: #bac5be;
  width: 100%;
  max-width: 720px;
  color: #202923;
  line-height: 1.5;
}
.hv-entry, .hv-entry * { box-sizing: border-box; }
.hv-entry h3 { font-size: 1.35rem; line-height: 1.35; margin: 0 0 16px; }
.hv-entry p { margin: 12px 0 20px; }
.hv-entry form { margin: 0 0 20px; }
.hv-entry .hv-entry-card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #dce3de;
  border-radius: 12px;
  background: #fff;
}
.hv-entry .hv-entry-field { margin: 0 0 20px; min-width: 0; }
.hv-entry .hv-entry-label {
  display: block;
  margin: 0 0 7px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.hv-entry .hv-entry-control {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.hv-entry .hv-entry-control > span { display: block; flex: 1; min-width: 0; }
.hv-entry .hv-entry-input,
.hv-entry .hv-entry-textarea,
.hv-entry .hv-entry-select,
.hv-entry input[type='file'] {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--hv-entry-border);
  border-radius: 6px;
  background: #fff;
  color: #202923;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
}
.hv-entry .hv-entry-textarea { min-height: 100px; resize: vertical; }
.hv-entry .hv-entry-select { max-width: 100%; }
.hv-entry input[type='file'] { padding: 8px; }
.hv-entry input[type='file']::file-selector-button {
  border: 0; border-radius: 4px; padding: 7px 10px;
  margin-right: 10px; background: #edf2ee; color: #202923; font: inherit;
  cursor: pointer;
}
.hv-entry .hv-entry-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #dce3de;
  border-radius: 6px;
  background: #f6f8f6;
  cursor: pointer;
}
.hv-entry .hv-entry-check input[type='checkbox'] {
  flex: 0 0 20px;
  width: 20px; height: 20px; min-height: 0;
  margin: 2px 0 0; padding: 0;
  accent-color: var(--hv-entry-accent);
  cursor: pointer;
}
.hv-entry .hv-entry-check span { min-width: 0; overflow-wrap: anywhere; }
.hv-entry .hv-entry-ditto {
  flex: 0 0 auto;
  width: auto; height: auto; min-height: 46px;
  margin: 0; padding: 9px 12px;
  border: 1px solid var(--hv-entry-border); border-radius: 6px;
  background: #f0f4f1; color: #245c43;
  font: inherit; font-size: 0.85rem; cursor: pointer;
}
.hv-entry .hv-entry-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid #e1e7e2;
}
.hv-entry .hv-entry-button {
  flex: 1 1 200px; min-height: 48px; width: auto;
  padding: 12px 18px; margin: 0;
  border: 1px solid var(--hv-entry-accent); border-radius: 6px;
    font: inherit; font-weight: 600; line-height: 1.4;}



.hv-entry .hv-entry-actions button.hv-entry-button {
    cursor: pointer !important;
}