/* Shared monochrome treatment for visitor pages and signed-out account flows. */
.public-theme {
  --ink: #111;
  --muted: #626262;
  --accent: #111;
  --line: #dedede;
  --paper: #fff;
  --surface: #f3f3f3;
  --white: #fff;
  --highlight: #111;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

.public-theme .public-header,
.public-theme .public-footer {
  width: calc(100% - 112px);
  max-width: 1280px;
  margin-inline: auto;
}
.public-theme .public-header { padding: 30px 0; border: 0; align-items: center; }
.public-theme .public-header nav { font-size: 14px; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.public-theme .public-header nav a { padding-block: 10px; }
.public-theme .public-header .text-button { font-size: 14px; }
.public-theme .public-header form { margin: 0; }
.public-theme .public-main { width: calc(100% - 112px); max-width: 1280px; flex: 1; padding: 36px 0 64px; }
.public-theme .auth-shell { flex: 1; width: 100%; max-width: 568px; min-height: 0; padding: 44px 24px 72px; }
.public-theme .auth-card { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 36px; }
.public-theme .auth-card h1 { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -1.3px; margin: 0 0 24px; }
.public-theme .auth-card h2 { font-size: 21px; margin-top: 28px; }
.public-theme .auth-card > p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.public-theme .auth-card a { color: var(--ink); }
.public-theme .auth-card form { margin-top: 24px; }
.public-theme .auth-card input[type=submit] { margin-top: 24px; }
.public-theme .auth-card .company-help { margin: 7px 0 20px; }
.public-theme .guidelines-public { max-width: 896px; justify-content: flex-start; }
.public-theme .guidelines { font-size: 15px; }
.public-theme .guidelines h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; letter-spacing: -1.4px; }
.public-theme .guidelines-header > .muted { font-size: 13px; }
.public-theme .guidelines-summary { background: #f3f3f3; }
.public-theme .guidelines-sources { font-size: 13px; }
.public-theme .public-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-block: 0; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.public-theme .public-footer span { font-size: inherit; letter-spacing: 0; }
.public-theme .public-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.public-theme .public-footer a { padding-block: 8px; }
.public-skip { position: absolute; top: -100px; left: 24px; z-index: 10; padding: 12px 18px; background: #fff; border: 2px solid #111; }
.public-skip:focus { top: 12px; }

.public-theme a:hover { color: #111; }
.public-theme a:focus-visible,
.public-theme button:focus-visible,
.public-theme input:focus-visible,
.public-theme select:focus-visible,
.public-theme textarea:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.public-theme .public-header a:hover,
.public-theme .public-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.public-theme label { font-size: 14px; margin-top: 18px; }
.public-theme input:not([type=submit],[type=checkbox],[type=radio]),
.public-theme select,
.public-theme textarea { background: #fff; color: #111; border: 1px solid #bdbdbd; border-radius: 4px; padding: 12px; font-size: 16px; }
.public-theme input[type=checkbox],
.public-theme input[type=radio] { accent-color: #111; }
.public-theme input[readonly] { background: #f3f3f3; }
.public-theme input[aria-invalid=true],
.public-theme .field_with_errors input { border: 2px solid #111; }
.public-theme .form-note { color: var(--muted); font-size: 12px; }
.public-theme .policy-agreement,
.public-theme .tour-acknowledgement { font-size: 13px; }
.public-theme button,
.public-theme input[type=submit],
.public-theme .button { background: #111; color: #fff; border: 1px solid #111; border-radius: 4px; font-size: 14px; padding: 13px 20px; }
.public-theme button:hover,
.public-theme input[type=submit]:hover,
.public-theme .button:hover { background: #fff; color: #111; }
.public-theme .secondary { background: #fff !important; color: #111 !important; border: 1px solid #bdbdbd; }
.public-theme .secondary:hover { background: #f3f3f3 !important; border-color: #111; }
.public-theme .text-button,
.public-theme .flash-dismiss { background: transparent; color: #111; border: 0; }
.public-theme .text-button { padding: 5px 0; }
.public-theme .text-button:hover { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.public-theme .flash-dismiss { padding: 6px; }
.public-theme .flash-dismiss:hover { background: #e8e8e8; }
.public-theme .flash { background: #f3f3f3; color: #111; border: 1px solid #d4d4d4; border-radius: 4px; }
.public-theme .flash.alert { background: #fff; border: 2px solid #111; }
.public-theme .panel { border-color: var(--line); border-radius: 4px; }
.public-theme .pill { background: #eee; color: #333; }
.public-theme .empty,
.public-theme .empty h3,
.public-theme .section-heading a { color: var(--muted); }

/* Visitor booking components retain their status labels and selected states. */
.public-theme .tour-rules,
.public-theme .drop-in-details,
.public-theme .tour-departure { background: #f3f3f3; }
.public-theme .tour-time-option,
.public-theme .drop-in-date { background: #fff; border-color: #c8c8c8; border-radius: 4px; }
.public-theme .tour-time-option:hover,
.public-theme .drop-in-date:hover { background: #f3f3f3; border-color: #111; }
.public-theme .drop-in-date.is-unavailable { background: #f3f3f3; border-color: #ddd; color: #626262; }
.public-theme .drop-in-date.is-selected { background: #111; border-color: #111; color: #fff; box-shadow: 0 0 0 2px #d4d4d4; }
.public-theme .drop-in-date.is-selected .drop-in-date-status { color: #fff; }
.public-theme .drop-in-date-status,
.public-theme .drop-in-date-heading > p,
.public-theme .drop-in-date-picker > .form-note,
.public-theme .drop-in-details > .form-note,
.public-theme .drop-in-checkout > p,
.public-theme .drop-in-form .form-note { color: var(--muted); }
.public-theme .drop-in-features { border-color: #d4d4d4; }
.public-theme .confirmation-modal { color: #111; border-color: #dedede; border-radius: 4px; box-shadow: 0 18px 70px #0003; }
.public-theme .confirmation-modal::backdrop { background: #0006; }
.public-theme .confirmation-actions [data-confirm-accept] { background: #111; color: #fff; }
.public-theme .confirmation-actions [data-confirm-accept]:hover { background: #fff; color: #111; }

@media (max-width: 1000px) {
  .public-theme .public-header,
  .public-theme .public-main,
  .public-theme .public-footer { width: calc(100% - 64px); }
}
@media (max-width: 700px) {
  .public-theme .public-header,
  .public-theme .public-main,
  .public-theme .public-footer { width: calc(100% - 48px); }
  .public-theme .public-header { padding-block: 20px; gap: 16px; }
  .public-theme .public-header nav { font-size: 12px; gap: 4px; }
  .public-theme .public-header nav a { padding-block: 4px; }
  .public-theme .public-header .text-button { font-size: 12px; }
  .public-theme .public-main { padding-block: 24px 40px; }
  .public-theme .auth-shell { padding: 28px 24px 48px; }
  .public-theme .auth-card { padding: 26px 22px; }
  .public-theme .guidelines-public { padding-top: 32px; }
  .public-theme .public-footer { align-items: flex-start; padding-block: 20px; font-size: 11px; gap: 8px; }
  .public-theme .public-footer nav { gap: 8px 20px; }
}
@media (max-width: 380px) {
  .public-theme .auth-card { padding: 24px 18px; }
  .public-theme .public-header nav { font-size: 11px; }
}

.public-theme .brand-logo { width: 150px; }
@media (max-width: 700px) { .public-theme .brand-logo { width: 112px; } }
