/* The assistant is a focused conversation, not a three-column landing page. */
.service-site .booking-assistant__panel {
  /* This dialog deliberately uses a light canvas in either site theme. Keep
     its foreground and form tokens light too, especially on dark-mode phones. */
  --text:#171614; --text-dim:#34322e; --text-muted:#645f59;
  --surface:#fff; --surface-2:#f6f4f0; --border:rgba(20,18,15,.14);
  --accent-soft:#fff0e7; --accent-ink:#a93909;
  color:#171614; color-scheme:light;
  inset:0; width:100vw; height:100dvh; max-height:none; padding:76px max(24px, calc((100vw - 1080px)/2)) 22px;
  border:0; border-radius:0; background:#fbfaf8; box-shadow:none; overflow:hidden;
}
.service-site .booking-assistant__panel:not([hidden]) {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto minmax(0,1fr) auto auto; gap:12px;
}
.service-site .tolik-brand { position:absolute; top:20px; left:32px; }
.service-site .booking-assistant__head {
  grid-column:1; grid-row:1; display:flex; align-items:flex-start; justify-content:space-between;
  min-height:0; margin:0; padding:0 56px 0 0; gap:20px; border:0;
}
.service-site .booking-assistant__head h2 { max-width:650px; margin:0; font-size:clamp(29px,3vw,40px); line-height:1.12; letter-spacing:-.045em; }
.service-site .booking-assistant__eyebrow { display:block; margin-bottom:8px; font-size:11px; letter-spacing:.13em; }
.service-site .booking-assistant__head .tolik-intro { display:block!important; margin:9px 0 0; font-size:15px; line-height:1.5; text-align:left; color:var(--text-muted); }
.service-site .booking-assistant__head .language-switch { position:static; display:flex; flex:0 0 auto; gap:3px; margin:6px 0 0; }
.service-site .booking-assistant__close { top:18px; right:26px; }
.service-site .booking-assistant__head .booking-assistant__note { display:block!important; position:relative; flex:0 0 auto; margin:9px 0 0; font-size:13px; line-height:1.4; }
.service-site .booking-assistant__note summary { cursor:pointer; list-style:none; white-space:nowrap; color:var(--text-muted); }
.service-site .booking-assistant__note summary { display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--border); border-radius:50%; font-size:17px; }
.service-site .booking-assistant__note summary::-webkit-details-marker { display:none; }
.service-site .booking-assistant__note[open] { z-index:11; }
.service-site .booking-assistant__note p { position:absolute; top:26px; right:0; width:min(360px,80vw); margin:0; padding:16px 18px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-lg); font-size:13px; line-height:1.55; }
.service-site .booking-assistant__panel .tolik-context-menu { grid-column:1; grid-row:2; display:flex!important; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:9px; min-height:0; margin:0; padding:0; border:0; background:transparent; }
.service-site .tolik-context-menu strong { margin-right:5px; color:var(--text-muted); font-size:12px; font-weight:600; }
.service-site .tolik-context-menu button,.service-site .tolik-context-menu button:first-of-type { display:inline-flex; width:auto; min-height:40px; padding:9px 15px; border:1px solid var(--border); border-radius:999px; background:var(--surface); color:var(--text); font-size:13px; font-weight:500; }
.service-site .tolik-context-menu button:hover { border-color:var(--accent); background:var(--accent-soft); }
.service-site .booking-assistant__panel.has-conversation .tolik-context-menu { display:none!important; }
.service-site .booking-assistant__panel>.booking-assistant__messages {
  grid-column:1; grid-row:3; min-height:0; margin:0; padding:22px clamp(16px,3vw,32px);
  border:1px solid var(--border); border-radius:22px; background:var(--surface); overflow-y:auto;
}
.service-site .assistant-message { max-width:min(76%,680px); font-size:15px; }
.service-site .booking-assistant__form { grid-column:1; grid-row:4; display:flex; flex-direction:column; gap:9px; margin:0; padding:0; border:0; background:transparent; }
.service-site .assistant-composer { grid-template-columns:minmax(0,1fr) 50px 50px; gap:8px; }
.service-site .assistant-composer #assistantQuery { height:54px; min-height:54px; padding:15px 18px; border-radius:18px; background:var(--surface); }
.service-site .assistant-composer #assistantQuery { color:var(--text); }
.service-site .assistant-composer #assistantQuery::placeholder { color:var(--text-muted); opacity:1; }
.service-site .assistant-composer #assistantRecord,.service-site .assistant-composer #assistantSend { width:50px; height:50px; min-height:50px; border-radius:16px; }
.service-site .assistant-voice { display:flex; justify-content:flex-end; align-items:center; gap:18px; min-height:30px; margin:0; font-size:12px; }
.service-site .assistant-voice label:has(#assistantSpeak) { min-height:30px; }
.service-site .tolik-voice-options { position:relative; }
.service-site .tolik-voice-options summary { cursor:pointer; color:var(--text-muted); }
.service-site .tolik-voice-options .tolik-mode { position:absolute; right:0; bottom:27px; z-index:5; width:min(310px,calc(100vw - 32px)); display:grid; gap:8px; margin:0; padding:14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); box-shadow:var(--shadow-lg); }
.service-site .tolik-voice-options .tolik-mode button { width:100%; }
.service-site .tolik-voice-options .tolik-mode label { font-weight:650; color:var(--text); }
.service-site .tolik-voice-options .tolik-mode select { width:100%; min-height:42px; padding:8px 10px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text); font:inherit; }
.service-site .tolik-voice-options .tolik-mode p { margin:0 0 4px; line-height:1.4; }
.service-site .booking-assistant__search { grid-column:1; grid-row:5; margin:0; }
.service-site .assistant-recommendation-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:100%; }
.service-site .assistant-recommendation-grid .assistant-place { display:flex; flex-direction:column; min-width:0; margin:0; padding:0; border:1px solid var(--border); border-radius:18px; background:var(--surface); overflow:hidden; text-decoration:none; color:var(--text); transition:box-shadow .18s ease,transform .18s ease; }
.service-site .assistant-recommendation-grid .assistant-place:hover { box-shadow:0 8px 24px #2d211614; transform:translateY(-2px); }
.service-site .assistant-place>img { order:0; display:block; width:100%; height:142px; margin:0; object-fit:cover; }
.service-site .assistant-place__content { display:flex; flex-direction:column; align-items:flex-start; gap:5px; min-height:132px; padding:15px 16px; }
.service-site .assistant-place__content strong { font-size:16px; line-height:1.25; }
.service-site .assistant-place__category { font-size:12px; color:var(--accent-ink); }
.service-site .assistant-place__content small { display:block; margin:0; color:var(--text-muted); font-size:13px; }
.service-site .assistant-place__distance { font-size:12px; color:var(--text-muted); }
.service-site .assistant-place__menu { display:inline-flex; padding:5px 9px; border-radius:999px; font-size:12px; line-height:1.2; }
.service-site .assistant-place__menu--confirmed { color:#155e42; background:#e5f5ed; }
.service-site .assistant-place__menu--unconfirmed { color:#73562b; background:#fbf1df; }
.service-site .assistant-place__action { margin-top:auto; padding-top:10px; color:var(--accent-ink); font-size:13px; font-weight:700; }
.service-site .assistant-recommendation-more { grid-column:1/-1; justify-self:start; padding:10px 0; color:var(--accent-ink); font-size:13px; font-weight:700; }
@media(max-width:760px) {
  .service-site .booking-assistant__panel { inset:var(--mobile-viewport-top,0px) 0 auto; width:100vw; height:var(--mobile-viewport-height,100dvh); padding:14px 14px max(12px,env(safe-area-inset-bottom)); background:#fbfaf8; }
  .service-site .booking-assistant__panel:not([hidden]) { display:flex!important; flex-direction:column; gap:8px; overflow:hidden; }
  .service-site .tolik-brand { display:none!important; }
  .service-site .booking-assistant__head { order:0; flex:0 0 auto; display:flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:8px; min-height:0; padding:0 44px 8px 0; border-bottom:1px solid var(--border); }
  .service-site .booking-assistant__head h2 { font-size:21px; line-height:1.13; white-space:nowrap; }
  .service-site .booking-assistant__head .tolik-title-detail { display:none; }
  .service-site .booking-assistant__eyebrow { display:none; }
  .service-site .booking-assistant__head .tolik-intro { display:none!important; }
  .service-site .booking-assistant__head .language-switch { margin:0; }
  .service-site .booking-assistant__head .booking-assistant__note { margin:0 0 0 auto; font-size:11px; }
  .service-site .booking-assistant__note p { left:0; right:auto; width:min(300px,80vw); }
  .service-site .booking-assistant__close { top:10px; right:12px; }
  .service-site .booking-assistant__panel .tolik-context-menu { order:1; display:flex!important; flex:0 0 auto; flex-wrap:nowrap; overflow-x:auto; padding:3px 0 5px; scrollbar-width:none; }
  .service-site .tolik-context-menu strong { display:none; }
  .service-site .tolik-context-menu button { flex:0 0 auto; min-height:38px; white-space:nowrap; }
  .service-site .booking-assistant__panel>.booking-assistant__messages { order:2; flex:1 1 auto; min-height:0; padding:14px 8px; border:0; border-radius:0; background:transparent; }
  .service-site .assistant-message { max-width:92%; }
  .service-site .booking-assistant__form { order:3; flex:0 0 auto; gap:6px; padding:8px 0 0; border-top:1px solid var(--border); }
  .service-site .assistant-composer { grid-template-columns:minmax(0,1fr) 46px 46px; gap:6px; }
  .service-site .assistant-composer #assistantQuery { height:48px; min-height:48px; padding:12px 14px; font-size:16px; }
  .service-site .assistant-composer #assistantRecord,.service-site .assistant-composer #assistantSend { width:46px; height:46px; min-height:46px; }
  .service-site .assistant-voice { justify-content:space-between; gap:8px; font-size:12px; }
  .service-site .booking-assistant__search { order:4; }
  .service-site .assistant-recommendation-grid { grid-template-columns:minmax(0,1fr); }
  .service-site .assistant-place>img { height:126px; }
}
@media(max-width:900px) {
  .service-site .assistant-recommendation-grid { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .service-site .assistant-recommendation-grid .assistant-place { transition:none; } }

/* Compact identity and a useful, centered first-message state. */
.service-site .booking-assistant__panel { padding-top:24px; }
.service-site .booking-assistant__panel:not([hidden]) { grid-template-rows:auto minmax(0,1fr) auto auto; }
.service-site .booking-assistant__head { padding:0 54px 14px 0; align-items:center; border-bottom:1px solid var(--border); }
.service-site .tolik-identity { display:flex; align-items:center; gap:11px; }
.service-site #assistantPanel .tolik-avatar { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; overflow:visible; }
.service-site #assistantPanel .tolik-avatar img { display:block; width:46px; height:52px; object-fit:contain; object-position:center bottom; transform-origin:center 80%; animation:tolik-flame 3.2s ease-in-out infinite; filter:drop-shadow(0 3px 5px #e8662826); }
@keyframes tolik-flame { 0%,100% { transform:translateY(0) rotate(-3deg) scale(1); } 50% { transform:translateY(-3px) rotate(3deg) scale(1.035); } }
.service-site #assistantPanel .assistant-voice .booking-assistant__note { position:relative; margin:0; }
.service-site #assistantPanel .assistant-voice .booking-assistant__note summary { display:inline; width:auto; height:auto; padding:0; border:0; border-radius:0; background:transparent; color:var(--text-muted); font-size:12px; font-weight:500; }
.service-site #assistantPanel .assistant-voice .booking-assistant__note summary:hover { color:var(--text); }
.service-site #assistantPanel .assistant-voice .booking-assistant__note p { top:auto; bottom:calc(100% + 10px); right:0; }
.service-site .booking-assistant__head h2 { font-size:21px; line-height:1.12; margin:0; letter-spacing:-.025em; }
.service-site .booking-assistant__head .tolik-intro { margin:3px 0 0; font-size:12px; }
.service-site .booking-assistant__head .language-switch { margin:0 0 0 auto; }
.service-site .booking-assistant__head .booking-assistant__note { margin:0; }
.service-site .booking-assistant__panel .language-switch button[aria-pressed="true"] { background:#ef6b28!important; color:#fff!important; border-color:#ef6b28!important; }
.service-site .tolik-mobile-language { display:none; }
.service-site .booking-assistant__panel>.booking-assistant__messages { grid-row:2; display:flex; flex-direction:column; }
.service-site .tolik-welcome { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:17px; width:min(100%,620px); margin:auto; padding:20px 0; text-align:center; }
.service-site .tolik-welcome__mark { display:grid; place-items:center; width:62px; height:62px; border-radius:22px; background:linear-gradient(145deg,#fff1e9,#ffe3cf); color:#ef6b28; font-size:31px; box-shadow:0 10px 24px #ee8e5b18; }
.service-site .tolik-welcome .assistant-message { max-width:100%; padding:0; border:0; background:transparent; font-size:clamp(21px,2.4vw,28px); font-weight:750; line-height:1.3; text-align:center; }
.service-site .tolik-welcome .tolik-context-menu { display:flex!important; justify-content:center; gap:9px; }
.service-site .tolik-welcome .tolik-context-menu button { background:#fff; }
.service-site .booking-assistant__panel.has-conversation .tolik-welcome { display:none; }
.service-site .booking-assistant__form { grid-row:3; }
.service-site .booking-assistant__search { grid-row:4; }
.service-site .assistant-composer { grid-template-columns:minmax(0,1fr) 112px 50px; }
.service-site .assistant-composer #assistantRecord { display:flex; align-items:center; justify-content:center; gap:7px; width:112px; padding:0 12px; background:#fff1e8; color:#bd4a0b; border-color:#f7c7aa; }
.service-site .assistant-composer #assistantRecord svg { flex:0 0 20px; }
.service-site .assistant-composer #assistantRecord .assistant-record-label { font-size:13px; font-weight:700; }
.service-site .assistant-composer #assistantRecord.is-listening { color:#fff; }
.service-site .assistant-recommendation-grid .assistant-place:not(.assistant-place--photo)::before { content:'✦'; display:grid; place-items:center; height:76px; background:linear-gradient(135deg,#fff2e8,#f7eee7); color:#ef6b28; font-size:27px; }
.service-site .assistant-place__action { align-self:stretch; margin-top:auto; padding:10px 0 0; border-top:1px solid var(--border); }
.service-site .assistant-recommendation-grid .assistant-place[hidden] { display:none!important; }
.service-site .assistant-place__menu--outside,.service-site .assistant-place__menu--unknown { color:#73562b; background:#fbf1df; }
.service-site .assistant-recommendation-more { border:0; background:transparent; cursor:pointer; font:inherit; font-size:13px; font-weight:700; }
@media(max-width:760px) {
  .service-site .booking-assistant__panel { padding-top:10px; }
  .service-site .booking-assistant__head { padding:0 44px 9px 0; }
  .service-site #assistantPanel .tolik-avatar { width:42px; height:42px; flex-basis:42px; }
  .service-site #assistantPanel .tolik-avatar img { width:38px; height:42px; }
  .service-site #assistantPanel .assistant-voice { flex-wrap:wrap; }
  .service-site .booking-assistant__head h2 { font-size:20px; }
  .service-site .booking-assistant__head>.language-switch { display:none!important; }
  .service-site .tolik-mobile-language { position:relative; display:block; margin-left:auto; }
  .service-site .tolik-mobile-language summary { cursor:pointer; padding:8px 10px; border:1px solid var(--border); border-radius:12px; background:var(--surface); font-size:12px; list-style:none; }
  .service-site .tolik-mobile-language summary::-webkit-details-marker { display:none; }
  .service-site .tolik-mobile-language .language-switch { position:absolute; top:41px; right:0; z-index:12; display:flex; margin:0; padding:7px; border:1px solid var(--border); border-radius:13px; background:var(--surface); box-shadow:var(--shadow-lg); }
  .service-site .tolik-welcome { gap:14px; padding:16px 6px; }
  .service-site .booking-assistant__panel .tolik-welcome { justify-content:flex-start; margin:clamp(22px,7dvh,70px) auto 0; }
  .service-site .tolik-welcome__mark { width:52px; height:52px; border-radius:18px; font-size:26px; }
  .service-site .tolik-welcome .assistant-message { font-size:21px; }
  .service-site .tolik-welcome .tolik-context-menu { flex-wrap:wrap; overflow:visible; justify-content:center; }
  .service-site .tolik-welcome .tolik-context-menu button { white-space:normal; }
  .service-site .assistant-composer { grid-template-columns:minmax(0,1fr) 46px 46px; }
  .service-site .assistant-composer #assistantRecord { width:46px; padding:0; }
  .service-site .assistant-composer #assistantRecord .assistant-record-label { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .service-site #assistantPanel .tolik-avatar img { animation:none; }
}
