@font-face {
  font-family: "Geist";
  src: url("https://storage.googleapis.com/ronanrx-public-assets/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("https://storage.googleapis.com/ronanrx-public-assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("https://storage.googleapis.com/ronanrx-public-assets/fonts/Newsreader-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ground: #e2ebee;
  --ink: #102023;
  --ink-soft: #4d5456;
  --ink-faint: #5b6264;
  --card: #ffffff;
  --card-radius: 12px;
  --border: #c8d0d2;
  --border-soft: #e0e7e9;
  --teal: #0f766e;
  --tint: #edf6f9;
  --pill-bg: #e2ebee;
  --pill-ink: #363e41;
  --red-ink: #b91c1c;
  --red-bg: #fbeeee;
  --red-border: #f3d9d9;
  --amber-ink: #b45309;
  --amber-bg: #fdf6e7;
  --green-ink: #0f766e;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
}
body {
  min-width: 320px;
  background: var(--ground);
  color: var(--ink);
  font-family: "Geist", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button, input, select, textarea {
  color: inherit;
  font: inherit;
}
a {
  color: var(--teal);
  text-underline-offset: 2px;
}
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}
.subnav {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 12px 24px 0;
  border-bottom: 1px solid var(--border-soft);
  scrollbar-width: none;
  white-space: nowrap;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex: 0 0 auto;
  margin-bottom: -1px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active {
  border-bottom-color: var(--teal);
  color: var(--teal);
}
.ops-header, .pharmacist-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.ops-header__inner, .pharmacist-header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}
.ops-header__inner, .pharmacist-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ops-wordmark, .pharmacist-wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.ops-wordmark {
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
}
.ops-wordmark__pill {
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}
.ops-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.ops-nav a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.ops-nav a:hover { background: var(--tint); color: var(--ink); }
.ops-nav a[aria-current="page"], .ops-nav a.is-active {
  padding-inline: 10px;
  background: var(--teal);
  color: #ffffff;
}
.account-chip {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.pharmacist-wordmark {
  gap: 5px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pharmacist-wordmark__rx {
  padding: 0 5px;
  border-radius: 4px;
  background: var(--teal);
  color: #ffffff;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.card {
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: var(--card);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.h1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.h1 h1, h1.h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.subtitle {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-family: "Newsreader", serif;
  font-size: 15px;
  line-height: 1.45;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn--primary { background: var(--ink); color: #ffffff; }
.btn--secondary {
  border-color: var(--border);
  background: var(--card);
  color: var(--ink);
}
.btn--danger {
  border-color: var(--red-ink);
  background: var(--card);
  color: var(--red-ink);
}
.btn--teal { background: var(--teal); color: #ffffff; }
.btn:hover { filter: brightness(.94); }
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.pill--red { background: var(--red-bg); color: var(--red-ink); }
.pill--amber { background: var(--amber-bg); color: var(--amber-ink); }
.pill--green, .pill--teal {
  background: var(--tint);
  color: var(--green-ink);
}
.chip-mono {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--card);
  scrollbar-color: var(--border) var(--ground);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
thead {
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}
th, td {
  padding: 10px 16px;
  vertical-align: top;
}
tbody tr { border-bottom: 1px solid #eef1f2; }
tbody tr:last-child { border-bottom: 0; }
td { font-size: 14px; }
.table--tight th, .table--tight td { padding-block: 7px; }
.row--late { background: var(--red-bg); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.chips button, .chips a {
  appearance: none;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.chips .is-active, .chips [aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: var(--card);
}
.tile__count {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}
.tile__label {
  margin: 6px 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
}
.tile a {
  color: var(--teal);
  font-weight: 600;
}
.exceptions {
  padding: 8px 20px;
  border: 1px solid var(--red-border);
  border-radius: var(--card-radius);
  background: var(--red-bg);
}
.exceptions__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--red-border);
}
.exceptions__item:last-child { border-bottom: 0; }
.exceptions__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.tint-head {
  margin: -24px -24px 20px;
  padding: 12px 16px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background: var(--tint);
  font-size: 14px;
  font-weight: 600;
}
details > summary {
  color: var(--teal);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
details > summary::marker { color: var(--teal); }
.what-changed {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid #ecd9b8;
  border-radius: 8px;
  background: var(--amber-bg);
}
.what-changed[open] > summary { margin-bottom: 12px; }
.what-changed ul {
  margin: 0;
  padding-left: 20px;
}
.mockup-chip {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-decoration: none;
}
.next-step {
  padding: 24px;
  border: 1px solid #cfe3e8;
  border-radius: var(--card-radius);
  background: var(--tint);
}
@media (max-width: 900px) {
  .tiles, .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h1 { flex-direction: column; }
}
@media (max-width: 768px) {
  .ops-header__inner, .pharmacist-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .nav-toggle-label {
    display: inline-flex;
    grid-column: 2;
    margin-left: auto;
  }
  .ops-nav, .account-chip,
  .pharmacist-header + .subnav {
    display: none;
  }
  .nav-toggle:checked ~ .ops-nav,
  .nav-toggle:checked ~ .account-chip {
    display: flex;
  }
  .pharmacist-header:has(.nav-toggle:checked) + .subnav {
    display: flex;
  }
  .ops-nav {
    grid-column: 1 / -1;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin: 0;
  }
  .ops-nav a {
    width: 100%;
    padding: 10px;
    border-bottom: 0;
    border-radius: 6px;
  }
  .account-chip {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
  }
  .exceptions__item {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .content { padding: 24px 16px 64px; }
  .subnav.content { padding: 12px 16px 0; }
  .ops-header__inner, .pharmacist-header__inner { padding-inline: 16px; }
  .tiles, .grid-2 { grid-template-columns: 1fr; }
  .card, .next-step { padding: 20px; }
  .tint-head { margin: -20px -20px 16px; }
  .actions, .actions .btn { width: 100%; }
}
