.tcm{--tcm-verde:#006039;--tcm-verde-tint:#E6F0EB;--tcm-dourado:#A37E2C;--tcm-dourado-texto:#7A5C18;--tcm-dourado-tint:#FAF7F0;--tcm-dourado-borda:#E8DCBE;--tcm-texto:#404040;--tcm-texto-suave:#6B7280;--tcm-borda:#444444;--tcm-fio:#EEEEEE;--tcm-fundo-2:#EDF0F9;--tcm-branco:#FFFFFF;
  font-family:'Inter',sans-serif;color:var(--tcm-texto);background:var(--tcm-branco);padding:75px 20px;box-sizing:border-box;line-height:1.6;letter-spacing:-0.1px}
.tcm *,.tcm *::before,.tcm *::after{box-sizing:border-box}
.tcm__container{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:40px}

/* Cabeçalho */
.tcm__header{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.tcm__title{margin:0;max-width:900px;font-size:45px;line-height:1.05;font-weight:600;color:var(--tcm-verde)}
.tcm__sub{margin:0;max-width:760px;font-size:17px;line-height:1.6;font-weight:300}
.tcm__meta{margin:0;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:14px;line-height:20px}
.tcm__meta .tcm__muted{font-weight:300;color:var(--tcm-texto-suave)}

/* Tipografia utilitária */
.tcm__label{display:block;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.48px;text-transform:uppercase;color:var(--tcm-verde)}
.tcm__label--gold{color:var(--tcm-dourado-texto)}
.tcm__body{font-size:17px;line-height:27px;font-weight:300}
.tcm__body-s{font-size:14px;line-height:20px;font-weight:300}

/* Chips */
.tcm__chips{display:flex;flex-wrap:wrap;gap:8px}
.tcm__chip{display:inline-block;padding:4px 10px;border-radius:20px;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.48px;text-transform:uppercase;background:var(--tcm-fundo-2);color:var(--tcm-texto)}
.tcm__chip--branco-verde{background:var(--tcm-branco);color:var(--tcm-verde)}
.tcm__chip--branco-dourado{background:var(--tcm-branco);color:var(--tcm-dourado-texto)}

/* Referência do dia */
.tcm__ref{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:32px;border-radius:10px;background:var(--tcm-dourado-tint);border:1px solid var(--tcm-dourado-borda)}
.tcm__ref-main{display:flex;flex-direction:column;gap:8px}
.tcm__price-xl{font-size:64px;line-height:68px;font-weight:600;letter-spacing:-1px;color:var(--tcm-verde)}
.tcm__ref-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right;font-size:14px;line-height:20px}
.tcm__ref-meta strong{font-weight:600}
.tcm__ref-meta .tcm__muted{font-weight:300;color:var(--tcm-texto-suave)}

/* Cards à vista */
.tcm__spot{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.tcm__spot-card{display:flex;flex-direction:column;gap:12px;padding:32px;border-radius:10px;color:var(--tcm-branco)}
.tcm__spot-card .tcm__label{color:var(--tcm-branco)}
.tcm__spot-card--compra{background:var(--tcm-verde)}
.tcm__spot-card--venda{background:var(--tcm-dourado)}
.tcm__price-l{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.5px}
.tcm__spot-card .tcm__body-s{opacity:.9}

/* Cards a prazo */
.tcm__prazo{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"a b" "foot b";gap:24px;align-items:start}
.tcm__prazo > .tcm__card:nth-child(1){grid-area:a}
.tcm__prazo > .tcm__card:nth-child(2){grid-area:b}
.tcm__prazo > .tcm__footer{grid-area:foot;align-self:stretch;justify-content:center;min-height:68px}
.tcm__card{display:flex;flex-direction:column;gap:20px;padding:32px;border-radius:10px;background:var(--tcm-branco);border:1px solid var(--tcm-borda)}
.tcm__table{width:100%;border-collapse:collapse;border-radius:6px;overflow:hidden}
.tcm__table th{padding:8px 10px;text-align:left;background:var(--tcm-dourado-tint);color:var(--tcm-dourado-texto);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.48px;text-transform:uppercase}
.tcm__table td{padding:11px 10px;border-bottom:1px solid var(--tcm-fio);font-size:14px;line-height:20px;font-weight:300;color:var(--tcm-texto)}
.tcm__table th:last-child,.tcm__table td:last-child{text-align:right}
.tcm__table td:first-child{font-weight:600}
.tcm__table td:nth-child(2){color:var(--tcm-texto-suave)}
.tcm__table td:last-child{font-size:16px;font-weight:600;color:var(--tcm-verde);white-space:nowrap}

/* Rodapé */
.tcm__footer{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.tcm__btn{display:inline-block;padding:12px 32px;border-radius:9px;background:var(--tcm-verde);border:1px solid var(--tcm-verde);color:var(--tcm-branco);font-size:16px;line-height:20px;font-weight:600;text-decoration:none;transition:opacity .15s}
.tcm__btn:hover{opacity:.9;color:var(--tcm-branco)}
.tcm__note{margin:0;max-width:760px;font-size:14px;line-height:20px;font-weight:300;color:var(--tcm-texto-suave)}

/* Abas de grão */
.tcm__panel{display:flex;flex-direction:column;gap:40px}
.tcm__panel[hidden]{display:none}
.tcm__tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--tcm-fundo-2);align-self:center;max-width:100%;overflow-x:auto}
.tcm__tab{display:flex;align-items:center;gap:10px;padding:12px 24px;border:0;border-radius:9px;background:transparent;color:var(--tcm-verde);font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.tcm__tab-nome{font-size:16px;line-height:20px;font-weight:600}
.tcm__tab-preco{font-size:15px;line-height:20px;font-weight:300;color:var(--tcm-texto)}
.tcm__tab.is-active{background:var(--tcm-verde);color:var(--tcm-branco)}
.tcm__tab.is-active .tcm__tab-preco{color:var(--tcm-branco);opacity:.9}
.tcm__tab:focus-visible{outline:2px solid var(--tcm-dourado);outline-offset:2px}

/* Mobile */
@media (max-width:768px){
  .tcm{padding:48px 16px}
  .tcm__container{gap:32px}
  .tcm__panel{gap:24px}
  .tcm__tabs{align-self:stretch}
  .tcm__tab{flex:1;justify-content:center;flex-direction:column;gap:2px;padding:10px 12px}
  .tcm__header{gap:12px}
  .tcm__title{font-size:32px;line-height:36px}
  .tcm__ref{flex-direction:column;align-items:stretch;gap:16px;padding:20px}
  .tcm__price-xl{font-size:48px;line-height:52px;letter-spacing:-.5px}
  .tcm__ref-meta{align-items:flex-start;text-align:left}
  .tcm__spot,.tcm__prazo{grid-template-columns:1fr;gap:16px}
  .tcm__prazo{grid-template-areas:"a" "b" "foot"}
  .tcm__prazo > .tcm__footer{min-height:0;margin-top:8px}
  .tcm__spot-card,.tcm__card{padding:20px}
  .tcm__table th,.tcm__table td{padding-left:8px;padding-right:8px}
  .tcm__footer{gap:20px}
  .tcm__btn{width:100%;text-align:center}
}

/* Dentro do Oxygen: a Section já dá container, padding e fundo. O bloco só ocupa a largura. */
.ct-section-inner-wrap > .ct-shortcode:has(.tcm),
.ct-section-inner-wrap > .ct-code-block:has(.tcm),
.ct-section-inner-wrap > .ct-div-block:has(> .tcm){width:100%}
.ct-section-inner-wrap .tcm{padding:0;width:100%;max-width:100%;background:transparent}
.ct-section-inner-wrap .tcm__container{max-width:none}

/* Estado: cotação desatualizada */
.tcm__chip--stale{background:#FDF3DC;color:#7A5C18}
