/* ========== OCTO MODE INTRO OVERLAY ========== */
.octo-mode {
  position: fixed; inset: 0;
  z-index: 9999;
  background: #050511;
  color: #fff;
  display: grid; place-items: center;
  overflow: hidden;
  animation: omFadeIn .5s ease;
}
.octo-mode.closing { animation: omFadeOut .7s ease forwards; }
@keyframes omFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes omFadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

.om-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(30,94,255,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(123,44,232,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(74,227,184,.08) 0%, transparent 60%);
}
.om-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.om-spiral {
  position: absolute;
  width: min(90vw, 90vh);
  height: min(90vw, 90vh);
  pointer-events: none;
}
.om-ring-outer { animation: omSpin 24s linear infinite; transform-origin: center; }
.om-ring-middle { animation: omSpinR 18s linear infinite; transform-origin: center; }
.om-ring-inner { animation: omSpin 12s linear infinite; transform-origin: center; }
@keyframes omSpin { to { transform: rotate(360deg); } }
@keyframes omSpinR { to { transform: rotate(-360deg); } }

.om-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  animation: omFloat 5s ease-in-out infinite;
}
.om-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.om-chip-1 { top: 18%; left: 12%; animation-delay: 0s; }
.om-chip-2 { top: 22%; right: 10%; animation-delay: -1.2s; }
.om-chip-3 { bottom: 24%; left: 14%; animation-delay: -2.4s; }
.om-chip-4 { bottom: 18%; right: 12%; animation-delay: -3.6s; }
@keyframes omFloat {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-12px); opacity: 1; }
}
@media (max-width: 720px) {
  .om-chip { font-size: 10.5px; padding: 6px 11px; }
  .om-chip-1 { top: 10%; left: 5%; }
  .om-chip-2 { top: 12%; right: 5%; }
  .om-chip-3 { bottom: 14%; left: 5%; }
  .om-chip-4 { bottom: 10%; right: 5%; }
}

.om-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  padding: 0 32px;
  animation: omRise .9s cubic-bezier(.2,.8,.2,1) .2s both;
}
@keyframes omRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.om-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.om-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4AE3B8;
  box-shadow: 0 0 10px #4AE3B8;
  animation: omPulse 1.6s ease-in-out infinite;
}
@keyframes omPulse { 50% { opacity: .4; transform: scale(.7); } }

.om-logo-wrap {
  display: inline-block;
  margin-bottom: 24px;
  padding: 18px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px -20px rgba(30,94,255,.5);
  animation: omLogoFloat 4s ease-in-out infinite;
}
@keyframes omLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.om-logo {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
}

.om-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.om-title-grad {
  background: linear-gradient(120deg, #6B8CFF 0%, #B19CFF 50%, #4AE3B8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.om-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
}

.om-enter-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  background: #fff;
  color: #0A0A14;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: 0 20px 60px -10px rgba(255,255,255,.4);
}
.om-enter-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 30px 80px -10px rgba(255,255,255,.5); }
.om-enter-pulse {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(30,94,255,.2) 0%, transparent 70%);
  animation: omBtnPulse 2.4s ease-in-out infinite;
}
@keyframes omBtnPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; transform: scale(1.08); } }
.om-enter-text { position: relative; z-index: 1; }
.om-enter-arrow { position: relative; z-index: 1; transition: transform .25s; }
.om-enter-btn:hover .om-enter-arrow { transform: translateX(4px); }

.om-hint {
  margin-top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}

.om-skip {
  position: absolute;
  top: 28px; right: 28px;
  z-index: 3;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.om-skip:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ========== LEFT SIDEBAR ========== */
:root {
  --sb-w: 230px;
  --sb-w-collapsed: 64px;
}
body { padding-left: var(--sb-w); transition: padding-left .3s var(--ease); }
body.sb-collapsed { padding-left: var(--sb-w-collapsed); }
@media (max-width: 860px) {
  body, body.sb-collapsed { padding-left: 0; }
}

.rsidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sb-w);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  z-index: 90;
  transition: width .3s var(--ease);
}
.rsidebar.collapsed { width: var(--sb-w-collapsed); }
@media (max-width: 860px) { .rsidebar { display: none; } }

.rsb-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.rsb-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rsb-logo img { height: 26px; width: 26px; object-fit: contain; flex-shrink: 0; }
.rsb-logo-txt {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.rsb-toggle {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(10,10,20,.04);
  color: var(--ink-3);
  display: grid; place-items: center;
  border: none; cursor: pointer;
  flex-shrink: 0;
}
.rsb-toggle:hover { background: rgba(10,10,20,.08); color: var(--ink); }

.rsb-search {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 12px 4px;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: 10px;
  color: var(--ink-3);
}
.rsb-search input {
  border: none; background: transparent;
  font-size: 12.5px; outline: none;
  width: 100%;
  color: var(--ink);
}
.rsb-search input::placeholder { color: var(--ink-4); }

.rsb-nav {
  flex: 1;
  padding: 14px 12px;
  display: flex; flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.rsb-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-4);
  padding: 8px 10px 4px;
  min-height: 24px;
}
.rsb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all .15s var(--ease);
}
.rsidebar.collapsed .rsb-item { justify-content: center; }
.rsb-item:hover { background: var(--bg-alt); color: var(--ink); }
.rsb-item.active {
  background: rgba(30,94,255,.08);
  color: var(--brand);
  font-weight: 600;
}
.rsb-item.active .rsb-ic { color: var(--brand); }
.rsb-ic {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--ink-3);
  flex-shrink: 0;
}
.rsb-lbl { flex: 1; }
.rsb-ext { font-size: 10px; color: var(--ink-4); }

.rsb-foot {
  padding: 14px 12px 18px;
  border-top: 1px solid var(--line);
}
.rsb-foot-card {
  background: linear-gradient(135deg, #1E5EFF 0%, #7B2CE8 100%);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.rsb-foot-card::before {
  content: '';
  position: absolute;
  inset: -50% -20% auto auto;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 60%);
  pointer-events: none;
}
.rsb-foot-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.rsb-foot-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4AE3B8; box-shadow: 0 0 6px #4AE3B8;
  animation: omPulse 1.6s ease-in-out infinite;
}
.rsb-foot-title { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.rsb-foot-sub { font-size: 11px; color: rgba(255,255,255,.75); line-height: 1.4; }

/* Adjust nav to fit beside sidebar */
.nav { left: var(--sb-w); transition: left .3s var(--ease); }
body.sb-collapsed .nav { left: var(--sb-w-collapsed); }
@media (max-width: 860px) { .nav { left: 0; } }

/* ========== AI NATIVE SECTION ========== */
.ai-native {
  position: relative;
  background: #050511;
  color: #fff;
  overflow: hidden;
}
.ai-native-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(30,94,255,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(123,44,232,.15) 0%, transparent 50%);
  pointer-events: none;
}
.ai-native::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.ai-native .wrap { position: relative; z-index: 1; }
.ai-native h2 { color: #fff; }
.ai-native .lead { color: rgba(255,255,255,.65); }
.ai-native .eyebrow { color: #6B8CFF; }
.ai-native .eyebrow::before { background: #6B8CFF; }

.ai-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4AE3B8;
  box-shadow: 0 0 8px #4AE3B8;
  animation: omPulse 1.6s ease-in-out infinite;
  display: inline-block;
}

/* AI flow visualization */
.ai-flow {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 60px 0 80px;
  padding: 32px 0 8px;
}
@media (max-width: 720px) { .ai-flow { grid-template-columns: repeat(2, 1fr); } }
.ai-flow-line {
  position: absolute;
  top: 64px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,.1);
  z-index: 0;
}
.ai-flow-line-fill {
  height: 100%;
  background: linear-gradient(90deg, #1E5EFF, #7B2CE8, #4AE3B8);
  transition: width .8s var(--ease);
}
@media (max-width: 720px) { .ai-flow-line { display: none; } }
.ai-flow-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: all .4s var(--ease);
  opacity: .55;
}
.ai-flow-step.active { opacity: 1; transform: translateY(-4px); }
.ai-flow-step.done { opacity: .8; }
.ai-flow-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  position: relative;
  margin-bottom: 16px;
  transition: all .4s var(--ease);
}
.ai-flow-step.active .ai-flow-icon {
  background: linear-gradient(135deg, rgba(30,94,255,.3), rgba(123,44,232,.3));
  border-color: rgba(107,140,255,.6);
  box-shadow: 0 12px 40px -8px rgba(30,94,255,.6), 0 0 0 6px rgba(30,94,255,.08);
}
.ai-flow-emoji { font-size: 24px; }
.ai-flow-num {
  position: absolute;
  top: -6px; right: -6px;
  background: #fff;
  color: #050511;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.ai-flow-label { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ai-flow-sub { font-size: 12px; color: rgba(255,255,255,.55); }

/* Capabilities grid */
.ai-caps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
@media (max-width: 1100px) { .ai-caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-caps { grid-template-columns: 1fr; } }
.ai-cap {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.ai-cap:hover {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-4px);
  background: rgba(255,255,255,.05);
}
.ai-cap-glow {
  position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--cap-color) 0%, transparent 60%);
  opacity: .15;
  transition: opacity .3s;
  pointer-events: none;
}
.ai-cap:hover .ai-cap-glow { opacity: .3; }
.ai-cap-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cap-color);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.ai-cap-num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
}
.ai-cap-title { font-size: 17px; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.ai-cap-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.55; }

/* AI prompt simulation */
.ai-prompt-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  max-width: 920px; margin: 0 auto;
}
.ai-prompt-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
  flex-wrap: wrap; gap: 10px;
}
.ai-prompt-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(30,94,255,.2), rgba(123,44,232,.2));
  border: 1px solid rgba(107,140,255,.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.ai-prompt-meta { font-size: 12px; color: rgba(255,255,255,.5); font-family: 'JetBrains Mono', monospace; }
.ai-prompt-body { display: flex; flex-direction: column; gap: 18px; }
.ai-prompt-user, .ai-prompt-bot { display: flex; gap: 12px; align-items: flex-start; }
.ai-msg-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.user-av { background: rgba(255,255,255,.1); color: #fff; }
.bot-av { background: linear-gradient(135deg, #1E5EFF, #7B2CE8); }
.ai-msg-bubble {
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 80%;
}
.ai-msg-bubble.bot {
  background: rgba(30,94,255,.08);
  border-color: rgba(107,140,255,.2);
  width: 100%;
  max-width: none;
}
.ai-msg-text { margin-bottom: 14px; }
.ai-msg-flow {
  display: flex; gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: stretch;
}
.ai-msg-node {
  flex: 1; min-width: 110px;
  padding: 10px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  position: relative;
}
.ai-msg-node:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.3);
  font-size: 14px;
}
.ai-msg-node-l { font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.ai-msg-node-t {
  font-size: 10px;
  color: #6B8CFF;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ai-msg-actions { display: flex; gap: 8px; }
.ai-msg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: all .2s;
}
.ai-msg-btn:hover { background: rgba(255,255,255,.14); }
.ai-msg-btn.primary {
  background: #fff; color: #050511;
  border-color: #fff;
}
.ai-msg-btn.primary:hover { transform: translateY(-1px); }

/* ========== PROJECTS MASTER GRID + DETAIL ========== */
.master-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .master-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .master-grid { grid-template-columns: 1fr; } }

.project { cursor: pointer; }
.project-img-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,94,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,94,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.project-card-foot {
  margin-top: auto;
  padding-top: 14px;
}
.project-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  transition: gap .2s;
}
.project:hover .project-cta { gap: 10px; }

/* Project Detail page */
.pd-section { padding-top: 140px; padding-bottom: 100px; }
.pd-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  margin-bottom: 32px;
  transition: all .2s;
}
.pd-back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.pd-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .pd-head { grid-template-columns: 1fr; gap: 32px; } }
.pd-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.pd-cat { color: var(--brand); }
.pd-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.pd-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.pd-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}
.pd-quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 0;
  box-shadow: var(--shadow-sm);
}
.pd-qc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.pd-qc-row:last-child { border-bottom: none; }
.pd-qc-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pd-qc-v { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: right; }

.pd-hero-img {
  position: relative;
  height: 280px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F4F7FE 0%, #EEF2FC 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 48px;
  display: grid; place-items: center;
}
.pd-img-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,94,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,94,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.pd-img-label {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand);
  padding: 14px 24px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.pd-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 64px;
  overflow: hidden;
}
@media (max-width: 720px) { .pd-metrics { grid-template-columns: repeat(2, 1fr); } }
.pd-metric {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.pd-metric:last-child { border-right: none; }
@media (max-width: 720px) {
  .pd-metric { border-right: none; border-bottom: 1px solid var(--line); }
  .pd-metric:nth-child(2) { border-right: none; }
  .pd-metric:nth-child(odd) { border-right: 1px solid var(--line); }
}
.pd-metric-v {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.pd-metric-l {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-block {
  padding: 28px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pd-block-h {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.pd-block-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand);
  padding: 3px 8px;
  background: rgba(30,94,255,.08);
  border-radius: 6px;
}
.pd-block-t {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.pd-block p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.pd-modules {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pd-modules-l {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pd-modules-list { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-mod-chip {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .02em;
}

.pd-foot {
  display: flex; gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* Adjust hero on small screens with sidebar */
@media (max-width: 1180px) and (min-width: 861px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; }
}


/* ==================== ABOUT SECTION ==================== */
.about-section {
  background: var(--bg);
  position: relative;
}

.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 56px 0 80px;
}

.about-mv-card {
  position: relative;
  padding: 44px 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
}
.about-mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(30, 94, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.about-mv-card.vision::before {
  background: radial-gradient(circle at 100% 100%, rgba(123, 44, 232, 0.08), transparent 60%);
}
.about-mv-card > * { position: relative; }

.about-mv-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: 20px;
}
.about-mv-card.vision .about-mv-tag { color: #7B2CE8; }

.about-mv-card h3 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.about-mv-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.about-values-h {
  text-align: center;
  margin-bottom: 40px;
}
.about-values-h .eyebrow { display: inline-block; margin-bottom: 14px; }
.about-values-h h3 {
  font-size: 28px;
  letter-spacing: -.02em;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-value {
  padding: 32px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-value:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -14px rgba(15, 23, 42, 0.12);
}

.about-value-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--vc, var(--brand));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px -8px var(--vc, var(--brand));
}

.about-value h4 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.about-value p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .about-mv { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mv-card { padding: 32px 26px; }
  .about-mv-card h3 { font-size: 26px; }
}

/* ==================== TEAM SECTION ==================== */
.team-section {
  background: var(--bg-alt);
  position: relative;
}

.team-admin-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.15);
}

.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-photo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.team-initials {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
  position: relative;
  z-index: 1;
}

.team-body {
  padding: 18px 20px 22px;
}
.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.team-role {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}

.team-admin {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease;
}
.team-card:hover .team-admin { opacity: 1; }
.team-admin button {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .15s ease;
}
.team-admin button:hover { background: #fff; color: var(--brand); }

/* Team modal */
.team-modal { max-width: 480px; }
.team-modal h3 { margin-bottom: 22px; }
.team-color-pick {
  margin: 18px 0 6px;
}
.team-color-pick > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.team-colors {
  display: flex;
  gap: 10px;
}
.team-color-sw {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.team-color-sw:hover { transform: scale(1.08); }
.team-color-sw.active {
  border-color: var(--ink);
  transform: scale(1.1);
}

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }


/* ==================== HERO EXPLORE CTA ==================== */
.btn-explore {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
}
.btn-explore .explore-orb {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E5EFF, #7B2CE8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(30, 94, 255, 0.5);
  transition: transform .35s cubic-bezier(.5,1.6,.4,1), box-shadow .25s ease;
}
.btn-explore .explore-orb svg {
  position: relative;
  z-index: 2;
  transition: transform .35s cubic-bezier(.5,1.6,.4,1);
}
.btn-explore .explore-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(30, 94, 255, 0.55);
  animation: explorePulse 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes explorePulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.btn-explore:hover .explore-orb {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 10px 24px -4px rgba(30, 94, 255, 0.7);
}
.btn-explore:hover .explore-orb svg {
  transform: translateX(2px);
}
.btn-explore:hover .explore-pulse {
  border-color: rgba(123, 44, 232, 0.7);
}


/* ==================== DASHBOARD MODE ==================== */
body.dash-mode { padding-left: 0 !important; }
body.dash-mode .rsidebar,
body.dash-mode .nav,
body.dash-mode footer { display: none !important; }
body.dash-mode main { margin-left: 0 !important; padding-top: 0 !important; }

/* ==================== HOME MODE — hide left rail on landing ==================== */
body.home-mode { padding-left: 0 !important; }
body.home-mode .rsidebar { display: none !important; }
body.home-mode main { margin-left: 0 !important; }
body.home-mode .nav { left: 0 !important; }
body.home-mode .nav-inner { padding-left: 32px; padding-right: 32px; }
body.home-mode footer { margin-left: 0 !important; }


/* ==================== RICH MODULES GRID ==================== */
.modules-rich {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.mod-card {
  position: relative;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.mod-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--mc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.mod-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--mc) 25%, var(--line));
  box-shadow: 0 16px 40px -16px color-mix(in oklab, var(--mc) 30%, transparent);
}
.mod-card:hover::before { transform: scaleX(1); }

.mod-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mod-card-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mc);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px var(--mc);
}
.mod-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.mod-card-t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.mod-card-d {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 18px;
  flex-grow: 0;
}
.mod-card-feat {
  list-style: none;
  padding: 0; margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.mod-card-feat li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.mod-card-feat-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mc);
  flex-shrink: 0;
}
.mod-card-kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mod-card-kpi-v {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--mc);
  font-variant-numeric: tabular-nums;
}
.mod-card-kpi-l {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 1100px) { .modules-rich { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .modules-rich { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .modules-rich { grid-template-columns: 1fr; } }


/* ==================== HERO EXPLORE DOODLE (hand-drawn arrow) ==================== */
.hero-cta { position: relative; }

.btn-explore { position: relative; overflow: visible; }
.explore-doodle {
  position: absolute;
  pointer-events: none;
  /* Sit to the RIGHT of the button, sweeping in from the right side.
     Arrow tip in SVG (220x90) is at (~26, 60). Anchor so tip lands at button right-center. */
  left: 100%;
  top: 50%;
  margin-left: -28px;
  margin-top: -55px;
  width: 220px;
  height: 90px;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(255, 107, 107, 0.18));
}
.explore-doodle svg { width: 100%; height: 100%; overflow: visible; display: block; }

.explore-doodle svg {
  width: 100%; height: 100%;
  overflow: visible;
}

.explore-doodle .ed-line,
.explore-doodle .ed-head,
.explore-doodle .ed-wiggle {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: doodleDraw 1.6s cubic-bezier(.55,.1,.25,1) .8s forwards;
}
.explore-doodle .ed-head {
  animation-delay: 1.9s;
  animation-duration: .5s;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.explore-doodle .ed-wiggle {
  animation-delay: 2.3s;
  animation-duration: .6s;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

@keyframes doodleDraw {
  to { stroke-dashoffset: 0; }
}

/* Continuous gentle wobble after drawing finishes */
.explore-doodle {
  animation: doodleWobble 4.5s ease-in-out 2.6s infinite;
  transform-origin: 100% 50%;
}
@keyframes doodleWobble {
  0%,100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
}

.ed-tag {
  position: absolute;
  top: -14px; right: -4px;
  background: #FFE0E0;
  color: #C72A2A;
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 700;
  padding: 4px 14px 6px;
  border-radius: 999px;
  border: 2px solid #FF6B6B;
  white-space: nowrap;
  transform: rotate(-6deg);
  opacity: 0;
  animation: doodleTagIn .5s cubic-bezier(.5,1.6,.4,1) 2.5s forwards;
}
@keyframes doodleTagIn {
  from { opacity: 0; transform: rotate(-6deg) scale(0.6); }
  to { opacity: 1; transform: rotate(-6deg) scale(1); }
}

@media (max-width: 720px) {
  .explore-doodle { display: none; }
}


/* ==================== EXPLORE OCTO LOGO ==================== */
.explore-octo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 4px;
}
.explore-octo img { width: 100%; height: 100%; object-fit: contain; }

/* ==================== WORKSPACE OCTO LOGO ==================== */
.dash-sb-brand-logo {
  display: flex !important;
  align-items: center;
  padding: 4px 0;
}
.dash-sb-octo-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}


/* ==================== DASH OVERVIEW — RICH ==================== */
.dash-kpi { position: relative; overflow: hidden; }
.dash-kpi-spark {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%; height: 36px;
  pointer-events: none;
  opacity: .9;
}

.dash-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.dash-row-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
}
@media (max-width: 1100px) {
  .dash-row-3 { grid-template-columns: 1fr 1fr; }
  .dash-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dash-row-3 { grid-template-columns: 1fr; }
}

.dash-card-link {
  background: none; border: 0; color: #1E5EFF; font-size: 12px; font-weight: 600;
  cursor: pointer; padding: 4px 0;
}
.dash-card-link:hover { text-decoration: underline; }

/* Top customers */
.dash-cust-list { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 0; }
.dash-cust-row {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 4px; border-radius: 8px;
}
.dash-cust-row:hover { background: #F8F9FB; }
.dash-cust-av {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.dash-cust-info { min-width: 0; }
.dash-cust-n { font-size: 13px; font-weight: 600; color: var(--ink); }
.dash-cust-v { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }
.dash-cust-d { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.dash-cust-d.up { background: #DCFCE7; color: #16A34A; }
.dash-cust-d.down { background: #FEE2E2; color: #DC2626; }

/* Recent transactions */
.dash-tx-list { display: flex; flex-direction: column; gap: 0; padding: 4px 0 0; }
.dash-tx-row {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #F0F2F8;
}
.dash-tx-row:last-child { border-bottom: 0; }
.dash-tx-ic {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.dash-tx-ic.in { background: #DCFCE7; color: #16A34A; }
.dash-tx-ic.out { background: #FEE2E2; color: #DC2626; }
.dash-tx-info { min-width: 0; }
.dash-tx-t { font-size: 13px; font-weight: 600; color: var(--ink); }
.dash-tx-s { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dash-tx-right { text-align: right; }
.dash-tx-amt { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-tx-amt.in { color: #16A34A; }
.dash-tx-amt.out { color: #DC2626; }
.dash-tx-time { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* AI insights */
.dash-ai-card { background: linear-gradient(180deg, #FAFAFF 0%, #FFFFFF 60%); }
.dash-ai-badge {
  background: linear-gradient(135deg, #7B2CE8, #1E5EFF);
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 8px; border-radius: 6px;
}
.dash-ai-list { display: flex; flex-direction: column; gap: 10px; padding: 10px 0 0; }
.dash-ai-row {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  padding: 12px;
  border: 1px solid;
  border-radius: 12px;
  background: #fff;
}
.dash-ai-ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.dash-ai-t { font-size: 13px; font-weight: 700; color: var(--ink); }
.dash-ai-d { font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }

/* Region performance */
.dash-reg-list { display: flex; flex-direction: column; gap: 14px; padding: 12px 4px 4px; }
.dash-reg-row {
  display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px;
}
.dash-reg-l { font-size: 13px; font-weight: 500; color: var(--ink); }
.dash-reg-bar {
  height: 8px; background: #F0F2F8; border-radius: 999px; overflow: hidden;
}
.dash-reg-fill {
  height: 100%; border-radius: 999px;
  animation: regFill .8s cubic-bezier(.4,0,.2,1) both;
}
@keyframes regFill { from { width: 0 !important; } }
.dash-reg-v { font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* System health */
.dash-pill.ok { background: #DCFCE7; color: #16A34A; }
.dash-pill.ok .dash-pill-dot { background: #16A34A; }
.dash-sys-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 12px 0 0;
}
@media (max-width: 720px) { .dash-sys-grid { grid-template-columns: repeat(2, 1fr); } }
.dash-sys-cell {
  padding: 14px;
  background: #F8F9FB;
  border-radius: 10px;
  border: 1px solid #EAECF2;
}
.dash-sys-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.dash-sys-dot { width: 6px; height: 6px; border-radius: 50%; }
.dash-sys-dot.ok { background: #16A34A; box-shadow: 0 0 0 3px #16A34A22; }
.dash-sys-dot.bad { background: #DC2626; box-shadow: 0 0 0 3px #DC262622; }
.dash-sys-n { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.dash-sys-v { font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash-sys-d { font-size: 11px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }
