/* ViZoAiLabs on the web (2026-10-27): the customers' "under construction"
   page, the Development area and Ricardo's private notes. Uses the studio
   tokens from vz-studio.css (--vs-*). Classes are prefixed al-. */

.al-page { max-width: 1180px; margin: 0 auto; padding: 28px 24px 60px; color: var(--vs-text); }
.al-page * { box-sizing: border-box; }
.al-kicker { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #c4b5fd; margin: 0 0 6px; }
.al-title { font-size: 34px; font-weight: 900; letter-spacing: -0.6px; color: #fff; margin: 0 0 8px; line-height: 1.15; }
.al-sub { color: var(--vs-dim); font-size: 15px; margin: 0 0 22px; max-width: 760px; line-height: 1.55; }
.al-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; border: 1px solid var(--vs-line-2); color: var(--vs-dim); }
.al-badge-dev { border-color: rgba(212, 255, 58, 0.45); color: #e8ffb0; background: rgba(212, 255, 58, 0.06); }

/* Customers: under construction */
.al-soon { text-align: center; padding: 70px 20px 40px; }
.al-soon-ico { font-size: 64px; margin-bottom: 10px; }
.al-soon .al-title { font-size: 40px; }
.al-soon .al-sub { margin: 0 auto 26px; }
.al-soon-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
.al-chip { background: var(--vs-panel); border: 1px solid var(--vs-line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: var(--vs-text); }
.al-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--vs-go); color: #111; font-weight: 800; border-radius: 12px; padding: 12px 20px; text-decoration: none; box-shadow: 0 3px 0 var(--vs-go-edge); }
.al-cta:hover { filter: brightness(1.05); }

/* "Lo que verán los clientes" banner (preview inside Development) */
.al-preview-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; background: rgba(212, 255, 58, 0.07); border: 1px dashed rgba(212, 255, 58, 0.5); color: #e8ffb0; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin: 0 0 22px; }
.al-preview-bar a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.al-card-empty { border-style: dashed; opacity: 0.85; }

/* Panels and grids */
.al-panel { background: var(--vs-panel); border: 1px solid var(--vs-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 18px; }
.al-panel h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.al-panel p { color: var(--vs-dim); font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.al-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.al-card { display: block; background: var(--vs-field); border: 1px solid var(--vs-line); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--vs-text); transition: border-color .15s, transform .15s; }
a.al-card:hover { border-color: rgba(139, 92, 246, 0.6); transform: translateY(-2px); }
.al-card-ico { font-size: 26px; margin-bottom: 6px; }
.al-card-title { font-weight: 800; color: #fff; font-size: 16px; margin-bottom: 4px; }
.al-card-desc { color: var(--vs-dim); font-size: 13px; line-height: 1.5; }
.al-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; }
.al-steps span { background: var(--vs-field); border: 1px solid var(--vs-line); border-radius: 10px; padding: 7px 11px; }
.al-steps i { color: var(--vs-mute); font-style: normal; }

/* Tables */
.al-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.al-filter { background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-text); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.al-filter.on { border-color: var(--vs-go); color: #fff; background: rgba(212, 255, 58, 0.08); }
.al-filter b { color: var(--vs-go); margin-left: 4px; }
.al-table-wrap { overflow-x: auto; border: 1px solid var(--vs-line); border-radius: 14px; }
.al-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.al-table th { text-align: left; font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--vs-mute); background: var(--vs-field-2); padding: 10px 12px; position: sticky; top: 0; }
.al-table td { padding: 10px 12px; border-top: 1px solid var(--vs-line); vertical-align: top; line-height: 1.45; }
.al-table td small { display: block; color: var(--vs-mute); font-size: 12px; margin-top: 2px; }
.al-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.al-tool { font-weight: 700; color: #fff; }
.al-pill { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.al-w-liviana { background: rgba(212, 255, 58, 0.12); color: #e8ffb0; }
.al-w-intermedia { background: rgba(252, 211, 77, 0.13); color: #fde68a; }
.al-w-pesada { background: rgba(139, 92, 246, 0.18); color: #ddd6fe; }
.al-s-si { background: rgba(212, 255, 58, 0.12); color: #e8ffb0; }
.al-s-cond { background: rgba(252, 211, 77, 0.13); color: #fde68a; }
.al-s-no { background: rgba(255, 139, 139, 0.14); color: #fecaca; }
.al-s-revisar { background: rgba(255, 255, 255, 0.08); color: var(--vs-dim); }
.al-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.al-legend div { background: var(--vs-field); border: 1px solid var(--vs-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--vs-dim); line-height: 1.45; }
.al-legend b { display: block; margin-bottom: 3px; }
.al-note-date { color: var(--vs-mute); font-size: 12.5px; margin: -2px 0 10px; }

@media (max-width: 900px) { .al-grid, .al-legend { grid-template-columns: 1fr; } .al-title { font-size: 28px; } }

/* ── The desktop app's top bar on the web (_app_bar.html) ─────────────── */
.al-page.al-page-wide { max-width: 1640px; padding-left: 18px; padding-right: 18px; }
.al-appbar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; margin: 0 0 22px; background: rgba(11, 11, 18, 0.94); border: 1px solid var(--vs-line); border-radius: 14px; }
.al-brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.3px; white-space: nowrap; flex-shrink: 0; }
.al-brand-vizo { background: linear-gradient(135deg, #8b5cf6, #ec4899, #f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.al-brand-suffix { color: #fff; }
.al-brand-ver { color: var(--vs-mute); font-size: 12px; font-weight: 500; margin-left: 4px; }
.al-cats { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.al-cats::-webkit-scrollbar { display: none; }
.al-cat { background: none; border: none; color: var(--vs-dim); font: inherit; font-size: 14px; font-weight: 500; border-radius: 10px; padding: 7px 11px; cursor: pointer; white-space: nowrap; }
.al-cat:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.al-cat-arrow { font-size: 0.7rem; opacity: 0.55; }
.al-cat.al-cat-soon::after { content: attr(title); margin-left: 6px; font-size: 10px; font-weight: 700; color: #111; background: #c4b5fd; border-radius: 999px; padding: 1px 6px; }
.al-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.al-hbtn { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--vs-text); border: 1px solid var(--vs-line-2); border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.al-hbtn:hover { background: rgba(255, 255, 255, 0.05); }
.al-hbtn[hidden] { display: none; }
.al-hbtn.paused { background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.55); color: #fff; }
.al-engine { font-weight: 700; }
.al-cloud { width: 20px; height: 20px; fill: none; stroke: #c4b5fd; stroke-width: 1.8; stroke-linejoin: round; }
.al-engine.al-engine-cloud { border-color: rgba(139, 92, 246, 0.6); }
.al-engine.al-engine-cloud .al-cloud { fill: rgba(139, 92, 246, 0.35); }
.al-engine-now { font-size: 11.5px; font-weight: 700; color: #111; background: #c4b5fd; border-radius: 999px; padding: 1px 8px; }
.al-lang-form { margin: 0; }
.al-hlang { background: transparent; color: var(--vs-text); border: 1px solid var(--vs-line-2); border-radius: 10px; padding: 7px 8px; font: inherit; font-size: 13.5px; cursor: pointer; }
.al-hlang option { background: #121219; }
@media (max-width: 1400px) { .al-hbtn-label { display: none; } .al-cat { padding: 7px 8px; font-size: 13.5px; } .al-brand-ver { display: none; } }
@media (max-width: 760px) { .al-appbar { flex-wrap: wrap; } .al-cats { order: 3; flex-basis: 100%; } .al-engine span:not(.al-engine-now) { display: none; } }

/* Modals (engine picker, storage) */
.al-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.62); display: flex; align-items: center; justify-content: center; padding: 16px; }
.al-backdrop[hidden] { display: none; }
.al-modal { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #121219; border: 1px solid var(--vs-line-2); border-radius: 18px; padding: 24px; color: var(--vs-text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.al-modal-wide { max-width: 1000px; }
.al-modal-x { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--vs-dim); font-size: 26px; cursor: pointer; line-height: 1; }
.al-modal-title { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.3px; color: #fff; margin: 0 26px 4px 0; }
.al-modal-sub { color: var(--vs-dim); font-size: 14px; margin: 0 0 14px; line-height: 1.5; }
.al-modal-notice { background: rgba(212, 255, 58, 0.08); border: 1px solid rgba(212, 255, 58, 0.35); color: #e8ffb0; border-radius: 12px; padding: 10px 13px; font-size: 13.5px; margin: 0 0 14px; }
.al-modal-fine { color: var(--vs-mute); font-size: 12px; margin: 14px 0 0; text-align: center; line-height: 1.5; }
.al-meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.al-meter i { display: block; height: 100%; background: var(--vs-grad); min-width: 2px; }

/* Engine cards (same look as the desktop app's picker) */
.mgpu-sortbar { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--vs-dim); font-size: 13px; }
.mgpu-sort-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mgpu-sort-btn { display: inline-flex; align-items: baseline; gap: 6px; background: #171622; border: 1px solid var(--vs-line-2); color: var(--vs-text); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mgpu-sort-btn small { font-weight: 500; color: var(--vs-mute); font-size: 11.5px; }
.mgpu-sort-btn.on { border-color: var(--vs-go); color: #fff; }
.mgpu-sort-btn.on small { color: #e8ffb0; }
.mgpu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mgpu-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: #171622; border: 1px solid var(--vs-line-2); border-radius: 16px; padding: 14px 10px 12px; color: var(--vs-text); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, background .15s; }
.mgpu-card:hover { border-color: rgba(139, 92, 246, 0.6); transform: translateY(-2px); background: #1d1b2b; }
.mgpu-card:hover .gpu-fan { animation: vz-fan 1.2s linear infinite; }
.mgpu-card.selected { border-color: var(--vs-go); box-shadow: 0 0 0 1px var(--vs-go), 0 10px 30px rgba(212, 255, 58, 0.08); }
.mgpu-art { height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.mgpu-art .vz-gpu { height: 50px; width: auto; max-width: 100%; }
.mgpu-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #c4b5fd; }
.mgpu-name { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -0.2px; }
.mgpu-name-local { font-size: 15px; line-height: 1.2; }
.mgpu-gb { font-size: 13px; color: var(--vs-dim); }
.mgpu-price { font-size: 12.5px; color: var(--vs-mute); margin-top: 2px; }
.mgpu-price b { color: var(--vs-go); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.mgpu-price.mgpu-free { color: #c4b5fd; }
.mgpu-speed { font-size: 12px; color: #ddd6fe; margin-top: 3px; }
.mgpu-est { font-size: 10px; color: var(--vs-mute); border: 1px solid var(--vs-line-2); border-radius: 999px; padding: 0 5px; margin-left: 2px; }
.mgpu-est.is-measured { color: #e8ffb0; border-color: rgba(212, 255, 58, 0.45); }
.mgpu-fit { font-size: 12px; font-weight: 600; margin-top: 4px; line-height: 1.3; color: #fcd34d; }
.mgpu-best { order: 9; margin-top: 5px; font-size: 10.5px; font-weight: 700; color: #111; background: #c4b5fd; border-radius: 999px; padding: 2px 8px; }
.mgpu-check { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--vs-go); color: #111; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .mgpu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mgpu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The animated graphics card (same as the app's vizoGpuSvg) */
.vz-gpu { display: block; width: 100%; height: auto; overflow: visible; }
.vz-gpu .gpu-shroud { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; }
.vz-gpu .gpu-bevel { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1.5; stroke-linecap: round; fill: none; }
.vz-gpu .gpu-bracket { fill: #4a4a5c; }
.vz-gpu .gpu-pcb { fill: #0e0e15; }
.vz-gpu .gpu-fingers rect { fill: #c9a227; }
.vz-gpu .gpu-power { fill: #1f1f2c; stroke: rgba(255, 255, 255, 0.15); }
.vz-gpu .gpu-fan-ring { fill: #0b0b12; stroke: #33334a; stroke-width: 2; }
.vz-gpu .gpu-fan-well { fill: #101018; }
.vz-gpu .gpu-fan { fill: #3c3c55; stroke: rgba(255, 255, 255, 0.06); stroke-width: 0.6; transform-box: fill-box; transform-origin: 50% 50%; }
.vz-gpu .gpu-rgb { opacity: 0.5; }
.vz-gpu.spinning .gpu-fan { animation: vz-fan 0.7s linear infinite; }
.vz-gpu.spinning .gpu-rgb { opacity: 1; }
@keyframes vz-fan { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Development tools: FLUX 3 Image Klein (dev_flux3.html) ─────────── */
.fx-split { display: flex; gap: 18px; align-items: flex-start; }
.fx-left { width: 400px; flex-shrink: 0; position: sticky; top: 78px; margin: 0; }
.fx-right { flex: 1; min-width: 0; margin: 0; min-height: 60vh; }
/* The one line under the model picker with what only that model has (IMAGE_TOOLS tip). */
.fx-tip { font-size: 12.5px; line-height: 1.4; color: var(--vs-dim); margin: -4px 2px 12px; padding-left: 9px; border-left: 2px solid rgba(139, 92, 246, 0.7); }
.fx-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--vs-dim); margin: 12px 0 6px; }
.fx-mute { color: var(--vs-mute); font-weight: 500; font-size: 12px; }
.fx-warn { color: #fcd34d; font-size: 12.5px; line-height: 1.4; }
.fx-input { width: 100%; background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; }
.fx-input:focus { outline: none; border-color: rgba(139, 92, 246, 0.7); }
.fx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-engine { background: var(--vs-field); border: 1px solid var(--vs-line); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; min-height: 40px; }
.fx-drop { border: 1.5px dashed var(--vs-line-2); border-radius: 12px; padding: 10px; background: var(--vs-field-2); cursor: pointer; transition: border-color .15s, background .15s; }
.fx-drop:hover, .fx-drop:focus { border-color: rgba(139, 92, 246, 0.6); outline: none; }
.fx-drop.fx-over { border-color: var(--vs-go); background: rgba(212, 255, 58, 0.06); }
.fx-drop-txt { text-align: center; color: var(--vs-dim); font-size: 13px; padding: 10px 4px; }
.fx-drop-txt u { color: #fff; }
.fx-refs:not(:empty) + .fx-drop-txt { padding: 8px 4px 2px; font-size: 12px; }
.fx-refs { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-reftag { position: absolute; left: 3px; bottom: 3px; font-size: 10.5px; font-weight: 800; color: #111; background: var(--vs-go); border-radius: 6px; padding: 1px 5px; cursor: pointer; border: none; line-height: 1.4; }
.fx-reftag.vid { background: #c4b5fd; }
.fx-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
/* Anything the page hides (hidden attribute) stays hidden even when its class sets a display. */
.al-page [hidden] { display: none !important; }
.fx-tag { font-size: 11.5px; font-weight: 800; color: #111; background: var(--vs-go); border: none; border-radius: 6px; padding: 2px 7px; cursor: pointer; }
.fx-tag.vid { background: #c4b5fd; }
.fx-pwarn { margin-top: 6px; }
.fx-ref { position: relative; width: 70px; height: 70px; border-radius: 10px; overflow: hidden; border: 1px solid var(--vs-line-2); }
.fx-ref img { width: 100%; height: 100%; object-fit: cover; }
.fx-ref video { width: 100%; height: 100%; object-fit: cover; }
.fx-ref .fx-refx { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.7); color: #fff; cursor: pointer; line-height: 1; }
.fx-refbtn { display: inline-block; margin-top: 8px; background: var(--vs-field); border: 1px dashed var(--vs-line-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.fx-check { display: block; margin: 14px 0 0; font-size: 13.5px; }
.fx-check .fx-mute { display: block; margin: 2px 0 0 22px; }
.fx-go { width: 100%; margin-top: 16px; background: var(--vs-go); color: #111; font-weight: 900; font-size: 16px; border: none; border-radius: 12px; padding: 13px; cursor: pointer; box-shadow: 0 3px 0 var(--vs-go-edge); }
.fx-go:disabled { opacity: 0.45; cursor: not-allowed; }
.fx-msg { margin-top: 10px; color: var(--vs-bad); font-size: 13px; }
.fx-right-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.fx-right-head h2 { margin: 0; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.fx-empty { color: var(--vs-mute); font-size: 14px; padding: 30px 0; }
.fx-card { background: var(--vs-field); border: 1px solid var(--vs-line); border-radius: 14px; overflow: hidden; }
.fx-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: zoom-in; background: #0b0b12; }
.fx-card-b { padding: 10px 12px 12px; }
.fx-card-p { font-size: 13px; color: #fff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-card-m { font-size: 11.5px; color: var(--vs-mute); margin-top: 4px; }
.fx-card details { margin-top: 6px; font-size: 12px; color: var(--vs-dim); }
.fx-card details p { white-space: pre-wrap; max-height: 160px; overflow: auto; margin: 6px 0 0; }
.fx-dl { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #e8ffb0; text-decoration: none; }
.fx-card-run { display: flex; flex-direction: column; }
.fx-spin { aspect-ratio: 1 / 1; background: linear-gradient(110deg, #15151f 30%, #1f1d2e 50%, #15151f 70%); background-size: 200% 100%; animation: fx-shimmer 1.4s linear infinite; }
@keyframes fx-shimmer { to { background-position: -200% 0; } }
.fx-card-fail { border-color: rgba(255, 139, 139, 0.4); }
.fx-err { color: var(--vs-bad); font-size: 12.5px; margin-top: 6px; word-break: break-word; }
#fxViewer { cursor: zoom-out; }
#fxViewer img { max-width: 94vw; max-height: 92vh; border-radius: 12px; }
@media (max-width: 980px) { .fx-split { flex-direction: column; } .fx-left { width: 100%; position: static; } }

/* ── In-progress / failed card: the video studio's (video_studio.html .st-run)
   the animated graphics card on a purple glow, badge, bar; .slow = the request
   is still on its way (idle fans), .failed = stopped and grey ─────────────── */
.fx-run { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: #fff; background: radial-gradient(120% 70% at 50% 40%, rgba(139, 92, 246, 0.16), transparent 60%), linear-gradient(135deg, #1a1a26 0%, #221c2e 60%, #1a1a26 100%); }
.fx-run-stage { position: relative; width: 80%; max-width: 200px; margin: 0 auto 6px; }
.fx-run-glow { position: absolute; inset: 12% 4% 0; background: radial-gradient(closest-side, rgba(139, 92, 246, 0.6), rgba(236, 72, 153, 0.28) 55%, transparent 78%); filter: blur(10px); opacity: 0.35; pointer-events: none; animation: vz-glow 2.4s ease-in-out infinite; animation-delay: var(--vz-t, 0s); }
.fx-run .vz-gpu { position: relative; }
.fx-run .vz-gpu .gpu-fan { animation: vz-fan 0.55s linear infinite; animation-delay: var(--vz-t, 0s); }
.fx-run .vz-gpu .gpu-rgb { opacity: 1; }
.fx-run-heat { position: absolute; left: 6%; right: 10%; top: 6%; height: 1px; pointer-events: none; }
.fx-run-heat i { position: absolute; top: 0; width: 4px; height: 4px; border-radius: 1px; opacity: 0; background: #d4ff3a; animation: vz-heat 2.4s linear infinite; animation-delay: var(--vz-t, 0s); }
.fx-run-heat i:nth-child(1) { left: 8%; }
.fx-run-heat i:nth-child(2) { left: 24%; background: #8b5cf6; animation-delay: calc(var(--vz-t, 0s) - 0.4s); }
.fx-run-heat i:nth-child(3) { left: 41%; background: #ec4899; animation-delay: calc(var(--vz-t, 0s) - 1.6s); }
.fx-run-heat i:nth-child(4) { left: 57%; animation-delay: calc(var(--vz-t, 0s) - 0.9s); }
.fx-run-heat i:nth-child(5) { left: 73%; background: #8b5cf6; animation-delay: calc(var(--vz-t, 0s) - 2.0s); }
.fx-run-heat i:nth-child(6) { left: 89%; background: #ec4899; animation-delay: calc(var(--vz-t, 0s) - 1.2s); }
.fx-run.slow .vz-gpu .gpu-fan { animation-duration: 2.6s; }
.fx-run.slow .vz-gpu .gpu-rgb { opacity: 0.5; }
.fx-run.slow .fx-run-glow { animation: vz-breath 3.2s ease-in-out infinite; animation-delay: var(--vz-t, 0s); }
.fx-run.slow .fx-run-heat, .fx-run.failed .fx-run-heat { display: none; }
.fx-run.failed .vz-gpu { filter: grayscale(1) brightness(0.7); }
.fx-run.failed .vz-gpu .gpu-fan, .fx-run.failed .fx-run-glow { animation: none; }
.fx-run.failed .vz-gpu .gpu-rgb { opacity: 0.15; }
.fx-run-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 20px; background: rgba(212, 255, 58, 0.12); border: 1px solid rgba(212, 255, 58, 0.45); color: #e8ffb0; }
.fx-run.slow .fx-run-badge { background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.5); color: #ddd6fe; }
.fx-run.failed .fx-run-badge { background: rgba(239, 68, 68, 0.18); border-color: rgba(239, 68, 68, 0.5); color: #fca5a5; }
.fx-run-bar { width: 80%; height: 6px; background: #262633; border-radius: 3px; overflow: hidden; }
.fx-run-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8b5cf6, #ec4899, #d4ff3a); transition: width 0.9s linear; }
.fx-run-pct { font-size: 12px; color: #c8c8da; }
.fx-run-err { font-size: 12px; color: #fca5a5; max-width: 92%; line-height: 1.35; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes vz-glow { 0%, 100% { opacity: 0.55; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes vz-breath { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.45; } }
@keyframes vz-heat { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 0.95; } 80% { opacity: 0.45; } 100% { transform: translateY(-46px) scale(0.6); opacity: 0; } }

/* "Generar" while the request is on its way: the video studio's busy button
   (a light sweeping across and a spinner) and a short line under it. */
.fx-go { display: flex; align-items: center; justify-content: center; gap: 10px; }
.fx-go.busy, .fx-go.busy:disabled { opacity: 1; background: linear-gradient(100deg, #d4ff3a 0%, #d4ff3a 38%, #f6ffd2 50%, #d4ff3a 62%, #d4ff3a 100%); background-size: 250% 100%; animation: fx-sweep 1.4s linear infinite; color: #111; box-shadow: 0 4px 0 #8fae1d; cursor: progress; }
.fx-go.busy::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2.5px solid rgba(17, 17, 17, 0.22); border-top-color: #111; animation: fx-spin 0.75s linear infinite; }
.fx-busy-note { margin-top: 8px; font-size: 12px; color: #a9a9c0; text-align: center; }
@keyframes fx-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes fx-spin { to { transform: rotate(360deg); } }

/* Model switch on the image page (FLUX 3 / Qwen Edit) and reference thumbnails on results */
.fx-models { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fx-model { flex: 1 1 auto; background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-dim); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fx-model:hover { color: #fff; border-color: rgba(139, 92, 246, 0.6); }
.fx-model.on { color: #111; background: var(--vs-go); border-color: var(--vs-go); }
.fx-sizenote { margin-top: 8px; }
.fx-card-refs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fx-card-ref { position: relative; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; border: 1px solid var(--vs-line-2); }
.fx-card-ref img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; cursor: zoom-in; }
.fx-card-ref span { position: absolute; left: 2px; bottom: 2px; font-size: 9px; font-weight: 800; color: #111; background: var(--vs-go); border-radius: 4px; padding: 0 3px; line-height: 1.4; }
.fx-card-model { display: inline-block; font-size: 10.5px; font-weight: 800; color: #111; background: #c4b5fd; border-radius: 999px; padding: 1px 7px; margin-bottom: 4px; }

/* Terms of use box (photos with people created by AI) */
.fx-terms { background: rgba(252, 211, 77, 0.06); border: 1px solid rgba(252, 211, 77, 0.35); border-radius: 10px; padding: 8px 10px; }
.fx-terms.fx-need { border-color: var(--vs-bad); box-shadow: 0 0 0 1px var(--vs-bad); }

/* Model picker: one button that opens the list of models */
.fx-msel { position: relative; margin: 0 0 12px; }
.fx-msel-btn { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-text); border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer; text-align: left; }
.fx-msel-btn:hover, .fx-msel-btn[aria-expanded="true"] { border-color: rgba(139, 92, 246, 0.7); }
.fx-msel-k { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--vs-mute); }
.fx-msel-name { flex: 1; font-weight: 800; color: #fff; font-size: 15px; }
.fx-msel-arrow { color: var(--vs-dim); font-size: 12px; }
.fx-msel-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: #15151f; border: 1px solid var(--vs-line-2); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.fx-msel-list[hidden] { display: none; }
.fx-msel-list .fx-model { display: block; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 9px; padding: 9px 10px; color: var(--vs-text); font: inherit; cursor: pointer; }
.fx-msel-list .fx-model:hover { background: var(--vs-field); }
.fx-msel-list .fx-model.on { border-color: var(--vs-go); background: rgba(212, 255, 58, 0.06); }
.fx-msel-list .fx-model b { display: block; font-size: 14px; color: #fff; }
.fx-msel-list .fx-model small { display: block; font-size: 11.5px; color: var(--vs-mute); margin-top: 2px; }
.fx-gohint { margin-top: 8px; font-size: 12.5px; color: #fcd34d; text-align: center; }

/* Left column scrolls on its own; "Generar" stays visible at its bottom */
.fx-left { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.fx-gobar { position: sticky; bottom: -18px; margin: 14px -20px -18px; padding: 12px 20px 16px; background: linear-gradient(to bottom, rgba(18, 18, 25, 0), var(--vs-panel) 26%); z-index: 2; }
.fx-gobar .fx-go { margin-top: 0; }
@media (max-width: 980px) { .fx-left { max-height: none; overflow: visible; } .fx-gobar { position: static; margin: 14px 0 0; padding: 0; background: none; } }
/* Results: zoom, selection, delete */
.fx-grid { grid-template-columns: repeat(auto-fill, minmax(var(--fx-cell, 260px), 1fr)); }
.fx-right-head { gap: 12px; align-items: center; }
.fx-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fx-zoom { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--vs-dim); }
.fx-zoom input { width: 130px; accent-color: #d4ff3a; }
.fx-tbtn { background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-text); border-radius: 9px; padding: 6px 11px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fx-tbtn:hover { border-color: rgba(139, 92, 246, 0.6); }
.fx-tbtn:disabled { opacity: .4; cursor: default; }
.fx-danger { color: #fecaca; border-color: rgba(255, 139, 139, 0.45); }
.fx-selbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: rgba(212, 255, 58, 0.06); border: 1px solid rgba(212, 255, 58, 0.35); border-radius: 10px; padding: 8px 10px; margin: 0 0 12px; font-size: 13px; }
.fx-selbar[hidden] { display: none; }
.fx-selbar b { margin-right: auto; color: #e8ffb0; }
.fx-card { position: relative; }
.fx-sel { display: none; position: absolute; top: 8px; left: 8px; z-index: 3; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #fff; background: rgba(0, 0, 0, 0.45); color: transparent; font-weight: 900; font-size: 14px; align-items: center; justify-content: center; }
.fx-selmode .fx-card[data-sel] { cursor: pointer; }
.fx-selmode .fx-card[data-sel] .fx-sel { display: flex; }
.fx-card.fx-picked { outline: 2px solid var(--vs-go); outline-offset: -2px; }
.fx-card.fx-picked .fx-sel { background: var(--vs-go); border-color: var(--vs-go); color: #111; }

/* Brand marks in the model picker (button and list) */
.fx-brand { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.fx-brand svg { width: 16px; height: 16px; display: block; }
.fx-msel-list .fx-model { display: flex; align-items: center; gap: 10px; }
.fx-model-txt { display: block; min-width: 0; }

/* Images for customers (upscale.vizotools.com/image, 2026-10-28): Models / Features tabs and the balance line. */
.fx-tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.fx-tab { flex: 1; background: var(--vs-field); border: 1px solid var(--vs-line-2); color: var(--vs-dim); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fx-tab.on { color: #fff; border-color: rgba(139, 92, 246, 0.7); background: rgba(139, 92, 246, 0.16); }
.fx-soon { font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #111; background: #fbbf24; border-radius: 5px; padding: 1px 5px; margin-left: 4px; }
.fx-balance { margin-top: 10px; font-size: 13px; color: var(--vs-dim); }
.fx-balance a { color: #c4b5fd; }
.fx-balance b { color: #fff; }
.fx-note { font-size: 12.5px; line-height: 1.45; color: var(--vs-dim); background: var(--vs-field); border: 1px dashed var(--vs-line-2); border-radius: 10px; padding: 8px 10px; margin: 0 0 10px; }
.fx-gobar .fx-balance { margin-top: 8px; }
/* Links in a picker list (the video page's other tools) look like the other options. */
.fx-msel-list a.fx-model, .fx-msel-list a.fx-model * { text-decoration: none; }
/* Unlimited images of the user's plan (2026-10-29): the list mark and the counter under the balance. */
.fx-unl { color: #d4ff3a; font-weight: 700; }
.fx-unl-line { margin-top: 6px; font-size: 12.5px; color: #d9f99d; }
.fx-unl-line b { color: #fff; }
/* How many images of this prompt, and how many more fit now (2026-10-29). */
.fx-count { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.fx-count-k { font-size: 12px; font-weight: 700; color: var(--vs-dim); }
.fx-count-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.fx-count-seg button { min-width: 30px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--vs-line-2); background: var(--vs-field); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.fx-count-seg button.on { background: rgba(212, 255, 58, 0.16); border-color: var(--vs-go); color: var(--vs-go); }
.fx-count-seg button:disabled { opacity: .35; cursor: not-allowed; }
.fx-slots { font-size: 12px; color: var(--vs-dim); margin: 0 0 8px; }
.fx-slots b { color: #fff; }
