:root {
  --ui-bg: #f1f5f9;
  --ui-bg-accent: #eef2ff;
  --ui-surface: rgba(255, 255, 255, 0.98);
  --ui-surface-solid: #ffffff;
  --ui-surface-muted: #f8fafc;
  --ui-surface-strong: #e8eef5;
  --ui-border: #e2e8f0;
  --ui-border-strong: #cbd5e1;
  --ui-text: #0f172a;
  --ui-text-soft: #475569;
  --ui-text-muted: #64748b;
  --ui-accent: #2563eb;
  --ui-accent-rgb: 37, 99, 235;
  --ui-accent-alt: #06b6d4;
  --ui-accent-hover: #1d4ed8;
  --ui-accent-soft: rgba(37, 99, 235, 0.1);
  --ui-success: #12b76a;
  --ui-warning: #f79009;
  --ui-danger: #f04438;
  --bookifi-purple: #6222e0;
  --bookifi-purple-soft: #9473ff;
  --bookifi-cyan: #00c7ff;
  --bookifi-aqua: #72ffff;
  --bookifi-ink: #0a0a14;
  --ui-radius-xs: 10px;
  --ui-radius-sm: 14px;
  --ui-radius-md: 18px;
  --ui-radius-lg: 24px;
  --ui-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --ui-shadow-md: 0 10px 26px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --ui-shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
  --ui-page-bg:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(6, 182, 212, 0.14), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, var(--ui-bg) 42%, #eef2f7 100%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(98, 34, 224, 0.2), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(0, 199, 255, 0.18), transparent 32%),
    #050816;
  color: var(--ui-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.demo-site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-width: 1320px;
  padding: 22px 32px;
  position: relative;
  right: 0;
  top: 0;
  z-index: 20;
}

.demo-brand img {
  display: block;
  height: 34px;
  width: auto;
}

.demo-site-nav__links {
  align-items: center;
  display: flex;
  gap: 22px;
}

.demo-site-nav__links a,
.demo-site-nav__button {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.demo-site-nav__links a:hover {
  color: #ffffff;
}

.demo-site-nav__button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  padding: 10px 16px;
}

.demo-hero {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1320px;
  padding: 76px 32px 42px;
}

.demo-hero__copy {
  max-width: 820px;
}

.demo-eyebrow,
.demo-safe-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  padding: 8px 13px;
  text-transform: uppercase;
}

.demo-hero h1 {
  color: #ffffff;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 24px 0 22px;
  max-width: 840px;
}

.demo-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  margin: 0;
  max-width: 700px;
}

.demo-hero__actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-primary-link,
.demo-gradient-btn {
  align-items: center;
  background: linear-gradient(135deg, var(--bookifi-purple) 0%, var(--bookifi-cyan) 100%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 38px -10px rgba(98, 34, 224, 0.68);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.demo-primary-link {
  min-height: 54px;
  padding: 0 24px;
}

.demo-primary-link:hover,
.demo-gradient-btn:hover {
  filter: brightness(1.05);
}

.mobile-demo-poster {
  display: none;
}

.demo-browser-shell {
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  box-shadow: 0 44px 120px rgba(2, 6, 23, 0.34);
  margin: 16px auto 80px;
  max-width: 1440px;
  overflow: hidden;
  width: calc(100% - 44px);
}

.demo-browser-shell__chrome {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e5e7eb;
  color: #64748b;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
}

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

.demo-dot--red { background: #ff5f57; }
.demo-dot--yellow { background: #ffbd2e; }
.demo-dot--green { background: #28c840; }

.demo-browser-shell__url {
  color: #0f172a;
  flex: 1;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.demo-browser-shell__hint {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.bookifi-demo-app {
  background: var(--ui-page-bg);
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 900px;
}

.demo-sidebar {
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.98), rgba(15, 23, 42, 0.96));
  color: #ffffff;
  padding: 24px 14px;
}

.demo-sidebar__brand {
  display: block;
  margin: 0 8px 22px;
}

.demo-sidebar__brand img {
  display: block;
  height: 42px;
  object-fit: contain;
  width: 128px;
}

.demo-sidebar__cta {
  align-items: center;
  background: linear-gradient(135deg, var(--ui-accent) 0%, var(--ui-accent-alt) 100%);
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  width: 100%;
}

.demo-sidebar__cta-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.demo-sidebar__cta span:nth-child(2) {
  font-weight: 750;
}

kbd {
  background: #111827;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  opacity: 0.82;
  padding: 3px 7px;
  white-space: nowrap;
}

.demo-sidebar__group {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.demo-sidebar__item {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 3.5px solid transparent;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  display: flex;
  gap: 11px;
  min-height: 45px;
  padding: 0 12px;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.demo-sidebar__item i {
  color: #4ee3f0;
  text-align: center;
  width: 24px;
}

.demo-sidebar__item:hover,
.demo-sidebar__item.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-left-color: var(--bookifi-purple);
  color: #ffffff;
}

.demo-main {
  min-width: 0;
  padding: 0 18px 28px;
}

.demo-banner {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 255, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  color: #0f172a;
  display: flex;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 14px 18px;
}

.demo-banner span:first-child {
  align-items: center;
  background: linear-gradient(135deg, #4f46e5 0%, #60a5fa 100%);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.demo-topbar {
  align-items: center;
  background: rgba(248, 250, 252, 0.92);
  border-top-left-radius: 25px;
  display: flex;
  gap: 12px;
  min-height: 70px;
  padding: 0 12px;
}

.demo-menu-toggle,
.demo-round-btn,
.demo-profile,
.demo-command,
.demo-soft-btn {
  border: 0;
  cursor: pointer;
}

.demo-menu-toggle,
.demo-round-btn {
  align-items: center;
  background: transparent;
  border-radius: 12px;
  color: #111827;
  display: inline-flex;
  height: 45px;
  justify-content: center;
  width: 45px;
}

.demo-round-btn {
  background: var(--ui-surface-solid);
  border: 1px solid var(--ui-border);
  position: relative;
}

.demo-round-btn span {
  align-items: center;
  background: var(--ui-danger);
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 10px;
  height: 19px;
  justify-content: center;
  position: absolute;
  right: -3px;
  top: -3px;
  width: 19px;
}

.demo-command {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d8deea;
  border-radius: 16px;
  color: #64748b;
  display: flex;
  flex: 1;
  gap: 12px;
  min-height: 46px;
  max-width: 640px;
  padding: 0 15px;
  text-align: left;
}

.demo-command__spark {
  background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 48%, #fb7185 100%);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  display: inline-block;
  height: 24px;
  width: 24px;
}

.demo-topbar__cluster {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.demo-system-status {
  align-items: center;
  background: #ecfdf3;
  border: 1px solid rgba(18, 183, 106, 0.22);
  border-radius: 999px;
  color: #027a48;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  padding: 9px 12px;
}

.demo-system-status i {
  color: var(--ui-success);
  font-size: 8px;
}

.demo-profile {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  color: var(--ui-text);
  display: flex;
  gap: 9px;
  min-height: 45px;
  padding: 0 11px 0 5px;
}

.demo-profile span {
  align-items: center;
  background: linear-gradient(135deg, var(--bookifi-purple) 0%, var(--bookifi-cyan) 100%);
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 35px;
  justify-content: center;
  width: 35px;
}

.demo-content {
  padding: 0 0 8px;
}

.demo-page-heading {
  align-items: end;
  background:
    radial-gradient(circle at top right, var(--ui-accent-soft), transparent 34%),
    linear-gradient(180deg, var(--ui-surface-muted), var(--ui-surface-solid));
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  box-shadow: var(--ui-shadow-md);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 12px 0 16px;
  padding: 24px;
}

.demo-page-heading span,
.demo-panel__header span {
  color: var(--ui-text-muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-page-heading h2 {
  color: var(--ui-text);
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: 0;
  line-height: 1;
  margin: 10px 0 10px;
}

.demo-page-heading p {
  color: var(--ui-text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.demo-page-heading__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.demo-soft-btn {
  align-items: center;
  background: var(--ui-surface-solid);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  color: var(--ui-text-soft);
  display: inline-flex;
  font-weight: 750;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
}

.demo-soft-btn:hover {
  background: var(--ui-surface-muted);
  color: var(--ui-text);
}

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

.demo-kpi {
  background: var(--ui-surface-solid);
  border: 1px solid var(--ui-border);
  border-radius: 20px;
  box-shadow: var(--ui-shadow-sm);
  padding: 17px 18px;
}

.demo-kpi span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.demo-kpi strong {
  color: var(--ui-text);
  display: block;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
}

.demo-kpi small {
  color: var(--ui-success);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  margin-top: 9px;
}

.demo-view-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
}

body[data-demo-view]:not([data-demo-view="inicio"]) .demo-view-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-demo-view]:not([data-demo-view="inicio"]) .demo-side-panel {
  display: none;
}

.demo-panel {
  background: var(--ui-surface-solid);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  box-shadow: var(--ui-shadow-md);
  min-width: 0;
  padding: 20px;
}

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

.demo-panel__header h3 {
  color: var(--ui-text);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 8px 0 0;
}

.demo-segmented {
  align-items: center;
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.demo-segmented button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ui-text-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 0 10px;
}

.demo-segmented button.is-active {
  background: #ffffff;
  box-shadow: var(--ui-shadow-sm);
  color: var(--ui-text);
}

.demo-operations-grid,
.demo-client-grid,
.demo-integration-grid,
.demo-report-grid {
  display: grid;
  gap: 14px;
}

.demo-operations-grid {
  grid-template-columns: minmax(0, 1fr) 290px;
}

.demo-schedule {
  display: grid;
  gap: 10px;
}

.demo-shift-card {
  align-items: center;
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 14px;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
  width: 100%;
}

.demo-shift-card:hover,
.demo-shift-card.is-selected {
  background: #ffffff;
  border-color: rgba(var(--ui-accent-rgb), 0.36);
  transform: translateY(-1px);
}

.demo-shift-card time {
  color: var(--ui-text);
  font-size: 16px;
  font-weight: 900;
}

.demo-shift-card strong {
  color: var(--ui-text);
  display: block;
  font-size: 15px;
}

.demo-shift-card small {
  color: var(--ui-text-muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.demo-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.demo-status--confirmed,
.demo-status--paid {
  background: #ecfdf3;
  color: #027a48;
}

.demo-status--pending {
  background: #fff7ed;
  color: #b54708;
}

.demo-status--waiting {
  background: #eff6ff;
  color: #1d4ed8;
}

.demo-mini-chart {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.07), rgba(6, 182, 212, 0.02)),
    #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  min-height: 296px;
  overflow: hidden;
  padding: 16px;
}

.demo-mini-chart svg {
  display: block;
  height: 250px;
  width: 100%;
}

.demo-side-card {
  display: grid;
  gap: 14px;
}

.demo-client-identity {
  align-items: center;
  display: flex;
  gap: 12px;
}

.demo-avatar {
  align-items: center;
  background: linear-gradient(135deg, #4f46e5 0%, #60a5fa 100%);
  border-radius: 16px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.demo-client-identity strong {
  color: var(--ui-text);
  display: block;
}

.demo-client-identity span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.demo-side-facts {
  display: grid;
  gap: 8px;
}

.demo-side-facts div {
  align-items: center;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 11px 12px;
}

.demo-side-facts span {
  color: var(--ui-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-side-facts strong {
  color: var(--ui-text);
  font-size: 13px;
}

.demo-action-stack {
  display: grid;
  gap: 9px;
}

.demo-action-stack button {
  width: 100%;
}

.demo-whatsapp-card {
  background: #0b141a;
  border-radius: 24px;
  color: #e9edef;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.demo-whatsapp-card__header {
  align-items: center;
  display: flex;
  gap: 10px;
}

.demo-whatsapp-card__messages {
  display: grid;
  gap: 9px;
}

.demo-bubble {
  background: #ffffff;
  border: 1px solid rgba(17, 27, 33, 0.06);
  border-radius: 12px 12px 12px 4px;
  box-shadow: 0 1px 1px rgba(17, 27, 33, 0.08);
  color: #111b21;
  font-size: 13px;
  line-height: 1.42;
  max-width: 76%;
  padding: 10px 12px;
}

.demo-bubble--sent {
  background: #d9fdd3;
  border-radius: 12px 12px 4px 12px;
  color: #111b21;
  justify-self: end;
}

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

.demo-integration-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 20px;
  cursor: pointer;
  display: grid;
  gap: 13px;
  justify-items: center;
  min-height: 158px;
  padding: 16px 12px;
  text-align: center;
}

.demo-integration-card:hover,
.demo-integration-card.is-active {
  border-color: rgba(var(--ui-accent-rgb), 0.36);
  box-shadow: var(--ui-shadow-md);
}

.demo-integration-card i {
  align-items: center;
  background: #f0f0f7;
  border-radius: 999px;
  color: var(--bookifi-purple);
  display: inline-flex;
  font-size: 25px;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.demo-integration-card strong {
  color: var(--ui-text);
  display: block;
  font-size: 15px;
}

.demo-integration-card span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

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

.demo-client-card,
.demo-report-card,
.demo-app-card {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  padding: 16px;
}

.demo-client-card strong,
.demo-report-card strong,
.demo-app-card strong {
  color: var(--ui-text);
  display: block;
  font-size: 17px;
}

.demo-client-card span,
.demo-report-card span,
.demo-app-card span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}

.demo-report-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.demo-bars {
  align-items: end;
  display: flex;
  gap: 10px;
  height: 210px;
  padding: 16px 0 0;
}

.demo-bars span {
  background: linear-gradient(180deg, var(--bookifi-purple-soft), var(--bookifi-cyan));
  border-radius: 10px 10px 4px 4px;
  flex: 1;
  min-height: 34px;
}

.demo-phone {
  background: #0b141a;
  border: 9px solid #05080a;
  border-radius: 34px;
  color: #e9edef;
  margin: 0 auto;
  max-width: 270px;
  min-height: 500px;
  overflow: hidden;
}

.demo-phone__top {
  align-items: center;
  background: #1f2c34;
  display: flex;
  gap: 10px;
  padding: 14px 16px;
}

.demo-phone__screen {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.demo-app-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.demo-app-card strong {
  color: #ffffff;
}

.demo-app-card span {
  color: rgba(255, 255, 255, 0.68);
}

.demo-home-lane,
.demo-module-toolbar,
.demo-search-row,
.demo-status-filters,
.demo-billing-actions,
.demo-chat-tabs,
.demo-thread-header,
.demo-composer,
.demo-config-head {
  align-items: center;
  display: flex;
}

.demo-home-lane {
  gap: 12px;
  margin-top: 14px;
}

.demo-home-lane article {
  align-items: center;
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  display: flex;
  flex: 1;
  gap: 12px;
  min-width: 0;
  padding: 13px;
}

.demo-home-lane span:first-child {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  color: var(--ui-accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.demo-home-lane strong,
.demo-home-lane small {
  display: block;
}

.demo-home-lane strong {
  color: var(--ui-text);
  font-size: 14px;
}

.demo-home-lane small {
  color: var(--ui-text-muted);
  font-size: 12px;
  margin-top: 2px;
}

.demo-module-toolbar {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
}

.demo-module-toolbar--split {
  justify-content: space-between;
}

.demo-toolbar-title {
  margin-right: auto;
  min-width: 220px;
}

.demo-toolbar-title strong,
.demo-toolbar-title span {
  display: block;
}

.demo-toolbar-title strong {
  color: var(--ui-text);
  font-size: 17px;
}

.demo-toolbar-title span {
  color: var(--ui-text-muted);
  font-size: 12px;
  margin-top: 3px;
}

.demo-view-switch,
.demo-chat-tabs {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 13px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.demo-view-switch button,
.demo-chat-tabs button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ui-text-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  min-height: 30px;
  padding: 0 10px;
}

.demo-view-switch button.is-active,
.demo-chat-tabs button.is-active {
  background: var(--ui-accent);
  color: #ffffff;
}

.demo-calendar-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.demo-filter-card {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  display: grid;
  gap: 11px;
  padding: 14px;
}

.demo-filter-card strong {
  color: var(--ui-text);
  font-size: 15px;
}

.demo-filter-card label {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  color: var(--ui-text);
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 3px;
  padding: 10px;
}

.demo-filter-card label span {
  color: var(--ui-text-muted);
  font-size: 11px;
  font-weight: 700;
}

.demo-filter-stack,
.demo-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.demo-chip {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  color: var(--ui-text-muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  padding: 7px 10px;
  white-space: nowrap;
}

.demo-chip--blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.demo-chip--green {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #027a48;
}

.demo-chip--orange {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #b54708;
}

.demo-calendar-board {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  min-width: 0;
  overflow: hidden;
}

.demo-calendar-head,
.demo-calendar-grid {
  display: grid;
  grid-template-columns: 76px repeat(3, minmax(0, 1fr));
}

.demo-calendar-head {
  background: var(--ui-surface-muted);
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-text-muted);
  font-size: 12px;
  font-weight: 850;
}

.demo-calendar-head span,
.demo-calendar-head strong {
  border-right: 1px solid var(--ui-border);
  padding: 12px;
}

.demo-calendar-head strong {
  color: var(--ui-text);
}

.demo-calendar-grid {
  grid-template-rows: repeat(9, 54px);
  position: relative;
}

.demo-calendar-grid::before {
  background:
    linear-gradient(90deg, transparent 75px, var(--ui-border) 76px, transparent 77px),
    repeating-linear-gradient(180deg, transparent 0, transparent 53px, var(--ui-border) 54px),
    linear-gradient(90deg, transparent 0, transparent calc(76px + (100% - 76px) / 3 - 1px), var(--ui-border) calc(76px + (100% - 76px) / 3), transparent calc(76px + (100% - 76px) / 3 + 1px));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.demo-calendar-hour {
  color: var(--ui-text-muted);
  font-size: 11px;
  font-weight: 850;
  grid-column: 1;
  padding: 10px;
  z-index: 1;
}

.demo-calendar-event {
  align-self: stretch;
  background: #eef6ff;
  border: 1px solid rgba(var(--ui-accent-rgb), 0.26);
  border-left: 4px solid var(--ui-accent);
  border-radius: 14px;
  color: var(--ui-text);
  cursor: pointer;
  display: grid;
  gap: 3px;
  margin: 5px;
  min-width: 0;
  padding: 9px 10px;
  text-align: left;
  z-index: 2;
}

.demo-calendar-event.is-selected {
  box-shadow: 0 0 0 3px rgba(var(--ui-accent-rgb), 0.16);
}

.demo-calendar-event strong,
.demo-calendar-event span,
.demo-calendar-event small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-calendar-event strong {
  font-size: 12px;
}

.demo-calendar-event span,
.demo-calendar-event small {
  color: var(--ui-text-muted);
  font-size: 11px;
}

.demo-calendar-event--owens-1030 {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.demo-calendar-event--owens-1130 {
  grid-column: 2;
  grid-row: 4 / span 1;
}

.demo-calendar-event--rivas-1400 {
  grid-column: 3;
  grid-row: 6 / span 2;
}

.demo-calendar-event--rivas-1615 {
  grid-column: 3;
  grid-row: 8 / span 1;
}

.demo-calendar-event--vega-1700 {
  grid-column: 4;
  grid-row: 9 / span 1;
}

.demo-search-row {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 16px;
  color: var(--ui-text-muted);
  font-size: 13px;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 11px 13px;
}

.demo-search-row button,
.demo-row-actions button {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  color: var(--ui-text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 9px;
}

.demo-table-wrap {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  overflow: auto;
}

.demo-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.demo-table th,
.demo-table td {
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-text-soft);
  font-size: 13px;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

.demo-table th {
  background: var(--ui-surface-muted);
  color: var(--ui-text-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-table tr.is-selected td {
  background: #eff6ff;
}

.demo-table td strong,
.demo-table td small {
  display: block;
}

.demo-table td strong {
  color: var(--ui-text);
  font-size: 13px;
}

.demo-table td small {
  color: var(--ui-text-muted);
  font-size: 11px;
  margin-top: 3px;
}

.demo-table-person {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-width: 210px;
  padding: 0;
  text-align: left;
}

.demo-table-person .demo-avatar {
  border-radius: 13px;
  font-size: 12px;
  height: 38px;
  width: 38px;
}

.demo-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-status--authorized,
.demo-status--ready {
  background: #ecfdf3;
  color: #027a48;
}

.demo-status--review {
  background: #fff7ed;
  color: #b54708;
}

.demo-status--draft {
  background: #f8fafc;
  color: #475569;
}

.demo-billing-hero,
.demo-report-hero {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 36%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 18px;
}

.demo-billing-hero span,
.demo-report-hero span {
  color: rgba(255, 255, 255, 0.66);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-billing-hero strong,
.demo-report-hero strong {
  display: block;
  font-size: 25px;
  margin-top: 5px;
}

.demo-billing-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
  margin: 7px 0 0;
  max-width: 560px;
}

.demo-billing-actions {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.demo-billing-metrics,
.demo-overview-grid,
.demo-chart-grid,
.demo-app-propia-screen {
  display: grid;
  gap: 12px;
}

.demo-billing-metrics,
.demo-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.demo-billing-metrics article,
.demo-overview-grid article,
.demo-chart-card,
.demo-config-panel,
.demo-insight-card {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  padding: 14px;
}

.demo-billing-metrics span,
.demo-overview-grid span,
.demo-chart-card span,
.demo-config-panel span,
.demo-insight-card span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 12px;
}

.demo-billing-metrics strong,
.demo-overview-grid strong,
.demo-chart-card strong,
.demo-config-panel strong,
.demo-insight-card strong {
  color: var(--ui-text);
  display: block;
  font-size: 22px;
  margin-top: 5px;
}

.demo-billing-metrics small,
.demo-overview-grid small {
  color: var(--ui-success);
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 5px;
}

.demo-status-filters {
  gap: 7px;
  margin-bottom: 12px;
}

.demo-chat-workspace {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
}

.demo-chat-rail {
  background: var(--ui-surface-muted);
  border-right: 1px solid var(--ui-border);
  padding: 12px;
}

.demo-chat-search,
.demo-compose-input {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 13px;
  color: var(--ui-text-muted);
  font-size: 12px;
  margin: 10px 0;
  padding: 10px 11px;
}

.demo-conversation-list {
  display: grid;
  gap: 8px;
}

.demo-conversation {
  align-items: center;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ui-text);
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 10px;
  text-align: left;
}

.demo-conversation.is-selected {
  border-color: rgba(var(--ui-accent-rgb), 0.34);
  box-shadow: var(--ui-shadow-sm);
}

.demo-conversation .demo-avatar {
  border-radius: 12px;
  font-size: 11px;
  height: 38px;
  width: 38px;
}

.demo-conversation strong,
.demo-conversation small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-conversation small {
  color: var(--ui-text-muted);
  font-size: 11px;
  margin-top: 2px;
}

.demo-conversation em {
  align-items: center;
  background: var(--ui-accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.demo-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
}

.demo-thread-header {
  border-bottom: 1px solid var(--ui-border);
  justify-content: space-between;
  padding: 14px;
}

.demo-thread-body {
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 211, 102, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(7, 94, 84, 0.08), transparent 36%),
    #efeae2;
  display: grid;
  gap: 9px;
  overflow: auto;
  padding: 18px;
}

.demo-chat-workspace .demo-chat-tabs button.is-active {
  background: #25d366;
  color: #063b2a;
}

.demo-composer {
  border-top: 1px solid var(--ui-border);
  gap: 10px;
  padding: 12px;
}

.demo-composer .demo-compose-input {
  flex: 1;
  margin: 0;
}

.demo-reports-screen .demo-status-filters {
  margin: 0;
}

.demo-chart-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.demo-chart-card {
  min-height: 265px;
}

.demo-chart-card svg {
  display: block;
  height: 210px;
  margin-top: 8px;
  width: 100%;
}

.demo-bar--78 { height: 78%; }
.demo-bar--54 { height: 54%; }
.demo-bar--45 { height: 45%; }
.demo-bar--38 { height: 38%; }
.demo-bar--62 { height: 62%; }

.demo-integration-card em {
  background: #eff6ff;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
}

.demo-app-propia-screen {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr) 280px;
}

.demo-config-panel {
  display: grid;
  gap: 13px;
}

.demo-config-head {
  justify-content: space-between;
}

.demo-config-head span:first-child {
  color: var(--ui-text-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-toggle {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #027a48;
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
}

.demo-form-grid,
.demo-cohort-list {
  display: grid;
  gap: 9px;
}

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

.demo-form-grid label,
.demo-deeplink-preview,
.demo-cohort-list article {
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  color: var(--ui-text-muted);
  display: grid;
  font-size: 12px;
  gap: 4px;
  padding: 11px;
}

.demo-form-grid label strong,
.demo-deeplink-preview strong,
.demo-cohort-list strong {
  color: var(--ui-text);
  font-size: 13px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-side-note {
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  color: var(--ui-text-soft);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  padding: 12px;
}

.demo-activity-panel {
  margin-top: 16px;
}

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

.demo-activity {
  align-items: center;
  background: var(--ui-surface-muted);
  border: 1px solid var(--ui-border);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.demo-activity i {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  color: var(--ui-accent);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.demo-activity strong {
  color: var(--ui-text);
  display: block;
  font-size: 14px;
}

.demo-activity span {
  color: var(--ui-text-muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.is-dark-demo {
  --ui-bg: #08111f;
  --ui-bg-accent: #0f172a;
  --ui-surface: rgba(11, 18, 32, 0.92);
  --ui-surface-solid: #0b1220;
  --ui-surface-muted: #111827;
  --ui-surface-strong: #172033;
  --ui-border: rgba(148, 163, 184, 0.18);
  --ui-border-strong: rgba(148, 163, 184, 0.28);
  --ui-text: #f8fafc;
  --ui-text-soft: #d7e2f1;
  --ui-text-muted: #94a3b8;
  --ui-accent: #38bdf8;
  --ui-accent-rgb: 56, 189, 248;
  --ui-accent-alt: #22d3ee;
  --ui-accent-hover: #0ea5e9;
  --ui-accent-soft: rgba(56, 189, 248, 0.14);
  --ui-page-bg:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, #020617 0%, var(--ui-bg) 42%, #0b1324 100%);
}

.is-dark-demo .demo-topbar {
  background: rgba(15, 23, 42, 0.84);
}

.is-dark-demo .demo-command,
.is-dark-demo .demo-profile,
.is-dark-demo .demo-round-btn,
.is-dark-demo .demo-soft-btn,
.is-dark-demo .demo-segmented button.is-active,
.is-dark-demo .demo-mini-chart,
.is-dark-demo .demo-integration-card {
  background: var(--ui-surface-solid);
}

.is-dark-demo .demo-menu-toggle {
  color: #ffffff;
}

.is-dark-demo .demo-banner,
.is-dark-demo .demo-page-heading {
  background: var(--ui-surface-solid);
}

@media (max-width: 1180px) {
  .demo-site-nav__links,
  .demo-browser-shell__hint,
  .demo-system-status,
  .demo-profile strong,
  .demo-command kbd {
    display: none;
  }

  .bookifi-demo-app {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .demo-sidebar__brand img,
  .demo-sidebar__cta span:nth-child(2),
  .demo-sidebar__cta kbd,
  .demo-sidebar__item span {
    display: none;
  }

  .demo-sidebar__cta,
  .demo-sidebar__item {
    justify-content: center;
    padding: 0;
  }

  .demo-sidebar__brand {
    display: flex;
    justify-content: center;
  }

  .demo-sidebar__brand::before {
    align-items: center;
    background: linear-gradient(135deg, var(--bookifi-purple), var(--bookifi-cyan));
    border-radius: 14px;
    content: "b";
    display: flex;
    font-size: 22px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
  }

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

  .demo-view-grid,
  .demo-operations-grid,
  .demo-report-grid,
  .demo-calendar-layout,
  .demo-chat-workspace,
  .demo-chart-grid,
  .demo-app-propia-screen {
    grid-template-columns: 1fr;
  }

  .demo-client-grid,
  .demo-integration-grid,
  .demo-billing-metrics,
  .demo-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-module-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .demo-chat-workspace {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .demo-site-nav {
    padding: 18px 20px;
  }

  .demo-site-nav__button {
    display: none;
  }

  .demo-hero {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 42px 22px 24px;
  }

  .demo-hero h1 {
    font-size: clamp(46px, 16vw, 70px);
    max-width: 560px;
  }

  .demo-hero__actions {
    align-items: start;
  }

  .demo-browser-shell {
    border-radius: 24px;
    margin: 10px auto 52px;
    width: calc(100% - 16px);
  }

  .demo-browser-shell__chrome {
    gap: 7px;
    min-height: 46px;
    padding: 0 10px;
  }

  .demo-dot {
    height: 9px;
    width: 9px;
  }

  .demo-browser-shell__url {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bookifi-demo-app {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: auto;
  }

  .demo-sidebar {
    padding: 12px 6px;
  }

  .demo-sidebar__brand {
    margin: 0 0 12px;
  }

  .demo-sidebar__brand::before {
    border-radius: 12px;
    font-size: 18px;
    height: 36px;
    width: 36px;
  }

  .demo-sidebar__cta,
  .demo-sidebar__item {
    border-radius: 12px;
    min-height: 40px;
  }

  .demo-main {
    padding: 0 8px 16px;
  }

  .demo-banner {
    align-items: flex-start;
    border-radius: 16px;
    font-size: 12px;
    margin: 10px 0;
    padding: 10px;
  }

  .demo-banner span:first-child {
    height: 28px;
    width: 28px;
  }

  .demo-topbar {
    border-top-left-radius: 16px;
    gap: 6px;
    min-height: 54px;
    padding: 6px;
  }

  .demo-menu-toggle,
  .demo-round-btn {
    border-radius: 10px;
    height: 38px;
    width: 38px;
  }

  .demo-command {
    border-radius: 12px;
    font-size: 12px;
    gap: 8px;
    min-height: 38px;
    padding: 0 10px;
  }

  .demo-command__spark,
  .demo-profile {
    display: none;
  }

  .demo-page-heading {
    align-items: stretch;
    border-radius: 18px;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .demo-page-heading h2 {
    font-size: 32px;
    margin: 8px 0;
  }

  .demo-page-heading p {
    font-size: 13px;
  }

  .demo-page-heading__actions,
  .demo-panel__header,
  .demo-module-toolbar,
  .demo-billing-hero,
  .demo-report-hero,
  .demo-composer {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-page-heading__actions button,
  .demo-billing-actions button,
  .demo-composer .demo-gradient-btn,
  .demo-composer .demo-compose-input {
    width: 100%;
  }

  .demo-panel {
    border-radius: 18px;
    padding: 12px;
  }

  .demo-panel__header {
    gap: 10px;
  }

  .demo-kpi {
    border-radius: 16px;
    padding: 13px;
  }

  .demo-kpi strong {
    font-size: 24px;
  }

  .demo-shift-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .demo-shift-card .demo-status {
    grid-column: 2;
    justify-self: start;
  }

  .demo-home-lane {
    flex-direction: column;
  }

  .demo-home-lane article {
    width: 100%;
  }

  .demo-calendar-board {
    overflow: auto;
  }

  .demo-calendar-head,
  .demo-calendar-grid {
    min-width: 640px;
  }

  .demo-filter-card {
    order: 2;
  }

  .demo-table {
    min-width: 680px;
  }

  .demo-chat-rail {
    border-bottom: 1px solid var(--ui-border);
    border-right: 0;
  }

  .demo-thread {
    min-height: 440px;
  }

  .demo-thread-header {
    align-items: flex-start;
    gap: 10px;
  }

  .demo-thread-body {
    min-height: 260px;
    padding: 14px;
  }

  .demo-bubble {
    max-width: 88%;
  }

  .demo-form-grid,
  .demo-billing-metrics,
  .demo-overview-grid,
  .demo-client-grid,
  .demo-integration-grid {
    grid-template-columns: 1fr;
  }

  .demo-phone {
    max-width: 250px;
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .demo-site-nav {
    padding: 16px 18px;
  }

  .demo-hero {
    padding: 34px 18px 20px;
  }

  .demo-hero h1 {
    font-size: 48px;
  }

  .demo-hero p {
    font-size: 17px;
  }

  .demo-primary-link {
    min-height: 50px;
  }

  .demo-browser-shell {
    border-radius: 18px;
    width: calc(100% - 8px);
  }

  .bookifi-demo-app {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .demo-sidebar {
    padding-inline: 4px;
  }

  .demo-sidebar__item i {
    width: 20px;
  }

  .demo-main {
    padding-inline: 6px;
  }

  .demo-kpi-grid {
    gap: 8px;
  }

  .demo-kpi {
    padding: 11px;
  }

  .demo-kpi span {
    font-size: 11px;
  }

  .demo-kpi strong {
    font-size: 21px;
  }

  .demo-soft-btn,
  .demo-gradient-btn {
    border-radius: 12px;
    min-height: 42px;
    padding-inline: 12px;
  }

  .demo-chat-tabs {
    overflow: auto;
  }
}
}
