#vpStatsScreen{--st-green:#8aef65;--st-line:#225b43;--st-panel:#082e26;color:#ecfff1;background:#031912;border:1px solid #24543e;border-radius:17px;overflow:hidden;margin:16px 0 30px;font-size:14px}
#vpStatsScreen *{box-sizing:border-box}#vpStatsScreen button,#vpStatsScreen select,#vpStatsScreen input{font:inherit}#vpStatsScreen button{cursor:pointer}
.vp-st-layout{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:750px}.vp-st-sidebar{background:linear-gradient(#07291f,#04140f);border-right:1px solid #20523b;padding:20px 12px;display:flex;flex-direction:column;gap:8px}.vp-st-sidebar .vp-st-logo{font-size:24px;font-weight:800;padding:6px 10px 22px;color:#f0fff4}.vp-st-logo span{color:#8aef65}.vp-st-sidebar button{background:transparent;color:#d6ebdd;border:0;border-radius:9px;text-align:left;padding:12px;font-weight:650}.vp-st-sidebar button.vp-st-active{background:#155c34;color:#a4ff7a}.vp-st-sidebar .vp-st-spacer{flex:1}.vp-st-sidebar small{color:#9fb6a8;padding:10px}.vp-st-content{min-width:0;padding:0 18px 22px;background:linear-gradient(#062119,#031912)}.vp-st-hero{background:linear-gradient(90deg,#031912f0 0%,#03191299 45%,#03191222 100%),url('forest-banner.jpg') center 48%/cover;min-height:155px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 18px}.vp-st-hero h2{font-size:clamp(24px,3vw,37px);line-height:1.12;color:white;margin:0 0 7px}.vp-st-hero p{margin:0;color:#c9dfd0}.vp-st-button{background:#0c3b30;color:#ecfff1;border:1px solid #36745d;border-radius:10px;padding:9px 12px}.vp-st-button:hover{border-color:#8aef65}.vp-st-green{background:#89ec64;color:#062215;border-color:#89ec64;font-weight:800}.vp-st-filters{background:#082b24;border:1px solid var(--st-line);border-radius:13px;padding:14px;margin:0 0 15px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.vp-st-filters label{display:flex;flex-direction:column;gap:5px;color:#cbe2d3;font-size:12px;font-weight:700}.vp-st-filters select,.vp-st-filters input{width:100%;min-width:0;background:#0c392f;color:white;border:1px solid #356d56;border-radius:7px;padding:9px 8px;min-height:38px}.vp-st-filter-actions{display:flex;gap:8px;align-items:end}.vp-st-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px}.vp-st-card{background:linear-gradient(150deg,#09362a,#06241e);border:1px solid var(--st-line);border-radius:13px;padding:16px;min-width:0}.vp-st-card h3{color:#ecfff1;margin:0 0 13px;font-size:16px}.vp-st-kpi{grid-column:span 4;min-height:105px}.vp-st-kpi .value{font-size:35px;font-weight:800;line-height:1.2;color:#9afa7b}.vp-st-kpi small{color:#b9d2c3}.vp-st-chart{grid-column:span 6;min-height:260px}.vp-st-mapcard{grid-column:span 7}.vp-st-roadcard{grid-column:span 5}.vp-st-donutcard{grid-column:span 12;display:flex;gap:22px;align-items:center}.vp-st-bars{height:175px;display:flex;align-items:end;gap:5px;border-bottom:1px solid #37604a;padding-top:10px}.vp-st-bar{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}.vp-st-bar-value{color:#cce5d5;font-size:11px}.vp-st-bar-fill{width:min(100%,30px);border-radius:4px 4px 0 0;min-height:2px}.vp-st-bar small{color:#bdd6c4;white-space:nowrap;font-size:10px;overflow:hidden;max-width:100%;text-overflow:ellipsis}.vp-st-listrow{display:flex;justify-content:space-between;gap:8px;padding:10px 2px;border-bottom:1px solid #285442}.vp-st-listrow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vp-st-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.vp-st-donut{width:140px;height:140px;flex:none;border-radius:50%;display:grid;place-items:center}.vp-st-donut-inner{background:#082b24;border-radius:50%;width:92px;height:92px;display:grid;place-content:center;text-align:center}.vp-st-donut-inner b{font-size:26px}.vp-st-donut-inner small{font-size:10px}#vpStMap{height:320px;border-radius:10px;background:#163b2e;z-index:0}.vp-st-state{font-size:12px;color:#b7d7c2;padding:4px 0 13px}.vp-st-footer{font-size:12px;color:#a5c0ad;margin:14px 2px 0}.vp-st-mobile-nav{display:none}.vp-st-hero-buttons{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:850px){.vp-st-layout{grid-template-columns:135px minmax(0,1fr)}.vp-st-sidebar{padding:14px 7px}.vp-st-sidebar button{padding:10px 7px;font-size:12px}.vp-st-sidebar .vp-st-logo{font-size:18px}.vp-st-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.vp-st-chart,.vp-st-mapcard,.vp-st-roadcard{grid-column:span 12}}
@media(max-width:600px){#vpStatsScreen{border-radius:12px}.vp-st-layout{display:block}.vp-st-sidebar{display:none}.vp-st-content{padding:0 10px 75px}.vp-st-hero{min-height:180px;padding:15px 10px;align-items:flex-start;flex-direction:column}.vp-st-hero h2{font-size:25px}.vp-st-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.vp-st-filter-actions{grid-column:span 2}.vp-st-filter-actions button{flex:1}.vp-st-kpi{grid-column:span 6;padding:12px;min-height:95px}.vp-st-kpi .value{font-size:28px}.vp-st-chart,.vp-st-mapcard,.vp-st-roadcard,.vp-st-donutcard{grid-column:span 12}.vp-st-card{padding:12px}.vp-st-donut{width:105px;height:105px}.vp-st-donut-inner{width:69px;height:69px}.vp-st-donut-inner b{font-size:21px}.vp-st-donutcard{gap:10px}.vp-st-mobile-nav{display:flex;position:sticky;bottom:0;z-index:500;background:#08291f;border-top:1px solid #356e51;justify-content:space-around;padding:9px 0}.vp-st-mobile-nav button{background:transparent;border:0;color:#c6e9d0;font-weight:700}.vp-st-mobile-nav button.vp-st-active{color:#96f576}}

#hunter.vp-stats-mode > :not(#vpStatsScreen){display:none!important}#hunter.vp-stats-mode{max-width:none;width:100%}#vpStatsScreen.hidden{display:none!important}



/* Large original Viltpunkt logo, no decorative leaf */
.vp-st-sidebar .vp-st-logo{padding:5px 0 18px;display:flex;align-items:center;justify-content:center;min-height:150px}
.vp-st-logo img{display:block;width:100%;max-width:205px;height:auto;max-height:210px;object-fit:contain;filter:drop-shadow(0 0 10px #78ee3c20)}
@media(min-width:851px){.vp-st-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(min-width:601px) and (max-width:850px){.vp-st-layout{grid-template-columns:165px minmax(0,1fr)}.vp-st-sidebar .vp-st-logo{min-height:120px}}
.vp-st-maphead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.vp-st-maphead h3{margin:0}.vp-st-map-actions{display:flex;gap:7px;flex-wrap:wrap}
.vp-st-mapcard.vp-st-map-expanded{position:fixed!important;inset:12px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;z-index:99990!important;display:flex;flex-direction:column;background:#05251b;border:2px solid #87e55e;box-shadow:0 0 0 100vmax #000b;padding:16px}
.vp-st-map-expanded #vpStMap{flex:1;min-height:0;height:auto!important;width:100%}
body.vp-st-map-fullscreen{overflow:hidden!important}
@media(max-width:600px){.vp-st-mapcard.vp-st-map-expanded{inset:0!important;border-radius:0!important;padding:10px!important}.vp-st-maphead{align-items:flex-start}.vp-st-map-actions{width:100%}.vp-st-map-actions button{flex:1;font-size:12px}}

/* Separate historical dataset selector */
.vp-st-dataset{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid #337c46;border-radius:12px;background:#0b2c1d}
.vp-st-dataset label{font-weight:700;color:#a8f681}
.vp-st-dataset select{min-width:250px;max-width:100%;background:#113c2b;color:#fff;border:1px solid #3c8557;border-radius:7px;padding:9px}
.vp-st-dataset small{color:#bbd8c5}
@media(max-width:650px){.vp-st-dataset{align-items:stretch;flex-direction:column}.vp-st-dataset select{width:100%}}

/* iPhone/Safari: full-width date controls in a single-column filter layout. */
@media (max-width: 600px) {
  #vpStatsScreen .vp-st-filters {grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
  #vpStatsScreen .vp-st-filters > label,
  #vpStatsScreen .vp-st-filters > div {grid-column:1/-1!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;}
  #vpStatsScreen .vp-st-filters input,
  #vpStatsScreen .vp-st-filters select {box-sizing:border-box!important;display:block;width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px;}
  #vpStatsScreen .vp-st-filters input[type="date"] {appearance:none;-webkit-appearance:none;min-height:46px;}
}

/* Hidden attribute must win over the grid layout. */
#vpStFilters[hidden]{display:none!important}
