/* CE_EXECUTIVE_FLEET_R1 — approved Pro standalone assistant presentation.
   Every visible rule requires the JS readiness class and excludes embedded. */
body.standalone:not(.embedded) { --ce-executive-assistant1-css: 3; }

body.standalone.ce-exec-assistant2-ready:not(.embedded) {
  --ink: #18304d;
  --soft: #536880;
  --blue: #245bcb;
  --line: #d3deec;
  background: #f2f5fa;
  color: #18304d;
  font-size: 15px;
  line-height: 1.5;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header {
  box-sizing: border-box;
  min-height: 64px;
  max-width: none;
  margin: 0;
  padding: 8px max(24px, calc((100% - 960px) / 2));
  gap: 12px;
  flex-wrap: nowrap;
  border-bottom: 3px solid #eabf55;
  background: linear-gradient(115deg, #142d4c, #234b7a);
  color: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .brand {
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  letter-spacing: 0;
  color: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .brand img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .brand .brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .brand .brand-name > span {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: #d7e4f5;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) [data-ce-exec-duplicate="1"] {
  display: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > main {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 24px 32px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > .intro {
  max-width: none;
  margin: 0 0 14px;
  padding: 0;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro > .eyebrow,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro > .intro-points,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro > .intro-note,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro h1 > br,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro h1 > span {
  display: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.4px;
  color: #18304d;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .intro > p.ce-exec-brief {
  max-width: none;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Full-page conversation uses ordinary document flow. There is no panel,
   transcript or content-wrapper scroller and no sticky composer. */
body.standalone.ce-exec-assistant2-ready:not(.embedded):not(.lead-open) .assistant {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  border-radius: 12px;
  box-shadow: 0 4px 18px #15365908;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-assistant1-content {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-assistant1-dock {
  position: static;
  min-width: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  overflow-anchor: none;
  border-radius: 0 0 12px 12px;
  background: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 11px 11px 0 0;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head > div,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .assistant > .request-shortcut {
  display: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head > #clear,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head > #request-open,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .ce-exec-back,
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > summary,
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > details.privacy > summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #d3deec;
  border-radius: 8px;
  background: #fff;
  color: #18304d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: none;
  text-decoration: none;
  white-space: normal;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .ce-exec-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded):not(.lead-open) .next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 16px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .text-button {
  min-width: 0;
  min-height: 44px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .human-action,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .onboarding-action {
  border-color: #d3deec;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #human-open > span { display: none; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) #chat {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 12px 16px 0;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .message {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d3deec;
  border-radius: 12px;
  background: #fff;
  color: #18304d;
  font-size: 16px;
  line-height: 1.6;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .ce-exec-opening-welcome > .speaker {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .ce-exec-opening-welcome > p:first-of-type { margin-top: 0; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) .suggestions {
  gap: 6px;
  padding: 4px 16px 12px;
  overflow-anchor: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .suggestions button {
  min-height: 44px;
  padding: 6px 10px;
  border-color: #d3deec;
  border-radius: 8px;
  font-size: 12px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  margin: 0;
  padding: 14px 16px 10px;
  border-radius: 0 0 12px 12px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask > label[for="question"] {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask #question {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  min-width: 0;
  width: 100%;
  height: var(--ce-exec-question-height, 144px);
  min-height: 144px;
  max-height: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  border-color: #bbcce2;
  resize: none;
  overflow: hidden;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask .compose-bottom { display: contents; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask .compose-bottom > span {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  max-width: none;
  color: #536880;
  font-size: 11px;
  line-height: 1.4;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask #send {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 8px;
  background: #245bcb;
  color: #fff;
  font-size: 13px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #status {
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0 16px 10px;
  overflow: visible;
  font-size: 12px;
}

/* Callback/review retains its existing controls and natural page flow. */
body.standalone.ce-exec-assistant2-ready:not(.embedded).lead-open .assistant {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  border-radius: 12px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded).lead-open #ce-exec-assistant1-content,
body.standalone.ce-exec-assistant2-ready:not(.embedded).lead-open #ce-exec-assistant1-dock { display: none; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel {
  margin: 0;
  padding: 20px;
  border: 0;
  border-radius: 12px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel h2 {
  font-size: 24px;
  line-height: 1.25;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options,
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > details.privacy {
  margin: 12px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > summary,
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > details.privacy > summary {
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  list-style-position: inside;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > section.privacy {
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #d3deec;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options .text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px 4px 0 0;
  padding: 7px 10px;
  border: 1px solid #d3deec;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options [data-ce-exec-duplicate="1"] { display: none; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > .ce-fullpage-build-r2,
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > .ce-fullpage-build-finish1 { margin: 8px 0 0; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > details.privacy p {
  max-width: none;
  margin: 10px 0;
  font-size: 13px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > footer {
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  font-size: 12px;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > footer nav { gap: 8px 16px; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) main > footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #d3deec;
  border-radius: 8px;
  background: #fff;
  color: #18304d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
/* Shared restrained palette; all routing and original action nodes remain. */
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .ce-exec-back {
  border-color: #98b4d6;
  background: #ffffff0a;
  color: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .ce-exec-back:hover {
  background: #ffffff1a;
  color: #fff;
  text-decoration: none;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) > header a:focus-visible { outline-color: #eabf55; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps { background: #f4f7fc; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .booking-action {
  border-color: #245bcb;
  background: #245bcb;
  color: #fff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .user-message {
  border-color: #cfdef8;
  background: #e9f1ff;
}
body.standalone.ce-exec-assistant2-ready:not(.embedded) .speaker { color: #536880; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask #send:hover,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .booking-action:hover { background: #1b4cad; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options h2,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel h2 { color: #18304d; }
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel input:not([type=checkbox]),
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel select,
body.standalone.ce-exec-assistant2-ready:not(.embedded) .lead-panel textarea { border-radius: 8px; }
@media (max-width: 600px) {
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header { padding: 8px 16px; flex-wrap: wrap; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .ce-exec-back { margin-left: auto; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask #question {
    height: var(--ce-exec-question-height, 128px);
    min-height: 128px;
  }
}
@media (hover: hover) and (pointer: fine) {
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head > #clear,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .panel-head > #request-open,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .ce-exec-back,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .suggestions button,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options > summary,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) main > details.privacy > summary,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) #ce-exec-business-options .text-button,
  body.standalone.ce-exec-assistant2-ready:not(.embedded) main > footer a { min-height: 36px; }
}
@media (max-width: 480px) {
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header { padding: 8px 16px; gap: 8px; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .brand .brand-name { font-size: 18px; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > main { padding: 16px; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps { gap: 4px; padding: 8px 10px; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) .next-steps > .text-button { padding: 7px 4px; font-size: 11px; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) #ask { padding: 12px; gap: 8px; }
}
@media (max-width: 359px) {
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header { flex-wrap: wrap; }
  body.standalone.ce-exec-assistant2-ready:not(.embedded) > header .ce-exec-back { margin-left: auto; }
}
