/* Jade Glass — one layer over the legacy sheets. Loaded last. Tokens first, then shell, then screens. */
@font-face{font-family:'WM Display';src:url(assets/fonts/Inter-ExtraBold.woff2) format('woff2');font-weight:800;font-display:swap}
:root{--jd-deep:#0b3a2c;--jd-deeper:#072a20;--jd-mid:#14513e;--jd-lime:#f5f8f2;--jd-lime-ink:#0b2a1f;--jd-mist:#e6ece2;--jd-sheet:#f4f7f1;--jd-ink:#0d281f;--jd-muted:#3d5046;--jd-rule:#c8d4c5;--jd-glass:#ffffff1f;--jd-glass-line:#ffffff33;--jd-r-card:28px;--jd-r-pill:999px;--jd-display:'WM Display','Segoe UI','PingFang SC','Microsoft YaHei',system-ui,sans-serif}
body.wm-studio{--wm-green:var(--jd-deep);--wm-ivory:var(--jd-mist);--wm-panel:var(--jd-sheet);--wm-ink:var(--jd-ink);--wm-muted:var(--jd-muted);--wm-rule:var(--jd-rule);--wm-radius:var(--jd-r-card);--wm-display:var(--jd-display);--wm-focus:#0b6b4f;background:var(--jd-mist);color:var(--jd-ink)}
body.wm-studio :focus-visible{outline:3px solid var(--jd-lime);outline-offset:3px;box-shadow:0 0 0 6px var(--jd-deep)}
body.wm-studio ::selection{background:var(--jd-lime);color:var(--jd-lime-ink)}

/* Display voice: the wordmark's own letterforms, tight and large */
body.wm-studio :is(h1,.studio-home-intro h1){font-family:var(--jd-display);font-weight:800;letter-spacing:-.035em;line-height:1.02}
body.wm-studio :is(#main h2,.view h2){font-family:var(--jd-display);font-weight:800;letter-spacing:-.025em;line-height:1.1}

/* Shell */
body.wm-studio .app-header{background:var(--jd-deep);border-bottom:0}
body.wm-studio .bottom-nav{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;border:1px solid var(--jd-glass-line);border-radius:var(--jd-r-pill);background:#0b3a2cf2;box-shadow:0 14px 34px #072a2066;padding:6px}
body.wm-studio .bottom-nav :is(button,a){color:#cfe0d4;border-radius:var(--jd-r-pill);min-height:52px}
body.wm-studio .bottom-nav :is(button,a)[aria-current=page],body.wm-studio .bottom-nav :is(button,a).active,body.wm-studio .bottom-nav :is(button,a)[aria-selected=true]{background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .bottom-nav svg{stroke:currentColor}
body.wm-studio main{padding-bottom:112px}

/* Buttons: pills, lime on jade, jade on mist */
body.wm-studio :is(button.primary,.primary){border-radius:var(--jd-r-pill);background:var(--jd-deep);color:#f4f7f1;font-weight:700;min-height:52px;border:0}
body.wm-studio .jade-hero :is(button.primary,.primary){background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio :is(button.quiet,.quiet){border-radius:var(--jd-r-pill);border:1px solid var(--jd-rule);background:var(--jd-sheet);color:var(--jd-ink)}

/* Home: jade hero, glass tracker over photograph, mist sheet */
body.wm-studio .jade-hero{position:relative;overflow:hidden;margin:0 -20px;padding:28px 20px 40px;background:radial-gradient(120% 80% at 80% 0%,var(--jd-mid) 0%,var(--jd-deep) 60%,var(--jd-deeper) 100%);color:#f4f7f1;border-radius:0 0 36px 36px}
body.wm-studio .jade-ghost{position:absolute;right:-18px;top:-14px;font:400 clamp(190px,64vw,300px)/1 'Noto Serif SC','Songti SC',SimSun,serif;color:#ffffff0f;letter-spacing:-.05em;pointer-events:none;user-select:none}
body.wm-studio .jade-hero .studio-home-intro{position:relative;margin:0 0 20px}
body.wm-studio .jade-hero .studio-home-intro h1{color:#f4f7f1;font-size:clamp(38px,11.5vw,56px);max-width:11ch;margin:0 0 12px}
body.wm-studio .jade-hero .studio-home-intro p{color:#cfe0d4;font-size:16px}
body.wm-studio .jade-hero .studio-city-switch{color:#cfe0d4}
body.wm-studio .studio-home-layout{display:flex;flex-direction:column;gap:0;position:relative}
body.wm-studio .studio-home-photo{order:1;margin:0;border-radius:var(--jd-r-card);overflow:hidden;position:relative;min-height:300px;background:var(--jd-deeper)}
body.wm-studio .studio-home-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
body.wm-studio .studio-home-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#072a2099 100%);pointer-events:none}
body.wm-studio .studio-home-photo figcaption{position:absolute;left:0;right:0;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;padding:18px;color:#f4f7f1;background:none}
body.wm-studio .studio-home-photo figcaption h2{margin:0;font-size:22px;color:#f4f7f1;text-shadow:0 1px 12px #072a2099}
body.wm-studio .studio-home-photo figcaption p{margin:4px 0 0;font-size:14px;color:#f4f7f1;max-width:22ch;text-shadow:0 1px 10px #072a2099}
body.wm-studio .studio-home-photo figcaption button{width:44px;height:44px;border-radius:50%;border:1px solid var(--jd-glass-line);background:#ffffff33;color:#fff;backdrop-filter:blur(10px)}
body.wm-studio .studio-preparation{order:2;position:relative;z-index:2;margin:-96px 12px 0;padding:22px;border-radius:var(--jd-r-card);background:#0b3a2cb8;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);border:1px solid var(--jd-glass-line);color:#f4f7f1;box-shadow:0 18px 40px #072a2066}
@supports not (backdrop-filter:blur(1px)){body.wm-studio .studio-preparation{background:var(--jd-deep)}}
body.wm-studio .studio-preparation h2{margin:0 0 6px;font-size:24px;color:#f4f7f1}
body.wm-studio .studio-preparation p{color:#d7e5da;font-size:15px;line-height:1.45;margin:0 0 14px}
body.wm-studio .studio-preparation progress{width:100%;height:10px;border:0;border-radius:var(--jd-r-pill);overflow:hidden;appearance:none;-webkit-appearance:none;background:#ffffff26;margin:0 0 8px}
body.wm-studio .studio-preparation progress::-webkit-progress-bar{background:#ffffff26;border-radius:var(--jd-r-pill)}
body.wm-studio .studio-preparation progress::-webkit-progress-value{background:linear-gradient(90deg,#9fc7ae,var(--jd-lime));border-radius:var(--jd-r-pill)}
body.wm-studio .studio-preparation progress::-moz-progress-bar{background:var(--jd-lime);border-radius:var(--jd-r-pill)}
body.wm-studio .studio-preparation .text-control{color:#d7e5da;text-decoration:underline;text-underline-offset:4px;margin-top:6px;min-height:44px}
body.wm-studio .jade-steps{list-style:none;margin:6px 0 18px;padding:0;display:grid;gap:0}
body.wm-studio .jade-steps li{position:relative;display:flex;align-items:center;gap:12px;min-height:40px;font-size:15px;color:#d7e5da}
body.wm-studio .jade-steps li::before{content:'';position:absolute;left:8px;top:-20px;bottom:50%;width:2px;background:#ffffff33}
body.wm-studio .jade-steps li:first-child::before{display:none}
body.wm-studio .jade-steps li>span:first-child{position:relative;z-index:1;width:18px;height:18px;border-radius:50%;border:2px solid #ffffff80;background:transparent;flex:none}
body.wm-studio .jade-steps li.is-done{color:#f4f7f1}
body.wm-studio .jade-steps li.is-done>span:first-child{background:var(--jd-lime);border-color:var(--jd-lime)}
body.wm-studio .jade-steps li.is-done::before{background:var(--jd-lime)}
body.wm-studio .jade-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.wm-studio .jade-sheet{padding:28px 0 0}
body.wm-studio .studio-home-tools h2,body.wm-studio .home-explore-preview h2{font-size:28px;margin:0 0 8px;color:var(--jd-ink)}
body.wm-studio .essentials-note{color:var(--jd-muted)}

/* Essentials: bento tiles, not a list */
body.wm-studio .shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
body.wm-studio .service-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:20px;min-height:116px;padding:16px;border:0;border-radius:var(--jd-r-card);background:var(--jd-sheet);color:var(--jd-ink);text-align:left;box-shadow:inset 0 0 0 1px var(--jd-rule)}
body.wm-studio .service-card:first-child{grid-column:1/-1;flex-direction:row;align-items:center;min-height:84px;background:var(--jd-deep);color:#f4f7f1;box-shadow:none}
body.wm-studio .service-card:first-child .service-icons svg{stroke:var(--jd-lime)}
body.wm-studio .service-card strong{font-size:17px;font-weight:700;letter-spacing:-.01em}
body.wm-studio .service-card>svg:last-child{align-self:flex-end;margin-top:auto}
body.wm-studio .service-card:first-child>svg:last-child{margin-top:0;align-self:center;margin-left:auto}
body.wm-studio .service-icons svg{width:26px;height:26px}
body.wm-studio .access-prompt{width:100%;min-height:56px;border-radius:var(--jd-r-pill);border:1px dashed #7a9486;background:transparent;color:var(--jd-ink)}
body.wm-studio .home-explore-preview{margin-top:32px;padding:24px;border-radius:var(--jd-r-card);background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .home-explore-preview p{color:#2a4a22}
body.wm-studio .home-explore-preview .quiet{background:var(--jd-deep);color:#f4f7f1;border:0}
@media(prefers-reduced-motion:no-preference){
 body.wm-studio .studio-preparation progress::-webkit-progress-value{transition:width 600ms cubic-bezier(.16,1,.3,1)}
 body.wm-studio .service-card{transition:transform 160ms cubic-bezier(.16,1,.3,1)}
}

/* Corrections after first render */
body.wm-studio #view-home{padding-top:0}
body.wm-studio .bottom-nav{left:12px;right:12px;transform:none;width:auto;margin:0;grid-template-columns:repeat(4,1fr);gap:4px}
body.wm-studio .studio-home-photo{min-height:340px}
body.wm-studio .studio-home-photo::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#072a20b3 0%,transparent 45%);pointer-events:none}
body.wm-studio .studio-home-photo figcaption{z-index:2}
body.wm-studio .studio-preparation{margin-top:-84px}
body.wm-studio main>#view-home{padding-top:0!important}
body.wm-studio .jade-hero{margin-top:0}

/* Every tab opens with a jade band, then a mist sheet */
body.wm-studio main>.view{padding-top:0!important}
body.wm-studio main>.view>.intro:first-child{position:relative;overflow:hidden;margin:0 -20px 24px;padding:28px 20px 34px;background:radial-gradient(120% 90% at 85% 0%,var(--jd-mid) 0%,var(--jd-deep) 62%,var(--jd-deeper) 100%);color:#f4f7f1;border-radius:0 0 36px 36px}
body.wm-studio main>.view>.intro:first-child::after{content:'万里';position:absolute;right:-10px;top:-24px;font:400 190px/1 'Noto Serif SC','Songti SC',SimSun,serif;color:#ffffff0f;pointer-events:none}
body.wm-studio main>.view>.intro:first-child h1{position:relative;z-index:1;font-family:var(--jd-display);font-weight:800;font-size:clamp(36px,10.5vw,52px);letter-spacing:-.035em;line-height:1.02;color:#f4f7f1;margin:0 0 10px}
body.wm-studio main>.view>.intro:first-child :is(p,.muted){position:relative;z-index:1;color:#cfe0d4;font-size:16px;margin:0}
body.wm-studio .view>:is(h2,.section-heading h2){color:var(--jd-ink)}

/* Search, chips */
body.wm-studio .search-box{border-radius:var(--jd-r-pill);border:1px solid var(--jd-rule);background:var(--jd-sheet);min-height:56px;padding-inline:18px}
body.wm-studio .search-box input{background:transparent;font-size:16px}
body.wm-studio .filters button,body.wm-studio .poi-filter button{border-radius:var(--jd-r-pill);border:1px solid var(--jd-rule);background:var(--jd-sheet);color:var(--jd-ink);font-weight:600}
body.wm-studio .filters button.selected,body.wm-studio .filters button[aria-pressed=true],body.wm-studio .poi-filter button[aria-pressed=true]{background:var(--jd-deep);color:var(--jd-lime);border-color:var(--jd-deep)}
body.wm-studio .essentials-banner{border-radius:var(--jd-r-card);background:var(--jd-lime);color:var(--jd-lime-ink);border:0}
body.wm-studio .essentials-banner :is(h2,p){color:var(--jd-lime-ink)}
body.wm-studio .essentials-banner .seal{background:var(--jd-deep);color:var(--jd-lime)}
body.wm-studio .essentials-banner .round{background:var(--jd-deep);color:var(--jd-lime);border-radius:50%}
body.wm-studio .collection-bar>span{color:var(--jd-muted)}
body.wm-studio .collection-bar>button{color:var(--jd-deep);font-weight:700}
body.wm-studio .collection-count{background:var(--jd-lime);color:var(--jd-lime-ink)}

/* Destinations: large rounded photographs, display-weight names */
body.wm-studio .destination-card{border:0;background:transparent;box-shadow:none}
body.wm-studio .destination-media{border-radius:var(--jd-r-card);overflow:hidden}
body.wm-studio .destination-card h3{font-family:var(--jd-display);font-weight:800;letter-spacing:-.03em;font-size:26px;color:var(--jd-ink)}
body.wm-studio .destination-card h3 small{font-family:'Noto Serif SC',serif;font-weight:400;letter-spacing:0;color:var(--jd-muted)}
body.wm-studio .destination-card .destination-description{color:var(--jd-muted)}
body.wm-studio .destination-save,body.wm-studio .save-button,body.wm-studio [data-save]{border-radius:50%;background:#072a2080;border:1px solid var(--jd-glass-line);color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body.wm-studio .destination-actions button{border-radius:var(--jd-r-pill);min-height:48px}
body.wm-studio .destination-view{background:var(--jd-deep);color:#f4f7f1;border:0}
body.wm-studio .destination-add{background:var(--jd-sheet);color:var(--jd-ink);border:1px solid var(--jd-rule)}

/* Trip + panels */
body.wm-studio :is(.studio-summary,.studio-schedule,.task-panel,.panel,.profile-card,.card-panel){border-radius:var(--jd-r-card);background:var(--jd-sheet);border:1px solid var(--jd-rule);box-shadow:none}
body.wm-studio .studio-stop time{font-family:var(--jd-display);font-weight:800;letter-spacing:-.02em;color:var(--jd-deep)}
body.wm-studio details{border-radius:20px}
body.wm-studio :is(input,select,textarea){border-radius:16px;border:1px solid #9db0a3;background:#fbfdf9;color:var(--jd-ink)}
body.wm-studio dialog:not(#planner){border-radius:var(--jd-r-card);background:var(--jd-mist);color:var(--jd-ink)}
body.wm-studio dialog::backdrop{background:#072a20d9}
body.wm-studio :is(h1,h2,h3):not([lang=zh]){font-family:var(--jd-display)!important;font-weight:800}
body.wm-studio :is(h1,h2,h3) :is([lang=zh],small){font-family:'Noto Serif SC','Songti SC',SimSun,serif!important;font-weight:400;letter-spacing:0}
body.wm-studio .poi-place-zh{background:var(--jd-deep);color:var(--jd-lime);font-family:'Noto Serif SC','Songti SC',SimSun,serif}

/* Desktop site */
body.wm-studio>header{background:var(--jd-deep);border-bottom:0}
body.wm-studio>header nav a,body.wm-studio>header nav button{color:#d7e5da;border-radius:var(--jd-r-pill)}
body.wm-studio>header nav a.active{background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .site-language a{color:#d7e5da}
body.wm-studio .site-language a[aria-current=true],body.wm-studio .site-language a.active{background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio main>.hero{position:relative;display:grid;align-items:end;min-height:min(80vh,680px);margin:16px;border-radius:40px;overflow:hidden;background:var(--jd-deep);color:#f4f7f1;isolation:isolate}
body.wm-studio main>.hero .hero-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;border-radius:0;aspect-ratio:auto}
body.wm-studio main>.hero .hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#072a2080 0%,#072a2099 40%,#072a20ee 100%)}
body.wm-studio main>.hero .hero-content{position:relative;padding:clamp(24px,5vw,64px);max-width:860px;background:none}
body.wm-studio main>.hero h1{color:#f4f7f1;font-size:clamp(44px,7vw,96px);max-width:11ch;margin:0 0 20px}
body.wm-studio main>.hero :is(p,.hero-caption){color:#d7e5da}
body.wm-studio main>.hero :is(a.primary,button.primary,.dark-button,a.dark-button){background:var(--jd-lime);color:var(--jd-lime-ink);border-radius:var(--jd-r-pill)}
body.wm-studio main>.hero .vertical{display:none}
body.wm-studio .search-wrap form{border-radius:var(--jd-r-pill);background:var(--jd-sheet);border:1px solid var(--jd-rule);box-shadow:0 18px 40px #072a2022}
body.wm-studio .search-wrap form button{border-radius:var(--jd-r-pill);background:var(--jd-deep);color:var(--jd-lime)}
body.wm-studio .search-tags button{border-radius:var(--jd-r-pill);border:1px solid var(--jd-rule);background:var(--jd-sheet);color:var(--jd-ink)}
body.wm-studio .wm-start-journey{border-radius:var(--jd-r-card);background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .wm-start-journey :is(h2,p,strong){color:var(--jd-lime-ink)}
body.wm-studio .wm-start-journey a.primary{background:var(--jd-deep);color:var(--jd-lime)}
body.wm-studio .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
body.wm-studio .cards .card{border-radius:var(--jd-r-card);overflow:hidden;background:var(--jd-sheet);border:1px solid var(--jd-rule)}
body.wm-studio .manifesto{border-radius:40px;background:var(--jd-deep);color:#f4f7f1;margin:48px 16px}
body.wm-studio .manifesto :is(h2,p,.manifesto-note){color:#f4f7f1}
body.wm-studio .story-grid>*{border-radius:var(--jd-r-card);overflow:hidden}
body.wm-studio .closing{border-radius:40px;background:var(--jd-lime);color:var(--jd-lime-ink);margin:48px 16px}
body.wm-studio .closing :is(h2,p){color:var(--jd-lime-ink)}
body.wm-studio .closing .dark-button{background:var(--jd-deep);color:var(--jd-lime);border-radius:var(--jd-r-pill)}
body.wm-studio footer{background:var(--jd-deeper);color:#cfe0d4;border-radius:40px 40px 0 0;margin-top:48px}
body.wm-studio footer :is(a,p,small,span){color:#cfe0d4}
body.wm-studio .eyebrow{display:none}

/* Desktop hero: the studio sheet pins many of these with !important, so match it */
body.wm-studio main>section.hero{margin:16px 0 0!important;padding:0!important;display:grid!important;grid-template-columns:1fr!important;align-items:end!important;min-height:min(80vh,680px)!important;background:var(--jd-deep)!important;border-radius:40px!important;overflow:hidden!important;color:#f4f7f1!important;isolation:isolate}
body.wm-studio:not(:has(.app-shell)) main>section.hero .hero-image{position:absolute!important;inset:0!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;height:100%!important;border-radius:0!important;object-position:55% 40%;z-index:-2}
body.wm-studio main>section.hero .hero-shade{display:block!important;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#072a20f2 0%,#072a20b3 45%,#072a2033 100%),linear-gradient(180deg,transparent 40%,#072a20cc 100%)}
body.wm-studio main>section.hero .hero-content{grid-column:1!important;grid-row:1!important;padding:clamp(28px,5vw,72px)!important;max-width:760px!important;align-self:end!important}
body.wm-studio main>section.hero h1{font:800 clamp(46px,7.4vw,104px)/.98 var(--jd-display)!important;letter-spacing:-.04em!important;color:#f4f7f1!important;margin:0 0 24px!important;max-width:10ch}
body.wm-studio main>section.hero h1 span{color:var(--jd-lime)!important}
body.wm-studio main>section.hero p{color:#d7e5da!important;font-size:18px;max-width:40ch}
body.wm-studio main>section.hero .hero-caption{background:#0b3a2cb8;color:#f4f7f1;border:1px solid var(--jd-glass-line);border-radius:var(--jd-r-card)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.wm-studio main>section.hero :is(.cream-button,a.primary,.dark-button){background:var(--jd-lime)!important;color:var(--jd-lime-ink)!important;border-radius:var(--jd-r-pill)!important;border:0}
body.wm-studio main>section.hero .hero-caption{width:max-content!important;max-width:min(280px,calc(100% - 48px))!important;right:24px!important;bottom:24px!important;padding:14px 18px!important}
body.wm-studio>header nav a.active,body.wm-studio>header nav a.active *{color:var(--jd-lime-ink)!important}

/* Auth */
body.wm-studio .auth-layout{background:var(--jd-mist)}
body.wm-studio .auth-landscape{border-radius:0 40px 40px 0;overflow:hidden;background:var(--jd-deep)}
body.wm-studio .auth-landscape::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#072a2066 0%,#072a20e6 100%);pointer-events:none}
body.wm-studio .landscape-caption{z-index:2;color:#f4f7f1}
body.wm-studio .landscape-caption p{font:800 clamp(34px,4.4vw,56px)/1 var(--jd-display)!important;letter-spacing:-.035em;color:#f4f7f1}
body.wm-studio .auth-content h1{font-size:clamp(34px,4vw,48px);letter-spacing:-.035em;color:var(--jd-ink)}
body.wm-studio .auth-subtitle{color:var(--jd-muted)}
body.wm-studio .auth-mode,body.wm-studio .auth-method{border-radius:var(--jd-r-pill);background:#d4ddd1;padding:4px}
body.wm-studio .auth-mode button,body.wm-studio .auth-method button{border-radius:var(--jd-r-pill);color:var(--jd-ink);font-weight:600}
body.wm-studio .auth-mode button[aria-pressed=true],body.wm-studio .auth-mode button.active,body.wm-studio .auth-method button[aria-pressed=true]{background:var(--jd-deep);color:var(--jd-lime)}
body.wm-studio .auth-primary{border-radius:var(--jd-r-pill);background:var(--jd-deep);color:var(--jd-lime);font-weight:700;min-height:56px;border:0}
body.wm-studio .auth-primary:disabled{background:#b9c7bb;color:#3d5046}
body.wm-studio .auth-link,body.wm-studio .auth-guest{color:var(--jd-deep);font-weight:600}
body.wm-studio .auth-content :is(input){min-height:52px}
@media(max-width:820px){body.wm-studio .auth-landscape{border-radius:0 0 32px 32px}}

/* Specificity fixes found in the final sweep */
body.wm-studio .destination-card .destination-actions .destination-view{background:var(--jd-deep)!important;color:#f4f7f1!important;border:0!important}
body.wm-studio .destination-card .destination-actions .destination-add{background:var(--jd-sheet)!important;color:var(--jd-ink)!important;border:1px solid var(--jd-rule)!important}
body.wm-studio #view-profile :is(p,small,button,span){font-size:max(13px,1em)}
body.wm-studio #view-profile p:not(.fine-print){color:var(--jd-muted)}
body.wm-studio #view-trip :is(b,button,small){font-size:max(13px,1em)}

/* Desktop lower sections */
body.wm-studio :is(.manifesto,.closing){padding:clamp(28px,5vw,64px)!important;margin:56px 0!important}
body.wm-studio .manifesto :is(button,.dark-button,a.dark-button){background:var(--jd-lime)!important;color:var(--jd-lime-ink)!important;border-radius:var(--jd-r-pill)!important}
body.wm-studio .manifesto h2,body.wm-studio .closing h2{font-size:clamp(34px,5vw,64px)!important;max-width:14ch}
body.wm-studio .story-grid>*{overflow:visible}
body.wm-studio .story-grid img{border-radius:var(--jd-r-card)}
body.wm-studio .section-top p,body.wm-studio .section-top a{color:var(--jd-muted)}
body.wm-studio .search-tags button{font-size:13px}
body.wm-studio .card :is(.destination-view,button.destination-view){text-decoration:none}
body.wm-studio footer{padding:48px clamp(24px,5vw,64px)}

/* My Trip: the journey as a route */
body.wm-studio .journey-overview{position:relative;padding:24px;border-radius:var(--jd-r-card);background:radial-gradient(120% 100% at 100% 0%,var(--jd-mid) 0%,var(--jd-deep) 65%);color:#f4f7f1;border:0;overflow:hidden}
body.wm-studio .journey-overview h2{font-size:clamp(28px,8vw,40px);color:#f4f7f1;margin:0 0 14px}
body.wm-studio .journey-overview .overview-metrics{display:grid;gap:6px;color:#d7e5da;font-size:15px}
body.wm-studio .journey-overview .overview-metrics svg{stroke:var(--jd-lime)}
body.wm-studio .journey-overview .text-control{color:var(--jd-lime);font-weight:700;text-decoration:underline;text-underline-offset:4px;min-height:44px;margin:6px 0 4px}
body.wm-studio .journey-stops{list-style:none;margin:14px 0 0;padding:0;display:flex;align-items:center;gap:0;overflow-x:auto}
body.wm-studio .journey-stops li{display:flex;align-items:center;gap:8px;flex:none}
body.wm-studio .journey-stops li+li::before{content:'';width:clamp(24px,10vw,64px);height:2px;margin-right:8px;background:repeating-linear-gradient(90deg,var(--jd-lime) 0 6px,transparent 6px 10px)}
body.wm-studio .journey-stops b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--jd-lime);color:var(--jd-lime-ink);font-size:14px}
body.wm-studio .journey-stops button{background:transparent;border:0;color:#f4f7f1;font-weight:600;font-size:15px;min-height:44px;padding:0 4px}

/* Onboarding */
body.wm-studio #journeyOnboarding{background:var(--jd-mist);border-radius:0}
body.wm-studio .onboard-choice,body.wm-studio .onboard-city,body.wm-studio .onboard-interest{border-radius:24px;border:1px solid var(--jd-rule);background:var(--jd-sheet);color:var(--jd-ink);min-height:72px}
body.wm-studio .onboard-choice strong,body.wm-studio .onboard-choice span:first-child{font-weight:700}
body.wm-studio :is(.onboard-choice,.onboard-city,.onboard-interest)[aria-pressed=true],body.wm-studio :is(.onboard-choice,.onboard-city,.onboard-interest)[aria-checked=true],body.wm-studio :is(.onboard-choice,.onboard-city,.onboard-interest).selected{background:var(--jd-deep);color:#f4f7f1;border-color:var(--jd-deep);box-shadow:inset 0 0 0 2px var(--jd-lime)}
body.wm-studio .onboard-progress{color:var(--jd-muted);font-weight:700}
body.wm-studio #journeyOnboarding .primary:disabled{background:#9db0a3;color:#27382f}
@media(min-width:541px){body.wm-studio #journeyOnboarding{border-radius:var(--jd-r-card)}}
body.wm-studio .onboard-choice.selected b{background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .onboard-choice.selected small{color:#d7e5da}

/* ===== Pass 2: critique fixes ===== */
/* 1. Essentials: tiles on Sheet, one consistent grid */
body.wm-studio .studio-home-tools .shortcut-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body.wm-studio .studio-home-tools .service-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px;min-height:116px;padding:16px!important;border:1px solid var(--jd-rule)!important;border-radius:var(--jd-r-card)!important;background:var(--jd-sheet)!important;color:var(--jd-ink)!important;text-align:left;box-shadow:none!important}
body.wm-studio .studio-home-tools .service-card:first-child{grid-column:1/-1;flex-direction:row!important;align-items:center!important;min-height:84px;background:var(--jd-deep)!important;color:#f4f7f1!important;border-color:var(--jd-deep)!important}
body.wm-studio .studio-home-tools .service-card:first-child svg{stroke:var(--jd-lime)}
body.wm-studio .studio-home-tools .service-card strong{font-size:17px;line-height:1.2}
body.wm-studio .studio-home-tools .service-card>svg:last-child{align-self:flex-end;margin-top:auto}
body.wm-studio .studio-home-tools .service-card:first-child>svg:last-child{align-self:center;margin:0 0 0 auto}
body.wm-studio .studio-home-tools .service-card:nth-child(6){background:#f6e4d9!important;border-color:#e3c3ae!important;color:#4a2412!important}
body.wm-studio .studio-home-tools .service-card:nth-child(6) svg{stroke:#8a3b1c}

/* 2. One surface language for every card, tile, note and field */
body.wm-studio :is(.journey-deck,.address-card,.service-note,.integration-status,.communication-card,.traveller-summary,.profile-identity,.translation-switch,.entry-draft-note,.provider-choices>button,.empty>section){background:var(--jd-sheet)!important;border:1px solid var(--jd-rule)!important;border-radius:var(--jd-r-card)!important;box-shadow:none!important;color:var(--jd-ink)}
body.wm-studio :is(.service-note,.integration-status,.entry-draft-note){border-radius:20px!important;color:var(--jd-muted)}
body.wm-studio .view :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:16px!important;border:1px solid #9db0a3!important;background:#fbfdf9!important;min-height:52px}
body.wm-studio .view :is(button.quiet,.chip,.pill){border-radius:var(--jd-r-pill)}
body.wm-studio .transport-grid button,body.wm-studio #view-transport form~* button{border-radius:20px}

/* Emergency: big digits, one urgent tint */
body.wm-studio .emergency-lines{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.wm-studio .emergency-lines>a{display:flex;flex-direction:column;justify-content:space-between;min-height:132px;padding:16px;border-radius:var(--jd-r-card)!important;background:var(--jd-sheet)!important;border:1px solid var(--jd-rule);color:var(--jd-ink)!important;text-decoration:none}
body.wm-studio .emergency-lines>a :is(strong,b,span:last-child){font-family:var(--jd-display);font-weight:800;font-size:40px;letter-spacing:-.04em;line-height:1;color:var(--jd-deep)}
body.wm-studio .emergency-lines>a:first-child{background:#f6e4d9!important;border-color:#e3c3ae}
body.wm-studio .emergency-lines>a:first-child :is(strong,b,span:last-child){color:#8a3b1c}

/* Tool pages share the jade band */
body.wm-studio main>.view>.page-heading{position:relative;overflow:hidden;margin:0 -20px 24px;padding:24px 20px 32px;background:radial-gradient(120% 90% at 85% 0%,var(--jd-mid) 0%,var(--jd-deep) 62%,var(--jd-deeper) 100%);color:#f4f7f1;border-radius:0 0 36px 36px}
body.wm-studio main>.view>.page-heading::after{content:'万里';position:absolute;right:-10px;top:-24px;font:400 170px/1 'Noto Serif SC','Songti SC',SimSun,serif;color:#ffffff0f;pointer-events:none}
body.wm-studio main>.view>.page-heading h1{position:relative;z-index:1;font-size:clamp(34px,10vw,48px);color:#f4f7f1;margin:0 0 8px}
body.wm-studio main>.view>.page-heading p{position:relative;z-index:1;color:#cfe0d4;margin:0}
body.wm-studio .back-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;margin:16px 0 14px;border:1px solid var(--jd-rule);border-radius:var(--jd-r-pill);background:var(--jd-sheet);color:var(--jd-ink);font-weight:600;line-height:1}
body.wm-studio #view-profile>.page-heading{margin-top:0}

/* 3. Quiet the lime: active state, progress, one primary action */
body.wm-studio .home-explore-preview{background:var(--jd-sheet);color:var(--jd-ink);border:1px solid var(--jd-rule)}
body.wm-studio .home-explore-preview p{color:var(--jd-muted)}
body.wm-studio .essentials-banner{background:var(--jd-deep);color:#f4f7f1}
body.wm-studio .essentials-banner :is(h2,p){color:#f4f7f1}
body.wm-studio .essentials-banner .seal{background:var(--jd-lime);color:var(--jd-lime-ink)}
body.wm-studio .essentials-banner .round{background:#ffffff26;color:#f4f7f1}
body.wm-studio .wm-start-journey{background:var(--jd-sheet);color:var(--jd-ink);border:1px solid var(--jd-rule)}
body.wm-studio .wm-start-journey :is(h2,p,strong){color:var(--jd-ink)}
body.wm-studio .closing{background:var(--jd-mid)!important;color:#f4f7f1}
body.wm-studio .closing :is(h2,p){color:#f4f7f1!important}
body.wm-studio .closing .dark-button{background:var(--jd-lime)!important;color:var(--jd-lime-ink)!important}

/* 4. Home hierarchy: the panel is the trip card; the tab bar never covers an action */
body.wm-studio .studio-preparation{margin-inline:0}
body.wm-studio .studio-home-intro .studio-city-switch{display:block;margin-top:14px}
body.wm-studio .studio-home-intro .studio-city-switch select{width:100%;margin-top:6px}
body.wm-studio main{padding-bottom:132px}

/* 5. Small component bugs */
body.wm-studio .destination-actions button{padding-inline:18px!important;text-decoration:none!important;justify-content:center}
body.wm-studio .onboard-actions .quiet,body.wm-studio .onboard-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:52px}
body.wm-studio .onboard-choice.selected svg{stroke:var(--jd-lime);color:var(--jd-lime)}
body.wm-studio :is(.filters,.poi-filter){scrollbar-width:none}
body.wm-studio :is(.filters,.poi-filter)::-webkit-scrollbar{display:none}
body.wm-studio .poi-add{min-height:48px;padding-inline:22px}
body.wm-studio :is(.poi-place a,.poi-source,.poi-photo-credit a){display:inline-flex;align-items:center;min-height:44px}
body.wm-studio .auth-landscape::after{background:linear-gradient(180deg,#0b3a2c99 0%,#072a20f2 100%)}
body.wm-studio .site-language a{color:#f4f7f1}
body.wm-studio footer :is(small,span,p){font-size:max(12px,1em)}
body.wm-studio .studio-home-tools .service-card:nth-child(6){grid-column:1/-1;flex-direction:row!important;align-items:center!important;min-height:76px}
body.wm-studio .studio-home-tools .service-card:nth-child(6)>svg:last-child{align-self:center;margin:0 0 0 auto}
body.wm-studio :is(#view-transport,#view-translate,#view-entry,#view-profile,#view-payments) button:not(.primary):not(.text-control):not(.back-link):not(.onboard-edit){background:var(--jd-sheet);border:1px solid var(--jd-rule);color:var(--jd-ink);border-radius:20px;min-height:44px}
body.wm-studio :is(#view-transport,#view-translate,#view-entry,#view-profile,#view-payments) button:is(.selected,[aria-pressed=true],[aria-checked=true]){background:var(--jd-deep);border-color:var(--jd-deep);color:var(--jd-lime)}

/* Accent is a soft white, not lime */
body.wm-studio .collection-count{box-shadow:inset 0 0 0 1px var(--jd-rule)}
body.wm-studio .studio-preparation :is(button.primary,.primary){box-shadow:0 6px 18px #072a2040}
body.wm-studio .studio-home-photo{min-height:280px}
body.wm-studio .studio-preparation{margin-top:-72px}
