@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#101d2b;--navy:#091321;--navy2:#102336;--muted:#526477;--ice:#ddeaf7;--line:#dce4eb;--accent:#0ea5e9;--blue:#0ea5e9;--white:#fff}.mgs-shell,.mgs-shell *{box-sizing:border-box}html:has(body.mgs2-managed){scroll-behavior:smooth}.mgs-shell{margin:0;background:#fff;color:var(--ink);font:16px/1.65 'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}.mgs-shell h1,.mgs-shell h2,.mgs-shell h3,.mgs-shell p{margin-top:0}.mgs-shell h1,.mgs-shell h2,.mgs-shell h3,.wordmark,.footer-wordmark{font-family:Manrope,Arial,sans-serif}.mgs-shell a{text-decoration:none}.mgs-shell button,.mgs-shell input,.mgs-shell textarea,.mgs-shell select{font:inherit}.container{width:min(1180px,calc(100% - 56px));margin-inline:auto}.skip-link{position:absolute;top:-80px;left:16px;background:#fff;padding:12px;z-index:999}.skip-link:focus{top:16px}.site-header{position:sticky;top:0;z-index:99;background:rgba(9,20,33,.97);border-bottom:1px solid rgba(255,255,255,.11);backdrop-filter:blur(16px)}.nav-inner{width:min(1260px,calc(100% - 56px));margin:auto;display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:24px}.wordmark{display:flex;gap:13px;align-items:center;color:#fff}.wordmark-mark{width:45px;height:45px;border:1px solid rgba(123,218,203,.52);display:grid;place-items:center;font-size:18px;font-weight:800;letter-spacing:0}.wordmark-mark .slash{color:var(--accent);padding:0 2px}.wordmark-text{font-size:13px;font-weight:800;letter-spacing:.16em;line-height:1.3}.wordmark-text small{display:block;color:#97a8b8;font:600 8px/2 'DM Sans',Arial,sans-serif;letter-spacing:.2em}.nav-links{display:flex;align-items:center;gap:26px}.nav-links a{color:#d9e3ea;font-size:13px;font-weight:700;transition:color .2s}.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--accent)}.nav-links .nav-contact{background:var(--accent);color:var(--navy);padding:12px 19px;border-radius:4px}.nav-links .nav-contact:hover{background:#fff;color:#071522}.nav-toggle{display:none;background:none;color:#fff;border:1px solid #415263;padding:8px 13px;cursor:pointer;border-radius:4px}.mgs-btn{display:inline-flex;justify-content:space-between;align-items:center;gap:30px;padding:15px 23px;font-size:13px;font-weight:800;letter-spacing:.02em;border-radius:4px;border:1px solid transparent;line-height:1.3;transition:transform .2s,background .2s,color .2s;cursor:pointer}.mgs-btn span{font-size:19px;font-weight:400}.mgs-btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--accent);color:var(--navy)}.btn-primary:hover{background:#fff}.btn-outline{border-color:#718293;color:#fff;background:transparent}.btn-outline:hover{background:#fff;color:var(--navy)}.btn-dark{background:var(--navy);color:#fff}.btn-dark:hover{background:var(--blue)}.hero{background:radial-gradient(circle at 10% 75%,#17334c 0,transparent 47%),linear-gradient(125deg,#07111d,#10283b 80%);color:#fff;overflow:hidden;position:relative}.hero::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.13;background-image:linear-gradient(#5a8db3 1px,transparent 1px),linear-gradient(90deg,#5a8db3 1px,transparent 1px);background-size:90px 90px;mask-image:linear-gradient(90deg,transparent 35%,#000)}.hero-layout{position:relative;z-index:1;display:grid;grid-template-columns:1.16fr .84fr;gap:65px;align-items:center;min-height:690px;padding-block:88px 100px}.hero-copy{max-width:680px}.hero-meta,.mgs-eyebrow{font-size:11px;letter-spacing:.23em;font-weight:800;color:#1684b6;text-transform:uppercase}.hero-meta{display:flex;gap:12px;align-items:center;color:#b1d7d1}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #0ea5e918}.hero h1{font-size:clamp(40px,4.5vw,66px);letter-spacing:-.055em;line-height:1.08;font-weight:800;margin:28px 0}.hero h1 em,.editorial h2 em{font-style:normal;color:var(--accent)}.hero-intro{font-size:19px;line-height:1.55;color:#e7f0f4;max-width:575px}.hero-detail{font-size:15px;color:#aebecd;max-width:540px}.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:32px}.hero-foot{display:flex;gap:35px;margin-top:54px;padding-top:22px;border-top:1px solid #34495a}.hero-foot strong{display:block;font-size:12px}.hero-foot small{font-size:11px;color:#91a6b7}.hero-visual{position:relative;max-width:460px;justify-self:end}.portrait-frame{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:2px;background:#253a48;box-shadow:0 22px 70px #0005}.portrait-frame:before{content:'';position:absolute;z-index:1;inset:0;box-shadow:inset 0 0 0 1px #ffffff21;pointer-events:none}.portrait-frame img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}.portrait-label{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#07111de8);color:#fff;padding:55px 23px 23px}.portrait-label span{display:block;font-size:13px;letter-spacing:.17em;font-weight:800}.portrait-label small{font-size:11px;color:#d2e0e7}.floating-chip{position:absolute;padding:11px 16px;background:#ecf5f5;color:#112334;font-size:11px;font-weight:800;letter-spacing:.12em;box-shadow:0 10px 28px #0004}.floating-chip span{color:#137fa7}.chip-one{top:15%;left:-36px}.chip-two{right:-30px;bottom:24%}.proof-bar{background:#e9f1f8;padding:56px 0;border-block:1px solid #d5e3ee}.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.proof-grid>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:27px 27px 29px;background:#fff;border:1px solid #d5e3ed;border-top:4px solid #0ea5e9;box-shadow:0 10px 24px #0b233a08}.proof-grid strong{font:800 clamp(19px,1.55vw,23px)/1.23 Manrope,Arial,sans-serif;letter-spacing:-.03em;color:#102f4b;min-width:0;max-width:100%;overflow-wrap:normal}.proof-grid span{font-size:14px;line-height:1.65;color:#3c5269;max-width:38ch}.proof-qualifier{font-size:10px;color:#607683;padding-top:12px;margin-bottom:0}.section{padding:106px 0}.section.light{background:#fff}.section.muted{background:#edf3f6}.section.dark{background:#0b1927;color:#fff}.section-heading{max-width:740px;margin-bottom:40px}.section-heading h2,.editorial h2,.solution-banner h2,.center-cta h2{font-size:clamp(31px,3.6vw,49px);letter-spacing:-.045em;line-height:1.15;margin:15px 0}.section-heading p{font-size:17px;color:#536578;max-width:650px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.service-card{background:#f3f7f8;padding:31px;min-height:235px;border:1px solid #e6ebee;transition:transform .2s,border .2s}.service-card:hover{transform:translateY(-4px);border-color:#8dcdf2}.service-n{font-size:11px;letter-spacing:.18em;color:#137fa7;font-weight:800}.service-card h3{font-size:20px;letter-spacing:-.035em;line-height:1.25;margin:40px 0 9px}.service-card p{font-size:14px;color:#516272;line-height:1.65;margin:0}.section-action{margin-top:32px}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:11%}.editorial h2{font-size:clamp(36px,4.8vw,60px);margin-top:22px}.editorial p{color:#bfd0db;font-size:17px}.editorial .mgs-btn{margin-top:18px}.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-card{min-height:380px;background:#0d2233;color:#fff;padding:29px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.case-card:nth-child(2){background:#16394a}.case-card:nth-child(3){background:#193b48}.case-card:nth-child(4){background:#233c4e}.case-card:before{content:'';width:270px;height:270px;position:absolute;border:1px solid #ffffff18;border-radius:50%;right:-85px;top:-95px;box-shadow:0 0 0 45px #ffffff07,0 0 0 90px #ffffff04}.case-top{display:flex;justify-content:space-between;position:relative;color:#a9dfff;letter-spacing:.15em;font-size:10px;font-weight:800}.case-top span:last-child{font-size:22px}.case-content{position:relative}.case-content h3{font-size:clamp(23px,2.5vw,31px);letter-spacing:-.04em;margin:0 0 10px;line-height:1.2}.case-content p{font-size:14px;color:#d2e1ea;max-width:520px}.case-note{border-top:1px solid #ffffff30;padding-top:14px;margin-top:23px}.case-note strong{display:block;color:#a9dfff;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.case-note small{display:block;color:#b7cbd7;font-size:12px;line-height:1.5;margin-top:6px}.solution-banner{background:#10283b;color:#fff;padding:55px;display:grid;grid-template-columns:1.5fr 1fr;gap:30px;align-items:center;overflow:hidden}.solution-banner h2{max-width:650px}.solution-banner p{color:#c4d4de;max-width:540px}.solution-banner .mgs-btn{margin-top:13px}.solution-banner .mgs-eyebrow{color:var(--accent)}.orbit-graphic{position:relative;width:270px;height:270px;justify-self:center;border:1px solid #568a9b;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 32px #ffffff08,0 0 0 64px #ffffff04}.orbit-graphic:after{content:'';position:absolute;inset:34px;border-radius:50%;border:1px dashed #6aabb1}.orbit-graphic strong{color:var(--accent);font-size:21px;letter-spacing:.12em;z-index:1}.orbit-graphic span{position:absolute;background:#1d4555;border:1px solid #557e82;padding:5px 9px;font-size:9px;letter-spacing:.14em}.orbit-graphic span:nth-child(1){top:0}.orbit-graphic span:nth-child(2){bottom:22px;left:-10px}.orbit-graphic span:nth-child(3){right:-18px;top:50%}.site-footer{background:#07111d;color:#fff;padding-top:70px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:55px;padding-bottom:65px}.footer-wordmark{font-weight:800;font-size:24px;letter-spacing:-.04em;color:#fff}.footer-wordmark span{color:var(--accent)}.footer-main p{color:#8eabbc;font-size:13px;max-width:300px;margin-top:15px}.footer-main>div:not(:first-child){display:flex;flex-direction:column;align-items:start;gap:10px}.footer-main strong{font-size:10px;letter-spacing:.16em;color:#7cc9f1;margin-bottom:13px}.footer-main a{color:#d0dce4;font-size:13px}.footer-main a:hover{color:var(--accent)}.footer-bottom{padding:20px 0;border-top:1px solid #253746;display:flex;justify-content:space-between;font-size:11px;color:#8298a7}.subhero{background:radial-gradient(circle at 85% 30%,#1e4258,#091421 65%);color:#fff;padding:110px 0}.subhero .mgs-eyebrow{color:var(--accent)}.subhero h1{font-size:clamp(42px,5vw,66px);max-width:930px;letter-spacing:-.05em;line-height:1.12;margin:22px 0}.subhero p{color:#c0d0dd;font-size:19px;max-width:760px}.center-cta{text-align:center}.center-cta p{color:#c3d3dd;font-size:17px}.center-cta .mgs-btn{margin-top:15px}.cap-detail{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:100px}.cap-detail article{border-top:2px solid #0ea5e9;padding-top:24px}.cap-detail h2{font-size:23px;line-height:1.25;letter-spacing:-.03em}.cap-detail p{font-size:14px;color:#506476}.disclosure{border:1px solid #dce4e8;padding:26px 29px;margin-top:42px;background:#f6f9fa}.disclosure h3{font-size:17px}.disclosure p{color:#56687a;font-size:14px;margin:0}.steps{max-width:900px;margin:auto}.steps article{display:grid;grid-template-columns:85px 1fr;gap:30px;padding:37px 0;border-bottom:1px solid #d8e2e7}.steps b{font:800 40px/1 Manrope;color:#0e8bb8}.steps h2{font-size:25px;letter-spacing:-.04em}.steps p{color:#506477;max-width:720px}.engagements{margin-top:95px}.engagements h2{font-size:32px}.eng-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.eng-grid article{background:#eff5f6;padding:26px}.eng-grid h3{font-size:20px}.eng-grid p{color:#526577;font-size:14px}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:75px;align-items:center}.about-portrait{width:100%;max-height:610px;object-fit:cover;display:block}.about-copy h2{font-size:clamp(29px,3vw,42px);letter-spacing:-.04em;line-height:1.18}.about-copy p{color:#4b6072}.about-line{padding:19px 0;border-block:1px solid #d9e4e9;font-weight:700;margin:28px 0}.finder{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid #dbe5e9;min-height:460px}.finder-options{background:#f1f6f7;padding:20px;display:flex;flex-direction:column;gap:10px}.finder-option{width:100%;text-align:left;padding:23px;background:#fff;border:1px solid #dce6e9;font-size:15px;font-weight:700;color:#102334;cursor:pointer;display:flex;align-items:center;gap:15px}.finder-option span{color:#137fa7;font-size:11px;font-weight:800}.finder-option.active{background:#0d2b3e;color:#fff;border-color:#0d2b3e}.finder-answer{padding:46px}.finder-answer h2{font-size:32px;line-height:1.2;letter-spacing:-.04em;margin:15px 0}.finder-answer h3{font-size:13px;letter-spacing:.07em;text-transform:uppercase;margin:24px 0 7px}.finder-answer p{color:#54697b;font-size:15px}.finder-answer .mgs-btn{margin-top:16px}.rep-note{padding:32px 0;max-width:760px}.rep-note p{color:#52687a}.contact-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:90px}.contact-copy h2{font-size:35px;line-height:1.2;letter-spacing:-.04em}.contact-copy p{color:#526779}.direct-email{color:#176677;font-weight:800}.form-panel{background:#f3f7f8;padding:36px;border:1px solid #e0e8eb}.form-panel form{display:grid;gap:16px}.form-panel label{display:block;color:#1e3647;font-size:12px;font-weight:800}.form-panel label span{color:#b05555}.form-panel input,.form-panel textarea,.form-panel select{display:block;width:100%;background:#fff;color:#172a3b;border:1px solid #cbd9e0;padding:13px;margin-top:7px;border-radius:3px;font-size:15px}.form-panel input:focus,.form-panel textarea:focus,.form-panel select:focus{outline:2px solid #137fa7;outline-offset:2px}.form-panel .submit-btn{width:100%;justify-content:space-between}.form-panel small{font-size:11px;color:#617485}.hp-field{position:absolute!important;left:-9999px!important;opacity:0}.form-result,.form-error{padding:15px;margin-bottom:20px;border-left:3px solid #338c7b;background:#e4f4f1;color:#1c4c47}.form-error{background:#ffecec;color:#722;border-color:#c66}.reveal{transition:transform .5s,opacity .5s}.js-reveal .reveal{opacity:0;transform:translateY(16px)}.js-reveal .reveal.is-visible{opacity:1;transform:translateY(0)}@media(max-width:980px){.nav-toggle{display:block}.nav-links{position:absolute;left:0;right:0;top:100%;background:#091421;display:none;flex-direction:column;align-items:stretch;gap:0;padding:10px 28px 25px;box-shadow:0 15px 28px #0004}.nav-links.open{display:flex}.nav-links a{padding:13px 0}.nav-links .nav-contact{text-align:center;margin-top:10px}.hero-layout{gap:25px}.hero h1{font-size:48px}.hero-foot{flex-direction:column;gap:15px}.service-grid{grid-template-columns:repeat(2,1fr)}.proof-grid{gap:15px}.proof-grid>div{flex-direction:column;align-items:flex-start}.cap-detail{grid-template-columns:1fr}.contact-layout{gap:35px}}@media(max-width:700px){.container,.nav-inner{width:min(100% - 36px,1180px)}.nav-inner{min-height:72px}.wordmark-text{font-size:11px}.wordmark-text small{font-size:7px}.hero-layout{grid-template-columns:1fr;min-height:0;padding:67px 0 75px}.hero h1{font-size:clamp(38px,9.8vw,58px)}.hero-intro{font-size:17px}.hero-visual{width:min(100%,380px);justify-self:center;margin-top:22px}.floating-chip{display:none}.hero-foot{margin-top:35px;flex-direction:row;gap:23px}.proof-grid{grid-template-columns:1fr;gap:16px}.proof-grid>div{flex-direction:row}.proof-grid strong{min-width:125px}.section{padding:70px 0}.section-heading h2{font-size:36px}.service-grid,.case-grid,.editorial-grid,.eng-grid,.about-grid,.contact-layout,.footer-main,.finder,.solution-banner{grid-template-columns:1fr}.service-card{min-height:0}.service-card h3{margin-top:18px}.case-card{min-height:340px}.editorial-grid{gap:10px}.orbit-graphic{display:none}.solution-banner{padding:34px 25px}.footer-main{gap:35px}.footer-bottom{gap:10px;flex-direction:column}.subhero{padding:70px 0}.subhero h1{font-size:40px}.steps article{grid-template-columns:45px 1fr;gap:18px}.steps b{font-size:25px}.finder-answer{padding:27px}.form-panel{padding:24px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .mgs-btn{justify-content:space-between}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal,.mgs-btn,.service-card{transition:none!important}.js-reveal .reveal{opacity:1;transform:none}}

/* Murnahan Divi layout integration: full-width native Divi sections. */
body.mgs2-managed #main-header, body.mgs2-managed #top-header, body.mgs2-managed #main-footer, body.mgs2-managed #et-top-navigation, body.mgs2-managed .et-l--header, body.mgs2-managed .et-l--footer {display:none!important}
body.mgs2-managed #page-container {padding-top:0!important}
body.mgs2-managed #main-content, body.mgs2-managed .et-l--post, body.mgs2-managed .et_builder_inner_content {width:100%;max-width:none;padding:0;margin:0}
body.mgs2-managed .et_pb_section.mgs2-divi-section {padding:0!important;margin:0!important;background:transparent!important}
body.mgs2-managed .et_pb_row.mgs2-divi-row {width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.mgs2-managed .et_pb_column, body.mgs2-managed .et_pb_code {padding:0!important;margin:0!important}
.mgs-shell {isolation:isolate;font-family:Arial,sans-serif;line-height:1.65}
.mgs-shell .wordmark-mark{letter-spacing:0;overflow:hidden;flex-shrink:0}
.mgs-shell .wordmark-mark .slash{display:none}
.mgs-shell .wordmark {min-width:220px}
.mgs-shell .site-header {top:0}
.mgs-shell .wordmark-text {white-space:nowrap}
.mgs-shell a, .mgs-shell a:hover {text-decoration:none}
.mgs-shell .hero h1, .mgs-shell .subhero h1 {padding-bottom:0}
@media(max-width:700px){.mgs-shell .wordmark{min-width:0}}

/* Executive reasoning system */
.mgs-shell .intelligence{background:#eef5fa}
.mgs-shell .brain-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mgs-shell .brain-grid article{padding:31px 34px;background:#fff;border:1px solid #ccdae6;border-left:4px solid #0ea5e9;box-shadow:0 9px 35px rgba(9,19,33,.04)}
.mgs-shell .brain-grid b{display:block;font-size:10px;letter-spacing:.2em;color:#127baf;margin-bottom:23px}
.mgs-shell .brain-grid h3{font-size:23px;letter-spacing:-.04em;line-height:1.25;margin:0 0 11px}
.mgs-shell .brain-grid p{font-size:15px;line-height:1.72;color:#526477}
.mgs-shell .thinking-hero{background:radial-gradient(circle at 75% 40%,#164b6b 0%,#091321 63%)}
.mgs-shell .thinking-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:40px}
.mgs-shell .thinking-flow div{position:relative;padding:28px 18px;min-height:150px;background:#edf5fb;border-top:3px solid #0ea5e9}
.mgs-shell .thinking-flow div:not(:last-child):after{content:'›';position:absolute;right:-14px;top:49px;font-size:28px;color:#0a76a4;z-index:2}
.mgs-shell .thinking-flow span{display:block;color:#0e8bb8;font-size:12px;font-weight:800;margin-bottom:13px}
.mgs-shell .thinking-flow strong{display:block;font-size:15px;letter-spacing:.08em;color:#091321}
.mgs-shell .thinking-flow small{display:block;font-size:12px;color:#526477;margin-top:6px}
.mgs-shell .thinking-questions{display:grid;grid-template-columns:1fr;gap:0}
.mgs-shell .thinking-questions article{display:grid;grid-template-columns:75px 1fr;gap:20px;padding:27px 0;border-top:1px solid #294254}
.mgs-shell .thinking-questions b{font-size:24px;color:#0ea5e9}
.mgs-shell .thinking-questions h3{font-size:24px;color:#fff;margin:0 0 8px}
.mgs-shell .thinking-questions p{font-size:15px;color:#b8cbd8;max-width:810px;margin:0}
.mgs-shell .light-copy{color:#c4d4de!important}
.mgs-shell .site-header .wordmark-mark{position:relative;line-height:1;display:flex;align-items:center;justify-content:center;overflow:hidden;height:45px;min-width:45px}
.mgs-shell .site-header .wordmark-mark:before,.mgs-shell .site-header .wordmark-mark:after{display:none!important}
@media(max-width:930px){.mgs-shell .thinking-flow{grid-template-columns:repeat(3,1fr)}.mgs-shell .brain-grid{grid-template-columns:1fr}}
@media(max-width:600px){.mgs-shell .thinking-flow{grid-template-columns:1fr 1fr}.mgs-shell .thinking-flow div:not(:last-child):after{display:none}.mgs-shell .thinking-questions article{grid-template-columns:45px 1fr}.mgs-shell .thinking-questions h3{font-size:20px}}


/* Executive capability cards: each cell has an independent text column, not a horizontal metric counter. */
.mgs-shell .proof-bar{background:#e9f1f8;padding:56px 0 62px;border-block:1px solid #d5e3ee}
.mgs-shell .proof-intro{margin:0 0 30px}
.mgs-shell .proof-intro .mgs-eyebrow{color:#185d8e}
.mgs-shell .proof-intro h2{font:750 clamp(24px,2.5vw,34px)/1.23 Manrope,Arial,sans-serif;letter-spacing:-.025em;color:#0b233a;margin:10px 0 0;max-width:900px}
.mgs-shell .proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mgs-shell .proof-grid>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;padding:30px;background:#fff;border:1px solid #d3e1eb;border-top:4px solid #0ea5e9;box-shadow:0 14px 32px rgba(9,19,33,.045)}
.mgs-shell .proof-grid strong{display:block;font:800 clamp(20px,1.7vw,25px)/1.26 Manrope,Arial,sans-serif;letter-spacing:-.032em;color:#102f4b;margin:0 0 12px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word}
.mgs-shell .proof-grid span{display:block;font-size:14px;line-height:1.65;color:#3c5269;max-width:38ch;overflow-wrap:break-word}
.mgs-shell .hero-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4vw,64px)}
.mgs-shell .hero-copy,.mgs-shell .hero-visual{min-width:0}
.mgs-shell .hero h1{font-size:clamp(42px,4.1vw,62px);line-height:1.11;letter-spacing:-.045em}
.mgs-shell .hero-visual{width:100%;max-width:455px}
@media(max-width:1100px){.mgs-shell .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgs-shell .proof-grid>div:last-child{grid-column:1/-1}.mgs-shell .proof-grid span{max-width:none}}
@media(max-width:760px){.mgs-shell .proof-grid{grid-template-columns:1fr;gap:15px}.mgs-shell .proof-grid>div:last-child{grid-column:auto}.mgs-shell .proof-grid>div{padding:25px}.mgs-shell .proof-bar{padding:42px 0}.mgs-shell .hero-layout{grid-template-columns:1fr}.mgs-shell .hero h1{font-size:clamp(38px,9vw,55px)}}

/* Project detail presentation and anchored case-study navigation */
.mgs-shell .case-jump{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.04em;color:#0ea5e9;font-weight:800;white-space:nowrap}
.mgs-shell .case-jump:hover{text-decoration:underline}
.mgs-shell .project-details{background:#f1f6fa}
.mgs-shell .project-deep{scroll-margin-top:110px;padding:35px 0 42px;border-top:1px solid #cad9e6}
.mgs-shell .project-deep h2{font-size:clamp(27px,3vw,42px);max-width:850px;line-height:1.18;letter-spacing:-.04em;margin:13px 0 18px}
.mgs-shell .project-deep>p{font-size:17px;max-width:850px;color:#3e556b;line-height:1.7}
.mgs-shell .project-number{font-weight:800;letter-spacing:.18em;font-size:11px;color:#126a9a}
.mgs-shell .project-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px;margin-top:22px}
.mgs-shell .project-columns>div{border-left:3px solid #0ea5e9;padding-left:22px;min-width:0}
.mgs-shell .project-columns h3{font-size:19px;margin-bottom:9px}
.mgs-shell .project-columns p{color:#3e556b;line-height:1.75;font-size:15px}
.mgs-shell .skip-link{position:absolute;left:8px;top:-90px;padding:10px 16px;background:#fff;color:#11283a;z-index:1000}
.mgs-shell .skip-link:focus{top:8px}
.mgs-shell,.mgs-shell .site-header,.mgs-shell .hero{max-width:100%}
.mgs-shell img{max-width:100%}
.mgs-shell :focus-visible{outline:3px solid #0ea5e9;outline-offset:3px}
@media(max-width:700px){.mgs-shell .project-columns{grid-template-columns:1fr;gap:14px}.mgs-shell .project-deep{padding:25px 0 32px}.mgs-shell .case-jump{font-size:10px}}

/* v0.5.0: brand logo, readable intelligence cards and consistent responsive grids */
.mgs-shell .wordmark-mark{width:59px!important;height:59px!important;min-width:59px!important;border:0!important;background:transparent!important;overflow:hidden!important;display:flex;align-items:center;justify-content:center}
.mgs-shell .wordmark-mark img{display:block;max-width:100%;width:59px;height:59px;object-fit:contain}
.mgs-shell .wordmark{gap:14px}
.mgs-shell .wordmark-text{white-space:normal;line-height:1.35}
.mgs-shell .wordmark-text small{letter-spacing:.1em}
.mgs-shell .hero h1{font-size:clamp(40px,4.1vw,63px);text-wrap:balance}
.mgs-shell .bi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}
.mgs-shell .bi-grid article{background:#fff;border:1px solid #d8e6ee;border-top:4px solid #0ea5e9;padding:26px;min-width:0}
.mgs-shell .bi-grid article span{font-size:11px;letter-spacing:.13em;font-weight:800;color:#137fa7}
.mgs-shell .bi-grid article h3{font-size:22px;line-height:1.25;letter-spacing:-.03em;margin:24px 0 12px;overflow-wrap:break-word}
.mgs-shell .bi-grid article p{font-size:14px;line-height:1.65;color:#526477;overflow-wrap:break-word}
.mgs-shell .bi-feature{background:#eef5fa}
.mgs-shell .project-deep{scroll-margin-top:110px}
@media(max-width:1080px){.mgs-shell .bi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mgs-shell .bi-grid{grid-template-columns:1fr}.mgs-shell .wordmark-mark,.mgs-shell .wordmark-mark img{width:46px!important;height:46px!important;min-width:46px!important}.mgs-shell .wordmark-text small{font-size:7px}}


/* v0.6 interactive opportunity assessment and business intelligence explorer */
.mgs-shell .assessment-promo{background:linear-gradient(112deg,#0e2940,#102336);color:#fff;padding:48px 0}
.mgs-shell .promo-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:35px;align-items:center}
.mgs-shell .promo-layout h2{color:#fff;font-size:clamp(25px,2.8vw,39px);line-height:1.2;max-width:760px;margin:12px 0}
.mgs-shell .promo-layout p{color:#c3d8e9;max-width:690px;margin:0}
.mgs-shell .assessment-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:22px;align-items:start}
.mgs-shell .assessment-form,.mgs-shell .assessment-result{border:1px solid #d6e3ed;padding:clamp(22px,3vw,38px);border-radius:8px;min-width:0;background:#fff}
.mgs-shell .assessment-form{display:grid;gap:20px}
.mgs-shell .assessment-form fieldset{border:0;margin:0;padding:0;display:grid;gap:10px}
.mgs-shell .assessment-form legend{font-weight:800;margin-bottom:10px}
.mgs-shell .assessment-form label{display:block;font-size:14px;color:#18334c;font-weight:700}
.mgs-shell .assessment-form fieldset label{font-weight:500;display:flex;gap:11px;align-items:center;line-height:1.4;padding:6px 0}
.mgs-shell .assessment-form input[type=number]{display:block;width:100%;padding:11px;border:1px solid #c5d5e1;background:#fbfdff;color:#0b233a;border-radius:4px;margin-top:7px}
.mgs-shell .assessment-form input[type=range]{display:block;width:100%;accent-color:#0ea5e9;margin-top:12px}
.mgs-shell .assessment-value{float:right;color:#087cb4;font-weight:800}
.mgs-shell .assessment-result{position:sticky;top:105px;background:#eef5fa;border-top:5px solid #0ea5e9}
.mgs-shell .assessment-result h3{font-size:clamp(23px,2.2vw,32px);line-height:1.2;margin:12px 0}
.mgs-shell .assessment-result p{color:#435b70;font-size:14px}
.mgs-shell .estimate-grid{display:grid;gap:9px;margin:22px 0}
.mgs-shell .estimate-grid>div{background:#fff;border:1px solid #d5e4ed;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.mgs-shell .estimate-grid small{font-size:12px;max-width:200px;line-height:1.35;color:#516a7d}
.mgs-shell .estimate-grid strong{font-size:clamp(19px,2vw,28px);color:#0b2f4a;white-space:nowrap}
.mgs-shell .assessment-result .estimate-note{font-size:11px;line-height:1.55;color:#5d7385;margin:18px 0}
.mgs-shell .assessment-contact-context{padding:15px;background:#eef5fa;border-left:3px solid #0ea5e9;margin-bottom:18px}
.mgs-shell .bi-explorer{border:1px solid #cddce7;background:#fff;border-radius:9px;overflow:hidden;box-shadow:0 17px 50px rgba(10,29,44,.08)}
.mgs-shell .bi-explorer-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;padding:22px 28px;background:#0c2133}
.mgs-shell .bi-explorer-top .mgs-eyebrow{color:#80d3ff}
.mgs-shell .bi-account-controls{display:flex;gap:8px;flex-wrap:wrap}
.mgs-shell .bi-account-controls button{border:1px solid #547087;background:transparent;color:#e7f2f9;border-radius:4px;padding:9px 13px;cursor:pointer;font-size:12px;font-weight:700}
.mgs-shell .bi-account-controls button.active{background:#0ea5e9;color:#071a2c;border-color:#0ea5e9}
.mgs-shell .bi-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:0}
.mgs-shell .bi-account-summary,.mgs-shell .bi-signal,.mgs-shell .bi-decision{padding:28px;min-width:0}
.mgs-shell .bi-account-summary{grid-column:1/-1;border-bottom:1px solid #dae5ed}
.mgs-shell .bi-account-summary>span{font-size:10px;letter-spacing:.2em;font-weight:800;color:#197caa}
.mgs-shell .bi-account-summary h3{font-size:clamp(25px,2.8vw,37px);margin:5px 0}
.mgs-shell .bi-data-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.mgs-shell .bi-data-stats>div{padding:17px;background:#ecf5fa;min-width:0}
.mgs-shell .bi-data-stats small{display:block;color:#64778a;font-size:11px}
.mgs-shell .bi-data-stats strong{display:block;color:#0d324f;font-size:16px;line-height:1.35;margin-top:6px;overflow-wrap:break-word}
.mgs-shell .bi-signal{border-right:1px solid #dae5ed}
.mgs-shell .bi-signal ul{padding-left:20px;line-height:1.65;color:#334d64}
.mgs-shell .bi-signal li{margin:11px 0}
.mgs-shell .bi-decision{background:#f0f7fb}
.mgs-shell .bi-decision h3{font-size:23px;line-height:1.25;margin:15px 0 12px}
.mgs-shell .bi-decision strong{display:block;color:#0b6f9f;margin-top:16px;line-height:1.4}
.mgs-shell .bi-source-row{display:flex;gap:10px;flex-wrap:wrap;padding:16px 28px;border-top:1px solid #dae5ed}
.mgs-shell .bi-source-row span{font-size:11px;font-weight:700;background:#ecf4fa;border:1px solid #d8e6ef;border-radius:25px;padding:5px 12px;color:#345772}
@media(max-width:900px){.mgs-shell .assessment-layout,.mgs-shell .promo-layout{grid-template-columns:1fr}.mgs-shell .assessment-result{position:static}}
@media(max-width:650px){.mgs-shell .bi-dashboard,.mgs-shell .bi-data-stats{grid-template-columns:1fr}.mgs-shell .bi-account-summary{grid-column:auto}.mgs-shell .bi-signal{border-right:0;border-bottom:1px solid #dae5ed}.mgs-shell .bi-account-summary,.mgs-shell .bi-signal,.mgs-shell .bi-decision{padding:20px}}

/* v0.7 - connected systems intelligence lab */
.mgs-shell .mgs-systems-lab{background:#f2f7fb}.mgs-shell .mgs-lab{border:1px solid #cbddea;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 16px 45px rgba(9,19,33,.06)}
.mgs-shell .mgs-lab-controls{display:flex;gap:8px;flex-wrap:wrap;padding:18px 22px;background:#0b2134}
.mgs-shell .mgs-lab-controls button{background:transparent;color:#d4e5f4;border:1px solid #607a90;padding:11px 15px;border-radius:5px;cursor:pointer;font:700 13px/1.4 Arial,sans-serif}
.mgs-shell .mgs-lab-controls button.active{background:#0ea5e9;color:#061d2c;border-color:#0ea5e9}
.mgs-shell .mgs-lab-grid{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr)}
.mgs-shell .mgs-lab-map{min-width:0;padding:32px 24px;background:radial-gradient(ellipse at 35% 25%,#173d59,#0b2031);color:#f6faff}
.mgs-shell .mgs-lab-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:stretch}
.mgs-shell .mgs-lab-flow>div{min-width:0;padding:16px 9px;background:#183b53;border:1px solid #426981;border-radius:7px;position:relative;transition:background .2s,border .2s,transform .2s}
.mgs-shell .mgs-lab-flow>div:not(:last-child):after{content:'›';position:absolute;right:-11px;top:45%;z-index:1;color:#86d8ff;font-size:23px;font-weight:800}
.mgs-shell .mgs-lab-flow>div.active{background:#0b638b;border-color:#50cbff;transform:translateY(-4px)}
.mgs-shell .mgs-lab-flow small{display:block;color:#8accef;font-weight:800;margin-bottom:17px}
.mgs-shell .mgs-lab-flow strong{display:block;font-size:13px;line-height:1.3;overflow-wrap:anywhere;color:#fff}
.mgs-shell .mgs-lab-flow span{display:block;margin-top:10px;font-size:11px;line-height:1.45;color:#bbd5e8}
.mgs-shell .mgs-lab-insight{min-width:0;padding:30px}.mgs-shell .mgs-lab-insight h3{font-size:clamp(24px,2.2vw,32px);line-height:1.24;margin:12px 0}.mgs-shell .mgs-lab-insight p{font-size:15px;color:#40596d;line-height:1.7}
.mgs-shell .mgs-lab-evidence{border-top:1px solid #d9e5ed;margin-top:20px;padding-top:15px}.mgs-shell .mgs-lab-evidence strong,.mgs-shell .mgs-lab-move strong{font-size:12px;letter-spacing:.04em;color:#0d658b}.mgs-shell .mgs-lab-evidence ul{padding-left:20px;line-height:1.7;font-size:14px;color:#2d485f}
.mgs-shell .mgs-lab-move{background:#eaf5fb;padding:16px;margin-top:15px;border-left:3px solid #0ea5e9}
.mgs-shell .mgs-ai-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:24px;padding:32px;background:#fff;border:1px solid #caddea;border-radius:10px}
.mgs-shell .mgs-ai-panel h3{font-size:clamp(23px,2.5vw,32px);line-height:1.23;margin:12px 0}
.mgs-shell .mgs-ai-panel p{color:#435b70;line-height:1.65}
.mgs-shell .mgs-brief-output{white-space:pre-wrap;overflow-wrap:anywhere;background:#ecf6fb;border-left:4px solid #0ea5e9;padding:18px;color:#17374e;line-height:1.65;font-size:14px;margin-top:18px;max-height:520px;overflow-y:auto}
.mgs-shell .mgs-brief-copy{color:#102d42;border-color:#b9cdd9;margin-top:12px}
@media(max-width:1080px){.mgs-shell .mgs-lab-grid,.mgs-shell .mgs-ai-panel{grid-template-columns:1fr}}
@media(max-width:650px){.mgs-shell .mgs-lab-flow{grid-template-columns:1fr;gap:10px}.mgs-shell .mgs-lab-flow>div{padding:12px 16px}.mgs-shell .mgs-lab-flow small{margin-bottom:5px}.mgs-shell .mgs-lab-flow>div:not(:last-child):after{right:16px;top:auto;bottom:-15px;transform:rotate(90deg)}.mgs-shell .mgs-lab-controls,.mgs-shell .mgs-lab-map,.mgs-shell .mgs-lab-insight,.mgs-shell .mgs-ai-panel{padding:20px}}
/* Systems lab: readable architecture nodes at every viewport, not squeezed tiles. */
.mgs-shell .mgs-lab-flow{grid-template-columns:1fr;gap:12px;max-width:600px;margin:auto}
.mgs-shell .mgs-lab-flow>div{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(115px,.8fr);align-items:center;gap:12px;padding:15px 18px;transform:none!important}
.mgs-shell .mgs-lab-flow>div.active{border-color:#50cbff;background:#0d6388}
.mgs-shell .mgs-lab-flow small,.mgs-shell .mgs-lab-flow span{margin:0}
.mgs-shell .mgs-lab-flow strong{overflow-wrap:normal;font-size:15px}
.mgs-shell .mgs-lab-flow>div:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-19px;transform:translateX(50%);font-size:16px}
@media(max-width:650px){.mgs-shell .mgs-lab-flow>div{grid-template-columns:32px minmax(0,1fr);gap:6px 10px}.mgs-shell .mgs-lab-flow span{grid-column:2}.mgs-shell .mgs-lab-flow>div:not(:last-child):after{right:50%;bottom:-18px;transform:translateX(50%)}}

/* v0.8 executive conversion experience */
.mgs-shell .mgs-role-label{display:block;font-weight:800;color:#153c57;font-size:13px;margin:20px 0 8px}
.mgs-shell .mgs-role-select{display:block;width:100%;max-width:480px;background:#f6fbff;border:1px solid #a9c6dc;border-radius:6px;padding:13px 15px;color:#0d2f48;font-size:14px}
.mgs-shell .mgs-data-note{font-size:12px;color:#647d90}
.mgs-shell .mgs-ai-panel .mgs-btn{margin:6px 6px 6px 0;display:inline-flex;align-items:center;justify-content:center}
.mgs-shell .mgs-executive-report{margin-top:26px;background:#fff;color:#12344c;border:1px solid #cbdde9;border-top:6px solid #0ea5e9;padding:clamp(24px,4vw,46px);border-radius:8px;box-shadow:0 16px 55px rgba(9,19,33,.09);scroll-margin-top:110px}
.mgs-shell .mgs-report-head{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #dbe7ee;padding-bottom:16px;font-size:10px;letter-spacing:.13em;color:#416783;font-weight:800}
.mgs-shell .mgs-executive-report h3{font-size:clamp(27px,3.4vw,46px);line-height:1.16;margin:24px 0 12px;color:#0c2941}
.mgs-shell .mgs-report-deck{font-size:18px;line-height:1.65;max-width:950px;color:#31536a}
.mgs-shell .mgs-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}
.mgs-shell .mgs-report-metrics>div{display:flex;flex-direction:column;min-width:0;gap:8px;background:#eaf4fa;border:1px solid #d4e5ef;padding:19px;border-radius:6px}
.mgs-shell .mgs-report-metrics span{font-size:12px;font-weight:800;color:#345f79}
.mgs-shell .mgs-report-metrics strong{font-size:clamp(20px,2.5vw,30px);overflow-wrap:anywhere;color:#0c334e}
.mgs-shell .mgs-report-metrics small{font-size:11px;line-height:1.5;color:#536d7f}
.mgs-shell .mgs-report-columns{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin:25px 0;border-top:1px solid #dce8ef;padding-top:22px}
.mgs-shell .mgs-executive-report h4{font-size:17px;margin:15px 0 10px;color:#0a587e}
.mgs-shell .mgs-executive-report ol{margin:0;padding-left:23px;line-height:1.65}
.mgs-shell .mgs-executive-report li{margin-bottom:12px}
.mgs-shell .mgs-executive-report p{line-height:1.7}
.mgs-shell .mgs-report-evidence{padding:18px 22px;background:#f1f7fb;border-left:4px solid #159de4}
.mgs-shell .mgs-report-bottom{border-top:1px solid #dce8ef;margin-top:24px;padding-top:18px}
.mgs-shell .mgs-report-bottom>p{font-size:12px;color:#5b7689}
.mgs-shell .mgs-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
@media(max-width:700px){.mgs-shell .mgs-report-metrics,.mgs-shell .mgs-report-columns{grid-template-columns:1fr}.mgs-shell .mgs-report-head{flex-direction:column}}
@media print{body.mgs-printing-report>*:not(.mgs2-managed),body.mgs-printing-report .mgs-shell>*:not(main){display:none!important}body.mgs-printing-report .mgs-shell main>*:not(#systems-lab){display:none!important}body.mgs-printing-report #systems-lab .container>*:not(#mgs-executive-report){display:none!important}body.mgs-printing-report #mgs-executive-report{display:block!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important}body.mgs-printing-report .mgs-report-actions{display:none!important}body.mgs-printing-report .mgs-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.mgs-printing-report .mgs-report-columns{grid-template-columns:1fr 1fr!important}body.mgs-printing-report .mgs-shell .mgs-systems-lab{padding:0!important;background:#fff!important}body.mgs-printing-report{background:#fff!important}}

.mgs-shell .mgs-report-actions .mgs-btn.btn-outline{color:#0d314a!important;background:#fff!important;border:1px solid #7f9eb3!important}
.mgs-shell .mgs-report-ai-appendix{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f9fc;padding:20px 24px;border-left:4px solid #168fca;margin-top:20px}
.mgs-shell .mgs-report-ai-appendix p{font-size:14px;line-height:1.7}

/* v0.9 - guided executive journey */
.mgs-shell .mgs-decision-entry{padding:clamp(48px,6vw,90px) 0;background:#f2f7fb;border-bottom:1px solid #d7e6f0;color:#0b2941}
.mgs-shell .mgs-entry-top{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.mgs-shell .mgs-entry-top h2{font-size:clamp(27px,3.2vw,46px);max-width:900px;letter-spacing:-.035em;line-height:1.15;margin:13px 0 14px;color:#0d2a41}
.mgs-shell .mgs-entry-top p{max-width:760px;color:#3c5d73;font-size:17px;line-height:1.6;margin:0}
.mgs-shell .mgs-entry-all{white-space:nowrap;color:#076ca5;font-weight:800;text-decoration:none;padding:11px 0}
.mgs-shell .mgs-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mgs-shell a.mgs-entry-card{display:flex;flex-direction:column;min-width:0;gap:17px;padding:25px 22px 21px;background:#fff;text-decoration:none;color:#15334a;border:1px solid #d2e1eb;border-top:4px solid #148fd7;border-radius:6px;box-shadow:0 9px 24px rgba(9,19,33,.035);transition:transform .18s,border-color .18s,box-shadow .18s}
.mgs-shell a.mgs-entry-card:hover,.mgs-shell a.mgs-entry-card:focus-visible{transform:translateY(-4px);border-color:#129ee3;box-shadow:0 16px 38px rgba(9,40,65,.13)}
.mgs-shell .mgs-entry-card span{font-size:10px;font-weight:850;letter-spacing:.13em;color:#087db9}
.mgs-shell .mgs-entry-card strong{font-size:clamp(18px,1.35vw,23px);line-height:1.26;letter-spacing:-.025em;color:#0f2d45;overflow-wrap:break-word}
.mgs-shell .mgs-entry-card small{font-size:13px;line-height:1.6;color:#557186;flex:1}
.mgs-shell .mgs-entry-card b{font-size:12px;color:#0c86c0}
.mgs-shell .mgs-experience-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0 34px}
.mgs-shell .mgs-experience-steps>div{display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:17px 19px;border:1px solid #cbdfe9;background:#f6fafc;border-radius:6px}
.mgs-shell .mgs-experience-steps b{color:#0784cb;font-size:12px}
.mgs-shell .mgs-experience-steps strong{color:#112f46;font-size:16px}
.mgs-shell .mgs-experience-steps span{color:#506f84;font-size:13px}
@media(max-width:1100px){.mgs-shell .mgs-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgs-shell .mgs-entry-top{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.mgs-shell .mgs-entry-grid,.mgs-shell .mgs-experience-steps{grid-template-columns:1fr}.mgs-shell .mgs-entry-all{white-space:normal}.mgs-shell a.mgs-entry-card{gap:12px;padding:22px}.mgs-shell .mgs-decision-entry{padding:44px 0}}

/* v1.0 - Conversational executive discovery */
.mgs-shell .mgs-conversation-section{padding:clamp(52px,6vw,94px) 0;background:#0d2033;color:#fff}
.mgs-shell .mgs-conversation-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.15fr);gap:clamp(25px,5vw,85px);align-items:center}
.mgs-shell .mgs-conversation-intro h2{font-size:clamp(32px,3.4vw,57px);line-height:1.12;letter-spacing:-.035em;margin:15px 0 22px;color:#fff}
.mgs-shell .mgs-conversation-intro p{font-size:17px;line-height:1.7;color:#c3d8e8}
.mgs-shell .mgs-conversation-values{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}
.mgs-shell .mgs-conversation-values span{padding:8px 11px;border:1px solid #37607e;border-radius:4px;color:#bbdff2;font-size:12px}
.mgs-shell .mgs-conversation-box{background:#f9fcff;color:#102a41;border:1px solid #b7d3e4;border-radius:9px;box-shadow:0 24px 60px rgba(0,0,0,.24);overflow:hidden;min-width:0}
.mgs-shell .mgs-chat-heading{display:flex;align-items:center;gap:11px;padding:19px 22px;background:#eaf4fa;border-bottom:1px solid #d1e3ee}
.mgs-shell .mgs-chat-heading strong{font-size:16px}.mgs-shell .mgs-chat-heading small{margin-left:auto;font-size:11px;color:#557489}
.mgs-shell .mgs-chat-log{min-height:230px;max-height:410px;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:13px}
.mgs-shell .mgs-chat-message{max-width:92%;padding:13px 17px;border-radius:13px;line-height:1.6;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.mgs-shell .mgs-chat-assistant{background:#e7f2f9;color:#143a55;align-self:flex-start;border-bottom-left-radius:3px}
.mgs-shell .mgs-chat-user{background:#137fb6;color:white;align-self:flex-end;border-bottom-right-radius:3px}
.mgs-shell #mgs-chat-form{padding:0 20px}.mgs-shell #mgs-chat-input{width:100%;box-sizing:border-box;border:1px solid #c1d8e5;border-radius:5px;min-height:84px;resize:vertical;background:white;color:#0e2e45;padding:12px;font:inherit}
.mgs-shell .mgs-chat-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 18px}.mgs-shell .mgs-chat-actions span{font-size:12px;line-height:1.5;color:#527389}
.mgs-shell .mgs-chat-actions .mgs-btn{flex-shrink:0}.mgs-shell .mgs-chat-actions button:disabled{opacity:.6;cursor:progress}
.mgs-shell .mgs-chat-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #dbe7ee;padding:15px 20px}
.mgs-shell .mgs-text-action{appearance:none;border:0;background:transparent;color:#0b689c;font-weight:700;cursor:pointer;padding:10px 0}
.mgs-shell .mgs-gravity-form .gform_wrapper{color:#183a50}.mgs-shell .mgs-gravity-form input,.mgs-shell .mgs-gravity-form textarea{max-width:100%}
@media(max-width:900px){.mgs-shell .mgs-conversation-layout{grid-template-columns:1fr}.mgs-shell .mgs-conversation-intro h2{max-width:750px}}
@media(max-width:550px){.mgs-shell .mgs-chat-heading{flex-wrap:wrap}.mgs-shell .mgs-chat-heading small{margin-left:0}.mgs-shell .mgs-chat-actions,.mgs-shell .mgs-chat-footer{flex-direction:column;align-items:stretch}.mgs-shell .mgs-chat-actions .mgs-btn{width:100%}}

/* v1.1 Managed-page header ownership: legacy desktop and mobile Divi headers are hidden only for managed pages. */
body.mgs2-managed .et-l--header,body.mgs2-managed .et-l--footer,body.mgs2-managed #main-header,body.mgs2-managed #top-header,body.mgs2-managed #main-footer,body.mgs2-managed .mobile_nav,body.mgs2-managed #et_mobile_nav_menu {display:none!important}
body.mgs2-managed .mgs-shell .site-header{display:block!important;position:relative;z-index:1000}
body.mgs2-managed .mgs-shell .nav-links{z-index:1010}
@media(max-width:980px){body.mgs2-managed .mgs-shell .nav-toggle{display:block!important}body.mgs2-managed .mgs-shell .nav-links:not(.open){display:none!important}body.mgs2-managed .mgs-shell .nav-links.open{display:flex!important}}

/* v1.1.1 - Divi-safe text contrast across dark and light surfaces.
   Divi applies heading text colors independently of parent color, so explicitly
   scope the heading palette to managed content rather than relying on inheritance. */
.mgs-shell .hero h1,
.mgs-shell .subhero h1,
.mgs-shell .section.dark h1,
.mgs-shell .section.dark h2,
.mgs-shell .section.dark h3,
.mgs-shell .section.dark h4,
.mgs-shell .solution-banner h1,
.mgs-shell .solution-banner h2,
.mgs-shell .solution-banner h3,
.mgs-shell .center-cta h1,
.mgs-shell .center-cta h2,
.mgs-shell .editorial h1,
.mgs-shell .editorial h2,
.mgs-shell .editorial h3,
.mgs-shell .case-card h2,
.mgs-shell .case-card h3,
.mgs-shell .assessment-promo h2,
.mgs-shell .mgs-conversation-intro h2,
.mgs-shell .mgs-lab-map h2,
.mgs-shell .mgs-lab-map h3,
.mgs-shell .site-footer h2,
.mgs-shell .site-footer h3 {color:#f7fbff!important}
.mgs-shell .hero h1 em,
.mgs-shell .editorial h2 em {color:#47bdff!important}
.mgs-shell .subhero p,
.mgs-shell .subhero .container>p {color:#deebf5!important}
.mgs-shell .hero .hero-intro {color:#f0f7fc!important}
.mgs-shell .hero .hero-detail,
.mgs-shell .section.dark .section-heading p,
.mgs-shell .section.dark .editorial p,
.mgs-shell .section.dark .section-heading>p,
.mgs-shell .center-cta p,
.mgs-shell .solution-banner p,
.mgs-shell .mgs-conversation-intro p {color:#d1e2ef!important}
.mgs-shell .subhero .mgs-eyebrow,
.mgs-shell .section.dark .mgs-eyebrow,
.mgs-shell .assessment-promo .mgs-eyebrow {color:#65ceff!important}
/* Restore readable, intentional dark headings on light surfaces. */
.mgs-shell .section.light h1,
.mgs-shell .section.light h2,
.mgs-shell .section.light h3,
.mgs-shell .section.muted h1,
.mgs-shell .section.muted h2,
.mgs-shell .section.muted h3,
.mgs-shell .project-deep h2,
.mgs-shell .project-deep h3,
.mgs-shell .mgs-decision-entry h2,
.mgs-shell .mgs-executive-report h3,
.mgs-shell .mgs-report-grid h4,
.mgs-shell .mgs-lab-insight h3,
.mgs-shell .mgs-chat-heading h3 {color:#102c43!important}
.mgs-shell .section.light .section-heading p,
.mgs-shell .section.muted .section-heading p {color:#435b70!important}
/* Preserve the deliberately colored labels and action buttons. */
.mgs-shell .subhero .mgs-eyebrow {letter-spacing:.19em}


/* v1.1.3 - compact executive/enterprise layout. Scoped to managed site. */
.mgs-shell {font-size:15px;line-height:1.55;}
.mgs-shell .nav-inner {min-height:70px!important;}
.mgs-shell .section {padding:58px 0!important;}
.mgs-shell .subhero {padding:54px 0 58px!important;background:linear-gradient(115deg,#0a1726,#16334a)!important;}
.mgs-shell .subhero h1 {font-size:clamp(32px,3.65vw,51px)!important;max-width:850px;line-height:1.15!important;margin:12px 0 14px!important;letter-spacing:-.035em!important;}
.mgs-shell .subhero .container>p {font-size:16px;max-width:750px;line-height:1.55!important;margin-bottom:0;}
.mgs-shell .hero {background:linear-gradient(112deg,#081727 0%,#102c42 100%)!important;}
.mgs-shell .hero::after {opacity:.05!important;}
.mgs-shell .hero-layout {min-height:0!important;padding-block:42px 48px!important;gap:clamp(24px,3vw,42px)!important;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)!important;}
.mgs-shell .hero h1 {font-size:clamp(36px,3.65vw,54px)!important;line-height:1.13!important;letter-spacing:-.038em!important;margin:15px 0!important;}
.mgs-shell .hero-intro {font-size:17px!important;line-height:1.48!important;margin-bottom:12px;}
.mgs-shell .hero-detail {font-size:14px!important;line-height:1.55!important;}
.mgs-shell .hero-actions {margin-top:20px!important;}
.mgs-shell .hero-foot {margin-top:22px!important;padding-top:15px!important;gap:21px!important;}
.mgs-shell .hero-visual {max-width:335px!important;}
.mgs-shell .portrait-frame {aspect-ratio:4/4.3!important;box-shadow:0 10px 32px #0004!important;}
.mgs-shell .floating-chip {display:none!important;}
.mgs-shell .proof-bar {padding:27px 0!important;}
.mgs-shell .proof-grid>div {padding:20px 21px!important;box-shadow:none!important;gap:6px!important;}
.mgs-shell .section-heading {margin-bottom:23px!important;}
.mgs-shell .section-heading h2,.mgs-shell .editorial h2,.mgs-shell .center-cta h2,.mgs-shell .solution-banner h2 {font-size:clamp(28px,3vw,40px)!important;line-height:1.18!important;margin:10px 0 15px!important;letter-spacing:-.035em!important;}
.mgs-shell .section-heading p,.mgs-shell .editorial p {font-size:15px!important;line-height:1.65!important;}
.mgs-shell .editorial-grid {gap:clamp(22px,5vw,62px)!important;}
.mgs-shell .service-card {min-height:185px!important;padding:22px!important;}
.mgs-shell .service-card h3 {margin:17px 0 8px!important;font-size:19px!important;}
.mgs-shell .case-card {min-height:290px!important;padding:24px!important;}
.mgs-shell .solution-banner {padding:30px!important;}
.mgs-shell .orbit-graphic {width:180px!important;height:180px!important;box-shadow:none!important;}
.mgs-shell .mgs-decision-entry {padding:40px 0!important;}
.mgs-shell .mgs-entry-top {margin-bottom:18px!important;}
.mgs-shell a.mgs-entry-card {gap:11px!important;padding:19px!important;box-shadow:none!important;}
.mgs-shell .mgs-experience-steps {margin:15px 0 20px!important;}
.mgs-shell .mgs-conversation-section {padding:42px 0!important;}
.mgs-shell .mgs-conversation-layout {gap:32px!important;align-items:start!important;}
.mgs-shell .mgs-chat-log {min-height:180px!important;max-height:330px!important;}
.mgs-shell .contact-layout {gap:40px!important;}
.mgs-shell .form-panel {padding:25px!important;}
.mgs-shell .steps article {padding:21px 0!important;}
.mgs-shell .cap-detail {margin-top:40px!important;}
.mgs-shell .project-deep {padding:24px 0 30px!important;}
.mgs-shell .mgs-executive-report {padding:clamp(20px,3vw,35px)!important;box-shadow:none!important;}
/* Gravity Forms: an asterisk is the only visible required-field indication; validation stays active. */
.mgs-shell .gform_wrapper .gform_required_legend,.mgs-shell .gform_wrapper .gfield_required_text {display:none!important;}
.mgs-shell .gform_wrapper .gfield_required {font-size:0!important;line-height:0!important;}
.mgs-shell .gform_wrapper .gfield_required::after {content:'*';font-size:14px;line-height:1;color:#b34242;display:inline-block;margin-left:3px;}
.mgs-shell .gform_wrapper .gfield_required_asterisk {display:none!important;}
.mgs-shell .form-panel label span {color:#ad3e40;}
@media(max-width:980px){.mgs-shell .hero-layout{grid-template-columns:minmax(0,1fr) minmax(240px,.72fr)!important;}.mgs-shell .hero-visual{max-width:290px!important;}}
@media(max-width:760px){
 .mgs-shell .section {padding:37px 0!important;}
 .mgs-shell .subhero {padding:38px 0 40px!important;}
 .mgs-shell .subhero h1 {font-size:clamp(29px,7vw,38px)!important;}
 .mgs-shell .hero-layout {grid-template-columns:1fr!important;padding-block:35px!important;gap:20px!important;}
 .mgs-shell .hero h1 {font-size:clamp(33px,8vw,43px)!important;}
 .mgs-shell .hero-visual {max-width:260px!important;justify-self:start!important;margin-top:0!important;}
 .mgs-shell .hero-foot {margin-top:16px!important;}
 .mgs-shell .proof-bar {padding:20px 0!important;}
 .mgs-shell .proof-grid>div {padding:17px!important;}
 .mgs-shell .case-card {min-height:250px!important;}
 .mgs-shell .mgs-decision-entry,.mgs-shell .mgs-conversation-section {padding:32px 0!important;}
}
/* v1.2: compact, deliberately branded discovery overlay. */
.mgs-discovery-launch{position:fixed;right:20px;bottom:20px;z-index:30000;border:1px solid #0ea5e9;background:#071725;color:#fff;padding:14px 19px;font:700 14px/1.2 Arial,sans-serif;box-shadow:0 7px 28px #0005;border-radius:5px;cursor:pointer}.mgs-discovery-launch span{color:#0ea5e9;font-size:20px;margin-left:12px}.mgs-discovery-overlay[hidden]{display:none!important}.mgs-discovery-overlay{position:fixed;inset:0;z-index:30010;background:rgba(3,12,22,.82);display:grid;place-items:center;padding:18px}.mgs-discovery-modal{display:flex;flex-direction:column;background:#fff;color:#142b42;width:min(800px,100%);max-height:min(860px,94dvh);border:1px solid #3f718f;box-shadow:0 25px 80px #0009;overflow:hidden}.mgs-discovery-modal-top{padding:13px 20px;background:#091321;color:#fff;display:flex;align-items:center;gap:16px}.mgs-discovery-modal-top strong{font-size:12px;letter-spacing:.09em}.mgs-discovery-modal-top span{font-size:12px;color:#b5cbdb;margin-right:auto}.mgs-discovery-modal-top button{background:#213b53;color:#fff;border:1px solid #7294aa;padding:7px 11px;cursor:pointer}.mgs-discovery-modal-body,.mgs-discovery-modal #mgs-discovery-chat{min-height:0;overflow:auto}.mgs-discovery-modal .mgs-conversation-box{width:100%;max-width:none;border:0;box-shadow:none;padding:0}.mgs-discovery-modal .mgs-chat-log{height:min(42dvh,430px);overflow:auto}.mgs-message-by{display:block;font-size:11px;opacity:.8;margin-bottom:6px}.mgs-dialog-open{overflow:hidden}.mgs-discovery-modal .mgs-chat-footer{flex-wrap:wrap}.mgs-discovery-modal .mgs-chat-footer button{min-height:38px}@media(max-width:650px){.mgs-discovery-overlay{padding:0}.mgs-discovery-modal{width:100%;height:100dvh;max-height:none}.mgs-discovery-modal-top{flex-wrap:wrap}.mgs-discovery-modal-top span{font-size:10px}.mgs-discovery-modal #mgs-discovery-chat{flex:1}.mgs-discovery-modal .mgs-chat-log{height:calc(100dvh - 360px);min-height:180px}.mgs-discovery-launch{bottom:12px;right:12px}}

.mgs-shell .nav-links button.nav-contact{border:0;font:700 13px/1.4 Arial,sans-serif;cursor:pointer;white-space:nowrap}.mgs-shell .nav-links button.nav-contact:hover{color:#091321;background:#fff}.mgs-shell button[data-mgs-open-discovery]{cursor:pointer}
/* v1.2.1: canonical first-party discovery dialog */
.mgs-discovery-modal-top>div{display:flex;flex-direction:column;gap:4px;flex:1}.mgs-discovery-modal-body{padding:0}.mgs-live-discovery{padding:18px 22px;color:#142b42;background:#fff}.mgs-live-log{height:min(49dvh,450px);min-height:180px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:8px 2px 16px}.mgs-live-message{max-width:88%;border:1px solid #cddbe7;padding:12px 15px;border-radius:8px;background:#f1f6fa;font-size:14px;line-height:1.5;color:#17314b}.mgs-live-message strong{display:block;font-size:12px;margin-bottom:4px}.mgs-live-message p{margin:0}.mgs-live-visitor{align-self:flex-end;background:#12385b;color:#fff;border-color:#12385b}.mgs-live-ai{align-self:flex-start}.mgs-live-label{display:block;font-size:13px;font-weight:700;color:#17314b;margin:8px 0 6px}.mgs-live-discovery textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #7e9bb4;background:#fff!important;color:#152f46!important;border-radius:5px;padding:11px 13px;font:14px/1.5 Arial,sans-serif}.mgs-live-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px}.mgs-live-actions span{font-size:12px;color:#425971}.mgs-live-footer{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #d9e3eb;margin-top:14px;padding-top:14px}.mgs-live-footer button{border:0;background:none;color:#145780;font-size:13px;font-weight:700;padding:5px;cursor:pointer}.mgs-live-footer button.mgs-contact-highlight{background:#e4f4ff;border:1px solid #73b6df;padding:8px 12px;border-radius:5px}.mgs-live-discovery [hidden],.mgs-discovery-overlay[hidden]{display:none!important}@media(max-width:650px){.mgs-live-discovery{padding:12px 14px}.mgs-live-log{height:calc(100dvh - 330px);min-height:150px}.mgs-live-actions{align-items:stretch;flex-direction:column}.mgs-live-actions .mgs-btn{width:100%}.mgs-live-footer{gap:6px;justify-content:space-between}}

/* v1.2.2: predictable contrast and denser enterprise rhythm, overrides Divi typography. */
.mgs-shell .case-card h2,.mgs-shell .case-card h3,.mgs-shell .case-card .case-content h3,
body.mgs2-managed .mgs-shell .case-card h3{color:#f6fbff!important;opacity:1!important;text-shadow:none!important;}
.mgs-shell .case-card,.mgs-shell .case-card p,.mgs-shell .case-card small{color:#e5f1f8!important;}
.mgs-shell .case-card .case-top span,.mgs-shell .case-card .case-note strong{color:#80d3ff!important;}
.mgs-shell .case-card .case-jump{color:#65c5ff!important;}
.mgs-shell .case-card .case-content h3{font-size:clamp(20px,2vw,26px)!important;font-weight:750!important;line-height:1.2!important;margin:13px 0 10px!important;}
.mgs-shell .case-card{padding:22px!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;}
.mgs-shell .case-grid{gap:16px!important;margin:0!important;align-items:stretch!important;}
.mgs-shell .case-content{display:flex;flex-direction:column;flex:1;}
.mgs-shell .case-content p{font-size:14px!important;line-height:1.55!important;}
.mgs-shell .case-note{margin-top:auto!important;padding-top:14px!important;}
.mgs-shell .section,.mgs-shell section.section{padding-block:36px!important;}
.mgs-shell .section:has(> .container > .case-grid){padding-top:16px!important;}
.mgs-shell .section:has(> .container > .section-heading):has(+ .section .case-grid){padding-bottom:14px!important;}
.mgs-shell .section-heading{margin-bottom:18px!important;}
.mgs-shell .section-action{margin-top:22px!important;}
.mgs-shell .project-details .project-deep{margin-block:24px!important;padding-block:24px!important;}
.mgs-shell .subhero{padding-block:38px!important;}
.mgs-shell .subhero + .section{padding-top:25px!important;}
.mgs-shell .section.muted + .section{padding-top:16px!important;}
.mgs-shell .mgs-live-message{line-height:1.5}
@media(max-width:760px){.mgs-shell .section,.mgs-shell section.section{padding-block:25px!important}.mgs-shell .subhero{padding-block:30px!important}.mgs-shell .case-grid{gap:12px!important}.mgs-shell .case-card{padding:18px!important}.mgs-shell .case-card .case-content h3{font-size:22px!important}}

/* Denser project-detail flow, high-contrast proof cards and unobtrusive discovery access. */
.mgs-shell .project-columns{gap:24px!important;margin-top:18px!important;}
.mgs-shell .project-deep h2{font-size:clamp(23px,2.6vw,34px)!important;line-height:1.23!important;}
.mgs-shell .project-deep p{line-height:1.58!important;}
.mgs-shell .bi-grid,.mgs-shell .brain-grid{gap:15px!important;}
.mgs-shell .mgs-decision-entry{padding-block:30px!important;}
.mgs-shell .cap-detail{margin-top:20px!important;gap:18px!important;}
.mgs-shell .engagements{margin-top:32px!important;}
.mgs-shell .site-footer{padding-top:35px!important;}
.mgs-shell .footer-main{padding-bottom:30px!important;gap:24px!important;}
.mgs-shell .mgs-discovery-launch{padding:10px 13px!important;font-size:12px!important;box-shadow:0 4px 15px #0004!important;}

/* v1.2.4: Surface contrast belongs to the component, not an ancestor section.
   Earlier ancestor rules made text unreadable in dark panels inside light sections. */
body.mgs2-managed .mgs-shell{color:#152f43;background:#fff}
/* True dark surfaces; explicit text colors shield against Divi typography. */
body.mgs2-managed .mgs-shell :is(.hero,.subhero,.section.dark,.editorial,.site-footer,.assessment-promo,.solution-banner,.case-card){color:#edf6fd}
body.mgs2-managed .mgs-shell :is(.hero,.subhero,.section.dark,.editorial,.site-footer,.assessment-promo,.solution-banner,.case-card) :is(h1,h2,h3,h4){color:#f6fbff!important;opacity:1!important}
body.mgs2-managed .mgs-shell :is(.hero,.subhero,.editorial,.assessment-promo,.solution-banner,.case-card) p{color:#deebf6!important;opacity:1!important}
body.mgs2-managed .mgs-shell .section.dark>.container :is(h1,h2,h3){color:#f6fbff!important}
body.mgs2-managed .mgs-shell .section.dark>.container>p{color:#deebf6!important}
/* Nested light panels own their dark typography even when their parent is dark. */
body.mgs2-managed .mgs-shell :is(.service-card,.mgs-entry-card,.mgs-conversation-box,.mgs-executive-report,.bi-account-summary,.bi-decision,.mgs-lab-insight,.mgs-ai-panel,.mgs-live-discovery,.mgs-discovery-modal){color:#142d43!important}
body.mgs2-managed .mgs-shell :is(.service-card,.mgs-entry-card,.mgs-conversation-box,.mgs-executive-report,.bi-account-summary,.bi-decision,.mgs-lab-insight,.mgs-ai-panel,.mgs-live-discovery,.mgs-discovery-modal) :is(h1,h2,h3,h4){color:#112d43!important;opacity:1!important}
body.mgs2-managed .mgs-shell :is(.service-card,.mgs-entry-card,.mgs-conversation-box,.mgs-executive-report,.bi-account-summary,.bi-decision,.mgs-lab-insight,.mgs-ai-panel,.mgs-live-discovery,.mgs-discovery-modal) p{color:#314f67!important}
/* The contrast failures shown in Selected Work and the footer banner require
   more-specific selectors than Divi and the parent .section.light/.muted rules. */
body.mgs2-managed .mgs-shell .section.light .solution-banner h2,
body.mgs2-managed .mgs-shell .section.muted .solution-banner h2,
body.mgs2-managed .mgs-shell .section.light .solution-banner h3,
body.mgs2-managed .mgs-shell .section.muted .solution-banner h3,
body.mgs2-managed .mgs-shell .section.light .case-card h3,
body.mgs2-managed .mgs-shell .section.muted .case-card h3{color:#fff!important;opacity:1!important}
body.mgs2-managed .mgs-shell .section.light .solution-banner p,
body.mgs2-managed .mgs-shell .section.muted .solution-banner p,
body.mgs2-managed .mgs-shell .section.light .case-card p,
body.mgs2-managed .mgs-shell .section.muted .case-card p{color:#e2edf6!important;opacity:1!important}
body.mgs2-managed .mgs-shell .case-card .case-note strong{color:#9cddff!important}
body.mgs2-managed .mgs-shell .mgs-eyebrow{color:#0474ad}
body.mgs2-managed .mgs-shell :is(.subhero,.hero,.section.dark,.solution-banner,.assessment-promo) .mgs-eyebrow{color:#7dd9ff!important}
body.mgs2-managed .mgs-shell .nav-links a{color:#e2edf7!important}
body.mgs2-managed .mgs-shell .nav-links a:hover{color:#74d8ff!important}
body.mgs2-managed .mgs-shell .nav-links .nav-contact{color:#081d2c!important}
/* Discovery must read as an elevated dialog independent of Divi wrappers. */
.mgs-shell .mgs-discovery-overlay{background:rgba(4,14,28,.77)!important;backdrop-filter:blur(5px);}
.mgs-shell .mgs-discovery-modal{border:1px solid #86a8c2!important;border-radius:10px!important;box-shadow:0 42px 125px rgba(0,0,0,.76),0 0 0 1px rgba(255,255,255,.18)!important;}
.mgs-shell .mgs-discovery-modal-top{border-bottom:3px solid #0ea5e9!important;}
.mgs-shell .mgs-discovery-modal-top strong{color:#fff!important;}
.mgs-shell .mgs-discovery-modal-top span{color:#d3e4f1!important;}
.mgs-shell .mgs-live-message strong,.mgs-shell .mgs-live-message p{color:#16324d!important;}
.mgs-shell .mgs-live-visitor strong,.mgs-shell .mgs-live-visitor p{color:#fff!important;}
.mgs-shell .mgs-live-label{color:#183a53!important;}
.mgs-shell .mgs-live-actions #mgs-live-status{color:#37546b!important;}
.mgs-shell .mgs-discovery-launch{background:#071725!important;color:#f6fbff!important;box-shadow:0 12px 32px rgba(0,0,0,.38)!important;}
@media(max-width:650px){.mgs-shell .mgs-discovery-modal{border-radius:0!important;}}

/* v1.2.4 final intentional surface overrides; no anonymous inherited color. */
body.mgs2-managed .mgs-shell .section.light .solution-banner :is(h1,h2,h3,h4),
body.mgs2-managed .mgs-shell .section.muted .solution-banner :is(h1,h2,h3,h4),
body.mgs2-managed .mgs-shell .section.light .case-card :is(h1,h2,h3,h4),
body.mgs2-managed .mgs-shell .section.muted .case-card :is(h1,h2,h3,h4){color:#f9fcff!important;opacity:1!important}
body.mgs2-managed .mgs-shell .section.light .solution-banner p,
body.mgs2-managed .mgs-shell .section.muted .solution-banner p,
body.mgs2-managed .mgs-shell .section.light .case-card p,
body.mgs2-managed .mgs-shell .section.muted .case-card p{color:#e3eff8!important}
body.mgs2-managed .mgs-shell .site-footer .footer-main p{color:#c3d8e8!important}
body.mgs2-managed .mgs-shell .solution-banner{padding:32px 38px!important}
body.mgs2-managed .mgs-shell .solution-banner .orbit-graphic{width:200px;height:200px}
body.mgs2-managed .mgs-shell .solution-banner .orbit-graphic:after{inset:25px}
@media(max-width:760px){body.mgs2-managed .mgs-shell .solution-banner{padding:24px!important}}

/* v1.2.7 - prominent assessment-to-discovery journey */
.mgs-shell .mgs-calculator-section{padding-top:38px!important;padding-bottom:48px!important;background:#f4f8fc!important}
.mgs-shell #opportunity-assessment .section-heading{max-width:850px;margin-bottom:20px!important}
.mgs-shell #opportunity-assessment .assessment-layout{gap:16px!important}
.mgs-shell #mgs-send-assessment{width:100%;justify-content:center;font-weight:750!important;min-height:52px;background:#0a9ee7!important;color:#061b2e!important}
.mgs-shell #mgs-send-assessment:hover{background:#50c4fb!important}
.mgs-live-discovery .mgs-company-context{border-top:1px solid #dbe6ef;padding:10px 0 0;margin-top:12px;color:#183a53}
.mgs-live-discovery #mgs-company-toggle{background:none;border:0;padding:4px 0;font-size:13px;font-weight:700;color:#145780;cursor:pointer;text-align:left}
.mgs-live-discovery #mgs-company-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 0;background:#f3f8fc;border:1px solid #d2e1ed;padding:13px;border-radius:6px}
.mgs-live-discovery #mgs-company-form[hidden]{display:none!important}
.mgs-live-discovery #mgs-company-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#173b55}
.mgs-live-discovery #mgs-company-form input{min-width:0;padding:10px;border:1px solid #92a8bd;background:#fff!important;color:#15344e!important;border-radius:4px;font-size:14px}
.mgs-live-discovery #mgs-company-form button,.mgs-live-discovery .mgs-company-note{grid-column:1 / -1}
.mgs-live-discovery .mgs-company-note{font-size:12px;margin:0;color:#46647b}
.mgs-live-discovery #mgs-company-status{font-size:12px;margin:3px 0;color:#315874}
@media(max-width:600px){.mgs-live-discovery #mgs-company-form{grid-template-columns:1fr}}

.mgs-shell .mgs-calculator-promo{background:#e9f3f9;border-block:1px solid #c6dce9;padding:26px 0!important}
.mgs-shell .mgs-calc-promo-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.mgs-shell .mgs-calc-promo-inner>div{max-width:740px}
.mgs-shell .mgs-calc-promo-inner .mgs-eyebrow{color:#006ba2!important;font-size:11px!important}
.mgs-shell .mgs-calc-promo-inner h2{color:#0c2c45!important;font-size:clamp(21px,2.2vw,29px)!important;line-height:1.18!important;margin:5px 0 8px!important}
.mgs-shell .mgs-calc-promo-inner p{color:#31536c!important;max-width:740px;margin:0!important;font-size:14px!important}
.mgs-shell .mgs-calc-promo-inner .mgs-btn{flex-shrink:0;white-space:normal;text-align:center;max-width:280px}
@media(max-width:780px){.mgs-shell .mgs-calc-promo-inner{flex-direction:column;align-items:flex-start}.mgs-shell .mgs-calc-promo-inner .mgs-btn{max-width:none;width:100%;box-sizing:border-box}}

/* v1.2.8: Optional tools are secondary to conversation. */
.mgs-shell .mgs-discovery-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:9px 16px;background:#eef5fb;border-top:1px solid #d5e4ef;font-size:12px}.mgs-shell .mgs-discovery-tools span{font-size:10px;letter-spacing:.1em;color:#42617b;font-weight:800}.mgs-shell .mgs-discovery-tools a{color:#075f91;text-decoration:underline;text-underline-offset:3px;font-weight:700}.mgs-shell .mgs-discovery-tools a:focus-visible{outline:3px solid #0ea5e9;outline-offset:3px}

/* v1.2.9 mobile conversational readability: compact natural replies, adequate tap targets */
@media(max-width:650px){.mgs-shell .mgs-live-message{max-width:96%;font-size:14px!important;line-height:1.5!important;padding:11px 13px!important}.mgs-shell .mgs-live-message p{font-size:inherit!important;line-height:inherit!important}.mgs-shell .mgs-live-actions button{min-height:44px!important}.mgs-shell .mgs-live-discovery textarea{font-size:16px!important}.mgs-shell .mgs-live-log{gap:9px!important}}

/* v1.3.0 Executive Discovery: component-owned contrast, usable mobile dialog and voice controls. */
body.mgs2-managed .mgs-shell .mgs-live-message.mgs-live-visitor,
body.mgs2-managed .mgs-shell .mgs-live-message.mgs-live-visitor :is(p,strong,span),
.mgs-shell .mgs-live-message.mgs-live-visitor :is(p,strong,span){color:#ffffff!important;opacity:1!important;text-shadow:none!important}
body.mgs2-managed .mgs-shell .mgs-live-message.mgs-live-ai :is(p,strong,span),
.mgs-shell .mgs-live-message.mgs-live-ai :is(p,strong,span){color:#15344d!important;opacity:1!important}
.mgs-shell .mgs-discovery-modal{display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:min(850px,94dvh)!important}
.mgs-shell .mgs-discovery-modal-top{flex:0 0 auto!important}
.mgs-shell .mgs-discovery-modal-body{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
.mgs-shell .mgs-live-discovery{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;padding:0!important;overflow:hidden!important}
.mgs-shell .mgs-live-log{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:14px 20px!important;scrollbar-gutter:stable}
.mgs-shell #mgs-live-form{flex:0 0 auto!important;padding:10px 20px 8px!important;border-top:1px solid #d9e4ed;background:#fff}
.mgs-shell #mgs-live-form .mgs-live-label{margin:0 0 4px!important;font-size:12px!important}
.mgs-shell #mgs-live-form textarea{min-height:54px!important;max-height:100px!important;height:64px!important;padding:9px 11px!important;resize:vertical!important}
.mgs-shell .mgs-live-actions{flex-direction:row!important;align-items:center!important;gap:8px!important;margin:7px 0 0!important}
.mgs-shell .mgs-live-actions .mgs-btn{width:auto!important;min-height:40px!important;padding:8px 14px!important}
.mgs-shell .mgs-voice-controls{display:flex;align-items:center;gap:7px;flex:1 1 auto;min-width:0}
.mgs-shell .mgs-voice-controls #mgs-live-status{font-size:11px!important;color:#34546b!important;line-height:1.25;min-width:0;max-height:2.8em;overflow:auto}
.mgs-shell .mgs-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;border:1px solid #9bb8cd!important;border-radius:7px;background:#edf5fa!important;color:#123f60!important;cursor:pointer;padding:6px!important}
.mgs-shell .mgs-icon-button svg{width:21px;height:21px;display:block}
.mgs-shell .mgs-icon-button:disabled{opacity:.45;cursor:not-allowed}
.mgs-shell .mgs-icon-button.mgs-recording{background:#fff0ee!important;color:#aa251c!important;border-color:#cf766e!important;box-shadow:0 0 0 2px #fbd6d2 inset}
.mgs-shell .mgs-icon-button:focus-visible,.mgs-shell .mgs-discovery-extras summary:focus-visible{outline:3px solid #0ea5e9!important;outline-offset:2px}
.mgs-shell .mgs-discovery-extras{flex:0 1 auto;min-height:0;border-top:1px solid #d3e2ed;background:#f2f7fb;color:#173b54}
.mgs-shell .mgs-discovery-extras>summary{cursor:pointer;padding:9px 20px;font-size:12px;font-weight:700;color:#174866;list-style-position:inside}
.mgs-shell .mgs-discovery-extras[open]{overflow-y:auto!important;max-height:min(35dvh,230px)!important;overscroll-behavior:contain}
.mgs-shell .mgs-discovery-extras .mgs-discovery-tools{padding:9px 20px}
.mgs-shell .mgs-discovery-extras .mgs-company-context{padding:10px 20px}
.mgs-shell .mgs-live-footer{flex:0 0 auto;display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px 12px!important;flex-wrap:wrap!important;padding:7px 14px!important;margin:0!important;background:#fff}
.mgs-shell .mgs-live-footer button{font-size:12px!important;padding:6px 4px!important;line-height:1.25!important}
@media(max-width:650px){
 .mgs-shell .mgs-discovery-overlay{padding:0!important}
 .mgs-shell .mgs-discovery-modal{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
 .mgs-shell .mgs-discovery-modal-top{padding:9px 13px!important;gap:8px!important}
 .mgs-shell .mgs-discovery-modal-top strong{font-size:11px!important}
 .mgs-shell .mgs-discovery-modal-top span{font-size:10px!important}
 .mgs-shell .mgs-live-log{height:auto!important;min-height:0!important;padding:10px 13px!important}
 .mgs-shell .mgs-live-discovery{padding:0!important}
 .mgs-shell #mgs-live-form{padding:7px 12px!important}
 .mgs-shell #mgs-live-form textarea{height:52px!important;min-height:52px!important;font-size:16px!important}
 .mgs-shell .mgs-live-actions{flex-direction:row!important;align-items:center!important}
 .mgs-shell .mgs-live-actions .mgs-btn{width:auto!important;min-width:100px!important;min-height:40px!important}
 .mgs-shell .mgs-voice-controls{gap:5px}
 .mgs-shell .mgs-icon-button{flex-basis:36px;height:36px}
 .mgs-shell .mgs-discovery-extras>summary{padding:7px 12px}
 .mgs-shell .mgs-discovery-extras[open]{max-height:28dvh!important}
 .mgs-shell .mgs-live-footer{padding:5px 10px!important;gap:2px 10px!important}
 .mgs-shell .mgs-live-footer button{font-size:11px!important}
}
@media(max-height:640px){.mgs-shell .mgs-live-footer{max-height:65px;overflow:auto}.mgs-shell .mgs-discovery-extras[open]{max-height:22dvh!important}}

/* v1.3.1: Fixed geometry. The actual modal body is an ID, not the class used by older flex rules. */
.mgs-shell #mgs-discovery-overlay{align-items:center!important;justify-items:center!important;overflow:hidden!important}
.mgs-shell #mgs-discovery-overlay>.mgs-discovery-modal{box-sizing:border-box!important;height:min(740px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;contain:layout!important}
.mgs-shell #mgs-discovery-modal-body{box-sizing:border-box!important;display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;max-height:100%!important;height:auto!important;overflow:hidden!important}
.mgs-shell #mgs-discovery-modal-body>.mgs-live-discovery{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-log{flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important}
.mgs-shell #mgs-discovery-modal-body #mgs-live-form,.mgs-shell #mgs-discovery-modal-body .mgs-live-footer{flex-shrink:0!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-extras{flex-shrink:0!important;max-height:33%;overflow:auto!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-extras[open]{max-height:min(180px,27dvh)!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-message{overflow-wrap:anywhere}
@media(max-width:650px){
 .mgs-shell #mgs-discovery-overlay>.mgs-discovery-modal{height:100dvh!important;height:100svh!important;max-height:100dvh!important;max-height:100svh!important;min-height:0!important;width:100%!important}
 .mgs-shell #mgs-discovery-modal-body #mgs-live-form textarea{height:52px!important;resize:none!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-discovery-extras[open]{max-height:20dvh!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-live-footer{max-height:64px!important;overflow-y:auto!important}
}

.mgs-shell .mgs-decision-guide{padding:24px 0!important;background:#edf4f8!important}.mgs-shell .mgs-decision-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.mgs-shell .mgs-decision-steps>div{background:#fff;padding:17px;border:1px solid #cbdae5;border-top:3px solid #0ea5e9}.mgs-shell .mgs-decision-steps strong{color:#122e46!important;font-size:16px}.mgs-shell .mgs-decision-steps p{color:#36536b!important;font-size:13px;line-height:1.5;margin:8px 0 12px}.mgs-shell .mgs-decision-guide .mgs-data-note{color:#3a556b!important;font-size:12px}@media(max-width:760px){.mgs-shell .mgs-decision-steps{grid-template-columns:1fr}.mgs-shell .mgs-decision-steps>div{padding:12px}}

/* v1.3.2: prominent, accessible tools in a stable mobile-height dialog */
.mgs-shell .mgs-discovery-shortcuts{display:flex!important;gap:8px!important;align-items:stretch!important;padding:8px 16px!important;border-top:1px solid #d9e4ec!important;background:#edf5fb!important;flex:0 0 auto!important;min-height:0!important}
.mgs-shell .mgs-tool-shortcut{font-family:inherit!important;box-sizing:border-box!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;width:50%!important;min-width:0!important;padding:10px 12px!important;background:#fff!important;border:1px solid #a9c9dd!important;border-radius:6px!important;color:#064970!important;font-size:12px!important;font-weight:750!important;line-height:1.3!important;text-decoration:none!important;text-align:left!important;cursor:pointer!important}
.mgs-shell .mgs-tool-shortcut:hover,.mgs-shell .mgs-tool-shortcut:focus-visible{border-color:#0786c2!important;outline:2px solid #0ea5e9!important;outline-offset:1px!important}
.mgs-shell .mgs-tool-shortcut span{font-size:16px!important;color:#057baa!important;flex:0 0 auto!important}
.mgs-shell .mgs-icon-button.mgs-recording{background:#ac201e!important;color:white!important;border-color:#ac201e!important;animation:mgs-record-pulse 1.5s ease-in-out infinite!important}
@keyframes mgs-record-pulse{50%{box-shadow:0 0 0 4px rgba(172,32,30,.22)}}
@media(max-width:650px){.mgs-shell .mgs-discovery-shortcuts{padding:5px 10px!important;gap:6px!important}.mgs-shell .mgs-tool-shortcut{padding:8px!important;font-size:11px!important}.mgs-shell #mgs-discovery-modal-body .mgs-discovery-extras:not([open]){display:none!important}}
@media(prefers-reduced-motion:reduce){.mgs-shell .mgs-icon-button.mgs-recording{animation:none!important}}

/* Executive Discovery's optional calculator stays in the modal; no popup required. */
.mgs-shell .mgs-inline-calc[hidden]{display:none!important}.mgs-shell .mgs-inline-calc{flex:0 0 auto;min-width:0;max-height:45%;overflow-y:auto;background:#eef6fc;border-block:1px solid #a6ccdf;padding:12px 18px;overscroll-behavior:contain;color:#12334b}.mgs-shell .mgs-calc-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.mgs-shell .mgs-calc-head strong{color:#12334b;font-size:14px}.mgs-shell .mgs-calc-head button{background:transparent;border:1px solid #91b4c9;padding:4px 9px;color:#12466c;border-radius:4px}.mgs-shell .mgs-inline-calc p{margin:4px 0 9px!important;font-size:12px;color:#36536a}.mgs-shell .mgs-calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mgs-shell .mgs-calc-fields label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:650;color:#173b54}.mgs-shell .mgs-calc-fields input{width:100%;min-width:0;padding:8px;border:1px solid #a8c2d4;border-radius:4px;background:white;color:#132f46}.mgs-shell .mgs-inline-calc .mgs-calc-result{font-weight:700;color:#173b54;margin:10px 0!important}.mgs-shell .mgs-calc-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mgs-shell .mgs-calc-buttons button{background:#0c75a9;color:#fff;padding:10px 13px;border:0;border-radius:4px;font-weight:700}.mgs-shell .mgs-calc-buttons a{font-size:12px;color:#145880;text-decoration:underline}
@media(max-width:650px){.mgs-shell .mgs-inline-calc{max-height:45dvh;padding:10px 12px}.mgs-shell .mgs-calc-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mgs-shell .mgs-calc-buttons button{width:100%}}

/* v1.3.4: Unified secondary tools. These are real subdialogs, not an expanding section in the chat column. */
.mgs-shell #mgs-discovery-modal-body{position:relative!important;isolation:isolate!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-tool-layer[hidden]{display:none!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-tool-layer{position:absolute!important;inset:0!important;z-index:55!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;box-sizing:border-box!important;overflow:hidden!important}
.mgs-shell .mgs-discovery-tool-backdrop{position:absolute;inset:0;background:rgba(7,22,36,.67);backdrop-filter:blur(3px)}
.mgs-shell .mgs-discovery-tool-panel{box-sizing:border-box!important;position:relative!important;z-index:1!important;width:min(580px,100%)!important;max-height:min(610px,100%)!important;min-height:0!important;display:flex!important;flex-direction:column!important;border:1px solid #8bb3cc!important;border-radius:9px!important;background:#fff!important;color:#17344c!important;box-shadow:0 24px 64px rgba(0,0,0,.4)!important;overflow:hidden!important}
.mgs-shell .mgs-discovery-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:2px solid #0ea5e9;background:#0c243a;color:white;flex:none}
.mgs-shell .mgs-discovery-tool-heading h3{font:700 17px/1.3 Arial,sans-serif!important;margin:0!important;color:#fff!important}
.mgs-shell .mgs-discovery-tool-heading button{background:#203e56;border:1px solid #7ba6bf;color:#fff;border-radius:4px;padding:7px 12px;cursor:pointer;flex:none}
.mgs-shell .mgs-discovery-tool-content{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;padding:16px!important;background:#fff!important;flex:1 1 auto!important}
.mgs-shell .mgs-discovery-tool-content .mgs-inline-calc{box-sizing:border-box!important;display:block!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;background:#fff!important;color:#17344c!important}
.mgs-shell .mgs-discovery-tool-content .mgs-calc-head{display:none!important}
.mgs-shell .mgs-discovery-tool-content .mgs-inline-calc p{color:#3b586c!important}
.mgs-shell .mgs-discovery-tool-content .mgs-calc-fields label{font-size:13px!important;color:#193a52!important}
.mgs-shell .mgs-discovery-tool-content .mgs-calc-fields input{min-height:42px;font-size:16px!important}
.mgs-shell .mgs-discovery-tool-content .mgs-company-context{border:0!important;margin:0!important;padding:0!important}
.mgs-shell .mgs-discovery-tool-content #mgs-company-form{display:grid!important;margin:10px 0!important;grid-template-columns:1fr 1fr;gap:12px}
.mgs-shell .mgs-discovery-tool-content #mgs-company-form input{min-height:42px;font-size:16px!important}
.mgs-shell .mgs-discovery-tool-content .mgs-tool-explain{font-size:13px!important;color:#36566e!important;line-height:1.5;margin:0!important}
.mgs-shell .mgs-discovery-tool-content .mgs-followup-tool p{color:#304f66!important;font-size:14px!important;line-height:1.55}
.mgs-shell .mgs-discovery-tool-content .mgs-followup-tool button{display:block;background:#0b84b9!important;color:#fff!important;font-weight:700;border:0;border-radius:5px;padding:12px 15px;cursor:pointer}
.mgs-shell .mgs-discovery-tool-content .mgs-followup-tool .mgs-tool-note{font-size:12px!important}
.mgs-shell .mgs-discovery-tool-content :is(button,a,input):focus-visible{outline:3px solid #0ea5e9!important;outline-offset:2px!important}
.mgs-shell .mgs-live-actions .mgs-join-compact{font:700 12px/1.2 Arial,sans-serif!important;color:#0b5983!important;background:#eff7fc!important;border:1px solid #a6c8dc!important;border-radius:5px!important;padding:10px!important;min-height:40px!important;cursor:pointer;white-space:nowrap}
.mgs-shell .mgs-live-actions .mgs-join-compact:hover{background:#daeffa!important}
.mgs-shell .mgs-live-footer{justify-content:space-between!important}
.mgs-shell .mgs-discovery-shortcuts{padding:8px 14px!important}
@media(max-width:650px){
 .mgs-shell #mgs-discovery-modal-body .mgs-discovery-tool-layer{padding:10px!important}
 .mgs-shell .mgs-discovery-tool-panel{max-height:calc(100% - 8px)!important}
 .mgs-shell .mgs-discovery-tool-heading{padding:10px 12px!important}
 .mgs-shell .mgs-discovery-tool-content{padding:12px!important}
 .mgs-shell .mgs-discovery-tool-content .mgs-calc-fields,.mgs-shell .mgs-discovery-tool-content #mgs-company-form{grid-template-columns:1fr!important}
 .mgs-shell .mgs-live-actions{flex-wrap:wrap!important}
 .mgs-shell .mgs-live-actions .mgs-join-compact{min-height:40px!important;font-size:12px!important}
 .mgs-shell .mgs-voice-controls{flex:1 1 100px!important}
 .mgs-shell .mgs-discovery-shortcuts{padding:6px 10px!important}
}
/* Ensure nested tool heading remains legible even under Divi's broad heading typography. */
body.mgs2-managed .mgs-shell #mgs-discovery-modal-body .mgs-discovery-tool-heading h3,
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-tool-heading h3{color:#fff!important;opacity:1!important;text-shadow:none!important}

/* 1.4.0: range controls require visible rails, not isolated circular thumbs. */
.mgs-shell #mgs-assessment input[type="range"],.mgs-shell .mgs-discovery-tool-content input[type="range"]{
 appearance:none!important;-webkit-appearance:none!important;display:block!important;width:100%!important;height:10px!important;min-height:10px!important;border:1px solid #9fbdd0!important;border-radius:99px!important;background:linear-gradient(90deg,#0b91cb 0%,#0b91cb var(--mgs-progress,50%),#d3e2ed var(--mgs-progress,50%),#d3e2ed 100%)!important;cursor:pointer!important;padding:0!important;margin:12px 0 16px!important;box-shadow:inset 0 1px 2px #0018!important;outline-offset:5px!important}
.mgs-shell input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:20px!important;height:20px!important;background:#fff!important;border:4px solid #078ac4!important;border-radius:50%!important;box-shadow:0 1px 4px #06182755!important}
.mgs-shell input[type="range"]::-moz-range-thumb{width:14px!important;height:14px!important;background:#fff!important;border:4px solid #078ac4!important;border-radius:50%!important;box-shadow:0 1px 4px #06182755!important}
.mgs-shell input[type="range"]::-moz-range-track{height:8px!important;border-radius:99px!important;background:#d3e2ed!important}
.mgs-shell .mgs-calc-advanced:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;padding:16px;background:#e9f3fa;border:1px solid #b9d4e5;border-radius:6px}
.mgs-shell .mgs-calc-advanced label{color:#15354e;font-size:12px;font-weight:700}
.mgs-shell .mgs-calc-advanced input{width:100%;min-width:0;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #b2cbdc;border-radius:4px;color:#122c40;background:#fff}
.mgs-shell .mgs-calc-advanced label:nth-child(3),.mgs-shell .mgs-calc-advanced p{grid-column:1/-1}
.mgs-shell .mgs-calc-advanced p{font-size:12px;color:#294c62;margin:0}
.mgs-shell .mgs-discovery-tool-content .mgs-company-context{border-radius:5px;background:#f0f7fb!important}
.mgs-shell .mgs-discovery-tool-content #mgs-company-form button{background:#0783bc!important;color:white!important;min-height:44px;border-radius:5px!important;grid-column:1/-1}
.mgs-shell .mgs-discovery-tool-content #mgs-company-form .mgs-company-note{grid-column:1/-1;background:#eaf4fa;border-left:3px solid #0ea5e9;padding:9px;font-size:12px}
.mgs-shell .mgs-experience-guide{margin:14px 0 22px;padding:16px 20px;background:#e5f1f9;border-left:4px solid #0a9ddd;color:#102c43;border-radius:4px}
.mgs-shell .mgs-experience-guide p{margin:6px 0 0;color:#385770}
@media(max-width:600px){.mgs-shell .mgs-calc-advanced:not([hidden]){grid-template-columns:1fr}.mgs-shell .mgs-discovery-tool-content #mgs-company-form{grid-template-columns:1fr!important}}

/* The Find a Solution page is a guided workspace, not two nearly identical dark heroes. */
.mgs-shell .mgs-solution-jump{position:relative;padding:9px 0;background:#e9f3f9;border-block:1px solid #c2d8e7}
.mgs-shell .mgs-solution-jump .container{display:flex;gap:8px;flex-wrap:wrap}
.mgs-shell .mgs-solution-jump a{color:#164b69!important;font-size:13px;font-weight:700;padding:10px 13px;background:#fff;border:1px solid #c1d8e6;border-radius:5px;text-decoration:none}
.mgs-shell .mgs-solution-jump a:hover,.mgs-shell .mgs-solution-jump a:focus-visible{border-color:#0c94ce;background:#e0f3ff;outline-offset:2px}
.mgs-shell .mgs-conversation-section{background:#f4f9fc!important;border-bottom:3px solid #c9e2f0!important;color:#12354d!important;padding:30px 0!important}
.mgs-shell .mgs-conversation-section :is(h2,h3,p){color:#15374f!important}
.mgs-shell .mgs-conversation-section .mgs-eyebrow{color:#0879ad!important}
.mgs-shell .mgs-conversation-section .mgs-btn{background:#0a8fc9!important;color:#fff!important}
.mgs-shell #opportunity-assessment{scroll-margin-top:20px}
.mgs-shell #mgs-systems-lab{scroll-margin-top:20px}
.mgs-shell #executive-discovery{scroll-margin-top:20px}
@media(max-width:680px){.mgs-shell .mgs-solution-jump .container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mgs-shell .mgs-solution-jump a{font-size:11px;padding:9px 8px}.mgs-shell .mgs-conversation-section{padding:24px 0!important}}
/* Expanded calculator receives additional room while remaining inside Discovery. */
.mgs-shell .mgs-discovery-tool-panel:has(.mgs-calc-advanced:not([hidden])){max-height:min(700px,calc(100dvh - 52px))!important}
.mgs-shell .mgs-discovery-tool-content{scrollbar-gutter:stable}
@media(max-width:650px){.mgs-shell .mgs-discovery-tool-panel:has(.mgs-calc-advanced:not([hidden])){max-height:calc(100dvh - 90px)!important}}

/* v1.5.0: Discovery-first report. Does not reduce composer or transcript space. */
.mgs-shell .mgs-brief-invite{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;border-top:1px solid #ccdfeb;border-bottom:1px solid #ccdfeb;background:#e9f4fb;flex-shrink:0;min-width:0}
.mgs-shell .mgs-brief-invite div{display:grid;gap:2px;min-width:0}.mgs-shell .mgs-brief-invite strong{font-size:13px;color:#10354f}.mgs-shell .mgs-brief-invite span{font-size:11px;color:#476779}.mgs-shell .mgs-brief-invite button{flex-shrink:0;padding:9px 13px;min-height:38px;background:#0a83be;color:#fff!important;font-weight:700;border:0;border-radius:4px;cursor:pointer}
.mgs-shell .mgs-report-tool{color:#15354e;background:#fff}.mgs-shell .mgs-report-tool .mgs-report-intro,.mgs-shell .mgs-report-tool .mgs-report-note{font-size:13px;line-height:1.5;color:#42627a}
.mgs-shell .mgs-brief-text{white-space:pre-wrap;font-size:14px;line-height:1.6;padding:16px;background:#f0f6fa;color:#173b56;border:1px solid #c8deed;min-height:80px;border-radius:5px;overflow-wrap:anywhere}
.mgs-shell .mgs-brief-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.mgs-shell .mgs-brief-actions button{padding:10px 12px;min-height:40px;border:1px solid #9fbfd6;background:#fff;color:#17435b!important;border-radius:4px;font-weight:700;cursor:pointer}
.mgs-shell .mgs-brief-actions #mgs-brief-email{background:#0a8fca;color:#fff!important;border-color:#0a8fca}
@media(max-width:570px){.mgs-shell .mgs-brief-invite{padding:7px 10px;gap:7px}.mgs-shell .mgs-brief-invite button{font-size:11px;padding:8px 10px}.mgs-shell .mgs-brief-invite span{font-size:10px}.mgs-shell .mgs-brief-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.mgs-shell .mgs-brief-actions button{font-size:11px;min-width:0}}

/* v1.6.0: report conversion, visitor benefit first */
.mgs-shell .mgs-preview-label{font-size:10px;font-weight:800;letter-spacing:.14em;color:#176995;margin:8px 0}
.mgs-shell .mgs-report-tool .mgs-report-intro{font-size:14px;line-height:1.6;color:#17364c}
.mgs-shell .mgs-preview-more{background:#eaf4fb;border:1px solid #bad9ee;padding:14px 16px;margin:16px 0;border-left:4px solid #0ea5e9;color:#13334c}
.mgs-shell .mgs-preview-more strong{display:block;font-size:14px;color:#102e45}
.mgs-shell .mgs-preview-more p{margin:7px 0 0;color:#23455d}
.mgs-shell .mgs-report-tool .mgs-brief-actions{display:flex;flex-wrap:wrap;gap:10px}
.mgs-shell .mgs-report-tool .mgs-brief-actions button:first-child{font-weight:800;background:#0b96d2;color:#061e2c;border:1px solid #008ac5}
.mgs-shell .mgs-report-tool .mgs-brief-actions button:last-child{background:#fff;color:#16435f;border:1px solid #98bed6}
.mgs-shell .mgs-report-tool .mgs-brief-text{white-space:pre-wrap;max-height:270px;overflow:auto;border:1px solid #d5e3ed;border-radius:5px;background:#fff;padding:16px;color:#17394e;line-height:1.65}

/* v1.6.1: Make the discussion the center; supporting tools stay labeled and visible. */
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:0 0 auto!important;padding:7px 12px!important;background:#edf5fb!important;border-top:1px solid #c8dce9!important;border-bottom:1px solid #c8dce9!important;min-width:0!important}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-shortcut{min-width:0!important;min-height:38px!important;padding:7px 5px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;font-size:12px!important;line-height:1.2!important;font-weight:700!important;background:#fff!important;color:#124766!important;border:1px solid #9bbfd5!important;border-radius:5px!important;white-space:normal!important;overflow-wrap:normal!important}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-shortcut:focus-visible{outline:3px solid #0ea5e9!important;outline-offset:1px!important}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-report{background:#dceefa!important;border-color:#6faed4!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-footer{justify-content:flex-end!important;min-height:0!important;padding:2px 12px!important;border-top:0!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-footer #mgs-live-contact{display:none!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-footer #mgs-live-reset{font-size:11px!important;color:#426980!important}
.mgs-shell #mgs-discovery-modal-body #mgs-live-status:empty{display:none!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-label{display:none!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-log{flex:1 1 0!important;min-height:0!important}
@media(max-width:650px){.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools{padding:5px 6px!important;gap:4px!important}.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-shortcut{font-size:10.5px!important;min-height:35px!important;padding:5px 3px!important}.mgs-shell #mgs-discovery-modal-body .mgs-live-footer{padding:0 8px!important}.mgs-shell #mgs-live-form textarea{height:49px!important;min-height:49px!important}}

/* v1.6.2 - single, bounded discovery toolbar and quiet status line.
   These rules deliberately target the concrete component rather than general Divi buttons. */
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 align-items:stretch!important;column-gap:7px!important;row-gap:0!important;
 padding:7px 12px!important;min-width:0!important;overflow:hidden!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut {
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;min-height:40px!important;margin:0!important;
 padding:7px 8px!important;display:flex!important;align-items:center!important;
 justify-content:center!important;flex-wrap:nowrap!important;gap:6px!important;
 color:#124766!important;background:#fff!important;border:1px solid #9bbfd5!important;
 border-radius:6px!important;white-space:normal!important;overflow:hidden!important;
 font-family:Arial,sans-serif!important;font-size:12px!important;line-height:1.25!important;
 font-weight:700!important;letter-spacing:0!important;text-align:center!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut .mgs-tool-icon {
 display:inline-block!important;flex:0 0 auto!important;font-size:14px!important;line-height:1!important;
 color:#087aa9!important;max-width:16px!important;overflow:hidden!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut .mgs-tool-label {
 display:block!important;min-width:0!important;flex:0 1 auto!important;
 font-size:inherit!important;line-height:inherit!important;color:inherit!important;
 overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut.mgs-tool-report {
 background:#dceefa!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-voice-controls {
 flex:1 1 auto!important;min-width:0!important;max-width:none!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-live-actions {
 display:flex!important;flex-wrap:nowrap!important;gap:7px!important;min-width:0!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-live-actions #mgs-live-human,
.mgs-shell #mgs-discovery-modal-body .mgs-live-actions #mgs-live-submit {
 flex:0 0 auto!important;min-width:0!important;
}
.mgs-shell #mgs-discovery-modal-body .mgs-live-footer {
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
 justify-content:space-between!important;align-items:center!important;
 gap:6px!important;min-height:23px!important;padding:3px 12px!important;
 overflow:visible!important;max-height:none!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-live-status {
 display:block!important;flex:1 1 auto!important;min-width:0!important;
 padding:0!important;margin:0!important;border:0!important;
 font-size:11px!important;font-weight:400!important;line-height:1.35!important;
 color:#365b70!important;overflow-wrap:anywhere!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-live-status:empty {display:none!important}
.mgs-shell #mgs-discovery-modal-body #mgs-live-reset {
 flex:0 0 auto!important;margin-left:auto!important;white-space:nowrap!important;
 font-size:11px!important;line-height:1.3!important;
}
@media(max-width:650px) {
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools{padding:5px 7px!important;gap:5px!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut{
  padding:7px 4px!important;gap:4px!important;min-height:40px!important;
  font-size:11px!important;
 }
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-icon{font-size:12px!important;max-width:13px!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-live-actions #mgs-live-human{font-size:11px!important;padding:8px!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-live-actions #mgs-live-submit{min-width:58px!important;padding:8px 11px!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-live-footer{padding:3px 9px!important;gap:4px!important}
 .mgs-shell #mgs-discovery-modal-body #mgs-live-status{font-size:10px!important}
}
@media(max-width:355px){
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut{font-size:10px!important;padding:6px 3px!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-icon{display:none!important}
}

/* v1.6.3 - Business Analysis report has exactly one scrolling pane.
   The report actions remain anchored to the lower edge of the tool dialog. */
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-discovery-tool-panel {
 /* The report is nested inside the chat body; never size it against the whole viewport. */
 height:min(650px,100%)!important;
 max-height:100%!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-discovery-tool-content {
 display:flex!important;flex:1 1 auto!important;min-height:0!important;
 overflow:hidden!important;padding:0!important;scrollbar-gutter:auto!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-tool {
 display:flex!important;flex-direction:column!important;
 flex:1 1 auto!important;min-width:0!important;min-height:0!important;
 overflow:hidden!important;background:#fff!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-description {
 flex:none!important;padding:13px 18px 8px!important;
 background:#fff!important;color:#24445d!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-description strong {
 display:block!important;color:#23445e!important;font-size:13px!important;line-height:1.4!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-description .mgs-preview-label {
 display:block!important;margin:7px 0 0!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-brief-text {
 flex:1 1 0!important;min-height:0!important;max-height:none!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
 scrollbar-gutter:stable!important;box-sizing:border-box!important;
 white-space:pre-wrap!important;line-height:1.55!important;
 background:#f7fafc!important;color:#17394e!important;
 border:1px solid #cbdce8!important;border-radius:5px!important;
 margin:0 16px 10px!important;padding:14px!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions {
 flex:0 0 auto!important;margin-top:auto!important;
 padding:10px 16px 13px!important;background:#fff!important;
 border-top:1px solid #c8dce9!important;box-shadow:0 -5px 16px rgba(14,40,60,.06)!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions p {
 margin:0 0 9px!important;font-size:12px!important;line-height:1.35!important;
 color:#3b5a70!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions .mgs-brief-actions {
 display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)!important;
 gap:8px!important;margin:0!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions .mgs-brief-actions button {
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;min-height:44px!important;
 padding:9px 10px!important;margin:0!important;box-sizing:border-box!important;
 line-height:1.25!important;text-align:center!important;
 font:700 13px/1.25 Arial,sans-serif!important;
 white-space:normal!important;overflow-wrap:break-word!important;
}
.mgs-shell #mgs-tool-layer[data-tool="report"] #mgs-brief-email {
 background:#088bc3!important;color:#fff!important;border:1px solid #088bc3!important;
}
@media(max-width:600px){
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-discovery-tool-panel {
  height:min(650px,100%)!important;max-height:100%!important;
 }
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-description{padding:10px 12px 7px!important}
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-brief-text{margin:0 10px 6px!important;padding:11px!important;font-size:14px!important}
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions{padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px))!important}
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions p{font-size:11px!important;margin-bottom:6px!important}
 .mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-sticky-actions .mgs-brief-actions button{font-size:12px!important;padding:8px 6px!important}
}

/* Business intelligence uses the shared section-heading width and body copy rules. */
body.mgs2-managed .mgs-shell .bi-feature .bi-grid{margin-top:23px!important;}
body.mgs2-managed .mgs-shell .bi-feature .section-action{margin-top:20px!important;}

/* 1.6.5 - One component-level design language for both discovery tools.
   Divi and old .mgs-live-discovery form rules must not style moved subdialog controls. */
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-content {
 background:#fff!important;color:#17344c!important;padding:18px!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-company-context,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-inline-calc {
 background:transparent!important;border:0!important;padding:0!important;margin:0!important;
 box-shadow:none!important;width:100%!important;max-width:100%!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-tool-explain,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-inline-calc > p {
 background:transparent!important;color:#36536a!important;border:0!important;
 padding:0!important;margin:0 0 16px!important;font:400 13px/1.55 Arial,sans-serif!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-fields {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;background:transparent!important;padding:0!important;
 border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form label,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-fields label,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-advanced label {
 min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;
 color:#18374f!important;font:700 13px/1.4 Arial,sans-serif!important;
 text-transform:none!important;letter-spacing:normal!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form input,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-fields input,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-advanced input:not([type=range]) {
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 box-sizing:border-box!important;height:44px!important;min-height:44px!important;
 margin:0!important;padding:9px 12px!important;color:#17344c!important;
 background:#fff!important;border:1px solid #a8c2d4!important;border-radius:5px!important;
 box-shadow:none!important;font:400 16px/1.4 Arial,sans-serif!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form input:focus,
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-fields input:focus {
 outline:2px solid #0ea5e9!important;outline-offset:1px!important;border-color:#0783bc!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form button[type=submit],
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-buttons button {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:44px!important;margin:0!important;padding:10px 14px!important;
 border:1px solid #0779ad!important;border-radius:5px!important;
 background:#087fb7!important;color:#fff!important;font:700 13px/1.35 Arial,sans-serif!important;
 text-align:center!important;white-space:normal!important;max-width:100%!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form .mgs-company-note {
 grid-column:1/-1!important;margin:2px 0 0!important;padding:10px 12px!important;
 background:#edf5fa!important;border-left:3px solid #0ea5e9!important;
 border-radius:0 4px 4px 0!important;color:#36536a!important;
 font:400 12px/1.5 Arial,sans-serif!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-status {
 font:400 12px/1.45 Arial,sans-serif!important;color:#254c65!important;
}
@media(max-width:650px){
 .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer #mgs-company-form,
 .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-calc-fields{grid-template-columns:1fr!important;}
 .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-content{padding:14px!important;}
}

/* v1.6.7 - One analysis journey. The page's report handoff uses the same
   analysis service as the persistent Executive Discovery conversation. */
.mgs-shell .mgs-analysis-handoff{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.7fr);gap:26px;align-items:center;margin:30px 0 0;padding:26px 28px;background:#edf5fa;border:1px solid #cbdeeb;border-top:4px solid #0ea5e9;min-width:0}
.mgs-shell .mgs-analysis-handoff h3{font-size:clamp(24px,2.4vw,33px);line-height:1.18;margin:10px 0;color:#0b2639!important}
.mgs-shell .mgs-analysis-handoff p{color:#34536a!important;font-size:15px;line-height:1.55;max-width:670px}
.mgs-shell .mgs-analysis-distinction{display:flex;flex-direction:column;gap:4px;margin:14px 0 0}
.mgs-shell .mgs-analysis-distinction strong{color:#102d43;font-size:15px}
.mgs-shell .mgs-analysis-distinction span{color:#3e6076;font-size:14px;line-height:1.45}
.mgs-shell .mgs-analysis-handoff-actions{display:flex;flex-direction:column;gap:12px;min-width:0}
.mgs-shell .mgs-analysis-handoff-actions .mgs-btn{display:block;width:100%;text-align:center;min-height:44px;white-space:normal;padding:12px 14px;line-height:1.35}
.mgs-shell .mgs-analysis-handoff-actions p{margin:0;font-size:12px;line-height:1.4}
@media(max-width:720px){.mgs-shell .mgs-analysis-handoff{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px 18px;margin-top:20px}.mgs-shell .mgs-analysis-handoff-actions{gap:9px}}

.mgs-shell .mgs-lab-discuss{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:15px 0 0;padding:15px 18px;border:1px solid #cbdde9;background:#f7fbfe;color:#17364c}
.mgs-shell .mgs-lab-discuss p{flex:1 1 260px;margin:0;font-size:14px;line-height:1.45;color:#34566c}
.mgs-shell .mgs-lab-discuss .mgs-btn{flex:0 1 auto;min-height:44px;padding:11px 15px;white-space:normal;text-align:center}
@media(max-width:700px){.mgs-shell .mgs-lab-discuss{padding:13px}.mgs-shell .mgs-lab-discuss .mgs-btn{width:100%}}

/* v1.6.8: Hero promises a tangible visitor deliverable instead of repeating consultant credentials. */
.mgs-shell .hero .mgs-hero-deliverable{margin:13px 0 0!important;color:#b7d4e8!important;font-size:13px!important;line-height:1.45!important;max-width:620px}
.mgs-shell .hero .mgs-hero-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-top:25px!important;padding-top:17px!important;max-width:750px}
.mgs-shell .hero .mgs-hero-steps span{min-width:0!important}
.mgs-shell .hero .mgs-hero-steps strong{font-size:12px!important;color:#f0f7fd!important}
.mgs-shell .hero .mgs-hero-steps small{display:block;font-size:11px!important;line-height:1.45!important;color:#b5cce0!important}
.mgs-shell .hero .hero-actions{margin-top:24px!important}
.mgs-shell .hero .hero-intro{max-width:590px!important}
@media(max-width:650px){.mgs-shell .hero .mgs-hero-steps{gap:9px!important;margin-top:18px!important}.mgs-shell .hero .mgs-hero-steps strong{font-size:11px!important}.mgs-shell .hero .mgs-hero-steps small{font-size:10px!important}}
/* v1.6.8: Visual-viewport aware shell keeps Close visible while Android keyboard is open.
   Only messages scroll; header, tools and composer are siblings in a flex column. */
.mgs-shell #mgs-discovery-overlay:not([hidden]){
  position:fixed!important;
  top:var(--mgs-visible-top,0px)!important;
  bottom:auto!important;
  left:0!important;right:0!important;
  height:var(--mgs-visible-height,100dvh)!important;
  max-height:var(--mgs-visible-height,100dvh)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:12px!important;
}
.mgs-shell #mgs-discovery-overlay>.mgs-discovery-modal{
  height:min(740px,calc(var(--mgs-visible-height,100dvh) - 24px))!important;
  max-height:calc(var(--mgs-visible-height,100dvh) - 24px)!important;
  min-height:0!important;
  flex-shrink:1!important;
  overscroll-behavior:contain!important;
}
.mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top{
  position:relative!important;
  z-index:10!important;
  display:flex!important;flex-wrap:nowrap!important;
  flex:0 0 auto!important;
  min-height:56px!important;
  align-items:center!important;
}
.mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top>div{min-width:0!important}
.mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top button{
  flex:0 0 auto!important;white-space:nowrap!important;min-width:56px!important;
  min-height:40px!important;position:relative!important;z-index:11!important;
}
.mgs-shell #mgs-discovery-modal-body{overflow:hidden!important;min-height:0!important;flex:1 1 0!important}
.mgs-shell #mgs-discovery-modal-body>.mgs-live-discovery{min-height:0!important;overflow:hidden!important}
.mgs-shell #mgs-discovery-modal-body .mgs-live-log{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
@media(max-width:650px){
 .mgs-shell #mgs-discovery-overlay:not([hidden]){padding:0!important}
 .mgs-shell #mgs-discovery-overlay>.mgs-discovery-modal{height:var(--mgs-visible-height,100dvh)!important;max-height:var(--mgs-visible-height,100dvh)!important;width:100%!important;border-radius:0!important}
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top{padding:9px 12px!important}
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top strong{font-size:11px!important}
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top span{font-size:10px!important;line-height:1.25!important}
}
@media(max-height:500px){
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top{min-height:45px!important;padding:5px 10px!important}
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top span{display:none!important}
 .mgs-shell #mgs-discovery-modal-body .mgs-compact-tools{padding:3px 8px!important}
 .mgs-shell #mgs-discovery-modal-body #mgs-live-form{padding:4px 8px!important}
 .mgs-shell #mgs-discovery-modal-body #mgs-live-form textarea{min-height:38px!important;height:38px!important}
}

/* 1.6.10: Shared nested-dialog geometry. Respect the parent chat header and viewport. */
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer.mgs-discovery-tool-layer {
  box-sizing:border-box!important;
  inset:0!important;
  padding:clamp(12px,2.5vh,20px)!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-panel {
  box-sizing:border-box!important;
  flex:0 1 auto!important;
  width:min(580px,100%)!important;
  max-height:100%!important;
  min-height:0!important;
  margin:0 auto!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer[data-tool="report"] .mgs-discovery-tool-panel {
  height:min(650px,100%)!important;
  max-height:100%!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-heading {
  flex:0 0 auto!important;
  min-height:54px!important;
  position:relative!important;
  z-index:2!important;
}
.mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-content {
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:100%!important;
}
@media(max-width:650px){
  .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer.mgs-discovery-tool-layer {
    padding:12px!important;
  }
  .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-panel {
    max-height:100%!important;
  }
  .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer[data-tool="report"] .mgs-discovery-tool-panel {
    height:100%!important;
  }
  .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer .mgs-discovery-tool-heading {
    min-height:52px!important;
  }
}

/* v1.6.16: Mobile-first public site: actual width containment and responsive reflow.
   Confined to managed pages; desktop composition and unrelated Divi pages unaffected. */
@media (max-width:767px) {
  body.mgs2-managed { width:100%; max-width:100%; overflow-x:clip; }
  body.mgs2-managed #page-container,
  body.mgs2-managed #et-main-area,
  body.mgs2-managed #main-content,
  body.mgs2-managed .entry-content,
  body.mgs2-managed .et_builder_inner_content,
  body.mgs2-managed .mgs2-divi-section,
  body.mgs2-managed .mgs2-divi-row,
  body.mgs2-managed .mgs2-divi-row>.et_pb_column,
  body.mgs2-managed .mgs2-divi-row .et_pb_code,
  body.mgs2-managed .mgs2-divi-row .et_pb_code_inner {
     box-sizing:border-box!important; width:100%!important; max-width:100%!important;
     min-width:0!important; margin-left:0!important; margin-right:0!important;
  }
  body.mgs2-managed .mgs2-divi-section,
  body.mgs2-managed .mgs2-divi-row {padding-left:0!important;padding-right:0!important;}
  body.mgs2-managed .mgs-shell { width:100%; max-width:100%; min-width:0; overflow-x:clip; }
  .mgs-shell .container,.mgs-shell .nav-inner {
      box-sizing:border-box; width:100%!important; max-width:100%!important;
      min-width:0!important; margin-inline:0!important; padding-inline:16px!important;
  }
  .mgs-shell .section,.mgs-shell .hero,.mgs-shell .proof-bar,
  .mgs-shell .site-footer,.mgs-shell .assessment-promo,.mgs-shell .mgs-systems-lab,
  .mgs-shell .solution-banner,.mgs-shell .center-cta {max-width:100%;min-width:0;}
  .mgs-shell .hero-layout,.mgs-shell .editorial-grid,.mgs-shell .solution-banner,
  .mgs-shell .promo-layout,.mgs-shell .assessment-layout,.mgs-shell .mgs-analysis-handoff,
  .mgs-shell .footer-main,.mgs-shell .case-grid,.mgs-shell .service-grid,
  .mgs-shell .proof-grid,.mgs-shell .bi-grid,.mgs-shell .brain-grid,
  .mgs-shell .mgs-lab-grid,.mgs-shell .mgs-decision-steps {
       grid-template-columns:minmax(0,1fr)!important; min-width:0;max-width:100%;
  }
  .mgs-shell .hero-layout {min-height:0!important;padding-block:28px 34px!important;gap:23px!important;}
  .mgs-shell .hero-visual {width:min(100%,340px)!important;max-width:100%!important;justify-self:center!important;}
  .mgs-shell .floating-chip,.mgs-shell .chip-one,.mgs-shell .chip-two {display:none!important;}
  .mgs-shell .hero h1 {font-size:clamp(29px,8.4vw,43px)!important;overflow-wrap:break-word;}
  .mgs-shell .hero .mgs-hero-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .mgs-shell .hero-actions {gap:9px!important;}
  .mgs-shell .hero-actions .mgs-btn {flex:1 1 160px;min-width:0;max-width:100%;gap:10px;white-space:normal;}
  .mgs-shell .hero-foot {gap:12px;flex-wrap:wrap;}
  .mgs-shell .mgs-btn {max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;}
  .mgs-shell .section-heading,.mgs-shell .section-heading p,
  .mgs-shell .hero-copy,.mgs-shell .hero-intro,.mgs-shell .hero-detail {max-width:100%;min-width:0;}
  .mgs-shell .section-heading h2,.mgs-shell .editorial h2 {overflow-wrap:break-word;}
  .mgs-shell .case-grid>.case-card,.mgs-shell .proof-grid>div:last-child {grid-column:auto!important;}
  .mgs-shell .orbit-graphic {width:min(250px,75vw);height:auto;aspect-ratio:1;box-shadow:none;}
  .mgs-shell .orbit-graphic span:nth-child(2){left:0;}
  .mgs-shell .orbit-graphic span:nth-child(3){right:0;}
  .mgs-shell .mgs-lab,.mgs-shell .bi-explorer,.mgs-shell .assessment-form,
  .mgs-shell .assessment-result,.mgs-shell .service-card,
  .mgs-shell .case-card,.mgs-shell .bi-grid article {max-width:100%;min-width:0;}
  .mgs-shell .estimate-grid>div {flex-wrap:wrap;}
  .mgs-shell .estimate-grid strong {white-space:normal;overflow-wrap:anywhere;}
  .mgs-shell .mgs-lab-controls,.mgs-shell .mgs-brief-actions {min-width:0;max-width:100%;}
  .mgs-shell input,.mgs-shell textarea,.mgs-shell select{max-width:100%;min-width:0;}
  .mgs-shell img,.mgs-shell svg,.mgs-shell iframe,.mgs-shell video {max-width:100%;}
  .mgs-shell .nav-inner{gap:8px!important;}
  .mgs-shell .wordmark{min-width:0!important;flex:1 1 auto;}
  .mgs-shell .wordmark-text{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;}
}
/* Full-screen mobile discovery; the whole overlay is the app surface. */
@media(max-width:767px){
 .mgs-shell #mgs-discovery-overlay:not([hidden]){position:fixed!important;inset:0!important;
  width:100%!important;height:var(--mgs-visible-height,100dvh)!important;max-height:var(--mgs-visible-height,100dvh)!important;
  padding:0!important;margin:0!important;overflow:hidden!important;z-index:2147483000!important;}
 .mgs-shell #mgs-discovery-overlay>.mgs-discovery-modal{box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:var(--mgs-visible-height,100dvh)!important;max-height:var(--mgs-visible-height,100dvh)!important;
  margin:0!important;border-radius:0!important;box-shadow:none!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 .mgs-shell #mgs-discovery-overlay .mgs-discovery-modal-top{
  flex:0 0 auto!important;position:relative!important;z-index:10!important;min-width:0!important;}
 .mgs-shell #mgs-discovery-modal-body{flex:1 1 0!important;min-height:0!important;min-width:0!important;overflow:hidden!important;}
 .mgs-shell #mgs-discovery-modal-body>.mgs-live-discovery{height:100%!important;min-height:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 .mgs-shell #mgs-discovery-modal-body .mgs-live-log{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
 .mgs-shell #mgs-discovery-modal-body #mgs-live-form{flex:0 0 auto!important;min-width:0!important;}
 .mgs-shell #mgs-discovery-modal-body #mgs-tool-layer.mgs-discovery-tool-layer{inset:0!important;max-height:100%!important;}
}

/* v1.6.17 - Give the plain-language executive positioning a clear, consistent home in the opening. */
.mgs-shell .hero .mgs-hero-positioning{display:block!important;max-width:640px;margin-top:24px!important;padding-top:17px!important;border-top:1px solid rgba(169,205,231,.28)!important}
.mgs-shell .hero .mgs-hero-positioning-label{display:block;color:#8ccff4;font-size:10px;font-weight:800;letter-spacing:.13em;line-height:1.4}
.mgs-shell .hero .mgs-hero-positioning h2{font:750 clamp(18px,1.85vw,23px)/1.37 Manrope,Arial,sans-serif!important;letter-spacing:-.024em!important;color:#fff!important;margin:7px 0 6px!important;max-width:630px!important;overflow-wrap:break-word}
.mgs-shell .hero .mgs-hero-positioning p{color:#c3d9e8!important;font-size:13px!important;line-height:1.5!important;margin:0!important;max-width:610px!important}
@media(max-width:650px){.mgs-shell .hero .mgs-hero-positioning{margin-top:16px!important;padding-top:12px!important}.mgs-shell .hero .mgs-hero-positioning h2{font-size:17px!important;line-height:1.35!important}.mgs-shell .hero .mgs-hero-positioning p{font-size:12px!important;line-height:1.45!important}}

/* v1.6.39 - report-first Executive Discovery and in-panel request feedback */
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value{padding:10px 14px 9px;background:#e8f3fa;border-top:1px solid #d0e1eb;color:#143d58;display:grid;gap:3px;flex:none}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value strong{font-size:13px;line-height:1.35;color:#0a3550}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value span{font-size:12px;line-height:1.4;color:#345a71}
.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools .mgs-tool-report{background:#0d628d!important;border-color:#0d628d!important;color:white!important}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-full-report-benefit{display:grid;gap:3px;margin:0 0 9px!important;line-height:1.4!important}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-full-report-benefit strong{font-size:13px;color:#0a3651}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-full-report-benefit span{font-size:12px;color:#385972}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-request-status{padding:9px 11px!important;margin:0 0 9px!important;border:1px solid #8bb8ce;border-radius:5px;background:#eff7fc!important;color:#173b53!important;font-size:12px!important;line-height:1.45!important}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-request-status[data-state="error"]{border-color:#c66;background:#fff4f1!important;color:#792b27!important}
.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-report-request-status[hidden]{display:none!important}
.mgs-shell #mgs-tool-layer[data-tool="report"] #mgs-brief-email:disabled{opacity:.78;cursor:default;background:#315d76!important;border-color:#315d76!important}
@media(max-width:650px){.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value{padding:7px 10px}.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value span{font-size:11px}.mgs-shell #mgs-tool-layer[data-tool="report"] .mgs-full-report-benefit span{font-size:11px}}

.mgs-shell #mgs-discovery-modal-body .mgs-compact-tools > button.mgs-tool-shortcut.mgs-tool-report{background:#0d628d!important;border-color:#0d628d!important;color:#fff!important}

/* v1.6.40: compact, actionable discovery guidance. The message field is the primary next step. */
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:7px 12px!important;min-height:0!important;background:#e8f3fa!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value span{font-size:12px!important;line-height:1.35!important;flex:1 1 auto!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value strong{font-size:12px!important;display:inline!important;margin-right:4px!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value button{flex:0 0 auto!important;padding:8px 10px!important;min-height:34px!important;border:1px solid #0b5a82!important;background:#0c5f86!important;color:#fff!important;border-radius:5px!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value button:focus-visible{outline:3px solid #0ea5e9!important;outline-offset:2px!important}
@media(max-width:650px){.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value{padding:6px 8px!important;gap:6px!important}.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value span{font-size:11px!important}.mgs-shell #mgs-discovery-modal-body .mgs-discovery-value button{font-size:11px!important;padding:7px 8px!important;min-height:32px!important}}
