:root {
  --navy: #0d355d;
  --navy-deep: #071f36;
  --sky: #d9edf7;
  --orange: #eb6a2b;
  --sand: #f6f1e8;
  --ink: #14212b;
  --muted: #5f6f7f;
  --line: rgba(13, 53, 93, 0.12);
  --success: #177f53;
  --warn: #c97a10;
  --danger: #b13a3a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(9, 28, 48, 0.12);
}

/* TM-HOME-REDESIGN-01/02 — Home público QA, completamente aislado por scope. */
.tm-home-redesign {
  --home-navy-950: #04152f;
  --home-navy-900: #071f42;
  --home-navy-800: #0a3264;
  --home-blue: #1476c8;
  --home-sky: #53b9e8;
  --home-orange: #eb641f;
  --home-orange-dark: #c94a10;
  --home-green: #1b7666;
  --home-ink: #10233d;
  --home-muted: #5d6b7d;
  --home-line: #dce4ed;
  --home-soft: #f4f7fa;
  --home-white: #ffffff;
  background: var(--home-white);
  color: var(--home-ink);
  overflow: hidden;
}

.tm-home-redesign *,
.tm-home-redesign *::before,
.tm-home-redesign *::after {
  box-sizing: border-box;
}

.tm-home-redesign h1,
.tm-home-redesign h2,
.tm-home-redesign h3,
.tm-home-redesign p {
  margin-top: 0;
}

.tm-home-redesign svg {
  display: block;
  height: 1.25rem;
  width: 1.25rem;
}

.tm-home-redesign a:focus-visible,
.tm-home-redesign summary:focus-visible {
  border-radius: 6px;
  outline: 3px solid #79ccf0;
  outline-offset: 4px;
}

.tm-home-chrome {
  position: relative;
  z-index: 40;
}

.tm-home-topbar {
  background: var(--home-navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.77rem;
}

.tm-home-topbar-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
}

.tm-home-topbar p {
  margin: 0;
}

.tm-home-topbar nav {
  align-items: center;
  display: flex;
  gap: 1.15rem;
}

.tm-home-topbar a {
  transition: color 0.18s ease;
}

.tm-home-topbar a:hover {
  color: #ffffff;
}

.tm-home-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(6, 30, 63, 0.1);
  box-shadow: 0 8px 24px rgba(4, 21, 47, 0.08);
}

.tm-home-header-inner {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 82px;
}

.tm-home-logo img {
  display: block;
  height: 54px;
  object-fit: contain;
  width: auto;
}

.tm-home-desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 1.7vw, 1.65rem);
  justify-content: center;
}

.tm-home-desktop-nav a {
  color: var(--home-navy-900);
  font-size: 0.91rem;
  font-weight: 700;
  position: relative;
}

.tm-home-desktop-nav a::after {
  background: var(--home-orange);
  bottom: -0.55rem;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.18s ease;
  width: 100%;
}

.tm-home-desktop-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.tm-home-header-actions,
.tm-home-hero-actions,
.tm-home-section-actions,
.tm-home-final-cta-inner > div:last-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tm-home-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 750;
  gap: 0.5rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tm-home-button:hover {
  transform: translateY(-1px);
}

.tm-home-button-primary {
  background: var(--home-orange);
  color: #ffffff;
}

.tm-home-button-primary:hover {
  background: var(--home-orange-dark);
}

.tm-home-button-outline,
.tm-home-button-dark-outline {
  background: transparent;
  border-color: #9cabc0;
  color: var(--home-navy-900);
}

.tm-home-button-outline:hover,
.tm-home-button-dark-outline:hover {
  border-color: var(--home-navy-800);
  color: var(--home-navy-800);
}

.tm-home-button-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.tm-home-button-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

.tm-home-mobile-menu {
  display: none;
  position: relative;
}

.tm-home-mobile-menu summary {
  align-items: center;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  height: 46px;
  justify-content: center;
  list-style: none;
  width: 46px;
}

.tm-home-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.tm-home-mobile-menu summary span {
  background: var(--home-navy-900);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 20px;
}

.tm-home-mobile-panel {
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(4, 21, 47, 0.16);
  display: grid;
  min-width: 260px;
  padding: 0.65rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.65rem);
}

.tm-home-mobile-panel a {
  border-radius: 8px;
  color: var(--home-navy-900);
  font-weight: 700;
  padding: 0.75rem;
}

.tm-home-mobile-panel a:hover {
  background: var(--home-soft);
}

.tm-home-mobile-panel a.is-primary {
  background: var(--home-orange);
  color: #ffffff;
  margin-top: 0.35rem;
  text-align: center;
}

.tm-home-hero {
  background: var(--home-navy-950);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.tm-home-hero-video,
.tm-home-hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tm-home-hero-video {
  object-fit: cover;
}

.tm-home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 17, 39, 0.96) 0%, rgba(4, 29, 63, 0.82) 46%, rgba(4, 27, 58, 0.42) 100%),
    linear-gradient(0deg, rgba(2, 14, 31, 0.5), transparent 55%);
}

.tm-home-hero-inner {
  align-items: center;
  display: flex;
  min-height: 640px;
  position: relative;
  z-index: 2;
}

.tm-home-hero-copy {
  color: #ffffff;
  max-width: 760px;
  padding: 5rem 0 7rem;
}

.tm-home-eyebrow,
.tm-home-kicker {
  color: var(--home-blue);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tm-home-eyebrow,
.tm-home-kicker.is-light {
  color: #86d6f7;
}

.tm-home-hero h1 {
  color: #ffffff;
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.tm-home-hero h1 em {
  color: var(--home-sky);
  font-style: normal;
}

.tm-home-hero-copy > p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 650px;
}

.tm-home-indicators {
  background: #ffffff;
  border: 1px solid rgba(7, 31, 66, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(4, 21, 47, 0.13);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -48px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.tm-home-indicators > div {
  display: grid;
  gap: 0.16rem;
  grid-template-columns: auto 1fr;
  padding: 1.35rem 1.4rem;
}

.tm-home-indicators > div + div {
  border-left: 1px solid var(--home-line);
}

.tm-home-indicators span {
  align-items: center;
  background: #eaf5fb;
  border-radius: 10px;
  color: var(--home-blue);
  display: flex;
  grid-row: 1 / span 2;
  height: 42px;
  justify-content: center;
  margin-right: 0.7rem;
  width: 42px;
}

.tm-home-indicators strong {
  color: var(--home-navy-900);
  font-size: 0.9rem;
}

.tm-home-indicators small {
  color: var(--home-muted);
  font-size: 0.75rem;
}

.tm-home-section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.tm-home-section-heading {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.tm-home-section-heading.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tm-home-section-heading h2,
.tm-home-solutions-copy h2,
.tm-home-professionals-intro h2,
.tm-home-dark-layout h2,
.tm-home-final-cta h2 {
  color: var(--home-navy-900);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.tm-home-section-heading p,
.tm-home-solutions-copy > p,
.tm-home-professionals-intro > p {
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.tm-home-industry-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-home-industry-card {
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(4, 21, 47, 0.07);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tm-home-redesign .tm-home-industry-card.is-enabled:hover {
  box-shadow: 0 18px 38px rgba(4, 21, 47, 0.13);
  transform: translateY(-3px);
}

.tm-home-industry-visual {
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(83, 185, 232, 0.34), transparent 30%),
    linear-gradient(145deg, #06224b, #126daf);
  display: flex;
  height: 188px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tm-home-industry-card.is-port .tm-home-industry-visual {
  background: radial-gradient(circle at 80% 20%, rgba(60, 194, 197, 0.3), transparent 30%), linear-gradient(145deg, #073647, #147a89);
}

.tm-home-industry-card.is-aquaculture .tm-home-industry-visual {
  background: radial-gradient(circle at 80% 20%, rgba(141, 223, 174, 0.28), transparent 30%), linear-gradient(145deg, #0a3c38, #228270);
}

.tm-home-industry-visual::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  height: 230px;
  position: absolute;
  right: -85px;
  top: -112px;
  width: 230px;
}

.tm-home-industry-visual span {
  color: rgba(255, 255, 255, 0.9);
}

.tm-home-industry-visual svg {
  height: 74px;
  stroke-width: 1.15;
  width: 74px;
}

.tm-home-industry-content {
  padding: 1.55rem;
}

.tm-home-card-icon {
  align-items: center;
  background: #e9f4fb;
  border-radius: 9px;
  color: var(--home-blue);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 38px;
}

.tm-home-industry-card.is-aquaculture .tm-home-card-icon {
  background: #e7f5f0;
  color: var(--home-green);
}

.tm-home-industry-content h3,
.tm-home-benefit-grid h3,
.tm-home-professional-card h3,
.tm-home-practice-grid h3,
.tm-home-dark-grid h3 {
  color: var(--home-navy-900);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.tm-home-industry-content p,
.tm-home-benefit-grid p,
.tm-home-professional-card p,
.tm-home-practice-grid p,
.tm-home-dark-grid p {
  color: var(--home-muted);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.tm-home-industry-content a,
.tm-home-professional-card a,
.tm-home-text-link {
  align-items: center;
  color: var(--home-blue);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 0.35rem;
}

.tm-home-industry-content a svg,
.tm-home-professional-card a svg,
.tm-home-text-link svg {
  height: 1rem;
  width: 1rem;
}

.tm-home-disabled-action,
.tm-home-professional-card small,
.tm-home-practice-grid small {
  color: #738094;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tm-home-placeholder-note {
  color: #738094;
  font-size: 0.78rem;
  margin: 1rem 0 0;
  text-align: center;
}

.tm-home-solutions {
  background: var(--home-soft);
}

.tm-home-solutions-layout {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.tm-home-solutions-copy {
  position: sticky;
  top: 2rem;
}

.tm-home-solutions-copy > p,
.tm-home-professionals-intro > p {
  margin-bottom: 1.7rem;
}

.tm-home-benefit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-home-benefit-grid article {
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  min-height: 204px;
  padding: 1.35rem;
}

.tm-home-benefit-grid article > span,
.tm-home-practice-grid article > span,
.tm-home-dark-grid article > span {
  align-items: center;
  background: #eaf5fb;
  border-radius: 9px;
  color: var(--home-blue);
  display: flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.tm-home-benefit-grid p,
.tm-home-practice-grid p {
  font-size: 0.91rem;
  margin-bottom: 0;
}

.tm-home-ecosystem {
  background: #ffffff;
}

.tm-home-logo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tm-home-logo-placeholder,
.tm-home-academic-logos > div {
  align-items: center;
  background: #fafbfd;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  color: #8090a4;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
  min-height: 112px;
  padding: 1rem;
  text-align: center;
}

.tm-home-logo-placeholder svg,
.tm-home-academic-logos svg {
  height: 1.8rem;
  width: 1.8rem;
}

.tm-home-centered-action {
  margin-top: 1.75rem;
  text-align: center;
}

.tm-home-professionals {
  background: linear-gradient(135deg, var(--home-navy-950), #0a396b);
  color: #ffffff;
}

.tm-home-professionals-layout {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
}

.tm-home-professionals-intro h2,
.tm-home-professionals-intro > p {
  color: #ffffff;
}

.tm-home-professionals-intro > p {
  opacity: 0.76;
}

.tm-home-professional-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-home-professional-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  min-height: 190px;
  padding: 1.35rem;
}

.tm-home-professional-card > span {
  align-items: center;
  background: #eaf5fb;
  border-radius: 9px;
  color: var(--home-blue);
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.tm-home-professional-card.is-aquaculture > span {
  background: #e7f5f0;
  color: var(--home-green);
}

.tm-home-professional-card p {
  font-size: 0.88rem;
}

.tm-home-practices {
  background: #ffffff;
}

.tm-home-practices-layout {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.tm-home-practice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-home-practice-grid article {
  background: var(--home-soft);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 1.25rem;
}

.tm-home-academic {
  background: #f4f7fa;
}

.tm-home-academic-logos {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-home-academic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.tm-home-academic-tags span {
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-navy-800);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.5rem 0.8rem;
}

.tm-home-resources {
  background: #ffffff;
}

.tm-home-resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-home-resource-grid a {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  color: var(--home-navy-900);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr auto;
  min-height: 86px;
  padding: 1rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.tm-home-resource-grid a:hover {
  border-color: var(--home-blue);
  transform: translateY(-2px);
}

.tm-home-resource-grid a > span {
  align-items: center;
  background: #eaf5fb;
  border-radius: 9px;
  color: var(--home-blue);
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.tm-home-resource-grid a > svg {
  color: #7f8da0;
  height: 1rem;
  width: 1rem;
}

.tm-home-dark-benefits {
  background: var(--home-navy-950);
  color: #ffffff;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.tm-home-dark-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
}

.tm-home-dark-layout h2,
.tm-home-dark-grid h3 {
  color: #ffffff;
}

.tm-home-dark-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-home-dark-grid article {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.25rem;
}

.tm-home-dark-grid article > span {
  background: rgba(83, 185, 232, 0.12);
  color: #86d6f7;
}

.tm-home-dark-grid p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.tm-home-final-cta {
  background: linear-gradient(120deg, #0a477e, #0b689f);
  color: #ffffff;
  padding: 4rem 0;
}

.tm-home-final-cta-inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.tm-home-final-cta h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  margin-bottom: 0;
  max-width: 760px;
}

.tm-home-final-cta-inner > div:last-child {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.tm-home-footer {
  background: #031126;
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 1.5rem;
}

.tm-home-footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.35fr repeat(3, minmax(130px, 0.65fr));
}

.tm-home-footer-brand img {
  display: block;
  height: 74px;
  margin-bottom: 1rem;
  object-fit: contain;
  width: auto;
}

.tm-home-footer-brand p {
  line-height: 1.65;
  max-width: 340px;
}

.tm-home-footer a:hover {
  color: #ffffff;
}

.tm-home-footer nav {
  align-content: start;
  display: grid;
  gap: 0.7rem;
}

.tm-home-footer h3 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.tm-home-footer nav a,
.tm-home-footer nav span,
.tm-home-footer-brand a {
  font-size: 0.85rem;
}

.tm-home-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.25rem;
}

.tm-home-footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .tm-home-header-inner {
    gap: 1rem;
  }

  .tm-home-desktop-nav {
    gap: 0.75rem;
  }

  .tm-home-header-actions .tm-home-button {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

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

@media (max-width: 920px) {
  .tm-home-topbar nav a:last-child,
  .tm-home-desktop-nav,
  .tm-home-header-actions {
    display: none;
  }

  .tm-home-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .tm-home-mobile-menu {
    display: block;
  }

  .tm-home-hero,
  .tm-home-hero-inner {
    min-height: 580px;
  }

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

  .tm-home-indicators > div:nth-child(3) {
    border-left: 0;
  }

  .tm-home-indicators > div:nth-child(n + 3) {
    border-top: 1px solid var(--home-line);
  }

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

  .tm-home-industry-card:last-child {
    grid-column: 1 / -1;
  }

  .tm-home-industry-card:last-child .tm-home-industry-visual {
    height: 150px;
  }

  .tm-home-solutions-layout,
  .tm-home-professionals-layout,
  .tm-home-practices-layout,
  .tm-home-dark-layout {
    grid-template-columns: 1fr;
  }

  .tm-home-solutions-copy {
    position: static;
  }

  .tm-home-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-academic-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-home-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-home-final-cta-inner > div:last-child {
    justify-content: flex-start;
  }

  .tm-home-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .tm-home-topbar-inner {
    justify-content: center;
    min-height: 30px;
    text-align: center;
  }

  .tm-home-topbar nav {
    display: none;
  }

  .tm-home-topbar p {
    font-size: 0.68rem;
  }

  .tm-home-logo img {
    height: 44px;
  }

  .tm-home-header-inner {
    min-height: 66px;
  }

  .tm-home-hero,
  .tm-home-hero-inner {
    min-height: 520px;
  }

  .tm-home-hero-copy {
    padding: 4rem 0 6.5rem;
  }

  .tm-home-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .tm-home-indicators {
    margin-top: -36px;
  }

  .tm-home-indicators > div {
    padding: 1rem;
  }

  .tm-home-indicators span {
    display: none;
  }

  .tm-home-section {
    padding: 4.5rem 0;
  }

  .tm-home-industry-grid,
  .tm-home-benefit-grid,
  .tm-home-professional-grid,
  .tm-home-practice-grid,
  .tm-home-dark-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-industry-card:last-child {
    grid-column: auto;
  }

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

  .tm-home-professional-card {
    min-height: 0;
  }

  .tm-home-dark-grid article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 0 0;
  }

  .tm-home-final-cta-inner > div:last-child,
  .tm-home-final-cta .tm-home-button {
    align-items: stretch;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .tm-home-redesign .container {
    width: min(100% - 1.5rem, 1200px);
  }

  .tm-home-topbar p {
    max-width: 38ch;
  }

  .tm-home-hero-actions,
  .tm-home-section-actions,
  .tm-home-hero-actions .tm-home-button,
  .tm-home-section-actions .tm-home-button {
    align-items: stretch;
    width: 100%;
  }

  .tm-home-indicators {
    grid-template-columns: 1fr;
  }

  .tm-home-indicators > div,
  .tm-home-indicators > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .tm-home-indicators > div:first-child {
    border-top: 0;
  }

  .tm-home-industry-visual {
    height: 150px;
  }

  .tm-home-logo-grid,
  .tm-home-academic-logos,
  .tm-home-resource-grid,
  .tm-home-footer-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* TM-MARITIME-WIZARD-REDESIGN: scoped presentation for the public maritime form. */
.tm-candidate-maritime.tm-maritime-wizard-page {
  background: #eef6ff;
}

.tm-candidate-maritime.tm-maritime-wizard-page .tm-form-narrow {
  max-width: 1180px;
}

.tm-candidate-maritime [data-maritime-wizard] {
  display: block;
}

.tm-candidate-maritime [data-maritime-wizard-step][hidden] {
  display: none !important;
}

.tm-maritime-wizard-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(96px, 1fr));
  gap: 10px;
  margin: 0 0 10px;
  padding: 22px 18px 16px;
  overflow-x: auto;
  border: 1px solid #d8e4f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 54, 93, 0.08);
}

.tm-maritime-wizard-nav::before {
  position: absolute;
  top: 39px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: #d9e4f0;
  content: "";
}

.tm-maritime-wizard-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #52657a;
  font: inherit;
  text-align: center;
  cursor: pointer;
  align-items: center;
  flex-direction: column;
}

.tm-maritime-wizard-step:focus-visible {
  border-radius: 10px;
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.tm-maritime-wizard-number {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border: 2px solid #c8d7e8;
  border-radius: 50%;
  background: #fff;
  color: #52657a;
  font-size: 15px;
  font-weight: 800;
  place-items: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tm-maritime-wizard-label {
  color: #18324f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.tm-maritime-wizard-step small {
  margin-top: 3px;
  color: #718196;
  font-size: 11px;
}

.tm-maritime-wizard-step.is-active .tm-maritime-wizard-number {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.tm-maritime-wizard-step.is-active::after {
  width: 58px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 3px;
  background: #1d4ed8;
  content: "";
}

.tm-maritime-wizard-step.is-active .tm-maritime-wizard-label,
.tm-maritime-wizard-step.is-active small {
  color: #1d4ed8;
}

.tm-maritime-wizard-step.is-complete .tm-maritime-wizard-number {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #fff;
}

.tm-maritime-wizard-step.is-complete small {
  color: #17649f;
}

.tm-maritime-wizard-progress {
  height: 5px;
  margin: 0 4px 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce7f3;
}

.tm-maritime-wizard-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d4ed8, #2586d9);
  transition: width 0.24s ease;
}

.tm-candidate-maritime [data-maritime-wizard] > .tm-form-card,
.tm-candidate-maritime [data-maritime-wizard] > [data-maritime-wizard-step] > .tm-form-card {
  margin-bottom: 20px;
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(21, 54, 93, 0.07);
}

.tm-candidate-maritime [data-maritime-wizard] .tm-form-card-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #e4ecf5;
}

.tm-candidate-maritime [data-maritime-wizard] .tm-form-card-head .tm-step {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #1d4ed8;
  font-weight: 800;
  place-items: center;
}

.tm-candidate-maritime [data-maritime-wizard] .tm-form-card-head h2 {
  color: #122d4b;
}

.tm-maritime-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tm-maritime-review-group {
  padding: 18px;
  border: 1px solid #dce7f3;
  border-radius: 12px;
  background: #f8fbff;
}

.tm-maritime-review-group h3 {
  margin: 0 0 12px;
  color: #173b63;
  font-size: 16px;
}

.tm-maritime-review-group dl {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

.tm-maritime-review-group dt {
  color: #617287;
  font-size: 13px;
  font-weight: 700;
}

.tm-maritime-review-group dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #172f4c;
  font-size: 14px;
}

.tm-candidate-maritime .tm-maritime-wizard-actions {
  position: sticky;
  bottom: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d5e1ee;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(20, 50, 84, 0.14);
  backdrop-filter: blur(8px);
  align-items: center;
}

.tm-candidate-maritime .tm-maritime-wizard-actions > p {
  margin: 0;
  color: #65758a;
  text-align: center;
}

.tm-candidate-maritime .tm-maritime-wizard-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.tm-candidate-maritime .tm-maritime-wizard-buttons [hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .tm-maritime-wizard-nav {
    grid-template-columns: repeat(6, minmax(90px, 1fr));
    padding-inline: 12px;
  }

  .tm-maritime-wizard-nav::before {
    right: 55px;
    left: 55px;
  }

  .tm-maritime-review-grid {
    grid-template-columns: 1fr;
  }

  .tm-candidate-maritime .tm-maritime-wizard-actions {
    position: static;
    grid-template-columns: 1fr auto;
  }

  .tm-candidate-maritime .tm-maritime-wizard-actions > p {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .tm-maritime-wizard-nav {
    grid-template-columns: repeat(6, minmax(76px, 1fr));
    gap: 4px;
  }

  .tm-maritime-wizard-number {
    width: 30px;
    height: 30px;
  }

  .tm-maritime-wizard-nav::before {
    top: 37px;
    right: 47px;
    left: 47px;
  }

  .tm-maritime-wizard-label {
    font-size: 11px;
  }

  .tm-maritime-wizard-step small {
    display: none;
  }

  .tm-maritime-review-group dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .tm-maritime-review-group dd {
    margin-bottom: 8px;
  }

  .tm-candidate-maritime .tm-maritime-wizard-actions {
    grid-template-columns: 1fr;
  }

  .tm-candidate-maritime .tm-maritime-wizard-actions > .button,
  .tm-candidate-maritime .tm-maritime-wizard-buttons,
  .tm-candidate-maritime .tm-maritime-wizard-buttons .button {
    width: 100%;
  }

  .tm-candidate-maritime .tm-maritime-wizard-buttons {
    flex-direction: column-reverse;
  }
}

/* Maritime conditional form controls must override the generic field display rule. */
.tm-candidate-maritime [data-maritime-other-field][hidden],
.tm-candidate-maritime [data-first-job-reference][hidden] {
  display: none !important;
}

/* TM-HOME-REDESIGN-02 — fidelity pass against the approved visual reference. */
.tm-home-redesign {
  --home-radius-sm: 10px;
  --home-radius-md: 16px;
  --home-radius-lg: 22px;
  --home-shadow-card: 0 18px 45px rgba(3, 18, 39, 0.14);
  --home-shadow-soft: 0 12px 32px rgba(3, 18, 39, 0.08);
}

.tm-home-header-inner {
  gap: 1.35rem;
  min-height: 78px;
}

.tm-home-logo img {
  height: 50px;
}

.tm-home-desktop-nav {
  gap: clamp(0.85rem, 1.65vw, 1.55rem);
}

.tm-home-desktop-nav a {
  font-size: 0.89rem;
}

.tm-home-button {
  border-radius: var(--home-radius-sm);
  min-height: 45px;
  padding: 0.7rem 1.08rem;
}

.tm-home-hero,
.tm-home-hero-inner {
  min-height: 585px;
}

.tm-home-hero-video {
  object-position: 52% 48%;
}

.tm-home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 14, 33, 0.97) 0%, rgba(3, 27, 59, 0.9) 40%, rgba(4, 32, 67, 0.45) 74%, rgba(2, 18, 39, 0.28) 100%),
    linear-gradient(0deg, rgba(2, 14, 31, 0.68), transparent 56%);
}

.tm-home-hero-copy {
  max-width: 820px;
  padding: 4.7rem 0 5rem;
}

.tm-home-hero h1 {
  font-size: clamp(3rem, 4.9vw, 4.75rem);
  line-height: 1.01;
  margin-bottom: 1.35rem;
  max-width: 15ch;
}

.tm-home-hero h1 > span {
  display: block;
}

.tm-home-hero-copy > p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  margin-bottom: 1.85rem;
  max-width: 610px;
}

.tm-home-indicator-band {
  background: linear-gradient(90deg, #031126, #08284d 52%, #05203e);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tm-home-indicators {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 0;
  overflow: visible;
}

.tm-home-indicators > div {
  align-content: center;
  gap: 0.14rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 104px;
  padding: 1.05rem 0.9rem;
}

.tm-home-indicators > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.tm-home-indicators span {
  background: rgba(83, 185, 232, 0.12);
  border-radius: var(--home-radius-sm);
  color: #75cff4;
  height: 38px;
  margin-right: 0.55rem;
  width: 38px;
}

.tm-home-indicators strong {
  color: #ffffff;
  font-size: 0.79rem;
  line-height: 1.2;
}

.tm-home-indicators small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  line-height: 1.25;
}

.tm-home-section {
  padding: clamp(4.35rem, 6vw, 6.25rem) 0;
}

.tm-home-section-heading {
  margin-bottom: 2.2rem;
}

.tm-home-section-heading h2,
.tm-home-solutions-copy h2,
.tm-home-professionals-intro h2,
.tm-home-dark-layout h2,
.tm-home-final-cta h2 {
  font-size: clamp(2.15rem, 3.55vw, 3.35rem);
}

.tm-home-industry-grid {
  gap: 1.15rem;
}

.tm-home-industry-card,
.tm-home-visual-card {
  background: #082c59;
  border: 0;
  border-radius: var(--home-radius-md);
  box-shadow: var(--home-shadow-card);
  isolation: isolate;
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

.tm-home-industry-card::before,
.tm-home-professional-card::before,
.tm-home-practice-grid article::before {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 48px),
    linear-gradient(28deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 62px);
  content: "";
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.tm-home-industry-card.is-maritime {
  background: radial-gradient(circle at 78% 20%, rgba(73, 181, 235, 0.38), transparent 31%), linear-gradient(145deg, #062146 2%, #0c5f9c 100%);
}

.tm-home-industry-card.is-port {
  background: radial-gradient(circle at 82% 18%, rgba(71, 211, 202, 0.34), transparent 30%), linear-gradient(145deg, #073246 2%, #137c86 100%);
}

.tm-home-industry-card.is-aquaculture {
  background: radial-gradient(circle at 82% 18%, rgba(135, 224, 169, 0.32), transparent 30%), linear-gradient(145deg, #0a3836 2%, #247965 100%);
}

.tm-home-card-backdrop {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.tm-home-card-backdrop::after {
  background: linear-gradient(0deg, rgba(2, 14, 33, 0.96) 0%, rgba(2, 20, 43, 0.69) 48%, rgba(3, 24, 50, 0.08) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.tm-home-card-backdrop > span {
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  right: -1rem;
  top: 1.1rem;
  transform: rotate(-6deg);
}

.tm-home-card-backdrop svg {
  height: 190px;
  stroke-width: 0.72;
  width: 190px;
}

.tm-home-visual-card-content {
  bottom: 0;
  color: #ffffff;
  left: 0;
  padding: 2rem;
  position: absolute;
  right: 0;
}

.tm-home-card-icon,
.tm-home-industry-card.is-aquaculture .tm-home-card-icon {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  height: 44px;
  margin-bottom: 1.25rem;
  width: 44px;
}

.tm-home-visual-card-content h3 {
  color: #ffffff;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  margin-bottom: 0.55rem;
}

.tm-home-visual-card-content p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.58;
  margin-bottom: 1.2rem;
  max-width: 34ch;
}

.tm-home-visual-card-content a,
.tm-home-visual-card-content .tm-home-disabled-action {
  color: #ffffff;
}

.tm-home-visual-card-content a {
  align-items: center;
  display: inline-flex;
  font-size: 0.87rem;
  font-weight: 800;
  gap: 0.42rem;
}

.tm-home-visual-card-content a svg {
  height: 1rem;
  width: 1rem;
}

.tm-home-placeholder-note {
  color: #7b8798;
  font-size: 0.73rem;
  margin-top: 1.05rem;
}

.tm-home-solutions {
  background:
    radial-gradient(circle at 10% 12%, rgba(83, 185, 232, 0.08), transparent 27%),
    var(--home-soft);
}

.tm-home-solutions-layout {
  gap: clamp(2.5rem, 4.3vw, 4.25rem);
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
}

.tm-home-solutions-copy {
  top: 1.5rem;
}

.tm-home-benefit-grid {
  gap: 0;
}

.tm-home-benefit-grid article {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d6e0ea;
  border-radius: 0;
  min-height: 170px;
  padding: 1.2rem 1.35rem 1.2rem 0;
}

.tm-home-benefit-grid article:nth-child(even) {
  border-left: 1px solid #d6e0ea;
  padding-left: 1.35rem;
}

.tm-home-benefit-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.tm-home-benefit-grid article > span {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(5, 36, 73, 0.08);
}

.tm-home-ecosystem {
  padding-bottom: 5.25rem;
  padding-top: 5.25rem;
}

.tm-home-logo-grid {
  gap: 0.8rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tm-home-logo-placeholder,
.tm-home-academic-logos > div {
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  border-color: #e1e7ef;
  border-radius: var(--home-radius-sm);
  box-shadow: 0 5px 17px rgba(4, 21, 47, 0.035);
  min-height: 106px;
}

.tm-home-logo-placeholder span {
  color: #96a4b4;
}

.tm-home-logo-placeholder small,
.tm-home-academic-logos small {
  color: #738195;
  font-size: 0.68rem;
}

.tm-home-professionals {
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 139, 206, 0.24), transparent 28%),
    linear-gradient(135deg, #03152f, #082e57 58%, #0a3c6f);
}

.tm-home-professionals-layout {
  gap: clamp(2.25rem, 4vw, 4rem);
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
}

.tm-home-professional-grid {
  gap: 0.9rem;
}

.tm-home-professional-card {
  background: linear-gradient(155deg, #123f70, #082445);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--home-radius-md);
  box-shadow: 0 16px 38px rgba(1, 11, 26, 0.24);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 282px;
  overflow: hidden;
  padding: 1.55rem;
  position: relative;
}

.tm-home-professional-card.is-port {
  background: linear-gradient(155deg, #146a76, #062c3d);
}

.tm-home-professional-card.is-aquaculture {
  background: linear-gradient(155deg, #2b806b, #0a3a37);
}

.tm-home-professional-card.is-staff {
  background: linear-gradient(155deg, #36577c, #172b48);
}

.tm-home-professional-card > span,
.tm-home-professional-card.is-aquaculture > span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  height: 48px;
  margin-bottom: auto;
  width: 48px;
}

.tm-home-professional-card h3,
.tm-home-professional-card p,
.tm-home-professional-card a,
.tm-home-professional-card small {
  color: #ffffff;
}

.tm-home-professional-card h3 {
  font-size: 1.45rem;
}

.tm-home-professional-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.9rem;
}

.tm-home-professional-card small {
  opacity: 0.7;
}

.tm-home-practices {
  background: #ffffff;
}

.tm-home-practices-layout {
  gap: 2.4rem;
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr);
}

.tm-home-practice-grid {
  gap: 0.9rem;
}

.tm-home-practice-grid article {
  background: linear-gradient(150deg, #edf5fa, #dbeaf3);
  border: 0;
  border-radius: var(--home-radius-md);
  box-shadow: var(--home-shadow-soft);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  overflow: hidden;
  padding: 1.45rem;
  position: relative;
}

.tm-home-practice-grid article.is-maritime {
  background: linear-gradient(155deg, #176a9e, #0a315b);
}

.tm-home-practice-grid article.is-port {
  background: linear-gradient(155deg, #16828b, #0a3b4b);
}

.tm-home-practice-grid article.is-aquaculture {
  background: linear-gradient(155deg, #27836b, #0c433c);
}

.tm-home-practice-grid article.is-staff {
  background: linear-gradient(155deg, #4b6787, #253952);
}

.tm-home-practice-grid article > span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  height: 46px;
  width: 46px;
}

.tm-home-practice-grid h3,
.tm-home-practice-grid p,
.tm-home-practice-grid small {
  color: #ffffff;
}

.tm-home-practice-grid h3 {
  font-size: 1.25rem;
}

.tm-home-practice-grid p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.75rem;
}

.tm-home-practice-grid small {
  opacity: 0.72;
}

.tm-home-academic {
  background: linear-gradient(180deg, #f3f6f9, #eef3f7);
  padding-bottom: 5.15rem;
  padding-top: 5.15rem;
}

.tm-home-academic-logos {
  gap: 0.85rem;
}

.tm-home-academic-logos > div {
  min-height: 122px;
}

.tm-home-resources {
  background: #ffffff;
  padding-bottom: 3.35rem;
  padding-top: 3.35rem;
}

.tm-home-resources-layout {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
}

.tm-home-section-heading.is-compact {
  margin-bottom: 0;
}

.tm-home-section-heading.is-compact h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.tm-home-section-heading.is-compact p {
  font-size: 0.9rem;
}

.tm-home-resource-grid {
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-home-resource-grid a {
  border-radius: var(--home-radius-sm);
  min-height: 72px;
  padding: 0.8rem;
}

.tm-home-resource-grid a > span {
  height: 36px;
  width: 36px;
}

.tm-home-resource-grid strong {
  font-size: 0.84rem;
}

.tm-home-dark-benefits {
  background:
    radial-gradient(circle at 14% 25%, rgba(38, 131, 198, 0.24), transparent 26%),
    linear-gradient(130deg, #021126, #06284d);
  padding: clamp(5rem, 7vw, 6.75rem) 0;
}

.tm-home-dark-layout {
  align-items: stretch;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
}

.tm-home-dark-intro {
  display: flex;
  flex-direction: column;
}

.tm-home-trust-panel {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--home-radius-md);
  display: flex;
  gap: 0.9rem;
  margin-top: auto;
  padding: 1.15rem;
}

.tm-home-trust-panel > span {
  align-items: center;
  background: rgba(83, 185, 232, 0.13);
  border-radius: var(--home-radius-sm);
  color: #86d6f7;
  display: flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.tm-home-trust-panel strong {
  color: #ffffff;
  font-size: 0.88rem;
}

.tm-home-trust-panel p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

.tm-home-dark-grid {
  column-gap: 1.5rem;
  row-gap: 1.75rem;
}

.tm-home-dark-grid article {
  padding-left: 1.35rem;
}

.tm-home-final-cta {
  background:
    radial-gradient(circle at 78% 10%, rgba(95, 205, 250, 0.24), transparent 27%),
    linear-gradient(110deg, #07558f, #0878b5);
  padding: 4.8rem 0;
}

.tm-home-final-cta-inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.tm-home-final-cta-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: var(--home-radius-md);
  color: #ffffff;
  display: flex;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.tm-home-final-cta-icon svg {
  height: 32px;
  width: 32px;
}

.tm-home-final-cta h2 {
  font-size: clamp(2rem, 3vw, 2.85rem);
  max-width: 730px;
}

.tm-home-final-cta h2 em {
  color: #9ce2ff;
  font-style: normal;
}

.tm-home-footer {
  padding: 5.5rem 0 1.6rem;
}

.tm-home-footer-grid {
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: 1.45fr repeat(4, minmax(112px, 0.62fr));
}

.tm-home-footer-brand img {
  height: 82px;
  margin-bottom: 1.15rem;
}

.tm-home-footer nav {
  gap: 0.76rem;
}

.tm-home-footer h3 {
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tm-home-footer-bottom {
  margin-top: 3.8rem;
  padding-top: 1.4rem;
}

@media (max-width: 1100px) {
  .tm-home-indicators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-indicators > div:nth-child(4) {
    border-left: 0;
  }

  .tm-home-indicators > div:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
  }

  .tm-home-indicators > div:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-home-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-footer-grid {
    grid-template-columns: 1.25fr repeat(2, minmax(140px, 0.75fr));
  }

  .tm-home-footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 920px) {
  .tm-home-header-inner {
    min-height: 70px;
  }

  .tm-home-hero,
  .tm-home-hero-inner {
    min-height: 545px;
  }

  .tm-home-hero-copy {
    padding: 4rem 0;
  }

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

  .tm-home-industry-card:last-child {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .tm-home-solutions-layout,
  .tm-home-professionals-layout,
  .tm-home-practices-layout,
  .tm-home-dark-layout,
  .tm-home-resources-layout {
    grid-template-columns: 1fr;
  }

  .tm-home-trust-panel {
    margin-top: 1.5rem;
    max-width: 540px;
  }

  .tm-home-final-cta-inner {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tm-home-final-cta-inner > div:last-child {
    grid-column: 2;
  }

  .tm-home-footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .tm-home-logo img {
    height: 42px;
  }

  .tm-home-hero,
  .tm-home-hero-inner {
    min-height: 500px;
  }

  .tm-home-hero-video {
    object-position: 62% center;
  }

  .tm-home-hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    max-width: 13ch;
  }

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

  .tm-home-indicators > div,
  .tm-home-indicators > div:nth-child(3),
  .tm-home-indicators > div:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-home-indicators > div:nth-child(odd) {
    border-left: 0;
  }

  .tm-home-indicators > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .tm-home-indicators > div {
    min-height: 88px;
    padding: 0.85rem;
  }

  .tm-home-indicators span {
    display: flex;
    height: 34px;
    width: 34px;
  }

  .tm-home-section {
    padding: 4.25rem 0;
  }

  .tm-home-industry-grid,
  .tm-home-benefit-grid,
  .tm-home-professional-grid,
  .tm-home-practice-grid,
  .tm-home-dark-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-industry-card,
  .tm-home-industry-card:last-child {
    grid-column: auto;
    min-height: 360px;
  }

  .tm-home-benefit-grid article,
  .tm-home-benefit-grid article:nth-child(even),
  .tm-home-benefit-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid #d6e0ea;
    border-left: 0;
    min-height: 0;
    padding: 1.15rem 0;
  }

  .tm-home-benefit-grid article:last-child {
    border-bottom: 0;
  }

  .tm-home-professional-card,
  .tm-home-practice-grid article {
    min-height: 250px;
  }

  .tm-home-footer-grid,
  .tm-home-footer-brand {
    grid-row: auto;
  }

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

  .tm-home-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .tm-home-topbar p {
    font-size: 0.65rem;
  }

  .tm-home-hero-copy {
    padding: 3.5rem 0;
  }

  .tm-home-hero h1 {
    font-size: clamp(2.2rem, 11.2vw, 2.8rem);
  }

  .tm-home-hero-copy > p {
    font-size: 0.96rem;
  }

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

  .tm-home-indicators > div,
  .tm-home-indicators > div:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-home-indicators > div:nth-child(odd) {
    border-left: 0;
  }

  .tm-home-indicators strong {
    font-size: 0.71rem;
  }

  .tm-home-indicators small {
    font-size: 0.61rem;
  }

  .tm-home-visual-card-content {
    padding: 1.55rem;
  }

  .tm-home-logo-grid,
  .tm-home-academic-logos,
  .tm-home-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-home-logo-placeholder,
  .tm-home-academic-logos > div {
    min-height: 98px;
    padding: 0.7rem;
  }

  .tm-home-resource-grid a {
    grid-template-columns: auto 1fr;
  }

  .tm-home-resource-grid a > svg {
    display: none;
  }

  .tm-home-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .tm-home-final-cta-icon {
    height: 58px;
    width: 58px;
  }

  .tm-home-final-cta-inner > div:last-child {
    grid-column: auto;
  }

  .tm-home-footer-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-footer-brand {
    grid-column: auto;
  }
}

/* TM-HOME-REDESIGN-03/04 — lazy photographic slots, sector overlays and real route doors. */
.tm-home-redesign .tm-home-card-photo {
  filter: brightness(0.77) saturate(0.92) contrast(1.02);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.tm-home-redesign .tm-home-industry-card::before,
.tm-home-redesign .tm-home-professional-card::before,
.tm-home-redesign .tm-home-practice-grid article::before {
  z-index: 1;
}

.tm-home-redesign .tm-home-card-backdrop {
  z-index: 1;
}

.tm-home-redesign .tm-home-industry-card.is-maritime .tm-home-card-backdrop::after {
  background: linear-gradient(0deg, rgba(1, 16, 35, 0.91) 0%, rgba(2, 28, 58, 0.58) 49%, rgba(4, 38, 74, 0.12) 100%);
}

.tm-home-redesign .tm-home-industry-card.is-port .tm-home-card-backdrop::after {
  background: linear-gradient(0deg, rgba(2, 26, 37, 0.91) 0%, rgba(3, 55, 68, 0.57) 49%, rgba(4, 72, 85, 0.12) 100%);
}

.tm-home-redesign .tm-home-industry-card.is-aquaculture .tm-home-card-backdrop::after {
  background: linear-gradient(0deg, rgba(4, 35, 33, 0.91) 0%, rgba(7, 69, 61, 0.57) 49%, rgba(20, 104, 82, 0.12) 100%);
}

.tm-home-redesign .tm-home-professional-card[data-photo-status="available"]::before,
.tm-home-redesign .tm-home-practice-grid article[data-photo-status="available"]::before {
  opacity: 0.18;
}

.tm-home-redesign .tm-home-professional-card[data-photo-status="available"]::after,
.tm-home-redesign .tm-home-practice-grid article[data-photo-status="available"]::after {
  background: linear-gradient(0deg, rgba(1, 16, 35, 0.88) 0%, rgba(2, 28, 58, 0.47) 52%, rgba(4, 38, 74, 0.08) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.tm-home-redesign .tm-home-professional-card.is-port[data-photo-status="available"]::after,
.tm-home-redesign .tm-home-practice-grid article.is-port[data-photo-status="available"]::after {
  background: linear-gradient(0deg, rgba(2, 26, 37, 0.88) 0%, rgba(3, 55, 68, 0.47) 52%, rgba(4, 72, 85, 0.08) 100%);
}

.tm-home-redesign .tm-home-professional-card.is-aquaculture[data-photo-status="available"]::after,
.tm-home-redesign .tm-home-practice-grid article.is-aquaculture[data-photo-status="available"]::after {
  background: linear-gradient(0deg, rgba(4, 35, 33, 0.88) 0%, rgba(7, 69, 61, 0.47) 52%, rgba(20, 104, 82, 0.08) 100%);
}

.tm-home-redesign .tm-home-professional-card.is-staff[data-photo-status="available"]::after {
  background: linear-gradient(0deg, rgba(14, 24, 48, 0.88) 0%, rgba(35, 57, 91, 0.47) 52%, rgba(71, 98, 134, 0.08) 100%);
}

.tm-home-redesign .tm-home-industry-card.is-maritime .tm-home-card-photo { object-position: 55% 50%; }
.tm-home-redesign .tm-home-industry-card.is-port .tm-home-card-photo { object-position: 62% 53%; }
.tm-home-redesign .tm-home-industry-card.is-aquaculture .tm-home-card-photo { object-position: 55% 48%; }
.tm-home-redesign .tm-home-professional-card.is-maritime .tm-home-card-photo { object-position: 64% 50%; }
.tm-home-redesign .tm-home-professional-card.is-port .tm-home-card-photo { object-position: 64% 50%; }
.tm-home-redesign .tm-home-professional-card.is-aquaculture .tm-home-card-photo { object-position: 55% 50%; }
.tm-home-redesign .tm-home-professional-card.is-staff .tm-home-card-photo { object-position: 64% 50%; }
.tm-home-redesign .tm-home-practice-grid article.is-maritime .tm-home-card-photo { object-position: 64% 50%; }
.tm-home-redesign .tm-home-practice-grid article.is-port .tm-home-card-photo { object-position: 62% 50%; }
.tm-home-redesign .tm-home-practice-grid article.is-aquaculture .tm-home-card-photo { object-position: 62% 50%; }
.tm-home-redesign .tm-home-practice-grid article.is-staff .tm-home-card-photo { object-position: 63% 50%; }

.tm-home-redesign .tm-home-visual-card-content,
.tm-home-redesign .tm-home-professional-card > span,
.tm-home-redesign .tm-home-professional-card > div,
.tm-home-redesign .tm-home-practice-grid article > span,
.tm-home-redesign .tm-home-practice-grid article > div {
  position: relative;
  z-index: 2;
}

.tm-home-redesign .tm-home-professional-card,
.tm-home-redesign .tm-home-practice-grid article {
  isolation: isolate;
}

.tm-home-redesign .tm-home-visual-card-content a::after,
.tm-home-redesign .tm-home-professional-card a::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 3;
}

.tm-home-redesign .tm-home-professional-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tm-home-redesign .tm-home-professional-card.is-enabled:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 20px 45px rgba(1, 11, 26, 0.34);
  transform: translateY(-3px);
}

/* TM-HOME-REDESIGN-09 — consolidated direct-reference composition. */
.tm-home-redesign {
  background: #ffffff;
}

.tm-home-redesign .container {
  width: min(1344px, calc(100% - 4rem));
}

.tm-home-topbar-inner {
  min-height: 34px;
}

.tm-home-topbar p,
.tm-home-topbar a,
.tm-home-topbar span {
  font-size: 0.72rem;
}

.tm-home-header-inner {
  gap: 1.5rem;
  min-height: 88px;
}

.tm-home-logo img {
  height: auto;
  max-height: 72px;
  width: 178px;
}

.tm-home-desktop-nav {
  gap: clamp(1.15rem, 1.8vw, 2rem);
}

.tm-home-desktop-nav a {
  align-items: center;
  display: inline-flex;
  font-size: 0.87rem;
  gap: 0.38rem;
}

.tm-home-desktop-nav a::after {
  background: transparent;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  bottom: auto;
  content: "";
  display: inline-block;
  height: 0.34rem;
  left: auto;
  margin-top: -0.18rem;
  position: static;
  transform: rotate(45deg) translateY(-0.08rem);
  transition: none;
  width: 0.34rem;
}

.tm-home-desktop-nav a:hover::after {
  transform: rotate(45deg) translateY(-0.08rem);
}

.tm-home-header-actions {
  gap: 0.8rem;
}

.tm-home-header-actions .tm-home-button {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
}

.tm-home-hero {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.tm-home-hero-inner {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-height: 342px;
}

.tm-home-hero-copy {
  max-width: 780px;
  padding: 2.35rem 0 2.1rem;
}

.tm-home-hero .tm-home-eyebrow {
  display: none;
}

.tm-home-hero h1 {
  font-size: clamp(2.35rem, 3.35vw, 3rem);
  line-height: 1.04;
  margin-bottom: 0.95rem;
  max-width: 780px;
}

.tm-home-hero h1 > span {
  white-space: nowrap;
}

.tm-home-hero-copy > p {
  font-size: 0.98rem;
  line-height: 1.58;
  margin-bottom: 1.3rem;
  max-width: 650px;
}

.tm-home-hero-actions {
  gap: 0.85rem;
}

.tm-home-hero-actions .tm-home-button {
  min-height: 46px;
  padding: 0.7rem 1.3rem;
}

.tm-home-hero-overlay {
  background: linear-gradient(90deg, rgba(1, 15, 35, 0.94) 0%, rgba(2, 24, 49, 0.72) 48%, rgba(2, 20, 42, 0.12) 82%);
}

.tm-home-indicator-band {
  background: rgba(2, 20, 44, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.tm-home-indicators {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tm-home-indicators > div {
  align-items: center;
  display: grid;
  gap: 0.15rem 0.72rem;
  grid-template-columns: auto 1fr;
  min-height: 88px;
  padding: 0.7rem 0.9rem;
  text-align: left;
}

.tm-home-indicators > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tm-home-indicators span {
  grid-row: 1 / 3;
  height: 38px;
  margin: 0;
  width: 38px;
}

.tm-home-indicators strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.tm-home-indicators small {
  font-size: 0.68rem;
  line-height: 1.25;
}

.tm-home-section {
  padding: 2.65rem 0;
}

.tm-home-section-heading {
  margin-bottom: 1.25rem;
}

.tm-home-section-heading h2,
.tm-home-solutions-copy h2,
.tm-home-professionals-intro h2,
.tm-home-final-cta h2 {
  font-size: clamp(1.65rem, 2.15vw, 2.05rem);
  line-height: 1.1;
}

.tm-home-section-heading p,
.tm-home-solutions-copy > p,
.tm-home-professionals-intro > p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.tm-home-kicker {
  font-size: 0.68rem;
  margin-bottom: 0.65rem;
}

.tm-home-industries {
  padding-bottom: 2.65rem;
  padding-top: 1.85rem;
}

.tm-home-industries .tm-home-section-heading {
  margin-bottom: 1.2rem;
}

.tm-home-industries .tm-home-section-heading h2 {
  font-size: clamp(1.65rem, 2vw, 1.95rem);
  margin-bottom: 0.4rem;
}

.tm-home-industry-grid {
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-home-industry-card,
.tm-home-visual-card {
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(3, 18, 39, 0.13);
  min-height: 286px;
}

.tm-home-visual-card-content {
  min-height: 78%;
  padding: 1.25rem;
}

.tm-home-card-icon,
.tm-home-industry-card.is-aquaculture .tm-home-card-icon {
  height: 46px;
  margin-bottom: 0.75rem;
  width: 46px;
}

.tm-home-card-icon svg {
  height: 1.55rem;
  width: 1.55rem;
}

.tm-home-visual-card-content h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4rem;
}

.tm-home-visual-card-content p {
  font-size: 0.82rem;
  line-height: 1.48;
  margin-bottom: 0.85rem;
}

.tm-home-visual-card-content a,
.tm-home-visual-card-content .tm-home-disabled-action {
  border-radius: 8px;
  font-size: 0.78rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
}

.tm-home-placeholder-note {
  display: none;
}

.tm-home-solutions {
  padding-bottom: 2.15rem;
  padding-top: 2.15rem;
}

.tm-home-solutions-layout {
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: minmax(280px, 0.25fr) minmax(0, 0.75fr);
}

.tm-home-solutions-copy {
  max-width: 350px;
  position: static;
}

.tm-home-solutions-copy h2 {
  font-size: clamp(1.6rem, 2.05vw, 1.9rem);
  max-width: 16ch;
}

.tm-home-solutions-copy > p {
  margin-bottom: 1.25rem;
  max-width: 40ch;
}

.tm-home-solutions .tm-home-section-actions {
  align-items: center;
  gap: 1rem;
}

.tm-home-solutions .tm-home-button {
  min-height: 42px;
  padding: 0.6rem 1rem;
}

.tm-home-solutions-link {
  align-items: center;
  color: var(--home-blue);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 0.35rem;
}

.tm-home-solutions-link svg {
  height: 0.95rem;
  width: 0.95rem;
}

.tm-home-benefit-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tm-home-benefit-grid article,
.tm-home-benefit-grid article:nth-child(even),
.tm-home-benefit-grid article:nth-last-child(-n + 2) {
  border: 0;
  min-height: 105px;
  padding: 0.5rem 0.62rem;
}

.tm-home-benefit-grid article > span {
  height: 36px;
  margin-bottom: 0.48rem;
  width: 36px;
}

.tm-home-benefit-grid article > span svg {
  height: 1.2rem;
  width: 1.2rem;
}

.tm-home-benefit-grid h3 {
  font-size: 0.76rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.tm-home-benefit-grid p {
  font-size: 0.63rem;
  line-height: 1.4;
}

.tm-home-ecosystem {
  padding-bottom: 2.05rem;
  padding-top: 2.05rem;
}

.tm-home-ecosystem .tm-home-section-heading {
  margin-bottom: 1rem;
}

.tm-home-logo-grid {
  gap: 0.72rem;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.tm-home-logo-placeholder,
.tm-home-logo-cta {
  border-radius: 10px;
  min-height: 104px;
  min-width: 0;
  padding: 0.62rem 0.45rem;
}

.tm-home-logo-placeholder span,
.tm-home-logo-cta > span {
  align-items: center;
  background: #eef4f8;
  border-radius: 10px;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 48px;
}

.tm-home-logo-placeholder svg,
.tm-home-logo-cta svg {
  height: 1.55rem;
  width: 1.55rem;
}

.tm-home-logo-placeholder small {
  color: #617086;
  font-size: 0.63rem;
  line-height: 1.35;
}

.tm-home-logo-cta {
  background: #ffffff;
  border: 1px dashed #9ab7d0;
  box-shadow: none;
  color: var(--home-blue);
}

.tm-home-logo-cta:hover {
  box-shadow: 0 8px 20px rgba(4, 45, 84, 0.1);
  transform: translateY(-2px);
}

.tm-home-logo-cta > span {
  color: var(--home-blue);
}

.tm-home-logo-cta strong {
  font-size: 0.73rem;
  line-height: 1.3;
}

.tm-home-professionals {
  background: linear-gradient(90deg, #f4f8fc, #ffffff);
  color: var(--home-ink);
  padding-bottom: 1.85rem;
  padding-top: 1.85rem;
}

.tm-home-professionals-layout,
.tm-home-practices-layout {
  align-items: stretch;
  gap: 1.3rem;
  grid-template-columns: minmax(250px, 0.23fr) minmax(0, 0.77fr);
}

.tm-home-professionals-intro,
.tm-home-practices .tm-home-section-heading {
  align-self: center;
  margin-bottom: 0;
  max-width: 310px;
}

.tm-home-professionals-intro h2,
.tm-home-practices .tm-home-section-heading h2 {
  font-size: clamp(1.6rem, 1.95vw, 1.8rem);
  line-height: 1.1;
}

.tm-home-professionals-intro > p,
.tm-home-practices .tm-home-section-heading > p {
  font-size: 0.8rem;
  line-height: 1.52;
}

.tm-home-professionals-intro h2,
.tm-home-professionals-intro > p {
  color: var(--home-navy-900);
}

.tm-home-professionals-intro > p {
  opacity: 1;
}

.tm-home-professional-grid,
.tm-home-practice-grid {
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-home-professional-card {
  border-radius: 12px;
  min-height: 226px;
  padding: 0.9rem;
}

.tm-home-professional-card > span,
.tm-home-professional-card.is-aquaculture > span {
  height: 40px;
  width: 40px;
}

.tm-home-professional-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.35rem;
}

.tm-home-professional-card p {
  font-size: 0.67rem;
  line-height: 1.42;
  margin-bottom: 0.65rem;
}

.tm-home-professional-card a,
.tm-home-professional-card small {
  font-size: 0.72rem;
}

.tm-home-practices {
  background: #ffffff;
  padding-bottom: 1.9rem;
  padding-top: 1.9rem;
}

.tm-home-practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tm-home-practice-actions .tm-home-button {
  font-size: 0.72rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
}

.tm-home-practice-grid article,
.tm-home-practice-grid article.is-maritime,
.tm-home-practice-grid article.is-port,
.tm-home-practice-grid article.is-aquaculture,
.tm-home-practice-grid article.is-staff {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(4, 21, 47, 0.08);
  color: var(--home-navy-900);
  min-height: 262px;
  padding: 0;
}

.tm-home-redesign .tm-home-practice-grid article[data-photo-status="available"]::before,
.tm-home-redesign .tm-home-practice-grid article[data-photo-status="available"]::after {
  display: none;
}

.tm-home-practice-media {
  aspect-ratio: auto;
  flex-basis: 46%;
  min-height: 122px;
  overflow: hidden;
  position: relative;
}

.tm-home-redesign .tm-home-practice-media .tm-home-card-photo {
  filter: brightness(0.98) saturate(0.94) contrast(1.02);
}

.tm-home-practice-body {
  background: #ffffff;
  flex-basis: 54%;
  min-height: 138px;
  padding: 0.85rem;
}

.tm-home-practice-grid h3 {
  color: var(--home-navy-900);
  font-size: 0.9rem;
  line-height: 1.22;
}

.tm-home-practice-grid p {
  color: #66768a;
  font-size: 0.65rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.tm-home-practice-link {
  color: var(--home-blue);
  font-size: 0.66rem;
}

.tm-home-academic {
  padding-bottom: 2.05rem;
  padding-top: 2.05rem;
}

.tm-home-academic .tm-home-section-heading {
  margin-bottom: 1rem;
  max-width: 820px;
}

.tm-home-academic .tm-home-section-heading h2 {
  font-size: clamp(1.45rem, 1.9vw, 1.75rem);
  max-width: 30ch;
}

.tm-home-academic-logos {
  gap: 0.72rem;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.tm-home-academic-logos > div {
  border-radius: 10px;
  min-height: 94px;
  min-width: 0;
  padding: 0.7rem 0.55rem;
}

.tm-home-academic-logos > div > span {
  align-items: center;
  background: #eef4f8;
  border-radius: 9px;
  color: #70839a;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 48px;
}

.tm-home-academic-logos > div > span svg {
  height: 1.45rem;
  width: 1.45rem;
}

.tm-home-academic-logos small {
  color: #617086;
  font-size: 0.62rem;
  line-height: 1.3;
}

.tm-home-academic-logos .tm-home-academic-cta {
  background: #ffffff;
  border: 1px dashed #9ab7d0;
  color: var(--home-blue);
}

.tm-home-academic-logos .tm-home-academic-cta > span {
  color: var(--home-blue);
}

.tm-home-academic-cta strong {
  font-size: 0.7rem;
  line-height: 1.3;
}

.tm-home-academic-tags {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.tm-home-academic-tags span {
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.65rem;
  gap: 0.45rem;
  justify-content: flex-start;
  min-height: 38px;
  min-width: 0;
  padding: 0.45rem;
}

.tm-home-academic-tags svg {
  color: var(--home-blue);
  flex: 0 0 auto;
  height: 1.25rem;
  width: 1.25rem;
}

@media (min-width: 641px) {
  .tm-home-redesign .tm-home-academic {
    padding-bottom: 2.3rem;
  }

  .tm-home-redesign .tm-home-academic .tm-home-section-heading {
    margin-bottom: 1.2rem;
  }

  .tm-home-redesign .tm-home-academic-tags {
    margin-top: 1.15rem;
  }
}

.tm-home-dark-benefits {
  padding: 2rem 0 1.35rem;
}

.tm-home-dark-layout {
  align-items: stretch;
  gap: 0;
  grid-template-columns: minmax(210px, 1.15fr) repeat(4, minmax(120px, 0.82fr)) minmax(225px, 1.2fr);
}

.tm-home-dark-intro {
  display: block;
  padding: 0.25rem 1.2rem 0 0;
}

.tm-home-dark-intro h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 2.15vw, 1.95rem);
  line-height: 1.08;
  max-width: 12ch;
}

.tm-home-dark-grid {
  display: contents;
}

.tm-home-dark-grid article,
.tm-home-dark-grid article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 166px;
  padding: 0.25rem 0.8rem;
}

.tm-home-dark-grid article > span {
  height: 42px;
  margin-bottom: 0.7rem;
  width: 42px;
}

.tm-home-dark-grid h3 {
  font-size: 0.86rem;
  line-height: 1.25;
}

.tm-home-dark-grid p {
  font-size: 0.67rem;
  line-height: 1.5;
}

.tm-home-trust-panel {
  align-self: stretch;
  border-radius: 12px;
  justify-content: flex-end;
  margin: 0 0 0 1rem;
  min-height: 166px;
  padding: 1rem;
}

.tm-home-trust-panel > span {
  height: 44px;
  width: 44px;
}

.tm-home-trust-panel strong {
  font-size: 0.86rem;
  line-height: 1.35;
}

.tm-home-trust-panel p {
  font-size: 0.7rem;
  line-height: 1.5;
}

.tm-home-final-cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 7, 19, 0.24);
  margin-top: 1.2rem;
  padding: 1.05rem 1.35rem;
}

@media (min-width: 641px) {
  .tm-home-redesign .tm-home-final-cta {
    margin-top: 2.5rem;
  }
}

.tm-home-final-cta-inner {
  gap: 1.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.tm-home-final-cta-icon {
  border-radius: 50%;
  height: 54px;
  width: 54px;
}

.tm-home-final-cta-icon svg {
  height: 30px;
  width: 30px;
}

.tm-home-final-cta h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.1;
  max-width: 26ch;
}

.tm-home-final-cta-inner > div:last-child {
  align-items: flex-start;
  gap: 0.5rem;
}

@media (min-width: 1025px) {
  .tm-home-redesign .tm-home-final-cta-inner > div:last-child {
    align-items: center;
    flex-direction: column;
  }
}

.tm-home-final-cta .tm-home-button {
  min-height: 44px;
  min-width: 190px;
}

.tm-home-cta-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  text-align: center;
  width: 100%;
}

.tm-home-cta-contact:hover {
  color: #ffffff;
}

.tm-home-footer {
  min-height: 380px;
  padding: 4rem 0 1.75rem;
}

.tm-home-footer-grid {
  gap: clamp(1.4rem, 2.3vw, 2.6rem);
  grid-template-columns: minmax(250px, 1.45fr) repeat(5, minmax(105px, 0.7fr));
  min-height: 170px;
}

.tm-home-footer-brand img {
  filter: brightness(0) invert(1);
  height: auto;
  margin-bottom: 1rem;
  width: 165px;
}

.tm-home-footer-brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 310px;
}

.tm-home-footer nav {
  gap: 0.72rem;
}

.tm-home-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}

.tm-home-footer nav a,
.tm-home-footer nav span,
.tm-home-footer-brand a {
  font-size: 0.76rem;
  line-height: 1.4;
}

.tm-home-footer-bottom {
  margin-top: 3.25rem;
  padding-top: 1.3rem;
}

.tm-home-footer-legal {
  align-items: center;
  display: flex;
  gap: 1.1rem;
}

@media (max-width: 1180px) {
  .tm-home-redesign .container {
    width: min(100% - 2.5rem, 1120px);
  }

  .tm-home-desktop-nav {
    gap: 1rem;
  }

  .tm-home-solutions-layout {
    grid-template-columns: minmax(280px, 0.3fr) minmax(0, 0.7fr);
  }

  .tm-home-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tm-home-professionals-layout,
  .tm-home-practices-layout {
    gap: 1.1rem;
    grid-template-columns: minmax(235px, 0.25fr) minmax(0, 0.75fr);
  }

  .tm-home-professionals-intro,
  .tm-home-practices .tm-home-section-heading {
    max-width: 290px;
  }

  .tm-home-academic-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tm-home-academic-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-dark-layout {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .tm-home-dark-intro {
    padding-right: 0;
  }

  .tm-home-dark-intro h2 {
    max-width: 17ch;
  }

  .tm-home-dark-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tm-home-dark-grid article,
  .tm-home-dark-grid article:first-child {
    min-height: 180px;
  }

  .tm-home-trust-panel {
    margin-left: 0;
    max-width: 720px;
    min-height: 0;
  }

  .tm-home-footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tm-home-footer-brand {
    grid-column: 1 / -1;
    max-width: 500px;
  }
}

@media (max-width: 920px) {
  .tm-home-topbar {
    display: none;
  }

  .tm-home-header-inner {
    min-height: 76px;
  }

  .tm-home-logo img {
    max-height: 62px;
    width: 154px;
  }

  .tm-home-hero {
    min-height: 540px;
  }

  .tm-home-hero-inner {
    min-height: 370px;
  }

  .tm-home-professionals-layout,
  .tm-home-practices-layout {
    grid-template-columns: 1fr;
  }

  .tm-home-professionals-intro,
  .tm-home-practices .tm-home-section-heading {
    max-width: 680px;
  }

  .tm-home-indicators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-indicators > div:nth-child(4) {
    border-left: 0;
  }

  .tm-home-indicators > div:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .tm-home-indicators > div {
    min-height: 78px;
  }

  .tm-home-solutions-layout {
    grid-template-columns: 1fr;
  }

  .tm-home-solutions-copy {
    max-width: 680px;
  }

  .tm-home-benefit-grid,
  .tm-home-professional-grid,
  .tm-home-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-home-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-home-professional-card {
    min-height: 240px;
  }

  .tm-home-academic-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .tm-home-final-cta-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tm-home-final-cta-inner > div:last-child {
    grid-column: 2;
  }

  .tm-home-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tm-home-redesign .container {
    width: min(100% - 1.5rem, 680px);
  }

  .tm-home-hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 2.85rem);
  }

  .tm-home-hero h1 > span {
    white-space: normal;
  }

  .tm-home-industry-grid,
  .tm-home-logo-grid,
  .tm-home-academic-logos,
  .tm-home-academic-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-home-industry-card,
  .tm-home-industry-card:last-child,
  .tm-home-visual-card {
    min-height: 300px;
  }

  .tm-home-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .tm-home-final-cta-inner > div:last-child {
    grid-column: 1;
  }

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

  .tm-home-footer-brand {
    grid-column: 1 / -1;
  }

  .tm-home-footer {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .tm-home-benefit-grid,
  .tm-home-professional-grid,
  .tm-home-practice-grid,
  .tm-home-dark-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-dark-grid article,
  .tm-home-dark-grid article:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    min-height: 0;
    padding: 1.25rem 0;
  }

  .tm-home-dark-grid article:first-child {
    border-top: 0;
  }
}

@media (max-width: 480px) {
  .tm-home-logo img {
    max-height: 56px;
    width: 142px;
  }

  .tm-home-hero {
    min-height: 600px;
  }

  .tm-home-hero-inner {
    min-height: 348px;
  }

  .tm-home-hero-copy {
    padding: 2rem 0;
  }

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

  .tm-home-indicators > div,
  .tm-home-indicators > div:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
    min-height: 76px;
  }

  .tm-home-indicators > div:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .tm-home-indicators > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tm-home-industry-grid,
  .tm-home-logo-grid,
  .tm-home-academic-logos,
  .tm-home-academic-tags,
  .tm-home-footer-grid {
    grid-template-columns: 1fr;
  }

  .tm-home-logo-placeholder,
  .tm-home-logo-cta,
  .tm-home-academic-logos > div {
    min-height: 120px;
  }

  .tm-home-solutions .tm-home-section-actions,
  .tm-home-practice-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-home-final-cta {
    padding: 1.6rem 1.2rem;
  }

  .tm-home-final-cta h2 {
    font-size: 1.75rem;
  }

  .tm-home-final-cta .tm-home-button {
    min-width: 0;
    width: 100%;
  }

  .tm-home-footer-brand {
    grid-column: auto;
  }

  .tm-home-footer-bottom,
  .tm-home-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tm-home-redesign *,
  .tm-home-redesign *::before,
  .tm-home-redesign *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .tm-home-hero-video {
    display: none;
  }
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(235, 106, 43, 0.18), transparent 24%),
    linear-gradient(180deg, #f9fcff 0%, #eef5f8 100%);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); }
.internal-brand-logo img {
  display: block;
  height: 3.1rem;
  max-width: 11.5rem;
  object-fit: contain;
}
.brand-mark {
  width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 1rem; background: linear-gradient(145deg, var(--navy), var(--orange));
  color: var(--white); font-weight: 700;
}
.main-nav, .nav-actions {
  display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
}
.main-nav a { color: var(--muted); }
.button {
  border: 0; border-radius: 999px; padding: 0.9rem 1.2rem; display: inline-flex;
  align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, var(--navy), #1f5c95); color: var(--white); box-shadow: var(--shadow); }
.button-secondary { background: linear-gradient(135deg, var(--orange), #f08b3b); color: var(--white); }
.button-outline, .button-ghost {
  background: transparent; border: 1px solid rgba(13, 53, 93, 0.22); color: var(--navy);
}
.button.small { padding: 0.65rem 0.9rem; font-size: 0.92rem; }
.user-pill {
  padding: 0.6rem 0.9rem; border-radius: 999px; background: rgba(13, 53, 93, 0.08);
  color: var(--navy); font-size: 0.92rem;
}
.hero { padding: 4.5rem 0 3rem; }
.hero-grid, .dashboard-grid, .card-grid, .stats-grid, .filter-grid, .form-grid, .results-grid, .hero-panel, .split-callout, .bullet-cards {
  display: grid; gap: 1.2rem;
}
.hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.hero h1, .section-head h1, .section-head h2 { margin: 0; line-height: 1.05; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); max-width: 12ch; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: 0.8rem;
}
.hero-actions, .actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-card, .panel-card, .result-card, .notice, .demo-box {
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.5rem; box-shadow: var(--shadow);
}
.metric-card {
  padding: 1.3rem; min-height: 138px; display: flex; flex-direction: column; justify-content: space-between;
}
.metric-card span { color: var(--muted); }
.metric-card strong { font-size: 2rem; color: var(--navy-deep); }
.metric-card.accent { background: linear-gradient(135deg, rgba(235, 106, 43, 0.14), rgba(13, 53, 93, 0.08)); }
.postgres-stats-panel { margin: 1.2rem 0; }
.postgres-stats-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem;
}
.postgres-stats-head h2 { margin: 0 0 0.45rem; color: var(--navy-deep); }
.postgres-stats-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.panel-title-row, .badge-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.panel-title-row { margin-bottom: 0.85rem; }
.panel-title-row h2 { margin: 0; }
.badge-row { justify-content: flex-end; }
.postgres-stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 0; }
.postgres-metric { min-height: 112px; box-shadow: none; border-color: rgba(13, 53, 93, 0.1); }
.postgres-metric strong { font-size: 1.65rem; }
.maritime-audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.postgres-preinscriptions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.preinscription-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.84);
}
.preinscription-card.is-error {
  border-color: rgba(201, 122, 16, 0.28);
  background: rgba(255, 248, 235, 0.9);
}
.preinscription-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.preinscription-card-head h3 {
  margin: 0;
  color: var(--navy-deep);
}
.preinscription-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.preinscription-metrics div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 0.65rem;
  background: rgba(13, 53, 93, 0.05);
}
.preinscription-metrics span,
.preinscription-meta dt {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.preinscription-metrics strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--navy-deep);
  font-size: 1.35rem;
}
.preinscription-meta {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}
.preinscription-meta div { min-width: 0; }
.preinscription-meta dd {
  margin: 0.1rem 0 0;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}
.preinscription-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.preinscription-list-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.84);
}
.preinscription-list-card.is-error {
  border-color: rgba(201, 122, 16, 0.28);
  background: rgba(255, 248, 235, 0.9);
}
.preinscription-list-card h3 {
  margin: 0;
  color: var(--navy-deep);
}
.safe-preinscription-table {
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}
.safe-preinscription-table table {
  min-width: 780px;
}
.safe-preinscription-table td:last-child {
  color: var(--muted);
  font-style: italic;
}
.safe-detail-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.safe-detail-link:hover {
  text-decoration: underline;
}
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.admin-hub-page {
  background:
    radial-gradient(circle at top left, rgba(13, 53, 93, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.92));
}
.admin-hub-container {
  display: grid;
  gap: 1.15rem;
}
.admin-hub-hero {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1.8rem;
}
.admin-hub-hero h1 {
  color: var(--navy-deep);
  margin: 0.2rem 0 0.45rem;
}
.admin-hub-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}
.admin-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}
.admin-nav-tabs {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.admin-nav-tab {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(9, 28, 48, 0.05);
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 1rem 1rem 0.95rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.admin-nav-tab:hover {
  border-color: rgba(13, 53, 93, 0.22);
  box-shadow: 0 14px 28px rgba(9, 28, 48, 0.08);
  transform: translateY(-1px);
}
.admin-nav-tab strong {
  color: var(--navy-deep);
  display: block;
  font-size: 1rem;
}
.admin-nav-tab span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
}
.admin-nav-tab.is-active {
  background: linear-gradient(135deg, rgba(13, 53, 93, 0.98), rgba(29, 114, 186, 0.92));
  border-color: rgba(13, 53, 93, 0.96);
}
.admin-nav-tab.is-active strong,
.admin-nav-tab.is-active span {
  color: #fff;
}
.admin-overview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-overview-card {
  min-height: 190px;
}
.admin-overview-card strong {
  font-size: 2.1rem;
}
.admin-overview-meta {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}
.admin-overview-meta small {
  color: var(--muted);
}
.admin-dashboard-grid {
  margin-top: 0;
}
.admin-support-card {
  border-color: rgba(13, 53, 93, 0.1);
}
.admin-support-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-support-grid article {
  background: rgba(13, 53, 93, 0.05);
  border-radius: 0.85rem;
  min-width: 0;
  padding: 0.9rem;
}
.admin-support-grid span,
.admin-evaluation-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
}
.admin-support-grid strong,
.admin-evaluation-grid strong {
  color: var(--navy-deep);
  display: block;
  margin-top: 0.18rem;
}
.admin-muted-copy {
  color: var(--muted);
  margin: 0.8rem 0 0;
}
.admin-original-dashboard {
  background:
    radial-gradient(circle at 8% 4%, rgba(59, 130, 246, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef5fb 100%);
}
.admin-original-dashboard.section {
  padding-top: 1.25rem;
}
.admin-original-dashboard .admin-hub-container {
  gap: 1rem;
  width: min(1220px, calc(100% - 1rem));
}
.admin-original-hero {
  align-items: center;
  background: linear-gradient(90deg, #052b80 0%, #0d5fa6 58%, #0893b2 100%);
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(5, 43, 128, 0.22);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 118px;
  padding: 1.35rem 1.6rem;
}
.admin-original-title {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}
.admin-original-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.95rem;
  display: inline-flex;
  flex: 0 0 auto;
  height: 4rem;
  justify-content: center;
  width: 4rem;
}
.admin-original-hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin: 0;
}
.admin-original-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  margin: 0.35rem 0 0;
}
.admin-logout-button {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.admin-original-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 93, 159, 0.1);
  border-radius: 0.9rem;
  box-shadow: 0 10px 28px rgba(9, 28, 48, 0.08);
  min-width: 0;
  padding: 1.05rem;
}
.admin-original-card-head,
.admin-original-section-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.admin-original-card-head h2,
.admin-original-section-head h2 {
  color: #101828;
  font-size: 1.16rem;
  margin: 0;
}
.admin-original-card-head p,
.admin-original-section-head p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.28rem 0 0;
}
.admin-original-filters {
  align-items: end;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
  margin-bottom: 1rem;
}
.admin-original-filters input,
.admin-original-filters select {
  border-radius: 0.55rem;
  min-height: 2.65rem;
  padding: 0.65rem 0.8rem;
}
.admin-original-tabs {
  background: #f1f5f9;
  border-radius: 0.75rem;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  padding: 0.3rem;
}
.admin-original-tabs .admin-nav-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  box-shadow: none;
  display: flex;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.42rem 0.44rem;
  text-align: center;
}
.admin-original-tabs .admin-nav-tab strong {
  color: #344054;
  font-size: 0.9rem;
  line-height: 1.1;
}
.admin-original-tabs .admin-nav-tab span {
  display: none;
}
.admin-original-tabs .admin-nav-tab.is-active {
  background: #fff;
  border: 0;
  box-shadow: 0 6px 18px rgba(9, 28, 48, 0.09);
}
.admin-original-tabs .admin-nav-tab.is-active strong {
  color: #052b80;
}
.admin-original-tabs .admin-nav-tab.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}
.admin-uf-grid,
.admin-metric-strip {
  display: grid;
  gap: 0.85rem;
}
.admin-uf-layout {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
}
.admin-uf-main {
  align-items: stretch;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-uf-main > div,
.admin-uf-tariffs {
  border: 1px solid rgba(15, 93, 159, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}
.admin-uf-main > div {
  background: #f8fafc;
}
.admin-uf-main span,
.admin-uf-tariffs span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.42rem;
}
.admin-uf-main strong {
  color: #052b80;
  display: block;
  font-size: 1.8rem;
}
.admin-uf-tariffs {
  background: #eff6ff;
  display: grid;
  gap: 0.6rem;
}
.admin-uf-tariffs h3 {
  color: #1d4ed8;
  font-size: 0.96rem;
  margin: 0;
}
.admin-uf-tariffs div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}
.admin-uf-tariffs span {
  margin: 0;
}
.admin-uf-tariffs strong {
  color: #052b80;
  white-space: nowrap;
}
.admin-uf-main small,
.admin-uf-tariffs small,
.admin-uf-tariffs p {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0.25rem 0 0;
}
.admin-uf-tariffs div {
  align-items: flex-start;
  flex-wrap: wrap;
}
.admin-uf-tariffs div small {
  flex-basis: 100%;
}
.admin-uf-grid,
.admin-metric-strip.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-metric-strip.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.admin-metric-strip.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-metric-strip.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-pastel-card {
  border: 1px solid rgba(15, 93, 159, 0.08);
  border-radius: 0.75rem;
  min-height: 104px;
  padding: 0.85rem;
}
.admin-pastel-card span {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}
.admin-pastel-card strong {
  display: block;
  font-size: 1.88rem;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.admin-pastel-card small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}
.admin-pastel-card.is-blue { background: #eff6ff; color: #1d4ed8; }
.admin-pastel-card.is-green { background: #ecfdf3; color: #15803d; }
.admin-pastel-card.is-orange { background: #fff7ed; color: #ea580c; }
.admin-pastel-card.is-purple { background: #f5f3ff; color: #7c3aed; }
.admin-pastel-card.is-cyan { background: #ecfeff; color: #0891b2; }
.admin-distribution-list {
  display: grid;
  gap: 0.7rem;
}
.admin-distribution-list a {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(15, 93, 159, 0.08);
  border-radius: 0.7rem;
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
}
.admin-distribution-list span {
  color: #344054;
  font-weight: 700;
}
.admin-distribution-list strong {
  color: #052b80;
  font-size: 1.35rem;
}
.admin-original-dashboard .dashboard-grid {
  margin-top: 0;
}
.admin-document-top {
  background: #f8fafc;
  border: 1px solid rgba(15, 93, 159, 0.08);
  border-radius: 0.8rem;
  margin-top: 0.95rem;
  padding: 0.9rem;
}
.admin-document-top h3,
.admin-talent-lists h3 {
  color: #101828;
  font-size: 0.98rem;
  margin: 0 0 0.7rem;
}
.admin-talent-lists {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.95rem;
}
.admin-talent-lists > div {
  background: #f8fafc;
  border: 1px solid rgba(15, 93, 159, 0.08);
  border-radius: 0.8rem;
  padding: 0.9rem;
}
.admin-talent-lists a,
.admin-empty-row {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 93, 159, 0.08);
  border-radius: 0.65rem;
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  padding: 0.65rem 0.75rem;
}
.admin-talent-lists span,
.admin-empty-row span {
  color: #475467;
  font-weight: 700;
}
.admin-talent-lists strong,
.admin-empty-row strong {
  color: #052b80;
}
.admin-deficit-band {
  align-items: center;
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 0.75rem;
  color: #92400e;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.95rem;
  padding: 0.85rem 0.95rem;
}
.admin-showcase-card {
  background: #f0f9ff;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 0.9rem;
  box-shadow: 0 10px 28px rgba(9, 28, 48, 0.07);
  padding: 1.05rem;
}
.admin-showcase-head {
  background: #e0f2fe;
  border-radius: 0.75rem;
  margin-bottom: 0.95rem;
  padding: 0.9rem 1rem;
}
.admin-showcase-head h2 {
  color: #075985;
  font-size: 1.16rem;
  margin: 0;
}
.admin-showcase-head p {
  color: #0369a1;
  margin: 0.25rem 0 0;
}
.admin-showcase-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-showcase-grid article {
  background: #fff;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 0.8rem;
  padding: 1rem;
}
.admin-showcase-grid span {
  color: #0369a1;
  display: block;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.admin-showcase-grid strong {
  color: #075985;
  display: block;
  font-size: 2rem;
}
.admin-showcase-copy {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.7rem;
  color: #075985;
  margin-top: 0.95rem;
  padding: 0.8rem 0.9rem;
}
.admin-bottom-metrics {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.admin-bottom-metrics .admin-pastel-card {
  min-height: 94px;
}
.admin-bottom-metrics .admin-pastel-card strong {
  font-size: 1.65rem;
}
.admin-preview-panel {
  border-color: rgba(13, 53, 93, 0.1);
}
.admin-preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-preview-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 1rem;
  min-width: 0;
  padding: 1rem;
}
.admin-preview-card h3 {
  margin: 0;
}
.admin-preview-table table {
  min-width: 100%;
}

/* P5.2F: replica visual del dashboard administrativo original */
.tm-original-admin.admin-original-dashboard {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #eff6ff 100%);
  color: #0f172a;
  min-height: 100vh;
  padding: 0;
}
.tm-admin-page-header {
  background: linear-gradient(90deg, #052b80 0%, #1b72ba 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  color: #fff;
}
.tm-admin-container {
  margin: 0 auto;
  max-width: 1280px;
  width: min(1280px, calc(100% - 3rem));
}
.tm-original-admin .tm-admin-container,
.tm-original-admin .admin-hub-container {
  max-width: 1400px;
  width: min(1400px, calc(100% - 3rem));
}
.tm-admin-page-header .tm-admin-container {
  padding: 2rem 0;
}
.tm-original-admin .admin-hub-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
}
.tm-original-admin .admin-original-hero {
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.18), 0 4px 6px -4px rgba(15, 23, 42, 0.16);
  min-height: 128px;
  padding: 1.5rem;
}
.tm-original-admin .admin-original-icon {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 3rem;
  width: 3rem;
}
.tm-original-admin .admin-original-hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
}
.tm-original-admin .admin-original-hero p {
  color: #dbeafe;
  font-size: 1rem;
}
.tm-original-admin .admin-logout-button {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  color: #1e40af;
  display: inline-flex;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
}
.tm-original-admin .admin-original-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}
.tm-original-admin .admin-original-card-head,
.tm-original-admin .admin-original-section-head {
  margin-bottom: 1.5rem;
}
.tm-original-admin .admin-original-card-head h2,
.tm-original-admin .admin-original-section-head h2 {
  align-items: center;
  color: #0f172a;
  display: flex;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.5rem;
  line-height: 1.25;
}
.tm-original-admin .admin-original-card-head p,
.tm-original-admin .admin-original-section-head p {
  color: #64748b;
  font-size: 0.875rem;
}
.tm-original-admin .admin-original-filters {
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 200px auto;
  margin-bottom: 1.5rem;
}
.tm-original-admin .admin-original-filters .field {
  margin: 0;
}
.tm-original-admin .admin-search-field {
  position: relative;
}
.tm-original-admin .admin-search-field span {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  left: 0.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.tm-original-admin .admin-original-filters label {
  display: none;
}
.tm-original-admin .admin-original-filters input,
.tm-original-admin .admin-original-filters select {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  color: #0f172a;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
}
.tm-original-admin .admin-original-filters input {
  padding-left: 2.5rem;
}
.tm-original-admin .admin-original-tabs {
  background: #f1f5f9;
  border: 1px solid #eef2f7;
  border-radius: 0.55rem;
  gap: 0;
  padding: 0.22rem;
}
.tm-original-admin .admin-original-tabs .admin-nav-tab {
  border: 1px solid transparent;
  border-radius: 0.42rem;
  gap: 0.5rem;
  min-height: 2.7rem;
  padding: 0.42rem 0.55rem;
}
.tm-original-admin .admin-original-tabs .admin-nav-tab strong {
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}
.tm-original-admin .admin-original-tabs .admin-nav-tab svg {
  color: #0f172a;
  height: 1rem;
  width: 1rem;
}
.tm-original-admin .admin-original-tabs .admin-nav-tab.is-active {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.tm-original-admin .admin-original-tabs .admin-nav-tab.is-active strong {
  color: #0f172a;
}
.tm-original-admin .admin-original-tabs .admin-nav-tab.is-disabled {
  opacity: 0.72;
}
.tm-original-admin .admin-uf-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tm-original-admin .admin-uf-main {
  gap: 1rem;
  grid-column: span 2;
}
.tm-original-admin .admin-uf-main > div,
.tm-original-admin .admin-uf-tariffs {
  border: 0;
  border-radius: 0.5rem;
  padding: 1rem;
}
.tm-original-admin .admin-uf-main > div {
  background: transparent;
  padding-left: 0;
}
.tm-original-admin .admin-uf-main span,
.tm-original-admin .admin-uf-tariffs span {
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
}
.tm-original-admin .admin-uf-main strong {
  color: #2563eb;
  font-size: 1.5rem;
  font-weight: 700;
}
.tm-original-admin .admin-uf-inline {
  align-items: center;
  color: #0f172a !important;
  display: flex !important;
  font-size: 1.125rem !important;
  gap: 0.5rem;
}
.tm-original-admin .admin-uf-tariffs {
  background: #eff6ff;
  gap: 0.25rem;
}
.tm-original-admin .admin-uf-tariffs h3 {
  color: #1e3a8a;
  font-size: 0.875rem;
  font-weight: 600;
}
.tm-original-admin .admin-uf-tariffs div {
  font-size: 0.875rem;
}
.tm-original-admin .admin-uf-tariffs span {
  color: #334155;
  font-weight: 400;
}
.tm-original-admin .admin-uf-tariffs strong {
  color: #1e3a8a;
}
.tm-original-admin .admin-uf-actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}
.tm-original-admin .admin-uf-actions .button,
.tm-company-ficha-actions .button {
  border-radius: 0.375rem;
  min-height: 2.5rem;
  padding: 0.62rem 1rem;
}
.tm-original-admin .admin-uf-form input {
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 0.375rem;
  color: #0f172a;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  width: min(240px, 100%);
}
.tm-original-admin .admin-uf-notice {
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
}
.tm-original-admin .admin-uf-notice.success {
  background: #ecfdf5;
  color: #166534;
}
.tm-original-admin .admin-uf-notice.error {
  background: #fef2f2;
  color: #991b1b;
}
.tm-original-admin .admin-pastel-card {
  border: 0;
  border-radius: 0.5rem;
  min-height: 122px;
  padding: 1rem;
}
.tm-original-admin .admin-pastel-card span {
  align-items: center;
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.tm-original-admin .admin-pastel-card strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tm-original-admin .admin-pastel-card small {
  color: #64748b;
  display: block;
  font-size: 0.75rem;
}
.tm-original-admin .admin-pastel-card.is-purple { background: #faf5ff; }
.tm-original-admin .admin-pastel-card.is-green { background: #f0fdf4; }
.tm-original-admin .admin-pastel-card.is-blue { background: #eff6ff; }
.tm-original-admin .admin-pastel-card.is-orange { background: #fff7ed; }
.tm-original-admin .admin-pastel-card.is-cyan { background: #ecfeff; }
.tm-original-admin .admin-pastel-card.is-indigo { background: #eef2ff; }
.tm-original-admin .admin-pastel-card.is-red { background: #fef2f2; }
.tm-original-admin .admin-pastel-card.is-purple span { color: #581c87; }
.tm-original-admin .admin-pastel-card.is-green span { color: #14532d; }
.tm-original-admin .admin-pastel-card.is-blue span { color: #1e3a8a; }
.tm-original-admin .admin-pastel-card.is-orange span { color: #9a3412; }
.tm-original-admin .admin-pastel-card.is-cyan span { color: #164e63; }
.tm-original-admin .admin-pastel-card.is-indigo span { color: #312e81; }
.tm-original-admin .admin-pastel-card.is-red span { color: #7f1d1d; }
.tm-original-admin .admin-pastel-card.is-purple strong,
.tm-original-admin .admin-pastel-card.is-purple svg { color: #9333ea; }
.tm-original-admin .admin-pastel-card.is-green strong,
.tm-original-admin .admin-pastel-card.is-green svg { color: #16a34a; }
.tm-original-admin .admin-pastel-card.is-blue strong,
.tm-original-admin .admin-pastel-card.is-blue svg { color: #2563eb; }
.tm-original-admin .admin-pastel-card.is-orange strong,
.tm-original-admin .admin-pastel-card.is-orange svg { color: #ea580c; }
.tm-original-admin .admin-pastel-card.is-cyan strong,
.tm-original-admin .admin-pastel-card.is-cyan svg { color: #0891b2; }
.tm-original-admin .admin-pastel-card.is-indigo strong,
.tm-original-admin .admin-pastel-card.is-indigo svg { color: #4f46e5; }
.tm-original-admin .admin-pastel-card.is-red strong,
.tm-original-admin .admin-pastel-card.is-red svg { color: #dc2626; }
.tm-original-admin .admin-document-top {
  background: #f8fafc;
  border: 0;
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
}
.tm-original-admin .admin-document-top h3,
.tm-original-admin .admin-talent-lists h3 {
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.tm-original-admin .admin-talent-lists {
  gap: 1rem;
  margin-top: 1.5rem;
}
.tm-original-admin .admin-talent-lists > div {
  background: #f8fafc;
  border: 0;
  border-radius: 0.5rem;
  padding: 1rem;
}
.tm-original-admin .admin-talent-lists a,
.tm-original-admin .admin-empty-row {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 0.5rem;
  padding: 0.1rem 0;
}
.tm-original-admin .admin-talent-lists span,
.tm-original-admin .admin-empty-row span {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 400;
}
.tm-original-admin .admin-talent-lists strong,
.tm-original-admin .admin-empty-row strong {
  background: #f1f5f9;
  border-radius: 999px;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.16rem 0.5rem;
}
.tm-original-admin .admin-deficit-band {
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  color: #92400e;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: flex-start;
  margin-top: 1rem;
  padding: 1rem;
}
.tm-original-admin .admin-deficit-band strong {
  align-items: center;
  color: #713f12;
  display: flex;
  font-size: 0.875rem;
  gap: 0.5rem;
}
.tm-original-admin .admin-deficit-band span {
  color: #a16207;
  font-size: 0.875rem;
}
.tm-original-admin .admin-showcase-card {
  background: #fff;
  border: 2px solid #bfdbfe;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  padding: 0;
}
.tm-original-admin .admin-showcase-head {
  background: linear-gradient(90deg, #eff6ff 0%, #ecfeff 100%);
  border-radius: 0;
  margin-bottom: 0;
  padding: 1.5rem 1.5rem 0.9rem;
}
.tm-original-admin .admin-showcase-head h2 {
  align-items: center;
  color: #0f172a;
  display: flex;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.5rem;
}
.tm-original-admin .admin-showcase-head p {
  color: #64748b;
  font-size: 0.875rem;
}
.tm-original-admin .admin-showcase-grid {
  gap: 1.5rem;
  padding: 1.5rem;
}
.tm-original-admin .admin-showcase-grid article {
  border: 1px solid;
  border-radius: 0.5rem;
  padding: 1.5rem;
}
.tm-original-admin .admin-showcase-grid article.is-blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #bfdbfe; }
.tm-original-admin .admin-showcase-grid article.is-green { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.tm-original-admin .admin-showcase-grid article.is-purple { background: linear-gradient(135deg, #faf5ff, #f3e8ff); border-color: #e9d5ff; }
.tm-original-admin .admin-showcase-grid article.is-orange { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fed7aa; }
.tm-original-admin .admin-showcase-grid span {
  align-items: center;
  display: flex;
  font-size: 1.125rem;
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.tm-original-admin .admin-showcase-grid .is-blue span,
.tm-original-admin .admin-showcase-grid .is-blue strong { color: #2563eb; }
.tm-original-admin .admin-showcase-grid .is-green span,
.tm-original-admin .admin-showcase-grid .is-green strong { color: #16a34a; }
.tm-original-admin .admin-showcase-grid .is-purple span,
.tm-original-admin .admin-showcase-grid .is-purple strong { color: #9333ea; }
.tm-original-admin .admin-showcase-grid .is-orange span,
.tm-original-admin .admin-showcase-grid .is-orange strong { color: #ea580c; }
.tm-original-admin .admin-showcase-grid strong {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tm-original-admin .admin-showcase-grid small {
  color: #334155;
  display: block;
  font-size: 0.875rem;
}
.tm-original-admin .admin-showcase-copy {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  color: #1d4ed8;
  margin: 0 1.5rem 1.5rem;
  padding: 1rem;
}
.tm-original-admin .admin-showcase-copy strong {
  color: #1e3a8a;
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.tm-original-admin .admin-showcase-copy p {
  color: #1d4ed8;
  font-size: 0.875rem;
  font-style: italic;
  margin: 0;
}
.tm-original-admin .admin-bottom-metrics {
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.tm-original-admin .admin-bottom-metrics .admin-pastel-card {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  min-height: 116px;
  padding: 1.5rem;
}
.tm-original-admin .admin-bottom-metrics .admin-pastel-card span {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.tm-original-admin .admin-bottom-metrics .admin-pastel-card strong {
  font-size: 1.875rem;
}
.tm-original-admin .admin-bottom-metrics .admin-pastel-card.is-green strong { color: #16a34a; }
.tm-original-admin .admin-bottom-metrics .admin-pastel-card.is-orange strong { color: #e85303; }
.tm-original-admin .admin-bottom-metrics .admin-pastel-card.is-blue strong,
.tm-original-admin .admin-bottom-metrics .admin-pastel-card.is-purple strong { color: #052b80; }
.tm-admin-layout main {
  padding-top: 0;
}
.tm-original-admin .panel-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}
.tm-original-admin .panel-title-row h2 {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 600;
}
.tm-original-admin .panel-title-row p,
.tm-original-admin .panel-card p,
.tm-original-admin .panel-card small {
  color: #64748b;
}
.tm-original-admin .eyebrow {
  color: #e85303;
  margin-bottom: 0.65rem;
}
.tm-admin-results-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.75rem;
  white-space: nowrap;
}
.tm-original-admin .tm-admin-tab-card {
  margin-top: 0;
  padding: 1.5rem;
}
.tm-admin-date-filters,
.tm-admin-company-filters {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tm-admin-date-filters label {
  color: #334155;
  display: grid;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.45rem;
}
.tm-admin-date-filters input,
.tm-admin-company-filters select {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.42rem;
  color: #64748b;
  min-height: 2.65rem;
  padding: 0.6rem 0.78rem;
}
.tm-admin-bars {
  display: grid;
  gap: 1.15rem;
}
.tm-admin-bar-row {
  display: grid;
  gap: 0.48rem;
}
.tm-admin-bar-row > div:first-child {
  align-items: center;
  color: #334155;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: space-between;
  gap: 1rem;
}
.tm-admin-bar-row strong {
  color: #0f172a;
  font-size: 0.95rem;
}
.tm-admin-bar-track {
  background: #e5e7eb;
  border-radius: 999px;
  height: 0.78rem;
  overflow: hidden;
}
.tm-admin-bar-track span {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: inherit;
  display: block;
  height: 100%;
}
.tm-admin-chart-summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.65rem;
}
.tm-admin-chart-summary article,
.tm-admin-membership-info {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 0.55rem;
  padding: 1rem;
}
.tm-admin-chart-summary span,
.tm-admin-membership-info span {
  color: #475569;
  display: block;
  font-size: 0.82rem;
}
.tm-admin-chart-summary strong {
  color: #1d4ed8;
  display: block;
  font-size: 1.8rem;
  margin-top: 0.25rem;
}
.tm-admin-company-filters {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 220px));
  margin-bottom: 1rem;
}
.tm-admin-company-filters select {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #0f172a;
  font-size: 0.88rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
}
.tm-admin-membership-info {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-bottom: 1.05rem;
  min-height: 0;
}
.tm-admin-membership-info strong {
  color: #1e3a8a;
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}
.tm-admin-membership-info .tm-admin-membership-icon {
  align-items: center;
  color: #2563eb;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.35rem;
  justify-content: center;
  margin-top: 0.02rem;
  width: 1.35rem;
}
.tm-admin-membership-info span strong {
  color: inherit;
  display: inline;
  font-size: inherit;
  margin: 0;
}
.tm-admin-original-table {
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  overflow-x: auto;
}
.tm-admin-original-table table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}
.admin-filter-clear {
  min-height: 2.5rem;
  white-space: nowrap;
}
.tm-admin-company-table table {
  min-width: 1260px;
}
.tm-admin-original-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.58rem 0.62rem;
  text-align: left;
  white-space: nowrap;
}
.tm-admin-original-table td {
  border-top: 1px solid #edf2f7;
  color: #334155;
  font-size: 0.8rem;
  padding: 0.52rem 0.62rem;
  vertical-align: middle;
  white-space: nowrap;
}
.tm-admin-original-table tr:hover td {
  background: #f8fafc;
}
.tm-admin-original-table .button.small {
  min-height: 1.9rem;
  padding: 0.3rem 0.5rem;
}
.tm-admin-status {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  min-height: 1.5rem;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}
.tm-admin-status.is-success {
  background: #dcfce7;
  color: #166534;
}
.tm-admin-status.is-warning {
  background: #ffedd5;
  border-color: #fdba74;
  color: #c2410c;
}
.tm-admin-status.is-muted {
  background: #e2e8f0;
  color: #334155;
}
.tm-admin-status.is-danger {
  background: #fee2e2;
  color: #991b1b;
}

.tm-secure-file-disabled {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  cursor: not-allowed;
  opacity: 0.72;
}
.tm-admin-switch {
  align-items: center;
  appearance: none;
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.22rem;
  padding: 0.14rem;
  position: relative;
  width: 2.18rem;
}
.tm-admin-switch:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.tm-admin-switch.is-loading {
  opacity: 0.72;
  pointer-events: none;
}
.tm-admin-switch span {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
  display: block;
  height: 0.94rem;
  transform: translateX(0);
  transition: transform 0.16s ease;
  width: 0.94rem;
}
.tm-admin-switch.is-on {
  background: #16a34a;
}
.tm-admin-switch.is-on span {
  transform: translateX(0.96rem);
}
.tm-admin-state-cell {
  align-items: center;
  display: inline-flex;
  gap: 0.42rem;
}
.tm-admin-lock-icon {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  display: inline-flex;
  height: 1.55rem;
  justify-content: center;
  width: 1.55rem;
}
.tm-admin-person-name {
  color: #0f172a;
  display: inline-block;
  font-weight: 700;
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}
.tm-admin-muted-cell {
  color: #475569;
  display: inline-block;
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}
.tm-admin-action-link {
  align-items: center;
  border-color: #cbd5e1 !important;
  border-radius: 0.42rem !important;
  color: #0f172a !important;
  display: inline-flex !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  gap: 0.35rem;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.7rem !important;
}
.tm-admin-empty-panel[hidden],
.tm-admin-original-table table[hidden] {
  display: none !important;
}
.tm-admin-empty-panel {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  min-height: 315px;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.tm-admin-filter-empty {
  min-height: 190px;
  padding: 2rem 1.25rem;
}
.tm-admin-empty-panel h3 {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.tm-admin-empty-panel p {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0;
}
.tm-admin-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-top: 1rem;
}
.tm-admin-pagination-range,
.tm-admin-pagination-actions {
  color: #475569;
  font-size: 0.86rem;
}
.tm-admin-pagination-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tm-admin-pagination-actions label {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  margin: 0;
}
.tm-admin-pagination-actions select {
  border: 1px solid #d1d5db;
  border-radius: 0.42rem;
  min-height: 2rem;
  padding: 0.25rem 0.45rem;
}
.tm-admin-pagination-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.tm-admin-empty-icon {
  align-items: center;
  color: #94a3b8;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 0.1rem;
  opacity: 0.95;
}
.tm-admin-list-table table {
  min-width: 980px;
}
.tm-original-admin .tm-admin-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}
.tm-original-admin .safe-detail-link {
  color: #1d4ed8;
  font-weight: 700;
}
.tm-original-admin .safe-detail-link:hover {
  color: #1e3a8a;
}
.tm-original-admin .admin-detail-hero {
  margin-bottom: 0;
}
.tm-original-admin .admin-detail-hero div,
.tm-original-admin .admin-evaluation-grid div,
.tm-original-admin .admin-activation-grid div,
.tm-original-admin .admin-history-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}
.tm-original-admin .admin-detail-hero strong,
.tm-original-admin .admin-evaluation-grid strong,
.tm-original-admin .admin-activation-grid strong,
.tm-original-admin .admin-detail-card h2,
.tm-original-admin .admin-history-head strong,
.tm-original-admin .admin-evaluation-note strong,
.tm-original-admin .admin-activation-mail-form strong {
  color: #0f172a;
}
.tm-original-admin .admin-detail-card dl div {
  border-top: 1px solid #e2e8f0;
  padding: 0.7rem 0;
}
.tm-original-admin .admin-detail-card dl div:first-child {
  border-top: 0;
  padding-top: 0;
}
.tm-original-admin .admin-detail-card dt,
.tm-original-admin .admin-detail-hero span,
.tm-original-admin .admin-evaluation-grid span,
.tm-original-admin .admin-activation-grid span {
  color: #64748b;
}
.tm-original-admin .admin-detail-card dd {
  color: #0f172a;
}
.tm-original-admin .admin-evaluation-fieldset,
.tm-original-admin .admin-confirmation-box,
.tm-original-admin .admin-evaluation-textarea textarea,
.tm-original-admin .admin-activation-mail-form,
.tm-original-admin .document-metadata-card {
  border-color: #e2e8f0;
}
.tm-original-admin .document-metadata-card {
  background: #f8fafc;
  border-radius: 0.75rem;
}
.tm-original-admin .disabled-action-row span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  padding: 0.45rem 0.8rem;
}
.admin-filters-panel,
.admin-type-list-panel,
.admin-actions-pending-panel,
.admin-evaluation-panel,
.admin-activation-panel,
.admin-history-panel {
  border-color: rgba(13, 53, 93, 0.1);
}
.admin-filter-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.7fr) auto;
}
.admin-filter-actions {
  align-self: end;
}
.admin-type-table table {
  min-width: 980px;
}
.admin-evaluation-grid,
.admin-activation-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-evaluation-grid div,
.admin-activation-grid div,
.admin-history-item {
  background: rgba(13, 53, 93, 0.05);
  border-radius: 0.85rem;
  min-width: 0;
  padding: 0.9rem;
}
.admin-evaluation-note {
  margin-top: 0.9rem;
}
.admin-evaluation-note strong {
  color: var(--navy-deep);
  display: block;
}
.admin-evaluation-note p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}
.admin-evaluation-form,
.admin-activation-form {
  border-top: 1px solid rgba(13, 53, 93, 0.1);
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
}
.admin-evaluation-fieldset {
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 0.9rem;
  margin: 0;
  min-width: 0;
  padding: 0.95rem;
}
.admin-evaluation-fieldset legend {
  color: var(--navy-deep);
  font-weight: 800;
  padding: 0 0.35rem;
}
.admin-state-options,
.admin-check-grid {
  display: grid;
  gap: 0.65rem;
}
.admin-state-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-state-options label,
.admin-check-grid label {
  align-items: center;
  background: rgba(13, 53, 93, 0.04);
  border: 1px solid rgba(13, 53, 93, 0.08);
  border-radius: 0.75rem;
  color: var(--navy-deep);
  display: flex;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.78rem 0.85rem;
}
.admin-state-options input,
.admin-check-grid input {
  flex: 0 0 auto;
  width: auto;
}
.admin-evaluation-textarea {
  display: grid;
  gap: 0.4rem;
}
.admin-evaluation-textarea span {
  color: var(--navy-deep);
  font-weight: 800;
}
.admin-evaluation-textarea textarea {
  border: 1px solid rgba(13, 53, 93, 0.16);
  border-radius: 0.85rem;
  color: var(--ink);
  font: inherit;
  min-height: 130px;
  padding: 0.9rem 1rem;
  resize: vertical;
  width: 100%;
}
.admin-evaluation-submit-row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.admin-evaluation-submit-row span {
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-confirmation-box {
  align-items: flex-start;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(13, 53, 93, 0.12);
  border-radius: 0.85rem;
  color: var(--navy-deep);
  display: flex;
  gap: 0.65rem;
  line-height: 1.45;
  padding: 0.9rem 1rem;
}
.admin-confirmation-box input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  width: auto;
}
.admin-activation-mail-form {
  align-items: center;
  background: rgba(232, 83, 3, 0.06);
  border: 1px solid rgba(232, 83, 3, 0.18);
  border-radius: 0.9rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem;
}
.admin-activation-mail-form div {
  min-width: 0;
}
.admin-activation-mail-form strong {
  color: var(--navy-deep);
  display: block;
}
.admin-activation-mail-form p,
.admin-activation-mail-form small {
  color: var(--muted);
  margin: 0.25rem 0 0;
}
.admin-activation-mail-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.admin-evaluation-notice,
.admin-evaluation-disabled {
  border-radius: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
}
.admin-evaluation-notice.is-success {
  background: rgba(23, 127, 83, 0.1);
  border: 1px solid rgba(23, 127, 83, 0.24);
  color: #12623f;
}
.admin-evaluation-notice.is-error,
.admin-evaluation-disabled {
  background: rgba(255, 248, 235, 0.95);
  border: 1px solid rgba(201, 122, 16, 0.24);
  color: #7a4a08;
}
.admin-evaluation-notice ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}
.admin-evaluation-notice[hidden] {
  display: none;
}
.admin-evaluation-disabled strong {
  display: block;
  margin-bottom: 0.25rem;
}
.admin-evaluation-disabled p {
  margin: 0;
}
.admin-history-list {
  display: grid;
  gap: 0.8rem;
}
.admin-history-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.admin-history-head strong {
  color: var(--navy-deep);
}
.admin-history-head span,
.admin-history-item small {
  color: var(--muted);
}
.admin-history-item p {
  color: var(--navy-deep);
  margin: 0.35rem 0 0.2rem;
}
.admin-history-checks {
  color: var(--muted);
  display: grid;
  gap: 0.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}
.admin-detail-hero {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.admin-detail-hero div {
  min-width: 0;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(13, 53, 93, 0.05);
}
.admin-detail-hero span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.admin-detail-hero strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.admin-detail-card {
  box-shadow: none;
  border-color: rgba(13, 53, 93, 0.1);
}
.admin-detail-card h2,
.admin-detail-disabled h2 {
  margin-top: 0;
  color: var(--navy-deep);
}
.admin-detail-card dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}
.admin-detail-card dl div {
  min-width: 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(13, 53, 93, 0.08);
}
.admin-detail-card dt {
  color: var(--muted);
  font-size: 0.84rem;
}
.admin-detail-card dd {
  margin: 0.16rem 0 0;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}
.admin-detail-disabled {
  margin-top: 1rem;
  border-color: rgba(201, 122, 16, 0.24);
  background: rgba(255, 248, 235, 0.9);
}
.admin-activation-info {
  margin-top: 1rem;
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), #fff);
}
.admin-activation-info h2 {
  color: var(--navy-deep);
  margin: 0.25rem 0 0.35rem;
}
.activation-status-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}
.activation-status-grid div {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  min-width: 0;
  padding: 0.85rem;
}
.activation-status-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}
.activation-status-grid strong {
  color: var(--navy-deep);
  display: block;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
}
.activation-checklist {
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}
.button-disabled,
.button-disabled:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  opacity: 1;
}
.reconciliation-grid {
  display: grid;
  gap: 1rem;
}
.reconciliation-totals {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reconciliation-totals article,
.reconciliation-card {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 10px;
  min-width: 0;
  padding: 1rem;
}
.reconciliation-totals span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
}
.reconciliation-totals strong {
  color: var(--navy-deep);
  display: block;
  font-size: 1.6rem;
}
.reconciliation-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reconciliation-card ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}
.reconciliation-card li {
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-top: 0.55rem;
}
.reconciliation-card li span:first-child {
  color: var(--muted);
  min-width: 0;
}
.reconciliation-card li strong {
  color: var(--navy-deep);
}
.reconciliation-plan-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.96), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(201, 122, 16, 0.24);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1rem;
  padding: 1rem;
}
.reconciliation-plan-card h3 {
  color: var(--navy-deep);
  margin: 0 0 0.35rem;
}
.reconciliation-plan-card p {
  color: var(--muted);
  margin: 0;
}
.reconciliation-plan-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.reconciliation-plan-summary span {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
}
.reconciliation-plan-summary strong {
  color: var(--navy-deep);
}
.admin-audit-panel {
  border-color: rgba(13, 53, 93, 0.14);
}
.audit-plan-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
}
.audit-plan-card h3 {
  color: var(--navy-deep);
  margin: 0 0 0.35rem;
}
.audit-plan-card p {
  color: var(--muted);
  margin: 0;
}
.audit-detected-note {
  margin-top: 0.55rem !important;
}
.audit-plan-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.audit-plan-summary span {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  padding: 0.5rem 0.75rem;
}
.disabled-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.disabled-action-row span {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 53, 93, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
}
.audit-metric strong { font-size: 1.25rem; overflow-wrap: anywhere; }
.company-real-panel { margin: 1.2rem 0; }
.company-dashboard-page {
  background: #eef6ff;
}
.company-dashboard-shell {
  padding: 0 0 2.6rem;
}
.company-dashboard-shell > .container {
  max-width: none;
  width: min(1640px, calc(100% - 3rem));
}
.company-hero-strip {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.065);
  margin: 0 0 2.05rem;
  width: 100%;
}
.company-hero-strip > .container {
  max-width: none;
  width: min(1640px, calc(100% - 3rem));
}
.company-dashboard-shell .button {
  border-radius: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 2.55rem;
  padding: 0.68rem 1.05rem;
}
.company-dashboard-shell .button-primary {
  background: #052b80;
  border-color: #052b80;
  box-shadow: none;
}
.company-dashboard-shell .button-outline {
  background: #ffffff;
  border-color: #d1d9e6;
  color: #0f172a;
}
.company-hero-panel {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  min-height: 8.8rem;
  padding: 1.75rem 0;
}
.company-hero-icon {
  align-items: center;
  background: #052b80;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 5.25rem;
  justify-content: center;
  width: 5.25rem;
}
.company-hero-icon svg {
  height: 2.35rem;
  width: 2.35rem;
}
.company-hero-copy h1 {
  color: var(--navy-deep);
  font-size: clamp(1.82rem, 2.35vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
.company-hero-copy p {
  color: #667085;
  font-size: 1rem;
  font-weight: 400;
  margin: 0.5rem 0 0;
}
.company-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.company-hero-actions .button {
  min-height: 2.45rem;
  padding: 0.62rem 1rem;
}
.company-stat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 2rem;
}
.company-stat-card {
  background: #ffffff;
  border: 1px solid #edf0f5;
  border-radius: 0.58rem;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  min-height: 142px;
  padding: 1.45rem 1.55rem;
  position: relative;
  overflow: hidden;
}
.company-stat-card > span:not(.company-stat-icon) {
  color: #667085;
  font-size: 0.92rem;
  font-weight: 500;
}
.company-stat-card strong {
  color: #052b80;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.company-stat-card.is-blue strong,
.company-stat-card.is-blue .company-stat-icon { color: #2563eb; }
.company-stat-card.is-purple strong,
.company-stat-card.is-purple .company-stat-icon { color: #7c3aed; }
.company-stat-card.is-orange strong,
.company-stat-card.is-orange .company-stat-icon { color: #ea580c; }
.company-stat-card.is-green strong,
.company-stat-card.is-green .company-stat-icon { color: #16a34a; }
.company-stat-card.is-red strong,
.company-stat-card.is-red .company-stat-icon { color: #dc2626; }
.company-stat-icon {
  align-items: center;
  display: inline-flex;
  height: 1.4rem;
  justify-content: center;
  margin-bottom: 0.45rem;
  width: 1.4rem;
}
.company-stat-icon svg {
  fill: none;
  height: 1.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 1.1rem;
}
.company-tabs-card {
  background: #ffffff;
  border: 1px solid #edf0f5;
  border-radius: 0.58rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.045);
  padding: 1.85rem;
}
.company-tabs {
  background: #f3f5f8;
  border-radius: 0.48rem;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.85rem;
  padding: 0.32rem;
}
.company-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.45rem;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.68rem 0.85rem;
}
.company-tab.is-active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #052b80;
}
.company-tabs-card .panel-card {
  border-color: #e2e8f0;
  border-radius: 0.55rem;
  box-shadow: none;
  padding: 1.9rem 2rem;
}
.company-tabs-card .panel-title-row h2 {
  font-size: 1.22rem;
  font-weight: 650;
}
.company-tabs-card .panel-title-row p {
  color: #667085;
  font-size: 0.92rem;
  font-weight: 400;
}
.company-tab-panel { display: none; }
.company-tab-panel.is-active {
  display: block;
}
.company-catalog-panel {
  margin-bottom: 1rem;
}
.company-catalog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.company-catalog-card {
  background: rgba(13, 53, 93, 0.04);
  border: 1px solid rgba(13, 53, 93, 0.1);
  border-radius: 0.95rem;
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem;
}
.company-catalog-card h3 {
  color: var(--navy-deep);
  margin: 0;
}
.company-catalog-card p {
  color: var(--muted);
  font-weight: 700;
  margin: 0.3rem 0 0;
}
.company-catalog-card dl {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.company-catalog-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.company-catalog-card dd {
  color: var(--navy);
  font-weight: 800;
  margin: 0.15rem 0 0;
}
.company-service-request {
  justify-self: flex-start;
}
.company-readonly-grid {
  display: grid;
  gap: 1rem 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.3rem;
}
.company-readonly-field {
  display: grid;
  gap: 0.42rem;
}
.company-readonly-field span,
.company-select-field span {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 600;
}
.company-readonly-field input,
.company-select-field select {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 0.38rem;
  color: #475569;
  font: inherit;
  font-size: 0.92rem;
  min-height: 2.82rem;
  padding: 0.68rem 0.82rem;
  width: 100%;
}
.company-readonly-field input {
  background: #f9fafb;
}
.company-readonly-grid .detail-row {
  background: rgba(13, 53, 93, 0.04);
  border: 1px solid rgba(13, 53, 93, 0.08);
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
}
.company-two-column {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 1rem;
}
.company-search-preview,
.company-search-empty-state,
.company-evaluation-empty {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  min-height: 260px;
  padding: 1.2rem;
  text-align: center;
}
.company-search-preview h3,
.company-search-empty-state h3,
.company-evaluation-empty h3 {
  color: var(--navy-deep);
  margin: 0;
}
.company-search-preview p,
.company-search-empty-state p,
.company-evaluation-empty p,
.company-action-note p,
.panel-title-row p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}
.company-search-panel,
.company-evaluation-panel {
  min-height: 360px;
}
.company-pricing-catalog {
  border-bottom: 1px solid rgba(13, 53, 93, 0.1);
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
}
.company-pricing-catalog h3 {
  color: var(--navy-deep);
  font-size: 1.16rem;
  margin: 0;
}
.company-pricing-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.tm-admin-whatsapp-card {
  border-left: 4px solid #25d366;
}
.tm-admin-whatsapp-card p {
  margin: 0.45rem 0;
}
.tm-admin-whatsapp-visibility strong {
  color: var(--navy-deep);
}
.tm-admin-whatsapp-missing {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}
.tm-admin-whatsapp-missing li {
  margin: 0.25rem 0;
}
.tm-admin-whatsapp-action {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}
.tm-admin-whatsapp-invalid {
  color: #76510b;
  font-size: 0.84rem;
  font-weight: 700;
}
.tm-admin-whatsapp-complete {
  color: #166534;
  font-weight: 700;
}
.company-pricing-card {
  background: #f8fbff;
  border: 1px solid rgba(29, 114, 186, 0.18);
  border-radius: 0.75rem;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  padding: 1rem;
}
.company-pricing-card.is-informational {
  background: #fbfcfe;
}
.company-pricing-card h4,
.company-pricing-card > strong {
  color: var(--navy-deep);
  margin: 0;
}
.company-pricing-card > strong {
  color: #0b3d91;
  font-size: 1.05rem;
  white-space: nowrap;
}
.company-pricing-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.9rem 0 0;
}
.company-pricing-card dl {
  display: grid;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
}
.company-pricing-card dl div {
  align-items: baseline;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}
.company-pricing-card dt,
.company-pricing-card p {
  color: var(--muted);
  font-size: 0.82rem;
}
.company-pricing-card dd {
  color: #1f2937;
  font-weight: 650;
  margin: 0;
}
.company-pricing-card p {
  line-height: 1.4;
  margin: 0.85rem 0 0;
}
.company-search-panel .panel-title-row {
  margin-bottom: 2rem;
}
.company-search-panel .panel-title-row h2 {
  align-items: center;
  display: inline-flex;
  font-size: 1.58rem;
  gap: 0.6rem;
  line-height: 1.15;
}
.company-section-title-icon {
  color: #0f172a;
  display: inline-flex;
  flex: 0 0 auto;
}
.company-section-title-icon svg {
  height: 1.55rem;
  width: 1.55rem;
}
.company-search-form {
  width: 100%;
}
.company-search-form[hidden],
.company-search-results[hidden],
.company-search-empty-state[hidden] {
  display: none !important;
}
.company-search-controls,
.company-filter-row {
  align-items: end;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) max-content;
  margin-top: 0;
}
.company-filter-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.7fr) auto;
}
.company-select-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.company-search-submit,
.company-filter-submit {
  min-height: 2.9rem;
  white-space: nowrap;
}
.company-search-results {
  margin-top: 0.25rem;
}
.company-search-results-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}
.company-search-results-head > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.company-search-results-head h3 {
  color: var(--navy-deep);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.company-search-results-head span {
  background: #f1f5f9;
  border: 1px solid #e5eaf0;
  border-radius: 999px;
  color: #052b80;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 650;
  margin-top: 0;
  padding: 0.48rem 1.05rem;
}
.company-search-change {
  min-height: 2.55rem;
  white-space: nowrap;
}
.company-candidate-list {
  display: grid;
  gap: 1.25rem;
}
.company-search-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.company-search-pagination span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.company-candidate-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 0.48rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.028);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 7.25rem;
  min-height: 12.5rem;
  padding: 1.75rem 1.9rem;
}
.company-candidate-content {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}
.company-candidate-main {
  min-width: 0;
}
.company-candidate-main h4 {
  color: #0b2f70;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.company-candidate-main p {
  color: #667085;
  font-size: 1rem;
  margin: 0.22rem 0 0;
}
.company-candidate-contact {
  align-items: center;
  color: #475467;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.94rem;
  gap: 0.52rem 1rem;
  line-height: 1.35;
}
.company-candidate-contact span {
  align-items: center;
  display: inline-flex;
  gap: 0.32rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.company-candidate-contact svg {
  color: #64748b;
  flex: 0 0 auto;
  height: 0.92rem;
  width: 0.92rem;
}
.company-candidate-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.company-candidate-meta div {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 0.42rem;
  padding: 0.65rem 0.75rem;
}
.company-candidate-meta dt {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 500;
  margin: 0 0 0.18rem;
}
.company-candidate-meta dd {
  color: #1f2937;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  overflow-wrap: anywhere;
}
.company-candidate-footer {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
}
.company-availability-badge {
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  justify-self: start;
  padding: 0.35rem 0.75rem;
}
.company-availability-badge.is-available {
  background: #dcfce7;
  color: #166534;
}
.company-availability-badge.is-pending {
  background: #fff7ed;
  color: #9a3412;
}
.company-candidate-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: flex-end;
  white-space: nowrap;
}
.company-candidate-actions .button.small {
  border-radius: 0.42rem;
  font-size: 0.9rem;
  min-height: 2.85rem;
  padding: 0.62rem 0.75rem;
  width: 100%;
}
.company-candidate-actions [data-company-candidate-action="contact"] {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
.company-candidate-actions [data-company-candidate-action="contact"].is-contacted {
  background: #e8f1ff;
  border-color: #d9e7fb;
  color: #0b2f70;
}
.company-candidate-actions [data-company-candidate-action="evaluate"] {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
}
.company-candidate-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}
.company-evaluation-modal[hidden] {
  display: none !important;
}
body.has-modal-open {
  overflow: hidden;
}
.company-evaluation-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 1200;
}
.company-evaluation-backdrop {
  background: rgba(0, 0, 0, 0.76);
  inset: 0;
  position: absolute;
}
.company-evaluation-dialog {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.62rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
  max-width: 608px;
  padding: 1.9rem;
  position: relative;
  width: min(100%, 608px);
  z-index: 1;
}
.company-evaluation-dialog h2 {
  color: #111827;
  font-size: 1.38rem;
  font-weight: 650;
  line-height: 1.2;
  margin: 0 2rem 0.45rem 0;
}
.company-evaluation-dialog p {
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 1.6rem;
}
.company-evaluation-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #475467;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.65rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 1.25rem;
  top: 1.15rem;
  width: 2rem;
}
.company-evaluation-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.company-evaluation-option {
  align-items: center;
  border: 1px solid #dfe6ef;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
}
.company-evaluation-option span {
  align-items: center;
  display: inline-flex;
  gap: 0.72rem;
}
.company-evaluation-option input {
  height: 1.18rem;
  width: 1.18rem;
}
.company-evaluation-option strong {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 650;
}
.company-evaluation-option em {
  color: #0b3d91;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.company-evaluation-price {
  align-items: flex-end !important;
  display: grid !important;
  gap: 0.2rem !important;
  justify-items: end;
}
.company-evaluation-price small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: right;
}
.company-evaluation-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.company-evaluation-actions .button {
  min-width: 7.2rem;
}
.company-evaluation-actions .button:disabled {
  background: #8fa2cf;
  border-color: #8fa2cf;
  cursor: not-allowed;
  opacity: 1;
}
.company-search-icon,
.company-evaluation-empty svg {
  color: #052b80;
  opacity: 0.72;
}
.company-action-note {
  background: rgba(13, 53, 93, 0.055);
  border: 1px solid rgba(13, 53, 93, 0.09);
  border-radius: 0.9rem;
  color: var(--muted);
  padding: 0.85rem 0.95rem;
}
.company-candidate-profile-page .container {
  width: min(1040px, calc(100% - 1.75rem));
}
.company-profile-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.company-profile-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.2rem;
}
.company-profile-avatar {
  align-items: center;
  background: #eaf2ff;
  border-radius: 999px;
  color: #0b4fc4;
  display: inline-flex;
  flex: 0 0 auto;
  height: 4rem;
  justify-content: center;
  width: 4rem;
}
.company-profile-avatar svg {
  height: 2.05rem;
  width: 2.05rem;
}
.company-profile-copy span {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.company-profile-copy h1 {
  color: #0f172a;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.1;
  margin: 0;
}
.company-profile-copy p {
  color: #667085;
  margin: 0.36rem 0 0;
}
.company-profile-detail-card {
  margin-bottom: 1rem;
}
.company-candidate-ficha-page {
  background: #eef6ff;
  min-height: 100vh;
}
.company-candidate-ficha {
  color: #0f172a;
}
.candidate-ficha-hero {
  align-items: center;
  background: #ffffff;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.11);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1.45rem max(1.25rem, calc((100vw - 1640px) / 2 + 1.5rem));
}
.candidate-ficha-hero-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}
.candidate-ficha-icon {
  align-items: center;
  background: #053b9b;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  height: 4.25rem;
  justify-content: center;
  width: 4.25rem;
}
.candidate-ficha-icon svg {
  height: 2.25rem;
  width: 2.25rem;
}
.company-candidate-ficha.is-port .candidate-ficha-icon { background: #0e879f; }
.company-candidate-ficha.is-staff .candidate-ficha-icon { background: #d9480f; }
.candidate-ficha-hero span {
  color: #64748b;
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.candidate-ficha-hero h1 {
  color: #0f172a;
  font-size: clamp(1.9rem, 2.4vw, 2.75rem);
  line-height: 1.05;
  margin: 0.1rem 0 0.25rem;
}
.candidate-ficha-hero p {
  color: #667085;
  font-size: 1.05rem;
  margin: 0;
}
.candidate-ficha-shell {
  margin: 2rem auto 3rem;
  width: min(1180px, calc(100% - 2rem));
}
.candidate-ficha-card {
  background: #ffffff;
  border: 1px solid #dce5f0;
  border-radius: 0.85rem;
  box-shadow: 0 0.35rem 1.15rem rgba(15, 23, 42, 0.06);
  margin-bottom: 1.1rem;
  padding: 1.35rem;
}
.candidate-ficha-card h3 {
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.candidate-ficha-main {
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: auto 1fr;
}
.candidate-ficha-photo {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 0.85rem;
  display: flex;
  height: 9.5rem;
  justify-content: center;
  overflow: hidden;
  width: 8.5rem;
}
.candidate-ficha-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.candidate-ficha-photo-placeholder {
  align-items: center;
  color: #94a3b8;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.candidate-ficha-photo-placeholder svg {
  height: 3.25rem;
  width: 3.25rem;
}
.candidate-ficha-person span {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #15803d;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.24rem 0.65rem;
}
.candidate-ficha-person h2 {
  color: #073b8f;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.12;
  margin: 0;
}
.candidate-ficha-person p {
  color: #475569;
  font-size: 1.04rem;
  margin: 0.35rem 0 0;
}
.candidate-ficha-person small {
  color: #64748b;
  display: block;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}
.candidate-ficha-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.candidate-ficha-field {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  padding: 0.75rem 0.85rem;
}
.candidate-ficha-field span {
  color: #64748b;
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}
.candidate-ficha-field strong {
  color: #0f172a;
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.candidate-ficha-list {
  display: grid;
  gap: 0.75rem;
}
.candidate-ficha-list-item {
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}
.candidate-ficha-list-item strong,
.candidate-ficha-list-item span,
.candidate-ficha-list-item small {
  display: block;
}
.candidate-ficha-list-item strong {
  color: #073b8f;
  font-size: 0.98rem;
}
.candidate-ficha-list-item span,
.candidate-ficha-list-item small,
.candidate-ficha-note,
.candidate-ficha-empty {
  color: #64748b;
  font-size: 0.88rem;
}
.candidate-ficha-note {
  margin: 0.9rem 0 0;
}
.candidate-ficha-reference {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.75rem;
  padding: 0.85rem;
}
.candidate-ficha-reference .candidate-ficha-field {
  border: 0;
  padding: 0;
}
.candidate-ficha-rent,
.candidate-ficha-cv {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.candidate-ficha-rent p,
.candidate-ficha-cv p {
  color: #64748b;
  margin: -0.35rem 0 0;
}
.candidate-ficha-rent strong {
  color: #15803d;
  font-size: 1.35rem;
}
.candidate-ficha-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}
.company-candidate-ficha {
  min-height: 100vh;
  padding: 1.25rem 0 3rem;
}
.company-candidate-ficha.is-maritime { background: #eef6ff; }
.company-candidate-ficha.is-port { background: #ecfeff; }
.company-candidate-ficha.is-staff { background: #fff7ed; }
.candidate-ficha-hero {
  border-radius: 0.45rem;
  box-shadow: 0 0.5rem 1.15rem rgba(15, 23, 42, 0.14);
  margin: 0 auto 1.45rem;
  padding: 1.15rem 1.35rem;
  width: min(1100px, calc(100% - 2rem));
}
.company-candidate-ficha.is-maritime .candidate-ficha-hero {
  background: linear-gradient(90deg, #245bd9, #173ca7);
}
.company-candidate-ficha.is-port .candidate-ficha-hero {
  background: linear-gradient(90deg, #0e90a5, #0f6b83);
}
.company-candidate-ficha.is-staff .candidate-ficha-hero {
  background: linear-gradient(90deg, #bd3b11, #f35a0a);
}
.candidate-ficha-icon,
.company-candidate-ficha.is-port .candidate-ficha-icon,
.company-candidate-ficha.is-staff .candidate-ficha-icon {
  background: transparent;
  border-radius: 0;
  height: 2.75rem;
  width: 2.75rem;
}
.candidate-ficha-icon svg {
  height: 2.5rem;
  width: 2.5rem;
}
.candidate-ficha-hero span,
.candidate-ficha-hero h1,
.candidate-ficha-hero p {
  color: #ffffff;
}
.candidate-ficha-hero h1 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: 0;
}
.candidate-ficha-hero p {
  font-size: 0.86rem;
  opacity: 0.92;
}
.candidate-ficha-hero .button {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  min-height: 2.35rem;
  padding: 0.52rem 1rem;
}
.company-candidate-ficha.is-staff .candidate-ficha-hero .button { color: #7c2d12; }
.company-candidate-ficha.is-port .candidate-ficha-hero .button { color: #155e75; }
.company-candidate-ficha.is-maritime .candidate-ficha-hero .button { color: #1d4ed8; }
.candidate-ficha-shell {
  margin-top: 0;
  width: min(1100px, calc(100% - 2rem));
}
.candidate-ficha-card {
  border-color: #dbe4ef;
  border-radius: 0.45rem;
  box-shadow: none;
  padding: 1.25rem 1.35rem;
}
.candidate-ficha-card h3 {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  font-size: 1.2rem;
  margin-bottom: 1.35rem;
}
.candidate-ficha-personal-layout {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 9.5rem 1fr;
}
.candidate-ficha-personal-content {
  min-width: 0;
}
.candidate-ficha-photo {
  border-radius: 0.45rem;
  height: 9rem;
  width: 9rem;
}
.candidate-ficha-person {
  margin-bottom: 1.1rem;
}
.candidate-ficha-person span {
  display: none;
}
.candidate-ficha-person h2 {
  color: #0f172a;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.candidate-ficha-person p,
.candidate-ficha-person small {
  font-size: 0.92rem;
}
.company-candidate-ficha.is-maritime .candidate-ficha-person h2,
.company-candidate-ficha.is-port .candidate-ficha-person h2,
.company-candidate-ficha.is-staff .candidate-ficha-person h2 {
  color: #0f172a;
}
.candidate-ficha-grid {
  gap: 1.15rem 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.candidate-ficha-grid-plain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.candidate-ficha-field {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.candidate-ficha-field span {
  color: #7b8794;
  font-size: 0.78rem;
  font-weight: 500;
}
.candidate-ficha-field strong {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 700;
}
.candidate-ficha-course-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 0.45rem;
  overflow-x: auto;
}
.candidate-ficha-course-table {
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 820px;
  width: 100%;
}
.candidate-ficha-course-table th,
.candidate-ficha-course-table td {
  border-bottom: 1px solid #e8edf4;
  padding: 0.8rem 0.85rem;
  text-align: left;
  vertical-align: middle;
}
.candidate-ficha-course-table th {
  color: #64748b;
  font-weight: 700;
}
.candidate-ficha-course-table td strong {
  color: #0f172a;
  font-weight: 700;
}
.candidate-course-status {
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}
.candidate-course-status.is-valid { background: #16a34a; }
.candidate-course-status.is-warning { background: #f97316; }
.candidate-course-status.is-expired,
.candidate-course-status.is-pending { background: #ef4444; }
.candidate-course-link {
  color: #0891b2;
  font-weight: 700;
  text-decoration: none;
}
.candidate-ficha-reference {
  border-color: #e7edf5;
  border-radius: 0.45rem;
  gap: 1rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}
.candidate-ficha-rent {
  align-items: stretch;
  background: linear-gradient(#dcfce7 0 42%, #ffffff 42% 100%);
  border-color: #86efac;
  color: #065f46;
  min-height: 9rem;
}
.candidate-ficha-rent h3 {
  color: #064e3b;
}
.candidate-ficha-rent strong {
  align-self: center;
  color: #059669;
  font-size: 1.45rem;
}
.candidate-ficha-cv {
  background: linear-gradient(#eff6ff 0 44%, #ffffff 44% 100%);
  border-color: #bfdbfe;
}
.candidate-ficha-cv .button {
  background: #0f4a7a;
  border-color: #0f4a7a;
  border-radius: 999px;
}
.candidate-ficha-actions {
  justify-content: flex-end;
}
.company-aggregate-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
.company-static-empty {
  margin-top: 0.75rem;
}
.tm-company-logo-current {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
}
.tm-company-logo-current img {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  height: 3.2rem;
  object-fit: contain;
  padding: 0.25rem;
  width: 5rem;
}
.tm-company-logo-current span {
  color: #475569;
  font-size: 0.84rem;
  font-weight: 800;
}

.tm-candidate-photo-current {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
}

.tm-candidate-photo-current a {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.45rem;
  display: flex;
  flex: 0 0 120px;
  height: 150px;
  justify-content: center;
  overflow: hidden;
  width: 120px;
}

.tm-candidate-photo-current img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tm-candidate-photo-current span {
  color: #475569;
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .tm-candidate-photo-current {
    align-items: flex-start;
  }

  .tm-candidate-photo-current a {
    flex-basis: 96px;
    height: 120px;
    width: 96px;
  }
}
button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}
.safe-detail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; margin-bottom: 1.2rem;
}
.company-real-stats { margin-bottom: 0; }
.company-aggregate-panel { grid-column: 1 / -1; }
.aggregate-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem;
}
.aggregate-grid h3 { margin: 0 0 0.7rem; color: var(--navy-deep); }
.demo-box { margin-top: 1rem; padding: 1rem 1.2rem; }
.demo-box p { margin: 0.25rem 0; font-family: Consolas, monospace; }
.section { padding: 2rem 0 4rem; }
.section-head { margin-bottom: 1.5rem; }
.section-head p { color: var(--muted); max-width: 64ch; }
.personnel-search-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 114, 186, 0.12), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(235, 106, 43, 0.1), transparent 28%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #eef8ff 100%);
  min-height: calc(100vh - 82px);
}
.personnel-search-head {
  margin: 0 auto 1.8rem;
  max-width: 760px;
  padding-top: 1.2rem;
  text-align: center;
}
.personnel-search-head h1 {
  color: #052b80;
  font-size: clamp(2rem, 4vw, 3rem);
}
.personnel-search-head p {
  font-size: 1.12rem;
  margin-left: auto;
  margin-right: auto;
}
.personnel-search-card {
  align-items: end;
  margin: 0 auto;
  max-width: 960px;
  padding: 2rem;
}
.personnel-search-intro {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  grid-column: 1 / -1;
  justify-content: center;
  padding-bottom: 0.3rem;
  text-align: center;
}
.personnel-search-icon {
  color: #052b80;
  opacity: 0.55;
}
.personnel-search-intro h2 {
  color: var(--ink);
  font-size: 1.35rem;
  margin: 0;
}
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-card, .result-card { padding: 1.4rem; }
.panel-card, .dashboard-grid > *, .stats-grid > * { min-width: 0; }
.panel-card h2, .panel-card h3, .result-card h3 { margin-top: 0; }
.sea-strip { background: linear-gradient(180deg, rgba(13, 53, 93, 0.92), rgba(6, 24, 40, 0.97)); color: var(--white); }
.split-callout { grid-template-columns: 1fr 1fr; align-items: center; }
.bullet-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-card { padding: 1rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.08); }
.field, .checkbox-line { display: flex; flex-direction: column; gap: 0.45rem; }
.form-grid, .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter-grid { align-items: end; }
.field.full, .checkbox-line.full, .actions-row.full { grid-column: 1 / -1; }
label { font-weight: 600; }
input, select, textarea {
  width: 100%; border: 1px solid rgba(13, 53, 93, 0.18); border-radius: 1rem; padding: 0.9rem 1rem;
  font: inherit; background: rgba(255, 255, 255, 0.92); color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(235, 106, 43, 0.22); border-color: rgba(235, 106, 43, 0.4);
}
.checkbox-line { flex-direction: row; align-items: center; }
.checkbox-line.compact { align-self: end; padding-bottom: 0.8rem; }
.checkbox-line input { width: auto; }
.notice { padding: 1rem 1.1rem; }
.notice.muted { color: var(--muted); background: rgba(13, 53, 93, 0.06); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.2rem; }
.dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.2rem; }
.company-layout { align-items: start; }
.table-shell { max-width: 100%; overflow: auto; }
.table-shell table { width: 100%; border-collapse: collapse; }
.table-shell th, .table-shell td {
  padding: 0.8rem 0.7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
}
.table-shell th {
  color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.3rem; }
.result-card { display: flex; flex-direction: column; gap: 0.9rem; }
.result-head, .result-meta {
  display: flex; justify-content: space-between; gap: 0.7rem; flex-wrap: wrap;
}
.result-head p, .result-card p, .result-meta { color: var(--muted); margin: 0; }
.badge {
  align-self: start; display: inline-flex; align-items: center; padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(13, 53, 93, 0.08); color: var(--navy);
}
.badge.success { background: rgba(23, 127, 83, 0.15); color: var(--success); }
.badge.warn { background: rgba(201, 122, 16, 0.15); color: var(--warn); }
.stack-gap { display: flex; flex-direction: column; gap: 0.85rem; }
.detail-row strong, .detail-block strong { color: var(--navy-deep); }
.detail-block p { color: var(--muted); margin-bottom: 0; }
.empty-state {
  padding: 1.2rem; border-radius: 1rem; border: 1px dashed rgba(13, 53, 93, 0.22);
  color: var(--muted); background: rgba(255, 255, 255, 0.6);
}
.candidate-profile-page {
  background:
    radial-gradient(circle at 12% 5%, rgba(29, 114, 186, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(239, 246, 255, 0.76), rgba(255, 255, 255, 0.2));
}
.candidate-profile-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 53, 93, 0.98), rgba(29, 114, 186, 0.94));
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 1.2rem;
  overflow: hidden;
  padding: 1.45rem;
  position: relative;
}
.candidate-profile-hero::after {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  content: "";
  height: 13rem;
  position: absolute;
  right: -4rem;
  top: -6rem;
  width: 13rem;
}
.candidate-profile-mark,
.candidate-section-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}
.candidate-profile-mark {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 1rem;
  height: 4.4rem;
  width: 4.4rem;
}
.candidate-profile-mark svg,
.candidate-section-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.candidate-profile-mark svg {
  height: 2.4rem;
  width: 2.4rem;
}
.candidate-profile-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0;
  max-width: 18ch;
}
.candidate-profile-hero p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0.55rem 0 0;
  max-width: 62ch;
}
.candidate-profile-hero .eyebrow {
  color: #ffb37b;
  margin-bottom: 0.35rem;
}
.candidate-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.candidate-profile-badges .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.candidate-profile-badges .badge.success {
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
}
.candidate-profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.candidate-info-card {
  border-color: rgba(13, 53, 93, 0.1);
  box-shadow: 0 12px 28px rgba(9, 28, 48, 0.08);
}
.candidate-section-title {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.candidate-section-title h2 {
  color: var(--navy-deep);
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
}
.candidate-section-title p {
  color: var(--muted);
  margin: 0.15rem 0 0;
}
.candidate-section-icon {
  background: rgba(29, 114, 186, 0.1);
  border-radius: 0.8rem;
  color: #1d72ba;
  height: 2.45rem;
  width: 2.45rem;
}
.candidate-section-icon svg {
  height: 1.35rem;
  width: 1.35rem;
}
.candidate-detail-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}
.candidate-detail-list div {
  border-bottom: 1px solid rgba(13, 53, 93, 0.08);
  min-width: 0;
  padding-bottom: 0.6rem;
}
.candidate-detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.candidate-detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}
.candidate-detail-list dd {
  color: var(--navy-deep);
  font-weight: 650;
  margin: 0.16rem 0 0;
  overflow-wrap: anywhere;
}
.candidate-courses-card,
.candidate-documents-card,
.candidate-readonly-note,
.candidate-profile-actions {
  margin-top: 1rem;
}
.document-metadata-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.document-metadata-card {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(29, 114, 186, 0.16);
  border-radius: 0.9rem;
  min-width: 0;
  padding: 0.9rem;
}
.document-metadata-card strong,
.document-metadata-card span,
.document-metadata-card em {
  display: block;
  overflow-wrap: anywhere;
}
.document-metadata-card strong {
  color: var(--navy-deep);
}
.document-metadata-card span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.22rem;
}
.document-metadata-card em {
  color: var(--success);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}
.document-metadata-note {
  color: var(--muted);
  margin: 0.85rem 0 0;
}
.admin-document-metadata-panel {
  margin-top: 1rem;
  border-color: rgba(29, 114, 186, 0.16);
}
.admin-document-metadata-panel h2 {
  color: var(--navy-deep);
  margin: 0.2rem 0 0.3rem;
}
.admin-document-metadata-panel p {
  color: var(--muted);
  margin: 0;
}
.admin-document-metadata-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tm-company-admin-ficha {
  min-height: 100vh;
  background: linear-gradient(135deg, #ecfeff 0%, #f8ffff 46%, #ffffff 68%, #ecfeff 100%);
  color: #0f172a;
  padding: 1.75rem;
}
.tm-company-ficha-shell {
  width: min(100%, 82rem);
  margin: 0 auto;
}
.tm-company-ficha-header {
  margin-bottom: 1.65rem;
}
.tm-company-ficha-header .tm-company-ficha-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #0f766e 0%, #0e7490 100%);
  color: #fff;
  padding: 1.55rem 1.75rem;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.2);
}
.tm-company-ficha-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tm-company-ficha-icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.tm-company-ficha-title h1 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: 0;
}
.tm-company-ficha-title p {
  margin: 0.35rem 0 0;
  color: #ccfbf1;
  font-weight: 500;
}
.tm-company-ficha-logout {
  background: #fff;
  color: #0f766e;
  border-color: transparent;
}
.tm-company-ficha-main {
  display: grid;
  gap: 1.35rem;
}
.tm-company-ficha-grid {
  display: grid;
  gap: 1.35rem;
}
.tm-company-ficha-grid-top {
  align-items: stretch;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr) minmax(0, 1fr);
}
.tm-company-ficha-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.65rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}
.tm-company-ficha-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  color: #0f766e;
}
.tm-company-ficha-card-head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: 0;
}
.tm-company-ficha-fields {
  display: grid;
  gap: 1rem 1.2rem;
}
.tm-company-ficha-grid-top .tm-company-ficha-card:not(.tm-company-logo-card) .tm-company-ficha-fields,
.tm-company-ficha-card-wide .tm-company-ficha-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tm-company-ficha-card-wide .tm-company-ficha-field:nth-child(1),
.tm-company-ficha-card-wide .tm-company-ficha-field:nth-child(3),
.tm-company-ficha-card-wide .tm-company-ficha-field:has(.tm-company-ficha-list) {
  grid-column: 1 / -1;
}
.tm-company-ficha-field {
  display: grid;
  gap: 0.25rem;
}
.tm-company-ficha-field span {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}
.tm-company-ficha-field p,
.tm-company-ficha-list {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}
.tm-company-ficha-list {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.15rem;
}
.tm-company-ficha-list li::marker {
  color: #0f766e;
}
.tm-company-logo-card {
  display: flex;
  flex-direction: column;
}
.tm-company-logo-frame {
  display: grid;
  place-items: center;
  min-height: 14.5rem;
  border-radius: 12px;
  border: 1px solid #ccfbf1;
  background: linear-gradient(180deg, #f0fdfa, #ffffff);
  overflow: hidden;
}
.tm-company-logo-frame img {
  display: block;
  width: 100%;
  max-height: 14.5rem;
  object-fit: contain;
  padding: 1.15rem;
}
.tm-company-logo-placeholder {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  color: #0f766e;
  text-align: center;
  font-weight: 700;
}
.tm-company-ficha-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-bottom: 1rem;
}
.tm-company-ficha-actions .button-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: none;
}
.tm-company-ficha-actions .button-primary:hover {
  background: #020617;
  border-color: #020617;
}
.tm-company-ficha-actions .button-outline {
  background: #ffffff;
}
.tm-company-activation-card {
  border-color: #dbeafe;
}
.tm-company-activation-layout {
  display: grid;
  gap: 1rem;
}
.tm-company-activation-status {
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  padding: 1rem 1.1rem;
}
.tm-company-activation-status.is-prepared {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.tm-company-activation-status.is-active {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.tm-company-activation-status strong {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.tm-company-activation-status p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}
.tm-company-activation-meta {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tm-company-activation-meta div {
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.85rem 0.95rem;
}
.tm-company-activation-meta span {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.tm-company-activation-meta strong {
  color: #0f172a;
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}
.tm-company-activation-form {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}
.tm-company-activation-form small,
.tm-company-activation-complete {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}
.tm-company-activation-form .button {
  flex: 0 0 auto;
}
.tm-company-activation-complete {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  display: flex;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
}
.tm-company-activation-complete svg {
  color: #16a34a;
  flex: 0 0 auto;
}
.tm-company-activation-notice {
  border-radius: 9px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}
.tm-company-activation-notice.is-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.tm-company-activation-notice.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.tm-company-activation-notice ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.tm-maritime-admin-ficha {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #eff6ff 100%);
  min-height: 100vh;
  padding: 1.5rem;
}
.tm-maritime-shell {
  margin: 0 auto;
  max-width: 72rem;
}
.tm-maritime-ficha-header {
  align-items: center;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  border-radius: 0.5rem;
  box-shadow: 0 18px 42px rgba(30, 64, 175, 0.24);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}
.tm-maritime-ficha-title {
  align-items: center;
  display: flex;
  gap: 1rem;
}
.tm-maritime-ficha-title h1 {
  font-size: 1.875rem;
  line-height: 1.15;
  margin: 0;
}
.tm-maritime-ficha-title p {
  color: #dbeafe;
  margin: 0.2rem 0 0;
}
.tm-maritime-logout {
  background: #ffffff;
  border: 0;
  border-radius: 0.375rem;
  color: #1e40af;
  min-height: 2.5rem;
}
.tm-maritime-form {
  display: grid;
  gap: 1.5rem;
}
.tm-maritime-card,
.tm-maritime-admin-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.tm-maritime-card {
  padding: 1.5rem;
}
.tm-maritime-card-head,
.tm-maritime-admin-section-head {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.tm-maritime-card-head h2,
.tm-maritime-admin-section-head h2 {
  color: #111827;
  font-size: 1rem;
  margin: 0;
}
.tm-maritime-personal-layout {
  align-items: flex-start;
  display: flex;
  gap: 1.5rem;
}
.tm-maritime-photo-frame {
  flex: 0 0 10rem;
}
.tm-maritime-photo-frame img,
.tm-maritime-photo-placeholder {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  height: 10rem;
  width: 10rem;
}
.tm-maritime-photo-frame img {
  display: block;
  object-fit: cover;
}
.tm-maritime-photo-placeholder {
  align-items: center;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.tm-maritime-personal-info {
  display: grid;
  flex: 1;
  gap: 1.35rem;
}
.tm-maritime-name-block h2 {
  color: #111827;
  font-size: 1.5rem;
  margin: 0;
}
.tm-maritime-name-block p {
  color: #6b7280;
  margin: 0.2rem 0 0;
}
.tm-maritime-info-grid,
.tm-maritime-doc-grid {
  display: grid;
  gap: 1rem;
}
.tm-maritime-info-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tm-maritime-info-grid.three,
.tm-maritime-doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tm-maritime-info-grid span,
.tm-maritime-address span,
.tm-maritime-icon-field span,
.tm-maritime-reference-card span {
  color: #6b7280;
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}
.tm-maritime-info-grid strong,
.tm-maritime-address strong,
.tm-maritime-icon-field strong,
.tm-maritime-reference-card strong {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tm-maritime-icon-field {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
}
.tm-maritime-icon-field svg {
  color: #9ca3af;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}
.tm-maritime-divider {
  border-top: 1px solid #e5e7eb;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.tm-maritime-divider h3 {
  color: #1f2937;
  font-size: 0.98rem;
  margin: 0 0 0.8rem;
}
.tm-maritime-table-wrap {
  overflow-x: auto;
}
.tm-maritime-course-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}
.tm-maritime-course-table th,
.tm-maritime-course-table td {
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.82rem;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}
.tm-maritime-course-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}
.tm-maritime-file-link {
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.42rem 0.75rem;
}
.tm-maritime-status {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
}
.tm-maritime-muted,
.tm-maritime-empty {
  color: #6b7280;
  font-size: 0.9rem;
}
.tm-maritime-reference-list {
  display: grid;
  gap: 1rem;
}
.tm-maritime-reference-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}
.tm-maritime-reference-card .wide {
  grid-column: 1 / -1;
}
.tm-maritime-cv-card {
  border: 2px solid #bfdbfe;
  padding: 0;
}
.tm-maritime-cv-card .tm-maritime-card-head {
  background: #eff6ff;
  margin: 0;
  padding: 1rem 1.5rem;
}
.tm-maritime-cv-card .tm-maritime-card-head svg {
  color: #2563eb;
}
.tm-maritime-cv-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
}
.tm-maritime-cv-row span {
  color: #4b5563;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.tm-maritime-rent-card {
  align-items: center;
  border: 2px solid #a7f3d0;
  display: flex;
  justify-content: space-between;
}
.tm-maritime-rent-card > div {
  min-width: 0;
}
.tm-maritime-rent-card .tm-maritime-card-head {
  margin-bottom: 0.75rem;
}
.tm-maritime-rent-card .tm-maritime-card-head h2,
.tm-maritime-rent-card .tm-maritime-card-head svg {
  color: #047857;
}
.tm-maritime-rent-card span {
  color: #6b7280;
  display: block;
  font-size: 0.875rem;
}
.tm-maritime-rent-card strong {
  color: #047857;
  display: block;
  font-size: 1.6rem;
  margin-top: 0.25rem;
}
.tm-maritime-rent-card em {
  background: #d1fae5;
  border-radius: 999px;
  color: #047857;
  display: inline-flex;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 1rem;
  padding: 0.3rem 0.7rem;
}
.tm-maritime-rent-card .tm-maritime-rent-icon {
  align-items: center;
  background: #d1fae5;
  border-radius: 999px;
  color: #059669;
  display: inline-flex;
  flex: 0 0 3.25rem;
  height: 3.25rem;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  width: 3.25rem;
}
.tm-maritime-rent-card .tm-maritime-rent-icon svg {
  display: block;
  flex: 0 0 auto;
  height: 1.5rem;
  width: 1.5rem;
}
.tm-maritime-pdf-card {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.tm-maritime-pdf-card h2 {
  color: #111827;
  font-size: 1rem;
  margin: 0;
}
.tm-maritime-pdf-card p {
  color: #6b7280;
  margin: 0.25rem 0 0;
}
.tm-maritime-history-card {
  padding: 1.5rem;
}
.tm-maritime-history-card .tm-maritime-card-head {
  margin-bottom: 1rem;
}
.tm-maritime-history-list {
  display: grid;
  gap: 1rem;
  max-height: 26.25rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.tm-maritime-history-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}
.tm-maritime-history-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.tm-maritime-history-head strong {
  color: #111827;
  font-size: 0.95rem;
}
.tm-maritime-history-head span,
.tm-maritime-history-admin,
.tm-maritime-history-observation {
  color: #6b7280;
  font-size: 0.88rem;
}
.tm-maritime-history-head span {
  white-space: nowrap;
}
.tm-maritime-history-admin,
.tm-maritime-history-observation p {
  margin: 0;
}
.tm-maritime-history-observation strong,
.tm-maritime-history-admin strong {
  color: #374151;
}
.tm-maritime-history-observation p {
  margin-top: 0.3rem;
  white-space: pre-line;
}
.tm-maritime-history-checks {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tm-maritime-history-checks div {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.45rem;
  display: flex;
  font-size: 0.86rem;
  justify-content: space-between;
  min-width: 0;
  padding: 0.55rem 0.7rem;
}
.tm-maritime-history-checks span {
  color: #374151;
  overflow-wrap: anywhere;
}
.tm-maritime-history-checks strong {
  color: #dc2626;
  flex: 0 0 auto;
  font-size: 0.95rem;
  margin-left: 0.75rem;
}
.tm-maritime-history-checks .is-checked strong {
  color: #16a34a;
}
.tm-port-admin-ficha {
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.92), rgba(255, 255, 255, 0.96) 52%, rgba(236, 254, 255, 0.92));
}
.tm-port-admin-ficha .tm-maritime-ficha-header {
  background: linear-gradient(90deg, #0e7490, #155e75);
}
.tm-port-admin-ficha .tm-maritime-ficha-title > span,
.tm-port-admin-ficha .tm-maritime-logout {
  color: #155e75;
}
.tm-port-admin-ficha .tm-maritime-card-head h2,
.tm-port-admin-ficha .tm-maritime-card-head svg {
  color: #155e75;
}
.tm-port-admin-ficha .tm-maritime-card {
  border-color: rgba(14, 116, 144, 0.16);
}
.tm-port-admin-ficha .tm-maritime-status {
  background: #cffafe;
  color: #155e75;
}
.tm-port-admin-ficha .tm-maritime-file-link {
  border-color: rgba(14, 116, 144, 0.34);
  color: #155e75;
}
.tm-port-admin-ficha .tm-maritime-cv-card {
  background: #ecfeff;
  border-color: #67e8f9;
}
.tm-port-admin-ficha .tm-maritime-cv-card .tm-maritime-card-head {
  background: #cffafe;
}
.tm-port-admin-ficha .tm-maritime-cv-card .tm-maritime-card-head h2,
.tm-port-admin-ficha .tm-maritime-cv-card .tm-maritime-card-head svg {
  color: #0e7490;
}
.tm-port-admin-ficha .tm-maritime-rent-card {
  border-color: #99f6e4;
}
.tm-port-admin-ficha .tm-maritime-rent-card .tm-maritime-card-head h2,
.tm-port-admin-ficha .tm-maritime-rent-card .tm-maritime-card-head svg,
.tm-port-admin-ficha .tm-maritime-rent-card strong {
  color: #0f766e;
}
.tm-port-admin-ficha .tm-maritime-rent-card .tm-maritime-rent-icon,
.tm-port-admin-ficha .tm-maritime-rent-card em {
  background: #ccfbf1;
  color: #0f766e;
}
.tm-port-pdf-card .button.button-primary {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.tm-port-pdf-card .button.button-primary:hover {
  background: #020617;
}
.tm-port-check-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tm-port-check-grid div {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.8rem;
}
.tm-port-check-grid strong {
  color: #dc2626;
  flex: 0 0 auto;
  font-size: 1rem;
}
.tm-port-check-grid .is-checked strong {
  color: #16a34a;
}
.tm-port-check-grid span {
  color: #374151;
  font-size: 0.92rem;
  font-weight: 700;
}
.tm-staff-admin-ficha {
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(255, 247, 237, 0.96));
}
.tm-staff-admin-ficha .tm-maritime-ficha-header {
  background: linear-gradient(90deg, #9a3412, #ea580c);
  box-shadow: 0 18px 42px rgba(154, 52, 18, 0.22);
}
.tm-staff-admin-ficha .tm-maritime-ficha-title > span,
.tm-staff-admin-ficha .tm-maritime-logout {
  color: #9a3412;
}
.tm-staff-admin-ficha .tm-maritime-ficha-title p {
  color: #ffedd5;
}
.tm-staff-admin-ficha .tm-maritime-card-head h2,
.tm-staff-admin-ficha .tm-maritime-card-head svg {
  color: #9a3412;
}
.tm-staff-admin-ficha .tm-maritime-card {
  border-color: rgba(234, 88, 12, 0.16);
}
.tm-staff-admin-ficha .tm-maritime-info-grid.four,
.tm-staff-personal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tm-staff-admin-ficha .tm-maritime-info-grid .wide {
  grid-column: 1 / -1;
}
.tm-staff-academic-level span,
.tm-staff-program-list span,
.tm-staff-program-list small {
  color: #6b7280;
  display: block;
  font-size: 0.88rem;
}
.tm-staff-academic-level strong {
  color: #111827;
  display: block;
  font-size: 0.95rem;
  margin-top: 0.2rem;
}
.tm-staff-program-list {
  display: grid;
  gap: 0.75rem;
}
.tm-staff-program-list article {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.9rem;
}
.tm-staff-program-list article strong {
  color: #111827;
  display: block;
  font-size: 0.92rem;
}
.tm-staff-admin-ficha .tm-maritime-cv-card {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.tm-staff-admin-ficha .tm-maritime-rent-card .tm-maritime-card-head h2,
.tm-staff-admin-ficha .tm-maritime-rent-card .tm-maritime-card-head svg,
.tm-staff-admin-ficha .tm-maritime-rent-card strong {
  color: #047857;
}
.tm-staff-pdf-card .button.button-primary {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.tm-staff-pdf-card .button.button-primary:hover {
  background: #020617;
}
.tm-maritime-admin-section {
  background: #fffbeb;
  border: 2px solid rgba(245, 158, 11, 0.42);
  padding: 1.5rem;
}
.tm-maritime-admin-section-head {
  justify-content: space-between;
}
.tm-maritime-admin-section-head p {
  color: #92400e;
  margin: 0.25rem 0 0;
}
.tm-maritime-admin-section-head h2,
.tm-maritime-admin-section-head svg {
  color: #78350f;
}
.tm-maritime-admin-section-head > span {
  border: 1px solid #d97706;
  border-radius: 999px;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
}
.tm-maritime-admin-checks,
.tm-maritime-final-state {
  display: grid;
  gap: 0.85rem;
}
.tm-maritime-admin-checks label,
.tm-maritime-final-state label {
  align-items: center;
  align-self: flex-start;
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: flex-start;
  line-height: 1.25;
  width: auto;
}
.tm-maritime-admin-checks input[type="checkbox"],
.tm-maritime-final-state input[type="radio"] {
  appearance: auto;
  flex: 0 0 auto;
  height: 1rem;
  margin: 0;
  padding: 0;
  width: 1rem;
}
.tm-maritime-final-state {
  border-top: 1px solid rgba(217, 119, 6, 0.24);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.tm-maritime-final-state h3 {
  color: #111827;
  font-size: 0.95rem;
  margin: 0;
}
.tm-maritime-final-state span {
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
}
.tm-maritime-final-state .is-active {
  background: #16a34a;
}
.tm-maritime-final-state .is-pending {
  background: #f97316;
}
.tm-maritime-final-state .is-observed {
  background: #dc2626;
}
.tm-maritime-admin-section textarea,
.tm-maritime-evaluator input {
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font: inherit;
  padding: 0.75rem;
  width: 100%;
}
.tm-maritime-validation-note {
  background: #eff6ff;
  border-radius: 0.375rem;
  color: #1e3a8a;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem;
}
.tm-maritime-evaluator span {
  color: #374151;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.tm-maritime-version {
  color: #6b7280;
  display: grid;
  font-size: 0.78rem;
  gap: 0.2rem;
  margin-top: 1rem;
}
.tm-maritime-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.tm-maritime-actions .button,
.tm-maritime-pdf-card .button,
.tm-maritime-cv-card .button {
  border-radius: 0.375rem;
  min-height: 2.5rem;
  padding: 0.62rem 1rem;
}

@media (max-width: 720px) {
  .candidate-ficha-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.15rem 1rem;
  }
  .candidate-ficha-hero .button,
  .candidate-ficha-cv .button {
    width: 100%;
  }
  .candidate-ficha-icon {
    height: 3.5rem;
    width: 3.5rem;
  }
  .candidate-ficha-icon svg {
    height: 1.9rem;
    width: 1.9rem;
  }
  .candidate-ficha-shell {
    margin-top: 1rem;
    width: calc(100% - 1.25rem);
  }
  .candidate-ficha-card {
    border-radius: 0.7rem;
    padding: 1rem;
  }
  .candidate-ficha-main,
  .candidate-ficha-personal-layout,
  .candidate-ficha-grid,
  .candidate-ficha-grid-plain,
  .candidate-ficha-reference {
    grid-template-columns: 1fr;
  }
  .candidate-ficha-photo {
    height: 11rem;
    width: 100%;
  }
  .candidate-ficha-list-item,
  .candidate-ficha-rent,
  .candidate-ficha-cv {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .tm-maritime-admin-ficha {
    padding: 1rem;
  }
  .tm-maritime-ficha-header,
  .tm-maritime-personal-layout,
  .tm-maritime-cv-row,
  .tm-maritime-pdf-card,
  .tm-maritime-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tm-maritime-info-grid.two,
  .tm-maritime-info-grid.three,
  .tm-staff-admin-ficha .tm-maritime-info-grid.four,
  .tm-maritime-doc-grid,
  .tm-maritime-reference-card {
    grid-template-columns: 1fr;
  }
  .tm-maritime-photo-frame,
  .tm-maritime-photo-frame img,
  .tm-maritime-photo-placeholder {
    width: 100%;
  }
  .tm-maritime-photo-frame img,
  .tm-maritime-photo-placeholder {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 18rem;
  }
  .tm-maritime-ficha-title h1 {
    font-size: 1.45rem;
  }
  .tm-maritime-actions .button,
  .tm-maritime-logout {
    width: 100%;
  }
  .tm-maritime-rent-card {
    align-items: flex-start;
    gap: 1rem;
  }
  .tm-maritime-history-head {
    flex-direction: column;
    gap: 0.35rem;
  }
  .tm-maritime-history-checks {
    grid-template-columns: 1fr;
  }
  .tm-port-check-grid {
    grid-template-columns: 1fr;
  }
}
.candidate-course-list {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.candidate-course-item {
  background: rgba(13, 53, 93, 0.04);
  border: 1px solid rgba(13, 53, 93, 0.08);
  border-radius: 0.85rem;
  min-width: 0;
  padding: 0.85rem;
}
.candidate-course-item strong {
  color: var(--navy-deep);
  display: block;
  overflow-wrap: anywhere;
}
.candidate-course-item span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.18rem;
}
.candidate-empty-state {
  margin-bottom: 1rem;
}
.candidate-readonly-note span {
  display: block;
  margin-top: 0.45rem;
}
.toast-stack {
  position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: 0.6rem; z-index: 40;
}
.toast {
  min-width: 240px; max-width: 360px; padding: 0.9rem 1rem; border-radius: 1rem;
  color: var(--white); box-shadow: var(--shadow); animation: toast-in 0.2s ease;
}
.toast-success { background: linear-gradient(135deg, #0f7b52, #1e9b6a); }
.toast-error { background: linear-gradient(135deg, #963232, #b85151); }
.toast-info { background: linear-gradient(135deg, var(--navy), #2b5d8d); }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: 0.3s ease; }
.is-invalid { border-color: rgba(177, 58, 58, 0.4); outline: 2px solid rgba(177, 58, 58, 0.12); }
.field-error { color: var(--danger); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 960px) {
  .hero-grid, .split-callout, .dashboard-grid, .three-up, .results-grid, .stats-grid, .hero-panel, .bullet-cards {
    grid-template-columns: 1fr;
  }
  .admin-hub-hero { grid-template-columns: 1fr; }
  .admin-nav-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-support-grid,
  .admin-preview-grid,
  .admin-evaluation-grid,
  .admin-activation-grid { grid-template-columns: 1fr; }
  .admin-state-options,
  .admin-check-grid,
  .admin-history-checks { grid-template-columns: 1fr; }
  .admin-original-hero { align-items: flex-start; flex-direction: column; }
  .admin-original-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-uf-layout,
  .admin-uf-main,
  .admin-talent-lists,
  .admin-showcase-grid { grid-template-columns: 1fr; }
  .admin-uf-grid,
  .admin-metric-strip.five,
  .admin-metric-strip.four,
  .admin-metric-strip.three,
  .admin-bottom-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-original-filters { grid-template-columns: 1fr; }
  .admin-activation-mail-form { align-items: stretch; flex-direction: column; }
  .admin-filter-grid { grid-template-columns: 1fr; }
  .postgres-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maritime-audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .postgres-preinscriptions-grid { grid-template-columns: 1fr; }
  .admin-detail-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .reconciliation-cards { grid-template-columns: 1fr; }
  .safe-detail-grid { grid-template-columns: 1fr; }
  .aggregate-grid { grid-template-columns: 1fr; }
  .company-hero-panel {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .company-hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .company-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-two-column { grid-template-columns: 1fr; }
  .company-readonly-grid { grid-template-columns: 1fr; }
  .company-catalog-grid { grid-template-columns: 1fr; }
  .company-search-controls,
  .company-filter-row { grid-template-columns: 1fr; }
  .company-search-submit,
  .company-filter-submit { width: 100%; }
  .company-search-results-head,
  .company-candidate-main,
  .company-candidate-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .company-candidate-card {
    grid-template-columns: 1fr;
  }
  .company-candidate-actions {
    justify-content: stretch;
    white-space: normal;
  }
  .company-candidate-meta { grid-template-columns: 1fr; }
  .company-search-change,
  .company-candidate-actions .button { width: 100%; }
  .company-candidate-actions { width: 100%; }
  .company-search-pagination { align-items: stretch; flex-direction: column; }
  .company-search-pagination .button { width: 100%; }
  .main-nav { display: none; }
}
@media (max-width: 720px) {
  .form-grid, .filter-grid { grid-template-columns: 1fr; }
  .nav-shell { align-items: flex-start; flex-direction: column; }
  .admin-nav-tabs,
  .admin-overview-grid { grid-template-columns: 1fr; }
  .admin-original-title { align-items: flex-start; flex-direction: column; }
  .admin-original-hero { padding: 1rem; }
  .admin-original-card { padding: 1rem; }
  .admin-original-card-head,
  .admin-original-section-head { flex-direction: column; }
  .admin-original-tabs,
  .admin-uf-layout,
  .admin-uf-main,
  .admin-uf-grid,
  .admin-metric-strip.five,
  .admin-metric-strip.four,
  .admin-metric-strip.three,
  .admin-metric-strip.two,
  .admin-talent-lists,
  .admin-showcase-grid,
  .admin-bottom-metrics { grid-template-columns: 1fr; }
  .admin-original-tabs .admin-nav-tab { justify-content: flex-start; padding-left: 0.8rem; }
  .admin-deficit-band,
  .admin-uf-tariffs div { align-items: flex-start; flex-direction: column; }
  .postgres-stats-head { flex-direction: column; }
  .badge-row { justify-content: flex-start; }
  .postgres-stats-grid { grid-template-columns: 1fr; }
  .maritime-audit-grid { grid-template-columns: 1fr; }
  .preinscription-metrics { grid-template-columns: 1fr; }
  .admin-detail-hero { grid-template-columns: 1fr; }
  .activation-status-grid { grid-template-columns: 1fr; }
  .reconciliation-totals { grid-template-columns: 1fr; }
  .reconciliation-card li { grid-template-columns: 1fr; }
  .reconciliation-plan-card { grid-template-columns: 1fr; }
  .reconciliation-plan-summary { justify-content: flex-start; }
  .audit-plan-card { grid-template-columns: 1fr; }
  .audit-plan-summary { justify-content: flex-start; }
  .company-dashboard-shell { padding-top: 0; }
  .company-dashboard-shell > .container,
  .company-hero-strip > .container {
    width: calc(100% - 1.25rem);
  }
  .company-hero-strip {
    margin-bottom: 1.1rem;
  }
  .company-hero-panel {
    gap: 0.9rem;
    min-height: 0;
    padding: 1.15rem 0;
  }
  .company-tabs-card { border-radius: 0.8rem; padding: 1rem; }
  .company-hero-icon { height: 3.7rem; width: 3.7rem; }
  .company-hero-icon svg { height: 1.75rem; width: 1.75rem; }
  .company-hero-copy h1 { font-size: 1.42rem; }
  .company-hero-copy p { font-size: 0.9rem; }
  .company-hero-actions .button { width: 100%; }
  .company-stat-grid,
  .company-aggregate-grid { grid-template-columns: 1fr; }
  .company-catalog-card dl { grid-template-columns: 1fr; }
  .company-tabs { grid-template-columns: 1fr; }
  .company-tab { justify-content: flex-start; }
  .candidate-profile-hero,
  .candidate-profile-grid,
  .document-metadata-grid,
  .candidate-course-list {
    grid-template-columns: 1fr;
  }
  .candidate-profile-hero {
    align-items: flex-start;
  }
}

/* Landing/login visual parity with the React frontend */
.marketing-page {
  --tm-blue: #052b80;
  --tm-blue-light: #1b72ba;
  --tm-orange: #e85303;
  --tm-gray: #4b5563;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #eff6ff 100%);
  color: #111827;
}

.marketing-page .container {
  width: min(1200px, calc(100% - 3rem));
}

.marketing-header {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
  backdrop-filter: none;
}

.marketing-header .nav-shell {
  padding: 0.75rem 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 8rem;
  max-width: 22rem;
  object-fit: contain;
}

.marketing-page .button {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  box-shadow: none;
}

.marketing-page .button:hover {
  transform: none;
}

.button-orange {
  background: var(--tm-orange);
  color: #ffffff;
}

.button-orange:hover {
  background: rgba(232, 83, 3, 0.9);
}

.button-blue {
  background: var(--tm-blue);
  color: #ffffff;
}

.button-blue:hover {
  background: rgba(5, 43, 128, 0.9);
}

.button-teal {
  background: #0f9f9a;
  color: #ffffff;
}

.button-teal:hover {
  background: #0d8f8a;
}

.button.full {
  width: 100%;
}

.tm-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.tm-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 43, 128, 0.4);
}

.tm-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.tm-hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 5vw, 3.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.tm-hero h1 span {
  display: inline-block;
  color: var(--tm-orange);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

.tm-hero p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 650;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.tm-section {
  padding: 3rem 0;
}

.tm-section-head {
  margin-bottom: 3rem;
}

.tm-section-head.center {
  text-align: center;
}

.tm-section-head.left {
  text-align: left;
}

.tm-section-head h2 {
  margin: 0 0 1rem;
  color: var(--tm-blue);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.16;
  font-weight: 800;
}

.tm-section-head p {
  margin: 0 auto;
  max-width: 920px;
  color: var(--tm-gray);
  font-size: 1.125rem;
  line-height: 1.7;
}

.tm-section-head.light h2,
.tm-section-head.light p {
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.tm-section-head.left p {
  margin-left: 0;
}

.tm-card-grid {
  display: grid;
  gap: 1.5rem;
}

.tm-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.tm-card-grid.wide {
  width: min(100%, 1024px);
  margin: 0 auto;
  gap: 2rem;
}

.tm-card {
  display: block;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  color: inherit;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tm-card:hover {
  border-color: var(--tm-blue-light);
  box-shadow: 0 20px 25px -5px rgba(17, 24, 39, 0.12), 0 8px 10px -6px rgba(17, 24, 39, 0.1);
}

.tm-service-card {
  padding: 1.5rem;
}

.tm-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tm-card h3 {
  margin: 0;
  color: var(--tm-blue);
  font-size: 1.125rem;
  line-height: 1.3;
}

.tm-card p {
  margin: 0;
  color: var(--tm-gray);
  line-height: 1.6;
}

.tm-icon-badge {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tm-svg-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.tm-icon-badge.large svg {
  width: 3rem;
  height: 3rem;
}

.tm-icon-badge.large {
  width: 6rem;
  height: 6rem;
  font-size: 1rem;
}

.tm-icon-badge.blue {
  background: var(--tm-blue);
}

.tm-icon-badge.orange {
  background: var(--tm-orange);
}

.tm-video-band {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.tm-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 43, 128, 0.5);
}

.tm-band-content {
  position: relative;
  z-index: 1;
}

.tm-choice-card,
.tm-person-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.tm-choice-card {
  border-width: 4px;
}

.tm-choice-card:hover {
  border-color: var(--tm-blue);
}

.tm-choice-card.orange:hover,
.tm-person-card:hover {
  border-color: var(--tm-orange);
}

.tm-choice-head {
  padding: 1.5rem;
  text-align: center;
}

.tm-choice-head .tm-icon-badge {
  margin: 0 auto 1rem;
}

.tm-choice-head h3 {
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.tm-choice-head p {
  font-size: 1rem;
}

.blue-soft {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.orange-soft {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.tm-choice-card > .button,
.tm-person-card > .button,
.tm-link-card > .button {
  margin: 1.5rem;
  width: calc(100% - 3rem);
}

.tm-person-card .tm-choice-head h3,
.tm-choice-card.orange .tm-choice-head h3,
.tm-blog-card h2 {
  color: var(--tm-orange);
}

.personnel-head {
  margin-top: 3rem;
}

.tm-orange-section {
  padding: 4rem 0;
  background: #fff7ed;
}

.tm-stack {
  display: grid;
  gap: 3rem;
}

.tm-compliance-card {
  border-color: var(--tm-blue);
  box-shadow: 0 20px 25px -5px rgba(17, 24, 39, 0.14);
}

.tm-card-header {
  padding: 1.5rem;
}

.tm-card-header.horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blue-gradient {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-blue-light));
}

.tm-card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.tm-card-header p {
  margin: 0.25rem 0 0;
  color: inherit;
  opacity: 0.9;
}

.tm-header-icon,
.tm-external {
  flex: 0 0 auto;
  font-weight: 800;
}

.tm-inline-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.tm-inline-svg-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
}

.tm-button-icon,
.tm-footer-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tm-button-icon svg {
  width: 1rem;
  height: 1rem;
}

.tm-card-body {
  padding: 2rem;
}

.tm-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.tm-card-body h3 {
  margin: 0 0 1rem;
  color: var(--tm-blue);
  font-size: 1.25rem;
}

.tm-card-body small {
  color: var(--tm-gray);
  font-weight: 400;
}

.tm-check-list,
.tm-number-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #374151;
  line-height: 1.7;
}

.tm-check-list {
  list-style: none;
  padding-left: 0;
}

.tm-check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
}

.tm-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tm-orange);
  font-weight: 800;
}

.tm-number-list li {
  margin-bottom: 0.75rem;
}

.tm-note {
  margin: 0 2rem 2rem;
  padding: 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  background: #eff6ff;
  color: #374151;
  font-size: 0.95rem;
}

.tm-blog-card {
  border-color: var(--tm-orange);
}

.tm-blog-card .tm-card-body p {
  margin-bottom: 1.5rem;
}

.tm-external {
  color: var(--tm-orange);
  font-size: 1.5rem;
}

.tm-directemar {
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  background: #f3f4f6;
}

.tm-link-card .tm-choice-head {
  min-height: 168px;
}

.tm-footer {
  margin-top: 0;
  padding: 2.5rem 0 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-blue-light));
}

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

.tm-footer-logo {
  display: block;
  width: auto;
  height: 4rem;
  max-width: 16rem;
  object-fit: contain;
  margin-bottom: 1rem;
}

.tm-footer h3 {
  margin: 0 0 1rem;
}

.tm-footer p,
.tm-footer a {
  display: block;
  margin: 0 0 0.5rem;
  color: #dbeafe;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tm-footer a:hover {
  color: #ffffff;
}

.tm-footer a.tm-footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tm-footer-link svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: none;
  stroke: currentColor;
}

.tm-footer-bottom {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(147, 197, 253, 0.65);
  text-align: center;
}

.tm-login-shell {
  position: relative;
  min-height: calc(100vh - 154px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background: #f8fafc;
}

.tm-login-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 43, 128, 0.28);
}

.tm-login-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.64);
}

.tm-login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 20px 35px rgba(17, 24, 39, 0.22);
}

.tm-login-head h1 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
}

.tm-login-logo {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  margin: 0 auto 1rem;
}

.tm-login-head p {
  margin: 0.35rem 0 0;
  color: var(--tm-gray);
}

.tm-login-card input {
  border-radius: 0.25rem;
  background: #ffffff;
}

.tm-auth-notice {
  padding: 0.85rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tm-auth-notice-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.tm-auth-notice-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.tm-auth-notice-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.tm-login-demo {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.65rem;
  border-radius: 0.5rem;
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.78rem;
}

.tm-login-demo span {
  font-family: Consolas, "Courier New", monospace;
}

body.modal-open {
  overflow: hidden;
}

.tm-login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.tm-login-modal.is-open {
  display: flex;
}

.tm-login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.tm-login-modal-card {
  width: min(100%, 28rem);
  max-height: calc(100vh - 3rem);
  overflow: auto;
}

.tm-login-modal-card .tm-login-head h1 {
  font-size: 1.125rem;
  font-weight: 600;
}

.tm-login-modal-card input {
  padding: 0.5rem 0.75rem;
  min-height: 2.5rem;
}

.tm-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-size: 1.5rem;
  line-height: 1;
}

.tm-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.activation-page {
  min-height: 100vh;
}

.tm-activation-shell {
  min-height: calc(100vh - 154px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
}

.tm-activation-panel {
  width: min(100%, 42rem);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.18);
}

.tm-activation-banner {
  padding: 2rem 2.5rem;
  background: #052b80;
  color: #ffffff;
  text-align: center;
}

.tm-activation-banner h1 {
  margin: 0;
  font-size: 1.45rem;
}

.tm-activation-banner p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.tm-activation-body {
  display: grid;
  gap: 1rem;
  padding: 2rem 2.5rem;
}

.tm-activation-body h2 {
  margin: 0;
  color: #052b80;
  font-size: 1.4rem;
}

.tm-activation-form {
  display: grid;
  gap: 1rem;
}

.tm-activation-form input {
  border-radius: 0.25rem;
}
.tm-password-control {
  align-items: stretch;
  display: flex;
  gap: 0.45rem;
}
.tm-password-control input {
  flex: 1 1 auto;
  min-width: 0;
}
.tm-password-control button {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 0.25rem;
  color: #052b80;
  cursor: pointer;
  font-weight: 800;
  padding: 0 0.9rem;
}
.tm-password-strength {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.55rem;
}
.tm-password-strength span {
  background: #e2e8f0;
  border-radius: 999px;
  display: block;
  height: 0.32rem;
}
.tm-password-strength[data-level="1"] span.is-active { background: #f97316; }
.tm-password-strength[data-level="2"] span.is-active { background: #eab308; }
.tm-password-strength[data-level="3"] span.is-active { background: #16a34a; }
.tm-password-strength-text {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.tm-activation-help {
  color: #64748b;
  font-size: 0.82rem;
  display: block;
  margin-top: 0.35rem;
}

.tm-activation-actions {
  display: grid;
  gap: 0.75rem;
}

.tm-activation-footer {
  padding: 1rem 1.5rem;
  background: #f1f3f7;
  color: #6b7280;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Public form UX */
.tm-form-page {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #eff6ff 100%);
}

.tm-form-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(5, 43, 128, 0.96), rgba(27, 114, 186, 0.9)),
    url("../images/hero-talento-marino.jpg") center / cover;
  color: #ffffff;
}

.tm-form-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.tm-form-hero .eyebrow {
  color: #ffedd5;
}

.tm-form-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.tm-form-hero p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.7;
}

.tm-form-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  max-width: 320px;
}

.tm-form-section-wrap {
  padding: 2rem 0 4rem;
}

.tm-form-shell {
  display: grid;
  gap: 1.25rem;
}

.tm-form-card {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.tm-form-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.tm-form-card-head h2 {
  margin: 0;
  color: var(--tm-blue);
  font-size: 1.35rem;
  line-height: 1.2;
}

.tm-form-card-head p {
  margin: 0.35rem 0 0;
  color: var(--tm-gray);
  line-height: 1.6;
}

.tm-step {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tm-orange);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.tm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tm-form-grid .full {
  grid-column: 1 / -1;
}

.tm-form-card .field {
  min-width: 0;
}

.tm-form-card label {
  color: #1f2937;
  font-size: 0.94rem;
}

.tm-form-card input,
.tm-form-card select,
.tm-form-card textarea {
  border-radius: 0.5rem;
  border-color: #d1d5db;
  background: #ffffff;
}

.tm-form-card textarea {
  resize: vertical;
}

.field-help {
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.45;
}

.tm-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tm-form-card .checkbox-line {
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #f9fafb;
  color: #374151;
  line-height: 1.45;
}

.tm-form-card .checkbox-line input {
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.tm-document-note {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px dashed #f59e0b;
  border-radius: 0.5rem;
  background: #fffbeb;
  color: #92400e;
  line-height: 1.55;
}

.tm-document-note strong {
  color: #78350f;
}

.tm-consent-card {
  border-color: #fed7aa;
  background: #fff7ed;
}

.tm-consent-card .tm-step {
  background: #0f766e;
}

.tm-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  background: #eff6ff;
}

.tm-form-actions p {
  max-width: 680px;
  margin: 0;
  color: #1f2937;
  line-height: 1.55;
}

.tm-candidate-maritime .tm-step,
.tm-candidate-staff .tm-step {
  background: var(--tm-blue);
}

.tm-candidate-port .tm-step {
  background: #0f9f9a;
}

.tm-registration-page {
  min-height: calc(100vh - 100px);
}

.tm-form-narrow {
  max-width: 1060px;
}

.tm-company-registration {
  background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 42%, #eef7ff 100%);
}

.tm-candidate-registration.tm-candidate-maritime {
  background: #eef7ff;
}

.tm-candidate-registration.tm-candidate-port {
  background: #eefcfb;
}

.tm-candidate-registration.tm-candidate-staff {
  background: #fff7ed;
}

.tm-register-intro {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 2rem;
  border: 1px solid #dbeafe;
  border-top: 0;
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.tm-register-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.42rem;
  background: linear-gradient(90deg, #0b4ea2, #38bdf8);
}

.tm-register-icon,
.tm-person-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.tm-register-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0b4ea2, #38bdf8);
}

.tm-register-copy h1,
.tm-person-header h1 {
  margin: 0;
  letter-spacing: 0;
}

.tm-register-copy h1 {
  color: #0f2f56;
  font-size: clamp(2rem, 4vw, 3rem);
}

.tm-form-subtitle {
  margin: 0.15rem 0 0;
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 700;
}

.tm-register-copy > p:not(.tm-form-subtitle) {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.tm-sector-badge,
.tm-form-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tm-sector-badge {
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.65rem;
  color: #0b4ea2;
  background: #dbeafe;
}

.tm-form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tm-form-pills span {
  padding: 0.42rem 0.7rem;
  color: #0f2f56;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.tm-screen-form {
  gap: 1.4rem;
}

.tm-screen-form .tm-form-card {
  border-color: #e2e8f0;
  border-radius: 0.9rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.tm-section-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 800;
}

.tm-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-muted-label {
  color: #64748b;
  font-weight: 500;
}

.tm-person-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 0.9rem;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.tm-person-header-blue {
  background: linear-gradient(135deg, #075aa5, #1677c9);
}

.tm-person-header-teal {
  background: linear-gradient(135deg, #087f83, #10b8aa);
}

.tm-person-header-orange {
  background: linear-gradient(135deg, #d75512, #f59e0b);
}

.tm-person-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.tm-person-header h1 {
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.tm-person-header p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.tm-fake-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px dashed #94a3b8;
  border-radius: 0.65rem;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tm-fake-file:hover,
.tm-fake-file.has-file {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tm-fake-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.tm-fake-file strong {
  display: inline-flex;
  margin-right: 0.65rem;
  padding: 0.48rem 0.8rem;
  border-radius: 0.45rem;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.88rem;
}

.tm-fake-file span,
.tm-fake-file em {
  color: #64748b;
  font-size: 0.88rem;
  font-style: normal;
}

.tm-fake-file.has-file span {
  color: #0f172a;
  font-weight: 700;
}

.tm-fake-file-blue {
  border-color: #93c5fd;
  background: #eff6ff;
}

.tm-fake-file-teal {
  border-color: #99f6e4;
  background: #ecfeff;
}

.tm-fake-file-orange {
  border-color: #fed7aa;
  background: #fff7ed;
}

.tm-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.7rem;
}

.tm-add-row label {
  grid-column: 1 / -1;
}

.tm-reference-block {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.tm-reference-block h3 {
  margin: 0 0 0.85rem;
  color: #0f2f56;
  font-size: 1rem;
}

.tm-alert-note,
.tm-consent-copy {
  padding: 1rem;
  border-radius: 0.65rem;
  line-height: 1.55;
}

.tm-alert-note {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.tm-consent-copy {
  margin-bottom: 1rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #854d0e;
}

.tm-cv-card-blue {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.tm-cv-card-teal {
  background: #ecfeff;
  border-color: #99f6e4;
}

.tm-cv-card-orange {
  background: #fff7ed;
  border-color: #fed7aa;
}

.tm-submit-wide {
  min-width: 18rem;
}

@media (max-width: 960px) {
  .brand-logo img {
    height: 6rem;
    max-width: 18rem;
  }

  .internal-brand-logo img {
    height: 2.8rem;
    max-width: 10rem;
  }

  .tm-card-grid.three,
  .tm-card-grid.two,
  .tm-two-columns,
  .tm-footer-grid {
    grid-template-columns: 1fr;
  }

  .tm-hero {
    height: 520px;
  }

  .tm-form-hero-grid {
    grid-template-columns: 1fr;
  }

  .tm-form-summary {
    justify-content: flex-start;
    max-width: none;
  }

  .tm-form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .tm-activation-shell {
    min-height: calc(100vh - 128px);
    padding: 1.5rem 1rem;
  }

  .tm-activation-banner,
  .tm-activation-body {
    padding: 1.4rem 1.15rem;
  }

  .marketing-page .container {
    width: min(100% - 2rem, 1200px);
  }

  .marketing-header .nav-shell {
    align-items: center;
    flex-direction: row;
  }

  .brand-logo img {
    height: 4.75rem;
    max-width: 13rem;
  }

  .internal-brand-logo img {
    height: 2.55rem;
    max-width: 9.5rem;
  }

  .tm-hero {
    height: 460px;
  }

  .tm-section,
  .tm-video-band,
  .tm-orange-section {
    padding: 2.5rem 0;
  }

  .tm-choice-head,
  .tm-card-body {
    padding: 1.25rem;
  }

  .tm-note {
    margin: 0 1.25rem 1.25rem;
  }

  .tm-form-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .tm-form-section-wrap {
    padding: 1.25rem 0 3rem;
  }

  .tm-form-card {
    padding: 1.1rem;
  }

  .tm-form-card-head,
  .tm-form-grid,
  .tm-form-grid.three,
  .tm-check-grid {
    grid-template-columns: 1fr;
  }

  .tm-form-card-head {
    gap: 0.75rem;
  }

  .tm-register-intro,
  .tm-person-header {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .tm-fake-file,
  .tm-add-row {
    grid-template-columns: 1fr;
  }

  .tm-fake-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-form-actions .button {
    width: 100%;
  }

  .tm-submit-wide {
    min-width: 0;
  }
}

/* Pixel pass for public forms against official screenshots */
body.tm-standalone-form {
  --form-company-max-width: 920px;
  --form-candidate-max-width: 1200px;
  --form-page-inline-space: 2.5rem;
  --form-card-padding: 1.55rem 1.7rem;
  --form-company-card-padding: 1.62rem 1.78rem;
  --form-person-header-padding: 1.45rem 1.7rem;
  color: #111827;
  background: #eef5ff;
  font-size: 14px;
}

body.tm-company-standalone {
  background:
    linear-gradient(90deg, rgba(239, 246, 255, 0.9), #ffffff 24%, #ffffff 76%, rgba(239, 246, 255, 0.9));
}

body.tm-personnel-standalone:has(.tm-candidate-port) {
  background: #ecfbfb;
}

body.tm-personnel-standalone:has(.tm-candidate-staff) {
  background: #fff8ef;
}

.tm-form-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(1rem, 15vw, 12rem);
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.tm-form-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.tm-standalone-form .tm-registration-page {
  min-height: 100vh;
}

.tm-standalone-form .tm-form-section-wrap {
  padding: 2.35rem 0 2.8rem;
}

.tm-standalone-form .container {
  width: min(100% - var(--form-page-inline-space), 1200px);
}

.tm-company-standalone .tm-form-narrow {
  max-width: var(--form-company-max-width);
}

.tm-personnel-standalone .tm-form-narrow {
  max-width: var(--form-candidate-max-width);
}

.tm-standalone-form .tm-register-intro {
  display: block;
  margin: 1.6rem auto 2.15rem;
  padding: 2.35rem 3rem 2.1rem;
  text-align: center;
  border-radius: 0.85rem;
  border-color: #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.tm-standalone-form .tm-register-icon {
  width: 5.15rem;
  height: 5.15rem;
  margin: 0 auto 1.25rem;
  border-radius: 0.95rem;
  background: #1f5ed7;
  box-shadow: 0 10px 22px rgba(31, 94, 215, 0.3);
}

.tm-register-icon svg,
.tm-person-icon svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-standalone-form .tm-sector-badge {
  margin-bottom: 0.85rem;
  padding: 0.42rem 1.05rem;
  color: #1557d5;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
}

.tm-standalone-form .tm-register-copy h1 {
  color: #101828;
  font-size: 2.8rem;
  line-height: 1.1;
}

.tm-standalone-form .tm-form-subtitle {
  color: #334155;
  font-size: 1.1rem;
  font-weight: 600;
}

.tm-standalone-form .tm-register-copy > p:not(.tm-form-subtitle) {
  max-width: 560px;
  margin: 1rem auto 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.55;
}

.tm-standalone-form .tm-form-pills {
  justify-content: center;
  gap: 0.52rem;
  margin-top: 1.15rem;
}

.tm-standalone-form .tm-form-pills span {
  padding: 0.36rem 0.78rem;
  font-size: 0.74rem;
  text-transform: none;
  border-color: #dbeafe;
  background: #f1f5f9;
}

.tm-standalone-form .tm-form-pills span:nth-child(2) {
  color: #047857;
  background: #ecfdf5;
}

.tm-standalone-form .tm-screen-form {
  gap: 1.45rem;
}

.tm-standalone-form .tm-screen-form .tm-form-card {
  padding: var(--form-card-padding);
  border: 1px solid #dbe3ee;
  border-radius: 0.35rem;
  background: #ffffff;
  box-shadow: none;
}

.tm-company-standalone .tm-screen-form .tm-form-card {
  padding: var(--form-company-card-padding);
}

.tm-standalone-form .tm-form-card-head {
  display: block;
  margin-bottom: 1.18rem;
}

.tm-standalone-form .tm-step {
  display: none;
}

.tm-standalone-form .tm-form-card-head h2 {
  color: #0d3f91;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.15;
}

.tm-personnel-standalone .tm-form-card-head h2 {
  color: #172033;
}

.tm-company-standalone .tm-form-card-head h2 {
  padding-bottom: 0.68rem;
  border-bottom: 2px solid #174c9f;
  font-size: 1.48rem;
}

.tm-standalone-form .tm-form-card-head p {
  margin-top: 0.24rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.3;
}

.tm-standalone-form .tm-section-kicker {
  display: flex;
  width: 100%;
  margin-bottom: 1.18rem;
  padding: 0.86rem 1rem;
  border-radius: 0.35rem;
  background: #eff6ff;
  color: #0d4ca5;
  font-size: 0.92rem;
}

.tm-standalone-form .tm-form-grid {
  gap: 1.05rem 1.18rem;
}

.tm-personnel-standalone .tm-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-standalone-form .field,
.tm-standalone-form .checkbox-line {
  gap: 0.42rem;
}

.tm-standalone-form .tm-form-card label {
  color: #111827;
  font-size: 0.8rem;
  font-weight: 700;
}

.tm-standalone-form .tm-form-card input,
.tm-standalone-form .tm-form-card select,
.tm-standalone-form .tm-form-card textarea {
  min-height: 2.38rem;
  padding: 0.48rem 0.7rem;
  border-color: #dbe3ee;
  border-radius: 0.28rem;
  color: #334155;
  font-size: 0.82rem;
  box-shadow: none;
}

.tm-standalone-form .tm-form-card textarea {
  min-height: 5rem;
}

.tm-standalone-form .field-help {
  color: #64748b;
  font-size: 0.76rem;
}

.tm-standalone-form .tm-fake-file {
  min-height: 2.38rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.28rem;
  background: #ffffff;
  position: relative;
}

.tm-standalone-form .tm-fake-file strong {
  margin-right: 0.6rem;
  padding: 0.3rem 0.62rem;
  border-radius: 0.2rem;
  background: #f8fafc;
  color: #111827;
  font-size: 0.78rem;
}

.tm-standalone-form .tm-fake-file span {
  color: #111827;
  font-size: 0.78rem;
}

.tm-standalone-form .tm-fake-file em {
  display: none;
}

.tm-standalone-form .tm-check-grid {
  padding: 1rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.35rem;
  background: #ffffff;
  gap: 0.66rem 1.3rem;
}

.tm-personnel-standalone .tm-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-company-standalone .tm-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  border: 0;
}

.tm-standalone-form .tm-form-card .checkbox-line {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 400;
}

.tm-standalone-form .tm-form-card .checkbox-line span {
  font-weight: 400;
}

.tm-standalone-form .tm-form-card .checkbox-line input,
.tm-standalone-form .tm-inline-check input,
.tm-standalone-form .tm-radio-stack input {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin-top: 0.05rem;
  padding: 0;
}

.tm-person-header {
  margin: 0 auto 1.25rem;
  padding: var(--form-person-header-padding);
  border-radius: 0.35rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.tm-person-header-blue {
  background: #2c61d8;
}

.tm-person-header-teal {
  background: #0f8fa5;
}

.tm-person-header-orange {
  background: linear-gradient(90deg, #c7420d, #f05607);
}

.tm-person-icon {
  width: 3.15rem;
  height: 3.15rem;
  border: 0;
  background: transparent;
}

.tm-person-icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

.tm-person-header h1 {
  font-size: 1.68rem;
  font-weight: 800;
}

.tm-person-header p {
  margin-top: 0.18rem;
  font-size: 0.92rem;
}

.tm-add-row {
  grid-template-columns: minmax(0, 1fr) 6rem;
  gap: 0.68rem;
}

.tm-add-row .button {
  min-height: 2.38rem;
  padding: 0.48rem 0.75rem;
  border-radius: 0.28rem;
  font-size: 0.8rem;
}

.tm-added-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2.2rem;
  padding: 0.58rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.35rem;
  background: #f8fafc;
}

.tm-added-list-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
}

.tm-added-list:not(.is-empty) .tm-added-list-empty {
  display: none;
}

.tm-added-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 0.45rem;
  padding: 0.38rem 0.5rem 0.38rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
}

.tm-added-chip > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tm-added-chip button {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.tm-reference-block {
  padding: 1.08rem;
  border-radius: 0.35rem;
  background: #f8fafc;
}

.tm-reference-block h3 {
  margin-bottom: 0.78rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.tm-reference-block .tm-form-grid {
  grid-template-columns: 1.3fr 1.1fr 0.72fr 0.72fr;
  gap: 0.8rem;
}

.tm-reference-block .tm-form-grid .full {
  grid-column: auto;
}

.tm-reference-block .tm-form-grid .field:nth-child(5) {
  grid-column: span 2;
}

.tm-consent-card {
  border-color: #facc15 !important;
  background: #fffbeb !important;
}

.tm-consent-card .tm-form-card-head h2 {
  border-bottom: 0;
  color: #713f12;
  font-size: 1.08rem;
}

.tm-consent-copy {
  max-height: 14rem;
  overflow: auto;
  padding: 1.12rem;
  border-color: #fde68a;
  background: #ffffff;
  color: #475569;
  font-size: 0.84rem;
}

.tm-consent-copy p {
  margin: 0 0 0.55rem;
}

.tm-consent-copy ul {
  margin: 0.4rem 0 0.5rem 1.1rem;
  padding: 0;
}

.tm-alert-note {
  padding: 0.82rem 0.95rem;
  border-radius: 0.35rem;
  font-size: 0.82rem;
}

.tm-cv-card-blue {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
}

.tm-cv-card-teal {
  border-color: #67e8f9 !important;
  background: #ecfeff !important;
}

.tm-cv-card-orange {
  border-color: #fdba74 !important;
  background: #fff7ed !important;
}

.tm-standalone-form .tm-form-actions {
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.tm-company-standalone .tm-form-actions {
  display: block;
}

.tm-standalone-form .tm-form-actions p {
  display: none;
}

.tm-standalone-form .tm-form-actions .button {
  min-height: 2.48rem;
  padding: 0.62rem 1.35rem;
  border-radius: 0.25rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.tm-standalone-form .tm-form-actions .button-blue {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.18);
}

.tm-standalone-form .tm-form-actions .button-blue:hover {
  background: #1e40af;
}

.tm-standalone-form .tm-form-actions .button-teal {
  background: #0f8fa5;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 143, 165, 0.18);
}

.tm-standalone-form .tm-form-actions .button-teal:hover {
  background: #0d7487;
}

.tm-standalone-form .tm-form-actions .button-orange {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(234, 88, 12, 0.18);
}

.tm-standalone-form .tm-form-actions .button-orange:hover {
  background: #c2410c;
}

.tm-standalone-form .tm-form-actions .button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.tm-company-standalone .tm-submit-wide {
  width: 100%;
  min-width: 0;
}

.tm-radio-stack,
.tm-inline-check {
  color: #111827;
  font-size: 0.82rem;
}

.tm-radio-stack label,
.tm-inline-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 720px) {
  .tm-company-admin-ficha {
    padding: 1rem;
  }

  .tm-company-ficha-header .tm-company-ficha-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem;
  }

  .tm-company-ficha-grid-top {
    grid-template-columns: 1fr;
  }

  .tm-company-ficha-grid-top .tm-company-ficha-card:not(.tm-company-logo-card) .tm-company-ficha-fields,
  .tm-company-ficha-card-wide .tm-company-ficha-fields {
    grid-template-columns: 1fr;
  }

  .tm-company-ficha-card-wide .tm-company-ficha-field:nth-child(1),
  .tm-company-ficha-card-wide .tm-company-ficha-field:nth-child(3),
  .tm-company-ficha-card-wide .tm-company-ficha-field:has(.tm-company-ficha-list) {
    grid-column: auto;
  }

  .tm-company-ficha-title h1 {
    font-size: 1.55rem;
  }

  .tm-company-ficha-card {
    padding: 1.1rem;
  }

  .tm-company-ficha-actions {
    flex-direction: column-reverse;
  }

  .tm-company-ficha-actions .button {
    width: 100%;
  }

  .tm-company-activation-meta {
    grid-template-columns: 1fr;
  }

  .tm-company-activation-form {
    align-items: stretch;
    flex-direction: column;
  }

  .tm-company-activation-form .button {
    width: 100%;
  }

  body.tm-standalone-form {
    --form-page-inline-space: 2rem;
    --form-card-padding: 1rem;
    --form-company-card-padding: 1rem;
    --form-person-header-padding: 1rem;
    font-size: 13px;
  }

  .tm-form-topbar {
    padding: 0 1rem;
  }

  .tm-standalone-form .tm-form-section-wrap {
    padding-top: 1rem;
  }

  .tm-standalone-form .tm-register-intro {
    margin-top: 1rem;
    padding: 1.45rem 1.15rem;
  }

  .tm-standalone-form .tm-register-copy h1 {
    font-size: 2rem;
  }

  .tm-standalone-form .tm-register-icon {
    width: 4rem;
    height: 4rem;
  }

  .tm-person-header h1 {
    font-size: 1.35rem;
  }

  .tm-person-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .tm-personnel-standalone .tm-form-grid.three,
  .tm-personnel-standalone .tm-check-grid,
  .tm-reference-block .tm-form-grid {
    grid-template-columns: 1fr;
  }

  .tm-reference-block .tm-form-grid .field:nth-child(5) {
    grid-column: auto;
  }

  .tm-person-header {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .admin-state-options,
  .admin-check-grid,
  .admin-history-checks {
    grid-template-columns: 1fr;
  }

  .admin-state-options label,
  .admin-check-grid label {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .tm-admin-container {
    width: min(100% - 2rem, 1280px);
  }
  .tm-original-admin .admin-original-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }
  .tm-original-admin .admin-original-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tm-original-admin .admin-uf-layout,
  .tm-original-admin .admin-uf-main,
  .tm-original-admin .admin-talent-lists,
  .tm-original-admin .admin-showcase-grid,
  .tm-admin-date-filters,
  .tm-admin-chart-summary {
    grid-template-columns: 1fr;
  }
  .tm-admin-company-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tm-original-admin .admin-uf-main {
    grid-column: auto;
  }
  .tm-original-admin .admin-metric-strip.five,
  .tm-original-admin .admin-metric-strip.four,
  .tm-original-admin .admin-bottom-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tm-admin-whatsapp-action {
    justify-content: center;
    width: 100%;
  }
  .company-pricing-grid {
    grid-template-columns: 1fr;
  }
  .company-evaluation-option {
    align-items: flex-start;
    flex-direction: column;
  }
  .company-evaluation-price {
    align-items: flex-start !important;
    justify-items: start;
  }
  .company-evaluation-price small {
    text-align: left;
    white-space: normal;
  }
  .tm-admin-page-header .tm-admin-container,
  .tm-original-admin .admin-hub-container {
    padding: 1rem 0;
  }
  .tm-admin-container {
    width: min(100% - 1rem, 1280px);
  }
  .tm-original-admin .admin-original-hero,
  .tm-original-admin .admin-original-card {
    padding: 1rem;
  }
  .tm-original-admin .admin-original-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .tm-original-admin .admin-original-hero h1 {
    font-size: 1.45rem;
  }
  .tm-original-admin .admin-original-filters,
  .tm-original-admin .admin-original-tabs,
  .tm-original-admin .admin-metric-strip.five,
  .tm-original-admin .admin-metric-strip.four,
  .tm-original-admin .admin-metric-strip.three,
  .tm-original-admin .admin-showcase-grid,
  .tm-admin-company-filters,
  .tm-original-admin .admin-bottom-metrics {
    grid-template-columns: 1fr;
  }
  .tm-admin-membership-info {
    align-items: flex-start;
    flex-direction: column;
  }
  .tm-admin-pagination,
  .tm-admin-pagination-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .tm-admin-pagination-actions .button,
  .tm-admin-pagination-actions label,
  .tm-admin-pagination-actions select {
    width: 100%;
  }
  .tm-admin-original-table {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    width: calc(100% + 0.5rem);
  }
  .tm-admin-original-table th,
  .tm-admin-original-table td {
    font-size: 0.78rem;
    padding: 0.68rem 0.62rem;
  }
  .tm-original-admin .admin-showcase-head,
  .tm-original-admin .admin-showcase-grid article,
  .tm-original-admin .admin-bottom-metrics .admin-pastel-card {
    padding: 1rem;
  }
  .tm-original-admin .admin-showcase-grid {
    padding: 1rem;
  }
  .tm-original-admin .admin-showcase-copy {
    margin: 0 1rem 1rem;
  }
}

/* TM-HOME-MARIEL-P1-P2: scoped, presentation-only adjustments. */
.tm-home-redesign .tm-home-header-inner {
  min-height: 92px;
}

.tm-home-redesign .tm-home-logo img {
  max-height: 76px;
  width: 192px;
}

.tm-home-redesign .tm-home-hero {
  min-height: 500px;
}

.tm-home-redesign .tm-home-hero-inner {
  min-height: 412px;
}

@media (max-width: 920px) {
  .tm-home-redesign .tm-home-header-inner {
    min-height: 80px;
  }

  .tm-home-redesign .tm-home-logo img {
    max-height: 66px;
    width: 164px;
  }

  .tm-home-redesign .tm-home-hero {
    min-height: 540px;
  }

  .tm-home-redesign .tm-home-hero-inner {
    min-height: 370px;
  }
}

@media (max-width: 480px) {
  .tm-home-redesign .tm-home-logo img {
    max-height: 60px;
    width: 150px;
  }

  .tm-home-redesign .tm-home-hero {
    min-height: 600px;
  }

  .tm-home-redesign .tm-home-hero-inner {
    min-height: 348px;
  }
}

/* TM-MARITIME-WIZARD-VISUAL-POLISH: Aqua design language, maritime blue accent. */
.tm-candidate-maritime [data-maritime-wizard-step="1"] .tm-form-grid.three {
  gap: 18px;
  align-items: end;
}

.tm-candidate-maritime [data-maritime-wizard-step="1"] .tm-fake-file {
  min-height: 116px;
  border-radius: 10px;
  background: #fbfcfe;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] > .tm-form-grid {
  gap: 22px;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] > .tm-form-grid > .field > label:first-child,
.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > label:first-child,
.tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack > label:first-child {
  display: block;
  margin-bottom: 10px;
  color: #12395f;
  font-size: 14px;
  font-weight: 800;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] #cargo {
  min-height: 46px;
  border-color: #cdd8e3;
  border-radius: 8px;
  background: #fff;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid .checkbox-line {
  min-height: 58px;
  margin: 0;
  padding: 11px;
  border: 1px solid #d9e2eb;
  border-radius: 9px;
  background: #fff;
  color: #29445f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.32;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid .checkbox-line:hover {
  border-color: #88b4d2;
  background: #f8fbfe;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid .checkbox-line:has(input:checked) {
  border-color: #075da8;
  background: #eff8fd;
  box-shadow: inset 0 0 0 1px #075da8;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid .checkbox-line input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: #075da8;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] [data-maritime-other-field] {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #9bbcd7;
  border-radius: 9px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="2"] [data-maritime-other-field] label {
  margin: 0;
  color: #315b7a;
  font-size: 13px;
  font-weight: 800;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] > .tm-form-grid > .field:not(.full) {
  padding: 16px;
  border: 1px solid #d9e2eb;
  border-radius: 10px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] > .tm-form-grid > .field:not(.full) input {
  min-height: 44px;
  margin-top: 5px;
  background: #fff;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack,
.tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid #d9e2eb;
  border-radius: 10px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > label:first-child,
.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > small,
.tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack > label:first-child {
  grid-column: 1 / -1;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > label:not(:first-child),
.tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack > label:not(:first-child) {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px;
  border: 1px solid #d9e2eb;
  border-radius: 9px;
  background: #fff;
  color: #29445f;
  font-size: 13px;
  font-weight: 700;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > label:has(input:checked),
.tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack > label:has(input:checked) {
  border-color: #075da8;
  background: #eff8fd;
  box-shadow: inset 0 0 0 1px #075da8;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] [data-first-job-references] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #d9e2eb;
  border-radius: 11px;
  background: #fbfdfe;
  box-shadow: none;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block h3 {
  margin: 0 0 14px;
  color: #173b63;
  font-size: 15px;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid .field:nth-child(3),
.tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid .field:nth-child(4) {
  display: inline-grid;
  grid-column: auto;
}

.tm-candidate-maritime [data-maritime-wizard-step="4"] > .tm-form-grid {
  align-items: end;
}

.tm-candidate-maritime [data-maritime-wizard-step="4"] > .tm-form-grid > .field:not(.full) {
  padding: 16px;
  border: 1px solid #d9e2eb;
  border-radius: 10px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="4"] > .tm-form-grid > .field:not(.full) input {
  min-height: 44px;
  margin-top: 5px;
  background: #fff;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] > .tm-form-grid:first-of-type {
  padding: 18px;
  border: 1px solid #d9e2eb;
  border-radius: 11px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] > .tm-form-grid:first-of-type input,
.tm-candidate-maritime [data-maritime-wizard-step="5"] > .tm-form-grid:first-of-type select {
  min-height: 44px;
  margin-top: 5px;
  background: #fff;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-courses {
  margin: 22px 0;
  padding: 20px;
  border-color: #cfddea;
  border-radius: 12px;
  background: #fbfdff;
  box-shadow: 0 5px 16px rgba(21, 54, 93, 0.045);
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-heading h2,
.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-code-preview strong,
.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-course-card header strong {
  color: #173b63;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-add-panel {
  padding: 16px;
  border-color: #d9e5ef;
  border-radius: 10px;
  background: #f4f9fd;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-course-card {
  border-color: #d9e5ef;
  border-radius: 10px;
  background: #fff;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] > .tm-form-grid:last-of-type {
  padding-top: 2px;
}

.tm-candidate-maritime [data-maritime-wizard-step="5"] textarea {
  min-height: 104px;
  border-color: #cdd8e3;
  border-radius: 9px;
}

.tm-candidate-maritime [data-maritime-wizard] .tm-cv-card .tm-fake-file {
  min-height: 136px;
  border: 2px dashed #9cafc1;
  border-radius: 10px;
  background: #fbfcfe;
}

.tm-candidate-maritime [data-maritime-wizard] .tm-cv-card .tm-fake-file.has-file {
  border-color: #075da8;
  background: #eff8fd;
}

.tm-candidate-maritime .tm-maritime-review-group {
  padding: 14px;
  border-radius: 9px;
  background: #fff;
}

.tm-candidate-maritime .tm-maritime-review-group h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.tm-candidate-maritime [data-maritime-wizard-step="6"] .tm-consent-registration-card {
  padding: 22px;
  border-color: #c9dce9;
  border-radius: 14px;
  background: #f8fbfd;
}

.tm-candidate-maritime [data-maritime-wizard-step="6"] .tm-consent-registration-text {
  max-height: 260px;
  margin: 0 0 16px;
  padding: 14px;
  overflow: auto;
  border: 1px solid #d9e2eb;
  border-radius: 9px;
  background: #fff;
  color: #29445f;
  font-size: 13px;
  line-height: 1.65;
}

.tm-candidate-maritime [data-maritime-wizard-step="6"] .tm-consent-declaration {
  margin-top: 8px;
  border-color: #d9e2eb;
  background: #fff;
}

@media (max-width: 980px) {
  .tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-candidate-maritime [data-maritime-wizard-step="3"] [data-first-job-references] {
    grid-template-columns: 1fr;
  }

  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid .full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .tm-candidate-maritime [data-maritime-wizard-step="2"] .tm-check-grid,
  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack,
  .tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack,
  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-reference-block .tm-form-grid {
    grid-template-columns: 1fr;
  }

  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > label:first-child,
  .tm-candidate-maritime [data-maritime-wizard-step="3"] .tm-radio-stack > small,
  .tm-candidate-maritime [data-maritime-wizard-step="4"] .tm-radio-stack > label:first-child {
    grid-column: auto;
  }

  .tm-candidate-maritime [data-maritime-wizard-step="5"] > .tm-form-grid:first-of-type,
  .tm-candidate-maritime [data-maritime-wizard-step="5"] .tm-omi-courses,
  .tm-candidate-maritime [data-maritime-wizard-step="6"] .tm-consent-registration-card {
    padding: 16px;
  }
}

/* TM-HOME-MARIEL-FINAL-VISUAL: perceptible desktop/notebook scale, bounded on mobile. */
.tm-home-redesign .tm-home-header-inner {
  min-height: 100px;
}

.tm-home-redesign .tm-home-logo img {
  max-height: 84px;
  width: 216px;
}

.tm-home-redesign .tm-home-hero {
  min-height: 620px;
}

.tm-home-redesign .tm-home-hero-inner {
  min-height: 516px;
}

@media (max-width: 920px) {
  .tm-home-redesign .tm-home-header-inner {
    min-height: 84px;
  }

  .tm-home-redesign .tm-home-logo img {
    max-height: 70px;
    width: 174px;
  }

  .tm-home-redesign .tm-home-hero {
    min-height: 570px;
  }

  .tm-home-redesign .tm-home-hero-inner {
    min-height: 420px;
  }
}

@media (max-width: 480px) {
  .tm-home-redesign .tm-home-logo img {
    max-height: 60px;
    width: 154px;
  }

  .tm-home-redesign .tm-home-hero {
    min-height: 600px;
  }

  .tm-home-redesign .tm-home-hero-inner {
    min-height: 348px;
  }
}
