/* VenueOS — React home charts (admin-react/control-center/manager-charts.jsx).
   Colours come from the manager palette in manager-color.css; text stays in ink tokens. */
.vc-activity { display:grid; gap:14px; min-width:0; }
.vc-act-top { display:flex; justify-content:flex-start; }
.vc-seg { display:inline-flex; padding:3px; gap:2px; border-radius:999px; background:rgba(4,8,16,.45); border:1px solid rgba(255,255,255,.1); }
.vc-seg button { appearance:none; border:0; background:transparent; color:var(--ink-2,#c3cbd8); font:600 12.5px/1 inherit; padding:8px 14px; border-radius:999px; cursor:pointer; transition:background-color .2s ease,color .2s ease; font-variant-numeric:tabular-nums; }
.vc-seg button.is-on { background:linear-gradient(135deg,rgba(144,133,233,.9),rgba(57,135,229,.85)); color:#fff; box-shadow:0 4px 14px -4px rgba(144,133,233,.6); }
.vc-seg button:focus-visible { outline:2px solid #d9e7fa; outline-offset:2px; }
.vc-act-figure { display:flex; flex-wrap:wrap; align-items:flex-end; gap:6px 14px; }
.vc-big { font:700 clamp(40px,9vw,56px)/1 Inter,system-ui,sans-serif; letter-spacing:-.04em; color:#fff; font-variant-numeric:tabular-nums; }
.vc-big-meta { display:grid; gap:6px; padding-bottom:4px; font-size:13px; color:var(--ink-2,#c3cbd8); }
.vc-delta { display:inline-flex; align-items:center; gap:6px; justify-self:start; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.vc-delta i { font-style:normal; font-size:9px; }
.vc-delta.up { color:#8fe08f; background:rgba(12,163,12,.16); border:1px solid rgba(12,163,12,.4); }
.vc-delta.down { color:#f2a0a0; background:rgba(208,59,59,.16); border:1px solid rgba(208,59,59,.4); }
.vc-delta.flat { color:var(--ink-2,#c3cbd8); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }

.vc-chart { position:relative; min-width:0; margin:0 -4px; }
.vc-chart svg { display:block; touch-action:pan-y; cursor:crosshair; overflow:visible; }
.vc-grid { stroke:rgba(255,255,255,.07); stroke-dasharray:2 4; }
.vc-avg { stroke:rgba(244,247,251,.35); stroke-dasharray:5 5; }
.vc-avg-label,.vc-axis { fill:var(--ink-3,#8d97a8); font-size:11px; font-variant-numeric:tabular-nums; }
.vc-peak text { fill:#d3cdfa; font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.vc-cross { stroke:rgba(255,255,255,.35); stroke-width:1; }
.vc-line { stroke-dasharray:1; stroke-dashoffset:0; animation:vcDraw 1.1s cubic-bezier(.3,.7,.2,1) both; filter:drop-shadow(0 4px 10px rgba(144,133,233,.45)); }
.vc-area { animation:vcFade .9s .25s ease both; }
.vc-pulse { transform-box:fill-box; transform-origin:center; animation:vcPulse 2s ease-out infinite; }
.vc-tip { position:absolute; z-index:2; transform:translate(-50%,-100%); display:grid; gap:2px; padding:7px 11px; border-radius:10px; background:rgba(9,14,24,.92); border:1px solid rgba(255,255,255,.14); pointer-events:none; white-space:nowrap; text-align:center; box-shadow:0 10px 24px -8px rgba(0,0,0,.6); }
.vc-tip span { font-size:11.5px; color:var(--ink-3,#8d97a8); text-transform:capitalize; }
.vc-tip strong { font-size:14px; color:#fff; font-variant-numeric:tabular-nums; }

.vc-week { display:grid; gap:10px; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); }
.vc-week p { margin:0; font-size:13px; color:var(--ink-2,#c3cbd8); }
.vc-week strong { color:#fff; }
.vc-week-bars { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; height:64px; }
.vc-week-bars div { display:grid; grid-template-rows:1fr auto; gap:5px; justify-items:center; min-width:0; }
.vc-week-bars span { align-self:end; width:100%; max-width:26px; border-radius:6px 6px 3px 3px; background:rgba(144,133,233,.35); transform-origin:bottom; animation:vcGrow .7s cubic-bezier(.2,.8,.2,1) both; }
.vc-week-bars .is-best span { background:linear-gradient(180deg,#2dd4a0,#9085e9); box-shadow:0 6px 16px -6px rgba(45,212,160,.7); }
.vc-week-bars small { font-size:11px; color:var(--ink-3,#8d97a8); }
.vc-week-bars .is-best small { color:#fff; font-weight:700; }
.vc-link { justify-self:start; background:none; border:0; padding:0; cursor:pointer; font:inherit; }
.vc-empty { margin:0; font-size:13.5px; color:var(--ink-2,#c3cbd8); line-height:1.55; }
.vc-empty.is-error { color:#f2a0a0; }

/* Service section: rings + heatmap, under the overview row. */
.vc-service { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:24px; margin-top:24px; }
.vc-service[hidden] { display:none; }
html.dark .manager-polished .vc-goals { --accent:var(--c-blue); background:radial-gradient(80% 90% at 0% 0%,var(--c-blue-soft),transparent 70%),rgba(255,255,255,.05)!important; }
.vc-card { min-width:0; }
.vc-live { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:var(--ink-2,#c3cbd8); font-variant-numeric:tabular-nums; }
.vc-live i { width:8px; height:8px; border-radius:50%; background:#2dd4a0; box-shadow:0 0 0 0 rgba(45,212,160,.6); animation:vcLive 1.8s infinite; }
.vc-rings { display:flex; flex-wrap:wrap; align-items:center; gap:20px 24px; margin-top:8px; }
.vc-dial { position:relative; width:min(210px,100%); aspect-ratio:1; flex:none; max-width:100%; }
.vc-dial svg { width:100%; height:100%; display:block; }
.vc-arc { transition:stroke-dashoffset 1.2s cubic-bezier(.3,.7,.2,1); filter:drop-shadow(0 0 6px rgba(255,255,255,.12)); }
.vc-dial-center { position:absolute; inset:0; display:grid; place-content:center; text-align:center; gap:2px; }
.vc-dial-center strong { font:700 38px/1 Inter,system-ui,sans-serif; letter-spacing:-.03em; color:#fff; font-variant-numeric:tabular-nums; }
.vc-dial-center span { font-size:12.5px; color:var(--ink-2,#c3cbd8); }
.vc-dial-center small { font-size:11.5px; color:var(--ink-3,#8d97a8); }
.vc-legend { list-style:none; margin:0; padding:0; display:grid; gap:10px; flex:1; min-width:200px; }
.vc-legend li { display:grid; grid-template-columns:12px 1fr auto; grid-template-rows:auto auto; column-gap:10px; align-items:center; padding:10px 12px; border-radius:12px; background:rgba(4,8,16,.32); border:1px solid rgba(255,255,255,.07); }
.vc-legend i { grid-row:1 / span 2; width:12px; height:12px; border-radius:4px; }
.vc-legend span { font-size:13.5px; font-weight:600; color:var(--ink-1,#f4f7fb); }
.vc-legend span small { display:block; font-size:11.5px; font-weight:500; color:var(--ink-3,#8d97a8); }
.vc-legend strong { font-size:17px; color:#fff; font-variant-numeric:tabular-nums; text-align:right; }
.vc-legend em { grid-column:3; font-style:normal; font-size:11.5px; color:var(--ink-3,#8d97a8); text-align:right; font-variant-numeric:tabular-nums; }
.vc-note { margin:14px 0 0; font-size:13px; color:#fcd38a; }
.vc-foot { margin:12px 0 0; font-size:11.5px; color:var(--ink-3,#8d97a8); }

.vc-heat { display:grid; gap:4px; margin-top:6px; }
.vc-heat-row { display:grid; grid-template-columns:34px repeat(7,minmax(0,1fr)); gap:4px; }
.vc-heat-day,.vc-heat-hour { display:grid; place-items:center; font-size:11.5px; font-weight:600; color:var(--ink-3,#8d97a8); font-variant-numeric:tabular-nums; }
.vc-heat-hour { justify-items:start; }
.vc-heat-day.is-today,.vc-heat-hour.is-now { color:#fff; }
.vc-heat-day.is-today { text-decoration:underline 2px #2dd4a0; text-underline-offset:4px; }
.vc-cell { appearance:none; border:0; height:30px; border-radius:7px; color:rgba(255,255,255,.88); font:600 11.5px/1 inherit; font-variant-numeric:tabular-nums; cursor:pointer; animation:vcPop .45s cubic-bezier(.2,.9,.3,1.2) both; transition:transform .15s ease,box-shadow .15s ease; }
.vc-cell.is-hot { color:#1a1020; }
.vc-cell:hover { transform:scale(1.08); }
.vc-cell.is-sel { box-shadow:0 0 0 2px #fff; }
.vc-cell:focus-visible { outline:2px solid #d9e7fa; outline-offset:2px; }
.vc-heat-foot { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px 16px; margin-top:14px; }
.vc-heat-foot p { margin:0; font-size:13px; color:var(--ink-2,#c3cbd8); }
.vc-heat-foot strong { color:#fff; }
.vc-scale { display:flex; align-items:center; gap:3px; font-size:11px; color:var(--ink-3,#8d97a8); }
.vc-scale i { width:16px; height:8px; border-radius:2px; }
.vc-scale span:first-child { margin-right:4px; } .vc-scale span:last-child { margin-left:4px; }

@keyframes vcDraw { from { stroke-dashoffset:1; } }
@keyframes vcFade { from { opacity:0; } }
@keyframes vcGrow { from { transform:scaleY(0); } }
@keyframes vcPop { from { opacity:0; transform:scale(.6); } }
@keyframes vcPulse { 0% { opacity:.55; transform:scale(.5); } 100% { opacity:0; transform:scale(1.8); } }
@keyframes vcLive { 70% { box-shadow:0 0 0 8px rgba(45,212,160,0); } 100% { box-shadow:0 0 0 0 rgba(45,212,160,0); } }
@media (max-width:1180px) { .vc-service { grid-template-columns:1fr; } }
@media (max-width:768px) { .vc-service { gap:16px; margin-top:16px; } .vc-rings { justify-content:center; } }
@media (prefers-reduced-motion:reduce) { .vc-line,.vc-area,.vc-pulse,.vc-week-bars span,.vc-cell,.vc-live i { animation:none; } .vc-arc { transition:none; } }
