:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #eef7f4;
  --panel: #ffffff;
  --ink: #10201d;
  --muted: #60736e;
  --line: #cfe2dc;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --danger: #b91c1c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.ghost {
  border: 1px solid var(--line);
  background: white;
  color: var(--primary-dark);
}

button.danger {
  border-color: #fecaca;
  color: var(--danger);
}

.hidden { display: none !important; }

.login-screen {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  min-height: 100vh;
  padding: 40px clamp(18px, 5vw, 80px);
}

.salud-login-screen {
  position: relative;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 430px);
  gap: clamp(22px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgb(20 184 166 / 18%), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgb(56 189 248 / 20%), transparent 28rem),
    linear-gradient(135deg, #ecfeff 0%, #f6fffb 46%, #dff7ef 100%);
}

.salud-login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(15 118 110 / 7%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(14 165 233 / 6%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 48% 38%, black, transparent 78%);
}

.salud-login-screen::after {
  content: "";
  position: absolute;
  inset: auto -18% -34% 42%;
  height: 62%;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgb(15 118 110 / 16%), rgb(14 165 233 / 11%));
  filter: blur(4px);
  transform: rotate(-8deg);
}

.health-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.health-ambient span {
  position: absolute;
  border: 1px solid rgb(15 118 110 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 28%);
  box-shadow: 0 20px 70px rgb(15 118 110 / 10%);
  animation: healthFloat 8s ease-in-out infinite;
}

.health-ambient span:nth-child(1) {
  left: 6%;
  top: 12%;
  width: 220px;
  height: 220px;
}

.health-ambient span:nth-child(2) {
  right: 10%;
  top: 16%;
  width: 150px;
  height: 150px;
  animation-delay: -2.4s;
}

.health-ambient span:nth-child(3) {
  left: 38%;
  bottom: 8%;
  width: 260px;
  height: 260px;
  animation-delay: -4.6s;
}

.salud-login-screen .login-copy,
.salud-login-screen .login-card {
  position: relative;
  z-index: 2;
}

.salud-login-screen .login-copy {
  display: grid;
  align-content: center;
  max-width: 780px;
  min-height: min(720px, calc(100svh - 80px));
  padding: clamp(22px, 4.6vw, 54px);
  border: 1px solid rgb(15 118 110 / 13%);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 68%), rgb(255 255 255 / 22%)),
    radial-gradient(circle at 30% 18%, rgb(20 184 166 / 12%), transparent 38%);
  box-shadow:
    0 34px 110px rgb(15 118 110 / 13%),
    inset 0 1px 0 rgb(255 255 255 / 72%);
  backdrop-filter: blur(18px);
}

.health-login-scene {
  position: relative;
  min-height: clamp(240px, 36vh, 360px);
  perspective: 1000px;
  transform-style: preserve-3d;
}

.health-orbit {
  position: absolute;
  inset: 15% 12%;
  border: 1px solid rgb(20 184 166 / 18%);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-18deg);
}

.orbit-two {
  inset: 26% 24%;
  border-color: rgb(14 165 233 / 22%);
  transform: rotateX(68deg) rotateZ(22deg);
}

.patient-card-3d,
.vital-monitor {
  position: absolute;
  border: 1px solid rgb(15 118 110 / 14%);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(240 253 250 / 62%));
  box-shadow:
    0 26px 70px rgb(15 118 110 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 80%);
}

.patient-card-3d {
  left: 7%;
  top: 23%;
  width: min(245px, 38vw);
  height: 160px;
  padding: 20px;
  transform: rotateY(-16deg) rotateX(8deg) translateZ(40px);
  animation: healthCardDrift 6s ease-in-out infinite;
}

.patient-card-3d span {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 38%, #ecfeff 0 18%, transparent 19%),
    linear-gradient(135deg, #2dd4bf, #0ea5e9);
}

.patient-card-3d strong,
.patient-card-3d i {
  display: block;
  height: 10px;
  border-radius: 999px;
  margin-top: 14px;
  background: rgb(15 118 110 / 18%);
}

.patient-card-3d strong { width: 70%; }
.patient-card-3d i:nth-of-type(1) { width: 86%; }
.patient-card-3d i:nth-of-type(2) { width: 58%; }
.patient-card-3d i:nth-of-type(3) { width: 74%; }

.vital-monitor {
  right: 6%;
  top: 33%;
  width: min(330px, 44vw);
  height: 180px;
  overflow: hidden;
  transform: rotateY(18deg) rotateX(8deg) translateZ(56px);
  animation: healthMonitorPulse 5.5s ease-in-out infinite;
}

.vital-monitor b {
  position: absolute;
  inset: 18px 20px auto;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgb(20 184 166 / 28%), rgb(14 165 233 / 16%)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgb(255 255 255 / 58%) 22px 24px);
}

.vital-monitor svg {
  position: absolute;
  inset: 56px 22px auto;
  width: calc(100% - 44px);
  height: 92px;
}

.vital-monitor path {
  fill: none;
  stroke: #0f766e;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 430;
  animation: vitalDraw 3.8s ease-in-out infinite;
}

.medical-cross-3d {
  position: absolute;
  left: 46%;
  top: 15%;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
  box-shadow: 0 22px 54px rgb(15 118 110 / 26%);
  transform: rotateZ(-8deg) translateZ(90px);
}

.medical-cross-3d::before,
.medical-cross-3d::after {
  content: "";
  position: absolute;
  inset: 22px 38px;
  border-radius: 999px;
  background: white;
}

.medical-cross-3d::after {
  inset: 38px 22px;
}

.appointment-pill {
  position: absolute;
  z-index: 3;
  border: 1px solid rgb(15 118 110 / 14%);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgb(255 255 255 / 78%);
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 16px 40px rgb(15 118 110 / 12%);
}

.pill-a {
  left: 21%;
  bottom: 18%;
}

.pill-b {
  right: 11%;
  bottom: 12%;
}

.salud-login-screen .login-copy img {
  display: none;
}

.salud-login-screen .login-copy p {
  width: fit-content;
  margin: 0 0 10px;
  border: 1px solid rgb(15 118 110 / 16%);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgb(15 118 110 / 8%);
  color: #0f766e;
  font-size: 0.76rem;
}

.salud-login-screen .login-copy h1 {
  color: #062c2a;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.88;
  text-wrap: balance;
}

.salud-login-screen .login-copy > span {
  max-width: 62ch;
  color: #385953;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.salud-login-screen .login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}

.salud-login-screen .login-highlights article {
  min-height: 92px;
  border: 1px solid rgb(15 118 110 / 13%);
  border-radius: 20px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 78%), rgb(236 253 245 / 58%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
}

.salud-login-screen .login-highlights strong,
.salud-login-screen .login-highlights span {
  display: block;
}

.salud-login-screen .login-highlights strong {
  color: #0f766e;
  font-size: 0.74rem;
}

.salud-login-screen .login-highlights span {
  margin-top: 10px;
  color: #133f3b;
  font-weight: 900;
}

.salud-login-screen .login-card {
  align-self: center;
  display: grid;
  gap: 16px;
  border: 1px solid rgb(15 118 110 / 13%);
  border-radius: 30px;
  padding: clamp(24px, 3.6vw, 38px);
  background:
    radial-gradient(circle at 88% 4%, rgb(45 212 191 / 16%), transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(240 253 250 / 92%));
  box-shadow:
    0 30px 90px rgb(15 118 110 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 84%);
}

.login-card-head span {
  color: #0f766e;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-card-head h2 {
  margin: 7px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1;
}

.login-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.salud-login-screen .login-card input {
  min-height: 50px;
  border-radius: 14px;
  background: white;
}

.salud-login-screen .login-card input:focus {
  border-color: rgb(15 118 110 / 48%);
  box-shadow: 0 0 0 4px rgb(20 184 166 / 12%);
  outline: 0;
}

.salud-login-screen .login-card button {
  min-height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0ea5e9);
  box-shadow: 0 18px 42px rgb(15 118 110 / 22%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.salud-login-screen .login-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgb(14 165 233 / 24%);
}

.salud-login-screen .login-card.is-loading {
  pointer-events: none;
}

.salud-login-screen .login-card.is-loading button::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -3px;
  animation: loginSpin 760ms linear infinite;
}

.salud-login-screen .login-card small {
  color: var(--muted);
  font-size: 0.74rem;
}

@keyframes healthFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.04); }
}

@keyframes healthCardDrift {
  0%, 100% { transform: rotateY(-16deg) rotateX(8deg) translate3d(0, 0, 40px); }
  50% { transform: rotateY(-10deg) rotateX(10deg) translate3d(10px, -8px, 54px); }
}

@keyframes healthMonitorPulse {
  0%, 100% { transform: rotateY(18deg) rotateX(8deg) translate3d(0, 0, 56px); }
  50% { transform: rotateY(12deg) rotateX(10deg) translate3d(-8px, 6px, 70px); }
}

@keyframes vitalDraw {
  0% { stroke-dashoffset: 430; opacity: 0.5; }
  42%, 70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -430; opacity: 0.64; }
}

@keyframes loginSpin {
  to { transform: rotate(360deg); }
}

.login-copy img {
  width: 94px;
  height: auto;
}

.login-copy p {
  margin: 24px 0 8px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.login-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: 0;
}

.login-copy span {
  display: block;
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.login-card,
.panel,
.metrics article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 18px 42px rgb(15 62 57 / 9%);
}

.login-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.login-card h2 {
  margin: 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 11px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-weight: 800;
}

.app-shell {
  min-height: 100vh;
  padding: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 18px;
}

.topbar span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h1 {
  margin: 2px 0 0;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metrics article {
  padding: 14px;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.metrics strong {
  display: block;
  margin-top: 5px;
  font-size: 1.5rem;
}

.workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
}

.tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.tabs button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-align: left;
}

.tabs button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.panel {
  min-height: 68vh;
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-head h2 {
  margin: 0;
}

.panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.span-2 {
  grid-column: 1 / -1;
}

.card-list {
  display: grid;
  gap: 10px;
}

.audit-list {
  display: grid;
  gap: 10px;
}

.audit-card strong {
  color: var(--primary-dark);
}

.row-card {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfffd;
}

.row-card strong,
.row-card span {
  display: block;
}

.row-card span,
.muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.badge {
  align-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.75rem;
  font-weight: 900;
}

.notice {
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 12px;
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 750;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(95px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.status-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.status-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-summary strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 4px;
}

.appointment-board {
  display: grid;
  gap: 12px;
}

.appointment-board article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfffd;
}

.appointment-board h4 {
  margin: 0 0 10px;
}

.report-summary {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.report-list {
  display: grid;
  gap: 9px;
}

.report-list article {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px;
  background: #fbfffd;
}

.report-list span {
  color: var(--muted);
  font-weight: 800;
}

.report-list strong {
  text-align: right;
}

.receipt {
  display: grid;
  gap: 12px;
  border: 1px dashed var(--primary);
  border-radius: 8px;
  margin: 14px 0;
  padding: 14px;
  background: #f8fffc;
}

.receipt strong,
.receipt span {
  display: block;
}

.receipt span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.receipt dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 7px 12px;
  margin: 0;
}

.receipt dt {
  color: var(--muted);
  font-weight: 850;
}

.receipt dd {
  margin: 0;
}

.prescription {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 14px 0;
  padding: 16px;
  background: #fffefa;
}

.prescription-head {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.prescription-head span,
.prescription-signature span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prescription-head strong,
.prescription-head small,
.prescription-signature strong {
  display: block;
}

.prescription dl {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 9px 14px;
  margin: 0;
}

.prescription dt {
  color: var(--muted);
  font-weight: 850;
}

.prescription dd {
  margin: 0;
  white-space: pre-wrap;
}

.prescription-signature {
  border-top: 1px solid var(--line);
  justify-self: end;
  margin-top: 24px;
  min-width: 220px;
  padding-top: 12px;
  text-align: center;
}

.history-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px;
  background: #f8fffc;
}

.cash-close-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 16px 0;
  padding: 14px;
  background: #f8fffc;
}

.history-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.history-head span,
.history-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-head h3,
.history-head p {
  margin: 0;
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.history-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.history-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.clinical-alert {
  color: #8b1e1e;
  font-weight: 850;
}

.clinical-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.clinical-alerts article {
  border: 1px solid #f0b7b7;
  border-radius: 8px;
  padding: 10px;
  background: #fff7f7;
}

.clinical-alerts span {
  color: #9f2a2a;
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clinical-alerts strong {
  display: block;
  margin-top: 4px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 12px;
}

.timeline time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline strong,
.timeline span,
.timeline small {
  display: block;
}

.timeline small {
  color: var(--muted);
  margin-top: 4px;
}

@media print {
  body * {
    visibility: hidden;
  }

  #receipt,
  #receipt *,
  #prescription,
  #prescription * {
    visibility: visible;
  }

  #receipt,
  #prescription {
    position: absolute;
    inset: 24px auto auto 24px;
    width: calc(100% - 48px);
    box-shadow: none;
  }

  #receipt button,
  #prescription button {
    display: none;
  }
}

@media (max-width: 860px) {
  .login-screen,
  .workspace {
    grid-template-columns: 1fr;
  }

  .metrics,
  .grid,
  .grid.three,
  .filter-row,
  .status-summary {
    grid-template-columns: 1fr;
  }

  .topbar,
  .panel-head,
  .row-card,
  .history-head,
  .prescription-head {
    align-items: stretch;
    flex-direction: column;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-summary,
  .timeline article,
  .prescription dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .salud-login-screen {
    align-items: start;
    min-height: 100svh;
    gap: 14px;
    padding: 12px;
  }

  .salud-login-screen .login-copy {
    min-height: auto;
    padding: 20px;
    border-radius: 26px;
  }

  .health-login-scene {
    min-height: 185px;
    margin: -20px 0 -6px;
    transform: scale(0.84);
    transform-origin: center;
  }

  .salud-login-screen .login-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .salud-login-screen .login-card {
    align-self: stretch;
    border-radius: 24px;
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .salud-login-screen {
    overflow-x: hidden;
  }

  .health-ambient span:nth-child(1),
  .health-ambient span:nth-child(3) {
    opacity: 0.45;
  }

  .health-login-scene {
    min-height: 142px;
    margin: -32px 0 -14px;
    transform: scale(0.62);
  }

  .salud-login-screen .login-highlights {
    grid-template-columns: 1fr;
  }

  .salud-login-screen .login-highlights article {
    min-height: 64px;
  }

  .salud-login-screen .login-copy > span,
  .login-card-head p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .health-ambient span,
  .patient-card-3d,
  .vital-monitor,
  .vital-monitor path {
    animation: none !important;
  }
}
