<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.section,
h3,
p {
  padding-left: 15px;
  padding-right: 15px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  background: #F6F4EF;
  color: #1f2937;
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

html{ 
	scroll-behavior:smooth; 
}

/* 🔥 ADMIN BAR AUSBLENDEN */
#wpadminbar {
  display: none !important;
}

/* ===== VARIABLES ===== */
:root {
  --green: #5F7F73;
  --green-light: #7FA596;
  --gold: #C8A96A;
  --bg: #F6F4EF;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #8e8e93;
  --font-body: 'Manrope', -apple-system, system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --auth-bar-height: 54px;
  --viewport-bottom-offset: 0px;
  --tabbar-current-height: calc(80px + env(safe-area-inset-bottom));
}

/* ===== BODY FIX ===== */
body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: 0;
  
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  overflow: hidden;
  position: relative;
}

#appWrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.03), transparent 70%);
  pointer-events: none;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(160deg, var(--green), var(--green-light));
  color: white;
  padding: calc(34px + var(--auth-bar-height) + env(safe-area-inset-top)) 20px 45px;
  border-radius: 0 0 40px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#home > .header {
  padding: calc(4px + var(--auth-bar-height) + env(safe-area-inset-top)) 20px 28px;
}

.header.small {
  padding: calc(14px + var(--auth-bar-height) + env(safe-area-inset-top)) 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.auth-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  height: calc(var(--auth-bar-height) + env(safe-area-inset-top));
  padding: calc(env(safe-area-inset-top) + 8px) 15px 8px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  background: linear-gradient(160deg, var(--green), var(--green-light));
}

.auth-bar-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-messages {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(12px);
}

.auth-network-status {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(12px);
}

.auth-network-status i,
.auth-network-status svg {
  width: 25px !important;
  height: 25px !important;
  color: #ffffff;
  stroke: currentColor;
  stroke-width: 2.05 !important;
  display: block;
}

.auth-network-status.is-offline {
  border-color: rgba(255, 196, 196, 0.58);
  background: rgba(145, 53, 53, 0.35);
}

.network-status-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -2px) scale(0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #ffffff;
  background: rgba(31, 58, 47, 0.95);
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow: 0 10px 22px rgba(15, 29, 24, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 25;
}

.auth-network-status:hover .network-status-popover,
.auth-network-status:focus-visible .network-status-popover,
.auth-network-status.status-visible .network-status-popover {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.auth-network-status.is-offline .network-status-popover {
  background: rgba(107, 31, 31, 0.93);
}

.auth-messages i {
  width: 25px !important;
  height: 25px !important;
  color: #ffffff;
}

.auth-messages svg {
  width: 25px !important;
  height: 25px !important;
  color: #ffffff;
  stroke: currentColor;
  stroke-width: 2.05 !important;
  display: block;
}

.auth-message-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e05a5a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 0 5px;
}

.auth-trigger {
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 11px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  max-width: calc(100vw - 40px);
  backdrop-filter: blur(12px);
}

.auth-trigger.logged-in {
  border-color: rgba(255,255,255,0.48);
}

.auth-label {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.auth-icon-wrap {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-icon-wrap i {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.auth-icon-wrap svg,
.auth-chevron {
  color: #ffffff;
}

.auth-chevron {
  width: 14px;
  height: 14px;
  color: #ffffff;
  opacity: 0.86;
}

.auth-dropdown {
  position: absolute;
  top: calc(var(--auth-bar-height) + env(safe-area-inset-top) - 2px);
  right: 15px;
  min-width: 182px;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dbe4df;
  box-shadow: 0 20px 35px rgba(22, 33, 28, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-dropdown-item {
  border: none;
  background: #f4f7f5;
  color: #1f2f27;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  cursor: pointer;
}

.home-header-insights {
  position: absolute;
  top: calc(var(--auth-bar-height) + env(safe-area-inset-top) + 8px);
  right: 14px;
  z-index: 2;
  width: clamp(220px, 24vw, 300px);
  max-width: calc(100% - 28px);
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(10px);
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.home-header-insights-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.home-header-insights-actions {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.home-header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(240, 248, 244, 0.64);
  color: #2f4d41;
  border: 1px solid rgba(255,255,255,0.45);
  white-space: nowrap;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-header-chip i {
  width: 13px;
  height: 13px;
  color: #2f4d41;
}

.home-header-chip-link {
  cursor: pointer;
}

.home-header-action-link {
  text-decoration: none;
  color: #2f4d41;
}

@media (max-width: 560px) {
  .home-header-insights {
    position: relative;
    top: auto;
    right: auto;
    margin: 8px auto 0;
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    padding: 10px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
  }

  .home-header-insights-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .home-header-chip {
    padding: 6px 8px;
    font-size: 11px;
    flex: none;
    min-width: 0;
    justify-content: center;
    min-height: 34px;
  }

  .home-header-chip i {
    width: 12px;
    height: 12px;
  }

  .home-header-insights-actions {
    margin-top: 6px;
    gap: 6px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    align-items: stretch;
  }

  .home-header-insights-actions .home-header-chip {
    width: 100%;
    flex: none;
    justify-content: center;
  }

  .home-header-action-link {
    width: 100%;
    justify-content: center;
  }
}

/* ===== LOGO ===== */
.logo {
  width: clamp(220px, 42vw, 340px);
  margin-bottom: 0;
}

#home > .header .logo {
  width: clamp(320px, 56vw, 580px);
  margin-top: -8px;
}

.logo.logo-home-link {
  cursor: pointer;
}

.logo.small {
  width: 120px;
  margin: 0 auto;
}

/* ===== TITLE ===== */
.title h2 {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin: 0;
}

.title h3 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-display);
  margin: 0;
}

.title p {
  font-size: 14px;
  opacity: 0.85;
  margin: 5px 0 0;
}

.section h3 {
  margin: 10px 15px 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 38px);
  line-height: 1.05;
  color: #1f2f27;
}

/* ===== LIST ===== */
.list {
  margin: 10px auto 0;
  width: calc(100% - 40px);
  padding-left: 0;
  padding-right: 0;
  background: var(--card);
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.06),
    0 25px 60px rgba(0,0,0,0.08);
}

.list-title {
  font-size: 12px;
  font-weight: 600;
  color: #a1a1a6;
  margin: 25px 20px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== ITEM ===== */
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: var(--text);
  background: white;
  transition: transform 0.15s ease, background 0.15s ease;
}

.item:last-child {
  border-bottom: none;
}

.item:hover {
  background: #f4f7f5;
  box-shadow: inset 0 0 0 1px rgba(95,127,115,0.14);
}

.item:active{
  transform: translateX(6px);
  background:#f2f4f3;
}

.item.item-placeholder {
  opacity: 0.72;
  cursor: default;
}

.item.item-placeholder:hover {
  background: white;
  box-shadow: none;
}

.item.item-placeholder:active {
  transform: none;
  background: white;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.item-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;

  background: #f2f4f3;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 10px rgba(0,0,0,0.06);
}

.item-icon i {
  width: 18px;
  height: 18px;
  color: #5F7F73;
}

.item-arrow {
  color: #c7c7cc;
  font-size: 18px;
}

/* ===== BUTTON ===== */
.button {
  background: var(--green);
  color: white;
  font-weight: 500;
  border-radius: 14px;
  padding: 12px;
  border: none;
  cursor: pointer;
  display: block;
  width: calc(100% - 30px);
  margin: 15px auto;
  box-shadow: 0 6px 18px rgba(31,58,47,0.25);
  transition: 0.2s;
}

.button:active {
  opacity: 0.9;
  transform: scale(0.96);
}

/* ===== INFO BOX ===== */
/*
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  margin: 12px 15px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  font-size: 14px;
}
  */

.info-box {
  display: block; /* 🔥 geändert */
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  margin: 12px 15px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  font-size: 14px;
}

.highlight {
  background: linear-gradient(180deg,#f4f7f6,#ffffff);
  border: 1px solid rgba(95,127,115,0.12);
}

.warning {
  background: #fff4f4;
  border: 1px solid #ffdede;
}

/* ===== MAP ===== */
.map-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px;
  border-radius: 18px;
  margin: 12px 15px;
}

.nav-btn {
  text-decoration: none;
  background: #1F3A2F;
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
}

/* ===== TABBAR ===== */
.tabbar {
  position: fixed;
  bottom: var(--viewport-bottom-offset);
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  z-index: 999;
  backdrop-filter: blur(30px);
  width:100%;
  background:white;
  touch-action: none;
  padding: 8px 0 calc(6px + max(env(safe-area-inset-bottom), 8px));
  box-shadow:0 -2px 10px rgba(0,0,0,0.05);
  z-index:1000;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  :root {
    --tabbar-current-height: calc(92px + env(safe-area-inset-bottom));
  }

  .tabbar {
    height: calc(92px + env(safe-area-inset-bottom));
    padding-top: 10px;
    padding-bottom: calc(10px + max(env(safe-area-inset-bottom), 14px));
  }

  .tab {
    font-size: 13px;
  }

  .tab span {
    font-size: 24px;
  }
}

/* 🔥 INNER = REFERENZ für Indicator */
.tabbar-inner{
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%; /* 🔥 DAS FEHLT */
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
  flex:1;
  text-align:center;
  font-size:12px;
  justify-content:center;
  color:#8e8e93;
  text-decoration:none;
  position:relative;
  z-index:2;
}

.tab-indicator.moving{
  transform: scale(1.05);
}

.tab span {
  font-size: 22px;
}

.tab.active {
  color:#5F7F73;
  transform: translateY(-4px) scale(1.05);
  font-weight: 600;
}

/* 🔥 INDICATOR */

.tab-indicator{
  position:absolute;
  bottom:0;
  height:3px;
  left:0;
  width:20%;
  background:#5F7F73;
  border-radius:2px;
  transition:transform 0.3s ease, width 0.3s ease;
  will-change: transform;
}

/*
.tab-indicator{
  position:absolute;
  left:0;
  bottom:6px;

  height:28px;
  width:60px;

  background: rgba(95,127,115,0.12);
  border-radius:999px;

  backdrop-filter: blur(10px);

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.3s ease;

  z-index:1;
}

.tab-indicator::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  box-shadow: 0 4px 12px rgba(95,127,115,0.25);
  opacity:0.6;
}
*/
/* 🔥 GLOBAL TAP EFFECT */
.tap{
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tap:active{
  transform: scale(0.96);
  opacity: 0.85;
}

/* ===== SCREEN ===== */
/*
.screen {
  background: var(--bg);
  transform: translateX(100%);
  opacity: 0;
  overflow-y: auto;
  z-index: 1;
  top:0;
  left:0;
  right:0;
  bottom: calc(80px + env(safe-area-inset-bottom));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
	
  position: absolute;
  inset: 0;
  -webkit-overflow-scrolling: touch; 
  padding-bottom: 140px; 
}
*/

.screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  /* 🔥 Platz für Tabbar inklusive iOS viewport offset */
  bottom: calc(var(--tabbar-current-height) + var(--viewport-bottom-offset));

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  background: var(--bg);

  transform: translateX(100%);
  opacity: 0;
  z-index: 1;
	
  padding-bottom: 60px; 

  transition: transform 0.35s, opacity 0.25s;
}

.screen.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

/* ===== SWIPE BACK ===== */
.screen{
  touch-action: pan-y;
}

.screen.swiping{
  transition: none !important;
}
/*
.screen.prev{
  transition: none !important;
}
*/
.screen.prev{
  transition: none !important;
}

/* ===== CARD GROUP ===== */
.card-group {
  background: white;
  border-radius: 22px;
  margin: 0 auto;
  width: calc(100% - 30px);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.home-section {
  margin-top: 25px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: #a1a1a6;
  margin: 0 20px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section{
  padding-bottom:140px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

/* ===== SPLASH ===== */ 
#appSplash{ 
	position:fixed; 
	inset:0; 
	background:#5F7F73; 
	display:flex; 
	align-items:center; 
	justify-content:center; 
	z-index:9999; 
	transition:opacity 0.6s ease; 
} 

#appSplash img{ 
	width:clamp(190px, 52vw, 300px); 
	animation:splashZoom 1.2s cubic-bezier(0.34,1.56,0.64,1); 
} 

#appSplash.hide{ 
	opacity:0; 
	pointer-events:none; 
} 

@keyframes splashZoom{ 
	0%{transform:scale(0.6); opacity:0;} 
	60%{transform:scale(1.1); opacity:1;} 
	100%{transform:scale(1);} 
}

/* ===== iOS HEADER ===== */
.ios-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(20px);
  background:rgba(246,244,239,0.85);
}

/* NAV BAR (klein) */
.nav-bar{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.nav-title{
  font-size:17px;
  font-weight:600;
  opacity:0;
  transition:0.25s;
}

/* BACK BUTTON */
.back-btn{
  position:absolute;
  left:15px;
  font-size:22px;
  background:none;
  border:none;
  color:var(--green);
}

/* LARGE TITLE */
.large-title{
  padding:10px 20px 12px;
  transition:0.3s;
}

.large-title h1{
  font-size:34px;
  font-weight:700;
  margin:0;
}

/* ===== SCROLLED STATE ===== */
.ios-header.compact .large-title{
  transform:translateY(-20px);
  opacity:0;
}

.ios-header.compact .nav-title{
  opacity:1;
}

/* iOS shadow beim scroll */
.ios-header.compact{
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

/* ===== SEARCH BAR ===== */
.search-bar{
  position: relative;
  margin: -30px 15px 15px;
  z-index: 5;
  margin-top: -40px;
}

.search-bar input{
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  border: none;
  outline: none;
  font-size: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Icon */
.search-bar::before{
  content: "search";
  font-family: "Material Icons";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0a6;
  font-size: 20px;
}

/* Focus Effekt */
.search-bar input:focus{
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* ===== SEARCH RESULTS ===== */
.search-results{
  margin: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* einzelne Treffer */
.search-item{
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Hover Effekt (Desktop wichtig) */
.search-item:hover{
  background: var(--green);
  color: white;
  transform: translateY(-1px);
}

/* Pfeil */
.search-item::after{
  content: "›";
  font-size: 18px;
  opacity: 0.5;
}

.search-item.active{
  background: var(--green);
  color: white;
}

/* Highlight Text */
.search-highlight{
  font-weight: 600;
}

.search-wrapper {
  position: relative;
}

#searchInput {
  width: 100%;
  padding-right: 40px; /* Platz für X */
}

#clearSearch {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}

#clearSearch.visible {
  opacity: 0.6;
  pointer-events: auto;
}

#clearSearch:hover {
  opacity: 1;
}

.login-banner{
  background:linear-gradient(160deg,var(--green),var(--green-light));
  color:white;
  margin:15px;
  padding:14px 16px;
  border-radius:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(31,58,47,0.25);
}

/* LEFT SIDE */
.login-left{
  display:flex;
  align-items:center;
  gap:12px;
}

/* ICON */
.login-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:rgba(255,255,255,0.2);

  display:flex;
  align-items:center;
  justify-content:center;
}

.login-icon i{
  width:20px;
  height:20px;
  color:white;
}

/* ===== LOGIN ===== */

.login-box{
  width:calc(100% - 30px);
  margin:20px auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.login-box input{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:1px solid #e5e5ea;
  font-size:15px;
  background:white;
  outline:none;
  transition:0.2s;
}

.login-box input:focus{
  border-color:var(--green);
  box-shadow:0 0 0 2px rgba(95,127,115,0.15);
}

.login-hint{
  font-size:12px;
  color:var(--muted);
  text-align:center;
  margin-top:10px;
}

.login-text{
  font-size:15px;
  font-weight:500;
  text-align:left; /* 🔥 wichtig: linksbündig */
}

/* ARROW */
.login-arrow{
  font-size:20px;
  opacity:0.7;
}

/* TAP EFFECT (falls noch nicht global) */
.login-banner:active{
  transform:scale(0.97);
}

/* Login Animation */
#login{
  animation:fadeSoft 0.4s ease;
}

.login-banner-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
}

.logout-hint{
  font-size:12px;
  opacity:0.8;
}

.button.secondary{
  background:#e5e5ea;
  color:#1f2937;
}

/* ===== MODAL ===== */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}

.modal.active{
  display:block;
}

/* BACKDROP */
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.4);
  backdrop-filter:blur(4px);
}

/* SHEET */
.modal-sheet{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:#f2f2f7;
  border-radius:20px 20px 0 0;
  padding:15px;
  animation:slideUp 0.25s ease;
}

/* TEXT */
.modal-title{
  text-align:center;
  font-weight:600;
  margin-bottom:6px;
}

.modal-sub{
  text-align:center;
  font-size:13px;
  color:#666;
  margin-bottom:12px;
}

/* BUTTONS */
.modal-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  margin-top:8px;
  font-size:15px;
  background:white;
}

.modal-btn.danger{
  color:#ff3b30;
  font-weight:600;
}

.modal-btn.cancel{
  margin-top:10px;
  font-weight:500;
}

/* ANIMATION */
@keyframes slideUp{
  from{ transform:translateY(100%); }
  to{ transform:translateY(0); }
}

.quick-access{
  padding:15px;
}

.quick-title{
  color:#8e8e93;
  margin-bottom:10px;
  font-size:13px;
  line-height:1.2;
  font-weight: 500;
  margin-top: 6px;
  min-height: 32px; 
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* max 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  font-size: clamp(12px, 2.5vw, 14px);
}

.quick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 15px;
  margin-bottom: 8px;

  font-weight: 500;
  cursor: pointer;

  border-radius: 12px;
  transition: background 0.2s;
}

.quick-header:hover {
  background: rgba(0,0,0,0.05);
}

/* Chevron Animation */
.quick-header .chevron {
  transition: transform 0.25s;
  font-size: 18px;
}

.quick-header.open .chevron {
  transform: rotate(180deg);
}

/* Grid Animation */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  transition: all 0.3s ease;
  overflow: hidden;

  gap:12px;
  padding:0 15px;
}

/* collapsed Zustand */
.quick-grid.collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

/* geöffnet */
.quick-grid.open {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 15px;
}

.quick-item{
  background:white;
  border-radius:18px;
  text-align:center;
  font-size:13px;
  box-shadow:0 6px 16px rgba(0,0,0,0.06);
  cursor:pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔥 verteilt oben / unten */
  height: 130px; /* wichtig! feste Höhe */
  padding: 12px;
}

.quick-item span{
  display:block;
  margin-top:5px;
  font-size:12px;
}

.quick-item:active{
  transform: scale(0.94);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background:#f2f4f3;
}

.quick-item:active i{
  transform: scale(0.9) rotate(-3deg);
}

.quick-item i{
  transition: transform 0.2s ease;
}

.quick-list{
  margin:10px 15px;
}

.quick-row{
  display:flex;
  align-items:center;
  gap:12px;
  background:white;
  padding:14px;
  border-radius:16px;
  margin-bottom:10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
  font-size:15px;
  cursor:pointer;
  transition:0.2s;
}

.quick-row:active{
  transform:scale(0.98);
  background:#f2f4f3;
}

.quick-row .arrow{
  margin-left:auto;
  color:#8e8e93;
}

/* Standard Icon */
i[data-lucide]{
  width:20px;
  height:20px;
  stroke-width:2;
  color:#5F7F73;
}

/* Tabbar */
.tab i{
  width:22px;
  height:22px;
  margin-bottom:2px;
  transition: transform 0.2s ease;
  display:block;
  margin:0 auto 2px;
}

.tab.active i{
  color:#5F7F73;
  transform: scale(1.2);
}

.tab.active i{
  color:#5F7F73;
  transform:scale(1.1);
}

.quick-btn.primary i{
  color:white;
}

/* 🔥 ICON CONTAINER (wichtig!) */
.quick-icon{
  width:40px;
  height:40px;
  margin:0 auto 8px;
  border-radius:12px;
  background:#f2f4f3;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 6px;
}

/* ICON */
.quick-icon i{
  width:20px;
  height:20px;
  color:#5F7F73;
}


.quick-sub{
  color:#8e8e93;
  font-size: 12px;
  opacity: 0.6;
  margin-top: auto; /* 🔥 schiebt es ganz nach unten */
  text-align: center;
}

.quick-item.primary{
  background: linear-gradient(160deg, #5F7F73, #7FA596);
  color:white;
}

.quick-item.primary .quick-icon{
  background: rgba(255,255,255,0.2);
}

.quick-item.primary i{
  color:white;
}

.fade-in{
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  margin-right: 10px;

  border-radius: 12px;
  background: #f2f4f3;

  flex-shrink: 0; /* 🔥 verhindert Zusammendrücken */

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 10px rgba(0,0,0,0.08);
}

.header-icon i {
  width: 18px;
  height: 18px;

  stroke-width: 2;
  color: #5F7F73;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;
  margin-right: 8px;

  border-radius: 12px;
  background: #f3f4f6;

  flex-shrink: 0;
}

.info-icon i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: #5F7F73;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* CONTENT */
.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-title {
  font-weight: 600;
  font-size: 16px;
  color: #1f2937;
}

.info-text {
  font-size: 14px;
  color: #6b7280;
}

/* LINK */
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #1F3A2F;
  margin-top: 4px;
}

.info-link svg {
  width: 16px;
  height: 16px;
}

.info-inline-link {
  color: #1f3a2f;
  font-weight: 600;
  text-decoration: underline;
}

/* IMAGE */
.info-media img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}

/* ===== VARIANTS ===== */

.info-box.highlight {
  background: #F3F7F5;
}

.info-box.highlight .info-icon {
  background: #E3EFEA;
}

.info-box.highlight svg {
  stroke: #1F3A2F;
}

/* WARNING */
.info-box.warning {
  background: #FFF4F4;
}

.info-box.warning .info-icon {
  background: #FFE3E3;
}

.info-box.warning svg {
  stroke: #E05A5A;
}

/* NEUTRAL */
.info-box.neutral {
  background: #F9FAFB;
}

/* ===== SMALL VARIANT ===== */

.info-box.compact .info-row {
  align-items: center;
}

.info-box.compact .info-media {
  display: none;
}

.dirs21-widget-shell {
  width: 100%;
  min-height: 280px;
}

/* ===== GALLERY NEU ===== */
/*
.info-gallery {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.info-gallery img {
  height: 120px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
*/

.info-gallery{ 
	display:grid; 
	gap:10px; 
	margin-top:10px; /* 🔥 AUTO RESPONSIVE */ 
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
}

.info-gallery img{ 
	width:100%; 
	height:120px; 
	object-fit:cover; 
	border-radius:12px; 
	cursor:zoom-in; 
	transition:0.2s; 
	margin-left:auto; 
	margin-right:auto; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: scale(0.97);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
} 

/* Desktop Optimierung */ 
@media(min-width:900px){ 
	.info-gallery{ 
		grid-template-columns: repeat(3, 1fr); /* max 3 nebeneinander */ 
		max-width:700px; /* 👈 verhindert "zu breit" */ 
	} 
	.info-gallery img{ 
		height:140px; 
	} 
}

/* OPTIONAL: schöner Scroll */
.info-gallery::-webkit-scrollbar {
  height: 6px;
}

.info-gallery::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

.header-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-icon i {
  width: 16px;
  height: 16px;
  stroke: #5F7F73;
}

.map-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*
@keyframes bouncePin {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(2px);
  }
}
*/

@keyframes bouncePin {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-8px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* nur das Icon animieren */
.header-inline svg {
  animation: bouncePin 1.4s ease-in-out infinite;
}

/* ===== FORM ===== */

.form-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus {
  border-color: #1F3A2F;
  box-shadow: 0 0 0 2px rgba(31,58,47,0.1);
}

#loginCaptchaWrap {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

#loginCaptchaWrap.hidden {
  min-height: 0;
}

#loginFriendlyCaptcha {
  width: 100%;
  min-height: 60px;
  overflow: hidden;
}

@media (max-width: 600px) {
  #loginCaptchaWrap {
    min-height: 56px;
  }

  #loginFriendlyCaptcha {
    min-height: 52px;
  }
}

/* BUTTON FULL WIDTH */
.button.full {
  width: 100%;
  justify-content: center;
}

.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.button.is-loading {
  opacity: 0.85;
}

.form-feedback {
  min-height: 18px;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
}

.form-feedback.is-error {
  color: #b42318;
}

.form-feedback.is-success {
  color: #1f7a45;
}

.account-summary {
  margin: 0 15px 12px;
}

.account-summary-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-summary-grid strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #647177;
  text-transform: uppercase;
}

.account-summary-grid span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #1f2937;
}

.account-summary-note {
  grid-column: 1 / -1;
  border-radius: 10px;
  border: 1px solid #dde8e2;
  background: #f3f7f5;
  padding: 9px 10px;
}

.account-rooms {
  margin: 0 15px 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-room-card {
  border-radius: 16px;
  border: 1px solid #e4ebe7;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 58, 47, 0.08);
  padding: 14px;
}

.account-room-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.account-room-head h4 {
  margin: 0;
  font-size: 20px;
  font-family: var(--font-display);
  color: #1f2f27;
}

.account-room-label {
  font-size: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #647177;
  margin-right: 6px;
}

.account-room-change-note {
  font-size: 12px;
  font-family: var(--font-body);
  color: #647177;
  font-weight: 500;
}

.account-room-status {
  border-radius: 999px;
  padding: 4px 9px;
  background: #eff5f2;
  color: #355548;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.account-inline-link,
.account-room-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #5f7f73, #7fa596);
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(95, 127, 115, 0.26);
}

.account-inline-link:hover,
.account-room-inline-link:hover {
  filter: brightness(1.04);
}

.account-room-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-room-grid strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #647177;
  text-transform: uppercase;
}

.account-room-grid span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #1f2937;
}

.account-room-safe {
  margin-top: 12px;
  border-radius: 12px;
  padding: 10px 11px;
  background: #f3f7f5;
  border: 1px solid #dde8e2;
}

.account-room-safe strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #5d6d74;
  text-transform: uppercase;
}

.account-room-safe span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.account-room-safe span.is-visible {
  color: #1f2f27;
}

.account-room-safe span.is-pending {
  color: #6b7280;
}

.account-room-guests {
  margin-top: 12px;
}

.account-room-guests strong {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5c6970;
}

.account-room-guests ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.account-room-guests li {
  margin-bottom: 3px;
  font-size: 14px;
  color: #253036;
}

.wlan-auto-hint {
  margin: 8px 2px 0;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
}

.wlan-profiles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wlan-profile-entry {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(95, 127, 115, 0.22);
  background: rgba(255, 255, 255, 0.62);
}

.wlan-profile-label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #51616a;
}

.wlan-profile-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

@media (max-width: 420px) {
  .account-summary-grid {
    grid-template-columns: 1fr;
  }

  .account-room-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-room-grid {
    grid-template-columns: 1fr;
  }
}

.icon-green i { color: #5F7F73; stroke: #5F7F73; }
.icon-gold i { color: #C8A96A; stroke: #C8A96A; }
.icon-blue i { color: #4A90E2; stroke: #4A90E2; }
.icon-red i { color: #E05A5A; stroke: #E05A5A; }
.icon-copper i { color: #A66A4D; stroke: #A66A4D; }

.icon-green { color: #5F7F73; }
.icon-gold { color: #C8A96A; }
.icon-blue { color: #4A90E2; }
.icon-red { color: #E05A5A; }
.icon-copper { color: #A66A4D; }

/* ===== PREMIUM DIRECTORY ===== */
.hidden {
  display: none !important;
}

.directory-shell {
  margin: 12px 15px;
  border-radius: 24px;
  padding: 14px;
  background:
    radial-gradient(140% 80% at 0% 0%, rgba(95,127,115,0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
  box-shadow: 0 18px 45px rgba(31, 58, 47, 0.08);
}

.directory-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  border: 1px solid rgba(95, 127, 115, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #f5f7f6;
  color: #355548;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.filter-chip i {
  width: 14px;
  height: 14px;
}

.filter-chip.active {
  background: linear-gradient(135deg, #5f7f73, #7fa596);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(95, 127, 115, 0.35);
}

.directory-loading,
.directory-empty {
  border-radius: 16px;
  border: 1px solid #e6ebe8;
  background: #f8fbf9;
  color: #4b5563;
  font-size: 13px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.loader-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #5f7f73;
  box-shadow: 0 0 0 0 rgba(95, 127, 115, 0.45);
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 127, 115, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(95, 127, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 127, 115, 0);
  }
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.directory-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(95, 127, 115, 0.12);
  box-shadow: 0 14px 30px rgba(18, 38, 30, 0.09);
  overflow: hidden;
}

.directory-media {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: linear-gradient(140deg, #edf4f0 0%, #f7f7f5 100%);
}

.directory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.directory-image-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f7f73;
}

.directory-image-placeholder i {
  width: 26px;
  height: 26px;
}

.directory-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.directory-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.directory-headline h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 600;
  color: #1f2f27;
}

.premium-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8f2e3;
  color: #846127;
}

.directory-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #4b5563;
  font-size: 12px;
}

.directory-meta i {
  width: 14px;
  height: 14px;
}

.directory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f3f6f4;
  color: #345749;
  font-size: 11px;
  font-weight: 600;
}

.directory-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.directory-action {
  text-decoration: none;
  color: #305244;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #dfe8e2;
  padding: 10px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
}

.directory-action.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #1f3a2f, #5f7f73);
  color: #ffffff;
}

.directory-action i {
  width: 14px;
  height: 14px;
}

@media (min-width: 900px) {
  .directory-shell {
    padding: 18px;
  }

  .directory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* ===== MESSAGES ===== */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 15px 120px;
}

.message-card {
  border-radius: 16px;
  border: 1px solid #e7ece9;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 33, 26, 0.07);
  padding: 14px;
}

.message-card.unread {
  border-color: rgba(95, 127, 115, 0.35);
}

.message-card.read {
  opacity: 0.86;
}

.message-card.urgent {
  border-color: rgba(224, 90, 90, 0.38);
  background: linear-gradient(180deg, #fff6f6 0%, #ffffff 38%);
}

.message-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.message-headline h4 {
  margin: 0;
  font-size: 21px;
  font-family: var(--font-display);
  line-height: 1.1;
}

.message-pill {
  border-radius: 999px;
  background: #1f3a2f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.message-time {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.message-body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #253036;
}

[data-i18n-preline="1"] {
  white-space: pre-line;
}

.message-cta {
  margin-top: 12px;
  width: fit-content;
}


/* ===== MOVED FROM APP.HTML INLINE STYLE (2026-04-20) ===== */
:root {
  --viewport-bottom-offset: 0px;
  --tabbar-current-height: calc(80px + env(safe-area-inset-bottom));
}

html, body {
  height: 100% !important;
  overflow: hidden !important;
}

#appWrapper {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
}

.tabbar {
  bottom: var(--viewport-bottom-offset) !important;
  padding: 8px 0 calc(6px + max(env(safe-area-inset-bottom), 8px)) !important;
}

.screen {
  bottom: calc(var(--tabbar-current-height) + var(--viewport-bottom-offset)) !important;
}

.home-header-insights {
  align-items: stretch !important;
  width: clamp(220px, 24vw, 300px) !important;
  max-width: calc(100% - 28px) !important;
  border-radius: 14px !important;
}

.account-inline-link,
.account-room-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #5f7f73, #7fa596);
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.info-inline-link {
  color: #1f3a2f;
  font-weight: 600;
  text-decoration: underline;
}

.account-room-change-note {
  font-size: 12px;
  font-family: "Manrope", sans-serif;
  color: #647177;
  font-weight: 500;
}

.home-header-insights-actions {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.home-header-action-link {
  text-decoration: none !important;
  color: #2f4d41 !important;
}

.home-header-insights-top {
  width: 100% !important;
  align-items: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.home-header-chip {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  min-height: 34px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #2f4d41 !important;
  font-weight: 700 !important;
  background: rgba(240, 248, 244, 0.64) !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
}

.home-header-chip i,
.home-header-chip svg {
  color: #2f4d41 !important;
}

.section-title,
.section h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  text-align: left;
}

.section-title .header-icon,
.section h3 .header-icon,
.quick-header .header-inline .icon-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.quick-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-header .header-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.i18n-inline-text {
  display: inline;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  position: relative;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 40px;
}

.language-switcher-trigger {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 0 12px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.language-switcher-trigger:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.language-switcher-value {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.language-switcher-chevron {
  width: 14px;
  height: 14px;
  color: #ffffff;
  opacity: 0.9;
  flex-shrink: 0;
}

.language-switcher.menu-visible .language-switcher-trigger {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.language-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -2px) scale(0.96);
  min-width: 112px;
  border-radius: 20px;
  padding: 8px;
  background: rgba(31, 58, 47, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 22px rgba(15, 29, 24, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.language-select {
  display: none !important;
}

.language-switcher.menu-visible .language-switcher-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

#authBar #authMessagesButton i,
#authBar #authMessagesButton svg,
#authBar #networkStatusButton i,
#authBar #networkStatusButton svg {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  stroke-width: 2.05 !important;
  color: #ffffff !important;
  stroke: currentColor !important;
  transform: none !important;
  display: block !important;
}

.auth-icon-wrap i {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

#authBar #networkStatusButton .network-status-popover {
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  min-width: 108px !important;
  min-height: 34px !important;
  padding: 7px 16px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transform: translate(-50%, -2px) scale(0.96) !important;
}

#authBar #networkStatusButton:hover .network-status-popover,
#authBar #networkStatusButton:focus-visible .network-status-popover,
#authBar #networkStatusButton.status-visible .network-status-popover {
  transform: translate(-50%, 0) scale(1) !important;
}

.language-option {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 12px;
  padding: 8px 9px;
  line-height: 1;
  width: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.language-option-check {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.language-option-check i,
.language-option-check svg {
  width: 12px !important;
  height: 12px !important;
  color: #ffffff !important;
  stroke: currentColor !important;
  stroke-width: 2.4 !important;
}

.language-option-label {
  display: inline-block;
  line-height: 1;
}

.language-option.active {
  background: rgba(255, 255, 255, 0.18);
}

.language-option.active .language-option-check {
  opacity: 1;
}

.language-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 52, 45, 0.28);
  backdrop-filter: blur(3px);
}

.language-loading-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #2f4d41;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.language-loading-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(95, 127, 115, 0.25);
  border-top-color: #5f7f73;
  animation: hmLanguageSpin 0.75s linear infinite;
}

@keyframes hmLanguageSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  :root {
    --tabbar-current-height: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  .tabbar {
    height: calc(92px + env(safe-area-inset-bottom)) !important;
    padding-top: 10px !important;
    padding-bottom: calc(10px + max(env(safe-area-inset-bottom), 14px)) !important;
  }

  .tab {
    font-size: 13px !important;
  }

  .tab span {
    font-size: 24px !important;
  }
}

@media (max-width: 560px) {
  .home-header-insights {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 8px auto 0 auto !important;
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    padding: 10px 12px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    backdrop-filter: blur(10px) !important;
  }

  .home-header-insights-top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .home-header-chip {
    padding: 6px 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex: none !important;
    min-width: 0 !important;
    justify-content: center !important;
    min-height: 34px !important;
  }

  .home-header-chip i,
  .home-header-chip svg {
    width: 12px !important;
    height: 12px !important;
  }

  .home-header-insights-actions {
    margin-top: 6px !important;
    gap: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .home-header-insights-actions .home-header-chip {
    width: 100% !important;
    flex: none !important;
    justify-content: center !important;
  }

  .home-header-action-link {
    width: 100% !important;
    justify-content: center !important;
  }

  .language-switcher {
    width: 64px;
    height: 36px;
  }

  .language-switcher-trigger {
    padding: 0 10px 0 11px;
  }

  .language-switcher-value {
    font-size: 12px;
  }

  .language-switcher-chevron {
    width: 12px;
    height: 12px;
  }

  .language-switcher-menu {
    min-width: 104px;
    border-radius: 16px;
    padding: 7px;
  }

  .language-option {
    font-size: 12px;
    border-radius: 10px;
    padding: 7px 8px;
  }
}

@supports (-webkit-touch-callout: none) {
  .form-group input,
  .search-bar input {
    font-size: 16px !important;
  }
}

.app-install-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabbar-current-height) + var(--viewport-bottom-offset) + 12px);
  z-index: 10020;
  pointer-events: none;
}

.app-install-cta.hidden {
  display: none !important;
}

.app-install-btn {
  pointer-events: auto;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f8fffc;
  background: linear-gradient(135deg, rgba(31, 58, 47, 0.94), rgba(95, 127, 115, 0.94));
  box-shadow: 0 16px 32px rgba(21, 36, 31, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.app-install-btn:active {
  transform: translateY(1px);
  box-shadow: 0 12px 24px rgba(21, 36, 31, 0.24);
}

.app-install-close {
  pointer-events: auto;
  position: absolute;
  top: -8px;
  right: -4px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(34, 59, 50, 0.96);
  color: #f4fffb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 35, 30, 0.36);
}

.auth-install-shortcut {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(230, 245, 239, 0.55);
  border-radius: 999px;
  background: rgba(95, 127, 115, 0.35);
  color: #ecf7f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(20, 35, 30, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-right: auto;
  flex: 0 0 auto;
}

.auth-bar-controls {
  width: 100% !important;
  justify-content: flex-end !important;
}

.auth-install-shortcut i,
.auth-install-shortcut svg {
  width: 20px;
  height: 20px;
}

.auth-install-shortcut.install-shortcut-fly-target {
  visibility: hidden;
  pointer-events: none;
}

.app-install-flyer {
  position: fixed;
  margin: 0;
  z-index: 10060;
  pointer-events: none;
  transform-origin: top left;
  transition: transform 1200ms cubic-bezier(0.2, 0.86, 0.2, 1), opacity 1200ms ease;
  will-change: transform, opacity;
}

.app-install-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.app-install-btn-icon svg {
  width: 18px;
  height: 18px;
}

.app-install-btn-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.app-install-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.app-install-sub {
  font-size: 12px;
  line-height: 1.3;
  color: rgba(248, 255, 252, 0.9);
}

.app-install-modal-sheet {
  text-align: left;
}

.app-install-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: appInstallStep;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #49575d;
  font-size: 14px;
  line-height: 1.45;
}

.app-install-steps li {
  margin: 0;
  position: relative;
  counter-increment: appInstallStep;
  padding-left: 22px;
}

.app-install-steps li::before {
  content: counter(appInstallStep) ".";
  position: absolute;
  left: 0;
  top: 1px;
  color: #66757b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.app-install-steps strong {
  color: #20342d;
}

.ios-step-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ios-step-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efec;
  color: #224039;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.ios-step-icon i,
.ios-step-icon svg {
  width: 13px;
  height: 13px;
  color: #224039;
  stroke: currentColor;
  stroke-width: 2.2;
}

.ios-step-note {
  display: block;
  margin-top: 2px;
  color: #5f6f74;
  font-size: 13px;
}

.ios-share-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  border-radius: 999px;
  background: #eef3f1;
  padding: 1px 6px;
  font-size: 12px;
  color: #2d4540;
  font-weight: 700;
}

@media (min-width: 900px) {
  .app-install-cta {
    display: none !important;
  }
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .app-install-cta {
    display: none !important;
  }
}
</style>
<!-- end Simple Custom CSS and JS -->
