/* The commercial renderer shares V2 tokens with the product site. */
@font-face {
  font-family: MedShiftInter;
  src: url('../site/inter-greek-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: MedShiftInter;
  src: url('../site/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2190-21FF;
}

body.efyron-product {
  --ink: var(--efyron-navy);
  --accent: var(--efyron-teal-dark);
  --app-dark: var(--efyron-navy);
  --app-deep: var(--efyron-panel);
  --app-aqua: var(--efyron-teal);
  --app-radius: var(--efyron-radius);
  font-family: MedShiftInter, var(--efyron-font);
}
.efyron-product .shell-header,
.efyron-product .shell-footer {
  color: var(--efyron-white);
  background: var(--efyron-navy);
  border-color: var(--efyron-border);
}
.efyron-product .shell-brand {
  background: var(--efyron-navy);
  padding: 0;
}
.efyron-product .shell-header a:focus-visible,
.efyron-product .shell-header button:focus-visible {
  outline-color: var(--efyron-teal);
}
.efyron-product .shell-footer a { color: var(--efyron-teal); }
.efyron-product .shell-footer .synthetic-label { color: var(--efyron-muted); }
.efyron-product #medshift-root .sidebar > .brand {
  background: var(--efyron-navy);
  border-color: var(--efyron-border);
}

.efyron-login { background: var(--efyron-navy); }
.efyron-login .shell-header {
  padding: .5rem max(1.25rem, calc((100% - 1200px) / 2));
}
.identity-home {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  color: var(--efyron-white);
  font-weight: 620;
}
.efyron-login .shell-header nav a {
  justify-content: center;
  min-width: 44px;
  border: 1px solid var(--efyron-border);
  border-radius: 12px;
  text-decoration: none;
}
.efyron-login .identity-entry {
  isolation: isolate;
  position: relative;
  min-height: min(708px, 85vh);
  padding: clamp(2.4rem, 5vw, 5.2rem) max(1.25rem, calc((100% - 1200px) / 2));
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(2rem, 6vw, 6rem);
  background:
    linear-gradient(90deg, #04111ef7 0%, #04111edb 33%, #04111e40 71%, #04111ec9 100%),
    linear-gradient(0deg, #04111e, transparent 40%),
    url('../site/hospital-corridor.webp') center / cover no-repeat;
  color: var(--efyron-white);
}
.efyron-login .identity-entry::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(95px, 14vw, 205px);
  background: url('light-wave.webp') center bottom / cover no-repeat;
  opacity: .43;
  pointer-events: none;
}
.efyron-login .identity-intro {
  position: relative;
  max-width: 38rem;
}
.identity-logo {
  display: block;
  width: min(100%, 366px);
  height: auto;
  border-radius: 10px;
  margin-bottom: clamp(1.15rem, 3.8vw, 2.85rem);
}
.identity-descriptor,
.identity-tagline {
  color: var(--efyron-muted);
  font-size: .73rem;
  font-weight: 720;
  line-height: 1.5;
  letter-spacing: .16em;
}
.efyron-login .identity-headline {
  margin: .65rem 0 1.25rem;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.047em;
}
.efyron-login .identity-headline strong { color: var(--efyron-teal); font-weight: inherit; }
.efyron-login .identity-headline + p {
  max-width: 31rem;
  color: var(--efyron-white);
}
.identity-tagline {
  padding-top: 1.35rem;
  border-top: 1px solid var(--efyron-border);
  margin: 1.5rem 0 0;
}
.identity-pulse {
  position: absolute;
  z-index: -1;
  inset: auto auto .9rem 0;
  width: clamp(160px, 25vw, 360px);
  height: 32px;
  color: var(--efyron-teal);
  filter: drop-shadow(0 0 9px currentColor);
  opacity: .72;
  pointer-events: none;
}
.identity-pulse::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  clip-path: polygon(0 57%, 18% 57%, 22% 38%, 27% 68%, 31% 9%, 36% 87%, 41% 41%, 45% 57%, 100% 57%, 100% 63%, 44% 63%, 41% 52%, 36% 99%, 31% 24%, 27% 79%, 22% 49%, 18% 63%, 0 63%);
  animation: efyron-pulse 4.5s ease-in-out infinite;
}
@keyframes efyron-pulse {
  0%, 77%, 100% { opacity: .48; }
  87% { opacity: 1; }
  93% { opacity: .69; }
}
.efyron-login .identity-card {
  position: relative;
  color: var(--efyron-white);
  background: linear-gradient(144deg, #163846eb, #071b2aef 87%);
  border: 1px solid #6f9ba9;
  border-radius: calc(var(--efyron-radius) + 10px);
  box-shadow: inset 0 1px 14px #9ae3ee24, 0 24px 70px #0008, 0 0 30px #00d9d41c;
  padding: clamp(1.45rem, 3vw, 2.5rem);
}
.efyron-login .identity-card h1 {
  font-size: clamp(1.65rem, 3vw, 2.38rem);
  letter-spacing: -.037em;
  margin-bottom: 1.2rem;
}
.efyron-login .identity-card input:not([type=hidden]) {
  min-height: 48px;
  background: #04111ece;
  border-color: #83a7b3;
  color: var(--efyron-white);
}
.efyron-login .identity-card button {
  min-height: 48px;
  background: var(--efyron-teal);
  border-color: var(--efyron-teal);
  color: var(--efyron-navy);
  transition: background-color .18s ease;
}
.efyron-login .identity-card button:hover { background-color: #82f2ee; }
.efyron-login .identity-entry :focus-visible { outline-color: #9af4ed; }
.efyron-login .identity-card .synthetic-label { color: var(--efyron-muted); }
.efyron-login .shell-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: 1.25rem max(1.25rem, calc((100% - 1200px) / 2));
}
.identity-family { line-height: 1.45; }
.identity-family small {
  display: block;
  color: var(--efyron-muted);
  font-size: .66rem;
  letter-spacing: .06em;
}
@media (max-width: 840px) {
  .efyron-login .identity-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
    padding: 2rem 1rem 2.9rem;
    background:
      linear-gradient(116deg, #04111ef4, #04111eb9 65%, #04111ef0),
      url('../site/hospital-corridor-compact.webp') center top / cover no-repeat;
  }
  .efyron-login .identity-intro,
  .efyron-login .identity-card { width: min(100%, 530px); }
  .identity-logo { width: min(100%, 260px); }
}
@media (max-width: 520px) {
  .efyron-login .identity-headline { font-size: clamp(1.85rem, 7.3vw, 2.35rem); }
  .efyron-login .identity-headline + p { font-size: .94rem; }
  .efyron-login .shell-footer { align-items: flex-start; flex-direction: column; }
  .identity-pulse { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .identity-pulse::before { animation: none; }
  .efyron-login .identity-card button { transition: none; }
}
