/* MONALISA_CONSULTA_VISUAL_V1 — Consulta de Opção em linguagem simples */
.cq{font-family:'DM Sans',sans-serif;color:#0f1923;background:#fff;border:1px solid #dde4ee;border-radius:16px;padding:18px;margin:0 0 14px;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}
.cq[hidden]{display:none!important}
.cq *{box-sizing:border-box}
.cq-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}
.cq-head > div{flex:1 1 420px;min-width:0}
.cq-head h2{margin:0;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.01em}
.cq-sym{color:#1d6fd8}
.cq-head p{margin:6px 0 0;font-size:14.5px;color:#4a6080;line-height:1.55}
.cq-head b{color:#0f1923}
.cq-where{display:inline-block;margin-top:8px!important;padding:6px 10px;border-radius:9px;font-size:13.5px!important;font-weight:600}
.cq-where.is-in{background:#e6f8f3;color:#075c40!important}
.cq-where.is-out{background:#fff4e2;color:#7a4a08!important}
.cq-side{display:inline-flex;padding:4px;border-radius:12px;background:#eef2f7;flex:0 0 auto}
.cq-side button{border:0;background:transparent;min-height:38px;padding:0 14px;border-radius:9px;font:600 13.5px 'DM Sans',sans-serif;color:#52677e;cursor:pointer}
.cq-side button[aria-pressed="true"]{background:#fff;color:#0f1923;box-shadow:0 1px 4px rgba(15,25,35,.12)}
.cq-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;align-items:start}
.cq-chart{min-width:0;border:1px solid #e6ecf3;border-radius:14px;padding:12px 12px 10px;background:linear-gradient(180deg,#fbfcfe,#fff)}
.cq-read small{display:block;font-size:13px;color:#52677e}
.cq-read strong{display:block;font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:#0f1923}
.cq-read strong.is-good,.cq .is-good{color:#0d9f6e}
.cq-read strong.is-bad,.cq .is-bad{color:#d63b3b}
.cq .is-mid{color:#b26a00}
.cq-svg{display:block;width:100%;height:auto;max-width:100%;touch-action:none;cursor:ew-resize;user-select:none;-webkit-user-select:none;overflow:hidden;margin-top:4px}
.cq-svg text{font-family:'DM Sans',sans-serif;font-size:11px;fill:#7d8ca6}
.cq-svg .cq-lbl{fill:#1d6fd8;font-weight:700}
.cq-gl{stroke:#eef2f7} .cq-zero{stroke:#9aabc0}
.cq-gain{fill:rgba(13,159,110,.14)} .cq-loss{fill:rgba(214,59,59,.12)}
.cq-dist{fill:rgba(29,111,216,.08);stroke:rgba(29,111,216,.35);stroke-width:1}
.cq-line{fill:none;stroke:#0f3e7a;stroke-width:2.4;stroke-linejoin:round}
.cq-spot{stroke:#1d6fd8;stroke-width:1.4;stroke-dasharray:3 3}
.cq-be{stroke:#9aabc0;stroke-width:1;stroke-dasharray:2 3}
.cq-cur{stroke:#E0157C;stroke-width:2}
.cq-dot{fill:#E0157C;stroke:#fff;stroke-width:3}
.cq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cq-range{width:100%;margin:6px 0 4px;accent-color:#E0157C}
.cq-note{margin:2px 0 0;font-size:12px;color:#7d8ca6;line-height:1.45}
.cq-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.cq-card{border:1px solid #e6ecf3;border-radius:12px;padding:12px;min-width:0;background:#fff}
.cq-card small{display:block;font-size:12.5px;font-weight:600;color:#52677e}
.cq-card b{display:block;font-size:21px;line-height:1.2;margin:4px 0 4px;letter-spacing:-.01em;overflow-wrap:anywhere}
.cq-card p{margin:0;font-size:12.5px;color:#52677e;line-height:1.45}
.cq-liq{grid-column:1/-1}
.cq-liq b{font-size:17px}
.cq-liq.is-good{border-color:#bfe9d8;background:#f2fbf7} .cq-liq.is-good b{color:#0d9f6e}
.cq-liq.is-mid{border-color:#f2d9a4;background:#fffaf0} .cq-liq.is-mid b{color:#8a5a00}
.cq-liq.is-bad{border-color:#f5c2c2;background:#fff5f5} .cq-liq.is-bad b{color:#d63b3b}
.cq-act{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.cq-btn{min-height:44px;padding:0 18px;border-radius:11px;border:1px solid #cfd9e6;background:#fff;color:#0f1923;font:600 14px 'DM Sans',sans-serif;cursor:pointer}
.cq-btn:hover{border-color:#1d6fd8;color:#1d6fd8}
.cq-btn-pri{background:#1d6fd8;border-color:#1d6fd8;color:#fff}
.cq-btn-pri:hover{background:#1557ad;color:#fff}
.cq button:focus-visible,.cq-range:focus-visible{outline:2px solid #1d6fd8;outline-offset:2px}
@media (max-width:1100px){.cq-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
  .cq{padding:14px}
  .cq-head h2{font-size:18px}
  .cq-side{width:100%} .cq-side button{flex:1}
  .cq-cards{grid-template-columns:minmax(0,1fr)}
  .cq-act .cq-btn{flex:1 1 100%}
}
