/* Aurelio Host — presentation only. All selectors are confined to the chat. */
#host{--ink:#233e33;--muted:#6c786e;--gold:#977847;--paper:#fffef9;box-sizing:border-box;color:var(--ink);background:var(--paper);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;container-type:inline-size;position:fixed;top:106px;right:24px;bottom:24px;width:480px;max-width:100vw;max-height:calc(100dvh - 130px);border:1px solid #dbe1d3;border-radius:22px;box-shadow:0 24px 70px #173b3029}
#host *,#archive-dialog *{box-sizing:border-box}
body.host-closed #host,#host.mobile-hidden{display:none}
#host .host-heading{flex:none;display:flex;align-items:center;gap:8px;padding:18px 26px;background:var(--paper);border-bottom:1px solid #e3e7dc}
#host .host-heading>div{order:0;flex:1;min-width:0}
#host .host-heading .eyebrow{font-size:10px;color:var(--gold);letter-spacing:.2em}
#host .host-heading h2{font:32px/1.15 Georgia,serif;color:var(--ink);letter-spacing:-.02em;margin:4px 0 0}
#host .chat-subtitle{font-size:11px;line-height:1.4;color:var(--muted);margin:4px 0 0}
#host #conversation{min-height:0;flex:1;padding:24px 30px;background:#fafaf5;overflow:auto;overscroll-behavior:contain;overflow-anchor:auto;scrollbar-width:thin;scrollbar-color:#ccd4c6 transparent}
#host #conversation>article{margin:0 auto 28px;padding:0;border:0;font-size:16px;line-height:1.65;max-width:64ch;overflow-wrap:anywhere}
#host #conversation>article>h2:first-child{font:10px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
#host #conversation>article.guest{max-width:80%;width:fit-content;margin:0 0 28px auto;padding:13px 18px;border-radius:18px 18px 4px 18px;background:#294b3c;color:#fffef7;font-size:15px;line-height:1.55;white-space:pre-wrap}
#host #conversation p{white-space:normal;line-height:1.65;margin:0 0 .8em}
#host #conversation h2,#host #conversation h3,#host #conversation h4{font-family:Georgia,serif;font-weight:500;line-height:1.3;margin:1em 0 .45em}
#host #conversation h2{font-size:24px}#host #conversation h3{font-size:22px}#host #conversation h4{font-size:20px}
#host #conversation ul,#host #conversation ol{margin:.6em 0 1em;padding-left:23px}#host #conversation li{margin:.4em 0;padding-left:3px}
#host #conversation a{display:inline;padding:0;color:#315b48;text-decoration:underline;text-decoration-color:#a1b19d;text-underline-offset:3px;overflow-wrap:anywhere}
#host #conversation a:hover{text-decoration-color:currentColor}
#host #conversation>article>section:has(>strong){display:grid;gap:5px;padding:14px 17px;background:#f0f2e9;border:1px solid #e4e7dc;border-radius:12px;margin:12px 0}
#host #conversation>article>section:has(>strong)>strong{font-size:13px;color:#56695b}
#host #conversation>article>section:has(>strong)>p{font-size:13px;margin:0;color:#697668}
#host #conversation>article>section:has(>strong)>p:last-of-type{font-size:17px;font-weight:650;color:#264938;padding-top:6px;border-top:1px solid #d7dfcd}
#host #conversation .room-commerce{margin-top:16px;max-width:none}
#host #conversation .offer,#host #conversation .outside-card{padding:0;margin:0 0 16px;border:1px solid #dce3d3;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px #203c3505}
#host #conversation .offer>img{display:block;width:100%;height:176px;object-fit:cover;margin:0;border-radius:0}
#host #conversation .offer-body{min-width:0;padding:20px}
#host #conversation .offer h3{margin:0 0 10px;font-size:24px}
#host #conversation .offer p{font-size:13px;line-height:1.55;color:#657263;margin:0 0 9px}
#host #conversation .offer-body>strong{display:inline-flex;padding:5px 8px;margin-top:4px;background:#f3ecdb;border-radius:5px;color:#755c31;font-size:10px;letter-spacing:.02em}
#host #conversation .offer-body>strong+p,#host #conversation .offer .amount{font-size:21px;line-height:1.3;font-weight:500;letter-spacing:-.025em;color:#264938;margin:10px 0 14px}
#host #conversation .offer button{display:block;width:100%;min-height:44px;margin:10px 0;padding:11px 12px;border:0;border-radius:9px;background:#294b3e;color:#fff;font:600 13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:normal}
#host #conversation .offer button:disabled{background:#e8ece2;color:#7b8779;cursor:default}
#host #conversation .offer a{display:inline-flex;align-items:center;min-height:36px;padding:5px 0;font-size:12px}
#host #conversation .offer.service-card{padding:20px}
#host #conversation .outside-cards{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}
#host #conversation .outside-card{margin:0;padding:17px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:0 7px}
#host #conversation .outside-card>img{display:block;width:calc(100% + 34px);max-width:none;height:150px;object-fit:cover;margin:-17px -17px 15px;border-radius:0;flex:none}
#host #conversation .outside-card h3{flex-basis:100%;font-size:21px;margin:0 0 8px}
#host #conversation .outside-card p{flex-basis:100%;font-size:13px;line-height:1.55;color:#697667;margin:0 0 9px}
#host #conversation .outside-card a{display:inline-flex;align-items:center;min-height:40px;padding:7px 10px;margin-top:8px;border-radius:7px;background:#edf2e6;text-decoration:none;font-size:12px;font-weight:600}
#host #status{flex:none;font-size:12px;line-height:1.4;color:#677566;padding:0 28px;max-height:60px;overflow:auto;margin:0;background:var(--paper)}
#host #status:not(:empty){padding-top:8px;padding-bottom:5px}
#host #guest-form{flex:none;display:flex;align-items:flex-end;gap:8px;margin:12px 24px 8px;padding:8px 10px;border:1px solid #cfd8c8;border-radius:18px;background:#fff;box-shadow:0 2px 6px #203c3503}
#host #guest-form:focus-within{border-color:#799272;box-shadow:0 0 0 3px #8d9f8110}
#host #guest-input{flex:1;min-width:0;width:100%;height:52px;max-height:132px;resize:none;border:0;outline:0;border-radius:9px;background:transparent;padding:9px 4px;color:var(--ink);font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:none}
#host #cancel-input{flex:none;min-height:44px;border:0;border-radius:8px;background:transparent;color:#62735f;font-size:12px;padding:7px}
#host .chat-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;flex:none;padding:0 18px 5px;background:var(--paper)}
#host .voice-controls{justify-self:start;min-width:0}
#host .conversation-tools{display:flex;flex-direction:column;align-items:flex-end;justify-self:end;min-width:0}
#host .chat-tools button{min-height:44px;border:0;background:transparent;color:#536950;padding:8px 4px;border-radius:8px;font:600 10px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.02em;white-space:nowrap;cursor:pointer}
#host .chat-tools #speak{justify-self:center;align-self:center;height:48px;min-width:102px;min-height:48px;padding:12px 18px;border-radius:24px;background:#294b3e;color:#fffef7;font-size:12px;letter-spacing:.08em}
#host .chat-tools #speak:hover:not(:disabled){background:#203d32}
#host .chat-tools #speak[aria-pressed=true]{box-shadow:0 0 0 3px #aabca760}
#host .chat-tools #speak:disabled{opacity:.55;cursor:default}
#host #mute::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#719578;margin-right:5px;vertical-align:1px}
#host #mute[aria-pressed=true]{color:#8b8779}#host #mute[aria-pressed=true]::before{background:#aeb5a8}
#host .chat-tools button:hover:not(:disabled){background:#eef2e8}
#host .host-note{flex:none;padding:3px 24px 10px;border:0;text-align:center;font-size:9px;color:#8a9584;letter-spacing:.03em;background:var(--paper)}
#host #chat-audio-state[data-active=true]{color:#315b48}
#host #chat-menu{position:absolute;top:80px;right:24px;width:270px;max-width:calc(100% - 40px);max-height:55%;overflow:auto;padding:15px;background:var(--paper);border:1px solid #d7dfce;border-radius:12px;box-shadow:0 10px 35px #203c3520;z-index:4}
#host #chat-menu button{min-height:44px;padding:8px;border:0;border-radius:7px;background:transparent;color:#294b3e}
#host #requests{margin:0;padding:10px 0;border:0;max-height:none}#host #requests summary{min-height:40px;cursor:pointer}
#host button:focus-visible,#host a:focus-visible,#archive-dialog button:focus-visible{outline:2px solid var(--gold,#977847);outline-offset:3px}
#archive-dialog{width:400px;max-width:calc(100vw - 32px);padding:26px;border:1px solid #dbe2d7;border-radius:18px;background:#fffefa;color:#294b3e;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#archive-dialog::backdrop{background:#183c3055}#archive-dialog h2{font:26px Georgia,serif}#archive-dialog button{min-height:44px;padding:10px 16px;border:1px solid #dbe2d7;border-radius:8px;background:#f1f4ed;color:#294b3e}
@container(min-width:560px){#host #conversation .offer:has(>img:not([hidden])){display:grid;grid-template-columns:42% minmax(0,1fr)}#host #conversation .offer>img{height:100%;min-height:290px;object-fit:cover}#host #conversation .outside-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#host{top:var(--chat-viewport-top,0px);right:0;bottom:auto;width:100%;max-width:100%;height:min(100dvh,var(--chat-viewport-height,100dvh));max-height:none;border:0;border-radius:0;z-index:100;box-shadow:none}#host .host-heading{padding:13px 18px}#host #conversation{padding:22px 20px}#host #guest-form{margin:9px 16px 6px}#host .chat-tools{padding:0 16px 2px}}
@media(max-width:540px){#host .host-heading{gap:2px;padding:12px 16px}#host .host-heading h2{font-size:29px}#host .host-heading .eyebrow{font-size:9px}#host .chat-subtitle{font-size:10px}#host #conversation{padding:20px 16px}#host #conversation>article.guest{max-width:89%;font-size:15px;padding:12px 15px}#host #conversation .offer>img{height:160px}#host #conversation .offer-body{padding:17px}#host #conversation .offer h3{font-size:23px}#host #conversation .offer-body>strong+p{font-size:20px}#host #guest-form{margin:8px 12px 4px;padding:6px 8px}#host #guest-input{height:48px}#host .chat-tools{gap:5px;padding:0 12px 3px}#host .chat-tools #speak{min-width:92px;padding:12px 14px}#host .host-note{padding:1px 16px max(6px,env(safe-area-inset-bottom));font-size:9px}#host #chat-menu{top:77px;right:16px}}
@media(prefers-reduced-motion:reduce){#host *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
#host #conversation:empty::before{content:none}
#host #conversation .aurelio-welcome p{font:inherit;line-height:1.65;margin:0}
/* Shared compact room proposal; operational recap/service cards stay unchanged. */
#host #conversation .offer.compact-room{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px;margin-bottom:10px;border-radius:12px;align-items:start}
#host #conversation .offer.compact-room>img{width:120px;height:90px;min-height:0;aspect-ratio:4/3;object-fit:contain;background:#f5f4ee;border-radius:8px;margin:0}
#host #conversation .compact-room .offer-body{padding:0;min-width:0}
#host #conversation .compact-room h3{font-size:20px;line-height:1.2;margin:0 0 5px}
#host #conversation .compact-room p{font-size:12px;line-height:1.4;margin:0 0 4px}
#host #conversation .compact-room .amount,#host #conversation .compact-room .offer-body>strong+p{font-size:15px;line-height:1.35;margin:4px 0;color:#264938;font-weight:600;letter-spacing:0}
#host #conversation .compact-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 5px}
#host #conversation .compact-rate{display:flex;flex-direction:column;min-width:0;padding:0}
#host #conversation .compact-rate>p:first-child{font-weight:600;color:#264938}
#host #conversation .compact-room button{width:auto;max-width:100%;min-height:44px;margin:4px 0 0;padding:8px;font-size:12px;line-height:1.3}
#host #conversation .compact-rate button{margin-top:auto;width:100%}
#host #conversation .compact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:4px}
#host #conversation .compact-room a{min-height:44px;font-size:12px;padding:4px 0}
#host #conversation .compact-room .stay-total-note{font-size:11px;color:#6c786e;margin:4px 0}
#host #conversation .compact-room[data-selected=true]{border-color:#6b8772;box-shadow:inset 3px 0 #6b8772}
@container(max-width:420px){
 #host #conversation .offer.compact-room{display:block;position:relative;padding:12px}
 #host #conversation .offer.compact-room>img{float:left;width:88px;height:66px;min-height:0;margin:0 10px 8px 0}
 #host #conversation .compact-room h3{font-size:19px}
 #host #conversation .compact-rates,#host #conversation .compact-actions{clear:both}
 #host #conversation .compact-room .offer-body{display:flow-root}
}
@container(min-width:421px){#host #conversation .offer.compact-room:has(>img:not([hidden])){grid-template-columns:120px minmax(0,1fr)}}
@container(max-width:420px){#host #conversation .compact-room .offer-body{display:block}#host #conversation .compact-room .offer-body::after{content:'';display:block;clear:both}}

/* Existing audio toggle, represented by an accessible speaker icon. */
#host .chat-tools #mute{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:8px;color:#267343}
#host .chat-tools #mute[data-muted=true]{color:#b32f35}
#host #mute svg{display:block;flex:none}
@container(max-width:260px){#host .chat-tools{grid-template-columns:44px minmax(0,1fr) auto;gap:4px}}

/* Only the narrow embedded Host changes welcome presentation. Full-width/mobile
   and expanded Host retain the exact approved canonical paragraph. */
#host .welcome-narrow{display:none}
@media (max-width:300px){
 #host .welcome-spacious{display:none}
 #host .welcome-narrow{display:block}
 #host .welcome-identity-line{display:block}
 #host .welcome-capabilities{display:block;margin-top:.8em}
}
