/* Travel workbench. Scope the material system so the original planner is preserved. */
.ai-entry { color: var(--blue); border-color: var(--blue); white-space: nowrap; }
body.ai-workspace-active {
  --ai-border: #e7eaf0;
  --ai-blue: #1466d8;
  --ai-ink: #20242b;
  --ai-muted: #586270;
  --ai-soft: #f1f3f6;
  --ai-radius-message: 20px;
  --ai-radius-compose: 28px;
  --ai-elevation: 0 12px 36px rgba(22,34,52,.07);
  overflow: hidden; background: #f7f8fa; color: var(--ai-ink);
}
body.ai-workspace-active .app-shell { height: 100vh; height: 100dvh; min-height: 0; padding: 0; display: flex; flex-direction: column; }
body.ai-workspace-active :is(#tripHome, #plannerWorkspace, #mobileNavigation, .site-footer, .home-journey-atmosphere, .home-flight-layer) { display: none !important; }
body.ai-workspace-active .topbar { flex: none; height: 68px; min-height: 68px; padding: 10px 24px; grid-template-columns: auto minmax(0,1fr) auto; gap: 28px; background: #fff; border: 0; border-bottom: 1px solid var(--ai-border); box-shadow: none; }
body.ai-workspace-active :is(#searchForm, #openAiWorkspace, #saveStatus, .language-switch) { display: none; }
body.ai-workspace-active .top-actions { gap: 12px; }
body.ai-workspace-active .topbar { grid-template-areas: none; backdrop-filter: none; }
body.ai-workspace-active .topbar > :is(.brand, .top-actions, .ai-workspace-toolbar) { grid-area: auto; }
body.ai-workspace-active .top-actions > button, body.ai-workspace-active .share-trigger > button { min-height: 44px; border-radius: var(--radius-button); }
body.ai-workspace-active #shareTrip { color: #fff; background: linear-gradient(135deg,var(--ai-blue),#1055b8); border: 0; }
body.ai-workspace-active .shared-banner { flex: none; width: calc(100% - 40px); margin: 0 20px 12px; }
.ai-workspace { flex: 1; min-height: 0; display: flex; flex-direction: column; color: var(--ai-ink); }
.ai-workspace[hidden], .ai-workspace [hidden] { display: none !important; }
.ai-workspace button, .ai-workspace-toolbar button { min-height: 44px; border-radius: var(--radius-button); box-shadow: none; font-size: 14px; font-weight: 500; }
.ai-workspace svg:not(#mapPreview svg) { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ai-workspace :is(button, textarea, select, a):focus-visible, .ai-workspace-toolbar button:focus-visible { outline: 2px solid var(--ai-blue); outline-offset: 3px; }
.ai-workspace ::selection { background: #dcecff; color: #173c67; }
.ai-workspace :is(textarea, select) { caret-color: var(--ai-blue); }
.ai-workspace :is(.ai-chat-scroll, .ai-trip-list, .ai-day-tabs, .ai-nearby-results) { scrollbar-width: thin; scrollbar-color: #bdc6d2 transparent; }
.ai-workspace-toolbar { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ai-workspace-toolbar > div { min-width: 0; padding-left: 28px; border-left: 1px solid #dce1e8; }
.ai-workspace-toolbar strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.ai-workspace-toolbar span { display: block; font-size: 12px; line-height: 1.6; color: var(--ai-muted); overflow-wrap: anywhere; }
.ai-workspace-toolbar button { flex: none; padding: 0 14px; color: var(--ai-muted); background: transparent; border: 0; white-space: nowrap; }
.ai-workspace-toolbar button:hover { background: #eaeef3; color: var(--ai-ink); }
.ai-layout { position: relative; flex: 1; min-width: 0; min-height: 0; display: grid; grid-template-columns: 368px minmax(0,1fr); gap: 0; padding: 0; overflow: hidden; }
.ai-layout.trip-open { grid-template-columns: 368px 336px minmax(0,1fr); }
.ai-layout:not(.trip-open) .ai-trip { display: none; }
.ai-layout > section { min-width: 0; min-height: 0; border-radius: 0; }
.ai-chat, .ai-trip { background: #fff; display: flex; flex-direction: column; }
.ai-chat { position: relative; border-right: 1px solid var(--ai-border); }
.ai-assistant-bar { flex: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 24px; }
.ai-assistant-symbol { color: var(--ai-blue); display: flex; }
.ai-assistant-bar h2 { margin: 0; color: var(--ai-blue); font-size: 15px; font-weight: 600; }
.ai-assistant-bar > span:last-child { margin-left: auto; color: var(--ai-muted); font-size: 12px; }
.ai-chat-scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain; }
.ai-welcome { flex: none; margin: auto 0; padding: 20px 24px 28px; }
.ai-chat-head { margin-bottom: 12px; }
.ai-chat-head h2 { font-size: 24px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; color: var(--ai-ink); }
.ai-chat-head p { font-size: 13px; line-height: 1.6; color: var(--ai-muted); margin: 0; }
.ai-conditions { margin: 0 0 18px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.ai-conditions strong { color: var(--ai-muted); font-weight: 400; margin-right: 10px; }
.ai-conditions small { color: var(--ai-muted); font-size: 12px; }
/* The single shortcut group stays with the composer, outside the scrolling log. */
.ai-quick-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; }
.ai-quick-actions button { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--ai-muted); font-size: 14px; text-align: left; line-height: 1.5; }
.ai-workspace #aiQuickActions button > svg { width: 16px; height: 16px; }
.ai-quick-actions button:hover { background: #edf4ff; color: var(--ai-blue); }
.ai-messages { flex: none; padding: 0 24px; overflow-wrap: anywhere; }
.ai-chat-scroll:has(.ai-message) .ai-welcome { display: none; }
.ai-trip { border-right: 1px solid var(--ai-border); }
.ai-message { max-width: 95%; margin: 0 0 16px; font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-message.user { box-sizing: border-box; width: fit-content; max-width: 88%; margin-left: auto; padding: 8px 12px; border-radius: var(--ai-radius-message); background: #edf4ff; font-weight: 400; }
.ai-message.assistant { margin-right: auto; }
.ai-message p { margin: 0 0 8px; }
.ai-message p:last-child { margin-bottom: 0; }
.ai-message button { border: 0; background: transparent; color: var(--ai-blue); padding-inline: 0; }
.ai-message.error { color: #a32929; }
.ai-followups { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; white-space: normal; }
.ai-followups-label { color: var(--ai-muted); font-size: 12px; line-height: 1.5; }
.ai-workspace .ai-followups button { box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 8px 12px; background: var(--ai-soft); color: var(--ai-ink); font-size: 14px; font-weight: 400; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.ai-workspace .ai-followups button:hover { background: #edf4ff; color: var(--ai-blue); }
.ai-workspace .ai-followups button:disabled { opacity: .55; cursor: default; }
/* Supplementary conditions share the existing message and request lifecycle. */
.ai-question-card { margin-top: 12px; padding: 14px; border: 1px solid var(--ai-border); border-radius: 20px; background: #fff; white-space: normal; }
.ai-question-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.ai-question-field + .ai-question-field { margin-top: 18px; }
.ai-question-field legend { width: 100%; margin-bottom: 6px; padding: 0; color: var(--ai-ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.ai-question-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 8px; border-bottom: 1px solid var(--ai-border); font-size: 14px; line-height: 1.5; cursor: pointer; }
.ai-question-option:last-child { border-bottom: 0; }
.ai-question-option:has(input:checked) { background: #edf4ff; color: var(--ai-blue); }
.ai-question-option span { min-width: 0; overflow-wrap: anywhere; }
.ai-question-option input { flex: none; box-sizing: border-box; width: 22px; height: 22px; min-height: 22px; margin: 0; accent-color: var(--ai-blue); }
.ai-question-option input[type="radio"] { appearance: auto; border-radius: 50%; }
.ai-question-option input[type="checkbox"] { border-radius: 5px; }
.ai-question-option:focus-within { outline: 2px solid var(--ai-blue); outline-offset: -2px; border-radius: 8px; }
.ai-question-notice { margin: 12px 0 6px !important; color: var(--ai-muted); font-size: 12px; line-height: 1.5; }
.ai-question-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ai-workspace .ai-question-actions button { min-height: 44px; padding: 0 16px; border-radius: var(--radius-button); border: 0; }
.ai-workspace .ai-question-skip { color: var(--ai-muted); background: var(--ai-soft); }
.ai-workspace .ai-question-confirm { color: #fff; background: var(--ai-blue); }
.ai-workspace .ai-question-actions button:disabled { color: #637083; background: #e2e7ee; cursor: not-allowed; opacity: 1; }
.ai-question-summary { font-size: 13px; line-height: 1.6; color: var(--ai-muted); }
.ai-workspace .ai-question-edit { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ai-blue); font-size: 13px; }
.ai-message.ai-typing { display: flex; align-items: center; width: max-content; min-height: 24px; padding: 0; }
.ai-typing-dots { display: flex; align-items: center; gap: 4px; }
.ai-typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ai-blue); animation: ai-typing-dot 1s ease-in-out infinite; }
.ai-typing-dot:nth-child(2) { animation-delay: .16s; }
.ai-typing-dot:nth-child(3) { animation-delay: .32s; }
@keyframes ai-typing-dot { 0%,80%,100% { opacity: .55; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ai-typing-dot { animation: none; opacity: .75; } }
.ai-structured-proposal, .ai-route-proposal { display: block; width: 100%; max-width: none; white-space: normal; }
.ai-proposal-title { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; }
.ai-proposal-source { margin: 4px 0 8px !important; color: var(--ai-muted); font-size: 12px; line-height: 1.5; }
.ai-workspace .ai-proposal-open { min-height: 44px; padding: 0 14px; border-radius: var(--radius-button); background: #edf4ff; color: var(--ai-blue); }
.ai-place-dialog { width: min(640px,calc(100% - 32px)); max-height: min(85vh,850px); max-height: min(85dvh,850px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-dialog); background: #fff; color: var(--ai-ink); box-shadow: 0 16px 48px rgba(22,34,52,.16); }
.ai-place-dialog[open] { display: flex; flex-direction: column; }
.ai-place-dialog::backdrop { background: rgba(18,24,34,.4); }
.ai-place-dialog-head, .ai-place-dialog-footer { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.ai-place-dialog-head { border-bottom: 1px solid var(--ai-border); }
.ai-place-dialog-head h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.ai-place-dialog-head p { margin: 4px 0 0; color: var(--ai-muted); font-size: 13px; line-height: 1.5; }
.ai-place-dialog-head button { flex: none; width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: var(--ai-soft); color: var(--ai-muted); font-size: 24px; }
.ai-place-dialog-body { flex: 1; min-height: 0; overflow: auto; padding: 12px 24px; overscroll-behavior: contain; }
.ai-place-dialog-footer { flex: none; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "feedback feedback" "count actions"; align-items: center; gap: 8px 16px; border-top: 1px solid var(--ai-border); color: var(--ai-muted); font-size: 13px; padding-bottom: max(18px,env(safe-area-inset-bottom)); }
.ai-place-dialog-footer button { min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-button); background: transparent; color: var(--ai-blue); white-space: nowrap; }
.ai-place-dialog-footer .ai-proposal-selection-summary { grid-area: count; display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; min-width: 0; }
.ai-place-dialog-footer .ai-proposal-count { white-space: nowrap; }
.ai-place-dialog-footer .ai-proposal-all-confirm { padding-inline: 0; text-decoration: underline; text-underline-offset: 3px; }
.ai-place-dialog-footer .ai-proposal-all-confirm:disabled { color: var(--ai-muted); cursor: not-allowed; }
.ai-place-dialog-footer .ai-place-dialog-error { grid-area: feedback; }
.ai-place-dialog-footer .ai-proposal-footer-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.ai-place-dialog-footer .ai-proposal-adjust { flex: 0 0 auto; min-width: 112px; min-height: 48px; padding-inline: 16px; background: #f1f3f6; color: #3e536b; }
.ai-place-dialog-footer .ai-proposal-adjust:hover { background: #e8edf3; }
.ai-place-dialog-footer .ai-proposal-confirm { flex: 0 1 auto; min-width: 150px; min-height: 48px; padding: 0 18px; background: var(--ai-blue); color: #fff; font-size: 14px; line-height: 1.35; white-space: normal; }
.ai-place-dialog-footer .ai-proposal-confirm:hover:not(:disabled) { background: #1055b8; }
.ai-place-dialog-footer .ai-proposal-confirm:disabled { background: #e2e7ee; color: #637083; opacity: 1; }
.ai-place-dialog-footer .ai-proposal-dismiss { color: var(--ai-muted); }
.ai-place-dialog-footer .ai-proposal-replace-accept { background: var(--ai-blue); color: #fff; }
.ai-proposal-replacement-review { margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--ai-border); border-bottom: 1px solid var(--ai-border); }
.ai-proposal-replacement-review p { margin: 0 0 6px; color: var(--ai-ink); font-size: 13px; line-height: 1.55; }
.ai-proposal-replacement-review .ai-proposal-footer-actions { justify-content: flex-start; margin-top: 8px; }
.ai-proposal-replacement-review .ai-proposal-footer-actions button { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius-button); }
.ai-proposal-replacement-review .ai-proposal-replace-accept { background: #edf4ff; color: var(--ai-blue); }
.ai-place-dialog-error { width: 100%; margin: 0; color: #b93838; font-size: 13px; line-height: 1.5; }
.ai-place-dialog-error:empty { display: none; }
.ai-place-dialog :is(button,input,select,textarea):focus-visible { outline: 2px solid var(--ai-blue); outline-offset: 2px; }
.ai-place-dialog .ai-proposal-removal { margin: 4px 0 14px; color: var(--ai-ink); font-size: 13px; line-height: 1.6; }
.ai-proposal-day-section { margin-top: 20px; scroll-margin-top: 12px; }
.ai-proposal-day-section + .ai-proposal-day-section { margin-top: 28px; }
.ai-proposal-day { margin: 0 0 4px; color: var(--ai-ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.ai-proposal-day-picker { display: flex; align-items: center; gap: 12px; margin: 6px 0 10px; color: var(--ai-muted); font-size: 13px; }
.ai-proposal-day-picker select { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--ai-border); border-radius: 14px; background: #fff; color: var(--ai-ink); }
.ai-proposal-scope { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0 8px; border-bottom: 1px solid var(--ai-border); }
.ai-proposal-scope small { color: var(--ai-muted); font-size: 12px; white-space: nowrap; }
.ai-proposal-select-all, .ai-proposal-choice { display: flex; align-items: center; cursor: pointer; }
.ai-proposal-select-all { min-height: 44px; gap: 10px; color: var(--ai-ink); font-size: 13px; }
.ai-proposal-select-all span { min-width: 0; overflow-wrap: anywhere; }
.ai-place-dialog :is(.ai-proposal-select-all,.ai-proposal-choice) input[type="checkbox"] { flex: 0 0 22px; box-sizing: border-box; width: 22px; min-width: 22px; max-width: 22px; height: 22px; min-height: 22px; max-height: 22px; aspect-ratio: 1; padding: 0; margin: 0; border-radius: 5px; box-shadow: none; }
.ai-place-dialog :is(.ai-proposal-select-all,.ai-proposal-choice) input[type="checkbox"]:indeterminate { border-color: var(--ai-blue); background: var(--ai-blue) linear-gradient(#fff,#fff) center / 10px 2px no-repeat; }
.ai-place-dialog :is(.ai-proposal-select-all,.ai-proposal-choice) input[type="checkbox"]:disabled { cursor: not-allowed; background-color: #e9edf2; border-color: #cbd4df; }
.ai-proposal-place { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--ai-border); border-radius: 10px; }
.ai-proposal-place:last-child { border-bottom: 0; }
.ai-proposal-place.is-active, .ai-proposal-place:hover { background: #edf4ff; }
.ai-proposal-choice { flex: none; justify-content: center; width: 44px; min-height: 44px; }
.ai-proposal-photo-button { flex: none; display: grid; place-items: center; width: 72px; min-height: 72px !important; padding: 0; border: 0; background: transparent; }
.ai-proposal-photo { display: block; width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--ai-soft); }
span.ai-proposal-photo { position: relative; }
span.ai-proposal-photo::after { content: "⌖"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ai-muted); font-size: 26px; }
.ai-proposal-copy { flex: 1; display: grid; min-width: 0; gap: 3px; padding: 4px 0; border: 0; background: transparent; color: var(--ai-ink); text-align: left; }
.ai-proposal-copy strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.ai-proposal-copy small { color: var(--ai-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-proposal-copy .ai-already-in-trip { color: #237a4b; }
.ai-place-dialog .ai-proposal-map-link { flex: none; min-width: 64px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--ai-blue); font-size: 13px; }
.ai-proposal-empty, .ai-proposal-search-failures { margin: 12px 0; color: var(--ai-muted); font-size: 13px; line-height: 1.6; }
.ai-proposal-search-failures { color: #865b16; }
.ai-proposal-new { width: max-content; padding: 1px 6px; border-radius: 999px; background: #edf4ff; color: var(--ai-blue) !important; font-size: 11px !important; line-height: 1.4; }
.ai-proposal-abandon { min-height: 36px !important; padding: 0 2px !important; border: 0 !important; background: transparent !important; color: var(--ai-muted) !important; font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.ai-proposal-anchor-use { min-width: 160px; padding: 0 16px !important; background: #edf4ff !important; color: var(--ai-blue) !important; }
.ai-anchor-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 0; border-bottom: 1px solid var(--ai-border); }
.ai-anchor-row:last-child { border-bottom: 0; }
.ai-anchor-row > img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ai-anchor-info { flex: 1; min-width: 0; }
.ai-anchor-info strong { display: block; color: var(--ai-ink); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.ai-anchor-info small { display: block; margin-top: 3px; color: var(--ai-muted); font-size: 12px; line-height: 1.5; }
.ai-anchor-actions { display: flex; align-items: center; gap: 4px; }
.ai-anchor-dialog .ai-anchor-select { flex: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-button); background: #edf4ff; color: var(--ai-blue); font-size: 13px; }
.ai-anchor-dialog .ai-anchor-select:hover { background: #dcecff; }
.ai-place-details { padding: 4px 0 10px; }
.ai-place-details-photo { display: block; width: 100%; max-height: 240px; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; }
.ai-place-details h3 { margin: 16px 0 4px; font-size: 20px; line-height: 1.4; }
.ai-place-details > p { margin: 0 0 12px; color: var(--ai-muted); font-size: 13px; }
.ai-place-details .ai-place-fact { display: flex; gap: 20px; justify-content: space-between; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--ai-border); }
.ai-place-fact strong { max-width: 75%; color: var(--ai-ink); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.ai-place-source { display: block; margin-top: 14px; color: var(--ai-muted); line-height: 1.6; }
.ai-proposal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; color: var(--ai-muted); font-size: 12px; }
.ai-route-proposal .ai-proposal-footer { justify-content: flex-end; }
.ai-proposal-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.ai-workspace .ai-proposal-dismiss { flex: none; padding: 0 4px; color: var(--ai-muted); font-size: 12px; }
.ai-workspace .ai-proposal-confirm { min-width: 0; padding: 8px 12px; border-radius: var(--radius-button); background: var(--ai-blue); color: #fff; font-size: 13px; line-height: 1.4; }
.ai-workspace .ai-proposal-confirm:hover:not(:disabled) { background: #1055b8; }
.ai-workspace .ai-proposal-confirm:disabled { background: var(--ai-soft); color: var(--ai-muted); }
.ai-search-marker { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: #1466d8; color: #fff; box-shadow: 0 2px 8px rgba(22,34,52,.18); font: 600 12px/1 system-ui,sans-serif; cursor: pointer; }
.ai-search-marker.is-active { width: 34px; height: 34px; background: #20242b; font-size: 13px; }
.ai-new-reply { display: block; width: 100%; margin-bottom: 12px; background: #edf4ff; border: 0; color: var(--ai-blue); }
.ai-compose-wrap { flex: none; padding: 12px 24px max(12px,env(safe-area-inset-bottom)); }
.ai-adjustment-context { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 0 8px; padding: 2px 0; color: #506178; font-size: 12px; line-height: 1.5; }
.ai-adjustment-context > span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.ai-workspace .ai-adjustment-context button { flex: none; min-height: 36px; padding: 0 4px; border: 0; border-radius: var(--radius-button); background: transparent; color: var(--ai-blue); font-size: 12px; }
.ai-workspace .ai-adjustment-context #aiAdjustmentExit { color: var(--ai-muted); }
.ai-compose { position: relative; border: 1px solid #d3d9e2; border-radius: var(--ai-radius-compose); padding: 3px 8px 3px 14px; background: #fff; }
.ai-compose.has-multiline { border-radius: var(--radius-multiline); }
.ai-compose:has(textarea:focus) { border-color: var(--ai-blue); }
.ai-compose label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ai-compose > div { display: flex; align-items: flex-end; gap: 8px; }
.ai-compose textarea { box-sizing: border-box; min-width: 0; flex: 1; height: 44px; min-height: 44px; max-height: 120px; resize: none; overflow-y: auto; padding: 10px 0; border: 0; outline: none; box-shadow: none; background: transparent; color: var(--ai-ink); font-size: 14px; line-height: 24px; }
.ai-workspace .ai-compose textarea:is(:focus,:focus-visible) { border: 0; outline: none; box-shadow: none; }
/* Empty hints stay on one line; entered text keeps its normal multiline wrap. */
.ai-compose textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-compose textarea::placeholder { color: #687383; white-space: nowrap; }
.ai-proposal-actions button { border: 0; background: var(--ai-blue); color: #fff; }
.ai-compose-action { display: grid; flex: none; width: 44px; height: 44px; color: #fff; }
.ai-compose-action > button { grid-area: 1 / 1; }
.ai-compose button { position: relative; display: grid; place-items: center; flex: none; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.ai-compose button::before { content: ""; position: absolute; width: 38px; height: 38px; border-radius: 50%; background: var(--ai-blue); }
.ai-workspace #aiCompose button svg { position: relative; width: 18px; height: 18px; }
.ai-workspace #aiCompose .ai-compose-control-icon { grid-area: 1 / 1; place-self: center; position: relative; z-index: 1; width: 21px; height: 21px; pointer-events: none; }
.ai-compose-action.is-disabled .ai-compose-control-icon { color: #637083; }
.ai-compose button:hover:not(:disabled)::before, .ai-proposal-actions button:hover:not(:disabled) { background: #1055b8; }
.ai-compose button:disabled { color: #637083; cursor: not-allowed; opacity: 1; }
.ai-compose button:disabled::before, .ai-proposal-actions button:disabled { background: #e2e7ee; color: #637083; cursor: not-allowed; opacity: 1; }
.ai-compose .ai-voice { color: var(--ai-muted); }
.ai-compose .ai-voice::before { display: none; }
.ai-compose .ai-voice[aria-pressed="true"] { color: var(--ai-blue); background: #edf4ff; }
.ai-compose .ai-voice:disabled { color: #a9b2bf; }
.ai-service-state { display: flex; align-items: center; gap: 8px; min-height: 18px; margin-top: 6px; }
.ai-service-state.is-processing { visibility: hidden; }
.ai-service-notice { flex: 1; margin: 0; color: #687383; font-size: 12px; line-height: 1.5; }
.ai-service-notice.error { color: #886a3e; }
.ai-workspace .ai-service-retry { flex: none; min-width: 44px; padding: 0 4px; color: var(--ai-blue); background: transparent; border: 0; font-size: 12px; }
/* One continuous itinerary; only the compact title and date navigation stay fixed. */
.ai-panel-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 18px 20px 10px; }
.ai-panel-head > div { min-width: 0; }
.ai-panel-head h2 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.ai-panel-head p { margin: 4px 0 0; color: var(--ai-muted); font-size: 12px; line-height: 1.5; }
.ai-workspace .ai-icon-button { display: grid; place-items: center; flex: none; width: 44px; padding: 0; margin: -6px -8px 0 0; border-radius: 50%; background: transparent; color: var(--ai-muted); border: 0; }
.ai-icon-button:hover { background: var(--ai-soft); }
.ai-day-tabs { display: flex; flex: none; overflow-x: auto; gap: 2px; margin: 0 20px; padding: 0 0 10px; scroll-padding-inline: 4px; }
.ai-day-tabs button { box-sizing: border-box; flex: 0 0 auto; min-width: 52px; min-height: 44px; border: 0; background: transparent; color: var(--ai-muted); padding: 8px 10px; text-align: center; white-space: nowrap; }
.ai-day-tabs button[aria-current="date"] { background: #edf4ff; color: var(--ai-blue); }
.ai-day-tabs button:focus-visible { outline-offset: -3px; }
.ai-trip-list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 20px 20px; }
.ai-day-section { scroll-margin-top: 0; }
.ai-day-section + .ai-day-section { margin-top: 24px; }
.ai-day-summary { margin: 0 0 6px; padding: 0; color: var(--ai-muted); }
.ai-day-summary-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.ai-day-summary-title { flex: 1; min-width: 0; color: var(--ai-ink); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ai-day-summary-main, .ai-day-theme { margin: 0; font-size: 12px; line-height: 1.5; }
.ai-day-theme { margin-top: 4px; color: var(--ai-muted); }
.ai-day-summary-status { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; margin-top: 4px; font-size: 12px; line-height: 1.5; }
.ai-summary-caution { color: #865b16; }
.ai-day-summary :is(.ai-day-summary-status, .ai-day-summary-footer) button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ai-blue); font-size: 12px; white-space: nowrap; }
.ai-day-summary-footer { flex: none; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ai-day-summary-footer button:last-child { color: var(--ai-muted); }
.ai-day-summary-details { padding: 8px 0; font-size: 12px; line-height: 1.6; }
.ai-day-summary-details span { display: block; margin: 2px 0; }
.ai-trip-note, .ai-trip-empty-day { margin: 8px 0; color: var(--ai-muted); font-size: 13px; line-height: 1.6; }
.ai-workspace .ai-day-add { padding: 0 12px; border: 0; background: #edf4ff; color: var(--ai-blue); }
.ai-route-row { display: grid; grid-template-columns: 38px 8px minmax(0,1fr); align-items: start; gap: 6px; padding: 14px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ai-route-row.has-photo { padding-block: 11px; }
.ai-route-row:focus-visible { outline: 2px solid var(--ai-blue); outline-offset: -2px; }
.ai-route-row.is-selected, .ai-route-row.is-expanded { background: #f2f7ff; border-radius: 10px; }
.ai-route-time { font-size: 12px; line-height: 22.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ai-muted); }
.ai-route-axis { position: relative; align-self: stretch; display: flex; justify-content: center; }
.ai-route-axis::before { content: ""; position: absolute; top: 11px; bottom: -39px; width: 1px; background: #e4e9f0; }
.ai-route-axis::after { content: ""; position: relative; margin-top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ai-blue); }
.ai-route-row.is-last .ai-route-axis::before { display: none; }
.ai-route-main { min-width: 0; }
.ai-route-place { display: flex; align-items: flex-start; gap: 8px; }
.ai-workspace .ai-route-toggle, .ai-route-heading { display: flex; flex: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ai-ink); text-align: left; }
:is(.ai-route-toggle, .ai-route-heading) strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.ai-route-meta { display: flex; align-items: center; gap: 8px; }
.ai-route-meta small { display: block; flex: 1; min-width: 0; color: var(--ai-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-workspace .ai-route-photo { flex: none; width: 88px; height: 66px; min-height: 66px; padding: 0; margin: 0; border: 0; border-radius: 11px; background: transparent; overflow: hidden; }
.ai-route-photo img { display: block; width: 88px; height: 66px; object-fit: cover; border-radius: 11px; }
.ai-route-chevron { flex: none; width: 6px; height: 6px; margin: 0 3px 3px 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--ai-muted); transform: rotate(45deg); }
.ai-route-toggle[aria-expanded="true"] .ai-route-chevron { transform: rotate(225deg); margin-top: 3px; margin-bottom: 0; }
.ai-route-details { padding-top: 8px; font-size: 12px; line-height: 1.6; color: var(--ai-muted); overflow-wrap: anywhere; }
.ai-route-details p { margin: 0 0 6px; }
.ai-route-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-workspace .ai-route-detail-actions button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ai-blue); font-size: 12px; }
.ai-route-transfer { position: relative; margin-left: 58px; padding: 5px 0; color: var(--ai-muted); font-size: 12px; line-height: 1.6; }
.ai-route-transfer::before { content: ""; position: absolute; left: -10px; top: -14px; bottom: -25px; width: 1px; background: #dce3ed; }
.ai-hotel { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--ai-muted); }
.ai-edit-trip { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 24px 20px; padding: 12px 0; border: 0; border-top: 1px solid var(--ai-border); border-radius: 0 !important; color: var(--ai-blue); background: transparent; text-align: left; }
.ai-proposal-actions { flex: none; border-top: 1px solid var(--ai-border); padding: 16px 24px max(20px,env(safe-area-inset-bottom)); }
.ai-proposal-actions p { margin: 0 0 12px; color: var(--ai-muted); font-size: 13px; line-height: 1.6; }
.ai-proposal-actions button { width: 100%; min-height: 48px; }
.ai-map-panel { position: relative; z-index: 0; overflow: hidden; background: #f4f6f8; }
.ai-layout.nearby-open .ai-map-panel { z-index: 9; }
.ai-map-head { position: absolute; z-index: 6; top: 20px; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; pointer-events: none; }
.ai-map-head h2, .ai-nearby h2 { margin: 0; font-size: 16px; font-weight: 600; }
.ai-map-head h2 { padding: 10px 14px; border-radius: 12px; background: #fff; }
.ai-map-head > div { display: flex; flex-wrap: wrap; gap: 4px; pointer-events: auto; border: 1px solid var(--ai-border); border-radius: 14px; padding: 2px; background: #fff; }
.ai-map-head button { padding: 0 12px; background: transparent; color: var(--ai-muted); border: 0; font-size: 13px; }
.ai-map-head button:hover { background: var(--ai-soft); }
.ai-map-head #aiMapRetry { color: var(--ai-blue); }
.ai-map-status { position: absolute; z-index: 5; top: 90px; left: 24px; right: 24px; margin: 0; max-width: 520px; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ai-muted); font-size: 12px; line-height: 1.6; }
.ai-map-panel:not(.map-unavailable) .ai-map-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.ai-destination { position: absolute; z-index: 4; right: 24px; bottom: 24px; width: 240px; height: 144px; margin: 0; overflow: hidden; border-radius: 16px; background: #153345; }
.ai-destination img, .ai-destination video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ai-destination img[src$="qingdao-coast-master.jpg"] { object-position: center 52%; }
.ai-destination[data-scene="suzhou"] :is(img,video) { object-position: center 64%; }
.ai-destination[data-scene="niche-jianshui-bridges"] :is(img,video) { object-position: center 62%; }
.ai-destination[data-scene="niche-taining-danxia"] :is(img,video) { object-position: center 58%; }
.ai-destination video { z-index: 1; opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.ai-destination video.is-playing { opacity: 1; }
.ai-destination::after { content: ""; position: absolute; z-index: 2; inset: 35% 0 0; background: linear-gradient(transparent,rgba(9,28,43,.78)); pointer-events: none; }
.ai-destination figcaption { position: absolute; z-index: 3; bottom: 18px; left: 20px; right: 20px; color: #fff; pointer-events: none; }
.ai-destination-motion { position: absolute; z-index: 4; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50% !important; background: rgba(255,255,255,.92); color: var(--ai-blue); cursor: pointer; }
.ai-destination-motion:hover { background: #fff; }
.ai-destination-motion svg { width: 18px !important; height: 18px !important; }
.ai-destination h2 { margin: 0 0 6px; font-size: 24px; font-weight: 500; line-height: 1.3; }
.ai-destination p { margin: 0; color: #fff; font-size: 12px; line-height: 1.6; }
.ai-map-panel.no-route:has(.ai-destination:not([hidden])) .ai-destination { inset: 0; width: 100%; height: 100%; border-radius: 0; }
.ai-map-panel.no-route .ai-destination figcaption { left: 40px; right: 84px; bottom: 40px; }
.ai-map-panel.no-route .ai-destination-motion { top: auto; right: 24px; bottom: 24px; }
.ai-map-panel.no-route .ai-destination h2 { font-size: 40px; }
.ai-map-panel.no-route:has(.ai-destination:not([hidden])) .ai-map-mount { display: none; }
.ai-map-mount { position: absolute; inset: 0; }
.ai-map-mount #mapPreview { width: 100%; height: 100%; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #f4f6f8; }
.ai-map-panel.map-unavailable #mapPreview { background-image: none; }
.ai-map-panel.map-unavailable #mapFallback { display: grid; place-items: center; padding: 140px 40px 190px; }
.ai-map-panel.map-unavailable #mapFallback.hidden { display: none; }
.ai-map-panel.map-unavailable #mapFallback svg { max-width: 640px; max-height: 440px; }
.ai-map-panel.map-unavailable #mapFallback polyline { display: none; }
.ai-nearby { position: absolute; z-index: 20; inset: 0 0 0 auto; width: min(380px,100%); display: flex; flex-direction: column; background: #fff; box-shadow: -12px 0 36px rgba(22,34,52,.1); }
.ai-nearby[data-closing="true"] { pointer-events: none; }
.ai-nearby header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 28px 24px 20px; border-bottom: 1px solid var(--ai-border); }
.ai-nearby header p { margin: 8px 0 0; color: var(--ai-muted); font-size: 13px; }
.ai-nearby header button { flex: none; border: 0; background: var(--ai-soft); color: var(--ai-ink); }
.ai-nearby-controls { display: flex; gap: 12px; padding: 20px 24px 12px; }
.ai-nearby-controls label { flex: 1; min-width: 0; color: var(--ai-muted); font-size: 13px; }
.ai-nearby-controls select { width: 100%; min-height: 44px; margin-top: 8px; padding-inline: 12px; border: 1px solid #d3d9e2; border-radius: 12px; background: #fff; color: var(--ai-ink); }
.ai-nearby-scope { margin: 0; padding: 0 24px 20px; font-size: 12px; line-height: 1.6; color: var(--ai-muted); }
.ai-nearby-results { flex: 1; min-height: 0; overflow: auto; padding: 0 24px 24px; font-size: 14px; line-height: 1.6; }
.ai-nearby-row { display: flex; gap: 12px; padding: 18px 0; border-top: 1px solid var(--ai-border); }
.ai-nearby-row img, .ai-nearby-placeholder { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--ai-soft); object-fit: cover; }
.ai-nearby-row > div { flex: 1; min-width: 0; }
.ai-nearby-row strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ai-nearby-row small { display: block; margin-top: 4px; color: var(--ai-muted); font-size: 12px; line-height: 1.6; }
.ai-nearby-row button { margin-top: 8px; border: 0; color: var(--ai-blue); background: #edf4ff; font-size: 13px; }
.ai-mobile-tabs { display: none; }
@media (max-width:1279px) {
  .ai-layout, .ai-layout.trip-open { grid-template-columns: 336px minmax(0,1fr); }
  .ai-layout .ai-trip { position: absolute; z-index: 8; inset: 0 auto 0 336px; width: min(360px,calc(100% - 336px)); box-shadow: var(--ai-elevation); }
  .ai-map-head { left: 16px; right: 16px; }
  .ai-map-head h2 { display: none; }
  .ai-map-head > div { margin-left: auto; }
  .ai-map-status { left: 16px; right: 16px; }
  .ai-map-panel.map-unavailable #mapFallback { padding-inline: 24px; }
}
@media (max-width:767px) {
  .ai-place-dialog { width: calc(100% - 24px); max-width: none; max-height: min(85dvh, 850px); margin: auto 12px max(12px, env(safe-area-inset-bottom)); border-radius: var(--radius-dialog); }
  .ai-place-dialog-head, .ai-place-dialog-footer { padding-inline: 16px; }
  .ai-place-dialog-head > div { min-width: 0; }
  .ai-place-dialog-head h2 { overflow-wrap: anywhere; }
  .ai-place-dialog-body { padding-inline: 18px; }
  .ai-place-dialog-footer { grid-template-columns: minmax(0,1fr); grid-template-areas: "feedback" "count" "actions"; gap: 4px; }
  .ai-place-dialog-footer .ai-proposal-footer-actions { width: 100%; gap: 8px; }
  .ai-place-dialog-footer .ai-proposal-footer-actions button { flex: 1 1 0; min-width: 0; min-height: 48px; padding-inline: 10px; white-space: normal; text-align: center; }
  .ai-place-dialog-footer .ai-proposal-adjust { min-width: 0; }
  .ai-place-dialog-footer .ai-proposal-confirm { min-width: 0; }
  .ai-place-dialog-footer .ai-proposal-count { min-height: 24px; }
  .ai-place-dialog .ai-proposal-anchor-use { flex: 1 1 100%; }
  .ai-proposal-replacement-review .ai-proposal-footer-actions button { flex: 1 1 0; min-width: 0; }
  .ai-proposal-photo-button { width: 60px; min-height: 60px !important; }
  .ai-proposal-photo { width: 60px; height: 60px; border-radius: 12px; }
  .ai-proposal-place { gap: 6px; }
  .ai-place-dialog .ai-proposal-map-link { min-width: 48px; font-size: 12px; }
  .ai-anchor-row { flex-wrap: wrap; }
  .ai-anchor-actions { flex-basis: 100%; justify-content: flex-end; }
  .top-actions #openAiWorkspace { width: 40px; min-width: 40px; height: 40px; overflow: hidden; font-size: 0; padding: 0; }
  .top-actions #openAiWorkspace::after { content: "AI"; font-size: 14px; }
  body.ai-workspace-active .topbar { height: 68px; min-height: 68px; padding: 10px 16px; gap: 12px; grid-template-columns: minmax(0,1fr) auto; }
  body.ai-workspace-active .top-actions { display: flex; }
  body.ai-workspace-active .top-actions :is(.share-trigger, #tripMenuButton, #accountButtonLabel) { display: none; }
  body.ai-workspace-active #accountButton { width: 44px; min-width: 44px; padding: 0; border: 0; background: transparent; }
  body.ai-workspace-active .brand { display: none; }
  body.ai-workspace-active .brand-wordmark { display: none; }
  body.ai-workspace-active .brand-compact { display: block; width: 36px; height: 36px; }
  body.ai-workspace-active .shared-banner { width: calc(100% - 24px); margin: 0 12px 8px; }
  .ai-workspace-toolbar { gap: 8px; }
  .ai-workspace-toolbar > div { padding-left: 0; border: 0; }
  .ai-workspace-toolbar strong { font-size: 14px; }
  .ai-workspace-toolbar span { font-size: 11px; line-height: 1.5; }
  .ai-workspace-toolbar button { font-size: 12px; padding: 0 6px; }
  .ai-mobile-tabs { display: flex; flex: none; gap: 4px; padding: 4px; margin: 8px 16px; border-radius: 14px; background: #e9edf2; }
  .ai-mobile-tabs button { flex: 1; border: 0; background: transparent; color: var(--ai-muted); }
  .ai-mobile-tabs button[aria-current="page"] { color: var(--ai-ink); background: #fff; }
  .ai-layout, .ai-layout.trip-open { display: block; margin: 0; padding: 0; overflow: hidden; }
  .ai-layout > section, .ai-layout .ai-trip { position: absolute; inset: 0; width: 100%; height: auto; box-shadow: none; border-radius: 0; }
  .ai-layout[data-view="chat"] > :not(.ai-chat), .ai-layout[data-view="trip"] > :not(.ai-trip), .ai-layout[data-view="map"] > :not(.ai-map-panel) { display: none; }
  .ai-layout:not(.trip-open) .ai-trip { display: none; }
  .ai-chat { border: 0; }
  .ai-assistant-bar { min-height: 52px; padding-inline: 24px; }
  .ai-welcome { padding: 20px 24px; }
  .ai-compose textarea { font-size: 16px; }
  .ai-chat-head h2 { font-size: 23px; }
  .ai-panel-head { padding-top: 24px; }
  .ai-panel-head h2 { font-size: 24px; }

  .ai-map-head #aiOpenTrip { display: none; }
  .ai-map-head { top: 16px; }
  .ai-map-status { top: 80px; }
  .ai-destination { width: 180px; height: 116px; right: 16px; bottom: 16px; }
  .ai-destination-motion { top: 6px; right: 6px; }
  .ai-destination h2 { font-size: 20px; }
  .ai-destination figcaption { left: 16px; bottom: 14px; }
  .ai-map-panel.map-unavailable #mapFallback { padding: 144px 20px 148px; }
  .ai-nearby { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-destination video { transition: none; }
}
@media (max-width:359px) {
  .ai-proposal-place { flex-wrap: wrap; row-gap: 0; }
  .ai-place-dialog .ai-proposal-map-link { flex-basis: calc(100% - 116px); min-height: 36px; margin-left: 116px; padding: 0; text-align: left; }
  .ai-place-dialog-footer .ai-proposal-footer-actions { gap: 6px; }
  .ai-place-dialog-footer .ai-proposal-footer-actions button { padding-inline: 8px; }
  .ai-adjustment-context { gap: 4px; font-size: 11px; }
  .ai-workspace .ai-adjustment-context button { padding-inline: 2px; font-size: 11px; }
}
@media (max-height:650px) {
  .ai-welcome { padding-block: 12px; }
  .ai-chat-head h2 { font-size: 22px; line-height: 1.35; }
  .ai-chat-head { margin-bottom: 12px; }
  .ai-chat-head p { display: none; }
  .ai-conditions { margin-bottom: 14px; }
  .ai-compose-wrap { padding-top: 8px; }
  .ai-map-panel:not(.no-route) .ai-destination { width: 168px; height: 100px; }
  .ai-map-panel.map-unavailable #mapFallback { padding-bottom: 130px; }
}
@media (max-width:767px) and (max-height:740px) {
  .ai-welcome { padding: 12px 24px; }
  .ai-chat-head { display: none; }
}
@media (max-width:359px) {
  .ai-workspace .ai-route-photo, .ai-route-photo img { width: 72px; height: 54px; min-height: 54px; }
  .ai-trip-list { padding-inline: 16px; }
  .ai-route-row { gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  .ai-workspace *, .ai-workspace *::before, .ai-workspace *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
