.vco-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.25rem 0 1.75rem;
}

/* ── Hero ── */
.vco-hero {
  position: relative;
  border-radius: 14px;
  padding: 1.25rem 1.45rem;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #8b5cf6 100%);
  color: #fff;
  overflow: hidden;
}

.vco-hero-glow {
  position: absolute;
  inset: -35% auto auto 62%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.vco-hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.vco-hero-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.vco-hero-sub {
  margin: 0;
  opacity: 0.92;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 42rem;
}

.vco-hero-meta {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  opacity: 0.88;
}

.vco-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.vco-hero-date {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ── Cards ── */
.vco-card {
  background: var(--mantine-color-body);
  border: 1px solid var(--mantine-color-gray-3);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.1rem;
}

.vco-card--wide {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .vco-card--wide {
    grid-column: span 1;
  }
}

.vco-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vco-card-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.vco-card-head-row .vco-card-title {
  margin-bottom: 0;
}

.vco-card-body {
  min-height: 120px;
}

/* ── KPI ── */
.vco-kpi-slot {
  width: 100%;
}

.vco-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 1200px) {
  .vco-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vco-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vco-kpi-card {
  border: 1px solid var(--mantine-color-gray-3);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--mantine-color-gray-0);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vco-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.vco-kpi-label {
  font-size: 0.72rem;
  color: var(--mantine-color-dimmed);
}

.vco-kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

/* ── Schedule ── */
.vco-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .vco-dual-panel {
    grid-template-columns: 1fr;
  }
}

.vco-panel-block {
  border: 1px solid var(--mantine-color-gray-3);
  border-radius: 12px;
  overflow: hidden;
  background: var(--mantine-color-gray-0);
}

.vco-panel-title {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 1px solid var(--mantine-color-gray-3);
  background: var(--mantine-color-body);
}

.vco-panel-body {
  padding: 0.35rem 0;
  max-height: 220px;
  overflow-y: auto;
}

.vco-panel-empty {
  padding: 1.25rem 0.85rem;
  text-align: center;
  color: var(--mantine-color-dimmed);
  font-size: 0.85rem;
}

.vco-schedule-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--mantine-color-gray-2);
}

.vco-schedule-row:last-child {
  border-bottom: none;
}

.vco-schedule-row--compact {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.vco-schedule-time {
  flex: 0 0 3.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6366f1;
}

.vco-schedule-main {
  flex: 1;
  min-width: 0;
}

.vco-schedule-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.vco-schedule-sub {
  font-size: 0.72rem;
  color: var(--mantine-color-dimmed);
}

/* ── Activity ── */
.vco-activity-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--mantine-color-gray-2);
}

.vco-activity-row:last-child {
  border-bottom: none;
}

.vco-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.vco-activity-title {
  font-size: 0.84rem;
  font-weight: 600;
}

.vco-activity-sub {
  font-size: 0.72rem;
  color: var(--mantine-color-dimmed);
  margin-top: 0.15rem;
}

/* ── Workflow ── */
.vco-workflow {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 1100px) {
  .vco-workflow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .vco-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vco-workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.35rem;
  border: 1px solid var(--mantine-color-gray-3);
  border-radius: 12px;
  background: var(--mantine-color-gray-0);
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.vco-workflow-step:hover {
  border-color: #8b5cf6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.12);
}

.vco-workflow-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vco-workflow-icon {
  font-size: 1.1rem;
  color: #7c3aed;
}

.vco-workflow-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

/* ── App launcher ── */
.vco-app-section {
  padding: 1.05rem 1.15rem 1.15rem;
}

.vco-section-head {
  margin-bottom: 0.9rem;
}

.vco-section-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vco-section-ico {
  color: #7c3aed;
  font-size: 0.95rem;
}

.vco-section-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.vco-section-sub {
  font-size: 0.8rem;
  color: var(--mantine-color-dimmed);
  margin-top: 0.25rem;
  padding-left: 1.35rem;
}

.vco-app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.vco-app-tile-wrap {
  min-width: 0;
}

.vco-app-tile-icon-wrap {
  cursor: grab;
}

.vco-app-tile-icon-wrap:active {
  cursor: grabbing;
}

.vco-app-tile-wrap--ghost {
  opacity: 0.42;
}

.vco-app-tile-wrap--chosen .vco-app-tile {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.vco-app-tile-wrap--drag {
  opacity: 0.92;
}

@media (max-width: 1200px) {
  .vco-app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vco-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vco-app-tile {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.vco-app-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
}

.vco-app-tile:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.vco-app-tile--current {
  cursor: default;
  opacity: 0.92;
}

.vco-app-tile--current:hover {
  transform: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.vco-app-tile--preview {
  cursor: pointer;
}

.vco-app-tile--preview .vco-app-tile-inner {
  filter: saturate(0.92);
}

.vco-app-tile--preview:hover .vco-app-tile-inner {
  filter: saturate(1);
}

.vco-app-tile--coming {
  cursor: pointer;
}

.vco-app-tile--coming .vco-app-tile-inner {
  filter: saturate(0.92);
}

.vco-app-tile--coming:hover .vco-app-tile-inner {
  filter: saturate(1);
}

.vco-app-tile-inner {
  position: relative;
  padding: 1rem 1.05rem 0.85rem;
  color: #fff;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vco-app-tile-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0) 62%
  );
  pointer-events: none;
  z-index: 0;
}

.vco-app-tile-orb {
  position: absolute;
  top: -28%;
  right: -18%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.vco-app-tile:hover .vco-app-tile-orb {
  transform: scale(1.12);
  opacity: 0.95;
}

.vco-app-tile-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.vco-app-tile-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.vco-app-tile-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.vco-app-tile-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(4px);
  line-height: 1.2;
}

.vco-app-tile-badge--soon {
  background: rgba(15, 23, 42, 0.28);
  border-color: rgba(255, 255, 255, 0.2);
}

.vco-app-tile-body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.vco-app-tile-name {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.vco-app-tile-desc {
  font-size: 0.72rem;
  opacity: 0.92;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vco-app-tile-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.82;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.vco-app-tile:hover .vco-app-tile-foot {
  opacity: 1;
}

.vco-app-tile-arrow {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.vco-app-tile:hover .vco-app-tile-arrow {
  transform: translateX(3px);
}

/* ── Coming soon modal ── */
.vco-coming-body {
  padding: 0.25rem 0;
}

.vco-coming-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
}

.vco-coming-icon {
  font-size: 2.2rem;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.vco-coming-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.vco-coming-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mantine-color-dimmed);
}
