/* Content-preserving editorial migration. Only versioned normalized articles
   use these rules; existing area/editorial pages keep their current contract. */
body.cs-design-editorial .cs-design-content [data-cs-design="editorial-v1"]{font-family:var(--font-body);font-size:17px;line-height:1.8;color:var(--ink);width:100%;max-width:1110px;margin:0 auto;overflow-wrap:break-word}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero{max-width:780px;margin:0 auto;padding:44px 0 0;background:none;border:0;border-radius:0;text-align:center}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero>.wrap{width:100%;max-width:780px;padding:0;margin:0 auto}
body.cs-design-editorial [data-cs-design="editorial-v1"] h1,
body.cs-design-editorial [data-cs-design="editorial-v1"] h2,
body.cs-design-editorial [data-cs-design="editorial-v1"] h3{font-family:var(--font-display);color:var(--fg)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero h1{font-size:44px;line-height:1.12;font-weight:700;max-width:22ch;margin:14px auto;letter-spacing:-.02em}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero .eyebrow{font-family:var(--font-body);font-size:12px;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:var(--fg)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero .meta{font-family:var(--font-body);font-size:13px;line-height:1.6;color:var(--muted)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .heroimg{width:100%;max-width:1110px;margin:36px auto 0;overflow:visible}
body.cs-design-editorial [data-cs-design="editorial-v1"] .heroimg figure{margin:0;padding:0;border:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .heroimg img{width:100%;height:420px;max-height:420px;object-fit:cover;border-radius:8px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quickbox{width:100%;max-width:940px;margin:28px auto 0;padding:18px 20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quickbox h2,
body.cs-design-editorial [data-cs-design="editorial-v1"] .quickbox h3,
body.cs-design-editorial [data-cs-design="editorial-v1"] .quick-nav-title{font:700 12px/1.3 var(--font-body);letter-spacing:.1em;text-transform:uppercase;margin:0 0 12px;padding:0;border:0;display:block}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quick-nav-title *{font:inherit;margin:0;padding:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quickbox :is(h2,h3,.quick-nav-title)::after{display:none}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quicknav{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quicknav a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:6px 16px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--fg);font:700 13px/1.5 var(--font-body);text-decoration:none;max-width:100%;white-space:normal}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quicknav a:hover{background:var(--accent-soft)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .cs-editorial-body{max-width:940px;margin:0 auto;padding:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .cs-editorial-intro{max-width:780px;margin:44px auto 0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .cs-article-section{width:100%;max-width:780px;margin:56px auto 0;padding:0;border:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .sec-head{margin:0 0 18px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .sec-head h2{font-size:30px;line-height:1.3;margin:0;padding:0 0 12px;border:0;border-bottom:1px solid var(--border)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .section-body{max-width:780px;margin:0;padding:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] p{font-size:17px;line-height:1.8}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero p{font-size:19px;line-height:1.55}
body.cs-design-editorial [data-cs-design="editorial-v1"] h3{font-size:22px;line-height:1.3;margin:28px 0 10px}
body.cs-design-editorial [data-cs-design="editorial-v1"] a{color:var(--fg);text-underline-offset:3px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .tbl-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.cs-design-editorial [data-cs-design="editorial-v1"] .tbl{width:100%;font-size:15px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .section-visual{margin:2em 0;padding:0;border:0;box-shadow:none}
body.cs-design-editorial [data-cs-design="editorial-v1"] .section-visual img{width:100%;height:360px;max-height:360px;object-fit:cover;border-radius:8px}
body.cs-design-editorial .cs-design-content [data-cs-design="editorial-v1"] figure.section-visual--route img:not(.emoji):not(.wp-smiley){width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item{margin:12px 0;padding:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--surface)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item summary{cursor:pointer;list-style:none;padding:16px 44px 16px 18px;position:relative}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item summary::-webkit-details-marker{display:none}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item summary::after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);line-height:1;color:var(--fg)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item[open] summary::after{content:'−'}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item summary h3,
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-item summary strong{font:700 17px/1.45 var(--font-body);margin:0;padding:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-answer{padding:0 18px 16px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .faq-answer p:last-child{margin-bottom:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] [data-cs-generated="related"] .explore-card{padding:20px;min-height:80px;justify-content:center;border:1px solid var(--border);border-radius:8px;text-decoration:none}
body.cs-design-editorial [data-cs-design="editorial-v1"] .cs-related-label{font:700 17px/1.5 var(--font-display);color:var(--fg)}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hc-band-head .hc-band-name{font-family:var(--font-display);font-size:19px;line-height:1.2;margin:0;color:#fff}
body.cs-design-editorial [data-cs-design="editorial-v1"] .hc-band-head .hc-score{color:#fff}
body.cs-design-editorial [data-cs-design="editorial-v1"] :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
/* Retain specialized hotel/venue facts as data-bearing modules, with a shared
   visual surface. Their room conditions and links remain original content. */
body.cs-design-editorial [data-cs-design="editorial-v1"] :is(.vis-hotel-card,.venue-card,.fact-card,.decision-card){border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:20px;margin:20px 0}
body.cs-design-editorial [data-cs-design="editorial-v1"] :is(.facts,.fact-grid,.vis-compare-grid,.decision-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
body.cs-design-editorial [data-cs-design="editorial-v1"] :is(.btn,.btn-primary,.btn-booking,.booking-cta){min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border:1px solid var(--accent);border-radius:999px;background:var(--accent);color:var(--fg);font:700 14px/1.4 var(--font-body);text-decoration:none;white-space:normal;max-width:100%}
@media(max-width:760px){
body.cs-design-editorial [data-cs-design="editorial-v1"] .hero h1{font-size:32px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quicknav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body.cs-design-editorial [data-cs-design="editorial-v1"] .quicknav a{width:100%;min-width:0}
body.cs-design-editorial [data-cs-design="editorial-v1"] .heroimg img{height:300px;max-height:300px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .cs-article-section{margin-top:44px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .sec-head h2{font-size:25px}
body.cs-design-editorial [data-cs-design="editorial-v1"] .section-visual img{height:240px;max-height:240px}
body.cs-design-editorial .cs-design-content [data-cs-design="editorial-v1"] figure.section-visual--route img:not(.emoji):not(.wp-smiley){height:auto;max-height:none}
}
@media(prefers-reduced-motion:reduce){body.cs-design-editorial [data-cs-design="editorial-v1"] *{scroll-behavior:auto;transition:none}}

/* WP 4319 only: connect existing museum-choice, related-hotel and note roles.
   No article HTML or other editorial page uses these selectors. */
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] :is(#choose,#explore) .ru-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] :is(#choose,#explore) .ru-card{min-width:0;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #choose .ru-card h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #explore .ru-card h3{font-size:19px;line-height:1.3;margin:0 0 8px}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] :is(#choose,#explore) .ru-card p:last-child{margin-bottom:0}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #before-you-go .ru-callout{margin:24px 0;padding:20px 24px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;background:var(--accent-soft)}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #before-you-go .ru-callout h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #before-you-go .ru-callout p:last-child{margin-bottom:0}
@media(max-width:760px){body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] :is(#choose,#explore) .ru-choice-grid{grid-template-columns:minmax(0,1fr)}body.cs-design-editorial .cs-design-content #rainy-ueno-guide[data-cs-design="editorial-v1"] #before-you-go .ru-callout{padding:18px}}

/* WP4322: existing choices, worked timing example and service facts. */
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #choose-storage .ldg-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #choose-storage .ldg-choice{min-width:0;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #choose-storage .ldg-choice h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #choose-storage .ldg-choice p:last-child{margin-bottom:0}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-example{margin:24px 0;padding:20px 24px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;background:var(--accent-soft)}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-example h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-timeline>div{min-width:0;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-timeline :is(dt,dd){margin:0}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] :is(#tokyo-station,#shinjuku) .ldg-service{margin:20px 0;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] :is(#tokyo-station,#shinjuku) .ldg-service h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] :is(#tokyo-station,#shinjuku) .ldg-service> :last-child{margin-bottom:0}
@media(max-width:760px){body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #choose-storage .ldg-choice-grid,body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-timeline{grid-template-columns:minmax(0,1fr)}body.cs-design-editorial .cs-design-content #last-day-luggage-guide[data-cs-design="editorial-v1"] #set-collection-time .ldg-example{padding:18px}}

/* WP4325: existing delivery choices, carrier facts and receiving checklist. */
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#arrival-cutoff,#day-bag) .ald-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#arrival-cutoff,#day-bag) .ald-choice{min-width:0;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#arrival-cutoff,#day-bag) .ald-choice h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#arrival-cutoff,#day-bag) .ald-choice p:last-child{margin-bottom:0}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#haneda-yamato,#narita-yamato,#haneda-sagawa) .ald-service{margin:20px 0;padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#haneda-yamato,#narita-yamato,#haneda-sagawa) .ald-service h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#haneda-yamato,#narita-yamato,#haneda-sagawa) .ald-service> :last-child{margin-bottom:0}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] #hotel-acceptance .ald-save-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] #hotel-acceptance .ald-save-grid>div{min-width:0;padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] #hotel-acceptance .ald-save-grid :is(dt,dd){margin:0}
body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] #hotel-acceptance .ald-save-grid dt{font-weight:700;color:var(--fg);margin-bottom:8px}
@media(max-width:760px){body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] :is(#arrival-cutoff,#day-bag) .ald-choice-grid,body.cs-design-editorial .cs-design-content #airport-luggage-delivery-guide[data-cs-design="editorial-v1"] #hotel-acceptance .ald-save-grid{grid-template-columns:minmax(0,1fr)}}

/* WP4314: one existing receiving-hotel message example only. */
body.cs-design-editorial .cs-design-content #hotel-luggage-forwarding-guide[data-cs-design="editorial-v1"] #receiving-hotel .message-box{margin:24px 0;padding:20px 24px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;background:var(--accent-soft)}
body.cs-design-editorial .cs-design-content #hotel-luggage-forwarding-guide[data-cs-design="editorial-v1"] #receiving-hotel .message-box h3{font-size:19px;line-height:1.3;margin:0 0 10px}
body.cs-design-editorial .cs-design-content #hotel-luggage-forwarding-guide[data-cs-design="editorial-v1"] #receiving-hotel .message-box p:last-child{margin-bottom:0}
