@import url('nav.css');
@import url('forms.css');

/* SiteMate dashboard: shared base styles and brand tokens (ADR 0013). Brand tokens from the PlantLogic website.
   Mobile-first (360 px phones up); nothing may scroll the page sideways (daybook-dashboard AC21). */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2');
}

:root {
  --navy-deep: #0a1c33;
  --navy: #1b3a6b;
  --navy-600: #284f88;
  --orange: #e07b2a;
  --paper: #ffffff;
  --paper-2: #f5f8fc;
  --highlight: #fdf0e3;
  --ink: #1b2a3d;
  --muted: #4e5d72;
  --hair: rgba(27, 58, 107, 0.16);
  --on-dark: #f2f6fb;
  --danger: #b42318;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper-2);
  /* Break only at spaces; letter-wrapping (V-e-n-d-o-r) is what this replaces (daybook-redesign AC7). */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}
h1 {
  font-size: 1.75rem;
  margin: 0.25rem 0 1rem;
}
h2 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
}
h3 {
  font-size: 1.1rem;
}
a {
  color: var(--navy-600);
}
/* focus-within: a date input's calendar button takes a Tab stop without the input matching :focus. */
:focus-visible,
input[type='date']:focus-within {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
/* A standalone text link as a 44 px target (AC11). */
.tap {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}
.tap--inline {
  display: inline;
  padding-block: 0.75rem;
  min-width: 0;
  min-height: 0;
}
img {
  max-width: 100%;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
