/* [Otto 2026-10-21] Rediseño de la página de foro de empresa (foro.php), aprobado por Alberto el 21/10/2026 11:54.
   Columna principal + columna derecha (vertical 300x600 fijo, ≥1024 px). Todo bajo .fv2 / body.fv2-page. */
html,body{max-width:100%;overflow-x:clip}
body.fv2-page{margin:0;background:#f4f5f9;color:#0f172a;font:15px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif}
.fv2{--fv-bd:#e5e7ef;--fv-bd2:#eef0f5;--fv-tx:#0f172a;--fv-tx2:#334155;--fv-mu:#64748b;--fv-ac:#5e17eb;--fv-ac2:#3a0ca3;--fv-acs:#f3edff;--fv-up:#15803d;--fv-dn:#dc2626;--fv-r:12px;--fv-sh:0 1px 2px rgba(15,23,42,.04),0 1px 3px rgba(15,23,42,.06);
  --line:#eef0f5;--line2:#e5e7ef;--muted:#64748b;--ink:#0f172a;--brand:#0f172a;--morado-dark:#5e17eb;--morado-light:#a279ff;font-variant-numeric:tabular-nums;display:block}
.fv2 a{color:inherit;text-decoration:none}
.fv2 *,.fv2 *::before,.fv2 *::after{box-sizing:border-box}
.fv2-wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.fv2-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;padding-top:20px;padding-bottom:40px}
.fv2-layout.fv2-noside{grid-template-columns:minmax(0,1fr);max-width:1040px}
.fv2-main{min-width:0}
.fv2-side{align-self:stretch;position:relative;min-width:0}
.fv2-rail{width:300px;height:100%}
.fv2-rail-in{position:sticky;top:16px}
.fv2-rail-lbl{display:block;margin:0 0 4px;font:600 9px/12px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.9px;text-transform:uppercase;color:#9aa3af;text-align:center}
.fv2-rail-slot{width:300px;height:600px;min-height:600px;max-height:600px;overflow:hidden;line-height:0;font-size:0}
.fv2-rail-slot ins.adsbygoogle{display:block!important}
.fv2-rail-in:has(ins.adsbygoogle[data-ad-status="unfilled"]){display:none} /* [12:35] sin anuncio, se cierra el hueco (nunca un cuadrado) */
@media (max-width:1023px){.fv2-layout{grid-template-columns:minmax(0,1fr)}.fv2-side{display:none}}

/* migas */
.fv2-crumbs{font-size:13px;color:var(--fv-mu);display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.fv2-crumbs a{color:var(--fv-mu)}.fv2-crumbs a:hover{color:var(--fv-ac)}

/* tarjetas base */
.fv2-co,.fv2-chart,.fv2 #form-empresas-wrap,.fv2 .bloque-mensaje:not(.fb-ad-card),.fv2-blk,.fv2 .fb-faq,.fv2 .fbf,.fv2 .fbt-news,.fv2 .fbt-list,.fv2 .fbt-empty{background:#fff;border:1px solid var(--fv-bd);border-radius:var(--fv-r)!important;box-shadow:var(--fv-sh)}

/* cabecera de empresa */
.fv2-co{padding:22px 24px 18px;border-top:3px solid var(--fv-ac);border-radius:0 0 12px 12px!important} /* [12:35] Alberto: línea morada superior con esquinas rectas */
.fv2-co-top{display:flex;align-items:center;gap:16px}
/* [Otto 2026-10-21 12:26] logo real más grande y sin recuadro; sin logo, iniciales en cuadrado redondeado sobrio */
.fv2-co-top{gap:20px!important}
.fv2-co-logo{flex:0 0 auto;display:flex;align-items:center;justify-content:center;height:76px;max-width:200px}
.fv2-co-logo img{display:block;width:auto;height:auto;max-height:76px;max-width:200px;object-fit:contain;border-radius:12px}
.fv2-co-ini{width:72px;height:72px;border-radius:16px;background:#f3edff;color:#3a0ca3;font-weight:800;font-size:24px;letter-spacing:.5px;border:1px solid #e4dafc}
.fv2-co-tt{flex:1;min-width:0}
.fv2 h1{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.4px;color:var(--fv-tx);font-weight:800}
.fv2-co-sub{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px;color:var(--fv-mu);font-size:13.5px}
.fv2-tk{background:var(--fv-acs);color:var(--fv-ac2);font-weight:700;font-size:12px;padding:2px 8px;border-radius:6px;letter-spacing:.2px}
.fv2-follow{flex:0 0 auto}
.fv2 .fb-follow{background:var(--fv-ac)!important;border-color:var(--fv-ac)!important;color:#fff!important;padding:9px 20px;font-size:14px}
.fv2 .fb-follow:hover{background:var(--fv-ac2)!important;border-color:var(--fv-ac2)!important}
.fv2 .fb-follow.on{background:#fff!important;color:var(--fv-ac)!important;border-color:#c4b5fd!important}
.fv2-kpis{display:grid;grid-template-columns:repeat(var(--fv2-n,6),minmax(0,1fr));margin:20px 0 0;border:1px solid var(--fv-bd2);border-radius:10px;overflow:hidden}
.fv2-kpis>div{padding:10px 14px;border-right:1px solid var(--fv-bd2);min-width:0}.fv2-kpis>div:last-child{border-right:0}
.fv2-kpis dt{font-size:11.5px;color:var(--fv-mu);text-transform:uppercase;letter-spacing:.4px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv2-kpis dd{margin:2px 0 0;font-weight:700;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.fv2-kpis em{font-style:normal;font-size:12px;font-weight:700;white-space:nowrap}
.fv2-up{color:var(--fv-up)!important}.fv2-dn{color:var(--fv-dn)!important}
.fv2-co-intro{margin-top:14px;font-size:14px;color:var(--fv-tx2);line-height:1.6}
.fv2-co-intro p{margin:0 0 6px}.fv2-co-intro a{color:var(--fv-ac);font-weight:700;text-decoration:none}
.fv2-co-intro .fb-seo-upd{font-size:12.5px;color:var(--fv-mu);margin:0}
@media (max-width:1180px){.fv2-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.fv2-kpis>div{border-bottom:1px solid var(--fv-bd2)}.fv2-kpis>div:nth-child(3n){border-right:0}}

/* banner bajo la cabecera de empresa */
.fv2 .fv2-banner{max-width:none;padding:0;margin:14px 0 0}
.fv2 .fv2-banner .fb-ad-fijo{margin:0 auto!important}

/* gráfico */
.fv2-chart{margin-top:16px;padding:14px 16px 10px}
.fv2 .tv-chart{margin:0;display:flex;flex-direction:column-reverse}
.fv2 .tv-chart .tradingview-widget-container{border:0;border-radius:0;height:340px}
.fv2 .tv-chart .tradingview-widget-container__widget,.fv2 .tv-chart iframe{height:340px!important}
.fv2 .tv-chart-note{color:var(--fv-mu)!important;font-style:normal!important;font-size:11.5px!important;margin:8px 0 0!important}

/* pestañas */
.fv2 .fbt-bar{position:relative;z-index:2;margin:18px 0 16px;background:rgba(244,245,249,.96);border-bottom:1px solid var(--fv-bd);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fv2 .fbt-in{max-width:none;padding:0;display:flex;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none}
.fv2 .fbt{background:none;border:0;border-bottom:2.5px solid transparent;border-radius:0!important;box-shadow:none;padding:12px 14px;font:600 14.5px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--fv-mu);gap:6px}
.fv2 .fbt svg{display:none}
.fv2 .fbt:hover{background:none;box-shadow:none;color:var(--fv-tx)}
.fv2 .fbt[aria-selected="true"]{background:none;color:var(--fv-ac);border-bottom-color:var(--fv-ac);box-shadow:none}
.fv2 .fbt-panel{max-width:none;margin:0 0 24px;padding:0}
.fv2 .fbt-panel .fbf,.fv2 .fbt-panel .fbt-list,.fv2 .fbt-panel .fbt-empty,.fv2 .fbt-news,.fv2 .fbt-emp{max-width:none}
.fv2 .fbt-empty{border-style:solid;color:var(--fv-tx2);font-weight:500;background:#fff;padding:18px 20px;text-align:left}
.fv2 .fbt-list{border-top:1px solid var(--fv-bd)}
.fv2 .fbt-row{padding:12px 18px;font-size:14px}
.fv2 .fbt-row a{color:var(--fv-ac);font-weight:600}
.fv2 .fbt-more{color:var(--fv-ac);font-weight:700}
.fv2 .fbt-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px;border-top:1px solid var(--fv-bd)}
.fv2 .fbt-nw{flex-direction:column;gap:8px;padding:0;border:0}
.fv2 .fbt-nw:hover{background:none}.fv2 .fbt-nw:hover b{color:var(--fv-ac)}
.fv2 .fbt-th{width:100%!important;border-radius:10px}
.fv2 .fbt-nw b{font-size:14.5px;color:var(--fv-tx)}

/* formulario */
.fv2 #form-empresas-wrap{padding:18px 20px;margin:0}
.fv2 #form-empresas-wrap::before{display:none}
.fv2 #form-empresas-wrap.flash{animation:fv2Flash 900ms ease-out}
@keyframes fv2Flash{0%{box-shadow:0 0 0 0 rgba(94,23,235,0)}30%{box-shadow:0 0 0 6px rgba(94,23,235,.22)}100%{box-shadow:var(--fv-sh)}}
.fv2 .form-header-pro{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:0;border:0}
.fv2 .form-header-ico{width:40px;height:40px;border-radius:50%;background:var(--fv-acs);color:var(--fv-ac);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.fv2 .form-header-text h2{margin:0;font-size:17px;font-weight:700;color:var(--fv-tx)}
.fv2 .form-header-text p{margin:0;font-size:13px;color:var(--fv-mu)}
.fv2 .pro-editor-container{border:1px solid var(--fv-bd);border-radius:10px;box-shadow:none}
.fv2 .pro-editor-container:focus-within{border-color:var(--fv-ac);box-shadow:0 0 0 3px rgba(94,23,235,.12)}
.fv2 .pro-toolbar{background:#fafbfd;border-bottom:1px solid var(--fv-bd2);padding:6px 8px;gap:4px}
.fv2 .pro-btn,.fv2 .pro-select{border-color:transparent;background:transparent;font-weight:600;color:var(--fv-tx2)}
.fv2 .pro-btn:hover,.fv2 .pro-select:hover{background:#eef0f5;border-color:transparent}
.fv2 .pro-textarea{min-height:96px;font-size:15px}
.fv2 .pro-submit-btn{background:var(--fv-ac)!important;border-radius:8px!important;box-shadow:none!important}
.fv2 .pro-submit-btn:hover{background:var(--fv-ac2)!important}
.fv2 .pro-disclaimer{font-size:12px;color:var(--fv-mu)}

/* lista de mensajes */
.fv2-list-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:26px 2px 10px}
.fv2-lh-t{font-size:18px;font-weight:700}.fv2-lh-m{font-size:13px;color:var(--fv-mu)}
.fv2 #mensajes-lista{width:100%;overflow-wrap:anywhere}
.fv2 .bloque-mensaje{position:relative;display:flex;flex-direction:column;gap:0;padding:16px 20px 10px;margin:0 0 14px;overflow:hidden}
.fv2 .bloque-mensaje:hover{box-shadow:0 4px 14px rgba(15,23,42,.07)}
.fv2 .cabecera-mensaje{display:flex;align-items:center;gap:12px;min-height:44px}
.fv2 .avatar-inline img{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover;display:block;border:2px solid #fff;box-shadow:0 0 0 1px var(--fv-bd)}
.fv2 .datos-usuario{flex:1;min-width:0}
.fv2 .alias-line{display:inline-flex;align-items:center;gap:6px;max-width:100%}
.fv2 .alias-text{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15.5px;font-weight:700}
.fv2-star{display:inline-flex;align-items:center;line-height:0;flex:0 0 auto}
.fv2-star .fb-rk-ico{display:inline-block;overflow:visible}
.fv2 .fecha{font-size:12.5px;color:var(--fv-mu);font-weight:500;display:flex;gap:6px;align-items:center}
.fv2 .fecha .fb-mid-pie{display:inline;margin:0;font-size:12.5px;font-weight:500;color:var(--fv-mu)}
.fv2 .fecha .fb-mid-pie:hover{color:var(--fv-ac);text-decoration:underline}
.fv2 .cabecera-mensaje>.fb-rk-card{display:none!important}
.fv2 .cita{margin:14px 0 0;padding:10px 14px;background:#f8f9fc;border-left:3px solid #c4b5fd;border-radius:0 8px 8px 0;color:var(--fv-tx2);font-size:14px;font-style:normal}
.fv2 .cita .alias-citado{display:flex;gap:6px;align-items:center;font-size:12.5px;color:var(--fv-mu);font-weight:600;margin:0 0 4px}
.fv2 .cita .alias-citado a{color:var(--fv-ac)}
.fv2 .texto-mensaje{margin-top:12px;font-size:15.5px;line-height:1.7;color:var(--fv-tx);white-space:pre-wrap;word-break:break-word}
.fv2 .texto-mensaje a,.fv2 .cuerpo-cita a{color:var(--fv-ac);font-weight:700}
.fv2 .texto-mensaje a:hover,.fv2 .cuerpo-cita a:hover{text-decoration:none;color:var(--fv-ac2)}
.fv2 .mencion{color:var(--fv-ac);font-weight:700;background:rgba(94,23,235,.08);padding:1px 5px;border-radius:4px}
.fv2 .fb-firma{margin:10px 0 2px;padding-top:8px;border-top:1px dashed #dbe4f1;font-size:12.5px;color:var(--fv-mu);font-style:italic;line-height:1.4;word-break:break-word}
.fv2 .imagen-bbcode{max-width:100%;max-height:450px;margin:12px 0;border-radius:10px;display:block;object-fit:contain}
.fv2 .spoiler{margin:12px 0}
.fv2 .spoiler button{background:var(--fv-tx);color:#fff;padding:6px 12px;border:none;cursor:pointer;font-size:13px;border-radius:8px;font-weight:700}
.fv2 .spoiler-content{display:none;overflow:hidden;background:#f4f6fa;padding:12px;margin-top:8px;border-left:4px solid var(--fv-mu);border-radius:0 8px 8px 0;transition:all .3s ease;opacity:0}
.fv2 .spoiler-content.abierto{display:block;opacity:1}
.fv2 .acciones-mensaje{display:flex;gap:4px;align-items:center;margin-top:12px;padding-top:8px;border-top:1px solid var(--fv-bd2);flex-wrap:wrap}
.fv2 .btn-accion{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--fv-mu);padding:7px 10px;border-radius:8px;cursor:pointer}
.fv2 .btn-accion:hover{background:#f1f3f8;color:var(--fv-tx)}
.fv2 .btn-accion.fbsh-msg{color:var(--fv-mu);border-radius:8px}
.fv2 .btn-megusta.on{background:#fff1f5;color:#e01e5a}
.fv2 .btn-megusta.on svg path{fill:#e01e5a;stroke:#e01e5a}
.fv2 .acciones-mensaje .fb-mid-pie{margin-left:auto;font-size:11.5px;font-weight:500!important;color:#94a3b8!important;letter-spacing:.2px;padding:4px 2px;text-decoration:none!important}
.fv2 .acciones-mensaje .fb-mid-pie:hover{color:#64748b!important}
.fv2 .btn-reportar{margin-left:0;padding:7px 8px;color:#94a3b8}
.fv2 .btn-reportar:hover{color:#dc2626;background:#fef2f2}
.fv2 .fb-cita-prev{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;padding:10px 12px;border:1px solid #e5e7eb;border-left:3px solid #3a0ca3;border-radius:10px;background:#f9fafb;font-size:13.5px;line-height:1.45;color:#374151;max-width:100%}
.fv2 .fb-cita-prev>div{flex:1;min-width:0}.fv2 .fb-cita-prev b{display:block;font-size:12px;font-weight:600;letter-spacing:.3px;color:#3a0ca3;margin:0 0 2px}.fv2 .fb-cita-prev span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.fv2 .fb-cita-prev button{flex:0 0 auto;width:28px;height:28px;border:1px solid #d1d5db;border-radius:50%;background:#fff;color:#374151;font:600 16px/1 system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
/* anuncio entre mensajes: alto reservado (sin CLS) */
.fv2 .bloque-mensaje.fb-ad-card{margin:0 0 14px!important;min-height:102px!important}
@media (max-width:767px){.fv2 .bloque-mensaje.fb-ad-card{min-height:112px!important}}
.fv2 .fbgw{border-radius:16px!important;margin:4px 0 18px}

/* paginación */
.fv2 .pager{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:22px 0}
.fv2 .pg{min-width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--fv-bd);background:#fff;border-radius:8px;color:var(--fv-tx2);font-weight:600;font-size:14px}
.fv2 .pg:hover{border-color:var(--fv-ac);color:var(--fv-ac)}
.fv2 .pg.active{background:var(--fv-ac);border-color:var(--fv-ac);color:#fff;box-shadow:none}
.fv2 .pg.disabled{opacity:.4;pointer-events:none}

/* bloques nuevos y FAQ */
.fv2-blk,.fv2 .fb-faq{padding:18px 20px;margin:16px 0 0}
.fv2-blk h2,.fv2 .fb-faq h2{margin:0;font-size:17px;font-weight:700;color:var(--fv-tx)}
.fv2-blk-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:12px}
.fv2-blk-h a{font-size:13.5px;font-weight:600;color:var(--fv-ac)}
.fv2-ngrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fv2-ncard{display:flex;flex-direction:column;color:var(--fv-tx)}
.fv2-nth{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#e2e8f0}
.fv2-nth img{width:100%;height:100%;object-fit:cover;display:block}
.fv2-nt{font-weight:700;font-size:14.5px;line-height:1.35;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fv2-ncard time{font-size:12px;color:var(--fv-mu);margin-top:4px}
.fv2-ncard:hover .fv2-nt{color:var(--fv-ac)}
.fv2 .fb-faq{border-top:1px solid var(--fv-bd)}
.fv2 .fb-faq h2{margin-bottom:6px}
.fv2 .fb-faq details{border-top:1px solid var(--fv-bd2);padding:0}
.fv2 .fb-faq summary{cursor:pointer;padding:12px 2px;font-weight:600;font-size:15px;color:var(--fv-tx)}
.fv2 .fb-faq summary::marker{color:var(--fv-mu)}
.fv2 .fb-faq p{margin:0 0 12px;color:var(--fv-tx2);font-size:14px;line-height:1.6}
.fv2 .fb-faq a{color:var(--fv-ac);font-weight:700;text-decoration:none}
.fv2 .fb-faq .fb-faq-nota{font-size:12px;color:var(--fv-mu);margin:10px 0 0}
.fv2-chips{display:flex;flex-wrap:wrap;gap:8px}
.fv2-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--fv-bd);border-radius:999px;padding:5px 14px 5px 5px;color:var(--fv-tx);font-weight:600;font-size:13.5px}
.fv2-chip:hover{border-color:var(--fv-ac);color:var(--fv-ac)}
.fv2-chip-i{width:26px;height:26px;border-radius:50%;background:var(--fv-acs);color:var(--fv-ac2);font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;text-transform:uppercase}

/* ficha */
.fv2 .fbf{padding:20px 22px;margin:0 0 16px;border-top:1px solid var(--fv-bd)}
.fv2 .fbf h3{margin:0 0 14px;font-size:18px;font-weight:700;color:var(--fv-tx);text-transform:none;letter-spacing:0}
.fv2 .fbf>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;font-size:14px}
.fv2 .fbf>dl>div{display:block;background:#f8f9fc;border:1px solid var(--fv-bd2);border-radius:10px;padding:12px 14px;min-width:0}
.fv2 .fbf>dl dt{font-size:12px;color:var(--fv-mu);font-weight:600}
.fv2 .fbf>dl dd{margin:3px 0 0;text-align:left;font-weight:700;font-size:16px;color:var(--fv-tx);overflow-wrap:anywhere}
.fv2 .fbf>dl dd a{color:var(--fv-ac);font-weight:600}
.fv2 .fbf .fbf-pr{color:var(--fv-mu);font-weight:500;font-style:normal;font-size:14px}
.fv2 .fbf .fbf-gob{margin-top:16px;padding-top:14px;border-top:1px solid var(--fv-bd2)}
.fv2 .fbf .fbf-gob h4{margin:0 0 10px;font-size:15px;font-weight:700;color:var(--fv-tx);text-transform:none;letter-spacing:0}
.fv2 .fbf .fbf-gob dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;font-size:14px}
.fv2 .fbf .fbf-gob dl>div{display:block;min-width:0}
.fv2 .fbf .fbf-gob dt{font-size:12px;color:var(--fv-mu);font-weight:600}
.fv2 .fbf .fbf-gob dd{margin:2px 0 0;text-align:left;font-weight:600;color:var(--fv-tx)}
.fv2 .fbf .fbf-src{font-size:12px;color:var(--fv-mu);line-height:1.5}
.fv2 .fbf .fbf-src a,.fv2 .fb-res a,.fv2 .fbt-res a{color:var(--fv-ac)}
.fv2 .fbf ul{font-size:14px}
.fv2 .fbf-acc{list-style:none;padding:0!important;margin:8px 0 0!important;display:flex;flex-direction:column;gap:10px}
.fv2 .fbf-acc li{color:var(--fv-tx2)}
.fv2 .fbf-acc-bar{display:block;height:6px;background:#eef0f5;border-radius:6px;margin-top:4px;overflow:hidden}
.fv2 .fbf-acc-bar i{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#5e17eb);border-radius:6px}
.fv2 .fb-res ul{margin:8px 0 6px;padding-left:18px}.fv2 .fb-res li{margin:3px 0}
.fv2 .fb-res-s{font-size:12px;color:var(--fv-mu)}
.fv2 .fbt-res{font-weight:500}
@media (max-width:900px){.fv2 .fbf>dl{grid-template-columns:repeat(2,minmax(0,1fr))}.fv2 .fbf .fbf-gob dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* precio objetivo */
.fv2 .fbf-po-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px}
.fv2 .fbf-po-card dl>dt{background:none;border:0;padding:0}
.fv2-po-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fv2-po-main>div{background:#f8f9fc;border:1px solid var(--fv-bd2);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;min-width:0}
.fv2-po-l{font-size:12px;color:var(--fv-mu);font-weight:600}
.fv2-po-v{font-size:26px;font-weight:800;letter-spacing:-.4px;color:var(--fv-tx)}
.fv2-po-main small{font-size:12px;color:var(--fv-mu)}
.fv2-rg{margin:42px 8px 10px}
.fv2-rg-t{position:relative;height:8px;background:#eef0f5;border-radius:8px}
.fv2-rg-b{position:absolute;top:0;bottom:0;background:#c4b5fd;border-radius:8px}
.fv2-rg-m{position:absolute;top:-6px;width:4px;height:20px;margin-left:-2px;border-radius:2px;background:var(--fv-tx)}
.fv2-rg-a{background:var(--fv-ac)}
.fv2-rg-m b{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);font-size:11.5px;white-space:nowrap;text-align:center;line-height:1.2;color:var(--fv-tx2)}
.fv2-rg-e{display:flex;justify-content:space-between;font-size:12px;color:var(--fv-mu);margin-top:12px}

/* empresa (perfil) */
.fv2 .fbt-emp{background:#fff;border:1px solid var(--fv-bd);border-radius:var(--fv-r);box-shadow:var(--fv-sh);padding:20px 22px;color:var(--fv-tx2);line-height:1.7}
.fv2 .fbt-emp>*:first-child{margin-top:0}
.fv2 .fbt-emp a{color:var(--fv-ac)}

/* modal reportar */
.modal-mask{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(11,19,43,.6);backdrop-filter:blur(4px);z-index:10000}
.modal-card{width:min(600px,92vw);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#0f172a;color:#fff}
.modal-title{margin:0;font-weight:800;font-size:18px}
.modal-close{appearance:none;border:0;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font-weight:700;padding:8px 12px;border-radius:8px}
.modal-close:hover{background:rgba(255,255,255,.2)}
.report-body{padding:20px}
.report-quote{background:#f4f6fa;border-left:4px solid #dbe4f1;padding:10px 14px;border-radius:8px;margin-bottom:16px;color:#4a5568;font-size:14px}
.report-controls{display:grid;gap:16px}.report-row{display:grid;gap:8px;font-weight:700}
.report-select,.report-text{width:100%;padding:12px 14px;border:2px solid #dbe4f1;border-radius:10px;font:inherit;outline:none}
.report-select:focus,.report-text:focus{border-color:#a279ff}
.report-text{min-height:120px;resize:vertical;font-weight:400}
.report-help{display:flex;align-items:center;justify-content:space-between;color:#6b7280;font-size:13px;margin-top:8px;font-weight:600}
.report-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}
.page-foro .btn{padding:10px 16px;border-radius:10px;border:1px solid #dbe4f1;background:#fff;cursor:pointer;font-weight:700}
.page-foro .btn:hover{background:#f4f6fa}
.page-foro .btn-danger{background:#e01e5a;border-color:#e01e5a;color:#fff}
.page-foro .btn-danger:hover{background:#c0194d}
.page-foro .btn-danger:disabled{opacity:.5;cursor:default}

/* móvil */
@media (max-width:767px){
  .fv2-wrap{padding:0 12px}
  .fv2-layout{padding-top:6px}
  .fv2-co{padding:16px}
  .fv2-co-top{flex-wrap:wrap;align-items:flex-start;gap:12px}
  .fv2-co-logo{height:56px;max-width:120px}
  .fv2-co-logo img{max-height:56px;max-width:120px;border-radius:10px}
  .fv2-co-ini{width:52px;height:52px;border-radius:12px;font-size:18px}
  .fv2-co-tt{flex:1 1 160px}
  .fv2 h1{font-size:22px}
  .fv2-co-sub{font-size:12.5px;gap:6px}
  .fv2-follow{margin-left:0}
  .fv2 .fb-follow{padding:7px 14px;font-size:13px}
  .fv2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fv2-kpis>div{border-right:0!important;border-bottom:1px solid var(--fv-bd2)}
  .fv2-kpis>div:nth-child(odd){border-right:1px solid var(--fv-bd2)!important}
  .fv2-kpis dd{font-size:15px}
  .fv2-co-intro{font-size:13.5px}
  .fv2-chart{padding:10px}
  .fv2 .tv-chart .tradingview-widget-container,.fv2 .tv-chart .tradingview-widget-container__widget,.fv2 .tv-chart iframe{height:300px!important}
  .fv2 .fbt-bar{margin:14px -12px 12px;padding:0 6px}
  .fv2 .fbt-in{display:flex!important;grid-template-columns:none!important;padding:0!important;gap:0!important}
  .fv2 .fbt{padding:11px 10px!important;font-size:14px!important;flex:0 0 auto}
  .fv2 #form-empresas-wrap{padding:14px}
  .fv2-list-h{flex-direction:column;gap:2px;align-items:flex-start}
  .fv2 .bloque-mensaje:not(.fb-ad-card){padding:14px 14px 8px}
  .fv2-star{display:none}
  .fv2 .cabecera-mensaje{align-items:flex-start;gap:10px}
  .fv2 .cabecera-mensaje>.fb-rk-card{display:inline-flex!important;margin-left:auto;align-self:flex-start;flex:0 0 auto}
  .fv2 .alias-line{overflow:hidden}.fv2 .alias-text{min-width:0;font-size:15px}
  .fv2 .fecha{white-space:nowrap}
  .fv2 .btn-accion{padding:6px 8px;font-size:12.5px}
  .fv2 .btn-accion.fbsh-msg .fbsh-lbl{display:none}
  .fv2-ngrid,.fv2 .fbt-news{grid-template-columns:1fr}
  .fv2-ncard{display:grid;grid-template-columns:120px 1fr;column-gap:12px;align-items:start}
  .fv2-ncard .fv2-nth{grid-row:1/3}.fv2-nt{margin-top:0;font-size:14px}
  .fv2 .fbt-nw{flex-direction:row}.fv2 .fbt-th{width:128px!important}
  .fv2-po-main{grid-template-columns:1fr}
  .fv2 .fbf{padding:16px}
}
.fv2 .pro-char-counter{white-space:nowrap}
.fv2 .fbf>dl>div.fbf-w{grid-column:span 2}
.fv2 .fbf>dl>div.fbf-w dd{font-size:14px;font-weight:600;line-height:1.45}
.fv2 .fbf>dl dd .fbf-pr{font-size:14px}

/* ===== [Otto 2026-10-21 12:40] Formulario de mensaje «de medio serio» (maqueta form_v3 aprobada por Alberto) ===== */
/* PROPUESTA (no subida) · formulario de mensaje «de medio serio». Va en foro_v2.css, acotado a .fv2 #form-empresas-wrap */
.fv2 #form-empresas-wrap{padding:20px 22px 16px;border-radius:12px!important}
.fv2 #form-empresas-wrap .form-header-pro{margin:0 0 14px;gap:0}
.fv2 #form-empresas-wrap .form-header-ico{display:none}
.fv2 #form-empresas-wrap .form-header-text h2{font-size:16px;font-weight:700;letter-spacing:-.1px;color:#0f172a}
.fv2 #form-empresas-wrap .form-header-text p{font-size:13px;color:#64748b;margin-top:2px}
.fv2 #form-empresas-wrap .pro-editor-container{border:1px solid #d6dae3;border-radius:8px;box-shadow:none;margin:0;background:#fff;transition:border-color .15s,box-shadow .15s}
.fv2 #form-empresas-wrap .pro-editor-container:focus-within{border-color:#5e17eb;box-shadow:0 0 0 3px rgba(94,23,235,.10)}
.fv2 #form-empresas-wrap .pro-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:6px 8px;background:#fff;border-bottom:1px solid #eceef3}
.fv2 #form-empresas-wrap .pro-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#475569;cursor:pointer;box-shadow:none}
.fv2 #form-empresas-wrap .pro-btn:hover,.fv2 #form-empresas-wrap .pro-btn:focus-visible{background:#f1f3f7;color:#0f172a;outline:none}
.fv2 #form-empresas-wrap .pro-divider{width:1px;height:18px;background:#e2e5ec;margin:0 6px}
.fv2 #form-empresas-wrap .pro-sel{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 4px 0 8px;border-radius:6px;color:#475569;cursor:pointer}
.fv2 #form-empresas-wrap .pro-sel:hover{background:#f1f3f7;color:#0f172a}
.fv2 #form-empresas-wrap .pro-select{appearance:none;-webkit-appearance:none;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;padding:0 18px 0 0;font:500 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:inherit;cursor:pointer;height:32px;box-shadow:none}
.fv2 #form-empresas-wrap .pro-select:focus{outline:none}
.fv2 #form-empresas-wrap .pro-textarea{display:block;width:100%;min-height:132px;border:0;padding:14px 16px;font:400 15px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#0f172a;resize:vertical;background:#fff;outline:none}
.fv2 #form-empresas-wrap .pro-textarea::placeholder{color:#94a3b8}
.fv2 #form-empresas-wrap .pro-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 8px 12px;border-top:1px solid #eceef3;background:#fafbfc}
.fv2 #form-empresas-wrap .pro-upload-wrapper{position:relative;display:flex;align-items:center;gap:10px;min-width:0}
.fv2 #form-empresas-wrap .pro-upload-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#475569;font:500 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;white-space:nowrap}
.fv2 #form-empresas-wrap .pro-upload-wrapper:hover .pro-upload-btn{background:#f1f3f7;color:#0f172a}
.fv2 #form-empresas-wrap .pro-upload-btn.con-archivo{background:#f3edff;color:#3a0ca3}
.fv2 #form-empresas-wrap .pro-upload-input{position:absolute;left:0;top:0;width:130px;height:32px;opacity:0;cursor:pointer}
.fv2 #form-empresas-wrap .pro-upload-hint{font-size:12px;color:#94a3b8;white-space:nowrap}
.fv2 #form-empresas-wrap .pro-submit-area{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.fv2 #form-empresas-wrap .pro-char-counter{font:500 12px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#94a3b8;background:none;padding:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.fv2 #form-empresas-wrap .pro-submit-btn{height:36px;padding:0 20px;border:0;border-radius:8px!important;background:#5e17eb!important;color:#fff;font:600 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.1px;cursor:pointer;box-shadow:none!important;transform:none!important}
.fv2 #form-empresas-wrap .pro-submit-btn:hover{background:#4c12c4!important}
.fv2 #form-empresas-wrap .pro-submit-btn:focus-visible{outline:2px solid #5e17eb;outline-offset:2px}
.fv2 #form-empresas-wrap .pro-disclaimer{margin:10px 2px 0;text-align:left;font-size:12px;line-height:1.5;color:#94a3b8;font-weight:400}
.fv2 #form-empresas-wrap .pro-disclaimer a{color:#64748b!important;font-weight:600!important}
.fv2 #form-empresas-wrap .fb-cita-prev{margin:0 0 10px;border-radius:8px;border-left-width:3px}
@media (max-width:767px){
  .fv2 #form-empresas-wrap{padding:14px}
  .fv2 #form-empresas-wrap .pro-toolbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .fv2 #form-empresas-wrap .pro-toolbar::-webkit-scrollbar{display:none}
  .fv2 #form-empresas-wrap .pro-sel{flex:0 0 auto}
  .fv2 #form-empresas-wrap .pro-upload-hint{display:none}
  .fv2 #form-empresas-wrap .pro-upload-btn span{display:none}
  .fv2 #form-empresas-wrap .pro-upload-input{width:40px}
  .fv2 #form-empresas-wrap .pro-textarea{min-height:120px;font-size:16px}
}
.fv2 #form-empresas-wrap .pro-select{width:auto!important;min-width:0!important;flex:0 0 auto}
.fv2 #form-empresas-wrap .pro-footer{flex-direction:row!important;flex-wrap:nowrap!important}
.fv2 #form-empresas-wrap .pro-submit-area{width:auto!important;justify-content:flex-end!important}
.fv2 #form-empresas-wrap .pro-upload-wrapper{width:auto!important}

/* ===== [12:51] Modo compacto (solo PC ≥1024 px, solo foro de empresa; solo CSS/JS de esta página) =====
   Se activa cuando las pestañas del foro llegan a la cabecera. La cabecera de Forobolsa NO se oculta:
   se queda fija (logo + zona de usuario), baja a 56 px y solo se pliega el menú de navegación.
   Debajo, fija, la barra de la empresa (logo + «Foro X» + pestañas), 44 px. Sin CLS: todo es position:fixed. */
.fv2-bar{display:none}
@media (min-width:1024px){
  #fbp-header-v5 .fbpm-bar{transition:height .22s ease}
  #fbp-header-v5 .fbpm-brand img{transition:transform .22s ease;transform-origin:left center}
  #fbp-header-v5 .fbpm-subheader{transition:height .22s ease,border-bottom-width .22s ease,opacity .18s ease} /* [13:48] sin overflow:hidden fuera del modo compacto: recortaba los desplegables del menú */
  html.fv2-compact #fbp-header-v5 .fbpm-bar{height:55px}
  html.fv2-compact #fbp-header-v5 .fbpm-brand img{transform:scale(.8333)}
  html.fv2-compact #fbp-header-v5 .fbpm-brand{gap:4px}
  html.fv2-compact #fbp-header-v5 .fbpm-subheader{height:0;border-bottom-width:0;opacity:0;pointer-events:none;overflow:hidden}
  .fv2-bar{display:block;position:fixed;top:56px;left:0;right:0;z-index:899;height:44px;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7ef;box-shadow:0 4px 12px rgba(15,23,42,.06);transform:translateY(-100%);opacity:0;visibility:hidden;transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
  html.fv2-compact .fv2-bar{transform:none;opacity:1;visibility:visible;transition:transform .22s ease,opacity .18s ease,visibility 0s}
  .fv2-bar-in{max-width:var(--page-max,1400px);height:100%;margin:0 auto;padding:0 16px;box-sizing:border-box;display:flex;align-items:center;gap:18px}
  .fv2-bar-id{display:flex;align-items:center;gap:9px;flex:0 0 auto;color:#0f172a!important;text-decoration:none!important}
  .fv2-bar-id img{display:block;max-height:26px;max-width:84px;width:auto;height:auto;object-fit:contain;border-radius:5px}
  .fv2-bar-id b{font-size:14.5px;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
  .fv2-bar-tabs{display:flex;align-items:stretch;gap:2px;height:100%;min-width:0;overflow:hidden;flex:1 1 auto}
  .fv2-bt{background:none;border:0;border-bottom:2.5px solid transparent;padding:0 11px;font:600 13.5px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#64748b;cursor:pointer;white-space:nowrap}
  .fv2-bt:hover{color:#0f172a}
  .fv2-bt[aria-selected="true"]{color:#5e17eb;border-bottom-color:#5e17eb}
  .fv2-rail-in{transition:top .22s ease}
}
@media (min-width:1024px) and (max-width:1279px){.fv2-bt{padding:0 8px;font-size:13px}.fv2-bar-in{gap:12px}.fv2-bar-id img{max-width:64px}}
/* [12:51] vertical: sticky a barras+10 o anclado abajo; solo si ni así cabe entero va con la página (nunca recorte ni tapado) */
.fv2-rail.fv2-rail-nofix .fv2-rail-in{position:relative;top:0!important}
.fv2-bar-sen{position:absolute;left:0;top:0;width:1px;height:1px;pointer-events:none;visibility:hidden}
.fv2-co{position:relative}

/* ===== [13:06] MÓVIL (<768 px), foro de empresa =====
   Pestañas fijas al llegar arriba (justo bajo la cabecera móvil fija: --fv2-mtop la calcula el JS), compactas, con scroll
   horizontal, la activa siempre visible y el logo pequeño de la empresa delante (siempre presente: sin saltos).
   Bloques más anchos: contenedor 8 px por lado, tarjetas 12-14 px de padding y radio 8 px; texto 16 px. PC sin cambios. */
.fv2-tlogo{display:none}
@media (max-width:767px){
  .fv2-wrap{padding:0 8px}
  .fv2 .fbt-bar{position:sticky;top:var(--fv2-mtop,70px);z-index:5;margin:12px -8px 10px;padding:0 4px;background:rgba(244,245,249,.97)}
  html.fv2-tabsfix .fv2 .fbt-bar{box-shadow:0 4px 10px rgba(15,23,42,.08)}
  .fv2 .fbt{padding:10px 9px!important;font-size:13.5px!important}
  .fv2-tlogo{display:flex;align-items:center;flex:0 0 auto;padding:0 6px 0 4px}
  .fv2-tlogo img{display:block;max-height:20px;max-width:52px;width:auto;height:auto;object-fit:contain;border-radius:4px}
  .fv2-co{padding:14px;border-radius:0 0 8px 8px}
  .fv2-chart{padding:8px;border-radius:8px}
  .fv2 #fbtab-foro.foro-wrap{padding-left:0!important;padding-right:0!important}
  .fv2 .foro-wrap .bloque-mensaje:not(.fb-ad-card){padding:12px 13px 8px!important;border-radius:8px!important}
  .fv2 .bloque-mensaje .texto-mensaje{font-size:16px}
  .fv2 #form-empresas-wrap{padding:12px 13px!important;border-radius:8px!important}
  .fv2 .bloque-mensaje.fb-ad-card{border-radius:8px}
  .fv2 .fbt-panel{padding:0}
}

/* [13:14] PC: el aviso de registro (sesión cerrada) se limita a la columna de mensajes: nunca tapa el vertical */
@media (min-width:1024px){
  .fv2 #fb-guest-wall.fbgw{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:100%!important;border-radius:12px!important}
}

/* [13:16] #msgNNNN: el mensaje queda por debajo de las barras fijas */
.fv2 .bloque-mensaje,.fv2 #fb-guest-wall{scroll-margin-top:124px}
@media (max-width:767px){.fv2 .bloque-mensaje,.fv2 #fb-guest-wall{scroll-margin-top:118px}}
