/* Daywise forest / slate production theme.
   Load after all existing site styles. No markup or JavaScript switch is required.
   Repeated :root pseudo-classes preserve the selected source theme specificity. */
:root:root{--dw-forest-paper:#fff;--dw-forest-ink:#173d34;--dw-forest-dark:#173d34;--dw-forest-dark-rgb:23,61,52;--dw-forest-on-dark:#fff;--dw-forest-dark-muted:#cbd8d3;--dw-forest-soft:#f1f5f3;--dw-forest-frame:#eaf0ed;--dw-forest-body:#3c5149;--dw-forest-muted:#56616a;--dw-forest-line:#d2ddd7;--dw-forest-control:#788e82;--dw-forest-accent:#173d34;--dw-forest-deep:#173d34;--dw-forest-label:#354b42;--dw-forest-on-dark-soft:#e5eee9;--dw-forest-dark-line:#6e8d7f;--dw-forest-selection:#dce9e2;--dw-forest-hover:#e3ece6;--dw-forest-header:#173d34;--dw-forest-header-ink:#fff;--dw-forest-footer:#173d34;--dw-forest-hero-button:#fff;--dw-forest-hero-button-ink:#173d34}

/* Dark header and footer; light reading canvas. */
html:root body.motion-inner .header{background:var(--dw-forest-header);color:var(--dw-forest-header-ink)}
html:root body.motion-inner .header .brand{background:transparent;color:var(--dw-forest-header-ink)}
html:root body.motion-inner .header .language-switch,html:root body.motion-inner .header .site-menu summary,html:root body.motion-inner .header .motion-inner-menu summary{color:var(--dw-forest-header-ink)}
html:root:root body.motion-inner .header .language-switch{border-color:#ffffff66}
html:root:root body.motion-inner .header a:hover{color:#fff;text-decoration:underline}
html:root:root body.motion-inner .header :focus-visible{outline-color:#fff}
html:root body.motion-inner .header .site-menu .site-nav-mobile,html:root body.motion-inner .header .motion-inner-menu nav{background:var(--dw-forest-header);color:var(--dw-forest-header-ink)}
html:root body.motion-inner .header .site-menu .site-nav-mobile a{color:var(--dw-forest-header-ink)}
html:root body.motion-inner .footer,html:root body.motion-home :is(.footer-top,.footer-bottom){background:var(--dw-forest-footer)}
html:root body.motion-home .date-first-form button{background:var(--dw-forest-hero-button);color:var(--dw-forest-hero-button-ink);border-color:var(--dw-forest-on-dark-soft)}
html:root body.motion-home .date-first-form button:hover{background:var(--dw-forest-on-dark-soft);color:var(--dw-forest-dark)}
html:root body.motion-home #shuffle-scenery{border-color:var(--dw-forest-accent);color:var(--dw-forest-accent)}
html:root body.motion-home #page-progress{background:var(--dw-forest-accent)}
html:root body.motion-home :is(.manifesto .eyebrow,.discover .eyebrow,.collection-heading .eyebrow,.current-collections .eyebrow,.card .eyebrow){color:var(--dw-forest-accent)}
html:root body.motion-home .region-photo-choice .chip[aria-pressed=true]{border-color:var(--dw-forest-accent)}
html:root body.motion-inner :is(.calendar-view-switch button,.region-chip,.chip)[aria-pressed=true]{background:var(--dw-forest-accent);color:#fff;border-color:var(--dw-forest-accent)}
html:root body.motion-inner .date-panel .date-grid button[aria-pressed=true]{background:var(--dw-forest-accent);color:#fff}
html:root body.motion-inner :is(.eyebrow,.dw-article-hero .eyebrow){color:var(--dw-forest-accent)}

:root{color-scheme:light}
body.motion-home,body.motion-inner{--ink:var(--dw-forest-ink);--paper:var(--dw-forest-paper);--gold:var(--dw-forest-body);--muted:var(--dw-forest-muted);--line:var(--dw-forest-line);--green:var(--dw-forest-deep);--accent:var(--dw-forest-deep);--card:var(--dw-forest-paper);--card-soft:var(--dw-forest-frame);background:var(--dw-forest-paper);color:var(--dw-forest-ink)}
body.motion-home :is(a,button,input,select,summary):focus-visible,body.motion-inner :is(a,button,input,select,summary):focus-visible{outline-color:var(--dw-forest-accent)}
body.motion-home :is(.card,.photo-card,.discovery-card,.experience-caption),body.motion-inner :is(.card,.culture-card,.activity-card,.inspiration-card,.daily-card,.date-panel,.experience-action,.area-choice,.experience-choice,.cultural-card,.related-region-card){--ink:var(--dw-forest-ink);--paper:var(--dw-forest-paper);--muted:var(--dw-forest-muted);--green:var(--dw-forest-deep);--accent:var(--dw-forest-deep);--line:var(--dw-forest-line);--card-soft:var(--dw-forest-frame)}
body.motion-home ::selection,body.motion-inner ::selection{background:var(--dw-forest-selection);color:var(--dw-forest-ink)}

/* Photographic opening with forest overlays. */
.motion-home :is(.hero-stage,.motion-header){--paper:var(--dw-forest-on-dark);--gold:var(--dw-forest-dark-muted);--muted:var(--dw-forest-dark-muted);--line:#ffffff30;color:var(--dw-forest-on-dark)}
.motion-home .hero-stage{background:var(--dw-forest-dark)}
.motion-home .hero-shade{background:linear-gradient(90deg,rgba(var(--dw-forest-dark-rgb),.73),rgba(var(--dw-forest-dark-rgb),.4)),linear-gradient(0deg,rgba(var(--dw-forest-dark-rgb),.96),transparent 80%)}
.motion-home .motion-header{background:linear-gradient(rgba(var(--dw-forest-dark-rgb),.69),transparent)}
.motion-home .date-first-content>.eyebrow,.motion-home .date-first-dek,.motion-home .date-first-links a{color:var(--dw-forest-on-dark)}
.motion-home .hero-credit,.motion-home .date-first-notes,.motion-home .date-first-nojs{color:var(--dw-forest-on-dark-soft)}
.motion-home .date-first-picker{background:rgba(var(--dw-forest-dark-rgb),.93);border-color:rgba(185,194,203,.53);color:var(--dw-forest-on-dark)}
.motion-home .date-first-form input:not([type=hidden]){background:var(--dw-forest-paper);border-color:var(--dw-forest-paper);color:var(--dw-forest-ink)}
.motion-home .date-first-form button{background:var(--dw-forest-on-dark-soft);border-color:var(--dw-forest-on-dark-soft);color:var(--dw-forest-ink)}
.motion-home .date-first-form button:hover{background:var(--dw-forest-paper)}
.motion-home .date-first-form :is(input,button):focus-visible,.motion-home .motion-header :focus-visible{outline-color:var(--dw-forest-on-dark-soft)}
.motion-home .site-menu[open] nav{background:rgba(var(--dw-forest-dark-rgb),.98);color:var(--dw-forest-on-dark)}

/* White editorial field with alternating, light forest-tinted chapters. */
.motion-home :is(.motion-toolbar,.manifesto,.discover,.motion-catalogue,.current-collections,.image-disclaimer,.closing){background:var(--dw-forest-paper);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
.motion-home .motion-toolbar button{color:var(--dw-forest-ink);border-color:var(--dw-forest-control)}
.motion-home .motion-toolbar button:disabled{color:var(--dw-forest-muted);border-color:var(--dw-forest-line)}
.motion-home :is(.manifesto .eyebrow,.discover .eyebrow,.manifesto h2 em,.discover-links>a>div>span:last-child){color:var(--dw-forest-muted)}
.motion-home .round-link{border-color:var(--dw-forest-control)}.motion-home .round-link:hover{background:var(--dw-forest-ink);color:var(--dw-forest-paper)}
.motion-home .discover-links>a{border-color:var(--dw-forest-line)}
.motion-home .collection-heading{background:var(--dw-forest-soft);color:var(--dw-forest-ink)}
.motion-home .scenic-selection-tools>p{color:var(--dw-forest-body)}
.motion-home #shuffle-scenery{border-color:var(--dw-forest-control);color:var(--dw-forest-ink);background:var(--dw-forest-paper)}
.motion-home #shuffle-scenery:hover{background:var(--dw-forest-on-dark-soft)}
.motion-home .scenic-chapter,.motion-home .scenic-chapter:nth-child(2){background:var(--dw-forest-paper);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
.motion-home .scenic-chapter:nth-child(3){background:var(--dw-forest-soft)}
.motion-home :is(.scenic-topline,.scenic-copy>p:not(.eyebrow),.scenic-schedule,.scenic-photo-date,.scenic-figure .credit,.scenic-photo-scope,.scenic-photo-changes,.scenic-photo-changes summary){color:var(--dw-forest-body)}
.motion-home .scenic-next{color:var(--dw-forest-ink)}.motion-home .scenic-schedule{border-color:var(--dw-forest-line)}
.motion-home .scenic-image-frame,.motion-home .card .frame{background:var(--dw-forest-frame)}
.motion-home .line-link{border-color:var(--dw-forest-control)}.motion-home .line-link:hover{color:var(--dw-forest-accent)}
.motion-home .current-collections :is(.discovery-card,.photo-card,.experience-caption){background:var(--dw-forest-soft);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
.motion-home .current-collections :is(.discovery-photo figcaption,.discovery-photo-note,.experience-caption>span,.event-reference-label,.photo-card-copy p,.about p,.editorial p){color:var(--dw-forest-body)}
.motion-home .current-collections .editorial{background:var(--dw-forest-soft);color:var(--dw-forest-ink)}
.motion-home :is(.photo-filter-search .search input,.photo-filter-search>a,.search-box input,.region-photo-choice .chip){color:var(--dw-forest-ink)}
.motion-home :is(.search-label,.search-box input::placeholder,.photo-filter-search .search input::placeholder,.region-strip-toolbar p,.region-photo-credit,.ai-region-choice .ai-generation-date,#stories .card .credit){color:var(--dw-forest-muted)}
.motion-home .region-photo-choice .chip:hover{border-color:var(--dw-forest-control)}
.motion-home .region-photo-choice .chip[aria-pressed=true]{background:var(--dw-forest-frame);color:var(--dw-forest-ink);border-color:var(--dw-forest-ink)}
.motion-home .region-strip-toolbar button{border-color:var(--dw-forest-control);color:var(--dw-forest-ink)}
.motion-home :is(.all-region-sign,.region-image-frame){background:var(--dw-forest-frame);color:var(--dw-forest-ink)}
.motion-home :is(.region-photo-strip,.filter-row){scrollbar-color:var(--dw-forest-control) var(--dw-forest-frame)}
.motion-home .filter-row::-webkit-scrollbar-track{background:var(--dw-forest-frame)}.motion-home .filter-row::-webkit-scrollbar-thumb{background:var(--dw-forest-control)}
.motion-home .chip{color:var(--dw-forest-body)}.motion-home .chip:hover{color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
.motion-home .chip[aria-pressed=true]{background:var(--dw-forest-ink);color:var(--dw-forest-paper)}
.motion-home .footer-top,.motion-home .footer-bottom{background:var(--dw-forest-dark);color:var(--dw-forest-on-dark);border-color:var(--dw-forest-dark-line)}
.motion-home .footer-top>p,.motion-home .footer-bottom{color:var(--dw-forest-dark-muted)}
.motion-home :is(.footer-top,.footer-bottom) :focus-visible,body.motion-inner .footer :focus-visible{outline-color:var(--dw-forest-on-dark-soft)}
.motion-home #stories .frame img,.motion-home .current-collections :is(.preserve-edges,.event-photograph,.event-photograph img,.photo-pending){background:var(--dw-forest-frame)}

/* Inner pages share the white canvas and forest-tinted information fields. */
body.motion-inner .header,body.motion-inner .brand{background:var(--dw-forest-paper);color:var(--dw-forest-ink)}
body.motion-inner .header{border-bottom:1px solid var(--dw-forest-line)}
body.motion-inner .language-switch{color:var(--dw-forest-body);border-color:var(--dw-forest-line)}
body.motion-inner .header a:hover{color:var(--dw-forest-accent)}
body.motion-inner .site-menu summary{color:var(--dw-forest-ink)}
body.motion-inner .header .site-menu .site-nav-mobile,body.motion-inner .motion-inner-menu nav{background:var(--dw-forest-paper);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
body.motion-inner .header .site-menu .site-nav-mobile a{color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
body.motion-inner .header .site-menu .site-nav-mobile a:hover{color:var(--dw-forest-accent)}
body.motion-inner :is(.eyebrow,.daily-stamp,.art-period,.back,.hub-back){color:var(--dw-forest-muted)}
body.motion-inner .photo-first-subnote{color:var(--dw-forest-muted)}
body.motion-inner .photo-place{border-color:var(--dw-forest-line)}
body.motion-inner .all-prefectures :is(small,.pending),body.motion-inner .date-grid button:not([aria-pressed=true]) small{color:var(--dw-forest-muted)}
body.motion-inner .dw-article-hero{background:var(--dw-forest-soft);color:var(--dw-forest-ink)}
body.motion-inner .dw-article-hero :is(.eyebrow,.back,.credit),body.motion-inner .dw-article-jump{color:var(--dw-forest-body);border-color:var(--dw-forest-control)}
body.motion-inner :is(.essential,.quick-guide,.guide-block,.experience-details,.place-access,.guide-note,.discovery-critical,.guide-caution,.date-panel,.translation-note,.article-photo-story,.hub-event-link,.experience-choice,.experience-choice.craft,.related-region-card,.related-region-advisory){background:var(--dw-forest-soft);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
body.motion-inner :is(.quick-guide article,.experience-action,.area-choice){background:var(--dw-forest-paper);color:var(--dw-forest-ink);border-color:var(--dw-forest-line)}
body.motion-inner :is(.discovery-photo,.photo-first-open,.documentary-open,.inspiration-open,.frame,.all-region-sign,.region-image-frame,.prefecture-tile img,.explorer-photo img,.gallery-stage img,.preserve-edges,.article-image img,.event-photograph,.event-photograph img,.photo-pending){background:var(--dw-forest-frame);color:var(--dw-forest-ink)}
body.motion-inner :is(.hero-link,.apple-path-03){background:var(--dw-forest-soft);color:var(--dw-forest-ink)}
body.motion-inner :is(.discovery-filters,.event-filters,.daily-tools,.monthly-filters,.monthly-month-label) :is(input,select),body.motion-inner .date-input-label input{background:var(--dw-forest-paper);color:var(--dw-forest-ink);border-color:var(--dw-forest-control)}
body.motion-inner input::placeholder{color:var(--dw-forest-muted)}
body.motion-inner select option{background:var(--dw-forest-paper);color:var(--dw-forest-ink)}
body.motion-inner :is(.discovery-filters,.event-filters,.daily-tools,.monthly-filters) label{color:var(--dw-forest-body)}
body.motion-inner .calendar-view-switch{background:var(--dw-forest-frame)}
body.motion-inner .calendar-view-switch button{color:var(--dw-forest-body)}
body.motion-inner .calendar-view-switch button[aria-pressed=true],body.motion-inner .date-panel .date-grid button[aria-pressed=true]{background:var(--dw-forest-ink);color:var(--dw-forest-paper)}
body.motion-inner .date-panel .date-grid button[aria-pressed=true] small{color:var(--dw-forest-on-dark-soft)}
body.motion-inner .date-panel .date-grid button:hover{background:var(--dw-forest-hover);color:var(--dw-forest-ink)}
body.motion-inner .date-panel .date-grid button[aria-pressed=true]:hover{background:var(--dw-forest-deep);color:var(--dw-forest-paper)}
body.motion-inner .date-panel .date-grid button[aria-pressed=true]:hover small{color:var(--dw-forest-on-dark-soft)}
body.motion-inner :is(.region-chip,.chip){color:var(--dw-forest-body);background:var(--dw-forest-paper);border-color:var(--dw-forest-line)}
body.motion-inner :is(.region-chip,.chip)[aria-pressed=true]{background:var(--dw-forest-ink);color:var(--dw-forest-paper);border-color:var(--dw-forest-ink)}
body.motion-inner :is(.daily-more,.monthly-more,.art-more){color:var(--dw-forest-ink);border-color:var(--dw-forest-control)}
body.motion-inner[data-calendar-lang] .monthly-overview :is(.month-photo,.month-photo-kind){background:var(--dw-forest-frame);color:var(--dw-forest-body)}
body.motion-inner[data-calendar-lang] .monthly-overview .month-card-action{color:var(--dw-forest-deep)}
body.motion-inner .date-badge.planned{background:var(--dw-forest-on-dark-soft);color:var(--dw-forest-deep)}
body.motion-inner .month-photo-pending{background:var(--dw-forest-frame);color:var(--dw-forest-body)}
body.motion-inner .region-kansai{--region-pale:var(--dw-forest-frame)}
body.motion-inner .footer{background:var(--dw-forest-dark);color:var(--dw-forest-on-dark);border-color:var(--dw-forest-dark-line)}
body.motion-inner .footer .footer-links{color:var(--dw-forest-dark-muted)}
body.motion-inner .footer .brand{background:transparent;color:var(--dw-forest-on-dark)}

/* Neutral disclosure fields preserve the written difference between generated and real photos. */
body.motion-home .ai-concept,body.motion-inner .ai-source-record{background:var(--dw-forest-soft);border-color:var(--dw-forest-line);color:var(--dw-forest-ink)}
body.motion-home .ai-label,body.motion-inner .ai-label,body.motion-inner [data-ai-disclosure]{background:var(--dw-forest-frame);color:var(--dw-forest-label);border-color:var(--dw-forest-line)}
body.motion-home .ai-label strong,body.motion-inner .ai-label strong{color:inherit}
body.motion-home .ai-concept img.ai-generated-image,body.motion-inner .ai-concept img.ai-generated-image,body.motion-inner .ai-prefecture-tile img.ai-generated-image{background:var(--dw-forest-frame)}
body.motion-home .ai-image-notes,body.motion-home .ai-image-notes p,body.motion-inner .ai-image-notes,body.motion-inner .ai-image-notes p,body.motion-inner .ai-generation-date{color:var(--dw-forest-body)}
body.motion-home .ai-note-details>summary,body.motion-inner .ai-note-details>summary{color:var(--dw-forest-deep)}
body.motion-home .ai-image-notes a,body.motion-inner .ai-image-notes a{color:var(--dw-forest-accent)}
body.motion-home [hidden],body.motion-inner [hidden]{display:none!important}
body.motion-inner dialog:not([open]){display:none!important}

/* Daywise clear controls. Load after forest-slate.css.
   Bounded action geometry: square corners, visible targets and explicit states.
   Photography, captions, credits, disclosure text and page motion stay unchanged. */

/* No circular or pill-shaped interactive buttons. Decorative brand marks stay intact. */
html:root body:is(.motion-home,.motion-inner) button{
  border-radius:0;
  min-height:44px;
}
html:root body:is(.motion-home,.motion-inner) :is(.round-link,.apple-button,.apple-circle-link,a.apple-circle,.monthly-day-link,.related-region-more,.hero-link){
  border-radius:0;
}
html:root body:is(.motion-home,.motion-inner) :is(.scroll-link i,.hero-link .arrow){
  border-radius:0;
  border:0;
  background:transparent;
  color:inherit;
}

/* Rectangular action surfaces. The selector list deliberately excludes ordinary links. */
html:root body:is(.motion-home,.motion-inner) :is(.round-link,.apple-button,.apple-circle-link,.monthly-day-link,.related-region-more,.daily-more,.monthly-more,.art-more,.date-first-form button,.discovery-filters button,.daily-tools button,.motion-toolbar button,.reset,.month-nav button,.region-strip-toolbar button,.monthly-dialog-close,.apple-immersive-close,.gallery-controls button,.gallery-dots button){
  min-width:44px;
  min-height:44px;
  max-width:100%;
  border:1px solid var(--dw-forest-control);
  border-radius:0;
  background:var(--dw-forest-paper);
  color:var(--dw-forest-ink);
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}
html:root body:is(.motion-home,.motion-inner) :is(a.round-link,a.apple-button,button.apple-button,a.monthly-day-link,button.monthly-day-link){
  border-color:var(--dw-forest-ink);
  background:var(--dw-forest-ink);
  color:var(--dw-forest-on-dark);
}
html:root body:is(.motion-home,.motion-inner) :is(.round-link,.apple-button,.apple-circle-link,.monthly-day-link,.related-region-more,.daily-more,.monthly-more,.art-more,.date-first-form button,.discovery-filters button,.daily-tools button,.motion-toolbar button,.reset,.month-nav button,.region-strip-toolbar button,.monthly-dialog-close,.apple-immersive-close,.gallery-controls button,.gallery-dots button):not(:disabled):not([aria-disabled=true]):hover{
  border-color:var(--dw-forest-ink);
  background:var(--dw-forest-on-dark-soft);
  color:var(--dw-forest-ink);
  text-decoration:underline;
  text-underline-offset:4px;
}
html:root body.motion-home #shuffle-scenery{
  border:1px solid var(--dw-forest-control);
  border-radius:0;
  min-height:48px;
  background:var(--dw-forest-paper);
  color:var(--dw-forest-ink);
  font-weight:600;
}
html:root body.motion-home #shuffle-scenery:not(:disabled):hover{
  background:var(--dw-forest-on-dark-soft);
  border-color:var(--dw-forest-ink);
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Visible-label replacement for the former arrow-only circle. */
html:root body.motion-home .round-link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:auto;
  height:auto;
  min-height:48px;
  padding:12px 18px;
  font:600 13px/1.5 var(--sans);
  white-space:normal;
  overflow-wrap:anywhere;
  flex:0 1 auto;
}
html:root body.motion-home .round-link [aria-hidden=true]{font-size:22px;line-height:1;flex-shrink:0}
html:root body.motion-home .manifesto-bottom{flex-wrap:wrap}
html:root body.motion-home .date-first-form button{min-height:48px;white-space:normal}
html:root body.motion-home .date-first-form button [aria-hidden=true]{margin-inline-start:6px}
html:root body:is(.motion-home,.motion-inner) :is(.motion-toolbar button,.daily-tools button,.reset){padding:9px 12px}
html:root body:is(.motion-home,.motion-inner) :is(.month-nav button,.region-strip-toolbar button){width:44px;height:44px;padding:0;font-size:20px;line-height:1}

/* Search and date entry fields receive a complete boundary, never a placeholder-only cue. */
html:root body:is(.motion-home,.motion-inner) :is(.discovery-filters,.event-filters,.daily-tools,.monthly-filters,.monthly-month-label) :is(input:not([type=hidden]),select),
html:root body:is(.motion-home,.motion-inner) .date-input-label input,
html:root body.motion-home .date-first-form input:not([type=hidden]),
html:root body.motion-home .photo-filter-search .search input{
  min-height:44px;
  border:1px solid var(--dw-forest-control);
  border-radius:0;
  background:var(--dw-forest-paper);
  color:var(--dw-forest-ink);
}
html:root body.motion-home .photo-filter-search .search input{padding:10px 30px 10px 12px}
html:root body.motion-home .search-box{
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--dw-forest-control);
  background:var(--dw-forest-paper);
}
html:root body.motion-home .search-box input{min-height:44px;color:var(--dw-forest-ink)}

/* Back, detail and supplementary links remain editorial links, not boxed cards. */
html:root body:is(.motion-home,.motion-inner) :is(a.line-link,a.text-link,a.simple-link,a.back,.hub-back>a,a.dw-article-jump,.photo-filter-search>a,.date-first-links>a){
  display:inline-flex;
  align-items:center;
  min-height:44px;
  max-width:100%;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
  border-bottom-color:transparent;
  font-weight:600;
}
html:root body:is(.motion-home,.motion-inner) :is(a.line-link,a.text-link,a.simple-link,a.back,.hub-back>a,a.dw-article-jump,.photo-filter-search>a,.date-first-links>a):hover{
  text-decoration-thickness:2px;
}

/* Text filters and view switches have visible unselected boundaries and a strong selected fill. */
html:root body:is(.motion-home,.motion-inner) :is(.filter-row>.chip,.chips>.chip,.region-chip,.calendar-view-switch button){
  min-height:44px;
  min-width:44px;
  border:1px solid var(--dw-forest-control);
  border-radius:0;
  background:var(--dw-forest-paper);
  color:var(--dw-forest-body);
}
html:root body:is(.motion-home,.motion-inner) :is(.filter-row>.chip,.chips>.chip,.region-chip,.calendar-view-switch button):not(:disabled):hover{
  border-color:var(--dw-forest-ink);
  background:var(--dw-forest-hover);
  color:var(--dw-forest-ink);
}
html:root body:is(.motion-home,.motion-inner) :is(.filter-row>.chip,.chips>.chip,.region-chip,.calendar-view-switch button)[aria-pressed=true],
html:root body:is(.motion-home,.motion-inner) .gallery-dots button[aria-current=true]{
  background:var(--dw-forest-ink);
  border-color:var(--dw-forest-ink);
  color:var(--dw-forest-on-dark);
  box-shadow:inset 0 -3px 0 var(--dw-forest-on-dark-soft);
}
html:root body:is(.motion-home,.motion-inner) :is(.filter-row>.chip,.chips>.chip,.region-chip,.calendar-view-switch button)[aria-pressed=true]:hover,
html:root body:is(.motion-home,.motion-inner) .gallery-dots button[aria-current=true]:not(:disabled):not([aria-disabled=true]):hover{
  background:var(--dw-forest-deep);
  border-color:var(--dw-forest-deep);
  color:var(--dw-forest-on-dark);
}
html:root body.motion-inner .calendar-view-switch{border-radius:0;gap:4px}
/* Photo filter cards retain their image composition and existing card geometry. */
html:root body.motion-home .region-photo-choice .chip{border-radius:0;border-color:var(--dw-forest-control)}
html:root body.motion-home .region-photo-choice .chip:not(:disabled):hover{border-color:var(--dw-forest-ink)}
html:root body.motion-home .region-photo-choice .chip[aria-pressed=true]{
  border-color:var(--dw-forest-ink);
  box-shadow:inset 0 -3px 0 var(--dw-forest-ink);
}

/* Calendar days: 44px squares, including the previous/next controls. */
html:root body.motion-inner .daily-layout{grid-template-columns:minmax(334px,360px) minmax(0,1fr)}
html:root body.motion-inner .date-panel{padding-inline:12px;overflow-x:auto}
html:root body.motion-inner .date-panel .month-nav{grid-template-columns:44px minmax(0,1fr) 44px;min-width:308px}
html:root body.motion-inner :is(.date-grid,.calendar-weekdays){grid-template-columns:repeat(7,minmax(44px,1fr));min-width:308px;gap:0}
html:root body.motion-inner .date-panel .date-grid button{
  min-height:44px;
  min-width:44px;
  border:1px solid var(--dw-forest-control);
  border-radius:0;
  background:var(--dw-forest-paper);
  color:var(--dw-forest-ink);
}
html:root body.motion-inner .date-panel .date-grid button:not(:disabled):hover{background:var(--dw-forest-hover);border-color:var(--dw-forest-ink)}
html:root body.motion-inner .date-panel .date-grid button[aria-pressed=true]{background:var(--dw-forest-ink);border-color:var(--dw-forest-ink);color:var(--dw-forest-on-dark);box-shadow:inset 0 -3px 0 var(--dw-forest-on-dark-soft)}
html:root body.motion-inner .date-panel .date-grid button[aria-pressed=true]:hover{background:var(--dw-forest-deep);color:var(--dw-forest-on-dark)}

/* Header search stays readable and distinct without a circular icon surround. */
html:root body.motion-home .search-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  min-width:44px;
  padding:8px;
  border:1px solid var(--dw-forest-on-dark-soft);
  border-radius:0;
  color:var(--dw-forest-on-dark);
  font-size:11px;
  line-height:1.3;
  white-space:nowrap;
}
html:root body.motion-home .search-link:hover{background:var(--dw-forest-on-dark-soft);color:var(--dw-forest-ink)}
html:root body:is(.motion-home,.motion-inner) .site-menu summary{min-height:44px;min-width:44px}
html:root body.motion-home .language-switch{display:inline-flex;align-items:center;min-height:44px}

/* Focus is visible on light and dark surfaces; disabled controls cannot suggest action. */
html:root body:is(.motion-home,.motion-inner) :is(a,button,input,select,summary):focus-visible{
  outline:2px solid var(--dw-forest-ink);
  outline-offset:3px;
  box-shadow:0 0 0 3px var(--dw-forest-paper);
}
html:root body.motion-home :is(.motion-header,.date-first-picker,.footer-top,.footer-bottom) :focus-visible,
html:root body.motion-inner :is(.header,.footer) :focus-visible{
  outline-color:var(--dw-forest-on-dark);
  box-shadow:0 0 0 3px var(--dw-forest-dark);
}
html:root body:is(.motion-home,.motion-inner) button:disabled{cursor:default;opacity:.45}

@media(max-width:760px){
  html:root body.motion-home .manifesto-bottom{grid-template-columns:minmax(0,1fr)}
  html:root body.motion-home .manifesto-bottom .round-link{grid-column:1/-1;justify-self:start}
  html:root body.motion-home .header-utilities{gap:10px}
  html:root body.motion-inner .daily-layout{grid-template-columns:minmax(0,1fr)}
  html:root body:is(.motion-home,.motion-inner) .gallery-controls{flex-wrap:wrap}
  html:root body:is(.motion-home,.motion-inner) .gallery-dots{flex-wrap:wrap;justify-content:center}
}

/* Last-resort behavior guards must survive the control display overrides. */
body.motion-home [hidden],body.motion-inner [hidden]{display:none!important}
body.motion-inner dialog:not([open]){display:none!important}
