/* ===== TESTE: sidebar no azul Aurora do Dashboard (para voltar ao normal, apague este bloco) ===== */
aside.mx-aside { background: linear-gradient(180deg, #FBFCFF 0%, #EEF1FB 45%, #E4E7F7 100%) !important; border-right: 0 !important; box-shadow: none !important; }
aside.mx-aside > div, aside.mx-aside > div > div { background-color: transparent !important; }
aside.mx-aside .border-b, aside.mx-aside .border-t { border-color: rgba(255,255,255,.75) !important; }
aside.mx-aside button.from-\[\#5165F6\] { background-image: linear-gradient(135deg, #2563EB, #06B6D4) !important; box-shadow: 0 6px 16px -4px rgba(37,99,235,.45) !important; }
aside.mx-aside button:not(.from-\[\#5165F6\]):not(.from-emerald-500):hover { background: rgba(255,255,255,.6) !important; }
/* ===== fim do teste ===== */

/* ===== Tela da tarefa (modal) no padrão Aurora ===== */
div:has(> .mxt-head) { border: 0 !important; border-radius: 22px !important; box-shadow: 0 30px 80px rgba(15,23,42,.28) !important; }
.mxt-head { background: linear-gradient(120deg, #EEF4FF 0%, #ECFAFD 60%, #F3F0FF 100%) !important; border-bottom: 0 !important; }
.mxt-head h2 { font-size: 22px !important; font-weight: 800 !important; color: #0B1B3F !important; letter-spacing: -.01em; }
.mxt-head .mx-taskhead .flex.flex-wrap > span { border-radius: 999px !important; padding: 5px 12px !important; font-size: 11.5px !important; box-shadow: none !important; }
.mxt-head .mx-taskhead .flex.flex-wrap > span.bg-blue-600 { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; font-weight: 800 !important; letter-spacing: .01em; }
.mxt-head .mx-taskhead .flex.flex-wrap > span.bg-white { background: rgba(255,255,255,.75) !important; border: 0 !important; color: #475569 !important; }
.mxt-head .mx-tasktimer { background: rgba(255,255,255,.8) !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; padding: 4px 4px 4px 6px !important; }
.mxt-head .mx-tasktimer > button { border-radius: 999px !important; padding: 6px 14px !important; }
.mxt-head .mx-tasktimer > button.bg-slate-800 { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; }
.mxt-head .mx-tasktimer > button.bg-amber-600 { background: linear-gradient(135deg, #FBBF24, #D97706) !important; }
.mxt-head .mx-tasktimer > button.bg-blue-600 { background: linear-gradient(135deg, #34D399, #059669) !important; }
.mxt-head > div:nth-child(2) { border-top: 1px solid rgba(255,255,255,.9) !important; }
.mxt-head > div:nth-child(2) label { border: 0 !important; border-radius: 999px !important; padding: 6px 10px 6px 14px !important; background-color: rgba(255,255,255,.85) !important; }
.mxt-head > div:nth-child(2) button { border-radius: 999px !important; }
.mxt-head > div:nth-child(2) button.bg-emerald-600 { background: linear-gradient(135deg, #34D399, #059669) !important; padding: 7px 16px !important; box-shadow: none !important; }
.mxt-head > div:nth-child(2) > div:last-child button { background: rgba(255,255,255,.7) !important; border: 0 !important; color: #475569 !important; box-shadow: none !important; font-weight: 600 !important; padding: 6px 12px !important; }
.mxt-head > div:nth-child(2) > div:last-child button:hover { background: #fff !important; color: #1E40AF !important; }
.mxt-head > div:nth-child(2) > div:last-child button.text-rose-600 { color: #E11D48 !important; }
.mxt-head > div:nth-child(2) > div:last-child button.text-rose-600:hover { background: #FFE4E9 !important; color: #BE123C !important; }
/* linha de informações */
.mxt-head + div { background: #fff !important; border-bottom: 1px solid #EEF2F8 !important; padding-top: 12px !important; padding-bottom: 12px !important; }
.mxt-head + div .bg-slate-100, .mxt-head + div [class*="bg-indigo-50"], .mxt-head + div [class*="bg-blue-50"] { border-radius: 999px !important; }
.mxt-head + div span[class*="text-[10px]"][class*="rounded"] { border: 0 !important; border-radius: 999px !important; padding: 4px 11px !important; font-size: 11px !important; color: #fff !important; background: linear-gradient(135deg, #94A3B8, #64748B) !important; animation: none !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-red"], [class*="text-rose"]) { background: linear-gradient(135deg, #FB7185, #E11D48) !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-orange"], [class*="text-amber"]) { background: linear-gradient(135deg, #FDBA74, #EA580C) !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-sky"], [class*="text-cyan"], [class*="text-emerald"], [class*="text-green"]) { background: linear-gradient(135deg, #34D399, #059669) !important; }
/* abas */
.mxt-head + div + div { background: #fff !important; border-bottom: 1px solid #EEF2F8 !important; padding-top: 10px !important; padding-bottom: 10px !important; }
.mxt-head + div + div > button { border: 0 !important; border-radius: 999px !important; box-shadow: none !important; background: #F3F6FF !important; color: #1E40AF !important; font-weight: 700 !important; padding: 8px 16px !important; }
.mxt-head + div + div > button:hover { background: #E3ECFF !important; }
.mxt-head + div + div > button.font-black { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; }
.mxt-head + div + div > button.font-black svg { color: #fff !important; stroke: #fff !important; }
.mxt-head + div + div > button > span[class*="rounded-full"] { border: 0 !important; background: rgba(37,99,235,.12) !important; color: #1E3A8A !important; }
.mxt-head + div + div > button.font-black > span[class*="rounded-full"] { background: rgba(255,255,255,.28) !important; color: #fff !important; }
/* conteúdo */
.mxt-head + div + div + div { background: linear-gradient(180deg, #FAFBFF, #F5F8FF) !important; }
.mxt-head + div + div + div [class*="rounded-3xl"], .mxt-head + div + div + div [class*="rounded-2xl"], .mxt-head + div + div + div .rounded-xl.border { border-radius: 16px !important; border-color: #E6ECF7 !important; box-shadow: none !important; }
.mxt-head + div + div + div .bg-slate-50\/80 { background: #fff !important; }
/* ===== fim da tela da tarefa ===== */

/* ===== Tela da tarefa — layout do modelo (breadcrumb, ícone, cartão de informações, abas sublinhadas) ===== */
div:has(> .mxt-head) { background: radial-gradient(900px 400px at 100% 0%, #EAF1FF 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #EEF9FC 0%, transparent 60%), #F8FAFE !important; }
.mxt-head { background: transparent !important; padding: 22px 26px 14px !important; gap: 14px !important; }
.mxt-bc { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #64748B; min-width: 0; }
.mxt-bc svg { color: #1D4ED8; flex-shrink: 0; }
.mxt-bc i { font-style: normal; color: #94A3B8; }
.mxt-bc b { font-weight: 600; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxt-titlerow { display: flex; align-items: center; gap: 16px; margin-top: 10px; min-width: 0; }
.mxt-tile { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #DCE8FF, #EAF4FF); color: #1D4ED8; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mxt-head h2 { font-size: 28px !important; font-weight: 800 !important; color: #0B1B3F !important; line-height: 1.15 !important; }
.mxt-sub { font-size: 13.5px; color: #64748B; margin: 4px 0 0; }
.mxt-head .mx-tasktimer { background: #fff !important; padding: 5px 5px 5px 14px !important; box-shadow: 0 1px 3px rgba(15,23,42,.06) !important; }
.mxt-head .mx-tasktimer > span:first-child { color: #334155 !important; }
.mxt-head .mx-tasktimer > button.bg-slate-800 { background: linear-gradient(135deg, #1E3A8A, #1D4ED8) !important; padding: 7px 16px !important; }
/* linha de ações */
.mxt-head > div:nth-child(2) { border-top: 0 !important; padding-top: 4px !important; }
.mxt-head > div:nth-child(2) label { background-color: #fff !important; box-shadow: 0 0 0 1px #E6ECF7 !important; }
.mxt-head > div:nth-child(2) button.bg-emerald-600 { background: linear-gradient(135deg, #1E40AF, #2563EB) !important; padding: 9px 18px !important; font-size: 13px !important; gap: 8px !important; }
.mxt-head > div:nth-child(2) > div:last-child button { background: #fff !important; box-shadow: 0 0 0 1px #E6ECF7 !important; color: #334155 !important; padding: 8px 15px !important; font-size: 12.5px !important; font-weight: 600 !important; }
.mxt-head > div:nth-child(2) > div:last-child button:hover { background: #F3F6FF !important; color: #1E40AF !important; }
.mxt-head > div:nth-child(2) > div:last-child button.text-rose-600 { color: #E11D48 !important; }
/* cartão de informações */
.mxt-head + div { margin: 4px 26px 0 !important; background: #fff !important; border: 1px solid #E6ECF7 !important; border-radius: 18px !important; padding: 16px 20px !important; font-size: 13px !important; }
.mxt-head + div > div:first-child { row-gap: 14px !important; column-gap: 24px !important; }
.mxt-head + div .bg-slate-100, .mxt-head + div [class*="bg-indigo-50"], .mxt-head + div [class*="bg-blue-50"] { background: #F1F5FB !important; border-radius: 999px !important; }
.mxt-head + div span[class*="text-[10px]"][class*="rounded"] { background: #F1F5F9 !important; color: #475569 !important; padding: 6px 14px !important; font-size: 12.5px !important; font-weight: 600 !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-red"], [class*="text-rose"]) { background: #FFE4E9 !important; color: #E11D48 !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-orange"], [class*="text-amber"]) { background: #FFEDD5 !important; color: #C2410C !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-sky"], [class*="text-cyan"], [class*="text-emerald"], [class*="text-green"]) { background: #D1FAE5 !important; color: #047857 !important; }
/* abas sublinhadas */
.mxt-head + div + div { background: transparent !important; margin: 14px 26px 0 !important; padding: 0 !important; gap: 26px !important; border-bottom: 1px solid #E6ECF7 !important; }
.mxt-head + div + div > button, .mxt-head + div + div > button:hover { background: transparent !important; border-radius: 0 !important; padding: 12px 4px !important; color: #334155 !important; border-bottom: 2px solid transparent !important; font-weight: 600 !important; margin-bottom: -1px; }
.mxt-head + div + div > button:hover { color: #1D4ED8 !important; }
.mxt-head + div + div > button svg { color: #475569 !important; stroke: currentColor !important; }
.mxt-head + div + div > button.font-black { background: transparent !important; color: #1D4ED8 !important; border-bottom-color: #1D4ED8 !important; }
.mxt-head + div + div > button.font-black svg { color: #1D4ED8 !important; stroke: #1D4ED8 !important; }
.mxt-head + div + div > button > span[class*="rounded-full"], .mxt-head + div + div > button.font-black > span[class*="rounded-full"] { background: #EEF2F8 !important; color: #334155 !important; }
/* conteúdo: cartões brancos */
.mxt-head + div + div + div { background: transparent !important; padding: 18px 26px 26px !important; }
.mxt-head + div + div + div [class*="rounded-3xl"], .mxt-head + div + div + div [class*="rounded-2xl"], .mxt-head + div + div + div .rounded-xl.border { background: #fff !important; border: 1px solid #E6ECF7 !important; border-radius: 18px !important; }
.mxt-head + div + div + div [class*="rounded-3xl"] [class*="rounded-3xl"], .mxt-head + div + div + div [class*="rounded-2xl"] [class*="rounded-2xl"] { background: #F3F5F9 !important; border: 0 !important; border-radius: 14px !important; }
/* rolar a tarefa inteira (topo, informações, abas e conteúdo) dentro do quadro */
div:has(> .mxt-head) { overflow-y: auto !important; overscroll-behavior: contain; }
/* barra de rolagem dentro do quadro, longe dos cantos arredondados */
div:has(> .mxt-head)::-webkit-scrollbar { width: 12px; }
div:has(> .mxt-head)::-webkit-scrollbar-track { background: transparent; margin: 26px 0; }
div:has(> .mxt-head)::-webkit-scrollbar-thumb { background: rgba(100,116,139,.32) padding-box; border: 4px solid transparent; border-radius: 999px; }
div:has(> .mxt-head)::-webkit-scrollbar-thumb:hover { background: rgba(71,85,105,.55) padding-box; }
@supports (-moz-appearance: none) { div:has(> .mxt-head) { scrollbar-width: thin; scrollbar-color: rgba(100,116,139,.4) transparent; } }
div:has(> .mxt-head) > * { flex-shrink: 0 !important; }
.mxt-head + div + div + div { flex: none !important; overflow: visible !important; min-height: auto !important; }
/* sem caminho e sem ícone: só o nome do job e a descrição, com destaques em degradê */
.mxt-tile { display: none !important; }
/* nome do cliente em destaque acima do título */
.mxt-bc svg, .mxt-bc i, .mxt-bc span { display: none !important; }
.mxt-bc b { display: inline-flex; align-items: center; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #2563EB, #06B6D4); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.mxt-head h2 { background: none !important; -webkit-text-fill-color: #0F172A !important; color: #0F172A !important; }
.mxt-head + div::before { display: none !important; }
.mxt-titlerow { margin-top: 0; }
.mxt-head { background: linear-gradient(120deg, #EEF4FF 0%, #ECFAFD 60%, #F3F0FF 100%) !important; border-radius: 22px 22px 0 0; }
.mxt-head h2 { background: linear-gradient(135deg, #0B1B3F 0%, #1D4ED8 70%, #0891B2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mxt-head .mx-tasktimer > button.bg-slate-800 { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; }
.mxt-head > div:nth-child(2) button.bg-emerald-600 { background: linear-gradient(135deg, #34D399, #059669) !important; }
.mxt-head + div { position: relative; overflow: hidden; }
.mxt-head + div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #2563EB, #06B6D4, #A78BFA); }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-red"], [class*="text-rose"]) { background: linear-gradient(135deg, #FB7185, #E11D48) !important; color: #fff !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-orange"], [class*="text-amber"]) { background: linear-gradient(135deg, #FDBA74, #EA580C) !important; color: #fff !important; }
.mxt-head + div span[class*="text-[10px]"]:is([class*="text-sky"], [class*="text-cyan"], [class*="text-emerald"], [class*="text-green"]) { background: linear-gradient(135deg, #34D399, #059669) !important; color: #fff !important; }
.mxt-head + div + div > button.font-black { border-bottom: 0 !important; position: relative; }
.mxt-head + div + div > button, .mxt-head + div + div > button:hover { padding-left: 14px !important; padding-right: 14px !important; border-radius: 12px 12px 0 0 !important; }
.mxt-head + div + div > button, .mxt-head + div + div > button:hover { background: rgba(37,99,235,.05) !important; }
.mxt-head + div + div > button:not(.font-black):hover { background: rgba(37,99,235,.09) !important; }
.mxt-head + div + div > button.font-black, .mxt-head + div + div > button.font-black:hover { background: linear-gradient(180deg, rgba(37,99,235,.04), rgba(6,182,212,.12)) !important; }
.mxt-head + div + div { gap: 8px !important; }
.mxt-head + div + div > button.font-black::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2563EB, #06B6D4); }
.mxt-head + div + div > button.font-black > span[class*="rounded-full"] { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; }
@media (max-width: 640px) {
  .mxt-head { padding: 16px !important; }
  .mxt-tile { width: 48px; height: 48px; border-radius: 14px; }
  .mxt-head h2 { font-size: 21px !important; }
  .mxt-head + div, .mxt-head + div + div { margin-left: 14px !important; margin-right: 14px !important; }
  .mxt-head + div + div + div { padding: 14px !important; }
}

/* botões de anexos na tela da tarefa: fundo claro em cada um */
.mxt-head ~ div button.rounded-xl.border[title^="Anexos de trabalho"], .mxt-head ~ div button[title^="Anexos de trabalho"] { background: #EEF4FF !important; color: #1E40AF !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; padding: 9px 16px !important; }
.mxt-head ~ div button[title^="Anexos de trabalho"] svg { color: #2563EB !important; }
.mxt-head ~ div button.rounded-xl.border[title^="Anexos de trabalho"]:hover { background: #E0EAFF !important; }
.mxt-head ~ div button.rounded-xl.border[title^="Peças e materiais"], .mxt-head ~ div button[title^="Peças e materiais"] { background: #E6FAF4 !important; color: #047857 !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; padding: 9px 16px !important; }
.mxt-head ~ div button[title^="Peças e materiais"] svg { color: #059669 !important; }
.mxt-head ~ div button.rounded-xl.border[title^="Peças e materiais"]:hover { background: #D1FAE5 !important; }
.mxt-head + div + div + div button.bg-blue-600.rounded-xl.border:not([title]) { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; border: 0 !important; }

/* ===== Visualizador de arquivos mais simples ===== */
div:has(> .mxv-head) { background: #0F172A !important; border: 0 !important; border-radius: 20px !important; }
.mxv-head { background: transparent !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; padding: 14px 18px !important; }
.mxv-head > div:first-child > div:first-child { display: none !important; }
.mxv-head h3 { font-size: 15px !important; font-weight: 700 !important; }
.mxv-head h3 ~ span.font-mono { display: none !important; }
.mxv-head h3 ~ span:not(.font-mono) { border-radius: 999px !important; font-size: 11px !important; padding: 3px 10px !important; }
.mxv-head > div:first-child .text-xs { font-size: 12px !important; color: #94A3B8 !important; }
.mxv-head > div:last-child > div:first-child { background: rgba(255,255,255,.06) !important; border: 0 !important; border-radius: 999px !important; }
.mxv-head > div:last-child > div:first-child button { border-radius: 999px !important; }
.mxv-head > div:last-child > button { border: 0 !important; border-radius: 999px !important; background: rgba(255,255,255,.06) !important; }
.mxv-head > div:last-child > button:hover { background: rgba(255,255,255,.12) !important; }
.mxv-head > div:last-child > button.bg-blue-600 { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; box-shadow: none !important; padding: 8px 16px !important; }
.mxv-head + div { background: #0B1222 !important; }
.mxv-head + div img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
div:has(> .mxv-head) > div:last-child.bg-slate-800\/90 { background: transparent !important; border-top: 1px solid rgba(255,255,255,.06) !important; padding: 10px 18px !important; }
/* ===== fim do visualizador ===== */

/* ===== Novo Job no mesmo padrão da tela da tarefa ===== */
div:has(> .mxn-head) { border: 0 !important; border-radius: 22px !important; box-shadow: 0 30px 80px rgba(15,23,42,.28) !important; background: radial-gradient(900px 400px at 100% 0%, #EAF1FF 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #EEF9FC 0%, transparent 60%), #F8FAFE !important; }
.mxn-head { background: linear-gradient(120deg, #EEF4FF 0%, #ECFAFD 60%, #F3F0FF 100%) !important; border-bottom: 0 !important; padding: 22px 26px !important; }
.mxn-head h2 { font-size: 24px !important; font-weight: 800 !important; color: #0F172A !important; }
.mxn-head p { font-size: 13px !important; color: #64748B !important; margin-top: 2px; }
.mxn-head + form { background: transparent !important; padding: 20px 26px 22px !important; font-size: 13px !important; }
.mxn-head + form label { font-weight: 700 !important; color: #334155 !important; font-size: 12.5px !important; }
.mxn-head + form input:not([type=checkbox]):not([type=radio]):not([type=file]), .mxn-head + form select, .mxn-head + form textarea { background: #fff !important; border: 1px solid #E6ECF7 !important; border-radius: 12px !important; padding: 10px 14px !important; font-size: 13px !important; transition: border-color .15s, box-shadow .15s; }
.mxn-head + form input:not([type=checkbox]):hover, .mxn-head + form select:hover { border-color: #BFD0F5 !important; }
/* barra do editor de texto (fonte e tamanho): seletores compactos, sem cortar o texto */
.mxn-head + form select.h-7 { height: 30px !important; padding: 0 26px 0 10px !important; border-radius: 9px !important; font-size: 12px !important; line-height: 28px !important; background-position: right 8px center !important; }
.mxn-head + form select.h-7[title="Tamanho da Fonte"] { width: 70px !important; }
.mxn-head + form input[type=color] { padding: 0 !important; border-radius: 6px !important; }
.mxn-head + form input:focus, .mxn-head + form select:focus, .mxn-head + form textarea:focus { border-color: #2563EB !important; box-shadow: 0 0 0 3px rgba(37,99,235,.14) !important; }
/* caixas de execução / responsável e blocos */
.mxn-head + form .p-3.rounded-xl.bg-slate-50, .mxn-head + form .p-3\.5.rounded-xl.bg-slate-50 { background: #fff !important; border: 1px solid #E6ECF7 !important; border-radius: 18px !important; padding: 16px !important; }
.mxn-head + form .p-3.rounded-xl.bg-slate-50 [class*="bg-white"][class*="border"] { border-color: #EEF2F8 !important; border-radius: 14px !important; }
.mxn-head + form .p-3.rounded-xl.bg-slate-50 span[class*="rounded-full"][class*="bg-"] { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; border: 0 !important; white-space: nowrap; font-size: 10.5px !important; padding: 3px 9px !important; flex-shrink: 0; }
.mxn-head + form [class*="rounded-2xl"][class*="border-slate-200"] { border-color: #E6ECF7 !important; border-radius: 16px !important; box-shadow: none !important; }
.mxn-head + form input[type=checkbox] { accent-color: #2563EB; }
.mxn-head + form .border-dashed { background: rgba(255,255,255,.6) !important; border-color: #BFD0F5 !important; border-radius: 16px !important; }
/* rodapé */
.mxn-head + form > div:last-child { border-top: 1px solid #E6ECF7 !important; }
.mxn-head + form > div:last-child button { border-radius: 999px !important; padding: 9px 18px !important; font-size: 13px !important; }
.mxn-head + form > div:last-child button.bg-emerald-500 { background: linear-gradient(135deg, #34D399, #059669) !important; box-shadow: none !important; }
.mxn-head + form > div:last-child button:not(.bg-emerald-500) { background: rgba(37,99,235,.06) !important; color: #334155 !important; }
@media (max-width: 640px) { .mxn-head { padding: 16px !important; } .mxn-head + form { padding: 14px !important; } }
/* ===== fim do Novo Job ===== */

/* ===== Cartões do Kanban: contorno fino ===== */
main .group.bg-white.rounded-2xl.border.p-3 { border: 1px solid #E6ECF7 !important; box-shadow: none !important; }
main .group.bg-white.rounded-2xl.border.p-3:hover { border-color: rgba(37,99,235,.45) !important; box-shadow: none !important; }

/* ===== Aprovações no padrão novo ===== */
#mx-approvals-view { background: rgba(255,255,255,.7) !important; border: 1px solid rgba(255,255,255,.95) !important; border-radius: 999px !important; padding: 4px !important; }
#mx-approvals-view button { border-radius: 999px !important; padding: 6px 16px !important; font-size: 12.5px !important; color: #1E40AF !important; background: transparent !important; }
#mx-approvals-view button[style*="rgb(81, 101, 246)"] { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl:has(> button.bg-amber-500), main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl:has(> button + button + button + button) { background: rgba(255,255,255,.7) !important; border: 1px solid rgba(255,255,255,.95) !important; border-radius: 999px !important; box-shadow: none !important; padding: 4px !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl > button { border-radius: 999px !important; padding: 6px 16px !important; font-size: 12.5px !important; box-shadow: none !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl > button[class*="bg-amber-5"] { background: linear-gradient(135deg, #FBBF24, #D97706) !important; color: #fff !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl > button:is([class*="bg-rose-5"], [class*="bg-red-5"]) { background: linear-gradient(135deg, #FB7185, #E11D48) !important; color: #fff !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl > button:is([class*="bg-emerald-5"], [class*="bg-green-5"], [class*="bg-emerald-6"]) { background: linear-gradient(135deg, #34D399, #059669) !important; color: #fff !important; }
main div.flex.flex-wrap.items-center.bg-white.p-1.rounded-2xl > button:is([class*="bg-slate-8"], [class*="bg-slate-9"], [class*="bg-[#5165F6]"], [class*="bg-indigo-"], [class*="bg-blue-5"], [class*="bg-blue-6"]) { background: linear-gradient(135deg, #2563EB, #06B6D4) !important; color: #fff !important; }
/* cartões */
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) { border: 0 !important; border-radius: 18px !important; box-shadow: none !important; background: #fff !important; padding: 16px 18px !important; transition: box-shadow .15s, transform .15s; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto):hover { box-shadow: 0 0 0 1px rgba(37,99,235,.35) !important; transform: translateY(-1px); }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child > div:first-child > span:first-child { color: #2563EB !important; font-weight: 800 !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) span[class*="bg-amber-50"] { background: linear-gradient(135deg, #FBBF24, #D97706) !important; color: #fff !important; border: 0 !important; font-family: inherit !important; padding: 3px 10px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) h3 { color: #0F172A !important; font-weight: 800 !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) span[class*="bg-indigo-50"] { background: #EEF4FF !important; border: 0 !important; border-radius: 999px !important; color: #1E40AF !important; padding: 3px 10px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto { border-top-color: #EEF2F8 !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button { border-radius: 999px !important; border: 0 !important; box-shadow: none !important; font-weight: 700 !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button.bg-slate-50 { background: #F3F6FF !important; color: #1E40AF !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button.bg-slate-50:hover { background: #E3ECFF !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button.bg-emerald-600 { background: linear-gradient(135deg, #34D399, #059669) !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button.bg-rose-500 { background: linear-gradient(135deg, #FB7185, #E11D48) !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button:is(.bg-emerald-600, .bg-rose-500):hover { filter: brightness(1.05); }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto img { box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(15,23,42,.15); }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) span[class*="bg-amber-50"], .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) span.font-mono.text-slate-400 { display: none !important; }
/* ===== fim de Aprovações ===== */

/* ===== Dashboard (resumo real das demandas) ===== */
.mxd { background: #F8FAFD; }
.mxd-wrap { max-width: 1400px; margin: 0 auto; padding: 22px 26px 30px; display: flex; flex-direction: column; gap: 16px; color: #0F172A; }
.mxd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mxd-head h2 { font-size: 20px; font-weight: 800; margin: 0; }
.mxd-head p { font-size: 13px; color: #64748B; margin: 2px 0 0; }
.mxd-ctl { display: flex; align-items: center; gap: 8px; }
.mxd-seg { display: inline-flex; gap: 2px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 3px; }
.mxd-seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; font-size: 12px; font-weight: 700; color: #475569; cursor: pointer; font-family: inherit; }
.mxd-seg button.on { background: #EEF2FF; color: #5165F6; }
.mxd-seg.sm { padding: 2px; border-radius: 8px; margin-left: 6px; vertical-align: middle; }
.mxd-seg.sm button { padding: 2px 7px; font-size: 10px; text-transform: none; letter-spacing: 0; }
.mxd-new { border: 0; background: #10B981; color: #fff; font-weight: 700; font-size: 12.5px; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-family: inherit; }
.mxd-new:hover { background: #059669; }
.mxd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mxd-kpi { text-align: left; background: #fff; border: 1px solid #E2E8F0; border-left-width: 4px; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font-family: inherit; transition: box-shadow .15s, transform .15s; }
div.mxd-kpi { cursor: default; }
button.mxd-kpi:hover { box-shadow: 0 4px 14px rgba(15,23,42,.07); transform: translateY(-1px); }
.mxd-kpi.act { box-shadow: 0 0 0 2px rgba(81,101,246,.25); }
.mxd-kpi.blue { border-left-color: #5165F6; } .mxd-kpi.red { border-left-color: #F43F5E; } .mxd-kpi.amber { border-left-color: #F59E0B; } .mxd-kpi.green { border-left-color: #10B981; }
.mxd-kl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #64748B; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.mxd-kv { font-size: 32px; font-weight: 800; line-height: 1.1; font-family: "JetBrains Mono", ui-monospace, monospace; }
.mxd-kpi.red .mxd-kv { color: #E11D48; } .mxd-kpi.amber .mxd-kv { color: #D97706; } .mxd-kpi.green .mxd-kv { color: #059669; } .mxd-kpi.blue .mxd-kv { color: #3F51E0; }
.mxd-ks { font-size: 12px; color: #64748B; }
.mxd-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px 18px; min-width: 0; }
.mxd-ch { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mxd-ch h3 { font-size: 15px; font-weight: 800; margin: 0; }
.mxd-ch p { font-size: 12px; color: #64748B; margin: 2px 0 0; }
.mxd-link { border: 0; background: transparent; color: #5165F6; font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; font-family: inherit; padding: 2px 0; }
.mxd-link:hover { text-decoration: underline; }
.mxd-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; gap: 2px; background: #F1F5F9; }
.mxd-bar span { min-width: 6px; }
.mxd-leg { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.mxd-leg div { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #475569; }
.mxd-leg i { width: 10px; height: 10px; border-radius: 3px; }
.mxd-leg b { color: #0F172A; font-family: "JetBrains Mono", ui-monospace, monospace; }
.mxd-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mxd-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.mxd-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E2E8F0; background: #fff; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #475569; cursor: pointer; font-family: inherit; }
.mxd-tabs button b { background: #F1F5F9; color: #334155; border-radius: 999px; padding: 0 7px; font-size: 11px; }
.mxd-tabs button.on { background: #EEF2FF; border-color: #C7D2FE; color: #3F51E0; }
.mxd-tabs button.on.late { background: #FFF1F2; border-color: #FECDD3; color: #BE123C; }
.mxd-tabs button.on.hoje { background: #FFFBEB; border-color: #FDE68A; color: #B45309; }
.mxd-list { border: 1px solid #F1F5F9; border-radius: 10px; overflow: hidden; }
.mxd-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 150px minmax(0, 1.2fr) 112px; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #F1F5F9; cursor: pointer; font-size: 12.5px; }
.mxd-row:last-child { border-bottom: 0; }
.mxd-row:hover { background: #F3F6FF; }
.mxd-rh { cursor: default; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; padding-top: 7px; padding-bottom: 7px; background: #FAFBFD; }
.mxd-rh:hover { background: #FAFBFD; }
.mxd-rt { min-width: 0; }
.mxd-rt strong { display: block; font-weight: 700; color: #0F172A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxd-rt small { display: block; color: #64748B; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxd-st { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; border: 1px solid; font-size: 11px; font-weight: 600; width: fit-content; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mxd-st i { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mxd-who { display: flex; align-items: center; gap: 6px; min-width: 0; color: #334155; }
.mxd-who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mxd-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxd-mut { color: #94A3B8; }
.mxd-b { display: inline-flex; flex-direction: column; align-items: center; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; line-height: 1.2; background: #F1F5F9; color: #475569; width: fit-content; text-align: center; }
.mxd-b small { font-weight: 600; opacity: .85; font-size: 10px; }
.mxd-b.red { background: #E11D48; color: #fff; } .mxd-b.amber { background: #F59E0B; color: #fff; } .mxd-b.green { background: #059669; color: #fff; }
.mxd-more { width: 100%; border: 0; background: #FAFBFD; color: #5165F6; font-weight: 700; font-size: 12px; padding: 9px; cursor: pointer; font-family: inherit; }
.mxd-empty { padding: 26px 12px; text-align: center; color: #94A3B8; font-size: 13px; border: 2px dashed #E2E8F0; border-radius: 10px; }
.mxd-days { display: flex; gap: 8px; height: 210px; align-items: stretch; }
.mxd-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.mxd-day b { font-size: 12px; font-family: "JetBrains Mono", ui-monospace, monospace; height: 16px; }
.mxd-col { flex: 1; width: 100%; max-width: 34px; background: #F1F5F9; border-radius: 7px; display: flex; align-items: flex-end; overflow: hidden; }
.mxd-col i { display: block; width: 100%; border-radius: 7px; }
.mxd-day small { font-size: 10.5px; color: #64748B; font-weight: 600; white-space: nowrap; }
.mxd-team { display: flex; flex-direction: column; gap: 10px; }
.mxd-tm { display: flex; align-items: center; gap: 10px; }
.mxd-tm img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mxd-tmb { flex: 1; min-width: 0; }
.mxd-tmh { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.mxd-tmh strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxd-tmh span { color: #64748B; white-space: nowrap; }
.mxd-tmh em { color: #E11D48; font-style: normal; font-weight: 700; }
.mxd-tbar { display: block; height: 7px; background: #F1F5F9; border-radius: 5px; margin-top: 5px; overflow: hidden; }
.mxd-tbar i { display: block; height: 100%; background: #5165F6; border-radius: 5px; }
.mxd-cli { display: flex; flex-direction: column; }
.mxd-cr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid #F1F5F9; font-size: 12.5px; }
.mxd-cr:last-child { border-bottom: 0; }
.mxd-cr strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxd-cr .mxd-b { flex-direction: row; }
@media (max-width: 1100px) { .mxd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mxd-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mxd-wrap { padding: 14px 12px 24px; }
  .mxd-kv { font-size: 26px; }
  .mxd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mxd-row > :nth-child(2), .mxd-row > :nth-child(3) { display: none; }
  .mxd-days { height: 170px; gap: 4px; }
}

/* ----- Dashboard: visual Aurora Ocean + animações ----- */
.mxd { background: radial-gradient(1200px 500px at 0% 0%, #E6EEFF 0%, transparent 60%), radial-gradient(900px 500px at 100% 10%, #E0F7FB 0%, transparent 55%), radial-gradient(900px 600px at 60% 100%, #EEEAFE 0%, transparent 60%), #F5F8FF; }
.mxd-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,.9); background: linear-gradient(120deg, #DCE8FF 0%, #D6F3FA 55%, #E6E1FF 100%); box-shadow: 0 10px 30px rgba(37,99,235,.10); }
.mxd-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.25), transparent 65%); pointer-events: none; }
.mxd-hero-t { position: relative; z-index: 1; min-width: 0; }
.mxd-eye { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2563EB; }
.mxd-hero h2 { font-size: 26px; font-weight: 800; margin: 4px 0 6px; color: #0B1B3F; }
.mxd-hero p { margin: 0; font-size: 14px; color: #334155; }
.mxd-hero p b { color: #1D4ED8; } .mxd-hero p b.r { color: #E11D48; } .mxd-hero p b.a { color: #D97706; }
.mxd-hero-r { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.mxd-wave { width: 200px; height: 64px; }
.mxd-wave path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: mxdDraw 1.6s .3s cubic-bezier(.3,.7,.2,1) forwards; }
.mxd-ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(#2563EB calc(var(--p) * 1%), #06B6D4 calc(var(--p) * 1%), rgba(255,255,255,.6) 0); box-shadow: 0 6px 18px rgba(37,99,235,.15); animation: mxdPop .7s .35s cubic-bezier(.2,.9,.3,1.2) both; }
.mxd-ring span { font-size: 20px; font-weight: 800; color: #0B1B3F; font-family: "JetBrains Mono", ui-monospace, monospace; line-height: 1; }
.mxd-ring small { font-size: 10px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.mxd-kpi { border: 1px solid rgba(255,255,255,.95); border-left-width: 1px; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 20px rgba(15,23,42,.06); position: relative; overflow: hidden; }
.mxd-kpi.blue { background: linear-gradient(140deg, #E3ECFF, #D3E2FF); }
.mxd-kpi.red { background: linear-gradient(140deg, #FFE9EE, #FFD9E1); }
.mxd-kpi.amber { background: linear-gradient(140deg, #FFF4DD, #FFE8C2); }
.mxd-kpi.green { background: linear-gradient(140deg, #DDF7F9, #CDF1EF); }
.mxd-kpi .mxd-kl { justify-content: space-between; color: #475569; }
.mxd-kpi.blue .mxd-kl { color: #1E40AF; } .mxd-kpi.red .mxd-kl { color: #BE123C; } .mxd-kpi.amber .mxd-kl { color: #B45309; } .mxd-kpi.green .mxd-kl { color: #0E7490; }
.mxd-ic { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px rgba(15,23,42,.15); }
.mxd-kpi.blue .mxd-ic { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.mxd-kpi.red .mxd-ic { background: linear-gradient(135deg, #E11D48, #FB7185); }
.mxd-kpi.amber .mxd-ic { background: linear-gradient(135deg, #D97706, #F59E0B); }
.mxd-kpi.green .mxd-ic { background: linear-gradient(135deg, #0891B2, #10B981); }
.mxd-kpi .mxd-kv { font-size: 36px; margin-top: 4px; color: #0B1B3F !important; }
.mxd-kpi.red .mxd-kv { color: #BE123C !important; }
button.mxd-kpi:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,99,235,.14); }
.mxd-kpi.act { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37,99,235,.45), 0 8px 22px rgba(37,99,235,.15); }
.mxd-kpi .mxd-seg.sm { background: rgba(255,255,255,.7); border-color: rgba(255,255,255,.9); }
.mxd-card { border: 1px solid rgba(255,255,255,.95); border-radius: 18px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(15,23,42,.05); padding: 18px 20px; }
.mxd-bar { height: 16px; border-radius: 999px; background: rgba(226,232,240,.7); }
.mxd-bar span { border-radius: 999px; transform-origin: left; animation: mxdGrowX .9s .45s cubic-bezier(.2,.8,.2,1) both; }
.mxd-bar span:nth-child(1) { background: linear-gradient(90deg, #94A3B8, #B8C3D3) !important; }
.mxd-bar span:nth-child(2) { animation-delay: .55s; } .mxd-bar span:nth-child(3) { animation-delay: .65s; } .mxd-bar span:nth-child(4) { animation-delay: .75s; } .mxd-bar span:nth-child(5) { animation-delay: .85s; }
.mxd-list { border: 1px solid #EEF2F8; border-radius: 14px; background: #fff; }
.mxd-row { animation: mxdFade .45s cubic-bezier(.2,.7,.2,1) both; }
.mxd-row:nth-child(2) { animation-delay: .04s; } .mxd-row:nth-child(3) { animation-delay: .08s; } .mxd-row:nth-child(4) { animation-delay: .12s; } .mxd-row:nth-child(5) { animation-delay: .16s; } .mxd-row:nth-child(6) { animation-delay: .2s; } .mxd-row:nth-child(n+7) { animation-delay: .24s; }
.mxd-row:hover { background: #F1F6FF; }
.mxd-b { border-radius: 9px; }
.mxd-tabs button { transition: background .15s, color .15s, border-color .15s; }
.mxd-col { max-width: 30px; border-radius: 999px; background: rgba(226,232,240,.6); }
.mxd-col i { border-radius: 999px; transform-origin: bottom; animation: mxdGrowY .9s cubic-bezier(.2,.8,.2,1) both; background-image: linear-gradient(180deg, rgba(255,255,255,.25), transparent); }
.mxd-day:nth-child(1) .mxd-col i { animation-delay: .5s; } .mxd-day:nth-child(2) .mxd-col i { animation-delay: .56s; } .mxd-day:nth-child(3) .mxd-col i { animation-delay: .62s; } .mxd-day:nth-child(4) .mxd-col i { animation-delay: .68s; } .mxd-day:nth-child(5) .mxd-col i { animation-delay: .74s; } .mxd-day:nth-child(6) .mxd-col i { animation-delay: .8s; } .mxd-day:nth-child(7) .mxd-col i { animation-delay: .86s; } .mxd-day:nth-child(8) .mxd-col i { animation-delay: .92s; }
/* entrada em cascata */
.mxd-wrap > * { animation: mxdUp .6s cubic-bezier(.2,.7,.2,1) both; }
.mxd-wrap > :nth-child(2) { animation-delay: .08s; } .mxd-wrap > :nth-child(3) { animation-delay: .16s; } .mxd-wrap > :nth-child(4) { animation-delay: .24s; } .mxd-wrap > :nth-child(5) { animation-delay: .32s; }
.mxd-kpis > * { animation: mxdUp .6s cubic-bezier(.2,.7,.2,1) both; }
.mxd-kpis > :nth-child(1) { animation-delay: .12s; } .mxd-kpis > :nth-child(2) { animation-delay: .19s; } .mxd-kpis > :nth-child(3) { animation-delay: .26s; } .mxd-kpis > :nth-child(4) { animation-delay: .33s; }
@keyframes mxdUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mxdFade { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes mxdGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mxdGrowY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mxdDraw { to { stroke-dashoffset: 0; } }
@keyframes mxdPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
/* tudo no tom verde/ciano do cartão "Concluídas" */
.mxd-kpi.blue, .mxd-kpi.red, .mxd-kpi.amber, .mxd-kpi.green { background: linear-gradient(140deg, #DDF7F9, #CDF1EF); border-color: rgba(255,255,255,.95); }
.mxd-kpi.blue .mxd-kl, .mxd-kpi.red .mxd-kl, .mxd-kpi.amber .mxd-kl, .mxd-kpi.green .mxd-kl { color: #0E7490; }
.mxd-kpi.blue .mxd-ic, .mxd-kpi.red .mxd-ic, .mxd-kpi.amber .mxd-ic, .mxd-kpi.green .mxd-ic { background: linear-gradient(135deg, #0891B2, #10B981); }
.mxd-kpi .mxd-kv, .mxd-kpi.red .mxd-kv { color: #0B3B3F !important; }
.mxd-kpi .mxd-ks { color: #3F6B70; }
button.mxd-kpi:hover { box-shadow: 0 12px 28px rgba(8,145,178,.16); }
.mxd-kpi.act, .mxd-kpi:focus, .mxd-kpi:focus-visible { box-shadow: 0 6px 20px rgba(15,23,42,.06); outline: none; }
.mxd-card { background: linear-gradient(140deg, #E6FAFB, #D8F4F1); border-color: rgba(255,255,255,.95); }
.mxd-ch h3 { color: #0B3B3F; }
.mxd-ch p { color: #3F6B70; }
.mxd-link { color: #0E7490; }
.mxd-list { border-color: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(8,145,178,.06); }
.mxd-rh, .mxd-rh:hover { background: #F2FBFB; color: #5B8A8F; }
.mxd-row:hover { background: #ECFBF8; }
.mxd-more { background: #F2FBFB; color: #0E7490; }
.mxd-empty { border-color: rgba(14,116,144,.2); color: #5B8A8F; background: rgba(255,255,255,.55); }
.mxd-col { background: rgba(255,255,255,.7); }
.mxd-day small, .mxd-day b { color: #0E5E66; }
/* abas e Semana/Mês no padrão novo (pílulas de vidro, ativo em degradê verde) */
.mxd-seg, .mxd-kpi .mxd-seg.sm { background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.95); border-radius: 999px; padding: 3px; box-shadow: inset 0 1px 2px rgba(8,145,178,.08); }
.mxd-seg button, .mxd-seg.sm button { border-radius: 999px; color: #0E7490; font-weight: 700; }
.mxd-seg.sm button { padding: 3px 10px; font-size: 10.5px; }
.mxd-seg button.on, .mxd-seg.sm button.on { background: linear-gradient(135deg, #0891B2, #10B981); color: #fff; box-shadow: 0 3px 8px rgba(8,145,178,.25); }
.mxd-tabs button { background: rgba(255,255,255,.7); border-color: rgba(255,255,255,.95); color: #0E7490; }
.mxd-tabs button b { background: rgba(14,116,144,.1); color: #0E5E66; }
.mxd-tabs button:hover { background: #fff; }
.mxd-tabs button.on, .mxd-tabs button.on.late, .mxd-tabs button.on.hoje { background: linear-gradient(135deg, #0891B2, #10B981); border-color: transparent; color: #fff; box-shadow: 0 3px 10px rgba(8,145,178,.25); }
.mxd-tabs button.on b { background: rgba(255,255,255,.25); color: #fff; }
.mxd-hero h2 { margin-bottom: 0; }
/* tabela "Precisa de atenção": linhas em cartões */
.mxd-list { border: 0; background: transparent; box-shadow: none; display: flex; flex-direction: column; gap: 8px; overflow: visible; }
.mxd-list .mxd-rh, .mxd-list .mxd-rh:hover { background: transparent; border: 0; padding: 0 16px 0 20px; color: #5B8A8F; animation: none; }
.mxd-list .mxd-row:not(.mxd-rh) { position: relative; background: #fff; border: 1px solid rgba(255,255,255,.95); border-radius: 14px; padding: 11px 16px 11px 20px; box-shadow: 0 2px 10px rgba(8,145,178,.07); transition: transform .15s, box-shadow .15s; }
.mxd-list .mxd-row:not(.mxd-rh)::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: #CBD5E1; }
.mxd-list .mxd-row.u-late::before { background: linear-gradient(180deg, #FB7185, #E11D48); }
.mxd-list .mxd-row.u-today::before { background: linear-gradient(180deg, #FBBF24, #D97706); }
.mxd-list .mxd-row.u-ok::before { background: linear-gradient(180deg, #22D3EE, #10B981); }
.mxd-list .mxd-row:not(.mxd-rh):hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(8,145,178,.13); }
.mxd-rt strong { font-size: 13.5px; }
.mxd-rt small { margin-top: 1px; }
.mxd-st { border: 0 !important; padding: 4px 10px; font-weight: 700; font-size: 11px; }
.mxd-who img { width: 28px; height: 28px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(15,23,42,.15); }
.mxd-who span { font-weight: 600; }
.mxd-list .mxd-b { justify-self: end; align-items: flex-end; text-align: right; background: transparent; padding: 0; color: #334155; font-size: 12px; }
.mxd-list .mxd-b small { font-size: 10.5px; color: #94A3B8; font-weight: 600; opacity: 1; }
.mxd-list .mxd-b.red { color: #E11D48; } .mxd-list .mxd-b.amber { color: #D97706; } .mxd-list .mxd-b.green { color: #059669; }
.mxd-list .mxd-rh > :last-child { text-align: right; }
.mxd-more { border-radius: 12px; background: rgba(255,255,255,.7); }
/* tudo no mesmo azul da faixa com o nome (Aurora Ocean) */
.mxd-kpi.blue, .mxd-kpi.red, .mxd-kpi.amber, .mxd-kpi.green { background: linear-gradient(120deg, #DCE8FF 0%, #D6F3FA 60%, #E6E1FF 100%); }
.mxd-kpi.blue .mxd-kl, .mxd-kpi.red .mxd-kl, .mxd-kpi.amber .mxd-kl, .mxd-kpi.green .mxd-kl { color: #1E40AF; }
.mxd-kpi.blue .mxd-ic, .mxd-kpi.red .mxd-ic, .mxd-kpi.amber .mxd-ic, .mxd-kpi.green .mxd-ic { background: linear-gradient(135deg, #2563EB, #06B6D4); }
.mxd-kpi .mxd-kv, .mxd-kpi.red .mxd-kv { color: #0B1B3F !important; }
.mxd-kpi .mxd-ks { color: #475569; }
button.mxd-kpi:hover { box-shadow: 0 12px 28px rgba(37,99,235,.15); }
.mxd-card { background: linear-gradient(120deg, #E3ECFF 0%, #DDF4FA 60%, #EAE6FF 100%); }
.mxd-ch h3 { color: #0B1B3F; }
.mxd-ch p { color: #475569; }
.mxd-link { color: #2563EB; }
.mxd-list .mxd-rh, .mxd-list .mxd-rh:hover { color: #64748B; }
.mxd-list .mxd-row:not(.mxd-rh) { box-shadow: 0 2px 10px rgba(37,99,235,.07); }
.mxd-list .mxd-row:not(.mxd-rh):hover { box-shadow: 0 8px 20px rgba(37,99,235,.14); }
.mxd-list .mxd-row.u-ok::before { background: linear-gradient(180deg, #3B82F6, #06B6D4); }
.mxd-more { color: #2563EB; }
.mxd-empty { border-color: rgba(37,99,235,.18); color: #64748B; }
.mxd-day small, .mxd-day b { color: #1E3A8A; }
.mxd-seg button, .mxd-seg.sm button { color: #1E40AF; }
.mxd-seg button.on, .mxd-seg.sm button.on { background: linear-gradient(135deg, #2563EB, #06B6D4); color: #fff; box-shadow: 0 3px 8px rgba(37,99,235,.25); }
.mxd-tabs button { color: #1E40AF; }
.mxd-tabs button b { background: rgba(37,99,235,.1); color: #1E3A8A; }
.mxd-tabs button.on, .mxd-tabs button.on.late, .mxd-tabs button.on.hoje { background: linear-gradient(135deg, #2563EB, #06B6D4); color: #fff; box-shadow: 0 3px 10px rgba(37,99,235,.25); }
/* abas com as mesmas cores do gráfico: atrasadas vermelho, hoje laranja, próximos dias verde */
.mxd-tabs button.t-late { color: #BE123C; } .mxd-tabs button.t-late b { background: #FFE4E9; color: #BE123C; }
.mxd-tabs button.t-hoje { color: #B45309; } .mxd-tabs button.t-hoje b { background: #FEF3C7; color: #B45309; }
.mxd-tabs button.t-amanha, .mxd-tabs button.t-semana { color: #047857; }
.mxd-tabs button.t-amanha b, .mxd-tabs button.t-semana b { background: #D1FAE5; color: #047857; }
.mxd-tabs button.t-late.on { background: linear-gradient(135deg, #FB7185, #E11D48); color: #fff; box-shadow: 0 3px 10px rgba(225,29,72,.28); }
.mxd-tabs button.t-hoje.on { background: linear-gradient(135deg, #FBBF24, #D97706); color: #fff; box-shadow: 0 3px 10px rgba(217,119,6,.28); }
.mxd-tabs button.t-amanha.on, .mxd-tabs button.t-semana.on { background: linear-gradient(135deg, #34D399, #059669); color: #fff; box-shadow: 0 3px 10px rgba(5,150,105,.28); }
.mxd-tabs button.on b { background: rgba(255,255,255,.28); color: #fff; }
/* cartões do dashboard sem contorno e com sombra fina */
.mxd-hero, .mxd-kpi, .mxd-kpi.blue, .mxd-kpi.red, .mxd-kpi.amber, .mxd-kpi.green, .mxd-card, .mxd-kpi.act, .mxd-kpi:focus { border: 0 !important; box-shadow: none !important; }
.mxd-ring, .mxd-ic, .mxd-seg button.on, .mxd-tabs button.on, .mxd-list { box-shadow: none !important; }
button.mxd-kpi:hover { box-shadow: 0 0 0 1px rgba(37,99,235,.35) !important; }
.mxd-list .mxd-row:not(.mxd-rh) { border: 0; box-shadow: none; }
.mxd-list .mxd-row:not(.mxd-rh):hover { box-shadow: 0 0 0 1px rgba(37,99,235,.35); }
/* Minhas Tarefas (Por data) no mesmo padrão das linhas do Dashboard */
.mxdv-sec { background: rgba(255,255,255,.45) !important; border: 0 !important; box-shadow: none !important; border-radius: 16px !important; }
.mxdv-sec > button { background: transparent !important; border-bottom: 0 !important; padding-top: 12px !important; }
.mxdv-scroll { border-radius: 16px; overflow: auto; clip-path: inset(0 round 16px); }
.mxdv-body { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 10px; }
.mxdv-head { border: 0 !important; padding-left: 22px !important; color: #64748B !important; }
.mxdv-row { position: relative; background: #fff !important; border: 0 !important; border-radius: 14px; padding: 12px 16px 12px 22px !important; font-size: 12.5px; transition: transform .15s, box-shadow .15s; }
.mxdv-row::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: #CBD5E1; }
.mxdv-row.u-late::before { background: linear-gradient(180deg, #FB7185, #E11D48); }
.mxdv-row.u-today::before { background: linear-gradient(180deg, #FBBF24, #D97706); }
.mxdv-row.u-ok::before { background: linear-gradient(180deg, #34D399, #059669); }
.mxdv-row.u-done::before { background: #CBD5E1; }
.mxdv-row { background: #F3F6FF !important; }
.mxdv-row:hover { background: linear-gradient(135deg, #E6FAFB 0%, #DDF7F9 50%, #CDF1EF 100%) !important; box-shadow: none; }
.mxdv-row > div:first-child > div { font-size: 13.5px; font-weight: 700 !important; }
.mxdv-st, .mxdv-pr { border: 0 !important; border-radius: 999px !important; padding: 5px 12px !important; font-size: 11.5px !important; font-weight: 700 !important; }
.mxdv-pr { text-transform: none; }
.mxdv-row, .mxdv-row *, main tr.mxl-row, main tr.mxl-row * { animation: none !important; }
.mxdv-st { max-width: none !important; overflow: visible !important; white-space: nowrap; font-size: 11px !important; padding: 5px 11px !important; }
main section.rounded-2xl .mxdv-row span.mxdv-st.rounded-full, main section.rounded-2xl .mxdv-row span.mxdv-pr.rounded-md { border-radius: 999px !important; }
/* etiquetas preenchidas com o mesmo degradê das abas selecionadas do Dashboard */
main .mxdv-row span.mxdv-st, main .mxdv-row span.mxdv-pr { color: #fff !important; background: linear-gradient(135deg, #94A3B8, #64748B) !important; }
main .mxdv-row span.mxdv-st > span { background: rgba(255,255,255,.9) !important; }
main .mxdv-row span.mxdv-st:is([class*="text-blue"], [class*="text-indigo"], [class*="text-[#5165F6]"], [class*="text-sky"], [class*="text-cyan"]) { background: linear-gradient(135deg, #60A5FA, #2563EB) !important; }
main .mxdv-row span.mxdv-st:is([class*="text-amber"], [class*="text-orange"], [class*="text-yellow"]) { background: linear-gradient(135deg, #FBBF24, #D97706) !important; }
main .mxdv-row span.mxdv-st:is([class*="text-rose"], [class*="text-red"], [class*="text-pink"]) { background: linear-gradient(135deg, #FB7185, #E11D48) !important; }
main .mxdv-row span.mxdv-st:is([class*="text-purple"], [class*="text-violet"], [class*="text-fuchsia"]) { background: linear-gradient(135deg, #C084FC, #9333EA) !important; }
main .mxdv-row span.mxdv-st:is([class*="text-emerald"], [class*="text-green"], [class*="text-teal"]) { background: linear-gradient(135deg, #34D399, #059669) !important; }
main .mxdv-row span.mxdv-pr[data-p="urgente"] { background: linear-gradient(135deg, #FB7185, #E11D48) !important; }
main .mxdv-row span.mxdv-pr[data-p="alta"] { background: linear-gradient(135deg, #FDBA74, #EA580C) !important; }
main .mxdv-row span.mxdv-pr[data-p="media"] { background: linear-gradient(135deg, #34D399, #059669) !important; }
main .mxdv-row span.mxdv-pr[data-p="baixa"] { background: linear-gradient(135deg, #94A3B8, #64748B) !important; }
/* fundo colorido de cada etiqueta (tom igual ao das abas do Dashboard) */
:is(.mxdv-st, .mxdv-pr)[class*="text-slate"], :is(.mxdv-st, .mxdv-pr)[class*="text-gray"] { background: #E2E8F0 !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-blue"], :is(.mxdv-st, .mxdv-pr)[class*="text-indigo"], :is(.mxdv-st, .mxdv-pr)[class*="text-[#5165F6]"] { background: #DBEAFE !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-sky"], :is(.mxdv-st, .mxdv-pr)[class*="text-cyan"] { background: #CFFAFE !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-amber"], :is(.mxdv-st, .mxdv-pr)[class*="text-orange"], :is(.mxdv-st, .mxdv-pr)[class*="text-yellow"] { background: #FEF3C7 !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-rose"], :is(.mxdv-st, .mxdv-pr)[class*="text-red"], :is(.mxdv-st, .mxdv-pr)[class*="text-pink"] { background: #FFE4E9 !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-purple"], :is(.mxdv-st, .mxdv-pr)[class*="text-violet"], :is(.mxdv-st, .mxdv-pr)[class*="text-fuchsia"] { background: #EDE9FE !important; }
:is(.mxdv-st, .mxdv-pr)[class*="text-emerald"], :is(.mxdv-st, .mxdv-pr)[class*="text-green"], :is(.mxdv-st, .mxdv-pr)[class*="text-teal"] { background: #D1FAE5 !important; }
.mxdv-row img { width: 28px !important; height: 28px !important; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(15,23,42,.15); }
.mxdv-row .truncate.text-slate-700 { font-weight: 600; }
.mxdv-due { background: transparent !important; padding: 0 !important; text-align: right !important; justify-self: end; font-size: 12px !important; color: #334155 !important; }
.mxdv-due > span { font-size: 10.5px; color: #94A3B8; font-weight: 600 !important; opacity: 1 !important; }
.mxdv-row.u-late .mxdv-due { color: #E11D48 !important; }
.mxdv-row.u-today .mxdv-due { color: #D97706 !important; }
.mxdv-row.u-ok .mxdv-due { color: #059669 !important; }
.mxdv-row.u-done .mxdv-due { color: #94A3B8 !important; }
/* Minhas Tarefas (Lista) no mesmo padrão do Por data */
main div:has(> table .mxl-row), main .rounded-3xl:has(.mxl-row) { background: rgba(255,255,255,.45) !important; border: 0 !important; box-shadow: none !important; border-radius: 16px !important; }
main table:has(.mxl-row) { border-collapse: separate !important; border-spacing: 0 8px !important; padding: 0 10px; }
main table:has(.mxl-row) thead, main table:has(.mxl-row) thead tr, main table:has(.mxl-row) thead th { background: transparent !important; border: 0 !important; color: #64748B !important; }
main table:has(.mxl-row) tbody, main table:has(.mxl-row) tbody tr { border: 0 !important; }
/* cabeçalho da Lista com destaque */
main table:has(.mxl-row) thead th { background: linear-gradient(120deg, #EEF4FF 0%, #ECFAFD 60%, #F3F0FF 100%) !important; color: #1E3A8A !important; font-weight: 800 !important; padding-top: 12px !important; padding-bottom: 12px !important; transition: color .15s, background .15s; }
main table:has(.mxl-row) thead th:first-child { border-radius: 14px 0 0 14px; padding-left: 26px !important; }
main table:has(.mxl-row) thead th:last-child { border-radius: 0 14px 14px 0; }
main table:has(.mxl-row) thead th svg { color: #2563EB; opacity: .55; }
main table:has(.mxl-row) thead th:hover { color: #2563EB !important; cursor: pointer; }
main table:has(.mxl-row) thead th:hover svg { opacity: 1; }
main tr.mxl-row > td { background-color: #F3F6FF !important; border: 0 !important; font-size: 12.5px; transition: background-color .15s; }
main tr.mxl-row > td:first-child { border-radius: 14px 0 0 14px; padding-left: 26px !important; background-image: linear-gradient(180deg, #CBD5E1, #CBD5E1); background-size: 4px calc(100% - 24px); background-position: 10px 50%; background-repeat: no-repeat; }
main tr.mxl-row.u-late > td:first-child { background-image: linear-gradient(180deg, #FB7185, #E11D48); }
main tr.mxl-row.u-today > td:first-child { background-image: linear-gradient(180deg, #FBBF24, #D97706); }
main tr.mxl-row.u-ok > td:first-child { background-image: linear-gradient(180deg, #34D399, #059669); }
main tr.mxl-row > td:last-child { border-radius: 0 14px 14px 0; }
main tr.mxl-row:hover > td { background-color: #DDF7F9 !important; }
main tr.mxl-row:hover > td:first-child > div:first-child { color: #0F172A !important; }
/* filtros: deixar claro que são clicáveis */
.bg-white.p-3.rounded-2xl.flex-wrap.mb-4 select, .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 > button, .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 input { transition: border-color .15s, background-color .15s, box-shadow .15s, color .15s; cursor: pointer; }
.bg-white.p-3.rounded-2xl.flex-wrap.mb-4 input { cursor: text; }
.bg-white.p-3.rounded-2xl.flex-wrap.mb-4 select:hover, .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 > button:hover, .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 input:hover { border-color: #5165F6 !important; background-color: #EEF2FF !important; color: #1E3A8A !important; box-shadow: 0 0 0 3px rgba(81,101,246,.14) !important; }
.bg-white.p-3.rounded-2xl.flex-wrap.mb-4 select:focus, .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 input:focus { border-color: #5165F6 !important; box-shadow: 0 0 0 3px rgba(81,101,246,.2) !important; outline: none; }
main tr.mxl-row > td:first-child > div:first-child { font-size: 13.5px; }
main tr.mxl-row > td:nth-child(3) > span, main tr.mxl-row > td:nth-child(4) > span { border: 0 !important; border-radius: 999px !important; padding: 5px 12px !important; font-size: 11px !important; font-weight: 700 !important; color: #fff !important; white-space: nowrap; background: linear-gradient(135deg, #94A3B8, #64748B) !important; }
main tr.mxl-row > td:nth-child(4) > span > span { background: rgba(255,255,255,.9) !important; }
html body main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 tr.mxl-row > td > span.text-\[10px\] { border-radius: 999px !important; }
main tr.mxl-row > td:is(:nth-child(3), :nth-child(4)) > span:is([class*="text-blue"], [class*="text-indigo"], [class*="text-[#5165F6]"]) { background: linear-gradient(135deg, #60A5FA, #2563EB) !important; }
main tr.mxl-row > td:nth-child(4) > span:is([class*="text-sky"], [class*="text-cyan"]) { background: linear-gradient(135deg, #60A5FA, #2563EB) !important; }
main tr.mxl-row > td:nth-child(3) > span:is([class*="text-sky"], [class*="text-cyan"], [class*="text-emerald"], [class*="text-green"]) { background: linear-gradient(135deg, #34D399, #059669) !important; }
main tr.mxl-row > td:is(:nth-child(3), :nth-child(4)) > span:is([class*="text-amber"], [class*="text-orange"], [class*="text-yellow"]) { background: linear-gradient(135deg, #FDBA74, #EA580C) !important; }
main tr.mxl-row > td:nth-child(4) > span:is([class*="text-amber"], [class*="text-yellow"]) { background: linear-gradient(135deg, #FBBF24, #D97706) !important; }
main tr.mxl-row > td:is(:nth-child(3), :nth-child(4)) > span:is([class*="text-rose"], [class*="text-red"], [class*="text-pink"]) { background: linear-gradient(135deg, #FB7185, #E11D48) !important; }
main tr.mxl-row > td:is(:nth-child(3), :nth-child(4)) > span:is([class*="text-purple"], [class*="text-violet"], [class*="text-fuchsia"]) { background: linear-gradient(135deg, #C084FC, #9333EA) !important; }
main tr.mxl-row > td:nth-child(4) > span:is([class*="text-emerald"], [class*="text-green"], [class*="text-teal"]) { background: linear-gradient(135deg, #34D399, #059669) !important; }
main tr.mxl-row.u-late > td:nth-child(5), main tr.mxl-row.u-late > td:nth-child(5) * { color: #E11D48 !important; font-weight: 700; }
main tr.mxl-row.u-today > td:nth-child(5), main tr.mxl-row.u-today > td:nth-child(5) * { color: #D97706 !important; font-weight: 700; }
main tr.mxl-row.u-ok > td:nth-child(5), main tr.mxl-row.u-ok > td:nth-child(5) * { color: #059669 !important; font-weight: 700; }
/* Minhas Tarefas com o mesmo fundo do Dashboard */
.mx-mytasks-bg, main > .bg-\[\#F8FAFD\], main > .bg-\[\#F4F7FB\] { background: radial-gradient(1200px 500px at 0% 0%, #E6EEFF 0%, transparent 60%), radial-gradient(900px 500px at 100% 10%, #E0F7FB 0%, transparent 55%), radial-gradient(900px 600px at 60% 100%, #EEEAFE 0%, transparent 60%), #F5F8FF !important; }
@media (max-width: 900px) { .mxd-wave { display: none; } }
@media (max-width: 640px) { .mxd-hero { padding: 16px; border-radius: 16px; } .mxd-hero h2 { font-size: 21px; } .mxd-ring { width: 72px; height: 72px; } .mxd-ring span { font-size: 16px; } .mxd-ring small { font-size: 7.5px; letter-spacing: .02em; margin-top: 2px; } }
@media (prefers-reduced-motion: reduce) { .mxd *, .mxd-wrap > * { animation: none !important; } .mxd-wave path { stroke-dashoffset: 0; } }

/* Tarefa no celular: cronômetro em cima e título em largura total */
@media (max-width: 640px) {
  .mx-taskhead { flex-direction: column-reverse !important; align-items: stretch !important; gap: 12px !important; }
  .mx-taskhead > div:first-child { width: 100%; }
  .mx-taskhead h2 { word-break: normal !important; overflow-wrap: anywhere; }
  .mx-taskhead-tools { width: 100%; justify-content: space-between; }
  .mx-tasktimer { flex-wrap: wrap; min-width: 0; }
  .mx-taskhead-tools > button { margin: 0 !important; }
}

/* WorkFlow: layout compacto para notebooks (só em telas de até 1536px; celular e monitores grandes não mudam) */
@media (min-width: 768px) and (max-width: 1536px) {
  html { font-size: 14px; }
  main .text-xs, aside .text-xs, header .text-xs { font-size: 11.5px; }

  /* Menu lateral (quando recolhido, mantém a largura original) */
  aside.lg\:w-72 { width: 192px !important; }
  aside button.px-3.py-2\.5 { padding-top: 5px !important; padding-bottom: 5px !important; }
  aside span:has(> .animate-pulse) { white-space: nowrap; }
  aside .space-y-4 > * + * { margin-top: 8px !important; }

  /* Cabeçalho */
  header.h-20 { height: 48px !important; padding-left: 12px !important; padding-right: 12px !important; }

  /* Área das páginas */
  main > .lg\:p-7 { padding: 8px 10px 2px !important; }
  main > .lg\:p-7 > :first-child:not(.flex-1) { margin-bottom: 6px !important; }

  /* Barra de filtros */
  .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 { padding: 5px 8px !important; gap: 6px !important; margin-bottom: 6px !important; border-radius: 12px !important; }
  .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 select { max-width: none !important; flex: 0 0 auto; field-sizing: content; padding-right: 26px !important; padding-top: 3px !important; padding-bottom: 3px !important; }
  .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 > .min-w-\[200px\].flex-1 { min-width: 150px !important; flex: 1 1 150px; max-width: 280px; }
  .bg-white.p-3.rounded-2xl.flex-wrap.mb-4 input { padding-top: 3px !important; padding-bottom: 3px !important; }

  /* Colunas: Quadro Kanban e Minhas Tarefas */
  .w-\[230px\], .w-\[280px\] { width: 196px !important; border-radius: 12px !important; }
  .lg\:gap-3\.5.overflow-x-auto, .gap-4.overflow-x-auto { gap: 7px !important; padding-bottom: 6px !important; }
  .w-\[230px\] > .min-h-\[140px\], .w-\[280px\] > .min-h-\[160px\] { padding: 4px !important; }
  .min-h-\[160px\] > * + * { margin-top: 5px !important; }
  .w-\[280px\] .h-28 { height: 64px !important; }

  /* Cartões */
  .min-h-\[140px\] > .group.rounded-2xl, .min-h-\[160px\] > .group.rounded-2xl { padding: 7px 8px !important; border-radius: 10px !important; }
  .min-h-\[140px\] > .group.rounded-2xl > *, .min-h-\[160px\] > .group.rounded-2xl > * { margin-bottom: 3px !important; }
  .min-h-\[140px\] > .group.rounded-2xl > :last-child, .min-h-\[160px\] > .group.rounded-2xl > :last-child { margin-bottom: 0 !important; }
  .min-h-\[140px\] > .group.rounded-2xl > .pt-2, .min-h-\[160px\] > .group.rounded-2xl > .pt-2 { padding-top: 3px !important; }

  /* Cartões do Dashboard */
  main .rounded-3xl.p-5 { padding: 10px !important; border-radius: 14px !important; }
  main .rounded-3xl.p-5 > .mb-4 { margin-bottom: 4px !important; }
  main .grid.gap-4 { gap: 8px !important; }
  main .text-3xl.sm\:text-4xl { font-size: 1.5rem !important; line-height: 1.2 !important; }
}

/* Evita textos cortados no menu, na linha da Equipe e nos cartões */
@media (min-width: 768px) and (max-width: 1536px) {
  aside .cursor-pointer.select-none.group > :first-child > svg,
  aside .cursor-pointer.select-none.group > :first-child > .font-mono { display: none; }
  aside button > span.ml-2.bg-emerald-100 { display: none; }
  .group.rounded-2xl > :first-child > .max-w-\[140px\] { max-width: none; flex: 1 1 0; }
  .group.rounded-2xl > :first-child > .max-w-\[140px\] * { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.2; }
}

/* Notebooks pequenos ou janelas estreitas */
@media (min-width: 768px) and (max-width: 1180px) {
  aside.lg\:w-72 { width: 184px !important; }
  .w-\[230px\], .w-\[280px\] { width: 178px !important; }
}

/* Kanban e Minhas Tarefas: colunas com mais respiro */
@media (min-width: 768px) and (max-width: 1536px) {
  .w-\[230px\], .w-\[280px\] { width: 224px !important; }
  .lg\:gap-3\.5.overflow-x-auto, .gap-4.overflow-x-auto { gap: 18px !important; }
  .w-\[230px\] > .min-h-\[140px\], .w-\[280px\] > .min-h-\[160px\] { padding: 8px !important; }
  .min-h-\[140px\] > * + *, .min-h-\[160px\] > * + * { margin-top: 12px !important; }
  .min-h-\[140px\] > .group.rounded-2xl, .min-h-\[160px\] > .group.rounded-2xl { padding: 12px !important; }
  .min-h-\[140px\] > .group.rounded-2xl > *, .min-h-\[160px\] > .group.rounded-2xl > * { margin-bottom: 6px !important; }
  .min-h-\[140px\] > .group.rounded-2xl > :last-child, .min-h-\[160px\] > .group.rounded-2xl > :last-child { margin-bottom: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .w-\[230px\], .w-\[280px\] { width: 200px !important; }
  .lg\:gap-3\.5.overflow-x-auto, .gap-4.overflow-x-auto { gap: 14px !important; }
}

/* Bordas das colunas e dos cartões, em qualquer tamanho de tela (o cabeçalho branco não é mais recortado) */
.overflow-x-auto > .shrink-0.max-h-full.rounded-3xl { border-radius: 12px !important; }
.overflow-x-auto > .shrink-0.max-h-full.rounded-3xl > .rounded-t-3xl { border-radius: 0 !important; }
.min-h-\[140px\] > .group.rounded-2xl, .min-h-\[160px\] > .group.rounded-2xl { border-radius: 10px !important; }

/* Aprovações: cartões menores e mais colunas (só os cartões de Aprovações) */
.grid.lg\:grid-cols-3.gap-5:has(> .group.p-5 > .pt-3.border-t.mt-auto) { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 12px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) { padding: 10px 12px !important; border-radius: 12px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) h3 { font-size: 12.5px !important; margin-bottom: 5px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div > .mb-2 { margin-bottom: 4px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div > .mb-4 { margin-bottom: 6px !important; flex-wrap: wrap; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto { padding-top: 6px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto > .mb-3 { margin-bottom: 6px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto > .gap-2 { gap: 5px !important; }
.grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button { padding-top: 4px !important; padding-bottom: 4px !important; border-radius: 8px !important; }

/* Aprovações em modo Lista */
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5:has(> .group.p-5 > .pt-3.border-t.mt-auto) { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) { flex-direction: row; align-items: center; gap: 12px; padding: 6px 12px !important; border-radius: 10px !important; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child > .mb-2 { flex: 0 0 250px; min-width: 0; align-items: center; margin: 0 !important; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child > h3 { flex: 1 1 0; min-width: 0; margin: 0 !important; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child > .mb-4 { display: none; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto > .mb-3 { width: 130px; margin: 0 !important; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto > .flex-col { flex-direction: row; align-items: center; min-width: 380px; }
html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto button { width: auto; white-space: nowrap; }
@media (max-width: 1280px) {
  html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > div:first-child > .mb-2 { flex-basis: 240px; }
  html.mx-approvals-list .grid.lg\:grid-cols-3.gap-5 > .group.p-5:has(> .pt-3.border-t.mt-auto) > .pt-3.mt-auto > .mb-3 { display: none; }
}

/* Lista de menções: abre acima do botão Mencionar, sem precisar rolar */
.mx-mention-list { bottom: 52px; right: 8px; display: flex; flex-direction: column; width: min(520px, calc(100% - 16px)) !important; max-height: 164px; padding: 6px !important; border-radius: 12px !important; }
.mx-mention-list > :first-child { flex-shrink: 0; padding: 0 4px 3px !important; margin-bottom: 3px !important; }
.mx-mention-list > :first-child > :last-child { display: none; }
.mx-mention-list .max-h-52 { max-height: 124px; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; align-content: start; }
.mx-mention-list .max-h-52 > * { margin: 0 !important; min-width: 0; padding: 4px !important; border-radius: 8px !important; gap: 6px !important; }
.mx-mention-list .max-h-52 > * img, .mx-mention-list .max-h-52 > * > :first-child:not(:only-child) { width: 22px !important; height: 22px !important; flex-shrink: 0; }
.mx-mention-list .max-h-52 p:last-child:not(:first-child) { display: none; }
.mx-mention-list .max-h-52 p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-mention-list .max-h-52 > * > :last-child { min-width: 0; }

/* Janela da tarefa mais compacta */
@media (min-width: 768px) and (max-width: 1536px) {
  .max-w-4xl.max-h-\[92vh\] { max-height: 97vh; border-radius: 16px !important; }
  .max-w-4xl.max-h-\[92vh\] > .border-b.flex-col.gap-4 { padding: 10px 14px !important; gap: 6px !important; }
  .max-w-4xl.max-h-\[92vh\] > .py-2\.5.flex-wrap { padding: 5px 14px !important; gap: 4px 12px !important; }
  .max-w-4xl.max-h-\[92vh\] > .py-2\.5.flex-wrap > .flex-wrap { row-gap: 2px !important; }
  .max-w-4xl.max-h-\[92vh\] > .py-2.overflow-x-auto { padding: 4px 14px !important; }
  .max-w-4xl.max-h-\[92vh\] > .overflow-y-auto.flex-1 { padding: 10px 14px !important; }
}

/* Minhas Tarefas: bordas menos arredondadas em "Por data" e "Lista" */
main section.rounded-2xl { border-radius: 12px !important; }
main section.rounded-2xl > button { border-radius: 0 !important; }
main section.rounded-2xl .rounded-md { border-radius: 6px !important; }
main section.rounded-2xl .rounded-full.text-\[10px\] { border-radius: 6px !important; }
main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 { border-radius: 12px !important; }
main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 td .rounded-md,
main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 td .rounded-full.text-\[10px\] { border-radius: 6px !important; }

/* Minhas Tarefas: destaque azul discreto ao passar o mouse nas tarefas */
main section.rounded-2xl [role="button"],
main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 tbody tr { transition: background-color .12s ease; }
main section.rounded-2xl [role="button"]:hover,
main .flex-1.bg-white.rounded-3xl.overflow-hidden.flex-col.min-h-0 tbody tr:hover { background-color: #F3F6FF !important; }
main section.rounded-2xl [role="button"]:focus-visible { outline: 2px solid #5165F6; outline-offset: -2px; background-color: #F3F6FF; }

/* Celular: filtros recolhidos até tocar em "Filtros" */
@media (max-width: 767px) {
  .mx-fbar-closed { display: none !important; }
}

/* Telas baixas: a lista da equipe não esmaga o menu */
@media (min-width: 768px) and (max-height: 760px) {
  aside .max-h-52 { max-height: 92px !important; }
}
