/* Start Grana | minha carteira e alertas */
.ct { max-width: 1080px; margin: 0 auto; padding: 0 20px 28px; }
.ct-trilha { font-size: 13px; color: var(--muted); padding-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.ct-trilha a { color: var(--muted); text-decoration: none; } .ct-trilha a:hover { color: var(--ink); }
.ct-cab { padding: 22px 0 4px; }
.ct-cab h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-top: 16px; }
.ct-lide { font-size: 17px; line-height: 1.65; color: var(--text2); margin-top: 14px; max-width: 760px; }
.ct-priv { margin-top: 14px; background: #fff6d6; border: 1px solid #ffe58a; border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 1.55; color: #3a382f; max-width: 760px; }
.ct-card { background: var(--surface, #fff); border-radius: 24px; box-shadow: var(--shadow); padding: 24px 26px; margin-top: 16px; min-width: 0; }
.ct-card h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.ct-card > p { color: var(--text2); font-size: 15px; line-height: 1.65; margin-top: 8px; }
.ct-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 14px; }
.ct-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #6a675d; flex: 1 1 150px; }
.ct-form input, .ct-form select { border: 1px solid #e4e4e0; background: #fff; border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 16px; color: #141414; text-transform: none; }
.ct-form #ctT, .ct-form #alT { text-transform: uppercase; }
.ct-form button { border: 0; background: #141414; color: #fff; border-radius: 999px; padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.ct-msg { font-size: 14px; color: #3a382f; margin-top: 10px; min-height: 1em; }
.ct-resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ct-resumo div { background: var(--surface, #fff); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 18px; min-width: 0; }
.ct-resumo span { display: block; font-size: 12px; font-weight: 700; color: #6a675d; }
.ct-resumo strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.ct-resumo em { font-style: normal; font-size: 14px; }
.ct-alta { color: #15803d; } .ct-baixa { color: #e11d48; }
.ct-barra { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 14px; background: #f1f1ee; }
.ct-leg { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: #3a382f; margin-top: 8px; }
.ct-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.ct-tab-caixa { overflow-x: auto; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.ct-tab { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.ct-tab.ct-al { min-width: 520px; }
.ct-tab th { font-size: 12px; font-weight: 700; color: #6a675d; padding: 8px; border-bottom: 1px solid #e4e4e0; text-align: right; white-space: nowrap; }
.ct-tab td { padding: 10px 8px; border-bottom: 1px solid #ecece8; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ct-tab th:first-child, .ct-tab td:first-child { text-align: left; }
.ct-tab td small { display: block; font-size: 11px; color: #6a675d; }
.ct-tab td a { color: #141414; text-decoration: none; }
.ct-x { border: 0; background: #f4f4f1; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: #6a675d; }
.ct-x:hover { background: #ffe4e6; color: #e11d48; }
.ct-ok { color: #15803d; font-weight: 700; }
.ct-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ct-sec { display: inline-block; border: 1px solid #e4e4e0; background: #fff; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 700; color: #141414; cursor: pointer; margin-top: 12px; }
.ct-acoes .ct-sec { margin-top: 0; }
.ct-perigo { color: #e11d48; }
.ct-fonte { font-size: 12px; color: var(--muted); margin-top: 18px; }
@media (max-width: 720px) {
  .ct-card { padding: 20px 16px; border-radius: 20px; }
  .ct-resumo { grid-template-columns: 1fr; gap: 8px; }
  .ct-form button { width: 100%; }
}
.ct-push { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.ct-push .ct-sec { margin-top: 0; }
.ct-push span { font-size: 13px; color: #3a382f; line-height: 1.5; flex: 1 1 260px; }
