/* Hallmark · page: book · genre: modern-minimal · theme: Furrow (by request)
 * critique: shared floor for the wedding book
 * waivers: map tiles only in the area dialog and the hall location panel; Noto Naskh Arabic for Arabic hall names because Red Hat has no Arabic glyphs
 */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  overflow-wrap: break-word;
  min-width: 0;
  color: var(--color-ink);
  margin: 0;
}

p { margin: 0; color: var(--color-muted); }

a { color: var(--color-ink-2); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

img,
video { max-width: 100%; }

[hidden] { display: none; }

::selection {
  background: var(--color-accent-soft);
  color: var(--color-ink);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
