/* First page validation pass: align Dashboard with /2 visual identity */
body[data-active-tab="demandas"]{
  background:
    radial-gradient(circle at 18% 10%,rgba(15,118,110,.16),transparent 32rem),
    radial-gradient(circle at 88% 4%,rgba(242,162,58,.16),transparent 28rem),
    linear-gradient(135deg,#f8fbf8 0%,#eef6f4 44%,#f7faf6 100%)!important;
}
body[data-active-tab="demandas"] .app-shell{grid-template-columns:282px minmax(0,1fr)!important;background:transparent!important}
body[data-active-tab="demandas"] .sidebar{margin:18px 0 18px 18px!important;height:calc(100vh - 36px)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:28px!important;background:linear-gradient(160deg,rgba(16,35,31,.92),rgba(16,35,31,.72))!important;box-shadow:0 24px 70px rgba(16,35,31,.24),inset 0 1px 0 rgba(255,255,255,.12)!important;backdrop-filter:blur(22px) saturate(1.45)!important}
body[data-active-tab="demandas"] main{padding:34px 36px 42px!important;background:transparent!important}
body[data-active-tab="demandas"] .topbar{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin:0 0 18px!important;padding:22px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:28px!important;background:rgba(255,255,255,.52)!important;box-shadow:var(--shadow)!important;backdrop-filter:blur(24px) saturate(1.55)!important}
body[data-active-tab="demandas"] .topbar h1{margin:0 0 8px!important;color:#10231f!important;font-size:36px!important;line-height:1.05!important}
body[data-active-tab="demandas"] .eyebrow{width:fit-content!important;margin:0!important;border-radius:999px!important;padding:7px 11px!important;background:rgba(15,118,110,.1)!important;color:#0f766e!important;font-size:12px!important;font-weight:900!important;text-transform:none!important;letter-spacing:0!important}
body[data-active-tab="demandas"] .dashboard-top-actions{display:flex!important;align-items:center!important;gap:10px!important}
body[data-active-tab="demandas"] .date-chip,body[data-active-tab="demandas"] .export-button,body[data-active-tab="demandas"] .status-items-toggle,body[data-active-tab="demandas"] .summary-expansion-head button{min-height:40px!important;border-radius:999px!important;padding:0 14px!important;font-size:13px!important;font-weight:950!important}
body[data-active-tab="demandas"] .date-chip,body[data-active-tab="demandas"] .status-items-toggle,body[data-active-tab="demandas"] .summary-expansion-head button{border:1px solid rgba(255,255,255,.75)!important;background:rgba(255,255,255,.68)!important;color:#10231f!important;box-shadow:0 10px 24px rgba(16,35,31,.08),inset 0 1px 0 rgba(255,255,255,.86)!important;backdrop-filter:blur(14px)!important}
body[data-active-tab="demandas"] .export-button{border:0!important;background:linear-gradient(135deg,#0f766e,#176b87)!important;color:#fff!important;box-shadow:0 12px 24px rgba(15,118,110,.24),inset 0 1px 0 rgba(255,255,255,.35)!important}
body[data-active-tab="demandas"] .dashboard-grid{display:grid!important;grid-template-columns:minmax(560px,1.15fr) minmax(390px,.85fr)!important;gap:18px!important;margin:0 0 18px!important;align-items:stretch!important}
body[data-active-tab="demandas"] .executive-card,body[data-active-tab="demandas"] .summary-expansion,body[data-active-tab="demandas"] .collaborator-summary-card,body[data-active-tab="demandas"] .bottom-metric{border:1px solid rgba(255,255,255,.72)!important;border-radius:28px!important;background:rgba(255,255,255,.58)!important;box-shadow:var(--shadow)!important;backdrop-filter:blur(22px) saturate(1.55)!important}
body[data-active-tab="demandas"] .executive-card{min-height:338px!important;padding:22px!important}
body[data-active-tab="demandas"] .dashboard-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:18px!important}
body[data-active-tab="demandas"] .dashboard-card-head h2{margin:0 0 6px!important;color:#10231f!important;font-size:20px!important;line-height:1.25!important}
body[data-active-tab="demandas"] .dashboard-card-head p{margin:0!important;color:#60706c!important;font-size:14px!important;line-height:1.45!important}
body[data-active-tab="demandas"] .dashboard-card-head a{color:#176b87!important;font-size:13px!important;font-weight:950!important}
body[data-active-tab="demandas"] .executive-chart-layout{grid-template-columns:210px minmax(0,1fr)!important;gap:22px!important}
body[data-active-tab="demandas"] .donut-chart{width:210px!important;background:conic-gradient(var(--donut))!important;box-shadow:0 18px 38px rgba(16,35,31,.12),inset 0 1px 0 rgba(255,255,255,.58)!important}
body[data-active-tab="demandas"] .donut-chart:after{inset:58px!important;background:rgba(255,255,255,.78)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}
body[data-active-tab="demandas"] .donut-chart strong{color:#10231f!important;font-size:30px!important}
body[data-active-tab="demandas"] .donut-chart em,body[data-active-tab="demandas"] .status-legend-item strong{color:#60706c!important}
body[data-active-tab="demandas"] .status-legend{grid-template-columns:1fr!important;gap:10px!important}
body[data-active-tab="demandas"] .status-legend-item{grid-template-columns:14px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;min-height:34px!important}
body[data-active-tab="demandas"] .status-legend-item i{width:12px!important;height:12px!important;border-radius:999px!important;grid-row:auto!important}
body[data-active-tab="demandas"] .status-legend-item span{color:#10231f!important;font-size:14px!important;font-weight:900!important;white-space:normal!important}
body[data-active-tab="demandas"] .recommendation-list{display:grid!important;gap:12px!important}
body[data-active-tab="demandas"] .recommendation-item{grid-template-columns:48px minmax(0,1fr)!important;gap:12px!important;border:1px solid rgba(255,255,255,.66)!important;border-radius:20px!important;background:rgba(255,255,255,.52)!important;padding:13px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important}
body[data-active-tab="demandas"] .recommendation-item>span{width:48px!important;height:48px!important;border-radius:18px!important;background:color-mix(in srgb,var(--rec-color) 14%,#fff)!important}
body[data-active-tab="demandas"] .recommendation-item strong{color:#10231f!important;font-size:15px!important;line-height:1.25!important;white-space:normal!important}
body[data-active-tab="demandas"] .recommendation-item p{color:#60706c!important;font-size:13px!important;line-height:1.45!important}
body[data-active-tab="demandas"] .status-items-panel{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;border-top:1px solid rgba(15,118,110,.14)!important}
body[data-active-tab="demandas"] .summary-item{border:1px solid rgba(255,255,255,.68)!important;border-radius:16px!important;background:rgba(255,255,255,.58)!important;color:#10231f!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important}
body[data-active-tab="demandas"] .summary-item:hover,body[data-active-tab="demandas"] .summary-item:focus-visible{border-color:rgba(15,118,110,.34)!important;background:rgba(15,118,110,.1)!important}
body[data-active-tab="demandas"] .collaborator-summary-card{margin-top:18px!important;overflow:hidden!important}
body[data-active-tab="demandas"] .collaborator-summary-card .dashboard-card-head{padding:22px 22px 0!important}
body[data-active-tab="demandas"] .dashboard-selects select{height:38px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:999px!important;background:rgba(255,255,255,.68)!important;color:#10231f!important;box-shadow:0 10px 24px rgba(16,35,31,.08),inset 0 1px 0 rgba(255,255,255,.86)!important}
body[data-active-tab="demandas"] .collaborator-summary-table th{background:rgba(255,255,255,.42)!important;color:#60706c!important}
body[data-active-tab="demandas"] .collaborator-summary-table td{border-top:1px solid rgba(15,118,110,.12)!important;color:#10231f!important}
body[data-active-tab="demandas"] .distribution-card .dashboard-bottom-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:20px!important}
body[data-active-tab="demandas"] .bottom-metric{min-height:104px!important;padding:14px!important;border-radius:22px!important}
body[data-active-tab="demandas"] .bottom-metric span{color:#60706c!important;font-size:12px!important;font-weight:900!important}
body[data-active-tab="demandas"] .bottom-metric strong{color:#10231f!important;font-size:27px!important}
body[data-active-tab="demandas"] .bottom-metric em{color:#60706c!important;font-size:12px!important;font-weight:800!important}
body[data-active-tab="demandas"] .bottom-metric svg{width:58px!important;height:20px!important}
@media(max-width:1180px){body[data-active-tab="demandas"] .app-shell,body[data-active-tab="demandas"].sidebar-is-collapsed .app-shell{grid-template-columns:1fr!important}body[data-active-tab="demandas"] .sidebar{margin:14px!important;height:auto!important}body[data-active-tab="demandas"] main{padding:14px 18px 28px!important}body[data-active-tab="demandas"] .dashboard-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){body[data-active-tab="demandas"] main{padding:12px!important}body[data-active-tab="demandas"] .topbar,body[data-active-tab="demandas"] .dashboard-card-head{display:grid!important}body[data-active-tab="demandas"] .topbar,body[data-active-tab="demandas"] .executive-card,body[data-active-tab="demandas"] .summary-expansion,body[data-active-tab="demandas"] .collaborator-summary-card{border-radius:22px!important}body[data-active-tab="demandas"] .topbar h1{font-size:30px!important}body[data-active-tab="demandas"] .dashboard-top-actions{display:grid!important;grid-template-columns:1fr!important}body[data-active-tab="demandas"] .executive-chart-layout,body[data-active-tab="demandas"] .status-items-panel,body[data-active-tab="demandas"] .distribution-card .dashboard-bottom-metrics{grid-template-columns:1fr!important}body[data-active-tab="demandas"] .donut-chart{width:min(210px,100%)!important;justify-self:center!important}}

/* IA novas producoes validation pass: cleaner ERP layout */
body[data-active-tab="ia-producoes"]{
  background:#f4f7f6!important;
  color:#10231f!important;
}
body[data-active-tab="ia-producoes"] main{
  padding:26px 30px 38px!important;
  background:#f4f7f6!important;
}
body[data-active-tab="ia-producoes"] .weekly-production{
  max-width:1320px!important;
  margin:0 auto!important;
  display:grid!important;
  gap:14px!important;
}
body[data-active-tab="ia-producoes"] .weekly-production-head,
body[data-active-tab="ia-producoes"] .weekly-action-bar,
body[data-active-tab="ia-producoes"] .weekly-day,
body[data-active-tab="ia-producoes"] .weekly-assignee,
body[data-active-tab="ia-producoes"] .weekly-item,
body[data-active-tab="ia-producoes"] .weekly-summary-card{
  border:1px solid #dfe7e4!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(16,35,31,.07)!important;
  backdrop-filter:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-production-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:78px!important;
  padding:18px 20px!important;
  border-radius:16px!important;
}
body[data-active-tab="ia-producoes"] .weekly-production-head h2{
  margin:0 0 4px!important;
  color:#10231f!important;
  font-size:24px!important;
  line-height:1.15!important;
}
body[data-active-tab="ia-producoes"] .weekly-production-head p{
  margin:0!important;
  color:#5f6f6b!important;
  font-size:13px!important;
  line-height:1.35!important;
}
body[data-active-tab="ia-producoes"] .weekly-period{
  min-height:34px!important;
  border:1px solid #dfe7e4!important;
  background:#f8fbfa!important;
  box-shadow:none!important;
  color:#35514b!important;
  font-size:12px!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary{
  grid-template-columns:repeat(6,minmax(108px,1fr))!important;
  gap:10px!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary-card{
  min-height:78px!important;
  border-radius:14px!important;
  padding:12px 14px!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary-card:before{
  left:14px!important;
  right:14px!important;
  top:10px!important;
  height:3px!important;
  background:#0f766e!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary-card span{
  margin-top:8px!important;
  color:#5f6f6b!important;
  font-size:11px!important;
  line-height:1.2!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary-card strong{
  margin:3px 0 1px!important;
  color:#10231f!important;
  font-size:24px!important;
}
body[data-active-tab="ia-producoes"] .weekly-summary-card small{
  color:#6f7f7b!important;
  font-size:11px!important;
}
body[data-active-tab="ia-producoes"] .weekly-action-bar{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  padding:0!important;
}
body[data-active-tab="ia-producoes"] .weekly-action-bar button{
  min-height:30px!important;
  border:1px solid #d7e1df!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#35514b!important;
  box-shadow:none!important;
  padding:0 11px!important;
  font-size:11px!important;
  font-weight:900!important;
}
body[data-active-tab="ia-producoes"] .weekly-board{
  display:grid!important;
  gap:14px!important;
}
body[data-active-tab="ia-producoes"] .weekly-day{
  border-radius:16px!important;
  padding:16px!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header{
  margin:0 0 12px!important;
  padding:0!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header strong{
  color:#10231f!important;
  font-size:18px!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header span{
  color:#5f6f6b!important;
  font-size:12px!important;
}
body[data-active-tab="ia-producoes"] .weekly-assignee-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  align-items:start!important;
}
body[data-active-tab="ia-producoes"] .weekly-assignee{
  border-radius:13px!important;
  padding:12px!important;
  background:#f8fbfa!important;
  overflow:hidden!important;
}
body[data-active-tab="ia-producoes"] .weekly-assignee h3{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 10px!important;
  padding:0 0 9px!important;
  border-bottom:1px solid #dfe7e4!important;
  background:transparent!important;
  color:#10231f!important;
  font-size:14px!important;
  line-height:1.2!important;
  backdrop-filter:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-assignee h3 span{
  min-width:26px!important;
  height:24px!important;
  background:#e6f3ef!important;
  color:#0f766e!important;
  font-size:11px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(330px,1fr))!important;
  gap:8px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 108px!important;
  gap:10px!important;
  align-items:start!important;
  min-height:0!important;
  border-radius:12px!important;
  padding:11px!important;
  background:#fff!important;
}
body[data-active-tab="ia-producoes"] .weekly-item.included{
  border-color:#8bd3b8!important;
  background:#f0fbf6!important;
  box-shadow:0 0 0 2px rgba(15,118,110,.08)!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title strong{
  color:#10231f!important;
  font-size:13px!important;
  line-height:1.28!important;
  font-weight:900!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title span{
  margin-top:4px!important;
  color:#5f6f6b!important;
  font-size:11px!important;
  line-height:1.25!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  margin-top:9px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta span,
body[data-active-tab="ia-producoes"] .weekly-priority,
body[data-active-tab="ia-producoes"] .weekly-item-side a{
  min-height:25px!important;
  border:1px solid #e4ebe8!important;
  border-radius:8px!important;
  background:#f8fbfa!important;
  color:#52645f!important;
  padding:5px 7px!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:normal!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  justify-items:stretch!important;
  align-content:start!important;
}
body[data-active-tab="ia-producoes"] .weekly-priority{
  justify-content:center!important;
  text-align:center!important;
}
body[data-active-tab="ia-producoes"] .weekly-priority.risk{background:#fff1f3!important;color:#b4233c!important;border-color:#f4c7cf!important}
body[data-active-tab="ia-producoes"] .weekly-priority.warn{background:#fff7e8!important;color:#946000!important;border-color:#f3d49d!important}
body[data-active-tab="ia-producoes"] .weekly-priority.good{background:#ecfdf5!important;color:#08734f!important;border-color:#b8ead4!important}
body[data-active-tab="ia-producoes"] .weekly-item-side a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#176b87!important;
  text-decoration:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side button{
  width:100%!important;
  min-height:32px!important;
  border:1px solid #0f766e!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#0f766e!important;
  box-shadow:none!important;
  padding:0 8px!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:normal!important;
  line-height:1.15!important;
}
body[data-active-tab="ia-producoes"] .weekly-item.included .weekly-item-side button{
  background:#0f766e!important;
  color:#fff!important;
}
@media(max-width:1180px){body[data-active-tab="ia-producoes"] main{padding:16px 18px 30px!important}body[data-active-tab="ia-producoes"] .weekly-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-active-tab="ia-producoes"] .weekly-assignee-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){body[data-active-tab="ia-producoes"] main{padding:12px!important}body[data-active-tab="ia-producoes"] .weekly-production-head,body[data-active-tab="ia-producoes"] .weekly-action-bar{display:grid!important;grid-template-columns:1fr!important}body[data-active-tab="ia-producoes"] .weekly-production-head h2{font-size:22px!important}body[data-active-tab="ia-producoes"] .weekly-period{width:100%!important;justify-content:center!important}body[data-active-tab="ia-producoes"] .weekly-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-active-tab="ia-producoes"] .weekly-item-list{grid-template-columns:1fr!important}body[data-active-tab="ia-producoes"] .weekly-item{grid-template-columns:1fr!important}body[data-active-tab="ia-producoes"] .weekly-item-meta{grid-template-columns:1fr!important}body[data-active-tab="ia-producoes"] .weekly-item-side{grid-template-columns:1fr 1fr!important}body[data-active-tab="ia-producoes"] .weekly-item-side button{grid-column:1/-1!important}}
@media(max-width:420px){body[data-active-tab="ia-producoes"] .weekly-summary{grid-template-columns:1fr!important}body[data-active-tab="ia-producoes"] .weekly-item-side{grid-template-columns:1fr!important}}

/* Medeiros & Co brand refresh */
:root{
  --bg:#f4f3ee;
  --surface:#fff;
  --text:#172033;
  --muted:#6f7280;
  --line:#e2e4ea;
  --line-soft:#eceef3;
  --accent:#1d4ed8;
  --teal:#1d4ed8;
  --teal-soft:rgba(29,78,216,.1);
  --blue:#1d4ed8;
  --dark:#172033;
  --dark-soft:#273449;
  --gray:#c9ccd3;
  --shadow:0 14px 36px rgba(23,32,51,.08);
}
body,
body[data-active-tab="demandas"],
body[data-active-tab="ia-producoes"]{
  background:linear-gradient(135deg,#f8f7f2 0%,#f4f3ee 52%,#eceef3 100%)!important;
  color:var(--text)!important;
}
.sidebar,
body[data-active-tab="demandas"] .sidebar{
  background:linear-gradient(160deg,#0f2f86,#172033)!important;
  box-shadow:0 24px 64px rgba(15,47,134,.22),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.brand-logo,
.mark.brand-logo{
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
  background:#fff!important;
  object-fit:cover!important;
  padding:0!important;
  box-shadow:0 12px 24px rgba(15,47,134,.22),inset 0 0 0 1px rgba(23,32,51,.08)!important;
}
.tab.active,
.tab:hover{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.2)!important;
}
.eyebrow,
.overline,
body[data-active-tab="demandas"] .eyebrow{
  background:rgba(29,78,216,.1)!important;
  color:#1d4ed8!important;
}
.export-button,
.detail-footer .monday-card-link,
.metric-toggle,
.weekly-action-bar button,
.weekly-item-side button,
body[data-active-tab="demandas"] .export-button,
body[data-active-tab="ia-producoes"] .weekly-action-bar button{
  background:#1d4ed8!important;
  border-color:#1d4ed8!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(29,78,216,.2)!important;
}
.client-progress i,
.progress i,
.completion-cell b{
  background:linear-gradient(90deg,#1d4ed8,#8b97aa)!important;
}
.client-summary-card:before,
.weekly-summary-card:before,
.dashboard-kpi.tone-blue:before{
  background:#1d4ed8!important;
}
.calendar-card.publish,
.client-mini-status.scheduled,
.mini-status.scheduled{
  background:rgba(29,78,216,.09)!important;
  color:#1d4ed8!important;
}
@media(max-width:1180px){.brand-logo,.mark.brand-logo{width:44px!important;height:44px!important}}

/* IA production kanban */
body[data-active-tab="ia-producoes"] .weekly-production{
  max-width:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-board{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(260px,1fr)!important;
  grid-template-columns:none!important;
  gap:12px!important;
  overflow-x:auto!important;
  padding:2px 2px 12px!important;
  align-items:start!important;
}
body[data-active-tab="ia-producoes"] .weekly-day{
  min-width:260px!important;
  height:calc(100vh - 230px)!important;
  min-height:520px!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:10px!important;
  border-radius:14px!important;
  padding:12px!important;
  background:#fff!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header{
  margin:0!important;
  padding:0 2px 10px!important;
  border-bottom:1px solid #e7ecea!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header strong{
  font-size:16px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:9px!important;
  overflow:auto!important;
  padding-right:2px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  border-radius:12px!important;
  padding:10px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title strong{
  font-size:13px!important;
  line-height:1.3!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title span{
  font-size:11px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  margin-top:9px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner .avatar{
  width:30px!important;
  height:30px!important;
  flex:0 0 auto!important;
  font-size:10px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner span{
  display:grid!important;
  gap:1px!important;
  min-width:0!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner strong,
body[data-active-tab="ia-producoes"] .weekly-item-owner em{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner strong{
  color:#10231f!important;
  font-size:12px!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner em{
  color:#6f7f7b!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:800!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  margin-top:9px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta span{
  min-height:24px!important;
  border-radius:8px!important;
  padding:5px 7px!important;
  font-size:10px!important;
}
body[data-active-tab="ia-producoes"] .weekly-priority{
  display:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side .weekly-post-link{
  min-height:22px!important;
  width:max-content!important;
  max-width:100%!important;
  justify-self:start!important;
  border:0!important;
  background:transparent!important;
  color:#6f7f7b!important;
  padding:0!important;
  font-size:10px!important;
  font-weight:900!important;
  text-decoration:underline!important;
  box-shadow:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side button{
  min-height:38px!important;
  border-radius:10px!important;
  background:#1d4ed8!important;
  border-color:#1d4ed8!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-item.included .weekly-item-side button{
  background:#0f766e!important;
  border-color:#0f766e!important;
  color:#fff!important;
}
@media(max-width:1180px){body[data-active-tab="ia-producoes"] .weekly-board{grid-auto-columns:minmax(250px,34vw)!important}body[data-active-tab="ia-producoes"] .weekly-day{height:auto!important;min-height:480px!important}}
@media(max-width:760px){body[data-active-tab="ia-producoes"] .weekly-board{grid-auto-flow:column!important;grid-auto-columns:90vw!important;grid-template-columns:none!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scroll-snap-type:x proximity!important}body[data-active-tab="ia-producoes"] .weekly-day{width:90vw!important;min-width:0!important;height:calc(100vh - 210px)!important;min-height:520px!important;scroll-snap-align:start!important}body[data-active-tab="ia-producoes"] .weekly-item-side{grid-template-columns:1fr!important}}

body[data-active-tab="ia-producoes"] .weekly-item>.weekly-post-link{
  min-height:20px!important;
  width:max-content!important;
  max-width:100%!important;
  justify-self:end!important;
  border:0!important;
  background:transparent!important;
  color:#6f7f7b!important;
  padding:0!important;
  font-size:10px!important;
  font-weight:900!important;
  text-decoration:underline!important;
  box-shadow:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item>.weekly-post-link:hover,
body[data-active-tab="ia-producoes"] .weekly-item>.weekly-post-link:focus-visible{
  color:#1d4ed8!important;
}
@media(max-width:760px){body[data-active-tab="ia-producoes"] .sidebar{margin:8px 12px!important;padding:10px 12px!important;min-height:0!important;height:auto!important;border-radius:16px!important}body[data-active-tab="ia-producoes"] .brand-row{margin:0!important;min-height:38px!important}body[data-active-tab="ia-producoes"] .brand-logo,body[data-active-tab="ia-producoes"] .mark.brand-logo{width:36px!important;height:36px!important}body[data-active-tab="ia-producoes"] main{padding:8px 12px 18px!important}body[data-active-tab="ia-producoes"] .topbar{min-height:0!important;width:max-content!important;max-width:100%!important;margin-bottom:6px!important;padding:6px 10px!important;border-radius:10px!important}body[data-active-tab="ia-producoes"] .topbar h1{font-size:20px!important;line-height:1.05!important;margin:0!important}body[data-active-tab="ia-producoes"] .topbar .eyebrow{display:none!important}body[data-active-tab="ia-producoes"] .weekly-summary{display:none!important}body[data-active-tab="ia-producoes"] .weekly-action-bar{min-height:0!important;display:flex!important;justify-content:flex-end!important;padding:0!important;margin:-2px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important}body[data-active-tab="ia-producoes"] .weekly-action-bar button{width:auto!important;min-width:0!important;max-width:max-content!important;min-height:26px!important;height:26px!important;padding:0 9px!important;white-space:nowrap!important;font-size:10px!important}body[data-active-tab="ia-producoes"] .weekly-board{height:auto!important}body[data-active-tab="ia-producoes"] .weekly-day{height:calc(100vh - 155px)!important;min-height:500px!important}body[data-active-tab="ia-producoes"] .weekly-item-list{display:flex!important;flex-direction:column!important;gap:10px!important}body[data-active-tab="ia-producoes"] .weekly-item{display:block!important;height:auto!important;min-height:204px!important;padding:10px!important;overflow:visible!important}body[data-active-tab="ia-producoes"] .weekly-item>.weekly-post-link{min-height:16px!important;font-size:9px!important}body[data-active-tab="ia-producoes"] .weekly-item-title strong{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:12px!important;line-height:1.22!important}body[data-active-tab="ia-producoes"] .weekly-item-title span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;margin-top:3px!important}body[data-active-tab="ia-producoes"] .weekly-item-owner{margin-top:8px!important;gap:9px!important}body[data-active-tab="ia-producoes"] .weekly-item-owner .avatar{display:inline-grid!important;width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;font-size:11px!important;box-shadow:0 0 0 2px #fff,0 0 0 3px #dce5e2!important}body[data-active-tab="ia-producoes"] .weekly-item-owner .person-photo{display:block!important;width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;object-fit:cover!important}body[data-active-tab="ia-producoes"] .weekly-item-meta{margin-top:7px!important}body[data-active-tab="ia-producoes"] .weekly-item-meta span{min-height:22px!important;padding:4px 7px!important}body[data-active-tab="ia-producoes"] .weekly-item-side{display:block!important;margin-top:8px!important}body[data-active-tab="ia-producoes"] .weekly-item-side button{min-height:34px!important;margin-top:0!important}}
.weekly-toast{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:80;
  max-width:min(360px,calc(100vw - 32px));
  padding:12px 14px;
  border:1px solid #b8ead4;
  border-radius:12px;
  background:#0f766e;
  color:#fff;
  box-shadow:0 18px 40px rgba(15,118,110,.24);
  font-size:13px;
  font-weight:900;
  line-height:1.3;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease,transform .18s ease;
}
.weekly-toast.show{opacity:1;transform:translateY(0)}
.capacity-ia-included{
  margin:0 0 14px;
  padding:14px;
  border:1px solid #cfe4df;
  border-radius:14px;
  background:#f2fbf7;
  box-shadow:0 10px 26px rgba(15,118,110,.08);
}
.capacity-ia-included.hidden{display:none!important}
.capacity-ia-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.capacity-ia-head strong{display:block;color:#10231f;font-size:15px;font-weight:950}
.capacity-ia-head span{display:block;color:#52645f;font-size:12px;font-weight:800;margin-top:2px}
.capacity-ia-head button{
  min-height:30px;
  border:1px solid #cfe4df;
  border-radius:999px;
  background:#fff;
  color:#35514b;
  padding:0 11px;
  font-size:11px;
  font-weight:900;
}
.capacity-ia-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px}
.capacity-ia-item{
  display:block;
  border:1px solid #dceae6;
  border-radius:10px;
  background:#fff;
  color:#10231f;
  padding:10px;
  text-decoration:none;
}
.capacity-ia-item strong{display:block;font-size:12px;line-height:1.25;font-weight:950}
.capacity-ia-item span{display:block;margin-top:4px;color:#5f6f6b;font-size:10px;line-height:1.3;font-weight:800}
.weekly-open-capacity{margin-top:6px!important;background:#fff!important;border-color:#cfe4df!important;color:#0f766e!important}
@media(max-width:760px){.weekly-toast{right:12px;bottom:12px}.capacity-ia-head{display:grid}.capacity-ia-head button{width:max-content;max-width:100%}.capacity-ia-list{grid-template-columns:1fr}}

/* IA production client-board repaginated visual */
body[data-active-tab="ia-producoes"]{
  background:#f6f7f9!important;
}
body[data-active-tab="ia-producoes"] main{
  background:#f6f7f9!important;
}
body[data-active-tab="ia-producoes"] .weekly-production{
  max-width:none!important;
  gap:12px!important;
}
body[data-active-tab="ia-producoes"] .weekly-board{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(292px,1fr)!important;
  grid-template-columns:none!important;
  gap:12px!important;
  overflow-x:auto!important;
  padding:2px 2px 12px!important;
  align-items:stretch!important;
  scrollbar-width:thin;
}
body[data-active-tab="ia-producoes"] .weekly-day{
  min-width:0!important;
  height:calc(100vh - 182px)!important;
  min-height:560px!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  gap:10px!important;
  border:1px solid #e3e7ee!important;
  border-radius:14px!important;
  padding:10px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(18,29,53,.08)!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header{
  min-height:54px!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:2px 2px 10px!important;
  border-bottom:1px solid #edf0f5!important;
}
body[data-active-tab="ia-producoes"] .client-mark{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#f7f9fc,#e8edf6)!important;
  border:1px solid #dfe5ef!important;
  color:#0f326d!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
body[data-active-tab="ia-producoes"] .weekly-day>header strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#121d35!important;
  font-size:17px!important;
  line-height:1.12!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-day>header span{
  display:block!important;
  margin-top:3px!important;
  color:#7b8494!important;
  font-size:11px!important;
  font-weight:850!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  overflow:auto!important;
  padding:0 2px 2px 0!important;
}
body[data-active-tab="ia-producoes"] .weekly-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
  min-height:0!important;
  border:1px solid #e9edf4!important;
  border-radius:10px!important;
  padding:10px!important;
  background:#fbfcff!important;
  box-shadow:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item.included{
  border-color:#a6dac8!important;
  background:#f3fbf7!important;
  box-shadow:inset 3px 0 0 #0f766e!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title strong{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  color:#121d35!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-title span{
  display:block!important;
  margin-top:5px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#687386!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner{
  margin-top:8px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner .avatar,
body[data-active-tab="ia-producoes"] .weekly-item-owner .person-photo{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  flex:0 0 28px!important;
  font-size:9px!important;
  object-fit:cover!important;
  box-shadow:0 0 0 2px #fff,0 0 0 3px #dde5f0!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-owner strong{
  color:#26334c!important;
  font-size:11px!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  margin-top:8px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-meta span{
  min-height:22px!important;
  border:1px solid #e9edf4!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#667085!important;
  padding:4px 6px!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side .weekly-post-link{
  min-height:26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #e1e7f0!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0f326d!important;
  padding:0 8px!important;
  text-decoration:none!important;
  font-size:10px!important;
  font-weight:950!important;
}
body[data-active-tab="ia-producoes"] .weekly-item-side button{
  min-height:32px!important;
  border-radius:8px!important;
  border:1px solid #0f326d!important;
  background:#0f326d!important;
  color:#fff!important;
  padding:0 9px!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.15!important;
  box-shadow:none!important;
}
body[data-active-tab="ia-producoes"] .weekly-item.included .weekly-item-side button{
  border-color:#0f766e!important;
  background:#0f766e!important;
}
body[data-active-tab="ia-producoes"] .weekly-open-capacity{
  margin-top:0!important;
  background:#fff!important;
  color:#0f766e!important;
}
@media(max-width:1180px){
  body[data-active-tab="ia-producoes"] .weekly-board{grid-auto-columns:minmax(280px,38vw)!important;}
  body[data-active-tab="ia-producoes"] .weekly-day{height:calc(100vh - 190px)!important;}
}
@media(max-width:760px){
  body[data-active-tab="ia-producoes"] .weekly-board{grid-auto-columns:88vw!important;scroll-snap-type:x proximity!important;}
  body[data-active-tab="ia-producoes"] .weekly-day{width:88vw!important;height:calc(100vh - 155px)!important;min-height:500px!important;scroll-snap-align:start!important;}
  body[data-active-tab="ia-producoes"] .weekly-item-meta{grid-template-columns:1fr!important;}
}

/* Dashboard repaginado: cliente como unidade visual */
body[data-active-tab="demandas"] main{
  max-width:1560px!important;
  margin:0 auto!important;
}
body[data-active-tab="demandas"] .dashboard-grid{
  grid-template-columns:minmax(420px,.82fr) minmax(0,1.18fr)!important;
  align-items:start!important;
  gap:16px!important;
}
body[data-active-tab="demandas"] .distribution-card,
body[data-active-tab="demandas"] .date-gaps-card{
  min-height:0!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid #e4e7ee!important;
  box-shadow:0 12px 30px rgba(18,29,53,.07)!important;
  backdrop-filter:none!important;
}
body[data-active-tab="demandas"] .distribution-card{
  position:sticky!important;
  top:18px!important;
}
body[data-active-tab="demandas"] .date-gaps-card{
  grid-column:auto!important;
  padding:18px!important;
}
body[data-active-tab="demandas"] .date-gap-metrics{
  grid-template-columns:repeat(4,minmax(92px,1fr))!important;
  gap:8px!important;
  margin:12px 0!important;
}
body[data-active-tab="demandas"] .date-gap-metrics div{
  border:1px solid #e7ebf2!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  padding:10px!important;
}
body[data-active-tab="demandas"] .date-gap-metrics span{
  color:#667085!important;
  font-size:10px!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}
body[data-active-tab="demandas"] .date-gap-metrics strong{
  margin-top:4px!important;
  color:#121d35!important;
  font-size:24px!important;
}
body[data-active-tab="demandas"] .date-gap-groups{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  align-items:start!important;
  gap:10px!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
}
body[data-active-tab="demandas"] .date-gap-client{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  min-height:0!important;
  border:1px solid #e7ebf2!important;
  border-radius:14px!important;
  background:#fbfcff!important;
  padding:10px!important;
  box-shadow:none!important;
}
body[data-active-tab="demandas"] .date-gap-client-head{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:9px!important;
}
body[data-active-tab="demandas"] .date-gap-client-head div{
  min-width:0!important;
}
body[data-active-tab="demandas"] .date-gap-client-head strong,
body[data-active-tab="demandas"] .date-gap-client-head small{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body[data-active-tab="demandas"] .date-gap-client-head strong{
  color:#121d35!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:950!important;
}
body[data-active-tab="demandas"] .date-gap-client-head small{
  margin-top:3px!important;
  color:#7b8494!important;
  font-size:10px!important;
  font-weight:850!important;
}
body[data-active-tab="demandas"] .date-gap-client-head>span{
  min-width:26px!important;
  height:26px!important;
  background:#e8f0ff!important;
  color:#1d4ed8!important;
  font-size:11px!important;
}
body[data-active-tab="demandas"] .client-logo-shell{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--client-color) 28%,#dfe5ef)!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--client-color) 14%,#fff),#fff)!important;
  color:color-mix(in srgb,var(--client-color) 82%,#111827)!important;
  font-size:12px!important;
  font-weight:950!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body[data-active-tab="demandas"] .client-logo-shell img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:5px!important;
}
body[data-active-tab="demandas"] .client-logo-shell span{
  display:grid!important;
  place-items:center!important;
}
body[data-active-tab="demandas"] .date-gap-list{
  display:grid!important;
  gap:6px!important;
}
body[data-active-tab="demandas"] .date-gap-item{
  grid-template-columns:minmax(0,1fr) minmax(100px,auto)!important;
  gap:5px 8px!important;
  border:1px solid #e9edf4!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:8px!important;
}
body[data-active-tab="demandas"] .date-gap-item strong{
  color:#121d35!important;
  font-size:12px!important;
  line-height:1.2!important;
}
body[data-active-tab="demandas"] .date-gap-item span{
  color:#667085!important;
  font-size:10px!important;
  text-align:right!important;
}
body[data-active-tab="demandas"] .date-gap-item b{
  min-height:20px!important;
  border-radius:7px!important;
  background:#fff1f3!important;
  color:#b42335!important;
  padding:0 7px!important;
  font-size:10px!important;
}
body[data-active-tab="demandas"] .dashboard-metrics-in-distribution{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:16px!important;
}
body[data-active-tab="demandas"] .dashboard-metrics-in-distribution .bottom-metric{
  min-height:86px!important;
  border-radius:12px!important;
  padding:11px!important;
  background:#f8fafc!important;
  border:1px solid #e7ebf2!important;
  box-shadow:none!important;
}
body[data-active-tab="demandas"] .dashboard-metrics-in-distribution .bottom-metric strong{
  font-size:22px!important;
}
@media(max-width:1180px){
  body[data-active-tab="demandas"] .dashboard-grid{grid-template-columns:1fr!important;}
  body[data-active-tab="demandas"] .distribution-card{position:static!important;}
}
@media(max-width:760px){
  body[data-active-tab="demandas"] .date-gap-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body[data-active-tab="demandas"] .date-gap-groups{grid-template-columns:1fr!important;}
  body[data-active-tab="demandas"] .date-gap-item{grid-template-columns:1fr!important;}
  body[data-active-tab="demandas"] .date-gap-item span{text-align:left!important;}
  body[data-active-tab="demandas"] .dashboard-metrics-in-distribution{grid-template-columns:1fr!important;}
}
