/* Account, consent and operator controls share the park's paper-and-ink palette. */
.jp-dialog,
.jp-cookie-bar {
  --jp-ink: #142e38;
  --jp-muted: #4c6360;
  --jp-green: #14665d;
  --jp-paper: #faf8f1;
  --jp-line: #d4d7ca;
  color: var(--jp-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.016em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.jp-dialog *,
.jp-cookie-bar * {
  box-sizing: border-box;
}
.jp-dialog [hidden],
.jp-cookie-bar[hidden],
.jp-cookie-bar [hidden] {
  display: none !important;
}
body:has(.jp-dialog[open]) {
  overflow: hidden;
}
.jp-dialog {
  position: fixed;
  inset: 0;
  width: min(438px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #eae5d7;
  border-radius: 22px;
  background: var(--jp-paper);
  box-shadow: 0 18px 80px #102c3840;
  overflow: auto;
  overscroll-behavior: contain;
  text-align: left;
}
.jp-dialog::backdrop {
  background: #0b2029a8;
}
.jp-dialog[data-layout='legal'] {
  width: min(620px, calc(100vw - 32px));
}
.jp-dialog[data-layout='admin'] {
  width: min(800px, calc(100vw - 32px));
}
.jp-dialog h2,
.jp-dialog h3,
.jp-dialog p,
.jp-dialog dl,
.jp-dialog dd,
.jp-cookie-bar p {
  margin: 0;
}
.jp-dialog button,
.jp-cookie-bar button,
.jp-dialog input {
  font: inherit;
}
.jp-dialog button,
.jp-cookie-bar button {
  cursor: pointer;
}
.jp-dialog button:disabled,
.jp-cookie-bar button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.jp-dialog :focus-visible,
.jp-cookie-bar :focus-visible {
  outline: 3px solid #ac711a;
  outline-offset: 3px;
}
.jp-refill-balance {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.jp-refill-balance strong {
  color: var(--jp-green);
}
.jp-refill-option {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--jp-line);
}
.jp-refill-option h3 { font-size: 17px; }
.jp-refill-option p { color: var(--jp-muted); font-size: 14px; }
.jp-refill-option button { margin-top: 3px; }
.jp-refill-option button:disabled { cursor: not-allowed; }
.jp-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
}
.jp-dialog-head h2 {
  padding-top: 2px;
  color: var(--jp-ink);
  font-size: 26px;
  letter-spacing: -0.055em;
  line-height: 1.3;
}
.jp-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--jp-line);
  border-radius: 50%;
  color: var(--jp-ink);
  background: transparent;
}
.jp-close span {
  font:
    26px/1 Arial,
    sans-serif;
}
.jp-close:hover {
  background: #eaece3;
}
.jp-dialog .jp-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.jp-intro,
.jp-body-copy,
.jp-note,
.jp-policy-note,
.jp-switch {
  color: var(--jp-muted);
}
.jp-intro {
  font-size: 14px;
}
.jp-field {
  display: grid;
  gap: 6px;
  font-weight: 650;
}
.jp-field small {
  margin-left: 5px;
  color: var(--jp-muted);
  font-size: 12px;
  font-weight: 450;
}
.jp-field input {
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  border: 1px solid #b4c2b8;
  border-radius: 8px;
  background: #fffdf7;
  color: var(--jp-ink);
  font-weight: 450;
}
.jp-field input::placeholder {
  color: #69756d;
}
.jp-password {
  position: relative;
  display: block;
}
.jp-password input {
  padding-right: 54px;
}
.jp-password button {
  position: absolute;
  right: 5px;
  top: 5px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  color: var(--jp-green);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}
.jp-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.jp-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--jp-green);
}
.jp-note,
.jp-policy-note {
  font-size: 13px;
}
.jp-dialog .jp-policy-note {
  padding-top: 14px;
  border-top: 1px solid var(--jp-line);
}
.jp-dialog .jp-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jp-green);
  font-size: inherit;
  line-height: inherit;
  font-weight: 650;
  text-underline-offset: 3px;
  text-decoration: underline;
  text-align: left;
}
.jp-dialog .jp-link:hover {
  color: #10443e;
}
.jp-primary,
.jp-secondary,
.jp-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--jp-green);
  border-radius: 8px;
  line-height: 1.35;
  font-weight: 650;
}
.jp-dialog .jp-primary {
  min-height: 46px;
  border-color: var(--jp-green);
  color: #fff;
  background: var(--jp-green);
}
.jp-dialog .jp-primary:hover {
  background: #0d534b;
}
.jp-choice,
.jp-secondary {
  border-color: #a8b9ad;
  background: #fffdf7;
  color: var(--jp-ink);
}
.jp-choice:hover,
.jp-secondary:hover,
.jp-choice[aria-current='page'] {
  background: #e0ece3;
  border-color: #82a398;
}
.jp-dialog .jp-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
}
.jp-dialog .jp-settings-list {
  display: grid;
  margin: 0 0 18px;
  border-block: 1px solid var(--jp-line);
}
.jp-settings-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.jp-settings-list > div + div {
  border-top: 1px solid var(--jp-line);
}
.jp-settings-list dt {
  flex: 0 0 auto;
  color: var(--jp-muted);
}
.jp-settings-list dd {
  font-weight: 650;
  text-align: right;
}
.jp-dialog .jp-body-copy + .jp-settings-list {
  margin-top: 16px;
}
.jp-account-actions,
.jp-admin-nav,
.jp-cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.jp-account-actions {
  justify-content: space-between;
  margin-top: 22px;
  font-size: 14px;
}
.jp-dialog .jp-cookie-actions {
  margin-top: 18px;
}
.jp-cookie-actions > button {
  flex: 1;
  white-space: nowrap;
}
.jp-dialog .jp-error,
.jp-cookie-bar .jp-error {
  margin: 4px 0;
  color: #973419;
  font-size: 14px;
  font-weight: 600;
}
.jp-dialog[data-layout='legal'] section + section {
  margin-top: 20px;
}
.jp-dialog[data-layout='legal'] section h3 {
  margin-bottom: 4px;
  font-size: 16px;
}
.jp-dialog[data-layout='legal'] section p {
  font-size: 14px;
  color: var(--jp-muted);
  line-height: 1.75;
}
.jp-dialog .jp-admin-filter {
  margin-top: 14px;
  color: var(--jp-green);
  font-weight: 650;
}
.jp-admin-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}
.jp-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.jp-admin-table th,
.jp-admin-table td {
  padding: 10px 7px;
  border-bottom: 1px solid var(--jp-line);
  vertical-align: top;
}
.jp-admin-table th {
  white-space: nowrap;
  background: #eeeee3;
  font-size: 13px;
}
.jp-admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--jp-muted);
  line-height: 1.5;
}
.jp-dialog .jp-list-status {
  margin: 12px 0;
  color: var(--jp-muted);
  font-size: 13px;
}
.jp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.jp-cookie-bar {
  width: 100%;
  position: relative;
  background: #f6f4ea;
  border-block: 1px solid #dcded2;
  text-align: left;
}
.jp-cookie-inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 12px clamp(18px, 3.5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 28px;
}
.jp-cookie-inner p {
  color: #4c605a;
  font-size: 12px;
  line-height: 1.6;
}
.jp-cookie-inner p strong {
  margin-right: 8px;
  color: var(--jp-ink);
  font-size: 13px;
}
.jp-cookie-inner .jp-cookie-actions {
  flex-wrap: nowrap;
  gap: 8px;
}
.jp-cookie-inner .jp-choice {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
}
.jp-cookie-inner .jp-error {
  grid-column: 1 / -1;
}
@media (max-width: 740px) {
  .jp-cookie-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .jp-cookie-inner .jp-cookie-actions {
    justify-self: start;
  }
  .jp-dialog .jp-admin-table {
    font-size: 12px;
  }
}
@media (max-width: 460px) {
  .jp-dialog {
    padding: 20px;
    max-height: calc(100dvh - 20px);
  }
  .jp-dialog-head h2 {
    font-size: 23px;
  }
  .jp-cookie-inner {
    padding-block: 10px;
  }
  .jp-field input {
    font-size: 16px;
  }
}

/* The map keeps the corners free for navigation and the wallet. */
.park-view .jp-cookie-bar {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(710px, calc(100% - 220px));
  border: 1px solid #d5ded2;
  border-radius: 14px;
  background: #fffef8;
  box-shadow: 0 4px 18px #21473821;
}
.park-view .jp-cookie-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  padding: 9px 12px;
}
.park-view .jp-cookie-inner p { line-height: 1.45; }
.park-view .jp-cookie-inner .jp-cookie-actions { gap: 5px; }
.park-view .jp-cookie-inner .jp-choice {
  min-height: 34px;
  border-radius: 8px;
  padding: 5px 8px;
}
@media (max-width: 800px) {
  .park-view .jp-cookie-bar { width: min(500px, calc(100% - 26px)); }
  .park-view .jp-cookie-inner { grid-template-columns: 1fr; }
  .park-view .jp-cookie-inner .jp-cookie-actions { justify-self: end; }
}
@media (orientation: landscape) and (max-height: 480px) {
  .park-view .jp-cookie-bar {
    bottom: max(5px, env(safe-area-inset-bottom));
    width: min(710px, calc(100% - 220px));
  }
  .park-view .jp-cookie-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 8px;
    column-gap: 8px;
  }
  .park-view .jp-cookie-inner .jp-cookie-actions { flex-direction: column; }
  .park-view .jp-cookie-inner .jp-choice { min-height: 28px; padding-block: 3px; }
}
