:root {
  --ink: #151917;
  --coal: #0f1714;
  --muted: #5f6964;
  --paper: #f7f6f1;
  --surface: #ffffff;
  --surface-soft: #eef4f1;
  --surface-warm: #fbf7ee;
  --line: #d9e2dc;
  --line-strong: #bfcec6;
  --teal: #087f73;
  --teal-dark: #075b54;
  --blue: #315d8a;
  --amber: #f0b646;
  --coral: #d85d43;
  --green: #2b8758;
  --shadow-sm: 0 8px 22px rgba(15, 23, 20, 0.08);
  --shadow-md: 0 18px 46px rgba(15, 23, 20, 0.12);
  --shadow-lg: 0 30px 70px rgba(15, 23, 20, 0.2);
  --shadow-enterprise: 0 22px 60px rgba(15, 23, 20, 0.11);
  --shadow-focus: 0 0 0 4px rgba(8, 127, 115, 0.16);
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8f7f1 0%, #eef4f1 46%, #f7f6f1 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

body.drawer-open {
  overflow: hidden;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(8, 127, 115, 0.22);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.server-mode-notice {
  position: sticky;
  top: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(239, 177, 51, 0.45);
  background: #fff7df;
  color: #382c06;
  font-size: 0.92rem;
  box-shadow: 0 8px 18px rgba(138, 91, 0, 0.08);
}

.server-mode-notice strong {
  font-weight: 950;
}

.server-mode-notice span {
  color: #604d13;
}

.server-mode-notice a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: var(--nav-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(194, 210, 202, 0.78);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.86) 46%, rgba(245, 248, 251, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 246, 241, 0.78));
  backdrop-filter: blur(22px) saturate(1.22);
  isolation: isolate;
  box-shadow:
    0 18px 44px rgba(15, 23, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 127, 115, 0.35), rgba(49, 93, 138, 0.24), transparent);
  pointer-events: none;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 52px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(8, 127, 115, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 243, 0.72));
  color: var(--ink);
  box-shadow:
    0 12px 30px rgba(8, 127, 115, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(8, 127, 115, 0.28);
  box-shadow: 0 16px 36px rgba(8, 127, 115, 0.13);
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 10px 24px rgba(8, 127, 115, 0.18),
    0 0 0 3px rgba(8, 127, 115, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  color: #101714;
  font-size: 1.04rem;
  font-weight: 950;
}

.brand small {
  margin-top: 2px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(217, 226, 220, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 252, 250, 0.78));
  box-shadow:
    0 12px 30px rgba(15, 23, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-nav a,
.portal-menu-trigger {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2c3632;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.portal-menu-trigger:hover,
.portal-menu-trigger.is-current,
.portal-menu.is-open .portal-menu-trigger {
  background: var(--surface-soft);
  color: var(--teal-dark);
}

.portal-menu {
  position: relative;
}

.portal-menu-trigger {
  gap: 7px;
}

.portal-menu-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.portal-menu.is-open .portal-menu-trigger svg {
  transform: rotate(180deg);
}

.portal-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(199, 214, 205, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 244, 0.96)),
    #ffffff;
  box-shadow: 0 22px 52px rgba(10, 19, 17, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.portal-menu-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(199, 214, 205, 0.9);
  border-left: 1px solid rgba(199, 214, 205, 0.9);
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.portal-menu.is-open .portal-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 0s;
}

.site-nav .portal-menu-panel a {
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
}

.site-nav .portal-menu-panel a:hover,
.site-nav .portal-menu-panel a[aria-current="page"] {
  border-color: rgba(13, 127, 114, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(8, 127, 115, 0.12);
}

.portal-menu-panel a > svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal);
}

.portal-menu-panel a span {
  display: grid;
  gap: 2px;
}

.portal-menu-panel a strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.portal-menu-panel a small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.icon-button,
.filter-chip,
.chatbot-chip {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.icon-button:hover,
.filter-chip:hover,
.chatbot-chip:hover {
  transform: translateY(-1px);
}

.btn svg,
.icon-button svg,
.floating-cart svg,
.chatbot-toggle svg,
.portal-icon svg {
  width: 18px;
  height: 18px;
}

.btn {
  padding: 11px 16px;
}

.btn-compact {
  min-height: 42px;
  padding: 9px 13px;
}

.btn-primary {
  background:
    linear-gradient(180deg, #0c9487, var(--teal));
  color: #ffffff;
  border-color: var(--teal);
  box-shadow:
    0 12px 26px rgba(8, 127, 115, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background:
    linear-gradient(180deg, #087f73, var(--teal-dark));
  border-color: var(--teal-dark);
  box-shadow: 0 16px 30px rgba(8, 127, 115, 0.24);
}

.btn-secondary {
  background:
    linear-gradient(180deg, #ffffff, #f8fbf9);
  color: var(--teal-dark);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.btn-secondary:hover {
  border-color: rgba(8, 127, 115, 0.34);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #ffffff;
}

.btn-full {
  width: 100%;
}

.icon-button {
  width: 44px;
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 52px) 32px 54px;
  background-image:
    linear-gradient(90deg, rgba(9, 14, 13, 0.96), rgba(9, 14, 13, 0.78), rgba(9, 14, 13, 0.42)),
    linear-gradient(0deg, rgba(9, 14, 13, 0.88), rgba(9, 14, 13, 0.12) 44%),
    url("assets/hero-operations.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent 84%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.78fr);
  gap: 38px;
  align-items: center;
}

.hero-copy-panel {
  animation: hero-rise 620ms ease both;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .section-kicker {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 215, 109, 0.38);
  border-radius: 8px;
  background: rgba(255, 215, 109, 0.12);
  color: #ffe39a;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: 4.55rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 730px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  width: min(790px, 100%);
  margin: 48px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  min-height: 108px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats dt {
  margin: 0;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  animation: hero-console-in 760ms ease 120ms both;
}

.suite-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(9, 16, 14, 0.72);
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.15);
}

.suite-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 215, 109, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(8, 127, 115, 0.28), transparent 30%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.suite-showcase-top,
.suite-brand-card,
.suite-module-grid,
.suite-trust-list {
  position: relative;
  z-index: 1;
}

.suite-showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.suite-showcase-top span,
.suite-showcase-top strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 950;
}

.suite-showcase-top span {
  color: #b8f1e3;
}

.suite-showcase-top svg {
  width: 17px;
  height: 17px;
  color: #ffd76d;
}

.suite-brand-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.suite-brand-card img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.suite-brand-card small,
.suite-module-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
}

.suite-brand-card strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.04rem;
  line-height: 1.32;
}

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

.suite-module-grid div {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.suite-module-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 109, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.suite-module-grid svg {
  width: 24px;
  height: 24px;
  color: #ffd76d;
}

.suite-module-grid span {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
}

.suite-trust-list {
  display: grid;
  gap: 8px;
}

.suite-trust-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 900;
}

.suite-trust-list svg {
  width: 18px;
  height: 18px;
  color: #54f0b2;
  flex: 0 0 auto;
}

.ops-console {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(9, 16, 14, 0.7);
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.15);
}

.ops-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 215, 109, 0.1), transparent);
  transform: translateX(-110%);
  animation: console-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.ops-console-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ops-console-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8f1e3;
  font-size: 0.82rem;
  font-weight: 950;
}

.ops-console-top span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #54f0b2;
  box-shadow: 0 0 0 0 rgba(84, 240, 178, 0.55);
  animation: live-pulse 1.8s ease-out infinite;
}

.ops-console-top strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.ops-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.ops-metrics div {
  min-height: 106px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ops-metrics small {
  display: block;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.ops-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 1.86rem;
  line-height: 1;
  font-weight: 950;
}

.ops-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.ops-flow span {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
}

.ops-flow i {
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 215, 109, 0.2), rgba(255, 215, 109, 0.92));
  animation: flow-line 2.6s ease-in-out infinite;
}

.ops-terminal {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.ops-terminal div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ops-terminal span {
  color: #ffd76d;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ops-terminal strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-strip {
  grid-column: 1 / -1;
  width: min(970px, 100%);
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-strip span {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-strip svg {
  width: 18px;
  height: 18px;
  color: #ffd76d;
  flex: 0 0 auto;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-console-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes console-scan {
  0%, 38% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 240, 178, 0.5);
  }
  70%, 100% {
    box-shadow: 0 0 0 10px rgba(84, 240, 178, 0);
  }
}

@keyframes flow-line {
  0%, 100% {
    opacity: 0.42;
    transform: scaleX(0.72);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

.reveal-ready {
  opacity: 0.92;
  transform: translateY(4px);
  transition:
    opacity 120ms ease var(--reveal-delay, 0ms),
    transform 120ms ease var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  position: relative;
  padding: 88px 32px;
}

.section-tight {
  padding-top: 72px;
}

.section-alt {
  background: var(--surface-soft);
}

.section-heading {
  width: min(800px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h1,
.section-heading h2,
.contact-layout h2,
.drawer-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.42rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.contact-layout > div > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid,
.product-grid,
.package-grid,
.download-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

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

.feature-card,
.product-card,
.package-card,
.trust-card,
.process-step,
.contact-card,
.download-card,
.portal-login,
.portal-panel,
.contact-panel {
  border: 1px solid rgba(191, 206, 198, 0.82);
  border-radius: 8px;
  background: var(--surface);
  box-shadow:
    0 14px 34px rgba(15, 23, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.feature-card {
  position: relative;
  min-height: 236px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.98));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card::before,
.product-card::before,
.package-card::before,
.trust-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(8, 127, 115, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(49, 93, 138, 0.08), transparent 46%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 115, 0.26);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before,
.product-card:hover::before,
.package-card:hover::before,
.trust-card:hover::before,
.process-step:hover::before {
  opacity: 1;
}

.feature-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(49, 93, 138, 0.22);
  font-size: 1.55rem;
  font-weight: 950;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.feature-card h3,
.workflow-step h3,
.product-card h3,
.package-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.feature-card p,
.workflow-step p,
.product-card p,
.package-card p,
.download-card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-commerce {
  background:
    linear-gradient(180deg, var(--surface-soft), #f8faf7 48%, var(--paper));
}

.commerce-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 22px;
  align-items: stretch;
}

.workflow-panel {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(8, 127, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 20, 0.05);
}

.workflow-step span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f2ec;
  color: var(--teal-dark);
  font-weight: 950;
}

.workflow-step h3 {
  margin-top: 0;
}

.commerce-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 20, 0.86), rgba(15, 23, 20, 0.7)),
    #101816;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.commerce-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 127, 115, 0.26), transparent 48%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 48%);
  z-index: 1;
}

.commerce-visual img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 54%;
  object-fit: cover;
  opacity: 0.74;
}

.dashboard-topline,
.dashboard-metrics,
.dashboard-list {
  position: relative;
  z-index: 2;
}

.dashboard-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-topline span {
  color: #ffd76d;
  font-weight: 950;
}

.dashboard-topline strong {
  color: rgba(255, 255, 255, 0.88);
}

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

.dashboard-metrics div {
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-metrics small,
.dashboard-list span {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-metrics strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.72rem;
}

.dashboard-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.dashboard-list span {
  height: 16px;
  width: 82%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-list span:nth-child(2) {
  width: 68%;
}

.dashboard-list span:nth-child(3) {
  width: 74%;
}

.dashboard-list span:nth-child(4) {
  width: 52%;
  background: var(--amber);
}

.filter-bar {
  width: min(1180px, 100%);
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(217, 226, 220, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 248, 0.8));
  box-shadow:
    0 12px 30px rgba(15, 23, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.catalog-summary {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-summary div {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(191, 206, 198, 0.76);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.9));
  box-shadow: 0 12px 28px rgba(15, 23, 20, 0.06);
}

.catalog-summary svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.catalog-summary strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.catalog-summary span {
  color: var(--muted);
  font-size: 0.88rem;
}

.filter-chip {
  min-height: 40px;
  padding: 9px 13px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbf9);
  color: #34403b;
  border-color: rgba(217, 226, 220, 0.7);
}

.filter-chip.is-active {
  background:
    linear-gradient(180deg, #17221f, var(--ink));
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 10px 20px rgba(15, 23, 20, 0.16);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 93, 138, 0.24);
  box-shadow: var(--shadow-enterprise);
}

.product-media-wrap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #eaf3ef, #f6fbff);
}

.product-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(9, 14, 13, 0.52));
  pointer-events: none;
}

.product-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-media {
  transform: scale(1.035);
}

.product-category {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.product-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-eyebrow span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(8, 127, 115, 0.12);
  border-radius: 8px;
  background: rgba(238, 246, 242, 0.86);
  color: #24403a;
  font-size: 0.74rem;
  font-weight: 950;
}

.product-eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.product-card h3 {
  margin-top: 0;
  font-size: 1.16rem;
}

.product-outcome {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  padding: 14px;
  border: 1px solid rgba(49, 93, 138, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 250, 255, 0.96), rgba(239, 246, 243, 0.88));
}

.product-outcome small {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-outcome strong {
  color: #1e2824;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.product-modules span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(217, 226, 220, 0.86);
  border-radius: 8px;
  background: #ffffff;
  color: #46524d;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 10px;
}

.mini-list,
.package-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #3d4642;
  font-size: 0.9rem;
}

.mini-list li,
.package-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.mini-list li::before,
.package-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 18%, var(--amber) 20% 100%);
  box-shadow: 0 0 0 3px rgba(240, 182, 70, 0.16);
}

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

.package-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdfb);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 127, 115, 0.26);
  box-shadow: var(--shadow-enterprise);
}

.package-card-accent {
  border-color: rgba(8, 127, 115, 0.34);
  background:
    linear-gradient(180deg, rgba(8, 127, 115, 0.1), rgba(255, 255, 255, 0) 50%),
    #ffffff;
  box-shadow: var(--shadow-enterprise);
}

.package-label {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.trust-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
}

.trust-grid,
.process-strip {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

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

.trust-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdfc);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-card:hover,
.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 115, 0.24);
  box-shadow: var(--shadow-enterprise);
}

.trust-card svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.trust-card h3,
.process-step strong {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.22;
}

.trust-card p,
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.process-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.process-step {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 20px;
  background:
    linear-gradient(180deg, #fbfdfc, #ffffff);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e4f2ed;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 950;
}

.process-step strong {
  display: block;
}

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

.portal-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.portal-login {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  gap: 16px;
}

.portal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft));
  color: var(--teal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(8, 127, 115, 0.08);
}

.portal-login h3,
.portal-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.portal-login p,
.portal-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-panel {
  padding: 18px;
}

.portal-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.portal-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.portal-status {
  color: var(--coral);
}

.portal-teaser-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(238, 244, 241, 0.96), rgba(255, 255, 255, 0.92) 48%, rgba(239, 246, 252, 0.9));
}

.portal-teaser-section::before,
.portal-hero::before,
.client-dashboard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 127, 115, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 93, 138, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.portal-teaser,
.portal-hero,
.portal-dashboard-head,
.portal-metric-strip,
.client-download-panel {
  position: relative;
}

.portal-teaser {
  width: min(980px, 100%);
  min-height: 178px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(191, 206, 198, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.portal-teaser h3,
.portal-dashboard-head h1,
.portal-hero h1 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}

.portal-teaser p,
.portal-dashboard-head p,
.portal-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.portal-secure-tile {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 127, 115, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #e9f5f1);
  color: var(--teal);
  box-shadow: 0 18px 36px rgba(8, 127, 115, 0.16);
  overflow: hidden;
}

.portal-secure-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 34%, rgba(8, 127, 115, 0.12) 35% 39%, transparent 40% 100%);
  animation: portal-scan 2.7s ease-in-out infinite;
}

.portal-secure-tile svg {
  width: 30px;
  height: 30px;
  z-index: 1;
}

.portal-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 38px;
  padding: calc(var(--nav-height) + 62px) 32px 64px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f7f6f1 0%, #eef4f1 42%, #f6fbff 100%);
}

.portal-hero-copy {
  width: min(690px, 100%);
  justify-self: end;
  animation: portal-copy-in 560ms ease both;
}

.portal-hero h1 {
  max-width: 720px;
  font-size: 4rem;
}

.portal-hero-copy > p {
  max-width: 640px;
  font-size: 1.08rem;
}

.portal-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.portal-hero-badges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(191, 206, 198, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.portal-hero-badges svg {
  width: 17px;
  height: 17px;
}

.portal-login-elevated {
  position: relative;
  justify-self: start;
  margin: 0;
  border-color: rgba(191, 206, 198, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 252, 0.88));
  box-shadow:
    0 34px 82px rgba(15, 23, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  animation: portal-rise 520ms ease both;
}

.portal-login-elevated::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--amber));
}

.client-portal-hero {
  background:
    linear-gradient(135deg, rgba(248, 250, 247, 0.98) 0%, rgba(237, 247, 243, 0.98) 48%, rgba(247, 251, 255, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(8, 127, 115, 0.05) 0 1px, transparent 1px 96px);
}

.client-portal-hero::after {
  content: "";
  position: absolute;
  right: min(42vw, 620px);
  bottom: 7%;
  width: min(280px, 26vw);
  height: min(210px, 20vw);
  border: 1px solid rgba(8, 127, 115, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(8, 127, 115, 0.18) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(49, 93, 138, 0.12) 28px 30px, transparent 30px 42px);
  box-shadow: 22px 22px 0 rgba(255, 255, 255, 0.42), 0 24px 52px rgba(8, 127, 115, 0.1);
  opacity: 0.58;
  pointer-events: none;
}

.client-login-card {
  border-color: rgba(8, 127, 115, 0.16);
  box-shadow:
    0 30px 70px rgba(8, 127, 115, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.client-login-card .portal-icon {
  background: #e7f5f0;
}

.staff-login-hero {
  background:
    linear-gradient(108deg, rgba(19, 48, 39, 0.96) 0%, rgba(23, 82, 68, 0.94) 62%, rgba(247, 246, 241, 0.96) 62.2%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
}

.staff-login-hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 8% auto;
  width: min(520px, 46vw);
  height: min(520px, 46vw);
  border: 1px solid rgba(8, 127, 115, 0.08);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(8, 127, 115, 0.08) 0 1px, transparent 1px 34px);
  opacity: 0.66;
  pointer-events: none;
}

.staff-login-hero .portal-hero-copy,
.staff-login-hero .portal-login {
  z-index: 1;
}

.staff-login-hero .section-kicker {
  color: #f7d271;
}

.staff-login-hero .portal-hero-copy {
  width: min(610px, 100%);
}

.staff-login-hero .portal-hero-copy h1,
.staff-login-hero .portal-hero-copy > p {
  color: #ffffff;
}

.staff-login-hero .portal-hero-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.staff-login-hero .portal-hero-badges span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.staff-login-hero .portal-hero-badges svg {
  color: #f7d271;
}

.staff-login-card {
  border-color: rgba(43, 135, 88, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 248, 0.92));
  box-shadow:
    0 34px 78px rgba(10, 35, 28, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.staff-login-card::before {
  background: linear-gradient(90deg, var(--green), var(--teal), #78b892);
}

.staff-login-card .portal-icon {
  background: #e8f4ed;
  color: var(--green);
}

.staff-route-preview {
  width: min(540px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.staff-route-preview small,
.admin-command-preview span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.staff-route-preview strong,
.admin-command-preview strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
}

.staff-route-preview strong {
  color: #ffffff;
}

.staff-route-preview span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.staff-route-preview > svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 8px;
  background: #e8f4ed;
  color: var(--green);
  animation: route-float 3.2s ease-in-out infinite;
}

.admin-premium-hero {
  background:
    linear-gradient(135deg, rgba(11, 17, 15, 0.96), rgba(20, 31, 28, 0.94) 48%, rgba(10, 18, 28, 0.94)),
    url("assets/hero-business.jpg");
  background-position: center;
  background-size: cover;
}

.admin-premium-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 86%);
}

.admin-premium-hero .section-kicker {
  color: #ffd76d;
}

.admin-premium-hero .portal-hero-copy h1,
.admin-premium-hero .portal-hero-copy p {
  color: #ffffff;
}

.admin-premium-hero .portal-hero-copy > p {
  color: rgba(255, 255, 255, 0.76);
}

.admin-premium-hero .portal-hero-badges span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.admin-premium-hero .portal-hero-badges svg {
  color: #ffd76d;
}

.admin-command-preview {
  width: min(610px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.admin-command-preview div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.admin-command-preview div:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 109, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.admin-command-preview span {
  color: #ffd76d;
}

.admin-command-preview strong {
  color: #ffffff;
}

.admin-login-card {
  border-color: rgba(255, 215, 109, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 246, 241, 0.9));
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.admin-login-card::before {
  background: linear-gradient(90deg, #ffd76d, var(--teal), var(--blue));
}

.admin-login-card .portal-icon {
  background: #fff5d5;
  color: #8c6212;
}

@keyframes portal-copy-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes route-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.client-dashboard-section {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  padding-top: calc(var(--nav-height) + 44px);
  overflow: hidden;
  background:
    linear-gradient(135deg, #f7f6f1, #edf5f2 48%, #f6fbff);
}

.portal-dashboard-head {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.portal-dashboard-head h1 {
  font-size: 2.72rem;
}

.portal-metric-strip {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-metric-strip div {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(191, 206, 198, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.portal-metric-strip svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.portal-metric-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-metric-strip strong {
  font-size: 1.08rem;
}

.client-download-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.download-card {
  min-height: 132px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 115, 0.28);
  box-shadow: var(--shadow-md);
}

.download-card strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
  word-break: break-word;
}

.download-card a {
  justify-content: flex-start;
}

.staff-section {
  background: #f8faf7;
}

@keyframes portal-scan {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes portal-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.staff-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.staff-login {
  margin: 0 auto;
}

.staff-login.is-signing-in {
  position: relative;
  overflow: hidden;
}

.staff-login.is-signing-in label,
.staff-login.is-signing-in button {
  opacity: 0.38;
}

.staff-signin-animation {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 115, 0.24);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.08);
  color: var(--teal-dark);
  font-weight: 900;
}

.staff-signin-animation[hidden] {
  display: none;
}

.staff-signin-animation span {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(8, 127, 115, 0.2);
  border-top-color: var(--teal);
  border-radius: 999px;
  animation: staff-spin 0.8s linear infinite;
}

.staff-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

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

.staff-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.staff-summary-item {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.staff-summary-item strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.staff-summary-item span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.staff-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(130px, 0.75fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.staff-enquiry-list {
  display: grid;
  gap: 12px;
}

.staff-enquiry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.staff-enquiry-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.staff-enquiry-topline time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.staff-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
}

.staff-badge-new {
  background: var(--blue);
}

.staff-badge-done {
  background: var(--teal);
}

.staff-badge-false {
  background: var(--coral);
}

.staff-badge-completed {
  background: var(--green);
}

.staff-enquiry-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.staff-enquiry-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.staff-enquiry-details div {
  min-width: 0;
}

.staff-enquiry-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-enquiry-details dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 0.94rem;
  word-break: break-word;
}

.staff-enquiry-message,
.staff-enquiry-items,
.staff-enquiry-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.staff-enquiry-items strong,
.staff-enquiry-note strong {
  color: var(--ink);
}

.staff-status-form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.admin-section {
  background: #f8faf7;
}

.admin-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.admin-dashboard[hidden],
.staff-dashboard[hidden] {
  display: none;
}

.admin-dashboard,
.staff-dashboard {
  display: grid;
  gap: 18px;
}

.admin-topbar,
.staff-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.admin-topbar h2,
.staff-dashboard-hero h2,
.admin-panel h2,
.dashboard-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-topbar p,
.staff-dashboard-hero p,
.admin-panel-header p,
.dashboard-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.admin-stats,
.dashboard-card-grid,
.report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-stat,
.dashboard-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.report-stat strong {
  font-size: 1.35rem;
}

.admin-stat {
  display: grid;
  align-content: center;
  gap: 4px;
}

.admin-stat strong {
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}

.admin-stat span {
  color: var(--muted);
  font-weight: 900;
}

.director-command {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr) minmax(300px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.director-command-main,
.director-watchlist,
.director-revenue {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.director-command-main {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbf9 100%);
}

.director-command h2,
.director-command h3 {
  margin: 0;
}

.director-command-main p:not(.section-kicker),
.director-watchlist p,
.director-revenue p {
  margin: 8px 0 0;
  color: var(--muted);
}

.director-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

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

.director-watch-item {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.director-watch-item strong {
  font-size: 1.25rem;
}

.director-watch-item span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.director-watch-item.is-attention {
  border-color: rgba(241, 184, 58, 0.42);
  background: #fffaf0;
}

.director-watch-item.is-danger {
  border-color: rgba(228, 76, 48, 0.4);
  background: #fff5f2;
}

.director-watch-item.is-calm {
  border-color: rgba(8, 127, 115, 0.16);
  background: #f4fbf9;
}

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

.director-revenue-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.director-revenue-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.director-revenue-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.collection-methods {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.collection-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.collection-method span,
.collection-method strong {
  font-size: 0.88rem;
  font-weight: 950;
}

.collection-method span {
  color: var(--muted);
}

.collection-method i {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) var(--bar-width), #edf4f1 var(--bar-width));
}

.admin-dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.admin-dashboard-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.admin-dashboard-nav a:hover,
.admin-dashboard-nav a:focus-visible {
  background: rgba(8, 127, 115, 0.1);
  color: var(--teal-dark);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.admin-panel,
.dashboard-card {
  display: grid;
  gap: 16px;
}

.admin-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-form,
.admin-list,
.staff-module-list {
  display: grid;
  gap: 12px;
}

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

.admin-fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-fieldset > span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

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

.permission-check,
.admin-toggle {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.permission-check input,
.admin-toggle input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

.permission-check span,
.admin-toggle span {
  font-size: 0.88rem;
}

.permission-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.permission-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(8, 127, 115, 0.22);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.08);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.permission-pill.muted {
  border-color: var(--line);
  background: #ffffff;
  color: var(--muted);
}

.audit-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.audit-detail-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(8, 127, 115, 0.16);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.07);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.audit-details {
  margin-top: 10px;
}

.audit-details summary {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 950;
  cursor: pointer;
}

.admin-form-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-item-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.admin-item-title h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-item-title span,
.status-good,
.status-muted,
.status-warning {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 950;
}

.admin-item-title span,
.status-muted {
  background: var(--surface-soft);
  color: var(--muted);
}

.status-good {
  background: rgba(43, 135, 88, 0.12);
  color: var(--green);
}

.status-warning {
  background: rgba(239, 177, 51, 0.16);
  color: #8a5b00;
}

.admin-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.icon-button.danger {
  color: var(--coral);
}

.custom-field-list {
  display: grid;
  gap: 8px;
}

.custom-field-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 8px;
  align-items: center;
}

.evidence-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.evidence-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 127, 115, 0.18);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.08);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: none;
}

.evidence-link svg {
  width: 16px;
  height: 16px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.45fr) minmax(140px, 0.35fr);
  gap: 12px;
}

.report-filters {
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.7fr) minmax(140px, 0.5fr) minmax(150px, 0.55fr) minmax(130px, 0.4fr) minmax(130px, 0.4fr);
}

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

.manual-work-report-form {
  display: none !important;
}

.report-export-actions {
  align-items: center;
}

.report-flow-note {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 115, 0.16);
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.07);
}

.report-flow-note strong {
  color: var(--teal-dark);
}

.report-flow-note p {
  margin: 0;
  color: var(--muted);
}

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

.compact-toggle {
  width: fit-content;
}

.work-report-list {
  margin-top: 4px;
}

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

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

.location-proof-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-proof-head > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.location-proof-head strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.location-proof-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.proof-check-list {
  margin-top: 0;
}

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

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

.report-review-actions {
  align-items: center;
}

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

.staff-meta div {
  min-width: 0;
}

.staff-meta dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-meta dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  word-break: break-word;
}

.dashboard-status[data-tone="success"],
.portal-status[data-tone="success"] {
  color: var(--green);
}

.dashboard-status[data-tone="info"],
.portal-status[data-tone="info"] {
  color: var(--teal-dark);
}

.dashboard-meta {
  grid-template-columns: 1fr;
}

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

.staff-field-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.staff-field-actions a {
  min-height: 84px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(8, 127, 115, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.staff-field-actions a[hidden] {
  display: none !important;
}

.staff-field-actions i,
.staff-field-actions a > svg {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  padding: 7px;
  border-radius: 8px;
  background: rgba(8, 127, 115, 0.1);
  color: var(--teal-dark);
}

.staff-field-actions span {
  align-self: end;
  font-weight: 950;
}

.staff-field-actions small {
  align-self: start;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.staff-module {
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.staff-module svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.staff-module strong,
.staff-module small {
  display: block;
}

.staff-module small {
  margin-top: 3px;
  color: var(--muted);
}

.staff-module.is-disabled {
  cursor: default;
  opacity: 0.68;
}

.phase-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.staff-task-desk,
.staff-request-desk {
  grid-column: 1 / -1;
}

.staff-task-filters {
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(130px, 0.55fr));
}

.staff-task-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.staff-task-list {
  display: grid;
  gap: 14px;
}

.staff-task-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.staff-task-card.is-overdue {
  border-color: rgba(239, 177, 51, 0.46);
  box-shadow: 0 16px 35px rgba(138, 91, 0, 0.08);
}

.staff-task-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.staff-task-card-header p,
.staff-task-note {
  margin: 6px 0 0;
  color: var(--muted);
}

.staff-task-due {
  min-width: 118px;
  display: grid;
  gap: 3px;
  justify-items: end;
  color: var(--teal-dark);
  font-weight: 950;
  text-align: right;
}

.staff-task-due small {
  color: var(--muted);
  font-size: 0.78rem;
}

.staff-task-due.is-overdue {
  color: #8a5b00;
}

.staff-task-update-form {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.self-work-form {
  gap: 14px;
}

.self-work-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.self-work-section {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.self-work-section legend {
  padding: 0 10px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.self-work-proof textarea {
  min-height: 72px;
}

.self-work-optional {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.self-work-optional summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 950;
  cursor: pointer;
}

.self-work-optional[open] summary {
  margin-bottom: 10px;
}

.photo-location-summary {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.photo-location-summary[data-tone="success"] {
  color: var(--green);
}

.staff-task-update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  align-items: end;
}

.staff-task-location-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.staff-task-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.staff-task-submit-row small {
  flex: 1 1 260px;
  color: var(--muted);
  font-weight: 800;
}

.billing-access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 115, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 247, 244, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-sm);
}

.billing-access-card > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.billing-access-kicker {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.billing-access-card strong {
  color: var(--ink);
  line-height: 1.25;
}

.billing-access-card small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

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

.staff-request-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.staff-mobile-nav {
  display: none;
}

.section-contact {
  background:
    linear-gradient(90deg, rgba(8, 127, 115, 0.18), transparent 44%),
    var(--coal);
  color: #ffffff;
}

.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.contact-layout h2 {
  color: #ffffff;
}

.contact-layout > div > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.contact-card {
  min-height: 126px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 109, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card svg {
  width: 24px;
  height: 24px;
  color: #ffd76d;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-panel {
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.contact-panel h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.15rem;
}

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

.flow-list li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 215, 109, 0.16);
  color: #ffd76d;
  font-size: 0.78rem;
  font-weight: 950;
}

.flow-list strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
}

.contact-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 127, 115, 0.18);
  border-color: var(--teal);
}

.spam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #ffd76d;
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(180deg, #ffffff, #f7faf8);
  border-top: 1px solid rgba(191, 206, 198, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-footer p,
.site-footer small {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.floating-cart,
.chatbot-toggle,
.chatbot-window {
  position: fixed;
  right: 20px;
  z-index: 25;
  box-shadow: var(--shadow-md);
}

.floating-cart {
  bottom: 20px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #18231f, var(--ink));
  color: #ffffff;
  font-weight: 950;
  box-shadow:
    0 18px 40px rgba(9, 14, 13, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body:not(.show-mobile-float) .floating-cart,
body:not(.show-mobile-float) .chatbot-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

body.show-mobile-float .floating-cart,
body.show-mobile-float .chatbot-toggle {
  opacity: 1;
  transform: translateY(0);
}

.floating-cart,
.chatbot-toggle {
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-cart strong {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.8rem;
}

.chatbot-toggle {
  bottom: 86px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #319966, var(--green));
  color: #ffffff;
  font-weight: 950;
  box-shadow:
    0 18px 40px rgba(43, 135, 88, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.chatbot-window {
  bottom: 150px;
  width: min(430px, calc(100vw - 40px));
  max-height: min(650px, calc(100svh - 180px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(191, 206, 198, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdfc);
  z-index: 35;
  box-shadow:
    0 34px 84px rgba(15, 23, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chatbot-window[hidden] {
  display: none;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #eef6f2, #ffffff);
}

.chatbot-header h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 127, 115, 0.28) transparent;
}

.chatbot-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  box-shadow: 0 10px 22px rgba(15, 23, 20, 0.06);
}

.chatbot-message-bot {
  align-self: flex-start;
  background:
    linear-gradient(180deg, #eef6f2, #f7fbf9);
  color: var(--ink);
}

.chatbot-message-user {
  align-self: flex-end;
  background:
    linear-gradient(180deg, #0d9084, var(--teal));
  color: #ffffff;
}

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

.chatbot-chip {
  min-height: 38px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, #ffffff, #f9fbfa);
  color: var(--ink);
  border-color: var(--line);
  text-align: left;
}

.chatbot-chip-primary {
  border-color: var(--teal);
  background:
    linear-gradient(180deg, #0c9487, var(--teal));
  color: #ffffff;
}

.chatbot-chip:disabled {
  cursor: default;
  opacity: 0.55;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #f7faf8);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(11, 17, 15, 0.58);
  backdrop-filter: blur(4px);
}

.quote-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 45;
  width: min(480px, 100%);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 220ms ease,
    visibility 0s linear 220ms;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbf9);
  box-shadow:
    -30px 0 80px rgba(10, 19, 17, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.86);
  overflow-y: auto;
}

.quote-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 220ms ease,
    visibility 0s linear 0s;
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  font-size: 1.45rem;
}

.quote-items {
  display: grid;
  gap: 10px;
}

.quote-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.62);
}

.quote-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft));
  box-shadow: 0 10px 22px rgba(15, 23, 20, 0.05);
}

.quote-line strong {
  display: block;
  font-size: 0.95rem;
}

.quote-line small {
  color: var(--muted);
}

.quote-line button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--coral);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 20px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-inline: 7px;
  }

  .feature-grid,
  .product-grid,
  .download-grid,
  .catalog-summary,
  .trust-grid,
  .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commerce-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 28px;
  }

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

  .hero-visual {
    min-height: 470px;
  }

  .portal-hero {
    grid-template-columns: 1fr;
  }

  .portal-hero-copy,
  .portal-login-elevated {
    justify-self: center;
  }

  .client-portal-hero::after {
    right: 5%;
    bottom: 4%;
    width: 220px;
    height: 160px;
    opacity: 0.32;
  }

  .staff-login-hero {
    background:
      linear-gradient(180deg, rgba(19, 48, 39, 0.96), rgba(23, 82, 68, 0.94) 60%, rgba(247, 246, 241, 0.98) 60.2%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
  }

  .admin-command-preview {
    grid-template-columns: 1fr;
  }

  .commerce-visual {
    min-height: 440px;
  }

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

  .director-command {
    grid-template-columns: 1fr 1fr;
  }

  .director-command-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 68px;
  }

  body[data-staff-dashboard-page] {
    padding-bottom: 92px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: var(--nav-height) 12px auto;
    display: none;
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: grid;
    justify-items: stretch;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
  }

  .portal-menu {
    width: 100%;
  }

  .portal-menu-trigger {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
  }

  .portal-menu-panel {
    position: static;
    width: 100%;
    display: none;
    margin-top: 6px;
    padding: 8px;
    border-color: var(--line);
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .portal-menu-panel::before {
    display: none;
  }

  .portal-menu.is-open .portal-menu-panel {
    display: grid;
    transform: none;
  }

  .site-nav .portal-menu-panel a {
    min-height: 58px;
  }

  .server-mode-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .server-mode-notice a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    align-items: center;
    padding: calc(var(--nav-height) + 42px) 20px 44px;
    background-position: 58% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: min(460px, 100%);
  }

  .hero-stats div {
    min-height: 84px;
  }

  .hero-visual {
    min-height: auto;
    max-width: 620px;
  }

  .suite-showcase {
    padding: 18px;
  }

  .ops-console {
    padding: 14px;
  }

  .ops-flow {
    grid-template-columns: 1fr;
  }

  .ops-flow i {
    display: none;
  }

  .section {
    padding: 62px 20px;
  }

  .section-heading h1,
  .section-heading h2,
  .contact-layout h2 {
    font-size: 2rem;
  }

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

  .package-card {
    min-height: auto;
  }

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

  .portal-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-panel-header .btn {
    width: 100%;
  }

  .portal-teaser,
  .portal-dashboard-head {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .portal-dashboard-head {
    flex-direction: column;
  }

  .portal-teaser .btn,
  .portal-dashboard-head .btn {
    width: 100%;
  }

  .portal-hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 44px) 20px 54px;
  }

  .staff-login-hero,
  .admin-premium-hero {
    background-position: center;
  }

  .portal-hero h1 {
    font-size: 3rem;
  }

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

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

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

  .staff-task-filters,
  .staff-task-update-grid,
  .staff-task-location-grid,
  .staff-request-update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-filter-actions {
    grid-column: 1 / -1;
  }

  .staff-enquiry-card {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .staff-dashboard-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topbar .btn,
  .staff-dashboard-hero .btn {
    width: 100%;
  }

  .admin-stats,
  .director-command,
  .staff-field-actions,
  .dashboard-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout,
  .admin-grid,
  .report-entry-grid,
  .report-filters,
  .report-review-grid,
  .report-review-checks,
  .verification-checks,
  .staff-task-filters,
  .staff-task-update-grid,
  .staff-task-location-grid,
  .staff-request-update-grid,
  .staff-meta {
    grid-template-columns: 1fr;
  }

  .staff-task-card-header,
  .staff-task-submit-row,
  .billing-access-card {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-task-due {
    justify-items: start;
    text-align: left;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .staff-status-form {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .staff-mobile-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(217, 226, 220, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
  }

  .staff-mobile-nav a {
    min-height: 48px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    border-radius: 8px;
    color: var(--teal-dark);
    font-size: 0.74rem;
    font-weight: 950;
    text-decoration: none;
  }

  .staff-mobile-nav a:hover,
  .staff-mobile-nav a:focus-visible {
    background: var(--surface-soft);
  }

  .staff-mobile-nav svg {
    width: 18px;
    height: 18px;
  }

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

@media (max-width: 620px) {
  .brand {
    gap: 9px;
    min-height: 48px;
    padding: 4px 9px 4px 5px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 34px);
    padding-bottom: 110px;
  }

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

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 28px;
  }

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

  .suite-showcase-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .suite-brand-card,
  .suite-module-grid {
    grid-template-columns: 1fr;
  }

  .suite-brand-card img {
    width: 52px;
    height: 52px;
  }

  .suite-module-grid div {
    min-height: auto;
  }

  .ops-terminal div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ops-terminal div:nth-child(n+3) {
    display: none;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .product-grid,
  .download-grid,
  .catalog-summary,
  .trust-grid,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    grid-template-columns: 1fr;
  }

  .commerce-visual {
    min-height: 390px;
    padding: 18px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-chip {
    width: 100%;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .portal-login,
  .portal-panel,
  .contact-panel,
  .staff-panel {
    padding: 18px;
  }

  .portal-teaser {
    padding: 18px;
  }

  .portal-secure-tile {
    width: 58px;
    height: 58px;
  }

  .portal-hero h1,
  .portal-dashboard-head h1 {
    font-size: 2.22rem;
  }

  .portal-hero-badges {
    display: grid;
  }

  .client-portal-hero::after,
  .staff-login-hero::after {
    display: none;
  }

  .staff-route-preview {
    grid-template-columns: 1fr;
  }

  .staff-route-preview > svg {
    width: 46px;
    height: 46px;
    padding: 11px;
  }

  .admin-command-preview div {
    min-height: 78px;
  }

  .staff-summary,
  .staff-filters,
  .staff-enquiry-details,
  .admin-stats,
  .director-command,
  .director-watch-grid,
  .director-revenue-grid,
  .staff-field-actions,
  .dashboard-card-grid,
  .report-summary,
  .staff-task-summary,
  .permission-grid {
    grid-template-columns: 1fr;
  }

  .admin-item,
  .custom-field-row {
    grid-template-columns: 1fr;
  }

  .self-work-progress {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-item-actions,
  .admin-form-actions {
    display: grid;
  }

  .admin-item-actions .icon-button {
    width: 100%;
  }

  .staff-filter-actions {
    display: grid;
  }

  .floating-cart {
    right: 12px;
    bottom: 12px;
    min-width: 116px;
    opacity: 0.94;
  }

  .chatbot-toggle {
    right: 12px;
    bottom: 78px;
    opacity: 0.94;
  }

  .floating-cart,
  .chatbot-toggle {
    display: none;
  }

  body.show-mobile-float .floating-cart,
  body.show-mobile-float .chatbot-toggle {
    display: inline-flex;
  }

  .chatbot-window {
    right: 12px;
    bottom: 138px;
    width: calc(100vw - 24px);
    max-height: calc(100svh - 154px);
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .quote-drawer {
    padding: 18px;
  }
}

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

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

  .section-heading h1,
  .section-heading h2,
  .contact-layout h2 {
    font-size: 1.72rem;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .floating-cart span,
  .chatbot-toggle span {
    display: none;
  }

  .floating-cart,
  .chatbot-toggle {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    justify-content: center;
    padding-inline: 0;
  }
}

.hero-inner.hero-inner-simple {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.hero-inner.hero-inner-simple .hero-copy-panel {
  max-width: 900px;
}

.hero-inner.hero-inner-simple .hero-strip {
  width: min(980px, 100%);
}

.solution-suite-panel {
  width: min(1180px, 100%);
  margin: 26px auto 0;
}

.suite-showcase-light {
  border-color: rgba(191, 206, 198, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 243, 0.92)),
    #ffffff;
  box-shadow:
    0 18px 46px rgba(15, 23, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: none;
}

.suite-showcase-light::before {
  background:
    radial-gradient(circle at 8% 0%, rgba(240, 182, 70, 0.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(8, 127, 115, 0.13), transparent 34%),
    linear-gradient(90deg, transparent, rgba(49, 93, 138, 0.05), transparent);
}

.suite-showcase-light .suite-showcase-top {
  border-bottom-color: rgba(191, 206, 198, 0.72);
}

.suite-showcase-light .suite-showcase-top span {
  color: var(--teal-dark);
}

.suite-showcase-light .suite-showcase-top strong,
.suite-showcase-light .suite-brand-card strong,
.suite-showcase-light .suite-module-grid span {
  color: var(--ink);
}

.suite-showcase-light .suite-brand-card,
.suite-showcase-light .suite-module-grid div {
  border-color: rgba(191, 206, 198, 0.78);
  background: rgba(255, 255, 255, 0.82);
}

.suite-showcase-light .suite-brand-card small,
.suite-showcase-light .suite-module-grid small {
  color: var(--muted);
}

.suite-showcase-light .suite-trust-list span {
  border-color: rgba(191, 206, 198, 0.72);
  background: rgba(255, 255, 255, 0.78);
  color: #31413b;
}

.suite-showcase-light .suite-trust-list svg {
  color: var(--teal);
}

.contact-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

@media (max-width: 620px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}
