/* ============================================================================
   JARVIS OPERATIONS DASHBOARD - PRESENTATION
   Liquid glass / glassmorphism. Navy #0D1B2A · Blue #0046BE · Yellow #FFD600
   ============================================================================ */

:root {
  --navy:        #0D1B2A;
  --navy-deep:   #060E18;
  --navy-abyss:  #04090F;
  --blue:        #0046BE;
  --blue-bright: #2E6CF0;
  --blue-soft:   #6B9BFF;
  --yellow:      #FFD600;
  --yellow-soft: #FFE680;

  --ink:         #EAF1FF;
  --ink-dim:     #9DB2D4;
  --ink-faint:   #5E7396;

  --glass:        rgba(255,255,255,0.045);
  --glass-2:      rgba(255,255,255,0.07);
  --glass-edge:   rgba(255,255,255,0.10);
  --glass-edge-2: rgba(255,255,255,0.18);
  --glass-blur:   22px;

  --ok:    #34E0A1;
  --warn:  #FFB23E;
  --risk:  #FF8A5B;
  --block: #FF5C72;

  --shadow-soft: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lift: 0 24px 60px rgba(0,0,0,0.50);
  --glow-blue:   0 0 36px rgba(46,108,240,0.45);
  --glow-yellow: 0 0 30px rgba(255,214,0,0.30);

  --rail-w: 256px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--navy-deep);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- ambient backdrop ---------------------------------------------------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.aurora::before {
  width: 60vw; height: 60vw; top: -22vw; left: -12vw;
  background: radial-gradient(circle, rgba(0,70,190,.55), transparent 65%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora::after {
  width: 48vw; height: 48vw; bottom: -20vw; right: -10vw;
  background: radial-gradient(circle, rgba(255,214,0,.16), transparent 60%);
  animation: drift2 32s var(--ease) infinite alternate;
}
.grid-veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(120,160,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120,160,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw,-4vw) scale(1.2);  } }

/* ---- app shell ----------------------------------------------------------- */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: var(--rail-w) 1fr; height: 100vh; }

/* ---- left rail ----------------------------------------------------------- */
.rail {
  position: relative; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, rgba(13,27,42,.92), rgba(6,14,24,.86));
  border-right: 1px solid var(--glass-edge);
  backdrop-filter: blur(18px);
}
.brand { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding: 4px 6px 18px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none; position: relative;
  background: linear-gradient(140deg, var(--blue), #001a52);
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.brand-mark::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); box-shadow: var(--glow-yellow);
  animation: pulseDot 3s ease-in-out infinite;
}
.brand-plate {
  position: relative; border-radius: 16px; padding: 14px 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #eef4ff 55%, #dfe9fb 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 30px rgba(0,20,60,.45), 0 0 26px rgba(46,108,240,.35), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.brand-plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.brand-plate:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,20,60,.5), 0 0 36px rgba(46,108,240,.5), inset 0 1px 0 rgba(255,255,255,.9); }
.brand-plate:hover::after { transform: translateX(120%); }
.brand-logo-img { display: block; width: 100%; height: auto; }
.brand-tag {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint);
  text-align: center; font-weight: 600;
}
@keyframes pulseDot { 0%,100%{ transform: scale(1); opacity:.9 } 50%{ transform: scale(1.25); opacity:1 } }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: .2px; line-height: 1.1; }
.brand-sub { font-size: 10px; letter-spacing: 2.5px; color: var(--ink-faint); text-transform: uppercase; margin-top: 3px; }

.nav-group-label { font-size: 10px; letter-spacing: 2px; color: var(--ink-faint); text-transform: uppercase; padding: 14px 12px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm);
  color: var(--ink-dim); cursor: pointer; position: relative; font-size: 13.5px; font-weight: 500;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  border: 1px solid transparent;
}
.nav-item:hover { color: var(--ink); background: var(--glass); transform: translateX(2px); }
.nav-item.active {
  color: #fff; background: linear-gradient(100deg, rgba(0,70,190,.40), rgba(0,70,190,.10));
  border-color: var(--glass-edge-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.nav-item.active::before {
  content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 22px; border-radius: 0 4px 4px 0; background: var(--yellow); box-shadow: var(--glow-yellow);
}
.nav-ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; }
.nav-badge {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--yellow); color: #1a1300; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; box-shadow: var(--glow-yellow);
}
.rail-foot { margin-top: auto; padding: 12px; }
.op-chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--glass-edge);
}
.op-avatar { width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--yellow), #c79b00); color: #1a1300;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.op-name { font-size: 12.5px; font-weight: 700; }
.op-role { font-size: 10.5px; color: var(--ink-faint); }

/* ---- main ---------------------------------------------------------------- */
.main { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; gap: 16px; padding: 16px 28px;
  border-bottom: 1px solid var(--glass-edge);
  background: linear-gradient(180deg, rgba(13,27,42,.55), rgba(13,27,42,0));
  backdrop-filter: blur(10px); flex: none;
}
.crumb h1 { font-size: 19px; font-weight: 800; letter-spacing: .2px; }
.crumb p { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.status-pill-live {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(52,224,161,.10); border: 1px solid rgba(52,224,161,.35); color: var(--ok);
  font-size: 12px; font-weight: 700;
}
.status-pill-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulseDot 2.4s ease-in-out infinite; }
.clock {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge);
}

.scroll { flex: 1; overflow-y: auto; padding: 26px 28px 60px; scroll-behavior: smooth; }
.scroll::-webkit-scrollbar { width: 10px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(120,160,255,.22); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
.scroll::-webkit-scrollbar-thumb:hover { background: rgba(120,160,255,.4); background-clip: content-box; }

/* ---- view switching ------------------------------------------------------ */
.view { display: none; animation: viewIn .5s var(--ease); }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.section-head { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 18px; }
.section-head h2 { font-size: 17px; font-weight: 800; letter-spacing: .2px; }
.section-head .hint { font-size: 12.5px; color: var(--ink-dim); }
.section-head .spacer { margin-left: auto; }

/* ---- glass primitives ---------------------------------------------------- */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg); backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.07);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.10), transparent 38%);
  opacity: .7;
}
.glass-hover { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.glass-hover:hover { transform: translateY(-4px); border-color: var(--glass-edge-2); box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255,255,255,.12); }

/* ---- KPI strip ----------------------------------------------------------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { padding: 20px; overflow: hidden; }
.kpi .label { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); }
.kpi .value { font-size: 38px; font-weight: 800; line-height: 1.05; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kpi .value.accent { color: var(--yellow); text-shadow: var(--glow-yellow); }
.kpi .foot { font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.kpi .spark { position: absolute; right: -10px; bottom: -10px; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,108,240,.25), transparent 70%); }

/* ---- portfolio grid ------------------------------------------------------ */
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.pcard { padding: 20px; cursor: pointer; overflow: hidden; }
.pcard .glow-line { position: absolute; left: 0; top: 0; height: 100%; width: 4px; border-radius: 4px 0 0 4px; }
.pcard-top { display: flex; align-items: flex-start; gap: 12px; }
.pcard h3 { font-size: 16px; font-weight: 800; }
.pcard .kind { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; }
.pcard .summary { font-size: 13px; color: var(--ink-dim); line-height: 1.55; margin: 14px 0 16px; }
.pcard-foot { display: flex; align-items: center; gap: 10px; }
.pcard .lead-chip { font-size: 11px; color: var(--ink-dim); display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lead-dot { width: 8px; height: 8px; border-radius: 50%; }

/* health bar */
.hbar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 4px; }
.hbar > span { display: block; height: 100%; border-radius: 999px; transition: width 1s var(--ease); }

/* status pill */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px; border: 1px solid transparent; }
.pill .pdot { width: 7px; height: 7px; border-radius: 50%; }
.pill.on-track { color: var(--ok);   background: rgba(52,224,161,.10); border-color: rgba(52,224,161,.32); }
.pill.on-track .pdot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pill.at-risk { color: var(--risk);  background: rgba(255,138,91,.10); border-color: rgba(255,138,91,.32); }
.pill.at-risk .pdot { background: var(--risk); box-shadow: 0 0 8px var(--risk); }
.pill.blocked { color: var(--block); background: rgba(255,92,114,.10); border-color: rgba(255,92,114,.34); }
.pill.blocked .pdot { background: var(--block); box-shadow: 0 0 8px var(--block); animation: pulseDot 1.8s ease-in-out infinite; }

/* ---- projects view ------------------------------------------------------- */
.proj-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.proj-tab {
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-edge); color: var(--ink-dim);
  transition: all .3s var(--ease); display: flex; align-items: center; gap: 9px;
}
.proj-tab:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--glass-edge-2); }
.proj-tab.active { color: #fff; background: linear-gradient(100deg, rgba(0,70,190,.45), rgba(0,70,190,.12)); border-color: var(--blue-soft); box-shadow: var(--glow-blue); }

.proj-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.panel { padding: 22px; }
.panel h3 { font-size: 14px; font-weight: 800; letter-spacing: .3px; display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.panel .sub { font-size: 12.5px; color: var(--ink-dim); margin-bottom: 18px; line-height: 1.5; }

/* roadmap strip */
.roadmap { position: relative; padding-left: 6px; }
.rm-step { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.rm-step:last-child { padding-bottom: 0; }
.rm-step::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: -2px; width: 2px; background: rgba(255,255,255,.10); }
.rm-step:last-child::before { display: none; }
.rm-node { width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 1px; z-index: 1; position: relative;
  display: grid; place-items: center; border: 2px solid; background: var(--navy-deep); }
.rm-node.done   { border-color: var(--ok); box-shadow: 0 0 10px rgba(52,224,161,.5); }
.rm-node.done::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.rm-node.active { border-color: var(--yellow); box-shadow: 0 0 12px rgba(255,214,0,.55); animation: pulseRing 2s ease-in-out infinite; }
.rm-node.active::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.rm-node.blocked { border-color: var(--block); box-shadow: 0 0 10px rgba(255,92,114,.5); }
.rm-node.blocked::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--block); }
.rm-node.todo { border-color: var(--ink-faint); }
@keyframes pulseRing { 0%,100%{ box-shadow: 0 0 8px rgba(255,214,0,.4) } 50%{ box-shadow: 0 0 18px rgba(255,214,0,.7) } }
.rm-body .rm-label { font-size: 13.5px; font-weight: 600; }
.rm-body .rm-state { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; margin-top: 3px; }
.rm-state.done { color: var(--ok); } .rm-state.active { color: var(--yellow); }
.rm-state.blocked { color: var(--block); } .rm-state.todo { color: var(--ink-faint); }
.goal-flag { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 10px; font-weight: 700;
  color: var(--yellow); background: rgba(255,214,0,.10); border: 1px solid rgba(255,214,0,.3); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* manual tasks */
.mtask { padding: 16px; border-radius: var(--r-md); background: var(--glass);
  border: 1px solid var(--glass-edge); margin-bottom: 14px; transition: all .35s var(--ease); cursor: pointer; }
.mtask:hover { background: var(--glass-2); border-color: var(--glass-edge-2); transform: translateX(3px); }
.mtask-head { display: flex; align-items: center; gap: 10px; }
.mtask-head h4 { font-size: 14px; font-weight: 700; }
.imp { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.imp.high { color: var(--block); background: rgba(255,92,114,.12); }
.imp.medium { color: var(--warn); background: rgba(255,178,62,.12); }
.imp.low { color: var(--ink-dim); background: rgba(157,178,212,.10); }
.mtask .plain { font-size: 12.8px; color: var(--ink-dim); line-height: 1.55; margin: 9px 0 4px; }
.mtask-steps { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), margin .45s var(--ease); }
.mtask.open .mtask-steps { max-height: 320px; margin-top: 12px; }
.mtask-steps ol { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 9px; }
.mtask-steps li { counter-increment: s; display: flex; gap: 11px; font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.mtask-steps li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(0,70,190,.3);
  border: 1px solid var(--blue-soft); color: var(--blue-soft); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mtask-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; color: var(--ink-faint); }
.chevs { margin-left: auto; transition: transform .35s var(--ease); }
.mtask.open .chevs { transform: rotate(180deg); }

/* ---- needs-you inbox ----------------------------------------------------- */
.inbox-list { display: flex; flex-direction: column; gap: 12px; }
.inbox-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; transition: all .35s var(--ease); cursor: pointer; }
.inbox-item:hover { transform: translateX(4px); }
.itype { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; text-align: center; line-height: 1.1; }
.itype.approve { background: rgba(0,70,190,.2);   color: var(--blue-soft); border: 1px solid rgba(107,155,255,.4); }
.itype.pick    { background: rgba(255,214,0,.14);  color: var(--yellow);    border: 1px solid rgba(255,214,0,.4); }
.itype.action  { background: rgba(255,92,114,.14); color: var(--block);     border: 1px solid rgba(255,92,114,.4); }
.itype.decision{ background: rgba(52,224,161,.14); color: var(--ok);        border: 1px solid rgba(52,224,161,.4); }
.inbox-body { flex: 1; min-width: 0; }
.inbox-body .it-title { font-size: 14px; font-weight: 700; }
.inbox-body .it-plain { font-size: 12.5px; color: var(--ink-dim); margin-top: 3px; line-height: 1.45; }
.inbox-meta { display: flex; align-items: center; gap: 10px; flex: none; }
.proj-tag { font-size: 11px; font-weight: 600; color: var(--ink-dim); padding: 5px 11px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); }
.urg { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.urg.high { background: var(--block); box-shadow: 0 0 10px var(--block); animation: pulseDot 1.8s ease-in-out infinite; }
.urg.medium { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.urg.low { background: var(--ink-faint); }
.it-act { font-size: 12px; font-weight: 700; color: var(--navy-deep); background: var(--yellow); padding: 9px 16px; border-radius: 10px;
  box-shadow: var(--glow-yellow); transition: transform .25s var(--ease); white-space: nowrap; }
.inbox-item:hover .it-act { transform: scale(1.05); }

/* ---- agents / org tree --------------------------------------------------- */
.org-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.org-canvas { padding: 30px 24px; overflow-x: auto; }
.org-coo { display: flex; justify-content: center; margin-bottom: 8px; }
.node-card {
  position: relative; padding: 14px 16px; border-radius: var(--r-md); cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--glass-edge); min-width: 150px;
  transition: all .35s var(--ease); backdrop-filter: blur(12px);
}
.node-card:hover { transform: translateY(-3px); border-color: var(--glass-edge-2); box-shadow: var(--shadow-lift); }
.node-card.selected { border-color: var(--yellow); box-shadow: var(--glow-yellow); }
.node-card.coo { min-width: 230px; background: linear-gradient(135deg, rgba(0,70,190,.32), rgba(0,70,190,.08)); border-color: var(--blue-soft); box-shadow: var(--glow-blue); }
.node-card.director { background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); }
.nc-top { display: flex; align-items: center; gap: 11px; }
.nc-ava { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #04090f; }
.nc-ava.has-img, .ad-ava.has-img { overflow: hidden; }
.nc-ava.has-img img, .ad-ava.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-name { font-size: 13.5px; font-weight: 800; }
.nc-role { font-size: 10.5px; color: var(--ink-dim); margin-top: 2px; }
.nc-status { position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; }
.nc-status.online { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.nc-status.idle { background: var(--ink-faint); }
.mascot-badge { position: absolute; top: -8px; left: -8px; font-size: 9px; font-weight: 800; letter-spacing: .5px;
  background: var(--yellow); color: #1a1300; padding: 2px 7px; border-radius: 999px; box-shadow: var(--glow-yellow); }

.org-connector { height: 26px; width: 2px; margin: 0 auto; background: linear-gradient(rgba(120,160,255,.5), rgba(120,160,255,.12)); }
.org-depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.dept-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dept-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); text-align: center; }
.dept-agents { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.agent-mini { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--glass); border: 1px solid var(--glass-edge); cursor: pointer; transition: all .3s var(--ease); }
.agent-mini:hover { background: var(--glass-2); transform: translateX(3px); border-color: var(--glass-edge-2); }
.agent-mini.selected { border-color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255,214,0,.3); }
.am-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.am-name { font-size: 12px; font-weight: 600; }
.am-role { font-size: 10px; color: var(--ink-faint); }

/* agent detail panel */
.agent-detail { padding: 24px; position: sticky; top: 0; }
.ad-empty { color: var(--ink-faint); font-size: 13px; text-align: center; padding: 40px 10px; line-height: 1.6; }
.ad-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ad-ava { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #04090f; }
.ad-name { font-size: 18px; font-weight: 800; }
.ad-role { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.ad-person { font-size: 13px; color: var(--ink-dim); line-height: 1.55; font-style: italic; padding: 14px; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--glass-edge); margin-bottom: 18px; }
.ad-sect-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(0,70,190,.16);
  border: 1px solid rgba(107,155,255,.3); color: var(--blue-soft); }
.chip.res { background: rgba(255,214,0,.08); border-color: rgba(255,214,0,.25); color: var(--yellow-soft); }

/* ---- knowledge brain ----------------------------------------------------- */
.brain-hero { position: relative; height: 660px; overflow: hidden; margin-bottom: 20px; padding: 0; }
.brain-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brain-overlay { position: absolute; top: 22px; left: 24px; z-index: 2; pointer-events: none; }
.brain-overlay h2 { font-size: 19px; font-weight: 800; }
.brain-overlay p { font-size: 12.5px; color: var(--ink-dim); margin-top: 4px; max-width: 340px; line-height: 1.5; }
.brain-legend { position: absolute; bottom: 18px; left: 22px; z-index: 2; display: flex; flex-direction: column; gap: 7px;
  width: max-content; max-width: 320px; padding: 12px 14px; border-radius: 13px;
  background: rgba(8,14,28,0.72); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); pointer-events: none; }
.bl-title { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.bl-row { display: flex; flex-wrap: wrap; gap: 7px 15px; }
.bl-sep { height: 1px; background: rgba(255,255,255,0.09); margin: 1px 0; }
.bl-item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-dim); }
.bl-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bl-shape { width: 10px; height: 10px; flex: none; box-sizing: border-box; }
.bl-shape.skill { border-radius: 50%; background: var(--ink); box-shadow: 0 0 7px rgba(234,241,255,0.55); }
.bl-shape.note { border-radius: 50%; background: transparent; border: 1.6px solid var(--ink); }
.brain-stat { position: absolute; top: 22px; right: 24px; z-index: 2; text-align: right; pointer-events: none; }
.brain-stat .bs-val { font-size: 30px; font-weight: 800; color: var(--yellow); text-shadow: var(--glow-yellow); font-variant-numeric: tabular-nums; }
.brain-stat .bs-lab { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint); }
.brain-tooltip { position: absolute; z-index: 5; pointer-events: none; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 600;
  background: rgba(6,14,24,.92); border: 1px solid var(--glass-edge-2); box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s; white-space: nowrap; }
.brain-tooltip.show { opacity: 1; transform: none; }

.brain-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

/* drop zone */
.dropzone { padding: 22px; }
.dz-area { border: 1.5px dashed rgba(107,155,255,.4); border-radius: var(--r-md); padding: 26px; text-align: center;
  transition: all .35s var(--ease); background: rgba(0,70,190,.05); }
.dz-area.drag { border-color: var(--yellow); background: rgba(255,214,0,.06); transform: scale(1.01); }
.dz-ico { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #001a52); box-shadow: var(--glow-blue); }
.dz-area h4 { font-size: 14px; font-weight: 700; }
.dz-area p { font-size: 12px; color: var(--ink-dim); margin-top: 5px; }
.dz-input { width: 100%; margin-top: 16px; padding: 13px 15px; border-radius: var(--r-sm); font-size: 13px; color: var(--ink);
  background: rgba(6,14,24,.6); border: 1px solid var(--glass-edge); outline: none; transition: border-color .3s; font-family: inherit; }
.dz-input:focus { border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(0,70,190,.18); }
/* Visible keyboard focus for any interactive element. */
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; border-radius: 4px; }
.dz-send:focus-visible { outline-color: var(--yellow); }
textarea.dz-input { resize: vertical; min-height: 70px; line-height: 1.5; }
.dz-note { font-size: 11px; color: var(--ink-faint); margin: 10px 2px 0; }
.dz-send { width: 100%; margin-top: 14px; padding: 13px; border-radius: var(--r-sm); border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 800; color: var(--navy-deep); background: linear-gradient(100deg, var(--yellow), var(--yellow-soft));
  box-shadow: var(--glow-yellow); transition: transform .25s var(--ease), filter .25s; font-family: inherit; }
.dz-send:hover { transform: translateY(-2px); filter: brightness(1.05); }
.dz-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* pipeline */
.pipeline { padding: 22px; }
.pl-track { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.pl-stage { display: flex; gap: 14px; padding-bottom: 18px; position: relative; opacity: .45; transition: opacity .4s var(--ease); }
.pl-stage:last-child { padding-bottom: 0; }
.pl-stage::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: rgba(255,255,255,.08); }
.pl-stage:last-child::before { display: none; }
.pl-stage.active, .pl-stage.complete { opacity: 1; }
.pl-orb { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--navy-deep); border: 2px solid var(--ink-faint); transition: all .4s var(--ease); }
.pl-stage.active .pl-orb { border-color: var(--yellow); box-shadow: 0 0 16px rgba(255,214,0,.6); animation: pulseRing 1.4s ease-in-out infinite; }
.pl-stage.complete .pl-orb { border-color: var(--ok); box-shadow: 0 0 10px rgba(52,224,161,.5); }
.pl-orb svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 2; opacity: 0; transition: opacity .3s; }
.pl-stage.complete .pl-orb svg { opacity: 1; stroke: var(--ok); }
.pl-stage.active .pl-orb::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.pl-label { font-size: 13.5px; font-weight: 700; }
.pl-plain { font-size: 11.5px; color: var(--ink-dim); margin-top: 2px; }
.pl-stage.active .pl-label { color: var(--yellow); }

/* digest */
.digest-feed { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.digest-card { padding: 16px 18px; border-left: 3px solid var(--blue-soft); animation: viewIn .5s var(--ease); }
.digest-card.fresh { border-left-color: var(--yellow); box-shadow: var(--glow-yellow); }
.dg-head { display: flex; align-items: center; gap: 10px; }
.dg-head h4 { font-size: 14px; font-weight: 700; }
.dg-src { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.dg-fresh-tag { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; color: #1a1300; background: var(--yellow); padding: 3px 8px; border-radius: 999px; }
.dg-row { font-size: 12.5px; color: var(--ink-dim); line-height: 1.5; margin-top: 10px; display: flex; gap: 8px; }
.dg-row .k { color: var(--ink-faint); font-weight: 700; flex: none; min-width: 78px; }
.dg-route { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--blue-soft);
  background: rgba(0,70,190,.14); border: 1px solid rgba(107,155,255,.3); padding: 4px 10px; border-radius: 999px; }

/* ---- OS health ----------------------------------------------------------- */
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.health-grid.top { grid-template-columns: 1.4fr 1fr; margin-bottom: 18px; }
.feed-item { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.feed-item:last-child { border-bottom: none; }
.sev { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 5px; }
.sev.high { background: var(--block); box-shadow: 0 0 8px var(--block); }
.sev.medium { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.sev.low { background: var(--ink-faint); }
.feed-item .fi-title { font-size: 13.5px; font-weight: 700; }
.feed-item .fi-plain { font-size: 12px; color: var(--ink-dim); margin-top: 3px; line-height: 1.5; }
.feed-item .fi-date { font-size: 11px; color: var(--ink-faint); margin-left: auto; flex: none; }
.done-ico { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); flex: none; margin-top: 5px; }
.token-ring { display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 130px; height: 130px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .rv { position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; text-align: center; }
.ring .rv .pct { font-size: 26px; font-weight: 800; color: var(--yellow); }
.ring .rv .pl { font-size: 10px; color: var(--ink-faint); letter-spacing: 1px; text-transform: uppercase; }
.token-meta .tm-val { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.token-meta .tm-lab { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.token-meta .tm-row { margin-bottom: 14px; }

/* ---- suggestions --------------------------------------------------------- */
.sugg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.sugg-card { padding: 20px; display: flex; flex-direction: column; gap: 0; }
.sugg-card.weekly { border-color: rgba(255,214,0,.35); background: linear-gradient(160deg, rgba(255,214,0,.06), var(--glass)); }
.sg-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.sg-ava { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #04090f;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue)); }
.sg-agent { font-size: 13px; font-weight: 800; }
.sg-role { font-size: 10.5px; color: var(--ink-faint); }
.sg-cat { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--ink-dim); border: 1px solid var(--glass-edge); }
.sg-cat.trend { color: var(--yellow); background: rgba(255,214,0,.1); border-color: rgba(255,214,0,.3); }
.sg-cat.growth { color: var(--ok); background: rgba(52,224,161,.1); border-color: rgba(52,224,161,.3); }
.sugg-card h4 { font-size: 15px; font-weight: 800; line-height: 1.3; }
.sugg-card .sg-plain { font-size: 13px; color: var(--ink-dim); line-height: 1.55; margin: 10px 0 16px; flex: 1; }
.sg-foot { display: flex; align-items: center; gap: 10px; }
.sg-impact { font-size: 11px; color: var(--ink-faint); display: flex; align-items: center; gap: 6px; }
.sg-act { margin-left: auto; font-size: 12px; font-weight: 700; padding: 8px 15px; border-radius: 9px; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--glass-edge-2); color: var(--ink); transition: all .25s var(--ease); }
.sg-act:hover { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); box-shadow: var(--glow-yellow); }
.weekly-ribbon { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 12px; }

/* ---- toast --------------------------------------------------------------- */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { padding: 13px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(6,14,24,.94); border: 1px solid var(--glass-edge-2); box-shadow: var(--shadow-lift); backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 10px; animation: toastIn .4s var(--ease); }
.toast .td { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: var(--glow-yellow); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- NEURA'S BRIEF ------------------------------------------------------- */
.brief { padding: 22px 24px; margin-bottom: 22px; overflow: hidden; position: relative; }
.brief::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--blue));
  background-size: 200% 100%; animation: briefSheen 6s linear infinite; opacity: .8;
}
@keyframes briefSheen { to { background-position: 200% 0; } }
.brief-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--glass-edge); }
.brief-id { display: flex; align-items: center; gap: 12px; }
.brief-ava { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, var(--blue), #001a52); color: #fff; box-shadow: var(--glow-blue); overflow: hidden; }
.brief-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brief-by { font-size: 16px; font-weight: 800; }
.brief-role { font-size: 11.5px; color: var(--ink-dim); margin-top: 2px; }
.brief-foresight { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.bf-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.bf-goal { max-width: 320px; }
.bf-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 6px; }
.bf-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--yellow-soft)); box-shadow: var(--glow-yellow); animation: growBar 1.2s var(--ease); }
@keyframes growBar { from { width: 0 !important; } }
.bf-line { font-size: 11.5px; color: var(--ink-dim); line-height: 1.45; }
.bf-coming { max-width: 320px; }
.brief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brief-col-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.brief-dot { width: 8px; height: 8px; border-radius: 50%; }
.brief-count { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--ink-dim); background: var(--glass); border: 1px solid var(--glass-edge); padding: 1px 8px; border-radius: 999px; }
.brief-col.needs .brief-col-head { color: var(--yellow); } .brief-col.needs .brief-dot { background: var(--yellow); box-shadow: var(--glow-yellow); }
.brief-col.blocked .brief-col-head { color: var(--block); } .brief-col.blocked .brief-dot { background: var(--block); box-shadow: 0 0 8px var(--block); }
.brief-col.done .brief-col-head { color: var(--ok); } .brief-col.done .brief-dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.brief-items { display: flex; flex-direction: column; gap: 9px; }
.brief-item { padding: 11px 13px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--glass-edge); cursor: pointer; transition: all .3s var(--ease); }
.brief-item:hover { background: var(--glass-2); border-color: var(--glass-edge-2); transform: translateX(3px); }
.bi-proj { font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 3px; }
.bi-line { font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.bi-action { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--navy-deep); background: var(--yellow); padding: 4px 10px; border-radius: 7px; }

/* ---- AGENTS extras ------------------------------------------------------- */
.org-caption { text-align: center; font-size: 12px; color: var(--ink-dim); max-width: 520px; margin: 12px auto 0; line-height: 1.5; }
.dept-col { padding: 14px 12px; border-radius: var(--r-md); background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); }
.open-role { border-style: dashed !important; opacity: .85; }
.open-role .am-dot.open { background: transparent; border: 1.5px dashed var(--ink-faint); }
.open-role .open-tag { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(255,214,0,.1); border: 1px dashed rgba(255,214,0,.4); color: var(--yellow); font-weight: 800; font-size: 14px; }
.org-brain-link { margin-top: 26px; text-align: center; position: relative; }
.obl-line { width: 2px; height: 28px; margin: 0 auto 12px; background: linear-gradient(rgba(255,214,0,.12), rgba(255,214,0,.55)); }
.obl-core { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,214,0,.14), rgba(0,70,190,.14)); border: 1px solid rgba(255,214,0,.35); color: var(--yellow-soft);
  box-shadow: var(--glow-yellow); }
.obl-note { font-size: 11.5px; color: var(--ink-dim); max-width: 460px; margin: 10px auto 0; line-height: 1.5; }

/* ---- DELEGATION FLOW ----------------------------------------------------- */
.deleg-play { font-size: 12px; font-weight: 700; padding: 8px 15px; border-radius: 9px; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--glass-edge-2); color: var(--ink); transition: all .25s var(--ease); }
.deleg-play:hover { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); box-shadow: var(--glow-yellow); }
.deleg { padding: 24px; }
.deleg-req { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 22px; }
.deleg-quote { font-size: 16px; font-weight: 700; color: var(--ink); padding: 10px 18px; border-radius: 12px;
  background: rgba(0,70,190,.14); border: 1px solid rgba(107,155,255,.3); }
.deleg-reqlabel { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint); }
.deleg-chain { display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: wrap; margin-bottom: 22px; }
.deleg-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); position: relative;
  opacity: .35; filter: grayscale(.5); transition: all .5s var(--ease); }
.deleg-step.lit { opacity: 1; filter: none; }
.deleg-step.lit .ds-node { box-shadow: var(--glow-blue); border-color: var(--blue-soft); }
.ds-node { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--blue), #001a52); border: 1px solid transparent; transition: all .5s var(--ease); }
.ds-actor { font-size: 13px; font-weight: 800; }
.ds-label { font-size: 11px; color: var(--ink-dim); margin-top: 2px; max-width: 150px; line-height: 1.35; }
.ds-arrow { font-size: 22px; color: var(--ink-faint); margin: 0 6px; align-self: center; }
.deleg-step.lit .ds-arrow { color: var(--yellow); }
.deleg-subs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.deleg-sub { padding: 16px; border-radius: var(--r-md); text-align: center; background: var(--glass); border: 1px solid var(--glass-edge);
  opacity: 0; transform: translateY(12px); transition: all .45s var(--ease); }
.deleg-sub.lit { opacity: 1; transform: none; border-color: rgba(255,214,0,.35); box-shadow: 0 0 18px rgba(255,214,0,.12); }
.dsub-task { font-size: 13px; font-weight: 700; }
.dsub-agent { font-size: 11px; color: var(--yellow-soft); margin-top: 6px; font-weight: 600; }
.deleg-return { text-align: center; font-size: 12.5px; color: var(--ink-dim); padding: 14px; border-radius: var(--r-md);
  background: rgba(52,224,161,.06); border: 1px solid rgba(52,224,161,.2); opacity: 0; transition: opacity .5s var(--ease); }
.deleg-return.lit { opacity: 1; }
.ad-tagline { font-size: 12.5px; color: var(--ink); line-height: 1.5; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(0,70,190,.1); border: 1px solid rgba(107,155,255,.25); margin-bottom: 14px; }

/* ---- utility ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
/* Reveal-safe + reduced motion: never leave content hidden if animations are off. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
.full-note { font-size: 12px; color: var(--ink-faint); text-align: center; padding: 16px; }

@media (max-width: 1180px) {
  .proj-grid, .brain-cols, .health-grid, .health-grid.top { grid-template-columns: 1fr; }
  .org-wrap { grid-template-columns: 1fr; }
  .agent-detail { position: relative; }
  .org-depts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --rail-w: 72px; }
  .brand-tag, .nav-item span, .nav-group-label, .op-name, .op-role, .nav-internal { display: none; }
  .fin-kpis, .token-detail, .fin-clients { grid-template-columns: 1fr 1fr; }
  .brand { padding: 2px 0 14px; }
  .brand-plate { padding: 7px; border-radius: 12px; }
  .nav-item { justify-content: center; }
  .op-chip { justify-content: center; padding: 8px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; padding: 14px 16px; }
  .topbar-right { width: 100%; margin-left: 0; }
  .crumb h1 { font-size: 17px; }
  .scroll { padding: 18px 14px 50px; }
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 16px; }
  .kpi .value { font-size: 28px; }
  .portfolio { grid-template-columns: 1fr; }
  .sugg-grid { grid-template-columns: 1fr; }
  .org-depts { grid-template-columns: 1fr; }
  .inbox-item { flex-wrap: wrap; }
  .inbox-meta { width: 100%; margin-left: 56px; }
  .it-act { margin-left: auto; }
  .token-ring { flex-direction: column; align-items: flex-start; }
  .brain-hero { height: 520px; }
  .brain-legend { max-width: 78%; }
  .brain-dept-panel { width: 100%; }
  .brain-overlay h2 { font-size: 15px; }
  .brain-overlay { max-width: 60%; }
  .brain-stat .bs-val { font-size: 21px; }
  .brain-stat .bs-lab { font-size: 9px; }
  .brain-overlay p { max-width: 220px; }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-foresight { margin-left: 0; gap: 16px; }
  .deleg-subs { grid-template-columns: 1fr 1fr; }
  .deleg-chain { flex-direction: column; align-items: stretch; }
  .deleg-step .ds-arrow { display: none; }
}
@media (max-width: 1180px) {
  .org-depts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .org-depts { grid-template-columns: 1fr; }
}

/* ===========================================================================
   v1.2 ADDITIONS: brain dept panel, token breakdown, financial tab
   =========================================================================== */

/* ---- nav internal-use marker (Financial) --------------------------------- */
.nav-internal { margin-left: auto; display: inline-flex; align-items: center; }
.nav-lock { width: 13px; height: 13px; stroke: var(--ink-faint); fill: none; stroke-width: 1.8; }
.nav-item.active .nav-lock { stroke: var(--yellow); }

/* ---- brain: clickable department panel ----------------------------------- */
.brain-hint { position: absolute; bottom: 18px; right: 22px; z-index: 2; font-size: 11.5px; color: var(--ink-dim);
  background: rgba(8,14,28,0.72); border: 1px solid var(--glass-edge); border-radius: 999px; padding: 7px 13px;
  backdrop-filter: blur(10px); pointer-events: none; transition: opacity .35s var(--ease); }
.brain-hint::before { content: "↗ "; color: var(--yellow); }
.brain-hint.hide { opacity: 0; }

.brain-dept-panel { --dept-accent: var(--blue-soft);
  position: absolute; top: 0; right: 0; bottom: 0; width: 348px; z-index: 6;
  background: linear-gradient(180deg, rgba(10,18,34,0.97), rgba(6,12,22,0.97));
  border-left: 1px solid var(--glass-edge-2); box-shadow: -24px 0 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px); transform: translateX(100%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column; overflow: hidden; }
.brain-dept-panel.open { transform: translateX(0); }
.brain-dept-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--dept-accent); box-shadow: 0 0 16px var(--dept-accent); }
.bdp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--glass-edge); }
.bdp-kicker { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.bdp-head h3 { font-size: 18px; font-weight: 800; margin-top: 5px; color: var(--dept-accent); }
.bdp-sub { font-size: 11.5px; color: var(--ink-dim); margin-top: 5px; }
.bdp-close { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--glass-edge);
  background: var(--glass); color: var(--ink-dim); font-size: 20px; line-height: 1; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s; }
.bdp-close:hover { color: var(--ink); border-color: var(--glass-edge-2); background: var(--glass-2); }
.bdp-body { padding: 18px 20px 22px; overflow-y: auto; }
.bdp-sect-label { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-faint);
  font-weight: 800; margin: 18px 0 10px; }
.bdp-body .bdp-sect-label:first-child { margin-top: 0; }
.bdp-body .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bdp-none { font-size: 12px; color: var(--ink-faint); }
.bdp-pending { display: flex; gap: 12px; align-items: flex-start; padding: 14px;
  border-radius: var(--r-sm); background: rgba(255,214,0,0.05); border: 1px dashed rgba(255,214,0,0.3); }
.bdp-pulse { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 4px;
  background: var(--yellow); box-shadow: 0 0 10px var(--yellow); animation: pulseDot 2s ease-in-out infinite; }
.bdp-pending-title { font-size: 12.5px; font-weight: 700; color: var(--yellow-soft); }
.bdp-pending-plain { font-size: 12px; color: var(--ink-dim); margin-top: 4px; line-height: 1.5; }

/* ---- brain node panel (single skill / note) ------------------------------ */
.bdp-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); }
.bdp-file-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 15px; border-radius: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
  color: #fff; background: var(--dept-accent); border: 1px solid var(--dept-accent);
  box-shadow: 0 6px 18px -8px var(--dept-accent); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.bdp-file-btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 24px -8px var(--dept-accent); }
.bdp-file-btn:disabled { opacity: .6; cursor: default; transform: none; }
.bdp-file { display: none; margin-top: 14px; padding: 14px 14px 16px; max-height: 360px; overflow-y: auto;
  border-radius: var(--r-sm); background: rgba(4,9,18,0.6); border: 1px solid var(--glass-edge); }
.bdp-file.open { display: block; }
.bdp-file .md-h { color: var(--ink); font-weight: 800; margin: 12px 0 6px; line-height: 1.35; font-size: 13.5px; }
.bdp-file h5.md-h { font-size: 12.5px; }
.bdp-file h6.md-h { font-size: 11.5px; color: var(--ink-dim); }
.bdp-file .md-p { font-size: 12.5px; line-height: 1.6; color: var(--ink-dim); margin: 7px 0; }
.bdp-file .md-ul { margin: 7px 0 7px 4px; padding-left: 16px; }
.bdp-file .md-ul li { font-size: 12.5px; line-height: 1.55; color: var(--ink-dim); margin: 4px 0; }
.bdp-file .md-code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px;
  white-space: pre-wrap; word-break: break-word; background: rgba(0,0,0,0.4); border: 1px solid var(--glass-edge);
  border-radius: 8px; padding: 10px 12px; margin: 8px 0; color: var(--blue-soft); }
.bdp-file code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11.5px;
  background: rgba(255,255,255,0.07); padding: 1px 5px; border-radius: 5px; color: var(--ink); }
.bdp-file strong { color: var(--ink); font-weight: 700; }
.bdp-fileerr { font-size: 12px; line-height: 1.55; color: var(--ink-faint); }
.bdp-gate { display: flex; gap: 12px; align-items: flex-start; padding: 14px;
  border-radius: var(--r-sm); background: rgba(255,214,0,0.05); border: 1px dashed rgba(255,214,0,0.32); }
.bdp-gate-ico { flex: none; color: var(--yellow); display: inline-flex; margin-top: 1px; }
.bdp-gate-ico svg { width: 16px; height: 16px; }
.bdp-gate-title { font-size: 12.5px; font-weight: 800; color: var(--yellow-soft); }
.bdp-gate-plain, .bdp-live-plain { font-size: 12px; color: var(--ink-dim); margin-top: 4px; line-height: 1.5; }
.bdp-live { padding: 13px 14px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--glass-edge); }
.bdp-live-title { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.bdp-path { display: inline-block; margin-top: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px; color: var(--ink-dim); background: rgba(0,0,0,0.35); padding: 4px 8px; border-radius: 6px;
  border: 1px solid var(--glass-edge); word-break: break-all; }

/* ---- token breakdown (OS Health) ----------------------------------------- */
.token-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-bottom: 0; }
.tk-stack { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); margin: 6px 0 16px; }
.tk-seg { display: block; height: 100%; transition: width 1s var(--ease); }
.tk-seg + .tk-seg { box-shadow: inset 1px 0 0 rgba(6,12,22,.5); }
.tk-legend { display: flex; flex-direction: column; gap: 13px; }
.tk-leg { padding-left: 11px; border-left: 2px solid transparent; }
.tk-leg.sink { border-left-color: var(--yellow); }
.tk-leg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-key { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.tk-chip { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tk-pct { font-size: 13px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tk-sinktag { font-size: 9.5px; letter-spacing: .5px; text-transform: uppercase; font-weight: 800; color: #1a1300;
  background: var(--yellow); border-radius: 5px; padding: 2px 6px; margin-left: 4px; vertical-align: middle; }
.tk-leg-plain { font-size: 12px; color: var(--ink-dim); margin-top: 4px; line-height: 1.5; }
.tk-projs { display: flex; flex-direction: column; gap: 12px; }
.tk-proj { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 12px; align-items: center; }
.tk-proj-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tk-proj-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.tk-proj-client { font-size: 11px; color: var(--ink-faint); }
.tk-proj-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.tk-proj-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-soft)); transition: width 1s var(--ease); }
.tk-proj.top .tk-proj-bar > span { background: linear-gradient(90deg, var(--yellow), var(--yellow-soft)); box-shadow: var(--glow-yellow); }
.tk-proj-val { font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-proj-share { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); }
.tk-recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tk-rec { padding: 15px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--glass-edge); }
.tk-rec.sink { border-color: rgba(255,214,0,.32); background: rgba(255,214,0,.05); }
.tk-rec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.tk-rec-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.tk-save { font-size: 11px; font-weight: 800; color: var(--ok); white-space: nowrap; }
.tk-rec-plain { font-size: 12px; color: var(--ink-dim); line-height: 1.5; }

/* ---- financial tab ------------------------------------------------------- */
.fin-warn { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; margin-bottom: 22px;
  border: 1px solid rgba(255,214,0,.3); background: rgba(255,214,0,.05); }
.fin-warn strong { color: var(--yellow-soft); }
.fin-warn div { font-size: 12.5px; color: var(--ink-dim); line-height: 1.55; }
.fin-lock { width: 20px; height: 20px; flex: none; margin-top: 1px; stroke: var(--yellow); fill: none; stroke-width: 1.8; }
.fin-warn code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--ink);
  background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 5px; }
.ph { font-size: 9.5px; letter-spacing: .4px; text-transform: uppercase; font-weight: 700; color: var(--ink-faint);
  background: rgba(255,255,255,.07); border: 1px solid var(--glass-edge); border-radius: 5px; padding: 1px 6px; vertical-align: middle; }

.fin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.fin-kpis .value { font-size: 30px; }

.fin-goal { padding: 20px 22px; margin-bottom: 26px; }
.fg-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.fg-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.fg-line { font-size: 13px; color: var(--ink-dim); margin-top: 6px; }
.fg-pct { font-size: 30px; font-weight: 800; color: var(--yellow); text-shadow: var(--glow-yellow); font-variant-numeric: tabular-nums; }
.fg-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.fg-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--yellow-soft)); box-shadow: var(--glow-yellow); transition: width 1.2s var(--ease); }

.fin-clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 8px; }
.fin-client { padding: 20px; }
.fc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.fc-head h3 { font-size: 15px; font-weight: 800; }
.fc-net { font-size: 12px; font-weight: 800; white-space: nowrap; }
.fc-net.pos { color: var(--ok); }
.fc-net.neg { color: var(--block); }
.frow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13px; }
.frow.muted { opacity: .6; }
.frow .fk { color: var(--ink-dim); }
.frow .fv { color: var(--ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.frow .fv.strong { color: var(--yellow-soft); }
.frow .fv.pos { color: var(--ok); }
.frow .fv.neg { color: var(--block); }
.frow.total { font-size: 14px; padding-top: 10px; }
.frow.total .fk { color: var(--ink); font-weight: 700; }
.frow.total .fv { font-size: 17px; font-weight: 800; }
.fnote { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-faint); margin-top: 2px; }
.fdiv { height: 1px; background: var(--glass-edge); margin: 8px 0; }
.fsubs { display: flex; flex-direction: column; gap: 6px; padding: 2px 0 4px 12px; }
.fsubs.wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; padding-left: 0; }
.fsub { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-dim); }
.fsub span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- fal.ai generation log ---------------------------------------------- */
.fal-row { display: grid; grid-template-columns: 84px 1fr 92px 78px 78px; gap: 12px; align-items: start;
  padding: 11px 0; border-bottom: 1px solid var(--glass-edge); }
.fal-row:last-of-type { border-bottom: none; }
.fal-head { padding: 0 0 9px; border-bottom: 1px solid var(--glass-edge-2); }
.fal-head > div { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.fal-c-date { font-size: 11.5px; color: var(--ink-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fal-label { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.fal-cnt { font-size: 10px; font-weight: 800; color: var(--blue-soft); background: rgba(107,155,255,.12);
  padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.fal-meta { font-size: 11px; color: var(--ink-dim); margin-top: 3px; }
.fal-prompt { font-size: 11px; color: var(--ink-faint); margin-top: 4px; line-height: 1.45; font-style: italic; }
.fal-c-status { text-align: left; }
.fal-pill { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  text-transform: capitalize; white-space: nowrap; }
.fal-pill.ok { color: var(--ok); background: rgba(52,224,161,.12); }
.fal-pill.bad { color: var(--block); background: rgba(255,90,90,.12); }
.fal-pill.wait { color: var(--yellow-soft); background: rgba(255,214,0,.1); }
.fal-c-cost, .fal-c-run { font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: right;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.fal-c-run { color: var(--ink-dim); }
.fal-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--glass-edge-2); }
.fal-total-counts { font-size: 11.5px; color: var(--ink-faint); }
.fal-total-val { font-size: 13px; color: var(--ink-dim); }
.fal-total-val strong { font-size: 18px; font-weight: 800; color: var(--yellow-soft); margin-left: 6px;
  font-variant-numeric: tabular-nums; }
.fal-rule { margin-top: 12px; font-size: 11px; color: var(--ink-faint); padding: 9px 12px; border-radius: 8px;
  background: rgba(255,214,0,.04); border: 1px dashed rgba(255,214,0,.22); }
@media (max-width: 720px) {
  .fal-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .fal-c-date { grid-column: 1 / 2; }
  .fal-c-what { grid-column: 1 / 3; order: 3; }
  .fal-c-status { grid-column: 2 / 3; grid-row: 1; text-align: right; }
  .fal-c-cost { order: 4; text-align: left; }
  .fal-c-run { order: 4; }
  .fal-head { display: none; }
}

@media (max-width: 1180px) {
  .token-detail { grid-template-columns: 1fr; }
  .tk-recs { grid-template-columns: 1fr; }
  .fin-clients { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .fin-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .fin-kpis { grid-template-columns: 1fr 1fr; }
  .fsubs.wide { grid-template-columns: 1fr; }
  .tk-proj { grid-template-columns: 1fr auto; }
  .tk-proj-bar { display: none; }
  .brain-hint { display: none; }
}

/* ===================== GRAPHIFY: growth-over-time ===================== */
.gx-grows { display: flex; flex-direction: column; gap: 12px; }
.gx-grow { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; }
.gx-grow-date { font-size: 12px; font-weight: 700; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.gx-grow-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.gx-grow-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-soft)); transition: width 1s var(--ease); }
.gx-grow:last-child .gx-grow-bar > span { background: linear-gradient(90deg, var(--yellow), var(--yellow-soft)); box-shadow: var(--glow-yellow); }
.gx-grow-val { font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gx-grow-sub { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); }

/* ===================== CLAUDIA: token meta, cadence, recent ===================== */
.cl-tokmeta { font-size: 12px; color: var(--ink-dim); margin-top: 16px; line-height: 1.6; }
.cl-cad { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-top: 6px; }
.cl-cad-bar { flex: 1; min-width: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-soft), var(--blue)); opacity: .9; transition: height .8s var(--ease); }
.cl-cad-bar:hover { background: linear-gradient(180deg, var(--yellow), var(--yellow-soft)); }
.cl-list { display: flex; flex-direction: column; }
.cl-row { display: grid; grid-template-columns: 130px 1.4fr 1.6fr auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--glass-edge); }
.cl-row:first-child { border-top: none; }
.cl-when { font-size: 12px; font-weight: 600; color: var(--ink-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-proj { font-size: 13px; font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.cl-stats span { font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }
.cl-tok { font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 620px) {
  .gx-grow { grid-template-columns: 70px 1fr auto; gap: 8px; }
  .cl-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .cl-when { grid-column: 1 / -1; }
  .cl-stats { display: none; }
}
