/* Existing river-blue palette, porcelain surfaces, and native mobile navigation. */
.sc-page{padding:28px 22px 32px;max-width:720px;margin:auto;color:var(--ink)}
.sc-offer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.sc-offer>div{min-width:0}.sc-offer-label{font-size:12px;color:var(--muted)}.sc-price{display:block;font-size:25px;line-height:1.5;font-weight:600;color:var(--river-deep);letter-spacing:0}.sc-price small{font-size:12px;font-weight:400}.sc-price-note{font-size:11px;line-height:1.7;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.sc-offer .primary{flex:none;min-height:44px;padding:12px 16px;white-space:nowrap}.sc-offer button:disabled{opacity:.55;cursor:default}.sc-booking-summary{padding:0 22px 16px;border-bottom:1px solid var(--line)}.sc-booking-summary h3{font-size:18px;line-height:1.5;margin:0 0 8px}.sc-booking-summary p{font-size:13px;margin:0;color:var(--muted)}.sc-booking-summary strong{font-size:22px;color:var(--river-deep)}.sc-booking-form{padding:18px 22px 24px!important}.sc-booking-form button{white-space:normal;line-height:1.5}
.sc-header{display:flex;align-items:center;gap:14px;padding:10px 0 20px;border-bottom:1px solid var(--line)}
.sc-header>div{flex:1;min-width:0}.sc-header h1{font-family:var(--display);font-size:27px;font-weight:600;line-height:1.35;margin:5px 0 8px}.sc-header .eyebrow{font-size:11px;letter-spacing:2px;margin:0;color:var(--muted)}
.sc-avatar{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:18px;background:var(--river-mist);color:var(--river);font-family:var(--display);font-size:27px}
.sc-presence{margin:0;font-size:12px;color:#43816c}.sc-presence:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:currentColor}.sc-presence.is-muted{color:var(--muted)}
.sc-disclosure{font-size:12px;line-height:1.85;color:var(--muted);margin:16px 0 20px}.sc-messages{min-height:240px;max-height:52dvh;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 14px;scrollbar-width:thin}
.sc-message{display:flex;flex-direction:column;align-items:flex-start;margin:16px 0;gap:6px}.sc-message>span{font-size:11px;color:var(--muted);padding:0 3px}.sc-message p{max-width:88%;padding:13px 16px;margin:0;border-radius:3px 17px 17px;background:var(--porcelain);border:1px solid var(--line);font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.sc-message time{font-size:10px;color:var(--muted);padding:0 3px}.sc-mine{align-items:flex-end}.sc-mine p{border-radius:17px 3px 17px 17px;color:var(--river-deep);background:var(--river-mist);border-color:transparent}
.sc-welcome{text-align:center;padding:34px 8px 24px}.sc-welcome>span{display:inline-flex;color:var(--river);background:var(--river-mist);padding:12px;border-radius:50%}.sc-welcome svg{width:24px;height:24px}.sc-welcome h2{font-family:var(--display);font-size:23px;margin:18px 0 10px}.sc-welcome p{font-size:13px;line-height:1.8;color:var(--muted)}.sc-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.sc-suggestions button{font:inherit;font-size:12px;border:1px solid var(--line);background:var(--porcelain);border-radius:20px;padding:9px 13px;color:var(--river-deep);cursor:pointer}
.sc-reply-state{min-height:20px;color:var(--muted);font-size:12px;line-height:1.7;margin:4px 0 12px}.sc-dots{display:inline-flex;gap:3px;vertical-align:middle}.sc-dots i{width:4px;height:4px;border-radius:50%;background:var(--river);animation:sc-thinking 1.5s infinite}.sc-dots i:nth-child(2){animation-delay:.2s}.sc-dots i:nth-child(3){animation-delay:.4s}@keyframes sc-thinking{0%,70%,100%{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
.sc-composer{border-top:1px solid var(--line);padding-top:18px}.sc-input-label{display:block;font-size:12px;margin-bottom:9px;color:var(--ink)}.sc-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:94px;max-height:240px;padding:13px 15px;font:inherit;font-size:14px;line-height:1.7;color:var(--ink);background:var(--porcelain);border:1px solid #dce5f0;border-radius:13px}.sc-composer textarea:focus-visible{outline:2px solid #236bda55;outline-offset:2px}.sc-send-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.sc-send-row small{font-size:10px;color:var(--muted)}.sc-send-row .primary{min-width:96px;min-height:42px}.sc-send-row button:disabled{opacity:.6;cursor:wait}.sc-links{display:flex;justify-content:space-between;gap:18px;margin-top:18px}.sc-links .text-link{font-size:12px}.sc-error{font-size:13px;color:#a34d31;line-height:1.8;margin:10px 0}.sc-error:empty{display:none}.sc-error button{font-size:12px;margin-left:8px}.sc-consent{margin:16px 0;font-size:12px}.sc-consent>summary{cursor:pointer;color:var(--river);padding:8px 0}.sc-consent .agreement-confirm{margin-top:10px}.sc-ack{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;margin:10px 0}.sc-ack input{margin-top:5px;accent-color:var(--river);flex:none}
.sc-record{display:flex;align-items:center;justify-content:space-between;gap:18px;text-decoration:none;color:var(--ink);padding:20px 0;border-bottom:1px solid var(--line)}.sc-record strong{font-size:15px;line-height:1.6}.sc-record small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.sc-record svg{width:18px;flex:none;color:var(--river)}.sc-empty,.sc-loading{padding:38px 0;color:var(--muted);line-height:1.8}.sc-entry p{font-size:13px;color:var(--muted)}
@media(max-width:380px){.sc-page{padding:22px 16px}.sc-header{gap:10px}.sc-header h1{font-size:24px}.sc-avatar{width:46px;height:46px}.sc-send-row small{max-width:125px}.sc-message p{max-width:92%}}
@media(prefers-reduced-motion:reduce){.sc-dots i{animation:none}}

/* The conversation and its composer share the first screen above the native nav. */
body:has(#consultation-chat) .app-shell{height:100dvh;min-height:0;display:flex;flex-direction:column;padding-bottom:calc(84px + max(14px,env(safe-area-inset-bottom)))}
body:has(#consultation-chat) .topbar{flex:none}
body:has(#consultation-chat) #app{flex:1;min-height:0;overflow:hidden}
body:has(#consultation-chat) .page-footer{display:none}
#consultation-chat{height:100%;max-width:none;margin:0;padding:0 20px;display:flex;flex-direction:column;overflow:hidden}
#consultation-chat>*{flex-shrink:0}
#consultation-chat .sc-header{gap:12px;padding:12px 0;border:0}
#consultation-chat .sc-header h1{font:600 20px/1.4 var(--display);color:var(--river-deep);margin:0 0 4px}
#consultation-chat .sc-header>.text-link{font-size:12px;min-height:44px;display:flex;align-items:center;flex:none}
#consultation-chat .sc-avatar{width:44px;height:44px;border-radius:14px;font-size:24px}
#consultation-chat .sc-offer{gap:12px;padding:4px 0 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-height:40px}
#consultation-chat .sc-offer>.text-link{flex:none;min-height:36px;font-size:13px}
#consultation-chat .sc-offer>button:disabled{color:var(--muted);cursor:default}
#consultation-chat .sc-offer-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ink)}
#consultation-chat .sc-price{font-size:20px;line-height:1.4;margin-top:2px}
#consultation-chat .sc-price-note{margin:2px 0 0;font-size:10px;line-height:1.4}
#consultation-chat .sc-offer .primary{font-size:12px;padding:10px 14px;min-height:40px}
#consultation-chat .sc-disclosure{font-size:10px;line-height:1.6;margin:8px 0;color:var(--muted)}
#consultation-chat .sc-messages{flex:1;min-height:64px;max-height:none;padding:16px 2px 8px;scroll-behavior:smooth}
.sc-sample{font-size:10px;text-align:center;color:var(--muted);margin:4px 0 8px}
#consultation-chat .sc-message{margin:8px 0 12px;gap:4px}
#consultation-chat .sc-message p{padding:10px 12px;font-size:13px;line-height:1.75;background:var(--paper)}
#consultation-chat .sc-mine p{background:var(--river-mist)}
#consultation-chat .sc-welcome{padding:0;text-align:left}
#consultation-chat .sc-welcome>span{display:block;background:none;padding:0 3px;border-radius:0;color:var(--muted)}
#consultation-chat .sc-suggestions{justify-content:flex-start;gap:8px;margin:8px 0}
#consultation-chat .sc-suggestions button{padding:8px 10px;font-size:11px;background:var(--porcelain)}
#consultation-chat .sc-reply-state{min-height:0;margin:0 0 6px;font-size:11px}
#consultation-chat .sc-reply-state:empty{display:none}
#consultation-chat .sc-error{max-height:64px;overflow:auto;margin:4px 0;font-size:12px}
#consultation-chat .sc-composer{padding:10px 0 12px;max-height:50%;overflow-y:auto;scrollbar-width:thin}
#consultation-chat .sc-input-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sc-input-row{display:flex;align-items:stretch;gap:8px}
#consultation-chat .sc-composer textarea{flex:1;min-width:0;width:auto;height:56px;min-height:56px;max-height:56px;resize:none;padding:10px 12px;line-height:1.6;font-size:14px;background:var(--paper);border-color:var(--line)}
.sc-input-row .primary{min-width:64px;padding:10px 12px;font-size:13px;white-space:nowrap}
.sc-input-row button:disabled{opacity:.6;cursor:wait}
#consultation-chat .sc-consent{margin:6px 0 0;font-size:11px}
#consultation-chat .sc-consent>p{margin:0 0 4px;color:var(--muted)}
#consultation-chat .agreement-confirm{margin:0;padding:0;border:0;display:flex;flex-direction:column}
#consultation-chat .agreement-confirm legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#consultation-chat .agreement-confirm>label{order:-1;gap:8px;margin:0;font-size:11px;line-height:1.7;align-items:center}
#consultation-chat .agreement-confirm input[type=checkbox]{width:18px;height:18px;margin:0}
#consultation-chat .agreement-important{margin:2px 0 0;padding:0 0 0 26px;border:0;font-size:11px;color:var(--muted);line-height:1.7}
#consultation-chat .agreement-important[open]{max-height:160px;overflow:auto}
#consultation-chat .agreement-important summary{font-weight:400;color:var(--river)}
#consultation-chat .sc-avatar{border-radius:8px}
#consultation-chat .sc-message p{border-radius:8px}
#consultation-chat .sc-composer textarea{border-radius:8px}
#consultation-chat .sc-links{margin:4px 0 0;gap:12px;align-items:center;min-height:32px}
#consultation-chat .sc-links .text-link{font-size:11px;line-height:1.5;padding:6px 0}
@media(min-width:700px){body:has(#consultation-chat) .app-shell{height:calc(100dvh - 18px)}}
@media(max-width:380px){#consultation-chat{padding:0 14px}#consultation-chat .sc-offer{padding:10px}#consultation-chat .sc-header{padding:8px 0}}
@media(prefers-reduced-motion:reduce){#consultation-chat .sc-messages{scroll-behavior:auto}}
