/* Virtual Hotelier template kit — vh-chat.css
   Ask-style chat: floating trigger, overlay, sheet, phone (iPhone Messages style) layout, pill marbles,
   message tools (search / mic / read aloud), landscape + framed layouts.
   Ported from artifact/base.css 28–40, site.css 880–929 + 3171–3173, index.live.html vh-patch-css 608–661,
   vh-gold-shine 6–28, 38–51, 56–121, 174–178, 245–246.

   BREAKPOINT: every phone rule is inside @media (max-width: 640px) and every desktop-only rule inside
   @media (min-width: 641px). 640/641 are the literal breakpoint; vh-core rewrites them when VH.breakpoint != 640.

   BRAND: colours come from the --vh-* custom properties vh-core writes to :root from VH.brand
   (kebab-case of the key: primary -> --vh-primary, primaryDeep -> --vh-primary-deep, accent -> --vh-accent,
   accentLight -> --vh-accent-light, cream -> --vh-cream, screenBg -> --vh-screen-bg, text -> --vh-text).
   Every use has the reference-site hex as a fallback, so the file also works without core. */

.ask-vh-trigger, #sheet-overlay, #concierge-sheet {
  --vhc-primary: var(--vh-primary, #063233);
  --vhc-sheet: var(--vh-primary, #053839);
  --vhc-accent: var(--vh-accent, #b9953f);
  --vhc-accent-light: var(--vh-accent-light, #d9bd6a);
  --vhc-cream: var(--vh-cream, #f7fcfc);
  --vhc-screen: var(--vh-screen-bg, #071212);
  --vhc-text: var(--vh-text, #fff);
  --vhc-font-display: var(--vh-font-display, 'D-DIN', Arial, sans-serif);
  --vhc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* chat-only tones (override on :root as --vh-chat-* if the brand needs it) */
  --vhc-user: var(--vh-chat-user, #c9a14a);      /* user bubble (phone) */
  --vhc-bot: var(--vh-chat-bot, #263333);        /* assistant bubble (phone) */
  --vhc-ink: var(--vh-chat-ink, #0b2b2c);        /* text on gold */
  --vhc-field: var(--vh-chat-field, #0f1d1d);    /* message box (phone) */
  --vhc-pill: var(--vh-chat-pill, #f1dca4);      /* pill text (phone) */
  --vhc-avatar-a: var(--vh-chat-avatar-a, #1d6163);
  --vhc-avatar-b: var(--vh-chat-avatar-b, #0b383a);
}

/* ---------- Hidden state (hosts without a global [hidden] rule) ---------- */
#sheet-overlay[hidden], #concierge-sheet[hidden] { display: none !important; }

/* ---------- Floating trigger (site.css 880–883, 1114, 3364) ---------- */
.ask-vh-trigger { position: fixed; right: 24px; bottom: 24px; z-index: 49; display: grid; width: 72px; height: 72px; place-items: center; margin: 0; padding: 0; border: 1px solid var(--vhc-accent); border-radius: 50%; background: var(--vhc-primary); color: var(--vhc-cream); font: inherit; box-shadow: 0 16px 42px rgba(0,0,0,.27); cursor: pointer; transition: transform 220ms var(--vhc-ease), filter 220ms ease; -webkit-tap-highlight-color: transparent; }
.ask-vh-trigger:hover { transform: translateY(-3px); filter: brightness(1.3); }
.ask-vh-trigger svg { align-self: end; margin-bottom: -1px; width: 22px; height: 22px; }
.ask-vh-trigger span { align-self: start; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.025em; line-height: 1.2; }
@media (max-width: 1180px) {
  .ask-vh-trigger { bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 640px) {
  /* Phone app view: the chat opens from the launcher tile / tab bar, so the floating button stays out of the way
     (VH.chat.phoneTrigger:true keeps it, 56px above the tab bar — site.css 3404) */
  .ask-vh-trigger { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; width: 56px !important; height: 56px !important; transition: opacity 260ms ease, transform 300ms ease, visibility 0s linear 260ms; }
  .ask-vh-trigger span { font-size: .62rem; }
  html:not(.vhc-phone-trigger) .ask-vh-trigger, html.nf-open .ask-vh-trigger { opacity: 0 !important; pointer-events: none !important; visibility: hidden; }
}

/* ---------- Overlay + sheet shell (base.css 28–40, scoped to the chat ids) ---------- */
#sheet-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(3, 34, 35, .55); opacity: 0; transition: opacity 220ms ease; }
#sheet-overlay.is-open { opacity: 1; }
#concierge-sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; display: flex; flex-direction: column; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-left: 1px solid rgba(185, 149, 63, .2); transform: translateX(100%); transition: transform 420ms var(--vhc-ease); }
#concierge-sheet.is-open { transform: translateX(0); }
#concierge-sheet .concierge-header { position: relative; display: grid; }
#concierge-sheet .concierge-title { margin: 0; }
#concierge-sheet [data-slot='sheet-description'] { margin: 0; font-size: .92rem; }
#concierge-sheet .sheet-close { position: absolute; z-index: 5; top: 16px; right: 16px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid rgba(185, 149, 63, .3); border-radius: 50%; background: transparent; color: var(--vhc-cream); cursor: pointer; }
#concierge-sheet .sheet-close:hover { background: rgba(185, 149, 63, .12); }
/* Phone: above the section screen (z 48) and the tab bar (z 55) — vh-patch-css 594–595 */
@media (max-width: 640px) {
  html.nf-open #sheet-overlay:not([hidden]) { z-index: 60 !important; }
  html.nf-open #concierge-sheet:not([hidden]) { z-index: 61 !important; }
}

/* ---------- Desktop sheet (site.css 917–929, 3171–3173; base.css .btn) ---------- */
#concierge-sheet { width: min(430px, 100%); max-width: 100%; background: var(--vhc-sheet); color: var(--vhc-cream); }
#concierge-sheet .concierge-header { padding: 28px 26px 18px; }
#concierge-sheet .concierge-monogram { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 16px; border: 1px solid var(--vhc-accent); border-radius: 50%; color: var(--vhc-accent); font-family: var(--vhc-font-display); font-weight: 800; }
#concierge-sheet .concierge-title { color: var(--vhc-cream); font-family: var(--vhc-font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.05; text-transform: uppercase; }
#concierge-sheet .concierge-header [data-slot='sheet-description'] { margin-top: 8px; color: rgba(250,246,236,.58); line-height: 1.5; }
#concierge-sheet .concierge-disclaimer { display: flex; align-items: flex-start; gap: 10px; margin: 0 24px 10px; border: 1px solid rgba(185, 149, 63, .34); border-radius: 8px; background: rgba(185, 149, 63, .08); padding: 8px 12px; color: rgba(250, 246, 236, .78); font-size: .82rem; line-height: 1.5; }
#concierge-sheet .concierge-disclaimer svg { flex: 0 0 auto; margin-top: 2px; color: var(--vhc-accent); }
#concierge-sheet .concierge-disclaimer b { color: var(--vhc-cream); }
#concierge-sheet .concierge-messages { display: flex; flex: 1; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; padding: 8px 24px 18px; }
#concierge-sheet .chat-message { max-width: 90%; margin: 0; border-radius: 14px; padding: 13px 15px; font-size: 1rem; line-height: 1.5; }
#concierge-sheet .chat-assistant { align-self: flex-start; border: 1px solid rgba(185, 149, 63,.16); background: rgba(255,255,255,.07); color: rgba(250,246,236,.84); border-bottom-left-radius: 4px; }
#concierge-sheet .chat-user { align-self: flex-end; background: var(--vhc-accent); color: #fff; border-bottom-right-radius: 4px; }
#concierge-sheet .quick-actions { display: grid; gap: 8px; border-top: 1px solid rgba(185, 149, 63,.13); padding: 18px 24px; }
#concierge-sheet .quick-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; margin: 0; border: 1px solid rgba(185, 149, 63,.22); border-radius: 8px; background: transparent; color: var(--vhc-cream); padding: 8px 16px; font: inherit; font-weight: 600; line-height: 1.2; text-align: left; white-space: normal; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
#concierge-sheet .quick-action svg { flex: 0 0 auto; }
#concierge-sheet .quick-action:hover { background: rgba(185, 149, 63,.1); }
#concierge-sheet .quick-action.qa-feedback { display: inline-flex !important; align-items: center; gap: 7px; }
#concierge-sheet .quick-action .qa-bug { display: inline-block !important; flex: none; }
#concierge-sheet .concierge-note { margin: 0; padding: 0 24px 22px; color: rgba(250,246,236,.46); font-size: 0.8rem; line-height: 1.45; }

/* ---------- Pill marbles + Clear chat (vh-gold-shine 11–33) ---------- */
#concierge-sheet { --vhc-r: 10px; }
@media (max-width: 640px) { #concierge-sheet { --vhc-r: 999px; } }
html body #concierge-sheet .quick-action.vhc-used { display: none !important; }
html body #concierge-sheet .quick-action.vhc-leaving { animation: vhcPop .32s ease-in forwards; pointer-events: none; }
html body #concierge-sheet .quick-action.vhc-drop { animation: vhcDrop 1.25s cubic-bezier(.33,0,.66,0) both; animation-delay: var(--vhc-d,0s); }
html body #concierge-sheet .quick-action.vhc-drop { position: relative; }
@media (prefers-reduced-motion: no-preference) { html body #concierge-sheet .quick-action.vhc-drop { pointer-events: none; } }
html body #concierge-sheet .quick-action.vhc-drop::after { content: ""; position: absolute; inset: 0; border-radius: 999px; pointer-events: none; background: radial-gradient(circle at 50% 35%,#fff3c4,#e2c26f 30%,#b9953f 60%,#6f5319 100%); box-shadow: inset -3px -4px 8px rgba(0,0,0,.35); animation: vhcOrb 1.25s linear both; animation-delay: var(--vhc-d,0s); }
@keyframes vhcOrb { 0%,62% { opacity: 1 } 84%,100% { opacity: 0 } }
@keyframes vhcPop { to { opacity: 0; transform: scale(.6) translateY(6px) } }
@keyframes vhcDrop { 0% { opacity: 0; transform: translateY(-75vh) rotate(-200deg); clip-path: inset(0 calc(50% - 1.15em) round 999px); color: transparent; background: radial-gradient(circle at 35% 30%,#fff3c4,#d9bd6a 35%,#8a6a22 80%) } 10% { opacity: 1 } 60% { transform: translateY(0) rotate(0); clip-path: inset(0 calc(50% - 1.15em) round 999px); color: transparent; background: radial-gradient(circle at 35% 30%,#fff3c4,#d9bd6a 35%,#8a6a22 80%); animation-timing-function: cubic-bezier(.2,.7,.4,1) } 72% { transform: translateY(-14px) } 84% { transform: translateY(0); clip-path: inset(0 0 round var(--vhc-r)); color: inherit } 92% { transform: translateY(-4px) } 100% { opacity: 1; transform: none; clip-path: inset(0 0 round var(--vhc-r)) } }
@media (prefers-reduced-motion: reduce) { html body #concierge-sheet .quick-action.vhc-drop, html body #concierge-sheet .quick-action.vhc-leaving { animation: none } }
.vhc-clear { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vhc-accent-light, #d9bd6a); cursor: pointer; }
.vhc-clear:active { background: rgba(217,189,106,.15); }
.vhc-clear-desk { display: none; }
@media (min-width: 641px) { .vhc-clear.vhc-clear-desk { display: grid; position: absolute; top: 16px; right: 66px; z-index: 3; border: 1px solid rgba(217,189,106,.45); background: rgba(10,43,44,.6); } .vhc-clear.vhc-clear-desk:hover:not([disabled]) { background: rgba(217,189,106,.15); } }
.vhc-clear[disabled] { opacity: .35; cursor: default; }

/* ---------- Message box tools + search results (vh-gold-shine 56–67, 99) ---------- */
html body #concierge-sheet .vhc-field { border-color: var(--vhc-accent) !important; align-items: flex-end; padding-left: 6px !important; }
html body #concierge-sheet .vhc-field:focus-within { border-color: var(--vhc-accent-light) !important; box-shadow: 0 0 0 1px rgba(185,149,63,.35); }
.vhc-tool { display: grid; flex: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(235,245,245,.72); cursor: pointer; }
.vhc-tool svg { width: 21px; height: 21px; }
.vhc-tool.is-on { color: var(--vhc-ink, #0b2b2c); background: var(--vhc-accent-light, #d9bd6a); }
.vhc-tool.is-live { color: #fff; background: #c0392b; animation: vhcRec 1.2s ease-in-out infinite; }
@keyframes vhcRec { 50% { box-shadow: 0 0 0 6px rgba(192,57,43,.25) } }
html body #concierge-sheet .vhc-compose:not(.has-text) .vhc-send { display: none; }
html body #concierge-sheet .vhc-compose.has-text .vhc-mic { display: none; }
.vhc-results { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.vhc-results button { text-align: left; padding: 8px 12px; border: 1px solid rgba(185,149,63,.6); border-radius: 12px; background: rgba(185,149,63,.08); color: var(--vhc-pill, #f1dca4); font: inherit; font-size: .92em; cursor: pointer; }
.vhc-results small { display: block; color: rgba(235,245,245,.6); font-size: .8em; }
#concierge-sheet { padding-bottom: var(--vh-hide, 0px) !important; box-sizing: border-box; }
/* Desktop message box (vh-gold-shine 68–76) */
@media (min-width: 641px) {
  html body #concierge-sheet .vhc-compose { display: block; flex: none; margin: 0; padding: 8px 24px 12px; }
  html body #concierge-sheet .vhc-field { display: flex; align-items: flex-end; gap: 6px; padding: 6px 6px 6px 6px; border: 1px solid var(--vhc-accent); border-radius: 18px; background: rgba(5,27,28,.55); }
  html body #concierge-sheet .vhc-input { display: block; flex: 1 1 auto; min-width: 0; height: 2.6em; min-height: 2.6em; max-height: 6em; margin: 0; padding: .45em 0 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; line-height: 1.3; resize: none; }
  html body #concierge-sheet .vhc-input::placeholder { color: rgba(235,245,245,.45); }
  html body #concierge-sheet .vhc-send { display: grid; flex: none; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--vhc-user); color: var(--vhc-ink); cursor: pointer; opacity: 1; transform: none; }
  html body #concierge-sheet .vhc-send svg { width: 60%; height: 60%; }
  html body #concierge-sheet .concierge-messages { min-height: 0; }
}

/* ---------- Phone: iPhone Messages-style thread (vh-patch-css 608–661 + vh-gold-shine 6–10) ---------- */
.vhc-nav, .vhc-intro, .vhc-compose, .vhc-receipt, .vhc-typing { display: none; }
.vhc-chip-row { display: contents; }
@keyframes vhc-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 640px) {
  #concierge-sheet:not([hidden]) { display: flex !important; flex-direction: column !important; top: 0; right: 0 !important; bottom: auto !important; left: 0 !important; width: 100% !important; max-width: 100% !important; height: 100%; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; border-radius: 0 !important; background: var(--vhc-screen) !important; box-shadow: none !important; color: #fff !important; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  #concierge-sheet .concierge-header, #concierge-sheet .concierge-disclaimer, #concierge-sheet .concierge-note, #concierge-sheet #concierge-close { display: none !important; }
  html:has(#concierge-sheet:not([hidden])) body { overflow: hidden; }
  .vhc-nav { position: relative; z-index: 2; display: grid; flex: none; grid-template-columns: 56px 1fr 56px; align-items: center; padding: calc(4px + env(safe-area-inset-top, 0px)) 6px 8px; border-bottom: .5px solid rgba(255,255,255,.14); background: rgba(24,36,36,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  .vhc-back { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--vhc-accent-light, #d4ad55); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .vhc-who { display: grid; justify-items: center; gap: 3px; min-width: 0; }
  .vhc-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: linear-gradient(165deg, var(--vhc-avatar-a), var(--vhc-avatar-b)); box-shadow: inset 0 0 0 1.5px var(--vhc-accent); color: #e6c989; font-family: var(--vhc-font-display); font-size: 16px; font-weight: 800; letter-spacing: .03em; }
  .vhc-name { max-width: 100%; overflow: hidden; color: #fff; font-size: calc(12px * var(--vhc-s3, 1)); font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  #concierge-sheet .concierge-messages { display: flex !important; flex: 1 1 auto !important; flex-direction: column !important; gap: 0 !important; min-height: 0; margin: 0 !important; padding: 12px calc(16px + 10px * (var(--vhc-s, 1) - 1)) 14px !important; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--vhc-screen); }
  .vhc-intro { display: block; align-self: center; max-width: min(100%, calc(290px * var(--vhc-s2, 1))); margin: 2px auto 6px; text-align: center; }
  #concierge-sheet .vhc-sys { margin: 0 0 6px; color: rgba(235,245,245,.5); font-size: calc(12px * var(--vhc-s2, 1)); line-height: 1.35; }
  #concierge-sheet .vhc-stamp { margin: 10px 0 2px; color: rgba(235,245,245,.55); font-size: calc(12px * var(--vhc-s2, 1)); line-height: 1.3; }
  .vhc-stamp b { font-weight: 600; }
  #concierge-sheet .chat-message { position: relative; z-index: 0; isolation: isolate; max-width: 78% !important; margin: 10px 0 0 !important; padding: .41em .76em .47em !important; border: 0 !important; border-radius: 1.06em !important; font-family: inherit !important; font-size: calc(17px * var(--vhc-s, 1)) !important; line-height: 1.3 !important; letter-spacing: -.01em; overflow-wrap: break-word; }
  #concierge-sheet .chat-message.is-cont { margin-top: 2px !important; }
  #concierge-sheet .chat-assistant { align-self: flex-start !important; background: var(--vhc-bot) !important; color: #fff !important; }
  #concierge-sheet .chat-user { align-self: flex-end !important; background: var(--vhc-user) !important; color: var(--vhc-ink) !important; }
  #concierge-sheet .chat-message.is-last::before, #concierge-sheet .chat-message.is-last::after { content: ''; position: absolute; z-index: -1; bottom: 0; height: 1.18em; }
  #concierge-sheet .chat-user.is-last::before { right: -.41em; width: 1.18em; background: var(--vhc-user); border-bottom-left-radius: .94em .82em; }
  #concierge-sheet .chat-user.is-last::after { right: -.59em; width: .59em; background: var(--vhc-screen); border-bottom-left-radius: .59em; }
  #concierge-sheet .chat-assistant.is-last::before { left: -.41em; width: 1.18em; background: var(--vhc-bot); border-bottom-right-radius: .94em .82em; }
  #concierge-sheet .chat-assistant.is-last::after { left: -.59em; width: .59em; background: var(--vhc-screen); border-bottom-right-radius: .59em; }
  #concierge-sheet .vhc-receipt { display: block; align-self: flex-end; margin: 4px 4px 0 0; color: rgba(235,245,245,.55); font-size: calc(11px * var(--vhc-s2, 1)); font-weight: 600; line-height: 1.2; }
  .vhc-typing { position: relative; isolation: isolate; display: flex; align-self: flex-start; align-items: center; gap: 4px; margin-top: 10px; padding: calc(11px * var(--vhc-s2, 1)) calc(13px * var(--vhc-s2, 1)); border-radius: calc(18px * var(--vhc-s2, 1)); background: var(--vhc-bot); }
  .vhc-typing.is-cont { margin-top: 2px; }
  .vhc-typing::before, .vhc-typing::after { content: ''; position: absolute; border-radius: 50%; background: var(--vhc-bot); }
  .vhc-typing::before { left: -2px; bottom: -2px; width: 11px; height: 11px; }
  .vhc-typing::after { left: -7px; bottom: -7px; width: 5px; height: 5px; }
  .vhc-typing i { width: calc(8px * var(--vhc-s2, 1)); height: calc(8px * var(--vhc-s2, 1)); border-radius: 50%; background: rgba(235,245,245,.6); animation: vhc-dot 1.2s infinite ease-in-out; }
  .vhc-typing i:nth-child(2) { animation-delay: .16s; }
  .vhc-typing i:nth-child(3) { animation-delay: .32s; }
  #concierge-sheet .quick-actions { display: grid !important; flex: none !important; grid-template-columns: max-content !important; justify-content: start !important; row-gap: 8px !important; column-gap: 0 !important; margin: 0 !important; padding: 8px 0 4px 12px !important; overflow-x: auto; border: 0 !important; background: var(--vhc-screen); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .vhc-chip-row { display: flex; gap: 8px; width: max-content; padding-right: 12px; }
  #concierge-sheet .quick-actions::-webkit-scrollbar { display: none; }
  #concierge-sheet.vhc-kb .quick-actions { display: none !important; }
  #concierge-sheet .quick-action { flex: 0 0 auto !important; width: auto !important; min-height: calc(34px * var(--vhc-s2, 1)) !important; margin: 0 !important; padding: .47em .93em !important; border: 1px solid rgba(201,161,74,.55) !important; border-radius: 999px !important; background: rgba(201,161,74,.1) !important; color: var(--vhc-pill) !important; font-family: inherit !important; font-size: calc(15px * var(--vhc-s2, 1)) !important; font-weight: 600 !important; letter-spacing: normal !important; line-height: 1.2 !important; text-align: center !important; text-transform: none !important; white-space: nowrap !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent; }
  #concierge-sheet .quick-action svg { display: none !important; }
  .vhc-compose { display: block; flex: none; margin: 0; padding: 6px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--vhc-screen); }
  .vhc-field { display: flex; align-items: flex-end; gap: 6px; min-height: 0; padding: 8px 6px 8px 15px; border: 1px solid rgba(235,245,245,.24); border-radius: calc(22px * var(--vhc-s2, 1)); background: var(--vhc-field); }
  .vhc-field:focus-within { border-color: rgba(201,161,74,.65); }
  .vhc-input { display: block; flex: 1 1 auto; min-width: 0; height: 3.41em; min-height: 3.41em; max-height: 7.3em; margin: 0; padding: .3em 0 0; overflow-y: auto; border: 0; border-radius: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: calc(17px * var(--vhc-s, 1)); line-height: 1.3; resize: none; -webkit-appearance: none; appearance: none; }
  .vhc-input::placeholder { color: rgba(235,245,245,.38); }
  .vhc-send { display: grid; flex: none; width: calc(30px * var(--vhc-s2, 1)); height: calc(30px * var(--vhc-s2, 1)); place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--vhc-user); color: var(--vhc-ink); cursor: pointer; opacity: 0; transform: scale(.55); transition: opacity .16s ease, transform .16s ease; -webkit-tap-highlight-color: transparent; }
  .vhc-compose.has-text .vhc-send { opacity: 1; transform: none; }
  .vhc-send svg { width: 60%; height: 60%; }
  #concierge-sheet:focus { outline: none; }
  .vhc-back:focus-visible, .vhc-send:focus-visible, #concierge-sheet .quick-action:focus-visible { outline: 2px solid var(--vhc-pill); outline-offset: 2px; }
  /* Pills wrap into the width instead of scrolling sideways (vh-gold-shine 6–10) */
  html body #concierge-sheet .quick-actions { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; overflow: visible !important; padding: 8px 12px 4px !important; touch-action: auto; }
  html body #concierge-sheet .quick-actions .vhc-chip-row { display: contents !important; }
  html body #concierge-sheet .quick-action { flex: 0 1 auto !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; white-space: normal !important; text-align: left; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .vhc-typing i { animation: none; opacity: .7; } .vhc-send { transition: none; } }

/* ---------- Shorter desktop / tablet windows: compact two-column pills (vh-gold-shine 100–105) ---------- */
@media (min-width: 641px) and (max-height: 900px) {
  html body #concierge-sheet .quick-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
  html body #concierge-sheet .quick-action { min-height: 0 !important; padding: 6px 12px !important; font-size: 13px !important; }
  html body #concierge-sheet .quick-action svg { display: none !important; }
}
/* Framed touch landscape (the sheet is 75% tall there, see vh-landscape): keep the compact grid at any height (106–111) */
@media (pointer: coarse) and (orientation: landscape) and (min-height: 541px) {
  html.vh-framed body #concierge-sheet .quick-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
  html.vh-framed body #concierge-sheet .quick-action { min-height: 0 !important; padding: 6px 12px !important; font-size: 13px !important; }
  html.vh-framed body #concierge-sheet .quick-action svg { display: none !important; }
}

/* ---------- Touch devices held sideways: the sheet takes the whole screen (vh-gold-shine 174–178) ---------- */
@media (pointer: coarse) and (orientation: landscape) {
  html body #concierge-sheet:not([hidden]) { left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; width: 100vw !important; max-width: none !important; height: 100% !important; max-height: none !important; border-radius: 0 !important; border: 0 !important; transform: none !important; }
  html body #concierge-sheet .concierge-header, html body #concierge-sheet .concierge-disclaimer, html body #concierge-sheet .concierge-messages, html body #concierge-sheet .quick-actions, html body #concierge-sheet .vhc-compose, html body #concierge-sheet .concierge-note { width: 100%; max-width: 960px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
}
/* Short touch landscape (phones sideways): compact header, three-column pills (vh-gold-shine 38–51, 112–121) */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 540px) {
  html body #concierge-sheet .concierge-header { padding-top: 10px !important; padding-bottom: 4px !important; }
  html body #concierge-sheet .concierge-monogram { display: none !important; }
  html body #concierge-sheet .concierge-title { font-size: 20px !important; margin: 0 90px 2px 0 !important; line-height: 1.15 !important; }
  html body #concierge-sheet [data-slot="sheet-description"], html body #concierge-sheet .concierge-note { display: none !important; }
  html body #concierge-sheet .concierge-disclaimer { padding: 6px 10px !important; font-size: 12px !important; margin: 4px 0 !important; }
  html body #concierge-sheet .sheet-close, html body #concierge-sheet .vhc-clear-desk { top: 8px !important; width: 38px !important; height: 38px !important; }
  html body #concierge-sheet .vhc-clear-desk { right: 56px !important; }
  html body #concierge-sheet .quick-actions { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 5px !important; padding-top: 6px !important; padding-bottom: 4px !important; }
  html body #concierge-sheet .quick-action svg { display: none !important; }
  html body #concierge-sheet .chat-message { font-size: 14px !important; padding: 8px 12px !important; }
  html body #concierge-sheet .quick-action { min-height: 0 !important; font-size: 12px !important; padding: 5px 9px !important; line-height: 1.2 !important; }
  html body #concierge-sheet .vhc-compose { padding: 6px 16px 8px !important; }
  html body #concierge-sheet .vhc-input { height: 2.2em !important; min-height: 2.2em !important; font-size: 14px !important; }
  html body .ask-vh-trigger { transform: scale(.8); transform-origin: 100% 100%; }
  /* Framed: one-line suggestions leave the conversation room to show a reply */
  html.vh-framed body #concierge-sheet .quick-actions { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  html.vh-framed body #concierge-sheet .quick-action span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  html.vh-framed body #concierge-sheet .concierge-messages { padding-bottom: 10px !important; }
}

/* ---------- Keyboard-dictation callout (framed mic) (vh-gold-shine 122–144) ---------- */
.vhk-tip { position: absolute; right: 12px; bottom: calc(64px + env(safe-area-inset-bottom,0px)); z-index: 6; width: min(270px,calc(100% - 24px)); padding: 12px 12px 10px; border: 1px solid var(--vhc-accent, #b9953f); border-radius: 16px; background: #0c2526; color: #f1ead7; box-shadow: 0 12px 30px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.vhk-tip.is-in { opacity: 1; transform: none; }
.vhk-tip p { margin: 0 0 10px; font-size: 14px; line-height: 1.35; }
.vhk-tip b { color: #e2c26f; }
.vhk-tip .vhk-step { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(241,234,215,.6); }
.vhk-tip .vhk-main { font-size: 15px; }
.vhk-kb { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; background: #2a2a2e; }
.vhk-key { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 18px; }
.vhk-space { flex: 1; height: 26px; border-radius: 6px; background: #48484e; }
.vhk-mic { position: relative; background: #48484e; }
.vhk-mic svg { width: 18px; height: 18px; }
.vhk-mic::before, .vhk-mic::after { content: ""; position: absolute; inset: -4px; border: 2px solid #e2c26f; border-radius: 50%; animation: vhkPulse 1.4s ease-out infinite; }
.vhk-mic::after { animation-delay: .7s; }
@keyframes vhkPulse { 0% { transform: scale(.85); opacity: 1 } 100% { transform: scale(1.7); opacity: 0 } }
.vhk-down { position: absolute; right: 4px; bottom: -62px; width: 40px; height: 58px; color: #e2c26f; filter: drop-shadow(0 0 6px rgba(226,194,111,.7)); animation: vhkBounce 1s ease-in-out infinite; }
.vhk-down svg { width: 100%; height: 100%; }
@keyframes vhkBounce { 0%,100% { transform: translateY(-6px) } 50% { transform: translateY(6px) } }
@media (prefers-reduced-motion: reduce) { .vhk-mic::before, .vhk-mic::after { animation: none; opacity: 1; transform: none; } .vhk-down { animation: none; } }
