/* Cohere provider guide, scoped layout */
.cohere-guide{--cp-stroke:rgba(153,180,213,.21);--cp-panel:rgba(16,27,42,.82);--cp-muted:#b8c9df;min-width:0;overflow-wrap:anywhere}
.cohere-guide *{box-sizing:border-box}.cohere-guide a{color:#9bd7ff;text-underline-offset:3px}.cohere-guide a:focus-visible,.cohere-guide [tabindex]:focus-visible,.cohere-guide summary:focus-visible{outline:2px solid #9bd7ff;outline-offset:3px}
.cohere-guide p{line-height:1.77}.cohere-guide .cohere-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr);gap:clamp(1rem,3vw,2rem);align-items:start}
.cohere-guide .cohere-intro h2{font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.2}.cohere-guide .cohere-decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.cohere-guide .cohere-decision-grid a{display:flex;flex-direction:column;gap:.45rem;padding:1rem;border:1px solid var(--cp-stroke);border-radius:12px;background:var(--cp-panel);text-decoration:none;color:#e2efff}
.cohere-guide .cohere-decision-grid a:hover{border-color:#9bd7ff}.cohere-guide .cohere-decision-grid span,.cohere-guide .cohere-choice-grid span{font-size:.69rem;letter-spacing:.08em;color:#9ebddc}.cohere-guide .cohere-decision-grid strong{font-size:1.2rem}.cohere-guide .cohere-decision-grid small{color:var(--cp-muted)}
.cohere-guide .cohere-toc{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;padding:1rem 0;margin-top:1.6rem;border-block:1px solid var(--cp-stroke)}
.cohere-guide .cohere-toc span{font-size:.7rem;color:var(--cp-muted);letter-spacing:.08em}.cohere-guide .cohere-toc a{border:1px solid var(--cp-stroke);background:var(--cp-panel);padding:.4rem .7rem;border-radius:999px;color:#e4f1ff;text-decoration:none;font-size:.8rem}
.cohere-guide .model-deep-section{scroll-margin-top:90px}.cohere-guide .cohere-table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;border:1px solid var(--cp-stroke);border-radius:12px;-webkit-overflow-scrolling:touch}
.cohere-guide .cohere-table{width:100%;min-width:730px;border-collapse:collapse;font-size:.9rem;font-variant-numeric:tabular-nums}.cohere-guide .cohere-table caption{text-align:left;padding:.9rem;color:var(--cp-muted);background:var(--cp-panel);font-size:.78rem}
.cohere-guide .cohere-table thead{background:rgba(43,66,99,.66)}.cohere-guide .cohere-table th,.cohere-guide .cohere-table td{padding:.82rem 1rem;vertical-align:top;text-align:left;border-bottom:1px solid var(--cp-stroke)}
.cohere-guide .cohere-table tbody tr:last-child>*{border-bottom:0}.cohere-guide .cohere-table th[scope=row]{white-space:normal;min-width:125px}.cohere-guide .cohere-note{padding:1rem 1.15rem;border-radius:7px;background:rgba(52,91,125,.18);border-left:3px solid #7fc5ee}
.cohere-guide .cohere-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.cohere-guide .cohere-choice-grid article{padding:1.1rem;border:1px solid var(--cp-stroke);background:var(--cp-panel);border-radius:12px;min-width:0}.cohere-guide .cohere-choice-grid h3{font-size:1.07rem;line-height:1.4;margin:.5rem 0}.cohere-guide .cohere-choice-grid p{margin:0;color:#ccddef}
.cohere-guide .cohere-steps{display:grid;gap:.6rem;padding-left:1.4rem;line-height:1.75}.cohere-guide .cohere-steps li{padding-left:.25rem}
.cohere-guide .cohere-code{overflow-x:auto;max-width:100%;padding:1.1rem 1.3rem;background:#0a1423;border:1px solid var(--cp-stroke);border-radius:12px;color:#e7f1ff;font-size:.83rem;line-height:1.57;tab-size:4;white-space:pre}.cohere-guide .cohere-code code{white-space:pre;background:none;color:inherit;font:inherit;overflow-wrap:normal}
.cohere-guide .cohere-faq{display:grid;gap:.65rem}.cohere-guide .cohere-faq details{background:var(--cp-panel);border:1px solid var(--cp-stroke);border-radius:10px;padding:1rem 1.2rem}.cohere-guide .cohere-faq summary{cursor:pointer;line-height:1.5;font-weight:650}.cohere-guide .cohere-faq details[open] summary{margin-bottom:.6rem}.cohere-guide .cohere-faq p{margin:0;color:#c9d9ec}
@media(max-width:900px){.cohere-guide .cohere-intro{grid-template-columns:1fr}}
@media(max-width:600px){.cohere-guide .cohere-choice-grid{grid-template-columns:1fr}.cohere-guide .cohere-decision-grid a{padding:.8rem}.cohere-guide .cohere-code{font-size:.72rem;padding:.88rem}.cohere-guide .cohere-table{font-size:.82rem}.cohere-guide .model-section-head h2{font-size:clamp(1.23rem,5vw,1.7rem)}}
