  /* ============= DASHBOARD (Cadence) ============= */
  .cf-dash { max-width: 860px; margin: 0 auto; }
  .cf-dash-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--cf-radius-lg); margin-bottom: 16px; background: var(--cf-bg-card); border: 1px solid var(--cf-border-subtle); position: relative; overflow: hidden; }
  .cf-dash-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
  .cf-dash-hero-alert::before { background: var(--cf-atrasado, #EF4444); }
  .cf-dash-hero-warn::before { background: #F59E0B; }
  .cf-dash-hero-ok::before { background: var(--cf-aberto, #22C55E); }
  .cf-dash-greeting { font-size: 14px; color: var(--cf-text-muted); font-weight: 500; margin-bottom: 3px; }
  .cf-dash-pulso { font-size: 21px; font-weight: 700; color: var(--cf-text); line-height: 1.25; }
  .cf-dash-pulso strong { color: var(--cf-text); }
  .cf-dash-hero-alert .cf-dash-pulso strong { color: var(--cf-atrasado, #EF4444); }
  .cf-dash-foco-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--cf-bg-subtle); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-pill); font-size: 12.5px; font-weight: 600; color: var(--cf-text-secondary); cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.12s; }
  .cf-dash-foco-toggle:hover { background: var(--cf-bg-hover); color: var(--cf-text); }
  .cf-dash-hero-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

  .cf-dash-progress { background: var(--cf-bg-card); border: 1px solid var(--cf-border-subtle); border-radius: var(--cf-radius-md); padding: 14px 18px; margin-bottom: 16px; }
  .cf-dash-progress-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cf-text-muted); margin-bottom: 8px; }
  .cf-dash-progress-pct { font-size: 14px; color: var(--cf-accent-text); }
  .cf-dash-progress-bar { height: 8px; background: var(--cf-bg-subtle); border-radius: 4px; overflow: hidden; }
  .cf-dash-progress-fill { height: 100%; background: linear-gradient(90deg, var(--cf-accent), #A78BFA); border-radius: 4px; transition: width 0.4s ease-out; }
  .cf-dash-progress-sub { font-size: 12px; color: var(--cf-text-muted); margin-top: 7px; }

  .cf-dash-section { margin-bottom: 18px; }
  .cf-dash-section-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
  .cf-dash-section-icon { display: inline-flex; color: var(--cf-atrasado, #EF4444); }
  .cf-dash-section-title { font-size: 15px; font-weight: 700; color: var(--cf-text); margin: 0; }
  .cf-dash-section-count { background: var(--cf-atrasado, #EF4444); color: #fff; min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--cf-radius-pill); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
  .cf-dash-list { display: flex; flex-direction: column; gap: 8px; }

  .cf-dash-acao { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--cf-bg-card); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-md); cursor: pointer; transition: all 0.12s; }
  .cf-dash-acao:hover { border-color: var(--cf-border-strong); box-shadow: var(--cf-shadow-sm); }
  .cf-dash-acao.is-late { border-left: 3px solid var(--cf-atrasado, #EF4444); }
  .cf-dash-acao-tipo { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--tipo-color, #888); padding: 3px 8px; border-radius: 4px; flex-shrink: 0; }
  .cf-dash-acao-body { flex: 1; min-width: 0; }
  .cf-dash-acao-title { font-size: 14px; font-weight: 600; color: var(--cf-text); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cf-dash-acao-num { color: var(--cf-text-muted); font-weight: 500; }
  .cf-dash-acao-meta { font-size: 12px; color: var(--cf-text-muted); margin-top: 2px; }
  .cf-dash-urg-late { color: var(--cf-atrasado, #EF4444); font-weight: 700; }
  .cf-dash-urg-today { color: var(--cf-accent-text); font-weight: 700; }
  .cf-dash-acao-owner { width: 24px; height: 24px; border-radius: 50%; background: var(--cf-accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .cf-dash-acao-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; background: var(--cf-bg-subtle); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-sm); font-size: 12px; font-weight: 600; color: var(--cf-text-secondary); cursor: pointer; font-family: inherit; flex-shrink: 0; transition: all 0.12s; }
  .cf-dash-acao-btn:hover { background: var(--cf-aberto, #22C55E); border-color: var(--cf-aberto, #22C55E); color: #fff; }

  .cf-dash-allclear { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px; background: var(--cf-bg-card); border: 1px dashed var(--cf-border); border-radius: var(--cf-radius-lg); color: var(--cf-aberto, #22C55E); font-size: 15px; font-weight: 600; margin-bottom: 18px; }

  .cf-dash-week { background: var(--cf-bg-card); border: 1px solid var(--cf-border-subtle); border-radius: var(--cf-radius-md); padding: 14px 18px; }
  .cf-dash-week-summary { display: flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; list-style: none; }
  .cf-dash-week-summary::-webkit-details-marker { display: none; }
  .cf-dash-week-summary .cf-dash-section-count { background: var(--cf-text-muted); }
  .cf-dash-week-summary::before { content: '▸'; color: var(--cf-text-muted); transition: transform 0.15s; display: inline-block; }
  .cf-dash-week[open] .cf-dash-week-summary::before { transform: rotate(90deg); }

  /* Seletor de identidade */
  .cf-dash-identify { max-width: 420px; margin: 48px auto 0; text-align: center; background: var(--cf-bg-card); border: 1px solid var(--cf-border-subtle); border-radius: var(--cf-radius-lg); padding: 32px 28px; }
  .cf-dash-identify-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cf-accent-bg); color: var(--cf-accent-text); margin-bottom: 14px; }
  .cf-dash-identify-title { font-size: 19px; font-weight: 700; color: var(--cf-text); margin: 0 0 6px; }
  .cf-dash-identify-sub { font-size: 13.5px; color: var(--cf-text-muted); margin: 0 0 20px; line-height: 1.5; }
  .cf-dash-identify-list { display: flex; flex-direction: column; gap: 8px; }
  .cf-dash-identify-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--cf-bg-subtle); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-md); font-size: 14px; font-weight: 600; color: var(--cf-text); cursor: pointer; font-family: inherit; transition: all 0.12s; text-align: left; }
  .cf-dash-identify-btn:hover { background: var(--cf-accent-bg); border-color: var(--cf-accent); }

  /* Abas Conteúdo/Tarefa no form de criação */
  .cf-form-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: var(--cf-bg-subtle); padding: 4px; border-radius: var(--cf-radius-md); border: 1px solid var(--cf-border-subtle); }
  .cf-form-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; background: transparent; border: none; border-radius: var(--cf-radius-sm); font-size: 13.5px; font-weight: 600; color: var(--cf-text-secondary); cursor: pointer; font-family: inherit; transition: all 0.12s; }
  .cf-form-tab:hover { color: var(--cf-text); }
  .cf-form-tab.active { background: var(--cf-bg-card); color: var(--cf-accent-text); box-shadow: var(--cf-shadow-xs); }
  .cf-link-open { font-size: 11px; font-weight: 600; color: var(--cf-accent); text-decoration: none; margin-left: 6px; }
  .cf-link-open:hover { text-decoration: underline; }
  .cf-form-extra { margin-top: 14px; border-top: 1px solid var(--cf-border-subtle); padding-top: 12px; }
  .cf-form-extra summary { font-size: 13px; font-weight: 600; color: var(--cf-text-secondary); cursor: pointer; user-select: none; }
  .cf-form-extra summary:hover { color: var(--cf-text); }
  .cf-kanban-card.dragging { opacity: 0.4; cursor: grabbing; }
  .cf-kanban-card.pending::after { content: ''; position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cf-accent); }
  .cf-kanban-card-top { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
  .cf-kanban-card-num { font-size: 11px; font-weight: 600; color: var(--cf-text-muted); flex-shrink: 0; }
  .cf-kanban-card-title { font-size: 13px; font-weight: 600; color: var(--cf-text); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cf-kanban-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
  .cf-kanban-card-ip { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cf-text-muted); background: var(--cf-bg-subtle); padding: 2px 6px; border-radius: 4px; }
  .cf-kanban-card-data { font-size: 11px; color: var(--cf-text-secondary); font-weight: 500; }
  .cf-kanban-card-data-today { color: var(--cf-accent); font-weight: 700; }
  .cf-kanban-card-data-late { color: var(--cf-atrasado-text); font-weight: 700; }
  .cf-kanban-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; }
  .cf-kanban-card-owner { width: 22px; height: 22px; border-radius: 50%; background: var(--cf-accent); color: white; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer; padding: 0; font-family: inherit; transition: all 0.12s; }
  .cf-kanban-card-owner:hover { transform: scale(1.08); box-shadow: 0 0 0 2px var(--cf-accent-border); }
  .cf-kanban-card-owner-empty { background: var(--cf-bg-muted); color: var(--cf-text-subtle); border: 1px dashed var(--cf-border-strong); font-size: 13px; }
  .cf-kanban-card-owner-empty:hover { background: var(--cf-accent-bg); color: var(--cf-accent); border-style: solid; border-color: var(--cf-accent); }

  /* Popover de seleção de owner */
  .cf-owner-popover { position: fixed; background: var(--cf-bg-card); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-md); box-shadow: var(--cf-shadow-lg); padding: 4px; z-index: 200; min-width: 180px; max-height: 320px; overflow-y: auto; animation: fadeIn 0.12s ease-out; }
  .cf-owner-popover-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--cf-radius-sm); cursor: pointer; font-size: 13px; color: var(--cf-text); transition: background 0.1s; border: none; background: transparent; width: 100%; text-align: left; font-family: inherit; }
  .cf-owner-popover-item:hover { background: var(--cf-bg-hover); }
  .cf-owner-popover-item.selected { background: var(--cf-accent-bg); color: var(--cf-accent-text); font-weight: 600; }
  .cf-owner-popover-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--cf-accent); color: white; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .cf-owner-popover-avatar-empty { background: var(--cf-bg-muted); color: var(--cf-text-subtle); border: 1px dashed var(--cf-border-strong); }
  .cf-owner-popover-divider { height: 1px; background: var(--cf-border-subtle); margin: 4px 0; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
  .cf-kanban-card-desc-icon { color: var(--cf-text-muted); flex-shrink: 0; }

  /* Nav bar */
  .cf-nav-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 14px; flex-wrap: wrap; }
  .cf-nav-bar-centered { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .cf-nav-bar-centered .cf-view-switcher { justify-self: center; }
  .cf-nav-bar-centered .cf-nav-arrows { justify-self: end; }
  @media (max-width: 720px) { .cf-nav-bar-centered { grid-template-columns: 1fr; justify-items: center; gap: 10px; } .cf-nav-bar-centered .cf-nav-bar-left { display: none; } }
  .cf-nav-arrows { display: flex; gap: 4px; align-items: center; }
  .cf-nav-arrows button { width: 32px; height: 32px; background: var(--cf-bg-card); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-md); cursor: pointer; font-family: inherit; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--cf-text-secondary); }
  .cf-nav-arrows button:hover { background: var(--cf-bg-hover); color: var(--cf-text); }
  .cf-nav-title { font-size: 15px; font-weight: 600; min-width: 160px; text-align: center; color: var(--cf-text); }
  .cf-btn-today { padding: 6px 12px; background: var(--cf-bg-card); border: 1px solid var(--cf-border); border-radius: var(--cf-radius-md); font-size: 13px; font-weight: 500; color: var(--cf-text-secondary); cursor: pointer; margin-left: 8px; }
  .cf-btn-today:hover { background: var(--cf-bg-hover); color: var(--cf-text); }

  .cf-help-text { font-size: 12px; color: var(--cf-text-muted); margin: 6px 0; display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
  .cf-help-text i { font-size: 14px; flex-shrink: 0; margin-top: 2px; color: var(--cf-accent); }

  /* Tag de link (linha multi-IP) */
  .cf-link-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; padding: 1px 6px; background: var(--cf-accent-bg); color: var(--cf-accent-text); border-radius: var(--cf-radius-sm); font-weight: 600; }
  .cf-link-tag i { font-size: 12px; }

  /* ════════════════════════════════════════════════════════════
     REVAMP VISUAL 2.0 — camada de polimento
     Sobrescreve valores via cascata. Mesmas classes, mesmo DOM.
     ════════════════════════════════════════════════════════════ */

  /* ---- Métricas do Planejamento ---- */
  .cf-plan-metricas { margin-bottom: 16px; }
  .cf-plan-metricas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .cf-plan-metricas-sub { font-size: 12px; color: var(--cf-text-muted); font-weight: 500; }
  .cf-plan-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
  .cf-plan-kpi { text-align: center; padding: 12px 8px; background: var(--cf-bg-subtle); border: 1px solid var(--cf-border-subtle); border-radius: var(--cf-radius-md); }
  .cf-plan-kpi.alert { background: var(--cf-atrasado-bg); border-color: var(--cf-atrasado-bg); }
  .cf-plan-kpi-val { font-size: 24px; font-weight: 700; color: var(--cf-text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .cf-plan-kpi.alert .cf-plan-kpi-val { color: var(--cf-atrasado-text); }
  .cf-plan-kpi-lbl { font-size: 11px; color: var(--cf-text-muted); margin-top: 2px; }
  .cf-plan-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 720px) { .cf-plan-charts { grid-template-columns: 1fr; } .cf-plan-kpis { grid-template-columns: repeat(3, 1fr); } }
  .cf-plan-chart { background: var(--cf-bg-subtle); border: 1px solid var(--cf-border-subtle); border-radius: var(--cf-radius-md); padding: 14px; }
  .cf-plan-chart-title { font-size: 12px; font-weight: 600; color: var(--cf-text-secondary); margin-bottom: 10px; }
  .cf-svg-chart { width: 100%; height: auto; display: block; }
  .cf-svg-grid { stroke: var(--cf-border-subtle); stroke-width: 1; }
  .cf-svg-axis { fill: var(--cf-text-subtle); font-size: 9px; }
  .cf-svg-marker { stroke: var(--cf-atencao); stroke-width: 1; stroke-dasharray: 3 3; }
  .cf-svg-marker-lbl { fill: var(--cf-atencao); font-size: 8px; font-weight: 600; }
  .cf-svg-ideal { fill: none; stroke: var(--cf-text-subtle); stroke-width: 1.5; stroke-dasharray: 4 3; }
  .cf-svg-real { fill: none; stroke: var(--cf-accent); stroke-width: 2.5; }
  .cf-svg-dot { fill: var(--cf-accent); }
  .cf-svg-dot.hoje { fill: var(--cf-accent); stroke: var(--cf-bg-card); stroke-width: 2; }
  .cf-svg-bar { fill: var(--cf-accent-border); }
  .cf-svg-bar.atual { fill: var(--cf-accent); }
  .cf-svg-barval { fill: var(--cf-text-muted); font-size: 9px; font-weight: 600; }
  .cf-svg-legend { display: flex; gap: 14px; justify-content: center; margin-top: 6px; font-size: 10px; }
  .cf-svg-leg-ideal, .cf-svg-leg-real { display: flex; align-items: center; gap: 5px; color: var(--cf-text-muted); }
  .cf-svg-leg-ideal::before { content: ''; width: 14px; height: 0; border-top: 1.5px dashed var(--cf-text-subtle); }
  .cf-svg-leg-real::before { content: ''; width: 14px; height: 2.5px; background: var(--cf-accent); border-radius: 2px; }
  .cf-svg-empty { text-align: center; color: var(--cf-text-subtle); font-size: 12px; padding: 30px 0; }
  .cf-distrib-bars { display: flex; flex-direction: column; gap: 9px; padding: 4px 0; }
  .cf-distrib-row { display: flex; align-items: center; gap: 10px; }
  .cf-distrib-lbl { width: 64px; font-size: 11.5px; color: var(--cf-text-secondary); flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cf-distrib-track { flex: 1; height: 8px; background: var(--cf-bg-muted); border-radius: 999px; overflow: hidden; }
  .cf-distrib-fill { display: block; height: 100%; border-radius: 999px; transition: width 0.3s ease; }
  .cf-distrib-val { width: 20px; text-align: right; font-size: 12px; font-weight: 600; color: var(--cf-text); font-variant-numeric: tabular-nums; }
