:root {
  color: #162b29;
  background: #f6f6f1;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 1180px; background: #f6f6f1; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #63bcb1; outline-offset: 3px; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; }
.topbar { height: 68px; padding: 0 42px; background: #fff; border-bottom: 1px solid #e7e9e2; display: flex; align-items: center; gap: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Georgia, "Songti SC", serif; font-size: 23px; font-weight: 700; color: #173b36; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #15776c; }
.brand-ai { margin-left: 2px; color: #e16342; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .8px; vertical-align: 3px; }
.main-nav { display: flex; height: 100%; gap: 34px; align-items: center; font-size: 14px; color: #66736f; }
.main-nav a { height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.main-nav a.active { color: #173b36; font-weight: 700; border-color: #15776c; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-button, .quiet-icon, .stop-menu { display: grid; place-items: center; border: 0; background: transparent; color: #546460; }
.icon-button { width: 36px; height: 36px; border: 1px solid #e2e7e2; border-radius: 6px; }
.icon-button:hover { color: #15776c; border-color: #afc8c1; background: #f5fbf9; }
.avatar-button { border: 0; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; background: #c9563e; }

.workspace { width: min(1440px, calc(100% - 80px)); margin: 0 auto; padding: 36px 0 46px; }
.intro-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: #58716a; font-weight: 700; font-size: 12px; letter-spacing: .35px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; color: #153732; letter-spacing: 0; font-size: 34px; line-height: 1.18; }
.subtitle { color: #687570; font-size: 14px; margin-bottom: 0; }
.intro-actions { display: flex; align-items: center; gap: 10px; }
.primary-button, .secondary-button, .secondary-icon-text { border: 1px solid transparent; min-height: 40px; padding: 0 15px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 13px; }
.primary-button { color: #fff; background: #15776c; }
.primary-button:hover { background: #0e655c; }
.secondary-button, .secondary-icon-text { color: #31524c; background: #fff; border-color: #dce4df; }
.secondary-button:hover, .secondary-icon-text:hover { background: #f2f8f5; border-color: #b6cdc5; }

.trip-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-top: 1px solid #dde3dd; border-bottom: 1px solid #dde3dd; }
.trip-title-wrap, .title-line, .trip-heading p, .trip-meta { display: flex; align-items: center; }
.trip-title-wrap { gap: 12px; }
.destination-photo { width: 44px; height: 44px; display: inline-block; border-radius: 6px; background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=160&q=85') center / cover no-repeat; }
.title-line { gap: 4px; }
.title-line h2 { margin: 0; font-family: Georgia, "Songti SC", serif; color: #183a35; font-size: 20px; }
.quiet-icon { width: 28px; height: 28px; border-radius: 5px; }
.quiet-icon:hover, .stop-menu:hover { color: #0c6c62; background: #eaf4f0; }
.trip-heading p { gap: 5px; margin: 5px 0 0; color: #65746f; font-size: 12px; }
.dot-divider { width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: #a8b4af; }
.trip-meta { color: #74827e; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: #52a478; }

.dashboard-grid { display: grid; grid-template-columns: 230px minmax(450px, 1fr) 330px; min-height: 674px; background: #fff; border: 1px solid #dfe6e1; border-radius: 7px; overflow: hidden; margin-top: 24px; box-shadow: 0 10px 28px rgba(17, 50, 43, .055); }
.day-rail, .itinerary-panel { border-right: 1px solid #e7ebe7; }
.day-rail { display: flex; flex-direction: column; padding: 17px 12px 14px; background: #fbfcfa; }
.rail-top { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 14px; font-size: 13px; font-weight: 700; color: #48615a; }
.day-list { display: grid; gap: 4px; }
.day-button { display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; width: 100%; min-height: 64px; gap: 9px; padding: 8px 7px; text-align: left; color: #5e6e69; border: 1px solid transparent; background: transparent; border-radius: 6px; }
.day-button:hover { background: #f0f7f4; }
.day-button.selected { color: #163e37; border-color: #b8d5ca; background: #e9f5f0; }
.day-chip { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #d7e0db; border-radius: 5px; background: #fff; font-size: 11px; font-weight: 800; }
.day-button.selected .day-chip { color: #fff; border-color: #15776c; background: #15776c; }
.day-copy { display: grid; gap: 4px; min-width: 0; }
.day-copy b { font-size: 12px; }.day-copy small { overflow: hidden; color: #7a8884; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.add-day-button { border: 1px dashed #c7d6d0; color: #467269; background: #fff; min-height: 36px; margin: 12px 5px 0; border-radius: 5px; font-size: 12px; font-weight: 700; }
.add-day-button:hover { border-color: #15776c; background: #f0f8f5; }
.rail-tip { display: flex; gap: 8px; align-items: flex-start; margin: auto 5px 0; padding-top: 18px; border-top: 1px solid #e4e9e4; color: #6c7a76; font-size: 11px; line-height: 1.6; }.rail-tip svg { color: #15776c; flex: 0 0 auto; }

.itinerary-panel { padding: 25px 25px 21px; }.panel-header, .section-title, .map-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.panel-header h2 { margin-bottom: 0; color: #203c37; font-size: 20px; letter-spacing: 0; }.secondary-icon-text { min-height: 34px; padding: 0 10px; white-space: nowrap; font-size: 12px; }
.weather-strip { display: flex; align-items: center; justify-content: space-between; margin: 21px 0 12px; padding: 12px 14px; border-radius: 6px; }.weather-strip.sunny { background: #fff7dc; color: #695721; }.weather-strip.cloudy { background: #eaf2f4; color: #355a61; }.weather-strip.rainy { background: #e8f0f6; color: #315772; }.weather-main { display: flex; gap: 10px; align-items: center; }.weather-main span { display: grid; gap: 3px; }.weather-main b { font-size: 13px; }.weather-main small { font-size: 11px; opacity: .8; }.weather-alert { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; }
.route-summary { display: flex; gap: 16px; padding: 0 2px 17px; color: #70807b; font-size: 11px; border-bottom: 1px solid #e8ece8; }.route-summary span { display: inline-flex; align-items: center; gap: 5px; }
.timeline { padding-top: 19px; }.timeline-stop { position: relative; display: grid; grid-template-columns: 48px 31px minmax(0, 1fr) 26px; gap: 10px; min-height: 113px; }.timeline-stop time { padding-top: 7px; color: #63726d; font-size: 12px; font-variant-numeric: tabular-nums; }.stop-icon { z-index: 1; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; }.stop-icon.spot { background: #e3f3ed; color: #14765d; }.stop-icon.food { background: #fff0e6; color: #d1612a; }.stop-icon.hotel { background: #ebeaf6; color: #6652ab; }.stop-icon.travel { background: #e5f1f5; color: #1f7284; }.timeline-line { position: absolute; width: 1px; left: 63px; top: 33px; bottom: 0; background: #d9e4de; }.stop-content { min-width: 0; padding: 4px 0 10px; }.stop-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.stop-heading h3 { margin: 0; overflow: hidden; color: #243e39; font-size: 14px; letter-spacing: 0; white-space: nowrap; text-overflow: ellipsis; }.stop-heading span { flex: 0 0 auto; color: #58716a; font-size: 11px; }.stop-content p { margin: 4px 0 9px; color: #75827f; font-size: 12px; }.stop-actions { display: flex; gap: 12px; }.stop-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #4d7269; border: 0; background: transparent; font-size: 11px; }.stop-actions button:hover { color: #0b6258; text-decoration: underline; }.stop-menu { width: 26px; height: 26px; margin-top: 1px; }.add-stop-button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 36px; color: #36695e; border: 1px dashed #b9d2c8; background: #f9fdfb; border-radius: 5px; font-size: 12px; font-weight: 700; }.add-stop-button:hover { background: #edf8f3; border-color: #16776c; }

.insights-panel { background: #fcfdfb; }.map-panel { border-bottom: 1px solid #e5ebe6; }.map-top { padding: 17px 17px 13px; align-items: center; color: #405952; font-weight: 700; font-size: 12px; }.map-top span, .map-top button { display: inline-flex; gap: 6px; align-items: center; }.map-top button { padding: 0; color: #3b7469; border: 0; background: transparent; font-size: 11px; font-weight: 700; }.map-scene { position: relative; height: 222px; overflow: hidden; background: linear-gradient(rgba(222, 234, 222, .63), rgba(238, 239, 223, .53)), url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=900&q=85') center / cover; }.map-scene::before, .map-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; }.map-scene::before { background-image: linear-gradient(rgba(49, 110, 87, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 110, 87, .1) 1px, transparent 1px); background-size: 30px 30px; mix-blend-mode: multiply; }.map-scene::after { background: rgba(244, 247, 238, .18); }.route-path { position: absolute; z-index: 2; display: block; height: 3px; background: #e06242; transform-origin: left; box-shadow: 0 0 0 3px rgba(255,255,255,.75); }.path-one { width: 128px; top: 71px; left: 52px; transform: rotate(29deg); }.path-two { width: 92px; top: 134px; left: 159px; transform: rotate(-29deg); }.map-dot { z-index: 3; position: absolute; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: #e06242; box-shadow: 0 1px 5px rgba(44, 47, 32, .4); }.dot-one { top: 63px; left: 46px; }.dot-two { top: 124px; left: 164px; }.dot-three { top: 89px; left: 244px; }.map-label { z-index: 4; position: absolute; padding: 4px 6px; border-radius: 4px; color: #30443d; background: rgba(255,255,255,.91); box-shadow: 0 2px 8px rgba(19,57,50,.12); font-size: 10px; }.label-a { top: 38px; left: 22px; }.label-b { top: 151px; left: 132px; }.map-shade { z-index: 1; position: absolute; border: 1px solid rgba(66, 125, 94, .2); background: rgba(87, 149, 104, .13); }.shade-one { width: 142px; height: 54px; top: 15px; right: -15px; transform: rotate(-18deg); }.shade-two { width: 90px; height: 134px; bottom: -55px; left: -23px; transform: rotate(24deg); }.map-day-1 .path-one { transform: rotate(-17deg); width: 149px; top: 92px; }.map-day-1 .path-two { transform: rotate(41deg); top: 57px; left: 188px; }.map-day-2 .path-one { transform: rotate(48deg); width: 100px; top: 44px; left: 80px; }.map-day-2 .path-two { transform: rotate(-12deg); top: 118px; left: 148px; }.map-day-3 .path-one { transform: rotate(11deg); width: 142px; top: 125px; left: 48px; }.map-day-3 .path-two { transform: rotate(-52deg); top: 154px; left: 184px; }.map-day-4 .path-one { transform: rotate(-32deg); width: 135px; top: 113px; left: 52px; }.map-day-4 .path-two { display: none; }
.demo-badge { padding: 2px 5px; color: #86713e; border: 1px solid #eadca9; border-radius: 3px; background: #fff9df; font-size: 9px; font-style: normal; font-weight: 700; }
.budget-section, .recommend-section { padding: 18px 17px; border-bottom: 1px solid #e5ebe6; }.section-title h2 { margin: 0; color: #183c36; font-family: Georgia, "Songti SC", serif; font-size: 25px; }.budget-bar { display: flex; gap: 3px; overflow: hidden; height: 8px; margin: 14px 0 11px; border-radius: 4px; background: #eef1ed; }.budget-bar span { display: block; height: 100%; }.budget-bar .lodging { width: 31%; }.budget-bar .transport { width: 27%; }.budget-bar .food { width: 29%; }.budget-bar .tickets { width: 13%; }.lodging { background: #376f87; }.transport { background: #65a685; }.food { background: #e28a4b; }.tickets { background: #d5b757; }.budget-key { display: flex; flex-wrap: wrap; gap: 7px 12px; color: #74807c; font-size: 10px; }.budget-key span { display: inline-flex; align-items: center; gap: 4px; }.budget-key i { width: 7px; height: 7px; display: inline-block; border-radius: 2px; }.style-options { display: flex; gap: 6px; flex-wrap: wrap; }.style-options button, .modal-tags button { border: 1px solid #dbe3de; background: #fff; color: #60736d; border-radius: 14px; padding: 5px 8px; font-size: 11px; }.style-options button.chosen, .modal-tags button.selected { border-color: #93c5b5; color: #116b60; background: #eaf6f1; font-weight: 700; }.reason-copy { margin: 12px 0 0; color: #677873; font-size: 11px; line-height: 1.7; }

.favorite-action.is-favorite { color: #ca6144; font-weight: 700; }.favorite-action.is-favorite:hover { color: #ad442e; }
.assistant-dock { display: grid; grid-template-columns: 42px 1fr; gap: 12px; margin-top: 18px; padding: 16px 18px; background: #173b36; color: #f7fcf8; border-radius: 7px; box-shadow: 0 10px 24px rgba(21, 59, 52, .13); }.assistant-avatar { display: grid; place-items: center; width: 36px; height: 36px; color: #173b36; border-radius: 50%; background: #e6c767; }.assistant-head { display: flex; align-items: center; gap: 9px; }.assistant-head strong { font-size: 13px; }.assistant-head span { color: #b8cec7; font-size: 11px; }.assistant-content > p { margin: 8px 0 10px; color: #e7f0ec; font-size: 13px; line-height: 1.6; }.saved-request { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 10px; color: #dfeee7; border: 1px solid #466961; border-radius: 5px; background: rgba(255, 255, 255, .06); font-size: 11px; }.saved-request span { color: #e6c767; font-weight: 700; }.saved-request strong { color: #fff; font-size: 12px; }.saved-request small { overflow: hidden; color: #bed2ca; white-space: nowrap; text-overflow: ellipsis; }.suggested-prompts { display: flex; gap: 7px; margin-bottom: 12px; }.suggested-prompts button { padding: 5px 8px; color: #cfdfd9; border: 1px solid #466961; background: transparent; border-radius: 5px; font-size: 11px; }.suggested-prompts button:hover { color: #fff; background: #2e5750; }.chat-form { display: grid; grid-template-columns: 1fr 35px; overflow: hidden; background: #fff; border-radius: 5px; }.chat-form input { width: 100%; min-width: 0; height: 35px; padding: 0 10px; color: #26443e; border: 0; outline: 0; font-size: 12px; }.chat-form button { display: grid; place-items: center; color: #fff; border: 0; background: #d75e41; }.chat-form button:hover { background: #bf4b32; }

.modal-backdrop { z-index: 10; position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(17, 39, 35, .48); }.modal-backdrop[hidden] { display: none; }.planner-modal { width: 560px; padding: 25px; background: #fff; border-radius: 8px; box-shadow: 0 24px 65px rgba(13, 36, 32, .28); }.modal-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 23px; }.modal-header h2 { margin-bottom: 0; font-family: Georgia, "Songti SC", serif; color: #1b3c36; font-size: 25px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label, .form-label { display: grid; gap: 7px; color: #4f655e; font-size: 12px; font-weight: 700; }.form-grid input, .form-grid select { height: 40px; color: #28433d; border: 1px solid #dbe4de; border-radius: 5px; background: #fff; padding: 0 10px; }.form-label { margin: 20px 0 8px; }.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; }.full-button { width: 100%; margin-top: 24px; }.modal-note { margin: 12px 0 0; color: #84918d; font-size: 11px; line-height: 1.6; }.toast { z-index: 20; position: fixed; right: 28px; bottom: 26px; width: max-content; max-width: 420px; padding: 11px 15px; color: #fff; background: #1d443d; border-radius: 6px; box-shadow: 0 9px 24px rgba(17, 48, 42, .22); font-size: 13px; }

@media (max-width: 1240px) { .workspace { width: calc(100% - 48px); }.topbar { padding: 0 24px; gap: 34px; }.dashboard-grid { grid-template-columns: 210px minmax(430px, 1fr) 300px; }.itinerary-panel { padding-left: 20px; padding-right: 20px; } }
