/* HM Beitragsrechner V8.1.94 -- compact coherent form geometry.
 * Pure presentation. Shared by original quote form and custom application,
 * while keeping every original input/name, autocomplete, tariff and intake.
 * Labels' font settings are emitted via the EXISTING typo editor as inline CSS.
 */

/* 1. Calculator: remove legacy 22px floating-offset and use true labels ABOVE
 * the input, regardless of filled/focused state. Keep original field semantics. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form {
  row-gap:12px!important;
  column-gap:12px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field {
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:4px!important;
  margin:0!important;padding:0!important;
  min-width:0!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field > label,
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field.hmbr81-is-floated > label,
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field:focus-within > label {
  display:block!important;position:static!important;
  inset:auto!important;left:auto!important;top:auto!important;
  transform:none!important;transition:none!important;
  width:auto!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  background:transparent!important;pointer-events:auto!important;
}
/* Ensure native breed/age text remains visible even before focus once labels
 * have been moved out of their formerly overlapping interior position. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field > :is(input,select) {
  display:block!important;width:100%!important;min-width:0!important;
  height:46px!important;min-height:46px!important;
  padding:9px 12px!important;
  margin:0!important;box-sizing:border-box!important;
  border:1px solid #cbded3!important;border-radius:5px!important;
  box-shadow:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field > input::placeholder {
  opacity:1!important;color:#88948e!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field > select:invalid {
  color:#88948e!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-field.hmbr81-float-field:focus-within > :is(input,select) {
  border:1px solid #00a075!important;outline:2px solid rgba(0,160,117,.15)!important;outline-offset:0!important;
}
/* Preserve the existing pet name input, which has additional non-price metadata. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-petname-field [data-hmbr81-pet-name] {
  height:46px!important;min-height:46px!important;
  padding:9px 12px!important;
  border:1px solid #cbded3!important;border-radius:5px!important;
}
/* Info/chevron glyphs centred inside the 46px control, BELOW its label. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-age-info-field > button.hmbr81-field-info {
  top:26px!important;right:38px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-field-info {
  top:26px!important;right:55px!important;
}
/* 2. Native breed input: info control, fine divider and accessible search button.
 * Both icon buttons are intentionally ABOVE the in-flow suggestions popup. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > input[name="rasse"] {
  padding-right:104px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search {
  position:absolute!important;top:22px!important;right:5px!important;z-index:5!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  max-width:44px!important;max-height:44px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;
  color:#005e52!important;cursor:pointer!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search::before {
  content:""!important;display:block!important;
  position:absolute!important;left:0;top:10px;bottom:10px;
  width:1px;background:#b8d5c8;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search::after {
  content:none!important;display:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search svg {
  display:block!important;flex:0 0 21px!important;width:21px!important;height:21px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search:hover,
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search:focus {
  background:#edf6f2!important;color:#00a075!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field > button.hmbr81-breed-search:focus-visible {
  outline:2px solid #005e52!important;outline-offset:2px!important;border-radius:4px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field:has(input[name="rasse"]:disabled) > button.hmbr81-breed-search {
  opacity:.45!important;cursor:not-allowed!important;
}
/* 3. The mixed-breed choice is a slim secondary selection, not a competing CTA. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-help {
  margin:2px 0 0!important;padding:3px 0 0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-help__label {
  margin:0 0 7px!important;padding:0!important;
  font-size:.8125rem!important;line-height:1.35!important;
  font-weight:400!important;color:#222!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-help__label strong {
  color:#005e52!important;font-weight:500!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-help__choices {
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-choice {
  box-sizing:border-box!important;
  width:auto!important;min-height:40px!important;height:auto!important;
  padding:9px 12px!important;margin:0!important;
  font-size:.875rem!important;font-weight:400!important;line-height:1.3!important;
  color:#005e52!important;background:#fff!important;
  border:1px solid #cbded3!important;border-radius:5px!important;
  box-shadow:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-choice:hover,
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-choice:focus-visible {
  border-color:#00a075!important;background:#edf6f2!important;color:#005e52!important;
}
@media(max-width:650px){
  body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-help__choices {
    display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr))!important;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content .hm-of-mixed-breed-choice {width:100%!important;}
}
/* 4. Application: identical compact controls and vertical rhythm. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid {
  row-gap:12px!important;column-gap:12px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid > :is(.hmbr81-app__field,.hmbr81-app__hint-wrap,.hmbr81-app__date-control,.hmbr81-app__choice),
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field.hmbr81-float-field {
  margin:0!important;padding:0!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:4px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field > .hmbr81-app__field-label,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__choice > legend {
  display:block!important;position:static!important;
  top:auto!important;left:auto!important;
  margin:0!important;padding:0!important;
  background:transparent!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field > :is(input,select) {
  box-sizing:border-box!important;display:block!important;
  width:100%!important;min-width:0!important;
  height:46px!important;min-height:46px!important;
  margin:0!important;padding:9px 12px!important;
  border:1px solid #cbded3!important;border-radius:5px!important;
  box-shadow:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field > :is(input,select):focus {
  border:1px solid #00a075!important;outline:2px solid rgba(0,160,117,.15)!important;
}
/* Accordion remains native/select-driven; only its closed control height changes. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__holder-accordion > summary {
  box-sizing:border-box!important;min-height:46px!important;
  padding-top:7px!important;padding-bottom:7px!important;
}
/* Existing icons stay in the input's right-hand reserve, not on the label. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__hint-wrap > button.hmbr81-field-info,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__hint-wrap--holder > button.hmbr81-field-info {
  top:26px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__field-counter {
  top:35px!important;
}
/* Date icon and transparent native picker both follow the text field vertically. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__date-control > .hmbr81-app__date-icon {
  top:32px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__date-control > .hmbr81-app__date-picker {
  top:26px!important;
}
/* The empty/floating field state is still managed by the original code. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field > :is(input,select)::placeholder {
  opacity:1!important;
}
/* 5. Keep space for existing icons and counters when compacting fields. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-age-info-field > select[name="alter"] {
  padding-right:94px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hmbr81-age-info-field::after {
  top:45px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__hint-wrap .hmbr81-app__field > input {
  padding-right:54px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__hint-wrap:has(select) .hmbr81-app__field > select {
  padding-right:92px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__formgrid .hmbr81-app__field[data-app-field="chip"] > input {
  padding-right:120px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__date-control .hmbr81-app__field[data-app-field="insurance_start"] > input[name="insurance_start"] {
  padding-right:103px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app .hmbr81-app__hint-wrap--holder .hmbr81-app__field[data-app-field="pet_holder"]::after {
  top:45px!important;
}

/* V8.1.96 -- preserve original cat-only holding-field visibility.
 * The original calculator always renders this input on generic Hund/Katze
 * pages but marks it [hidden] when a dog is selected. The V8.1.94 layout
 * rule above uses display:flex!important; its ID specificity otherwise
 * wins over the earlier, generic [hidden] rules. This narrow selector
 * restores the original native hidden state without touching the select,
 * its required/disabled handling, breed lookup, pricing or referral state.
 */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > [data-hm-of-holding-field][hidden],
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of[data-tierart="Hund"] .hm-of-calculator-content form.hm-of-form > [data-hm-of-holding-field] {
  display:none!important;
}


/* V1.0.112 – Rassefeld nur optisch nicht mehr ausgrauen.
 * Das Feld bleibt funktional bis zur Tierart-Auswahl deaktiviert:
 * Keine Aenderung an Tierart-Pflichtfeld, Rassenabfrage, Make/CRM oder Tarifierung.
 * Im nativen und iOS-Safari-Disabled-Zustand dieselbe visuelle Praesenz
 * wie bei den anderen 46px-Feldern sicherstellen. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of
.hm-of-calculator-content form.hm-of-form > .hm-of-field--breed > input[name="rasse"]:disabled {
  opacity:1!important;
  background:#fff!important;
  border-color:#cbded3!important;
  color:#222!important;
  -webkit-text-fill-color:#222!important;
  filter:none!important;
  cursor:default!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of
.hm-of-calculator-content form.hm-of-form > .hm-of-field--breed > input[name="rasse"]:disabled::placeholder {
  opacity:1!important;
  color:#5c7168!important;
  -webkit-text-fill-color:#5c7168!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of
.hm-of-calculator-content form.hm-of-form > .hmbr81-breed-search-field:has(input[name="rasse"]:disabled) > button.hmbr81-breed-search {
  opacity:1!important;
  color:#005e52!important;
  cursor:default!important;
}
