/*
 * Mockups propios de Flowbit: mismo estilo que la plataforma (marco, hoja, aqua, Haffer en cifras,
 * Satoshi en interfaz, tarjetas del kit), con letra grande y pocos elementos para que se lea el valor.
 * Todo se mide en em sobre 1.4cqw: el lienzo es 71,4em × 44,6em (proporción 16:10) y escala con su pantalla.
 * Datos inventados (Distribuidora Andina).
 */
.fx{position:absolute;inset:0;container-type:inline-size;overflow:hidden;background:var(--fb-frame);color:var(--fb-ink);text-align:left;line-height:1.35;user-select:none}
.fx__c{position:absolute;inset:0;display:grid;grid-template-columns:12.6em minmax(0,1fr);font-family:var(--fb-ui);font-size:1.4cqw;opacity:0;visibility:hidden}
.fx__c.is-on{opacity:1;visibility:visible}
.fx svg{display:inline-block;flex:none}
.fx .num{font-family:var(--fb-display);font-weight:400;font-feature-settings:"pnum" 1,"lnum" 1;letter-spacing:-.035em}

/* Barra lateral */
.fx__side{display:flex;flex-direction:column;gap:.55em;padding:1.3em .9em 1em;color:var(--fb-frame-ink-2);background:var(--fb-frame);position:relative;overflow:hidden}
.fx__side::after{content:"";position:absolute;left:-4em;bottom:-5em;width:14em;height:14em;border-radius:50%;border:1px solid rgba(255,255,255,.05);box-shadow:0 0 0 2.4em rgba(255,255,255,.012)}
.fx__brand{padding:0 .35em .5em}
.fx__brand img{height:1.45em;width:auto;display:block}
.fx__org{display:flex;align-items:center;gap:.6em;padding:.55em .6em;border-radius:.8em;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);color:#fff;font-weight:700;font-size:.92em;white-space:nowrap}
.fx__av{display:grid;place-items:center;width:1.9em;height:1.9em;border-radius:.5em;background:var(--fb-aqua);color:var(--fb-on-action);font-size:.82em;font-weight:700;flex:none}
.fx__nav{display:flex;flex-direction:column;gap:.18em;margin-top:.3em}
.fx__nav small{font-size:.74em;color:var(--fb-frame-ink-3);padding:.7em .6em .2em}
.fx__nav span{display:flex;align-items:center;gap:.6em;padding:.5em .6em;border-radius:.6em;font-size:.95em;white-space:nowrap;transition:background .4s,color .4s}
.fx__nav span svg{width:1.15em;height:1.15em;color:var(--fb-frame-ink-3);transition:color .4s}
.fx__nav span.is-on{background:rgba(255,255,255,.08);color:#fff}
.fx__nav span.is-on svg{color:var(--fb-aqua)}
.fx__nav i{margin-left:auto;display:inline-flex;align-items:center;gap:.3em;font-style:normal;font-size:.8em;color:#fff;padding:.1em .5em;border-radius:99px;background:rgba(255,255,255,.08)}
.fx__nav i::before{content:"";width:.45em;height:.45em;border-radius:50%;background:var(--fb-flag-warn)}
.fx__iqlink{margin-top:auto;display:flex;align-items:center;gap:.6em;padding:.55em .6em;border-radius:.6em;color:#fff;font-weight:700;font-size:.95em;border-top:1px solid rgba(255,255,255,.07)}
.fx__iqlink svg{width:1.3em;height:1.3em;color:var(--fb-aqua)}
.fx__user{display:flex;align-items:center;gap:.6em;padding:.4em .5em;font-size:.86em}
.fx__user>span{display:grid;place-items:center;width:2em;height:2em;border-radius:50%;background:var(--fb-celeste);color:var(--fb-aqua-900);font-weight:700;font-size:.85em}
.fx__user b{display:block;color:#fff;font-size:1em}
.fx__user small{display:block;color:var(--fb-frame-ink-3);font-size:.85em}

/* Hoja principal */
.fx__main{position:relative;margin:.5em .5em .5em 0;border-radius:1.1em;background:var(--fb-sheet);overflow:hidden;display:flex;flex-direction:column}
.fx__top{display:flex;align-items:center;gap:1em;padding:.9em 1.5em;border-bottom:1px solid var(--fb-line);font-size:.92em;color:var(--fb-ink-2)}
.fx__top>b{font-weight:700;color:var(--fb-ink)}
.fx__fresh{margin-left:auto;display:inline-flex;align-items:center;gap:.45em;color:var(--fb-ink-3)}
.fx__fresh i{width:.55em;height:.55em;border-radius:50%;background:var(--fb-aqua-600)}
.fx__askb{display:inline-flex;align-items:center;gap:.5em;padding:.45em .9em;border-radius:99px;background:var(--fb-frame);color:#fff;font-weight:700}
.fx__askb svg{width:1.1em;height:1.1em;color:var(--fb-aqua)}
.fx__view{position:absolute;inset:3em 0 0;padding:1.1em 1.5em 1.2em;display:flex;flex-direction:column;gap:.85em}
.fx__head{display:flex;align-items:flex-end;gap:.7em}
.fx__head svg{width:2.1em;height:2.1em;color:var(--fb-aqua-600)}
.fx__head h4{margin:0;font-family:var(--fb-display);font-weight:600;font-size:2.3em;letter-spacing:-.04em;line-height:1}
.fx__head small{font-size:.92em;color:var(--fb-ink-3);padding-bottom:.25em}
.fx__read{display:flex;align-items:center;gap:.55em;font-size:1.08em;color:var(--fb-ink);flex-wrap:nowrap;white-space:nowrap}
.fx__read svg{width:1.2em;height:1.2em;color:var(--fb-aqua-600)}
.fx__read span{text-decoration:underline dotted var(--fb-aqua-600);text-underline-offset:.3em}
.fx__read b{font-weight:700}
.fx__why{margin-left:.4em;display:inline-flex;align-items:center;gap:.3em;font-weight:700;color:var(--fb-aqua-700);text-decoration:none}
.fx__why svg{width:1em;height:1em}

/* Banda de cifras */
.fx__band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8em}
.fx__kpi{position:relative;display:flex;flex-direction:column;gap:.25em;padding:.9em 1em .7em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);overflow:hidden;transition:box-shadow .4s}
.fx__kpi.is-hl{box-shadow:0 0 0 2px var(--fb-aqua-600),0 .6em 1.6em -.8em rgba(13,46,47,.5)}
.fx__kpi--hero{background:var(--fb-aqua);box-shadow:none;color:var(--fb-on-action)}
.fx__kpi--hero.is-hl{box-shadow:0 0 0 2px var(--fb-on-action),0 .6em 1.6em -.8em rgba(13,46,47,.5)}
.fx__kl{display:flex;align-items:center;gap:.45em;font-weight:700;font-size:.95em;color:var(--fb-ink-2)}
.fx__kpi--hero .fx__kl{color:var(--fb-on-action)}
.fx__kl svg{width:1.15em;height:1.15em;color:var(--fb-aqua-600)}
.fx__kpi--hero .fx__kl svg{color:var(--fb-on-action)}
.fx__ki{margin-left:auto;display:grid;place-items:center;width:1.35em;height:1.35em;border-radius:50%;box-shadow:inset 0 0 0 1.5px currentColor;font-size:.8em;font-weight:700;opacity:.6;font-style:normal}
.fx__kv{font-size:3em;line-height:1;margin-top:.1em}
.fx__kv small{font-size:.42em;margin-left:.08em;letter-spacing:0}
.fx__kd{display:flex;align-items:baseline;gap:.4em;font-size:.88em;color:var(--fb-ink-3)}
.fx__kd b{color:var(--fb-up)}
.fx__kd b.dn{color:var(--fb-down)}
.fx__kpi--hero .fx__kd,.fx__kpi--hero .fx__kd b{color:var(--fb-on-action)}
.fx__spark{height:2.2em;width:100%;margin-top:.1em}

/* Fila de abajo: gráfico y «Para revisar» */
.fx__row{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:.8em}
.fx__card{position:relative;min-height:0;display:flex;flex-direction:column;gap:.5em;padding:.9em 1em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__ct{display:flex;align-items:center;gap:.5em;font-weight:700;font-size:1em}
.fx__ct svg{width:1.1em;height:1.1em;color:var(--fb-aqua-600)}
.fx__ct .fx__why{margin-left:auto;font-size:.88em}
.fx__cs{font-size:.84em;color:var(--fb-ink-3);margin-top:-.3em}
.fx__bars{position:relative;flex:1;min-height:0;display:flex;align-items:flex-end;gap:.45em;padding:.4em 0 1.5em}
.fx__bars i{position:relative;flex:1;height:var(--h);border-radius:.3em .3em .1em .1em;background:var(--fb-bar);transform-origin:50% 100%}
.fx__bars i.cmp{background:var(--fb-bar-2)}
.fx__bars i.hl{background:var(--fb-aqua-600)}
.fx__bars i b{position:absolute;left:50%;bottom:100%;transform:translate(-50%,-.3em);font-family:var(--fb-display);font-weight:400;font-size:.9em;color:var(--fb-ink);white-space:nowrap}
.fx__bars i::after{content:attr(data-d);position:absolute;left:50%;top:100%;transform:translate(-50%,.35em);font-size:.72em;color:var(--fb-ink-4);white-space:nowrap}
.fx__typ{position:absolute;left:0;right:0;bottom:calc(1.5em + var(--t));border-top:1.5px dashed var(--fb-ink-4);pointer-events:none}
.fx__typ span{position:absolute;left:0;top:-1.5em;font-size:.76em;color:var(--fb-ink-3);background:#fff;padding:0 .3em}
.fx__rev{display:flex;flex-direction:column;gap:.1em}
.fx__rev div{display:grid;grid-template-columns:.7em 1fr;gap:.2em .6em;padding:.6em 0;border-bottom:1px solid var(--fb-line)}
.fx__rev div:last-child{border-bottom:0}
.fx__rev div::before{content:"";width:.55em;height:.55em;border-radius:50%;background:var(--fb-flag-warn);margin-top:.4em}
.fx__rev div.ok::before{background:var(--fb-aqua-600)}
.fx__rev b{font-size:.95em;line-height:1.3}
.fx__rev small{grid-column:2;font-size:.8em;color:var(--fb-ink-3);line-height:1.35}

/* «Por qué»: la ficha de un número */
.fx__pop{position:absolute;z-index:6;width:22em;padding:1em 1.1em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line),0 1.6em 3.2em -1.4em rgba(13,46,47,.55);opacity:0;visibility:hidden;transform-origin:0 0}
.fx__pop.is-on{opacity:1;visibility:visible}
.fx__pop h5{margin:0 0 .6em;display:flex;align-items:center;gap:.45em;font-size:1em;font-weight:700;color:var(--fb-aqua-700)}
.fx__pop h5 svg{width:1.1em;height:1.1em}
.fx__pop dl{display:grid;grid-template-columns:auto 1fr;gap:.45em .9em;margin:0;font-size:.9em}
.fx__pop dt{color:var(--fb-ink-3)}
.fx__pop dd{margin:0;font-weight:700;line-height:1.3}
.fx__ok{display:inline-flex;align-items:center;gap:.35em;margin-top:.75em;padding:.3em .7em;border-radius:99px;background:var(--fb-good-bg);color:var(--fb-good);font-weight:700;font-size:.82em}
.fx__ok svg{width:1em;height:1em}

/* «Qué lo movió»: hoja que entra desde la derecha */
.fx__sheet{position:absolute;z-index:5;top:3.4em;right:1em;bottom:1em;width:74%;padding:1.2em 1.4em;border-radius:1.2em;background:var(--fb-sheet);box-shadow:0 0 0 1px var(--fb-line),0 2em 4em -1.6em rgba(13,46,47,.6);display:flex;flex-direction:column;gap:.7em;transform:translateX(112%)}
.fx__sheet h5{margin:0;font-family:var(--fb-display);font-weight:600;font-size:1.9em;letter-spacing:-.035em;line-height:1}
.fx__sheet>small{font-size:.86em;color:var(--fb-ink-3);margin-top:-.3em}
.fx__mv{display:flex;align-items:center;gap:.5em;font-weight:700;margin-top:.3em}
.fx__mv svg{width:1.2em;height:1.2em;color:var(--fb-aqua-600)}
.fx__sum{font-size:1.02em;color:var(--fb-ink)}
.fx__sum b{color:var(--fb-aqua-700)}
.fx__wf{position:relative;flex:1;min-height:0;display:flex;align-items:stretch;gap:1em;padding:1.8em .6em 2em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__wf>div{position:relative;flex:1}
.fx__wf i{position:absolute;left:12%;right:12%;bottom:var(--b);height:var(--h);border-radius:.25em;background:var(--fb-data-2);transform-origin:50% 100%}
.fx__wf i.up{background:var(--fb-aqua-600)}
.fx__wf i.dn{background:var(--fb-flag-bad)}
.fx__wf i.tot{background:var(--fb-ink-2)}
.fx__wf i b{position:absolute;left:50%;bottom:100%;transform:translate(-50%,-.35em);font-family:var(--fb-display);font-weight:400;font-size:1em;color:var(--fb-ink);white-space:nowrap}
.fx__wf span{position:absolute;left:50%;bottom:-1.6em;transform:translateX(-50%);font-size:.84em;color:var(--fb-ink-3);white-space:nowrap}
.fx__acts{display:flex;justify-content:flex-end;gap:.6em}
.fx__acts span{display:inline-flex;align-items:center;gap:.45em;padding:.55em 1em;border-radius:.7em;font-weight:700;font-size:.9em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__acts span.dk{background:var(--fb-frame);color:#fff;box-shadow:none}
.fx__acts svg{width:1.1em;height:1.1em}
.fx__acts span.dk svg{color:var(--fb-aqua)}

/* Flowbit IQ: panel a la derecha */
.fx__iq{position:absolute;z-index:7;top:.9em;right:.9em;bottom:.9em;width:62%;padding:1em 1.2em;border-radius:1.2em;background:#fff;box-shadow:0 0 0 1px var(--fb-line),0 2em 4em -1.6em rgba(13,46,47,.6);display:flex;flex-direction:column;gap:.7em;transform:translateX(112%)}
.fx__iqh{display:flex;align-items:center;gap:.6em;padding-bottom:.6em;border-bottom:1px solid var(--fb-line)}
.fx__iqh svg{width:1.8em;height:1.8em}
.fx__iqh b{display:block;font-size:1.05em}
.fx__iqh small{display:block;color:var(--fb-ink-3);font-size:.8em}
.fx__ans{display:flex;flex-direction:column;gap:.45em;padding:.9em 1em;border-radius:1em;box-shadow:0 0 0 1px var(--fb-line);font-size:.95em;line-height:1.4}
.fx__ans>header{display:flex;align-items:center;gap:.5em;font-weight:700}
.fx__ans>header svg{width:1.3em;height:1.3em}
.fx__ans>header small{margin-left:auto;font-weight:700;font-size:.8em;padding:.15em .6em;border-radius:.4em;background:var(--fb-panel);color:var(--fb-ink-3)}
.fx__ans h6{margin:.3em 0 0;font-size:.95em;font-weight:700}
.fx__ans ul{display:flex;flex-direction:column;gap:.3em;padding-left:1.1em;list-style:disc}
.fx__ans li::marker{color:var(--fb-aqua-600)}
.fx__ans b{font-weight:700}
.fx__think{display:flex;gap:.3em;padding:.3em 0}
.fx__think i{width:.5em;height:.5em;border-radius:50%;background:var(--fb-ink-4);animation:tdot 1s infinite}
.fx__think i:nth-child(2){animation-delay:.15s}.fx__think i:nth-child(3){animation-delay:.3s}
@keyframes tdot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-.25em);opacity:1}}
.fx__src{display:flex;flex-wrap:wrap;gap:.45em}
.fx__src span{display:inline-flex;align-items:center;gap:.4em;padding:.45em .75em;border-radius:.7em;background:var(--fb-panel);font-size:.82em;font-weight:700}
.fx__src svg{width:1em;height:1em;color:var(--fb-aqua-600)}
.fx__chk{padding:.6em .8em;border-radius:.8em;background:var(--fb-warn-bg);color:var(--fb-warn);font-size:.84em}
.fx__chk b{display:flex;align-items:center;gap:.35em}
.fx__chk svg{width:1.05em;height:1.05em;flex:none}

/* Cursor y clic */
.fx__cursor{position:absolute;z-index:20;left:0;top:0;width:1.9em;height:auto;font-size:1.4cqw;filter:drop-shadow(0 .15em .25em rgba(0,0,0,.35));opacity:0;pointer-events:none;transform-origin:10% 10%}
.fx__ring{position:absolute;z-index:19;left:0;top:0;width:3.4em;height:3.4em;margin:-1.7em 0 0 -1.7em;font-size:1.4cqw;border-radius:50%;border:2px solid var(--fb-aqua);opacity:0;pointer-events:none}

/* Estados fijos (galerías): sin animación de entrada */
.fx[data-fx-state="movio"] .fx__sheet,.fx[data-fx-state="iq"] .fx__iq{transform:none}
.fx[data-fx-state="porque"] .fx__pop{opacity:1;visibility:visible;left:1.5em;top:17.4em}
.fx[data-fx-state="porque"] [data-fx-kpi="0"]{box-shadow:0 0 0 2px var(--fb-on-action),0 .6em 1.6em -.8em rgba(13,46,47,.5)}

/* Vistas extra: A quién llamar y tablero propio */
.fx__tbl{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);overflow:hidden}
.fx__tbl>header{display:flex;align-items:center;gap:.6em;padding:.8em 1em;font-weight:700;border-bottom:1px solid var(--fb-line)}
.fx__tbl>header small{font-weight:400;color:var(--fb-ink-3);font-size:.85em}
.fx__srch svg{width:1em;height:1em}
.fx__tbl>header .fx__srch{margin-left:auto;display:inline-flex;align-items:center;gap:.4em;padding:.35em .7em;border-radius:.6em;box-shadow:inset 0 0 0 1px var(--fb-line);font-weight:400;font-size:.82em;color:var(--fb-ink-4)}
.fx__tr{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.3fr);gap:.8em;align-items:center;padding:.62em 1em;border-bottom:1px solid var(--fb-line);font-size:.92em}
.fx__tr:last-child{border-bottom:0}
.fx__tr--h{font-size:.76em;color:var(--fb-ink-3);font-weight:700;padding-block:.55em;background:var(--fb-sheet)}
.fx__tr .num{font-size:1.05em}
.fx__st{display:inline-flex;align-items:center;gap:.35em;padding:.2em .6em;border-radius:99px;font-size:.82em;font-weight:700;background:var(--fb-warn-bg);color:var(--fb-warn);white-space:nowrap}
.fx__st::before{content:"";width:.45em;height:.45em;border-radius:50%;background:currentColor}
.fx__st--ok{background:var(--fb-good-bg);color:var(--fb-good)}
.fx__st--call{background:var(--fb-frame);color:#fff}
.fx__st--call::before{background:var(--fb-aqua)}

/* Tablero propio: armar un gráfico */
.fx__build{flex:1;min-height:0;display:grid;grid-template-columns:18em minmax(0,1fr);gap:.8em}
.fx__form{display:flex;flex-direction:column;gap:.7em;padding:1em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__form>b{font-size:1.02em}
.fx__fld{display:flex;flex-direction:column;gap:.3em}
.fx__fld small{font-size:.78em;color:var(--fb-ink-3);font-weight:700}
.fx__sel{display:flex;align-items:center;justify-content:space-between;padding:.5em .75em;border-radius:.6em;box-shadow:inset 0 0 0 1px var(--fb-line-strong);font-size:.92em;font-weight:700;background:#fff;transition:box-shadow .3s,background .3s}
.fx__sel.is-on{box-shadow:inset 0 0 0 2px var(--fb-aqua-600);background:var(--fb-aqua-50)}
.fx__sel svg{width:.9em;height:.9em;color:var(--fb-ink-4)}
.fx__types{display:grid;grid-template-columns:repeat(4,1fr);gap:.35em}
.fx__types span{display:grid;place-items:center;height:2.3em;border-radius:.6em;box-shadow:inset 0 0 0 1px var(--fb-line-strong);color:var(--fb-ink-3);transition:all .3s}
.fx__types span svg{width:1.2em;height:1.2em}
.fx__types span.is-on{background:var(--fb-frame);color:var(--fb-aqua);box-shadow:none}
.fx__add{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:.4em;padding:.6em;border-radius:.7em;background:var(--fb-aqua);color:var(--fb-on-action);font-weight:700;font-size:.92em}
.fx__add svg{width:1em;height:1em}
.fx__prev{display:flex;flex-direction:column;gap:.5em;padding:1em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);min-height:0}
.fx__hb{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:.7em;padding:.4em 0}
.fx__hb div{display:grid;grid-template-columns:5.2em minmax(0,1fr) 4.6em;align-items:center;gap:.6em;font-size:.92em}
.fx__hb div span:first-child{color:var(--fb-ink-2);font-weight:700}
.fx__hb div i{height:1.35em;border-radius:.3em;background:var(--fb-aqua-600);width:var(--w);transform-origin:0 50%}
.fx__hb div:nth-child(n+2) i{background:var(--fb-bar-2)}
.fx__hb div .num{text-align:right;font-size:1.05em}

/* Celular */
.fxm{position:absolute;inset:0;container-type:inline-size;overflow:hidden;background:var(--fb-sheet);font-family:var(--fb-ui);color:var(--fb-ink)}
.fxm__c{position:absolute;inset:0;font-size:4.1cqw;display:flex;flex-direction:column;gap:.75em;padding:3.4em 1.1em 1em}
.fxm__top{display:flex;align-items:center;gap:.6em;font-size:.9em;color:var(--fb-ink-3)}
.fxm__top b{color:var(--fb-ink)}
.fxm__top .fx__fresh{margin-left:auto}
.fxm__top svg{width:1.3em;height:1.3em}
.fxm h4{margin:0;font-family:var(--fb-display);font-weight:600;font-size:2.1em;letter-spacing:-.04em;line-height:1}
.fxm__read{font-size:.95em;line-height:1.4}
.fxm__read b{font-weight:700}
.fxm__grid{display:grid;grid-template-columns:1fr 1fr;gap:.55em}
.fxm__grid .fx__kpi{padding:.7em .75em .6em;border-radius:.9em}
.fxm__grid .fx__kv{font-size:2em}
.fxm__grid .fx__kl{font-size:.78em}
.fxm__grid .fx__kd{font-size:.72em}
.fxm__rev{display:flex;flex-direction:column;padding:.2em .9em;border-radius:.9em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fxm__rev div{padding:.6em 0;border-bottom:1px solid var(--fb-line);font-size:.88em;font-weight:700;display:flex;gap:.55em}
.fxm__rev div:last-child{border-bottom:0}
.fxm__rev div::before{content:"";width:.55em;height:.55em;border-radius:50%;background:var(--fb-flag-warn);margin-top:.35em;flex:none}
.fxm__ask{margin-top:auto;display:flex;align-items:center;gap:.5em;padding:.7em .9em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);font-size:.86em;color:var(--fb-ink-3)}
.fxm__ask svg{width:1.3em;height:1.3em}

.fxm__chart{display:flex;flex-direction:column;gap:.4em;padding:.7em .8em;border-radius:.9em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fxm__chart b{font-size:.82em}
.fxm__chart small{font-size:.7em;color:var(--fb-ink-3)}
.fxm__bars{display:flex;align-items:flex-end;gap:.35em;height:5.2em}
.fxm__bars i{flex:1;height:var(--h);border-radius:.25em .25em .1em .1em;background:var(--fb-bar)}
.fxm__bars i.hl{background:var(--fb-aqua-600)}

/* ====== v2: piezas vivas ====== */
.fx__askb kbd{font-family:var(--fb-ui);font-size:.72em;padding:.1em .45em;border-radius:.35em;background:rgba(255,255,255,.12);color:var(--fb-frame-ink-2)}
.fx__iqlink.is-on{background:rgba(255,255,255,.08);border-radius:.6em}
.fx__org>span:last-child{overflow:hidden;text-overflow:ellipsis}

/* Gráfico de línea con área */
.fx__chart{min-width:0}
.fx__line{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;gap:.35em}
.fx__lplot{position:relative;flex:1;min-height:0}
.fx__lplot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fx__lplot .ln{fill:none;stroke:var(--fb-aqua-600);stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.fx__lplot .ref{stroke:var(--fb-ink-4);stroke-width:1.5;stroke-dasharray:6 6;vector-effect:non-scaling-stroke}
.fx__ldot{position:absolute;left:var(--x);top:var(--y);width:.8em;height:.8em;margin:-.4em 0 0 -.4em;border-radius:50%;background:var(--fb-aqua-600);box-shadow:0 0 0 .3em rgba(42,154,155,.2)}
.fx__lref{position:absolute;left:0;top:var(--y);transform:translateY(-130%);font-size:.76em;color:var(--fb-ink-3);background:#fff;padding:0 .3em}
.fx__llast{position:absolute;left:var(--x);top:var(--y);transform:translate(-100%,-160%);font-size:1.05em;color:var(--fb-ink);background:#fff;padding:0 .2em;border-radius:.3em}
.fx__lx{display:flex;justify-content:space-between;font-size:.72em;color:var(--fb-ink-4)}

/* Hoja «Qué lo movió» */
.fx__shh{display:flex;align-items:flex-start;gap:1em}
.fx__shh>div{flex:1}
.fx__shh small{display:block;font-size:.86em;color:var(--fb-ink-3);margin-top:.35em}
.fx__x{display:grid;place-items:center;width:1.9em;height:1.9em;border-radius:50%;color:var(--fb-ink-3);box-shadow:inset 0 0 0 1px var(--fb-line)}
.fx__x svg{width:1em;height:1em}
.fx__shr{display:flex;align-items:center;gap:.8em}
.fx__seg{margin-left:auto;display:inline-flex;padding:.2em;border-radius:.6em;background:var(--fb-panel);font-size:.82em}
.fx__seg>*{padding:.25em .7em;border-radius:.45em;color:var(--fb-ink-3)}
.fx__seg b{background:#fff;color:var(--fb-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.fx__acts{align-items:center}
.fx__acts small{margin-right:auto;font-size:.76em;color:var(--fb-ink-3)}

/* Flowbit IQ: chat con conversación, etapas y caja para preguntar */
.fx__iq{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}
.fx__iq .fx__iqh{padding:.9em 1.1em .7em}
.fx__iqh .fx__x{margin-left:auto}
.fx__chat{flex:1;min-height:0;display:flex;flex-direction:column}
.fx__msgs{position:relative;flex:1;min-height:0;overflow:hidden;padding:0 1.1em}
.fx__stack{position:absolute;left:1.1em;right:1.1em;bottom:.6em;display:flex;flex-direction:column;gap:.6em}
.fx__u{align-self:flex-end;max-width:86%;padding:.6em .9em;border-radius:1em 1em .25em 1em;background:var(--fb-panel);font-size:.98em;font-weight:700;line-height:1.35}
.fx__etapas{display:flex;flex-direction:column;gap:.3em;font-size:.84em;color:var(--fb-ink-3)}
.fx__etapas span{display:flex;align-items:center;gap:.45em}
.fx__etapas svg{width:1.05em;height:1.05em;color:var(--fb-aqua-600)}
.fx__ans{gap:.35em;padding:.85em 1em;font-size:.9em;background:#fff}
.fx__ans>header small{font-size:.78em}
.fx__ans p{margin:0}
.fx__ans h6{margin:.2em 0 0;font-size:.9em}
.fx__ans ul{gap:.2em}
.fx__src{align-items:center}
.fx__src em{font-style:normal;font-size:.78em;font-weight:700;color:var(--fb-ink-3);margin-right:.2em}
.fx__src span{font-size:.78em;padding:.35em .6em}
.fx__chk{display:flex;gap:.5em;align-items:flex-start;padding:.55em .75em}
.fx__chk>svg{width:1.1em;height:1.1em;flex:none;margin-top:.1em}
.fx__chk b{display:block}
.fx__aacts{display:flex;gap:1em;font-size:.78em;color:var(--fb-ink-3);padding-top:.35em;border-top:1px solid var(--fb-line)}
.fx__aacts span{display:inline-flex;align-items:center;gap:.35em}
.fx__aacts svg{width:1.05em;height:1.05em}
.fx__composer{margin:.5em 1em 1em;padding:.7em .8em .6em;border-radius:1em;background:#fff;box-shadow:0 0 0 1.5px var(--fb-aqua-100),0 .5em 1.4em -.8em rgba(13,46,47,.35);display:flex;flex-direction:column;gap:.55em}
.fx__inp{position:relative;display:flex;align-items:center;min-height:1.6em;font-size:.98em;font-weight:700;color:var(--fb-ink)}
.fx__inp .caret{height:1.1em;color:var(--fb-aqua-600)}
.fx__inp em{position:absolute;left:0;font-style:normal;font-weight:400;color:var(--fb-ink-4);pointer-events:none}
.fx__inp.has em{display:none}
.fx__cbar{display:flex;align-items:center;gap:.5em;font-size:.76em;color:var(--fb-ink-3);white-space:nowrap}
.fx__cbar>span{display:inline-flex;align-items:center;gap:.3em;padding:.3em .6em;border-radius:.5em}
.fx__cbar>span svg{width:1.1em;height:1.1em}
.fx__cbar .on{background:var(--fb-panel);color:var(--fb-ink);font-weight:700}
.fx__ctx{box-shadow:inset 0 0 0 1px var(--fb-line);overflow:hidden;text-overflow:ellipsis;max-width:13em}
.fx__send{margin-left:auto;display:grid!important;place-items:center;width:2.2em;height:2.2em;padding:0!important;border-radius:50%!important;background:var(--fb-panel-2);color:var(--fb-ink-3);transition:background .3s,color .3s}
.fx__send.go{background:var(--fb-aqua);color:var(--fb-on-action)}

/* Página de IQ: conversaciones a la izquierda */
.fx__view--iq{flex-direction:row;gap:0;padding:0}
.fx__convs{width:34%;flex:none;display:flex;flex-direction:column;gap:.35em;padding:1em;border-right:1px solid var(--fb-line)}
.fx__convh{display:flex;align-items:center;justify-content:space-between;margin-bottom:.4em}
.fx__convh b{font-family:var(--fb-display);font-weight:600;font-size:1.3em;letter-spacing:-.03em}
.fx__convh span{display:inline-flex;align-items:center;gap:.3em;font-size:.82em;font-weight:700;padding:.35em .7em;border-radius:.6em;background:var(--fb-panel)}
.fx__convh svg{width:1em;height:1em}
.fx__convs>.fx__srch{margin-bottom:.4em}
.fx__convs small{font-size:.72em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fb-ink-4);margin-top:.5em}
.fx__convs>div:not(.fx__convh){display:flex;flex-direction:column;gap:.15em;padding:.55em .7em;border-radius:.7em;font-size:.86em}
.fx__convs>div b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx__convs>div span{font-size:.85em;color:var(--fb-ink-4)}
.fx__convs>div.is-on{background:#fff;box-shadow:0 0 0 1px var(--fb-line),0 .4em 1em -.6em rgba(0,0,0,.2)}
.fx__iqpage{flex:1;min-width:0;display:flex;flex-direction:column}
.fx__iqpage .fx__iqh{padding:1em 1.2em .7em}
.fx__srch{display:inline-flex;align-items:center;gap:.4em;padding:.4em .7em;border-radius:.6em;box-shadow:inset 0 0 0 1px var(--fb-line);font-size:.82em;color:var(--fb-ink-4);background:#fff}

/* Lista para accionar */
.fx__tr{grid-template-columns:1.4em minmax(0,2.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.3fr)}
.fx__chkb{width:1.1em;height:1.1em;border-radius:.3em;box-shadow:inset 0 0 0 1.5px var(--fb-line-strong);transition:all .25s}
.fx__chkb.on{background:var(--fb-aqua-600);box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");background-size:80%;background-position:center;background-repeat:no-repeat}
.fx__tr.sel{background:var(--fb-aqua-50)}
.fx__bulk{display:inline-flex;align-items:center;gap:.35em;padding:.4em .8em;border-radius:.6em;background:var(--fb-panel);color:var(--fb-ink-4);font-size:.82em;font-weight:700;transition:all .3s}
.fx__bulk.on{background:var(--fb-frame);color:#fff}
.fx__bulk svg{width:1em;height:1em}
.fx__toast{position:absolute;left:50%;bottom:1.2em;z-index:8;display:flex;align-items:center;gap:.5em;padding:.7em 1em;border-radius:.9em;background:var(--fb-frame);color:#fff;font-size:.92em;white-space:nowrap;box-shadow:0 1em 2em -1em rgba(0,0,0,.6);opacity:0;transform:translate(-50%,1em)}
.fx__toast svg{width:1.2em;height:1.2em;color:var(--fb-aqua)}
.fx__st--task{background:var(--fb-frame);color:#fff}
.fx__st--task::before{background:var(--fb-aqua)}

/* Tableros: catálogo, armado y cambio de gráfico */
.fx__tabs{display:flex;gap:.3em;font-size:.86em}
.fx__tabs span{padding:.4em .8em;border-radius:99px;color:var(--fb-ink-3)}
.fx__tabs .on{background:var(--fb-frame);color:#fff;font-weight:700}
.fx__dcs{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:.7em}
.fx__dc{position:relative;display:flex;flex-direction:column;gap:.2em;padding:.8em .9em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);transition:box-shadow .3s,transform .3s}
.fx__dc.sel{box-shadow:0 0 0 2px var(--fb-aqua-600),0 .6em 1.4em -.8em rgba(13,46,47,.45)}
.fx__dci{display:grid;place-items:center;width:2em;height:2em;border-radius:.55em;background:var(--fb-frame);color:var(--fb-aqua);margin-bottom:.2em}
.fx__dci svg{width:1.1em;height:1.1em}
.fx__dc em{font-style:normal;font-size:.72em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fb-ink-4)}
.fx__dc b{font-size:.98em;line-height:1.25}
.fx__dc .num{font-size:1.6em;line-height:1.1;margin-top:auto}
.fx__dc small{font-size:.78em;color:var(--fb-ink-3)}
.fx__dck{position:absolute;right:.7em;top:.7em;display:grid;place-items:center;width:1.5em;height:1.5em;border-radius:50%;background:var(--fb-aqua-600);color:#fff;opacity:0;transform:scale(.5);transition:all .3s}
.fx__dck svg{width:.9em;height:.9em}
.fx__dc.sel .fx__dck{opacity:1;transform:none}
.fx__pick{display:flex;align-items:center;gap:.8em;padding:.6em .7em .6em 1em;border-radius:.9em;background:var(--fb-frame);color:#fff;font-size:.9em;opacity:0;transform:translateY(1em)}
.fx__pick small{color:var(--fb-frame-ink-3)}
.fx__pick>span:not(.fx__armar){margin-left:auto;color:var(--fb-frame-ink-2)}
.fx__armar{display:inline-flex;align-items:center;gap:.35em;padding:.45em .9em;border-radius:.6em;background:var(--fb-aqua);color:var(--fb-on-action);font-weight:700}
.fx__armar svg{width:1em;height:1em}
.fx__view--tb{opacity:0;visibility:hidden}
.fx__head .fx__save{margin-left:auto;align-self:center;padding:.5em 1em;border-radius:.7em;background:var(--fb-frame);color:#fff;font-weight:700;font-size:.9em}
.fx__band--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.fx__tbrow{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 16em;gap:.8em}
.fx__viz{position:relative}
.fx__vz{position:absolute;left:1em;right:1em;top:4.2em;bottom:.9em;opacity:0;visibility:hidden}
.fx__vz.is-on{opacity:1;visibility:visible}
.fx__vzd{display:flex;align-items:center;justify-content:center;gap:1.4em}
.fx__dnw{position:relative;height:88%;aspect-ratio:1}
.fx__donut{width:100%;height:100%;transform:rotate(-90deg)}
.fx__donut circle{fill:none;stroke-width:16}
.fx__donut .t{stroke:var(--fb-panel)}
.fx__donut .a{stroke:var(--fb-aqua-600)}
.fx__donut .b{stroke:var(--fb-celeste)}
.fx__donut .c{stroke:var(--fb-ink-2)}
.fx__donut .d{stroke:var(--fb-bar-2)}
.fx__dnc{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.5em;line-height:1}
.fx__dnc small{font-family:var(--fb-ui);font-size:.42em;color:var(--fb-ink-3);margin-top:.3em;letter-spacing:0}
.fx__leg{display:flex;flex-direction:column;gap:.45em;font-size:.88em;font-weight:700}
.fx__leg li{display:flex;align-items:center;gap:.5em}
.fx__leg i{width:.8em;height:.8em;border-radius:.2em}
.fx__leg i.a{background:var(--fb-aqua-600)}.fx__leg i.b{background:var(--fb-celeste)}.fx__leg i.c{background:var(--fb-ink-2)}.fx__leg i.d{background:var(--fb-bar-2)}
.fx__insp{display:flex;flex-direction:column;gap:.45em;padding:.9em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);transform:translateX(120%)}
.fx__insp>b{font-size:.98em}
.fx__insp small{font-size:.72em;font-weight:700;color:var(--fb-ink-4);margin-top:.2em}
.fx__vopts{display:flex;flex-direction:column;gap:.3em}
.fx__vopts span{display:flex;align-items:center;gap:.45em;padding:.45em .6em;border-radius:.6em;font-size:.86em;font-weight:700;box-shadow:inset 0 0 0 1px var(--fb-line);transition:all .3s}
.fx__vopts span svg{width:1.1em;height:1.1em;color:var(--fb-aqua-600)}
.fx__vopts span.on{background:var(--fb-frame);color:#fff;box-shadow:none}
.fx__vopts--b span{font-weight:400;color:var(--fb-ink-3)}
.fx__no{display:flex;gap:.4em;font-size:.78em;color:var(--fb-ink-3);align-items:center}
.fx__no svg{width:1em;height:1em;color:var(--fb-flag-bad)}

/* El ingreso: los datos arman el logo */
.fx--dark{background:#0c0c0c}
.fx__in{position:absolute;inset:0;font-family:var(--fb-ui);font-size:1.4cqw;display:grid;place-items:center;overflow:hidden}
.fx__bits{position:absolute;inset:0}
.fx__bit{position:absolute;left:-12%;top:var(--y);font-size:.95em;font-weight:700;color:rgba(86,185,186,.55);white-space:nowrap;letter-spacing:.02em}
.fx__inform{position:relative;z-index:2;width:24em;display:flex;flex-direction:column;align-items:center;gap:.6em;padding:1.8em 1.8em 1.4em;border-radius:1.4em;background:rgba(20,20,20,.86);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 2em 4em -2em rgba(0,0,0,.8);color:#fff;text-align:center}
.fx__inlogo{height:2.2em;width:auto;margin-bottom:.4em}
.fx__inform>b{font-family:var(--fb-display);font-weight:600;font-size:1.6em;letter-spacing:-.03em}
.fx__inform>small{font-size:.82em;color:var(--fb-frame-ink-3);line-height:1.4;margin-bottom:.4em}
.fx__fld2{align-self:stretch;display:flex;flex-direction:column;gap:.2em;padding:.55em .8em;border-radius:.7em;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);text-align:left;font-size:.95em;min-height:3.1em}
.fx__fld2 em{font-style:normal;font-size:.75em;color:var(--fb-frame-ink-3)}
.fx__btn{align-self:stretch;margin-top:.3em;padding:.7em;border-radius:.7em;background:var(--fb-aqua);color:var(--fb-on-action);font-weight:700}
.fx__by{font-size:.72em!important;color:var(--fb-frame-ink-3);margin-top:.3em}

/* Datos y confianza */
.fx__dgrid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:.8em}
.fx__src2{display:grid;grid-template-columns:2.4em minmax(0,1fr) auto 1.6em;align-items:center;gap:.6em;padding:.55em 0;border-bottom:1px solid var(--fb-line)}
.fx__src2:last-child{border-bottom:0}
.fx__srci{display:grid;place-items:center;width:2.2em;height:2.2em;border-radius:.6em;background:var(--fb-panel);color:var(--fb-ink-2)}
.fx__srci svg{width:1.2em;height:1.2em}
.fx__src2 b{font-size:.95em}
.fx__src2 small{display:block;font-size:.76em;color:var(--fb-ink-3)}
.fx__srcn{font-size:1em;opacity:0}
.fx__srcs{position:relative;display:grid;place-items:center;width:1.4em;height:1.4em}
.fx__srcs svg{width:1.3em;height:1.3em;color:var(--fb-aqua-600);opacity:0}
.fx__srcs .sp{position:absolute;inset:.1em;border-radius:50%;border:2px solid var(--fb-line);border-top-color:var(--fb-aqua-600);animation:fxsp .8s linear infinite}
@keyframes fxsp{to{transform:rotate(360deg)}}
.fx__src2.ok .fx__srcn{opacity:1}
.fx__src2.ok .fx__srcs svg{opacity:1}
.fx__src2.ok .sp{display:none}
.fx__fix{display:grid;grid-template-columns:2.2em minmax(0,1fr);align-items:center;gap:.6em;padding:.5em 0;border-bottom:1px dashed var(--fb-line);opacity:.25;transition:opacity .4s}
.fx__fix.on{opacity:1}
.fx__fix>span{display:grid;place-items:center;width:2em;height:2em;border-radius:50%;background:var(--fb-aqua-50);color:var(--fb-aqua-700)}
.fx__fix>span svg{width:1.1em;height:1.1em}
.fx__fix b{font-size:.92em}
.fx__fix small{display:block;font-size:.78em;color:var(--fb-ink-3)}
.fx__pub{display:flex;align-items:center;gap:.5em;margin-top:auto;padding:.7em .9em;border-radius:.8em;background:var(--fb-good-bg);color:var(--fb-good);font-size:.88em;opacity:0}
.fx__pub svg{width:1.2em;height:1.2em;flex:none}
.fx__soon{align-self:flex-start;display:inline-flex;align-items:center;gap:.4em;padding:.35em .8em;border-radius:99px;background:var(--fb-frame);color:#fff;font-size:.8em;font-weight:700}
.fx__soon svg{width:1em;height:1em;color:var(--fb-aqua)}

/* Contexto */
.fx__ctxs{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:.7em}
.fx__ctx2{display:flex;flex-direction:column;gap:.25em;padding:.8em .9em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__ctxi{display:grid;place-items:center;width:2em;height:2em;border-radius:.55em;background:var(--fb-aqua-50);color:var(--fb-aqua-700);margin-bottom:.2em}
.fx__ctxi svg{width:1.1em;height:1.1em}
.fx__ctx2 em{font-style:normal;font-size:.72em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fb-ink-4)}
.fx__ctx2 b{font-size:.95em}
.fx__ctxv{font-size:.9em;color:var(--fb-ink-2);line-height:1.35;min-height:2.6em}
.fx__ctx2 small{margin-top:auto;display:flex;align-items:center;gap:.3em;font-size:.72em;color:var(--fb-good);opacity:0}
.fx__ctx2 small svg{width:1em;height:1em}
.fx__ctx2.ok small{opacity:1}

/* Decisiones */
.fx__cmp{display:flex;flex-direction:column;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);overflow:hidden}
.fx__alt{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:.8em;align-items:center;padding:.65em 1em;border-bottom:1px solid var(--fb-line);font-size:.9em;transition:background .3s}
.fx__alt:last-child{border-bottom:0}
.fx__alt--h{font-size:.74em;color:var(--fb-ink-3);font-weight:700;background:var(--fb-sheet)}
.fx__alt.pick{background:var(--fb-aqua-50);box-shadow:inset .25em 0 0 var(--fb-aqua-600)}
.fx__res{justify-self:start;padding:.2em .6em;border-radius:99px;font-size:.84em;font-weight:700}
.fx__res--bad{background:var(--fb-bad-bg);color:var(--fb-bad)}
.fx__res--good{background:var(--fb-good-bg);color:var(--fb-good)}
.fx__res--warn{background:var(--fb-warn-bg);color:var(--fb-warn)}
.fx__dec{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:.8em;opacity:0;transform:translateY(1em)}
.fx__decc,.fx__task{display:flex;flex-direction:column;gap:.35em;padding:.9em 1em;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line)}
.fx__decc em,.fx__task em{display:flex;align-items:center;gap:.35em;font-style:normal;font-size:.74em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fb-aqua-700)}
.fx__task em svg{width:1.1em;height:1.1em}
.fx__decc b,.fx__task b{font-size:1.05em}
.fx__decc dl{display:grid;grid-template-columns:auto 1fr;gap:.3em .8em;margin:.2em 0 0;font-size:.84em}
.fx__decc dt{color:var(--fb-ink-3)}
.fx__decc dd{margin:0;font-weight:700}
.fx__task small{font-size:.82em;color:var(--fb-ink-3)}
.fx__task .fx__st{align-self:flex-start;margin-top:auto}
.fx__task{opacity:0}

/* Celular: la pregunta que se escribe */
.fxm__ask span{color:var(--fb-ink);font-weight:700}

/* ====== v3: bienvenida de IQ, definiciones, contexto en uso y registro de decisiones ====== */
/* Botones de la hoja: nunca en dos renglones; la nota se acomoda al espacio que queda */
.fx__acts span{white-space:nowrap}
.fx__acts small{flex:1;min-width:0;line-height:1.35}

/* Flowbit IQ vacío: la misma bienvenida que la plataforma */
.fx__hello{position:absolute;left:1.1em;right:1.1em;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45em;text-align:center}
.fx__orb{position:relative;display:grid;place-items:center;width:5.4em;height:5.4em;margin-bottom:.2em;border-radius:50%;background:radial-gradient(circle at 50% 42%,rgba(86,185,186,.26) 0,rgba(147,210,211,.14) 42%,transparent 70%)}
.fx__orb::after{content:"";position:absolute;inset:.3em;border-radius:50%;border:1px solid rgba(86,185,186,.3);animation:fxorb 5.5s ease-in-out infinite}
@keyframes fxorb{0%,100%{transform:scale(.92);opacity:.25}50%{transform:scale(1.08);opacity:.8}}
.fx__orb svg{width:3.2em;height:3.2em}
.fx__hello>b{font-family:var(--fb-display);font-weight:400;font-size:1.6em;letter-spacing:-.03em;line-height:1.15}
.fx__hello>p{margin:0;font-size:.9em;color:var(--fb-ink-3);line-height:1.45}
.fx__hello>p.fx__lead{display:flex;flex-wrap:wrap;justify-content:center;gap:.3em .9em;font-size:.76em}
.fx__lead span{display:inline-flex;align-items:center;gap:.35em}
.fx__lead svg{width:1.1em;height:1.1em;color:var(--fb-aqua-600)}
.fx__starts{display:grid;grid-template-columns:minmax(0,1fr);gap:.5em;width:100%;margin-top:.8em;text-align:left}
.fx__starts>small{font-size:.7em;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--fb-ink-4)}
.fx__start{position:relative;display:flex;flex-direction:column;gap:.3em;padding:.7em 2.4em .65em .85em;border-radius:.9em;background:#fff;box-shadow:inset 0 0 0 1px var(--fb-line);transition:box-shadow .3s,transform .3s}
.fx__start small{font-size:.72em;font-weight:700;letter-spacing:.03em;color:var(--fb-aqua-700)}
.fx__start b{font-family:var(--fb-display);font-weight:400;font-size:.98em;line-height:1.3;letter-spacing:-.01em}
.fx__start svg{position:absolute;right:.8em;bottom:.75em;width:1em;height:1em;color:var(--fb-ink-4);transition:color .3s,transform .3s}
.fx__start.hl{transform:translateY(-.12em);box-shadow:inset 0 0 0 1.5px var(--fb-aqua-600),0 .8em 1.6em -1.2em rgba(13,46,47,.55)}
.fx__start.hl svg{color:var(--fb-aqua-700);transform:translate(.12em,-.12em)}
.fx__iqpage .fx__starts{grid-template-columns:repeat(3,minmax(0,1fr))}
.fx__iqpage .fx__start{min-height:5.8em}

/* Ingreso: la tarjeta tapa las palabras que pasan detrás */
.fx__inform{background:#151515}

/* Datos: fuentes y revisión arriba, definiciones abajo */
.fx__dgrid{grid-template-rows:auto minmax(0,1fr)}
.fx__fix{padding:.42em 0}
.fx__defs{grid-column:1/-1}
.fx__defs .fx__ct small{margin-left:auto;display:inline-flex;align-items:center;gap:.3em;font-size:.76em;color:var(--fb-good)}
.fx__defs .fx__ct small svg{color:var(--fb-good)}
.fx__defr{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7em}
.fx__def{display:flex;flex-direction:column;gap:.3em;padding:.7em .85em;border-radius:.8em;background:var(--fb-sheet);box-shadow:inset 0 0 0 1px var(--fb-line)}
.fx__def b{font-size:.92em}
.fx__def small{font-size:.8em;color:var(--fb-ink-2);line-height:1.4}
.fx__def em{margin-top:auto;display:flex;align-items:center;gap:.35em;font-style:normal;font-size:.72em;font-weight:700;color:var(--fb-aqua-700)}
.fx__def em svg{width:1.05em;height:1.05em}

/* Contexto: cómo lo usa Flowbit IQ */
.fx__ctxs{grid-auto-rows:minmax(0,1fr)}
.fx__ctx2{transition:box-shadow .4s}
.fx__ctx2.use{box-shadow:0 0 0 2px var(--fb-aqua-600),0 .6em 1.4em -.9em rgba(13,46,47,.5)}
.fx__ctxiq{display:flex;gap:.8em;align-items:flex-start;padding:.85em 1.1em;border-radius:1em;background:var(--fb-frame);color:#fff;opacity:0}
.fx__ctxiqb{display:grid;place-items:center;width:2.5em;height:2.5em;border-radius:50%;background:rgba(86,185,186,.14);flex:none;color:var(--fb-aqua)}
.fx__ctxiqb svg{width:1.6em;height:1.6em}
.fx__ctxiq em{display:block;font-style:normal;font-size:.72em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fb-aqua)}
.fx__ctxiq b{display:block;font-family:var(--fb-display);font-weight:400;font-size:1.12em;letter-spacing:-.02em;margin:.15em 0 .2em}
.fx__ctxiq p{margin:0;font-size:.88em;line-height:1.45;color:var(--fb-frame-ink-2)}
.fx__ctxuse{display:flex;flex-wrap:wrap;align-items:center;gap:.4em;margin-top:.55em}
.fx__ctxuse small{font-size:.72em;color:var(--fb-frame-ink-3);margin-right:.2em}
.fx__ctxuse>span{display:inline-flex;align-items:center;gap:.3em;padding:.25em .65em;border-radius:99px;background:rgba(255,255,255,.08);font-size:.74em;font-weight:700}
.fx__ctxuse svg{width:1em;height:1em;color:var(--fb-aqua)}

/* Decisiones: la decisión y su tarea, y el registro con lo que pasó */
.fx__alt{padding:.55em 1em}
.fx__dec{flex:none}
.fx__reg{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:1em;background:#fff;box-shadow:0 0 0 1px var(--fb-line);overflow:hidden}
.fx__reg>header{display:flex;align-items:center;gap:.5em;padding:.7em 1em;font-weight:700;border-bottom:1px solid var(--fb-line)}
.fx__reg>header svg{width:1.1em;height:1.1em;color:var(--fb-aqua-600)}
.fx__reg>header small{margin-left:auto;font-weight:400;font-size:.8em;color:var(--fb-ink-3)}
.fx__rg{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,.6fr) minmax(0,1.4fr) minmax(0,1fr);gap:.8em;align-items:center;padding:.6em 1em;border-bottom:1px solid var(--fb-line);font-size:.88em}
.fx__rg:last-child{border-bottom:0}
.fx__rg .num{font-size:1.05em}
.fx__rg>span:nth-child(3){color:var(--fb-ink-2)}
.fx__res--open{background:var(--fb-frame);color:#fff}

/* Tableros: el gráfico usa todo el ancho hasta que se abre el panel de visualización */
.fx__tbrow{display:flex;gap:0}
.fx__tbrow>.fx__viz{flex:1;min-width:0}
.fx__insp{flex:none;width:0;padding:0;overflow:hidden;transform:none;opacity:0}
.fx__inspi{width:16em;padding:.9em;display:flex;flex-direction:column;gap:.45em}
.fx__inspi>b{font-size:.98em}
.fx__inspi small{font-size:.72em;font-weight:700;color:var(--fb-ink-4);margin-top:.2em}
.fx__starts>small{grid-column:1/-1}
.fx__pub>span{min-width:0;line-height:1.4}
.fx__decw{position:relative;flex:none}
.fx__decph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:.5em;padding:0 2em;border-radius:1em;border:1.5px dashed var(--fb-line-strong);color:var(--fb-ink-3);font-size:.9em;text-align:center}
.fx__decph svg{width:1.2em;height:1.2em;color:var(--fb-aqua-600)}
.fx__rg[data-fx-reg]{overflow:hidden}

/* Sin movimiento («reducir movimiento» = .rm, o sin JavaScript): cada mockup muestra su estado final.
   Ojo: .m no sirve para esto; es el estado previo a la entrada y se saca en cada carga. */
.rm [data-fx-type]::after,html:not(.js) [data-fx-type]::after{content:attr(data-fx-type)}
.rm .fx__hello,html:not(.js) .fx__hello{display:none}
.rm .fx__srcn,html:not(.js) .fx__srcn,.rm .fx__srcs svg,html:not(.js) .fx__srcs svg,.rm .fx__fix,html:not(.js) .fx__fix,.rm .fx__pub,html:not(.js) .fx__pub,.rm .fx__ctx2 small,html:not(.js) .fx__ctx2 small,.rm .fx__ctxiq,html:not(.js) .fx__ctxiq{opacity:1}
.rm .fx__srcs .sp,html:not(.js) .fx__srcs .sp,.rm .fx__decph,html:not(.js) .fx__decph{display:none}
.rm .fx__dec,html:not(.js) .fx__dec{opacity:1;transform:none}
.rm .fx__task,html:not(.js) .fx__task{opacity:1}
.rm [data-fx-alt="1"],html:not(.js) [data-fx-alt="1"]{background:var(--fb-aqua-50);box-shadow:inset .25em 0 0 var(--fb-aqua-600)}
.rm [data-fx-scene="movio"] .fx__sheet,html:not(.js) [data-fx-scene="movio"] .fx__sheet,.rm [data-fx-scene="iq"] .fx__iq,html:not(.js) [data-fx-scene="iq"] .fx__iq{transform:none}
.rm [data-fx-scene="porque"] .fx__pop,html:not(.js) [data-fx-scene="porque"] .fx__pop{opacity:1;visibility:visible;left:1.5em;top:20.5em}
.rm [data-fx-scene="porque"] [data-fx-kpi="0"],html:not(.js) [data-fx-scene="porque"] [data-fx-kpi="0"]{box-shadow:0 0 0 2px var(--fb-on-action),0 .6em 1.6em -.8em rgba(13,46,47,.5)}

/* Portada: la pantalla de Hoy con un solo gráfico ancho */
.fx__row--one{grid-template-columns:minmax(0,1fr)}
.fx__kpi.is-ok{box-shadow:0 0 0 2px var(--fb-up),0 .6em 1.6em -.8em rgba(13,46,47,.5)}
.fx__kpi--hero.is-ok{box-shadow:0 0 0 2px var(--fb-on-action),0 .6em 1.6em -.8em rgba(13,46,47,.5)}

/* ====== Portada: vistas de Mercado (mapa con oportunidades) y de Ganancia (todo en un número) ====== */
.fst .fx__view{transition:opacity .5s}
.fst .fx__view:not(.is-on){opacity:0;pointer-events:none}
.fx__view--mapa{padding:0;inset:3em 0 0}
.fx__mapsvg{position:absolute;inset:0;width:100%;height:100%}
.fx__mapsvg .tierra{fill:#eef0ea}
.fx__mapsvg .parque{fill:#d7ead6}
.fx__mapsvg .rio{fill:none;stroke:#c9e3ec;stroke-width:16;stroke-linecap:round}
.fx__mapsvg .calles path{fill:none;stroke:#fff;stroke-width:5}
.fx__mapsvg .aven{fill:none;stroke:#fff;stroke-width:10;stroke-linecap:round}
.fx__pins{position:absolute;inset:0}
.pin{position:absolute;width:.8em;height:.8em;margin:-.4em 0 0 -.4em;border-radius:50%;background:var(--fb-aqua-600);box-shadow:0 0 0 .18em #fff,0 .2em .5em rgba(0,0,0,.25);transition:opacity .4s,transform .4s}
.fx__pins .pin{display:block}
.pin--opo{background:#e0a92a;width:1em;height:1em;margin:-.5em 0 0 -.5em}
.pin--com{background:var(--fb-flag-bad);width:1em;height:1em;margin:-.5em 0 0 -.5em;border-radius:.25em}
.pin--off{background:#8c8c86}
.fx__view--mapa[data-foco] .fx__pins .pin{opacity:.28}
.fx__view--mapa[data-foco="com"] .fx__pins .pin--com,.fx__view--mapa[data-foco="opo"] .fx__pins .pin--opo,.fx__view--mapa[data-foco="off"] .fx__pins .pin--off{opacity:1;transform:scale(1.35);animation:pinp 1.2s ease-in-out infinite}
@keyframes pinp{50%{box-shadow:0 0 0 .18em #fff,0 0 0 .7em rgba(86,185,186,.25)}}
.fx__mpanel{position:absolute;right:1em;top:1em;bottom:1em;width:34%;display:flex;flex-direction:column;gap:.5em;padding:1em;border-radius:1em;background:#fff;box-shadow:0 1em 2em -1em rgba(13,46,47,.4),0 0 0 1px var(--fb-line)}
.fx__mpanel>b{display:flex;align-items:center;gap:.4em;font-family:var(--fb-display);font-weight:600;font-size:1.3em;letter-spacing:-.02em}
.fx__mpanel>b svg{width:1.1em;height:1.1em;color:var(--fb-aqua-600)}
.fx__mbusca{display:flex;align-items:center;gap:.5em;padding:.45em .7em;border-radius:.6em;background:var(--fb-aqua-50,#e6f5f5);font-size:.82em;font-weight:700;color:var(--fb-aqua-700)}
.fx__mbusca i{width:.9em;height:.9em;border-radius:50%;border:2px solid rgba(27,114,115,.25);border-top-color:var(--fb-aqua-700);animation:fxsp .8s linear infinite}
.fx__mcapa{display:grid;grid-template-columns:1.2em minmax(0,1fr) auto;align-items:center;gap:.5em;padding:.4em 0;border-bottom:1px solid var(--fb-line);font-size:.86em;transition:background .3s}
.fx__mcapa .pin{position:relative;margin:0}
.fx__mcapa b{font-size:1.15em}
.fx__mcapa.is-on{background:var(--fb-aqua-50,#e6f5f5);border-radius:.4em}
.fx__mpanel>small{margin-top:.3em;font-size:.72em;font-weight:700;color:var(--fb-ink-4)}
.fx__mopos{display:flex;flex-direction:column;gap:.3em}
.fx__mopos div{display:flex;align-items:center;gap:.5em;font-size:.82em}
.fx__mopos i{display:grid;place-items:center;flex:none;width:1.5em;height:1.5em;border-radius:50%;background:#e0a92a;color:#fff;font-style:normal;font-weight:700;font-size:.85em}
.fx__view--gan{gap:.8em}
.fx__gan{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:.8em}
.fx__ganbig .fx__kv{font-size:4em}
.fx__ganb{display:flex;flex-direction:column;gap:.55em;margin-top:.3em}
.fx__ganb div{display:grid;grid-template-columns:6em minmax(0,1fr) auto;align-items:center;gap:.6em;font-size:.95em}
.fx__ganb i{height:1.1em;border-radius:.3em;width:var(--w);background:var(--fb-aqua-600);transform-origin:0 50%}
.fx__ganb b{font-size:1.1em}
.fx__ganflujo{flex-direction:row;align-items:stretch;gap:0;padding:0;overflow:hidden}
.fx__ganflujo>div{flex:1;display:flex;flex-direction:column;gap:.2em;padding:.9em 1em;border-right:1px solid var(--fb-line)}
.fx__ganflujo>div small{font-size:.78em;color:var(--fb-ink-3)}
.fx__ganflujo>div b{font-size:1.5em}
.fx__ganflujo>div.neg b{color:var(--fb-ink-2)}
.fx__ganflujo>div.tot{background:var(--fb-aqua);color:var(--fb-on-action);border-right:0}
.fx__ganflujo>div.tot small{color:var(--fb-on-action)}
.fx__sweep{position:absolute;left:34%;top:48%;width:6em;height:6em;margin:-3em 0 0 -3em;border-radius:50%;border:2px solid var(--fb-aqua-600);opacity:0;pointer-events:none}
.fst .fx__view--mapa.is-on .fx__sweep{animation:fxsweep 1.4s ease-out 2}
@keyframes fxsweep{from{transform:scale(.2);opacity:.9}to{transform:scale(5);opacity:0}}
.fst .fx__view--mapa.is-on .fx__mbusca i{animation-duration:.6s}
