/* Scoped feature: cream/ink in light mode; deep teal in dark mode. */
body.single:has(#ms-feature) .content-grid {display:block!important}
body.single:has(#ms-feature) .sidebar-stack {display:none!important}
body.single:has(#ms-feature) .single-header {max-width:1060px;margin-inline:auto!important}
body.single:has(#ms-feature) .entry-content {max-width:none!important;padding:0!important;background:transparent!important}
body.single:has(#ms-feature) #aiv-playbook-prompt {display:none!important}
#ms-feature {
 --ms-bg:#0c151a;--ms-panel:#142128;--ms-text:#f0f5f3;--ms-copy:#c8d5d6;--ms-muted:#a9babc;--ms-line:#34464d;--ms-accent:#c7ff8c;--ms-link:#9ce4e9;
 background:var(--ms-bg);color:var(--ms-copy);border:1px solid var(--ms-line);border-radius:24px;overflow:hidden;font-family:inherit;font-size:18px;line-height:1.75;
}
html[data-theme="light"] #ms-feature {--ms-bg:#fafaf4;--ms-panel:#fffef8;--ms-text:#142729;--ms-copy:#344a4d;--ms-muted:#4e6668;--ms-line:#b7c7c4;--ms-accent:#255c35;--ms-link:#175f70}
#ms-feature * {box-sizing:border-box;min-width:0}
#ms-feature :is(p,li,td,th,label,legend,span,div,figcaption) {color:inherit;font-family:inherit}
#ms-feature p {font-size:17px;line-height:1.8;margin:0 0 20px}
#ms-feature h2 {font-size:clamp(29px,3.2vw,44px);line-height:1.16;letter-spacing:-.035em;margin:0 0 24px;color:var(--ms-text);text-wrap:balance}
#ms-feature h3 {font-size:23px;line-height:1.3;letter-spacing:-.02em;margin:0 0 18px;color:var(--ms-text)}
#ms-feature strong {color:var(--ms-text)}
#ms-feature a {color:var(--ms-link);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
#ms-feature a:focus-visible,#ms-feature :is(button,input,select,summary):focus-visible {outline:3px solid var(--ms-accent);outline-offset:4px}
#ms-feature .ms-hero {
 --ms-text:#f0f5f3;--ms-copy:#c8d5d6;--ms-muted:#a9babc;--ms-accent:#c7ff8c;
 position:relative;background:#0b191e;color:var(--ms-copy);padding:clamp(30px,6vw,72px);isolation:isolate;
}
#ms-feature .ms-hero::after {content:"";position:absolute;right:-110px;top:20px;width:330px;height:330px;border:1px solid #456151;border-radius:50%;box-shadow:0 0 0 35px #152c27,0 0 0 36px #334a3d;z-index:-1;opacity:.6;pointer-events:none}
#ms-feature .ms-hero h2 {font-size:clamp(37px,5.4vw,68px);max-width:830px}
#ms-feature .ms-hero .ms-deck {font-size:20px;max-width:820px;color:#c8d5d6}
#ms-feature .ms-kicker {font-size:11px!important;line-height:1.6;letter-spacing:.13em;text-transform:uppercase;color:var(--ms-accent);font-weight:750;margin-bottom:18px}
#ms-feature .ms-small {font-size:13px!important;color:var(--ms-muted)}
#ms-feature .ms-hero-strip {display:flex;flex-wrap:wrap;gap:10px;margin:30px 0}
#ms-feature .ms-hero-strip span {padding:8px 13px;border:1px solid #43584e;border-radius:99px;color:#d4e2da;font-size:12px;background:#142b24}
#ms-feature .ms-hero strong {color:#f0f5f3}
/* The site's light-mode text rules use !important. Keep this dark hero paired
   with its own foreground rather than inheriting the page's cream/ink palette. */
#ms-feature#ms-feature .ms-hero :is(h2,h3,strong) {color:#f0f5f3!important}
#ms-feature#ms-feature .ms-hero p {color:#c8d5d6!important}
#ms-feature#ms-feature .ms-hero .ms-kicker {color:#c7ff8c!important}
#ms-feature#ms-feature .ms-hero .ms-small {color:#a9babc!important}
#ms-feature#ms-feature .ms-hero-strip span {color:#d4e2da!important}
#ms-feature .ms-jump {display:flex;flex-wrap:wrap;gap:8px;padding:22px clamp(20px,4vw,46px);border-bottom:1px solid var(--ms-line);background:var(--ms-panel)}
#ms-feature .ms-jump a {font-size:13px;padding:8px 14px;border:1px solid var(--ms-line);border-radius:99px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--ms-text)}
#ms-feature .ms-section {padding:clamp(28px,5vw,56px) clamp(22px,4.5vw,60px);border-bottom:1px solid var(--ms-line);scroll-margin-top:90px}
#ms-feature .ms-section:last-child {border-bottom:0}
#ms-feature .ms-section > p,#ms-feature .ms-section > h3,#ms-feature .ms-list {max-width:800px}
#ms-feature .ms-note {background:var(--ms-panel);border:1px solid var(--ms-line);border-left:3px solid var(--ms-accent);padding:24px;border-radius:18px;margin:26px 0;font-size:16px}
#ms-feature .ms-grid,#ms-feature .ms-community-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:26px 0}
#ms-feature .ms-card {border:1px solid var(--ms-line);background:var(--ms-panel);border-radius:20px;padding:28px;margin:0}
#ms-feature .ms-card p {font-size:16px}
#ms-feature .ms-card p:last-child {margin-bottom:0}
#ms-feature .ms-card > a {font-size:14px;display:inline-flex;min-height:44px;align-items:center}
#ms-feature .ms-tool {background:var(--ms-panel);border:1px solid var(--ms-line);border-radius:20px;padding:28px;margin:25px 0}
#ms-feature label {display:block;font-size:15px;font-weight:600;color:var(--ms-text);margin:12px 0 7px}
#ms-feature :is(select,input[type="number"]) {width:100%;max-width:100%;border:1px solid var(--ms-line);background:var(--ms-bg);color:var(--ms-text);font:inherit;font-size:16px;padding:13px;border-radius:10px;min-height:48px}
#ms-feature #ms-pick-result {margin-top:24px;padding-top:24px;border-top:1px solid var(--ms-line)}
#ms-feature .ms-filter {display:flex;align-items:center;gap:12px;margin:20px 0}
#ms-feature input[type="checkbox"] {width:20px;height:20px;flex:0 0 20px;accent-color:var(--ms-accent)}
#ms-feature .ms-table-wrap {overflow:auto;border:1px solid var(--ms-line);border-radius:16px;margin:24px 0;max-width:100%}
#ms-feature table {width:100%;min-width:740px;border-collapse:collapse;border:0;font-size:14px;line-height:1.6;margin:0;background:var(--ms-panel)}
#ms-feature caption {text-align:left;color:var(--ms-text);padding:18px;font-size:13px;border-bottom:1px solid var(--ms-line);background:var(--ms-panel)}
#ms-feature :is(th,td) {padding:17px 18px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--ms-line);background:var(--ms-panel);color:var(--ms-copy);font-size:14px}
#ms-feature thead th {background:var(--ms-bg);color:var(--ms-text);font-size:12px;letter-spacing:.02em}
#ms-feature th[scope="row"] {color:var(--ms-text);font-weight:700;width:25%}
#ms-feature tr:last-child :is(td,th) {border-bottom:0}
#ms-feature tr[hidden] {display:none}
#ms-feature .ms-list {padding-left:24px}
#ms-feature .ms-list li {font-size:17px;margin:0 0 18px;padding-left:5px}
#ms-feature .ms-code {background:var(--ms-panel);border:1px solid var(--ms-line);border-radius:18px;padding:25px;margin:26px 0}
#ms-feature pre {white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:14px;line-height:1.8;color:var(--ms-text);margin:0;background:transparent;border:0;padding:0}
#ms-feature .ms-quote {padding:30px;border-left:3px solid var(--ms-accent);background:var(--ms-panel);border-radius:20px;color:var(--ms-text);font-size:clamp(22px,2.5vw,30px);font-weight:700;line-height:1.45;margin:30px 0}
#ms-feature fieldset {min-width:0;border:1px solid var(--ms-line);border-radius:14px;padding:20px;margin:0}
#ms-feature legend {font-size:14px;font-weight:700;color:var(--ms-text);padding:0 8px}
#ms-feature .ms-common {margin-bottom:24px}
#ms-feature .ms-result {border-top:1px solid var(--ms-line);border-bottom:1px solid var(--ms-line);padding:23px 0;margin:22px 0}
#ms-feature .ms-actions {display:flex;flex-wrap:wrap;gap:12px}
#ms-feature :is(button,.ms-button) {border:1px solid var(--ms-line);border-radius:99px;min-height:46px;padding:11px 18px;background:var(--ms-bg);color:var(--ms-text);font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center}
#ms-feature details {border:1px solid var(--ms-line);background:var(--ms-panel);padding:19px 23px;border-radius:15px;margin:12px 0}
#ms-feature summary {font-size:17px;font-weight:650;color:var(--ms-text);cursor:pointer;min-height:28px}
#ms-feature details p {margin:18px 0 0;font-size:16px}
#ms-feature .ms-sources {padding-left:25px;font-size:14px}
#ms-feature .ms-sources li {margin-bottom:16px;scroll-margin-top:100px}
@media(max-width:650px){
 #ms-feature {border-radius:18px}
 #ms-feature .ms-grid,#ms-feature .ms-community-grid {grid-template-columns:1fr;gap:15px}
 #ms-feature .ms-hero {padding:32px 24px}
 #ms-feature .ms-hero::after {opacity:.25}
 #ms-feature .ms-hero .ms-deck {font-size:17px}
 #ms-feature .ms-card,#ms-feature .ms-tool {padding:22px}
 #ms-feature .ms-section {padding:32px 22px}
 #ms-feature p,#ms-feature .ms-list li {font-size:16px}
 #ms-feature .ms-quote {padding:23px;font-size:23px}
 #ms-feature .ms-actions {flex-direction:column}
 #ms-feature .ms-actions > * {justify-content:center}
}
@media(prefers-reduced-motion:reduce){body:has(#ms-feature),html:has(#ms-feature){scroll-behavior:auto!important}}

/* Visual editorial upgrade: facts, task lanes and routing are semantic HTML. */
body.single:has(#ms-feature) .single-header {padding:30px 38px!important;margin-bottom:28px!important}
body.single:has(#ms-feature) .single-header h1 {font-size:clamp(28px,3.1vw,42px)!important;line-height:1.12!important}
body.single:has(#ms-feature) .single-meta {display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:22px!important}
#ms-feature .ms-fact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}
#ms-feature .ms-fact {border:1px solid var(--ms-line);border-top:3px solid var(--ms-accent);border-radius:18px;padding:25px;background:var(--ms-panel)}
#ms-feature .ms-fact-number {display:block;font-size:clamp(27px,3vw,42px);font-weight:800;line-height:1.15;letter-spacing:-.04em;color:var(--ms-accent);margin-bottom:22px}
#ms-feature .ms-fact h3 {font-size:20px}
#ms-feature .ms-fact p {font-size:14px;line-height:1.7}
#ms-feature .ms-fact a {font-size:12px;min-height:44px;display:inline-flex;align-items:center}
#ms-feature .ms-decision-map {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}
#ms-feature .ms-lane {display:flex;gap:18px;padding:24px;background:var(--ms-panel);border:1px solid var(--ms-line);border-radius:18px}
#ms-feature .ms-lane-icon {width:50px;height:50px;flex:0 0 50px;border-radius:14px;border:1px solid var(--ms-line);display:grid;place-items:center;font-weight:800;font-size:22px;color:var(--ms-accent);background:var(--ms-bg)}
#ms-feature .ms-lane h3 {font-size:23px;margin-bottom:12px}
#ms-feature .ms-lane .ms-kicker {margin-bottom:10px}
#ms-feature .ms-lane p {font-size:14px;line-height:1.7;margin-bottom:14px}
#ms-feature .ms-lane a {font-size:12px;min-height:44px;display:inline-flex;align-items:center}
#ms-feature .ms-route {display:grid;grid-template-columns:1fr 30px 1fr 30px 1fr;gap:8px;align-items:center;background:var(--ms-panel);border:1px solid var(--ms-line);border-radius:18px;padding:28px;margin:28px 0}
#ms-feature .ms-route .ms-kicker {display:block;font-size:9px!important;margin-bottom:10px}
#ms-feature .ms-route strong {display:block;font-size:19px;overflow-wrap:anywhere}
#ms-feature .ms-route-arrow {text-align:center;font-size:28px;color:var(--ms-accent)}
#ms-feature .ms-share-layout {display:grid;grid-template-columns:1.1fr .9fr;align-items:start;gap:30px}
#ms-feature .ms-share-layout img {width:100%;height:auto;border:1px solid var(--ms-line);border-radius:18px;display:block}
#ms-feature .ms-share .ms-quote {font-size:clamp(27px,3.2vw,42px);line-height:1.18;margin-top:0;letter-spacing:-.025em}
@media(max-width:850px){#ms-feature .ms-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 body.single:has(#ms-feature) .single-header{padding:25px!important;margin-bottom:22px!important}
 #ms-feature .ms-fact-grid,#ms-feature .ms-decision-map,#ms-feature .ms-share-layout{grid-template-columns:1fr}
 #ms-feature .ms-fact{padding:24px}
 #ms-feature .ms-fact-number{font-size:36px;margin-bottom:15px}
 #ms-feature .ms-route{grid-template-columns:1fr;padding:24px}
 #ms-feature .ms-route-arrow{transform:rotate(90deg);justify-self:start;margin-left:8px}
 #ms-feature .ms-lane{padding:22px;gap:14px}
}
