/* AI Concierge – Chat-Widget (mobile-stable) */
html { -webkit-text-size-adjust: 100%; }

:root{
  --al-concierge-accent: var(--accent, #2aa6a6);
  --al-concierge-radius: 14px;
  --al-concierge-shadow: 0 14px 40px rgba(0,0,0,.18);
  --al-concierge-bg: #ffffff;
  --al-concierge-text: #1b1b1b;
}

html.al-concierge-open,
body.al-concierge-open{
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.al-brand-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.al-concierge-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:48px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.al-concierge-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}
.al-concierge-ico{
  width:26px;
  height:26px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background: color-mix(in srgb, var(--al-concierge-accent) 14%, white);
}
.al-concierge-label{
  font-weight:600;
  font-size:14px;
  color: var(--al-concierge-text);
}

.al-concierge-panel{
  position:fixed;
  z-index: 9999;
  width: 360px;
  max-width: min(92vw, 420px);
  background: var(--al-concierge-bg);
  border-radius: var(--al-concierge-radius);
  box-shadow: var(--al-concierge-shadow);
  border:1px solid rgba(0,0,0,.10);
  overflow:hidden;

  display:flex;
  flex-direction:column;

  transform: translateY(-6px);
  opacity:0;
  pointer-events:none;
  transition: opacity .14s ease, transform .14s ease;
}
.al-concierge-panel.is-open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

.al-concierge-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background: var(--al-concierge-accent);
  color:white;
  flex: 0 0 auto;
}
.al-concierge-panel__title{
  font-weight:700;
  font-size:14px;
  line-height:1.1;
}
.al-concierge-panel__subtitle{
  font-size:12px;
  opacity:.92;
}
.al-concierge-close{
  appearance:none;
  border:none;
  background: rgba(255,255,255,.18);
  color:white;
  width:34px;
  height:34px;
  border-radius:12px;
  cursor:pointer;
  font-size:20px;
  line-height:34px;
}

.al-concierge-panel__body{
  padding:12px 14px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}
.al-concierge-msg{
  padding:10px 12px;
  border-radius: 12px;
  font-size:14px;
  line-height:1.35;
  max-width: 92%;
}
.al-concierge-msg--bot{
  background: rgba(0,0,0,.04);
  color: var(--al-concierge-text);
  align-self:flex-start;
}
.al-concierge-msg--user{
  background: color-mix(in srgb, var(--al-concierge-accent) 16%, white);
  color: var(--al-concierge-text);
  align-self:flex-end;
}

.al-concierge-panel__foot{
  display:flex;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  flex: 0 0 auto;
}

.al-concierge-input{
  flex:1;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
  padding:0 14px;
  outline:none;
  font-size:16px; /* iOS prevents zoom */
}
.al-concierge-send{
  height:42px;
  padding:0 16px;
  border-radius:999px;
  border:none;
  background: var(--al-concierge-accent);
  color:white;
  font-weight:700;
  cursor:pointer;
  font-size:16px;
}

.al-concierge-fallback{
  position:fixed;
  right:18px;
  bottom: calc(18px + var(--al-cookie-banner-h, 0px) + 12px);
  z-index:9999;
}

@media (max-width: 520px){
  .al-concierge-label{ display:none; }
  .al-concierge-button{ padding:0 12px; height:44px; }

  .al-concierge-panel{
    left: 10px !important;
    right: 10px !important;
    top: 72px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 84px);
    border-radius: 16px;
  }
}
