/* Tour360 logo palette. Presentation only: existing layouts, photos and behavior stay intact.
   #11250B on the exact logo lime #5AA100 is 5.05:1; white on that lime is only 3.21:1.
   Small green labels use #397000 (5.66:1 on ivory). Lime icons on #F5F9EE are 3.01:1. */
:root{
  --brand-green:#5aa100;
  --brand-forest:#00562b;
  --brand-ink:#11250b;
  --brand-link:#397000;
  --brand-pale:#f5f9ee;
  --brand-selected:#edf5df;
  --brand-line:#d5e3c4;
  --teal:var(--brand-link);
  --deep-teal:var(--brand-forest);
  --mint:var(--brand-pale);
  --navy:#173923;
  --ink:#173923;
  --muted:#596b55;
  --line:#e0e5d6;
}
.admin-preview{
  --ad-ink:#173923;
  --ad-muted:#596b55;
  --ad-teal:var(--brand-link);
  --ad-line:#e0e5d6;
}

/* Ordinary line icons use the raster logo's exact 360 green. No raster image is filtered. */
body svg{color:var(--brand-green)!important}
body :is(button,a,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--brand-link)!important;
  outline-offset:3px;
}
body :is(.live-field input,.live-field select):focus{outline-color:var(--brand-link)}
input[type="checkbox"],input[type="radio"]{accent-color:var(--brand-link)}

/* Filled controls need dark ink, including their icon strokes. */
body :is(.primary-button,.small-button.primary,.web-search button,
  .quick-actions button:first-child,.segmented button.active,.category-chip.active,
  .gps-service-tabs button.active,.live-origin button.active,
  .ad-button:not(.ad-button-secondary)){
  background:var(--brand-green);
  border-color:var(--brand-green);
  color:var(--brand-ink);
  box-shadow:none;
}
body :is(.primary-button,.small-button.primary,.web-search button,
  .quick-actions button:first-child,.segmented button.active,.category-chip.active,
  .gps-service-tabs button.active,.live-origin button.active,
  .ad-button:not(.ad-button-secondary)) svg{color:var(--brand-ink)!important}
body :is(.primary-button,.small-button.primary,.web-search button,
  .ad-button:not(.ad-button-secondary)):hover{background:#68af0b;color:var(--brand-ink)}

/* Selected pale surfaces keep dark, readable labels and icons. */
body :is(.bottom-nav button.active,.origin-toggle button.active,.essentials-tabs button.active,
  .ad-sidebar nav .ad-active){
  background:var(--brand-selected);
  border-color:#bad295;
  color:var(--brand-link);
}
body :is(.bottom-nav button.active,.origin-toggle button.active,.essentials-tabs button.active,
  .ad-sidebar nav .ad-active) svg{color:var(--brand-ink)!important}
.bottom-nav button.active{border-radius:12px}
.bottom-nav button{color:#596b55}
body .ad-sidebar nav button{color:#294b29}
body .ad-sidebar nav .ad-active svg{fill:#5aa10018}

/* Branded secondary actions, category badges, Home entries and live discovery panels. */
body :is(.small-button:not(.primary),.ad-button-secondary){
  background:var(--brand-pale);
  color:var(--brand-link);
  border-color:var(--brand-line);
}
body :is(.outline-button,.text-button){color:var(--brand-link);border-color:#8ebc5b}
body :is(.category-chip:not(.active),.category-badge){
  background:var(--brand-pale);
  border-color:var(--brand-line);
  color:var(--brand-link);
}
body :is(.live-home-entry,.live-category-entry,.live-gps,.gps-position,.gps-book-state,
  .live-place-icon,.gps-service-symbol,.web-benefit-icon,.ad-stat-icon,.ad-check-icon){
  background:var(--brand-pale);
  border-color:var(--brand-line);
}
.live-place-title p.live-place-kind,.live-third-party a,.live-google-terms a{
  color:var(--brand-link);
}
.live-eyebrow,.gps-results-heading>span,.web-footer button,.web-footer a{color:var(--brand-link)}
.ad-report-track>b,.ad-pill:not(.ad-pill-preview):not(.ad-pill-review)>i,
.screen-jump.active:before,.gps-loading-dot{background:var(--brand-green)}
.ad-account>span{background:var(--brand-forest)}
.ad-is-complete{background:var(--brand-green);border-color:var(--brand-green);color:var(--brand-ink)}
.ad-is-complete svg{color:var(--brand-ink)!important}

/* Photo-overlay controls get an ivory surface so their green strokes remain visible. */
.save-photo{background:#fffefaf2;color:var(--brand-green)}
.save-photo.saved{background:var(--brand-green);color:var(--brand-ink)}
.save-photo.saved svg{color:var(--brand-ink)!important;fill:#11250b24}
.state-card .state-symbol{
  background:var(--ivory);
  border-radius:50%;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
}

/* Semantic exceptions: healthcare/errors, forecast colors and gold weather remain meaningful. */
body .essentials-tabs button:first-child svg,body .service-art.hospitals svg{color:#be5548!important}
body :is(.live-error,[role="alert"],.gps-state-card.error) svg{color:#9b4a33!important}
body .service-art.police svg{color:#487997!important}
body .weather-current h3 svg{color:var(--gold)!important}
body .forecast-tile svg{color:#7d99ae!important}
body .ad-pill-preview svg,body .ad-pill-review svg{color:#94701c!important}

/* Natural-green hero: cool ivory scrim and a visible photo-credit control. */
.web-hero-shade{background:linear-gradient(90deg,#f5f9eede 0%,#f5f9ee99 34%,#f5f9ee16 66%,transparent 84%),linear-gradient(0deg,#11250b33,transparent 42%)}
.web-hero-copy h1,.web-hero-copy p{color:#173923}
.web-hero-meta button{background:#fffefa;border-color:#d5e3c4;color:var(--brand-green)}

@media(max-width:760px){
  .web-hero-photo{height:140%;top:-40%;object-position:center bottom}
  .web-hero-meta{color:#173923;text-shadow:none}
  .web-hero-shade{background:linear-gradient(90deg,#f5f9eed1 0%,#f5f9eeb8 58%,#f5f9ee94 100%),linear-gradient(0deg,#11250b33,transparent 36%)}
}
