/* =========================================================================
 * L17 · Tauler de conversions — barra lateral de la maqueta 06 + gràfiques
 * de OG3 (og/js/og3.js) muntades en panells. Requereix l06-lateral-clar.css
 * i og/css/og.css.
 * ========================================================================= */
html { scroll-behavior: smooth; }
.l17 .main { gap: 30px; }

/* Xifres de la banda de OG3 → fila de KPIs amb filet de color (com .kpis6) */
.l17 .figures { display: flex; gap: var(--gap); flex-wrap: wrap; }
.l17 .figure {
    flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px;
    padding: 18px 20px; border-radius: var(--r-md);
    background: var(--panel); border: 1px solid var(--panel-border); border-top: 4px solid var(--b-800);
    box-shadow: var(--glow);
    animation: panel-in .7s var(--ease) both;
}
.l17 .figure:nth-child(2) { border-top-color: var(--b-700); animation-delay: .06s; }
.l17 .figure:nth-child(3) { border-top-color: var(--b-500); animation-delay: .12s; }
.l17 .figure:nth-child(4) { border-top-color: var(--b-400); animation-delay: .18s; }
.l17 .figure b { order: 2; font-size: 34px; font-weight: 300; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.l17 .figure span { order: 1; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.l17 .figure em { order: 3; font-style: normal; font-size: 13px; color: var(--ink-3); }

/* Seccions */
.l17 .og-content { max-width: none; margin: 0; padding: 0; gap: 30px; }
.l17 .og-section { scroll-margin-top: 20px; }
.l17 .og-section__head { padding: 0; }
.l17 .og-section__head h2 { font-size: 20px; font-weight: 600; }
.l17 .og-section__head p { font-size: 13px; color: var(--ink-3); }
.l17 .og-section:first-child .og-section__head { background: none; border: 0; padding: 0; }

/* Targetes KPI en clau de panell 06: títol en versaletes, sense fitxa tècnica */
.l17 .kcard { gap: 10px; }
.l17 .kcard__meta, .l17 .kcard__foot { display: none; }
.l17 .kcard__kpi { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.l17 .kcard__q { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.l17 .kcard > .flex { order: -1; }
.l17.fitxa .kcard__foot { display: flex; }   /* casella «Fitxa tècnica» */
.l17.fitxa .kcard__meta { display: flex; order: -2; }

.l17 .side nav a .count { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.l17 .side .toggle { display: flex; align-items: center; gap: 10px; padding: 0 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.l17 .side .toggle input { accent-color: var(--ba-blue); }
