:root {
  font-family:
    Segoe UI,
    system-ui,
    sans-serif;
  font-synthesis: none;
  color: #242424;
  background: #f5f4f2;
  --brand: #7b1e3b;
  --muted: #616161;
  --stroke: #deddda;
  --paper: #fcfbf8;
}

.date-validation {
  display: block;
  color: var(--colorStatusDangerForeground1);
  font-size: var(--fontSizeBase200);
  line-height: var(--lineHeightBase200);
  margin-top: var(--spacingVerticalXS);
}

.field fluent-dropdown > button[slot="control"]:focus-visible,
.portal-date-input input:focus-visible {
  outline: none;
  box-shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

fluent-button,
fluent-compound-button,
fluent-link {
  cursor: pointer;
}

fluent-button:not(:defined),
fluent-compound-button:not(:defined),
fluent-text-input:not(:defined) {
  visibility: hidden;
}

fluent-button[disabled] {
  cursor: default;
}

fluent-link .icon {
  width: 14px;
  height: 14px;
}

fluent-compound-button {
  white-space: normal;
}

fluent-compound-button::part(content) {
  min-width: 0;
  white-space: normal;
}

fluent-compound-button [slot="description"] {
  white-space: normal;
  line-height: 20px;
}

/* Fluent activates the inert helper; the host is the accessible link. */
fluent-link > a[inert],
fluent-anchor-button > a[inert] {
  display: none;
}

/* Our visible label is outside the control. Its sr-only label still names the
   input, but Fluent's default label padding must not displace the input by 4px. */
fluent-text-input:has(> .sr-only)::part(label) {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: white;
  padding: 12px;
}

.skip-link:focus {
  top: 8px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
