:root {
  --ink: #111820;
  --muted: #64717c;
  --paper: #f3f6f8;
  --panel: #ffffff;
  --line: rgba(17, 24, 32, 0.14);
  --green: #047fc4;
  --deep: #111820;
  --gold: #8fa3b1;
  --red: #1f6f9f;
  --blue: #047fc4;
  --nav: #0b1720;
  --nav-2: #132635;
  --ok: #157347;
  --warn: #9a6400;
  --shadow: 0 12px 28px rgba(17, 24, 32, 0.08);
  --shadow-sm: 0 6px 18px rgba(17, 24, 32, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.auth-body {
  min-height: 100vh;
  background: #f4f7f9;
  position: relative;
}

.auth-body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: url("gcla-hq.jpeg") center/cover no-repeat;
  content: "";
  opacity: 0.075;
  pointer-events: none;
}

.auth-main {
  display: flex;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 5vh, 58px) 16px 20px;
}

.auth-main .page-shell {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.auth-main > .flash {
  width: min(100%, 760px);
}

.auth-identity {
  display: grid;
  width: min(100%, 1120px);
  min-height: 142px;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  border-radius: 8px;
  border: 1px solid rgba(4, 127, 196, 0.12);
  background: rgba(250, 253, 248, 0.94);
  padding: 18px clamp(22px, 4vw, 46px);
  color: #111820;
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-national-mark {
  display: flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.auth-national-mark img {
  width: 82px;
  border: 3px solid white;
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.16);
}

.auth-gcla-logo {
  width: 92px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 8px 12px rgba(17, 24, 32, 0.16));
}

.auth-identity-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-transform: uppercase;
}

.auth-identity-copy strong {
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.auth-identity-copy span {
  color: #182332;
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
}

.auth-identity-copy b {
  color: #047fc4;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1.2;
}

.auth-page {
  margin: clamp(36px, 7vh, 76px) auto 32px;
}

.auth-login-page {
  max-width: 640px;
}

.auth-card {
  border-color: rgba(17, 24, 32, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.11);
}

.auth-login-card {
  padding: clamp(26px, 4vw, 42px);
}

.auth-login-card h1 {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 14px;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  text-align: center;
}

.auth-login-card h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 86px;
  height: 3px;
  background: #047fc4;
  content: "";
  transform: translateX(-50%);
}

.auth-intro {
  margin: 0 0 24px;
  color: var(--muted);
  text-align: center;
}

.auth-card label {
  display: block;
  margin-top: 18px;
}

.auth-card input,
.auth-card select {
  min-height: 52px;
}

.auth-card input:focus,
.auth-card select:focus {
  border-color: #047fc4;
  box-shadow: 0 0 0 3px rgba(4, 127, 196, 0.13);
  outline: 0;
}

.auth-help-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-submit {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-secondary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.9rem;
}

.auth-service-prompt {
  position: relative;
  margin: 0 auto 30px;
  padding-bottom: 16px;
  color: #182332;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.auth-service-prompt::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 72px;
  height: 3px;
  background: #047fc4;
  content: "";
  transform: translateX(-50%);
}

.auth-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  color: #344453;
  font-size: 0.9rem;
  text-align: center;
}

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

.app-main {
  min-width: 0;
}

.app-header .container-fluid {
  min-width: 0;
}

.gcla-sidebar {
  background: #111820;
}

.gcla-sidebar .sidebar-brand {
  min-height: 92px;
  padding: 10px 12px;
}

.gcla-sidebar .brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.gcla-sidebar .brand-image {
  width: 62px;
  height: auto;
  object-fit: contain;
}

.gcla-sidebar .brand-text {
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.gcla-sidebar .nav-link {
  border-radius: 8px;
  margin: 3px 10px;
}

.gcla-sidebar .nav-link:hover,
.gcla-sidebar .nav-link:focus {
  background: rgba(4, 127, 196, 0.22);
}

.user-chip {
  border: 1px solid rgba(4, 127, 196, 0.18);
  border-radius: 999px;
  background: #eef7fc;
  color: #07567f;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 10px;
}

.notification-bell,
.notification-sound {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4, 127, 196, 0.22);
  border-radius: 999px;
  background: #e6f4fb;
  color: #07567f;
  font-weight: 900;
  position: relative;
}

.notification-bell span {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c43b1f;
  color: #fff;
  font-size: 0.7rem;
  line-height: 16px;
  text-align: center;
}

.notification-sound {
  cursor: pointer;
}

.blink-alert {
  animation: blinkPulse 1.1s ease-in-out infinite;
}

@keyframes blinkPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 59, 31, 0.42);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(196, 59, 31, 0);
    transform: scale(1.04);
  }
}

.notification-shell {
  padding-top: 14px;
  padding-bottom: 0;
}

.notification-strip {
  display: grid;
  gap: 10px;
}

.notification-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(4, 127, 196, 0.18);
  border-left-width: 5px;
  border-radius: 8px;
  background: #fff;
  padding: 11px 14px;
  box-shadow: var(--shadow-sm);
}

.notification-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.notification-card p {
  margin: 0;
}

.notification-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #047fc4;
  animation: blinkPulse 1.1s ease-in-out infinite;
}

.notification-submitted {
  border-left-color: #047fc4;
}

.notification-correction {
  border-left-color: #c98209;
}

.notification-correction .notification-dot {
  background: #c98209;
}

.notification-approved {
  border-left-color: #157347;
}

.notification-approved .notification-dot {
  background: #157347;
}

.flash {
  max-width: 1180px;
  margin: 18px auto 0;
  border-radius: 8px;
  padding: 13px 16px;
  font-weight: 800;
}

.flash.success {
  background: #e6f4fb;
  color: #07567f;
}

.flash.warning {
  background: #fff1d4;
  color: #8a5a08;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: 78vh;
  padding: 70px clamp(18px, 5vw, 68px);
  background:
    linear-gradient(115deg, rgba(243, 246, 248, 0.98), rgba(243, 246, 248, 0.82)),
    url("gcla-hq.jpeg")
      center/cover;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6.5vw, 5.9rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.actions,
.inline-form,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
  white-space: normal;
}

.primary {
  background: linear-gradient(135deg, #047fc4, #07567f);
  color: white;
  box-shadow: 0 14px 34px rgba(4, 127, 196, 0.23);
}

.secondary {
  border-color: rgba(4, 127, 196, 0.25);
  background: white;
  color: #07567f;
}

.danger {
  background: #b42318;
  color: white;
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.2);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  color: var(--blue);
  font-size: 2.4rem;
}

.hero-panel span {
  color: var(--muted);
  font-weight: 800;
}

.service-bulletin {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border-top: 1px solid rgba(4, 127, 196, 0.2);
  border-bottom: 1px solid rgba(4, 127, 196, 0.2);
  background: #07567f;
  color: white;
  padding: 12px 0 12px clamp(18px, 4vw, 54px);
}

.bulletin-label {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.bulletin-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: bulletin-scroll 48s linear infinite;
}

.service-bulletin:hover .bulletin-track {
  animation-play-state: paused;
}

.bulletin-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 800;
}

.bulletin-track span::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #07567f;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

@keyframes bulletin-scroll {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.band,
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px clamp(18px, 3vw, 28px);
}

.page-shell.notification-shell {
  padding-top: 14px;
  padding-bottom: 0;
}

.notification-shell + .page-shell {
  padding-top: 16px;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.band article,
.form-card,
.table-card,
.detail-card,
.success-panel,
.payment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.band article {
  padding: 24px;
}

.page-shell.narrow {
  max-width: 760px;
}

.page-heading {
  margin-bottom: 18px;
}

.page-heading > :last-child {
  margin-bottom: 0;
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.97), rgba(229, 241, 248, 0.88)),
    url("gcla-hq.jpeg")
      center/cover;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.dashboard-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.dashboard-hero p {
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.5;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.metric-grid article,
.insight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric-grid article {
  min-width: 0;
  padding: 16px 18px;
  border-left: 5px solid var(--blue);
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  line-height: 1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.insight-card {
  padding: 18px;
}

.insight-card h2 {
  font-size: 1.25rem;
}

.insight-card h3 {
  margin-top: 14px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 10px;
}

.section-title h2,
.section-title p {
  margin-bottom: 0;
}

.form-card,
.detail-card,
.success-panel,
.payment-card {
  padding: clamp(20px, 3vw, 28px);
}

.form-card h2 {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

label,
legend {
  color: #1a2d3c;
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(20, 35, 30, 0.2);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 13px;
}

input[name="payment_otp"] {
  max-width: 240px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.18rem;
  text-align: center;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

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

.module-info-grid {
  margin-bottom: 18px;
}

.module-info-grid article,
.module-card {
  border: 1px solid rgba(4, 127, 196, 0.18);
  border-radius: 8px;
  background: #f7fafc;
}

.module-info-grid article {
  padding: 18px;
}

.module-info-grid i,
.module-card i {
  color: #047fc4;
  font-size: 2rem;
}

.module-info-grid h2,
.module-card h2 {
  margin-top: 10px;
}

.module-grid {
  align-items: stretch;
}

.module-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.module-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.module-metrics span {
  border-radius: 8px;
  background: #eef7fc;
  padding: 12px;
  color: #07567f;
  font-size: 0.85rem;
  font-weight: 900;
}

.module-metrics strong {
  display: block;
  color: #047fc4;
  font-size: 1.6rem;
  line-height: 1;
}

.choice-card {
  display: grid;
  position: relative;
  gap: 16px;
  min-height: 250px;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(4, 127, 196, 0.22);
  border-top: 4px solid #047fc4;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(17, 24, 32, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.choice-card-research {
  border-color: rgba(21, 115, 71, 0.24);
  border-top-color: #157347;
}

.choice-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf5fb;
  color: #047fc4;
}

.choice-icon i {
  font-size: 1.85rem;
}

.choice-card-research .choice-icon {
  background: #e9f5ee;
  color: #157347;
}

.choice-copy {
  display: grid;
  gap: 8px;
}

.choice-copy strong {
  color: #07567f;
  font-size: 1.2rem;
  line-height: 1.25;
}

.choice-card-research .choice-copy strong {
  color: #125d3c;
}

.choice-copy > span {
  color: var(--muted);
  line-height: 1.45;
}

.choice-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: end;
  margin-top: auto;
  color: #07567f;
  font-size: 0.88rem;
  font-weight: 900;
}

.choice-card-research .choice-action {
  color: #125d3c;
}

.choice-card:hover,
.choice-card:focus {
  border-color: #047fc4;
  background: #fafdff;
  box-shadow: 0 18px 34px rgba(17, 24, 32, 0.13);
  outline: 0;
  transform: translateY(-3px);
}

.choice-card-research:hover,
.choice-card-research:focus {
  border-color: #157347;
  background: #fbfefc;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.checks legend {
  padding: 0 8px;
}

.checks label,
.declaration {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.checks input,
.declaration input {
  width: auto;
  margin-top: 2px;
}

.declaration {
  margin: 24px 0;
  border: 1px solid rgba(4, 127, 196, 0.22);
  border-radius: 8px;
  background: #eef7fc;
  padding: 16px;
}

.tracking-code {
  display: inline-flex;
  margin: 8px 0 18px;
  border-radius: 8px;
  background: #e6f4fb;
  color: #07567f;
  padding: 14px 18px;
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  font-weight: 900;
}

.tracking-code.small {
  font-size: 1rem;
}

.notice {
  border-radius: 8px;
  background: #eef3f7;
  padding: 13px 15px;
}

.legal-basis {
  margin: 22px 0 14px;
  border-left: 4px solid #047fc4;
  background: #f4f8fb;
}

.legal-basis ol {
  margin: 10px 0 8px;
  padding-left: 24px;
}

.legal-basis li + li {
  margin-top: 7px;
}

.legal-basis .muted-small {
  margin-bottom: 0;
}

.inspection-checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.checklist-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #f8fafc;
}

.checklist-item legend {
  max-width: 100%;
  color: var(--ink);
  font-weight: 800;
}

.inspection-checklist-summary {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.inspection-checklist-summary summary {
  color: #07567f;
  font-weight: 800;
  cursor: pointer;
}

.checklist-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.checklist-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.checklist-result p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.status-result {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.submitted {
  background: #ecf0f2;
  color: #40525a;
}

.status.review {
  background: #e8f0fb;
  color: var(--blue);
}

.status.info {
  background: #fff1d4;
  color: #8a5a08;
}

.status.approved {
  background: #e6f4fb;
  color: #07567f;
}

.status.rejected {
  background: #fde7e2;
  color: var(--red);
}

.filters {
  margin-bottom: 16px;
}

.filters input {
  flex: 1 1 300px;
  margin-top: 0;
}

.filters select {
  flex: 0 1 220px;
  margin-top: 0;
}

.table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-margin-top: 130px;
}

.pending-accounts {
  margin-bottom: 22px;
}

.table-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}

.table-card-heading h2,
.table-card-heading p {
  margin-bottom: 0;
}

.compact-form {
  gap: 8px;
}

.compact-form .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.table-card:target {
  outline: 3px solid rgba(4, 127, 196, 0.25);
  outline-offset: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #31463c;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.text-link {
  color: #07567f;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-separator {
  color: var(--muted);
  margin: 0 6px;
}

.detail-actions {
  margin: 12px 0 16px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  margin-top: 14px;
}

.review-layout.inspection-mode {
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
}

.review-card.inspection-workflow {
  position: static;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.bill-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.bill-summary div {
  border: 1px solid rgba(4, 127, 196, 0.16);
  border-radius: 8px;
  background: #f7fafc;
  min-width: 0;
  padding: 12px;
}

.bill-summary dd {
  color: #07567f;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.bill-summary > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 16px;
}

.payment-options article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  padding: 12px;
}

.payment-card form + .notice,
.payment-card .payment-options + form {
  margin-top: 16px;
}

.payment-options strong,
.payment-options span {
  display: block;
}

.payment-options span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  line-height: 1.5;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-list a,
.document-list p {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
  padding: 13px;
}

.document-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.85rem;
}

.document-preview-list {
  display: grid;
  gap: 16px;
}

.document-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.document-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
  padding: 14px;
}

.document-preview-header strong,
.document-preview-header span {
  display: block;
}

.document-preview-header span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.document-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.document-preview-card iframe {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 460px;
  border: 0;
  background: #eef3f7;
}

.review-card {
  position: sticky;
  top: 96px;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.chat-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chat-button {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #047fc4, #07567f);
  color: white;
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  box-shadow: 0 18px 42px rgba(4, 127, 196, 0.35);
}

.chat-button::before {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 13px;
  height: 13px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #e43d30;
  content: "";
}

.chat-button-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  line-height: 1;
}

.chat-button-text {
  font-size: 0.68rem;
  line-height: 1;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 92px;
  display: none;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 80px rgba(17, 24, 32, 0.22);
}

.chat-toggle:checked ~ .chat-panel {
  display: block;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #111820;
  color: white;
  padding: 14px 16px;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.chat-header label {
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.chat-messages {
  display: grid;
  max-height: 320px;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
}

.chat-message {
  border-radius: 8px;
  padding: 11px 12px;
}

.chat-message.authority {
  margin-right: 28px;
  background: #e6f4fb;
}

.chat-message.lab,
.chat-message.researcher {
  margin-left: 28px;
  background: #f0f2f4;
}

.chat-message strong {
  display: block;
  color: #07567f;
  font-size: 0.78rem;
}

.chat-message p {
  margin: 5px 0;
  color: var(--ink);
  line-height: 1.45;
}

.chat-message span,
.chat-empty {
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.chat-form textarea {
  min-height: 78px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 0;
  background: #047fc4;
}

.footer-socials {
  display: flex;
  max-width: 1180px;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  margin: 0 auto;
  padding: 16px clamp(14px, 4vw, 54px);
  color: white;
  font-weight: 900;
}

.footer-socials a,
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.iso-badge {
  font-size: clamp(0.92rem, 2vw, 1.15rem);
}

.social-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #047fc4;
  font-size: 0.9rem;
  font-weight: 900;
}

.social-icon.youtube {
  width: auto;
  min-width: 54px;
  border-radius: 6px;
  background: #ffffff;
  color: #d52520;
}

.social-icon.youtube::after {
  margin-left: 5px;
  color: #111820;
  content: "YouTube";
  font-size: 0.72rem;
}

.social-icon.instagram {
  color: #c13584;
}

.social-icon.x {
  color: #111820;
}

.gcla-sidebar {
  background: linear-gradient(180deg, var(--nav), var(--nav-2));
}

.gcla-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.gcla-sidebar .nav-link:hover,
.gcla-sidebar .nav-link:focus {
  color: #ffffff;
}

.gcla-sidebar .nav-icon {
  color: #7bd2ff;
}

.app-header {
  min-height: 56px;
  box-shadow: 0 3px 14px rgba(17, 24, 32, 0.05);
}

.app-main .page-shell h1 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.app-main .page-shell h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.app-main .dashboard-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.enterprise-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.enterprise-heading h1 {
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.metric-grid article {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.metric-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.metric-grid article:nth-child(4n + 1) {
  border-left-color: #176ca4;
}

.metric-grid article:nth-child(4n + 2) {
  border-left-color: #14976f;
}

.metric-grid article:nth-child(4n + 3) {
  border-left-color: #f0a53a;
}

.metric-grid article:nth-child(4n + 4) {
  border-left-color: #6f7f90;
}

.metric-grid article:nth-child(4n + 2) strong {
  color: #12805f;
}

.metric-grid article:nth-child(4n + 3) strong {
  color: #a56810;
}

.metric-grid article:nth-child(4n + 4) strong {
  color: #526577;
}

.metric-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.chart-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid #176ca4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.chart-card:nth-child(2) {
  border-top-color: #14976f;
}

.chart-card:nth-child(3) {
  border-top-color: #f0a53a;
}

.chart-card:nth-child(4) {
  border-top-color: #6f7f90;
}

.chart-card:nth-child(5) {
  border-top-color: #27a7a0;
}

.chart-card-wide {
  grid-column: 1 / -1;
}

.chart-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
  padding: 14px 16px 12px;
}

.chart-card-heading h2 {
  margin: 3px 0 0;
  font-size: 1.12rem;
}

.chart-card-heading > i {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 8px;
  background: #eef7fc;
  color: #176ca4;
  font-size: 1.2rem;
}

.chart-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 280px;
  padding: 14px;
}

.chart-container-wide {
  height: 310px;
}

.chart-container-tall {
  height: 390px;
}

.settlement-form {
  display: grid;
  gap: 7px;
  min-width: 220px;
  margin-top: 8px;
}

.settlement-form input {
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.settlement-form .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.enterprise-table {
  border-top: 4px solid #047fc4;
}

th {
  background: #f7fafc;
}

tbody tr:hover {
  background: #fbfdff;
}

.muted-small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.status {
  white-space: nowrap;
}

.status.info {
  color: var(--warn);
}

.status.approved {
  background: #e6f6ed;
  color: var(--ok);
}

@media (max-width: 900px) {
  .hero,
  .band,
  .review-layout,
  .definition-grid,
  .dashboard-grid,
  .analytics-chart-grid,
  .bill-summary,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .chart-card-wide {
    grid-column: auto;
  }

  .dashboard-hero {
    flex-direction: column;
  }

  .page-shell.notification-shell {
    padding-top: 12px;
  }

  .notification-shell + .page-shell {
    padding-top: 14px;
  }

  .enterprise-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-socials {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
  }

  .chat-messages {
    max-height: 260px;
  }

  .hero {
    min-height: auto;
  }

  .service-bulletin {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .bulletin-track {
    animation-duration: 62s;
  }

  .two,
  .three,
  .checks,
  .login-choice-grid,
  .module-info-grid,
  .module-grid,
  .module-metrics {
    grid-template-columns: 1fr;
  }

  .review-card {
    position: static;
  }

  .document-preview-header {
    flex-direction: column;
  }

  .document-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .auth-main {
    padding: 14px 10px 16px;
  }

  .auth-identity {
    min-height: 112px;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 10px;
    padding: 12px 10px;
  }

  .auth-national-mark {
    width: 56px;
    height: 56px;
  }

  .auth-national-mark img {
    width: 54px;
    border-width: 2px;
  }

  .auth-gcla-logo {
    width: 62px;
  }

  .auth-identity-copy {
    gap: 3px;
  }

  .auth-identity-copy strong {
    font-size: 0.84rem;
  }

  .auth-identity-copy span {
    font-size: 0.73rem;
  }

  .auth-identity-copy b {
    font-size: 0.76rem;
  }

  .auth-page {
    margin: 24px auto;
  }

  .auth-card,
  .auth-login-card {
    padding: 20px 16px;
  }

  .auth-login-card h1 {
    font-size: 1.55rem;
  }

  .auth-secondary-links {
    display: grid;
    justify-content: stretch;
  }

  .auth-footer {
    font-size: 0.8rem;
  }

  .checklist-item {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 0.95rem;
  }

  .app-main {
    padding-bottom: 86px;
  }

  .app-header .container-fluid {
    flex-wrap: wrap;
    gap: 8px;
  }

  .user-chip {
    display: none;
  }

  .app-header .btn {
    min-height: 38px;
  }

  .notification-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .notification-card .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .hero {
    padding: 38px 16px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1;
  }

  h2 {
    font-size: 1.35rem;
  }

  .app-main .page-shell h1 {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .app-main .page-shell h2 {
    font-size: 1.18rem;
  }

  .band,
  .page-shell {
    padding: 16px 12px;
  }

  .page-shell.notification-shell {
    padding-top: 10px;
    padding-bottom: 0;
  }

  .notification-shell + .page-shell {
    padding-top: 12px;
  }

  .dashboard-hero {
    gap: 14px;
    padding: 16px;
  }

  .app-main .dashboard-hero h1 {
    font-size: 1.75rem;
  }

  .form-card,
  .detail-card,
  .success-panel,
  .payment-card,
  .insight-card,
  .band article {
    padding: 16px;
  }

  .document-actions .button {
    width: 100%;
  }

  .document-preview-card iframe {
    height: 58vh;
    min-height: 320px;
  }

  .actions .button,
  .inline-form .button,
  .inline-form input,
  .filters input,
  .filters select,
  .filters .button,
  .dashboard-hero .button {
    width: 100%;
  }

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

  .metric-grid article {
    padding: 14px;
  }

  .metric-grid strong {
    font-size: 1.9rem;
  }

  .chart-card-heading {
    padding: 15px;
  }

  .chart-container,
  .chart-container-wide {
    height: 280px;
    padding: 12px;
  }

  .chart-container-tall {
    height: 390px;
  }

  .settlement-form {
    min-width: 0;
    width: 100%;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
  }

  .table-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-form .button {
    width: 100%;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 12px;
  }

  .chat-button {
    width: 64px;
    height: 64px;
    border-width: 3px;
  }

  .chat-button-icon {
    width: 24px;
    height: 24px;
  }

  .chat-panel {
    position: fixed;
    right: 8px;
    bottom: 84px;
    left: 8px;
    display: none;
    width: auto;
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    border-radius: 8px;
  }

  .chat-header {
    padding: 12px;
  }

  .chat-messages {
    max-height: min(46vh, calc(100vh - 294px));
    max-height: min(46dvh, calc(100dvh - 294px));
    padding: 12px;
  }

  .chat-message.authority,
  .chat-message.lab,
  .chat-message.researcher {
    margin-left: 0;
    margin-right: 0;
  }

  .chat-form {
    padding: 10px;
  }

  .chat-form textarea {
    min-height: 64px;
    max-height: 118px;
  }

  .footer-socials {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding: 14px;
  }

  .footer-socials a,
  .iso-badge {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .tracking-code {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }
}

/* 2026 enterprise visual system */
:root {
  --ink: #17212b;
  --muted: #637181;
  --paper: #f3f6f9;
  --panel: #ffffff;
  --line: #dbe3ea;
  --green: #087f5b;
  --deep: #102331;
  --gold: #d99614;
  --red: #b42318;
  --blue: #087fbd;
  --nav: #0d202d;
  --nav-2: #123247;
  --ok: #087f5b;
  --warn: #9a6700;
  --soft-blue: #edf7fc;
  --soft-green: #eaf7f1;
  --soft-gold: #fff7e4;
  --shadow: 0 12px 30px rgba(22, 38, 51, 0.08);
  --shadow-sm: 0 5px 16px rgba(22, 38, 51, 0.07);
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.app-main {
  background: #f3f6f9;
}

.app-header {
  min-height: 66px;
  border-bottom-color: #dfe7ed !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 12px rgba(22, 38, 51, 0.05);
}

.app-header .container-fluid {
  min-height: 66px;
  gap: 12px;
  padding-right: 20px;
  padding-left: 16px;
}

.app-header [data-lte-toggle="sidebar"] {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: #2f4555;
  font-size: 1.35rem;
}

.app-header [data-lte-toggle="sidebar"]:hover {
  border-color: #a9c9dc;
  background: var(--soft-blue);
  color: var(--blue);
}

.app-context {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.app-context-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue);
}

.app-context > span:last-child {
  display: grid;
  min-width: 0;
}

.app-context small {
  color: #798795;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.app-context strong {
  overflow: hidden;
  max-width: min(32vw, 390px);
  color: #1b2b37;
  font-size: 0.92rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip {
  min-height: 38px;
  border-color: #cfe1eb;
  border-radius: 7px;
  background: #f2f9fc;
  color: #24506b;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: none;
}

.app-header .btn-sm {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  padding: 0 13px;
  font-weight: 700;
}

.notification-bell,
.notification-sound {
  width: 40px;
  height: 40px;
  border-color: #cfe1eb;
  border-radius: 7px;
  background: #f2f9fc;
  box-shadow: none;
}

.gcla-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--nav);
  box-shadow: 10px 0 28px rgba(9, 25, 36, 0.12) !important;
}

.gcla-sidebar .sidebar-brand {
  min-height: 98px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1b26;
}

.gcla-sidebar .brand-link {
  min-height: 98px;
  gap: 12px;
  padding: 18px 15px;
}

.gcla-sidebar .brand-image {
  width: 50px;
  height: 50px;
  padding: 3px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
}

.gcla-sidebar .brand-text {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.gcla-sidebar .sidebar-wrapper {
  padding: 12px 10px;
}

.gcla-sidebar .nav-item + .nav-item {
  margin-top: 3px;
}

.gcla-sidebar .nav-link {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(238, 247, 252, 0.8);
  font-size: 0.88rem;
  font-weight: 650;
}

.gcla-sidebar .nav-link:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.gcla-sidebar .nav-link.active {
  border-color: rgba(106, 200, 244, 0.2);
  background: #1b6489 !important;
  color: #ffffff !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.gcla-sidebar .nav-link.active .nav-icon {
  color: #d7f2ff;
}

.gcla-sidebar .nav-icon {
  color: #69c3ee;
  font-size: 1rem;
}

.band,
.page-shell {
  width: 100%;
  max-width: 1480px;
  padding: 24px clamp(18px, 2.3vw, 34px);
}

.page-shell.narrow {
  max-width: 920px;
}

.page-heading {
  position: relative;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding: 2px 0 16px 17px;
}

.page-heading::before {
  position: absolute;
  top: 4px;
  bottom: 16px;
  left: 0;
  width: 4px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
}

.page-heading h1,
.enterprise-heading h1 {
  margin: 0;
  color: #172630;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem) !important;
  font-weight: 780;
  line-height: 1.2;
}

.page-heading p:not(.eyebrow) {
  max-width: 850px;
  margin: 6px 0 0;
  line-height: 1.55;
}

.eyebrow,
.chart-kicker {
  margin-bottom: 7px;
  color: #0873aa;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-hero {
  min-height: 210px;
  align-items: center;
  border-color: #cfdee7;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 253, 0.94) 52%, rgba(237, 247, 252, 0.84) 100%),
    url("gcla-hq.jpeg") center/cover;
  box-shadow: var(--shadow-sm);
}

.dashboard-hero h1,
.app-main .dashboard-hero h1 {
  max-width: 780px;
  color: #132531;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 780;
  line-height: 1.15;
}

.dashboard-hero .button {
  flex: 0 0 auto;
}

.form-card,
.table-card,
.detail-card,
.success-panel,
.payment-card,
.insight-card,
.chart-card {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.form-card,
.payment-card,
.detail-card {
  border-top: 4px solid var(--blue);
}

.form-card {
  counter-reset: form-section;
  padding: clamp(22px, 3vw, 34px);
}

.form-card > h1,
.payment-card > h1,
.detail-card > h1 {
  color: #172630;
  font-size: clamp(1.65rem, 2.8vw, 2.4rem) !important;
  font-weight: 780;
  line-height: 1.2;
}

.form-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 18px;
  padding: 24px 0 0;
  border-top-color: #e3e9ee;
  color: #1d3443;
  font-size: 1.18rem !important;
  font-weight: 760;
}

.form-card h2::before {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 50%;
  background: #eaf6fc;
  color: #0873aa;
  content: counter(form-section);
  counter-increment: form-section;
  font-size: 0.78rem;
  font-weight: 800;
}

.form-card h2:first-of-type {
  margin-top: 6px;
  padding-top: 0;
}

.grid {
  column-gap: 18px;
  row-gap: 17px;
}

label,
legend {
  color: #293d4c;
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  min-height: 48px;
  margin-top: 7px;
  border: 1px solid #cbd7df;
  border-radius: 6px;
  background-color: #ffffff;
  color: #182733;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 11px 13px;
  box-shadow: inset 0 1px 2px rgba(24, 39, 51, 0.025);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

input::placeholder,
textarea::placeholder {
  color: #98a5af;
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aabdc9;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #158cc5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 127, 189, 0.13);
  outline: 0;
}

input:disabled,
select:disabled,
textarea:disabled,
input[readonly] {
  border-color: #dfe5e9;
  background: #f2f5f7;
  color: #667581;
}

textarea {
  min-height: 118px;
}

input[type="file"] {
  min-height: 50px;
  padding: 7px;
  background: #f9fbfc;
}

input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 10px;
  border: 0;
  border-radius: 5px;
  background: #e9f5fb;
  color: #075f8c;
  cursor: pointer;
  font-weight: 700;
  padding: 0 12px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--blue);
  box-shadow: none;
}

.checks,
.inspection-checklist {
  gap: 10px;
}

.declaration,
.checklist-item {
  border-color: #d8e2e8;
  border-radius: 7px;
  background: #f8fafb;
}

.declaration:hover,
.checklist-item:hover {
  border-color: #b9d5e4;
  background: #f4fafc;
}

.field-hint,
.muted-small {
  color: #71808d;
  font-size: 0.78rem;
  font-weight: 550;
}

.button {
  min-height: 44px;
  border-radius: 6px;
  padding: 0 17px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: none;
}

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

.button:focus-visible,
.app-header .btn:focus-visible,
.gcla-sidebar .nav-link:focus-visible {
  outline: 3px solid rgba(8, 127, 189, 0.23);
  outline-offset: 2px;
}

.primary {
  border-color: #0876ad;
  background: #087fbd;
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(8, 127, 189, 0.18);
}

.primary:hover {
  border-color: #056b9f;
  background: #056fA6;
  color: #ffffff;
}

.secondary {
  border-color: #bdd4e1;
  background: #ffffff;
  color: #075f8c;
}

.secondary:hover {
  border-color: #8ebcd3;
  background: #edf7fc;
  color: #064d71;
}

.danger {
  background: #b42318;
  box-shadow: 0 7px 15px rgba(180, 35, 24, 0.14);
}

.notice,
.flash {
  border: 1px solid #cfe0e9;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: #f0f8fc;
  color: #345164;
  line-height: 1.55;
  box-shadow: none;
}

.flash {
  max-width: 1480px;
  margin: 14px auto 0;
}

.flash.success {
  border-color: #b9dfce;
  border-left-color: var(--green);
  background: var(--soft-green);
  color: #126044;
}

.flash.warning,
.notice.warning {
  border-color: #ecdba9;
  border-left-color: var(--gold);
  background: var(--soft-gold);
  color: #79550b;
}

.legal-basis {
  background: #f8fafb;
}

.metric-grid {
  gap: 13px;
}

.metric-grid article {
  min-height: 126px;
  padding: 19px 20px;
  border-left-width: 4px;
  box-shadow: var(--shadow-sm);
}

.metric-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.metric-grid span {
  color: #687886;
  font-size: 0.72rem;
  font-weight: 750;
}

.metric-grid strong {
  margin-top: 13px;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 780;
}

.insight-card h2,
.chart-card-heading h2,
.table-card-heading h2 {
  color: #1d3443;
  font-weight: 750;
}

.filters {
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
  box-shadow: var(--shadow-sm);
}

.filters input,
.filters select {
  min-height: 42px;
  margin: 0;
  background-color: #f9fbfc;
  font-size: 0.88rem;
}

.filters .button {
  min-height: 42px;
}

.table-card {
  border-top: 4px solid #087fbd;
  background: #ffffff;
}

.table-card-heading {
  min-height: 72px;
  border-bottom-color: var(--line);
  background: #ffffff;
  padding: 15px 18px;
}

table {
  color: #263946;
  font-size: 0.86rem;
}

th,
td {
  border-bottom-color: #e4eaee;
  padding: 14px 16px;
}

th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: #f1f6f9;
  color: #536775;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: #fbfcfd;
}

tbody tr:hover {
  background: #eef7fb;
}

.status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

.status.submitted,
.status.review {
  border-color: #bedceb;
  background: #ebf6fb;
  color: #075f8c;
}

.status.info {
  border-color: #ecdba9;
  background: #fff6df;
  color: #825b09;
}

.status.approved {
  border-color: #b8ddcb;
  background: #eaf7f1;
  color: #08704f;
}

.status.rejected {
  border-color: #edc3bf;
  background: #fdf0ef;
  color: #a32920;
}

.text-link {
  color: #0873aa;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: #05547c;
}

.definition-grid {
  gap: 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.definition-grid > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 14px 15px;
}

.definition-grid dt {
  margin-bottom: 4px;
  color: #71808c;
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.definition-grid dd {
  margin: 0;
  color: #243846;
  font-size: 0.9rem;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.bill-summary {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  gap: 0;
}

.bill-summary div {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  padding: 15px;
}

.bill-summary dt {
  color: #71808c;
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bill-summary dd {
  margin: 5px 0 0;
  color: #075f8c;
  font-size: 0.96rem;
}

.document-preview-card,
.document-list a {
  border-color: #dbe4e9;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: none;
}

.document-preview-header {
  background: #f8fafb;
}

.document-preview-card iframe {
  background: #eef2f4;
}

.review-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.65fr);
  gap: 18px;
}

.review-card {
  top: 84px;
  border-top: 4px solid var(--green);
}

.review-card hr {
  margin: 24px 0;
  border-color: var(--line);
  opacity: 1;
}

.notification-strip {
  gap: 9px;
}

.notification-card {
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}

.chat-button {
  border-color: #ffffff;
  background: #087fbd;
  box-shadow: 0 12px 28px rgba(8, 127, 189, 0.28);
}

.chat-button:hover {
  background: #056fa6;
  transform: translateY(-2px);
}

.chat-panel {
  border-color: #cfdae1;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(16, 35, 49, 0.24);
}

.chat-header {
  background: #0f3145;
}

.chat-messages {
  background: #f3f6f8;
}

.chat-message {
  border: 1px solid #dce5ea;
  border-radius: 7px;
  background: #ffffff;
}

.chat-message.authority {
  border-color: #badbea;
  background: #eaf6fb;
}

.footer {
  border-top-color: #dce4e9;
  background: #ffffff;
}

.footer-socials {
  min-height: 68px;
  gap: 22px;
  color: #344b5b;
}

.footer-socials a {
  color: #344b5b;
  font-size: 0.82rem;
  font-weight: 650;
}

.footer-socials a:hover {
  color: #0873aa;
}

.social-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.9rem;
}

.social-icon.youtube,
.social-icon.youtube::after {
  background: #d32f2f;
  content: none;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: #b02a75;
}

.social-icon.x {
  background: #17212b;
}

.iso-badge {
  border-color: #d9bf72;
  border-radius: 6px;
  background: #fff8e6;
  color: #72520e;
}

.auth-body {
  background: #eef3f6;
}

.auth-body::before {
  background-position: center;
  opacity: 0.1;
}

.auth-main {
  justify-content: flex-start;
  padding-top: clamp(18px, 4vh, 44px);
}

.auth-identity {
  min-height: 124px;
  border-color: #d4e0e7;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 38px rgba(22, 38, 51, 0.12);
}

.auth-identity-copy strong,
.auth-identity-copy span,
.auth-identity-copy b {
  font-weight: 780;
}

.auth-page {
  margin: clamp(26px, 5vh, 56px) auto 24px;
}

.auth-card {
  overflow: hidden;
  border: 1px solid #d6e1e7;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 50px rgba(22, 38, 51, 0.14);
}

.auth-login-card h1 {
  color: #172630;
  font-weight: 780;
}

.auth-submit {
  margin-top: 5px;
}

.login-choice-grid,
.module-grid,
.module-info-grid {
  gap: 12px;
}

.choice-card,
.module-card,
.module-info-grid article {
  border-color: #d7e1e7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.choice-card {
  min-height: 132px;
  border-left: 4px solid var(--blue);
  padding: 18px;
}

.choice-card-research {
  border-left-color: var(--green);
}

.choice-card:hover,
.choice-card:focus-visible,
.module-card:hover {
  border-color: #a9cbdc;
  background: #f8fcfe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.choice-icon {
  border-radius: 7px;
  background: #e9f5fb;
  color: #0873aa;
}

.choice-card-research .choice-icon {
  background: #eaf7f1;
  color: #08704f;
}

.choice-copy strong {
  color: #1d3443;
  font-weight: 760;
}

.choice-copy > span {
  color: #667683;
  font-size: 0.82rem;
  line-height: 1.45;
}

.choice-action {
  color: #0873aa;
}

.payment-options article {
  border-color: #d8e2e8;
  border-radius: 7px;
  background: #f8fafb;
  box-shadow: none;
}

.payment-options article:hover {
  border-color: #a9cbdc;
  background: #f2f9fc;
}

.tracking-code {
  border: 1px solid #bad8e7;
  border-radius: 6px;
  background: #edf7fc;
  color: #075f8c;
  font-weight: 750;
}

.auth-footer {
  color: #63717c;
  font-weight: 550;
}

@media (max-width: 1100px) {
  .app-context small {
    display: none;
  }

  .app-context strong {
    max-width: 24vw;
  }

  .review-layout,
  .review-layout.inspection-mode {
    grid-template-columns: 1fr;
  }

  .review-card {
    position: static;
  }
}

@media (max-width: 900px) {
  .app-context strong {
    max-width: 34vw;
  }

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

@media (max-width: 620px) {
  .app-header {
    min-height: 58px;
  }

  .app-header .container-fluid {
    min-height: 58px;
    flex-wrap: nowrap;
    padding: 8px 10px;
  }

  .app-context-mark,
  .app-context small,
  .app-header .ms-auto .btn span {
    display: none;
  }

  .app-context {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .app-context strong {
    max-width: none;
    font-size: 0.78rem;
  }

  .app-header .ms-auto {
    flex: 0 0 auto;
    gap: 5px !important;
  }

  .app-header .btn-sm {
    width: 38px;
    min-height: 38px;
    justify-content: center;
    padding: 0;
  }

  .app-header .btn-sm:last-child {
    width: auto;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .band,
  .page-shell {
    padding: 15px 11px;
  }

  .page-heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .page-heading h1,
  .enterprise-heading h1 {
    font-size: 1.4rem !important;
  }

  .dashboard-hero {
    min-height: 0;
    padding: 18px;
  }

  .dashboard-hero h1,
  .app-main .dashboard-hero h1 {
    font-size: 1.55rem;
  }

  .form-card,
  .detail-card,
  .success-panel,
  .payment-card,
  .insight-card,
  .band article {
    padding: 16px 14px;
  }

  .form-card h2 {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 1.05rem !important;
  }

  .three,
  .two,
  .definition-grid,
  .bill-summary {
    grid-template-columns: 1fr;
  }

  .grid {
    row-gap: 14px;
  }

  input,
  select,
  textarea {
    min-height: 47px;
  }

  .filters {
    padding: 9px;
  }

  .metric-grid {
    gap: 8px;
  }

  .metric-grid article {
    min-height: 108px;
    padding: 14px;
  }

  .metric-grid span {
    font-size: 0.65rem;
  }

  .metric-grid strong {
    font-size: 1.85rem;
  }

  .auth-identity {
    min-height: 104px;
  }

  .auth-main > .flash {
    margin-top: 10px;
  }

  .footer-socials {
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .app-context {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* GIMS-inspired portal and stepped-form treatment */
:root {
  --gims-blue: #5a82f2;
  --gims-blue-dark: #4269da;
  --gims-cyan: #29b6de;
  --gims-teal: #18b9a7;
  --gims-coral: #ef806a;
  --gims-sidebar: #f8fbf3;
}

.gcla-sidebar {
  border-right: 1px solid #e5eadf;
  background: var(--gims-sidebar);
  box-shadow: 8px 0 24px rgba(39, 53, 44, 0.05) !important;
}

.gcla-sidebar .sidebar-brand {
  min-height: 112px;
  border-bottom: 1px solid #e6ebdf;
  background: #fbfdf8;
}

.gcla-sidebar .brand-link {
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 14px 12px;
  text-align: center;
}

.gcla-sidebar .brand-image {
  width: 58px;
  height: 58px;
  background: transparent;
}

.gcla-sidebar .brand-text {
  color: #34464d;
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.25;
}

.gcla-sidebar .sidebar-wrapper {
  padding: 16px 11px;
}

.gcla-sidebar .nav-link {
  min-height: 44px;
  color: #526269;
  font-size: 0.8rem;
  font-weight: 600;
}

.gcla-sidebar .nav-link:hover {
  border-color: #dce8de;
  background: #f0f6ee;
  color: #2f454d;
}

.gcla-sidebar .nav-link.active {
  border-color: var(--gims-blue) !important;
  background: var(--gims-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 7px 18px rgba(90, 130, 242, 0.24);
}

.gcla-sidebar .nav-icon {
  color: #60737a;
}

.gcla-sidebar .nav-link.active .nav-icon {
  color: #ffffff;
}

.app-header {
  min-height: 62px;
  border-bottom: 1px solid #e7ebef !important;
  box-shadow: 0 3px 12px rgba(29, 44, 54, 0.045);
}

.app-header .container-fluid {
  min-height: 62px;
}

.app-context-mark {
  background: #eef2ff;
  color: var(--gims-blue-dark);
}

.app-context small {
  color: var(--gims-teal);
}

.app-context strong {
  color: #27353b;
}

.app-main {
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(45deg, rgba(94, 111, 120, 0.025) 0, rgba(94, 111, 120, 0.025) 1px, transparent 1px, transparent 8px),
    #f5f7f8;
}

.page-heading::before {
  background: var(--gims-coral);
}

.page-heading .eyebrow,
.section-title .eyebrow {
  color: var(--gims-teal);
}

body[data-page="register"] .page-heading h1,
body[data-page="edit-application"] .page-heading h1,
body[data-page="research-permit-apply"] .page-heading h1,
body[data-page="edit-research-permit"] .page-heading h1 {
  color: var(--gims-coral);
}

.primary {
  border-color: var(--gims-blue);
  background: var(--gims-blue);
  box-shadow: 0 7px 16px rgba(90, 130, 242, 0.19);
}

.primary:hover {
  border-color: var(--gims-blue-dark);
  background: var(--gims-blue-dark);
}

.secondary {
  border-color: #b8c9ee;
  color: #5272cc;
}

.secondary:hover {
  border-color: #8da9e8;
  background: #f3f6ff;
  color: #3f60bd;
}

.form-card.multi-step-form {
  overflow: hidden;
  border-top: 0;
  padding: 0;
}

.multi-step-form > input[type="hidden"] + .notice,
.multi-step-form > .notice:first-of-type {
  margin: 20px 24px 0;
}

.step-form-nav {
  display: flex;
  overflow-x: auto;
  margin: 0;
  border-bottom: 1px solid #e3e8ec;
  background: #ffffff;
  padding: 24px 24px 20px;
  list-style: none;
  scrollbar-width: thin;
}

.step-form-nav li {
  position: relative;
  min-width: 132px;
  flex: 1 0 132px;
}

.step-form-nav li::after {
  position: absolute;
  z-index: 0;
  top: 16px;
  right: 0;
  left: 0;
  height: 1px;
  background: #dce2e7;
  content: "";
}

.step-form-nav li:first-child::after {
  left: 50%;
}

.step-form-nav li:last-child::after {
  right: 50%;
}

.step-form-nav button {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #78848b;
  cursor: pointer;
  padding: 0 7px;
}

.step-form-nav button:disabled {
  cursor: default;
  opacity: 1;
}

.step-form-nav button > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #7b858a;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px #dce2e7;
}

.step-form-nav button > b {
  display: block;
  max-width: 136px;
  color: inherit;
  font-size: 0.65rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.step-form-nav li.active button,
.step-form-nav li.complete button {
  color: #405ab4;
}

.step-form-nav li.active button > span {
  background: var(--gims-blue);
  box-shadow: 0 0 0 2px #dce5ff;
}

.step-form-nav li.complete button > span {
  background: var(--gims-teal);
}

.step-form-nav li.complete button > span::before {
  content: "\2713";
}

.step-form-nav li.complete button > span {
  font-size: 0;
}

.step-form-nav li.complete button > span::before {
  font-size: 0.8rem;
}

.step-form-panels {
  background: #ffffff;
}

.step-form-panel {
  min-height: 400px;
  padding: 28px clamp(22px, 3vw, 38px) 24px;
}

.step-form-panel[hidden] {
  display: none;
}

.step-form-panel > h2 {
  margin: 0 0 24px;
  padding: 0 0 13px;
  border-top: 0;
  border-bottom: 1px solid #e6eaed;
  color: var(--gims-coral);
  font-size: 1.2rem !important;
  font-weight: 720;
}

.step-form-panel > h2::before {
  display: none;
}

.step-form-panel .grid + .grid,
.step-form-panel .grid + label,
.step-form-panel > label + label,
.step-form-panel > label + .grid {
  margin-top: 16px;
}

.step-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 28px;
  border-top: 1px solid #e6eaed;
  padding-top: 18px;
}

.draft-save-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #b9ddeb;
  border-radius: 6px;
  background: #eef9fc;
  color: #075b77;
  font-size: .86rem;
  font-weight: 700;
}

.draft-save-status::before {
  content: "\f26b";
  font-family: "bootstrap-icons";
}

.inspection-checklist h4 {
  margin: 24px 0 10px;
  padding: 10px 12px;
  border-left: 4px solid #0784b5;
  background: #edf7fb;
  color: #09394b;
  font-size: 1rem;
}

.checklist-weight {
  display: inline-block;
  margin-left: 8px;
  color: #087aa5;
  font-size: .78rem;
  font-weight: 800;
}

.checklist-item {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #d4e2e9;
  border-radius: 6px;
  background: #fff;
}

.checklist-item legend {
  width: auto;
  margin: 0 0 8px;
  padding: 0 4px;
  color: #152c38;
  font-size: .92rem;
  font-weight: 800;
}

.step-form-actions .button {
  gap: 7px;
  min-width: 130px;
}

.step-form-panel input[type="file"] {
  min-height: 92px;
  border: 2px dashed #7895df;
  background: #fbfcff;
  padding: 24px 10px 10px;
  text-align: center;
}

.step-form-panel input[type="file"]::file-selector-button {
  background: #edf2ff;
  color: #4a68c2;
}

.flash.success {
  border-color: #76b878;
  border-left-color: #4aa34f;
  background: #53aa56;
  color: #ffffff;
}

.status.submitted,
.status.review {
  border-color: #a8d9ed;
  background: #eefaff;
  color: #2b9bc3;
}

.status.approved {
  border-color: #a7e1d7;
  background: #ebfbf8;
  color: #17a994;
}

.status.rejected {
  border-color: #f2c4b9;
  background: #fff2ee;
  color: #df6e57;
}

@media (max-width: 900px) {
  .gcla-sidebar .brand-text {
    font-size: 0.68rem;
  }

  .step-form-nav {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 620px) {
  .step-form-nav {
    padding-top: 17px;
    padding-bottom: 14px;
  }

  .step-form-nav li {
    min-width: 104px;
    flex-basis: 104px;
  }

  .step-form-nav button > b {
    max-width: 100px;
    font-size: 0.58rem;
  }

  .step-form-panel {
    min-height: 0;
    padding: 20px 14px 16px;
  }

  .step-form-panel > h2 {
    margin-bottom: 18px;
    font-size: 1.08rem !important;
  }

  .step-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step-form-actions .button {
    width: 100%;
  }
}
