@font-face {
  font-family: 'Archivo';
  src: url(fonts/Archivo-Variable.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'nudoc digits';
  src: url(fonts/Archivo-Variable.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0030-0039;
} /* Atkinson slashes its zeros, which looks odd in salaries */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url(fonts/AtkinsonHyperlegible-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url(fonts/AtkinsonHyperlegible-Bold.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f3f3f3;
  --surface: #ffffff;
  --ink: #111111;
  --ink2: #595959;
  --line: #d6d6d6;
  --sky: #e8e8e8;
  --navy: #15395c;
  --on-navy: #ffffff;
  --teal: #1f8ea1;
  --on-teal: #0a0a0a;
  --bad: #a00000;
  --f: 'nudoc digits', 'Atkinson Hyperlegible', 'Helvetica Neue', Arial, sans-serif;
  --fd: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121212;
    --surface: #1c1c1c;
    --ink: #f2f2f2;
    --ink2: #a9a9a9;
    --line: #3a3a3a;
    --sky: #262626;
    --navy: #1f8ea1;
    --on-navy: #0a0a0a;
    --teal: #4bb6c9;
    --bad: #ff8a8a;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--f);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--fd);
  font-stretch: 112%;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(26px, 6vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
}
.hero h1 {
  font-size: clamp(34px, 9vw, 54px);
}
h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 26px 0 6px;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
p {
  margin: 0 0 12px;
}
a {
  color: var(--ink);
  font-weight: 700;
}
code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  word-break: break-all;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 18px 40px;
}
main.wide {
  max-width: 900px;
}
.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 18px 150px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.top-in {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.logo {
  display: block;
  height: 30px;
  width: auto;
}
@media (prefers-color-scheme: dark) {
  .logo,
  .herologo {
    content: url(logo-on-dark.png);
  }
  .lockup {
    content: normal;
  }
}
.herologo {
  display: block;
  width: min(240px, 70%);
  height: auto;
  margin: 4px 0 14px;
}
.hdr-actions {
  display: flex;
  gap: 4px 14px;
  align-items: center;
  flex-wrap: wrap;
}
.who {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 18px 0;
  font-size: 14px;
  color: var(--ink2);
}
.linkbtn,
button.link {
  background: none;
  border: 0;
  padding: 8px 0;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 0;
  border-radius: 0;
}
.badge {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--on-teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  vertical-align: 1px;
}

/* buttons: filled = main action, outlined (plain) = anything else */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 46px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
button:hover {
  filter: brightness(1.12);
}
button.plain {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}
button.plain:hover {
  background: var(--sky);
  filter: none;
}
button.small {
  padding: 7px 14px;
  min-height: 38px;
  font-size: 15px;
}
button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.card button,
.rowact button {
  margin: 10px 8px 0 0;
}
main > button,
main > .row2 + button,
label + button {
  margin-top: 16px;
}
main > h2 + button {
  margin-top: 6px;
}
.actions,
.rowact {
  display: flex;
  gap: 8px 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* forms */
label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin: 16px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: none;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
input[type='checkbox'],
input[type='radio'] {
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  accent-color: var(--navy);
  flex: none;
}
input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 420px) {
  .row2 {
    grid-template-columns: 1fr;
  }
}
.checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 2px 8px;
  max-height: 200px;
  overflow: auto;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: var(--surface);
}
.checks label {
  font-weight: 400;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.checks label:hover {
  background: var(--sky);
}
optgroup {
  font-weight: 800;
}
.err {
  color: var(--bad);
  font-weight: 700;
  min-height: 1.4em;
  margin-top: 12px;
}
.ok {
  color: var(--navy);
  font-weight: 700;
}
.hint,
.meta {
  font-size: 15px;
  color: var(--ink2);
}
.meta {
  margin-bottom: 6px;
}
.wc {
  font-size: 14px;
  color: var(--ink2);
}
.wc.over {
  color: var(--bad);
  font-weight: 800;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}

/* cards and rows */
.card {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  margin: 0;
}
.card:last-of-type {
  border-bottom: 1px solid var(--line);
}
.card h3 {
  margin: 0 0 4px;
}
.card.tiled {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}
@media (max-width: 420px) {
  .card.tiled {
    align-items: center;
  }
}
.card.tiled > div:last-child {
  min-width: 0;
}
.card.focus {
  box-shadow: inset 4px 0 0 var(--navy);
  padding-left: 12px;
}
.tile {
  width: 56px;
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-stretch: 110%;
  font-weight: 800;
  font-size: 23px;
  background: var(--surface);
  flex: none;
}
.tile.hi {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}
.tile.mid {
  background: var(--sky);
}
.tile.lo {
  color: var(--ink2);
  border-color: var(--line);
}
.pill {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 14px;
  margin: 6px 6px 0 0;
}
.pill.hi {
  background: var(--navy);
  color: var(--on-navy);
  border-color: var(--navy);
}
.card ul {
  margin: 8px 0 4px;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink2);
}
.card li {
  margin-bottom: 3px;
}
.status {
  font-weight: 700;
  margin: 8px 0;
}
.empty {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  color: var(--ink2);
  margin: 12px 0;
}
.box {
  background: var(--sky);
  border: 0;
  border-left: 4px solid var(--navy);
  border-radius: 0;
  padding: 12px 14px;
  margin: 12px 0;
  word-break: break-all;
}
.note,
.tip {
  background: var(--sky);
  border-left: 4px solid var(--teal);
  border-radius: 0;
  padding: 10px 14px;
  margin: 10px 0 14px;
  font-size: 15px;
}

/* messages */
.bub {
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  margin: 8px 0;
  max-width: 85%;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: var(--surface);
}
.bub.me {
  margin-left: auto;
  background: var(--navy);
  color: var(--on-navy);
  border-color: var(--navy);
}
.bub.sys {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ink2);
  font-size: 14px;
  text-align: center;
  margin: 8px auto;
  max-width: 92%;
}

/* tables (owner portal) */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
th {
  font-family: var(--fd);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink2);
  background: var(--sky);
}
td,
th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
td button {
  margin: 2px 6px 2px 0;
}
.tablewrap {
  overflow-x: auto;
}

/* bottom tabs */
.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  background: var(--surface);
  border-top: 2px solid var(--ink);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  justify-content: center;
}
.tabs button {
  flex: 1;
  max-width: 180px;
  margin: 0;
  border: 0;
  border-top: 5px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--ink2);
  padding: 13px 2px 12px;
  font-size: 15px;
  min-height: 0;
  filter: none;
}
.tabs button.on {
  color: var(--ink);
  border-top-color: var(--navy);
}
/* on phones a hospital can have six tabs: each takes the width its label needs, so long labels never run together */
@media (max-width: 420px) {
  .tabs button {
    flex: 1 1 auto;
    padding: 13px 4px 12px;
    font-size: 13px;
  }
}
.tabs button:hover {
  background: var(--sky);
  filter: none;
}
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 86px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 10px;
  z-index: 9;
  max-width: calc(100% - 36px);
  font-weight: 700;
}
.foot {
  margin-top: 30px;
  font-size: 14px;
  color: var(--ink2);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

label:has(> input[type='checkbox']),
label:has(> input[type='radio']) {
  display: flex;
  align-items: center;
  gap: 10px;
}
input[type='checkbox'],
input[type='radio'] {
  width: 22px !important;
}

/* demo-style welcome and form pages */
.hero {
  padding-top: 6px;
}
.hero .lede {
  font-size: 19px;
  color: var(--ink2);
  margin: 8px 0 18px;
}
.panelcard {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
  margin: 18px 0;
}
.panelcard h3 {
  margin-bottom: 4px;
}
.top .logo {
  height: 34px;
}
.top .hdr-actions a,
.top .hdr-actions .linkbtn {
  font-size: 16px;
}

/* welcome */
.hero h1 {
  margin-top: 6px;
}
.hero .lede {
  max-width: 34ch;
}
.idbadge {
  position: relative;
  width: min(100%, 270px);
  margin-inline: auto;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--surface);
  padding: 52px 18px 18px;
  text-align: center;
}
.idbadge::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 34px;
  background: var(--navy);
  border-radius: 14px 14px 0 0;
  border-bottom: 2px solid var(--ink);
}
.idbadge::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 56px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
}
.idbadge .hd {
  font-family: var(--fd);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
}
.idbadge .sb {
  font-size: 15px;
  color: var(--ink2);
  margin-top: 6px;
}
.idbadge.revealed {
  background: var(--sky);
}
.stage {
  perspective: 900px;
  margin: 14px auto 26px;
  width: min(100%, 270px);
  height: 210px;
  transform-origin: 50% 0;
  animation: sway 1.9s ease-out 1;
}
@keyframes sway {
  0% {
    transform: rotate(-5deg);
  }
  30% {
    transform: rotate(3deg);
  }
  60% {
    transform: rotate(-1.5deg);
  }
  100% {
    transform: rotate(0);
  }
}
.stage .flip {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  display: block;
  min-height: 0;
  color: inherit;
  text-align: center;
}
.stage .flip.on {
  transform: rotateY(180deg);
}
.flip .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: center;
}
.flip .face .idbadge {
  height: 100%;
  width: 100%;
}
.flip .back {
  transform: rotateY(180deg);
}
.logins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 6px;
}
.logins button {
  width: 100%;
  padding: 14px 6px;
  font-size: 15px;
  line-height: 1.2;
  min-height: 64px;
}
@media (prefers-color-scheme: dark) {
  .idbadge::before {
    background: var(--teal);
  }
}

.stage .flip:hover,
.stage .flip:focus {
  filter: none;
  background: none;
}
.stage .flip,
.stage .flip * {
  filter: none;
}
.flip .face {
  background: transparent;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0 4px;
}
.seg button {
  border: 0;
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  min-height: 46px;
  filter: none;
}
.seg button + button {
  border-left: 2px solid var(--ink);
}
.seg button.on {
  background: var(--navy);
  color: var(--on-navy);
}
.seg button:hover {
  filter: none;
}

/* profile, like the demo */
.ph {
  font-size: clamp(24px, 6vw, 30px);
  margin: 6px 0 4px;
  padding: 0;
  border: 0;
}
.secnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 10px 0 14px;
  -webkit-overflow-scrolling: touch;
}
.secnav button {
  flex: none;
  padding: 10px 14px;
  min-height: 0;
  font-size: 15px;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .secnav {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .secnav button {
    flex: 1 1 calc(33.333% - 8px);
    padding: 10px 6px;
  }
}
.field {
  display: grid;
  gap: 6px;
  margin: 16px 0;
}
.field > label,
.field > .lbl,
.lbl {
  display: block;
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}
.lbl {
  font-weight: 700;
  font-size: 15px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 360px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.mapbox {
  margin: 8px 0 6px;
}
.usmap {
  display: block;
  width: 100%;
  height: auto;
}
.reg {
  cursor: pointer;
  outline: none;
}
.reg path {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill 0.15s;
}
.reg text {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 19px;
  fill: var(--ink);
  pointer-events: none;
  text-anchor: middle;
}
.reg:hover path,
.reg:focus-visible path,
.reg.on path {
  fill: var(--teal);
}
.reg:hover text,
.reg:focus-visible text,
.reg.on text {
  fill: var(--on-teal);
}
.reg:focus-visible path {
  stroke-width: 3.4;
}
.reg.r2 path {
  fill: color-mix(in srgb, var(--teal) 62%, var(--surface));
}
.reg.r3 path {
  fill: color-mix(in srgb, var(--teal) 32%, var(--surface));
}
.reg.on.r2 text,
.reg.on.r3 text {
  fill: var(--ink);
}
.regbtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.regbtns button {
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  text-align: center;
  margin: 0;
}
.regbtns button small {
  color: inherit;
  opacity: 0.75;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
}
.regbtns button:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.rank {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.rank li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid var(--line);
}
.pointsbar .pl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
}
.pointsbar .pl b {
  font-family: var(--fd);
  font-stretch: 110%;
  font-size: 30px;
}
.bar {
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  margin: 6px 0;
}
.bar #pfill {
  height: 100%;
  background: var(--navy);
  width: 0;
}
details.how {
  border: 2px solid var(--ink);
  border-left: 6px solid var(--navy);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 14px;
  margin: 12px 0;
}
.dim {
  border-top: 1px solid var(--line);
  padding: 14px 0 8px;
}
.dimhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.dimhead label {
  margin: 0;
  font-family: var(--fd);
  font-stretch: 110%;
  font-weight: 800;
  font-size: 22px;
}
.dimhead b {
  font-family: var(--fd);
  font-stretch: 110%;
  font-size: 26px;
}
.dim input[type='range'] {
  width: 100%;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--navy);
}
.scale {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink2);
  margin-top: -4px;
}
.dbk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  font-weight: 700;
}
.navbtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 4px;
}
.navbtns button {
  margin: 0;
}

/* job rows, like the demo */
ul.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.row {
  border-top: 1px solid var(--line);
}
button.rowhead {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 400;
  min-height: 0;
  filter: none;
  justify-content: stretch;
}
button.rowhead:hover {
  background: none;
  filter: none;
}
.rowhead h3 {
  margin-bottom: 2px;
}
.dates {
  font-size: 15px;
  color: var(--ink2);
}
.tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  border: 2px solid var(--ink);
  margin: 6px 6px 0 0;
}
.tag.signal {
  background: var(--navy);
  color: var(--on-navy);
  border-color: var(--navy);
}
.panel {
  padding: 0 0 18px 70px;
}
@media (max-width: 520px) {
  .panel {
    padding-left: 0;
  }
}
.explain {
  background: var(--sky);
  border-left: 4px solid var(--teal);
  padding: 10px 14px;
  margin: 0 0 12px;
  font-size: 15px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.split div {
  border-left: 4px solid var(--navy);
  padding-left: 10px;
}
.split b {
  font-family: var(--fd);
  font-size: 22px;
  font-stretch: 110%;
}
ul.bd {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.bd li {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 2px 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.bd .reason {
  grid-column: 1/-1;
  font-size: 15px;
  color: var(--ink2);
}
.barwrap {
  display: block;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  align-self: center;
  overflow: hidden;
  background: var(--surface);
}
.barwrap span {
  display: block;
  height: 100%;
  background: var(--navy);
}
ul.terms {
  margin: 4px 0 12px;
  padding-left: 20px;
}
.reveal {
  background: var(--sky);
  border-left: 4px solid var(--navy);
  padding: 10px 14px;
  margin: 12px 0;
}
.sortrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.sortrow label {
  margin: 0;
  white-space: nowrap;
}
.sortrow select {
  max-width: 240px;
}
.tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.tip .link {
  white-space: nowrap;
  padding: 0;
  margin: 0;
}
button.decline {
  border-color: var(--line);
  font-weight: 600;
  color: var(--ink2);
  min-height: 36px;
  padding: 6px 12px;
  font-size: 14px;
}
button.decline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: none;
}

.irow {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
}
.thhead {
  margin-bottom: 8px;
}
.thread {
  margin: 10px 0;
}
.composer {
  margin-top: 10px;
}
.composer button {
  margin-top: 10px;
}
.rowhead .badge {
  margin-left: 8px;
}
.status {
  font-weight: 700;
  margin: 8px 0;
}

/* hospital screens */
.sech {
  font-size: 20px;
  margin: 26px 0 4px;
  padding: 0;
  border: 0;
}
.kvlist {
  border-top: 2px solid var(--ink);
}
.kv {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.kv small {
  display: block;
  color: var(--ink2);
  font-size: 15px;
}
.kv b {
  font-size: 18px;
}
.bulk {
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  background: var(--surface);
}
.bulk .selall {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 400;
}
.bulk .selall span {
  color: var(--ink2);
}
.bulk .rowact {
  margin: 0;
}
li.selrow {
  position: relative;
}
.selbox {
  position: absolute;
  right: 0;
  top: 18px;
  margin: 0;
  z-index: 1;
}
.selbox input {
  width: 24px !important;
  height: 24px;
}
li.selrow .rowhead {
  padding-right: 36px;
}
.chk label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 400;
  margin: 8px 0;
}
.optbox {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 14px;
  margin: 10px 0;
  font-weight: 700;
}
.how2 {
  border: 2px solid var(--ink);
  border-left: 6px solid var(--navy);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 14px;
}
ul.bd2 {
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--ink2);
  font-size: 15px;
}
.cq {
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
details.how summary {
  font-weight: 800;
  cursor: pointer;
}
.photorow {
  display: flex;
  gap: 14px;
  align-items: center;
}
.photorow img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line, #ccc);
}
.logins button:hover,
.logins button:focus-visible,
.logins button:active {
  background: var(--teal);
  color: var(--on-teal);
  border-color: var(--ink);
  filter: none;
}
.herologo.lockup {
  width: min(300px, 80%);
}

.pointsbar {
  position: sticky;
  top: var(--hh, 0px);
  z-index: 4;
  background: var(--paper);
  padding: 10px 0 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 6px;
}
.rules {
  font-size: 15px;
  color: var(--bad);
}
.rules ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.rules.ok {
  color: var(--ink2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
  font-weight: 700;
}
.chip[aria-pressed='true'] {
  background: var(--navy);
  color: var(--on-navy);
}
.savebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 7;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
}
.savebar span {
  font-weight: 700;
}
.savebar button.plain {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.lockbox {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  background: var(--sky);
  margin-bottom: 12px;
}
.lockbox .clock {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0;
}
.btnlink {
  display: inline-block;
  background: var(--navy);
  color: var(--on-navy);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.need {
  font-size: 15px;
  margin-bottom: 8px;
}
.tip.block {
  display: block;
}
.tip.block details {
  margin-top: 8px;
}

.viewonly [data-a='hpage'],
.viewonly [data-a='newjob'],
.viewonly [data-a='editjob'],
.viewonly [data-a='confirmjob'],
.viewonly [data-a='filljob'],
.viewonly [data-a='closejob'],
.viewonly [data-a='invite'],
.viewonly [data-a='cdecline'],
.viewonly [data-a='bulkact'],
.viewonly .bulk,
.viewonly [data-a='doimport'],
.viewonly [data-a='savejob'] {
  display: none;
}
.tbl .trow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.dd {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.dd summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 40px 12px 12px;
  font-weight: 400;
  min-height: 48px;
  display: flex;
  align-items: center;
  position: relative;
}
.dd summary::-webkit-details-marker {
  display: none;
}
.dd summary::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}
.dd[open] summary {
  border-bottom: 2px solid var(--line);
}
.dd[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.ddlist {
  display: grid;
  padding: 6px;
}
.ddlist label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}
.ddlist label:hover {
  background: var(--sky);
}
.ddlist input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
  flex: none;
}
.chosen {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.chosen li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid var(--line);
}
.chosen small {
  color: var(--ink2);
}
.pick {
  display: grid;
  gap: 8px;
}
.pick label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
  margin: 0;
}
.pick input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
  flex: none;
}
.pick label.on {
  border-color: var(--ink);
}
.pick label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 6px 0 4px;
}
.stat {
  border: 0;
  border-radius: 0;
  background: none;
  border-left: 4px solid var(--navy);
  padding: 0 0 0 12px;
  display: grid;
  gap: 2px;
  align-content: start;
}
.stat b {
  font-family: var(--fd);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  display: block;
}
.stat span {
  font-size: 15px;
  color: var(--ink2);
}
.tbl {
  border-top: 2px solid var(--ink);
}
.tbl .trow {
  display: grid;
  grid-template-columns: minmax(80px, 32%) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  justify-content: normal;
}
.tbl .trow span:first-child {
  font-weight: 700;
}
.warn {
  margin: 12px 0;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--teal);
  border-radius: 10px;
  background: var(--surface);
}
.guide {
  margin: 12px 0 4px;
  padding: 14px 16px 6px 16px;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--navy);
  border-radius: 10px;
  background: var(--surface);
}
.guide ul {
  margin: 8px 0 6px;
  padding-left: 20px;
}
.guide li {
  margin-bottom: 8px;
}
/* procedures: hospital job form (Not needed / Preferred / Required) */
.procs {
  border-top: 2px solid var(--ink);
  margin: 8px 0;
}
.prow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.prow > span:first-child {
  font-weight: 700;
}
.prow small {
  font-weight: 400;
  color: var(--ink2);
}
.pseg {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pseg button {
  padding: 7px 12px;
  min-height: 38px;
  font-size: 15px;
}
.reqcount {
  border-left: 4px solid var(--navy);
  padding: 4px 0 4px 12px;
  margin: 14px 0;
}
.reqcount ul {
  margin: 6px 0;
  padding-left: 20px;
}
.pick small {
  font-weight: 400;
  color: var(--ink2);
}

.pbulk {
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0;
  background: var(--surface);
}
.pbrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 8px;
}
.pbrow input[type='search'] {
  max-width: 240px;
  margin: 0;
}
.pbrow select {
  max-width: 260px;
  margin: 0;
}
.psel {
  float: right;
  margin: 0;
}
.preq[hidden] {
  display: none;
}

/* live alerts: a banner for ordinary news and a card for a match */
.nudge {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 560px;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: nin 0.18s ease-out;
}
.nudge .ntext {
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}
.nudge .nact {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: none;
}
.mback {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mbox {
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 24px 22px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: nin 0.18s ease-out;
}
.mbox h2 {
  margin: 0 0 8px;
  font-family: var(--fd);
  font-size: 28px;
}
.mbox p {
  margin: 0 0 18px;
  font-size: 18px;
}
.mact {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
@keyframes nin {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.mbox {
  animation-name: min;
}
@keyframes min {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nudge,
  .mbox {
    animation: none;
  }
}

/* home page sections below the badge */
.homesec {
  margin-top: 34px;
}
.homesec h2 {
  font-size: clamp(24px, 6vw, 30px);
  margin-bottom: 12px;
}
.steps {
  list-style: none;
  counter-reset: st;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: st;
  position: relative;
  padding: 2px 0 16px 56px;
  min-height: 44px;
}
.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-weight: 800;
  font-size: 20px;
  background: var(--surface);
}
.ticks {
  padding-left: 22px;
  margin: 0;
}
.ticks li {
  margin: 0 0 10px;
}
.homesec.panelcard .actions {
  margin-top: 14px;
}
