/* App styles are scoped to preserve the shared Koldwater header and footer. */
.motor-app{--mf-blue:#193f76;--mf-hover:#007fae;--mf-ink:#193346;--mf-green:#258437;--mf-red:#c42f29;color:var(--mf-ink);font:400 16px/1.65 Arial,sans-serif;background:#f5f8fa}
.motor-app .mf-wrap{max-width:1640px;margin:auto;padding:30px 24px 48px}
.motor-app h1,.motor-app h2,.motor-app h3{line-height:1.25}
.motor-app main h2{font-size:26px;margin:30px 0 14px;color:var(--mf-blue)}
.motor-app p{margin:0 0 18px}
.motor-app main p,.motor-app .mf-dialog-body li{font-size:16px;line-height:1.7}
.motor-app a{color:#005b83;text-decoration:underline;text-underline-offset:3px}
.motor-app a:hover{text-decoration-thickness:3px}
.motor-app :focus-visible{outline:3px solid #b84d00;outline-offset:5px}
.motor-app .page-breadcrumb a{color:#fff}.motor-app .page-breadcrumb a:hover{color:#d8edf8}
.motor-app main{display:flow-root;clear:both}
.motor-app .mf-intro{max-width:1040px;margin:0 auto 10px}
.motor-app .mf-intro #mf-guide-title{text-align:center;color:var(--mf-blue);font-weight:600}
.motor-app .mf-intro>p{font-size:18px;line-height:1.75}
.motor-app .mf-intro>p.mf-note{font-size:16px;line-height:1.7}
.mf-note{padding:16px 20px;background:#fff4d8;border-left:5px solid #b97505;border-radius:0 8px 8px 0}
.mf-bar{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:20px 0}
.mf-intro .mf-bar{justify-content:center}
.motor-app .mf-back,.motor-app .mf-jump,.motor-app .mf-begin{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;min-height:48px;box-sizing:border-box;color:white;background:var(--mf-blue);border:2px solid #12325e;box-shadow:4px 4px 0 #cad6db;text-decoration:none;transition:background-color .65s,color .65s,box-shadow .65s;cursor:pointer;font:600 17px/1.4 Arial,sans-serif;border-radius:5px}
.motor-app .mf-back:hover,.motor-app .mf-back:focus-visible,.motor-app .mf-jump:hover,.motor-app .mf-jump:focus-visible{background:#00758a;box-shadow:5px 5px 0 #a9bac4}
.motor-app .mf-jump{background:#246b9a;border-color:#1b567d}
.motor-app .mf-begin{background:#32833c;border-color:#286f31;border-radius:40px;min-width:160px}
.motor-app .mf-begin:hover{background:#175b25}
.motor-app p.mf-updated{font-size:14px;color:#475e6d}
/* The grid reserves a clear connector lane outside the rotated checks. */
.mf-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(236px,1fr));column-gap:36px;row-gap:32px;list-style:none;padding:28px 14px;margin:0}
.mf-node{--mf-size:130px;--mf-half:92px;position:relative;min-width:0;text-align:center;padding:40px 0 22px;float:none;list-style:none}
.motor-app .mf-node .mf-diamond{position:relative;display:block;margin:0 auto;width:var(--mf-size);height:var(--mf-size);box-sizing:border-box;border:1px solid #12325e;background:var(--mf-blue);transform:rotate(45deg);transition:background-color .65s,box-shadow .65s;color:#fff;cursor:pointer;padding:0;text-decoration:none;border-radius:2px;z-index:1}
.mf-diamond .mf-label{transform:rotate(-45deg);display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:9px;font:600 14px/1.5 Arial,sans-serif;box-sizing:border-box}
.motor-app .mf-node:hover .mf-diamond,.motor-app .mf-node:focus-within .mf-diamond{background:var(--mf-hover);box-shadow:0 0 0 3px #b5dde9}
.mf-false{position:absolute;left:calc(50% + var(--mf-half) + 14px);top:calc(40px + var(--mf-size)/2 - 25px);width:36px;z-index:2;color:#273e48;transition:color .5s;font:13px/1.1 Arial,sans-serif}
.mf-false b{position:relative;display:block;width:28px;height:6px;margin:9px 0 0;background:currentColor;font-size:0}
.mf-false b::after{content:"";position:absolute;right:-8px;top:-6px;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:10px solid currentColor}
.mf-node:hover .mf-false,.mf-node:focus-within .mf-false{color:var(--mf-red)}
.mf-node:last-child .mf-false{display:none}
.mf-true{display:block;margin:47px auto 0;line-height:1.45;font-size:14px;color:#273e48;transition:color .5s}
.mf-true b{position:relative;display:block;width:6px;height:27px;background:currentColor;font-size:0;margin:0 auto 9px}
.mf-true b::before{content:"";position:absolute;left:-6px;top:-8px;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:10px solid currentColor}
.mf-node:hover .mf-true,.mf-node:focus-within .mf-true{color:var(--mf-green)}
.mf-cta{display:block;font-size:13px;line-height:1.4;margin-top:10px;color:#245d8c;transition:color .4s}
.mf-node:hover .mf-cta,.mf-node:focus-within .mf-cta{color:#005273;text-decoration:underline;text-decoration-thickness:2px}
.mf-steps{padding-left:25px}.motor-app .mf-steps li{display:list-item;float:none;width:auto;max-width:none;padding-left:8px;margin:0 0 20px}
.mf-steps li::marker{font-weight:bold;color:#006c92;font-size:21px}
.motor-app .mf-dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 36px);max-width:1140px;padding:0;border:0;border-radius:12px;max-height:88dvh;overflow-y:auto;color:#193346;background:white;box-shadow:0 20px 90px #0008;font:400 16px/1.7 Arial,sans-serif}
.mf-dialog::backdrop{background:#000d}
.mf-dialog-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 24px;background:#fff;border-bottom:1px solid #cad7df;box-shadow:0 3px 8px #19334612}
.motor-app .mf-dialog h2{font-size:23px;line-height:1.25;margin:0;color:var(--mf-blue)}
.motor-app .mf-dialog h3{font:700 21px/1.35 Arial,sans-serif;margin:24px 0 18px;color:var(--mf-blue)}
.mf-close{flex:none;position:sticky;top:12px;width:46px;height:46px;border:2px solid #6b7e89;border-radius:50%;background:white;color:#193346;font-size:30px;cursor:pointer;transition:background-color .5s,color .5s}
.mf-close:hover{background:#ab2424;color:#fff;border-color:#ab2424}
.mf-dialog-body{padding:24px 30px 32px}
.mf-dialog figure{margin:22px auto 28px;text-align:center}.mf-dialog figure img{max-width:100%;height:auto;display:block;margin:auto;border-radius:8px}
.mf-dialog .mf-original img{max-height:430px;width:auto}.mf-dialog figcaption{font-size:14px;color:#445f70;margin-top:10px}
.mf-dialog .mf-tip{background:#eaf5ed;border-left:5px solid #318546;padding:16px 20px;border-radius:0 6px 6px 0}
.mf-dialog .mf-method{background:#f1f6fa;border:1px solid #d2e0e8;padding:13px 18px;border-radius:7px}
.mf-next{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:25px}
.mf-next button{padding:11px 16px;min-height:44px;cursor:pointer;background:#193f76;color:white;border:1px solid #12325e;border-radius:5px;font:600 15px/1.5 Arial,sans-serif;transition:background-color .65s}
.mf-next button:hover{background:#00758a}.mf-dialog:not([open]){display:none}html.mf-modal-open{overflow:hidden}
.motor-app p.mf-status{font-size:14px;color:#415c6c}.mf-dialog :focus-visible{outline:3px solid #b84d00;outline-offset:4px}
.mf-dialog a{color:#005b83;text-decoration:underline;text-underline-offset:3px}
.motor-app .mf-resources{display:flow-root;clear:both;border-top:1px solid #c7d8e2;margin-top:30px;padding-top:10px}
.motor-app .mf-resources ul{display:block;float:none;width:auto;height:auto;max-height:none;overflow:visible;padding:0 0 0 24px;margin:16px 0;columns:auto}
.motor-app .mf-resources li{display:list-item!important;float:none!important;position:static;width:auto;max-width:none;margin:10px 0;padding:0;list-style:disc}
.mf-share{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:26px 0;clear:both;color:#193f76}
.motor-app .mf-share .mf-social{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;box-sizing:border-box;border-radius:50%;color:#fff;text-decoration:none;background:#193f76;transition:background-color .6s,box-shadow .6s;box-shadow:0 2px 6px #193f7626}
.mf-social svg{display:block;width:23px;height:23px;fill:currentColor}
.motor-app .mf-share .mf-linkedin{background:#0a66c2}.motor-app .mf-share .mf-facebook{background:#1877f2}.motor-app .mf-share .mf-x{background:#142d45}
.motor-app .mf-share .mf-social:hover,.motor-app .mf-share .mf-social:focus-visible{background:#00758a;box-shadow:0 3px 9px #193f764d}
.mf-faq details{background:#f0f6ff;border:1px solid #b5cbe8;border-left:4px solid #193f76;border-radius:7px;padding:14px 18px;margin:12px 0}
.mf-faq summary{font-weight:bold;cursor:pointer;color:#193f76;transition:background-color .5s}.mf-faq summary:hover{text-decoration:underline;text-decoration-thickness:2px}.mf-faq details p{padding-top:12px}
.motor-app .product-skip{position:fixed;left:12px;top:-100px;z-index:10000;background:white;border:2px solid #00758a;padding:10px 16px}.motor-app .product-skip:focus{top:12px}
@media(max-width:760px){
 .motor-app .mf-wrap{padding:24px 16px}.mf-chart{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;row-gap:28px;padding:24px 14px}
 .motor-app .mf-dialog{width:calc(100% - 16px);max-height:94dvh}.mf-dialog-head{padding:12px 14px;gap:10px}.motor-app .mf-dialog h2{font-size:20px}
 .mf-dialog-body{padding:18px}.mf-dialog .mf-original img{max-height:320px}.mf-dialog-head .mf-close{width:44px;height:44px}.mf-dialog-body figure{margin:18px 0}.mf-note{padding:13px 15px}
}
@media(max-width:620px){.mf-chart{grid-template-columns:1fr;max-width:400px;margin:0 auto}.mf-node{padding-top:40px}.mf-bar{justify-content:center}.motor-app .mf-jump,.motor-app .mf-back{font-size:16px}.motor-app .mf-intro>p{font-size:18px}.mf-share{justify-content:center}}
@media(prefers-reduced-motion:reduce){.motor-app *{transition:none!important;scroll-behavior:auto!important}}
/* Begin follows the same column sizing as the checks, so its cue stays on step 1. */
.mf-start{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));column-gap:36px;padding:12px 14px 0;margin:0}
.mf-start-track{grid-column:1;display:flex;flex-direction:column;align-items:center}
.motor-app .mf-start-caption{grid-column:2/-1;align-self:start;margin:10px 0 0;font-size:18px}
.mf-start-arrow{position:relative;display:block;flex:none;width:8px;height:28px;background:#32833c;margin:18px auto 20px;animation:mf-begin-prompt 1.4s ease-in-out infinite}
.mf-start-arrow::after{content:"";position:absolute;left:-7px;bottom:-9px;border-left:11px solid transparent;border-right:11px solid transparent;border-top:12px solid #32833c}
.mf-start+.mf-chart{padding-top:0}
@keyframes mf-begin-prompt{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
@media(max-width:760px){
 .mf-chart{grid-template-columns:1fr;max-width:400px;margin:0 auto;row-gap:24px}
 .mf-start{grid-template-columns:1fr;max-width:400px;margin:0 auto;padding-top:8px}
 .motor-app .mf-start-caption{grid-column:1;grid-row:1;text-align:left;margin:0 0 18px;font-size:18px}
 .mf-start-track{grid-row:2}
 .mf-node{display:flex;flex-direction:column;align-items:center;padding:40px 0 24px}
 .mf-node .mf-diamond{order:0;flex:none}
 .mf-node .mf-true{position:absolute;left:calc(50% - var(--mf-half) - 56px);top:calc(40px + var(--mf-size)/2 - 12px);width:44px;margin:0;color:var(--mf-green)}
 .mf-true b{transform:rotate(90deg);margin-bottom:8px}
 .mf-true-label{display:block;font-size:0;line-height:1.2}
 .mf-true-label br{display:none}
 .mf-true-label::after{content:"If true";display:block;font-size:11px;white-space:nowrap}
 .mf-node .mf-cta{order:1;margin-top:47px}
 .mf-node .mf-false{position:relative;order:2;left:auto;right:auto;top:auto;bottom:auto;width:36px;margin:18px auto 0;text-align:center;color:var(--mf-red)}
 .mf-false b{width:6px;height:28px;margin:9px auto 0}
 .mf-false b::after{left:-6px;right:auto;top:auto;bottom:-8px;border-left:9px solid transparent;border-right:9px solid transparent;border-top:10px solid currentColor;border-bottom:0}
 .mf-direction-false,.mf-direction-true{font-size:0}
 .mf-direction-false::after{content:"↓";font-size:18px}
 .mf-direction-true::after{content:"→";font-size:18px}
}
@media(prefers-reduced-motion:reduce){.mf-start-arrow{animation:none}}

/* Fault-specific guidance, accessible checks and expandable work method. */
.motor-app .mf-dialog-body{padding-top:18px}
.motor-app .mf-dialog-body .mf-status{margin:0 0 10px;font-size:13px;line-height:1.4}
.motor-app .mf-dialog-body .mf-overview{font-size:18px;line-height:1.55;font-weight:500;color:#193f76;margin:0 0 14px}
.motor-app .mf-dialog-body .mf-safety-line{font-size:16px;line-height:1.45;padding:10px 13px;margin:0 0 16px;border-left:3px solid #b97505;background:#fff7e6;border-radius:0 5px 5px 0}
.motor-app .mf-dialog-body .mf-checks-title{margin:12px 0;font-size:20px}
.motor-app .mf-dialog-body .mf-steps{margin:0 0 20px;padding-left:26px}
.motor-app .mf-dialog-body .mf-steps li{margin-bottom:16px;line-height:1.6}
.motor-app .mf-dialog-body .mf-steps li:first-child{background:#edf5ff;border:1px solid #c6d9ef;border-radius:7px;padding:12px 16px}
.motor-app .mf-dialog-body .mf-steps li:first-child::before{content:"Start here";display:block;font-size:13px;line-height:1.3;color:#193f76;font-weight:700;margin-bottom:5px}
.motor-app .mf-dialog-body .mf-fault-visual{margin:24px auto;max-width:900px}
.motor-app .mf-dialog-body .mf-fault-visual img{width:100%;height:auto}
.motor-app .mf-work-details{border:1px solid #c5d5e4;border-radius:7px;background:#f2f6fa;padding:12px 16px;margin:20px 0}
.motor-app .mf-work-details summary{cursor:pointer;font-size:15px;line-height:1.5;font-weight:600;color:#193f76}
.motor-app .mf-work-details summary:hover{text-decoration:underline;text-decoration-thickness:2px}
.motor-app .mf-work-details[open] summary{margin-bottom:12px}
.motor-app .mf-work-details p:last-child{margin-bottom:0}
@media(max-width:760px){
 .motor-app .mf-dialog-body{padding-top:14px}
 .motor-app .mf-dialog-body .mf-overview{font-size:17px;line-height:1.5;margin-bottom:12px}
 .motor-app .mf-dialog-body .mf-safety-line{font-size:16px;line-height:1.45;padding:9px 11px;margin-bottom:12px}
 .motor-app .mf-dialog-body .mf-checks-title{font-size:19px;margin:12px 0}
 .motor-app .mf-dialog-body .mf-steps li:first-child{padding:10px 12px}
}

/* Centered annotated reference photos, before each fault's opening explanation. */
.motor-app .mf-dialog-body .mf-fault-photo{margin:8px auto 16px;text-align:center;max-width:650px}
.motor-app .mf-fault-photo>a{display:table;margin:0 auto;border-radius:7px;outline-offset:4px;overflow:hidden}
.motor-app .mf-fault-photo img{display:block;width:auto;max-width:100%;height:220px;object-fit:contain;border-radius:7px}
.motor-app .mf-fault-photo figcaption{font-size:14px;line-height:1.45;margin:8px auto 0;color:#284e68;max-width:620px}
.motor-app .mf-photo-origin{font-weight:600;color:#193f76}
@media(max-width:760px){
 .motor-app .mf-dialog-body .mf-fault-photo{margin:6px auto 12px}
 .motor-app .mf-fault-photo img{height:150px;max-width:100%}
 .motor-app .mf-fault-photo figcaption{font-size:13px;line-height:1.4;margin-top:6px}
}

/* Images open above the existing fault tile; closing returns to that tile. */
.motor-app .mf-image-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:calc(100% - 24px);max-width:1320px;max-height:94dvh;padding:0;border:0;border-radius:10px;overflow:auto;background:#fff;color:#193346;box-shadow:0 20px 90px #0009;font:400 16px/1.5 Arial,sans-serif}
.mf-image-dialog:not([open]){display:none}
.mf-image-dialog::backdrop{background:#000e}
.motor-app .mf-image-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;background:#fff;border-bottom:1px solid #cad7df}
.motor-app .mf-image-head h2{margin:0;color:#193f76;font-size:21px;line-height:1.3}
.motor-app .mf-image-content{margin:0;padding:16px;text-align:center}
.motor-app .mf-image-content img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(90dvh - 160px);object-fit:contain;margin:auto;border-radius:5px}
.motor-app .mf-image-content figcaption{max-width:1000px;margin:12px auto 0;font-size:14px;line-height:1.5;color:#284e68}
.motor-app .mf-extra-visual{margin-top:26px;padding-top:2px;border-top:1px solid #c7d8e2}
@media(max-width:760px){.motor-app .mf-image-dialog{width:calc(100% - 12px);max-height:96dvh}.motor-app .mf-image-head{padding:10px 12px;gap:10px}.motor-app .mf-image-head h2{font-size:18px}.motor-app .mf-image-content{padding:10px}.motor-app .mf-image-content img{max-height:calc(92dvh - 170px)}}
