/* Goldtrust reference-inspired visual vocabulary; original content and layout retained.
 * Zen Old Mincho by The Zen Old Mincho Project Authors, SIL OFL 1.1.
 * Local WOFF2 subsets: all current portal copy + Latin/kana punctuation. */
@font-face{font-family:"Zen Old Mincho Portal";src:url('./fonts/zen-old-mincho/zen-old-mincho-regular-portal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Zen Old Mincho Portal";src:url('./fonts/zen-old-mincho/zen-old-mincho-bold-portal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--editorial-serif:"Zen Old Mincho Portal","Yu Mincho",serif;--editorial-navy:#2d3c77;--editorial-cta:#42518b;--editorial-gold:#a79067;--editorial-heading:#917b53;--editorial-ink:#383838;--editorial-paper:#f8f6f1}
html body{--navy:var(--editorial-navy);--gold:var(--editorial-gold);--ink:var(--editorial-ink);--paper:var(--editorial-paper);color:var(--editorial-ink);font-variant-numeric:tabular-nums}
html body .comparison-lp{--cmp-navy:var(--editorial-navy);--cmp-gold:var(--editorial-gold);--cmp-ink:var(--editorial-ink);--cmp-paper:var(--editorial-paper);--cmp-cream:var(--editorial-paper);--cmp-shadow:none}
html body .evm{--evm-navy:var(--editorial-navy);--evm-gold:var(--editorial-gold);--evm-ink:var(--editorial-ink);--evm-paper:var(--editorial-paper)}
html body :is(h1,h2,h3){font-family:var(--editorial-serif)!important;font-weight:700!important;font-synthesis:none}
html body h2{color:var(--editorial-heading)!important;font-weight:400!important}
html body :is(.portal-brand,.site-footer__brand){font-family:var(--editorial-serif);font-weight:700}
/* A muted gold is reserved for large headings. Navy panels retain high-contrast white. */
html body :is(.cmp-hero,.product-lp__hero,.gpu-model__hero,.evm-hero,.fmi-proposal,.evm-cta,.cmp-cta,.final-cta,.site-footer) h2{color:#fff!important}
html body :is(.evm-navy,.product-lp__section--navy,.product-lp__section--contact,.product-lp__source-block--support-grid,.gpu-model__section--dark,.gpu-model__section--contact,.products-model__section--contact,.navy) h2{color:#fff!important}
html body .portal-legal h2{color:var(--editorial-ink)!important;font-weight:700!important}
html body .product-lp__source-block:is([data-layout="exchange-flow"],[data-layout="trailer-flow"]) h2{color:var(--editorial-heading)!important}
/* Section heading rhythm follows the reference; compact legal clauses retain their size. */
html body main:not(.portal-legal) h2{font-size:42px!important;line-height:60px!important;letter-spacing:.04em}
@media(max-width:820px){html body main:not(.portal-legal) h2{font-size:30px!important;line-height:42px!important}}
html body :is(.primary-button,.cmp-button--primary,.products-model__button,.gpu-model__button,.evm-button,.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta,.header-cta,.button-gold){background:var(--editorial-cta)!important;color:#fff!important;border-color:var(--editorial-cta)!important;border-radius:0!important;box-shadow:none!important;font-family:var(--editorial-serif);font-weight:700;text-shadow:none}
html body :is(.primary-button,.cmp-button--primary,.products-model__button,.gpu-model__button,.evm-button,.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta,.header-cta,.button-gold):hover{background:var(--editorial-navy)!important;border-color:var(--editorial-navy)!important}
html body :is(.secondary-button,.cmp-button--secondary){border-radius:0;box-shadow:none}
html body :is(.product-lp__primary,.cmp-link,.products-model__card-link,.gpu-model__cta,.gpu-model__button,.home-button){background:var(--editorial-cta)!important;color:#fff!important;border-color:var(--editorial-cta)!important;border-radius:0!important;box-shadow:none!important;font-family:var(--editorial-serif);font-weight:700}
/* Leave field UI, red required labels, keyboard focus and disabled state intact. */
html body :is(input,select,textarea,[role="tab"],.pi-required){font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
/* Gold decoration stays #A79067; text uses surface-specific accessible shades. */
html body{--editorial-text-gold:#75613e;--editorial-text-gold-light:#ecd7ae}
html body :is(.cmp-eyebrow,.evm-eyebrow,.product-lp__eyebrow,.product-lp__section-label,.product-lp__number,.product-lp__flow-num,.eyebrow,.number,.flow-num),
html body :is(.fmi-why-steps>li>span,.fmi-party>span,.fmi-scheme-arrows b,.fmi-settlement b,.fmi-tax-grid span,.fmi-timeline li>span,.product-lp__source-cards article>span,.product-lp__light-flow-head span,.product-lp__source-step-body>span,.product-lp__trailer-basic ol li>span,.product-lp__trailer-basic-choice>span,.product-lp__material span,.risk-grid span),
html body .product-lp__source-block[data-layout="exchange-flow"] .product-lp__source-steps li>h3 span:first-child{color:var(--editorial-text-gold)!important}
html body :is(.cmp-hero,.product-lp__hero,.evm-hero,.evm-navy,.fmi-proposal,.fmi-operator,.product-lp__section--navy,.product-lp__section--contact,.product-lp__source-block--support-grid,.navy,.site-footer) :is(.cmp-eyebrow,.evm-eyebrow,.product-lp__eyebrow,.product-lp__section-label,.eyebrow,.number,.fmi-party>span){color:var(--editorial-text-gold-light)!important}
html body .product-lp__source-block:is([data-layout="exchange-flow"],[data-layout="trailer-flow"]) :is(.product-lp__section-label,.product-lp__source-step-body>span){color:var(--editorial-text-gold)!important}
html body .products-model__eyebrow{background:var(--editorial-text-gold);color:#fff}
html body .site-footer__products-title,html body .site-footer__products a:hover{color:var(--editorial-text-gold-light)!important}
html body .cmp-section--dark .cmp-eyebrow,html body :is(.hero,.final-cta) .eyebrow.light{color:var(--editorial-text-gold-light)!important}
html body .product-lp__section--navy:not([data-layout="trailer-flow"]):not([data-layout="exchange-flow"]) .product-lp__source-step-body>span{color:var(--editorial-text-gold-light)!important}
html body .cmp-kicker,html body .products-model__eyebrow{background:var(--editorial-text-gold)!important;color:#fff!important}
/* Opaque enough to guarantee small light text against the brightest possible photo pixel. */
html body .cmp-risk__items{background:rgba(5,20,33,.9)}
html body :is(.product-lp__card-flow-head>span,.product-lp__source-list-icon,.product-lp__trailer-flow-head>span){background:var(--editorial-text-gold)!important;color:#fff!important}
html body .gpu-model__kicker{color:var(--editorial-text-gold)!important}
html body :is(.gpu-model__section--dark,.gpu-model__section--contact) .gpu-model__kicker{color:var(--editorial-text-gold-light)!important}
html body .evm-faq__list summary::after,html body .product-lp__faq-list summary::after,html body .faq-list summary::after,html body .fmi-concerns-list li::before,html body .scheme-steps li:not(:last-child)::after{color:var(--editorial-text-gold)}

/* Owner-approved all-page light surfaces. Blue remains an action colour, not a page surface. */
html body.portal-unified-theme{--editorial-paper:#f7f4ec;--editorial-beige:#d5c8b2;--editorial-line:#d8cbb7;background:#fff;color:var(--editorial-ink)}
html body.portal-unified-theme :is(.comparison-lp,.product-lp,.gpu-model,.products-model){--cmp-paper:var(--editorial-paper);--cmp-cream:var(--editorial-paper);--product-paper:var(--editorial-paper);--product-cream:var(--editorial-paper);--gpu-paper:var(--editorial-paper);--pm-paper:var(--editorial-paper);--cmp-line:var(--editorial-line);--product-line:var(--editorial-line);--gpu-line:var(--editorial-line);--pm-line:var(--editorial-line)}
/* Broad section and contact surfaces, including the separate operating-lease template. */
html body.portal-unified-theme :is(.cmp-section--dark,.cmp-section--contact,.product-lp__section--navy,.product-lp__section--contact,.product-lp__source-block--support-grid,.product-lp__source-block[data-layout="trailer-support"],.gpu-model__section--dark,.gpu-model__section--contact,.products-model__section--contact,.navy,.final-cta,.site-footer){background:var(--editorial-paper)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.cmp-section--dark,.cmp-section--contact,.product-lp__section--navy,.product-lp__section--contact,.product-lp__source-block--support-grid,.product-lp__source-block[data-layout="trailer-support"],.gpu-model__section--dark,.gpu-model__section--contact,.products-model__section--contact,.navy,.final-cta,.site-footer) :is(p,li,h3,h4,span,strong,small,em,figcaption){color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.cmp-section--dark,.cmp-section--contact,.product-lp__section--navy,.product-lp__section--contact,.product-lp__source-block--support-grid,.gpu-model__section--dark,.gpu-model__section--contact,.products-model__section--contact,.navy,.final-cta,.site-footer) h2{color:var(--editorial-heading)!important}
/* Photograph assets and product-specific composition are preserved; navy tints become ivory. */
html body.portal-unified-theme :is(.cmp-hero,.product-lp__hero,.gpu-model__hero,.products-model__hero,.hero){background:var(--editorial-paper)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.gpu-model__hero-shade,.products-model__hero-shade,.hero-shade){background:linear-gradient(90deg,rgba(247,244,236,.98),rgba(247,244,236,.92) 40%,rgba(247,244,236,.28) 85%)!important}
html body.portal-unified-theme :is(.cmp-hero,.product-lp__hero,.gpu-model__hero,.products-model__hero,.hero) :is(h1,p,span,em,strong,small){color:var(--editorial-ink)!important;text-shadow:none!important}
html body.portal-unified-theme :is(.cmp-hero__facts span,.products-model__hero-facts span,.product-lp__hero-facts span){background:rgba(255,255,255,.88)!important;border-color:var(--editorial-line)!important;border-radius:0}
html body.portal-unified-theme :is(.cmp-highlight,.gpu-model__hero h1 em,.products-model__hero h1 em){color:var(--editorial-text-gold)!important}
html body.portal-unified-theme :is(.cmp-eyebrow,.product-lp__eyebrow,.product-lp__section-label,.gpu-model__eyebrow,.gpu-model__kicker,.products-model__hero-kicker,.eyebrow,.number,.flow-num,.product-lp__source-step-body>span){color:var(--editorial-text-gold)!important}
/* Reference-style beige summaries and rules; financial values and diagrams are not changed. */
html body.portal-unified-theme :is(.gpu-model__fact-strip,.products-model__anchors,.quick-points,.product-lp__source-check-row strong,.product-lp__source-static-pane:nth-child(2),.gpu-model thead,.gpu-model tbody th,.products-model thead,.products-model tbody th,.product-lp__source-table thead,.product-lp__gpu-matrix thead,.comparison-table-wrap thead,.comparison-table-wrap tbody th,.cmp-comparison-table caption,.cmp-comparison-table thead th:first-child){background:var(--editorial-beige)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.gpu-model__fact-strip,.products-model__anchors,.quick-points,.product-lp__source-static-pane:nth-child(2),.gpu-model thead,.gpu-model tbody th,.products-model thead,.products-model tbody th,.product-lp__source-table thead,.product-lp__gpu-matrix thead,.comparison-table-wrap thead,.comparison-table-wrap tbody th) :is(a,p,span,strong,small,th,td){color:var(--editorial-ink)!important;border-color:var(--editorial-line)}
html body.portal-unified-theme :is(.cmp-risk__items,.cmp-risk__photo,.product-lp__gpu-node,.product-lp__source-cover-stage){background:var(--editorial-paper)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.cmp-risk__items,.product-lp__gpu-node,.product-lp__source-cover-stage) :is(p,h3,span,small,strong){color:var(--editorial-ink)!important}
html body.portal-unified-theme :is(.cmp-risk__items,.product-lp__gpu-node,.product-lp__source-cover-stage) h2{color:var(--editorial-heading)!important}
/* Flat cards keep their original product-specific grid and image roles. */
html body.portal-unified-theme :is(.cmp-proof__card,.cmp-story__photo,.cmp-story__panel,.cmp-checkgrid>div,.cmp-lineup-banner,.cmp-product,.cmp-mechanism>article,.cmp-compare-list,.cmp-risk,.cmp-faqs details,.cmp-consultation-cases article,.cmp-contact__side,.products-model__card,.gpu-model__card,.product-lp__source-cards article,.product-lp__source-steps li,.case-grid article){border-radius:0!important;box-shadow:none!important;border-color:var(--editorial-line)!important}
html body.portal-unified-theme :is(.cmp-mechanism>article,.cmp-contact__side,.case-grid article){background:#fff!important}
html body.portal-unified-theme :is(.cmp-chip,.product-lp__chip){color:var(--editorial-text-gold);background:var(--editorial-paper);border-color:var(--editorial-line);border-radius:0}
html body.portal-unified-theme :is(.site-footer nav,.site-footer__products-title,.site-footer__products a,.cmp-risk__items article){border-color:var(--editorial-line)!important}
html body.portal-unified-theme .site-footer :is(a,a:hover,p){color:var(--editorial-ink)!important}
/* Actions, selected controls and red required badges retain their affordances. */
html body.portal-unified-theme :is(.primary-button,.cmp-button--primary,.products-model__button,.gpu-model__button,.evm-button,.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta,.header-cta,.button-gold,.product-lp__primary,.cmp-link,.products-model__card-link,.gpu-model__cta,.home-button){background:var(--editorial-cta)!important;color:#fff!important;border-color:var(--editorial-cta)!important;border-radius:0!important;box-shadow:none!important}
html body.portal-unified-theme :is(.primary-button,.cmp-button--primary,.products-model__button,.gpu-model__button,.evm-button,.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta,.header-cta,.button-gold,.product-lp__primary,.cmp-link,.products-model__card-link,.gpu-model__cta,.home-button) :is(span,b,strong){color:#fff!important}
html body.portal-unified-theme :is(.primary-button,.cmp-button--primary,.products-model__button,.gpu-model__button,.evm-button,.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta,.header-cta,.button-gold,.product-lp__primary,.cmp-link,.products-model__card-link,.gpu-model__cta,.home-button):hover{background:var(--editorial-navy)!important;border-color:var(--editorial-navy)!important}
html body.portal-unified-theme :is(.secondary-button,.cmp-button--secondary,.cmp-select,.products-model__filters label){border-radius:0!important;box-shadow:none!important}
html body.portal-unified-theme :is(.pi-required,.field-required){color:#fff!important}
@media(max-width:820px){html body.portal-unified-theme :is(.gpu-model__hero-shade,.products-model__hero-shade,.hero-shade){background:linear-gradient(180deg,rgba(247,244,236,.9),rgba(247,244,236,.75) 38%,rgba(247,244,236,.98) 76%)!important}}
/* Pseudo-elements cannot be placed inside :is(): explicit selector preserves the actual shade. */
html body.portal-unified-theme .cmp-hero::before{background:linear-gradient(90deg,rgba(247,244,236,.98),rgba(247,244,236,.94) 38%,rgba(247,244,236,.2) 78%,rgba(247,244,236,.04))!important}
html body.portal-unified-theme :is(.cmp-section--dark,.cmp-section--contact,.product-lp__section--navy,.product-lp__section--contact,.gpu-model__section--contact,.products-model__section--contact,.final-cta) [data-portal-inquiry] .pi-required{color:#fff!important}
html body.portal-unified-theme :is(.comparison-lp,.product-lp,.products-model) :is(.cmp-kicker,.products-model__eyebrow,.product-lp__card-flow-head>span,.product-lp__source-list-icon,.product-lp__trailer-flow-head>span){color:#fff!important;background:var(--editorial-text-gold)!important}
html body.portal-unified-theme .site-footer h2.site-footer__products-title{color:var(--editorial-text-gold)!important}
html body.portal-unified-theme .product-lp .product-lp__section--navy .product-lp__source-step-body>span{color:var(--editorial-text-gold)!important}
html body.portal-unified-theme .gpu-model .gpu-model__section--contact a:not([class]){color:var(--editorial-text-gold)!important}
html body.portal-unified-theme .hero .eyebrow.light,html body.portal-unified-theme .final-cta .eyebrow.light{color:var(--editorial-text-gold)!important}
html body.portal-unified-theme .comparison-table-wrap thead th{background:var(--editorial-beige)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme .fmi-market-numbers article{background:var(--editorial-beige)!important;color:var(--editorial-ink)!important}
html body.portal-unified-theme .fmi-market-numbers article :is(strong,span,p){color:var(--editorial-ink)!important}
/* r82: center the CTA label itself; the decorative arrow never participates in centering. */
html body [data-cta-center]{justify-content:center!important;align-items:center!important;column-gap:0!important;text-align:center!important;white-space:nowrap!important;--cta-old-gap:34px}
html body [data-cta-center]:not(.fmi-fixed-cta):not(.portal-fixed-cta){position:relative}
html body [data-cta-center]>[data-cta-label]{display:block;flex:none;white-space:nowrap;text-align:center;margin-inline:calc((1em + var(--cta-old-gap))/2)}
html body [data-cta-center]:not(:has([data-cta-arrow]))>[data-cta-label]{margin-inline:0}
html body [data-cta-center]>[data-cta-arrow]{position:absolute;right:6px;top:50%;transform:translateY(-50%);margin:0;line-height:1;white-space:nowrap}
html body :is(.fmi-header-cta,.fmi-fixed-cta,.portal-fixed-cta)[data-cta-center]{--cta-old-gap:18px}
html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{right:8px}
@media(max-width:820px){html body .evm-hero [data-cta-center].evm-button{left:0!important;right:0!important;width:auto!important;padding-left:12px!important;padding-right:12px!important}html body .evm-hero [data-cta-center]>[data-cta-label]{margin-inline:0}html body .evm-hero [data-cta-center]>[data-cta-arrow]{right:0}html body main[data-product-id="P02"] .evm-hero [data-cta-center]>[data-cta-arrow]{right:6px}html body .fmi-fixed-cta[data-cta-center]>[data-cta-arrow]{right:0}html body .fmi-header-cta[data-cta-center]{--cta-old-gap:8px}html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{right:2px}}
@media(max-width:720px){html body main .evm-button[data-cta-center]>[data-cta-label]{margin-inline:0}html body main .evm-button[data-cta-center]>[data-cta-arrow]{right:0}html body main[data-product-id="P02"] .evm-hero [data-cta-center]>[data-cta-arrow]{right:6px}}
@media(max-width:390px){html body .fmi-header-cta[data-cta-center]{--cta-old-gap:6px}}
@media(max-width:360px){html body .fmi-header-cta[data-cta-center]{--cta-old-gap:4px}html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{font-size:12px;right:1px}}
/* Existing long product-card labels may wrap; every line remains centered in the full button frame. */
html body .phf-card-button[data-cta-center]{white-space:normal!important;padding-left:24px!important;padding-right:24px!important}
html body .phf-card-button[data-cta-center]>[data-cta-label]{margin-inline:0;flex:0 1 auto;width:100%;white-space:normal;text-wrap:balance}
html body .phf-card-button[data-cta-center]>[data-cta-arrow]{right:4px}
/* Owner revision: give every arrow visible inner spacing while retaining the label's exact center. */
html body [data-cta-center]>[data-cta-arrow]{right:18px}
html body .fmi-header-cta[data-cta-center]{padding-left:40px!important;padding-right:40px!important}
html body .fmi-header-cta[data-cta-center]>[data-cta-label]{margin-inline:0}
html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{right:18px}
html body .fmi-fixed-cta[data-cta-center]{padding-left:24px!important;padding-right:24px!important}
html body .phf-card-button[data-cta-center]{padding-left:38px!important;padding-right:38px!important}
html body .phf-card-button[data-cta-center]>[data-cta-arrow]{right:18px}
@media(max-width:820px){html body .evm-hero [data-cta-center].evm-button{left:-12px!important;right:-12px!important}html body .evm-hero [data-cta-center]>[data-cta-arrow],html body main[data-product-id="P02"] .evm-hero [data-cta-center]>[data-cta-arrow]{right:12px}html body main[data-product-id="P02"] .evm-hero [data-cta-center].evm-button{left:-8px!important;right:-8px!important}html body .fmi-header-cta[data-cta-center]{padding-left:30px!important;padding-right:30px!important}html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{right:12px}html body .fmi-fixed-cta[data-cta-center]>[data-cta-label]{margin-inline:0}html body .fmi-fixed-cta[data-cta-center]>[data-cta-arrow]{right:12px}html body .phf-card-button[data-cta-center]{padding-left:36px!important;padding-right:36px!important}html body .phf-card-button[data-cta-center]>[data-cta-arrow]{right:16px}}
@media(max-width:720px){html body main .fl3-cta .evm-button[data-cta-center]{width:calc(100% + 24px)!important;min-width:0!important;margin-left:-12px;margin-right:-12px}html body main .evm-button[data-cta-center]>[data-cta-arrow]{right:12px}html body main .phf-card-button[data-cta-center]>[data-cta-arrow]{right:16px}}
@media(max-width:360px){html body .fmi-site-header{padding-left:8px!important;padding-right:8px!important;column-gap:4px!important}html body .fmi-site-brand{width:136px!important;max-width:136px!important;min-width:0;flex:0 1 136px}html body .fmi-site-brand .portal-wordmark{width:136px!important;max-width:100%!important;height:auto}html body .fmi-header-cta[data-cta-center]{padding-left:26px!important;padding-right:26px!important}html body .fmi-header-cta[data-cta-center]>[data-cta-arrow]{font-size:14px!important;right:8px}html body .fmi-fixed-cta[data-cta-center]{left:2px!important;right:2px!important}html body .fmi-fixed-cta[data-cta-center]>[data-cta-arrow]{right:12px}html body:has(main[data-product-id="P03"]) .fmi-fixed-cta[data-cta-center]>[data-cta-arrow]{right:8px}}
@media(max-width:820px){html body.portal-unified-theme .cmp-hero::before{background:linear-gradient(0deg,rgba(247,244,236,.99) 0%,rgba(247,244,236,.97) 42%,rgba(247,244,236,.08) 74%,rgba(247,244,236,.02) 100%)!important}html body.portal-unified-theme .hero-shade{background:linear-gradient(0deg,rgba(247,244,236,.98) 0%,rgba(247,244,236,.96) 40%,rgba(247,244,236,.12) 68%,rgba(247,244,236,.02) 100%)!important}}
