/*
Theme Name: Vizard Analytics One-Page
Theme URI: https://example.com
Author: You
Description: One-page analytics consulting theme (pure PHP/HTML/CSS/JS; no React).
Version: 1.0
License: GPL-2.0-or-later
Text Domain: vizard-analytics
*/
:root{
  --bg:#f8fafc; --fg:#0f172a; --muted:#475569; --line:#e2e8f0;
  --brand1:#6366f1; --brand2:#06b6d4;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";background:var(--bg);color:var(--fg)}
a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 1rem}
.section{padding:4rem 0}
.section-muted{background:#f1f5f9}
.header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.8);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
.h-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}
.logo-dot{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--brand1),var(--brand2));box-shadow:0 1px 2px rgba(0,0,0,.08)}
.nav a{margin-left:1rem;color:#334155}
.nav a:hover{color:#0f172a}
.btn{display:inline-block;border-radius:9999px;padding:.7rem 1rem;font-weight:600}
.btn-dark{background:#0f172a;color:#fff}
.card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:1rem;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.grid{display:grid;gap:1rem}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.grid-2,.grid-3{grid-template-columns:1fr}}
.badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.7);border:1px solid rgba(0,0,0,.05);padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;color:#334155}
.hero{position:relative;overflow:hidden}
.hero-grad{position:absolute;inset:0;opacity:.08;background:linear-gradient(135deg,var(--brand1),var(--brand2));z-index:0}
.hero-inner{position:relative;z-index:1;padding:4rem 0}
.h1{font-size:clamp(2rem,3vw,3rem);font-weight:800;color:var(--fg);margin:1rem 0}
.p{color:var(--muted);max-width:48ch}
.stat{text-align:center}
.stat .value{font-size:1.75rem;font-weight:800;color:var(--fg)}
.stat .label{font-size:.875rem;color:#64748b}
.h2{font-size:1.6rem;font-weight:800;color:var(--fg);margin-bottom:.5rem}
.small{font-size:.9rem;color:#64748b}
.card-icon{font-size:22px;margin-bottom:8px}
.footer{background:#fff;border-top:1px solid var(--line);padding:2rem 0;font-size:.9rem;color:#475569}
.tabbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.tab-btn{border:1px solid var(--line);border-radius:9999px;padding:.5rem .9rem;font-size:.9rem;color:#334155;background:#fff;cursor:pointer}
.tab-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}
.chart{height:260px}
.list{padding-left:1.1rem}
.list li{margin:.35rem 0}
.aspect-16x9{aspect-ratio:16/9;width:100%;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#f1f5f9}
input,textarea{width:100%;padding:.6rem .75rem;border-radius:12px;border:1px solid var(--line);outline:none}
label{display:block;font-size:.85rem;color:#334155;margin:.25rem 0}
.form-row{display:grid;gap:8px;grid-template-columns:1fr 1fr}
@media (max-width:700px){.form-row{grid-template-columns:1fr}}
/

/* The dashed display box */
.tableau-shell{
  border:1px dashed var(--line);
  border-radius:12px;
  overflow:hidden;
  width:100%;
  /* Pick one of these two height strategies: */

  /* A) Aspect-ratio (responsive) */
  aspect-ratio: 16 / 9;

  /* B) OR comment A out and set an explicit height
  height: 520px;
  */

  display:flex;
}

/* Make the Viz always fill the shell */
.tableau-frame{
  width:100% !important;
  height:100% !important;
}
