:root{color-scheme:light;--ink:#17243b;--blue:#215bd7;--soft:#647089;--line:#dce3f0}*{box-sizing:border-box}body{margin:0;font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(ellipse at 80% 0,#e3f2ff,transparent 45%),#f6f8fc}header{max-width:1120px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{font-size:23px;font-weight:800;letter-spacing:-1px;color:var(--ink);text-decoration:none}.brand span{font-weight:400;color:var(--soft);margin-left:5px}main{max-width:960px;margin:auto;padding:26px 32px 40px}.intro{max-width:740px;margin:0 0 32px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:#0b887b}h1{font-size:clamp(36px,6vw,59px);line-height:1.08;letter-spacing:-2.5px;margin:20px 0}h1 span{color:var(--blue)}.intro>p:last-child{font-size:18px;max-width:620px;color:var(--soft)}.assistant{background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 50px #163d6e0c;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 26px;border-bottom:1px solid var(--line)}.panel-head strong{display:block}.panel-head span{display:block;font-size:12px;color:var(--soft)}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}.button{display:inline-block;text-decoration:none;border:0;border-radius:12px;padding:12px 19px;background:var(--blue);color:white;font-weight:650;font-size:14px;text-shadow:0 1px 1px #0006;white-space:nowrap}.button:hover{background:#174ab7}.secondary{background:#17243b}.text-button{background:transparent;border:0;color:#355481;font-size:13px;padding:10px}.button:disabled{opacity:.6;cursor:wait}#chat{padding:22px 26px 0;max-height:580px;overflow-y:auto;scrollbar-gutter:stable}.message{padding:18px 20px;margin:0 0 18px;border-radius:16px;background:#f2f5fb;overflow-wrap:anywhere}.user-message{background:#eaf1ff;margin-left:10%}.speaker{font-size:10px;letter-spacing:1.4px;font-weight:750;color:#506685}.message p{margin:8px 0 0;white-space:pre-wrap}.sources{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.source{display:inline-block;border:1px solid #cbd8ef;background:white;border-radius:8px;padding:7px 10px;color:#204e9e;text-decoration:none;font-size:12px;line-height:1.5}.source:hover{background:#e9effa}.message>.source{margin-top:14px}.suggestions{padding:0 26px 18px;display:flex;flex-wrap:wrap;gap:8px}.suggestions button{background:white;border:1px solid var(--line);border-radius:20px;padding:8px 12px;font-size:12px;color:#425778}.suggestions button:hover{background:#edf3ff}form{border-top:1px solid var(--line);padding:20px 26px 10px}label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}textarea{resize:vertical;width:100%;min-height:85px;max-height:220px;font:inherit;border:1px solid #c8d3e5;border-radius:12px;padding:13px;color:var(--ink);background:#fbfcff}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #589bff;outline-offset:3px}.compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.compose-bottom span{font-size:11px;color:var(--soft)}#status{font-size:13px;color:#52627c;padding:0 26px;margin:0 0 15px;min-height:20px}.trap{display:none}.handoff{margin-top:25px;padding:24px 27px;background:#eaf0f9;border:1px solid #dce4f0;border-radius:20px;display:flex;align-items:center;gap:25px;justify-content:space-between}.handoff h2{font-size:19px;margin:0 0 4px}.handoff p{font-size:14px;color:#5c6a80;margin:0;max-width:530px}.privacy{font-size:12px;color:#67748a;margin-top:24px}.privacy a,footer a{color:#31538a}footer{display:flex;justify-content:space-between;gap:25px;font-size:11px;color:#68758a;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}footer span{max-width:470px}@media(max-width:600px){header{padding:18px}.brand{font-size:20px}main{padding:12px 16px 30px}.intro{margin-bottom:24px}h1{letter-spacing:-1.5px}.panel-head,form{padding-left:18px;padding-right:18px}#chat{padding:18px 16px 0}.suggestions{padding:0 16px 16px}.message{padding:15px}.compose-bottom{align-items:flex-end}.compose-bottom span{max-width:125px}.handoff{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}footer{flex-direction:column;gap:10px}.button{padding:11px 14px}}

/* SURFLOCAL-ASK-WIDGET-R1 */
.brand{display:flex;align-items:center;gap:8px}.brand img{width:48px;height:48px;object-fit:contain;border-radius:10px}
body.embedded{height:100dvh;min-height:0;overflow:hidden;background:#fff}
.embedded>header,.embedded .intro,.embedded .handoff,.embedded footer{display:none}
.embedded main{height:100%;max-width:none;padding:0;display:flex;flex-direction:column;min-height:0}
.embedded .assistant{flex:1;min-height:0;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column}
.embedded .panel-head{padding:8px 14px;flex:none}
.embedded .panel-head>div{display:none}
.embedded .panel-head{justify-content:flex-end}
.embedded #chat{flex:1;min-height:70px;max-height:none;padding:8px 12px 0;overscroll-behavior:contain}
.embedded .message{padding:12px 14px;font-size:14px;margin-bottom:12px}
.embedded .suggestions{padding:6px 12px;flex:none;max-height:95px;overflow:auto}
.embedded .suggestions button{font-size:11px;padding:7px 10px}
.embedded form{padding:10px 12px 4px;flex:none}
.embedded textarea{font-size:16px;min-height:64px;max-height:110px;padding:10px}
.embedded .compose-bottom{margin-top:7px}
.embedded #status{padding:0 12px;margin-bottom:4px;min-height:0;flex:none;font-size:12px}
.embedded .privacy{margin:0;padding:7px 12px;font-size:10px;line-height:1.4;flex:none;max-height:70px;overflow:auto;border-top:1px solid #e3e9f3}
.embedded .button{min-height:44px}
.embedded label{margin-bottom:4px}
@media(max-height:500px){.embedded .suggestions,.embedded .privacy,.embedded .panel-head{display:none}.embedded .compose-bottom span{display:none}.embedded textarea{min-height:44px;height:44px}.embedded form label{display:none}}
.standalone>header{flex-wrap:wrap}
@media(max-height:350px){.embedded #chat{min-height:0}}

/* Free initial ad request: scoped to the assistant, never a homepage promotion. */
[hidden]{display:none!important}.request-shortcut{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid #dde4ed}.request-shortcut span{font-size:12px;color:#475569}.lead-panel{margin:12px;padding:20px;background:#f2f7fc;border:1px solid #cbd9e9;border-radius:18px;color:#14233b}.lead-panel h2{font-size:24px;margin:0 0 12px}.lead-panel p{line-height:1.55}.offer-terms{font-size:13px;color:#475569}.lead-panel label{display:block;font-weight:650;margin:14px 0 6px}.lead-panel input:not([type=checkbox]),.lead-panel select,.lead-panel textarea{display:block;width:100%;max-width:100%;min-height:44px;padding:11px;border:1px solid #9cacbf;border-radius:10px;background:#fff;color:#102038;font:inherit;font-size:16px}.lead-panel .consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;font-weight:400}.consent input{flex:0 0 20px;width:20px;height:20px;margin-top:2px}.lead-panel .button{margin-top:14px;white-space:normal}.lead-panel dl{overflow-wrap:anywhere}.lead-panel dt{font-size:12px;color:#52647b;margin-top:12px}.lead-panel dd{margin:3px 0;white-space:pre-wrap}#lead-status{white-space:pre-wrap;font-weight:600}#offer-card .button{margin:8px 8px 4px 0;white-space:normal}.embedded .lead-panel{padding:14px;margin:8px}.embedded .request-shortcut{padding:10px}.embedded main{overflow-y:auto}.embedded .assistant{flex-shrink:0}.lead-panel :focus-visible{outline:3px solid #237bd0;outline-offset:3px}

.lead-open #chat,.lead-open .suggestions,.lead-open #ask,.lead-open #status,.lead-open .request-shortcut{display:none}.embedded.lead-open .lead-panel{flex:1;min-height:0;overflow-y:auto}.embedded.lead-open .assistant{overflow:hidden;flex-shrink:1}.embedded.lead-open .lead-panel label{display:block}.embedded.lead-open .lead-panel label.consent{display:flex}.embedded.lead-open .lead-panel textarea{height:auto;min-height:90px}.embedded .request-shortcut{flex:none}.embedded .assistant{flex-shrink:1}

/* Ask CityEngine: public page and compact widget polish R1. */
:root{--ink:#172b43;--soft:#52647a;--blue:#1857bd;--line:#d8e2ee}
body{background:#f4f7fb;color:var(--ink)}
.standalone>header{max-width:1120px;padding:24px 28px;margin:0 auto;border-bottom:1px solid var(--line)}
.brand{gap:10px;letter-spacing:-.6px}.brand img{width:44px;height:44px;border-radius:10px}.brand .brand-name{display:flex;align-items:baseline;gap:5px;margin:0;color:var(--ink);font-size:23px}.brand .brand-name strong{font-weight:800}.brand .brand-name>span{margin:0;color:#52647a;font-size:19px;font-weight:500}
.header-contact{font-size:13px;font-weight:650;color:#244d7d;text-decoration:none;padding:10px 0;min-height:44px;display:flex;align-items:center}
.standalone main{max-width:1120px;display:grid;grid-template-columns:minmax(240px, .8fr) minmax(0,1.55fr);gap:24px 44px;padding:44px 28px 28px;margin:auto;align-items:start}
.standalone .intro{margin:20px 0 0;max-width:none}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#496279}.dot{background:#147e72}h1{font-size:clamp(34px,3.7vw,46px);letter-spacing:-1.6px;line-height:1.12;margin:18px 0 20px}.intro>p:nth-of-type(2){font-size:16px;line-height:1.75;color:#52647a;max-width:34ch}.intro-points{list-style:none;padding:0;margin:25px 0 32px;display:grid;gap:12px;font-size:14px;font-weight:550}.intro-points li{display:flex;gap:11px;align-items:center}.intro-points li:before{content:'✓';display:grid;place-items:center;flex:none;background:#e3eee9;color:#22634b;border-radius:50%;width:23px;height:23px;font-size:12px}.intro .intro-note{font-size:12px;color:#52647a;line-height:1.8}.intro-note a{display:block;color:#244d7d;font-weight:650;text-decoration:none}
.assistant{border-radius:20px;box-shadow:0 12px 35px #1536590a;min-width:0}.panel-head{padding:18px 22px;background:#fff}.panel-head strong{font-size:16px}.panel-head span{font-size:11px;margin-top:2px}.text-button{min-height:44px;color:#365571}#chat{padding:20px 20px 0;max-height:440px}.message{padding:16px 18px;background:#f1f5fa;border-radius:14px;margin-bottom:14px;font-size:15px;line-height:1.65}.speaker{font-size:9px;letter-spacing:1.15px;color:#4b627b}.user-message{background:#e7effd}.suggestions{padding:2px 20px 16px;gap:7px}.suggestions button{font-size:12px;color:#2d4a6c;border-color:#cbd7e6;border-radius:10px;min-height:40px;white-space:normal;line-height:1.4;text-align:left;padding:8px 11px}
#ask{padding:16px 20px 10px;background:#fff}#ask label{font-size:12px;color:#3a526e}textarea{background:#f9fbfd;border-color:#afbed0;min-height:90px;border-radius:12px;font-size:16px}textarea::placeholder{color:#627287}.compose-bottom{margin-top:10px}.compose-bottom span{font-size:10px;color:#52647a}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center;line-height:1.4;border-radius:10px;font-size:13px}.secondary{background:#203e61}.secondary:hover{background:#142e4e}#status{padding:0 20px;font-size:12px;min-height:0;margin-bottom:12px}#status:empty{display:none}
.request-shortcut{padding:17px 20px;gap:14px;background:#f7f9fc;justify-content:space-between;align-items:center}.request-shortcut>div{flex:1;min-width:150px}.request-shortcut strong,.request-shortcut span{display:block}.request-shortcut strong{font-size:12px;color:#2a415e}.request-shortcut span{font-size:11px;color:#52647a;margin-top:3px}.request-shortcut .button{font-size:12px;padding:10px 12px}
.privacy{grid-column:2;margin:0;font-size:11px;color:#52647a;line-height:1.65}.privacy summary{cursor:pointer;min-height:36px;padding:8px 0;font-weight:600;color:#3f5873}.privacy p{margin:5px 0 12px;max-width:75ch}.privacy a{color:#244d7d}
footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin:0;padding-top:20px;gap:16px;font-size:11px;color:#52647a}footer nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}footer a{color:#365571;text-decoration:none;display:inline-flex;align-items:center;min-height:36px}footer a:hover,.header-contact:hover{text-decoration:underline}footer .staff-link{font-size:11px;color:#52647a}footer>span{max-width:260px;font-size:10px}
:focus-visible{outline:3px solid #237bd0;outline-offset:3px}.lead-panel{margin:12px;background:#f3f7fc}.lead-panel form{padding:0}.lead-panel p{font-size:14px}.lead-panel .offer-terms{font-size:12px}
@media(max-width:850px){.standalone main{grid-template-columns:1fr;max-width:730px;padding-top:24px;gap:20px}.standalone .intro{margin:0}.intro-points,.intro .intro-note{display:none}.intro>p:nth-of-type(2){max-width:60ch;margin-bottom:0}h1 br{display:none}h1{font-size:34px;margin:12px 0}.privacy{grid-column:1}footer{grid-column:1;align-items:flex-start;flex-direction:column;gap:6px}footer>span{max-width:none}}
@media(max-width:480px){.standalone>header{padding:14px 16px}.brand .brand-name{font-size:20px}.brand .brand-name>span{font-size:16px}.brand img{width:38px;height:38px}.header-contact{font-size:11px}.standalone main{padding:20px 12px}.intro{padding:0 4px}h1{font-size:30px}.panel-head{padding:14px 16px}#chat{padding:16px 14px 0}#ask{padding:14px}.suggestions{padding:0 14px 14px}.request-shortcut{padding:14px;gap:10px}.request-shortcut>div{min-width:100%}.request-shortcut .button{width:100%}footer nav{gap:8px 14px}.compose-bottom span{max-width:140px}}
/* Widget keeps a single-column conversation; staff access stays in its small footer. */
.embedded main{display:flex;gap:0;padding:0;max-width:none}.embedded .assistant{border-radius:0}.embedded .privacy{flex:none;max-height:95px;overflow:auto;padding:4px 12px;border-top:1px solid var(--line);margin:0}.embedded .privacy summary{min-height:30px;padding:5px 0;font-size:10px}.embedded .privacy p{font-size:10px;margin:2px 0 8px}.embedded footer{display:flex;flex:none;margin:0;padding:3px 12px;border-top:1px solid var(--line);background:#fff}.embedded footer nav{display:flex;gap:16px;width:100%;justify-content:space-between}.embedded footer a{min-height:32px;font-size:10px}.embedded footer nav>a:first-child,.embedded footer nav>a[href^="tel:"],.embedded footer>span{display:none}.embedded .panel-head{padding:4px 12px}.embedded .request-shortcut{padding:10px 12px;gap:8px}.embedded .request-shortcut>div{min-width:0}.embedded .request-shortcut strong{font-size:11px}.embedded .request-shortcut span{font-size:10px}.embedded .request-shortcut .button{width:auto;font-size:11px;padding:9px 10px}.embedded #chat{min-height:70px;max-height:none;padding:8px 12px 0}.embedded .message{font-size:14px}.embedded #ask{padding:10px 12px 4px}.embedded textarea{min-height:60px}.embedded .suggestions{padding:4px 12px 8px}.embedded .suggestions button{min-height:36px;font-size:11px}.embedded .lead-panel form{padding:0}.embedded.lead-open footer{display:flex}.embedded.lead-open .privacy{display:none}
@media(max-height:500px){.embedded .privacy,.embedded .request-shortcut>div{display:none}.embedded footer a{min-height:28px}.embedded .request-shortcut{padding:4px 12px}.embedded .request-shortcut .button{min-height:36px}.embedded textarea{min-height:44px}.embedded #ask{padding-top:6px}}
.intro>p.intro-note{font-size:12px;color:#52647a;line-height:1.8}

/* Release 1: reserve the widget for the conversation, with one transcript scroller. */
.embedded main{overflow:hidden}
.embedded .assistant{flex:1 1 0;min-height:0;overflow:hidden}
.embedded .panel-head{padding:0 10px;min-height:32px}
.embedded .panel-head .text-button{min-height:32px;padding:4px 8px}
.embedded #chat{flex:1 1 0;min-height:0;overflow-y:auto;padding:10px 12px 0}
.embedded .suggestions{max-height:none;overflow:visible;padding:4px 12px 8px;gap:5px}
.embedded .suggestions button{padding:6px 8px;min-height:32px}
.embedded .assistant:has(.user-message) .suggestions{display:none}
.embedded #ask{padding:8px 12px 6px}
.embedded #ask label{margin:0 0 3px;font-size:11px}
.embedded #question{height:54px;min-height:54px;max-height:80px;resize:none;padding:8px 10px}
.embedded .compose-bottom{margin-top:4px}
.embedded .compose-bottom .button{min-height:38px;padding:8px 15px}
.embedded .request-shortcut{padding:6px 12px;flex-wrap:nowrap;gap:8px}
.embedded .request-shortcut>div{display:none}
.embedded .request-shortcut .button{width:100%;min-height:36px;padding:7px 10px}
.embedded .privacy{max-height:none;overflow:visible;padding:0 12px}
.embedded .privacy[open]{max-height:100px;overflow-y:auto}
.embedded footer{padding:0 12px}
.embedded footer a{min-height:28px}
.embedded.lead-open .lead-panel{flex:1 1 0;min-height:0;overflow-y:auto}
@media(max-height:500px){.embedded .suggestions,.embedded .privacy,.embedded footer,.embedded .panel-head{display:none}.embedded #ask label,.embedded .compose-bottom span{display:none}.embedded #question{height:44px;min-height:44px}.embedded #ask{padding:4px 10px}.embedded .request-shortcut{padding:3px 10px}}

.next-steps{display:flex;justify-content:space-evenly;gap:6px;padding:5px 10px;border-top:1px solid var(--line);flex:none}.next-steps .text-button{font-size:12px;text-decoration:none;text-align:center;line-height:1.4;min-height:36px;display:flex;align-items:center;justify-content:center}.lead-open .next-steps{display:none}.embedded .next-steps{padding:2px 10px}.embedded .next-steps .text-button{font-size:11px;min-height:34px}.lead-panel #request-kind{margin-bottom:10px}.lead-panel #request-note{font-size:12px}.embedded #lead-context{height:90px;min-height:90px}

/* Keep appointment and follow-up actions prominent on the full Assistant page. */
.next-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 20px;border-top:0;border-bottom:1px solid var(--line);background:#f6f9ff}
.next-steps .text-button{min-width:0;min-height:50px;padding:10px;border:1px solid #b8cbe8;border-radius:11px;background:#fff;font-size:13px;font-weight:650}
.next-steps .booking-action{background:#215bd7;border-color:#215bd7;color:#fff}
.next-steps .human-action{flex-direction:column;gap:2px}
.next-steps .human-action span{font-size:10px;font-weight:400;color:#506681}
.widget-managed .next-steps{display:none}
.embedded:not(.widget-managed) .next-steps{padding:8px 10px}
.embedded:not(.widget-managed) .next-steps .text-button{min-height:44px;font-size:12px}
#chat:focus{outline:none}
@media(max-width:480px){.next-steps{padding:10px 14px;gap:8px}.next-steps .text-button{font-size:12px;padding:9px 7px}}
