:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --border: #dce5f2;
  --border-strong: #c7d3e8;
  --text: #0f2a6e;
  --text-soft: #5a6789;
  --text-faint: #7a86a6;
  --brand: #0d2b6d;
  --brand-deep: #081e57;
  --brand-bright: #1f55d4;
  --accent: #ffc423;
  --accent-deep: #e7a800;
  --success-soft: #ebf8ef;
  --shadow-lg: 0 28px 70px rgba(8, 30, 87, 0.14);
  --shadow-md: 0 18px 35px rgba(10, 37, 96, 0.09);
  --shadow-sm: 0 8px 18px rgba(10, 37, 96, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* RiskGPT - plataforma IA paralela */
.ai-body {
  background:
    radial-gradient(circle at 15% 8%, rgba(49, 212, 165, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(57, 107, 230, 0.16), transparent 24%),
    linear-gradient(180deg, #eef5fb 0%, #f8fbff 100%);
}

.ai-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.ai-layout {
  align-items: start;
}

.ai-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  background:
    linear-gradient(180deg, rgba(6, 24, 65, 0.98) 0%, rgba(8, 39, 87, 0.98) 100%);
  color: #ffffff;
}

.ai-sidebar .sidebar-link,
.ai-sidebar .sidebar-group__trigger,
.ai-sidebar .sidebar-sublink {
  color: rgba(255, 255, 255, 0.8);
}

.ai-sidebar .sidebar-link:hover,
.ai-sidebar .sidebar-link--active {
  background: rgba(75, 218, 176, 0.16);
  color: #ffffff;
}

.ai-sidebar-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.ai-sidebar-card p {
  color: rgba(255, 255, 255, 0.7);
}

.ai-main {
  display: grid;
  gap: 22px;
}

.ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(5, 21, 60, 0.97) 0%, rgba(12, 42, 101, 0.96) 54%, rgba(14, 94, 113, 0.93) 100%);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 30, 87, 0.18);
  overflow: hidden;
}

.ai-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 410px;
  max-width: 760px;
}

.ai-hero .platform-kicker,
.ai-hero__copy p {
  color: rgba(255, 255, 255, 0.76);
}

.ai-hero h2 {
  margin: 12px 0 18px;
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ai-hero__copy p {
  margin: 0;
  max-width: 660px;
  font-size: 1.04rem;
  line-height: 1.7;
}

.ai-hero__actions,
.ai-source-grid,
.ai-prompt-row,
.ai-knowledge__flow,
.ai-roadmap__line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-hero__actions {
  margin-top: 28px;
}

.ai-command-center {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(75, 218, 176, 0.28), transparent 42%),
    rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ai-command-center__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ai-command-center__top div {
  display: grid;
  gap: 4px;
}

.ai-command-center__top span,
.ai-command-center__top b,
.ai-insight-card span,
.ai-signal-grid small {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ai-command-center__top strong {
  font-size: 1.25rem;
}

.ai-command-center__top b {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(75, 218, 176, 0.18);
  color: #73f0c7;
}

.ai-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ai-signal-grid article,
.ai-insight-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.ai-signal-grid article {
  display: grid;
  gap: 7px;
  min-height: 130px;
  padding: 14px;
}

.ai-signal-grid small,
.ai-signal-grid span,
.ai-insight-card span {
  color: rgba(255, 255, 255, 0.7);
}

.ai-signal-grid strong {
  font-size: 2rem;
  line-height: 1;
  color: #73f0c7;
}

.ai-insight-card {
  padding: 18px;
}

.ai-insight-card p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.ai-metrics {
  margin: 0;
}

.ai-workbench,
.ai-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.ai-upload-panel,
.ai-result-panel,
.ai-chat-panel,
.ai-map-card,
.ai-knowledge,
.ai-roadmap {
  border-radius: 22px;
}

.ai-dropzone {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 238px;
  margin-top: 18px;
  padding: 22px;
  border: 1.5px dashed rgba(31, 85, 212, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  text-align: center;
}

.ai-dropzone svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #1f55d4;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-dropzone strong {
  color: var(--brand);
  font-size: 1.1rem;
}

.ai-dropzone span {
  color: var(--text-soft);
}

.ai-source-grid {
  margin-top: 14px;
}

.ai-source-grid button,
.ai-prompt-row button {
  border: 0;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.ai-source-grid button {
  padding: 10px 13px;
}

.ai-finding-list,
.ai-chat {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.ai-finding-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.ai-finding-list b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0d2b6d;
  color: #ffffff;
}

.ai-finding-list strong,
.ai-module-card strong,
.ai-roadmap__line strong {
  display: block;
  color: var(--brand);
}

.ai-finding-list p,
.ai-module-card p,
.ai-roadmap__line span,
.ai-alert-list,
.ai-chat__message p {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.ai-chat {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.ai-chat__message {
  max-width: 86%;
  padding: 13px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.ai-chat__message--user {
  justify-self: end;
  background: #0d2b6d;
}

.ai-chat__message--user p {
  color: #ffffff;
}

.ai-chat__message--bot strong {
  color: #13a77b;
}

.ai-prompt-row {
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-faint);
}

.ai-prompt-row button {
  padding: 9px 16px;
  background: #13a77b;
  color: #ffffff;
}

.ai-heatmap {
  position: relative;
  min-height: 278px;
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 46%, rgba(255, 70, 70, 0.58), transparent 8%),
    radial-gradient(circle at 30% 58%, rgba(255, 196, 35, 0.58), transparent 12%),
    radial-gradient(circle at 74% 70%, rgba(75, 218, 176, 0.5), transparent 11%),
    linear-gradient(135deg, #eaf2ff 0%, #f8fbff 100%);
}

.ai-heatmap::before,
.ai-heatmap::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 18px;
}

.ai-heatmap::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 43, 109, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 43, 109, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.ai-pin,
.ai-pulse {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.ai-pin {
  width: 16px;
  height: 16px;
  background: #1f55d4;
  box-shadow: 0 0 0 6px rgba(31, 85, 212, 0.14);
}

.ai-pin--one { left: 24%; top: 34%; }
.ai-pin--two { left: 62%; top: 42%; background: #ed3f5f; }
.ai-pin--three { left: 78%; top: 66%; background: #13a77b; }

.ai-pulse {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(237, 63, 95, 0.26);
  animation: aiPulse 2.8s ease-in-out infinite;
}

.ai-pulse--one { left: 53%; top: 30%; }
.ai-pulse--two { left: 20%; top: 48%; animation-delay: 0.9s; }

@keyframes aiPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.48; }
  50% { transform: scale(1.16); opacity: 0.9; }
}

.ai-alert-list {
  display: grid;
  gap: 9px;
  padding-left: 18px;
}

.ai-knowledge__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ai-knowledge__stats article,
.ai-module-card,
.ai-roadmap__line article {
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 18px;
  background: #f8fbff;
}

.ai-knowledge__stats article {
  padding: 18px;
}

.ai-knowledge__stats strong {
  display: block;
  color: #13a77b;
  font-size: 1.65rem;
}

.ai-knowledge__stats span {
  color: var(--text-soft);
}

.ai-knowledge__flow {
  margin-top: 16px;
}

.ai-knowledge__flow span {
  padding: 10px 12px;
  border-radius: 999px;
  background: #0d2b6d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.ai-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ai-module-card {
  padding: 18px;
}

.ai-module-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #e8f6f1;
  color: #0d8462;
  font-weight: 900;
}

.ai-roadmap__line {
  margin-top: 18px;
}

.ai-roadmap__line article {
  flex: 1 1 180px;
  padding: 16px;
}

.ai-roadmap__line b {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf3ff;
  color: #1f55d4;
}

.riskgpt-access-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(19, 167, 123, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #f2fff9 0%, #e7f8f2 100%);
  color: #0d7559;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(19, 167, 123, 0.08);
}

.riskgpt-access-link span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #13a77b;
  color: #ffffff;
}

.riskgpt-access-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .ai-hero,
  .ai-workbench,
  .ai-grid-two {
    grid-template-columns: 1fr;
  }

  .ai-hero__copy {
    min-height: auto;
  }

  .ai-module-grid,
  .ai-knowledge__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ai-header {
    position: static;
  }

  .ai-sidebar {
    position: static;
  }

  .ai-hero {
    padding: 20px;
    border-radius: 20px;
  }

  .ai-hero h2 {
    font-size: 2.2rem;
  }

  .ai-signal-grid,
  .ai-module-grid,
  .ai-knowledge__stats {
    grid-template-columns: 1fr;
  }

  .ai-prompt-row {
    border-radius: 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI Variable", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 196, 35, 0.1), transparent 20%),
    linear-gradient(180deg, #f5f8fc 0%, #edf3f9 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  padding: 8px;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(338px, 0.78fr);
  gap: 10px;
  min-height: calc(100vh - 16px);
}

.platform-showcase,
.login-panel {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 43, 109, 0.06);
}

.platform-showcase {
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 14px 34px 8px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 43, 109, 0.06);
}

.brand-cluster,
.brand,
.footer-brands,
.login-panel__branding {
  display: flex;
  align-items: center;
}

.brand-cluster {
  gap: 18px;
}

.brand-cluster--landing,
.brand-cluster--footer {
  gap: 16px;
}

.brand {
  gap: 12px;
}

.brand-main {
  padding-right: 18px;
  border-right: 1px solid rgba(13, 43, 109, 0.14);
}

.brand-main--landing,
.brand-foundation--landing {
  min-height: 56px;
}

.brand-main--landing {
  padding-right: 20px;
}

.brand-foundation--landing,
.brand-foundation--footer {
  gap: 10px;
}

.brand--footer.brand-main {
  border-right-color: rgba(255, 255, 255, 0.2);
}

.brand-main--footer {
  padding-right: 18px;
  border-right-color: rgba(255, 255, 255, 0.2);
}

.brand--light.brand-main {
  border-right: none;
  padding-right: 0;
}

.brand-mark,
.foundation-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.brand-main--landing .brand-mark {
  width: 54px;
  height: 54px;
}

.brand-main--footer .brand-mark {
  width: 40px;
  height: 40px;
}

.brand-mark svg,
.foundation-mark svg,
.icon-circle svg,
.play-badge svg,
.input-icon svg,
.password-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-name,
.brand-subtitle,
.foundation-kicker,
.foundation-name {
  display: block;
  line-height: 1;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-main--landing .brand-name {
  font-size: 1.18rem;
  letter-spacing: -0.06em;
}

.brand-main--footer .brand-name {
  font-size: 0.95rem;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 0.98rem;
  font-weight: 500;
  color: #2a4fc5;
}

.brand-main--landing .brand-subtitle {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.brand-main--footer .brand-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.foundation-mark {
  width: 42px;
  height: 42px;
  color: var(--brand);
}

.brand-foundation--landing .foundation-mark {
  width: 40px;
  height: 40px;
}

.brand-foundation--footer .foundation-mark {
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.foundation-copy {
  display: grid;
  gap: 2px;
}

.foundation-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f608f;
}

.brand-foundation--landing .foundation-kicker {
  font-size: 0.54rem;
  letter-spacing: 0.09em;
}

.brand-foundation--footer .foundation-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.foundation-name {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-foundation--landing .foundation-name {
  font-size: 0.92rem;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.brand-foundation--footer .foundation-name {
  font-size: 0.82rem;
  line-height: 0.95;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a,
.footer-links a,
.module-card a,
.login-options a,
.request-access a {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.footer-links a:hover,
.module-card a:hover,
.login-options a:hover,
.request-access a:hover {
  color: var(--brand-bright);
}

.header-login,
.btn,
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.header-login {
  padding: 12px 20px;
  background: var(--accent);
  color: #0c2258;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 196, 35, 0.35);
}

.header-login:hover,
.btn:hover,
.social-button:hover {
  transform: translateY(-1px);
}

.icon-circle {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-deep);
}

.icon-circle--small {
  width: 18px;
  height: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.82fr);
  align-items: stretch;
  gap: 18px;
  padding: 8px 28px 10px;
  min-height: 0;
}

.hero-copy {
  display: grid;
  align-content: start;
  padding: 0 4px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-bright);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.hero-description,
.login-card h3,
.login-subtitle,
.section-heading h3,
.module-card h4,
.module-card p,
.footer-copy,
.request-access {
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.52rem, 3.25vw, 3.28rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h2 {
  margin-top: 10px;
  max-width: 450px;
  font-size: clamp(1.12rem, 1.4vw, 1.54rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.hero-description {
  margin-top: 10px;
  max-width: 450px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-programs {
  margin-top: 18px;
}

.section-heading--hero {
  margin-bottom: 10px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #102861;
  box-shadow: 0 16px 35px rgba(255, 196, 35, 0.28);
}

.btn-primary::after {
  content: ">";
  font-size: 1.1rem;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-bright);
  border-color: #9fb8ff;
}

.play-badge {
  width: 24px;
  height: 24px;
  padding-left: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 398px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 12%, rgba(255, 255, 255, 0.18) 28%, rgba(7, 22, 58, 0.08) 100%),
    url("assets/vision-login-reference.png");
  background-repeat: no-repeat;
  background-size: 226% auto;
  background-position: 52% 20%;
}

.hero-glow,
.hero-visual {
  display: none;
}

.worker {
  position: absolute;
  bottom: 0;
}

.worker-left {
  left: 16%;
  width: 180px;
  height: 290px;
}

.worker-right {
  right: 16%;
  width: 220px;
  height: 340px;
}

.helmet,
.face,
.torso,
.tablet,
.ear-guard {
  position: absolute;
}

.helmet {
  top: 12px;
  left: 50%;
  width: 94px;
  height: 52px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff 0%, #e8eef7 100%);
  border-radius: 60px 60px 28px 28px;
  box-shadow: inset 0 -4px 0 rgba(16, 40, 97, 0.08), 0 10px 18px rgba(16, 40, 97, 0.12);
}

.helmet::after {
  content: "";
  position: absolute;
  inset: 20px 8px auto;
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 40, 97, 0.11);
}

.face {
  top: 54px;
  left: 50%;
  width: 62px;
  height: 76px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #f3cbb4 0%, #d9a88f 100%);
  border-radius: 28px 28px 24px 24px;
  box-shadow: inset 0 -9px 0 rgba(69, 34, 14, 0.12);
}

.worker-left .face {
  width: 58px;
  height: 84px;
}

.torso {
  left: 50%;
  bottom: 0;
  width: 84%;
  height: 180px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, #123872 0%, #0a2454 100%);
  border-radius: 28px 28px 0 0;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08);
}

.worker-right .torso::before,
.worker-left .torso::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 58%;
  height: 10px;
  background: linear-gradient(90deg, transparent 0%, #d8e143 12%, #d8e143 88%, transparent 100%);
}

.worker-left .tablet {
  left: 46%;
  bottom: 24px;
  width: 96px;
  height: 64px;
  transform: translateX(-50%) rotate(12deg);
  background: linear-gradient(145deg, #d5dde8 0%, #9faebf 100%);
  border-radius: 12px;
  border: 5px solid #4f607d;
}

.worker-right .ear-guard {
  right: 4px;
  top: 122px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 12px #ffc423,
    inset 0 0 0 20px #1d2f56;
}

.factory-lights span {
  position: absolute;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  filter: blur(1px);
}

.factory-lights span:nth-child(1) {
  top: 16%;
  left: 30%;
  transform: rotate(-15deg);
}

.factory-lights span:nth-child(2) {
  top: 8%;
  right: 30%;
  width: 30px;
  transform: rotate(16deg);
}

.factory-lights span:nth-child(3) {
  top: 38%;
  left: 46%;
}

.factory-lights span:nth-child(4) {
  top: 52%;
  right: 12%;
  width: 28px;
}

.modules {
  padding: 12px 36px 14px;
}

.landing-section {
  padding: 4px 36px 28px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading--left {
  grid-template-columns: auto 1fr;
  justify-content: flex-start;
}

.section-heading--left span {
  width: 76px;
}

.section-heading span,
.divider::before,
.divider::after {
  height: 1px;
  background: rgba(15, 42, 110, 0.16);
  content: "";
}

.section-heading h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.landing-copy-block {
  max-width: 760px;
  margin-top: 14px;
}

.landing-copy-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.landing-card-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

.landing-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-info-card,
.landing-resource-card,
.contact-channel,
.contact-panel {
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 14px 30px rgba(10, 37, 96, 0.05);
}

.landing-info-card,
.landing-resource-card,
.contact-channel {
  border-radius: 18px;
  padding: 20px;
}

.landing-info-card strong,
.landing-resource-card strong,
.contact-panel__copy strong,
.contact-channel strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.35;
}

.landing-info-card p,
.landing-resource-card p,
.contact-panel__copy p,
.contact-channel small {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.landing-info-card--metric b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 196, 35, 0.18);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}

.landing-resource-card {
  display: grid;
  gap: 4px;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-resource-card:hover {
  transform: translateY(-2px);
  border-color: #bfd0f2;
  box-shadow: 0 20px 38px rgba(16, 63, 187, 0.1);
}

.landing-resource-card span {
  margin-top: 8px;
  color: var(--brand-bright);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
}

.contact-panel__copy p {
  max-width: 540px;
}

.contact-panel__channels {
  display: grid;
  gap: 14px;
}

.contact-channel span {
  display: block;
  color: var(--brand-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.module-grid--hero {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.module-card {
  position: relative;
  min-height: 178px;
  padding: 15px 14px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(16, 40, 97, 0.04);
}

.module-grid--hero .module-card {
  min-height: 0;
  padding: 12px 12px 12px;
  border-radius: 16px;
}

.module-card--featured {
  background: linear-gradient(180deg, #eef5ff 0%, #e8f1ff 100%);
}

.module-card--wide {
  grid-column: span 2;
}

.module-grid--hero .module-card--featured,
.module-grid--hero .module-card--wide {
  grid-column: span 1;
}

.module-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #def6e4;
  color: #2f8a45;
  font-size: 0.78rem;
  font-weight: 700;
}

.module-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 2px 0 16px;
  border-radius: 50%;
}

.module-grid--hero .module-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.module-grid--hero .module-icon svg {
  width: 24px;
  height: 24px;
}

.module-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-icon--blue { background: #e8f0ff; color: #2b67e4; }
.module-icon--violet { background: #f0ebff; color: #6650ff; }
.module-icon--indigo { background: #ececff; color: #5f55d8; }
.module-icon--orange { background: #fff0e8; color: #ff6b1b; }
.module-icon--amber { background: #fff4dc; color: #f0a302; }
.module-icon--teal { background: #e7f7fa; color: #1490a6; }
.module-icon--sky { background: #e5efff; color: #386fe5; }
.module-icon--green { background: #e7f7ea; color: #2f8f49; }
.module-icon--berry { background: #f5ebff; color: #8749d8; }
.module-icon--lime { background: #edf8e6; color: #4d9c2a; }
.module-icon--olive { background: #e7f0e6; color: #617f32; }

.module-card h4 {
  max-width: 170px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.module-grid--hero .module-card h4 {
  max-width: none;
  font-size: 0.84rem;
  line-height: 1.22;
}

.module-card p {
  margin-top: 8px;
  min-height: 48px;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.42;
}

.module-grid--hero .module-card p {
  min-height: 0;
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--brand-bright);
  font-weight: 800;
  font-size: 0.84rem;
}

.module-grid--hero .module-card a {
  margin-top: 8px;
  font-size: 0.76rem;
}

.module-card a::after {
  content: ">";
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding: 10px 22px;
  background: linear-gradient(180deg, #0b235d 0%, #071948 100%);
  color: #ffffff;
}

.footer-brands {
  gap: 18px;
}

.footer-copy {
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.82rem;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 14px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%);
}

.login-panel__backdrop {
  position: absolute;
  inset: 0 0 0 0;
  padding: 24px 22px 188px;
  background:
    radial-gradient(circle at top right, rgba(37, 95, 217, 0.48), transparent 26%),
    linear-gradient(180deg, #0c2460 0%, #0a2257 100%);
}

.login-panel__branding {
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  text-align: center;
}

.brand--light {
  color: #ffffff;
}

.brand--light .brand-mark {
  color: var(--accent);
}

.brand--light .brand-name,
.brand--light .brand-subtitle {
  font-size: 1.22rem;
  color: #ffffff;
}

.login-panel__branding p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
}

.plant-silhouette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 116px;
  height: 198px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 22, 58, 0.2) 48%, rgba(8, 21, 56, 0.68) 100%);
}

.tower {
  position: absolute;
  bottom: 0;
  width: 54px;
  background:
    linear-gradient(180deg, rgba(122, 186, 255, 0.24), rgba(23, 49, 109, 0.6)),
    linear-gradient(90deg, transparent 22%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0.12) 28%, transparent 28%);
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(138, 185, 255, 0.18);
}

.tower::before,
.tower::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}

.tower::before {
  top: -18px;
  width: 16px;
  height: 18px;
  background: rgba(130, 192, 255, 0.18);
}

.tower::after {
  top: -26px;
  width: 4px;
  height: 10px;
  background: rgba(140, 197, 255, 0.55);
}

.tower-a { left: 12%; height: 118px; }
.tower-b { left: 30%; height: 172px; width: 68px; }
.tower-c { right: 28%; height: 146px; }
.tower-d { right: 12%; height: 196px; width: 72px; }

.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86c7ff;
  box-shadow: 0 0 12px #86c7ff;
}

.spark-a { left: 36%; bottom: 162px; }
.spark-b { right: 22%; bottom: 144px; }
.spark-c { right: 10%; bottom: 195px; }

.login-card {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  width: 100%;
  max-width: 332px;
  margin-top: 106px;
  padding: 22px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.login-card h3 {
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.login-subtitle {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 10px;
  color: var(--brand);
  font-weight: 700;
}

.field span {
  font-size: 0.9rem;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-shell:focus-within {
  border-color: #87a7ff;
  box-shadow: 0 0 0 4px rgba(31, 85, 212, 0.12);
}

.input-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #8d99b4;
}

.input-shell input {
  width: 100%;
  border: none;
  outline: none;
  color: var(--brand);
  background: transparent;
}

.input-shell input::placeholder {
  color: #8d99b4;
}

.password-toggle {
  width: 22px;
  height: 22px;
  padding: 0;
  flex: 0 0 22px;
  border: none;
  background: transparent;
  color: #8d99b4;
  cursor: pointer;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.88rem;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-bright);
}

.login-options a,
.request-access a {
  color: var(--brand-bright);
  font-weight: 700;
}

.login-feedback {
  min-height: 20px;
  margin-top: -8px;
  color: #d03f3f;
  font-size: 0.88rem;
  font-weight: 700;
}

.login-feedback--success {
  color: #1f914b;
}

.btn-dark {
  min-height: 48px;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(12, 36, 96, 0.2);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 14px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.divider::before,
.divider::after {
  flex: 1 1 auto;
}

.social-actions {
  display: grid;
  gap: 12px;
}

.social-button {
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.88rem;
}

.social-logo {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.social-logo--microsoft {
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.social-logo--microsoft i {
  width: 10px;
  height: 10px;
  display: block;
}

.social-logo--microsoft i:nth-child(1) { background: #f25022; }
.social-logo--microsoft i:nth-child(2) { background: #7fba00; }
.social-logo--microsoft i:nth-child(3) { background: #00a4ef; }
.social-logo--microsoft i:nth-child(4) { background: #ffb900; }

.social-logo--google {
  border-radius: 50%;
  font-weight: 900;
  color: #ea4335;
  border: 2px solid #fbbc05;
  position: relative;
}

.social-logo--google::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border-top: 2px solid #4285f4;
  border-right: 2px solid #34a853;
  border-bottom: 2px solid #fbbc05;
  border-left: 2px solid #ea4335;
}

.request-access {
  margin-top: 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.landing-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.landing-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.landing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 56, 0.56);
  backdrop-filter: blur(8px);
}

.landing-modal__dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(13, 43, 109, 0.08);
  box-shadow: 0 32px 70px rgba(8, 21, 56, 0.26);
}

.landing-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(13, 43, 109, 0.12);
  box-shadow: 0 12px 24px rgba(12, 36, 96, 0.12);
  color: var(--brand);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  transform: rotate(45deg);
}

.landing-modal__content {
  padding: 30px 30px 28px;
}

@media (max-width: 1390px) {
  .header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .brand-cluster--landing,
  .brand-cluster--footer {
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .module-grid--hero {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 1180px) {
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .login-panel {
    order: -1;
    min-height: 760px;
  }

  .login-card {
    margin-top: 228px;
  }

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

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 26px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-media {
    min-height: 350px;
    background-size: 182% auto;
    background-position: 49% 20%;
  }

  .module-grid--hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-card-grid--three,
  .landing-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding: 0;
  }

  .platform-layout {
    gap: 0;
    min-height: 100vh;
  }

  .platform-showcase,
  .login-panel {
    border-radius: 0;
  }

  .hero-media {
    min-height: 340px;
    background-size: 180% auto;
    background-position: 48% 20%;
  }

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

  .module-grid--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-section {
    padding-inline: 24px;
  }

  .login-panel {
    padding-inline: 16px;
  }

  .login-panel__backdrop {
    padding-inline: 22px;
  }

  .landing-modal {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .header,
  .hero-copy,
  .modules,
  .landing-section,
  .footer {
    padding-inline: 18px;
  }

  .brand-cluster {
    flex-direction: column;
    gap: 12px;
  }

  .brand-main {
    padding-right: 0;
    border-right: none;
  }

  .brand-main--landing,
  .brand-main--footer {
    padding-right: 0;
    border-right: none;
  }

  .brand-main--landing .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-main--landing .brand-name {
    font-size: 1.04rem;
  }

  .brand-main--landing .brand-subtitle {
    font-size: 0.98rem;
  }

  .nav {
    gap: 14px 18px;
    font-size: 0.88rem;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 2.18rem;
  }

  .hero h2 {
    font-size: 1.34rem;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding-inline: 16px;
  }

  .worker-left {
    left: 8%;
    transform: scale(0.88);
    transform-origin: bottom left;
  }

  .worker-right {
    right: 4%;
    transform: scale(0.85);
    transform-origin: bottom right;
  }

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

  .module-grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card {
    min-height: 164px;
    padding: 13px 12px 12px;
  }

  .module-card h4 {
    font-size: 0.9rem;
  }

  .module-card p {
    min-height: 40px;
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .module-card a {
    font-size: 0.8rem;
  }

  .module-card--featured,
  .module-card--wide {
    grid-column: span 1;
  }

  .landing-card-grid--three,
  .landing-card-grid--four {
    grid-template-columns: 1fr;
  }

  .login-panel {
    min-height: 660px;
  }

  .login-panel__branding {
    flex-direction: column;
    align-items: center;
  }

  .login-card {
    margin-top: 150px;
    padding: 20px 18px 18px;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-button {
    justify-content: center;
    text-align: center;
  }

  .landing-modal__content {
    padding: 24px 18px 20px;
  }

  .footer {
    gap: 10px;
    padding-block: 10px;
  }
}

@media (max-width: 640px) {
  .modules .module-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .modules .module-card,
  .modules .module-card--featured {
    min-height: 164px !important;
    padding: 13px 12px 12px !important;
    grid-column: span 1 !important;
  }
}

.app-body {
  background: linear-gradient(180deg, #f3f7fc 0%, #eef4fb 100%);
}

.app-shell {
  min-height: 100vh;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
}

.app-branding,
.app-home,
.app-header__actions,
.user-switch,
.company-switch {
  display: flex;
  align-items: center;
}

.app-branding {
  gap: 26px;
}

.app-home {
  color: inherit;
}

.app-title-block {
  padding-left: 24px;
  border-left: 1px solid rgba(13, 43, 109, 0.12);
}

.app-title-block h1,
.users-page h2,
.page-top p,
.metric-card span,
.metric-card strong,
.metric-card small,
.table-footer p,
.access-flow h3,
.flow-card p,
.flow-card strong {
  margin: 0;
}

.app-title-block h1 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.app-title-block p {
  margin: 4px 0 0;
  color: var(--text-soft);
}

.app-header__actions {
  gap: 16px;
}

.prp-api-mode-indicator {
  display: grid;
  gap: 2px;
  min-width: 168px;
  padding: 9px 12px;
  border: 1px solid rgba(38, 86, 189, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 255, 0.96) 100%);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(10, 37, 96, 0.06);
}

.prp-api-mode-indicator span {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prp-api-mode-indicator small {
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.2;
}

.prp-api-mode-indicator--backend {
  border-color: rgba(23, 148, 104, 0.24);
  background: linear-gradient(180deg, rgba(245, 255, 250, 0.98) 0%, rgba(232, 250, 241, 0.98) 100%);
  color: #0f6b4d;
}

.prp-api-mode-indicator--backend-simulated,
.prp-api-mode-indicator--simulated {
  border-color: rgba(38, 86, 189, 0.26);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 255, 0.98) 100%);
  color: #1847a6;
}

.prp-api-mode-indicator--demo {
  border-color: rgba(224, 139, 31, 0.24);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98) 0%, rgba(255, 245, 226, 0.98) 100%);
  color: #ab6908;
}

.prp-api-mode-indicator--login {
  margin-bottom: 14px;
}

.company-switch,
.user-switch,
.header-icon-button,
.outline-button,
.primary-action,
.pagination__page,
.pagination__ghost,
.row-actions button,
.sidebar-group__trigger,
.mini-form__password button {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--brand);
}

.company-switch,
.user-switch {
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(10, 37, 96, 0.04);
}

.company-switch__icon,
.company-switch__caret,
.header-icon-button svg,
.row-actions button svg,
.outline-button svg,
.primary-action svg,
.search-bar__icon svg,
.sidebar-link__icon svg,
.sidebar-group__caret svg,
.mini-form__password button svg,
.pagination__ghost svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.company-switch__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f7fd;
  color: var(--brand-bright);
}

.company-switch__copy,
.user-switch__copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.company-switch__copy strong,
.user-switch__copy strong {
  font-size: 0.96rem;
}

.company-switch__copy small,
.user-switch__copy small {
  color: var(--text-soft);
  font-size: 0.83rem;
}

.header-icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.header-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #102861;
  font-size: 0.7rem;
  font-weight: 800;
}

.user-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #14387b 0%, #0a2454 100%);
  color: #ffffff;
  font-weight: 800;
}

.app-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: calc(100vh - 81px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px 10px;
  background: linear-gradient(180deg, #0f3474 0%, #082a62 100%);
}

.sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 16px 0 0;
}

.sidebar-link,
.sidebar-group__trigger,
.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 600;
}

.sidebar-link:hover,
.sidebar-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-link__icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.sidebar-group {
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-group--active {
  background: rgba(255, 196, 35, 0.08);
  border: 1px solid rgba(255, 196, 35, 0.24);
}

.sidebar-group__trigger {
  width: 100%;
  justify-content: flex-start;
  padding-right: 10px;
  border: none;
  border-radius: 0;
  background: rgba(255, 196, 35, 0.98);
  color: #0d285d;
  cursor: pointer;
}

.sidebar-group__caret {
  margin-left: auto;
}

.sidebar-subnav {
  display: grid;
  gap: 2px;
  padding: 8px 8px 10px 22px;
}

.sidebar-sublink {
  position: relative;
  min-height: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-sublink--branch {
  min-height: 28px;
  margin-left: 18px;
  padding-left: 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.sidebar-sublink::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-sublink--branch::before {
  width: 9px;
  height: 2px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.sidebar-sublink--active {
  color: #ffe07a;
}

.sidebar-sublink--active::before {
  background: #ffc423;
}

.sidebar-help {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(8, 31, 77, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sidebar-help__icon {
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.sidebar-help__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.sidebar-help p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-help__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #102861;
  font-weight: 800;
  cursor: pointer;
}

.app-main {
  padding: 18px 24px 28px;
}

.users-page {
  display: grid;
  gap: 18px;
}

.page-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.breadcrumbs strong {
  color: var(--brand);
}

.users-page h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.page-top p {
  margin-top: 6px;
  color: var(--text-soft);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 300px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.search-bar input {
  width: 100%;
  padding-right: 34px;
  border: none;
  outline: none;
  color: var(--brand);
  background: transparent;
}

.search-bar__icon {
  position: absolute;
  right: 12px;
  color: var(--text-soft);
}

.outline-button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.outline-button {
  box-shadow: 0 8px 20px rgba(10, 37, 96, 0.04);
}

.primary-action {
  border-color: transparent;
  background: linear-gradient(180deg, #1d56d7 0%, #103fbb 100%);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(16, 63, 187, 0.22);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card,
.data-card,
.flow-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(13, 43, 109, 0.08);
  box-shadow: 0 16px 32px rgba(10, 37, 96, 0.05);
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
}

.metric-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.metric-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card__icon--blue { background: #e8f0ff; color: #2458cc; }
.metric-card__icon--green { background: #e6f8ec; color: #1c9950; }
.metric-card__icon--amber { background: #fff4db; color: #da9a00; }
.metric-card__icon--violet { background: #f2eaff; color: #8647e6; }

.metric-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.metric-card strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.metric-card small {
  color: var(--text-faint);
}

.data-card {
  border-radius: 18px;
  overflow: hidden;
}

.users-table__header,
.users-row {
  display: grid;
  grid-template-columns: 1.2fr 1.35fr 1.05fr 1.7fr 1.6fr 0.9fr 1.3fr 0.7fr;
  gap: 14px;
  align-items: center;
}

.users-table__header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.users-row {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.06);
  font-size: 0.94rem;
  color: #18336f;
}

.user-cell--identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbe6fb;
  color: #3557a7;
  font-weight: 800;
  font-size: 0.82rem;
}

.profile-tag,
.status-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.profile-tag--admin { background: #dbe6ff; color: #2952b8; }
.profile-tag--coordinator { background: #def5e5; color: #1f8d4c; }
.profile-tag--sst { background: #fff1ce; color: #b77b00; }
.profile-tag--supervisor { background: #ede3ff; color: #6d37cd; }
.profile-tag--collab { background: #eceff5; color: #596a8e; }

.status-pill--active { background: #e7f7ea; color: #1f914b; }
.status-pill--inactive { background: #ffe7e7; color: #d03f3f; }

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  cursor: pointer;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.table-footer p {
  color: var(--text-soft);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination__page,
.pagination__ghost {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  cursor: pointer;
}

.pagination__page--active {
  border-color: transparent;
  background: #134abf;
  color: #ffffff;
}

.access-flow {
  padding-top: 8px;
}

.access-flow h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
}

.access-flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  align-items: center;
}

.flow-card {
  border-radius: 16px;
  padding: 16px;
}

.flow-card__preview,
.flow-card__content {
  display: grid;
  gap: 12px;
}

.flow-card__preview--brand {
  padding: 18px 14px;
  justify-items: center;
  text-align: center;
}

.flow-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flow-link {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-soft);
  text-align: left;
}

.flow-button,
.mini-form__submit {
  min-height: 40px;
  border: none;
  border-radius: 10px;
  background: #134abf;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: #134abf;
  font-size: 3rem;
  font-weight: 300;
}

.flow-step {
  color: #134abf;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.mini-form {
  display: grid;
  gap: 10px;
}

.mini-form label {
  display: grid;
  gap: 8px;
}

.mini-form label span,
.credential-list strong {
  color: var(--brand);
  font-weight: 700;
}

.mini-form input {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
}

.mini-form a {
  color: var(--brand-bright);
  font-size: 0.85rem;
  font-weight: 700;
}

.mini-form__password {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-form__password input {
  flex: 1 1 auto;
}

.mini-form__password button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  cursor: pointer;
}

.credential-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-list li,
.credential-valid {
  display: flex;
  align-items: center;
  gap: 12px;
}

.credential-list svg,
.credential-valid svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credential-valid {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ebf9f0;
  border: 1px solid #bfe8cc;
  color: #1f914b;
}

.credential-valid span {
  display: block;
}

.system-preview {
  display: grid;
  grid-template-columns: 62px 1fr;
  min-height: 156px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3fb;
  border: 1px solid var(--border);
}

.system-preview__sidebar {
  background: linear-gradient(180deg, #103775 0%, #082a62 100%);
}

.system-preview__body {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.system-preview__top {
  height: 18px;
  border-radius: 8px;
  background: #dbe6fb;
}

.system-preview__widgets,
.system-preview__charts {
  display: grid;
  gap: 8px;
}

.system-preview__widgets {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-preview__widgets span,
.system-preview__charts span {
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dce5f2;
}

.system-preview__widgets span {
  min-height: 34px;
}

.system-preview__charts {
  grid-template-columns: 1.2fr 0.8fr;
}

.system-preview__charts span {
  min-height: 70px;
}

@media (max-width: 1360px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-flow__grid {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 1180px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    gap: 18px;
  }

  .page-top {
    flex-direction: column;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .users-table {
    overflow-x: auto;
  }

  .users-table__header,
  .users-row {
    min-width: 1120px;
  }
}

@media (max-width: 920px) {
  .app-header,
  .app-branding,
  .app-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-title-block {
    padding-left: 0;
    border-left: none;
  }

  .search-bar {
    min-width: 0;
    width: 100%;
  }

  .toolbar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .app-main {
    padding-inline: 14px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .company-switch,
  .user-switch,
  .outline-button,
  .primary-action {
    width: 100%;
    justify-content: center;
  }
}

.integral-shell {
  padding: 14px 18px 24px;
}

.integral-heading {
  text-align: center;
  margin-bottom: 14px;
}

.integral-heading h1,
.integral-heading p,
.integral-panel__title h2,
.mini-banner p,
.mini-card h3,
.mini-card p,
.mini-module-card strong,
.mini-module-card small,
.mini-module-card span,
.document-sheet h3,
.document-sheet p,
.resource-item p,
.material-card p,
.kpi-box span,
.kpi-box small,
.feature-card p,
.feature-card strong {
  margin: 0;
}

.integral-heading h1 {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.integral-heading p {
  margin-top: 6px;
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
}

.integral-quicknav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.integral-quicknav__button,
.inner-module__tab,
.mini-module-card {
  font: inherit;
}

.integral-quicknav__button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cdd9ee;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.integral-quicknav__button:hover,
.mini-module-card:hover,
.inner-module__tab:hover {
  transform: translateY(-1px);
}

.integral-quicknav__button--active {
  background: #184abf;
  border-color: #184abf;
  color: #ffffff;
}

.integral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.integral-panel {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(13, 43, 109, 0.08);
  box-shadow: 0 16px 32px rgba(10, 37, 96, 0.05);
  overflow: hidden;
}

.integral-panel--wide {
  grid-column: span 2;
}

.integral-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
}

.integral-panel__title h2 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.integral-step {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #15356f;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  flex: 0 0 24px;
}

.integral-topbar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.integral-company,
.integral-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integral-company {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
}

.integral-company small,
.integral-user__copy small {
  display: block;
  color: var(--text-soft);
  font-size: 0.7rem;
}

.integral-notice {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff503c;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
}

.integral-user__copy strong {
  display: block;
  font-size: 0.78rem;
}

.user-avatar--dynamic {
  display: grid;
  place-items: center;
}

.mini-app,
.mini-modules-layout,
.inner-module,
.documents-layout {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 270px;
}

.mini-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, #0f3474 0%, #09285d 100%);
}

.mini-sidebar--compact {
  grid-template-columns: 1fr;
  min-height: auto;
}

.mini-brand {
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05)),
    linear-gradient(180deg, rgba(255,196,35,0.8), rgba(255,196,35,0.2));
  margin-bottom: 6px;
}

.mini-sidebar__item {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-sidebar__item--active {
  background: rgba(255, 196, 35, 0.98);
  color: #102861;
}

.mini-content,
.mini-modules-content,
.inner-module__content {
  padding: 12px;
}

.mini-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mini-banner strong {
  font-size: 1rem;
}

.mini-banner p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.mini-period {
  padding: 6px 10px;
  border-radius: 8px;
  background: #f4f7fd;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
}

.mini-stat-grid,
.kpi-grid,
.feature-card-grid {
  display: grid;
  gap: 10px;
}

.mini-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.mini-stat,
.mini-card,
.mini-module-card,
.kpi-box,
.feature-card,
.material-card {
  border-radius: 12px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(10, 37, 96, 0.04);
}

.material-card--link {
  display: block;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.material-card--link:hover {
  border-color: rgba(31, 85, 212, 0.22);
  box-shadow: 0 16px 30px rgba(10, 37, 96, 0.08);
  transform: translateY(-2px);
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.mini-donut {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#184abf 0 78%, #dbe6fb 78% 100%);
  color: var(--brand);
  font-weight: 800;
  position: relative;
  flex: 0 0 54px;
}

.mini-donut::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.mini-donut span {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
}

.mini-stat strong,
.kpi-box strong {
  display: block;
  color: var(--brand);
  font-size: 1.2rem;
}

.mini-stat small,
.kpi-box small,
.mini-module-card small,
.resource-item p,
.material-card p,
.feature-card p {
  display: block;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.mini-stat__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 28px;
}

.mini-stat__icon--green { background: #dff4e6; }
.mini-stat__icon--amber { background: #fff1cc; }
.mini-stat__icon--rose { background: #ffe1e1; }

.mini-dashboard-grid,
.documents-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.mini-card {
  padding: 12px;
}

.mini-card h3,
.mini-modules-content h3 {
  font-size: 0.88rem;
  font-weight: 800;
}

.mini-bars {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.mini-bars div {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
}

.mini-bars i {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #e6edf8;
  overflow: hidden;
}

.mini-bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: #1f9d57;
}

.line-chart {
  position: relative;
  height: 138px;
  margin-top: 10px;
  background:
    linear-gradient(180deg, rgba(16, 36, 96, 0.03), transparent),
    repeating-linear-gradient(0deg, rgba(16, 36, 96, 0.08), rgba(16, 36, 96, 0.08) 1px, transparent 1px, transparent 28px);
  border-radius: 10px;
  overflow: hidden;
}

.line-chart--large {
  margin-top: 12px;
  height: 180px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart__axis {
  position: absolute;
  inset: auto 10px 18px 10px;
  height: 1px;
  background: rgba(16, 36, 96, 0.18);
}

.line-blue,
.line-green,
.line-red {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-blue { stroke: #2458cc; }
.line-green { stroke: #1f9d57; }
.line-red { stroke: #df4949; }

.risk-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.74rem;
}

.risk-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.risk-list b {
  color: #df4949;
  font-size: 0.68rem;
}

.mini-modules-content p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.mini-module-grid,
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mini-module-card,
.material-card,
.feature-card {
  padding: 12px;
}

.mini-module-card {
  width: 100%;
  border: 1px solid rgba(13, 43, 109, 0.08);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mini-module-card--active {
  border-color: #8fb1ff;
  box-shadow: 0 16px 26px rgba(24, 74, 191, 0.12);
}

.module-selection-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid #d9e4fb;
}

.module-selection-banner__copy {
  display: grid;
  gap: 4px;
}

.module-selection-banner strong {
  font-size: 0.92rem;
}

.module-selection-banner span {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.module-selection-banner__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #184abf;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.module-selection-banner__action--disabled {
  background: #c4cde0;
  color: #5d6b8d;
  pointer-events: none;
}

.mini-module-card strong,
.feature-card strong,
.material-card strong {
  display: block;
  font-size: 0.83rem;
}

.material-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #2458cc;
  font-size: 0.76rem;
  font-weight: 800;
}

.material-card__cta::after {
  content: ">";
}

.mini-module-card span {
  display: block;
  margin-top: 8px;
  color: #1f9d57;
  font-size: 0.72rem;
  font-weight: 800;
}

.inner-module__tabs {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
}

.inner-module__tab {
  padding: 0 0 8px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.inner-module__tab--active {
  color: #184abf;
}

.inner-module__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  margin-top: 12px;
}

.inner-module__hero {
  height: 110px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(10, 37, 96, 0.35), rgba(10, 37, 96, 0.1)),
    linear-gradient(125deg, #334f89 0%, #c7d4ea 100%);
}

.inner-module__button,
.resource-item button,
.attachment-row button {
  min-height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: #184abf;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.74rem;
}

.info-list dt {
  color: var(--text-soft);
}

.document-view {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 258px;
}

.document-view__toc {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  background: #f6f8fc;
  border-right: 1px solid rgba(13, 43, 109, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
}

.document-view__page {
  padding: 12px;
}

.document-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.document-sheet {
  min-height: 210px;
  margin-top: 8px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.document-sheet__logos {
  width: 124px;
  height: 22px;
  background: linear-gradient(90deg, #ffc423 0 45%, #18336f 45% 100%);
  border-radius: 999px;
  opacity: 0.55;
}

.document-sheet h3 {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 800;
}

.document-sheet p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.attachment-table {
  display: grid;
}

.attachment-table__head,
.attachment-row {
  display: grid;
  grid-template-columns: 1.55fr 1.3fr 0.6fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
}

.attachment-table__head {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
}

.attachment-row {
  border-bottom: 1px solid rgba(13, 43, 109, 0.06);
  font-size: 0.74rem;
}

.resource-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.resource-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
}

.resource-icon,
.material-play,
.material-file {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.resource-icon--purple { background: #8a60ff; }
.resource-icon--teal { background: #29a7b8; }
.resource-icon--orange { background: #ff8a3d; }

.material-grid {
  padding: 12px;
  margin-top: 0;
}

.vr-training-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 12px 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid #d9e4fb;
  color: #184abf;
  font-size: 0.8rem;
  font-weight: 800;
}

.material-card {
  min-height: 110px;
}

.material-play {
  background: linear-gradient(180deg, #2a67e4 0%, #143eaf 100%);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.material-file {
  background: linear-gradient(180deg, #ffb14a 0%, #ff7d36 100%);
  width: 30px;
  height: 30px;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px 12px 0;
}

.kpi-box {
  padding: 12px;
}

.kpi-box span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.kpi-box--warn strong {
  color: #d48a00;
}

.improvement-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
}

.summary-chip {
  padding: 8px 12px;
  border-radius: 10px;
  background: #e8f0ff;
  color: #2149ad;
  font-size: 0.76rem;
  font-weight: 800;
}

.summary-chip--red { background: #ffe4e4; color: #d03f3f; }
.summary-chip--amber { background: #fff0d0; color: #d38e00; }
.summary-chip--green { background: #e4f7ea; color: #1f914b; }

.progress-bar {
  width: 92px;
  height: 7px;
  display: inline-block;
  border-radius: 999px;
  background: #e4ebf7;
  overflow: hidden;
}

.progress-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1f9d57;
}

.feature-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px;
}

.feature-card-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  color: inherit;
}

.documents-columns {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.simple-folder-list,
.simple-doc-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
}

.simple-folder-list li,
.simple-doc-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f7f9fc;
}

@media (max-width: 1280px) {
  .integral-grid,
  .integral-panel--wide {
    grid-template-columns: 1fr;
  }

  .integral-panel--wide {
    grid-column: span 1;
  }

  .mini-stat-grid,
  .feature-card-grid,
  .feature-card-grid--five,
  .kpi-grid,
  .mini-module-grid,
  .material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-dashboard-grid,
  .documents-columns,
  .inner-module__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .integral-shell {
    padding-inline: 10px;
  }

  .integral-heading h1 {
    font-size: 1.4rem;
  }

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

  .integral-panel__title,
  .integral-topbar,
  .mini-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-app,
  .mini-modules-layout,
  .inner-module,
  .documents-layout,
  .document-view {
    grid-template-columns: 1fr;
  }

  .mini-sidebar,
  .document-view__toc {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .mini-stat-grid,
  .feature-card-grid,
  .feature-card-grid--five,
  .kpi-grid,
  .mini-module-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .attachment-table__head,
  .attachment-row {
    grid-template-columns: 1fr;
  }
}

.vr-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: calc(100vh - 82px);
}

.sidebar--vr {
  gap: 18px;
  padding-top: 14px;
}

.sidebar-section-label {
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-group--formation {
  background: rgba(255, 196, 35, 0.08);
}

.sidebar-help--mobile {
  margin-top: auto;
}

.vr-store-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sidebar-help__button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.vr-main {
  padding: 18px 22px 24px;
}

.vr-page-header,
.vr-title-row,
.vr-content-grid,
.vr-bottom-grid,
.vr-scorecard,
.vr-score-legend,
.vr-card-header,
.vr-question-card__header,
.vr-control-bar,
.vr-control-cluster {
  display: flex;
}

.vr-page-header {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.vr-page-header__copy {
  display: grid;
  gap: 8px;
}

.vr-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #184abf;
  font-size: 0.92rem;
  font-weight: 800;
}

.vr-back-link svg,
.vr-exit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vr-title-row {
  align-items: center;
  gap: 12px;
}

.vr-title-row h1,
.vr-page-header__copy p,
.vr-side-card h3,
.vr-side-card p,
.vr-question-card__prompt,
.vr-question-card__meta,
.vr-bottom-card h3,
.vr-bottom-card p,
.vr-time-card__value,
.vr-point-item__copy strong,
.vr-point-item__copy small,
.vr-last-question,
.vr-feedback-card {
  margin: 0;
}

.vr-title-row h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.vr-page-header__copy p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.vr-scenario-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.vr-scenario-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 43, 109, 0.12);
  background: #ffffff;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.vr-scenario-chip--active {
  background: rgba(13, 43, 109, 0.92);
  color: #ffffff;
  border-color: rgba(13, 43, 109, 0.92);
}

.vr-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: #5b4dff;
  font-size: 0.78rem;
  font-weight: 800;
}

.vr-exit-button {
  white-space: nowrap;
}

.vr-content-grid {
  align-items: flex-start;
  gap: 18px;
}

.vr-experience {
  flex: 1 1 auto;
  min-width: 0;
}

.vr-sidepanel {
  width: 320px;
  display: grid;
  gap: 14px;
  flex: 0 0 320px;
}

.vr-sim-card,
.vr-bottom-card,
.vr-side-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(13, 43, 109, 0.08);
  box-shadow: 0 18px 32px rgba(10, 37, 96, 0.05);
}

.vr-stage {
  position: relative;
  min-height: 572px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.vr-map-card,
.vr-points-panel,
.vr-question-card {
  position: absolute;
  z-index: 3;
  border-radius: 18px;
  background: rgba(21, 24, 29, 0.9);
  color: #ffffff;
  box-shadow: 0 20px 36px rgba(4, 12, 35, 0.28);
  backdrop-filter: blur(10px);
}

.vr-map-card {
  top: 18px;
  left: 18px;
  width: 172px;
  padding: 14px;
}

.vr-map-card strong,
.vr-question-card strong,
.vr-points-panel__header strong,
.vr-point-item__copy strong,
.vr-side-card h3,
.vr-bottom-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
}

.vr-map-canvas {
  position: relative;
  height: 158px;
  margin-top: 10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18,21,28,0.24), rgba(18,21,28,0.32)),
    url("assets/vr-stage-map.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.vr-map-structure {
  display: none;
}

.vr-map-markers {
  position: absolute;
  inset: 0;
}

.vr-map-marker {
  position: absolute;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #7d5eff;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.vr-map-marker--active {
  box-shadow: 0 0 0 4px rgba(125, 94, 255, 0.22);
}

.vr-map-marker--correct {
  background: #24a35a;
}

.vr-map-marker--incorrect {
  background: #df4949;
}

.vr-map-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.vr-map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7d5eff;
}

.vr-panorama {
  position: relative;
  min-height: 572px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 25, 54, 0.08), rgba(14, 25, 54, 0.08)),
    #1f2730;
  cursor: grab;
  --vr-look-shift: 0px;
}

.vr-panorama:active {
  cursor: grabbing;
}

.vr-scene-track {
  position: absolute;
  inset: 0;
  width: 116%;
  left: -8%;
  transform: translateX(var(--vr-look-shift));
  transition: transform 180ms ease;
}

.vr-scene-sky,
.vr-scene-hills,
.vr-scene-city,
.vr-scene-floor,
.vr-scene-rails,
.vr-scene-anchor,
.vr-scene-harness,
.vr-scene-rope,
.vr-scene-cones,
.vr-scene-hotspots,
.vr-scene-steel {
  position: absolute;
}

.vr-scene-sky {
  inset: 0 0 46% 0;
  background: linear-gradient(180deg, rgba(220, 236, 255, 0.95) 0%, rgba(112, 162, 219, 0.9) 100%);
}

.vr-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  filter: blur(1px);
}

.vr-cloud::before,
.vr-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: inherit;
}

.vr-cloud--one {
  width: 140px;
  height: 48px;
  top: 66px;
  left: 180px;
}

.vr-cloud--one::before {
  width: 62px;
  height: 62px;
  left: 14px;
  top: -18px;
}

.vr-cloud--one::after {
  width: 74px;
  height: 56px;
  right: 14px;
  top: -10px;
}

.vr-cloud--two {
  width: 110px;
  height: 40px;
  top: 110px;
  right: 240px;
}

.vr-cloud--two::before {
  width: 48px;
  height: 48px;
  left: 10px;
  top: -14px;
}

.vr-cloud--two::after {
  width: 58px;
  height: 42px;
  right: 12px;
  top: -8px;
}

.vr-cloud--three {
  width: 86px;
  height: 30px;
  top: 56px;
  right: 100px;
}

.vr-cloud--three::before {
  width: 36px;
  height: 36px;
  left: 8px;
  top: -10px;
}

.vr-cloud--three::after {
  width: 44px;
  height: 34px;
  right: 8px;
  top: -7px;
}

.vr-scene-hills {
  left: -4%;
  right: -4%;
  bottom: 42%;
  height: 110px;
  background:
    radial-gradient(circle at 12% 100%, #5b6774 0 32%, transparent 33%),
    radial-gradient(circle at 34% 100%, #4d5967 0 34%, transparent 35%),
    radial-gradient(circle at 56% 100%, #5a6471 0 36%, transparent 37%),
    radial-gradient(circle at 78% 100%, #4f5965 0 32%, transparent 33%);
}

.vr-scene-city {
  left: 0;
  right: 0;
  bottom: 32%;
  height: 130px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(43, 54, 70, 0.88) 0 16px,
      rgba(69, 81, 95, 0.96) 16px 34px,
      rgba(50, 60, 74, 0.92) 34px 52px
    );
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
  opacity: 0.72;
}

.vr-scene-floor {
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(73, 71, 66, 0.22), rgba(56, 55, 51, 0.96)),
    linear-gradient(120deg, rgba(255, 194, 58, 0.4) 0 22%, transparent 22% 100%);
  transform: perspective(460px) rotateX(72deg);
  transform-origin: top center;
}

.vr-scene-rails {
  left: 0;
  right: 0;
  bottom: 24%;
  height: 150px;
}

.vr-scene-rails::before,
.vr-scene-rails::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: #d9a621;
}

.vr-scene-rails::before {
  top: 32px;
}

.vr-scene-rails::after {
  top: 68px;
}

.vr-scene-rails span {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 120px;
  background: #d9a621;
}

.vr-scene-rails span:nth-child(1) { left: 8%; }
.vr-scene-rails span:nth-child(2) { left: 18%; }
.vr-scene-rails span:nth-child(3) { left: 30%; }
.vr-scene-rails span:nth-child(4) { left: 46%; }
.vr-scene-rails span:nth-child(5) { left: 62%; }

.vr-scene-steel {
  background: linear-gradient(180deg, #27313d 0%, #1a232d 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.vr-scene-steel--one {
  right: 20%;
  top: 88px;
  width: 22px;
  height: 360px;
}

.vr-scene-steel--one::before,
.vr-scene-steel--one::after,
.vr-scene-steel--two::before,
.vr-scene-steel--three::before {
  content: "";
  position: absolute;
  background: inherit;
}

.vr-scene-steel--one::before {
  width: 220px;
  height: 18px;
  right: -170px;
  top: 46px;
  transform: rotate(24deg);
}

.vr-scene-steel--one::after {
  width: 210px;
  height: 18px;
  right: -178px;
  top: 132px;
  transform: rotate(-8deg);
}

.vr-scene-steel--two {
  right: 8%;
  top: 144px;
  width: 18px;
  height: 300px;
}

.vr-scene-steel--two::before {
  width: 160px;
  height: 16px;
  right: -122px;
  top: 42px;
  transform: rotate(38deg);
}

.vr-scene-steel--three {
  right: 34%;
  top: 214px;
  width: 18px;
  height: 230px;
}

.vr-scene-steel--three::before {
  width: 150px;
  height: 16px;
  right: -100px;
  top: 38px;
  transform: rotate(-32deg);
}

.vr-scene-anchor {
  width: 54px;
  height: 54px;
  left: 55%;
  bottom: 128px;
  border: 8px solid #ffdb68;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 219, 104, 0.14);
}

.vr-scene-harness {
  width: 150px;
  height: 48px;
  left: 18%;
  bottom: 82px;
  border: 10px solid #e0ab2a;
  border-top-color: transparent;
  border-radius: 34px;
  transform: rotate(14deg);
  opacity: 0.92;
}

.vr-scene-harness::before,
.vr-scene-harness::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: 8px solid #d69e20;
  border-top-color: transparent;
  border-radius: 50%;
}

.vr-scene-harness::before {
  left: -8px;
  top: -14px;
}

.vr-scene-harness::after {
  right: 10px;
  top: 4px;
}

.vr-scene-rope {
  width: 180px;
  height: 4px;
  left: 58%;
  bottom: 196px;
  background: #3f474f;
  transform: rotate(-24deg);
  transform-origin: left center;
}

.vr-scene-cones {
  left: 73%;
  bottom: 92px;
  width: 62px;
  height: 42px;
  background:
    linear-gradient(180deg, #f3b347 0%, #d37a1d 100%);
  clip-path: polygon(12% 100%, 26% 24%, 40% 100%, 54% 18%, 70% 100%, 84% 26%, 100% 100%);
  opacity: 0.86;
}

.vr-scene-hotspots {
  inset: 0;
}

.vr-hotspot {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(125, 94, 255, 0.95) 0 36%, rgba(125, 94, 255, 0.4) 36% 100%);
  color: #ffffff;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(125, 94, 255, 0.16);
  cursor: pointer;
}

.vr-hotspot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(125, 94, 255, 0.35);
  animation: vrPulse 1.9s ease-out infinite;
}

.vr-hotspot--active {
  box-shadow: 0 0 0 14px rgba(125, 94, 255, 0.22);
}

.vr-hotspot--correct {
  background: radial-gradient(circle at center, rgba(36, 163, 90, 0.95) 0 36%, rgba(36, 163, 90, 0.4) 36% 100%);
}

.vr-hotspot--incorrect {
  background: radial-gradient(circle at center, rgba(223, 73, 73, 0.95) 0 36%, rgba(223, 73, 73, 0.4) 36% 100%);
}

@keyframes vrPulse {
  0% { transform: scale(0.86); opacity: 0.88; }
  100% { transform: scale(1.22); opacity: 0; }
}

.vr-question-card {
  left: 50%;
  top: 47%;
  width: 340px;
  padding: 18px;
  transform: translate(-50%, -50%);
}

.vr-question-card__header {
  align-items: center;
  gap: 12px;
}

.vr-question-pill {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7d5eff;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  flex: 0 0 34px;
}

.vr-question-card__header p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.vr-question-card__prompt {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.vr-option-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.vr-option-button {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vr-option-button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.vr-question-card__meta {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.vr-pan-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 20, 32, 0.74);
  color: #ffffff;
  font-size: 0.82rem;
  z-index: 3;
}

.vr-points-panel {
  top: 18px;
  right: 18px;
  width: 184px;
  padding: 14px;
}

.vr-points-panel__header {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vr-points-panel__list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.vr-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.vr-point-item__index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-size: 0.82rem;
  font-weight: 800;
  flex: 0 0 28px;
}

.vr-point-item__copy {
  display: grid;
  gap: 4px;
}

.vr-point-item__copy small {
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
}

.vr-point-item--correct {
  background: rgba(36, 163, 90, 0.16);
}

.vr-point-item--incorrect {
  background: rgba(223, 73, 73, 0.16);
}

.vr-control-bar {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid rgba(13, 43, 109, 0.08);
}

.vr-control-cluster {
  align-items: center;
  gap: 10px;
}

.vr-control-button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.vr-control-button--round {
  width: 42px;
  min-width: 42px;
  border-radius: 50%;
}

.vr-bottom-grid {
  gap: 14px;
  margin-top: 16px;
}

.vr-progress-card {
  flex: 1 1 auto;
}

.vr-time-card {
  width: 250px;
  flex: 0 0 250px;
}

.vr-bottom-card {
  padding: 18px;
}

.vr-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.vr-step {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.vr-step span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #cfd9ee;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.vr-step strong {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.vr-step--active span,
.vr-step--done span {
  border-color: #7d5eff;
  background: #7d5eff;
  color: #ffffff;
}

.vr-step--done span {
  background: #24a35a;
  border-color: #24a35a;
}

.vr-step--active strong,
.vr-step--done strong {
  color: var(--brand);
}

.vr-time-card__value {
  margin-top: 14px;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.vr-time-card p {
  margin-top: 8px;
  color: var(--text-soft);
}

.vr-side-card {
  padding: 18px;
}

.vr-side-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.65;
}

.vr-tip-card,
.vr-feedback-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #edf3ff;
  color: #2149ad;
}

.vr-tip-card p,
.vr-feedback-card {
  margin-top: 6px;
  color: #34529a;
}

.vr-scorecard {
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.vr-score-ring {
  --score-value: 0%;
  width: 124px;
  height: 124px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2ba24f 0 var(--score-value), #ebeff8 var(--score-value) 100%);
}

.vr-score-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.vr-score-ring span,
.vr-score-ring small {
  position: relative;
  z-index: 1;
  text-align: center;
}

.vr-score-ring span {
  display: block;
  color: var(--brand);
  font-size: 1.8rem;
  font-weight: 800;
}

.vr-score-ring small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.35;
}

.vr-score-legend {
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
}

.vr-score-legend div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.vr-score-legend strong {
  margin-left: auto;
  color: var(--brand);
}

.vr-score-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.vr-score-dot--green { background: #24a35a; }
.vr-score-dot--red { background: #df4949; }
.vr-score-dot--gray { background: #c8d0de; }

.vr-card-header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vr-status-chip,
.vr-error-counter {
  min-width: 28px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.vr-status-chip--success {
  background: #e6f7eb;
  color: #24a35a;
}

.vr-status-chip--error,
.vr-error-counter {
  background: #ffe8e8;
  color: #df4949;
}

.vr-last-question {
  margin-top: 14px;
  color: var(--brand);
  font-weight: 700;
}

.vr-error-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.vr-link-button {
  margin-top: 12px;
  border: none;
  background: transparent;
  color: #184abf;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.vr-side-card--cta {
  display: grid;
  gap: 12px;
}

.vr-finish-button {
  width: 100%;
}

.primary-action--disabled,
.primary-action:disabled {
  background: #cdd6e8;
  color: #5f6f8e;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 1380px) {
  .vr-content-grid {
    flex-direction: column;
  }

  .vr-sidepanel {
    width: auto;
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .vr-layout {
    grid-template-columns: 1fr;
  }

  .vr-page-header,
  .vr-bottom-grid,
  .vr-scorecard {
    flex-direction: column;
  }

  .vr-time-card,
  .vr-sidepanel {
    width: auto;
    flex: 1 1 auto;
  }

  .vr-sidepanel {
    grid-template-columns: 1fr;
  }

  .vr-question-card {
    left: 18px;
    right: 18px;
    width: auto;
    transform: none;
  }

  .vr-points-panel {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 18px;
  }
}

@media (max-width: 760px) {
  .vr-main {
    padding-inline: 12px;
  }

  .vr-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .vr-scenario-switch {
    width: 100%;
  }

  .vr-title-row h1 {
    font-size: 1.5rem;
  }

  .vr-scenario-switch {
    flex-direction: column;
  }

  .vr-stage,
  .vr-panorama {
    min-height: 700px;
  }

  .vr-map-card {
    width: calc(100% - 36px);
  }

  .vr-control-bar {
    flex-direction: column;
  }

  .vr-stepper {
    grid-template-columns: 1fr;
  }
}

.vr-scene-track {
  inset: 0;
  width: 400%;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: translateX(-31.666%);
  transition: transform 260ms ease;
}

.vr-panorama-zone {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.vr-panorama-zone > * {
  display: none;
}

.vr-panorama-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 29, 0.14) 0%, rgba(11, 18, 29, 0) 24%, rgba(11, 18, 29, 0.18) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.vr-panorama-zone--access {
  background-image: url("assets/vr-stage-access.png");
}

.vr-panorama-zone--work {
  background-image: url("assets/vr-stage-work.png");
}

.vr-panorama-zone--edge {
  background-image: url("assets/vr-stage-edge.png");
}

.vr-panorama-zone--repeat {
  background-image: url("assets/vr-stage-access.png");
}

.vr-page--mechanical .vr-map-canvas {
  background:
    linear-gradient(180deg, #102755 0%, #17386d 38%, #edf2fb 38%, #edf2fb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.vr-page--mechanical .vr-map-structure {
  position: absolute;
  inset: 18px 20px 22px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,0.2) 12% 13%, transparent 13% 46%, rgba(255,255,255,0.2) 46% 47%, transparent 47% 78%, rgba(255,255,255,0.2) 78% 79%, transparent 79% 100%),
    linear-gradient(180deg, transparent 0 18%, rgba(255,255,255,0.22) 18% 19%, transparent 19% 54%, rgba(255,255,255,0.22) 54% 55%, transparent 55% 100%),
    linear-gradient(180deg, rgba(241, 246, 255, 0.84) 0%, rgba(223, 232, 247, 0.96) 100%);
}

.vr-page--mechanical .vr-panorama-zone {
  background-image: none;
  background:
    linear-gradient(180deg, #d6dee8 0%, #c4ceda 26%, #8f99a8 26%, #8f99a8 28%, #5a6472 28%, #5a6472 100%);
}

.vr-page--mechanical .vr-panorama-zone > * {
  display: block;
}

.vr-panorama-zone--plant-access,
.vr-panorama-zone--plant-work,
.vr-panorama-zone--plant-maintenance,
.vr-panorama-zone--plant-repeat {
  position: relative;
}

.vr-plant-backdrop,
.vr-plant-floor,
.vr-plant-grid,
.vr-plant-light,
.vr-plant-column,
.vr-plant-machine,
.vr-plant-pallet,
.vr-plant-sign,
.vr-plant-conveyor,
.vr-plant-guard,
.vr-plant-stop,
.vr-plant-feed,
.vr-plant-lockout,
.vr-plant-tag,
.vr-plant-toolcart,
.vr-plant-chips {
  position: absolute;
}

.vr-plant-backdrop {
  inset: 0 0 38% 0;
  background:
    linear-gradient(180deg, #dfe6ef 0%, #bcc7d4 46%, #9eabba 100%);
}

.vr-plant-floor {
  left: -4%;
  right: -4%;
  bottom: -8%;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(121, 125, 128, 0.12), rgba(92, 94, 96, 0.98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 72px);
  transform: perspective(540px) rotateX(74deg);
  transform-origin: top center;
}

.vr-plant-floor::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 16%;
  height: 18%;
  background:
    repeating-linear-gradient(90deg, #ffd35a 0 34px, transparent 34px 56px);
  opacity: 0.8;
}

.vr-plant-grid {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(35, 50, 71, 0.22) 11% 12%, transparent 12% 32%, rgba(35, 50, 71, 0.16) 32% 33%, transparent 33% 68%, rgba(35, 50, 71, 0.2) 68% 69%, transparent 69% 100%),
    linear-gradient(180deg, transparent 0 12%, rgba(35, 50, 71, 0.12) 12% 13%, transparent 13% 56%, rgba(35, 50, 71, 0.1) 56% 57%, transparent 57% 100%);
  opacity: 0.9;
}

.vr-plant-light {
  top: 7%;
  width: 84px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 249, 214, 0.95);
  box-shadow: 0 0 22px rgba(255, 237, 156, 0.85);
}

.vr-plant-light--one { left: 14%; }
.vr-plant-light--two { left: 42%; }
.vr-plant-light--three { right: 28%; }
.vr-plant-light--four { right: 10%; }

.vr-plant-column {
  width: 26px;
  top: 0;
  bottom: 18%;
  background: linear-gradient(180deg, #4a5563 0%, #222b35 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.vr-plant-column--one { left: 10%; }
.vr-plant-column--two { right: 14%; }
.vr-plant-column--three { right: 22%; }
.vr-plant-column--four { right: 10%; }

.vr-plant-machine {
  border-radius: 18px;
  background: linear-gradient(180deg, #32537e 0%, #223a5f 42%, #142944 100%);
  box-shadow:
    0 18px 36px rgba(4, 12, 35, 0.24),
    inset 0 0 0 2px rgba(255,255,255,0.05);
}

.vr-plant-machine::before,
.vr-plant-machine::after,
.vr-plant-conveyor::before,
.vr-plant-stop::before,
.vr-plant-lockout::before,
.vr-plant-toolcart::before,
.vr-plant-toolcart::after {
  content: "";
  position: absolute;
}

.vr-plant-machine--entry {
  left: 30%;
  bottom: 22%;
  width: 180px;
  height: 150px;
}

.vr-plant-machine--entry::before {
  left: 16px;
  right: 16px;
  top: 18px;
  height: 26px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
}

.vr-plant-machine--entry::after {
  left: 24px;
  right: 24px;
  bottom: 26px;
  height: 54px;
  border-radius: 12px;
  background: #708396;
}

.vr-plant-machine--press {
  left: 36%;
  bottom: 20%;
  width: 250px;
  height: 180px;
}

.vr-plant-machine--press::before {
  left: 18px;
  right: 18px;
  top: 18px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
}

.vr-plant-machine--press::after {
  left: 58px;
  right: 58px;
  bottom: 34px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(180deg, #a9b8c8 0%, #718397 100%);
}

.vr-plant-machine--maintenance {
  left: 46%;
  bottom: 18%;
  width: 250px;
  height: 194px;
}

.vr-plant-machine--maintenance::before {
  width: 90px;
  height: 126px;
  right: -24px;
  top: 30px;
  border-radius: 14px;
  background: linear-gradient(180deg, #54697f 0%, #22344f 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05);
}

.vr-plant-machine--maintenance::after {
  left: 24px;
  bottom: 32px;
  width: 112px;
  height: 58px;
  border-radius: 10px;
  background: #7f93a7;
}

.vr-plant-pallet {
  width: 94px;
  height: 52px;
  left: 18%;
  bottom: 14%;
  border-radius: 10px;
  background: linear-gradient(180deg, #c5873b 0%, #84511b 100%);
  box-shadow: inset 0 8px 0 rgba(255,255,255,0.08);
}

.vr-plant-sign {
  top: 19%;
  left: 14%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 28, 70, 0.88);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(4, 12, 35, 0.2);
}

.vr-plant-conveyor {
  width: 210px;
  height: 30px;
  left: 18%;
  bottom: 28%;
  border-radius: 999px;
  background: linear-gradient(180deg, #5f6b78 0%, #36414d 100%);
}

.vr-plant-conveyor::before {
  left: 16px;
  right: 16px;
  top: 8px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.vr-plant-guard {
  width: 96px;
  height: 88px;
  left: 48%;
  bottom: 34%;
  border: 7px solid rgba(255, 211, 90, 0.95);
  border-radius: 16px;
  box-shadow: 0 0 0 12px rgba(255, 211, 90, 0.12);
}

.vr-plant-stop {
  width: 42px;
  height: 108px;
  right: 18%;
  bottom: 25%;
  border-radius: 14px;
  background: linear-gradient(180deg, #4a5d76 0%, #26364b 100%);
}

.vr-plant-stop::before {
  top: 10px;
  left: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9a8f 0%, #d9382c 70%, #a71e1e 100%);
}

.vr-plant-feed {
  width: 116px;
  height: 14px;
  left: 26%;
  bottom: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd75f 0%, #efb830 100%);
  transform: rotate(-8deg);
}

.vr-plant-lockout {
  width: 28px;
  height: 84px;
  right: 24%;
  bottom: 38%;
  border-radius: 14px;
  background: linear-gradient(180deg, #e1483b 0%, #ac241f 100%);
  box-shadow: 0 0 0 8px rgba(225, 72, 59, 0.12);
}

.vr-plant-lockout::before {
  left: 4px;
  top: -18px;
  width: 20px;
  height: 26px;
  border: 5px solid #d4dde9;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
}

.vr-plant-tag {
  width: 84px;
  height: 94px;
  right: 10%;
  bottom: 28%;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff6d8 0%, #f6dd96 100%);
  transform: rotate(6deg);
  box-shadow: 0 14px 26px rgba(40, 30, 12, 0.18);
}

.vr-plant-tag::before {
  content: "LOTO";
  position: absolute;
  inset: 14px 12px auto 12px;
  padding: 8px 0;
  border-radius: 8px;
  background: #17386d;
  color: #ffffff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
}

.vr-plant-toolcart {
  width: 86px;
  height: 58px;
  left: 16%;
  bottom: 12%;
  border-radius: 12px;
  background: linear-gradient(180deg, #616f7d 0%, #38434f 100%);
}

.vr-plant-toolcart::before,
.vr-plant-toolcart::after {
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #252d36;
}

.vr-plant-toolcart::before { left: 10px; }
.vr-plant-toolcart::after { right: 10px; }

.vr-plant-chips {
  width: 150px;
  height: 56px;
  left: 20%;
  bottom: 10%;
  background:
    radial-gradient(circle at 18% 58%, rgba(198, 208, 214, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 34% 42%, rgba(162, 171, 182, 0.92) 0 7px, transparent 8px),
    radial-gradient(circle at 56% 64%, rgba(206, 214, 222, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 72% 40%, rgba(171, 180, 188, 0.95) 0 7px, transparent 8px),
    radial-gradient(circle at 86% 56%, rgba(197, 207, 214, 0.95) 0 8px, transparent 9px);
  opacity: 0.9;
}

.vr-page--mechanical .vr-panorama {
  background:
    linear-gradient(180deg, rgba(8, 20, 36, 0.04) 0%, rgba(8, 20, 36, 0.02) 24%, rgba(8, 20, 36, 0.18) 100%);
}

.vr-page--mechanical .vr-map-canvas {
  overflow: hidden;
  background:
    linear-gradient(180deg, #19283f 0%, #0d1625 100%);
}

.vr-page--mechanical .vr-map-canvas::before,
.vr-page--mechanical .vr-map-canvas::after {
  content: "";
  position: absolute;
}

.vr-page--mechanical .vr-map-canvas::before {
  inset: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #eff6fc 0%, #dae3ec 100%);
  clip-path: polygon(6% 6%, 94% 6%, 94% 34%, 82% 34%, 82% 88%, 22% 88%, 22% 70%, 6% 70%);
  opacity: 0.9;
}

.vr-page--mechanical .vr-map-canvas::after {
  inset: 16px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(36, 79, 148, 0.12) 18% 20%, transparent 20% 78%, rgba(36, 79, 148, 0.12) 78% 80%, transparent 80% 100%),
    linear-gradient(180deg, transparent 0 20%, rgba(36, 79, 148, 0.12) 20% 22%, transparent 22% 56%, rgba(36, 79, 148, 0.12) 56% 58%, transparent 58% 100%);
}

.vr-page--mechanical .vr-map-structure {
  display: none;
}

.vr-page--mechanical .vr-panorama-zone {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(1.03) contrast(1.02);
}

.vr-page--mechanical .vr-panorama-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 24%, rgba(7, 16, 28, 0.08) 64%, rgba(7, 16, 28, 0.28) 100%),
    linear-gradient(90deg, rgba(8, 18, 34, 0.18) 0%, transparent 10%, transparent 90%, rgba(8, 18, 34, 0.18) 100%);
  pointer-events: none;
}

.vr-page--mechanical .vr-panorama-zone--plant-access {
  background-image: url("assets/vr-plant-access.svg");
}

.vr-page--mechanical .vr-panorama-zone--plant-work {
  background-image: url("assets/vr-plant-work.svg");
}

.vr-page--mechanical .vr-panorama-zone--plant-maintenance {
  background-image: url("assets/vr-plant-maintenance.svg");
}

.vr-page--mechanical .vr-panorama-zone--plant-repeat {
  background-image: url("assets/vr-plant-repeat.svg");
}

.vr-page--office .vr-panorama {
  background:
    linear-gradient(180deg, rgba(14, 25, 43, 0.02) 0%, rgba(14, 25, 43, 0.04) 34%, rgba(14, 25, 43, 0.16) 100%);
}

.vr-page--office .vr-map-canvas {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f3f7fc 0%, #d7e4f3 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 52, 101, 0.08);
}

.vr-page--office .vr-map-canvas::before,
.vr-page--office .vr-map-canvas::after {
  content: "";
  position: absolute;
}

.vr-page--office .vr-map-canvas::before {
  inset: 12px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(41, 87, 178, 0.12) 22% 23%, transparent 23% 46%, rgba(41, 87, 178, 0.12) 46% 47%, transparent 47% 70%, rgba(41, 87, 178, 0.12) 70% 71%, transparent 71% 100%),
    linear-gradient(180deg, transparent 0 24%, rgba(41, 87, 178, 0.12) 24% 25%, transparent 25% 58%, rgba(41, 87, 178, 0.12) 58% 59%, transparent 59% 100%),
    linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.vr-page--office .vr-map-canvas::after {
  left: 18px;
  right: 18px;
  top: 22px;
  height: 18px;
  border-radius: 999px;
  background: rgba(245, 176, 0, 0.2);
}

.vr-page--office .vr-map-structure {
  position: absolute;
  inset: 20px 24px 24px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 196, 38, 0.16) 8% 10%, transparent 10% 34%, rgba(255, 196, 38, 0.16) 34% 36%, transparent 36% 62%, rgba(255, 196, 38, 0.16) 62% 64%, transparent 64% 100%),
    linear-gradient(180deg, transparent 0 18%, rgba(20, 52, 101, 0.08) 18% 19%, transparent 19% 52%, rgba(20, 52, 101, 0.08) 52% 53%, transparent 53% 100%);
}

.vr-page--office .vr-panorama-zone {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 155% auto;
  filter: saturate(1.03) contrast(1.01);
}

.vr-page--office .vr-panorama-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 24%, transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 22%, rgba(12, 23, 42, 0.06) 68%, rgba(12, 23, 42, 0.2) 100%),
    linear-gradient(90deg, rgba(14, 25, 43, 0.14) 0%, transparent 10%, transparent 90%, rgba(14, 25, 43, 0.14) 100%);
  pointer-events: none;
}

.vr-page--office .vr-panorama-zone--office-access,
.vr-page--office .vr-panorama-zone--office-work,
.vr-page--office .vr-panorama-zone--office-break,
.vr-page--office .vr-panorama-zone--office-repeat {
  background-image: url("assets/office-training-scene.png");
}

.vr-page--office .vr-panorama-zone--office-access {
  background-position: left center;
}

.vr-page--office .vr-panorama-zone--office-work {
  background-position: center center;
}

.vr-page--office .vr-panorama-zone--office-break {
  background-position: right center;
}

.vr-page--office .vr-panorama-zone--office-repeat {
  background-position: left center;
}

.vr-page--ladder-posture .vr-panorama {
  background:
    linear-gradient(180deg, rgba(12, 25, 45, 0.03) 0%, rgba(12, 25, 45, 0.05) 28%, rgba(12, 25, 45, 0.2) 100%);
}

.vr-page--ladder-posture .vr-map-canvas {
  overflow: hidden;
  background:
    linear-gradient(180deg, #eaf4fc 0%, #d1e2f2 100%);
  box-shadow: inset 0 0 0 1px rgba(24, 61, 120, 0.1);
}

.vr-page--ladder-posture .vr-map-canvas::before,
.vr-page--ladder-posture .vr-map-canvas::after {
  content: "";
  position: absolute;
}

.vr-page--ladder-posture .vr-map-canvas::before {
  inset: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 0 26%, rgba(41, 87, 178, 0.1) 26% 27%, transparent 27% 100%),
    linear-gradient(90deg, transparent 0 54%, rgba(238, 124, 34, 0.24) 54% 56%, transparent 56% 100%),
    linear-gradient(180deg, #fefefe 0%, #eef4fb 100%);
}

.vr-page--ladder-posture .vr-map-canvas::after {
  left: 20px;
  right: 20px;
  bottom: 22px;
  height: 18px;
  border-radius: 999px;
  background: rgba(242, 109, 40, 0.24);
}

.vr-page--ladder-posture .vr-map-structure {
  position: absolute;
  inset: 22px 26px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 72%, rgba(255, 143, 45, 0.2) 0 14%, transparent 15%),
    radial-gradient(circle at 32% 58%, rgba(255, 143, 45, 0.2) 0 12%, transparent 13%),
    radial-gradient(circle at 84% 48%, rgba(255, 143, 45, 0.2) 0 12%, transparent 13%),
    linear-gradient(90deg, transparent 0 56%, rgba(31, 45, 70, 0.12) 56% 58%, transparent 58% 100%),
    linear-gradient(180deg, transparent 0 26%, rgba(31, 45, 70, 0.08) 26% 27%, transparent 27% 100%);
}

.vr-page--ladder-posture .vr-panorama-zone {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(1.04) contrast(1.02);
}

.vr-page--ladder-posture .vr-panorama-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 22%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 24%, rgba(9, 18, 34, 0.08) 70%, rgba(9, 18, 34, 0.24) 100%),
    linear-gradient(90deg, rgba(13, 24, 42, 0.16) 0%, transparent 9%, transparent 91%, rgba(13, 24, 42, 0.16) 100%);
  pointer-events: none;
}

.vr-page--ladder-posture .vr-panorama-zone--ladder-access {
  background-image: url("assets/vr-ladder-access.svg");
}

.vr-page--ladder-posture .vr-panorama-zone--ladder-setup {
  background-image: url("assets/vr-ladder-setup.svg");
}

.vr-page--ladder-posture .vr-panorama-zone--ladder-reach {
  background-image: url("assets/vr-ladder-reach.svg");
}

.vr-page--ladder-posture .vr-panorama-zone--ladder-repeat {
  background-image: url("assets/vr-ladder-repeat.svg");
}

.vr-page--ladder-posture .vr-scene-hotspots {
  position: absolute;
  z-index: 5;
}

.vr-page--ladder-posture .vr-worker-callout__eyebrow {
  background: rgba(53, 124, 255, 0.18);
  color: #d7e3ff;
}

.vr-page--ladder-posture .vr-worker-badge {
  background: rgba(255, 166, 0, 0.16);
  color: #ffe29b;
}

.vr-page--ladder-posture .vr-pan-hint {
  background: rgba(24, 33, 46, 0.72);
}

.vr-page--mechanical .vr-scene-hotspots {
  position: absolute;
  z-index: 5;
}

.vr-worker-layer {
  position: absolute;
  z-index: 4;
  width: 0;
  height: 0;
  transform: translate(-50%, -100%);
  transition: left 280ms ease, top 280ms ease;
  pointer-events: none;
}

.vr-worker-callout {
  position: absolute;
  left: 94px;
  bottom: 112px;
  width: 244px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 18, 30, 0.84);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(4, 12, 28, 0.26);
  backdrop-filter: blur(12px);
}

.vr-worker-layer--left .vr-worker-callout {
  left: auto;
  right: 94px;
}

.vr-worker-layer--safe .vr-worker-callout {
  border-color: rgba(36, 163, 90, 0.34);
}

.vr-worker-layer--risk .vr-worker-callout {
  border-color: rgba(223, 73, 73, 0.34);
}

.vr-worker-callout__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(125, 94, 255, 0.18);
  color: #d8cbff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vr-worker-callout strong,
.vr-worker-callout small,
.vr-worker-callout p {
  display: block;
}

.vr-worker-callout strong {
  margin-top: 10px;
  font-size: 0.95rem;
}

.vr-worker-callout small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.vr-worker-callout p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.5;
}

.vr-worker-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 211, 90, 0.16);
  color: #ffe08a;
  font-size: 0.74rem;
  font-weight: 800;
}

.vr-worker-badge--safe {
  background: rgba(36, 163, 90, 0.16);
  color: #8ee3af;
}

.vr-worker-badge--risk {
  background: rgba(223, 73, 73, 0.16);
  color: #ffb5b5;
}

.vr-worker {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--vr-worker-width, 184px);
  transform: translate(var(--vr-worker-shift-x, -28px), var(--vr-worker-shift-y, 0))
    scale(var(--vr-worker-scale, 1));
  filter: drop-shadow(0 18px 22px rgba(8, 16, 28, 0.34));
  transition: transform 260ms ease, filter 260ms ease;
}

.vr-worker__image {
  display: block;
  width: 100%;
  height: auto;
}

.vr-worker--safe {
  filter: drop-shadow(0 18px 24px rgba(36, 163, 90, 0.3));
}

.vr-worker--risk {
  filter: drop-shadow(0 18px 24px rgba(223, 73, 73, 0.35));
}

.vr-zone-sky,
.vr-zone-horizon,
.vr-zone-cityline,
.vr-zone-floor,
.vr-zone-rail,
.vr-zone-object,
.vr-zone-structure,
.vr-zone-cloud,
.vr-zone-sign {
  position: absolute;
}

.vr-zone-sky {
  inset: 0 0 48% 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 245, 182, 0.85), transparent 15%),
    linear-gradient(180deg, #d9edff 0%, #8fb4df 54%, #6b8cb7 100%);
}

.vr-zone-cloud {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  filter: blur(0.4px);
}

.vr-zone-cloud::before,
.vr-zone-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: inherit;
}

.vr-zone-cloud--one {
  width: 126px;
  height: 42px;
  left: 16%;
  top: 13%;
}

.vr-zone-cloud--one::before {
  width: 52px;
  height: 52px;
  left: 10px;
  top: -14px;
}

.vr-zone-cloud--one::after {
  width: 60px;
  height: 46px;
  right: 12px;
  top: -8px;
}

.vr-zone-cloud--two {
  width: 102px;
  height: 36px;
  right: 18%;
  top: 20%;
}

.vr-zone-cloud--two::before {
  width: 40px;
  height: 40px;
  left: 10px;
  top: -12px;
}

.vr-zone-cloud--two::after {
  width: 52px;
  height: 38px;
  right: 10px;
  top: -8px;
}

.vr-zone-cloud--three {
  width: 120px;
  height: 40px;
  left: 26%;
  top: 10%;
}

.vr-zone-cloud--three::before {
  width: 54px;
  height: 54px;
  left: 12px;
  top: -16px;
}

.vr-zone-cloud--three::after {
  width: 62px;
  height: 44px;
  right: 10px;
  top: -8px;
}

.vr-zone-cloud--four {
  width: 84px;
  height: 28px;
  right: 24%;
  top: 22%;
}

.vr-zone-cloud--four::before {
  width: 34px;
  height: 34px;
  left: 8px;
  top: -10px;
}

.vr-zone-cloud--four::after {
  width: 40px;
  height: 30px;
  right: 8px;
  top: -6px;
}

.vr-zone-cloud--five {
  width: 130px;
  height: 44px;
  right: 12%;
  top: 16%;
}

.vr-zone-cloud--five::before {
  width: 56px;
  height: 56px;
  left: 12px;
  top: -16px;
}

.vr-zone-cloud--five::after {
  width: 60px;
  height: 42px;
  right: 12px;
  top: -8px;
}

.vr-zone-horizon {
  left: 0;
  right: 0;
  bottom: 43%;
  height: 92px;
  background:
    radial-gradient(circle at 10% 100%, #64727d 0 30%, transparent 31%),
    radial-gradient(circle at 30% 100%, #586772 0 34%, transparent 35%),
    radial-gradient(circle at 54% 100%, #61707c 0 34%, transparent 35%),
    radial-gradient(circle at 78% 100%, #58646f 0 32%, transparent 33%);
}

.vr-zone-cityline {
  left: 0;
  right: 0;
  bottom: 29%;
  height: 130px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(45, 56, 71, 0.78) 0 14px,
      rgba(70, 81, 98, 0.9) 14px 28px,
      rgba(52, 62, 76, 0.86) 28px 46px
    );
  opacity: 0.78;
}

.vr-zone-floor {
  left: -6%;
  right: -6%;
  bottom: -6%;
  height: 40%;
  background:
    linear-gradient(180deg, rgba(86, 86, 81, 0.22), rgba(70, 67, 60, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.07) 0 2px,
      transparent 2px 80px
    );
  transform: perspective(540px) rotateX(72deg);
  transform-origin: top center;
}

.vr-zone-floor::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 18%;
  height: 22%;
  border: 6px solid rgba(241, 183, 48, 0.82);
  transform: skewX(-28deg);
}

.vr-zone-rail,
.vr-zone-rail--extended {
  left: 0;
  right: 0;
  bottom: 20%;
  height: 140px;
}

.vr-zone-rail::before,
.vr-zone-rail::after,
.vr-zone-rail--extended::before,
.vr-zone-rail--extended::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: #dba521;
}

.vr-zone-rail::before,
.vr-zone-rail--extended::before {
  top: 28px;
}

.vr-zone-rail::after,
.vr-zone-rail--extended::after {
  top: 64px;
}

.vr-zone-rail {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 30px,
      #dba521 30px 38px,
      transparent 38px 90px
    );
}

.vr-zone-rail--extended {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      #dba521 22px 30px,
      transparent 30px 74px
    );
}

.vr-zone-sign {
  top: 22%;
  left: 18%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 28, 70, 0.88);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(4, 12, 35, 0.2);
}

.vr-zone-object--cones {
  width: 82px;
  height: 46px;
  left: 18%;
  bottom: 12%;
  background: linear-gradient(180deg, #f3b347 0%, #d57b1c 100%);
  clip-path: polygon(6% 100%, 18% 28%, 30% 100%, 46% 18%, 60% 100%, 74% 30%, 88% 100%, 100% 36%, 100% 100%);
}

.vr-zone-object--toolbox {
  width: 72px;
  height: 42px;
  left: 38%;
  bottom: 10%;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #49576b 0%, #253140 100%);
  box-shadow: inset 0 8px 0 rgba(255,255,255,0.08);
}

.vr-zone-object--toolbox::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: -12px;
  height: 12px;
  border: 4px solid #2b3a4e;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.vr-zone-object--warning-board {
  width: 84px;
  height: 96px;
  right: 14%;
  bottom: 20%;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0f4fa 0%, #d7dfe9 100%);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08);
}

.vr-zone-object--warning-board::before {
  content: "PELIGRO";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  padding: 6px 0;
  border-radius: 6px;
  background: #f4c12f;
  color: #1f2f50;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.vr-zone-object--warning-board::after {
  content: "";
  position: absolute;
  left: 38px;
  bottom: -56px;
  width: 8px;
  height: 56px;
  background: #8b97a7;
}

.vr-zone-object--anchor {
  width: 66px;
  height: 66px;
  left: 52%;
  bottom: 20%;
  border: 10px solid #ffd15b;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 209, 91, 0.18);
}

.vr-zone-object--harness {
  width: 150px;
  height: 54px;
  left: 26%;
  bottom: 12%;
  border: 10px solid #e0ab2a;
  border-top-color: transparent;
  border-radius: 34px;
  transform: rotate(16deg);
}

.vr-zone-object--harness::before,
.vr-zone-object--harness::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: 8px solid #d89f20;
  border-top-color: transparent;
  border-radius: 50%;
}

.vr-zone-object--harness::before {
  left: -4px;
  top: -14px;
}

.vr-zone-object--harness::after {
  right: 10px;
  top: 4px;
}

.vr-zone-object--rope {
  width: 170px;
  height: 5px;
  left: 55%;
  bottom: 30%;
  background: #39424b;
  transform: rotate(-28deg);
  transform-origin: left center;
}

.vr-zone-object--lifeline {
  width: 250px;
  height: 5px;
  left: 22%;
  bottom: 32%;
  background: linear-gradient(90deg, #2f3944 0%, #58626d 100%);
  transform: rotate(-18deg);
  transform-origin: left center;
}

.vr-zone-object--lifeline::before,
.vr-zone-object--lifeline::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd15b;
  top: -5px;
}

.vr-zone-object--lifeline::before {
  left: 0;
}

.vr-zone-object--lifeline::after {
  right: 0;
}

.vr-zone-object--housekeeping {
  width: 120px;
  height: 48px;
  left: 18%;
  bottom: 12%;
  background:
    linear-gradient(90deg, #404b56 0 16px, transparent 16px 20px, #404b56 20px 36px, transparent 36px 40px, #404b56 40px 58px, transparent 58px 62px, #404b56 62px 80px, transparent 80px 84px, #404b56 84px 104px);
  transform: rotate(-8deg);
  opacity: 0.92;
}

.vr-zone-structure {
  background: linear-gradient(180deg, #29313b 0%, #161f28 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.vr-zone-structure--tower {
  right: 18%;
  top: 15%;
  width: 28px;
  height: 370px;
}

.vr-zone-structure--tower::before,
.vr-zone-structure--tower::after,
.vr-zone-structure--beam::before,
.vr-zone-structure--mast::before,
.vr-zone-structure--brace::before {
  content: "";
  position: absolute;
  background: inherit;
}

.vr-zone-structure--tower::before {
  width: 240px;
  height: 18px;
  right: -184px;
  top: 44px;
  transform: rotate(24deg);
}

.vr-zone-structure--tower::after {
  width: 210px;
  height: 18px;
  right: -174px;
  top: 126px;
  transform: rotate(-7deg);
}

.vr-zone-structure--beam {
  right: 8%;
  top: 22%;
  width: 18px;
  height: 320px;
}

.vr-zone-structure--beam::before {
  width: 170px;
  height: 16px;
  right: -124px;
  top: 34px;
  transform: rotate(34deg);
}

.vr-zone-structure--mast {
  right: 15%;
  top: 11%;
  width: 30px;
  height: 380px;
}

.vr-zone-structure--mast::before {
  width: 200px;
  height: 18px;
  right: -156px;
  top: 52px;
  transform: rotate(-14deg);
}

.vr-zone-structure--brace {
  right: 34%;
  top: 22%;
  width: 20px;
  height: 250px;
}

.vr-zone-structure--brace::before {
  width: 180px;
  height: 16px;
  right: -112px;
  top: 42px;
  transform: rotate(-34deg);
}

.vr-view-badge {
  display: none;
}

.vr-question-card {
  top: 46%;
  width: 326px;
}

.vr-pan-hint {
  bottom: 72px;
  background: rgba(68, 57, 48, 0.82);
}

.vr-hotspot {
  width: 54px;
  height: 54px;
}

@media (max-width: 1120px) {
  .vr-worker-callout {
    width: 216px;
  }

  .vr-view-badge {
    display: none;
  }
}

@media (max-width: 760px) {
  .vr-worker-layer {
    transform: translate(-50%, -92%);
  }

  .vr-worker-callout {
    left: 50%;
    right: auto;
    bottom: 132px;
    width: 198px;
    transform: translateX(-50%);
  }

  .vr-worker-layer--left .vr-worker-callout {
    left: 50%;
    right: auto;
  }

  .vr-view-badge {
    display: none;
  }

  .vr-question-card {
    top: auto;
    bottom: 108px;
  }
}

.outline-button--icon,
.outline-button--compact,
.module-primary-link,
.mechanical-link-button {
  font: inherit;
}

.outline-button--icon {
  gap: 8px;
}

.outline-button--compact {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.8rem;
}

.module-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1d56d7 0%, #103fbb 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(16, 63, 187, 0.18);
}

.mechanical-link-button {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--brand-bright);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.mechanical-page,
.mechanical-dashboard,
.mechanical-stage,
.mechanical-tab-panel,
.mechanical-program-grid,
.mechanical-summary-grid,
.mechanical-secondary-grid,
.mechanical-overview-grid,
.mechanical-deliverable-stats,
.mechanical-standard-grid,
.mechanical-annex-grid {
  display: grid;
  gap: 16px;
}

.mechanical-page {
  gap: 22px;
}

.mechanical-dashboard h2,
.mechanical-stage__title h3,
.mechanical-card__head h3,
.mechanical-program-copy h3,
.mechanical-stat-card strong,
.mechanical-standard-card strong,
.mechanical-standard-item strong,
.mechanical-doc-item strong,
.mechanical-alert-item strong,
.mechanical-checklist-item strong,
.mechanical-evidence-list strong {
  margin: 0;
}

.mechanical-dashboard p,
.mechanical-stage__title p,
.mechanical-program-copy p,
.mechanical-standard-card p,
.mechanical-standard-item p,
.mechanical-alert-item p,
.mechanical-note-block p,
.mechanical-milestone p,
.mechanical-doc-item small,
.mechanical-evidence-list span,
.mechanical-evidence-list small {
  margin: 0;
}

.mechanical-dashboard h2 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.mechanical-dashboard__top {
  margin-bottom: 2px;
}

.mechanical-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mechanical-overview-grid {
  grid-template-columns: 1.08fr 1.1fr 0.9fr;
}

.mechanical-panel,
.mechanical-summary-card,
.mechanical-table-card,
.mechanical-docs-card,
.mechanical-alerts-card,
.mechanical-program-card,
.mechanical-checklists-card,
.mechanical-evidence-card {
  padding: 18px 20px;
  border-radius: 18px;
}

.mechanical-panel .mini-bars {
  gap: 16px;
  margin-top: 4px;
}

.mechanical-panel .mini-bars div {
  grid-template-columns: 1.2fr minmax(0, 1fr) auto;
}

.line-chart--module {
  min-height: 220px;
}

.mechanical-stage {
  padding-top: 18px;
  border-top: 2px solid rgba(13, 43, 109, 0.14);
}

.mechanical-stage__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.mechanical-stage__title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mechanical-stage__title h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.mechanical-stage__title p {
  color: var(--text-soft);
}

.back-chip {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--brand);
  box-shadow: 0 10px 22px rgba(10, 37, 96, 0.08);
}

.back-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mechanical-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.1);
}

.mechanical-tabs__button {
  position: relative;
  padding: 0 0 10px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.mechanical-tabs__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.mechanical-tabs__button--active {
  color: var(--brand-bright);
}

.mechanical-tabs__button--active::after {
  background: var(--brand-bright);
}

.mechanical-tab-panels {
  display: grid;
}

.mechanical-tab-panel {
  display: none;
  padding-top: 4px;
}

.mechanical-tab-panel--active {
  display: grid;
}

.mechanical-summary-grid {
  grid-template-columns: 0.95fr 1.25fr 0.9fr;
}

.mechanical-secondary-grid {
  grid-template-columns: 1.45fr 0.9fr 0.9fr;
}

.mechanical-program-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.mechanical-program-grid--split {
  grid-template-columns: 1fr 1fr;
}

.mechanical-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mechanical-card__head h3,
.mechanical-program-copy h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mechanical-compliance {
  display: flex;
  align-items: center;
  gap: 24px;
}

.compliance-ring,
.risk-ring {
  position: relative;
  border-radius: 50%;
}

.compliance-ring {
  width: 148px;
  height: 148px;
  background: conic-gradient(#35a853 0 85%, #dfe7f3 85% 100%);
}

.risk-ring {
  width: 150px;
  height: 150px;
  background: conic-gradient(#d92d47 0 22%, #ff8a00 22% 57%, #ffc423 57% 87%, #3cab5a 87% 100%);
}

.compliance-ring::after,
.risk-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #ffffff;
}

.compliance-ring__label,
.risk-ring__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.compliance-ring__label strong,
.risk-ring__label strong {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.compliance-ring__label span,
.risk-ring__label span {
  margin-top: -24px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.mechanical-stat-list {
  display: grid;
  gap: 10px;
  margin: 0;
  flex: 1;
}

.mechanical-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
}

.mechanical-stat-list dt,
.mechanical-stat-list dd {
  margin: 0;
}

.mechanical-stat-list dt {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.mechanical-stat-list dd {
  font-size: 1.05rem;
  font-weight: 800;
}

.mechanical-card__meta {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.mechanical-grid-table {
  display: grid;
}

.mechanical-grid-table__head,
.mechanical-grid-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.mechanical-grid-table__head {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(13, 43, 109, 0.1);
}

.mechanical-grid-row {
  border-bottom: 1px solid rgba(13, 43, 109, 0.07);
  font-size: 0.79rem;
  color: #17336f;
}

.mechanical-grid-row strong {
  font-size: 0.9rem;
}

.mechanical-grid-row b {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.mechanical-grid-table--indicators .mechanical-grid-table__head,
.mechanical-grid-table--indicators .mechanical-grid-row,
.mechanical-grid-table--kpis .mechanical-grid-table__head,
.mechanical-grid-table--kpis .mechanical-grid-row {
  grid-template-columns: 1.45fr 0.55fr 0.72fr 0.82fr 0.7fr;
}

.mechanical-grid-table--activities .mechanical-grid-table__head,
.mechanical-grid-table--activities .mechanical-grid-row {
  grid-template-columns: 1.15fr 1.45fr 0.76fr 0.68fr 0.78fr;
}

.mechanical-risk-distribution {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mechanical-legend {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.mechanical-legend li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.mechanical-legend strong {
  font-size: 0.84rem;
}

.mechanical-legend b {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mechanical-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mechanical-dot--critical { background: #d92d47; }
.mechanical-dot--high { background: #ff8a00; }
.mechanical-dot--medium { background: #ffc423; }
.mechanical-dot--low { background: #3cab5a; }

.mechanical-doc-list,
.mechanical-alert-list,
.mechanical-milestone-list,
.mechanical-standard-list,
.mechanical-checklist-board,
.mechanical-evidence-list {
  display: grid;
  gap: 12px;
}

.mechanical-doc-item,
.mechanical-alert-item,
.mechanical-standard-item,
.mechanical-checklist-item,
.mechanical-milestone,
.mechanical-evidence-list li,
.mechanical-standard-card,
.mechanical-stat-card {
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.mechanical-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.mechanical-doc-item div {
  display: grid;
  gap: 4px;
}

.mechanical-doc-item small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.mechanical-alert-item {
  padding: 16px;
}

.mechanical-alert-item--warning {
  background: linear-gradient(180deg, #fff8ea 0%, #ffffff 100%);
}

.mechanical-alert-item--info {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.mechanical-alert-item p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.mechanical-program-card--hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}

.mechanical-program-hero {
  min-height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(14, 43, 109, 0.15), rgba(14, 43, 109, 0.05)),
    linear-gradient(135deg, #dbe7ff 0%, #98b5ff 38%, #15356f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.mechanical-program-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.mechanical-program-copy p {
  color: var(--text-soft);
  line-height: 1.6;
}

.mechanical-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mechanical-pillar {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf3ff;
  color: #2458cc;
  font-size: 0.8rem;
  font-weight: 800;
}

.mechanical-inline-actions,
.mechanical-program-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mechanical-milestone {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
}

.mechanical-milestone__index {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: #2458cc;
  font-size: 0.82rem;
  font-weight: 800;
}

.mechanical-milestone p,
.mechanical-standard-item p {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.mechanical-standard-item {
  padding: 14px 16px;
}

.mechanical-deliverable-stats,
.mechanical-standard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mechanical-stat-card,
.mechanical-standard-card {
  padding: 16px 18px;
  box-shadow: 0 12px 24px rgba(10, 37, 96, 0.05);
}

.mechanical-stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.mechanical-stat-card span,
.mechanical-standard-card small {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.mechanical-stat-card small,
.mechanical-standard-card p {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.mechanical-annex-grid {
  grid-template-columns: 1.3fr 0.7fr;
}

.attachment-table--deliverables .attachment-table__head,
.attachment-table--deliverables .attachment-row {
  grid-template-columns: 1.55fr 1fr 0.82fr 0.74fr 0.74fr 0.62fr;
}

.attachment-table--actions .attachment-table__head,
.attachment-table--actions .attachment-row {
  grid-template-columns: 1.15fr 0.8fr 1.25fr 0.72fr 0.72fr 0.72fr;
}

.attachment-table--deliverables .attachment-row,
.attachment-table--actions .attachment-row {
  font-size: 0.78rem;
}

.mechanical-checklist-item {
  padding: 16px;
}

.mechanical-checklist__top,
.mechanical-checklist__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mechanical-checklist__top div {
  display: grid;
  gap: 4px;
}

.mechanical-checklist__top small,
.mechanical-checklist__meta span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.mechanical-checklist__progress {
  height: 8px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: #e4ebf7;
  overflow: hidden;
}

.mechanical-checklist__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2a67e4 0%, #1f9d57 100%);
}

.mechanical-checklist-item button {
  margin-top: 14px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: #184abf;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.mechanical-evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mechanical-evidence-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.mechanical-evidence-list span,
.mechanical-evidence-list small {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mechanical-note-block {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #d9e4fb;
}

.mechanical-note-block strong {
  display: block;
  margin-bottom: 6px;
}

.mechanical-workspace-grid {
  grid-template-columns: 1.35fr 0.65fr;
}

.mechanical-workspace-card,
.mechanical-workspace-log {
  padding: 18px 20px;
  border-radius: 18px;
}

.mechanical-workspace__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #d9e4fb;
}

.mechanical-workspace__hero strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mechanical-workspace__hero p,
.mechanical-workspace__feedback,
.mechanical-step-card p,
.mechanical-template-card p,
.mechanical-log-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.mechanical-workspace__hero p {
  margin-top: 6px;
  max-width: 680px;
}

.mechanical-workspace__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 16px 0 0;
}

.mechanical-workspace__meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
}

.mechanical-workspace__meta dt,
.mechanical-workspace__meta dd {
  margin: 0;
  font-size: 0.84rem;
}

.mechanical-workspace__meta dt {
  color: var(--text-soft);
}

.mechanical-workspace__meta dd {
  text-align: right;
  font-weight: 700;
}

.mechanical-workspace__steps,
.mechanical-workspace__template,
.mechanical-workspace-log__list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mechanical-step-card,
.mechanical-template-card,
.mechanical-log-item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
}

.mechanical-step-card {
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.mechanical-step-card span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: #2458cc;
  font-size: 0.82rem;
  font-weight: 800;
}

.mechanical-step-card strong,
.mechanical-template-card strong,
.mechanical-log-item strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.mechanical-template-card {
  background: #f9fbff;
}

.mechanical-workspace__feedback {
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 700;
}

.mechanical-doc-item,
.mechanical-evidence-list li,
[data-mech-open-item] {
  cursor: pointer;
}

.mechanical-doc-item:focus-visible,
.mechanical-evidence-list li:focus-visible,
[data-mech-open-item]:focus-visible {
  outline: 2px solid #184abf;
  outline-offset: 2px;
}

.psych-page,
.psych-dashboard,
.psych-stage,
.psych-summary-grid,
.psych-secondary-grid,
.psych-submodule-grid,
.psych-architecture-grid,
.psych-domain-grid,
.psych-survey-grid,
.psych-process-timeline,
.psych-insight-grid,
.psych-report-grid,
.psych-role-grid,
.psych-segment-grid {
  display: grid;
  gap: 16px;
}

.psych-summary-grid {
  grid-template-columns: 1.08fr 1fr 1fr;
}

.psych-secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-objectives-card,
.psych-architecture-card,
.psych-note-card,
.psych-roadmap-card,
.psych-notification-card {
  padding: 18px 20px;
  border-radius: 18px;
}

.compliance-ring--psych {
  background:
    radial-gradient(circle at center, #ffffff 55%, transparent 56%),
    conic-gradient(#8749d8 0 84%, #e3e9f4 84% 100%);
}

.psych-objective-list,
.psych-deliverable-list,
.psych-notification-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psych-objective-list {
  display: grid;
  gap: 10px;
}

.psych-objective-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.psych-objective-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8749d8;
}

.psych-submodule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-submodule-card,
.psych-domain-card,
.psych-survey-card,
.psych-role-card,
.psych-segment-card,
.psych-insight-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 24px rgba(16, 40, 97, 0.04);
}

.psych-submodule-card span,
.psych-domain-card header span,
.psych-role-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b57d6;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.psych-submodule-card strong,
.psych-domain-card strong,
.psych-survey-card strong,
.psych-role-card strong,
.psych-segment-card strong,
.psych-insight-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.psych-submodule-card p,
.psych-domain-card p,
.psych-survey-card p,
.psych-role-card p,
.psych-segment-card p,
.psych-insight-card p,
.psych-note-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.psych-submodule-card .mechanical-link-button {
  margin-top: 14px;
}

.psych-architecture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psych-architecture-grid span {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  border: 1px solid #dce6fb;
  font-size: 0.88rem;
  font-weight: 700;
  color: #26427f;
}

.psych-deliverable-list {
  display: grid;
  gap: 12px;
}

.psych-deliverable-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
}

.psych-deliverable-list strong {
  font-size: 0.94rem;
}

.psych-deliverable-list span {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.psych-domain-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.psych-domain-card {
  min-height: 176px;
}

.psych-domain-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.psych-domain-card header strong {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--brand);
}

.psych-domain-card--warn {
  border-color: rgba(255, 196, 35, 0.45);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.psych-survey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-survey-card {
  display: grid;
  gap: 12px;
}

.psych-survey-card dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.psych-survey-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(13, 43, 109, 0.08);
}

.psych-survey-card dt,
.psych-survey-card dd {
  margin: 0;
  font-size: 0.84rem;
}

.psych-survey-card dt {
  color: var(--text-soft);
}

.psych-survey-card dd {
  font-weight: 700;
}

.psych-process-card {
  padding: 18px 20px;
  border-radius: 18px;
}

.psych-process-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.psych-process-timeline article {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.psych-process-timeline span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7ddff;
  color: #6b57d6;
  font-weight: 800;
}

.psych-process-timeline strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.psych-process-timeline p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.psych-insight-grid,
.psych-report-grid,
.psych-role-grid,
.psych-segment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-insight-card {
  min-height: 140px;
}

.psych-role-card span {
  margin-top: 14px;
  color: #2458cc;
}

.psych-segment-card {
  min-height: 120px;
}

.psych-notification-list {
  display: grid;
  gap: 12px;
}

.psych-notification-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.psych-notification-list strong {
  font-size: 0.84rem;
  color: #2458cc;
}

.psych-notification-list span {
  color: var(--text-soft);
  line-height: 1.55;
}

.status-pill--neutral {
  background: #eef3ff;
  color: #3558b7;
}

.summary-chip-row,
.psych-baseline-intro,
.psych-baseline-program-grid,
.psych-baseline-board,
.psych-baseline-checklist {
  display: grid;
  gap: 16px;
}

.summary-chip-row {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
}

.psych-note-card--compact {
  align-content: start;
}

.psych-objective-list--compact {
  gap: 10px;
}

.psych-baseline-intro {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
}

.psych-baseline-kpis,
.psych-baseline-program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.psych-baseline-program-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  text-align: left;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.psych-baseline-program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 43, 109, 0.08);
}

.psych-baseline-program-card span,
.psych-baseline-program-card small {
  color: var(--text-soft);
}

.psych-baseline-program-card strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}

.psych-baseline-program-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--text-main);
}

.psych-baseline-program-card--good {
  border-color: rgba(38, 147, 74, 0.25);
}

.psych-baseline-program-card--warn {
  border-color: rgba(255, 196, 35, 0.35);
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.psych-baseline-program-card--risk {
  border-color: rgba(214, 87, 60, 0.25);
  background: linear-gradient(180deg, #fff3f1 0%, #ffffff 100%);
}

.psych-baseline-head {
  align-items: start;
  gap: 20px;
}

.psych-baseline-toolbar {
  display: grid;
  grid-template-columns: 180px minmax(240px, 1fr) max-content;
  gap: 12px;
  align-items: end;
}

.psych-baseline-toolbar__field,
.psych-baseline-item__field {
  display: grid;
  gap: 8px;
}

.psych-baseline-toolbar__field span,
.psych-baseline-item__field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
}

.psych-baseline-toolbar select,
.psych-baseline-toolbar input,
.psych-baseline-item__field select,
.psych-baseline-item__field textarea {
  width: 100%;
  border: 1px solid rgba(13, 43, 109, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-main);
  padding: 12px 14px;
  font: inherit;
}

.psych-baseline-toolbar input:focus,
.psych-baseline-toolbar select:focus,
.psych-baseline-item__field select:focus,
.psych-baseline-item__field textarea:focus {
  outline: none;
  border-color: rgba(13, 43, 109, 0.28);
  box-shadow: 0 0 0 4px rgba(13, 43, 109, 0.08);
}

.psych-baseline-board__row,
.psych-baseline-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.psych-baseline-board__row {
  grid-template-columns: minmax(240px, 1.05fr) minmax(0, 1fr) max-content;
  align-items: center;
}

.psych-baseline-board__summary {
  display: grid;
  gap: 6px;
}

.psych-baseline-board__summary strong,
.psych-baseline-item__head strong {
  font-size: 1rem;
  font-weight: 800;
}

.psych-baseline-board__summary p,
.psych-baseline-board__summary small,
.psych-baseline-item__normative {
  margin: 0;
  line-height: 1.55;
  color: var(--text-soft);
}

.psych-baseline-board__progress {
  display: grid;
  gap: 10px;
}

.psych-baseline-board__track {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef7;
  height: 12px;
}

.psych-baseline-board__segment {
  display: block;
  height: 100%;
}

.psych-baseline-board__segment--good {
  background: #27924e;
}

.psych-baseline-board__segment--warn {
  background: #ffc423;
}

.psych-baseline-board__segment--risk {
  background: #d6573c;
}

.psych-baseline-board__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.psych-baseline-heatmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.psych-baseline-heatmap__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.psych-baseline-heatmap__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.psych-baseline-heatmap__dot--good {
  background: #27924e;
}

.psych-baseline-heatmap__dot--warn {
  background: #ffc423;
}

.psych-baseline-heatmap__dot--risk {
  background: #d6573c;
}

.psych-baseline-heatmap__dot--neutral {
  background: #98a5c3;
}

.psych-baseline-heatmap__table {
  display: grid;
  gap: 10px;
}

.psych-baseline-heatmap__header,
.psych-baseline-heatmap__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.psych-baseline-heatmap__header span {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f1f5ff;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.psych-baseline-heatmap__program,
.psych-baseline-heatmap__cell {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
}

.psych-baseline-heatmap__program {
  display: grid;
  gap: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.psych-baseline-heatmap__program strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.psych-baseline-heatmap__program small {
  color: var(--text-soft);
}

.psych-baseline-heatmap__cell {
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  text-align: center;
  min-height: 90px;
}

.psych-baseline-heatmap__cell strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.psych-baseline-heatmap__cell small {
  color: inherit;
  opacity: 0.9;
}

.psych-baseline-heatmap__cell--good {
  background: #e9f7ef;
  color: #1f7c42;
}

.psych-baseline-heatmap__cell--warn {
  background: #fff5db;
  color: #9f6d00;
}

.psych-baseline-heatmap__cell--risk {
  background: #ffe9e4;
  color: #b2432d;
}

.psych-baseline-heatmap__cell--neutral {
  background: #f2f5fa;
  color: #667590;
}

.psych-baseline-item__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.psych-baseline-item__head small {
  display: inline-block;
  margin-bottom: 6px;
  color: #2458cc;
  font-weight: 700;
}

.psych-baseline-item__controls {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
}

.psych-baseline-item__field--wide textarea {
  min-height: 84px;
  resize: vertical;
}

.psych-baseline-empty {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(13, 43, 109, 0.16);
  color: var(--text-soft);
  text-align: center;
}

.workbook-page,
.workbook-summary,
.workbook-shell,
.workbook-main {
  display: grid;
  gap: 16px;
}

.workbook-page h2,
.workbook-sheet-card__head h3,
.workbook-nav__head h3,
.workbook-nav__item strong,
.workbook-table__grid th,
.workbook-table__grid td {
  margin: 0;
}

.workbook-page h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.workbook-page__top {
  margin-bottom: 2px;
}

.workbook-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workbook-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.workbook-nav,
.workbook-sheet-card {
  padding: 18px 20px;
  border-radius: 20px;
}

.workbook-nav__head {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.workbook-nav__head h3,
.workbook-sheet-card__head h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.workbook-search {
  min-width: 0;
}

.workbook-nav__list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 270px);
  overflow: auto;
  padding-right: 4px;
}

.workbook-nav__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workbook-nav__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(10, 37, 96, 0.08);
}

.workbook-nav__item span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: #2458cc;
  font-size: 0.76rem;
  font-weight: 800;
}

.workbook-nav__item div {
  display: grid;
  gap: 4px;
}

.workbook-nav__item strong {
  font-size: 0.88rem;
}

.workbook-nav__item small,
.workbook-sheet-card__head p,
.workbook-sheet-card__kicker {
  color: var(--text-soft);
}

.workbook-nav__item small {
  font-size: 0.76rem;
}

.workbook-nav__item--active {
  border-color: #9db9ff;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  box-shadow: 0 14px 24px rgba(24, 74, 191, 0.12);
}

.workbook-sheet-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.workbook-sheet-card__kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workbook-sheet-card__head p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.workbook-table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.workbook-table {
  min-width: max-content;
}

.workbook-table__grid {
  width: 100%;
  border-collapse: collapse;
}

.workbook-table__grid thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  background: #0f3474;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.workbook-table__corner {
  left: 0;
  z-index: 2;
}

.workbook-table__grid tbody th,
.workbook-table__grid tbody td {
  min-width: 138px;
  padding: 10px 12px;
  border-right: 1px solid rgba(13, 43, 109, 0.08);
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
  vertical-align: top;
  font-size: 0.8rem;
  line-height: 1.55;
  background: #ffffff;
}

.workbook-table__grid tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 58px;
  background: #f0f5ff;
  color: #3158ad;
  text-align: center;
  font-weight: 800;
}

.workbook-table__grid tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.workbook-table__row--header td {
  background: #eef4ff;
  color: #13387d;
  font-weight: 800;
}

.workbook-table__row--solo td {
  font-weight: 700;
}

.workbook-table__row--title td {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  color: #123879;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.workbook-table__row--paragraph td {
  background: #fffef8;
  color: #3b4b71;
  font-weight: 600;
}

.mechanical-tab-panel .resource-list,
.mechanical-tab-panel .material-grid,
.mechanical-tab-panel .kpi-grid,
.mechanical-tab-panel .improvement-summary {
  padding: 0;
}

.status-pill--online {
  background: #e8f0ff;
  color: #2458cc;
}

.status-pill--warning {
  background: #fff1d2;
  color: #b87700;
}

.status-pill--muted {
  background: #eef2f7;
  color: #5a6789;
}

@media (max-width: 1420px) {
  .mechanical-metrics,
  .mechanical-deliverable-stats,
  .mechanical-standard-grid,
  .mechanical-tab-panel .kpi-grid,
  .workbook-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mechanical-summary-grid,
  .mechanical-secondary-grid,
  .mechanical-overview-grid,
  .mechanical-program-grid,
  .mechanical-program-grid--split,
  .mechanical-annex-grid,
  .mechanical-workspace-grid,
  .psych-summary-grid,
  .psych-secondary-grid,
  .psych-survey-grid,
  .psych-insight-grid,
  .psych-report-grid,
  .psych-role-grid,
  .psych-segment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mechanical-summary-grid > :first-child,
  .mechanical-secondary-grid > :first-child {
    grid-column: span 2;
  }

  .psych-summary-grid > :first-child {
    grid-column: span 2;
  }

  .psych-baseline-intro,
  .psych-baseline-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .psych-domain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .psych-submodule-grid,
  .psych-architecture-grid,
  .psych-process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .mechanical-dashboard__top,
  .mechanical-stage__header,
  .workbook-sheet-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .mechanical-overview-grid,
  .mechanical-summary-grid,
  .mechanical-secondary-grid,
  .mechanical-program-grid,
  .mechanical-program-grid--split,
  .mechanical-annex-grid,
  .mechanical-workspace-grid,
  .workbook-shell,
  .psych-summary-grid,
  .psych-secondary-grid,
  .psych-baseline-intro,
  .psych-baseline-kpis,
  .psych-baseline-program-grid,
  .psych-domain-grid,
  .psych-survey-grid,
  .psych-insight-grid,
  .psych-report-grid,
  .psych-role-grid,
  .psych-segment-grid,
  .psych-submodule-grid,
  .psych-architecture-grid,
  .psych-process-timeline {
    grid-template-columns: 1fr;
  }

  .mechanical-summary-grid > :first-child,
  .mechanical-secondary-grid > :first-child {
    grid-column: span 1;
  }

  .mechanical-program-card--hero {
    grid-template-columns: 1fr;
  }

  .psych-baseline-head,
  .psych-baseline-heatmap__header,
  .psych-baseline-heatmap__row,
  .psych-baseline-board__row,
  .psych-baseline-item__controls {
    grid-template-columns: 1fr;
  }

  .psych-baseline-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .mechanical-compliance,
  .mechanical-risk-distribution {
    flex-direction: column;
    align-items: flex-start;
  }

  .mechanical-workspace__hero,
  .mechanical-workspace__meta div {
    flex-direction: column;
    align-items: flex-start;
  }

  .mechanical-workspace__meta {
    grid-template-columns: 1fr;
  }

  .mechanical-workspace__meta dd {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .module-selection-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mechanical-dashboard h2 {
    font-size: 1.8rem;
  }

  .mechanical-stage__title {
    align-items: flex-start;
  }

  .mechanical-stage__title h3 {
    font-size: 1.55rem;
  }

  .mechanical-metrics,
  .mechanical-deliverable-stats,
  .mechanical-standard-grid,
  .mechanical-tab-panel .kpi-grid,
  .workbook-summary,
  .psych-baseline-kpis,
  .psych-domain-grid,
  .psych-role-grid,
  .psych-segment-grid,
  .psych-insight-grid,
  .psych-report-grid {
    grid-template-columns: 1fr;
  }

  .attachment-table--deliverables .attachment-table__head,
  .attachment-table--deliverables .attachment-row,
  .attachment-table--actions .attachment-table__head,
  .attachment-table--actions .attachment-row,
  .mechanical-grid-table__head,
  .mechanical-grid-row {
    grid-template-columns: 1fr;
  }

  .workbook-page h2 {
    font-size: 1.75rem;
  }

  .summary-chip-row,
  .psych-baseline-toolbar,
  .psych-baseline-intro,
  .psych-baseline-program-grid,
  .psych-baseline-heatmap__legend {
    grid-template-columns: 1fr;
  }

  .psych-baseline-item__head {
    flex-direction: column;
  }

  .workbook-nav__list {
    max-height: none;
  }

  .workbook-table__grid tbody th,
  .workbook-table__grid tbody td {
    min-width: 116px;
    font-size: 0.76rem;
  }
}

.sidebar-link--active {
  background: rgba(255, 196, 35, 0.98);
  color: #0d285d;
}

.platform-page {
  display: grid;
  gap: 24px;
}

.platform-section {
  display: grid;
  gap: 16px;
}

.platform-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.platform-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #2458cc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-hero-grid,
.platform-module-shell,
.platform-preview-grid,
.platform-doc-preview,
.platform-route-grid {
  display: grid;
  gap: 16px;
}

.platform-hero-grid {
  grid-template-columns: 1.05fr 1.2fr 0.9fr;
}

.platform-route-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-panel,
.platform-module-browser,
.platform-focus-card,
.platform-preview-card {
  padding: 22px;
}

.platform-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.platform-panel__head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.platform-panel__head p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.platform-link-card {
  display: grid;
  gap: 12px;
  min-height: 198px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f4f8ff 100%);
  box-shadow: 0 16px 32px rgba(10, 37, 96, 0.06);
  color: var(--brand);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.platform-link-card:hover {
  transform: translateY(-2px);
  border-color: #bfd3ff;
  box-shadow: 0 22px 40px rgba(16, 63, 187, 0.12);
}

.platform-link-card__eyebrow {
  color: #2458cc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-link-card strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.platform-link-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.platform-link-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: #2458cc;
  font-size: 0.84rem;
  font-weight: 800;
}

.consultation-library-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(13, 170, 191, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(13, 43, 109, 0.98) 0%, rgba(18, 93, 190, 0.96) 52%, rgba(10, 177, 198, 0.92) 100%);
  color: #ffffff;
}

.consultation-library-overview__copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  line-height: 1.14;
}

.consultation-library-overview__copy p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.9);
}

.consultation-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.consultation-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.consultation-library-overview__legend {
  display: grid;
  gap: 14px;
}

.consultation-library-overview__legend article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.consultation-library-overview__legend strong {
  font-size: 1.5rem;
  line-height: 1;
}

.consultation-library-overview__legend span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.5;
}

.consultation-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.consultation-piece-card {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(10, 37, 96, 0.06);
}

.consultation-piece-card--featured {
  grid-column: span 2;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
}

.consultation-piece-card__poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
  color: #0d2b6d;
}

.consultation-piece-card__poster::before,
.consultation-piece-card__poster::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.consultation-piece-card__poster::before {
  inset: auto -18% -22% auto;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.28);
}

.consultation-piece-card__poster::after {
  inset: -12% auto auto -16%;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.16);
}

.consultation-piece-card__poster > * {
  position: relative;
  z-index: 1;
}

.consultation-piece-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #0d2b6d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.consultation-piece-card__poster-copy {
  display: grid;
  gap: 10px;
}

.consultation-piece-card__poster-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  line-height: 0.98;
}

.consultation-piece-card__poster-copy p {
  margin: 0;
  max-width: 26ch;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(13, 43, 109, 0.86);
}

.consultation-piece-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consultation-piece-card__topics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0d2b6d;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(12, 35, 84, 0.08);
}

.consultation-piece-card__body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.consultation-piece-card__body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.consultation-piece-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consultation-piece-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1e4fb8;
  font-size: 0.78rem;
  font-weight: 700;
}

.consultation-piece-card__bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.consultation-piece-card__bullets li {
  line-height: 1.55;
}

.consultation-piece-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.consultation-piece-card__poster--equilibrio {
  background:
    radial-gradient(circle at top right, rgba(255, 195, 0, 0.3), transparent 30%),
    linear-gradient(140deg, #f9fcff 0%, #dff1ff 36%, #b9ebf0 72%, #ffffff 100%);
}

.consultation-piece-card__poster--equilibrio h3 {
  color: #0b409c;
  text-transform: uppercase;
}

.consultation-piece-card__poster--osteo {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 198, 77, 0.34), transparent 24%),
    linear-gradient(180deg, #d7efff 0%, #edf7ff 44%, #f3f9ff 100%);
}

.consultation-piece-card__poster--posture {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 194, 67, 0.24), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #dff0ff 55%, #eef8ff 100%);
}

.consultation-piece-card__poster--hands {
  background:
    radial-gradient(circle at 82% 18%, rgba(32, 188, 186, 0.3), transparent 28%),
    linear-gradient(180deg, #f8fcff 0%, #e7f8fb 58%, #fefefe 100%);
}

.consultation-piece-card__poster--breaks {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #1657c6 0%, #1687d4 45%, #45b8bf 100%);
}

.consultation-piece-card__poster--breaks .consultation-piece-card__chip,
.consultation-piece-card__poster--breaks .consultation-piece-card__topics span {
  color: #0d2b6d;
}

.consultation-piece-card__poster--breaks .consultation-piece-card__poster-copy p {
  color: rgba(255, 255, 255, 0.88);
}

.consultation-library-shelf {
  display: grid;
  gap: 18px;
}

.consultation-library-shelf__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-module-shell {
  grid-template-columns: 1.25fr 0.85fr;
}

.platform-module-browser .mini-module-grid {
  margin-top: 16px;
}

.platform-focus-card {
  display: grid;
  gap: 18px;
}

.platform-focus-card h3 {
  font-size: 1.38rem;
  font-weight: 800;
}

.platform-focus-card > p {
  color: var(--text-soft);
  line-height: 1.7;
}

.platform-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-preview-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.training-center-page .platform-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-center-page .platform-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.training-dashboard-section {
  display: grid;
  gap: 18px;
}

.training-kpi-grid,
.training-dashboard-grid,
.training-chart-labels,
.training-experience-metrics,
.training-monthly-table__head,
.training-monthly-table__row {
  display: grid;
  gap: 12px;
}

.training-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-dashboard-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.training-dashboard-grid--secondary {
  grid-template-columns: 1.04fr 0.96fr;
}

.training-panel {
  padding: 20px 22px;
  border-radius: 18px;
}

.training-kpi-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(10, 37, 96, 0.05);
}

.training-kpi-card--warn {
  border-color: rgba(240, 171, 42, 0.32);
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}

.training-kpi-ring {
  --training-ring-value: 50%;
  width: 78px;
  height: 78px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#184abf 0 var(--training-ring-value), #dbe6fb var(--training-ring-value) 100%);
}

.training-kpi-ring--green {
  background: conic-gradient(#1f9d57 0 var(--training-ring-value), #dff4e6 var(--training-ring-value) 100%);
}

.training-kpi-ring--amber {
  background: conic-gradient(#f1a11a 0 var(--training-ring-value), #feefcf var(--training-ring-value) 100%);
}

.training-kpi-ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #ffffff;
}

.training-kpi-ring span {
  position: relative;
  z-index: 1;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 800;
}

.training-kpi-copy {
  display: grid;
  gap: 6px;
}

.training-kpi-copy strong {
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 800;
}

.training-kpi-copy small,
.training-kpi-copy span {
  color: var(--text-soft);
  line-height: 1.55;
}

.training-kpi-copy b {
  color: #2458cc;
  font-size: 0.82rem;
}

.training-line-chart {
  padding-left: 34px;
}

.training-chart-scale {
  position: absolute;
  inset: 10px auto 22px 0;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 0.72rem;
  text-align: right;
  pointer-events: none;
}

.training-chart-labels {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  color: var(--text-soft);
  font-size: 0.78rem;
  text-align: center;
}

.training-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.training-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.training-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.training-legend-dot--blue { background: #2458cc; }

.training-legend-dot--green { background: #1f9d57; }

.training-legend-dot--amber { background: #f1a11a; }

.line-blue { stroke: #2458cc; }

.line-green { stroke: #1f9d57; }

.line-amber { stroke: #f1a11a; }

.line-amber {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.training-funnel {
  display: grid;
  gap: 14px;
}

.training-funnel-stage {
  display: grid;
  gap: 8px;
}

.training-funnel-stage__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.training-funnel-stage__top strong {
  color: var(--brand);
  font-size: 0.94rem;
}

.training-funnel-stage__top span,
.training-funnel-stage__top small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.training-funnel-stage small {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.training-funnel-stage__bar {
  height: 14px;
  border-radius: 999px;
  background: #e8eef9;
  overflow: hidden;
}

.training-funnel-stage__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #2458cc 0%, #2c7be5 100%);
}

.training-funnel-stage--attended .training-funnel-stage__bar i {
  background: linear-gradient(90deg, #2458cc 0%, #54a5ff 100%);
}

.training-funnel-stage--evaluated .training-funnel-stage__bar i {
  background: linear-gradient(90deg, #1f9d57 0%, #57c781 100%);
}

.training-funnel-stage--passed .training-funnel-stage__bar i {
  background: linear-gradient(90deg, #f1a11a 0%, #ffcd59 100%);
}

.training-dashboard__insight {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.training-experience-list {
  display: grid;
  gap: 12px;
}

.training-experience-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.training-experience-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.training-experience-item__top strong {
  color: var(--brand);
  font-size: 0.96rem;
}

.training-experience-item__top small {
  color: var(--text-soft);
}

.training-experience-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-experience-metric {
  display: grid;
  gap: 6px;
}

.training-experience-metric span {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.training-experience-metric strong {
  color: var(--brand);
  font-size: 1rem;
}

.training-experience-progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e8eef9;
  overflow: hidden;
}

.training-experience-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: #2458cc;
}

.training-experience-progress--green i {
  background: #1f9d57;
}

.training-experience-progress--amber i {
  background: #f1a11a;
}

.training-monthly-table {
  display: grid;
  gap: 8px;
}

.training-monthly-table__head,
.training-monthly-table__row {
  grid-template-columns: 0.72fr 1fr 1fr 1fr;
  align-items: center;
}

.training-monthly-table__head {
  padding: 0 12px 8px;
  border-bottom: 1px solid rgba(13, 43, 109, 0.08);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.training-monthly-table__row {
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbe6fb;
}

.training-monthly-table__row strong {
  color: var(--brand);
  font-size: 0.9rem;
}

.training-monthly-table__cell {
  display: grid;
  gap: 3px;
}

.training-monthly-table__cell b {
  color: var(--brand);
  font-size: 0.92rem;
}

.training-monthly-table__cell small {
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.platform-doc-preview {
  grid-template-columns: 0.92fr 1.08fr;
}

.platform-program-preview {
  display: grid;
  gap: 16px;
}

.platform-program-hero {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f3474 0%, #184abf 100%);
  color: #ffffff;
}

.platform-program-hero strong {
  font-size: 1.18rem;
  font-weight: 800;
}

.platform-program-hero span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.platform-program-copy {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: #f7faff;
}

.platform-program-copy small {
  display: inline-flex;
  margin-bottom: 8px;
  color: #2458cc;
  font-size: 0.8rem;
  font-weight: 800;
}

.platform-program-copy p {
  color: var(--text-soft);
  line-height: 1.7;
}

.platform-kpi-grid {
  margin-top: 12px;
  padding: 0;
}

@media (max-width: 1440px) {
  .platform-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .platform-hero-grid,
  .platform-module-shell,
  .platform-preview-grid,
  .platform-doc-preview,
  .training-dashboard-grid,
  .training-dashboard-grid--secondary {
    grid-template-columns: 1fr;
  }

  .consultation-library-overview,
  .consultation-piece-card,
  .consultation-piece-card--featured {
    grid-template-columns: 1fr;
  }

  .consultation-library-grid {
    grid-template-columns: 1fr;
  }

  .consultation-piece-card--featured {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .platform-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-focus-actions {
    flex-direction: column;
  }

  .training-kpi-grid,
  .training-experience-metrics,
  .training-monthly-table__head,
  .training-monthly-table__row {
    grid-template-columns: 1fr;
  }

  .training-chart-labels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 8px;
  }

  .consultation-library-shelf__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-route-grid {
    grid-template-columns: 1fr;
  }

  .platform-panel,
  .platform-module-browser,
  .platform-focus-card,
  .platform-preview-card {
    padding: 18px;
  }

  .training-panel,
  .training-kpi-card {
    padding: 18px;
  }

  .training-kpi-card {
    grid-template-columns: 1fr;
  }

  .training-kpi-ring {
    margin: 0 auto;
  }

  .consultation-library-overview,
  .consultation-piece-card__body {
    padding: 18px;
  }

  .consultation-piece-card__poster {
    min-height: 260px;
    padding: 18px;
  }

  .consultation-library-shelf__grid {
    grid-template-columns: 1fr;
  }
}

.header-session-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(13, 43, 109, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10, 37, 96, 0.04);
  cursor: pointer;
}

.header-session-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card__icon--sky { background: #edf5ff; color: #4b6ff1; }
.metric-card__icon--slate { background: #eff2f8; color: #5d6c84; }
.metric-card__icon--rose { background: #ffe9ee; color: #da4265; }

.workflow-page,
.workflow-dashboard,
.workflow-overview-grid,
.workflow-detail-grid,
.workflow-side-stack,
.workflow-role-grid,
.workflow-automation-grid,
.workflow-kpi-strip,
.workflow-state-grid {
  display: grid;
  gap: 16px;
}

.workflow-overview-grid {
  grid-template-columns: 1.05fr 0.95fr 0.9fr;
}

.workflow-detail-grid {
  grid-template-columns: 1.3fr 0.82fr;
}

.workflow-side-stack {
  align-content: start;
}

.workflow-role-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-automation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-toolbar {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.workflow-search {
  min-width: min(100%, 420px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 37, 96, 0.05);
}

.workflow-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-soft);
  flex: 0 0 auto;
}

.workflow-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--brand);
  font: inherit;
}

.workflow-search span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff3fb;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.workflow-card {
  padding: 22px;
  border-radius: 20px;
}

.workflow-progress-list,
.workflow-upcoming-list,
.workflow-owner-list,
.workflow-alert-list {
  display: grid;
  gap: 14px;
}

.workflow-progress-item,
.workflow-owner-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 1.4fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.workflow-progress-item span,
.workflow-owner-item strong {
  color: var(--brand);
  font-weight: 700;
}

.workflow-progress-item i,
.workflow-owner-item i {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e5ecf9;
  overflow: hidden;
}

.workflow-progress-item i b,
.workflow-owner-item i b {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  width: 0;
  background: linear-gradient(90deg, #27b36a 0%, #1f9d57 100%);
}

.workflow-owner-item i b {
  background: linear-gradient(90deg, #2458cc 0%, #2e7be7 100%);
}

.workflow-progress-item strong,
.workflow-owner-item span {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.workflow-upcoming-item,
.workflow-role-card,
.workflow-mail-card,
.workflow-flow article,
.workflow-alert-list li {
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.workflow-upcoming-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.workflow-upcoming-item strong {
  display: block;
  font-size: 0.92rem;
}

.workflow-upcoming-item span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.79rem;
  line-height: 1.45;
}

.workflow-upcoming-item b {
  color: #eb6f00;
  font-size: 0.8rem;
  font-weight: 800;
}

.workflow-upcoming-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #edf3ff;
  position: relative;
}

.workflow-upcoming-item__icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: currentColor;
}

.workflow-upcoming-item__icon--green { color: #38ab63; background: #e8f7ee; }
.workflow-upcoming-item__icon--violet { color: #7b56df; background: #f2ebff; }
.workflow-upcoming-item__icon--blue { color: #2458cc; background: #eaf0ff; }
.workflow-upcoming-item__icon--rose { color: #d85068; background: #ffeaf0; }

.workflow-card--table {
  overflow: hidden;
}

.workflow-activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.workflow-filter {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 43, 109, 0.1);
  background: #f8fbff;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.workflow-filter--active {
  border-color: #2458cc;
  background: #eaf1ff;
  color: #2458cc;
}

.workflow-table-scroll {
  overflow-x: auto;
}

.workflow-grid-table {
  min-width: 1040px;
}

.workflow-grid-table--activities .mechanical-grid-table__head,
.workflow-grid-table--activities .workflow-activity-row {
  grid-template-columns: 1.45fr 0.95fr 0.88fr 0.82fr 0.88fr 0.58fr 0.92fr;
}

.workflow-grid-table .status-pill {
  justify-self: start;
}

.workflow-activity-row strong,
.workflow-activity-row span {
  align-self: center;
}

.workflow-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-row-action {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(36, 88, 204, 0.14);
  border-radius: 999px;
  background: #f6f9ff;
  color: #2458cc;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.workflow-empty-state {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.workflow-card--form {
  gap: 16px;
}

.workflow-form {
  display: grid;
  gap: 14px;
}

.workflow-form label {
  display: grid;
  gap: 8px;
}

.workflow-form span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-form input,
.workflow-form select,
.workflow-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(13, 43, 109, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.workflow-form textarea {
  min-height: 112px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

.workflow-form__full {
  grid-column: 1 / -1;
}

.workflow-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-form__feedback {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.workflow-evidence-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-evidence-item,
.workflow-evidence-list__empty {
  padding: 14px 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.workflow-evidence-item {
  display: grid;
  gap: 8px;
}

.workflow-evidence-item strong {
  color: var(--brand);
  font-size: 0.92rem;
}

.workflow-evidence-item p,
.workflow-evidence-item small,
.workflow-evidence-list__empty {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.workflow-evidence-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-kpi-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-kpi-strip article {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 24px rgba(10, 37, 96, 0.04);
}

.workflow-kpi-strip span,
.workflow-role-card span {
  display: block;
  color: #2458cc;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.workflow-kpi-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.workflow-kpi-strip small {
  display: block;
  margin-top: 8px;
  color: #1f9d57;
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-kpi-strip__note--online {
  color: #2458cc;
}

.workflow-kpi-strip__note--inactive {
  color: #d85068;
}

.workflow-role-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.workflow-role-card strong {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}

.workflow-role-card ul,
.workflow-mail-card ul,
.workflow-alert-list {
  margin: 0;
  padding-left: 18px;
}

.workflow-role-card li,
.workflow-mail-card li,
.workflow-alert-list li {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.workflow-automation-example {
  display: grid;
  gap: 10px;
}

.workflow-automation-example strong {
  color: var(--brand);
  font-size: 0.96rem;
}

.workflow-automation-example p,
.workflow-mail-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.workflow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf3ff;
  color: #2458cc;
  font-weight: 800;
}

.workflow-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #edf3ff;
  color: #2458cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-mail-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-top: 16px;
}

.workflow-state-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.workflow-flow article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.workflow-flow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf1ff;
  color: #2458cc;
  font-size: 0.84rem;
  font-weight: 800;
}

.workflow-flow strong {
  color: var(--brand);
  font-size: 0.96rem;
  font-weight: 800;
}

.workflow-flow p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.workflow-alert-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.workflow-alert-list li {
  padding: 14px 16px;
}

@media (max-width: 1360px) {
  .workflow-overview-grid,
  .workflow-detail-grid,
  .workflow-automation-grid {
    grid-template-columns: 1fr;
  }

  .workflow-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .workflow-role-grid,
  .workflow-kpi-strip,
  .workflow-state-grid,
  .workflow-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-progress-item,
  .workflow-owner-item {
    grid-template-columns: 1fr;
  }

  .workflow-progress-item i,
  .workflow-owner-item i {
    order: 3;
  }
}

@media (max-width: 760px) {
  .workflow-toolbar {
    justify-items: stretch;
  }

  .workflow-search {
    min-width: 0;
    width: 100%;
  }

  .workflow-role-grid,
  .workflow-kpi-strip,
  .workflow-state-grid,
  .workflow-flow,
  .workflow-automation-grid {
    grid-template-columns: 1fr;
  }
}

.platform-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mechanical-upload-grid,
.improvement-page__layout,
.field-training-hero,
.field-training-layout {
  display: grid;
  gap: 16px;
}

.mechanical-upload-grid,
.field-training-layout {
  grid-template-columns: 1.15fr 0.85fr;
}

.mechanical-upload-card,
.mechanical-upload-history,
.improvement-page__table-card,
.improvement-page__form-card,
.improvement-page__priority-card,
.field-training-hero__card,
.field-training-stats,
.field-training-steps,
.field-training-detail {
  padding: 22px;
}

.mechanical-upload-form,
.improvement-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mechanical-upload-form label,
.improvement-form label {
  display: grid;
  gap: 8px;
}

.mechanical-upload-form span,
.improvement-form span {
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
}

.mechanical-upload-form input,
.mechanical-upload-form select,
.mechanical-upload-form textarea,
.improvement-form input,
.improvement-form select,
.improvement-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(13, 43, 109, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand);
  font: inherit;
}

.mechanical-upload-form textarea,
.improvement-form textarea {
  min-height: 116px;
  padding-block: 12px;
  resize: vertical;
}

.mechanical-upload-form__full,
.improvement-form__full {
  grid-column: 1 / -1;
}

.mechanical-inline-actions--upload {
  align-items: flex-start;
  justify-content: space-between;
}

.mechanical-upload-form__feedback,
.improvement-form__feedback {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.65;
}

.mechanical-upload-list,
.improvement-priority-list,
.field-training-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mechanical-upload-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mechanical-upload-list li,
.improvement-priority-list li,
.field-training-step {
  border: 1px solid rgba(13, 43, 109, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.mechanical-upload-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  cursor: pointer;
}

.mechanical-upload-list span,
.mechanical-upload-list small {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mechanical-upload-list__empty,
.improvement-priority-list__empty {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border: 1px dashed #cbd8f3;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.heights-program-hero {
  background:
    linear-gradient(135deg, rgba(10, 40, 112, 0.92), rgba(35, 88, 196, 0.78)),
    radial-gradient(circle at 22% 28%, rgba(255, 198, 0, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}

.heights-program-hero::before,
.heights-program-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.6;
}

.heights-program-hero::before {
  inset: auto 18px 18px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
}

.heights-program-hero::after {
  inset: 18px auto auto 18px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.24);
}

.heights-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.heights-pillars article {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.heights-pillars strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.heights-pillars p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
}

.heights-trend-card {
  display: grid;
  gap: 14px;
}

.heights-trend-card svg {
  width: 100%;
  height: auto;
}

.heights-grid-line {
  fill: none;
  stroke: rgba(13, 43, 109, 0.12);
  stroke-width: 1;
}

.heights-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heights-line--blue {
  stroke: #2e63ff;
}

.heights-line--green {
  stroke: #24a363;
}

.heights-line--amber {
  stroke: #ffb423;
}

.heights-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.heights-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.heights-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.heights-dot--blue {
  background: #2e63ff;
}

.heights-dot--green {
  background: #24a363;
}

.heights-dot--amber {
  background: #ffb423;
}

.improvement-page,
.improvement-page__side,
.field-training-page,
.field-training-step-list {
  display: grid;
  gap: 16px;
}

.improvement-page__metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.improvement-page__layout {
  grid-template-columns: 1.35fr 0.65fr;
}

.improvement-page__side {
  align-content: start;
}

.improvement-priority-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.improvement-priority-list li {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.improvement-priority-list li p {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.improvement-priority-list li div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.improvement-priority-list li b {
  color: var(--brand);
}

.field-training-hero {
  grid-template-columns: 1.15fr 0.85fr;
}

.field-training-execution {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  margin-top: 16px;
}

.field-training-hero__card,
.field-training-detail,
.field-training-steps,
.field-training-execution__catalog,
.field-training-execution__detail {
  display: grid;
  gap: 16px;
}

.field-training-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-training-stats {
  display: grid;
  gap: 14px;
}

.field-training-stat {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border: 1px solid #dbe6fb;
}

.field-training-stat span {
  display: block;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.field-training-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 1.08rem;
  line-height: 1.35;
}

.field-training-step-list {
  margin-top: 4px;
}

.field-training-step {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}

.field-training-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: #2458cc;
  font-weight: 800;
}

.field-training-step strong {
  display: block;
  color: var(--brand);
  font-size: 0.94rem;
}

.field-training-step small {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.field-training-step--active {
  border-color: #bcd0ff;
  box-shadow: 0 14px 28px rgba(16, 63, 187, 0.1);
}

.field-training-step--done span {
  background: #e6f8ec;
  color: #1c9950;
}

.field-training-detail__description {
  color: var(--text-soft);
  line-height: 1.7;
}

.field-training-checklist {
  display: grid;
  gap: 10px;
}

.field-training-checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--brand);
  line-height: 1.6;
}

.field-training-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc423;
}

.field-training-tip {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #d9e4fb;
}

.field-training-tip strong {
  display: block;
  margin-bottom: 8px;
}

.field-training-tip p {
  color: var(--text-soft);
  line-height: 1.7;
}

.field-training-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.field-piece-subtitle {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.field-piece-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-piece-card {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 16px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid #d9e4fb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.field-piece-card:hover {
  transform: translateY(-2px);
  border-color: #b8cdfd;
  box-shadow: 0 14px 28px rgba(10, 37, 96, 0.08);
}

.field-piece-card--active {
  border-color: #9dbbff;
  box-shadow: 0 18px 34px rgba(18, 74, 204, 0.12);
}

.field-piece-card__eyebrow {
  color: #2458cc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-piece-card strong {
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.4;
}

.field-piece-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.9rem;
}

.field-piece-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.field-piece-card__footer small {
  color: var(--text-soft);
}

.field-piece-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field-piece-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f7ff;
  border: 1px solid #d7e4fe;
  color: var(--brand);
  font-size: 0.84rem;
}

.field-piece-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-piece-column {
  display: grid;
  gap: 10px;
}

.field-piece-column strong {
  color: var(--brand);
}

.field-piece-feedback {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pulidora-page,
.pulidora-hero,
.pulidora-grid {
  display: grid;
  gap: 16px;
}

.pulidora-hero {
  grid-template-columns: 1.1fr 0.9fr;
}

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

.pulidora-hero__copy,
.pulidora-hero__stats,
.pulidora-section,
.pulidora-closing {
  padding: 22px;
}

.pulidora-hero__copy,
.pulidora-hero__stats,
.pulidora-section {
  display: grid;
  gap: 16px;
}

.pulidora-hero__stats {
  gap: 14px;
}

.pulidora-stat {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border: 1px solid #dbe6fb;
}

.pulidora-stat span {
  display: block;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.pulidora-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 1.08rem;
}

.pulidora-sequence,
.pulidora-checklist,
.pulidora-quiz {
  display: grid;
  gap: 12px;
}

.pulidora-sequence-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pulidora-sequence-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: #2458cc;
  font-weight: 800;
}

.pulidora-sequence-step strong,
.pulidora-quiz-card strong {
  color: var(--brand);
}

.pulidora-sequence-step p,
.pulidora-quiz-card__feedback,
.pulidora-closing p {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.pulidora-check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dbe6fb;
  background: #ffffff;
}

.pulidora-check-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2458cc;
}

.pulidora-check-item span {
  color: var(--brand);
  line-height: 1.55;
}

.pulidora-risk-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pulidora-risk-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff8ea 0%, #ffffff 100%);
  border: 1px solid #f0d28d;
  color: var(--brand);
  line-height: 1.6;
}

.pulidora-quiz-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pulidora-option-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pulidora-option {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d9e4fb;
  background: #ffffff;
  color: var(--brand);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pulidora-option:hover {
  transform: translateY(-1px);
  border-color: #b8cdfd;
  box-shadow: 0 12px 22px rgba(10, 37, 96, 0.06);
}

.pulidora-option--selected {
  border-color: #7ea3f6;
}

.pulidora-option--correct {
  background: #eef9f1;
  border-color: #bfe2cb;
}

.pulidora-option--incorrect {
  background: #fff1f1;
  border-color: #e9c3c3;
}

.pulidora-feedback {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.pulidora-closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.active-breaks-page,
.active-breaks-hero,
.active-breaks-layout {
  display: grid;
  gap: 16px;
}

.active-breaks-hero {
  grid-template-columns: 1.02fr 0.98fr;
}

.active-breaks-hero__copy,
.active-breaks-hero__visual,
.active-breaks-catalog,
.active-breaks-detail,
.active-break-reference {
  padding: 22px;
}

.active-breaks-hero__copy,
.active-breaks-catalog,
.active-breaks-detail,
.active-break-reference {
  display: grid;
  gap: 16px;
}

.active-breaks-hero__visual {
  overflow: hidden;
}

.active-breaks-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.active-breaks-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.active-breaks-summary-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.active-breaks-summary-card span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.active-breaks-summary-card strong {
  color: var(--brand);
  font-size: 0.96rem;
  line-height: 1.45;
}

.active-breaks-layout {
  grid-template-columns: 0.92fr 1.08fr;
}

.active-break-card-grid,
.active-break-reference-grid {
  display: grid;
  gap: 14px;
}

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

.active-break-reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.active-break-card {
  width: 100%;
  display: grid;
  gap: 12px;
  padding: 16px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid #d9e4fb;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.active-break-card:hover {
  transform: translateY(-2px);
  border-color: #b8cdfd;
  box-shadow: 0 14px 28px rgba(10, 37, 96, 0.08);
}

.active-break-card--active {
  border-color: #9dbbff;
  box-shadow: 0 18px 34px rgba(18, 74, 204, 0.12);
}

.active-break-card__art,
.active-break-poster__art {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(255, 196, 38, 0.18), transparent 62%), #f3f7ff;
  border: 1px solid #dce6fb;
}

.active-break-card__art {
  min-height: 128px;
  padding: 8px;
}

.active-break-card__eyebrow,
.active-break-poster__eyebrow {
  color: #2458cc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-break-card strong,
.active-break-poster strong,
.active-breaks-list-card strong,
.active-breaks-detail__meta strong {
  color: var(--brand);
}

.active-break-card p,
.active-break-poster p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.active-break-card__meta,
.active-break-poster__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-break-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d7e4fe;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.active-break-card__footer,
.active-break-poster__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.active-break-card__footer small,
.active-break-poster__footer small {
  color: var(--text-soft);
}

.active-breaks-detail__hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
  align-items: stretch;
}

.active-break-figure-frame {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #dbe6fb;
  background: radial-gradient(circle at top, rgba(255, 196, 38, 0.22), transparent 58%), linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.active-break-figure {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.active-break-figure--compact {
  max-width: 150px;
}

.active-break-figure .line,
.active-break-figure .arrow,
.active-break-figure .accent,
.active-break-figure .screen-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.active-break-figure .line {
  stroke: #173d88;
  stroke-width: 7;
}

.active-break-figure .accent {
  stroke: #1f914b;
  stroke-width: 6;
}

.active-break-figure .arrow {
  stroke: #f5b000;
  stroke-width: 5;
}

.active-break-figure .screen-line {
  stroke: #9eb4ea;
  stroke-width: 4;
  stroke-dasharray: 8 10;
}

.active-break-figure .head {
  fill: #ffd8b2;
  stroke: #173d88;
  stroke-width: 5;
}

.active-break-figure .body {
  fill: rgba(37, 88, 204, 0.12);
  stroke: #173d88;
  stroke-width: 5;
}

.active-break-figure .screen {
  fill: #f2f7ff;
  stroke: #173d88;
  stroke-width: 5;
}

.active-break-figure .base {
  fill: rgba(255, 196, 38, 0.14);
  stroke: #d9e4fb;
  stroke-width: 3;
}

.active-breaks-detail__meta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.active-breaks-detail__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.active-breaks-list-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dbe6fb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.active-breaks-cue {
  margin: 0;
}

.active-break-poster {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #d9e4fb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.active-break-poster__art {
  min-height: 158px;
  padding: 10px;
}

.active-break-poster__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.active-break-poster__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--brand);
  font-size: 0.9rem;
  line-height: 1.5;
}

.active-break-poster__list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: #f5b000;
  box-shadow: 0 0 0 4px rgba(245, 176, 0, 0.16);
}

@media (max-width: 1240px) {
  .mechanical-upload-grid,
  .improvement-page__layout,
  .field-training-hero,
  .field-training-layout,
  .field-training-execution,
  .active-breaks-hero,
  .active-breaks-layout,
  .pulidora-hero,
  .pulidora-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .improvement-page__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mechanical-upload-form,
  .improvement-form {
    grid-template-columns: 1fr;
  }

  .mechanical-upload-form__full,
  .improvement-form__full {
    grid-column: span 1;
  }

  .mechanical-inline-actions--upload,
  .field-training-actions {
    flex-direction: column;
  }

  .field-piece-grid,
  .field-piece-columns,
  .active-breaks-hero__summary,
  .active-breaks-detail__hero,
  .active-breaks-detail__lists {
    grid-template-columns: 1fr;
  }

  .active-break-card-grid,
  .active-break-reference-grid,
  .pulidora-closing {
    grid-template-columns: 1fr;
  }

  .pulidora-closing {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .improvement-page__metrics {
    grid-template-columns: 1fr;
  }

  .mechanical-upload-card,
  .mechanical-upload-history,
  .improvement-page__table-card,
  .improvement-page__form-card,
  .improvement-page__priority-card,
  .field-training-hero__card,
  .field-training-stats,
  .field-training-steps,
  .field-training-detail,
  .field-training-execution__catalog,
  .field-training-execution__detail,
  .active-breaks-hero__copy,
  .active-breaks-hero__visual,
  .active-breaks-catalog,
  .active-breaks-detail,
  .active-break-reference,
  .pulidora-hero__copy,
  .pulidora-hero__stats,
  .pulidora-section,
  .pulidora-closing {
    padding: 18px;
  }

  .active-break-card__art {
    min-height: 108px;
  }

  .active-break-figure-frame {
    min-height: 260px;
  }
}

.audit-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.audit-highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.audit-highlight-list article,
.audit-roadmap-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.audit-highlight-list strong,
.audit-roadmap-item strong {
  display: block;
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 0.96rem;
  font-weight: 800;
}

.audit-highlight-list span,
.audit-roadmap-item span {
  display: block;
  color: var(--brand-bright);
  font-size: 0.8rem;
  font-weight: 700;
}

.audit-highlight-list article span:last-child,
.audit-roadmap-item p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
}

.metric-spot {
  display: block;
  margin: 10px 0 6px;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.audit-roadmap {
  margin-top: 18px;
}

.audit-legal-note {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(13, 43, 109, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.audit-legal-note strong {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}

.audit-legal-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.audit-diagnostic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 18px;
}

.audit-score-strip {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d2b6d 0%, #1d56d6 100%);
  color: #ffffff;
}

.audit-score-strip span {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.audit-score-value {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.audit-cycle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.audit-cycle-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
}

.audit-cycle-card span {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.audit-cycle-card strong {
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 800;
}

.audit-cycle-card small {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.audit-cycle-card b {
  width: fit-content;
}

.audit-band-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.audit-band-card strong {
  color: var(--brand);
  font-size: 1.06rem;
  font-weight: 800;
}

.audit-band-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.audit-band-actions,
.audit-plan-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  display: grid;
  gap: 8px;
}

.audit-band-actions li,
.audit-plan-list li {
  line-height: 1.55;
}

.audit-plan-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 43, 109, 0.08);
}

.audit-plan-block strong {
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 800;
}

.audit-diagnostic-table {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.audit-diagnostic-row {
  display: grid;
  grid-template-columns: 0.72fr 2.1fr 0.52fr 0.9fr 0.55fr 0.72fr 0.72fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 43, 109, 0.08);
  background: #ffffff;
}

.audit-diagnostic-row--head {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  background: #f7faff;
}

.audit-diagnostic-cycle,
.audit-diagnostic-weight,
.audit-diagnostic-score,
.audit-diagnostic-evidence {
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 700;
}

.audit-diagnostic-criterion {
  display: grid;
  gap: 4px;
}

.audit-diagnostic-criterion strong {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.audit-diagnostic-criterion small {
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.audit-diagnostic-select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(13, 43, 109, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand);
  font: inherit;
}

.audit-evidence-button {
  justify-self: start;
}

.audit-upload-grid {
  margin-top: 18px;
}

.audit-page .simple-doc-list li strong {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .audit-diagnostic-grid,
  .audit-highlight-list {
    grid-template-columns: 1fr;
  }

  .audit-cycle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audit-diagnostic-row {
    grid-template-columns: 1fr;
  }
}

.ingenia-branding {
  --text: #0a2e73;
  --text-soft: #485563;
  --text-faint: #6d7684;
  --brand: #0a2e73;
  --brand-deep: #111827;
  --brand-bright: #143d96;
  --accent: #6d7684;
  --accent-deep: #485563;
  background:
    radial-gradient(circle at top left, rgba(10, 46, 115, 0.1), transparent 22%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

.ingenia-branding .brand-cluster {
  gap: 14px;
}

.ingenia-branding .brand-main {
  padding-right: 0;
  border-right: none;
  min-width: 0;
}

.ingenia-branding .brand-main--ingenia {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.ingenia-wordmark {
  display: block;
  width: min(100%, 340px);
  height: auto;
}

.brand-main--landing .ingenia-wordmark {
  width: min(100%, 430px);
}

.app-header .brand-main--ingenia .ingenia-wordmark {
  width: min(100%, 320px);
}

.brand-main--footer .ingenia-wordmark {
  width: min(100%, 260px);
}

.login-panel__branding .brand-main--ingenia .ingenia-wordmark {
  width: min(100%, 360px);
}

.ingenia-branding .brand-name,
.ingenia-branding .hero-copy h1,
.ingenia-branding .login-card h3,
.ingenia-branding .app-title-block h1 {
  font-family: "Montserrat", "Segoe UI Variable", sans-serif;
}

.ingenia-branding .brand-name {
  color: #0a2e73;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.ingenia-branding .brand-subtitle,
.ingenia-branding .hero-copy h2,
.ingenia-branding .login-panel__branding p {
  font-family: "Inter", "Segoe UI Variable", sans-serif;
}

.ingenia-branding .brand-subtitle {
  color: #6d7684;
  margin-top: 6px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ingenia-branding .brand-name,
.ingenia-branding .brand-subtitle {
  display: none;
}

.ingenia-branding .brand--light .brand-name,
.ingenia-branding .brand-main--footer .brand-name {
  color: #ffffff;
}

.ingenia-branding .brand--light .brand-subtitle,
.ingenia-branding .brand-main--footer .brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.ingenia-branding .brand-mark {
  color: #0a2e73;
  display: none;
}

.ingenia-branding .brand--light .brand-mark,
.ingenia-branding .brand-main--footer .brand-mark {
  color: #ffffff;
}

.ingenia-branding .header-login,
.ingenia-branding .btn-primary {
  background: linear-gradient(135deg, #0a2e73 0%, #143d96 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(10, 46, 115, 0.22);
}

.ingenia-branding .header-login:hover,
.ingenia-branding .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(10, 46, 115, 0.28);
}

.ingenia-branding .btn-secondary {
  border-color: rgba(10, 46, 115, 0.18);
  color: #0a2e73;
}

.ingenia-branding .play-badge {
  background: #0a2e73;
  color: #ffffff;
}

.ingenia-branding .footer,
.ingenia-branding .login-panel__backdrop {
  background:
    radial-gradient(circle at top center, rgba(217, 222, 229, 0.15), transparent 28%),
    linear-gradient(180deg, #081e57 0%, #0a2e73 56%, #111827 100%);
}

.ingenia-branding .login-panel__branding p {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ingenia-branding .hero-copy h1 {
  letter-spacing: -0.04em;
}

.ingenia-branding .hero-copy h2 {
  color: #0a2e73;
}

.module-section-block {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(13, 45, 115, 0.08);
}

.module-section-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.module-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.module-kpi-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(14, 47, 120, 0.08);
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 700;
}

.module-kpi-pill--warn {
  background: rgba(255, 184, 0, 0.14);
  color: #9a6500;
}

.module-hero-surface {
  min-height: 220px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(140deg, rgba(7, 35, 98, 0.95), rgba(31, 116, 209, 0.85));
  position: relative;
  overflow: hidden;
}

.module-hero-surface::before,
.module-hero-surface::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.6;
}

.module-hero-surface::before {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -40px;
  background: rgba(255, 255, 255, 0.12);
}

.module-hero-surface::after {
  width: 150px;
  height: 150px;
  left: -20px;
  bottom: -30px;
  background: rgba(255, 184, 0, 0.18);
}

.module-hero-surface--accidentality {
  background:
    linear-gradient(140deg, rgba(7, 35, 98, 0.94), rgba(20, 95, 196, 0.9)),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.22), transparent 30%);
}

.module-hero-surface--events {
  background:
    linear-gradient(145deg, rgba(40, 12, 96, 0.96), rgba(160, 70, 170, 0.82)),
    radial-gradient(circle at 65% 32%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.module-hero-surface--chemical {
  background:
    linear-gradient(145deg, rgba(9, 69, 92, 0.95), rgba(42, 168, 131, 0.88)),
    radial-gradient(circle at 70% 32%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.module-hero-surface--emergency {
  background:
    linear-gradient(145deg, rgba(121, 36, 11, 0.95), rgba(220, 99, 61, 0.86)),
    radial-gradient(circle at 68% 35%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.module-stat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-muted);
}

.module-stat-list strong {
  color: var(--brand-blue);
}

.module-analysis-card {
  min-height: 170px;
}

.module-bar-list {
  display: grid;
  gap: 0.95rem;
}

.module-bar-list div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.4fr) auto;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.module-bar-list span,
.module-bar-list strong {
  color: var(--brand-blue);
  font-weight: 700;
}

.module-bar-list i {
  display: block;
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(13, 45, 115, 0.09);
  overflow: hidden;
}

.module-bar-list i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #1f76d1, #26b1c8);
}

.module-evidence-note {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(13, 45, 115, 0.05);
  color: var(--ink-muted);
}

.module-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.module-process-step {
  min-height: 170px;
  position: relative;
  overflow: hidden;
}

.module-process-step::before {
  content: "";
  position: absolute;
  inset: auto -30px -36px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(13, 45, 115, 0.06);
}

.mechanical-tabs__button[href] {
  text-decoration: none;
}

@media (max-width: 860px) {
  .brand-main--landing .ingenia-wordmark,
  .login-panel__branding .brand-main--ingenia .ingenia-wordmark {
    width: min(100%, 300px);
  }

  .app-header .brand-main--ingenia .ingenia-wordmark {
    width: min(100%, 260px);
  }
}

.landing-v3 {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 28% 16%, rgba(91, 135, 255, 0.16), transparent 23%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 47%, #0f2f83 47%, #081f56 100%);
}

.landing-v3 .page-shell {
  padding: 0;
}

.landing-v3__frame {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(420px, 0.94fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.landing-v3__content {
  position: relative;
  padding: 56px 52px 0 60px;
  background:
    radial-gradient(circle at 45% 32%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.68) 38%, rgba(255, 255, 255, 0.28) 68%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 248, 255, 0.88) 100%);
}

.landing-v3__content::before,
.landing-v3__content::after {
  content: "";
  position: absolute;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(69, 126, 240, 0.16), rgba(132, 179, 255, 0.06));
  filter: blur(0.2px);
}

.landing-v3__content::before {
  top: 190px;
  right: 90px;
  width: 280px;
  height: 360px;
  transform: rotate(34deg);
}

.landing-v3__content::after {
  right: 340px;
  bottom: 200px;
  width: 160px;
  height: 220px;
  opacity: 0.7;
  transform: rotate(20deg);
}

.landing-v3__header {
  position: relative;
  z-index: 2;
  padding-bottom: 42px;
}

.landing-v3__header .brand-main {
  border-right: none;
  padding-right: 0;
}

.landing-v3__header .ingenia-wordmark {
  width: 280px;
  max-width: 100%;
}

.landing-v3__hero {
  position: relative;
  z-index: 2;
}

.landing-v3__product {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 520px;
}

.landing-v3__product-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #0d3c96;
  flex: 0 0 auto;
}

.landing-v3__product-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-v3__product-divider {
  width: 1px;
  height: 54px;
  background: rgba(15, 42, 110, 0.18);
}

.landing-v3__product-copy {
  display: grid;
  gap: 2px;
}

.landing-v3__product-copy strong {
  font-size: 3rem;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.landing-v3__product-copy span {
  max-width: 260px;
  font-size: 1.04rem;
  line-height: 1.35;
  color: var(--text-soft);
}

.landing-v3__copy {
  max-width: 690px;
  margin-top: 32px;
}

.landing-v3__copy h1 {
  margin: 0;
  font-size: clamp(2.9rem, 4.1vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.075em;
  color: #102968;
}

.landing-v3__copy h1 span {
  display: block;
  color: #1f55d4;
}

.landing-v3__copy p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #20396f;
}

.landing-v3__capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  max-width: 880px;
}

.landing-v3__capability {
  padding: 0 24px;
  border-right: 1px solid rgba(15, 42, 110, 0.12);
}

.landing-v3__capability:first-child {
  padding-left: 0;
}

.landing-v3__capability:last-child {
  border-right: none;
  padding-right: 0;
}

.landing-v3__capability-icon,
.landing-v3__metric-icon,
.landing-v3__security-icon {
  display: grid;
  place-items: center;
  color: #1c53d0;
}

.landing-v3__capability-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.landing-v3__capability-icon svg,
.landing-v3__metric-icon svg,
.landing-v3__security-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-v3__capability h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.landing-v3__capability p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.landing-v3__scene {
  position: relative;
  height: 250px;
  margin: 28px -52px 0 -60px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0) 0%, rgba(136, 176, 255, 0.16) 18%, rgba(23, 75, 178, 0.26) 52%, rgba(10, 40, 111, 0.44) 100%),
    url("assets/vr-stage-work.png") center bottom / cover no-repeat;
  overflow: hidden;
}

.landing-v3__scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    radial-gradient(circle at 22% 74%, rgba(255, 255, 255, 0.74) 0, rgba(255, 255, 255, 0.14) 15%, transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(11, 43, 117, 0.3) 55%, rgba(10, 38, 105, 0.8) 100%);
}

.landing-v3__scene::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 42px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 16%, rgba(255, 255, 255, 0.16) 84%, transparent 100%);
}

.landing-v3__scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(15, 59, 159, 0.1) 100%),
    radial-gradient(circle at 30% 82%, rgba(255, 255, 255, 0.22), transparent 20%),
    radial-gradient(circle at 65% 76%, rgba(255, 255, 255, 0.22), transparent 18%);
}

.landing-v3__scene-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 28px rgba(7, 26, 78, 0.2);
  backdrop-filter: blur(6px);
}

.landing-v3__scene-node svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-v3__scene-node--shield {
  left: 72px;
  bottom: 38px;
}

.landing-v3__scene-node--chart {
  left: 240px;
  bottom: 34px;
}

.landing-v3__scene-node--document {
  left: 418px;
  bottom: 22px;
}

.landing-v3__scene-node--people {
  right: 132px;
  bottom: 46px;
}

.landing-v3__trust {
  position: relative;
  z-index: 2;
  margin: 0 -52px 0 -60px;
  padding: 22px 60px 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -18px 45px rgba(255, 255, 255, 0.82);
}

.landing-v3__trust > p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: #20396f;
}

.landing-v3__trust > p strong,
.landing-v3__trust > p b,
.landing-v3__trust > p span {
  color: #1f55d4;
}

.landing-v3__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.landing-v3__metric {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 14px;
  padding: 0 20px;
  border-right: 1px solid rgba(15, 42, 110, 0.12);
}

.landing-v3__metric:first-child {
  padding-left: 0;
}

.landing-v3__metric:last-child {
  padding-right: 0;
  border-right: none;
}

.landing-v3__metric-icon {
  width: 42px;
  height: 42px;
  grid-row: span 2;
}

.landing-v3__metric strong {
  align-self: end;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1143b0;
}

.landing-v3__metric span {
  align-self: start;
  font-size: 0.93rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.landing-v3__aside {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 44px;
  background:
    linear-gradient(180deg, rgba(33, 76, 177, 0.92), rgba(9, 31, 87, 0.96)),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.16), transparent 22%);
}

.landing-v3__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 0 42%, rgba(255, 255, 255, 0.06) 42% 57%, transparent 57% 100%);
  pointer-events: none;
}

.landing-v3__aside-shape {
  position: absolute;
  right: 0;
  width: 76%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(0.2px);
}

.landing-v3__aside-shape--top {
  top: 0;
  height: 170px;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.landing-v3__aside-shape--bottom {
  bottom: 0;
  height: 170px;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.landing-v3__login-card {
  position: relative;
  z-index: 2;
  width: min(100%, 466px);
  margin: 0;
  padding: 30px 34px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(5, 18, 57, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.landing-v3__lock-badge {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #2350d4;
  background: linear-gradient(180deg, #edf3ff, #e1ebff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.landing-v3__lock-badge svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-v3__login-card h3 {
  text-align: center;
  font-size: 2.05rem;
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: #0e2c72;
}

.landing-v3__login-card .login-subtitle {
  max-width: 360px;
  margin: 12px auto 0;
  text-align: center;
  color: #4c5e86;
  font-size: 1rem;
  line-height: 1.5;
}

.landing-v3 .login-form {
  margin-top: 28px;
}

.landing-v3 .field {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.landing-v3 .field > span {
  font-size: 0.98rem;
  font-weight: 800;
  color: #122a69;
}

.landing-v3 .input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(23, 63, 157, 0.16);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.landing-v3 .input-shell:focus-within {
  border-color: rgba(31, 85, 212, 0.46);
  box-shadow:
    0 0 0 4px rgba(31, 85, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.landing-v3 .input-shell input {
  flex: 1;
  border: none;
  background: transparent;
  color: #183167;
  font-size: 0.98rem;
  outline: none;
}

.landing-v3 .input-shell input::placeholder {
  color: #8897b9;
}

.landing-v3 .input-icon {
  width: 20px;
  height: 20px;
  color: #7f8fb2;
  flex: 0 0 auto;
}

.landing-v3 .input-icon svg,
.landing-v3 .password-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.landing-v3 .input-icon--trail {
  order: 3;
}

.landing-v3 .password-toggle {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  color: #7383ab;
  cursor: pointer;
}

.landing-v3 .login-options {
  justify-content: flex-end;
  margin-top: -4px;
}

.landing-v3 .login-options a {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1f55d4;
}

.landing-v3__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f55d4, #1947b6);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(24, 75, 188, 0.22);
}

.landing-v3 .divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
  color: #6e7ea8;
  font-size: 0.95rem;
}

.landing-v3 .divider::before,
.landing-v3 .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(18, 42, 105, 0.14);
}

.landing-v3 .divider span {
  white-space: nowrap;
}

.landing-v3 .social-actions {
  display: grid;
  gap: 12px;
}

.landing-v3 .social-button {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  border-radius: 14px;
  padding: 0 18px;
  border: 1px solid rgba(18, 42, 105, 0.12);
  background: #ffffff;
  color: #15326e;
  font-weight: 700;
  box-shadow: none;
}

.landing-v3 .social-button--soft:hover {
  box-shadow: 0 14px 28px rgba(8, 30, 87, 0.08);
}

.landing-v3 .social-logo--google {
  font-weight: 800;
}

.landing-v3__security-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(18, 42, 105, 0.12);
}

.landing-v3__security-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.landing-v3__security-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4f6188;
}

.landing-v3__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  background: #071d54;
  color: rgba(255, 255, 255, 0.92);
}

.landing-v3__footer p {
  margin: 0;
  font-size: 0.9rem;
}

.landing-v3__footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

.landing-v3__footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.landing-v3 .login-feedback {
  margin-top: 12px;
  min-height: 20px;
  font-size: 0.92rem;
  color: #d32727;
}

.landing-v3 .login-feedback--success {
  color: #16854a;
}

@media (max-width: 1240px) {
  .landing-v3__frame {
    grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.9fr);
  }

  .landing-v3__content {
    padding: 42px 36px 0 42px;
  }

  .landing-v3__scene,
  .landing-v3__trust {
    margin-left: -42px;
    margin-right: -36px;
  }

  .landing-v3__copy h1 {
    font-size: clamp(2.48rem, 3.9vw, 3.5rem);
  }

  .landing-v3__capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
    max-width: 760px;
  }

  .landing-v3__capability:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .landing-v3__capability:nth-child(3) {
    padding-left: 0;
  }

  .landing-v3__capability:nth-child(3),
  .landing-v3__capability:nth-child(4) {
    border-top: 1px solid rgba(15, 42, 110, 0.12);
    padding-top: 20px;
  }
}

@media (max-width: 980px) {
  .landing-v3 {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 54%, #0f2f83 54%, #081f56 100%);
  }

  .landing-v3__frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-v3__content {
    padding: 36px 24px 0;
  }

  .landing-v3__content::before,
  .landing-v3__content::after {
    display: none;
  }

  .landing-v3__scene,
  .landing-v3__trust {
    margin-left: -24px;
    margin-right: -24px;
  }

  .landing-v3__trust {
    padding: 18px 24px 22px;
  }

  .landing-v3__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .landing-v3__metric:nth-child(2) {
    border-right: none;
  }

  .landing-v3__metric:nth-child(3),
  .landing-v3__metric:nth-child(4) {
    border-top: 1px solid rgba(15, 42, 110, 0.12);
    padding-top: 18px;
  }

  .landing-v3__metric:nth-child(3) {
    padding-left: 0;
  }

  .landing-v3__aside {
    padding: 24px 18px 34px;
  }

  .landing-v3__login-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .landing-v3__header .ingenia-wordmark {
    width: 230px;
  }

  .landing-v3__product {
    gap: 14px;
  }

  .landing-v3__product-mark {
    width: 56px;
    height: 56px;
  }

  .landing-v3__product-copy strong {
    font-size: 2.36rem;
  }

  .landing-v3__product-copy span {
    font-size: 0.96rem;
  }

  .landing-v3__copy h1 {
    font-size: 2.4rem;
  }

  .landing-v3__capabilities {
    grid-template-columns: 1fr;
  }

  .landing-v3__capability {
    padding: 0 0 18px;
    border-right: none;
    border-bottom: 1px solid rgba(15, 42, 110, 0.12);
  }

  .landing-v3__capability:nth-child(3),
  .landing-v3__capability:nth-child(4) {
    border-top: none;
    padding-top: 0;
  }

  .landing-v3__capability:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .landing-v3__scene {
    height: 190px;
  }

  .landing-v3__scene-node {
    width: 52px;
    height: 52px;
  }

  .landing-v3__scene-node--shield {
    left: 24px;
    bottom: 18px;
  }

  .landing-v3__scene-node--chart {
    left: 108px;
    bottom: 14px;
  }

  .landing-v3__scene-node--document {
    left: 200px;
    bottom: 8px;
  }

  .landing-v3__scene-node--people {
    right: 28px;
    bottom: 20px;
  }

  .landing-v3__metrics {
    grid-template-columns: 1fr;
  }

  .landing-v3__metric {
    padding: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid rgba(15, 42, 110, 0.12);
  }

  .landing-v3__metric:nth-child(3),
  .landing-v3__metric:nth-child(4) {
    border-top: none;
    padding-top: 0;
  }

  .landing-v3__metric:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .landing-v3__login-card {
    padding: 26px 22px;
  }

  .landing-v3__login-card h3 {
    font-size: 1.8rem;
  }

  .landing-v3__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 20px;
  }

  .landing-v3__footer-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}
