:root {
  --paper: #f7f5ef; --surface: #fffdfa; --ink: #292c27; --muted: #656961;
  --line: #e5e1d8; --accent: #b84b2f; --green: #415344;
  --sand: #e6dccd; --clay: #c18c5d;
  font-family: "Source Sans 3", "PingFang SC", sans-serif; color: var(--ink); background: #e9e7e0;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { height: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; height: 100dvh; overflow: hidden; background: #eae4d6; overscroll-behavior-y: contain; }
body::before { content: ""; position: fixed; inset: 0; z-index: 4000; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.network-banner { position: fixed; z-index: 2000; top: calc(8px + env(safe-area-inset-top)); left: 12px; right: 12px; min-height: 48px; display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid #d8c3b7; border-radius: 17px; color: #7f4937; background: rgba(255,247,241,.97); box-shadow: 0 10px 28px rgba(48,39,34,.14); backdrop-filter: blur(12px); }
.network-banner[hidden] { display: none; }
.network-banner > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 16px; }
.network-banner span { display: grid; gap: 1px; }
.network-banner b { font: 700 12px "Noto Serif SC", serif; }
.network-banner small { color: var(--muted); font-size: 8px; }
.network-banner button { min-height: 30px; padding: 0 10px; border: 1px solid #d8b2a3; border-radius: 15px; color: #8b432f; background: var(--surface); font-size: 8px; font-weight: 700; }
.network-banner.recovered { color: var(--green); border-color: #bacbb8; background: rgba(244,248,242,.97); }
.network-banner.recovered > i { background: var(--green); }
button, input { font: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }
button { color: inherit; cursor: pointer; }
.home-view { width: min(100%, 390px); height: 100dvh; margin: auto; padding: calc(22px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(circle at 100% 0, rgba(193,140,93,.18), transparent 34%), radial-gradient(circle at 0 100%, rgba(65,83,68,.09), transparent 42%), var(--paper); box-shadow: 0 0 60px rgba(60,52,40,.18); }
.home-brand { display: flex; align-items: start; justify-content: space-between; color: var(--green); }
.home-brand-id { display: flex; align-items: center; gap: 9px; }
.home-brand-id > span { display: grid; gap: 2px; }
.home-seal { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 30% 70% 62% 38% / 58% 34% 66% 42%; color: #fdfcf8; background: var(--accent); font: 700 16px "Noto Serif SC", serif; font-style: normal; box-shadow: 0 3px 8px rgba(120,54,37,.3); transform: rotate(-3deg); }
.home-brand strong { font: 700 27px "Noto Serif SC", serif; letter-spacing: .1em; color: var(--ink); }
.home-brand small { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.home-settings { min-height: 38px; padding: 0 10px; border: 1px solid rgba(65,83,68,.2); border-radius: 9px; color: var(--green); background: rgba(255,253,250,.74); font-size: 11px; font-weight: 700; }
.home-copy { margin: clamp(22px, 6dvh, 48px) 0 clamp(18px, 3dvh, 28px); padding-left: 14px; border-left: 3px solid var(--accent); }
.home-copy small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.home-copy h1 { margin: 5px 0 5px; font: 700 clamp(29px, 9vw, 35px) "Noto Serif SC", serif; letter-spacing: .02em; }
.home-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.home-primary { width: 152px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; border: 0; border-radius: 999px 999px 999px 14px; color: white; background: var(--accent); font-weight: 700; box-shadow: 0 10px 22px rgba(120,54,37,.22); }
.my-trips { margin-bottom: clamp(14px, 2.4dvh, 22px); }
.my-trips > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.my-trips header span { display: grid; }
.my-trips header small { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.my-trips h2 { margin: 3px 0 0; font: 700 21px "Noto Serif SC", serif; }
.my-trips header button { min-height: 36px; display: flex; align-items: center; gap: 5px; padding: 0 3px; border: 0; color: var(--accent); background: transparent; font-size: 11px; font-weight: 700; }
.recent-trip .trip-card { padding: 11px 12px; border-radius: 12px; border-left: 3px solid var(--green); box-shadow: none; }
.recent-trip .trip-card nav { display: none; }
.trip-list { display: grid; gap: 9px; }
.trip-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,253,250,.92); box-shadow: 0 8px 22px rgba(40,44,37,.05); }
.trip-card > button { min-width: 0; display: grid; grid-template-columns: 40px 1fr 14px; gap: 10px; align-items: center; padding: 0; border: 0; background: transparent; text-align: left; }
.trip-card > button > i:first-child { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9eee7; font-size: 19px; }
.trip-card > button span { min-width: 0; display: grid; gap: 3px; }
.trip-card > button b { overflow: hidden; font: 700 15px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.trip-card > button small { color: var(--muted); font-size: 9px; }
.trip-card > button em { width: max-content; padding: 3px 7px; border-radius: 9px; color: #7e4939; background: #f8e7df; font-size: 8px; font-style: normal; font-weight: 700; }
.trip-card nav { display: grid; align-content: center; gap: 2px; }
.trip-card nav button { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 16px; }
.trip-empty { padding: 14px; border: 1px dashed #cfc9bd; border-radius: 17px; color: var(--muted); background: rgba(255,253,250,.55); font-size: 11px; line-height: 1.5; }
.travel-data { display: grid; gap: 9px; margin-top: 11px; padding: 13px; border: 1px solid #cfd8ce; border-radius: 18px; background: rgba(239,244,237,.86); }
.travel-data > span { display: grid; gap: 2px; }
.travel-data > span small { color: var(--green); font-size: 10px; font-weight: 700; }
.travel-data > span b { font: 700 15px "Noto Serif SC", serif; }
.travel-data nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.travel-data nav button { min-height: 42px; display: flex; justify-content: center; border-color: #c8d1c7; color: var(--green); background: var(--surface); }
.travel-data p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.travel-data .danger-link { justify-self: start; min-height: 32px; padding: 0; border: 0; color: #94442f; background: transparent; font-size: 11px; font-weight: 700; }
.curated-panel { margin-bottom: 16px; }
.curated-panel > header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 10px; }
.curated-panel header span { display: grid; }
.curated-panel header small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.curated-panel h2 { margin: 3px 0 0; font: 700 20px "Noto Serif SC", serif; }
.curated-list { display: flex; gap: 10px; margin: 0 -20px; padding: 0 20px 5px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.curated-list::-webkit-scrollbar { display: none; }
.curated-card { flex: 0 0 76%; max-width: 300px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.curated-badge { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: rgba(184,75,47,.12); color: var(--accent); font-size: 10px; font-weight: 700; }
.curated-card h3 { margin: 0; font: 700 15px "Noto Serif SC", serif; }
.curated-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; flex: 1; }
.curated-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 10px; }
.curated-meta em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.curated-card button { min-height: 40px; border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; }
.curated-highlights { color: var(--green) !important; font-weight: 600; }
.curated-unfit, .curated-from, .inspiration-unfit { display: block; color: var(--muted); font-size: 10px; line-height: 1.4; }
.inspiration-highlights { margin: 0; color: var(--green); font-size: 11px; }
.inspiration-panel { min-height: 0; display: flex; flex: 1; flex-direction: column; margin-bottom: 0; }
.inspiration-panel > header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 10px; }
.inspiration-panel header span { display: grid; }
.inspiration-panel header small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.inspiration-panel h2 { margin: 3px 0 0; font: 700 20px "Noto Serif SC", serif; }
.inspiration-panel header button { min-height: 36px; padding: 0 3px; border: 0; color: var(--accent); background: transparent; font-size: 11px; font-weight: 700; }
.inspiration-panel header button.loading i { display: inline-block; animation: spin .8s linear infinite; }
.inspiration-panel > p { margin: 0 0 9px; color: var(--muted); font-size: 10px; }
.inspiration-list { min-height: 0; display: flex; flex: 1; gap: 10px; margin: 0 -20px; padding: 0 20px 5px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.inspiration-list::-webkit-scrollbar { display: none; }
.home-version { padding-top: 6px; color: var(--muted); font-size: 9px; text-align: center; opacity: .7; }
.inspiration-card { flex: 0 0 226px; align-self: start; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 28px 14px 24px 14px; border-bottom: 3px solid var(--green); background: #fffefa; box-shadow: 0 8px 20px -6px rgba(60,52,40,.14); }
.inspiration-card:nth-child(3n+2) { border-radius: 14px 30px 14px 26px; }
.inspiration-card:nth-child(3n) { border-radius: 14px 14px 30px 14px; }
.inspiration-card img { width: 100%; height: clamp(72px, 12dvh, 94px); display: block; object-fit: cover; background: #e5e9e2; }
.inspiration-card > div { display: grid; gap: 5px; padding: 11px; }
.inspiration-card div > small { color: var(--green); font-size: 9px; font-weight: 700; }
.inspiration-card h3 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.inspiration-card p { min-height: 28px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.inspiration-plan-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.inspiration-plan-meta em { display: inline-flex; align-items: center; gap: 3px; min-height: 22px; padding: 3px 7px; border-radius: 11px; color: var(--green); background: #edf2ea; font-size: 8px; font-style: normal; font-weight: 700; }
.inspiration-card nav { display: flex; gap: 7px; align-items: center; margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); }
.inspiration-card nav button { min-height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 9px; font-weight: 700; }
.inspiration-card nav button { flex: 1; border: 1px solid #d8d2c8; color: var(--green); background: var(--surface); }
.inspiration-card nav button:last-child { color: white; border-color: var(--accent); background: var(--accent); }
.inspiration-empty { flex: 1; padding: 14px; border: 1px dashed #ccd4ca; border-radius: 15px; color: var(--muted); background: rgba(255,253,250,.55); font-size: 11px; line-height: 1.5; }
.scene-presets { margin-bottom: 18px; }
.scene-presets > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.scene-presets header small { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.scene-presets h2 { margin: 3px 0 0; font: 700 20px "Noto Serif SC", serif; }
.scene-preset-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.scene-preset-list button { min-width: 0; min-height: 74px; display: grid; grid-template-columns: 33px 1fr; gap: 9px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,250,.9); text-align: left; }
.scene-preset-list i { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9eee7; font-size: 17px; }
.scene-preset-list span { min-width: 0; display: grid; gap: 3px; }
.scene-preset-list b { overflow: hidden; font: 700 13px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.scene-preset-list small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.scene-preset-list button:active { border-color: #d9b5a8; background: #fff8f4; }
.scene-preset-list button.active { color: #7e432f; border-color: #d9a794; background: #fff3ed; box-shadow: inset 0 0 0 1px rgba(238,90,53,.1); }
.scene-preset-list button.active i { color: white; background: var(--accent); }
.trip-brief-form { display: grid; gap: 15px; padding: 18px 0 0; border-top: 1px solid var(--line); background: transparent; }
.trip-brief-form > label, .brief-row label, .brief-more > label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.brief-more { border: 1px dashed rgba(41,44,39,.22); border-radius: 16px 20px 16px 22px; padding: 10px 13px; }
.brief-more summary { display: flex; align-items: baseline; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.brief-more summary::-webkit-details-marker { display: none; }
.brief-more summary small { color: var(--muted); font-size: 10px; font-weight: 500; }
.brief-more[open] { display: grid; gap: 15px; padding-bottom: 13px; }
.brief-more[open] summary { margin-bottom: 2px; }
.trip-brief-form input, .trip-brief-form textarea, .trip-brief-form select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); outline: 0; }
.trip-brief-form textarea { min-height: 76px; resize: vertical; }
.brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trip-brief-form fieldset { margin: 0; }
.brief-interests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.brief-interests label { min-width: 0; }
.brief-interests input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.brief-interests span { min-height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 19px; color: var(--muted); background: var(--paper); font-size: 11px; font-weight: 700; }
.brief-interests input:checked + span { color: white; border-color: var(--green); background: var(--green); }
.trip-brief-form .primary-button { margin-top: 0; }
.day-tabs { display: flex; gap: 8px; margin: 0 -2px 14px; padding: 2px; overflow-x: auto; }
.day-tabs:empty { display: none; }
.day-tabs button { flex: 0 0 auto; min-width: 82px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.day-tabs button > i { margin-left: 4px; color: var(--accent); font-size: 11px; }
.day-tabs button > em { margin-left: 4px; padding: 1px 4px; border-radius: 5px; color: var(--green); background: #e7eee5; font-size: 8px; font-style: normal; font-weight: 700; }
.day-tabs button.incomplete { border-color: #e4b9aa; background: #fff8f4; }
.day-tabs button small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.day-tabs button.active { color: white; border-color: var(--green); background: var(--green); }
.day-tabs button.active small, .day-tabs button.active > i { color: rgba(255,255,255,.78); }
.day-tabs button.active > em { color: white; background: rgba(255,255,255,.18); }
.execution-panel { margin-bottom: 13px; padding: 15px; border: 1px solid #cbd7ca; border-radius: 20px; background: #f0f4ee; }
.execution-panel header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.execution-panel header span { display: grid; gap: 3px; }
.execution-panel header small { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.execution-panel h2 { margin: 0; font: 700 19px "Noto Serif SC", serif; }
.execution-panel header em { padding: 4px 8px; border-radius: 10px; color: #7d4939; background: #f7e5dc; font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; }
.execution-progress { height: 6px; margin: 12px 0; overflow: hidden; border-radius: 3px; background: #dce4da; }
.execution-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.execution-next { display: grid; grid-template-columns: 39px 1fr; gap: 9px; align-items: center; }
.execution-next > i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 18px; }
.execution-next span { display: grid; gap: 2px; }
.execution-next small { color: var(--muted); font-size: 9px; }
.execution-next b { font: 700 14px "Noto Serif SC", serif; }
.execution-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 7px; margin-top: 12px; }
.execution-actions button { min-height: 40px; border: 1px solid #cbd7ca; border-radius: 20px; color: var(--green); background: var(--surface); font-size: 10px; font-weight: 700; }
.execution-actions button:first-child { color: white; border-color: var(--green); background: var(--green); }
.execution-next em { color: var(--muted); font-size: 10px; font-style: normal; }
.execution-upcoming { display: grid; gap: 6px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed #cbd7ca; list-style: none; }
.execution-upcoming li { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.execution-upcoming time { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; }
.execution-upcoming em { color: var(--muted); font-size: 10px; font-style: normal; }
.execution-meals, .execution-stay { display: flex; gap: 8px; align-items: center; margin-top: 9px; color: var(--muted); font-size: 12px; }
.execution-meals i, .execution-stay i { color: var(--green); }
.guide-skipped { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(41,44,39,.14); }
.guide-skipped > small { color: var(--muted); font-size: 10px; font-weight: 700; }
.guide-skipped span { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; font-size: 12px; }
.guide-skipped em { color: var(--muted); font-size: 10px; font-style: normal; white-space: nowrap; }
.about-section h3 { margin: 14px 0 6px; font-size: 13px; }
.about-section p, .about-section li { color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-section ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.diagnostics-list { display: grid; gap: 6px; max-height: 180px; overflow-y: auto; margin-top: 8px; padding: 10px 12px; border: 1px solid rgba(41,44,39,.1); border-radius: 12px; background: rgba(41,44,39,.03); }
.diagnostics-list p { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 0; font-size: 11px; }
.diagnostics-list p b { color: var(--accent); font-variant-numeric: tabular-nums; }
.diagnostics-list p small { color: var(--muted); justify-self: end; }
.diagnostics-list p span { grid-column: 1 / -1; }
.diagnostics-empty { color: var(--muted); text-align: center; }
.about-actions { margin-top: 10px; }
.about-actions button { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(41,44,39,.14); border-radius: 14px; color: var(--ink); background: var(--surface); font: inherit; font-size: 12px; font-weight: 600; }
.paste-import { margin-bottom: 12px; border: 1px dashed rgba(41,44,39,.2); border-radius: 14px; padding: 10px 12px; }
.paste-import summary { display: flex; gap: 6px; align-items: center; color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.paste-import summary::-webkit-details-marker { display: none; }
.paste-import textarea { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid rgba(41,44,39,.14); border-radius: 10px; background: var(--surface); font: inherit; font-size: 12px; line-height: 1.6; resize: vertical; }
.paste-import button { margin-top: 8px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 12px; color: white; background: var(--accent); font: inherit; font-size: 12px; font-weight: 700; }
.nearby-results { margin-top: 6px; }
.nearby-empty { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.app-shell[data-executing="true"][data-workspace="itinerary"] .scenario-tabs, .app-shell[data-executing="true"][data-workspace="itinerary"] .route-intent-panel, .app-shell[data-executing="true"][data-workspace="itinerary"] .plan-confidence-panel, .app-shell[data-executing="true"][data-workspace="itinerary"] .feasibility-panel { display: none; }
.execution-finish { display: flex; gap: 10px; align-items: center; color: var(--green); }
.execution-finish > i { font-size: 30px; }
.execution-finish b { display: block; font: 700 16px "Noto Serif SC", serif; }
.execution-finish small { color: var(--muted); font-size: 10px; }
.scenario-tabs { display: flex; gap: 9px; margin: 0 -2px 12px; padding: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scenario-tabs::-webkit-scrollbar { display: none; }
.scenario-tabs:empty { display: none; }
.scenario-tabs button { flex: 0 0 82%; min-height: 128px; padding: 14px; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); text-align: left; }
.scenario-tabs button > span { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; }
.scenario-tabs button > span > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e7ece5; font-size: 17px; }
.scenario-tabs button b, .scenario-tabs button small, .scenario-tabs button em { display: block; }
.scenario-tabs button b { font: 700 15px "Noto Serif SC", serif; }
.scenario-tabs button small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.scenario-tabs button strong { color: var(--accent); font-size: 13px; white-space: nowrap; }
.scenario-tabs button p { margin: 10px 0 -3px; color: #6f4f42; font-size: 10px; font-weight: 700; line-height: 1.35; }
.scenario-tabs button > em { margin: 11px 0 8px; color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.scenario-tabs button > small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.scenario-tabs button.active { border-color: #d9b5a8; background: #fff8f4; box-shadow: 0 8px 20px rgba(67, 50, 42, .08); }
.scenario-tabs button.active > span > i { color: white; background: var(--accent); }
.plan-confidence-panel { display: grid; gap: 10px; margin-bottom: 13px; padding: 14px; border: 1px solid #cfd9cf; border-radius: 19px; background: #f4f7f2; }
.plan-confidence-panel > header { display: grid; grid-template-columns: 38px 1fr; gap: 9px; align-items: center; }
.plan-confidence-panel > header > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 19px; }
.plan-confidence-panel header span { display: grid; gap: 2px; }
.plan-confidence-panel header small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.plan-confidence-panel h2 { margin: 0; font: 700 16px "Noto Serif SC", serif; }
.plan-confidence-panel > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-confidence-panel > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.plan-confidence-panel > div span { min-width: 0; display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: var(--surface); }
.plan-confidence-panel > div i { color: var(--green); font-size: 16px; }
.plan-confidence-panel > div b { font-size: 11px; }
.plan-confidence-panel > div small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.plan-confidence-panel > div .pending { background: #fff0e8; }
.plan-confidence-panel > div .pending i { color: var(--accent); }
.plan-confidence-panel > button { min-height: 40px; border: 1px solid #d8b2a3; border-radius: 20px; color: #8b432f; background: var(--surface); font-size: 10px; font-weight: 700; }
.plan-confidence-panel > nav { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.plan-confidence-panel > nav button { min-height: 40px; padding: 0 13px; border: 1px solid #d8b2a3; border-radius: 20px; color: #8b432f; background: var(--surface); font-size: 10px; font-weight: 700; }
.plan-confidence-panel > nav button:first-child { color: white; border-color: var(--accent); background: var(--accent); }
.plan-confidence-panel.generating > header > i { animation: spin .8s linear infinite; }
.route-intent-panel:empty { display: none; }
.route-intent-panel { margin: -1px 0 13px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #f7f4ee; }
.route-intent-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.route-intent-panel header span { display: grid; gap: 2px; }
.route-intent-panel header small { color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.route-intent-panel header b { font: 700 14px "Noto Serif SC", serif; }
.route-intent-panel header > i { color: var(--green); font-size: 19px; }
.route-intent-panel > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.route-intent-panel button { min-height: 48px; display: grid; place-items: center; gap: 3px; padding: 6px 2px; border: 1px solid #ded9cf; border-radius: 13px; color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 700; }
.route-intent-panel button i { color: var(--green); font-size: 17px; }
.route-intent-panel button[aria-busy="true"] i { animation: spin .8s linear infinite; }
.route-intent-panel button[aria-pressed="true"] { color: #8b432f; border-color: #d9b5a8; background: #fff2eb; }
.route-intent-panel button[aria-pressed="true"] i { color: var(--accent); }
.data-refresh-panel, .activity-plans { margin-bottom: 13px; padding: 15px; border: 1px solid #d8ded4; border-radius: 20px; background: #f7f7f1; }
.data-refresh-panel > header, .activity-plans > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.data-refresh-panel > header span, .activity-plans > header span { display: grid; gap: 2px; }
.data-refresh-panel > header small, .activity-plans > header small { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.data-refresh-panel h2, .activity-plans h2 { margin: 0; font: 700 18px "Noto Serif SC", serif; }
.data-refresh-panel > header button { min-height: 40px; padding: 0 12px; border: 1px solid #cbd5c9; border-radius: 20px; color: var(--green); background: var(--surface); font-size: 10px; font-weight: 700; }
.data-refresh-panel > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.data-refresh-panel > div > span { display: grid; grid-template-columns: 25px 1fr; gap: 1px 7px; align-items: center; min-width: 0; padding: 10px; border-radius: 14px; background: var(--surface); }
.data-refresh-panel > div i { grid-row: 1 / 3; color: var(--green); font-size: 20px; }
.data-refresh-panel > div b { font-size: 11px; }
.data-refresh-panel > div small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.data-refresh-panel > div .pending { opacity: .68; }
.data-refresh-panel > footer, .activity-plans > footer { margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.activity-plans > header > i { color: var(--accent); font-size: 23px; }
.activity-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.activity-modes button { min-height: 48px; display: grid; place-content: center; gap: 3px; padding: 5px 2px; border: 1px solid #d5ddd2; border-radius: 14px; color: var(--ink); background: var(--surface); font-size: 10px; font-weight: 700; }
.activity-modes button i { color: var(--green); font-size: 18px; }
.activity-results { display: grid; gap: 8px; margin-top: 10px; }
.activity-results article { display: grid; grid-template-columns: 38px 1fr; gap: 9px; padding: 11px; border: 1px solid #e1ddd4; border-radius: 16px; background: var(--surface); }
.activity-results article > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9eee7; font-size: 19px; }
.activity-results article > span { min-width: 0; display: grid; gap: 2px; }
.activity-results article small, .activity-results article em { color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.45; }
.activity-results article b { font: 700 13px "Noto Serif SC", serif; }
.activity-results article nav { grid-column: 2; display: flex; gap: 7px; }
.activity-results article nav a, .activity-results article nav button { min-height: 36px; display: grid; place-items: center; padding: 0 11px; border: 1px solid #d4d9d0; border-radius: 18px; color: var(--green); background: var(--paper); font-size: 10px; font-weight: 700; text-decoration: none; }
.activity-empty { margin: 0; padding: 11px; border-radius: 14px; color: var(--muted); background: var(--surface); font-size: 11px; line-height: 1.5; }
.feasibility-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #cdd9cc; border-radius: 19px; background: #f3f6f1; }
.feasibility-panel.has-issues { border-color: #e5c5b8; background: #fff8f3; }
.feasibility-panel header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.feasibility-panel header span { display: grid; gap: 3px; }
.feasibility-panel header small { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.feasibility-panel h2 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.feasibility-panel header > i { color: var(--green); font-size: 23px; }
.feasibility-panel.has-issues header > i { color: var(--accent); }
.feasibility-list { display: grid; gap: 7px; margin-top: 11px; }
.feasibility-list button { width: 100%; display: grid; grid-template-columns: 30px 1fr 14px; gap: 8px; align-items: center; padding: 9px; border: 1px solid #eadbd4; border-radius: 13px; background: var(--surface); text-align: left; }
.feasibility-list button > i:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #994f39; background: #f8e6de; }
.feasibility-list button span { display: grid; gap: 2px; }
.feasibility-list button b { font-size: 10px; }
.feasibility-list button small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.feasibility-panel footer { margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.meal-stop { border-color: #ead7ce; background: #fff9f4; }
.meal-stop .place-icon { color: #a9472d; background: #f8e3d9; }
.dietary-note { display: flex; gap: 7px; align-items: start; margin: 0 0 10px; padding: 10px 12px; border-radius: 13px; color: #8b4937; background: #fff2ea; font-size: 11px; line-height: 1.45; }
.logistics-panel { display: grid; gap: 9px; margin-bottom: 13px; }
.destination-snapshot { display: grid; gap: 11px; padding: 14px; border: 1px solid #cbd7ca; border-radius: 20px; background: linear-gradient(145deg, #f0f5ef, #fbfaf5); }
.destination-snapshot > header { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.destination-snapshot > header span { display: grid; gap: 2px; }
.destination-snapshot > header small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.destination-snapshot h2 { margin: 0; font: 700 19px "Noto Serif SC", serif; }
.destination-snapshot > header em { padding: 4px 7px; border-radius: 10px; color: var(--green); background: rgba(255,255,255,.72); font-size: 8px; font-style: normal; font-weight: 700; white-space: nowrap; }
.destination-snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.destination-snapshot-grid > span { min-width: 0; display: grid; grid-template-columns: 25px 1fr; align-items: center; padding: 9px; border-radius: 13px; background: rgba(255,253,250,.88); }
.destination-snapshot-grid i { grid-row: 1 / 3; color: var(--green); font-size: 18px; }
.destination-snapshot-grid b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.destination-snapshot-grid small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.destination-snapshot > p { display: grid; grid-template-columns: 28px 1fr; gap: 7px; align-items: center; margin: 0; padding: 10px; border-radius: 13px; color: var(--green); background: #e7eee5; }
.destination-snapshot > p > i { font-size: 18px; }
.destination-snapshot > p span { display: grid; gap: 2px; }
.destination-snapshot > p b { font-size: 11px; }
.destination-snapshot > p small { color: #687267; font-size: 9px; line-height: 1.4; }
.logistics-panel .destination-snapshot > nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; overflow: visible; }
.logistics-panel .destination-snapshot > nav button { min-width: 0; min-height: 39px; display: grid; place-items: center; gap: 2px; padding: 6px 3px; border-color: #cad4c8; color: var(--green); background: rgba(255,253,250,.9); font-size: 9px; }
.destination-snapshot > nav i { font-size: 16px; }
.destination-snapshot > footer { color: var(--muted); font-size: 9px; line-height: 1.45; }
.logistics-panel > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 4px 2px 0; }
.logistics-panel > header span { display: grid; gap: 2px; }
.logistics-panel > header small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.logistics-panel > header h2 { margin: 0; font: 700 20px "Noto Serif SC", serif; }
.logistics-panel > header em { padding: 5px 8px; border-radius: 11px; color: var(--green); background: #e9eee7; font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; }
.logistics-panel .guide-scene { display: flex; gap: 6px; align-items: center; margin: 0 2px; padding: 8px 10px; border-radius: 13px; color: #704d40; background: #fff1e9; font-size: 10px; font-weight: 700; line-height: 1.35; }
.guide-scene i { color: var(--accent); font-size: 15px; }
.logistics-panel .guide-lead { margin: 0 2px 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.guide-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.logistics-panel .guide-facts > span { min-width: 0; display: grid; grid-template-columns: 22px 1fr; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf6; }
.guide-facts i { grid-row: 1 / 3; color: var(--green); font-size: 17px; }
.guide-facts b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.guide-facts small { color: var(--muted); font-size: 10px; }
.guide-days { display: grid; gap: 6px; }
.guide-days button { width: 100%; display: grid; grid-template-columns: 28px 1fr 14px; gap: 8px; align-items: center; padding: 10px; border: 1px solid #d8ded4; border-radius: 15px; background: #f6f8f3; text-align: left; }
.guide-days button > i:first-child { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.guide-days button span { min-width: 0; display: grid; gap: 2px; }
.guide-days button small, .guide-days button em { color: var(--muted); font-size: 10px; font-style: normal; }
.guide-days button b { overflow: hidden; font: 700 12px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.guide-days button > i:last-child { color: var(--muted); font-size: 13px; }
.logistics-panel > div { padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fbfaf6; }
.logistics-panel > div > span { display: grid; grid-template-columns: 25px 1fr; align-items: center; }
.logistics-panel > div > span i { grid-row: 1 / 3; color: var(--green); font-size: 20px; }
.logistics-panel > div > span small { color: var(--muted); font-size: 10px; }
.logistics-panel nav { display: flex; gap: 7px; margin-top: 10px; overflow-x: auto; }
.logistics-panel a { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #d8d4ca; border-radius: 12px; color: var(--green); background: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.logistics-panel nav button { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #d8d4ca; border-radius: 12px; color: var(--accent); background: white; font-size: 11px; font-weight: 700; }
.logistics-panel > p { margin: 0 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.logistics-panel .stay-strategy { border-color: #cfd9cf; background: #f1f5ef; }
.logistics-panel .confirmed-stay { border-color: #bfcfbd; background: #edf3eb; }
.stay-shortlist { display: grid; gap: 7px; padding: 13px; border: 1px solid #ddd5c7; border-radius: 18px; background: #faf7f1; }
.stay-shortlist > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.stay-shortlist > header span { display: grid; gap: 2px; }
.stay-shortlist > header small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.stay-shortlist h3 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.stay-shortlist > header em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 700; }
.stay-shortlist article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.stay-shortlist article > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9eee7; font-size: 16px; }
.stay-shortlist article > span { min-width: 0; display: grid; gap: 2px; }
.stay-shortlist article b { overflow: hidden; font: 700 13px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.stay-shortlist article small, .stay-shortlist article em, .stay-shortlist > footer { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.4; }
.stay-shortlist article .stay-rank { color: var(--accent); font-size: 9px; font-weight: 700; }
.stay-shortlist article nav { grid-column: 2; display: flex; gap: 6px; align-items: center; margin-top: 3px; }
.stay-shortlist article nav a { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.stay-shortlist article nav button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 17px; color: white; background: var(--accent); font-size: 10px; font-weight: 700; }
.stay-more > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; }
.stay-more > summary::-webkit-details-marker { display: none; }
.stay-more > summary i { transition: transform .15s ease; }
.stay-more[open] > summary i { transform: rotate(180deg); }
.stay-more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stay-shortlist > footer { padding-top: 3px; }
.multi-city-stays { display: grid; gap: 2px; padding: 13px; border: 1px solid #d5ddd2; border-radius: 18px; background: #f4f7f1; }
.multi-city-stays > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
.multi-city-stays > header span { display: grid; gap: 2px; }
.multi-city-stays > header small { color: var(--green); font-size: 9px; font-weight: 700; }
.multi-city-stays h3 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.multi-city-stays > header em { color: var(--accent); font-size: 9px; font-style: normal; font-weight: 700; }
.multi-city-stays > article { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 68px; border-top: 1px solid #dfe4dc; color: var(--ink); }
.multi-city-stays > article > i:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--surface); font-size: 16px; }
.multi-city-stays > article > span { min-width: 0; display: grid; gap: 1px; }
.multi-city-stays > article small, .multi-city-stays > article em, .multi-city-stays > footer { color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.45; }
.multi-city-stays > article b { overflow: hidden; font: 700 12px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.multi-city-stays > article nav { display: flex; align-items: center; gap: 5px; }
.multi-city-stays > article nav button, .multi-city-stays > article nav a { min-height: 34px; display: grid; place-items: center; border: 1px solid #d7ded4; border-radius: 17px; color: var(--green); background: var(--surface); font-size: 9px; font-weight: 700; text-decoration: none; }
.multi-city-stays > article nav button { padding: 0 9px; }
.multi-city-stays > article nav a { width: 34px; }
.multi-city-stays > article.confirmed > i:first-child { color: white; background: var(--green); }
.multi-city-stays > article.confirmed > span small { color: var(--green); font-weight: 700; }
.multi-city-stays > footer { padding-top: 7px; border-top: 1px solid #dfe4dc; }
.preparation-panel { margin-bottom: 13px; padding: 15px; border: 1px solid #ddd5c7; border-radius: 20px; background: #faf7f1; }
.preparation-panel header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.preparation-panel header span { display: grid; gap: 3px; }
.preparation-panel header small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.preparation-panel h2 { margin: 0; font: 700 19px "Noto Serif SC", serif; }
.preparation-panel header em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; white-space: nowrap; }
.intercity-decision { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 16px; background: #f0eee7; }
.intercity-decision > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 20px; }
.intercity-decision span { min-width: 0; display: grid; gap: 2px; }
.intercity-decision small { color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.intercity-decision b { font: 700 15px "Noto Serif SC", serif; }
.intercity-decision em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 700; }
.intercity-decision p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.intercity-options { display: grid; gap: 7px; margin-top: 9px; }
.intercity-options button { width: 100%; min-height: 76px; display: grid; grid-template-columns: 34px 1fr 14px; gap: 9px; align-items: center; padding: 10px; border: 1px solid #ddd6ca; border-radius: 15px; color: var(--ink); background: var(--surface); text-align: left; }
.intercity-options button.primary { border-color: #d9b5a8; background: #fff7f2; }
.intercity-options button > i:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e8eee6; font-size: 17px; }
.intercity-options button.primary > i:first-child { color: white; background: var(--accent); }
.intercity-options button span { min-width: 0; display: grid; gap: 2px; }
.intercity-options button small { color: var(--accent); font-size: 9px; font-weight: 700; }
.intercity-options button b { font: 700 13px "Noto Serif SC", serif; }
.intercity-options button em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.intercity-options button p { margin: 1px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.intercity-links { display: flex; gap: 5px; margin-top: 7px; overflow-x: auto; scrollbar-width: none; }
.intercity-links::-webkit-scrollbar { display: none; }
.intercity-links a, .intercity-links button { min-height: 31px; flex: 0 0 auto; display: grid; place-items: center; padding: 0 10px; border: 1px solid #d9d1c4; border-radius: 16px; color: var(--green); background: var(--surface); font-size: 8px; font-weight: 700; text-decoration: none; }
.intercity-links button { color: white; border-color: var(--accent); background: var(--accent); }
.preparation-progress { height: 6px; margin: 12px 0; overflow: hidden; border-radius: 3px; background: #e8e1d5; }
.preparation-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.preparation-list { display: grid; gap: 5px; }
.preparation-manual > summary { min-height: 44px; display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--line); color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; }
.preparation-manual > summary::-webkit-details-marker { display: none; }
.preparation-manual > summary em { margin-left: auto; color: var(--accent); font-style: normal; }
.preparation-manual > summary i { transition: transform .15s ease; }
.preparation-manual[open] > summary i { transform: rotate(180deg); }
.preparation-manual > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.preparation-item { width: 100%; min-height: 45px; display: grid; grid-template-columns: 31px 1fr auto; gap: 8px; align-items: center; padding: 6px 3px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.preparation-item > i { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #8a6255; background: #f1e5dc; font-size: 15px; }
.preparation-item.done > i { color: white; background: var(--green); }
.preparation-item span { display: grid; gap: 2px; }
.preparation-item b { font-size: 12px; }
.preparation-item small { color: var(--muted); font-size: 9px; }
.preparation-item > em { color: var(--accent); font-size: 9px; font-style: normal; font-weight: 700; }
.preparation-actions { display: flex; gap: 7px; margin-top: 12px; }
.preparation-actions button { flex: 1; min-height: 40px; border: 1px solid #ddcfc4; border-radius: 20px; color: var(--accent); background: var(--surface); font-size: 10px; font-weight: 700; }
.preparation-actions button:first-child { color: white; border-color: var(--accent); background: var(--accent); }
.preparation-panel > footer { display: flex; gap: 6px; align-items: start; margin-top: 10px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.stay-strategy > p { margin: 8px 0 0 25px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.journey-timeline-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #d8ded4; border-radius: 20px; background: #f6f8f3; }
.journey-timeline-panel header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 13px; }
.journey-timeline-panel header span { display: grid; }
.journey-timeline-panel header small { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.journey-timeline-panel h2 { margin: 3px 0 0; font: 700 18px "Noto Serif SC", serif; }
.journey-timeline-panel header > i { color: var(--accent); font-size: 23px; }
.journey-timeline-panel header > button { min-height: 32px; padding: 0 11px; border: 1px solid #cbd5c9; border-radius: 16px; color: var(--green); background: var(--surface); font-size: 10px; font-weight: 700; }
.journey-line { position: relative; display: grid; gap: 5px; }
.journey-line::before { content: ""; position: absolute; top: 19px; bottom: 19px; left: 16px; width: 1px; background: #ced7cc; }
.journey-step { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 33px 1fr 16px; gap: 9px; align-items: center; min-height: 61px; padding: 8px 7px 8px 0; border: 0; border-radius: 13px; color: var(--ink); background: transparent; text-align: left; text-decoration: none; }
.journey-step > i:first-child { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #d4ddd2; border-radius: 50%; color: var(--green); background: var(--surface); font-size: 17px; }
.journey-step > span { min-width: 0; display: grid; gap: 2px; }
.journey-step small, .journey-step em { color: var(--muted); font-size: 9px; font-style: normal; }
.journey-step b { overflow: hidden; font: 700 13px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.journey-step.day { cursor: pointer; }
.journey-step.day:not(:disabled):active { background: #edf1eb; }
.journey-step:disabled { opacity: .62; cursor: default; }
.journey-step > i:last-child { color: var(--muted); font-size: 14px; }
.journey-timeline-panel footer { display: flex; gap: 6px; align-items: start; margin-top: 10px; padding-top: 10px; border-top: 1px solid #dfe4dc; color: var(--muted); font-size: 9px; line-height: 1.45; }
.budget-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #e7d8bd; border-radius: 18px; background: #fffaf0; }
.budget-panel header { display: flex; justify-content: space-between; gap: 10px; align-items: end; }
.budget-panel header span { display: grid; }
.budget-panel header small, .budget-panel footer { color: var(--muted); font-size: 9px; }
.budget-panel header b { font: 700 22px "Noto Serif SC", serif; }
.budget-panel header strong { color: #8a5c20; font-size: 10px; text-align: right; }
.budget-panel header strong.over { color: #a9472d; }
.budget-head-actions { display: grid; justify-items: end; gap: 7px; }
.budget-head-actions button { min-height: 30px; display: flex; align-items: center; gap: 4px; padding: 0 10px; border: 0; border-radius: 15px; color: white; background: var(--accent); font-size: 9px; font-weight: 700; }
.budget-panel > div { display: grid; gap: 8px; margin: 14px 0; }
.budget-panel p { display: grid; grid-template-columns: 80px 1fr 55px; gap: 8px; align-items: center; margin: 0; font-size: 10px; }
.budget-panel p span { display: flex; justify-content: space-between; }
.budget-panel p small { color: var(--muted); }
.budget-panel p > i { height: 6px; overflow: hidden; border-radius: 3px; background: #eee5d4; }
.budget-panel p > i b { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.budget-panel p > strong { text-align: right; }
.budget-panel .budget-units { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; border-top: 1px solid #eadfcd; }
.budget-units article { min-width: 0; display: grid; grid-template-columns: 28px 1fr; gap: 7px; align-items: center; padding: 9px; border: 1px solid #eadfcd; border-radius: 12px; background: rgba(255, 255, 255, .6); }
.budget-units article > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #8a5c20; background: #f4e7d0; font-size: 15px; }
.budget-units article span { min-width: 0; display: grid; gap: 2px; }
.budget-units article small { color: var(--muted); font-size: 8px; }
.budget-units article b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.budget-panel .expense-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.expense-summary article { display: grid; gap: 3px; padding: 9px; border-radius: 11px; background: #f5ead7; }
.expense-summary small { color: var(--muted); font-size: 8px; }
.expense-summary b { color: #6f4a1b; font-size: 11px; }
.budget-panel .expense-list { padding-top: 12px; border-top: 1px solid #eadfcd; }
.expense-list h3 { margin: 0 0 2px; font: 700 13px "Noto Serif SC", serif; }
.expense-list article { display: grid; grid-template-columns: 27px 1fr auto 24px; gap: 7px; align-items: center; padding: 7px 0; border-top: 1px solid #eee4d5; }
.expense-list article > i { color: #8a5c20; font-size: 16px; }
.expense-list article span { min-width: 0; display: grid; gap: 2px; }
.expense-list article span b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.expense-list article small { color: var(--muted); font-size: 8px; }
.expense-list article > strong { font-size: 10px; white-space: nowrap; }
.expense-list article button { width: 24px; height: 24px; padding: 0; border: 0; color: var(--muted); background: transparent; }
.budget-panel .expense-empty { padding: 11px; border: 1px dashed #d8c8ad; border-radius: 12px; color: var(--muted); font-size: 9px; text-align: center; }
.official-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #ead7ce; border-radius: 18px; background: #fff9f4; }
.official-panel header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 10px; }
.official-panel header span { display: grid; }
.official-panel header small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.official-panel h2 { margin: 3px 0 0; font: 700 17px "Noto Serif SC", serif; }
.official-panel header > i { color: var(--accent); font-size: 22px; }
.official-panel article { display: grid; gap: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.official-panel article.warning { border-color: #e4aa98; background: #fff4ee; }
.official-panel article > div { display: flex; justify-content: space-between; gap: 8px; }
.official-panel article > div b { color: var(--green); font-size: 10px; }
.official-panel article.warning > div b { color: #a9472d; }
.official-panel article small { color: var(--muted); font-size: 9px; }
.official-panel article > strong { font: 700 14px "Noto Serif SC", serif; }
.official-panel article p { margin: 0; color: #555950; font-size: 11px; line-height: 1.5; }
.official-panel article a, .official-panel nav a { color: var(--accent); font-size: 10px; font-weight: 700; text-decoration: none; }
.official-panel nav { margin-top: 9px; padding-top: 9px; border-top: 1px solid #eadfd8; }
.official-panel nav a { display: flex; gap: 6px; align-items: center; color: var(--green); }
.official-panel footer { margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.intelligence-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #cfd9cf; border-radius: 18px; background: #f3f6f1; }
.intelligence-panel header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 10px; }
.intelligence-panel header span { display: grid; }
.intelligence-panel header small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.intelligence-panel h2 { margin: 3px 0 0; font: 700 17px "Noto Serif SC", serif; }
.intelligence-panel header > i { color: var(--green); font-size: 21px; }
.intelligence-panel > div { display: grid; gap: 8px; }
.intelligence-panel a { display: grid; gap: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface); text-decoration: none; }
.intelligence-panel a > span { display: flex; justify-content: space-between; gap: 8px; }
.intelligence-panel a span b { color: var(--green); font-size: 10px; }
.intelligence-panel a small { color: var(--muted); font-size: 9px; }
.intelligence-panel a > strong { font: 700 14px "Noto Serif SC", serif; }
.intelligence-panel a p { margin: 0; color: #555950; font-size: 11px; line-height: 1.5; }
.intelligence-panel a em { color: var(--accent); font-size: 10px; font-style: normal; font-weight: 700; }
.intelligence-panel footer { display: flex; gap: 6px; align-items: start; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.45; }

.community-panel { margin-bottom: 13px; padding: 14px; border: 1px solid #ddd6c8; border-radius: 18px; background: #faf7f0; }
.community-panel > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.community-panel > header span { display: grid; }
.community-panel > header small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.community-panel h2 { margin: 3px 0 0; font: 700 17px "Noto Serif SC", serif; }
.community-panel > header button { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 700; }
.community-panel > footer { display: flex; gap: 6px; align-items: start; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.community-empty { margin: 0; padding: 10px 2px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.community-list { display: grid; gap: 8px; }
.community-card { display: grid; gap: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.community-card > header { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.community-card > header span { display: grid; }
.community-card > header b { color: var(--green); font-size: 10px; }
.community-card > header small { color: var(--muted); font-size: 9px; }
.community-confidence { color: var(--accent); font-size: 9px; font-style: normal; font-weight: 700; }
.community-card > strong { font: 700 14px "Noto Serif SC", serif; }
.community-match { color: var(--green); font-size: 10px; font-style: normal; }
.community-match.pending { color: var(--accent); }
.community-card > p { margin: 0; color: #555950; font-size: 11px; line-height: 1.5; }
.community-clues { display: flex; flex-wrap: wrap; gap: 6px; }
.community-clue { display: inline-flex; gap: 4px; align-items: baseline; padding: 4px 8px; border-radius: 999px; background: var(--paper); font-size: 10px; line-height: 1.4; }
.community-clue b { color: var(--accent); font-size: 9px; }
.community-card nav { display: flex; gap: 6px; }
.community-card nav button { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: 11px; }
.community-card nav button[data-note-delete] { margin-left: auto; width: 44px; padding: 0; color: var(--muted); }
.community-dialog form { max-height: 88dvh; overflow-y: auto; }
.community-dialog textarea { width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); resize: vertical; line-height: 1.5; }
.community-dialog footer { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.journal-dialog form { max-height: 88dvh; overflow-y: auto; }
.journal-dialog textarea { width: 100%; box-sizing: border-box; min-height: 220px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); resize: vertical; line-height: 1.6; font-size: 13px; }
.journal-images { margin: 0 0 12px; padding: 12px; border: 1px dashed rgba(41,44,39,.18); border-radius: 14px; background: #f7f4ec; }
.journal-images header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.journal-images h3 { margin: 0; font: 700 14px "Noto Serif SC", serif; }
.journal-image-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.journal-image-list li { color: var(--ink); font-size: 12px; line-height: 1.4; }
.journal-image-list small { display: block; color: var(--muted); font-size: 10px; }
.journal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.journal-actions button { flex: 1 1 30%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 600; }
.journal-actions #journal-copy { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.journal-actions #journal-open-xhs { border-color: #d9b5a8; background: #fff7f2; }
.journal-footer { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; display: flex; gap: 6px; align-items: flex-start; }
#community-preview { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border: 1px dashed var(--accent); border-radius: 14px; }
#community-preview > small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
#community-preview > strong { font: 700 14px "Noto Serif SC", serif; }
#community-preview > p { margin: 0; color: #555950; font-size: 11px; }
.app-shell { position: relative; width: min(100%, 390px); height: 100dvh; margin: auto; background: var(--paper); overflow: hidden; box-shadow: 0 0 40px rgba(40,44,37,.12); }
.map-stage { position: absolute; inset: 0; overflow: hidden; }
.planning-state .map-stage { background: radial-gradient(circle at 65% 38%, #eef1e9 0 18%, transparent 19%), linear-gradient(155deg, #e3ece8, #f7f5ef 72%); }
.planning-state #map, .planning-state .map-status, .planning-state .local-context, .planning-state .map-attribution, .planning-state #recenter-button { display: none; }
.planning-state .itinerary-sheet { transform: translateY(52dvh); }
.planning-state .signal-card { display: none; }
.planning-state .destination { top: calc(145px + env(safe-area-inset-top)); }
.planning-state .date-chip { top: calc(215px + env(safe-area-inset-top)); }
.outline-button:disabled { display: none; }
.destination-state #recenter-button { opacity: .55; }
#map { position: absolute; inset: 0; z-index: 0; background: #dfe8e4; opacity: 0; transition: opacity .22s ease; }
#map.ready { opacity: 1; }
.map-status { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; gap: 8px; color: var(--green); background: #dfe8e4; text-align: center; font-size: 13px; transition: opacity .2s ease; }
.map-status i { font-size: 25px; animation: spin .8s linear infinite; }
.map-status.hidden { opacity: 0; pointer-events: none; }
.map-status.error i { animation: none; }
.leaflet-control-container { display: none; }
.leaflet-tile-pane { filter: saturate(.42) brightness(1.13) contrast(.82); }
.brand-row { position: absolute; z-index: 500; top: calc(16px + env(safe-area-inset-top)); left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.brand-row > div { display: grid; color: var(--green); text-shadow: 0 1px 8px #fff; }
.brand-row strong { font: 700 25px "Noto Serif SC", serif; letter-spacing: .08em; color: var(--ink); }
.brand-row span { font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.brand-row nav { display: flex; gap: 7px; pointer-events: auto; }
.icon-button { width: 46px; height: 46px; border: 1px solid rgba(41,44,39,.12); border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 7px 20px rgba(40,44,37,.12); pointer-events: auto; font-size: 22px; }
.destination, .date-chip { position: absolute; z-index: 500; left: 18px; display: flex; align-items: center; background: rgba(255,255,255,.94); border: 0; box-shadow: 0 8px 24px rgba(40,44,37,.12); backdrop-filter: blur(12px); }
.destination { top: calc(90px + env(safe-area-inset-top)); width: min(320px, calc(100% - 36px)); min-height: 54px; padding: 0 18px; justify-content: space-between; border-radius: 27px; }
.destination b { font: 700 21px "Noto Serif SC", serif; margin-right: 4px; }
.date-chip { top: calc(154px + env(safe-area-inset-top)); min-height: 42px; padding: 0 16px; gap: 10px; border-radius: 22px; font-size: 14px; }
.local-context { position: absolute; z-index: 500; top: calc(210px + env(safe-area-inset-top)); left: 18px; width: 164px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(40,44,37,.12); backdrop-filter: blur(12px); }
.local-context > div { display: flex; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--line); }
.local-context > div:first-child { border: 0; }
.local-context i { font-size: 20px; color: var(--green); }
.weather i { color: #d99026; font-size: 27px; }
.weather strong { font: 600 28px "Noto Serif SC", serif; }
.local-context span { display: grid; font-size: 13px; }
.local-context b { font-weight: 600; }
.local-context small { color: var(--muted); }
.map-attribution { position: absolute; z-index: 500; right: 8px; bottom: 35px; padding: 3px 6px; border-radius: 5px; color: #555; background: rgba(255,255,255,.78); font-size: 9px; text-decoration: none; }
.route-label { background: var(--ink); color: white; border: 0; border-radius: 50%; width: 28px!important; height: 28px!important; display: grid!important; place-items: center; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.route-label::before { display: none; }
.stay-label { width: 32px!important; height: 32px!important; display: grid!important; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--green); box-shadow: 0 4px 12px rgba(0,0,0,.2); font-size: 17px; }
.stay-label::before { display: none; }
.itinerary-sheet { position: absolute; z-index: 600; top: 0; left: 0; right: 0; height: 100dvh; padding: 10px 18px calc(26px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: rgba(255,253,250,.98); box-shadow: 0 -8px 28px rgba(40,44,37,.12); transform: translateY(46dvh); transition: transform .28s ease; overflow-y: auto; overscroll-behavior: contain; }
.itinerary-sheet[data-state="expanded"] { transform: translateY(calc(64px + env(safe-area-inset-top))); }
.itinerary-sheet[data-state="collapsed"] { transform: translateY(calc(100dvh - 168px)); }
.itinerary-sheet.dragging { transition: none; }
.sheet-handle { position: sticky; z-index: 3; top: 0; display: block; width: 64px; height: 24px; padding: 0; border: 0; background: transparent; margin: -4px auto 8px; touch-action: none; }
.sheet-handle::after { content: ""; display: block; width: 44px; height: 5px; margin: auto; border-radius: 3px; background: #aaa69e; }
.sheet-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-heading h1 { min-width: 0; }
.sheet-heading h1 { margin: 0; font: 700 22px "Noto Serif SC", serif; }
.sheet-heading h1 span { display: block; margin-top: 2px; color: var(--muted); font: 500 14px/1.35 "Source Sans 3", sans-serif; white-space: nowrap; }
.sheet-actions { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; }
.share-button { width: 42px; min-height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: var(--surface); font-size: 18px; }
.share-button:disabled { color: #aaa69e; background: #f5f3ef; }
.outline-button { min-height: 42px; padding: 0 17px; color: var(--accent); border: 1px solid rgba(238,90,53,.48); border-radius: 21px; background: transparent; font-weight: 600; }
.stop-card { position: relative; display: grid; grid-template-columns: 72px 1fr 18px; gap: 11px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.framework-route { display: grid; gap: 10px; padding: 14px; border: 1px solid #dfd2c5; border-radius: 20px; background: #faf7f1; }
.framework-route > header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.framework-route header span { display: grid; gap: 2px; }
.framework-route header small { color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.framework-route h2 { margin: 0; font: 700 18px "Noto Serif SC", serif; }
.framework-route header > i { color: var(--green); font-size: 23px; }
.framework-route > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.framework-route > div { display: grid; gap: 6px; }
.framework-route article { display: grid; grid-template-columns: 26px 1fr 24px; gap: 8px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.framework-route article > i:first-child { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 9px; font-style: normal; font-weight: 700; }
.framework-route article span { display: grid; gap: 2px; }
.framework-route article b { font: 700 11px "Noto Serif SC", serif; }
.framework-route article small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.framework-route article > i:last-child { color: var(--accent); font-size: 18px; }
.framework-route > button { min-height: 40px; border: 1px solid #d8b2a3; border-radius: 20px; color: #8b432f; background: var(--surface); font-size: 10px; font-weight: 700; }
.stop-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.stop-number { position: absolute; z-index: 2; top: 7px; left: 7px; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--ink); font-weight: 700; }
.stop-title { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.stop-title h2 { min-width: 0; margin: 0; overflow: hidden; font: 700 16px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.stop-title h2 small { font: 500 12px "Source Sans 3", sans-serif; color: var(--muted); }
.stop-title time { color: var(--accent); font-size: 11px; white-space: nowrap; }
.stop-copy p { margin: 4px 0 6px; font-size: 12px; color: #555950; }
.stop-copy > span { color: var(--muted); font-size: 11px; }
.row-action { border: 0; background: transparent; padding: 0; font-size: 20px; color: var(--muted); }
.transit { display: grid; grid-template-columns: 24px 1fr 14px; gap: 8px; align-items: center; min-height: 42px; margin-left: 40px; padding: 5px 3px; color: var(--muted); font-size: 11px; text-decoration: none; }
.transit > i:first-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #edf3eb; font-size: 14px; }
.transit span { min-width: 0; display: grid; gap: 1px; }
.transit b { overflow: hidden; color: var(--ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.transit small { color: var(--muted); font-size: 8px; }
.schedule-status { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-bottom: 9px; padding: 10px 12px; border: 1px solid #d4ddd2; border-radius: 15px; color: var(--green); background: #f1f5ef; }
.schedule-status > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 17px; }
.schedule-status span { display: grid; gap: 2px; }
.schedule-status b { font: 700 13px "Noto Serif SC", serif; }
.schedule-status small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.schedule-status.warning { border-color: #e8c5b8; color: #9d432c; background: #fff2ea; }
.schedule-status.warning > i { background: var(--accent); }
.schedule-status nav { display: grid; gap: 4px; }
.schedule-status button { min-height: 30px; padding: 0 10px; border: 1px solid #bfcfbd; border-radius: 15px; color: var(--green); background: var(--surface); font-size: 9px; font-weight: 700; white-space: nowrap; }
.schedule-status.warning button { border-color: #e2b29f; color: #9d432c; }
.day-gap-notice { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-bottom: 9px; padding: 10px 12px; border: 1px solid #e5c1b2; border-radius: 15px; color: #91472f; background: #fff5ef; }
.day-gap-notice > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 17px; }
.day-gap-notice span { display: grid; gap: 2px; }
.day-gap-notice b { font: 700 12px "Noto Serif SC", serif; }
.day-gap-notice small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.day-gap-notice button { min-height: 32px; padding: 0 11px; border: 1px solid #dda990; border-radius: 16px; color: #91472f; background: var(--surface); font-size: 9px; font-weight: 700; white-space: nowrap; }
.weather-alert { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-bottom: 9px; padding: 10px 12px; border: 1px solid #c9d7d8; border-radius: 15px; color: #41676c; background: #eef5f5; }
.weather-alert > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: #5f8589; font-size: 17px; }
.weather-alert span { display: grid; gap: 2px; }
.weather-alert b { font: 700 12px "Noto Serif SC", serif; }
.weather-alert small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.weather-alert button { min-height: 30px; padding: 0 10px; border: 1px solid #aec5c7; border-radius: 15px; color: #41676c; background: var(--surface); font-size: 9px; font-weight: 700; white-space: nowrap; }
.opening-note { margin-top: 3px; color: var(--green)!important; font-size: 11px!important; }
.stay-route { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; margin-bottom: 7px; padding: 10px 12px; border-radius: 15px; color: var(--green); background: #edf3eb; }
.stay-route.return { margin: 8px 0 0; }
.stay-route > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 17px; }
.stay-route span { display: grid; }
.stay-route b { font: 700 13px "Noto Serif SC", serif; }
.stay-route small { color: var(--muted); font-size: 10px; }
.empty-route { min-height: 116px; display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px dashed #cfc9bd; border-radius: 20px; background: #fbfaf6; }
.empty-route > i { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--green); background: #e8eee6; font-size: 24px; }
.empty-route strong { font: 700 17px "Noto Serif SC", serif; }
.empty-route p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.empty-route button { min-height: 36px; margin-top: 10px; padding: 0 12px; border: 1px solid #cad4c8; border-radius: 18px; color: var(--green); background: var(--surface); font-size: 10px; font-weight: 700; }
.primary-button { width: 100%; min-height: 54px; margin-top: 16px; border: 0; border-radius: 27px; color: white; background: var(--accent); font-size: 16px; font-weight: 700; box-shadow: 0 10px 25px rgba(238,90,53,.22); }
.primary-button i { margin-left: 10px; }
.primary-button:disabled { opacity: .7; cursor: wait; }
.primary-button:disabled i { display: inline-block; animation: spin .8s linear infinite; }
.generated-stop { grid-template-columns: 72px 1fr; }
.generated-stop { width: 100%; grid-template-columns: 72px 1fr 34px; text-align: left; }
.generated-stop .stop-copy { display: grid; min-width: 0; }
.place-detail { padding: 0; border: 0; background: transparent; text-align: left; }
.edit-actions { display: grid; gap: 3px; }
.edit-actions button { width: 34px; min-height: 30px; padding: 0; border: 0; border-radius: 9px; color: var(--muted); background: var(--paper); }
.edit-actions button:active { color: var(--accent); background: #f6e7e0; }
.generated-stop .place-type { margin: 4px 0; color: #555950; font-size: 12px; }
.generated-stop small { color: var(--muted); font-size: 11px; }
.stop-copy .stop-reason { display: flex; gap: 5px; align-items: start; margin: 3px 0 7px; color: #6f625a; font-size: 11px; line-height: 1.45; }
.stop-reason i { flex: 0 0 auto; margin-top: 1px; color: var(--accent); font-size: 11px; }
.decision-chips { display: flex!important; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.decision-chips em { display: inline-flex; align-items: center; gap: 3px; min-height: 25px; padding: 4px 8px; border-radius: 13px; color: #52604f; background: #edf2ea; font-size: 10px; font-style: normal; font-weight: 700; line-height: 1.25; }
.decision-chips em.booking { color: #874832; background: #fae9e1; }
.decision-chips em.quality.complete { color: #3f6444; background: #e4efe2; }
.decision-chips em.quality.basic { color: #6d5d42; background: #f3eddd; }
.decision-chips em.quality.verify { color: #934b36; background: #f9e4dc; }
.decision-chips em.preference.want { color: #914a39; background: #fae8e1; }
.decision-chips em.preference.backup { color: #4b6174; background: #e8eff4; }
.decision-chips em.preference.avoid { color: #6f716d; background: #ececea; }
.decision-chips i { font-size: 10px; }
.place-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: #e8eee6; font-size: 29px; }
.generated-stop .stop-number { top: 6px; left: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.signal-card { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; margin-top: 14px; padding: 14px; border: 1px solid #ead7ce; border-radius: 17px; background: #fff9f4; }
.signal-card > i { font-size: 20px; }
.signal-card strong { font-size: 13px; }
.signal-card p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.signal-card > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
dialog { width: min(390px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 26px; background: var(--surface); box-shadow: 0 25px 80px rgba(30,33,29,.28); }
dialog { max-height: calc(100dvh - 48px); overflow-y: auto; }
dialog::backdrop { background: rgba(32,35,31,.42); backdrop-filter: blur(3px); }
dialog form { padding: 22px; }
.trip-builder-dialog, .trip-library-dialog { width: min(100%, 390px); height: 100dvh; max-height: 100dvh; margin: 0 auto; border-radius: 0; background: var(--paper); }
.trip-builder-surface, .trip-library-surface { height: 100%; padding: calc(22px + env(safe-area-inset-top)) 20px calc(26px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior-y: contain; }
.trip-builder-surface > .dialog-note { margin: -8px 0 18px; }
.trip-builder-dialog .scene-presets { margin-bottom: 20px; }
.trip-builder-dialog .dialog-heading, .trip-library-dialog .dialog-heading { position: sticky; z-index: 2; top: calc(-22px - env(safe-area-inset-top)); margin: calc(-22px - env(safe-area-inset-top)) -20px 18px; padding: calc(22px + env(safe-area-inset-top)) 20px 0; background: rgba(247,245,239,.96); backdrop-filter: blur(12px); }
.trip-builder-dialog .dialog-heading button, .trip-library-dialog .dialog-heading button { width: auto; height: 38px; padding: 0 4px; border-radius: 0; color: var(--accent); background: transparent; font-size: 11px; font-weight: 700; }
.trip-library-dialog .trip-list { padding-bottom: 20px; }
.about-dialog .travel-data { margin: 0 0 18px; border-radius: 12px; background: #f2f1e9; }
#meal-dialog > form, #ticket-dialog > form, #booking-dialog > form { max-height: min(86dvh, 760px); overflow-y: auto; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; }
.dialog-heading small { color: var(--accent); font-weight: 700; letter-spacing: .08em; }
.dialog-heading h2 { margin: 4px 0 18px; font: 700 25px "Noto Serif SC", serif; }
.dialog-heading button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); font-size: 20px; }
.search-box { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 25px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-box button { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; color: white; background: var(--accent); }
.dialog-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.dialog-note.error { color: #a94d39; }
.destination-results { max-height: 310px; overflow-y: auto; }
.destination-option, .adjust-option { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 10px 4px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.destination-option span, .adjust-option span { flex: 1; display: grid; }
.destination-option small, .adjust-option small { color: var(--muted); }
.adjust-option > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: 21px; color: var(--green); }
fieldset { margin: 0 0 20px; padding: 0; border: 0; }
legend { margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-grid label, .segmented label { cursor: pointer; }
.choice-grid input, .segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 15px; font-size: 13px; }
.choice-grid input:checked + span { color: var(--green); border-color: var(--green); background: #edf1eb; font-weight: 700; }
.choice-grid i { font-size: 19px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 15px; background: var(--paper); }
.segmented span { min-height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--muted); font-size: 12px; }
.segmented input:checked + span { color: white; background: var(--green); font-weight: 700; }
.preference-submit { margin-top: 2px; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-fields label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.date-fields input { width: 100%; min-height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); }
.transport-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 9px; }
.transport-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.transport-fields input, .transport-fields select { width: 100%; min-width: 0; min-height: 46px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--paper); }
.transport-fields textarea { width: 100%; min-height: 70px; padding: 10px; resize: vertical; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--paper); font-family: inherit; font-size: 16px; }
.drive-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 9px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(41,44,39,.14); }
.drive-fields[hidden] { display: none !important; }
.drive-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.drive-fields input, .drive-fields select { width: 100%; min-width: 0; min-height: 46px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--paper); }
.drive-fields #transport-expense { grid-column: 1 / -1; }
.drive-fields #drive-estimate-note { grid-column: 1 / -1; margin: 0; }
.drive-cost-line, .drive-fatigue { margin: 2px 0 0; color: var(--green); font-size: 10px; line-height: 1.35; }
.drive-fatigue { color: var(--accent); }
.transport-reference { grid-column: 1 / -1; }
.map-pick-button { width: 100%; min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 13px; border: 1px dashed #9dad99; border-radius: 14px; color: var(--green); background: #f0f4ee; font-weight: 700; }
.booking-expense { width: 100%; min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 10px; border: 1px solid #d8c8ad; border-radius: 22px; color: #7a5422; background: #fff8eb; font-size: 12px; font-weight: 700; }
.booking-expense[hidden] { display: none; }
.meal-links { display: flex; gap: 8px; margin-top: 13px; }
.meal-links a, .meal-links button { flex: 1; min-height: 40px; display: flex; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 13px; color: var(--green); background: var(--paper); font-size: 11px; font-weight: 700; text-decoration: none; }
.meal-links a[hidden], .meal-links button[hidden] { display: none; }
.meal-candidate-panel { display: grid; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid #e5d6cd; border-radius: 17px; background: #fff9f5; }
.meal-candidate-panel header { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.meal-candidate-panel header span { display: grid; gap: 2px; }
.meal-candidate-panel header small { color: var(--accent); font-size: 9px; font-weight: 700; }
.meal-candidate-panel header b { font: 700 15px "Noto Serif SC", serif; }
.meal-candidate-panel header em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.meal-candidate-panel > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.meal-candidate-panel > div { display: grid; gap: 6px; }
.meal-candidate-panel button { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 9px; border: 1px solid #e4d9d1; border-radius: 13px; color: var(--ink); background: var(--surface); text-align: left; }
.meal-candidate-panel button > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #95492f; background: #f8e5db; }
.meal-candidate-panel button span { min-width: 0; display: grid; gap: 2px; }
.meal-candidate-panel button b { overflow: hidden; font: 700 12px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.meal-candidate-panel button small, .meal-candidate-panel button em { color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.35; }
.meal-candidate-panel button strong { color: var(--accent); font-size: 10px; white-space: nowrap; }
.meal-candidate-empty { padding: 10px; border: 1px dashed #dbcfc6; border-radius: 12px; color: var(--muted); background: var(--surface); font-size: 10px; text-align: center; }
.ticket-links { flex-wrap: wrap; }
.ticket-links a, .ticket-links button { flex: 1 1 42%; }
.booking-estimate { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; padding: 14px; border: 1px solid #e8d6cc; border-radius: 18px; background: #fff7f1; }
.booking-estimate > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: #f8e4d9; font-size: 23px; }
.booking-estimate span { min-width: 0; display: grid; gap: 2px; }
.booking-estimate small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.booking-estimate b { font: 700 21px "Noto Serif SC", serif; }
.booking-estimate em { overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.booking-options { display: grid; gap: 8px; }
.booking-options a { min-height: 60px; display: grid; grid-template-columns: 38px 1fr 18px; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--paper); text-decoration: none; }
.booking-options a > i:first-child { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9eee7; font-size: 19px; }
.booking-options a > i:last-child { color: var(--muted); }
.booking-options span { min-width: 0; display: grid; gap: 2px; }
.booking-options b { font-size: 13px; }
.booking-options small { color: var(--muted); font-size: 10px; }
.booking-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.booking-actions button { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 22px; color: var(--muted); background: var(--paper); font-weight: 700; }
.booking-actions button:first-child { display: flex; justify-content: center; align-items: center; gap: 6px; color: white; border-color: var(--accent); background: var(--accent); }
.inspiration-dialog form { max-height: 88dvh; overflow-y: auto; }
.inspiration-dialog .dialog-heading h2 { margin-bottom: 13px; }
.inspiration-dialog > form > img { width: 100%; height: 174px; display: block; object-fit: cover; border-radius: 18px; background: #e5e9e2; }
.inspiration-dialog > form > img[hidden] { display: none; }
.inspiration-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.inspiration-facts span { display: grid; gap: 3px; padding: 10px 12px; border-radius: 13px; background: #f1f3ed; }
.inspiration-facts small, .inspiration-overview > small { color: var(--muted); font-size: 9px; font-weight: 700; }
.inspiration-facts b { color: var(--green); font-size: 12px; }
.inspiration-overview { padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.inspiration-overview p { margin: 7px 0 0; color: #4f534d; font-size: 13px; line-height: 1.65; white-space: pre-line; }
.inspiration-dialog footer { margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.inspiration-dialog footer a { color: var(--green); font-weight: 700; }
.place-dialog form { max-height: 88dvh; overflow-y: auto; }
.place-dialog > form > img { width: 100%; height: 170px; display: block; margin-bottom: 14px; object-fit: cover; border-radius: 18px; background: #e5e9e2; }
.place-dialog > form > img[hidden] { display: none; }
.place-story { margin-bottom: 12px; padding: 14px; border: 1px solid #e5ded3; border-radius: 18px; background: #faf7f1; }
.place-story > small { display: block; margin-bottom: 3px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.place-story p { margin: 0 0 11px; color: var(--ink); font-size: 12px; line-height: 1.65; }
.place-story footer { color: var(--muted); font-size: 9px; line-height: 1.5; }
.place-story > a { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.place-story > a[hidden] { display: none; }
.place-dossier { display: grid; gap: 9px; margin-bottom: 12px; }
.place-dossier section { display: grid; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.place-dossier h3 { margin: 0; font: 700 15px "Noto Serif SC", serif; color: var(--ink); }
.place-dossier ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.place-dossier li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; align-items: start; color: #4f534d; font-size: 12px; line-height: 1.5; }
.place-dossier li i { margin-top: 1px; color: var(--green); font-size: 16px; }
.place-dossier .dossier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place-dossier .dossier-grid span { min-width: 0; display: grid; gap: 3px; padding: 10px; border-radius: 13px; background: #f4f5ef; }
.place-dossier small { color: var(--muted); font-size: 9px; font-weight: 700; }
.place-dossier b { overflow-wrap: anywhere; color: var(--ink); font-size: 12px; }
.place-preference-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0 0 12px; }
.place-preference-actions button { min-height: 44px; display: grid; place-items: center; gap: 3px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--paper); font-size: 10px; font-weight: 700; }
.place-preference-actions button i { color: var(--green); font-size: 17px; }
.place-preference-actions button.active { color: #874832; border-color: #deb8aa; background: #fff0e9; }
.place-preference-actions button.active i { color: var(--accent); }
.route-edit-dialog > form { max-height: min(82dvh, 720px); overflow-y: auto; }
.route-edit-note { margin: -7px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.route-editor-list { display: grid; gap: 7px; }
.route-editor-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); transition: opacity .15s ease; }
.route-editor-item.dragging { opacity: .48; }
.route-drag-handle { width: 38px; height: 42px; padding: 0; border: 0; border-radius: 12px; color: var(--green); background: #e8eee6; font-size: 20px; touch-action: none; }
.route-editor-item span { min-width: 0; display: grid; gap: 2px; }
.route-editor-item b { overflow: hidden; font: 700 13px "Noto Serif SC", serif; text-overflow: ellipsis; white-space: nowrap; }
.route-editor-item small { color: var(--muted); font-size: 9px; }
.route-editor-item nav { display: flex; align-items: center; gap: 4px; }
.route-editor-item select { width: 72px; min-height: 34px; padding: 0 5px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); font-size: 11px; }
.route-editor-item nav button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: white; background: var(--green); }
.manual-place-search { display: grid; gap: 8px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.manual-place-search > label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.manual-place-search > label select { min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--paper); }
.manual-place-results { display: grid; }
.manual-place-results button { width: 100%; min-height: 53px; display: grid; grid-template-columns: 1fr 18px; gap: 8px; align-items: center; padding: 9px 3px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.manual-place-results span { min-width: 0; display: grid; gap: 3px; }
.manual-place-results b, .manual-place-results small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manual-place-results b { font: 700 13px "Noto Serif SC", serif; }
.manual-place-results small { color: var(--muted); font-size: 9px; }
.place-details { display: grid; gap: 2px; margin-bottom: 18px; }
.place-details > div { display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.place-details i { font-size: 20px; color: var(--green); }
.place-details span { display: grid; gap: 3px; }
.place-details small { color: var(--muted); }
.place-details b { overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.place-primary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place-primary-actions a, .place-primary-actions button { min-height: 46px; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 23px; color: var(--green); background: var(--paper); font-size: 11px; font-weight: 700; text-decoration: none; }
.place-primary-actions button { color: white; border-color: var(--accent); background: var(--accent); }
.place-primary-actions #place-website { grid-column: 1 / -1; }
.place-primary-actions a[hidden] { display: none; }
.stay-shortlist article nav button.secondary { color: var(--green); border: 1px solid var(--line); background: var(--paper); }
.app-shell[data-workspace="overview"] [data-workspace-view]:not([data-workspace-view~="overview"]),
.app-shell[data-workspace="itinerary"] [data-workspace-view]:not([data-workspace-view~="itinerary"]),
.app-shell[data-workspace="bookings"] [data-workspace-view]:not([data-workspace-view~="bookings"]),
.app-shell[data-workspace="budget"] [data-workspace-view]:not([data-workspace-view~="budget"]),
.app-shell[data-workspace="atlas"] [data-workspace-view]:not([data-workspace-view~="atlas"]) { display: none!important; }
.app-shell[data-workspace="overview"] .map-stage,
.app-shell[data-workspace="bookings"] .map-stage,
.app-shell[data-workspace="budget"] .map-stage,
.app-shell[data-workspace="atlas"] .map-stage { display: none; }

/* 旅行图鉴 */
.atlas-panel { padding: 0 0 24px; }
.atlas-passport { position: relative; overflow: hidden; padding: 20px; border: 1px solid #d7d0c3; border-radius: 26px; color: #f9f4e9; background: #415344; box-shadow: 0 16px 36px rgba(50,61,50,.16); }
.atlas-passport::after { content: ""; position: absolute; right: -42px; bottom: -55px; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 37px rgba(255,255,255,.025); pointer-events: none; }
.atlas-passport header { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.atlas-passport header span { min-width: 0; display: grid; gap: 3px; }
.atlas-passport header small { color: #e7b8a5; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.atlas-passport h2 { margin: 0; font: 700 24px "Noto Serif SC", serif; }
.atlas-passport header button { flex: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff9ef; background: rgba(255,255,255,.08); font-size: 18px; }
.atlas-passport > p { position: relative; z-index: 1; max-width: 285px; margin: 12px 0 16px; color: rgba(255,250,241,.72); font-size: 11px; line-height: 1.55; }
.atlas-progress { position: relative; z-index: 1; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.13); }
.atlas-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #e39a79; transition: width .2s ease; }
.atlas-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 15px 0 0; }
.atlas-stats div { display: grid; gap: 1px; }
.atlas-stats dt { font: 700 20px "Noto Serif SC", serif; }
.atlas-stats dd { margin: 0; color: rgba(255,250,241,.62); font-size: 9px; }
.atlas-footprint { position: relative; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #f2f0e9; }
.atlas-footprint header { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.atlas-footprint header span { display: grid; gap: 2px; }
.atlas-footprint header small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.atlas-footprint h3 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.atlas-footprint header em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.atlas-map { height: 210px; overflow: hidden; border: 1px solid #d8d4ca; border-radius: 15px; background: #e7ebe3; }
.atlas-map-attribution { position: absolute; right: 20px; bottom: 19px; z-index: 500; padding: 3px 6px; border-radius: 8px; color: var(--muted); background: rgba(255,253,250,.9); font-size: 8px; text-decoration: none; }
.atlas-map-empty { margin: 0; padding: 18px 12px; border: 1px dashed #cbc7bc; border-radius: 15px; color: var(--muted); background: rgba(255,253,250,.65); font-size: 11px; line-height: 1.5; text-align: center; }
.atlas-capture { margin-top: 22px; }
.atlas-capture h3 { margin: 0 0 4px; font: 700 18px "Noto Serif SC", serif; }
.atlas-capture p { margin: 0 0 14px; color: var(--muted, #6b6b6b); font-size: 14px; }
.atlas-actions { display: flex; gap: 10px; }
.atlas-actions button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.atlas-card { margin-top: 16px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.atlas-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.atlas-card-body { padding: 14px 16px 16px; }
.atlas-card-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.atlas-card-title h3 { margin: 0; font-size: 18px; }
.atlas-card-title small { color: var(--muted, #6b6b6b); }
.atlas-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.atlas-card-meta span { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 3px 8px; border-radius: 13px; color: var(--green); background: #edf2ea; font-size: 10px; font-weight: 700; }
.atlas-card-body p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.atlas-fact { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f3ec; font-size: 13px; line-height: 1.5; }
.atlas-fact i { margin-right: 6px; }
.atlas-wiki { margin-top: 10px; font-size: 13px; line-height: 1.6; border-top: 1px dashed #ddd; padding-top: 10px; }
.atlas-wiki a { color: inherit; }
.depart-advice { margin: 6px 0 0; padding: 6px 8px; border-radius: 8px; background: rgba(65,83,68,.08); color: var(--green); font-size: 10px; line-height: 1.5; }
.depart-advice i { margin-right: 4px; }
.atlas-level { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; margin: 10px 0 4px; }
.atlas-level > span { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--paper); font-size: 11px; font-weight: 700; }
.atlas-level > small { color: var(--muted); font-size: 10px; }
.atlas-level-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(41,44,39,.1); overflow: hidden; }
.atlas-level-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--accent)); transition: width .4s ease; }
.atlas-level-hook, .atlas-city-progress { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.atlas-level-hook { color: var(--accent); font-weight: 600; }
.atlas-levelup { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #2f3d2c, #6b3a2a); color: #fffdfa; }
.atlas-levelup[hidden] { display: none !important; }
.atlas-levelup small { display: block; opacity: .75; font-size: 10px; }
.atlas-levelup b { display: block; margin-top: 2px; font: 700 16px "Noto Serif SC", serif; }
.atlas-levelup p { margin: 4px 0 0; font-size: 11px; line-height: 1.4; opacity: .9; }
.atlas-levelup button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: #fffdfa; color: var(--ink); font-weight: 700; font-size: 12px; }
.atlas-trust { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.atlas-trust.verified, .atlas-trust.trip_match { color: var(--green); background: #edf2ea; }
.atlas-trust.wiki_only { color: #8a5a2b; background: #f6efe4; }
.atlas-trust.pending { color: var(--accent); background: #f8ebe6; }
.atlas-trust-detail { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.atlas-confirm-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.atlas-confirm-row button { flex: 1; min-height: 40px; }
.atlas-speak-row { display: flex; margin-top: 10px; }
.atlas-speak { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--green); font-weight: 600; }
.atlas-save-row { display: flex; gap: 10px; margin-top: 12px; }
.atlas-save-row button { flex: 1; }
.atlas-rarity { font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.atlas-rarity.common { background: #ececec; color: #555; }
.atlas-rarity.rare { background: #dcebfb; color: #1d5fb8; }
.atlas-rarity.epic { background: #eadffb; color: #7a3fd1; }
.atlas-rarity.legendary { background: #fbe8c8; color: #b06800; }
.atlas-collection-head { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.atlas-collection-head h3 { margin: 0; font-size: 16px; }
.atlas-collection-head em { font-style: normal; color: var(--muted, #6b6b6b); font-size: 13px; margin-left: 4px; }
.atlas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.atlas-cell { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.atlas-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.atlas-cell figcaption { display: grid; gap: 3px; padding: 6px 8px 8px; font-size: 12px; line-height: 1.3; }
.atlas-cell figcaption b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atlas-cell figcaption small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.atlas-cell .atlas-rarity { font-size: 10px; padding: 1px 6px; }
.atlas-cell.pending { border: 1px dashed rgba(41,44,39,.3); background: var(--paper); box-shadow: none; }
.atlas-pending-icon { width: 100%; aspect-ratio: 1; display: grid; place-items: center; color: var(--clay); font-size: 26px; background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(193,140,93,.07) 6px, rgba(193,140,93,.07) 12px); }
.atlas-pending-tag { justify-self: start; padding: 1px 7px; border: 1px dashed var(--clay); border-radius: 999px; color: var(--clay); font-size: 10px; }
.atlas-empty { grid-column: 1 / -1; text-align: center; color: var(--muted, #6b6b6b); font-size: 13px; padding: 24px 0; }
.atlas-quest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.atlas-quest { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.atlas-quest > i { font-size: 20px; color: var(--accent, #d4552a); flex: none; }
.atlas-quest span { flex: 1; min-width: 0; }
.atlas-quest b { display: block; font-size: 14px; }
.atlas-quest small { color: var(--muted, #6b6b6b); font-size: 12px; }
.atlas-quest button { flex: none; font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent, #d4552a); color: var(--accent, #d4552a); background: none; }
.atlas-quest.done { opacity: .65; }
.atlas-quest.done > i { color: #2e9e5b; }
.atlas-quest em { flex: none; font-style: normal; font-size: 12px; color: #2e9e5b; }
.app-shell[data-workspace="overview"] .itinerary-sheet,
.app-shell[data-workspace="bookings"] .itinerary-sheet,
.app-shell[data-workspace="budget"] .itinerary-sheet,
.app-shell[data-workspace="atlas"] .itinerary-sheet { inset: 0; height: 100dvh; padding: calc(18px + env(safe-area-inset-top)) 18px calc(94px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: none; transform: none!important; }

@media (min-width: 900px) {
  .home-view { width: min(100%, 760px); overflow-y: auto; }
  .inspiration-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0 0 5px; overflow: visible; }
  .curated-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0 0 5px; overflow: visible; }
  .curated-card { max-width: none; }
  .inspiration-card { flex: none; }
  .app-shell { width: min(100%, 1100px); display: grid; grid-template-columns: 1fr 430px; }
  .map-stage { position: relative; inset: auto; min-height: 100dvh; }
  .itinerary-sheet { position: relative; inset: auto; height: 100dvh; transform: none!important; border-radius: 0; }
  .sheet-handle { display: none; }
  .app-shell[data-workspace="overview"] .itinerary-sheet,
  .app-shell[data-workspace="bookings"] .itinerary-sheet,
  .app-shell[data-workspace="budget"] .itinerary-sheet,
  .app-shell[data-workspace="atlas"] .itinerary-sheet { grid-column: 1 / -1; }
}
.app-shell[data-workspace="overview"] .sheet-handle,
.app-shell[data-workspace="bookings"] .sheet-handle,
.app-shell[data-workspace="budget"] .sheet-handle,
.app-shell[data-workspace="atlas"] .sheet-handle,
.app-shell[data-workspace="atlas"] .sheet-heading { display: none; }
.app-shell[data-workspace="itinerary"] .itinerary-sheet { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
.workspace-tabs { position: absolute; z-index: 900; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(41,44,39,.12); background: var(--surface); box-shadow: 0 -8px 24px rgba(40,44,37,.1); }
.workspace-tabs button { position: relative; min-width: 0; min-height: 54px; display: grid; place-content: center; gap: 3px; padding: 4px; border: 0; border-radius: 16px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.workspace-tabs button > i { font-size: 21px; }
.workspace-tabs button.active { color: var(--green); background: #edf3eb; }
.workspace-tabs button.active > i { color: var(--accent); }
.workspace-tabs button > em { position: absolute; top: 2px; left: calc(50% + 8px); min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--surface); border-radius: 9px; color: white; background: var(--accent); font-size: 8px; font-style: normal; line-height: 1; }
.workspace-tabs button > em[hidden] { display: none; }
#toast { position: fixed; z-index: 2000; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 120px); width: max-content; max-width: calc(100% - 40px); padding: 13px 18px; border-radius: 24px; color: white; background: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: .3s ease; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.booking-return-panel { position: fixed; z-index: 1500; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); left: 12px; display: grid; gap: 12px; padding: 14px 16px; border: 1px solid rgba(41,44,39,.12); border-radius: 20px; background: var(--surface); box-shadow: 0 16px 40px rgba(40,44,37,.18); }
.booking-return-panel[hidden] { display: none; }
.booking-return-panel > div { display: flex; gap: 12px; align-items: center; }
.booking-return-panel > div > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: rgba(184,75,47,.1); font-size: 20px; }
.booking-return-panel span { display: grid; gap: 2px; min-width: 0; }
.booking-return-panel small { color: var(--muted); overflow-wrap: anywhere; }
.booking-return-panel nav { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.booking-return-panel nav button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(41,44,39,.14); border-radius: 14px; color: var(--ink); background: transparent; font: inherit; font-weight: 600; }
.booking-return-panel nav #booking-return-record { display: inline-flex; gap: 6px; align-items: center; justify-content: center; border: 0; color: white; background: var(--accent); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(184,75,47,.32); outline-offset: 2px; }
.brief-interests input:focus-visible + span, .segmented input:focus-visible + span, .preference-grid input:focus-visible + span { outline: 3px solid rgba(184,75,47,.32); outline-offset: 2px; }
@media (min-width: 391px) { .app-shell { border-radius: 32px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; } }
