/* Shared workspace alignment. Loaded once by the Studio shell and intentionally
   more specific than view-local styles so every module follows the same grid. */
body .cp.po-shell,
body .cp.aiq-shell,
body .cp.ai-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  align-items: stretch;
}

body .cp.po-shell {
  gap: 10px;
}

body .cp.po-shell .po-command {
  padding: 12px 15px;
  border-radius: 12px;
}

body .cp.ai-shell .ai-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  align-items: stretch;
  overflow: visible;
}

body .cp.ai-shell .ai-tabs button {
  min-width: 0;
  min-height: 54px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

body .cp.ai-shell .ai-tabs button b,
body .cp.ai-shell .ai-tabs button small {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  body .cp.ai-shell .ai-tabs {
    display: flex;
    overflow-x: auto;
  }

  body .cp.ai-shell .ai-tabs button {
    flex: 1 0 175px;
  }
}
