/* ===== AI CONCIERGE =====
   Styles for the Concierge widget only. Every selector starts with
   .concierge so nothing on the page around it changes. Colours come from the
   storefront's own variables (storefront.css), with the same values as
   fallbacks. */

/* ---- Design tokens --------------------------------------------------------
   One system for the whole widget: the storefront's green, saffron and cream,
   three elevations, one soft-rounded shape family (pills only for chips and
   the launcher) and a 4px spacing scale. */
.concierge {
    /* Brand colours */
    --c-green: var(--sf-green, #1d5c3a);
    --c-green-dark: var(--sf-green-dark, #123f28);
    --c-green-soft: #e6f2ea;
    --c-green-tint: #f3f9f5;
    --c-saffron: var(--sf-saffron, #d4621f);
    /* Text-safe saffron: white on it is 5.3:1 (plain saffron is 3.8:1, for icons and accents only). */
    --c-saffron-dark: var(--sf-saffron-dark, #b04e14);
    --c-saffron-deep: #93400f;
    --c-saffron-soft: #fbeadf;
    --c-saffron-glow: rgba(212, 98, 31, .35);
    --c-cream: var(--sf-cream, #faf6ef);
    --c-sand: var(--sf-sand, #f2eadc);
    --c-line: var(--sf-line, #e7ddcc);
    --c-ink: var(--sf-ink, #2b2723);
    --c-muted: var(--sf-muted, #6e655b);
    --c-surface: #fff;
    /* The Indian food-label colours (the square-and-dot mark): veg green, non-veg maroon.
       Both clear 3:1 against white and cream as graphics (5.1 and 6.0 on white). */
    --c-veg: #2e7d32;
    --c-nonveg: #b23a1b;
    --c-sans: var(--sf-sans, 'Poppins', 'Segoe UI', Arial, sans-serif);
    --c-serif: var(--sf-serif, 'Playfair Display', Georgia, serif);

    /* Elevation: cards and chips rest on sm, lift to md; the panel floats on lg. */
    --c-shadow-sm: 0 1px 2px rgba(18, 63, 40, .06), 0 2px 6px rgba(18, 63, 40, .06);
    --c-shadow-md: 0 6px 16px rgba(18, 63, 40, .12);
    --c-shadow-lg: 0 24px 64px rgba(18, 63, 40, .24);

    /* Shape: soft-rounded everywhere; pill for chips and the launcher. */
    --c-radius-sm: 8px;
    --c-radius-md: 12px;
    --c-radius-lg: 16px;
    --c-radius-pill: 999px;

    /* Spacing */
    --c-space-1: 4px;
    --c-space-2: 8px;
    --c-space-3: 12px;
    --c-space-4: 16px;
    --c-space-5: 24px;

    /* Motion */
    --c-ease: cubic-bezier(.2, .8, .2, 1);
    --c-quick: .15s;

    /* The face beside each message (Gayatri's on the left, the customer's on the right). */
    --c-avatar-gap: 36px;

    font-family: var(--c-sans);
    color: var(--c-ink);
}

/* Page changes between customer pages (all load this file): the browser keeps the
   old page on screen until the new one is ready to paint, instead of a blank flash.
   The page content fades and lifts in; the top menu, the open Concierge and its
   launcher stay exactly where they are, so a page change never moves the chat. */
@view-transition { navigation: auto; }
body.customer-mode .top-nav { view-transition-name: gc-top-nav; }
.concierge-panel { view-transition-name: gc-concierge-panel; }
.concierge-launcher { view-transition-name: gc-concierge-launcher; }
::view-transition-group(*) { animation-duration: .22s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root) { animation: gc-page-out .14s ease-in both; }
::view-transition-new(root) { animation: gc-page-in .26s cubic-bezier(.2, .8, .2, 1) .04s both; }
::view-transition-group(gc-top-nav), ::view-transition-old(gc-top-nav), ::view-transition-new(gc-top-nav),
::view-transition-group(gc-concierge-panel), ::view-transition-old(gc-concierge-panel), ::view-transition-new(gc-concierge-panel),
::view-transition-group(gc-concierge-launcher), ::view-transition-old(gc-concierge-launcher), ::view-transition-new(gc-concierge-launcher) { animation: none; }
@keyframes gc-page-out { to { opacity: 0; } }
@keyframes gc-page-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}

/* One focus ring for everything in the widget, as the launcher has: saffron, just
   outside the element. Scoped by id because the storefront's own focus rule
   (body.customer-mode :is(a, button, input, ...):focus-visible) is otherwise
   more specific and would paint every focused control in the widget green. */
#concierge :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
#concierge .concierge-launcher:focus-visible { outline-width: 3px; }
#concierge .concierge-header :focus-visible { outline-color: var(--c-saffron); outline-offset: 1px; }
#concierge .concierge-totals-head:focus-visible { outline-offset: -2px; }
#concierge .concierge-resize-x:focus-visible { outline: none; }

.concierge-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Launcher: sits above the existing "Need help?" button, never over it. */
.concierge-launcher {
    position: fixed; right: var(--c-space-4); bottom: 18px; z-index: 1150;
    display: inline-flex; align-items: center; gap: 11px;
    min-height: 56px; padding: 0 20px 0 12px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--c-radius-pill);
    background: linear-gradient(120deg, #176545 0%, var(--c-green) 52%, var(--c-green-dark) 100%); color: #fff;
    font: 600 14px/1 var(--c-sans);
    box-shadow: 0 8px 22px rgba(18, 63, 40, .25), 0 0 0 3px rgba(29, 92, 58, .08);
    overflow: hidden; isolation: isolate;
    cursor: pointer;
    transition: transform var(--c-quick) ease, box-shadow var(--c-quick) ease, border-color var(--c-quick) ease;
}
.concierge-launcher::before {
    content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -45%; width: 35%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .2), transparent);
    transform: skewX(-18deg); animation: concierge-launcher-shimmer 5s ease-in-out infinite;
}
.concierge-launcher:hover { transform: translateY(-2px); border-color: rgba(246, 178, 124, .6); box-shadow: 0 12px 28px rgba(18, 63, 40, .3), 0 0 0 4px rgba(29, 92, 58, .1); }
.concierge-launcher:active { transform: scale(.97); }
.concierge-launcher:focus-visible { outline: 3px solid var(--c-saffron); outline-offset: 2px; }
.concierge-launcher-mark {
    position: relative; display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .28), rgba(246, 178, 124, .12) 58%, rgba(255, 255, 255, .08));
    color: #ffd19f; font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(255, 224, 188, .32), 0 0 0 3px rgba(246, 178, 124, .13);
}
.concierge-launcher-mark::after {
    content: ""; position: absolute; inset: -5px; border: 1px solid rgba(246, 178, 124, .3); border-radius: 50%;
    animation: concierge-launcher-orbit 3s ease-out infinite;
}
.concierge-launcher-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.concierge-launcher-title { font-size: 14px; line-height: 1; font-weight: 700; }
.concierge-launcher-subtitle { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .78); font-size: 10px; line-height: 1; font-weight: 500; }
.concierge-launcher-subtitle i {
    width: 6px; height: 6px; border-radius: 50%; background: #a9e6b7; box-shadow: 0 0 7px rgba(169, 230, 183, .8);
}
.concierge.is-open .concierge-launcher { background: var(--c-green-dark); }
/* Voice goes on with the panel closed (concierge-voice.js syncLauncher): the launcher says what
   Gayatri is doing, its dot turns saffron, and a slow ring pulses (faster while she speaks). */
.concierge.is-voice-away .concierge-launcher {
    border-color: rgba(246, 178, 124, .7);
    animation: concierge-voice-away 2s ease-in-out infinite;
}
.concierge.is-voice-away[data-voice-state="speaking"] .concierge-launcher { animation-duration: 1.1s; }
.concierge.is-voice-away .concierge-launcher-subtitle i { background: var(--c-saffron); box-shadow: 0 0 8px rgba(246, 163, 92, .9); }
@keyframes concierge-voice-away {
    0%, 100% { box-shadow: 0 8px 22px rgba(18, 63, 40, .25), 0 0 0 0 rgba(212, 98, 31, .45); }
    50% { box-shadow: 0 8px 22px rgba(18, 63, 40, .25), 0 0 0 9px rgba(212, 98, 31, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .concierge.is-voice-away .concierge-launcher { animation: none; box-shadow: 0 8px 22px rgba(18, 63, 40, .25), 0 0 0 3px var(--c-saffron); }
}
/* Once per visit (concierge.js sets is-hello): scale in, then two soft saffron pulses. */
.concierge.is-hello .concierge-launcher {
    /* "backwards": hidden until it starts, then back to normal (so hover still lifts it). */
    animation: concierge-launcher-in .45s var(--c-ease) backwards, concierge-launcher-pulse 1.6s ease-out .5s 2;
}
/* A reply arrived while the chat was closed. */
.concierge.has-unread .concierge-launcher::after {
    content: ""; position: absolute; top: 2px; right: 4px; width: 11px; height: 11px;
    border-radius: 50%; background: var(--c-saffron); box-shadow: 0 0 0 2px #fff;
}

/* ---- Panel */
.concierge-panel {
    position: fixed; right: var(--c-space-4); bottom: 134px; z-index: 1300;
    display: flex; flex-direction: column;
    width: var(--concierge-w-docked, 392px); max-width: calc(100vw - 32px);
    /* Kept clear of the site header (about 100px tall) on shorter screens. */
    height: min(600px, calc(100vh - 250px));
    min-height: 360px;
    background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-radius-lg);
    box-shadow: var(--c-shadow-lg);
    overflow: hidden;
}
.concierge-panel[hidden] { display: none; }
/* Opened before concierge.js runs (see _Layout): show the panel from the first paint. */
body.concierge-docked .concierge-panel[hidden],
body.concierge-maximized .concierge-panel[hidden],
body.concierge-minimized .concierge-panel[hidden] { display: flex; }
/* Resize edges (concierge.js). The panel is anchored at its right (and, when
   floating, its bottom), so the left and top edges are the ones that move.
   Shown from tablet width up; a phone's chat already fills the screen. */
.concierge-resize { display: none; position: absolute; z-index: 5; touch-action: none; }
.concierge-resize-x { top: 0; bottom: 0; left: 0; width: 6px; cursor: ew-resize; }
.concierge-resize-y { top: 0; left: 0; right: 0; height: 6px; cursor: ns-resize; }
.concierge-resize-xy { top: 0; left: 0; width: 14px; height: 14px; cursor: nwse-resize; z-index: 6; }
.concierge-resize-x:hover, .concierge-resize-x:focus-visible, .concierge-resizing .concierge-resize-x { background: var(--c-saffron); outline: none; }
.concierge-resize-y:hover { background: var(--c-saffron); }
body.concierge-resizing, body.concierge-resizing * { user-select: none; }
@media (min-width: 601px) {
    body:is(.concierge-docked, .concierge-maximized, .concierge-minimized) .concierge-resize-x,
    body.concierge-minimized .concierge-resize-y,
    body.concierge-minimized .concierge-resize-xy { display: block; }
}
/* The saved copy of the chat shown while it loads; its buttons are not wired up yet. */
.concierge-log.is-snapshot button, .concierge-log.is-snapshot a { pointer-events: none; }

/* ---- Header */
.concierge-header {
    /* --c-head-y: the header's top and bottom padding; the toolbar tab reaches up through it. */
    --c-head-y: 14px;
    display: flex; align-items: center; gap: 10px;
    padding: var(--c-head-y) 12px var(--c-head-y) var(--c-space-4);
    /* No coloured bar: the header is the chat's own background, so the tools sit on the chat. */
    background: var(--c-cream); color: var(--c-ink);
}
.concierge-avatar {
    display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
    border-radius: 50%; background: var(--c-green-soft); color: #f6b27c; font-size: 17px;
    /* A soft saffron ring; it glows gently only while Gayatri is working (is-busy). */
    box-shadow: 0 0 0 2px rgba(246, 178, 124, .45);
}
.concierge.is-busy .concierge-avatar { animation: concierge-glow 1.6s ease-in-out infinite; }
.concierge-heading { flex: 1; min-width: 0; }
/* By id: page rules such as the Venue page's [data-page="venue"] :is(h2, h3) colour every heading green.
   One line, cut with "…" when the panel is narrow, so it never runs under the header buttons. */
#conciergeTitle { margin: 0; font: 600 17px/1.2 var(--c-serif); color: var(--c-green-dark); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concierge-heading p {
    margin: 2px 0 0; font-size: 11.5px; color: var(--c-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.concierge-icon-btn {
    display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; color: #fff; cursor: pointer;
    transition: background-color var(--c-quick) ease;
}
.concierge-icon-btn:hover { background: rgba(255, 255, 255, .14); }
.concierge-icon-btn:focus-visible { background: rgba(255, 255, 255, .14); outline: 2px solid #f6b27c; outline-offset: 1px; }
.concierge-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-header .concierge-icon-btn { flex: 0 0 auto; width: 32px; height: 32px; color: var(--c-green-dark); }
.concierge-header .concierge-icon-btn:hover, .concierge-header .concierge-icon-btn:focus-visible { background: var(--c-sand); }
.concierge-header .concierge-icon-btn svg { width: 18px; height: 18px; }
/* The header's tools: one raised white tab hanging from the panel's top edge, its top corners
   curving into the header (the notches). The button that is open (⋯, history, settings) sits
   in a soft green rounded square. */
.concierge-toolbar {
    position: relative; flex: 0 0 auto; align-self: stretch;
    display: flex; align-items: center; gap: 2px;
    margin: calc(-1 * var(--c-head-y)) 0 -6px;
    padding: var(--c-head-y) 5px 6px;
    border-radius: 0 0 16px 16px;
    background: var(--c-surface);
    box-shadow: 0 1px 0 var(--c-line), 0 6px 16px rgba(18, 63, 40, .10);
}
.concierge-toolbar::before, .concierge-toolbar::after {
    content: ""; position: absolute; top: 0; width: 10px; height: 10px; pointer-events: none;
}
.concierge-toolbar::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent 9.5px, var(--c-surface) 10px); }
.concierge-toolbar::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent 9.5px, var(--c-surface) 10px); }
.concierge-toolbar .concierge-icon-btn { border-radius: 10px; transition: background-color var(--c-quick) ease, box-shadow var(--c-quick) ease, transform var(--c-quick) ease; }
.concierge-toolbar .concierge-icon-btn:active { transform: scale(.9); }
.concierge-toolbar .concierge-icon-btn[aria-expanded="true"] {
    background: var(--c-green-soft); color: var(--c-green);
    box-shadow: inset 0 0 0 1px rgba(29, 92, 58, .18);
}
.concierge-header .concierge-toolbar { margin-left: auto; }
/* The ⋯ menu opens under the tab, at its right edge. */
.concierge-toolbar .concierge-menu { top: calc(100% + 6px); right: 0; max-width: min(300px, calc(100cqw - 24px)); }

/* ---- Opening like an app: what a tap opens (the panel from the launcher, history, settings,
   the ⋯ menu, rename, a new chat, the voice screen) grows out of the button tapped
   (transform-origin, from concierge.js popFrom). Never on a page change. */
.concierge .is-popping { animation: concierge-app-open .36s cubic-bezier(.2, .85, .25, 1.08) both; }
.concierge .is-popping.is-soft { animation: concierge-app-settle .3s cubic-bezier(.2, .85, .25, 1.06) both; }
.concierge .is-popped { animation: none; }
@keyframes concierge-app-open {
    0% { opacity: 0; transform: scale(.08); border-radius: 22px; }
    35% { opacity: 1; }
    100% { opacity: 1; transform: none; }
}
@keyframes concierge-app-settle { from { transform: scale(.94); } to { transform: none; } }
/* The header follows the panel's own width (it can be resized, docked, floating or maximized),
   not the screen's: below 430px the subtitle goes and everything tightens; below 340px the
   avatar goes too, so all six buttons (⋯, history, settings, new chat, size, close) still fit. */
.concierge-panel { container: concierge-panel / inline-size; }
@container concierge-panel (max-width: 430px) {
    .concierge-header { --c-head-y: 12px; gap: 6px; padding: var(--c-head-y) 10px var(--c-head-y) 12px; }
    .concierge-toolbar { margin-left: 4px; padding-inline: 4px; gap: 1px; }
    .concierge-heading p { display: none; }
    #conciergeTitle { font-size: 15px; }
    .concierge-avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 14px; }
    .concierge-header .concierge-icon-btn { width: 30px; height: 30px; }
}
@container concierge-panel (max-width: 340px) {
    .concierge-avatar { display: none; }
    .concierge-header { padding-left: 14px; padding-right: 6px; }
    .concierge-toolbar { margin-left: 0; padding-inline: 3px; }
    .concierge-toolbar::before, .concierge-toolbar::after { display: none; }
    .concierge-header .concierge-icon-btn { width: 28px; height: 28px; }
    .concierge-header .concierge-icon-btn svg { width: 17px; height: 17px; }
}
.concierge-icon-restore { display: none; }
body.concierge-maximized .concierge-icon-max { display: none; }
body.concierge-maximized .concierge-icon-restore { display: block; }

/* ---- Conversation */
.concierge-log {
    /* Widest a message may be; the layouts below adjust it. */
    --c-msg-max: 88%;
    flex: 1; overflow-y: auto; padding: var(--c-space-4) var(--c-space-3) var(--c-space-2);
    background: var(--c-cream);
    display: flex; flex-direction: column; gap: var(--c-space-3);
    scroll-behavior: smooth;
}
.concierge-msg { max-width: var(--c-msg-max); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.concierge-msg-text p { margin: 0 0 var(--c-space-2); }
.concierge-msg-text p:last-child { margin-bottom: 0; }
.concierge-msg-time { display: block; margin-top: 8px; font-size: 11px; line-height: 1.4; color: #626b63; }
.concierge-msg-user .concierge-msg-time { color: #e0ece4; }
.concierge-msg-text ul { margin: var(--c-space-1) 0 var(--c-space-2); padding-left: 20px; }
.concierge-msg-text li { margin: 3px 0; }
.concierge-msg-text li::marker { color: var(--c-saffron); }

/* ---- Each message, like a group chat: the speaker's face (anime-style, in a ring of their
   colour), their name and the time on a line above, and the bubble under the name
   (concierge.js messageRow). Gayatri on the left in saffron; the customer mirrored on the
   right in green. */
.concierge-row {
    display: grid; grid-template-columns: var(--c-avatar-gap) minmax(0, 1fr); column-gap: 10px; row-gap: 5px;
    align-items: start;
}
.concierge-row::before {
    content: ""; grid-column: 1; grid-row: 1 / span 2; width: var(--c-avatar-gap); height: var(--c-avatar-gap); margin-top: 2px;
    border-radius: 50%; background: var(--c-saffron-soft) center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5 7 54 54'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1e2'/%3E%3Cstop offset='1' stop-color='%23f6b27c'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a2419'/%3E%3Cstop offset='1' stop-color='%231c110c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='64' fill='url(%23b)'/%3E%3Cpath d='M13 36c-1-15 8-26 19-26s21 10 19 26c1 9 3 17 3 28H10c0-11 3-19 3-28z' fill='url(%23h)'/%3E%3Cpath d='M8 64c2-9 11-14 24-14s22 5 24 14z' fill='%231d5c3a'/%3E%3Cpath d='M8 64c2-9 11-14 24-14 3 0 5 .3 7 .8C28 53 20 58 17 64z' fill='%23d4621f' opacity='.9'/%3E%3Cpath d='M27 41h10v9c-2 3-8 3-10 0z' fill='%23e9b48c'/%3E%3Cellipse cx='32' cy='31.5' rx='12' ry='13.5' fill='%23f7d2ad'/%3E%3Cpath d='M19.6 31c.4-10 6-15.5 12.4-15.5S44 21 44.4 30c-5-.7-9.6-3.6-11.6-7.4-2.4 4.6-7.6 7.6-13.2 8.4z' fill='url(%23h)'/%3E%3Cpath d='M23.2 30.2q3.1-2 6.2-.6M34.6 29.6q3.1-1.4 6.2.6' stroke='%231c110c' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='26.6' cy='33.6' rx='2.5' ry='3.3' fill='%232b1810'/%3E%3Cellipse cx='37.4' cy='33.6' rx='2.5' ry='3.3' fill='%232b1810'/%3E%3Ccircle cx='27.5' cy='32.3' r='1.05' fill='%23fff'/%3E%3Ccircle cx='38.3' cy='32.3' r='1.05' fill='%23fff'/%3E%3Ccircle cx='25.9' cy='35' r='.5' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='36.7' cy='35' r='.5' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='23.2' cy='38.2' rx='2.4' ry='1.3' fill='%23f0846e' opacity='.42'/%3E%3Cellipse cx='40.8' cy='38.2' rx='2.4' ry='1.3' fill='%23f0846e' opacity='.42'/%3E%3Cpath d='M29.2 40.2q2.8 2.3 5.6 0' stroke='%23b5513b' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='27.4' r='1.15' fill='%23d4621f'/%3E%3Ccircle cx='20' cy='38.6' r='1.5' fill='%23f6b27c' stroke='%23d4621f' stroke-width='.6'/%3E%3Ccircle cx='44' cy='38.6' r='1.5' fill='%23f6b27c' stroke='%23d4621f' stroke-width='.6'/%3E%3C/g%3E%3C/svg%3E");
    box-shadow: 0 0 0 2px var(--c-cream), 0 0 0 3.5px var(--c-saffron), 0 4px 10px rgba(18, 63, 40, .16);
}
/* The customer: the same row mirrored, face on the right. */
.concierge-row.is-user { grid-template-columns: minmax(0, 1fr) var(--c-avatar-gap); }
.concierge-row.is-user::before { grid-column: 2; }
.concierge-row.is-user .concierge-row-head { grid-column: 1; flex-direction: row-reverse; justify-content: flex-start; }   /* "3:40 pm  You", by the face */
.concierge-row.is-user > .concierge-msg { grid-column: 1; justify-self: end; }
.concierge-row.is-user::before {
    background-color: var(--c-green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5 7 54 54'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23eef7f1'/%3E%3Cstop offset='1' stop-color='%239ad3b0'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234a3226'/%3E%3Cstop offset='1' stop-color='%232a1b14'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='64' fill='url(%23b)'/%3E%3Cpath d='M8 64c2-9 11-14 24-14s22 5 24 14z' fill='%23d4621f'/%3E%3Cpath d='M26 50.4 32 56l6-5.6c-2-.3-4-.4-6-.4s-4 .1-6 .4z' fill='%23fff' opacity='.85'/%3E%3Cpath d='M27 41h10v9c-2 3-8 3-10 0z' fill='%23e2a982'/%3E%3Cellipse cx='20.4' cy='33.5' rx='2' ry='3' fill='%23eebc96'/%3E%3Cellipse cx='43.6' cy='33.5' rx='2' ry='3' fill='%23eebc96'/%3E%3Cellipse cx='32' cy='32' rx='11.8' ry='13' fill='%23f3c9a2'/%3E%3Cpath d='M19.4 31.5c-1.2-9.6 4.4-17 12.6-17 8.6 0 14 6.6 12.4 16.6-.6-3.2-2-5.8-3.8-7.2.2 2-1 3.4-1 3.4-1.8-3-5.2-4.6-8.6-4.6.8 1.4.6 2.8.6 2.8-3.6-2-8.2-1.4-10.6 2.2-.4-1.4-.2-2.8-.2-2.8-1.2 1.8-1.4 4.4-1.4 6.6z' fill='url(%23h)'/%3E%3Cpath d='M23.6 30.6q3-1.8 6 0M34.4 30.6q3-1.8 6 0' stroke='%232a1b14' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='26.6' cy='34' rx='2.3' ry='3' fill='%2324160f'/%3E%3Cellipse cx='37.4' cy='34' rx='2.3' ry='3' fill='%2324160f'/%3E%3Ccircle cx='27.4' cy='32.8' r='1' fill='%23fff'/%3E%3Ccircle cx='38.2' cy='32.8' r='1' fill='%23fff'/%3E%3Cellipse cx='23.4' cy='38.4' rx='2.2' ry='1.1' fill='%23f0846e' opacity='.3'/%3E%3Cellipse cx='40.6' cy='38.4' rx='2.2' ry='1.1' fill='%23f0846e' opacity='.3'/%3E%3Cpath d='M28.8 40q3.2 2.8 6.4 0' stroke='%239c4a35' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    box-shadow: 0 0 0 2px var(--c-cream), 0 0 0 3.5px var(--c-green), 0 4px 10px rgba(18, 63, 40, .16);
}
.concierge-row-head { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; justify-content: space-between; gap: var(--c-space-2); min-width: 0; padding-top: 2px; }
.concierge-row-name { font: 600 13.5px/1.3 var(--c-sans); color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concierge-row-head .concierge-msg-time { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.concierge-row > .concierge-msg { grid-column: 2; grid-row: 2; justify-self: start; min-width: 0; }
/* A message taken out (a page's options left out of the saved copy) takes its row with it. */
.concierge-row:not(:has(> .concierge-msg)) { display: none; }
/* The customer: a filled green bubble, its corner pointing at their face. */
.concierge-msg-user {
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--c-green), #174d31); color: #fff;
    border-radius: var(--c-radius-lg) 4px var(--c-radius-lg) var(--c-radius-lg);
    box-shadow: var(--c-shadow-sm);
}
/* Gayatri: a white card. */
.concierge-msg-assistant {
    position: relative; padding: var(--c-space-3) 14px;
    background: var(--c-surface); border: 1px solid var(--c-line);
    border-radius: 4px var(--c-radius-lg) var(--c-radius-lg) var(--c-radius-lg);
    box-shadow: var(--c-shadow-sm);
}
.concierge-msg-assistant.is-error { border-color: #e2b9a3; background: #fff7f2; }
/* New messages rise in gently (restored ones appear as they are). */
.concierge-row.is-new { animation: concierge-msg-in .18s var(--c-ease) both; }

/* "Gayatri is working on it": three saffron dots and the activity, shimmering. */
.concierge-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-muted); }
.concierge-status[hidden] { display: none; }
.concierge-dots { display: inline-flex; align-items: center; gap: 4px; height: 14px; }
.concierge-dots i {
    width: 6px; height: 6px; border-radius: 50%; background: var(--c-saffron);
    animation: concierge-typing 1.2s ease-in-out infinite;
}
.concierge-dots i:nth-child(2) { animation-delay: .15s; }
.concierge-dots i:nth-child(3) { animation-delay: .3s; }
.concierge-status > span:last-child {
    background: linear-gradient(90deg, var(--c-muted) 0%, var(--c-ink) 50%, var(--c-muted) 100%) 0 0 / 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: concierge-shimmer 1.8s linear infinite;
}

.concierge-note {
    align-self: center; max-width: 92%; padding: var(--c-space-1) var(--c-space-3);
    border-radius: var(--c-radius-pill); background: var(--c-sand);
    font-size: 12px; line-height: 1.5; color: var(--c-muted); text-align: center;
}
.concierge-note-error { background: var(--c-saffron-soft); color: var(--c-saffron-dark); }

/* ---- Buttons built from server actions */
.concierge-actions { display: flex; flex-wrap: wrap; gap: var(--c-space-2); margin-top: var(--c-space-3); }
.concierge-log > .concierge-actions { align-self: flex-start; margin-top: 0; }
.concierge-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: var(--c-space-2) 14px;
    border: 1px solid var(--c-saffron-dark); border-radius: var(--c-radius-md);
    background: var(--c-saffron-dark); color: #fff;
    font: 600 13px/1.2 var(--c-sans); text-decoration: none; cursor: pointer;
    box-shadow: var(--c-shadow-sm);
    transition: background-color var(--c-quick) ease, box-shadow var(--c-quick) ease, transform var(--c-quick) ease;
}
.concierge-btn:hover { background: var(--c-saffron-deep); border-color: var(--c-saffron-deep); color: #fff; box-shadow: var(--c-shadow-md); }
.concierge-btn:active { transform: scale(.97); }
.concierge-btn:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }
.concierge-btn:disabled { opacity: .6; cursor: default; transform: none; }
.concierge-btn-light { background: var(--c-surface); color: var(--c-green-dark); border-color: var(--c-line); }
.concierge-btn-light:hover { background: var(--c-sand); color: var(--c-green-dark); border-color: var(--c-line); }

/* ---- Cards: a saffron edge ties them to Gayatri; the price leads, the name follows,
   details stay quiet. Confirmed cards turn green with a check mark. */
.concierge-card {
    margin-top: var(--c-space-3); padding: var(--c-space-3) var(--c-space-3) var(--c-space-3) 14px;
    border: 1px solid var(--c-line); border-left: 3px solid var(--c-saffron);
    border-radius: var(--c-radius-md); background: var(--c-cream);
}
.concierge-card.is-done { border-color: #b8d5c2; border-left-color: var(--c-green); background: var(--c-green-tint); }
.concierge-card-title { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--c-green-dark); }
.concierge-card.is-done > .concierge-card-title::before {
    content: "\2713" / "Confirmed: ";
    display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: var(--c-space-2);
    border-radius: 50%; background: var(--c-green); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px;
}
.concierge-card-list { margin: var(--c-space-2) 0 0; padding-left: 18px; font-size: 13px; line-height: 1.55; color: var(--c-ink); }
.concierge-card-list li::marker { color: var(--c-muted); }
.concierge-card-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; margin-top: var(--c-space-3); font-variant-numeric: tabular-nums; }
.concierge-price-label, .concierge-price-note { font-size: 12px; color: var(--c-muted); }
.concierge-card-total .concierge-price-amount { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--c-green-dark); }
.concierge-card-muted { margin: var(--c-space-2) 0 0; font-size: 12px; line-height: 1.5; color: var(--c-muted); }

.concierge-options { display: grid; gap: var(--c-space-2); margin-top: var(--c-space-3); }
.concierge-option {
    display: grid; gap: var(--c-space-1); padding: 10px var(--c-space-3);
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-surface);
    box-shadow: var(--c-shadow-sm);
}
.concierge-option-rank { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-saffron-dark); }
.concierge-option-name { font-size: 14px; color: var(--c-green-dark); }
.concierge-option-total { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-green-dark); }
.concierge-option-note { font-size: 11px; color: var(--c-muted); }
.concierge-option .concierge-btn { justify-self: start; margin-top: var(--c-space-1); min-height: 34px; }
.concierge-badge {
    justify-self: start; padding: 2px var(--c-space-2); border-radius: var(--c-radius-pill);
    background: var(--c-green-soft); color: var(--c-green-dark); font-size: 11px; font-weight: 600;
}
.concierge-badge-warn { background: var(--c-saffron-soft); color: var(--c-saffron-dark); }

/* ---- Package results: a row of menu cards built from the server's package data.
   One card is in view with the next peeking in at the edge (two side by side when
   maximized); the row snaps card by card and the dots below show where you are.
   Dishes and extra dishes keep their own list (.concierge-dish-list). */
.concierge-packages { margin-top: var(--c-space-3); }
.concierge-packages-title { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--c-muted); margin-bottom: var(--c-space-2); }
.concierge-packages .concierge-chips.is-filters { margin-bottom: var(--c-space-1); }
.concierge-package-list { display: grid; gap: var(--c-space-2); margin-top: var(--c-space-2); }
/* A bubble holding the row uses the log's full width, so cards have room. */
.concierge-msg-assistant:has(.concierge-package-list.is-carousel) { width: 100%; max-width: none; }
.concierge-package-list.is-carousel {
    --c-card-w: 78%;
    position: relative; display: flex; gap: var(--c-space-3);
    /* Runs to the bubble's edges so the peeking card reaches the edge; cards snap to the text column. */
    margin: var(--c-space-2) -14px 0; padding: var(--c-space-1) 14px var(--c-space-2);
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: #d9c9ab transparent;
}
.concierge-package-list.is-carousel::-webkit-scrollbar { height: 4px; }
.concierge-package-list.is-carousel::-webkit-scrollbar-thumb { background: #d9c9ab; border-radius: var(--c-radius-pill); }
.concierge-package-list.is-carousel::-webkit-scrollbar-track { background: transparent; }
.concierge-package-list.is-single { --c-card-w: 100%; }
@media (prefers-reduced-motion: no-preference) {
    .concierge-package-list.is-carousel { scroll-behavior: smooth; }
}

.concierge-package {
    position: relative; overflow: hidden;
    padding: var(--c-space-3); border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-surface);
    box-shadow: var(--c-shadow-sm);
    transition: box-shadow var(--c-quick) ease, border-color var(--c-quick) ease;
}
.concierge-package-list.is-carousel .concierge-package {
    flex: 0 0 var(--c-card-w); min-width: 0; scroll-snap-align: start;
    display: flex; flex-direction: column; padding-top: calc(var(--c-space-3) + 5px);
}
.concierge-package:hover { border-color: #d9c9ab; box-shadow: var(--c-shadow-md); }
.concierge-package:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: -2px; }
/* Top strip: green for vegetarian, maroon for non-vegetarian, sand when not stated. */
.concierge-package::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c-sand); }
.concierge-package.is-veg::before { background: var(--c-green); }
.concierge-package.is-nonveg::before { background: var(--c-nonveg); }

.concierge-package-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--c-space-2); }
.concierge-package-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--c-space-1); min-width: 0; }
.concierge-package-num {
    padding: 1px 6px; border-radius: var(--c-radius-pill); background: var(--c-sand);
    color: var(--c-muted); font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.concierge-package-best {
    padding: 1px 7px; border-radius: var(--c-radius-pill); background: var(--c-green-soft);
    color: var(--c-green-dark); font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
/* Price: a saffron tag in the corner, the amount first, "per guest" under it. */
.concierge-package .concierge-package-price {
    flex: 0 0 auto; display: grid; justify-items: end; padding: 5px var(--c-space-2) 4px;
    border-radius: var(--c-radius-sm); background: var(--c-saffron-soft); line-height: 1.15; font-variant-numeric: tabular-nums;
}
.concierge-package .concierge-package-price .concierge-price-amount { font-size: 17px; font-weight: 700; color: var(--c-saffron-deep); }
.concierge-package .concierge-package-price .concierge-price-note { font-size: 10.5px; color: var(--c-muted); white-space: nowrap; }
/* The package details card keeps its price as a line under the title. */
.concierge-package-detail .concierge-package-price { margin-top: 6px; font-variant-numeric: tabular-nums; }
.concierge-package-detail .concierge-package-price .concierge-price-amount { font-size: 18px; font-weight: 700; color: var(--c-saffron-dark); }
.concierge-package-name {
    display: block; margin-top: var(--c-space-2);
    font: 600 16px/1.3 var(--c-serif); color: var(--c-green-dark);
}
.concierge-package-meta { margin-top: var(--c-space-1); font-size: 12px; line-height: 1.5; color: var(--c-muted); }
.concierge-package-diet { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.concierge-package-diet .concierge-diet-mark { flex-basis: 11px; width: 11px; height: 11px; }
.concierge-package-details {
    align-self: flex-start; margin-top: 6px; padding: 2px 0; border: 0; background: none; cursor: pointer;
    color: var(--c-green); font: 600 12px/1.4 var(--c-sans);
}
.concierge-package-details::after { content: "\2192" / ""; display: inline-block; margin-left: 4px; transition: transform var(--c-quick) ease; }
.concierge-package-details:hover { text-decoration: underline; text-underline-offset: 2px; }
.concierge-package-details:hover::after { transform: translateX(2px); }
.concierge-package .concierge-package-note {
    align-self: flex-start; margin-top: var(--c-space-2); padding: 3px var(--c-space-2); border-radius: var(--c-radius-sm);
    background: var(--c-saffron-soft); font-size: 11.5px; line-height: 1.4; color: var(--c-saffron-dark);
}
/* "Order this": the one main action, full width at the foot of every card (cards
   in a row are the same height, so the buttons line up). */
.concierge-package .concierge-package-order { width: 100%; min-height: 38px; margin-top: auto; }
.concierge-package > :has(+ .concierge-package-order) { margin-bottom: var(--c-space-3); }

/* Dots under the row: the current card is a longer saffron bar. */
.concierge-package-dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--c-space-1); }
.concierge-package-dots[hidden] { display: none; }
.concierge-package-dot {
    width: 6px; height: 6px; padding: 0; border: 0; border-radius: var(--c-radius-pill); background: #cbbda5; cursor: pointer;
    transition: width var(--c-quick) var(--c-ease), background-color var(--c-quick) ease;
}
.concierge-package-dot.is-active { width: 18px; background: var(--c-saffron-dark); }
.concierge-package-detail .concierge-actions { margin-top: var(--c-space-3); }
/* Order form step guide */
.concierge-guide .concierge-card-title { color: var(--c-green-dark); }
.concierge-guide-text { margin: 6px 0 0; font-size: 13px; line-height: 1.55; }
.concierge-guide-still {
    margin: var(--c-space-2) 0 0; padding: 6px 10px; border-radius: var(--c-radius-sm); background: var(--c-saffron-soft);
    font-size: 12.5px; color: var(--c-saffron-dark);
}
.concierge-guide-still.is-done { background: var(--c-green-soft); color: var(--c-green-dark); }
.concierge-packages-notice {
    margin: 0 0 var(--c-space-2); padding: 6px 10px; border-radius: var(--c-radius-sm); background: var(--c-saffron-soft);
    font-size: 12px; color: var(--c-saffron-dark);
}

/* ---- Dishes from Our Menu */
.concierge-dish-list { list-style: none; margin: var(--c-space-1) 0 0; padding: 0; display: grid; gap: 2px; }
.concierge-dish { display: flex; align-items: center; gap: var(--c-space-2); padding: 6px 0; font-size: 13px; border-bottom: 1px dashed var(--c-line); }
.concierge-dish:last-child { border-bottom: 0; }
.concierge-dish-name { flex: 1 1 auto; min-width: 0; }
.concierge-dish-price { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c-green-dark); }
.concierge-dish .concierge-dish-add { flex: 0 0 auto; min-height: 30px; padding: var(--c-space-1) 10px; font-size: 12px; }
.concierge-diet-mark {
    flex: 0 0 12px; width: 12px; height: 12px; border: 1.5px solid var(--c-muted); border-radius: 2px; position: relative;
}
.concierge-diet-mark::after {
    content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--c-muted);
}
.concierge-diet-mark.is-veg { border-color: var(--c-veg); }
.concierge-diet-mark.is-veg::after { background: var(--c-veg); }
.concierge-diet-mark.is-nonveg { border-color: var(--c-nonveg); }
.concierge-diet-mark.is-nonveg::after { background: var(--c-nonveg); }
.concierge-detail-label { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--c-green-dark); }

/* ---- Suggestion chips: a leading icon says what each does (a reply to send, an
   action here, or a filter that is on or off); they lift on hover and press in. */
.concierge-chips { display: flex; flex-wrap: wrap; gap: var(--c-space-2); margin-top: var(--c-space-3); }
.concierge-chips.is-filters { margin-top: 0; }
/* In a wrapping list a long chip wraps inside the bubble on a narrow panel (no sideways scroll). */
.concierge-chips:not(.is-scroll) .concierge-chip { flex-shrink: 1; max-width: 100%; white-space: normal; text-align: left; }
/* Long rows scroll sideways, fading at the edge to show there is more. */
.concierge-chips.is-scroll {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: 2px;
    margin-right: calc(-1 * var(--c-space-2)); padding: 2px var(--c-space-5) var(--c-space-1) 2px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--c-space-5)), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - var(--c-space-5)), transparent);
}
.concierge-chips.is-scroll::-webkit-scrollbar { display: none; }
.concierge-chips.is-scroll .concierge-chip { scroll-snap-align: start; }
.concierge-chip {
    display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
    min-height: 34px; padding: 6px 14px 6px 10px; border: 1px solid var(--c-line); border-radius: var(--c-radius-pill);
    background: var(--c-surface); color: var(--c-green-dark); font: 500 12.5px/1.2 var(--c-sans); white-space: nowrap; cursor: pointer;
    transition: transform var(--c-quick) ease, box-shadow var(--c-quick) ease, border-color var(--c-quick) ease, background-color var(--c-quick) ease;
}
.concierge-chip::before {
    content: ""; flex: 0 0 12px; width: 12px; height: 12px; background-color: var(--c-saffron);
    -webkit-mask: var(--c-chip-icon) center / contain no-repeat; mask: var(--c-chip-icon) center / contain no-repeat;
}
/* A reply the customer sends: a speech bubble. */
.concierge-chip.is-reply {
    --c-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* An action run here (open, order, a step of the form): an arrow. */
.concierge-chip.is-action {
    --c-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* A filter: a ring that fills in when it is on. */
.concierge-chips.is-filters .concierge-chip::before {
    flex-basis: 8px; width: 8px; height: 8px; -webkit-mask: none; mask: none;
    border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor;
}
.concierge-chip:hover { border-color: var(--c-green); box-shadow: var(--c-shadow-sm); transform: translateY(-1px); }
.concierge-chip:active { transform: scale(.96); box-shadow: none; }
.concierge-chip:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-chip.is-active { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.concierge-chip.is-active::before { background-color: #f6b27c; }
.concierge-chips.is-filters .concierge-chip.is-active::before { background: #f6b27c; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

/* ---- Staff handoff form */
.concierge-handoff-form { display: grid; gap: var(--c-space-2); margin-top: 10px; }
.concierge-field { display: grid; gap: var(--c-space-1); font-size: 12px; color: var(--c-muted); }
.concierge-field input {
    min-height: 40px; padding: var(--c-space-2) 10px; border: 1px solid var(--c-line); border-radius: var(--c-radius-md);
    font: 14px var(--c-sans); color: var(--c-ink); background: var(--c-surface);
}
.concierge-field input:focus { border-color: var(--c-green); outline: none; }
.concierge-field input:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }

/* ---- Live totals, always from the server's pricing */
.concierge-totals { border-top: 1px solid var(--c-line); background: var(--c-surface); }
.concierge-totals[hidden] { display: none; }
.concierge-totals-head {
    display: flex; justify-content: space-between; align-items: center; gap: var(--c-space-3); width: 100%;
    padding: 10px var(--c-space-4); border: 0; background: transparent; cursor: pointer;
    font: 13px var(--c-sans); color: var(--c-muted); text-align: left;
}
.concierge-totals-head strong { font-size: 16px; color: var(--c-green-dark); font-variant-numeric: tabular-nums; }
.concierge-totals-head:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: -2px; }
.concierge-totals-lines { margin: 0; padding: 0 var(--c-space-4) 10px; font-size: 12px; }
.concierge-totals-lines[hidden] { display: none; }
.concierge-totals-lines div { display: flex; justify-content: space-between; gap: var(--c-space-3); padding: 3px 0; }
.concierge-totals-lines dt { color: var(--c-muted); }
.concierge-totals-lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.concierge-totals-per { border-top: 1px dashed var(--c-line); margin-top: var(--c-space-1); padding-top: 6px !important; }

/* ---- Composer: one rounded field floating over the chat, the text with the voice
   button and Send inside it (like a search box). */
.concierge-composer { padding: 10px var(--c-space-3) 8px; background: var(--c-cream); }
.concierge-field {
    display: flex; align-items: flex-end; gap: 6px; padding: 5px 5px 5px 6px;
    border: 1px solid var(--c-line); border-radius: 26px; background: var(--c-surface);
    box-shadow: 0 1px 2px rgba(18, 63, 40, .05), 0 4px 16px rgba(18, 63, 40, .08);
    transition: border-color var(--c-quick) ease, box-shadow var(--c-quick) ease;
}
.concierge-field:hover { border-color: #d9c9ab; }
.concierge-field:focus-within { border-color: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft), 0 4px 16px rgba(18, 63, 40, .08); }
.concierge-composer textarea {
    flex: 1; min-width: 0; min-height: 40px; max-height: 120px; resize: none; align-self: center;
    padding: 10px 6px 10px 12px; border: 0; border-radius: 0;
    font: 14px/1.4 var(--c-sans); color: var(--c-ink); background: transparent;
}
.concierge-composer textarea::placeholder { color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concierge-composer textarea:focus { outline: none; box-shadow: none; }
/* No highlight box around the text itself: the rounded field already turns green while typing.
   By id, to win over the site's own focus outline (customer-experience.css: body.customer-mode
   textarea:focus-visible). The voice screen's "Type" box is the same. */
#concierge .concierge-composer textarea:is(:focus, :focus-visible),
#concierge .concierge-voice-controls input:is(:focus, :focus-visible) { outline: none; box-shadow: none; }
/* Send: a quiet arrow while the box is empty, a filled circle once there is something to send. */
.concierge-send {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer;
    transition: background-color var(--c-quick) ease, color var(--c-quick) ease, transform var(--c-quick) ease, box-shadow var(--c-quick) ease;
}
.concierge-send:hover { background: var(--c-sand); color: var(--c-ink); }
.concierge-field:has(textarea:not(:placeholder-shown)) .concierge-send { background: var(--c-saffron); color: #fff; box-shadow: var(--c-shadow-sm); }
.concierge-field:has(textarea:not(:placeholder-shown)) .concierge-send:hover { background: var(--c-saffron-dark); }
.concierge-send:active { transform: scale(.92); }
.concierge-send:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }
.concierge-send:disabled { opacity: .45; cursor: default; box-shadow: none; transform: none; }
.concierge-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Voice: a green sound-wave button (the theme colour) inside the field, which opens the voice screen.
   While a voice session is on (aria-pressed) the bars move, so it reads as "listening". */
.concierge-mic {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--c-green), var(--c-green-dark));
    box-shadow: 0 2px 6px rgba(18, 63, 40, .30);
    transition: transform var(--c-quick) ease, box-shadow var(--c-quick) ease, filter var(--c-quick) ease;
}
.concierge-mic[hidden] { display: none; }
.concierge-mic:hover { filter: brightness(1.06); box-shadow: 0 3px 10px rgba(18, 63, 40, .40); }
.concierge-mic:active { transform: scale(.92); }
.concierge-mic:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-mic[aria-pressed="true"] { background: linear-gradient(135deg, var(--c-green-dark), #0d2e1d); box-shadow: 0 0 0 4px var(--c-green-soft); }
.concierge-mic.is-inviting { animation: concierge-invite 1.6s ease-in-out infinite; }
.concierge-mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.concierge-wave { transform-box: fill-box; transform-origin: center; }
.concierge-mic[aria-pressed="true"] .concierge-wave { animation: concierge-wave 1s ease-in-out infinite; }
.concierge-mic[aria-pressed="true"] .concierge-wave-2 { animation-delay: -.8s; }
.concierge-mic[aria-pressed="true"] .concierge-wave-3 { animation-delay: -.6s; }
.concierge-mic[aria-pressed="true"] .concierge-wave-4 { animation-delay: -.4s; }
.concierge-mic[aria-pressed="true"] .concierge-wave-5 { animation-delay: -.2s; }
@keyframes concierge-wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
/* ---- Voice screen: covers the chat below the header while talking to Gayatri ----------
   (top: the header's height, set by concierge-voice.js). The chat's own cream and green, with
   the sphere of dots in the middle; --orb-level (0 to 1, from concierge-voice.js) is how loud
   the voice is right now: the customer's microphone while they speak, Gayatri's as she answers. */
.concierge-voice {
    --orb-level: 0;
    --c-glass: color-mix(in srgb, var(--c-surface) 66%, transparent);
    --c-glass-line: color-mix(in srgb, var(--c-green) 16%, transparent);
    position: absolute; inset: 70px 0 0; z-index: 4; overflow: hidden;
    /* Fixed rows: the sphere keeps its size and place whatever is said or shown below it. */
    display: grid; grid-template-rows: auto minmax(0, 1fr) clamp(112px, 27%, 184px) auto auto;
    background: radial-gradient(120% 70% at 50% 100%, var(--c-green-soft) 0%, var(--c-green-tint) 38%, var(--c-cream) 75%);
    animation: concierge-voice-in .22s var(--c-ease);
}
.concierge-voice[hidden] { display: none; }
/* While talking, the header and its tools (menu, history, settings, new chat, pop-out, close) give
   way: the voice screen fills the panel, and the orange button at the bottom ends voice. The
   screen's own inline top (the header's height, concierge-voice.js and _Concierge) is overridden. */
.concierge.is-voice .concierge-panel > .concierge-header { display: none; }
.concierge.is-voice .concierge-voice { top: 0 !important; }
/* Voice carried on from the previous page: already there, no fade (see _Concierge). */
.concierge-voice.is-resumed { animation: none; }
@keyframes concierge-voice-in { from { opacity: 0; } to { opacity: 1; } }
.concierge-voice > * { position: relative; }

/* A soft glow of green and saffron drifting behind everything; warmer while she works. */
.concierge-voice > .concierge-voice-aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(56px); opacity: .55; }
.concierge-voice-aurora i { position: absolute; border-radius: 50%; transition: opacity .6s ease; }
.concierge-voice-aurora i:nth-child(1) {
    width: 60%; height: 48%; left: 6%; top: 34%;
    background: radial-gradient(circle, rgba(29, 92, 58, .34), transparent 70%);
    animation: concierge-aurora-a 18s ease-in-out infinite alternate;
}
.concierge-voice-aurora i:nth-child(2) {
    width: 54%; height: 44%; right: 2%; top: 50%; opacity: .7;
    background: radial-gradient(circle, rgba(212, 98, 31, .26), transparent 70%);
    animation: concierge-aurora-b 22s ease-in-out infinite alternate;
}
.concierge-voice:is(.is-working, [data-state="speaking"]) .concierge-voice-aurora i:nth-child(2) { opacity: 1; }
@keyframes concierge-aurora-a { to { transform: translate(18%, -12%) scale(1.15); } }
@keyframes concierge-aurora-b { to { transform: translate(-22%, -18%) scale(.9); } }

.concierge-voice-top {
    display: flex; align-items: center; justify-content: space-between; gap: var(--c-space-2);
    padding: var(--c-space-3) var(--c-space-4) 0;
}

/* The language chip: Auto (any language) or the customer's pick. */
.concierge-voice-lang {
    display: inline-flex; align-items: center; gap: 6px; max-width: 70%; height: 34px; padding: 0 10px 0 10px;
    border: 1px solid var(--c-glass-line); border-radius: var(--c-radius-pill);
    background: var(--c-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font: 500 12.5px/1 var(--c-sans); color: var(--c-ink); cursor: pointer;
    transition: border-color var(--c-quick) ease, box-shadow var(--c-quick) ease;
}
.concierge-voice-lang:hover, .concierge-voice-lang[aria-expanded="true"] { border-color: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft); }
.concierge-voice-lang:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-voice-lang span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concierge-voice-lang svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: var(--c-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.concierge-voice-lang .concierge-voice-lang-caret { flex-basis: 14px; width: 14px; height: 14px; stroke: var(--c-muted); transition: transform var(--c-quick) ease; }
.concierge-voice-lang[aria-expanded="true"] .concierge-voice-lang-caret { transform: rotate(180deg); }

/* Every language, searchable. */
.concierge-voice > .concierge-voice-langs {
    position: absolute; z-index: 6; top: 54px; left: var(--c-space-4); right: var(--c-space-4); max-height: min(380px, calc(100% - 140px));
    display: flex; flex-direction: column; padding: 8px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-lg);
    background: var(--c-surface); box-shadow: 0 18px 48px rgba(18, 63, 40, .22);
    animation: concierge-pop-in .18s var(--c-ease);
}
.concierge-voice > .concierge-voice-langs[hidden] { display: none; }
@keyframes concierge-pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.concierge-voice-langs input {
    flex: 0 0 auto; height: 40px; margin: 0 0 6px; padding: 0 12px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-cream);
    font: 14px var(--c-sans); color: var(--c-ink); outline: none;
}
.concierge-voice-langs input:focus { border-color: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft); }
.concierge-voice-langs ul { flex: 1; min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.concierge-voice-lang-option {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; text-align: start; cursor: pointer;
    font: 500 14px/1.3 var(--c-sans); color: var(--c-ink);
}
.concierge-voice-lang-option:hover, .concierge-voice-lang-option:focus-visible { background: var(--c-green-tint); outline: none; }
.concierge-voice-langs [aria-selected="true"] .concierge-voice-lang-option { background: var(--c-green-soft); color: var(--c-green-dark); }
.concierge-voice-lang-english { font-size: 12px; font-weight: 400; color: var(--c-muted); white-space: nowrap; }
.concierge-voice-lang-none { padding: 12px 10px; font-size: 13px; color: var(--c-muted); }

/* The sphere's place: it never moves. */
.concierge-voice-stage { min-height: 0; display: grid; place-items: center; padding: var(--c-space-2) var(--c-space-4) 0; }

/* What is being said: a fixed area, newest words at the bottom, older lines fading out at the top. */
.concierge-voice-talk {
    min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
    padding: 0 var(--c-space-5) var(--c-space-3); overflow: hidden;
}
.concierge-voice-line { min-height: 0; flex: 0 1 auto; display: flex; flex-direction: column; }
.concierge-voice-line[hidden] { display: none; }
/* The last words carried over from the previous page: shown as they were, not faded in again. */
.concierge-voice-line.is-still, .concierge-voice-line.is-still * { animation: none !important; transition: none !important; }
.concierge-voice-who {
    display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
    font: 600 10.5px/1 var(--c-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--c-muted);
}
.concierge-voice-who svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.concierge-voice-who .concierge-voice-spark { fill: currentColor; stroke: none; }
.concierge-voice-line.is-gayatri .concierge-voice-who { color: var(--c-saffron-dark); }
/* Scrolled to its newest line by concierge-voice.js; when it no longer fits, the oldest lines fade out at the top. */
.concierge-voice-caption { min-height: 0; margin: 0; overflow: hidden; font: 400 16.5px/1.55 var(--c-sans); color: var(--c-ink); text-wrap: pretty; overflow-wrap: anywhere; }
.concierge-voice-caption.is-long { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em); mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em); }
.concierge-voice-line.is-you .concierge-voice-caption { font-size: 15px; color: var(--c-muted); }
/* While she works, the card shows instead of her words (a word or two said before it, "one moment"). */
.concierge-voice.is-working .concierge-voice-line.is-gayatri { display: none; }
/* Each word fades in from a blur as it is said; her newest word glows in saffron and gold. */
.concierge-voice-word { animation: concierge-word-in .5s var(--c-ease) backwards; }
@keyframes concierge-word-in { from { opacity: 0; filter: blur(6px); } }
.concierge-voice-line.is-gayatri .concierge-voice-word.is-new {
    background: linear-gradient(90deg, var(--c-saffron), #e89a3c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.concierge-voice[data-state="speaking"] .concierge-voice-line.is-gayatri .concierge-voice-caption::after {
    content: ''; display: inline-block; width: 7px; height: 7px; margin-inline-start: 5px; border-radius: 50%; vertical-align: middle;
    background: var(--c-saffron); box-shadow: 0 0 10px var(--c-saffron); animation: concierge-caret 1s ease-in-out infinite;
}
@keyframes concierge-caret { 50% { transform: scale(.6); opacity: .5; } }

/* The working card: what Gayatri is doing now (shimmering), a timer, the steps done, a moving bar,
   inside a frosted card whose border carries a turning streak of light. */
.concierge-voice-work {
    position: relative; flex: 0 0 auto; padding: 13px 15px 12px; border-radius: 18px;
    background: var(--c-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(18, 63, 40, .10);
    animation: concierge-card-in .45s var(--c-ease);
}
.concierge-voice-work[hidden] { display: none; }
.concierge-voice-work::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--c-spin, 0deg), var(--c-glass-line) 0deg, var(--c-glass-line) 200deg, var(--c-saffron) 270deg, #f0b25c 300deg, var(--c-glass-line) 340deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: concierge-spin 3s linear infinite;
}
.concierge-voice-work.is-leaving { animation: concierge-card-out .36s var(--c-ease) forwards; }
@keyframes concierge-card-in { from { opacity: 0; transform: translateY(12px) scale(.98); filter: blur(4px); } }
@keyframes concierge-card-out { to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
@property --c-spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes concierge-spin { to { --c-spin: 360deg; } }
.concierge-voice-work-now { display: flex; align-items: center; gap: 10px; min-width: 0; }
.concierge-voice-work-icon {
    flex: 0 0 22px; width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--c-green), var(--c-saffron) 55%, #f0b25c);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: concierge-twinkle 1.8s ease-in-out infinite;
}
@keyframes concierge-twinkle { 50% { transform: scale(.78) rotate(45deg); } }
.concierge-voice-work-text {
    min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font: 600 14.5px/1.3 var(--c-sans);
    background: linear-gradient(90deg, var(--c-ink) 0%, var(--c-ink) 35%, var(--c-saffron) 50%, var(--c-ink) 65%, var(--c-ink) 100%);
    background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: concierge-shimmer 2.2s linear infinite;
}
.concierge-voice-work-text.is-new { animation: concierge-shimmer 2.2s linear infinite, concierge-word-in .4s var(--c-ease); }
@keyframes concierge-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.concierge-voice-work-time { flex: 0 0 auto; font: 500 12px/1 var(--c-sans); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.concierge-voice-work-trail { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.concierge-voice-work-trail:empty { display: none; }
.concierge-voice-work-trail li {
    display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 24px; padding: 0 9px 0 6px;
    border-radius: var(--c-radius-pill); background: var(--c-green-soft); color: var(--c-green-dark);
    font: 500 11.5px/1 var(--c-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    animation: concierge-chip-in .35s var(--c-ease) backwards;
}
.concierge-voice-work-trail svg { flex: 0 0 13px; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes concierge-chip-in { from { opacity: 0; transform: scale(.8); } }
.concierge-voice-work-bar { display: block; height: 3px; margin-top: 11px; border-radius: 3px; background: var(--c-glass-line); overflow: hidden; }
.concierge-voice-work-bar i {
    display: block; width: 40%; height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--c-saffron), #f0b25c, transparent);
    animation: concierge-sweep 1.3s ease-in-out infinite;
}
@keyframes concierge-sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
/* The answer is in: a tick instead of the spark, the bar full, waiting for her to say it. */
.concierge-voice-work.is-done .concierge-voice-work-icon,
.concierge-voice-work.is-failed .concierge-voice-work-icon { animation: none; border-radius: 50%; -webkit-mask: none; mask: none; position: relative; }
.concierge-voice-work.is-done .concierge-voice-work-icon { background: var(--c-green); }
.concierge-voice-work.is-done .concierge-voice-work-icon::after,
.concierge-voice-work.is-failed .concierge-voice-work-icon::after {
    content: ''; position: absolute; inset: 0;
    background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E");
}
.concierge-voice-work.is-failed .concierge-voice-work-icon { background: #b3361f; }
.concierge-voice-work.is-failed .concierge-voice-work-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E");
}
.concierge-voice-work:is(.is-done, .is-failed) .concierge-voice-work-text { animation: none; background: none; color: var(--c-ink); }
.concierge-voice-work.is-failed .concierge-voice-work-text { color: #9b2c1a; }
.concierge-voice-work:is(.is-done, .is-failed)::before { animation: none; background: var(--c-glass-line); }
.concierge-voice-work.is-done .concierge-voice-work-bar i { width: 100%; animation: none; background: linear-gradient(90deg, var(--c-green), #f0b25c); }
.concierge-voice-work.is-failed .concierge-voice-work-bar { display: none; }

/* What Gayatri is doing, in a small pill just above the controls: four bars that move while
   she listens (green) or speaks (saffron), bouncing dots while she thinks or connects. */
.concierge-voice-pill {
    display: flex; align-items: center; gap: 10px; justify-self: center; max-width: calc(100% - 32px);
    margin: 0 0 var(--c-space-3); padding: 7px 14px 7px 12px;
    border: 1px solid var(--c-glass-line); border-radius: var(--c-radius-pill);
    background: var(--c-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--c-shadow-sm);
}
.concierge-voice-status {
    min-width: 0; font: 600 12.5px/1.2 var(--c-sans); color: var(--c-green-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.concierge-voice-indicator { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; height: 16px; }
.concierge-voice-indicator i {
    display: block; width: 3px; height: 6px; border-radius: 2px; background: var(--c-muted);
    transition: background-color var(--c-quick) ease;
}
.concierge-voice:is([data-state="listening"], [data-state="interrupted"]) .concierge-voice-indicator i { background: var(--c-green); animation: concierge-voice-bars 1s ease-in-out infinite; }
.concierge-voice[data-state="speaking"] .concierge-voice-indicator i { background: var(--c-saffron); animation: concierge-voice-bars .6s ease-in-out infinite; }
.concierge-voice:is([data-state="listening"], [data-state="interrupted"], [data-state="speaking"]) .concierge-voice-indicator i:nth-child(2) { animation-delay: -.45s; }
.concierge-voice:is([data-state="listening"], [data-state="interrupted"], [data-state="speaking"]) .concierge-voice-indicator i:nth-child(3) { animation-delay: -.3s; }
.concierge-voice:is([data-state="listening"], [data-state="interrupted"], [data-state="speaking"]) .concierge-voice-indicator i:nth-child(4) { animation-delay: -.15s; }
.concierge-voice:is([data-state="thinking"], [data-state="connecting"], [data-state="reconnecting"]) .concierge-voice-indicator i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-saffron); animation: concierge-voice-dots 1.1s ease-in-out infinite; }
.concierge-voice:is([data-state="thinking"], [data-state="connecting"], [data-state="reconnecting"]) .concierge-voice-indicator i:nth-child(2) { animation-delay: .15s; }
.concierge-voice:is([data-state="thinking"], [data-state="connecting"], [data-state="reconnecting"]) .concierge-voice-indicator i:nth-child(3) { animation-delay: .3s; }
.concierge-voice:is([data-state="thinking"], [data-state="connecting"], [data-state="reconnecting"]) .concierge-voice-indicator i:nth-child(4) { display: none; }
.concierge-voice:is([data-state="speaking"]) .concierge-voice-status { color: var(--c-saffron-dark); }
.concierge-voice.is-mic-off:not([data-state="speaking"]) .concierge-voice-indicator i { background: var(--c-muted); animation: none; }
.concierge-voice:is([data-state="error"]) .concierge-voice-status { color: #9b2c1a; }
@keyframes concierge-voice-bars { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes concierge-voice-dots { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }

/* The sphere of dots (drawn on the canvas by concierge-voice.js): its shape folds and moves
   with the voice, its colours (the theme's green and saffron) change with who is speaking.
   Tap it to interrupt Gayatri. */
.concierge-voice-orb {
    position: relative; height: min(100%, 320px); width: auto; max-width: 100%; aspect-ratio: 1; padding: 0;
    border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.concierge-voice-halo { position: absolute; inset: 16%; border-radius: 50%; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.concierge-voice-halo::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
    background: conic-gradient(from var(--c-spin, 0deg), transparent 0deg, transparent 40deg, var(--c-saffron) 120deg, #f0b25c 160deg, transparent 200deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: concierge-spin 1.6s linear infinite;
}
.concierge-voice-halo::after {
    content: ''; position: absolute; inset: -7%; border-radius: 50%;
    background: radial-gradient(circle, transparent 58%, rgba(212, 98, 31, .12) 70%, transparent 76%);
    animation: concierge-breathe 2.4s ease-in-out infinite;
}
.concierge-voice.is-working .concierge-voice-halo { opacity: 1; }
@keyframes concierge-breathe { 0%, 100% { transform: scale(.97); opacity: .6; } 50% { transform: scale(1.03); opacity: 1; } }
.concierge-voice-orb:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 4px; }
.concierge-orb-canvas { display: block; width: 100%; height: 100%; pointer-events: none; }

/* The controls: type instead, mute the microphone, end voice. */
.concierge-voice-controls {
    display: flex; align-items: center; gap: 6px; margin: 0 var(--c-space-3) var(--c-space-3); padding: 5px 5px 5px 16px;
    border: 1px solid var(--c-glass-line); border-radius: 28px; background: var(--c-glass);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 2px rgba(18, 63, 40, .05), 0 6px 20px rgba(18, 63, 40, .08);
}
.concierge-voice-controls:focus-within { border-color: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft); }
.concierge-voice-controls input {
    flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: transparent;
    font: 15px var(--c-sans); color: var(--c-ink); outline: none;
}
.concierge-voice-controls input::placeholder { color: var(--c-muted); }
.concierge-voice-mute, .concierge-voice-end {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; cursor: pointer;
    transition: background-color var(--c-quick) ease, transform var(--c-quick) ease;
}
.concierge-voice-mute { background: var(--c-sand); color: var(--c-green-dark); }
.concierge-voice-mute:hover { background: var(--c-green-soft); }
.concierge-voice-mute[aria-pressed="true"] { background: var(--c-green-dark); color: #fff; }
.concierge-voice-end { background: var(--c-saffron); color: #fff; box-shadow: 0 2px 6px var(--c-saffron-glow); }
.concierge-voice-end:hover { background: var(--c-saffron-dark); }
.concierge-voice-mute:active, .concierge-voice-end:active { transform: scale(.92); }
.concierge-voice-mute:focus-visible, .concierge-voice-end:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }
.concierge-voice-mute svg, .concierge-voice-end svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-icon-mic-off, .concierge-voice-mute[aria-pressed="true"] .concierge-icon-mic-on { display: none; }
.concierge-voice-mute[aria-pressed="true"] .concierge-icon-mic-off { display: block; }
/* The pop-up that shows only the header and composer opens up to make room for the voice screen. */
body.concierge-compact .concierge.is-voice .concierge-panel { height: 460px; }


/* Speaker on/off in the voice bar: off, replies are shown but not spoken. */
.concierge-voice-speaker {
    display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-surface); color: var(--c-green-dark); cursor: pointer;
}
.concierge-voice-speaker:hover { border-color: var(--c-green); }
.concierge-voice-speaker:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-voice-speaker[aria-pressed="false"] { background: var(--c-sand); color: var(--c-muted); }
.concierge-voice-speaker svg,
.concierge-say svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-icon-sound-off,
.concierge-voice-speaker[aria-pressed="false"] .concierge-icon-sound-on { display: none; }
.concierge-voice-speaker[aria-pressed="false"] .concierge-icon-sound-off { display: block; }

/* Read a reply aloud: a small speaker under each of Gayatri's replies. Hidden
   while talking to her, when replies are spoken anyway. */
.concierge-msg-assistant .concierge-say {
    display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 6px 0 -4px auto; padding: 0;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; color: var(--c-muted); cursor: pointer;
}
.concierge-say:hover { background: var(--c-sand); color: var(--c-green-dark); }
.concierge-say:focus-visible { background: var(--c-sand); color: var(--c-green-dark); outline: 2px solid var(--c-saffron); outline-offset: 1px; }
.concierge-say.is-playing { background: var(--c-green); color: #fff; }
.concierge.is-voice .concierge-say { display: none; }
/* A small microphone at the start of messages that were spoken. */
.concierge-msg.is-voice .concierge-msg-text > :first-child::before {
    content: "\1F399\FE0E"; margin-right: 6px; font-size: 12px; opacity: .75;
}

.concierge-footnote { margin: 0; padding: 0 14px 10px; font-size: 11px; line-height: 1.5; color: var(--c-muted); background: var(--c-cream); text-align: center; }
.concierge-link-btn {
    padding: 0; border: 0; background: none; color: var(--c-green); font: inherit; text-decoration: underline; cursor: pointer;
}
.concierge-link-btn:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; border-radius: 2px; }

/* ---- Motion */
@keyframes concierge-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes concierge-typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes concierge-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes concierge-glow { 0%, 100% { box-shadow: 0 0 0 2px rgba(246, 178, 124, .45); } 50% { box-shadow: 0 0 0 5px rgba(246, 178, 124, .2); } }
@keyframes concierge-launcher-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes concierge-launcher-pulse { 0% { box-shadow: var(--c-shadow-md), 0 0 0 0 var(--c-saffron-glow); } 100% { box-shadow: var(--c-shadow-md), 0 0 0 12px rgba(212, 98, 31, 0); } }
@keyframes concierge-launcher-shimmer { 0%, 72%, 100% { left: -45%; } 35% { left: 115%; } }
@keyframes concierge-launcher-orbit { 0%, 100% { transform: scale(.94); opacity: .35; } 50% { transform: scale(1.12); opacity: .8; } }
/* The voice orb's ring: grows and fades. */
@keyframes concierge-pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes concierge-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes concierge-invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 92, 58, .35); } 50% { box-shadow: 0 0 0 6px rgba(29, 92, 58, 0); } }

/* ---- Wide screens: the open Concierge docks beside the page instead of covering
   it, so the page's own buttons (the order form's Continue, package details)
   stay usable while the Concierge works with the customer. The page simply
   reflows into the remaining width while the panel is open. */
@media (min-width: 1100px) {
    body.concierge-docked { padding-right: var(--concierge-w-docked, 384px) !important; }
    body.concierge-docked .concierge-panel {
        top: 0; right: 0; bottom: 0;
        width: var(--concierge-w-docked, 384px); max-width: none; height: auto; min-height: 0;
        border-width: 0 0 0 1px; border-radius: 0;
        box-shadow: -10px 0 30px rgba(18, 63, 40, .12);
    }
    body.concierge-docked .concierge-launcher { display: none; }
}

/* Maximized: a wide panel beside the page, never over it, so the customer
   sees the page change (filters, packages, the order form) as they chat.
   Wide screens split the window in half; below that it is a large window. */
body.concierge-maximized .concierge-launcher,
body.concierge-minimized .concierge-launcher { display: none; }
body.concierge-maximized .concierge-log { --c-msg-max: 80%; }
/* Two package cards side by side when there is room; one and a peek when not. */
body.concierge-maximized .concierge-package-list.is-carousel:not(.is-single) { --c-card-w: max(calc(50% - var(--c-space-3) / 2), 180px); }
@media (min-width: 1100px) {
    body.concierge-maximized { padding-right: var(--concierge-w-max, 35vw) !important; }
    body.concierge-maximized .concierge-panel {
        top: 0; right: 0; bottom: 0; left: auto;
        width: var(--concierge-w-max, 35vw); max-width: none; height: auto; min-height: 0;
        border-width: 0 0 0 1px; border-radius: 0;
        box-shadow: -10px 0 30px rgba(18, 63, 40, .12);
    }
}
@media (min-width: 601px) and (max-width: 1099px) {
    body.concierge-maximized .concierge-panel {
        top: var(--c-space-4); right: var(--c-space-4); bottom: var(--c-space-4); left: auto;
        width: var(--concierge-w-max, min(720px, calc(100vw - 32px))); max-width: calc(100vw - 32px); height: auto; min-height: 0;
    }
}

/* Pop-up (concierge-minimized): a 460 x 460 chat window floating over the page
   with the conversation, the live total and the message box, dragged by its
   title bar. The position (distance from the right and bottom edges, set by
   concierge.js and the early script in _Layout) is kept across pages. */
body.concierge-minimized .concierge-panel {
    top: auto; left: auto; transform: none;
    right: var(--concierge-mini-right, 16px); bottom: var(--concierge-mini-bottom, 78px);
    width: var(--concierge-w-min, 460px); max-width: calc(100vw - 24px);
    height: var(--concierge-h-min, 460px); max-height: calc(100vh - 24px); min-height: 0;
    border-radius: var(--c-radius-lg);
}
body.concierge-compact .concierge-panel { width: var(--concierge-w-bar, 460px); height: auto; }
body.concierge-minimized .concierge-footnote,
body.concierge-compact .concierge-footnote,
body.concierge-compact .concierge-log,
body.concierge-compact .concierge-totals { display: none; }
body.concierge-minimized .concierge-log { padding: 12px 12px 6px; }
body.concierge-minimized .concierge-msg { max-width: 90%; font-size: 13.5px; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-header { --c-head-y: 10px; padding: var(--c-head-y) 10px var(--c-head-y) 14px; cursor: move; touch-action: none; user-select: none; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-header .concierge-icon-btn { cursor: pointer; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-heading p { display: none; }
:is(body.concierge-minimized, body.concierge-compact) #conciergeTitle { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-avatar { flex-basis: 28px; width: 28px; height: 28px; font-size: 13px; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-composer { padding: 8px 10px 10px; }
:is(body.concierge-minimized, body.concierge-compact) .concierge-composer textarea { min-height: 36px; padding: 8px 4px 8px 10px; font-size: 13px; }
:is(body.concierge-minimized, body.concierge-compact) :is(.concierge-send, .concierge-mic) { flex-basis: 36px; width: 36px; height: 36px; }
.concierge-dragging .concierge-panel { box-shadow: 0 28px 72px rgba(18, 63, 40, .34); }

/* Tablet and phone: the existing quick-contact bar is 48px tall at the bottom. */
@media (max-width: 900px) {
    .concierge-launcher { right: var(--c-space-3); bottom: calc(60px + env(safe-area-inset-bottom)); }
    body[data-page="order"] .concierge-launcher { bottom: calc(156px + env(safe-area-inset-bottom)); }
    .concierge-panel { bottom: calc(116px + env(safe-area-inset-bottom)); height: min(620px, calc(100vh - 140px)); }
    body.concierge-minimized .concierge-panel {
        right: var(--concierge-mini-right, 12px);
        bottom: var(--concierge-mini-bottom, calc(60px + env(safe-area-inset-bottom)));
    }
    body.concierge-minimized[data-page="order"] .concierge-panel { bottom: var(--concierge-mini-bottom, calc(156px + env(safe-area-inset-bottom))); }
}

/* Phone: the panel becomes a full-screen sheet. */
@media (max-width: 600px) {
    .concierge-launcher { min-height: 48px; padding: 0 14px 0 10px; }
    .concierge-panel {
        inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh;
        border: 0; border-radius: 0;
    }
    .concierge-log { --c-msg-max: 94%; }
    .concierge { --c-avatar-gap: 32px; }
    /* The chat already fills a phone, so there is nothing to maximize. */
    .concierge-max-btn { display: none; }
    body.concierge-maximized .concierge-panel { inset: 0; transform: none; width: 100%; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
    body.concierge-maximized .concierge-log { --c-msg-max: 94%; }
    body.concierge-minimized .concierge-panel { top: auto; left: auto; width: min(460px, calc(100vw - 24px)); height: min(460px, calc(100dvh - 24px)); }
}

/* Reduced motion: every animation and transition in the widget becomes an instant
   change (the typing dots stand still, new messages simply appear, the shimmering
   activity text is plain). */
@media (prefers-reduced-motion: reduce) {
    .concierge *, .concierge *::before, .concierge *::after { animation: none !important; transition: none !important; }
    .concierge-log { scroll-behavior: auto; }
    .concierge-dots i { opacity: .8; }
    .concierge-status > span:last-child { background: none; color: var(--c-muted); }
}

/* ---- Home delivery cards: dish portion under the name, − / + on the food basket. */
.concierge-dish-portion { display: block; font-size: 11px; color: var(--c-muted); }
.concierge-qty { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.concierge-qty .concierge-qty-btn { min-width: 30px; min-height: 30px; padding: 0 8px; font-size: 15px; line-height: 1; }
.concierge-delivery-subtotal { margin-top: var(--c-space-2); font-weight: 600; font-size: 13px; }
.concierge-press { margin-top: var(--c-space-2); }

/* ---- A page's modal dialog is open: the widget lives inside it (concierge.js keepAboveDialogs)
   so it stays usable; docked, the dialog centres in the space left of the panel. */
/* Inside a page's dialog its form styles (.dp-dialog input, label; .dp button { font: inherit }) must not
   restyle the chat: its own look, restated with the dialog in the selector. */
dialog #concierge .concierge-composer textarea { display: block; width: auto; min-width: 0; margin: 0; padding: 10px 6px 10px 12px; border: 0; border-radius: 0; font: 14px/1.4 var(--c-sans); color: var(--c-ink); background: transparent; box-shadow: none; }
dialog #concierge .concierge-composer textarea:focus { background: transparent; outline: none; box-shadow: none; }
dialog #concierge .concierge-chip { font: 500 12.5px/1.2 var(--c-sans); }
dialog #concierge .concierge-btn { font: 600 13px/1.2 var(--c-sans); }
body.concierge-over-dialog dialog:modal { inset-inline-end: var(--concierge-panel-room, 0px); max-width: calc(100vw - var(--concierge-panel-room, 0px) - 24px); }

@media print { .concierge { display: none; } }

/* ---- Chat history: slides over the chat below the header. A white top bar
   (back, title, new chat, search) over a cream list of chats grouped by day. */
.concierge-history-panel {
    /* top: the header's height, set by concierge.js (fitHistory); 70px is the docked header. */
    position: absolute; inset: 70px 0 0; z-index: 5;
    display: flex; flex-direction: column;
    background: var(--c-cream);
    animation: concierge-history-in .2s var(--c-ease);
}
.concierge-history-panel[hidden] { display: none; }
.concierge-history-top {
    padding: var(--c-space-3) var(--c-space-4);
    background: var(--c-surface); border-bottom: 1px solid var(--c-line);
}
.concierge-history-bar { display: flex; align-items: center; gap: var(--c-space-2); margin-bottom: var(--c-space-3); }
.concierge-history-back {
    display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; margin-left: -6px;
    border: 0; border-radius: 50%; background: transparent; color: var(--c-ink); cursor: pointer;
    transition: background var(--c-quick) ease;
}
.concierge-history-back:hover { background: var(--c-sand); }
.concierge-history-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-history-heading { flex: 1; min-width: 0; }
.concierge-history-heading h3 { margin: 0; font: 600 17px/1.2 var(--c-serif); color: var(--c-green-dark); }
.concierge-history-heading p { margin: 2px 0 0; font-size: 12px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concierge-history-new {
    display: inline-flex; align-items: center; gap: var(--c-space-1); flex: 0 0 auto;
    padding: 6px 12px 6px 9px; border: 1px solid var(--c-green); border-radius: var(--c-radius-pill);
    background: var(--c-surface); color: var(--c-green); font: 600 12px/1 var(--c-sans); cursor: pointer;
    transition: background var(--c-quick) ease;
}
.concierge-history-new:hover { background: var(--c-green-soft); }
.concierge-history-new svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.concierge-history-search { position: relative; }
.concierge-history-search svg {
    position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%);
    fill: none; stroke: var(--c-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.concierge-history-search input {
    box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px 0 36px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md);
    background: var(--c-cream); color: var(--c-ink); font: 14px var(--c-sans);
    transition: border-color var(--c-quick) ease, background var(--c-quick) ease, box-shadow var(--c-quick) ease;
}
.concierge-history-search input::placeholder { color: var(--c-muted); }
.concierge-history-search input:focus { border-color: var(--c-green); background: var(--c-surface); box-shadow: 0 0 0 3px var(--c-green-soft); }
.concierge-history-list { flex: 1; overflow-y: auto; padding: var(--c-space-1) var(--c-space-4) var(--c-space-4); }
.concierge-history-group {
    margin: var(--c-space-4) var(--c-space-1) var(--c-space-2);
    font: 600 11px/1 var(--c-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted);
}
.concierge-history-items { display: grid; gap: var(--c-space-2); margin: 0; padding: 0; list-style: none; }
.concierge-history-item {
    display: flex; align-items: center; gap: var(--c-space-3); width: 100%; padding: var(--c-space-3);
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md);
    background: var(--c-surface); color: var(--c-ink); font: inherit; text-align: left;
    box-shadow: var(--c-shadow-sm); cursor: pointer;
    transition: transform var(--c-quick) ease, box-shadow var(--c-quick) ease, border-color var(--c-quick) ease;
}
.concierge-history-item:hover { transform: translateY(-1px); border-color: #d8c6a6; box-shadow: var(--c-shadow-md); }
.concierge-history-item:active { transform: scale(.99); }
.concierge-history-icon {
    display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
    border-radius: 10px; background: var(--c-green-soft); color: var(--c-green);
}
.concierge-history-icon svg,
.concierge-history-empty-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.concierge-history-body { display: flex; flex-direction: column; gap: var(--c-space-1); flex: 1; min-width: 0; }
.concierge-history-title {
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 14px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere;
}
.concierge-history-title mark { padding: 0 1px; border-radius: 3px; background: var(--c-saffron-soft); color: var(--c-saffron-deep); }
.concierge-history-meta { display: flex; align-items: center; gap: var(--c-space-2); font-size: 12px; color: var(--c-muted); }
.concierge-history-badge {
    padding: 2px 8px; border-radius: var(--c-radius-pill);
    background: var(--c-green); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
}
.concierge-history-chevron {
    flex: 0 0 18px; width: 18px; height: 18px;
    fill: none; stroke: var(--c-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform var(--c-quick) ease, stroke var(--c-quick) ease;
}
.concierge-history-item:hover .concierge-history-chevron { transform: translateX(2px); stroke: var(--c-saffron); }
.concierge-history-item.is-current { border-color: var(--c-green); background: var(--c-green-tint); }
.concierge-history-item.is-current .concierge-history-icon { background: var(--c-green); color: #fff; }
.concierge-history-item.is-opening { cursor: progress; }
.concierge-history-item.is-opening .concierge-history-chevron { animation: concierge-breathe 1s ease-in-out infinite; }
.concierge-history-error {
    margin: var(--c-space-3) 0 0; padding: var(--c-space-2) var(--c-space-3); border-radius: var(--c-radius-sm);
    background: #fdecea; color: #9b2c1a; font-size: 13px;
}
.concierge-history-empty {
    display: flex; flex-direction: column; align-items: center; gap: var(--c-space-2);
    padding: 48px var(--c-space-4) var(--c-space-5); text-align: center; color: var(--c-muted);
}
.concierge-history-empty-icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--c-space-1);
    border-radius: 50%; background: var(--c-sand); color: var(--c-saffron-dark);
}
.concierge-history-empty-icon svg { width: 24px; height: 24px; }
.concierge-history-empty.is-error .concierge-history-empty-icon { background: #fdecea; color: var(--c-nonveg); }
.concierge-history-empty strong { font-size: 15px; font-weight: 600; color: var(--c-ink); overflow-wrap: anywhere; }
.concierge-history-empty p { max-width: 270px; margin: 0; font-size: 13px; line-height: 1.5; }
.concierge-history-empty .concierge-btn { margin-top: var(--c-space-2); }
.concierge-history-loading { display: grid; gap: var(--c-space-2); padding-top: var(--c-space-4); }
.concierge-history-skeleton {
    height: 62px; border-radius: var(--c-radius-md);
    background: linear-gradient(90deg, var(--c-sand) 25%, #fbf8f2 50%, var(--c-sand) 75%);
    background-size: 200% 100%; animation: concierge-shimmer 1.4s linear infinite;
}
@keyframes concierge-history-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
/* A narrow panel keeps the new-chat button as an icon (its label stays for screen readers). */
@media (max-width: 380px) {
    .concierge-history-new { padding: 7px; }
    .concierge-history-new span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- This chat's menu (⋯): rename, share, copy ------------------------------- */
.concierge-header { position: relative; }
.concierge-more { display: contents; }
.concierge-icon-btn svg circle { fill: currentColor; stroke: none; }
.concierge-menu {
    position: absolute; top: calc(100% - 6px); right: var(--c-space-3); z-index: 8;
    min-width: 220px; max-width: calc(100% - 24px); padding: 6px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md);
    background: var(--c-surface); color: var(--c-ink); box-shadow: var(--c-shadow-md);
    animation: concierge-menu-in .14s var(--c-ease);
}
.concierge-menu[hidden], .concierge-submenu[hidden] { display: none; }
.concierge-menu-title {
    margin: 0 0 4px; padding: 6px 10px 8px; border-bottom: 1px solid var(--c-line);
    font-size: 12px; font-weight: 600; color: var(--c-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.concierge-menu-item {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; color: var(--c-ink);
    font: 500 14px var(--c-sans); text-align: left; cursor: pointer;
}
.concierge-menu-item:hover, .concierge-menu-item:focus-visible { background: var(--c-sand); outline: none; }
.concierge-menu-item svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.concierge-menu-item span { flex: 1; }
.concierge-menu-item .concierge-menu-chevron { flex-basis: 16px; width: 16px; height: 16px; color: var(--c-muted); }
.concierge-menu-item[aria-expanded="true"] .concierge-menu-chevron { transform: rotate(90deg); }
.concierge-submenu { margin: 2px 0 2px 28px; padding-left: 6px; border-left: 2px solid var(--c-line); }
.concierge-submenu .concierge-menu-item { padding: 7px 10px; font-size: 13px; }
@keyframes concierge-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---- Rename: a small card under the header ------------------------------------ */
.concierge-rename {
    display: grid; gap: var(--c-space-2); padding: var(--c-space-3) var(--c-space-4);
    border-bottom: 1px solid var(--c-line); background: var(--c-surface);
}
.concierge-rename[hidden] { display: none; }
.concierge-rename label { font-size: 12px; font-weight: 600; color: var(--c-muted); }
.concierge-rename input {
    box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md);
    background: var(--c-cream); color: var(--c-ink); font: 14px var(--c-sans);
}
.concierge-rename input:focus { border-color: var(--c-green); background: var(--c-surface); box-shadow: 0 0 0 3px var(--c-green-soft); outline: none; }
.concierge-rename-error { margin: 0; font-size: 12px; color: #9b2c1a; }
.concierge-rename-error[hidden] { display: none; }
.concierge-rename-actions { display: flex; justify-content: flex-end; gap: var(--c-space-2); }

/* ---- Settings: slides over the chat like the history --------------------------- */
.concierge-settings-bar { margin-bottom: 0; }
.concierge-settings-body {
    flex: 1; overflow-y: auto; display: grid; gap: var(--c-space-4); align-content: start;
    padding: var(--c-space-3) var(--c-space-4) var(--c-space-4);
}
.concierge-setting { margin: 0; padding: 0; border: 0; min-width: 0; }
.concierge-setting legend {
    margin-bottom: var(--c-space-2); padding: 0;
    font: 600 11px/1 var(--c-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted);
}
.concierge-segmented {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 4px; padding: 4px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-surface);
}
.concierge-segmented [role="radio"] {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 8px;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; color: var(--c-ink);
    font: 500 13px var(--c-sans); cursor: pointer;
}
.concierge-segmented [role="radio"]:hover { background: var(--c-sand); }
.concierge-segmented [role="radio"][aria-checked="true"] { background: var(--c-green); color: #fff; }
.concierge-segmented [role="radio"]:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 1px; }
.concierge-size-sample { font-family: var(--c-serif); font-weight: 600; font-size: 14px; line-height: 1; }
.concierge-size-sample.is-small { font-size: 12px; }
.concierge-size-sample.is-large { font-size: 17px; }
.concierge-size-sample.is-xlarge { font-size: 20px; }
.concierge-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: var(--c-space-3);
    margin-bottom: 6px; padding: 10px 12px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-surface); cursor: pointer;
}
.concierge-toggle span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.concierge-toggle strong { font-size: 14px; font-weight: 500; color: var(--c-ink); }
.concierge-toggle small { font-size: 12px; color: var(--c-muted); }
.concierge-toggle input {
    appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 40px; width: 40px; height: 24px; margin: 0;
    border-radius: var(--c-radius-pill); background: var(--c-line); cursor: pointer;
    transition: background var(--c-quick) ease;
}
.concierge-toggle input::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--c-quick) var(--c-ease);
}
.concierge-toggle input:checked { background: var(--c-green); }
.concierge-toggle input:checked::after { transform: translateX(16px); }
.concierge-toggle input:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-settings-reset { justify-self: start; }

/* ---- Text size (Settings): the whole conversation scales, cards and buttons too ---- */
.concierge[data-text-size="small"] .concierge-log { zoom: .92; }
.concierge[data-text-size="large"] .concierge-log { zoom: 1.12; }
.concierge[data-text-size="xlarge"] .concierge-log { zoom: 1.25; }
.concierge[data-text-size="small"] .concierge-composer textarea { font-size: 13px; }
.concierge[data-text-size="large"] .concierge-composer textarea { font-size: 16px; }
.concierge[data-text-size="xlarge"] .concierge-composer textarea { font-size: 18px; }

/* ---- Message times and motion (Settings) ------------------------------------------ */
.concierge.is-hide-times .concierge-msg-time { display: none; }
.concierge.is-calm *, .concierge.is-calm *::before, .concierge.is-calm *::after { animation: none !important; transition: none !important; }

/* ---- Dark appearance (Settings: Dark, or Match device on a dark device) ------------
   Surfaces, text and lines turn dark; the brand header and the customer's green
   bubbles keep their own greens. */
.concierge[data-theme="dark"] {
    --c-surface: #1e2420;
    --c-cream: #151916;
    --c-sand: #29302b;
    --c-line: #353e38;
    --c-ink: #ece7df;
    --c-muted: #a8a094;
    --c-green-soft: #1f3a2a;
    --c-green-tint: #18261d;
    --c-green-dark: #9ad3b0;
    --c-saffron-soft: #3d2718;
    --c-saffron-deep: #f3b081;
    color-scheme: dark;
}
.concierge[data-theme="dark"] .concierge-header .concierge-toolbar { box-shadow: 0 1px 0 var(--c-line), 0 6px 16px rgba(0, 0, 0, .35); }
.concierge[data-theme="dark"] .concierge-msg-user { background: linear-gradient(135deg, #1d5c3a, #174d31); }
.concierge[data-theme="dark"] .concierge-msg-time { color: #a8a094; }
.concierge[data-theme="dark"] .concierge-msg-user .concierge-msg-time { color: #cfe3d6; }
.concierge[data-theme="dark"] .concierge-msg-assistant.is-error { background: #3a2420; border-color: #6b3a2c; }
.concierge[data-theme="dark"] .concierge-rename-error { color: #f3a08a; }
@media (prefers-color-scheme: dark) {
    .concierge[data-theme="system"] {
        --c-surface: #1e2420;
        --c-cream: #151916;
        --c-sand: #29302b;
        --c-line: #353e38;
        --c-ink: #ece7df;
        --c-muted: #a8a094;
        --c-green-soft: #1f3a2a;
        --c-green-tint: #18261d;
        --c-green-dark: #9ad3b0;
        --c-saffron-soft: #3d2718;
        --c-saffron-deep: #f3b081;
        color-scheme: dark;
    }
    .concierge[data-theme="system"] .concierge-header .concierge-toolbar { box-shadow: 0 1px 0 var(--c-line), 0 6px 16px rgba(0, 0, 0, .35); }
    .concierge[data-theme="system"] .concierge-msg-user { background: linear-gradient(135deg, #1d5c3a, #174d31); }
    .concierge[data-theme="system"] .concierge-msg-time { color: #a8a094; }
    .concierge[data-theme="system"] .concierge-msg-user .concierge-msg-time { color: #cfe3d6; }
    .concierge[data-theme="system"] .concierge-msg-assistant.is-error { background: #3a2420; border-color: #6b3a2c; }
    .concierge[data-theme="system"] .concierge-rename-error { color: #f3a08a; }
}

/* ---- Voice screen in the dark appearance: deep green, the dark tokens do the rest ---- */
.concierge[data-theme="dark"] .concierge-voice { background: radial-gradient(120% 70% at 50% 100%, #183326 0%, #121a15 55%, #0f1411 100%); }
.concierge[data-theme="dark"] .concierge-voice-pill { background: color-mix(in srgb, #1a221d 72%, transparent); }
.concierge[data-theme="dark"] .concierge-voice-status { color: #cfe3d6; }
.concierge[data-theme="dark"] .concierge-voice-mute[aria-pressed="true"] { background: #ece7df; color: #123f28; }
.concierge[data-theme="dark"] .concierge-voice-work.is-failed .concierge-voice-work-text { color: #f3a08a; }
.concierge[data-theme="dark"] .concierge-voice-lang svg { stroke: #9ad3b0; }
.concierge[data-theme="dark"] .concierge-voice-line.is-gayatri .concierge-voice-who { color: #f3b081; }
@media (prefers-color-scheme: dark) {
    .concierge[data-theme="system"] .concierge-voice { background: radial-gradient(120% 70% at 50% 100%, #183326 0%, #121a15 55%, #0f1411 100%); }
    .concierge[data-theme="system"] .concierge-voice-pill { background: color-mix(in srgb, #1a221d 72%, transparent); }
    .concierge[data-theme="system"] .concierge-voice-status { color: #cfe3d6; }
    .concierge[data-theme="system"] .concierge-voice-mute[aria-pressed="true"] { background: #ece7df; color: #123f28; }
    .concierge[data-theme="system"] .concierge-voice-work.is-failed .concierge-voice-work-text { color: #f3a08a; }
    .concierge[data-theme="system"] .concierge-voice-lang svg { stroke: #9ad3b0; }
    .concierge[data-theme="system"] .concierge-voice-line.is-gayatri .concierge-voice-who { color: #f3b081; }
}

/* ---- Chat history: typed chats and voice chats in two tabs ------------------------- */
.concierge-history-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: var(--c-space-3); padding: 4px;
    border: 1px solid var(--c-line); border-radius: var(--c-radius-md); background: var(--c-cream);
}
.concierge-history-tabs [role="tab"] {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 10px;
    border: 0; border-radius: var(--c-radius-sm); background: transparent; color: var(--c-muted);
    font: 600 13px var(--c-sans); cursor: pointer;
    transition: background-color var(--c-quick) ease, color var(--c-quick) ease;
}
.concierge-history-tabs [role="tab"]:hover { color: var(--c-ink); }
.concierge-history-tabs [role="tab"][aria-selected="true"] { background: var(--c-surface); color: var(--c-green-dark); box-shadow: var(--c-shadow-sm); }
.concierge-history-tabs [role="tab"]:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 1px; }
.concierge-history-tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-history-tab-count:not(:empty) {
    min-width: 18px; padding: 1px 6px; border-radius: var(--c-radius-pill);
    background: var(--c-green-soft); color: var(--c-green-dark); font-size: 11px; line-height: 16px; text-align: center;
}
.concierge-history-tabs [aria-selected="true"] .concierge-history-tab-count:not(:empty) { background: var(--c-green); color: #fff; }
/* A voice chat in the list: the sound-wave mark in saffron. */
.concierge-history-item.is-voice .concierge-history-icon { background: var(--c-saffron-soft); color: var(--c-saffron-dark); }
.concierge-history-item.is-voice.is-current .concierge-history-icon { background: var(--c-saffron); color: #fff; }
.concierge-history-item.is-voice.is-current { border-color: var(--c-saffron); background: var(--c-surface); }
.concierge-history-item.is-voice .concierge-history-badge { background: var(--c-saffron-dark); }

/* One voice chat's transcript: who said what, in order, and a way back into the conversation. */
.concierge-transcript { display: flex; flex-direction: column; gap: var(--c-space-3); padding-top: var(--c-space-3); }
.concierge-transcript-top { display: flex; align-items: center; justify-content: space-between; gap: var(--c-space-2); }
.concierge-transcript-back {
    display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 4px;
    border: 0; border-radius: var(--c-radius-pill); background: transparent; color: var(--c-green-dark);
    font: 600 13px var(--c-sans); cursor: pointer;
}
.concierge-transcript-back:hover { background: var(--c-sand); }
.concierge-transcript-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.concierge-transcript-when { font-size: 12px; color: var(--c-muted); text-align: right; }
.concierge-transcript-lines { display: grid; gap: var(--c-space-2); }
.concierge-transcript-line { max-width: 88%; padding: 8px 12px; border-radius: var(--c-radius-md); }
.concierge-transcript-line p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.concierge-transcript-who { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.concierge-transcript-line.is-user { justify-self: end; background: var(--c-green); color: #fff; border-bottom-right-radius: 4px; }
.concierge-transcript-line.is-assistant { justify-self: start; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-bottom-left-radius: 4px; }
.concierge-transcript-line.is-assistant .concierge-transcript-who { color: var(--c-saffron-dark); opacity: 1; }
.concierge-transcript-resume { align-self: center; margin-top: var(--c-space-2); }

/* ---- Gayatri's robot: the chatbot's logo -------------------------------------------
   A white glass head with a deep-green visor, glowing saffron eyes and smile, and a saffron
   ear ring (inline SVG in _Concierge.cshtml and concierge.js). It blinks now and then, and
   its eyes glance from side to side while Gayatri is working (.is-busy). */
.concierge-robot { display: block; width: 100%; height: 100%; overflow: visible; }
.concierge-robot-eyes { transform-box: fill-box; transform-origin: center; animation: concierge-robot-blink 5s ease-in-out infinite; }
.concierge.is-busy .concierge-robot-eyes { animation: concierge-robot-look 1.4s ease-in-out infinite; }
.concierge-robot-ear { transform-box: fill-box; transform-origin: center; animation: concierge-robot-ear 2.6s ease-in-out infinite; }
@keyframes concierge-robot-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.12); } }
@keyframes concierge-robot-look { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-2.5px); } 70% { transform: translateX(2.5px); } }
@keyframes concierge-robot-ear { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* In the launcher and the header: the robot fills the round mark. */
.concierge-launcher-mark { color: inherit; font-size: 0; overflow: visible; }
.concierge-launcher-mark .concierge-robot { width: 32px; height: 32px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.concierge-avatar { font-size: 0; background: var(--c-green-soft); }
.concierge-avatar .concierge-robot { width: 32px; height: 32px; }

/* ---- The welcome picture: the robot floating on its stand, with glass cards around it
   (what Gayatri can do; each card asks for it). Shown under the greeting until the first
   message, like the picture it replaces. */
/* A fresh chat: the greeting at the top, the robot centred in the room left over, and the
   starters at the bottom, above the message box. */
.concierge-hero { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: var(--c-space-2); }
.concierge-log:not(.is-fresh) .concierge-hero { display: none; }
.concierge-welcome-starters { flex: 0 0 auto; }
.concierge-welcome-starters .concierge-chips { justify-content: center; margin-top: 0; }
.concierge-log:not(.is-fresh) .concierge-welcome-starters { display: none; }
.concierge-hero-stage { position: relative; width: 100%; max-width: 360px; height: 270px; }
.concierge-hero-robot {
    position: absolute; left: 50%; top: 62px; width: 116px; height: 116px; margin-left: -58px; z-index: 1;
    filter: drop-shadow(0 14px 18px rgba(18, 63, 40, .18));
    animation: concierge-hero-float 4.2s ease-in-out infinite;
}
.concierge-hero-stand {
    position: absolute; left: 50%; top: 186px; width: 150px; height: 32px; margin-left: -75px; border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, #2f4a3d 0%, #142a1f 60%, #0b1a12 100%);
    box-shadow: 0 0 0 3px rgba(246, 163, 92, .35), 0 0 22px rgba(246, 163, 92, .45), 0 14px 22px rgba(18, 63, 40, .25);
    animation: concierge-hero-stand 3s ease-in-out infinite;
}
.concierge-hero-stand::after {
    content: ""; position: absolute; inset: 7px 18px 9px; border-radius: 50%;
    border: 1.5px solid rgba(255, 210, 143, .55); box-shadow: 0 0 10px rgba(255, 210, 143, .45);
}

/* The glass cards: frosted, with a speech-bubble tail and the "•••" of a chat window. */
.concierge-hero-card {
    position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    min-width: 0; max-width: 46%; padding: 9px 26px 9px 11px;
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 12px;
    background: linear-gradient(135deg, rgba(230, 242, 234, .92), rgba(243, 249, 245, .78));
    box-shadow: 0 6px 18px rgba(18, 63, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--c-green-dark); font: inherit; text-align: left;
    animation: concierge-hero-card 5s ease-in-out infinite;
}
button.concierge-hero-card { cursor: pointer; transition: border-color var(--c-quick) ease, box-shadow var(--c-quick) ease, transform var(--c-quick) ease; }
button.concierge-hero-card:hover { border-color: var(--c-saffron); box-shadow: 0 8px 22px rgba(212, 98, 31, .18); }
button.concierge-hero-card:focus-visible { outline: 2px solid var(--c-saffron); outline-offset: 2px; }
.concierge-hero-card strong { font: 700 12.5px/1.25 var(--c-sans); color: var(--c-green-dark); }
.concierge-hero-card span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1.3; color: var(--c-muted); }
.concierge-hero-dots { position: absolute; top: 7px; right: 8px; width: 14px; height: 4px;
    background: radial-gradient(circle, var(--c-green) 1.4px, transparent 1.6px) 0 0 / 5px 4px repeat-x; opacity: .55; }
.concierge-hero-card::after {
    content: ""; position: absolute; bottom: -6px; width: 10px; height: 10px; transform: rotate(45deg);
    background: rgba(236, 245, 239, .95); border-right: 1px solid rgba(255, 255, 255, .8); border-bottom: 1px solid rgba(255, 255, 255, .8);
}
.concierge-hero-live { width: 7px; height: 7px; border-radius: 50%; background: #3fbf72; box-shadow: 0 0 0 2px rgba(63, 191, 114, .25); animation: concierge-hero-live 1.6s ease-in-out infinite; }
.concierge-hero-card.is-status { top: 0; left: 0; z-index: 2; }
.concierge-hero-card.is-status::after { left: 70%; }
.concierge-hero-card.is-packages { top: 4px; right: 0; z-index: 2; animation-delay: -1.2s; }
.concierge-hero-card.is-packages::after { left: 18%; }
.concierge-hero-card.is-delivery { top: 98px; left: 0; max-width: calc(50% - 64px); animation-delay: -2.4s; }
.concierge-hero-card.is-delivery::after { right: -5px; bottom: auto; top: 40%; transform: rotate(-45deg); }
.concierge-hero-card.is-hall { top: 108px; right: 0; max-width: calc(50% - 64px); animation-delay: -3.4s; }
.concierge-hero-card.is-hall::after { left: -5px; bottom: auto; top: 40%; transform: rotate(135deg); }
/* The "processing" card: ready while idle, planning with a moving bar while Gayatri works. */
.concierge-hero-card.is-progress {
    top: auto; bottom: 0; left: 50%; width: 200px; max-width: 70%; margin-left: -100px; align-items: stretch;
    padding: 9px 26px 10px 12px; animation: none;
}
.concierge-hero-card.is-progress::after { display: none; }
.concierge-hero-working { display: none; }
.concierge.is-busy .concierge-hero-ready { display: none; }
.concierge.is-busy .concierge-hero-working { display: block; }
.concierge-hero-bar { display: block; height: 7px; margin-top: 6px; border-radius: 4px; overflow: hidden; background: rgba(29, 92, 58, .12); }
.concierge-hero-bar span {
    display: block; width: 100%; height: 100%;
    background: repeating-linear-gradient(90deg, var(--c-green) 0 8px, transparent 8px 11px);
    transform-origin: left; transform: scaleX(.35); opacity: .65;
}
.concierge.is-busy .concierge-hero-bar span { animation: concierge-hero-bar 1.6s ease-in-out infinite; background: repeating-linear-gradient(90deg, var(--c-saffron) 0 8px, transparent 8px 11px); opacity: 1; }
.concierge-hero-hint { max-width: 260px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--c-muted); text-align: center; }
@keyframes concierge-hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes concierge-hero-stand { 0%, 100% { box-shadow: 0 0 0 3px rgba(246, 163, 92, .30), 0 0 18px rgba(246, 163, 92, .35), 0 14px 22px rgba(18, 63, 40, .25); } 50% { box-shadow: 0 0 0 3px rgba(246, 163, 92, .45), 0 0 28px rgba(246, 163, 92, .55), 0 14px 22px rgba(18, 63, 40, .25); } }
@keyframes concierge-hero-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes concierge-hero-live { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes concierge-hero-bar { 0% { transform: scaleX(.08); } 70% { transform: scaleX(.95); } 100% { transform: scaleX(.95); opacity: .4; } }
/* A narrow panel keeps the robot, the status, packages and the processing card. */
@container concierge-panel (max-width: 360px) {
    .concierge-hero-card.is-side { display: none; }
    .concierge-hero-card { max-width: 48%; }
}
/* Dark appearance: smoky glass cards. */
.concierge[data-theme="dark"] .concierge-hero-card { background: linear-gradient(135deg, rgba(31, 58, 42, .92), rgba(24, 38, 29, .85)); border-color: rgba(154, 211, 176, .25); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.concierge[data-theme="dark"] .concierge-hero-card::after { background: rgba(30, 52, 39, .95); border-color: rgba(154, 211, 176, .25); }
@media (prefers-color-scheme: dark) {
    .concierge[data-theme="system"] .concierge-hero-card { background: linear-gradient(135deg, rgba(31, 58, 42, .92), rgba(24, 38, 29, .85)); border-color: rgba(154, 211, 176, .25); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
    .concierge[data-theme="system"] .concierge-hero-card::after { background: rgba(30, 52, 39, .95); border-color: rgba(154, 211, 176, .25); }
}
