/* Scoped Electrical Diagnostics pages, using the existing Mister Safety brand. */
.ed{--ed-green:#006814;--ed-ink:#143b24;--ed-pale:#f1f6ef;--ed-line:#d3dfd1;color:var(--ed-ink);font-size:17px;line-height:1.65;background:#fff}
.ed *, .ed-related-article *{box-sizing:border-box}.ed [hidden]{display:none!important}.ed a{text-underline-offset:4px}.ed a:focus-visible,.ed button:focus-visible,.ed input:focus-visible,.ed select:focus-visible,.ed textarea:focus-visible,.ed summary:focus-visible,.ed-table-scroll:focus-visible{outline:3px solid #c99013;outline-offset:4px}.ed-wrap{width:min(1280px,100%);margin:auto;padding-inline:clamp(22px,4vw,56px)}.ed h1,.ed h2,.ed h3{font-weight:750;line-height:1.13;letter-spacing:-.035em;text-wrap:balance}.ed h1{font-size:clamp(2.6rem,4.6vw,4.7rem);margin:22px 0}.ed h2{font-size:clamp(1.85rem,3.2vw,3rem);margin:14px 0 24px;max-width:850px}.ed h3{font-size:1.3rem;margin:0 0 15px;letter-spacing:-.02em}.ed p{margin:0 0 20px;max-width:850px}.ed p:last-child{margin-bottom:0}.ed-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ed-hero{background:#073e20;color:#fff;padding:26px 0 68px}.ed-crumb{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:46px;align-items:center}.ed-crumb a{color:#d5edda}.ed-hero-grid{display:grid;grid-template-columns:1.25fr .8fr;gap:clamp(30px,5vw,80px);align-items:center}.ed-hero .ed-eyebrow{color:#ebca68}.ed-intro{font-size:clamp(1.1rem,1.5vw,1.3rem);color:#e4eee4}.ed-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 20px}.ed .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;line-height:1.3;text-align:center;font-weight:750;border-radius:6px;padding:15px 22px;white-space:normal;text-decoration:none;cursor:pointer;font-size:15px;background:var(--ed-green);color:#fff;border:1px solid transparent}.ed .btn--spark{background:#ffcc65;color:#173c24}.ed .btn--outline-light{background:transparent;border-color:#92b59c;color:#fff}.ed .btn:hover{filter:brightness(.94)}.ed-hero-note{font-size:14px;color:#caddcd;max-width:560px!important}.ed-glance{background:#f3f5eb;color:#193d27;border-radius:14px;padding:30px;box-shadow:0 14px 32px #001b1622}.ed-glance-label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#55725a}.ed-glance h2{font-size:1.9rem;margin:12px 0 22px}.ed-glance li{padding-left:3px;margin:10px 0}.ed-glance ul{padding-left:22px}.ed-glance p{font-size:14px}.ed-symptom-nav{display:flex;flex-direction:column}.ed-symptom-nav a{border-top:1px solid #d6dfce;color:#15492a;padding:13px 25px 13px 0;text-decoration:none;font-weight:700;position:relative}.ed-symptom-nav a:after{content:'↗';position:absolute;right:2px}.ed-symptom-nav a:hover{text-decoration:underline}.ed-glance-bottom{border-top:1px solid #d6dfce;padding-top:18px;margin-top:8px}.ed-safety{background:#fff4df;border-bottom:1px solid #e7d9bb;padding:22px 0;font-size:15px;scroll-margin-top:110px}.ed-safety .ed-wrap{display:grid;grid-template-columns:230px 1fr;gap:30px}.ed-safety strong{font-size:18px;line-height:1.4}.ed-safety p{max-width:none}.ed-safety a,.ed-section a{color:var(--ed-green)}.ed-jump{border-bottom:1px solid var(--ed-line);background:#fff}.ed-jump .ed-wrap{display:flex;gap:30px;overflow-x:auto;padding-block:18px}.ed-jump a{font-size:14px;font-weight:750;color:var(--ed-green);flex-shrink:0;text-decoration:none}.ed-jump a:hover{text-decoration:underline}.ed-section{padding:70px 0;scroll-margin-top:100px}.ed-tint{background:#f6f8f4}.ed-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0}.ed-grid-two{grid-template-columns:repeat(2,1fr)}.ed-card{background:#fff;border:1px solid var(--ed-line);border-radius:10px;padding:27px}.ed-card p{font-size:16px}.ed-directory{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:32px 0}.ed-directory a{display:block;padding:28px;border:1px solid var(--ed-line);border-radius:10px;text-decoration:none;color:var(--ed-ink);background:#f6f8f2;transition:border-color .15s}.ed-directory a:hover{border-color:var(--ed-green)}.ed-directory span{font-size:11px;letter-spacing:.12em;font-weight:800;color:#547059}.ed-directory h3{font-size:1.6rem;margin-top:22px}.ed-directory p{font-size:16px}.ed-source-note{font-size:12px;color:#5b6c5d;margin-top:25px!important;line-height:1.8}.ed-source-note a{color:#426447}.ed-related-inline{display:flex;gap:12px 28px;flex-wrap:wrap;margin-top:24px}.ed-arrow-link{font-weight:750;font-size:15px}.ed-arrow-link:after{content:' →'}.ed-table-scroll{overflow-x:auto;margin:30px 0;border:1px solid var(--ed-line);border-radius:10px}.ed table{width:100%;border-collapse:collapse;min-width:610px;font-size:15px;line-height:1.6}.ed caption{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.ed th,.ed td{padding:20px 22px;text-align:left;vertical-align:top;border-bottom:1px solid var(--ed-line)}.ed thead{background:#e8efdf}.ed tbody th{width:27%;font-weight:750}.ed tr:last-child td,.ed tr:last-child th{border-bottom:0}.ed-simple{background:#eaf1e2;border-block:1px solid #d7e3ce}.ed-simple .ed-wrap>p{font-size:19px;line-height:1.75;max-width:940px}.ed-record{margin:32px 0;background:#eff3e9;border-left:4px solid var(--ed-green);border-radius:0 12px 12px 0;padding:30px}.ed-record figcaption{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:750}.ed-record blockquote{font-size:24px;line-height:1.5;margin:22px 0;font-weight:650;max-width:820px}.ed-record dl{display:flex;gap:45px;flex-wrap:wrap;border-top:1px solid var(--ed-line);padding-top:20px}.ed-record dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.ed-record dd{margin:5px 0 0;font-weight:700}.ed-record>p{font-size:14px}.ed-faqs{max-width:940px}.ed-details{border-top:1px solid var(--ed-line)}.ed-details:last-child{border-bottom:1px solid var(--ed-line)}.ed-details summary{cursor:pointer;padding:22px 34px 22px 0;line-height:1.5;font-weight:750;font-size:18px}.ed-details>div{padding:0 0 26px}.ed-details p{font-size:16px}.ed-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:25px}.ed-guide-link{display:block;border:1px solid var(--ed-line);border-radius:8px;padding:22px;background:#fff;font-size:17px;font-weight:750;text-decoration:none}.ed-guide-link:after{content:' ↗'}.ed-guide-link:hover{text-decoration:underline}.ed-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:start}.ed-answer{padding:25px;background:#eff4e8;border-radius:10px;margin:25px 0}.ed-answer p{font-size:16px}.ed-note{font-size:14px;color:#526d58}.ed-form{border:1px solid var(--ed-line);border-radius:12px;background:#f8faf6;padding:30px;box-shadow:0 10px 30px #24422608}.ed-form h3{font-size:1.55rem}.ed-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:20px 0}.ed-form label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:14px}.ed-full{grid-column:1/-1}.ed-form input,.ed-form select,.ed-form textarea{appearance:auto;font:inherit;font-size:16px;font-weight:400;line-height:1.5;background:#fff;border:1px solid #a5baa8;color:#163c24;border-radius:5px;width:100%;min-width:0;padding:11px 12px}.ed-form input,.ed-form select{min-height:48px}.ed-form textarea{resize:vertical}.ed-form [aria-invalid=true]{border:2px solid #a3261c}.ed-form button{width:100%;margin-bottom:18px}.ed-form button:disabled{opacity:.65;cursor:wait}.ed-status{padding:20px;border:1px solid #87ac83;background:#e7f1df;border-radius:6px;margin-top:20px}.ed-status[role=alert]{background:#fff0e7;border-color:#c6957b}.ed-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.ed-sources{padding-block:30px 45px}.ed-sources .ed-details{margin-top:20px}.ed-sources ul{padding-left:22px}.ed-sources li{margin:16px 0}.ed-sticky{display:none}.ed-related-article{max-width:1140px;margin:45px auto;padding:30px;background:#eef4e8;border:1px solid #d3dfd1;border-radius:10px;color:#163c24}.ed-related-article h2{font-size:28px;line-height:1.2}.ed-related-article p{max-width:800px}.ed-related-article a{color:#006814;font-weight:750}
@media(max-width:900px){.ed-hero-grid{grid-template-columns:1fr 1fr;gap:26px}.ed-glance{padding:25px}.ed-split{grid-template-columns:1fr;gap:35px}.ed-form{max-width:700px;width:100%}.ed-grid{grid-template-columns:1fr 1fr}.ed-guide-grid{grid-template-columns:1fr 1fr}.ed-safety .ed-wrap{grid-template-columns:1fr;gap:8px}}
@media(max-width:650px){.ed{font-size:16px;padding-bottom:77px}.ed-hero{padding:20px 0 40px}.ed-crumb{margin-bottom:28px;font-size:12px;gap:7px}.ed-hero-grid{grid-template-columns:1fr;gap:30px}.ed h1{font-size:2.8rem}.ed h2{font-size:2rem}.ed-actions{gap:10px}.ed-hero .ed-actions .btn{width:100%}.ed-glance{padding:25px}.ed-glance h2{font-size:1.65rem}.ed-safety{padding:22px 0}.ed-jump .ed-wrap{gap:24px}.ed-section{padding:45px 0}.ed-directory,.ed-grid,.ed-grid-two,.ed-guide-grid{grid-template-columns:1fr}.ed-directory a,.ed-card{padding:24px}.ed-simple .ed-wrap>p{font-size:18px}.ed-record{padding:22px;margin-inline:0}.ed-record blockquote{font-size:21px}.ed-record dl{gap:20px}.ed-form{padding:23px 19px}.ed-input-grid{grid-template-columns:1fr}.ed-full{grid-column:auto}.ed-sticky{position:fixed;bottom:0;inset-inline:0;z-index:40;display:grid;grid-template-columns:90px 1fr;gap:9px;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d3dfd1;box-shadow:0 -6px 24px #123d2010}.ed-sticky .btn{font-size:14px;min-height:46px;padding:12px 15px}.ed-related-article{margin:30px 18px;padding:24px}.ed-source-note{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.ed *{scroll-behavior:auto!important;transition:none!important}}

/* Keep the service headline legible over the shared site heading color. */
.ed .ed-hero h1{color:#fff}
@media(max-width:650px){.ed-request .ed-form{grid-row:1}}
/* Diagnostic visit, evidence and preparation components. All rules stay scoped. */
.ed .ed-hero h2{color:#143b24}.ed .ed-hero h1{max-width:740px}.ed .ed-intro{max-width:710px}.ed .ed-hero-grid{grid-template-columns:1.3fr .8fr}.ed .ed-glance ol{list-style:none;margin:18px 0 25px;padding:0}.ed .ed-glance li{display:flex;align-items:flex-start;gap:15px;padding:16px 0;margin:0;border-bottom:1px solid #d6dfce}.ed .ed-glance li>span{font-size:12px;color:#58745c;font-weight:800;padding-top:4px}.ed .ed-glance li strong{font-size:17px;display:block;margin-bottom:5px}.ed .ed-glance li p{font-size:15px;line-height:1.6}.ed .ed-glance>a{color:#006814}.ed .ed-glance h2{font-size:1.95rem}.ed .ed-extra{max-width:940px;margin:28px 0 0}.ed .ed-visit{list-style:none;padding:0;max-width:1000px;margin:35px 0}.ed .ed-visit li{display:grid;grid-template-columns:54px 1fr;gap:24px;padding:26px 0;border-top:1px solid var(--ed-line)}.ed .ed-visit li>span{background:#eaf1e2;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;font-size:15px;font-weight:800}.ed .ed-visit h3{margin:0 0 9px;font-size:1.4rem}.ed .ed-visit p{margin:0;max-width:830px}.ed .ed-outcomes{margin:35px 0 0;border:1px solid var(--ed-line);border-radius:12px;padding:30px;background:#f7f9f4}.ed .ed-outcomes figcaption{font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:750;color:#526d58}.ed .ed-evidence-path{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:0;margin:25px 0 30px;list-style:none}.ed .ed-evidence-path li{position:relative;padding:22px 18px;border:1px solid #c6d6c4;background:white;border-radius:7px}.ed .ed-evidence-path li:not(:last-child):after{content:'→';position:absolute;right:-23px;top:25px;font-size:20px}.ed .ed-evidence-path strong,.ed .ed-evidence-path span{display:block}.ed .ed-evidence-path span{font-size:14px;line-height:1.5;margin-top:7px}.ed .ed-choice-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.ed .ed-choice-buttons button{appearance:none;background:#fff;color:#154a28;border:1px solid #91ad92;border-radius:6px;padding:13px 17px;min-height:48px;font:inherit;font-size:15px;font-weight:750;cursor:pointer}.ed .ed-choice-buttons button[aria-pressed=true]{background:#006814;color:#fff;border-color:#006814}.ed .ed-choice-buttons button:hover{border-color:#123b24}.ed .ed-outcome{padding:27px 24px;background:#eaf1e2;border-radius:8px;margin:18px 0}.ed .ed-outcome h3{font-size:1.6rem;margin-top:12px}.ed .ed-photo{display:grid;grid-template-columns:1.05fr .95fr;margin:30px 0 0;background:#eaf1e2;border-radius:12px;overflow:hidden;align-items:stretch}.ed .ed-photo img{display:block;width:100%;height:100%;min-height:300px;max-height:465px;object-fit:cover;object-position:center}.ed .ed-photo figcaption{padding:clamp(26px,4vw,48px);align-self:center}.ed .ed-photo strong{display:block;font-size:clamp(1.7rem,2.6vw,2.5rem);font-weight:750;line-height:1.2;letter-spacing:-.03em;margin-bottom:20px}.ed .ed-photo figcaption span{font-size:12px;color:#526d58;display:block;margin-top:25px}.ed .ed-form-history{margin-top:4px}.ed .ed-form-history summary{font-size:15px;padding-block:16px}.ed .ed-form-history>div{display:grid;gap:16px;padding-bottom:18px}.ed .ed-form-history .ed-note{margin-top:2px}.ed .ed-form [aria-invalid=true]{scroll-margin-top:140px}.ed .ed-related-inline .ed-arrow-link{display:inline-block}.ed-related-article .ed-related-inline{display:flex;gap:15px 28px;flex-wrap:wrap;margin-top:20px}.ed .ed-status{scroll-margin-block:150px}.ed .ed-jump a{min-height:24px}.ed .ed-source-note{max-width:1020px}.ed .ed-sources .ed-note{max-width:950px}.ed .ed-sources a{overflow-wrap:anywhere}
@media(max-width:1000px){.ed .ed-hero-grid{grid-template-columns:1.1fr .85fr;gap:28px}.ed .ed-glance h2{font-size:1.7rem}}
@media(max-width:760px){.ed .ed-hero-grid{grid-template-columns:1fr}.ed .ed-hero h1{max-width:650px}.ed .ed-glance{max-width:650px}.ed .ed-photo{grid-template-columns:1fr}.ed .ed-photo img{height:auto;min-height:0;max-height:none}.ed .ed-evidence-path{gap:16px}.ed .ed-evidence-path li:not(:last-child):after{right:-15px;font-size:15px}}
@media(max-width:650px){.ed{padding-bottom:105px}.ed .ed-hero h1{font-size:clamp(2.3rem,9vw,2.8rem)}.ed .ed-hero .ed-actions .btn{width:100%}.ed .ed-evidence-path{grid-template-columns:1fr;gap:26px}.ed .ed-evidence-path li{padding:18px}.ed .ed-evidence-path li:not(:last-child):after{content:'↓';right:auto;left:25px;top:auto;bottom:-27px;font-size:20px}.ed .ed-outcomes{padding:22px 19px}.ed .ed-choice-buttons{display:grid;grid-template-columns:1fr}.ed .ed-outcome{padding:23px 19px}.ed .ed-visit li{grid-template-columns:38px 1fr;gap:16px}.ed .ed-visit li>span{height:36px;width:36px;font-size:12px}.ed .ed-visit h3{font-size:1.24rem}.ed .ed-photo figcaption{padding:27px}.ed .ed-sticky{grid-template-columns:70px 1fr;gap:8px}.ed .ed-sticky .btn{font-size:12px;padding:11px 10px;min-height:48px;line-height:1.4}.ed .ed-sticky .btn--spark{max-width:none}.ed .ed-form-history summary{font-size:15px}.ed .ed-form>button.btn{font-size:13px;padding:16px 10px;line-height:1.4}.ed .ed-request .ed-form{grid-row:1}body:has(.ed-form :focus) .ed-sticky{display:none}}
@media print{.ed .ed-sticky,.ed .ed-request,.ed .ed-choice-buttons{display:none}.ed .ed-outcome[hidden]{display:block!important}.ed .ed-hero{background:white;color:#143b24}.ed .ed-hero h1,.ed .ed-intro,.ed .ed-hero-note{color:#143b24}}
/* Keep the existing header links and booking actions in view on compact desktops. */
@media(min-width:1200px) and (max-width:1300px){body:has(main.ed) .site-header .navbar-inner{gap:12px}body:has(main.ed) .site-header .nav-desktop{gap:10px}body:has(main.ed) .site-header .nav-link{font-size:13px}body:has(main.ed) .site-header .brand img{height:42px}body:has(main.ed) .site-header .nav-actions{gap:10px}body:has(main.ed) .site-header .nav-quote{font-size:13px;padding:14px 16px}}
