.trip-header-lucy {
  position: relative;
  width: auto;
  min-width: 74px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid #2563c4;
  border-radius: 999px;
  background: #fff;
  color: #2563c4;
  padding: 0 13px;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.trip-header-lucy:hover,
.trip-header-lucy:focus-visible {
  background: #eef5ff;
  outline: 2px solid color-mix(in srgb, #2563c4 30%, transparent);
  outline-offset: 2px;
}

.trip-header-lucy-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.trip-header-lucy-sparkle {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 390px) {
  .trip-header-lucy {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .trip-header-lucy-face {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 1.5px solid #2563c4;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(18, 36, 73, .06);
    transition: width 180ms ease, border-radius 180ms ease, padding 180ms ease;
  }

  .trip-header-lucy-label {
    display: none;
  }

  .trip-header-lucy[data-lucy-peek="true"] {
    z-index: 6;
  }

  .trip-header-lucy[data-lucy-peek="true"] .trip-header-lucy-face {
    position: absolute;
    right: 4px;
    width: 76px;
    padding: 0 10px;
    border-radius: 999px;
  }

  .trip-header-lucy[data-lucy-peek="true"] .trip-header-lucy-label {
    display: inline;
  }
}

#lucy-layer[hidden] {
  display: none;
}

#lucy-layer {
  position: fixed;
  top: var(--lucy-viewport-top, 0px);
  right: 0;
  bottom: auto;
  left: 0;
  z-index: calc(var(--layer-modal, 2000) + 20);
  height: var(--lucy-viewport-height, 100dvh);
  min-height: 0;
  overflow: hidden;
  background: #f4f7fb;
  color: #172033;
  isolation: isolate;
}

.lucy-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.lucy-conversation-column {
  width: min(560px, 100%);
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: max(72px, 16vh, calc(env(safe-area-inset-top) + 54px)) 0 max(20px, env(safe-area-inset-bottom));
}

.lucy-zone-top {
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: 0;
  text-align: center;
}

.lucy-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid #94a3b8;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  padding: 0;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.lucy-close:hover,
.lucy-close:focus-visible {
  background: #eef5ff;
  color: #2563c4;
  outline: 2px solid color-mix(in srgb, #2563c4 30%, transparent);
  outline-offset: 2px;
}

.lucy-wordmark {
  display: block;
  margin-bottom: 10px;
  color: #2563c4;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.lucy-line {
  max-width: 560px;
  margin: 0;
  color: #172033;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.lucy-zone-middle {
  min-width: 0;
  width: 100%;
  display: grid;
  justify-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.lucy-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 22px;
  border: 1.5px solid #c5cfdd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18, 36, 73, .12);
}

.lucy-clarifiers {
  display: grid;
  gap: 22px;
}

.lucy-clarifier-group {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.lucy-clarifier-label,
.lucy-plan-chapter-header {
  color: #64748b;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.lucy-choice-row,
.lucy-thumb-chips {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.lucy-choice,
.lucy-thumb-chip {
  min-height: 44px;
  max-width: 100%;
  border: 1.5px solid #94a3b8;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 8px 13px;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
  cursor: pointer;
}

.lucy-choice:hover,
.lucy-choice:focus-visible,
.lucy-thumb-chip:hover,
.lucy-thumb-chip:focus-visible,
.lucy-choice[aria-pressed="true"] {
  border-color: #2563c4;
  background: #eef5ff;
  color: #1d4f9b;
  outline: 0;
}

.lucy-choice[data-lucy-interest="Eat"][aria-pressed="true"] { border-color: #1a8d4d; color: #14723e; background: #edf9f1; }
.lucy-choice[data-lucy-interest="See"][aria-pressed="true"] { border-color: #2374e1; color: #1856aa; background: #eef5ff; }
.lucy-choice[data-lucy-interest="Shop"][aria-pressed="true"] { border-color: #7c3aed; color: #6d28d9; background: #f5f0ff; }

.lucy-clarifier-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.lucy-clarifier-submit {
  min-height: 44px;
  border: 1.5px solid #2563c4;
  border-radius: 8px;
  padding: 9px 16px;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.lucy-clarifier-submit-primary {
  background: #2563c4;
  color: #fff;
}

.lucy-clarifier-submit-skip {
  background: #fff;
  color: #1d4f9b;
}

.lucy-clarifier-submit:hover,
.lucy-clarifier-submit:focus-visible {
  outline: 2px solid color-mix(in srgb, #2563c4 30%, transparent);
  outline-offset: 2px;
}

.lucy-plan-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.lucy-plan-title {
  margin: 0;
  padding: 19px 20px 17px;
  border-bottom: 1px solid #d8e0ea;
  color: #172033;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.lucy-plan-stops {
  display: grid;
}

.lucy-plan-chapter {
  min-width: 0;
  display: grid;
}

.lucy-plan-chapter + .lucy-plan-chapter {
  border-top: 1px solid #e2e8f0;
}

.lucy-plan-chapter-header {
  margin: 0;
  padding: 14px 20px 7px;
  background: #f8fafc;
}

.lucy-plan-stop {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.lucy-plan-stop:last-child {
  border-bottom: 0;
}

.lucy-plan-place-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.lucy-plan-pin,
.lucy-plan-member-pin {
  --lucy-category: #667085;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lucy-category);
  color: #fff;
  font-weight: 800;
}

.lucy-plan-pin {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.lucy-plan-member-pin {
  width: 21px;
  height: 21px;
  font-size: 10px;
}

.lucy-category-eat { --lucy-category: #1a8d4d; }
.lucy-category-see { --lucy-category: #2374e1; }
.lucy-category-shop { --lucy-category: #7c3aed; }
.lucy-category-transport { --lucy-category: #087f99; }
.lucy-category-notes { --lucy-category: #667085; }

.lucy-plan-place-name,
.lucy-plan-cluster-title {
  min-width: 0;
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.lucy-plan-heart {
  flex: 0 0 auto;
  color: #e11d48;
  font-size: 14px;
  line-height: 1;
}

.lucy-plan-time {
  align-self: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.lucy-plan-why {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.45;
}

.lucy-plan-sidewalk {
  grid-column: 1 / -1;
  width: 100%;
  height: 1.5px;
  margin-top: 2px;
  border-radius: 999px;
  background: #cbd5e1;
}

.lucy-plan-members {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lucy-plan-member {
  min-height: 34px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--lucy-category, #94a3b8);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 5px 9px 5px 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.lucy-plan-stop[data-lucy-reveal] {
  animation: lucy-plan-reveal 240ms ease both;
  animation-delay: calc(var(--lucy-stop-index, 0) * 150ms);
}

@keyframes lucy-plan-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lucy-zone-bottom {
  min-width: 0;
  width: 100%;
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid #d8e0ea;
  background: #f4f7fb;
}

.lucy-thumb-form {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  margin: 0 auto;
}

.lucy-thumb-input {
  width: 100%;
  min-width: 0;
  height: 48px;
  box-sizing: border-box;
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

.lucy-thumb-input:focus {
  border-color: #2563c4;
  outline: 2px solid color-mix(in srgb, #2563c4 24%, transparent);
  outline-offset: 1px;
}

.lucy-thumb-send {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #2563c4;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lucy-thumb-send:disabled {
  background: #9aa7b8;
  cursor: wait;
}

/* Ratified Day-1 chat dress. Keep these rules inside the Lucy question shell so
   the existing plan card and its follow-up input retain their current dress. */
.lucy-chat {
  --lucy-chat-navy: #16243a;
  --lucy-chat-muted: #5b6b80;
  --lucy-chat-blue: #2b6cf6;
  --lucy-chat-today: #c81e8e;
  --lucy-chat-eat: #1b8653;
  --lucy-chat-see: #2374e1;
  --lucy-chat-shop: #6a4abe;
  --lucy-chat-transport: #0a708c;
  --lucy-chat-notes: #667085;
  --lucy-chat-line: #dde3ec;
  --lucy-chat-soft: #f2f5fa;
  width: min(390px, 100%);
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lucy-chat-line);
  border-radius: 26px;
  background: #fff;
  color: var(--lucy-chat-navy);
  box-shadow: 0 10px 28px rgba(22, 36, 58, .1);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  line-height: normal;
}

.lucy-chat:has(.lucy-simple-options),
.lucy-chat:has(.lucy-simple-progress) {
  max-height: calc(var(--lucy-viewport-height, 100dvh) - 64px);
}

.lucy-chat:has(.lucy-simple-options) .lucy-chat-body,
.lucy-chat:has(.lucy-simple-progress) .lucy-chat-body {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lucy-shell[data-lucy-question-phase="true"],
.lucy-shell:has(.lucy-chat) {
  display: grid;
  place-items: start center;
  padding: 32px max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #f7f8fb;
}

.lucy-shell[data-lucy-question-phase="true"] .lucy-conversation-column,
.lucy-shell:has(.lucy-chat) .lucy-conversation-column {
  width: min(390px, 100%);
  min-height: 0;
  margin: 0;
  padding: 0;
}

.lucy-chat-header,
.lucy-chat-topbar {
  min-height: 57px;
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #eef1f6;
  background: #fff;
}

.lucy-chat-wordmark,
.lucy-chat-header .lucy-wordmark,
.lucy-chat-topbar .lucy-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--lucy-chat-blue);
  font-size: 16px;
  line-height: normal;
  font-weight: 800;
}

.lucy-chat-close,
.lucy-chat-header .lucy-close,
.lucy-chat-topbar .lucy-close {
  position: static;
  width: 30px;
  height: 30px;
  min-height: 30px;
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid var(--lucy-chat-line);
  border-radius: 50%;
  background: #fff;
  color: var(--lucy-chat-muted);
  padding: 0;
  font: inherit;
  font-size: 13px;
  line-height: normal;
  font-weight: 700;
  cursor: pointer;
}

.lucy-chat-close:hover,
.lucy-chat-close:focus-visible,
.lucy-chat-header .lucy-close:hover,
.lucy-chat-header .lucy-close:focus-visible,
.lucy-chat-topbar .lucy-close:hover,
.lucy-chat-topbar .lucy-close:focus-visible {
  border-color: var(--lucy-chat-blue);
  background: #f3f7ff;
  color: var(--lucy-chat-blue);
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 22%, transparent);
  outline-offset: 2px;
}

.lucy-chat-body,
.lucy-chat-transcript {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 16px;
}

.lucy-chat-row,
.lucy-message-row {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lucy-chat-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lucy-chat-blue);
  color: #fff;
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
}

.lucy-chat-bubble,
.lucy-message-lucy {
  width: fit-content;
  max-width: 305px;
  border-radius: 13px;
  background: var(--lucy-chat-soft);
  color: var(--lucy-chat-navy);
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.lucy-chat-bubble > :first-child,
.lucy-message-lucy > :first-child {
  margin-top: 0;
}

.lucy-chat-bubble > :last-child,
.lucy-message-lucy > :last-child {
  margin-bottom: 0;
}

.lucy-chat-bubble strong,
.lucy-chat-bubble b,
.lucy-message-lucy strong,
.lucy-message-lucy b {
  font-weight: 700;
}

.lucy-chat-user,
.lucy-message-user {
  width: fit-content;
  max-width: 280px;
  margin-left: auto;
  border-radius: 13px;
  background: #e9f0ff;
  color: var(--lucy-chat-blue);
  padding: 9px 12px;
  font-size: 14px;
  line-height: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.lucy-chat-controls,
.lucy-chat-chips {
  min-width: 0;
  margin-left: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.lucy-chat-chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--lucy-chat-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--lucy-chat-blue);
  padding: 7px 13px;
  font: inherit;
  font-size: 13.5px;
  line-height: normal;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.lucy-chat-chip:hover,
.lucy-chat-chip:focus-visible {
  background: #f3f7ff;
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 22%, transparent);
  outline-offset: 2px;
}

.lucy-chat-chip.is-selected,
.lucy-chat-chip[aria-pressed="true"],
.lucy-chat-chip-primary {
  border-color: var(--lucy-chat-blue);
  background: var(--lucy-chat-blue);
  color: #fff;
}

.lucy-chat-chip-ghost {
  border-color: var(--lucy-chat-line);
  background: #fff;
  color: var(--lucy-chat-muted);
}

.lucy-chat-chip-ghost:hover,
.lucy-chat-chip-ghost:focus-visible {
  border-color: var(--lucy-chat-muted);
  background: var(--lucy-chat-soft);
  color: var(--lucy-chat-navy);
}

.lucy-chat-chip:disabled,
.lucy-chat-chip[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

.lucy-simple-city-chip {
  justify-content: flex-start;
  gap: 7px;
}

.lucy-simple-city-chip small {
  color: var(--lucy-chat-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.lucy-simple-city-chip.is-selected small,
.lucy-simple-city-chip[aria-pressed="true"] small {
  color: #fff;
}

.lucy-simple-city-ring {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.lucy-simple-city-chip.is-selected .lucy-simple-city-ring,
.lucy-simple-city-chip[aria-pressed="true"] .lucy-simple-city-ring {
  background: #fff;
  color: var(--lucy-chat-blue);
}

.lucy-simple-city-chip.is-selected .lucy-simple-city-ring::after,
.lucy-simple-city-chip[aria-pressed="true"] .lucy-simple-city-ring::after {
  content: "\2713";
}

.lucy-simple-progress {
  min-width: 0;
  margin-left: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--lucy-chat-line);
  border-radius: 13px;
  background: #fff;
  color: var(--lucy-chat-muted);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.lucy-simple-progress-dot {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid #c8d5ef;
  border-top-color: var(--lucy-chat-blue);
  border-radius: 50%;
  animation: lucy-simple-spin .8s linear infinite;
}

@keyframes lucy-simple-spin {
  to { transform: rotate(360deg); }
}

.lucy-simple-options {
  min-width: 0;
  display: grid;
  gap: 11px;
}

.lucy-simple-resume-controls {
  margin: 0 0 2px;
}

.lucy-simple-resume-controls .lucy-thumb-chip {
  border: 1.5px solid var(--lucy-chat-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--lucy-chat-blue);
  padding: 7px 13px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.lucy-simple-option {
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid var(--lucy-chat-line);
  border-radius: 17px;
  background: #fff;
  color: var(--lucy-chat-navy);
}

.lucy-simple-option.is-expanded {
  border-color: var(--lucy-chat-blue);
  box-shadow: 0 7px 20px rgba(43, 108, 246, .1);
}

.lucy-simple-option-summary {
  position: relative;
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  background: #fff;
  color: inherit;
  padding: 14px 15px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lucy-simple-option-summary:hover,
.lucy-simple-option-summary:focus-visible {
  background: #f7f9fd;
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 22%, transparent);
  outline-offset: -2px;
}

.lucy-simple-option-kicker {
  color: var(--lucy-chat-blue);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lucy-simple-option-title {
  color: var(--lucy-chat-navy);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
}

.lucy-simple-option-subtitle {
  color: var(--lucy-chat-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.lucy-simple-option-affordance {
  margin-top: 6px;
  color: var(--lucy-chat-blue);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 800;
}

.lucy-simple-preview {
  min-width: 0;
  display: grid;
  gap: 5px;
  margin-top: 5px;
}

.lucy-simple-preview-place {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--lucy-chat-navy);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}

.lucy-simple-preview-place .lucy-plan-pin {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  font-size: 10px;
}

.lucy-simple-preview-more {
  color: var(--lucy-chat-muted);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}

.lucy-simple-option .lucy-category-eat { --lucy-category: #1faf63; }
.lucy-simple-option .lucy-category-see { --lucy-category: #2374e1; }
.lucy-simple-option .lucy-category-shop { --lucy-category: #8b5cf6; }
.lucy-simple-option .lucy-category-transport { --lucy-category: #0891b2; }
.lucy-simple-option .lucy-category-notes { --lucy-category: #667085; }

.lucy-simple-option-day {
  border-top: 1px solid var(--lucy-chat-line);
  padding: 4px 15px 14px;
}

.lucy-simple-time-heading {
  margin: 15px 0 6px;
  color: var(--lucy-chat-blue);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: none;
}

.lucy-simple-prose-line {
  margin: 6px 0 0;
  color: var(--lucy-chat-navy);
  font-size: 13.5px;
  line-height: 1.52;
  font-weight: 400;
}

.lucy-simple-prose-line strong {
  font-weight: 700;
}

.lucy-simple-prose-line .lucy-plan-pin,
.lucy-simple-time-heading .lucy-plan-pin {
  display: inline-flex;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  vertical-align: -4px;
  font-size: 9px;
}

.lucy-simple-matched-place {
  font-weight: 700;
}

.lucy-simple-prose-line .lucy-plan-heart,
.lucy-simple-time-heading .lucy-plan-heart {
  margin-left: 3px;
}

.lucy-simple-prose-bullet {
  position: relative;
  padding-left: 14px;
}

.lucy-simple-prose-bullet::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lucy-chat-blue);
}

.lucy-simple-prose-space {
  display: block;
  height: 3px;
}

.lucy-simple-option-actions {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--lucy-chat-line);
  background: #f8faff;
  padding: 12px 14px 14px;
}

.lucy-simple-after-cards {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 2px 1px 0;
}

.lucy-simple-after-cards-pointer {
  margin: 0;
  color: var(--lucy-chat-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.lucy-simple-make-day {
  width: 100%;
  min-height: 43px;
  border: 0;
  border-radius: 12px;
  background: var(--lucy-chat-blue);
  color: #fff;
  padding: 9px 13px;
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  cursor: pointer;
}

.lucy-simple-make-day.is-done {
  background: var(--lucy-chat-today);
  cursor: default;
}

.lucy-simple-message-form {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.lucy-simple-message-input {
  min-width: 0;
  flex: 1;
  height: 43px;
  border: 1.5px solid var(--lucy-chat-line);
  border-radius: 12px;
  background: #fff;
  color: var(--lucy-chat-navy);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.lucy-simple-message-input:focus {
  border-color: var(--lucy-chat-blue);
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 18%, transparent);
}

.lucy-simple-message-send {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--lucy-chat-blue);
  color: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
}

.lucy-area-stack,
.lucy-tonight-stack {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.lucy-area-card,
.lucy-tonight-card {
  position: relative;
  width: min(315px, calc(100% - 36px));
  min-width: 0;
  margin-left: 36px;
  display: block;
  border: 1.5px solid var(--lucy-chat-blue);
  border-radius: 14px;
  background: #fff;
  color: var(--lucy-chat-navy);
  padding: 10px 28px 10px 12px;
  font: inherit;
  text-align: left;
}

button.lucy-tonight-card {
  cursor: pointer;
}

.lucy-area-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.lucy-area-card-hit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 35%, transparent);
  outline-offset: 2px;
}

.lucy-area-select {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lucy-area-card:hover,
.lucy-area-card:focus-within,
.lucy-area-card:focus-visible,
.lucy-tonight-card:hover,
.lucy-tonight-card:focus-visible {
  background: #f8faff;
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 18%, transparent);
  outline-offset: 2px;
}

.lucy-area-card.is-selected,
.lucy-area-card[aria-pressed="true"],
.lucy-area-card[data-lucy-selected="true"] {
  background: #f3f7ff;
}

.lucy-area-ring {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  transform: translateY(-50%);
  border: 2px solid var(--lucy-chat-blue);
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 12px;
  line-height: normal;
  font-weight: 800;
  pointer-events: none;
}

.lucy-area-card.is-selected .lucy-area-ring,
.lucy-area-card[aria-pressed="true"] .lucy-area-ring,
.lucy-area-card[data-lucy-selected="true"] .lucy-area-ring {
  border-color: var(--lucy-chat-blue);
  background: var(--lucy-chat-blue);
  color: #fff;
}

.lucy-area-card.is-selected .lucy-area-ring::after,
.lucy-area-card[aria-pressed="true"] .lucy-area-ring::after,
.lucy-area-card[data-lucy-selected="true"] .lucy-area-ring::after {
  content: "\2713";
}

.lucy-area-title,
.lucy-tonight-title {
  display: block;
  color: var(--lucy-chat-navy);
  font-size: 14px;
  line-height: normal;
  font-weight: 700;
}

.lucy-area-facts {
  margin-top: 3px;
  color: var(--lucy-chat-navy);
  font-size: 12.5px;
  line-height: 1.45;
}

.lucy-area-facts .lucy-category-see,
.lucy-area-facts [data-lucy-category="See"] {
  color: var(--lucy-chat-see);
  font-weight: 700;
}

.lucy-area-facts .lucy-category-eat,
.lucy-area-facts [data-lucy-category="Eat"] {
  color: var(--lucy-chat-eat);
  font-weight: 700;
}

.lucy-area-facts .lucy-category-shop,
.lucy-area-facts [data-lucy-category="Shop"] {
  color: var(--lucy-chat-shop);
  font-weight: 700;
}

.lucy-area-facts .lucy-category-favorite,
.lucy-area-facts [data-lucy-category="Favorite"] {
  color: var(--lucy-chat-today);
  font-weight: 700;
}

.lucy-area-facts .lucy-category-transport,
.lucy-area-facts [data-lucy-category="Transport"] {
  color: var(--lucy-chat-transport);
  font-weight: 700;
}

.lucy-area-facts .lucy-category-notes,
.lucy-area-facts [data-lucy-category="Notes"] {
  color: var(--lucy-chat-notes);
  font-weight: 700;
}

.lucy-area-learn {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  display: block;
  margin-top: 5px;
  border: 0;
  background: transparent;
  color: var(--lucy-chat-blue);
  padding: 0;
  font: inherit;
  font-size: 11.5px;
  line-height: normal;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}

.lucy-area-learn:hover,
.lucy-area-learn:focus-visible {
  color: #1d4ed8;
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 22%, transparent);
  outline-offset: 2px;
}

.lucy-area-learn-box {
  margin-top: 6px;
  border-radius: 9px;
  background: var(--lucy-chat-soft);
  color: var(--lucy-chat-navy);
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.lucy-area-learn-box small,
.lucy-area-learn-source {
  display: block;
  margin-top: 3px;
  color: var(--lucy-chat-muted);
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 700;
}

.lucy-area-learn-box[aria-busy="true"] {
  color: var(--lucy-chat-muted);
}

.lucy-area-more {
  width: fit-content;
  margin-left: 36px;
  border: 0;
  background: transparent;
  color: var(--lucy-chat-blue);
  padding: 2px 0;
  font: inherit;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.lucy-area-more:hover,
.lucy-area-more:focus-visible {
  color: #1d4ed8;
  outline: 2px solid color-mix(in srgb, var(--lucy-chat-blue) 22%, transparent);
  outline-offset: 2px;
}

.lucy-tonight-card {
  cursor: pointer;
}

.lucy-tonight-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--lucy-chat-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}

.lucy-tonight-chevron {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: var(--lucy-chat-blue);
  font-size: 17px;
  line-height: normal;
  font-weight: 800;
  pointer-events: none;
}

@media (max-width: 900px) {
  .lucy-line {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .lucy-shell[data-lucy-question-phase="true"],
  .lucy-shell:has(.lucy-chat) {
    padding: 0;
  }

  .lucy-shell[data-lucy-question-phase="true"] .lucy-conversation-column,
  .lucy-shell:has(.lucy-chat) .lucy-conversation-column {
    width: 100%;
  }

  .lucy-chat {
    width: 100%;
  }

  .lucy-shell {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .lucy-shell[data-lucy-question-phase="true"],
  .lucy-shell:has(.lucy-chat) {
    padding-right: 0;
    padding-left: 0;
  }

  .lucy-conversation-column {
    padding-top: max(70px, 15vh, calc(env(safe-area-inset-top) + 54px));
  }

  .lucy-line {
    font-size: 20px;
  }

  .lucy-card {
    padding: 16px;
  }

  .lucy-plan-card {
    padding: 0;
  }

  .lucy-plan-stop {
    padding: 14px 15px;
  }

  .lucy-plan-chapter-header {
    padding-right: 15px;
    padding-left: 15px;
  }

  .lucy-choice-row,
  .lucy-thumb-chips {
    gap: 7px;
  }

  .lucy-choice,
  .lucy-thumb-chip {
    font-size: 14px;
    padding-inline: 11px;
  }
}

@media (max-width: 390px) {
  .lucy-chat-header,
  .lucy-chat-topbar {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .lucy-chat-body,
  .lucy-chat-transcript {
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }
}

@media (max-width: 360px) {
  .lucy-chat-body,
  .lucy-chat-transcript {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .lucy-chat-controls,
  .lucy-chat-chips,
  .lucy-area-card,
  .lucy-tonight-card,
  .lucy-area-more {
    margin-left: 36px;
  }

  .lucy-area-card,
  .lucy-tonight-card {
    width: calc(100% - 36px);
  }

  .lucy-chat-chip {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .lucy-shell {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }

  .lucy-close {
    right: max(8px, env(safe-area-inset-right));
  }

  .lucy-card {
    padding: 14px;
  }

  .lucy-plan-card {
    padding: 0;
  }
}

@media (max-width: 717px) and (max-height: 700px) {
  .lucy-conversation-column {
    min-height: 100%;
    padding-bottom: 0;
  }

  .lucy-zone-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin-top: auto;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .trip-header-lucy-face,
  .lucy-plan-stop[data-lucy-reveal] {
    transition: none;
    animation: none;
  }
}
