/* Nortap high-tech features: map, Ask Nortap, watchlist, trends, compare, export */
.ht-kicker{font-size:11px;letter-spacing:.22em;color:var(--acc);font-weight:700;text-transform:uppercase}
.ht-hero{border:1px solid #23414a;border-radius:14px;padding:20px;background:radial-gradient(1000px 260px at 0% -40%,rgba(79,209,197,.15),transparent 60%),linear-gradient(180deg,#0f1a21,#0c141b)}
.ht-ctrl{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:12px}
.ht-ctrl label{display:block;font-size:11px;color:var(--mut);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.ht-ctrl select,.ht-ctrl input{min-width:150px}
.ht-seg{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.ht-seg button{border:0;border-radius:0;background:var(--panel2);padding:9px 14px}
.ht-seg button.on{background:#1b5f5a;color:#fff;font-weight:700}
.ht-range{width:220px;accent-color:#4fd1c5}
.ht-maplay{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;margin-top:16px}
.ht-mapwrap{position:relative;border:1px solid #23414a;border-radius:12px;overflow:hidden;background:#0a1117}
#txmap{height:620px;background:#0a1117}
.ht-radar{position:absolute;inset:0;pointer-events:none;z-index:450;overflow:hidden}
.ht-radar:before{content:"";position:absolute;left:50%;top:50%;width:160%;aspect-ratio:1;transform:translate(-50%,-50%);background:conic-gradient(from 0deg,rgba(79,209,197,.0) 0deg,rgba(79,209,197,.0) 300deg,rgba(79,209,197,.06) 345deg,rgba(79,209,197,.15) 360deg);border-radius:50%;animation:htsweep 7s linear infinite;mix-blend-mode:screen}
.ht-radar:after{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 50%,transparent 0 79px,rgba(79,209,197,.06) 80px 81px)}
@keyframes htsweep{to{transform:translate(-50%,-50%) rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ht-radar:before{animation:none;opacity:.4}}
.ht-legend{position:absolute;left:10px;bottom:10px;z-index:460;background:rgba(11,15,20,.85);border:1px solid var(--line);border-radius:8px;padding:6px 9px;font-size:11px;color:var(--mut)}
.ht-legend .bar{height:8px;width:160px;border-radius:4px;background:linear-gradient(90deg,#123038,#1a6268,#2fa098,#4fd1c5,#bef9f0);margin:4px 0 2px}
.ht-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.ht-side .panel{padding:14px}
.ht-big{font-size:30px;font-weight:800;color:#fff;line-height:1.1}
.ht-list{list-style:none;margin:0;padding:0}
.ht-list li{padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}
.ht-list li:last-child{border-bottom:0}
.ht-list .r{float:right;color:var(--mut);font-variant-numeric:tabular-nums}
.leaflet-container{background:#0a1117;font:inherit}
.leaflet-tooltip.ht-tip{background:#0f1a21;color:#d9e2ec;border:1px solid #2a4652;box-shadow:none;font-size:12px}
/* Ask Nortap */
.ht-ask{border:1px solid #23414a;border-radius:14px;padding:16px 18px;background:radial-gradient(800px 200px at 100% -60%,rgba(79,209,197,.14),transparent 60%),#0f1a21;margin:0 0 16px}
.ht-askf{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.ht-askf input{flex:1;min-width:220px;font-size:16px;padding:12px 14px;border-radius:9px;background:#0b141b;border-color:#2a4652}
.ht-askf button{min-height:46px;padding:0 20px}
.ht-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}
.ht-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #2a6a66;background:#11292b;border-radius:999px;padding:3px 6px 3px 10px;font-size:12.5px;color:#cfeeea}
.ht-chip b{font-weight:600;color:var(--mut);font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.ht-chip select,.ht-chip input{background:transparent;border:0;color:#fff;padding:3px 2px;font-size:13px;min-width:0;max-width:190px;border-radius:4px}
.ht-chip select option{background:#111821}
.ht-chip select:focus,.ht-chip input:focus{box-shadow:none;background:#0b141b}
.ht-chip .x{border:0;background:none;color:var(--mut);padding:0 6px;font-size:16px;line-height:1;cursor:pointer}
.ht-chip .x:hover{color:var(--red)}
.ht-chip.add{border-style:dashed;background:transparent;padding:3px 10px}
.ht-ex{margin-top:8px;font-size:12.5px;color:var(--mut)}
.ht-ex a{margin-right:12px;display:inline-block}
/* compare */
.ht-cmp{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:12px;color:var(--mut);cursor:pointer;user-select:none;border:1px solid var(--line);border-radius:6px;padding:2px 8px 2px 5px;background:var(--panel2)}
.ht-cmp i{width:14px;height:14px;border:1.5px solid #4a6476;border-radius:3px;display:inline-block;position:relative}
.ht-cmp.on{color:#fff;border-color:#2a8f87}
.ht-cmp.on i{background:#4fd1c5;border-color:#4fd1c5}
.ht-cmp.on i:after{content:"";position:absolute;left:3px;top:0;width:4px;height:8px;border:solid #0b0f14;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ht-cmpbar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:1500;background:#0f1a21;border:1px solid #2a8f87;border-radius:12px;padding:10px 14px;display:flex;gap:14px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.5);max-width:calc(100% - 20px);flex-wrap:wrap}
.ht-cmpgrid{display:grid;gap:14px;margin-top:16px}
.ht-cmpgrid.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-cmpgrid.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ht-cmpcard{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.ht-cmpcard.best{border-color:#2a8f87;box-shadow:0 0 0 1px rgba(79,209,197,.25)}
.ht-cmpcard h3{font-size:16px;word-break:break-word}
.ht-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}
.ht-row span:first-child{color:var(--mut)}
.ht-row span:last-child{text-align:right;color:#fff;font-weight:600}
.ht-win{color:var(--grn)!important}
/* watchlist */
.ht-watchbtn.on{border-color:#2a8f87;color:#4fd1c5}
.ht-wl-link{align-self:center}
.ht-wl{display:grid;gap:12px;margin-top:14px}
.ht-wlcard{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.ht-wlcard.chg{border-color:#5e5622}
.ht-wlhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:flex-start}
.ht-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.ht-stat{background:var(--panel2);border:1px solid var(--line);border-radius:8px;padding:7px 9px}
.ht-stat .l{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--mut)}
.ht-stat .v{font-weight:700;color:#fff;font-size:13.5px;word-break:break-word}
.ht-chg{margin-top:10px;font-size:12.5px;border-left:3px solid #f6e05e;padding:4px 10px;background:#17170f;border-radius:0 6px 6px 0}
.ht-chg.ok{border-color:#68d391;background:#0f1912}.ht-chg.bad{border-color:#fc8181;background:#1b1010}
/* trends + export */
.ht-chartbox{position:relative;height:300px}
.ht-prev{overflow:auto}
.ht-prev table td,.ht-prev table th{white-space:nowrap}
.ht-lock{margin-top:10px;border:1px dashed #2a6a66;border-radius:10px;padding:14px;text-align:center;background:repeating-linear-gradient(135deg,#0f1a21 0 12px,#0d171d 12px 24px)}
.ht-count{font-size:34px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums}
.ht-teaser{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;margin:16px 0 4px}
.ht-mini{position:relative;border:1px solid #23414a;border-radius:12px;overflow:hidden;background:#0a1117;display:block}
.ht-mini svg{display:block;width:100%;height:auto}
.ht-mini .ht-radar:before{width:220%}
.ht-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ht-links a{border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-size:12.5px;background:var(--panel2)}
@media(max-width:900px){.ht-maplay,.ht-teaser{grid-template-columns:1fr}#txmap{height:440px}.ht-cmpgrid.n3{grid-template-columns:1fr}.ht-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ht-cmpgrid.n2{grid-template-columns:1fr}.ht-ctrl>div{flex:1 1 140px}.ht-ctrl select,.ht-ctrl input{width:100%;min-width:0}.ht-range{width:100%}#txmap{height:380px}.ht-chartbox{height:260px}.ht-hero{padding:16px}}
.ht-chips[hidden]{display:none!important}
/* dark look for standard OpenStreetMap tiles (CARTO basemaps now need an API key) */
.ht-darktiles{filter:invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.6)}
/* tighter nav so the extra links fit */
@media(min-width:701px){header.top nav{display:flex;flex-wrap:wrap;justify-content:flex-end;row-gap:4px;column-gap:14px}header.top nav a{margin-left:0;font-size:12px}}
@media(min-width:701px) and (max-width:1250px){header.top{flex-wrap:wrap}header.top nav{width:100%;justify-content:flex-start}}
.ht-ask .btn-acc,.ht-hero .btn-acc{background:linear-gradient(180deg,#1f6f69,#165953);border:1px solid #2a8f87;color:#fff;font-weight:700;border-radius:9px;cursor:pointer}
.ht-teaser{align-items:start}
.ht-teaser .ht-ask{margin:0}
.ht-hint{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ht-hint div{background:#0b141b;border:1px solid #1f3440;border-radius:8px;padding:8px 10px;font-size:12.5px}
.ht-hint b{display:block;color:#fff;font-size:15px}
