/* A single chat surface. Choices are rows; only the visitor's replies are bubbles. */
html:has(#sv-guide.sv-guide-flow[open]) {overflow:visible;}
body.breakdance .sv-guide-launcher {position:fixed;z-index:10002;right:24px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;min-height:54px;padding:13px 21px;border:0;border-radius:30px;background:#1264b7;color:#fff;box-shadow:0 8px 32px #0006;font-family:var(--sv-font-body);font-size:16px;font-weight:600;cursor:pointer;transition:background .15s,transform .15s;}
body.breakdance .sv-guide-launcher:hover {background:#2475c8;transform:translateY(-2px);}
body.breakdance .sv-guide-flow {position:fixed;inset:auto 24px 88px auto;margin:0;width:410px;max-width:calc(100% - 32px);height:min(720px,calc(100dvh - 112px));max-height:calc(100dvh - 112px);padding:0;border:1px solid #2c4056;border-radius:20px;overflow:hidden;z-index:10001;box-shadow:0 18px 70px #0009;background:#101b2a;color:#d0dae5;font-family:var(--sv-font-body);font-size:15px;line-height:1.55;}
body.breakdance .sv-guide-flow[open] {display:flex;flex-direction:column;gap:0;}
body.breakdance .sv-guide-flow [hidden] {display:none!important;}
body.breakdance .sv-guide-top {position:static;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 20px;border:0;background:radial-gradient(ellipse at 0 0,#1a5d9e,transparent 85%),linear-gradient(125deg,#153751,#101b2a);}
body.breakdance .sv-guide-top .sv-eyebrow {font-size:10px;letter-spacing:.15em;color:#acd6ff;}
body.breakdance .sv-guide-top #sv-guide-title {font-family:var(--sv-font-heading);font-style:italic;font-size:30px;line-height:1.15;color:#fff;margin-top:5px;}
body.breakdance .sv-guide-flow .sv-guide-close {flex-shrink:0;width:40px;height:40px;min-height:40px;border:0;border-radius:50%;background:#ffffff0d;color:#fff;cursor:pointer;}
body.breakdance .sv-guide-flow .sv-guide-close:hover {background:#ffffff20;}
body.breakdance .sv-guide-layout {display:flex;flex-direction:column;flex:1;min-height:0;}
body.breakdance .sv-guide-next {position:static;flex-shrink:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:13px 22px 16px;border:0;border-bottom:1px solid #ffffff12;background:transparent;}
body.breakdance .sv-guide-kicker {grid-column:1;font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#93acc5;}
body.breakdance .sv-guide-event-title {grid-column:1;font-family:var(--sv-font-heading);font-style:italic;font-size:22px;line-height:1.15;color:#fff;text-decoration:none;}
body.breakdance .sv-guide-event-title:hover {color:#8dc8ff;}
body.breakdance .sv-guide-event-meta {grid-column:1;font-size:12px;color:#acbdd0;}
body.breakdance .sv-guide-quick {grid-column:2;grid-row:1/4;display:flex;flex-direction:column;justify-content:center;gap:0;}
body.breakdance .sv-guide-quick button {padding:5px 0 5px 10px;min-height:36px;border:0;background:transparent;color:#91ccff;font-size:12px;text-align:right;cursor:pointer;}
body.breakdance .sv-guide-quick button::after {content:' ↗';}
body.breakdance .sv-guide-quick button:hover {color:#fff;}
body.breakdance .sv-guide-conversation {width:100%;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#425f80 #101b2a;padding:0 22px 24px;border:0;}
body.breakdance .sv-guide-controls {position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 0;margin-bottom:20px;background:#101b2a;box-shadow:0 5px 0 #101b2a;color:#90a4bb;font-size:11px;}
body.breakdance .sv-guide-controls button {padding:4px 0;min-height:36px;border:0;background:transparent;color:#c0daf2;cursor:pointer;}
body.breakdance .sv-guide-controls [data-sv-reset] {margin-left:auto;}
body.breakdance .sv-guide-history {list-style:none;margin:0 0 26px;padding:0;display:grid;gap:24px;}
body.breakdance .sv-guide-history li {display:flex;flex-direction:column;gap:12px;min-width:0;}
body.breakdance .sv-guide-history li>p {align-self:flex-start;max-width:94%;padding:0;border:0;background:none;color:#acbfd2;font-size:14px;}
body.breakdance .sv-guide-answer {align-self:flex-end;display:flex;align-items:center;gap:16px;max-width:94%;min-height:44px;padding:11px 16px;border:0;border-radius:20px 20px 4px 20px;background:#195b9e;color:#fff;font-size:14px;line-height:1.4;text-align:left;cursor:pointer;}
body.breakdance .sv-guide-answer small {font-size:10px;color:#c2e1ff;}
body.breakdance .sv-guide-answer:hover {background:#236eb8;}
body.breakdance .sv-guide-panels {padding:0;border:0;border-radius:0;background:transparent;}
body.breakdance .sv-guide-step {display:flex;flex-direction:column;gap:18px;}
body.breakdance .sv-guide-step-title {font-family:var(--sv-font-body);font-style:normal;font-size:23px;font-weight:600;line-height:1.2;color:#fff;outline:none;}
body.breakdance .sv-guide-intro {font-size:14px;color:#b8c9da;}
body.breakdance .sv-guide-choices {display:grid;grid-template-columns:minmax(0,1fr);gap:0;}
body.breakdance .sv-guide-choice {display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:52px;padding:14px 0;text-align:left;border:0;border-bottom:1px solid #ffffff13;border-radius:0;background:transparent;color:#fff;cursor:pointer;transition:color .15s,background .15s;}
body.breakdance .sv-guide-choice:last-child {border-bottom:0;}
body.breakdance .sv-guide-choice strong {display:block;font-size:15px;font-weight:500;}
body.breakdance .sv-guide-choice small {display:block;margin-top:3px;font-size:12px;line-height:1.3;color:#99afc4;}
body.breakdance .sv-guide-choice>span:last-child {color:#59b2ff;}
body.breakdance .sv-guide-choice:hover {background:#ffffff05;color:#8fcfff;}
body.breakdance .sv-guide-checklist {list-style:none;counter-reset:guide-step;display:grid;gap:16px;padding:0;}
body.breakdance .sv-guide-checklist li {counter-increment:guide-step;display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;align-items:start;}
body.breakdance .sv-guide-checklist li::before {content:counter(guide-step) '.';color:#78bfff;font-size:14px;}
body.breakdance .sv-guide-notice {padding:2px 0 2px 13px;border:0;border-left:2px solid #4aaaff;border-radius:0;background:none;color:#c0d4e8;font-size:14px;}
body.breakdance .sv-guide-actions {display:flex;flex-direction:column;gap:8px;}
body.breakdance .sv-guide-action {display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:46px;padding:11px 0;border:0;border-bottom:1px solid #ffffff13;border-radius:0;background:transparent;color:#a7d7ff;text-decoration:none;font-size:14px;line-height:1.4;}
body.breakdance .sv-guide-action:hover {color:#fff;background:#ffffff05;}
body.breakdance .sv-guide-action-primary {padding:13px 18px;margin-bottom:6px;border:0;border-radius:24px;background:#1264b7;color:#fff;}
body.breakdance .sv-guide-action-primary:hover {background:#2379ce;}
body.breakdance .sv-guide-inline {padding:6px 0;align-self:flex-start;border:0;background:transparent;color:#aad8ff;text-align:left;cursor:pointer;min-height:44px;}
body.breakdance .sv-guide-small {font-size:12px;color:#aabdd0;overflow-wrap:anywhere;}
body.breakdance .sv-guide-launcher:focus-visible,body.breakdance .sv-guide-flow :is(a,button):focus-visible {outline:3px solid #b5dfff;outline-offset:3px;}
@media(max-width:480px) {
 body.breakdance .sv-guide-launcher {right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:50px;padding:11px 17px;font-size:15px;}
 body.breakdance .sv-guide-flow {right:10px;bottom:calc(74px + env(safe-area-inset-bottom));width:calc(100% - 20px);max-width:none;height:min(680px,calc(100dvh - 88px - env(safe-area-inset-bottom)));max-height:calc(100dvh - 88px - env(safe-area-inset-bottom));border-radius:16px;}
 body.breakdance .sv-guide-top {padding:17px 18px 16px;}
 body.breakdance .sv-guide-top #sv-guide-title {font-size:27px;}
 body.breakdance .sv-guide-next {padding:11px 18px 13px;}
 body.breakdance .sv-guide-conversation {padding:0 18px 22px;}
 body.breakdance .sv-guide-controls {margin-bottom:16px;}
 body.breakdance .sv-guide-choice {padding:12px 0;}
}
@media(prefers-reduced-motion:reduce) {body.breakdance .sv-guide-launcher,body.breakdance .sv-guide-choice {transition:none;}}

/* Short screens need room for the question, input and next button together. */
@media(max-width:1023px) and (max-height:500px) {
 body.breakdance .sv-guide-flow {top:8px;bottom:auto;right:12px;height:calc(100dvh - 80px);max-height:calc(100dvh - 80px);}
 body.breakdance #sv-guide .sv-guide-next {display:none;}
 body.breakdance #sv-guide .sv-guide-conversation {padding:0 16px 18px;}
 body.breakdance #sv-guide .sv-guide-controls {margin-bottom:12px;}
 body.breakdance #sv-guide .sv-guide-history {margin-bottom:16px;}
}
