.territorySafetyPending{position:fixed;z-index:10010;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 30px);padding:11px 16px;border:1px solid #53616d;border-radius:10px;background:#16212b;color:#e7eff7;box-shadow:0 8px 28px #0006;font:13px/1.45 system-ui,sans-serif;pointer-events:none;text-align:center}.territorySafetyPending[hidden]{display:none}.territorySafetyPending strong{display:block;font-size:13px}.territorySafetyPending span{display:block;color:#bac6d2;font-size:12px;margin-top:2px}.territorySafetyDialog{position:fixed;inset:0;width:100vw;height:100dvh;min-height:100%;max-width:none;max-height:none;margin:0;border:0;padding:24px;background:#090d13;color:#f4f7fc;overflow:auto;box-sizing:border-box;font:16px/1.55 system-ui,sans-serif}.territorySafetyDialog::backdrop{background:#090d13}.territorySafetyDialog[open]{display:flex;align-items:center;justify-content:center}.territorySafetyCard{width:min(100%,690px);padding:32px 20px;text-align:center;box-sizing:border-box}.territorySafetyMark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 25px;border:1px solid #c76572;border-radius:50%;color:#ffb6c1;font-size:34px;font-weight:600;background:#27171e}.territorySafetyKicker{color:#ecb5be;letter-spacing:.14em;font-size:12px;font-weight:700;margin:0 0 17px}.territorySafetyTitle{font-size:clamp(27px,3.3vw,43px);line-height:1.23;letter-spacing:-.025em;font-weight:750;margin:0 0 24px;color:#f6f8fc}.territorySafetyMessage{font-size:19px;line-height:1.55;max-width:570px;margin:0 auto 20px;color:#e0e7ef;overflow-wrap:anywhere}.territorySafetyNote{font-size:14px;line-height:1.6;color:#9eafc1;margin:0 auto 28px;max-width:535px}.territorySafetyActions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.territorySafetyActions button,.territorySafetyActions a{font:600 14px/1.35 system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 19px;border:1px solid #62738a;border-radius:9px;background:#182534;color:#f2f7ff;text-decoration:none;cursor:pointer;box-sizing:border-box}.territorySafetyActions .territorySafetyExit{background:#e7eef6;color:#111b27;border-color:#e7eef6}.territorySafetyActions button:disabled{opacity:.55;cursor:default}.territorySafetyActions button:hover:not(:disabled),.territorySafetyActions a:hover{border-color:#a2c9ff}.territorySafetyActions a:focus-visible,.territorySafetyActions button:focus-visible,.territorySafetyLinks a:focus-visible{outline:2px solid #9ec7ff;outline-offset:4px}.territorySafetyLinks{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;margin-top:25px;font-size:13px}.territorySafetyLinks a{color:#b7c9de;text-decoration:underline;text-underline-offset:3px}.territorySafetyCheck{min-height:22px;color:#aebdcd;font-size:12px;margin:24px 0 0}.territorySafetyDialog *{box-sizing:border-box}
.territorySafetyDialog[open]{align-items:flex-start}.territorySafetyCard{margin:auto}.territorySafetyTitle:focus{outline:none}
@media(max-width:600px){.territorySafetyDialog{padding:max(12px,env(safe-area-inset-top)) 15px max(18px,env(safe-area-inset-bottom))}.territorySafetyCard{padding:24px 0}.territorySafetyMark{width:54px;height:54px;font-size:28px;margin-bottom:20px}.territorySafetyTitle{font-size:28px;margin-bottom:21px}.territorySafetyMessage{font-size:16px}.territorySafetyNote{font-size:13px;margin-bottom:23px}.territorySafetyActions{display:grid;grid-template-columns:1fr;width:100%}.territorySafetyActions button,.territorySafetyActions a{width:100%}.territorySafetyLinks{gap:10px 16px;margin-top:23px}.territorySafetyPending{bottom:max(84px,env(safe-area-inset-bottom));padding:10px 12px;max-width:calc(100vw - 20px)}.territorySafetyCheck{margin-top:20px}}
.territorySafetyPending{position:static;z-index:auto;left:auto;bottom:auto;transform:none;width:100%;max-width:none;margin:0;box-sizing:border-box;border-radius:6px;background:#141b1f;box-shadow:none;font-size:14px;text-align:left}
.territorySafetyPending strong{font-size:14px}.territorySafetyPending span{font-size:13px}
.map-route.has-territory-safety-pending{grid-template-rows:auto 58px minmax(0,1fr) auto}
.territorySafetyPending{display:flex;align-items:center;gap:12px;border-color:#555e65;background:#171b1e;color:#eef1f3}
.territorySafetyPendingCopy{flex:1;min-width:0;overflow-wrap:anywhere}.territorySafetyPendingCopy span{color:#c5cbd0}
.territorySafetyPendingRetry{pointer-events:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;min-height:36px;padding:8px 10px;border:1px solid #68737b;border-radius:5px;background:#252c31;color:#f0f3f5;font:600 12px/1.3 system-ui,sans-serif;cursor:pointer;box-sizing:border-box}
.territorySafetyPendingRetry span{margin:0;color:inherit;font-size:12px}.territorySafetyPendingRetry i,.territorySafetyPendingRetry svg{display:block;flex:0 0 auto;width:16px;height:16px;font:18px/16px system-ui,sans-serif;font-style:normal;text-align:center}.territorySafetyPendingRetry:disabled{opacity:.5;cursor:default}.territorySafetyPendingRetry:hover:not(:disabled){background:#323b42}.territorySafetyPendingRetry:focus-visible{outline:2px solid #d6e0e6;outline-offset:3px}
@media(max-width:600px){.territorySafetyPending{gap:8px}.territorySafetyPendingRetry{width:36px;height:36px;padding:8px}.territorySafetyPendingRetry span{display:none}}
