:root {
  color-scheme: light;
  --fp-bg: #f7f9fc;
  --fp-surface: #ffffff;
  --fp-surface-soft: #f9fbff;
  --fp-surface-muted: #eef3f9;
  --fp-border: #dfe7f2;
  --fp-border-soft: #edf1f7;
  --fp-text: #07172f;
  --fp-muted: #607089;
  --fp-muted-2: #8793a8;
  --fp-primary: #2563eb;
  --fp-primary-dark: #1e40af;
  --fp-indigo: #4f46e5;
  --fp-purple: #7c3aed;
  --fp-danger: #e11d2e;
  --fp-success: #10b981;
  --fp-warning: #f59e0b;
  --fp-gradient: linear-gradient(135deg, #14345f 0%, #183a67 42%, #4f2a54 100%);
  --fp-brand-gradient: linear-gradient(135deg, #1da1ff 0%, #2563eb 48%, #7c3aed 100%);
  --fp-radius-sm: 10px;
  --fp-radius-md: 14px;
  --fp-radius-lg: 20px;
  --fp-radius-xl: 28px;
  --fp-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
  --fp-shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
  --fp-shadow-glow: 0 24px 80px rgba(37, 99, 235, 0.22);
  --fp-sidebar: 280px;
  --fp-header: 72px;
  --fp-font: "Geist", "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
}

[data-theme="dark"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--fp-bg);
  color: var(--fp-text);
  font-family: var(--fp-font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.public-nav,
.public-footer {
  display: none;
}

.brand-logo-mark,
.brand-mark,
.clean-wordmark .brand-mark,
.login-v2-visual .brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--fp-brand-gradient);
  box-shadow: var(--fp-shadow-glow);
  color: #fff;
}

.brand-logo-mark img,
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 7px;
  filter: brightness(0) invert(1);
}

.primary-btn,
.app-shell .primary-btn,
.login-v2 .primary-btn,
.auth-page .primary-btn,
.register-page .primary-btn,
.send-btn,
.floating-chat-button {
  min-height: 44px;
  border: 0;
  border-radius: var(--fp-radius-md);
  background: var(--fp-brand-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.primary-btn:hover,
.app-shell .primary-btn:hover,
.login-v2 .primary-btn:hover,
.auth-page .primary-btn:hover,
.register-page .primary-btn:hover {
  background: var(--fp-brand-gradient);
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.32);
}

.secondary-btn,
.ghost-btn,
.icon-btn,
.text-btn,
.app-shell .secondary-btn,
.app-shell .ghost-btn,
.app-shell .icon-btn {
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-md);
  background: var(--fp-surface);
  color: var(--fp-text);
  box-shadow: var(--fp-shadow-sm);
}

.text-btn {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--fp-primary);
  box-shadow: none;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.fp-label {
  color: var(--fp-text);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select,
.search,
.app-shell input,
.app-shell textarea,
.app-shell select,
.fp-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--fp-border);
  border-radius: 15px;
  background: #fff;
  color: var(--fp-text);
  padding: 0 16px;
  outline: none;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea,
.app-shell textarea {
  min-height: 120px;
  padding-block: 14px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.search:focus,
.app-shell input:focus,
.app-shell textarea:focus,
.app-shell select:focus,
.fp-input:focus {
  border-color: rgba(37, 99, 235, 0.35);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.field-error {
  color: var(--fp-danger);
  font-size: 12px;
}

.login-v2,
.auth-page,
.register-page {
  min-height: 100vh;
  background: var(--fp-bg);
  color: var(--fp-text);
}

.login-v2,
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 50vw);
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.login-v2-visual,
.auth-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 10% 88%, rgba(29, 161, 255, 0.28), transparent 30%),
    radial-gradient(circle at 78% 16%, rgba(124, 58, 237, 0.24), transparent 34%),
    var(--fp-gradient);
  color: #fff;
}

.login-v2-visual::after,
.auth-hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -26% 8%;
  height: 340px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 64%);
  pointer-events: none;
}

.login-v2-visual .auth-brand,
.auth-hero .auth-brand,
.auth-copy,
.login-v2-copy,
.login-product-card {
  position: relative;
  z-index: 1;
}

.auth-brand strong,
.auth-brand span,
.login-v2-visual .auth-brand strong,
.login-v2-visual .auth-brand span {
  color: #fff;
}

.login-v2-copy,
.auth-copy {
  max-width: 620px;
}

.signal-pill,
.eyebrow,
.fp-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #dcecff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-shell .eyebrow,
.register-page .eyebrow,
.login-v2-panel .eyebrow,
.auth-panel .eyebrow {
  border-color: rgba(37, 99, 235, 0.15);
  background: rgba(37, 99, 235, 0.08);
  color: var(--fp-primary);
}

.login-v2-copy h1,
.auth-copy h1,
.register-banner h1,
.fp-page-title,
.topbar h1,
.fp-dash-greeting h1 {
  margin: 12px 0 14px;
  color: inherit;
  font-family: "Plus Jakarta Sans", var(--fp-font);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.login-v2-copy h1,
.auth-copy h1 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 58px);
}

.login-v2-copy p,
.auth-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.login-product-card {
  width: min(540px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.20);
}

.login-v2 .login-product-card {
  width: min(500px, 100%);
}

.console-top {
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
}

.login-product-grid article {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.login-v2-panel,
.auth-panel,
.fp-auth-panel {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px;
  background: var(--fp-bg);
}

.login-v2-card,
.auth-card,
.register-card,
.fp-auth-card {
  width: min(520px, 100%);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-xl);
  background: rgba(255, 255, 255, 0.94);
  padding: 32px;
  box-shadow: var(--fp-shadow-md);
}

.login-v2-card {
  padding: 30px;
}

.login-v2-card .form-grid {
  gap: 12px;
}

.login-v2-card .field input {
  min-height: 48px;
}

.login-v2-card .login-security-note {
  padding: 12px 14px;
}

.login-card-heading h2,
.auth-card h2,
.register-card h2,
.form-heading h2 {
  margin: 8px 0;
  color: var(--fp-text);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.login-card-heading span,
.auth-card p,
.register-card p,
.form-heading p,
.login-security-note {
  color: var(--fp-muted);
  line-height: 1.6;
}

.login-security-note,
.selected-plan-notice,
.verification-notice {
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-md);
  background: var(--fp-surface-soft);
  padding: 14px;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.auth-links button {
  border: 0;
  background: transparent;
  color: var(--fp-primary);
  font-weight: 800;
}

.register-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 50vw);
}

.register-banner {
  position: sticky;
  top: 0;
  width: auto;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 56px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 10% 88%, rgba(29, 161, 255, 0.28), transparent 30%),
    radial-gradient(circle at 78% 16%, rgba(124, 58, 237, 0.24), transparent 34%),
    var(--fp-gradient) !important;
  color: #fff;
  box-shadow: none;
}

.register-banner h1 {
  max-width: 640px;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
}

.register-banner p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.register-banner::before {
  content: "ForPoint";
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-left: 54px;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  background: url("/assets/forpoint-mark.svg") left center / 42px 42px no-repeat;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.22));
}

.register-banner::after {
  content: "Everything. One Point.";
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.register-banner-media {
  display: none;
}

.register-content {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 48px;
}

.register-card {
  width: min(560px, 100%);
}

.register-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-section {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--fp-border-soft);
}

.form-section h3 {
  margin: 0;
  color: var(--fp-text);
  font-size: 16px;
}

.app-shell,
.app-shell.home-shell,
.app-shell.command-home,
.app-shell.fp-shell-v2 {
  --admin-bg: var(--fp-bg);
  --admin-surface: var(--fp-surface);
  --admin-surface-muted: var(--fp-surface-soft);
  --admin-line: var(--fp-border);
  --admin-line-strong: var(--fp-border);
  --admin-text: var(--fp-text);
  --admin-muted: var(--fp-muted);
  --admin-subtle: var(--fp-muted-2);
  --admin-accent: var(--fp-primary);
  --admin-accent-soft: rgba(37, 99, 235, 0.10);
  --admin-blue: var(--fp-primary);
  --admin-shadow: var(--fp-shadow-sm);
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 32%),
    var(--fp-bg);
  color: var(--fp-text);
}

.app-shell .sidebar,
.app-shell .clean-sidebar {
  display: none !important;
}

.mobile-nav-toggle,
.sidebar-backdrop {
  display: none !important;
}

.clean-wordmark {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: inherit;
}

.clean-wordmark-copy strong,
.app-shell .sidebar-brand strong {
  display: block;
  color: var(--fp-text);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.clean-wordmark-copy small,
.app-shell .sidebar-brand span {
  display: block;
  margin-top: 2px;
  color: var(--fp-muted);
  font-size: 12px;
}

.clean-wordmark-copy small {
  font-size: 0;
}

.clean-wordmark-copy small::after {
  content: "Everything. One Point.";
  font-size: 12px;
}

.clean-context,
.sidebar-workspace {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-lg);
  background: var(--fp-surface-soft);
  box-shadow: none;
}

.clean-context strong,
.sidebar-workspace strong {
  color: var(--fp-text);
  font-size: 14px;
}

.clean-context span,
.sidebar-workspace span,
.sidebar-workspace small {
  color: var(--fp-muted);
  font-size: 12px;
}

.nav {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding-right: 4px;
}

.nav-group {
  display: grid;
  gap: 6px;
  margin: 0;
}

.nav-group-label,
.nav-group > span {
  padding: 0 12px 8px;
  color: var(--fp-muted-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-item,
.app-shell .nav-item,
.sidebar-utilities .icon-text,
.sidebar-utilities .logout {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: var(--fp-radius-md);
  padding: 0 12px;
  background: transparent;
  color: #43516a;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  box-shadow: none;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.nav-item:hover,
.app-shell .nav-item:hover,
.sidebar-utilities .icon-text:hover,
.sidebar-utilities .logout:hover {
  background: var(--fp-surface-soft);
  color: var(--fp-text);
}

.nav-item.active,
.app-shell .nav-item.active {
  color: var(--fp-primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.08));
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.nav-item.active::before,
.app-shell .nav-item.active::before {
  display: none;
}

.nav-item .ui-icon,
.nav-item.active .ui-icon {
  color: currentColor;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 0;
  border: 0;
}

.sidebar-footer::before {
  content: "Precisa de ajuda?\A Fale com nosso time";
  white-space: pre-line;
  display: block;
  border-radius: 22px;
  padding: 20px;
  color: #fff;
  background: var(--fp-gradient);
  box-shadow: var(--fp-shadow-md);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.sidebar-user {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-md);
  padding: 10px;
  background: var(--fp-surface);
}

.user-avatar,
.fp-avatar,
.fp-user .fp-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--fp-brand-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.user-copy strong {
  color: var(--fp-text);
  font-size: 13px;
}

.user-copy small {
  color: var(--fp-muted);
  font-size: 11px;
}

.sidebar-utilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.main {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 0 34px 48px;
  background: transparent;
}

.fp-premium-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1280px, 100%);
  min-height: var(--fp-header);
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(260px, 460px) minmax(180px, auto);
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  border-bottom: 1px solid var(--fp-border-soft);
  background: rgba(247, 249, 252, 0.90);
  backdrop-filter: blur(18px);
}

.fp-premium-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--fp-text);
  padding: 0;
  text-align: left;
}

.fp-premium-brand strong {
  display: block;
  color: var(--fp-text);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.fp-premium-brand small {
  display: block;
  margin-top: 2px;
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 700;
}

.fp-premium-search {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: var(--fp-surface-muted);
  padding: 0 14px;
  color: var(--fp-muted);
}

.fp-premium-search input {
  width: 100%;
  min-height: 0;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.fp-premium-search input:focus {
  box-shadow: none;
  outline: 0;
}

.fp-premium-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.fp-premium-user .text-btn {
  max-width: 260px;
  overflow: hidden;
  color: var(--fp-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding-top: 34px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--fp-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -30px 0 34px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fp-border-soft);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.topbar h1 {
  margin: 0;
  color: var(--fp-text);
  font-size: clamp(28px, 4vw, 44px);
}

.topbar .page-heading > p {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--fp-muted);
  font-size: 15px;
  line-height: 1.6;
}

.page-breadcrumb {
  color: var(--fp-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-actions,
.topbar-control-card,
.form-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-control-card,
.billing-toolbar,
.kanban-filters {
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-lg);
  background: rgba(255, 255, 255, 0.8);
  padding: 8px;
}

.topbar-control-card .search,
.fp-search,
.search {
  width: min(460px, 100%);
  height: 46px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--fp-surface-muted);
  padding: 0 16px;
}

.panel,
.metric-card,
.quick-task-card,
.ai-command-center,
.action-card,
.table-wrap,
.admin-hub-card,
.dialog-card,
.kanban-column,
.plan-card,
.calendar-panel,
.publication-list-panel,
.publication-detail,
.home-promo-banner,
.fp-card,
.fp-panel-flat,
.fp-action-item,
.fp-mini-pipeline button {
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--fp-shadow-sm);
  color: var(--fp-text);
}

.panel,
.fp-panel-flat {
  padding: 24px;
}

.panel:hover,
.metric-card:hover,
.quick-task-card:hover,
.admin-hub-card:hover,
.fp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fp-shadow-md);
}

.panel h2,
.fp-panel-flat h2,
.section-heading h2 {
  margin: 0 0 8px;
  color: var(--fp-text);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.panel p,
.section-heading p,
.muted,
.empty {
  color: var(--fp-muted);
}

.metrics-grid,
.home-insights-grid,
.admin-hub-grid,
.settings-grid,
.dashboard-grid,
.resource-grid,
.quick-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 24px;
}

.metric-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-heading .ui-icon,
.admin-hub-card > .ui-icon,
.admin-card-icon,
.empty-state-icon,
.fp-metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--fp-primary);
}

.metric-card > strong,
.fp-metric-value {
  color: var(--fp-text);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.metric-card > small {
  color: var(--fp-muted);
  font-size: 13px;
}

.fp-dashboard-v2 {
  display: grid;
  gap: 34px;
}

.fp-dash-greeting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.fp-dash-greeting h1 {
  margin: 0 0 6px;
  color: var(--fp-text);
  font-size: clamp(32px, 4vw, 44px);
}

.fp-dash-greeting p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 15px;
}

.fp-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fp-metric-cell {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fp-text);
  text-align: left;
  box-shadow: var(--fp-shadow-sm);
}

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

.fp-metric-cell span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fp-metric-cell span .ui-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--fp-primary);
}

.fp-metric-cell strong {
  color: var(--fp-text);
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.fp-metric-cell small {
  color: var(--fp-success);
  font-size: 13px;
  font-weight: 700;
}

.fp-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
}

.fp-dash-main,
.fp-dash-side {
  display: grid;
  gap: 24px;
}

.fp-action-list,
.fp-timeline,
.fp-activity-feed {
  display: grid;
  gap: 12px;
}

.fp-action-item {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  text-align: left;
}

.fp-action-item strong {
  display: block;
  color: var(--fp-text);
  font-size: 15px;
}

.fp-action-item small {
  display: block;
  margin-top: 4px;
  color: var(--fp-muted);
}

.fp-action-item em {
  color: var(--fp-primary);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.fp-mini-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.fp-mini-pipeline button {
  min-height: 122px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.fp-mini-pipeline strong,
.fp-mini-pipeline small {
  color: var(--fp-muted);
}

.fp-mini-pipeline span {
  color: var(--fp-text);
  font-size: 30px;
  font-weight: 850;
}

.fp-timeline button,
.fp-activity-feed span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-md);
  padding: 10px 12px;
  background: var(--fp-surface-soft);
  color: var(--fp-muted);
}

.fp-timeline time,
.fp-activity-feed small {
  color: var(--fp-muted-2);
  font-size: 12px;
}

.fp-ia-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--fp-radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.08));
  padding: 24px;
  box-shadow: var(--fp-shadow-sm);
}

.fp-ia-insight p {
  margin: 0;
  color: var(--fp-muted);
}

.fp-ia-insight strong {
  color: var(--fp-primary);
}

.table-wrap {
  overflow: auto;
  border-radius: var(--fp-radius-lg);
}

table,
.fp-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fp-text);
  font-size: 14px;
}

table th,
.fp-table th {
  padding: 14px;
  border-bottom: 1px solid var(--fp-border-soft);
  background: var(--fp-surface-soft);
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

table td,
.fp-table td {
  padding: 16px 14px;
  border-top: 1px solid var(--fp-border-soft);
  color: var(--fp-muted);
}

table tbody tr:hover {
  background: var(--fp-surface-soft);
}

table td strong {
  color: var(--fp-text);
}

.status,
.badge,
.integration-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid var(--fp-border-soft);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--fp-surface-soft);
  color: var(--fp-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-success {
  border-color: rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
}

.status-warning {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.10);
  color: #b45309;
}

.status-danger {
  border-color: rgba(225, 29, 46, 0.20);
  background: rgba(225, 29, 46, 0.08);
  color: var(--fp-danger);
}

.empty-state-component,
.panel > .empty,
.kanban-column > .empty,
.fp-empty,
.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 20px;
  color: var(--fp-muted);
  text-align: center;
}

.empty-state-icon,
.fp-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--fp-primary);
}

.empty-state-component h3 {
  margin: 0;
  color: var(--fp-text);
  font-size: 18px;
  font-weight: 850;
}

.empty-state-component p {
  max-width: 420px;
  margin: 0;
  color: var(--fp-muted);
  line-height: 1.6;
}

.toast {
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-md);
  background: var(--fp-surface);
  color: var(--fp-text);
  box-shadow: var(--fp-shadow-md);
}

@media (max-width: 1100px) {
  .app-shell,
  .app-shell.home-shell,
  .app-shell.command-home,
  .app-shell.fp-shell-v2,
  .login-v2,
  .auth-page,
  .register-page {
    grid-template-columns: 1fr;
  }

  .app-shell .sidebar {
    display: none;
  }

  .login-v2-visual,
  .auth-hero,
  .register-banner {
    min-height: 420px;
    position: relative;
  }

  .register-content,
  .login-v2-panel,
  .auth-panel {
    min-height: auto;
  }

  .fp-dash-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .home-insights-grid,
  .admin-hub-grid,
  .settings-grid,
  .dashboard-grid,
  .fp-metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .main,
  .app-shell .main {
    padding: 0 18px 36px;
  }

  .workspace-page {
    padding-top: 18px;
  }

  .topbar {
    position: relative;
    min-height: auto;
    display: grid;
    margin: 0 0 22px;
    padding: 18px 0;
  }

  .login-v2-visual,
  .auth-hero,
  .register-banner,
  .login-v2-panel,
  .auth-panel,
  .register-content {
    padding: 28px;
  }

  .login-product-card {
    display: none;
  }

  .login-v2-card,
  .auth-card,
  .register-card {
    padding: 26px;
  }

  .register-grid,
  .form-grid.two,
  .metrics-grid,
  .home-insights-grid,
  .admin-hub-grid,
  .settings-grid,
  .dashboard-grid,
  .fp-metrics-strip {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .fp-dash-greeting,
  .fp-ia-insight {
    display: grid;
  }

  .fp-action-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .fp-action-item em {
    grid-column: 2;
  }
}

/* Andrade-inspired internal portal pass: clean white sidebar, colored cards, no patched feel. */
.fp2-app {
  grid-template-columns: 288px minmax(0, 1fr);
  background: #f7f9fc;
}

.fp2-sidebar {
  gap: 20px;
  border-right: 1px solid #dfe7f2;
  background: #ffffff;
  box-shadow: none;
}

.fp2-sidebar .fp2-brand {
  min-height: 54px;
  padding: 0 10px;
}

.fp2-company-card {
  border-color: #edf1f7;
  background: #f9fbff;
  box-shadow: none;
}

.fp2-nav-link {
  min-height: 44px;
  border-radius: 14px;
  color: #43516a;
  font-size: 14px;
  font-weight: 760;
}

.fp2-nav-link .ui-icon {
  color: #607089;
}

.fp2-nav-link.is-active {
  border-color: rgba(37, 99, 235, .12);
  background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(124, 58, 237, .08));
  color: var(--fp2-blue);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .06);
}

.fp2-support-card {
  border-radius: 22px;
  background: linear-gradient(135deg, #14345f 0%, #183a67 48%, #4f2a54 100%);
  box-shadow: 0 18px 44px rgba(20, 52, 95, .16);
}

.fp2-main {
  background: #f7f9fc;
}

.fp2-header {
  height: 72px;
  border-bottom: 1px solid #edf1f7;
  background: rgba(247, 249, 252, .88);
}

.fp2-search {
  width: min(460px, 100%);
  border-radius: 16px;
  background: #eef3f9;
}

.fp2-icon-btn {
  border-color: #dfe7f2;
  border-radius: 999px;
  background: #fff;
  color: #607089;
  box-shadow: none;
}

.fp2-workspace {
  padding: 34px;
}

.fp2-client-dashboard {
  gap: 32px;
}

.fp2-page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.05em;
}

.fp2-page-title p {
  margin: 0;
  color: #607089;
  font-size: 15px;
}

.fp2-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fp2-metric-grid article {
  min-height: 150px;
  align-content: space-between;
  border: 1px solid #dfe7f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.fp2-metric-grid article > .ui-icon,
.fp2-quick-grid button > .ui-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  padding: 10px;
}

.fp2-metric-grid article:nth-child(1) > .ui-icon,
.fp2-quick-grid button:nth-child(1) > .ui-icon {
  background: rgba(239, 68, 68, .10);
  color: #ef4444;
}

.fp2-metric-grid article:nth-child(2) > .ui-icon,
.fp2-quick-grid button:nth-child(2) > .ui-icon {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
}

.fp2-metric-grid article:nth-child(3) > .ui-icon,
.fp2-quick-grid button:nth-child(3) > .ui-icon {
  background: rgba(29, 161, 255, .13);
  color: #1da1ff;
}

.fp2-metric-grid article:nth-child(4) > .ui-icon,
.fp2-quick-grid button:nth-child(4) > .ui-icon {
  background: rgba(245, 158, 11, .13);
  color: #f59e0b;
}

.fp2-quick-grid button:nth-child(5) > .ui-icon {
  background: rgba(124, 58, 237, .12);
  color: #7c3aed;
}

.fp2-metric-grid span {
  color: #607089;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fp2-metric-grid strong {
  color: #07172f;
  font-size: 28px;
}

.fp2-quick-panel {
  display: grid;
  gap: 24px;
  border: 1px solid #dfe7f2;
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.fp2-quick-panel h2 {
  margin: 0 0 8px;
  color: #07172f;
  font-size: 21px;
  letter-spacing: -.03em;
}

.fp2-quick-panel p {
  margin: 0;
  color: #607089;
}

.fp2-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.fp2-quick-grid button {
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  color: #07172f;
  text-align: left;
}

.fp2-quick-grid button:hover {
  border-color: rgba(37, 99, 235, .32);
  transform: translateY(-1px);
}

.fp2-quick-grid strong {
  display: block;
  font-size: 15px;
}

.fp2-quick-grid small {
  color: #8793a8;
}

.fp2-dashboard-grid {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
}

.fp2-panel {
  border: 1px solid #dfe7f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.fp2-panel.wide {
  min-height: 200px;
}

.fp2-workspace .panel,
.fp2-workspace .metric-card,
.fp2-workspace .quick-task-card,
.fp2-workspace .action-card,
.fp2-workspace .admin-hub-card,
.fp2-workspace .plan-card,
.fp2-workspace .table-wrap,
.fp2-workspace .dialog-card,
.fp2-workspace .kanban-column,
.fp2-workspace .calendar-panel,
.fp2-workspace .publication-list-panel,
.fp2-workspace .publication-detail,
.fp2-workspace .home-promo-banner,
.fp2-workspace .product-card,
.fp2-workspace .setting-card {
  border-color: #dfe7f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.fp2-workspace .topbar,
.fp2-workspace .section-heading {
  border-bottom-color: #edf1f7;
}

.fp2-workspace .table-wrap {
  border-radius: 20px;
}

.fp2-workspace table th {
  background: #f9fbff;
}

@media (max-width: 1180px) {
  .fp2-quick-grid,
  .fp2-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fp2-workspace {
    padding: 22px 18px 40px;
  }

  .fp2-quick-grid,
  .fp2-metric-grid,
  .fp2-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* ForPoint Premium Rebuild: global SaaS shell without the previous broken patches. */
.app-shell,
.app-shell.home-shell,
.app-shell.command-home,
.app-shell.fp-shell-v2 {
  --fp-sidebar-width: 292px;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: grid !important;
  grid-template-columns: var(--fp-sidebar-width) minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% -12%, rgba(37, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 100% 36%, rgba(124, 58, 237, 0.10), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
  color: var(--fp-text);
}

.app-shell .sidebar,
.app-shell .clean-sidebar {
  position: relative;
  z-index: 40;
  width: var(--fp-sidebar-width) !important;
  min-width: var(--fp-sidebar-width);
  height: 100vh;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: 18px 12px;
  border-right: 1px solid rgba(207, 219, 235, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    var(--fp-surface);
  color: var(--fp-text);
  box-shadow: 18px 0 60px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

.mobile-nav-toggle,
.sidebar-backdrop {
  display: none;
}

.clean-wordmark {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 10px;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.clean-wordmark .brand-logo-mark,
.fp-premium-brand .brand-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: var(--fp-brand-gradient);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}

.clean-wordmark-copy strong {
  color: var(--fp-text);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.clean-wordmark-copy small {
  color: var(--fp-muted);
  font-size: 0;
}

.clean-wordmark-copy small::after {
  content: "Everything. One Point.";
  font-size: 12px;
  font-weight: 700;
}

.clean-context {
  display: grid;
  gap: 5px;
  margin: 0 4px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(29, 161, 255, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.06));
}

.clean-context strong {
  overflow: hidden;
  color: var(--fp-text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clean-context span {
  color: var(--fp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-shell .nav {
  flex: 1;
  min-height: 0;
  display: block;
  overflow-y: auto;
  padding: 0 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: #c8d7ea transparent;
}

.app-shell .nav-group {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
}

.app-shell .nav-group-label,
.app-shell .nav-group > span {
  padding: 0 10px 7px;
  color: var(--fp-muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.app-shell .nav-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 12px;
  background: transparent;
  color: #42526b;
  font-size: 14px;
  font-weight: 720;
  box-shadow: none;
}

.app-shell .nav-item .ui-icon {
  color: #7b8ca6;
}

.app-shell .nav-item:hover {
  border-color: rgba(37, 99, 235, 0.10);
  background: #f3f7ff;
  color: var(--fp-text);
}

.app-shell .nav-item.active {
  border-color: rgba(37, 99, 235, 0.20);
  background:
    linear-gradient(135deg, rgba(29, 161, 255, 0.12), rgba(37, 99, 235, 0.12) 48%, rgba(124, 58, 237, 0.10));
  color: var(--fp-primary);
  box-shadow: inset 3px 0 0 var(--fp-primary);
}

.app-shell .nav-item.active .ui-icon {
  color: var(--fp-primary);
}

.app-shell .sidebar-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 0 4px;
  border: 0;
}

.app-shell .sidebar-footer::before {
  content: "Precisa de ajuda?\A Fale com nosso time";
  white-space: pre-line;
  display: block;
  border-radius: 22px;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.34), transparent 34%),
    var(--fp-gradient);
  box-shadow: 0 18px 44px rgba(20, 52, 95, 0.18);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.app-shell .sidebar-user {
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--fp-border-soft);
  border-radius: 17px;
  padding: 9px;
  background: #fff;
  box-shadow: var(--fp-shadow-sm);
}

.app-shell .sidebar-utilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.app-shell .sidebar-utilities .nav-item,
.app-shell .sidebar-utilities .icon-text,
.app-shell .sidebar-utilities .logout {
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--fp-border-soft);
  background: #fff;
}

.app-shell .main {
  width: 100%;
  min-width: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: var(--fp-header) minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.fp-premium-header {
  position: sticky;
  top: 0;
  z-index: 25;
  width: 100%;
  min-width: 0;
  min-height: var(--fp-header);
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(220px, 520px) minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 clamp(22px, 3vw, 34px);
  border-bottom: 1px solid rgba(223, 231, 242, 0.86);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.fp-premium-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--fp-text);
  text-align: left;
}

.fp-premium-brand strong {
  display: block;
  color: var(--fp-text);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.fp-premium-brand small {
  display: block;
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 700;
}

.fp-premium-search {
  height: 46px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #eef3f9;
  padding: 0 14px;
  color: var(--fp-muted);
}

.fp-premium-search:focus-within {
  border-color: rgba(37, 99, 235, 0.28);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.fp-premium-search input,
.fp-premium-search input:focus {
  width: 100%;
  min-height: 0;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  outline: 0;
}

.fp-premium-user {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.fp-premium-user .text-btn {
  max-width: min(320px, 38vw);
  overflow: hidden;
  color: var(--fp-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-page,
.app-shell .workspace-page {
  width: min(1320px, 100%);
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  margin: 0 auto;
  padding: 30px clamp(22px, 3vw, 34px) 54px;
}

.workspace-page-full {
  height: 100%;
}

.app-shell .topbar {
  position: relative;
  top: auto;
  min-height: auto;
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--fp-border-soft);
  background: transparent;
  backdrop-filter: none;
}

.home-dashboard,
.fp-dashboard-v2 {
  min-width: 0;
}

.panel,
.metric-card,
.quick-task-card,
.ai-command-center,
.action-card,
.table-wrap,
.admin-hub-card,
.dialog-card,
.kanban-column,
.plan-card,
.calendar-panel,
.publication-list-panel,
.publication-detail,
.home-promo-banner,
.fp-card,
.fp-panel-flat,
.fp-action-item,
.fp-mini-pipeline button {
  border-color: rgba(207, 219, 235, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

.metric-heading .ui-icon,
.admin-hub-card > .ui-icon,
.admin-card-icon,
.empty-state-icon,
.fp-metric-icon,
.fp-metric-cell span .ui-icon {
  background:
    linear-gradient(135deg, rgba(29, 161, 255, 0.16), rgba(37, 99, 235, 0.12) 50%, rgba(124, 58, 237, 0.14));
  color: var(--fp-primary);
}

.fp-metric-cell:nth-child(2) span .ui-icon,
.metric-card:nth-child(2) .metric-heading .ui-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--fp-success);
}

.fp-metric-cell:nth-child(3) span .ui-icon,
.metric-card:nth-child(3) .metric-heading .ui-icon {
  background: rgba(245, 158, 11, 0.13);
  color: var(--fp-warning);
}

.fp-metrics-strip,
.metrics-grid,
.home-insights-grid,
.dashboard-grid,
.settings-grid,
.admin-hub-grid {
  min-width: 0;
}

.table-wrap {
  max-width: 100%;
}

.table-wrap table {
  min-width: 760px;
}

@media (max-width: 1180px) {
  .app-shell,
  .app-shell.home-shell,
  .app-shell.command-home,
  .app-shell.fp-shell-v2 {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .app-shell .sidebar,
  .app-shell .clean-sidebar {
    width: 84px !important;
    min-width: 84px;
    padding: 14px 10px;
  }

  .clean-wordmark-copy,
  .clean-context,
  .app-shell .nav-group-label,
  .app-shell .nav-item span,
  .app-shell .sidebar-footer::before,
  .user-copy,
  .user-more,
  .app-shell .sidebar-utilities .nav-item span {
    display: none !important;
  }

  .app-shell .nav-item,
  .app-shell .sidebar-utilities .nav-item,
  .app-shell .sidebar-user {
    justify-content: center;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .app-shell .sidebar-utilities {
    grid-template-columns: 1fr;
  }

  .fp-premium-header {
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 320px) auto;
  }
}

@media (max-width: 760px) {
  .app-shell,
  .app-shell.home-shell,
  .app-shell.command-home,
  .app-shell.fp-shell-v2 {
    grid-template-columns: 1fr !important;
  }

  .app-shell .sidebar,
  .app-shell .clean-sidebar {
    display: none !important;
  }

  .app-shell .main {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .fp-premium-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px 18px;
  }

  .fp-premium-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .fp-premium-user .text-btn {
    display: none;
  }

  .workspace-page,
  .app-shell .workspace-page {
    padding: 22px 18px 40px;
  }
}

/* ForPoint 2026 full rebuild. New classes, new structure, no dependency on the old admin layout. */
.fp2-site,
.fp2-app,
.fp2-auth {
  --fp2-bg: #f7f9fc;
  --fp2-surface: #ffffff;
  --fp2-soft: #f1f5fb;
  --fp2-line: #dce6f3;
  --fp2-line-soft: #edf2f8;
  --fp2-ink: #07172f;
  --fp2-muted: #5f708a;
  --fp2-subtle: #8b9ab0;
  --fp2-blue: #2563eb;
  --fp2-sky: #1da1ff;
  --fp2-purple: #7c3aed;
  --fp2-navy: #112b4c;
  --fp2-dark: #0d1c2f;
  --fp2-gradient: linear-gradient(135deg, #1da1ff 0%, #2563eb 48%, #7c3aed 100%);
  --fp2-dark-gradient: radial-gradient(circle at 78% 8%, rgba(124, 58, 237, .35), transparent 30%), linear-gradient(135deg, #102a4a 0%, #17385f 48%, #4f2a54 100%);
  color: var(--fp2-ink);
  font-family: Geist, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fp2-site button,
.fp2-app button,
.fp2-auth button,
.fp2-site input,
.fp2-app input,
.fp2-auth input,
.fp2-site select,
.fp2-app select,
.fp2-auth select,
.fp2-site textarea,
.fp2-app textarea,
.fp2-auth textarea {
  font: inherit;
}

.fp2-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--fp2-gradient);
  box-shadow: 0 16px 42px rgba(37, 99, 235, .23);
}

.fp2-logo img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.fp2-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--fp2-ink);
  padding: 0;
  text-align: left;
}

.fp2-brand strong {
  display: block;
  color: inherit;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.035em;
}

.fp2-brand small {
  display: block;
  margin-top: 2px;
  color: var(--fp2-muted);
  font-size: 12px;
  font-weight: 700;
}

.fp2-brand.light {
  color: #fff;
}

.fp2-brand.light small {
  color: rgba(255, 255, 255, .72);
}

.fp2-btn,
.fp2-site .fp2-btn,
.fp2-auth .fp2-btn,
.fp2-app .fp2-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.fp2-btn-primary {
  background: var(--fp2-gradient);
  color: #fff;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .24);
}

.fp2-btn-soft,
.fp2-btn-ghost {
  border: 1px solid var(--fp2-line);
  background: #fff;
  color: var(--fp2-ink);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.fp2-btn:hover {
  transform: translateY(-1px);
}

.fp2-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #dcebff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fp2-pill.light {
  border-color: rgba(37, 99, 235, .16);
  background: rgba(37, 99, 235, .08);
  color: var(--fp2-blue);
}

.fp2-site {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(37, 99, 235, .13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 52%, #ffffff 100%);
}

.fp2-site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(1180px, calc(100% - 36px));
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(220, 230, 243, .82);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
}

.fp2-site-nav nav,
.fp2-site-nav > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fp2-site-nav nav button {
  border: 0;
  background: transparent;
  color: var(--fp2-muted);
  padding: 9px 10px;
  font-weight: 760;
}

.fp2-hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  margin: 0 auto;
  padding: 54px 0 80px;
}

.fp2-hero-copy h1,
.fp2-section-title h2,
.fp2-auth h1,
.fp2-page-title h1,
.fp2-spotlight h2 {
  margin: 16px 0;
  color: var(--fp2-ink);
  font-family: "Plus Jakarta Sans", Geist, Inter, sans-serif;
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.fp2-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(44px, 6vw, 78px);
}

.fp2-hero-copy p {
  max-width: 620px;
  color: var(--fp2-muted);
  font-size: 19px;
  line-height: 1.72;
}

.fp2-hero-actions,
.fp2-trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.fp2-trust-row {
  color: var(--fp2-muted);
  font-size: 13px;
  font-weight: 760;
}

.fp2-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp2-hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.fp2-app-mockup {
  width: min(620px, 100%);
  min-height: 420px;
  border: 1px solid var(--fp2-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 34px 90px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.fp2-app-mockup header {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fp2-line-soft);
  padding: 0 20px;
  background: #fbfdff;
}

.fp2-mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px;
}

.fp2-mock-metrics article,
.fp2-mock-board div {
  border: 1px solid var(--fp2-line-soft);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.fp2-mock-metrics small {
  color: var(--fp2-muted);
}

.fp2-mock-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.fp2-mock-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
  padding: 0 20px 20px;
}

.fp2-mock-board div {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #f8fbff;
}

.fp2-mock-board span {
  height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.fp2-chat-card,
.fp2-phone-mockup {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 22px;
  background: #112b4c;
  color: #fff;
  box-shadow: 0 22px 70px rgba(17, 43, 76, .22);
}

.fp2-chat-card {
  left: 0;
  top: 26px;
  width: 250px;
  padding: 18px;
}

.fp2-chat-card p {
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
}

.fp2-chat-card span {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
}

.fp2-phone-mockup {
  right: 0;
  bottom: 18px;
  width: 230px;
  padding: 16px;
  background: var(--fp2-dark-gradient);
}

.fp2-phone-mockup header,
.fp2-phone-mockup footer {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  font-weight: 800;
}

.fp2-phone-mockup p {
  width: fit-content;
  max-width: 88%;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
}

.fp2-phone-mockup .from {
  background: rgba(255, 255, 255, .12);
}

.fp2-phone-mockup .to {
  margin-left: auto;
  background: rgba(29, 161, 255, .24);
}

.fp2-carousel {
  overflow: hidden;
  border-block: 1px solid var(--fp2-line);
  background: #fff;
  padding: 22px 0;
}

.fp2-carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: fp2-scroll 28s linear infinite;
}

.fp2-carousel article {
  width: 360px;
  border: 1px solid var(--fp2-line);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .04);
}

.fp2-carousel span {
  color: var(--fp2-blue);
  font-weight: 900;
}

.fp2-carousel strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

@keyframes fp2-scroll {
  from { transform: translateX(24px); }
  to { transform: translateX(-50%); }
}

.fp2-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.fp2-section-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.fp2-section-title h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.fp2-section-title p {
  color: var(--fp2-muted);
  font-size: 17px;
  line-height: 1.65;
}

.fp2-cards-4,
.fp2-dark-grid,
.fp2-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fp2-cards-4 article,
.fp2-flow-line article,
.fp2-price-grid article,
.fp2-panel,
.fp2-metric-grid article {
  border: 1px solid var(--fp2-line);
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

.fp2-cards-4 article .ui-icon {
  color: var(--fp2-blue);
}

.fp2-cards-4 strong,
.fp2-flow-line strong,
.fp2-dark-grid strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--fp2-ink);
  font-size: 18px;
}

.fp2-cards-4 p,
.fp2-flow-line p,
.fp2-dark-grid p {
  color: var(--fp2-muted);
  line-height: 1.6;
}

.fp2-dark-band {
  padding: 92px max(18px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 180, 55, .20), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(124, 58, 237, .22), transparent 32%),
    linear-gradient(135deg, #07172f 0%, #143a66 48%, #452857 100%);
  color: #fff;
}

.fp2-section-title.invert h2 {
  color: #fff;
}

.fp2-section-title.invert .fp2-pill {
  border-color: rgba(245, 180, 55, .34);
  background: rgba(245, 180, 55, .12);
  color: #ffd88a;
}

.fp2-section-title.invert h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(245, 180, 55, .12), #f5b437, rgba(245, 180, 55, .12));
}

.fp2-section-title.invert p {
  color: rgba(255, 255, 255, .68);
}

.fp2-dark-grid article {
  border: 1px solid rgba(245, 180, 55, .16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .045)),
    radial-gradient(circle at 20% 0%, rgba(245, 180, 55, .12), transparent 40%);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .13);
}

.fp2-dark-grid strong {
  color: #ffd88a;
}

.fp2-dark-grid p {
  color: rgba(255, 255, 255, .66);
}

.fp2-flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fp2-flow-line span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--fp2-gradient);
  color: #fff;
  font-weight: 900;
}

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

.fp2-price-grid article strong {
  display: block;
  margin: 12px 0;
  color: var(--fp2-ink);
  font-size: 34px;
  letter-spacing: -.04em;
}

.fp2-price-grid .featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--fp2-gradient) border-box;
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(37, 99, 235, .16);
}

.fp2-price-grid .featured > span {
  color: var(--fp2-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fp2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(18px, calc((100vw - 1180px) / 2));
  background: #0d1c2f;
  color: #fff;
}

.fp2-footer p {
  color: rgba(255, 255, 255, .64);
}

.fp2-legal-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 56px max(18px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 180, 55, .20), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(29, 161, 255, .24), transparent 30%),
    linear-gradient(135deg, #06162d 0%, #123a70 54%, #0a2447 100%);
  color: #fff;
}

.fp2-legal-strip .fp2-pill {
  border-color: rgba(245, 180, 55, .34);
  background: rgba(245, 180, 55, .13);
  color: #ffd88a;
}

.fp2-legal-strip h2 {
  max-width: 640px;
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.05em;
}

.fp2-legal-strip h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 18px;
  border-radius: 1px;
  background: linear-gradient(90deg, #f5b437, rgba(245, 180, 55, .08));
}

.fp2-legal-strip p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .70);
  line-height: 1.7;
}

.fp2-legal-strip nav {
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.fp2-legal-strip nav button,
.fp2-footer nav button {
  min-height: 42px;
  border: 1px solid rgba(245, 180, 55, .20);
  border-radius: 1px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  padding: 0 14px;
  font-weight: 850;
  text-align: left;
}

.fp2-legal-strip nav button:hover,
.fp2-footer nav button:hover {
  border-color: rgba(245, 180, 55, .44);
  background: rgba(245, 180, 55, .12);
  box-shadow: inset 3px 0 0 #f5b437, 0 14px 30px rgba(0, 0, 0, .16);
}

.fp2-footer {
  align-items: flex-start;
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 180, 55, .10), transparent 26%),
    linear-gradient(135deg, #07172f 0%, #0b1f38 58%, #102a4d 100%);
}

.fp2-footer > div {
  display: grid;
  gap: 12px;
}

.fp2-footer small {
  max-width: 760px;
  color: rgba(255, 255, 255, .58);
  line-height: 1.6;
}

.fp2-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.fp2-footer nav button {
  min-height: 38px;
  text-align: center;
}

.footer-operator {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 216, 138, .72) !important;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.legal-copy-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}

.legal-copy-card p {
  margin: 0;
  color: #41526b;
  font-size: 15px;
  line-height: 1.8;
}

.fp2-legal-public .legal-copy h1 {
  max-width: 900px;
}

.legal-admin-panel textarea {
  min-height: 180px;
  line-height: 1.6;
}

@media (max-width: 780px) {
  .fp2-legal-strip {
    grid-template-columns: 1fr;
  }

  .fp2-footer {
    display: grid;
  }

  .fp2-footer nav {
    justify-content: flex-start;
  }
}

/* Landing header and hero contrast pass. */
.fp2-site {
  background:
    radial-gradient(circle at 78% 18%, rgba(29, 161, 255, .16), transparent 26%),
    radial-gradient(circle at 10% 12%, rgba(37, 99, 235, .10), transparent 30%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 44%, #ffffff 100%);
}

.fp2-site-nav {
  width: 100% !important;
  min-height: 82px;
  padding: 0 max(22px, calc((100vw - 1300px) / 2));
  margin: 0 !important;
  border-bottom: 1px solid rgba(196, 211, 232, .75);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.fp2-site-nav .fp2-brand,
.fp2-site-nav nav,
.fp2-site-nav > div {
  min-height: 58px;
}

.fp2-site-nav nav {
  gap: 8px;
}

.fp2-site-nav nav button {
  min-height: 82px;
  border: 0;
  border-radius: 1px;
  color: #3f4f68;
  padding: 0 18px;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease;
}

.fp2-site-nav nav button:hover,
.fp2-site-nav nav button:focus-visible {
  background: #ffffff;
  color: #07172f;
  box-shadow: inset 0 -2px 0 #2563eb, 0 12px 28px rgba(15, 23, 42, .12);
  outline: 0;
}

.fp2-site-nav .fp2-btn {
  box-shadow: 0 14px 28px rgba(37, 99, 235, .14);
}

.fp2-hero {
  width: min(1300px, calc(100% - 44px));
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr);
  gap: 72px;
  padding: 74px 0 92px;
}

.fp2-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .34) 72%, transparent);
  padding: 26px 28px 30px;
  box-shadow: -24px 28px 80px rgba(255, 255, 255, .72);
}

.fp2-hero-copy .fp2-pill {
  border-color: rgba(37, 99, 235, .18);
  background: rgba(255, 255, 255, .78);
  color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .08);
}

.fp2-hero-copy h1 {
  color: #061831;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .60);
}

.fp2-gold-text {
  color: #d99b22;
  background: linear-gradient(135deg, #f8d27a 0%, #d99b22 48%, #a8660f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  -webkit-text-fill-color: transparent;
}

.fp2-hero-copy h1 .fp2-gold-text {
  filter: drop-shadow(0 8px 22px rgba(217, 155, 34, .16));
}

.fp2-hero-copy p {
  color: #40516d;
  font-weight: 520;
}

.fp2-hero-stage::before {
  content: "";
  position: absolute;
  inset: 24px -12px 18px 46px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(7, 23, 47, .08), rgba(37, 99, 235, .14)),
    radial-gradient(circle at 74% 18%, rgba(124, 58, 237, .18), transparent 30%);
  filter: blur(.2px);
}

.fp2-app-mockup {
  position: relative;
  z-index: 1;
  border-color: rgba(177, 194, 219, .92);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 44px 110px rgba(7, 23, 47, .20);
}

.fp2-chat-card,
.fp2-phone-mockup {
  z-index: 2;
  box-shadow: 0 26px 70px rgba(7, 23, 47, .24);
}

@media (max-width: 1024px) {
  .fp2-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fp2-hero-copy {
    max-width: none;
  }
}

.fp2-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 50vw);
  background: var(--fp2-bg);
}

.fp2-auth-visual {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px;
  background: var(--fp2-dark-gradient);
  color: #fff;
}

.fp2-auth-visual h1 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
}

.fp2-auth-visual p {
  max-width: 560px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.7;
}

.fp2-auth-stats {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, .72);
}

.fp2-auth-stats strong {
  display: block;
  color: #fff;
  font-size: 26px;
}

.fp2-auth-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 44px;
}

.fp2-auth-card,
.fp2-auth-panel .register-card {
  width: min(560px, 100%);
  border: 1px solid var(--fp2-line);
  border-radius: 28px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.fp2-auth-card h2,
.fp2-auth-panel .register-card h2 {
  margin: 14px 0 8px;
  color: var(--fp2-ink);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.fp2-auth-card p,
.fp2-auth-panel .register-card p {
  color: var(--fp2-muted);
}

.fp2-auth .field input,
.fp2-auth .field select,
.fp2-auth .field textarea {
  min-height: 50px;
  border: 1px solid var(--fp2-line);
  border-radius: 15px;
  background: #fff;
}

.fp2-auth .form-grid {
  gap: 14px;
}

.fp2-app {
  height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -10%, rgba(37, 99, 235, .14), transparent 28%),
    linear-gradient(180deg, #f8fbff, #f2f6fc);
}

.fp2-sidebar {
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  border-right: 1px solid var(--fp2-line);
  background: rgba(255, 255, 255, .92);
  padding: 22px 14px;
  box-shadow: 18px 0 54px rgba(15, 23, 42, .05);
}

.fp2-company-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(29, 161, 255, .11), rgba(124, 58, 237, .08));
  padding: 16px;
}

.fp2-company-card small,
.fp2-company-card span {
  color: var(--fp2-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fp2-company-card strong {
  overflow: hidden;
  color: var(--fp2-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp2-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 20px;
  padding-right: 4px;
}

.fp2-nav-section {
  display: grid;
  gap: 6px;
}

.fp2-nav-section p {
  margin: 0;
  padding: 0 10px 6px;
  color: var(--fp2-subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.fp2-nav-link {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #41526b;
  padding: 0 12px;
  font-weight: 760;
  text-align: left;
}

.fp2-nav-link:hover {
  border-color: rgba(37, 99, 235, .12);
  background: #f2f7ff;
}

.fp2-nav-link.is-active {
  border-color: rgba(37, 99, 235, .22);
  background: linear-gradient(135deg, rgba(29, 161, 255, .12), rgba(37, 99, 235, .12), rgba(124, 58, 237, .10));
  color: var(--fp2-blue);
  box-shadow: inset 3px 0 0 var(--fp2-blue);
}

.fp2-support-card {
  border-radius: 22px;
  background: var(--fp2-dark-gradient);
  color: #fff;
  padding: 18px;
  box-shadow: 0 20px 44px rgba(17, 43, 76, .18);
}

.fp2-support-card small {
  color: rgba(255, 255, 255, .68);
}

.fp2-support-card strong {
  display: block;
  margin: 4px 0 14px;
}

.fp2-support-card button {
  min-height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: 0 12px;
  font-weight: 850;
}

.fp2-user-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--fp2-line);
  border-radius: 18px;
  background: #fff;
  padding: 9px;
  text-align: left;
}

.fp2-user-card small {
  display: block;
  color: var(--fp2-muted);
}

.fp2-main {
  min-width: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr);
  overflow: hidden;
}

.fp2-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--fp2-line-soft);
  padding: 0 34px;
  background: rgba(247, 249, 252, .86);
  backdrop-filter: blur(18px);
}

.fp2-search {
  width: min(520px, 100%);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
  background: #eef3f9;
  padding: 0 14px;
  color: var(--fp2-muted);
}

.fp2-search input {
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  outline: 0;
}

.fp2-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp2-icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fp2-line);
  border-radius: 14px;
  background: #fff;
  color: var(--fp2-muted);
}

.fp2-workspace {
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  padding: 34px;
}

.fp2-workspace > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.fp2-workspace .topbar,
.fp2-workspace .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--fp2-line-soft);
  background: transparent;
  box-shadow: none;
}

.fp2-workspace .page-breadcrumb,
.fp2-workspace .eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: var(--fp2-blue);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fp2-workspace .topbar h1,
.fp2-workspace .section-heading h2,
.fp2-workspace .panel h2,
.fp2-workspace .card-header h2 {
  margin: 8px 0 0;
  color: var(--fp2-ink);
  font-family: "Plus Jakarta Sans", Geist, Inter, sans-serif;
  font-weight: 850;
  letter-spacing: -.04em;
}

.fp2-workspace .topbar h1 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.fp2-workspace .topbar p,
.fp2-workspace .section-heading p,
.fp2-workspace .panel p,
.fp2-workspace .muted {
  color: var(--fp2-muted);
  line-height: 1.65;
}

.fp2-workspace .panel,
.fp2-workspace .metric-card,
.fp2-workspace .quick-task-card,
.fp2-workspace .action-card,
.fp2-workspace .admin-hub-card,
.fp2-workspace .plan-card,
.fp2-workspace .table-wrap,
.fp2-workspace .dialog-card,
.fp2-workspace .kanban-column,
.fp2-workspace .calendar-panel,
.fp2-workspace .publication-list-panel,
.fp2-workspace .publication-detail,
.fp2-workspace .home-promo-banner,
.fp2-workspace .product-card,
.fp2-workspace .setting-card {
  border: 1px solid var(--fp2-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
  color: var(--fp2-ink);
}

.fp2-workspace .panel,
.fp2-workspace .action-card,
.fp2-workspace .admin-hub-card,
.fp2-workspace .plan-card,
.fp2-workspace .product-card,
.fp2-workspace .setting-card {
  padding: 24px;
}

.fp2-workspace .dashboard-grid,
.fp2-workspace .settings-grid,
.fp2-workspace .admin-hub-grid,
.fp2-workspace .resource-grid,
.fp2-workspace .home-insights-grid,
.fp2-workspace .metrics-grid,
.fp2-workspace .checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fp2-workspace .metrics-grid,
.fp2-workspace .home-insights-grid,
.fp2-workspace .admin-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp2-workspace .metric-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
}

.fp2-workspace .metric-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fp2-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fp2-workspace .metric-heading .ui-icon,
.fp2-workspace .admin-card-icon,
.fp2-workspace .admin-hub-card > .ui-icon,
.fp2-workspace .setting-icon,
.fp2-workspace .empty-state-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 161, 255, .16), rgba(37, 99, 235, .12), rgba(124, 58, 237, .14));
  color: var(--fp2-blue);
}

.fp2-workspace .metric-card > strong {
  color: var(--fp2-ink);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.fp2-workspace .primary-btn,
.fp2-workspace .secondary-btn,
.fp2-workspace .ghost-btn,
.fp2-workspace .icon-btn,
.fp2-workspace .text-btn,
.fp2-workspace .send-btn {
  min-height: 42px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
}

.fp2-workspace .primary-btn,
.fp2-workspace .send-btn {
  border: 0;
  background: var(--fp2-gradient);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .20);
}

.fp2-workspace .secondary-btn,
.fp2-workspace .ghost-btn,
.fp2-workspace .icon-btn {
  border: 1px solid var(--fp2-line);
  background: #fff;
  color: var(--fp2-ink);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.fp2-workspace .text-btn {
  border: 0;
  background: transparent;
  color: var(--fp2-blue);
  box-shadow: none;
}

.fp2-workspace .field > span,
.fp2-workspace label > span {
  color: var(--fp2-ink);
  font-size: 13px;
  font-weight: 850;
}

.fp2-workspace input,
.fp2-workspace select,
.fp2-workspace textarea,
.fp2-workspace .search {
  min-height: 46px;
  border: 1px solid var(--fp2-line);
  border-radius: 15px;
  background: #fff;
  color: var(--fp2-ink);
  padding: 0 14px;
  box-shadow: none;
}

.fp2-workspace textarea {
  min-height: 118px;
  padding-block: 12px;
}

.fp2-workspace input:focus,
.fp2-workspace select:focus,
.fp2-workspace textarea:focus,
.fp2-workspace .search:focus {
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
  outline: 0;
}

.fp2-workspace .form-grid,
.fp2-workspace .filter-grid,
.fp2-workspace .operational-form {
  display: grid;
  gap: 16px;
}

.fp2-workspace .form-grid.two,
.fp2-workspace .register-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp2-workspace .table-wrap {
  overflow: auto;
  padding: 0;
}

.fp2-workspace table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--fp2-ink);
  font-size: 13px;
}

.fp2-workspace table th {
  height: 46px;
  border-bottom: 1px solid var(--fp2-line);
  background: #f7faff;
  color: var(--fp2-muted);
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.fp2-workspace table td {
  border-bottom: 1px solid var(--fp2-line-soft);
  color: var(--fp2-muted);
  padding: 14px;
}

.fp2-workspace table td strong {
  color: var(--fp2-ink);
}

.fp2-workspace tbody tr:hover {
  background: #f8fbff;
}

.fp2-workspace .status,
.fp2-workspace .badge,
.fp2-workspace .integration-status {
  min-height: 28px;
  border: 1px solid var(--fp2-line);
  border-radius: 999px;
  background: #f7faff;
  color: var(--fp2-muted);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 900;
}

.fp2-workspace .status-success {
  border-color: rgba(16, 185, 129, .24);
  background: rgba(16, 185, 129, .10);
  color: #047857;
}

.fp2-workspace .status-warning {
  border-color: rgba(245, 158, 11, .26);
  background: rgba(245, 158, 11, .11);
  color: #b45309;
}

.fp2-workspace .status-danger {
  border-color: rgba(225, 29, 46, .24);
  background: rgba(225, 29, 46, .10);
  color: #be123c;
}

.fp2-workspace .empty-state-component,
.fp2-workspace .panel > .empty,
.fp2-workspace .empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--fp2-muted);
  text-align: center;
}

.fp2-workspace .kanban,
.fp2-workspace .legal-list,
.fp2-workspace .processing-list {
  min-width: 0;
}

.fp2-workspace .kanban-column,
.fp2-workspace .kanban-card,
.fp2-workspace .mini-row,
.fp2-workspace .legal-process-row,
.fp2-workspace .legal-document-row {
  border-color: var(--fp2-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.fp2-workspace .span-2 {
  grid-column: span 2;
}

.fp2-dashboard {
  display: grid;
  gap: 24px;
}

.fp2-page-title h1 {
  max-width: 840px;
  font-size: clamp(32px, 4vw, 50px);
}

.fp2-page-title p {
  max-width: 760px;
  color: var(--fp2-muted);
  font-size: 16px;
  line-height: 1.7;
}

.fp2-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 20px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--fp2-dark-gradient);
  color: #fff;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(17, 43, 76, .16);
}

.fp2-spotlight h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

.fp2-spotlight p {
  color: rgba(255, 255, 255, .72);
}

.fp2-mini-chat {
  display: grid;
  align-content: center;
  gap: 10px;
}

.fp2-mini-chat p,
.fp2-mini-chat strong {
  border-radius: 16px;
  background: rgba(255, 255, 255, .10);
  padding: 12px;
}

.fp2-mini-chat .to {
  background: rgba(29, 161, 255, .20);
}

.fp2-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fp2-metric-grid article {
  display: grid;
  gap: 10px;
}

.fp2-metric-grid .ui-icon {
  color: var(--fp2-blue);
}

.fp2-metric-grid span,
.fp2-metric-grid small {
  color: var(--fp2-muted);
}

.fp2-metric-grid strong {
  color: var(--fp2-ink);
  font-size: 28px;
  letter-spacing: -.04em;
}

.fp2-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 16px;
}

.fp2-panel.wide {
  grid-column: 1 / -1;
}

.fp2-panel h2 {
  margin: 0 0 14px;
}

.fp2-action-list,
.fp2-feed {
  display: grid;
  gap: 10px;
}

.fp2-action-list button,
.fp2-feed span {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--fp2-line-soft);
  border-radius: 15px;
  background: #f8fbff;
  color: var(--fp2-ink);
  padding: 0 12px;
  font-weight: 760;
}

.fp2-pipeline {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 20px;
}

.fp2-pipeline span {
  flex: 1;
  min-height: 34px;
  border-radius: 16px 16px 6px 6px;
  background: var(--fp2-gradient);
}

@media (max-width: 1024px) {
  .fp2-hero,
  .fp2-auth,
  .fp2-spotlight {
    grid-template-columns: 1fr;
  }

  .fp2-hero-stage {
    min-height: 520px;
  }

  .fp2-cards-4,
  .fp2-dark-grid,
  .fp2-flow-line,
  .fp2-metric-grid,
  .fp2-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp2-app {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .fp2-sidebar {
    padding: 16px 10px;
  }

  .fp2-sidebar .fp2-brand span:not(.fp2-logo),
  .fp2-company-card,
  .fp2-nav-section p,
  .fp2-nav-link span,
  .fp2-support-card,
  .fp2-user-card span:not(.user-avatar) {
    display: none;
  }

  .fp2-nav-link,
  .fp2-user-card {
    justify-content: center;
    padding-inline: 0;
  }
}

@media (max-width: 720px) {
  .fp2-site-nav {
    grid-template-columns: 1fr auto;
  }

  .fp2-site-nav nav {
    display: none;
  }

  .fp2-hero,
  .fp2-section {
    width: min(100% - 28px, 560px);
  }

  .fp2-hero {
    min-height: 0;
    padding: 34px 0 54px;
  }

  .fp2-hero-copy h1 {
    font-size: 42px;
  }

  .fp2-chat-card,
  .fp2-phone-mockup {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .fp2-hero-stage {
    display: grid;
    gap: 14px;
  }

  .fp2-mock-metrics,
  .fp2-mock-board,
  .fp2-cards-4,
  .fp2-dark-grid,
  .fp2-flow-line,
  .fp2-metric-grid,
  .fp2-price-grid,
  .fp2-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .fp2-footer,
  .fp2-header {
    display: grid;
  }

  .fp2-app {
    grid-template-columns: 1fr;
  }

  .fp2-sidebar {
    display: none;
  }

  .fp2-main {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .fp2-header,
  .fp2-workspace,
  .fp2-auth-panel,
  .fp2-auth-visual {
    padding: 22px;
  }
}

/* ForPoint public home polish: surface hierarchy, soft depth and microinteractions. */
.fp2-site {
  --fp2-bg: #f6f9ff;
  --fp2-surface: #ffffff;
  --fp2-surface-soft: #f8fbff;
  --fp2-surface-blue: #f1f7ff;
  --fp2-surface-purple: #f7f3ff;
  --fp2-surface-green: #f2fbf7;
  --fp2-surface-orange: #fff8ee;
  --fp2-line: #dbe7f6;
  --fp2-line-soft: #edf3fb;
  --fp2-blue: #246bff;
  --fp2-sky: #18b8ff;
  --fp2-purple: #6f38f6;
  --fp2-green: #16a87a;
  --fp2-orange: #f59e0b;
  --fp2-shadow-soft: 0 18px 48px rgba(15, 23, 42, .075);
  --fp2-shadow-card: 0 1px 1px rgba(15, 23, 42, .025), 0 16px 42px rgba(15, 23, 42, .07);
  --fp2-shadow-hover: 0 1px 1px rgba(15, 23, 42, .035), 0 24px 58px rgba(15, 23, 42, .105);
  --fp2-motion: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  background:
    linear-gradient(120deg, rgba(24, 184, 255, .10), transparent 24%),
    linear-gradient(240deg, rgba(111, 56, 246, .075), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7ff 38%, #ffffff 72%, #f6f9ff 100%);
  color: var(--fp2-ink);
}

.fp2-site::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, .026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 42%);
}

.fp2-site > * {
  position: relative;
  z-index: 1;
}

.fp2-site-nav {
  border-bottom-color: rgba(203, 216, 236, .72);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 16px 46px rgba(15, 23, 42, .055);
  backdrop-filter: blur(22px) saturate(1.12);
}

.fp2-site-nav nav button,
.fp2-btn,
.fp2-cards-4 article,
.fp2-flow-line article,
.fp2-price-grid article,
.fp2-carousel article,
.fp2-dark-grid article,
.fp2-legal-strip nav button,
.fp2-footer nav button {
  transition:
    transform 180ms var(--fp2-motion),
    box-shadow 180ms var(--fp2-motion),
    border-color 180ms var(--fp2-motion),
    background 180ms var(--fp2-motion),
    color 180ms var(--fp2-motion),
    filter 180ms var(--fp2-motion);
}

.fp2-site-nav nav button:hover,
.fp2-site-nav nav button:focus-visible {
  background: rgba(255, 255, 255, .84);
  box-shadow: inset 0 -2px 0 var(--fp2-blue), 0 14px 34px rgba(37, 99, 235, .095);
}

.fp2-logo {
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 34%),
    linear-gradient(135deg, var(--fp2-sky) 0%, var(--fp2-blue) 48%, var(--fp2-purple) 100%);
  box-shadow: 0 16px 38px rgba(36, 107, 255, .24);
}

.fp2-btn,
.fp2-site .fp2-btn {
  min-height: 46px;
  border-radius: 13px;
  letter-spacing: 0;
  will-change: transform;
}

.fp2-btn-primary {
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .20), transparent 44%),
    linear-gradient(135deg, var(--fp2-sky) 0%, var(--fp2-blue) 48%, var(--fp2-purple) 100%);
  box-shadow: 0 16px 34px rgba(36, 107, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.fp2-btn-soft,
.fp2-btn-ghost {
  border-color: rgba(205, 218, 238, .86);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(15, 23, 42, .055);
}

.fp2-btn:hover {
  transform: translateY(-2px);
}

.fp2-btn-primary:hover {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 20px 46px rgba(36, 107, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .32);
}

.fp2-btn-soft:hover,
.fp2-btn-ghost:hover {
  border-color: rgba(36, 107, 255, .26);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.fp2-hero {
  isolation: isolate;
  position: relative;
  padding-top: 86px;
  padding-bottom: 108px;
}

.fp2-hero::before {
  content: "";
  position: absolute;
  inset: 20px -7vw 34px;
  z-index: -2;
  border-radius: 48px;
  background:
    conic-gradient(from 212deg at 72% 36%, rgba(111, 56, 246, .18), rgba(24, 184, 255, .13), rgba(22, 168, 122, .07), rgba(255, 255, 255, .0), rgba(111, 56, 246, .18)),
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(241, 247, 255, .72) 54%, rgba(247, 243, 255, .54));
  filter: blur(18px);
  opacity: .88;
}

.fp2-hero::after {
  content: "";
  position: absolute;
  inset: 70px 42% 70px -7vw;
  z-index: -1;
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .26)),
    linear-gradient(90deg, rgba(36, 107, 255, .10), rgba(24, 184, 255, .035));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 28px 90px rgba(37, 99, 235, .075);
}

.fp2-hero-copy {
  border: 1px solid rgba(255, 255, 255, .62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .54) 58%, rgba(255, 255, 255, .18)),
    linear-gradient(180deg, rgba(244, 249, 255, .72), rgba(255, 255, 255, .36));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 30px 90px rgba(37, 99, 235, .09);
  backdrop-filter: blur(14px);
}

.fp2-hero-copy h1 {
  letter-spacing: -.045em;
}

.fp2-gold-text {
  background: linear-gradient(135deg, #129fe7 0%, var(--fp2-blue) 48%, var(--fp2-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.fp2-trust-row span {
  min-height: 32px;
  border: 1px solid rgba(36, 107, 255, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  padding: 0 11px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

.fp2-hero-stage::before {
  inset: 6px -18px 2px 30px;
  border: 1px solid rgba(255, 255, 255, .58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .04)),
    conic-gradient(from 120deg at 56% 48%, rgba(36, 107, 255, .16), rgba(111, 56, 246, .15), rgba(24, 184, 255, .10), rgba(22, 168, 122, .06), rgba(36, 107, 255, .16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 30px 90px rgba(37, 99, 235, .09);
  filter: blur(0);
}

.fp2-app-mockup {
  border-color: rgba(199, 213, 234, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 252, 255, .96));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 42px 100px rgba(7, 23, 47, .16);
}

.fp2-app-mockup header {
  background:
    linear-gradient(90deg, rgba(36, 107, 255, .08), rgba(111, 56, 246, .06)),
    #fbfdff;
}

.fp2-mock-metrics article,
.fp2-mock-board div {
  border-color: rgba(219, 231, 246, .9);
  background:
    linear-gradient(180deg, #ffffff, #f9fcff);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.fp2-mock-metrics article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-blue));
}

.fp2-mock-metrics article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-green));
}

.fp2-mock-metrics article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-purple));
}

.fp2-mock-board div {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .98), rgba(241, 247, 255, .92));
}

.fp2-mock-board div::before,
.fp2-cards-4 article::before,
.fp2-flow-line article::before,
.fp2-price-grid article::before {
  content: "";
  display: block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24, 184, 255, .50), rgba(36, 107, 255, .34), rgba(111, 56, 246, .28));
}

.fp2-mock-board div::before {
  margin-bottom: 2px;
}

.fp2-chat-card,
.fp2-phone-mockup {
  border-color: rgba(255, 255, 255, .30);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), transparent 42%),
    linear-gradient(135deg, #0b1f38 0%, #123a70 56%, #351d55 100%);
  box-shadow: 0 28px 70px rgba(7, 23, 47, .22);
  backdrop-filter: blur(10px);
}

.fp2-carousel {
  border-block-color: rgba(219, 231, 246, .82);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .20), rgba(246, 250, 255, .92) 16%, rgba(246, 250, 255, .92) 84%, rgba(255, 255, 255, .20));
}

.fp2-carousel article {
  border-color: rgba(219, 231, 246, .88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .95));
  box-shadow: var(--fp2-shadow-card);
}

.fp2-carousel article:hover {
  transform: translateY(-3px);
  box-shadow: var(--fp2-shadow-hover);
}

.fp2-section {
  position: relative;
  padding-top: 108px;
  padding-bottom: 108px;
}

.fp2-service-grid,
.fp2-pricing {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .94), rgba(244, 248, 255, .72));
  box-shadow: 0 0 0 100vmax rgba(246, 249, 255, .70);
  clip-path: inset(0 -100vmax);
}

.fp2-flow {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(241, 247, 255, .72)),
    linear-gradient(90deg, rgba(22, 168, 122, .055), rgba(245, 158, 11, .055));
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, .46);
  clip-path: inset(0 -100vmax);
}

.fp2-section-title {
  margin-bottom: 44px;
}

.fp2-section-title h2 {
  letter-spacing: -.045em;
}

.fp2-section-title p {
  color: #60708a;
}

.fp2-cards-4 article,
.fp2-flow-line article,
.fp2-price-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(217, 228, 244, .9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 255, .94));
  box-shadow: var(--fp2-shadow-card);
}

.fp2-cards-4 article::before,
.fp2-flow-line article::before,
.fp2-price-grid article::before {
  margin: -24px -24px 22px;
}

.fp2-cards-4 article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-blue));
}

.fp2-cards-4 article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-purple));
}

.fp2-cards-4 article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-green));
}

.fp2-cards-4 article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, var(--fp2-surface-orange));
}

.fp2-cards-4 article:hover,
.fp2-flow-line article:hover,
.fp2-price-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 107, 255, .18);
  box-shadow: var(--fp2-shadow-hover);
}

.fp2-cards-4 article .ui-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(36, 107, 255, .09);
  color: var(--fp2-blue);
}

.fp2-cards-4 article:nth-child(2) .ui-icon {
  background: rgba(111, 56, 246, .09);
  color: var(--fp2-purple);
}

.fp2-cards-4 article:nth-child(3) .ui-icon {
  background: rgba(22, 168, 122, .10);
  color: var(--fp2-green);
}

.fp2-cards-4 article:nth-child(4) .ui-icon {
  background: rgba(245, 158, 11, .12);
  color: var(--fp2-orange);
}

.fp2-dark-band {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 108px;
  background:
    linear-gradient(135deg, rgba(24, 184, 255, .12), transparent 32%),
    linear-gradient(225deg, rgba(111, 56, 246, .18), transparent 36%),
    linear-gradient(135deg, #06162d 0%, #0e2d55 48%, #251641 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 34px 90px rgba(7, 23, 47, .12);
}

.fp2-dark-band::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .52), transparent 82%);
}

.fp2-dark-band > * {
  position: relative;
  z-index: 1;
}

.fp2-dark-grid article {
  border-radius: 20px;
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .052)),
    linear-gradient(135deg, rgba(24, 184, 255, .08), rgba(111, 56, 246, .07));
  box-shadow: 0 22px 52px rgba(0, 0, 0, .14);
  backdrop-filter: blur(10px);
}

.fp2-dark-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, .28);
  box-shadow: 0 28px 68px rgba(0, 0, 0, .18);
}

.fp2-dark-grid strong {
  color: #ffffff;
}

.fp2-flow-line span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .20), transparent 44%),
    var(--fp2-gradient);
  box-shadow: 0 12px 28px rgba(36, 107, 255, .20);
}

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

.fp2-price-grid article {
  display: flex;
  flex-direction: column;
}

.fp2-price-grid article p {
  color: var(--fp2-muted);
  line-height: 1.6;
}

.fp2-price-grid article button {
  margin-top: auto;
}

.fp2-price-grid .featured {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--fp2-sky), var(--fp2-blue), var(--fp2-purple)) border-box;
  box-shadow: 0 28px 70px rgba(36, 107, 255, .18);
}

.fp2-price-grid .featured::before {
  background: linear-gradient(90deg, var(--fp2-sky), var(--fp2-blue), var(--fp2-purple));
}

.fp2-legal-strip {
  background:
    linear-gradient(135deg, rgba(24, 184, 255, .13), transparent 30%),
    linear-gradient(235deg, rgba(111, 56, 246, .16), transparent 36%),
    linear-gradient(135deg, #07172f 0%, #123a70 54%, #0b2344 100%);
}

.fp2-legal-strip nav button,
.fp2-footer nav button {
  border-radius: 12px;
}

.fp2-legal-strip nav button:hover,
.fp2-footer nav button:hover {
  transform: translateY(-2px);
  box-shadow: inset 3px 0 0 rgba(24, 184, 255, .92), 0 16px 34px rgba(0, 0, 0, .16);
}

.fp2-footer {
  background:
    linear-gradient(135deg, rgba(24, 184, 255, .08), transparent 28%),
    linear-gradient(135deg, #07172f 0%, #0b1f38 58%, #102a4d 100%);
}

.fp2-hero-copy,
.fp2-hero-stage,
.fp2-carousel,
.fp2-section-title,
.fp2-cards-4 article,
.fp2-dark-grid article,
.fp2-flow-line article,
.fp2-price-grid article,
.fp2-legal-strip {
  animation: fp2-polish-enter 520ms var(--fp2-motion) both;
}

.fp2-cards-4 article:nth-child(2),
.fp2-dark-grid article:nth-child(2),
.fp2-flow-line article:nth-child(2),
.fp2-price-grid article:nth-child(2) {
  animation-delay: 60ms;
}

.fp2-cards-4 article:nth-child(3),
.fp2-dark-grid article:nth-child(3),
.fp2-flow-line article:nth-child(3),
.fp2-price-grid article:nth-child(3) {
  animation-delay: 110ms;
}

.fp2-cards-4 article:nth-child(4),
.fp2-dark-grid article:nth-child(4),
.fp2-flow-line article:nth-child(4),
.fp2-price-grid article:nth-child(4) {
  animation-delay: 160ms;
}

@keyframes fp2-polish-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp2-site *,
  .fp2-site *::before,
  .fp2-site *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1024px) {
  .fp2-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp2-hero::after {
    inset: 52px -5vw auto -5vw;
    height: 420px;
  }
}

@media (max-width: 720px) {
  .fp2-site {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .fp2-site-nav {
    display: flex !important;
    justify-content: space-between;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 72px;
    padding-inline: 16px;
    gap: 10px;
    overflow: hidden;
  }

  .fp2-site-nav > div {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .fp2-site-nav .fp2-btn-ghost {
    display: none;
  }

  .fp2-site-nav .fp2-brand {
    gap: 9px;
  }

  .fp2-site-nav .fp2-brand span:not(.fp2-logo) {
    display: none;
  }

  .fp2-site-nav .fp2-brand strong {
    font-size: 16px;
  }

  .fp2-site-nav .fp2-brand small {
    display: none;
  }

  .fp2-site-nav .fp2-btn-primary {
    display: none;
  }

  .fp2-hero {
    width: min(326px, calc(100vw - 64px)) !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-left: 24px !important;
    margin-right: auto !important;
    padding-top: 36px;
    padding-bottom: 64px;
    overflow: hidden;
  }

  .fp2-hero-copy,
  .fp2-hero-stage,
  .fp2-app-mockup,
  .fp2-chat-card,
  .fp2-phone-mockup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .fp2-hero-copy {
    width: min(326px, calc(100vw - 64px)) !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
  }

  .fp2-hero-copy h1 {
    width: min(282px, calc(100vw - 108px)) !important;
    max-width: min(282px, calc(100vw - 108px)) !important;
    font-size: clamp(27px, 7.4vw, 32px);
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  .fp2-hero-copy p {
    width: min(282px, calc(100vw - 108px)) !important;
    max-width: min(282px, calc(100vw - 108px)) !important;
    font-size: 16px;
    white-space: normal !important;
  }

  .fp2-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fp2-hero-actions .fp2-btn {
    width: 100%;
  }

  .fp2-trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fp2-trust-row span {
    width: fit-content;
    max-width: 100%;
  }

  .fp2-hero::before,
  .fp2-hero::after {
    inset-inline: -18px;
    border-radius: 28px;
  }

  .fp2-hero-stage {
    min-height: auto;
  }

  .fp2-app-mockup {
    border-radius: 22px;
  }

  .fp2-section,
  .fp2-dark-band {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .fp2-price-grid {
    grid-template-columns: 1fr;
  }

  .fp2-price-grid .featured {
    transform: none;
  }
}

/* ForPoint reference landing: dark hero, dashboard mockup and animated phone. */
.fp2-ref-site {
  --fp2-ink: #061532;
  --fp2-muted: #5c6b85;
  --fp2-yellow: #ffc629;
  --fp2-yellow-2: #ffb703;
  --fp2-hero-dark: #06142d;
  --fp2-hero-blue: #073b91;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f7faff;
}

.fp2-ref-site::before {
  display: none;
}

.fp2-ref-site .fp2-site-nav {
  width: 100% !important;
  min-height: 84px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0 max(46px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(124, 160, 220, .24);
  background: rgba(2, 13, 34, .92);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.fp2-ref-site .fp2-brand,
.fp2-ref-site .fp2-brand strong {
  color: #fff;
}

.fp2-ref-site .fp2-brand small {
  color: rgba(255, 255, 255, .78);
}

.fp2-ref-site .fp2-logo,
.fp2-ref-site .fp2-mini-logo {
  background: linear-gradient(135deg, #26b7ff, #1268ff 52%, #5138ff);
  box-shadow: 0 14px 34px rgba(18, 104, 255, .36);
}

.fp2-ref-site .fp2-site-nav nav button {
  min-height: 84px;
  color: rgba(255, 255, 255, .88);
}

.fp2-ref-site .fp2-site-nav nav button:hover,
.fp2-ref-site .fp2-site-nav nav button:focus-visible {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--fp2-yellow);
}

.fp2-ref-site .fp2-site-nav .fp2-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  box-shadow: none;
}

.fp2-ref-site .fp2-btn-primary,
.fp2-ref-site .fp2-site-nav .fp2-btn-primary,
.fp2-ref-site .fp2-price-grid .featured .fp2-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #ffdb57, var(--fp2-yellow) 48%, #f5aa16);
  color: #061532;
  box-shadow: 0 18px 40px rgba(255, 198, 41, .34);
}

.fp2-ref-site .fp2-btn-primary:hover {
  filter: saturate(1.05) brightness(1.03);
  box-shadow: 0 22px 54px rgba(255, 198, 41, .42);
}

.fp2-ref-site .fp2-btn-soft {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(7, 26, 61, .62);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.fp2-play-dot {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 198, 41, .52);
  border-radius: 50%;
  color: var(--fp2-yellow);
}

.fp2-ref-hero {
  width: 100%;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(540px, .92fr) minmax(600px, 1.08fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: 56px max(46px, calc((100vw - 1380px) / 2)) 28px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(35, 104, 255, .42), transparent 30%),
    radial-gradient(circle at 8% 24%, rgba(0, 133, 255, .20), transparent 34%),
    linear-gradient(135deg, #03112b 0%, #06285d 50%, #003f98 100%);
}

.fp2-ref-hero::before {
  inset: 0;
  z-index: 0;
  border-radius: 0;
  opacity: 1;
  filter: none;
  background:
    linear-gradient(120deg, transparent 0 72%, rgba(18, 104, 255, .55) 72.1%, transparent 72.5%),
    radial-gradient(circle at 22% 43%, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: auto, 16px 16px;
}

.fp2-ref-hero::after {
  inset: auto -8vw 116px -8vw;
  height: 190px;
  z-index: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  border-top: 2px solid rgba(255, 198, 41, .82);
  box-shadow: none;
  transform: rotate(-4deg);
}

.fp2-ref-hero > * {
  position: relative;
  z-index: 1;
}

.fp2-ref-hero .fp2-hero-copy {
  max-width: 680px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.fp2-ref-hero .fp2-pill,
.fp2-ref-site .fp2-section-title .fp2-pill.light,
.fp2-ref-site .fp2-section-title.invert .fp2-pill {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(3, 17, 43, .46);
  color: var(--fp2-yellow);
  box-shadow: none;
}

.fp2-ref-hero .fp2-pill i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fp2-yellow);
  box-shadow: 0 0 18px rgba(255, 198, 41, .78);
}

.fp2-ref-hero .fp2-hero-copy h1 {
  max-width: 640px;
  margin: 26px 0 22px;
  color: #fff;
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 16px 44px rgba(0, 0, 0, .22);
}

.fp2-ref-hero .fp2-gold-text {
  display: inline;
  background: linear-gradient(135deg, #ffe178, var(--fp2-yellow) 44%, #f0a915);
  -webkit-background-clip: text;
  background-clip: text;
}

.fp2-ref-hero .fp2-hero-copy h1::after {
  content: ".";
  color: #1683ff;
}

.fp2-ref-hero .fp2-hero-copy p {
  max-width: 570px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
  line-height: 1.68;
}

.fp2-ref-hero .fp2-hero-actions {
  margin-top: 30px;
  gap: 16px;
}

.fp2-ref-hero .fp2-trust-row {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 14px;
  margin-top: 34px;
}

.fp2-ref-hero .fp2-trust-row span {
  min-height: 46px;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(5, 30, 76, .70);
  color: rgba(255, 255, 255, .92);
  padding: 0 16px;
  box-shadow: none;
}

.fp2-ref-hero .fp2-trust-row .ui-icon {
  color: var(--fp2-yellow);
}

.fp2-ref-hero .fp2-hero-stage {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.fp2-ref-hero .fp2-hero-stage::before {
  display: none;
}

.fp2-ref-hero .fp2-app-mockup {
  position: relative;
  width: min(720px, 100%);
  min-height: 420px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  overflow: hidden;
  border: 8px solid rgba(14, 75, 153, .68);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
  animation: fp2-dashboard-float 7s ease-in-out infinite;
}

.fp2-mock-sidebar {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: 24px;
  background: linear-gradient(180deg, #041734, #031126);
  color: #fff;
}

.fp2-mini-logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.fp2-mini-logo img {
  width: 100%;
  height: 100%;
  padding: 6px;
  filter: brightness(0) invert(1);
}

.fp2-mock-sidebar b,
.fp2-mock-sidebar small {
  min-height: 36px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
}

.fp2-mock-sidebar b {
  background: #1268ff;
}

.fp2-mock-sidebar small {
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
}

.fp2-app-mockup main {
  min-width: 0;
  padding: 22px;
  background: #f4f8ff;
}

.fp2-ref-hero .fp2-app-mockup header {
  height: auto;
  padding: 0 0 20px;
  border: 0;
  background: transparent;
}

.fp2-ref-hero .fp2-app-mockup header div {
  display: grid;
  gap: 5px;
}

.fp2-ref-hero .fp2-app-mockup header b {
  color: #061532;
  font-size: 18px;
}

.fp2-ref-hero .fp2-app-mockup header small,
.fp2-ref-hero .fp2-app-mockup header span {
  color: #52627d;
  font-size: 12px;
  font-weight: 700;
}

.fp2-ref-hero .fp2-app-mockup header span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
}

.fp2-ref-hero .fp2-mock-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 16px;
}

.fp2-ref-hero .fp2-mock-metrics article {
  min-height: 92px;
  border: 0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 26, 57, .08);
}

.fp2-ref-hero .fp2-mock-metrics strong {
  margin-top: 8px;
  color: #071532;
  font-size: 28px;
}

.fp2-ref-hero .fp2-mock-metrics em {
  display: block;
  margin-top: 6px;
  color: #0ca45c;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.fp2-ref-hero .fp2-mock-board {
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.fp2-ref-hero .fp2-mock-board div {
  min-height: 168px;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.fp2-ref-hero .fp2-mock-board div::before {
  display: none;
}

.fp2-ref-hero .fp2-mock-board b {
  color: #071532;
  font-size: 12px;
}

.fp2-ref-hero .fp2-mock-board span {
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(90deg, #edf3fb 34%, #f9fbff 52%, #edf3fb 70%);
  background-size: 220% 100%;
  animation: fp2-skeleton 2.6s linear infinite;
}

.fp2-ref-hero .fp2-phone-mockup {
  right: -22px;
  bottom: 6px;
  width: 204px;
  min-height: 370px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  border: 7px solid #071021;
  border-radius: 32px;
  background: #06142d;
  color: #fff;
  padding: 20px 12px 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .44), 0 0 0 1px rgba(255, 255, 255, .10);
  animation: fp2-phone-float 5.5s ease-in-out infinite;
}

.fp2-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 14px;
  border-radius: 0 0 12px 12px;
  background: #030814;
  transform: translateX(-50%);
}

.fp2-ref-hero .fp2-phone-mockup header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
}

.fp2-ref-hero .fp2-phone-mockup header .fp2-mini-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.fp2-ref-hero .fp2-phone-mockup header div {
  display: grid;
  gap: 1px;
}

.fp2-ref-hero .fp2-phone-mockup header small {
  color: rgba(255, 255, 255, .60);
}

.fp2-ref-hero .fp2-phone-mockup header i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, .9);
}

.fp2-phone-chat {
  display: grid;
  gap: 8px;
}

.fp2-phone-chat p {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .88);
  padding: 10px;
  font-size: 11px;
  line-height: 1.45;
}

.fp2-phone-chat .from {
  justify-self: end;
  width: 82%;
  background: rgba(18, 104, 255, .24);
  animation: fp2-message-pop 5.5s ease-in-out infinite;
}

.fp2-phone-chat .second {
  animation: fp2-message-pop 5.5s ease-in-out 1.1s infinite;
}

.fp2-ref-hero .fp2-phone-mockup nav {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  padding: 10px;
}

.fp2-ref-hero .fp2-phone-mockup nav button {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
}

.fp2-ref-hero .fp2-phone-mockup nav button:nth-child(1) {
  animation: fp2-phone-action 4.8s ease-in-out infinite;
}

.fp2-ref-hero .fp2-phone-mockup nav button:nth-child(2) {
  animation: fp2-phone-action 4.8s ease-in-out 1.2s infinite;
}

.fp2-ref-hero .fp2-phone-mockup nav button:nth-child(3) {
  animation: fp2-phone-action 4.8s ease-in-out 2.4s infinite;
}

.fp2-ref-hero .fp2-phone-mockup footer {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  color: rgba(255, 255, 255, .42);
  padding: 0 5px 0 10px;
  font-size: 10px;
}

.fp2-ref-hero .fp2-phone-mockup footer button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #1268ff;
  color: #fff;
  margin-left: auto;
  animation: fp2-send-pulse 2.4s ease-in-out infinite;
}

.fp2-hero-feature-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(3, 25, 60, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 70px rgba(0, 0, 0, .20);
  backdrop-filter: blur(16px);
  margin-top: -8px;
}

.fp2-ref-hero .fp2-carousel.fp2-hero-feature-band {
  overflow: visible;
  border-block: 0;
  padding: 0;
}

.fp2-hero-feature-band article {
  width: auto;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px 34px;
  color: #fff;
}

.fp2-ref-hero .fp2-hero-feature-band article {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fp2-hero-feature-band article + article {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.fp2-hero-feature-band .ui-icon {
  color: var(--fp2-yellow);
}

.fp2-hero-feature-band strong {
  font-size: 18px;
}

.fp2-hero-feature-band p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.fp2-ref-site .fp2-service-grid {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
}

.fp2-ref-site .fp2-section-title h2 {
  color: #061532;
}

.fp2-ref-site .fp2-section-title .fp2-pill.light {
  border-color: rgba(18, 104, 255, .16);
  background: #eef6ff;
  color: #1268ff;
}

.fp2-ref-site .fp2-section-title h2 .fp2-gold-text,
.fp2-ref-site .fp2-section-title.invert h2 .fp2-gold-text {
  background: linear-gradient(135deg, #1683ff, #1268ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.fp2-ref-site .fp2-cards-4 article {
  border-radius: 12px;
}

.fp2-ref-site .fp2-dark-band {
  background:
    radial-gradient(circle at 12% 18%, rgba(18, 104, 255, .22), transparent 28%),
    linear-gradient(135deg, #03112b 0%, #06285d 58%, #003f98 100%);
}

.fp2-ref-site .fp2-section-title.invert .fp2-pill {
  color: var(--fp2-yellow);
}

.fp2-ref-site .fp2-section-title.invert h2 .fp2-gold-text {
  background: linear-gradient(135deg, #ffe178, var(--fp2-yellow));
  -webkit-background-clip: text;
  background-clip: text;
}

.fp2-ref-site .fp2-flow {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
}

.fp2-ref-site .fp2-flow-line article {
  border-radius: 12px;
}

.fp2-ref-site .fp2-flow-line span {
  border-radius: 50%;
  background: #1268ff;
}

.fp2-ref-site .fp2-pricing {
  background: linear-gradient(180deg, #fff, #f4f8ff);
  box-shadow: 0 0 0 100vmax #f7faff;
}

.fp2-ref-site .fp2-price-grid .featured {
  border-color: #1268ff;
  box-shadow: 0 24px 60px rgba(18, 104, 255, .14);
}

@keyframes fp2-dashboard-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes fp2-phone-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(.1deg); }
  50% { transform: translate3d(0, -13px, 0) rotate(-.6deg); }
}

@keyframes fp2-message-pop {
  0%, 12% { opacity: .55; transform: translateY(5px) scale(.98); }
  24%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: .72; transform: translateY(0) scale(1); }
}

@keyframes fp2-phone-action {
  0%, 72%, 100% { color: #fff; transform: translateX(0); }
  36% { color: var(--fp2-yellow); transform: translateX(3px); }
}

@keyframes fp2-send-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 104, 255, .0); }
  50% { box-shadow: 0 0 0 6px rgba(18, 104, 255, .18); }
}

@keyframes fp2-skeleton {
  from { background-position: 0 0; }
  to { background-position: -220% 0; }
}

@media (max-width: 1180px) {
  .fp2-ref-hero {
    grid-template-columns: 1fr;
  }

  .fp2-ref-hero .fp2-hero-copy {
    max-width: 780px;
  }

  .fp2-ref-hero .fp2-trust-row {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 760px) {
  .fp2-ref-site .fp2-site-nav {
    min-height: 74px;
    padding-inline: 18px;
  }

  .fp2-ref-site .fp2-site-nav nav,
  .fp2-ref-site .fp2-site-nav .fp2-btn-ghost {
    display: none;
  }

  .fp2-ref-site .fp2-site-nav .fp2-btn-primary {
    display: none;
  }

  .fp2-ref-hero {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
    padding: 36px 18px 24px;
    overflow-x: hidden;
  }

  .fp2-ref-hero .fp2-hero-copy,
  .fp2-ref-hero .fp2-hero-copy h1,
  .fp2-ref-hero .fp2-hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .fp2-ref-hero .fp2-hero-copy h1 {
    font-size: clamp(31px, 8.8vw, 36px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .fp2-ref-hero .fp2-hero-copy p {
    font-size: 15px;
    line-height: 1.62;
    overflow-wrap: break-word;
  }

  .fp2-ref-hero .fp2-trust-row,
  .fp2-hero-feature-band,
  .fp2-ref-site .fp2-cards-4,
  .fp2-ref-site .fp2-dark-grid,
  .fp2-ref-site .fp2-flow-line,
  .fp2-ref-site .fp2-price-grid {
    grid-template-columns: 1fr;
  }

  .fp2-ref-hero .fp2-trust-row span {
    width: 100%;
  }

  .fp2-ref-hero .fp2-hero-stage {
    min-height: auto;
  }

  .fp2-ref-hero .fp2-app-mockup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    border-width: 5px;
    overflow: hidden;
  }

  .fp2-app-mockup main {
    min-width: 0;
    overflow: hidden;
  }

  .fp2-mock-sidebar {
    display: none;
  }

  .fp2-ref-hero .fp2-mock-metrics,
  .fp2-ref-hero .fp2-mock-board {
    grid-template-columns: 1fr;
  }

  .fp2-ref-hero .fp2-phone-mockup {
    position: relative;
    inset: auto;
    width: min(240px, 100%);
    margin: -28px auto 0;
  }

  .fp2-hero-feature-band article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}

/* Final internal rebuild overrides: master and SST pages must not inherit the old patched dashboards. */
.fp2-page-title {
  display: grid;
  gap: 8px;
}

.fp2-kicker {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29, 161, 255, .12), rgba(124, 58, 237, .08));
  color: var(--fp2-blue);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.fp2-empty-panel {
  padding: 28px;
}

.fp2-master-table {
  overflow: auto;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
}

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

.fp2-master-table th {
  background: #f4f8fd;
  color: #607089;
  padding: 16px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.fp2-master-table td {
  border-top: 1px solid #dfe7f2;
  color: #607089;
  padding: 18px 16px;
  white-space: nowrap;
}

.fp2-master-table td strong {
  color: #07172f;
}

.fp2-sst-banner {
  position: relative;
  min-height: 204px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(29, 161, 255, .24), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 55%, #eaf3ff 100%);
}

.fp2-sst-banner::after {
  content: "";
  position: absolute;
  right: 90px;
  bottom: -96px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .10);
}

.fp2-sst-banner > * {
  position: relative;
  z-index: 1;
}

.fp2-sst-banner h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .96;
  letter-spacing: -.06em;
}

.fp2-sst-banner p {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
}

.fp2-feed span {
  min-height: 56px;
  align-items: center;
}

.fp2-feed span strong {
  color: #07172f;
}

.fp2-feed span small {
  margin-left: auto;
  color: #607089;
  font-weight: 760;
}

.fp2-action-list button {
  cursor: pointer;
}

.fp2-action-list button:hover {
  border-color: rgba(37, 99, 235, .28);
  background: #f2f7ff;
}

@media (max-width: 980px) {
  .fp2-sst-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* No more sidebar stripe: active navigation is a soft premium pill. */
.fp2-nav-link.is-active,
.app-shell .nav-item.active,
[data-theme="dark"] .app-shell .nav-item.active,
.studio-shell .nav-item.active,
.clean-admin-shell .nav-item.active,
.app-shell.product-shell.studio-shell .nav-item.active,
.app-shell.nav-v3-shell .nav-item.active {
  border-color: rgba(37, 99, 235, .18) !important;
  background:
    radial-gradient(circle at 16% 50%, rgba(29, 161, 255, .18), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .10)) !important;
  color: var(--fp2-blue) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .10) !important;
}

.fp2-nav-link.is-active::before,
.fp2-nav-link.is-active::after,
.app-shell .nav-item.active::before,
.app-shell .nav-item.active::after,
[data-theme="dark"] .app-shell .nav-item.active::before,
[data-theme="dark"] .app-shell .nav-item.active::after,
.studio-shell .nav-item.active::before,
.studio-shell .nav-item.active::after,
.clean-admin-shell .nav-item.active::before,
.clean-admin-shell .nav-item.active::after,
.app-shell.product-shell.studio-shell .nav-item.active::before,
.app-shell.product-shell.studio-shell .nav-item.active::after,
.app-shell.nav-v3-shell .nav-item.active::before,
.app-shell.nav-v3-shell .nav-item.active::after {
  display: none !important;
  content: none !important;
}

.fp2-nav-link.is-active .ui-icon,
.app-shell .nav-item.active .ui-icon,
[data-theme="dark"] .app-shell .nav-item.active .ui-icon,
.studio-shell .nav-item.active .ui-icon,
.clean-admin-shell .nav-item.active .ui-icon {
  color: var(--fp2-blue) !important;
}

/* Clean sidebar rebuild: calmer, product-like, no AI-looking ornamentation. */
.fp2-sidebar-clean {
  gap: 0 !important;
  border-right: 1px solid #e5ebf3 !important;
  background: #ffffff !important;
  padding: 24px 16px !important;
  box-shadow: none !important;
}

.fp2-sidebar-top {
  display: grid;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f7;
}

.fp2-sidebar-clean .fp2-brand {
  width: 100%;
  min-height: 46px;
  justify-content: start;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.fp2-sidebar-clean .fp2-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: none;
}

.fp2-sidebar-clean .fp2-brand strong {
  color: #07172f;
  font-size: 17px;
  letter-spacing: -.02em;
}

.fp2-sidebar-clean .fp2-brand small {
  color: #607089;
  font-size: 12px;
  font-weight: 760;
}

.fp2-sidebar-clean .fp2-company-card {
  gap: 5px;
  border: 1px solid #e3eaf4;
  border-radius: 16px;
  background: #f8fbff;
  padding: 14px;
  box-shadow: none;
}

.fp2-sidebar-clean .fp2-company-card small,
.fp2-sidebar-clean .fp2-company-card span {
  color: #738199;
  font-size: 10px;
  letter-spacing: .10em;
}

.fp2-sidebar-clean .fp2-company-card strong {
  color: #07172f;
  font-size: 13px;
}

.fp2-sidebar-clean .fp2-nav {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 22px;
  overflow-y: auto;
  padding: 22px 2px;
}

.fp2-sidebar-clean .fp2-nav-section {
  display: grid;
  gap: 8px;
}

.fp2-sidebar-clean .fp2-nav-section p {
  margin: 0;
  padding: 0 8px;
  color: #98a4b6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fp2-nav-list {
  display: grid;
  gap: 4px;
}

.fp2-sidebar-clean .fp2-nav-link {
  min-height: 42px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid transparent !important;
  border-radius: 1px;
  background: transparent !important;
  color: #31415b;
  padding: 4px 8px 4px 4px;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-nav-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp2-sidebar-clean .fp2-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: #607089;
}

.fp2-sidebar-clean .fp2-nav-link:hover {
  border-color: transparent !important;
  background: #ffffff !important;
  color: #07172f;
  box-shadow: inset 3px 0 0 #2563eb, 0 10px 24px rgba(15, 23, 42, .10) !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active {
  border-color: transparent !important;
  background: #f2f7ff !important;
  color: #0f2f66 !important;
  box-shadow: inset 3px 0 0 #2563eb !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active .fp2-nav-icon {
  background: transparent;
  color: #2563eb !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active::before,
.fp2-sidebar-clean .fp2-nav-link.is-active::after {
  display: none !important;
  content: none !important;
}

.fp2-sidebar-bottom {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
}

.fp2-help-link {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  background: #fff;
  color: #31415b;
  padding: 0 12px;
  font-weight: 800;
}

.fp2-help-link:hover {
  background: #f8fbff;
}

.fp2-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3eaf4;
  border-radius: 16px;
  background: #f8fbff;
  padding: 8px;
}

.fp2-account-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.fp2-account-main > span:last-child {
  min-width: 0;
}

.fp2-account-main strong,
.fp2-account-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp2-account-main strong {
  color: #07172f;
  font-size: 13px;
}

.fp2-account-main small {
  color: #738199;
  font-size: 11px;
}

.fp2-logout-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e3eaf4;
  border-radius: 11px;
  background: #ffffff;
  color: #607089;
  padding: 0 10px;
  font-weight: 850;
}

.fp2-logout-btn:hover {
  border-color: rgba(239, 68, 68, .22);
  background: #fff5f5;
  color: #dc2626;
}

.fp2-workspace .nav-item,
.app-shell .nav-item,
.clean-admin-shell .nav-item,
.studio-shell .nav-item {
  border-radius: 1px !important;
}

.fp2-workspace .nav-item:hover,
.app-shell .nav-item:hover,
.clean-admin-shell .nav-item:hover,
.studio-shell .nav-item:hover {
  border-color: transparent !important;
  background: #ffffff !important;
  box-shadow: inset 3px 0 0 #2563eb, 0 10px 24px rgba(15, 23, 42, .10) !important;
}

/* WhatsApp chat fix: support banner and legacy chat CSS must not overlap. */
.fp2-workspace:has(.chat-page) {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 18px 24px 24px;
}

.fp2-workspace:has(.chat-page) > * {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.fp2-workspace .support-mode-banner {
  position: static !important;
  top: auto !important;
  z-index: 1 !important;
  flex: 0 0 auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 !important;
  border: 1px solid rgba(245, 180, 55, .28) !important;
  border-radius: 1px;
  background:
    linear-gradient(135deg, rgba(255, 248, 226, .98), rgba(255, 255, 255, .96)) !important;
  padding: 12px 16px !important;
  color: #07172f;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.fp2-workspace .support-mode-banner > div {
  display: grid !important;
  gap: 2px !important;
}

.fp2-workspace .support-mode-banner strong {
  font-size: 13px;
}

.fp2-workspace .support-mode-banner span {
  color: #607089 !important;
  font-size: 12px !important;
}

.fp2-workspace .support-mode-banner button {
  min-height: 34px;
  border-radius: 1px;
}

.fp2-workspace .chat-page {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.fp2-workspace .chat-header {
  min-height: 74px;
  border-bottom: 1px solid #dfe7f2 !important;
  background:
    radial-gradient(circle at 84% 18%, rgba(29, 161, 255, .13), transparent 24%),
    linear-gradient(135deg, #ffffff, #f7fbff) !important;
  padding: 14px 20px;
}

.fp2-workspace .chat-header h1 {
  margin-top: 4px;
  color: #07172f;
  font-size: 22px;
  letter-spacing: -.03em;
}

.fp2-workspace .chat-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp2-workspace .chat-workspace {
  min-height: 0;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(260px, 320px);
  border: 0;
  overflow: hidden;
}

.fp2-workspace .conversation-list,
.fp2-workspace .client-panel {
  border-color: #dfe7f2 !important;
  background: #f8fbff !important;
}

.fp2-workspace .conversation-list {
  border-right: 1px solid #dfe7f2 !important;
  padding: 16px;
}

.fp2-workspace .client-panel {
  border-left: 1px solid #dfe7f2 !important;
  padding: 24px;
}

.fp2-workspace .conversation-list button {
  border-radius: 1px !important;
  padding: 13px 12px;
}

.fp2-workspace .conversation-list button:hover,
.fp2-workspace .conversation-list button.active {
  background: #ffffff !important;
  box-shadow: inset 3px 0 0 #2563eb, 0 10px 24px rgba(15, 23, 42, .08);
}

.fp2-workspace .chat-column {
  background: #f3f7fc !important;
}

.fp2-workspace .chat-messages {
  padding: 30px clamp(24px, 4vw, 58px);
}

.fp2-workspace .chat-input-area {
  border-top: 1px solid #dfe7f2 !important;
  background: #ffffff !important;
  padding: 14px clamp(24px, 4vw, 58px);
}

.fp2-workspace .chat-input-area textarea {
  border-radius: 1px !important;
  border-color: #dfe7f2;
  background: #fff;
}

.fp2-workspace .client-panel h2 {
  color: #07172f;
  font-size: 20px;
  letter-spacing: -.03em;
}

.fp2-workspace .client-panel dt {
  color: #98a4b6;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.fp2-workspace .client-panel dd {
  margin: 5px 0 18px;
  color: #41526b;
}

/* Boot screen logo: keep the mark visible while the app loads. */
.boot-card .brand-logo-mark {
  width: 76px !important;
  height: 76px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #1da1ff 0%, #2563eb 48%, #7c3aed 100%) !important;
  box-shadow: 0 24px 70px rgba(37, 99, 235, .32) !important;
}

.boot-card .brand-logo-mark img {
  width: 72% !important;
  height: 72% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Billing screen: keep invoices readable while the editor is open. */
.fp2-workspace .billing-layout.with-editor {
  grid-template-columns: minmax(760px, 1fr) minmax(360px, 420px) !important;
  gap: 16px;
}

.fp2-workspace .billing-list-panel {
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.fp2-workspace .billing-list-panel .table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
}

.fp2-workspace .invoices-table {
  width: 100%;
  min-width: 760px !important;
  table-layout: fixed;
}

.fp2-workspace .invoices-table th,
.fp2-workspace .invoices-table td {
  padding: 13px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.fp2-workspace .invoices-table th:nth-child(1),
.fp2-workspace .invoices-table td:nth-child(1) {
  width: 132px;
}

.fp2-workspace .invoices-table th:nth-child(2),
.fp2-workspace .invoices-table td:nth-child(2) {
  width: 178px;
}

.fp2-workspace .invoices-table th:nth-child(3),
.fp2-workspace .invoices-table td:nth-child(3) {
  width: 136px;
}

.fp2-workspace .invoices-table th:nth-child(4),
.fp2-workspace .invoices-table td:nth-child(4),
.fp2-workspace .invoices-table th:nth-child(5),
.fp2-workspace .invoices-table td:nth-child(5) {
  width: 92px;
}

.fp2-workspace .invoices-table th:nth-child(6),
.fp2-workspace .invoices-table td:nth-child(6) {
  width: 96px;
}

.fp2-workspace .invoices-table th:nth-child(7),
.fp2-workspace .invoices-table td:nth-child(7) {
  width: 104px;
}

.fp2-workspace .invoices-table th:nth-child(8),
.fp2-workspace .invoices-table td:nth-child(8) {
  width: 96px;
}

.fp2-workspace .invoices-table td small,
.fp2-workspace .invoices-table td strong,
.fp2-workspace .invoice-number {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp2-workspace .invoice-number {
  display: block;
  white-space: normal;
  line-height: 1.28;
  text-align: left;
}

.fp2-workspace .billing-actions {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 4px;
  justify-content: end;
  white-space: normal;
}

.fp2-workspace .billing-actions .icon-btn.compact {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 1px;
}

.fp2-workspace .billing-editor {
  min-width: 0;
}

.fp2-workspace .billing-editor .sticky-form-actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  border-top: 1px solid #dfe7f2;
  background: transparent;
  padding: 14px 0 0;
}

.fp2-workspace .billing-editor .sticky-form-actions button {
  flex: 1 1 150px;
  border-radius: 1px !important;
}

@media (max-width: 1180px) {
  .fp2-workspace .billing-layout.with-editor {
    grid-template-columns: 1fr !important;
  }
}

/* ERGGOS Digital SST landing for dedicated domains. */
.erggos-site {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 180, 55, .18), transparent 28%),
    radial-gradient(circle at 22% 0%, rgba(29, 161, 255, .16), transparent 30%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 44%, #eef4fb 100%);
  color: #07172f;
  font-family: var(--fp2-font);
}

.erggos-site button {
  cursor: pointer;
  font: inherit;
}

.erggos-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(196, 211, 232, .75);
  background: rgba(255, 255, 255, .90);
  padding: 0 max(22px, calc((100vw - 1300px) / 2));
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
  backdrop-filter: blur(18px);
}

.erggos-brand {
  min-height: 58px;
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  column-gap: 12px;
  border: 0;
  background: transparent;
  color: #07172f;
  text-align: left;
}

.erggos-brand span {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 1px;
  background: linear-gradient(135deg, #07172f, #123a70);
  color: #f5b437;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(7, 23, 47, .18);
}

.erggos-brand strong {
  font-size: 18px;
  letter-spacing: -.03em;
}

.erggos-brand small {
  color: #607089;
  font-weight: 800;
}

.erggos-nav nav,
.erggos-nav > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.erggos-nav nav button {
  min-height: 82px;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: #40516d;
  padding: 0 18px;
  font-weight: 850;
}

.erggos-nav nav button:hover {
  background: #fff;
  color: #07172f;
  box-shadow: inset 0 -2px 0 #f5b437, 0 12px 28px rgba(15, 23, 42, .10);
}

.erggos-btn {
  min-height: 46px;
  border: 0;
  border-radius: 1px;
  padding: 0 18px;
  font-weight: 900;
}

.erggos-btn.primary {
  background: linear-gradient(135deg, #f5b437, #ffd66d);
  color: #07172f;
  box-shadow: 0 16px 34px rgba(245, 180, 55, .24);
}

.erggos-btn.ghost,
.erggos-btn.light {
  border: 1px solid #dfe7f2;
  background: #fff;
  color: #07172f;
}

.erggos-hero {
  width: min(1300px, calc(100% - 44px));
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 74px 0 94px;
}

.erggos-hero-copy {
  max-width: 720px;
}

.erggos-pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(7, 23, 47, .10);
  border-radius: 1px;
  background: #fff;
  color: #123a70;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.erggos-pill.gold {
  border-color: rgba(245, 180, 55, .34);
  background: rgba(245, 180, 55, .13);
  color: #a8660f;
}

.erggos-hero h1,
.erggos-section-title h2,
.erggos-cta h2 {
  margin: 18px 0;
  color: #07172f;
  font-family: "Plus Jakarta Sans", Geist, Inter, sans-serif;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: .98;
  letter-spacing: -.06em;
}

.erggos-hero p,
.erggos-section-title p,
.erggos-cta p {
  max-width: 680px;
  color: #40516d;
  font-size: 19px;
  line-height: 1.72;
}

.erggos-actions,
.erggos-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.erggos-proof {
  color: #607089;
  font-size: 13px;
  font-weight: 820;
}

.erggos-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.erggos-hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.erggos-safety-bolt {
  position: absolute;
  width: 390px;
  height: 520px;
  transform: skewX(-22deg);
  background: linear-gradient(180deg, #f5b437, #ff7a1a);
  box-shadow: 0 40px 100px rgba(245, 180, 55, .28);
}

.erggos-dashboard-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  min-height: 420px;
  border: 1px solid rgba(177, 194, 219, .88);
  border-radius: 1px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 44px 110px rgba(7, 23, 47, .20);
  overflow: hidden;
}

.erggos-dashboard-card header {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe7f2;
  padding: 0 22px;
}

.erggos-dashboard-card section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
}

.erggos-dashboard-card article,
.erggos-task-list span {
  border: 1px solid #dfe7f2;
  border-radius: 1px;
  background: #f8fbff;
  padding: 16px;
}

.erggos-dashboard-card small,
.erggos-task-list small {
  color: #607089;
}

.erggos-dashboard-card b {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.erggos-task-list {
  display: grid;
  gap: 12px;
  padding: 0 22px 22px;
}

.erggos-task-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.erggos-phone-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 48px;
  width: 280px;
  border-radius: 1px;
  background: linear-gradient(135deg, #07172f, #123a70);
  color: #fff;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(7, 23, 47, .30);
}

.erggos-phone-card p {
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.55;
}

.erggos-phone-card span {
  color: #ffd88a;
  font-size: 12px;
  font-weight: 900;
}

.erggos-service-band {
  padding: 92px max(22px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 18% 16%, rgba(245, 180, 55, .20), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(29, 161, 255, .17), transparent 30%),
    linear-gradient(135deg, #07172f 0%, #123a70 58%, #0a2447 100%);
  color: #fff;
}

.erggos-service-band .erggos-section-title h2,
.erggos-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
}

.erggos-service-band .erggos-section-title p {
  color: rgba(255, 255, 255, .72);
}

.erggos-card-grid,
.erggos-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.erggos-card-grid article,
.erggos-steps article {
  border: 1px solid rgba(245, 180, 55, .16);
  border-radius: 1px;
  background: rgba(255, 255, 255, .08);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .13);
}

.erggos-card-grid article .ui-icon,
.erggos-card-grid strong,
.erggos-steps span {
  color: #ffd88a;
}

.erggos-card-grid p,
.erggos-steps p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.erggos-process {
  padding: 92px max(22px, calc((100vw - 1180px) / 2));
}

.erggos-process .erggos-section-title {
  text-align: center;
}

.erggos-process .erggos-section-title .erggos-pill {
  margin: 0 auto;
}

.erggos-process .erggos-section-title h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(34px, 4vw, 58px);
}

.erggos-process .erggos-steps article {
  border-color: #dfe7f2;
  background: #fff;
}

.erggos-process .erggos-steps p {
  color: #607089;
}

.erggos-steps span {
  display: block;
  margin-bottom: 20px;
  font-weight: 950;
}

.erggos-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 72px max(22px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #07172f, #123a70);
  color: #fff;
}

.erggos-cta p {
  color: rgba(255, 255, 255, .72);
}

.erggos-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(22px, calc((100vw - 1180px) / 2));
  background: #07172f;
  color: #fff;
}

.erggos-footer p,
.erggos-footer small {
  color: rgba(255, 255, 255, .62);
}

.erggos-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.erggos-footer nav button {
  min-height: 38px;
  border: 1px solid rgba(245, 180, 55, .18);
  border-radius: 1px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 0 12px;
  font-weight: 850;
}

@media (max-width: 1024px) {
  .erggos-nav {
    grid-template-columns: 1fr auto;
  }

  .erggos-nav nav {
    display: none;
  }

  .erggos-hero,
  .erggos-card-grid,
  .erggos-steps {
    grid-template-columns: 1fr;
  }

  .erggos-hero-visual {
    min-height: 520px;
  }

  .erggos-cta,
  .erggos-footer {
    display: grid;
  }
}

/* Dark workspace header: fixes old sticky overlap and adds the contrast requested. */
.fp2-workspace {
  background:
    linear-gradient(180deg, rgba(9, 27, 52, .045), transparent 260px),
    #f5f8fc;
}

.fp2-workspace .topbar {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  min-height: 0 !important;
  align-items: center !important;
  margin: 0 auto 24px !important;
  border: 1px solid rgba(37, 99, 235, .10) !important;
  border-radius: 6px !important;
  background:
    radial-gradient(circle at 86% 50%, rgba(29, 161, 255, .24), transparent 24%),
    linear-gradient(135deg, #07172f 0%, #102f5f 58%, #193b70 100%) !important;
  padding: 24px 28px !important;
  box-shadow: 0 24px 70px rgba(7, 23, 47, .18) !important;
  color: #fff !important;
  backdrop-filter: none !important;
}

.fp2-workspace .topbar .page-heading {
  min-width: 0;
}

.fp2-workspace .topbar .page-breadcrumb {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10);
  color: #b9d7ff;
}

.fp2-workspace .topbar h1 {
  color: #ffffff !important;
  font-size: clamp(32px, 4vw, 54px);
}

.fp2-workspace .topbar p {
  color: rgba(255, 255, 255, .72) !important;
}

.fp2-workspace .topbar-actions .primary-btn,
.fp2-workspace .topbar-actions .secondary-btn,
.fp2-workspace .topbar-actions .ghost-btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.fp2-workspace .topbar .search,
.fp2-workspace .topbar input,
.fp2-workspace .topbar select,
.fp2-workspace .topbar-control-card {
  border-radius: 6px !important;
}

.fp2-workspace .topbar .primary-btn,
.fp2-workspace .topbar .secondary-btn,
.fp2-workspace .topbar .ghost-btn,
.fp2-workspace .topbar .icon-btn {
  border-radius: 1px !important;
}

.fp2-workspace .topbar-actions .primary-btn {
  background: linear-gradient(135deg, #2563eb, #1da1ff);
}

.fp2-workspace .company-list-panel {
  margin-top: 0;
}

.fp2-workspace .company-list-row {
  border-color: #dfe7f2;
  background: #ffffff;
}

.fp2-workspace .company-list-row:hover {
  border-color: rgba(37, 99, 235, .22);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

@media (max-width: 780px) {
  .fp2-workspace .topbar {
    display: grid !important;
    gap: 18px;
    padding: 22px !important;
  }
}

/* Documents and templates screen: compact stats and straighter panels. */
.fp2-workspace .document-workspace {
  display: grid;
  gap: 24px;
}

.fp2-workspace .document-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 28px 24px;
  border: 0;
  background: transparent;
}

.fp2-workspace .document-hero h2 {
  max-width: 780px;
  margin: 12px 0 10px;
  color: #07172f;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.fp2-workspace .document-hero p {
  max-width: 760px;
  color: #40516d;
}

.fp2-workspace .hero-stat-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fp2-workspace .hero-stat-stack span {
  min-height: 64px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe7f2;
  border-radius: 1px;
  background: #fff;
  padding: 10px 14px;
  color: #07172f;
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.fp2-workspace .hero-stat-stack strong {
  width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 1px;
  background: #f2f7ff;
  color: #123a70;
  font-size: 24px;
  line-height: 1;
}

.fp2-workspace .document-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, .95fr);
  gap: 18px;
  align-items: start;
}

.fp2-workspace .document-library-panel,
.fp2-workspace .document-upload-card,
.fp2-workspace .ai-credit-workbench,
.fp2-workspace .privacy-panel {
  border-radius: 1px !important;
}

.fp2-workspace .document-library-panel .section-heading {
  align-items: center;
  padding-bottom: 16px;
}

.fp2-workspace .document-card-list {
  display: grid;
  gap: 10px;
}

.fp2-workspace .legal-resource-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
  border: 1px solid #edf1f7;
  border-radius: 1px;
  background: #f8fbff;
  padding: 14px;
}

.fp2-workspace .legal-resource-card .resource-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 1px;
  background: #eaf2ff;
  color: #2563eb;
}

.fp2-workspace .legal-resource-card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fp2-workspace .legal-resource-card p,
.fp2-workspace .legal-resource-card small {
  color: #607089;
}

.fp2-workspace .legal-resource-card .icon-btn {
  border-radius: 1px !important;
}

.fp2-workspace .document-upload-card {
  position: sticky;
  top: 18px;
}

.fp2-workspace .document-upload-card .premium-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp2-workspace .document-upload-card .field,
.fp2-workspace .document-upload-card .check {
  min-width: 0;
}

@media (max-width: 1180px) {
  .fp2-workspace .document-hero,
  .fp2-workspace .document-layout {
    grid-template-columns: 1fr;
  }

  .fp2-workspace .document-upload-card {
    position: static;
  }
}

/* Admin visual refresh: dark ForPoint shell with bright, readable work surfaces. */
.fp2-app {
  grid-template-columns: 282px minmax(0, 1fr) !important;
  background:
    radial-gradient(circle at 72% -14%, rgba(18, 104, 255, .16), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(255, 198, 41, .10), transparent 22%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%) !important;
}

.fp2-sidebar.fp2-sidebar-clean {
  border-right: 1px solid rgba(110, 153, 220, .22) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 104, 255, .36), transparent 27%),
    linear-gradient(180deg, #061a3d 0%, #031126 100%) !important;
  padding: 22px 14px !important;
  box-shadow: 18px 0 60px rgba(3, 17, 43, .18) !important;
}

.fp2-sidebar-clean .fp2-sidebar-top,
.fp2-sidebar-bottom {
  border-color: rgba(255, 255, 255, .12);
}

.fp2-sidebar-clean .fp2-brand strong,
.fp2-sidebar-clean .fp2-company-card strong,
.fp2-account-main strong {
  color: #fff;
}

.fp2-sidebar-clean .fp2-brand small,
.fp2-sidebar-clean .fp2-company-card small,
.fp2-sidebar-clean .fp2-company-card span,
.fp2-account-main small {
  color: rgba(255, 255, 255, .62);
}

.fp2-sidebar-clean .fp2-company-card,
.fp2-account-card,
.fp2-help-link {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.fp2-sidebar-clean .fp2-nav-section p {
  color: rgba(255, 255, 255, .46);
}

.fp2-sidebar-clean .fp2-nav-link {
  min-height: 46px;
  grid-template-columns: 38px minmax(0, 1fr);
  border-radius: 2px !important;
  color: rgba(255, 255, 255, .78);
  padding: 4px 10px 4px 5px;
}

.fp2-sidebar-clean .fp2-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  color: rgba(255, 255, 255, .74);
}

.fp2-sidebar-clean .fp2-nav-link:hover {
  background: #2d7dff !important;
  color: #fff;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active {
  background: #1268ff !important;
  color: #fff !important;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active .fp2-nav-icon {
  color: #fff !important;
}

.fp2-help-link,
.fp2-logout-btn {
  color: rgba(255, 255, 255, .78);
}

.fp2-help-link:hover,
.fp2-logout-btn:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.fp2-main {
  grid-template-rows: 82px minmax(0, 1fr);
  background: transparent;
}

.fp2-header {
  border-bottom: 1px solid rgba(110, 153, 220, .22);
  background:
    radial-gradient(circle at 80% 0%, rgba(18, 104, 255, .30), transparent 28%),
    linear-gradient(135deg, #061a3d 0%, #031126 100%) !important;
  box-shadow: 0 16px 42px rgba(3, 17, 43, .18);
}

.fp2-search {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.fp2-search input {
  color: #fff;
}

.fp2-search input::placeholder {
  color: rgba(255, 255, 255, .56);
}

.fp2-header-actions .fp2-icon-btn,
.fp2-icon-btn {
  border-color: rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .075);
  color: #fff;
}

.fp2-header-actions .fp2-btn-soft {
  border-color: rgba(255, 198, 41, .38);
  background: linear-gradient(135deg, #ffdb57, #ffc629 48%, #f5aa16);
  color: #061532;
  box-shadow: 0 14px 34px rgba(255, 198, 41, .22);
}

.fp2-workspace {
  background:
    radial-gradient(circle at 84% 0%, rgba(18, 104, 255, .08), transparent 24%),
    radial-gradient(circle at 10% 4%, rgba(255, 198, 41, .055), transparent 25%),
    linear-gradient(180deg, #f7faff 0%, #f1f6fc 100%) !important;
  padding: 32px !important;
}

.fp2-workspace > * {
  max-width: 1500px;
}

.fp2-page-title {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  margin-bottom: 26px;
  border: 1px solid rgba(219, 231, 246, .78);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(18, 104, 255, .10), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  padding: 26px 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .055);
}

.fp2-page-title h1,
.fp2-workspace .topbar h1 {
  color: #061532 !important;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: 0;
}

.fp2-page-title p,
.fp2-workspace .topbar p {
  color: #5c6b85 !important;
}

.fp2-workspace .topbar {
  min-height: 118px !important;
  align-items: center !important;
  margin-bottom: 26px !important;
  border: 1px solid rgba(219, 231, 246, .78) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 92% 20%, rgba(18, 104, 255, .10), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
  padding: 24px 28px !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .055) !important;
}

.fp2-metric-grid,
.fp2-workspace .metrics-grid,
.fp2-workspace .home-insights-grid {
  gap: 18px;
}

.fp2-metric-grid article,
.fp2-workspace .metric-card,
.fp2-panel,
.fp2-quick-panel,
.fp2-workspace .panel,
.fp2-workspace .table-wrap,
.fp2-workspace .admin-hub-card,
.fp2-workspace .plan-card,
.fp2-workspace .setting-card,
.fp2-workspace .product-card,
.fp2-workspace .dialog-card,
.fp2-workspace .kanban-column,
.fp2-workspace .calendar-panel,
.fp2-workspace .publication-list-panel,
.fp2-workspace .publication-detail,
.fp2-workspace .home-promo-banner {
  border: 1px solid rgba(219, 231, 246, .90) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(251, 253, 255, .96)) !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06) !important;
}

.fp2-metric-grid article {
  min-height: 150px;
  padding: 22px;
}

.fp2-metric-grid article > .ui-icon,
.fp2-workspace .metric-heading .ui-icon,
.fp2-workspace .admin-card-icon,
.fp2-workspace .admin-hub-card > .ui-icon,
.fp2-workspace .setting-icon,
.fp2-workspace .empty-state-icon {
  border-radius: 14px;
  background: #edf5ff;
  color: #1268ff;
}

.fp2-metric-grid article:nth-child(2) > .ui-icon {
  background: #fff7df;
  color: #f5aa16;
}

.fp2-metric-grid article:nth-child(3) > .ui-icon {
  background: #ecfdf5;
  color: #0ca45c;
}

.fp2-metric-grid article:nth-child(4) > .ui-icon {
  background: #f1edff;
  color: #6d4aff;
}

.fp2-metric-grid strong,
.fp2-workspace .metric-card > strong {
  color: #061532;
}

.fp2-metric-grid span,
.fp2-metric-grid small,
.fp2-workspace .metric-heading,
.fp2-workspace table th {
  color: #5c6b85;
}

.fp2-quick-panel {
  padding: 24px;
}

.fp2-quick-panel h2,
.fp2-panel h2,
.fp2-workspace .panel h2,
.fp2-workspace .section-heading h2 {
  color: #061532 !important;
  letter-spacing: 0;
}

.fp2-quick-grid button,
.fp2-action-list button {
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  background: #fff;
  color: #061532;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.fp2-quick-grid button:hover,
.fp2-action-list button:hover,
.fp2-metric-grid article:hover,
.fp2-panel:hover,
.fp2-workspace .panel:hover,
.fp2-workspace .table-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(15, 23, 42, .09) !important;
}

.fp2-workspace .primary-btn,
.fp2-workspace .send-btn {
  background: linear-gradient(135deg, #1268ff, #0757e6) !important;
  box-shadow: 0 16px 36px rgba(18, 104, 255, .22) !important;
}

.fp2-workspace .secondary-btn,
.fp2-workspace .ghost-btn,
.fp2-workspace .icon-btn {
  border-color: #dbe7f6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #061532 !important;
}

.fp2-workspace table {
  border-collapse: separate;
  border-spacing: 0;
}

.fp2-workspace table th {
  background: #f7faff !important;
}

.fp2-workspace table td {
  border-color: #edf2f8 !important;
  color: #1b2b46;
}

.fp2-workspace tbody tr:hover {
  background: #f8fbff !important;
}

.fp2-dark-band .fp2-section-title.invert h2,
.fp2-dark-band .fp2-section-title.invert p {
  color: #fff !important;
}

.fp2-dark-band .fp2-section-title.invert .fp2-gold-text {
  color: #ffc629;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 980px) {
  .fp2-app {
    grid-template-columns: 1fr !important;
  }

  .fp2-sidebar.fp2-sidebar-clean {
    position: static;
    height: auto;
    min-height: auto;
  }

  .fp2-workspace {
    padding: 20px !important;
  }
}

/* Reference screens: legal login and bright administrative dashboard. */
.fp2-auth {
  grid-template-columns: minmax(560px, 1fr) minmax(520px, .92fr) !important;
  background:
    radial-gradient(circle at 82% 16%, rgba(18, 104, 255, .09), transparent 28%),
    radial-gradient(circle at 10% 8%, rgba(18, 104, 255, .06) 1px, transparent 1px),
    #f7faff !important;
  background-size: auto, 18px 18px;
}

.fp2-auth-visual {
  position: relative;
  isolation: isolate;
  padding: 40px 46px 44px;
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 104, 255, .72), transparent 28%),
    radial-gradient(circle at 96% 88%, rgba(0, 133, 255, .30), transparent 32%),
    linear-gradient(135deg, #031126 0%, #06285d 56%, #003f98 100%) !important;
}

.fp2-auth-visual::before,
.fp2-auth-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

.fp2-auth-visual::before {
  right: -18vw;
  top: -18vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(38, 183, 255, .55);
  box-shadow: 0 0 52px rgba(18, 104, 255, .25);
}

.fp2-auth-visual::after {
  right: -14vw;
  bottom: -24vw;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(38, 183, 255, .45);
}

.fp2-auth-visual .fp2-brand {
  width: fit-content;
  color: #fff;
}

.fp2-auth-visual .fp2-brand strong,
.fp2-auth-visual .fp2-brand small {
  color: #fff;
}

.fp2-auth-copy {
  display: grid;
  gap: 30px;
}

.fp2-auth-visual h1 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.fp2-auth-visual h1::first-line {
  color: #fff;
}

.fp2-auth-visual h1 {
  text-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.fp2-auth-visual h1 span {
  color: #ffc629;
}

.fp2-auth-benefits {
  display: grid;
  gap: 24px;
  max-width: 660px;
}

.fp2-auth-benefits article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.fp2-auth-benefits .ui-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: #ffc629;
  padding: 13px;
  background: rgba(255, 255, 255, .05);
}

.fp2-auth-benefits strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.fp2-auth-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.5;
}

.fp2-auth-testimonial {
  width: min(590px, 100%);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  padding: 22px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.fp2-auth-testimonial article p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .80);
  font-size: 15px;
  line-height: 1.58;
}

.fp2-auth-testimonial article p::before {
  content: "“";
  margin-right: 10px;
  color: #ffc629;
  font-size: 42px;
  line-height: 0;
  vertical-align: -14px;
}

.fp2-auth-testimonial div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.fp2-auth-testimonial div span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid #ffc629;
  border-radius: 50%;
  background: #fff;
  color: #0f2f66;
  font-weight: 900;
}

.fp2-auth-testimonial b {
  color: #fff;
}

.fp2-auth-testimonial small {
  color: #58a6ff;
}

.fp2-auth-cta-card {
  width: min(640px, 100%);
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  padding: 16px 22px;
  text-align: left;
}

.fp2-auth-cta-card > .ui-icon:first-child {
  color: #ffc629;
}

.fp2-auth-cta-card strong,
.fp2-auth-cta-card small {
  display: block;
}

.fp2-auth-cta-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .70);
}

.fp2-auth-panel {
  padding: 58px;
}

.fp2-auth-card {
  width: min(590px, 100%);
  border-color: #dbe7f6;
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .10);
}

.fp2-auth-card .fp2-pill {
  background: #e9f2ff;
  color: #1268ff;
}

.fp2-auth-card h2 {
  margin-top: 24px;
  font-size: 38px;
  letter-spacing: 0;
}

.fp2-login-form {
  gap: 18px;
  margin-top: 26px;
}

.fp2-input-shell > div {
  min-height: 62px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  background: #fff;
  padding: 0 16px;
}

.fp2-input-shell input {
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.fp2-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #52627d;
}

.fp2-login-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fp2-login-row button,
.login-v2-links button {
  border: 0;
  background: transparent;
  color: #1268ff;
  font-weight: 850;
}

.fp2-auth-card .fp2-btn-primary {
  min-height: 62px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1268ff, #7b2cff) !important;
  color: #fff;
}

.fp2-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 26px 0 18px;
  color: #71819a;
}

.fp2-auth-divider span {
  height: 1px;
  background: #dfe7f2;
}

.fp2-social-login {
  display: grid;
  gap: 12px;
}

.fp2-social-login button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #fff;
  color: #182846;
  font-size: 15px;
  font-weight: 850;
}

.fp2-social-login button:hover {
  border-color: #c9d6e8;
  background: #f8fbff;
}

.fp2-social-login button[disabled],
.fp2-social-login button[aria-disabled="true"] {
  opacity: .62;
}

.google-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.fp2-social-login b {
  color: #1268ff;
}

.login-v2-links {
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #52627d;
}

.login-security-note {
  justify-content: center;
  margin-top: 34px;
  border: 0;
  background: transparent;
  color: #52627d;
  box-shadow: none;
}

.fp2-app {
  grid-template-columns: 270px minmax(0, 1fr) !important;
  background: #f7faff !important;
}

.fp2-sidebar.fp2-sidebar-clean {
  border-right: 1px solid #dfe7f2 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-sidebar-top,
.fp2-sidebar-bottom {
  border-color: #e8eef7;
}

.fp2-sidebar-clean .fp2-brand strong,
.fp2-sidebar-clean .fp2-company-card strong,
.fp2-account-main strong {
  color: #061532;
}

.fp2-sidebar-clean .fp2-brand small,
.fp2-sidebar-clean .fp2-company-card small,
.fp2-sidebar-clean .fp2-company-card span,
.fp2-account-main small {
  color: #64748b;
}

.fp2-sidebar-clean .fp2-company-card,
.fp2-account-card,
.fp2-help-link {
  border-color: #dfe7f2;
  background: #f8fbff;
  box-shadow: none;
}

.fp2-sidebar-clean .fp2-nav-section p {
  color: #71819a;
}

.fp2-sidebar-clean .fp2-nav-link {
  color: #31415b;
}

.fp2-sidebar-clean .fp2-nav-icon {
  color: #52627d;
}

.fp2-sidebar-clean .fp2-nav-link:hover {
  background: #e8f2ff !important;
  color: #1268ff;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active {
  background: #eaf3ff !important;
  color: #1268ff !important;
  box-shadow: none !important;
}

.fp2-sidebar-clean .fp2-nav-link.is-active .fp2-nav-icon {
  color: #1268ff !important;
}

.fp2-help-link,
.fp2-logout-btn {
  color: #31415b;
}

.fp2-main {
  grid-template-rows: 76px minmax(0, 1fr);
}

.fp2-header {
  border-bottom: 1px solid #dfe7f2;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .035);
}

.fp2-search {
  width: min(520px, 100%);
  border: 1px solid #dbe7f6;
  background: #fff;
  color: #52627d;
}

.fp2-search input {
  color: #061532;
}

.fp2-search input::placeholder {
  color: #71819a;
}

.fp2-header-actions .fp2-icon-btn,
.fp2-icon-btn {
  border-color: #dbe7f6;
  background: #fff;
  color: #0f2f66;
}

.fp2-header-actions .fp2-btn-soft {
  background: #1268ff;
  color: #fff;
  box-shadow: 0 14px 34px rgba(18, 104, 255, .18);
}

.fp2-reference-dashboard {
  display: grid;
  gap: 22px;
}

.fp2-reference-dashboard .fp2-page-title {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 132px;
  margin-bottom: 0;
}

.fp2-reference-dashboard .fp2-page-title h1 {
  font-size: clamp(34px, 3vw, 46px);
}

.fp2-reference-dashboard .fp2-page-title button {
  align-self: start;
}

.fp2-reference-dashboard .fp2-metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fp2-reference-dashboard .fp2-metric-grid article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.fp2-reference-dashboard .fp2-metric-grid article i {
  height: 30px;
  margin-top: 8px;
  background: linear-gradient(135deg, transparent 0 15%, currentColor 15% 20%, transparent 20% 38%, currentColor 38% 43%, transparent 43%);
  color: #1268ff;
  opacity: .85;
}

.fp2-reference-dashboard .fp2-metric-grid article small {
  color: #0ca45c;
}

.fp2-reference-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
}

.fp2-channel-panel,
.fp2-recent-panel,
.fp2-task-panel {
  min-height: 320px;
  padding: 24px;
}

.fp2-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fp2-panel-title button {
  border: 0;
  background: transparent;
  color: #1268ff;
  font-weight: 850;
}

.fp2-donut {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  margin: 24px auto 18px;
  border-radius: 50%;
  background: conic-gradient(#16a878 0 58%, #d946ef 58% 79%, #1268ff 79% 92%, #f5aa16 92% 100%);
  position: relative;
}

.fp2-donut::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #fff;
}

.fp2-donut strong,
.fp2-donut span {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}

.fp2-donut strong {
  margin-top: -10px;
  color: #061532;
  font-size: 28px;
}

.fp2-donut span {
  margin-top: 36px;
  color: #71819a;
  font-size: 12px;
}

.fp2-channel-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fp2-channel-panel li,
.fp2-recent-list div,
.fp2-task-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #31415b;
}

.fp2-channel-panel li {
  justify-content: space-between;
}

.fp2-channel-panel button {
  width: fit-content;
  margin: 20px auto 0;
}

.fp2-recent-list,
.fp2-task-list {
  display: grid;
  gap: 16px;
}

.fp2-recent-list div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
}

.fp2-recent-list p,
.fp2-task-list span {
  min-width: 0;
  margin: 0;
}

.fp2-recent-list strong,
.fp2-recent-list small,
.fp2-task-list strong,
.fp2-task-list small {
  display: block;
}

.fp2-recent-list small,
.fp2-task-list small {
  color: #71819a;
}

.fp2-recent-list em {
  border-radius: 6px;
  background: #e8f8ef;
  color: #0ca45c;
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.fp2-recent-list time,
.fp2-task-list time {
  color: #52627d;
  font-size: 12px;
}

.fp2-task-list input {
  width: 18px;
  height: 18px;
}

.fp2-task-list label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
}

.fp2-reference-dashboard .fp2-quick-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.fp2-reference-dashboard .fp2-quick-grid button {
  min-height: 98px;
  justify-items: center;
  text-align: center;
}

.fp2-reference-dashboard .fp2-quick-grid button small {
  display: none;
}

@media (max-width: 1180px) {
  .fp2-reference-dashboard .fp2-metric-grid,
  .fp2-reference-grid,
  .fp2-reference-dashboard .fp2-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .fp2-auth {
    grid-template-columns: 1fr !important;
  }

  .fp2-auth-visual,
  .fp2-auth-panel {
    min-height: auto;
    padding: 28px;
  }

  .fp2-reference-dashboard .fp2-metric-grid,
  .fp2-reference-grid,
  .fp2-reference-dashboard .fp2-quick-grid,
  .fp2-reference-dashboard .fp2-page-title {
    grid-template-columns: 1fr;
  }
}

/* Register reference layout: broad account form with two-column fields. */
.fp2-auth-testimonial article p::before {
  content: "\"";
}

.fp2-register-auth {
  grid-template-columns: minmax(520px, .82fr) minmax(720px, 1.18fr) !important;
}

.fp2-register-auth .fp2-auth-panel {
  align-items: center;
  padding: 28px 42px;
}

.fp2-register-auth .fp2-auth-visual {
  padding: 38px 42px 40px;
}

.fp2-register-auth .fp2-auth-visual h1 {
  max-width: 650px;
  font-size: clamp(42px, 4.5vw, 64px);
}

.fp2-register-auth .fp2-auth-benefits {
  position: relative;
  gap: 20px;
}

.fp2-register-auth .fp2-auth-benefits::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: rgba(255, 255, 255, .22);
}

.fp2-register-auth .fp2-auth-benefits article {
  grid-template-columns: 68px minmax(0, 1fr);
}

.fp2-register-auth .fp2-auth-benefits article::before {
  content: "";
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc629;
  transform: translateX(-23px);
}

.fp2-register-auth .fp2-auth-benefits article > .ui-icon {
  grid-column: 1;
  grid-row: 1;
  color: #1268ff;
}

.fp2-register-auth .fp2-auth-benefits article:nth-child(2) > .ui-icon {
  color: #ffc629;
}

.fp2-register-auth .fp2-auth-benefits article:nth-child(3) > .ui-icon {
  color: #7b2cff;
}

.fp2-auth-panel .fp2-register-card,
.fp2-register-card {
  width: min(860px, 100%);
  border-color: #dbe7f6;
  border-radius: 18px;
  padding: 28px 38px 22px;
  box-shadow: 0 28px 86px rgba(15, 23, 42, .10);
}

.fp2-register-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}

.fp2-register-heading h2 {
  margin: 0 0 8px;
  color: #061532;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0;
}

.fp2-register-heading p {
  margin: 0;
  color: #607089;
}

.fp2-register-heading > p {
  white-space: nowrap;
  font-size: 14px;
}

.fp2-register-heading button,
.fp2-register-card .auth-links button {
  border: 0;
  background: transparent;
  color: #1268ff;
  font-weight: 850;
}

.fp2-register-card .register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}

.fp2-register-card .span-2 {
  grid-column: 1 / -1;
}

.fp2-register-card .fp2-input-shell > span {
  color: #061532;
  font-size: 13px;
  font-weight: 850;
}

.fp2-register-card .field {
  gap: 7px;
}

.fp2-register-card .fp2-input-shell > div {
  min-height: 48px;
}

.fp2-register-card .fp2-input-shell select {
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  color: #31415b;
  outline: 0;
  appearance: none;
}

.fp2-register-card .fp2-auth-divider {
  margin: 3px 0 0;
}

.fp2-register-social {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp2-register-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 180px;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.fp2-register-submit > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.fp2-register-submit > div > .ui-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #1268ff;
  padding: 12px;
}

.fp2-register-submit strong,
.fp2-register-submit small {
  display: block;
}

.fp2-register-submit small {
  margin-top: 6px;
  color: #607089;
  line-height: 1.5;
}

.fp2-register-submit .primary-btn,
.fp2-register-submit .secondary-btn {
  min-height: 46px;
  border-radius: 10px;
}

.fp2-register-submit .primary-btn {
  border: 0;
  background: #1268ff;
  color: #fff;
}

.fp2-register-card > .auth-links.centered {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .fp2-register-auth {
    grid-template-columns: 1fr !important;
  }

  .fp2-register-auth .fp2-auth-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .fp2-register-card .register-grid,
  .fp2-register-social,
  .fp2-register-submit,
  .fp2-register-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fp2-register-heading > p {
    white-space: normal;
  }
}

/* Final reference-home guard: keeps the animated hero flush on narrow screens. */
.fp2-ref-site,
.fp2-ref-site * {
  max-width: 100%;
}

.fp2-ref-hero .fp2-hero-copy h1 {
  letter-spacing: 0;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .fp2-ref-site {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .fp2-ref-site .fp2-site-nav {
    width: 100% !important;
    max-width: 100% !important;
  }

  .fp2-ref-hero {
    width: 100% !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    padding-inline: 18px !important;
  }

  .fp2-ref-hero .fp2-hero-copy {
    width: 100% !important;
    max-width: calc(100vw - 36px) !important;
    padding: 0 !important;
  }

  .fp2-ref-hero .fp2-hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(30px, 8.2vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .fp2-ref-hero .fp2-gold-text {
    display: inline;
  }

  .fp2-ref-hero .fp2-hero-copy p,
  .fp2-ref-hero .fp2-hero-actions,
  .fp2-ref-hero .fp2-trust-row,
  .fp2-ref-hero .fp2-hero-stage,
  .fp2-hero-feature-band {
    width: 100% !important;
    max-width: calc(100vw - 36px) !important;
  }

  .fp2-ref-hero .fp2-hero-copy p {
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal !important;
  }

  .fp2-ref-hero .fp2-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fp2-ref-hero .fp2-hero-actions .fp2-btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .fp2-ref-hero .fp2-trust-row span {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .fp2-ref-hero .fp2-app-mockup {
    width: 100% !important;
    max-width: 100% !important;
  }

  .fp2-ref-hero .fp2-phone-mockup {
    width: min(238px, 100%) !important;
    max-width: 100% !important;
  }
}
