:root {
  --ap-font-scale: 1;
  --ap-sidebar-width: 304px;
  --tabler-font-sans-serif: "Space Grotesk", "Segoe UI", sans-serif;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --surface-border: rgba(148, 163, 184, 0.18);
  --surface-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --surface-glass: rgba(255, 255, 255, 0.86);
  --page-glow-primary-rgb: 21, 136, 121;
  --page-glow-secondary-rgb: 245, 158, 11;
  --page-bg-start: #f4fbf9;
  --page-bg-end: #eef4f6;
  --brand-gradient-start: #158879;
  --brand-gradient-end: #f59e0b;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --highlight: #f59e0b;
  --sidebar-bg: #101a2b;
  --sidebar-surface: #1e2a3d;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-shadow: 18px 0 48px rgba(15, 23, 42, 0.12);
  --sidebar-hover: rgba(255, 255, 255, 0.10);
  --sidebar-card-bg: rgba(255, 255, 255, 0.06);
  --sidebar-card-border: rgba(255, 255, 255, 0.08);
  --sidebar-accent: #5eead4;
  --sidebar-text: #f8fafc;
  --sidebar-muted: rgba(248, 250, 252, 0.78);
}

html {
  font-size: 16px;
}

html[data-ui-theme="marketplace"] {
  --tblr-primary: #158879;
  --tblr-primary-rgb: 21, 136, 121;
  --page-glow-primary-rgb: 21, 136, 121;
  --page-glow-secondary-rgb: 245, 158, 11;
  --page-bg-start: #f4fbf9;
  --page-bg-end: #eef4f6;
  --brand-gradient-start: #158879;
  --brand-gradient-end: #f59e0b;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --highlight: #f59e0b;
  --ink: #1f3b39;
  --muted: #59706f;
}

html[data-ui-theme="ocean"] {
  --tblr-primary: #2563eb;
  --tblr-primary-rgb: 37, 99, 235;
  --page-glow-primary-rgb: 37, 99, 235;
  --page-glow-secondary-rgb: 14, 165, 233;
  --page-bg-start: #f3f7ff;
  --page-bg-end: #eef4fb;
  --brand-gradient-start: #2563eb;
  --brand-gradient-end: #0ea5e9;
  --accent: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --highlight: #0891b2;
  --ink: #16324f;
  --muted: #61758b;
}

html[data-ui-theme="forest"] {
  --tblr-primary: #3f7c5a;
  --tblr-primary-rgb: 63, 124, 90;
  --page-glow-primary-rgb: 63, 124, 90;
  --page-glow-secondary-rgb: 183, 121, 31;
  --page-bg-start: #f5faf6;
  --page-bg-end: #eef4ee;
  --brand-gradient-start: #3f7c5a;
  --brand-gradient-end: #b7791f;
  --accent: #35684c;
  --accent-soft: rgba(63, 124, 90, 0.12);
  --highlight: #b7791f;
  --ink: #23372a;
  --muted: #607061;
}

html[data-ui-theme="sunset"] {
  --tblr-primary: #c56b34;
  --tblr-primary-rgb: 197, 107, 52;
  --page-glow-primary-rgb: 197, 107, 52;
  --page-glow-secondary-rgb: 230, 95, 92;
  --page-bg-start: #fff7f1;
  --page-bg-end: #fff0ea;
  --brand-gradient-start: #c56b34;
  --brand-gradient-end: #e65f5c;
  --accent: #b55a29;
  --accent-soft: rgba(197, 107, 52, 0.12);
  --highlight: #e65f5c;
  --ink: #4a2a1f;
  --muted: #7a625b;
}

html[data-ui-theme="orchid"] {
  --tblr-primary: #7c4d9e;
  --tblr-primary-rgb: 124, 77, 158;
  --page-glow-primary-rgb: 124, 77, 158;
  --page-glow-secondary-rgb: 217, 70, 239;
  --page-bg-start: #faf6ff;
  --page-bg-end: #f3eefc;
  --brand-gradient-start: #7c4d9e;
  --brand-gradient-end: #d946ef;
  --accent: #6d3e8f;
  --accent-soft: rgba(124, 77, 158, 0.12);
  --highlight: #d946ef;
  --ink: #35243f;
  --muted: #6e5e77;
}

html[data-ui-theme="linen"] {
  --tblr-primary: #8b6b43;
  --tblr-primary-rgb: 139, 107, 67;
  --page-glow-primary-rgb: 139, 107, 67;
  --page-glow-secondary-rgb: 217, 119, 6;
  --page-bg-start: #fbf7ef;
  --page-bg-end: #f5efe6;
  --brand-gradient-start: #8b6b43;
  --brand-gradient-end: #d97706;
  --accent: #7b5d38;
  --accent-soft: rgba(139, 107, 67, 0.12);
  --highlight: #d97706;
  --ink: #3b3127;
  --muted: #74665a;
}

html[data-ui-theme="slate"] {
  --tblr-primary: #3e5c76;
  --tblr-primary-rgb: 62, 92, 118;
  --page-glow-primary-rgb: 62, 92, 118;
  --page-glow-secondary-rgb: 15, 118, 110;
  --page-bg-start: #f3f6f8;
  --page-bg-end: #ecf1f4;
  --brand-gradient-start: #3e5c76;
  --brand-gradient-end: #0f766e;
  --accent: #315168;
  --accent-soft: rgba(62, 92, 118, 0.12);
  --highlight: #0f766e;
  --ink: #243746;
  --muted: #61707a;
}

html[data-ui-theme="dawn"] {
  --tblr-primary: #d14d72;
  --tblr-primary-rgb: 209, 77, 114;
  --page-glow-primary-rgb: 209, 77, 114;
  --page-glow-secondary-rgb: 251, 113, 133;
  --page-bg-start: #fff5f6;
  --page-bg-end: #fff0f2;
  --brand-gradient-start: #d14d72;
  --brand-gradient-end: #fb7185;
  --accent: #be3e63;
  --accent-soft: rgba(209, 77, 114, 0.12);
  --highlight: #fb7185;
  --ink: #4a2431;
  --muted: #7a5e67;
}

html[data-ui-sidebar="midnight"] {
  --sidebar-bg: #101a2b;
  --sidebar-surface: #1e2a3d;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-shadow: 18px 0 48px rgba(15, 23, 42, 0.12);
  --sidebar-hover: rgba(255, 255, 255, 0.10);
  --sidebar-card-bg: rgba(255, 255, 255, 0.06);
  --sidebar-card-border: rgba(255, 255, 255, 0.08);
  --sidebar-accent: #5eead4;
  --sidebar-text: #f8fafc;
  --sidebar-muted: rgba(248, 250, 252, 0.78);
}

html[data-ui-sidebar="graphite"] {
  --sidebar-bg: #253042;
  --sidebar-surface: #3e4c63;
  --sidebar-border: rgba(125, 211, 252, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(30, 41, 59, 0.16);
  --sidebar-hover: rgba(125, 211, 252, 0.18);
  --sidebar-card-bg: rgba(62, 76, 99, 0.88);
  --sidebar-card-border: rgba(125, 211, 252, 0.18);
  --sidebar-accent: #7dd3fc;
  --sidebar-text: #f8fafc;
  --sidebar-muted: rgba(248, 250, 252, 0.74);
}

html[data-ui-sidebar="pine"] {
  --sidebar-bg: #183a31;
  --sidebar-surface: #245748;
  --sidebar-border: rgba(110, 231, 183, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(6, 78, 59, 0.18);
  --sidebar-hover: rgba(110, 231, 183, 0.18);
  --sidebar-card-bg: rgba(36, 87, 72, 0.90);
  --sidebar-card-border: rgba(110, 231, 183, 0.18);
  --sidebar-accent: #6ee7b7;
  --sidebar-text: #ecfdf5;
  --sidebar-muted: rgba(236, 253, 245, 0.76);
}

html[data-ui-sidebar="cobalt"] {
  --sidebar-bg: #182b59;
  --sidebar-surface: #26408b;
  --sidebar-border: rgba(147, 197, 253, 0.18);
  --sidebar-shadow: 18px 0 48px rgba(23, 37, 84, 0.22);
  --sidebar-hover: rgba(147, 197, 253, 0.18);
  --sidebar-card-bg: rgba(38, 64, 139, 0.90);
  --sidebar-card-border: rgba(147, 197, 253, 0.22);
  --sidebar-accent: #93c5fd;
  --sidebar-text: #eff6ff;
  --sidebar-muted: rgba(239, 246, 255, 0.76);
}

html[data-ui-sidebar="ember"] {
  --sidebar-bg: #48261c;
  --sidebar-surface: #6b3b2c;
  --sidebar-border: rgba(253, 186, 116, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(72, 38, 28, 0.20);
  --sidebar-hover: rgba(253, 186, 116, 0.18);
  --sidebar-card-bg: rgba(107, 59, 44, 0.90);
  --sidebar-card-border: rgba(253, 186, 116, 0.18);
  --sidebar-accent: #fdba74;
  --sidebar-text: #fff7ed;
  --sidebar-muted: rgba(255, 247, 237, 0.76);
}

html[data-ui-sidebar="moss"] {
  --sidebar-bg: #2d3a25;
  --sidebar-surface: #445a35;
  --sidebar-border: rgba(190, 242, 100, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(45, 58, 37, 0.20);
  --sidebar-hover: rgba(190, 242, 100, 0.18);
  --sidebar-card-bg: rgba(68, 90, 53, 0.90);
  --sidebar-card-border: rgba(190, 242, 100, 0.18);
  --sidebar-accent: #bef264;
  --sidebar-text: #f7fee7;
  --sidebar-muted: rgba(247, 254, 231, 0.76);
}

html[data-ui-sidebar="merlot"] {
  --sidebar-bg: #402033;
  --sidebar-surface: #6b2f55;
  --sidebar-border: rgba(249, 168, 212, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(64, 32, 51, 0.20);
  --sidebar-hover: rgba(249, 168, 212, 0.18);
  --sidebar-card-bg: rgba(107, 47, 85, 0.90);
  --sidebar-card-border: rgba(249, 168, 212, 0.18);
  --sidebar-accent: #f9a8d4;
  --sidebar-text: #fff1f2;
  --sidebar-muted: rgba(255, 241, 242, 0.76);
}

html[data-ui-sidebar="storm"] {
  --sidebar-bg: #1d2b34;
  --sidebar-surface: #2f4756;
  --sidebar-border: rgba(103, 232, 249, 0.16);
  --sidebar-shadow: 18px 0 48px rgba(29, 43, 52, 0.20);
  --sidebar-hover: rgba(103, 232, 249, 0.18);
  --sidebar-card-bg: rgba(47, 71, 86, 0.90);
  --sidebar-card-border: rgba(103, 232, 249, 0.18);
  --sidebar-accent: #67e8f9;
  --sidebar-text: #ecfeff;
  --sidebar-muted: rgba(236, 254, 255, 0.76);
}

body {
  min-height: 100vh;
  font-family: var(--tabler-font-sans-serif);
  font-size: calc(1rem * var(--ap-font-scale, 1));
  line-height: 1.58;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(var(--page-glow-primary-rgb), 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(var(--page-glow-secondary-rgb), 0.12), transparent 24%),
    linear-gradient(180deg, var(--page-bg-start) 0%, var(--page-bg-end) 100%);
}

.page {
  min-height: 100vh;
}

.page,
.page-wrapper,
.page-body,
.page-body .container-xl,
.page-header-shell .container-xl,
.row,
.row > *,
.table-responsive,
.card,
.list-group-item {
  min-width: 0;
}

.page-header-shell .container-xl,
.page-body .container-xl,
.marketing-content-shell,
.marketing-nav-inner {
  width: min(100%, 1380px);
}

.navbar-vertical.navbar {
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, color-mix(in srgb, var(--sidebar-bg) 82%, #000 18%) 100%);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: var(--sidebar-shadow);
}

@media (min-width: 992px) {
  .navbar-vertical.navbar-expand-lg {
    width: var(--ap-sidebar-width);
  }

  .navbar-vertical.navbar-expand-lg ~ .page-wrapper {
    margin-left: var(--ap-sidebar-width);
    width: calc(100% - var(--ap-sidebar-width));
  }
}

.navbar-brand {
  width: 100%;
}

.navbar-brand a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));
  color: #0f172a;
  font-weight: 700;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: block;
  max-width: 11.5rem;
  white-space: normal;
  line-height: 1.05;
  font-size: 1rem;
  font-weight: 700;
}

.navbar-vertical .nav-link {
  margin-bottom: 0.25rem;
  border-radius: 0.9rem;
  color: var(--sidebar-muted);
}

.navbar-vertical .nav-link-title,
.navbar-brand,
.form-control,
.form-select,
.btn,
.form-label,
.form-hint,
.table,
.alert,
.dropdown-item,
.list-group-item,
.pagination,
.page-link,
.form-check-label,
.input-group-text {
  font-size: inherit;
}

.page-title {
  font-size: clamp(1.85rem, 1.25rem + 1.2vw, 2.6rem);
  line-height: 1.05;
}

.page-pretitle,
.eyebrow,
.small,
small,
.form-hint,
.badge {
  font-size: calc(0.82rem * var(--ap-font-scale, 1));
}

.card-title {
  font-size: calc(1.02rem * var(--ap-font-scale, 1));
}

.brand-wordmark {
  font-size: calc(1rem * var(--ap-font-scale, 1));
}

.form-control,
.form-select,
.btn,
.input-group-text {
  min-height: calc(2.75rem + ((var(--ap-font-scale, 1) - 1) * 0.45rem));
}

.navbar-vertical .nav-link:hover,
.navbar-vertical .nav-item.active .nav-link {
  background: var(--sidebar-hover);
  color: var(--sidebar-text);
}

.page-header-shell {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.sidebar-status {
  background: var(--sidebar-card-bg);
  border-color: var(--sidebar-card-border);
}

.sidebar-status .text-secondary {
  color: var(--sidebar-muted) !important;
}

.sidebar-status .fw-semibold {
  color: var(--sidebar-text) !important;
}

.page-body {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.page-wrapper .card {
  border: 1px solid var(--surface-border);
  box-shadow: var(--surface-shadow);
}

.hero-panel,
.panel-card,
.metric-card {
  border: 1px solid var(--surface-border);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--surface-shadow);
}

.hero-panel {
  padding: 1.75rem;
  border-radius: 1.5rem;
}

.panel-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.35rem;
}

.metric-card {
  padding: 1.2rem;
  border-radius: 1.2rem;
}

.metric-card strong {
  display: block;
  font-size: 1.65rem;
}

.eyebrow,
.page-pretitle {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title {
  max-width: 12ch;
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.hero-copy,
.muted-copy,
.list-note,
.footer-note {
  color: var(--muted);
}

.auth-panel .panel-card {
  background: rgba(255, 255, 255, 0.84);
}

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

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.85rem;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  flex: 0 0 auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(var(--tblr-primary-rgb), 0.18);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.empty {
  padding: 4rem 1rem;
  text-align: center;
}

.empty-img {
  margin-bottom: 1rem;
}

.preference-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preference-live-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
}

.preference-live-status[data-state="saving"] {
  background: rgba(var(--tblr-primary-rgb), 0.12);
  color: var(--accent);
}

.preference-live-status[data-state="saved"] {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.preference-live-status[data-state="error"] {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.preference-card-grid {
  display: grid;
  gap: 1rem;
}

.preference-card-grid-lg {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.preference-card-grid-sm {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.preference-card-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.preference-card-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.preference-card-panel {
  display: block;
  height: 100%;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.preference-card-option:hover .preference-card-panel {
  transform: translateY(-2px);
  border-color: rgba(var(--tblr-primary-rgb), 0.32);
}

.preference-card-input:checked + .preference-card-panel {
  border-color: rgba(var(--tblr-primary-rgb), 0.70);
  background: rgba(var(--tblr-primary-rgb), 0.06);
  box-shadow: 0 18px 36px rgba(var(--tblr-primary-rgb), 0.16);
}

.preference-card-input:focus-visible + .preference-card-panel {
  outline: 2px solid rgba(var(--tblr-primary-rgb), 0.45);
  outline-offset: 2px;
}

.preference-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.preference-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(var(--tblr-primary-rgb), 0.12);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.preference-card-input:checked + .preference-card-panel .preference-card-badge {
  opacity: 1;
  transform: translateY(0);
}

.preference-card-copy {
  display: block;
  color: var(--muted);
  font-size: 0.92em;
  line-height: 1.55;
}

.display-theme-preview {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.32rem;
  width: 4.8rem;
  min-width: 4.8rem;
  height: 3.2rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--preview-theme-page), color-mix(in srgb, var(--preview-theme-page) 78%, #000 22%));
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.display-theme-preview-card {
  width: 2.15rem;
  height: 1.8rem;
  border-radius: 0.7rem;
  background: var(--preview-theme-surface);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.display-theme-preview-chip {
  width: 1rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--preview-theme-accent);
}

.display-theme-preview-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  background: var(--preview-theme-highlight);
}

.preference-sidebar-preview {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.35rem;
  width: 4.8rem;
  min-width: 4.8rem;
  height: 3.2rem;
  padding: 0.55rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, var(--preview-sidebar-bg), color-mix(in srgb, var(--preview-sidebar-bg) 78%, #000 22%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.preference-sidebar-rail {
  display: block;
  width: 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--preview-sidebar-text) 74%, transparent 26%);
}

.preference-sidebar-rail:first-child {
  height: 100%;
}

.preference-sidebar-rail:nth-child(2) {
  height: 72%;
  opacity: 0.7;
}

.preference-sidebar-rail-accent {
  background: var(--preview-sidebar-accent);
}

.preference-sidebar-chip {
  display: block;
  width: 1.4rem;
  height: 0.7rem;
  margin-left: auto;
  border-radius: 999px;
  background: var(--preview-sidebar-surface);
}

.preference-font-preview {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.preference-font-sample {
  font-size: calc(var(--preview-font-scale) * 0.011rem);
  font-weight: 700;
  line-height: 1;
}

.preference-font-scale {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.job-log-details {
  min-width: 18rem;
  white-space: pre-line;
}

.page-wrapper .card,
.hero-panel,
.panel-card,
.metric-card,
.tool-product-card,
.landing-signal-card,
.landing-stage-card,
.landing-feature-card,
.landing-workflow-card,
.landing-tool-card,
.landing-proof-card,
.landing-plan-card,
.landing-footer-card {
  overflow-wrap: anywhere;
}

.sidebar-status,
.navbar-vertical .nav-link {
  border-color: color-mix(in srgb, var(--sidebar-accent) 18%, transparent 82%);
}

.navbar-vertical .nav-link:hover,
.navbar-vertical .nav-item.active .nav-link {
  background: color-mix(in srgb, var(--sidebar-accent) 18%, transparent 82%);
  color: var(--sidebar-text);
}

.navbar-vertical .nav-item.active .nav-link {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sidebar-accent) 38%, transparent 62%);
}

.sidebar-status .btn-outline-primary {
  color: var(--sidebar-text);
  border-color: color-mix(in srgb, var(--sidebar-accent) 50%, transparent 50%);
}

.sidebar-status .btn-outline-primary:hover {
  background: color-mix(in srgb, var(--sidebar-accent) 18%, transparent 82%);
  border-color: color-mix(in srgb, var(--sidebar-accent) 70%, transparent 30%);
  color: var(--sidebar-text);
}

@media (max-width: 1200px) {
  :root {
    --ap-sidebar-width: 280px;
  }
}

@media (max-width: 992px) {
  .page-header-shell {
    display: none !important;
  }

  .page-body {
    padding-top: 1rem;
  }

  .brand-wordmark {
    max-width: none;
  }

  .preference-live-status {
    min-width: auto;
    width: 100%;
  }
}

.watchlist-strip {
  height: 4px;
  border-radius: 1rem 1rem 0 0;
}

.watchlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.watchlist-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.visual-chart-shell {
  position: relative;
  min-height: 280px;
}

.visual-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: var(--muted);
  text-align: center;
}

.buybox-track {
  display: flex;
  min-height: 3rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.buybox-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 4.5rem;
}

.buybox-segment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.white-space-pre-line {
  white-space: pre-line;
}

.tool-nav {
  gap: 0.5rem;
}

.tool-nav .nav-link {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tool-nav .nav-link.active {
  background: var(--accent);
  color: #fff;
}

.tool-result-media,
.tool-product-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.tool-result-media {
  min-height: 18rem;
}

.tool-result-media-sm {
  min-height: 14rem;
}

.tool-result-image,
.tool-product-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-result-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.tool-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.tool-product-card {
  display: block;
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--surface-shadow);
}

.tool-product-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.tool-product-card-media {
  min-height: 10rem;
  margin-bottom: 0.9rem;
}
.marketing-body {
  background:
    radial-gradient(circle at top left, rgba(241, 96, 57, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(var(--tblr-teal-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, #fcf7ef 0%, #f7fbff 46%, #f2f5fb 100%);
}

.marketing-shell {
  min-height: 100vh;
}

.marketing-nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
  background: rgba(252, 247, 239, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.marketing-nav-inner,
.marketing-nav-actions,
.marketing-footer-actions,
.landing-cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.marketing-nav-inner {
  justify-content: space-between;
}

.marketing-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.marketing-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.marketing-nav-links a,
.landing-link-btn {
  color: var(--ink);
  text-decoration: none;
}

.marketing-main {
  padding: 2rem 0 4rem;
}

.marketing-content-shell {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.landing-hero-shell,
.landing-section,
.landing-footer-callout {
  position: relative;
}

.landing-hero-shell {
  overflow: hidden;
  padding: 2.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 229, 0.92)),
    linear-gradient(120deg, rgba(var(--tblr-teal-rgb), 0.08), rgba(var(--tblr-orange-rgb), 0.1));
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.09);
}

.landing-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
  animation: landing-float 10s ease-in-out infinite;
}

.landing-orbit-a {
  top: -2rem;
  right: 8%;
  width: 12rem;
  height: 12rem;
  background: rgba(var(--tblr-orange-rgb), 0.18);
}

.landing-orbit-b {
  bottom: -4rem;
  left: -1rem;
  width: 14rem;
  height: 14rem;
  background: rgba(var(--tblr-teal-rgb), 0.16);
  animation-delay: -4s;
}

.landing-hero-grid > div,
.landing-feature-card,
.landing-workflow-card,
.landing-tool-card,
.landing-proof-card,
.landing-plan-card,
.landing-footer-card {
  animation: landing-rise 0.7s ease both;
}

.landing-display {
  max-width: 10ch;
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.landing-lead,
.landing-section-copy,
.landing-card-copy,
.landing-plan-note,
.landing-proof-note {
  color: var(--muted);
}

.landing-lead {
  max-width: 48rem;
  font-size: 1.08rem;
}

.landing-signal-grid,
.landing-stage-shell,
.landing-footer-actions,
.landing-plan-list {
  display: grid;
  gap: 1rem;
}

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

.landing-signal-card,
.landing-stage-card,
.landing-feature-card,
.landing-workflow-card,
.landing-tool-card,
.landing-proof-card,
.landing-plan-card,
.landing-footer-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}

.landing-signal-card,
.landing-feature-card,
.landing-workflow-card,
.landing-tool-card,
.landing-proof-card,
.landing-plan-card {
  padding: 1.2rem;
  border-radius: 1.35rem;
}

.landing-signal-card {
  display: grid;
  gap: 0.8rem;
}

.landing-signal-badge,
.landing-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
}

.landing-stage-shell {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.landing-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.landing-stage-label,
.landing-pricing-note {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-stage-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1.25rem;
}

.landing-stage-card-accent {
  background: linear-gradient(135deg, rgba(var(--tblr-teal-rgb), 0.12), rgba(var(--tblr-orange-rgb), 0.12));
}

.landing-card-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--highlight);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.landing-stage-title,
.landing-card-title,
.landing-plan-price,
.landing-section-title {
  color: var(--ink);
}

.landing-stage-title,
.landing-card-title {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.landing-section {
  padding: 0.5rem 0 0;
}

.landing-section-contrast .landing-workflow-card,
.landing-section-proof .landing-proof-card,
.landing-plan-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 255, 0.92));
}

.landing-section-head {
  margin-bottom: 1.25rem;
}

.landing-section-title {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.landing-plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.landing-plan-card-featured {
  border-color: rgba(var(--tblr-orange-rgb), 0.28);
  transform: translateY(-0.3rem);
}

.landing-plan-card-current {
  border-color: rgba(var(--tblr-teal-rgb), 0.28);
}

.landing-plan-price {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.landing-plan-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1 1 auto;
}

.landing-plan-list li + li {
  margin-top: 0.45rem;
}

.landing-footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.94), rgba(241, 250, 255, 0.94));
}

@keyframes landing-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 14px, 0);
  }
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1200px) {
  .landing-signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .marketing-nav-inner,
  .marketing-nav-actions,
  .landing-cta-row,
  .landing-footer-card {
    flex-direction: column;
    align-items: stretch;
  }

  .marketing-nav-links {
    display: none;
  }

  .landing-hero-shell {
    padding: 1.5rem;
  }

  .landing-plan-card-featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .marketing-main {
    padding-top: 1.25rem;
  }

  .landing-display {
    max-width: none;
  }

  .landing-footer-card {
    padding: 1.2rem;
  }
}
