/* Tryggo — padronização final da navegação do estabelecimento. */
:root {
  --cf-ui-line: #DCC7AF;
  --cf-ui-line-soft: #E8D9C8;
  --cf-ui-ink: #26352D;
  --cf-ui-muted: #53635A;
  --cf-ui-shadow: 0 4px 15px rgba(32, 48, 39, .075);
  --cf-ui-shadow-hover: 0 8px 22px rgba(32, 48, 39, .105);
}

body.merchant-dashboard-stitch #merchant-sidebar,
body.merchant-dashboard-stitch .workspace-sidebar,
body.merchant-pages-stitch #merchant-sidebar,
body.merchant-pages-stitch .workspace-sidebar {
  background: #0F5C45 !important;
  background-color: #0F5C45 !important;
}

/* A marca do estabelecimento tem o mesmo acabamento no dashboard e nas demais abas. */
body.merchant-dashboard-stitch .cf-sidebar-business-mark,
body.merchant-pages-stitch .cf-sidebar-business-mark {
  background: #FFFFFF !important;
  color: #0F5C45 !important;
}

/* A aba ativa usa o laranja oficial; os ícones inativos permanecem verde-claro. */
body.merchant-dashboard-stitch .workspace-nav-link.active,
body.merchant-pages-stitch .workspace-nav-link.active {
  background: #F28C28 !important;
  color: #191C1A !important;
}
body.merchant-dashboard-stitch .workspace-nav-link.active .nav-symbol,
body.merchant-pages-stitch .workspace-nav-link.active .nav-symbol {
  color: #191C1A !important;
}

/* Contraste mais forte nos painéis administrativos, formulários e tabelas. */
body.merchant-dashboard-stitch .cf-kpi-card,
body.merchant-dashboard-stitch .cf-surface-card,
body.merchant-dashboard-stitch .cf-performance-card,
body.merchant-dashboard-stitch .cf-insight-card,
body.merchant-dashboard-stitch .cf-growth-card,
body.merchant-pages-stitch .cf-data-panel,
body.merchant-pages-stitch .cf-form-card,
body.merchant-pages-stitch .cf-role-panel,
body.merchant-pages-stitch .cf-info-card,
body.merchant-pages-stitch .workspace-main .panel,
body.merchant-pages-stitch .workspace-main .report-panel,
body.merchant-pages-stitch .workspace-main .service-search-panel,
body.merchant-pages-stitch .workspace-main .service-results-panel,
body.merchant-pages-stitch .workspace-main .service-customer-panel,
body.merchant-pages-stitch .workspace-main .service-history-card {
  border-color: var(--cf-ui-line) !important;
  box-shadow: var(--cf-ui-shadow) !important;
}
body.merchant-dashboard-stitch .cf-kpi-label,
body.merchant-dashboard-stitch .cf-kpi-foot,
body.merchant-dashboard-stitch .cf-section-heading p,
body.merchant-dashboard-stitch .cf-dashboard-heading .cf-heading-subtitle,
body.merchant-pages-stitch .workspace-main p,
body.merchant-pages-stitch .workspace-main label,
body.merchant-pages-stitch .workspace-main small,
body.merchant-pages-stitch .cf-form-field small,
body.merchant-pages-stitch .cf-metric-label,
body.merchant-pages-stitch .cf-page-footnote {
  color: var(--cf-ui-muted);
}
body.merchant-pages-stitch .cf-form-field label,
body.merchant-pages-stitch .cf-form-check label,
body.merchant-pages-stitch .cf-panel-heading h2,
body.merchant-pages-stitch .cf-data-table td,
body.merchant-pages-stitch .cf-person-cell strong,
body.merchant-pages-stitch .workspace-main h1,
body.merchant-pages-stitch .workspace-main h2,
body.merchant-pages-stitch .workspace-main h3 {
  color: var(--cf-ui-ink);
}
body.merchant-pages-stitch .cf-data-table th,
body.merchant-pages-stitch .cf-data-table td { border-color: #D9C7B2 !important; }
body.merchant-pages-stitch .cf-data-table th { color: #43564A !important; }
body.merchant-pages-stitch .cf-data-table td { color: #2E4035 !important; }
body.merchant-pages-stitch .cf-form-field input,
body.merchant-pages-stitch .cf-form-field select,
body.merchant-pages-stitch .cf-form-field textarea,
body.merchant-pages-stitch .cf-search-field,
body.merchant-pages-stitch .cf-select-field select,
body.merchant-pages-stitch .workspace-main input:not([type=checkbox]):not([type=radio]),
body.merchant-pages-stitch .workspace-main select,
body.merchant-pages-stitch .workspace-main textarea {
  border-color: #C9B69F;
  color: #26352D;
}
body.merchant-pages-stitch .cf-form-field input:focus,
body.merchant-pages-stitch .cf-form-field select:focus,
body.merchant-pages-stitch .cf-form-field textarea:focus,
body.merchant-pages-stitch .workspace-main input:focus,
body.merchant-pages-stitch .workspace-main select:focus,
body.merchant-pages-stitch .workspace-main textarea:focus {
  border-color: #E38A35;
  box-shadow: 0 0 0 3px rgba(242,140,40,.16);
}

/* Shared forms and surfaces: a warmer edge and a subtle floating elevation. */
body.consumer-auth-page .consumer-auth-card,
body.consumer-portal-page .consumer-panel,
body.public-club-page .cf-public-section,
body.merchant-home-stitch .cf-home-card,
body.platform-login-page .platform-login-card,
body.platform-notifications-page .platform-notification-row {
  border-color: var(--cf-ui-line, #DCC7AF);
  box-shadow: var(--cf-ui-shadow, 0 4px 15px rgba(32,48,39,.075));
}
body.consumer-auth-page .consumer-field label,
body.consumer-auth-page .consumer-check-row label { color: #2C3C32; }
body.consumer-auth-page .consumer-field input,
body.consumer-auth-page .consumer-field select,
body.consumer-auth-page .consumer-field textarea {
  border-color: #C9B69F;
  color: #26352D;
}
body.consumer-auth-page .consumer-field input:focus,
body.consumer-auth-page .consumer-field select:focus,
body.consumer-auth-page .consumer-field textarea:focus {
  border-color: #E38A35;
  box-shadow: 0 0 0 3px rgba(242,140,40,.16);
}

/* Final accessibility/contrast pass across all Tryggo workspaces. */
:root {
  --cf-ui-line: #CBB69F;
  --cf-ui-line-soft: #E2D1BF;
  --cf-ui-ink: #1F2D25;
  --cf-ui-muted: #46574C;
  --cf-ui-shadow: 0 5px 16px rgba(30, 48, 37, .085);
  --cf-ui-shadow-hover: 0 9px 22px rgba(30, 48, 37, .12);
}
body.merchant-dashboard-stitch .cf-kpi-card,
body.merchant-dashboard-stitch .cf-surface-card,
body.merchant-dashboard-stitch .cf-performance-card,
body.merchant-dashboard-stitch .cf-insight-card,
body.merchant-dashboard-stitch .cf-growth-card,
body.merchant-pages-stitch .workspace-main .panel,
body.merchant-pages-stitch .workspace-main .card,
body.merchant-pages-stitch .workspace-main .cf-data-panel,
body.merchant-pages-stitch .workspace-main .cf-form-card,
body.merchant-pages-stitch .workspace-main .cf-info-card,
body.merchant-pages-stitch .workspace-main .report-panel,
body.merchant-pages-stitch .workspace-main .service-search-panel,
body.merchant-pages-stitch .workspace-main .service-results-panel,
body.merchant-pages-stitch .workspace-main .service-customer-panel,
body.merchant-pages-stitch .workspace-main .service-history-card {
  border: 1px solid #CBB69F !important;
  box-shadow: 0 5px 16px rgba(30, 48, 37, .085) !important;
}
body.merchant-dashboard-stitch .cf-kpi-label,
body.merchant-dashboard-stitch .cf-kpi-foot,
body.merchant-dashboard-stitch .cf-section-heading p,
body.merchant-dashboard-stitch .cf-dashboard-heading .cf-heading-subtitle,
body.merchant-pages-stitch .workspace-main p,
body.merchant-pages-stitch .workspace-main label,
body.merchant-pages-stitch .workspace-main small,
body.merchant-pages-stitch .cf-form-field small,
body.merchant-pages-stitch .cf-metric-label,
body.merchant-pages-stitch .cf-page-footnote {
  color: #46574C !important;
}
body.merchant-dashboard-stitch .cf-kpi-value,
body.merchant-pages-stitch .workspace-main h1,
body.merchant-pages-stitch .workspace-main h2,
body.merchant-pages-stitch .workspace-main h3,
body.merchant-pages-stitch .workspace-main strong,
body.merchant-pages-stitch .cf-data-table td {
  color: #1F2D25;
}
body.merchant-pages-stitch .workspace-main input:not([type=checkbox]):not([type=radio]),
body.merchant-pages-stitch .workspace-main select,
body.merchant-pages-stitch .workspace-main textarea {
  border-color: #C3AD94;
  color: #1F2D25;
}
body.merchant-pages-stitch .workspace-main input::placeholder,
body.merchant-pages-stitch .workspace-main textarea::placeholder {
  color: #68766C;
  opacity: 1;
}
body.merchant-pages-stitch .workspace-main :focus-visible,
body.merchant-dashboard-stitch :focus-visible {
  outline-color: #E28A35;
}
