:root {
  color-scheme: light;
  --floy-surface: #ffffff;
  --floy-surface-soft: #f7f8fa;
  --floy-surface-muted: #eef2f7;
  --floy-page: #fbfbfa;
  --floy-text: #111827;
  --floy-text-soft: #4b5563;
  --floy-text-muted: #6b7280;
  --floy-border: rgba(15, 23, 42, 0.08);
  --floy-border-strong: rgba(15, 23, 42, 0.14);
  --floy-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --floy-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --floy-shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.16);
  --floy-radius: 10px;
  --floy-radius-sm: 8px;
  --floy-ease: cubic-bezier(.2,.8,.2,1);
}
body.floy-modern {
  background:
    radial-gradient(circle at 18% 12%, rgba(15, 107, 76, 0.08), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(37, 229, 150, 0.08), transparent 24%),
    var(--floy-page) !important;
  color: var(--floy-text);
}

body.floy-modern .main {
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.92), var(--floy-surface) 220px);
  color: var(--floy-text);
}
body.floy-modern .main-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--floy-border);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
body.floy-modern .project-title,
body.floy-modern h1 {
  letter-spacing: 0;
  color: var(--floy-text);
}

body.floy-modern .view-switch,
body.floy-modern .filters-bar,
body.floy-modern .stats-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}
body.floy-modern .switch-btn {
  border-radius: 999px;
  transition: background .18s var(--floy-ease), color .18s var(--floy-ease), transform .18s var(--floy-ease);
}

body.floy-modern .switch-btn:hover {
  transform: translateY(-1px);
}

body.floy-modern .switch-btn.active {
  background: #fff;
  color: #111827;
  border-color: rgba(15, 23, 42, .12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}
body.floy-modern .btn,
body.floy-modern button {
  transition:
    transform .16s var(--floy-ease),
    background .16s var(--floy-ease),
    border-color .16s var(--floy-ease),
    box-shadow .16s var(--floy-ease);
}

body.floy-modern .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--floy-shadow-sm);
}

body.floy-modern .btn {
  background: var(--floy-surface);
  color: var(--floy-text);
  border-color: var(--floy-border);
}
body.floy-modern .btn.green {
  background: linear-gradient(135deg, var(--brand-color, #0f6b4c), #0a523a);
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(15, 107, 76, 0.18);
}

body.floy-modern .btn.green:hover {
  box-shadow: 0 12px 28px rgba(15, 107, 76, 0.26);
}

body.floy-modern .kanban {
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}
body.floy-modern .kanban-col {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--floy-border);
  border-radius: 12px;
  box-shadow: var(--floy-shadow-sm);
  backdrop-filter: blur(10px);
}
body.floy-modern .kanban-col-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--floy-border);
  border-radius: 12px 12px 0 0;
}
body.floy-modern .kanban-col-count {
  background: #eef2f7;
  color: #334155;
  border: 1px solid var(--floy-border);
}
body.floy-modern .kanban-card {
  background: var(--floy-surface);
  color: var(--floy-text);
  border: 1px solid var(--floy-border);
  border-radius: 10px;
  box-shadow: var(--floy-shadow-sm);
  overflow: hidden;
  isolation: isolate;
  animation: floyCardIn .26s var(--floy-ease) both;
}
body.floy-modern .kanban-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-color, #0f6b4c), #25e596);
  opacity: .8;
}

body.floy-modern .kanban-card:hover {
  border-color: var(--floy-border-strong);
  box-shadow: var(--floy-shadow-md);
  transform: translateY(-3px);
}

body.floy-modern .kanban-card:active {
  transform: scale(1.015);
}

body.floy-modern .task-row {
  background: var(--floy-surface);
  color: var(--floy-text);
  transition: transform .16s var(--floy-ease), background .16s var(--floy-ease), box-shadow .16s var(--floy-ease);
}

body.floy-modern .task-row:hover {
  transform: translateX(3px);
  box-shadow: inset 3px 0 0 var(--brand-color, #0f6b4c);
}

body.floy-modern .modal-card,
body.floy-modern .side-panel,
body.floy-modern .filter-popup,
body.floy-modern .logs-sidebar {
  background: var(--floy-surface);
  color: var(--floy-text);
  border: 1px solid var(--floy-border);
  box-shadow: var(--floy-shadow-lg);
}
body.floy-modern .card,
body.floy-modern .kpi-card,
body.floy-modern .chart-card,
body.floy-modern .stat-box,
body.floy-modern .quick-item,
body.floy-modern .campaign-card,
body.floy-modern .project-card,
body.floy-modern .note-card,
body.floy-modern .section-block {
  border: 1px solid var(--floy-border);
  border-radius: 12px;
  background: var(--floy-surface);
  box-shadow: var(--floy-shadow-sm);
  transition: transform .18s var(--floy-ease), box-shadow .18s var(--floy-ease), border-color .18s var(--floy-ease);
}

body.floy-modern .card:hover,
body.floy-modern .kpi-card:hover,
body.floy-modern .chart-card:hover,
body.floy-modern .stat-box:hover,
body.floy-modern .quick-item:hover,
body.floy-modern .campaign-card:hover,
body.floy-modern .project-card:hover,
body.floy-modern .note-card:hover,
body.floy-modern .section-block:hover {
  border-color: var(--floy-border-strong);
  box-shadow: var(--floy-shadow-md);
}

body.floy-modern .top-header,
body.floy-modern .tabs-area,
body.floy-modern .toolbar,
body.floy-modern .page-header {
  backdrop-filter: blur(14px);
}

body.floy-modern .empty-state,
body.floy-modern .empty-placeholder,
body.floy-modern .log-empty {
  border: 1px dashed var(--floy-border-strong);
  border-radius: 12px;
  background: rgba(255,255,255,.52);
  color: var(--floy-text-muted) !important;
}
body.floy-modern table,
body.floy-modern .grid-layout,
body.floy-modern .comm-table {
  border-color: var(--floy-border);
}

body.floy-modern th,
body.floy-modern .header-cell {
  font-weight: 800;
  letter-spacing: .01em;
}

body.floy-modern .badge,
body.floy-modern .pill,
body.floy-modern .tag {
  border-radius: 999px;
}

body.floy-modern .modal-backdrop,
body.floy-modern .logs-overlay {
  backdrop-filter: blur(7px);
}
body.floy-modern input:not([type="checkbox"]):not(.colored-attribution):not(#fieldAtribuicao),
body.floy-modern textarea,
body.floy-modern select:not(.badge-select):not(.status-select),
body.floy-modern .clean-input:not(#fieldAtribuicao),
body.floy-modern .search-input {
  background-color: var(--floy-surface);
  color: var(--floy-text);
  border-color: var(--floy-border);
  transition: border-color .16s var(--floy-ease), box-shadow .16s var(--floy-ease), background .16s var(--floy-ease);
}
body.floy-modern input:not([type="checkbox"]):not(.colored-attribution):not(#fieldAtribuicao):focus,
body.floy-modern textarea:focus,
body.floy-modern select:not(.badge-select):not(.status-select):focus,
body.floy-modern .clean-input:not(#fieldAtribuicao):focus,
body.floy-modern .search-input:focus {
  border-color: rgba(15, 107, 76, .45);
  box-shadow: 0 0 0 4px rgba(15, 107, 76, .11);
}
body.floy-modern .dashboard,
body.floy-modern .login-box,
body.floy-modern .login-card {
  background: rgba(255,255,255,.88);
  color: var(--floy-text);
  border: 1px solid var(--floy-border);
  box-shadow: var(--floy-shadow-lg);
}
.floy-completing {
  animation: floyCompletePulse .72s var(--floy-ease) both;
}

.floy-completed-row {
  background: linear-gradient(90deg, rgba(37, 229, 150, .14), transparent) !important;
}

.floy-celebration-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  overflow: hidden;
}

.floy-confetti-piece {
  position: absolute;
  top: -18px;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  opacity: .95;
  transform: rotate(var(--spin, 0deg));
  animation: floyConfettiFall var(--duration, 1100ms) var(--floy-ease) forwards;
}

.floy-burst-piece {
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color);
  transform: translate(-50%, -50%);
  animation: floyBurst .82s var(--floy-ease) forwards;
}

.floy-check-pop {
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #0f6b4c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(15, 107, 76, .32);
  transform: translate(-50%, -50%);
  animation: floyCheckPop .95s var(--floy-ease) forwards;
}

.floy-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: 12px;
  color: #fff;
  background: #111827;
  box-shadow: var(--floy-shadow-lg);
  transform: translateY(22px) scale(.96);
  opacity: 0;
  animation: floyToastIn .24s var(--floy-ease) forwards;
}

.floy-toast.success {
  background: linear-gradient(135deg, #0f6b4c, #0a523a);
}

.floy-toast.hide {
  animation: floyToastOut .2s ease forwards;
}

.floy-ai-launcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147481999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(15, 107, 76, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--floy-text);
  box-shadow: var(--floy-shadow-md);
  backdrop-filter: blur(16px);
  cursor: pointer;
  overflow: visible;
  transition: box-shadow .2s var(--floy-ease), transform .2s var(--floy-ease), border-color .2s var(--floy-ease);
}

.floy-ai-launcher::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -7px;
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: rgba(4, 52, 39, .18);
  filter: blur(8px);
  animation: flyLauncherShadow 3.4s ease-in-out infinite;
  pointer-events: none;
}

.floy-ai-launcher span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 22%, rgba(37, 229, 150, .22), transparent 54%),
    linear-gradient(135deg, #0f6b4c, #073f31);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 18px rgba(15,107,76,.22);
  overflow: hidden;
}

.floy-ai-launcher-robot img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transform: scale(1.22) translateY(2px);
  transform-origin: 50% 68%;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.18));
  animation: flyLauncherFloat 3.4s ease-in-out infinite;
}

.floy-ai-launcher strong {
  font-size: 13px;
  font-weight: 800;
}

.floy-ai-launcher:hover {
  transform: translateY(-2px);
  box-shadow: var(--floy-shadow-lg);
  border-color: rgba(15, 107, 76, .34);
}

.floy-ai-launcher:hover .floy-ai-launcher-robot img,
.floy-ai-launcher:hover::after {
  animation-play-state: paused;
}

@media (min-width: 901px) {
  body.floy-modern.floy-has-sidebar:not(.floy-sidebar-collapsed) .floy-ai-launcher {
    left: calc(var(--sidebar-width, 260px) + 18px);
  }

  body.floy-modern.floy-has-sidebar.floy-sidebar-collapsed .floy-ai-launcher {
    left: calc(var(--sidebar-collapsed, 64px) + 18px);
  }
}

.floy-ai-panel {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 2147482500;
  width: min(430px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 98px));
  display: grid;
  grid-template-rows: auto auto minmax(160px, 1fr) auto;
  overflow: visible;
  border: 1px solid var(--floy-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: var(--floy-text);
  box-shadow: var(--floy-shadow-lg);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.97);
  transition: opacity .2s var(--floy-ease), transform .2s var(--floy-ease);
}

.floy-ai-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floy-ai-header {
  position: relative;
  min-height: 134px;
  padding: 24px 18px 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 229, 150, .20), transparent 34%),
    linear-gradient(135deg, rgba(15, 107, 76, .10), rgba(59, 130, 246, .06));
  border-bottom: 1px solid var(--floy-border);
}

.floy-ai-robot-stage {
  position: absolute;
  top: -90px;
  right: 92px;
  width: 142px;
  height: 168px;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(.92);
  transition: opacity .25s var(--floy-ease), transform .25s var(--floy-ease);
}

.floy-ai-robot-stage::before {
  content: "";
  position: absolute;
  inset: 20px 16px 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,229,150,.34), rgba(15,107,76,.08) 48%, transparent 70%);
  filter: blur(18px);
  transform: translateY(34px) scale(.72);
  opacity: .78;
}

.floy-ai-robot-stage img {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(4, 52, 39, .28));
  transform-origin: 50% 65%;
}

.floy-ai-panel.open .floy-ai-robot-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: flyRobotHover 2.8s ease-in-out infinite;
}

.floy-ai-panel.open .floy-ai-robot-stage img {
  animation: flyRobotFloat 2.8s ease-in-out infinite;
}

.floy-ai-panel.open .floy-ai-robot-stage::before {
  animation: flyRobotGlow 2.8s ease-in-out infinite;
}

@keyframes flyLauncherFloat {
  0%, 100% { transform: scale(1.22) translate3d(0, 2px, 0) rotate(-2deg); }
  36% { transform: scale(1.27) translate3d(2px, -5px, 0) rotate(2deg); }
  68% { transform: scale(1.24) translate3d(-2px, -1px, 0) rotate(-1deg); }
}

@keyframes flyLauncherShadow {
  0%, 100% { opacity: .42; transform: translateX(0) scaleX(.82); }
  36% { opacity: .22; transform: translateX(2px) scaleX(.62); }
  68% { opacity: .32; transform: translateX(-1px) scaleX(.74); }
}

@keyframes flyRobotHover {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -24px, 0) scale(1); }
}

@keyframes flyRobotFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg) scale(1); }
  50% { transform: translate3d(5px, 0, 0) rotate(2deg) scale(1.025); }
}

@keyframes flyRobotGlow {
  0%, 100% { opacity: .50; transform: translate3d(0, 40px, 0) scale(.76); }
  50% { opacity: .86; transform: translate3d(0, 58px, 0) scale(.54); }
}

@media (max-width: 520px) {
  .floy-ai-header {
    min-height: 126px;
    padding-top: 20px;
  }

  .floy-ai-robot-stage {
    top: -72px;
    right: 66px;
    width: 112px;
    height: 138px;
  }

  .floy-ai-robot-stage img {
    width: 106px;
    height: 132px;
  }
}

.floy-ai-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 107, 76, .10);
  color: var(--brand-color, #0f6b4c);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.floy-ai-header h2 {
  margin: 10px 34px 4px 0;
  font-size: 20px;
  line-height: 1.15;
  color: var(--floy-text);
}

.floy-ai-header p {
  max-width: 340px;
  margin: 0;
  color: var(--floy-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.floy-ai-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--floy-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: var(--floy-text-muted);
  cursor: pointer;
}

.floy-ai-chips {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--floy-border);
}

.floy-ai-chips button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--floy-border);
  border-radius: 999px;
  background: var(--floy-surface);
  color: var(--floy-text-soft);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.floy-ai-chips button:hover {
  color: var(--floy-text);
  border-color: rgba(15, 107, 76, .28);
  background: rgba(15, 107, 76, .07);
}

.floy-ai-chips button.is-active {
  color: #0f5138;
  border-color: rgba(37, 229, 150, .48);
  background: rgba(37, 229, 150, .16);
  box-shadow: inset 0 0 0 1px rgba(37, 229, 150, .16);
}

.floy-ai-chips .floy-ai-chip-primary {
  background: linear-gradient(135deg, #0f6b4c, #0a523a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(15, 107, 76, .18);
}

.floy-ai-chips .floy-ai-chip-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #137a57, #0f6b4c);
}

.floy-ai-output {
  min-height: 180px;
  overflow: auto;
  padding: 14px;
}

.floy-ai-chat {
  display: grid;
  gap: 12px;
}

.floy-ai-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 100%;
}

.floy-ai-message.user {
  justify-content: flex-end;
}

.floy-ai-message.fly {
  justify-content: flex-start;
}

.floy-ai-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 20%, rgba(37,229,150,.22), transparent 55%),
    linear-gradient(135deg, #0f6b4c, #073f31);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 18px rgba(15,107,76,.16);
  overflow: hidden;
}

.floy-ai-avatar img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transform: scale(1.22) translateY(2px);
}

.floy-ai-bubble {
  max-width: min(100%, 340px);
  padding: 0;
  border-radius: 16px;
  color: var(--floy-text);
}

.floy-ai-message.user .floy-ai-bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(135deg, #0f6b4c, #0a523a);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 10px 22px rgba(15,107,76,.16);
}

.floy-ai-message.fly .floy-ai-bubble {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.floy-ai-result,
.floy-ai-empty,
.floy-ai-advice,
.floy-ai-loading {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--floy-border);
  border-radius: 12px;
  background: var(--floy-surface);
  box-shadow: var(--floy-shadow-sm);
}

.floy-ai-result strong,
.floy-ai-empty strong,
.floy-ai-advice strong {
  color: var(--floy-text);
  font-size: 14px;
}

.floy-ai-result span,
.floy-ai-empty span,
.floy-ai-advice span {
  color: var(--floy-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.floy-ai-loading {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.floy-ai-loading > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(15, 107, 76, .16);
  border-top-color: var(--brand-color, #0f6b4c);
  animation: floySpin .8s linear infinite;
}

.floy-ai-loading strong {
  display: block;
  color: var(--floy-text);
  font-size: 14px;
}

.floy-ai-loading em {
  display: block;
  margin-top: 3px;
  color: var(--floy-text-muted);
  font-size: 12px;
  font-style: normal;
}

.floy-ai-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.floy-ai-metric {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--floy-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .025), transparent), var(--floy-surface);
  text-align: center;
}

.floy-ai-metric strong {
  display: block;
  color: var(--floy-text);
  font-size: 20px;
  line-height: 1;
}

.floy-ai-metric span {
  display: block;
  margin-top: 5px;
  color: var(--floy-text-muted);
  font-size: 11px;
  font-weight: 800;
}

.floy-ai-metric.danger strong {
  color: #ef4444;
}

.floy-ai-metric.warn strong {
  color: #f59e0b;
}

.floy-ai-period-panel {
  display: grid;
  gap: 10px;
  margin: 2px 0 10px;
  padding: 12px;
  border: 1px solid rgba(15, 107, 76, .14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(15, 107, 76, .09), rgba(37, 229, 150, .06)),
    var(--floy-surface);
  box-shadow: var(--floy-shadow-sm);
}

.floy-ai-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--floy-text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.floy-ai-period-head strong {
  color: var(--brand-color, #0f6b4c);
  font-size: 12px;
}

.floy-ai-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
}

.floy-ai-progress span {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-color, #0f6b4c), #25e596);
}

.floy-ai-period-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.floy-ai-period-grid span {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--floy-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .74);
  color: var(--floy-text-muted);
  font-size: 11px;
  font-weight: 800;
}

.floy-ai-period-grid strong {
  display: block;
  margin-bottom: 2px;
  color: var(--floy-text);
  font-size: 18px;
  line-height: 1;
}

.floy-ai-period-focus {
  display: grid;
  gap: 3px;
  padding-top: 2px;
}

.floy-ai-period-focus strong {
  color: var(--floy-text);
  font-size: 12px;
}

.floy-ai-period-focus span {
  color: var(--floy-text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.floy-ai-task-list {
  display: grid;
  gap: 8px;
}

.floy-ai-task {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--floy-border);
  border-radius: 12px;
  background: var(--floy-surface);
  box-shadow: var(--floy-shadow-sm);
  animation: floyCardIn .22s var(--floy-ease) both;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.floy-ai-task:hover {
  transform: translateY(-2px);
  border-color: var(--floy-border-strong);
  box-shadow: var(--floy-shadow-md);
}

.floy-ai-task strong {
  display: block;
  color: var(--floy-text);
  font-size: 13px;
  line-height: 1.35;
}

.floy-ai-task span {
  display: block;
  color: var(--floy-text-muted);
  font-size: 12px;
}

.floy-ai-task .floy-ai-project {
  margin-top: 4px;
  color: var(--brand-color, #0f6b4c);
  font-weight: 800;
}

.floy-ai-project-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px;
  margin: -2px -2px 2px;
  border: 1px solid var(--floy-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(15, 107, 76, .055), transparent), var(--floy-surface-soft);
  color: inherit;
  text-decoration: none;
}

.floy-ai-project-row:hover {
  border-color: rgba(15, 107, 76, .26);
  background: rgba(15, 107, 76, .075);
}

.floy-ai-project-row.is-disabled {
  cursor: default;
  opacity: .78;
}

.floy-ai-project-row.is-disabled:hover {
  border-color: var(--floy-border);
  background: var(--floy-surface-soft);
}

.floy-ai-project-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.floy-ai-project-icon img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.floy-ai-project-row small {
  display: block;
  color: var(--floy-text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.floy-ai-project-row strong {
  margin-top: 1px;
  color: var(--floy-text);
  font-size: 13px;
}

.floy-ai-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.floy-ai-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--floy-border);
  border-radius: 999px;
  background: var(--floy-surface-soft);
  color: var(--floy-text-soft);
  font-size: 11px;
  font-weight: 800;
}

.floy-ai-badge.danger {
  border-color: rgba(239, 68, 68, .24);
  background: rgba(239, 68, 68, .10);
  color: #dc2626;
}

.floy-ai-open-task {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.floy-ai-open-task:hover {
  background: var(--brand-color, #0f6b4c);
}

.floy-ai-advice {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(15, 107, 76, .09), rgba(37, 229, 150, .07)), var(--floy-surface);
}

.floy-ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--floy-border);
  background: rgba(255, 255, 255, .74);
}

.floy-ai-input {
  min-width: 0;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 13px;
}

.floy-ai-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f6b4c, #0a523a);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
@keyframes floyCardIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floyCompletePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 229, 150, 0); }
  35% { transform: scale(1.018); box-shadow: 0 0 0 7px rgba(37, 229, 150, .15); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 229, 150, 0); }
}

@keyframes floyConfettiFall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift), 112vh, 0) rotate(var(--spin)); opacity: 0; }
}

@keyframes floyBurst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.75); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.1); }
}

@keyframes floyCheckPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.55) rotate(-12deg); }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1.08) rotate(4deg); }
  72% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
  100% { opacity: 0; transform: translate(-50%, -78%) scale(.92); }
}

@keyframes floyToastIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floyToastOut {
  to { opacity: 0; transform: translateY(16px) scale(.97); }
}

@keyframes floySpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .floy-ai-launcher {
    left: 12px;
    bottom: 12px;
    padding-right: 10px;
  }

  .floy-ai-launcher strong {
    display: none;
  }

  .floy-ai-panel {
    left: 10px;
    right: 10px;
    bottom: 66px;
    width: auto;
    max-height: calc(100vh - 86px);
    border-radius: 14px;
  }

  .floy-ai-header {
    padding: 20px 16px 16px;
  }

  .floy-ai-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floy-ai-form {
    grid-template-columns: 1fr;
  }
}

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

/* Floy visual refresh v2 */
:root {
  --floy-brand: var(--brand-color, #0f6b4c);
  --floy-brand-strong: #0a523a;
  --floy-brand-soft: rgba(15, 107, 76, .10);
  --floy-surface-raised: rgba(255, 255, 255, .88);
  --floy-surface-glass: rgba(255, 255, 255, .72);
  --floy-input: #ffffff;
  --floy-row-hover: rgba(15, 107, 76, .055);
  --floy-focus: 0 0 0 4px rgba(15, 107, 76, .12);
}
body.floy-modern {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.floy-modern .app,
body.floy-modern .main,
body.floy-modern .main-content,
body.floy-modern .content-area,
body.floy-modern .page,
body.floy-modern .page-content,
body.floy-modern .workspace,
body.floy-modern .board,
body.floy-modern .board-area,
body.floy-modern .dashboard-content,
body.floy-modern .dashboard-main {
  color: var(--floy-text);
}
body.floy-modern .main-header,
body.floy-modern .top-header,
body.floy-modern .page-header,
body.floy-modern .toolbar,
body.floy-modern .filters-bar,
body.floy-modern .cal-toolbar,
body.floy-modern .tabs-area,
body.floy-modern .footer-bar,
body.floy-modern .view-switch {
  border-color: var(--floy-border) !important;
  background: var(--floy-surface-glass) !important;
  color: var(--floy-text) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .48) inset, var(--floy-shadow-sm);
  backdrop-filter: blur(18px);
}
body.floy-modern .card,
body.floy-modern .project-card,
body.floy-modern .kpi-card,
body.floy-modern .chart-card,
body.floy-modern .stat-box,
body.floy-modern .note-card,
body.floy-modern .quick-item,
body.floy-modern .campaign-card,
body.floy-modern .section-block,
body.floy-modern .panel,
body.floy-modern .member,
body.floy-modern .comment-body,
body.floy-modern .subtask-item,
body.floy-modern .log-item,
body.floy-modern .occurrence-card,
body.floy-modern .goal-card,
body.floy-modern .meta-card {
  border: 1px solid var(--floy-border) !important;
  background: var(--floy-surface-raised) !important;
  color: var(--floy-text) !important;
  box-shadow: var(--floy-shadow-sm);
}

body.floy-modern .card,
body.floy-modern .project-card,
body.floy-modern .kpi-card,
body.floy-modern .chart-card,
body.floy-modern .stat-box,
body.floy-modern .note-card,
body.floy-modern .quick-item,
body.floy-modern .campaign-card,
body.floy-modern .section-block,
body.floy-modern .panel,
body.floy-modern .goal-card,
body.floy-modern .meta-card {
  border-radius: 12px !important;
}

body.floy-modern .card:hover,
body.floy-modern .project-card:hover,
body.floy-modern .kpi-card:hover,
body.floy-modern .chart-card:hover,
body.floy-modern .stat-box:hover,
body.floy-modern .quick-item:hover,
body.floy-modern .campaign-card:hover,
body.floy-modern .goal-card:hover,
body.floy-modern .meta-card:hover {
  border-color: var(--floy-border-strong) !important;
  box-shadow: var(--floy-shadow-md);
  transform: translateY(-1px);
}

body.floy-modern .modal-card,
body.floy-modern .side-panel,
body.floy-modern .filter-popup,
body.floy-modern .user-picker-popup,
body.floy-modern .dependency-suggestions,
body.floy-modern .suggestions-box,
body.floy-modern .logs-sidebar,
body.floy-modern .dropdown-menu,
body.floy-modern .popover {
  border: 1px solid var(--floy-border) !important;
  background: var(--floy-surface) !important;
  color: var(--floy-text) !important;
  box-shadow: var(--floy-shadow-lg) !important;
}

body.floy-modern .modal-card,
body.floy-modern .filter-popup,
body.floy-modern .user-picker-popup,
body.floy-modern .dependency-suggestions,
body.floy-modern .suggestions-box,
body.floy-modern .dropdown-menu,
body.floy-modern .popover {
  border-radius: 12px !important;
}

body.floy-modern .side-panel .panel-header,
body.floy-modern .side-panel .panel-body,
body.floy-modern .side-panel .panel-footer,
body.floy-modern .panel-footer-fixed,
body.floy-modern .modal-header-clean,
body.floy-modern .modal-body-clean,
body.floy-modern .modal-footer-clean {
  border-color: var(--floy-border) !important;
  background: transparent !important;
  color: var(--floy-text) !important;
}

body.floy-modern input:not([type="checkbox"]):not([type="radio"]):not(.colored-attribution):not(#fieldAtribuicao),
body.floy-modern textarea,
body.floy-modern select:not(.badge-select):not(.status-select),
body.floy-modern .clean-input:not(#fieldAtribuicao),
body.floy-modern .search-input,
body.floy-modern .comment-input,
body.floy-modern .cell-input:not(.colored-attribution),
body.floy-modern .cell-select:not(.badge-select):not(.status-select),
body.floy-modern [contenteditable="true"] {
  background: var(--floy-input) !important;
  color: var(--floy-text) !important;
  border-color: var(--floy-border) !important;
  caret-color: var(--floy-brand);
}

body.floy-modern input:not([type="checkbox"]):not([type="radio"]):not(.colored-attribution):not(#fieldAtribuicao):focus,
body.floy-modern textarea:focus,
body.floy-modern select:not(.badge-select):not(.status-select):focus,
body.floy-modern .clean-input:not(#fieldAtribuicao):focus,
body.floy-modern .search-input:focus,
body.floy-modern .comment-input:focus,
body.floy-modern .cell-input:not(.colored-attribution):focus,
body.floy-modern .cell-select:not(.badge-select):not(.status-select):focus,
body.floy-modern [contenteditable="true"]:focus {
  border-color: rgba(15, 107, 76, .48) !important;
  box-shadow: var(--floy-focus) !important;
  outline: none !important;
}
body.floy-modern .btn,
body.floy-modern .icon-btn,
body.floy-modern .filter-btn-toggle,
body.floy-modern .switch-btn,
body.floy-modern .quick-add-btn,
body.floy-modern .section-toggle {
  border-color: var(--floy-border) !important;
}

body.floy-modern .btn:not(.green):not(.danger):not(.btn-danger),
body.floy-modern .icon-btn,
body.floy-modern .filter-btn-toggle {
  background: var(--floy-surface) !important;
  color: var(--floy-text) !important;
}

body.floy-modern .btn:not(.green):not(.danger):not(.btn-danger):hover,
body.floy-modern .icon-btn:hover,
body.floy-modern .filter-btn-toggle:hover,
body.floy-modern .checkbox-item:hover,
body.floy-modern .suggestion-item:hover,
body.floy-modern .user-row:hover {
  background: var(--floy-row-hover) !important;
}

body.floy-modern .switch-btn.active,
body.floy-modern .filter-btn-toggle.active,
body.floy-modern .tab.active,
body.floy-modern .tab-btn.active {
  background: #fff !important;
  color: #111827 !important;
  border-color: rgba(15, 23, 42, .12) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

body.floy-modern .grid-layout,
body.floy-modern .grid-table,
body.floy-modern .task-table,
body.floy-modern .comm-table,
body.floy-modern table {
  border-color: var(--floy-border) !important;
  color: var(--floy-text) !important;
}

body.floy-modern .header-row,
body.floy-modern .header-cell,
body.floy-modern .grid-header,
body.floy-modern .table-header,
body.floy-modern th,
body.floy-modern thead {
  background: var(--floy-surface-muted) !important;
  color: var(--floy-text-soft) !important;
  border-color: var(--floy-border) !important;
}

body.floy-modern .task-row,
body.floy-modern .grid-row,
body.floy-modern .table-row,
body.floy-modern .cell,
body.floy-modern td,
body.floy-modern .cal-cell {
  color: var(--floy-text) !important;
  border-color: var(--floy-border) !important;
}

body.floy-modern .task-row,
body.floy-modern .grid-row,
body.floy-modern .table-row,
body.floy-modern .cal-cell {
  background: var(--floy-surface) !important;
}

body.floy-modern .task-row:hover,
body.floy-modern .grid-row:hover,
body.floy-modern .table-row:hover,
body.floy-modern .cal-cell:hover {
  background: var(--floy-row-hover) !important;
}

body.floy-modern .kanban,
body.floy-modern .cal-grid,
body.floy-modern .calendar-grid,
body.floy-modern .grid-body {
  background-color: transparent !important;
}

body.floy-modern .kanban-col,
body.floy-modern .column,
body.floy-modern .cal-grid-header {
  border-color: var(--floy-border) !important;
  background: var(--floy-surface-glass) !important;
  color: var(--floy-text) !important;
}

body.floy-modern .kanban-card,
body.floy-modern .task-card,
body.floy-modern .cal-task,
body.floy-modern .task-pill {
  background: var(--floy-surface-raised) !important;
  color: var(--floy-text) !important;
  border-color: var(--floy-border) !important;
  box-shadow: var(--floy-shadow-sm);
}

body.floy-modern .kanban-card:hover,
body.floy-modern .task-card:hover,
body.floy-modern .cal-task:hover,
body.floy-modern .task-pill:hover {
  box-shadow: var(--floy-shadow-md);
}
body.floy-modern .project-title,
body.floy-modern .card-title,
body.floy-modern .task-title,
body.floy-modern h1,
body.floy-modern h2,
body.floy-modern h3,
body.floy-modern h4,
body.floy-modern strong {
  color: var(--floy-text);
}

body.floy-modern .submeta,
body.floy-modern .small-muted,
body.floy-modern .muted,
body.floy-modern .meta,
body.floy-modern .label,
body.floy-modern label,
body.floy-modern .stat-label,
body.floy-modern .comment-meta,
body.floy-modern .quick-desc,
body.floy-modern .empty-state,
body.floy-modern .empty-placeholder {
  color: var(--floy-text-muted) !important;
}
body.floy-modern .project-header-row {
  gap: 10px;
}

body.floy-modern .project-settings-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--floy-surface) !important;
  color: var(--floy-text-soft) !important;
  border: 1px solid var(--floy-border) !important;
  box-shadow: var(--floy-shadow-sm);
}

body.floy-modern .project-settings-btn:hover {
  background: #fff !important;
  color: #111827 !important;
  border-color: rgba(15, 23, 42, .16) !important;
  transform: translateY(-1px);
}

body.floy-modern .kanban-col-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.floy-modern .kanban-col-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #fff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: var(--floy-shadow-sm);
}

body.floy-modern .kanban-col-count {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid rgba(15, 23, 42, .08);
}
body.floy-modern .panel-link-btn {
  background: var(--brand-color, #0f6b4c) !important;
  color: #fff !important;
  border-color: transparent !important;
}

body.floy-modern .panel-link-btn:hover {
  background: #0a523a !important;
}

body.floy-modern .overview-panel,
body.floy-modern .view-panel {
  background: var(--floy-surface-glass) !important;
  border-color: var(--floy-border) !important;
}

body.floy-modern .radar-list,
body.floy-modern .radar-item,
body.floy-modern .project-cell-pill,
body.floy-modern .theme-group-btn {
  color: var(--floy-text) !important;
}

body.floy-modern .radar-list {
  background: var(--floy-surface) !important;
  border-color: var(--floy-border) !important;
}

body.floy-modern .radar-item:hover,
body.floy-modern .radar-item.active,
body.floy-modern .project-cell-pill:hover {
  background: var(--floy-row-hover) !important;
  color: var(--floy-brand) !important;
}

body.floy-modern .theme-group-btn.active {
  background: var(--brand-color, #0f6b4c) !important;
  color: #fff !important;
  border-color: var(--brand-color, #0f6b4c) !important;
}

@media (max-width: 900px) {
  body.floy-modern .main-header,
  body.floy-modern .top-header,
  body.floy-modern .page-header,
  body.floy-modern .toolbar,
  body.floy-modern .filters-bar,
  body.floy-modern .cal-toolbar {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
  }

  body.floy-modern .card,
  body.floy-modern .project-card,
  body.floy-modern .kpi-card,
  body.floy-modern .chart-card,
  body.floy-modern .stat-box {
    border-radius: 10px !important;
  }
}

/* FLY assistant motion: keep the large robot visibly floating. */
.floy-ai-panel.open .floy-ai-robot-stage {
  translate: 0 0;
  will-change: translate;
  animation: flyRobotStageDance 5.2s ease-in-out infinite !important;
}

.floy-ai-panel.open .floy-ai-robot-stage img {
  will-change: transform;
  animation: flyRobotBodyDance 5.2s ease-in-out infinite !important;
}

.floy-ai-panel.open .floy-ai-robot-stage::before {
  will-change: transform, opacity;
  animation: flyRobotShadowDance 5.2s ease-in-out infinite !important;
}

@keyframes flyRobotStageDance {
  0%, 100% { translate: 0 0; }
  22% { translate: -13px -15px; }
  50% { translate: 8px -30px; }
  76% { translate: 18px -10px; }
}

@keyframes flyRobotBodyDance {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  22% { transform: rotate(2.5deg) scale(1.02); }
  50% { transform: rotate(4deg) scale(1.035); }
  76% { transform: rotate(-1.5deg) scale(1.01); }
}

@keyframes flyRobotShadowDance {
  0%, 100% { opacity: .48; transform: translate3d(0, 42px, 0) scale(.76); }
  22% { opacity: .66; transform: translate3d(8px, 50px, 0) scale(.66); }
  50% { opacity: .88; transform: translate3d(-5px, 62px, 0) scale(.52); }
  76% { opacity: .58; transform: translate3d(-12px, 47px, 0) scale(.70); }
}

/* Semantic colors: status, priority and attribution must stay expressive in both themes. */
body.floy-modern {
  --floy-prio-high-bg: #fee2e2;
  --floy-prio-high-text: #b91c1c;
  --floy-prio-high-border: #fecaca;
  --floy-prio-med-bg: #fef3c7;
  --floy-prio-med-text: #92400e;
  --floy-prio-med-border: #fde68a;
  --floy-prio-low-bg: #dcfce7;
  --floy-prio-low-text: #166534;
  --floy-prio-low-border: #bbf7d0;
  --floy-status-done-bg: #d1fae5;
  --floy-status-done-text: #065f46;
  --floy-status-done-border: #a7f3d0;
  --floy-status-progress-bg: #fef3c7;
  --floy-status-progress-text: #92400e;
  --floy-status-progress-border: #fde68a;
  --floy-status-pending-bg: #eef2f7;
  --floy-status-pending-text: #475569;
  --floy-status-pending-border: #dbe3ec;
  --floy-status-canceled-bg: #ffe4e6;
  --floy-status-canceled-text: #be123c;
  --floy-status-canceled-border: #fecdd3;
  --floy-attr-empty-bg: #f8fafc;
  --floy-attr-empty-text: #64748b;
}
body.floy-modern .badge-select,
body.floy-modern .status-select,
body.floy-modern .badge-status,
body.floy-modern .badge,
body.floy-modern .pill,
body.floy-modern .tag,
body.floy-modern .active-filter-chip,
body.floy-modern .theme-badge,
body.floy-modern .parent-badge,
body.floy-modern .overdue-badge,
body.floy-modern .subtask-qty-badge,
body.floy-modern .sprint-badge,
body.floy-modern .sprint-count-badge,
body.floy-modern .floy-ai-badge {
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 1px 2px rgba(15, 23, 42, .06);
}

body.floy-modern .badge-select {
  min-height: 24px;
  font-weight: 800 !important;
  letter-spacing: .01em;
  border-radius: 999px !important;
  background-image: none !important;
}

body.floy-modern .badge-select:hover,
body.floy-modern .status-select:hover,
body.floy-modern .badge:hover {
  filter: brightness(.98) saturate(1.04);
}

body.floy-modern .prio-high,
body.floy-modern .pill-prio-alta,
body.floy-modern .tag-high,
body.floy-modern .priority-high,
body.floy-modern .badge-select.prio-high,
body.floy-modern .badge.prio-high {
  background: var(--floy-prio-high-bg) !important;
  color: var(--floy-prio-high-text) !important;
  border-color: var(--floy-prio-high-border) !important;
}

body.floy-modern .prio-med,
body.floy-modern .pill-prio-media,
body.floy-modern .tag-med,
body.floy-modern .priority-medium,
body.floy-modern .badge-select.prio-med,
body.floy-modern .badge.prio-med {
  background: var(--floy-prio-med-bg) !important;
  color: var(--floy-prio-med-text) !important;
  border-color: var(--floy-prio-med-border) !important;
}

body.floy-modern .prio-low,
body.floy-modern .pill-prio-baixa,
body.floy-modern .tag-low,
body.floy-modern .priority-low,
body.floy-modern .badge-select.prio-low,
body.floy-modern .badge.prio-low {
  background: var(--floy-prio-low-bg) !important;
  color: var(--floy-prio-low-text) !important;
  border-color: var(--floy-prio-low-border) !important;
}

body.floy-modern .status-done,
body.floy-modern .status-true,
body.floy-modern .badge-status.status-true,
body.floy-modern .badge-select.status-done {
  background: var(--floy-status-done-bg) !important;
  color: var(--floy-status-done-text) !important;
  border-color: var(--floy-status-done-border) !important;
}

body.floy-modern .status-progress,
body.floy-modern .badge-select.status-progress,
body.floy-modern .st-interessado {
  background: var(--floy-status-progress-bg) !important;
  color: var(--floy-status-progress-text) !important;
  border-color: var(--floy-status-progress-border) !important;
}

body.floy-modern .status-pending,
body.floy-modern .status-false,
body.floy-modern .badge-status.status-false,
body.floy-modern .badge-select.status-pending,
body.floy-modern .st-aguardando {
  background: var(--floy-status-pending-bg) !important;
  color: var(--floy-status-pending-text) !important;
  border-color: var(--floy-status-pending-border) !important;
}

body.floy-modern .status-canceled,
body.floy-modern .badge-select.status-canceled,
body.floy-modern .st-rejeitado {
  background: var(--floy-status-canceled-bg) !important;
  color: var(--floy-status-canceled-text) !important;
  border-color: var(--floy-status-canceled-border) !important;
}

body.floy-modern .status-select {
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding-inline: 10px !important;
}

body.floy-modern .colored-attribution,
body.floy-modern #fieldAtribuicao {
  border-radius: 8px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .46), 0 1px 2px rgba(15, 23, 42, .06) !important;
  transition: background-color .22s var(--floy-ease), border-color .18s var(--floy-ease), color .18s var(--floy-ease), box-shadow .18s var(--floy-ease) !important;
}

body.floy-modern .colored-attribution:not(:placeholder-shown) {
  color: #0f172a !important;
}

body.floy-modern .colored-attribution:placeholder-shown {
  background: var(--floy-attr-empty-bg) !important;
  color: var(--floy-attr-empty-text) !important;
}
body.floy-modern .overdue-badge,
body.floy-modern .occ-warning-badge {
  background: var(--floy-status-canceled-bg) !important;
  color: var(--floy-status-canceled-text) !important;
  border-color: var(--floy-status-canceled-border) !important;
}

body.floy-modern .parent-badge.blocked {
  background: var(--floy-status-progress-bg) !important;
  color: var(--floy-status-progress-text) !important;
  border-color: var(--floy-status-progress-border) !important;
}

body.floy-modern .parent-badge.freed {
  background: var(--floy-status-done-bg) !important;
  color: var(--floy-status-done-text) !important;
  border-color: var(--floy-status-done-border) !important;
}
