/* CITYENGINE_CITY_ASK_MODAL_R2 — only the existing launcher and its dialog. */
#cityengine-assistant-launcher-r1[data-ce-ask-ready="1"] {
  position: fixed;
  z-index: 2147483000;
  inset: auto max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 62px;
  height: 62px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #235ee5, #143b97);
  box-shadow: 0 0 0 1px #173047, 0 0 0 4px #ffffff33, 0 5px 24px #142d5960;
  font: 750 17px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
#cityengine-assistant-launcher-r1[data-ce-ask-ready="1"]:hover {
  color: #fff;
  background: #1746af;
  text-decoration: none;
}
#cityengine-assistant-launcher-r1[data-ce-ask-ready="1"][hidden] {
  display: none !important;
}
#cityengine-assistant-launcher-r1[data-ce-ask-ready="1"]:focus-visible,
#ce-city-ask-dialog-r2 button:focus-visible,
#ce-city-ask-dialog-r2 a:focus-visible {
  outline: 3px solid #75b5ff;
  outline-offset: 3px;
}
#ce-city-ask-dialog-r2,
#ce-city-ask-dialog-r2 * {
  box-sizing: border-box;
}
#ce-city-ask-dialog-r2 {
  --ceask-r2-ready: 1;
  color-scheme: light;
  position: fixed;
  inset: auto max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto;
  display: none;
  width: min(440px, calc(100vw - 32px));
  height: min(760px, calc(var(--ceask-r2-vh, 100dvh) - 40px));
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c8d6e9;
  border-radius: 20px;
  color: #17243b;
  background: #fff;
  box-shadow: 0 20px 75px #0e254e55;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  text-shadow: none;
}
#ce-city-ask-dialog-r2[open] {
  display: flex;
  flex-direction: column;
}
#ce-city-ask-dialog-r2::backdrop {
  background: #14233c45;
}
#ce-city-ask-dialog-r2 [hidden] {
  display: none !important;
}
#ce-city-ask-dialog-r2 .ceask-r2-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #dce3f0;
  color: #17243b;
  background: #f4f7fd;
}
#ce-city-ask-dialog-r2 .ceask-r2-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}
#ce-city-ask-dialog-r2 .ceask-r2-brand img {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}
#ce-city-ask-dialog-r2 .ceask-r2-brand > div {
  min-width: 0;
}
#ce-city-ask-dialog-r2 .ceask-r2-brand strong {
  display: block;
  margin: 0;
  color: #17243b;
  font: 750 16px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
#ce-city-ask-dialog-r2 .ceask-r2-brand span {
  display: block;
  margin: 3px 0 0;
  color: #52647a;
  font: 12px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
#ce-city-ask-dialog-r2 .ceask-r2-close {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #c4d1e5;
  border-radius: 12px;
  color: #17243b;
  background: #fff;
  box-shadow: none;
  font: 28px/1 system-ui, sans-serif;
  text-align: center;
  text-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
#ce-city-ask-dialog-r2 .ceask-r2-close:hover {
  color: #102e56;
  background: #e8f0fc;
}
#ce-city-ask-dialog-r2 .ceask-r2-frame-area {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
#ce-city-ask-dialog-r2 .ceask-r2-loading {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #dce3f0;
  color: #52647a;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
}
#ce-city-ask-dialog-r2 iframe {
  display: block;
  flex: 1 1 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
#ce-city-ask-dialog-r2 .ceask-r2-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  width: 100%;
  margin: 0;
  padding: 4px 14px calc(4px + env(safe-area-inset-bottom));
  border-top: 1px solid #dce3f0;
  background: #f4f7fd;
}
#ce-city-ask-dialog-r2 .ceask-r2-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 5px 2px;
  border: 0;
  border-radius: 0;
  color: #2457b5;
  background: transparent;
  box-shadow: none;
  font: 600 12px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  text-shadow: none;
}
#ce-city-ask-dialog-r2 .ceask-r2-links a:hover {
  color: #153d89;
  text-decoration: underline;
}
@media (max-width: 600px) {
  #cityengine-assistant-launcher-r1[data-ce-ask-ready="1"] {
    width: 58px;
    height: 58px;
    right: max(16px, env(safe-area-inset-right));
  }
  #ce-city-ask-dialog-r2 {
    inset: var(--ceask-r2-top, 0px) auto auto var(--ceask-r2-left, 0px);
    width: var(--ceask-r2-vw, 100vw);
    height: var(--ceask-r2-vh, 100dvh);
    padding-top: env(safe-area-inset-top);
    border: 0;
    border-radius: 0;
  }
  #ce-city-ask-dialog-r2::backdrop {
    background: #14233c65;
  }
}
@media (max-width: 380px) {
  #ce-city-ask-dialog-r2 .ceask-r2-header {
    gap: 8px;
    padding: 9px 10px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand {
    gap: 8px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand img {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand strong {
    font-size: 15px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand span {
    font-size: 11px;
  }
}
@media (max-height: 450px) {
  #ce-city-ask-dialog-r2 .ceask-r2-header {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand img {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand span {
    display: none;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-links {
    padding-top: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  #ce-city-ask-dialog-r2 .ceask-r2-links a {
    min-height: 32px;
  }
}
@media (forced-colors: active) {
  #cityengine-assistant-launcher-r1[data-ce-ask-ready="1"],
  #ce-city-ask-dialog-r2,
  #ce-city-ask-dialog-r2 .ceask-r2-header,
  #ce-city-ask-dialog-r2 .ceask-r2-links,
  #ce-city-ask-dialog-r2 .ceask-r2-loading {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
    text-shadow: none;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-brand strong,
  #ce-city-ask-dialog-r2 .ceask-r2-brand span {
    color: CanvasText;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-close {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
  }
  #ce-city-ask-dialog-r2 .ceask-r2-links a {
    color: LinkText;
  }
}
