/* Graphs for the historical sections on seo-status.html (tables are kept inside "Vis tabell") */
.hv{margin:14px 0 6px;--hl:#2e3744}
.hv-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.hv-tile{display:flex;align-items:center;gap:12px;background:#1a212b;border:1px solid var(--hl);border-radius:14px;padding:12px 14px}
.hv-tile .rg{position:relative;width:54px;height:54px;flex:none}
.hv-tile .rg svg{width:100%;height:100%;transform:rotate(-90deg)}
.hv-tile .rg circle{fill:none;stroke-width:6;stroke-linecap:round}
.hv-tile .rg .bg{stroke:rgba(255,255,255,.1)}
.hv-tile .rg .fg{transition:stroke-dasharray 1s cubic-bezier(.3,.9,.3,1)}
.hv-tile .rg span{position:absolute;inset:0;display:grid;place-items:center;font:700 11px Inter,sans-serif;color:#fff}
.hv-tile b{display:block;font:700 22px "Space Grotesk",sans-serif;line-height:1.1}
.hv-tile small{display:block;color:#8f9bab;font-size:11px;line-height:1.3;margin-top:2px}
.hv-card{background:#1a212b;border:1px solid var(--hl);border-radius:16px;padding:16px;margin-bottom:12px}
.hv-card h3{margin:0 0 10px;font:700 14px "Space Grotesk",sans-serif}
.hv-card h3 small{font:400 11px Inter,sans-serif;color:#8f9bab;margin-left:6px}
.hv-journey{display:grid;gap:4px}
.hv-jr{display:grid;grid-template-columns:minmax(120px,210px) minmax(0,1fr) 112px;gap:10px;align-items:center;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.hv-jr:last-child{border-bottom:0}
.hv-jr .nm{font-size:12.5px;line-height:1.25;color:#e9eef3}.hv-jr .nm small{display:block;color:#6f7c8c;font-size:10.5px}
.hv-jr svg{display:block;width:100%;height:30px;overflow:visible}
.hv-jr .st{font:700 11px Inter,sans-serif;white-space:nowrap;text-align:center;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.07);color:#aab4c0}
.hv-jr .st.ok{color:#60d394;background:rgba(96,211,148,.14)}.hv-jr .st.gap{color:#f2c14e;background:rgba(242,193,78,.14)}.hv-jr .st.na{color:#6f7c8c}
.hv-jr.na{opacity:.6}
.hv-axis{display:grid;grid-template-columns:minmax(120px,210px) minmax(0,1fr) 112px;gap:10px;font-size:10.5px;color:#6f7c8c}
.hv-leg{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:11px;color:#8f9bab}
.hv-leg i{display:inline-block;vertical-align:-1px;margin-right:6px}
.hv-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.hv-pc{background:#161c24;border:1px solid var(--hl);border-radius:14px;padding:12px}
.hv-pc h4{margin:0;font:700 11px Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8f9bab}
.hv-pc .vals{display:flex;align-items:baseline;gap:6px;margin:6px 0 8px;font:700 22px "Space Grotesk",sans-serif}.hv-pc .vals small{font:400 11px Inter,sans-serif;color:#8f9bab}
.hv-pc svg{display:block;width:100%;height:56px}
.hv-chip{font:700 10.5px Inter,sans-serif;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.08)}.hv-chip.up{color:#60d394;background:rgba(96,211,148,.14)}.hv-chip.down{color:#ef8f96;background:rgba(239,107,115,.14)}
.hv-bars{display:grid;gap:9px}
.hv-bar{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:3px 10px}
.hv-bar .lb{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#e9eef3}.hv-bar .lb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hv-bar .lb b{font-variant-numeric:tabular-nums}
.hv-bar .tr{height:8px;border-radius:4px;background:rgba(255,255,255,.07);overflow:hidden}
.hv-bar .tr i{display:block;height:100%;width:0;border-radius:4px;transition:width .9s cubic-bezier(.3,.9,.3,1)}
.hv-bar .pos{grid-column:2;grid-row:1/span 2;align-self:center;text-align:center;font:700 11px Inter,sans-serif;border-radius:7px;padding:3px 0;background:rgba(255,255,255,.07)}
.hv-bar small{grid-column:1;color:#6f7c8c;font-size:10.8px}
.hv-bar .dots{color:#f2c14e;letter-spacing:1px;font-size:11px}
.hv-two{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;align-items:center}
.hv-donut{position:relative;width:200px;height:200px;margin:0 auto}
.hv-donut svg{width:100%;height:100%;transform:rotate(-90deg)}
.hv-donut circle.seg{fill:none;stroke-width:24;transition:stroke-dasharray 1.1s cubic-bezier(.3,.9,.3,1)}
.hv-donut .mid{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.hv-donut .mid b{font:700 30px "Space Grotesk",sans-serif;line-height:1}.hv-donut .mid span{font-size:11px;color:#8f9bab;margin-top:4px}
.hv-legend{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:12.5px}
.hv-legend li{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center;color:#d5dce4}
.hv-legend i{width:10px;height:10px;border-radius:3px}.hv-legend b{font-variant-numeric:tabular-nums;color:#fff}
.hv-legend em{font:700 9.5px Inter,sans-serif;font-style:normal;margin-left:6px;padding:1px 7px;border-radius:999px;color:#f2c14e;background:rgba(242,193,78,.14)}
.hv-tl{position:relative;display:grid;gap:12px;padding-left:22px}
.hv-tl::before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:rgba(255,255,255,.12)}
.hv-ev{position:relative;display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;background:#161c24;border:1px solid var(--hl);border-radius:12px;padding:10px 12px}
.hv-ev::before{content:"";position:absolute;left:-21px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--ec,#7fa7ff);box-shadow:0 0 0 3px rgba(18,23,30,1)}
.hv-ev .d{font:700 12px Inter,sans-serif;color:#aab4c0}.hv-ev .t{font-size:13px;color:#eef3f7}.hv-ev .t a{color:#eef3f7}
.hv-ev .s{font:700 10.5px Inter,sans-serif;border-radius:999px;padding:3px 10px;background:rgba(255,255,255,.08);color:var(--ec,#aab4c0);max-width:260px;text-align:right}
.hv-ins{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}
.hv-in{display:grid;grid-template-columns:34px 1fr;gap:10px;background:#161c24;border:1px solid var(--hl);border-radius:14px;padding:12px}
.hv-in i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font:800 14px Inter,sans-serif;font-style:normal;background:rgba(127,167,255,.16);color:#9ab9ff}
.hv-in.good i{background:rgba(96,211,148,.16);color:#60d394}.hv-in.warn i{background:rgba(242,193,78,.16);color:#f2c14e}.hv-in.bad i{background:rgba(239,107,115,.16);color:#ef8f96}
.hv-in b{display:block;font-size:12.5px;line-height:1.3;color:#f0f3f6}.hv-in span{display:block;font-size:11.8px;line-height:1.45;color:#aab4c0;margin-top:3px}
.hv-det{margin:8px 0 0}
.hv-det>summary{cursor:pointer;display:inline-flex;align-items:center;gap:8px;font:600 12px Inter,sans-serif;color:#aab4c0;border:1px solid var(--hl);border-radius:999px;padding:6px 14px;list-style:none}
.hv-det>summary::-webkit-details-marker{display:none}.hv-det>summary::before{content:"▸";transition:transform .2s}.hv-det[open]>summary::before{transform:rotate(90deg)}
.hv-det>summary:hover{color:#fff;border-color:#4a586a}
.hv-det[open]>summary{margin-bottom:10px}
.hv-rv{opacity:0;transform:translateY(16px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}.hv-rv.in{opacity:1;transform:none}
@media (max-width:760px){.hv-jr,.hv-axis{grid-template-columns:1fr}.hv-jr .st{justify-self:start}.hv-two{grid-template-columns:1fr}.hv-ev{grid-template-columns:1fr}.hv-ev .s{text-align:left}}
@media (prefers-reduced-motion:reduce){.hv *{transition:none!important}.hv-rv{opacity:1;transform:none}}
