html.af-route-open{overflow:hidden;scrollbar-gutter:stable}
#af-directions{--route-purple:#6f167e;--route-ink:#201b27;--route-muted:#716879;--route-line:#e8e0ed;box-sizing:border-box;width:min(850px,calc(100% - 32px));max-width:850px;max-height:min(90dvh,880px);margin:auto;padding:0;border:1px solid var(--route-line);border-radius:20px;background:#fff;color:var(--route-ink);font-family:Montserrat,sans-serif;text-align:left;line-height:1.5;box-shadow:0 24px 90px #1d102340;overflow:hidden}
#af-directions:not([open]){display:none}#af-directions[open]{display:flex;flex-direction:column}#af-directions::backdrop{background:#20162799;backdrop-filter:blur(3px)}
#af-directions *{box-sizing:border-box}#af-directions h2,#af-directions h3,#af-directions p{font-family:inherit;text-transform:none;letter-spacing:normal;color:inherit}
#af-directions .af-route-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:24px 28px 16px;flex-shrink:0;background:#fff}#af-directions .af-route-eyebrow{font-size:11px;color:var(--route-purple);font-weight:600;letter-spacing:.04em}#af-directions h2{font-size:27px;font-weight:600;line-height:1.25;margin:6px 0 8px}#af-directions .af-route-head p{font-size:13px;color:var(--route-muted);margin:0}#af-directions button{font-family:inherit;font-weight:500;text-transform:none;letter-spacing:normal;box-shadow:none;margin:0;cursor:pointer}#af-directions .af-route-close{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:1px solid var(--route-line);border-radius:11px;background:#fff;color:var(--route-muted);font-size:30px;line-height:1}
#af-directions .af-route-tabs{display:flex;gap:6px;margin:0 28px 16px;padding:4px;border:1px solid var(--route-line);border-radius:11px;background:#f6f2f8;flex-shrink:0}#af-directions .af-route-tabs button{flex:1;min-height:42px;border:0;border-radius:7px;background:transparent;color:var(--route-muted);padding:8px 14px;font-size:13px}#af-directions .af-route-tabs button[aria-selected=true]{background:var(--route-purple);color:#fff;font-weight:600}
#af-directions .af-route-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 28px 20px;scrollbar-width:thin;scroll-padding:16px}#af-directions [role=tabpanel][hidden]{display:none!important}#af-directions h3{font-size:18px;font-weight:600;line-height:1.35;margin:0 0 8px}#af-directions .af-route-lead{font-size:13px;line-height:1.6;color:var(--route-muted);margin:0 0 18px}
#af-directions .af-route-flow{display:grid;grid-template-columns:1fr 20px 1.25fr 20px 1fr;align-items:stretch;gap:5px;padding:18px 12px;border:1px solid var(--route-line);border-radius:14px;background:#faf7fc;margin-bottom:22px}#af-directions .af-route-flow>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0}#af-directions .af-route-number{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #dbc6e4;border-radius:12px;background:#fff;color:var(--route-purple);font-size:20px;font-weight:600;margin-bottom:4px}#af-directions .af-route-flow strong{font-size:12px;line-height:1.4}#af-directions .af-route-flow small{font-size:10px;line-height:1.45;color:var(--route-muted)}#af-directions .af-route-flow-arrow{align-self:center;color:#a383b0;font-size:23px}#af-directions .af-route-destination .af-route-number{background:var(--route-purple);border-color:var(--route-purple);color:white}#af-directions svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;flex-shrink:0}#af-directions .af-route-gate{height:44px;display:flex;align-items:center;justify-content:center;gap:4px;margin-bottom:4px;color:var(--route-purple)}#af-directions .af-route-gate b{width:30px;height:37px;display:grid;place-items:center;border:1px solid #dbc6e4;border-radius:5px;background:#fff;font-size:15px}#af-directions .af-route-gate svg{width:19px}
#af-directions .af-route-steps{padding:0;margin:0 0 20px;list-style:none;counter-reset:route}#af-directions .af-route-steps li{position:relative;padding:0 0 16px 35px;counter-increment:route;margin:0}#af-directions .af-route-steps li:last-child{padding-bottom:0}#af-directions .af-route-steps li:before{content:counter(route);position:absolute;left:0;top:0;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#f1e7f5;color:var(--route-purple);font-size:12px;font-weight:600}#af-directions .af-route-steps strong{display:block;font-size:13px;line-height:1.45;margin:0 0 4px}#af-directions .af-route-steps li>span{display:block;font-size:12px;line-height:1.6;color:var(--route-muted)}
#af-directions .af-route-pass{display:flex;gap:14px;padding:15px 16px;margin-bottom:20px;border:1px solid #dbc6e4;border-radius:12px;background:#f6eef9}#af-directions .af-route-pass-time{display:flex;align-items:center;text-align:center;width:72px;flex-shrink:0;font-size:18px;font-weight:600;line-height:1.3;color:var(--route-purple)}#af-directions .af-route-pass strong{font-size:14px}#af-directions .af-route-pass p{font-size:12px;line-height:1.6;color:var(--route-muted);margin:4px 0 0}#af-directions .af-route-pass b{font-weight:600;color:var(--route-ink)}
#af-directions .af-route-details{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-top:15px;border-top:1px solid var(--route-line);font-size:12px;color:var(--route-muted)}#af-directions .af-route-details strong{display:block;font-size:12px;color:var(--route-ink);margin-bottom:3px}#af-directions .af-route-details button{min-height:38px;padding:7px 11px;border:1px solid var(--route-line);border-radius:8px;background:#fff;color:var(--route-purple);font-size:11px}#af-directions .af-route-copy-status:empty{display:none}#af-directions .af-route-copy-status{flex:0 0 100%;font-size:11px;color:var(--route-purple)}
#af-directions .af-route-actions{flex-shrink:0;display:flex;gap:10px;padding:15px 28px;border-top:1px solid var(--route-line);background:#fff}#af-directions .af-route-actions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #dbc6e4;border-radius:10px;font-size:13px;font-weight:600;line-height:1.3;text-decoration:none}#af-directions .af-route-call{flex:1;color:var(--route-purple);background:#fff}#af-directions .af-route-telegram{flex:1.3;color:#fff;background:var(--route-purple)}#af-directions :is(a,button):focus-visible{outline:2px solid var(--route-purple);outline-offset:3px}#af-directions .af-route-scroll:focus-visible{outline:2px solid #dbc6e4;outline-offset:-3px}
@media(max-width:599px){#af-directions{width:calc(100% - 16px);max-height:calc(100dvh - 20px);border-radius:16px}#af-directions .af-route-head{padding:18px 16px 14px}#af-directions h2{font-size:23px}#af-directions .af-route-head p{font-size:11px;line-height:1.5}#af-directions .af-route-eyebrow{font-size:10px}#af-directions .af-route-close{width:38px;min-width:38px;height:38px;min-height:38px}#af-directions .af-route-tabs{margin:0 16px 12px}#af-directions .af-route-tabs button{font-size:11px;padding:9px 6px;min-height:44px}#af-directions .af-route-scroll{padding:3px 16px 16px}#af-directions h3{font-size:16px}#af-directions .af-route-lead{font-size:12px;margin-bottom:14px}#af-directions .af-route-flow{grid-template-columns:1fr;gap:10px;padding:14px}#af-directions .af-route-flow>div{display:grid;grid-template-columns:42px 1fr;gap:2px 10px;text-align:left;align-items:center}#af-directions .af-route-number,#af-directions .af-route-gate{grid-row:1/3;width:40px;height:40px;margin:0}#af-directions .af-route-flow strong{font-size:12px}#af-directions .af-route-flow small{font-size:10px}#af-directions .af-route-flow-arrow{justify-self:start;margin-left:13px;font-size:20px;line-height:1;transform:rotate(90deg)}#af-directions .af-route-flow-drive>div:nth-child(3){grid-template-columns:72px 1fr}#af-directions .af-route-gate{width:72px;gap:2px}#af-directions .af-route-gate b{width:24px;height:33px;font-size:13px}#af-directions .af-route-gate svg{width:17px}#af-directions .af-route-pass{padding:12px;gap:10px}#af-directions .af-route-pass-time{font-size:16px;width:57px}#af-directions .af-route-pass strong{font-size:13px}#af-directions .af-route-pass p{font-size:11px}#af-directions .af-route-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:8px}#af-directions .af-route-actions a{font-size:11px;padding:10px 8px;gap:6px}#af-directions .af-route-actions svg{width:18px;height:18px}#af-directions .af-route-details{font-size:11px}#af-directions .af-route-details button{min-height:44px}}
/* Route links load Yandex only when the visitor chooses to open it. */
#af-directions .af-yandex-panel{margin:0 0 20px;padding:18px;border:1px solid var(--route-line);border-radius:14px;background:#faf7fc}
#af-directions .af-yandex-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:16px}#af-directions .af-yandex-heading>svg{width:26px;height:26px;color:var(--route-purple)}#af-directions .af-yandex-heading strong{display:block;font-size:15px;font-weight:600;line-height:1.4}#af-directions .af-yandex-heading span{display:block;font-size:12px;line-height:1.55;color:var(--route-muted);margin-top:4px}
#af-directions .af-yandex-buttons{display:flex;flex-direction:column;gap:10px}#af-directions .af-yandex-buttons a{align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:12px 15px;border:1px solid var(--route-purple);border-radius:10px;font-family:inherit;font-size:13px;line-height:1.4;font-weight:600;text-decoration:none}#af-directions .af-yandex-map{display:flex;background:var(--route-purple);color:#fff}#af-directions .af-yandex-navigator{display:none;background:#fff;color:var(--route-purple)}#af-directions .af-yandex-buttons a>span{font-size:20px;line-height:1}#af-directions .af-yandex-map:hover{background:#581063}#af-directions .af-yandex-navigator:hover{background:#f1e5f5}
#af-directions .af-yandex-destination-note,#af-directions .af-yandex-app-note{margin:13px 0 0;font-size:12px;line-height:1.6;color:var(--route-muted)}#af-directions .af-yandex-app-note{display:none}#af-directions .af-yandex-warehouse{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-top:8px;color:var(--route-purple);font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px),(pointer:coarse){#af-directions .af-yandex-navigator{display:flex}#af-directions .af-yandex-app-note{display:block}}
@media(max-width:599px){#af-directions .af-yandex-panel{padding:14px}#af-directions .af-yandex-heading strong{font-size:14px}#af-directions .af-yandex-heading span{font-size:12px}#af-directions .af-yandex-buttons a{font-size:12px;padding:12px;min-height:48px}#af-directions .af-yandex-warehouse{min-height:44px}}
