/* Jade Atlas · material refinement, October 2026.
   A single last layer for the existing chapters; no extra widgets or effects.
   Legacy template specificity is contained here so the palette stays coherent. */
body.refined-page {
  --ja-ink:#203f52;
  --ja-muted:#526c7c;
  --ja-rose:#914768;
  --ja-blush:#e6c1d4;
  --ja-paper:#eef3f5;
  --ja-rule:#54748b2b;
  --ja-night:#173548;
  --ja-serif:Fraunces,'Noto Serif SC','Songti SC',SimSun,Georgia,serif;
  --ja-sans:Inter,'PingFang SC','Microsoft YaHei',system-ui,sans-serif;
  --ja-ease:cubic-bezier(.22,1,.36,1);
  --font-editorial:var(--ja-serif);
  --font-functional:var(--ja-sans);
  --serif:var(--ja-serif);
  --sans:var(--ja-sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.refined-page :is(h1,h2,h3,h4) { text-wrap:balance; }
.refined-page :is(p,li) { text-wrap:pretty; }
.refined-page :is(button,a,input,select,textarea) { -webkit-tap-highlight-color:transparent; }
.refined-page :is(button,input,select,textarea) { font-family:var(--ja-sans); }
.refined-page :is(a,button,input,select,textarea):focus-visible {
  outline:2px solid var(--ja-rose); outline-offset:5px;
}
.refined-page:lang(zh) em { font-style:normal; }
.refined-page ::selection { background:#dfbad0; color:#203f52; }

/* The same sky and paper travel through the entire interior. */
body.refined-page.poetic-page,
body.refined-page.poetic-page[data-story-interactions=true] {
  --poetic-sky:#d2e4ee; --poetic-ink:var(--ja-ink); --poetic-muted:var(--ja-muted);
  --poetic-rose:var(--ja-rose); --poetic-line:var(--ja-rule);
  --poetic-glass:rgba(238,245,248,.87); --poetic-deep:var(--ja-night);
  --paper:#e6edf2; --card:#f0f5f7; --ink:var(--ja-ink); --muted:var(--ja-muted);
  --line:var(--ja-rule); --bg:#e6edf2; --bg-elevated:#f0f5f7; --text:var(--ja-ink);
  --brick:var(--ja-rose); --brick-d:#743b56; --red:var(--ja-rose);
  --color-paper:#e6edf2; --color-paper-light:#f0f5f7; --color-ink:var(--ja-ink);
  --color-cinnabar:var(--ja-rose); --story-paper:#eef3f5; --story-rule:#718b9b;
  --ink-story:var(--ja-ink); --story-rose:#ba8ba3;
  --atlas-white:var(--ja-ink); --atlas-muted:var(--ja-muted);
  --atlas-jade:var(--ja-rose); --atlas-copper:var(--ja-rose); --atlas-rule:var(--ja-rule);
  color:var(--ja-ink); background-color:#e0eaf0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23596977' opacity='.025' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"),linear-gradient(120deg,#d6e7ed 0%,#e3eaf2 48%,#e7e2ee 100%);
  background-size:160px 160px,cover; background-attachment:fixed;
}
body.refined-page.explore-page :is(.atlas-destinations,.atlas-inspiration) {
  --atlas-white:var(--ja-ink); --atlas-muted:var(--ja-muted);
  --atlas-jade:var(--ja-rose); --atlas-copper:var(--ja-rose); --atlas-rule:var(--ja-rule);
  color:var(--ja-ink);
}
body.refined-page.poetic-page :is(.season-heading,.atlas-destination-heading,.atlas-inspiration-title,.atlas-v2-heading,.atlas-essentials-copy,.craft-section-heading) h2,
body.refined-page.essentials-home :is(.ink-journey,.ink-tool-desk .section-heading)>h2 {
  font-family:var(--ja-serif)!important; font-weight:400;
  letter-spacing:-.04em; color:var(--ja-ink); line-height:1.12;
}
body.refined-page.poetic-page :is(.season-heading,.atlas-destination-heading,.atlas-inspiration-title,.atlas-v2-heading) h2 {
  font-size:clamp(42px,5.1vw,76px);
}
body.refined-page.poetic-page :is(.season-heading,.atlas-destination-heading,.atlas-inspiration-title,.atlas-v2-heading) h2 em { color:var(--ja-rose); }
body.refined-page :is(.atlas-section-index,.atlas-eyebrow,.editorial-kicker,.eyebrow,.wonder-eyebrow,.wish-eyebrow) {
  letter-spacing:.16em;
}
body.refined-page.poetic-page :is(.atlas-section-index,.atlas-eyebrow) { color:var(--ja-rose); }
body.refined-page.explore-page :is(.season-heading,.atlas-destination-intro,.atlas-inspiration-title,.atlas-v2-heading,.atlas-essentials-copy)>p {
  color:var(--ja-muted); line-height:1.9;
}
body.refined-page.poetic-page :is(.atlas-text-link,.editorial-link) { transition:color .25s,border-color .3s; }

/* A common dark threshold and tactile, readable controls. */
body.refined-page.poetic-page :is(.site-header,.journal-header,#nav.atlas-navigation,nav.nav#ctcnav) {
  background:rgba(23,53,72,.97)!important;
  border-bottom:1px solid #d5e5ed20!important; box-shadow:0 4px 24px #1735480a;
}
body.refined-page.poetic-page :is(.site-header,.journal-header,#nav.atlas-navigation,nav.nav#ctcnav) :is(a,button):focus-visible,
.refined-page .wonder-header :is(a,button):focus-visible,
.refined-page .gw-header :is(a,button):focus-visible { outline-color:#edcadd; }
body.refined-page.poetic-page :is(.site-header,.journal-header,#nav.atlas-navigation,nav.nav#ctcnav) .locale-toggle {
  border-radius:24px; min-height:42px; font-size:10px;
  border-color:#d8e9f032!important; background:#ffffff03!important;
  transition:background .25s,border-color .25s;
}
body.refined-page.poetic-page :is(.site-header,.journal-header,#nav.atlas-navigation,nav.nav#ctcnav) .locale-toggle:hover {
  background:#ffffff0c!important; border-color:#e7d1e466!important;
}
body.refined-page.poetic-page :is(.site-header,.journal-header,#nav.atlas-navigation,nav.nav#ctcnav) :is(.legacy-menu-toggle,.mobile-menu-button,.menu-button,.menu-toggle) {
  color:#f0f5f8!important; border-color:#d8e9f032!important;
  background:#ffffff03; border-radius:22px; min-height:44px;
}
body.refined-page.poetic-page :is(.mega,.locale-menu,.search-results) {
  background:#edf4f8f7!important; border-color:#7593a32d!important;
  box-shadow:0 16px 45px #1735481a,0 2px 7px #1735480d;
  border-radius:8px;
}
body.refined-page.poetic-page .legacy-mobile-menu { background:#eaf1f6; color:var(--ja-ink); }
body.refined-page.poetic-page .legacy-mobile-menu>button { color:var(--ja-ink); border-radius:24px; min-height:44px; padding-inline:17px; border-color:var(--ja-rule); }
body.refined-page.poetic-page .legacy-mobile-menu :is(a,summary) { color:var(--ja-ink); border-color:var(--ja-rule); min-height:48px; }
body.refined-page.poetic-page .legacy-mobile-menu summary::marker { color:var(--ja-rose); }
body.refined-page.poetic-page .legacy-mobile-menu details[open] { padding-bottom:8px; }
body.refined-page.poetic-page .legacy-mobile-menu details[open]>summary { color:var(--ja-rose); }
body.refined-page.poetic-page .legacy-mobile-menu details>a { font-size:13px; color:var(--ja-muted); }
body.refined-page.poetic-page .poetic-motion-control {
  min-height:44px; padding:11px 17px; border-color:#e9f0f542;
  background:#18374d50; font-size:10px; box-shadow:0 5px 18px #1735480c;
}

/* First views: soften the edge of the photograph, preserve its natural colour. */
body.refined-page.explore-page .voyage-copy :is(h1,h1 em) { letter-spacing:-.043em; }
body.refined-page.explore-page .voyage-copy>p { max-width:40ch; line-height:1.9; }
body.refined-page.explore-page .voyage-actions .voyage-primary {
  background:var(--ja-blush); color:#243d52; border-radius:3px;
  box-shadow:0 8px 26px #132c4520;
  transition:background .25s,box-shadow .4s,transform .4s var(--ja-ease);
}
body.refined-page.explore-page .voyage-actions .voyage-primary:hover {
  background:#efdae5; box-shadow:0 12px 32px #132c4530; transform:translateY(-2px);
}
body.refined-page .voyage-wonder-link { border-radius:3px; background:#17394b45; border-color:#e5eaf33d; }
body.refined-page.explore-page .atlas-city-line { padding-block:30px; border-color:var(--ja-rule); }
body.refined-page.explore-page .atlas-city-line .marquee-track span {
  font-family:var(--ja-serif); color:#6e5c78; -webkit-text-fill-color:#6e5c78;
  -webkit-text-stroke:0; font-size:clamp(24px,2.5vw,39px); letter-spacing:-.02em;
}

/* The calendar reads as two finely bound pages, with quiet selected states. */
body.refined-page.poetic-page .ink-calendar .season-layout {
  padding:10px; gap:10px; background:#c9d7e24a!important;
  border:1px solid #7993a335; border-radius:8px;
  box-shadow:0 16px 48px #1f41530b,0 1px 3px #1f415309;
}
body.refined-page.poetic-page .ink-calendar :is(.season-window,.season-calendar) {
  border:1px solid #7993a32d; border-radius:4px;
}
body.refined-page.poetic-page .ink-calendar .season-calendar { background:#edf3f6!important; }
body.refined-page .ink-scene-label {
  border-color:#f4f0ec72; background:#f2f2eee8; color:#425d6d;
  box-shadow:0 3px 12px #243f5310; transform:rotate(-1deg); border-radius:2px;
}
body.refined-page.poetic-page .ink-calendar .season-dials button {
  background:#eff3f4ed; border-color:#edf2f360; color:#425c6c;
  border-radius:3px; box-shadow:0 2px 8px #1735480d;
}
body.refined-page.poetic-page .ink-calendar .season-dials button[aria-pressed=true] {
  background:#e5c3d1; transform:translateY(-3px); color:#543d51;
  box-shadow:0 4px 13px #17354822; border-color:#f7e6ec7a;
}
body.refined-page.poetic-page .ink-calendar :is(#calToday,.cal-head button) {
  min-height:40px; border:1px solid #718b9b35; background:#e4ebf2; color:var(--ja-rose);
  border-radius:22px;
}
body.refined-page.poetic-page .ink-calendar .season-months button { min-height:35px; color:#526d7d; }
body.refined-page.poetic-page .ink-calendar .season-months button[aria-pressed=true] {
  background:#e0c6d6; color:#6c3b59; border-radius:20px; box-shadow:none;
}
body.refined-page.poetic-page .ink-calendar .cal-day { border-radius:4px; color:#365365; }
body.refined-page.poetic-page .ink-calendar .cal-day.is-holiday { background:#e7dce7; color:#71465f; }
body.refined-page.poetic-page .ink-calendar .cal-day:hover {
  background:#dce7ee; transform:translateY(-1px); box-shadow:none;
}
body.refined-page.poetic-page .ink-calendar .cal-day[aria-pressed=true] {
  background:#35566d; color:#f6f2f5; border-color:#35566d;
  transform:none; box-shadow:0 3px 10px #24475c24;
}
body.refined-page.poetic-page .ink-calendar .season-date-detail { border-top:1px solid var(--ja-rule); }
body.refined-page.poetic-page .ink-calendar .season-date-number b { color:var(--ja-rose); }

/* Existing invitations and postcards share the same light, paper and serif. */
body.refined-page .wonder-invitation { border-color:var(--ja-rule); border-radius:5px; overflow:hidden; }
body.refined-page.explore-page .wonder-invitation { width:calc(100% - 2 * var(--atlas-gutter)); }
body.refined-page.explore-page .wish-finder { max-width:none; padding-inline:var(--atlas-gutter); }
body.refined-page .wonder-invite-art { border-radius:5px 0 0 5px; }
body.refined-page .wonder-invite-copy h2,
body.refined-page .wish-heading h2 { font-family:var(--ja-serif); font-weight:400; color:var(--ja-ink); }
body.refined-page .wonder-invite-copy h2 em { color:var(--ja-rose); }
body.refined-page .wish-finder { --j-ink:var(--ja-ink); --j-muted:var(--ja-muted); --j-rose:var(--ja-rose); }
body.refined-page .wish-postcard {
  background:#f3f4f2; border-color:#f3f4f2; transform:rotate(.65deg);
  box-shadow:0 22px 55px #24475c15,0 2px 5px #24475c10;
}
body.refined-page .wish-moods button { border-radius:4px; background:#eef4f658; border-color:var(--ja-rule); }
body.refined-page .wish-moods button[aria-pressed=true] { background:#e8cedb80; color:#743e5c; border-color:#9c63854f; box-shadow:none; }
body.refined-page .wish-address h3 { font-family:var(--ja-serif); }

/* Destination objects: natural photographs, fine edges and unobstructed details. */
body.refined-page.poetic-page .atlas-destinations#destinations .dest:nth-child(n) {
  padding:12px; border:1px solid #7893a330; background:#eef4f6d9;
  border-radius:6px; box-shadow:0 4px 16px #24475c05;
  transition:border-color .35s,box-shadow .5s var(--ja-ease),transform .5s var(--ja-ease);
}
body.refined-page.poetic-page .atlas-destinations#destinations .atlas-destination-photo {
  border-radius:3px; background:#d1e1e9;
}
body.refined-page.poetic-page .atlas-destinations#destinations .atlas-destination-photo img {
  filter:saturate(.94); transition:transform 1.1s var(--ja-ease);
}
body.refined-page.poetic-page .atlas-destinations#destinations .atlas-dest-region {
  right:70px; top:14px; font-size:9px; max-width:calc(100% - 120px);
  background:#f3f5f3e8; color:#42596a; border:1px solid #ffffff75; border-radius:2px;
}
body.refined-page.poetic-page .atlas-destinations#destinations .atlas-dest-arrow {
  border-color:#e3edf15c; background:#f1f4f3ed; color:var(--ja-rose);
}
body.refined-page.poetic-page .atlas-destinations#destinations .atlas-dest-arrow:hover { background:#ead2df; }
body.refined-page.poetic-page .atlas-destinations#destinations .dest-body h3 { color:var(--ja-ink); }
body.refined-page.poetic-page .atlas-destinations#destinations .dest-body>p { color:var(--ja-muted); font-size:13px; line-height:1.9; }
body.refined-page.poetic-page .atlas-destinations#destinations .dest-body .atlas-dest-highlights {
  border-top:1px solid var(--ja-rule); color:#637387; font-size:11px;
}
body.refined-page.poetic-page .atlas-destinations#destinations .dest-foot a { color:var(--ja-rose); border-color:#94688635; }
body.refined-page .tj-card-save { top:26px; right:26px; width:44px; height:44px; border-color:#edf5f780; background:#f1f5f5ed; }

/* Keep the map and its tools in the same paper world; geometry is untouched. */
body.refined-page.atlas-map-page .atlas-map-header { max-width:none; background:#173548; border-color:#d5e5ed20; }
body.refined-page.atlas-map-page .atlas-map-brand { font-family:var(--ja-serif); color:#edf3f6; }
body.refined-page.atlas-map-page .atlas-map-header nav a { color:#d5e3eb; min-height:44px; display:inline-flex; align-items:center; }
body.refined-page.atlas-map-page .atlas-map-header .locale-toggle { font:500 10px/1.2 var(--ja-sans); min-height:44px; color:#edf3f6; background:#ffffff03; border-color:#d8e9f032; }
body.refined-page.atlas-map-page .atlas-map-header :is(a,button):focus-visible { outline-color:#edcadd; }
body.refined-page.atlas-map-page .atlas-map-intro h1 { font-family:var(--ja-serif); color:var(--ja-ink); }
body.refined-page.atlas-map-page .atlas-map-intro h1 em,
body.refined-page.atlas-map-page .atlas-map-intro>span { color:var(--ja-rose); }
body.refined-page.atlas-map-page .atlas-map-intro>p,
body.refined-page.atlas-map-page .atlas-map-footer { color:var(--ja-muted); }
body.refined-page.atlas-map-page .atlas-map-footer a { color:var(--ja-rose); }
body.refined-page .travel-atlas-v2,
body.refined-page .rail-planner-v2 { --map-ink:var(--ja-ink); --map-muted:var(--ja-muted); --map-red:var(--ja-rose); --map-line:var(--ja-rule); }
body.refined-page .travel-atlas-v2 { border:1px solid #7293a32d; border-radius:8px; box-shadow:0 14px 45px #24475c08; }
body.refined-page :is(.atlas-v2-search,.atlas-v2-city-list button,.atlas-v2-journeys>button) { border-radius:4px; border-color:var(--ja-rule); }
body.refined-page :is(.atlas-v2-search input,.atlas-v2-filter select) { color:var(--ja-ink); }
body.refined-page .atlas-v2-place-photo img { transition:transform 1.2s var(--ja-ease); }
body.refined-page .atlas-v2-photo-credit { position:absolute; z-index:1; bottom:9px; right:12px; min-height:30px; display:flex; align-items:center; font:10px/1.4 var(--ja-sans); color:#f4f7fa; text-underline-offset:3px; text-decoration:underline; }
body.refined-page .atlas-v2-map-caption { background:#e4eef3; color:var(--ja-muted); border-color:var(--ja-rule); }
body.refined-page .atlas-v2-preview { border-color:var(--ja-rule); }
body.refined-page .atlas-v2-title>i { color:var(--ja-rose); border-color:#99638440; }
body.refined-page .geographic-map { background:radial-gradient(ellipse at 62% 33%,#f4f8fb,#e3ebf2 70%)!important; }
body.refined-page .geo-pin-dot { background:#8f9cac; box-shadow:0 0 0 .6px #8f9cac; }
body.refined-page .geo-city-marker.is-major .geo-pin-dot { background:#6f8196; }
body.refined-page .geo-city-marker.is-selected .geo-pin-dot { background:var(--ja-rose); box-shadow:0 0 0 1px var(--ja-rose),0 0 12px #91476835; }
body.refined-page .geo-pin-halo { border-color:#91476840; }
body.refined-page .geo-city-marker.is-selected .geo-pin-label { color:#82445f; }
body.refined-page .geo-pin-label { color:#576d81; }
body.refined-page .geo-controls { border-color:#7b98a53d; background:#f2f7faed; border-radius:5px; box-shadow:0 4px 15px #24475c0b; }
body.refined-page .geo-controls button { border-color:#7b98a526; color:var(--ja-rose); width:40px; height:40px; }
body.refined-page .geo-controls button:hover { background:#e6edf2; color:#743b56; }
body.refined-page .geo-province-tip { background:#f3f8fbf2!important; border-color:#8ba4b545!important; color:#405f73!important; }
body.refined-page .atlas-v2-place-body h3 { font-family:var(--ja-serif); color:var(--ja-ink); }
body.refined-page .atlas-v2-place-body>p { color:var(--ja-muted); }
body.refined-page :is(.atlas-v2-eyebrow,.atlas-v2-filter>span,.atlas-v2-province-control>span,.atlas-v2-highlights>span) { color:var(--ja-muted); }
body.refined-page .atlas-v2-place-body h3 em { color:#667184; }
body.refined-page .atlas-v2-place-actions>a { background:#35566d; border-radius:3px; min-height:44px; }
body.refined-page .atlas-v2-place-topline button { color:var(--ja-rose); min-width:36px; min-height:36px; }
body.refined-page .atlas-v2-highlights { border-color:var(--ja-rule); }
body.refined-page .atlas-v2-results>button { color:#466276; border-color:var(--ja-rule); }
body.refined-page .atlas-v2-results>button small { color:var(--ja-muted); }
body.refined-page .atlas-v2-results>button[aria-pressed=true] strong,
body.refined-page .atlas-v2-results>button:hover strong { color:var(--ja-rose); }
body.refined-page .atlas-v2-results>button[aria-pressed=true] .atlas-v2-list-dot { background:var(--ja-rose); box-shadow:0 0 0 4px #91476810; }
body.refined-page .atlas-v2-journey-options>button { border-color:#8096a83a; border-radius:4px; background:#eff5f7; color:#425e74; }
body.refined-page .atlas-v2-journey-options>button[aria-pressed=true],
body.refined-page .atlas-v2-journey-options>button:hover { border-color:#99638470; background:#e8dce9; }

/* Folded inspiration and the heritage gallery: a gentler book binding. */
body.refined-page .ink-fold-panel { border:1px solid #708c9c47; border-radius:5px; box-shadow:0 3px 12px #24475c06; background:#d8e4ec; }
body.refined-page .ink-fold-panel:nth-child(2) { background:#dce1ef; }
body.refined-page .ink-fold-panel:nth-child(3) { background:#dbe8e7; }
body.refined-page .ink-fold-panel:nth-child(4) { background:#e5d5e2; }
body.refined-page .ink-fold-panel.is-open { background:#edf3f6; }
body.refined-page .is-open .ink-fold-trigger { background:#e5edf3; border-bottom:1px solid var(--ja-rule); color:var(--ja-ink); }
body.refined-page.poetic-page .ink-inspiration#inspiration :is(.inspire-body,.atlas-inspire-image-tag) { background:#edf3f6ef; }
body.refined-page.poetic-page .ink-inspiration#inspiration .atlas-inspire-image { border-color:var(--ja-rule); }
body.refined-page.poetic-page .ink-inspiration#inspiration .atlas-inspire-image-tag { border-color:#edf5f787; border-radius:2px; transform:rotate(-1deg); }
body.refined-page.poetic-page .ink-inspiration#inspiration .inspire-body h3 { color:var(--ja-ink); }
body.refined-page.poetic-page .ink-inspiration#inspiration .atlas-inspire-arrow { color:var(--ja-rose); }
body.refined-page .craft-barrel { border-radius:8px; box-shadow:0 16px 48px #17354815; }
body.refined-page .craft-barrel-section { --craft-ink:var(--ja-ink); --craft-red:var(--ja-rose); --craft-white:#edf3f6; --craft-rose:#dfeaf0; }
body.refined-page .craft-barrel-eyebrow>span:first-child { border-color:#91476840; }
body.refined-page .craft-barrel-arrow { border-color:#91476840; background:#eff5f7; }
body.refined-page .craft-barrel-link { border-color:#91476860; }
body.refined-page .craft-barrel-cards { scrollbar-color:#9c708b #e2ebf1; }
body.refined-page .atlas-essentials-photo { border-radius:5px; box-shadow:0 15px 38px #24475c12; }
body.refined-page .atlas-footer-statement h2 { font-family:var(--ja-serif); letter-spacing:-.045em; }
body.refined-page .atlas-footer-orbit { border-color:#8095aa60; }

/* Practical pages: fine cards and a shared quiet workbench. */
body.refined-page.essentials-home .essentials-quicknav a>span:last-child { color:#e6c1d4; }
body.refined-page.essentials-home :is(.ink-journey-world,.ink-trail-slider,.ink-journey .decision-grid,.search-band,.toolbox-browser) { border-color:#7792a23d!important; }
body.refined-page.essentials-home .ink-journey-world { background:#d6e5e9; border-radius:6px 6px 0 0; border-width:1px; }
body.refined-page.essentials-home .ink-trail-slider { background:#dce6f0; border-width:1px; }
body.refined-page.essentials-home .ink-journey .decision-grid { box-shadow:0 12px 35px #24475c0b; border-width:1px; border-radius:5px; }
body.refined-page.poetic-page.essentials-home #journey.ink-journey :is(.decision-card,.decision-card:hover) { background:#eef4f6!important; }
body.refined-page.essentials-home .ink-journey .journey-scene { border-right-color:var(--ja-rule); border-right-width:1px; }
body.refined-page .ink-chapter-badge { border-color:#f8f8f78c; box-shadow:0 3px 12px #17354813; background:#eff3f4ec; transform:rotate(-1deg); }
body.refined-page.poetic-page.essentials-home[data-story-interactions=true] .search-band {
  background:#e6eef3bf!important; border-width:1px; border-radius:6px; box-shadow:0 10px 30px #24475c08;
}
body.refined-page.essentials-home .search-band .search-input { background:#f1f6f8!important; border-color:#7792a240; border-width:1px; border-radius:4px; box-shadow:0 3px 10px #24475c06; }
body.refined-page.essentials-home .ink-tool-desk .toolbox-filters button { border-radius:4px; border-color:var(--ja-rule); background:#e4eef1; box-shadow:none; min-height:42px; }
body.refined-page.essentials-home .ink-tool-desk .toolbox-filters button[aria-pressed=true] { background:#35566d; color:#f2f6f8; border-color:#35566d; transform:none; }
body.refined-page .ink-desk-caption { background:#dce7ef; border-color:#7792a23d; border-width:1px; border-bottom-style:solid; border-radius:5px 5px 0 0; }
body.refined-page.essentials-home .ink-tool-desk .toolbox-tabs { background-color:#e4edf1!important; border-color:#7792a23d; border-width:1px; border-radius:0 0 5px 5px; }
body.refined-page.essentials-home .ink-tool-desk .toolbox-panel { background:#edf3f6!important; border-color:#7792a23d; border-width:1px; border-radius:5px; box-shadow:0 12px 35px #24475c0b; }
body.refined-page.essentials-home .ink-tool-desk .toolbox-art { background:#dfe5f0!important; border-color:var(--ja-rule); }
body.refined-page.essentials-home .ink-tool-desk .toolbox-tab-icon { filter:drop-shadow(0 7px 5px #24475c1a); }
body.refined-page.essentials-home .ink-tool-desk .toolbox-tabs button:hover .toolbox-tab-icon { transform:rotate(0) translateY(-4px); filter:drop-shadow(0 9px 7px #24475c20); }
body.refined-page.essentials-home .ink-tool-desk .toolbox-tabs button[aria-selected=true] .toolbox-tab-icon { transform:rotate(0) translateY(-4px) scale(1.06); filter:drop-shadow(0 7px 5px #8c5c7c30); }
body.refined-page.poetic-page .ink-tool-desk .toolbox-panel .tool-card.toolbox-launch { background:#35566d!important; border-color:#35566d!important; border-radius:3px; box-shadow:0 4px 12px #24475c16; min-height:46px; }
body.refined-page.poetic-page .ink-tool-desk .toolbox-panel .tool-card.toolbox-launch:hover { background:#28485e!important; }
body.refined-page.essentials-page :is(.panel,.guide-card,.source-box,.tool-card,.result-panel,.stage-pagination) { border-radius:6px; box-shadow:0 4px 18px #24475c05; }
body.refined-page.essentials-page :is(input,select,textarea) { border-radius:4px; border-color:#7593a345!important; }
body.refined-page.essentials-page :is(.tool-header,.article-header,.stage-hero) h1 { font-family:var(--ja-serif); letter-spacing:-.035em; }
body.refined-page.essentials-page :is(.tool-header,.article-header,.stage-hero) p { line-height:1.9; }
body.refined-page.poetic-page.essentials-page .button:not(.outline) { background:#35566d; border-color:#35566d; color:#f4f7fa; border-radius:3px; }
body.refined-page.poetic-page.essentials-page .button:not(.outline):hover { background:#28485e; border-color:#28485e; }
body.refined-page.poetic-page.essentials-page .button.outline { background:#e7eff4; border-color:#7593a345; color:var(--ja-ink); border-radius:3px; }
body.refined-page.poetic-page.essentials-page .button.outline:hover { background:#dce7ee; border-color:#7593a37a; }
body.refined-page.poetic-page.essentials-page .notice { color:var(--ja-muted); border-radius:4px; }
body.refined-page.essentials-page #tool-root h2 { font-family:var(--ja-serif); }

/* Stories and notes: the same finely grained paper, with space to read. */
body.refined-page.journal-page .chapter-heading h2 { font-family:var(--ja-serif); }
body.refined-page.journal-page .chapter-essay>p { line-height:2; color:var(--ja-muted); }
body.refined-page.journal-page .chapter-main-photo picture,
body.refined-page.journal-page .chapter-aside picture { border-radius:4px; overflow:hidden; box-shadow:0 12px 35px #24475c0e; }
body.refined-page .storybook-scene { width:100%; min-width:0; max-width:100%; border-color:#7d99a443; border-radius:5px 5px 0 0; box-shadow:0 18px 45px #24475c12; }
body.refined-page .storybook-caption { border-color:#7d99a443; background:linear-gradient(130deg,#f1eff5ef,#e6eef4ed); box-shadow:0 9px 26px #24475c15; transform:rotate(-.3deg); }
body.refined-page .storybook-caption:before { border-color:#8ba0b326; }
body.refined-page .storybook-place { border-color:#7d99a443; border-radius:0 0 5px 5px; background:linear-gradient(110deg,#f0eef6,#e9f1f5); }
body.refined-page .storybook :is(.storybook-sound,.storybook-cruise) { min-height:44px; }
body.refined-page .travel-journal { --j-ink:var(--ja-ink); --j-muted:var(--ja-muted); --j-rose:var(--ja-rose); --j-paper:#f2f4f4; }
body.refined-page .tj-launch { border-radius:5px; min-height:46px; background:#eef3f5f2; border-color:#7895a443; box-shadow:0 8px 26px #17354818; }
body.refined-page .tj-dialog { background:#f1f4f5; border-radius:8px 0 0 0; }
body.refined-page .tj-intro h2 { font-family:var(--ja-serif); }
body.refined-page .tj-close { width:44px; height:44px; }
body.refined-page .tj-place-controls { grid-template-columns:44px 44px; gap:2px; }
body.refined-page .tj-place-controls button { width:44px; height:44px; border-radius:4px; transition:background .2s; }
body.refined-page .tj-place-controls button:not(:disabled):hover { background:#dee8ee; }
body.refined-page .tj-place-controls button:last-child { grid-column:1/-1; }
body.refined-page #tj-note { background:#f8fafb; font-size:13px; }

/* The immersive atlas stays atmospheric, and now shares the same signature. */
body.refined-page.wonder-page { --wonder-accent:var(--ja-blush); --wonder-paper:#edf1f5; --wonder-ink:var(--ja-ink); }
body.refined-page.wonder-page .wonder-header { background:#15334932; border-color:#e3e9f226; }
body.refined-page.wonder-page .wonder-header-tools>button { min-height:44px; }
body.refined-page.wonder-page .wonder-copy h1 { font-family:var(--ja-serif); letter-spacing:-.043em; }
body.refined-page.wonder-page .wonder-actions>a { background:var(--ja-blush); border-color:#f3dce790; border-radius:3px; }
body.refined-page.wonder-page .wonder-world { border-radius:3px; transition:background .4s,border-color .4s,box-shadow .5s; }
body.refined-page.wonder-page .wonder-world[aria-pressed=true] { box-shadow:inset 0 -2px 0 #e6c1d4,0 6px 24px #172c4520; }
body.refined-page.wonder-page .wonder-note { background:linear-gradient(135deg,#f2f1f6,#eaf2f6); border-radius:7px; box-shadow:0 30px 85px #13283f40; }
body.refined-page.wonder-page .wonder-note h2 { font-family:var(--ja-serif); }
body.refined-page.wonder-page .wonder-note-close { width:44px; height:44px; border-color:#edf5f780; background:#203f52e8; }
body.refined-page.wonder-page .wonder-note-real>a { min-height:40px; display:inline-flex; align-items:center; }
body.refined-page.wonder-page .wonder-note::backdrop { background:#122c4869; backdrop-filter:blur(9px); }

/* Existing gateway films retain their identity, with a softer rose signature. */
body.refined-page.gateway-page .gateway { --accent:var(--ja-blush); background:#142d40; }
body.refined-page.gateway-page .gw-shade { background:linear-gradient(180deg,#10273d45,transparent 28%,#102b4320 55%,#102337a8); }
body.refined-page.gateway-page .gw-header { border-bottom:1px solid #edf3f515; }
body.refined-page.gateway-page .gw-cta { border-radius:3px; border-color:#e2ebf27a; }
body.refined-page.gateway-page .gw-cta::before { background:var(--ja-blush); }
body.refined-page.gateway-page .gw-cta:hover { border-color:var(--ja-blush); }
body.refined-page.gateway-page .gw-invitation { padding:12px 0; min-height:44px; }
body.refined-page.gateway-page .gw-film-choice { min-height:36px; }
body.refined-page.gateway-page .gw-picker { position:relative; isolation:isolate; width:max-content; max-width:100%; }
body.refined-page.gateway-page .gw-picker::before { content:''; position:absolute; inset:-14px -20px; z-index:-1; pointer-events:none; border:1px solid #e3edf21f; border-radius:4px; background:linear-gradient(120deg,#173548a6,#17354860); backdrop-filter:blur(7px); }
body.refined-page.gateway-page .gw-film-choice { opacity:.82; }
body.refined-page.gateway-page .gw-film-choice[aria-pressed=true],body.refined-page.gateway-page .gw-film-choice:hover { opacity:1; }
body.refined-page.gateway-page :is(.gw-controls button,.gw-menu-button,.locale-toggle) { min-height:44px; }
body.refined-page.gateway-page .gw-micro { color:#ffffffae; }
body.refined-page.gateway-page .gw-invitation>div>span { color:#ffffffae; }

/* Preserved city and cultural guides: matching type, cards and photo apertures. */
body.refined-page.original-explore-page :is(.hero h1,.page-title,.section-title,.section>h2,.sec-head h2) { font-family:var(--ja-serif); letter-spacing:-.025em; }
body.refined-page.original-explore-page :is(h2,h3) { font-family:var(--ja-serif); font-weight:400; }
body.refined-page.original-explore-page .hero h1 { font-weight:400; }
body.refined-page.original-explore-page :is(.card,.spot,.food,.stay,.tipcard,.summary-card,.season,.day,.routeCard) { border-radius:6px; border-color:#7994a43b; }
body.refined-page.original-explore-page :is(.card .media,.spot img,.food img,.stay img,.hmedia) { overflow:hidden; border-radius:4px; }
body.refined-page.poetic-heritage .card { border-color:#7994a435; border-radius:6px; box-shadow:0 5px 18px #24475c0a; }
body.refined-page.poetic-heritage .card .media { background:linear-gradient(140deg,#d4e5ed,#e5e4f0)!important; }
body.refined-page.poetic-heritage .card h4 { font-family:var(--ja-serif); }
body.refined-page .credits-main :is(h1,h2) { font-family:var(--ja-serif); color:var(--ja-ink); }
body.refined-page .credits-main :is(p,small) { color:var(--ja-muted); }
body.refined-page .credits-main :is(.credits-grid article,.credits-note) { border-color:var(--ja-rule); }
body.refined-page .credits-grid picture { border-radius:4px; }
body.refined-page .credits-grid a { color:var(--ja-rose); }

@media(hover:hover) and (pointer:fine) {
  body.refined-page.poetic-page .atlas-destinations#destinations .dest:hover {
    border-color:#7893a36b; box-shadow:0 12px 30px #24475c10; transform:translateY(-3px);
  }
  body.refined-page .atlas-v2-place-photo:hover img { transform:scale(1.025); }
}
@media(max-width:1050px) {
  body.refined-page.original-explore-page nav.nav:is(#ctcnav,#nav) { display:grid!important; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px!important; height:auto; padding:10px 18px 0; width:100%; max-width:100%; }
  body.refined-page.original-explore-page nav.nav .nav-left { min-width:0; font-size:17px; }
  body.refined-page.original-explore-page nav.nav .nav-left img { width:32px; height:32px; }
  body.refined-page.original-explore-page nav.nav .original-locale-actions { margin-left:0; gap:0; }
  body.refined-page.original-explore-page nav.nav .original-locale-actions>.nav-cta { display:none; }
  body.refined-page.original-explore-page nav.nav .nav-links { grid-column:1/-1; grid-row:2; width:100%; min-width:0; gap:22px; display:flex!important; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#c5d9e640 transparent; padding:4px 0; }
  body.refined-page.original-explore-page nav.nav .nav-links>:is(a,.hasmega) { flex:0 0 auto; }
  body.refined-page.original-explore-page nav.nav .nav-links :is(a,.hasmega>a) { min-height:40px; display:inline-flex; align-items:center; font-size:12px; }
  body.refined-page.original-explore-page nav.nav .nav-links .mega { display:none!important; }
}
@media(max-width:1050px) and (min-width:601px) {
  body.refined-page .atlas-destination-grid .dest:last-child .tj-card-save { right:26px; }
}
@media(max-width:620px) {
  body.refined-page.poetic-page,
  body.refined-page.poetic-page[data-story-interactions=true] { background-attachment:scroll; }
  body.refined-page.poetic-page :is(.season-heading,.atlas-destination-heading,.atlas-inspiration-title,.atlas-v2-heading) h2 { font-size:clamp(37px,10.5vw,48px); }
  body.refined-page.explore-page .atlas-city-line { padding-block:23px; }
  body.refined-page.poetic-page .ink-calendar .season-layout { padding:7px; gap:7px; }
  body.refined-page.poetic-page .ink-calendar .season-calendar { padding-inline:14px; }
  body.refined-page.poetic-page .ink-calendar .season-months button { min-height:36px; }
  body.refined-page .wish-moods button { min-height:70px; }
  body.refined-page .atlas-v2-tools { grid-template-columns:1fr 1fr; }
  body.refined-page .atlas-v2-search input { font:400 16px/1.4 var(--ja-sans); }
  body.refined-page :is(.atlas-v2-filter select,.atlas-v2-province-control select) { font:400 16px/1.4 var(--ja-sans); min-height:44px; }
  body.refined-page .atlas-v2-filter>span { font-size:9px; }
  body.refined-page .atlas-v2-clear { grid-column:1/-1; justify-self:end; min-height:44px; padding-inline:12px; }
  body.refined-page .atlas-v2-bar-links button { min-height:44px; }
  body.refined-page .atlas-v2-preview { grid-template-columns:1fr; }
  body.refined-page .atlas-v2-place-photo { height:auto; min-height:0; aspect-ratio:1.6; }
  body.refined-page .atlas-v2-place-photo>span { display:block; left:20px; font-size:9px; }
  body.refined-page .atlas-v2-place-letter { height:160px; min-height:0; }
  body.refined-page .atlas-v2-place-letter>span { writing-mode:horizontal-tb; font-size:38px; }
  body.refined-page .atlas-v2-place-letter>small { writing-mode:horizontal-tb; }
  body.refined-page .atlas-v2-place-body { padding:20px; }
  body.refined-page .atlas-v2-place-body>p { font-size:12px; line-height:1.85; }
  body.refined-page .atlas-v2-highlights>p { font-size:11px; }
  body.refined-page .atlas-v2-results>button strong { font-size:12px; }
  body.refined-page .atlas-v2-results>button small { font-size:9px; }
  body.refined-page .atlas-v2-index-header { flex-wrap:wrap; }
  body.refined-page .atlas-v2-province-control { width:100%; }
  body.refined-page .atlas-v2-province-control select { width:100%; border-radius:4px; }
  body.refined-page .wonder-invite-art { border-radius:5px 5px 0 0; }
  body.refined-page .tj-launch { right:15px; }
  body.refined-page .tj-dialog .tj-close { width:44px; height:44px; }
  body.refined-page.essentials-page :is(input,select,textarea):not([type=range]):not([type=checkbox]):not([type=radio]) { font-size:16px!important; min-height:44px; }
  body.refined-page.gateway-page .gw-shade { background:linear-gradient(180deg,#10233745,#10233722 25%,#102337a8 65%,#102337e0); }
  body.refined-page.gateway-page .gw-film-choice { min-height:40px; }
}
@media(prefers-reduced-motion:reduce) {
  body.refined-page *,body.refined-page *::before,body.refined-page *::after {
    transition-duration:0s!important; animation:none!important; scroll-behavior:auto!important;
  }
  body.refined-page.poetic-page .atlas-destinations#destinations .dest:hover,
  body.refined-page .atlas-v2-place-photo:hover img,
  body.refined-page.explore-page .voyage-actions .voyage-primary:hover,
  body.refined-page.poetic-page .atlas-destinations#destinations .atlas-destination-photo:hover img,
  body.refined-page.essentials-home .ink-tool-desk .toolbox-tabs button:hover .toolbox-tab-icon { transform:none; }
}
@media print {
  body.refined-page.poetic-page { background:#fff; color:#203f52; }
  body.refined-page :is(.dest,.panel,.storybook-scene,.wish-postcard) { box-shadow:none!important; }
}
