/* Grid Reference and Bearing Tool. All selectors scoped under .tl-gr */
.tl-gr{--gr-d:#1c1b1b;--gr-r:#ed2629;--gr-b:#3899ec;--gr-m:#6e6e73;--gr-l:#f5f5f7}
.tl-gr svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tl-gr .tl-gr-jump{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:-8px 0 8px}
.tl-gr .tl-gr-jump a{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 13px;border-radius:999px;background:#fff;border:1px solid rgba(0,0,0,.1);color:var(--gr-d);font:15px/1 'lp-figtree-600',Arial,sans-serif;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.tl-gr .tl-gr-jump a:hover{border-color:rgba(237,38,41,.45)}
.tl-gr .tl-gr-jump svg{width:18px;height:18px;color:var(--gr-r)}
.tl-gr h2{scroll-margin-top:90px}
.tl-gr .tl-gr-card{padding:26px}
.tl-gr .tl-gr-intro{margin:0 0 16px;color:#4a4a4a}
.tl-gr .tl-gr-after{margin:-10px 0 0;text-align:center}
.tl-gr .tl-gr-after a{color:var(--gr-b)}
.tl-gr .tl-btn svg{width:20px;height:20px}
.tl-gr .tl-gr-big{width:100%;height:56px;font-size:18px}
.tl-gr .tl-gr-status{margin:12px 0 0;font-size:14.5px;line-height:1.5;color:var(--gr-m);min-height:0}
.tl-gr .tl-gr-status:empty{display:none}
.tl-gr .tl-gr-status.is-err{color:var(--gr-d);background:rgba(237,38,41,.07);border:1px solid rgba(0,0,0,.08);padding:10px 12px;border-radius:8px}
.tl-gr .tl-gr-out{margin-top:18px}
.tl-gr .tl-gr-out[hidden],.tl-gr .tl-gr-map[hidden],.tl-gr [hidden]{display:none!important}
/* inputs */
.tl-gr .tl-gr-inrow{display:grid;grid-template-columns:1fr auto;gap:10px}
.tl-gr .tl-gr-inrow .tl-btn{min-width:120px}
.tl-gr .tl-gr-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.tl-gr .tl-gr-chips button{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(0,0,0,.1);background:var(--gr-l);color:#3a3a3a;font:13.5px/1 'lp-figtree-600',Arial,sans-serif;cursor:pointer}
.tl-gr .tl-gr-chips button:hover{border-color:rgba(56,153,236,.6)}
.tl-gr .tl-gr-chips .tl-gr-chip-me{background:#fff;color:var(--gr-b);border-color:rgba(56,153,236,.45)}
.tl-gr .tl-gr-ac{position:relative}
.tl-gr .tl-gr-ac input{padding-right:52px}
.tl-gr .tl-gr-me{position:absolute;right:5px;top:5px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(56,153,236,.1);color:var(--gr-b);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tl-gr .tl-gr-me svg{width:19px;height:19px}
.tl-gr .tl-gr-me.is-busy svg{animation:tl-gr-spin 1s linear infinite}
@keyframes tl-gr-spin{to{transform:rotate(360deg)}}
.tl-gr .tl-gr-list{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#fff;border-radius:16px;border:1px solid rgba(0,0,0,.08);box-shadow:0 18px 40px -12px rgba(0,0,0,.28);max-height:320px;overflow-y:auto}
.tl-gr .tl-gr-list li{padding:9px 12px;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.tl-gr .tl-gr-list li:hover,.tl-gr .tl-gr-list li.is-on{background:var(--gr-l)}
.tl-gr .tl-gr-list b{font:15px/1.25 'lp-figtree-600',Arial,sans-serif;color:var(--gr-d)}
.tl-gr .tl-gr-list span{font-size:12.5px;color:var(--gr-m)}
.tl-gr .tl-gr-pair{display:grid;grid-template-columns:1fr 44px 1fr;gap:12px;align-items:end;margin:0 0 16px}
.tl-gr .tl-gr-swap{width:44px;height:46px;border-radius:50%;border:1px solid rgba(0,0,0,.12);background:#fff;color:var(--gr-d);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tl-gr .tl-gr-swap svg{width:20px;height:20px;transform:rotate(90deg)}
/* hero result */
.tl-gr .tl-gr-hero{position:relative;background:var(--gr-d);color:#fff;border-radius:16px;padding:20px 22px 20px;display:flex;flex-direction:column;gap:6px}
.tl-gr .tl-gr-k{font:12.5px/1.2 'lp-figtree-600',Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#9aa0a6}
.tl-gr .tl-gr-ref-big{font:44px/1.05 'lp-outfit-700-2',Arial,sans-serif;letter-spacing:.01em;font-variant-numeric:tabular-nums;word-spacing:.08em}
.tl-gr .tl-gr-hrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tl-gr .tl-gr-hero .tl-gr-copy{background:rgba(255,255,255,.12);color:#fff;border-color:transparent}
.tl-gr .tl-gr-hero .tl-gr-copy.is-done{background:var(--gr-r)}
.tl-gr .tl-gr-copy{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 13px;border-radius:999px;border:1px solid rgba(0,0,0,.1);background:#fff;color:var(--gr-d);font:13.5px/1 'lp-figtree-600',Arial,sans-serif;cursor:pointer;flex:none}
.tl-gr .tl-gr-copy svg{width:16px;height:16px}
.tl-gr .tl-gr-copy.is-done{background:var(--gr-d);color:#fff}
.tl-gr .tl-gr-acc{display:flex;gap:12px;align-items:center;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:rgba(56,153,236,.08)}
.tl-gr .tl-gr-acc b{font:22px/1 'lp-outfit-700-2',Arial,sans-serif;color:var(--gr-b);flex:none}
.tl-gr .tl-gr-acc span{font-size:14px;line-height:1.45;color:#3a3a3a}
.tl-gr .tl-gr-acc.is-weak{background:rgba(237,38,41,.07)}
.tl-gr .tl-gr-acc.is-weak b{color:var(--gr-r)}
.tl-gr .tl-gr-sq{margin:12px 0 0}
.tl-gr .tl-gr-refs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 0}
.tl-gr .tl-gr-refs .tl-gr-copy span{display:none}
.tl-gr .tl-gr-refs .tl-gr-copy{width:36px;padding:0;justify-content:center}
.tl-gr .tl-gr-ref{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--gr-l);border-radius:12px;padding:12px 10px 12px 14px}
.tl-gr .tl-gr-ref div{display:flex;flex-direction:column;gap:3px;min-width:0}
.tl-gr .tl-gr-ref b{font:19px/1.15 'lp-outfit-700-2',Arial,sans-serif;color:var(--gr-d);font-variant-numeric:tabular-nums;white-space:nowrap}
.tl-gr .tl-gr-ref span{font-size:12.5px;color:var(--gr-m)}
.tl-gr .tl-gr-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 0}
.tl-gr .tl-gr-fact{position:relative;border:1px solid rgba(0,0,0,.07);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.tl-gr .tl-gr-fact span{font:12px/1.2 'lp-figtree-600',Arial,sans-serif;color:var(--gr-m)}
.tl-gr .tl-gr-fact b{font:18px/1.2 'lp-outfit-700-2',Arial,sans-serif;color:var(--gr-d);font-variant-numeric:tabular-nums}
.tl-gr .tl-gr-fact em{font-style:normal;font-size:12.5px;line-height:1.4;color:var(--gr-m)}
.tl-gr .tl-gr-fact .tl-gr-copy{align-self:flex-start;margin-top:4px;height:32px;font-size:12.5px;padding:0 11px}
.tl-gr .tl-gr-fact-mag{background:rgba(237,38,41,.05);border-color:rgba(237,38,41,.18)}
.tl-gr .tl-gr-fact-mag b{color:var(--gr-r)}
/* map */
.tl-gr .tl-gr-map{height:300px;border-radius:14px;overflow:hidden;margin:16px 0 0;background:var(--gr-l)}
.tl-gr .tl-gr-maptip{margin:8px 0 0;text-align:center}
.tl-gr .tl-gr-mapfail{padding:24px;text-align:center;color:var(--gr-m);font-size:14px}
.tl-gr .tl-gr-pinw{width:32px;height:38px;display:flex;justify-content:center;cursor:default}
.tl-gr .tl-gr-pin{width:26px;height:26px;border-radius:50% 50% 50% 0;background:var(--gr-r);transform:rotate(-45deg);border:3px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;margin-top:2px}
.tl-gr .tl-gr-pin span{transform:rotate(45deg);color:#fff;font:12px/1 'lp-outfit-700-2',Arial,sans-serif}
/* bearing */
.tl-gr .tl-gr-bear{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.tl-gr .tl-gr-bt{position:relative;border:1px solid rgba(0,0,0,.07);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:5px;background:#fff}
.tl-gr .tl-gr-bt b{font:38px/1.05 'lp-outfit-700-2',Arial,sans-serif;color:var(--gr-d);font-variant-numeric:tabular-nums}
.tl-gr .tl-gr-bt b small{font-size:.55em;letter-spacing:0}
.tl-gr .tl-gr-bt em{font-style:normal;font-size:13px;line-height:1.4;color:var(--gr-m)}
.tl-gr .tl-gr-bt .tl-gr-copy{position:absolute;right:12px;top:12px;height:32px;font-size:12.5px;padding:0 11px}
.tl-gr .tl-gr-bt.is-mag{background:var(--gr-d);border-color:var(--gr-d)}
.tl-gr .tl-gr-bt.is-mag b{color:#fff}
.tl-gr .tl-gr-bt.is-mag em{color:#c9ccd0}
.tl-gr .tl-gr-bt.is-mag .tl-gr-copy{background:rgba(255,255,255,.12);color:#fff;border-color:transparent}
.tl-gr .tl-gr-explain{margin:14px 0 0;font-size:15px;background:var(--gr-l);border-radius:12px;padding:12px 16px}
.tl-gr .tl-gr-pts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.tl-gr .tl-gr-pts>div{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--gr-m);min-width:0}
.tl-gr .tl-gr-pts i{flex:none;width:26px;height:26px;border-radius:50%;background:var(--gr-r);color:#fff;font:12px/26px 'lp-outfit-700-2',Arial,sans-serif;text-align:center;font-style:normal}
.tl-gr .tl-gr-pts span{display:flex;flex-direction:column;min-width:0;gap:1px}
.tl-gr .tl-gr-pts em{font-style:normal}
.tl-gr .tl-gr-pts b{font:14.5px/1.3 'lp-figtree-600',Arial,sans-serif;color:var(--gr-d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tl-gr .tl-gr-pts a{color:var(--gr-b)}
/* magnetic */
.tl-gr .tl-gr-maggrid{display:grid;grid-template-columns:1fr 240px;gap:16px;align-items:stretch}
.tl-gr .tl-gr-magmain{background:var(--gr-d);color:#fff;border-radius:16px;padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.tl-gr .tl-gr-rule{color:#e6e7e9!important;margin:2px 0 8px;font-size:15.5px!important}
.tl-gr .tl-gr-rule b{color:#fff}
.tl-gr .tl-gr-mini{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.tl-gr .tl-gr-mini div{background:rgba(255,255,255,.07);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:3px}
.tl-gr .tl-gr-mini span{font:11.5px/1.2 'lp-figtree-600',Arial,sans-serif;color:#9aa0a6;text-transform:uppercase;letter-spacing:.05em}
.tl-gr .tl-gr-mini b{font:18px/1.15 'lp-outfit-700-2',Arial,sans-serif;color:#fff}
.tl-gr .tl-gr-mini em{font-style:normal;font-size:12px;line-height:1.35;color:#b9bcc1}
.tl-gr .tl-gr-fig{margin:0;background:var(--gr-l);border-radius:16px;padding:14px 10px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tl-gr .tl-gr-norths{width:100%;max-width:230px;height:auto}
.tl-gr .tl-gr-norths text{font:12px 'lp-figtree-600',Arial,sans-serif;stroke:none}
.tl-gr .tl-gr-norths line{fill:none}
.tl-gr .tl-gr-norths circle{stroke:none}
.tl-gr .tl-gr-key{display:flex;gap:14px;list-style:none;margin:8px 0 2px;padding:0;font:12.5px/1 'lp-figtree-600',Arial,sans-serif;color:var(--gr-d)}
.tl-gr .tl-gr-key li{display:flex;align-items:center;gap:6px}
.tl-gr .tl-gr-key i{width:16px;height:3px;border-radius:2px;background:var(--gr-r)}
.tl-gr .tl-gr-key i.is-g{background:repeating-linear-gradient(90deg,var(--gr-d) 0 5px,transparent 5px 8px)}
.tl-gr .tl-gr-key i.is-t{background:var(--gr-b)}
.tl-gr .tl-gr-fig figcaption{font-size:12px;color:var(--gr-m);text-align:center;margin-top:4px}
.tl-gr .tl-gr-tabh{margin:26px 0 10px}
.tl-gr .tl-gr-tabh span{color:var(--gr-m);font-family:'lp-figtree-600',Arial,sans-serif;font-size:14px}
.tl-gr .tl-gr-table{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tl-gr .tl-gr-table .tl-note{grid-column:1/-1;margin:4px 0 0}
.tl-gr .tl-gr-tr{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;border:1px solid rgba(0,0,0,.07);background:#fff;border-radius:12px;padding:11px 14px;cursor:pointer;min-height:56px;font:inherit;color:inherit}
.tl-gr .tl-gr-tr:hover{border-color:rgba(237,38,41,.4)}
.tl-gr .tl-gr-tr span{display:flex;flex-direction:column;gap:2px;min-width:0}
.tl-gr .tl-gr-tr b{font:15px/1.25 'lp-figtree-600',Arial,sans-serif;color:var(--gr-d)}
.tl-gr .tl-gr-tr em{font-style:normal;font-size:12px;color:var(--gr-m)}
.tl-gr .tl-gr-tr .tl-gr-tv{align-items:flex-end;flex:none}
.tl-gr .tl-gr-tr .tl-gr-tv b{font:19px/1.1 'lp-outfit-700-2',Arial,sans-serif;color:var(--gr-r)}
.tl-gr .tl-gr-how h3{margin-top:18px}
.tl-gr .tl-gr-how h3:first-child{margin-top:0}
.tl-gr .tl-gr-how p{margin:0 0 6px}
.tl-gr .mapboxgl-ctrl-attrib{font-size:10px}

@media (max-width:750px){
 .tl-gr .tl-gr-jump{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:-4px 0 0}
 .tl-gr .tl-gr-jump a{height:36px;font-size:12.5px;padding:0 10px;gap:6px;justify-content:center}
 .tl-gr .tl-gr-jump svg{width:15px;height:15px}
 .tl-gr .tl-gr-card{padding:14px}
 .tl-gr .tl-gr-intro{font-size:13px!important;margin-bottom:12px}
 .tl-gr .tl-gr-after{margin-top:-6px}
 .tl-gr .tl-gr-big{height:46px;font-size:15px}
 .tl-gr .tl-btn svg{width:17px;height:17px}
 .tl-gr .tl-gr-status{font-size:12.5px}
 .tl-gr .tl-gr-out{margin-top:14px}
 .tl-gr .tl-gr-inrow{gap:8px}
 .tl-gr .tl-gr-inrow .tl-btn{min-width:0;padding:0 14px}
 .tl-gr .tl-gr-chips{gap:6px;margin-top:10px}
 .tl-gr .tl-gr-chips button{height:30px;font-size:11.5px;padding:0 10px}
 .tl-gr .tl-gr-ac input{padding-right:42px}
 .tl-gr .tl-gr-me{right:4px;top:4px;width:32px;height:32px}
 .tl-gr .tl-gr-me svg{width:16px;height:16px}
 .tl-gr .tl-gr-list{border-radius:12px;max-height:250px}
 .tl-gr .tl-gr-list li{padding:8px 10px}
 .tl-gr .tl-gr-list b{font-size:13px}.tl-gr .tl-gr-list span{font-size:11px}
 .tl-gr .tl-gr-pair{grid-template-columns:1fr;gap:6px;margin-bottom:12px}
 .tl-gr .tl-gr-swap{width:36px;height:36px;justify-self:end;margin:-2px 4px -8px 0}
 .tl-gr .tl-gr-swap svg{width:17px;height:17px;transform:none}
 .tl-gr .tl-gr-hero{padding:14px 14px 15px;border-radius:12px;gap:4px}
 .tl-gr .tl-gr-k{font-size:10px}
 .tl-gr .tl-gr-ref-big{font-size:28px}
 .tl-gr .tl-gr-hero .tl-gr-copy{height:30px;padding:0 10px;font-size:11.5px}
 .tl-gr .tl-gr-copy svg{width:14px;height:14px}
 .tl-gr .tl-gr-acc{gap:10px;padding:10px 12px;margin-top:10px}
 .tl-gr .tl-gr-acc b{font-size:17px}
 .tl-gr .tl-gr-acc span{font-size:12px}
 .tl-gr .tl-gr-refs,.tl-gr .tl-gr-facts{grid-template-columns:1fr;gap:6px;margin-top:8px}
 .tl-gr .tl-gr-refs .tl-gr-copy span{display:inline}
 .tl-gr .tl-gr-refs .tl-gr-copy{width:auto;padding:0 10px}
 .tl-gr .tl-gr-ref{padding:8px 8px 8px 12px;border-radius:10px}
 .tl-gr .tl-gr-ref b{font-size:16px}
 .tl-gr .tl-gr-ref span{font-size:11px}
 .tl-gr .tl-gr-copy{height:30px;padding:0 10px;font-size:11.5px}
 .tl-gr .tl-gr-fact{padding:10px 12px;border-radius:10px}
 .tl-gr .tl-gr-fact span{font-size:10.5px}
 .tl-gr .tl-gr-fact b{font-size:15px;padding-right:70px}
 .tl-gr .tl-gr-fact em{font-size:11px}
 .tl-gr .tl-gr-fact .tl-gr-copy{position:absolute;right:8px;top:10px;margin:0;height:30px;font-size:11.5px}
 .tl-gr .tl-gr-fact-mag b{padding-right:0}
 .tl-gr .tl-gr-map{height:220px;border-radius:12px;margin-top:12px}
 /* Mapbox draws markers and reads taps wrongly inside the zoomed phone layout, so the map box is un-zoomed */
 .tl-gr .tl-gr-map{zoom:calc(1 / var(--z,1.171875));width:auto;height:calc(220px * var(--z,1.171875));border-radius:calc(12px * var(--z,1.171875));margin-top:calc(12px * var(--z,1.171875))}
 .tl-gr .tl-gr-maptip{font-size:11.5px!important}
 .tl-gr .tl-gr-bear{gap:6px}
 .tl-gr .tl-gr-bt{padding:11px 12px;border-radius:12px;gap:3px}
 .tl-gr .tl-gr-bt b{font-size:24px}
 .tl-gr .tl-gr-bt em{font-size:10.5px}
 .tl-gr .tl-gr-bt .tl-gr-k{font-size:9px;letter-spacing:.04em}
 .tl-gr .tl-gr-bt.is-mag{grid-column:1/-1}
 .tl-gr .tl-gr-bt.is-mag b{font-size:34px}
 .tl-gr .tl-gr-bt.is-mag .tl-gr-k{font-size:10px}
 .tl-gr .tl-gr-bt.is-mag em{font-size:11.5px}
 .tl-gr .tl-gr-bt .tl-gr-copy{right:8px;top:8px;height:30px;padding:0 10px;font-size:11.5px}
 .tl-gr .tl-gr-bt.is-h{grid-column:1/-1}
 .tl-gr .tl-gr-key{font-size:11px;gap:10px}
 .tl-gr .tl-gr-explain{font-size:12.5px!important;padding:10px 12px;margin-top:10px}
 .tl-gr .tl-gr-pts{grid-template-columns:1fr;gap:6px}
 .tl-gr .tl-gr-pts>div{font-size:11.5px}
 .tl-gr .tl-gr-pts b{font-size:12.5px}
 .tl-gr .tl-gr-pts i{width:22px;height:22px;line-height:22px;font-size:11px}
 .tl-gr .tl-gr-maggrid{grid-template-columns:1fr;gap:10px}
 .tl-gr .tl-gr-magmain{padding:14px;border-radius:12px}
 .tl-gr .tl-gr-rule{font-size:12.5px!important;margin:0 0 6px}
 .tl-gr .tl-gr-mini{gap:6px}
 .tl-gr .tl-gr-mini div{padding:8px 10px}
 .tl-gr .tl-gr-mini span{font-size:9px}
 .tl-gr .tl-gr-mini b{font-size:15px}
 .tl-gr .tl-gr-mini em{font-size:10.5px}
 .tl-gr .tl-gr-fig{border-radius:12px;padding:10px}
 .tl-gr .tl-gr-norths{max-width:200px}
 .tl-gr .tl-gr-fig figcaption{font-size:10.5px}
 .tl-gr .tl-gr-tabh{margin:20px 0 8px}
 .tl-gr .tl-gr-tabh span{font-size:12px}
 .tl-gr .tl-gr-table{grid-template-columns:1fr;gap:6px}
 .tl-gr .tl-gr-tr{padding:8px 12px;min-height:46px;border-radius:10px}
 .tl-gr .tl-gr-tr b{font-size:13px}
 .tl-gr .tl-gr-tr em{font-size:10.5px}
 .tl-gr .tl-gr-tr .tl-gr-tv b{font-size:16px}
 .tl-gr .tl-gr-how h3{margin-top:14px}
}
