/* R26 owns new shell markup; classic header/footer classes are intentionally absent. */
.r26-chrome{--chrome-bg:var(--color-bg);--chrome-ink:var(--color-text);--chrome-muted:var(--color-text-muted);color:var(--chrome-ink);background:var(--chrome-bg);box-sizing:border-box}
/* 頁首／頁尾的舊變數（主題 CSS 的焦點框、頁尾文字等用到）跟著 r26 頁首頁尾色調，不用舊主題色彩 */
.r26-header{--color-header-background:var(--chrome-bg);--color-header-text:var(--chrome-ink)}
.r26-footer{--color-footer-background:var(--chrome-bg);--color-footer-text:var(--chrome-ink)}
.r26-chrome[data-tone=contrast]{--chrome-bg:var(--r26-base-text);--chrome-ink:var(--r26-base-background);--chrome-muted:var(--r26-base-background)}
.r26-chrome *{box-sizing:border-box}.r26-chrome a{color:inherit;text-decoration:none}.r26-chrome :is(a,button):focus-visible{outline:3px solid currentColor;outline-offset:5px}.r26-chrome a:hover{text-decoration:underline;text-underline-offset:.3em}
/* Shell focus follows its effective region palette, including contrast tone;
   classic theme header/footer tokens may describe a different surface. */
html body .r26-chrome:is(.r26-header,.r26-footer) :is(a,button):focus-visible{outline:3px solid var(--chrome-ink);outline-offset:5px}
.r26-chrome ul{list-style:none;padding:0;margin:0}.r26-chrome button{font:inherit;color:inherit;background:transparent;border:0;min-height:44px;cursor:pointer}.r26-chrome p{margin:0;overflow-wrap:anywhere}
.r26-header{position:relative;z-index:30;padding:var(--chrome-header-padding) var(--chrome-header-inline)}
.r26-header[data-position=sticky]{position:sticky;top:0;box-shadow:0 1px 0 color-mix(in srgb,currentColor 20%,transparent)}
.r26-header__inner{max-width:var(--r26-content-width,1280px);margin:auto;display:flex;align-items:center;gap:32px;min-width:0}
.r26-header__identity{flex:0 1 auto;min-width:0;max-width:40%}.r26-brand{display:inline-flex;align-items:center;min-height:44px;font-family:var(--r26-display-font,inherit);font-size:var(--chrome-brand-size,28px);line-height:1.25;font-weight:600;letter-spacing:-.04em;max-width:100%;overflow-wrap:anywhere}.r26-brand img{display:block;width:var(--chrome-logo-width,180px);max-width:100%;height:auto;max-height:96px;object-fit:contain;object-position:left}
.r26-brand-note{max-width:36em;font-size:13px;line-height:1.6;color:var(--chrome-muted);margin-top:6px!important}
.r26-desktop-nav{margin-left:auto;min-width:0;flex:1 1 0}.r26-desktop-nav ul{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px var(--chrome-nav-gap,24px)}
.r26-desktop-nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:var(--chrome-nav-size,14px);line-height:1.5;overflow-wrap:anywhere}.r26-nav-index{display:none}
.r26-header[data-mark=underline] a[aria-current=page]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
.r26-header[data-mark=dot] a[aria-current=page]::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.r26-header[data-mark=weight] a[aria-current=page]{font-weight:800}
.r26-chrome-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding:10px 0;border-bottom:1px solid currentColor;font-size:var(--chrome-nav-size,14px);line-height:1.5;overflow-wrap:anywhere}
.r26-header__action{flex:0 1 180px}.r26-menu-toggle{display:none!important;align-items:center;gap:12px;white-space:nowrap;margin-left:auto;padding:8px 0}.r26-menu-icon{width:22px;height:10px;border-top:1px solid;border-bottom:1px solid;display:inline-block}
.r26-header[data-layout=centered] .r26-header__inner{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px}.r26-header[data-layout=centered] .r26-header__identity{max-width:100%;text-align:center}.r26-header[data-layout=centered] .r26-desktop-nav{margin:auto}.r26-header[data-layout=centered] .r26-desktop-nav ul{justify-content:center}
.r26-header[data-layout=stacked] .r26-header__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 32px}.r26-header[data-layout=stacked] .r26-desktop-nav{grid-column:1/-1;width:100%;margin:0}.r26-header[data-layout=stacked] .r26-desktop-nav ul{justify-content:flex-start}.r26-header[data-layout=stacked] .r26-header__action{grid-column:2;grid-row:1}
.r26-header[data-layout=editorial] .r26-header__inner{align-items:flex-start}.r26-header[data-layout=editorial] .r26-desktop-nav{padding-top:3px}.r26-header[data-layout=editorial] .r26-header__identity{flex-basis:28%}
/* Each identity has a deliberate navigation rhythm without wrapping links in tiles. */
.r26-header[data-theme=professional-services] .r26-brand{font-weight:500}.r26-header[data-theme=professional-services] .r26-header__action{font-family:var(--r26-display-font,serif);font-style:italic}
.r26-header[data-theme=atelier-ledger] .r26-header__identity{flex-basis:40%}.r26-header[data-theme=atelier-ledger] .r26-brand{letter-spacing:.04em}.r26-header[data-theme=atelier-ledger] .r26-desktop-nav ul{gap:4px calc(var(--chrome-nav-gap)*1.3)}
.r26-header[data-theme=field-notes] .r26-header__identity{flex-basis:32%}.r26-header[data-theme=field-notes] .r26-desktop-nav ul{justify-content:flex-start}.r26-header[data-theme=field-notes] .r26-brand{font-weight:750}
.r26-header[data-theme=prism-index] .r26-brand{font-weight:750;letter-spacing:-.065em}.r26-header[data-theme=prism-index] .r26-header__identity{max-width:26%}.r26-header[data-theme=prism-index] .r26-desktop-nav a{align-items:flex-start;padding-top:10px}.r26-header[data-theme=prism-index] .r26-nav-index{display:inline;font-size:9px;font-variant-numeric:tabular-nums}
.r26-header[data-theme=ribbon-parlour] .r26-brand{letter-spacing:.1em;font-weight:500}.r26-header[data-theme=ribbon-parlour] .r26-desktop-nav ul{justify-content:center}.r26-header[data-theme=ribbon-parlour] .r26-header__action{border-radius:0 0 50% 0;padding-bottom:14px}
.r26-header[data-theme=canopy-living] .r26-header__identity{flex-basis:30%}.r26-header[data-theme=canopy-living] .r26-brand{font-weight:500;letter-spacing:.025em}.r26-header[data-theme=canopy-living] .r26-desktop-nav a{font-weight:500}
.r26-header[data-theme=ember-table] .r26-brand{letter-spacing:.12em;font-weight:500}.r26-header[data-theme=ember-table] .r26-desktop-nav ul{justify-content:center}.r26-header[data-theme=ember-table] .r26-header__identity{flex-basis:27%}
.r26-header[data-theme=forma-supply] .r26-header__inner{column-gap:64px}.r26-header[data-theme=forma-supply] .r26-brand{font-family:var(--r26-body-font,sans-serif);font-weight:750}.r26-header[data-theme=forma-supply] .r26-desktop-nav ul{justify-content:flex-start}
.r26-header[data-theme=section-house] .r26-header__identity{flex-basis:42%}.r26-header[data-theme=section-house] .r26-brand{letter-spacing:.08em;font-weight:400}.r26-header[data-theme=section-house] .r26-brand-note{max-width:24em}
.r26-header[data-theme=vector-meridian] .r26-header__identity{flex-basis:28%}.r26-header[data-theme=vector-meridian] .r26-header__inner{align-items:baseline}.r26-header[data-theme=vector-meridian] .r26-desktop-nav ul{justify-content:flex-start}.r26-header[data-theme=vector-meridian] .r26-brand{font-family:var(--r26-display-font,serif);font-weight:500;font-style:normal}
/* Modal navigation has its own background; native dialog supplies focus containment. */
.r26-menu{color:var(--chrome-ink);background:var(--chrome-bg);border:0;padding:24px;width:min(680px,100%);max-width:100%;max-height:100dvh;margin:0 0 0 auto;overflow:auto}.r26-menu:not([open]){display:none}.r26-menu::backdrop{background:rgb(0 0 0 / .55)}
.r26-menu[data-mode=fullscreen]{width:100%;height:100dvh;max-width:none}.r26-menu__top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:40px}.r26-menu__top .r26-brand{max-width:70%}.r26-menu__top button{flex-shrink:0}.r26-menu nav a{display:flex;align-items:baseline;gap:24px;min-height:56px;padding:10px 0;font-size:clamp(22px,4vw,38px);line-height:1.4}.r26-menu .r26-nav-index{display:block;font-size:12px;color:var(--chrome-muted);min-width:20px}.r26-menu .r26-chrome-action{margin-top:24px}.r26-menu .r26-brand-note{margin-top:32px!important}
/* Footer recipes are extensions of the original theme direction, not copies of legacy chrome. */
.r26-footer{padding:var(--chrome-footer-padding-top) var(--chrome-footer-inline) var(--chrome-footer-padding-bottom)}
/* 第 4 階段 A：頁面有右下浮動按鈕（回到頂部、浮動聯絡）時，頁尾最後一行不被蓋住（同 default、atelier-ledger 的 80px） */
body:has([data-float-stack]) .r26-footer{padding-bottom:max(var(--chrome-footer-padding-bottom),80px)}
/* C6（2026-10-14）：電話鈕與回到頂端用設計設定的主要按鈕色＋按鈕文字色（暗色模式跟著設計設定的暗色配色）；LINE／Messenger 保留品牌色 */
body .r26-float-stack :is(.back-to-top,.float-cta__btn--phone){background:var(--color-primary);color:var(--r26-on-action,#fff);border:1px solid var(--color-primary)}
body .r26-float-stack :is(.back-to-top,.float-cta__btn--phone):hover{background:var(--color-primary-hover,var(--color-primary));color:var(--r26-on-action-hover,var(--r26-on-action,#fff))}
/* 共用修正批次 C（2026-11-01）：浮動鈕會疊在任何底色上（含深色頁尾），聚焦外框改雙色：外圈文字色、內圈頁面底色，兩色彼此對比 ≥4.5:1，任何底色上都看得到 */
body .r26-float-stack :is(.back-to-top,.float-cta__btn):focus-visible{outline:2px solid var(--color-text);outline-offset:3px;box-shadow:0 0 0 3px var(--color-bg)}
/* 電話鈕顯示裝置（網站設定「電話按鈕顯示在」；界線同可視化編輯器：手機 <768、平板 768–1023、電腦 ≥1024） */
@media (width >= 768px){.r26-float-stack [data-float-devices=mobile]{display:none}}
@media (width >= 1024px){.r26-float-stack [data-float-devices=mobile_tablet]{display:none}}
.r26-footer__inner{max-width:var(--r26-content-width,1280px);margin:auto;display:grid;gap:var(--chrome-footer-gap,48px);min-width:0}.r26-footer__invitation{min-width:0}.r26-footer__title{font-family:var(--r26-display-font,inherit);font-size:clamp(28px,5vw,var(--chrome-footer-title-size,64px));font-weight:500;line-height:1.2;letter-spacing:-.035em;max-width:17ch;text-wrap:balance}.r26-footer__note{max-width:42em;line-height:1.8;margin-top:24px!important;color:var(--chrome-muted)}
.r26-footer__action{display:inline-flex;align-items:center;gap:40px;min-height:48px;margin-top:32px;font-size:18px;line-height:1.5;border-bottom:1px solid;padding-block:8px}.r26-footer__action span{font-size:28px}
.r26-footer__directory{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.6fr);gap:var(--chrome-footer-gap,48px);align-items:start}.r26-footer__brand{font-family:var(--r26-display-font,inherit);font-size:24px;line-height:1.4;overflow-wrap:anywhere}.r26-footer__label{font-size:12px;letter-spacing:.12em;margin-bottom:16px!important;color:var(--chrome-muted)}.r26-footer nav ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(var(--r26-footer-link-min,64px),calc((100% - (var(--chrome-footer-columns,2) - 1) * var(--r26-footer-link-gap,24px)) / var(--chrome-footer-columns,2) - .5px))),1fr));column-gap:var(--r26-footer-link-gap,24px)}.r26-footer li a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5;padding-block:8px;overflow-wrap:anywhere;font-size:14px}
.r26-footer__base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;font-size:12px;line-height:1.8;color:var(--chrome-muted);padding-top:24px;border-top:1px solid color-mix(in srgb,currentColor 25%,transparent)}
.r26-footer[data-layout=split] .r26-footer__inner{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:10%}.r26-footer[data-layout=split] .r26-footer__directory{grid-template-columns:1fr}.r26-footer[data-layout=split] .r26-footer__base{grid-column:1/-1}
.r26-footer[data-layout=centered] .r26-footer__invitation{text-align:center}.r26-footer[data-layout=centered] :is(.r26-footer__title,.r26-footer__note){margin-inline:auto}.r26-footer[data-layout=centered] .r26-footer__directory{margin-top:32px}
.r26-footer[data-layout=directory] .r26-footer__inner{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.r26-footer[data-layout=directory] .r26-footer__directory{grid-template-columns:1fr 1fr}.r26-footer[data-layout=directory] .r26-footer__brand{grid-column:1/-1}.r26-footer[data-layout=directory] .r26-footer__base{grid-column:1/-1}
.r26-footer[data-theme=default] .r26-footer__invitation{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:32px 12%;align-items:end}.r26-footer[data-theme=default] .r26-footer__action{justify-self:start;align-self:end}
.r26-footer[data-theme=professional-services] .r26-footer__title{font-style:normal;font-weight:400}.r26-footer[data-theme=professional-services] .r26-footer__directory{padding-top:12px}.r26-footer[data-theme=professional-services] .r26-footer__action{font-family:var(--r26-display-font,serif)}
.r26-footer[data-theme=atelier-ledger] .r26-footer__inner{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}.r26-footer[data-theme=atelier-ledger] .r26-footer__directory{grid-template-columns:1fr 1fr}.r26-footer[data-theme=atelier-ledger] .r26-footer__brand{grid-column:1/-1}.r26-footer[data-theme=atelier-ledger] .r26-footer__title{font-size:clamp(28px,3.5vw,var(--chrome-footer-title-size));line-height:1.5}
.r26-footer[data-theme=field-notes] .r26-footer__invitation{display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:48px}.r26-footer[data-theme=field-notes] .r26-footer__action{justify-self:start}.r26-footer[data-theme=field-notes] .r26-footer__title{font-weight:750;max-width:13ch}.r26-footer[data-theme=field-notes] .r26-footer__directory{padding-left:24%}
.r26-footer[data-theme=prism-index] .r26-footer__title{max-width:20ch;font-size:clamp(36px,7vw,var(--chrome-footer-title-size));font-weight:750;letter-spacing:-.07em}.r26-footer[data-theme=prism-index] .r26-footer__action{font-size:24px}.r26-footer[data-theme=prism-index]:not([data-layout=split]) .r26-footer__directory{grid-template-columns:1fr 1.5fr .5fr}
.r26-footer[data-theme=ribbon-parlour] .r26-footer__title{line-height:1.45;font-weight:400;letter-spacing:.025em}.r26-footer[data-theme=ribbon-parlour] .r26-footer__action{border-radius:0 0 48% 0;padding:12px 16px 20px 0}.r26-footer[data-theme=ribbon-parlour] .r26-footer__directory{gap:32px}
.r26-footer[data-theme=canopy-living] .r26-footer__inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.r26-footer[data-theme=canopy-living] .r26-footer__title{line-height:1.35;max-width:12ch}.r26-footer[data-theme=canopy-living] .r26-footer__directory{padding-top:48px}
.r26-footer[data-theme=ember-table] .r26-footer__title{font-weight:400;letter-spacing:.025em}.r26-footer[data-theme=ember-table] .r26-footer__directory{margin-top:64px}.r26-footer[data-theme=ember-table]:not([data-layout=split]) .r26-footer__directory{grid-template-columns:1.4fr 1fr .6fr}.r26-footer[data-theme=ember-table] .r26-footer__action{font-family:var(--r26-display-font,serif)}
.r26-footer[data-theme=forma-supply] .r26-footer__title{font-family:var(--r26-body-font,sans-serif);font-size:clamp(28px,3vw,var(--chrome-footer-title-size));font-weight:650;max-width:10ch}.r26-footer[data-theme=forma-supply] .r26-footer__directory{column-gap:24px}.r26-footer[data-theme=forma-supply] .r26-footer__brand{font-family:var(--r26-body-font,sans-serif);font-weight:750}
.r26-footer[data-theme=section-house] .r26-footer__inner{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:var(--chrome-footer-gap)}.r26-footer[data-theme=section-house] .r26-footer__title{font-size:clamp(26px,3vw,var(--chrome-footer-title-size));line-height:1.5;font-weight:400}.r26-footer[data-theme=section-house] .r26-footer__directory{grid-template-columns:1fr 1fr}.r26-footer[data-theme=section-house] .r26-footer__base{border-top:0}
.r26-footer[data-theme=vector-meridian] .r26-footer__inner{grid-template-columns:1.2fr 1fr;column-gap:12%}.r26-footer[data-theme=vector-meridian] .r26-footer__title{font-family:var(--r26-display-font,serif);font-weight:var(--r26-heading-weight,500);max-width:12ch}.r26-footer[data-theme=vector-meridian] .r26-footer__directory{padding-top:24px}.r26-footer[data-theme=vector-meridian] .r26-footer__action{gap:64px}
/* 頁尾造訪／聯絡欄（2026-11-15，後台「頁尾造訪與聯絡欄」選顯示時頁尾帶 data-footer-contact-columns；預設不顯示，其他頁尾不受影響）：
   邀請區併入目錄第一欄（品牌欄），目錄滿版、依欄寬自動排；主題可另外指定欄寬。 */
.r26-footer[data-footer-contact-columns] .r26-footer__inner{grid-template-columns:minmax(0,1fr)}.r26-footer[data-footer-contact-columns] .r26-footer__directory[data-footer-contact-columns]{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.r26-footer__lead,.r26-footer__visit,.r26-footer__contact{min-width:0}.r26-footer__text{margin:0}.r26-footer__lead .r26-footer__title{font-size:inherit;line-height:inherit}
/* 導覽收合寬度（共用修正批次 E，2026-11-01）：後台「導覽收進選單按鈕的寬度」預設 1100px（頁首沒有 data-nav-collapse，規則與原本相同）；
   選 900px 時頁首輸出 data-nav-collapse="900"，下列頁首規則改在 900px 以下生效（電腦版在 901px 以上）；
   選 767px 時輸出 data-nav-collapse="767"（2026-11-15），同一組規則改在 767px 以下生效（電腦版在 768px 以上）。
   限定條件都包在 :where() 裡，權重與原本相同，主題覆寫照舊。頁尾左右內距不跟著變，仍是 1100px 以下。 */
@media(max-width:1100px){.r26-footer{padding-inline:min(var(--chrome-footer-inline),24px)}}
/* 頁尾窄欄（共用修正批第 2 項 S2，2026-11-14）：1100px 以下 canopy-living 的置中標語、置中外框目錄改兩欄；default、field-notes 的左右分欄、目錄外框邀請區不分欄（同 767px 以下），避免連結與標題被擠成每行一兩個字 */
@media(max-width:1100px){.r26-footer[data-theme=canopy-living]:is([data-layout=statement],[data-layout=centered]) .r26-footer__directory{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.r26-footer:is([data-theme=default],[data-theme=field-notes]):is([data-layout=split],[data-layout=directory]) .r26-footer__invitation{display:block}}
/* 頁尾連結觸控範圍：文字位置與間距不變，透明 ::before 往外擴到至少 44×44（含造訪／聯絡欄的電子郵件、電話）；品牌名只往上下擴。斷成多行時平均分行 */
html body .r26-footer :is(li a,.r26-footer__compact a,.r26-footer__text a,a.r26-footer__brand){position:relative}html body .r26-footer :is(li a,.r26-footer__compact a,.r26-footer__text a)::before{content:"";position:absolute;inset-block:min(0px,calc(50% - 22px));left:50%;width:max(100%,44px);transform:translateX(-50%)}html body .r26-footer a.r26-footer__brand::before{content:"";position:absolute;inset-inline:0;top:50%;height:max(100%,44px);transform:translateY(-50%)}html body .r26-footer :is(li a,.r26-footer__brand){text-wrap:balance}
@media(max-width:1100px){
 .r26-header:where(:not([data-nav-collapse])){padding-inline:min(var(--chrome-header-inline),24px)}.r26-header:where(:not([data-nav-collapse])) .r26-header__inner{display:flex!important;align-items:center;gap:20px}.r26-header:where(:not([data-nav-collapse])) .r26-header__identity{max-width:75%;flex:1 1 auto!important;text-align:left!important}.r26-header:where(:not([data-nav-collapse])) .r26-brand{font-size:min(var(--chrome-brand-size),28px)}.r26-header:where(:not([data-nav-collapse])) .r26-brand img{max-height:64px}.r26-header:where(:not([data-nav-collapse])) .r26-brand-note{font-size:12px}.r26-header:where(:not([data-nav-collapse])) .r26-header__action{display:none}
 .js :where(.r26-header:not([data-nav-collapse])) .r26-desktop-nav{display:none}.js :where(.r26-header:not([data-nav-collapse])) .r26-menu-toggle{display:flex!important}
 html:not(.js) :where(.r26-header:not([data-nav-collapse])) .r26-header__inner{flex-wrap:wrap}.r26-header:where(:not([data-nav-collapse])) .r26-desktop-nav{flex-basis:100%;margin:0}.r26-header:where(:not([data-nav-collapse])) .r26-desktop-nav ul{justify-content:flex-start!important}
}
@media(max-width:900px){
 .r26-header:where([data-nav-collapse="900"]){padding-inline:min(var(--chrome-header-inline),24px)}.r26-header:where([data-nav-collapse="900"]) .r26-header__inner{display:flex!important;align-items:center;gap:20px}.r26-header:where([data-nav-collapse="900"]) .r26-header__identity{max-width:75%;flex:1 1 auto!important;text-align:left!important}.r26-header:where([data-nav-collapse="900"]) .r26-brand{font-size:min(var(--chrome-brand-size),28px)}.r26-header:where([data-nav-collapse="900"]) .r26-brand img{max-height:64px}.r26-header:where([data-nav-collapse="900"]) .r26-brand-note{font-size:12px}.r26-header:where([data-nav-collapse="900"]) .r26-header__action{display:none}
 .js :where(.r26-header[data-nav-collapse="900"]) .r26-desktop-nav{display:none}.js :where(.r26-header[data-nav-collapse="900"]) .r26-menu-toggle{display:flex!important}
 html:not(.js) :where(.r26-header[data-nav-collapse="900"]) .r26-header__inner{flex-wrap:wrap}.r26-header:where([data-nav-collapse="900"]) .r26-desktop-nav{flex-basis:100%;margin:0}.r26-header:where([data-nav-collapse="900"]) .r26-desktop-nav ul{justify-content:flex-start!important}
}
@media(max-width:767px){
 .r26-header:where([data-nav-collapse="767"]){padding-inline:min(var(--chrome-header-inline),24px)}.r26-header:where([data-nav-collapse="767"]) .r26-header__inner{display:flex!important;align-items:center;gap:20px}.r26-header:where([data-nav-collapse="767"]) .r26-header__identity{max-width:75%;flex:1 1 auto!important;text-align:left!important}.r26-header:where([data-nav-collapse="767"]) .r26-brand{font-size:min(var(--chrome-brand-size),28px)}.r26-header:where([data-nav-collapse="767"]) .r26-brand img{max-height:64px}.r26-header:where([data-nav-collapse="767"]) .r26-brand-note{font-size:12px}.r26-header:where([data-nav-collapse="767"]) .r26-header__action{display:none}
 .js :where(.r26-header[data-nav-collapse="767"]) .r26-desktop-nav{display:none}.js :where(.r26-header[data-nav-collapse="767"]) .r26-menu-toggle{display:flex!important}
 html:not(.js) :where(.r26-header[data-nav-collapse="767"]) .r26-header__inner{flex-wrap:wrap}.r26-header:where([data-nav-collapse="767"]) .r26-desktop-nav{flex-basis:100%;margin:0}.r26-header:where([data-nav-collapse="767"]) .r26-desktop-nav ul{justify-content:flex-start!important}
}
@media(max-width:767px){
 .r26-header{padding-inline:min(var(--chrome-header-inline),20px)}
 .r26-footer{padding-inline:min(var(--chrome-footer-inline),20px);padding-top:min(var(--chrome-footer-padding-top),var(--r26-footer-padding-top-mobile-max,64px))}
 .r26-footer .r26-footer__inner{grid-template-columns:1fr!important;gap:min(var(--chrome-footer-gap),40px)}.r26-footer .r26-footer__invitation{display:block!important}.r26-footer .r26-footer__title{font-size:clamp(26px,8vw,min(var(--chrome-footer-title-size),48px))!important;max-width:18ch}.r26-footer .r26-footer__directory{grid-template-columns:minmax(0,1fr)!important;gap:28px;padding:0!important;margin-top:0!important}.r26-footer .r26-footer__base{grid-column:1!important;padding-top:20px}.r26-footer nav ul{grid-template-columns:repeat(2,minmax(0,1fr))}.r26-footer .r26-footer__action{font-size:18px;margin-top:24px}.r26-header .r26-brand-note{display:none}.r26-menu{padding:20px}.r26-menu .r26-brand-note{display:block}.r26-header .r26-header__inner{border-bottom:0;padding-bottom:0}
}
@media(prefers-reduced-motion:no-preference){.r26-chrome a{transition:text-decoration-color .18s}.r26-menu[open]{animation:r26-menu-in .18s ease-out}@keyframes r26-menu-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}}

/* Both images remain CMS media references; CSS follows the explicit public mode. */
.r26-brand .r26-logo-dark { display:none; }
body[data-public-color-mode=dark] .r26-brand:has(.r26-logo-dark) .r26-logo-light { display:none; }
body[data-public-color-mode=dark] .r26-brand .r26-logo-dark { display:block; }
@media(prefers-color-scheme:dark){
 body[data-public-color-mode=auto] .r26-brand:has(.r26-logo-dark) .r26-logo-light { display:none; }
 body[data-public-color-mode=auto] .r26-brand .r26-logo-dark { display:block; }
}

@media(max-width:479px){.r26-header[data-theme=vector-meridian] .r26-brand{font-size:min(var(--chrome-brand-size),22px)}}

/* Keep dialog keyboard focus legible against its own CMS chrome palette. */
html body .r26-menu :is(a,button):focus-visible{outline:3px solid var(--chrome-ink);outline-offset:5px}

.r26-brand-mark{display:inline-block;flex-shrink:0;font-size:1.5em;line-height:1;margin-inline-end:.45em;color:var(--color-primary)}

.r26-brand:has(.r26-brand-copy){display:inline-grid;grid-template-columns:auto minmax(0,1fr);width:max-content;max-width:100%}

.r26-brand-copy{display:block;min-width:0}
.r26-brand-tagline{display:block;font:700 10px/1.5 var(--r26-body-font,sans-serif);letter-spacing:.1em;margin-top:4px;color:var(--chrome-muted)}
.r26-header__identity:has(.r26-brand-copy)>.r26-brand-note,.r26-menu:has(.r26-brand-copy)>.r26-brand-note{display:none}

.r26-header__identity:has(.r26-brand-copy){width:calc(var(--chrome-brand-size,22px) * 12)}
.r26-header .r26-brand:has(.r26-brand-copy){width:100%}
.r26-brand-tagline{letter-spacing:.04em;text-wrap:balance}
/* 頁首品牌名稱長名稱規則（第 3 批，2026-10-15；與會員登入標誌共用 core/BrandWordmark.php）：
   伺服器把名稱切成「中文段／英文詞組」，每段是 inline-block（不在段內換行，只有一段比整行還寬時才在段內斷），段與段之間留空白或 <wbr>；
   名稱的欄寬由版面決定（min-width:0、最大行寬 --r26-brand-measure 個品牌字寬），所以長名稱只會在欄內換行，不撐寬頁面、不蓋到選單按鈕。
   最多兩行：伺服器估算後輸出 data-brand-fit（768px 以上）／data-brand-fit-narrow（767px 以下），依階梯縮小字級；倍數須與 BrandWordmark::HEADER_SCALES 一致。
   small～small-5（HEADER_FORCE_SCALES）只在一長串沒有空白的名稱強制斷行、min 仍超過兩行時使用，伺服器只挑不低於 12px 的階梯 */
.r26-header{--r26-brand-measure:12;--r26-brand-scale-2:.86;--r26-brand-scale-3:.74;--r26-brand-scale-min:.64;--r26-brand-scale-small:.6;--r26-brand-scale-small-2:.56;--r26-brand-scale-small-3:.52;--r26-brand-scale-small-4:.48;--r26-brand-scale-small-5:.44}
.r26-brand-name{--r26-brand-scale:1;display:block;min-width:0;max-width:calc(var(--r26-brand-measure) * 1em / var(--r26-brand-scale));font-size:calc(var(--r26-brand-scale) * 1em)}
.r26-brand-name-part{display:inline-block;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
.r26-chrome a.r26-brand:hover .r26-brand-name-part{text-decoration:underline;text-underline-offset:.3em}
.r26-menu-toggle{flex-shrink:0}
@media(min-width:768px){.r26-brand-name[data-brand-fit=long-2]{--r26-brand-scale:var(--r26-brand-scale-2)}.r26-brand-name[data-brand-fit=long-3]{--r26-brand-scale:var(--r26-brand-scale-3)}.r26-brand-name[data-brand-fit=min]{--r26-brand-scale:var(--r26-brand-scale-min)}.r26-brand-name[data-brand-fit=small]{--r26-brand-scale:var(--r26-brand-scale-small)}.r26-brand-name[data-brand-fit=small-2]{--r26-brand-scale:var(--r26-brand-scale-small-2)}.r26-brand-name[data-brand-fit=small-3]{--r26-brand-scale:var(--r26-brand-scale-small-3)}.r26-brand-name[data-brand-fit=small-4]{--r26-brand-scale:var(--r26-brand-scale-small-4)}.r26-brand-name[data-brand-fit=small-5]{--r26-brand-scale:var(--r26-brand-scale-small-5)}}
@media(max-width:767px){.r26-brand-name[data-brand-fit-narrow=long-2]{--r26-brand-scale:var(--r26-brand-scale-2)}.r26-brand-name[data-brand-fit-narrow=long-3]{--r26-brand-scale:var(--r26-brand-scale-3)}.r26-brand-name[data-brand-fit-narrow=min]{--r26-brand-scale:var(--r26-brand-scale-min)}.r26-brand-name[data-brand-fit-narrow=small]{--r26-brand-scale:var(--r26-brand-scale-small)}.r26-brand-name[data-brand-fit-narrow=small-2]{--r26-brand-scale:var(--r26-brand-scale-small-2)}.r26-brand-name[data-brand-fit-narrow=small-3]{--r26-brand-scale:var(--r26-brand-scale-small-3)}.r26-brand-name[data-brand-fit-narrow=small-4]{--r26-brand-scale:var(--r26-brand-scale-small-4)}.r26-brand-name[data-brand-fit-narrow=small-5]{--r26-brand-scale:var(--r26-brand-scale-small-5)}}
/* 手機選單「清單」樣式（mobile_menu=list；X24 2026-10-11，依 airform／miel 原稿 navigation 390）：
   選單展開在頁首下方（頁首品牌、副標、「選單」鈕保留可用），每列粗體連結＋→＋分隔線、沒有序號，
   「關閉選單 ×」在清單後方（頁面結構中也在最後，焦點順序與畫面一致）。關閉鈕圓角由主題以 --r26-menu-close-radius 指定 */
.r26-menu[data-mode=list]{position:fixed;inset:var(--r26-menu-top,0px) 0 0 0;z-index:60;width:100%;max-width:none;height:auto;max-height:none;margin:0;padding:8px min(var(--chrome-header-inline),24px) 40px;overflow:auto}
.r26-menu[data-mode=list] .r26-menu__list{list-style:none;margin:0;padding:0}
.r26-menu[data-mode=list] .r26-menu__list a{display:flex;align-items:center;gap:32px;min-height:60px;padding:14px 0;border-bottom:1px solid var(--chrome-ink);font-size:16px;font-weight:700;line-height:1.5;text-decoration:none}
.r26-menu[data-mode=list] .r26-menu__list a[aria-current="page"]{text-decoration:underline;text-underline-offset:.3em}
.r26-menu[data-mode=list] .r26-menu__arrow{font-weight:400}
.r26-menu[data-mode=list] .r26-menu__close{display:inline-flex;align-items:center;gap:8px;min-height:48px;margin-top:24px;padding:12px 22px;border:1px solid var(--chrome-ink);border-radius:var(--r26-menu-close-radius,0);background:transparent;color:var(--chrome-ink);font:inherit;font-weight:700;cursor:pointer}
@media(max-width:767px){.r26-menu[data-mode=list]{padding-inline:min(var(--chrome-header-inline),20px)}.r26-header:has(.r26-menu[data-mode=list]) .r26-header__identity>.r26-brand-note{display:block}}
/* 頁尾「精簡單列」（footer_layout=compact；X23／Miel M02 2026-10-11）：置中品牌句＋副句，分隔線下一列「落款＋頁尾連結」，製作單位另起一行 */
.r26-footer[data-layout=compact] .r26-footer__invitation{text-align:center}
.r26-footer[data-layout=compact] :is(.r26-footer__title,.r26-footer__note){margin-inline:auto}
.r26-footer[data-layout=compact] .r26-footer__compact{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 24px;padding-top:24px;border-top:1px solid color-mix(in srgb,currentColor 25%,transparent);font-size:13px;line-height:1.8}
.r26-footer[data-layout=compact] .r26-footer__compact ul{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;list-style:none;margin:0;padding:0}
.r26-footer[data-layout=compact] .r26-footer__compact a{display:inline-flex;align-items:center;min-height:44px}
.r26-footer[data-layout=compact] .r26-footer__credit{flex-basis:100%;text-align:center;font-size:12px;color:var(--chrome-muted)}

/* 頁首疊在主視覺上（core/HeaderOverlay.php；預設關閉，沒有 data-header-over 時以下規則都不生效）。
   只在第一個區塊是滿版圖片主視覺（data-header-over-hero）且有 JS 時疊上去。伺服器依照片對比在主視覺上列出能疊的
   「系統亮暗偏好-寬度」組合（light-desktop light-mobile dark-desktop dark-mobile），不在清單裡的組合照常顯示一般頁首；
   系統偏好深色時改用 --header-over-text-dark／--header-over-scrim-dark（網站固定亮色或深色時伺服器兩組輸出相同的值）。
   沒有 JS 或瀏覽器不支援 :has() 時照常顯示一般頁首。
   置頂頁首捲動超過 40px 後 JS 加上 .is-header-solid，換回頁首原本的底色與文字色（位置不變，避免版面跳動）。 */
.r26-brand .r26-logo-over{display:none}
@media(max-width:767px) and (prefers-color-scheme:light){
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over]{position:absolute;inset:0 0 auto;width:100%;isolation:isolate}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-position=sticky]{position:fixed}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid){--chrome-ink:var(--header-over-text);--chrome-muted:var(--header-over-text);color:var(--header-over-text);background:transparent;box-shadow:none}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid):not([data-header-over=none])::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--header-over-scrim)}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-header-over=gradient]:not(.is-header-solid)::before{bottom:-60px;background:linear-gradient(to bottom,var(--header-over-scrim) 0 calc(100% - 60px),transparent)}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid) .r26-header__identity .r26-brand:has(.r26-logo-over) :is(.r26-logo-light,.r26-logo-dark){display:none}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid) .r26-header__identity .r26-logo-over{display:block}
 html.js body:has(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-tagline-over=hide]:not(.is-header-solid) .r26-header__identity :is(.r26-brand-note,.r26-brand-tagline){display:none}
 html.js body:has(.r26-header[data-header-over-mobile=over]) :is(main > [data-header-over-hero~=light-mobile]:first-child, main > :first-child > [data-header-over-hero~=light-mobile]:first-child){padding-top:calc(var(--r26-padding-top,var(--hero-space)) + var(--header-over-height,0px))}
}
@media(min-width:768px) and (prefers-color-scheme:light){
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over]{position:absolute;inset:0 0 auto;width:100%;isolation:isolate}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over][data-position=sticky]{position:fixed}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid){--chrome-ink:var(--header-over-text);--chrome-muted:var(--header-over-text);color:var(--header-over-text);background:transparent;box-shadow:none}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid):not([data-header-over=none])::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--header-over-scrim)}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over][data-header-over=gradient]:not(.is-header-solid)::before{bottom:-60px;background:linear-gradient(to bottom,var(--header-over-scrim) 0 calc(100% - 60px),transparent)}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid) .r26-header__identity .r26-brand:has(.r26-logo-over) :is(.r26-logo-light,.r26-logo-dark){display:none}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid) .r26-header__identity .r26-logo-over{display:block}
 html.js body:has(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child) .r26-header[data-header-over][data-tagline-over=hide]:not(.is-header-solid) .r26-header__identity :is(.r26-brand-note,.r26-brand-tagline){display:none}
 html.js body:has(.r26-header[data-header-over]) :is(main > [data-header-over-hero~=light-desktop]:first-child, main > :first-child > [data-header-over-hero~=light-desktop]:first-child){padding-top:calc(var(--r26-padding-top,var(--hero-space)) + var(--header-over-height,0px))}
}
@media(max-width:767px) and (prefers-color-scheme:dark){
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over]{position:absolute;inset:0 0 auto;width:100%;isolation:isolate}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-position=sticky]{position:fixed}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid){--chrome-ink:var(--header-over-text-dark);--chrome-muted:var(--header-over-text-dark);color:var(--header-over-text-dark);background:transparent;box-shadow:none}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid):not([data-header-over=none])::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--header-over-scrim-dark)}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-header-over=gradient]:not(.is-header-solid)::before{bottom:-60px;background:linear-gradient(to bottom,var(--header-over-scrim-dark) 0 calc(100% - 60px),transparent)}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid) .r26-header__identity .r26-brand:has(.r26-logo-over) :is(.r26-logo-light,.r26-logo-dark){display:none}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over]:not(.is-header-solid) .r26-header__identity .r26-logo-over{display:block}
 html.js body:has(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child) .r26-header[data-header-over-mobile=over][data-tagline-over=hide]:not(.is-header-solid) .r26-header__identity :is(.r26-brand-note,.r26-brand-tagline){display:none}
 html.js body:has(.r26-header[data-header-over-mobile=over]) :is(main > [data-header-over-hero~=dark-mobile]:first-child, main > :first-child > [data-header-over-hero~=dark-mobile]:first-child){padding-top:calc(var(--r26-padding-top,var(--hero-space)) + var(--header-over-height,0px))}
}
@media(min-width:768px) and (prefers-color-scheme:dark){
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over]{position:absolute;inset:0 0 auto;width:100%;isolation:isolate}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over][data-position=sticky]{position:fixed}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid){--chrome-ink:var(--header-over-text-dark);--chrome-muted:var(--header-over-text-dark);color:var(--header-over-text-dark);background:transparent;box-shadow:none}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid):not([data-header-over=none])::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--header-over-scrim-dark)}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over][data-header-over=gradient]:not(.is-header-solid)::before{bottom:-60px;background:linear-gradient(to bottom,var(--header-over-scrim-dark) 0 calc(100% - 60px),transparent)}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid) .r26-header__identity .r26-brand:has(.r26-logo-over) :is(.r26-logo-light,.r26-logo-dark){display:none}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over]:not(.is-header-solid) .r26-header__identity .r26-logo-over{display:block}
 html.js body:has(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child) .r26-header[data-header-over][data-tagline-over=hide]:not(.is-header-solid) .r26-header__identity :is(.r26-brand-note,.r26-brand-tagline){display:none}
 html.js body:has(.r26-header[data-header-over]) :is(main > [data-header-over-hero~=dark-desktop]:first-child, main > :first-child > [data-header-over-hero~=dark-desktop]:first-child){padding-top:calc(var(--r26-padding-top,var(--hero-space)) + var(--header-over-height,0px))}
}
@media(prefers-reduced-motion:no-preference){.r26-header[data-header-over]{transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}}

/* 頁首高度與單列版型（3-4 B-1，2026-10-16；ThemeRebuildChrome::headerSizing）。屬性只在後台改成非預設值時才輸出，預設頁首完全不受影響。
   data-min-height：頁首至少 --chrome-header-height 高（含上下內距），內容上下置中（不再依文字基線對齊），內容較高時照常撐高；
   品牌連結改為上緣對齊，避免只有 Logo 時行高多出約 9px 的空白。
   data-logo-max：Logo 高度的上限，只縮小、不放大（B-2 修正）：寬度＝min(Logo 最大寬度, 上限 × 圖片寬高比)，高度依比例；
   比上限矮的 Logo 與預設時一樣大。寬高比 --logo-ratio 由 ThemeRebuildChrome::logoRatioStyle 從檔案讀出；導覽收合後（預設寬度 1100px 以下）另不超過 64px（同原本）。
   data-nav-position=after_brand：電腦版導覽靠左接在品牌後面（間距 token），頁首行動入口留在最右；置中、分行構圖不套用。 */
.r26-header[data-min-height]{min-height:var(--chrome-header-height);display:flex;flex-direction:column;justify-content:center}
.r26-header[data-min-height]>.r26-header__inner{width:100%}
.r26-header[data-min-height]:not([data-layout=centered],[data-layout=stacked])>.r26-header__inner{align-items:center}
.r26-header:is([data-min-height],[data-logo-max]) .r26-header__identity>.r26-brand{vertical-align:top}
.r26-header[data-logo-max] .r26-brand img{width:min(var(--chrome-logo-width,180px),calc(var(--chrome-logo-max) * var(--logo-ratio,1000)));max-width:100%;height:auto;max-height:var(--chrome-logo-max)}
@media(max-width:1100px){.r26-header:where(:not([data-nav-collapse]))[data-logo-max] .r26-brand img{width:min(var(--chrome-logo-width,180px),calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio,1000)));max-height:min(var(--chrome-logo-max),64px)}}
@media(max-width:900px){.r26-header:where([data-nav-collapse="900"])[data-logo-max] .r26-brand img{width:min(var(--chrome-logo-width,180px),calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio,1000)));max-height:min(var(--chrome-logo-max),64px)}}
@media(max-width:767px){.r26-header:where([data-nav-collapse="767"])[data-logo-max] .r26-brand img{width:min(var(--chrome-logo-width,180px),calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio,1000)));max-height:min(var(--chrome-logo-max),64px)}}
/* 手機版 Logo 最大高度與品牌名稱字級（B-7，2026-10-18；只在有設定時輸出屬性，預設不變）：寬度 767px 以下，頁首與手機選單同步。
   data-logo-max-mobile：同電腦版規則，只縮小、不放大（不超過原本手機的 64px，主題另外固定的 Logo 框也不放大）。
   data-brand-mobile：字級直接設在名稱上（蓋過主題的手機字級），長名稱縮小的倍數 --r26-brand-scale 照常套用；文字標記同樣是名稱的 1.5 倍。 */
@media(max-width:767px){.r26-header[data-logo-max-mobile] .r26-brand img{width:min(var(--chrome-logo-width,180px),calc(min(var(--chrome-logo-max-mobile),64px) * var(--logo-ratio,1000)));max-height:min(var(--chrome-logo-max-mobile),64px)}.r26-header[data-brand-mobile] .r26-brand-name{font-size:calc(var(--r26-brand-scale) * var(--chrome-brand-size-mobile))}.r26-header[data-brand-mobile] .r26-brand-mark{font-size:calc(1.5 * var(--chrome-brand-size-mobile))}}
@media(min-width:1101px){
 .r26-header:where(:not([data-nav-collapse]))[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-header__identity{flex:0 0 auto;max-width:40%}
 .r26-header:where(:not([data-nav-collapse]))[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav{flex:1 1 auto;margin-left:var(--ds-space-4,16px)}
 .r26-header:where(:not([data-nav-collapse]))[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav ul{justify-content:flex-start}
}
@media(min-width:901px){
 .r26-header:where([data-nav-collapse="900"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-header__identity{flex:0 0 auto;max-width:40%}
 .r26-header:where([data-nav-collapse="900"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav{flex:1 1 auto;margin-left:var(--ds-space-4,16px)}
 .r26-header:where([data-nav-collapse="900"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav ul{justify-content:flex-start}
}
@media(min-width:768px){
 .r26-header:where([data-nav-collapse="767"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-header__identity{flex:0 0 auto;max-width:40%}
 .r26-header:where([data-nav-collapse="767"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav{flex:1 1 auto;margin-left:var(--ds-space-4,16px)}
 .r26-header:where([data-nav-collapse="767"])[data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]) .r26-desktop-nav ul{justify-content:flex-start}
}
/* 品牌名稱依實際品牌欄寬縮字（B-7 修第 1 次，2026-10-18）：只在頁首存過品牌、Logo 或版面相關設定時輸出 data-brand-fluid（ThemeRebuildChrome::brandFluid），
   沒有存過設定的頁首照上方的階梯規則，輸出與畫面不變。
   - 品牌欄寬：電腦版以頁首內容寬（容器查詢，.r26-header__inner）乘上各版型／主題品牌欄的上限比例（--r26-id-w，與上方各規則一致）；
     1100px 以下品牌欄本身是容器（品牌欄寬＝頁首寬扣掉選單按鈕與間距），選單對話框以頂列為容器。選單項目變多、行動入口、Logo 寬度都照實際版面。
   - 名稱字級＝min(主題字級, (品牌欄寬 − Logo／標記) ÷ 名稱兩行所需行寬)，英文單字不拆；字距寬的主題字距改寫在名稱上（em），跟著縮；連 12px 都放不下時才拆英文單字，字級不小於 12px。
   - Logo＋名稱：圖框寬＝min(Logo 最大寬度, 當下高度上限 × 寬高比, 品牌欄一半)，圖片依比例、不留空白圖框；高度上限：電腦 96px 或電腦版 Logo 最大高度，
     1100px 以下不超過 64px，手機另有手機版 Logo 最大高度時用它（同樣不超過 64px）。Miel 的 Logo 框由主題固定（42／30px），照主題。 */
.r26-header[data-brand-fluid] .r26-header__inner{container-type:inline-size}
.r26-header[data-brand-fluid]{--r26-id-w:100cqi;--r26-logo-h:64px}
.r26-header[data-brand-fluid][data-logo-max]{--r26-logo-h:min(var(--chrome-logo-max),64px)}
@media(max-width:1100px){.r26-header:where(:not([data-nav-collapse]))[data-brand-fluid] .r26-header__identity{container-type:inline-size}}
@media(max-width:900px){.r26-header:where([data-nav-collapse="900"])[data-brand-fluid] .r26-header__identity{container-type:inline-size}}
@media(max-width:767px){.r26-header:where([data-nav-collapse="767"])[data-brand-fluid] .r26-header__identity{container-type:inline-size}}
@media(min-width:1101px){
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid]{--r26-id-w:40cqi;--r26-logo-h:96px}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-logo-max]{--r26-logo-h:var(--chrome-logo-max)}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-theme=field-notes]{--r26-id-w:32cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-theme=vector-meridian]{--r26-id-w:28cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-layout=editorial]:not([data-theme=atelier-ledger],[data-theme=section-house],[data-theme=canopy-living],[data-theme=field-notes]){--r26-id-w:28cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-layout=centered]{--r26-id-w:100cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .4)}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-theme=prism-index]{--r26-id-w:26cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-theme=prism-index][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .26)}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-theme=ember-table]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:25cqi}
 .r26-header:where(:not([data-nav-collapse]))[data-brand-fluid][data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:40cqi}
}
@media(min-width:901px){
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid]{--r26-id-w:40cqi;--r26-logo-h:96px}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-logo-max]{--r26-logo-h:var(--chrome-logo-max)}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-theme=field-notes]{--r26-id-w:32cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-theme=vector-meridian]{--r26-id-w:28cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-layout=editorial]:not([data-theme=atelier-ledger],[data-theme=section-house],[data-theme=canopy-living],[data-theme=field-notes]){--r26-id-w:28cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-layout=centered]{--r26-id-w:100cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .4)}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-theme=prism-index]{--r26-id-w:26cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-theme=prism-index][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .26)}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-theme=ember-table]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:25cqi}
 .r26-header:where([data-nav-collapse="900"])[data-brand-fluid][data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:40cqi}
}
@media(min-width:768px){
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid]{--r26-id-w:40cqi;--r26-logo-h:96px}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-logo-max]{--r26-logo-h:var(--chrome-logo-max)}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-theme=field-notes]{--r26-id-w:32cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-theme=vector-meridian]{--r26-id-w:28cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-layout=editorial]:not([data-theme=atelier-ledger],[data-theme=section-house],[data-theme=canopy-living],[data-theme=field-notes]){--r26-id-w:28cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-layout=centered]{--r26-id-w:100cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .4)}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-theme=prism-index]{--r26-id-w:26cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-theme=prism-index][data-layout=stacked]{--r26-id-w:calc((100cqi - var(--r26-action-w,0px) - 32px) * .26)}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-theme=ember-table]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:25cqi}
 .r26-header:where([data-nav-collapse="767"])[data-brand-fluid][data-nav-position=after_brand]:not([data-layout=centered],[data-layout=stacked]){--r26-id-w:40cqi}
}
@media(max-width:767px){.r26-header[data-brand-fluid][data-logo-max-mobile]{--r26-logo-h:min(var(--chrome-logo-max-mobile),64px)}}
.r26-header[data-brand-fluid] .r26-menu__top{container-type:inline-size;--r26-id-w:70cqi}
.r26-header[data-brand-fluid] .r26-brand{--r26-frame:min(var(--chrome-logo-width,180px),calc(var(--r26-logo-h) * var(--r26-logo-ratio,1000)),calc(min(var(--r26-id-w),12em) * .5))}
.r26-header[data-brand-fluid] .r26-brand:has(>.r26-brand-name){max-width:min(100%,12em)}
.r26-header[data-brand-fluid] .r26-brand-copy{max-width:12em}
.r26-header[data-brand-fluid]:not([data-theme=miel-maison]) .r26-brand:has(.r26-brand-copy) img{width:var(--r26-frame);max-width:100%;height:auto;max-height:var(--r26-logo-h)}
.r26-header[data-brand-fluid] .r26-brand-name[data-brand-need]{--r26-cap:1em;--r26-avail:calc(min(var(--r26-id-w),12em) - var(--r26-beside,0px));max-width:none;font-size:max(min(12px,var(--r26-cap)),min(var(--r26-cap),max(calc(var(--r26-avail) / var(--r26-brand-need)),min(12px,calc(var(--r26-avail) / var(--r26-brand-need-force))))))}
.r26-header[data-brand-fluid] .r26-brand-name[data-brand-tracked]{letter-spacing:var(--r26-brand-tracking)}
.r26-header[data-brand-fluid] .r26-brand-name[data-brand-beside=logo]{--r26-beside:calc(var(--r26-frame) + var(--r26-logo-gap,0px))}
.r26-header[data-brand-fluid] .r26-brand-name[data-brand-beside=mark]{--r26-beside:calc(var(--r26-mark-em) * 1em)}
.r26-header[data-brand-fluid][data-theme=miel-maison] .r26-brand-name[data-brand-beside=logo]{--r26-beside:60px}
@media(max-width:767px){
 .r26-header[data-brand-fluid][data-theme=miel-maison] .r26-brand-name[data-brand-beside=logo]{--r26-beside:42px}
 .r26-header[data-brand-fluid][data-brand-mobile] .r26-brand-name[data-brand-need]{--r26-cap:var(--chrome-brand-size-mobile)}
 .r26-header[data-brand-fluid][data-brand-mobile] .r26-brand-name[data-brand-beside=mark]{--r26-beside:calc(var(--r26-mark-em) * var(--chrome-brand-size-mobile))}
}
/* 只有 Logo、設了 Logo 最大高度、這個範圍沒存過舊版「Logo 最大寬度」（data-logo-fit，B-7 修第 1 次）：圖框寬＝高度上限 × 寬高比，只受品牌欄寬限制 */
.r26-header[data-logo-max] .r26-brand img[data-logo-fit]{width:calc(var(--chrome-logo-max) * var(--logo-ratio))}
@media(max-width:1100px){.r26-header:where(:not([data-nav-collapse]))[data-logo-max] .r26-brand img[data-logo-fit]{width:calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio))}}
@media(max-width:900px){.r26-header:where([data-nav-collapse="900"])[data-logo-max] .r26-brand img[data-logo-fit]{width:calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio))}}
@media(max-width:767px){.r26-header:where([data-nav-collapse="767"])[data-logo-max] .r26-brand img[data-logo-fit]{width:calc(min(var(--chrome-logo-max),64px) * var(--logo-ratio))}}
@media(max-width:767px){.r26-header[data-logo-max-mobile] .r26-brand img[data-logo-fit]{width:calc(min(var(--chrome-logo-max-mobile),64px) * var(--logo-ratio))}}
