﻿:root {
  color-scheme: dark;
  --bg: #07090c;
  --panel: rgba(18, 20, 22, 0.74);
  --panel-strong: rgba(28, 31, 34, 0.84);
  --line: rgba(235, 238, 242, 0.13);
  --text-muted: #a5a9ad;
  --warm: #d7dce1;
  --warm-soft: rgba(235, 238, 242, 0.1);
  --steel: #b7bcc1;
  --red: #d7dce1;
  --red-soft: rgba(235, 238, 242, 0.1);
  --green: #c3c8cd;
  --green-soft: rgba(225, 229, 233, 0.09);
  --blue: #eef2f5;
  --blue-soft: rgba(238, 242, 245, 0.1);
  --ink: #010203;
  --ink-line: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 255, 255, 0.1), transparent 30rem),
    radial-gradient(circle at 88% 4%, rgba(180, 185, 190, 0.09), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(100, 104, 108, 0.08), transparent 34rem),
    linear-gradient(135deg, #050506 0%, #17191b 48%, #08090a 100%);
}

button,
input {
  font: inherit;
}

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

.brand-block,
.top-actions,
.customer-row,
.section-head,
.action-row,
.follow-up,
.timeline-item {
  display: flex;
  align-items: center;
}

.brand-block h2 {
  display: block;
  font-weight: 800;
}

.brand-block span,
.profile-chip span,
.customer-row span,
.summary-box span,
.analysis-metrics span,
.follow-up span,
.section-head span,
.timeline-item span {
  color: var(--text-muted);
  font-size: 12px;
}

.mark,
.brand-logo,
.icon-chip,
.timeline-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #79b486;
  box-shadow: 0 0 16px rgba(121, 180, 134, 0.72);
}

.status-dot.inactive {
  background: var(--warm);
  box-shadow: 0 0 14px rgba(205, 211, 217, 0.45);
}

.main-panel {
  min-width: 0;
  width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(320px, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.72);
  background: rgba(7, 10, 13, 0.78);
  backdrop-filter: blur(18px);
  min-height: 82px;
  padding: 12px 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand-block {
  gap: 12px;
  min-width: 0;
}

.brand-block > div {
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand-logo:hover,
.brand-logo:focus-visible {
  filter: drop-shadow(0 0 14px rgba(235, 238, 242, 0.18));
  transform: translateY(-1px);
  outline: 0;
}

.brand-block h2 {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(235, 248, 255, 0.045);
  padding: 0 14px;
}

.search-box input {
  width: 100%;
  outline: 0;
  background: transparent;
  color: #f5f0e8;
}

.search-box input::placeholder {
  color: #807a73;
}

.top-actions {
  gap: 12px;
  justify-self: end;
  min-width: 0;
}

.manager-page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.manager-page-nav::-webkit-scrollbar {
  display: none;
}

.manager-page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #e8f4fb;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.manager-page-nav a.brochure-link,
.guest-nav a.brochure-link {
  border-color: rgba(255, 220, 160, .28);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 220, 160, .18), transparent 3rem),
    rgba(255, 220, 160, .09);
  color: #fff2d8;
}

.manager-page-nav svg {
  width: 16px;
  height: 16px;
  color: #ffdca0;
}

.public-topbar {
  position: sticky;
  top: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  border-radius: 28px;
  background: rgba(13, 18, 23, .82);
  backdrop-filter: blur(18px);
}

.public-topbar .manager-page-nav {
  justify-content: center;
}

.public-section-chip {
  cursor: default;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #eee6dc;
  transition: border-color 180ms ease, background 180ms ease;
}

.icon-button:hover {
  border-color: rgba(205, 211, 217, 0.45);
  background: rgba(205, 211, 217, 0.1);
}

.notification-dot {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 7px 10px 7px 14px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.profile-chip:hover,
.profile-chip:focus-visible {
  border-color: rgba(235, 238, 242, 0.22);
  background: rgba(235, 238, 242, 0.07);
  outline: 0;
}

.profile-avatar,
.avatar-mark {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #26333c, #101419);
  border: 1px solid rgba(235, 238, 242, 0.14);
  color: #f0f0f0;
  font-weight: 800;
}

.profile-avatar {
  width: 36px;
  height: 36px;
}

.profile-avatar svg {
  width: 19px;
  height: 19px;
}

.content-wrap {
  padding: 28px 28px 112px;
}

.dashboard-shell .topbar,
.dashboard-shell [data-section-picker] {
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

body:not(.dashboard-entered) .dashboard-shell .topbar,
body:not(.dashboard-entered) .dashboard-shell [data-section-picker] {
  display: none;
}

body.dashboard-entered .dashboard-shell .welcome-intro {
  display: none;
}

body.dashboard-entered:not(.dashboard-section-open) {
  overflow: hidden;
}

body.dashboard-entered.dashboard-section-open {
  overflow: hidden;
}

body.dashboard-entered:not(.dashboard-section-open) .dashboard-shell {
  height: 100vh;
  overflow: hidden;
}

body.dashboard-entered.dashboard-section-open .dashboard-shell {
  height: 100vh;
  overflow: hidden;
}

body.dashboard-entered:not(.dashboard-section-open) .content-wrap {
  height: calc(100vh - 82px);
  overflow: hidden;
  padding-bottom: 104px;
}

body.dashboard-entered.dashboard-section-open .content-wrap {
  height: calc(100vh - 82px);
  overflow: hidden;
  padding-bottom: 104px;
}

.welcome-intro {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(235, 248, 255, 0.075), rgba(12, 16, 20, 0.46) 44%),
    repeating-linear-gradient(90deg, rgba(235, 248, 255, 0.03) 0 1px, transparent 1px 72px),
    rgba(9, 12, 15, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 30px 90px rgba(0, 0, 0, 0.26);
  padding: 28px;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.welcome-intro.is-leaving {
  opacity: 0;
  transform: scale(0.985);
  filter: blur(8px);
  pointer-events: none;
}

.welcome-card {
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(10, 14, 17, 0.68);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
  padding: 28px;
  text-align: center;
}

.welcome-entry-card {
  display: block;
  color: inherit;
  cursor: default;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.welcome-entry-card:hover,
.welcome-entry-card:focus-visible {
  border-color: rgba(235, 238, 242, 0.24);
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.32), 0 0 36px rgba(235, 238, 242, 0.08);
  transform: translateY(-3px);
  outline: 0;
}

.welcome-card img {
  width: clamp(170px, 24vw, 260px);
  height: clamp(170px, 24vw, 260px);
  margin: 0 auto 22px;
  border-radius: 34px;
  object-fit: contain;
}

.welcome-card h1 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
}

.welcome-card > span {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(235, 248, 255, 0.05);
  color: #dceaf0;
  padding: 7px 12px;
  direction: ltr;
  font-size: 12px;
  font-weight: 700;
}

.welcome-card p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px auto 0;
  color: #bdb6ad;
  line-height: 1.9;
}

.entry-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  border: 1px solid rgba(235, 238, 242, 0.18);
  border-radius: 999px;
  background: rgba(235, 238, 242, 0.08);
  color: #fff1f2;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.intro-login-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 20px auto 0;
}

.intro-login-form label {
  display: grid;
  gap: 7px;
  text-align: right;
}

.intro-login-form label span {
  color: #d4cec7;
  font-size: 12px;
  font-weight: 800;
}

.intro-login-form input {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #f7f2ed;
  padding: 0 13px;
}

.intro-login-form input:focus {
  border-color: rgba(235, 238, 242, 0.28);
  box-shadow: 0 0 0 3px rgba(235, 238, 242, 0.08);
}

.intro-login-form .entry-hint,
.intro-login-form .guest-entry-link,
.login-error {
  grid-column: 1 / -1;
}

.guest-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(235, 238, 242, 0.12);
  border-radius: 999px;
  background: rgba(235, 238, 242, 0.045);
  color: #dce9f1;
  font-size: 13px;
  font-weight: 900;
}

.guest-entry-link svg {
  width: 17px;
  height: 17px;
}

.login-error {
  min-height: 18px;
  margin: 0;
  color: #ff9aa1;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.app-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 70px minmax(92px, 1fr);
  gap: 10px;
  align-items: center;
  width: min(390px, calc(100vw - 36px));
  min-height: 72px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(12, 13, 12, 0.76);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
  padding: 10px;
}

.app-bottom-bar.compact {
  display: block;
  width: max-content;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

body:not(.dashboard-entered) .app-bottom-bar {
  display: none;
}

body:not(.dashboard-entered) .ai-chat-panel {
  display: none;
}

.bottom-nav-button,
.bottom-ai-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  color: #eee9e5;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bottom-nav-button {
  grid-template-columns: auto auto;
  gap: 7px;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.bottom-ai-button {
  position: relative;
  width: 104px;
  height: 58px;
  margin: 0 auto;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(26, 33, 38, 0.92), rgba(9, 12, 15, 0.92));
  border-color: rgba(220, 245, 255, 0.16);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  overflow: visible;
}

.bottom-ai-button::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(220, 245, 255, 0.08);
  pointer-events: none;
}

.bottom-ai-button img {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 46px;
  object-fit: contain;
  padding: 0;
  filter:
    grayscale(1)
    brightness(1.28)
    contrast(1.08)
    drop-shadow(0 0 4px rgba(235, 252, 255, 0.36));
  transform: scale(1);
}

.bottom-nav-button:hover,
.bottom-nav-button:focus-visible,
.bottom-ai-button:hover,
.bottom-ai-button:focus-visible {
  border-color: rgba(220, 245, 255, 0.28);
  transform: translateY(-2px);
  outline: 0;
}

.ai-chat-panel {
  position: fixed;
  left: 50%;
  bottom: 116px;
  z-index: 69;
  display: none;
  width: min(390px, calc(100vw - 32px));
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(210, 244, 255, 0.13), transparent 46%),
    rgba(10, 13, 14, 0.94);
  box-shadow: 0 26px 84px rgba(0, 0, 0, 0.48), 0 0 40px rgba(145, 216, 255, 0.1);
  backdrop-filter: blur(24px);
}

.ai-chat-panel.is-open {
  display: block;
  animation: pickerEnter 180ms ease both;
}

.chat-drag-handle {
  display: none;
}

.ai-chat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.ai-chat-head img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5) contrast(1.2) drop-shadow(0 0 10px rgba(235, 252, 255, 0.8)) drop-shadow(0 0 16px rgba(150, 220, 255, 0.45));
}

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

.ai-chat-head strong {
  font-weight: 900;
}

.ai-chat-head span {
  margin-top: 3px;
  color: #d8dde2;
  font-size: 12px;
  font-weight: 800;
}

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

.chat-status-orb {
  display: grid;
  place-items: center;
  width: 96px;
  height: 58px;
  margin: 0 auto;
  border: 1px solid rgba(218, 247, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(223, 249, 255, 0.2), transparent 64%),
    rgba(255, 255, 255, 0.035);
}

.chat-status-orb img {
  width: 92px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.55) contrast(1.18) drop-shadow(0 0 14px rgba(235, 252, 255, 0.8));
}

.chat-message {
  position: relative;
  border: 1px solid rgba(190, 232, 255, 0.16);
  border-radius: 18px 18px 6px 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #f1f7f8;
  padding: 14px;
}

.chat-message span {
  display: block;
  margin-bottom: 7px;
  color: #d8dde2;
  font-size: 11px;
  font-weight: 900;
}

.chat-message p {
  line-height: 1.8;
}

.chat-disabled-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  border: 1px dashed rgba(218, 247, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #9fb3ba;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
}

.chat-disabled-input svg {
  width: 17px;
  height: 17px;
  color: #d8dde2;
}

.section-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  animation: pickerEnter 320ms ease both;
}

body.dashboard-entered:not(.dashboard-section-open) .section-picker {
  height: 100%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

body.dashboard-entered.dashboard-section-open .section-picker {
  height: 100%;
  grid-template-rows: minmax(0, 1fr);
}

.section-picker .section-panel {
  min-height: 286px;
  margin-top: 0;
  cursor: pointer;
  transition: min-height 220ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.dashboard-entered:not(.dashboard-section-open) .section-picker .section-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 20px;
}

body.dashboard-entered:not(.dashboard-section-open) .section-picker .knowledge-panel:not(.is-open) {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(47, 50, 54, 0.78) 42%),
    rgba(42, 45, 49, 0.72);
  background-size: 26px 26px, 26px 26px, auto, auto;
}

body.dashboard-entered:not(.dashboard-section-open) .section-picker .phone-panel:not(.is-open) {
  border-color: rgba(210, 214, 218, 0.18);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, rgba(170, 175, 180, 0.13), rgba(24, 27, 30, 0.76) 42%),
    rgba(22, 25, 28, 0.72);
}

body.dashboard-entered:not(.dashboard-section-open) .section-picker .marketing-panel:not(.is-open) {
  border-color: rgba(150, 155, 160, 0.2);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, rgba(95, 100, 105, 0.14), rgba(8, 9, 10, 0.82) 42%),
    rgba(8, 9, 10, 0.78);
}

body.dashboard-entered.dashboard-section-open .section-picker .section-panel:not(.is-open) {
  display: none;
}

body.dashboard-entered.dashboard-section-open .section-picker .section-panel.is-open {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 16px 18px;
  overflow: hidden;
}

body.dashboard-entered:not(.dashboard-section-open) .section-title-row {
  align-items: center;
}

body.dashboard-entered.dashboard-section-open .section-title-row {
  align-items: center;
  flex-shrink: 0;
}

body.dashboard-entered:not(.dashboard-section-open) .section-title-row h2 {
  font-size: 21px;
}

body.dashboard-entered.dashboard-section-open .section-title-row h2 {
  font-size: 21px;
}

body.dashboard-entered:not(.dashboard-section-open) .section-title-row p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

body.dashboard-entered.dashboard-section-open .section-title-row p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.section-picker .section-panel:not(.is-open):hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
}

.section-picker .app-accordion-section.is-open {
  grid-column: 1 / -1;
  cursor: default;
}

.section-picker .accordion-toggle {
  display: none;
}

.section-picker .app-accordion-section.is-open .accordion-toggle {
  display: inline-flex;
}

.collapsed-preview {
  display: grid;
  grid-template-columns: auto minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  border: 1px solid rgba(235, 238, 242, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.13)),
    rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  box-shadow: none;
}

body.dashboard-entered:not(.dashboard-section-open) .collapsed-preview {
  flex: 1;
  min-height: 0;
  margin-top: 14px;
  padding: 12px 14px;
}

.app-accordion-section.is-open .collapsed-preview {
  display: none;
}

.section-symbol {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(235, 238, 242, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.035),
    inset 0 0 0 1px rgba(0, 0, 0, 0.62);
}

body.dashboard-entered:not(.dashboard-section-open) .section-symbol {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.section-symbol svg {
  width: 44px;
  height: 44px;
}

body.dashboard-entered:not(.dashboard-section-open) .section-symbol svg {
  width: 36px;
  height: 36px;
}

.knowledge-panel .section-symbol {
  color: #f2f4f6;
  background: rgba(245, 247, 249, 0.08);
}

.phone-panel .section-symbol {
  color: #d8dde2;
  background: rgba(210, 214, 218, 0.08);
}

.marketing-panel .section-symbol {
  color: #c3c8cd;
  background: rgba(170, 175, 180, 0.09);
}

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

.preview-metrics span {
  min-height: 68px;
  border: 1px solid rgba(235, 238, 242, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(235, 248, 255, 0.045), rgba(2, 7, 10, 0.16)),
    rgba(2, 7, 10, 0.16);
  color: #cfdae0;
  padding: 11px 12px;
  font-size: 12px;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.68);
}

body.dashboard-entered:not(.dashboard-section-open) .preview-metrics span {
  min-height: 56px;
  padding: 8px 10px;
}

.preview-metrics b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

body.dashboard-entered:not(.dashboard-section-open) .preview-metrics b {
  margin-bottom: 2px;
  font-size: 18px;
}

.collapsed-preview p {
  color: #d6e0e6;
  line-height: 1.8;
}

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

.sentiment-preview span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 7px;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(220, 225, 230, 0.13);
  border-radius: 14px;
  background: rgba(220, 225, 230, 0.045);
  padding: 7px 9px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.72);
}

.sentiment-preview svg {
  grid-row: span 2;
  width: 19px;
  height: 19px;
  color: #d8dde2;
}

.sentiment-preview b,
.sentiment-preview em {
  display: block;
}

.sentiment-preview b {
  color: #f5fbf7;
  font-size: 11px;
  font-weight: 900;
}

.sentiment-preview em {
  color: #9fb2aa;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  width: fit-content;
  max-width: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 3px 7px;
  white-space: nowrap;
}

body.dashboard-entered:not(.dashboard-section-open) .phone-panel .collapsed-preview {
  grid-template-columns: auto minmax(220px, 0.72fr) minmax(320px, 1fr);
  gap: 14px;
}

body.dashboard-entered:not(.dashboard-section-open) .phone-panel .preview-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.dashboard-entered:not(.dashboard-section-open) .collapsed-preview p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.65;
}

@keyframes pickerEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-strip,
.glass-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.hero-strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 184px;
  border-radius: 24px;
  padding: 26px;
}

.eyebrow {
  color: var(--warm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-strip h1 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-strip p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 12px;
  color: #bdb5aa;
}

.hero-status-group,
.hero-status {
  display: flex;
  align-items: center;
}

.hero-status-group {
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.hero-status {
  gap: 9px;
  min-width: max-content;
  border: 1px solid rgba(121, 180, 134, 0.24);
  border-radius: 999px;
  padding: 10px 14px;
  color: #cfe8d5;
  background: rgba(121, 180, 134, 0.08);
  font-size: 13px;
}

.hero-status.inactive {
  border-color: rgba(205, 211, 217, 0.28);
  background: rgba(205, 211, 217, 0.09);
  color: #eef1f4;
}

.module-grid,
.kpi-grid,
.dashboard-grid,
.analytics-grid,
.marketing-kpi-grid,
.marketing-grid,
.system-overview-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.system-overview-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.system-status-card,
.system-activity-card {
  padding: 22px;
}

.section-panel {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(235, 238, 242, 0.12);
  border-radius: 24px;
  background: rgba(13, 18, 22, 0.5);
  padding: 18px;
}

.section-panel {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 5px;
  height: calc(100% - 36px);
  border-radius: 999px 0 0 999px;
}

.section-panel::before {
  box-shadow: none;
}

.section-panel .section-title-row::before {
  position: absolute;
  top: 10px;
  left: 18px;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(46px, 8vw, 86px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.section-panel > * {
  position: relative;
  z-index: 1;
}

.app-accordion-section {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.app-accordion-section:not(.is-open) {
  padding-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(235, 248, 255, 0.045), rgba(13, 18, 22, 0.44)),
    rgba(13, 18, 22, 0.42);
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 0;
}

.section-title-row h2 {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 800;
}

.section-title-row p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-title-row > span {
  min-width: max-content;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  width: calc(100% - 8px);
  margin: 14px 4px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #eee8df;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}

.accordion-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.accordion-toggle svg {
  transition: transform 180ms ease;
}

.app-accordion-section.is-open .accordion-toggle svg {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
}

.app-accordion-section.is-open .accordion-body {
  display: block;
}

body.dashboard-entered.dashboard-section-open .accordion-toggle {
  flex-shrink: 0;
  min-height: 36px;
  margin-top: 10px;
}

body.dashboard-entered.dashboard-section-open .accordion-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 232, 255, 0.28) transparent;
}

body.dashboard-entered.dashboard-section-open .accordion-body::-webkit-scrollbar,
body.dashboard-entered.dashboard-section-open .priority-call-carousel::-webkit-scrollbar,
body.dashboard-entered.dashboard-section-open .flow-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.dashboard-entered.dashboard-section-open .accordion-body::-webkit-scrollbar-thumb,
body.dashboard-entered.dashboard-section-open .priority-call-carousel::-webkit-scrollbar-thumb,
body.dashboard-entered.dashboard-section-open .flow-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(190, 232, 255, 0.24);
}

body.dashboard-entered.dashboard-section-open .assistant-access {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

body.dashboard-entered.dashboard-section-open .assistant-access h2 {
  font-size: 18px;
}

body.dashboard-entered.dashboard-section-open .assistant-access p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

body.dashboard-entered.dashboard-section-open .admin-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

body.dashboard-entered.dashboard-section-open .module-card {
  min-height: 0;
  padding: 14px;
}

body.dashboard-entered.dashboard-section-open .module-card > div > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.dashboard-entered.dashboard-section-open .module-preview {
  gap: 8px;
}

body.dashboard-entered.dashboard-section-open .module-preview ul {
  display: none;
}

body.dashboard-entered.dashboard-section-open .phone-focus-grid,
body.dashboard-entered.dashboard-section-open .marketing-focus-grid {
  gap: 12px;
  height: 100%;
  margin-top: 12px;
  min-height: 0;
}

body.dashboard-entered.dashboard-section-open .phone-focus-grid {
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1.48fr);
}

body.dashboard-entered.dashboard-section-open .marketing-focus-grid {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

body.dashboard-entered.dashboard-section-open .phone-module-stack,
body.dashboard-entered.dashboard-section-open .marketing-module-stack {
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding-left: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 195, 200, 0.28) transparent;
}

body.dashboard-entered.dashboard-section-open .phone-module-card,
body.dashboard-entered.dashboard-section-open .marketing-module-card {
  min-height: 0;
}

body.dashboard-entered.dashboard-section-open .priority-calls-card,
body.dashboard-entered.dashboard-section-open .marketing-report {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}

body.dashboard-entered.dashboard-section-open .priority-calls-card .section-head {
  flex-shrink: 0;
  margin-bottom: 12px;
}

body.dashboard-entered.dashboard-section-open .priority-call-carousel {
  flex: 1;
  min-height: 0;
  height: auto;
  overflow-x: auto;
  overflow-y: auto;
  align-items: start;
}

body.dashboard-entered.dashboard-section-open .priority-call-item {
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 14px;
}

body.dashboard-entered.dashboard-section-open .priority-call-item > p,
body.dashboard-entered.dashboard-section-open .flow-list p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.dashboard-entered.dashboard-section-open .priority-call-item > p {
  -webkit-line-clamp: 4;
}

body.dashboard-entered.dashboard-section-open .operator-row,
body.dashboard-entered.dashboard-section-open .call-mini-metrics {
  gap: 8px;
}

body.dashboard-entered.dashboard-section-open .call-mini-metrics {
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
}

body.dashboard-entered.dashboard-section-open .call-mini-metrics span {
  min-width: 132px;
  padding: 7px 10px;
  white-space: nowrap;
}

body.dashboard-entered.dashboard-section-open .call-mini-metrics b {
  display: inline;
  margin-right: 4px;
}

body.dashboard-entered.dashboard-section-open .insight-footer {
  display: none;
}

body.dashboard-entered.dashboard-section-open .phone-panel .accordion-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .phone-focus-grid {
  height: auto;
  min-height: 0;
  margin-top: 0;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid {
  display: grid;
  align-items: start;
  margin-top: 0;
  gap: 8px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .chart-card {
  box-sizing: border-box;
  height: 118px;
  min-height: 0;
  overflow: hidden;
  padding: 10px 12px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head.compact {
  margin-bottom: 8px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head h2 {
  font-size: 14px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head span {
  font-size: 11px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .bar-chart,
body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .line-placeholder {
  height: 54px;
  border-radius: 12px;
  padding: 7px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .sentiment-rings {
  align-items: center;
  gap: 8px;
  height: 54px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring::before {
  inset: 5px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring {
  width: 54px;
  height: 54px;
  aspect-ratio: auto;
  justify-self: center;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring strong {
  font-size: 15px;
}

body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring span {
  font-size: 10px;
}

@media (min-width: 1181px) {
  body.dashboard-entered.dashboard-section-open .phone-panel .accordion-body {
    grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1.28fr) minmax(220px, 0.54fr);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "analytics calls modules";
    gap: 12px;
    direction: ltr;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .phone-focus-grid {
    display: contents;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .phone-module-stack {
    grid-area: modules;
    direction: rtl;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .priority-calls-card {
    grid-area: calls;
    direction: rtl;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid {
    grid-area: analytics;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    direction: rtl;
    min-height: 0;
    height: 100%;
    overflow: auto;
    gap: 10px;
    padding-left: 4px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .chart-card {
    height: 150px;
    padding: 13px 14px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head.compact {
    margin-bottom: 10px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head h2 {
    font-size: 15px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .section-head span {
    font-size: 12px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .bar-chart,
  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .line-placeholder,
  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .sentiment-rings {
    height: 78px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring {
    width: 70px;
    height: 70px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring strong {
    font-size: 17px;
  }

  body.dashboard-entered.dashboard-section-open .phone-panel .analytics-grid .ring span {
    font-size: 11px;
  }
}

body.dashboard-entered.dashboard-section-open .flow-list {
  gap: 10px;
  max-height: calc(100% - 48px);
  overflow: auto;
}

body.dashboard-entered.dashboard-section-open .flow-list div {
  padding: 12px;
}

.knowledge-panel {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(47, 50, 54, 0.78) 42%),
    rgba(42, 45, 49, 0.72);
  background-size: 26px 26px, 26px 26px, auto, auto;
  box-shadow: inset 0 0 0 1px rgba(245, 247, 249, 0.045), 0 24px 70px rgba(0, 0, 0, 0.2);
}

.knowledge-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(255, 255, 255, 0.18), transparent 26rem);
}

.knowledge-panel::after {
  background: #f4f6f8;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.knowledge-panel .section-title-row::before {
  content: "01";
}

.knowledge-panel .section-title-row > span {
  background: rgba(245, 247, 249, 0.09);
  color: #f2f4f6;
}

.phone-panel {
  border-color: rgba(210, 214, 218, 0.17);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, rgba(170, 175, 180, 0.13), rgba(24, 27, 30, 0.76) 42%),
    rgba(22, 25, 28, 0.72);
  box-shadow: inset 0 0 0 1px rgba(220, 225, 230, 0.035), 0 24px 70px rgba(0, 0, 0, 0.18);
}

.phone-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(190, 195, 200, 0.12), transparent 27rem);
}

.phone-panel::after {
  background: #a4a9ae;
  box-shadow: 0 0 18px rgba(220, 225, 230, 0.12);
}

.phone-panel .section-title-row::before {
  content: "02";
}

.phone-panel .eyebrow,
.phone-panel .timeline-icon,
.phone-panel .follow-up svg,
.phone-panel .infra-list svg {
  color: #c3c8cd;
}

.phone-panel .section-title-row > span {
  background: rgba(210, 214, 218, 0.08);
  color: #d8dde2;
}

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

.phone-module-card {
  min-height: 0;
}

.phone-focus-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.phone-module-stack {
  display: grid;
  gap: 18px;
}

.phone-focus-grid .priority-calls-card {
  min-width: 0;
}

.phone-panel .icon-chip.red,
.phone-panel .icon-chip.orange {
  color: #d8dde2;
  background: rgba(220, 225, 230, 0.08);
}

.phone-panel .trend,
.phone-panel .priority-badge {
  background: rgba(220, 225, 230, 0.08);
  color: #d8dde2;
}

.phone-panel .kpi-card:hover {
  border-color: rgba(220, 225, 230, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3), 0 0 34px rgba(220, 225, 230, 0.06);
}

.phone-panel .progress span,
.phone-panel .bar-chart span {
  background: linear-gradient(180deg, #aeb5bc, rgba(150, 150, 150, 0.24));
}

.phone-panel .progress span {
  background: linear-gradient(90deg, #8e8e8e, #aeb5bc);
}

.phone-panel .line-placeholder path {
  stroke: #aeb5bc;
}

.phone-panel .line-placeholder circle {
  fill: #e0e4e8;
}

.marketing-panel {
  border-color: rgba(150, 155, 160, 0.18);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, rgba(95, 100, 105, 0.14), rgba(8, 9, 10, 0.82) 42%),
    rgba(8, 9, 10, 0.78);
  box-shadow: inset 0 0 0 1px rgba(210, 214, 218, 0.035), 0 24px 70px rgba(0, 0, 0, 0.18);
}

.marketing-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(140, 145, 150, 0.13), transparent 28rem);
}

.marketing-panel::after {
  background: #5f6469;
  box-shadow: 0 0 18px rgba(200, 205, 210, 0.08);
}

.marketing-panel .section-title-row::before {
  content: "03";
}

.marketing-panel .eyebrow {
  color: #d2d6da;
}

.marketing-panel .section-title-row > span {
  background: rgba(180, 185, 190, 0.09);
  color: #d2d6da;
}

.marketing-focus-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.marketing-module-stack {
  display: grid;
  gap: 18px;
}

.marketing-module-card .module-stat-row span {
  border-color: rgba(190, 195, 200, 0.15);
  background: rgba(190, 195, 200, 0.055);
}

.marketing-module-card small {
  border-color: rgba(190, 195, 200, 0.16);
  background: rgba(190, 195, 200, 0.07);
  color: #d2d6da;
}

.marketing-module-card:hover {
  border-color: rgba(220, 225, 230, 0.22);
}

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

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

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

.glass-card {
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.kpi-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.module-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  text-align: right;
  gap: 14px;
  min-height: 252px;
  padding: 18px;
  background: rgba(18, 24, 29, 0.62);
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  box-shadow: none;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 225, 230, 0.22);
  background: rgba(23, 31, 37, 0.72);
}

a.module-card {
  text-decoration: none;
}

.module-card strong {
  display: block;
  font-weight: 800;
}

.module-card span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
}

.module-card small {
  position: absolute;
  top: 14px;
  left: 14px;
  border: 1px solid rgba(220, 225, 230, 0.14);
  border-radius: 999px;
  background: rgba(220, 225, 230, 0.06);
  color: #d8dde2;
  padding: 4px 8px;
  font-size: 11px;
}

.module-preview {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

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

.module-stat-row span {
  border: 1px solid rgba(220, 225, 230, 0.12);
  border-radius: 12px;
  background: rgba(220, 225, 230, 0.045);
  color: #cfdae0;
  padding: 10px;
  font-size: 11px;
}

.module-stat-row b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
}

.phone-module-card .module-stat-row span {
  border-color: rgba(220, 225, 230, 0.12);
  background: rgba(220, 225, 230, 0.045);
}

.phone-module-card small {
  border-color: rgba(220, 225, 230, 0.14);
  background: rgba(220, 225, 230, 0.06);
  color: #d8dde2;
}

.phone-module-card:hover {
  border-color: rgba(220, 225, 230, 0.22);
}

.module-preview ul {
  display: grid;
  gap: 8px;
  color: #d9d2d2;
  font-size: 12px;
  line-height: 1.7;
  list-style: none;
}

.module-preview li {
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(2, 7, 10, 0.18);
  padding: 8px 10px;
}

.assistant-access {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
}

.assistant-access h2 {
  margin-top: 5px;
  font-size: 22px;
  font-weight: 800;
}

.assistant-access p:not(.eyebrow) {
  margin-top: 7px;
  color: #d5d0ca;
  line-height: 1.8;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 225, 230, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3), 0 0 30px rgba(220, 225, 230, 0.06);
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.icon-chip.orange,
.icon-chip.red {
  color: #eef1f4;
  background: var(--warm-soft);
}

.icon-chip.gray {
  color: #d6cec2;
  background: rgba(214, 206, 194, 0.1);
}

.icon-chip.steel {
  color: #b7c2c2;
  background: rgba(142, 150, 150, 0.12);
}

.icon-chip.blue {
  color: #d7dce1;
  background: var(--blue-soft);
}

.icon-chip.green {
  color: #e0e4e8;
  background: var(--green-soft);
}

.kpi-card p {
  color: var(--text-muted);
  font-size: 13px;
}

.kpi-card strong {
  display: block;
  margin-top: 5px;
  font-size: 32px;
  font-weight: 800;
}

.trend,
.priority-badge {
  border-radius: 999px;
  background: rgba(220, 225, 230, 0.08);
  color: #d8dde2;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

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

.call-card,
.priority-calls-card,
.timeline-card,
.workflow-card,
.chart-card {
  padding: 22px;
}

.section-head {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 19px;
  font-weight: 800;
}

.section-head.compact {
  margin-bottom: 16px;
}

.customer-row {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.avatar-mark {
  width: 52px;
  height: 52px;
}

.customer-row strong,
.analysis-metrics strong {
  display: block;
  margin-top: 4px;
  font-weight: 800;
}

.summary-box,
.follow-up {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
  padding: 16px;
}

.summary-box p,
.follow-up p {
  margin-top: 8px;
  color: #e6ded3;
  line-height: 1.9;
}

.analysis-metrics {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.analysis-metrics > div {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 15px;
}

.positive {
  color: #93d49d;
}

.critical {
  color: #ff9098;
}

.progress {
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7b838b, #c9ced4);
}

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

.tag-row span {
  border: 1px solid rgba(205, 211, 217, 0.24);
  border-radius: 999px;
  background: rgba(205, 211, 217, 0.09);
  color: #f0d1d4;
  padding: 7px 12px;
  font-size: 12px;
}

.tag-row.compact {
  margin-top: 12px;
}

.tag-row.compact span {
  padding: 5px 9px;
}

.follow-up {
  gap: 12px;
  align-items: flex-start;
}

.follow-up.compact {
  margin-top: 12px;
  padding: 12px;
}

.follow-up.compact p {
  margin-top: 4px;
  line-height: 1.7;
}

.follow-up svg {
  color: var(--warm);
  margin-top: 4px;
}

.action-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(235, 248, 255, 0.045);
  color: #eef6f8;
  padding: 0 15px;
  transition: background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  background: rgba(235, 248, 255, 0.07);
  border-color: rgba(133, 200, 238, 0.28);
}

.btn-primary {
  background: rgba(205, 211, 217, 0.18);
  border-color: rgba(205, 211, 217, 0.34);
  color: #fff7f8;
}

.side-stack {
  display: grid;
  gap: 18px;
}

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

.priority-call-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding-bottom: 6px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.priority-call-item {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
  min-height: 520px;
}

.priority-call-item.high {
  border-color: rgba(174, 181, 188, 0.34);
  background: linear-gradient(135deg, rgba(174, 181, 188, 0.11), rgba(255, 255, 255, 0.035));
}

.priority-call-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.priority-call-head strong {
  display: block;
  font-weight: 800;
}

.priority-call-head span {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-muted);
  font-size: 12px;
}

.priority-call-head em {
  border-radius: 999px;
  background: rgba(174, 181, 188, 0.12);
  color: #e0e4e8;
  padding: 6px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.priority-call-item > p {
  margin-top: 12px;
  color: #e9e4df;
  line-height: 1.8;
  min-height: 0;
}

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

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

.operator-row div {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  padding: 10px;
}

.operator-row span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
}

.operator-row strong {
  display: block;
  margin-top: 4px;
  color: #f3f0ed;
  font-size: 13px;
}

.action-row.compact {
  margin-top: auto;
  padding-top: 14px;
}

.call-mini-metrics span {
  border: 1px solid rgba(174, 181, 188, 0.16);
  border-radius: 12px;
  background: rgba(174, 181, 188, 0.06);
  color: var(--text-muted);
  padding: 9px 10px;
  font-size: 12px;
}

.call-mini-metrics b {
  color: #f3f0ed;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  gap: 12px;
}

.timeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--warm);
}

.timeline-item strong {
  display: block;
  font-size: 14px;
}

.workflow-list,
.infra-list {
  display: grid;
  gap: 10px;
}

.workflow-list span,
.infra-list div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 13px;
  color: #d6e0e6;
}

.infra-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.infra-note {
  margin: -4px 0 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.9;
}

.infra-list svg {
  color: var(--warm);
}

.infra-list strong {
  color: #d8d8d8;
  font-size: 12px;
}

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

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

.marketing-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.marketing-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
}

.marketing-card p {
  color: var(--text-muted);
  font-size: 13px;
}

.marketing-card strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
  font-weight: 800;
}

.marketing-card > span {
  border-radius: 999px;
  background: rgba(150, 157, 165, 0.12);
  color: #d7dce1;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.marketing-report,
.content-report {
  padding: 22px;
}

.flow-list,
.content-types {
  display: grid;
  gap: 12px;
}

.flow-list div,
.content-types div {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.flow-list strong,
.content-types strong {
  display: block;
  font-weight: 800;
}

.flow-list span,
.content-types span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.flow-list p {
  margin-top: 9px;
  color: #e9e4df;
  font-size: 13px;
  line-height: 1.8;
}

.flow-list small {
  display: block;
  margin-top: 8px;
  color: #b9c0c7;
  font-size: 12px;
}

.flow-list em {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: rgba(150, 157, 165, 0.12);
  color: #d7dce1;
  padding: 5px 9px;
  font-size: 11px;
  font-style: normal;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  padding: 18px;
}

.bar-chart span {
  flex: 1;
  min-width: 16px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #c9ced4, rgba(150, 180, 195, 0.2));
}

.line-placeholder {
  height: 160px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
}

.line-placeholder svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.line-placeholder path {
  fill: none;
  stroke: #c9ced4;
  stroke-width: 4;
  stroke-linecap: round;
}

.line-placeholder circle {
  fill: #eef1f4;
}

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

.ring {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: conic-gradient(var(--ring-color) var(--ring-value), rgba(255,255,255,0.07) 0);
  position: relative;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #10171c;
}

.ring strong,
.ring span {
  position: relative;
}

.ring strong {
  font-size: 20px;
}

.ring span {
  color: var(--text-muted);
  font-size: 12px;
}

.positive-ring {
  --ring-color: #b8bec5;
  --ring-value: 64%;
}

.neutral-ring {
  --ring-color: #9da4ab;
  --ring-value: 27%;
}

.alert-ring {
  --ring-color: #c9ced4;
  --ring-value: 9%;
}

.insight-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
}

.insight-footer h2 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
}

.insight-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.insight-items span {
  border: 1px solid rgba(205, 211, 217, 0.22);
  border-radius: 999px;
  background: rgba(205, 211, 217, 0.08);
  color: #eee;
  padding: 9px 13px;
  font-size: 13px;
}

.access-toast {
  position: fixed;
  right: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(50%, 16px);
  border: 1px solid rgba(205, 211, 217, 0.34);
  border-radius: 14px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  color: #f3eeee;
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.access-toast.visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.detail-hero {
  margin-top: 0;
}

.detail-hero h1 {
  margin-top: 6px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #e6e0da;
  font-size: 13px;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.detail-stat {
  padding: 18px;
}

.detail-stat span {
  color: var(--text-muted);
  font-size: 13px;
}

.detail-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
}

.detail-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
}

.detail-table-card {
  margin-top: 18px;
  padding: 22px;
}

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

.detail-call-list .priority-call-item {
  min-height: 0;
}

.detail-table-wrap {
  overflow-x: auto;
}

.detail-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.detail-table th {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px 4px;
  text-align: right;
}

.detail-table td {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #eee9e5;
  padding: 14px 12px;
  font-size: 13px;
  line-height: 1.8;
}

.detail-table td:first-child {
  border-right: 1px solid var(--line);
  border-radius: 0 12px 12px 0;
  font-weight: 700;
}

.detail-table td:last-child {
  border-left: 1px solid var(--line);
  border-radius: 12px 0 0 12px;
}

.documents-panel {
  border-color: rgba(205, 211, 217, 0.2);
  background:
    linear-gradient(135deg, rgba(205, 211, 217, 0.13), rgba(13, 18, 22, 0.66) 38%),
    rgba(13, 18, 22, 0.46);
}

.documents-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(205, 211, 217, 0.17), transparent 26rem);
}

.documents-panel::after {
  background: #c9ced4;
  box-shadow: 0 0 28px rgba(205, 211, 217, 0.32);
}

.documents-panel .section-title-row > span,
.projects-panel .section-title-row > span {
  background: rgba(205, 211, 217, 0.1);
  color: #eef1f4;
}

.projects-panel {
  border-color: rgba(205, 211, 217, 0.2);
  background:
    linear-gradient(135deg, rgba(205, 211, 217, 0.13), rgba(13, 18, 22, 0.66) 38%),
    rgba(13, 18, 22, 0.46);
}

.projects-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(205, 211, 217, 0.17), transparent 26rem);
}

.projects-panel::after {
  background: #c9ced4;
  box-shadow: 0 0 28px rgba(205, 211, 217, 0.32);
}

.calls-panel,
.customers-panel {
  border-color: rgba(174, 181, 188, 0.22);
  background:
    linear-gradient(135deg, rgba(174, 181, 188, 0.16), rgba(20, 20, 20, 0.62) 38%),
    rgba(20, 20, 20, 0.42);
}

.calls-panel::before,
.customers-panel::before {
  background: radial-gradient(circle at 5% 0%, rgba(174, 181, 188, 0.23), transparent 27rem);
}

.calls-panel::after,
.customers-panel::after {
  background: #aeb5bc;
  box-shadow: 0 0 28px rgba(174, 181, 188, 0.44);
}

.calls-panel .section-title-row > span,
.customers-panel .section-title-row > span {
  background: rgba(174, 181, 188, 0.1);
  color: #e0e4e8;
}

.marketing-panel.detail-hero,
.marketing-panel.detail-hero {
  border-color: rgba(150, 157, 165, 0.24);
}

.marketing-panel .detail-stat strong {
  color: #d7dce1;
}

svg {
  width: 20px;
  height: 20px;
}

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

  .collapsed-preview {
    grid-template-columns: auto 1fr;
  }

  .collapsed-preview p {
    grid-column: 1 / -1;
  }

  .module-grid,
  .kpi-grid,
  .analytics-grid,
  .marketing-kpi-grid,
  .system-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .phone-focus-grid,
  .marketing-focus-grid,
  .system-overview-grid,
  .marketing-grid {
    grid-template-columns: 1fr;
  }

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

  .priority-call-carousel {
    grid-auto-columns: 100%;
  }
}

@media (max-width: 1023px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 760px) {
  body.dashboard-entered:not(.dashboard-section-open) {
    overflow: auto;
  }

  body.dashboard-entered.dashboard-section-open {
    overflow: auto;
  }

  body.dashboard-entered:not(.dashboard-section-open) .dashboard-shell,
  body.dashboard-entered:not(.dashboard-section-open) .content-wrap,
  body.dashboard-entered.dashboard-section-open .dashboard-shell,
  body.dashboard-entered.dashboard-section-open .content-wrap {
    height: auto;
    overflow: visible;
  }

  body.dashboard-entered:not(.dashboard-section-open) .section-picker,
  body.dashboard-entered.dashboard-section-open .section-picker {
    height: auto;
    grid-template-rows: none;
  }

  body.dashboard-entered:not(.dashboard-section-open) .section-picker .section-panel {
    min-height: 0;
    padding: 16px;
  }

  body.dashboard-entered.dashboard-section-open .section-picker .section-panel.is-open {
    height: auto;
    overflow: visible;
    padding: 16px;
  }

  body.dashboard-entered.dashboard-section-open .accordion-body {
    overflow: visible;
  }

  body.dashboard-entered.dashboard-section-open .phone-focus-grid,
  body.dashboard-entered.dashboard-section-open .marketing-focus-grid,
  body.dashboard-entered.dashboard-section-open .admin-module-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  body.dashboard-entered.dashboard-section-open .analytics-grid,
  body.dashboard-entered.dashboard-section-open .insight-footer {
    display: grid;
  }

  .collapsed-preview {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding: 12px;
  }

  .section-symbol,
  body.dashboard-entered:not(.dashboard-section-open) .section-symbol {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .section-symbol svg,
  body.dashboard-entered:not(.dashboard-section-open) .section-symbol svg {
    width: 30px;
    height: 30px;
  }

  .preview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .sentiment-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
  }

  body.dashboard-entered:not(.dashboard-section-open) .phone-panel .collapsed-preview {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.dashboard-entered:not(.dashboard-section-open) .phone-panel .collapsed-preview p {
    grid-column: 1 / -1;
    -webkit-line-clamp: 2;
    margin-top: 0;
  }

  .sentiment-preview span {
    min-height: 52px;
    padding: 7px;
  }

  .sentiment-preview b {
    font-size: 11px;
  }

  .preview-metrics span,
  body.dashboard-entered:not(.dashboard-section-open) .preview-metrics span {
    min-height: 54px;
    padding: 7px;
    font-size: 10px;
  }

  .preview-metrics b,
  body.dashboard-entered:not(.dashboard-section-open) .preview-metrics b {
    font-size: 16px;
  }

  .collapsed-preview p {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .content-wrap,
  .topbar {
    padding: 18px;
  }

  .content-wrap {
    padding-bottom: 106px;
  }

  .app-bottom-bar {
    bottom: 12px;
    width: min(360px, calc(100vw - 24px));
    min-height: 66px;
    border-radius: 22px;
  }

  .bottom-ai-button {
    width: 96px;
    height: 54px;
    margin: 0 auto;
  }

  .bottom-ai-button img {
    width: 78px;
    height: 42px;
  }

  .app-bottom-bar.compact {
    width: max-content;
    min-height: 0;
  }

  .ai-chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 74vh;
    transform: translateY(100%);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
  }

  .ai-chat-panel.is-open {
    display: block;
    animation: mobileChatSheet 220ms ease both;
  }

  .chat-drag-handle {
    display: block;
    width: 42px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(220, 245, 255, 0.28);
  }

  .ai-chat-head {
    padding: 12px 16px 14px;
  }

  .ai-chat-body {
    padding: 16px 16px 22px;
  }

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

  .hero-strip {
    display: block;
    min-height: auto;
    padding: 20px;
  }

  .hero-status-group {
    width: fit-content;
    margin-top: 18px;
    justify-content: flex-start;
  }

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

  .section-title-row {
    display: block;
  }

  .section-title-row > span {
    display: inline-flex;
    margin-top: 12px;
  }

  .kpi-grid,
  .module-grid,
  .phone-module-stack,
  .marketing-module-stack,
  .marketing-kpi-grid,
  .analytics-grid,
  .analysis-metrics {
    grid-template-columns: 1fr;
  }

  .priority-call-carousel {
    grid-auto-columns: 100%;
  }

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

  .priority-call-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .priority-call-head em {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .operator-row,
  .call-mini-metrics {
    grid-template-columns: 1fr;
  }

  .customer-row {
    grid-template-columns: auto 1fr;
  }

  .profile-chip div:not(.profile-avatar) {
    display: none;
  }

  .detail-toolbar {
    grid-template-columns: 1fr;
  }

  .detail-table-card {
    padding: 16px;
  }

  .detail-table-wrap {
    overflow: visible;
  }

  .detail-table,
  .detail-table thead,
  .detail-table tbody,
  .detail-table tr,
  .detail-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .detail-table {
    border-spacing: 0;
  }

  .detail-table thead {
    display: none;
  }

  .detail-table tr {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    padding: 12px;
  }

  .detail-table tr + tr {
    margin-top: 12px;
  }

  .detail-table td,
  .detail-table td:first-child,
  .detail-table td:last-child {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 8px 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .detail-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
  }

  .detail-table td:last-child {
    line-height: 1.95;
  }

  .detail-call-list {
    grid-template-columns: 1fr;
  }

  .detail-call-list .priority-call-item {
    padding: 14px;
  }
}

@keyframes mobileChatSheet {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .app-bottom-bar.compact {
    display: block;
    grid-template-columns: 1fr;
    width: max-content;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .bottom-ai-button {
    width: 92px;
    height: 52px;
  }

  .bottom-ai-button img {
    width: 74px;
    height: 40px;
  }

  .bottom-nav-button {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 0 8px;
    font-size: 10px;
  }

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

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

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

  .top-actions {
    justify-content: space-between;
  }

  .customer-row {
    grid-template-columns: 1fr;
  }

  .avatar-mark {
    display: none;
  }

  .sentiment-rings {
    grid-template-columns: 1fr;
  }

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

  .insight-items {
    justify-content: flex-start;
  }

  .detail-stat-grid,
  .detail-toolbar {
    grid-template-columns: 1fr;
  }

  .ring {
    aspect-ratio: 2.2;
    border-radius: 18px;
  }
}

.phone-panel .line-placeholder circle,
.priority-call-head em,
.call-mini-metrics b {
  color: #d8dde2;
  fill: #d8dde2;
}

.tag-row span,
.insight-items span,
.detail-stat,
.workflow-list span,
.infra-list div {
  border-color: rgba(220, 225, 230, 0.14);
  background: rgba(220, 225, 230, 0.055);
  color: #d8dde2;
}

.progress span,
.bar-chart span {
  background: linear-gradient(180deg, #d8dde2, rgba(145, 150, 155, 0.2));
}

.line-placeholder path {
  stroke: #d8dde2;
}

.alert-ring,
.positive-ring,
.neutral-ring {
  --ring-color: #d8dde2;
}

/* Parvazin layout layer */
body {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.055) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 112px 112px,
    radial-gradient(ellipse at 22% 8%, rgba(208, 214, 220, .12), transparent 32rem),
    radial-gradient(ellipse at 82% 92%, rgba(92, 100, 108, .14), transparent 38rem),
    linear-gradient(155deg, #060708 0%, #101418 46%, #07090b 100%);
}

.parvazin-shell .topbar {
  position: sticky;
  top: 14px;
  width: min(1480px, calc(100% - 32px));
  margin: 14px auto 0;
  grid-template-columns: minmax(250px, 330px) minmax(260px, 1fr) auto;
  border: 1px solid rgba(230, 235, 240, .13);
  border-radius: 22px;
  background: rgba(12, 15, 18, .76);
  box-shadow: 0 18px 58px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055);
}

.parvazin-shell .brand-logo {
  border-radius: 18px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.34));
}

.parvazin-shell .brand-block h2 {
  font-size: 16px;
  letter-spacing: 0;
}

.parvazin-shell .search-box {
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.parvazin-content {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding-top: 22px;
}

body.dashboard-entered:not(.dashboard-section-open),
body.dashboard-entered.dashboard-section-open {
  overflow: auto;
}

body.dashboard-entered:not(.dashboard-section-open) .dashboard-shell,
body.dashboard-entered.dashboard-section-open .dashboard-shell,
body.dashboard-entered:not(.dashboard-section-open) .content-wrap,
body.dashboard-entered.dashboard-section-open .content-wrap {
  height: auto;
  overflow: visible;
}

.parvazin-entry.welcome-intro {
  min-height: calc(100vh - 56px);
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) center / 96px 96px,
    radial-gradient(ellipse at 72% 28%, rgba(216,222,228,.14), transparent 26rem);
  box-shadow: none;
}

.entry-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  width: min(980px, 100%);
}

.entry-copy {
  position: relative;
  min-height: 430px;
  border-right: 1px solid rgba(255,255,255,.14);
  padding: 42px 34px;
}

.entry-copy::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 28px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.12);
  transform: skew(-12deg) rotate(8deg);
}

.entry-copy img {
  width: clamp(150px, 22vw, 230px);
  height: clamp(150px, 22vw, 230px);
  margin: 0 0 22px;
  transform: rotate(-5deg);
}

.entry-copy h1 {
  margin-top: 8px;
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
}

.entry-copy > span {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  color: #dfe3e7;
  padding: 9px 12px;
  direction: ltr;
  font-size: 12px;
  font-weight: 800;
}

.parvazin-login.intro-login-form {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(9, 12, 15, .72);
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}

.parvazin-login .entry-hint {
  width: 100%;
  border-radius: 8px;
}

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

body:not(.dashboard-entered) .ops-ribbon {
  display: none;
}

.ops-ribbon article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  padding: 16px;
}

.ops-ribbon strong {
  grid-column: 2;
  font-size: 26px;
}

.ops-ribbon em {
  justify-self: end;
  color: #cdd3d9;
  font-style: normal;
  font-size: 12px;
}

.redesigned-dashboard.section-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .86fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
  animation: pickerEnter 320ms ease both;
}

body.dashboard-entered:not(.dashboard-section-open) .redesigned-dashboard.section-picker,
body.dashboard-entered.dashboard-section-open .redesigned-dashboard.section-picker {
  height: auto;
  grid-template-rows: none;
}

.redesigned-dashboard .section-panel {
  position: relative;
  min-height: 0;
  margin: 0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 36%),
    rgba(12, 15, 18, .74);
  border-color: rgba(230,235,240,.12);
  overflow: hidden;
}

.redesigned-dashboard .section-panel::before {
  opacity: .8;
  background: linear-gradient(90deg, rgba(255,255,255,.12), transparent 55%);
}

.redesigned-dashboard .section-panel::after {
  display: none;
}

.booking-panel {
  grid-row: span 2;
}

.travel-docs-panel .section-title-row,
.growth-panel .section-title-row {
  display: block;
}

.voice-panel {
  grid-column: 1 / -1;
}

body.dashboard-entered:not(.dashboard-section-open) .redesigned-dashboard .section-panel {
  display: flex;
  min-height: 282px;
  padding: 20px;
}

body.dashboard-entered.dashboard-section-open .redesigned-dashboard .section-panel.is-open {
  display: flex;
  min-height: calc(100vh - 210px);
  padding: 20px;
}

.redesigned-dashboard .section-title-row h2 {
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: 0;
}

.redesigned-dashboard .section-title-row > span {
  border-radius: 0;
  background: rgba(255,255,255,.08);
  color: #eef1f4;
}

.redesigned-dashboard .collapsed-preview {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    rgba(255,255,255,.026);
}

.redesigned-dashboard .section-symbol {
  border-radius: 8px;
  transform: skew(-8deg);
}

.compact-preview {
  grid-template-columns: auto 1fr;
}

.travel-docs-preview,
.voice-preview,
.growth-preview {
  grid-template-columns: auto 1fr;
}

.redesigned-dashboard .accordion-toggle {
  border-radius: 8px;
}

.booking-workbench,
.voice-desk,
.growth-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.signature-card {
  align-content: start;
  min-height: 100%;
  border-radius: 8px;
}

.parvazin-module-grid {
  grid-template-columns: 1fr;
}

.travel-docs-board {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-auto-rows: minmax(130px, auto);
  gap: 14px;
}

.travel-docs-tile,
.travel-docs-chart {
  border-radius: 8px;
  padding: 18px;
}

.travel-docs-tile {
  display: grid;
  gap: 10px;
}

.travel-docs-tile svg {
  width: 30px;
  height: 30px;
  color: #e5e9ed;
}

.travel-docs-tile strong {
  font-size: 42px;
  line-height: 1;
}

.main-trip {
  grid-row: span 2;
}

.travel-docs-chart {
  display: flex;
  align-items: end;
  gap: 10px;
}

.travel-docs-chart span {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, #eef1f4, rgba(120,128,136,.24));
}

.voice-desk {
  grid-template-columns: 280px minmax(0, 1fr);
}

.voice-tools {
  display: grid;
  gap: 12px;
}

.redesigned-dashboard .priority-call-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 48%);
  gap: 14px;
  overflow-x: auto;
}

.growth-grid {
  grid-template-columns: 320px minmax(0, 1fr);
}

.redesigned-dashboard .marketing-module-stack {
  grid-template-columns: 1fr;
}

.redesigned-dashboard .module-card,
.redesigned-dashboard .priority-call-item,
.redesigned-dashboard .marketing-report,
.redesigned-dashboard .travel-docs-tile,
.redesigned-dashboard .travel-docs-chart {
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(10, 13, 16, .66);
}

.redesigned-dashboard .module-card:hover,
.redesigned-dashboard .travel-docs-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(238,241,244,.24);
}

.bottom-ai-button {
  border-radius: 10px;
}

.bottom-ai-button img,
.ai-chat-head img,
.chat-status-orb img {
  border-radius: 10px;
  transform: rotate(-5deg);
}

@media (max-width: 1023px) {
  .entry-grid,
  .redesigned-dashboard.section-picker,
  .booking-workbench,
  .voice-desk,
  .growth-grid,
  .travel-docs-board {
    grid-template-columns: 1fr;
  }

  .booking-panel,
  .voice-panel {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .parvazin-shell .topbar {
    width: calc(100% - 20px);
    top: 10px;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .entry-copy {
    min-height: 0;
    border-right: 0;
    padding: 22px 0;
  }

  .entry-copy h1 {
    font-size: 54px;
  }

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

  .redesigned-dashboard .priority-call-carousel {
    grid-auto-columns: 100%;
  }
}

/* Parvazin gray neumorphism layer */
body {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.82), transparent 18rem),
    radial-gradient(circle at 86% 84%, rgba(145,151,158,.24), transparent 22rem),
    linear-gradient(145deg, #d7dade 0%, #c8ccd1 48%, #e2e5e8 100%);
  color: #263039;
}

.parvazin-shell .topbar,
.parvazin-shell .glass-card,
.parvazin-shell .section-panel,
.parvazin-shell .ops-ribbon article,
.parvazin-shell .travel-docs-tile,
.parvazin-shell .travel-docs-chart,
.parvazin-shell .priority-call-item,
.parvazin-shell .marketing-report,
.parvazin-shell .module-card {
  border: 1px solid rgba(255,255,255,.48);
  background: #d7dbe0;
  box-shadow:
    13px 13px 28px rgba(128, 136, 145, .38),
    -12px -12px 24px rgba(255,255,255,.72);
  color: #28313a;
}

.parvazin-shell .topbar {
  position: sticky;
  top: 14px;
  width: min(1480px, calc(100% - 32px));
  margin: 14px auto 0;
  grid-template-columns: minmax(250px, 330px) minmax(260px, 1fr) auto;
  border-radius: 28px;
  backdrop-filter: none;
}

.parvazin-shell .brand-logo,
.parvazin-shell .bottom-ai-button img,
.parvazin-shell .ai-chat-head img,
.parvazin-shell .chat-status-orb img {
  border-radius: 22px;
  transform: rotate(-6deg);
  filter: drop-shadow(8px 10px 10px rgba(122,130,139,.34));
}

.parvazin-shell .brand-block span,
.parvazin-shell .profile-chip span,
.parvazin-shell .section-head span,
.parvazin-shell .module-card span,
.parvazin-shell .priority-call-head span,
.parvazin-shell .flow-list span,
.parvazin-shell .flow-list small,
.parvazin-shell .eyebrow {
  color: #68727c;
}

.parvazin-shell .search-box,
.parvazin-shell .intro-login-form input,
.parvazin-shell .chat-disabled-input {
  border: 0;
  border-radius: 18px;
  background: #d2d6db;
  color: #27313a;
  box-shadow:
    inset 7px 7px 13px rgba(128, 136, 145, .34),
    inset -7px -7px 13px rgba(255,255,255,.7);
}

.parvazin-content {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding-top: 22px;
}

.parvazin-entry.welcome-intro {
  min-height: calc(100vh - 56px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), transparent 18rem),
    linear-gradient(145deg, #d5d9de, #c8ccd1);
  box-shadow: none;
}

.parvazin-login.intro-login-form {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border: 0;
  border-radius: 28px;
  background: #d7dbe0;
  padding: 24px;
  box-shadow:
    16px 16px 34px rgba(128, 136, 145, .38),
    -14px -14px 30px rgba(255,255,255,.74);
}

.parvazin-login .entry-hint,
.parvazin-shell .btn,
.parvazin-shell .icon-button,
.parvazin-shell .accordion-toggle,
.parvazin-shell .profile-chip,
.parvazin-shell .bottom-ai-button {
  border: 0;
  border-radius: 18px;
  background: #d7dbe0;
  color: #29323b;
  box-shadow:
    8px 8px 18px rgba(128, 136, 145, .35),
    -8px -8px 18px rgba(255,255,255,.72);
}

.parvazin-shell .btn-primary,
.parvazin-login .entry-hint {
  background: linear-gradient(145deg, #eceff2, #c9ced4);
}

.parvazin-shell .btn:active,
.parvazin-shell .icon-button:active,
.parvazin-shell .accordion-toggle:active,
.parvazin-login .entry-hint:active {
  box-shadow:
    inset 6px 6px 12px rgba(128, 136, 145, .34),
    inset -6px -6px 12px rgba(255,255,255,.72);
}

.parvazin-shell .redesigned-dashboard .section-panel {
  border-radius: 30px;
  background: #d7dbe0;
}

.parvazin-shell .section-title-row > span,
.parvazin-shell .priority-call-head em,
.parvazin-shell .tag-row span,
.parvazin-shell .insight-items span {
  border: 0;
  border-radius: 999px;
  background: #d7dbe0;
  color: #38434d;
  box-shadow:
    inset 4px 4px 8px rgba(128, 136, 145, .28),
    inset -4px -4px 8px rgba(255,255,255,.7);
}

.parvazin-shell .collapsed-preview,
.parvazin-shell .section-symbol,
.parvazin-shell .preview-metrics span,
.parvazin-shell .sentiment-preview span,
.parvazin-shell .operator-row div,
.parvazin-shell .call-mini-metrics span,
.parvazin-shell .flow-list div {
  border: 0;
  background: #d2d6db;
  box-shadow:
    inset 7px 7px 14px rgba(128, 136, 145, .28),
    inset -7px -7px 14px rgba(255,255,255,.62);
}

.parvazin-shell .entry-copy h1,
.parvazin-shell h1,
.parvazin-shell h2,
.parvazin-shell strong {
  color: #252d35;
}

.parvazin-shell .ops-ribbon strong,
.parvazin-shell .preview-metrics b,
.parvazin-shell .sentiment-preview b,
.parvazin-shell .travel-docs-tile strong,
.parvazin-shell .detail-stat strong,
.parvazin-shell .module-stat-row b,
.parvazin-shell .call-mini-metrics b,
.parvazin-shell .ring strong {
  color: #12171c;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255,255,255,.58);
}

.parvazin-shell .entry-copy {
  border-right: 0;
}

.parvazin-shell .entry-copy::before {
  border-color: rgba(110, 120, 130, .18);
  box-shadow:
    9px 9px 18px rgba(128, 136, 145, .3),
    -8px -8px 16px rgba(255,255,255,.65);
}

.parvazin-shell .travel-docs-chart span,
.parvazin-shell .bar-chart span,
.parvazin-shell .progress span {
  background: linear-gradient(180deg, #f3f5f6, #9099a3);
}

.parvazin-shell .line-placeholder path {
  stroke: #737e89;
}

.parvazin-shell .ring::before {
  background: #d7dbe0;
}

@media (max-width: 640px) {
  .parvazin-shell .topbar {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
  }
}

/* Venus hotel dark intelligence layer */
body {
  background:
    radial-gradient(circle at 14% 18%, rgba(240, 248, 255, .12), transparent 18rem),
    radial-gradient(circle at 88% 82%, rgba(126, 151, 170, .12), transparent 22rem),
    linear-gradient(145deg, #060708 0%, #10151a 48%, #050607 100%);
  color: #eef2f6;
}

.venus-shell .topbar,
.venus-shell .glass-card,
.venus-shell .section-panel,
.venus-shell .ops-ribbon article,
.venus-shell .travel-docs-tile,
.venus-shell .travel-docs-chart,
.venus-shell .priority-call-item,
.venus-shell .marketing-report,
.venus-shell .module-card,
.venus-shell .venus-agent-card,
.venus-shell .catalog-card,
.venus-shell .integration-card,
.venus-shell .alert-pill {
  border: 1px solid rgba(225, 234, 242, .13);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.026)),
    #11161b;
  color: #eef2f6;
  box-shadow:
    18px 18px 34px rgba(0,0,0,.42),
    -10px -10px 24px rgba(255,255,255,.035),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.venus-shell .topbar {
  border-radius: 28px;
  background: rgba(13, 18, 23, .82);
  backdrop-filter: blur(18px);
}

.venus-shell .brand-block h2,
.venus-shell h1,
.venus-shell h2,
.venus-shell h3,
.venus-shell strong {
  color: #f7fbff;
}

.venus-shell .brand-block span,
.venus-shell .profile-chip span,
.venus-shell .section-head span,
.venus-shell .module-card span,
.venus-shell .priority-call-head span,
.venus-shell .flow-list span,
.venus-shell .flow-list small,
.venus-shell .eyebrow,
.venus-shell p,
.venus-shell small {
  color: #aab5bf;
}

.venus-shell .search-box,
.venus-shell .intro-login-form input,
.venus-shell .chat-disabled-input,
.venus-shell .collapsed-preview,
.venus-shell .section-symbol,
.venus-shell .preview-metrics span,
.venus-shell .sentiment-preview span,
.venus-shell .operator-row div,
.venus-shell .call-mini-metrics span,
.venus-shell .flow-list div,
.venus-shell .agent-task-icons em,
.venus-shell .detail-table td,
.venus-shell .detail-table th {
  border: 1px solid rgba(225, 234, 242, .08);
  background: #0c1116;
  color: #dce6ee;
  box-shadow:
    inset 7px 7px 14px rgba(0,0,0,.34),
    inset -7px -7px 14px rgba(255,255,255,.025);
}

.venus-shell .btn,
.venus-shell .icon-button,
.venus-shell .accordion-toggle,
.venus-shell .profile-chip,
.venus-shell .bottom-ai-button,
.venus-login .entry-hint,
.venus-shell .entry-hint {
  border: 1px solid rgba(225, 234, 242, .11);
  background: #141a20;
  color: #f3f7fa;
  box-shadow:
    8px 8px 18px rgba(0,0,0,.4),
    -7px -7px 16px rgba(255,255,255,.035);
}

.venus-shell .btn-primary,
.venus-shell .entry-hint {
  background: linear-gradient(145deg, #26313b, #111820);
}

.venus-shell .parvazin-entry.welcome-intro,
.venus-entry.welcome-intro {
  background:
    radial-gradient(circle at 26% 28%, rgba(236, 245, 255, .14), transparent 20rem),
    radial-gradient(circle at 80% 72%, rgba(112, 138, 158, .12), transparent 24rem),
    linear-gradient(145deg, #080b0e, #121820);
}

.neural-entry.welcome-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  min-height: calc(100vh - 44px);
  overflow: hidden;
  border-radius: 0;
  padding: clamp(18px, 4vw, 54px);
}

.neural-entry::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 242, 255, .16), transparent 18rem),
    conic-gradient(from 130deg, transparent, rgba(220, 238, 255, .08), transparent 34%, rgba(120, 150, 170, .1), transparent);
  animation: neuralAtmosphere 18s linear infinite;
  pointer-events: none;
}

.neural-stage {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100vh - 120px));
  border: 1px solid rgba(230, 242, 255, .1);
  background:
    radial-gradient(circle at 50% 50%, rgba(222, 242, 255, .13), transparent 14rem),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .06), transparent 12rem),
    rgba(6, 10, 14, .34);
  box-shadow:
    inset 0 0 90px rgba(210, 236, 255, .035),
    0 34px 100px rgba(0, 0, 0, .38);
  border-radius: 34px;
  overflow: hidden;
}

.neural-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .46;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.neural-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(190px, 24vw, 280px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.core-halo,
.core-halo::before,
.core-halo::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(226, 244, 255, .2);
}

.core-halo {
  animation: neuralSpin 18s linear infinite;
}

.core-halo::before,
.core-halo::after {
  content: "";
  inset: 16px;
}

.core-halo::before {
  border-style: dashed;
  animation: neuralSpin 12s linear infinite reverse;
}

.core-halo::after {
  inset: 36px;
  border-color: rgba(226, 244, 255, .12);
  box-shadow: 0 0 70px rgba(204, 232, 255, .22);
}

.core-brain {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.28), transparent 36%),
    linear-gradient(145deg, #e8f3fb, #91a8b8 58%, #27333d);
  color: #081017;
  box-shadow:
    0 0 36px rgba(230, 246, 255, .48),
    0 0 90px rgba(110, 148, 176, .28);
  animation: brainPulse 2.6s ease-in-out infinite;
}

.core-brain svg {
  width: 58%;
  height: 58%;
}

.core-caption {
  position: absolute;
  bottom: 20px;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.core-caption span {
  color: #b8c8d4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.core-caption strong {
  font-size: 14px;
}

.neural-flow {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(214, 238, 255, .08);
  box-shadow: 0 0 24px rgba(190, 224, 255, .16);
}

.neural-flow::before,
.neural-flow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(245, 251, 255, .95), transparent);
  filter: blur(1px);
  animation: dataRun 2.4s linear infinite;
}

.neural-flow::after {
  animation-delay: -1.1s;
}

.flow-top,
.flow-bottom {
  left: 50%;
  width: 3px;
  height: 28%;
  transform: translateX(-50%);
}

.flow-top {
  top: 12%;
}

.flow-bottom {
  bottom: 12%;
}

.flow-left,
.flow-right {
  top: 50%;
  width: 28%;
  height: 3px;
  transform: translateY(-50%);
}

.flow-left {
  left: 12%;
}

.flow-right {
  right: 12%;
}

.flow-top::before,
.flow-top::after,
.flow-bottom::before,
.flow-bottom::after {
  inset: -40% 0 auto;
  width: 100%;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(245, 251, 255, .95), transparent);
}

.flow-left::before,
.flow-left::after,
.flow-right::before,
.flow-right::after {
  inset: 0 auto 0 -40%;
  width: 42%;
  height: 100%;
}

.neural-node {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 8px;
  place-items: center;
  width: clamp(84px, 10vw, 116px);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 244, 255, .16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)),
    rgba(11, 17, 22, .88);
  box-shadow:
    0 18px 48px rgba(0,0,0,.34),
    0 0 34px rgba(190, 224, 255, .08);
  animation: nodeFloat 4.8s ease-in-out infinite;
}

.neural-node svg {
  width: 34px;
  height: 34px;
  color: #eff8ff;
}

.neural-node span {
  color: #d9e6ee;
  font-size: 12px;
  font-weight: 900;
}

.node-top {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.node-right {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  animation-delay: -.8s;
}

.node-bottom {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -1.6s;
}

.node-left {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  animation-delay: -2.4s;
}

.neural-speech {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  max-width: 270px;
  border: 1px solid rgba(232, 244, 255, .14);
  border-radius: 18px;
  background: rgba(8, 13, 18, .72);
  box-shadow: 0 20px 54px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  padding: 12px 14px;
  animation: speechBlink 7.2s ease-in-out infinite;
}

.neural-speech svg {
  width: 18px;
  height: 18px;
}

.neural-speech span {
  color: #dceaf2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.speech-one {
  top: 18%;
  right: 18%;
}

.speech-two {
  bottom: 18%;
  left: 15%;
  animation-delay: -2.4s;
}

.speech-three {
  top: 68%;
  right: 14%;
  animation-delay: -4.8s;
}

.neural-entry-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
}

.neural-entry-panel .entry-copy {
  min-height: 0;
  border-right: 0;
  padding: 0;
}

.neural-entry-panel .entry-copy::before {
  display: none;
}

.neural-entry-panel .entry-copy h1 {
  font-size: clamp(50px, 7vw, 88px);
}

.neural-entry-panel .entry-copy span {
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

@keyframes neuralAtmosphere {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes neuralSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes brainPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.18);
  }
}

@keyframes dataRun {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(260%) translateY(260%);
  }
}

@keyframes nodeFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@keyframes speechBlink {
  0%, 18%, 100% {
    opacity: .18;
    transform: translateY(8px) scale(.97);
  }
  28%, 72% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.venus-shell .parvazin-login.intro-login-form {
  background: #10161b;
  box-shadow:
    18px 18px 38px rgba(0,0,0,.5),
    -12px -12px 24px rgba(255,255,255,.035);
}

.venus-shell .entry-copy::before {
  border-color: rgba(225, 234, 242, .12);
  box-shadow:
    9px 9px 18px rgba(0,0,0,.42),
    -7px -7px 16px rgba(255,255,255,.035);
}

.venus-dashboard.section-picker {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
}

.venus-dashboard .voice-panel,
.venus-dashboard .growth-panel {
  grid-column: auto;
}

.agent-preview,
.ops-preview,
.integration-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.agent-preview span,
.ops-preview span,
.integration-preview span {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 78px;
  border-radius: 12px;
}

.agent-preview svg,
.ops-preview svg,
.integration-preview svg {
  width: 28px;
  height: 28px;
}

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

.venus-agent-card,
.integration-card,
.catalog-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  border-radius: 14px;
  padding: 18px;
}

.agent-icon,
.integration-card > svg,
.catalog-card > svg,
.alert-pill > svg {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(238, 246, 255, .08);
  color: #f3f7fb;
}

.venus-agent-card .agent-icon svg,
.integration-card > svg,
.catalog-card > svg {
  width: 30px;
  height: 30px;
}

.venus-agent-card h3 {
  font-size: 20px;
  font-weight: 900;
}

.venus-agent-card > strong {
  font-size: 22px;
}

.agent-task-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.agent-task-icons em {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

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

.hotel-ops-grid .travel-docs-tile {
  min-height: 150px;
}

.venus-request-desk {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.manager-alert-stack {
  display: grid;
  gap: 12px;
}

.alert-pill {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  border-radius: 14px;
  padding: 12px;
}

.alert-pill strong {
  font-size: 28px;
}

.catalog-section {
  margin-top: 22px;
  border-top: 1px solid rgba(225, 234, 242, .12);
  padding-top: 22px;
}

.catalog-card p {
  line-height: 1.8;
}

.venus-shell .bottom-ai-button {
  width: 76px;
  height: 58px;
}

.venus-shell .bottom-ai-button svg,
.venus-shell .chat-status-orb svg,
.venus-shell .ai-chat-head > svg {
  width: 32px;
  height: 32px;
}

.venus-shell .ai-chat-panel {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(210, 236, 255, .12), transparent 46%),
    rgba(9, 13, 17, .96);
}

.ai-command-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 136px);
  overflow: hidden;
  border: 1px solid rgba(225, 242, 255, .13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(210, 238, 255, .16), transparent 18rem),
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.08), transparent 16rem),
    linear-gradient(145deg, rgba(10, 15, 20, .96), rgba(4, 7, 10, .96));
  box-shadow: 0 34px 110px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.055);
  padding: 18px;
}

.command-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
}

.command-background::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 60deg, transparent, rgba(220,240,255,.08), transparent 32%, rgba(120,150,175,.08), transparent);
  animation: neuralAtmosphere 22s linear infinite;
}

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

.command-topline article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 10px;
  align-items: center;
  min-height: 76px;
  border: 1px solid rgba(225, 242, 255, .11);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 30px rgba(255,255,255,.025);
  padding: 12px;
}

.command-topline svg {
  width: 25px;
  height: 25px;
}

.command-topline span,
.command-topline em {
  color: #aebac4;
  font-size: 12px;
  font-style: normal;
}

.command-topline strong {
  grid-column: 2;
  font-size: 25px;
}

.command-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 16px;
  min-height: 690px;
}

.command-rail {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 24px;
  background: rgba(8, 12, 16, .62);
  box-shadow: inset 0 0 38px rgba(255,255,255,.025);
  padding: 14px;
}

.rail-title,
.live-signal,
.radar-signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.rail-title {
  margin-bottom: 2px;
  color: #e8f4fb;
  font-weight: 900;
}

.live-signal,
.radar-signal {
  min-height: 78px;
  border: 1px solid rgba(225, 242, 255, .09);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.026));
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.live-signal::after,
.radar-signal::after {
  content: "";
  position: absolute;
  inset: auto -30% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 249, 255, .8), transparent);
  animation: railScan 2.8s linear infinite;
}

.live-signal svg,
.radar-signal svg,
.rail-title svg {
  width: 24px;
  height: 24px;
}

.live-signal strong,
.radar-signal strong {
  display: block;
  font-size: 18px;
}

.live-signal span,
.radar-signal span {
  color: #aebac4;
  font-size: 12px;
}

.live-signal.urgent {
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 0 30px rgba(230, 242, 255, .08);
}

.radar-signal {
  grid-template-columns: auto auto 1fr;
}

.radar-signal strong {
  font-size: 30px;
}

.command-core-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(225, 242, 255, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(226, 244, 255, .14), transparent 16rem),
    rgba(6, 10, 14, .56);
  box-shadow: inset 0 0 90px rgba(255,255,255,.035);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(from var(--grid-angle, 24deg) at var(--grid-x, 50%) var(--grid-y, 50%), transparent 0 12deg, rgba(220, 245, 255, .12) 13deg 14deg, transparent 15deg 31deg),
    linear-gradient(var(--grid-angle, 24deg), rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(calc(var(--grid-angle, 24deg) + 90deg), rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 46px 46px;
  opacity: var(--grid-alpha, .14);
  filter: blur(1.4px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 50%, transparent 0 19%, rgba(0,0,0,.35) 31%, rgba(0,0,0,.8) 46%, transparent 76%);
  animation: gridBreath var(--grid-speed, 12s) cubic-bezier(.35, 0, .2, 1) infinite alternate;
}

.main-brain {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 8px;
  place-items: center;
  width: clamp(180px, 23vw, 280px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  text-align: center;
}

.main-brain > svg {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  border-radius: 30px;
  background: linear-gradient(145deg, #edf8ff, #9eb5c4 58%, #283640);
  color: #071018;
  box-shadow: 0 0 44px rgba(230, 246, 255, .5), 0 0 120px rgba(120, 170, 205, .18);
  padding: 18px;
  animation: brainPulse 2.4s ease-in-out infinite;
}

.main-brain strong,
.main-brain span {
  position: relative;
  z-index: 2;
}

.main-brain strong {
  letter-spacing: 2px;
}

.main-brain span {
  color: #b8c6d0;
  font-size: 12px;
  font-weight: 800;
}

.brain-rings,
.brain-rings::before,
.brain-rings::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 246, 255, .18);
  border-radius: 50%;
  animation: neuralSpin 18s linear infinite;
}

.brain-rings::before,
.brain-rings::after {
  content: "";
}

.brain-rings::before {
  inset: 24px;
  border-style: dashed;
  animation-duration: 12s;
  animation-direction: reverse;
}

.brain-rings::after {
  inset: 52px;
  box-shadow: 0 0 70px rgba(220, 242, 255, .16);
}

.data-vein {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(220, 242, 255, .08);
  box-shadow: 0 0 30px rgba(220, 242, 255, .12);
}

.data-vein::before {
  content: "";
  position: absolute;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(245, 252, 255, .95), transparent);
  animation: dataRun 2.4s linear infinite;
}

.vein-north,
.vein-south {
  left: 50%;
  width: 4px;
  height: 30%;
  transform: translateX(-50%);
}

.vein-north {
  top: 8%;
}

.vein-south {
  bottom: 8%;
}

.vein-east,
.vein-west {
  top: 50%;
  width: 30%;
  height: 4px;
  transform: translateY(-50%);
}

.vein-east {
  right: 8%;
}

.vein-west {
  left: 8%;
}

.vein-north::before,
.vein-south::before {
  inset: -35% 0 auto;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(245, 252, 255, .95), transparent);
}

.vein-east::before,
.vein-west::before {
  inset: 0 auto 0 -35%;
  width: 40%;
  height: 100%;
}

.orbit-agent {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 7px;
  place-items: center;
  width: 138px;
  min-height: 128px;
  border: 1px solid rgba(225, 242, 255, .14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.03)),
    rgba(10, 15, 20, .88);
  box-shadow: 0 22px 58px rgba(0,0,0,.36), 0 0 36px rgba(220,242,255,.08);
  color: inherit;
  text-align: center;
  padding: 14px;
  animation: nodeFloat 5.2s ease-in-out infinite;
}

.orbit-agent svg {
  width: 32px;
  height: 32px;
}

.orbit-agent strong {
  font-size: 13px;
  letter-spacing: 1px;
}

.orbit-agent span {
  color: #aebac4;
  font-size: 11px;
}

.orbit-1 {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-2 {
  top: 31%;
  right: 7%;
  animation-delay: -.8s;
}

.orbit-3 {
  bottom: 9%;
  right: 22%;
  animation-delay: -1.6s;
}

.orbit-4 {
  bottom: 9%;
  left: 22%;
  animation-delay: -2.4s;
}

.orbit-5 {
  top: 31%;
  left: 7%;
  animation-delay: -3.2s;
}

.thinking-bubble {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  max-width: 260px;
  border: 1px solid rgba(225, 242, 255, .13);
  border-radius: 18px;
  background: rgba(6, 10, 14, .72);
  backdrop-filter: blur(14px);
  padding: 12px 14px;
  animation: speechBlink 7.5s ease-in-out infinite;
}

.thinking-bubble svg {
  width: 18px;
  height: 18px;
}

.thinking-bubble span {
  color: #dce9f1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.bubble-a {
  top: 18%;
  right: 29%;
}

.bubble-b {
  bottom: 18%;
  left: 29%;
  animation-delay: -3.2s;
}

.infrastructure-pulse {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.infrastructure-pulse span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: #dce9f1;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.infrastructure-pulse svg {
  width: 19px;
  height: 19px;
}

@keyframes railScan {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(80%);
  }
}

/* Stronger command-map art direction */
.venus-shell .ai-command-shell {
  min-height: calc(100vh - 124px);
  border-color: rgba(225, 242, 255, .16);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 47%, rgba(216, 240, 255, .22), transparent 20rem),
    radial-gradient(circle at 62% 58%, rgba(255, 222, 154, .09), transparent 18rem),
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.08), transparent 16rem),
    linear-gradient(145deg, rgba(10, 15, 20, .96), rgba(4, 7, 10, .96));
  padding: 16px;
}

.venus-shell .command-grid {
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  min-height: 730px;
}

.venus-shell .command-rail {
  border-color: rgba(225, 242, 255, .08);
  border-radius: 28px;
  background: rgba(8, 12, 16, .38);
}

.venus-shell .live-signal,
.venus-shell .radar-signal {
  border-color: rgba(225, 242, 255, .1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(230,245,255,.1), transparent 6rem),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
}

.venus-shell .command-core-map {
  isolation: isolate;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .28), transparent 13rem),
    radial-gradient(circle at 50% 50%, rgba(142, 218, 255, .23), transparent 20rem),
    radial-gradient(circle at 50% 50%, rgba(255, 214, 143, .12), transparent 29rem),
    rgba(6, 10, 14, .56);
  box-shadow: inset 0 0 150px rgba(255,255,255,.055), 0 0 90px rgba(170,210,240,.08);
}

.venus-shell .command-core-map::after {
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 6;
  width: clamp(250px, 25vw, 410px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .92) 0 11%, rgba(246, 253, 255, .72) 18%, rgba(168, 226, 255, .34) 34%, rgba(255, 220, 160, .13) 48%, transparent 68%),
    radial-gradient(circle, rgba(255, 255, 255, .34), transparent 72%);
  filter: blur(36px);
  mix-blend-mode: screen;
  opacity: .86;
  animation: centerMist 6.7s ease-in-out infinite;
}

.venus-shell .main-brain {
  width: clamp(230px, 28vw, 360px);
  z-index: 8;
}

.venus-shell .main-brain > svg {
  width: 112px;
  height: 112px;
  border-radius: 38px;
  box-shadow: 0 0 54px rgba(230, 246, 255, .68), 0 0 150px rgba(120, 170, 205, .28);
  padding: 23px;
}

.ai-vein-svg {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.vein-path {
  fill: none;
  stroke: rgba(205, 238, 255, .18);
  stroke-width: 6.4;
  stroke-linecap: round;
  stroke-dasharray: var(--base-dash, 900 1);
  filter: url(#veinGlow) blur(calc(var(--tip-blur, .15px) + .55px));
  opacity: calc(var(--base-alpha, .22) * .62);
  mask: url(#veinEndFade);
  animation:
    armOrbit var(--arm-speed) var(--arm-ease, cubic-bezier(.34, 0, .2, 1)) infinite,
    handBreath var(--hand-breath, 3.8s) ease-in-out infinite;
  animation-delay: var(--arm-delay, 0s), var(--hand-delay, -.6s);
}

.vein-arm {
  transform-box: view-box;
  transform-origin: 500px 350px;
  --arm-speed: 13s;
  --arm-start: 0deg;
  --arm-mid-1: 65deg;
  --arm-mid-2: 112deg;
  --arm-mid-3: 241deg;
  --arm-mid-4: 281deg;
  --arm-end: 360deg;
  --arm-scale-x: 1;
  --arm-scale-y: 1;
  --arm-skew: 0deg;
  --arm-skew-1: -1deg;
  --arm-skew-2: 1deg;
  --arm-skew-3: -1.5deg;
  --arm-skew-4: 1.5deg;
  --wave-x: 0px;
  --wave-y: 0px;
  --wave-x-neg: 0px;
  --wave-y-neg: 0px;
  --vibe-x: 0px;
  --vibe-y: 0px;
  --arm-delay: 0s;
  animation: armOrbit var(--arm-speed) cubic-bezier(.34, 0, .2, 1) infinite;
  animation-delay: var(--arm-delay);
}

.vein-hot {
  fill: none;
  stroke: rgba(255, 255, 255, .84);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--vein-dash, 18 165);
  filter: url(#veinGlow) blur(calc(var(--tip-blur, .15px) + .35px));
  animation:
    veinTravel var(--vein-speed, 3.1s) linear infinite,
    armOrbit var(--arm-speed) var(--arm-ease, cubic-bezier(.34, 0, .2, 1)) infinite,
    veinFlash var(--flash-speed, 1.7s) steps(5, end) infinite,
    handReach var(--hand-reach, 4.6s) ease-in-out infinite;
  animation-delay: var(--vein-delay, 0s), var(--arm-delay, 0s), var(--flash-delay, -.4s), var(--hand-delay, -.8s);
  opacity: calc(var(--vein-alpha, .9) * .76);
  mask: url(#veinEndFade);
}

.vein-extra {
  stroke: var(--extra-color, rgba(205, 239, 255, .72));
  stroke-width: calc(var(--extra-width, 1.8) * .78);
  stroke-dasharray: var(--vein-dash, 22 38);
  filter: url(#veinGlow) blur(calc(var(--tip-blur, 1.1px) + .35px));
  opacity: calc(var(--vein-alpha, .42) * .58);
  mix-blend-mode: screen;
}

.vein-trail {
  fill: none;
  stroke: rgba(207, 241, 255, .24);
  stroke-width: calc(var(--trail-width, 13) * .75);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--base-dash, 900 1);
  filter:
    url(#veinGlow)
    blur(var(--trail-blur, 10px))
    drop-shadow(0 0 24px rgba(188, 232, 255, .22));
  opacity: calc(var(--trail-alpha, .16) * .62);
  mix-blend-mode: screen;
  mask: url(#veinEndFade);
  animation:
    armOrbit var(--arm-speed) var(--arm-ease, cubic-bezier(.34, 0, .2, 1)) infinite,
    trailFade 5s ease-in-out infinite;
  animation-delay: calc(var(--arm-delay, 0s) - var(--trail-lag, 1s)), calc(var(--hand-delay, 0s) - var(--trail-lag, 1s));
}

.trail-near {
  --trail-lag: 1.15s;
  --trail-alpha: .2;
  --trail-blur: 7px;
  --trail-width: 12;
}

.trail-mid {
  --trail-lag: 2.8s;
  --trail-alpha: .12;
  --trail-blur: 13px;
  --trail-width: 16;
}

.trail-far {
  --trail-lag: 4.9s;
  --trail-alpha: .065;
  --trail-blur: 22px;
  --trail-width: 22;
}

.arm-1 {
  --arm-speed: 14.5s;
  --arm-start: -8deg;
  --arm-mid-1: 58deg;
  --arm-mid-2: 104deg;
  --arm-mid-3: 231deg;
  --arm-mid-4: 273deg;
  --arm-end: 352deg;
  --arm-scale-x: 1.04;
  --arm-scale-y: .98;
  --arm-skew: 1.5deg;
  --arm-skew-1: -2.2deg;
  --arm-skew-2: 1.1deg;
  --arm-skew-3: -1.5deg;
  --arm-skew-4: 2deg;
  --arm-delay: -.7s;
  --arm-ease: cubic-bezier(.22, .82, .31, .99);
}

.arm-2 {
  --arm-speed: 19.8s;
  --arm-start: 70deg;
  --arm-mid-1: 7deg;
  --arm-mid-2: -42deg;
  --arm-mid-3: -171deg;
  --arm-mid-4: -214deg;
  --arm-end: -290deg;
  --arm-scale-x: .96;
  --arm-scale-y: 1.06;
  --arm-skew: -2.6deg;
  --arm-skew-1: 3.1deg;
  --arm-skew-2: -1.5deg;
  --arm-skew-3: 2.4deg;
  --arm-skew-4: -3.4deg;
  --arm-delay: -3.1s;
  --arm-ease: cubic-bezier(.55, .03, .16, .98);
}

.arm-3 {
  --arm-speed: 11.6s;
  --arm-start: 146deg;
  --arm-mid-1: 218deg;
  --arm-mid-2: 256deg;
  --arm-mid-3: 389deg;
  --arm-mid-4: 421deg;
  --arm-end: 506deg;
  --arm-scale-x: 1.08;
  --arm-scale-y: .94;
  --arm-skew: 3deg;
  --arm-skew-1: -3.6deg;
  --arm-skew-2: 2.1deg;
  --arm-skew-3: -3deg;
  --arm-skew-4: 4deg;
  --arm-delay: -1.9s;
  --arm-ease: cubic-bezier(.18, .88, .28, 1.08);
}

.arm-4 {
  --arm-speed: 23.4s;
  --arm-start: 214deg;
  --arm-mid-1: 151deg;
  --arm-mid-2: 101deg;
  --arm-mid-3: -27deg;
  --arm-mid-4: -70deg;
  --arm-end: -146deg;
  --arm-scale-x: .93;
  --arm-scale-y: 1.09;
  --arm-skew: -1.8deg;
  --arm-skew-1: 2.2deg;
  --arm-skew-2: -1.3deg;
  --arm-skew-3: 1.8deg;
  --arm-skew-4: -2.5deg;
  --arm-delay: -5.4s;
  --arm-ease: cubic-bezier(.65, 0, .22, 1);
}

.arm-5 {
  --arm-speed: 16.7s;
  --arm-start: 292deg;
  --arm-mid-1: 356deg;
  --arm-mid-2: 405deg;
  --arm-mid-3: 532deg;
  --arm-mid-4: 575deg;
  --arm-end: 652deg;
  --arm-scale-x: 1.02;
  --arm-scale-y: 1.02;
  --arm-skew: 2.2deg;
  --arm-skew-1: -2.8deg;
  --arm-skew-2: 1.6deg;
  --arm-skew-3: -2.2deg;
  --arm-skew-4: 3deg;
  --arm-delay: -2.6s;
  --arm-ease: cubic-bezier(.28, .04, .1, 1);
}

.vein-delay-1 { --vein-delay: -.34s; --vein-speed: 3.35s; --flash-speed: 1.35s; }
.vein-delay-2 { --vein-delay: -1.18s; --vein-speed: 4.7s; --flash-speed: 2.15s; }
.vein-delay-3 { --vein-delay: -2.05s; --vein-speed: 3.85s; --flash-speed: 1.65s; }
.vein-delay-4 { --vein-delay: -.72s; --vein-speed: 5.2s; --flash-speed: 2.55s; }
.vein-delay-5 { --vein-delay: -2.9s; --vein-speed: 4.25s; --flash-speed: 1.9s; }

.arm-1 { --hand-breath: 4.2s; --hand-reach: 5.7s; --hand-delay: -.5s; }
.arm-2 { --hand-breath: 5.8s; --hand-reach: 4.4s; --hand-delay: -1.4s; }
.arm-3 { --hand-breath: 3.6s; --hand-reach: 6.1s; --hand-delay: -2.1s; }
.arm-4 { --hand-breath: 6.4s; --hand-reach: 5.2s; --hand-delay: -3s; }
.arm-5 { --hand-breath: 4.9s; --hand-reach: 3.9s; --hand-delay: -1.8s; }

.vein-delay-2,
.vein-delay-5 {
  stroke: rgba(255, 220, 160, .88);
}

.vein-delay-3,
.vein-delay-4 {
  stroke: rgba(158, 226, 255, .94);
}

.venus-shell .data-vein {
  opacity: .16;
}

.venus-shell .orbit-agent {
  z-index: 7;
  width: 150px;
  min-height: 136px;
  background:
    radial-gradient(circle at 50% 0, rgba(232,246,255,.18), transparent 5rem),
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03)),
    rgba(10, 15, 20, .88);
  box-shadow: 0 22px 58px rgba(0,0,0,.36), 0 0 44px rgba(220,242,255,.12);
}

.venus-shell .orbit-agent svg {
  width: 38px;
  height: 38px;
}

@keyframes veinTravel {
  from {
    stroke-dashoffset: 170;
  }
  to {
    stroke-dashoffset: -170;
  }
}

@keyframes armOrbit {
  0% {
    transform: translate(var(--vibe-x), var(--vibe-y)) rotate(var(--arm-start)) scale(var(--arm-scale-x), var(--arm-scale-y)) skew(var(--arm-skew));
  }
  18% {
    transform: translate(var(--wave-x), var(--wave-y-neg)) rotate(var(--arm-mid-1)) scale(calc(var(--arm-scale-x) + .035), calc(var(--arm-scale-y) - .02)) skew(var(--arm-skew-1));
  }
  34% {
    transform: translate(var(--wave-x-neg), var(--wave-y)) rotate(var(--arm-mid-2)) scale(calc(var(--arm-scale-x) - .025), calc(var(--arm-scale-y) + .04)) skew(var(--arm-skew-2));
  }
  61% {
    transform: translate(var(--wave-x), var(--wave-y)) rotate(var(--arm-mid-3)) scale(calc(var(--arm-scale-x) + .055), calc(var(--arm-scale-y) - .035)) skew(var(--arm-skew-3));
  }
  77% {
    transform: translate(var(--wave-x-neg), var(--wave-y-neg)) rotate(var(--arm-mid-4)) scale(calc(var(--arm-scale-x) - .04), calc(var(--arm-scale-y) + .05)) skew(var(--arm-skew-4));
  }
  100% {
    transform: translate(var(--vibe-x), var(--vibe-y)) rotate(var(--arm-end)) scale(var(--arm-scale-x), var(--arm-scale-y)) skew(var(--arm-skew));
  }
}

@keyframes veinFlash {
  0%, 100% {
    opacity: calc(var(--vein-alpha, .9) * .62);
    stroke-width: 2.8;
  }
  14% {
    opacity: 1;
    stroke-width: 4.2;
  }
  27% {
    opacity: calc(var(--vein-alpha, .9) * .38);
    stroke-width: 2.4;
  }
  43% {
    opacity: calc(var(--vein-alpha, .9) * .86);
    stroke-width: 3.7;
  }
  58% {
    opacity: .24;
    stroke-width: 2.1;
  }
  73% {
    opacity: 1;
    stroke-width: 4.8;
  }
}

@keyframes handBreath {
  0%, 100% {
    stroke-width: 6.5;
    opacity: calc(var(--base-alpha, .22) * .72);
  }
  31% {
    stroke-width: 9.5;
    opacity: var(--base-alpha, .22);
  }
  64% {
    stroke-width: 7.2;
    opacity: calc(var(--base-alpha, .22) * 1.18);
  }
}

@keyframes handReach {
  0%, 100% {
    stroke-width: 3.1;
    filter: url(#veinGlow) blur(var(--tip-blur, .15px)) drop-shadow(0 0 8px rgba(230, 248, 255, .36));
  }
  28% {
    stroke-width: 4.7;
    filter: url(#veinGlow) blur(calc(var(--tip-blur, .15px) + .35px)) drop-shadow(0 0 18px rgba(230, 248, 255, .72));
  }
  57% {
    stroke-width: 2.8;
    filter: url(#veinGlow) blur(calc(var(--tip-blur, .15px) + .8px)) drop-shadow(0 0 12px rgba(255, 220, 160, .52));
  }
  81% {
    stroke-width: 4.2;
    filter: url(#veinGlow) blur(calc(var(--tip-blur, .15px) + .2px)) drop-shadow(0 0 22px rgba(170, 230, 255, .68));
  }
}

@keyframes trailFade {
  0%, 100% {
    opacity: calc(var(--trail-alpha, .12) * .48);
    stroke-width: calc(var(--trail-width, 14) * .85);
  }
  28% {
    opacity: var(--trail-alpha, .12);
    stroke-width: var(--trail-width, 14);
  }
  63% {
    opacity: calc(var(--trail-alpha, .12) * .68);
    stroke-width: calc(var(--trail-width, 14) * 1.18);
  }
  86% {
    opacity: calc(var(--trail-alpha, .12) * .26);
    stroke-width: calc(var(--trail-width, 14) * 1.32);
  }
}

@keyframes gridBreath {
  0% {
    transform: rotate(-2deg) scale(.98, 1.03);
    background-position: 0 0, 0 0, 0 0;
  }
  38% {
    transform: rotate(4deg) scale(1.04, .96);
    background-position: 18px -11px, 24px -8px, -13px 21px;
  }
  71% {
    transform: rotate(-6deg) scale(.95, 1.06);
    background-position: -21px 15px, -16px 20px, 22px -18px;
  }
  100% {
    transform: rotate(3deg) scale(1.02);
    background-position: 9px 22px, 12px 18px, -20px -10px;
  }
}

@keyframes centerMist {
  0%, 100% {
    opacity: .82;
    transform: translate(-50%, -50%) scale(.94) rotate(0deg);
  }
  23% {
    opacity: .98;
    transform: translate(-50%, -50%) scale(1.05) rotate(6deg);
  }
  57% {
    opacity: .74;
    transform: translate(-50%, -50%) scale(.99) rotate(-4deg);
  }
  81% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.09) rotate(3deg);
  }
}

/* Immersive dashboard mode: make the AI map the product, not a card grid */
.venus-shell .ai-command-shell {
  min-height: calc(100vh - 116px);
  padding: 14px;
}

.venus-shell .command-topline {
  position: absolute;
  top: 22px;
  right: 22px;
  left: 22px;
  z-index: 12;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  pointer-events: none;
}

.venus-shell .command-topline article {
  grid-template-columns: auto auto;
  min-height: 46px;
  width: auto;
  min-width: 130px;
  border-radius: 999px;
  background: rgba(8, 13, 18, .48);
  backdrop-filter: blur(16px);
  padding: 8px 13px;
}

.venus-shell .command-topline article span,
.venus-shell .command-topline article em {
  display: none;
}

.venus-shell .command-topline article strong {
  grid-column: auto;
  font-size: 20px;
}

.venus-shell .command-grid {
  position: relative;
  display: block;
  min-height: calc(100vh - 190px);
}

.venus-shell .command-core-map {
  position: absolute;
  inset: 0;
  border-radius: 32px;
}

.venus-shell .command-rail {
  position: absolute;
  z-index: 13;
  top: 118px;
  width: 210px;
  border-radius: 24px;
  background: rgba(5, 9, 13, .38);
  backdrop-filter: blur(18px);
  padding: 12px;
}

.venus-shell .rail-live {
  right: 18px;
}

.venus-shell .rail-manager {
  left: 18px;
}

.venus-shell .live-signal,
.venus-shell .radar-signal {
  min-height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  padding: 10px;
}

.venus-shell .radar-signal strong {
  font-size: 24px;
}

.venus-shell .infrastructure-pulse {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 12;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  pointer-events: none;
}

.venus-shell .infrastructure-pulse span {
  min-height: 42px;
  border-radius: 999px;
  background: rgba(8, 13, 18, .48);
  backdrop-filter: blur(16px);
  padding: 0 14px;
}

.venus-shell .orbit-1 {
  top: 11%;
}

.venus-shell .orbit-2 {
  right: 17%;
}

.venus-shell .orbit-5 {
  left: 17%;
}

.venus-shell .orbit-3 {
  right: 31%;
  bottom: 8%;
}

.venus-shell .orbit-4 {
  left: 31%;
  bottom: 8%;
}

.venus-shell .bubble-a {
  top: 23%;
  right: 34%;
}

.venus-shell .bubble-b {
  bottom: 22%;
  left: 34%;
}

@media (max-width: 1023px) {
  .venus-shell .command-topline,
  .venus-shell .infrastructure-pulse {
    flex-wrap: wrap;
  }

  .venus-shell .command-grid {
    min-height: 860px;
  }

  .venus-shell .command-rail {
    top: auto;
    bottom: 82px;
    width: min(46%, 260px);
  }
}

@media (max-width: 640px) {
  .venus-shell .command-grid {
    min-height: 820px;
  }

  .venus-shell .command-topline article {
    min-width: auto;
  }

  .venus-shell .command-rail {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .venus-shell .command-core-map {
    position: relative;
    min-height: 620px;
  }

  .venus-shell .infrastructure-pulse {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 12px;
  }
}

@media (max-width: 1023px) {
  .venus-dashboard.section-picker,
  .agent-grid,
  .integration-grid,
  .catalog-grid,
  .venus-request-desk {
    grid-template-columns: 1fr;
  }

  .agent-preview,
  .ops-preview,
  .integration-preview,
  .hotel-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neural-entry.welcome-intro {
    grid-template-columns: 1fr;
  }

  .neural-stage {
    min-height: 560px;
  }

  .neural-entry-panel .entry-copy h1 {
    font-size: 54px;
  }

  .command-topline,
  .infrastructure-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .rail-title {
    grid-column: 1 / -1;
  }

  .command-core-map {
    min-height: 640px;
  }
}

@media (max-width: 640px) {
  .agent-preview,
  .ops-preview,
  .integration-preview,
  .hotel-ops-grid {
    grid-template-columns: 1fr;
  }

  .neural-entry.welcome-intro {
    padding: 16px;
  }

  .neural-stage {
    min-height: 460px;
    border-radius: 24px;
  }

  .neural-core {
    width: 170px;
  }

  .neural-node {
    width: 74px;
    border-radius: 18px;
  }

  .neural-node svg {
    width: 25px;
    height: 25px;
  }

  .neural-node span {
    font-size: 10px;
  }

  .speech-one,
  .speech-two,
  .speech-three {
    right: 14px;
    left: 14px;
    max-width: none;
  }

  .speech-one {
    top: 15%;
  }

  .speech-two {
    bottom: 14%;
  }

  .speech-three {
    top: 66%;
  }

  .command-topline,
  .infrastructure-pulse,
  .command-rail {
    grid-template-columns: 1fr;
  }

  .ai-command-shell {
    border-radius: 24px;
    padding: 12px;
  }

  .command-core-map {
    min-height: 560px;
    border-radius: 22px;
  }

  .main-brain {
    width: 170px;
  }

  .main-brain > svg {
    width: 64px;
    height: 64px;
    padding: 14px;
  }

  .orbit-agent {
    width: 104px;
    min-height: 96px;
    border-radius: 18px;
    padding: 10px;
  }

  .orbit-agent svg {
    width: 24px;
    height: 24px;
  }

  .orbit-agent span {
    display: none;
  }

  .thinking-bubble {
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .bubble-a {
    top: 16%;
  }

  .bubble-b {
    bottom: 16%;
  }
}

/* Live status lights for agents, infrastructure, and hotel services */
.system-health-cluster {
  position: absolute;
  top: 76px;
  right: 22px;
  left: 22px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.health-chip {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 999px;
  background: rgba(8, 13, 18, .42);
  backdrop-filter: blur(16px);
  color: #dce9f1;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
}

.health-chip svg {
  width: 16px;
  height: 16px;
}

.health-chip em {
  color: #97a7b3;
  font-style: normal;
  font-weight: 800;
}

.health-chip.offline {
  border-color: rgba(255, 116, 116, .3);
}

.health-chip.warning {
  border-color: rgba(255, 208, 128, .28);
}

.health-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #8fa0ad;
}

.health-dot.online {
  background: #70ff9e;
  box-shadow: 0 0 14px rgba(112, 255, 158, .7);
  animation: onlineBlink 1.9s ease-in-out infinite;
}

.health-dot.warning {
  background: #ffd27a;
  box-shadow: 0 0 14px rgba(255, 210, 122, .68);
  animation: warningBlink 1.15s ease-in-out infinite;
}

.health-dot.offline {
  background: #ff5f67;
  box-shadow: 0 0 16px rgba(255, 95, 103, .76);
  animation: offlineBlink .78s ease-in-out infinite;
}

.agent-health {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 11px;
  height: 11px;
}

.venus-shell .infrastructure-pulse span {
  grid-template-columns: auto auto 1fr;
}

.venus-shell .infrastructure-pulse span.online {
  border-color: rgba(112, 255, 158, .24);
}

.venus-shell .infrastructure-pulse span.warning {
  border-color: rgba(255, 210, 122, .24);
}

.venus-shell .infrastructure-pulse span.offline {
  border-color: rgba(255, 95, 103, .3);
}

@keyframes onlineBlink {
  0%, 100% {
    opacity: .62;
    transform: scale(.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes warningBlink {
  0%, 100% {
    opacity: .48;
  }
  50% {
    opacity: 1;
  }
}

@keyframes offlineBlink {
  0%, 100% {
    opacity: .35;
    transform: scale(.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* Hotel manager demo: five primary AI flows */
.venus-shell .command-title {
  position: absolute;
  top: 18px;
  right: 24px;
  left: 24px;
  z-index: 15;
  max-width: 680px;
  pointer-events: none;
}

.venus-shell .command-title .eyebrow {
  color: #ffdca0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.venus-shell .command-title h2 {
  margin-top: 4px;
  color: #f6fbff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 950;
  line-height: 1.35;
}

.venus-shell .command-title span {
  display: block;
  max-width: 620px;
  margin-top: 6px;
  color: #b8c6d0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.venus-shell .command-topline {
  top: 124px;
  justify-content: flex-start;
}

.venus-shell .command-topline article {
  grid-template-columns: auto minmax(72px, 1fr) auto;
  min-width: 168px;
  min-height: 58px;
  border-radius: 18px;
  pointer-events: auto;
}

.venus-shell .command-topline article span,
.venus-shell .command-topline article em {
  display: block;
}

.venus-shell .command-topline article span {
  color: #e8f4fb;
  font-weight: 900;
}

.venus-shell .command-topline article em {
  grid-column: 2 / -1;
  color: #93a3af;
  font-size: 10px;
}

.venus-shell .command-topline article strong {
  align-self: center;
  color: #ffdca0;
  font-size: 22px;
}

.venus-shell .system-health-cluster {
  top: 198px;
  justify-content: flex-start;
}

.venus-shell .command-rail {
  top: 270px;
}

.venus-shell .orbit-agent {
  width: 178px;
  min-height: 168px;
  gap: 8px;
}

.venus-shell .orbit-agent strong {
  color: #f6fbff;
  font-size: 14px;
  letter-spacing: 0;
}

.venus-shell .orbit-agent span {
  color: #ffdca0;
  font-size: 12px;
  font-weight: 900;
}

.venus-shell .orbit-agent small {
  display: block;
  color: #bdcbd4;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}

.venus-shell .orbit-1 {
  top: 24%;
}

.venus-shell .orbit-2 {
  top: 41%;
  right: 24%;
}

.venus-shell .orbit-5 {
  top: 41%;
  left: 24%;
}

.venus-shell .orbit-3 {
  right: 30%;
  bottom: 8%;
}

.venus-shell .orbit-4 {
  left: 30%;
  bottom: 8%;
}

.venus-shell .bubble-a {
  top: 25%;
  right: 38%;
}

.venus-shell .bubble-b {
  bottom: 25%;
  left: 38%;
}

@media (max-width: 1180px) {
  .venus-shell .command-title {
    position: relative;
    inset: auto;
    margin: 2px 4px 14px;
  }

  .venus-shell .command-topline,
  .venus-shell .system-health-cluster {
    position: relative;
    inset: auto;
    justify-content: center;
    margin-bottom: 10px;
  }

  .venus-shell .command-rail {
    top: auto;
  }

  .venus-shell .command-topline article {
    min-width: 150px;
  }
}

@media (max-width: 640px) {
  .venus-shell .command-title h2 {
    font-size: 22px;
  }

  .venus-shell .command-topline article {
    width: 100%;
  }

  .venus-shell .orbit-agent {
    width: 116px;
    min-height: 116px;
  }

  .venus-shell .orbit-agent small {
    display: none;
  }
}

/* Living center brain: borderless, liquid, and pulsing like a neural core */
.venus-shell .main-brain {
  top: 52%;
  width: clamp(330px, 34vw, 520px);
  aspect-ratio: 1;
  gap: 10px;
  isolation: isolate;
  filter: drop-shadow(0 0 48px rgba(210, 238, 255, .34));
}

.venus-shell .main-brain::before,
.venus-shell .main-brain::after {
  content: "";
  position: absolute;
  inset: 5%;
  z-index: 0;
  border-radius: 47% 53% 44% 56% / 53% 44% 56% 47%;
  background:
    radial-gradient(circle at 38% 35%, rgba(255, 255, 255, .42), transparent 12%),
    radial-gradient(circle at 62% 42%, rgba(255, 220, 160, .25), transparent 18%),
    radial-gradient(circle at 50% 56%, rgba(148, 214, 255, .28), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(225, 246, 255, .2), transparent 62%);
  filter: blur(12px);
  opacity: .82;
  animation: livingCloud 7.6s ease-in-out infinite;
}

.venus-shell .main-brain::after {
  inset: 17%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 42% 44%, rgba(255,255,255,.34), transparent 30%),
    radial-gradient(ellipse at 61% 55%, rgba(158, 226, 255, .26), transparent 38%),
    radial-gradient(circle, rgba(235, 248, 255, .2), transparent 64%);
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: .5;
  animation: liquidNerveSpin 13s ease-in-out infinite;
}

.venus-shell .brain-cloud,
.venus-shell .brain-liquid,
.venus-shell .brain-neural-flash,
.venus-shell .brain-sun {
  position: absolute;
  pointer-events: none;
}

.venus-shell .brain-cloud {
  inset: -4%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(230, 246, 255, .22), transparent 47%),
    radial-gradient(ellipse at 42% 60%, rgba(255, 220, 160, .13), transparent 31%);
  filter: blur(22px);
  opacity: .7;
  animation: cloudBreath 4.8s ease-in-out infinite;
}

.venus-shell .brain-liquid {
  inset: 19%;
  z-index: 2;
  border-radius: 45% 55% 51% 49% / 48% 45% 55% 52%;
  background:
    radial-gradient(ellipse at 36% 40%, rgba(255, 255, 255, .46), transparent 24%),
    radial-gradient(ellipse at 63% 58%, rgba(173, 232, 255, .36), transparent 32%),
    radial-gradient(ellipse at 51% 51%, rgba(255, 220, 160, .16), transparent 44%),
    radial-gradient(circle, rgba(235, 248, 255, .18), transparent 68%);
  filter: blur(11px) drop-shadow(0 0 22px rgba(235, 248, 255, .42));
  opacity: .48;
  mix-blend-mode: screen;
  animation: liquidMorph 7.8s ease-in-out infinite;
}

.venus-shell .brain-neural-flash {
  inset: 18%;
  z-index: 4;
  border-radius: 44% 56% 52% 48% / 54% 43% 57% 46%;
  background:
    radial-gradient(circle at 45% 46%, rgba(255,255,255,.48), transparent 18%),
    radial-gradient(circle at 58% 55%, rgba(190, 230, 255, .34), transparent 28%),
    radial-gradient(circle at 52% 50%, rgba(255, 220, 160, .12), transparent 45%);
  clip-path: none;
  filter: blur(14px) drop-shadow(0 0 18px rgba(235, 248, 255, .44));
  opacity: .26;
  animation: softCorePulse 6.4s ease-in-out infinite;
}

.venus-shell .brain-sun {
  inset: 28%;
  z-index: 7;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 12deg, rgba(255,255,255,.16) 0 2deg, transparent 4deg 15deg, rgba(255, 220, 160, .13) 17deg 19deg, transparent 22deg 36deg),
    radial-gradient(circle, rgba(255,255,255,.42), rgba(255, 221, 143, .2) 28%, transparent 66%);
  filter: blur(2.5px) drop-shadow(0 0 36px rgba(255, 230, 170, .52));
  mix-blend-mode: screen;
  opacity: .82;
  animation: sunRays 8.2s ease-in-out infinite;
}

.venus-shell .brain-sun::before,
.venus-shell .brain-sun::after,
.venus-shell .brain-sun .sun-needles,
.venus-shell .brain-sun .sun-needles i,
.venus-shell .brain-sun .sun-planets,
.venus-shell .brain-sun .sun-planets i,
.venus-shell .brain-sun span {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.venus-shell .brain-sun .sun-needles {
  inset: -34%;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255, 238, 196, .72));
  opacity: .9;
  animation: sunNeedleGlow 4.7s ease-in-out infinite;
}

.venus-shell .brain-sun .sun-needles i {
  top: 50%;
  left: 50%;
  width: var(--needle-length, 58%);
  height: var(--needle-width, 1.6px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255, 226, 153, .82) 38%, rgba(255,255,255,.28) 76%, transparent);
  box-shadow:
    0 0 8px rgba(255,255,255,.75),
    0 0 20px rgba(255, 214, 122, .44);
  opacity: var(--needle-alpha, .72);
  transform: rotate(var(--needle-angle, 0deg)) translateX(12%);
  transform-origin: 0 50%;
}

.venus-shell .brain-sun .sun-needles i:nth-child(1) { --needle-angle: 2deg; --needle-length: 63%; --needle-width: 1.4px; --needle-alpha: .9; }
.venus-shell .brain-sun .sun-needles i:nth-child(2) { --needle-angle: 24deg; --needle-length: 42%; --needle-width: 1px; --needle-alpha: .56; }
.venus-shell .brain-sun .sun-needles i:nth-child(3) { --needle-angle: 43deg; --needle-length: 72%; --needle-width: 1.8px; --needle-alpha: .82; }
.venus-shell .brain-sun .sun-needles i:nth-child(4) { --needle-angle: 67deg; --needle-length: 50%; --needle-width: 1.2px; --needle-alpha: .62; }
.venus-shell .brain-sun .sun-needles i:nth-child(5) { --needle-angle: 91deg; --needle-length: 66%; --needle-width: 1.5px; --needle-alpha: .86; }
.venus-shell .brain-sun .sun-needles i:nth-child(6) { --needle-angle: 112deg; --needle-length: 39%; --needle-width: 1px; --needle-alpha: .5; }
.venus-shell .brain-sun .sun-needles i:nth-child(7) { --needle-angle: 138deg; --needle-length: 70%; --needle-width: 1.7px; --needle-alpha: .8; }
.venus-shell .brain-sun .sun-needles i:nth-child(8) { --needle-angle: 161deg; --needle-length: 47%; --needle-width: 1.1px; --needle-alpha: .58; }
.venus-shell .brain-sun .sun-needles i:nth-child(9) { --needle-angle: 184deg; --needle-length: 76%; --needle-width: 1.9px; --needle-alpha: .9; }
.venus-shell .brain-sun .sun-needles i:nth-child(10) { --needle-angle: 207deg; --needle-length: 45%; --needle-width: 1px; --needle-alpha: .54; }
.venus-shell .brain-sun .sun-needles i:nth-child(11) { --needle-angle: 231deg; --needle-length: 68%; --needle-width: 1.6px; --needle-alpha: .78; }
.venus-shell .brain-sun .sun-needles i:nth-child(12) { --needle-angle: 253deg; --needle-length: 52%; --needle-width: 1.2px; --needle-alpha: .64; }
.venus-shell .brain-sun .sun-needles i:nth-child(13) { --needle-angle: 276deg; --needle-length: 73%; --needle-width: 1.7px; --needle-alpha: .84; }
.venus-shell .brain-sun .sun-needles i:nth-child(14) { --needle-angle: 301deg; --needle-length: 40%; --needle-width: 1px; --needle-alpha: .5; }
.venus-shell .brain-sun .sun-needles i:nth-child(15) { --needle-angle: 323deg; --needle-length: 61%; --needle-width: 1.4px; --needle-alpha: .76; }
.venus-shell .brain-sun .sun-needles i:nth-child(16) { --needle-angle: 344deg; --needle-length: 49%; --needle-width: 1.1px; --needle-alpha: .58; }

.venus-shell .vein-star-field {
  position: absolute;
  inset: 0;
  z-index: 14;
  overflow: hidden;
  pointer-events: none;
}

.venus-shell .vein-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.venus-shell .vein-tip-star {
  position: absolute;
  top: var(--star-y, 50%);
  left: var(--star-x, 50%);
  width: var(--star-size, 8px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,1) 0 18%, rgba(255, 232, 170, .92) 26%, rgba(170, 230, 255, .36) 48%, transparent 72%);
  box-shadow:
    0 0 10px rgba(255,255,255,.9),
    0 0 24px rgba(255, 220, 140, .52),
    0 0 40px rgba(170, 230, 255, .28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6) rotate(var(--star-rotate, 0deg));
  animation: lineTipStar 5s ease-out forwards;
}

.venus-shell .vein-tip-star::before,
.venus-shell .vein-tip-star::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: calc(var(--star-size, 8px) * 2.9);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.92), transparent);
  filter: blur(.2px);
  transform: translate(-50%, -50%);
}

.venus-shell .vein-tip-star::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.venus-shell .brain-sun::before {
  inset: -20%;
  background:
    conic-gradient(from 80deg, transparent 0 8%, rgba(255,255,255,.34) 10%, transparent 15% 31%, rgba(255, 220, 160, .24) 35%, transparent 42% 61%, rgba(180, 232, 255, .22) 65%, transparent 73% 100%),
    radial-gradient(circle, rgba(255,255,255,.2), transparent 62%);
  filter: blur(13px);
  opacity: .74;
  animation: sunCorona 5.6s cubic-bezier(.3, 0, .2, 1) infinite alternate;
}

.venus-shell .brain-sun::after {
  inset: 20%;
  background:
    radial-gradient(circle at 45% 38%, rgba(255,255,255,.98), rgba(255, 238, 189, .82) 27%, rgba(255, 196, 86, .32) 55%, transparent 72%);
  filter: blur(5px);
  opacity: .95;
  animation: sunCore 3.8s ease-in-out infinite;
}

.venus-shell .brain-sun span {
  inset: 39%;
  background:
    radial-gradient(circle, #020304 0 16%, rgba(0,0,0,.88) 23%, rgba(255, 246, 216, .94) 25% 43%, rgba(255, 236, 180, .78) 52%, transparent 74%);
  filter:
    blur(1.6px)
    drop-shadow(0 0 14px rgba(0,0,0,.96))
    drop-shadow(0 0 24px rgba(255,255,255,.7));
  opacity: 1;
}

.venus-shell .brain-sun .sun-planets {
  inset: -18%;
  z-index: 3;
  display: block;
  border-radius: 50%;
  opacity: .96;
}

.venus-shell .brain-sun .sun-planets i {
  top: 50%;
  left: 50%;
  width: var(--planet-size, 6px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff, var(--planet-color, #ffdca0) 38%, rgba(255,255,255,.08) 70%);
  box-shadow:
    0 0 10px rgba(255,255,255,.72),
    0 0 22px var(--planet-glow, rgba(255, 220, 160, .55));
  transform-origin: calc(var(--planet-orbit, 46px) * -1) 50%;
  animation: planetOrbit var(--planet-speed, 8s) linear infinite;
  animation-delay: var(--planet-delay, 0s);
}

.venus-shell .brain-sun .sun-planets i:nth-child(1) { --planet-size: 5px; --planet-orbit: 34px; --planet-speed: 5.8s; --planet-delay: -1s; --planet-color: #ffffff; --planet-glow: rgba(255,255,255,.62); }
.venus-shell .brain-sun .sun-planets i:nth-child(2) { --planet-size: 7px; --planet-orbit: 44px; --planet-speed: 8.4s; --planet-delay: -3.2s; --planet-color: #ffdca0; --planet-glow: rgba(255,220,160,.58); }
.venus-shell .brain-sun .sun-planets i:nth-child(3) { --planet-size: 4px; --planet-orbit: 52px; --planet-speed: 6.9s; --planet-delay: -4.7s; --planet-color: #b9e9ff; --planet-glow: rgba(170,230,255,.55); }
.venus-shell .brain-sun .sun-planets i:nth-child(4) { --planet-size: 6px; --planet-orbit: 59px; --planet-speed: 10.6s; --planet-delay: -6s; --planet-color: #fff4d2; --planet-glow: rgba(255,235,190,.55); }
.venus-shell .brain-sun .sun-planets i:nth-child(5) { --planet-size: 4.5px; --planet-orbit: 68px; --planet-speed: 12.8s; --planet-delay: -8.1s; --planet-color: #d9f5ff; --planet-glow: rgba(190,240,255,.5); }

.venus-shell .brain-rings,
.venus-shell .brain-rings::before,
.venus-shell .brain-rings::after {
  border: 0;
  box-shadow: none;
}

.venus-shell .brain-rings {
  inset: -8%;
  z-index: 0;
  background:
    radial-gradient(circle at var(--ring-x, 50%) var(--ring-y, 50%), transparent 27%, rgba(255, 255, 255, .18) 30% 31%, transparent 36% 47%, rgba(147, 225, 255, .16) 49% 50%, transparent 58%),
    repeating-conic-gradient(from var(--ring-angle, 180deg), transparent 0 7deg, rgba(245, 252, 255, .24) 9deg 10deg, transparent 13deg 24deg, rgba(255, 220, 160, .16) 26deg 27deg, transparent 31deg 44deg),
    radial-gradient(circle, rgba(255,255,255,.18), transparent 61%);
  filter: blur(var(--ring-blur, 19px));
  opacity: var(--ring-alpha, .58);
  mix-blend-mode: screen;
  animation: ringChaos var(--ring-speed, 5.8s) var(--ring-ease, cubic-bezier(.3, .02, .2, 1)) infinite alternate;
  animation-delay: var(--ring-delay, -.8s);
  transform-origin: var(--ring-x, 50%) var(--ring-y, 50%);
}

.venus-shell .main-brain > svg {
  z-index: 5;
  width: clamp(148px, 14vw, 230px);
  height: clamp(148px, 14vw, 230px);
  border-radius: 0;
  background: transparent;
  color: rgba(238, 249, 255, .82);
  box-shadow: none;
  padding: 0;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, .82))
    drop-shadow(0 0 28px rgba(190, 230, 255, .62))
    drop-shadow(0 0 74px rgba(255, 220, 160, .24));
  stroke-width: 1.25;
  opacity: .84;
  animation: brainGlowDance 2.65s ease-in-out infinite;
}

.venus-shell .main-brain strong {
  z-index: 6;
  color: rgba(246, 251, 255, .78);
  letter-spacing: 3px;
  text-shadow: 0 0 18px rgba(230, 246, 255, .42);
}

.venus-shell .main-brain span {
  z-index: 6;
  max-width: 250px;
  color: rgba(208, 226, 238, .72);
  text-align: center;
  text-shadow: 0 0 14px rgba(120, 170, 205, .3);
}

.venus-shell .main-brain strong {
  margin-top: 24px;
  font-size: clamp(18px, 2.2vw, 30px);
}

.venus-shell .main-brain span {
  font-size: clamp(11px, 1vw, 13px);
}

@keyframes brainGlowDance {
  0%, 100% {
    opacity: .56;
    transform: scale(.96) rotate(-1deg);
    filter:
      drop-shadow(0 0 7px rgba(255,255,255,.55))
      drop-shadow(0 0 22px rgba(190,230,255,.44))
      drop-shadow(0 0 54px rgba(255,220,160,.18));
  }
  28% {
    opacity: .98;
    transform: scale(1.045) rotate(.7deg);
    filter:
      drop-shadow(0 0 16px rgba(255,255,255,.95))
      drop-shadow(0 0 44px rgba(190,230,255,.78))
      drop-shadow(0 0 105px rgba(255,220,160,.36));
  }
  53% {
    opacity: .7;
    transform: scale(1.01) rotate(-.4deg);
  }
  72% {
    opacity: 1;
    transform: scale(1.075) rotate(1deg);
  }
}

@keyframes livingCloud {
  0%, 100% {
    border-radius: 47% 53% 44% 56% / 53% 44% 56% 47%;
    transform: scale(.98) rotate(0deg);
  }
  50% {
    border-radius: 58% 42% 55% 45% / 43% 57% 41% 59%;
    transform: scale(1.06) rotate(7deg);
  }
}

@keyframes liquidMorph {
  0%, 100% {
    border-radius: 45% 55% 51% 49% / 48% 45% 55% 52%;
    transform: rotate(-4deg) scale(.96);
  }
  50% {
    border-radius: 57% 43% 42% 58% / 56% 40% 60% 44%;
    transform: rotate(5deg) scale(1.06);
  }
}

@keyframes cloudBreath {
  0%, 100% {
    opacity: .48;
    transform: scale(.94);
  }
  50% {
    opacity: .86;
    transform: scale(1.08);
  }
}

@keyframes liquidNerveSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes neuralFlicker {
  0%, 100% { opacity: .24; }
  18% { opacity: .82; }
  33% { opacity: .38; }
  49% { opacity: .92; }
  67% { opacity: .28; }
  82% { opacity: .74; }
}

@keyframes neuralSpark {
  0%, 100% {
    opacity: .16;
    transform: scale(.96) rotate(-2deg);
  }
  17% {
    opacity: .92;
  }
  31% {
    opacity: .28;
  }
  52% {
    opacity: .78;
    transform: scale(1.05) rotate(1deg);
  }
  73% {
    opacity: .2;
  }
}

@keyframes ringChaos {
  0% {
    border-radius: 48% 52% 45% 55% / 52% 44% 56% 48%;
    transform: rotate(var(--ring-start, 0deg)) scale(.92) skew(-1deg);
  }
  21% {
    border-radius: 57% 43% 52% 48% / 42% 58% 39% 61%;
    transform: rotate(var(--ring-mid-1, 68deg)) scale(1.08, .94) skew(2deg);
  }
  39% {
    border-radius: 41% 59% 47% 53% / 60% 38% 62% 40%;
    transform: rotate(var(--ring-mid-2, -24deg)) scale(.97, 1.1) skew(-3deg);
  }
  66% {
    border-radius: 61% 39% 58% 42% / 45% 55% 43% 57%;
    transform: rotate(var(--ring-mid-3, 151deg)) scale(1.13, .9) skew(1.5deg);
  }
  100% {
    border-radius: 45% 55% 60% 40% / 57% 43% 47% 53%;
    transform: rotate(var(--ring-end, 220deg)) scale(.96, 1.04) skew(-2deg);
  }
}

@keyframes softCorePulse {
  0%, 100% {
    opacity: .18;
    transform: scale(.94) rotate(-3deg);
    border-radius: 44% 56% 52% 48% / 54% 43% 57% 46%;
  }
  36% {
    opacity: .32;
    transform: scale(1.08) rotate(2deg);
    border-radius: 58% 42% 46% 54% / 43% 57% 41% 59%;
  }
  68% {
    opacity: .23;
    transform: scale(.99) rotate(-1deg);
    border-radius: 48% 52% 59% 41% / 57% 39% 61% 43%;
  }
}

@keyframes sunRays {
  0%, 100% {
    opacity: .62;
    transform: scale(.9) rotate(-4deg);
    filter: blur(3px) drop-shadow(0 0 28px rgba(255, 230, 170, .38));
  }
  34% {
    opacity: .94;
    transform: scale(1.08) rotate(9deg);
    filter: blur(2px) drop-shadow(0 0 48px rgba(255, 230, 170, .68));
  }
  68% {
    opacity: .78;
    transform: scale(.98) rotate(-11deg);
    filter: blur(3.5px) drop-shadow(0 0 40px rgba(185, 230, 255, .44));
  }
}

@keyframes sunCorona {
  0% {
    opacity: .42;
    transform: scale(.88) rotate(0deg);
  }
  47% {
    opacity: .86;
    transform: scale(1.16) rotate(38deg);
  }
  100% {
    opacity: .58;
    transform: scale(1.02) rotate(-24deg);
  }
}

@keyframes sunCore {
  0%, 100% {
    opacity: .82;
    transform: scale(.92);
  }
  45% {
    opacity: 1;
    transform: scale(1.12);
  }
  72% {
    opacity: .9;
    transform: scale(1.02);
  }
}

@keyframes sunNeedleGlow {
  0%, 100% {
    opacity: .58;
    transform: scale(.96) rotate(-1deg);
  }
  38% {
    opacity: 1;
    transform: scale(1.05) rotate(1.5deg);
  }
  71% {
    opacity: .72;
    transform: scale(1.01) rotate(-.6deg);
  }
}

@keyframes planetOrbit {
  from {
    transform: rotate(0deg) translateX(var(--planet-orbit, 46px)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--planet-orbit, 46px)) rotate(-360deg);
  }
}

@keyframes lineTipStar {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.45) rotate(var(--star-rotate, 0deg));
    filter: blur(.2px);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18) rotate(calc(var(--star-rotate, 0deg) + 12deg));
    filter: blur(0);
  }
  72% {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.96) rotate(calc(var(--star-rotate, 0deg) + 38deg));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.35) rotate(calc(var(--star-rotate, 0deg) + 80deg));
    filter: blur(2.8px);
  }
}

@media (max-width: 1023px) {
  .venus-shell .main-brain {
    width: clamp(260px, 48vw, 380px);
  }
}

@media (max-width: 640px) {
  .venus-shell .main-brain {
    width: 230px;
  }

  .venus-shell .main-brain > svg {
    width: 112px;
    height: 112px;
  }
}

/* Guest-facing assistant page */
.guest-shell {
  min-height: 100vh;
  color: #f8fafc;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 220, 160, .18), transparent 18rem),
    radial-gradient(circle at 78% 6%, rgba(132, 205, 235, .2), transparent 22rem),
    linear-gradient(145deg, rgba(6, 12, 16, .92), rgba(13, 25, 28, .84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cpath d='M0 565c130-66 244-72 372-27 155 55 279 33 410-37 146-78 273-76 418-14v313H0z' fill='%23172424'/%3E%3Cpath d='M0 595c165-50 286-34 419 12 133 46 254 35 405-28 136-57 252-52 376 5v216H0z' fill='%230d171a'/%3E%3Ccircle cx='935' cy='145' r='74' fill='%23f4d7a1' opacity='.28'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.guest-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.guest-brand,
.guest-nav,
.guest-nav a,
.guest-quick-actions button,
.guest-chat-head,
.guest-info-panel article,
.guest-chat-input {
  display: flex;
  align-items: center;
}

.guest-brand {
  gap: 12px;
  color: inherit;
}

.guest-brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: contain;
}

.guest-brand span,
.guest-chat-head span,
.guest-info-panel span {
  color: rgba(226, 232, 240, .72);
  font-size: 12px;
  font-weight: 800;
}

.guest-brand strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 950;
}

.guest-nav {
  gap: 10px;
}

.guest-nav a {
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #f8fafc;
  backdrop-filter: blur(14px);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.guest-nav a.brochure-link {
  box-shadow: inset 0 0 18px rgba(255, 220, 160, .05);
}

.guest-nav svg {
  width: 17px;
  height: 17px;
}

.guest-main {
  display: grid;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.guest-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 65% 38%, rgba(255,255,255,.14), transparent 14rem),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 4vw, 46px);
}

.guest-hero-copy h1 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 950;
  line-height: 1.25;
}

.guest-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 14px;
  color: rgba(226, 232, 240, .82);
  font-size: 16px;
  line-height: 2;
}

.guest-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guest-quick-actions button {
  gap: 10px;
  min-height: 66px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(4, 12, 16, .44);
  color: #fff;
  box-shadow: inset 0 0 24px rgba(255,255,255,.035);
  padding: 0 14px;
  font-weight: 950;
}

.guest-quick-actions svg {
  width: 24px;
  height: 24px;
  color: #ffdca0;
}

.guest-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 22px;
}

.guest-chat-card,
.guest-info-panel {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(8, 14, 18, .72);
  box-shadow: 0 26px 76px rgba(0,0,0,.24);
  backdrop-filter: blur(20px);
}

.guest-chat-card {
  overflow: hidden;
}

.guest-chat-head {
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 18px;
}

.guest-ai-orb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255,255,255,.24), rgba(255,220,160,.08));
  color: #ffdca0;
}

.guest-chat-head strong,
.guest-info-panel strong {
  display: block;
  font-weight: 950;
}

.guest-chat-body {
  display: grid;
  gap: 12px;
  min-height: 270px;
  padding: 18px;
}

.guest-message {
  max-width: 78%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px 18px 18px 6px;
  background: rgba(255,255,255,.08);
  padding: 12px 14px;
}

.guest-message.user {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  background: rgba(255, 220, 160, .16);
}

.guest-message span {
  display: block;
  margin-bottom: 5px;
  color: rgba(226, 232, 240, .62);
  font-size: 11px;
  font-weight: 900;
}

.guest-message p {
  line-height: 1.8;
}

.guest-chat-input {
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px;
}

.guest-chat-input input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  outline: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0 14px;
}

.guest-chat-input button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255, 220, 160, .16);
  color: #ffdca0;
}

.guest-info-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.guest-info-panel article {
  gap: 12px;
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  padding: 14px;
}

.guest-info-panel svg {
  width: 28px;
  height: 28px;
  color: #ffdca0;
}

@media (max-width: 900px) {
  .guest-hero,
  .guest-experience-grid {
    grid-template-columns: 1fr;
  }

  .guest-main {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .guest-hero {
    height: auto;
  }
}

@media (max-width: 640px) {
  .guest-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .guest-nav {
    width: 100%;
  }

  .guest-nav a {
    flex: 1;
    justify-content: center;
  }

  .guest-quick-actions {
    grid-template-columns: 1fr;
  }

  .guest-main,
  .staff-main {
    height: calc(100vh - 156px);
    padding: 12px 0 14px;
  }

  .guest-hero-copy h1 {
    font-size: 28px;
  }

  .guest-hero-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.8;
  }
}

/* Product brochure */
.brochure-shell {
  min-height: 100vh;
  color: #f8fafc;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 220, 160, .16), transparent 20rem),
    radial-gradient(circle at 86% 12%, rgba(155, 220, 255, .18), transparent 23rem),
    linear-gradient(145deg, #071014, #10191d 48%, #05080a);
}

body:has(.brochure-shell),
body:has(.guest-shell),
body:has(.staff-shell) {
  height: auto !important;
  overflow: auto !important;
}

body:has(.guest-shell),
body:has(.staff-shell) {
  height: 100vh !important;
  overflow: hidden !important;
}

.guest-shell,
.staff-shell {
  height: 100vh;
  overflow: hidden;
}

.guest-shell .public-topbar,
.staff-shell .public-topbar {
  flex-shrink: 0;
}

.guest-main,
.staff-main {
  height: calc(100vh - 112px);
  min-height: 0;
  overflow: hidden;
  padding: 16px 0 18px;
}

.guest-main {
  grid-template-rows: minmax(260px, .95fr) minmax(0, 1fr);
}

.guest-hero {
  min-height: 0;
  height: 100%;
  padding: clamp(18px, 3vw, 34px);
}

.guest-hero-copy h1 {
  font-size: clamp(28px, 4vw, 52px);
}

.guest-experience-grid {
  min-height: 0;
}

.guest-chat-card,
.guest-info-panel,
.staff-board {
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}

.guest-chat-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.guest-chat-body {
  min-height: 0;
  overflow: auto;
}

.staff-main {
  grid-template-rows: auto minmax(0, 1fr);
}

.staff-hero {
  min-height: 0;
  padding: clamp(16px, 2.5vw, 28px);
}

.staff-hero h1 {
  font-size: clamp(24px, 3vw, 40px);
}

.staff-board {
  padding-left: 4px;
}

.brochure-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

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

.brochure-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: stretch;
  border: 1px solid rgba(225, 242, 255, .13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 68% 35%, rgba(255, 220, 160, .12), transparent 16rem),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 4vw, 44px);
}

.brochure-hero h1 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 950;
  line-height: 1.25;
}

.brochure-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
  color: #c5d2dc;
  font-size: 16px;
  line-height: 2;
}

.brochure-highlight {
  display: grid;
  align-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 220, 160, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 220, 160, .16), transparent 12rem),
    rgba(255,255,255,.055);
  padding: 22px;
}

.brochure-highlight svg {
  width: 46px;
  height: 46px;
  color: #ffdca0;
}

.brochure-highlight strong {
  font-size: 22px;
  font-weight: 950;
}

.brochure-highlight span {
  color: #c5d2dc;
  line-height: 1.9;
}

.brochure-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.brochure-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  border: 1px solid rgba(225, 242, 255, .12);
  border-radius: 22px;
  background: rgba(8, 14, 18, .72);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  padding: 18px;
}

.brochure-feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 220, 160, .12);
  color: #ffdca0;
}

.brochure-feature-icon svg {
  width: 29px;
  height: 29px;
}

.brochure-feature-card strong {
  display: block;
  font-size: 19px;
  font-weight: 950;
}

.brochure-feature-card p {
  margin-top: 8px;
  color: #c5d2dc;
  line-height: 1.85;
}

.brochure-example,
.brochure-prerequisite {
  grid-column: 1 / -1;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  padding: 12px 14px;
}

.brochure-prerequisite {
  border-color: rgba(112, 255, 158, .18);
  background: rgba(112, 255, 158, .055);
}

.brochure-example span,
.brochure-prerequisite span {
  color: #ffdca0;
  font-size: 12px;
  font-weight: 950;
}

.brochure-prerequisite span {
  color: #70ff9e;
}

.brochure-example p,
.brochure-prerequisite p {
  margin-top: 5px;
}

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

.brochure-flow article {
  min-height: 150px;
  border: 1px solid rgba(225, 242, 255, .11);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  padding: 16px;
}

.brochure-flow svg {
  width: 28px;
  height: 28px;
  color: #ffdca0;
}

.brochure-flow strong,
.brochure-flow span {
  display: block;
}

.brochure-flow strong {
  margin-top: 14px;
  font-weight: 950;
}

.brochure-flow span {
  margin-top: 6px;
  color: #aebac4;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .brochure-nav,
  .brochure-hero {
    display: block;
  }

  .brochure-nav .guest-nav {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .brochure-highlight {
    margin-top: 18px;
  }

  .brochure-feature-grid,
  .brochure-flow {
    grid-template-columns: 1fr;
  }
}

/* Staff operations page */
.staff-shell {
  min-height: 100vh;
  color: #f8fafc;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 220, 160, .13), transparent 18rem),
    radial-gradient(circle at 84% 4%, rgba(155, 220, 255, .14), transparent 22rem),
    linear-gradient(145deg, #061014, #11191d 52%, #05080a);
}

.staff-main {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.staff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  border: 1px solid rgba(225, 242, 255, .13);
  border-radius: 28px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 28px 84px rgba(0,0,0,.26);
  backdrop-filter: blur(18px);
  padding: clamp(20px, 4vw, 34px);
}

.staff-hero h1 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  line-height: 1.35;
}

.staff-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 10px;
  color: #c5d2dc;
  line-height: 1.9;
}

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

.staff-summary article {
  min-height: 90px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  padding: 14px;
}

.staff-summary span {
  color: #aebac4;
  font-size: 12px;
  font-weight: 900;
}

.staff-summary strong {
  display: block;
  margin-top: 8px;
  color: #ffdca0;
  font-size: 30px;
  font-weight: 950;
}

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

.staff-task-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(225, 242, 255, .12);
  border-radius: 22px;
  background: rgba(8, 14, 18, .72);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  padding: 16px;
}

.staff-task-card.فوری {
  border-color: rgba(255, 210, 122, .34);
}

.staff-task-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 220, 160, .12);
  color: #ffdca0;
}

.staff-task-icon svg {
  width: 28px;
  height: 28px;
}

.staff-task-main strong,
.staff-task-main span {
  display: block;
}

.staff-task-main strong {
  font-size: 18px;
  font-weight: 950;
}

.staff-task-main span,
.staff-task-main p {
  color: #aebac4;
}

.staff-task-main p {
  margin-top: 8px;
  line-height: 1.8;
}

.staff-task-actions {
  display: grid;
  gap: 8px;
  min-width: 132px;
}

.staff-task-actions span {
  justify-self: stretch;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffdca0;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.staff-task-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(255,255,255,.065);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 950;
}

.staff-task-actions svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .staff-hero,
  .staff-task-card {
    grid-template-columns: 1fr;
  }

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

  .staff-task-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

  .staff-hero {
    max-height: 260px;
    overflow: hidden;
  }
}

/* Keep the center stage clean: core effect only, flows live on the side rail */
.venus-shell .rail-flows {
  position: absolute;
  z-index: 13;
  top: 184px;
  left: 18px;
  right: auto;
  width: 210px;
  border-radius: 24px;
  background: rgba(5, 9, 13, .34);
  backdrop-filter: blur(18px);
  padding: 12px;
}

.venus-shell .rail-manager {
  top: auto;
  right: 244px;
  bottom: 74px;
  left: 244px;
  width: auto;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.venus-shell .rail-manager .rail-title {
  margin: 0;
  white-space: nowrap;
}

.venus-shell .rail-manager .radar-signal {
  grid-template-columns: auto auto 1fr;
  min-height: 54px;
  padding: 9px 10px;
}

.venus-shell .rail-manager .radar-signal strong {
  font-size: 21px;
}

.venus-shell .rail-manager .radar-signal span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venus-shell .rail-staff-eval {
  position: absolute;
  z-index: 13;
  top: 310px;
  right: 18px;
  width: 210px;
  border-radius: 24px;
  background: rgba(5, 9, 13, .34);
  backdrop-filter: blur(18px);
  padding: 12px;
}

.staff-eval-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.042);
  padding: 9px 10px;
}

.staff-eval-card svg {
  width: 20px;
  height: 20px;
  color: #ffdca0;
}

.staff-eval-card strong,
.staff-eval-card span,
.staff-eval-card em {
  display: block;
}

.staff-eval-card strong {
  overflow: hidden;
  color: #f6fbff;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-eval-card span {
  overflow: hidden;
  margin-top: 2px;
  color: #aebac4;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-eval-card b {
  color: #70ff9e;
  font-size: 16px;
  font-weight: 950;
}

.staff-eval-card.warning b {
  color: #ffd27a;
}

.staff-eval-card em {
  grid-column: 2 / -1;
  color: #8fa0ad;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.flow-side-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(225, 242, 255, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.042);
  color: inherit;
  padding: 9px 10px;
}

.flow-side-card svg {
  width: 21px;
  height: 21px;
  color: #ffdca0;
}

.flow-side-card strong,
.flow-side-card span {
  display: block;
}

.flow-side-card strong {
  overflow: hidden;
  color: #f6fbff;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-side-card span {
  overflow: hidden;
  margin-top: 2px;
  color: #aebac4;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venus-shell .rail-live {
  top: 18px;
  right: auto;
  left: 18px;
  width: min(560px, calc(100% - 500px));
  min-width: 430px;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.venus-shell .rail-live .rail-title {
  margin: 0;
  white-space: nowrap;
}

.venus-shell .rail-live .live-signal {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 54px;
  padding: 9px 10px;
}

.venus-shell .rail-live .live-signal strong,
.venus-shell .rail-live .live-signal span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venus-shell .command-topline {
  top: 142px;
}

.venus-shell .system-health-cluster {
  top: 216px;
}

.venus-shell .command-core-map .orbit-agent {
  display: none;
}

.venus-shell .manager-toast-feed {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

.venus-shell .manager-toast {
  position: absolute;
  top: var(--toast-y, 50%);
  left: var(--toast-x, 50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(330px, 34vw);
  min-height: 70px;
  border: 1px solid rgba(225, 242, 255, .09);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 220, 160, .1), transparent 6rem),
    linear-gradient(145deg, rgba(12, 20, 27, .58), rgba(4, 8, 12, .36));
  box-shadow: 0 18px 48px rgba(0,0,0,.22), 0 0 38px rgba(174, 226, 255, .13);
  color: #f6fbff;
  padding: 12px 13px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  transition: opacity 920ms ease, transform 920ms cubic-bezier(.2, .8, .2, 1), top 220ms ease, left 220ms ease;
  backdrop-filter: blur(15px);
}

.venus-shell .manager-toast.is-active {
  opacity: .92;
  transform: translate(-50%, -50%) scale(1);
}

.venus-shell .manager-toast svg {
  width: 22px;
  height: 22px;
  color: #ffdca0;
  filter: drop-shadow(0 0 12px rgba(255, 220, 160, .38));
}

.venus-shell .manager-toast strong,
.venus-shell .manager-toast span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venus-shell .manager-toast strong {
  font-size: 12px;
  font-weight: 950;
}

.venus-shell .manager-toast span {
  margin-top: 3px;
  color: #aebac4;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .venus-shell .rail-live {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
  }

  .venus-shell .rail-live .rail-title {
    grid-column: 1 / -1;
  }

  .venus-shell .rail-flows {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .venus-shell .rail-manager {
    position: relative;
    inset: auto;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
  }

  .venus-shell .rail-manager .rail-title {
    grid-column: 1 / -1;
  }

  .venus-shell .rail-staff-eval {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .venus-shell .manager-toast-feed {
    display: none;
  }
}

@media (max-width: 640px) {
  .flow-side-card {
    min-height: 54px;
  }

  .venus-shell .rail-live {
    grid-template-columns: 1fr;
  }

  .venus-shell .rail-manager {
    grid-template-columns: 1fr;
  }

  .venus-shell .manager-toast strong,
  .venus-shell .manager-toast span {
    white-space: normal;
  }
}

/* Manager cockpit should fit in one viewport with a clean center stage */
body.dashboard-entered {
  height: 100vh;
  overflow: hidden !important;
}

body.dashboard-entered .dashboard-shell,
body.dashboard-entered .main-panel {
  height: 100vh !important;
  overflow: hidden !important;
}

body.dashboard-entered .venus-content {
  height: calc(100vh - 110px) !important;
  overflow: hidden !important;
  padding: 10px 16px 18px !important;
}

body.dashboard-entered .venus-shell .ai-command-shell {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.dashboard-entered .venus-shell .command-grid {
  height: 100% !important;
  min-height: 0 !important;
}

.venus-shell .command-core-map .thinking-bubble {
  width: min(330px, 38vw);
  max-width: 330px;
  min-height: 52px;
  grid-template-columns: auto 1fr;
  padding: 9px 12px;
}

.venus-shell .command-core-map .bubble-a,
.venus-shell .command-core-map .bubble-b {
  bottom: auto;
  left: auto;
  transform: none;
}

.venus-shell .command-core-map .bubble-a {
  top: 46%;
  right: 260px;
}

.venus-shell .command-core-map .bubble-b {
  top: 56%;
  left: 260px;
}

.venus-shell .command-core-map .thinking-bubble span {
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1023px) {
  body.dashboard-entered .venus-content {
    height: calc(100vh - 100px) !important;
    padding: 8px 12px 16px !important;
  }

  .venus-shell .command-core-map .thinking-bubble {
    width: min(300px, calc(100% - 28px));
  }

  .venus-shell .command-core-map .bubble-a {
    right: 18px;
  }

  .venus-shell .command-core-map .bubble-b {
    left: 18px;
  }
}

@media (max-width: 640px) {
  body.dashboard-entered .venus-content {
    height: calc(100vh - 128px) !important;
    padding: 8px 10px 14px !important;
  }

  .venus-shell .command-core-map .bubble-a {
    top: auto;
    right: 12px;
    bottom: 82px;
  }

  .venus-shell .command-core-map .bubble-b {
    top: auto;
    left: 12px;
    bottom: 18px;
  }
}

/* Final app-like lock for customer and staff panels */
body:has(.guest-shell),
body:has(.staff-shell) {
  height: 100vh !important;
  overflow: hidden !important;
}

.guest-shell,
.staff-shell {
  height: 100vh !important;
  overflow: hidden !important;
}

.guest-main,
.staff-main {
  height: calc(100vh - 112px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding-top: 16px !important;
  padding-bottom: 18px !important;
}

.staff-board,
.guest-chat-body,
.guest-info-panel {
  min-height: 0;
  overflow: auto;
}

@media (max-width: 640px) {
  .guest-main,
  .staff-main {
    height: calc(100vh - 156px) !important;
    padding-top: 12px !important;
    padding-bottom: 14px !important;
  }
}




