/* =========================================
   FLOWDESK - APP CSS
   Base para tela de login em estilo SaaS
========================================= */

:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #242a33;
  --slate-900: #0f172a;
  --slate-950: #0C0F17;
  --slate-960: #1c2129;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.35);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: #0f1014;
  color: var(--slate-100);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

input {
  outline: none;
}

.fd-input,
.fd-client-search .fd-input,
.fd-pipeline-select,
.form-control,
.form-select,
textarea.form-control {
  min-height: 45px;
  padding: 15px;
  border-radius: 0.95rem;
  border: 1px solid #232830;
  background: #1c2129;
  color: #908d90;
  box-shadow: none;
}

.fd-input::placeholder,
.form-control::placeholder,
textarea.form-control::placeholder {
  color: #908d90;
}

.fd-input:focus,
.fd-pipeline-select:focus,
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: rgba(59, 130, 246, 0.72);
  background: #1f2530;
  color: var(--slate-50);
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.16);
}

/* Public marketing + auth pages */

.fd-marketing-shell,
.fd-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(34, 197, 94, 0.2), transparent 34%),
    linear-gradient(180deg, #f7faf7 0%, #ffffff 38%, #f7fbf8 100%);
  color: #102019;
}

.fd-marketing-topbar,
.fd-auth-page-shell {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.fd-marketing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 0;
  position: relative;
  z-index: 3;
}

.fd-marketing-nav,
.fd-marketing-actions,
.fd-growth-cta,
.fd-growth-proof,
.fd-growth-logos div,
.fd-auth-page-points,
.fd-signup-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fd-marketing-nav a,
.fd-auth-inline-link {
  color: rgba(16, 32, 25, 0.72);
  font-weight: 600;
  text-decoration: none;
}

.fd-marketing-main {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 22px 0 64px;
}

.fd-growth-hero {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 86px 76px 168px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 95, 54, 0.98), rgba(11, 128, 67, 0.95) 38%, rgba(46, 214, 101, 0.95)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 42%);
  box-shadow: 0 30px 70px rgba(16, 68, 34, 0.22);
}

.fd-growth-hero::before,
.fd-growth-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fd-growth-hero::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 38px
    );
  opacity: 0.32;
}

.fd-growth-hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.fd-growth-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #f5fff7;
}

.fd-growth-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  color: rgba(245, 255, 247, 0.92);
}

.fd-growth-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.fd-growth-hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(241, 255, 244, 0.82);
}

.fd-growth-proof {
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(241, 255, 244, 0.84);
  font-size: 0.92rem;
}

.fd-growth-proof span,
.fd-auth-page-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fd-growth-hero-preview {
  position: absolute;
  left: 50%;
  right: 58px;
  bottom: 24px;
  transform: translateY(44%);
  z-index: 2;
}

.fd-growth-preview-card {
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 64px rgba(14, 39, 21, 0.22);
  color: #132018;
}

.fd-growth-preview-top,
.fd-growth-preview-grid,
.fd-growth-preview-panels,
.fd-growth-stats,
.fd-growth-feature-grid,
.fd-growth-resource-grid,
.fd-growth-testimonials,
.fd-auth-register-kpis,
.fd-auth-page-shell {
  display: grid;
}

.fd-growth-preview-top {
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.fd-growth-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.fd-growth-preview-brand img {
  width: 28px;
  height: 28px;
}

.fd-growth-preview-badge,
.fd-growth-stack-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #128642;
  font-size: 0.82rem;
  font-weight: 700;
}

.fd-growth-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.fd-growth-stat,
.fd-growth-mini-card,
.fd-growth-feature-card,
.fd-growth-stack-card,
.fd-growth-resource-card,
.fd-growth-testimonial,
.fd-auth-register-kpis article {
  border-radius: 22px;
  background: #f6fbf5;
  border: 1px solid rgba(16, 32, 25, 0.06);
}

.fd-growth-stat,
.fd-growth-mini-card {
  padding: 18px;
}

.fd-growth-stat span,
.fd-growth-mini-card p {
  display: block;
  margin: 0 0 8px;
  color: rgba(16, 32, 25, 0.62);
  font-size: 0.9rem;
}

.fd-growth-stat strong,
.fd-growth-mini-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fd-growth-stat small,
.fd-growth-mini-card span {
  color: rgba(16, 32, 25, 0.58);
}

.fd-growth-preview-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fd-growth-logos,
.fd-growth-section,
.fd-growth-stats {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.fd-growth-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 150px;
  color: rgba(16, 32, 25, 0.62);
}

.fd-growth-logos div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
  color: rgba(16, 32, 25, 0.74);
}

.fd-growth-section {
  padding-top: 26px;
}

.fd-growth-section-head {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 32px;
}

.fd-growth-section-head h2,
.fd-growth-split-copy h2,
.fd-growth-final-cta h2,
.fd-auth-page-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.fd-growth-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fd-growth-feature-card,
.fd-growth-resource-card {
  padding: 28px;
}


.fd-growth-feature-art {
  height: 182px;
  border-radius: 18px;
  margin-bottom: 16px;
  background-color: #eff9ef;
}

.fd-growth-feature-art-flow {
  background:
    radial-gradient(circle at 25% 35%, rgba(52, 211, 153, 0.52), transparent 22%),
    linear-gradient(135deg, rgba(210, 250, 221, 0.95), rgba(248, 255, 248, 0.95));
}

.fd-growth-feature-art-chart {
  background:
    linear-gradient(180deg, rgba(223, 249, 229, 0.95), rgba(244, 255, 246, 0.95)),
    repeating-linear-gradient(90deg, rgba(47, 128, 64, 0.08) 0 1px, transparent 1px 22px);
}

.fd-growth-feature-art-desk {
  background:
    radial-gradient(circle at 72% 28%, rgba(34, 197, 94, 0.32), transparent 20%),
    linear-gradient(135deg, rgba(239, 250, 239, 0.95), rgba(250, 255, 251, 0.95));
}

.fd-growth-feature-card h3,
.fd-growth-resource-card h3,
.fd-auth-register-kpis strong {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.fd-growth-feature-card p,
.fd-growth-resource-card p,
.fd-growth-stack-card p,
.fd-auth-register-kpis span,
.fd-auth-page-copy p {
  margin: 0;
  color: rgba(16, 32, 25, 0.68);
  line-height: 1.7;
}

.fd-growth-split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: stretch;
}

.fd-growth-split-copy,
.fd-growth-split-stack,
.fd-growth-final-cta,
.fd-auth-page-brand,
.fd-auth-card-standalone {
  border-radius: 30px;
  border: 1px solid rgba(16, 32, 25, 0.06);
}

.fd-growth-split-copy,
.fd-growth-final-cta,
.fd-auth-page-brand,
.fd-auth-card-standalone {
  padding: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.07);
}

.fd-growth-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}

.fd-growth-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(16, 32, 25, 0.8);
}

.fd-growth-split-stack {
  padding: 24px;
  background: linear-gradient(180deg, #edf9ef, #f7fcf8);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fd-growth-stack-card {
  padding: 26px;
}


.fd-growth-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 12px 0;
}

.fd-growth-stats article {
  text-align: center;
}

.fd-growth-stats strong {
  display: block;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  margin-bottom: 10px;
}

.fd-growth-stats span {
  color: rgba(16, 32, 25, 0.64);
}

.fd-growth-resource-band {
  padding: 46px 28px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(7, 83, 51, 0.98), rgba(7, 108, 66, 0.98)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 38%);
  color: #f2fff5;
}

.fd-growth-resource-band .fd-growth-section-head,
.fd-growth-resource-band .fd-growth-section-head .fd-page-subtitle,
.fd-growth-resource-band .fd-page-eyebrow,
.fd-growth-resource-band .fd-growth-resource-card p,
.fd-growth-resource-band .fd-growth-resource-card h3 {
  color: inherit;
}

.fd-growth-resource-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.fd-growth-resource-card {
  min-height: 190px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.fd-growth-center-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.fd-growth-testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fd-growth-testimonial {
  padding: 24px;
}

.fd-growth-testimonial p {
  margin: 0 0 18px;
  line-height: 1.72;
  color: rgba(16, 32, 25, 0.74);
}

.fd-growth-testimonial strong {
  display: block;
}

.fd-growth-testimonial span {
  color: rgba(16, 32, 25, 0.56);
}

.fd-growth-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(8, 114, 58, 0.98), rgba(39, 197, 90, 0.96)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 38%);
  color: #f7fff7;
}

.fd-growth-final-cta p,
.fd-growth-final-cta .fd-page-eyebrow {
  color: rgba(247, 255, 247, 0.78);
}

.fd-auth-page {
  display: flex;
  align-items: center;
  padding: 36px 0;
}

.fd-auth-page-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 520px);
  gap: 24px;
  align-items: stretch;
}

.fd-auth-page-brand {
  background:
    linear-gradient(135deg, rgba(9, 108, 61, 0.98), rgba(44, 197, 91, 0.94)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 36%);
  color: #f4fff5;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fd-auth-page-brand .fd-public-brand-copy,
.fd-auth-page-brand .fd-page-eyebrow,
.fd-auth-page-brand .fd-auth-page-copy p,
.fd-auth-page-brand .fd-auth-page-points {
  color: rgba(244, 255, 245, 0.82);
}

.fd-auth-page-points {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.fd-auth-page-card-wrap {
  display: flex;
  align-items: center;
}

.fd-auth-card-standalone {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
}

.fd-auth-card-head-standalone {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.fd-auth-form-standalone {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fd-auth-inline-link {
  padding-top: 10px;
}

.fd-auth-register-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fd-auth-register-kpis article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.fd-auth-register-kpis strong {
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
}

[data-theme="light"] .fd-marketing-shell,
[data-theme="light"] .fd-auth-page {
  color: #102019;
}

@media (max-width: 1180px) {
  .fd-growth-hero {
    padding: 58px 40px 116px;
  }

  .fd-growth-hero-preview {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin-top: 32px;
  }

  .fd-growth-logos {
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-growth-feature-grid,
  .fd-growth-resource-grid,
  .fd-growth-testimonials,
  .fd-growth-stats,
  .fd-auth-register-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-growth-split-section,
  .fd-auth-page-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .fd-marketing-topbar,
  .fd-growth-hero,
  .fd-growth-section,
  .fd-growth-stats,
  .fd-growth-logos,
  .fd-auth-page-shell {
    width: min(100% - 28px, 100%);
  }

  .fd-marketing-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-marketing-nav,
  .fd-marketing-actions,
  .fd-growth-cta,
  .fd-growth-proof {
    flex-wrap: wrap;
  }

  .fd-growth-hero {
    padding: 34px 22px 28px;
    border-radius: 28px;
  }

  .fd-growth-hero h1,
  .fd-growth-section-head h2,
  .fd-growth-split-copy h2,
  .fd-growth-final-cta h2,
  .fd-auth-page-copy h1 {
    font-size: 2.1rem;
  }

  .fd-growth-preview-grid,
  .fd-growth-preview-panels,
  .fd-growth-feature-grid,
  .fd-growth-resource-grid,
  .fd-growth-testimonials,
  .fd-growth-stats,
  .fd-auth-register-kpis {
    grid-template-columns: 1fr;
  }

  .fd-growth-final-cta,
  .fd-auth-card-head-standalone {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-auth-page {
    padding: 20px 0 36px;
  }

  .fd-auth-page-brand,
  .fd-auth-card-standalone {
    padding: 24px;
  }
}

.form-select option {
  color: var(--slate-100);
  background: var(--slate-950);
}

/* =========================================
   LAYOUT
========================================= */

.min-h-screen {
  min-height: 100vh;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.overflow-hidden {
  overflow: hidden;
}

.z-10 {
  z-index: 10;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.inline-flex {
  display: inline-flex;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-xl {
  border-radius: var(--radius-sm);
}

.rounded-2xl {
  border-radius: var(--radius-md);
}

.rounded-3xl {
  border-radius: var(--radius-lg);
}

.border {
  border: 1px solid;
}

.border-0 {
  border: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.text-center {
  text-align: center;
}

/* =========================================
   COLORS
========================================= */

.bg-slate-950 {
  background-color: var(--slate-950);
}

.bg-slate-900\/80 {
  background-color: rgba(28, 33, 41, 1);
}

.bg-slate-950\/90 {
  background-color: rgba(2, 6, 23, 0.9);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-brand-600 {
  background-color: var(--brand-600);
}

.bg-transparent {
  background-color: transparent;
}

.text-white {
  color: var(--white);
}

.text-slate-100 {
  color: var(--slate-100);
}

.text-slate-200 {
  color: var(--slate-200);
}

.text-slate-300 {
  color: var(--slate-300);
}

.text-slate-400 {
  color: var(--slate-400);
}

.text-slate-500 {
  color: var(--slate-500);
}

.text-brand-400 {
  color: var(--brand-400);
}

.border-slate-800 {
  border-color: var(--slate-800);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   TYPOGRAPHY
========================================= */

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-7 {
  line-height: 1.75rem;
}

.leading-tight {
  line-height: 1.1;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

/* =========================================
   EFFECTS
========================================= */

.shadow-lg {
  box-shadow: var(--shadow-md);
}

.shadow-2xl {
  box-shadow: var(--shadow-lg);
}

.shadow-black\/20 {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.transition {
  transition: all 0.2s ease;
}

.duration-300 {
  transition-duration: 300ms;
}

.opacity-40 {
  opacity: 0.4;
}

/* =========================================
   BACKGROUNDS / SPECIALS
========================================= */

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.75), rgba(30, 58, 138, 0.4));
}

[class*="bg-\[url"] {
  background-size: cover;
  background-position: center;
}

/* =========================================
   FORMS
========================================= */

.h-4 {
  height: 1rem;
}

.w-4 {
  width: 1rem;
}

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.w-16 {
  width: 4rem;
}

.group {
  position: relative;
}

.group.flex {
  display: flex;
}

.placeholder\:text-slate-500::placeholder {
  color: var(--slate-500);
}

.focus\:outline-none:focus {
  outline: none;
}

.focus\:ring-0:focus {
  box-shadow: none;
}

.focus\:ring-4:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.focus\:ring-brand-500\/20:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.focus\:ring-brand-500\/10:focus,
.focus-within\:ring-brand-500\/10:focus-within {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.focus\:border-brand-500:focus,
.focus-within\:border-brand-500:focus-within {
  border-color: var(--brand-500);
}

.focus\:ring-offset-0:focus {
  outline: none;
}

.group:focus-within .group-focus-within\:text-brand-400 {
  color: var(--brand-400);
}

/* =========================================
   BUTTONS / INTERACTION
========================================= */

.hover\:bg-brand-700:hover {
  background-color: var(--brand-700);
}

.hover\:text-brand-300:hover {
  color: var(--brand-300);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* =========================================
   CUSTOM LOGIN HELPERS
========================================= */

.page-login-shell {
  min-height: 100vh;
  display: grid;
}

.login-card {
  border: 1px solid var(--slate-800);
  background: rgba(28, 33, 41, 1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.login-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-800);
  background: var(--slate-950);
  border-radius: 1rem;
  padding: 0 1rem;
  transition: all 0.2s ease;
}

.login-input-wrap:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.login-input {
  width: 100%;
  height: 3rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.875rem;
}

.login-input::placeholder {
  color: var(--slate-500);
}

.login-input:focus {
  outline: none;
}

.fd-public-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 26%),
    #0f1014;
  color: var(--slate-100);
}

.fd-public-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 16, 20, 0.82);
  backdrop-filter: blur(14px);
}

.fd-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.fd-public-brand-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
}

.fd-public-brand-copy {
  display: grid;
  gap: 0.1rem;
}

.fd-public-brand-copy strong {
  font-size: 1.05rem;
  color: var(--white);
}

.fd-public-brand-copy small {
  color: var(--slate-400);
  font-size: 0.76rem;
}

.fd-public-nav,
.fd-public-topbar-actions,
.fd-landing-cta-group,
.fd-auth-toggle,
.fd-auth-meta,
.fd-signup-actions,
.fd-landing-onboarding-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fd-public-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.fd-public-nav a {
  color: var(--slate-300);
  font-size: 0.92rem;
  font-weight: 600;
}

.fd-public-main {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.5rem 3rem;
}

.fd-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 460px);
  gap: 2rem;
  align-items: start;
}

.fd-landing-hero-copy,
.fd-landing-section,
.fd-landing-section-head,
.fd-auth-card,
.fd-auth-card-head,
.fd-auth-form,
.fd-auth-field,
.fd-landing-kpis,
.fd-landing-grid,
.fd-landing-feature,
.fd-landing-showcase,
.fd-landing-list,
.fd-landing-onboarding,
.fd-auth-feedback {
  display: grid;
  gap: 1rem;
}

.fd-landing-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.08);
  color: var(--brand-300);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-landing-hero-copy h1,
.fd-landing-section-head h2,
.fd-landing-onboarding h2 {
  margin: 0;
  color: var(--white);
  line-height: 1.05;
}

.fd-landing-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.fd-landing-hero-copy p,
.fd-landing-section-head p,
.fd-landing-showcase p,
.fd-landing-feature p,
.fd-landing-onboarding p {
  margin: 0;
  color: var(--slate-300);
  line-height: 1.75;
}

.fd-landing-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-landing-kpi,
.fd-landing-feature,
.fd-landing-showcase article,
.fd-signup-step {
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(20, 23, 31, 0.72);
}

.fd-landing-kpi {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
}

.fd-landing-kpi strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.fd-landing-kpi span {
  color: var(--slate-400);
  font-size: 0.92rem;
}

.fd-auth-shell {
  position: sticky;
  top: 6rem;
}

.fd-auth-card {
  padding: 1.4rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(28, 33, 41, 0.98), rgba(20, 24, 33, 0.98));
  box-shadow: var(--shadow-lg);
}

.fd-auth-toggle {
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(15, 16, 20, 0.72);
}

.fd-auth-toggle button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-auth-toggle button.is-active {
  background: var(--brand-600);
  color: var(--white);
}

.fd-auth-field span {
  color: var(--slate-300);
  font-size: 0.9rem;
  font-weight: 600;
}

.fd-auth-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border: 1px solid #232830;
  border-radius: 1rem;
  background: #1c2129;
  transition: all 0.2s ease;
}

.fd-auth-input-wrap:focus-within {
  border-color: rgba(59, 130, 246, 0.62);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.fd-auth-input-wrap i {
  color: var(--slate-400);
  font-size: 1rem;
}

.fd-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--slate-300);
  font-size: 0.88rem;
}

.fd-auth-link {
  color: var(--brand-300);
  font-size: 0.88rem;
  font-weight: 600;
}

.fd-auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 15px;
}

.fd-password-strength {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.fd-password-strength-bar {
  width: 100%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.fd-password-strength-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  transition: width 0.2s ease, background 0.2s ease;
}

.fd-password-strength-fill.strength-0 {
  width: 8%;
  background: rgba(244, 63, 94, 0.4);
}

.fd-password-strength-fill.strength-1 {
  width: 34%;
  background: #f97316;
}

.fd-password-strength-fill.strength-2 {
  width: 68%;
  background: #eab308;
}

.fd-password-strength-fill.strength-3 {
  width: 100%;
  background: #22c55e;
}

.fd-password-strength-label {
  color: var(--slate-300);
  font-size: 0.82rem;
  font-weight: 700;
}

.fd-password-checklist {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.fd-password-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--slate-400);
  font-size: 0.84rem;
  font-weight: 500;
}

.fd-password-checklist li i {
  font-size: 1rem;
}

.fd-password-checklist li.is-valid {
  color: #86efac;
}

.fd-password-checklist li.is-valid i::before {
  content: "\eb80";
}

.fd-password-checklist li.is-invalid {
  color: #fda4af;
}

[data-theme="light"] .fd-password-strength-bar {
  background: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .fd-password-strength-label,
[data-theme="light"] .fd-password-checklist li {
  color: var(--slate-600);
}

[data-theme="light"] .fd-password-checklist li.is-valid {
  color: #15803d;
}

[data-theme="light"] .fd-password-checklist li.is-invalid {
  color: #dc2626;
}

.fd-signup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.fd-signup-step {
  padding: 0.75rem;
  border-radius: 0.95rem;
  color: var(--slate-400);
  font-size: 0.8rem;
  font-weight: 700;
}

.fd-signup-step.is-active {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-200);
}

.fd-signup-panel.hidden,
.fd-auth-form.hidden {
  display: none;
}

.fd-auth-flash {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.88rem;
}

.fd-auth-flash ul {
  margin: 0;
  padding-left: 1rem;
}

.fd-auth-flash-neutral {
  background: rgba(20, 23, 31, 0.72);
  color: var(--slate-300);
}

.fd-auth-flash-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
  color: #86efac;
}

.fd-auth-flash-danger {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.24);
  color: #fda4af;
}

.fd-landing-section {
  gap: 1.35rem;
}

.fd-landing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-landing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-landing-feature,
.fd-landing-showcase,
.fd-landing-onboarding {
  padding: 1.4rem;
}

.fd-landing-feature h3,
.fd-landing-showcase .fd-card-title {
  margin: 0;
  color: var(--white);
}

.fd-landing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fd-landing-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--slate-300);
}

.fd-landing-list i {
  color: var(--brand-300);
}

.fd-landing-onboarding {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 360px);
  align-items: center;
}

.fd-landing-onboarding-steps {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.fd-landing-onboarding-steps article {
  display: grid;
  gap: 0.35rem;
  min-width: 110px;
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(20, 23, 31, 0.78);
}

.fd-landing-onboarding-steps strong {
  color: var(--brand-300);
  font-size: 1.25rem;
}

.fd-landing-onboarding-steps span {
  color: var(--slate-300);
  font-size: 0.88rem;
  font-weight: 600;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:grid-cols-\[1fr_420px\] {
    grid-template-columns: 1fr 420px;
  }

  .lg\:w-\[32\%\] {
    width: 32%;
  }

  .lg\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:block {
    display: block;
  }
}

@media (min-width: 1280px) {
  .xl\:p-14 {
    padding: 3.5rem;
  }

  .xl\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .xl\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (max-width: 1100px) {
  .fd-landing-hero,
  .fd-landing-onboarding,
  .fd-landing-grid-2,
  .fd-landing-grid-3 {
    grid-template-columns: 1fr;
  }

  .fd-auth-shell {
    position: static;
  }
}

@media (max-width: 780px) {
  .fd-public-topbar,
  .fd-public-topbar-actions,
  .fd-public-nav,
  .fd-landing-cta-group,
  .fd-auth-meta,
  .fd-signup-actions,
  .fd-landing-onboarding-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .fd-public-topbar {
    padding: 1rem;
  }

  .fd-public-main {
    padding: 1.25rem 1rem 2.5rem;
  }

  .fd-landing-kpis,
  .fd-signup-steps {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FLOWDESK DASHBOARD
========================================= */

.fd-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fd-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fd-page-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.fd-page-title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--white);
}

.fd-page-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--slate-400);
}

.fd-page-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fd-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-800);
  border-radius: 1rem;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-200);
}

.fd-inline-form {
  display: inline-flex;
}

.fd-month-picker {
  position: relative;
}

.fd-date-picker {
  position: relative;
  z-index: 20;
}

.fd-month-picker-trigger {
  min-width: 188px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--slate-800);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(28, 33, 41, 1), rgba(28, 33, 41, 1));
  color: var(--slate-100);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.2s ease;
}

.fd-month-picker-trigger:hover {
  border-color: rgba(59, 130, 246, 0.32);
  background: linear-gradient(180deg, rgba(34, 40, 49, 1), rgba(28, 33, 41, 1));
}

.fd-month-picker-trigger-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(139, 92, 246, 0.14);
  color: var(--brand-300);
  flex-shrink: 0;
}

.fd-month-picker-trigger-copy {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
  text-align: left;
}

.fd-month-picker-trigger-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.fd-month-picker-trigger-copy strong {
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.1;
}

.fd-month-picker-trigger-arrow {
  margin-left: auto;
  color: var(--slate-400);
  font-size: 1rem;
}

.fd-month-picker-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: min(320px, calc(100vw - 2rem));
  z-index: 70;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(28, 33, 41, 0.98), rgba(20, 24, 33, 0.98));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.fd-date-picker-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: min(320px, calc(100vw - 2rem));
  z-index: 1085;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(28, 33, 41, 0.98), rgba(20, 24, 33, 0.98));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.fd-month-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fd-date-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fd-month-picker-head-copy {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.fd-date-picker-head-copy {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.fd-month-picker-head-label {
  color: var(--slate-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-date-picker-head-label {
  color: var(--slate-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-month-picker-head-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.fd-date-picker-head-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.fd-month-picker-nav {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-200);
  transition: all 0.2s ease;
}

.fd-date-picker-nav {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-200);
  transition: all 0.2s ease;
}

.fd-month-picker-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
  color: var(--white);
}

.fd-date-picker-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
  color: var(--white);
}

.fd-date-picker-native {
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.fd-date-picker-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.95rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.95rem;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-100);
  transition: all 0.2s ease;
}

.fd-date-picker-trigger:hover {
  border-color: rgba(139, 92, 246, 0.32);
  background: rgba(34, 40, 49, 1);
}

.fd-date-picker-trigger-copy {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
  text-align: left;
}

.fd-date-picker-trigger-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.fd-date-picker-trigger-copy strong {
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.1;
}

.fd-date-picker-trigger-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(139, 92, 246, 0.14);
  color: var(--brand-300);
  flex-shrink: 0;
}

.fd-date-picker-trigger-arrow {
  margin-left: auto;
  color: var(--slate-400);
  font-size: 1rem;
}

.fd-date-picker-weekdays,
.fd-date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.fd-date-picker-weekdays {
  margin-bottom: 0.55rem;
}

.fd-date-picker-weekday {
  text-align: center;
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fd-date-picker-day {
  width: 100%;
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.02);
  color: var(--slate-300);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-date-picker-day:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.08);
  color: var(--white);
}

.fd-date-picker-day.is-today {
  border-color: rgba(52, 211, 153, 0.24);
  color: #86efac;
}

.fd-date-picker-day.is-selected {
  border-color: rgba(139, 92, 246, 0.52);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.34), rgba(109, 40, 217, 0.22));
  color: var(--white);
}

.fd-date-picker-day.is-empty {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}

.fd-date-picker-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-date-picker-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-300);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s ease;
}

.fd-date-picker-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.fd-month-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.fd-month-picker-month {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.02);
  color: var(--slate-300);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-month-picker-month:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.08);
  color: var(--white);
}

.fd-month-picker-month.is-current {
  border-color: rgba(52, 211, 153, 0.24);
  color: #86efac;
}

.fd-month-picker-month.is-selected {
  border-color: rgba(139, 92, 246, 0.52);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.34), rgba(109, 40, 217, 0.22));
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.12);
}

.fd-month-picker-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-month-picker-link,
.fd-month-picker-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-month-picker-link {
  color: var(--slate-300);
  background: rgba(255,255,255,0.04);
}

.fd-month-picker-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.fd-month-picker-apply {
  background: var(--brand-600);
  color: var(--white);
}

.fd-month-picker-apply:hover {
  background: var(--brand-700);
}

.fd-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.fd-btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-800);
  border-radius: 1rem;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-100);
  transition: all 0.2s ease;
}

.fd-btn-soft:hover {
  background: rgba(30, 41, 59, 0.95);
}

.fd-card {
  border: 1px solid var(--slate-800);
  background: #14171f;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.fd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fd-kpi-top,
.fd-kpi-main,
.fd-kpi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-kpi-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-200);
}

.fd-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.06);
  font-size: 1rem;
}

.fd-kpi-icon-green { color: #34d399; }
.fd-kpi-icon-red { color: #fb7185; }
.fd-kpi-icon-violet { color: #a78bfa; }

.fd-kpi-value {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--white);
}

.fd-kpi-trend,
.fd-kpi-note {
  font-size: 0.85rem;
  font-weight: 600;
}

.fd-trend-positive { color: #34d399; }
.fd-trend-negative { color: #fb7185; }
.fd-trend-neutral { color: var(--slate-400); }

.fd-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
  gap: 1rem;
}

.fd-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.fd-card-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.fd-card-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.fd-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.06);
  color: var(--brand-400);
}

.fd-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--slate-800);
  border-radius: 999px;
  background: transparent;
  color: var(--slate-300);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fd-chip:hover {
  background: rgba(255,255,255,0.04);
}

.fd-chip.is-active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.32);
  color: var(--brand-300);
}

.fd-table-wrap {
  overflow-x: auto;
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
}

.fd-table-entradas {
  table-layout: fixed;
}

.fd-table-entradas th:nth-child(1),
.fd-table-entradas td:nth-child(1) {
  width: 72px;
}

.fd-table-entradas th:nth-child(2),
.fd-table-entradas td:nth-child(2) {
  width: 210px;
}

.fd-table-entradas th:nth-child(4),
.fd-table-entradas td:nth-child(4) {
  width: 110px;
}

.fd-table-entradas th:nth-child(5),
.fd-table-entradas td:nth-child(5),
.fd-table-entradas th:nth-child(6),
.fd-table-entradas td:nth-child(6) {
  width: 155px;
}

.fd-table-entradas th:nth-child(7),
.fd-table-entradas td:nth-child(7) {
  width: 180px;
}

.fd-table thead th {
  padding: 0.85rem 0.9rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  border-bottom: 1px solid var(--slate-800);
}

.fd-table thead th.fd-text-right {
  text-align: right;
}

.fd-table tbody td {
  padding: 0.95rem 0.9rem;
  font-size: 0.92rem;
  color: var(--slate-200);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.fd-task-check-col {
  width: 86px;
  text-align: center;
}

.fd-dashboard-task-row {
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.fd-dashboard-task-row.is-progressing {
  opacity: 0.7;
}

.fd-dashboard-task-row.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

.fd-dashboard-task-row.is-complete {
  background: rgba(52, 211, 153, 0.04);
}

.fd-task-advance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fd-task-advance-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fd-task-advance-box {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.42rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(15, 23, 42, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fd-task-advance:hover .fd-task-advance-box {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.48);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.fd-task-advance-input:checked + .fd-task-advance-box {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.56);
  color: #dbeafe;
}

.fd-task-advance-input:disabled + .fd-task-advance-box {
  opacity: 0.76;
  cursor: default;
}

.fd-task-title-link,
.fd-task-project-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.fd-task-title-link {
  font-weight: 600;
}

.fd-task-title-link:hover,
.fd-task-project-link:hover {
  color: var(--brand-300);
}

.fd-task-project-link {
  color: var(--slate-300);
}

.fd-task-status-cell .fd-badge {
  min-width: 112px;
  justify-content: center;
}

.fd-task-editor-shell {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  background: #1c2129;
}

.fd-task-modal-dialog {
  max-width: min(1180px, calc(100vw - 2rem));
}

.fd-task-modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2.5rem);
  overflow: hidden;
  background: rgba(21, 27, 38, 0.98);
}

.fd-task-modal-content > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.fd-task-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 1.4rem 1.4rem 1.2rem;
}

.fd-task-modal-grid {
  align-items: start;
  min-height: 0;
}

.fd-task-modal-grid > [class*="col-"] {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.fd-task-modal-grid > [class*="col-"] > * {
  min-height: 0;
}

.fd-task-main-scroll {
  display: grid;
  gap: 0;
  min-height: 0;
  max-height: calc(100vh - 17rem);
  overflow: auto;
  padding-right: 1.5rem;
}

.fd-task-modal-headcopy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  z-index: 1;
}

.fd-task-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  column-gap: 1rem;
}

.fd-task-autosave-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  justify-self: center;
  align-self: center;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(148, 163, 184, 0.12);
  color: var(--slate-300);
}

.fd-task-autosave-status[data-state="saving"] {
  background: rgba(59, 130, 246, 0.14);
  color: var(--brand-300);
}

.fd-task-autosave-status[data-state="error"] {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
}

.fd-task-editor-toolbar.ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.72);
  padding: 0.85rem 0.9rem;
}

.fd-task-editor-toolbar .ql-picker,
.fd-task-editor-toolbar .ql-picker-label,
.fd-task-editor-toolbar .ql-stroke,
.fd-task-editor-toolbar .ql-fill {
  color: var(--slate-200);
  stroke: var(--slate-200);
}

.fd-task-editor-toolbar .ql-picker-options {
  background: var(--slate-950);
  border-color: rgba(148, 163, 184, 0.14);
}

.fd-task-editor-toolbar button:hover,
.fd-task-editor-toolbar button.ql-active,
.fd-task-editor-toolbar .ql-picker-label:hover,
.fd-task-editor-toolbar .ql-picker-label.ql-active {
  color: var(--brand-300);
}

.fd-task-editor {
  min-height: 17rem;
  max-height: 26rem;
  font-size: 0.96rem;
}

.fd-task-editor.ql-container.ql-snow {
  border: 0;
  background: #1c2129;
}

.fd-task-editor .ql-editor {
  min-height: 17rem;
  max-height: 26rem;
  overflow: auto;
  color: var(--slate-100);
  line-height: 1.7;
}

.fd-task-editor .ql-editor.ql-blank::before {
  color: var(--slate-500);
  font-style: normal;
}

.fd-task-editor .ql-editor h1,
.fd-task-editor .ql-editor h2,
.fd-task-editor .ql-editor h3 {
  color: var(--slate-50);
}

.fd-task-editor .ql-editor ul[data-checked=true],
.fd-task-editor .ql-editor ul[data-checked=false] {
  padding-left: 0;
}

.fd-task-editor .ql-editor ul[data-checked=true] > li,
.fd-task-editor .ql-editor ul[data-checked=false] > li {
  list-style: none;
}

.fd-task-side-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding-left: 0.5rem;
}

.fd-task-actions-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(240px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.fd-task-picker {
  position: relative;
}

.fd-task-picker-trigger {
  width: 100%;
  min-height: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #1c2129;
  color: var(--slate-100);
  font-weight: 700;
}

.fd-task-picker-trigger > i:first-child {
  width: 2.125rem;
  height: 2.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(59, 130, 246, 0.14);
  color: var(--brand-300);
  flex-shrink: 0;
}

.fd-task-picker-trigger > span {
  flex: 1 1 auto;
  text-align: left;
  min-width: 0;
  display: flex;
  align-items: center;
  line-height: 1.15;
}

.fd-task-picker-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  z-index: 25;
  display: none;
  padding: 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(9, 14, 24, 0.98);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.48);
}

.fd-task-picker.is-open .fd-task-picker-menu {
  display: block;
}

.fd-task-action-block {
  display: grid;
  gap: 0.55rem;
  grid-template-rows: auto 1fr;
}

.fd-task-column-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fd-task-column-chip {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.52);
  color: var(--slate-300);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.fd-task-column-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--slate-100);
}

.fd-task-column-chip.is-active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.38);
  color: var(--brand-300);
}

.fd-task-date-picker .fd-date-picker-trigger {
  min-height: 4rem;
  height: 4rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #1c2129;
}

.fd-task-date-picker .fd-date-picker-trigger-copy {
  gap: 0.12rem;
}

.fd-task-date-picker .fd-date-picker-trigger-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.fd-task-priority-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fd-task-priority-chip {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.52);
  color: var(--slate-300);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.fd-task-priority-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--slate-100);
}

.fd-task-priority-chip.is-active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.38);
  color: var(--brand-300);
}

.fd-task-checklist-shell {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: #1c2129;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.fd-task-checklist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.fd-task-checklist-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.fd-task-checklist-add {
  min-width: 132px;
  justify-content: center;
}

.fd-task-checklist-list {
  display: grid;
  gap: 0.7rem;
  max-height: 15.5rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.fd-task-checklist-empty {
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.16);
  border-radius: 0.95rem;
  color: var(--slate-400);
  font-size: 0.92rem;
  background: rgba(2, 6, 23, 0.16);
}

.fd-task-checklist-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.22);
}

.fd-task-checklist-item.is-done {
  background: rgba(20, 83, 45, 0.28);
  border-color: rgba(34, 197, 94, 0.28);
}

.fd-task-checklist-item.is-dragging {
  opacity: 0.55;
}

.fd-task-checklist-drag {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(15, 23, 42, 0.42);
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.fd-task-checklist-drag:active {
  cursor: grabbing;
}

.fd-task-checklist-toggle {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fd-task-checklist-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.fd-task-checklist-toggle span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.54);
  transition: 0.18s ease;
}

.fd-task-checklist-toggle input:checked + span {
  border-color: rgba(52, 211, 153, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.24));
  box-shadow: inset 0 0 0 3px rgba(15, 23, 42, 0.68);
}

.fd-task-checklist-copy {
  min-width: 0;
}

.fd-task-checklist-copy strong {
  display: block;
  color: var(--slate-100);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.fd-task-checklist-item.is-done .fd-task-checklist-copy strong {
  color: #dcfce7;
  text-decoration: line-through;
}

.fd-task-checklist-remove {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(244, 63, 94, 0.24);
  background: rgba(127, 29, 29, 0.18);
  color: #fda4af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s ease;
}

.fd-task-checklist-remove:hover {
  color: #ffe4e6;
  border-color: rgba(244, 63, 94, 0.36);
  background: rgba(127, 29, 29, 0.3);
}

.fd-task-comments-shell,
.fd-task-side-card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: #1c2129;
}

.fd-task-comments-shell-side {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.1);
  background: transparent;
  padding: 0 0 0 1.4rem;
}

.fd-task-comments-head,
.fd-task-side-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.fd-task-comments-list,
.fd-task-members-grid,
.fd-task-attachments-list {
  display: grid;
  gap: 0.75rem;
}

.fd-task-comments-list {
  min-height: 8rem;
  max-height: 24rem;
  overflow: auto;
  padding-right: 1.4rem;
}

.fd-task-comments-empty,
.fd-task-attachments-empty {
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.16);
  border-radius: 0.95rem;
  color: var(--slate-400);
  font-size: 0.92rem;
  background: rgba(2, 6, 23, 0.16);
}

.fd-task-comment-composer {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.fd-task-comment-actions {
  display: flex;
  justify-content: flex-end;
}

.fd-task-comment-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.fd-task-comment-avatar,
.fd-task-member-avatar,
.fd-task-member-avatar-fallback,
.fd-task-comment-avatar-fallback {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  object-fit: cover;
}

.fd-task-comment-avatar-fallback,
.fd-task-member-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: var(--brand-300);
  font-size: 0.78rem;
  font-weight: 800;
}

.fd-task-comment-copy {
  min-width: 0;
}

.fd-task-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.fd-task-comment-meta strong {
  color: var(--slate-100);
  font-size: 0.92rem;
}

.fd-task-comment-time {
  color: var(--brand-300);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  pointer-events: none;
}

.fd-task-comment-bubble {
  padding: 0.82rem 0.95rem;
  border-radius: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.fd-task-comment-edit-input {
  min-height: 5.5rem;
  resize: vertical;
}

.fd-task-comment-bubble p {
  margin: 0;
  color: var(--slate-200);
  line-height: 1.55;
  white-space: pre-wrap;
}

.fd-task-comment-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.45rem;
  padding-left: 0.15rem;
}

.fd-task-comment-action,
.fd-task-comment-action-sep {
  font-size: 0.82rem;
}

.fd-task-comment-action {
  color: var(--slate-400);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fd-task-comment-action:hover {
  color: var(--slate-200);
}

.fd-task-comment-action.is-danger {
  color: #fda4af;
}

.fd-task-comment-action-sep {
  color: var(--slate-500);
}

.fd-task-members-grid {
  max-height: 16rem;
  overflow: auto;
}

.fd-task-member-pill {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.18);
  color: var(--slate-200);
  text-align: left;
  transition: 0.18s ease;
}

.fd-task-member-pill:hover {
  border-color: rgba(96, 165, 250, 0.26);
}

.fd-task-member-pill.is-active {
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(37, 99, 235, 0.08);
}

.fd-task-member-copy {
  min-width: 0;
}

.fd-task-member-copy strong,
.fd-task-member-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-task-member-copy strong {
  color: var(--slate-100);
  font-size: 0.9rem;
}

.fd-task-member-copy small {
  color: var(--slate-400);
  font-size: 0.78rem;
}

.fd-task-attachment-composer {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.fd-task-attachment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.18);
}

.fd-task-attachment-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  color: inherit;
}

.fd-task-attachment-copy i {
  color: var(--brand-300);
  font-size: 1.05rem;
}

.fd-task-attachment-copy span {
  min-width: 0;
}

.fd-task-attachment-copy strong,
.fd-task-attachment-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-task-attachment-copy strong {
  color: var(--slate-100);
  font-size: 0.9rem;
}

.fd-task-attachment-copy small {
  color: var(--slate-400);
  font-size: 0.78rem;
}

.fd-task-attachment-remove {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.42);
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fd-task-attachment-remove:hover {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.18);
  background: rgba(127, 29, 29, 0.12);
}

@media (max-width: 1199.98px) {
  .fd-task-actions-bar {
    grid-template-columns: 1fr 1fr;
  }

  .fd-task-action-block-date {
    grid-column: 1 / -1;
  }

  .fd-task-picker-menu {
    position: static;
    margin-top: 0.55rem;
  }
}

.fd-task-live-preview {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.24));
  min-width: 0;
}

.fd-task-live-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.fd-task-live-preview-title {
  display: block;
  color: var(--slate-50);
  font-size: 1rem;
  line-height: 1.35;
}

.fd-task-live-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.fd-task-live-preview-body {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--slate-200);
  line-height: 1.7;
  font-size: 0.92rem;
  max-height: 12rem;
  overflow: auto;
  min-width: 0;
  word-break: break-word;
}

.fd-task-live-preview-body h1,
.fd-task-live-preview-body h2,
.fd-task-live-preview-body h3 {
  color: var(--slate-50);
  margin: 0 0 0.55rem;
}

.fd-task-live-preview-body p,
.fd-task-live-preview-body ul,
.fd-task-live-preview-body ol,
.fd-task-live-preview-body blockquote,
.fd-task-live-preview-body pre {
  margin: 0 0 0.8rem;
}

.fd-task-live-preview-body ul[data-checked=true],
.fd-task-live-preview-body ul[data-checked=false] {
  padding-left: 0;
}

.fd-task-live-preview-body ul[data-checked=true] > li,
.fd-task-live-preview-body ul[data-checked=false] > li {
  list-style: none;
}

.fd-task-live-preview-checklist {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.fd-task-live-preview-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--slate-300);
  font-size: 0.82rem;
}

.fd-task-live-preview-checklist-list {
  display: grid;
  gap: 0.55rem;
}

.fd-task-live-preview-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--slate-200);
  font-size: 0.88rem;
  min-width: 0;
}

.fd-task-live-preview-checklist-item i {
  color: var(--brand-300);
  flex: 0 0 auto;
}

.fd-task-live-preview-checklist-item span {
  min-width: 0;
  word-break: break-word;
}

.fd-task-live-preview-checklist-item.is-done {
  color: var(--slate-400);
}

.fd-task-live-preview-checklist-item.is-done span {
  text-decoration: line-through;
}

.fd-project-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.fd-task-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: var(--brand-300);
  font-size: 0.74rem;
  font-weight: 600;
}

.fd-task-tag-checklist {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.16);
}

.fd-empty-state,
.fd-empty-copy,
.fd-text-muted {
  color: var(--slate-400);
}

.fd-empty-copy {
  margin: 0;
  font-size: 0.92rem;
}

.fd-task-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 1rem 1.4rem 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(21, 27, 38, 1);
  position: relative;
  z-index: 2;
}

.fd-task-modal-footer .btn {
  min-width: 168px;
}

@media (max-width: 991.98px) {
  .fd-task-modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .fd-task-modal-content {
    max-height: calc(100vh - 1rem);
  }

  .fd-task-editor,
  .fd-task-editor .ql-editor {
    min-height: 14rem;
    max-height: 18rem;
  }

  .fd-task-main-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .fd-task-side-panel {
    padding-left: 0;
  }

  .fd-task-comments-shell-side {
    border-left: 0;
    padding: 0;
  }

  .fd-task-modal-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.6rem;
  }

  .fd-task-autosave-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .fd-task-modal-body {
    padding: 1rem;
  }

  .fd-task-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 1rem;
  }

  .fd-task-modal-footer .btn {
    width: 100%;
    min-width: 0;
  }

  .fd-task-editor,
  .fd-task-editor .ql-editor,
  .fd-task-comments-list {
    max-height: 11.5rem;
  }

  .fd-task-checklist-composer {
    grid-template-columns: 1fr;
  }

  .fd-task-checklist-add {
    width: 100%;
    min-width: 0;
  }

  .fd-task-actions-bar {
    grid-template-columns: 1fr;
  }

  .fd-task-comments-head,
  .fd-task-side-card-head {
    flex-direction: column;
    align-items: stretch;
  }
}

.fd-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.fd-badge-warning {
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
}

.fd-badge-info {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
}

.fd-badge-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.fd-badge-success {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
}

.fd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fd-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.fd-list-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fd-list-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.fd-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.9rem;
  background: rgba(255,255,255,0.05);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fd-list-name {
  color: var(--slate-200);
  font-size: 0.92rem;
  font-weight: 600;
}

.fd-list-meta {
  color: var(--slate-400);
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .fd-kpi-grid,
  .fd-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fd-page-title {
    font-size: 1.5rem;
  }

  .fd-kpi-value {
    font-size: 1.45rem;
  }

  .fd-card {
    padding: 1rem;
  }

  .fd-kpi-main,
  .fd-kpi-footer,
  .fd-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .fd-month-picker-panel {
    right: auto;
    left: 0;
  }

  .fd-date-picker-panel {
    right: auto;
    left: 0;
  }
}


/* =========================================
   FLOWDESK PANEL SHELL
========================================= */

.fd-shell {
  min-height: 100vh;
  display: flex;
  background: #0f1014;
  color: var(--slate-100);
}

.fd-sidebar {
  width: 280px;
  min-width: 280px;
  border-right: 1px solid var(--slate-800);
  background: #14171f;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.fd-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.fd-sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  object-fit: cover;
}

.fd-sidebar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.fd-sidebar-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  color: var(--slate-400);
}

.fd-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--slate-800);
  border-radius: 1.1rem;
  background: rgba(2, 6, 23, 0.55);
}

.fd-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
}

.fd-user-meta {
  min-width: 0;
}

.fd-user-name {
  margin: 0;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.fd-user-email {
  margin: 0.2rem 0 0;
  color: var(--slate-400);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fd-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fd-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: var(--slate-300);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fd-nav-link i {
  font-size: 1.1rem;
}

.fd-nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.fd-nav-link.is-active {
  background: rgba(37, 99, 235, 0.14);
  color: var(--brand-300);
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.fd-main {
  flex: 1;
  min-width: 0;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
}

.fd-topbar {
  height: 84px;
  border-bottom: 1px solid var(--slate-800);
  background: #0f1014;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.fd-topbar-left,
.fd-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fd-workspace-switcher {
  position: relative;
}

.fd-workspace-switcher-trigger {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--slate-800);
  border-radius: 1rem;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-100);
  transition: all 0.2s ease;
}

.fd-workspace-switcher-trigger:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(34, 40, 49, 1);
}

.fd-workspace-switcher-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  text-align: left;
  margin-right: auto;
}

.fd-workspace-switcher-label {
  color: var(--slate-400);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-workspace-switcher-copy strong {
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.1;
}

.fd-workspace-dropdown {
  width: 320px;
}

.fd-workspace-switcher-form {
  display: block;
}

.fd-workspace-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.95rem;
  color: var(--slate-200);
  transition: all 0.2s ease;
}

.fd-workspace-option:hover {
  background: rgba(255, 255, 255, 0.04);
}

.fd-workspace-option.is-active {
  background: rgba(59, 130, 246, 0.14);
  color: var(--white);
}

.fd-workspace-option-main {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  text-align: left;
}

.fd-workspace-option-main strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.fd-workspace-option-main small {
  color: var(--slate-400);
  font-size: 0.76rem;
  font-weight: 600;
}

.fd-topbar-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate-400);
  font-weight: 700;
}

.fd-topbar-title {
  margin: 0;
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.fd-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  border: 1px solid var(--slate-800);
  background: rgba(28, 33, 41, 1);
  color: var(--slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fd-icon-btn:hover {
  background: rgba(30, 41, 59, 0.95);
}

.fd-icon-btn i {
  font-size: 1.15rem;
}

.fd-user-menu {
  position: relative;
}

.fd-user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--slate-800);
  border-radius: 1rem;
  background: rgba(28, 33, 41, 0.82);
  color: var(--slate-100);
}

.fd-user-menu-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0.9rem;
  object-fit: cover;
}

.fd-user-menu-text {
  text-align: left;
}

.fd-user-menu-name {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
}

.fd-user-menu-status {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--slate-400);
}

.fd-user-menu-arrow {
  color: var(--slate-400);
}

.fd-user-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 260px;
  border-radius: 1.25rem;
  border: 1px solid var(--slate-800);
  background: rgba(28, 33, 41, 1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 80;
}

.fd-user-dropdown-head {
  padding: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.fd-user-dropdown-name {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.fd-user-dropdown-email {
  margin: 0.25rem 0 0;
  color: var(--slate-400);
  font-size: 0.76rem;
}

.fd-user-dropdown-body {
  padding: 0.5rem;
}

.fd-user-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 0;
  border-radius: 0.95rem;
  background: transparent;
  color: var(--slate-200);
  font-size: 0.88rem;
  text-align: left;
  transition: all 0.2s ease;
}

.fd-user-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.fd-user-dropdown-link.is-danger {
  color: #fb7185;
}

.fd-content {
  flex: 1;
  padding: 1.5rem;
  min-width: 0;
  background: #0f1014;
}

.fd-overlay {
  display: none;
}

.fd-mobile-only {
  display: none;
}

/* =========================================
   LIGHT MODE - PANEL
========================================= */

[data-theme="light"] .fd-shell {
  background: var(--slate-50);
  color: var(--slate-900);
}

[data-theme="light"] .fd-content {
  background: var(--slate-50);
}

[data-theme="light"] .fd-sidebar,
[data-theme="light"] .fd-topbar,
[data-theme="light"] .fd-workspace-switcher-trigger,
[data-theme="light"] .fd-user-menu-trigger,
[data-theme="light"] .fd-user-dropdown,
[data-theme="light"] .fd-user-card,
[data-theme="light"] .fd-icon-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--slate-200);
}

[data-theme="light"] .fd-sidebar-title,
[data-theme="light"] .fd-user-name,
[data-theme="light"] .fd-topbar-title,
[data-theme="light"] .fd-workspace-switcher-copy strong,
[data-theme="light"] .fd-user-menu-name,
[data-theme="light"] .fd-user-dropdown-name {
  color: var(--slate-900);
}

[data-theme="light"] .fd-sidebar-subtitle,
[data-theme="light"] .fd-user-email,
[data-theme="light"] .fd-topbar-eyebrow,
[data-theme="light"] .fd-workspace-switcher-label,
[data-theme="light"] .fd-user-menu-status,
[data-theme="light"] .fd-user-dropdown-email,
[data-theme="light"] .fd-workspace-option-main small {
  color: var(--slate-500);
}

[data-theme="light"] .fd-nav-link {
  color: var(--slate-600);
}

[data-theme="light"] .fd-nav-link:hover {
  color: var(--slate-900);
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-icon-btn {
  color: var(--slate-700);
}

[data-theme="light"] .fd-user-dropdown-link {
  color: var(--slate-700);
}

[data-theme="light"] .fd-user-dropdown-link:hover {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-workspace-option {
  color: var(--slate-700);
}

[data-theme="light"] .fd-workspace-option:hover {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-workspace-option.is-active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--slate-900);
}

/* =========================================
   RESPONSIVE - PANEL
========================================= */

@media (max-width: 1024px) {
  .fd-sidebar {
    transform: translateX(-100%);
  }

  .fd-sidebar.is-open {
    transform: translateX(0);
  }

  .fd-main {
    margin-left: 0;
  }

  .fd-mobile-only {
    display: inline-flex;
  }

  .fd-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(2px);
    z-index: 50;
  }

  .fd-workspace-switcher-trigger {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .fd-topbar {
    height: auto;
    padding: 1rem;
  }

  .fd-topbar-title {
    font-size: 1.35rem;
  }

  .fd-user-menu-text {
    display: none;
  }

  .fd-content {
    padding: 1rem;
  }

  .fd-workspace-dropdown {
    width: min(320px, calc(100vw - 1.5rem));
  }
}

/* =========================================
   LIGHT MODE
========================================= */

[data-theme="light"] body {
  background: var(--slate-50);
  color: var(--slate-900);
}

[data-theme="light"] .bg-slate-950 {
  background-color: var(--slate-50);
}

[data-theme="light"] .bg-slate-900\/80 {
  background-color: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .bg-slate-950\/90 {
  background-color: rgba(248, 250, 252, 0.92);
}

[data-theme="light"] .text-slate-100,
[data-theme="light"] .text-white {
  color: var(--slate-900);
}

[data-theme="light"] .text-slate-200 {
  color: var(--slate-800);
}

[data-theme="light"] .text-slate-300 {
  color: var(--slate-700);
}

[data-theme="light"] .text-slate-400,
[data-theme="light"] .text-slate-500 {
  color: var(--slate-500);
}

[data-theme="light"] .border-slate-800 {
  border-color: var(--slate-200);
}

[data-theme="light"] .border-white\/10 {
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .shadow-black\/20 {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.85), rgba(248, 250, 252, 0.7), rgba(196, 181, 253, 0.35));
}

[data-theme="light"] .login-input-wrap {
  background: var(--white);
  border-color: var(--slate-200);
}

[data-theme="light"] .login-input {
  color: var(--slate-900);
}

[data-theme="light"] .login-input::placeholder {
  color: var(--slate-400);
}

/* =========================================
   LIGHT MODE - DASHBOARD
========================================= */

[data-theme="light"] .fd-page-title,
[data-theme="light"] .fd-card-title,
[data-theme="light"] .fd-kpi-value {
  color: var(--slate-900);
}

[data-theme="light"] .fd-page-subtitle,
[data-theme="light"] .fd-card-subtitle,
[data-theme="light"] .fd-empty-copy,
[data-theme="light"] .fd-text-muted,
[data-theme="light"] .fd-list-meta,
[data-theme="light"] .fd-page-eyebrow {
  color: var(--slate-500);
}

[data-theme="light"] .fd-card,
[data-theme="light"] .fd-btn-soft,
[data-theme="light"] .fd-period-badge {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--slate-200);
}

[data-theme="light"] .fd-table thead th {
  color: var(--slate-500);
  border-bottom-color: var(--slate-200);
}

[data-theme="light"] .fd-table tbody td,
[data-theme="light"] .fd-list-item {
  color: var(--slate-700);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .fd-kpi-label,
[data-theme="light"] .fd-list-name,
[data-theme="light"] .fd-period-badge,
[data-theme="light"] .fd-btn-soft {
  color: var(--slate-800);
}

[data-theme="light"] .fd-chip {
  border-color: var(--slate-200);
  color: var(--slate-600);
}

[data-theme="light"] .fd-chip:hover {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-section-icon,
[data-theme="light"] .fd-kpi-icon,
[data-theme="light"] .fd-list-icon {
  background: rgba(15, 23, 42, 0.05);
}

/* =========================================
   FLOWDESK FINANCEIRO
========================================= */

.fd-financeiro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fd-fin-panel {
  display: grid;
  gap: 1.15rem;
}

.fd-fin-panel-analise {
  gap: 1.35rem;
}

.fd-financeiro .fd-page-header {
  margin-bottom: 0.35rem;
}

.fd-financeiro .fd-tabs {
  margin-bottom: 0.15rem;
}

.fd-kpi-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fd-kpi-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-value-green {
  color: #34d399;
}

.fd-value-red {
  color: #fb7185;
}

.fd-fin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.3fr);
  gap: 1.15rem;
}

.fd-chart-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 320px;
}

.fd-chart-box {
  min-height: 320px;
}

.fd-chart-box-sm {
  width: 240px;
  min-width: 240px;
  min-height: 240px;
}

.fd-chart-legend {
  flex: 1;
}

.fd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fd-financeiro .fd-card {
  min-height: 100%;
}

.fd-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-800);
  border-radius: 999px;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-300);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.fd-tab.is-active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.32);
  color: var(--brand-300);
}

.fd-card-header-stack-mobile {
  align-items: flex-start;
}

.fd-action-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.fd-btn-primary,
.fd-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-btn-primary {
  background: var(--brand-600);
  color: var(--white);
  border: 1px solid transparent;
}

.fd-btn-primary:hover {
  background: var(--brand-700);
}

.fd-btn-secondary {
  background: rgba(28, 33, 41, 1);
  color: var(--slate-200);
  border: 1px solid var(--slate-800);
}

.fd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.fd-text-right {
  text-align: right;
}

.fd-table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.fd-inline-form {
  display: inline-flex;
}

.fd-btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid var(--slate-700);
  background: transparent;
  color: var(--slate-200);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.fd-btn-table i {
  font-size: 0.92rem;
}

.fd-btn-table-icon {
  width: 2.7rem;
  min-width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border-radius: 0.9rem;
}

.fd-btn-table:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fd-btn-table-success {
  border-color: rgba(52, 211, 153, 0.3);
  color: #34d399;
}

.fd-btn-table-danger {
  border-color: rgba(251, 113, 133, 0.3);
  color: #fb7185;
}

[data-theme="light"] .fd-tab,
[data-theme="light"] .fd-btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--slate-200);
  color: var(--slate-700);
}

[data-theme="light"] .fd-tab:hover,
[data-theme="light"] .fd-btn-secondary:hover,
[data-theme="light"] .fd-btn-table:hover {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-btn-table {
  border-color: var(--slate-200);
  color: var(--slate-700);
}

.fd-clientes,
.fd-cliente-detalhe {
  display: grid;
  gap: 1rem;
}

.fd-client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fd-client-grid-tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-client-card-link {
  text-decoration: none;
}

.fd-client-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fd-client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.fd-client-card-head,
.fd-client-card-footer,
.fd-client-access-head,
.fd-cliente-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-client-avatar,
.fd-client-avatar-fallback,
.fd-cliente-profile-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.5rem;
  object-fit: cover;
}

.fd-client-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(59, 130, 246, 0.18));
  color: #e2e8f0;
  font-size: 1.5rem;
  font-weight: 700;
}

.fd-client-card-body {
  display: grid;
  gap: 0.35rem;
}

.fd-client-name {
  margin: 0;
  font-size: 1.05rem;
  color: var(--slate-100);
}

.fd-client-meta,
.fd-client-date,
.fd-client-access-lines p,
.fd-client-info-label,
.fd-client-info-value {
  margin: 0;
}

.fd-client-meta,
.fd-client-date,
.fd-client-access-lines p,
.fd-client-info-label {
  color: var(--slate-400);
  font-size: 0.88rem;
}

.fd-client-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-200);
}

.fd-client-kpi-copy {
  font-size: 1.25rem;
}

.fd-cliente-hero {
  display: grid;
  gap: 1rem;
}

.fd-cliente-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.fd-cliente-profile-media,
.fd-cliente-profile-body {
  display: grid;
  gap: 1rem;
}

.fd-cliente-profile-media {
  justify-items: center;
}

.fd-client-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fd-client-info-value {
  display: block;
  color: var(--slate-100);
  font-size: 0.98rem;
  font-weight: 600;
}

.fd-client-access-card {
  display: grid;
  gap: 0.85rem;
}

.fd-client-access-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--slate-100);
}

.fd-client-access-lines {
  display: grid;
  gap: 0.35rem;
  min-height: 4.5rem;
}

.fd-client-footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-clientes-master {
  gap: 1.25rem;
}

.fd-clientes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fd-clientes-toolbar-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1 1 340px;
  margin-bottom: 30px;
}

.fd-clientes-summary-text {
  margin: 0;
  color: var(--slate-300);
  font-size: 1rem;
  font-weight: 500;
}

.fd-clientes-summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: var(--brand-200);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22);
  flex-shrink: 0;
}

.fd-client-search-form {
  margin: 0;
}

.fd-client-search {
  position: relative;
  display: block;
  min-width: min(100%, 360px);
}

.fd-client-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  pointer-events: none;
}

.fd-client-search .fd-input {
  min-width: 410px;
  padding-left: 2.9rem;
}

.fd-clientes-shell {
  display: grid;
  grid-template-columns: minmax(520px, 609px) minmax(0, 931px);
  gap: 50px;
  align-items: start;
}

.fd-clientes-sidebar,
.fd-clientes-preview {
  display: grid;
  gap: 1rem;
}

.fd-client-preview-card {
  gap: 1.25rem;
}

.fd-client-list-head,
.fd-client-preview-head,
.fd-client-preview-title-row,
.fd-client-preview-section-head,
.fd-client-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-client-list-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--slate-100);
  font-weight: 700;
}

.fd-client-list {
  display: grid;
}

.fd-client-row-link {
  text-decoration: none;
}

.fd-client-list-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.fd-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.fd-client-list .fd-client-row-link:first-child .fd-client-row {
  border-top: none;
  padding-top: 0;
}

.fd-client-row:hover {
  transform: translateX(4px);
}

.fd-client-row.is-active {
  border-top-color: rgba(148, 163, 184, 0.12);
}

.fd-client-row-main,
.fd-client-preview-ident {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fd-client-row-copy,
.fd-client-preview-copy {
  min-width: 0;
}

.fd-client-row-copy {
  display: grid;
  gap: 0.2rem;
}

.fd-client-preview-copy {
  display: grid;
  gap: 0.3rem;
}

.fd-client-preview-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--slate-300);
  font-size: 0.88rem;
}

.fd-client-preview-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fd-client-row-side {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  text-align: right;
}

.fd-client-row-value {
  color: var(--slate-100);
  font-size: 1rem;
  font-weight: 700;
}

.fd-client-row-badge {
  justify-self: start;
  margin-top: 0.45rem;
}

.fd-client-row-label {
  color: var(--slate-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-client-preview-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.fd-client-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-client-metric-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(28, 33, 41, 1);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.fd-client-metric-label {
  color: var(--slate-400);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-client-metric-value {
  color: var(--slate-100);
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
  font-weight: 800;
}

.fd-client-preview-section {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.fd-client-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-client-context-block {
  grid-column: 1 / -1;
}

.fd-client-activity-list {
  display: grid;
  gap: 0.55rem;
}

.fd-client-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.fd-client-activity-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.fd-client-activity-title,
.fd-client-activity-desc {
  display: block;
}

.fd-client-activity-title {
  color: var(--slate-100);
  font-size: 0.88rem;
  font-weight: 600;
}

.fd-client-activity-title i {
  margin-right: 0.45rem;
}

.fd-client-activity-desc,
.fd-client-activity-date {
  color: var(--slate-400);
  font-size: 0.78rem;
}

.fd-activity-project {
  background: rgba(59, 130, 246, 0.08);
}

.fd-activity-budget {
  background: rgba(139, 92, 246, 0.08);
}

.fd-activity-money {
  background: rgba(16, 185, 129, 0.08);
}

.fd-client-preview-empty {
  min-height: 360px;
  align-content: center;
}

.fd-empty-state-compact {
  padding: 1rem 0 0;
}

.fd-card .fd-card,
.fd-client-metric-card,
.fd-user-card,
.fd-month-picker-panel,
.fd-date-picker-panel,
.modal .card {
  background: #1c2129;
}

.fd-card .fd-card,
.fd-client-metric-card,
.modal .card {
  border-color: #232830;
}

.fd-pipeline {
  display: grid;
  gap: 1rem;
}

.fd-inline-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fd-pipeline-select {
  min-width: 190px;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid var(--slate-800);
  background: rgba(28, 33, 41, 1);
  color: var(--slate-100);
}

.fd-pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.fd-pipeline-column {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.fd-pipeline-column-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fd-pipeline-column-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.fd-pipeline-stage-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.fd-pipeline-column-body {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-height: 220px;
}

.fd-pipeline-empty {
  border: 1px dashed rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  color: var(--slate-400);
  font-size: 0.88rem;
  text-align: center;
}

.fd-pipeline-card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(28, 33, 41, 0.7);
  border-radius: 1.15rem;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.fd-pipeline-card-top,
.fd-pipeline-card-middle,
.fd-pipeline-card-bottom,
.fd-pipeline-card-actions,
.fd-pipeline-vote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.fd-pipeline-card-title {
  margin: 0;
  color: var(--slate-100);
  font-size: 0.98rem;
}

.fd-pipeline-card-client,
.fd-pipeline-date {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.84rem;
}

.fd-pipeline-money {
  color: #34d399;
  font-size: 0.95rem;
  font-weight: 700;
}

.fd-pipeline-report {
  display: flex;
  justify-content: center;
}

.fd-projects {
  display: grid;
  gap: 1rem;
}

.fd-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-project-card {
  display: grid;
  gap: 1.15rem;
}

.fd-project-card-top,
.fd-project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-project-type-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.fd-project-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  font-size: 1.2rem;
}

.fd-project-type-title,
.fd-project-name {
  margin: 0;
  color: var(--slate-100);
}

.fd-project-name {
  font-size: 1.02rem;
}

.fd-project-content {
  display: grid;
  gap: 1rem;
}

.fd-project-client {
  margin: 0.35rem 0 0;
  color: var(--slate-400);
  font-size: 0.92rem;
}

.fd-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-project-meta-item {
  display: grid;
  gap: 0.35rem;
}

.fd-project-meta-item strong {
  color: var(--slate-100);
  font-size: 0.94rem;
}

.fd-btn-grow {
  flex: 1;
  justify-content: center;
}

.fd-budgets {
  display: grid;
  gap: 1rem;
}

.fd-inline-note {
  margin: 0;
  color: var(--slate-300);
  font-size: 0.92rem;
}

.fd-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-budget-card {
  display: grid;
  gap: 1rem;
}

.fd-budget-top,
.fd-budget-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-budget-client {
  margin: 0.3rem 0 0;
  color: var(--slate-100);
  font-size: 1rem;
}

.fd-budget-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #0b1924;
  font-size: 0.88rem;
  font-weight: 600;
}

.fd-budget-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-budget-meta-item {
  display: grid;
  gap: 0.35rem;
}

.fd-budget-meta-item strong {
  color: var(--slate-100);
  font-size: 0.94rem;
}

.fd-project-detail {
  display: grid;
  gap: 1rem;
}

.fd-project-detail-hero,
.fd-project-description {
  display: grid;
  gap: 1rem;
}

.fd-project-detail-top,
.fd-project-task-head,
.fd-project-task-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fd-project-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-project-description p:last-child {
  margin: 0;
  color: var(--slate-300);
  line-height: 1.6;
}

.fd-project-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.fd-project-column {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.fd-project-column-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.fd-project-column-title {
  margin: 0;
  color: var(--slate-100);
  font-size: 1rem;
}

.fd-project-column-body {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-height: 220px;
}

.fd-project-task-card {
  gap: 0.85rem;
}

.fd-project-task-title {
  color: var(--slate-100);
  font-size: 0.94rem;
}

.fd-project-task-copy {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.88rem;
  line-height: 1.6;
}

.fd-settings {
  display: grid;
  gap: 1rem;
}

.fd-settings-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.fd-settings-profile,
.fd-settings-form-card,
.fd-settings-theme-card,
.fd-settings-form,
.fd-settings-fields {
  display: grid;
  gap: 1rem;
}

.fd-settings-profile {
  justify-items: center;
  text-align: center;
  padding-top: 1.5rem;
}

.fd-settings-avatar-wrap {
  display: grid;
  place-items: center;
}

.fd-settings-avatar,
.fd-settings-avatar-fallback {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
}

.fd-settings-avatar {
  object-fit: cover;
}

.fd-settings-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.fd-avatar-cropper {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.28);
}

.fd-avatar-cropper-stage {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: #0b1220;
  cursor: grab;
  touch-action: none;
}

.fd-avatar-cropper-stage:active {
  cursor: grabbing;
}

.fd-avatar-cropper-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center;
}

.fd-avatar-cropper-mask {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 999px rgba(2, 6, 23, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.86);
  pointer-events: none;
}

.fd-avatar-cropper-controls {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.fd-avatar-cropper-controls input[type="range"] {
  width: 100%;
}

.fd-settings-name,
.fd-settings-section-title {
  margin: 0;
  color: var(--slate-100);
}

.fd-settings-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-settings-field {
  display: grid;
  gap: 0.45rem;
}

.fd-settings-help {
  margin: 0;
  font-size: 0.84rem;
}

.fd-onboarding {
  display: grid;
  gap: 1.25rem;
}

.fd-onboarding-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 1.25rem;
}

.fd-onboarding-copy,
.fd-onboarding-form-card {
  display: grid;
  gap: 1rem;
}

.fd-onboarding-points {
  display: grid;
  gap: 0.9rem;
}

.fd-onboarding-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.fd-onboarding-point strong {
  display: block;
  color: var(--slate-100);
  margin-bottom: 0.2rem;
}

.fd-onboarding-point p {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.9rem;
}

[data-theme="light"] .fd-onboarding-point {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-onboarding-point strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-onboarding-point p {
  color: var(--slate-600);
}

.fd-settings-actions,
.fd-settings-theme-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-settings-team-card,
.fd-settings-team-list {
  display: grid;
  gap: 1rem;
}

.fd-settings-team-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.fd-settings-team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.fd-settings-team-member-main,
.fd-settings-team-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fd-settings-team-avatar,
.fd-settings-team-avatar-fallback {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}

.fd-settings-team-avatar {
  object-fit: cover;
}

.fd-settings-team-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.fd-settings-team-copy {
  display: grid;
  gap: 0.15rem;
}

.fd-settings-team-name {
  color: var(--slate-100);
  font-size: 0.98rem;
}

.fd-settings-team-meta-stack {
  flex-direction: column;
  align-items: flex-end;
}

.fd-settings-role-form {
  min-width: 150px;
}

.fd-settings-role-select {
  min-height: 40px;
  padding: 0.65rem 2.1rem 0.65rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.fd-settings-invite-link {
  display: inline-block;
  max-width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--slate-300);
  font-size: 0.82rem;
  word-break: break-all;
}

.fd-btn-sm {
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.82rem;
}

.fd-conversion-report {
  display: grid;
  gap: 1rem;
}

.fd-conversion-filter {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fd-conversion-filter-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 0.85rem;
}

.fd-conversion-legend {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fd-conversion-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

[data-theme="light"] .fd-client-name,
[data-theme="light"] .fd-client-info-value,
[data-theme="light"] .fd-client-access-head h3 {
  color: var(--slate-900);
}

[data-theme="light"] .fd-cliente-profile,
[data-theme="light"] .fd-client-access-card,
[data-theme="light"] .fd-client-footer-card {
  background: var(--white);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .fd-client-avatar-fallback,
[data-theme="light"] .fd-client-open {
  color: var(--slate-700);
}

[data-theme="light"] .fd-client-list-count {
  background: rgba(37, 99, 235, 0.12);
  color: var(--slate-800);
}

[data-theme="light"] .fd-clientes-summary-text {
  color: var(--slate-700);
}

[data-theme="light"] .fd-clientes-summary-count {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

[data-theme="light"] .fd-client-row-value,
[data-theme="light"] .fd-client-metric-value,
[data-theme="light"] .fd-client-activity-title {
  color: var(--slate-900);
}

[data-theme="light"] .fd-client-metric-card,
[data-theme="light"] .fd-client-activity-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .fd-client-preview-meta,
[data-theme="light"] .fd-client-row-label,
[data-theme="light"] .fd-client-activity-desc,
[data-theme="light"] .fd-client-activity-date {
  color: var(--slate-500);
}

[data-theme="light"] .fd-card-subtitle,
[data-theme="light"] .fd-client-meta,
[data-theme="light"] .fd-client-date,
[data-theme="light"] .fd-client-access-lines p,
[data-theme="light"] .fd-client-info-label {
  color: var(--slate-500);
}

[data-theme="light"] .fd-input,
[data-theme="light"] .fd-client-search .fd-input,
[data-theme="light"] .fd-pipeline-select,
[data-theme="light"] .form-control,
[data-theme="light"] .form-select,
[data-theme="light"] textarea.form-control {
  border-color: #d7dde7;
  background: #f4f7fb;
  color: #334155;
}

[data-theme="light"] .fd-input::placeholder,
[data-theme="light"] .form-control::placeholder,
[data-theme="light"] textarea.form-control::placeholder {
  color: #7c8798;
}

[data-theme="light"] .fd-input:focus,
[data-theme="light"] .fd-pipeline-select:focus,
[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] textarea.form-control:focus {
  background: #ffffff;
  color: #1e293b;
}

[data-theme="light"] .fd-pipeline-select,
[data-theme="light"] .fd-pipeline-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--slate-200);
}

[data-theme="light"] .fd-month-picker-trigger {
  border-color: rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.98));
  color: var(--slate-900);
}

[data-theme="light"] .fd-month-picker-trigger:hover {
  border-color: rgba(124, 58, 237, 0.22);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(241,245,249,1));
}

[data-theme="light"] .fd-month-picker-trigger-label,
[data-theme="light"] .fd-month-picker-trigger-arrow,
[data-theme="light"] .fd-month-picker-head-label {
  color: var(--slate-500);
}

[data-theme="light"] .fd-month-picker-trigger-copy strong,
[data-theme="light"] .fd-month-picker-head-copy strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-month-picker-trigger-icon {
  background: rgba(124, 58, 237, 0.1);
  color: var(--brand-700);
}

[data-theme="light"] .fd-month-picker-panel {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
}

[data-theme="light"] .fd-date-picker-panel {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
}

[data-theme="light"] .fd-month-picker-nav,
[data-theme="light"] .fd-month-picker-link {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.03);
  color: var(--slate-700);
}

[data-theme="light"] .fd-date-picker-nav,
[data-theme="light"] .fd-date-picker-link {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.03);
  color: var(--slate-700);
}

[data-theme="light"] .fd-month-picker-nav:hover,
[data-theme="light"] .fd-month-picker-link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--slate-900);
}

[data-theme="light"] .fd-date-picker-nav:hover,
[data-theme="light"] .fd-date-picker-link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--slate-900);
}

[data-theme="light"] .fd-month-picker-month {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.74);
  color: var(--slate-700);
}

[data-theme="light"] .fd-date-picker-trigger {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255,255,255,0.92);
  color: var(--slate-900);
}

[data-theme="light"] .fd-date-picker-trigger:hover {
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(255,255,255,1);
}

[data-theme="light"] .fd-date-picker-trigger-label,
[data-theme="light"] .fd-date-picker-trigger-arrow,
[data-theme="light"] .fd-date-picker-head-label,
[data-theme="light"] .fd-date-picker-weekday {
  color: var(--slate-500);
}

[data-theme="light"] .fd-date-picker-trigger-copy strong,
[data-theme="light"] .fd-date-picker-head-copy strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-date-picker-trigger-icon {
  background: rgba(124, 58, 237, 0.1);
  color: var(--brand-700);
}

[data-theme="light"] .fd-project-column-title,
[data-theme="light"] .fd-project-task-title {
  color: var(--slate-900);
}

[data-theme="light"] .fd-project-task-copy {
  color: var(--slate-600);
}

[data-theme="light"] .fd-project-task-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--slate-200);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .fd-project-task-card .fd-btn-table {
  border-color: var(--slate-200);
  color: var(--slate-700);
}

[data-theme="light"] .fd-project-task-card .fd-btn-table:hover {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .fd-task-modal-content,
[data-theme="light"] .fd-task-modal-body {
  background: #ffffff;
}

[data-theme="light"] .fd-task-modal-header {
  background: #ffffff;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-task-autosave-status {
  background: rgba(226, 232, 240, 0.92);
  color: var(--slate-600);
}

[data-theme="light"] .fd-task-autosave-status[data-state="saving"] {
  background: rgba(219, 234, 254, 0.96);
  color: #1d4ed8;
}

[data-theme="light"] .fd-task-autosave-status[data-state="error"] {
  background: rgba(254, 226, 226, 0.98);
  color: #dc2626;
}

[data-theme="light"] .fd-task-editor-shell,
[data-theme="light"] .fd-task-editor.ql-container.ql-snow,
[data-theme="light"] .fd-task-picker-trigger,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger,
[data-theme="light"] .fd-task-checklist-shell,
[data-theme="light"] .fd-task-comments-shell,
[data-theme="light"] .fd-task-side-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--slate-200);
}

[data-theme="light"] .fd-task-editor-toolbar.ql-toolbar.ql-snow {
  background: rgba(248, 250, 252, 0.98);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .fd-task-editor-toolbar .ql-picker,
[data-theme="light"] .fd-task-editor-toolbar .ql-picker-label,
[data-theme="light"] .fd-task-editor-toolbar .ql-stroke,
[data-theme="light"] .fd-task-editor-toolbar .ql-fill,
[data-theme="light"] .fd-task-editor .ql-editor,
[data-theme="light"] .fd-task-picker-trigger,
[data-theme="light"] .fd-task-picker-trigger > span,
[data-theme="light"] .fd-task-picker-trigger > i:last-child,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger-copy strong,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger-label,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger-arrow,
[data-theme="light"] .fd-task-checklist-copy strong,
[data-theme="light"] .fd-task-comment-meta strong,
[data-theme="light"] .fd-task-comment-bubble p {
  color: var(--slate-900);
  stroke: var(--slate-700);
}

[data-theme="light"] .fd-task-editor .ql-editor.ql-blank::before,
[data-theme="light"] .fd-task-comment-action,
[data-theme="light"] .fd-task-comment-action-sep,
[data-theme="light"] .fd-task-comments-head .fd-card-subtitle,
[data-theme="light"] .fd-task-comment-time,
[data-theme="light"] .fd-task-checklist-head .fd-card-subtitle {
  color: var(--slate-500);
}

[data-theme="light"] .fd-task-comments-head .form-label,
[data-theme="light"] .fd-task-checklist-head .form-label,
[data-theme="light"] .fd-task-modal-headcopy .modal-title,
[data-theme="light"] .fd-task-action-block .fd-card-eyebrow,
[data-theme="light"] .fd-task-modal-body .form-label.small {
  color: var(--slate-700);
}

[data-theme="light"] .fd-task-comments-shell-side {
  background: rgba(255, 255, 255, 0.92);
  border-left-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-task-comment-bubble,
[data-theme="light"] .fd-task-checklist-item,
[data-theme="light"] .fd-task-comments-empty {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .fd-task-checklist-item.is-done {
  background: rgba(220, 252, 231, 0.96);
  border-color: rgba(34, 197, 94, 0.22);
}

[data-theme="light"] .fd-task-checklist-item.is-done .fd-task-checklist-copy strong {
  color: #166534;
}

[data-theme="light"] .fd-task-checklist-remove {
  background: rgba(254, 226, 226, 0.96);
  border-color: rgba(248, 113, 113, 0.28);
  color: #dc2626;
}

[data-theme="light"] .fd-task-checklist-remove:hover {
  background: rgba(254, 202, 202, 0.96);
  border-color: rgba(239, 68, 68, 0.38);
  color: #b91c1c;
}

[data-theme="light"] .fd-task-comment-composer .form-control {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--slate-900);
}

[data-theme="light"] .fd-task-comment-composer .fd-btn-primary {
  box-shadow: none;
}

[data-theme="light"] .fd-task-comment-composer .form-control::placeholder {
  color: var(--slate-400);
}

[data-theme="light"] .fd-task-editor .ql-editor h1,
[data-theme="light"] .fd-task-editor .ql-editor h2,
[data-theme="light"] .fd-task-editor .ql-editor h3,
[data-theme="light"] .fd-task-editor .ql-editor strong,
[data-theme="light"] .fd-task-editor .ql-editor em,
[data-theme="light"] .fd-task-editor .ql-editor {
  color: var(--slate-900);
}

[data-theme="light"] .fd-task-picker-trigger,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.24);
}

[data-theme="light"] .fd-task-picker-trigger:hover,
[data-theme="light"] .fd-task-date-picker .fd-date-picker-trigger:hover {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.22);
}

[data-theme="light"] .fd-task-picker-menu {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .fd-task-priority-chip,
[data-theme="light"] .fd-task-column-chip,
[data-theme="light"] .fd-task-checklist-toggle span,
[data-theme="light"] .fd-task-checklist-drag {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--slate-700);
}

[data-theme="light"] .fd-task-priority-chip:hover,
[data-theme="light"] .fd-task-column-chip:hover {
  color: var(--slate-900);
}

[data-theme="light"] .fd-task-comment-action:hover {
  color: var(--slate-700);
}

[data-theme="light"] .fd-task-checklist-empty {
  color: var(--slate-500);
}

[data-theme="light"] .fd-date-picker-day {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.74);
  color: var(--slate-700);
}

[data-theme="light"] .fd-date-picker-day:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--slate-900);
}

[data-theme="light"] .fd-date-picker-day.is-today {
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-theme="light"] .fd-date-picker-day.is-selected {
  color: var(--white);
}

[data-theme="light"] .fd-month-picker-month:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--slate-900);
}

[data-theme="light"] .fd-month-picker-month.is-current {
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

[data-theme="light"] .fd-month-picker-month.is-selected {
  color: var(--white);
}

[data-theme="light"] .fd-pipeline-card-title {
  color: var(--slate-900);
}

[data-theme="light"] .fd-pipeline-card-client,
[data-theme="light"] .fd-pipeline-date {
  color: var(--slate-500);
}

[data-theme="light"] .fd-project-type-title,
[data-theme="light"] .fd-project-name,
[data-theme="light"] .fd-project-meta-item strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-project-client {
  color: var(--slate-500);
}

[data-theme="light"] .fd-inline-note {
  color: var(--slate-600);
}

[data-theme="light"] .fd-budget-client,
[data-theme="light"] .fd-budget-meta-item strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-project-description p:last-child,
[data-theme="light"] .fd-project-task-copy {
  color: var(--slate-500);
}

[data-theme="light"] .fd-project-column-title,
[data-theme="light"] .fd-project-task-title {
  color: var(--slate-900);
}

[data-theme="light"] .fd-settings-name,
[data-theme="light"] .fd-settings-section-title {
  color: var(--slate-900);
}

.modal-backdrop.show {
  opacity: 0.72;
  backdrop-filter: blur(4px);
}

.modal.fade .modal-dialog {
  transform: translateY(18px) scale(0.98);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-right .modal-dialog {
  margin-left: auto;
  margin-right: 1.5rem;
}

.modal-content {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(28, 33, 41, 0.98), rgba(20, 24, 33, 0.98));
  color: var(--slate-100);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}

.modal-header,
.modal-footer {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header {
  padding: 1.15rem 1.25rem;
}

.modal-body {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  overflow: visible;
}

.modal-footer {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 1.15rem;
}

.modal .fd-date-picker-panel {
  top: auto;
  bottom: calc(100% + 0.65rem);
  transform-origin: bottom left;
}

.modal-title {
  color: var(--slate-100);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-close-custom {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-300);
  transition: all 0.2s ease;
}

.btn-close-custom:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-100);
  border-color: rgba(148, 163, 184, 0.28);
}

.modal .form-label,
.modal .form-check-label,
.modal .form-text,
.modal .text-muted,
.modal .small {
  color: var(--slate-400) !important;
}

.modal .form-control,
.modal .form-select,
.modal textarea.form-control {
  min-height: 45px;
}

.modal textarea.form-control {
  min-height: auto;
}

.modal .form-control::placeholder,
.modal textarea.form-control::placeholder {
  color: #908d90;
}

.modal .form-control:focus,
.modal .form-select:focus,
.modal textarea.form-control:focus {
  background: #1f2530;
}

.modal .form-select option {
  color: var(--slate-100);
  background: var(--slate-950);
}

.modal .form-control-plaintext {
  color: var(--slate-100);
}

.modal .form-check-input {
  border-color: rgba(148, 163, 184, 0.28);
  background-color: rgba(28, 33, 41, 1);
}

.modal .form-check-input:checked {
  border-color: var(--brand-600);
  background-color: var(--brand-600);
}

.modal .card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.2rem;
  background: rgba(28, 33, 41, 1);
  color: var(--slate-100);
}

.modal .card-header {
  border-bottom-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--slate-100);
}

.modal .card-body {
  color: inherit;
}

.modal .btn-primary,
.modal .btn-secondary,
.modal .btn-light {
  border-radius: 0.95rem;
  padding: 0.78rem 1rem;
  font-weight: 700;
  box-shadow: none;
}

.modal .btn-primary {
  border-color: transparent;
  background: var(--brand-600);
}

.modal .btn-primary:hover {
  background: var(--brand-700);
}

.modal .btn-secondary,
.modal .btn-light {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-100);
}

.modal .btn-secondary:hover,
.modal .btn-light:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-50);
}

.modal .btn-outline-secondary,
.modal .btn-outline-primary {
  border-radius: 0.85rem;
  font-weight: 700;
}

.modal .btn-outline-secondary {
  border-color: rgba(148, 163, 184, 0.16);
  color: var(--slate-200);
}

.modal .btn-outline-secondary:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--slate-50);
}

.modal .btn-outline-primary {
  border-color: rgba(59, 130, 246, 0.42);
  color: var(--brand-300);
}

.modal .btn-outline-primary:hover {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-200);
}

[data-theme="light"] .modal-content {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  color: var(--slate-900);
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .modal-title,
[data-theme="light"] .modal .form-control-plaintext,
[data-theme="light"] .modal .card,
[data-theme="light"] .modal .card-header {
  color: var(--slate-900);
}

[data-theme="light"] .btn-close-custom {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.03);
  color: var(--slate-600);
}

[data-theme="light"] .btn-close-custom:hover {
  background: rgba(15, 23, 42, 0.07);
  color: var(--slate-900);
}

[data-theme="light"] .modal .form-label,
[data-theme="light"] .modal .form-check-label,
[data-theme="light"] .modal .form-text,
[data-theme="light"] .modal .text-muted,
[data-theme="light"] .modal .small {
  color: var(--slate-500) !important;
}

[data-theme="light"] .modal .form-control,
[data-theme="light"] .modal .form-select,
[data-theme="light"] .modal textarea.form-control {
  border-color: #d7dde7;
  background: #f4f7fb;
  color: #334155;
}

[data-theme="light"] .modal .form-control::placeholder,
[data-theme="light"] .modal textarea.form-control::placeholder {
  color: #7c8798;
}

[data-theme="light"] .modal .form-control:focus,
[data-theme="light"] .modal .form-select:focus,
[data-theme="light"] .modal textarea.form-control:focus {
  background: #ffffff;
  color: #1e293b;
}

[data-theme="light"] .modal .form-select option {
  color: var(--slate-900);
  background: var(--white);
}

[data-theme="light"] .modal .form-check-input {
  background-color: var(--white);
  border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="light"] .modal .card {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.92);
}

[data-theme="light"] .modal .card-header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .modal .btn-secondary,
[data-theme="light"] .modal .btn-light {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate-700);
}

[data-theme="light"] .modal .btn-secondary:hover,
[data-theme="light"] .modal .btn-light:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--slate-900);
}

@media (max-width: 720px) {
  .modal-right .modal-dialog {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .modal-footer {
    gap: 0.75rem;
  }

  .modal-footer > * {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .fd-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .fd-kpi-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-fin-grid {
    grid-template-columns: 1fr;
  }

  .fd-client-grid,
  .fd-client-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-clientes-shell {
    grid-template-columns: 1fr;
  }

  .fd-client-preview-metrics {
    grid-template-columns: 1fr;
  }

  .fd-client-context-grid {
    grid-template-columns: 1fr;
  }

  .fd-cliente-profile {
    grid-template-columns: 1fr;
  }

  .fd-pipeline-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-budget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-project-kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-project-detail-meta {
    grid-template-columns: 1fr;
  }

  .fd-settings-grid {
    grid-template-columns: 1fr;
  }

  .fd-conversion-filter-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .fd-kpi-grid-4,
  .fd-kpi-grid-3 {
    grid-template-columns: 1fr;
  }

  .fd-chart-card {
    flex-direction: column;
    align-items: stretch;
  }

  .fd-chart-box-sm {
    width: 100%;
    min-width: 100%;
  }

  .fd-card-header-stack-mobile,
  .fd-action-group {
    flex-direction: column;
    align-items: stretch;
  }

  .fd-table-actions {
    justify-content: flex-start;
  }

  .fd-client-grid,
  .fd-client-grid-tight,
  .fd-client-info-grid {
    grid-template-columns: 1fr;
  }

  .fd-clientes-toolbar,
  .fd-client-preview-head,
  .fd-client-preview-title-row,
  .fd-client-row,
  .fd-client-activity-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .fd-client-search,
  .fd-client-search .fd-input {
    min-width: 100%;
  }

  .fd-client-row-side,
  .fd-client-activity-date {
    justify-items: start;
    text-align: left;
  }

  .fd-client-footer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-inline-filter,
  .fd-pipeline-card-top,
  .fd-pipeline-card-middle,
  .fd-pipeline-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-pipeline-board {
    grid-template-columns: 1fr;
  }

  .fd-pipeline-select {
    width: 100%;
  }

  .fd-project-grid,
  .fd-project-meta {
    grid-template-columns: 1fr;
  }

  .fd-project-card-top,
  .fd-project-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-btn-grow {
    width: 100%;
  }

  .fd-budget-grid,
  .fd-budget-meta {
    grid-template-columns: 1fr;
  }

  .fd-budget-top,
  .fd-budget-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-project-kanban {
    grid-template-columns: 1fr;
  }

  .fd-project-detail-top,
  .fd-project-task-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-settings-fields {
    grid-template-columns: 1fr;
  }

  .fd-settings-actions,
  .fd-settings-theme-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-conversion-filter {
    flex-direction: column;
    align-items: stretch;
  }
}

/* FlowDesk public experience overrides */
.fd-marketing-shell,
.fd-auth-page {
  background:
    radial-gradient(circle at top center, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(180deg, #0f1014 0%, #11141b 34%, #151922 100%);
  color: #e5edf8;
}

.fd-public-brand-copy,
.fd-marketing-nav a,
.fd-auth-inline-link,
.fd-growth-section-head .fd-page-subtitle,
.fd-growth-feature-card p,
.fd-growth-resource-card p,
.fd-growth-testimonial p,
.fd-growth-stats span,
.fd-auth-page-copy p,
.fd-auth-page-points,
.fd-auth-register-kpis span,
.fd-growth-logos,
.fd-growth-logos div {
  color: rgba(226, 232, 240, 0.72);
}

.fd-marketing-topbar {
  padding-top: 28px;
}

.fd-growth-hero-flowdesk {
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.28), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(96, 165, 250, 0.2), transparent 22%),
    linear-gradient(135deg, #14171f 0%, #1a2130 48%, #14171f 100%);
  border: 1px solid rgba(96, 165, 250, 0.14);
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.45);
}

.fd-growth-hero-flowdesk::before {
  opacity: 0.16;
}

.fd-growth-hero-flowdesk::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 50%);
}

.fd-growth-chip {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(96, 165, 250, 0.22);
  color: #dbeafe;
}

.fd-growth-hero-flowdesk h1,
.fd-growth-final-cta-flowdesk h2,
.fd-auth-page-brand h1 {
  color: #f8fbff;
}

.fd-growth-hero-flowdesk p,
.fd-growth-proof,
.fd-growth-final-cta-flowdesk p,
.fd-growth-final-cta-flowdesk .fd-page-eyebrow,
.fd-auth-page-brand .fd-public-brand-copy,
.fd-auth-page-brand .fd-page-eyebrow,
.fd-auth-page-brand .fd-auth-page-copy p,
.fd-auth-page-brand .fd-auth-page-points {
  color: rgba(226, 232, 240, 0.82);
}

.fd-growth-preview-card-flowdesk,
.fd-growth-split-copy,
.fd-growth-split-stack,
.fd-growth-final-cta,
.fd-auth-page-brand,
.fd-auth-card-standalone,
.fd-growth-feature-card,
.fd-growth-resource-card,
.fd-growth-testimonial,
.fd-auth-register-kpis article,
.fd-growth-pricing-card {
  background: rgba(20, 23, 31, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
  color: #e2e8f0;
}

.fd-growth-stat,
.fd-growth-mini-card,
.fd-growth-stack-card {
  background: rgba(28, 33, 41, 1);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.fd-growth-stat span,
.fd-growth-mini-card p,
.fd-growth-stat small,
.fd-growth-mini-card span,
.fd-growth-stack-card p,
.fd-growth-feature-card p,
.fd-growth-resource-card p,
.fd-growth-pricing-card p,
.fd-growth-pricing-list li,
.fd-growth-testimonial span,
.fd-auth-register-kpis span {
  color: rgba(203, 213, 225, 0.72);
}

.fd-growth-preview-brand,
.fd-growth-stat strong,
.fd-growth-mini-card strong,
.fd-growth-stack-card strong,
.fd-growth-feature-card h3,
.fd-growth-resource-card h3,
.fd-growth-pricing-card h3,
.fd-growth-testimonial strong,
.fd-growth-stats strong,
.fd-auth-register-kpis strong {
  color: #f8fafc;
}

.fd-growth-preview-badge,
.fd-growth-stack-tag,
.fd-growth-pricing-label,
.fd-growth-feature-icon {
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.fd-growth-feature-grid-flowdesk,
.fd-growth-resource-grid-flowdesk {
  gap: 20px;
}

.fd-growth-feature-card-icon {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.fd-growth-feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.fd-growth-feature-card-icon::after {
  content: '';
  position: absolute;
  inset: auto -50px -50px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 66%);
  pointer-events: none;
}

.fd-growth-split-section-flowdesk {
  gap: 22px;
}

.fd-growth-split-stack-flowdesk {
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.96), rgba(18, 22, 30, 0.94));
}

.fd-growth-stats-flowdesk article {
  padding: 22px 16px;
  border-radius: 22px;
  background: rgba(20, 23, 31, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 190px;
}

.fd-growth-resource-band-flowdesk {
  background:
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(20, 23, 31, 0.98), rgba(15, 16, 20, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.14);
}

.fd-growth-resource-card h3 i {
  color: #60a5fa;
  margin-right: 8px;
}

.fd-growth-pricing-section {
  padding-top: 10px;
}

.fd-growth-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fd-growth-pricing-card {
  border-radius: 28px;
  padding: 26px;
}

.fd-growth-pricing-card-featured {
  position: relative;
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.16);
}

.fd-growth-pricing-price {
  margin: 18px 0 20px;
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 800;
  color: #f8fafc;
}

.fd-growth-pricing-price span {
  font-size: 1rem;
  color: rgba(203, 213, 225, 0.66);
}

.fd-growth-pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.fd-growth-pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fd-growth-pricing-list i,
.fd-growth-list i,
.fd-growth-proof i,
.fd-auth-page-points i {
  color: #60a5fa;
}

.fd-growth-final-cta-flowdesk {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 22%),
    linear-gradient(135deg, rgba(20, 23, 31, 0.98), rgba(24, 31, 44, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.14);
}

.fd-auth-page-brand {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(20, 23, 31, 0.98), rgba(24, 31, 44, 0.96));
  border-color: rgba(96, 165, 250, 0.14);
}

.fd-auth-card-standalone {
  background: rgba(20, 23, 31, 0.94);
}

.fd-auth-card-standalone .fd-card-subtitle,
.fd-auth-card-standalone .fd-auth-inline-link,
.fd-auth-card-standalone .fd-auth-field > span,
.fd-auth-card-standalone .fd-auth-check span,
.fd-auth-card-standalone .fd-auth-link {
  color: rgba(203, 213, 225, 0.76);
}

.fd-auth-card-standalone h2,
.fd-auth-card-standalone .fd-page-eyebrow {
  color: #f8fafc;
}

[data-theme="light"] .fd-marketing-shell,
[data-theme="light"] .fd-auth-page {
  background:
    radial-gradient(circle at top center, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  color: #0f172a;
}

[data-theme="light"] .fd-growth-preview-card-flowdesk,
[data-theme="light"] .fd-growth-split-copy,
[data-theme="light"] .fd-growth-split-stack,
[data-theme="light"] .fd-growth-final-cta,
[data-theme="light"] .fd-auth-page-brand,
[data-theme="light"] .fd-auth-card-standalone,
[data-theme="light"] .fd-growth-feature-card,
[data-theme="light"] .fd-growth-resource-card,
[data-theme="light"] .fd-growth-testimonial,
[data-theme="light"] .fd-auth-register-kpis article,
[data-theme="light"] .fd-growth-pricing-card,
[data-theme="light"] .fd-growth-stats-flowdesk article {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-growth-stat,
[data-theme="light"] .fd-growth-mini-card,
[data-theme="light"] .fd-growth-stack-card {
  background: #f7faff;
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-growth-feature-card p,
[data-theme="light"] .fd-growth-resource-card p,
[data-theme="light"] .fd-growth-testimonial p,
[data-theme="light"] .fd-growth-stats span,
[data-theme="light"] .fd-auth-page-copy p,
[data-theme="light"] .fd-auth-page-points,
[data-theme="light"] .fd-auth-register-kpis span,
[data-theme="light"] .fd-growth-pricing-card p,
[data-theme="light"] .fd-growth-pricing-list li,
[data-theme="light"] .fd-public-brand-copy,
[data-theme="light"] .fd-marketing-nav a,
[data-theme="light"] .fd-auth-inline-link {
  color: rgba(15, 23, 42, 0.72);
}

@media (max-width: 1180px) {
  .fd-growth-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-growth-pricing-card-featured {
    transform: none;
  }
}

@media (max-width: 780px) {
  .fd-growth-feature-card-icon {
    min-height: auto;
  }

  .fd-growth-pricing-grid {
    grid-template-columns: 1fr;
  }
}


[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="scale"] {
  transform: translateY(18px) scale(0.98);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.fd-growth-hero-copy,
.fd-growth-hero-preview,
.fd-growth-feature-card,
.fd-growth-stack-card,
.fd-growth-resource-card,
.fd-growth-pricing-card,
.fd-growth-testimonial {
  backface-visibility: hidden;
}

.fd-growth-feature-card,
.fd-growth-resource-card,
.fd-growth-pricing-card,
.fd-growth-testimonial,
.fd-growth-stack-card,
.fd-growth-preview-card-flowdesk,
.fd-growth-stats-flowdesk article {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.fd-growth-feature-card:hover,
.fd-growth-resource-card:hover,
.fd-growth-pricing-card:hover,
.fd-growth-testimonial:hover,
.fd-growth-stack-card:hover,
.fd-growth-preview-card-flowdesk:hover,
.fd-growth-stats-flowdesk article:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.34);
  border-color: rgba(96, 165, 250, 0.24);
}

.fd-growth-preview-card-flowdesk {
  position: relative;
  overflow: hidden;
}

.fd-growth-preview-card-flowdesk::after {
  content: '';
  position: absolute;
  inset: auto -20% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 72%);
  pointer-events: none;
}


.fd-growth-hero-flowdesk:hover {
  box-shadow: 0 40px 96px rgba(2, 6, 23, 0.52);
}

.fd-growth-pricing-card-featured:hover {
  transform: translateY(-14px) scale(1.02);
}

.fd-growth-resource-card:hover h3 i,
.fd-growth-feature-card:hover .fd-growth-feature-icon {
  transform: scale(1.08);
}

.fd-growth-resource-card h3 i,
.fd-growth-feature-icon {
  transition: transform 220ms ease;
}



.fd-growth-hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-bottom: 92px;
}

.fd-growth-hero-copy-centered {
  max-width: 940px;
  text-align: center;
  align-items: center;
}

.fd-growth-cta-centered,
.fd-growth-proof-centered {
  justify-content: center;
}

.fd-growth-proof-centered {
  max-width: 980px;
}

.fd-growth-hero-preview-centered {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(100%, 1040px);
  transform: none;
}

.fd-growth-preview-card-rich {
  padding: 28px;
}

.fd-growth-preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fd-growth-preview-badge.is-soft {
  background: rgba(148, 163, 184, 0.1);
  color: #dbeafe;
}

.fd-growth-preview-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.fd-growth-preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(12, 18, 28, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.fd-growth-preview-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  color: rgba(226, 232, 240, 0.78);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.92rem;
}

.fd-growth-preview-nav.is-active {
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.16);
}

.fd-growth-preview-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fd-growth-preview-grid-rich {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-growth-stat-hero {
  min-height: 160px;
}

.fd-growth-preview-panels-rich {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.fd-growth-mini-card-wide {
  min-height: 138px;
}

.fd-growth-floating-card {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(16, 22, 33, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.28);
}

.fd-growth-floating-card-left {
  left: -28px;
  bottom: 28px;
}

.fd-growth-floating-card-right {
  right: -28px;
  top: 96px;
}

.fd-growth-floating-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
}

.fd-growth-floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fafc;
}

.fd-growth-floating-card small {
  color: rgba(203, 213, 225, 0.72);
  line-height: 1.6;
}

.fd-growth-pricing-card {
  position: relative;
  overflow: hidden;
}

.fd-growth-pricing-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #eff6ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fd-growth-pricing-kicker {
  margin: 8px 0 0;
  color: rgba(226, 232, 240, 0.82);
  font-weight: 600;
}

.fd-growth-pricing-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: rgba(203, 213, 225, 0.74);
  line-height: 1.65;
}

.fd-growth-pricing-cta {
  width: 100%;
  justify-content: center;
}

[data-theme="light"] .fd-growth-preview-sidebar,
[data-theme="light"] .fd-growth-floating-card,
[data-theme="light"] .fd-growth-pricing-note {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

[data-theme="light"] .fd-growth-preview-nav {
  color: rgba(15, 23, 42, 0.68);
}

[data-theme="light"] .fd-growth-preview-nav.is-active {
  color: #0f172a;
}

[data-theme="light"] .fd-growth-floating-card strong {
  color: #0f172a;
}

[data-theme="light"] .fd-growth-floating-card small,
[data-theme="light"] .fd-growth-pricing-kicker,
[data-theme="light"] .fd-growth-pricing-note {
  color: rgba(15, 23, 42, 0.72);
}

@media (max-width: 1100px) {
  .fd-growth-preview-shell {
    grid-template-columns: 1fr;
  }

  .fd-growth-preview-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-growth-preview-panels-rich {
    grid-template-columns: 1fr;
  }

  .fd-growth-floating-card {
    position: static;
    width: 100%;
  }

  .fd-growth-preview-card-rich {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 780px) {
  .fd-growth-hero-copy-centered {
    text-align: left;
    align-items: flex-start;
  }

  .fd-growth-cta-centered,
  .fd-growth-proof-centered {
    justify-content: flex-start;
  }

  .fd-growth-preview-grid-rich,
  .fd-growth-preview-sidebar {
    grid-template-columns: 1fr;
  }
}



.fd-growth-pricing-grid-eval {
  align-items: stretch;
}

.fd-growth-pricing-compare {
  margin-top: 34px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(20, 23, 31, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
}

.fd-growth-pricing-compare-head {
  margin-bottom: 18px;
}

.fd-growth-pricing-compare-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.6rem;
}

.fd-growth-pricing-table-wrap {
  overflow-x: auto;
}

.fd-growth-pricing-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.fd-growth-pricing-table th,
.fd-growth-pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
}

.fd-growth-pricing-table th {
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
}

.fd-growth-pricing-table td {
  color: rgba(226, 232, 240, 0.8);
}

.fd-growth-pricing-table td:first-child,
.fd-growth-pricing-table th:first-child {
  position: sticky;
  left: 0;
  background: rgba(20, 23, 31, 0.98);
}

.fd-growth-pricing-table td i {
  color: #60a5fa;
  font-size: 1rem;
}

[data-theme="light"] .fd-growth-pricing-compare {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-growth-pricing-compare-head h3,
[data-theme="light"] .fd-growth-pricing-table th {
  color: #0f172a;
}

[data-theme="light"] .fd-growth-pricing-table td {
  color: rgba(15, 23, 42, 0.74);
}

[data-theme="light"] .fd-growth-pricing-table td:first-child,
[data-theme="light"] .fd-growth-pricing-table th:first-child {
  background: rgba(255, 255, 255, 0.98);
}



.fd-growth-pricing-card-starter {
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow: 0 26px 64px rgba(2, 6, 23, 0.22);
}

.fd-growth-pricing-card-business {
  border-color: rgba(59, 130, 246, 0.34);
}

.fd-growth-pricing-ribbon-starter {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(37, 99, 235, 0.88));
}

.fd-growth-pricing-card-starter:hover {
  transform: translateY(-10px) scale(1.018);
  box-shadow: 0 34px 84px rgba(37, 99, 235, 0.16);
}

.fd-growth-pricing-card-business:hover {
  transform: translateY(-14px) scale(1.022);
}

.fd-growth-pricing-table th:nth-child(3),
.fd-growth-pricing-table td:nth-child(3) {
  background: rgba(37, 99, 235, 0.05);
}

.fd-growth-pricing-table th:nth-child(4),
.fd-growth-pricing-table td:nth-child(4) {
  background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .fd-growth-pricing-table th:nth-child(3),
[data-theme="light"] .fd-growth-pricing-table td:nth-child(3) {
  background: rgba(37, 99, 235, 0.04);
}

[data-theme="light"] .fd-growth-pricing-table th:nth-child(4),
[data-theme="light"] .fd-growth-pricing-table td:nth-child(4) {
  background: rgba(59, 130, 246, 0.06);
}

body {
  background: #0d1119;
}

.fd-marketing-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.14), transparent 22%),
    linear-gradient(180deg, #202f56 0, #1f2d52 220px, #111722 221px, #0d1119 100%);
  background-size: 96px 100%, 100% 72px, 100% 100%, 100% 100%;
  color: #f8fafc;
}

.fd-marketing-topbar,
.fd-growth-hero,
.fd-growth-logos,
.fd-growth-section,
.fd-growth-stats {
  width: min(1280px, calc(100% - 80px));
}

.fd-marketing-topbar {
  padding: 16px 0 0;
  gap: 28px;
}

.fd-public-brand-copy small {
  display: none;
}

.fd-public-brand-copy strong,
.fd-marketing-nav a {
  color: #f8fafc;
}

.fd-marketing-nav {
  gap: 22px;
}

.fd-marketing-nav a {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.96;
}

.fd-marketing-actions {
  gap: 12px;
}

.fd-marketing-actions .fd-btn-secondary,
.fd-marketing-actions .fd-btn-primary {
  min-width: 83px;
  justify-content: center;
  border-radius: 4px;
  padding: 11px 18px;
  font-size: 12px;
}

.fd-marketing-actions .fd-btn-secondary {
  background: #1f232b;
  border-color: #232933;
  color: #ffffff;
}

.fd-marketing-actions .fd-btn-primary {
  background: #305ec8;
}

.fd-marketing-main {
  gap: 42px;
  padding: 10px 0 90px;
}

.fd-growth-hero {
  padding: 56px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.fd-growth-hero::before,
.fd-growth-hero::after {
  display: none;
}

.fd-growth-hero-centered {
  align-items: stretch;
  gap: 32px;
  padding-bottom: 0;
}

.fd-growth-hero-copy-centered {
  max-width: 720px;
  align-items: flex-start;
  text-align: left;
}

.fd-growth-chip {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.fd-growth-chip i {
  display: none;
}

.fd-growth-hero h1 {
  max-width: 760px;
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.fd-growth-hero p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}

.fd-growth-cta-centered,
.fd-growth-proof-centered {
  justify-content: flex-start;
}

.fd-growth-cta {
  gap: 12px;
}

.fd-growth-cta .fd-btn-primary,
.fd-growth-cta .fd-btn-secondary {
  border-radius: 4px;
  padding: 13px 18px;
  min-width: 148px;
  justify-content: center;
  font-size: 12px;
  box-shadow: none;
}

.fd-growth-cta .fd-btn-primary {
  background: #315fca;
}

.fd-growth-cta .fd-btn-secondary {
  background: #1f232b;
  border-color: #232933;
}

.fd-growth-proof {
  display: none;
}

.fd-growth-hero-preview-centered {
  width: 100%;
}

.fd-growth-preview-card-flowdesk {
  max-width: 1014px;
  margin: 0 auto;
  background: #131923;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.fd-growth-preview-card-flowdesk::after {
  display: none;
}

.fd-growth-preview-card-rich {
  padding: 18px 18px 16px;
}

.fd-growth-preview-top {
  margin-bottom: 14px;
}

.fd-growth-preview-brand span {
  font-size: 13px;
  font-weight: 700;
}

.fd-growth-preview-brand img {
  width: 14px;
  height: 14px;
}

.fd-growth-preview-badge,
.fd-growth-preview-badge.is-soft {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #263a66;
  border: 1px solid rgba(111, 147, 219, 0.28);
  color: #dbeafe;
  font-size: 11px;
}

.fd-growth-preview-shell {
  grid-template-columns: 170px 1fr;
  gap: 14px;
}

.fd-growth-preview-sidebar {
  padding: 10px;
  border-radius: 18px;
  background: #0e1520;
}

.fd-growth-preview-nav {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  background: transparent;
}

.fd-growth-preview-nav.is-active {
  background: #223761;
  border-color: rgba(111, 147, 219, 0.22);
}

.fd-growth-preview-grid-rich {
  gap: 12px;
}

.fd-growth-stat,
.fd-growth-mini-card {
  background: #202733;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.fd-growth-stat {
  min-height: 145px;
  padding: 16px;
}

.fd-growth-stat span,
.fd-growth-mini-card p {
  font-size: 12px;
}

.fd-growth-stat strong,
.fd-growth-mini-card strong {
  font-size: 16px;
  line-height: 1.15;
}

.fd-growth-stat small,
.fd-growth-mini-card span {
  font-size: 12px;
  line-height: 1.5;
}

.fd-growth-preview-panels-rich {
  gap: 12px;
}

.fd-growth-mini-card-wide {
  min-height: 86px;
}

.fd-growth-logos {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 6px;
}

.fd-growth-logos > span {
  max-width: 610px;
  font-size: 23px;
  line-height: 1.14;
  color: #f8fafc;
  font-weight: 600;
}

.fd-growth-logos div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fd-growth-logos div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 6px;
  border: 1px solid rgba(111, 147, 219, 0.28);
  background: transparent;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 500;
}

.fd-growth-section {
  border-radius: 0;
  padding: 48px 0 0;
  background: transparent;
}

.fd-growth-section-head {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.fd-page-eyebrow {
  color: rgba(196, 208, 229, 0.86);
  letter-spacing: 0.18em;
  font-size: 10px;
}

.fd-growth-section-head h2 {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.fd-page-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.74);
}

.fd-growth-feature-grid {
  gap: 14px;
}

.fd-growth-feature-card,
.fd-growth-resource-card,
.fd-growth-testimonial,
.fd-growth-split-copy,
.fd-growth-journey-card {
  background: #121722;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.fd-growth-feature-card {
  min-height: 206px;
  padding: 18px 18px 16px;
  border-radius: 18px;
}

.fd-growth-feature-card:hover,
.fd-growth-preview-card-flowdesk:hover,
.fd-growth-stats-flowdesk article:hover,
.fd-growth-resource-card:hover,
.fd-growth-testimonial:hover,
.fd-growth-stack-card:hover,
.fd-growth-pricing-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.05);
}

.fd-growth-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 46px;
  font-size: 1rem;
}

.fd-growth-feature-card h3 {
  font-size: 20px;
  line-height: 1.12;
  margin: 0 0 12px;
}

.fd-growth-feature-card p {
  font-size: 13px;
  line-height: 1.55;
}

.fd-growth-feature-card-icon::after {
  inset: auto -30px -46px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 64%);
}

.fd-growth-split-section {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.fd-growth-split-copy {
  padding: 28px 30px;
  border-radius: 18px;
}

.fd-growth-split-copy h2 {
  max-width: 520px;
  font-size: 33px;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.fd-growth-list {
  gap: 14px;
  margin: 24px 0 26px;
}

.fd-growth-list li {
  gap: 8px;
}

.fd-growth-list span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.92);
}

.fd-growth-list i {
  color: #ffffff;
  font-size: 10px;
  margin-top: 7px;
}

.fd-growth-split-copy .fd-btn-primary {
  border-radius: 4px;
  min-width: 124px;
  justify-content: center;
  font-size: 12px;
  padding: 13px 18px;
}

.fd-growth-journey-card {
  display: grid;
  grid-template-columns: 1fr 250px;
  align-items: end;
  gap: 18px;
  min-height: 100%;
  padding: 26px 22px 0;
  border-radius: 18px;
}

.fd-growth-journey-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 24px;
}

.fd-growth-journey-steps span,
.fd-growth-journey-steps strong {
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}

.fd-growth-journey-steps strong {
  max-width: 210px;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 600;
}

.fd-growth-journey-figure {
  align-self: end;
}

.fd-growth-journey-figure img {
  width: 100%;
  max-width: 250px;
  object-fit: contain;
  object-position: bottom center;
}

.fd-growth-stats,
.fd-growth-resource-band,
#pricing,
#depoimentos,
#faq {
  display: none;
}

@media (max-width: 1180px) {
  .fd-growth-hero h1 {
    font-size: 48px;
  }

  .fd-growth-logos,
  .fd-growth-split-section {
    grid-template-columns: 1fr;
  }

  .fd-growth-preview-shell {
    grid-template-columns: 1fr;
  }

  .fd-growth-preview-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-growth-journey-card {
    grid-template-columns: 1fr 210px;
  }

  .fd-growth-section-head h2 {
    font-size: 44px;
  }
}

@media (max-width: 780px) {
  .fd-marketing-topbar,
  .fd-growth-hero,
  .fd-growth-logos,
  .fd-growth-section {
    width: min(100%, calc(100% - 32px));
  }

  .fd-marketing-topbar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .fd-marketing-nav {
    order: 3;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
  }

  .fd-growth-hero {
    padding-top: 30px;
  }

  .fd-growth-hero h1 {
    font-size: 38px;
  }

  .fd-growth-cta {
    width: 100%;
    flex-direction: column;
  }

  .fd-growth-cta .fd-btn-primary,
  .fd-growth-cta .fd-btn-secondary,
  .fd-growth-split-copy .fd-btn-primary {
    width: 100%;
  }

  .fd-growth-preview-grid-rich,
  .fd-growth-logos div {
    grid-template-columns: 1fr;
  }

  .fd-growth-journey-card {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .fd-growth-journey-figure img {
    max-width: 210px;
    margin: 0 auto;
  }

  .fd-growth-section-head h2 {
    font-size: 34px;
  }
}


:root {
  --fd-framer-bg: #0d1119;
  --fd-framer-bg-soft: #121722;
  --fd-framer-bg-card: #151b27;
  --fd-framer-bg-card-2: #1d2431;
  --fd-framer-border: rgba(99, 127, 177, 0.16);
  --fd-framer-border-strong: rgba(99, 127, 177, 0.28);
  --fd-framer-text: #f8fbff;
  --fd-framer-text-soft: rgba(220, 228, 241, 0.78);
  --fd-framer-text-muted: rgba(188, 198, 216, 0.64);
  --fd-framer-blue: #315fca;
  --fd-framer-blue-soft: rgba(49, 95, 202, 0.18);
}

body {
  background: var(--fd-framer-bg);
}

.fd-marketing-shell,
.fd-auth-page {
  background: none;
}

.fd-framer-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top center, rgba(49, 95, 202, 0.12), transparent 24%),
    linear-gradient(180deg, #22335d 0, #1d2c52 240px, #0f1520 241px, #0d1119 100%);
  background-size: 92px 100%, 100% 72px, 100% 100%, 100% 100%;
  color: var(--fd-framer-text);
}

.fd-framer-topbar,
.fd-framer-hero,
.fd-framer-explain,
.fd-framer-features,
.fd-framer-flow,
.fd-framer-visuals {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.fd-framer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.fd-framer-brand {
  color: var(--fd-framer-text);
  font-size: 12px;
  font-weight: 700;
}

.fd-framer-nav,
.fd-framer-actions,
.fd-framer-hero-actions,
.fd-framer-proof-row,
.fd-framer-mock-badges,
.fd-framer-flow-steps,
.fd-framer-dots {
  display: flex;
  align-items: center;
}

.fd-framer-nav {
  gap: 18px;
}

.fd-framer-nav a {
  color: rgba(248, 251, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.fd-framer-actions {
  gap: 8px;
}

.fd-framer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.fd-framer-btn:hover {
  transform: translateY(-1px);
}

.fd-framer-btn-primary {
  background: var(--fd-framer-blue);
  color: #ffffff;
}

.fd-framer-btn-ghost {
  background: #1d232d;
  border-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.fd-framer-main {
  display: flex;
  flex-direction: column;
  gap: 86px;
  padding: 26px 0 110px;
}

.fd-framer-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.fd-framer-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 660px;
}

.fd-framer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--fd-framer-blue-soft);
  border: 1px solid rgba(111, 147, 219, 0.22);
  color: #dbe7ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fd-framer-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 42px;
  line-height: 1.26;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fd-framer-text);
}

.fd-framer-hero p,
.fd-framer-section-head p,
.fd-framer-card p,
.fd-framer-feature-card p,
.fd-framer-flow-copy p,
.fd-framer-visual-copy p {
  margin: 0;
  color: var(--fd-framer-text-soft);
}

.fd-framer-hero > .fd-framer-hero-copy > p {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.7;
}

.fd-framer-hero-actions {
  gap: 10px;
  margin-top: 4px;
}

.fd-framer-hero-actions .fd-framer-btn {
  min-width: 110px;
}

.fd-framer-proof-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 760px;
  color: var(--fd-framer-text-muted);
  font-size: 12px;
}

.fd-framer-proof-row span {
  position: relative;
}

.fd-framer-proof-row span::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.fd-framer-proof-row span:last-child::after {
  display: none;
}

.fd-framer-mock {
  width: min(100%, 726px);
  padding: 10px;
  border-radius: 18px;
  background: rgba(12, 17, 25, 0.42);
  border: 1px solid rgba(89, 115, 163, 0.14);
}

.fd-framer-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.fd-framer-mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fd-framer-text);
  font-size: 11px;
  font-weight: 700;
}

.fd-framer-mock-brand img {
  width: 12px;
  height: 12px;
}

.fd-framer-mock-badges {
  gap: 6px;
}

.fd-framer-mock-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(49, 95, 202, 0.14);
  border: 1px solid rgba(111, 147, 219, 0.18);
  color: #dbe7ff;
  font-size: 10px;
  font-weight: 700;
}

.fd-framer-mock-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
}

.fd-framer-mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #0e1520;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.fd-framer-mock-sidebar span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  color: rgba(222, 232, 246, 0.76);
  font-size: 11px;
  font-weight: 600;
}

.fd-framer-mock-sidebar span.is-active {
  background: rgba(49, 95, 202, 0.18);
  border: 1px solid rgba(111, 147, 219, 0.18);
  color: #eef4ff;
}

.fd-framer-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fd-framer-mock-grid article {
  min-height: 88px;
  padding: 12px;
  border-radius: 14px;
  background: #1d2430;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.fd-framer-mock-grid article small,
.fd-framer-feature-card i,
.fd-framer-card h3,
.fd-framer-visual-copy h3 {
  color: rgba(214, 224, 241, 0.72);
}

.fd-framer-mock-grid article small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
}

.fd-framer-mock-grid article strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.08;
}

.fd-framer-mock-grid article p {
  color: rgba(214, 224, 241, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

.fd-framer-mock-grid .fd-framer-mock-wide {
  grid-column: span 2;
}

.fd-framer-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  text-align: center;
}

.fd-framer-section-head h2 {
  margin: 0;
  max-width: 720px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 400;
}

.fd-framer-section-head p {
  max-width: 610px;
  font-size: 13px;
  line-height: 1.65;
}

.fd-framer-explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fd-framer-card,
.fd-framer-feature-card,
.fd-framer-visual-card {
  border-radius: 12px;
  background: linear-gradient(180deg, #141a25, #121722);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.fd-framer-card {
  min-height: 152px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
}

.fd-framer-card p {
  max-width: 250px;
  font-size: 13px;
  line-height: 1.6;
}

.fd-framer-card-large {
  grid-row: span 2;
  min-height: 314px;
}

.fd-framer-card-wide {
  grid-column: 1 / -1;
  min-height: 132px;
  display: block;
}

.fd-framer-card-wide h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
}

.fd-framer-card-wide ul {
  margin: 0;
  padding-left: 16px;
  color: var(--fd-framer-text-soft);
  font-size: 13px;
  line-height: 1.8;
}

.fd-framer-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fd-framer-feature-card {
  min-height: 126px;
  padding: 16px;
}

.fd-framer-feature-card i {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
  background: rgba(49, 95, 202, 0.14);
  border: 1px solid rgba(111, 147, 219, 0.16);
  color: #dbe7ff;
  font-size: 12px;
}

.fd-framer-feature-card h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.fd-framer-feature-card p {
  font-size: 12px;
  line-height: 1.6;
}

.fd-framer-flow {
  text-align: center;
}

.fd-framer-flow-steps {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.fd-framer-flow-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #121722;
  border: 1px solid rgba(99, 127, 177, 0.18);
  color: #e8efff;
  font-size: 11px;
  font-weight: 600;
}

.fd-framer-flow-steps .lead,
.fd-framer-flow-steps .proposta,
.fd-framer-flow-steps .projeto,
.fd-framer-flow-steps .caixa,
.fd-framer-flow-steps .entrega{
  padding: 15px;
  background: #16223F;
  border: 1px solid 20365A;
}

.fd-framer-flow-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 20px;
}

.fd-framer-flow-copy p {
  font-size: 13px;
  line-height: 1.65;
}

.fd-framer-flow-action {
  display: flex;
  justify-content: center;
}

.fd-framer-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fd-framer-visual-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  min-height: 174px;
  padding: 12px;
}

.fd-framer-visual-thumb {
  border-radius: 14px;
  background:
    radial-gradient(circle at bottom right, rgba(49, 95, 202, 0.16), transparent 34%),
    linear-gradient(180deg, #1a2230, #151b26);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.fd-framer-visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fd-framer-visual-copy h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.fd-framer-visual-copy p {
  font-size: 13px;
  line-height: 1.65;
}

.fd-framer-dots {
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.fd-framer-dots span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(49, 95, 202, 0.18);
  border: 1px solid rgba(111, 147, 219, 0.18);
}

.fd-framer-dots span.is-active {
  background: var(--fd-framer-blue);
}

[data-theme="light"] .fd-framer-shell {
  background: #f5f7fc;
  color: #0f172a;
}

@media (max-width: 900px) {
  .fd-framer-topbar,
  .fd-framer-hero,
  .fd-framer-explain,
  .fd-framer-features,
  .fd-framer-flow,
  .fd-framer-visuals {
    width: min(100%, calc(100% - 28px));
  }

  .fd-framer-topbar {
    flex-wrap: wrap;
  }

  .fd-framer-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .fd-framer-mock-body,
  .fd-framer-feature-grid,
  .fd-framer-visual-grid,
  .fd-framer-explain-grid {
    grid-template-columns: 1fr;
  }

  .fd-framer-card-large {
    grid-row: auto;
    min-height: 180px;
  }

  .fd-framer-hero h1 {
    font-size: 28px;
  }

  .fd-framer-section-head h2 {
    font-size: 22px;
  }

  .fd-framer-hero > .fd-framer-hero-copy > p,
  .fd-framer-section-head p,
  .fd-framer-card p,
  .fd-framer-card-wide ul,
  .fd-framer-feature-card p,
  .fd-framer-flow-copy p,
  .fd-framer-visual-copy p {
    font-size: 12px;
  }

  .fd-framer-mock-grid article strong {
    font-size: 18px;
  }

  .fd-framer-visual-card {
    grid-template-columns: 1fr;
  }
}

.fd-onboarding-grid-v2 {
  align-items: start;
}

.fd-onboarding-copy-v2,
.fd-onboarding-form-card-v2,
.fd-onboarding-form,
.fd-onboarding-panels {
  display: grid;
  gap: 1rem;
}

.fd-onboarding-steps-overview,
.fd-onboarding-notes {
  display: grid;
  gap: 0.85rem;
}

.fd-onboarding-step-overview,
.fd-onboarding-note,
.fd-onboarding-choice {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
}

.fd-onboarding-step-overview {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fd-onboarding-step-overview span {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #c7d2fe;
  font-weight: 700;
}

.fd-onboarding-step-overview strong {
  display: block;
  color: var(--slate-100);
  margin-bottom: 0.25rem;
}

.fd-onboarding-step-overview p,
.fd-onboarding-note p,
.fd-onboarding-panel-head p {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.92rem;
}

.fd-onboarding-step-overview.is-active,
.fd-onboarding-step-overview.is-complete {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(37, 99, 235, 0.08);
}

.fd-onboarding-step-overview.is-active {
  transform: translateY(-1px);
}

.fd-onboarding-step-overview.is-complete span,
.fd-onboarding-step-overview.is-active span {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(37, 99, 235, 0.5));
  color: #eff6ff;
}

.fd-onboarding-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
}

.fd-onboarding-note i {
  color: #93c5fd;
  font-size: 1.05rem;
  line-height: 1.4;
}

.fd-onboarding-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.fd-onboarding-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
}

.fd-onboarding-panel {
  display: none;
  gap: 1rem;
}

.fd-onboarding-panel.is-active {
  display: grid;
}

.fd-onboarding-panel-head {
  display: grid;
  gap: 0.45rem;
}

.fd-onboarding-panel-head h4 {
  margin: 0;
  color: var(--slate-100);
  font-size: 1.05rem;
}

.fd-onboarding-fields-single {
  grid-template-columns: minmax(0, 1fr);
}

.fd-settings-field-span-2 {
  grid-column: span 2;
}

.fd-onboarding-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fd-onboarding-choice {
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fd-onboarding-choice input {
  margin-top: 0.2rem;
}

.fd-onboarding-choice span {
  display: grid;
  gap: 0.3rem;
}

.fd-onboarding-choice strong {
  color: var(--slate-100);
}

.fd-onboarding-choice small {
  color: var(--slate-400);
  font-size: 0.88rem;
}

.fd-onboarding-choice.is-selected {
  border-color: rgba(59, 130, 246, 0.34);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.fd-onboarding-actions {
  margin-top: 0.35rem;
}

.fd-onboarding-actions-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: auto;
}

[data-theme="light"] .fd-onboarding-step-overview,
[data-theme="light"] .fd-onboarding-note,
[data-theme="light"] .fd-onboarding-choice {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .fd-onboarding-step-overview strong,
[data-theme="light"] .fd-onboarding-choice strong,
[data-theme="light"] .fd-onboarding-panel-head h4 {
  color: var(--slate-900);
}

[data-theme="light"] .fd-onboarding-step-overview p,
[data-theme="light"] .fd-onboarding-note p,
[data-theme="light"] .fd-onboarding-panel-head p,
[data-theme="light"] .fd-onboarding-choice small {
  color: var(--slate-600);
}

@media (max-width: 900px) {
  .fd-onboarding-head,
  .fd-onboarding-actions,
  .fd-onboarding-actions-right {
    display: grid;
  }

  .fd-onboarding-choice-grid,
  .fd-settings-field-span-2 {
    grid-template-columns: minmax(0, 1fr);
    grid-column: auto;
  }
}

.fd-dashboard-setup-card,
.fd-dashboard-success-card {
  display: grid;
  gap: 1.1rem;
}

.fd-dashboard-setup-card {
  position: relative;
  overflow: hidden;
}

.fd-dashboard-setup-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -45% auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0));
  pointer-events: none;
}

.fd-dashboard-setup-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 1.25rem;
  align-items: end;
}

.fd-dashboard-setup-copy,
.fd-dashboard-setup-side,
.fd-dashboard-setup-callout,
.fd-dashboard-setup-stats {
  display: grid;
  gap: 1rem;
}

.fd-dashboard-setup-title,
.fd-dashboard-success-title {
  margin: 0;
  color: var(--slate-100);
  font-size: 1.4rem;
  line-height: 1.15;
  max-width: 22ch;
}

.fd-dashboard-setup-subtitle,
.fd-dashboard-success-subtitle,
.fd-dashboard-setup-callout p {
  margin: 0;
  color: var(--slate-400);
  max-width: 64ch;
}

.fd-dashboard-setup-tags,
.fd-dashboard-setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fd-dashboard-setup-callout {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.fd-dashboard-setup-callout strong {
  color: var(--slate-100);
  font-size: 0.98rem;
}

.fd-dashboard-setup-actions {
  align-items: center;
}

.fd-dashboard-setup-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.fd-dashboard-setup-stat {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.fd-dashboard-setup-stat span {
  color: var(--slate-400);
  font-size: 0.82rem;
}

.fd-dashboard-setup-stat strong {
  color: var(--slate-100);
  font-size: 1.15rem;
  line-height: 1;
}

[data-theme="light"] .fd-dashboard-setup-title,
[data-theme="light"] .fd-dashboard-success-title,
[data-theme="light"] .fd-dashboard-setup-callout strong,
[data-theme="light"] .fd-dashboard-setup-stat strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-dashboard-setup-subtitle,
[data-theme="light"] .fd-dashboard-success-subtitle,
[data-theme="light"] .fd-dashboard-setup-callout p,
[data-theme="light"] .fd-dashboard-setup-stat span {
  color: var(--slate-600);
}

[data-theme="light"] .fd-dashboard-setup-callout,
[data-theme="light"] .fd-dashboard-setup-stat {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
}

@media (max-width: 900px) {
  .fd-dashboard-setup-top,
  .fd-dashboard-setup-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .fd-dashboard-setup-title,
  .fd-dashboard-success-title {
    font-size: 1.2rem;
    max-width: none;
  }
}

.fd-settings-stack,
.fd-settings-profile-meta {
  display: grid;
  gap: 1rem;
}

.fd-settings-profile-meta {
  width: 100%;
}

.fd-settings-profile-meta > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.fd-settings-meta-label {
  color: var(--slate-400);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-settings-profile-meta strong {
  color: var(--slate-100);
  font-size: 0.96rem;
}

.fd-settings-stack .fd-settings-form-card {
  gap: 1.15rem;
}

[data-theme="light"] .fd-settings-profile-meta > div {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .fd-settings-meta-label {
  color: var(--slate-500);
}

[data-theme="light"] .fd-settings-profile-meta strong {
  color: var(--slate-900);
}

.fd-hospedagens,
.fd-hospedagens-card,
.fd-hospedagens-name-copy {
  display: grid;
  gap: 1rem;
}

.fd-hospedagens-table td:nth-child(2),
.fd-hospedagens-table td:nth-child(3),
.fd-hospedagens-table td:nth-child(4) {
  white-space: nowrap;
}

.fd-hospedagens-name-cell {
  min-width: 220px;
}

.fd-hospedagens-name-copy {
  gap: 0.18rem;
}

.fd-hospedagens-mobile-meta {
  display: none;
}

@media (max-width: 900px) {
  .fd-hospedagens-table thead {
    display: none;
  }

  .fd-hospedagens-table,
  .fd-hospedagens-table tbody,
  .fd-hospedagens-table tr,
  .fd-hospedagens-table td {
    display: block;
    width: 100%;
  }

  .fd-hospedagens-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding: 1rem 0;
  }

  .fd-hospedagens-table tbody tr:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .fd-hospedagens-table tbody td {
    padding: 0.35rem 0;
    border: 0;
  }

  .fd-hospedagens-mobile-meta {
    display: inline-flex;
  }

  .fd-hospedagens-table td:nth-child(2) {
    display: none;
  }

  .fd-hospedagens-table td:nth-child(3)::before {
    content: 'Inicio';
  }

  .fd-hospedagens-table td:nth-child(4)::before {
    content: 'Termino';
  }

  .fd-hospedagens-table td:nth-child(5)::before {
    content: 'Acoes';
  }

  .fd-hospedagens-table td:nth-child(3)::before,
  .fd-hospedagens-table td:nth-child(4)::before,
  .fd-hospedagens-table td:nth-child(5)::before {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--slate-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .fd-hospedagens-table td.fd-text-right {
    text-align: left;
  }
}

.fd-onboarding-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.18), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(59, 130, 246, 0.12), transparent 22%),
    linear-gradient(180deg, #0b1120 0%, #090e19 100%);
}

.fd-onboarding-shell {
  min-height: 100vh;
}

.fd-onboarding-full {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 32px;
}

.fd-onboarding-stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.8;
}

.fd-onboarding-stage-glow-a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -100px;
  background: rgba(37, 99, 235, 0.22);
}

.fd-onboarding-stage-glow-b {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -120px;
  background: rgba(59, 130, 246, 0.16);
}

.fd-onboarding-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(520px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.fd-onboarding-showcase,
.fd-onboarding-workspace-card,
.fd-onboarding-brand,
.fd-onboarding-showcase-copy,
.fd-onboarding-story-grid,
.fd-onboarding-rail,
.fd-onboarding-flow-form,
.fd-onboarding-panels-full {
  display: grid;
  gap: 1.2rem;
}

.fd-onboarding-showcase,
.fd-onboarding-workspace-card {
  min-height: 100%;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
}

.fd-onboarding-showcase {
  padding: 28px;
  align-content: space-between;
}

.fd-onboarding-brand {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
}

.fd-onboarding-brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #eff6ff;
  font-weight: 800;
}

.fd-onboarding-brand strong,
.fd-onboarding-rail-item strong,
.fd-onboarding-story-card strong,
.fd-onboarding-workspace-head h2,
.fd-onboarding-panel-head-full h3 {
  color: var(--slate-100);
}

.fd-onboarding-brand div {
  display: grid;
  gap: 0.1rem;
}

.fd-onboarding-brand div span,
.fd-onboarding-rail-item p,
.fd-onboarding-showcase-copy p,
.fd-onboarding-story-card p,
.fd-onboarding-panel-head-full p {
  color: var(--slate-400);
}

.fd-onboarding-showcase-copy {
  gap: 1rem;
}

.fd-onboarding-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(37, 99, 235, 0.14);
  color: #bfdbfe;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-onboarding-showcase-copy h1 {
  margin: 0;
  max-width: 13ch;
  color: #f8fafc;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.fd-onboarding-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-onboarding-story-card {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.fd-onboarding-story-card.is-primary {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.2));
  border-color: rgba(59, 130, 246, 0.22);
}

.fd-onboarding-story-card small {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-onboarding-story-card strong {
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.fd-onboarding-rail {
  gap: 0.85rem;
}

.fd-onboarding-rail-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: 0.2s ease;
}

.fd-onboarding-rail-item span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #c7d2fe;
  font-weight: 700;
}

.fd-onboarding-rail-item.is-active,
.fd-onboarding-rail-item.is-complete {
  border-color: rgba(59, 130, 246, 0.26);
  background: rgba(37, 99, 235, 0.08);
}

.fd-onboarding-rail-item.is-active span,
.fd-onboarding-rail-item.is-complete span {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.56));
  color: #eff6ff;
}

.fd-onboarding-workspace-card {
  padding: 28px;
}

.fd-onboarding-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.fd-onboarding-workspace-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: 1.9rem;
  line-height: 1.05;
}

.fd-onboarding-progress-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
}

.fd-onboarding-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fd-onboarding-field-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.fd-onboarding-panel-head-full {
  gap: 0.6rem;
}

.fd-onboarding-panel-head-full h3 {
  margin: 0;
  font-size: 1.18rem;
}

.fd-onboarding-choice-grid-full {
  margin-top: 0.25rem;
}

.fd-onboarding-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

.fd-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.95rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: 0.2s ease;
}

.fd-btn-ghost:hover {
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.03);
}

.fd-btn-primary-soft {
  box-shadow: none;
}

[data-theme="light"] .fd-onboarding-body {
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.14), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(37, 99, 235, 0.1), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

[data-theme="light"] .fd-onboarding-showcase,
[data-theme="light"] .fd-onboarding-workspace-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .fd-onboarding-brand strong,
[data-theme="light"] .fd-onboarding-rail-item strong,
[data-theme="light"] .fd-onboarding-story-card strong,
[data-theme="light"] .fd-onboarding-workspace-head h2,
[data-theme="light"] .fd-onboarding-panel-head-full h3 {
  color: var(--slate-900);
}

[data-theme="light"] .fd-onboarding-brand div span,
[data-theme="light"] .fd-onboarding-rail-item p,
[data-theme="light"] .fd-onboarding-showcase-copy p,
[data-theme="light"] .fd-onboarding-story-card p,
[data-theme="light"] .fd-onboarding-panel-head-full p,
[data-theme="light"] .fd-btn-ghost {
  color: var(--slate-600);
}

@media (max-width: 1100px) {
  .fd-onboarding-stage {
    grid-template-columns: 1fr;
  }

  .fd-onboarding-showcase-copy h1,
  .fd-onboarding-workspace-head h2 {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .fd-onboarding-full {
    padding: 16px;
  }

  .fd-onboarding-showcase,
  .fd-onboarding-workspace-card {
    padding: 20px;
    border-radius: 22px;
  }

  .fd-onboarding-story-grid,
  .fd-onboarding-field-grid,
  .fd-onboarding-choice-grid-full {
    grid-template-columns: 1fr;
  }

  .fd-onboarding-story-card.is-primary {
    grid-column: auto;
  }

  .fd-onboarding-workspace-head,
  .fd-onboarding-footer-bar,
  .fd-onboarding-actions-right {
    display: grid;
  }

  .fd-onboarding-actions-right {
    width: 100%;
  }

  .fd-btn-ghost,
  .fd-onboarding-actions-right .fd-btn-primary,
  .fd-onboarding-actions-right .fd-btn-primary-soft,
  .fd-onboarding-footer-bar > .fd-btn-secondary {
    width: 100%;
  }
}


.fd-onboarding-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(42, 93, 194, 0.18), transparent 28%),
    radial-gradient(circle at 78% 14%, rgba(34, 60, 113, 0.16), transparent 24%),
    linear-gradient(180deg, #141b2b 0%, #101622 52%, #0d121b 100%);
}

.fd-onboarding-shell {
  min-height: 100vh;
}

.fd-onboarding-lovable {
  min-height: 100vh;
  padding: 56px 24px;
  display: grid;
  place-items: center;
}

.fd-onboarding-lovable-inner {
  width: min(100%, 1040px);
  display: grid;
  gap: 40px;
}

.fd-onboarding-lovable-head {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.fd-onboarding-lovable-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(76, 121, 214, 0.34);
  background: rgba(45, 82, 158, 0.72);
  color: #f4f8ff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fd-onboarding-lovable-head h1 {
  margin: 0;
  max-width: 24ch;
  color: #f8fafc;
  font-size: clamp(2.3rem, 3vw, 3.75rem);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.fd-onboarding-lovable-alert {
  margin: 0 auto;
  width: min(100%, 820px);
  border-radius: 18px;
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.16);
  color: #fecaca;
}

.fd-onboarding-lovable-form {
  display: grid;
  justify-items: center;
}

.fd-onboarding-lovable-card {
  width: min(100%, 820px);
  padding: 34px 34px 30px;
  border-radius: 24px;
  border: 1px solid rgba(111, 126, 160, 0.18);
  background: linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(14, 20, 31, 0.98));
  box-shadow: 0 22px 60px rgba(3, 7, 18, 0.26);
}

.fd-onboarding-lovable-step-mobile {
  display: none;
}

.fd-onboarding-panel {
  display: none;
}

.fd-onboarding-panel.is-active {
  display: block;
}

.fd-onboarding-lovable-card-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 72px;
}

.fd-onboarding-lovable-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(91, 132, 220, 0.32);
  background: rgba(32, 55, 104, 0.78);
  color: #bdd2ff;
  font-size: 1.45rem;
}

.fd-onboarding-lovable-card-head h2 {
  margin: 0 0 4px;
  color: #f8fafc;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.fd-onboarding-lovable-card-head p {
  margin: 0;
  max-width: 58ch;
  color: #7f8ca6;
  font-size: 0.98rem;
  line-height: 1.25;
}

.fd-onboarding-lovable-grid {
  display: grid;
  gap: 14px;
}

.fd-onboarding-lovable-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-onboarding-lovable-grid-3 {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}

.fd-onboarding-lovable-grid-1 {
  grid-template-columns: minmax(0, 1fr);
}

.fd-onboarding-span-2 {
  grid-column: span 1;
}

.fd-onboarding-lovable .fd-settings-field {
  display: grid;
  gap: 12px;
}

.fd-onboarding-lovable .form-label.small {
  margin: 0;
  color: #e5ebf6;
  font-size: 0.97rem;
  font-weight: 500;
}

.fd-onboarding-input-wrap {
  position: relative;
}

.fd-onboarding-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #b8c8e4;
  font-size: 1.3rem;
  pointer-events: none;
  z-index: 2;
}

.fd-onboarding-control,
.fd-onboarding-control.form-control,
.fd-onboarding-control.form-select {
  min-height: 62px;
  border-radius: 14px;
  border: 1px solid rgba(88, 101, 132, 0.12);
  background-color: #1d2430;
  color: #f8fafc;
  padding-left: 62px;
  padding-right: 20px;
  font-size: 1rem;
  box-shadow: none;
}

.fd-onboarding-control.form-select {
  background-position: right 18px center;
}

.fd-onboarding-control::placeholder {
  color: #7b869b;
}

.fd-onboarding-control:focus {
  border-color: rgba(85, 133, 236, 0.48);
  background-color: #202837;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(45, 82, 158, 0.12);
}

.fd-onboarding-lovable-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
}

.fd-onboarding-lovable-footer-left,
.fd-onboarding-lovable-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fd-onboarding-lovable-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(45, 82, 158, 0.72);
  border: 1px solid rgba(76, 121, 214, 0.3);
  color: #f4f8ff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.fd-onboarding-lovable .fd-btn-secondary,
.fd-onboarding-lovable .fd-btn-primary,
.fd-onboarding-lovable .fd-btn-ghost {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 0.98rem;
  font-weight: 600;
}

.fd-onboarding-lovable .fd-btn-secondary {
  background: #1e2632;
  border-color: rgba(92, 104, 126, 0.22);
  color: #edf2fb;
}

.fd-onboarding-lovable .fd-btn-secondary:hover {
  background: #263142;
  border-color: rgba(105, 122, 154, 0.3);
}

.fd-onboarding-lovable .fd-btn-primary {
  background: linear-gradient(180deg, #294d8f 0%, #223f75 100%);
  border: 1px solid rgba(96, 141, 229, 0.42);
  color: #ffffff;
  box-shadow: none;
}

.fd-onboarding-lovable .fd-btn-primary:hover {
  background: linear-gradient(180deg, #325aab 0%, #27498a 100%);
}

.fd-onboarding-lovable .fd-btn-ghost {
  background: transparent;
  color: #9aa8c3;
  padding: 0 10px;
}

.fd-onboarding-lovable .fd-btn-ghost:hover {
  color: #d8e2f1;
  background: transparent;
}

.fd-onboarding-lovable-next i,
.fd-onboarding-lovable-submit i,
.fd-onboarding-lovable-back i {
  font-size: 1rem;
}

[data-theme="light"] .fd-onboarding-body {
  background:
    radial-gradient(circle at 22% 18%, rgba(42, 93, 194, 0.1), transparent 28%),
    radial-gradient(circle at 78% 14%, rgba(34, 60, 113, 0.08), transparent 24%),
    linear-gradient(180deg, #eef3ff 0%, #e8eef9 52%, #e3e9f3 100%);
}

[data-theme="light"] .fd-onboarding-lovable-kicker,
[data-theme="light"] .fd-onboarding-lovable-step {
  color: #eff6ff;
}

[data-theme="light"] .fd-onboarding-lovable-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.96));
  border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="light"] .fd-onboarding-lovable-head h1,
[data-theme="light"] .fd-onboarding-lovable-card-head h2,
[data-theme="light"] .fd-onboarding-lovable .form-label.small,
[data-theme="light"] .fd-onboarding-control,
[data-theme="light"] .fd-onboarding-lovable .fd-btn-secondary {
  color: #0f172a;
}

[data-theme="light"] .fd-onboarding-lovable-card-head p,
[data-theme="light"] .fd-onboarding-lovable .fd-btn-ghost,
[data-theme="light"] .fd-onboarding-control::placeholder {
  color: #64748b;
}

[data-theme="light"] .fd-onboarding-control,
[data-theme="light"] .fd-onboarding-control.form-control,
[data-theme="light"] .fd-onboarding-control.form-select {
  background-color: #eef2f7;
  border-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 900px) {
  .fd-onboarding-lovable {
    padding: 40px 18px;
  }

  .fd-onboarding-lovable-inner {
    gap: 28px;
  }

  .fd-onboarding-lovable-head h1 {
    max-width: 16ch;
  }

  .fd-onboarding-lovable-card {
    padding: 26px 22px 22px;
  }

  .fd-onboarding-lovable-card-head {
    margin-bottom: 40px;
  }

  .fd-onboarding-lovable-grid-2,
  .fd-onboarding-lovable-grid-3 {
    grid-template-columns: 1fr;
  }

  .fd-onboarding-lovable-footer {
    display: grid;
    gap: 16px;
    margin-top: 32px;
  }

  .fd-onboarding-lovable-footer-left,
  .fd-onboarding-lovable-footer-right {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .fd-onboarding-lovable {
    padding: 28px 14px 22px;
    align-items: start;
  }

  .fd-onboarding-lovable-inner {
    gap: 20px;
  }

  .fd-onboarding-lovable-head {
    gap: 16px;
  }

  .fd-onboarding-lovable-head h1 {
    font-size: 1.72rem;
    line-height: 1.18;
    max-width: 13ch;
  }

  .fd-onboarding-lovable-card {
    padding: 20px 16px 16px;
    border-radius: 20px;
  }

  .fd-onboarding-lovable-step-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: rgba(45, 82, 158, 0.72);
    border: 1px solid rgba(76, 121, 214, 0.3);
    color: #f4f8ff;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    width: fit-content;
  }

  .fd-onboarding-lovable-card-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .fd-onboarding-lovable-icon {
    width: 48px;
    height: 48px;
  }

  .fd-onboarding-lovable-card-head > div {
    display: grid;
    gap: 4px;
  }

  .fd-onboarding-lovable-card-head h2 {
    font-size: 1.12rem;
  }

  .fd-onboarding-lovable-card-head p {
    font-size: 0.92rem;
    max-width: none;
  }

  .fd-onboarding-control,
  .fd-onboarding-control.form-control,
  .fd-onboarding-control.form-select {
    min-height: 58px;
    font-size: 0.96rem;
    padding-left: 56px;
  }

  .fd-onboarding-input-icon {
    left: 18px;
    font-size: 1.18rem;
  }

  .fd-onboarding-lovable-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
    align-items: stretch;
  }

  .fd-onboarding-lovable-footer-left,
  .fd-onboarding-lovable-footer-right {
    width: 100%;
    display: contents;
  }

  .fd-onboarding-lovable-step {
    display: none;
  }

  .fd-onboarding-lovable-back {
    order: 2;
    grid-column: 1;
  }

  .fd-onboarding-lovable-next,
  .fd-onboarding-lovable-submit {
    order: 3;
    grid-column: 2;
  }

  .fd-onboarding-lovable .fd-btn-ghost {
    order: 4;
    grid-column: 1 / -1;
    min-height: 44px;
    padding: 0 14px;
  }

  .fd-onboarding-lovable .fd-btn-secondary,
  .fd-onboarding-lovable .fd-btn-primary,
  .fd-onboarding-lovable .fd-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .fd-onboarding-lovable-back,
  .fd-onboarding-lovable-next,
  .fd-onboarding-lovable-submit {
    min-height: 46px;
  }
}


.fd-onboarding-lovable {
  position: relative;
  overflow: hidden;
}

.fd-onboarding-lovable::before,
.fd-onboarding-lovable::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
  animation: fdOnboardingFloat 14s ease-in-out infinite;
}

.fd-onboarding-lovable::before {
  width: 360px;
  height: 360px;
  top: 7%;
  left: 8%;
  background: rgba(48, 91, 184, 0.2);
}

.fd-onboarding-lovable::after {
  width: 320px;
  height: 320px;
  right: 8%;
  bottom: 10%;
  background: rgba(35, 66, 126, 0.16);
  animation-delay: -6s;
}

.fd-onboarding-lovable-head,
.fd-onboarding-lovable-alert,
.fd-onboarding-lovable-card {
  opacity: 0;
  transform: translateY(24px);
}

.fd-onboarding-lovable.is-mounted .fd-onboarding-lovable-head {
  animation: fdOnboardingFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.fd-onboarding-lovable.is-mounted .fd-onboarding-lovable-alert {
  animation: fdOnboardingFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.08s forwards;
}

.fd-onboarding-lovable.is-mounted .fd-onboarding-lovable-card {
  animation: fdOnboardingCardIn 0.9s cubic-bezier(.2, .9, .2, 1) 0.12s forwards;
}

.fd-onboarding-lovable-card {
  position: relative;
  transform-origin: center top;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

.fd-onboarding-lovable-card:hover {
  border-color: rgba(111, 142, 207, 0.28);
  box-shadow: 0 28px 70px rgba(3, 7, 18, 0.34);
}

.fd-onboarding-lovable-card.is-switching-out {
  opacity: 0.72;
  transform: translateX(18px) scale(0.992);
  filter: blur(4px);
}

.fd-onboarding-lovable-card.is-switching-in {
  animation: fdOnboardingStepIn 0.46s cubic-bezier(.2, .9, .2, 1);
}

.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-card-head,
.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-grid,
.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-footer,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-card-head,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-grid,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-footer {
  opacity: 0;
}

.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-card-head,
.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-grid,
.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-footer {
  animation: fdOnboardingPanelSlideForward 0.5s cubic-bezier(.22, 1, .36, 1) forwards;
}

.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-card-head,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-grid,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-footer {
  animation: fdOnboardingPanelSlideBackward 0.5s cubic-bezier(.22, 1, .36, 1) forwards;
}

.fd-onboarding-panel.is-entering-forward .fd-onboarding-lovable-grid,
.fd-onboarding-panel.is-entering-backward .fd-onboarding-lovable-grid {
  animation-delay: 0.02s;
}

.fd-onboarding-lovable-kicker,
.fd-onboarding-lovable-step,
.fd-onboarding-lovable-step-mobile {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(17, 41, 88, 0.22);
}

.fd-onboarding-control,
.fd-onboarding-control.form-control,
.fd-onboarding-control.form-select {
  transition: border-color 0.26s ease, background-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.fd-onboarding-control:hover,
.fd-onboarding-control.form-control:hover,
.fd-onboarding-control.form-select:hover {
  border-color: rgba(104, 137, 203, 0.28);
  background-color: #202837;
}

.fd-onboarding-lovable .fd-btn-secondary,
.fd-onboarding-lovable .fd-btn-primary,
.fd-onboarding-lovable .fd-btn-ghost {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.26s ease, background 0.26s ease, border-color 0.26s ease, color 0.26s ease;
}

.fd-onboarding-lovable .fd-btn-secondary::before,
.fd-onboarding-lovable .fd-btn-primary::before,
.fd-onboarding-lovable .fd-btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 80%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.fd-onboarding-lovable .fd-btn-secondary:hover,
.fd-onboarding-lovable .fd-btn-primary:hover,
.fd-onboarding-lovable .fd-btn-ghost:hover {
  transform: translateY(-2px);
}

.fd-onboarding-lovable .fd-btn-secondary:hover::before,
.fd-onboarding-lovable .fd-btn-primary:hover::before,
.fd-onboarding-lovable .fd-btn-ghost:hover::before {
  transform: translateX(130%);
}

.fd-onboarding-lovable .fd-btn-primary:hover {
  box-shadow: 0 14px 28px rgba(31, 69, 141, 0.32);
}

.fd-onboarding-lovable .fd-btn-secondary:hover {
  box-shadow: 0 12px 24px rgba(5, 10, 20, 0.22);
}

.fd-onboarding-lovable .fd-btn-ghost:hover {
  box-shadow: 0 10px 20px rgba(5, 10, 20, 0.12);
}

@keyframes fdOnboardingFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fdOnboardingCardIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fdOnboardingPanelSlideForward {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fdOnboardingPanelSlideBackward {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fdOnboardingStepIn {
  from {
    opacity: 0.76;
    transform: translateX(-10px) scale(0.994);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fdOnboardingFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-onboarding-lovable::before,
  .fd-onboarding-lovable::after,
  .fd-onboarding-lovable-head,
  .fd-onboarding-lovable-alert,
  .fd-onboarding-lovable-card,
  .fd-onboarding-panel.is-active .fd-onboarding-lovable-card-head,
  .fd-onboarding-panel.is-active .fd-onboarding-lovable-grid,
  .fd-onboarding-lovable-card.is-switching-in {
    animation: none !important;
  }

  .fd-onboarding-lovable .fd-btn-secondary,
  .fd-onboarding-lovable .fd-btn-primary,
  .fd-onboarding-lovable .fd-btn-ghost,
  .fd-onboarding-control,
  .fd-onboarding-control.form-control,
  .fd-onboarding-control.form-select,
  .fd-onboarding-lovable-card {
    transition: none !important;
  }
}


[data-stagger-item] {
  --fd-stagger-delay: 0ms;
}

.fd-onboarding-lovable.is-mounted [data-onboarding-intro] [data-stagger-item] {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: fdOnboardingStaggerIn 0.72s cubic-bezier(.2, .9, .2, 1) forwards;
  animation-delay: var(--fd-stagger-delay);
}

.fd-onboarding-panel.is-active [data-stagger-group] [data-stagger-item] {
  opacity: 0;
  transform: translateY(16px) scale(0.988);
  animation: fdOnboardingStaggerIn 0.54s cubic-bezier(.2, .9, .2, 1) forwards;
  animation-delay: var(--fd-stagger-delay);
}

.fd-btn-spring {
  will-change: transform;
  transform: translateZ(0);
}

.fd-onboarding-lovable .fd-btn-spring,
.fd-onboarding-lovable .fd-btn-spring::before {
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
}

.fd-onboarding-lovable .fd-btn-spring:hover {
  transform: translateY(-3px) scale(1.02);
}

.fd-onboarding-lovable .fd-btn-spring:active {
  transform: translateY(0) scale(0.97);
}

.fd-onboarding-lovable .fd-btn-primary.fd-btn-spring:hover {
  box-shadow: 0 18px 34px rgba(31, 69, 141, 0.38);
}

.fd-onboarding-lovable .fd-btn-secondary.fd-btn-spring:hover {
  box-shadow: 0 14px 28px rgba(5, 10, 20, 0.26);
}

.fd-onboarding-lovable .fd-btn-ghost.fd-btn-spring:hover {
  box-shadow: 0 8px 16px rgba(5, 10, 20, 0.08);
}

@keyframes fdOnboardingStaggerIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.fd-settings-shell,
.fd-settings-main,
.fd-settings-section,
.fd-settings-section-stack,
.fd-settings-sidebar-card,
.fd-settings-sidebar-copy,
.fd-settings-nav,
.fd-settings-sidebar-profile,
.fd-settings-workspaces-list,
.fd-settings-workspace-item,
.fd-settings-workspace-item-copy,
.fd-settings-workspace-item-actions,
.fd-settings-integrations-grid,
.fd-settings-integration-card,
.fd-settings-integration-head,
.fd-settings-integration-actions,
.fd-settings-payments-grid,
.fd-settings-payment-card,
.fd-settings-overview-card,
.fd-settings-overview-grid,
.fd-settings-overview-item,
.fd-settings-modules-grid,
.fd-settings-module-card,
.fd-settings-module-copy,
.fd-settings-placeholder-card {
  display: grid;
  gap: 1rem;
}

.fd-settings-shell {
  grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.fd-settings-sidebar-card {
  position: sticky;
  top: 92px;
}

.fd-settings-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--slate-300);
  text-decoration: none;
  transition: 0.2s ease;
}

.fd-settings-nav-link:hover,
.fd-settings-nav-link.is-active {
  color: var(--slate-100);
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(37, 99, 235, 0.1);
}

.fd-settings-sidebar-profile {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.fd-settings-main {
  min-width: 0;
  gap: 1.25rem;
}

.fd-settings-section {
  display: none;
  gap: 1.25rem;
  scroll-margin-top: 108px;
  animation: fdSettingsPanelIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-settings-section.is-active {
  display: grid;
}

.fd-settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.fd-settings-section-stack {
  gap: 1rem;
}

@keyframes fdSettingsPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fd-settings-overview-grid,
.fd-settings-payments-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-settings-overview-item,
.fd-settings-workspace-item,
.fd-settings-module-card,
.fd-settings-integration-card,
.fd-settings-placeholder-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.fd-settings-overview-item small,
.fd-settings-module-card em {
  color: var(--slate-400);
  font-style: normal;
  font-size: 0.84rem;
}

.fd-settings-workspace-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.fd-settings-workspace-item.is-active {
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(37, 99, 235, 0.08);
}

.fd-settings-integrations-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-settings-integration-card {
  overflow: hidden;
  gap: 1rem;
  min-height: 0;
  padding: 1.1rem;
  background: #14171f;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fd-settings-integration-card:hover {
  border-color: rgba(59, 130, 246, 0.22);
  background: #171b24;
}

.fd-settings-integration-visual,
.fd-settings-integration-head,
.fd-settings-integration-foot,
.fd-settings-integration-status {
  display: flex;
  align-items: center;
}

.fd-settings-integration-visual {
  align-items: flex-start;
  gap: 1rem;
}

.fd-settings-integration-head,
.fd-settings-integration-foot {
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.fd-settings-integration-head {
  align-items: flex-start;
}

.fd-settings-integration-logo {
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.fd-settings-integration-logo-svg {
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
}

.fd-settings-integration-logo-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fd-settings-integration-health {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.fd-settings-integration-status {
  gap: 0.5rem;
  color: var(--slate-300);
  font-size: 0.9rem;
}

.fd-settings-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12);
}

.fd-settings-integration-status-active .fd-settings-status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.fd-settings-integration-status-pending .fd-settings-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12);
}

.fd-settings-integration-status-disconnected .fd-settings-status-dot {
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148, 163, 184, 0.12);
}

.fd-settings-modules-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.fd-settings-modules-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.5rem;
  background: #14171f;
}

.fd-settings-modules-summary {
  min-width: 132px;
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.fd-settings-modules-summary strong {
  color: var(--slate-50);
  font-size: 1.35rem;
  line-height: 1;
}

.fd-settings-modules-summary span {
  color: var(--slate-300);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fd-settings-module-card {
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
  min-height: 0;
  padding: 1.15rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #14171f;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fd-settings-module-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fd-settings-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-settings-module-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255,255,255,0.06);
  color: var(--brand-400);
  font-size: 1.05rem;
}

.fd-settings-module-toggle {
  position: relative;
  width: 3rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.fd-settings-module-toggle::after {
  content: '';
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #e2e8f0;
  transition: transform 0.22s ease, background 0.22s ease;
}

.fd-settings-module-card.is-checked .fd-settings-module-toggle {
  background: rgba(37, 99, 235, 0.26);
  border-color: rgba(96, 165, 250, 0.32);
}

.fd-settings-module-card.is-checked .fd-settings-module-toggle::after {
  transform: translateX(1.15rem);
  background: #ffffff;
}

.fd-settings-module-card:hover {
  border-color: rgba(59, 130, 246, 0.24);
  background: #171b24;
}

.fd-settings-module-card.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.fd-settings-module-card.is-checked {
  border-color: rgba(96, 165, 250, 0.28);
  background: #171d29;
}

.fd-settings-module-copy strong {
  display: block;
  color: var(--slate-100);
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}

.fd-settings-module-group {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #8fb3ff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fd-settings-module-copy small,
.fd-settings-integration-card p,
.fd-settings-placeholder-card p {
  color: var(--slate-400);
}

.fd-settings-module-card em {
  display: inline-flex;
  align-self: end;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.fd-settings-payment-card {
  grid-column: span 2;
}

.fd-settings-billing-usage-grid,
.fd-settings-billing-plan-grid,
.fd-settings-billing-plan-head,
.fd-settings-billing-plan-price,
.fd-settings-billing-plan-features,
.fd-settings-billing-usage-copy {
  display: grid;
  gap: 0.85rem;
}

.fd-settings-billing-usage-grid,
.fd-settings-billing-plan-grid {
  margin-top: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-settings-billing-usage-card,
.fd-settings-billing-plan-card {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
}

.fd-settings-billing-usage-copy strong,
.fd-settings-billing-plan-price strong,
.fd-settings-billing-plan-head strong {
  color: var(--slate-100);
}

.fd-settings-billing-usage-copy small,
.fd-settings-billing-plan-head small,
.fd-settings-billing-plan-price span,
.fd-settings-billing-plan-features li {
  color: var(--slate-400);
}

.fd-settings-billing-meter {
  position: relative;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.fd-settings-billing-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.fd-settings-billing-meter.is-warning span {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.fd-settings-billing-meter.is-over span {
  background: linear-gradient(90deg, #dc2626, #fb7185);
}

.fd-settings-billing-plan-card.is-current {
  border-color: rgba(74, 222, 128, 0.26);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.16);
}

.fd-settings-billing-plan-head {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.fd-settings-billing-plan-price {
  gap: 0.15rem;
}

.fd-settings-billing-plan-price strong {
  font-size: 1.65rem;
  line-height: 1;
}

.fd-settings-billing-plan-features {
  gap: 0.45rem;
  margin: 0;
  padding-left: 1rem;
}

[data-theme="light"] .fd-settings-nav-link {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(148, 163, 184, 0.16);
  color: var(--slate-600);
}

[data-theme="light"] .fd-settings-nav-link:hover,
[data-theme="light"] .fd-settings-nav-link.is-active {
  color: var(--slate-900);
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .fd-settings-module-card,
[data-theme="light"] .fd-settings-modules-hero,
[data-theme="light"] .fd-settings-integration-card {
  border-color: rgba(148, 163, 184, 0.16);
}

.fd-codigos,
.fd-codigo-detalhe,
.fd-codigos-toolbar,
.fd-codigos-grid,
.fd-codigo-card,
.fd-codigo-card-body,
.fd-codigo-card-footer,
.fd-codigo-detalhe-grid,
.fd-codigo-copy-section {
  display: grid;
  gap: 1rem;
}

.fd-codigos-toolbar-card,
.fd-codigo-detalhe-hero {
  padding: 1rem;
}

.fd-codigos-toolbar {
  grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(180px, 0.7fr)) auto;
  align-items: center;
}

.fd-codigos-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.fd-codigos-search i {
  color: var(--slate-400);
  font-size: 1.05rem;
}

.fd-codigos-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--slate-100);
  background: transparent;
}

.fd-codigos-select {
  min-height: 52px;
  border-radius: 999px;
}

.fd-codigos-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fd-codigo-card,
.fd-codigos-empty {
  overflow: hidden;
  border: 1px solid var(--slate-800);
  border-radius: 1.5rem;
  background: #14171f;
}

.fd-codigo-card {
  gap: 0;
}

.fd-codigo-card-cover {
  display: block;
  min-height: 168px;
  border-radius: 1rem;
  background: #0b1220;
  text-decoration: none;
  overflow: hidden;
}

.fd-codigo-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-codigo-card-cover pre,
.fd-codigo-detalhe-preview pre,
.fd-codigo-full {
  margin: 0;
  color: #c4b5fd;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: Consolas, Monaco, 'Courier New', monospace;
}

.fd-codigo-card-cover pre {
  padding: 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--slate-200);
}

.fd-codigo-card-body,
.fd-codigo-card-footer {
  padding: 1rem 1rem 0;
}

.fd-codigo-card-body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.fd-codigo-card-body h3 a {
  color: var(--slate-100);
  text-decoration: none;
}

.fd-codigo-card-body p {
  margin: 0;
  color: var(--slate-400);
  min-height: 44px;
}

.fd-codigo-card-meta,
.fd-codigo-card-author,
.fd-codigo-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fd-codigo-card-meta {
  flex-wrap: wrap;
}

.fd-codigo-card-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: 1rem;
}

.fd-codigo-card-author {
  color: var(--slate-400);
  font-size: 0.9rem;
  min-width: 0;
}

.fd-codigo-card-author-avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.fd-codigo-card-author-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.14);
  color: var(--brand-200);
  font-size: 0.78rem;
  font-weight: 800;
}

.fd-btn-table-active {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
}

.js-copy-codigo.is-copied {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
  color: #dcfce7;
}

.fd-codigos-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 1.4rem;
  align-content: space-between;
}

.fd-codigo-detalhe-hero,
.fd-codigo-detalhe-preview,
.fd-codigo-meta-card,
.fd-codigo-copy-section {
  border: 1px solid var(--slate-800);
  border-radius: 1.5rem;
  background: #14171f;
}

.fd-codigo-detalhe-preview {
  padding: 1rem;
  min-height: 280px;
  background: #0b1220;
  margin-bottom: 15px;
}

.fd-codigo-detalhe-image {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 0.9rem;
}

.fd-codigo-edit-preview-current {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.22);
}

.fd-codigo-edit-preview-current img {
  width: 88px;
  height: 58px;
  object-fit: cover;
  border-radius: 0.65rem;
}

.fd-codigo-edit-preview-current span {
  color: var(--slate-400);
  font-size: 0.86rem;
}

.fd-codigo-detalhe-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.fd-codigo-detalhe-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fd-codigo-meta-card {
  padding: 1rem 1.1rem;
}

.fd-codigo-meta-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--slate-100);
}

.fd-codigo-meta-card span {
  color: var(--slate-300);
}

.fd-codigo-meta-card-wide {
  grid-column: span 2;
}

.fd-codigo-copy-section {
  padding: 1.2rem;
}

.fd-codigo-instrucoes,
.fd-codigo-full {
  color: var(--slate-200);
  line-height: 1.7;
}

.fd-codigo-full {
  padding: 1rem;
  border-radius: 1rem;
  background: #0b1220;
}

.fd-code-textarea {
  min-height: 240px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
}

@media (max-width: 1200px) {
  .fd-codigos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .fd-codigos-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .fd-codigo-detalhe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .fd-codigos-toolbar,
  .fd-codigos-grid,
  .fd-codigo-detalhe-grid,
  .fd-codigo-card-footer {
    grid-template-columns: 1fr;
  }

  .fd-codigo-meta-card-wide {
    grid-column: auto;
  }

  .fd-codigo-card-actions,
  .fd-codigo-detalhe-actions {
    flex-wrap: wrap;
  }
}

[data-theme="light"] .fd-settings-overview-item,
[data-theme="light"] .fd-settings-workspace-item,
[data-theme="light"] .fd-settings-module-card,
[data-theme="light"] .fd-settings-integration-card,
[data-theme="light"] .fd-settings-placeholder-card,
[data-theme="light"] .fd-settings-billing-usage-card,
[data-theme="light"] .fd-settings-billing-plan-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .fd-settings-module-copy strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-settings-billing-usage-copy strong,
[data-theme="light"] .fd-settings-billing-plan-price strong,
[data-theme="light"] .fd-settings-billing-plan-head strong {
  color: var(--slate-900);
}

[data-theme="light"] .fd-settings-module-copy small,
[data-theme="light"] .fd-settings-overview-item small,
[data-theme="light"] .fd-settings-module-card em,
[data-theme="light"] .fd-settings-integration-card p,
[data-theme="light"] .fd-settings-placeholder-card p,
[data-theme="light"] .fd-settings-billing-usage-copy small,
[data-theme="light"] .fd-settings-billing-plan-head small,
[data-theme="light"] .fd-settings-billing-plan-price span,
[data-theme="light"] .fd-settings-billing-plan-features li {
  color: var(--slate-500);
}

@media (max-width: 1100px) {
  .fd-settings-shell,
  .fd-settings-overview-grid,
  .fd-settings-payments-grid,
  .fd-settings-integrations-grid,
  .fd-settings-modules-grid,
  .fd-settings-billing-usage-grid,
  .fd-settings-billing-plan-grid {
    grid-template-columns: 1fr;
  }

  .fd-settings-sidebar-card {
    position: static;
  }

  .fd-settings-payment-card {
    grid-column: auto;
  }
}


.fd-btn-table-danger {
  border-color: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.fd-btn-table-danger:hover {
  border-color: rgba(244, 63, 94, 0.32);
  background: rgba(244, 63, 94, 0.08);
  color: #fecdd3;
}

.fd-delete-modal {
  max-width: 560px;
}

.fd-delete-modal-header,
.fd-delete-modal-footer {
  background: transparent;
}

.fd-delete-modal-headline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.fd-delete-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 63, 94, 0.16);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  font-size: 1.2rem;
}

.fd-delete-modal-copy {
  padding: 0.2rem 0;
}

.fd-delete-modal-title {
  margin: 0 0 0.55rem;
  color: var(--slate-100);
  font-size: 1.02rem;
  line-height: 1.6;
}

.fd-delete-modal-title strong {
  color: var(--white);
}

.fd-btn-danger-soft {
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: 0.95rem;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.98), rgba(69, 10, 10, 0.98));
  color: #ffe4e6;
  transition: 0.2s ease;
}

.fd-btn-danger-soft:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 113, 133, 0.34);
  background: linear-gradient(180deg, rgba(153, 27, 27, 0.98), rgba(88, 28, 28, 0.98));
  color: #fff1f2;
}

.fd-btn-danger-soft:focus-visible {
  outline: 2px solid rgba(251, 113, 133, 0.35);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .fd-delete-modal-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fd-delete-modal-footer > * {
    width: 100%;
  }
}
.fd-codigo-full-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 1rem;
}

.fd-codigo-full {
  min-width: 100%;
  max-width: none;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
  tab-size: 2;
}

.fd-codigo-detalhe-preview,
.fd-codigo-detalhe-preview pre {
  max-width: 100%;
  overflow-x: auto;
}

.fd-codigo-detalhe-preview pre {
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}
.fd-codigo-card-cover {
  height: 168px;
  overflow: hidden;
}

.fd-codigo-card-cover pre {
  max-height: 100%;
  overflow: hidden;
}

.fd-codigo-detalhe-preview {
  max-height: 320px;
  overflow: auto;
}

.fd-codigo-detalhe-preview pre {
  min-width: max-content;
}

.fd-codigo-full-wrap {
  max-height: 560px;
  overflow: auto;
}

.fd-codigo-full {
  min-width: max-content;
  max-height: 560px;
}

@media (max-width: 767.98px) {
  .fd-codigo-detalhe-preview {
    max-height: 240px;
  }

  .fd-codigo-full-wrap,
  .fd-codigo-full {
    max-height: 420px;
  }
}
.fd-codigo-detalhe-shell {
  padding: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(20, 23, 31, 0.98), rgba(20, 23, 31, 0.98));
}

.fd-codigo-detalhe-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.fd-codigo-detalhe-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  line-height: 1.08;
  color: var(--slate-50);
}

.fd-codigo-detalhe-description {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.7;
}

.fd-codigo-detalhe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.fd-codigo-detalhe-actions {
  justify-content: flex-end;
  align-items: center;
}

.fd-codigo-detalhe-preview-wrap {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(11, 18, 32, 0.9);
}

.fd-codigo-detalhe-preview-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.fd-codigo-detalhe-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.4);
}

.fd-codigo-detalhe-dot:nth-child(1) {
  background: rgba(248, 113, 113, 0.9);
}

.fd-codigo-detalhe-dot:nth-child(2) {
  background: rgba(251, 191, 36, 0.9);
}

.fd-codigo-detalhe-dot:nth-child(3) {
  background: rgba(74, 222, 128, 0.9);
}

.fd-codigo-detalhe-preview-label {
  margin-left: 0.4rem;
  color: var(--slate-400);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-codigo-detalhe-grid-premium {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fd-codigo-meta-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 112px;
  padding: 1rem 1.1rem;
}

.fd-codigo-meta-icon {
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-200);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.16);
  font-size: 1.08rem;
}

.fd-codigo-meta-card strong {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.fd-codigo-meta-card span {
  display: block;
  color: var(--slate-100);
  font-size: 1rem;
  line-height: 1.5;
}

.fd-codigo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.fd-codigo-copy-section {
  align-content: start;
  gap: 0.85rem;
}

.fd-codigo-copy-section-code {
  margin-top: 0.1rem;
}

.fd-codigo-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .fd-codigo-detalhe-top,
  .fd-codigo-content-grid,
  .fd-codigo-detalhe-grid-premium {
    grid-template-columns: 1fr 1fr;
  }

  .fd-codigo-detalhe-actions {
    justify-content: flex-start;
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .fd-codigo-detalhe-shell,
  .fd-codigo-copy-section {
    padding: 1rem;
  }

  .fd-codigo-detalhe-top,
  .fd-codigo-content-grid,
  .fd-codigo-detalhe-grid-premium {
    grid-template-columns: 1fr;
  }

  .fd-codigo-detalhe-title {
    font-size: 1.55rem;
  }

  .fd-codigo-meta-card {
    min-height: auto;
  }
}
.fd-codigo-detalhe-actions > .fd-btn-primary,
.fd-codigo-detalhe-actions > .fd-btn-secondary,
.fd-codigo-detalhe-actions > .fd-btn-danger-soft,
.fd-codigo-detalhe-actions > .fd-btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.fd-codigo-detalhe-actions > * i,
.fd-codigo-meta-icon i {
  line-height: 1;
}

.fd-codigo-meta-card {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  align-items: center;
}

.fd-codigo-meta-card > div {
  min-width: 0;
}

.fd-codigo-meta-icon {
  align-self: center;
}

.fd-btn-danger-soft.fd-btn-secondary {
  border-color: rgba(244, 63, 94, 0.18);
  background: rgba(244, 63, 94, 0.05);
  color: #fda4af;
}

.fd-btn-danger-soft.fd-btn-secondary:hover {
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.1);
  color: #ffe4e6;
}
.fd-codigo-detalhe-grid-premium {
  align-items: stretch;
}

.fd-codigo-meta-card {
  min-height: 108px;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: center;
}

.fd-codigo-meta-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.fd-codigo-meta-icon i {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.fd-codigo-meta-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.fd-codigo-meta-card strong {
  margin: 0;
  line-height: 1.1;
}

.fd-codigo-meta-card span {
  margin: 0;
  line-height: 1.25;
}
.fd-codigo-detalhe-grid-premium .fd-codigo-meta-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.95rem !important;
  min-height: 104px !important;
  padding: 1rem 1.15rem !important;
}

.fd-codigo-detalhe-grid-premium .fd-codigo-meta-icon {
  flex: 0 0 3rem !important;
  width: 3rem !important;
  height: 3rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.fd-codigo-detalhe-grid-premium .fd-codigo-meta-icon i {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.fd-codigo-detalhe-grid-premium .fd-codigo-meta-card > div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 0.32rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.fd-codigo-detalhe-grid-premium .fd-codigo-meta-card strong,
.fd-codigo-detalhe-grid-premium .fd-codigo-meta-card span {
  display: block !important;
  margin: 0 !important;
}
.fd-codigo-detalhe-grid-premium .fd-codigo-meta-icon {
  position: relative !important;
}

.fd-codigo-detalhe-grid-premium .fd-codigo-meta-icon i {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
  width: 1rem !important;
  height: 1rem !important;
  line-height: 1 !important;
}
.fd-topbar-title-copy {
  min-width: 0;
}

.fd-mobile-only-block,
.fd-workspace-switcher-mobile {
  display: none;
}

@media (max-width: 640px) {
  .fd-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem 0.8rem;
    align-items: center;
    padding: 0.9rem 1rem;
  }

  .fd-topbar-left {
    min-width: 0;
    gap: 0.7rem;
  }

  .fd-topbar-title-copy {
    min-width: 0;
  }

  .fd-topbar-eyebrow {
    margin-bottom: 0.15rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .fd-topbar-title {
    font-size: 1.18rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fd-topbar-right {
    justify-self: end;
    gap: 0.55rem;
  }

  .fd-topbar-right .fd-workspace-switcher-desktop {
    display: none;
  }

  .fd-topbar-right .fd-user-menu-trigger {
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .fd-topbar-right .fd-user-menu-arrow {
    display: none;
  }

  .fd-topbar-right .fd-user-menu-avatar {
    width: 38px;
    height: 38px;
  }

  .fd-mobile-only-block,
  .fd-workspace-switcher-mobile {
    display: block;
  }

  .fd-workspace-switcher-mobile {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .fd-workspace-switcher-trigger-mobile {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1.05rem;
    background: rgba(24, 29, 39, 0.96);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.2);
  }

  .fd-workspace-switcher-trigger-mobile .fd-workspace-switcher-copy {
    min-width: 0;
  }

  .fd-workspace-switcher-trigger-mobile .fd-workspace-switcher-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.05;
  }

  .fd-workspace-switcher-trigger-mobile .fd-badge {
    white-space: nowrap;
  }

  .fd-workspace-switcher-mobile .fd-workspace-dropdown {
    width: min(100vw - 2rem, 360px);
    right: 0;
    left: auto;
  }
}
:root {
  --fd-motion-duration-xs: 160ms;
  --fd-motion-duration-sm: 240ms;
  --fd-motion-duration-md: 420ms;
  --fd-motion-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --fd-motion-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}



.fd-page-header,
.fd-card,
.fd-settings-panel,
.fd-settings-sidebar,
.fd-table-wrap,
.fd-hospedagens-table-wrap {
  transition:
    transform var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    opacity var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    border-color var(--fd-motion-duration-xs) ease,
    box-shadow var(--fd-motion-duration-xs) ease,
    background-color var(--fd-motion-duration-xs) ease;
}

.fd-card,
.fd-table-wrap,
.fd-hospedagens-table-wrap,
.fd-settings-panel,
.fd-settings-sidebar {
  will-change: transform, opacity;
}

html:not(.fd-motion-ready) .fd-page-header,
html:not(.fd-motion-ready) .fd-card,
html:not(.fd-motion-ready) .fd-settings-panel,
html:not(.fd-motion-ready) .fd-settings-sidebar,
html:not(.fd-motion-ready) .fd-table-wrap,
html:not(.fd-motion-ready) .fd-hospedagens-table-wrap {
  opacity: 0;
  transform: translateY(16px);
}

html.fd-motion-ready .fd-page-header,
html.fd-motion-ready .fd-card,
html.fd-motion-ready .fd-settings-panel,
html.fd-motion-ready .fd-settings-sidebar,
html.fd-motion-ready .fd-table-wrap,
html.fd-motion-ready .fd-hospedagens-table-wrap {
  opacity: 1;
  transform: translateY(0);
}

html.fd-motion-ready .fd-card,
html.fd-motion-ready .fd-table-wrap,
html.fd-motion-ready .fd-hospedagens-table-wrap,
html.fd-motion-ready .fd-settings-panel,
html.fd-motion-ready .fd-settings-sidebar {
  transition-delay: calc(var(--fd-stagger-index, 0) * 18ms);
}

.fd-card:hover,
.fd-table-wrap:hover,
.fd-hospedagens-table-wrap:hover,
.fd-settings-module-card:hover,
.fd-settings-integration-card:hover,
.fd-settings-overview-card:hover,
.fd-settings-workspace-item:hover,
.fd-codigo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.16);
}

.fd-btn-primary,
.fd-btn-secondary,
.fd-btn-soft,
.fd-btn-table,
.fd-icon-btn,
.fd-nav-link,
.fd-workspace-switcher-trigger,
.fd-user-menu-trigger,
.fd-tab {
  transition:
    transform var(--fd-motion-duration-xs) var(--fd-motion-ease-soft),
    box-shadow var(--fd-motion-duration-xs) ease,
    border-color var(--fd-motion-duration-xs) ease,
    background-color var(--fd-motion-duration-xs) ease,
    color var(--fd-motion-duration-xs) ease,
    opacity var(--fd-motion-duration-xs) ease;
}

.fd-btn-primary:hover,
.fd-btn-secondary:hover,
.fd-btn-soft:hover,
.fd-workspace-switcher-trigger:hover,
.fd-user-menu-trigger:hover {
  transform: translateY(-1px) scale(1.01);
}

.fd-btn-primary:active,
.fd-btn-secondary:active,
.fd-btn-soft:active,
.fd-icon-btn:active,
.fd-btn-table:active {
  transform: scale(0.98);
}

.fd-nav-link:hover,
.fd-nav-link.is-active {
  transform: translateX(4px);
}

.fd-topbar,
.fd-sidebar {
  transition:
    background-color var(--fd-motion-duration-sm) ease,
    border-color var(--fd-motion-duration-sm) ease,
    transform var(--fd-motion-duration-sm) var(--fd-motion-ease-premium);
}

.modal-content {
  transition:
    transform var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    opacity var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    box-shadow var(--fd-motion-duration-sm) ease;
}

.modal.show .modal-content {
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.fd-motion-ready) .fd-page-header,
  html:not(.fd-motion-ready) .fd-card,
  html:not(.fd-motion-ready) .fd-settings-panel,
  html:not(.fd-motion-ready) .fd-settings-sidebar,
  html:not(.fd-motion-ready) .fd-table-wrap,
  html:not(.fd-motion-ready) .fd-hospedagens-table-wrap {
    opacity: 1;
    transform: none;
  }

  .fd-page-header,
  .fd-card,
  .fd-settings-panel,
  .fd-settings-sidebar,
  .fd-table-wrap,
  .fd-hospedagens-table-wrap,
  .fd-btn-primary,
  .fd-btn-secondary,
  .fd-btn-soft,
  .fd-btn-table,
  .fd-icon-btn,
  .fd-nav-link,
  .fd-workspace-switcher-trigger,
  .fd-user-menu-trigger,
  .fd-tab,
  .fd-topbar,
  .fd-sidebar,
  .modal-content {
    transition: none !important;
    animation: none !important;
  }

  .fd-card:hover,
  .fd-table-wrap:hover,
  .fd-hospedagens-table-wrap:hover,
  .fd-settings-module-card:hover,
  .fd-settings-integration-card:hover,
  .fd-settings-overview-card:hover,
  .fd-settings-workspace-item:hover,
  .fd-codigo-card:hover,
  .fd-btn-primary:hover,
  .fd-btn-secondary:hover,
  .fd-btn-soft:hover,
  .fd-workspace-switcher-trigger:hover,
  .fd-user-menu-trigger:hover,
  .fd-nav-link:hover,
  .fd-nav-link.is-active,
  .fd-btn-primary:active,
  .fd-btn-secondary:active,
  .fd-btn-soft:active,
  .fd-icon-btn:active,
  .fd-btn-table:active {
    transform: none !important;
  }
}
.fd-settings-nav-link {
  position: relative;
  overflow: hidden;
}

.fd-settings-nav-link::after {
  content: '';
  position: absolute;
  inset: auto auto 0.55rem 0.8rem;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.9);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--fd-motion-duration-sm) var(--fd-motion-ease-premium), opacity var(--fd-motion-duration-sm) ease;
  opacity: 0;
}

.fd-settings-nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.fd-settings-main {
  position: relative;
}

.fd-settings-section {
  transition:
    opacity var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    transform var(--fd-motion-duration-sm) var(--fd-motion-ease-premium),
    filter var(--fd-motion-duration-sm) ease;
  transform-origin: top center;
}

.fd-settings-section.is-entering {
  opacity: 0;
  transform: translateX(18px) translateY(6px) scale(0.985);
  filter: blur(4px);
}

.fd-settings-section.is-active {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  filter: blur(0);
}

.fd-settings-section.is-leaving {
  opacity: 0;
  transform: translateX(-18px) translateY(4px) scale(0.99);
  filter: blur(4px);
  pointer-events: none;
}

/* FlowDesk landing refactor */
:root {
  --pulse-primary: #153885;
  --pulse-secondary: #2563eb;
  --pulse-light: #608ae8;
  --pulse-accent: #5a7bc3;
  --glow-primary: #4c596c;
  --glow-border: #4c596c33;
  --glow-bg: #1c2229;
}

.fd-site-landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(37, 99, 235, 0.12), transparent 26%),
    linear-gradient(180deg, #0f131b 0%, #111622 38%, #151b27 100%);
  color: #f8fafc;
  overflow: clip;
}

.fd-site-landing-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1.4rem 1.5rem 0;
}

.fd-site-landing-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.2rem;
  background: rgba(17, 22, 34, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.24);
}

.fd-site-landing-brand {
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.fd-site-landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
}

.fd-site-landing-nav a {
  position: relative;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.fd-site-landing-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.38rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137, 172, 255, 0.9), transparent);
  transform: scaleX(0.4);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.fd-site-landing-nav a:hover,
.fd-site-landing-nav a:focus-visible {
  color: #ffffff;
}

.fd-site-landing-nav a:hover::after,
.fd-site-landing-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.fd-site-landing-topbar-actions,
.fd-site-landing-cta-row,
.fd-site-landing-cta-band-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.fd-site-landing-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.fd-site-landing-btn:hover {
  transform: translateY(-1px);
}

.fd-site-landing-btn-primary {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border-color: rgba(96, 165, 250, 0.28);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.fd-site-landing-btn-secondary,
.fd-site-landing-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.fd-site-landing-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.fd-site-landing-hero {
  position: relative;
  padding: 5.4rem 0 1.8rem;
  text-align: center;
  overflow: hidden;
}

.fd-site-landing-hero::before {
  content: '';
  position: absolute;
  inset: -4rem -8rem auto;
  height: 620px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    url('/assets/img/bg-flowdesk-crm-para-designers.png') center top / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.fd-site-landing-hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.48;
}

.fd-site-landing-hero-orb-left {
  top: 2.5rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.42), rgba(37, 99, 235, 0));
  animation: fdLandingFloat 10s ease-in-out infinite;
}

.fd-site-landing-hero-orb-right {
  top: 0;
  right: -10rem;
  background: radial-gradient(circle, rgba(96, 138, 232, 0.34), rgba(96, 138, 232, 0));
  animation: fdLandingFloat 12s ease-in-out infinite reverse;
}

.fd-site-landing-kicker,
.fd-site-landing-section-kicker {
  margin: 0 0 1.1rem;
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 10px 20px;
  text-transform: uppercase;
  background: #1D3468;
  border-radius:99999px;
}

.fd-site-landing-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.fd-site-landing-hero h1,
.fd-site-landing-section-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #f8fafc;
}

.fd-site-landing-hero h1 span {
  color: #93c5fd;
}

.fd-site-landing-lead,
.fd-site-landing-section-head p,
.fd-site-landing-panel p,
.fd-site-landing-feature-card p {
  color: rgba(203, 213, 225, 0.8);
  font-size: 1.02rem;
  line-height: 1.72;
}

.fd-site-landing-lead {
  max-width: 820px;
  margin: 1.3rem auto 0;
}

.fd-site-landing-cta-row {
  justify-content: center;
  margin-top: 1.8rem;
  position: relative;
}

.fd-site-landing-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
}

.fd-site-landing-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.92rem;
}

.fd-site-landing-proof i {
  color: #60a5fa;
}

.fd-site-landing-preview {
  padding: 1.4rem 0 1rem;
}

.fd-site-landing-preview-frame {
  overflow: hidden;
  border-radius: 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(17, 22, 34, 0.84);
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.34);
}

.fd-site-landing-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.fd-site-landing-section {
  padding: 5.2rem 0 0;
}

.fd-site-landing-section-head {
  max-width: 780px;
  margin-bottom: 1.8rem;
}

.fd-site-landing-section-head h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.fd-site-landing-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 1rem;
}

.fd-site-landing-about-stack {
  display: grid;
  gap: 1rem;
}

.fd-site-landing-panel,
.fd-site-landing-feature-card,
.fd-site-landing-faq-grid article,
.fd-site-landing-cta-band {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.94), rgba(18, 22, 30, 0.96));
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.fd-site-landing-panel,
.fd-site-landing-feature-card,
.fd-site-landing-faq-grid article,
.fd-site-landing-preview-frame {
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.fd-site-landing-panel:hover,
.fd-site-landing-feature-card:hover,
.fd-site-landing-faq-grid article:hover,
.fd-site-landing-preview-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
}

.fd-site-landing-panel {
  padding: 1.5rem;
}

.fd-site-landing-panel p {
  margin: 0;
}

.fd-site-landing-panel-tall {
  display: flex;
  align-items: flex-end;
  min-height: 280px;
}

.fd-site-landing-panel-list {
  margin-top: 1rem;
}

.fd-site-landing-list-head h3 {
  margin: 0 0 1rem;
  color: #f8fafc;
  font-size: 1.45rem;
  line-height: 1.15;
}

.fd-site-landing-bullet-list {
  display: grid;
  gap: 0.88rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fd-site-landing-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(226, 232, 240, 0.82);
}

.fd-site-landing-bullet-list i {
  width: 1.3rem;
  margin-top: 0.1rem;
  color: #f87171;
}

.fd-site-landing-bullet-list .is-positive i {
  color: #4ade80;
}

.fd-site-landing-feature-grid,
.fd-site-landing-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-site-landing-feature-card {
  padding: 1.55rem;
  min-height: 240px;
}

.fd-site-landing-feature-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
  font-size: 1.2rem;
}

.fd-site-landing-feature-card h3,
.fd-site-landing-faq-grid h3 {
  margin: 0 0 0.8rem;
  color: #f8fafc;
  font-size: 1.26rem;
  line-height: 1.18;
}

.fd-site-landing-cta-band {
  padding: 2rem;
  margin-top: 5.2rem;
}

.fd-site-landing-cta-band .fd-site-landing-section-head {
  margin-bottom: 1.25rem;
}

.fd-site-landing-faq-grid article {
  padding: 1.55rem;
  min-height: 100%;
}

.fd-site-landing-btn-flow {
  position: relative;
  z-index: 2;
  overflow: visible !important;
  min-width: 320px;
  padding: 1.08rem 1.7rem !important;
  background: linear-gradient(135deg, var(--pulse-accent), var(--pulse-primary), var(--pulse-light), var(--pulse-secondary));
  background-size: 300% 300%;
  animation: fdLandingGradient 4.2s ease-in-out infinite;
}

.fd-site-landing-btn-flow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--pulse-accent), var(--pulse-primary), var(--pulse-light), var(--pulse-secondary));
  background-size: 300% 300%;
  animation: fdLandingGradient 3.8s ease-in-out infinite reverse;
  opacity: 0.4;
  filter: blur(8px);
  z-index: -1;
}

.fd-site-landing-btn-flow:hover {
  animation-duration: 2.8s;
  transform: translateY(-2px);
}

.fd-site-landing-price-tag {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 22px;
  font-size: 0.74em !important;
  white-space: nowrap;
  color: #ffffff !important;
  z-index: 5;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
}

.fd-site-landing-btn-flow:hover .fd-site-landing-price-tag {
  opacity: 1;
  visibility: visible;
  bottom: -45px;
}

.fd-site-landing-btn-shine {
  position: relative;
  width: 360px;
  padding: 20px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent !important;
  isolation: isolate;
}

.fd-site-landing-btn-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: var(--glow-border);
  z-index: 1;
}

.fd-site-landing-btn-shine::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 9px;
  background: var(--glow-bg);
  z-index: 2;
  transition: all 0.4s ease;
}

.fd-site-landing-btn-shine > span,
.fd-site-landing-btn-shine > small {
  position: relative;
  z-index: 4;
  color: #ffffff;
}

.fd-site-landing-btn-shine-ray {
  position: absolute;
  top: -150%;
  left: 50%;
  width: 60px;
  height: 400%;
  background: var(--glow-primary);
  filter: blur(7px);
  border-radius: 12px;
  z-index: 3;
  transform-origin: center bottom;
  animation: fdLandingRotate 4.5s linear infinite;
  pointer-events: none;
}

.fd-site-landing-btn-shine:hover::before {
  opacity: 0.95;
}

.fd-site-landing-btn-shine:hover {
  transform: translateY(-2px);
}

@keyframes fdLandingGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fdLandingFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 16px, 0); }
}

@keyframes fdLandingRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

[data-theme="light"] .fd-site-landing {
  background:
    radial-gradient(circle at top center, rgba(37, 99, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
  color: #0f172a;
}

[data-theme="light"] .fd-site-landing-topbar-inner,
[data-theme="light"] .fd-site-landing-panel,
[data-theme="light"] .fd-site-landing-feature-card,
[data-theme="light"] .fd-site-landing-faq-grid article,
[data-theme="light"] .fd-site-landing-cta-band,
[data-theme="light"] .fd-site-landing-preview-frame {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .fd-site-landing-brand,
[data-theme="light"] .fd-site-landing-hero h1,
[data-theme="light"] .fd-site-landing-section-head h2,
[data-theme="light"] .fd-site-landing-feature-card h3,
[data-theme="light"] .fd-site-landing-faq-grid h3,
[data-theme="light"] .fd-site-landing-list-head h3 {
  color: #0f172a;
}

[data-theme="light"] .fd-site-landing-nav a,
[data-theme="light"] .fd-site-landing-lead,
[data-theme="light"] .fd-site-landing-section-head p,
[data-theme="light"] .fd-site-landing-panel p,
[data-theme="light"] .fd-site-landing-feature-card p,
[data-theme="light"] .fd-site-landing-proof li,
[data-theme="light"] .fd-site-landing-bullet-list li {
  color: rgba(15, 23, 42, 0.72);
}

[data-theme="light"] .fd-site-landing-btn-secondary,
[data-theme="light"] .fd-site-landing-btn-ghost {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

[data-theme="light"] .fd-site-landing-kicker,
[data-theme="light"] .fd-site-landing-section-kicker {
  color: #3159c9;
}

[data-theme="light"] .fd-site-landing-btn-shine::before {
  background: #ffffff;
}

[data-theme="light"] .fd-site-landing-btn-shine > span,
[data-theme="light"] .fd-site-landing-btn-shine > small {
  color: #0f172a;
}

@media (max-width: 1080px) {
  .fd-site-landing-topbar-inner,
  .fd-site-landing-about-grid,
  .fd-site-landing-feature-grid,
  .fd-site-landing-faq-grid {
    grid-template-columns: 1fr;
  }

  .fd-site-landing-topbar-inner {
    gap: 1rem;
  }

  .fd-site-landing-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .fd-site-landing-topbar {
    padding: 1rem 1rem 0;
  }

  .fd-site-landing-main {
    padding: 2rem 1rem 4.2rem;
  }

  .fd-site-landing-hero {
    padding-top: 2.4rem;
    text-align: left;
  }

  .fd-site-landing-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .fd-site-landing-cta-row,
  .fd-site-landing-proof,
  .fd-site-landing-cta-band-actions {
    justify-content: flex-start;
  }

  .fd-site-landing-proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .fd-site-landing-btn {
    width: 100%;
  }

  .fd-site-landing-btn-flow,
  .fd-site-landing-btn-shine {
    min-width: 260px;
  }

  .fd-site-landing-price-tag {
    font-size: 0.7em !important;
    padding: 7px 18px;
    bottom: -36px;
  }

  .fd-site-landing-btn-flow:hover .fd-site-landing-price-tag {
    bottom: -32px;
  }
}

.fd-kpi-card,
.fd-dashboard-grid > .fd-card,
.fd-dashboard-setup-card,
.fd-dashboard-success-card {
  transform-origin: center bottom;
}

.fd-kpi-card:hover {
  transform: translateY(-4px);
}

.fd-chip {
  transition:
    transform var(--fd-motion-duration-xs) var(--fd-motion-ease-soft),
    background-color var(--fd-motion-duration-xs) ease,
    border-color var(--fd-motion-duration-xs) ease,
    color var(--fd-motion-duration-xs) ease,
    box-shadow var(--fd-motion-duration-xs) ease;
}

.fd-chip:hover {
  transform: translateY(-1px);
}

.fd-chip.is-active {
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.fd-nav-link.is-active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 22px rgba(37, 99, 235, 0.1);
}

.modal-backdrop.show {
  opacity: 0.52 !important;
  backdrop-filter: none !important;
}

.modal,
.modal-dialog,
.modal-content,
.modal-header,
.modal-body,
.modal-footer,
.modal .form-control,
.modal .form-select,
.modal textarea,
.modal button,
.modal label {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto;
}

.modal-content {
  transform: none;
}
