:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --white: #ffffff;
  --ink: #25242b;
  --text: #4d4b55;
  --muted: #8b8893;
  --line: #e9e7ed;
  --purple: #6355df;
  --purple-dark: #5143c5;
  --lilac: #eeebff;
  --lilac-ink: #6253be;
  --peach: #f9e7dd;
  --green: #3f7b67;
  --green-bg: #edf6ef;
  --amber: #996c2d;
  --amber-bg: #fcf2de;
  --danger: #ab5c57;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ebeae7; color: var(--text); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; cursor: pointer; color: inherit; transition: transform 120ms ease-out; transform-origin: center; }
button:active:not(:disabled) { transform: scale(.98); }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #c0b7ff; outline-offset: 3px; }
a { color: var(--purple); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.text-muted { color: var(--muted); }
.app-shell { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: env(safe-area-inset-top, 0px) 20px calc(98px + var(--safe-bottom)); background: var(--paper); position: relative; overflow: clip; }
.demo-banner { max-width: 480px; margin: 0 auto; padding: 6px 16px; background: #eeece8; color: #85788f; font-size: 11px; text-align: center; line-height: 1.5; }
.demo-banner strong { color: #77717d; font-weight: 500; }
.btn { min-height: 44px; border: 1px solid transparent; border-radius: 13px; padding: 10px 15px; display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; line-height: 1.5; text-decoration: none; }
.btn.primary { background: var(--purple); color: #fff; }

.btn.secondary { background: #fff; border-color: #e2ddec; color: var(--ink); }

.btn.ghost { color: var(--purple); background: transparent; }

.btn.small { padding: 9px 12px; font-size: 14px; }
.btn.danger { color: var(--danger); background: #fff4f1; border-color: #f0ddd7; }
.btn svg { flex: 0 0 auto; width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 500; line-height: 1.5; max-width: 100%; }
.badge.success { color: var(--green); background: var(--green-bg); }
.badge.pending { color: var(--amber); background: var(--amber-bg); }
.badge.neutral { color: #827a8e; background: #f1eef5; }
.badge.warning { color: #b27637; background: #fff0dd; }
.notice-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e69d81; vertical-align: middle; margin-left: 3px; }

/* Planetoo mobile shell. */
.app-shell > .demo-banner { margin: 0 -20px; max-width: none; font-size: 11px; padding: 6px 12px; letter-spacing: .02em; }
.app-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 3px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.planet-mark { width: 29px; height: 29px; color: var(--purple); display: grid; place-items: center; }
.planet-mark svg { width: 29px; height: 29px; }
.brand-word { font-size: 22px; letter-spacing: -.065em; font-weight: 700; color: #25222b; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-button { position: relative; width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: #77717e; }

.icon-button svg { width: 19px; height: 19px; }
.icon-button .notice-dot { position: absolute; top: 10px; right: 10px; border: 2px solid var(--paper); width: 9px; height: 9px; margin: 0; }
.view { padding-top: 11px; }
.page-heading { margin-bottom: 17px; }
.eyebrow { color: #918593; font-size: 11px; margin-bottom: 7px; letter-spacing: .06em; }
.page-heading h1 { font-size: 29px; letter-spacing: -.045em; font-weight: 650; line-height: 1.4; }
.subline { color: #817986; font-size: 13px; line-height: 1.8; margin-top: 7px; }
.trip-personas { row-gap: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 15px 0 19px; }
.avatar-stack { display: inline-flex; padding-right: 3px; }
.avatar-stack > * { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #e6d9ef; color: #8e699b; font-size: 11px; border: 2px solid var(--paper); }
.avatar-stack > * + * { margin-left: -6px; }
.avatar-stack > :nth-child(2) { background: #f1ddd2; color: #b8876e; }
.avatar-stack > :nth-child(3) { background: #dce6e0; color: #769280; }
.pill { display: inline-flex; align-items: center; min-height: 25px; border: 1px solid #e9e3eb; border-radius: 20px; padding: 3px 9px; color: #8e8296; font-size: 11px; background: #fff; }
.too-summary { display: flex; align-items: flex-start; gap: 12px; padding: 17px; background: #eeebfb; border: 1px solid #e8e2f8; border-radius: 19px; margin: 0 0 18px; }
.too-avatar { border: 0; flex-shrink: 0; display: grid; place-items: center; width: 37px; height: 37px; background: var(--purple); color: white; font-size: 14px; letter-spacing: -.08em; font-weight: 650; border-radius: 13px; }
.too-avatar svg { width: 23px; height: 23px; }
.too-copy { flex: 1; min-width: 0; }
.too-copy > strong { font-size: 14px; line-height: 1.7; font-weight: 600; color: #50466b; display: block; }
.too-copy > p { font-size: 13px; line-height: 1.8; color: #817394; margin-top: 5px; }
.assistant-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 5px; margin-bottom: -8px; }
.assistant-actions .btn { min-height: 44px; padding: 8px 0; font-size: 14px; color: #7962b1; }
.plan-card { background: #fff; border: 1px solid #eae5ee; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 22px rgba(59, 37, 83, .025); }
.plan-heading { padding: 19px 18px 9px; display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.plan-heading h2 { overflow-wrap: anywhere; font-size: 19px; font-weight: 650; letter-spacing: -.025em; line-height: 1.4; }
.plan-heading p { font-size: 13px; color: #8b7f96; margin-top: 5px; line-height: 1.7; }
.plan-heading > .btn { white-space: nowrap; flex-shrink: 0; font-size: 14px; min-height: 44px; padding: 9px 2px 9px 9px; margin-top: -7px; }
.trip-summary { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 18px 16px; font-size: 12px; color: #94859e; }
.trip-summary > span:not(.badge) { padding: 2px 0; }
.trip-summary > span:not(.badge) + span:not(.badge)::before { content: '·'; color: #bbaec4; padding-right: 7px; }
.trip-summary .badge { padding: 3px 7px; font-size: 11px; }
.day-tabs { display: flex; gap: 7px; padding: 0 17px 4px; }
.day-tabs button { padding: 9px 5px; flex: 1; min-height: 44px; border: 1px solid #f0ebf4; border-radius: 11px; background: #fbf9fc; color: #85788f; font-size: 14px; }
.day-tabs button.active { border-color: #dcd0f4; background: #f0eafa; color: #8064ac; font-weight: 550; }
.plan-cta { padding: 15px 17px 17px; border-top: 1px solid #eee8f3; }
.plan-cta .btn { width: 100%; min-height: 48px; border-radius: 14px; font-size: 14px; }
.plan-cta small, .plan-cta p { display: block; font-size: 13px; color: #9b8ba7; text-align: center; line-height: 1.7; margin-top: 9px; }
.quick-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 17px 0; }
.quick-service { min-width: 0; border: 1px solid #e9e2ed; border-radius: 17px; background: #fff; padding: 16px 6px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100px; }
.quick-service > svg { width: 21px; height: 21px; color: #8c72b1; margin-bottom: 8px; }
.quick-service:nth-child(2) > svg { color: #bd8c72; }
.quick-service:nth-child(3) > svg { color: #8c99b0; }
.quick-service strong { font-size: 14px; font-weight: 550; color: #65566f; }
.quick-service small { overflow-wrap: anywhere; font-size: 11px; color: #85788f; margin-top: 4px; line-height: 1.5; }

.destination-inline { padding: 16px 17px; border: 1px solid #e6dfea; border-radius: 17px; display: flex; align-items: center; gap: 12px; background: #f1edf2; }
.destination-inline > div { flex: 1; min-width: 0; }
.destination-inline small { display: block; font-size: 12px; color: #85788f; }
.destination-inline strong { display: block; font-size: 14px; font-weight: 550; color: #403947; margin-top: 3px; }
.destination-inline button { flex-shrink: 0; border: 0; background: transparent; color: #9c80ab; font-size: 14px; padding: 10px 0 10px 8px; }
.section-heading { margin-bottom: 22px; }
.section-heading h1 { font-size: 28px; font-weight: 650; letter-spacing: -.04em; line-height: 1.4; }
.section-heading p { font-size: 13px; color: #8f7d9c; line-height: 1.8; margin-top: 8px; }
.search-strip { width: 100%; text-align: left; min-height: 48px; border: 1px solid #e4dce9; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #85788f; font-size: 14px; margin-bottom: 17px; }
.search-strip svg { width: 18px; height: 18px; flex-shrink: 0; color: #b19bbd; }
.destination-list { display: flex; flex-direction: column; gap: 11px; }
.destination-card { width: 100%; min-height: 104px; border: 1px solid #e9e1ee; border-radius: 18px; background: #fff; display: flex; align-items: center; gap: 13px; text-align: left; padding: 16px; }

.destination-symbol { width: 57px; height: 62px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: #eee6f6; color: #9a80b6; font-size: 23px; font-weight: 550; }
.destination-symbol.v { background: #e6eee6; color: #7e9978; font-family: Georgia, serif; font-size: 29px; }
.destination-symbol.park { background: #f0ecd9; color: #b4a367; }
.destination-symbol.dining { background: #f8e7df; color: #c19882; }
.destination-symbol.stay { background: #eae6f7; color: #a191c6; }
.destination-symbol svg { width: 26px; height: 26px; }
.destination-copy { flex: 1; min-width: 0; }
.destination-copy strong { display: block; font-size: 14px; font-weight: 600; color: #403947; }
.destination-copy p { font-size: 13px; color: #85788f; line-height: 1.7; margin-top: 5px; }
.mini-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.mini-tags span { display: inline-flex; padding: 2px 6px; border-radius: 5px; font-size: 11px; color: #85788f; background: #f6f0fa; }
.chevron { flex-shrink: 0; color: #baa3c9; font-size: 21px; font-weight: 300; }
.chevron svg { width: 15px; height: 15px; }
.app-promo { display: flex; align-items: center; gap: 18px; margin-top: 21px; padding: 22px 20px; border-radius: 22px; background: #e8e1f5; border: 1px solid #e1d7ee; text-align: left; width: 100%; }
.app-promo-copy { flex: 1; min-width: 0; }
.app-promo-copy small { color: #ab90c4; font-size: 11px; letter-spacing: .08em; }
.app-promo-copy h3 { color: #403947; font-size: 17px; font-weight: 600; line-height: 1.5; margin-top: 4px; }
.app-promo-copy p { color: #85788f; font-size: 13px; line-height: 1.8; margin-top: 7px; }
.space-symbol { flex-shrink: 0; width: 58px; height: 64px; display: grid; place-items: center; color: #a98acb; }
.space-symbol svg { width: 55px; height: 55px; }
.too-welcome { text-align: center; padding: 14px 10px 22px; }
.too-avatar.large { width: 65px; height: 65px; border-radius: 22px; font-size: 22px; margin: 0 auto 15px; }
.too-avatar.large svg { width: 38px; height: 38px; }
.too-welcome h1 { font-size: 28px; letter-spacing: -.04em; font-weight: 650; }
.too-welcome p { color: #92799f; font-size: 13px; line-height: 1.8; margin-top: 8px; }
.conversation-card { border: 1px solid #e6dced; background: #fff; border-radius: 22px; padding: 18px; }
.chat-author { font-size: 12px; font-weight: 600; color: #9976b4; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.chat-author .too-avatar { width: 25px; height: 25px; border-radius: 9px; font-size: 11px; }
.chat-bubble { background: #f5effc; border-radius: 0 15px 15px 15px; padding: 14px; color: #8a689e; font-size: 14px; line-height: 1.9; }
.context-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.context-chips span { padding: 4px 8px; border-radius: 7px; border: 1px solid #eadff1; font-size: 11px; color: #85788f; }
.quick-prompts { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.quick-prompts button { width: 100%; min-height: 47px; border: 1px solid #e8ddee; background: #fff; color: #9a75b0; border-radius: 11px; padding: 11px 12px; text-align: left; font-size: 14px; }

.message-card { border: 1px solid #e4d6ef; background: #f2eafc; border-radius: 18px; padding: 17px; margin-top: 15px; font-size: 13px; color: #9573ad; line-height: 1.9; }
.message-card h3, .message-card strong { color: #403947; font-size: 14px; font-weight: 600; }
.message-card p { margin-top: 7px; }
.message-card .btn { margin-top: 10px; }
.composer { background: #fff; border: 1px solid #e2d2ee; border-radius: 19px; padding: 13px; margin-top: 18px; display: flex; align-items: flex-end; gap: 9px; }
.composer textarea { width: 100%; min-width: 0; min-height: 68px; resize: vertical; max-height: 160px; background: transparent; border: 0; padding: 3px 2px; font-size: 16px; color: #755185; line-height: 1.7; }
.composer textarea::placeholder { color: #c1a6d1; }
.composer button { width: 44px; min-height: 44px; flex-shrink: 0; background: var(--purple); border: 0; border-radius: 12px; color: #fff; display: grid; place-items: center; }
.composer button svg { width: 18px; height: 18px; }
.profile-card { text-align: center; padding: 15px 10px 24px; }
.profile-avatar { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #eadff3; color: #b28bca; font-size: 25px; margin: 0 auto 12px; }
.profile-avatar svg { width: 31px; height: 31px; }
.profile-card h1 { font-size: 23px; font-weight: 600; letter-spacing: -.03em; }
.profile-card p { font-size: 13px; color: #85788f; line-height: 1.8; margin-top: 7px; }
.account-list { border: 1px solid #e6d7ef; background: #fff; border-radius: 20px; padding: 0 17px; }
.account-row { width: 100%; border: 0; background: transparent; text-align: left; min-height: 76px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-row + .account-row { border-top: 1px solid #f0e6f5; }
.account-row > div { flex: 1; min-width: 0; }
.account-row strong { display: block; color: #403947; font-size: 14px; font-weight: 550; }
.account-row small { display: block; font-size: 13px; color: #85788f; margin-top: 5px; line-height: 1.7; }
.account-row > svg { width: 17px; height: 17px; color: #ba96cc; flex-shrink: 0; }
.app-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 19px; }
.app-feature { padding: 18px 14px; background: #fff; border: 1px solid #e7d7ef; border-radius: 18px; text-align: left; }
.app-feature > svg { width: 24px; height: 24px; color: #ac79ce; margin-bottom: 9px; }
.app-feature h3 { font-size: 14px; color: #403947; font-weight: 600; }
.app-feature p { font-size: 13px; color: #85788f; line-height: 1.8; margin-top: 6px; }
.app-tag { display: inline-flex; margin-top: 11px; padding: 3px 6px; border-radius: 5px; background: #f4eafa; color: #85788f; font-size: 11px; }
.app-note { color: #85788f; font-size: 13px; line-height: 1.8; margin: 13px 2px; }
.prototype-note { font-size: 11px; line-height: 1.8; color: #aba0b3; text-align: center; padding: 24px 8px 6px; }
.bottom-nav { position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 12px calc(9px + var(--safe-bottom)); background: #fff; border-top: 1px solid #ece7f0; box-shadow: 0 -5px 24px #47305903; }
.bottom-nav button { min-height: 49px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border: 0; border-radius: 12px; padding: 5px; background: transparent; color: #a49aaa; }
.bottom-nav button.active { color: var(--purple); }
.bottom-nav button svg { width: 21px; height: 21px; }
.bottom-nav button.active svg { stroke-width: 2; }
.bottom-nav button .tab-label, .bottom-nav button label, .bottom-nav button span { font-size: 12px; font-weight: 500; line-height: 1.4; cursor: pointer; }

.destination-cover, .app-preview-image { overflow: hidden; border-radius: 17px; margin-bottom: 17px; background: #ede7f2; }
.destination-cover img, .app-preview-image img { width: 100%; height: auto; display: block; }
.destination-cover img { aspect-ratio: 16 / 10; object-fit: cover; }
.destination-detail h3 { font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.destination-detail p { font-size: 13px; color: #8e799c; line-height: 1.9; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.detail-tags span { border: 1px solid #e6daee; padding: 5px 8px; border-radius: 7px; font-size: 11px; color: #85788f; }
.app-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 17px 0; }
.app-choice-grid button { border: 1px solid #e6d8ef; background: #fbf7fe; border-radius: 13px; padding: 13px 11px; min-height: 62px; text-align: left; color: #85788f; font-size: 14px; }
.app-choice-grid button strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.app-choice-grid button.active { border-color: #aa88cd; background: #f1e6fc; color: #9770b5; }
.handoff-summary { margin: 17px 0; padding: 16px; border: 1px solid #e6d7ef; border-radius: 15px; background: #faf6fd; }
.handoff-summary h3 { font-size: 14px; font-weight: 600; margin-bottom: 13px; }
.handoff-summary dl { overflow-wrap: anywhere; margin: 0; display: grid; grid-template-columns: 80px 1fr; gap: 10px; font-size: 13px; }
.handoff-summary dt { color: #85788f; }
.handoff-summary dd { min-width: 0; overflow-wrap: anywhere; margin: 0; color: #9872ac; }
.mode-label { display: inline-flex; align-items: center; gap: 5px; color: #85788f; font-size: 11px; border: 1px solid #e6d8ef; border-radius: 7px; padding: 4px 7px; margin-bottom: 12px; }
.sheet-handle { display: none; }
.header-actions .mode-label { margin: 0 1px 0 0; padding: 4px 7px; border-color: #e2dce8; color: #8a7d95; background: transparent; font-size: 11px; white-space: nowrap; }
.too-summary .too-avatar { width: 44px; height: 44px; min-height: 44px; border-radius: 14px; }
.plan-description { padding: 0 18px; margin: 0 0 10px; font-size: 13px; color: #817789; line-height: 1.8; }
.day-tabs button small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; }
.section-label { flex-wrap: wrap; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 23px 0 12px; }
.section-label h2 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.section-label > span { color: #998aa6; font-size: 11px; }
.destination-copy strong small { font-size: 11px; font-weight: 400; color: #8e7d9a; margin-left: 2px; }
.delay-trigger { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: transparent; border: 0; border-radius: 12px; margin: 13px 0 2px; padding: 11px; color: #8f7c9d; font-size: 14px; }
.delay-trigger svg { width: 15px; height: 15px; }

.app-promo-copy > span { display: inline-block; color: #9276aa; font-size: 13px; margin-top: 13px; }
.chat-author > span { color: #9e8aac; font-weight: 400; font-size: 11px; }
.message-card { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; padding: 15px; background: #fff; border-color: #e7deed; }
.message-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: #f5ecf8; color: #a380b9; flex-shrink: 0; }
.message-icon svg { width: 17px; height: 17px; }
.message-card > span:nth-child(2) { flex: 1; min-width: 0; }
.message-card strong { display: block; font-size: 14px; line-height: 1.7; }
.message-card small { display: block; font-size: 13px; line-height: 1.7; margin-top: 3px; color: #9b84ac; }
.message-card > span:last-child { color: #b79fc6; font-size: 20px; }
.chat-response { margin-top: 15px; border: 1px solid #e5d7ef; border-radius: 16px; background: #f1e8fa; padding: 16px; color: #887098; font-size: 14px; line-height: 1.9; }
.account-row > span:first-child { flex: 1; min-width: 0; }
.account-row > span:last-child { color: #a48db3; }


/* Shared itinerary and service components. */
.timeline { padding: 0 17px 4px; }
.day-label { display: flex; align-items: baseline; gap: 9px; color: #6c627b; font-size: 14px; font-weight: 650; padding: 18px 0 15px; }
.day-label span { color: #85788f; font-size: 12px; font-weight: 400; }
.day-label:not(:first-child) { border-top: 1px solid #eeeaf2; margin-top: 2px; }
.timeline-item { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 13px; position: relative; padding-bottom: 21px; }
.timeline-item::before { content: ""; position: absolute; top: 13px; bottom: 0; left: 48px; width: 1px; background: #e7e0ef; }
.timeline-item::after { content: ""; position: absolute; top: 5px; left: 45px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #b9acd2; box-shadow: 0 0 0 1px #d6cce4; }
.timeline-item:last-child::before { display: none; }
.timeline-item .time { padding-top: 1px; color: #938a9c; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; }
.node-content { min-width: 0; padding-left: 4px; }
.node-content h3 { font-size: 14px; line-height: 1.5; font-weight: 600; }
.node-content p { margin-top: 5px; color: #938c9a; font-size: 13px; line-height: 1.7; }
.node-content .badge { margin-top: 7px; font-size: 11px; padding: 3px 7px; }
.node-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 5px 0 -5px; }
.node-actions .btn { min-height: 44px; padding: 9px 0; font-size: 14px; }
.node-actions .btn + .btn { margin-left: 8px; }
.lock-btn { min-height: 44px; border: none; background: transparent; color: #aaa2b2; padding: 9px 0; font-size: 12px; }
.lock-btn.locked { color: var(--purple); }
.lock-btn.locked::before { content: "✓ "; }
.panel-footer { border-top: 1px solid #eeebf2; padding: 15px 17px 17px; }
.panel-footer .btn { width: 100%; min-height: 47px; border-radius: 14px; }
.panel-footer small, .panel-footer p { display: block; font-size: 13px; color: #85788f; text-align: center; margin-top: 9px; line-height: 1.7; }
.service-section { margin-top: 24px; }
.service-section > h2 { font-size: 17px; margin-bottom: 12px; font-weight: 650; }
.service-grid { display: flex; flex-direction: column; gap: 12px; }
.service-card { border: 1px solid #ece8ee; border-radius: 18px; background: #fff; padding: 19px; }
.service-kicker { font-size: 12px; color: #85788f; margin-bottom: 6px; }
.service-card h3 { font-size: 15px; margin-bottom: 6px; font-weight: 600; }
.service-card p { font-size: 13px; line-height: 1.8; color: #8b818f; }
.service-status { margin: 12px 0 7px; color: #756e82; font-size: 12px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.member-strip { flex-wrap: wrap; background: #eeebfb; border: 1px solid #e4ddf2; border-radius: 18px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.member-strip small { font-size: 12px; color: #9a8bb5; }
.member-strip h3 { font-size: 18px; font-weight: 600; margin-top: 4px; color: #594d76; }
.member-strip p { font-size: 13px; color: #9587a8; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #928997; font-size: 13px; }
.stat-row strong { color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }
.stat-row + .stat-row { margin-top: 8px; }
.footer { font-size: 11px; line-height: 1.8; color: #aea7b1; padding: 24px 2px 6px; display: flex; flex-direction: column; gap: 5px; }
.demo-controls { margin-top: 19px; padding: 11px 13px; border: 1px dashed #ddd7e2; border-radius: 13px; color: #85788f; font-size: 12px; }
.demo-controls summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; user-select: none; }
.demo-controls summary::before { content: "+"; margin-right: 8px; font-size: 15px; line-height: 1; }
.demo-controls[open] summary::before { content: "−"; }
.demo-controls > p { color: #85788f; font-size: 12px; line-height: 1.8; margin-top: 11px; }
.control-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 7px; }
.control-grid .btn { font-size: 14px; padding: 9px 11px; }

/* All actions open as a bottom sheet, with persistent actions and one scroll area. */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-end; padding: 0; background: rgba(32, 26, 45, .36); animation: fade-in 160ms ease-out; }
.modal { position: relative; width: min(100%, 480px); max-height: 92vh; max-height: min(92dvh, 920px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -15px 80px rgba(30, 18, 52, .12); animation: sheet-in 190ms ease-out; }
.modal::before { content: ""; width: 32px; height: 4px; border-radius: 4px; background: #e4dfea; margin: 11px auto 0; flex-shrink: 0; }
.modal-header { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px 13px; border-bottom: 1px solid #f0ecf3; background: #fff; }
.modal-header h2 { min-width: 0; overflow-wrap: anywhere; font-size: 19px; font-weight: 650; line-height: 1.5; letter-spacing: -.03em; }
.modal-header p { font-size: 13px; color: #85788f; margin-top: 5px; }
.close-btn { width: 44px; min-height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 0; background: #f5f2f7; border-radius: 50%; font-size: 24px; color: #978b9f; line-height: 1; }

.modal-body { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; scrollbar-width: thin; scrollbar-color: #ded5e8 transparent; }
.modal-body > p { font-size: 13px; color: #85788f; line-height: 1.8; }
.modal-body > h3 { font-size: 15px; font-weight: 600; margin: 20px 0 10px; }
.modal-body > h3:first-child { margin-top: 0; }
.modal-body > p + * { margin-top: 15px; }
.modal-body ul { font-size: 13px; color: #8c7d96; padding-left: 18px; line-height: 1.9; }
.modal-footer { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; border-top: 1px solid #eee8f3; background: #fff; padding: 13px 20px calc(16px + var(--safe-bottom)); }
.modal-footer .btn { flex: 1 1 auto; min-height: 48px; font-size: 14px; }
.modal-footer:empty { display: none; }
.modal-footer > p { flex-basis: 100%; font-size: 12px; color: #85788f; line-height: 1.7; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.field label { display: block; font-size: 13px; color: #96889f; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; border: 1px solid #e5ddec; border-radius: 11px; background: #fbfafc; color: #62546d; padding: 11px 12px; font-size: 16px; line-height: 1.4; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b2a0db; }
.field small { font-size: 12px; color: #85788f; display: block; margin-top: 5px; }
.field input:disabled, .field select:disabled { color: #85788f; background: #f6f2f8; }
.seat-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; border: 1px solid #ede7f2; border-radius: 17px; background: #f9f6fc; margin: 16px 0; }
.seat { min-width: 0; min-height: 80px; border: 1px solid #e2d8ed; border-radius: 12px; background: #fff; color: #9481a3; padding: 12px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.seat strong { color: #655073; font-size: 14px; font-weight: 600; }
.seat span, .seat small { font-size: 11px; }

.seat.occupied { background: #efebf2; color: #c3b5cd; border-color: #e9e2ef; }
.seat.occupied strong { color: #bcacc8; }
.seat.selected { background: var(--purple); color: #ddd5ff; border-color: var(--purple); }
.seat.selected strong { color: #fff; }
.callout { background: #f5f1fa; border: 1px solid #ece4f4; border-radius: 13px; padding: 13px 15px; color: #85788f; font-size: 13px; line-height: 1.9; margin: 17px 0; }
.callout strong { color: #7a648c; font-weight: 600; }
.callout p { margin-top: 5px; }
.callout.warning { background: var(--amber-bg); border-color: #f0dfbb; color: #a2824b; }
.callout.warning strong { color: #8b692f; }
.callout.success { background: var(--green-bg); border-color: #dce9dc; color: #72957a; }
.callout.success strong { color: #467752; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #85788f; font-size: 13px; line-height: 1.7; margin: 13px 0; }
.status-line input[type=checkbox] { width: 19px; height: 19px; margin: 0 3px 0 0; accent-color: var(--purple); flex-shrink: 0; }
label.status-line { min-height: 44px; cursor: pointer; }
.status-line strong { color: #79608c; }
.queue-scene { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.queue-hero { margin-top: 17px; padding: 23px 20px 20px; background: #f1edfb; border: 1px solid #e9e1f6; border-radius: 19px; text-align: center; }
.queue-hero small { font-size: 12px; color: #85788f; }
.queue-number { font-size: clamp(34px, 10vw, 49px); line-height: 1.3; font-weight: 600; color: #6b4a92; letter-spacing: -.04em; margin: 4px 0; }
.queue-number small { font-size: 13px; letter-spacing: 0; }
.queue-stats { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; padding-top: 14px; border-top: 1px solid #e6dcf1; }
.queue-stats strong { font-size: 15px; color: #896b9f; font-weight: 550; }
.queue-stats span { font-size: 13px; color: #85788f; }
.queue-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding: 23px 0 6px; }
.queue-person { width: 46px; height: 44px; border-radius: 13px 13px 10px 10px; background: #f0eaf7; color: #bcabcc; font-size: 11px; display: grid; place-items: center; }
.queue-person.self { background: var(--purple); color: #fff; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.benefit-card { padding: 17px; border: 1px solid #e8dfef; border-radius: 17px; background: #fff; }
.benefit-heading { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; }
.benefit-heading h3 { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; line-height: 1.6; }
.benefit-heading .badge { flex-shrink: 0; }
.benefit-card p { font-size: 13px; color: #85788f; line-height: 1.9; margin-top: 8px; }
.benefit-state { color: #85788f; font-size: 12px; }
.benefit-actions { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.benefit-actions .btn { font-size: 14px; }
.benefit-card .demo-controls { background: #fcfafe; padding: 6px 11px 10px; margin-top: 13px; }
.diff-list { border: 1px solid #e8dfef; border-radius: 16px; overflow: hidden; margin: 17px 0; }
.diff-row { padding: 15px 16px; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; border-bottom: 1px solid #eee7f4; background: #fdfbff; }
.diff-row:last-child { border-bottom: 0; }
.diff-name { min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: #776386; font-weight: 600; }
.diff-times { font-size: 13px; color: #85788f; font-variant-numeric: tabular-nums; white-space: nowrap; }
.diff-times del { color: #c3b3cf; }
.diff-times strong { color: var(--purple); font-weight: 600; }
.diff-status { grid-column: 1 / -1; font-size: 12px; color: #85788f; line-height: 1.7; }
.empty-state { padding: 29px 21px; border: 1px dashed #ded1e8; background: #fbf8fd; border-radius: 18px; text-align: center; }
.empty-state h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.empty-state p { font-size: 13px; color: #85788f; line-height: 1.9; }
.toast { position: fixed; bottom: calc(90px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(420px, calc(100% - 40px)); background: #3f354d; color: #fff; border-radius: 14px; padding: 13px 17px; z-index: 200; box-shadow: 0 6px 28px #34223c22; font-size: 13px; line-height: 1.7; text-align: center; pointer-events: none; animation: fade-in 150ms ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 600px) { .app-shell { border-left: 1px solid #e6e3e7; border-right: 1px solid #e6e3e7; } .modal-backdrop { background: rgba(32, 26, 45, .26); } }
@media (max-width: 360px) { .brand-word { font-size: 20px; } .brand { gap: 6px; } .app-header { gap: 8px; } .header-actions .mode-label { font-size: 11px; padding-left: 5px; padding-right: 5px; } .destination-inline { flex-wrap: wrap; gap: 4px; } .destination-inline > div { flex-basis: 100%; } .destination-inline button { padding-left: 0; } .diff-row { grid-template-columns: 1fr; } .diff-times { white-space: normal; } .diff-status { grid-column: 1; } .plan-heading { gap: 5px; } .plan-heading > .btn { padding-left: 5px; } .app-promo { align-items: flex-start; } .space-symbol { display: none; } .app-shell { padding-left: 16px; padding-right: 16px; } .app-shell > .demo-banner { margin-left: -16px; margin-right: -16px; } .page-heading h1 { font-size: 26px; } .plan-heading { padding-left: 15px; padding-right: 15px; } .quick-services { gap: 7px; } .quick-service { padding-left: 4px; padding-right: 4px; } .quick-service small { overflow-wrap: anywhere; font-size: 11px; } .destination-card { padding: 13px; gap: 10px; } .destination-symbol { width: 48px; height: 56px; } .destination-copy strong { font-size: 14px; } .app-promo { gap: 11px; padding: 18px 15px; } .space-symbol { width: 44px; } .app-feature-grid { gap: 9px; } .app-feature { padding: 16px 12px; } .modal-header, .modal-body { padding-left: 17px; padding-right: 17px; } .modal-footer { padding-left: 17px; padding-right: 17px; } .modal-header h2 { min-width: 0; overflow-wrap: anywhere; font-size: 17px; } .field-grid { grid-template-columns: 1fr; } .seat-map { padding: 11px; gap: 8px; } .benefit-heading h3 { min-width: 0; overflow-wrap: anywhere; font-size: 14px; } .diff-row { gap: 5px 8px; padding: 14px 12px; } .diff-times { font-size: 13px; } }
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { background: var(--purple-dark); }
  .btn.secondary:hover { background: #f9f7ff; border-color: #cbc3ea; }
  .btn.ghost:hover { background: #ede9f7; }
  .icon-button:hover { background: #edeae8; }
  .quick-service:hover { background: #fbf8ff; border-color: #d8cce5; }
  .destination-card:hover { border-color: #ccbcdd; }
  .quick-prompts button:hover { background: #f8f2fe; border-color: #cbb1df; }
  .bottom-nav button:hover { background: #f9f6fc; }
  .delay-trigger:hover { background: #eee9f3; }
  .close-btn:hover { background: #eee8f3; }
  .seat.available:hover { background: #f3edff; border-color: #bba9d9; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
