/* Start Grana | análise técnica (/analise-tecnica/) */
.at { max-width: 1080px; margin: 0 auto; padding: 0 20px 28px; }
.at-trilha { font-size: 13px; color: var(--muted); padding-top: 20px; display: flex; gap: 8px; }
.at-trilha a { color: var(--muted); text-decoration: none; }
.at-cab { padding: 22px 0 4px; }
.at-cab h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-top: 16px; }
.at-lide { font-size: 17px; line-height: 1.65; color: var(--text2); margin-top: 14px; max-width: 760px; }
.at-busca { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
.at-busca input { flex: 1; min-width: 0; border: 1px solid #e4e4e0; background: #fff; border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; }
.at-busca button { border: 0; background: #141414; color: #fff; border-radius: 999px; padding: 0 20px; font: inherit; font-weight: 700; cursor: pointer; }
.at-sug { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.at-sug button { border: 0; background: #141414; color: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.at-sug button:hover { background: #ffc400; color: #141414; }
.at-card { background: var(--surface, #fff); border-radius: 24px; box-shadow: var(--shadow); padding: 24px 26px; margin-top: 16px; min-width: 0; }
.at-card h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.at-card > p { color: var(--text2); font-size: 15px; line-height: 1.65; margin-top: 8px; }
.at-topo { display: flex; gap: 12px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.at-topo h2 { font-size: 26px; }
.at-topo p { font-size: 15px; color: var(--text2); margin-top: 2px; }
.at-topo p a { color: #141414; font-weight: 700; }
.at-sobe { color: #15803d; font-weight: 800; } .at-cai { color: #dc2626; font-weight: 800; }
.at-per { display: flex; gap: 6px; flex-wrap: wrap; }
.at-per .rb { border: 1px solid #e4e4e0; background: #fff; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 700; color: #3a382f; cursor: pointer; }
.at-per .rb.on { background: #141414; border-color: #141414; color: #fff; }
.at-ind { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; font-weight: 700; color: #3a382f; }
.at-ind label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.at-ind i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.at-graf { margin-top: 12px; height: 380px; position: relative; }
.at-graf svg { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.at-mini { height: 120px; margin-top: 6px; }
.at-grade { stroke: #ecece8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.at-ref { stroke: #d6d4cc; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.at-cursor { stroke: #141414; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.at-eixo { position: absolute; right: 4px; transform: translateY(-100%); font-size: 11px; color: #6a675d; background: rgba(255,255,255,.75); padding: 0 3px; border-radius: 4px; pointer-events: none; }
.at-dica { font-size: 13px; color: #3a382f; background: #f4f4f1; border-radius: 12px; padding: 9px 12px; margin-top: 8px; line-height: 1.5; min-height: 38px; }
.at-dica span { color: #6a675d; }
.at-sub { font-size: 14px; font-weight: 800; margin-top: 16px; }
.at-sinais { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 14px; }
.at-s { border-radius: 16px; padding: 14px 16px; color: #fff; }
.at-s b { display: block; font-size: 15px; font-weight: 800; }
.at-s span { display: block; font-size: 14px; line-height: 1.5; margin-top: 4px; }
.at-alta { background: #15803d; } .at-baixa { background: #dc2626; } .at-neutro { background: #141414; }
.at-glos { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; margin-top: 14px; font-size: 15px; line-height: 1.55; }
.at-glos dt { font-weight: 800; } .at-glos dd { margin: 0; color: var(--text2); }
.at-nota { font-size: 13px; color: #6a675d; line-height: 1.55; margin-top: 14px; }
@media (max-width: 720px) {
  .at-card { padding: 20px 16px; border-radius: 20px; }
  .at-graf { height: 280px; } .at-mini { height: 100px; }
  .at-glos { grid-template-columns: 1fr; gap: 2px; } .at-glos dd { margin-bottom: 10px; }
}
