html.ai-service-page-active,
body.ai-service-page-active {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* 全局菜单和联系方式挂在 body 下，必须高于 AI 页面与站点 Header。 */
body.ai-service-page-active > .overlay {
  z-index: 2700;
}

/* ——— 样式隔离层：覆盖 base.css 全局污染 ——— */
.chatgpt-page,
.chatgpt-page h1,
.chatgpt-page h2,
.chatgpt-page h3,
.chatgpt-page h4,
.chatgpt-page p,
.chatgpt-page strong,
.chatgpt-page em,
.chatgpt-page ul,
.chatgpt-page ol,
.chatgpt-page li,
.chatgpt-page a,
.chatgpt-page img,
.chatgpt-page pre,
.chatgpt-page code,
.chatgpt-page blockquote {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  background: none;
  list-style: none;
}

.chatgpt-page img {
  display: inline;
  max-width: 100%;
  height: 24px;
}

.chatgpt-page a {
  text-decoration: none;
  color: inherit;
}

/* ——— Page ——— */
.chatgpt-page {
  display: flex;
  height: 100vh;
  height: var(--ai-service-page-height, 100dvh);
  min-height: 0;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0d0d0d;
  overflow: hidden;
  overscroll-behavior: none;
  transform: translate3d(0, var(--ai-service-page-top, 0px), 0);
  will-change: height, transform;
}

.chatgpt-page.chatgpt-page--mobile {
  position: fixed;
  top: var(--gta-header-h, 48px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  width: 100%;
  height: 100vh;
  height: calc(var(--ai-service-page-height, 100dvh) - var(--gta-header-h, 48px));
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  overscroll-behavior: none;
  transform: translate3d(0, var(--ai-service-page-top, 0px), 0);
  will-change: height, transform;
  bottom: 0;
}

/* 首屏加载时用 fixed 的 top/bottom 撑满可见区域，避免 iOS 首次 visualViewport 高度回报偏小而露出半截白底。 */
.chatgpt-page--mobile.chatgpt-page--initializing {
  height: auto;
  transform: none;
}

.chatgpt-page--mobile.chatgpt-page--initializing > .chatgpt-mobile-loading {
  visibility: visible;
}

.chatgpt-mobile-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.chatgpt-page--mobile.chatgpt-page--entry .chatgpt-topbar,
.chatgpt-page--mobile.chatgpt-page--guided .chatgpt-topbar,
.chatgpt-page--mobile.chatgpt-page--result .chatgpt-topbar {
  display: none;
}

.chatgpt-page--mobile .chatgpt-main {
  min-height: 0;
}

.chatgpt-page--mobile .chatgpt-topbar {
  position: relative;
  top: auto;
  flex: 0 0 auto;
  height: calc(52px + env(safe-area-inset-top));
  min-height: 0;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  transition: transform 0.25s ease, margin-bottom 0.25s ease;
}

.chatgpt-page--mobile .chatgpt-topbar.is-hidden {
  margin-bottom: calc(-52px - env(safe-area-inset-top));
}

/* ——— Main Area ——— */
.chatgpt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  /* topbar 绝对定位覆盖层的定位参照 */
  position: relative;
}

/* ——— Top Bar ——— */
/* 脱离布局的覆盖层：显隐只做 transform 位移（合成层动画），内容区高度恒定，展开不挤压滚动容器、不跳动 */
.chatgpt-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px;
  height: calc(44px + env(safe-area-inset-top));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: transform 0.25s ease;
}

/* 收起态：整体上滑移出，布局零变化 */
.chatgpt-topbar.is-hidden {
  transform: translateY(-100%);
}

.chatgpt-topbar-menu {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-topbar-menu:active {
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-model-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #0d0d0d;
}

.chatgpt-topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.chatgpt-topbar-btn {
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #0d0d0d;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-topbar-btn:active {
  background: rgba(0, 0, 0, 0.05);
}

.chatgpt-topbar-btn--primary {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
}

.chatgpt-topbar-btn--primary:active {
  background: #333;
}

.chatgpt-topbar-avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-topbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chatgpt-topbar-avatar-text {
  font-size: 14px;
  font-weight: 600;
  color: #2fb26a;
  line-height: 1;
}

.chatgpt-mobile-sidebar-avatar-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #2fb26a;
}

.chatgpt-mobile-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatgpt-mobile-sidebar-user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatgpt-mobile-sidebar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.chatgpt-mobile-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chatgpt-mobile-sidebar-avatar .gta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  color: #8f8f8f;
}

.chatgpt-mobile-sidebar-name {
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatgpt-mobile-sidebar-model {
  margin-top: 2px;
  font-size: 11px;
  color: #8f8f8f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ——— Mobile Sidebar ——— */
.chatgpt-mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.3);
}

.chatgpt-mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
  width: 260px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.chatgpt-mobile-sidebar.open {
  transform: translateX(0);
}

.chatgpt-mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chatgpt-mobile-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 650;
}

.chatgpt-mobile-sidebar-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0d0d0d;
  cursor: pointer;
}

.chatgpt-mobile-sidebar-close:active {
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-mobile-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
}

.chatgpt-mobile-sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0d0d0d;
  font-size: 14px;
  cursor: pointer;
}

.chatgpt-mobile-sidebar-menu-item:active {
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-mobile-sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chatgpt-mobile-sidebar-login {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.chatgpt-mobile-sidebar-login:active {
  background: rgba(0, 0, 0, 0.05);
}

/* ——— Content Area ——— */
.chatgpt-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chatgpt-chat-area {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  /* 顶部预留 topbar 总高，滚动后与 topbar 一起收起。 */
  padding: calc(61px + env(safe-area-inset-top)) 12px 0;
  display: flex;
  flex-direction: column;
  transition: padding-top 0.25s ease;
}

.chatgpt-chat-area--welcome {
  justify-content: flex-start;
  padding-bottom: 96px;
}

.chatgpt-chat-area--messages {
  justify-content: flex-start;
}

.chatgpt-scroll-bottom {
  position: absolute;
  bottom: 84px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 5;
  left: 50%;
  margin-left: -18px;
}

.chatgpt-scroll-bottom:active {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.chatgpt-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 104px;
  transition: padding-top 0.25s ease;
}

.chatgpt-ai-disclaimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  text-align: center;
  font-size: 12px;
  color: #8f8f8f;
  padding: 0 0 8px;
  pointer-events: none;
}

.chatgpt-history-loading {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding: 8px 0;
}

.chatgpt-message {
  display: flex;
  flex-direction: column;
}

.chatgpt-message--user {
  align-items: flex-end;
}

.chatgpt-message-content {
  font-size: 16px;
  line-height: 1.6;
  color: #0d0d0d;
  word-break: break-word;
  /*white-space: pre-wrap;*/
  min-width: 100px;
}

.chatgpt-message--user .chatgpt-message-content {
  background: transparent;
}

.chatgpt-message--assistant .chatgpt-message-content {
  background: transparent;
  padding: 0;
}

.chatgpt-message--user .chatgpt-message-content[title][data-sending]::after {
  content: " 发送中...";
  color: #8f8f8f;
  font-size: 12px;
}

.chatgpt-message--user .chatgpt-message-content[title][data-error]::after {
  content: " 发送失败";
  color: #ef4444;
  font-size: 12px;
}

.chatgpt-welcome {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.chatgpt-welcome-main {
  margin: auto auto 20px;
  text-align: center;
}

.chatgpt-welcome-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f6f4f, #4f9c73);
  border-radius: 18px;
}

.chatgpt-welcome-title {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: #0d0d0d;
  line-height: 1.33;
}

.chatgpt-welcome-desc {
  margin: 12px auto 0;
  max-width: 90%;
  font-size: 13px;
  line-height: 1.7;
  color: #8f8f8f;
}

.chatgpt-quick-prompts {
  margin: 24px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chatgpt-quick-prompt {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #f7f7f7;
  color: #0d0d0d;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  /* grid 子项允许收缩，文字超出单行省略，避免窄屏长文案撑破两列布局 */
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chatgpt-quick-prompt:active {
  background: #efefef;
}

/* ——— Composer ——— */
.chatgpt-composer-wrapper {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  z-index: 2;
  padding: 12px 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 10px 20px 10px rgb(255 255 255);
}

.chatgpt-composer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  background: #fff;
  transition: border-color 0.2s;
}

.chatgpt-composer:focus-within {
  border-color: rgba(0, 0, 0, 0.2);
}

.chatgpt-composer-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-composer-btn:active {
  background: rgba(0, 0, 0, 0.14);
}

/* 发送/停止按钮默认常显底色，active 时加深 */
.chatgpt-composer-send,
.chatgpt-composer-stop {
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-composer-send:active,
.chatgpt-composer-stop:active {
  background: rgba(0, 0, 0, 0.14);
}

.chatgpt-composer-send:disabled,
.chatgpt-composer-stop:disabled {
  color: #d1d1d1;
  cursor: not-allowed;
}

.chatgpt-composer-send:disabled:active,
.chatgpt-composer-stop:disabled:active {
  background: transparent;
}

.chatgpt-composer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* GTATextView 外层包裹：承接原 textarea 的 flex 布局；垂直留白放这里（3px*2 + 单行 24px = 30px 初始高） */
.chatgpt-composer-input {
  flex: 1;
  min-width: 0;
  padding: 3px 0;
}

/* GTATextView 内部 textarea：不能带垂直 padding，否则组件按 scrollHeight 算行数会多算一行（初始高度翻倍） */
.chatgpt-composer-input .gta-text-view__textarea {
  width: 100%;
  min-width: 0;
  min-height: 24px;
  max-height: 150px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #0d0d0d;
  font-size: 16px;
  line-height: 24px;
  font-family: inherit;
  resize: none;
}

/* 组件内置 placeholder 在聊天输入框下的度量对齐：无内边距、行高 24px（与 textarea 一致）；top 对齐包裹层 3px 垂直留白 */
.chatgpt-composer-input .gta-text-view__placeholder {
  top: 3px;
  padding: 0;
  color: #8f8f8f;
  line-height: 24px;
}

.chatgpt-composer-footer {
  text-align: center;
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  font-size: 11px;
  color: #8f8f8f;
  flex-shrink: 0;
}

.chatgpt-composer-footer a {
  color: #8f8f8f;
  text-decoration: underline;
}

/* PC 与移动端样式会同时进入页面包；用移动端根节点提高关键布局规则的作用域，避免 PC 同名规则覆盖。 */
.chatgpt-page--mobile .chatgpt-chat-area {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 12px;
}

.chatgpt-page--mobile .chatgpt-chat-area--welcome {
  padding-bottom: 0;
}

.chatgpt-page--mobile .chatgpt-chat-area--messages {
  padding-bottom: 0;
}

.chatgpt-page--mobile .chatgpt-messages {
  padding: 0 0 20px;
}

.chatgpt-page--mobile .chatgpt-welcome {
  padding-top: 0;
}

.chatgpt-page--mobile .chatgpt-composer-wrapper {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* 移动端始终由同一个底部输入区承载输入，内容只在其上方滚动。 */
.chatgpt-page--mobile .chatgpt-mobile-composer {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  background: #f5f7f5;
}

.chatgpt-page--mobile .chatgpt-mobile-composer-label {
  margin: 0 13px 8px;
  color: #496257;
  font-size: 12px;
  line-height: 18px;
}

.chatgpt-page--mobile .chatgpt-mobile-composer .chatgpt-composer {
  position: relative;
  align-items: center;
  height: 56px;
  padding: 6px 12px;
  border-color: #c9ddd1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 52, 41, .06);
}

.chatgpt-page--mobile .chatgpt-mobile-composer .chatgpt-composer:focus-within {
  border-color: #168653;
}

.chatgpt-page--mobile .chatgpt-mobile-composer .chatgpt-composer-input .gta-text-view__textarea {
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  white-space: nowrap;
}

.chatgpt-page--mobile .chatgpt-composer-placeholder {
  position: absolute;
  top: 50%;
  right: 88px;
  left: 12px;
  overflow: hidden;
  color: #8f8f8f;
  font-size: 16px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.chatgpt-page--mobile .chatgpt-composer-placeholder--animated {
  color: #32694b;
  font-size: 15px;
  font-weight: 500;
}

.chatgpt-page--mobile .chatgpt-composer-placeholder--animated::after {
  content: '';
  display: inline-block;
  height: 15px;
  margin-left: 2px;
  border-right: 2px solid #168653;
  vertical-align: -2px;
  animation: gta-composer-caret 1s steps(1) infinite;
}

@keyframes gta-composer-caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chatgpt-page--mobile .chatgpt-composer-placeholder--animated::after { animation: none; }
}

.chatgpt-page--mobile .chatgpt-mobile-composer .chatgpt-composer-wrapper {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.chatgpt-page--mobile .chatgpt-composer-mic {
  color: #168653;
  font-size: 20px;
}

.chatgpt-page--mobile .chatgpt-composer-mic.is-listening {
  background: #e1f2e8;
  box-shadow: 0 0 0 3px rgba(20, 134, 83, .08);
}

.chatgpt-page--mobile .chatgpt-composer-speech-status {
  position: absolute;
  right: 16px;
  bottom: calc(100% + 8px);
  left: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 52, 41, .12);
  color: #496257;
  font-size: 12px;
  line-height: 1.4;
}

.chatgpt-page--mobile .chatgpt-chat-area--messages {
  padding-top: 0;
}

.chatgpt-page--mobile .chatgpt-scroll-bottom {
  bottom: 12px;
}

.chatgpt-page--mobile .gta-intent-hero {
  min-height: 100%;
  background: linear-gradient(180deg, #eef6f3 0, #f5f7f5 460px);
}

.chatgpt-page--mobile .gta-intent-hero-media {
  height: 460px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%);
}

.chatgpt-page--mobile .gta-intent-hero-overlay {
  background: linear-gradient(180deg, rgba(247, 251, 248, .38) 0, rgba(247, 251, 248, .82) 250px, #f5f7f5 460px);
}

.chatgpt-page--mobile .gta-intent-surface {
  box-shadow: 0 8px 20px rgba(20, 52, 41, .08);
}

@media (min-height: 820px) {
  .chatgpt-page--mobile.chatgpt-page--entry .gta-intent-grid button {
    min-height: 66px;
  }
}

.chatgpt-composer-footer a:active {
  color: #0d0d0d;
}

.chatgpt-text-message {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chatgpt-text-message--user {
  flex-direction: row-reverse;
}

.chatgpt-text-message--user .chatgpt-text-message-main {
  align-items: flex-end;
}

.chatgpt-text-message--other .chatgpt-text-message-main {
  align-items: flex-start;
  background: #f7f7f8;
  border-radius: 16px;
  padding: 12px 16px;
}

.chatgpt-text-message-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 2px;
}

.chatgpt-text-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chatgpt-text-message-main {
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.chatgpt-text-message--user .chatgpt-text-message-main {
  background: #f7f7f8;
  border-radius: 16px;
  padding: 12px 16px;
}

.chatgpt-text-message-sending {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-text-message-sending::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top-color: #999;
  border-radius: 50%;
  animation: chatgpt-text-spin .8s linear infinite;
}

@keyframes chatgpt-text-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.chatgpt-text-message-error {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ff4749;
  cursor: pointer;
}

.chatgpt-text-message-body {
  font-size: 15px;
  line-height: 1.6;
  color: #0d0d0d;
  word-break: break-word;
  white-space: pre-wrap;
}

.chatgpt-text-message-time {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: #8f8f8f;
}

.chatgpt-image-message {
  position: relative;
  max-width: 400px;
}

.chatgpt-image-message-sending {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-image-message-sending::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top-color: #999;
  border-radius: 50%;
  animation: chatgpt-image-spin .8s linear infinite;
}

@keyframes chatgpt-image-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.chatgpt-image-message-error {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ff4749;
  cursor: pointer;
}

.chatgpt-image-message-body {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.chatgpt-image-message-time {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: #8f8f8f;
}

.chatgpt-ai-message {
  width: 100%;
  position: relative;
}

.chatgpt-ai-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.chatgpt-ai-message:hover .chatgpt-ai-header-actions {
  opacity: 1;
}

.chatgpt-ai-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

.chatgpt-ai-action-btn:hover {
  color: #666;
  background: rgba(0, 0, 0, 0.04);
}

.chatgpt-ai-message-content {
  width: 100%;
  font-size: 15px;
  line-height: 1.8;
  color: #0d0d0d;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chatgpt-ai-message-content p {
  margin: 0;
}

.chatgpt-ai-message-content p + p {
  margin-top: 0.8em;
}

.chatgpt-ai-typing-cursor {
  animation: chatgpt-ai-cursor-blink 0.6s step-end infinite;
}

@keyframes chatgpt-ai-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chatgpt-ai-loading {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  color: #666;
  font-size: 14px;
}

.chatgpt-ai-loading-label { margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
  .chatgpt-ai-loading .chatgpt-ai-loading-dot { animation: none; }
}

.chatgpt-ai-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: chatgpt-ai-loading-bounce 1.2s ease-in-out infinite;
}

.chatgpt-ai-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chatgpt-ai-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.chatgpt-ai-stream-notice { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 11px 13px; border: 1px solid #e7c9c5; border-radius: 10px; background: #fff7f5; color: #713b35; font-size: 13px; }
.chatgpt-ai-stream-notice button { min-height: 38px; margin-left: auto; padding: 7px 12px; border: 1px solid currentColor; border-radius: 8px; background: #fff; color: #8d3e36; font: inherit; }

@keyframes chatgpt-ai-loading-bounce {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.chatgpt-ai-done {
  margin-top: 12px;
}

.chatgpt-ai-divider {
  width: 100%;
  height: 1px;
  background: #e8e8e8;
}

.chatgpt-ai-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 4px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  color: #999;
  font-size: 16px;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

.chatgpt-ai-copy-btn:hover {
  color: #666;
  background: rgba(0, 0, 0, 0.04);
}

.chatgpt-ai-copy-btn:active {
  color: #333;
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-ai-bottom-actions {
  display: flex;
  align-items: center;
}
.chatgpt-ai-bottom-actions>span{
  color: #5f6368;
  font-size: 14px;
}
.chatgpt-ai-bottom-actions>button{
  padding: 6px 12px;
  border: 1px solid #c7cbd1;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  cursor: pointer;
  font: inherit;
}

.chatgpt-ai-copy-label {
  font-size: 12px;
  margin-left: 4px;
  color: #999;
}

/* 人工转接 offer：提示文字 + 联系按钮 */
.chatgpt-ai-handoff {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 2px;
  color: #5f6368;
  font-size: 14px;
}

.chatgpt-ai-handoff button {
  padding: 6px 12px;
  border: 1px solid #c7cbd1;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  cursor: pointer;
  font: inherit;
}

.chatgpt-ai-handoff button:hover {
  border-color: #b9b9b9;
  background: #f3f4f6;
}

/* 接受转接后展开的联系人信息 */
.chatgpt-ai-contacts {
  margin: 12px 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.8;
}

.chatgpt-ai-contacts-list {
  font-weight: 600;
}

.chatgpt-ai-contacts .chatgpt-ai-contacts-link {
  color: #315c9b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.chatgpt-ai-contacts-text {
  color: inherit;
}

/* 桌面端推荐问题位于正文末尾；移动端由聊天区放到输入框上方。 */
.chatgpt-ai-suggested-questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  flex-shrink: 0;
}

.chatgpt-ai-suggested-questions::before {
  content: attr(data-heading);
  grid-column: 1 / -1;
  margin: 0 2px 1px;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 500;
}

.chatgpt-ai-suggested-question {
  display: flex;
  min-height: 58px;
  padding: 11px 14px;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  color: #202123;
  background: rgba(244, 244, 244, 0.58);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.chatgpt-ai-suggested-question .chatgpt-ai-suggested-question-label {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

.chatgpt-ai-suggested-question:hover {
  border-color: #b9b9b9;
  background: #fff;
  transform: translateY(-1px);
}

.chatgpt-ai-suggested-question:focus-visible {
  outline: 2px solid #2f6f4f;
  outline-offset: -3px;
}

/* 移动端固定在输入区上方，使用原生横向滚动，保留触摸与键盘操作。 */
.chatgpt-page--mobile .chatgpt-ai-suggested-questions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 0;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.chatgpt-page--mobile .chatgpt-ai-suggested-questions::-webkit-scrollbar {
  display: none;
}

.chatgpt-page--mobile .chatgpt-ai-suggested-questions::before {
  display: none;
}

.chatgpt-page--mobile .chatgpt-ai-suggested-question {
  flex: 0 0 auto;
  width: 210px;
  max-width: 82%;
  min-height: 62px;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 16px;
  scroll-snap-align: start;
  transform: none;
}

.chatgpt-page--mobile .chatgpt-ai-suggested-question + .chatgpt-ai-suggested-question {
  margin-left: 8px;
}

.chatgpt-page--mobile .chatgpt-ai-suggested-question .chatgpt-ai-suggested-question-label {
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.gta-text-view {
  width: 100%;
  position: relative;
}

.gta-text-view__textarea {
  width: calc(100% - 40px);
  min-width: 200px;
  min-height: 28px;
  height: 28px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 28px;
  border: 1px solid #d9d9d9;
  resize: none;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
  box-sizing: border-box;
  overflow-y: hidden;
  display: block;
}

.gta-text-view__character-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #bfbfbf;
  pointer-events: none;
}

.gta-text-view__textarea::placeholder {
  color: #bfbfbf;
}

/* 禁用状态 */
.gta-text-view__textarea:disabled {
  background-color: #f5f5f5;
  border-color: #d9d9d9;
  cursor: not-allowed;
  opacity: 0.6;
}

html.customer-service-page-active,
body.customer-service-page-active {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.customer-service-page {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  width: 100%;
  height: var(--customer-service-page-height, 100dvh);
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  overscroll-behavior: none;
  transform: translate3d(0, var(--customer-service-page-top, 0px), 0);
  will-change: height, transform;
  bottom: 0;
}

.customer-service-page-chat .website-chat-mobile-back {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 91, 108, 0.14);
  color: #172a32;
  cursor: pointer;
}

.customer-service-page-chat .website-chat-mobile-back i {
  font-size: 20px;
}

.customer-service-page-chat .website-chat-mobile-back:focus-visible {
  outline: 2px solid #147444;
  outline-offset: 2px;
}

.customer-service-page-chat {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.customer-service-page-chat .website-chat-header {
  min-height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  justify-content: space-between;
  flex: 0 0 auto;
  background: linear-gradient(110deg, #e9f5f9 0%, #f8fbfc 55%, #fff 100%);
}

.customer-service-page-chat .website-chat-mobile-spacer {
  width: 44px;
  flex: 0 0 44px;
}

.customer-service-page-chat .website-chat-header-actions {
  display: none;
}

.customer-service-page-chat .website-chat-header-left--service {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.customer-service-page-chat .website-chat-profile {
  max-width: 100%;
}

.customer-service-page-chat .website-chat-title {
  margin: 0;
  font-size: 16px;
}

.customer-service-page-chat .website-chat-subtitle {
  justify-content: center;
  gap: 6px;
  font-size: 11px;
}

.customer-service-page-chat .website-chat-service-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-service-page-chat .website-chat-status {
  gap: 4px;
}

.customer-service-page-chat .website-chat-status-dot {
  width: 7px;
  height: 7px;
}

.customer-service-page-chat .website-chat-shell--mobile {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 0;
}

.customer-service-page-chat .website-chat-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.customer-service-page-chat .website-chat-all-box,
.customer-service-page-chat .website-chat-composer--mobile {
  flex-shrink: 0;
}

.customer-service-page-chat .website-chat-composer--mobile {
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.ai-service-message-system{
  display: flex;
  justify-content: center;
  font-size: 13px;
  color: #7d7575;
  width: 100%;
}
.ai-service-message-system-time{
  margin-left: 15px;
}

.chatgpt-page .gta-intent-entry.is-result { max-width: none; }
.gta-intent-entry.is-result .gta-intent-scroll {
  padding: 0 32px 40px;
  background:
    radial-gradient(circle at 16% 0, rgba(40, 147, 92, .07), transparent 28%),
    var(--color-bg-subtle);
}
.gta-intent-entry.is-result .gta-intent-conversation--result { width: min(100%, 1280px); padding-top: 18px; }
.gta-intent-entry.is-result .gta-intent-toolbar { margin: 0 0 12px; }
.gta-intent-entry.is-result .gta-intent-input--docked {
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(20, 52, 41, .04);
}
.gta-intent-entry.is-result .gta-intent-input--docked > p,
.gta-intent-entry.is-result .gta-intent-input--docked .chatgpt-composer-wrapper {
  width: min(calc(100% - 32px), 1248px);
  margin-right: auto;
  margin-left: auto;
}

.gta-budget-result { padding-bottom: 12px; color: var(--color-fg); overflow-wrap: anywhere; }
.gta-budget-result section { min-width: 0; }
.gta-budget-result.is-ready { animation: gta-result-enter 260ms ease-out; }
.gta-result-intro { max-width: 840px; padding: 18px 0 20px; }
.gta-result-identity { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.gta-result-identity > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-800);
}
.gta-result-identity > span img { display: block; width: 112%; height: 112%; object-fit: contain; }
.gta-result-identity > div { display: grid; gap: 2px; }
.gta-result-identity strong { font-size: 15px; font-weight: var(--fw-semibold); }
.gta-result-identity small { color: var(--color-fg-muted); font-size: var(--fz-xs); }
.chatgpt-page .gta-result-intro h2 {
  max-width: 760px;
  margin: 0;
  color: var(--color-fg);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: var(--fw-semibold);
  line-height: 1.32;
  letter-spacing: -.025em;
}
.chatgpt-page .gta-result-intro > p { max-width: 760px; margin: 12px 0 0; color: var(--color-fg-muted); font-size: 15px; line-height: 1.75; }
.chatgpt-page .gta-result-intro .gta-result-fallback { display: inline-block; padding: 8px 12px; border-radius: var(--radius-md); background: #fff8e8; color: #725c28; font-size: 13px; }

.gta-result-profile {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 42px);
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
}
.chatgpt-page .gta-result-profile h3 { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; margin: 1px 0 0; font-size: 14px; font-weight: var(--fw-semibold); }
.gta-result-profile h3 .gta-icon { --gta-icon-size: 18px; color: var(--brand-700); font-size: 18px; }
.gta-result-profile-lines { display: flex; flex-wrap: wrap; gap: 7px 18px; }
.chatgpt-page .gta-result-profile-lines p { margin: 0; color: var(--color-fg-muted); font-size: 13px; line-height: 1.65; }
.gta-result-profile-lines strong { color: var(--color-fg); font-weight: var(--fw-medium); }

.gta-result-layout { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(320px, .92fr); gap: clamp(22px, 3vw, 36px); align-items: start; }
.gta-result-main, .gta-result-side { display: grid; gap: 22px; min-width: 0; }
.gta-result-side { position: sticky; top: 20px; }
.gta-result-card { border: 1px solid var(--color-border); border-radius: var(--radius-xl, 20px); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.chatgpt-page .gta-budget-result h3 { margin: 0; color: var(--color-fg); font-size: 21px; font-weight: var(--fw-semibold); line-height: 1.45; }
.chatgpt-page .gta-budget-result h4 { margin: 0; color: var(--color-fg); font-size: 16px; font-weight: var(--fw-semibold); }
.gta-result-section-kicker, .gta-result-section-heading span { display: block; margin-bottom: 5px; color: var(--brand-800); font-size: var(--fz-xs); font-weight: var(--fw-medium); }

.gta-result-route { padding: clamp(22px, 3vw, 34px); }
.gta-result-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.chatgpt-page .gta-result-section-heading > p { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; margin: 4px 0 0; padding: 7px 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-800); font-size: 13px; }
.gta-result-section-heading .gta-icon { --gta-icon-size: 16px; font-size: 16px; }
.chatgpt-page .gta-result-route-title { margin: 28px 0 26px; color: var(--brand-900, #183e32); font-size: clamp(23px, 2.5vw, 32px); font-weight: var(--fw-semibold); line-height: 1.35; letter-spacing: -.015em; }
.chatgpt-page .gta-result-timeline { margin: 0; padding: 0; list-style: none; }
.gta-result-timeline li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 20px; min-height: 102px; padding: 0 0 24px 28px; border-left: 2px solid var(--brand-200, #cfe8d8); }
.gta-result-timeline li:last-child { min-height: 0; padding-bottom: 0; border-left-color: transparent; }
.gta-result-route-marker { position: absolute; top: 2px; left: -7px; width: 12px; height: 12px; border: 3px solid var(--color-surface); border-radius: 50%; background: var(--brand-700); box-shadow: 0 0 0 1px var(--brand-400); }
.gta-result-day { padding-top: 1px; color: var(--brand-800); font-size: 13px; font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.gta-result-stop { padding-bottom: 2px; }
.chatgpt-page .gta-result-stop h4 { font-size: 19px; }
.chatgpt-page .gta-result-stop p { margin: 7px 0 0; color: var(--color-fg-muted); font-size: 14px; line-height: 1.65; }
.gta-result-timeline li.is-candidate { opacity: .72; border-left-style: dashed; }
.gta-result-timeline li.is-candidate .gta-result-route-marker { background: var(--color-surface); }
.gta-result-assumptions { margin-top: 24px; border-top: 1px solid var(--color-border); color: var(--color-fg-muted); }
.gta-result-assumptions summary { width: fit-content; min-height: 44px; padding: 14px 0 0; cursor: pointer; font-size: 12px; }
.chatgpt-page .gta-result-assumptions ul { margin: 3px 0 0; padding-left: 18px; }
.chatgpt-page .gta-result-assumptions li { margin-top: 5px; font-size: 12px; line-height: 1.65; }

.gta-result-budget { padding: 24px; border-color: var(--brand-200, #cfe8d8); background: linear-gradient(155deg, var(--brand-50), var(--color-surface) 46%); }
.gta-result-budget-badge { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .84); color: var(--color-fg-muted); font-size: 11px; }
.gta-result-budget-tier { margin: 8px 0 0; color: var(--color-fg-muted); font-size: 13px; }
.chatgpt-page .gta-result-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 12px 0 18px; color: var(--brand-800); font-variant-numeric: tabular-nums; }
.gta-result-price > span { font-size: clamp(25px, 2.35vw, 34px); font-weight: var(--fw-semibold); line-height: 1.3; letter-spacing: -.025em; }
.gta-result-price small { font-size: 13px; }
.gta-result-total { display: grid; gap: 5px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--color-surface); }
.gta-result-total > span { color: var(--color-fg-muted); font-size: 12px; }
.gta-result-total strong { font-size: 17px; font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.gta-result-total small { color: var(--color-fg-muted); font-size: 11px; }
.chatgpt-page .gta-result-budget > h4 { margin-top: 24px; }
.gta-result-breakdown { display: grid; gap: 0; margin: 8px 0 16px; }
.gta-result-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.gta-result-breakdown dt { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gta-result-breakdown dt > .gta-icon { --gta-icon-size: 20px; flex: 0 0 auto; color: var(--brand-700); font-size: 20px; }
.gta-result-breakdown dt > span { display: grid; gap: 2px; font-size: 13px; }
.gta-result-breakdown dt small { color: var(--color-fg-muted); font-size: 10px; }
.gta-result-breakdown dd { flex: 0 0 auto; margin: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.chatgpt-page .gta-result-note, .chatgpt-page .gta-result-scope, .chatgpt-page .gta-result-disclaimer { color: var(--color-fg-muted); font-size: 11px; line-height: 1.65; }
.chatgpt-page .gta-result-scope { margin: 0; }
.chatgpt-page .gta-result-disclaimer { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--color-border); }

.gta-result-reasons, .gta-result-practical, .gta-result-actions { padding: clamp(20px, 2.5vw, 28px); }
.chatgpt-page .gta-result-reasons ol { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.gta-result-reasons li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--color-border); }
.gta-result-reasons li > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-size: 11px; font-weight: var(--fw-semibold); }
.chatgpt-page .gta-result-reasons li p { margin: 1px 0 0; color: var(--color-fg-muted); font-size: 14px; line-height: 1.75; }
.chatgpt-page .gta-result-practical ul { display: grid; gap: 9px; margin: 15px 0 0; padding-left: 20px; color: var(--color-fg-muted); }
.chatgpt-page .gta-result-practical li { padding-left: 3px; font-size: 13px; line-height: 1.7; }

.gta-result-actions { box-shadow: none; }
.gta-result-action-list { display: grid; gap: 9px; margin-top: 18px; }
.gta-result-actions button { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; align-items: center; gap: 10px; width: 100%; min-height: 68px; padding: 13px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-fg); text-align: left; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.gta-result-actions button:hover:not(:disabled) { border-color: var(--brand-500); background: var(--brand-50); transform: translateY(-1px); }
.gta-result-actions button:active:not(:disabled) { transform: scale(.985); }
.gta-result-actions button.is-primary { border-color: var(--brand-700); background: var(--brand-700); color: #fff; }
.gta-result-actions button.is-primary:hover:not(:disabled) { background: var(--brand-800); }
.gta-result-actions button[aria-pressed='true'] { box-shadow: inset 0 0 0 1px currentColor; }
.gta-result-actions button > .gta-icon { --gta-icon-size: 21px; font-size: 21px; }
.gta-result-actions button > span:not(.gta-result-action-arrow) { display: grid; gap: 3px; }
.gta-result-actions button strong { font-size: 14px; font-weight: var(--fw-semibold); }
.gta-result-actions button small { color: var(--color-fg-muted); font-size: 11px; line-height: 1.45; }
.gta-result-actions button.is-primary small { color: rgba(255, 255, 255, .78); }
.gta-result-action-arrow { justify-self: end; font-size: 16px; }
.gta-result-action-response:empty { display: none; }
.chatgpt-page .gta-result-action-response { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-md); background: var(--brand-50); color: var(--color-fg-muted); font-size: 12px; line-height: 1.6; }

.gta-result-human-help { display: grid; gap: 10px; padding: 16px 18px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .55); }
.chatgpt-page .gta-result-human-help strong { font-size: 13px; }
.chatgpt-page .gta-result-human-help p { margin: 3px 0 0; color: var(--color-fg-muted); font-size: 11px; line-height: 1.55; }
.gta-result-human-help button { display: inline-flex; align-items: center; justify-self: start; gap: 7px; min-height: 42px; padding: 8px 13px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--brand-800); font-size: 12px; }
.gta-result-human-help button .gta-icon { --gta-icon-size: 17px; font-size: 17px; }
.gta-result-human-help small { color: var(--color-fg-muted); font-size: 10px; }

.gta-result-loading { display: flex; align-items: center; gap: 16px; min-height: 150px; padding: 26px; border: 1px solid var(--color-border); border-radius: var(--radius-xl, 20px); background: var(--color-surface); }
.gta-result-loading > div { display: grid; gap: 5px; }
.gta-result-loading strong { font-size: 16px; font-weight: var(--fw-semibold); }
.chatgpt-page .gta-result-loading p { margin: 0; color: var(--color-fg-muted); font-size: 13px; }
.gta-result-loading-mark { display: flex; gap: 4px; }
.gta-result-loading-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); animation: gta-result-pulse 900ms ease-in-out infinite; }
.gta-result-loading-mark i:nth-child(2) { animation-delay: 120ms; }
.gta-result-loading-mark i:nth-child(3) { animation-delay: 240ms; }

.gta-budget-result button:focus-visible, .gta-result-assumptions summary:focus-visible { outline: 3px solid rgba(40, 147, 92, .26); outline-offset: 3px; }
@keyframes gta-result-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gta-result-pulse { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 1199px) {
  .gta-result-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: 22px; }
  .gta-result-route { padding: 26px; }
}

@media (max-width: 991px) {
  .gta-intent-entry.is-result .gta-intent-conversation--result { width: min(100%, 760px); }
  .gta-result-layout { grid-template-columns: 1fr; }
  .gta-result-side { position: static; }
  .gta-result-budget { order: -1; }
}

@media (min-width: 992px) {
  .chatgpt-page--pc .gta-intent-entry.is-result .gta-intent-conversation--result,
  .chatgpt-page--pc .gta-intent-entry.is-result .gta-intent-input--docked > p,
  .chatgpt-page--pc .gta-intent-entry.is-result .gta-intent-input--docked .chatgpt-composer-wrapper {
    width: min(100%, var(--gta-ai-content-width));
  }
}

@media (max-width: 767px) {
  .gta-intent-entry.is-result .gta-intent-scroll { padding: 0 16px 28px; }
  .gta-intent-entry.is-result .gta-intent-conversation--result { padding-top: 8px; }
  .gta-intent-entry.is-result .gta-intent-toolbar { margin-bottom: 4px; }
  .gta-result-intro { padding: 12px 0 16px; }
  .gta-result-identity { margin-bottom: 14px; }
  .gta-result-identity > span { width: 38px; height: 38px; }
  .chatgpt-page .gta-result-intro h2 { font-size: 25px; line-height: 1.38; }
  .chatgpt-page .gta-result-intro > p { font-size: 14px; }
  .gta-result-profile { display: block; margin-bottom: 16px; padding: 14px 15px; }
  .gta-result-profile-lines { display: grid; gap: 4px; margin-top: 10px; }
  .gta-result-layout, .gta-result-main, .gta-result-side { gap: 14px; }
  .gta-result-main, .gta-result-side { display: contents; }
  .gta-result-route { order: 1; padding: 20px 16px; }
  .gta-result-budget { order: 2; padding: 20px 16px; }
  .gta-result-reasons { order: 3; padding: 20px 16px; }
  .gta-result-practical { order: 4; padding: 20px 16px; }
  .gta-result-actions { order: 5; padding: 20px 16px; }
  .gta-result-human-help { order: 6; }
  .gta-result-section-heading { display: block; }
  .chatgpt-page .gta-result-section-heading > p { width: fit-content; margin-top: 10px; }
  .chatgpt-page .gta-result-route-title { margin: 22px 0; font-size: 23px; }
  .gta-result-timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; min-height: 96px; padding-left: 18px; }
  .chatgpt-page .gta-result-stop h4 { font-size: 17px; }
  .chatgpt-page .gta-result-stop p { font-size: 13px; }
  .gta-result-price > span { font-size: 26px; }
  .gta-result-breakdown > div { align-items: flex-start; }
  .gta-result-breakdown dd { padding-top: 2px; font-size: 12px; }
  .gta-result-loading { min-height: 130px; padding: 20px 16px; }
  .gta-intent-entry.is-result .gta-intent-input--docked > p,
  .gta-intent-entry.is-result .gta-intent-input--docked .chatgpt-composer-wrapper { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gta-budget-result, .gta-budget-result *, .gta-budget-result *::before, .gta-budget-result *::after { animation: none !important; transition: none !important; }
}

.gta-travel-handoff,
.gta-result-human-help {
  box-sizing: border-box;
  color: var(--color-fg);
}

.gta-travel-handoff {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--brand-200, #cfe8d8);
  border-radius: var(--radius-xl, 20px);
  background: linear-gradient(145deg, var(--brand-50, #f2f8f4), var(--color-surface) 62%);
  box-shadow: var(--shadow-sm);
  line-height: 1.65;
  scroll-margin: 96px 0 110px;
}

.gta-handoff-heading,
.gta-handoff-success,
.gta-advisor-identity,
.gta-handoff-ai-continuation {
  display: flex;
  align-items: center;
}

.gta-handoff-heading { gap: 12px; }
.gta-handoff-heading > div { display: grid; gap: 2px; min-width: 0; }
.gta-handoff-heading > div > span { color: var(--brand-800); font-size: 12px; font-weight: var(--fw-semibold); }
.chatgpt-page .gta-handoff-heading h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.gta-handoff-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-800);
}
.gta-handoff-mark .gta-icon { --gta-icon-size: 22px; font-size: 22px; }
.gta-handoff-mark > i:not(.gta-icon) { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: gta-handoff-pulse 900ms ease-in-out infinite alternate; }
.gta-handoff-mark.is-error { background: #fff4ed; color: #a24a29; }

.chatgpt-page .gta-handoff-lead,
.chatgpt-page .gta-handoff-promise,
.chatgpt-page .gta-handoff-consent { margin: 0; }
.chatgpt-page .gta-handoff-lead { max-width: 680px; color: var(--color-fg); font-size: 15px; }
.chatgpt-page .gta-handoff-promise { color: var(--color-fg-muted); font-size: 14px; }
.gta-handoff-promise strong { color: var(--brand-800); }
.chatgpt-page .gta-handoff-consent { color: var(--color-fg-muted); font-size: 12px; }

.gta-handoff-summary {
  display: grid;
  gap: 9px;
  padding: 17px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.gta-handoff-kicker { color: var(--color-fg-muted); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .04em; }
.gta-handoff-summary > strong { font-size: 15px; font-weight: var(--fw-semibold); }
.chatgpt-page .gta-handoff-route { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--brand-800); font-size: 18px; font-weight: var(--fw-semibold); }
.gta-handoff-route .gta-icon { --gta-icon-size: 18px; flex: 0 0 auto; font-size: 18px; }
.gta-handoff-summary dl { display: contents; }
.gta-handoff-summary dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding-top: 9px; border-top: 1px solid var(--color-border); }
.gta-handoff-summary dt { color: var(--color-fg-muted); font-size: 12px; }
.gta-handoff-summary dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; }

.gta-handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gta-travel-handoff button,
.gta-advisor-methods a {
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--brand-800);
  font: inherit;
  cursor: pointer;
}
.gta-travel-handoff button.is-primary { border-color: var(--brand-700); background: var(--brand-700); color: #fff; font-weight: var(--fw-semibold); }
.gta-travel-handoff button.is-text { border-color: transparent; background: transparent; color: var(--color-fg-muted); }
.gta-travel-handoff button:focus-visible,
.gta-advisor-methods a:focus-visible,
.gta-advisor-qr summary:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; }
.gta-travel-handoff button:disabled { opacity: .58; cursor: wait; }

.gta-handoff-success { gap: 11px; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--brand-100); color: var(--brand-900, #183e32); }
.gta-handoff-success > span { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--brand-700); color: #fff; font-weight: var(--fw-bold); }
.gta-handoff-success > div { display: grid; gap: 1px; }
.gta-handoff-success > div > span { font-size: 11px; }
.gta-handoff-success strong { font-size: 15px; }

.gta-advisor-contact { display: grid; gap: 15px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-xl, 20px); background: var(--color-surface); }
.gta-advisor-identity { gap: 13px; }
.gta-advisor-avatar { display: grid; flex: 0 0 56px; width: 56px; height: 56px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); }
.gta-advisor-avatar img { width: 56px; height: 56px; border-radius: 50%; }
.gta-advisor-avatar .gta-icon { --gta-icon-size: 27px; font-size: 27px; }
.gta-advisor-identity > div:last-child { display: grid; gap: 2px; }
.gta-advisor-identity strong { font-size: 18px; }
.gta-advisor-identity span { color: var(--color-fg-muted); font-size: 12px; }
.chatgpt-page .gta-advisor-message,
.chatgpt-page .gta-advisor-supporting { margin: 0; }
.chatgpt-page .gta-advisor-message { font-size: 15px; }
.gta-advisor-message strong { color: var(--brand-800); }
.chatgpt-page .gta-advisor-supporting { color: var(--color-fg-muted); font-size: 13px; }

.gta-advisor-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gta-advisor-methods > div { min-width: 0; }
.gta-advisor-methods button,
.chatgpt-page .gta-advisor-methods a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 60px; margin: 0; padding: 9px 12px; text-align: left; text-decoration: none; }
.gta-advisor-methods .gta-icon { --gta-icon-size: 24px; flex: 0 0 auto; color: var(--brand-700); font-size: 24px; }
.gta-advisor-methods button > span,
.gta-advisor-methods a > span { display: grid; min-width: 0; }
.gta-advisor-methods strong { font-size: 13px; }
.gta-advisor-methods small { overflow: hidden; color: var(--color-fg-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.chatgpt-page .gta-advisor-no-method { margin: 0; padding: 11px 13px; border-radius: var(--radius-md); background: #fff8e8; color: #725c28; font-size: 12px; }

.gta-advisor-qr { border-top: 1px solid var(--color-border); }
.gta-advisor-qr summary { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand-800); cursor: pointer; font-size: 13px; }
.gta-advisor-qr summary .gta-icon { --gta-icon-size: 18px; font-size: 18px; }
.gta-advisor-qr > div { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.gta-advisor-qr img { flex: 0 0 auto; }
.gta-advisor-qr span { color: var(--color-fg-muted); font-size: 12px; }

.gta-handoff-reference { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-bg-subtle); }
.gta-handoff-reference > span { color: var(--color-fg-muted); font-size: 11px; }
.gta-handoff-reference > strong { min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
.gta-handoff-reference > button { min-height: 36px; margin-left: auto; padding: 6px 10px; font-size: 11px; }
.chatgpt-page .gta-handoff-copy-status { margin: 0; color: var(--color-fg-muted); font-size: 12px; }

.gta-handoff-ai-continuation { gap: 10px; color: var(--brand-800); }
.gta-handoff-ai-continuation .gta-icon { --gta-icon-size: 19px; flex: 0 0 auto; font-size: 19px; }
.gta-handoff-ai-continuation > span { display: grid; }
.gta-handoff-ai-continuation strong { font-size: 13px; }
.gta-handoff-ai-continuation small { color: var(--color-fg-muted); font-size: 11px; }
.gta-handoff-continue { justify-self: start; }
.gta-handoff-footnote { color: var(--color-fg-muted); font-size: 11px; }

.gta-result-human-help { display: grid; gap: 10px; padding: 16px 18px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .55); }
.gta-result-human-help button { min-height: 42px; }
.gta-legacy-advisor-contact { max-width: calc(100vw - 32px); max-height: 85dvh; overflow: auto; border-radius: 16px; background: white; padding: 20px; }
.gta-legacy-advisor-contact > button { float: right; min-height: 44px; padding: 8px 16px; }

@keyframes gta-handoff-pulse { to { opacity: .35; transform: scale(.72); } }

@media (max-width: 767px) {
  .gta-travel-handoff { gap: 14px; margin: 18px 0; padding: 16px; border-radius: var(--radius-lg); scroll-margin-top: 76px; }
  .chatgpt-page .gta-handoff-heading h3 { font-size: 17px; }
  .gta-handoff-mark { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; }
  .gta-handoff-summary { padding: 15px; }
  .chatgpt-page .gta-handoff-route { font-size: 16px; }
  .gta-handoff-summary dl > div { grid-template-columns: 64px minmax(0, 1fr); }
  .gta-handoff-actions { display: grid; grid-template-columns: 1fr; }
  .gta-handoff-actions button,
  .gta-handoff-continue { width: 100%; }
  .gta-advisor-contact { padding: 16px; }
  .gta-advisor-methods { grid-template-columns: 1fr; }
  .gta-advisor-methods button,
  .chatgpt-page .gta-advisor-methods a { min-height: 56px; }
  .gta-advisor-qr > div { align-items: flex-start; flex-direction: column; }
  .gta-handoff-reference { align-items: flex-start; flex-wrap: wrap; }
  .gta-handoff-reference > button { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gta-handoff-mark > i:not(.gta-icon) { animation: none; }
}

.gta-plan-workspace { width: min(100%, 1320px); margin: 0 auto; }
.gta-current-plan {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}
.gta-current-plan-icon, .gta-plan-conversation-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-800);
}
.gta-current-plan-icon { width: 38px; height: 38px; }
.gta-current-plan-icon .gta-icon { --gta-icon-size: 20px; font-size: 20px; }
.gta-current-plan-copy { display: grid; gap: 2px; min-width: 0; }
.gta-current-plan-copy > span { color: var(--brand-800); font-size: 11px; font-weight: var(--fw-semibold); }
.gta-current-plan-copy strong { overflow: hidden; color: var(--color-fg); font-size: 16px; font-weight: var(--fw-semibold); text-overflow: ellipsis; white-space: nowrap; }
.gta-current-plan-copy small { color: var(--color-fg-muted); font-size: 11px; }
.gta-current-plan-status { display: flex; align-items: center; gap: 8px; max-width: 270px; color: var(--color-fg-muted); font-size: 12px; }
.gta-current-plan-status.is-updating { color: var(--brand-800); }
.gta-current-plan-status.is-updating i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); animation: gta-plan-pulse 1.2s ease-in-out infinite; }
.gta-current-plan-toggle { display: none; min-height: 44px; padding: 8px 13px; border: 1px solid var(--brand-300); border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-800); }

.gta-plan-workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr); gap: 20px; align-items: start; }
.gta-current-plan-body {
  position: sticky;
  top: calc(var(--gta-header-offset, var(--gta-header-h, 60px)) + 22px);
  transition: top .18s ease;
  min-width: 0;
  max-height: calc(100dvh - 248px);
  padding-right: 8px;
  overflow: auto;
  scrollbar-gutter: stable;
  transition: opacity 180ms ease;
}
.gta-current-plan-body .gta-result-layout { grid-template-columns: 1fr; }
.gta-current-plan-body .gta-result-side { position: static; }
.gta-current-plan-body .gta-result-budget { order: -1; }
.gta-plan-conversation {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl, 20px);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.gta-plan-conversation-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.gta-plan-conversation-mark { width: 36px; height: 36px; font-size: 11px; font-weight: var(--fw-semibold); }
.gta-plan-conversation-heading > div:last-child { display: grid; gap: 2px; }
.gta-plan-conversation-heading strong { color: var(--color-fg); font-size: 15px; }
.gta-plan-conversation-heading span { color: var(--color-fg-muted); font-size: 11px; }
.gta-plan-continuation { display: grid; gap: 18px; min-width: 0; margin: 0; }
.gta-plan-continuation .chatgpt-message-content { max-width: 100%; font-size: 14px; }
.gta-plan-continuation .chatgpt-message--user .chatgpt-message-content { max-width: 88%; padding: 10px 13px; border-radius: 15px 15px 4px 15px; background: var(--brand-100); }
.gta-plan-continuation .chatgpt-message--assistant { padding-left: 2px; }
.gta-plan-continuation .chatgpt-ai-message-content { line-height: 1.7; }
.gta-plan-update-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-900, #183e32);
}
.gta-plan-update-notice > .gta-icon { --gta-icon-size: 19px; font-size: 19px; color: var(--brand-700); }
.gta-plan-update-notice > div { display: grid; gap: 2px; }
.gta-plan-update-notice strong { font-size: 13px; }
.gta-plan-update-notice span { color: var(--color-fg-muted); font-size: 11px; }
.gta-plan-update-notice.is-itinerary { background: var(--color-bg-subtle); }
.gta-plan-update-notice.is-failed { grid-template-columns: auto minmax(0, 1fr) auto; border-color: #e7c9c5; background: #fff7f5; }
.gta-plan-update-notice button { min-height: 38px; padding: 7px 10px; border: 1px solid currentColor; border-radius: var(--radius-md); background: transparent; color: #8d3e36; font-size: 12px; }
.gta-plan-conversation-empty { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: var(--color-bg-subtle); }
.chatgpt-page .gta-plan-conversation-empty p { margin: 0; color: var(--color-fg-muted); font-size: 13px; line-height: 1.7; }
.gta-plan-conversation-empty button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--brand-300); border-radius: var(--radius-md); background: var(--color-surface); color: var(--brand-800); text-align: left; }
.gta-plan-adjustments { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.gta-plan-adjustments > span { color: var(--color-fg-muted); font-size: 11px; }
.gta-plan-adjustments > div { display: flex; flex-wrap: wrap; gap: 7px; }
.gta-plan-adjustments button { min-height: 40px; padding: 8px 11px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); color: var(--color-fg); font-size: 12px; }
.gta-plan-workspace.is-updating .gta-current-plan-body { opacity: .72; }

@media (max-width: 1199px) {
  .gta-plan-workspace-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); }
  .gta-current-plan-status { max-width: 210px; }
}

@media (max-width: 991px) {
  .gta-plan-workspace-grid { grid-template-columns: 1fr; }
  .gta-current-plan-body { position: static; max-height: none; padding-right: 0; overflow: visible; }
  .gta-plan-conversation { position: static; }
}

@media (max-width: 767px) {
  .gta-current-plan { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 12px; padding: 9px 12px; border-radius: var(--radius-md); }
  .gta-current-plan-icon { display: none; }
  .gta-current-plan-copy > span { display: none; }
  .gta-current-plan-copy strong { font-size: 14px; }
  .gta-current-plan-copy small { display: none; }
  .gta-current-plan-status { display: none; }
  .gta-current-plan-toggle { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 9px; }
  .gta-current-plan-toggle b { font-size: 15px; font-weight: var(--fw-medium); }
  .gta-current-plan-toggle span { font-size: 12px; }
  .gta-plan-workspace-grid { display: flex; flex-direction: column; gap: 12px; }
  .gta-current-plan-body { display: none; width: 100%; }
  .gta-plan-workspace.is-plan-open .gta-current-plan-body { display: block; order: 2; }
  .gta-plan-conversation { order: 1; width: 100%; padding: 16px; border-radius: var(--radius-lg); }
  .gta-plan-continuation { gap: 14px; }
  .gta-plan-update-notice.is-failed { grid-template-columns: auto minmax(0, 1fr); }
  .gta-plan-update-notice.is-failed button { grid-column: 2; justify-self: start; }
}

@keyframes gta-plan-pulse { 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) {
  .gta-current-plan-status.is-updating i { animation: none; }
  .gta-current-plan-body { transition: none; }
}

.gta-robot-figure { position: relative; display: block; width: 100%; height: 100%; }
.gta-robot-figure img.gta-robot-body,
.gta-robot-figure .gta-robot-head img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gta-robot-body { position: absolute; inset: 0; clip-path: inset(65% 0 0); }
.gta-robot-head { position: absolute; inset: 0; transform-origin: 50% 66%; animation: gta-robot-look 6s ease-in-out infinite; }
.gta-robot-head img { clip-path: inset(0 0 34% 0); }
.gta-robot-blink { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; animation: gta-robot-blink 6s linear infinite; }

@keyframes gta-robot-look {
  0%, 10%, 28%, 48%, 72%, 100% { transform: rotate(0); }
  18%, 24% { transform: rotate(-6deg); }
  56%, 64% { transform: rotate(6deg); }
}

@keyframes gta-robot-blink {
  0%, 20%, 24%, 59%, 63%, 100% { opacity: 0; }
  21%, 23%, 60%, 62% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gta-robot-head, .gta-robot-blink { animation: none; }
}

.chatgpt-page .gta-intent-entry {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #183e32;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.gta-intent-scroll { flex: 1; overflow-y: auto; min-height: 0; padding: 24px 32px; }
.gta-intent-entry:not(.is-started) .gta-intent-scroll { padding: 0; }
.gta-intent-hero { position: relative; min-height: calc(100vh - var(--gta-header-h, 60px)); min-height: calc(100dvh - var(--gta-header-h, 60px)); overflow: hidden; background: var(--color-bg-subtle); }
.gta-intent-hero-media { position: absolute; inset: 0; }
.chatgpt-page .gta-intent-hero-media img { width: 100%; height: 100%; object-position: center; }
.gta-intent-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 251, 248, .96) 0%, rgba(247, 251, 248, .90) 44%, rgba(247, 251, 248, .55) 100%); }
.gta-intent-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: 100%;
  width: min(calc(100% - 64px), var(--container-xl));
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}
.gta-intent-panel { display: grid; gap: 16px; min-width: 0; }
.gta-intent-surface { padding: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-md); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chatgpt-page .gta-intent-identity { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.gta-intent-identity > span { display: grid; flex: 0 0 58px; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(228, 247, 235, .84); box-shadow: 0 5px 18px rgba(15, 91, 52, .14); }
.gta-intent-identity small { font-size: var(--fz-xs); font-weight: var(--fw-normal); color: var(--color-fg-muted); }
.chatgpt-page .gta-intent-intro h1 { margin-top: 24px; max-width: 560px; font-size: clamp(36px, 4vw, 58px); line-height: 1.2; font-weight: var(--fw-semibold); letter-spacing: -.035em; color: var(--color-fg); }
.gta-intent-intro h1 span { display: inline-block; }
.gta-intent-benefits { display: none; }
.chatgpt-page .gta-intent-intro p { margin-top: 20px; color: var(--color-fg-muted); font-size: var(--fz-md); line-height: 1.75; }
.gta-intent-intro--conversation { max-width: 1024px; margin: 0 auto; }
.chatgpt-page .gta-intent-entry h2 { font-size: var(--fz-3xl); font-weight: var(--fw-semibold); line-height: 1.5; margin: 0 0 18px; color: var(--color-fg); }
.gta-intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gta-intent-entry button { font: inherit; cursor: pointer; }
.gta-intent-grid button { display: flex; align-items: center; gap: 12px; min-height: 94px; padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-fg); text-align: left; transition: background 180ms, border-color 180ms, box-shadow 180ms, transform 180ms; }
.gta-intent-grid button:hover { background: var(--brand-50); border-color: var(--brand-400); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.gta-intent-grid button:active { transform: scale(.98); }
.gta-intent-entry button[aria-pressed='true'] { background: var(--brand-100); border-color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-700); }
.gta-intent-entry button:focus-visible, .gta-intent-entry h2:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 4px; }
.gta-intent-entry h2:focus:not(:focus-visible) { outline: none; }
.chatgpt-page .gta-intent-grid strong { display: block; font-size: 17px; font-weight: 600; }
.gta-intent-grid small { display: block; margin-top: 5px; color: #607269; font-size: 13px; line-height: 1.5; }
.gta-intent-icon { --gta-icon-size: 28px; font-size: 28px; width: 28px; height: 28px; flex-shrink: 0; color: var(--brand-700); text-align: center; }
.gta-intent-arrow { margin-left: auto; color: var(--brand-700); font-size: 18px; }
.chatgpt-page .gta-intent-input > p { color: #607269; font-size: 13px; margin: 22px 0 8px; }
.chatgpt-page .gta-intent-entry .chatgpt-composer-wrapper { position: relative; inset: auto; max-width: none; width: 100%; padding: 0; margin: 0; }
.gta-intent-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 16px; font-size: var(--fz-xs); color: var(--color-fg-muted); }
.gta-intent-trust button, .gta-intent-toolbar button { border: 0; background: transparent; color: #456354; min-height: 44px; padding: 4px 0; }
.gta-intent-trust-symbol { display: inline-flex; align-items: center; justify-content: center; }
.gta-intent-trust-short { display: none; }
.gta-intent-advisor-card { min-width: 0; padding: 16px 18px; border: 1px solid #c5ddcf; border-radius: 20px; background: linear-gradient(115deg, #edf7f0, #fff 68%); box-shadow: 0 10px 24px rgba(24, 62, 50, .10); color: #183e32; }
.gta-intent-advisor-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #29724c; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.gta-intent-advisor-heading span:last-child { color: #6b8173; font-weight: 400; letter-spacing: 0; }
.gta-intent-advisor-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gta-intent-advisor-avatar { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 17px; background: #e2f1e7; color: var(--brand-700); box-shadow: 0 3px 10px rgba(24, 62, 50, .12); box-sizing: border-box; }
.gta-intent-advisor-avatar .gta-icon { font-size: 28px; }
.gta-intent-advisor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gta-intent-advisor-copy { display: grid; flex: 1; min-width: 0; gap: 4px; }
.gta-intent-advisor-copy strong, .gta-intent-advisor-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gta-intent-advisor-copy strong { font-size: 17px; font-weight: 600; }
.gta-intent-advisor-copy small { color: #607269; font-size: 12px; }
.gta-intent-advisor-action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 13px; border: 0; border-radius: 12px; background: #138552; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 10px rgba(19, 133, 82, .18); }
.gta-intent-advisor-action:hover:not(:disabled) { background: #086b40; }
.gta-intent-advisor-action:disabled { background: #dce9df; color: #627b6b; box-shadow: none; }
.gta-intent-advisor-action span { font-size: 17px; line-height: 1; }
.gta-intent-toolbar { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin: 10px 0; }
.chatgpt-page .gta-intent-user { width: fit-content; max-width: 90%; margin: 14px 0 20px auto; background: #e8f4ec; border-radius: 16px 16px 4px 16px; padding: 12px 18px; font-size: 15px; }
.gta-intent-assistant { font-size: 15px; line-height: 1.8; }
.chatgpt-page .gta-intent-assistant strong { font-size: 13px; font-weight: 600; color: #327a54; }
.gta-intent-step { font-size: 12px; color: #607269; margin-top: 22px; }
.gta-intent-step span { color: #327a54; margin-right: 10px; letter-spacing: 3px; }
.chatgpt-page .gta-intent-conversation h2 { font-size: 23px; margin-top: 8px; }
.gta-intent-travelers { display: flex; flex-wrap: wrap; gap: 10px; }
.gta-intent-travelers button { border: 1px solid #cdded3; background: #fff; border-radius: 12px; min-height: 48px; padding: 10px 20px; color: #183e32; transition: background 180ms; }
.gta-intent-travelers button:hover { background: #f3f9f5; }
.gta-intent-feedback { animation: gta-intent-appear 200ms ease-out; }
.gta-intent-entry.is-started .gta-intent-scroll { flex: 1; }
.gta-intent-input--docked { padding: 0 32px max(16px, env(safe-area-inset-bottom)); flex-shrink: 0; background: #fff; }
.chatgpt-page .gta-intent-input--docked > p { margin-top: 10px; }
.gta-intent-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gta-intent-entry.is-direct .gta-intent-scroll { background: var(--color-bg-subtle); }
.gta-intent-conversation--direct { width: min(calc(100% - 48px), 880px); min-height: 100%; margin: 0 auto; padding: 28px 0 40px; }
.gta-direct-conversation-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.gta-direct-conversation-heading > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--brand-100); }
.gta-direct-conversation-heading > span img { display: block; width: 112%; height: 112%; object-fit: contain; }
.gta-direct-conversation-heading > div { display: grid; gap: 2px; }
.gta-direct-conversation-heading strong { color: var(--color-fg); font-size: 16px; }
.gta-direct-conversation-heading small { color: var(--color-fg-muted); font-size: 12px; }
.gta-direct-conversation-actions { display: flex; justify-content: center; padding: 22px 0 4px; }
.gta-direct-restart { min-height: 40px; padding: 7px 14px; border: 1px solid var(--color-border); border-radius: 9px; background: #fff; color: #456354; font-size: 12px; cursor: pointer; }
.gta-direct-restart:disabled { opacity: .5; cursor: not-allowed; }
.gta-group-recap { margin-bottom: 20px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.gta-group-recap button { float: right; min-height: 32px; padding: 0 8px; color: var(--brand-700); font-size: 12px; }
.gta-group-recap strong { color: var(--brand-800); }
.gta-group-recap p { margin: 8px 0; color: var(--color-fg); font-size: 16px; font-weight: var(--fw-medium); overflow-wrap: anywhere; }
.gta-group-recap span { color: var(--color-fg-muted); font-size: 13px; line-height: 1.6; }
.gta-transport-route-hint { margin: 18px 0 10px; color: var(--color-fg-muted); font-size: 14px; line-height: 1.6; }
.gta-transport-field { display: grid; gap: 7px; margin-top: 12px; color: var(--color-fg); font-size: 14px; }
.gta-transport-field input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-fg); }
.gta-intent-entry.is-direct .gta-intent-input--docked { padding-top: 10px; border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgba(20, 52, 41, .04); }
.gta-intent-entry.is-direct .gta-intent-input--docked > p,
.gta-intent-entry.is-direct .gta-intent-input--docked .chatgpt-composer-wrapper { width: min(calc(100% - 32px), 880px); margin-right: auto; margin-left: auto; }
.chatgpt-page .gta-budget-known {
  color: #607269;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.gta-budget-history { margin-bottom: 16px; font-size: 14px; }
.gta-budget-history summary { cursor: pointer; min-height: 44px; padding: 12px 0; }
.gta-budget-exchange { margin-bottom: 16px; overflow-wrap: anywhere; }
.gta-budget-styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gta-budget-styles button { text-align: left; }
.gta-budget-styles small { display: block; margin-top: 6px; color: #607269; line-height: 1.5; }
.gta-budget-date, .gta-budget-city { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; font-size: 14px; }
.gta-budget-date input, .gta-budget-city input {
  display: block;
  min-height: 44px;
  max-width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid #cdded3;
  border-radius: 10px;
  background: #fff;
  color: #183e32;
  font: inherit;
}
.gta-budget-city label { flex: 1 1 180px; min-width: 0; }
.gta-budget-city input { width: 100%; box-sizing: border-box; }
.gta-budget-city button, .gta-budget-continue {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #327a54;
  border-radius: 10px;
  background: #e8f4ec;
  color: #183e32;
}
.gta-budget-continue { margin-top: 16px; }
.gta-budget-city p { width: 100%; color: #607269; }
.gta-budget-complete dl { margin: 16px 0; }
.gta-budget-complete dl > div { display: flex; gap: 16px; padding: 8px 0; font-size: 14px; }
.gta-budget-complete dt { flex: 0 0 70px; color: #607269; }
.gta-budget-complete dd { margin: 0; overflow-wrap: anywhere; }
.gta-intent-entry button:disabled { cursor: default; opacity: .65; }
.gta-intent-entry input:focus-visible, .gta-budget-history summary:focus-visible { outline: 2px solid #327a54; outline-offset: 3px; }
@keyframes gta-intent-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 991px) {
  .gta-intent-hero-content {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 24px;
    width: min(calc(100% - 40px), var(--container-sm));
    padding: 32px 0;
  }
  .gta-intent-hero-overlay { background: linear-gradient(180deg, rgba(247, 251, 248, .94) 0%, rgba(247, 251, 248, .84) 100%); }
  .chatgpt-page .gta-intent-intro h1 { max-width: 620px; font-size: 36px; }
  .chatgpt-page .gta-intent-intro p { margin-top: 12px; }
}
@media (max-width: 767px) {
  .gta-intent-scroll { padding: 12px 16px 24px; }
  .gta-intent-hero-media { height: 260px; }
  .chatgpt-page .gta-intent-hero-media img { object-position: 62% center; }
  .gta-intent-hero-overlay { background: linear-gradient(180deg, rgba(247, 251, 248, .68) 0%, rgba(247, 251, 248, .94) 230px, var(--color-bg-subtle) 360px); }
  .gta-intent-hero-content { gap: 12px; width: 100%; padding: 14px 16px 16px; }
  .gta-intent-surface { padding: 14px; border-radius: var(--radius-lg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .gta-intent-grid { grid-template-columns: 1fr; gap: 8px; }
  .gta-intent-grid button { min-height: 66px; padding: 8px 12px; }
  .chatgpt-page .gta-intent-intro h1 { max-width: 350px; margin-top: 12px; font-size: 30px; line-height: 1.25; }
  .chatgpt-page .gta-intent-intro p { margin-top: 6px; font-size: 14px; line-height: 1.6; }
  .chatgpt-page .gta-intent-entry h2 { font-size: 20px; margin: 0 0 8px; }
  .chatgpt-page .gta-intent-conversation h2 { margin-top: 8px; }
  .chatgpt-page .gta-intent-grid strong { font-size: 16px; }
  .gta-intent-identity small { font-size: 11px; }
  .gta-intent-panel { gap: 12px; }
  .gta-intent-advisor-card { padding: 14px 15px; border-radius: 18px; }
  .gta-intent-advisor-heading { margin-bottom: 10px; }
  .gta-intent-advisor-main { gap: 10px; }
  .gta-intent-advisor-action { padding: 0 10px; }
  .gta-intent-surface .gta-intent-input > p { margin-top: 18px; }
  .gta-intent-trust { gap: 0 14px; margin-top: 6px; }
  .gta-intent-surface .gta-intent-trust button { min-height: 34px; }
  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 10px;
  }
  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust > span,
  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust > button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 34px;
    padding: 3px 5px;
    border: 1px solid #dbe9df;
    border-radius: 10px;
    background: #f7fbf8;
    color: #416250;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .gta-intent-trust-full { display: none; }
  .gta-intent-trust-short { display: inline; }
  .gta-intent-trust-symbol { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 7px; background: #e1f3e7; color: #168653; }
  .gta-intent-trust > button:nth-child(2) .gta-intent-trust-symbol { background: #e6f0ff; color: #3274bd; }
  .gta-intent-trust > button:nth-child(3) .gta-intent-trust-symbol { background: #fff0d8; color: #ad7628; }
  .gta-intent-trust-symbol .gta-icon { --gta-icon-size: 13px; font-size: 13px; }
  .gta-intent-input--docked { padding-left: 16px; padding-right: 16px; }
  .gta-intent-conversation--direct { width: 100%; padding: 18px 16px 28px; }
  .gta-intent-entry.is-direct .gta-intent-input--docked > p,
  .gta-intent-entry.is-direct .gta-intent-input--docked .chatgpt-composer-wrapper { width: 100%; }
  .gta-intent-travelers button { flex: 1 0 27%; padding: 10px 12px; }
}
@media (max-width: 767px) and (max-height: 740px) {
  .gta-intent-hero-content { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .gta-intent-identity > span { width: 46px; height: 46px; flex-basis: 46px; }
  .chatgpt-page .gta-intent-intro h1 { margin-top: 6px; font-size: 26px; }
  .chatgpt-page .gta-intent-intro p { display: none; }
  .gta-intent-surface { padding: 11px; }
  .gta-intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gta-intent-grid button { min-height: 76px; gap: 7px; padding: 8px; }
  .gta-intent-grid .gta-intent-icon { width: 22px; height: 22px; font-size: 22px; --gta-icon-size: 22px; }
  .gta-intent-grid .gta-intent-arrow { display: none; }
  .chatgpt-page .gta-intent-grid strong { font-size: 13px; line-height: 1.25; }
  .gta-intent-grid small { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 11px; }
  .chatgpt-page .gta-intent-entry h2 { font-size: 17px; margin-bottom: 7px; }
  .gta-intent-advisor-card { padding: 10px 12px; }
  .gta-intent-advisor-heading { display: none; }
  .gta-intent-advisor-avatar { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (max-width: 767px) and (min-height: 741px) and (max-height: 900px) {
  .gta-intent-hero-content { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .gta-intent-identity > span { width: 48px; height: 48px; flex-basis: 48px; }
  .chatgpt-page .gta-intent-intro h1 { margin-top: 7px; font-size: 27px; }
  .chatgpt-page .gta-intent-intro p { margin-top: 4px; line-height: 1.45; }
  .gta-intent-surface { padding: 11px; }
  .gta-intent-grid { gap: 6px; }
  .gta-intent-grid button { min-height: 58px; padding: 6px 10px; }
  .gta-intent-grid small { margin-top: 2px; font-size: 11px; }
  .gta-intent-panel { gap: 8px; }
  .gta-intent-advisor-card { padding: 10px 12px; }
  .gta-intent-advisor-heading { margin-bottom: 6px; }
  .gta-intent-advisor-avatar { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (max-width: 359px) and (max-height: 600px) {
  .gta-intent-identity > span { width: 42px; height: 42px; flex-basis: 42px; }
  .chatgpt-page .gta-intent-intro h1 { font-size: 24px; }
  .gta-intent-grid button { min-height: 60px; }
  .gta-intent-grid small, .gta-intent-surface .gta-intent-trust { display: none; }
  .gta-intent-advisor-card { padding: 8px 10px; }
  .gta-intent-advisor-avatar { width: 42px; height: 42px; flex-basis: 42px; }
}
@media (min-width: 1440px) {
  .gta-intent-entry.is-started .gta-intent-scroll { padding-top: 48px; }
  .gta-intent-grid button { min-height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .gta-intent-entry *, .gta-intent-entry *::before, .gta-intent-entry *::after { animation: none !important; transition: none !important; }
}

/* ——— Desktop entry screen: keep the existing flow, give the first interaction more presence ——— */
@media (min-width: 992px) {
  .chatgpt-page--entry .gta-intent-hero-overlay {
    background: linear-gradient(90deg, rgba(247, 251, 248, .65) 0%, rgba(247, 251, 248, .38) 42%, rgba(247, 251, 248, .08) 100%);
  }

  .chatgpt-page--entry .gta-intent-hero-content {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(40px, 4vw, 60px);
    width: min(calc(100% - 96px), 1140px);
    padding: clamp(38px, 6vh, 72px) 0;
  }

  .chatgpt-page--entry .gta-intent-intro {
    max-width: 470px;
    padding-top: clamp(40px, 6vh, 68px);
  }

  .chatgpt-page--entry .gta-intent-identity {
    gap: 12px;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: .01em;
  }

  .chatgpt-page--entry .gta-intent-identity > span {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .chatgpt-page--entry .gta-intent-identity small {
    font-size: 13px;
  }

  .chatgpt-page--entry .gta-intent-intro h1 {
    max-width: 470px;
    margin-top: 22px;
    font-size: clamp(40px, 3vw, 52px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.04em;
  }

  .chatgpt-page--entry .gta-intent-intro h1 strong {
    color: #087044;
    font-weight: inherit;
  }

  .chatgpt-page--entry .gta-intent-intro p {
    margin-top: 20px;
    font-size: 16px;
  }

  .chatgpt-page--entry .gta-intent-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
  }

  .chatgpt-page--entry .gta-intent-benefits > div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .chatgpt-page--entry .gta-intent-benefits svg {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 3px rgba(15, 63, 45, .1));
  }

  .chatgpt-page--entry .gta-intent-benefits span { display: grid; gap: 3px; min-width: 0; }
  .chatgpt-page--entry .gta-intent-benefits strong { color: #172920; font-size: 14px; line-height: 1.3; white-space: nowrap; text-shadow: 0 1px 2px rgba(255, 255, 255, .8); }
  .chatgpt-page--entry .gta-intent-benefits small { color: #40574b; font-size: 11.5px; line-height: 1.3; white-space: nowrap; text-shadow: 0 1px 2px rgba(255, 255, 255, .8); }

  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust > span,
  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .chatgpt-page--entry .gta-intent-surface .gta-intent-trust .gta-icon {
    --gta-icon-size: 15px;
    flex: 0 0 15px;
    font-size: 15px;
    color: #327a54;
  }

  .chatgpt-page--entry .gta-intent-surface {
    padding: 26px;
    border-color: rgba(255, 255, 255, .76);
    border-radius: 22px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 18px 44px rgba(16, 57, 40, .14);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .chatgpt-page--entry .gta-intent-choices h2 {
    margin-bottom: 18px;
    font-size: 23px;
  }

  .chatgpt-page--entry .gta-intent-grid {
    gap: 12px;
  }

  .chatgpt-page--entry .gta-intent-grid button {
    min-height: 84px;
    padding: 15px 18px;
    border-color: rgba(24, 62, 50, .09);
    border-radius: 15px;
    background: #fff;
  }

  .chatgpt-page--entry .gta-intent-grid button:hover {
    border-color: var(--brand-500);
    background: rgba(242, 250, 245, .92);
    box-shadow: 0 10px 22px rgba(24, 62, 50, .10);
    transform: translateY(-3px);
  }

  .chatgpt-page--entry .gta-intent-grid button:focus-visible {
    outline-offset: 5px;
    box-shadow: 0 0 0 3px rgba(50, 122, 84, .18), 0 8px 18px rgba(24, 62, 50, .08);
  }

  .chatgpt-page--entry .gta-intent-grid strong {
    font-size: 16px;
  }

  .chatgpt-page--entry .gta-intent-grid small {
    margin-top: 5px;
    font-size: 12px;
    color: #6d7d74;
  }

  .chatgpt-page--entry .gta-intent-icon {
    --gta-icon-size: 28px;
    width: 28px;
    height: 28px;
    font-size: 28px;
  }

  .chatgpt-page--entry .gta-intent-arrow {
    font-size: 20px;
  }

  .chatgpt-page--entry .gta-intent-input > p {
    margin: 20px 0 8px;
    font-size: 14px;
    color: #496257;
  }

  .chatgpt-page--entry .gta-intent-input .chatgpt-composer {
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid rgba(24, 62, 50, .16);
    border-radius: 18px;
    background: #fff;
  }

  .chatgpt-page--entry .gta-intent-surface .chatgpt-composer::before {
    content: '✦';
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 34px;
    place-items: center;
    color: #087044;
    font-size: 22px;
  }

  .chatgpt-page--entry .gta-intent-input .chatgpt-composer:focus-within {
    border-color: #168653;
  }

  .chatgpt-page--entry .gta-intent-input .chatgpt-composer-input {
    padding: 6px 0;
  }

  .chatgpt-page--entry .gta-intent-input .chatgpt-composer-input .gta-text-view__placeholder {
    top: 6px;
    color: #71847a;
  }

  .chatgpt-page--entry .gta-intent-input .chatgpt-composer-btn {
    width: 34px;
    height: 34px;
  }

  .chatgpt-page--entry .gta-intent-surface .chatgpt-composer-send:not(:disabled) {
    background: #087044;
    color: #fff;
  }

  .chatgpt-page--entry .gta-intent-surface .chatgpt-composer-send:not(:disabled):hover {
    background: #075a38;
  }

  .chatgpt-page--entry .gta-intent-trust {
    margin-top: 12px;
  }

  .chatgpt-page--entry .gta-intent-advisor-card {
    padding: 16px 24px;
    border-color: rgba(255, 255, 255, .76);
    border-radius: 22px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 18px 44px rgba(16, 57, 40, .14);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .chatgpt-page--entry .gta-intent-panel { gap: 10px; }

  .chatgpt-page--entry .gta-intent-advisor-avatar { width: 58px; height: 58px; flex-basis: 58px; }
  .chatgpt-page--entry .gta-intent-advisor-copy strong { font-size: 18px; }
  .chatgpt-page--entry .gta-intent-advisor-copy small { font-size: 13px; }
  .chatgpt-page--entry .gta-intent-advisor-action { min-height: 44px; padding: 0 18px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .chatgpt-page--entry .gta-intent-hero-content {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 32px;
    width: min(calc(100% - 48px), 1120px);
    padding: 36px 0;
  }

  .chatgpt-page--entry .gta-intent-intro h1 {
    font-size: 42px;
  }

  .chatgpt-page--entry .gta-intent-intro { padding-top: 26px; }
  .chatgpt-page--entry .gta-intent-benefits { gap: 4px; }
  .chatgpt-page--entry .gta-intent-benefits > div { gap: 4px; }
  .chatgpt-page--entry .gta-intent-benefits svg { flex-basis: 26px; width: 26px; height: 26px; }
  .chatgpt-page--entry .gta-intent-benefits strong { font-size: 11px; }
  .chatgpt-page--entry .gta-intent-benefits small { font-size: 11px; }

  .chatgpt-page--entry .gta-intent-surface {
    padding: 24px;
  }

  .chatgpt-page--entry .gta-intent-grid button {
    min-height: 92px;
    gap: 10px;
    padding: 12px;
  }

  .chatgpt-page--entry .gta-intent-grid strong { font-size: 16px; }
  .chatgpt-page--entry .gta-intent-grid small { font-size: 12px; line-height: 1.4; }
  .chatgpt-page--entry .gta-intent-icon { --gta-icon-size: 28px; width: 28px; height: 28px; font-size: 28px; }
  .chatgpt-page--entry .gta-intent-arrow { font-size: 18px; }
}
@media (min-width: 992px) and (max-height: 800px) {
  .chatgpt-page--entry .gta-intent-hero-content { padding-top: 22px; padding-bottom: 22px; }
  .chatgpt-page--entry .gta-intent-surface { padding: 20px; }
  .chatgpt-page--entry .gta-intent-choices h2 { margin-bottom: 14px; font-size: 23px; }
  .chatgpt-page--entry .gta-intent-grid button { min-height: 82px; padding: 12px; }
  .chatgpt-page--entry .gta-intent-input > p { margin-top: 16px; }
  .chatgpt-page--entry .gta-intent-trust { margin-top: 8px; }
  .chatgpt-page--entry .gta-intent-advisor-card { padding: 12px 18px; }
  .chatgpt-page--entry .gta-intent-advisor-heading { margin-bottom: 7px; }
  .chatgpt-page--entry .gta-intent-benefits { margin-top: 18px; }
}
/* ——— Phase 2: conversational guided workspace ——— */
.gta-intent-entry.is-guided .gta-intent-scroll {
  padding: 0;
  background:
    radial-gradient(circle at 12% 0, rgba(40, 147, 92, .07), transparent 30%),
    var(--color-bg-subtle);
}

.gta-guided-workspace {
  width: min(calc(100% - 64px), 1180px);
  min-height: 100%;
  margin: 0 auto;
  padding: 34px 0 28px;
  box-sizing: border-box;
}

.gta-service-selected { width: min(100%, 720px); min-height: 0; }
.gta-service-selected .gta-guided-question p { margin: 0; color: var(--color-fg-muted); font-size: 15px; line-height: 1.7; }

.gta-guided-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4px 24px;
  border-bottom: 1px solid var(--color-border);
}

.gta-guided-identity,
.gta-guided-summary-heading,
.gta-guided-exchange-question,
.gta-guided-question-label {
  display: flex;
  align-items: center;
}

.gta-guided-identity { gap: 12px; }
.gta-guided-identity > div,
.gta-guided-summary-heading > div { display: grid; gap: 3px; }
.gta-guided-identity strong { color: var(--color-fg); font-size: 17px; font-weight: var(--fw-semibold); }
.gta-guided-identity span,
.gta-guided-summary-heading span { color: var(--color-fg-muted); font-size: var(--fz-xs); }

.gta-guided-identity-mark,
.gta-guided-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-800);
}

.gta-guided-identity-mark { width: 42px; height: 42px; }
.gta-guided-identity-mark img, .gta-guided-avatar img { display: block; width: 112%; height: 112%; object-fit: contain; }
.gta-guided-avatar { width: 30px; height: 30px; font-size: 10px; font-weight: var(--fw-semibold); }

.gta-guided-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-fg-muted);
  font-size: var(--fz-xs);
  font-variant-numeric: tabular-nums;
}

.gta-guided-progress-dots { display: flex; gap: 7px; }
.gta-guided-progress-dots i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-border-strong, #aebbb4);
  border-radius: 50%;
  background: var(--color-surface);
  transition: width 180ms ease, background 180ms ease, border-color 180ms ease;
}
.gta-guided-progress-dots i.is-complete { border-color: var(--brand-600); background: var(--brand-600); }
.gta-guided-progress-dots i.is-current { width: 19px; border-color: var(--brand-700); border-radius: 999px; background: var(--brand-700); }

.gta-guided-toolbar { margin: 8px 0 10px; }
.gta-guided-toolbar > div { display: flex; gap: 20px; }
.gta-guided-toolbar button { color: var(--color-fg-muted); }
.gta-guided-toolbar button:hover { color: var(--brand-800); }

.gta-guided-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.gta-guided-main { min-width: 0; }
.gta-guided-recent,
.gta-guided-opening { margin-bottom: 18px; }
.gta-guided-opening--stream { margin-bottom: 0; }
.chatgpt-page .gta-guided-opening--stream .gta-intent-user { margin-bottom: 0; }

.gta-guided-exchange {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .72);
  animation: gta-intent-appear 200ms ease-out;
}

.gta-guided-exchange-question { gap: 10px; }
.gta-guided-exchange-question strong { display: block; color: var(--brand-800); font-size: var(--fz-xs); }
.gta-guided-exchange-question p { margin: 2px 0 0; color: var(--color-fg-muted); font-size: 13px; }
.gta-guided-exchange .gta-intent-user { margin-top: 14px; margin-bottom: 14px; }
.gta-guided-exchange .gta-intent-assistant { padding-left: 40px; }

.gta-guided-ai-feedback {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f9f4;
  color: var(--brand-800);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.gta-guided-ai-feedback-content { min-width: 0; flex: 1; }
.gta-guided-timeline-end { height: 1px; }
.gta-guided-ai-feedback p { margin: 0; white-space: pre-wrap; }
.gta-guided-ai-feedback button { margin-top: 7px; padding: 0; border: 0; background: none; color: var(--brand-800); text-decoration: underline; cursor: pointer; }
.gta-guided-ai-feedback-cursor { display: inline-block; width: 5px; height: 15px; margin-left: 3px; background: currentColor; animation: gta-guided-cursor 1s step-end infinite; }
@keyframes gta-guided-cursor { 50% { opacity: 0; } }

.gta-guided-question {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl, 20px);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: opacity 180ms ease, transform 180ms ease;
  animation: gta-intent-appear 220ms ease-out;
}
.gta-guided-question.is-pending { opacity: .72; transform: translateY(2px); }
.gta-guided-question-label { gap: 9px; margin-bottom: 13px; color: var(--brand-800); font-size: var(--fz-xs); font-weight: var(--fw-medium); }
.chatgpt-page .gta-guided-question h2 { margin: 0 0 22px; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.35; letter-spacing: -.015em; }

.gta-guided-options { display: grid; gap: 10px; }
.gta-guided-options--simple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gta-guided-options--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gta-guided-options--multi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gta-guided-options--destination { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gta-guided-options button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 13px 42px 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-fg);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.gta-guided-options button:hover:not(:disabled) { border-color: var(--brand-500); background: var(--brand-50); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.gta-guided-options button:active:not(:disabled) { transform: scale(.985); }
.gta-guided-options button[aria-pressed='true'] { border: 2px solid var(--brand-700); padding-left: 14px; background: #e4f6eb; box-shadow: 0 6px 18px rgba(22, 126, 76, .12); }
.gta-guided-options button:focus-visible { outline: 3px solid rgba(40, 147, 92, .24); outline-offset: 2px; }
.gta-guided-option-copy { display: grid; min-width: 0; gap: 5px; }
.gta-guided-option-copy strong { font-size: 15px; font-weight: var(--fw-medium); line-height: 1.35; }
.gta-guided-option-copy small { color: var(--color-fg-muted); font-size: 12px; line-height: 1.5; }
.gta-guided-option-icon { --gta-icon-size: 22px; flex: 0 0 auto; color: var(--brand-700); font-size: 22px; }
.gta-guided-option-check {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #c6d7cc;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}
.gta-guided-options button[aria-pressed='true'] .gta-guided-option-check { border: 6px solid var(--brand-700); background: #fff; }
.gta-guided-options--rich button { min-height: 92px; align-items: flex-start; padding-top: 17px; }
.gta-guided-options--multi button { min-height: 60px; }

.gta-guided-summary {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
}
.gta-guided-summary-heading { align-items: flex-start; gap: 10px; }
.gta-guided-summary-heading > .gta-icon { --gta-icon-size: 19px; margin-top: 1px; color: var(--brand-700); font-size: 19px; }
.gta-guided-summary-heading strong { color: var(--color-fg); font-size: 15px; }
.gta-guided-summary ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.gta-guided-summary li { display: grid; gap: 3px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--brand-50); overflow-wrap: anywhere; }
.gta-guided-summary li small { color: var(--color-fg-muted); font-size: 11px; }
.gta-guided-summary li span { color: var(--color-fg); font-size: 14px; line-height: 1.45; }
.gta-guided-summary-empty { margin: 18px 0 0; color: var(--color-fg-muted); font-size: 13px; line-height: 1.7; }

.gta-guided-question .gta-budget-date,
.gta-guided-question .gta-budget-city { padding: 16px; border-radius: var(--radius-md); background: var(--color-bg-subtle); }
.gta-service-calendar { box-sizing: border-box; width: min(100%, 440px); min-width: 0; margin-top: 16px; padding: 14px 16px; border: 1px solid #d3e6da; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.gta-service-calendar-heading { display: flex; align-items: center; gap: 9px; color: var(--brand-800); font-size: 14px; font-weight: var(--fw-semibold); }
.gta-service-calendar-heading .gta-icon { --gta-icon-size: 18px; font-size: 18px; }
.gta-service-calendar-month { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 10px; color: var(--brand-800); font-size: 16px; }
.gta-service-calendar-month button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--brand-700); font-size: 26px; cursor: pointer; }
.gta-service-calendar-month button:hover:not(:disabled) { background: var(--brand-50); }
.gta-service-calendar-month button:disabled { color: #bcc8c1; cursor: default; }
.gta-service-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.gta-service-calendar-grid > span,
.gta-service-calendar-grid > button { display: grid; min-width: 0; height: 40px; place-items: center; }
.gta-service-calendar-weekday { color: var(--color-fg-muted); font-size: 12px; }
.gta-service-calendar-grid > button { border: 0; border-radius: 50%; background: transparent; color: var(--color-fg); font-size: 14px; cursor: pointer; }
.gta-service-calendar-grid > button:hover:not(:disabled) { background: var(--brand-50); color: var(--brand-800); }
.gta-service-calendar-grid > button.is-selected { background: var(--brand-700); color: #fff; }
.gta-service-calendar-grid > button:disabled { color: #bdc7c1; cursor: default; }
.gta-service-calendar-grid > button:focus-visible,
.gta-service-calendar-month button:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
@media (max-width: 767px) {
  .gta-service-calendar { padding: 12px 10px; }
  .gta-service-calendar-grid > span,
  .gta-service-calendar-grid > button { height: 38px; }
}
.gta-guided-question .gta-budget-date { align-items: center; }
.gta-guided-question .gta-budget-date > .gta-icon { --gta-icon-size: 20px; color: var(--brand-700); font-size: 20px; }
.gta-guided-question .gta-budget-date input { margin: 0 0 0 auto; }
.gta-guided-question .gta-budget-city button,
.gta-guided-question .gta-budget-continue { border-color: var(--brand-700); background: var(--brand-700); color: #fff; font-weight: var(--fw-medium); }
.gta-guided-question .gta-budget-continue { min-width: 116px; margin-top: 20px; }
.gta-guided-question .gta-budget-city button:disabled,
.gta-guided-question .gta-budget-continue:disabled { border-color: var(--color-border); background: var(--color-bg-subtle); color: var(--color-fg-muted); }

.gta-intent-conversation--result { width: min(calc(100% - 32px), 1200px); margin: 0 auto; }
.gta-intent-entry.is-guided .gta-intent-input--docked { padding-top: 10px; border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgba(20, 52, 41, .04); }
.gta-intent-entry.is-guided .gta-intent-input--docked > p,
.gta-intent-entry.is-guided .gta-intent-input--docked .chatgpt-composer-wrapper { width: min(calc(100% - 32px), 1180px); margin-right: auto; margin-left: auto; }

@media (max-width: 1199px) {
  .gta-guided-workspace { width: min(calc(100% - 48px), 1080px); }
  .gta-guided-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .gta-guided-options--multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .gta-guided-workspace { width: min(calc(100% - 40px), 760px); padding-top: 26px; }
  .gta-guided-layout { grid-template-columns: 1fr; }
  .gta-guided-summary { position: static; order: -1; padding: 16px 18px; }
  .gta-guided-summary ul { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
  .gta-guided-summary li { display: block; padding: 7px 10px; }
  .gta-guided-summary li small { margin-right: 5px; }
  .gta-guided-summary-heading span { display: none; }
}

@media (max-width: 767px) {
  .gta-guided-workspace { width: 100%; padding: 16px 16px 24px; }
  .gta-service-selected { padding-right: 0; padding-left: 0; }
  .gta-guided-header { align-items: flex-start; padding-bottom: 16px; }
  .gta-guided-identity { gap: 9px; }
  .gta-guided-identity-mark { width: 36px; height: 36px; }
  .gta-guided-identity strong { font-size: 15px; }
  .gta-guided-progress { display: grid; justify-items: end; gap: 6px; }
  .gta-guided-progress-dots { gap: 5px; }
  .gta-guided-progress-dots i { width: 6px; height: 6px; }
  .gta-guided-progress-dots i.is-current { width: 15px; }
  .gta-guided-toolbar { align-items: center; margin: 4px 0 8px; }
  .gta-guided-toolbar > div { gap: 12px; }
  .gta-guided-toolbar button { min-height: 40px; font-size: 12px; }
  .gta-guided-layout { gap: 14px; }
  .gta-guided-summary { padding: 13px 14px; border-radius: var(--radius-md); }
  .gta-guided-summary-heading > .gta-icon { --gta-icon-size: 17px; font-size: 17px; }
  .gta-guided-summary-heading strong { font-size: 13px; }
  .gta-guided-summary ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .gta-guided-summary ul::-webkit-scrollbar { display: none; }
  .gta-guided-summary li { flex: 0 0 auto; }
  .gta-guided-summary li small { display: none; }
  .gta-guided-summary-empty { margin-top: 10px; font-size: 12px; }
  .gta-guided-exchange { padding: 14px; }
  .gta-guided-exchange .gta-intent-assistant { padding-left: 0; }
  .gta-guided-question { padding: 18px 16px; border-radius: var(--radius-lg); }
  .chatgpt-page .gta-guided-question h2 { margin-bottom: 16px; font-size: 21px; }
  .gta-guided-options--simple,
  .gta-guided-options--multi,
  .gta-guided-options--destination { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gta-guided-options--rich { grid-template-columns: 1fr; }
  .gta-guided-options button { min-height: 52px; padding: 11px 38px 11px 12px; }
  .gta-guided-options--multi button { min-height: 58px; }
  .gta-guided-options--destination button:last-child { grid-column: 1 / -1; }
  .gta-guided-option-icon { --gta-icon-size: 20px; font-size: 20px; }
  .gta-guided-option-check { right: 10px; }
  .gta-guided-question .gta-budget-date { align-items: flex-start; }
  .gta-guided-question .gta-budget-date input { width: 100%; margin: 0; }
  .gta-guided-question .gta-budget-city button,
  .gta-guided-question .gta-budget-continue { width: 100%; }
  .gta-intent-entry.is-guided .gta-intent-input--docked > p,
  .gta-intent-entry.is-guided .gta-intent-input--docked .chatgpt-composer-wrapper { width: 100%; }
}

@media (max-width: 374px) {
  .gta-guided-options--simple { grid-template-columns: 1fr; }
}

/* PC 对话、引导与底部输入共用阅读列宽。 */
@media (min-width: 992px) {
  .chatgpt-page--pc .gta-intent-entry { --gta-ai-content-width: var(--container-md); }
  .chatgpt-page--pc .gta-intent-conversation--direct,
  .chatgpt-page--pc .gta-intent-conversation--result { width: min(100%, var(--gta-ai-content-width)); }
  .chatgpt-page--pc .gta-guided-workspace { width: min(calc(100% - 64px), var(--gta-ai-content-width)); }
  .chatgpt-page--pc .gta-intent-entry.is-direct .gta-intent-input--docked > p,
  .chatgpt-page--pc .gta-intent-entry.is-direct .gta-intent-input--docked .chatgpt-composer-wrapper,
  .chatgpt-page--pc .gta-intent-entry.is-guided .gta-intent-input--docked > p,
  .chatgpt-page--pc .gta-intent-entry.is-guided .gta-intent-input--docked .chatgpt-composer-wrapper {
    width: min(100%, var(--gta-ai-content-width));
  }
}

@media (min-width: 1200px) {
  .chatgpt-page--pc .gta-intent-entry { --gta-ai-content-width: 1080px; }
}

@media (min-width: 992px) {
  .chatgpt-page--pc .gta-intent-conversation--direct .chatgpt-message--assistant .chatgpt-ai-message-content {
    min-width: 0;
    padding: 20px 24px;
    border: 1px solid #e3ebe6;
    border-radius: 16px;
    background: #fff;
  }

  .chatgpt-page--pc .gta-intent-entry.is-started .gta-intent-input--docked {
    background: var(--color-bg-subtle);
    border-top: 0;
    box-shadow: none;
  }

  .chatgpt-page--pc .gta-intent-entry.is-started .gta-intent-input--docked .chatgpt-composer-wrapper {
    background: transparent;
    box-shadow: none;
  }
}

.gta-robot-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at 50% 39%, #fff 0, #f4f8f5 55%, #f1f6f2 100%);
  color: #496257;
  text-align: center;
}
.gta-robot-loading--fixed { position: fixed; inset: 0; z-index: 9999; opacity: 1; transition: opacity 280ms ease; }
.gta-robot-loading--fixed.is-leaving { opacity: 0; pointer-events: none; }
.gta-robot-loading-portrait {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin-bottom: 6px;
  border: 1px solid rgba(53, 146, 91, .15);
  border-radius: 30px;
  background: linear-gradient(145deg, #ecf8f0, #fff);
  box-shadow: 0 14px 34px rgba(24, 91, 53, .10);
}
.gta-robot-loading-portrait .gta-robot-figure { width: 92px; height: 92px; }
.gta-robot-loading strong { color: #183e32; font-size: 18px; font-weight: 600; line-height: 1.4; }
.gta-robot-loading-text { color: #607269; font-size: 13px; line-height: 1.5; }

@media (min-width: 768px) {
  .gta-robot-loading-portrait { width: 132px; height: 132px; border-radius: 36px; }
  .gta-robot-loading-portrait .gta-robot-figure { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .gta-robot-loading--fixed { transition: none; }
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;

  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: drawer-mask-in 160ms ease-out forwards;

  display: flex;
  justify-content: flex-end;

  -webkit-tap-highlight-color: transparent;
}

.drawer-overlay--closing {
  animation: drawer-mask-out 160ms ease-in forwards;
}

.drawer-overlay--left {
  justify-content: flex-start;
}

.drawer-panel {
  width: var(--drawer-w, 360px);
  height: 100%;
  background: #fff;

  display: flex;
  flex-direction: column;

  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
  will-change: transform;

  transform: translateX(100%);
  animation: drawer-panel-in 200ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.drawer-overlay--left .drawer-panel {
  transform: translateX(-100%);
  animation: drawer-panel-in-left 200ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.drawer-overlay--closing .drawer-panel {
  animation: drawer-panel-out 180ms ease-in forwards;
}

.drawer-overlay--closing.drawer-overlay--left .drawer-panel {
  animation: drawer-panel-out-left 180ms ease-in forwards;
}

.drawer-header {
  position: relative;
  height: 56px;
  flex: 0 0 auto;
  margin-top: var(--gta-header-h);
  display: flex;
  align-items: center;
  justify-content: center;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.drawer-close {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 10px;

  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #111;

  -webkit-tap-highlight-color: transparent;
}

.drawer-close:active {
  background: rgba(0, 0, 0, 0.06);
}

.drawer-header-content {
  width: 100%;
  min-width: 0;
  padding: 0 54px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;

  overflow: auto;
  -webkit-overflow-scrolling: touch;

  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
}

@keyframes drawer-mask-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drawer-mask-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes drawer-panel-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes drawer-panel-out {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes drawer-panel-in-left {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes drawer-panel-out-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

 
/* Google 公开评价抽屉（GTADrawer 外壳，内容按 demo review-drawer 结构） */

/* 隐藏 GTADrawer 自带头部，改用抽屉内的 review-drawer-head（标题 + 评分 + 关闭按钮） */
.chatgpt-review-drawer .drawer-header {
  display: none;
}

.chatgpt-review-drawer .drawer-panel {
  width: min(440px, 92vw);
}

.chatgpt-review-drawer .drawer-body {
  padding: 24px;
}

.chatgpt-review-drawer .review-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.chatgpt-review-drawer .review-drawer-title {
  margin: 0 0 4px;
  font-size: 20px;
}

.chatgpt-review-drawer .review-drawer-summary {
  color: #6b6b6b;
  font-size: 14px;
}

/* ——— 移动端 Google 评价抽屉自定义头部（仅 showMobileDrawer 传 className 时命中，PC 不受影响） ——— */

/* 自定义头部高度不固定：外壳改 flex 列布局，内容区自适应（覆盖内置的 calc(100% - 60px)） */
.mobile-drawer-overlay.google-review-mobile-drawer .mobile-drawer-component {
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
}

.mobile-drawer-overlay.google-review-mobile-drawer .drawer-body {
  height: auto;
  flex: 1;
  min-height: 0;
  padding: 4px 20px calc(20px + env(safe-area-inset-bottom));
}

/* 评分摘要已迁到自定义头部：隐藏内容区那份副本（复制而非迁移，PC 端保持原展示） */
.mobile-drawer-overlay.google-review-mobile-drawer .drawer-body .review-drawer-summary {
  display: none;
}

/* 自定义头部：标题 + 评分摘要（节点带 chatgpt-review-drawer 类，复用上方作用域样式） */
.google-review-header {
  padding: 26px 20px 14px;
  border-bottom: 1px solid #ededed;
  text-align: left;
}

.mobile-drawer-overlay.google-review-mobile-drawer .mobile-drawer-title .google-review-header-title {
  width: 100%;
  height: auto;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
  line-height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatgpt-review-drawer .review-drawer-close {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

/* 评分星星（SVG，只渲染整星） */
.chatgpt-review-drawer .review-star {
  width: 14px;
  height: 14px;
}

.chatgpt-review-drawer .review-drawer-rating {
  display: inline-flex;
  gap: 1px;
  align-items: center;
  color: #d99100;
}

.chatgpt-review-drawer .review-drawer-rating em {
  margin-left: 5px;
  color: #6b6b6b;
  font-style: normal;
  letter-spacing: 0;
}

.chatgpt-review-drawer .google-place-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 0 10px;
  border-top: 1px solid #e5e5e5;
}

.chatgpt-review-drawer .google-place-photo {
  min-width: 0;
  margin: 0;
}

.chatgpt-review-drawer .google-place-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 6px;
  background: #f2f2f2;
  cursor: pointer;
}

.chatgpt-review-drawer .google-place-photo figcaption {
  margin-top: 4px;
  overflow: hidden;
  color: #6b6b6b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatgpt-review-drawer .google-place-photo figcaption a {
  color: inherit;
  text-decoration: none;
}

.chatgpt-review-drawer .google-review-item {
  padding: 18px 0;
  border-top: 1px solid #e5e5e5;
}

.chatgpt-review-drawer .google-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.chatgpt-review-drawer .google-review-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f2;
}

.chatgpt-review-drawer .google-review-author strong {
  display: block;
  font-size: 14px;
}

.chatgpt-review-drawer .google-review-meta {
  color: #6b6b6b;
  font-size: 12px;
}

.chatgpt-review-drawer .google-review-stars {
  display: flex;
  gap: 1px;
  align-items: center;
  margin-bottom: 8px;
  color: #d99100;
}

.chatgpt-review-drawer .google-review-stars .review-star {
  width: 13px;
  height: 13px;
}

.chatgpt-review-drawer .google-review-text {
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
  white-space: pre-wrap;
}

.chatgpt-review-drawer .google-review-source {
  display: inline-block;
  margin-top: 10px;
  color: #315c9b;
  font-size: 12px;
  text-decoration: none;
}

.chatgpt-review-drawer .review-drawer-empty {
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
}

/* 平台公开评价抽屉：外层同时带 chatgpt-review-drawer 类，
   头部 / 评分 / 评价条目等样式直接复用 ../reviewDrawer/style.css，
   此处只放平台抽屉独有的样式 */

.chatgpt-platform-review-drawer .platform-review-list {
  display: block;
}

.chatgpt-platform-review-drawer .platform-review-time {
  display: block;
  margin-bottom: 10px;
  color: #6b6b6b;
  font-size: 12px;
}

.platform-review-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.platform-review-image {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 6px;
  background: #f2f2f2;
  cursor: pointer;
}


.platform-review-image-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(0 0 0 / 48%);
  font-size: 16px;
  font-weight: 600;
}

/* ——— 移动端平台评价抽屉自定义头部（仅 showMobileDrawer 传 className 时命中，PC 不受影响） ——— */

/* 自定义头部高度不固定：外壳改 flex 列布局，内容区自适应（覆盖内置的 calc(100% - 60px)） */
.mobile-drawer-overlay.platform-review-mobile-drawer .mobile-drawer-component {
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
}

.mobile-drawer-overlay.platform-review-mobile-drawer .drawer-body {
  height: auto;
  flex: 1;
  min-height: 0;
  padding: 4px 20px calc(20px + env(safe-area-inset-bottom));
}

/* 评分摘要已迁到自定义头部：隐藏内容区那份副本（复制而非迁移，PC 端保持原展示） */
.mobile-drawer-overlay.platform-review-mobile-drawer .drawer-body .review-drawer-summary {
  display: none;
}

/* 自定义头部：标题 + 评分摘要（节点带 chatgpt-review-drawer 类，复用作用域样式） */
.platform-review-header {
  padding: 26px 20px 14px;
  border-bottom: 1px solid #ededed;
  text-align: center;
}

/* 移动端评价抽屉使用下拉手势关闭，不显示右上角关闭按钮。 */
.mobile-drawer-overlay.platform-review-mobile-drawer .mobile-drawer-close,
.mobile-drawer-overlay.google-review-mobile-drawer .mobile-drawer-close {
  display: none;
}

.mobile-drawer-overlay.platform-review-mobile-drawer .mobile-drawer-title .platform-review-header-title {
  width: 100%;
  height: auto;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
  line-height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.chatgpt-platform-review-drawer .drawer-overlay {
  /* 网站导航为 2600；评价抽屉及遮罩须覆盖导航，图片预览仍在更高层。 */
  z-index: var(--drawer-z, 2700);
}

.platform-review-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.platform-review-avatar { position: relative; display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #eaf4ed; color: #26754d; font-size: 14px; }
.platform-review-avatar > img { position: absolute; inset: 0; width: 36px; height: 36px; }
.platform-review-avatar img[data-image-state='fallback'], .platform-review-avatar img[data-image-state='error'] { display: none; }
.platform-review-author-info { flex: 1; min-width: 0; }
.platform-review-author-info > strong { display: block; color: #26352d; font-size: 14px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }
.platform-review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.platform-review-author .platform-review-meta .platform-review-time { margin: 0; color: #6b7280; font-size: 12px; line-height: 18px; white-space: nowrap; }
.platform-review-author .platform-review-meta .google-review-stars { display: inline-flex; flex-shrink: 0; gap: 2px; margin: 0; line-height: 18px; }
.platform-review-author .platform-review-meta .review-star { width: 12px; height: 12px; }

.platform-review-list { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; }
.chatgpt-review-drawer .platform-review-list .google-review-item { padding: 20px 0; border-color: #edf0ee; }
.chatgpt-review-drawer .platform-review-list .google-review-item:first-child { border-top: 0; padding-top: 8px; }
.chatgpt-review-drawer .platform-review-list .google-review-item .google-review-text { margin: 0; color: #374151; font-size: 14px; font-weight: 400; line-height: 24px; letter-spacing: normal; word-spacing: normal; text-align: left; text-indent: 0; white-space: pre-line; overflow-wrap: break-word; }
.chatgpt-review-drawer .platform-review-list .platform-review-product { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 36px; margin-top: 10px; color: #426b55; font-size: 12px; line-height: 18px; text-decoration: none; }
.platform-review-product-label { flex-shrink: 0; color: #7b857f; }
.platform-review-product-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.platform-review-product > span:last-child { flex-shrink: 0; }
.platform-review-product:hover .platform-review-product-title { text-decoration: underline; }

.chatgpt-platform-review-drawer .review-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  font-size: 22px;
  line-height: 1;
}

.chatgpt-platform-review-drawer .review-drawer-close:hover,
.chatgpt-platform-review-drawer .review-drawer-close:active {
  background: rgba(0, 0, 0, 0.06);
}

.chatgpt-platform-review-drawer .review-drawer-close:focus-visible {
  outline: 2px solid #138651;
  outline-offset: 2px;
}

body .chatgpt-page{
  font-family: "Noto Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:lang(zh-CN) body .chatgpt-page,
html:lang(zh-SG) body .chatgpt-page{
  font-family: "Noto Sans SC", "Noto Sans", ui-sans-serif, sans-serif;
}

html:lang(zh-TW) body .chatgpt-page,
html:lang(zh-HK) body .chatgpt-page,
html:lang(zh-MO) body .chatgpt-page {
  font-family: "Noto Sans TC", "Noto Sans", ui-sans-serif, sans-serif;
}


html:lang(ja) body .chatgpt-page {
  font-family: "Noto Sans JP", "Noto Sans", ui-sans-serif, sans-serif;
}

html:lang(ko) body .chatgpt-page {
  font-family: "Noto Sans KR", "Noto Sans", ui-sans-serif, sans-serif;
}


/* ——— 样式隔离层：覆盖 base.css 全局污染 ——— */
.chatgpt-page,
.chatgpt-page h1,
.chatgpt-page h2,
.chatgpt-page h3,
.chatgpt-page h4,
.chatgpt-page p,
.chatgpt-page strong,
.chatgpt-page em,
.chatgpt-page ul,
.chatgpt-page ol,
.chatgpt-page li,
.chatgpt-page a,
.chatgpt-page img,
.chatgpt-page pre,
.chatgpt-page code,
.chatgpt-page blockquote {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  background: none;
  list-style: none;
}

.chatgpt-page img {
  display: inline;
  max-width: 100%;
  height: 24px;
}

.chatgpt-page a {
  text-decoration: none;
  color: inherit;
}

/* ——— ChatGPT-style Layout ——— */
.chatgpt-page {
  display: flex;
  height: calc(100vh - var(--gta-header-h, 60px));
  height: calc(100dvh - var(--gta-header-h, 60px));
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0d0d0d;
}

.ai-service-layout {
  height: 100vh;
  height: 100dvh;
  padding-top: var(--gta-header-h, 60px);
  box-sizing: border-box;
  overflow: hidden;
}

.chatgpt-page--pc.chatgpt-page--entry .chatgpt-sidebar,
.chatgpt-page--pc.chatgpt-page--entry .chatgpt-topbar {
  display: none;
}

.chatgpt-page--pc.chatgpt-page--guided .chatgpt-topbar {
  display: none;
}

.chatgpt-page--pc.chatgpt-page--result .chatgpt-topbar {
  display: none;
}

.chatgpt-page--initializing > *:not(.gta-robot-loading) {
  visibility: hidden;
}

/* ——— Sidebar ——— */
.chatgpt-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: width 0.2s ease;
}

.chatgpt-sidebar:not(.open) {
  width: 60px;
}

.chatgpt-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}

.chatgpt-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 650;
}

.chatgpt-sidebar-logo-text {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.chatgpt-sidebar:not(.open) .chatgpt-sidebar-logo {
  display: none;
}

.chatgpt-sidebar-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-sidebar-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.chatgpt-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
}

.chatgpt-sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #0d0d0d;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  overflow: hidden;
}

.chatgpt-sidebar-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.chatgpt-sidebar:not(.open) .chatgpt-sidebar-menu-item {
  justify-content: center;
  padding: 10px 0;
}

.chatgpt-sidebar-footer {
  margin-top: auto;
  padding: 16px;
}

.chatgpt-sidebar-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.chatgpt-sidebar-auth-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.15s ease 0.2s;
}

.chatgpt-sidebar-auth-desc {
  margin: 0;
  font-size: 14px;
  color: #8f8f8f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.15s ease 0.2s;
}

.chatgpt-sidebar.open .chatgpt-sidebar-auth-title,
.chatgpt-sidebar.open .chatgpt-sidebar-auth-desc {
  opacity: 1;
}

.chatgpt-sidebar-auth .chatgpt-topbar-btn {
  width: 100%;
}

/* ——— Main Area ——— */
.chatgpt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* ——— Top Bar ——— */
.chatgpt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  min-height: 52px;
}

.chatgpt-model-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-model-selector:hover {
  background: rgba(0, 0, 0, 0.05);
}

.chatgpt-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatgpt-topbar-btn {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.15s;
}

.chatgpt-topbar-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.chatgpt-topbar-btn--primary {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
}

.chatgpt-topbar-btn--primary:hover {
  background: #333;
}

.chatgpt-topbar-avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-topbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chatgpt-topbar-avatar .gta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  color: #8f8f8f;
}

.chatgpt-topbar-avatar-text {
  font-size: 14px;
  font-weight: 600;
  color: #2fb26a;
  line-height: 1;
}

.chatgpt-sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatgpt-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chatgpt-sidebar-avatar .gta-icon {
  font-size: 30px;
  color: #8f8f8f;
  line-height: 1;
}

.chatgpt-sidebar-avatar-text {
  font-size: 20px;
  font-weight: 600;
  color: #2fb26a;
  line-height: 1;
}

.chatgpt-sidebar-avatar--small {
  width: 24px;
  height: 24px;
}

.chatgpt-sidebar-avatar--small .chatgpt-sidebar-avatar-text {
  font-size: 12px;
}

.chatgpt-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatgpt-sidebar-user-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.chatgpt-sidebar-user-info .chatgpt-sidebar-user-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatgpt-sidebar-user-info .chatgpt-sidebar-user-model {
  margin: 2px 0 0;
  font-size: 11px;
  color: #8f8f8f;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ——— Content Area ——— */
.chatgpt-content {
  overflow-anchor: none;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chatgpt-chat-area {
  position: relative;
  flex: 1;
  min-height: 0;
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
}

.chatgpt-chat-area--welcome {
  justify-content: flex-start;
  padding-bottom: 104px;
}

.chatgpt-chat-area--messages {
  justify-content: flex-start;
  padding-bottom: 0;
}

.chatgpt-scroll-bottom {
  position: absolute;
  bottom: 80px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 5;
  left: 50%;
  margin-left: -18px;
}

.chatgpt-scroll-bottom:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.chatgpt-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 0 112px;
}

.chatgpt-ai-disclaimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  text-align: center;
  font-size: 12px;
  color: #8f8f8f;
  padding: 0 0 8px;
  pointer-events: none;
}

.chatgpt-history-loading {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding: 8px 0;
}

.chatgpt-message {
  display: flex;
  flex-direction: column;
}

.chatgpt-message--user {
  align-items: flex-end;
}

.chatgpt-message-content {
  font-size: 16px;
  line-height: 1.6;
  color: #0d0d0d;
  word-break: break-word;
  /*white-space: pre-wrap;*/
  min-width: 100px;
}

.chatgpt-message--user .chatgpt-message-content {
  background: transparent;
}

.chatgpt-message--assistant .chatgpt-message-content {
  background: transparent;
  padding: 0;
}

.chatgpt-message--user .chatgpt-message-content[title][data-sending]::after {
  content: " 发送中...";
  color: #8f8f8f;
  font-size: 12px;
}

.chatgpt-message--user .chatgpt-message-content[title][data-error]::after {
  content: " 发送失败";
  color: #ef4444;
  font-size: 12px;
}

.chatgpt-welcome {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.chatgpt-welcome-main {
  margin: auto auto 24px;
  text-align: center;
}

.chatgpt-welcome-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f6f4f, #4f9c73);
  border-radius: 20px;
}

.chatgpt-welcome-title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: #0d0d0d;
  line-height: 1.33;
}

.chatgpt-welcome-desc {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.7;
  color: #8f8f8f;
}

.chatgpt-quick-prompts {
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chatgpt-quick-prompt {
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #f7f7f7;
  color: #0d0d0d;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  /* grid 子项允许收缩，文字超出单行省略，避免长文案撑破两列布局 */
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chatgpt-quick-prompt:hover {
  background: #efefef;
  border-color: rgba(0, 0, 0, 0.16);
}

/* ——— Composer ——— */
.chatgpt-composer-wrapper {
  position: absolute;
  right: 24px;
  bottom: 16px;
  left: 24px;
  z-index: 2;
  max-width: 768px;
  width: auto;
  margin: 0;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 10px 20px 10px rgb(255 255 255);
}

.chatgpt-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 28px;
  background: #fff;
  transition: border-color 0.2s;
  border-color: rgba(0, 0, 0, 0.4);
}

.chatgpt-composer:focus-within {
  border: 1px solid rgba(0, 0, 0, 0.8);
}

.chatgpt-composer-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s;
}
/* 发送/停止按钮默认常显底色，hover 时加深 */
.chatgpt-composer-send,
.chatgpt-composer-stop {
  background: rgba(0, 0, 0, 0.08);
}

.chatgpt-composer-send:hover,
.chatgpt-composer-stop:hover {
  background: rgba(0, 0, 0, 0.14);
}

.chatgpt-composer-send:disabled {
  color: #d1d1d1;
  cursor: not-allowed;
}

.chatgpt-composer-send:disabled:hover {
  background: transparent;
}

.chatgpt-composer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatgpt-page--pc .chatgpt-composer-mic {
  color: #168653;
  font-size: 19px;
}

.chatgpt-page--pc .chatgpt-composer-mic.is-listening {
  background: #e1f2e8;
  box-shadow: 0 0 0 3px rgba(20, 134, 83, .08);
}

.chatgpt-page--pc .chatgpt-composer-speech-status {
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid #d3e9da;
  border-radius: 10px;
  background: #f2faf5;
  color: #276b48;
  font-size: 12px;
}

/* GTATextView 外层包裹：承接原 textarea 的 flex 布局；垂直留白放这里（3px*2 + 单行 24px = 30px 初始高） */
.chatgpt-composer-input {
  flex: 1;
  min-width: 0;
  padding: 3px 0;
}

/* GTATextView 内部 textarea：不能带垂直 padding，否则组件按 scrollHeight 算行数会多算一行（初始高度翻倍） */
.chatgpt-composer-input .gta-text-view__textarea {
  width: 100%;
  min-width: 0;
  min-height: 24px;
  max-height: 200px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #0d0d0d;
  font-size: 16px;
  line-height: 24px;
  font-family: inherit;
  resize: none;
}

/* 组件内置 placeholder 在聊天输入框下的度量对齐：无内边距、行高 24px（与 textarea 一致）；top 对齐包裹层 3px 垂直留白 */
.chatgpt-composer-input .gta-text-view__placeholder {
  top: 3px;
  padding: 0;
  color: #8f8f8f;
  line-height: 24px;
}

.chatgpt-composer-footer {
  text-align: center;
  padding: 12px 24px 20px;
  font-size: 12px;
  color: #8f8f8f;
}

.chatgpt-composer-footer a {
  color: #8f8f8f;
  text-decoration: underline;
}

.chatgpt-composer-footer a:hover {
  color: #0d0d0d;
}

.chatgpt-sidebar-clear{
  padding: 5px 7px;
  border: 0;
  border-radius: 6px;
  color: #6b6b6b;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

/* ——— Responsive ——— */
@media screen and (max-width: 768px) {
  .chatgpt-sidebar {
    display: none;
  }

  .chatgpt-chat-area {
    padding: 0 16px 0;
  }

  .chatgpt-composer-wrapper {
    padding: 0 16px 16px;
  }

  .chatgpt-welcome-title {
    font-size: 22px;
  }
}

