/* Season plan walkthrough (static/tour.js). Self-contained colours so it looks
   the same on the form and the dashboard. */
.ptour-help {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: #2383E2;
  color: #FFF;
  font: 600 14px/1 "Inter", ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 6px 18px rgba(35, 131, 226, 0.4), 0 2px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
/* Hidden while another dialog is open, so it never covers the dialog. */
body:has(.modal:not(.hidden)) .ptour-help { display: none; }
.ptour-help:hover { background: #1A64B0; }
.ptour-help:focus-visible {
  outline: 3px solid #1A64B0;
  outline-offset: 3px;
}
.ptour-help-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF;
  color: #2383E2;
  font-size: 20px;
  font-weight: 700;
}
@media (max-width: 600px) {
  /* A round "?" on a phone; the label stays for screen readers. */
  .ptour-help { padding: 6px; right: 16px; bottom: 16px; }
  .ptour-help-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media print { .ptour-help { display: none; } }

.ptour-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.ptour-blocker {
  position: absolute;
  inset: 0;
}
.ptour-spot {
  position: fixed;
  border-radius: 10px;
  box-shadow: 0 0 0 3px #2383E2, 0 0 0 9999px rgba(17, 24, 39, 0.55);
  pointer-events: none;
  transition: left 0.2s ease, top 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.ptour-callout {
  position: fixed;
  width: min(340px, calc(100vw - 24px));
  padding: 14px 16px 14px;
  border-radius: 12px;
  background: #FFF;
  color: #37352F;
  font: 400 14px/1.5 "Inter", ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: left 0.2s ease, top 0.2s ease;
}
.ptour-arrow {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #FFF;
  transform: translate(-50%, -50%) rotate(45deg);
}
.ptour-arrow-bottom { top: 0; }
.ptour-arrow-top { top: 100%; }
.ptour-arrow-right { left: 0; }
.ptour-arrow-left { left: 100%; }
.ptour-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ptour-count {
  margin: 0;
  color: #1A64B0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ptour-close {
  width: 28px;
  height: 28px;
  margin: -4px -6px 0 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6B6B6B;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.ptour-close:hover { background: #F1F1EF; color: #37352F; }
.ptour-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.ptour-text { margin: 0; color: #4B4A45; }
.ptour-nav {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.ptour-btn {
  padding: 7px 14px;
  border: 1px solid #E9E9E7;
  border-radius: 6px;
  background: #FFF;
  color: #37352F;
  font: 500 13px/1.2 "Inter", ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
.ptour-btn:hover:not([disabled]) { background: #F1F1EF; }
.ptour-btn[disabled] { opacity: 0.45; cursor: default; }
.ptour-primary { border-color: #2383E2; background: #2383E2; color: #FFF; font-weight: 600; }
.ptour-primary:hover:not([disabled]) { background: #1A64B0; }
.ptour-btn:focus-visible,
.ptour-close:focus-visible {
  outline: 3px solid #A9CCF1;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ptour-spot, .ptour-callout { transition: none; }
}
