:root {
  --green-900: #063f2a;
  --green-800: #07573a;
  --green-700: #0a7a4c;
  --green-600: #13a067;
  --green-100: #e5f7ed;
  --green-50: #f2fbf6;
  --ink: #123126;
  --muted: #64766d;
  --line: #dbece3;
  --white: #ffffff;
  --soft: #f7fbf8;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  text-decoration: none;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-700);
}

.navbar .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 14px;
}

.navbar .nav-link:hover {
  color: var(--green-700);
}

.nav-cta {
  border: 1px solid var(--green-700);
  border-radius: 999px;
  color: var(--green-700) !important;
}

.language-nav-item {
  display: flex;
  align-items: center;
  position: relative;
}

.language-menu {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--green-900);
  background: var(--white);
  font-weight: 800;
  line-height: 1;
}

.language-trigger:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 0.2rem rgba(10, 122, 76, 0.16);
  outline: 0;
}

.language-flag {
  flex: 0 0 auto;
}

.flag-icon {
  display: inline-block;
  width: 25px;
  height: 18px;
  border-radius: 4px;
  background-color: var(--line);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(6, 63, 42, 0.14);
}

.flag-tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Crect width='25' height='18' fill='%23e30a17'/%3E%3Ccircle cx='10' cy='9' r='4.7' fill='%23fff'/%3E%3Ccircle cx='11.4' cy='9' r='3.7' fill='%23e30a17'/%3E%3Cpath fill='%23fff' d='m15.9 9 3.9-1.27-2.41 3.32V6.95l2.41 3.32z'/%3E%3C/svg%3E");
}

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Crect width='25' height='18' fill='%23012169'/%3E%3Cpath stroke='%23fff' stroke-width='3.4' d='m0 0 25 18M25 0 0 18'/%3E%3Cpath stroke='%23c8102e' stroke-width='1.8' d='m0 0 25 18M25 0 0 18'/%3E%3Cpath fill='%23fff' d='M10 0h5v18h-5zM0 6.5h25v5H0z'/%3E%3Cpath fill='%23c8102e' d='M11 0h3v18h-3zM0 7.5h25v3H0z'/%3E%3C/svg%3E");
}

.flag-ar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Crect width='25' height='18' fill='%23006c35'/%3E%3Cpath fill='%23fff' d='M6 7.8h13v1.1H6zM7.2 10.2h10.5v1H7.2zM8 6.2h1v4.8H8zM16.8 6.2h1v4.8h-1z'/%3E%3Cpath fill='%23fff' d='M8.2 11.5h9.2v.9H8.2z'/%3E%3C/svg%3E");
}

.flag-de {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Cpath fill='%23000' d='M0 0h25v6H0z'/%3E%3Cpath fill='%23dd0000' d='M0 6h25v6H0z'/%3E%3Cpath fill='%23ffce00' d='M0 12h25v6H0z'/%3E%3C/svg%3E");
}

.flag-fr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Cpath fill='%23002395' d='M0 0h8.33v18H0z'/%3E%3Cpath fill='%23fff' d='M8.33 0h8.34v18H8.33z'/%3E%3Cpath fill='%23ed2939' d='M16.67 0H25v18h-8.33z'/%3E%3C/svg%3E");
}

.flag-es {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Cpath fill='%23aa151b' d='M0 0h25v4.5H0zM0 13.5h25V18H0z'/%3E%3Cpath fill='%23f1bf00' d='M0 4.5h25v9H0z'/%3E%3Crect x='5' y='7' width='3' height='4' rx='.4' fill='%23aa151b'/%3E%3C/svg%3E");
}

.flag-ru {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 18'%3E%3Cpath fill='%23fff' d='M0 0h25v6H0z'/%3E%3Cpath fill='%230039a6' d='M0 6h25v6H0z'/%3E%3Cpath fill='%23d52b1e' d='M0 12h25v6H0z'/%3E%3C/svg%3E");
}

.language-code {
  min-width: 22px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.language-chevron {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.language-menu.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 184px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(6, 63, 42, 0.16);
}

.language-menu.is-open .language-options {
  display: grid;
  gap: 4px;
}

.language-options button {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  padding: 9px 10px;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-align: left;
}

.language-option-code {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.language-options button:hover,
.language-options button.is-selected {
  color: var(--green-900);
  background: var(--green-50);
}

html[dir="rtl"] .language-options {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-options button {
  text-align: right;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .navbar-nav,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .footer-grid {
  padding-right: 0;
}

html[dir="rtl"] .visual-list div {
  grid-template-columns: auto 1fr 12px;
}

.hero-section {
  padding: 142px 0 78px;
  background:
    linear-gradient(120deg, rgba(242, 251, 246, 0.95), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at 80% 20%, rgba(19, 160, 103, 0.16), transparent 34%);
}

.hero-grid,
.split-grid,
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1,
.section-heading h2,
.split-grid h2,
.trust-grid h2,
.cta-section h2 {
  color: var(--green-900);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  margin-bottom: 24px;
}

.hero-copy p,
.section-heading p,
.split-grid p,
.trust-grid p,
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn-primary-green,
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary-green {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 28px rgba(10, 122, 76, 0.22);
}

.btn-primary-green:hover {
  color: var(--white);
  background: var(--green-800);
}

.btn-outline-green {
  color: var(--green-800);
  border: 1px solid var(--green-700);
  background: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
}

.hero-metrics div,
.feature-card,
.role-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics strong {
  display: block;
  color: var(--green-800);
  font-size: 1.45rem;
}

.hero-metrics span {
  color: var(--muted);
  font-weight: 600;
}

.dashboard-visual {
  border: 1px solid rgba(10, 122, 76, 0.22);
  border-radius: 18px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6, 63, 42, 0.16);
}

.visual-topbar {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-50);
}

.visual-header small,
.visual-list p {
  color: var(--muted);
}

.visual-header strong {
  display: block;
  color: var(--green-900);
  font-size: 2.4rem;
}

.status-pill {
  color: var(--white);
  background: var(--green-700);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
}

.occupancy-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 180px;
  padding: 24px 14px 8px;
}

.occupancy-chart span {
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
}

.visual-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.visual-list div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-list p {
  margin: 0;
}

.visual-list strong {
  color: var(--green-900);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.success {
  background: var(--green-600);
}

.dot.warning {
  background: #d9a441;
}

.dot.calm {
  background: #348f9d;
}

.content-section,
.role-section,
.language-section,
.trust-section,
.cta-section {
  padding: 88px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading h2,
.split-grid h2,
.trust-grid h2,
.cta-section h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

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

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-800);
  background: var(--green-100);
  font-weight: 900;
  margin-bottom: 20px;
}

.feature-card h3,
.role-grid h3,
.module-list strong {
  color: var(--green-900);
  font-weight: 800;
}

.feature-card p,
.role-grid p,
.module-list span {
  color: var(--muted);
  line-height: 1.65;
}

.role-section {
  background: var(--green-900);
}

.language-section {
  background: var(--green-50);
}

.language-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  background: var(--white);
  box-shadow: 0 24px 64px rgba(6, 63, 42, 0.1);
}

.language-card h2 {
  color: var(--green-900);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 850;
  line-height: 1.08;
}

.language-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.translation-flow {
  display: grid;
  gap: 14px;
}

.translation-flow span,
.translation-flow strong {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
}

.translation-flow span {
  color: var(--green-900);
  border: 1px solid var(--line);
  background: var(--green-50);
}

.translation-flow strong {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 30px rgba(10, 122, 76, 0.22);
}

.section-heading.light h2,
.section-heading.light .section-kicker {
  color: var(--white);
}

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

.role-grid article {
  padding: 28px;
}

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

.module-list div {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-items span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-900);
  background: var(--white);
  font-weight: 800;
}

.pricing-section {
  padding: 92px 0;
  background: #ffffff;
}

.pricing-heading {
  max-width: 920px;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fbfdfb;
  box-shadow: 0 18px 44px rgba(6, 63, 42, 0.07);
}

.pricing-card-featured {
  border-color: rgba(10, 122, 76, 0.42);
  background:
    linear-gradient(180deg, rgba(229, 247, 237, 0.86), rgba(255, 255, 255, 0.98));
  box-shadow: 0 26px 70px rgba(6, 63, 42, 0.14);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.75rem;
  font-weight: 900;
}

.pricing-card-head {
  display: grid;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.pricing-label {
  display: inline-flex;
  width: fit-content;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  max-width: 330px;
  color: var(--green-900);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 0;
}

.pricing-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--green-900);
}

.pricing-price strong {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-price span {
  color: var(--muted);
  font-weight: 850;
}

.pricing-features {
  display: grid;
  gap: 11px;
  padding: 20px 0 22px;
  margin: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  min-height: 24px;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green-700), var(--green-600));
}

.pricing-features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--green-700);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--green-800);
  background: var(--white);
  font-weight: 900;
}

.pricing-action:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.pricing-action.primary {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 28px rgba(10, 122, 76, 0.22);
}

.pricing-action.primary:hover {
  color: var(--white);
  background: var(--green-800);
}

.pricing-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: var(--green-50);
  line-height: 1.65;
}

.pricing-note strong {
  color: var(--green-900);
}

.cta-section {
  text-align: center;
  background: var(--green-50);
}

.cta-section .container {
  max-width: 820px;
}

.cta-section p {
  margin: 18px auto 28px;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-900);
}

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

.footer-grid strong {
  color: var(--white);
}

.system-login-page {
  min-height: 100vh;
  padding: 118px 0 72px;
  background:
    linear-gradient(120deg, rgba(242, 251, 246, 0.98), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 18% 22%, rgba(19, 160, 103, 0.14), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(52, 143, 157, 0.12), transparent 30%);
}

.system-login-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.system-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--green-900);
  font-weight: 850;
}

.system-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.system-login-copy h1 {
  max-width: 720px;
  color: var(--green-900);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.system-login-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.system-login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.system-login-highlights span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.system-login-card {
  border: 1px solid rgba(10, 122, 76, 0.18);
  border-radius: 14px;
  padding: 30px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(6, 63, 42, 0.14);
}

.system-login-heading {
  margin-bottom: 24px;
}

.system-login-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-login-heading h2 {
  color: var(--green-900);
  font-size: 2rem;
  font-weight: 850;
  margin: 0 0 8px;
}

.system-login-heading p {
  color: var(--muted);
  margin: 0;
}

.login-alert {
  margin-bottom: 18px;
  border: 1px solid #f0d4a7;
  border-radius: 8px;
  padding: 12px 14px;
  color: #7a4b05;
  background: #fff7e8;
  font-weight: 700;
}

.system-login-form {
  display: grid;
  gap: 12px;
}

.system-login-form label {
  color: var(--green-900);
  font-weight: 800;
}

.system-login-form input[type="email"],
.system-login-form input[type="password"] {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
}

.system-login-form input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 0.2rem rgba(10, 122, 76, 0.14);
  outline: 0;
}

.system-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 10px;
}

.remember-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted) !important;
  font-size: 0.94rem;
}

.remember-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-700);
}

.system-login-row a {
  color: var(--green-700);
  font-weight: 800;
  white-space: nowrap;
}

.system-login-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 28px rgba(10, 122, 76, 0.22);
  font-weight: 850;
}

.system-login-button:hover {
  background: var(--green-800);
}

.auth-layout .system-login-page {
  padding: 58px 0;
}

.system-layout {
  overflow-x: hidden;
  background: #f5f8f6;
}

.system-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--ink);
  background: #f5f8f6;
}

.system-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  min-height: 100vh;
  align-content: start;
  gap: 30px;
  border-right: 1px solid #dce8df;
  padding: 24px 18px;
  background: #ffffff;
}

.system-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 900;
}

.system-nav {
  display: grid;
  gap: 6px;
}

.system-nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 12px;
  color: #62746b;
  font-weight: 800;
}

.system-nav a span {
  color: #93a49b;
  font-size: 0.72rem;
  font-weight: 900;
}

.system-nav a:hover,
.system-nav a.is-active {
  color: var(--green-900);
  background: var(--green-50);
}

.system-nav a:hover span,
.system-nav a.is-active span {
  color: var(--green-700);
}

.system-nav-group {
  display: grid;
  gap: 6px;
}

.system-nav-group-title {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--green-900);
  background: var(--green-50);
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.system-nav-group-title span {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 900;
}

.system-subnav {
  display: grid;
  gap: 4px;
  margin-left: 24px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.system-subnav.is-collapsed {
  display: none;
}

.system-subnav a {
  display: flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: #62746b;
  font-size: 0.92rem;
  font-weight: 800;
}

.system-subnav a:hover {
  color: var(--green-900);
  background: #f7fbf8;
}

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

.system-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dce8df;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.system-topbar strong {
  display: block;
  color: var(--green-900);
  font-size: 1rem;
}

.system-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.system-icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-900);
  background: var(--white);
  font-weight: 900;
}

.system-dashboard {
  padding: 30px;
}

.system-page {
  display: none;
}

.system-page.is-active {
  display: block;
}

.system-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.system-page-heading h1 {
  max-width: 860px;
  color: var(--green-900);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1.07;
  margin: 0 0 12px;
}

.system-page-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.system-page-heading.compact {
  align-items: center;
}

.system-page-heading.compact h1 {
  max-width: 720px;
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.system-heading-actions {
  display: inline-flex;
  gap: 10px;
  flex: 0 0 auto;
}

.system-kicker {
  display: inline-flex;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.system-primary-button,
.system-secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
  white-space: nowrap;
}

.system-primary-button {
  border: 1px solid var(--green-700);
  color: var(--white);
  background: var(--green-700);
}

.system-secondary-button {
  border: 1px solid var(--line);
  color: var(--green-900);
  background: var(--white);
}

.system-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.system-stat-grid article,
.system-panel {
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(6, 63, 42, 0.055);
}

.system-stat-grid article {
  padding: 18px;
}

.system-stat-grid span,
.system-stat-grid small {
  color: var(--muted);
  font-weight: 750;
}

.system-stat-grid strong {
  display: block;
  color: var(--green-900);
  font-size: 2rem;
  line-height: 1;
  margin: 8px 0;
}

.system-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 16px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 16px;
  margin-bottom: 28px;
}

.overview-panel-large {
  grid-column: span 1;
}

.system-panel {
  padding: 22px;
}

.system-panel-large {
  grid-column: span 1;
}

.system-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.system-panel-heading h2 {
  color: var(--green-900);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}

.system-status-pill {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-progress-list,
.quick-action-list,
.module-health-grid,
.audit-feed {
  display: grid;
  gap: 12px;
}

.dashboard-progress-list div {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfb;
}

.dashboard-progress-list strong,
.module-health-grid strong,
.audit-feed strong {
  color: var(--green-900);
  font-weight: 900;
}

.dashboard-progress-list span,
.module-health-grid span,
.audit-feed span {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-progress-list progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--green-100);
}

.dashboard-progress-list progress::-webkit-progress-bar {
  background: var(--green-100);
}

.dashboard-progress-list progress::-webkit-progress-value {
  background: var(--green-700);
}

.quick-action-list button {
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--green-900);
  background: #fbfdfb;
  font-weight: 850;
  text-align: left;
}

.quick-action-list button:hover {
  border-color: rgba(10, 122, 76, 0.35);
  background: var(--green-50);
}

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

.module-health-grid div {
  position: relative;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  overflow: hidden;
  background: #fbfdfb;
}

.module-health-grid em {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--green-700);
}

.audit-feed div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
}

.audit-feed div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.definition-section-heading {
  margin: 8px 0 16px;
}

.definition-section-heading h2 {
  color: var(--green-900);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 6px;
}

.definition-section-heading p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
}

.definitions-grid {
  align-items: start;
}

.system-list-page {
  display: grid;
  gap: 16px;
}

.system-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px;
  gap: 12px;
  margin-bottom: 16px;
}

.system-toolbar input,
.system-toolbar select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
  font-weight: 750;
}

.definition-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.definition-table-row {
  display: grid;
  grid-template-columns: var(--row-cols, 110px minmax(180px, 1.1fr) minmax(180px, 1fr) 110px 110px);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: var(--white);
  min-width: 800px;
}

.definition-table-row:last-child {
  border-bottom: 0;
}

.definition-table-head {
  min-height: 50px;
  color: var(--muted);
  background: var(--green-50);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.definition-table-row span {
  color: var(--muted);
  font-weight: 750;
}

.definition-table-row strong {
  color: var(--green-900);
  font-weight: 900;
}

.definition-table-row em {
  justify-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-900);
  background: var(--green-100);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
}

.definition-table-row em.warning {
  color: #7a5b12;
  background: #fff3cd;
}

.definition-table-row button {
  min-height: 36px;
  border: 1px solid var(--green-700);
  border-radius: 8px;
  color: var(--green-800);
  background: var(--white);
  font-weight: 900;
}

.definition-row-actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.definition-row-actions .danger {
  border-color: #b42318;
  color: #b42318;
}

.system-primary-button:disabled,
.system-secondary-button:disabled,
.definition-table-row button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

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

.system-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 850;
}

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

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

.system-form-grid input,
.system-form-grid select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
}

.system-form-grid input:focus,
.system-form-grid select:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 0.2rem rgba(10, 122, 76, 0.12);
  outline: 0;
}

.system-form-grid input[readonly] {
  color: var(--green-900);
  background: var(--green-50);
  font-weight: 850;
}

.system-form-footer {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.definition-list,
.module-switch-list,
.setup-timeline {
  display: grid;
  gap: 10px;
}

.definition-list div,
.setup-timeline div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--green-50);
}

.definition-list strong,
.setup-timeline strong {
  color: var(--green-900);
  font-weight: 900;
}

.definition-list span,
.setup-timeline small {
  color: var(--muted);
  font-weight: 700;
}

.license-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.license-package-card {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid #dce8df;
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(6, 63, 42, 0.055);
}

.license-package-card.is-featured {
  border-color: rgba(10, 122, 76, 0.42);
  background: linear-gradient(180deg, var(--green-50), var(--white));
  box-shadow: 0 20px 54px rgba(6, 63, 42, 0.12);
}

.license-featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.74rem;
  font-weight: 900;
}

.license-package-card h2 {
  color: var(--green-900);
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0;
}

.license-package-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.license-package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.license-package-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 0.8rem;
  font-weight: 900;
}

.license-package-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.license-package-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.license-package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-700);
}

.package-license-preview {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: var(--green-50);
}

.package-license-preview strong {
  color: var(--green-900);
  font-size: 1.05rem;
  font-weight: 900;
}

.package-license-preview span {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}

.test-result-panel {
  display: grid;
  gap: 10px;
}

.test-result-panel > div,
.test-result-panel > span,
.test-result-panel > strong {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--green-50);
}

.test-result-panel strong {
  color: var(--green-900);
  font-weight: 900;
}

.test-result-panel span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.reception-workspace {
  padding: 28px;
}

.reception-layout .system-sidebar {
  background: #fbfefc;
}

.reception-layout .system-topbar {
  background: #fff;
}

.reception-layout .system-page:not(.is-active) {
  display: none;
}

.reception-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.reception-stat-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  display: grid;
  gap: 5px;
}

.reception-stat-grid span,
.reception-stat-grid small {
  color: var(--muted);
  font-weight: 750;
}

.reception-stat-grid strong {
  color: var(--green-900);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.reception-board-grid,
.reception-chat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reception-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: start;
}

.reception-card,
.reception-result-card {
  max-width: none;
}

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

.reception-card label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 900;
}

.reception-card input,
.reception-card select,
.reception-note-box {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: #12352b;
  background: #fbfdfb;
  font-weight: 750;
  outline: none;
}

.reception-card input:focus,
.reception-card select:focus,
.reception-note-box:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(6, 95, 70, .08);
}

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

.reception-task-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--green-50);
  display: grid;
  gap: 5px;
}

.reception-task-list strong {
  color: var(--green-900);
}

.reception-task-list span {
  color: var(--muted);
  font-weight: 750;
}

.system-table.reception-table .system-table-row {
  grid-template-columns: 1.2fr .6fr 1fr .7fr 1fr;
}

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

.reception-message {
  border-radius: 8px;
  padding: 13px 14px;
  font-weight: 750;
  line-height: 1.5;
}

.reception-message.is-guest {
  background: #eef7f1;
  color: #12352b;
}

.reception-message.is-staff {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.reception-note-box {
  min-height: 220px;
  padding: 16px;
  resize: vertical;
  line-height: 1.6;
}

.qr-preview {
  min-height: 260px;
  border: 1px dashed rgba(7, 92, 58, .25);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f7fbf8;
  color: #6b7b73;
  font-weight: 800;
  text-align: center;
}

.qr-preview img {
  width: 220px;
  height: 220px;
  display: block;
  margin: 0 auto 12px;
}

.qr-preview small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #24463a;
}

.module-switch-list label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--green-900);
  background: #fbfdfb;
  font-weight: 850;
}

.module-switch-list input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-700);
}

.system-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.system-table-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr 90px;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
}

.system-table-row:last-child {
  border-bottom: 0;
}

.system-table-head {
  color: var(--muted);
  background: var(--green-50);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-table-row span {
  color: var(--ink);
  font-weight: 750;
}

.system-table-row strong {
  justify-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 0.82rem;
}

.system-table-row strong.muted {
  color: #7a5b12;
  background: #fff3cd;
}

.setup-timeline div {
  grid-template-columns: 34px 1fr;
  align-items: center;
}

.setup-timeline span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.setup-timeline small {
  grid-column: 2;
}

.system-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(6, 63, 42, 0.2);
}

.system-modal .modal-header,
.system-modal .modal-footer {
  border-color: var(--line);
}

.system-modal .modal-title {
  color: var(--green-900);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}

.system-modal-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.system-modal-header-actions .system-primary-button {
  min-height: 38px;
}

.system-feedback-modal .modal-dialog {
  max-width: 430px;
}

.system-feedback-modal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(10, 122, 76, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(6, 63, 42, 0.24);
}

.system-feedback-accent {
  height: 6px;
  background: var(--green-700);
}

.system-feedback-modal .modal-body {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 26px 26px 18px;
}

.system-feedback-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-700);
  font-size: 1.45rem;
  font-weight: 900;
}

.system-feedback-copy h2 {
  color: var(--green-900);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 8px;
}

.system-feedback-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.system-feedback-modal .modal-footer {
  border-color: var(--line);
  padding: 16px 26px 22px;
}

.system-feedback-modal.is-error .system-feedback-accent,
.system-feedback-modal.is-error .system-feedback-icon {
  background: #b42318;
}

.system-feedback-modal.is-error .system-kicker,
.system-feedback-modal.is-error .system-feedback-copy h2 {
  color: #7a271a;
}

.system-feedback-modal.is-warning .system-feedback-accent,
.system-feedback-modal.is-warning .system-feedback-icon {
  background: #d99a1e;
}

.system-feedback-modal.is-warning .system-kicker,
.system-feedback-modal.is-warning .system-feedback-copy h2 {
  color: #7a4b05;
}

.admin-console {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 72px;
  background: var(--soft);
}

.admin-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  display: grid;
  min-height: calc(100vh - 72px);
  align-content: start;
  gap: 28px;
  border-right: 1px solid var(--line);
  padding: 28px 20px;
  background: var(--white);
}

.admin-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 850;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: var(--green-900);
  background: var(--green-50);
}

.admin-workspace {
  padding: 34px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-eyebrow {
  display: inline-flex;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.admin-topbar h1 {
  color: var(--green-900);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 850;
  line-height: 1.08;
  margin: 0;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  background: var(--white);
  white-space: nowrap;
}

.admin-user-chip span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-700);
  font-weight: 900;
}

.admin-user-chip strong {
  color: var(--green-900);
}

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

.admin-metrics article,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 63, 42, 0.06);
}

.admin-metrics article {
  padding: 20px;
}

.admin-metrics span,
.admin-metrics small {
  color: var(--muted);
  font-weight: 700;
}

.admin-metrics strong {
  display: block;
  color: var(--green-900);
  font-size: 2rem;
  line-height: 1;
  margin: 8px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel.wide {
  grid-row: span 2;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  color: var(--green-900);
  font-size: 1.45rem;
  font-weight: 850;
  margin: 0;
}

.panel-heading button {
  border: 1px solid var(--green-700);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--green-800);
  background: var(--white);
  font-weight: 850;
  white-space: nowrap;
}

.setup-steps,
.request-board,
.check-list,
.role-matrix,
.load-list {
  display: grid;
  gap: 12px;
}

.setup-steps div,
.request-board div,
.role-matrix div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--green-50);
}

.setup-steps strong {
  color: var(--green-700);
  font-size: 0.9rem;
}

.setup-steps span,
.request-board strong,
.role-matrix strong {
  color: var(--green-900);
  font-weight: 850;
}

.setup-steps small,
.request-board small,
.role-matrix span {
  color: var(--muted);
  font-weight: 650;
}

.check-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--green-900);
  background: var(--soft);
  font-weight: 800;
}

.load-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.load-list div:last-child {
  border-bottom: 0;
}

.load-list span {
  color: var(--muted);
  font-weight: 800;
}

.load-list strong {
  color: var(--green-800);
  font-size: 1.15rem;
}

.hotel-console .admin-user-chip span,
.hotel-console .panel-heading button {
  background: #348f9d;
}

.hotel-console .panel-heading button {
  border-color: #348f9d;
  color: var(--white);
}

@media (max-width: 991.98px) {
  .hero-grid,
  .split-grid,
  .trust-grid,
  .language-card {
    grid-template-columns: 1fr;
  }

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

  .navbar-collapse {
    padding: 14px 0;
  }

  .language-nav-item,
  .language-menu,
  .language-trigger {
    width: 100%;
  }

  .language-trigger {
    justify-content: space-between;
  }

  .language-options {
    left: 0;
    right: 0;
    width: 100%;
  }

  .system-login-grid {
    grid-template-columns: 1fr;
  }

  .system-login-highlights {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .pricing-card h3 {
    max-width: 680px;
  }

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

  .system-shell {
    grid-template-columns: 1fr;
  }

  .system-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .system-page-heading,
  .system-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-topbar {
    min-height: auto;
    padding: 18px;
  }

  .system-stat-grid,
  .system-content-grid,
  .overview-grid,
  .module-health-grid,
  .license-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-panel-large {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 118px;
  }

  .hero-metrics,
  .feature-grid,
  .role-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

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

  .btn-primary-green,
  .btn-outline-green {
    width: 100%;
  }

  .dashboard-visual {
    border-radius: 12px;
    padding: 12px;
  }

  .system-login-page {
    padding-top: 98px;
  }

  .system-login-card {
    padding: 22px;
  }

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

  .admin-workspace {
    padding: 22px 16px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-panel.wide {
    grid-column: auto;
  }

  .panel-heading {
    flex-direction: column;
  }

  .panel-heading button {
    width: 100%;
  }

  .pricing-section {
    padding: 68px 0;
  }

  .pricing-card {
    padding: 22px;
  }

  .pricing-badge {
    position: static;
    width: fit-content;
    margin-bottom: 14px;
  }

  .pricing-price strong {
    font-size: 2rem;
  }

  .pricing-note {
    grid-template-columns: 1fr;
  }

  .system-dashboard {
    padding: 18px 14px;
  }

  .system-nav,
  .system-stat-grid,
  .system-content-grid,
  .system-form-grid,
  .overview-grid,
  .module-health-grid,
  .license-package-grid,
  .reception-grid,
  .form-grid-two,
  .reception-stat-grid,
  .reception-board-grid,
  .reception-chat-grid {
    grid-template-columns: 1fr;
  }

  .license-featured-badge {
    position: static;
    width: fit-content;
  }

  .system-page-heading,
  .system-panel-heading,
  .system-form-footer,
  .system-heading-actions,
  .system-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .system-panel-large {
    grid-column: auto;
  }

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

  .system-table-row {
    min-width: 760px;
  }

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

/* ==========================================================================
   STAYZORA LANDING PAGE UPGRADE - PREMIUM & INTERACTIVE COMPONENTS
   ========================================================================== */

/* 1. Interactive Product Simulator */
.simulator-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 90%, rgba(229, 247, 237, 0.45), transparent 40%), var(--white);
  border-bottom: 1px solid var(--line);
}

.simulator-title-area {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 48px;
  align-items: stretch;
}

/* Smartphone Mockup */
.simulator-phone {
  background: #031a11;
  border: 12px solid #063f2a;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(6, 63, 42, 0.25), inset 0 2px 8px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 580px;
  transition: transform 0.3s ease;
}

.simulator-phone:hover {
  transform: translateY(-5px);
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background: #063f2a;
  border-radius: 2px;
  margin: 12px auto 0;
}

.phone-screen {
  flex: 1;
  background: #fdfefe;
  margin: 10px;
  border-radius: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 16px;
  font-family: inherit;
}

/* Guest PWA Screen App Styles */
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.phone-header span {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--green-900);
}

.phone-room-badge {
  background: var(--green-100);
  color: var(--green-700);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.phone-services-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.phone-services-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(6, 63, 42, 0.02);
}

.phone-btn:hover {
  border-color: var(--green-700);
  background: var(--green-50);
  transform: translateX(4px);
}

.phone-btn:active {
  transform: scale(0.97);
}

.phone-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green-100);
  font-size: 1.25rem;
  transition: background 0.2s;
}

.phone-btn:hover .phone-btn-icon {
  background: var(--green-700);
  color: var(--white);
}

.phone-btn-content {
  display: flex;
  flex-direction: column;
}

.phone-btn-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--green-900);
}

.phone-btn-desc {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Simulator PMS Board */
.simulator-pms {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(6, 63, 42, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 580px;
}

.pms-header {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pms-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--green-900);
}

.pms-dot-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green-700);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-700);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}

.pms-board {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  background: #fdfdfd;
}

.pms-column {
  display: flex;
  flex-direction: column;
  background: var(--soft);
  border-radius: 12px;
  border: 1px dashed var(--line);
  padding: 12px;
  overflow-y: auto;
  min-height: 100%;
}

.pms-col-title {
  font-size: 0.8rem;
  font-weight: 850;
  color: var(--green-900);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pms-col-count {
  background: var(--line);
  color: var(--green-900);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
}

.pms-cards-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Simulator Kanban Card */
.sim-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 3px 6px rgba(6, 63, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideInCard 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInCard {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.sim-card-badge.tech { background: #fee2e2; color: #ef4444; }
.sim-card-badge.house { background: #e0f2fe; color: #0284c7; }
.sim-card-badge.room { background: #fef3c7; color: #d97706; }

.sim-card-room {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.sim-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-900);
  margin: 0;
}

.sim-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--soft);
  padding-top: 6px;
  font-size: 0.7rem;
}

.sim-card-assignee {
  color: var(--muted);
  font-weight: 700;
}

.sim-card-status {
  font-weight: 800;
  color: var(--green-700);
}

/* 2. Translation Simulator */
.translation-simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.translation-chat-mockup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(6, 63, 42, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.translation-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.translation-chat-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.translation-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--green-700);
}

.translation-chat-userinfo {
  display: flex;
  flex-direction: column;
}

.translation-chat-username {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--green-900);
}

.translation-chat-userrole {
  font-size: 0.72rem;
  color: var(--muted);
}

.translation-chat-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

/* Chat Bubbles */
.translation-bubble {
  max-width: 82%;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  animation: popIn 0.3s ease forwards;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.translation-bubble.guest {
  align-self: flex-start;
  background: #f1f5f3;
  color: var(--green-900);
  border-bottom-left-radius: 4px;
}

.translation-bubble.staff {
  align-self: flex-end;
  background: var(--green-700);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.translation-translated-text {
  font-size: 0.72rem;
  opacity: 0.8;
  border-top: 1px solid rgba(6, 63, 42, 0.08);
  padding-top: 4px;
  margin-top: 2px;
  font-style: italic;
}

.translation-bubble.staff .translation-translated-text {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.translation-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.translation-tab-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.translation-tab-btn.active {
  border-color: var(--green-700);
  background: var(--green-50);
  color: var(--green-900);
}

/* 3. FAQ Accordion */
.faq-accordion-section {
  padding: 100px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.faq-accordion-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(6, 63, 42, 0.02);
  transition: all 0.2s ease;
}

.faq-card-item:hover {
  border-color: var(--green-700);
  box-shadow: 0 6px 16px rgba(6, 63, 42, 0.04);
}

.faq-header-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question-text {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--green-900);
  margin: 0;
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-card-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--green-700);
  color: var(--white);
}

.faq-content-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-card-item.is-open .faq-content-pane {
  padding-bottom: 22px;
}

.faq-content-pane p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* 4. Glassmorphic Demo Form */
.demo-form-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(219, 236, 227, 0.6);
  border-radius: 20px;
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(6, 63, 42, 0.15);
}

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

.demo-form-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-form-card label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-900);
  letter-spacing: 0.05em;
}

.demo-form-card input,
.demo-form-card select,
.demo-form-card textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-900);
  outline: none;
  transition: all 0.2s;
}

.demo-form-card input:focus,
.demo-form-card select:focus,
.demo-form-card textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(10, 122, 76, 0.1);
}

.demo-form-card button[type="submit"] {
  background: var(--green-700);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  min-height: 48px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 20px rgba(10, 122, 76, 0.16);
}

.demo-form-card button[type="submit"]:hover {
  background: var(--green-800);
  box-shadow: 0 12px 24px rgba(10, 122, 76, 0.22);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */

@media (max-width: 991.98px) {
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .simulator-phone {
    max-width: 380px;
    margin: 0 auto;
    height: 520px;
  }
  
  .simulator-pms {
    height: 480px;
  }

  .translation-simulator-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .simulator-pms {
    height: 420px;
  }

  .pms-board {
    grid-template-columns: 1fr;
    overflow-y: auto;
    gap: 12px;
  }

  .pms-column {
    min-height: 200px;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .demo-form-card {
    padding: 24px;
  }
  
  .translation-chat-mockup {
    height: 360px;
    padding: 16px;
  }
  
  .translation-bubble {
    max-width: 90%;
  }
}

/* 5. Contact Demo Grid */
.contact-demo-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 30px;
}

.quick-contact-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(219, 236, 227, 0.6);
  border-radius: 20px;
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(6, 63, 42, 0.15);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quick-contact-header h3 {
  color: var(--green-900);
  font-weight: 900;
  font-size: 1.4rem;
  margin: 6px 0 10px;
}

.quick-contact-header p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.contact-people-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-person-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--soft);
  border-radius: 12px;
  border: 1.5px solid var(--line);
  transition: all 0.2s ease;
}

.contact-person-item:hover {
  border-color: var(--green-700);
  background: var(--green-50);
  transform: translateY(-2px);
}

.contact-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details strong {
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-details a {
  color: var(--green-700);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.contact-details a:hover {
  color: var(--green-800);
}

.contact-details a.whatsapp-link {
  color: #20ba5a;
}

.contact-details a.whatsapp-link:hover {
  color: #1b9e4d;
}

@media (max-width: 991.98px) {
  .contact-demo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

