/* Foundation, shared controls, and desktop layout primitives */

:root {
      --mobile-bottom-nav-offset: calc(5.35rem + env(safe-area-inset-bottom, 0px));
}
body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-weight: 400;
      min-height: 100vh;
      min-height: 100dvh;
}
#mainScroll {
      height: 100vh;
      height: 100dvh;
      min-height: 100vh;
      min-height: 100dvh;
}
body.modal-open {
      position: fixed;
      inset: 0;
      width: 100%;
      overflow: hidden;
}

.progress-fill {
      box-shadow: 0 0 10px rgba(2,176,117,0.18);
}
.brand-soft-button {
      border: 1px solid #bbf7d0;
      background: #ecfdf5;
      color: #047857;
      transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.brand-soft-button:hover {
      border-color: #86efac;
      background: #dcfce7;
}
.brand-soft-button:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.brand-primary-button {
      border: 1px solid transparent;
      background: #059669;
      color: #ffffff;
      box-shadow: 0 14px 30px rgba(5, 150, 105, 0.18);
      transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.brand-primary-button:hover {
      filter: brightness(0.98);
      box-shadow: 0 16px 34px rgba(5, 150, 105, 0.24);
}
.brand-primary-button:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22), 0 16px 34px rgba(5, 150, 105, 0.24);
}
.brand-progress-gradient {
      background: #10b981;
}
.journey-update-success {
      background: #ffffff;
}
.journey-update-success-image {
      display: block;
}
.journey-update-success-pill {
      border: 1px solid #e2e8f0;
      background: #ffffff;
      min-height: 3rem;
      box-shadow: none;
}
.journey-update-success-pill-icon {
      background: #ecfdf5;
      color: #10b981;
}
.journey-update-success-primary {
      background: #10b981;
      box-shadow: none;
      transition: background-color 160ms ease, filter 160ms ease;
}
.journey-update-success-primary:hover {
      background: #059669;
      filter: none;
}
.journey-update-success-primary:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.journey-update-success-secondary {
      box-shadow: none;
      transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.journey-update-success-secondary:hover {
      background: #f8fafc;
}
.journey-update-success-secondary:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}
.setup-tracker-card {
      border-color: #dbe7df;
      background: #ffffff;
}
.stage-pill {
      border: 1px solid #86efac;
      background-color: #ecfdf5;
      color: #166534;
}
.journey-open-indicator {
      border: 1px solid #cbd5e1;
      background-color: #f8fafc;
      color: #64748b;
}
.applicant-card-bottom-content {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(8.4rem, auto);
      align-items: center;
      gap: 0.65rem;
      min-width: 0;
      flex: 1 1 auto;
}
.applicant-card-bottom-content-compact {
      grid-template-columns: minmax(0, 1fr) auto;
}
.applicant-card-bottom-content-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 0.35rem;
}
.applicant-card-office-list {
      display: grid;
      min-width: 0;
      gap: 0.18rem;
}
.applicant-card-office-item {
      display: inline-flex;
      min-width: 0;
      max-width: 100%;
      align-items: center;
      gap: 0.2rem;
      color: #475569;
      font-size: 0.68rem;
      font-weight: 600;
      line-height: 1.1;
}
.applicant-card-office-item .material-symbols-rounded {
      flex: 0 0 auto;
      color: #94a3b8;
      font-size: 0.8rem;
      line-height: 1;
}
.applicant-card-office-item span:last-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}
.applicant-card-metrics {
      display: flex;
      align-items: end;
      gap: 0.5rem;
      margin-top: 0;
      min-width: 0;
}
.applicant-card-metrics-tight {
      gap: 0.25rem;
}
.applicant-card-metric {
      min-width: 0;
      width: fit-content;
      max-width: 6.4rem;
      border: 1px solid #e2e8f0;
      border-radius: 0.45rem;
      background-color: #fff;
      padding: 0.22rem 0.32rem;
}
.applicant-card-metric-label {
      overflow: hidden;
      color: #64748b;
      font-size: 0.58rem;
      font-weight: 700;
      line-height: 1;
      text-overflow: ellipsis;
      white-space: nowrap;
}
.applicant-card-profile-bar-row {
      display: grid;
      grid-template-columns: minmax(2rem, 1fr) auto;
      align-items: center;
      gap: 0.28rem;
      margin-top: 0.25rem;
}
.applicant-card-profile-bar-row strong {
      color: #0f172a;
      font-size: 0.62rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
}
.applicant-card-profile-bar {
      height: 0.28rem;
      overflow: hidden;
      border-radius: 9999px;
      background-color: #e2e8f0;
}
.applicant-card-profile-bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background-color: #10b981;
}
.applicant-card-speed-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.18rem;
      min-width: 5.75rem;
      border: 1px solid transparent;
      border-radius: 0.45rem;
      padding: 0.2rem 0.34rem;
      font-size: 0.6rem;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
}
.applicant-card-speed-pill.is-fast {
      border-color: #bbf7d0;
      background-color: #ecfdf5;
      color: #166534;
}
.applicant-card-speed-pill.is-typical {
      border-color: #cbd5e1;
      background-color: #f8fafc;
      color: #334155;
}
.applicant-card-speed-pill.is-slow {
      border-color: #fde68a;
      background-color: #fffbeb;
      color: #92400e;
}
.applicant-card-speed-pill.is-unavailable {
      border-color: #e2e8f0;
      background-color: #f8fafc;
      color: #94a3b8;
}
.applicant-card-speed-pill.is-complete {
      border-color: #bfdbfe;
      background-color: #eff6ff;
      color: #1d4ed8;
}
.applicant-stage-sparkle {
      position: absolute;
      color: #f59e0b;
      font-size: 0.55rem;
      line-height: 1;
      opacity: 0.45;
      animation: applicant-sparkle-twinkle 2.8s ease-in-out infinite;
      pointer-events: none;
}
.applicant-wide-stage-card.is-celebration {
      position: relative;
      overflow: visible;
}
.applicant-stage-sparkle-one {
      top: -0.2rem;
      left: 0.35rem;
}
.applicant-stage-sparkle-two {
      right: 0.42rem;
      bottom: -0.18rem;
      animation-delay: 1.1s;
}
@keyframes applicant-sparkle-twinkle {
      0%, 100% {
        opacity: 0.18;
        transform: scale(0.88);
      }
      50% {
        opacity: 0.62;
        transform: scale(1.08);
      }
}
.applicant-card-speed-icon {
      color: currentColor;
      font-size: 0.72rem;
      font-weight: 400;
      line-height: 1;
      font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
}
.prediction-chip {
      border: 1px solid #6ee7b7;
      background-color: #ecfdf5;
      color: #065f46;
}
.prediction-chip .material-symbols-rounded {
      color: #059669;
}
.journey-prediction-badge {
      line-height: 1;
      padding: 0.125rem 0.375rem;
      font-size: 9px;
      letter-spacing: 0.04em;
}
.journey-prediction-label {
      min-width: 0;
}
.desktop-top-nav {
      border-radius: 1rem;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.04);
}
.desktop-top-nav-link {
      position: relative;
      border-radius: 0.75rem;
      transition: color 160ms ease, background-color 160ms ease;
}
.desktop-top-nav-link:hover {
      color: #0f172a;
      background-color: #f8fafc;
}
.app-route-active.desktop-top-nav-link {
      color: #16a34a !important;
      background-color: transparent !important;
}
.app-route-active.desktop-top-nav-link::after {
      content: "";
      position: absolute;
      left: 0.85rem;
      right: 0.85rem;
      bottom: -0.42rem;
      height: 2.5px;
      border-radius: 9999px;
      background: #22c55e;
}
.mobile-route-active {
      background-color: #ecfdf5;
      color: #047857;
}
.ui-section-heading {
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.01em;
      color: #0f172a;
}
.desktop-panel {
      border: 1px solid #e2e8f0;
      background: #ffffff;
      border-radius: 1.25rem;
      padding: 1.25rem;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.desktop-eyebrow {
      font-size: 0.72rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #94a3b8;
}
.desktop-page-title {
      font-size: 1.7rem;
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: #020617;
}
.desktop-panel-title {
      font-size: 1.2rem;
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: #020617;
}
.desktop-panel-copy {
      font-size: 0.95rem;
      line-height: 1.65;
      color: #475569;
}
.desktop-stat-label {
      font-size: 0.72rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #94a3b8;
}
.desktop-metric-value {
      font-size: 1.125rem;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: #020617;
}
.desktop-split-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
      align-items: start;
}
.desktop-main-col,
.desktop-side-col {
      min-width: 0;
      align-self: start;
}
.desktop-stack {
      display: grid;
      gap: 0.75rem;
      align-items: start;
}
.home-desktop-shell {
      grid-template-columns: minmax(0, 1fr);
      align-items: start;
}
.home-desktop-right-grid {
      display: grid;
      gap: 1.25rem;
      min-width: 0;
      align-self: start;
}
.home-desktop-speed-span {
      min-width: 0;
}
.home-desktop-column {
      min-width: 0;
      align-self: start;
}
.home-desktop-speed-row {
      grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
      align-items: start;
}
.office-trend-heading {
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.1;
}
.office-trend-card {
      border: 1px solid #dbe4f0;
      border-radius: 1rem;
      background: #ffffff;
      padding: 0.72rem;
}
.office-trend-card-empty {
      text-align: left;
      transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.office-trend-card-empty:hover {
      border-color: #bae6fd;
      background: #f8fdff;
      transform: translateY(-1px);
}
.office-trend-card-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      gap: 0.5rem;
}
.office-trend-card-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      border-radius: 9999px;
      border: 1px solid #dbe4f0;
      flex-shrink: 0;
}
.office-trend-card-title {
      font-size: 0.62rem;
      font-weight: 600;
      line-height: 1.15;
      color: #0f172a;
}
.office-trend-card-subtitle {
      margin-top: 0.2rem;
      font-size: 0.75rem;
      line-height: 1.45;
      color: #64748b;
}
.office-trend-card-head .rounded-full {
      justify-self: start;
      margin-top: 0.18rem;
      padding: 0.18rem 0.48rem;
      font-size: 0.52rem;
      line-height: 1;
}
.office-trend-big {
      margin-top: 0.62rem;
      font-size: 1.4rem;
      font-weight: 700;
      line-height: 0.95;
      letter-spacing: -0.06em;
}
.office-trend-big-muted {
      color: #94a3b8;
}
.office-trend-big-unit {
      font-size: 0.44em;
      font-weight: 700;
      letter-spacing: -0.03em;
}
.office-trend-note {
      margin-top: 0.6rem;
      display: flex;
      align-items: center;
      gap: 0.35rem;
      border: 1px solid #dbe4f0;
      border-radius: 0.65rem;
      padding: 0.46rem 0.5rem;
      font-size: 0.56rem;
      font-weight: 600;
      line-height: 1.25;
}
.office-trend-meta {
      margin-top: 0.55rem;
      display: flex;
      align-items: center;
      gap: 0.35rem;
      padding-top: 0.55rem;
      border-top: 1px solid #e2e8f0;
      font-size: 0.58rem;
      font-weight: 500;
      color: #475569;
}
.office-trend-summary {
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;
      border: 1px solid #dbe4f0;
      border-radius: 0.9rem;
      padding: 0.85rem 0.95rem;
}
.office-trend-summary-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.6rem;
      height: 2.6rem;
      border-radius: 9999px;
      border: 1px solid #dbe4f0;
      flex-shrink: 0;
}
.office-trend-summary-title {
      font-size: 0.82rem;
      font-weight: 600;
      line-height: 1.35;
      color: #0f172a;
}
.office-trend-summary-copy {
      margin-top: 0.18rem;
      font-size: 0.76rem;
      line-height: 1.5;
      color: #475569;
}
.applicant-home-card {
      background: #ffffff;
}
.applicant-home-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
}
.applicant-home-card-title {
      font-size: 0.98rem;
      font-weight: 600;
      line-height: 1.25;
}
.applicant-home-edit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.15rem;
      height: 2.15rem;
      border-radius: 9999px;
      border: 1px solid #dbe4f0;
      background: #ffffff;
      color: #475569;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.applicant-home-grid {
      display: grid;
      gap: 1rem;
      margin-top: 0.75rem;
}
.applicant-home-grid-tight {
      margin-top: 0.35rem;
}
.applicant-home-column {
      min-width: 0;
}
.applicant-home-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.8rem;
      padding: 0.78rem 0.1rem;
      border-bottom: 1px solid #e2e8f0;
}
.applicant-home-row:last-child {
      border-bottom: 0;
}
.applicant-home-label-wrap {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      min-width: 0;
}
.applicant-home-row-icon {
      font-size: 1.1rem;
      line-height: 1;
      color: #475569;
}
.applicant-home-label {
      font-size: 0.8rem;
      font-weight: 500;
      line-height: 1.3;
      color: #64748b;
}
.applicant-home-value {
      font-size: 0.82rem;
      font-weight: 500;
      line-height: 1.3;
      color: #475569;
      text-align: right;
}
.desktop-sticky-summary {
      align-self: start;
}
@media (min-width: 1024px) {
      .home-desktop-shell {
        grid-template-columns: minmax(0, 1.92fr) minmax(0, 1.08fr);
      }
      .home-desktop-right-grid {
        grid-template-columns: minmax(0, 0.94fr) minmax(19rem, 0.88fr);
      }
      .home-desktop-speed-span {
        grid-column: 1 / -1;
      }
      .applicant-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
      }
      .desktop-panel {
        padding: 1.5rem;
      }
      .desktop-page-title {
        font-size: 1.9rem;
      }
      .desktop-split-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
      }
      .desktop-main-col {
        grid-column: span 7 / span 7;
      }
      .desktop-side-col {
        grid-column: span 5 / span 5;
      }
      .desktop-sticky-summary {
        position: sticky;
        top: 6rem;
      }
      #accountButton,
      #insightsFilterBtn,
      #updatesFilterBtn,
      #applicantDetailContent .rounded-\[1\.5rem\],
      #homeMyApplicationContent .rounded-\[1\.5rem\] {
        border-radius: 0.9rem !important;
      }
      #desktopNav,
      #applicantsPickerSheet,
      #newApplicantModal,
      #chooseProfileModal,
      #applicantDetailContent .rounded-3xl {
        border-radius: 1.25rem !important;
      }
}
@media (min-width: 1536px) {
      .office-trend-card-head {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
      }
      .office-trend-card-head .rounded-full {
        justify-self: end;
        margin-top: 0;
      }
      .office-trend-card-title {
        font-size: 0.68rem;
      }
      .office-trend-big {
        font-size: 1.55rem;
      }
      .office-trend-note,
      .office-trend-meta {
        font-size: 0.6rem;
      }
}

/* Wizard, profile, picker, and shared modal form styles */

.ui-segmented-control {
      display: inline-flex;
      align-items: center;
      gap: 0.15rem;
      border: 1px solid #cbd5e1;
      background-color: #f1f5f9;
      border-radius: 9999px;
      padding: 0.25rem;
}
.ui-segmented-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.25rem;
      border: 1px solid transparent;
      border-radius: 9999px;
      color: #64748b;
      font-weight: 600;
      line-height: 1.2;
      transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.ui-segmented-button:hover {
      color: #334155;
}
.ui-segmented-button.is-active {
      border-color: #e2e8f0;
      background-color: #ffffff;
      color: #0f172a;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.ui-segmented-button:focus-visible {
      outline: 2px solid rgba(16, 185, 129, 0.32);
      outline-offset: 2px;
}
.new-applicant-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      min-height: 0;
      flex: 1 1 auto;
}
.new-applicant-progress-bar {
      width: 8%;
      transition: width 180ms ease;
}
.new-applicant-wizard-stage {
      display: block;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      min-height: min(30rem, calc(100dvh - 17rem));
      padding-bottom: 0.75rem;
}
.new-applicant-step-card {
      display: grid;
      gap: 1.1rem;
      min-height: fit-content;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      align-content: start;
      border: 1px solid #e2e8f0;
      border-radius: 1.75rem;
      background: #ffffff;
      padding: 1.15rem;
      box-shadow: 0 20px 38px rgba(15, 23, 42, 0.06);
}
.new-applicant-step-meta {
      display: grid;
      gap: 0.45rem;
}
.new-applicant-step-eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 0.4rem;
      border-radius: 9999px;
      background: #ecfdf5;
      color: #0f766e;
      padding: 0.45rem 0.7rem;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
}
.new-applicant-step-title {
      font-size: clamp(1.65rem, 3.2vw, 2.35rem);
      line-height: 1;
      letter-spacing: -0.05em;
      font-weight: 800;
      color: #020617;
}
.new-applicant-step-copy {
      max-width: 38rem;
      font-size: 0.95rem;
      line-height: 1.6;
      color: #475569;
}
.new-applicant-step-highlight {
      border-radius: 1.2rem;
      border: 1px solid #d1fae5;
      background: #f0fdf4;
      color: #0f172a;
      padding: 0.95rem 1rem;
      font-size: 0.85rem;
      font-weight: 600;
      line-height: 1.5;
}
.new-applicant-step-content {
      display: grid;
      gap: 0.95rem;
      min-width: 0;
}
.new-applicant-consent {
      display: grid;
      gap: 0.8rem;
      min-width: 0;
      border: 1px solid #cfe9df;
      border-radius: 1.35rem;
      background: linear-gradient(180deg, #ffffff 0%, #f6fcf8 100%);
      padding: 0.9rem;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.new-applicant-consent__title {
      margin: 0;
      min-width: 0;
      font-size: 0.98rem;
      font-weight: 800;
      line-height: 1.2;
      color: #0f172a;
}
.new-applicant-consent__body {
      display: grid;
      gap: 0.7rem;
      min-width: 0;
      font-size: 0.84rem;
      line-height: 1.55;
      color: #475569;
}
.new-applicant-consent__body p {
      margin: 0;
}
.new-applicant-consent__checkbox {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 0.7rem;
      align-items: start;
      min-width: 0;
      border-radius: 1rem;
      border: 1px solid #e2e8f0;
      background: rgba(255, 255, 255, 0.92);
      padding: 0.8rem 0.85rem;
      font-size: 0.82rem;
      font-weight: 600;
      line-height: 1.5;
      color: #1f2937;
      box-sizing: border-box;
}
.new-applicant-consent__checkbox input {
      margin-top: 0.2rem;
      height: 1rem;
      width: 1rem;
      accent-color: #0f766e;
      flex-shrink: 0;
}
.new-applicant-consent__checkbox span {
      min-width: 0;
      overflow-wrap: anywhere;
}
.new-applicant-consent__link {
      color: #0f766e;
      text-decoration: underline;
      text-underline-offset: 0.14em;
}
.new-applicant-consent__link:hover {
      color: #115e59;
}
@media (min-width: 640px) {
      .new-applicant-consent {
        gap: 0.9rem;
        padding: 1rem;
      }
      .new-applicant-consent__title {
        font-size: 1rem;
      }
      .new-applicant-consent__body {
        font-size: 0.9rem;
        line-height: 1.6;
      }
      .new-applicant-consent__checkbox {
        padding: 0.9rem 0.95rem;
        font-size: 0.88rem;
      }
}
.new-applicant-input-shell {
      display: grid;
      gap: 0.6rem;
      position: relative;
}
.new-applicant-country-field {
      position: relative;
}
.new-applicant-country-select {
      position: relative;
}
.new-applicant-country-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      border: 1px solid #dbe4ee;
      background: #f8fafc;
      border-radius: 1rem;
      padding: 0.95rem 1rem;
      text-align: left;
      transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.new-applicant-country-trigger:hover {
      border-color: #cbd5e1;
      background: #ffffff;
}
.new-applicant-country-trigger:focus {
      outline: none;
      border-color: #7dd3fc;
      background: #ffffff;
      box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.2);
}
.new-applicant-country-trigger-label {
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 1rem;
      line-height: 1.3;
      color: #0f172a;
}
.new-applicant-country-trigger-label.is-placeholder {
      color: #94a3b8;
}
.profile-details-picker-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      border: 1px solid #e2e8f0;
      background: #ffffff;
      border-radius: 0.75rem;
      padding: 0.5rem 0.75rem;
      min-height: 2.625rem;
      text-align: left;
      transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.profile-details-picker-trigger:hover {
      border-color: #cbd5e1;
}
.profile-details-picker-trigger:focus {
      outline: none;
      border-color: #7dd3fc;
      box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.2);
}
.profile-details-picker-label {
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 1rem;
      line-height: 1.5;
      color: #0f172a;
}
.profile-details-picker-label.is-placeholder {
      color: #94a3b8;
}
.new-applicant-country-caret {
      margin-left: auto;
      color: #94a3b8;
      font-size: 1.15rem;
      line-height: 1;
      transition: transform 140ms ease;
}
.new-applicant-grid {
      display: grid;
      gap: 0.85rem;
}
.new-applicant-field {
      display: block;
      position: relative;
}
.new-applicant-label {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.82rem;
      font-weight: 600;
      line-height: 1.2;
      color: #334155;
}
.new-applicant-label-icon {
      font-size: 1rem;
      line-height: 1;
      color: #94a3b8;
}
.new-applicant-hint {
      display: block;
      margin-top: 0.45rem;
      font-size: 0.73rem;
      line-height: 1.4;
      color: #94a3b8;
}
.new-applicant-input {
      width: 100%;
      margin-top: 0.65rem;
      border: 1px solid #dbe4ee;
      background: #f8fafc;
      border-radius: 1rem;
      padding: 0.85rem 0.95rem;
      font-size: 1rem;
      line-height: 1.3;
      color: #0f172a;
      transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.new-applicant-input:hover {
      border-color: #cbd5e1;
      background: #ffffff;
}
.new-applicant-input:focus {
      outline: none;
      border-color: #7dd3fc;
      background: #ffffff;
      box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.2);
}
.new-applicant-score-input {
      text-align: center;
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      font-weight: 800;
      letter-spacing: -0.05em;
}
.new-applicant-chip-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
}
.new-applicant-chip {
      display: inline-flex;
      min-height: 3.4rem;
      align-items: center;
      justify-content: center;
      border: 1px solid #dbe4ee;
      border-radius: 1.25rem;
      background: rgba(255, 255, 255, 0.88);
      padding: 0.9rem 1rem;
      font-size: 0.95rem;
      font-weight: 700;
      line-height: 1.25;
      color: #0f172a;
      transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.new-applicant-chip:hover {
      border-color: #7dd3fc;
      background: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
}
.new-applicant-chip.is-selected {
      border-color: #6ee7b7;
      background: #ecfdf5;
      color: #047857;
      box-shadow: 0 12px 28px rgba(16, 185, 129, 0.14);
}
.new-applicant-date-panel {
      display: grid;
      gap: 0.95rem;
      padding: 0;
}
.new-applicant-date-label {
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #64748b;
}
.new-applicant-date-value {
      font-size: 1.1rem;
      font-weight: 800;
      color: #0f172a;
}
.new-applicant-date-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
}
.new-applicant-date-month {
      font-size: 0.9rem;
      font-weight: 800;
      color: #334155;
}
.new-applicant-date-weekdays {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      text-align: center;
      font-size: 0.68rem;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
}
.new-applicant-date-days {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 0.35rem;
}
.new-applicant-date-day {
      display: inline-flex;
      height: 2.5rem;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: 0.95rem;
      background: #f8fafc;
      font-size: 0.86rem;
      font-weight: 700;
      color: #334155;
}
.new-applicant-date-day.is-selected {
      background: #059669;
      color: #ffffff;
      box-shadow: 0 12px 28px rgba(5, 150, 105, 0.18);
}
.new-applicant-date-day.is-today {
      border-color: #67e8f9;
      color: #0f766e;
}
.new-applicant-date-day.is-outside {
      background: transparent;
      color: #cbd5e1;
}
.new-applicant-date-day.is-disabled {
      opacity: 0.38;
      cursor: not-allowed;
      pointer-events: none;
      box-shadow: none;
}
.new-applicant-date-clear {
      width: fit-content;
}
.new-applicant-helper-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      align-items: center;
}
.new-applicant-country-menu {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 0.4rem);
      z-index: 40;
      max-height: 14rem;
      overflow-y: auto;
      border: 1px solid #dbe4ee;
      border-radius: 1rem;
      background: #ffffff;
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
      padding: 0.35rem;
}
.new-applicant-country-search-wrap {
      position: sticky;
      top: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 0.55rem;
      margin-bottom: 0.35rem;
      border-radius: 0.8rem;
      border: 1px solid #e2e8f0;
      background: #ffffff;
      padding: 0.6rem 0.75rem;
}
.new-applicant-country-search-icon {
      color: #94a3b8;
      font-size: 1rem;
      line-height: 1;
}
.new-applicant-country-search-input {
      width: 100%;
      border: 0;
      background: transparent;
      padding: 0;
      font-size: 1rem;
      line-height: 1.3;
      color: #0f172a;
}
.new-applicant-country-search-input:focus {
      outline: none;
}
.new-applicant-country-search-input::placeholder {
      color: #94a3b8;
}
.new-applicant-country-options {
      display: grid;
      gap: 0.15rem;
}
.new-applicant-country-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      width: 100%;
      border: 0;
      background: transparent;
      border-radius: 0.8rem;
      padding: 0.7rem 0.8rem;
      text-align: left;
      font-size: 0.92rem;
      font-weight: 500;
      color: #0f172a;
      cursor: pointer;
}
.new-applicant-country-option-label {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}
.new-applicant-country-option-check {
      opacity: 0;
      color: #10b981;
      font-size: 1rem;
      line-height: 1;
}
.new-applicant-country-option:hover,
.new-applicant-country-option.is-active {
      background: #f8fafc;
}
.new-applicant-country-option.is-active {
      outline: 1px solid #bae6fd;
}
.new-applicant-country-option.is-selected .new-applicant-country-option-check {
      opacity: 1;
}
.new-applicant-country-empty {
      padding: 0.7rem 0.8rem;
      font-size: 0.82rem;
      color: #64748b;
}
.new-applicant-actions {
      position: sticky;
      bottom: 0;
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
      flex: 0 0 auto;
      gap: 0.75rem;
      margin-top: auto;
      padding: 1rem 0 calc(env(safe-area-inset-bottom, 0px) + 0.1rem);
      border-top: 1px solid rgba(226, 232, 240, 0.9);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 22%, #ffffff 100%);
}
#newApplicantModal,
#chooseProfileModal,
#profileDetailsModal,
#applicantDetailsModal {
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
      .new-applicant-step-card {
        min-height: auto;
      }
      .new-applicant-wizard-stage {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
      }
      #journeyUpdateModal {
        top: 48%;
      }
      .journey-update-success-pill {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
      }
}

/* Home route and mobile timeline presentation */

.landing-shell {
      width: 100%;
      max-width: 72rem;
      margin: 0 auto;
      padding: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(1.25rem, 3vw, 2.5rem);
}
.landing-hero {
      display: grid;
      gap: 1.25rem;
      align-items: center;
}
.landing-hero-copy {
      display: grid;
      gap: 0.9rem;
      text-align: center;
}
.landing-title {
      max-width: 13ch;
      margin: 0 auto;
      color: #0f172a;
      font-size: clamp(2rem, 6vw, 3.8rem);
      font-weight: 800;
      letter-spacing: -0.055em;
      line-height: 1.02;
}
.landing-description {
      max-width: 35rem;
      margin: 0 auto;
      color: #475569;
      font-size: clamp(0.95rem, 2.5vw, 1.1rem);
      font-weight: 500;
      line-height: 1.62;
}
.landing-hero-art {
      width: min(100%, 34rem);
      margin: 0 auto;
}
.landing-hero-art img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
}
.landing-actions {
      display: grid;
      gap: 0.75rem;
}
.landing-action {
      min-height: 3.25rem;
      padding: 0.75rem 1.15rem;
      font-size: 0.95rem;
}
.landing-action .material-symbols-rounded {
      font-size: 1.2rem;
}
.landing-trust-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.6rem;
      margin: 0;
      padding: 0;
      list-style: none;
}
.landing-trust-tags li {
      display: inline-flex;
      align-items: center;
      gap: 0.42rem;
      border-radius: 9999px;
      background: #f8fafc;
      color: #475569;
      padding: 0.45rem 0.68rem;
      font-size: 0.76rem;
      font-weight: 700;
      line-height: 1;
}
.landing-trust-tags .material-symbols-rounded {
      color: #059669;
      font-size: 1rem;
}
@media (max-width: 639px) {
      .landing-hero-art {
        order: -1;
      }
      .landing-title {
        max-width: none;
        white-space: nowrap;
        font-size: clamp(0.9rem, 4.4vw, 1.45rem);
      }
}
@media (min-width: 640px) {
      .landing-hero {
        grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
        column-gap: clamp(2rem, 5vw, 5rem);
        row-gap: 1rem;
        min-height: 25rem;
      }
      .landing-hero-copy {
        align-self: end;
        text-align: left;
      }
      .landing-title,
      .landing-description {
        margin-left: 0;
        margin-right: 0;
      }
      .landing-hero-art {
        grid-column: 2;
        grid-row: 1 / span 3;
        width: 100%;
      }
      .landing-actions {
        display: flex;
        flex-wrap: wrap;
      }
      .landing-action {
        min-width: 11.75rem;
      }
      .landing-trust-tags {
        justify-content: flex-start;
      }
}

.mobile-home-greeting {
      font-size: 1.25rem;
      line-height: 1.1;
      color: #0f172a;
      font-weight: 600;
}
.mobile-home-greeting strong {
      color: #0f172a;
      font-weight: 600;
}
.mobile-home-tag-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.65rem;
}
.mobile-home-tag {
      display: grid;
      grid-template-columns: 3rem minmax(0, 1fr);
      align-items: center;
      gap: 0.7rem;
      min-width: 0;
      border: 1px solid #e2e8f0;
      background: #fff;
      border-radius: 1.15rem;
      padding: 0.65rem 0.7rem;
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.mobile-home-tag-icon {
      display: inline-flex;
      height: 2.7rem;
      width: 2.7rem;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      border-radius: 1rem;
      border: 1px solid #bbf7d0;
      background: #ecfdf5;
      color: #047857;
}
.mobile-home-tag-copy {
      min-width: 0;
}
.mobile-home-tag-label {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #64748b;
}
.mobile-home-tag-detail {
      margin-top: 0.28rem;
      min-width: 0;
      font-size: 0.9rem;
      font-weight: 700;
      line-height: 1.2;
      color: #0f172a;
      word-break: break-word;
}
.mobile-home-section-title {
      font-size: 0.9rem;
      font-weight: 800;
      line-height: 1;
      color: #0f172a;
}
.mobile-home-timeline-block {
      display: grid;
      gap: clamp(0.35rem, 1.35vh, 0.65rem);
}
.mobile-home-progress-card {
      border: 1px solid #cfe9df;
      background: linear-gradient(180deg, #ffffff 0%, #f5fcf8 100%);
      border-radius: 0.75rem;
      padding: 0.9rem 0.9rem 0.85rem;
      box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.mobile-home-progress-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.8rem;
}
.mobile-home-progress-copy {
      min-width: 0;
      flex: 1;
}
.mobile-home-progress-title {
      font-size: 0.98rem;
      font-weight: 800;
      line-height: 1.15;
      color: #334155;
      letter-spacing: -0.02em;
}
.mobile-home-progress-subtitle {
      margin-top: 0.38rem;
      font-size: 0.8rem;
      font-weight: 500;
      line-height: 1.3;
      color: #64748b;
}
.mobile-home-progress-stat {
      flex-shrink: 0;
      text-align: right;
      line-height: 1;
}
.mobile-home-progress-value {
      font-size: 1.365rem;
      font-weight: 800;
      letter-spacing: -0.05em;
      color: #059669;
}
.mobile-home-progress-label {
      margin-top: 0.16rem;
      font-size: 0.72rem;
      font-weight: 600;
      color: #64748b;
}
.mobile-home-progress-track {
      margin-top: 0.8rem;
      height: 0.45rem;
      overflow: hidden;
      border-radius: 9999px;
      background: #d8efe6;
}
.mobile-home-progress-fill {
      height: 100%;
      border-radius: 9999px;
      background: linear-gradient(90deg, #19c99a 0%, #10b981 55%, #1fbf89 100%);
}
.mobile-home-progress-note {
      margin-top: 0.55rem;
      font-size: 0.72rem;
      font-weight: 600;
      line-height: 1.3;
      color: #475569;
}
.mobile-home-timeline {
      display: grid;
      gap: 0.4rem;
      min-height: 0;
}
.mobile-home-fab {
      position: fixed;
      right: 1rem;
      bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
      z-index: 30;
      box-shadow: 0 14px 30px rgba(16, 185, 129, 0.22), 0 8px 18px rgba(15, 23, 42, 0.12);
}
.mobile-home-timeline-stage {
      display: grid;
      gap: 0.2rem;
}
.mobile-home-timeline-connector {
      margin-left: 1.7rem;
      width: 2px;
      height: 0.75rem;
      border-radius: 9999px;
      background: #cbd5e1;
}
.mobile-home-timeline-tile {
      display: flex;
      min-height: 4.25rem;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
      position: relative;
      overflow: hidden;
      border-radius: 1rem;
      padding: 0.7rem 0.75rem;
}
.journey-current-tile {
      position: relative;
      overflow: hidden;
      box-shadow:
        inset 0 0 0 2px color-mix(in srgb, var(--journey-current-border, #3b82f6) 82%, white),
        0 0 0 4px color-mix(in srgb, var(--journey-current-glow, rgba(59, 130, 246, 0.42)) 30%, transparent),
        0 0 18px -6px var(--journey-current-glow, rgba(59, 130, 246, 0.42)),
        0 14px 30px -20px var(--journey-current-glow, rgba(59, 130, 246, 0.42));
}
@media (max-width: 639px) {
      #journeyHeaderApplicationType {
        gap: 0.3rem !important;
      }
      #journeyHeaderApplicationType > span {
        max-width: 160px;
        padding: 0.18rem 0.45rem;
        font-size: 0.58rem;
        line-height: 1.05;
        border-radius: 9999px;
      }
      #journeyHeaderName {
        font-size: 1rem;
      }
}
.mobile-home-timeline-icon {
      display: inline-flex;
      height: 2rem;
      width: 2rem;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.72);
}
.mobile-home-timeline-title {
      font-size: 0.82rem;
      font-weight: 600;
      line-height: 1.1;
      color: #0f172a;
}
.mobile-home-timeline-subtitle {
      margin-top: 0.18rem;
      font-size: 0.7rem;
      font-weight: 600;
      line-height: 1.2;
      color: #64748b;
}
.mobile-home-timeline-body {
      margin-top: 0.28rem;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      font-size: 0.72rem;
      font-weight: 600;
      line-height: 1.25;
      color: #475569;
}
.mobile-home-full-timeline {
      display: inline-flex;
      width: 100%;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      border-radius: 9999px;
      border: 1px solid #bbf7d0;
      background: #ecfdf5;
      padding: 0.55rem 0.75rem;
      font-size: 0.78rem;
      font-weight: 800;
      color: #047857;
}
.legal-page-shell {
      display: flex;
      justify-content: center;
      padding: 0.25rem 0 1.25rem;
}
.legal-page-card {
      width: 100%;
      max-width: 52rem;
      display: grid;
      gap: 1.1rem;
      border: 1px solid #e2e8f0;
      border-radius: 1.75rem;
      background: #ffffff;
      padding: clamp(1.2rem, 3vw, 2rem);
      box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}
.legal-page-eyebrow {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      border-radius: 9999px;
      background: #ecfdf5;
      color: #047857;
      padding: 0.35rem 0.7rem;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
}
.legal-page-heading {
      display: grid;
      gap: 0.42rem;
}
.legal-page-title {
      margin: 0;
      font-size: clamp(1.55rem, 3vw, 2.25rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
      color: #020617;
}
.legal-page-effective-date {
      margin: 0;
      color: #64748b;
      font-size: 0.82rem;
      font-weight: 700;
}
.legal-page-copy {
      margin: 0;
      font-size: 0.98rem;
      line-height: 1.65;
      color: #475569;
}
.legal-page-body {
      display: grid;
      gap: 1.25rem;
      font-size: 0.95rem;
      line-height: 1.7;
      color: #334155;
}
.legal-page-body p,
.legal-page-notice p {
      margin: 0;
}
.legal-page-section {
      display: grid;
      gap: 0.5rem;
}
.legal-page-section h3 {
      margin: 0;
      color: #0f172a;
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      line-height: 1.3;
}
.legal-page-body a {
      color: #047857;
      font-weight: 700;
      overflow-wrap: anywhere;
      text-decoration: underline;
      text-underline-offset: 0.14em;
}
.legal-page-body a:hover {
      color: #065f46;
}
.legal-page-notice {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      gap: 0.65rem;
      border: 1px solid #a7f3d0;
      border-radius: 1rem;
      background: #f0fdf4;
      color: #14532d;
      padding: 0.8rem 0.9rem;
      font-size: 0.9rem;
      font-weight: 600;
      line-height: 1.55;
}
.legal-page-notice .material-symbols-rounded {
      color: #059669;
      font-size: 1.2rem;
      line-height: 1.3;
}
.legal-page-link {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      border: 1px solid #bfdbfe;
      background: #eff6ff;
      color: #1d4ed8;
      padding: 0.75rem 1rem;
      font-size: 0.92rem;
      font-weight: 700;
      text-decoration: none;
}
.legal-page-link:hover {
      background: #dbeafe;
}
.site-footer {
      border-top: 1px solid #e2e8f0;
      background: #ffffff;
      color: #475569;
}
.site-footer__inner,
.site-footer__bottom {
      width: min(100% - 2rem, 80rem);
      margin: 0 auto;
}
.site-footer__inner {
      display: grid;
      gap: 1.5rem;
      padding: 1.7rem 0 1.4rem;
}
.site-footer__brand,
.site-footer__section {
      display: grid;
      gap: 0.48rem;
      align-content: start;
}
.site-footer__brand-link {
      display: inline-flex;
      width: fit-content;
      align-items: center;
}
.site-footer__logo {
      height: 1.9rem;
      width: auto;
      object-fit: contain;
}
.site-footer p {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1.55;
}
.site-footer__section h2 {
      margin: 0;
      color: #0f172a;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
}
.site-footer__links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem 1rem;
}
.site-footer a {
      color: #047857;
      font-size: 0.87rem;
      font-weight: 700;
      text-decoration: none;
}
.site-footer a:hover {
      color: #065f46;
      text-decoration: underline;
      text-underline-offset: 0.14em;
}
.site-footer__email {
      overflow-wrap: anywhere;
}
.site-footer__bottom {
      display: grid;
      gap: 0.3rem;
      border-top: 1px solid #f1f5f9;
      padding: 0.9rem 0 1rem;
      color: #64748b;
}
@media (min-width: 640px) {
      .site-footer__inner,
      .site-footer__bottom {
        width: min(100% - 3rem, 80rem);
      }
      .site-footer__inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(9rem, 0.75fr) minmax(13rem, 1fr);
        gap: 2rem;
        padding: 2rem 0 1.7rem;
      }
      .site-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
      }
}
@media (min-width: 1024px) {
      .site-footer__inner,
      .site-footer__bottom {
        width: min(100% - 4rem, 80rem);
      }
}
#journeyMilestones .journey-current-tile {
      box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--journey-current-border, #3b82f6) 68%, white 18%),
        0 0 0 1px color-mix(in srgb, var(--journey-current-glow, rgba(59, 130, 246, 0.42)) 14%, transparent),
        0 0 10px -8px var(--journey-current-glow, rgba(59, 130, 246, 0.42)),
        0 8px 18px -18px var(--journey-current-glow, rgba(59, 130, 246, 0.42));
}
@media (min-width: 640px) {
      body[data-route]:not([data-route="home"]) #appMain {
        padding-top: 0.875rem !important;
      }
}
@media (max-width: 639px) {
      #journeyOverlay {
        background-color: transparent !important;
      }
      body[data-route="applicantDetail"] #appMain {
        padding-top: 0 !important;
      }
}

/* Applicants route layout, cards, and updates list presentation */

body[data-route="applicants"] #applicantsDrawer {
      position: static !important;
      inset: auto !important;
      z-index: auto !important;
      height: auto !important;
      max-height: none !important;
      width: 100% !important;
      max-width: none !important;
      transform: none !important;
      border-radius: 0 !important;
      border: 0 !important;
      box-shadow: none !important;
}
body[data-route="applicants"] #closeApplicantsDrawer {
      display: none !important;
}
body[data-route="applicants"] #applicantsDrawerTitle,
body[data-route="applicants"] #applicantsDrawerSubtitle {
      display: none !important;
}
body[data-route="applicants"] #applicantsDrawerScroll {
      overflow: visible !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      padding-top: 0.5rem !important;
}
body[data-route="applicants"] #applicantsDrawer > div:first-child {
      border-bottom: 0 !important;
      padding: 0 !important;
}
body[data-route="applicants"] #applicantsControls {
      width: 100%;
}
body[data-route="applicants"] #applicantsControls > div {
      max-width: none !important;
}
body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] #applicantsPickerOptions {
      max-height: none !important;
}

@media (max-width: 639px) {
      body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] {
        border-radius: 0 !important;
        min-height: 100vh;
        min-height: 100dvh;
      }
      body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] #applicantsPickerHeader {
        position: sticky;
        top: 0;
        z-index: 1;
        margin: 0 -0.25rem 0.75rem;
        padding: 0 0.25rem 0.25rem;
        align-items: center;
        background: #fff;
      }
      body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] #applicantsPickerTitle {
        flex: 1 1 auto;
        padding: 0 !important;
        font-size: 1rem;
        line-height: 1.25;
      }
      body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] #applicantsPickerCloseIcon {
        margin-top: 0;
        height: 2rem;
        width: 2rem;
      }
      body[data-route="applicants"] #applicantsPickerSheet[data-picker-mode="aor"] #applicantsPickerOptions > div {
        grid-template-columns: minmax(0, 1fr) !important;
      }
}

@media (min-width: 1024px) {
      body[data-route="applicants"] #applicantsDrawerHeadingWrap {
        display: none !important;
      }
      body[data-route="applicants"] #applicantsDesktopShell {
        display: block !important;
      }
      body[data-route="applicants"] #applicantsAorGroups {
        display: none !important;
      }
      body[data-route="applicants"] #applicantsPageMount {
        min-height: 0;
        align-self: start;
        width: 100%;
      }
      body[data-route="applicants"] #applicantsDrawer {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 1.1rem !important;
      }
      body[data-route="applicants"] #applicantsDrawer > div:first-child {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1rem !important;
      }
      body[data-route="applicants"] #applicantsDrawerScroll {
        min-height: 0 !important;
        overflow: visible !important;
        background: white;
        border-bottom-left-radius: 1.1rem;
        border-bottom-right-radius: 1.1rem;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1rem !important;
      }
      body[data-route="applicants"] #applicantCards {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        margin-top: 0 !important;
        gap: 0.9rem !important;
      }
      body[data-route="applicants"] #applicantsDesktopActions {
        display: flex !important;
      }
      body[data-route="applicants"] #applicantsDesktopActions > button {
        height: 2.75rem;
        border-radius: 0.8rem;
        border-color: #dbe4f0;
        color: #334155;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      }
      body[data-route="applicants"] #applicantsDesktopActions > button .material-symbols-rounded {
        color: #64748b;
      }
      body[data-route="applicants"] #applicantsControls {
        gap: 0.8rem;
      }
      body[data-route="applicants"] #applicantsSearchWrap {
        max-width: none !important;
      }
      body[data-route="applicants"] #applicantsSearchWrap input {
        height: 3rem;
        border-radius: 0.9rem;
        border-color: #dbe4f0;
        padding-right: 7.5rem;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      }
      body[data-route="applicants"] #applicantsSearchWrap input::placeholder {
        color: #94a3b8;
      }
      body[data-route="applicants"] #applicantsResultsCount {
        font-size: 0.8rem;
        font-weight: 700;
        color: #10b981;
      }
      .applicant-wide-tile {
        border: 1px solid #e2e8f0;
        background: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      }
      .applicant-wide-top {
        display: grid;
        grid-template-columns: minmax(0, 1.34fr) minmax(7rem, 0.72fr) minmax(11rem, 1.12fr) minmax(5.2rem, 0.58fr) minmax(5.25rem, 0.5fr) auto auto;
        align-items: center;
        column-gap: 1rem;
      }
      .updates-wide-top {
        display: grid;
        grid-template-columns: minmax(0, 1.34fr) minmax(7rem, 0.72fr) minmax(11rem, 1.12fr) minmax(5.2rem, 0.58fr) minmax(5.25rem, 0.5fr) auto auto;
        align-items: center;
        column-gap: 1rem;
      }
      .updates-wide-tile .applicant-wide-stage-card {
        min-height: 4.1rem;
      }
      .updates-wide-time-pill {
        white-space: nowrap;
      }
      .applicant-wide-segment {
        min-width: 0;
      }
      .applicant-wide-divider {
        border-left: 1px solid #e2e8f0;
        padding-left: 1rem;
      }
      .applicant-wide-meta-label {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.68rem;
        font-weight: 600;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }
      .applicant-wide-meta-value {
        margin-top: 0.18rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #0f172a;
      }
      .applicant-wide-stage-card {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 0.75rem;
        border-radius: 0.95rem;
        border: 1px solid #bfdbfe;
        padding: 0.5rem 0.8rem;
      }
      .applicant-wide-stage-icon {
        display: inline-flex;
        height: 2rem;
        width: 2rem;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.7);
      }
      .applicant-wide-stage-label {
        color: #2563eb;
        line-height: 1.15;
      }
      .applicant-wide-stage-value {
        margin-top: 0.08rem;
      }
      .applicant-card-office-list {
        gap: 0.1rem;
      }
      .applicant-card-office-item {
        font-size: 0.62rem;
      }
      .applicant-wide-segment .applicant-card-metric {
        max-width: 4.8rem;
      }
      .applicant-wide-segment .applicant-card-speed-pill {
        padding: 0.18rem 0.32rem;
        font-size: 0.56rem;
      }
      .applicant-wide-name {
        min-width: 0;
      }
      .applicant-wide-avatar {
        display: inline-flex;
        height: 2.6rem;
        width: 2.6rem;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 9999px;
        border: 1px solid #dbe4f0;
        background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
      }
      .applicant-wide-avatar-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
      .applicant-wide-avatar-text {
        color: #2563eb;
      }
      .applicant-wide-avatar-fallback {
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: -0.03em;
      }
      .applicant-wide-footer {
        margin-top: 0.85rem;
        border-top: 1px solid #e2e8f0;
        padding-top: 0.85rem;
      }
      .applicant-wide-footer .prediction-chip {
        width: 100%;
        justify-content: flex-start;
      }
.applicant-wide-footer .prediction-chip span:last-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}
}

/* Insights and timing distribution visuals */

@media (min-width: 1024px) {
.insights-stage-card {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 1rem;
      border: 1px solid #dbe4f0;
      border-radius: 1.1rem;
      padding: 1rem 1.1rem;
      background: linear-gradient(180deg, #fbfeff 0%, #ffffff 100%);
      transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.insights-stage-card:hover {
      border-color: #bfdbfe;
      box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.insights-stage-card-icon {
      display: inline-flex;
      height: 3rem;
      width: 3rem;
      align-items: center;
      justify-content: center;
      border-radius: 0.95rem;
      background: #f0fdf4;
      color: #16a34a;
}
.insights-stage-card-to .insights-stage-card-icon {
      background: #eff6ff;
      color: #2563eb;
}
.insights-stage-card-label {
      font-size: 0.94rem;
      color: #64748b;
}
.insights-stage-card-value {
      margin-top: 0.15rem;
      width: 100%;
      border: 0;
      background: transparent;
      padding: 0;
      font-size: 0.4125rem;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.01em;
      color: #0f172a;
      appearance: none;
      -webkit-appearance: none;
      outline: none;
      cursor: pointer;
}
.insights-stage-card-select {
      margin-top: 0.15rem;
      width: 100%;
      border: 0;
      background-color: transparent;
      padding: 0;
      font-size: 1.32rem;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.01em;
      color: #0f172a;
      appearance: auto;
      -webkit-appearance: auto;
      outline: none;
      cursor: pointer;
}
.insights-stage-arrow-wrap {
      display: inline-flex;
      height: 3rem;
      width: 3rem;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      border: 1px solid #dbe4f0;
      background: #ffffff;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.insights-distribution-wrap {
      position: relative;
      padding-top: 1.6rem;
}
.insights-distribution-label {
      position: absolute;
      top: 0;
      transform: translateX(-50%);
      font-size: 0.82rem;
      font-weight: 600;
      white-space: nowrap;
}
.insights-distribution-label-fast { color: #16a34a; }
.insights-distribution-label-typical { color: #2563eb; }
.insights-distribution-label-slow { color: #f97316; }
.insights-distribution-rail {
      position: relative;
      height: 3px;
      border-radius: 9999px;
      background: #e2e8f0;
}
.insights-distribution-segment {
      position: absolute;
      top: 0;
      height: 3px;
      border-radius: 9999px;
}
.insights-distribution-fast { left: 0; background: #22c55e; }
.insights-distribution-typical { background: #3b82f6; }
.insights-distribution-slow { background: #fb923c; }
.insights-distribution-marker {
      position: absolute;
      top: 50%;
      width: 0.78rem;
      height: 0.78rem;
      border: 2px solid #ffffff;
      border-radius: 9999px;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.insights-distribution-min { background: #16a34a; }
.insights-distribution-median { background: #1e293b; }
.insights-distribution-p75 { background: #3b82f6; }
.insights-distribution-max { background: #f97316; }
.insights-distribution-stats {
      position: relative;
      height: 3rem;
      margin-top: 0.9rem;
}
.insights-distribution-stat {
      position: absolute;
      top: 0;
      transform: translateX(-50%);
      text-align: center;
}
.insights-distribution-stat-start {
      transform: translateX(0%);
      text-align: left;
}
.insights-distribution-stat-end {
      transform: translateX(-100%);
      text-align: right;
}
.insights-distribution-value {
      font-size: 1rem;
      font-weight: 700;
      color: #334155;
}
.insights-distribution-caption {
      margin-top: 0.1rem;
      font-size: 0.8rem;
      color: #94a3b8;
}
}

/* Cross-feature responsive overrides and small-screen tuning */

@media (min-width: 1024px) and (max-width: 1320px) {
      .applicant-wide-top {
        grid-template-columns: minmax(0, 1.12fr) minmax(6rem, 0.68fr) minmax(9.5rem, 1fr) minmax(4.7rem, 0.5fr) minmax(4.75rem, 0.46fr) auto auto;
        column-gap: 0.8rem;
      }
      .updates-wide-top {
        grid-template-columns: minmax(0, 1.12fr) minmax(6rem, 0.68fr) minmax(9.5rem, 1fr) minmax(4.7rem, 0.5fr) minmax(4.75rem, 0.46fr) auto auto;
        column-gap: 0.8rem;
      }
      .applicant-wide-divider {
        padding-left: 0.8rem;
      }
      .applicant-wide-meta-value {
        font-size: 0.84rem;
      }
      .applicant-wide-stage-card {
        gap: 0.62rem;
        padding: 0.44rem 0.62rem;
      }
      .applicant-wide-stage-icon {
        height: 1.78rem;
        width: 1.78rem;
      }
}
@media (min-width: 640px) {
      body[data-route]:not([data-route="home"]) #dashboardHeroHeader {
        display: flex !important;
      }
}
@media (max-width: 639px) {
      #newApplicantModal:not(.hidden) {
        inset: 0;
        top: 0;
        display: flex;
        flex-direction: column;
        max-height: 100dvh;
        height: 100dvh;
        overflow: hidden;
        border-radius: 0;
        border-width: 0;
        max-width: none;
        width: 100%;
      }
      #newApplicantModal:not(.hidden) .sticky {
        flex: 0 0 auto;
        padding-top: calc(env(safe-area-inset-top, 0px) + 0.9rem);
      }
      #newApplicantModal:not(.hidden) #newApplicantForm {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        overflow: hidden;
        padding-bottom: 0;
      }
      .new-applicant-wizard-stage {
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 0.25rem;
      }
      .new-applicant-step-card {
        min-height: 100%;
        padding: 1rem;
        border-radius: 1.2rem;
      }
      .new-applicant-step-eyebrow {
        padding: 0.34rem 0.54rem;
        font-size: 0.62rem;
      }
      .new-applicant-step-title {
        font-size: clamp(1rem, 4.4vw, 1.28rem);
        line-height: 1.12;
      }
      .new-applicant-step-copy {
        font-size: 0.75rem;
        line-height: 1.38;
      }
      .new-applicant-step-highlight {
        padding: 0.72rem 0.78rem;
        font-size: 0.71rem;
        line-height: 1.34;
      }
      .new-applicant-input {
        font-size: 1rem;
      }
      .new-applicant-score-input {
        font-size: clamp(1.08rem, 5vw, 1.4rem);
      }
      .new-applicant-chip {
        font-size: 0.76rem;
        line-height: 1.14;
      }
      .new-applicant-date-label {
        font-size: 0.64rem;
      }
      .new-applicant-date-value {
        font-size: 0.83rem;
      }
      .new-applicant-date-month {
        font-size: 0.68rem;
        line-height: 1.1;
      }
      .new-applicant-date-weekdays {
        font-size: 0.5rem;
      }
      .new-applicant-date-day {
        height: 1.8rem;
        border-radius: 0.65rem;
        font-size: 0.64rem;
      }
      .new-applicant-date-nav {
        gap: 0.4rem;
      }
      .new-applicant-date-nav > button {
        height: 2rem;
        width: 2rem;
      }
      .new-applicant-date-days {
        gap: 0.22rem;
      }
      .new-applicant-helper-row {
        gap: 0.4rem;
      }
      .new-applicant-helper-row button {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        font-size: 0.62rem;
      }
      body[data-route]:not([data-route="home"]) #dashboardHeroHeader {
        display: none !important;
      }
      .new-applicant-grid {
        gap: 1rem;
      }
      .new-applicant-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.45rem;
        padding-top: 0.85rem;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.65rem);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, #ffffff 24%);
      }
      .new-applicant-actions > * {
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        font-size: 0.74rem;
      }
      #newApplicantNext,
      #submitNewApplicant {
        order: 2;
        grid-column: 2;
      }
      #newApplicantBack {
        order: 1;
        grid-column: 1;
      }
      #cancelNewApplicant {
        display: none;
      }
      .new-applicant-country-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: calc(env(safe-area-inset-top, 0px) + 8.75rem);
        max-height: min(52dvh, 24rem);
        border-radius: 1.25rem;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
      }
      body[data-route="home"] header > div {
        padding-top: 0.55rem !important;
        padding-bottom: 0.55rem !important;
      }
      body[data-route="home"] #dashboardHeroHeader h1 img {
        height: 1.75rem !important;
        width: auto !important;
      }
      body[data-route="home"] #accountButtonMobile {
        height: 2rem !important;
        width: 2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }
      body[data-route="home"] #mainScroll {
        overflow-y: auto !important;
      }
      body[data-route="home"] #appMain {
        min-height: calc(100dvh - 3.35rem - var(--mobile-bottom-nav-offset));
        height: auto;
        overflow-y: auto !important;
        padding-top: 0.45rem !important;
        padding-bottom: var(--mobile-bottom-nav-offset) !important;
      }
      body[data-route="home"] #appMain:has(#mobileHomeApp) {
        --mobile-home-section-gap: 1rem;
        padding-top: var(--mobile-home-section-gap) !important;
      }
      body[data-route="home"] #homeMyApplicationSection,
      body[data-route="home"] #homeMyApplicationContent {
        height: auto;
        min-height: 100%;
      }
      body[data-route="home"] #appMain:has(.landing-shell) {
        min-height: 0;
        padding-bottom: 1.25rem !important;
      }
      body[data-route="home"] #homeMyApplicationSection:has(.landing-shell),
      body[data-route="home"] #homeMyApplicationContent:has(.landing-shell) {
        min-height: 0;
      }
#mobileHomeApp {
      display: flex;
      height: auto;
      min-height: 100%;
      flex-direction: column;
      gap: var(--mobile-home-section-gap, 1rem);
}
      body[data-route]:not([data-route="home"]) header {
        display: none !important;
      }
      body[data-route]:not([data-route="home"]) #appMain {
        padding-top: 0.75rem !important;
        padding-bottom: var(--mobile-bottom-nav-offset) !important;
      }
      .site-footer {
        padding-bottom: calc(var(--mobile-bottom-nav-offset) + 0.35rem);
      }
      body[data-route="applicantDetail"] #appMain {
        padding-top: 0 !important;
      }
      .journey-prediction-badge {
        padding: 0.125rem 0.3125rem;
        font-size: 8px;
        letter-spacing: 0.03em;
      }
      .journey-prediction-label {
        max-width: 100%;
        white-space: nowrap;
      }
}
@media (min-width: 640px) {
      .new-applicant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .new-applicant-input {
        font-size: 0.875rem;
      }
      .profile-details-picker-trigger {
        min-height: 2.375rem;
      }
      .profile-details-picker-label {
        font-size: 0.875rem;
      }
      .new-applicant-step-card {
        padding: 1.35rem;
      }
}
@media (max-width: 639px) and (max-height: 700px) {
      .mobile-home-tag {
        padding: 0.5rem 0.55rem;
      }
      .mobile-home-tag-icon {
        height: 1.75rem;
        width: 1.75rem;
      }
      .mobile-home-progress-card {
        padding: 0.8rem 0.8rem 0.72rem;
      }
      .mobile-home-progress-title {
        font-size: 0.93rem;
      }
      .mobile-home-progress-subtitle {
        font-size: 0.76rem;
      }
      .mobile-home-progress-value {
        font-size: 1.225rem;
      }
      .mobile-home-progress-track {
        height: 0.41rem;
        margin-top: 0.68rem;
      }
      .mobile-home-timeline-tile {
        min-height: 3.3rem;
        padding: 0.55rem 0.6rem;
      }
      .mobile-home-timeline-body {
        -webkit-line-clamp: 2;
      }
      .mobile-home-full-timeline {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
      }
}
