/* Compact, reusable guide dialog. No backdrop blur or animation loops. */
html.mkm-guide-open {overflow:hidden;scrollbar-gutter:stable}
.mkm-engine-guide {box-sizing:border-box;width:min(690px,calc(100% - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dce4e9;border-radius:20px;background:#fff;color:#082c4b;font-family:Jost,sans-serif;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #082c4b26}
.mkm-engine-guide:not([open]) {display:none}
.mkm-engine-guide::backdrop {background:rgb(8 28 44 / 48%)}
.mkm-engine-guide *, .mkm-engine-guide *::before {box-sizing:border-box}
.mkm-guide-top {position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 24px 0;gap:16px}
.mkm-guide-kicker {display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;letter-spacing:1.4px;color:#b74d1e}
.mkm-engine-guide svg {width:20px;height:20px;flex-shrink:0}
.mkm-engine-guide button.mkm-guide-close {display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid #e0e6ea;border-radius:50%;background:#fff;color:#526674;cursor:pointer}
.mkm-engine-guide button.mkm-guide-close:hover {background:#f3f5f5;border-color:#a9bac6;color:#082c4b}
.mkm-engine-guide :is(button,a):focus-visible {outline:2px solid #748b99;outline-offset:4px}
.mkm-guide-content {padding:4px 32px 26px}
.mkm-engine-guide h2 {font-size:30px;font-weight:600;line-height:1.2;margin:0 0 9px;letter-spacing:-.7px}
.mkm-engine-guide h2:focus {outline:none}
.mkm-guide-content>p {margin:0 0 22px;color:#526674;font-size:15px;line-height:1.5}
.mkm-guide-steps {padding:0;margin:0;list-style:none}
.mkm-guide-steps li {position:relative;display:grid;grid-template-columns:40px 1fr;gap:18px;padding:0 0 20px}
.mkm-guide-steps li:last-child {padding-bottom:0}
.mkm-guide-steps li:not(:last-child)::before {content:"";position:absolute;left:19px;top:44px;bottom:4px;width:2px;background:linear-gradient(#b74d1e66,#dce4e9);transform-origin:top}
.mkm-guide-number {display:grid;place-items:center;width:40px;height:40px;border:1px solid #e4c5b5;border-radius:12px;color:#b74d1e;background:#fcf3ed;font-size:14px;font-weight:600}
.mkm-guide-steps li:last-child .mkm-guide-number {color:#fff;background:#082c4b;border-color:#082c4b}
.mkm-engine-guide h3 {margin:1px 0 7px;font-size:18px;line-height:1.35;font-weight:600}
.mkm-guide-steps p {margin:0;color:#526674;font-size:14px;line-height:1.55}
.mkm-guide-tip {display:flex;gap:7px;align-items:flex-start;margin-top:10px;font-size:12px;line-height:1.5;color:#526674}
.mkm-guide-tip svg {width:16px;height:16px;margin-top:1px}
.mkm-guide-contact {display:grid;grid-template-columns:1fr auto;gap:18px 22px;padding:18px 32px 22px;background:#f3f5f5;border-top:1px solid #e0e6ea}
.mkm-guide-contact>div {grid-column:1/-1}
.mkm-guide-contact strong {display:block;font-weight:600;font-size:16px}
.mkm-guide-contact>div>span {display:block;color:#526674;font-size:13px;margin-top:3px}
.mkm-engine-guide a {text-decoration:none}
.mkm-engine-guide a.mkm-guide-primary {display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:50px;padding:12px 17px;border-radius:7px;background:#b74d1e;color:#fff;font-size:14px;font-weight:600}
.mkm-engine-guide a.mkm-guide-primary:hover {background:#953b14;color:#fff}
.mkm-engine-guide a.mkm-guide-phone {display:flex;align-items:center;gap:10px;min-height:48px;color:#082c4b;font-size:16px;font-weight:500}
.mkm-engine-guide a.mkm-guide-phone:hover {color:#b74d1e}
.mkm-guide-phone small {display:block;font-size:12px;font-weight:400;color:#526674}
@media (prefers-reduced-motion:no-preference) {
 .mkm-engine-guide[open] {animation:mkm-guide-in .22s ease-out both}
 .mkm-engine-guide[open] .mkm-guide-steps li>div,.mkm-engine-guide[open] .mkm-guide-number {animation:mkm-guide-in .32s ease-out both;animation-delay:.08s}
 .mkm-engine-guide[open] .mkm-guide-steps li:nth-child(2)>div,.mkm-engine-guide[open] li:nth-child(2) .mkm-guide-number {animation-delay:.2s}
 .mkm-engine-guide[open] .mkm-guide-steps li:nth-child(3)>div,.mkm-engine-guide[open] li:nth-child(3) .mkm-guide-number {animation-delay:.32s}
 .mkm-engine-guide[open] .mkm-guide-steps li::before {animation:mkm-guide-line .6s ease-out both}
 @keyframes mkm-guide-in {from {opacity:0;transform:translateY(7px)} to {opacity:1;transform:translateY(0)}}
 @keyframes mkm-guide-line {from {transform:scaleY(0)} to {transform:scaleY(1)}}
}
@media(max-width:599px) {
 .mkm-engine-guide {width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:16px}
 .mkm-guide-top {padding:12px 14px 0}
 .mkm-guide-content {padding:7px 20px 22px}
 .mkm-engine-guide h2 {font-size:26px}
 .mkm-guide-content>p {font-size:14px;margin-bottom:23px}
 .mkm-guide-steps li {grid-template-columns:34px 1fr;gap:12px;padding-bottom:22px}
 .mkm-guide-number {width:34px;height:34px;border-radius:10px;font-size:13px}
 .mkm-guide-steps li:not(:last-child)::before {left:16px;top:38px}
 .mkm-engine-guide h3 {font-size:16px}
 .mkm-guide-steps p {font-size:13px;line-height:1.55}
 .mkm-guide-contact {grid-template-columns:1fr;padding:20px;gap:14px}
 .mkm-guide-phone {justify-content:center}
}
