:root {
  --bg: #070a0f;
  --panel: rgba(16, 20, 30, 0.76);
  --panel-strong: rgba(23, 29, 42, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7fb;
  --muted: #aeb8c7;
  --soft: #dbe7f7;
  --cyan: #41d8ff;
  --mint: #76f0c2;
  --gold: #f4c95d;
  --danger: #ff6b7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(65, 216, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(118, 240, 194, 0.11), transparent 24rem),
    linear-gradient(180deg, #070a0f 0%, #0a0f17 48%, #070a0f 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(7, 10, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.zenith-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(22, 35, 48, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #17312d;
}

.mobile-menu-panel {
  display: none;
}

.nav-links {
  padding: 8px 14px;
  border: 1px solid rgba(22, 35, 48, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.mega-nav {
  position: relative;
  gap: 4px;
}

.mega-item {
  position: relative;
}

.mega-item > button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 10px;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 380px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(23, 32, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-panel a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  color: #17202a;
}

.mega-panel a:hover {
  background: #eef7f3;
}

.mega-panel strong,
.mega-panel span {
  display: block;
}

.mega-panel span {
  color: #5b6a78;
  font-size: 0.88rem;
  line-height: 1.45;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
}

.brand-logo {
  width: 172px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.nav-links,
.nav-actions,
.footer-links,
.hero-actions,
.detail-actions,
.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a,
.ghost-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--text);
}

.nav-button,
.primary-button,
.secondary-button,
.filter-panel button,
.lead-form button,
.mini-form button,
.auth-card button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(65, 216, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(135deg, #33cdf2, #75efc0);
  color: #041016;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 16px 40px rgba(65, 216, 255, 0.18);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero-shell {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: clamp(32px, 7vw, 92px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.48;
  filter: saturate(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 15, 0.98), rgba(7, 10, 15, 0.52), rgba(7, 10, 15, 0.86));
}

.brand-hero-media {
  background-position: center 58%;
  opacity: 0.58;
}

.brand-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.98), rgba(7, 10, 15, 0.5), rgba(7, 10, 15, 0.76)),
    linear-gradient(180deg, rgba(7, 10, 15, 0.2), rgba(7, 10, 15, 0.88));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 7vh;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 960px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.08;
}

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

.hero-content p,
.page-hero p {
  max-width: 690px;
  font-size: 1.08rem;
}

.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 74px) 0;
}

.role-grid,
.room-grid,
.ops-grid,
.partner-grid,
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-grid.section-wrap {
  width: min(1500px, calc(100% - 80px));
  gap: 28px;
  padding-top: clamp(54px, 7vw, 110px);
}

.role-card,
.ops-grid article,
.partner-grid article,
.job-grid article,
.room-card,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.role-card {
  min-height: 430px;
  padding: 36px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.role-card:hover {
  transform: translateY(-5px);
  border-color: rgba(65, 216, 255, 0.48);
  background: linear-gradient(180deg, rgba(65, 216, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.role-card.accent {
  background: linear-gradient(180deg, rgba(118, 240, 194, 0.13), rgba(255, 255, 255, 0.035));
}

.role-index,
.role-link,
.room-meta span,
.job-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.role-card h2 {
  margin-top: 88px;
  font-size: clamp(2.2rem, 3.3vw, 4.2rem);
}

.role-card p {
  max-width: 420px;
  font-size: 1.08rem;
}

.role-index {
  font-size: 1.05rem;
  font-weight: 800;
}

.role-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 1rem;
}

.role-link {
  color: var(--mint);
  font-weight: 700;
}

.split-band,
.dashboard-preview,
.lead-form-band,
.commission-band,
.auth-shell,
.detail-shell,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 5vw, 56px);
}

.split-band,
.dashboard-preview,
.lead-form-band,
.commission-band,
.auth-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
}

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

.metric-strip div,
.progress-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-strip strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
}

.metric-strip span,
.progress-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  min-height: 410px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: clamp(42px, 7vw, 86px) 0 34px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.filter-panel {
  padding-top: 0;
}

.filter-panel form,
.lead-form,
.mini-form,
.auth-card {
  display: grid;
  gap: 12px;
}

.filter-panel form {
  grid-template-columns: 1.15fr 0.75fr 0.9fr 0.8fr 0.95fr 0.72fr 0.72fr auto;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.pager-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 6px;
}

.pager-bar span {
  color: #5b6a78;
  font-weight: 800;
}

label span,
.filter-panel span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 11px 13px;
}

select option {
  background: #101620;
}

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

.notice {
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 93, 0.42);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.09);
  color: #ffe4a1;
}

.room-grid {
  padding-top: 0;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #17202a;
  box-shadow: 0 20px 70px rgba(28, 43, 58, 0.12);
}

.empty-state span {
  color: #0f7f6a;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: #5b6a78;
}

.room-card {
  overflow: hidden;
}

.room-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.room-card:hover .room-image img {
  transform: scale(1.04);
}

.room-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.room-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.room-body h2 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.room-body p {
  margin: 0;
  font-size: 0.94rem;
}

.room-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.room-meta strong,
.price-line strong {
  color: var(--mint);
  font-size: 1.22rem;
}

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

.tag-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.055);
}

.card-actions a {
  flex: 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  font-weight: 700;
}

.lead-form-band {
  padding-bottom: 82px;
}

.lead-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-shell {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: start;
  padding: 42px 0 30px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.detail-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.detail-panel h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.location {
  color: var(--soft);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.mini-form {
  margin-top: 18px;
}

.description-band {
  padding-top: 22px;
}

.rich-text {
  color: var(--soft);
  line-height: 1.8;
}

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

.ops-grid article,
.partner-grid article,
.job-grid article {
  padding: 24px;
}

.ops-grid article span {
  color: var(--cyan);
  font-weight: 800;
}

.pixel-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pixel-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.progress-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.commission-band {
  padding: 28px;
  border: 1px solid rgba(244, 201, 93, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.13), rgba(255, 255, 255, 0.04));
}

.commission-band strong {
  color: var(--gold);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.9;
  text-align: right;
}

.auth-shell {
  min-height: calc(100vh - 176px);
  padding: 80px 0;
}

.auth-card {
  padding: 22px;
}

.auth-card a {
  color: var(--muted);
  text-align: center;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  min-height: 40px;
  border: 1px solid rgba(22, 35, 48, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #17312d;
  font-weight: 850;
  padding: 0 14px;
}

.staff-theme-toggle {
  display: none;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(118, 240, 194, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint);
  font-weight: 900;
  padding: 0 14px;
}

body.staff-theme .staff-theme-toggle {
  display: inline-flex;
}

.login-demo-box {
  display: grid;
  gap: 6px;
  max-width: 430px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(15, 163, 127, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #17202a;
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08);
}

.login-demo-box strong,
.login-demo-box span {
  display: block;
}

.login-demo-box span {
  color: #5b6a78;
  font-weight: 750;
}

.portal-admin-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.08);
}

.portal-admin-panel form {
  margin: 0;
}

.portal-admin-panel button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 10px;
}

.portal-admin-panel button.is-on {
  background: #eaf8f3;
  color: #0f7f6a;
}

.portal-admin-panel button.is-off {
  background: #fff0f0;
  color: #b73939;
}

.portal-locked-shell {
  min-height: calc(100vh - 160px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.chat-widget,
.contact-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.contact-dock {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.dock-action {
  display: grid;
  min-width: 54px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0c7b64;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0 12px;
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.14);
}

.chat-toggle {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #17312d, #0fa37f);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(15, 163, 127, 0.34);
}

.chat-toggle span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 168px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(22, 35, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(23, 32, 42, 0.2);
  color: #17202a;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-panel.is-open,
.chat-widget.is-open .chat-panel,
.contact-dock.is-open .chat-panel,
[data-chat-widget].is-open [data-chat-panel] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #17312d, #0f7f6a);
  color: #fff;
}

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

.chat-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.chat-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.chat-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.chat-messages {
  display: grid;
  max-height: 300px;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.chat-message {
  margin: 0;
  max-width: 88%;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bot-message {
  justify-self: start;
  border-radius: 12px;
  background: #eef7f3;
  color: #344454;
  padding: 12px;
}

.user-message {
  justify-self: end;
  border-radius: 12px;
  background: #17312d;
  color: #fff;
  padding: 12px;
}

.chat-result-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(15, 163, 127, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.08);
}

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

.chat-result-card strong {
  color: #17312d;
  font-size: 0.95rem;
}

.chat-result-card span {
  color: #5b6a78;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-result-card a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0f7f6a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 0 12px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-prompts button {
  border: 1px solid rgba(15, 163, 127, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #0c7b64;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 10px;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(22, 35, 48, 0.08);
  background: #f8faf7;
}

.chat-input input {
  min-height: 40px;
  background: #fff;
  color: #17202a;
}

.chat-input button {
  border: 0;
  border-radius: 8px;
  background: #17312d;
  color: #fff;
  font-weight: 800;
  padding: 0 14px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .role-grid,
  .room-grid,
  .ops-grid,
  .partner-grid,
  .job-grid,
  .compact-grid,
  .split-band,
  .dashboard-preview,
  .lead-form-band,
  .commission-band,
  .auth-shell,
  .detail-shell,
  .page-hero {
    grid-template-columns: 1fr;
  }

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

  .detail-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    padding: 10px 14px;
  }

  .zenith-nav {
    align-items: center;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

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

  .mega-nav,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(22, 35, 48, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 80px rgba(23, 32, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .zenith-nav.is-mobile-open .mobile-menu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-panel a {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: #f6faf7;
    color: #17202a;
  }

  .mobile-menu-panel strong,
  .mobile-menu-panel span {
    display: block;
  }

  .mobile-menu-panel span {
    color: #5b6a78;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .corporate-hero {
    min-height: auto;
    padding: 16px;
    align-items: start;
  }

  .corporate-hero-bg {
    position: absolute;
    inset: 12px;
    min-height: 0;
    background-position: 58% 50%;
  }

  .corporate-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86), rgba(247, 248, 244, 0.92));
  }

  .corporate-hero-inner {
    padding: 78px 4px 28px;
  }

  .corporate-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 1.02;
  }

  .corporate-hero p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-proof div {
    padding: 14px;
  }

  .section-wrap,
  .editorial-section,
  .process-section,
  .ecosystem-band,
  .room-guide,
  .platform-section,
  .services-section {
    width: min(100% - 28px, 560px);
    padding: 34px 0;
  }

  .split-heading,
  .platform-grid,
  .service-mosaic,
  .why-band,
  .final-cta,
  .lead-form-band,
  .commission-band,
  .auth-shell,
  .detail-shell,
  .page-hero,
  .search-summary,
  .editorial-grid,
  .process-list,
  .ecosystem-band {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 250px;
    padding: 22px;
  }

  .platform-card h3 {
    font-size: 1.8rem;
  }

  .service-mosaic article,
  .editorial-grid article,
  .process-list article {
    padding: 20px;
  }

  .why-band,
  .final-cta,
  .ecosystem-band,
  body.theme-light .lead-form-band,
  body.theme-light .page-hero {
    width: min(100% - 28px, 560px);
    padding: 24px 18px;
  }

  body.theme-light .page-hero {
    min-height: auto;
    margin-top: 16px;
    background-position: center;
  }

  body.theme-light .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .filter-panel {
    padding-top: 8px;
  }

  .filter-panel form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .room-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .room-image {
    aspect-ratio: 16 / 11;
  }

  .room-body {
    padding: 16px;
  }

  .search-summary {
    gap: 10px;
  }

  .search-summary div {
    padding: 16px;
  }

  .pager-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-shell {
    padding-top: 20px;
  }

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

  .contact-dock {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .dock-action {
    min-width: 48px;
    height: 42px;
    font-size: 0.78rem;
  }

  .chat-toggle {
    width: 54px;
    height: 54px;
  }

  .chat-panel {
    right: -2px;
    bottom: 150px;
    width: min(340px, calc(100vw - 24px));
    max-height: min(560px, calc(100vh - 190px));
    overflow: auto;
  }

  .site-footer {
    width: min(100% - 28px, 560px);
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 92px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .zenith-nav {
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .ghost-link {
    display: none;
  }

  .hero-shell {
    min-height: 680px;
    padding: 28px 16px;
  }

  .hero-actions,
  .detail-actions,
  .card-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .nav-button {
    width: 100%;
  }

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

  .metric-strip,
  .gallery-thumbs {
    grid-template-columns: 1fr 1fr;
  }
}

body.theme-light {
  --bg: #f7f8f4;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(22, 35, 48, 0.12);
  --text: #17202a;
  --muted: #61707f;
  --soft: #354454;
  --cyan: #0d8fb3;
  --mint: #0fa37f;
  --gold: #bd8a20;
  --shadow: 0 24px 80px rgba(28, 43, 58, 0.13);
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.11), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(13, 143, 179, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0%, #eef5f1 48%, #f8faf6 100%);
  color: var(--text);
}

body.theme-light .site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  border-bottom-color: rgba(22, 35, 48, 0.1);
  box-shadow: 0 10px 36px rgba(23, 32, 42, 0.06);
}

body.theme-light .brand-logo,
body.theme-light .footer-logo {
  filter: drop-shadow(0 8px 14px rgba(12, 54, 73, 0.12));
}

body.theme-light .brand small,
body.theme-light .nav-links a,
body.theme-light .ghost-link,
body.theme-light .site-footer,
body.theme-light .site-footer a {
  color: #5c6b77;
}

body.theme-light .nav-links a:hover,
body.theme-light .ghost-link:hover {
  color: #17202a;
}

body.theme-light .nav-button,
body.theme-light .primary-button,
body.theme-light .filter-panel button,
body.theme-light .lead-form button,
body.theme-light .mini-form button,
body.theme-light .auth-card button {
  border-color: rgba(15, 163, 127, 0.25);
  background: linear-gradient(135deg, #16342e, #0fa37f);
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 163, 127, 0.22);
}

body.theme-light .secondary-button {
  background: #fff;
  color: #17202a;
  border-color: rgba(22, 35, 48, 0.14);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.08);
}

body.theme-light .page-hero {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  min-height: 460px;
  margin-top: 24px;
  padding: clamp(46px, 7vw, 88px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.36)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80") center / cover;
  box-shadow: var(--shadow);
}

body.theme-light.partner-theme .page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center / cover;
}

body.theme-light .page-hero h1 {
  max-width: 820px;
  color: #132027;
}

body.theme-light .page-hero p {
  color: #455463;
}

body.theme-light .eyebrow {
  color: #0c8f73;
}

body.theme-light .filter-panel form,
body.theme-light .lead-form,
body.theme-light .mini-form,
body.theme-light .auth-card,
body.theme-light .detail-panel,
body.theme-light .room-card,
body.theme-light .partner-grid article,
body.theme-light .job-grid article {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(22, 35, 48, 0.1);
  box-shadow: var(--shadow);
  color: #17202a;
}

body.theme-light .room-card {
  border-radius: 8px;
  overflow: hidden;
}

body.theme-light .room-body h2,
body.theme-light .partner-grid h2,
body.theme-light .job-grid h2,
body.theme-light .lead-form-band h2,
body.theme-light .description-band h2,
body.theme-light .auth-shell h1 {
  color: #17202a;
}

body.theme-light p,
body.theme-light .room-body p,
body.theme-light .rich-text,
body.theme-light .auth-card a {
  color: #5b6a78;
}

body.theme-light input,
body.theme-light select,
body.theme-light textarea {
  background: #f8faf7;
  border-color: rgba(22, 35, 48, 0.12);
  color: #17202a;
}

body.theme-light input::placeholder,
body.theme-light textarea::placeholder {
  color: #8996a2;
}

body.theme-light select option {
  background: #fff;
}

body.theme-light .tag-row span,
body.theme-light .card-actions a,
body.theme-light .metric-strip div,
body.theme-light .progress-list div {
  background: #f7faf5;
  border-color: rgba(22, 35, 48, 0.1);
  color: #344454;
}

body.theme-light .card-actions a:hover {
  border-color: rgba(15, 163, 127, 0.35);
  color: #0c7b64;
}

body.theme-light .room-image span {
  background: rgba(255, 255, 255, 0.86);
  color: #17202a;
  border-color: rgba(22, 35, 48, 0.12);
}

body.theme-light .notice {
  background: #fff7df;
  border-color: rgba(189, 138, 32, 0.24);
  color: #805c13;
}

body.theme-light .lead-form-band {
  width: min(1280px, calc(100% - 48px));
  margin-top: 18px;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.1), rgba(13, 143, 179, 0.07)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

body.theme-light .commission-band {
  background: linear-gradient(135deg, #17312d, #246458);
  color: #fff;
  border-color: transparent;
}

body.theme-light .commission-band p,
body.theme-light .commission-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

body.theme-light .commission-band h2,
body.theme-light .commission-band strong {
  color: #fff3c8;
}

body.theme-light .gallery-main,
body.theme-light .gallery-thumbs button {
  border-color: rgba(22, 35, 48, 0.1);
  box-shadow: var(--shadow);
}

body.theme-light.home-theme .hero-shell {
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.09), transparent 34rem),
    radial-gradient(circle at 82% 16%, rgba(13, 143, 179, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0%, #eef5f1 100%);
}

body.theme-light.home-theme .hero-media {
  inset: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  background-size: cover;
  background-position: center 62%;
  opacity: 0.92;
  box-shadow: var(--shadow);
}

body.theme-light.home-theme .hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(247, 248, 244, 0.76));
}

body.theme-light.home-theme .hero-content,
body.theme-light.home-theme .hero-content h1 {
  color: #132027;
}

body.theme-light.home-theme .hero-content p {
  color: #455463;
}

body.theme-light.home-theme .role-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 35, 48, 0.1);
  color: #17202a;
}

body.theme-light.home-theme .role-card.accent {
  background: linear-gradient(180deg, rgba(15, 163, 127, 0.12), rgba(255, 255, 255, 0.92));
}

body.theme-light.home-theme .role-card:hover {
  border-color: rgba(15, 163, 127, 0.34);
  background: #fff;
}

body.theme-light.home-theme .role-card p {
  color: #5b6a78;
}

body.theme-light.home-theme .split-band {
  margin-bottom: 48px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.premium-hero .hero-content {
  max-width: 900px;
}

.premium-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.7rem);
}

.role-showcase .role-card {
  position: relative;
  overflow: hidden;
}

.role-showcase .role-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 94px;
  height: 94px;
  border-radius: 999px;
  background: rgba(15, 163, 127, 0.12);
  filter: blur(4px);
}

.role-showcase .staff-card::before {
  background: rgba(39, 63, 245, 0.14);
}

.role-showcase .partner-card::before {
  background: rgba(189, 138, 32, 0.14);
}

.editorial-section,
.process-section,
.ecosystem-band,
.room-guide {
  width: min(1280px, calc(100% - 48px));
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  max-width: 860px;
}

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

.editorial-grid article,
.process-list article,
.premium-cards article {
  position: relative;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}

.editorial-grid article::after,
.process-list article::after,
.premium-cards article::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(15, 163, 127, 0.08);
}

.editorial-grid span,
.card-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  color: #0c8f73;
  font-weight: 800;
}

.editorial-grid h3,
.process-list h3 {
  position: relative;
  margin-bottom: 10px;
  color: #17202a;
  font-size: 1.22rem;
  font-weight: 800;
}

.ecosystem-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 36px;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.12), rgba(13, 143, 179, 0.08)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.ecosystem-track {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ecosystem-track span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #273747;
  font-weight: 800;
  padding: 0 18px;
}

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

.process-list strong {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: #17312d;
  color: #fff;
}

.search-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.search-summary div {
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 20px;
}

.search-summary strong {
  display: block;
  color: #17312d;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.search-summary span {
  color: #5b6a78;
  font-weight: 700;
}

.room-card,
.premium-cards article,
.editorial-grid article,
.process-list article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.room-card:hover,
.premium-cards article:hover,
.editorial-grid article:hover,
.process-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 163, 127, 0.3);
  box-shadow: 0 28px 90px rgba(28, 43, 58, 0.18);
}

.partner-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center / cover !important;
}

.customer-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=80") center / cover !important;
}

body.theme-light .site-footer {
  border-top-color: rgba(22, 35, 48, 0.1);
}

.corporate-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 70px);
  background:
    radial-gradient(circle at 78% 8%, rgba(15, 163, 127, 0.13), transparent 30rem),
    linear-gradient(180deg, #fbfcf8 0%, #eef5f1 100%);
}

.corporate-hero-bg {
  position: absolute;
  inset: clamp(18px, 3vw, 46px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 14px;
  background-position: center 62%;
  background-size: cover;
  box-shadow: var(--shadow);
  opacity: 0.9;
}

.corporate-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.78), rgba(255,255,255,0.3)),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(247,248,244,0.74));
}

.corporate-hero-inner {
  position: relative;
  width: min(980px, 100%);
  padding-left: clamp(0px, 4vw, 90px);
}

.corporate-hero h1 {
  max-width: 980px;
  color: #132027;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
}

.corporate-hero p {
  max-width: 760px;
  color: #455463;
  font-size: 1.12rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin-top: 34px;
}

.hero-proof div,
.platform-card,
.service-mosaic article {
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
}

.hero-proof strong {
  display: block;
  color: #17312d;
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  color: #5b6a78;
  font-weight: 700;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: end;
}

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

.platform-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.platform-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(15, 163, 127, 0.1);
}

.platform-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 90px rgba(28, 43, 58, 0.18);
}

.platform-card span {
  color: #0c8f73;
  font-weight: 900;
}

.platform-card h3 {
  margin-top: auto;
  color: #17202a;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  line-height: 1.05;
}

.platform-card strong {
  color: #0c7b64;
}

.service-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.service-mosaic article {
  padding: 26px;
}

.service-mosaic article:nth-child(1),
.service-mosaic article:nth-child(4) {
  min-height: 280px;
}

.service-mosaic span {
  display: inline-flex;
  margin-bottom: 34px;
  color: #0c8f73;
  font-weight: 900;
}

.service-mosaic h3 {
  color: #17202a;
  font-size: 1.55rem;
}

.why-band,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.12), rgba(13, 143, 179, 0.07)),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

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

.why-band li {
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #344454;
  font-weight: 700;
  padding: 14px 16px;
}

.final-cta {
  margin-bottom: 54px;
}

.final-cta h2 {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .role-grid.section-wrap {
    width: min(760px, calc(100% - 32px));
  }

  .role-card {
    min-height: 310px;
  }

  .role-card h2 {
    margin-top: 54px;
  }

  body.theme-light .page-hero,
  body.theme-light .lead-form-band {
    width: min(100% - 32px, 760px);
    padding: 34px 22px;
  }

  .editorial-grid,
  .process-list,
  .search-summary,
  .ecosystem-band,
  .platform-grid,
  .service-mosaic,
  .split-heading,
  .why-band,
  .final-cta,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .editorial-section,
  .process-section,
  .ecosystem-band,
  .room-guide,
  .platform-section,
  .services-section {
    width: min(100% - 32px, 760px);
  }

  .mega-nav {
    display: none;
  }

  .corporate-hero {
    min-height: 760px;
    padding: 20px 16px;
  }

  .corporate-hero-inner {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 14px;
  }

  .zenith-nav {
    align-items: center;
  }

  .mega-nav,
  .nav-actions {
    display: none;
  }

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

  .corporate-hero {
    min-height: auto;
    padding: 16px;
  }

  .corporate-hero-inner {
    padding: 78px 4px 28px;
  }

  .corporate-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

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

  .page-hero,
  body.theme-light .page-hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    padding: 10px 12px;
  }

  .zenith-nav {
    min-height: 48px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(124px, 42vw, 148px);
    height: 38px;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 14px;
  }

  .mobile-menu-panel {
    top: calc(100% + 10px);
    max-height: calc(100vh - 88px);
    overflow: auto;
  }

  .page-hero,
  body.theme-light .page-hero {
    width: min(100% - 24px, 560px);
    margin-top: 12px;
    padding: 30px 18px;
    gap: 18px;
    border-radius: 18px;
  }

  .page-hero h1,
  body.theme-light .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.02;
  }

  .page-hero p,
  body.theme-light .page-hero p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .page-hero .primary-button {
    width: 100%;
    min-height: 50px;
  }

  .search-summary {
    width: min(100% - 24px, 560px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .search-summary div {
    padding: 14px;
  }

  .search-summary strong {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }

  .search-summary span {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .section-wrap,
  .filter-panel,
  .room-grid,
  .room-guide,
  .lead-form-band {
    width: min(100% - 24px, 560px);
  }

  .filter-panel {
    padding-top: 0;
    padding-bottom: 18px;
  }

  .filter-panel form {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .filter-panel button {
    min-height: 52px;
    margin-top: 2px;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    border-radius: 12px;
    font-size: 16px;
  }

  .room-grid {
    gap: 14px;
  }

  .room-card {
    border-radius: 18px;
  }

  .room-image {
    aspect-ratio: 1.18 / 1;
  }

  .room-image span {
    left: 12px;
    top: 12px;
  }

  .room-body {
    gap: 12px;
    padding: 15px;
  }

  .room-meta,
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .room-meta strong {
    font-size: 1.15rem;
  }

  .card-actions a {
    min-height: 46px;
  }

  .tag-row {
    gap: 6px;
  }

  .tag-row span {
    font-size: 0.74rem;
  }

  .pager-bar {
    width: min(100% - 24px, 560px);
    gap: 10px;
  }

  .pager-bar .primary-button,
  .pager-bar .secondary-button {
    width: 100%;
    min-height: 50px;
  }

  .contact-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    pointer-events: none;
  }

  .dock-action,
  .chat-toggle {
    pointer-events: auto;
  }

  .dock-action {
    min-width: 52px;
    height: 46px;
    padding: 0 12px;
    box-shadow: 0 12px 30px rgba(23, 32, 42, 0.18);
  }

  .chat-toggle {
    width: 54px;
    height: 54px;
  }

  .chat-panel {
    right: 0;
    bottom: 68px;
    width: min(100%, 360px);
    max-height: min(540px, calc(100vh - 150px));
    pointer-events: auto;
  }

  .site-footer {
    padding-bottom: 24px;
  }
}

@media (max-width: 420px) {
  .search-summary {
    grid-template-columns: 1fr 1fr;
  }

  .room-body h2 {
    font-size: 1rem;
  }

  .room-body p {
    font-size: 0.9rem;
  }

  .contact-dock {
    justify-content: center;
  }

  .portal-admin-panel {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 16px;
  }
}

/* Premium UI refresh */
body.theme-light {
  background:
    radial-gradient(circle at 9% 12%, rgba(15, 163, 127, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(44, 123, 229, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbfcf7 0%, #edf5f0 42%, #f8faf6 100%);
}

body.theme-light .site-header {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: rgba(24, 49, 45, 0.08);
}

body.theme-light .nav-links {
  border-color: rgba(24, 49, 45, 0.08);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 28px rgba(23, 32, 42, 0.05);
}

body.theme-light .nav-button,
body.theme-light .primary-button,
body.theme-light .filter-panel button,
body.theme-light .lead-form button,
body.theme-light .mini-form button,
body.theme-light .auth-card button,
.chat-result-card a {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #17312d 0%, #0f8f74 54%, #2ebf9a 100%);
  box-shadow: 0 18px 44px rgba(15, 143, 116, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.theme-light .secondary-button {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-home-hero {
  min-height: calc(100vh - 72px);
  isolation: isolate;
}

.premium-home-hero::before {
  content: "";
  position: absolute;
  inset: auto 9vw 7vh auto;
  width: min(46vw, 580px);
  height: min(46vw, 580px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 163, 127, 0.17), transparent 67%);
  z-index: -1;
}

.premium-home-hero .corporate-hero-bg {
  inset: clamp(16px, 3vw, 42px);
  border-radius: 28px;
  opacity: 1;
  overflow: hidden;
}

.premium-home-hero .corporate-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.86) 37%, rgba(255, 255, 255, 0.38) 70%, rgba(255, 255, 255, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(238, 245, 241, 0.72));
}

.premium-home-hero .corporate-hero-inner {
  width: min(1040px, 100%);
  padding-left: clamp(0px, 5vw, 98px);
  padding-right: min(33vw, 420px);
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-live-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(15, 163, 127, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #0d7f68;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 12px;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.06);
}

.premium-home-hero .corporate-hero h1,
.premium-home-hero h1 {
  max-width: 920px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-command-card {
  position: absolute;
  right: clamp(28px, 6vw, 92px);
  bottom: clamp(38px, 9vh, 118px);
  width: min(380px, calc(100% - 40px));
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(24, 49, 45, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(26px) saturate(145%);
  box-shadow: 0 30px 90px rgba(23, 32, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.command-card-head,
.command-metrics,
.command-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.command-card-head span,
.command-room small {
  color: #61707f;
  font-size: 0.82rem;
  font-weight: 750;
}

.command-card-head strong {
  color: #0f7f6a;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.command-search {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #17312d;
  color: #fff;
}

.command-search span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #75efc0;
  color: #063228;
  font-weight: 950;
}

.command-search p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.command-metrics div {
  flex: 1;
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 250, 245, 0.9);
}

.command-metrics strong,
.command-room strong {
  display: block;
  color: #17202a;
}

.command-metrics span {
  color: #61707f;
  font-size: 0.8rem;
}

.command-room {
  justify-content: flex-start;
  padding: 12px;
  border: 1px solid rgba(24, 49, 45, 0.08);
  border-radius: 18px;
  background: #fff;
}

.command-room > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.26), rgba(44, 123, 229, 0.16)),
    url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=300&q=80") center / cover;
}

.hero-proof div,
.platform-card,
.service-mosaic article,
body.theme-light .room-card,
body.theme-light .filter-panel form,
.search-summary div,
.empty-state {
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(23, 32, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.platform-card {
  min-height: 390px;
  border-color: rgba(24, 49, 45, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 247, 0.82)),
    radial-gradient(circle at 80% 12%, rgba(15, 163, 127, 0.12), transparent 18rem);
}

.customer-card::before,
.partner-card::before,
.staff-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  opacity: 0.92;
  background: linear-gradient(135deg, rgba(15, 163, 127, 0.18), rgba(44, 123, 229, 0.16));
}

.partner-card::before {
  background: linear-gradient(135deg, rgba(189, 138, 32, 0.2), rgba(15, 163, 127, 0.14));
}

.staff-card::before {
  background: linear-gradient(135deg, rgba(23, 49, 45, 0.9), rgba(44, 123, 229, 0.25));
}

.customer-hero {
  border-radius: 28px !important;
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.35)),
    url("https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=1800&q=82") center / cover !important;
}

.customer-hero-card {
  width: min(360px, 100%);
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(24, 49, 45, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.14);
}

.customer-hero-card span {
  color: #0f7f6a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-hero-card strong {
  color: #17202a;
  font-size: 1.12rem;
  line-height: 1.25;
}

.customer-hero-card p {
  margin: 0;
}

.customer-hero-card .primary-button {
  width: 100%;
}

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

.filter-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.filter-toolbar h2 {
  margin: 4px 0 0;
  color: #17202a;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-chips a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(15, 163, 127, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f7f6a;
  font-weight: 850;
  padding: 0 13px;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
}

body.theme-light .filter-panel form {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 245, 0.88));
}

body.theme-light input,
body.theme-light select,
body.theme-light textarea {
  border-radius: 14px;
  background: rgba(248, 250, 247, 0.92);
}

body.theme-light .room-card {
  position: relative;
  border: 1px solid rgba(24, 49, 45, 0.09);
  background: rgba(255, 255, 255, 0.94);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

body.theme-light .room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(23, 32, 42, 0.16);
}

.room-image {
  border-radius: 18px;
  margin: 12px 12px 0;
}

body.theme-light .room-body {
  padding: 16px 18px 18px;
}

body.theme-light .room-meta {
  padding: 12px;
  border-radius: 16px;
  background: #f7faf5;
}

body.theme-light .room-meta strong {
  color: #0f7f6a;
}

body.theme-light .card-actions a:first-child {
  background: #17312d;
  color: #fff;
  border-color: #17312d;
}

body.theme-light .card-actions a:last-child {
  background: #eef8f4;
  color: #0f7f6a;
}

.chat-panel {
  border-radius: 22px;
  border-color: rgba(24, 49, 45, 0.1);
  box-shadow: 0 28px 90px rgba(23, 32, 42, 0.2);
}

.chat-head {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, #17312d, #0f8f74);
}

@media (max-width: 1040px) {
  .premium-home-hero .corporate-hero-inner {
    padding-right: 0;
  }

  .hero-command-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 22px 0 0 clamp(0px, 5vw, 98px);
  }
}

@media (max-width: 760px) {
  .premium-home-hero .corporate-hero-bg,
  .customer-hero {
    border-radius: 22px !important;
  }

  .hero-command-card {
    width: 100%;
    margin: 12px 0 0;
  }

  .filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-chips {
    justify-content: flex-start;
  }

  .customer-hero-card {
    width: 100%;
  }

  .room-image {
    margin: 10px 10px 0;
  }
}

/* Motion polish */
:root {
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast: 180ms;
  --motion-mid: 320ms;
  --motion-slow: 760ms;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    filter: blur(6px);
    transition:
      opacity var(--motion-slow) var(--ease-premium) var(--reveal-delay, 0ms),
      transform var(--motion-slow) var(--ease-premium) var(--reveal-delay, 0ms),
      filter 680ms var(--ease-premium) var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  .site-header,
  .brand-logo,
  .nav-button,
  .primary-button,
  .secondary-button,
  .filter-panel button,
  .dock-action,
  .chat-toggle,
  .chat-panel,
  .mobile-menu-panel,
  .mega-panel,
  .platform-card,
  .service-mosaic article,
  .room-card,
  .room-image img,
  .card-actions a,
  .filter-chips a,
  .search-summary div,
  .hero-proof div,
  .command-room,
  .command-metrics div {
    transition-duration: var(--motion-mid);
    transition-timing-function: var(--ease-premium);
  }

  .nav-button,
  .primary-button,
  .secondary-button,
  .filter-panel button,
  .dock-action,
  .chat-toggle,
  .card-actions a,
  .filter-chips a {
    transition-property: transform, box-shadow, background, border-color, color, opacity;
    will-change: transform;
  }

  .nav-button:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .filter-panel button:hover,
  .dock-action:hover,
  .chat-toggle:hover,
  .filter-chips a:hover,
  .card-actions a:hover {
    transform: translate3d(0, -2px, 0);
  }

  .nav-button:active,
  .primary-button:active,
  .secondary-button:active,
  .filter-panel button:active,
  .dock-action:active,
  .chat-toggle:active,
  .filter-chips a:active,
  .card-actions a:active {
    transform: translate3d(0, 0, 0) scale(0.985);
    transition-duration: 90ms;
  }

  .platform-card,
  .service-mosaic article,
  .room-card,
  .search-summary div,
  .hero-proof div,
  .command-room,
  .command-metrics div {
    transition-property: transform, box-shadow, border-color, background, opacity;
    will-change: transform;
  }

  .platform-card:hover,
  .service-mosaic article:hover,
  .room-card:hover,
  .search-summary div:hover,
  .hero-proof div:hover,
  .command-room:hover,
  .command-metrics div:hover {
    transform: translate3d(0, -6px, 0);
  }

  .room-image img {
    transform: translate3d(0, 0, 0) scale(1.01);
    transition-property: transform, filter;
    transition-duration: 640ms;
    transition-timing-function: var(--ease-premium);
    will-change: transform;
  }

  .room-card:hover .room-image img {
    transform: translate3d(0, 0, 0) scale(1.07);
  }

  .mega-panel,
  .mobile-menu-panel {
    transition:
      opacity var(--motion-mid) var(--ease-premium),
      transform var(--motion-mid) var(--ease-premium),
      filter var(--motion-mid) var(--ease-premium);
    filter: blur(4px);
  }

  .mega-item:hover .mega-panel,
  .mega-item:focus-within .mega-panel,
  .zenith-nav.is-mobile-open .mobile-menu-panel {
    filter: blur(0);
  }

  .chat-panel {
    transform: translate3d(0, 18px, 0) scale(0.965);
    transition:
      opacity 340ms var(--ease-premium),
      transform 340ms var(--ease-premium),
      filter 340ms var(--ease-premium);
    filter: blur(8px);
    will-change: opacity, transform, filter;
  }

  .chat-panel.is-open,
  .chat-widget.is-open .chat-panel,
  .contact-dock.is-open .chat-panel,
  [data-chat-widget].is-open [data-chat-panel] {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  .corporate-hero-bg,
  .customer-hero,
  .page-hero {
    transform: translate3d(0, 0, 0);
    background-attachment: scroll;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Business portal sections */
.staff-command-hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(118, 240, 194, 0.16), transparent 26rem),
    linear-gradient(135deg, rgba(16, 20, 30, 0.94), rgba(7, 10, 15, 0.92)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.staff-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.staff-profile-card,
.staff-metric-card,
.leader-system,
.team-public-board,
.contract-section,
.partner-path-grid article,
.partner-form-duo,
.culture-section,
.about-company,
.direction-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.staff-profile-card,
.staff-metric-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
}

.profile-avatar {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(118, 240, 194, 0.24);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(65, 216, 255, 0.18), rgba(118, 240, 194, 0.18));
  color: var(--mint);
  font-size: 1.4rem;
  font-weight: 950;
}

.profile-fields {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 10px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-fields span {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-fields strong {
  color: var(--text);
}

.contract-section,
.team-public-board,
.culture-section,
.about-company,
.direction-section {
  padding: clamp(24px, 5vw, 44px);
}

.contract-table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.zalo-example-card {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(118, 240, 194, 0.18);
  border-radius: 18px;
  background: rgba(118, 240, 194, 0.08);
}

.zalo-example-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.zalo-example-card p {
  margin: 0;
  color: var(--soft);
}

.contract-image-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.contract-image-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(118, 240, 194, 0.18);
  border-radius: 999px;
  background: rgba(118, 240, 194, 0.08);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0 9px;
}

.contract-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  color: var(--text);
}

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

.contract-table th {
  color: var(--mint);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contract-table td {
  color: var(--soft);
  font-size: 0.9rem;
}

.leader-system,
.partner-form-duo,
.about-company {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  padding: clamp(24px, 5vw, 48px);
}

.leader-actions,
.team-board-grid,
.values-grid {
  display: grid;
  gap: 14px;
}

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

.leader-actions article,
.team-board-grid article,
.values-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.leader-actions strong,
.team-board-grid span,
.values-grid strong {
  color: var(--mint);
  font-weight: 950;
}

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

.team-board-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.team-board-grid small {
  color: var(--muted);
  font-weight: 750;
}

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

.partner-path-grid ul,
.why-zenith-list ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.partner-path-grid li,
.why-zenith-list li {
  padding: 12px 14px;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #344454;
  font-weight: 750;
}

.partner-form-duo {
  background:
    linear-gradient(135deg, rgba(15, 163, 127, 0.1), rgba(13, 143, 179, 0.07)),
    rgba(255, 255, 255, 0.78);
}

.partner-form-copy h2 {
  color: #17202a;
}

.form-status {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.form-status.is-success {
  border: 1px solid rgba(15, 163, 127, 0.22);
  background: #eef8f4;
  color: #0f7f6a;
}

.form-status.is-error {
  border: 1px solid rgba(214, 74, 74, 0.22);
  background: #fff0f0;
  color: #b73939;
}

.leader-input-section,
.operations-list {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.leader-input-section {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: start;
}

.leader-input-section .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leader-input-section .wide-field {
  grid-column: 1 / -1;
}

.leader-input-section .lead-form button {
  grid-column: 1 / -1;
}

.contract-ocr-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(102, 255, 217, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(102, 255, 217, 0.1), rgba(83, 167, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.contract-ocr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.contract-ocr-panel h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}

.contract-ocr-panel p {
  margin: 6px 0 0;
}

.leader-input-section .lead-form .contract-ocr-head button.primary-button {
  grid-column: auto;
  min-height: 42px;
  width: fit-content;
  white-space: nowrap;
}

.contract-ocr-upload {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.contract-ocr-upload span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.contract-ocr-file-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contract-ocr-file-preview article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.contract-ocr-file-preview article > span {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contract-ocr-file-preview img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.contract-ocr-file-preview div {
  display: grid;
  min-height: 108px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 850;
}

.contract-ocr-file-preview small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-crop-editor {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
}

.contract-crop-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px dashed rgba(102, 255, 217, 0.24);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.contract-crop-toolbar {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.contract-crop-toolbar select {
  min-height: 40px;
  min-width: min(100%, 260px);
  border: 1px solid rgba(102, 255, 217, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 850;
  padding: 0 12px;
}

.contract-crop-toolbar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.leader-input-section .lead-form .contract-crop-toolbar button.secondary-button {
  grid-column: auto;
  min-height: 38px;
  width: auto;
  padding: 0 12px;
  border: 1px solid rgba(102, 255, 217, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: var(--text);
}

.contract-crop-stage {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.contract-crop-stage > strong {
  color: var(--mint);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contract-crop-canvas {
  position: relative;
  overflow: auto;
  max-height: 520px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  touch-action: none;
}

.contract-crop-frame {
  position: relative;
  width: 100%;
}

.contract-crop-frame img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.contract-crop-box {
  position: absolute;
  z-index: 2;
  display: block;
  min-width: 24px;
  min-height: 18px;
  border: 2px dashed rgba(7, 128, 107, 0.46);
  border-radius: 6px;
  background: rgba(7, 128, 107, 0.055);
  box-shadow: none;
  cursor: grab;
  padding: 0;
  opacity: 0.74;
}

.leader-input-section .lead-form .contract-crop-box {
  grid-column: auto;
  min-height: 18px;
  width: auto;
  border: 2px dashed rgba(7, 128, 107, 0.46) !important;
  border-radius: 6px;
  background: rgba(7, 128, 107, 0.055) !important;
  box-shadow: none !important;
  color: inherit;
  padding: 0;
}

.leader-input-section .lead-form .contract-crop-box.is-selected {
  border-color: #ffcf5a !important;
  border-style: solid;
  background: rgba(255, 207, 90, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(255, 207, 90, 0.14), 0 10px 28px rgba(0, 0, 0, 0.12) !important;
}

.contract-crop-box.is-selected {
  border-style: solid;
  border-color: #ffcf5a;
  background: rgba(255, 207, 90, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 207, 90, 0.14), 0 10px 28px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.contract-crop-box:hover {
  opacity: 1;
}

.contract-crop-box span {
  position: absolute;
  left: 0;
  bottom: 100%;
  max-width: 180px;
  transform: translateY(-4px);
  border-radius: 999px;
  background: rgba(6, 27, 24, 0.84);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.leader-input-section .lead-form .contract-crop-box span {
  opacity: 0;
}

.contract-crop-box.is-selected span,
.contract-crop-box:hover span {
  opacity: 1;
}

.leader-input-section .lead-form .contract-crop-box.is-selected span,
.leader-input-section .lead-form .contract-crop-box:hover span {
  opacity: 1;
}

.contract-crop-box i {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ffcf5a;
  cursor: nwse-resize;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.contract-crop-zoom {
  position: fixed;
  z-index: 80;
  display: none;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 10px;
  border: 1px solid rgba(102, 255, 217, 0.28);
  border-radius: 14px;
  background: rgba(5, 22, 20, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.contract-crop-zoom.is-visible {
  display: grid;
  gap: 8px;
}

.contract-crop-zoom span {
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-crop-zoom canvas {
  display: block;
  width: 100%;
  max-height: 132px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.contract-ocr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.leader-input-section .lead-form .contract-ocr-actions button.secondary-button {
  grid-column: auto;
  width: fit-content;
  min-height: 42px;
  border: 1px solid rgba(102, 255, 217, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
}

.leader-input-section .lead-form .contract-ocr-actions button.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 255, 217, 0.42);
}

.leader-input-section .lead-form .contract-ocr-actions button.secondary-button:disabled {
  cursor: progress;
  opacity: 0.58;
  transform: none;
}

.contract-ocr-status {
  padding: 12px 14px;
  border: 1px solid rgba(102, 255, 217, 0.16);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  color: var(--muted);
  font-weight: 800;
}

.contract-ocr-status.is-error {
  border-color: rgba(255, 97, 97, 0.32);
  color: #ffb8b8;
}

.contract-ocr-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.contract-ocr-result {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  min-height: 68px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.contract-crop-link {
  display: block;
  grid-row: span 2;
}

.contract-ocr-result img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.contract-ocr-result span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.contract-ocr-result strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.contract-ocr-result.warn {
  border-color: rgba(255, 196, 87, 0.45);
  background: rgba(255, 196, 87, 0.1);
}

.contract-ocr-result.error {
  border-color: rgba(255, 97, 97, 0.32);
  background: rgba(255, 97, 97, 0.08);
}

.admin-console-link {
  border-color: rgba(15, 127, 106, 0.24);
  background: rgba(15, 127, 106, 0.08);
  color: #0f7f6a;
}

.admin-portal-console {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.admin-portal-console h1 {
  margin: 0;
  color: #17202a;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
}

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

.admin-portal-grid article {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.admin-portal-grid span {
  color: #0f7f6a;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-portal-grid strong {
  color: #17202a;
  font-size: 1.35rem;
}

.admin-portal-emergency {
  display: flex;
  justify-content: flex-start;
}

.admin-toggle-button {
  display: inline-flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.admin-portal-grid button {
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.admin-portal-grid button.is-on,
.admin-toggle-button.is-on {
  background: #17202a;
}

.admin-portal-grid button.is-off,
.admin-toggle-button.is-off {
  background: linear-gradient(135deg, #0f7f6a, #0d8fb3);
}

.admin-portal-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.record-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(22, 35, 48, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.record-list span {
  color: #0f7f6a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.record-list strong {
  color: #17202a;
  font-size: 1.05rem;
}

.record-list p {
  margin: 0;
}

.record-list small {
  color: #61707f;
  font-weight: 750;
}

.career-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.4)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80") center / cover !important;
}

.career-jobs article {
  display: grid;
  gap: 12px;
}

.job-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.job-actions a {
  display: inline-flex;
  min-height: 42px;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(15, 163, 127, 0.2);
  border-radius: 999px;
  background: #eef8f4;
  color: #0f7f6a;
  font-weight: 850;
  padding: 0 14px;
}

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

body.theme-light .culture-section,
body.theme-light .about-company,
body.theme-light .direction-section,
body.theme-light .partner-form-duo,
body.theme-light .partner-path-grid article,
body.theme-light .operations-list {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 35, 48, 0.1);
  color: #17202a;
  box-shadow: var(--shadow);
}

body.theme-light .values-grid article {
  background: #f7faf5;
  border-color: rgba(22, 35, 48, 0.1);
}

body.theme-light .values-grid strong {
  color: #0f7f6a;
}

body.theme-light .values-grid h3,
body.theme-light .about-company h2,
body.theme-light .direction-section h2,
body.theme-light .why-zenith-list h3 {
  color: #17202a;
}

@media (max-width: 1080px) {
  .staff-profile-grid,
  .leader-system,
  .leader-input-section,
  .partner-form-duo,
  .about-company,
  .partner-path-grid,
  .admin-portal-grid {
    grid-template-columns: 1fr;
  }

  .leader-actions,
  .team-board-grid,
  .values-grid,
  .record-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .profile-fields,
  .leader-actions,
  .team-board-grid,
  .values-grid,
  .record-list,
  .contract-ocr-results,
  .contract-ocr-file-preview,
  .leader-input-section .lead-form {
    grid-template-columns: 1fr;
  }

  .contract-ocr-head {
    display: grid;
  }

  .leader-input-section .lead-form .contract-ocr-head button.primary-button {
    width: 100%;
  }

  .contract-section,
  .team-public-board,
  .culture-section,
  .about-company,
  .direction-section,
  .leader-system,
  .leader-input-section,
  .partner-form-duo,
  .operations-list {
    padding: 22px;
  }
}

/* Staff light mode */
body.staff-theme.staff-light-mode {
  --bg: #f7f9f5;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(22, 35, 48, 0.12);
  --text: #17202a;
  --muted: #5f6e7c;
  --soft: #344454;
  --mint: #0f7f6a;
  --cyan: #0d8fb3;
  --gold: #b98216;
  --shadow: 0 24px 70px rgba(28, 43, 58, 0.12);
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 163, 127, 0.13), transparent 28rem),
    radial-gradient(circle at 84% 10%, rgba(13, 143, 179, 0.13), transparent 26rem),
    linear-gradient(180deg, #fbfcf8 0%, #edf5f0 52%, #f8faf6 100%);
  color: var(--text);
}

body.staff-theme.staff-light-mode .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(22, 35, 48, 0.1);
  box-shadow: 0 10px 36px rgba(23, 32, 42, 0.06);
}

body.staff-theme.staff-light-mode .nav-links {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(22, 35, 48, 0.1);
}

body.staff-theme.staff-light-mode .nav-links a,
body.staff-theme.staff-light-mode .ghost-link,
body.staff-theme.staff-light-mode .site-footer,
body.staff-theme.staff-light-mode .site-footer a {
  color: #5c6b77;
}

body.staff-theme.staff-light-mode .staff-theme-toggle {
  background: #17312d;
  color: #fff;
  border-color: #17312d;
}

body.staff-theme.staff-light-mode .staff-command-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.36)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1600&q=80") center / cover;
}

body.staff-theme.staff-light-mode .page-hero h1,
body.staff-theme.staff-light-mode .staff-profile-card h2,
body.staff-theme.staff-light-mode .staff-metric-card h2,
body.staff-theme.staff-light-mode .contract-section h2,
body.staff-theme.staff-light-mode .leader-input-section h2,
body.staff-theme.staff-light-mode .leader-system h2,
body.staff-theme.staff-light-mode .team-public-board h2 {
  color: #17202a;
}

body.staff-theme.staff-light-mode .page-hero p,
body.staff-theme.staff-light-mode p,
body.staff-theme.staff-light-mode .contract-table td,
body.staff-theme.staff-light-mode .profile-fields span,
body.staff-theme.staff-light-mode .zalo-example-card p {
  color: #5b6a78;
}

body.staff-theme.staff-light-mode .staff-profile-card,
body.staff-theme.staff-light-mode .staff-metric-card,
body.staff-theme.staff-light-mode .contract-section,
body.staff-theme.staff-light-mode .leader-input-section,
body.staff-theme.staff-light-mode .leader-system,
body.staff-theme.staff-light-mode .team-public-board,
body.staff-theme.staff-light-mode .leader-actions article,
body.staff-theme.staff-light-mode .team-board-grid article,
body.staff-theme.staff-light-mode .profile-fields,
body.staff-theme.staff-light-mode .contract-table-shell {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 35, 48, 0.1);
  color: #17202a;
  box-shadow: var(--shadow);
}

body.staff-theme.staff-light-mode .metric-strip div,
body.staff-theme.staff-light-mode .zalo-example-card {
  background: #f7faf5;
  border-color: rgba(22, 35, 48, 0.1);
}

body.staff-theme.staff-light-mode .contract-table th,
body.staff-theme.staff-light-mode .eyebrow,
body.staff-theme.staff-light-mode .zalo-example-card span,
body.staff-theme.staff-light-mode .team-board-grid span,
body.staff-theme.staff-light-mode .leader-actions strong {
  color: #0f7f6a;
}

body.staff-theme.staff-light-mode input,
body.staff-theme.staff-light-mode select,
body.staff-theme.staff-light-mode textarea {
  background: #f8faf7;
  border-color: rgba(22, 35, 48, 0.12);
  color: #17202a;
}

body.staff-theme.staff-light-mode .contract-ocr-panel {
  background: #f7faf5;
  border-color: rgba(22, 35, 48, 0.1);
}

body.staff-theme.staff-light-mode .contract-ocr-status,
body.staff-theme.staff-light-mode .contract-ocr-result,
body.staff-theme.staff-light-mode .contract-ocr-file-preview article,
body.staff-theme.staff-light-mode .contract-crop-stage,
body.staff-theme.staff-light-mode .contract-crop-toolbar,
body.staff-theme.staff-light-mode .leader-input-section .lead-form .contract-ocr-actions button.secondary-button {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(22, 35, 48, 0.1);
  color: #17202a;
}

body.staff-theme.staff-light-mode .contract-ocr-file-preview div {
  border-color: rgba(22, 35, 48, 0.14);
  color: #5b6a78;
}

body.staff-theme.staff-light-mode .contract-ocr-result span {
  color: #5b6a78;
}

body.staff-theme.staff-light-mode .contract-crop-toolbar select {
  border-color: rgba(22, 35, 48, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #17202a;
}

body.staff-theme.staff-light-mode .contract-crop-empty {
  border-color: rgba(15, 127, 106, 0.2);
  color: #5b6a78;
}

body.staff-theme.staff-light-mode .contract-ocr-result strong {
  color: #17202a;
}

body.staff-theme.staff-light-mode .primary-button,
body.staff-theme.staff-light-mode .lead-form button {
  border-color: rgba(15, 163, 127, 0.24);
  background: linear-gradient(135deg, #17312d, #0f8f74);
  color: #fff;
}
