/**
 * ==============================================================================
 * WAGOPAYROLL — LANDING PAGE TABLER THEME STYLESHEET
 * File: landing.css
 * Reference: Tabler UI & Internal WagoPayroll App (/company/:id)
 * ==============================================================================
 */

:root {
  /* --- Tabler Brand & Palette Colors --- */
  --tblr-primary: #206bc4;
  --tblr-primary-rgb: 32, 107, 196;
  --tblr-primary-fg: #ffffff;
  --tblr-primary-hover: #1a569d;
  --tblr-primary-soft: rgba(32, 107, 196, 0.08);

  --tblr-secondary: #64748b;
  --tblr-secondary-rgb: 100, 116, 139;

  --tblr-success: #2fb344;
  --tblr-success-rgb: 47, 179, 68;
  --tblr-success-soft: rgba(47, 179, 68, 0.12);

  --tblr-warning: #f59f00;
  --tblr-warning-rgb: 245, 159, 0;
  --tblr-warning-soft: rgba(245, 159, 0, 0.12);

  --tblr-danger: #d63939;
  --tblr-danger-rgb: 214, 57, 57;
  --tblr-danger-soft: rgba(214, 57, 57, 0.12);

  --tblr-info: #4299e1;
  --tblr-info-rgb: 66, 153, 225;
  --tblr-info-soft: rgba(66, 153, 225, 0.12);

  --tblr-purple: #ae3ec9;
  --tblr-purple-rgb: 174, 62, 201;
  --tblr-purple-soft: rgba(174, 62, 201, 0.12);

  --tblr-teal: #0ca678;
  --tblr-teal-rgb: 12, 166, 120;
  --tblr-teal-soft: rgba(12, 166, 120, 0.12);

  /* --- Neutral & Surface Colors --- */
  --tblr-body-bg: #f8fafc;
  --tblr-surface: #ffffff;
  --tblr-surface-subtle: #f8fafc;
  --tblr-surface-hover: #f1f5f9;

  --tblr-border-color: #e6e8eb;
  --tblr-border-subtle: #f1f3f5;
  --tblr-border-strong: #d8dee4;

  --tblr-text-main: #0f172a;
  --tblr-text-body: #1e293b;
  --tblr-text-secondary: #64748b;
  --tblr-text-muted: #94a3b8;

  /* --- Typography --- */
  --tblr-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --tblr-font-display: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Border Radius --- */
  --tblr-radius-xs: 3px;
  --tblr-radius-sm: 4px;
  --tblr-radius-md: 6px;
  --tblr-radius-lg: 8px;
  --tblr-radius-xl: 12px;
  --tblr-radius-pill: 50rem;

  /* --- Shadows --- */
  --tblr-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --tblr-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --tblr-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --tblr-shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);

  /* --- Landing Page Mapping --- */
  --lp-bg: var(--tblr-body-bg);
  --lp-surface: var(--tblr-surface);
  --lp-surface-2: var(--tblr-surface-hover);
  --lp-border: var(--tblr-border-color);
  --lp-text: var(--tblr-text-body);
  --lp-heading: var(--tblr-text-main);
  --lp-muted: var(--tblr-text-secondary);
  --lp-primary: var(--tblr-primary);
  --lp-primary-600: var(--tblr-primary-hover);
  --lp-primary-soft: var(--tblr-primary-soft);
  --lp-accent: var(--tblr-success);
  --lp-accent-600: #269438;
  --lp-navy: #0f172a;
  --lp-navy-2: #1e293b;
  --lp-radius: 8px;
  --lp-radius-sm: 6px;
  --lp-shadow: var(--tblr-shadow-sm);
  --lp-shadow-lg: var(--tblr-shadow-lg);
  --lp-wrap: 1200px;
  --lp-nav-h: 60px;
  --lp-gutter: 20px;
  --lp-safe-top: env(safe-area-inset-top, 0px);
  --lp-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lp-nav-h) + var(--lp-safe-top) + 16px);
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body.lp-body {
  margin: 0;
  font-family: var(--tblr-font-sans);
  background-color: var(--tblr-body-bg);
  color: var(--tblr-text-body);
  line-height: 1.55;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body.lp-nav-lock {
  overflow: hidden;
  height: 100dvh;
}

img { max-width: 100%; display: block; }
a { color: var(--tblr-primary); text-decoration: none; }
a:hover { color: var(--tblr-primary-hover); }
button { font-family: inherit; }

.lp-wrap {
  width: 100%;
  max-width: var(--lp-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lp-gutter);
  padding-right: var(--lp-gutter);
  box-sizing: border-box;
}

.lp-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--tblr-border-color);
  border-top: 0;
  border-radius: 0 0 var(--tblr-radius-md) var(--tblr-radius-md);
  background: #ffffff;
  margin-bottom: 4px;
}

.lp-table-responsive .lp-mock-table,
.lp-table-responsive .lp-grid-table {
  border: none;
  margin: 0;
}

.lp-amt-short { display: none; }

/* ==============================================================================
 * TABLER SOFT BADGES (LIGHT BADGES / .tblr-badge-lt)
 * ============================================================================== */
.tblr-badge,
.tblr-badge-lt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--tblr-font-sans);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  vertical-align: middle;
  text-decoration: none;
  font-feature-settings: "tnum";
  letter-spacing: 0.25px;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
}

.tblr-badge-pill {
  border-radius: var(--tblr-radius-pill);
  padding: 5px 10px;
}

.tblr-badge-lt-primary {
  background-color: var(--tblr-primary-soft) !important;
  color: var(--tblr-primary) !important;
  border-color: rgba(var(--tblr-primary-rgb), 0.16) !important;
}

.tblr-badge-lt-success {
  background-color: var(--tblr-success-soft) !important;
  color: var(--tblr-success) !important;
  border-color: rgba(var(--tblr-success-rgb), 0.2) !important;
}

.tblr-badge-lt-warning {
  background-color: var(--tblr-warning-soft) !important;
  color: #b45309 !important;
  border-color: rgba(var(--tblr-warning-rgb), 0.24) !important;
}

.tblr-badge-lt-danger {
  background-color: var(--tblr-danger-soft) !important;
  color: var(--tblr-danger) !important;
  border-color: rgba(var(--tblr-danger-rgb), 0.2) !important;
}

.tblr-badge-lt-info {
  background-color: var(--tblr-info-soft) !important;
  color: #0284c7 !important;
  border-color: rgba(var(--tblr-info-rgb), 0.2) !important;
}

.tblr-badge-lt-purple {
  background-color: var(--tblr-purple-soft) !important;
  color: var(--tblr-purple) !important;
  border-color: rgba(var(--tblr-purple-rgb), 0.2) !important;
}

.tblr-badge-lt-teal {
  background-color: var(--tblr-teal-soft) !important;
  color: var(--tblr-teal) !important;
  border-color: rgba(var(--tblr-teal-rgb), 0.2) !important;
}

.tblr-badge-lt-secondary {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}

/* ==============================================================================
 * TABLER BUTTONS (.tblr-btn)
 * ============================================================================== */
.tblr-btn,
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--tblr-font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--tblr-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  vertical-align: middle;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  outline: none;
  box-shadow: var(--tblr-shadow-xs);
}

.tblr-btn:hover,
.lp-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.tblr-btn:active,
.lp-btn:active {
  transform: translateY(0);
}

.tblr-btn-primary,
.lp-btn-primary {
  background-color: var(--tblr-primary) !important;
  border-color: var(--tblr-primary) !important;
  color: var(--tblr-primary-fg) !important;
  font-weight: 600;
}

.tblr-btn-primary:hover,
.lp-btn-primary:hover {
  background-color: var(--tblr-primary-hover) !important;
  border-color: var(--tblr-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(32, 107, 196, 0.24);
}

.tblr-btn-outline,
.lp-btn-outline,
.lp-btn-ghost {
  background-color: #ffffff !important;
  border-color: var(--tblr-border-strong) !important;
  color: var(--tblr-text-body) !important;
}

.tblr-btn-outline:hover,
.lp-btn-outline:hover,
.lp-btn-ghost:hover {
  background-color: var(--tblr-surface-hover) !important;
  border-color: #cbd5e1 !important;
  color: var(--tblr-text-main) !important;
}

.tblr-btn-outline-primary {
  background-color: #ffffff !important;
  border-color: var(--tblr-primary) !important;
  color: var(--tblr-primary) !important;
}

.tblr-btn-outline-primary:hover {
  background-color: var(--tblr-primary-soft) !important;
  border-color: var(--tblr-primary) !important;
  color: var(--tblr-primary-hover) !important;
}

.tblr-btn-lg,
.lp-btn-lg {
  height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--tblr-radius-md);
}

.tblr-btn-sm,
.lp-btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: var(--tblr-radius-sm);
}

/* ==============================================================================
 * TABLER CARD LAYOUTS
 * ============================================================================== */
.tblr-card,
.lp-card {
  position: relative;
  background-color: var(--tblr-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-lg);
  box-shadow: var(--tblr-shadow-sm);
  display: flex;
  flex-direction: column;
}

.tblr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--tblr-surface);
  border-bottom: 1px solid var(--tblr-border-color);
  gap: 12px;
}

.tblr-card-body {
  padding: 18px;
  flex: 1 1 auto;
}

.tblr-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background-color: var(--tblr-surface-subtle);
  border-top: 1px solid var(--tblr-border-color);
  font-size: 12.5px;
  color: var(--tblr-text-secondary);
}

/* ==============================================================================
 * HEADER / NAVBAR (Tabler Shell Topbar Aesthetic)
 * ============================================================================== */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--lp-nav-h) + var(--lp-safe-top));
  padding-top: var(--lp-safe-top);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tblr-border-color);
  transition: box-shadow 0.2s ease;
}

.lp-nav.is-scrolled {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.lp-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--tblr-text-main);
  font-family: var(--tblr-font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.lp-brand-img {
  width: 28px;
  height: 28px;
  border-radius: var(--tblr-radius-sm);
  object-fit: contain;
}

.lp-brand-badge {
  font-size: 10px;
  padding: 5px !important;
  border-radius: 5px !important;
  text-transform: uppercase;
  font-weight: 700;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-nav-links a:not(.tblr-btn):not(.lp-btn) {
  padding: 6px 12px;
  border-radius: var(--tblr-radius-md);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tblr-text-secondary);
  transition: all 0.15s ease;
}

.lp-nav-links a:not(.tblr-btn):not(.lp-btn):hover,
.lp-nav-links a:not(.tblr-btn):not(.lp-btn).is-active {
  color: var(--tblr-text-main);
  background-color: var(--tblr-surface-hover);
}

.lp-nav-links .lp-btn-nav {
  margin-left: 6px;
}

.lp-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tblr-border-strong);
  border-radius: var(--tblr-radius-md);
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.lp-nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--tblr-text-main);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.lp-nav.is-open .lp-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav.is-open .lp-nav-toggle span:nth-child(2) { opacity: 0; }
.lp-nav.is-open .lp-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lp-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.48);
  border: 0;
  padding: 0;
}

.lp-nav.is-open + .lp-nav-backdrop,
body.lp-nav-lock .lp-nav-backdrop {
  display: block;
}

/* ==============================================================================
 * SECTION HEADINGS & KICKERS (Tabler Pretitle + Title Pattern)
 * ============================================================================== */
.lp-section {
  padding: 72px 0;
}

.lp-section--tint {
  background-color: #ffffff;
  border-top: 1px solid var(--tblr-border-color);
  border-bottom: 1px solid var(--tblr-border-color);
}

.lp-head {
  margin-bottom: 36px;
}

.lp-head--center {
  text-align: center;
}

.lp-head--center .lp-lead {
  margin-left: auto;
  margin-right: auto;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.lp-kicker-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px;
  border-radius: 5px;
}

.lp-h2 {
  margin: 0 0 10px;
  font-family: var(--tblr-font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--tblr-text-main);
}

.lp-lead {
  margin: 0;
  max-width: 620px;
  font-size: 15.5px;
  color: var(--tblr-text-secondary);
  line-height: 1.6;
}

/* ==============================================================================
 * HERO SECTION
 * ============================================================================== */
.lp-hero {
  padding: 40px 0 32px;
  position: relative;
  background: radial-gradient(ellipse 70% 40% at 50% -10%, rgba(32, 107, 196, 0.07), transparent 70%);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 36px;
  align-items: start;
  min-width: 0;
}

.lp-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  padding-top: 0;
  min-width: 0;
  max-width: 100%;
}

.lp-hero-mockup {
  min-width: 0;
  max-width: 100%;
}


.lp-hero h1 {
  margin: 0 0 16px;
  font-family: var(--tblr-font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--tblr-text-main);
}

.lp-hero h1 em {
  font-style: normal;
  color: var(--tblr-primary);
  display: inline;
}

.lp-hero-copy {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--tblr-text-secondary);
  max-width: 540px;
}

.lp-hero-copy strong {
  color: var(--tblr-text-main);
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tblr-text-secondary);
}

.lp-micro span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.lp-store {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--tblr-radius-md);
  background: var(--tblr-text-main);
  border: 1px solid #1e293b;
  color: #ffffff;
  text-decoration: none;
  min-width: 154px;
  transition: all 0.15s ease;
}

.lp-store-btn:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

.lp-store-btn svg { flex: none; }

.lp-store-btn small {
  display: block;
  font-size: 9.5px;
  opacity: 0.75;
  line-height: 1.2;
}

.lp-store-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* ==============================================================================
 * AUTHENTIC TABLER HERO MOCKUP (/company/:id DASHBOARD STYLES)
 * ============================================================================== */
.lp-mock {
  background-color: var(--tblr-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-lg);
  box-shadow: var(--tblr-shadow-lg);
  overflow: hidden;
  position: relative;
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background-color: var(--tblr-surface-subtle);
  border-bottom: 1px solid var(--tblr-border-color);
  font-size: 12px;
}

.lp-mock-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.lp-mock-dot:nth-child(1) { background-color: #f87171; }
.lp-mock-dot:nth-child(2) { background-color: #fbbf24; }
.lp-mock-dot:nth-child(3) { background-color: #34d399; }

.lp-mock-url-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--tblr-radius-sm);
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  font-size: 11px;
  color: var(--tblr-text-secondary);
  font-family: var(--tblr-font-sans);
  min-width: 0;
  max-width: 260px;
}

.lp-mock-url-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-mock-url-chip i { font-size: 11px; color: var(--tblr-success); flex-shrink: 0; }

/* Internal Dashboard Simulation */
.lp-dash-body {
  padding: 14px;
  background-color: var(--tblr-body-bg);
  min-width: 0;
}

.lp-dash-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--tblr-border-color);
  min-width: 0;
}

.lp-dash-company {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lp-dash-company-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--tblr-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-dash-company-badge {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background-color: var(--tblr-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}

.lp-dash-company-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--tblr-text-main);
}

.lp-dash-date-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--tblr-border-strong);
  border-radius: var(--tblr-radius-md);
  background: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--tblr-text-body);
}

.lp-dash-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--tblr-border-color);
  padding-bottom: 2px;
}

.lp-dash-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tblr-text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: default;
}

.lp-dash-tab.is-active {
  color: var(--tblr-primary);
  border-bottom-color: var(--tblr-primary);
  font-weight: 600;
}

/* KPI Summary Stat Cards (Section 1.12 standard) */
.lp-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.lp-dash-kpi {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 10px 12px;
  box-shadow: var(--tblr-shadow-xs);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-dash-kpi-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--tblr-radius-md);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.lp-dash-kpi-avatar--blue {
  background-color: var(--tblr-primary-soft);
  color: var(--tblr-primary);
}

.lp-dash-kpi-avatar--green {
  background-color: var(--tblr-success-soft);
  color: var(--tblr-success);
}

.lp-dash-kpi-avatar--purple {
  background-color: var(--tblr-purple-soft);
  color: var(--tblr-purple);
}

.lp-dash-kpi-content {
  min-width: 0;
  flex: 1;
}

.lp-dash-kpi-title {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tblr-text-secondary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-dash-kpi-value {
  font-family: var(--tblr-font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
  line-height: 1.15;
  font-feature-settings: "tnum";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-dash-kpi-sub {
  font-size: 10px;
  color: var(--tblr-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Charts Card Inside Mockup */
.lp-dash-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lp-dash-card {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 12px 14px;
  box-shadow: var(--tblr-shadow-xs);
}

.lp-sal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lp-sal-row--top {
  margin-bottom: 8px;
}

.lp-sal-card h4,
.lp-dash-card h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--tblr-text-main);
}

.lp-sal-hint {
  font-size: 10px;
  color: var(--tblr-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-sal-row--tools {
  margin-bottom: 8px;
}

.lp-sal-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 10.5px;
  color: var(--tblr-text-secondary);
}

.lp-sal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lp-sal-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.lp-sal-legend .is-navy i { background-color: var(--tblr-primary); }
.lp-sal-legend .is-amber i { background-color: var(--tblr-warning); }
.lp-sal-legend .is-rose i { background-color: var(--tblr-danger); }
.lp-sal-legend .is-green i { background-color: var(--tblr-success); }

.lp-sal-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-sm);
  background: var(--tblr-surface-subtle);
  font-size: 10px;
  font-weight: 500;
  color: var(--tblr-text-body);
}

.lp-sal-chart {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px;
  align-items: stretch;
}

.lp-sal-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 175px;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--tblr-text-muted);
  text-align: left;
  font-feature-settings: "tnum";
  padding: 5px 0 7px 0;
  line-height: 1;
}

.lp-sal-plot {
  min-width: 0;
}

.lp-dash-line {
  height: 175px;
  width: 100%;
  display: block;
}

.lp-sal-x {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 0;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--tblr-text-secondary);
  font-feature-settings: "tnum";
}

/* Donut Structure Card */
.lp-dash-donut-wrap {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.lp-dash-donut {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(
    #2fb344 0 64%,
    #206bc4 64% 68%,
    #0f172a 68% 69%,
    #ae3ec9 69% 82%,
    #f59f00 82% 100%
  );
}

.lp-dash-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #ffffff;
}

.lp-dash-donut-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.lp-dash-donut-center span {
  font-size: 8px;
  font-weight: 600;
  color: var(--tblr-text-muted);
  text-transform: uppercase;
}

.lp-dash-donut-center b {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
  letter-spacing: -0.02em;
}

.lp-dash-dl {
  display: grid;
  gap: 4px;
}

.lp-dash-dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--tblr-text-secondary);
}

.lp-dash-dl b {
  font-weight: 600;
  color: var(--tblr-text-main);
  font-feature-settings: "tnum";
  white-space: nowrap;
  text-align: right;
}

.lp-dash-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: 0;
}

/* ==============================================================================
 * METRICS SUMMARY CARDS BAR (Below Hero)
 * ============================================================================== */
.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 0 8px;
}

.lp-metric {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 16px 18px;
  box-shadow: var(--tblr-shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--tblr-shadow-md);
}

.lp-metric-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--tblr-radius-md);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.lp-metric b {
  display: block;
  font-family: var(--tblr-font-display);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--tblr-primary);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

.lp-metric span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--tblr-text-secondary);
  line-height: 1.4;
  font-weight: 500;
}

/* ==============================================================================
 * PAIN POINTS SECTION (#noi-dau)
 * ============================================================================== */
.lp-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-pain {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 22px;
  box-shadow: var(--tblr-shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-pain:hover {
  transform: translateY(-2px);
  box-shadow: var(--tblr-shadow-md);
}

.lp-pain-badge {
  display: inline-flex;
  margin-bottom: 12px;
}

.lp-pain-badge .tblr-badge,
.lp-pain-badge .tblr-badge-lt,
.lp-pain-badge span {
  padding: 5px !important;
  border-radius: 5px !important;
  font-size: 11.5px;
}

.lp-pain h3 {
  margin: 0 0 10px;
  font-family: var(--tblr-font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
  line-height: 1.35;
}

.lp-pain p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--tblr-text-body);
  line-height: 1.55;
}

.lp-pain p:last-child { margin-bottom: 0; }

.lp-pain-effect {
  padding: 8px 12px;
  border-radius: 5px;
  background-color: var(--tblr-danger-soft);
  border: 1px solid rgba(214, 57, 57, 0.16);
  color: #991b1b !important;
  font-size: 12.5px !important;
  font-weight: 500;
  line-height: 1.45;
}

/* ==============================================================================
 * SHOWCASE TABS & LIVE PRODUCT MOCKS (#showcase)
 * ============================================================================== */
.lp-showcase {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lp-tabs {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lp-tab {
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--tblr-radius-md);
  border: 1px solid var(--tblr-border-color);
  background: #ffffff;
  cursor: pointer;
  color: var(--tblr-text-main);
  transition: all 0.15s ease;
  outline: none;
}

.lp-tab:hover {
  background-color: var(--tblr-surface-hover);
  border-color: var(--tblr-border-strong);
}

.lp-tab.is-active {
  background-color: var(--tblr-primary-soft);
  border-color: var(--tblr-primary);
  box-shadow: 0 0 0 1px var(--tblr-primary);
}

.lp-tab strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tblr-text-main);
}

.lp-tab.is-active strong {
  color: var(--tblr-primary);
}

.lp-tab span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--tblr-text-secondary);
}

.lp-panels-wrap {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.lp-panel {
  display: none;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.lp-panel.is-active {
  display: block;
  animation: lp-rise 0.25s ease;
}

.lp-mock-body {
  padding: 14px;
  background-color: #ffffff;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Panel 1: Nhân Sự Mock */
.lp-mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md) var(--tblr-radius-md) 0 0;
  gap: 8px;
}

.lp-mock-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--tblr-border-strong);
  border-radius: var(--tblr-radius-sm);
  background: #ffffff;
  font-size: 12px;
  color: var(--tblr-text-muted);
  width: 220px;
}

.lp-mock-chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--tblr-surface-subtle);
  border: 1px solid var(--tblr-border-color);
  border-top: 0;
  font-size: 11.5px;
  color: var(--tblr-text-secondary);
}

.lp-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  border: 1px solid var(--tblr-border-color);
  border-top: 0;
}

.lp-mock-table thead th {
  background-color: var(--tblr-surface-subtle);
  color: var(--tblr-text-secondary);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--tblr-border-color);
  text-align: left;
}

.lp-mock-table tbody tr {
  height: 52px;
  border-bottom: 1px solid var(--tblr-border-subtle);
  transition: background-color 0.1s ease;
}

.lp-mock-table tbody tr:hover {
  background-color: var(--tblr-surface-hover);
}

.lp-mock-table tbody tr:last-child {
  border-bottom: 0;
}

.lp-mock-table td {
  padding: 8px 12px;
  vertical-align: middle;
}

.lp-mock-user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-mock-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--tblr-radius-sm);
  background-color: var(--tblr-primary-soft);
  color: var(--tblr-primary);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.lp-mock-user-name {
  font-weight: 600;
  color: var(--tblr-text-main);
  line-height: 1.25;
}

.lp-mock-user-sub {
  font-size: 11px;
  color: var(--tblr-text-muted);
}

/* Insight Callout Box */
.lp-insight-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--tblr-radius-md);
  background: var(--tblr-surface-subtle);
  border: 1px solid var(--tblr-border-color);
  border-left: 3px solid var(--tblr-primary);
}

.lp-insight-box strong {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--tblr-text-main);
  font-size: 12.5px;
  font-weight: 600;
}

.lp-insight-box strong i { color: var(--tblr-primary); }

.lp-insight-box p {
  margin: 0;
  color: var(--tblr-text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

/* Panel 2: Lịch Ca Work Schedule Grid */
.lp-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border: 1px solid var(--tblr-border-color);
}

.lp-grid-table thead th {
  background-color: var(--tblr-surface-subtle);
  color: var(--tblr-text-secondary);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 8px 4px;
  border-bottom: 1px solid var(--tblr-border-color);
  border-right: 1px solid var(--tblr-border-subtle);
}

.lp-grid-table td {
  text-align: center;
  padding: 8px 4px;
  border-bottom: 1px solid var(--tblr-border-subtle);
  border-right: 1px solid var(--tblr-border-subtle);
  font-weight: 600;
  color: var(--tblr-text-body);
}

.lp-grid-table td.name {
  text-align: left;
  padding-left: 12px;
  font-weight: 600;
  color: var(--tblr-text-main);
}

/* Panel 3: Bảng Chấm Công Ma Trận Chi Tiết (Timesheet Grid) */
.lp-ts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tblr-border-color);
}

.lp-ts-pretitle {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tblr-text-secondary);
}

.lp-ts-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--tblr-text-main);
  margin-top: 2px;
}

.lp-ts-kpis {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-ts-kpis span {
  display: flex;
  flex-direction: column;
  padding: 3px 8px;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-sm);
  background: var(--tblr-surface-subtle);
  font-size: 10px;
  color: var(--tblr-text-secondary);
}

.lp-ts-kpis span b {
  font-size: 12px;
  font-weight: 700;
  color: var(--tblr-text-main);
  font-feature-settings: "tnum";
}

.lp-ts-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--tblr-text-secondary);
}

.lp-ts-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lp-ts-legend span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.lp-ts-legend .is-full::before { background-color: var(--tblr-success); }
.lp-ts-legend .is-half::before { background-color: var(--tblr-warning); }
.lp-ts-legend .is-absent::before { background-color: var(--tblr-danger); }
.lp-ts-legend .is-off::before { background-color: #cbd5e1; }

.lp-ts-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  background: #ffffff;
  box-sizing: border-box;
}

.lp-ts-grid {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 11.5px;
}

.lp-ts-grid thead th {
  background-color: var(--tblr-surface-subtle);
  color: var(--tblr-text-secondary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 4px;
  border-bottom: 1px solid var(--tblr-border-color);
  border-right: 1px solid var(--tblr-border-subtle);
  text-align: center;
}

.lp-ts-grid thead th:not(.lp-ts-name):not(.lp-ts-total),
.lp-ts-grid tbody td:not(.lp-ts-name):not(.lp-ts-total) {
  min-width: 78px;
}

.lp-ts-grid th.lp-ts-name,
.lp-ts-grid td.lp-ts-name {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 156px;
  min-width: 156px;
  text-align: left;
  background-color: #ffffff;
  padding-left: 10px;
  border-right: 1px solid var(--tblr-border-color);
}

.lp-ts-grid thead th.lp-ts-name {
  background-color: var(--tblr-surface-subtle);
}

.lp-ts-grid th.lp-ts-total,
.lp-ts-grid td.lp-ts-total {
  width: 52px;
  min-width: 52px;
  text-align: center;
  background-color: var(--tblr-surface-subtle);
  font-weight: 700;
  color: var(--tblr-primary);
  font-feature-settings: "tnum";
  border-right: 1px solid var(--tblr-border-color);
}

.lp-ts-grid td {
  height: 58px;
  padding: 3px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--tblr-border-subtle);
  border-right: 1px solid var(--tblr-border-subtle);
}

.lp-ts-grid td.is-weekend,
.lp-ts-grid th.is-weekend {
  background-color: rgba(214, 57, 57, 0.03);
}

.lp-ts-grid th.is-weekend .lp-ts-dow,
.lp-ts-grid th.is-weekend .lp-ts-date {
  color: var(--tblr-danger);
}

.lp-ts-dow {
  display: block;
  font-size: 9px;
  color: var(--tblr-text-muted);
}

.lp-ts-date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tblr-text-main);
  font-feature-settings: "tnum";
}

/* Slots Inside Matrix */
.lp-ts-slot {
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2px 4px;
  border-radius: var(--tblr-radius-sm);
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  font-size: 10px;
  box-sizing: border-box;
}

.lp-ts-slot.is-full {
  background-color: var(--tblr-success-soft);
  border-color: rgba(47, 179, 68, 0.25);
  border-left: 3px solid var(--tblr-success);
}

.lp-ts-slot.is-half {
  background-color: var(--tblr-warning-soft);
  border-color: rgba(245, 159, 0, 0.25);
  border-left: 3px solid var(--tblr-warning);
}

.lp-ts-slot.is-absent {
  background-color: var(--tblr-danger-soft);
  border-color: rgba(214, 57, 57, 0.25);
  border-left: 3px solid var(--tblr-danger);
}

.lp-ts-slot.is-hour {
  background-color: var(--tblr-primary-soft);
  border-color: rgba(32, 107, 196, 0.25);
  border-left: 3px solid var(--tblr-primary);
}

.lp-ts-slot.is-empty {
  background: transparent;
  border-color: transparent;
  color: var(--tblr-text-muted);
}

.lp-ts-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.lp-ts-top b {
  font-weight: 700;
  font-feature-settings: "tnum";
}

.lp-ts-time {
  font-size: 9px;
  color: var(--tblr-text-secondary);
  white-space: nowrap;
  line-height: 1.25;
}

.lp-ts-stack {
  height: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-ts-stack .lp-ts-slot {
  height: 23px;
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  text-align: center;
}

.lp-ts-stack .lp-ts-slot .lp-ts-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  text-align: center;
}

/* Panel 5: Phiếu Lương Payroll Mock */
.lp-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--tblr-border-subtle);
  font-size: 13px;
}

.lp-pay-row:last-child {
  border-bottom: 0;
  padding-top: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
}

.lp-pay-ok { color: var(--tblr-success); font-weight: 600; font-feature-settings: "tnum"; }
.lp-pay-neg { color: var(--tblr-danger); font-weight: 600; font-feature-settings: "tnum"; }

/* ==============================================================================
 * FORMULA / LEGAL COMPLIANCE (#chuan-luat)
 * ============================================================================== */
.lp-formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-formula {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 22px;
  box-shadow: var(--tblr-shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-formula:hover {
  transform: translateY(-2px);
  box-shadow: var(--tblr-shadow-md);
}

.lp-formula-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--tblr-radius-md);
  background: var(--tblr-primary-soft);
  color: var(--tblr-primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.lp-formula h3 {
  margin: 0 0 10px;
  font-family: var(--tblr-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--tblr-text-main);
  line-height: 1.35;
}

.lp-formula p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--tblr-text-secondary);
  line-height: 1.55;
}

.lp-formula p:last-child { margin-bottom: 0; }

.lp-formula code {
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  background-color: var(--tblr-primary-soft);
  color: var(--tblr-primary);
  border: 1px solid rgba(32, 107, 196, 0.15);
  padding: 1px 6px;
  border-radius: var(--tblr-radius-sm);
}

/* ==============================================================================
 * TIMELINE SECTION (#mot-ngay)
 * ============================================================================== */
.lp-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-time {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 20px;
  box-shadow: var(--tblr-shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-time:hover {
  transform: translateY(-2px);
  box-shadow: var(--tblr-shadow-md);
}

.lp-time-clock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.lp-time-clock .tblr-badge,
.lp-time-clock .tblr-badge-lt,
.lp-time-clock span {
  padding: 5px !important;
  border-radius: 5px !important;
  font-size: 11.5px;
}

.lp-time h3 {
  margin: 0 0 8px;
  font-family: var(--tblr-font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
  line-height: 1.35;
}

.lp-time p {
  margin: 0;
  font-size: 13px;
  color: var(--tblr-text-secondary);
  line-height: 1.55;
}

/* ==============================================================================
 * PLATFORM SPLIT (#nen-tang)
 * ============================================================================== */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lp-split-card {
  padding: 28px;
  border-radius: var(--tblr-radius-lg);
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  box-shadow: var(--tblr-shadow-xs);
}

.lp-split-card.is-dark {
  background: #0f172a;
  color: #f1f5f9;
  border-color: #1e293b;
}

.lp-split-card.is-dark h3 { color: #ffffff; }
.lp-split-card.is-dark p { color: #94a3b8; }

.lp-split-card h3 {
  margin: 0 0 6px;
  font-family: var(--tblr-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tblr-text-main);
}

.lp-split-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--tblr-text-secondary);
}

.lp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  color: var(--tblr-text-body);
}

.lp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--tblr-primary);
  font-weight: 700;
}

.lp-split-card.is-dark .lp-list li {
  color: #cbd5e1;
}

.lp-split-card.is-dark .lp-list li::before {
  color: var(--tblr-success);
}

/* ==============================================================================
 * COMPARISON TABLE (#so-sanh)
 * ============================================================================== */
.lp-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  background: #ffffff;
  box-shadow: var(--tblr-shadow-xs);
}

.lp-compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}

.lp-compare-table th,
.lp-compare-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--tblr-border-subtle);
}

.lp-compare-table thead th {
  background-color: var(--tblr-surface-subtle);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tblr-text-secondary);
  border-bottom: 1px solid var(--tblr-border-color);
}

.lp-compare-table tbody th {
  width: 24%;
  font-weight: 600;
  color: var(--tblr-text-main);
  background: #ffffff;
}

.lp-compare-table td {
  color: var(--tblr-text-secondary);
}

.lp-compare-table thead th:last-child,
.lp-compare-table tbody td:last-child {
  background-color: rgba(32, 107, 196, 0.04);
  color: var(--tblr-text-main);
  font-weight: 600;
}

.lp-compare-table tbody tr:hover td {
  background-color: var(--tblr-surface-hover);
}

.lp-compare-table tbody tr:hover td:last-child {
  background-color: rgba(32, 107, 196, 0.07);
}

.lp-compare-table tbody tr:last-child th,
.lp-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ==============================================================================
 * TARGET AUDIENCE SECTION (#danh-cho-ai)
 * ============================================================================== */
.lp-audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-aud {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 20px;
  box-shadow: var(--tblr-shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-aud:hover {
  transform: translateY(-2px);
  box-shadow: var(--tblr-shadow-md);
}

.lp-aud-tag {
  display: inline-flex;
  margin-bottom: 10px;
}

.lp-aud-tag .tblr-badge,
.lp-aud-tag .tblr-badge-lt,
.lp-aud-tag span {
  padding: 5px !important;
  border-radius: 5px !important;
  font-size: 11.5px;
}

.lp-aud h3 {
  margin: 0 0 8px;
  font-family: var(--tblr-font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tblr-text-main);
  line-height: 1.35;
}

.lp-aud p {
  margin: 0;
  font-size: 13px;
  color: var(--tblr-text-secondary);
  line-height: 1.55;
}

/* ==============================================================================
 * TESTIMONIALS SECTION (#khach-hang)
 * ============================================================================== */
.lp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-quote-card {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 22px;
  box-shadow: var(--tblr-shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.lp-quote-stars {
  color: var(--tblr-warning);
  font-size: 13px;
  display: flex;
  gap: 2px;
}

.lp-quote-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--tblr-text-body);
}

.lp-quote-who strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tblr-text-main);
}

.lp-quote-who small {
  display: block;
  font-size: 11.5px;
  color: var(--tblr-text-secondary);
  margin-top: 1px;
}

/* ==============================================================================
 * FAQ ACCORDION (#faq)
 * ============================================================================== */
.lp-faq {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}

.lp-faq-item {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.lp-faq-item.is-open {
  border-color: var(--tblr-primary);
}

.lp-faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tblr-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  outline: none;
}

.lp-faq-item button i {
  color: var(--tblr-text-muted);
  font-size: 15px;
  transition: transform 0.2s ease;
}

.lp-faq-item.is-open button i {
  transform: rotate(180deg);
  color: var(--tblr-primary);
}

.lp-faq-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--tblr-text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.lp-faq-item.is-open .lp-faq-body {
  display: block;
}

/* ==============================================================================
 * CONTACT SECTION (#lien-he)
 * ============================================================================== */
.lp-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.lp-benefit-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lp-benefit-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 13.5px;
  color: var(--tblr-text-secondary);
  border-bottom: 1px dashed var(--tblr-border-subtle);
}

.lp-benefit-list li:last-child { border-bottom: 0; }

.lp-benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--tblr-success);
  font-weight: 700;
}

.lp-contact-channels {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.lp-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--tblr-radius-md);
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
}

.lp-channel strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tblr-text-main);
}

.lp-channel small {
  color: var(--tblr-text-secondary);
  font-size: 12px;
}

.lp-form {
  background: #ffffff;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-radius-md);
  padding: 22px;
  box-shadow: var(--tblr-shadow-xs);
  display: grid;
  gap: 12px;
}

.lp-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--tblr-text-main);
}

.lp-form input,
.lp-form textarea {
  width: 100%;
  border: 1px solid var(--tblr-border-strong);
  border-radius: var(--tblr-radius-md);
  padding: 8px 12px;
  font-family: var(--tblr-font-sans);
  font-size: 13.5px;
  color: var(--tblr-text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-form input:focus,
.lp-form textarea:focus {
  border-color: var(--tblr-primary);
  box-shadow: 0 0 0 3px rgba(var(--tblr-primary-rgb), 0.15);
}

.lp-form textarea {
  min-height: 100px;
  resize: vertical;
}

.lp-form-feedback {
  margin-top: 2px;
}

.lp-form-feedback:empty {
  display: none;
}

.lp-form-alert {
  padding: 10px 14px;
  border-radius: var(--tblr-radius-md);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: lpFadeIn 0.25s ease-out;
}

.lp-form-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.lp-form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.lp-form-alert i {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 1px;
  flex-shrink: 0;
}

.lp-form-alert strong {
  font-weight: 600;
}

.lp-form-note {
  margin: 0;
  font-size: 11.5px;
  color: var(--tblr-text-muted);
  line-height: 1.45;
}

/* ==============================================================================
 * FINAL CTA (#bat-dau)
 * ============================================================================== */
.lp-final {
  padding: 44px 32px;
  border-radius: var(--tblr-radius-lg);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #172554 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-final h2 {
  margin: 0 0 8px;
  font-family: var(--tblr-font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #ffffff;
}

.lp-final p {
  margin: 0 auto 20px;
  max-width: 520px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.55;
}

.lp-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-final .lp-store {
  justify-content: center;
  margin-top: 16px;
}

.lp-final .lp-store-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lp-final .lp-store-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==============================================================================
 * FOOTER
 * ============================================================================== */
.lp-footer {
  padding: 24px 0 36px;
  color: var(--tblr-text-secondary);
  font-size: 13px;
  background-color: #ffffff;
  border-top: 1px solid var(--tblr-border-color);
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

.lp-footer a {
  color: var(--tblr-text-secondary);
}

.lp-footer a:hover {
  color: var(--tblr-primary);
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Back to Top Button */
#lp-to-top {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + var(--lp-safe-bottom));
  width: 38px;
  height: 38px;
  border-radius: var(--tblr-radius-md);
  border: 1px solid var(--tblr-border-color);
  background: #ffffff;
  color: var(--tblr-text-main);
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--tblr-shadow-md);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 40;
}

#lp-to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#lp-to-top:hover {
  background: var(--tblr-surface-hover);
  color: var(--tblr-primary);
}

.lp-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 2px;
  width: 100%;
  background-color: var(--tblr-primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Reveal Animations */
.lp-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--lp-delay, 0ms);
}

.lp-in.lp-in-visible {
  opacity: 1;
  transform: none;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.lp-swipe-hint {
  display: none;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--tblr-text-muted);
}

/* ==============================================================================
 * RESPONSIVE ADJUSTMENTS
 * ============================================================================== */
@media (max-width: 1100px) {
  .lp-nav-toggle { display: inline-flex; }
  .lp-nav-links {
    display: none;
    position: absolute;
    top: calc(var(--lp-nav-h) + var(--lp-safe-top));
    left: 0;
    right: 0;
    z-index: 95;
    background: #ffffff;
    border-bottom: 1px solid var(--tblr-border-color);
    box-shadow: var(--tblr-shadow-lg);
    padding: 12px var(--lp-gutter) calc(16px + var(--lp-safe-bottom));
    max-height: calc(100dvh - var(--lp-nav-h) - var(--lp-safe-top));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .lp-nav.is-open .lp-nav-links { display: flex; }
  .lp-nav-links a:not(.tblr-btn):not(.lp-btn) {
    padding: 10px 12px;
    font-size: 14.5px;
  }
  .lp-nav-links .lp-btn-nav {
    margin: 4px 0 0;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .lp-hero-grid,
  .lp-showcase,
  .lp-contact,
  .lp-split {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .lp-hero-mockup {
    width: 100%;
  }
  .lp-metrics { grid-template-columns: 1fr 1fr; }
  .lp-pain-grid,
  .lp-formula-grid,
  .lp-timeline,
  .lp-audience,
  .lp-testimonials { grid-template-columns: 1fr 1fr; }

  .lp-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    margin: 0;
    padding: 2px 0 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .lp-tabs::-webkit-scrollbar { display: none; }
  .lp-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 140px;
    max-width: 180px;
    scroll-snap-align: start;
    padding: 8px 10px;
    border-radius: var(--tblr-radius-md);
  }
  .lp-tab strong {
    font-size: 12px;
    gap: 5px;
    white-space: nowrap;
  }
  .lp-tab strong i {
    font-size: 13.5px;
  }
  .lp-tab span {
    font-size: 10.5px;
    margin-top: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 760px) {
  :root {
    --lp-gutter: 16px;
  }

  .lp-section { padding: 36px 0; }
  .lp-h2 {
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .lp-lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .lp-kicker-badge {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.35;
    text-align: left;
    max-width: 100%;
    display: inline-block;
  }

  .lp-hero { padding: 24px 0 20px; }
  .lp-hero-grid { gap: 20px; }
  .lp-hero h1 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    word-break: break-word;
  }
  .lp-hero-copy {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
  }
  .lp-hero-actions .tblr-btn,
  .lp-hero-actions .lp-btn {
    width: 100%;
    height: 42px;
    font-size: 14px;
    justify-content: center;
  }

  .lp-micro {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 16px;
  }
  .lp-micro span {
    white-space: normal;
    font-size: 12.5px;
    line-height: 1.4;
  }

  .lp-store {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .lp-store-btn {
    min-width: 0;
    width: 100%;
    padding: 7px 8px;
    gap: 6px;
  }
  .lp-store-btn strong { font-size: 11px; }
  .lp-store-btn small { font-size: 8.5px; }
  .lp-store-btn svg { width: 16px; height: 16px; }

  /* Hero Mockup Mobile Adjustments */
  .lp-mock-bar {
    padding: 6px 10px;
    gap: 6px;
  }
  .lp-mock-url-chip {
    max-width: 140px;
    padding: 2px 6px;
    font-size: 10px;
  }
  .lp-mock-url-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }
  .lp-mock-bar .tblr-badge-lt {
    font-size: 9.5px;
    padding: 3px 5px !important;
    flex-shrink: 0;
  }

  .lp-dash-body { padding: 10px; }
  .lp-dash-header-bar {
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .lp-dash-company-name {
    max-width: 140px;
    font-size: 12.5px;
  }
  .lp-dash-date-picker {
    padding: 3px 8px;
    font-size: 10.5px;
    margin-left: auto;
  }

  .lp-dash-kpis {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .lp-dash-kpi { padding: 8px 10px; gap: 8px; }
  .lp-dash-kpi-avatar { width: 32px; height: 32px; font-size: 15px; }
  .lp-dash-kpi-value { font-size: 14px; }
  .lp-dash-kpi-title { font-size: 9.5px; }
  .lp-dash-kpi-sub { font-size: 9.5px; }

  .lp-sal-row--tools {
    flex-wrap: wrap;
    gap: 6px;
  }
  .lp-sal-legend {
    gap: 4px 8px;
    font-size: 9.5px;
  }
  .lp-sal-picker {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  .lp-sal-chart {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 4px;
  }
  .lp-sal-y {
    height: 155px;
    font-size: 8.5px;
    text-align: left;
    padding: 4px 0 6px 0;
  }
  .lp-dash-line {
    height: 155px;
  }
  .lp-sal-y span { font-size: 8.5px; }
  .lp-sal-x {
    padding: 6px 0 0;
  }
  .lp-sal-x span { font-size: 8.5px; }

  /* Sections grids to 1 col */
  .lp-metrics,
  .lp-pain-grid,
  .lp-formula-grid,
  .lp-timeline,
  .lp-audience,
  .lp-testimonials { grid-template-columns: 1fr; }

  .lp-metrics {
    gap: 10px;
    padding: 10px 0 4px;
  }
  .lp-metric {
    padding: 12px 14px;
    gap: 12px;
  }
  .lp-metric-avatar {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .lp-metric b { font-size: 18px; }
  .lp-metric span { font-size: 12px; }

  .lp-pain,
  .lp-formula,
  .lp-time,
  .lp-aud,
  .lp-quote-card {
    padding: 16px;
  }

  /* Mockup Toolbar inside tabs */
  .lp-mock-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }
  .lp-mock-search {
    width: 100%;
  }
  .lp-mock-chrome-bar {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
  }
  .lp-mock-chrome-bar > div {
    flex-wrap: wrap;
    gap: 4px;
  }

  .lp-mock-body {
    padding: 10px 8px;
  }

  .lp-ts-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .lp-ts-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    width: 100%;
  }
  .lp-ts-kpis span {
    padding: 4px 2px;
    align-items: center;
    text-align: center;
  }
  .lp-ts-kpis span small {
    font-size: 8.5px;
    white-space: nowrap;
  }
  .lp-ts-kpis span b {
    font-size: 11px;
  }

  .lp-ts-legend {
    gap: 6px 10px;
    font-size: 10px;
    margin-bottom: 6px;
  }

  .lp-ts-wrap {
    border-radius: var(--tblr-radius-sm);
    -webkit-overflow-scrolling: touch;
  }
  .lp-ts-grid {
    min-width: 770px;
  }
  .lp-ts-grid th.lp-ts-name,
  .lp-ts-grid td.lp-ts-name {
    width: 122px;
    min-width: 122px;
    max-width: 122px;
    padding: 4px 6px;
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: #ffffff;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.04);
  }
  .lp-ts-grid thead th.lp-ts-name {
    background-color: var(--tblr-surface-subtle);
    z-index: 4;
  }
  .lp-ts-grid th.lp-ts-total,
  .lp-ts-grid td.lp-ts-total {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    font-size: 11px;
    padding: 2px 4px;
  }
  /* Explicit day column widths on mobile so text never wraps */
  .lp-ts-grid thead th:not(.lp-ts-name):not(.lp-ts-total),
  .lp-ts-grid tbody td:not(.lp-ts-name):not(.lp-ts-total) {
    width: 86px;
    min-width: 86px;
  }
  .lp-ts-grid thead th {
    padding: 6px 2px;
  }
  .lp-ts-grid td {
    height: 54px;
    padding: 2px 3px;
  }
  .lp-mock-user-cell {
    gap: 5px;
  }
  .lp-mock-user-avatar {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .lp-mock-user-name {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 84px;
  }
  .lp-mock-user-sub {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 84px;
  }
  .lp-ts-slot {
    height: 48px;
    padding: 2px 4px;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .lp-ts-slot .lp-ts-top {
    font-size: 9.5px;
    gap: 4px;
    white-space: nowrap;
  }
  .lp-ts-slot .lp-ts-time {
    font-size: 8.5px;
    white-space: nowrap !important;
    letter-spacing: -0.15px;
    line-height: 1.25;
  }
  .lp-ts-stack {
    height: 48px;
    gap: 2px;
  }
  .lp-ts-stack .lp-ts-slot {
    height: 23px;
    padding: 0 4px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .lp-ts-stack .lp-ts-slot .lp-ts-top {
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  .lp-mock-table {
    min-width: 500px;
  }
  .lp-grid-table {
    min-width: 460px;
  }
  .lp-compare-table {
    min-width: 660px;
    font-size: 12px;
  }
  .lp-compare-table th,
  .lp-compare-table td {
    padding: 10px 12px;
  }

  .lp-swipe-hint { display: block; }
  .lp-amt-full { display: none; }
  .lp-amt-short { display: inline; }

  .lp-contact-channels {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lp-form {
    padding: 16px;
  }
  .lp-form input,
  .lp-form textarea {
    font-size: 16px; /* Prevents iOS Safari input focus auto-zoom */
  }

  .lp-final { padding: 28px 16px; }
  .lp-final h2 { font-size: clamp(20px, 5.2vw, 24px); }
  .lp-final-actions { flex-direction: column; width: 100%; gap: 10px; }
  .lp-final-actions .tblr-btn,
  .lp-final-actions .lp-btn {
    width: 100%;
    justify-content: center;
    height: 42px;
  }
  .lp-final .lp-store {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .lp-footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (max-width: 380px) {
  :root {
    --lp-gutter: 12px;
  }
  .lp-mock-url-chip { max-width: 100px; }
  .lp-dash-company-name { max-width: 110px; }
  .lp-store {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .lp-in { opacity: 1 !important; transform: none !important; }
  .lp-progress { display: none; }
}
