/* ========================================================================
   SmartersWeb SI V35 — Full Production Platform
   Canonical presentation layer. Loaded LAST after legacy version layers.
   Scope: authenticated app shell + production checkout + security surfaces.
   ======================================================================== */

body.production-shell-v35 {
  --v35-header-h: 70px;
  --v35-sidebar-w: 286px;
  --v35-sidebar-collapsed: 82px;
  --v35-gutter: clamp(18px, 2vw, 30px);
  --v35-content-max: 1680px;
  --v35-radius-xs: 9px;
  --v35-radius-sm: 12px;
  --v35-radius: 16px;
  --v35-radius-lg: 20px;
  --v35-shadow-1: 0 1px 2px rgba(13, 31, 48, .04), 0 8px 28px rgba(13, 31, 48, .055);
  --v35-shadow-2: 0 18px 55px rgba(13, 31, 48, .10);
  --v35-teal: #078f77;
  --v35-teal-strong: #057862;
  --v35-blue: #246dbe;
  --v35-navy: #111b2e;
  --v35-surface: var(--panel, #fff);
  --v35-surface-soft: var(--panel-2, #f4f7fa);
  --v35-border: color-mix(in srgb, var(--line, rgba(18,40,58,.12)) 92%, transparent);
  --v35-focus: color-mix(in srgb, var(--brand-2, #078f77) 28%, transparent);
}

html[data-theme="light"] body.workspace-shell-v35 {
  --v35-app-bg: #f4f7fa;
  --v35-surface: #fff;
  --v35-surface-soft: #f7f9fb;
  --v35-sidebar-bg: #fbfcfd;
  --v35-border: #dce3e9;
  --v35-text: #111827;
  --v35-muted: #617083;
  --v35-subtle: #8491a1;
  background: var(--v35-app-bg) !important;
}

html[data-theme="dark"] body.workspace-shell-v35,
html:not([data-theme="light"]) body.workspace-shell-v35 {
  --v35-app-bg: #0c141e;
  --v35-surface: #111d29;
  --v35-surface-soft: #162431;
  --v35-sidebar-bg: #0f1a25;
  --v35-border: #253646;
  --v35-text: #edf5fb;
  --v35-muted: #a7b7c6;
  --v35-subtle: #7f94a7;
  background: var(--v35-app-bg) !important;
}

/* ---- Application chrome ------------------------------------------------ */
body.workspace-shell-v35 .app-bg,
body.workspace-shell-v35 .scroll-progress { display: none !important; }

body.workspace-shell-v35 .site-header.backend-header {
  position: sticky !important;
  inset: 0 0 auto 0;
  z-index: 180;
  min-height: var(--v35-header-h) !important;
  height: var(--v35-header-h) !important;
  padding: 0 var(--v35-gutter) !important;
  display: grid !important;
  grid-template-columns: minmax(240px, var(--v35-sidebar-w)) minmax(220px, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  background: color-mix(in srgb, var(--v35-surface) 96%, transparent) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--v35-border) !important;
  box-shadow: 0 1px 0 rgba(12, 28, 43, .02), 0 8px 28px rgba(12, 28, 43, .035) !important;
  backdrop-filter: blur(18px) saturate(1.1) !important;
}

body.workspace-shell-v35 .backend-header .header-left {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.workspace-shell-v35 .backend-header .brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
}
body.workspace-shell-v35 .backend-header .brand-logo-img,
body.workspace-shell-v35 .backend-header .brand-logo-img img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}
body.workspace-shell-v35 .backend-header .brand-logo-img {
  border: 1px solid color-mix(in srgb, var(--v35-border) 84%, var(--v35-blue));
  background: var(--v35-surface-soft);
  box-shadow: none !important;
  overflow: hidden;
}
body.workspace-shell-v35 .backend-header .brand-copy { gap: 0 !important; min-width: 0; }
body.workspace-shell-v35 .backend-header .brand-text {
  color: var(--v35-text) !important;
  font-size: .98rem !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap;
}
body.workspace-shell-v35 .backend-header .brand-copy small {
  color: var(--v35-muted) !important;
  font-size: .63rem !important;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .085em !important;
  font-weight: 800 !important;
}

body.workspace-shell-v35 .workspace-header-context {
  position: static !important;
  transform: none !important;
  justify-self: start !important;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding-left: 18px !important;
  border-left: 1px solid var(--v35-border) !important;
  color: var(--v35-muted) !important;
}
body.workspace-shell-v35 .workspace-header-context span {
  font-size: .67rem !important;
  font-weight: 800 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
  color: var(--v35-subtle) !important;
}
body.workspace-shell-v35 .workspace-header-context strong {
  min-width: 0;
  max-width: min(46vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem !important;
  font-weight: 850 !important;
  color: var(--v35-text) !important;
  letter-spacing: -.01em !important;
}
body.workspace-shell-v35 .header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: 0;
}
body.workspace-shell-v35 .command-btn,
body.workspace-shell-v35 .icon-btn,
body.workspace-shell-v35 .user-chip,
body.workspace-shell-v35 .sidebar-toggle {
  min-height: 40px !important;
  border: 1px solid var(--v35-border) !important;
  border-radius: 12px !important;
  background: var(--v35-surface) !important;
  color: var(--v35-text) !important;
  box-shadow: none !important;
}
body.workspace-shell-v35 .command-btn { padding: 0 12px !important; gap: 8px !important; }
body.workspace-shell-v35 .command-btn kbd {
  border: 1px solid var(--v35-border) !important;
  border-bottom-width: 2px !important;
  border-radius: 7px !important;
  background: var(--v35-surface-soft) !important;
  color: var(--v35-muted) !important;
  font-size: .7rem !important;
  padding: 2px 5px !important;
}
body.workspace-shell-v35 .user-chip { padding: 4px 9px 4px 5px !important; }
body.workspace-shell-v35 .avatar-mini {
  width: 30px !important; height: 30px !important; border-radius: 9px !important;
  display: grid !important; place-items: center !important;
  background: color-mix(in srgb, var(--v35-teal) 14%, var(--v35-surface-soft)) !important;
  color: var(--v35-teal) !important; font-weight: 900 !important; font-size: .72rem !important;
}
body.workspace-shell-v35 .command-btn:hover,
body.workspace-shell-v35 .icon-btn:hover,
body.workspace-shell-v35 .user-chip:hover {
  border-color: color-mix(in srgb, var(--v35-teal) 42%, var(--v35-border)) !important;
  background: var(--v35-surface-soft) !important;
}

/* ---- Breadcrumb -------------------------------------------------------- */
body.workspace-shell-v35 .breadcrumb-shell {
  width: min(calc(100% - var(--v35-sidebar-w) - (var(--v35-gutter) * 3)), calc(var(--v35-content-max) - var(--v35-sidebar-w))) !important;
  max-width: none !important;
  min-height: 42px;
  margin: 0 var(--v35-gutter) 0 calc(var(--v35-sidebar-w) + (var(--v35-gutter) * 2)) !important;
  padding: 13px 0 7px !important;
  border: 0 !important;
  background: transparent !important;
}
body.workspace-shell-v35 .breadcrumb-shell ol {
  display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 7px !important;
  padding: 0 !important; margin: 0 !important; list-style: none !important;
  color: var(--v35-subtle) !important; font-size: .75rem !important; font-weight: 700 !important;
}
body.workspace-shell-v35 .breadcrumb-shell li + li::before {
  content: "/" !important; margin-right: 7px !important; color: color-mix(in srgb, var(--v35-subtle) 65%, transparent) !important;
}
body.workspace-shell-v35 .breadcrumb-shell a { color: var(--v35-muted) !important; }
body.workspace-shell-v35 .breadcrumb-shell li:last-child span { color: var(--v35-text) !important; font-weight: 850 !important; }

/* ---- Main workspace grid ---------------------------------------------- */
body.workspace-shell-v35 .dashboard {
  width: 100% !important;
  max-width: var(--v35-content-max) !important;
  margin: 0 auto !important;
  padding: 0 var(--v35-gutter) 34px !important;
  display: grid !important;
  grid-template-columns: var(--v35-sidebar-w) minmax(0, 1fr) !important;
  gap: var(--v35-gutter) !important;
  align-items: start !important;
}
body.workspace-shell-v35 .dash-main {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 18px !important;
}
body.workspace-shell-v35.sidebar-collapsed .dashboard {
  grid-template-columns: var(--v35-sidebar-collapsed) minmax(0, 1fr) !important;
}
body.workspace-shell-v35.sidebar-collapsed .breadcrumb-shell {
  width: min(calc(100% - var(--v35-sidebar-collapsed) - (var(--v35-gutter) * 3)), calc(var(--v35-content-max) - var(--v35-sidebar-collapsed))) !important;
  margin-left: calc(var(--v35-sidebar-collapsed) + (var(--v35-gutter) * 2)) !important;
}

/* ---- Sidebar ----------------------------------------------------------- */
body.workspace-shell-v35 .platform-sidebar-v22 {
  position: sticky !important;
  top: calc(var(--v35-header-h) + 16px) !important;
  width: 100% !important;
  height: calc(100vh - var(--v35-header-h) - 32px) !important;
  min-height: 520px !important;
  max-height: none !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0,1fr) auto !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid var(--v35-border) !important;
  border-radius: var(--v35-radius-lg) !important;
  background: var(--v35-sidebar-bg) !important;
  box-shadow: var(--v35-shadow-1) !important;
}
body.workspace-shell-v35 .sidebar-shell-head {
  min-height: 84px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 17px 14px 13px !important;
  border-bottom: 1px solid var(--v35-border) !important;
}
body.workspace-shell-v35 .sidebar-title {
  font-size: .92rem !important; font-weight: 900 !important; letter-spacing: -.02em !important; color: var(--v35-text) !important;
}
body.workspace-shell-v35 .sidebar-head-copy p {
  margin: 4px 0 0 !important; color: var(--v35-muted) !important; font-size: .72rem !important; line-height: 1.4 !important;
}
body.workspace-shell-v35 .sidebar-head-actions { display: flex !important; gap: 6px !important; }
body.workspace-shell-v35 .sidebar-collapse-control,
body.workspace-shell-v35 .sidebar-mini-home {
  width: 34px !important; height: 34px !important; min-width: 34px !important; border-radius: 10px !important;
  display: grid !important; place-items: center !important; border: 1px solid var(--v35-border) !important;
  background: var(--v35-surface) !important; color: var(--v35-muted) !important; padding: 0 !important;
}
body.workspace-shell-v35 .sidebar-filter-wrap { padding: 12px 12px 9px !important; }
body.workspace-shell-v35 .sidebar-filter-label {
  display: block !important; margin: 0 2px 7px !important; color: var(--v35-subtle) !important;
  font-size: .63rem !important; line-height: 1.2 !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: .09em !important;
}
body.workspace-shell-v35 .sidebar-filter-field {
  min-height: 42px !important; display: flex !important; align-items: center !important; gap: 8px !important;
  padding: 0 10px !important; border: 1px solid var(--v35-border) !important; border-radius: 12px !important;
  background: var(--v35-surface) !important; box-shadow: none !important;
}
body.workspace-shell-v35 .sidebar-filter-field input {
  min-width: 0 !important; min-height: 40px !important; width: 100% !important; border: 0 !important; outline: 0 !important;
  background: transparent !important; color: var(--v35-text) !important; padding: 0 !important; font-size: .79rem !important;
  box-shadow: none !important;
}
body.workspace-shell-v35 .sidebar-filter-field .ui-icon { width: 16px !important; height: 16px !important; color: var(--v35-muted) !important; }
body.workspace-shell-v35 .sidebar-scrollarea {
  min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 2px 9px 16px !important;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--v35-muted) 38%, transparent) transparent;
}
body.workspace-shell-v35 .sidebar-group { margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; }
body.workspace-shell-v35 .sidebar-group-toggle {
  min-height: 34px !important; width: 100% !important; display: flex !important; align-items: center !important; justify-content: space-between !important;
  padding: 8px 6px 5px !important; border: 0 !important; background: transparent !important; color: var(--v35-subtle) !important;
  font-size: .62rem !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: .09em !important;
}
body.workspace-shell-v35 .sidebar-group-toggle i .ui-icon { width: 13px !important; height: 13px !important; }
body.workspace-shell-v35 .sidebar-group-links { display: grid !important; gap: 2px !important; }
body.workspace-shell-v35 .sidebar-group-links > a {
  position: relative !important; min-height: 40px !important; display: grid !important; grid-template-columns: 31px minmax(0,1fr) auto !important;
  align-items: center !important; gap: 7px !important; padding: 5px 8px !important; border: 1px solid transparent !important;
  border-radius: 11px !important; background: transparent !important; color: var(--v35-muted) !important; font-style: normal !important;
  font-size: .78rem !important; font-weight: 760 !important; text-decoration: none !important; box-shadow: none !important;
}
body.workspace-shell-v35 .sidebar-group-links > a:hover {
  background: var(--v35-surface) !important; color: var(--v35-text) !important; border-color: var(--v35-border) !important;
}
body.workspace-shell-v35 .sidebar-group-links > a.active,
body.workspace-shell-v35 .sidebar-group-links > a[aria-current="page"] {
  background: color-mix(in srgb, var(--v35-teal) 11%, var(--v35-surface)) !important;
  border-color: color-mix(in srgb, var(--v35-teal) 30%, var(--v35-border)) !important;
  color: var(--v35-teal) !important;
  box-shadow: inset 3px 0 0 var(--v35-teal) !important;
}
body.workspace-shell-v35 .sidebar-icon {
  width: 30px !important; height: 30px !important; display: grid !important; place-items: center !important;
  border-radius: 9px !important; background: color-mix(in srgb, var(--v35-muted) 8%, transparent) !important; color: currentColor !important;
}
body.workspace-shell-v35 .sidebar-icon .ui-icon { width: 17px !important; height: 17px !important; }
body.workspace-shell-v35 .sidebar-label { min-width: 0 !important; font-style: normal !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body.workspace-shell-v35 .sidebar-footer-actions {
  min-height: 58px !important; display: flex !important; gap: 7px !important; align-items: center !important; padding: 10px 11px !important;
  border-top: 1px solid var(--v35-border) !important; background: color-mix(in srgb, var(--v35-surface-soft) 82%, transparent) !important;
}
body.workspace-shell-v35 .sidebar-footer-actions a {
  flex: 1; min-height: 36px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important;
  padding: 0 9px !important; border: 1px solid var(--v35-border) !important; border-radius: 10px !important; background: var(--v35-surface) !important;
  color: var(--v35-muted) !important; font-size: .72rem !important; font-weight: 800 !important;
}
body.workspace-shell-v35 .sidebar-footer-actions .ui-icon { width: 15px !important; height: 15px !important; }

body.workspace-shell-v35.sidebar-collapsed .platform-sidebar-v22 { width: var(--v35-sidebar-collapsed) !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-head-copy,
body.workspace-shell-v35.sidebar-collapsed .sidebar-filter-wrap,
body.workspace-shell-v35.sidebar-collapsed .sidebar-group-toggle span,
body.workspace-shell-v35.sidebar-collapsed .sidebar-group-toggle i,
body.workspace-shell-v35.sidebar-collapsed .sidebar-label,
body.workspace-shell-v35.sidebar-collapsed .sidebar-footer-actions span,
body.workspace-shell-v35.sidebar-collapsed .sidebar-mini-home { display: none !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-shell-head { justify-content: center !important; min-height: 60px !important; padding: 12px !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-collapse-control .ui-icon { transform: rotate(180deg); }
body.workspace-shell-v35.sidebar-collapsed .sidebar-scrollarea { padding: 8px !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-group-links > a { grid-template-columns: 1fr !important; justify-items: center !important; padding: 5px !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-icon { width: 36px !important; height: 36px !important; }
body.workspace-shell-v35.sidebar-collapsed .sidebar-footer-actions a { flex: 0 0 44px; }

/* ---- Page headings / dashboard ---------------------------------------- */
body.workspace-shell-v35 .sw29-workspace-intro {
  min-height: 36px !important; margin: -2px 0 0 !important; padding: 0 2px !important;
  display: flex !important; align-items: center !important; gap: 8px !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--v35-muted) !important; font-size: .68rem !important; font-weight: 850 !important; letter-spacing: .06em !important;
}
body.workspace-shell-v35 .sw29-workspace-brand img { width: 26px !important; height: 26px !important; }
body.workspace-shell-v35 .sw29-workspace-intro a { margin-left: auto !important; color: var(--v35-muted) !important; font-size: .72rem !important; letter-spacing: 0 !important; }
body.workspace-shell-v35 .dashboard-topbar,
body.workspace-shell-v35 .dash-hero,
body.workspace-shell-v35 .v35-page-heading {
  width: 100% !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 22px !important;
  padding: clamp(22px, 2.4vw, 34px) !important;
  border: 1px solid var(--v35-border) !important; border-radius: var(--v35-radius-lg) !important;
  background: var(--v35-surface) !important; box-shadow: var(--v35-shadow-1) !important;
}
body.workspace-shell-v35 .dashboard-topbar::after,
body.workspace-shell-v35 .dash-hero::after { display: none !important; }
body.workspace-shell-v35 .dash-main .eyebrow {
  padding: 5px 9px !important; border: 1px solid color-mix(in srgb, var(--v35-teal) 22%, var(--v35-border)) !important;
  border-radius: 999px !important; background: color-mix(in srgb, var(--v35-teal) 6%, var(--v35-surface)) !important;
  color: var(--v35-teal) !important; font-size: .64rem !important; line-height: 1.2 !important; font-weight: 900 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
}
body.workspace-shell-v35 .dash-main .page-title {
  margin: 8px 0 8px !important; color: var(--v35-text) !important;
  font-size: clamp(1.75rem, 2.45vw, 2.65rem) !important; line-height: 1.05 !important; letter-spacing: -.045em !important;
}
body.workspace-shell-v35 .dash-main .lead {
  margin: 0 !important; max-width: 820px !important; color: var(--v35-muted) !important; font-size: .96rem !important; line-height: 1.62 !important;
}
body.workspace-shell-v35 .dashboard-topbar-actions { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important; margin: 0 !important; }

/* Buttons are rectangular, not consumer-app pills, inside the workspace. */
body.workspace-shell-v35 .dash-main .btn,
body.workspace-shell-v35 .workspace-footer .btn,
body.workspace-shell-v35 .sidebar .btn {
  min-height: 42px !important; padding: 9px 14px !important; border-radius: 11px !important; font-size: .78rem !important; font-weight: 850 !important; box-shadow: none !important;
}
body.workspace-shell-v35 .dash-main .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger) {
  background: var(--v35-teal) !important; border: 1px solid var(--v35-teal) !important; color: #fff !important;
}
body.workspace-shell-v35 .dash-main .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger):hover { background: var(--v35-teal-strong) !important; transform: none !important; }
body.workspace-shell-v35 .dash-main .btn-secondary,
body.workspace-shell-v35 .dash-main .btn-ghost {
  background: var(--v35-surface) !important; border: 1px solid var(--v35-border) !important; color: var(--v35-text) !important;
}
body.workspace-shell-v35 .dash-main .btn .ui-icon { width: 16px; height: 16px; }

/* ---- Cards / metrics --------------------------------------------------- */
body.workspace-shell-v35 .panel,
body.workspace-shell-v35 .card,
body.workspace-shell-v35 .metric-card,
body.workspace-shell-v35 .insight-card {
  border: 1px solid var(--v35-border) !important;
  border-radius: var(--v35-radius) !important;
  background: var(--v35-surface) !important;
  box-shadow: var(--v35-shadow-1) !important;
}
body.workspace-shell-v35 .panel { padding: clamp(18px, 2vw, 24px) !important; }
body.workspace-shell-v35 .dashboard-metrics-row { gap: 14px !important; }
body.workspace-shell-v35 .platform-metric {
  position: relative !important; min-height: 138px !important; padding: 17px 18px !important; overflow: hidden !important;
  display: flex !important; flex-direction: column !important; justify-content: space-between !important;
}
body.workspace-shell-v35 .platform-metric::after {
  content: ""; position: absolute; width: 82px; height: 82px; border-radius: 50%; right: -25px; bottom: -29px;
  background: color-mix(in srgb, var(--v35-teal) 7%, transparent); pointer-events: none;
}
body.workspace-shell-v35 .v35-metric-head { display: flex !important; align-items: center !important; gap: 9px !important; }
body.workspace-shell-v35 .v35-metric-icon {
  width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px;
  background: color-mix(in srgb, var(--v35-teal) 8%, var(--v35-surface-soft)); color: var(--v35-teal);
}
body.workspace-shell-v35 .v35-metric-icon .ui-icon { width: 16px; height: 16px; }
body.workspace-shell-v35 .metric-label {
  color: var(--v35-muted) !important; font-size: .64rem !important; font-weight: 900 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
}
body.workspace-shell-v35 .platform-metric .stat {
  margin: 10px 0 1px !important; color: var(--v35-text) !important; font-size: clamp(1.72rem, 2.2vw, 2.25rem) !important; line-height: 1 !important; letter-spacing: -.045em !important;
}
body.workspace-shell-v35 .platform-metric .tiny { color: var(--v35-muted) !important; font-size: .72rem !important; }
body.workspace-shell-v35 .platform-metric.success { border-bottom: 3px solid color-mix(in srgb, var(--v35-teal) 72%, transparent) !important; }
body.workspace-shell-v35 .platform-metric.warning { border-bottom: 3px solid #e6a13c !important; }
body.workspace-shell-v35 .platform-metric.danger { border-bottom: 3px solid #df5b6c !important; }

body.workspace-shell-v35 .section-head.compact { margin: 0 0 15px !important; align-items: flex-end !important; }
body.workspace-shell-v35 .section-head.compact h2,
body.workspace-shell-v35 .panel h2 {
  margin: 5px 0 0 !important; color: var(--v35-text) !important; font-size: 1.16rem !important; line-height: 1.25 !important; letter-spacing: -.025em !important;
}
body.workspace-shell-v35 .panel h3 { color: var(--v35-text) !important; }
body.workspace-shell-v35 .muted { color: var(--v35-muted) !important; }

body.workspace-shell-v35 .v28-quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 10px !important; }
body.workspace-shell-v35 .v28-quick-card {
  min-height: 110px !important; display: grid !important; grid-template-columns: 38px minmax(0,1fr) !important; grid-template-rows: auto auto !important;
  column-gap: 11px !important; row-gap: 2px !important; align-content: center !important;
  padding: 15px !important; border: 1px solid var(--v35-border) !important; border-radius: 13px !important;
  background: var(--v35-surface-soft) !important; box-shadow: none !important; color: var(--v35-text) !important;
}
body.workspace-shell-v35 .v28-quick-card:hover { border-color: color-mix(in srgb, var(--v35-teal) 35%, var(--v35-border)) !important; background: color-mix(in srgb, var(--v35-teal) 4%, var(--v35-surface)) !important; transform: translateY(-1px) !important; }
body.workspace-shell-v35 .quick-icon,
body.workspace-shell-v35 .v28-item-icon {
  width: 36px !important; height: 36px !important; display: grid !important; place-items: center !important; grid-row: 1 / span 2 !important;
  border-radius: 10px !important; background: color-mix(in srgb, var(--v35-teal) 8%, var(--v35-surface)) !important; color: var(--v35-teal) !important;
}
body.workspace-shell-v35 .quick-icon .ui-icon,
body.workspace-shell-v35 .v28-item-icon .ui-icon { width: 18px !important; height: 18px !important; }
body.workspace-shell-v35 .v28-quick-card strong { align-self: end !important; font-size: .82rem !important; }
body.workspace-shell-v35 .v28-quick-card small { align-self: start !important; color: var(--v35-muted) !important; font-size: .72rem !important; line-height: 1.45 !important; }
body.workspace-shell-v35 .dashboard-grid-main { grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr) !important; gap: 14px !important; }
body.workspace-shell-v35 .v28-activity-list,
body.workspace-shell-v35 .v28-attention-list { display: grid !important; gap: 7px !important; }
body.workspace-shell-v35 .v28-activity-item,
body.workspace-shell-v35 .v28-attention-item {
  min-height: 58px !important; display: grid !important; grid-template-columns: 36px minmax(0,1fr) 20px !important; align-items: center !important; gap: 11px !important;
  padding: 9px 10px !important; border: 1px solid var(--v35-border) !important; border-radius: 11px !important; background: var(--v35-surface-soft) !important;
}
body.workspace-shell-v35 .v28-activity-item strong,
body.workspace-shell-v35 .v28-attention-item strong { color: var(--v35-text) !important; font-size: .79rem !important; }
body.workspace-shell-v35 .v28-activity-item small,
body.workspace-shell-v35 .v28-attention-item small { color: var(--v35-muted) !important; font-size: .68rem !important; }
body.workspace-shell-v35 .v28-item-arrow { color: var(--v35-subtle) !important; }
body.workspace-shell-v35 .v28-item-arrow .ui-icon { width: 15px !important; height: 15px !important; }

/* ---- Forms / tables ---------------------------------------------------- */
body.workspace-shell-v35 .dash-main input:not([type="checkbox"]):not([type="radio"]),
body.workspace-shell-v35 .dash-main select,
body.workspace-shell-v35 .dash-main textarea {
  min-height: 44px !important; border: 1px solid var(--v35-border) !important; border-radius: 11px !important;
  background: var(--v35-surface) !important; color: var(--v35-text) !important; padding: 10px 12px !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent) !important;
}
body.workspace-shell-v35 .dash-main textarea { min-height: 120px !important; }
body.workspace-shell-v35 .dash-main input:focus,
body.workspace-shell-v35 .dash-main select:focus,
body.workspace-shell-v35 .dash-main textarea:focus,
body.workspace-shell-v35 button:focus-visible,
body.workspace-shell-v35 a:focus-visible {
  outline: 0 !important; border-color: color-mix(in srgb, var(--v35-teal) 55%, var(--v35-border)) !important; box-shadow: 0 0 0 4px var(--v35-focus) !important;
}
body.workspace-shell-v35 .table-wrap {
  width: 100% !important; overflow: auto !important; border: 1px solid var(--v35-border) !important; border-radius: 12px !important; background: var(--v35-surface) !important;
}
body.workspace-shell-v35 .table { width: 100% !important; border-collapse: separate !important; border-spacing: 0 !important; }
body.workspace-shell-v35 .table th {
  padding: 10px 12px !important; background: var(--v35-surface-soft) !important; color: var(--v35-muted) !important;
  font-size: .64rem !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: .07em !important; border-bottom: 1px solid var(--v35-border) !important;
}
body.workspace-shell-v35 .table td { padding: 11px 12px !important; color: var(--v35-text) !important; font-size: .76rem !important; border-bottom: 1px solid var(--v35-border) !important; }
body.workspace-shell-v35 .table tr:last-child td { border-bottom: 0 !important; }

/* ---- Context sub-navigation ------------------------------------------- */
body.workspace-shell-v35 .context-subnav-v28 {
  position: sticky !important; top: var(--v35-header-h) !important; z-index: 130 !important;
  border: 0 !important; border-bottom: 1px solid var(--v35-border) !important; background: color-mix(in srgb, var(--v35-surface) 97%, transparent) !important; box-shadow: none !important;
}
body.workspace-shell-v35 .context-subnav-inner { max-width: var(--v35-content-max) !important; padding: 7px var(--v35-gutter) !important; min-height: 44px !important; }
body.workspace-shell-v35 .context-subnav-label { font-size: .65rem !important; color: var(--v35-subtle) !important; }
body.workspace-shell-v35 .context-subnav-links a { padding: 6px 9px !important; border-radius: 8px !important; font-size: .7rem !important; color: var(--v35-muted) !important; }
body.workspace-shell-v35 .context-subnav-links a.active { background: color-mix(in srgb, var(--v35-teal) 10%, var(--v35-surface)) !important; color: var(--v35-teal) !important; }

/* ---- Checkout / billing ----------------------------------------------- */
.v35-checkout-grid { display: grid; grid-template-columns: minmax(300px,.75fr) minmax(420px,1.25fr); gap: 16px; align-items: start; }
.v35-card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.v35-card-heading h2 { margin: 2px 0 0 !important; }
.v35-icon-chip {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px;
  background: color-mix(in srgb, var(--v35-teal, #078f77) 9%, var(--v35-surface, #fff)); color: var(--v35-teal, #078f77); border: 1px solid color-mix(in srgb, var(--v35-teal, #078f77) 18%, var(--v35-border, #ddd));
}
.v35-icon-chip.large { width: 48px; height: 48px; margin-bottom: 11px; border-radius: 14px; }
.v35-icon-chip .ui-icon { width: 19px; height: 19px; }
.v35-security-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 10px; border: 1px solid var(--v35-border); border-radius: 999px; color: var(--v35-muted); font-size: .72rem; font-weight: 800; }
.v35-security-pill .ui-icon { width: 15px; height: 15px; color: var(--v35-teal); }
.v35-checkout-price { padding: 18px 0; border-top: 1px solid var(--v35-border); border-bottom: 1px solid var(--v35-border); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.v35-checkout-price strong { color: var(--v35-text); font-size: 1.8rem; letter-spacing: -.04em; }
.v35-checkout-price span { color: var(--v35-muted); font-size: .76rem; }
.v35-plan-facts { display: grid; gap: 0; margin: 12px 0 16px; }
.v35-plan-facts > div, .v35-customer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; border-bottom: 1px solid var(--v35-border); color: var(--v35-muted); font-size: .76rem; }
.v35-plan-facts strong, .v35-customer-row strong { color: var(--v35-text); font-size: .78rem; }
.v35-security-notice { display: grid; grid-template-columns: 30px 1fr; gap: 10px; margin: 18px 0; padding: 13px; border: 1px solid color-mix(in srgb, var(--v35-teal) 24%, var(--v35-border)); border-radius: 12px; background: color-mix(in srgb, var(--v35-teal) 5%, var(--v35-surface)); }
.v35-security-notice > .ui-icon { width: 22px; height: 22px; color: var(--v35-teal); }
.v35-security-notice strong { display: block; color: var(--v35-text); font-size: .77rem; }
.v35-security-notice p { margin: 3px 0 0; color: var(--v35-muted); font-size: .7rem; line-height: 1.5; }
.v35-consent-row { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin: 14px 0 !important; color: var(--v35-muted, var(--muted)) !important; font-size: .75rem !important; line-height: 1.5 !important; font-weight: 650 !important; }
.v35-consent-row input { width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; flex: 0 0 auto; accent-color: var(--v35-teal,#078f77); }
.v35-consent-row a { color: var(--v35-teal,#078f77); text-decoration: underline; text-underline-offset: 2px; }
.v35-checkout-primary { width: 100%; min-height: 48px !important; }
.v35-verification-card, .v35-result-card { max-width: 760px; margin: 16px auto 0; text-align: center; }
.v35-verification-card .v35-icon-chip, .v35-result-card .v35-icon-chip { margin-left: auto; margin-right: auto; }
.v35-verification-status { width: fit-content; margin: 20px auto; display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--v35-border); border-radius: 999px; color: var(--v35-text); }
.v35-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--v35-teal); box-shadow: 0 0 0 5px color-mix(in srgb,var(--v35-teal) 10%,transparent); }
.v35-verification-card .quick-actions, .v35-result-card .quick-actions { justify-content: center; }
.v35-billing-summary { gap: 14px !important; }
.v35-plan-details { margin: 6px 0 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v35-plan-details summary { padding: 10px 0; cursor: pointer; color: var(--muted); font-size: .78rem; font-weight: 800; }
.v35-plan-details > div { display: grid; gap: 6px; padding: 0 0 12px; color: var(--muted); font-size: .75rem; }
.v35-selected-plan { display: flex; align-items: baseline; gap: 8px; margin: 20px 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb,var(--brand-2) 5%,var(--panel)); }
.v35-selected-plan span { font-size: .72rem; font-weight: 900; color: var(--muted); }
.v35-selected-plan strong { font-size: 1.65rem; color: var(--text); letter-spacing: -.04em; }
.v35-selected-plan small { margin-left: auto; color: var(--muted); }

/* ---- Integration / security status cards ------------------------------ */
.v35-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.v35-status-card { position: relative; min-height: 175px; display: flex; flex-direction: column; gap: 9px; padding: 18px; border: 1px solid var(--v35-border); border-radius: 14px; background: var(--v35-surface); box-shadow: var(--v35-shadow-1); }
.v35-status-card .v35-icon-chip { margin-bottom: 2px; }
.v35-status-card h3 { margin: 0 !important; font-size: .94rem !important; }
.v35-status-card p { margin: 0; color: var(--v35-muted); font-size: .73rem; line-height: 1.5; }
.v35-status-card .v35-status-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.v35-state { display: inline-flex; align-items: center; gap: 6px; color: var(--v35-muted); font-size: .68rem; font-weight: 850; }
.v35-state::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #9aa6b2; }
.v35-state.connected::before, .v35-state.ready::before { background: #159a7f; }
.v35-state.warning::before { background: #e3a23f; }
.v35-state.error::before { background: #db5668; }
.v35-status-card .v35-link { color: var(--v35-teal); font-size: .7rem; font-weight: 850; }
.v35-security-checklist { display: grid; gap: 8px; }
.v35-security-check { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--v35-border); border-radius: 11px; background: var(--v35-surface-soft); }
.v35-security-check .v35-icon-chip { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
.v35-security-check strong { display: block; color: var(--v35-text); font-size: .76rem; }
.v35-security-check small { display: block; color: var(--v35-muted); font-size: .67rem; margin-top: 2px; }

/* ---- Popovers / command palette --------------------------------------- */
body.workspace-shell-v35 .notification-popover,
body.workspace-shell-v35 .user-popover,
body.workspace-shell-v35 .command-panel {
  border: 1px solid var(--v35-border) !important; border-radius: 14px !important; background: var(--v35-surface) !important; box-shadow: var(--v35-shadow-2) !important;
}

/* ---- Workspace footer ------------------------------------------------- */
body.workspace-shell-v35 .workspace-footer {
  margin: 0 !important; padding: 0 var(--v35-gutter) 24px !important; background: transparent !important; border: 0 !important;
}
body.workspace-shell-v35 .workspace-footer-shell {
  width: min(calc(100% - var(--v35-sidebar-w) - var(--v35-gutter)), calc(var(--v35-content-max) - var(--v35-sidebar-w) - var(--v35-gutter))) !important;
  margin-left: calc(var(--v35-sidebar-w) + var(--v35-gutter)) !important;
  border: 1px solid var(--v35-border) !important; border-radius: 14px !important; background: var(--v35-surface) !important; box-shadow: var(--v35-shadow-1) !important;
}
body.workspace-shell-v35.sidebar-collapsed .workspace-footer-shell { width: calc(100% - var(--v35-sidebar-collapsed) - var(--v35-gutter)) !important; margin-left: calc(var(--v35-sidebar-collapsed) + var(--v35-gutter)) !important; }
body.workspace-shell-v35 .workspace-footer-content { min-height: 58px !important; padding: 10px 14px !important; display: flex !important; align-items: center !important; gap: 16px !important; }
body.workspace-shell-v35 .workspace-footer-brand strong { color: var(--v35-text) !important; font-size: .74rem !important; }
body.workspace-shell-v35 .workspace-footer-brand span,
body.workspace-shell-v35 .workspace-footer-copy { color: var(--v35-subtle) !important; font-size: .64rem !important; }
body.workspace-shell-v35 .workspace-footer-links { margin-left: auto !important; display: flex !important; gap: 12px !important; }
body.workspace-shell-v35 .workspace-footer-links a { color: var(--v35-muted) !important; font-size: .68rem !important; font-weight: 750 !important; }

/* ---- Public production trust/legal pages ------------------------------ */
body.public-shell-v35 .v35-public-doc { max-width: 980px; margin: 0 auto; padding: 64px 22px 90px; }
body.public-shell-v35 .v35-public-doc-header { max-width: 780px; margin-bottom: 26px; }
body.public-shell-v35 .v35-public-doc-header .page-title { font-size: clamp(2.2rem,4vw,3.7rem); }
body.public-shell-v35 .v35-doc-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
body.public-shell-v35 .v35-doc-section { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
body.public-shell-v35 .v35-doc-section h2 { margin: 0 0 8px; font-size: 1.25rem; }
body.public-shell-v35 .v35-doc-section p, body.public-shell-v35 .v35-doc-section li { color: var(--muted); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  body.workspace-shell-v35 { --v35-sidebar-w: 260px; }
  body.workspace-shell-v35 .backend-header .command-btn kbd { display: none !important; }
  body.workspace-shell-v35 .v28-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.workspace-shell-v35 .dashboard-metrics-row { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .v35-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  body.workspace-shell-v35 .site-header.backend-header { grid-template-columns: auto minmax(0,1fr) auto !important; padding: 0 14px !important; }
  body.workspace-shell-v35 .backend-header .header-left { width: auto !important; }
  body.workspace-shell-v35 .backend-header .brand-copy { display: none !important; }
  body.workspace-shell-v35 .sidebar-toggle { display: inline-grid !important; place-items: center !important; width: 40px !important; padding: 0 !important; }
  body.workspace-shell-v35 .sidebar-toggle-label { display: none !important; }
  body.workspace-shell-v35 .workspace-header-context { padding-left: 10px !important; }
  body.workspace-shell-v35 .workspace-header-context span { display: none !important; }
  body.workspace-shell-v35 .command-btn span { display: none !important; }
  body.workspace-shell-v35 .user-chip-name { display: none !important; }
  body.workspace-shell-v35 .breadcrumb-shell,
  body.workspace-shell-v35.sidebar-collapsed .breadcrumb-shell { width: auto !important; margin: 0 16px !important; padding-top: 10px !important; }
  body.workspace-shell-v35 .dashboard,
  body.workspace-shell-v35.sidebar-collapsed .dashboard { display: block !important; padding: 0 16px 28px !important; }
  body.workspace-shell-v35 .platform-sidebar-v22 {
    position: fixed !important; z-index: 220 !important; top: var(--v35-header-h) !important; left: 0 !important; bottom: 0 !important;
    width: min(86vw, 310px) !important; height: calc(100dvh - var(--v35-header-h)) !important; max-height: none !important;
    border-radius: 0 18px 18px 0 !important; transform: translateX(-104%) !important; transition: transform .2s ease !important;
    box-shadow: 18px 0 50px rgba(0,0,0,.18) !important;
  }
  body.workspace-shell-v35.sidebar-open .platform-sidebar-v22 { transform: translateX(0) !important; }
  body.workspace-shell-v35.sidebar-collapsed .platform-sidebar-v22 { width: min(86vw,310px) !important; }
  body.workspace-shell-v35.sidebar-collapsed .sidebar-head-copy,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-filter-wrap,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-group-toggle span,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-group-toggle i,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-label,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-footer-actions span,
  body.workspace-shell-v35.sidebar-collapsed .sidebar-mini-home { display: revert !important; }
  body.workspace-shell-v35 .dashboard-grid-main { grid-template-columns: 1fr !important; }
  body.workspace-shell-v35 .workspace-footer-shell,
  body.workspace-shell-v35.sidebar-collapsed .workspace-footer-shell { width: 100% !important; margin: 0 !important; }
  body.workspace-shell-v35 .workspace-footer { padding: 0 16px 20px !important; }
  .v35-checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body.workspace-shell-v35 .workspace-header-context strong { max-width: 34vw; font-size: .78rem !important; }
  body.workspace-shell-v35 .command-btn { display: none !important; }
  body.workspace-shell-v35 .dashboard-topbar,
  body.workspace-shell-v35 .dash-hero,
  body.workspace-shell-v35 .v35-page-heading { align-items: flex-start !important; flex-direction: column !important; padding: 20px !important; }
  body.workspace-shell-v35 .dashboard-topbar-actions { width: 100% !important; display: grid !important; grid-template-columns: 1fr 1fr !important; }
  body.workspace-shell-v35 .dashboard-topbar-actions .btn:first-child { grid-column: 1 / -1; }
  body.workspace-shell-v35 .dashboard-metrics-row { grid-template-columns: 1fr 1fr !important; gap: 9px !important; }
  body.workspace-shell-v35 .platform-metric { min-height: 120px !important; padding: 14px !important; }
  body.workspace-shell-v35 .v28-quick-grid { grid-template-columns: 1fr !important; }
  body.workspace-shell-v35 .v28-quick-card { min-height: 92px !important; }
  body.workspace-shell-v35 .workspace-footer-content { align-items: flex-start !important; flex-direction: column !important; }
  body.workspace-shell-v35 .workspace-footer-links { margin-left: 0 !important; flex-wrap: wrap !important; }
  .v35-status-grid { grid-template-columns: 1fr; }
  .v35-security-pill { white-space: normal; }
  .v35-selected-plan { align-items: flex-start; flex-direction: column; }
  .v35-selected-plan small { margin-left: 0; }
}

@media (max-width: 470px) {
  body.workspace-shell-v35 .dashboard-metrics-row { grid-template-columns: 1fr !important; }
  body.workspace-shell-v35 .backend-header .brand-logo-img,
  body.workspace-shell-v35 .backend-header .brand-logo-img img { width: 36px !important; height: 36px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.production-shell-v35 *, body.production-shell-v35 *::before, body.production-shell-v35 *::after {
    scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  }
}

@media print {
  body.workspace-shell-v35 .site-header,
  body.workspace-shell-v35 .sidebar,
  body.workspace-shell-v35 .breadcrumb-shell,
  body.workspace-shell-v35 .workspace-footer,
  body.workspace-shell-v35 .context-subnav-v28 { display: none !important; }
  body.workspace-shell-v35 .dashboard { display: block !important; max-width: none !important; padding: 0 !important; }
  body.workspace-shell-v35 .panel, body.workspace-shell-v35 .metric-card { box-shadow: none !important; break-inside: avoid; }
}

/* ========================================================================
   V35.1 — Platform-wide production surfaces
   ======================================================================== */

/* Shared icon language: eliminate mixed emoji/glyph presentation. */
body.production-shell-v35 .module-icon,
body.production-shell-v35 .sw29-tile-icon {
  display: inline-grid !important;
  place-items: center !important;
}
body.production-shell-v35 .module-icon .ui-icon,
body.production-shell-v35 .sw29-tile-icon .ui-icon { width: 22px !important; height: 22px !important; }
body.production-shell-v35 .sw29-product-link-row a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}
body.production-shell-v35 .sw29-product-link-row a .ui-icon { width: 16px !important; height: 16px !important; flex: 0 0 auto !important; }

/* Workspace page heading controls */
body.workspace-shell-v35 .v35-heading-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* Dashboard connected-workspace strip */
body.workspace-shell-v35 .v35-dashboard-connections .section-head { margin-bottom: 15px !important; }
body.workspace-shell-v35 .v35-connection-strip {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
body.workspace-shell-v35 .v35-connection-strip > a {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  align-items: center !important;
  min-height: 82px !important;
  padding: 13px !important;
  border: 1px solid var(--v35-border) !important;
  border-radius: 13px !important;
  background: var(--v35-surface-soft) !important;
  color: var(--v35-text) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.workspace-shell-v35 .v35-connection-strip > a:hover {
  border-color: color-mix(in srgb, var(--v35-teal) 42%, var(--v35-border)) !important;
  background: var(--v35-surface) !important;
}
body.workspace-shell-v35 .v35-connection-strip > a > span {
  grid-row: 1 / 3 !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  color: var(--v35-teal) !important;
  background: color-mix(in srgb, var(--v35-teal) 9%, var(--v35-surface)) !important;
}
body.workspace-shell-v35 .v35-connection-strip > a > span .ui-icon { width: 18px !important; height: 18px !important; }
body.workspace-shell-v35 .v35-connection-strip strong { min-width: 0; font-size: .8rem !important; font-weight: 850 !important; }
body.workspace-shell-v35 .v35-connection-strip small { min-width: 0; color: var(--v35-muted) !important; font-size: .69rem !important; line-height: 1.35 !important; overflow: hidden; text-overflow: ellipsis; }

/* Integration hub */
body.workspace-shell-v35 .v35-integration-summary { gap: 14px !important; }
body.workspace-shell-v35 .v35-integration-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.workspace-shell-v35 .v35-integration-card {
  min-width: 0 !important;
  min-height: 228px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px !important;
  border: 1px solid var(--v35-border) !important;
  border-radius: 14px !important;
  background: var(--v35-surface-soft) !important;
}
body.workspace-shell-v35 .v35-integration-card-head { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; }
body.workspace-shell-v35 .v35-integration-icon {
  width: 42px !important; height: 42px !important; display: grid !important; place-items: center !important;
  border-radius: 12px !important; background: color-mix(in srgb, var(--v35-teal) 10%, var(--v35-surface)) !important; color: var(--v35-teal) !important;
}
body.workspace-shell-v35 .v35-integration-icon .ui-icon { width: 21px !important; height: 21px !important; }
body.workspace-shell-v35 .v35-integration-card h3 { margin: 0 0 7px !important; color: var(--v35-text) !important; font-size: 1rem !important; }
body.workspace-shell-v35 .v35-integration-card p { margin: 0 !important; color: var(--v35-muted) !important; font-size: .79rem !important; line-height: 1.55 !important; }
body.workspace-shell-v35 .v35-card-link { display: inline-flex !important; align-items: center !important; gap: 6px !important; color: var(--v35-teal) !important; font-weight: 850 !important; font-size: .76rem !important; }
body.workspace-shell-v35 .v35-card-link .ui-icon { width: 15px !important; height: 15px !important; }
body.workspace-shell-v35 .v35-security-callout {
  display: grid !important; grid-template-columns: 48px minmax(0,1fr) auto !important; gap: 16px !important; align-items: center !important;
}
body.workspace-shell-v35 .v35-security-callout-icon {
  width: 48px !important; height: 48px !important; display: grid !important; place-items: center !important; border-radius: 13px !important;
  background: color-mix(in srgb, var(--v35-blue) 10%, var(--v35-surface-soft)) !important; color: var(--v35-blue) !important;
}
body.workspace-shell-v35 .v35-security-callout-icon .ui-icon { width: 24px !important; height: 24px !important; }
body.workspace-shell-v35 .v35-security-callout h2 { margin: 7px 0 5px !important; font-size: 1.05rem !important; }

/* Admin security center */
body.workspace-shell-v35 .v35-security-checks { display: grid !important; gap: 9px !important; }
body.workspace-shell-v35 .v35-security-check {
  display: grid !important; grid-template-columns: 38px minmax(0,1fr) !important; gap: 12px !important; align-items: start !important;
  padding: 13px !important; border: 1px solid var(--v35-border) !important; border-radius: 12px !important; background: var(--v35-surface-soft) !important;
}
body.workspace-shell-v35 .v35-security-check.is-fail { border-color: color-mix(in srgb, #b45309 34%, var(--v35-border)) !important; }
body.workspace-shell-v35 .v35-check-icon { width: 36px !important; height: 36px !important; display: grid !important; place-items: center !important; border-radius: 10px !important; background: color-mix(in srgb, var(--v35-teal) 8%, var(--v35-surface)) !important; color: var(--v35-teal) !important; }
body.workspace-shell-v35 .v35-security-check.is-fail .v35-check-icon { color: #b45309 !important; background: color-mix(in srgb, #b45309 8%, var(--v35-surface)) !important; }
body.workspace-shell-v35 .v35-check-icon .ui-icon { width: 18px !important; height: 18px !important; }
body.workspace-shell-v35 .v35-check-copy p { margin: 4px 0 0 !important; color: var(--v35-muted) !important; font-size: .76rem !important; line-height: 1.5 !important; }
body.workspace-shell-v35 .v35-check-copy small { display: block !important; margin-top: 6px !important; color: var(--v35-text) !important; font-weight: 720 !important; font-size: .71rem !important; }
body.workspace-shell-v35 .v35-check-title { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
body.workspace-shell-v35 .v35-check-title strong { color: var(--v35-text) !important; font-size: .82rem !important; }
body.workspace-shell-v35 .v35-control-list { display: grid !important; gap: 9px !important; margin: 14px 0 18px !important; }
body.workspace-shell-v35 .v35-control-list-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
body.workspace-shell-v35 .v35-control-list > div { display: grid !important; grid-template-columns: 34px minmax(0,1fr) !important; gap: 10px !important; align-items: start !important; padding: 11px 0 !important; border-bottom: 1px solid var(--v35-border) !important; }
body.workspace-shell-v35 .v35-control-list > div > .ui-icon { width: 19px !important; height: 19px !important; color: var(--v35-teal) !important; margin: 2px 0 0 7px !important; }
body.workspace-shell-v35 .v35-control-list span { display: grid !important; gap: 3px !important; }
body.workspace-shell-v35 .v35-control-list strong { color: var(--v35-text) !important; font-size: .79rem !important; }
body.workspace-shell-v35 .v35-control-list small { color: var(--v35-muted) !important; font-size: .7rem !important; line-height: 1.45 !important; }
body.workspace-shell-v35 .v35-critical-note { display: grid !important; grid-template-columns: 40px minmax(0,1fr) !important; gap: 13px !important; align-items: start !important; border-color: color-mix(in srgb, #b45309 30%, var(--v35-border)) !important; }
body.workspace-shell-v35 .v35-critical-note > .ui-icon { width: 24px !important; height: 24px !important; color: #b45309 !important; margin: 3px 0 0 6px !important; }
body.workspace-shell-v35 .v35-critical-note p { margin: 5px 0 0 !important; color: var(--v35-muted) !important; font-size: .78rem !important; line-height: 1.55 !important; }
body.workspace-shell-v35 .code-block { padding: 13px 15px !important; border: 1px solid var(--v35-border) !important; border-radius: 10px !important; background: #0d1722 !important; color: #d8eef4 !important; font: 700 .75rem/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; overflow-x: auto !important; }
body.workspace-shell-v35 .v35-event-tags { margin-top: 13px !important; }
body.workspace-shell-v35 .v35-event-tags span { font-size: .63rem !important; }

/* Public trust/legal documentation */
body.public-shell-v35 .v35-public-doc { min-height: 60vh; padding: clamp(34px, 5vw, 78px) 0 70px !important; }
body.public-shell-v35 .v35-doc-hero { max-width: 980px !important; text-align: center !important; }
body.public-shell-v35 .v35-doc-hero h1 { max-width: 880px !important; margin: 12px auto 14px !important; font-size: clamp(2.2rem, 5vw, 4.4rem) !important; line-height: 1.01 !important; letter-spacing: -.055em !important; }
body.public-shell-v35 .v35-doc-hero .lead { max-width: 820px !important; margin: 0 auto !important; }
body.public-shell-v35 .v35-doc-actions { margin-top: 23px !important; display: flex !important; justify-content: center !important; gap: 10px !important; flex-wrap: wrap !important; }
body.public-shell-v35 .v35-doc-grid { margin-top: 34px !important; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 14px !important; }
body.public-shell-v35 .v35-doc-grid .panel { min-height: 230px !important; padding: 22px !important; }
body.public-shell-v35 .v35-doc-icon { width: 44px !important; height: 44px !important; display: grid !important; place-items: center !important; border-radius: 12px !important; background: color-mix(in srgb, var(--brand-2,#078f77) 10%, var(--panel,#fff)) !important; color: var(--brand-2,#078f77) !important; margin-bottom: 16px !important; }
body.public-shell-v35 .v35-doc-icon .ui-icon { width: 22px !important; height: 22px !important; }
body.public-shell-v35 .v35-doc-grid h2 { font-size: 1.08rem !important; margin: 0 0 8px !important; }
body.public-shell-v35 .v35-doc-grid p { color: var(--muted,#637083) !important; font-size: .85rem !important; line-height: 1.65 !important; }
body.public-shell-v35 .v35-doc-section { margin-top: 15px !important; }
body.public-shell-v35 .v35-doc-wide { max-width: 1000px !important; margin: 0 auto !important; padding: 26px !important; }
body.public-shell-v35 .v35-legal-copy { max-width: 980px !important; margin: 36px auto 0 !important; padding: clamp(24px,4vw,44px) !important; }
body.public-shell-v35 .v35-legal-copy h2 { margin: 28px 0 8px !important; font-size: 1.12rem !important; }
body.public-shell-v35 .v35-legal-copy h2:first-child { margin-top: 0 !important; }
body.public-shell-v35 .v35-legal-copy p { color: var(--muted,#637083) !important; line-height: 1.75 !important; }

@media (max-width: 1180px) {
  body.workspace-shell-v35 .v35-connection-strip { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  body.workspace-shell-v35 .v35-integration-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 900px) {
  body.workspace-shell-v35 .v35-connection-strip,
  body.workspace-shell-v35 .v35-control-list-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.workspace-shell-v35 .v35-security-callout { grid-template-columns: 44px minmax(0,1fr) !important; }
  body.workspace-shell-v35 .v35-security-callout .btn { grid-column: 1 / -1 !important; justify-self: start !important; }
  body.public-shell-v35 .v35-doc-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  body.workspace-shell-v35 .v35-connection-strip,
  body.workspace-shell-v35 .v35-integration-grid,
  body.workspace-shell-v35 .v35-control-list-grid { grid-template-columns: 1fr !important; }
  body.workspace-shell-v35 .v35-heading-actions { width: 100% !important; justify-content: flex-start !important; }
  body.public-shell-v35 .v35-doc-grid { grid-template-columns: 1fr !important; }
  body.public-shell-v35 .v35-doc-hero { text-align: left !important; }
  body.public-shell-v35 .v35-doc-hero h1,
  body.public-shell-v35 .v35-doc-hero .lead { margin-left: 0 !important; }
  body.public-shell-v35 .v35-doc-actions { justify-content: flex-start !important; }
}

/* V35.2 billing lifecycle: pending activation and safe PayPal plan revisions */
body.public-shell-v35 .v35-pending-page { min-height: 68vh; padding: clamp(34px, 5vw, 72px) 0 72px !important; }
body.public-shell-v35 .v35-pending-wrap { max-width: 1180px !important; }
body.public-shell-v35 .v35-pending-wrap .public-heading { margin-bottom: 20px !important; }
body.public-shell-v35 .v35-pending-wrap .v35-checkout-grid {
  display: grid !important;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) !important;
  gap: 16px !important;
  align-items: start !important;
}
.v35-transfer-details { margin: 18px 0 !important; display: grid !important; grid-template-columns: minmax(130px,.45fr) minmax(0,1fr) !important; gap: 0 !important; border: 1px solid var(--v35-border,#d8e0e8) !important; border-radius: 12px !important; overflow: hidden !important; }
.v35-transfer-details dt,.v35-transfer-details dd { margin: 0 !important; padding: 11px 13px !important; border-bottom: 1px solid var(--v35-border,#d8e0e8) !important; }
.v35-transfer-details dt { color: var(--v35-muted,#667085) !important; background: var(--v35-surface-soft,#f8fafc) !important; font-weight: 800 !important; font-size: .74rem !important; }
.v35-transfer-details dd { color: var(--v35-text,#111827) !important; font-weight: 760 !important; font-size: .8rem !important; word-break: break-word !important; }
.v35-transfer-details dt:nth-last-of-type(1),.v35-transfer-details dd:nth-last-of-type(1) { border-bottom: 0 !important; }
body.public-shell-v35 .v35-secondary-choice { margin-top: 16px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; }
body.public-shell-v35 .v35-secondary-choice h2 { margin: 5px 0 6px !important; font-size: 1.1rem !important; }
body.public-shell-v35 .v35-secondary-choice p { margin: 0 !important; color: var(--v35-muted,#667085) !important; }
body.workspace-shell-v35 .v35-plan-change-banner { margin-bottom: 16px !important; border-color: color-mix(in srgb, var(--v35-teal) 26%, var(--v35-border)) !important; background: linear-gradient(135deg, color-mix(in srgb,var(--v35-teal) 5%,var(--v35-surface)) 0%, var(--v35-surface) 68%) !important; }
body.workspace-shell-v35 .v35-plan-change-banner p { color: var(--v35-muted) !important; line-height: 1.58 !important; margin: 10px 0 14px !important; }
body.workspace-shell-v35 .v35-success-card { max-width: 1050px !important; margin-inline: auto !important; }
body.workspace-shell-v35 .v35-billing-workspace .v35-control-list > div { padding: 14px 0 !important; }
body.workspace-shell-v35 .v35-billing-workspace .v35-control-list > div .v35-icon-chip { margin-top: 1px !important; }
body.workspace-shell-v35 .v35-billing-workspace .v35-control-list > div p { margin: 4px 0 0 !important; color: var(--v35-muted) !important; font-size: .76rem !important; line-height: 1.5 !important; }
@media (max-width: 820px) {
  body.public-shell-v35 .v35-pending-wrap .v35-checkout-grid { grid-template-columns: 1fr !important; }
  body.public-shell-v35 .v35-secondary-choice { align-items: stretch !important; flex-direction: column !important; }
  body.public-shell-v35 .v35-secondary-choice .btn { width: 100% !important; justify-content: center !important; }
}
@media (max-width: 560px) {
  .v35-transfer-details { grid-template-columns: 1fr !important; }
  .v35-transfer-details dt { border-bottom: 0 !important; padding-bottom: 4px !important; }
  .v35-transfer-details dd { padding-top: 4px !important; }
}

/* V35 utility control */
.v35-back-top {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--v35-border,#d8e0e8) !important;
  border-radius: 12px !important;
  background: var(--v35-surface,#fff) !important;
  color: var(--v35-text,#111827) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.14) !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity .18s ease, transform .18s ease !important;
  z-index: 450 !important;
  font-weight: 900 !important;
}
.v35-back-top.is-visible { opacity: 1 !important; transform: translateY(0) !important; pointer-events: auto !important; }
.v35-back-top:focus-visible { outline: 3px solid color-mix(in srgb,var(--v35-teal,#087f8c) 32%,transparent) !important; outline-offset: 3px !important; }

/* Protected credential state */
.v35-secret-state{display:flex;align-items:center;gap:.5rem;padding:.65rem .75rem;border:1px solid var(--v35-border,#d9e1e8);border-radius:.75rem;background:rgba(7,148,125,.055);font-size:.8rem;color:var(--v35-muted,#5f6b7a)}
.v35-secret-state svg{width:16px;height:16px;color:var(--v35-accent,#078f7c);flex:0 0 auto}

/* ========================================================================
   V35.2 — Frame alignment + account security
   Keeps the header, breadcrumb, app rail, content and footer on one geometry.
   ======================================================================== */
body.workspace-shell-v35 {
  --v35-frame-edge: max(var(--v35-gutter), calc((100vw - var(--v35-content-max)) / 2 + var(--v35-gutter)));
}
body.workspace-shell-v35 .site-header.backend-header {
  padding-left: var(--v35-frame-edge) !important;
  padding-right: var(--v35-frame-edge) !important;
}
body.workspace-shell-v35 .breadcrumb-shell {
  width: auto !important;
  max-width: none !important;
  margin-left: calc(var(--v35-frame-edge) + var(--v35-sidebar-w) + var(--v35-gutter)) !important;
  margin-right: var(--v35-frame-edge) !important;
}
body.workspace-shell-v35.sidebar-collapsed .breadcrumb-shell {
  width: auto !important;
  margin-left: calc(var(--v35-frame-edge) + var(--v35-sidebar-collapsed) + var(--v35-gutter)) !important;
}
body.workspace-shell-v35 .workspace-footer { padding-left: var(--v35-frame-edge) !important; padding-right: var(--v35-frame-edge) !important; }
body.workspace-shell-v35 .workspace-footer-shell {
  width: auto !important;
  margin-left: calc(var(--v35-sidebar-w) + var(--v35-gutter)) !important;
  margin-right: 0 !important;
}
body.workspace-shell-v35.sidebar-collapsed .workspace-footer-shell {
  width: auto !important;
  margin-left: calc(var(--v35-sidebar-collapsed) + var(--v35-gutter)) !important;
}

/* Security setup is intentionally utilitarian: secrets remain readable while
   controls and warnings keep the same visual language as the main workspace. */
body.workspace-shell-v35 .v35-mfa-panel { overflow: hidden; }
body.workspace-shell-v35 .v35-mfa-setup-grid {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 16px; align-items: start;
}
body.workspace-shell-v35 .v35-secret-box,
body.workspace-shell-v35 .v35-recovery-box,
body.workspace-shell-v35 .v35-security-action {
  border: 1px solid var(--v35-border); border-radius: 14px; background: var(--v35-surface-soft); padding: 18px;
}
body.workspace-shell-v35 .v35-secret-box > code {
  display: block; margin: 10px 0; padding: 14px; border: 1px dashed color-mix(in srgb,var(--v35-teal) 42%,var(--v35-border));
  border-radius: 11px; background: var(--v35-surface); color: var(--v35-text); font-size: clamp(.92rem,1.4vw,1.05rem); font-weight: 850;
  letter-spacing: .08em; overflow-wrap: anywhere; user-select: all;
}
body.workspace-shell-v35 .v35-wrap-code { display:block; margin-top:9px; white-space:normal; overflow-wrap:anywhere; user-select:all; }
body.workspace-shell-v35 .v35-recovery-box { margin-bottom: 16px; border-color: color-mix(in srgb,var(--v35-teal) 35%,var(--v35-border)); }
body.workspace-shell-v35 .v35-recovery-box > strong { display:block; color:var(--v35-text); font-size:1rem; }
body.workspace-shell-v35 .v35-recovery-box > p { color:var(--v35-muted); margin:6px 0 14px; font-size:.82rem; }
body.workspace-shell-v35 .v35-recovery-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-bottom:14px; }
body.workspace-shell-v35 .v35-recovery-grid code {
  display:block; padding:9px 7px; text-align:center; border:1px solid var(--v35-border); border-radius:9px; background:var(--v35-surface);
  color:var(--v35-text); font-size:.76rem; font-weight:850; letter-spacing:.04em; user-select:all;
}
body.workspace-shell-v35 .v35-security-action h3 { margin-top:0; }
body.workspace-shell-v35 .v35-security-action .btn-danger { background:#b42336 !important; border-color:#b42336 !important; color:#fff !important; }

/* Avoid panel-inside-panel visual duplication when the reusable OAuth connection
   component is embedded in Account Security. */
body.workspace-shell-v35 .account-security-v35 .panel .account-login-panel { box-shadow:none !important; margin-top:14px; background:var(--v35-surface-soft) !important; }

@media (max-width: 900px) {
  body.workspace-shell-v35 { --v35-frame-edge: 16px; }
  body.workspace-shell-v35 .site-header.backend-header { padding-left: 14px !important; padding-right: 14px !important; }
  body.workspace-shell-v35 .breadcrumb-shell,
  body.workspace-shell-v35.sidebar-collapsed .breadcrumb-shell { margin-left:16px !important; margin-right:16px !important; }
  body.workspace-shell-v35 .workspace-footer { padding-left:16px !important; padding-right:16px !important; }
  body.workspace-shell-v35 .v35-mfa-setup-grid { grid-template-columns:1fr; }
  body.workspace-shell-v35 .v35-recovery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  body.workspace-shell-v35 .v35-recovery-grid { grid-template-columns:1fr; }
}

/* ========================================================================
   V35.3 — Public product surface
   Same design language as the authenticated workspace without making the
   marketing site look like an internal dashboard.
   ======================================================================== */
body.public-shell-v35 {
  --v35-public-max: 1280px;
  --v35-public-edge: max(20px, calc((100vw - var(--v35-public-max)) / 2 + 20px));
}
body.public-shell-v35 .site-header.frontend-header {
  position: sticky !important; top: 0 !important; z-index: 170 !important;
  min-height: 72px !important; display:grid !important; grid-template-columns:minmax(245px,1fr) auto minmax(245px,1fr) !important;
  align-items:center !important; gap:22px !important; padding:0 var(--v35-public-edge) !important;
  border:0 !important; border-bottom:1px solid color-mix(in srgb,var(--line) 90%,transparent) !important;
  background:color-mix(in srgb,var(--panel) 94%,transparent) !important; backdrop-filter:blur(18px) saturate(1.1) !important;
  box-shadow:0 6px 24px rgba(15,30,45,.035) !important;
}
body.public-shell-v35 .frontend-header .header-left { min-width:0; }
body.public-shell-v35 .frontend-header .brand { display:flex !important; align-items:center !important; gap:11px !important; padding:0 !important; }
body.public-shell-v35 .frontend-header .brand-logo-img,
body.public-shell-v35 .frontend-header .brand-logo-img img { width:42px !important; height:42px !important; border-radius:12px !important; }
body.public-shell-v35 .frontend-header .brand-text { font-size:1rem !important; font-weight:900 !important; letter-spacing:-.03em !important; }
body.public-shell-v35 .frontend-header .brand-copy small { font-size:.61rem !important; letter-spacing:.08em !important; text-transform:uppercase !important; color:var(--muted) !important; }
body.public-shell-v35 .frontend-header .primary-nav { justify-self:center !important; display:flex !important; align-items:center !important; gap:4px !important; padding:4px !important; border:1px solid color-mix(in srgb,var(--line) 85%,transparent) !important; border-radius:13px !important; background:color-mix(in srgb,var(--panel-2) 70%,transparent) !important; }
body.public-shell-v35 .frontend-header .primary-nav > a { min-height:36px !important; display:flex !important; align-items:center !important; padding:0 11px !important; border-radius:9px !important; color:var(--muted) !important; font-size:.76rem !important; font-weight:800 !important; text-decoration:none !important; }
body.public-shell-v35 .frontend-header .primary-nav > a:hover,
body.public-shell-v35 .frontend-header .primary-nav > a.active { background:var(--panel) !important; color:var(--text) !important; box-shadow:0 1px 4px rgba(15,30,45,.06) !important; }
body.public-shell-v35 .frontend-header .header-actions { justify-self:end !important; gap:8px !important; }
body.public-shell-v35 .frontend-header .header-actions > a:not(.btn) { color:var(--muted) !important; font-size:.78rem !important; font-weight:800 !important; }
body.public-shell-v35 .frontend-header .btn { min-height:40px !important; border-radius:10px !important; padding:8px 14px !important; }

body.public-shell-v35 .main-public { overflow:hidden; }
body.public-shell-v35 .hero-front { width:min(var(--v35-public-max),calc(100% - 40px)) !important; margin:0 auto !important; padding:clamp(64px,8vw,106px) 0 clamp(48px,6vw,78px) !important; }
body.public-shell-v35 .hero-front-grid { align-items:center !important; gap:clamp(36px,5vw,74px) !important; }
body.public-shell-v35 .hero-front-copy { max-width:690px !important; }
body.public-shell-v35 .hero-front-copy .eyebrow { display:inline-flex !important; padding:6px 10px !important; border:1px solid color-mix(in srgb,var(--brand-2) 24%,var(--line)) !important; border-radius:999px !important; background:color-mix(in srgb,var(--brand-2) 6%,var(--panel)) !important; color:var(--brand-2) !important; font-size:.68rem !important; font-weight:900 !important; letter-spacing:.09em !important; text-transform:uppercase !important; }
body.public-shell-v35 .hero-front-copy h1 { max-width:680px !important; margin:14px 0 18px !important; font-size:clamp(3rem,6.2vw,5.7rem) !important; line-height:.94 !important; letter-spacing:-.065em !important; text-wrap:balance; }
body.public-shell-v35 .hero-front-copy .lead { max-width:650px !important; font-size:clamp(1.02rem,1.3vw,1.17rem) !important; line-height:1.7 !important; color:var(--muted) !important; }
body.public-shell-v35 .hero-front-copy .quick-actions { margin-top:26px !important; gap:9px !important; }
body.public-shell-v35 .hero-front-copy .btn { min-height:46px !important; border-radius:11px !important; padding:11px 17px !important; font-size:.82rem !important; font-weight:850 !important; }
body.public-shell-v35 .trust-row { margin-top:24px !important; display:flex !important; flex-wrap:wrap !important; gap:8px 16px !important; }
body.public-shell-v35 .trust-row span { position:relative; padding-left:15px !important; color:var(--muted) !important; font-size:.72rem !important; font-weight:700 !important; }
body.public-shell-v35 .trust-row span::before { content:""; position:absolute; left:0; top:.48em; width:6px; height:6px; border-radius:50%; background:var(--brand-2); }
body.public-shell-v35 .hero-product-card { border:1px solid color-mix(in srgb,var(--line) 88%,transparent) !important; border-radius:24px !important; background:var(--panel) !important; box-shadow:0 30px 80px rgba(13,31,48,.13) !important; }

body.public-shell-v35 .sw34-proof-band,
body.public-shell-v35 .sw29-product-links,
body.public-shell-v35 .landing-section { width:min(var(--v35-public-max),calc(100% - 40px)) !important; margin-left:auto !important; margin-right:auto !important; }
body.public-shell-v35 .sw34-proof-band { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:0 !important; padding:0 !important; border:1px solid var(--line) !important; border-radius:18px !important; overflow:hidden; background:var(--panel) !important; box-shadow:0 12px 38px rgba(13,31,48,.05) !important; }
body.public-shell-v35 .sw34-proof-item { padding:20px !important; border-right:1px solid var(--line) !important; }
body.public-shell-v35 .sw34-proof-item:last-child { border-right:0 !important; }
body.public-shell-v35 .sw34-proof-item strong { display:block; margin-bottom:6px; font-size:.84rem !important; }
body.public-shell-v35 .sw34-proof-item span { color:var(--muted) !important; font-size:.74rem !important; line-height:1.55 !important; }
body.public-shell-v35 .sw29-product-links { margin-top:18px !important; border-radius:15px !important; border:1px solid var(--line) !important; background:var(--panel-2) !important; }
body.public-shell-v35 .sw29-product-link-row a { border-radius:9px !important; font-size:.75rem !important; }
body.public-shell-v35 .sw29-product-link-row .ui-icon { width:16px !important; height:16px !important; }
body.public-shell-v35 .landing-section { padding-top:clamp(68px,8vw,105px) !important; padding-bottom:0 !important; }
body.public-shell-v35 .landing-section .section-head.centered { max-width:820px !important; margin-left:auto !important; margin-right:auto !important; }
body.public-shell-v35 .landing-section .section-head h2 { font-size:clamp(2rem,4vw,3.4rem) !important; line-height:1.03 !important; letter-spacing:-.05em !important; }
body.public-shell-v35 .front-module-grid .module-card,
body.public-shell-v35 .answer-card,
body.public-shell-v35 .value-card,
body.public-shell-v35 .price-mini { border:1px solid var(--line) !important; border-radius:16px !important; background:var(--panel) !important; box-shadow:0 8px 30px rgba(13,31,48,.045) !important; }
body.public-shell-v35 .front-module-grid .module-card { padding:22px !important; }
body.public-shell-v35 .module-icon { width:42px !important; height:42px !important; border-radius:12px !important; background:color-mix(in srgb,var(--brand-2) 8%,var(--panel-2)) !important; color:var(--brand-2) !important; }
body.public-shell-v35 .site-footer.footer-public { margin-top:90px !important; border-top:1px solid var(--line) !important; background:color-mix(in srgb,var(--panel-2) 72%,var(--panel)) !important; }
body.public-shell-v35 .site-footer .footer-inner,
body.public-shell-v35 .site-footer .footer-bottom { width:min(var(--v35-public-max),calc(100% - 40px)) !important; margin-left:auto !important; margin-right:auto !important; }

@media (max-width: 1080px) {
  body.public-shell-v35 .site-header.frontend-header { grid-template-columns:1fr auto !important; }
  body.public-shell-v35 .frontend-header .primary-nav { position:fixed !important; top:72px !important; left:14px !important; right:14px !important; display:none !important; flex-direction:column !important; align-items:stretch !important; padding:10px !important; border-radius:14px !important; background:var(--panel) !important; box-shadow:0 24px 60px rgba(0,0,0,.16) !important; }
  body.public-shell-v35.nav-open .frontend-header .primary-nav { display:flex !important; }
  body.public-shell-v35 .frontend-header .primary-nav > a { min-height:44px !important; }
  body.public-shell-v35 .frontend-header .nav-toggle { display:inline-flex !important; }
  body.public-shell-v35 .sw34-proof-band { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  body.public-shell-v35 .sw34-proof-item:nth-child(2) { border-right:0 !important; }
  body.public-shell-v35 .sw34-proof-item:nth-child(-n+2) { border-bottom:1px solid var(--line) !important; }
}
@media (max-width: 760px) {
  body.public-shell-v35 { --v35-public-edge:16px; }
  body.public-shell-v35 .site-header.frontend-header { padding:0 16px !important; min-height:66px !important; }
  body.public-shell-v35 .frontend-header .brand-copy small { display:none !important; }
  body.public-shell-v35 .frontend-header .header-actions > a:not(.btn) { display:none !important; }
  body.public-shell-v35 .hero-front,
  body.public-shell-v35 .sw34-proof-band,
  body.public-shell-v35 .sw29-product-links,
  body.public-shell-v35 .landing-section { width:calc(100% - 32px) !important; }
  body.public-shell-v35 .hero-front { padding-top:48px !important; }
  body.public-shell-v35 .hero-front-copy h1 { font-size:clamp(2.75rem,13vw,4.2rem) !important; }
  body.public-shell-v35 .sw34-proof-band { grid-template-columns:1fr !important; }
  body.public-shell-v35 .sw34-proof-item { border-right:0 !important; border-bottom:1px solid var(--line) !important; }
  body.public-shell-v35 .sw34-proof-item:last-child { border-bottom:0 !important; }
}
