/* The beta notice across the top of every Crescout page, above the site header (beta_banner.js).
   It shows only once the script marks <html> with beta-banner-on, so a closed notice never flashes.
   welcome.html runs no script: its copy carries beta-banner-static, and its X is a link the server remembers in a cookie.
   A calm notice, not an error: ink #17201C on the pale gold #F6EDCF is 14.2:1, links in brand green #174632 are 9.2:1,
   with a gold rule underneath. The X is a 44px target in the top right corner (32px on phones). */
.beta-banner { display: none; }
.beta-banner-on .beta-banner, .beta-banner-static {
  display: block; position: relative; z-index: 20; box-sizing: border-box; width: 100%;
  margin: 0; padding: env(safe-area-inset-top, 0px) max(4px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  background: var(--gold-100, #F6EDCF); color: var(--ink, #17201C); text-align: left;
  border-bottom: 1px solid var(--gold-500, #C9A227);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;
}
.beta-banner-text { box-sizing: border-box; min-height: 44px; max-width: none; margin: 0; padding: 12px 0; overflow-wrap: break-word; }
/* Keeps the lines beside the X clear of it; the lines below it use the full width. */
.beta-banner-text::before { content: ""; float: right; width: 48px; height: 32px; }
.beta-banner-text strong { font-weight: 700; }
.beta-banner a { color: var(--brand-900, #174632); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.beta-banner a:hover { text-decoration-thickness: 2px; }
.beta-banner-close { position: absolute; top: env(safe-area-inset-top, 0px); right: max(4px, env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 6px;
  background: transparent; color: var(--ink, #17201C); font: inherit; cursor: pointer; }
.beta-banner-close:hover { background: rgb(23 32 28 / 8%); }
.beta-banner-close svg { display: block; width: 18px; height: 18px; }
.beta-banner a:focus-visible, .beta-banner-close:focus-visible {
  outline: 3px solid var(--focus, #1F5C42); outline-offset: -3px; border-radius: 6px; box-shadow: inset 0 0 0 5px var(--gold-100, #F6EDCF); }
.beta-banner a:focus-visible { outline-offset: 2px; box-shadow: none; border-radius: 2px; }
/* The welcome page's X is a link (it runs no script): it looks and focuses like the button. */
.beta-banner a.beta-banner-close { color: var(--ink, #17201C); text-decoration: none; white-space: normal; }
.beta-banner a.beta-banner-close:focus-visible { outline-offset: -3px; border-radius: 6px; box-shadow: inset 0 0 0 5px var(--gold-100, #F6EDCF); }
/* The X's words, for screen readers only. */
.beta-banner-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* Up to laptop widths: one line at 1024px, so the map keeps its room. */
@media (max-width: 1199px) {
  .beta-banner-on .beta-banner, .beta-banner-static { font-size: 13px; }
}
/* Phones and short screens: one short line, so the map keeps as much room as it can. The X is a 32px target there
   (above the 24px minimum), so the bar is 32px tall instead of 44px. */
@media (max-width: 480px), (max-height: 500px) {
  .beta-banner-on .beta-banner, .beta-banner-static { font-size: 13px; line-height: 18px; padding-left: max(12px, env(safe-area-inset-left, 0px)); }
  .beta-banner-text { min-height: 32px; padding: 7px 0; }
  .beta-banner-text::before { width: 36px; height: 18px; }
  .beta-banner-close { width: 32px; height: 32px; min-width: 32px; min-height: 32px; }
  .beta-banner-close svg { width: 16px; height: 16px; }
}
@media print {
  .beta-banner, .beta-banner-on .beta-banner, .beta-banner-static { display: none; }
}
