/* SAP Business One to Zoho migration page only. Loaded via `extra: crm, mid, p-msap`. Every class is scoped .msap- */

/* ================= hero: SAP object tree wired to Zoho apps ================= */
.msap-hero .msap-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
.msap-hero .pg-h1 { max-width: 19ch; font-size: clamp(32px, 1.1rem + 2vw, 46px); }
.msap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 620px; }
.msap-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 10px; background: #fff; border: 1px solid #D5E6EF; font: 600 13.5px/1.25 var(--f-body); color: #082238; }
.msap-chips svg { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #E3F1FB; box-sizing: border-box; fill: none; stroke: #0A6FA8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.msap-tree { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); column-gap: 70px; margin: 0; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 50px 80px -46px rgba(8,34,56,.5); }
.msap-tree__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.msap-wire { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; transition: stroke-dashoffset .9s cubic-bezier(.3,.7,.2,1), opacity .25s, stroke-width .25s; }
.msap-wire.is-on { stroke-dashoffset: 0; }
.msap-wire.is-hi { stroke-width: 3.4; opacity: 1; }
.msap-wire.is-lo { opacity: .18; }
.msap-tree__src { position: relative; z-index: 2; padding: 12px; border-radius: 16px; background: #F4F6F9; border: 1px solid #DFE4EC; }
.msap-tree__top { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; font: 700 12.5px/1.25 var(--f-body); color: #082238; }
.msap-tree__top em { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: #E5EAF1; color: #334155; font: 700 11px/1.2 var(--f-body); font-style: normal; }
.msap-tree__ico { width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, #0A3A63, #1D6FB8); }
.msap-tree__list { position: relative; display: grid; gap: 4px; margin: 0; padding: 0 0 0 14px; list-style: none; }
.msap-tree__list::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 16px; border-left: 1.5px dotted #94A3B8; }
.msap-node { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid #E2E8F0; cursor: default; transition: border-color .25s, box-shadow .25s; }
.msap-node::before { content: ""; position: absolute; left: -10px; top: 50%; width: 9px; border-top: 1.5px dotted #94A3B8; }
.msap-node:hover { border-color: #00A3D9; box-shadow: 0 6px 14px -10px rgba(8,34,56,.5); }
.msap-node__t { display: flex; align-items: center; gap: 7px; font: 700 12.5px/1.25 var(--f-body); color: #082238; grid-column: 1; }
.msap-node__t i { order: 2; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #0A6FA8; flex: none; }
.msap-node small { grid-column: 1; font: 500 11px/1.3 var(--f-body); color: #475569; }
.msap-node__to { display: none; grid-column: 1 / -1; margin-top: 3px; font: 700 11px/1.2 var(--f-body); color: #0A6FA8; }
.msap-node__to::before { content: "→ "; }
.msap-node.is-ask { background: #FFFBF0; border-color: #F5D58A; }
.msap-node.is-ask .msap-node__t i { background: #D97706; }
.msap-node__tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 3px 7px; border-radius: 6px; background: #FFB81C; color: #082238; font: 800 10.5px/1.2 var(--f-body); white-space: nowrap; }
.msap-tree__apps { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; margin: 0; padding: 0; list-style: none; }
.msap-app { display: flex; align-items: center; gap: 8px; padding: 12px 12px; border-radius: 14px; background: #fff; border: 1.5px solid #D5E6EF; box-shadow: 0 14px 24px -20px rgba(8,34,56,.6); font: 700 13px/1.2 var(--f-body); color: #082238; transition: transform .25s, border-color .25s; }
.msap-app.is-hi { transform: translateX(-4px); border-color: #00A3D9; }
.msap-app img { flex: none; }
.msap-tree__cap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 2px 0; font: 600 13px/1.3 var(--f-body); color: #334155; }
.msap-tree__cap b { font: 800 18px/1 var(--f-display); color: #15803D; }
.msap-tree__ask { margin-left: auto; padding: 4px 9px; border-radius: 6px; background: #FFF1CC; color: #7A4E00; font-size: 12px; font-weight: 700; }

/* ================= moves: three lanes ================= */
.msap-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.msap-lane { position: relative; padding: 22px 22px 22px 26px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; overflow: hidden; }
.msap-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.msap-lane--go { --c: #1E9E62; --t: #14532D; }
.msap-lane--shift { --c: #0A6FA8; --t: #0A3A63; }
.msap-lane--ask { --c: #F0A400; --t: #7A4E00; background: #FFFCF4; }
.msap-lane__tag { display: inline-block; margin: 0 0 8px; font: 800 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--t); }
.msap-lane h3 { margin: 0 0 12px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.msap-lane ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.msap-lane li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: #334155; }
.msap-lane li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border: 2px solid var(--c); border-radius: 50%; box-sizing: border-box; }
.msap-lane li b { color: #082238; }
.msap-lane a { color: #0A5F90; font-weight: 600; }
.msap-moves__byd { margin: 20px 0 0; max-width: 92ch; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px dashed #A9C6D8; font-size: 15px; line-height: 1.55; color: #334155; }

/* ================= module fit check (dark band) ================= */
.msap-fit__box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; margin-top: 34px; align-items: start; }
.msap-fit__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); min-width: 0; }
.msap-fit__lg { grid-column: 1 / -1; float: left; width: 100%; margin: 0 0 4px; padding: 0; font: 700 14px/1.3 var(--f-body); color: #DCEAF4; }
.msap-mod { position: relative; display: block; cursor: pointer; }
.msap-mod input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.msap-mod span { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; min-height: 56px; box-sizing: border-box; padding: 11px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(6,26,46,.45); transition: background .2s, border-color .2s; }
.msap-mod span::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px; border: 2px solid #9FC0D8; box-sizing: border-box; }
.msap-mod b { font: 700 14.5px/1.3 var(--f-body); color: #fff; }
.msap-mod small { font: 500 12.5px/1.35 var(--f-body); color: #BFD3E2; }
.msap-mod input:checked + span { background: rgba(255,184,28,.12); border-color: #FFB81C; }
.msap-mod input:checked + span::before { background: #FFB81C; border-color: #FFB81C; box-shadow: inset 0 0 0 3px #0A2C4A; }
.msap-mod input:focus-visible + span { outline: 3px solid #FFB81C; outline-offset: 2px; }
.msap-fit__more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255,184,28,.1); border: 1px dashed rgba(255,184,28,.55); }
.msap-fit__more[hidden] { display: none; }
.msap-fit__more p { width: 100%; margin: 0 0 2px; font: 600 14px/1.35 var(--f-body); color: #fff; }
.msap-fit__more label { position: relative; cursor: pointer; }
.msap-fit__more input { position: absolute; opacity: 0; }
.msap-fit__more span { display: inline-block; min-height: 36px; box-sizing: border-box; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font: 600 13.5px/1.2 var(--f-body); color: #fff; }
.msap-fit__more input:checked + span { background: #FFB81C; border-color: #FFB81C; color: #082238; }
.msap-fit__more input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.msap-fit__out { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: #fff; color: #334155; box-shadow: 0 40px 70px -40px rgba(0,0,0,.7); min-width: 0; }
.msap-fit__lbl { margin: 0; font: 700 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #475569; }
.msap-fit__tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.msap-fit__tally li { padding: 10px; border-radius: 12px; font: 600 12.5px/1.3 var(--f-body); }
.msap-fit__tally b { display: block; font: 800 26px/1.05 var(--f-display); }
.msap-fit__tally .is-go { background: #E3F6EA; color: #14532D; }
.msap-fit__tally .is-app { background: #EEE7FE; color: #4C1D95; }
.msap-fit__tally .is-warn { background: #FFF1CC; color: #7A4E00; }
.msap-fit__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; max-height: 420px; overflow-y: auto; }
.msap-v { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid #E2E8F0; border-left: 5px solid var(--c); animation: msapIn .35s ease-out; }
.msap-v--go { --c: #1E9E62; --bg: #E3F6EA; --t: #14532D; }
.msap-v--app { --c: #7C3AED; --bg: #EEE7FE; --t: #4C1D95; }
.msap-v--warn { --c: #D97706; --bg: #FFF1CC; --t: #7A4E00; }
.msap-v b { grid-column: 1; font: 700 15px/1.3 var(--f-display); color: #082238; }
.msap-v__tag { grid-column: 2; grid-row: 1; align-self: start; padding: 3px 8px; border-radius: 6px; background: var(--bg); color: var(--t); font: 800 11.5px/1.25 var(--f-body); white-space: nowrap; }
.msap-v em { grid-column: 1 / -1; font: 700 12.5px/1.3 var(--f-body); font-style: normal; color: #0A5F90; }
.msap-v p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: #475569; }
@keyframes msapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msap-fit__sum { margin: 0; padding: 11px 13px; border-radius: 12px; background: #F3F7F9; font: 600 14px/1.45 var(--f-body); color: #082238; }
.msap-fit__out .btn { align-self: flex-start; }
.msap-fit__note { margin: -4px 0 0; font-size: 12.5px; line-height: 1.4; color: #475569; }

/* ================= stay or move + why: kit spacing ================= */
.msap-tug, .msap-wipe { margin-top: 30px; }
.msap-wipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msap-wipe .mk-wipe__item { min-height: 200px; }
@media (max-width: 760px) { .msap-wipe { grid-template-columns: 1fr; } }
.msap-tug .mk-tug__ends img { margin-left: 6px; vertical-align: -5px; }
.msap-why__more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; }

/* ================= trust ================= */
.msap-trust__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 40px); margin-top: 34px; align-items: start; }
.msap-trust__left { display: grid; gap: 18px; }
.msap-note { position: relative; padding: 26px 26px 22px; border-radius: 6px 22px 22px 22px; background: #fff; border: 1px solid #DCE7EE; box-shadow: 0 30px 50px -44px rgba(8,34,56,.5); }
.msap-note__tag { margin: 0 0 10px; font: 700 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #0A5F90; }
.msap-note p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: #334155; }
.msap-note__sig { display: flex; align-items: center; gap: 12px; margin: 16px 0 0 !important; }
.msap-note__faces { display: flex; }
.msap-note__faces img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.msap-note__faces img + img { margin-left: -10px; }
.msap-note__sig span:last-child { font-size: 13.5px; line-height: 1.35; color: #475569; }
.msap-note__sig b { display: block; font: 700 15px/1.3 var(--f-body); color: #082238; }
.msap-what h3 { margin: 0 0 10px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.msap-what details { border-radius: 12px; background: #fff; border: 1px solid #DCE7EE; margin-bottom: 8px; }
.msap-what summary { cursor: pointer; min-height: 24px; padding: 13px 16px; font: 600 15px/1.35 var(--f-body); color: #082238; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.msap-what summary::-webkit-details-marker { display: none; }
.msap-what summary::after { content: "+"; font: 700 18px/1 var(--f-display); color: #0A6FA8; }
.msap-what details[open] summary::after { content: "–"; }
.msap-what summary:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; border-radius: 12px; }
.msap-what details p { margin: 0; padding: 0 16px 14px; font-size: 15px; line-height: 1.55; color: #475569; }
.msap-report { margin: 0; position: sticky; top: 100px; }
.msap-report__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 14px 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #8FD3C1; font: 700 14px/1.25 var(--f-body); color: #0B6E62; }
.msap-report__badge svg { width: 22px; height: 22px; fill: none; stroke: #0D9488; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.msap-report__card { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #DCE7EE; box-shadow: 0 40px 70px -46px rgba(8,34,56,.55); }
.msap-report__top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font: 700 16px/1.2 var(--f-display); color: #082238; }
.msap-report__top em { padding: 4px 9px; border-radius: 6px; background: #FFF1CC; color: #7A4E00; font: 700 11.5px/1.2 var(--f-body); font-style: normal; }
.msap-report__t { overflow-x: auto; }
.msap-report table { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 13.5px; }
.msap-report th { padding: 6px; text-align: left; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: #475569; border-bottom: 1px solid #E2E8F0; }
.msap-report td { padding: 8px 6px; border-bottom: 1px solid #F1F5F9; color: #334155; }
.msap-report td:nth-child(2), .msap-report td:nth-child(3) { font: 700 13.5px/1.2 var(--f-body); font-variant-numeric: tabular-nums; color: #082238; text-align: right; }
.msap-report td:nth-child(3) { color: #0A5F90; }
.msap-report th:nth-child(2), .msap-report th:nth-child(3) { text-align: right; }
.msap-report td:last-child { text-align: right; width: 28px; }
.msap-tick { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #16A34A; position: relative; vertical-align: middle; }
.msap-tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.msap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msap-report__foot { margin: 14px 0 6px; padding: 10px 12px; border-radius: 10px; background: #ECF8F4; font: 700 15px/1.35 var(--f-body); color: #0B6E62; }
.msap-report__sub { margin: 0; font-size: 13px; line-height: 1.45; color: #475569; }

/* ================= #cutover scroll-story (J5): weekend clock ================= */
.msap-wk { padding: 0; background: linear-gradient(180deg, #FFF8EB 0%, #F3F7F9 100%); overflow-x: clip; }
.msap-wk__stage { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.msap-wk__head .pg-answer { margin-bottom: 0; }
.msap-wk__nav { display: none; }
.msap-wk__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 30px; }
.msap-wk__art { position: sticky; top: 100px; }
.msap-wk__clock { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1; }
.msap-wk__clock svg { display: block; width: 100%; height: 100%; overflow: visible; }
.msap-wk__face { fill: #fff; stroke: #E2E8F0; stroke-width: 1.5; }
.msap-wk__seg { fill: none; stroke-width: 10; stroke-linecap: butt; }
.msap-wk__seg--fri { stroke: #FFD27A; }
.msap-wk__seg--sat { stroke: #9DD3EC; }
.msap-wk__seg--sun { stroke: #A7E0C0; }
.msap-wk__seg--mon { stroke: #0A3A63; }
.msap-wk__dl { fill: #082238; letter-spacing: .08em; }
.msap-wk__ring { fill: none; stroke: #EEF2F6; stroke-width: 14; }
.msap-wk__arc { fill: none; stroke: #00A3D9; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1); }
.msap-wk__ticks line { stroke: #94A3B8; stroke-width: 1.5; }
.msap-wk__ticks line.is-big { stroke: #475569; stroke-width: 2.5; }
.msap-wk__dot { fill: #fff; stroke: #94A3B8; stroke-width: 2.5; transition: fill .3s, stroke .3s, r .3s; }
.msap-wk__dot.is-past { fill: #00A3D9; stroke: #00A3D9; }
.msap-wk__dot.is-on { fill: #FFB81C; stroke: #082238; r: 9; }
.msap-wk__hand { stroke: #082238; stroke-width: 5; stroke-linecap: round; transform-box: view-box; transform-origin: 200px 200px; transition: transform .7s cubic-bezier(.3,1.3,.4,1); }
.msap-wk__pin { fill: #FFB81C; stroke: #082238; stroke-width: 3; }
.msap-wk__c { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; width: max-content; max-width: 100%; margin: 10px auto 0; padding: 8px 16px; border-radius: 10px; background: #082238; text-align: center; }
.msap-wk__c span { font: 800 11.5px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #9FD8F0; }
.msap-wk__c b { font: 800 20px/1.15 var(--f-display); color: #FFB81C; font-variant-numeric: tabular-nums; }
.msap-wk__c small { font: 600 13px/1.25 var(--f-body); color: #E2EEF6; }
.msap-wk__bar { display: none; }
.msap-wk__lbl { margin: 14px 0 0; text-align: center; font: 600 13px/1.4 var(--f-body); color: #475569; }
.msap-wk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.msap-wk__st { position: relative; padding: 18px 20px 18px 22px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 44px -40px rgba(8,34,56,.5); }
.msap-wk__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.msap-wk__when span { padding: 4px 9px; border-radius: 6px; background: #082238; color: #fff; letter-spacing: .04em; }
.msap-wk__st h3 { margin: 0 0 6px; font: 700 clamp(19px, 1rem + .5vw, 22px)/1.25 var(--f-display); letter-spacing: -.015em; color: #082238; }
.msap-wk__st p:last-child { margin: 0; font-size: 15.5px; line-height: 1.55; color: #334155; }
.msap-wk__st:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }

.msap-wk--live .msap-wk__track { position: relative; height: calc(100vh + 8 * 52vh); }
.msap-wk--live .msap-wk__stage { position: sticky; top: 0; height: 100vh; min-height: 600px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 24px; }
.msap-wk--live .pg-h2 { font-size: clamp(26px, 1rem + 1.1vw, 34px); margin-bottom: 8px; }
.msap-wk--live .pg-answer { font-size: 16px; max-width: 90ch; }
.msap-wk--live .msap-wk__nav { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.msap-wk__nav button { min-height: 32px; font: 600 13px/1 var(--f-body); color: #082238; background: #fff; border: 1px solid #CBD5E1; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.msap-wk__nav button.is-past { border-color: #00A3D9; }
.msap-wk__nav button[aria-current="true"] { background: #082238; color: #fff; border-color: #082238; }
.msap-wk__nav button:focus-visible { outline: 2px solid #FFB81C; outline-offset: 2px; }
.msap-wk--live .msap-wk__grid { margin-top: 16px; align-items: center; }
.msap-wk--live .msap-wk__art { position: static; }
.msap-wk--live .msap-wk__clock { width: auto; height: min(40vh, 380px); max-width: none; }
.msap-wk--live .msap-wk__bar { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.msap-wk__bar i { width: 22px; height: 5px; border-radius: 4px; background: rgba(8,34,56,.14); transition: background .4s; }
.msap-wk__bar i.on { background: #FFB81C; }
.msap-wk--live .msap-wk__list { display: grid; }
.msap-wk--live .msap-wk__st { grid-area: 1 / 1; align-self: center; padding: 26px 28px; opacity: 0; pointer-events: none; transform: translateY(10px) scale(.985); transition: opacity .2s, transform .25s; }
.msap-wk--live .msap-wk__st.is-on { opacity: 1; pointer-events: auto; transform: none; transition: opacity .4s .12s, transform .55s .12s cubic-bezier(.2,.8,.2,1); }
.msap-wk--live .msap-wk__st h3 { font-size: clamp(22px, 1rem + .9vw, 28px); }
.msap-wk--live .msap-wk__st p:last-child { font-size: 17px; }
@media (max-height: 780px) {
  .msap-wk--live .hp-kick { display: none; }
  .msap-wk--live .msap-wk__stage { padding-top: 80px; padding-bottom: 12px; }
  .msap-wk--live .pg-h2 { font-size: 26px; }
  .msap-wk--live .pg-answer { font-size: 15px; line-height: 1.5; }
  .msap-wk--live .msap-wk__nav { margin-top: 8px; }
  .msap-wk--live .msap-wk__grid { margin-top: 10px; }
  .msap-wk--live .msap-wk__clock { height: 34vh; }
  .msap-wk--live .msap-wk__c { margin-top: 6px; padding: 5px 12px; }
  .msap-wk--live .msap-wk__c b { font-size: 17px; }
  .msap-wk--live .msap-wk__lbl { margin-top: 6px; }
}

/* ================= #steps: road kit ================= */
.msap-road__road { margin-top: 30px; }
.msap-road .mk-road__stops p b { color: #082238; }
.msap-mo { display: inline-block; margin: 0 2px; padding: 1px 7px; border-radius: 5px; background: #FFF1CC; color: #7A4E00; font: 700 11.5px/1.4 var(--f-body); font-style: normal; white-space: nowrap; }
.msap-road__more { margin: 18px 0 0; }

/* ================= packages ================= */
.msap-pk__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; align-items: stretch; }
.msap-pk__card { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; border-top: 4px solid var(--c, #0A6FA8); transition: transform 300ms cubic-bezier(.2,.7,.1,1), box-shadow 300ms; }
.msap-pk__card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(8,34,56,.5); }
.msap-pk__card.is-mid { box-shadow: 0 0 0 1px var(--c) inset; }
.msap-pk__card.is-pick { box-shadow: 0 0 0 3px #FFB81C, 0 30px 50px -36px rgba(8,34,56,.5); }
.msap-pk__tag { align-self: flex-start; margin: 0 0 12px; padding: 5px 10px; border-radius: 6px; background: var(--bg, #E3F1FB); font: 700 12.5px/1.2 var(--f-body); color: #082238; }
.msap-pk__card h3 { margin: 0 0 12px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.msap-pk__card ul { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.msap-pk__card li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.45; color: #334155; }
.msap-pk__card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 10px; border: solid var(--c, #0A6FA8); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.msap-pk__fee { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed #CBD5E1; font: 600 14px/1.45 var(--f-body); color: #082238; }
.msap-pk__card--assess { --c: #FFB81C; background: linear-gradient(160deg, #082238, #0A3A63); border-color: #0A3A63; border-top-color: #FFB81C; color: #CFE2EF; }
.msap-pk__card--assess .msap-pk__tag { background: #FFB81C; color: #082238; }
.msap-pk__card--assess h3 { color: #fff; }
.msap-pk__card--assess p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; }
.msap-pk__card--assess li { color: #E2EEF6; }
.msap-pk__card--assess .btn { margin-top: auto; align-self: flex-start; }

/* ================= planner: month ruler ================= */
.msap-plan__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; align-items: end; }
.msap-pf { display: grid; gap: 6px; margin: 0; min-width: 0; }
.msap-pf > span { font: 600 13.5px/1.3 var(--f-body); color: #475569; }
.msap-pf input, .msap-pf select { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font: 600 16px/1.2 var(--f-body); color: #082238; }
.msap-pf input:focus-visible, .msap-pf select:focus-visible { outline: 3px solid #FFB81C; outline-offset: 1px; }
.msap-plan__sum { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #ECF8F4; border: 1px solid #8FD3C1; }
.msap-plan__sum.is-amber { background: #FFF8E6; border-color: #FFD27A; }
.msap-plan__sum.is-red { background: #FEF0EE; border-color: #F5B4AA; }
.msap-plan__warn { margin: 0; font: 600 15px/1.45 var(--f-body); color: #0B6E62; }
.is-amber .msap-plan__warn { color: #7A4E00; }
.is-red .msap-plan__warn { color: #B42318; }
.msap-plan__keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 0; }
.msap-plan__keys dt { font: 700 11.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.msap-plan__keys dd { margin: 4px 0 0; font: 800 18px/1.2 var(--f-display); color: #082238; }
.msap-plan__keys .is-stop dd { color: #B42318; }
.msap-ruler { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(78px, 1fr)); gap: 0; margin-top: 18px; overflow-x: auto; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; }
.msap-ruler__m { position: relative; min-height: 132px; padding: 10px 8px 12px; border-left: 1px solid #EEF2F6; display: flex; flex-direction: column; gap: 6px; }
.msap-ruler__m:first-child { border-left: 0; }
.msap-ruler__m > p { margin: 0; padding-bottom: 6px; border-bottom: 3px solid #CBD5E1; font: 800 14px/1.2 var(--f-display); color: #082238; }
.msap-ruler__m > p small { font: 700 11px/1 var(--f-body); color: #475569; }
.msap-ruler__m.is-fy { background: #FFFBEF; }
.msap-ruler__fy { font: 700 10.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #7A4E00; }
.msap-ruler__dots { display: flex; flex-wrap: wrap; gap: 4px; }
.msap-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 800 10.5px/1 var(--f-display); font-style: normal; color: #fff; background: var(--pc); }
.msap-dot.is-mo { box-shadow: 0 0 0 2px #FFB81C; }
.msap-dot--0, .msap-plan__steps li.msap-dot--0 { --pc: #0A5F90; }
.msap-dot--1, .msap-plan__steps li.msap-dot--1 { --pc: #6D28D9; }
.msap-dot--2, .msap-plan__steps li.msap-dot--2 { --pc: #15803D; }
.msap-dot--3, .msap-plan__steps li.msap-dot--3 { --pc: #0E7490; }
.msap-dot--4, .msap-plan__steps li.msap-dot--4 { --pc: #082238; }
.msap-flag { align-self: flex-start; padding: 3px 7px; border-radius: 5px; font: 800 11px/1.2 var(--f-body); }
.msap-flag--wk { background: #00A3D9; color: #04263F; }
.msap-flag--stop { background: #FDE2DE; color: #B42318; }
.msap-flag--end { background: #082238; color: #fff; }
.msap-plan__steps { margin-top: 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; }
.msap-plan__steps summary { cursor: pointer; min-height: 24px; padding: 13px 16px; font: 700 15px/1.3 var(--f-body); color: #0A5F90; }
.msap-plan__steps summary:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; border-radius: 14px; }
.msap-plan__steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 18px; margin: 0; padding: 0 16px 16px; list-style: none; }
.msap-plan__steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #F1F5F9; font: 600 13.5px/1.3 var(--f-body); color: #082238; }
.msap-plan__steps li i { grid-row: 1 / span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pc); color: #fff; font: 800 11px/1 var(--f-display); font-style: normal; }
.msap-plan__steps li.is-mo i { box-shadow: 0 0 0 2px #FFB81C; }
.msap-plan__steps li em { font: 700 11px/1.2 var(--f-body); font-style: normal; color: #7A4E00; }
.msap-plan__steps li small { grid-column: 2; font: 500 12px/1.2 var(--f-body); color: #475569; }
.msap-plan__steps li b { grid-column: 3; grid-row: 1 / span 2; font: 700 13px/1.2 var(--f-body); font-variant-numeric: tabular-nums; color: #082238; white-space: nowrap; }
.msap-plan__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.msap-plan__lbl { margin: 0; font: 600 14px/1.45 var(--f-body); color: #475569; max-width: 62ch; }

/* ================= savings: three yearly columns ================= */
.msap-sav__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; }
.msap-sav__in, .msap-sav__out { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; min-width: 0; }
.msap-sav__in { display: grid; gap: 16px; }
.msap-sav__sap { display: grid; gap: 6px; }
.msap-sav__sap span { font: 600 13.5px/1.3 var(--f-body); color: #475569; }
.msap-sav__sap input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid #CBD5E1; font: 700 16px/1.2 var(--f-body); color: #082238; }
.msap-sav__sap input:focus-visible { outline: 3px solid #FFB81C; outline-offset: 1px; }
.msap-sav__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.msap-sav__r span { grid-column: 1 / -1; font: 600 13.5px/1.3 var(--f-body); color: #475569; }
.msap-sav__r input { width: 100%; min-height: 24px; accent-color: #0A6FA8; }
.msap-sav__r output { min-width: 40px; padding: 4px 8px; border-radius: 8px; background: #E3F1FB; font: 800 16px/1.2 var(--f-display); color: #082238; text-align: center; }
.msap-sav__pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.msap-sav__pick legend { padding: 0; margin-bottom: 6px; font: 600 13.5px/1.3 var(--f-body); color: #475569; }
.msap-sav__pick label { position: relative; cursor: pointer; }
.msap-sav__pick input { position: absolute; opacity: 0; }
.msap-sav__pick span { display: block; padding: 9px 6px; border-radius: 10px; border: 1px solid #CDE8F5; background: #F1F8FC; text-align: center; font: 600 13.5px/1.2 var(--f-body); color: #082238; }
.msap-sav__pick small { display: block; margin-top: 3px; font: 700 12px/1.2 var(--f-body); color: #0A5F90; }
.msap-sav__pick input:checked + span { background: #0A5F90; border-color: #0A5F90; color: #fff; }
.msap-sav__pick input:checked + span small { color: #E3F1FB; }
.msap-sav__pick input:focus-visible + span { outline: 3px solid #FFB81C; outline-offset: 2px; }
.msap-sav__unit { margin: 0; font-size: 13.5px; color: #475569; }
.msap-sav__out { display: flex; flex-direction: column; gap: 14px; }
.msap-sav__years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.msap-yr { display: flex; flex-direction: column; min-width: 0; }
.msap-yr__bars { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 190px; padding: 0 4px; border-bottom: 2px solid #CBD5E1; }
.msap-yr__b { position: relative; width: 42%; max-width: 48px; height: var(--h, 50%); min-height: 6px; border-radius: 6px 6px 0 0; transition: height .45s cubic-bezier(.2,.7,.1,1); }
.msap-yr__b--a { background: repeating-linear-gradient(135deg, #94A3B8 0 6px, #A9B6C7 6px 12px); }
.msap-yr__b--a.is-empty { background: #E2E8F0; }
.msap-yr__b--z { background: linear-gradient(180deg, #00A3D9, #0A5F90); }
.msap-yr > p { margin: 8px 0 0; text-align: center; font: 700 13px/1.25 var(--f-body); color: #082238; }
.msap-yr > p small { display: block; margin-top: 3px; font: 600 12px/1.25 var(--f-body); color: #475569; font-variant-numeric: tabular-nums; }
.msap-yr > p small.is-z { color: #0A5F90; }
.msap-yr__key { grid-column: 1 / -1; display: grid; gap: 4px; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #334155; }
.msap-yr__key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.msap-yr__key .is-a::before { background: #94A3B8; }
.msap-yr__key .is-z::before { background: #0A5F90; }
.msap-sav__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.msap-sav__nums div { padding: 12px 14px; border-radius: 12px; background: #F3F7F9; }
.msap-sav__nums .is-big { background: #ECF8F4; }
.is-neg .msap-sav__nums .is-big { background: #FFF8E6; }
.msap-sav__nums dt { font: 600 13px/1.3 var(--f-body); color: #475569; }
.msap-sav__nums dd { margin: 4px 0 0; font: 800 20px/1.2 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; }
.msap-sav__nums .is-big dd { font-size: 26px; color: #0B6E62; }
.is-neg .msap-sav__nums .is-big dd { color: #7A4E00; }
.msap-sav__fee { margin: 0; font-size: 14.5px; line-height: 1.5; color: #334155; }
.msap-sav__lbl { margin: auto 0 0; font: 600 13px/1.4 var(--f-body); color: #475569; }

/* ================= day one cheat sheet ================= */
.msap-sheet { margin-top: 28px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #DCE7EE; box-shadow: 0 30px 50px -44px rgba(8,34,56,.5); }
.msap-sheet__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 19px/1.2 var(--f-display); color: #082238; }
.msap-sheet__h em { font: 700 12px/1.2 var(--f-body); font-style: normal; color: #0A3A63; padding: 4px 9px; border-radius: 6px; background: #E3F1FB; }
.msap-sheet__t { overflow-x: auto; }
.msap-sheet table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.msap-sheet th { padding: 9px 10px; text-align: left; font: 700 12px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: #fff; background: #0A3A63; }
.msap-sheet th:first-child { border-radius: 8px 0 0 8px; }
.msap-sheet th:last-child { border-radius: 0 8px 8px 0; }
.msap-sheet td { padding: 9px 10px; border-bottom: 1px solid #EEF2F6; line-height: 1.45; color: #334155; vertical-align: top; }
.msap-sheet td:first-child { width: 34%; font-weight: 700; color: #082238; }
.msap-sheet td:last-child { width: 96px; font: 700 12.5px/1.3 var(--f-body); color: #0A5F90; }
.msap-sheet__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .msap-pk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .msap-hero .msap-hero__grid, .msap-lanes, .msap-fit__box, .msap-trust__grid, .msap-sav__box { grid-template-columns: 1fr; }
  .msap-report { position: static; }
  .msap-tree { max-width: 640px; }
}
@media (max-width: 900px) {
  .msap-wk__grid { grid-template-columns: 1fr; }
  .msap-wk__art { position: static; max-width: 380px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) {
  .msap-tree { grid-template-columns: 1fr; padding: 12px; }
  .msap-tree__wires, .msap-tree__apps { display: none; }
  .msap-node__to { display: block; }
  .msap-node__t i { display: none; }
  .msap-fit__in { grid-template-columns: 1fr; padding: 16px; }
  .msap-fit__out { padding: 18px; }
  .msap-fit__tally b { font-size: 22px; }
  .msap-plan__in, .msap-plan__keys { grid-template-columns: 1fr; }
  .msap-pk__grid { grid-template-columns: 1fr; }
  .msap-sav__nums { grid-template-columns: 1fr; }
  .msap-yr__bars { height: 150px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .msap-wire, .msap-wk__hand, .msap-wk__arc, .msap-yr__b, .msap-pk__card, .msap-app { transition: none !important; }
  .msap-v { animation: none; }
}
@media print {
  html.msap-printing body * { visibility: hidden !important; }
  html.msap-printing #msap-sheet, html.msap-printing #msap-sheet * { visibility: visible !important; }
  html.msap-printing #msap-sheet { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 1px solid #999; }
  html.msap-printing .msap-sheet__acts { display: none !important; }
  .msap-sheet th { color: #000 !important; background: #eee !important; }
}
