body {
  color: var(--color-text-dark);
}

.lsr-login-page {
  background: #f1f5f9;
  color: #0f172a;
}

.lsr-login-shell {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 0.75rem;
}

.lsr-login-card {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.16);
}

.lsr-login-info-panel {
  order: 2;
  display: grid;
  min-width: 0;
  background: #1e293b;
}

.lsr-login-ship-image {
  position: relative;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-image: var(--lsr-login-ship-image);
  background-size: cover;
  background-position: center;
}

.lsr-login-ship-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.05), transparent 50%, rgba(2, 6, 23, 0.2));
}

.lsr-login-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 8rem;
  height: auto;
  margin: 1rem 0 0 1rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) brightness(0.3) contrast(0.7);
}

.lsr-login-info-content {
  padding: 1.5rem 1.25rem;
  color: #ffffff;
}

.lsr-login-info-inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.lsr-login-eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7dd3fc;
}

.lsr-login-title {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #f1f5f9;
}

.lsr-login-copy {
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #cbd5e1;
}

.lsr-login-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lsr-login-security-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
}

.lsr-login-security-item + .lsr-login-security-item {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lsr-login-feature-icon {
  color: #3da2ff;
}

.lsr-login-feature-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.lsr-login-security-item h2,
.lsr-login-security-item h5 {
  margin: 0;
  font-size: 9px;
  line-height: 1.18;
  font-weight: 700;
  color: #e2e8f0;
}

.lsr-login-form-panel {
  order: 1;
  min-width: 0;
  background: #ffffff;
  padding: 1.25rem 1rem;
}

.lsr-login-banner {
  width: 100%;
  max-width: 642px;
  margin: 0 auto;
  aspect-ratio: 642 / 261;
  background-image: var(--lsr-login-banner-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lsr-login-form-wrap {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.lsr-login-heading {
  text-align: center;
}

.lsr-login-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.lsr-login-heading p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #475569;
}

.lsr-login-error {
  max-width: 28rem;
  margin: 1rem auto 0;
  border: 1px solid #fecdd3;
  border-radius: 0.5rem;
  background: #fff1f2;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #be123c;
}

.lsr-login-notice {
  max-width: 28rem;
  margin: 1rem auto 0;
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  background: #f0f9ff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #075985;
}

.lsr-login-form {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 0 1.25rem;
}

.lsr-login-field + .lsr-login-field {
  margin-top: 1.25rem;
}

.lsr-login-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.lsr-login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.lsr-login-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.lsr-login-input-icon svg,
.lsr-login-password-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lsr-login-input-wrap input {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0.625rem 2.5rem 0.625rem 2.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #1e293b;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lsr-login-input-wrap input::placeholder {
  color: #94a3b8;
}

.lsr-login-input-wrap input:focus {
  border-color: #182f43;
  outline: none;
  box-shadow: 0 0 0 1px #182f43;
}

.lsr-login-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0;
  cursor: pointer;
}

.lsr-login-password-toggle:hover {
  color: #475569;
}

.lsr-login-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.875rem;
}

.lsr-login-options-center {
  justify-content: center;
}

.lsr-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.lsr-login-options input {
  width: 1rem;
  height: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  accent-color: #182f43;
}

.lsr-login-options a,
.lsr-login-terms a,
.lsr-login-policy-link {
  font-weight: 500;
  color: #0284c7;
  text-decoration: none;
}

.lsr-login-options a:hover,
.lsr-login-terms a:hover,
.lsr-login-policy-link:hover {
  color: #0369a1;
}

.lsr-login-policy-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.lsr-login-submit {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: #182f43;
  padding: 0.625rem 3rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.lsr-login-submit:hover {
  background: #142a3d;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

.lsr-login-submit:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #182f43;
}

.lsr-login-submit svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.lsr-login-submit:hover svg {
  transform: translate(2px, -50%);
}

.lsr-login-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lsr-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #e2e8f0;
}

.lsr-login-divider span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0 0.75rem;
}

.lsr-login-divider svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  color: #94a3b8;
}

.lsr-login-terms {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.lsr-login-terms > p {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #475569;
}

.lsr-login-terms a,
.lsr-login-policy-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lsr-login-terms span {
  color: #64748b;
}

.lsr-login-invite-note {
  display: flex;
  width: 100%;
  max-width: 36rem;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #7dd3fc;
  border-radius: 0.5rem;
  background: #f0f9ff;
  padding: 0.875rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.lsr-login-note-icon {
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: #0284c7;
}

.lsr-login-note-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lsr-login-invite-note p {
  margin: 0;
}

.lsr-login-invite-note p:first-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}

.lsr-login-invite-note p:last-child {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #475569;
}

@media (min-width: 390px) {
  .lsr-login-security-item h2,
  .lsr-login-security-item h5 {
    font-size: 10px;
  }
}

@media (min-width: 640px) {
  .lsr-login-shell {
    padding: 1.5rem 1.25rem;
  }

  .lsr-login-ship-image {
    min-height: 300px;
  }

  .lsr-login-logo {
    width: 10rem;
    margin-top: 1.5rem;
    margin-left: 1.5rem;
  }

  .lsr-login-info-content {
    padding: 2rem;
  }

  .lsr-login-feature-icon svg {
    width: 3rem;
    height: 3rem;
  }

  .lsr-login-security-grid {
    padding: 1rem;
  }

  .lsr-login-security-item {
    padding: 0.5rem 0.75rem;
  }

  .lsr-login-security-item h2,
  .lsr-login-security-item h5 {
    font-size: 11px;
  }

  .lsr-login-form-panel {
    padding: 1.75rem 1.5rem;
  }

  .lsr-login-heading h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .lsr-login-heading p {
    font-size: 1rem;
  }

  .lsr-login-form {
    padding: 1.25rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lsr-login-shell {
    padding: 2.5rem 1.5rem;
  }

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

  .lsr-login-info-panel {
    order: 1;
  }

  .lsr-login-form-panel {
    order: 2;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lsr-login-ship-image {
    aspect-ratio: auto;
    min-height: 400px;
  }
}

@media (min-width: 1280px) {
  .lsr-login-shell {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.appbar {
  position: sticky;
  top: 0;
  z-index: var(--z-appbar);
  border-bottom: 1px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.appbar-util {
  border-bottom: 1px solid var(--color-border-soft);
  background: rgba(233, 238, 245, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: max-height 180ms ease, opacity 180ms ease, border-color 180ms ease;
  max-height: 64px;
  opacity: 1;
  overflow: hidden;
}

.appbar-brand {
  background: #0b1d33;
  border-top: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: min-height 180ms ease;
}

.appbar-brand-title {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  line-height: 1.05;
  color: var(--color-footer-text);
  transition: font-size 180ms ease;
}

.appbar-brand-title-single {
  grid-template-rows: auto;
}

.appbar-brand-main {
  display: block;
  font-size: 1.02em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.appbar-brand-sub {
  display: block;
  font-size: 0.74em;
  letter-spacing: 0.08em;
  color: #b7c9df;
  white-space: nowrap;
}

.appbar-brand-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.62rem;
  border: 1px solid rgba(16, 55, 106, 0.75);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.28rem 0.4rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.appbar-brand-logo-frame:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(16, 55, 106, 0.92);
  box-shadow: 0 6px 14px rgba(2, 10, 20, 0.22);
}

.appbar-brand-logo {
  height: 2.85rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 1));
  transition: height 180ms ease, filter 180ms ease;
}

.appbar-brand-logo-frame:hover .appbar-brand-logo {
  filter: drop-shadow(0 0 10px rgba(170, 205, 244, 0.28));
}

.appbar-main-nav {
  border: 1px solid #314b6c;
  border-radius: 10px;
  background: #122b49;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.42rem 0.95rem;
  box-shadow: 0 8px 22px rgba(2, 10, 20, 0.28);
  max-width: 100%;
  overflow: visible;
  transition: max-width 220ms ease, opacity 180ms ease, transform 180ms ease, padding 220ms ease, margin 220ms ease, border-color 180ms ease;
}

.appbar-search-row {
  border-top: 1px solid rgba(217, 227, 240, 0.8);
  background: rgba(255, 255, 255, 0.74);
}

.appbar-right-zone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  transition: flex 220ms ease, width 220ms ease;
}

.appbar-actions {
  border: 1px solid var(--color-border-soft);
  border-radius: 999px;
  background: #fff;
  padding: 0.25rem 0.3rem 0.25rem 0.55rem;
}

.appbar-search {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: min(640px, 100%);
  max-width: 640px;
  border: 1px solid #3f5878;
  border-radius: 0.62rem;
  background: #163251;
  color: #d2e0f1;
  padding: 0.38rem 0.68rem;
  transition: width 220ms ease, max-width 220ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.appbar-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.82rem;
  color: #ecf3fc;
}

.appbar-search input::placeholder {
  color: #b2c3d8;
}

.appbar-brand.search-expanded .appbar-main-nav {
  max-width: 0;
  padding: 0;
  margin: 0;
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transform: translateX(-8px);
}

.appbar-brand.search-expanded .appbar-right-zone {
  flex: 1 1 auto;
  min-width: 0;
}

.appbar-brand.search-expanded .appbar-search {
  width: 100%;
  max-width: none;
}

.appbar-brand.search-expanded .appbar-actions {
  display: none;
}

.admin-dashboard-nav {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 1.1rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

#pending-approvals,
#pending-approvals-summary,
#service-path-selection {
  scroll-margin-top: 7rem;
}

.admin-dashboard-nav-groups {
  display: flex;
  min-width: 0;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.12rem;
  scrollbar-width: thin;
}

.admin-dashboard-nav-trigger,
.admin-dashboard-nav-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.2rem;
  flex: 0 0 auto;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  background: #f8fafc;
  padding: 0.42rem 0.72rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.admin-dashboard-nav-search-button {
  width: 2.65rem;
  padding-inline: 0;
}

.admin-dashboard-nav-trigger:hover,
.admin-dashboard-nav-trigger[aria-expanded="true"],
.admin-dashboard-nav-search-button:hover,
.admin-dashboard-nav-search-button[aria-expanded="true"] {
  border-color: #1d4ed8;
  background: #eff6ff;
  color: #1e3a8a;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
}

.admin-dashboard-nav-icon,
.admin-dashboard-nav-search-icon {
  width: 0.92rem;
  height: 0.92rem;
  flex: 0 0 0.92rem;
}

.admin-dashboard-nav-search-icon {
  color: currentColor;
}

.admin-dashboard-nav-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 100;
  display: grid;
  gap: 0.75rem;
  width: max-content;
  min-width: 16rem;
  max-width: min(28rem, calc(100vw - 2rem));
  max-height: min(30rem, calc(100vh - 10rem));
  overflow: auto;
  border: 1px solid #dbe4ef;
  border-radius: 0.78rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.2);
}

.admin-dashboard-nav-panel.is-search-mode {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
}

.admin-dashboard-nav-panel[hidden] {
  display: none !important;
}

.admin-dashboard-nav-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-dashboard-nav-panel-eyebrow {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-dashboard-nav-panel-title {
  margin-top: 0.1rem;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 900;
}

.admin-dashboard-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #475569;
  font-weight: 900;
}

.admin-dashboard-nav-panel-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  background: #ffffff;
  padding: 0.5rem 0.65rem;
}

.admin-dashboard-nav-panel-search[hidden] {
  display: none !important;
}

.admin-dashboard-nav-panel-search:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.admin-dashboard-nav-panel-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-dashboard-nav-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.admin-dashboard-nav-panel.is-search-mode .admin-dashboard-nav-panel-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.admin-dashboard-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.58rem;
  background: #f8fafc;
  padding: 0.58rem 0.7rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.admin-dashboard-nav-card[hidden] {
  display: none !important;
}

.admin-dashboard-nav-card:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.admin-dashboard-nav-card.is-disabled {
  cursor: not-allowed;
  color: #94a3b8;
}

.admin-dashboard-nav-card.is-disabled:hover {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
}

.admin-dashboard-nav-item-label {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
}

.admin-dashboard-nav-item-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard-nav-planned {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.12rem 0.42rem;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-dashboard-nav-badge {
  min-width: 1.25rem;
  border-radius: 999px;
  background: #0f172a;
  padding: 0.12rem 0.42rem;
  color: #ffffff;
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
}

.admin-dashboard-nav-empty {
  grid-column: 1 / -1;
  padding: 0.65rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .admin-dashboard-nav-panel {
    right: 0;
    width: auto;
    max-width: none;
  }
}

.appbar-search-icon {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 0.8rem;
}

.appbar-search-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  border: 1px solid #3f5878;
  border-radius: 0.58rem;
  background: #163251;
  color: #cbd9ea;
  padding: 0.45rem 0.6rem;
}

.appbar-search-mobile input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.86rem;
  color: #ecf3fc;
}

.appbar-search-mobile input::placeholder {
  color: #b2c3d8;
}

.appbar.is-compact {
  box-shadow: var(--shadow-soft);
}

.appbar.is-compact .appbar-util {
  max-height: 0;
  opacity: 0;
  border-bottom-width: 0;
}

.appbar.is-compact .appbar-brand {
  min-height: 68px;
}

.appbar.is-compact .appbar-brand-title {
  font-size: 1.1rem;
}

.appbar.is-compact .appbar-brand-logo {
  height: 2.35rem;
}

.appbar-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.appbar-link:hover {
  color: var(--color-primary);
}

.appbar-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.05rem 0;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 600;
  color: #445467;
  text-decoration: none;
}

.appbar-inline-link:hover {
  color: var(--color-primary);
}

.appbar-inline-link-danger {
  color: #b42318;
}

.appbar-inline-link-danger:hover {
  color: #912018;
}

.appbar-inline-link span {
  display: inline;
}

.appbar-inline-icon {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  flex: 0 0 var(--icon-size-lg);
  opacity: 0.78;
}

.appbar-util-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.appbar-util-links .appbar-inline-link + .appbar-inline-link::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.7rem;
  background: #c9d6e6;
  margin-right: 0.4rem;
}

.appbar-util-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.appbar-inline-note {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5f738c;
  letter-spacing: 0.03em;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-footer-text);
  position: relative;
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.nav-item-icon {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  flex: 0 0 var(--icon-size-lg);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after {
  background: rgba(230, 240, 250, 0.95);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 160ms ease;
}

.nav-link:hover::after {
  background: rgba(230, 240, 250, 0.9);
}

.nav-item {
  position: relative;
}

.nav-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.42rem);
  left: 0;
  min-width: 250px;
  border: 1px solid #314b6c;
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: #122b49;
  box-shadow: 0 14px 24px rgba(2, 10, 20, 0.24);
  padding: 0.45rem;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-footer-text);
}

.nav-dropdown-link:hover {
  background: rgba(230, 240, 250, 0.14);
  color: #ffffff;
}

.nav-dropdown-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.nav-dropdown-icon {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  flex: 0 0 var(--icon-size-lg);
}

.mobile-submenu {
  border-left: 2px solid #2d4768;
  margin-left: 0.35rem;
  padding-left: 0.6rem;
}

.mobile-submenu-title {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9fb3cf;
}

.mobile-menu-panel {
  border-top-color: #2f4868 !important;
  background: #0b1d33;
}

.mobile-menu-shell {
  border: 1px solid #314b6c;
  border-radius: 0.9rem;
  background: #122b49;
  box-shadow: 0 10px 20px rgba(2, 10, 20, 0.3);
}

.mobile-menu-shell .nav-link {
  color: var(--color-footer-text);
}

.mobile-menu-shell .nav-link-icon {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.mobile-menu-shell .nav-link:hover {
  color: #ffffff;
}

.mobile-menu-shell .nav-link::after {
  display: none;
}

.mobile-menu-shell .nav-dropdown-link {
  color: #d7e3f4;
}

.mobile-menu-shell .nav-dropdown-link:hover {
  background: rgba(230, 240, 250, 0.14);
  color: #ffffff;
}

.mobile-role-note {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5f738c;
  letter-spacing: 0.03em;
}

.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  width: 2.35rem;
  height: 2.1rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 0.45rem;
  background: #fff;
  padding: 0 0.52rem;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none !important;
  }
}

.role-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  background: var(--color-light-accent);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.34rem 0.55rem;
}

.role-badge-muted {
  background: #fff;
  color: var(--color-text-muted);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-footer-border);
  background:
    radial-gradient(500px 220px at 10% -20%, rgba(230, 240, 250, 0.1), transparent 60%),
    var(--color-footer-bg);
  color: var(--color-footer-text);
}

.site-footer .footer-brand p {
  color: var(--color-footer-muted);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand-head p {
  max-width: 30rem;
}

.site-footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.site-footer-brand-logo {
  width: min(170px, 100%);
  height: auto;
  object-fit: contain;
  opacity: 0.94;
}

.site-footer-title {
  list-style: none;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--color-footer-muted);
  margin-bottom: 0.65rem;
}

.site-footer-title::-webkit-details-marker {
  display: none;
}

.footer-group {
  border-top: 1px solid rgba(31, 54, 84, 0.65);
  padding-top: 0.85rem;
}

.site-footer-link {
  display: inline-block;
  color: var(--color-footer-text);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer-icon {
  width: 0.92rem;
  height: 0.92rem;
  flex: 0 0 0.92rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer-cta {
  border-color: rgba(217, 227, 240, 0.5);
  background: rgba(230, 240, 250, 0.15);
  color: #ffffff;
}

.site-footer-cta:hover {
  background: rgba(230, 240, 250, 0.25);
  border-color: rgba(217, 227, 240, 0.72);
}

.site-footer-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  border-top: 1px solid var(--color-footer-border);
  margin-top: 2rem;
  padding-top: 1.15rem;
  color: #c4d3e8;
  font-size: 0.82rem;
}

.site-footer-bottom p {
  color: #c4d3e8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn-sm {
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.btn-md {
  min-height: 2.3rem;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 2.75rem;
  padding: 0.78rem 1.2rem;
  font-size: 0.94rem;
}

.btn-icon {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  flex: 0 0 var(--icon-size-sm);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(0, 47, 96, 0.16);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 20px rgba(0, 47, 96, 0.22);
}

.btn-secondary {
  border-color: var(--color-border-soft);
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: #f0f5fb;
  border-color: #c8d7ea;
}

.btn-warning {
  background: var(--color-warning);
  color: var(--color-white);
}

.btn-danger {
  background: var(--color-danger);
  color: var(--color-white);
}

.btn-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-link);
}

.appbar-inline-icon,
.nav-item-icon,
.nav-dropdown-icon,
.appbar-search-icon,
.btn-icon {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.btn-ghost {
  border-color: var(--color-border-soft);
  background: transparent;
  color: var(--color-text-dark);
}

.panel {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.panel:hover {
  transform: translateY(-1px);
  border-color: #cbd9ea;
  box-shadow: 0 12px 26px rgba(15, 30, 46, 0.11);
}

.panel-soft {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-light-accent);
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0.58rem 0.72rem;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 47, 96, 0.15);
}

.form-help {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.form-error {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-danger);
}

.loading-page,
.loading-inline,
.loading-block {
  position: relative;
}

.loading-page::after,
.loading-inline::after,
.loading-block::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0, 47, 96, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: lsr-spin 0.7s linear infinite;
}

.loading-page::after {
  width: 2rem;
  height: 2rem;
}

.app-alert,
.ship-alert {
  border: 1px solid var(--color-border-soft);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.app-alert-row,
.ship-alert-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.app-alert-icon,
.ship-alert-icon {
  margin-top: 0.1rem;
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
}

.app-alert-icon-svg,
.ship-alert-icon-svg {
  width: 100%;
  height: 100%;
}

.app-alert-title,
.ship-alert-title {
  font-weight: 700;
}

.app-alert-warning,
.ship-alert-warning {
  border-color: #f0b85d;
  background: #fff4df;
  color: #8a4c00;
}

.app-alert-warning .app-alert-icon,
.app-alert-warning .app-alert-title,
.ship-alert-warning .ship-alert-icon,
.ship-alert-warning .ship-alert-title {
  color: #a45d00;
}

.app-alert-danger,
.ship-alert-danger {
  border-color: #eca3a3;
  background: #fff0f0;
  color: #8f2020;
}

.app-alert-danger .app-alert-icon,
.app-alert-danger .app-alert-title,
.ship-alert-danger .ship-alert-icon,
.ship-alert-danger .ship-alert-title {
  color: #a42b2b;
}

.app-alert-info {
  border-color: #9fc7ea;
  background: #ecf5ff;
  color: #0d3e6d;
}

.app-alert-info .app-alert-icon,
.app-alert-info .app-alert-title {
  color: #0b5cad;
}

.app-alert-success {
  border-color: #9ad8bd;
  background: #eefcf4;
  color: #1a6c45;
}

.app-alert-success .app-alert-icon,
.app-alert-success .app-alert-title {
  color: #238e59;
}

.app-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 700;
}

.app-status-badge-icon {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 0.85rem;
}

.app-status-badge-icon-svg {
  width: 100%;
  height: 100%;
}

.app-status-badge-success {
  border-color: #9ad8bd;
  background: #eefcf4;
  color: #1a6c45;
}

.app-status-badge-warning {
  border-color: #f0b85d;
  background: #fff4df;
  color: #8a4c00;
}

.app-status-badge-danger {
  border-color: #eca3a3;
  background: #fff0f0;
  color: #8f2020;
}

.app-status-badge-info {
  border-color: #9fc7ea;
  background: #ecf5ff;
  color: #0d3e6d;
}

.app-status-badge-muted {
  border-color: #d1d5db;
  background: #f3f4f6;
  color: #4b5563;
}

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 28px;
}

.stepper::before {
  position: absolute;
  top: 15px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: #d8e1ed;
  content: "";
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #64748b;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #b8c6d8;
  border-radius: 999px;
  background: #fff;
  color: var(--lsr-blue-dark, #153052);
  font-weight: 600;
}

.step-label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.step.is-active,
.step.is-complete {
  color: #075adf;
}

.step.is-active .step-number,
.step.is-complete .step-number {
  border-color: #075adf;
  background: #075adf;
  color: #fff;
}

.form-step {
  display: none;
}

.form-step.is-visible {
  display: block;
}

.side-info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 20px 20px;
  padding: 13px;
  border-radius: 10px;
  background: #f1f6fd;
  color: #075adf;
}

.vessel-intake-fields {
  display: none;
}

.vessel-intake-fields.is-visible {
  display: block;
}

.onboarding-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto 1.5rem;
}

.onboarding-stepper::before {
  position: absolute;
  top: 1rem;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: #d8e1ed;
  content: "";
}

.onboarding-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: #64748b;
}

.onboarding-step-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #b8c6d8;
  border-radius: 9999px;
  background: #fff;
  color: #153052;
  font-size: 0.8rem;
  font-weight: 700;
}

.onboarding-step-label {
  max-width: 4.6rem;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.onboarding-step.is-active,
.onboarding-step.is-complete {
  color: #075adf;
}

.onboarding-step.is-active .onboarding-step-number,
.onboarding-step.is-complete .onboarding-step-number {
  border-color: #075adf;
  background: #075adf;
  color: #fff;
}

.onboarding-form-step {
  display: none;
}

.onboarding-form-step.is-visible {
  display: block;
}

.journey-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.journey-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  align-items: stretch;
  flex-wrap: nowrap;
}

@media (min-width: 640px) {
  .onboarding-stepper::before {
    top: 1.18rem;
  }

  .onboarding-step-number {
    width: 2.35rem;
    height: 2.35rem;
  }

  .onboarding-step-label {
    max-width: 7rem;
    font-size: 0.78rem;
  }
}

@keyframes lsr-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .step-label {
    max-width: 68px;
    font-size: 9px;
    line-height: 1.2;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .stepper::before {
    top: 13px;
  }

  .stepper {
    margin-bottom: 20px;
  }

  .appbar.is-compact .appbar-brand-title {
    font-size: 1rem;
  }

  .appbar-util-right .appbar-inline-note {
    display: none;
  }

  .appbar-util .page-shell {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .appbar-util-links {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.55rem;
  }

  .appbar-util-links::-webkit-scrollbar {
    display: none;
  }

  .appbar-util-right {
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .appbar-util-right .appbar-inline-link span {
    display: none;
  }

  .appbar-util-right .appbar-inline-link {
    gap: 0;
  }

  .appbar-util-right .appbar-inline-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
  }

  .footer-group {
    text-align: center;
  }

  .site-footer-title {
    text-align: center;
  }

  .site-footer-link {
    justify-content: center;
  }

  .site-footer-link-icon {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .appbar-main-nav,
  .appbar-actions,
  .appbar-right-zone {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .appbar-search {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-brand-head {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .footer-brand-head p {
    margin: 0;
    max-width: 30rem;
  }

  .footer-group {
    border-top: 0;
    padding-top: 0;
  }

  .site-footer-title {
    cursor: default;
  }
}
