/* Dashboard showcase - laptop mockup + tab-driven backend demos */

.lp-dashboard-showcase {
  --landed-card-w: clamp(148px, 18vw, 188px);
  --landed-card-radius: 20px;
  background: #fff;
  padding-top: clamp(48px, 8vh, 88px);
  padding-bottom: clamp(32px, 5vh, 56px);
  overflow: visible;
}

.lp-problem--continued {
  padding-top: clamp(24px, 4vh, 48px);
}

.lp-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.lp-dashboard-head {
  position: relative;
  z-index: 2;
  max-width: min(100%, 720px);
}

.lp-dashboard-stage {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  min-width: 0;
}

.lp-dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-dashboard-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.lp-dash-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--lp-border, #e5e9ef);
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lp-dash-pill:hover {
  background: var(--lp-surface, #f6f8fb);
  border-color: #cbd5e1;
}

.lp-dash-pill.is-active {
  background: var(--lp-accent, #009fd8);
  border-color: var(--lp-accent, #009fd8);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 159, 216, 0.22);
}

.lp-dash-pill-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.lp-dash-pill-desc {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lp-muted, #64748b);
}

.lp-dash-pill.is-active .lp-dash-pill-desc {
  color: rgba(255, 255, 255, 0.88);
}

.lp-dash-accordion-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lp-dash-accordion-item.is-active .lp-dash-accordion-chevron {
  transform: rotate(-135deg);
}

.lp-dashboard-copy-row {
  padding: 0 2px;
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
}

.lp-dashboard-accordion {
  display: none;
  flex-direction: column;
  border: 1px solid var(--lp-border, #e5e9ef);
  border-radius: var(--lp-radius, 12px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
}

.lp-dash-accordion-item {
  border-bottom: 1px solid var(--lp-border, #e5e9ef);
}

.lp-dash-accordion-item:last-child {
  border-bottom: 0;
}

.lp-dash-accordion-item .lp-dash-pill {
  width: 100%;
  justify-content: flex-start;
  gap: 4px;
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  box-shadow: none;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
}

.lp-dash-accordion-item .lp-dash-pill.is-active {
  background: linear-gradient(135deg, rgba(0, 159, 216, 0.1), rgba(0, 0, 0, 0.02));
  color: #0b1220;
  border-color: transparent;
}

/* Accordion active state stays light; override pill desc which defaults to white */
.lp-dash-accordion-item .lp-dash-pill.is-active .lp-dash-pill-desc {
  color: var(--lp-muted, #64748b);
}

.lp-dash-accordion-item .lp-dash-pill-label {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 15px;
}

.lp-dash-item-copy {
  padding: 0 16px 16px;
}

.lp-dash-item-copy[hidden] {
  display: none;
}

.lp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-dash-points {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.lp-dash-points li + li {
  margin-top: 6px;
}

.lp-dashboard-mockup {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: visible;
  padding-bottom: 18px;
}

.lp-dashboard-mockup::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(11, 18, 32, 0.16) 0%,
    rgba(11, 18, 32, 0.05) 50%,
    transparent 75%
  );
  filter: blur(8px);
  pointer-events: none;
}

.lp-card-landing {
  position: relative;
  width: 0;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}

.lp-card-landing[data-active] {
  width: var(--landed-card-w);
  aspect-ratio: 1.586 / 1;
  margin: 0 0 28px;
}

.lp-card-landing [data-tap-card].lp-card {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  width: var(--landed-card-w) !important;
  height: auto !important;
  border-radius: var(--landed-card-radius, 20px) !important;
  transform: rotate(-2deg);
  transform-origin: 22% 88%;
  opacity: 1 !important;
}

.lp-card-landing [data-tap-card].lp-card.is-resting {
  animation:
    lp-card-glow-pulse 2.8s ease-in-out infinite,
    lp-card-landed-wiggle 5.2s ease-in-out infinite;
}

.lp-card-landing [data-tap-card].lp-card.is-resting .lp-card-shine {
  animation: lp-card-shine-sweep 4.5s ease-in-out infinite;
}

@keyframes lp-card-landed-wiggle {
  0%, 100% {
    transform: rotate(-2deg) translateY(0);
  }
  25% {
    transform: rotate(-1deg) translateY(4px);
  }
  50% {
    transform: rotate(-3deg) translateY(-5px);
  }
  75% {
    transform: rotate(-1.5deg) translateY(3px);
  }
}

.lp-eyebrow--dark {
  color: var(--lp-accent, #009fd8);
}

.lp-dashboard-intro {
  margin-bottom: 0;
}

.lp-dashboard-intro .lp-h2 {
  margin-bottom: 0;
}

/* Tablet mockup - landscape iPad-style frame (same in-flow screen pattern as hero phone) */
.lp-dashboard-showcase .lp-tablet {
  position: relative;
  width: min(100%, 820px);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(145deg, #eceef2 0%, #d2d8e0 48%, #b8bfc9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}

.lp-dashboard-showcase .lp-tablet-bezel {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(14px, 2.4vw, 20px);
  border-radius: 24px;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lp-dashboard-showcase .lp-tablet-bezel::before,
.lp-dashboard-showcase .lp-tablet-bezel::after {
  content: '';
  position: absolute;
  top: 22%;
  bottom: 22%;
  width: 2px;
  border-radius: 1px;
  background: rgba(110, 118, 130, 0.35);
  pointer-events: none;
}

.lp-dashboard-showcase .lp-tablet-bezel::before {
  left: -1px;
}

.lp-dashboard-showcase .lp-tablet-bezel::after {
  right: -1px;
}

.lp-dashboard-showcase .lp-tablet-screen {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  background: #f4f7fb;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* In-app demo chrome */
.lp-dashboard-showcase .lp-dash-app {
  position: absolute;
  inset: 0;
  display: flex;
  min-height: 0;
  font-size: clamp(7px, 0.72vw, 9px);
  line-height: 1.35;
  color: #334155;
  background: #f4f7fb;
}

.lp-dash-app-sidebar {
  width: 36px;
  flex-shrink: 0;
  background: #0b1220;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
}

.lp-dash-app-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lp-accent, #009fd8);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-dash-app-nav {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.55;
}

.lp-dash-app-nav.is-active {
  background: rgba(0, 159, 216, 0.55);
  opacity: 1;
}

.lp-dash-app-main {
  flex: 1;
  min-width: 0;
  position: relative;
  background: #f4f7fb;
  padding: clamp(6px, 0.8vw, 10px);
  overflow: hidden;
}

.lp-dash-screen {
  position: absolute;
  inset: clamp(6px, 0.8vw, 10px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  overflow: auto;
  scrollbar-width: thin;
}

.lp-dash-screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

[data-dash-screen="analytics"].lp-dash-screen {
  inset: clamp(4px, 0.6vw, 8px);
  overflow: hidden;
}

.lp-dash-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.lp-dash-screen-head h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: #0b1220;
}

.lp-dash-pill {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 159, 216, 0.14);
  color: #007aa8;
  white-space: nowrap;
}

.lp-dash-pill--muted {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}

.lp-dash-pill--success {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

/* Contact book demo - matches real app UI at tablet scale */
.lp-cb-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-height: 0;
  font-size: clamp(6px, 0.65vw, 8px);
  line-height: 1.35;
  color: #334155;
}

.lp-cb-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  flex-shrink: 0;
}

.lp-cb-stat {
  background: #fff;
  border-radius: 5px;
  padding: 5px 3px;
  text-align: center;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-cb-stat.is-active {
  border-color: #009fd8;
  box-shadow: 0 2px 6px rgba(0, 159, 216, 0.15);
}

.lp-cb-stat.is-demo-pulse {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 159, 216, 0.25);
}

.lp-cb-stat-val {
  display: block;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1.1;
}

.lp-cb-stat--total .lp-cb-stat-val { color: #009fd8; }
.lp-cb-stat--new .lp-cb-stat-val { color: #f59e0b; }
.lp-cb-stat--contacted .lp-cb-stat-val { color: #3b82f6; }
.lp-cb-stat--won .lp-cb-stat-val { color: #22c55e; }
.lp-cb-stat--lost .lp-cb-stat-val { color: #ef4444; }

.lp-cb-stat-label {
  display: block;
  margin-top: 2px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.lp-cb-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.lp-cb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.lp-cb-card-title {
  margin: 0;
  font-size: clamp(7px, 0.75vw, 9px);
  font-weight: 800;
  color: #0b1220;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 3px;
  border-bottom: 2px solid #009fd8;
}

.lp-cb-card-actions {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.lp-cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  border: 0;
  font-family: inherit;
  white-space: nowrap;
}

.lp-cb-btn--scan,
.lp-cb-btn--search,
.lp-cb-btn--save {
  background: #009fd8;
  color: #fff;
}

.lp-cb-btn--export {
  background: #007aa8;
  color: #fff;
}

.lp-cb-btn--clear,
.lp-cb-btn--outline {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.lp-cb-btn.is-demo-active {
  box-shadow: 0 0 0 2px rgba(0, 159, 216, 0.35);
  transform: scale(1.03);
}

.lp-cb-search-row {
  display: flex;
  gap: 3px;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.lp-cb-search-input {
  flex: 1;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: clamp(6px, 0.62vw, 7.5px);
  font-family: inherit;
  background: #fff;
  color: #0b1220;
  transition: border-color 0.2s ease;
}

.lp-cb-search-input.is-demo-focus {
  border-color: #009fd8;
  outline: none;
}

.lp-cb-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}

.lp-cb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(5.5px, 0.58vw, 7px);
}

.lp-cb-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 4px 4px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
  font-size: clamp(5px, 0.52vw, 6.5px);
}

.lp-cb-table td {
  padding: 4px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.lp-cb-table tr[data-cb-row][hidden] {
  display: none;
}

.lp-cb-name {
  font-weight: 700;
  color: #009fd8;
}

.lp-cb-email {
  color: #009fd8;
}

.lp-cb-phone {
  color: #64748b;
}

.lp-cb-status {
  display: inline-block;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  white-space: nowrap;
}

.lp-cb-status--new { background: #fef3c7; color: #b45309; }
.lp-cb-status--contacted { background: #dbeafe; color: #1d4ed8; }
.lp-cb-status--won { background: #dcfce7; color: #16a34a; }
.lp-cb-status--lost { background: #fee2e2; color: #dc2626; }

.lp-cb-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #64748b;
  cursor: default;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-cb-action--edit.is-demo-hover,
.lp-cb-action--edit.is-demo-active {
  background: #e7f5ff;
  color: #009fd8;
  border-color: #009fd8;
  box-shadow: 0 2px 6px rgba(0, 159, 216, 0.25);
}

.lp-cb-action-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  padding: 2px 5px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lp-cb-action--edit.is-demo-hover .lp-cb-action-tip {
  opacity: 1;
}

/* Edit modal */
.lp-cb-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.lp-cb-modal[hidden] {
  display: none;
}

.lp-cb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.lp-cb-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 220px);
  max-height: 100%;
  overflow: auto;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lp-cb-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.lp-cb-modal-head h5 {
  margin: 0;
  font-size: clamp(8px, 0.82vw, 10px);
  font-weight: 800;
  color: #0b1220;
}

.lp-cb-modal-close {
  border: 0;
  background: none;
  font-size: 14px;
  line-height: 1;
  color: #94a3b8;
  padding: 0;
  cursor: default;
}

.lp-cb-field {
  display: block;
  margin-bottom: 5px;
}

.lp-cb-field span {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.lp-cb-field input,
.lp-cb-field select,
.lp-cb-field textarea {
  width: 100%;
  padding: 3px 5px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  font-size: clamp(6px, 0.62vw, 7.5px);
  font-family: inherit;
  background: #fff;
  color: #0b1220;
}

.lp-cb-field textarea {
  min-height: 36px;
  resize: none;
}

.lp-cb-field textarea.is-demo-focus {
  border-color: #009fd8;
  outline: none;
}

.lp-cb-date-added {
  margin: 4px 0 0;
  font-size: clamp(5.5px, 0.58vw, 7px);
  color: #64748b;
}

.lp-cb-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 6px;
}

.lp-cb-btn--save.is-demo-active {
  background: #007aa8;
}

/* Team management demo */
[data-dash-screen="team"].lp-dash-screen {
  inset: clamp(4px, 0.6vw, 8px);
  overflow: hidden;
}

.lp-tm-demo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  min-height: 0;
  font-size: clamp(5.5px, 0.58vw, 7px);
  line-height: 1.35;
  color: #334155;
}

.lp-tm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  flex-shrink: 0;
}

.lp-tm-title {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  color: #0b1220;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-tm-subtitle {
  display: block;
  margin-top: 1px;
  font-size: 6px;
  color: #64748b;
}

.lp-tm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  flex-shrink: 0;
}

.lp-tm-stat {
  background: #fff;
  border-radius: 4px;
  padding: 5px 4px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}

.lp-tm-stat-val {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #009fd8;
  line-height: 1.1;
}

.lp-tm-stat-label {
  display: block;
  margin-top: 2px;
  font-size: 5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-tm-search-row {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.lp-tm-search-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 4px 5px;
  font-size: 6px;
  font-family: inherit;
  color: #334155;
  background: #fff;
}

.lp-tm-card {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
  overflow: hidden;
}

.lp-tm-table-wrap {
  height: 100%;
  overflow: auto;
  scrollbar-width: thin;
}

.lp-tm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
}

.lp-tm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 4px 3px;
  background: #f8fafc;
  font-size: 5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.lp-tm-table td {
  padding: 4px 3px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  white-space: nowrap;
}

.lp-tm-table tr.is-highlight {
  background: rgba(0, 159, 216, 0.04);
}

.lp-tm-member {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.lp-tm-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #009fd8;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-tm-avatar--photo {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.lp-tm-member-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lp-tm-member-info strong {
  font-size: 6px;
  font-weight: 700;
  color: #0b1220;
}

.lp-tm-member-info em {
  font-size: 5px;
  font-style: normal;
  color: #94a3b8;
}

.lp-tm-badge {
  display: inline-block;
  padding: 2px 4px;
  border-radius: 999px;
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lp-tm-badge--user { background: #e7f5ff; color: #009fd8; }
.lp-tm-badge--admin { background: #fef3c7; color: #92400e; }
.lp-tm-badge--standard { background: #f1f5f9; color: #64748b; }
.lp-tm-badge--pro { background: #e7f5ff; color: #006d94; }
.lp-tm-badge--active { background: #dcfce7; color: #15803d; }

.lp-tm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.lp-tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 5px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.lp-tm-btn--add,
.lp-tm-btn--search,
.lp-tm-btn--view,
.lp-tm-btn--create {
  background: #009fd8;
  color: #fff;
}

.lp-tm-btn--warn {
  background: #fbbf24;
  color: #1f2937;
}

.lp-tm-btn--outline {
  background: #fff;
  color: #475569;
  box-shadow: inset 0 0 0 1px #cbd5e1;
}

/* Analytics dashboard demo */
.lp-an-demo {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eef2f6;
}

.lp-an-scroll {
  height: 100%;
  overflow: hidden scroll;
  scroll-behavior: auto;
  scrollbar-width: thin;
  padding: 5px;
}

.lp-an-scroll.is-demo-scrolling {
  pointer-events: none;
}

.lp-an-section {
  margin-bottom: 5px;
  opacity: 0.35;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-an-section.is-an-visible {
  opacity: 1;
  transform: none;
}

.lp-an-top-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4px;
}

.lp-an-profile,
.lp-an-range,
.lp-an-card {
  background: #fff;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.lp-an-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 6px;
  align-items: start;
}

.lp-an-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #009fd8, #007aa8);
  grid-row: span 2;
}

.lp-an-profile strong {
  display: block;
  font-size: clamp(7px, 0.72vw, 8.5px);
  color: #0b1220;
}

.lp-an-profile span {
  display: block;
  font-size: clamp(5.5px, 0.58vw, 7px);
  color: #64748b;
}

.lp-an-co {
  color: #009fd8 !important;
  font-weight: 600;
}

.lp-an-insight {
  grid-column: 1 / -1;
  font-size: clamp(5px, 0.52vw, 6.5px);
  color: #334155;
  padding: 4px;
  background: #f0fdf4;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
}

.lp-an-insight-badge {
  display: inline-block;
  font-weight: 700;
  color: #15803d;
  margin-right: 3px;
}

.lp-an-range-label {
  display: block;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.lp-an-range-track {
  height: 3px;
  background: #e2e8f0;
  border-radius: 999px;
  margin-bottom: 4px;
  overflow: hidden;
}

.lp-an-range-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #009fd8;
  border-radius: inherit;
  transition: width 1.2s ease;
}

.lp-an-section.is-an-visible .lp-an-range-fill {
  width: 55%;
}

.lp-an-range-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.lp-an-range-btns span {
  font-size: clamp(4.5px, 0.48vw, 6px);
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  color: #64748b;
  background: #f1f5f9;
}

.lp-an-range-btns span.is-active {
  background: #009fd8;
  color: #fff;
}

.lp-an-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.lp-an-metric {
  background: #fff;
  border-radius: 5px;
  padding: 5px 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  border-left: 2px solid #009fd8;
  text-align: center;
}

.lp-an-metric-val {
  display: block;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 800;
  color: #009fd8;
  line-height: 1.1;
}

.lp-an-metric-val--sm {
  font-size: clamp(6px, 0.62vw, 7.5px);
  font-weight: 700;
}

.lp-an-metric-label {
  display: block;
  margin-top: 2px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.lp-an-metric-sub {
  display: block;
  font-size: clamp(4.5px, 0.48vw, 6px);
  color: #94a3b8;
}

.lp-an-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.lp-an-card h6 {
  margin: 0 0 4px;
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-an-card--wide {
  width: 100%;
}

.lp-an-line-chart {
  width: 100%;
  height: auto;
  display: block;
}

.lp-an-line-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s ease;
}

.lp-an-line-area {
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}

.lp-an-section.is-an-visible .lp-an-line-path {
  stroke-dashoffset: 0;
}

.lp-an-section.is-an-visible .lp-an-line-area {
  opacity: 1;
}

.lp-an-donut {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 4px;
}

.lp-an-donut-seg {
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-dasharray: 0 176;
  transition: stroke-dasharray 1s ease;
}

.lp-an-section.is-an-visible .lp-an-donut-seg:nth-child(1) { stroke-dasharray: 44 132; transition-delay: 0.1s; }
.lp-an-section.is-an-visible .lp-an-donut-seg:nth-child(2) { stroke-dasharray: 35 132; transition-delay: 0.2s; }
.lp-an-section.is-an-visible .lp-an-donut-seg:nth-child(3) { stroke-dasharray: 28 132; transition-delay: 0.3s; }
.lp-an-section.is-an-visible .lp-an-donut-seg:nth-child(4) { stroke-dasharray: 25 132; transition-delay: 0.4s; }

.lp-an-donut--device .lp-an-donut-seg:nth-child(1) { stroke-dasharray: 0 163; }
.lp-an-donut--device .lp-an-donut-seg:nth-child(2) { stroke-dasharray: 0 163; }
.lp-an-section.is-an-visible .lp-an-donut--device .lp-an-donut-seg:nth-child(1) { stroke-dasharray: 82 163; }
.lp-an-section.is-an-visible .lp-an-donut--device .lp-an-donut-seg:nth-child(2) { stroke-dasharray: 81 163; }

.lp-an-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  font-size: clamp(4px, 0.45vw, 5.5px);
  color: #64748b;
}

.lp-an-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 36px;
}

.lp-an-bars span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, #009fd8, #007aa8);
  border-radius: 2px 2px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-an-section.is-an-visible .lp-an-bars span {
  transform: scaleY(1);
}

.lp-an-bars span:nth-child(odd) { transition-delay: 0.05s; }
.lp-an-bars span:nth-child(even) { transition-delay: 0.12s; }

.lp-an-axis {
  margin-top: 3px;
  font-size: clamp(4px, 0.45vw, 5.5px);
  color: #94a3b8;
  text-align: center;
}

.lp-an-geo-map {
  position: relative;
  height: 28px;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #f8fafc, #eef2f6);
  border-radius: 4px;
}

.lp-an-geo-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s ease;
}

.lp-an-section.is-an-visible .lp-an-geo-dot {
  transform: scale(1);
}

.lp-an-geo-dot--uk { background: #0b1220; top: 30%; left: 44%; transition-delay: 0.1s; }
.lp-an-geo-dot--us { background: #0b1220; top: 38%; left: 22%; transition-delay: 0.25s; }
.lp-an-geo-dot--br { background: #009fd8; top: 62%; left: 32%; transition-delay: 0.4s; }

.lp-an-geo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(5px, 0.52vw, 6.5px);
}

.lp-an-geo-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 4px;
  align-items: center;
  margin-bottom: 3px;
}

.lp-an-geo-list li span:nth-child(2) {
  font-weight: 800;
  color: #009fd8;
}

.lp-an-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.lp-an-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: #009fd8;
  border-radius: inherit;
  transition: width 1s ease;
}

.lp-an-section.is-an-visible .lp-an-bar i {
  width: var(--w, 0%);
}

.lp-an-device-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 4px;
  text-align: center;
  font-size: clamp(4.5px, 0.48vw, 6px);
}

.lp-an-device-stats strong {
  display: block;
  font-size: clamp(8px, 0.82vw, 10px);
  color: #009fd8;
}

.lp-an-device-stats em {
  display: block;
  font-style: normal;
  color: #94a3b8;
  font-size: clamp(4px, 0.45vw, 5.5px);
}

.lp-an-breakdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.lp-an-breakdown > div {
  text-align: center;
  padding: 4px 2px;
  background: #f8fafc;
  border-radius: 4px;
}

.lp-an-breakdown-val {
  display: block;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 800;
  color: #009fd8;
}

.lp-an-breakdown span:last-child {
  display: block;
  margin-top: 2px;
  font-size: clamp(4.5px, 0.48vw, 6px);
  color: #64748b;
}

.lp-an-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lp-an-activity-head span {
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #009fd8;
}

.lp-an-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid #009fd8;
  padding-top: 4px;
}

.lp-an-activity li {
  position: relative;
  padding: 3px 0 3px 8px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  color: #334155;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lp-an-section.is-an-visible .lp-an-activity li {
  opacity: 1;
  transform: none;
}

.lp-an-section.is-an-visible .lp-an-activity li:nth-child(1) { transition-delay: 0.1s; }
.lp-an-section.is-an-visible .lp-an-activity li:nth-child(2) { transition-delay: 0.2s; }
.lp-an-section.is-an-visible .lp-an-activity li:nth-child(3) { transition-delay: 0.3s; }
.lp-an-section.is-an-visible .lp-an-activity li:nth-child(4) { transition-delay: 0.4s; }
.lp-an-section.is-an-visible .lp-an-activity li:nth-child(5) { transition-delay: 0.5s; }

.lp-an-activity-dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #009fd8;
}

.lp-an-activity em {
  color: #94a3b8;
  font-style: normal;
}

[data-dash-screen="branding"].lp-dash-screen {
  inset: clamp(4px, 0.6vw, 8px);
  overflow: hidden;
}

.lp-br-demo {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eef2f6;
}

.lp-br-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(5px, 0.7vw, 8px);
  height: 100%;
  min-height: 0;
  padding: clamp(4px, 0.6vw, 6px);
}

.lp-br-scroll {
  height: 100%;
  min-height: 0;
  overflow: hidden auto;
  scroll-behavior: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.lp-br-scroll.is-demo-scrolling {
  pointer-events: none;
}

.lp-br-section {
  margin-bottom: 5px;
  opacity: 0.4;
  transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.lp-br-section.is-br-visible {
  opacity: 1;
  transform: none;
}

.lp-br-panel {
  background: #fff;
  border-radius: 5px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.lp-br-panel-title {
  margin: 0 0 5px;
  font-size: clamp(7px, 0.75vw, 9px);
  font-weight: 800;
  color: #0b1220;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  border-bottom: 2px solid #009fd8;
}

.lp-br-panel-note {
  margin: 0 0 5px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  color: #64748b;
  line-height: 1.35;
}

.lp-br-info {
  margin-bottom: 5px;
  padding: 4px 5px;
  border-radius: 4px;
  background: #e7f5ff;
  border-left: 2px solid #009fd8;
  font-size: clamp(5px, 0.52vw, 6.5px);
  line-height: 1.4;
  color: #334155;
}

.lp-br-info strong {
  color: #0b1220;
}

.lp-br-colours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 5px;
}

.lp-br-colour {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 4px;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-br-colour.is-demo-active {
  border-color: #009fd8;
  box-shadow: 0 0 0 1px rgba(0, 159, 216, 0.25);
}

.lp-br-colour-label,
.lp-br-field-label {
  display: block;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-br-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  grid-row: span 2;
}

.lp-br-hex {
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 700;
  color: #0b1220;
  font-family: ui-monospace, monospace;
}

.lp-br-font {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-br-font.is-demo-active {
  border-color: #009fd8;
  box-shadow: 0 0 0 1px rgba(0, 159, 216, 0.25);
}

.lp-br-select {
  display: block;
  padding: 3px 4px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #cbd5e1;
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 600;
  color: #0b1220;
}

.lp-br-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.lp-br-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 4px 4px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: #f8fafc;
  cursor: default;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lp-br-theme.is-active,
.lp-br-theme.is-demo-active {
  border-color: #009fd8;
  background: #e7f5ff;
}

.lp-br-theme.is-demo-pulse {
  transform: scale(1.02);
}

.lp-br-demo .lp-br-theme .theme-mockup {
  --tp-phone-w: 54px;
  margin: 0 auto 2px;
  box-shadow:
    0 0 0 1.5px #1a1a1a,
    0 4px 10px rgba(0, 0, 0, 0.14);
}

.lp-br-theme-name {
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.lp-br-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 0 4px;
}

.lp-br-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-br-btn--primary {
  background: #009fd8;
  color: #fff;
}

.lp-br-btn--secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.lp-br-btn.is-demo-active {
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0, 159, 216, 0.28);
}

.lp-br-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  height: 100%;
}

.lp-br-preview-label {
  margin-bottom: 4px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-br-phone {
  width: min(100%, 100px);
  padding: 3px;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}

.lp-br-phone.is-demo-update {
  transform: scale(1.02);
}

.lp-br-phone-notch {
  width: 28%;
  height: 3px;
  margin: 0 auto 3px;
  border-radius: 999px;
  background: #2a2a2a;
}

.lp-br-phone-screen {
  position: relative;
  aspect-ratio: 320 / 580;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lp-br-live-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lp-br-live-wrap.is-active {
  opacity: 1;
}

.lp-br-demo .lp-br-live {
  width: 100%;
  height: 100%;
  overflow: hidden auto;
  scrollbar-width: thin;
  font-family: var(--tp-font, 'Montserrat', sans-serif);
  font-size: clamp(4.5px, 0.48vw, 6px);
  line-height: 1.35;
  color: #334155;
  background: #fff;
}

.lp-br-live-photo {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
}

/* Stockholm live */
.lp-br-live--stockholm {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.lp-br-live--stockholm .lp-br-live-header {
  padding: 10% 10% 8%;
  text-align: center;
  background: linear-gradient(135deg, var(--tp-primary, #009fd8), var(--tp-secondary, #454545));
}

.lp-br-live--stockholm .lp-br-live-avatar {
  width: 34%;
  margin: 0 auto 5%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lp-br-live--stockholm .lp-br-live-name {
  font-size: clamp(6.5px, 0.68vw, 8px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.lp-br-live-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 3px;
}

.lp-br-live-meta span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.lp-br-live-meta em {
  font-style: normal;
  color: var(--tp-primary, #009fd8);
  font-weight: 700;
}

.lp-br-live--stockholm .lp-br-live-meta em {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.lp-br-live-meta--light em {
  color: rgba(255, 255, 255, 0.95);
}

.lp-br-live-body {
  flex: 1;
  padding: 6% 8% 8%;
  background: #fff;
}

.lp-br-live-cta {
  display: block;
  width: 100%;
  margin-bottom: 5%;
  padding: 4% 6%;
  border-radius: 999px;
  background: var(--tp-primary, #009fd8);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: clamp(4.8px, 0.5vw, 6.2px);
}

.lp-br-live-cta--outline {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.lp-br-live-section strong {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(4.5px, 0.48vw, 5.8px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tp-primary, #009fd8);
}

.lp-br-live-section p {
  margin: 0;
  font-size: clamp(4.2px, 0.45vw, 5.5px);
  line-height: 1.4;
  color: #64748b;
}

.lp-br-live-section--light strong {
  color: rgba(255, 255, 255, 0.95);
}

.lp-br-live-section--light p {
  color: rgba(255, 255, 255, 0.82);
}

.lp-br-live-section--on-dark strong {
  color: #fff;
}

.lp-br-live-section--on-dark p {
  color: rgba(255, 255, 255, 0.82);
}

/* Quito live */
.lp-br-live--quito,
.lp-br-live-quito {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8% 8% 10%;
  background: linear-gradient(180deg, var(--tp-primary, #009fd8), var(--tp-secondary, #454545));
  text-align: center;
}

.lp-br-live-halo {
  width: 44%;
  padding: 5%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--tp-primary, #009fd8), var(--tp-secondary, #454545));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.lp-br-live-halo-inner {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.lp-br-live--quito .lp-br-live-name {
  margin-top: 5%;
  font-size: clamp(6.5px, 0.68vw, 8px);
  font-weight: 800;
  color: #fff;
}

.lp-br-live--quito .lp-br-live-meta--light span,
.lp-br-live--quito .lp-br-live-meta--light em {
  color: rgba(255, 255, 255, 0.92);
}

/* Jakarta / modern live */
.lp-br-live--modern {
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
  min-height: 100%;
}

.lp-br-live-banner {
  height: 14%;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--tp-primary, #009fd8), color-mix(in srgb, var(--tp-primary, #009fd8) 72%, #000));
}

.lp-br-live-bizcard {
  display: flex;
  width: 84%;
  height: 22%;
  margin: -7% auto 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.lp-br-live-bizphoto {
  width: 40%;
  background: #c8c8c8;
  overflow: hidden;
}

.lp-br-live-bizinfo {
  flex: 1;
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(135deg, var(--tp-primary, #009fd8), var(--tp-secondary, #454545));
  text-align: left;
}

.lp-br-live-bizinfo .lp-br-live-name {
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.lp-br-live-bizinfo span,
.lp-br-live-bizinfo em {
  font-size: clamp(4.2px, 0.45vw, 5.5px);
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}

/* Ottawa / classic live */
.lp-br-live--classic {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--tp-secondary, #454545);
}

.lp-br-live-classic-photo {
  position: relative;
  height: 54%;
  flex-shrink: 0;
  overflow: hidden;
}

.lp-br-live-classic-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--tp-secondary, #454545), transparent);
}

.lp-br-live-classic-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  padding: 0 8%;
  text-align: left;
  z-index: 1;
}

.lp-br-live-role {
  display: block;
  color: var(--tp-primary, #009fd8);
  font-weight: 600;
  font-size: clamp(4.5px, 0.48vw, 5.8px);
}

.lp-br-live-co {
  display: block;
  font-style: normal;
  color: var(--tp-primary, #009fd8);
  font-weight: 700;
  font-size: clamp(4.5px, 0.48vw, 5.8px);
}

.lp-br-live-classic-overlay .lp-br-live-name {
  display: block;
  margin-top: 2px;
  font-size: clamp(7px, 0.72vw, 8.5px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.lp-br-live-classic-lower {
  flex: 1;
  padding: 6% 8% 8%;
}

/* London / corporate live */
.lp-br-live--corporate {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--tp-primary, #009fd8);
}

.lp-br-live-corp-header {
  height: 24%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8% 8% 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--tp-secondary, #454545) 78%, #000) 0%,
    var(--tp-secondary, #454545) 55%,
    color-mix(in srgb, var(--tp-secondary, #454545) 82%, #fff) 100%
  );
}

.lp-br-live-corp-header .lp-br-live-name {
  font-size: clamp(6px, 0.62vw, 7.5px);
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.lp-br-live-corp-avatar {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--tp-primary, #009fd8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 2;
  background: #fff;
}

.lp-br-live-corp-body {
  flex: 1;
  margin-top: 18%;
  padding: 0 8% 8%;
  text-align: center;
}

/* Hanoi / creative live */
.lp-br-live--creative {
  min-height: 100%;
  padding: 8%;
  background: linear-gradient(140deg, color-mix(in srgb, var(--tp-secondary, #454545) 18%, #fff), #f3f3f7);
}

.lp-br-live-creative {
  position: relative;
  min-height: 100%;
}

.lp-br-live-creative-avatar {
  position: absolute;
  top: 0;
  right: -4%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.lp-br-live-name--accent {
  position: relative;
  z-index: 1;
  max-width: 62%;
  font-size: clamp(6.5px, 0.68vw, 8px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--tp-primary, #009fd8);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.lp-br-live--creative .lp-br-live-meta {
  margin-top: 28%;
  text-align: center;
}

.lp-br-live--creative .lp-br-live-meta span,
.lp-br-live--creative .lp-br-live-meta em {
  color: #475569;
}

.lp-br-live--creative .lp-br-live-cta {
  margin-top: 5%;
}

/* Card editor demo */
[data-dash-screen="card-editor"].lp-dash-screen {
  inset: clamp(4px, 0.6vw, 8px);
  overflow: hidden;
}

.lp-ce-demo {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eef2f6;
}

.lp-ce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(5px, 0.7vw, 8px);
  height: 100%;
  min-height: 0;
  padding: clamp(4px, 0.6vw, 6px);
}

.lp-ce-scroll {
  height: 100%;
  min-height: 0;
  overflow: hidden auto;
  scroll-behavior: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.lp-ce-scroll.is-demo-scrolling {
  pointer-events: none;
}

.lp-ce-section {
  margin-bottom: 5px;
  opacity: 0.45;
  transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.lp-ce-section.is-ce-visible {
  opacity: 1;
  transform: none;
}

.lp-ce-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin-bottom: 5px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lp-ce-profile.is-demo-active {
  border-color: #009fd8;
  box-shadow: 0 0 0 1px rgba(0, 159, 216, 0.2);
}

.lp-ce-profile-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
  border: 1px solid #e2e8f0;
}

.lp-ce-profile-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lp-ce-profile-copy strong {
  font-size: clamp(5.5px, 0.58vw, 7px);
  color: #0b1220;
}

.lp-ce-file-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 600;
  color: #334155;
}

.lp-ce-block {
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lp-ce-block.is-demo-active {
  border-color: #009fd8;
  box-shadow: 0 0 0 1px rgba(0, 159, 216, 0.18);
}

.lp-ce-block-head {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.lp-ce-block-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(6px, 0.62vw, 7.5px);
  color: #fff;
  flex-shrink: 0;
}

.lp-ce-block-icon--blue { background: #009fd8; }
.lp-ce-block-icon--green { background: #22c55e; }
.lp-ce-block-icon--red { background: #ef4444; }
.lp-ce-block-icon--purple { background: #8b5cf6; }

.lp-ce-block-title {
  flex: 1;
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b1220;
}

.lp-ce-block-actions {
  display: inline-flex;
  gap: 2px;
}

.lp-ce-block-actions i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #e2e8f0;
}

.lp-ce-block-body {
  padding: 5px 6px 6px;
  background: #f8fafc;
}

.lp-ce-default-note {
  margin-bottom: 4px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #e7f5ff;
  border: 1px solid #bae6fd;
  font-size: clamp(4.8px, 0.5vw, 6px);
  color: #0369a1;
}

.lp-ce-field {
  display: grid;
  grid-template-columns: auto minmax(0, 0.72fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
  padding: 3px 4px;
  margin-bottom: 3px;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-ce-field--area {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) auto;
}

.lp-ce-field.is-demo-active {
  border-color: #009fd8;
  box-shadow: 0 0 0 1px rgba(0, 159, 216, 0.2);
}

.lp-ce-field-grip {
  width: 6px;
  height: 10px;
  border-radius: 1px;
  background: repeating-linear-gradient(
    180deg,
    #cbd5e1 0,
    #cbd5e1 2px,
    transparent 2px,
    transparent 4px
  );
}

.lp-ce-field-label {
  font-size: clamp(4.8px, 0.5vw, 6px);
  font-weight: 700;
  color: #475569;
}

.lp-ce-field-input {
  min-width: 0;
  padding: 2px 4px;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: clamp(4.8px, 0.5vw, 6px);
  color: #0b1220;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-ce-field-input--area {
  white-space: normal;
  line-height: 1.35;
  min-height: 18px;
}

.lp-ce-field-vis {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.lp-ce-add-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 8px 6px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #009fd8;
  font-family: inherit;
  font-size: clamp(5.5px, 0.58vw, 7px);
  font-weight: 700;
  cursor: default;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lp-ce-add-panel.is-demo-active {
  border-color: #009fd8;
  background: #e7f5ff;
  transform: scale(1.01);
}

.lp-ce-add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #009fd8;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.lp-ce-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  height: 100%;
}

.lp-ce-preview-label {
  margin-bottom: 4px;
  font-size: clamp(5px, 0.52vw, 6.5px);
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-ce-phone {
  width: min(100%, 100px);
  padding: 3px;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}

.lp-ce-phone.is-demo-update {
  transform: scale(1.02);
}

.lp-ce-phone-notch {
  width: 28%;
  height: 3px;
  margin: 0 auto 3px;
  border-radius: 999px;
  background: #2a2a2a;
}

.lp-ce-phone-screen {
  position: relative;
  aspect-ratio: 320 / 580;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lp-ce-phone-screen .lp-br-live {
  height: 100%;
}

.lp-ce-demo .lp-br-live {
  width: 100%;
  height: 100%;
  overflow: hidden auto;
  scrollbar-width: thin;
  font-family: var(--tp-font, 'Montserrat', sans-serif);
  font-size: clamp(4.5px, 0.48vw, 6px);
  line-height: 1.35;
  color: #334155;
  background: #fff;
}

.lp-ce-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  margin-top: 5px;
}

.lp-ce-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  border-radius: 3px;
  font-size: clamp(4.8px, 0.5vw, 6px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.lp-ce-action--save {
  grid-column: 1 / -1;
  background: #009fd8;
  border-color: #009fd8;
  color: #fff;
  padding: 4px 6px;
}

.lp-ce-action--save.is-demo-active {
  box-shadow: 0 2px 8px rgba(0, 159, 216, 0.28);
  transform: scale(1.02);
}

.lp-ce-action--danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.lp-ce-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(15, 23, 42, 0.45);
}

.lp-ce-overlay[hidden] {
  display: none;
}

.lp-ce-modal {
  width: min(100%, 92%);
  max-height: 88%;
  overflow: auto;
  padding: 6px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lp-ce-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: clamp(6px, 0.62vw, 7.5px);
  color: #0b1220;
}

.lp-ce-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.lp-ce-modal-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 3px;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: clamp(4.5px, 0.48vw, 5.8px);
  font-weight: 700;
  color: #334155;
  text-align: center;
}

.lp-ce-modal-grid span.is-demo-active {
  border-color: #009fd8;
  background: #e7f5ff;
  color: #007aa8;
}

.lp-ce-modal--confirm {
  text-align: center;
}

.lp-ce-modal--confirm strong {
  display: block;
  margin-bottom: 3px;
  font-size: clamp(6px, 0.62vw, 7.5px);
  color: #0b1220;
}

.lp-ce-modal--confirm p {
  margin: 0 0 5px;
  font-size: clamp(4.8px, 0.5vw, 6px);
  color: #64748b;
}

.lp-ce-modal-actions {
  display: flex;
  justify-content: center;
  gap: 4px;
}

/* Branding screen */
.lp-dash-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.lp-dash-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: default;
  font-size: 8px;
  font-weight: 700;
  color: #334155;
  font-family: inherit;
}

.lp-dash-theme.is-active {
  border-color: #009fd8;
}

.lp-dash-theme-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.lp-dash-colours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-dash-colour {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
}

.lp-dash-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-dash-font {
  font-size: 8px;
  color: #64748b;
}

/* Card editor screen */
.lp-dash-editor {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 8px;
}

.lp-dash-editor-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lp-dash-editor-fields label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 7px;
  font-weight: 700;
  color: #64748b;
}

.lp-dash-input {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 8px;
  color: #0b1220;
  font-weight: 500;
}

.lp-dash-input--area {
  min-height: 28px;
}

.lp-dash-editor-preview {
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lp-dash-mini-profile {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.lp-dash-mini-hero {
  height: 36px;
  background: linear-gradient(135deg, #009fd8, #007aa8);
}

.lp-dash-mini-body {
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 8px;
}

.lp-dash-mini-body strong {
  font-size: 9px;
  color: #0b1220;
}

.lp-dash-mini-co {
  color: #64748b;
  font-size: 7px;
}

/* Card in flight - glow + wiggle at destination; transform driven by JS */
[data-tap-card].lp-card.is-flying:not(.is-resting) {
  animation: none !important;
  margin: 0;
  z-index: 60;
  box-sizing: border-box;
}

[data-tap-card].lp-card.is-flying.is-resting {
  animation: lp-card-glow-pulse 2.8s ease-in-out infinite !important;
  margin: 0;
  z-index: 60;
  box-sizing: border-box;
}

[data-tap-card].lp-card.is-flying.is-resting .lp-card-shine {
  animation: lp-card-shine-sweep 4.5s ease-in-out infinite;
}

@media (min-width: 961px) {
  .lp-dashboard-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
  }

  .lp-dashboard-head {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }

  /* Flatten stage so nav + mockup participate in the parent grid */
  .lp-dashboard-stage {
    display: contents;
  }

  .lp-dashboard-nav {
    grid-column: 1;
    grid-row: 2;
  }

  .lp-dashboard-mockup {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .lp-dashboard-pills-row {
    justify-content: flex-start;
  }

  .lp-dashboard-copy-row {
    margin: 0;
    max-width: none;
    padding: 0;
  }

  .lp-card-landing[data-active] {
    margin-left: 0;
    margin-right: auto;
  }

  .lp-dashboard-showcase .lp-tablet {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 960px) {
  .lp-dashboard-showcase .lp-tablet {
    height: auto;
    display: block;
  }

  .lp-dashboard-showcase .lp-tablet-bezel {
    display: block;
  }

  .lp-dashboard-showcase .lp-tablet-screen {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .lp-card-landing {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .lp-dashboard-pills-row,
  .lp-dashboard-copy-row {
    display: none;
  }

  .lp-dashboard-accordion {
    display: flex;
  }
}

@media (max-width: 640px) {
  .lp-dashboard-showcase {
    padding-top: 32px;
  }

  .lp-dash-editor {
    grid-template-columns: 1fr;
  }

  .lp-dash-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-dash-screen {
    transition: none;
  }

  .lp-card-landing [data-tap-card].lp-card.is-resting {
    animation: none;
    transform: rotate(-2deg);
  }

  .lp-card-landing [data-tap-card].lp-card.is-resting .lp-card-shine {
    animation: none;
  }

  [data-tap-card].lp-card.is-flying.is-resting {
    animation: none !important;
  }

  [data-tap-card].lp-card.is-flying.is-resting .lp-card-shine {
    animation: none;
  }

  .lp-cb-stat,
  .lp-cb-btn,
  .lp-cb-action,
  .lp-cb-search-input,
  .lp-cb-field textarea,
  .lp-an-section,
  .lp-an-bars span,
  .lp-an-line-path,
  .lp-an-line-area,
  .lp-an-donut-seg,
  .lp-an-bar i,
  .lp-an-geo-dot,
  .lp-an-activity li,
  .lp-an-range-fill {
    transition: none;
  }

  .lp-br-section {
    transition: none;
  }

  .lp-br-live-wrap {
    transition: none;
  }

  .lp-br-theme,
  .lp-br-colour,
  .lp-br-font,
  .lp-br-btn,
  .lp-br-phone {
    transition: none;
  }

  .lp-ce-section {
    transition: none;
  }

  .lp-ce-field,
  .lp-ce-block,
  .lp-ce-add-panel,
  .lp-ce-action--save,
  .lp-ce-phone {
    transition: none;
  }
}
