/* Opal's look for every page of the Opal app, taken from opalclinical.com and the test platform: Google Sans, near
   black ink on white, one gray for what is secondary, soft gray grounds, 22px cards and black pills. Each page loads
   this first and builds on its tokens, so the app reads as one product. The gray for words passes 4.5:1 on white and
   on the soft ground. The live color marks only what is running right now. */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/google_sans_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/google_sans_latin_ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ui-ink: #0a0a0a;
  --ui-ink2: #2f3033;
  --ui-gray: #4b5563;
  --ui-sec: #5c6370;
  --ui-faint: #9ca3af;
  --ui-line: #ebebee;
  --ui-line2: #e3e4e8;
  --ui-soft: #f5f5f7;
  --ui-soft2: #fafafa;
  --ui-live: #1f6f86;
  --ui-live-wash: #e8f2f5;
  --ui-good: #12804a;
  --ui-good-wash: #e9f7ef;
  --ui-warn: #a95409;
  --ui-warn-wash: #fdf4e8;
  --ui-bad: #c0291d;
  --ui-bad-wash: #fdf0ee;
  --ui-font: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ui-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ui-card: 22px;
  --ui-field: 14px;
  --ui-sheet: 28px;
  --ui-float: 0 1px 2px rgba(10, 10, 10, .04), 0 8px 28px rgba(10, 10, 10, .08);
  --ui-raise: 0 1px 2px rgba(10, 10, 10, .04), 0 10px 30px rgba(10, 10, 10, .05);
  --ui-overlay: rgba(10, 10, 10, .34);
  color-scheme: light;
}

/* Small capitals over a card or a section, as the website sets them. */
.ui-eyebrow { margin: 0; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ui-sec); }
.ui-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ui-live); }
.ui-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

/* Words a screen reader says that the page shows another way. */
.ui-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Buttons: one black pill for what moves things forward, a soft pill beside it. */
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--ui-ink); color: #ffffff; font: inherit; font-size: 15px;
  font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
@media (hover: hover) { .ui-btn:hover:not(:disabled) { background: #2a2a2a; } }
.ui-btn.soft { background: var(--ui-soft); color: var(--ui-ink); }
@media (hover: hover) { .ui-btn.soft:hover:not(:disabled) { background: #ececef; } }
.ui-btn:disabled { opacity: .45; cursor: default; }

@keyframes ui-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ui-live::before { animation: none; } }
