@charset "UTF-8";
/* ============================================================
   actionplace – "Neuen actionplace anlegen" (Kleinanzeigen-Prinzip)
   1 Fotos  2 Angebot / Gesucht  3 Titel  4 Kategorie  5 Beschreibung
   Nur Markenfarben: Teal #3BB8C6, Navy #0D3183, Navy-Deep #081F54
   Einbindung in inc.metahead.php NACH css.actionplace_notices.css
   ============================================================ */

:root {
  --ap-teal: #3BB8C6;
  --ap-teal-soft: #EAF7F9;
  --ap-navy: #0D3183;
  --ap-navy-deep: #081F54;
  --ap-line: #E1E6EF;
  --ap-muted: #66728C;
  --ap-field-bg: #F7F8FB;
}


/* ---------- Allgemeine Feld-Bausteine ---------- */

.ap_field {
  margin: 0 0 22px 0;
}

.ap_field .input_text_search,
.ap_field textarea.input_text_search {
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 !important;
}

.ap_field_label {
  display: block;
  margin: 0 0 10px 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ap-navy-deep);
}

.ap_field_help {
  display: block;
  margin: 7px 2px 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ap-muted);
}


/* ---------- 1) FOTOS ---------- */

.ap_photo_area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.ap_photo_area > .ok_message { order: -2; }
.ap_photo_area > div:has(> .ap_upload_zone),
.ap_photo_area .ap_upload_zone { order: -1; }
.ap_photo_area > #channel_files { order: 1; }
.ap_photo_area > p.activity_sender_info_text { order: 2; }

/* show_upload_form() gibt die Zone in einem eigenen <div> aus */
.ap_upload_zone {
  position: relative;
}

#activity_content_images .ap_upload_tile,
#location_content_images .ap_upload_tile,
.ap_upload_tile {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 116px;
  margin: 0 !important;
  padding: 22px 20px !important;
  background: #fff !important;
  border: 1.5px dashed rgba(13, 49, 131, 0.35) !important;
  border-radius: 16px !important;
  color: var(--ap-navy-deep) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.ap_upload_tile:hover,
.ap_upload_tile:focus-visible {
  background: var(--ap-teal-soft) !important;
  border-color: var(--ap-teal) !important;
}

.ap_upload_icon {
  flex: 0 0 52px;
  width: 52px;
  height: 44px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 44'%3E%3Cpath d='M17 7l3-4h12l3 4h7a5 5 0 0 1 5 5v19a5 5 0 0 1-5 5H10a5 5 0 0 1-5-5V12a5 5 0 0 1 5-5z' fill='none' stroke='%230D3183' stroke-width='2.6' stroke-linejoin='round'/%3E%3Ccircle cx='26' cy='21' r='7.5' fill='none' stroke='%230D3183' stroke-width='2.6'/%3E%3Ccircle cx='42' cy='34' r='9' fill='%233BB8C6'/%3E%3Cpath d='M42 29.5v9M37.5 34h9' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ap_upload_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.ap_upload_text strong {
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ap-navy-deep);
}
.ap_upload_text small {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ap-muted);
}

.ap_upload_busy {
  display: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ap-navy);
}
.ap_upload_zone.is-uploading .ap_upload_icon,
.ap_upload_zone.is-uploading .ap_upload_text { display: none; }
.ap_upload_zone.is-uploading .ap_upload_busy { display: block; animation: ap_pulse 1.1s ease-in-out infinite; }
.ap_upload_zone.is-uploading .ap_upload_tile { pointer-events: none; border-style: solid !important; border-color: var(--ap-teal) !important; }

@keyframes ap_pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.ap_upload_zone .file_message_box {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ap-muted);
}
.ap_upload_zone .file_message_box:empty { display: none; }


/* Mediathek-Bilder */

#channel_files.div_flex_channel_files_galerie {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
#channel_files.div_flex_channel_files_galerie:not(:empty)::before {
  content: 'Oder aus Ihrer Mediathek w\00e4hlen';
  grid-column: 1 / -1;
  margin: 4px 0 2px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ap-navy-deep);
}

#channel_files .galerie_bild_container {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--ap-field-bg);
  border: 2px solid transparent !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(8, 31, 84, .12) !important;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#channel_files .galerie_bild_container:has(input[type='checkbox']:checked) {
  border-color: var(--ap-teal) !important;
  box-shadow: 0 0 0 3px rgba(59, 184, 198, .25) !important;
}

/* ganze Kachel ist klickbar (Label über die volle Fläche) */
#channel_files .galerie_bild_container_menue_flex,
#channel_files .galerie_bild_container_menue_flex > div {
  position: static !important;
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
#channel_files .galerie_bild_container input[type='checkbox'] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}
#channel_files .galerie_bild_container label {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  background: none !important;
}
#channel_files .galerie_bild_container label span {
  position: absolute !important;
  top: 8px;
  left: 8px;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  background: rgba(8, 31, 84, .35) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  box-sizing: border-box;
}
#channel_files .galerie_bild_container input[type='checkbox']:checked + label span {
  background: var(--ap-teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 16px !important;
}

/* Löschen: kleines Papierkorb-Symbol statt Farbverlauf-Balken */
#channel_files .galerie_bild_container .button_delete {
  position: absolute !important;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .94)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3183' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.8A.8.8 0 0 1 9.8 4h4.4a.8.8 0 0 1 .8.8V7M6.5 7l.9 12.2A1.5 1.5 0 0 0 8.9 20.6h6.2a1.5 1.5 0 0 0 1.5-1.4L17.5 7'/%3E%3C/svg%3E")
    no-repeat center / 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2) !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer;
}
#channel_files .galerie_bild_container .button_delete:hover {
  background-color: #fff !important;
}

/* Audio-Kacheln lesbar halten */
#channel_files .galerie_bild_container p {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  margin: 0;
  padding: 6px;
  font-size: 11px !important;
  color: var(--ap-navy-deep);
}


/* ---------- 2) ANGEBOT / GESUCHT ---------- */

.ap_offer_switch {
  display: flex;
  gap: 10px;
  margin: 0 0 20px 0;
}
.ap_offer_option {
  position: relative;
  cursor: pointer;
}
.ap_offer_option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ap_offer_option span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border: 1.5px solid var(--ap-line);
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ap-navy-deep);
  transition: border-color .15s ease, background-color .15s ease;
}
.ap_offer_option span::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #B9C2D3;
  box-sizing: border-box;
  background: #fff;
  transition: all .15s ease;
}
.ap_offer_option input:checked + span {
  border-color: var(--ap-teal);
  background: var(--ap-teal-soft);
}
.ap_offer_option input:checked + span::before {
  border: 5px solid var(--ap-navy);
}
.ap_offer_option input:focus-visible + span {
  outline: 2px solid var(--ap-teal);
  outline-offset: 2px;
}


/* ---------- 4) KATEGORIE ---------- */

.ap_cat_box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Inter', system-ui, sans-serif;
}

.ap_cat_hint {
  margin: 0;
  font-size: 13px;
  color: var(--ap-muted);
}

.ap_cat_chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.ap_cat_chips:empty { display: none; }

.ap_cat_chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--ap-line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background-color .15s ease;
}
.ap_cat_chip::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid #B9C2D3;
  box-sizing: border-box;
}
.ap_cat_chip:hover,
.ap_cat_chip:focus-visible {
  border-color: var(--ap-teal);
  background: var(--ap-teal-soft);
  outline: none;
}
.ap_cat_chip_main {
  font-weight: 600;
  font-size: 15px;
  color: var(--ap-navy-deep);
}
.ap_cat_chip_sub {
  font-size: 12.5px;
  color: var(--ap-muted);
}

.ap_cat_search_toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  padding: 6px 2px;
  border: 0;
  background: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ap-navy);
  cursor: pointer;
}
.ap_cat_search_toggle::before {
  content: '';
  width: 18px;
  height: 18px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233BB8C6' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E");
}
.ap_cat_search_toggle:hover { text-decoration: underline; text-underline-offset: 3px; }

.ap_cat_search {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ap_cat_search[hidden], .ap_cat_selected[hidden], .ap_cat_suggest[hidden], .ap_cat_search_toggle[hidden] { display: none !important; }

.ap_cat_search_input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid var(--ap-line);
  border-radius: 12px;
  background: var(--ap-field-bg);
  font: 15px 'Inter', system-ui, sans-serif;
  color: var(--ap-navy-deep);
}
.ap_cat_search_input:focus {
  outline: none;
  border-color: var(--ap-teal);
  background: #fff;
}

.ap_cat_results {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  background: #fff;
}
.ap_cat_results:empty { display: none; }
.ap_cat_result {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #EEF1F6;
  background: none;
  text-align: left;
  font: 14.5px 'Inter', system-ui, sans-serif;
  color: var(--ap-navy-deep);
  cursor: pointer;
}
.ap_cat_result:last-child { border-bottom: 0; }
.ap_cat_result:hover,
.ap_cat_result:focus-visible { background: var(--ap-teal-soft); outline: none; }

.ap_cat_pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--ap-teal);
  border-radius: 12px;
  background: var(--ap-teal-soft);
}
.ap_cat_pill_check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ap-navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 14px;
}
.ap_cat_pill_text {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: var(--ap-navy-deep);
}
.ap_cat_pill_change {
  border: 0;
  background: none;
  font: 600 14px 'Inter', system-ui, sans-serif;
  color: var(--ap-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}


/* ---------- Mobil ---------- */

@media (max-width: 560px) {
  .ap_upload_tile { min-height: 100px; gap: 14px; padding: 18px 16px !important; }
  .ap_upload_text strong { font-size: 18px; }
  .ap_offer_switch { gap: 8px; }
  .ap_offer_option { flex: 1; }
  .ap_offer_option span { width: 100%; box-sizing: border-box; justify-content: flex-start; }
  #channel_files.div_flex_channel_files_galerie { grid-template-columns: repeat(3, 1fr); }
}


/* ---------- Ohne Schrittnummern: das Formular "fließt" ----------
   Keine "1 FOTOS / 2 WAS?"-Überschriften mehr. Die Felder erklären
   sich selbst; Wann/Wo/Reichweite/Button bekommen nur ein leises Label. */

.ap_section_anchor {
  height: 0;
  margin: 0;
}

.ap_section_label {
  display: block;
  margin: 34px 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-navy-deep);
}
.ap_section_label small {
  margin-left: 6px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ap-muted);
}
.ap_section_label + .activity_sender_info_text {
  margin-top: -6px;
  font-size: 13px;
  color: var(--ap-muted);
}

/* Abstand zwischen Fotos und Angebot/Gesucht */
.ap_photo_area + .ap_offer_switch,
#activity_content_images + .ap_offer_switch {
  margin-top: 26px;
}


/* ---------- Text-Bild gestalten + volle Mediathek ---------- */

.ap_upload_zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap_more_btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--ap-line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.ap_more_btn:hover,
.ap_more_btn:focus-visible {
  border-color: var(--ap-teal);
  background: var(--ap-teal-soft);
  outline: none;
}
.ap_more_icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ap-teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 20px Georgia, 'Times New Roman', serif;
  color: var(--ap-navy);
}
.ap_more_text strong {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ap-navy-deep);
}

/* Mediathek voll: Kacheln bleiben sichtbar, wirken aber ruhig/inaktiv */
.ap_upload_zone.is-full .ap_upload_tile,
.ap_more_btn.is-disabled {
  opacity: .55;
  cursor: default;
}
.ap_upload_zone.is-full .ap_upload_tile:hover { background: #fff !important; border-color: rgba(13,49,131,.35) !important; }
.ap_more_btn.is-disabled:hover { background: #fff; border-color: var(--ap-line); }

.ap_media_full_info {
  margin: 4px 0 0 !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F3FAFB;
  border: 1px solid rgba(59,184,198,.35);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px !important;
  line-height: 1.5;
  color: #3E4C6A !important;
}
.ap_media_full_info a { color: var(--ap-navy); }
.ap_media_full_info.ap_flash { animation: ap_flash .9s ease; }
@keyframes ap_flash { 0%,100% { box-shadow: 0 0 0 0 rgba(59,184,198,0); } 30% { box-shadow: 0 0 0 4px rgba(59,184,198,.45); } }

.ap_upload_more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ap_more_btn { padding: 14px 16px; }
.ap_scan_icon {
  background: var(--ap-teal-soft) no-repeat center / 22px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3183' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3'/%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}
@media (max-width: 400px) {
  .ap_upload_more { grid-template-columns: 1fr; }
}


/* ---------- Kopfzeile (eingeloggt): rechts nur "Logout" ---------- */
.ap_user_box { display: inline-flex; align-items: center; }
.ap_user_box a.ap_logout_link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--ap-navy) !important;
}
.ap_user_box a.ap_logout_link:hover { border-color: var(--ap-teal); background: var(--ap-teal-soft); }

/* ---------- "Mein Channel": ruhige, zentrierte Karte ---------- */
.ap_channel_card {
  padding: 28px 16px 12px;
  text-align: center;
}
.ap_channel_title {
  margin: 0 0 6px !important;
  font-family: 'Quicksand', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  letter-spacing: .02em;
  color: var(--ap-teal) !important;
}
.ap_channel_name {
  display: block;
  margin: 0 0 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ap-navy-deep);
}
.ap_channel_card #content_credit_score,
.ap_channel_card #content_credit_score span { text-align: center; }


/* ============================================================
   ABSICHERUNG GEGEN ALTE PATCHES in css.actionplace_main.php
   Dort färbt ".main_content button:not(.button_login)" JEDEN Button
   mit !important als Verlaufs-Pille (volle Breite, weiße Schrift)
   und "button { opacity:.8 }" macht alle Buttons blass.
   Die neuen Bausteine bekommen hier ihre eigene Optik zurück.
   ============================================================ */

.main_content button.ap_more_btn,
.main_content button.ap_cat_chip,
.main_content button.ap_cat_search_toggle,
.main_content button.ap_cat_result,
.main_content button.ap_cat_pill_change,
.main_content button.ap_button_type_tile,
button.ap_more_btn, button.ap_cat_chip, button.ap_cat_search_toggle,
button.ap_cat_result, button.ap_cat_pill_change, button.ap_button_type_tile {
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
  background-image: none !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-align: left !important;
}

.main_content button.ap_more_btn, button.ap_more_btn {
  background: #fff !important; color: var(--ap-navy-deep) !important;
  border: 1.5px solid var(--ap-line) !important; border-radius: 14px !important;
  padding: 14px 16px !important; width: 100% !important;
}
.main_content button.ap_more_btn:hover, button.ap_more_btn:hover { background: var(--ap-teal-soft) !important; border-color: var(--ap-teal) !important; }
.main_content button.ap_more_btn.is-disabled, button.ap_more_btn.is-disabled { opacity: .55 !important; background: #fff !important; border-color: var(--ap-line) !important; }

.main_content button.ap_cat_chip, button.ap_cat_chip {
  background: #fff !important; color: var(--ap-navy-deep) !important;
  border: 1.5px solid var(--ap-line) !important; border-radius: 12px !important;
  padding: 12px 16px 12px 44px !important; width: 100% !important;
}
.main_content button.ap_cat_chip:hover, button.ap_cat_chip:hover { background: var(--ap-teal-soft) !important; border-color: var(--ap-teal) !important; }

.main_content button.ap_cat_search_toggle, button.ap_cat_search_toggle {
  background: none !important; color: var(--ap-navy) !important; border: 0 !important;
  border-radius: 0 !important; padding: 6px 2px !important; width: auto !important;
}
.main_content button.ap_cat_result, button.ap_cat_result {
  background: none !important; color: var(--ap-navy-deep) !important; border: 0 !important;
  border-bottom: 1px solid #EEF1F6 !important; border-radius: 0 !important;
  padding: 12px 16px !important; width: 100% !important; font-weight: 400 !important;
}
.main_content button.ap_cat_result:hover, button.ap_cat_result:hover { background: var(--ap-teal-soft) !important; }
.main_content button.ap_cat_pill_change, button.ap_cat_pill_change {
  background: none !important; color: var(--ap-navy) !important; border: 0 !important;
  border-radius: 0 !important; padding: 0 !important; width: auto !important;
  text-decoration: underline !important;
}
.main_content button.ap_button_type_tile, button.ap_button_type_tile {
  background: #fff !important; color: var(--ap-navy-deep) !important;
  border: 1.5px solid var(--ap-line) !important; border-radius: 12px !important;
  padding: 12px 6px !important; width: auto !important; text-align: center !important;
}
.main_content button.ap_button_type_tile.is-selected, button.ap_button_type_tile.is-selected { background: #E1F5EE !important; border-color: var(--ap-teal) !important; }

/* Editor & Scanner liegen außerhalb von .main_content, erben aber die
   alte globale Button-Regel (blass, volle Breite, Hintergrundbild) */
:where(#ap_ed, #ap_sc) button { opacity: 1; width: auto; background-image: none; border-color: transparent; }


/* ============================================================
   KOPFZEILE eingeloggt: eine ruhige Zeile – Menü links, Logout rechts
   ============================================================ */
.ap_hero_compact .ap_login_stack {
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.ap_hero_compact .flex_header_part_one {
  width: auto !important; margin: 0 !important; padding: 0 !important;
}
.ap_hero_compact .flex_header_part_two,
.ap_hero_compact .ap_login_card {
  width: auto !important; max-width: none !important; margin: 0 !important;
  padding: 0 !important; text-align: right !important; font-size: 1rem !important;
}
.ap_hero_compact .ap_login_card .ap_user_box a.ap_logout_link {
  border: 1px solid var(--ap-line) !important;
  border-left: 1px solid var(--ap-line) !important;
  margin-left: 0 !important;
  padding: 6px 14px !important;
  color: var(--ap-navy) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* "Mein Channel" gegen ältere ID-Regeln (#search_window_001 h2 …) absichern */
#search_window_001 .ap_channel_title { font-size: 26px !important; text-align: center !important; }
#search_window_001 .ap_channel_title + .ap_channel_name {
  font-size: 20px !important; color: var(--ap-navy-deep) !important; text-align: center !important; margin-bottom: 10px !important;
}
#search_window_001 .ap_channel_card #content_credit_score span { text-align: center !important; }


/* ============================================================
   RECHTSLINKS (Kontakt · Datenschutz · Impressum · AGB)
   statt Fußzeile: im Menü (eingeloggt) bzw. unter dem Login (Gäste)
   ============================================================ */
.ap_legal_links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
}
.ap_legal_links a {
  color: #8895AC !important;
  text-decoration: none !important;
  font-weight: 400 !important;
  background: none !important;
  padding: 0 !important;
}
.ap_legal_links a:hover { color: var(--ap-navy) !important; text-decoration: underline !important; }

.ap_header_dropdown .ap_legal_links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ap-line);
}
.ap_header_dropdown.is-open { max-height: calc(100vh - 64px) !important; overflow-y: auto !important; }

.ap_legal_guest {
  flex-basis: 100%;
  width: 100%;
  margin-top: 18px;
}
.ap_legal_guest a { color: rgba(255,255,255,.7) !important; }
.ap_legal_guest a:hover { color: #fff !important; }
.ap_hero_compact .ap_legal_guest { display: none !important; }

/* Fußzeile nicht mehr anzeigen (falls noch irgendwo ausgegeben) */
.footer { display: none !important; }

/* Ohne Fußzeile verteilt "margin:auto" (alte CSS) den freien Platz über
   und unter Kopfzeile/Inhalt -> große Lücken. Kopf oben, Inhalt füllt den Rest. */
/* gilt nur eingeloggt; die Gäste-Startseite bleibt mittig ausgerichtet */
body:has(.ap_hero_compact) > .top_header { margin-top: 0 !important; margin-bottom: 0 !important; }
body:has(.ap_hero_compact) > .main_content { margin-top: 0 !important; margin-bottom: 0 !important; flex: 1 0 auto; }


/* Channel-Name ist jetzt der Seitentitel (ohne doppeltes "Mein Channel") */
.ap_channel_card .ap_channel_name,
#search_window_001 .ap_channel_card .ap_channel_name {
  font-family: 'Quicksand', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  line-height: 1.25;
  color: var(--ap-navy-deep) !important;
  text-align: center !important;
  margin: 0 0 8px !important;
}

/* Hauptmenü direkt auf der Channel-Seite */
.ap_channel_menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 22px auto 8px;
  text-align: left;
}
.ap_channel_menu .content_link_menu { margin: 0 !important; }
#custom_sub_menue { padding-left: 0 !important; max-width: 480px; margin: 0 auto; }

/* ---------- Wann?: Beginn / Ende – je Datum + Uhrzeit, ohne Schnickschnack ---------- */
.ap_when { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.ap_when .ap_when_label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px; font-weight: 500; color: var(--ap-muted);
  margin-top: 6px;
}
.ap_when .ap_when_row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 10px;
}
.ap_when .ap_when_row input[type="date"],
.ap_when .ap_when_row input[type="time"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1.5px solid var(--ap-line) !important;
  border-radius: 12px !important;
  background: var(--ap-field-bg) !important;
  color: var(--ap-navy-deep) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 16px !important;
  opacity: 1 !important;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box !important;
}
.ap_when .ap_when_row input:focus { outline: none; border-color: var(--ap-teal) !important; background: #fff !important; }
.ap_when .ap_when_row input[readonly] { color: var(--ap-navy) !important; background: #EEF1F6 !important; }
/* iOS: Datumstext linksbündig statt zentriert */
.ap_when .ap_when_row input::-webkit-date-and-time-value { text-align: left; }


/* ============================================================
   KATEGORIE – schlicht & übersichtlich (Kundenwunsch)
   Vorschläge und Suchergebnisse sind dieselbe ruhige Liste:
   weiße Zeilen, feine Trennlinien, keine Farbflächen/Kreise.
   ============================================================ */
.ap_cat_chips,
.ap_cat_results {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 6px;
  border: 1px solid var(--ap-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden;
}
.ap_cat_chips:empty, .ap_cat_results:empty { display: none !important; }

.main_content button.ap_cat_result,
button.ap_cat_result {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #EEF1F6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--ap-navy-deep) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-align: left !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.main_content button.ap_cat_result:last-child, button.ap_cat_result:last-child { border-bottom: 0 !important; }
.main_content button.ap_cat_result:hover,
.main_content button.ap_cat_result:focus-visible,
button.ap_cat_result:hover, button.ap_cat_result:focus-visible {
  background: #F7F8FB !important;
  outline: none;
}

.ap_cat_hint { font-size: 13px; color: var(--ap-muted); margin: 0; }

/* Auswahl: ruhige Zeile mit feinem Haken, kein Farbfeld */
.ap_cat_pill {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 16px !important;
  border: 1px solid var(--ap-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}
.ap_cat_pill_check {
  flex: 0 0 auto !important;
  width: auto !important; height: auto !important;
  background: none !important;
  color: var(--ap-navy) !important;
  font-size: 16px; font-weight: 600; line-height: 1;
}
.ap_cat_pill_text { font-weight: 500 !important; font-size: 15px !important; color: var(--ap-navy-deep) !important; }
.main_content button.ap_cat_pill_change, button.ap_cat_pill_change {
  color: var(--ap-muted) !important; font-weight: 400 !important; font-size: 14px !important;
}

/* Suchfeld ruhig */
.ap_cat_search_input { border-width: 1px !important; }
.ap_cat_search_input:focus { border-color: var(--ap-navy) !important; box-shadow: none !important; outline: none !important; }
.main_content button.ap_cat_search_toggle, button.ap_cat_search_toggle { font-weight: 500 !important; font-size: 14px !important; }


/* ============================================================
   BUTTON-AUSWAHL – schlichte Liste wie bei der Kategorie
   (statt Farbkacheln): Symbol + Name, Haken bei der Auswahl
   ============================================================ */
.ap_button_type_grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 8px 0 6px !important;
  border: 1px solid var(--ap-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden;
  grid-template-columns: none !important;
}
.main_content button.ap_button_type_tile,
button.ap_button_type_tile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #EEF1F6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--ap-navy-deep) !important;
  text-align: left !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.main_content button.ap_button_type_tile:last-child, button.ap_button_type_tile:last-child { border-bottom: 0 !important; }
.main_content button.ap_button_type_tile:hover, button.ap_button_type_tile:hover { background: #F7F8FB !important; }
.main_content button.ap_button_type_tile.is-selected, button.ap_button_type_tile.is-selected { background: #fff !important; }

.ap_button_type_tile .ap_button_type_icon {
  flex: 0 0 18px; width: 18px !important; height: 18px !important;
  color: #8895AC !important;
}
.ap_button_type_tile .ap_button_type_icon svg { width: 18px !important; height: 18px !important; }
.ap_button_type_tile .ap_button_type_label {
  flex: 1;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ap-navy-deep) !important;
}
.ap_button_type_tile .ap_button_type_check { visibility: hidden; color: var(--ap-navy); font-size: 16px; font-weight: 600; }
.ap_button_type_tile.is-selected .ap_button_type_check { visibility: visible; }
.ap_button_type_tile.is-selected .ap_button_type_label { font-weight: 500 !important; }
.ap_button_type_tile.is-selected .ap_button_type_icon { color: var(--ap-navy) !important; }

/* Hover der alten Patches (Schatten + Anheben) bei den neuen Listen/Knöpfen abschalten */
.main_content button:is(.ap_button_type_tile, .ap_cat_result, .ap_more_btn, .ap_cat_search_toggle, .ap_cat_pill_change):hover,
.main_content button:is(.ap_button_type_tile, .ap_cat_result, .ap_more_btn, .ap_cat_search_toggle, .ap_cat_pill_change):focus {
  box-shadow: none !important;
  transform: none !important;
}

/* Dateiname/Status-Text unter "Fotos hinzufügen" nicht anzeigen – die Kachel zeigt "Wird hochgeladen …" */
.ap_upload_zone .file_message_box { display: none !important; }


/* ============================================================
   REICHWEITE-REGLER: actionplace-Icon voll sichtbar
   Ursache des Abschneidens: die alte CSS formt den Keil per
   "clip-path" direkt am Regler – das schneidet auch den Griff
   (das Icon) ab. Jetzt: Regler ohne clip-path, der Keil wird
   als Hintergrundbild gezeichnet, der Griff hat genug Platz.
   ============================================================ */
.main_content input.slider_1,
input.slider_1 {
  -webkit-appearance: none !important;
  appearance: none !important;
  clip-path: none !important;
  display: block !important;
  width: 100% !important;
  height: 40px !important;
  margin: 8px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 16' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%233BB8C6' stop-opacity='.25'/%3E%3Cstop offset='1' stop-color='%230D3183' stop-opacity='.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='0,7.2 100,0 100,16 0,8.8' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat center / calc(100% - 30px) 14px !important;
  outline: none;
  overflow: visible !important;
}
.main_content input.slider_1::-webkit-slider-runnable-track,
input.slider_1::-webkit-slider-runnable-track {
  height: 40px !important;
  background: transparent !important;
  border: 0 !important;
}
.main_content input.slider_1::-webkit-slider-thumb,
input.slider_1::-webkit-slider-thumb {
  margin-top: 5px !important;          /* (40 - 30) / 2 → senkrecht mittig */
  width: 30px !important;
  height: 30px !important;
}
.main_content input.slider_1::-moz-range-track,
input.slider_1::-moz-range-track {
  height: 40px !important;
  background: transparent !important;
  border: 0 !important;
}
.slider_1 + span { margin-top: 0 !important; }


/* ============================================================
   STANDORT PRÜFEN (nach "weiter"): nur Karte + zwei klare Knöpfe
   ============================================================ */
.ap_review_title {
  margin: 0 0 4px !important;
  font-family: 'Quicksand', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  color: var(--ap-navy-deep) !important;
}
.ap_review_hint {
  margin: 0 0 14px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5;
  color: var(--ap-muted) !important;
}
.ap_review_map { border-radius: 14px; overflow: hidden; }

.ap_review_actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 8px;
}
.main_content button.ap_btn_primary, button.ap_btn_primary,
.main_content button.ap_btn_secondary, button.ap_btn_secondary {
  display: block !important;
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 18px !important;
  border-radius: 999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  cursor: pointer;
}
.main_content button.ap_btn_primary, button.ap_btn_primary {
  background: var(--ap-navy) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
}
.main_content button.ap_btn_primary:hover, button.ap_btn_primary:hover { background: var(--ap-navy-deep) !important; box-shadow: none !important; transform: none !important; }
.main_content button.ap_btn_secondary, button.ap_btn_secondary {
  background: #fff !important;
  background-image: none !important;
  color: var(--ap-navy) !important;
  border: 1px solid var(--ap-line) !important;
}
.main_content button.ap_btn_secondary:hover, button.ap_btn_secondary:hover { background: #F7F8FB !important; box-shadow: none !important; transform: none !important; }

/* Google-Karte: deren eigene Knöpfe nicht von der alten Button-Regel einfärben lassen */
.main_content .gm-style button {
  background: none !important;
  background-image: none !important;
  color: inherit !important;
  width: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  opacity: 1 !important;
}


/* ============================================================
   MEINE ACTIONPLACES – ruhige Karten
   Kopf: Kategorie | Schalter · Titel · 3 Infozeilen · Textlinks
   ============================================================ */
.activity_list_detail_container.ap_ap_card {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px !important;
  padding: 16px 18px !important;
  background: #fff !important;
  border: 1px solid var(--ap-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
}
.ap_ap_card.is-ended { background: #FAFBFC !important; }
.ap_ap_card.is-ended .ap_card_title { color: var(--ap-muted) !important; }

.ap_card_top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap_card_cat {
  font-size: 13px; font-weight: 500; color: var(--ap-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}

/* Status-Schalter */
.ap_card_status { flex: 0 0 auto; display: flex; align-items: center; }
.ap_ap_card input.ap_switch_input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; pointer-events: none; display: block !important; }
.ap_ap_card label.ap_switch {
  display: inline-flex !important; align-items: center; gap: 8px;
  margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
  background: none !important; cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif !important; font-weight: 500 !important; font-size: 13px !important;
  color: var(--ap-muted) !important; white-space: nowrap;
}
.ap_ap_card label.ap_switch i.ap_switch_track {
  position: relative; display: inline-block !important;
  width: 38px; height: 22px; margin: 0 !important; padding: 0 !important;
  border-radius: 999px !important; background: #D5DBE5 !important;
  transition: background-color .15s ease;
}
.ap_ap_card label.ap_switch i.ap_switch_track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s ease;
}
.ap_ap_card input.ap_switch_input:checked + label.ap_switch i.ap_switch_track { background: var(--ap-teal) !important; }
.ap_ap_card input.ap_switch_input:checked + label.ap_switch i.ap_switch_track::after { left: 19px; }
.ap_ap_card input.ap_switch_input:checked + label.ap_switch { color: var(--ap-navy-deep) !important; }
.ap_ap_card label.ap_switch b.ap_switch_text { font-weight: inherit; }
.ap_status_text.is-ended { font-size: 13px; color: var(--ap-muted); }

/* Titel */
.ap_ap_card a.ap_card_title {
  display: block;
  font-family: 'Quicksand', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.3;
  color: var(--ap-navy-deep) !important;
  text-decoration: none !important;
}
.ap_ap_card a.ap_card_title:hover { text-decoration: underline !important; text-underline-offset: 3px; }

/* Infozeilen mit feinen Symbolen */
.ap_card_meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ap_card_meta li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.45; color: #3E4C6A;
}
.ap_ic { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; background: no-repeat center / contain; opacity: .7; }
.ap_ic_cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3183' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ap_ic_pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3183' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ap_ic_eye { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3183' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }

/* Aktionen: schlichte Textlinks, Löschen rechts */
.ap_card_actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 4px; padding-top: 12px; border-top: 1px solid #EEF1F6;
}
.ap_card_actions_main { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ap_ap_card a.ap_card_link {
  font-size: 14px !important; font-weight: 500 !important;
  color: var(--ap-navy) !important; text-decoration: none !important; background: none !important;
}
.ap_ap_card a.ap_card_link:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.ap_ap_card a.ap_card_link_muted { color: var(--ap-muted) !important; font-weight: 400 !important; }
.ap_card_confirm { font-size: 14px; color: var(--ap-navy-deep); display: inline-flex; gap: 8px; align-items: center; }
.ap_ap_card a.ap_card_link_danger { color: #B42318 !important; }

/* ============================================================
   REICHWEITE – ruhige Live-Anzeige (kein Springen beim Ziehen)
   ============================================================ */
#ap_reichweite { min-height: 0 !important; }
.ap_reach_info { font-variant-numeric: tabular-nums; }
.ap_reach_val { color: #2a9aa7; font-variant-numeric: tabular-nums; }
.ap_reach_topup {
  display: block; margin: 6px auto 0; max-width: 32em;
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.4;
  color: #0D3183 !important; text-decoration: underline; text-underline-offset: 3px;
}
.ap_reach_topup[hidden] { display: block !important; visibility: hidden; }
#ap_reach_cmp {
  min-height: 7.4em; /* Platz fuer 3-4 Zeilen, damit die Regler nicht wandern */
  display: flex !important; align-items: center !important;
  font-variant-numeric: tabular-nums;
  transition: none !important; animation: none !important;
}
input.slider_1 { touch-action: pan-y; }

/* Gast-Startseite: Link zu den oeffentlichen Anzeigen */
.ap_discover_link {
  display: block; margin: 18px auto 0; max-width: 420px; padding: 13px 18px;
  border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  color: #fff !important; text-align: center; text-decoration: none !important;
  font: 600 15px/1.35 'Inter', system-ui, sans-serif;
}
.ap_discover_link:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   LOGIN / GAST-STARTSEITE – gleiches Layout wie entdecken.php
   (Logo links, "Anzeigen entdecken" rechts, Begruessung mittig,
   Login im Glasfeld, Rechtliches dezent unten)
   ============================================================ */
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) {
  background: linear-gradient(180deg, #0B1E55 0%, #13307F 38%, #24508F 66%, #3F8DB1 88%, #5BB4C4 100%) !important;
  background-color: #24508F !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}
.top_header.ap_login_hero:not(.ap_hero_compact) {
  display: flex !important; flex-direction: column !important;
  min-height: 100vh; min-height: 100svh;
  width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; box-shadow: none !important; border: 0 !important;
}
body:has(#search_window_001.ap_force_show) .top_header.ap_login_hero:not(.ap_hero_compact) { min-height: 0; }
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_login_stack {
  display: flex !important; flex-direction: column !important; align-items: center !important;
  flex: 1 1 auto; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; gap: 0 !important; text-align: center;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_login_logo {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  width: 100% !important; max-width: 1040px !important; min-height: 76px;
  margin: 0 auto !important; padding: 0 16px !important; box-sizing: border-box;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_login_logo a { display: inline-block; }
.top_header.ap_login_hero:not(.ap_hero_compact) .logo_header {
  height: 34px !important; width: auto !important; max-width: 60vw; margin: 0 !important;
}
.ap_guest_top_link {
  display: inline-flex !important; align-items: center; min-height: 40px; padding: 0 18px !important;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.45);
  color: #fff !important; text-decoration: none !important; white-space: nowrap;
  font: 600 14px/1 'Inter', system-ui, sans-serif;
}
.ap_guest_top_link:hover { background: rgba(255,255,255,.12); }
.ap_hero_compact .ap_guest_only { display: none !important; }

.ap_guest_intro { width: 100%; max-width: 640px; padding: 28px 16px 4px; box-sizing: border-box; }
.ap_guest_intro h1 {
  margin: 0 0 8px !important; color: #fff !important; text-align: center;
  font: 700 30px/1.15 'Quicksand', 'Inter', sans-serif !important; letter-spacing: 0;
}
.ap_guest_intro p { margin: 0 0 22px !important; color: rgba(255,255,255,.78) !important; font: 400 16px/1.5 'Inter', system-ui, sans-serif; }
@media (min-width: 760px) { .ap_guest_intro { padding-top: 44px; } .ap_guest_intro h1 { font-size: 40px !important; } }

.top_header.ap_login_hero:not(.ap_hero_compact) #login_frame {
  width: calc(100% - 32px) !important; max-width: 520px !important; box-sizing: border-box;
  margin: 0 auto !important; padding: 24px 20px !important;
  background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 20px !important; box-shadow: none !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9) !important; text-align: center !important;
  font: 400 16px/1.5 'Inter', system-ui, sans-serif;
}
.top_header.ap_login_hero:not(.ap_hero_compact) #login_frame a.a_text {
  color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px;
  background: none !important; box-shadow: none !important; padding: 0 !important; font-weight: 500;
}
.top_header.ap_login_hero:not(.ap_hero_compact) #login_frame > span > a.a_text:first-of-type {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 26px !important; margin: 0 10px 0 0; border-radius: 999px !important;
  background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%) !important;
  color: #fff !important; text-decoration: none !important; font: 600 15px/1 'Inter', sans-serif !important;
  box-shadow: 0 6px 18px rgba(8,31,84,.3) !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) #login_frame form { margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.top_header.ap_login_hero:not(.ap_hero_compact) .input_text_login {
  width: 100% !important; box-sizing: border-box; margin: 0 !important;
  padding: 12px 18px !important; min-height: 48px;
  border-radius: 999px !important; border: 1px solid rgba(255,255,255,.3) !important;
  background: rgba(255,255,255,.12) !important; color: #fff !important;
  font: 400 16px 'Inter', system-ui, sans-serif !important; box-shadow: none !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .input_text_login::placeholder { color: rgba(255,255,255,.7) !important; }
.top_header.ap_login_hero:not(.ap_hero_compact) .input_text_login:focus { outline: none !important; border-color: #7FD3DD !important; background: rgba(255,255,255,.18) !important; }
.top_header.ap_login_hero:not(.ap_hero_compact) .button_login,
.top_header.ap_login_hero:not(.ap_hero_compact) .button_login:hover {
  width: 100% !important; min-height: 48px; margin: 0 !important; padding: 0 20px !important;
  border: 0 !important; border-radius: 999px !important; opacity: 1 !important; cursor: pointer;
  background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%) !important;
  color: #fff !important; font: 600 15px 'Inter', sans-serif !important; text-transform: none !important;
  box-shadow: 0 6px 18px rgba(8,31,84,.3) !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .lost_pw_text {
  display: inline-block !important; margin-top: 14px !important; cursor: pointer;
  color: rgba(255,255,255,.85) !important; text-decoration: underline; text-underline-offset: 3px;
  font: 400 14px 'Inter', system-ui, sans-serif !important; background: none !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .login_message_error {
  background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.25) !important;
  border-left: 3px solid #3BB8C6 !important; color: #fff !important; text-align: left;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px;
  max-width: calc(100% - 32px); box-sizing: border-box; margin: 18px auto 28px !important; padding: 0 22px !important;
  background: transparent !important; border: 1px solid rgba(255,255,255,.45) !important; border-radius: 999px !important;
  color: #fff !important; text-decoration: none !important;
  font: 600 15px/1.3 'Inter', system-ui, sans-serif !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link:hover { background: rgba(255,255,255,.12) !important; }
.top_header.ap_login_hero:not(.ap_hero_compact) #login_frame nobr { white-space: normal; }
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest {
  display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  width: 100% !important; margin: auto 0 0 !important; padding: 18px 16px 22px !important; box-sizing: border-box;
  background: rgba(8,31,84,.28) !important; border: 0 !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest a {
  color: rgba(255,255,255,.82) !important; text-decoration: none !important; font: 400 13px 'Inter', system-ui, sans-serif !important;
}
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest a:hover { color: #fff !important; }
@media (max-width: 420px) {
  .ap_guest_top_link { padding: 0 14px !important; min-height: 36px; font-size: 13px; }
  .top_header.ap_login_hero:not(.ap_hero_compact) .logo_header { height: 28px !important; }
}

/* Login: gemerkte E-Mail */
.ap_login_user_hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden; }
.ap_login_as { margin: 0 0 12px !important; font: 400 15px/1.45 'Inter', system-ui, sans-serif; color: rgba(255,255,255,.85); overflow-wrap: anywhere; }
.ap_login_as b { color: #fff; font-weight: 600; }
.ap_login_as a, .ap_login_switch { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; cursor: pointer; background: none !important; }
.ap_login_switch { display: block; margin: 12px auto 0; font: 400 14px 'Inter', system-ui, sans-serif; color: rgba(255,255,255,.85) !important; }
.ap_login_switch[hidden] { display: none !important; }
.ap_hero_compact .ap_login_as { color: var(--ap-text, #3E4C6A); }
.top_header.ap_login_hero:not(.ap_hero_compact) .button_login:focus { outline: 2px solid rgba(255,255,255,.75) !important; outline-offset: 3px; }

/* Gast: Registrierung ("neu anmelden" / "+ neuen Account erstellen") sicher sichtbar */
#search_window_001.ap_force_show { display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; }
body:has(#search_window_001.ap_force_show) .main_content { display: block !important; visibility: visible !important; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show {
  width: calc(100% - 32px) !important; max-width: 640px !important; margin: 8px auto 40px !important;
  padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes {
  background: #fff !important; color: #081F54; border-radius: 20px !important;
  padding: 24px 20px !important; box-shadow: 0 12px 32px rgba(8,31,84,.25) !important; scroll-margin-top: 16px;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes h2 {
  color: #081F54 !important; font: 700 22px/1.25 'Quicksand', 'Inter', sans-serif !important; text-align: left !important;
}
body:has(#search_window_001.ap_force_show) .top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest { display: none !important; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes { font: 400 16px/1.5 'Inter', system-ui, sans-serif; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search {
  display: block; width: 100% !important; box-sizing: border-box; margin: 0 0 10px !important; min-height: 48px;
  padding: 12px 16px !important; border: 1.5px solid #E1E6EF !important; border-radius: 12px !important;
  background: #F7F8FB !important; color: #081F54 !important; font: 400 16px 'Inter', system-ui, sans-serif !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search:focus { outline: none; border-color: #3BB8C6 !important; background: #fff !important; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show label,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show label a { font: 400 15px/1.5 'Inter', system-ui, sans-serif !important; color: #3E4C6A; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show label a { color: #0D3183 !important; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show button,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show button:hover {
  width: 100% !important; min-height: 48px; margin-top: 14px !important; border: 0 !important; border-radius: 999px !important; opacity: 1 !important;
  background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%) !important; color: #fff !important; font: 600 15px 'Inter', sans-serif !important; cursor: pointer;
}

/* Fotos direkt vom Handy (nicht in der Mediathek) */
.ap_photo_area > #ap_draft_files { order: -3; margin-bottom: 4px; }
.ap_draft_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 2px 0 6px; }
.ap_draft_item {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: #EEF2F7 center / cover no-repeat; border: 1px solid #E3E8F0;
}
.ap_draft_item.is-cover { border: 2px solid var(--ap-teal, #3BB8C6); }
.ap_draft_cover {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(8,31,84,.78); color: #fff; font: 600 11px 'Inter', system-ui, sans-serif;
}
.ap_draft_type { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 15px 'Inter', sans-serif; color: #0D3183; }
.main_content .ap_draft_remove, .ap_draft_remove, .ap_draft_remove:hover {
  position: absolute !important; top: 6px; right: 6px; width: 30px !important; height: 30px; min-height: 30px !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: rgba(255,255,255,.92) !important; background-image: none !important; box-shadow: 0 2px 6px rgba(8,31,84,.2) !important;
  color: #081F54 !important; font: 600 20px/30px 'Inter', sans-serif !important; opacity: 1 !important; cursor: pointer; text-align: center;
}

/* Angaben aus dem Bild uebernehmen (KI) */
.ap_photo_area > #ap_ai_box { order: -3; }
.ap_ai_box { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 8px; }
.main_content .ap_ai_btn, .ap_ai_btn, .ap_ai_btn:hover {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100% !important; min-height: 48px; padding: 0 18px !important; margin: 0 !important;
  border: 1.5px solid var(--ap-teal, #3BB8C6) !important; border-radius: 999px !important;
  background: #F1FAFB !important; background-image: none !important; box-shadow: none !important; opacity: 1 !important;
  color: #0D3183 !important; font: 600 15px 'Inter', system-ui, sans-serif !important; cursor: pointer;
}
.ap_ai_btn[disabled] { opacity: .7 !important; cursor: progress; }
.ap_ai_note { font: 400 13px/1.45 'Inter', system-ui, sans-serif; color: #5B6785; text-align: center; }
.ap_ai_filled { border-color: #3BB8C6 !important; box-shadow: 0 0 0 3px rgba(59,184,198,.22) !important; transition: box-shadow .3s; }

/* Erfolgsseite: WhatsApp-Kanal folgen */
.ap_share_box .ap_wa_follow { display: block; margin-top: 14px; text-align: center; font: 500 14px 'Inter', system-ui, sans-serif; color: #0D3183 !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* Hinweis nach dem Abmelden */
.ap_guest_intro .ap_logout_note { display: inline-block; margin: 0 0 14px !important; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff !important; font: 500 14px 'Inter', system-ui, sans-serif; }

/* Vorlagen */
.ap_tpl { margin: 0 0 14px; }
.ap_tpl_list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ap_tpl_chip { display: inline-flex; align-items: center; max-width: 100%; border: 1.5px solid #E3E8F0; border-radius: 999px; background: #fff; overflow: hidden; }
.ap_tpl_chip .ap_tpl_use { padding: 9px 6px 9px 16px; color: #0D3183 !important; text-decoration: none !important; font: 600 14px 'Inter', system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.ap_tpl_chip .ap_tpl_del { padding: 6px 12px 6px 8px; color: #8A96AD !important; text-decoration: none !important; font: 400 18px/1 'Inter', sans-serif; }
.ap_tpl_chip:hover { border-color: #3BB8C6; }

/* Meine actionplaces: Hinweise + Erneuern */
.ap_card_info { display: block; padding: 4px 0; font: 400 14px/1.45 'Inter', system-ui, sans-serif; color: #1B7480; }
.ap_ap_card .ap_card_renew {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0 0 10px;
  border-radius: 999px; background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%); color: #fff !important;
  text-decoration: none !important; font: 600 15px 'Inter', system-ui, sans-serif;
}
.ap_ap_card.is-ended .ap_card_actions { flex-wrap: wrap; }

/* Registrierung: Zustimmung zu AGB / Datenschutz – kleine, elegante Haken */
.ap_consent { display: flex !important; align-items: flex-start; gap: 12px; margin: 10px 0 !important; cursor: pointer; font: 400 15px/1.45 'Inter', system-ui, sans-serif !important; color: #3E4C6A; }
.ap_consent input.input_checkbox {
  -webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px !important; height: 22px !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 1.5px solid #B9C4D6 !important; border-radius: 7px !important;
  background: #fff !important; cursor: pointer; position: relative; display: inline-block !important; box-shadow: none !important;
}
.ap_consent input.input_checkbox:checked { background: #0D3183 !important; border-color: #0D3183 !important; }
.ap_consent input.input_checkbox:checked::after {
  content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ap_consent input.input_checkbox:focus-visible { outline: 2px solid #3BB8C6; outline-offset: 2px; }
.ap_consent span { padding-top: 1px; }
.ap_consent a { color: #0D3183 !important; text-decoration: underline !important; text-underline-offset: 3px; font: inherit !important; }

/* Gast-Kopf: Logo mittig */
.top_header.ap_login_hero:not(.ap_hero_compact) .ap_login_logo { justify-content: center !important; }
.ap_guest_intro p strong { color: #fff; font-weight: 600; }

/* Guthaben: Hinweis auf befristetes Startguthaben */
.ap_start_credit_note { display: block; margin-top: 2px; font: 400 12px/1.4 'Inter', system-ui, sans-serif; color: #6B7690; }

/* ============================================================
   Login: EINE Form (Pille) und EINE Breite fuer Feld, "weiter"
   und "Anzeigen entdecken" - mit hoher Spezifitaet gegen alte Regeln
   ============================================================ */
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame {
  width: calc(100% - 32px) !important; max-width: 520px !important;
  margin-left: auto !important; margin-right: auto !important; align-self: center !important;
  padding: 22px 20px !important; left: auto !important; right: auto !important; position: relative !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame form { width: 100% !important; margin: 0 !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login_width {
  display: block !important; width: 100% !important; max-width: none !important; height: 52px !important; min-height: 52px !important;
  margin: 0 !important; box-sizing: border-box !important; border-radius: 999px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important; font-size: 16px !important; letter-spacing: 0 !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login {
  padding: 0 20px !important; border: 1px solid rgba(255,255,255,.32) !important;
  background: rgba(255,255,255,.12) !important; color: #fff !important; font-weight: 400 !important; text-align: left !important;
}
/* Browser-Autofill (helles Feld) an das Design anpassen */
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login:-webkit-autofill,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #2A4C8C inset !important; box-shadow: 0 0 0 100px #2A4C8C inset !important;
  -webkit-text-fill-color: #fff !important; caret-color: #fff; transition: background-color 9999s;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:hover {
  padding: 0 20px !important; border: 0 !important; opacity: 1 !important; font-weight: 600 !important; text-transform: none !important;
  background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%) !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(8,31,84,.28) !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .lost_pw_text,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .ap_login_switch,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .ap_login_as {
  font-family: 'Inter', system-ui, sans-serif !important; font-size: 14px !important;
}
/* "Anzeigen entdecken": gleiche Form, gleiche Breite wie "weiter" */
body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: calc(100% - 74px) !important; max-width: 478px !important; height: 52px !important; min-height: 52px !important;
  margin: 18px auto 28px !important; padding: 0 20px !important; box-sizing: border-box !important;
  border: 1.5px solid rgba(255,255,255,.55) !important; border-radius: 999px !important; background: transparent !important;
  color: #fff !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 16px/1 'Inter', system-ui, sans-serif !important;
}
@media (max-width: 360px) { body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link { font-size: 15px !important; } }

/* ============================================================
   Login – ruhiger & dezenter: mehr Luft, gleiche Hoehe, keine Rahmen
   ============================================================ */
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame {
  padding: 28px 24px 24px !important; border: 0 !important; border-radius: 24px !important;
  background: rgba(255,255,255,.06) !important; box-shadow: none !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame form { display: flex !important; flex-direction: column !important; gap: 14px !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login_width,
body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link {
  height: 50px !important; min-height: 50px !important; max-height: 50px !important; line-height: 50px !important;
  padding-top: 0 !important; padding-bottom: 0 !important; border: 0 !important; outline: 0;
  box-shadow: none !important; font-size: 16px !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login {
  background: rgba(255,255,255,.14) !important; color: #fff !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login:focus {
  background: rgba(255,255,255,.2) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35) !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login:-webkit-autofill,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .input_text_login:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #2B4B88 inset !important; box-shadow: 0 0 0 100px #2B4B88 inset !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:hover {
  background: #3BB8C6 !important; background-image: none !important; color: #06223A !important; font-weight: 600 !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:focus { outline: none !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.35) !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .lost_pw_text { margin-top: 20px !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .lost_pw_text,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .ap_login_switch,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .ap_login_as a {
  color: rgba(255,255,255,.72) !important; font-weight: 400 !important; text-decoration-thickness: 1px !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .ap_login_switch { margin-top: 10px !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link {
  margin: 24px auto 32px !important; background: rgba(255,255,255,.1) !important; font-weight: 500 !important;
  width: calc(100% - 80px) !important; max-width: 472px !important;
}
body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_discover_link:hover { background: rgba(255,255,255,.16) !important; }

/* ============================================================
   EINHEITLICHER HAUPTKNOPF – ueberall gleich
   (Pille, 50 px hoch, Teal-Blau-Verlauf, weisse Schrift Inter 600)
   ============================================================ */
:root { --ap-btn-grad: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%); }
body .main_content button.ap_btn_primary, body button.ap_btn_primary,
body .main_content button.ap_btn_primary:hover, body button.ap_btn_primary:hover,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login,
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:hover,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show button,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show button:hover,
body .ap_ap_card a.ap_card_renew {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; height: 50px !important; min-height: 50px !important; max-height: 50px !important;
  margin: 0 !important; padding: 0 20px !important; box-sizing: border-box !important;
  border: 0 !important; border-radius: 999px !important; opacity: 1 !important; transform: none !important;
  background: var(--ap-btn-grad) !important; background-color: #3BB8C6 !important;
  color: #fff !important; text-decoration: none !important; text-transform: none !important;
  font: 600 16px/1 'Inter', system-ui, -apple-system, sans-serif !important; letter-spacing: 0 !important;
  box-shadow: none !important; cursor: pointer;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show button { margin-top: 18px !important; }
body .ap_ap_card a.ap_card_renew { margin-bottom: 12px !important; }
body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame .button_login:focus { outline: none !important; }

/* Registrierung: Zustimmungs-Haeckchen klein (18 px) – gegen alte Regeln abgesichert */
body #search_window_001 .ap_consent { display: flex !important; align-items: center !important; gap: 10px !important; margin: 8px 0 !important; }
body #search_window_001 .ap_consent input.input_checkbox,
body #search_window_001 .ap_consent input[type="checkbox"] {
  -webkit-appearance: none !important; appearance: none !important;
  flex: 0 0 18px !important; width: 18px !important; height: 18px !important; min-width: 18px !important; min-height: 18px !important; max-height: 18px !important;
  margin: 0 !important; padding: 0 !important; border: 1.5px solid #B9C4D6 !important; border-radius: 5px !important;
  background: #fff !important; box-shadow: none !important; position: relative !important; display: inline-block !important; transform: none !important;
}
body #search_window_001 .ap_consent input.input_checkbox:checked { background: #2E7EAE !important; border-color: #2E7EAE !important; }
body #search_window_001 .ap_consent input.input_checkbox:checked::after {
  content: '' !important; position: absolute !important; left: 5px !important; top: 1px !important; width: 4px !important; height: 9px !important;
  border: solid #fff !important; border-width: 0 2px 2px 0 !important; transform: rotate(45deg) !important; background: none !important;
}
body #search_window_001 .ap_consent span { padding: 0 !important; line-height: 1.4 !important; }
body #search_window_001 .user_profl_changes form br { display: none; }

/* ============================================================
   FARBKONZEPT 60-30-10 (Registrierung & Formularkarten)
   60 % ruhige Flaeche: Weiss + Hauch Teal (#F3FAFB) statt Grau
   30 % Markentraeger: Navy (#0D3183 / #081F54) fuer Titel, Texte, Links
   10 % Akzent: Teal (#3BB8C6) + Verlauf nur dort, wo gehandelt wird
   ============================================================ */
:root {
  --ap-surface: #FFFFFF; --ap-tint: #F3FAFB; --ap-tint-line: #D5EAEE;
  --ap-navy: #0D3183; --ap-navy-deep: #081F54; --ap-text-soft: #4A5A7A;
  --ap-teal: #3BB8C6; --ap-teal-dark: #2E7EAE;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes {
  position: relative !important; overflow: hidden !important;
  background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%) top left / 100% 6px no-repeat, var(--ap-surface) !important;
  padding: 30px 20px 26px !important; color: var(--ap-navy-deep) !important;
  box-shadow: 0 16px 40px rgba(8,31,84,.28) !important;
}
/* Titel: Navy, darueber kleine Teal-Zeile als Markenanker */
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes h2 {
  margin: 0 0 6px !important; color: var(--ap-navy-deep) !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes h2::before {
  content: 'Neues Konto'; display: block; margin-bottom: 6px;
  color: var(--ap-teal-dark); font: 600 12px/1.2 'Inter', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
/* Eingabefelder: heller Teal-Hauch, feine Teal-Linie statt Grau */
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search {
  height: 50px !important; min-height: 50px !important; padding: 0 16px !important; margin: 0 0 12px !important;
  background: var(--ap-tint) !important; border: 1.5px solid var(--ap-tint-line) !important; border-radius: 14px !important;
  color: var(--ap-navy-deep) !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s, background .15s;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search::placeholder { color: #5E6F8E !important; opacity: 1; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search:focus {
  background: #fff !important; border-color: var(--ap-teal) !important; box-shadow: 0 0 0 4px rgba(59,184,198,.16) !important; outline: none !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .input_text_search:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--ap-tint) inset !important; -webkit-text-fill-color: var(--ap-navy-deep) !important;
}
/* Zustimmung: Text Navy-Grau, Links Navy mit Teal-Unterstrich, Haekchen im Akzent */
body #search_window_001 .ap_consent span,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show label { color: var(--ap-text-soft) !important; }
body #search_window_001 .ap_consent a,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show label a {
  color: var(--ap-navy) !important; font-weight: 500 !important;
  text-decoration: underline !important; text-decoration-color: var(--ap-teal) !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px;
}
body #search_window_001 .ap_consent input.input_checkbox,
body #search_window_001 .ap_consent input[type="checkbox"] { border-color: #A9D8DF !important; background: var(--ap-tint) !important; }
body #search_window_001 .ap_consent input.input_checkbox:checked,
body #search_window_001 .ap_consent input[type="checkbox"]:checked { background: var(--ap-teal-dark) !important; border-color: var(--ap-teal-dark) !important; }
body #search_window_001 .ap_consent input:focus-visible { box-shadow: 0 0 0 3px rgba(59,184,198,.3) !important; }
/* Hinweise in der Karte (z. B. "Bitte noch kurz pruefen") im Markenton */
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes a:not(.button) { color: var(--ap-navy); }

/* ============================================================
   LOGIN: Feld, "weiter" und "Anzeigen in der Naehe" EXAKT gleich
   breit und hoch (gegen alte min-width/width-Regeln abgesichert)
   ============================================================ */
html body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame form {
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important;
}
html body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame input.input_text_login,
html body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame button.button_login {
  width: 100% !important; min-width: 0 !important; max-width: 100% !important; flex: 0 0 50px !important; align-self: stretch !important;
  height: 50px !important; min-height: 50px !important; max-height: 50px !important;
  margin: 0 !important; left: auto !important; right: auto !important; position: static !important; transform: none !important;
  box-sizing: border-box !important; border-radius: 999px !important;
}
/* Nebenknopf unter der Karte: gleiche Breite wie der Inhalt der Karte (Karte max 520, Innenabstand 24) */
html body .top_header.ap_login_hero:not(.ap_hero_compact) a.ap_discover_link {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
  width: calc(100% - 80px) !important; max-width: 472px !important; min-width: 0 !important;
  height: 50px !important; min-height: 50px !important; max-height: 50px !important; line-height: 1 !important;
  padding: 0 16px !important; box-sizing: border-box !important; border-radius: 999px !important;
  white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important;
  font: 500 16px/1 'Inter', system-ui, -apple-system, sans-serif !important;
}
html body .top_header.ap_login_hero:not(.ap_hero_compact) a.ap_discover_link .ap_lupe { flex: 0 0 20px; width: 20px; height: 20px; }

/* ============================================================
   UNTERE LEISTE IM CHANNEL (wie eBay): Meine - Anlegen - Guthaben - Konto
   nur eingeloggt und nur auf dem Handy/Tablet (< 900 px);
   dort ersetzt sie das Menue oben links. 60-30-10: helle Leiste,
   Navy-Grau fuer Symbole, Teal nur fuer "aktiv" und den Anlegen-Knopf.
   ============================================================ */
.ap_tabbar, .ap_sheet { display: none; }
@media (max-width: 899px) {
  body.ap_has_tabbar #ap_header_menu_btn, body.ap_has_tabbar #ap_header_dropdown { display: none !important; }
  body.ap_has_tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  html body nav.ap_tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
    justify-content: space-around; align-items: stretch;
    margin: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-sizing: border-box;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(8,31,84,.10); border: 0;
  }
  html body nav.ap_tabbar a.ap_tab {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 56px; padding: 4px 0; margin: 0; border: 0; border-radius: 14px; background: none !important; box-shadow: none !important;
    color: #5E6F8E !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent;
    font: 500 12px/1.1 'Inter', system-ui, -apple-system, sans-serif !important; letter-spacing: 0;
  }
  html body nav.ap_tabbar a.ap_tab svg {
    width: 24px; height: 24px; margin: 2px 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  }
  html body nav.ap_tabbar a.ap_tab.on { color: #1B7480 !important; font-weight: 600 !important; }
  html body nav.ap_tabbar a.ap_tab:focus-visible { outline: 2px solid #3BB8C6; outline-offset: -2px; }
  /* Anlegen: einziger farbiger Punkt (Akzent) */
  html body nav.ap_tabbar a.ap_tab_add i {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 28px; border-radius: 999px;
    background: linear-gradient(90deg, #5BC0CC 0%, #2E7EAE 100%); color: #fff;
  }
  html body nav.ap_tabbar a.ap_tab_add i svg { width: 20px; height: 20px; margin: 0; stroke: #fff; stroke-width: 2.4; }
  html body nav.ap_tabbar a.ap_tab_add.on { color: #1B7480 !important; }

  /* Konto-Blatt von unten */
  html body .ap_sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 9500; }
  .ap_sheet_back { position: absolute; inset: 0; background: rgba(8,31,84,.35); }
  .ap_sheet_box {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto;
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); box-sizing: border-box;
    background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 32px rgba(8,31,84,.2);
    animation: ap_sheet_in .2s ease-out;
  }
  @keyframes ap_sheet_in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
  .ap_sheet_grip { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #D5EAEE; }
  html body .ap_sheet_box a.ap_sheet_item {
    display: flex; align-items: center; min-height: 52px; padding: 0 14px; margin: 0 0 6px; border-radius: 14px;
    background: #F3FAFB !important; color: #081F54 !important; text-decoration: none !important; box-shadow: none !important;
    font: 500 16px/1.2 'Inter', system-ui, sans-serif !important;
  }
  .ap_sheet_legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding: 14px 0 2px; }
  html body .ap_sheet_legal a { color: #4A5A7A !important; font: 400 13px 'Inter', system-ui, sans-serif !important; text-decoration: none !important; }
}
@media (prefers-reduced-motion: reduce) { .ap_sheet_box { animation: none; } }

/* ============================================================
   MESSERSCHARF CLEAN (Login / Registrierung, v. a. iPhone-Safari)
   - kein Trennstrich unter dem Kopf (alte redesign-Linie)
   - Verlauf als fest stehende Ebene statt background-attachment:fixed
     (Safari kann "fixed" nicht -> Streifen/Farbsprung unten)
   - keine abgeschnittenen Schatten, keine Kappe oben an der Karte
   - kein Weichzeichner (verursacht auf dem iPhone unsaubere Ecken)
   - Fusszeile ohne eigenen Farbblock
   ============================================================ */
body .top_header::after, body .top_header::before { content: none !important; display: none !important; }

html:has(.top_header.ap_login_hero:not(.ap_hero_compact)) { background: #0B1E55 !important; }
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) {
  background: transparent !important; background-image: none !important; background-attachment: scroll !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact))::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #0B1E55 0%, #13307F 40%, #24508F 70%, #3A80AC 100%);
}

/* Login-Glasfeld + Nebenknopf: flache, ruhige Flaechen ohne Blur */
html body .top_header.ap_login_hero:not(.ap_hero_compact) #login_frame {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: rgba(255,255,255,.07) !important; border: 0 !important; box-shadow: none !important;
  border-radius: 24px !important; overflow: hidden;
}
html body .top_header.ap_login_hero:not(.ap_hero_compact) a.ap_discover_link {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; border: 0 !important;
  background: rgba(255,255,255,.10) !important;
}

/* Registrierungskarte: reine weisse Flaeche, gleiche Rundung ueberall, kein Schatten */
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show {
  overflow: visible !important; background: transparent !important; box-shadow: none !important; border: 0 !important;
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #search_window_001.ap_force_show .user_profl_changes {
  background: #fff !important; background-image: none !important;
  border: 0 !important; border-radius: 24px !important; box-shadow: none !important;
  padding: 28px 20px 24px !important; overflow: hidden !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: Rundung sauber kappen */
}
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) #id_main_content,
body:has(.top_header.ap_login_hero:not(.ap_hero_compact)) .main_content {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
}

/* Fusszeile Gast: kein dunkler Block, nur leise Links */
html body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
  margin-top: auto !important; padding: 28px 16px calc(24px + env(safe-area-inset-bottom)) !important;
}
html body .top_header.ap_login_hero:not(.ap_hero_compact) .ap_legal_guest a { color: rgba(255,255,255,.62) !important; }

/* ============================================================
   KATEGORIE-AUSWAHL: robust auf dem Handy
   - kein eigener Scrollkasten (Liste laeuft im Seitenfluss mit)
   - Zeilen immer gleich hoch, nichts ueberlagert sich
   - Zeile "Kategorie fehlt? vorschlagen"
   ============================================================ */
html body .ap_cat_results { max-height: none !important; overflow: visible !important; }
html body .ap_cat_box button.ap_cat_result {
  display: block !important; position: static !important; float: none !important;
  width: 100% !important; height: auto !important; min-height: 48px !important; max-height: none !important;
  margin: 0 !important; padding: 13px 16px !important; box-sizing: border-box !important;
  border: 0 !important; border-bottom: 1px solid #EEF1F6 !important; border-radius: 0 !important;
  background: #fff !important; color: #081F54 !important; opacity: 1 !important;
  font: 400 15px/1.35 'Inter', system-ui, sans-serif !important; text-align: left !important;
  white-space: normal !important; overflow-wrap: anywhere; line-height: 1.35 !important; transform: none !important; box-shadow: none !important;
}
html body .ap_cat_box button.ap_cat_result:last-child { border-bottom: 0 !important; }
html body .ap_cat_box .ap_cat_chips, html body .ap_cat_box .ap_cat_results {
  display: block !important; overflow: hidden !important; border: 1px solid #D5EAEE !important; border-radius: 14px !important; background: #fff !important;
}
html body .ap_cat_box .ap_cat_chips:empty, html body .ap_cat_box .ap_cat_results:empty { display: none !important; }
html body .ap_cat_box button.ap_cat_result.ap_cat_propose { background: #F3FAFB !important; color: #1B7480 !important; font-weight: 600 !important; }
.ap_cat_proposal_note { margin: 0; padding: 10px 14px; border-radius: 12px; background: #F3FAFB; color: #0D3183; font: 500 14px/1.4 'Inter', system-ui, sans-serif; }
.ap_cat_proposal_note[hidden] { display: none !important; }

/* Karte beim Anlegen (OpenStreetMap): Punkt + Kreis in Markenfarben */
.ap_pin { width: 30px; height: 30px; border-radius: 50%; background: #0D3183; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(59,184,198,.35); box-sizing: border-box; }
.ap_review_map .leaflet-control-attribution { font: 11px 'Inter', system-ui, sans-serif; color: #4A5A7A; }
.ap_review_map .leaflet-control-attribution a { color: #0D3183; }
.ap_review_map .leaflet-tile-pane { filter: saturate(.7) contrast(.96); }
.ap_review_map_hint { margin: 10px 2px 0; font: 400 14px/1.45 'Inter', system-ui, sans-serif; color: #4A5A7A; }

/* Statistik zum Eintrag: eine Schriftgroesse, dezent */
.ap_stats { margin: 4px 0 2px; font: 400 15px/1.5 'Inter', system-ui, sans-serif; color: #4A5A7A; }
.ap_stats .ap_stats_t { margin: 0 0 6px; font: 600 15px/1.4 'Inter', system-ui, sans-serif; color: #081F54; }
.ap_stats ul { list-style: none; margin: 0; padding: 0; }
.ap_stats li { margin: 0 0 4px; font-size: 15px; color: #4A5A7A; }
.ap_stats li b { display: inline-block; min-width: 2.2em; font-weight: 600; color: #0D3183; }
.ap_card_link.ap_card_edit { font-weight: 600; }

/* Keine Internetverbindung: EIN Hinweis statt vieler */
.ap_offline { position: fixed; left: 16px; right: 16px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 9800; max-width: 520px; margin: 0 auto;
  padding: 14px 18px; border-radius: 16px; background: #081F54; color: #fff; font: 500 15px/1.4 'Inter', system-ui, sans-serif; text-align: center; }
.ap_offline[hidden] { display: none; }

/* Wiederverwenden: zwei Moeglichkeiten unter der Karte */
.ap_reuse { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.ap_reuse[hidden] { display: none !important; }
html body .ap_reuse a.ap_reuse_opt {
  display: block; padding: 12px 14px; border-radius: 14px; background: #F3FAFB !important; border: 0 !important;
  color: #081F54 !important; text-decoration: none !important; box-shadow: none !important;
  font: 400 14px/1.4 'Inter', system-ui, sans-serif !important;
}
.ap_reuse a.ap_reuse_opt b { display: block; font-weight: 600; font-size: 15px; color: #0D3183; }
.ap_reuse a.ap_reuse_opt span { color: #4A5A7A; }
.ap_reuse .ap_card_info { display: block; padding: 12px 14px; border-radius: 14px; background: #F3FAFB; color: #1B7480; font: 500 14px/1.4 'Inter', system-ui, sans-serif; }

/* Rechte-Bestaetigung vor dem Veroeffentlichen / Speichern */
body #search_window_001 .ap_consent.ap_rights, .ap_consent.ap_rights { align-items: flex-start !important; margin: 16px 0 12px !important; padding: 12px 14px; border-radius: 14px; background: #F3FAFB; }
.ap_consent.ap_rights span { font: 400 14px/1.45 'Inter', system-ui, sans-serif !important; color: #4A5A7A !important; }
.ap_consent.ap_rights input { margin-top: 2px !important; }
html body button.ap_btn_primary:disabled, html body #ap_edit_save_btn:disabled { opacity: .45 !important; cursor: not-allowed !important; }

/* Foto entfernen (x) im Entwurf: gegen spaetere Knopf-Regeln absichern (sonst Verlaufsbalken ueber dem Bild) */
html body .ap_draft_item button.ap_draft_remove,
html body #search_window_001 .ap_draft_item button.ap_draft_remove,
html body .ap_draft_item button.ap_draft_remove:hover {
  position: absolute !important; top: 6px !important; right: 6px !important; left: auto !important; bottom: auto !important;
  display: block !important; width: 30px !important; max-width: 30px !important; min-width: 0 !important; height: 30px !important; min-height: 30px !important;
  flex: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: rgba(255,255,255,.95) !important; background-image: none !important; box-shadow: none !important;
  color: #081F54 !important; font: 600 20px/30px 'Inter', sans-serif !important; opacity: 1 !important; text-align: center !important; transform: none !important;
}

/* Laufzeit: Datum "sichtbar ab" als Alternative zum Regler */
.ap_visfrom { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 18px; text-align: left; }
.ap_visfrom label { font: 600 14px/1.3 'Inter', sans-serif; color: #081F54; }
html body .ap_visfrom input[type=date] { width: 100% !important; min-width: 0 !important; margin: 0 !important; font-size: 16px !important; }
html body .ap_visfrom input[type=date]:disabled { opacity: .5; }
.ap_visfrom_info { font: 13px/1.4 'Inter', sans-serif; color: #4A5A7A; }
