/* Shared page rails, column tracks and vertical rhythm. */
@layer modular {
:root {
 --unit:8px; --edge:32px; --gutter:24px; --inset:24px; --columns:12;
 --measure:76rem; --rail:min(var(--measure), calc(100% - 2 * var(--edge)));
}
body :is(.service-bar,.tfe-site-header>.bar,.tfe-site-header>.max-w-7xl,.craft-stage,.quick-layout,.foot-wrap,.home-footer>.wrap,.home-footer>.max-w-7xl,.edition-wrap,.ape-width,.utility-content,main.wrap,.wrap.section,#services-overview>.max-w-7xl,#categories-section>.max-w-7xl,#request-portal>.max-w-7xl){
 width:var(--rail)!important; max-width:var(--measure)!important; margin-inline:auto!important;box-sizing:border-box!important;padding-inline:0!important;
}
body .hie-path ol{width:var(--rail)!important;margin-inline:auto!important;padding-inline:0!important}
body .service-reading{
 display:grid!important;grid-template-columns:repeat(var(--columns),minmax(0,1fr))!important;
 width:min(66rem,calc(100% - 2 * var(--edge)))!important;max-width:66rem!important;margin-inline:auto!important;
 gap:var(--gutter)!important;padding:32px 0!important;
}
body .service-reading>*{grid-column:1/-1;min-width:0;margin-block:0!important}
body .service-reading>:is(p,h2,h3,ul,ol){margin-inline:0!important;padding-inline:var(--inset)!important;box-sizing:border-box!important}
body .service-reading>:is(ul,ol){padding-inline-start:calc(var(--inset) + 24px)!important}
body .inspection-notes{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin:0!important;padding:0!important}
body .inspection-notes>div{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,3fr)!important;gap:var(--gutter)!important;padding:var(--inset)!important;margin:0!important;align-items:baseline!important;box-sizing:border-box!important}
body .inspection-notes :is(dt,dd){margin:0!important;line-height:1.7!important;overflow-wrap:break-word}
body :is(.topic-patches,.services,.groups,.ship-grid,.policy-grid,.contact-links,.careers-board,.foot-grids,.mitsubishi-electric-balanced-footer-grid){gap:var(--gutter)!important}
body :is(.topic-patch,.reading-block,.contact-panel,.policy-index,.ship-intro,.career-lead,.device,.edition-help,.utility-cta,.ape-cta,.maryam-contact,.services>.card,#services-overview .grid>div,#categories-section .grid>div){
 box-sizing:border-box!important;min-width:0;padding:var(--inset)!important;
}
body :is(.reading-block,.contact-panel,.policy-body,.ape-content,.career-lead,.ship-intro)>:is(p,ul,ol,table)+:is(p,ul,ol,table,h2,h3){margin-block-start:16px!important}
body :is(.reading-block,.contact-panel,.policy-body,.ape-content,.career-lead,.ship-intro)>:is(h2,h3)+p{margin-block-start:8px!important}
body :is(.service-reading,.utility-content,.edition-wrap) :is(td,th){padding:12px 16px!important;overflow-wrap:break-word;line-height:1.6!important}
body :is(.quick-layout,.maintenance-form,.contact-panel,#request-portal) :is(select,textarea,input:not([type=checkbox],[type=radio],[type=hidden],[type=submit],[type=file])){
 box-sizing:border-box!important;max-width:100%!important;min-width:0!important;min-height:44px!important;padding:10px 16px!important;line-height:1.5!important;
}
body :is(.quick-layout,.contact-panel,#request-portal) select{padding-inline-end:32px!important}
body .quick-layout{display:grid!important;grid-template-columns:repeat(var(--columns),minmax(0,1fr))!important;gap:var(--gutter)!important;padding-block:24px!important}
body .quick-layout>*{min-width:0;grid-column:span 3}
body .quick-layout label{display:block;margin-block-end:8px!important}
body .quick-layout select{width:100%!important}
body :is(.quick-layout button,.edition-action,.role-link,.ape-button,.maryam-action,.contact-panel button){box-sizing:border-box!important;min-height:44px!important;padding:10px 16px!important}
body :is(#services-overview,#categories-section,#request-portal) .grid{gap:var(--gutter)!important}
body .foot-column{gap:8px!important}
@media(max-width:960px){
 :root{--columns:8;--edge:24px;--gutter:16px;--inset:24px}
 body .quick-layout>*{grid-column:span 4}
}
@media(max-width:640px){
 :root{--columns:4;--edge:16px;--inset:16px}
 body .service-reading{padding-block:24px!important}
 body .inspection-notes>div{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body .quick-layout>*{grid-column:1/-1}
 body :is(.topic-patches,.services,.groups){grid-template-columns:minmax(0,1fr)!important}
 body :is(.service-reading,.utility-content,.edition-wrap) table{display:block;max-width:100%;overflow-x:auto}
 body :is(.service-reading,.utility-content,.edition-wrap) :is(td,th){padding:8px 12px!important}
}
}

/* The new edition starts below the cover; the cabinet retains its approved treatment. */
@font-face{font-family:EI-Tajawal;src:url("../approved/tajawal-800.ttf") format("truetype");font-weight:800;font-display:swap}
@layer interior {
:root{--ei-ink:#1f1e1c;--ei-paper:#f9f7f2;--ei-sand:#f3ede0;--ei-yellow:#ffdf68;--ei-red:#b93818;--ei-print:3px 3px 0 #1f1e1c}
.ei-mark{display:inline-block!important;font:800 clamp(19px,2.3vw,34px)/1.3 EI-Tajawal,sans-serif!important;color:var(--ei-ink)!important;white-space:nowrap;position:relative;isolation:isolate}
.ei-mark:before{content:"";position:absolute;z-index:-1;inset:auto 0 11% 34%;height:.35em;background:var(--ei-yellow);transform:rotate(-2deg)}
body .tfe-site-header{background:var(--ei-paper)!important;border-block-end:1px solid var(--ei-ink)!important}
body :is(.network-strip,body>.bg-slatecorp-ink){background:var(--ei-ink)!important}
body .tfe-site-header :is(.service-book,.call,.bg-mitsubishi-electric){background:var(--ei-red)!important;color:white!important;border:1px solid var(--ei-ink)!important;border-radius:6px!important;box-shadow:2px 2px var(--ei-ink)!important}
body .tfe-site-header :is(.service-language,.lang,.nav-view-btn.is-active){background:var(--ei-yellow)!important;color:var(--ei-ink)!important;border:1px solid var(--ei-ink)!important;padding:5px 9px!important;border-radius:20px!important}
body :is(.craft-quick,#categories-section,.bands){background:var(--ei-sand)!important;color:var(--ei-ink)!important;border-block:1px solid var(--ei-ink)!important}
body .craft-quick :is(h2,p,label),body .bands .titleRow h2,body #categories-section>div>div:first-child :is(h2,p,span){color:var(--ei-ink)!important}
body .craft-quick .quick-layout{padding-block:24px!important}
body :is(.craft-quick select,.contact-panel input,.contact-panel textarea,#request-portal .corp-input){background:#fffcf5!important;border:1px solid #847d71!important;border-radius:6px!important;color:var(--ei-ink)!important}
body :is(.quick-layout button,#request-portal button[type=submit],.edition-action,.ape-button,.maryam-action){background:var(--ei-red)!important;color:white!important;border:1px solid var(--ei-ink)!important;border-radius:7px!important;box-shadow:var(--ei-print)!important}
body :is(#services-overview,#request-portal,.service-reading,.language,.utility-content,.ape-content){background-color:var(--ei-paper)!important;background-image:radial-gradient(#302d2310 .9px,transparent 1px)!important;background-size:23px 23px!important}
body :is(.services>.card,#services-overview .grid>div,#categories-section .grid>div,.reading-block,.contact-panel,.device,.ship-intro,.career-lead,.policy-index,.topic-patch,.inspection-notes>div,#request-portal .grid>.bg-white,.mitsubishi-electric-related-navigation-inner,.edition-help,.maryam-contact){background:var(--ei-paper)!important;color:var(--ei-ink)!important;border:1px solid var(--ei-ink)!important;border-radius:12px!important;box-shadow:var(--ei-print)!important}
body :is(.services>.card,#services-overview .grid>div,#categories-section .grid>div,.reading-block,.device){padding:clamp(18px,2.4vw,34px)!important}
body :is(.services>.card,#services-overview .grid>div,#categories-section .grid>div):nth-child(3n+2){background:#f6eedc!important}
body :is(#services-overview,#categories-section) .grid>div>div:first-child:is(.w-10,.w-11),body .services .symbol,body .topic-patch img{background:var(--ei-yellow)!important;border:1px solid var(--ei-ink)!important;border-radius:8px!important;box-shadow:2px 2px var(--ei-ink)!important;color:var(--ei-ink)!important}
body :is(#services-overview,#categories-section) .grid>div>div:first-child:empty,body .services .symbol:empty{width:32px!important;height:5px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--ei-red)!important}
body :is(.service-reading,.language,.utility-content,.ape-content,#services-overview,#categories-section,#request-portal,.services,.edition-wrap) :is(h2,h3,dt){color:var(--ei-ink)!important;text-shadow:none!important}
body :is(.service-reading,.language,.utility-content,.ape-content,#services-overview,#categories-section,#request-portal,.edition-wrap) h2,body .titleRow h2{font-size:clamp(25px,3.2vw,46px)!important;line-height:1.2!important;font-weight:800!important;letter-spacing:normal!important}
html[lang=en] :is(.service-reading,.utility-content,.ape-content,.edition-wrap,.services,.titleRow) :is(h2,h3),.language[lang=en] :is(h2,h3){font-family:Georgia,serif!important;letter-spacing:-.03em!important}
body :is(.reading-block,.policy-body,.utility-content,.ape-content) p{line-height:1.85!important}
body .service-reading :is(th,thead),body .ship-kicker{background:var(--ei-yellow)!important;color:var(--ei-ink)!important}
body :is(.inspection-notes,.topic-patches,.groups){gap:16px!important}
body .topic-patch,body .mitsubishi-electric-related-navigation-grid>a,body .pager>a,body .role-link{border:1px solid var(--ei-ink)!important;border-radius:7px!important;background:var(--ei-sand)!important;color:var(--ei-ink)!important}
body :is(.service-reading,.device,.policy-body,#services-overview,#categories-section) a:not(.topic-patch){color:#953316!important}
body :is(.maryam-contact,.edition-help,.contact-panel,.career-lead) :is(h2,h3,p,small,strong){color:var(--ei-ink)!important}
body .service-reading{overflow-wrap:break-word}
@media(max-width:600px){body .ei-mark{font-size:18px!important}.tfe-site-header .service-bar{gap:6px!important}body .craft-quick .quick-layout{padding-block:18px!important}}
}

@layer interior{
body .tfe-site-header .alhindia-logo{display:block!important;width:clamp(94px,11vw,148px)!important;height:auto!important;max-width:none!important;object-fit:contain!important;padding:0!important;background:transparent!important}
body .tfe-site-header a[href*="wa.me"],body .network-strip a[href*="wa.me"],body>.bg-slatecorp-ink a[href*="wa.me"]{background:#fff2c3!important;color:#30251f!important;border:1px solid #30251f!important;box-shadow:2px 2px #30251f!important;border-radius:6px!important}
body .network-strip a[href*="wa.me"],body>.bg-slatecorp-ink a[href*="wa.me"]{padding:2px 9px!important}
body .tfe-site-header a[href*="wa.me"]:hover{background:#ffdf68!important}
body .tfe-site-header a[href*="wa.me"] :is(svg,span){color:inherit!important}
@media(min-width:721px){body .craft-stage:has(.home-actions){grid-template-columns:39% 32% 29%!important}body .craft-stage:has(.home-actions) .craft-copy{padding-top:clamp(145px,15vw,210px)!important}body .craft-stage:has(.home-actions):after{inset-inline-end:18%!important;width:43%!important}}
@media(max-width:720px){body .craft-stage:has(.home-actions):after{inset-inline-end:20%!important}}
}

@layer interior {
body .craft-hero .craft-stage,
body .craft-hero .craft-stage:has(.home-actions){
 display:grid!important;grid-template-rows:auto 1fr!important;row-gap:clamp(20px,2.2vw,34px)!important;
 padding-top:clamp(10px,1.5vw,24px)!important;height:auto!important;
}
body .craft-hero .craft-stage::before,body .craft-hero .craft-stage:has(.home-actions)::before{
 content:"";position:static!important;grid-column:1/-1;grid-row:1;width:100%!important;
 height:auto!important;aspect-ratio:3701/805;max-height:260px;align-self:start;background-size:contain!important;
}
body .craft-hero .craft-stage .craft-copy,body .craft-hero .craft-stage:has(.home-actions) .craft-copy{
 grid-row:2!important;align-self:center;padding-top:0!important;margin-top:0!important;
}
body .craft-stage .leather-art{display:none!important}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid){
 display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;
 gap:clamp(7px,1.2vw,16px)!important;align-items:stretch!important;
 width:min(92%,850px)!important;box-sizing:border-box!important;margin-inline:auto!important;
}
body :is(.pager,.stamp-nav){padding:20px 0!important}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid)>a[data-step]{
 display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;
 padding:9px clamp(4px,1vw,14px)!important;line-height:1.35!important;text-align:center!important;white-space:normal!important;
 overflow-wrap:anywhere;border:1px solid #30251f!important;border-radius:7px!important;
 background:#faf6eb!important;color:#30251f!important;box-shadow:2px 2px #30251f!important;text-decoration:none!important;
}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid){direction:ltr!important}
html[lang=ar] :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid){direction:rtl!important}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid)>a[data-step]{grid-row:1!important}
body a[data-step=prev]{grid-column:auto!important;order:1}body a[data-step=directory]{grid-column:auto!important;order:2}body a[data-step=next]{grid-column:auto!important;order:3}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid)>a[data-step=directory]{background:#ffdf68!important;font-weight:700!important}
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid)>a[data-step]:is(:hover,:focus-visible){background:#f5e8cb!important;outline:2px solid #a33b24;outline-offset:2px}
@media(max-width:720px){
body .craft-hero .craft-stage,body .craft-hero .craft-stage:has(.home-actions){grid-template-rows:auto clamp(160px,45vw,270px) auto!important;row-gap:8px!important}
body .craft-hero .craft-stage::after,body .craft-hero .craft-stage:has(.home-actions)::after{grid-column:1/-1;grid-row:2;position:static!important;justify-self:center;width:80%!important;height:100%!important}
body .craft-hero .craft-stage .craft-copy,body .craft-hero .craft-stage:has(.home-actions) .craft-copy{grid-row:3!important;padding-top:14px!important}
}
}

/* One rail and 8px rhythm, with 12 / 8 / 4 tracks by viewport. */
@layer modular {
:root {--unit:8px;--edge:32px;--gutter:24px;--inset:24px;--columns:12;--measure:76rem;--rail:min(var(--measure),calc(100% - var(--edge) * 2))}
body :is(main>.wrap,main>.edition-wrap,main>.utility-content,main>.section,.craft-hero .craft-stage,.rvf .foot-wrap){
 width:var(--rail)!important;max-width:var(--measure)!important;box-sizing:border-box!important;margin-inline:auto!important;
}
body :is(main>.wrap,main>.edition-wrap,main>.utility-content,.rvf .foot-wrap){padding-inline:0!important;min-inline-size:0}
body :is(.reading-block,.utility-content,.edition-wrap,.service-reading,.contact-panel,.ship-intro,.career-lead) :is(h2,h3){text-wrap:balance}
body :is(.topic-patches,.services,.groups,.ship-grid,.policy-grid,.contact-links,.careers-board,.foot-grids,.mitsubishi-electric-balanced-footer-grid){
 column-gap:var(--gutter)!important;row-gap:var(--gutter)!important;align-items:stretch
}
body :is(.topic-patch,.device,.services>.card,.role-link){min-inline-size:0;overflow-wrap:break-word}
@media(max-width:960px){:root{--columns:8;--edge:24px;--gutter:16px}}
@media(max-width:640px){:root{--columns:4;--edge:16px;--gutter:8px;--inset:16px}}
}
@layer interior {
body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid).mitsubishi-electric-modular-nav {
 --nav-height:104px;
 grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-rows:1fr;
 gap:var(--gutter)!important;align-items:stretch!important;
 inline-size:min(100%,66rem)!important;max-inline-size:none!important;margin-inline:auto!important;
}
body :is(.pager,.stamp-nav).mitsubishi-electric-modular-nav {inline-size:min(var(--rail),66rem)!important;padding-block:16px!important}
body .mitsubishi-electric-modular-nav>a[data-step]{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:24px 1fr!important;
 justify-content:stretch!important;justify-items:center!important;align-content:stretch!important;
 align-items:start!important;row-gap:8px!important;min-height:var(--nav-height)!important;
 padding:12px 12px 16px!important;line-height:1.4!important;overflow-wrap:anywhere!important;
}
body .mitsubishi-electric-modular-nav>a[data-step]>.mitsubishi-electric-step-kicker {
 grid-row:1;display:block!important;margin:0!important;font-size:.875rem!important;font-weight:700!important;
 color:#395970!important;line-height:24px!important;white-space:nowrap;
}
body .mitsubishi-electric-modular-nav>a[data-step]>.mitsubishi-electric-step-title {
 grid-row:2;display:block!important;min-width:0;margin:0!important;
 font-size:1rem!important;font-weight:700!important;line-height:1.4!important;
}
body .mitsubishi-electric-modular-nav>a[data-step=directory]>.mitsubishi-electric-step-kicker {color:#493711!important}
@media(max-width:640px){
 body :is(.pager,.stamp-nav,.mitsubishi-electric-related-navigation-grid).mitsubishi-electric-modular-nav {--nav-height:112px}
 body .mitsubishi-electric-modular-nav>a[data-step]{grid-template-rows:20px 1fr!important;padding:8px 4px 12px!important;row-gap:4px!important}
 body .mitsubishi-electric-modular-nav>a[data-step]>.mitsubishi-electric-step-kicker{font-size:.72rem!important;line-height:20px!important}
 body .mitsubishi-electric-modular-nav>a[data-step]>.mitsubishi-electric-step-title{font-size:.79rem!important}
}
}
@layer modular {
@media(max-width:375px){
 body .tfe-site-header .service-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px!important}
 body .tfe-site-header .service-bar>.service-nav{display:none!important}
 body .tfe-site-header .service-bar>.service-brand{min-inline-size:0}
 body .tfe-site-header .service-bar .service-brand img{width:100%!important;max-width:96px!important}
 body .tfe-site-header .service-actions{gap:4px!important;min-inline-size:0}
 body .tfe-site-header .service-actions :is(.service-language,.service-book){padding-inline:7px!important;font-size:12px!important;white-space:nowrap}
 body .tfe-site-header .service-actions .service-menu{inline-size:32px!important;min-inline-size:32px!important}
 body .tfe-site-header .service-bar:has(>.service-nav.open)>.service-nav,
 body .tfe-site-header .service-bar:has(>.service-nav.is-open)>.service-nav,
 body .tfe-site-header .service-bar:has(.service-menu[aria-expanded=true])>.service-nav{display:block!important;grid-column:1/-1}
 body .service-reading,body .service-reading :is(.reading-block,table){min-inline-size:0!important;max-inline-size:100%!important}
}
}

/* Quieter MITSUBISHI ELECTRIC edition accents, shared by both languages. */
@layer edition {
:root{--rust:#385765}
body .service-book,body .leather-btn,body .craft-quick button,body .btn.call{
 border-color:#263f4b!important;box-shadow:2px 2px #263f4b!important;
}
body :is(.service-book,.leather-btn,.btn.call,.craft-quick button):hover{background:#2c4653!important}
}
@layer interior {
:root{--ei-red:#385765}
body .tu-ape{--ape-red:#66808a}
body .tu-ape .ape-cta{
 background:#e3ebed!important;color:#213841!important;
 border:1px solid #b2c5cc!important;
 gap:16px;box-shadow:none;
}
body .tu-ape .ape-cta h2{
 font-size:clamp(22px,2.15vw,34px)!important;
 line-height:1.24!important;font-weight:600!important;
 color:#213841!important;text-wrap:balance;
}
body .tu-ape .ape-cta p{color:#344d57!important;margin-block-start:8px}
body :is(.ape-button,.maryam-action,.edition-action,#request-portal button[type=submit]):hover{background:#2c4653!important}
}

@layer modular {
body .tu-ape .ape-content .ape-cta h2{
 font-size:clamp(22px,2.15vw,34px)!important;
 line-height:1.24!important;font-weight:600!important;
 color:#213841!important;
}
}

/* Arabic typography uses the locally bundled Tajawal faces, including in offline previews. */
@font-face{font-family:Tajawal;src:url("../approved/tajawal-400.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Tajawal;src:url("../approved/tajawal-500.ttf") format("truetype");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Tajawal;src:url("../approved/tajawal-700.ttf") format("truetype");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Tajawal;src:url("../approved/tajawal-800.ttf") format("truetype");font-style:normal;font-weight:800;font-display:swap}
@layer modular {
:lang(ar):not(svg,svg *,script,style),
html:lang(en) :is(.lang,.service-language,[hreflang=ar]) {
 font-family:Tajawal,Arial,sans-serif!important;
}
html:lang(ar) footer.rvf :is(.rvf-links a,.rvf-credit),
footer.rvf :is(.rvf-links a,.rvf-credit):lang(ar) {
 font-weight:400!important;
}
}

/* Shared bilingual directory participates in either ring without adding a route. */
@layer modular {
nav.mitsubishi-electric-directory-ring[lang=en]{display:none!important}
html:has(#en:target) nav.mitsubishi-electric-directory-ring[lang=en]{display:block!important}
html:has(#en:target) nav.mitsubishi-electric-directory-ring[lang=ar]{display:none!important}
html[lang=ar] nav.mitsubishi-electric-directory-ring[lang=en] .mitsubishi-electric-modular-nav{direction:ltr!important}
}

@layer modular {body .service-reading .research-context-link>a{color:#22546c!important;text-decoration:underline!important}}

/* The standalone navigation is not part of the mobile header menu. */
@layer modular {body nav.mitsubishi-electric-related-navigation:not(.mitsubishi-electric-directory-ring){display:block!important}}
