/* Shared task-first surfaces. Existing forms keep their domain behavior. */
:root{color-scheme:light;--simple-gap:24px}
[hidden]{display:none!important}
html{scroll-padding-top:90px}
body{overflow-wrap:break-word}
:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.homebar{max-width:1200px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.homebrand{font:30px/1.1 Caslon,Georgia,serif;color:var(--ink)}
.homebar nav{display:flex;align-items:center;gap:24px}
.homebar nav a{min-height:44px;display:inline-flex;align-items:center;color:var(--ink);text-decoration:none}
.homebar nav a:hover{text-decoration:underline}
.home-main{max-width:1200px;margin:auto;padding:24px 32px 64px}
.home-intro{margin:12px 0 30px}
.home-intro h1{font:48px/1.1 Caslon,Georgia,serif;letter-spacing:-.025em;max-width:20ch}
.home-intro p{font-size:18px;color:var(--muted);margin-top:14px}
.picture-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.picture-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;isolation:isolate;min-height:330px;padding:28px;border:0;border-radius:14px;overflow:hidden;background:#183548;color:white;text-align:left;text-decoration:none;cursor:pointer}
.picture-choice img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.picture-choice:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,30,41,.05) 10%,rgba(12,30,41,.85) 100%)}
.picture-choice strong{display:block;font-size:30px;line-height:1.2}
.picture-choice span{display:block;font-size:16px;line-height:1.5;margin-top:8px;max-width:34ch}
.picture-choice:hover{color:#fff;text-decoration:none}
.picture-choice:hover:after{background:linear-gradient(180deg,rgba(12,30,41,.12) 10%,rgba(12,30,41,.9) 100%)}
.picture-choice:focus-visible{outline-offset:5px}
.home-shortcuts{display:flex;gap:12px 28px;flex-wrap:wrap;margin:28px 0 42px}
.home-shortcuts a{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.home-help{border-top:1px solid var(--line);padding:24px 0;max-width:760px}
.home-help summary{min-height:44px;cursor:pointer;font-weight:600}
.home-help p{max-width:65ch;color:var(--muted)}
.home-footer{color:var(--muted);font-size:13px;border-top:1px solid var(--line);padding-top:24px;display:flex;gap:16px 24px;flex-wrap:wrap}
.app-topbar .local-state{display:none}
.app-topbar>span{font-weight:600}
.app-brand{font-size:16px}
body .tool-main{padding-top:20px}
.arrival-now.guide-entry{max-width:1000px}
.arrival-now.guide-entry>h1{font:40px/1.15 Caslon,Georgia,serif;max-width:none}
.arrival-now.guide-entry .flow-guide-choices{max-width:none}
.arrival-now .flow-guide-choices.picture-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.arrival-now .picture-choice{min-height:320px}
.arrival-now .picture-choice span{color:#fff;font-size:16px}
.arrival-now .guide-back{min-height:44px;margin-bottom:16px;border:0;background:none;padding:8px 0;color:var(--accent);text-decoration:underline}
.arrival-now .flow-guide-note{font-size:16px;color:var(--muted)}
.arrival-now .guide-scope{margin-top:24px;font-size:13px}
.arrival-now .flow-steps{list-style:none}
.quick-cities{margin:0 0 30px}
.quick-cities h2{font-size:22px;margin-bottom:12px}
.city-search label{font-size:15px;font-weight:600}
.city-search input{width:100%;min-height:52px;font:inherit;margin:8px 0 6px;padding:12px 14px;background:#fff;border:1px solid #899faa;border-radius:8px}
.city-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 20px}
.city-results a{display:block;min-height:64px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.city-results strong,.city-results small{display:block}
.city-results small{color:var(--muted);margin-top:4px}
.city-results p{grid-column:1/-1}
.city-teasers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.city-teaser{margin:0;min-width:0}
.city-teaser>a{min-height:180px;padding:18px}
.city-teaser strong{font-size:24px}
.city-teaser .photo-credit{margin:6px 0 0;color:var(--muted)}
.city-teaser .photo-credit a{min-height:28px;display:inline-flex;align-items:center}
.map-disclosure{margin-bottom:24px;border-block:1px solid var(--line);padding:10px 0}
.map-disclosure>summary{min-height:48px;font-size:17px;font-weight:600;cursor:pointer;display:list-item}
.map-disclosure .region-picker{padding:18px 0}
.explore-head h1{font-size:40px}
.explore-head p{max-width:50ch}
.city-overview{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.city-overview h2{font:36px/1.1 Caslon,Georgia,serif;margin:12px 0}
.city-overview h1{font:42px/1.12 Caslon,Georgia,serif;margin:10px 0}
.city-switch{margin:0 0 24px;width:100%;order:-1}
.city-switch>summary{min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--accent);cursor:pointer}
.city-switch .quick-cities{margin-top:18px}
.map-disclosure{width:100%}
.nearby-search{padding:18px 0}
.nearby-search label{display:block;font-size:15px}
.nearby-search input{display:block;max-width:100%;width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:12px;margin:8px 0;font:inherit}
.nearby-search a{display:inline-flex;align-items:center;min-height:44px}
.nearby-search p{font-size:14px;color:var(--muted)}
.city-overview .city-airports{color:var(--muted);font-size:13px;margin:8px 0}
.city-overview>p{max-width:60ch}
.city-overview .city-next{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.city-overview .city-next a{min-height:46px;display:flex;align-items:center;padding:10px 16px;border-radius:8px;background:var(--accent);color:#fff}
.city-overview .city-next a.secondary{background:#e5edf1;color:var(--ink)}
.experience-figure{margin:0 0 14px}
.experience-figure .experience-photo{height:240px}
.experience h3{font-size:22px}
.experience .experience-meta{font-size:14px}
.experience .visit-caution{font-size:14px;color:#69491e;background:#fbf3e6;padding:12px 14px;border-radius:8px}
.experience .experience-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.experience-actions a{min-height:44px;display:inline-flex;align-items:center}
#savedIdeas{scroll-margin-top:90px}
.intake-picture-choices{margin:12px 0 20px}
.intake-picture-choices .picture-choice{min-height:155px;padding:18px}
.intake-picture-choices .picture-choice strong{font-size:22px}
.intake-picture-choices .picture-choice[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:3px}
.intake-picture-choices .picture-choice[aria-pressed=true] strong:after{content:' · Selected';font-size:13px}
html[lang^=zh] .intake-picture-choices .picture-choice[aria-pressed=true] strong:after{content:' · 已选'}
.intake-panel>p{font-size:15px}
.intake-panel .planner-own{margin:18px 0}
.intake-panel .planner-own summary{min-height:44px;cursor:pointer;display:flex;align-items:center;color:var(--accent)}
.intake-panel .planner-own textarea{min-height:100px}
.intake-panel .privacy{font-size:13px}
.intake-panel .privacy summary{cursor:pointer;min-height:44px}
.saved-overview{padding:24px 0;margin-bottom:24px;border-bottom:1px solid var(--line)}
.saved-overview h2{font-size:23px;margin-bottom:12px}
.saved-overview ul{padding-left:20px}
.saved-overview li{margin:8px 0}
.saved-overview .saved-actions{display:flex;gap:12px;flex-wrap:wrap}
.empty-state{padding:28px;gap:28px}
.empty-state h2{font-size:26px}
.empty-state p{font-size:16px}
.workspace-heading h1{font-size:36px}
.workspace-heading>p{font-size:16px}
.food-source{box-shadow:none}
.food-source summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.restaurant-name-cn{font-size:18px;margin:8px 0}
.restaurant-type{font-size:21px;margin:0 0 6px}
.restaurant-actions{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:16px}
.restaurant-actions button,.restaurant-actions a{min-height:44px;padding:9px 12px;border:1px solid #9ab1bf;border-radius:8px;background:#fff;color:var(--accent);font:inherit;font-size:14px;text-decoration:none;display:inline-flex;align-items:center}
.restaurant .restaurant-original{font-size:14px;margin-top:14px}
.restaurant-original summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.restaurant .copy-status{font-size:13px;color:var(--muted)}
.restaurant .copy-status:empty{display:none}
.food-more{margin:24px 0}
.food-more button{min-height:48px;font:inherit;background:var(--accent);border:0;border-radius:8px;color:#fff;padding:12px 20px}
.food-list-head{align-items:baseline}
@media(max-width:900px){.home-main{padding-top:12px}.home-intro h1{font-size:40px}.picture-choice{min-height:280px}.city-teasers{gap:12px}.city-teaser strong{font-size:21px}.city-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .homebar{padding:18px 20px;gap:12px}.homebrand{font-size:26px}.homebar nav{gap:16px;font-size:14px}
 .home-main{padding:8px 20px 40px}.home-intro{margin:14px 0 24px}.home-intro h1{font-size:36px}.home-intro p{font-size:16px}
 .picture-choices,.arrival-now .flow-guide-choices.picture-choices{grid-template-columns:1fr;gap:16px}
 .picture-choice,.arrival-now .picture-choice{min-height:205px;padding:22px}.picture-choice strong{font-size:27px}.picture-choice span{font-size:15px}
 .home-shortcuts{display:grid;gap:4px;margin:20px 0 26px}.home-help{padding:18px 0}
 .app-topbar{height:62px}.app-sidebar nav a{font-size:12px}
 body .tool-main{margin-top:86px;padding-top:0}
 .arrival-now.guide-entry>h1{font-size:32px;margin-top:8px}
 .arrival-now>h1+.flow-note{margin-bottom:20px}
 .city-teasers{grid-template-columns:1fr}
 .city-teaser>a{min-height:155px}.city-teaser strong{font-size:26px}
 .city-results{grid-template-columns:1fr}
 .city-overview h1,.city-overview h2,.explore-head h1,.workspace-heading h1{font-size:32px}
 .intake-picture-choices{grid-template-columns:1fr 1fr;gap:12px}
 .intake-picture-choices .picture-choice{min-height:125px;padding:14px}
 .intake-picture-choices .picture-choice strong{font-size:18px}
 .experience-figure .experience-photo{height:190px}
 .empty-state{padding:22px}.food-list-head{gap:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.site-reading-page .read-surface{max-width:900px}
.site-reading-page .homebar{max-width:1280px;min-height:112px;padding:16px 48px}
.site-reading-page .homebrand{display:inline-flex;align-items:center;gap:12px;font:700 24px/1.1 var(--font);letter-spacing:-.04em;color:var(--ink);white-space:nowrap}
.site-reading-page .homebrand img{width:64px;height:60px;object-fit:contain;flex:none}
.site-reading-page .homebar nav{gap:28px;font-size:15px}.site-reading-page .homebar .language{border-left:1px solid var(--line);padding-left:24px;color:var(--muted)}
.site-reading-page .workspace{max-width:1280px;margin:0 auto;padding:24px 48px 0}
.services-page #custom-planning{scroll-margin-top:160px}
.services-page .service-option{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.services-page .service-option h3{font-size:23px;margin-bottom:8px}
.services-page .service-option p{line-height:1.65}
.services-page .service-option summary{color:var(--accent)}
.services-page .service-option .link-button{margin-top:12px}
.services-page .read-row details p{margin:8px 0 16px}
.services-page .service-free,.services-page .service-email{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
.services-page .service-email{overflow-wrap:anywhere}
.services-page .service-status{margin-top:12px;font-weight:600}
.services-page #medical-visits{scroll-margin-top:90px}
.services-page #inquiry-template{font-size:15px;margin-bottom:12px}
.services-page #inquiry-status{margin-top:12px}
.quiet-support{display:block;width:fit-content;min-height:44px;align-content:center;margin-top:12px}
.home-footer a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:650px){.services-page .service-option{grid-template-columns:1fr;gap:8px}}
@media(max-width:760px){.site-reading-page .homebar{min-height:0;padding:12px 24px;flex-wrap:wrap;gap:12px}.site-reading-page .homebrand{font-size:22px;gap:10px}.site-reading-page .homebrand img{width:50px;height:47px}.site-reading-page .homebar nav{width:100%;justify-content:space-between;gap:8px;border-top:1px solid var(--line);font-size:14px}.site-reading-page .homebar .language{padding-left:12px}.site-reading-page .workspace{margin:0;padding:28px 24px 0}}
@media(max-width:360px){.site-reading-page .homebar,.site-reading-page .workspace{padding-inline:18px}.site-reading-page .homebrand{font-size:20px}.site-reading-page .homebar nav{font-size:13px}}

.experience-photo.image-unavailable{display:grid;place-items:center;background:var(--soft);color:var(--muted);padding:16px}

/* The task pages share the homepage's paper, type scale and quiet card language. */
:root{--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
body{font-size:16px}
.app-sidebar{background:var(--paper)}
.app-sidebar nav a{color:var(--ink)}
.app-sidebar nav a[aria-current=page],.app-sidebar .nav-more.current summary{border-radius:14px}
.app-topbar{background:var(--paper)}
.workspace-heading{border-bottom:1px solid var(--line);padding-bottom:25px}
.workspace-heading h1,.plan-top h1{font-size:clamp(32px,3.2vw,44px);line-height:1.13;letter-spacing:-.04em}
.workspace-heading>p,.plan-top>p{font-size:16px;line-height:1.65;max-width:60ch}
.intake-panel,.plan-layout>.card,.empty-state,.saved-trip,.route,body[data-surface=arrival] .panel,body[data-surface=cards] .hotel-panel{border-radius:20px;border-color:var(--line);box-shadow:0 10px 28px rgb(16 20 24 / 3%)}
.intake-aside,.city-starter,.food-source,.ideas-import,.route-summary-strip{background:var(--paper-deep);border-radius:20px}
.primary,.link-button,.city-overview .city-next a,.experience button,.explore-primary,.food-more button,.food-source-link{border-radius:999px;min-height:48px;font-weight:700}
textarea,select,input:not([type=checkbox]),.city-search input,.nearby-search input{border-radius:12px}
textarea:focus-visible,select:focus-visible,input:focus-visible{border-color:var(--ink)}
.food-source-facts>*{color:var(--ink)}
.restaurant-tags span,.city-overview .city-next a.secondary{background:var(--paper-deep);color:var(--ink)}
.arrival-now .flow-action,.arrival-now .flow-step[aria-current=step],.arrival-now .hotel-book{background:var(--accent);border-color:var(--accent)}
.arrival-now .flow-action.secondary{background:#fff;color:var(--accent)}
.arrival-now .stay-booking-checks summary,.arrival-now .stay-source summary{color:var(--accent)}
.region-shape.ready{fill:#b8c9c6}.region-shape:hover,.region-shape:focus-visible{fill:#9fb9b3}.region-shape.selected{fill:var(--accent);stroke:#7e1019}
.map-legend span{background:#b8c9c6}
.airport-city-dialog,.airport-city-dialog header{background:var(--paper)}
.airport-city-dialog{border-radius:20px;box-shadow:0 24px 70px rgb(16 20 24 / 18%)}
.airport-city-dialog h2{font:700 clamp(24px,3vw,34px)/1.15 var(--font);letter-spacing:-.04em}
.airport-city-list a:hover,.airport-city-list a:focus-visible{background:var(--paper-deep)}
.airport-city-close{border-color:var(--line);border-radius:999px}
.explore-head h1,.city-overview h1,.city-overview h2,.region-heading h2,.food-head h1,.food-list-head h2,.arrival-now.guide-entry>h1{font-family:var(--font);font-weight:700;letter-spacing:-.04em}
@media(max-width:650px){.workspace-heading{padding-bottom:20px}.workspace-heading h1,.plan-top h1{font-size:32px}.workspace-heading>p,.plan-top>p{font-size:15px}.app-sidebar nav a{border-radius:12px}.intake-panel,.plan-layout>.card,.empty-state,.saved-trip,.route{border-radius:18px}}
body[data-surface=intake] .intake-panel{padding:0;border:0;background:transparent;box-shadow:none}
body[data-surface=intake] .layout:not(.has-result),body[data-surface=intake] .workspace-heading{display:block;max-width:760px;margin-inline:auto}
body[data-surface=library] .empty-state{grid-template-columns:1fr;max-width:720px}

/* Mobile source text stays readable without competing with the main actions. */
@media(max-width:650px){
 .photo-credit,.photo-credit a,.restaurant-meta a,body[data-surface=cards] .preview-note,body[data-surface=cards] .preview-note a,.experience .source,.city-craft figcaption,.city-craft-details p,.city-craft-details a,.city-top10-photo figcaption,.city-top10-photo a,.restaurant-photo figcaption,.restaurant-photo-source,.map-credit,.map-credit summary{font-size:14px;line-height:1.6}
 .preview-note a,.restaurant-meta a,.photo-credit a,.city-teaser .photo-credit a,.city-craft figcaption a,.city-top10-photo a,.restaurant-photo a,.restaurant-photo-source,.experience .source a,.city-top10-facts a,.restaurant-original a,.food-source details a,.map-credit a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
 .city-top10-facts p,.city-top10-facts summary,.city-top10-facts a,.restaurant-dish,.food-source>p,.food-source #captureDate,.food-source-facts>*{font-size:14px;line-height:1.6}
 .city-top10-actions a,.city-top10-facts summary,.map-credit summary{min-height:44px}
 .city-craft figcaption,.city-top10-photo figcaption,.restaurant-photo figcaption{overflow-wrap:anywhere}
}

/* Keep the current tool visible without competing with its primary action. */
.app-sidebar nav a[aria-current=page],.app-sidebar .nav-more.current summary{background:var(--paper-deep);color:var(--ink);box-shadow:inset 0 -2px var(--ink);border-radius:8px}
