/* Viltpunkt 2.0 | forest theme | visual-only override */
:root{--ink:#e9f8ee;--green:#8aee66;--bg:#031811;--line:#245741;--navy:#061f18;--panel:#092b22;--cyan:#8aee66;color-scheme:dark}
body{background:radial-gradient(ellipse at 60% -15%,#123f2c 0%,#061d16 40%,#02110e 100%);color:var(--ink)}
header.vp-header{background:linear-gradient(100deg,#021a14eb,#052a1cbb),linear-gradient(180deg,#0a3825,#03150f);border-bottom:2px solid #83e85c}
.vp-logo{filter:drop-shadow(0 0 13px #8bee6530);width:min(370px,76vw);height:205px}
.vp-header .badge{background:#103b2b;color:#b4f39c;border-color:#276947}
.brand-subtitle{color:#ccebd3}
main{max-width:1200px}
h1,h2,h3,.brand{color:#f2fff5}
.eyebrow{color:#a4ff7b}
.muted,small,.footer{color:#a5c7b1}
a{color:#a2ff7e}
.card{background:linear-gradient(160deg,#0b3025,#061e19);border:1px solid #255c43;box-shadow:0 8px 28px #0003}
nav{background:#0b3026;border:1px solid #2b644a}
nav button{color:#d8f3df}
nav button.active,button.active{background:#7fe95b;color:#092416;border-color:#7fe95b}
button{background:#113d30;border:1px solid #326f52;color:#eaffef}
button:hover{border-color:#a0f57b}
button.primary,.primary{background:#8aee66;color:#082316;border-color:#8aee66}
button.primary:hover,.primary:hover{background:#b3ff8b}
input,select,textarea{background:#0d3529;border:1px solid #326d53;color:#f2fff4;color-scheme:dark}
input::placeholder,textarea::placeholder{color:#a3c2ac}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid #a1f57a;outline-offset:2px}
.notice{background:#19382c;color:#e7f9ec;border:1px solid #3b7654}
.mapnote{background:#0d3126;color:#c6eed0}
#mapStatus{color:#b5d9bd}
.vp-map-shell{border-color:#7ee85d;background:#061d17}
.vp-map-toolbar{background:#0c3227;color:#e2f6e7}
.vp-map-expand{background:#8aee66;color:#092718}
#mapHost .actions button{background:#144331}
.vp-direction{border-color:#316d4c;background:#0d3528}
.vp-direction[open]{border-color:#9bf67c;background:#12432e}
.vp-menu-button{background:#0c3729;color:#eaffed;border-color:#4e9165}
.vp-account-menu{background:#092a20;border-color:#32694d}
.vp-identity{border-color:#2d6d4a;background:#0a3024}
.vp-report-controls button,.vp-report-bottom button,.vp-report-reopen button,.vp-list-refresh button{background:#11402f;color:#e9f9ed}
.vp-standalone-report{border-color:#428957}
.vp-stats-entry button{background:#155c37;color:#b2ff91;border-color:#438d58}
.vp-compact-logo img{filter:drop-shadow(0 0 7px #8fee6566)}
/* Preserve readable print/PDF reports irrespective of app theme. */
#printReport,#printReport *{color:#111}
@media print{body.printing-report{background:#fff;color:#111}#printReport .card{background:#fff;border:0;box-shadow:none}}
@media(max-width:750px){.vp-logo{width:min(300px,76vw);height:175px}main{padding:14px 12px}.card{border-radius:15px}}

/* 2026-11-18: prominent forest-green identity toolbar, centered name and role. */
#vp-v2-toolbar{
  background:linear-gradient(110deg,#082a1b,#10472c 52%,#082a1b)!important;
  border:2px solid #a4ff6e!important;
  box-shadow:0 0 0 1px rgba(164,255,110,.22),0 0 17px rgba(125,255,78,.17)!important;
  color:#f2fff1!important;
}
#vp-v2-toolbar .vp-v2-row{display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:10px!important;align-items:center!important;}
#vp-v2-toolbar .vp-v2-row > div:first-child{grid-column:2!important;text-align:center!important;min-width:0!important;}
#vp-v2-toolbar #vp-v2-name{font-size:17px!important;color:#f7fff4!important;display:block!important;}
#vp-v2-toolbar .vp-v2-muted{color:#b3ff90!important;opacity:1!important;}
#vp-v2-toolbar .vp-v2-actions{grid-column:3!important;justify-self:end!important;margin-left:0!important;}
#vp-v2-toolbar button{background:#123f2b!important;border-color:#3e9253!important;color:#effff0!important;}
#vp-v2-toolbar .vp-v2-box{border-top-color:#478c55!important;}
#vp-v2-toolbar .vp-v2-notice{background:#0d3425!important;border-color:#377d4c!important;}
#vp-v2-toolbar .vp-v2-report{border-color:#3b8052!important;}
#vp-v2-toolbar .vp-v2-notice[data-read=false]{box-shadow:inset 0 0 0 1px #9dff70!important;}
@media(max-width:560px){
 #vp-v2-toolbar .vp-v2-row{grid-template-columns:1fr!important;justify-items:center!important;}
 #vp-v2-toolbar .vp-v2-row > div:first-child{grid-column:1!important;}
 #vp-v2-toolbar .vp-v2-actions{grid-column:1!important;justify-self:center!important;}
}

/* iPhone/Safari: prevent native date/time inputs from overflowing their grid cell. */
@media (max-width: 750px) {
  #vpEventSearchCard .vp-event-search-body > .row {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;}
  #vpEventSearchCard .vp-event-search-body > .row > div {width:100%;min-width:0;max-width:100%;}
  #vpEventSearchCard .vp-event-search-body input,
  #vpEventSearchCard .vp-event-search-body select {box-sizing:border-box!important;display:block;width:100%!important;min-width:0!important;max-width:100%!important;}
  #vpEventSearchCard .vp-event-search-body input[type="datetime-local"] {appearance:none;-webkit-appearance:none;font-size:16px;min-height:46px;}
}


/* Viltpunkt 2.0: mobile banner and iOS date input containment, 2026-11-18.
   Override earlier desktop hero dimensions without altering application logic. */
header.vp-header {
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:#021c11!important;
}
header.vp-header::before,
header.vp-header::after {display:none!important;content:none!important}
header.vp-header .vp-banner-branding {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  line-height:0!important;
  margin:0!important;
  padding:0!important;
}
header.vp-header img.vp-banner-image {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
}
header.vp-header .vp-menu-button {position:absolute!important;top:12px!important;left:12px!important;z-index:4!important}
header.vp-header > .badge {position:absolute!important;top:12px!important;right:12px!important;z-index:4!important}
@media(max-width:750px) {
  header.vp-header .vp-menu-button {top:6px!important;left:6px!important;font-size:11px!important;padding:5px 7px!important}
  header.vp-header > .badge {top:6px!important;right:6px!important;font-size:9px!important}
}
/* Mobile Safari date-time inputs have an intrinsic min-content width.
   Constrain the actual control and its native editable inner field. */
#when,
#hunter input[type="datetime-local"],
#hunter input[type="date"],
#vpStatsScreen input[type="date"],
#vpStatsScreen input[type="datetime-local"] {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
#when::-webkit-date-and-time-value,
#hunter input[type="datetime-local"]::-webkit-date-and-time-value,
#vpStatsScreen input[type="date"]::-webkit-date-and-time-value {
  min-width:0!important;
  text-align:left;
}
#when::-webkit-datetime-edit,
#hunter input[type="datetime-local"]::-webkit-datetime-edit,
#vpStatsScreen input[type="date"]::-webkit-datetime-edit {
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
@media(max-width:750px) {
  #when {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:16px!important;
    padding:10px 8px!important;
    overflow:hidden!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  #reporter section.card,
  #reporter .card,
  #hunter .card {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
