
/* M2c lote 2: Purchase pelo servidor. Paleta e cards do CLAUDE.md; prefixo cx-. Reaproveita .pg-card/.pg-btn/.pg-sel/.cm-banner/.mx-link. */
#cxPx, #cxEvRoot { max-width: 980px; width: 100%; } #cxEvRoot { display: flex; flex-direction: column; gap: 14px; }
.cx-card { padding: 20px; margin: 0; background: #1a1a1a; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.35); min-width: 0; } #cxPx .cx-card { margin-top: 0; }
.cx-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; } .cx-hd h3, .cx-h2 { margin: 0; color: #fff; font-weight: 600; } .cx-hd h3 { font-size: 15px; } .cx-h2 { font-size: 20px; }
.cx-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .cx-sub { color: #919eab; font-size: 13px; line-height: 1.6; margin: 6px 0 12px; }
.cx-msg { color: #d1d5db; font-size: 13px; line-height: 1.6; } .cx-msg.ok { color: #7ee0a1; } .cx-msg.bad { color: #ff7a7a; } .cx-msg:empty { display: none; } .cx-msg a, .cx-warn a, .cx-links a, .cx-card a { color: #B8F6FD; }
.cx-card .mx-link { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 600; color: #B8F6FD; text-decoration: underline; cursor: pointer; }
.cx-warn { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.45); color: #f5d79a; border-radius: 6px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; margin: 0 0 12px; } .cx-warn b { color: #ffd98a; } .cx-warn.bad { background: rgba(255,122,122,.1); border-color: rgba(255,122,122,.45); color: #ffc2c2; } .cx-warn.bad b { color: #ff9c9c; }
.cx-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: rgba(184,246,253,.12); color: #B8F6FD; white-space: nowrap; } .cx-badge.ok { background: rgba(126,224,161,.16); color: #7ee0a1; } .cx-badge.part { background: rgba(245,158,11,.14); color: #f5b84a; } .cx-badge.bad { background: rgba(255,122,122,.16); color: #ff7a7a; } .cx-badge.na { background: rgba(145,158,171,.2); color: #c1c9d2; } .cx-badge.test { background: rgba(184,246,253,.16); color: #B8F6FD; }
.cx-row { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; } .cx-row label { font-size: 13px; color: #919eab; } .cx-row small, .cx-swt small { color: #919eab; font-size: 12px; line-height: 1.5; } .cx-line { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .cx-line .cx-in { flex: 1 1 220px; min-width: 0; }
.cx-in, .pg-sel.cx-in, #page-integrations .cx-in.pg-sel { min-height: 44px !important; height: 44px !important; box-sizing: border-box; } #cxPx .pg-btn, #cxEvRoot .pg-btn { min-height: 44px; } .pg-btn[disabled], .cx-tg[disabled] { opacity: .5; cursor: not-allowed; }
.cx-row > .pg-btn { align-self: flex-start; } .cx-sw { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #262626; } .cx-swt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .cx-swt b { color: #fff; font-size: 14px; font-weight: 600; }
.cx-tg { flex: 0 0 auto; position: relative; width: 56px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; } .cx-tg span { position: absolute; left: 4px; top: 10px; width: 48px; height: 24px; border-radius: 12px; background: #3a3a3a; transition: background .15s; } .cx-tg span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; } .cx-tg.on span { background: #B8F6FD; } .cx-tg.on span::after { transform: translateX(24px); background: #121635; } .cx-tg:focus-visible span { outline: 2px solid #B8F6FD; outline-offset: 2px; }
.cx-det { margin: 12px 0 0; border-top: 1px solid #262626; padding-top: 4px; } .cx-det summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #d1d5db; font-size: 13.5px; font-weight: 600; } .cx-det.cx-card { padding: 8px 20px 18px; border-top: 0; }
.cx-stat { margin-top: 14px; font-size: 13px; color: #d1d5db; line-height: 1.7; } .cx-sum { margin-top: 6px; color: #919eab; } .cx-links { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; } .cx-links a { display: inline-flex; align-items: center; min-height: 44px; }
.cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-ctl { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 16px 20px; } .cx-f { display: flex; flex-direction: column; gap: 6px; min-width: 150px; } .cx-f label { font-size: 12px; color: #919eab; } .cx-fa { flex-direction: row; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.cx-sum-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; } .cx-sc { background: #1a1a1a; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.35); padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; } .cx-sc small { color: #919eab; font-size: 12px; } .cx-sc b { color: #fff; font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .cx-sc span { color: #6b7684; font-size: 11px; line-height: 1.4; }
.cx-rw { overflow-x: auto; } .cx-rw .cx-tbl th[scope=row] { color: #e5e7eb; font-size: 13px; }
.cx-tw { overflow-x: auto; } /* coluna de ação sempre visível: fixa à direita da tabela (o Reenviar não fica escondido na rolagem lateral) */ #cxEvTbl .cx-tbl th:last-child, #cxEvTbl .cx-tbl td:last-child { position: sticky; right: 0; z-index: 1; background: #161718; box-shadow: -8px 0 8px -8px rgba(0,0,0,.35); } .cx-tbl { width: 100%; border-collapse: collapse; font-size: 13px; color: #d1d5db; } .cx-tbl th { text-align: left; font-weight: 600; font-size: 12px; color: #919eab; padding: 8px 10px; white-space: nowrap; border-bottom: 1px solid #262626; } .cx-tbl th.r, .cx-tbl td.r { text-align: right; font-variant-numeric: tabular-nums; } .cx-tbl td { padding: 10px; border-bottom: 1px solid #202020; vertical-align: middle; } .cx-tbl td:not(.cx-er) { white-space: nowrap; } .cx-er { min-width: 220px; color: #ffb4b4; font-size: 12.5px; line-height: 1.5; } .cx-ec { display: block; color: #6b7684; font-size: 11px; } .cx-id { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.cx-q { display: inline-flex; gap: 4px; flex-wrap: wrap; } .cx-qc { font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: #232323; color: #5a6672; } .cx-qc.on { background: rgba(184,246,253,.14); color: #B8F6FD; }
.cx-copy { background: transparent; border: 1px solid #3a3a3a; border-radius: 6px; color: #B8F6FD; font: 12px ui-monospace, Consolas, monospace; min-height: 44px; padding: 0 10px; cursor: pointer; } .cx-copy:hover { border-color: #B8F6FD; }
.cx-cards { display: none; flex-direction: column; gap: 10px; } .cx-ec-card { background: #121212; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 10px; } .cx-ec-t { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: #919eab; } .cx-ec-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cx-ec-g small { display: block; color: #919eab; font-size: 11px; } .cx-ec-g b { color: #fff; font-size: 14px; overflow-wrap: anywhere; } .cx-ec-f { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.cx-more { text-align: center; margin-top: 14px; } .cx-ck { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13px; color: #d1d5db; cursor: pointer; } .cx-ck input { width: 22px; height: 22px; flex: 0 0 auto; }
.cx-sk { background: linear-gradient(90deg, #232323, #2c2c2c, #232323); background-size: 200% 100%; animation: cxShimmer 1.2s linear infinite; border-radius: 6px; } .cx-sk-h { height: 16px; width: 40%; margin-bottom: 14px; } .cx-sk-b { height: 90px; }
@keyframes cxShimmer { to { background-position: -200% 0; } } @media (prefers-reduced-motion: reduce) { .cx-sk { animation: none; } .cx-tg span, .cx-tg span::after { transition: none; } }
@media (max-width: 800px) { .cx-card { padding: 16px; } .cx-tw { display: none; } .cx-cards { display: flex; } .cx-ctl { padding: 14px; } .cx-f { flex: 1 1 100%; } .cx-fa { margin-left: 0; width: 100%; } .cx-fa .pg-btn { flex: 1 1 140px; } .cx-sum-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cx-sc { padding: 14px; } .cx-sc b { font-size: 18px; } .cx-top .pg-btn { width: 100%; } }
