﻿.tpl-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tpl-color-primary {
  color: var(--mud-palette-primary);
}

.tpl-muted {
  color: var(--mud-palette-text-secondary);
}

.tpl-strong {
  font-weight: 600;
}

.tpl-pointer {
  cursor: pointer;
}

.tpl-page-center {
  min-height: 60vh;
  text-align: center;
}

.tpl-search {
  max-width: 320px;
}

.tpl-filter {
  max-width: 200px;
}

.tpl-dyn-color {
  color: var(--tpl-color);
}

.tpl-bar-fill {
  width: var(--tpl-bar-w, 0%);
  background: var(--mud-palette-primary);
}

.tpl-auth-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.tpl-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: radial-gradient(1100px 520px at 50% -12%, color-mix(in srgb, var(--mud-palette-primary) 16%, transparent), transparent 70%), radial-gradient(900px 500px at 100% 112%, color-mix(in srgb, var(--mud-palette-tertiary) 12%, transparent), transparent 70%), var(--mud-palette-background);
}

.tpl-landing-inner {
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.tpl-brand-hero {
  height: 60px;
  width: auto;
  max-width: 90vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.tpl-login-card {
  height: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--mud-palette-lines-default);
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tpl-login-card--active {
  border-color: color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
}

.tpl-login-card--active:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 42, 40, 0.18);
}

.tpl-login-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  background: color-mix(in srgb, var(--mud-palette-text-secondary) 14%, transparent);
}

.tpl-login-badge--active {
  background: color-mix(in srgb, var(--mud-palette-primary) 16%, transparent);
}

.tpl-login-desc {
  flex: 1 1 auto;
  min-height: 3rem;
}

.tpl-step-dot {
  min-width: 36px;
  width: 36px;
  padding: 0;
}

.tpl-signout-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 14px;
}
.tpl-signout-card .tpl-login-badge {
  margin-bottom: 1rem;
}

.tpl-signout-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tpl-report {
  max-width: 900px;
  margin: 0 auto;
}

.tpl-report-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2.5rem;
}

.tpl-report-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dotted var(--mud-palette-lines-default);
  padding: 0.15rem 0;
}

.tpl-report-letterhead {
  border-bottom: 2px solid var(--mud-palette-primary);
  padding-bottom: 0.75rem;
}

.tpl-report-footer {
  border-top: 1px solid var(--mud-palette-lines-default);
  padding-top: 0.75rem;
}

.tpl-prewrap {
  white-space: pre-wrap;
}

@media (max-width: 700px) {
  .tpl-report-meta {
    grid-template-columns: 1fr;
  }
}
@media print {
  .mud-appbar,
  .mud-drawer,
  .tpl-no-print {
    display: none !important;
  }
  .mud-main-content {
    margin: 0 !important;
    padding: 0 !important;
  }
  .tpl-report {
    max-width: none;
  }
}
.tpl-orders-hero {
  border-left: 4px solid var(--mud-palette-primary);
  background: linear-gradient(90deg, color-mix(in srgb, var(--mud-palette-primary) 10%, transparent), transparent 60%), var(--mud-palette-surface);
}

.tpl-portal-card {
  cursor: pointer;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tpl-portal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 42, 40, 0.16);
}

@media (max-width: 700px) {
  .mud-dialog {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }
  .mud-dialog .mud-dialog-content {
    max-height: none;
    overflow-y: auto;
  }
}
/* Order progress: the step line on an order page (Shared/OrderProgressPanel). */
.tpl-progress-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tpl-progress-step {
  flex: 1 1 120px;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 3px solid var(--mud-palette-lines-default);
  padding-top: 8px;
}

.tpl-progress-pending {
  opacity: 0.6;
}

/* The product's name is the CONNECTS logo (Layout/MainLayout). Its grey and orange read on both themes. */
.tpl-brand-logo {
  height: 20px;
  width: auto;
  display: block;
}

/* The lab's own logo beside the product's (Shared/LabLogo), at the standard height every lab's logo is made for:
   wide, at least 600 x 150 (the API's LabLogoStandard). Hidden on a phone, where the app bar has no room for both. */
.tpl-brand-divider {
  width: 1px;
  height: 28px;
  margin: 0 12px;
  background: var(--mud-palette-lines-default);
}

.tpl-lab-logo {
  height: 40px;
  width: auto;
  max-width: 240px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

@media (max-width: 599px) {
  .tpl-brand-divider,
  .tpl-lab-logo {
    display: none;
  }
}
/* A menu link with count badges (Layout/NavMenu): the label on the left, the badges against the right edge. */
.tpl-nav-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.tpl-nav-badges {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

/* The CONNECTS logo on the sign-in progress screen (Auth/AuthProgress), larger than in the app bar. */
.tpl-brand-logo-large {
  height: 40px;
  width: auto;
  max-width: 90vw;
  display: block;
}